From 31673f50510e72ac0405574e5a05b840f108daa0 Mon Sep 17 00:00:00 2001 From: Andrew Petrochuk <30735471+petrochuk@users.noreply.github.com> Date: Sun, 14 Jan 2024 09:28:27 -0800 Subject: [PATCH] Spelling fixes & schema update (#504) Co-authored-by: Andrew Petrochuk (from Dev Box) --- docs/ScreenExample.fx.yaml | 2 -- docs/SimpleScreen.fx.yaml | 33 +++++++++++++++++++++++++++++++++ docs/canvas-schema.json | 5 ++++- 3 files changed, 37 insertions(+), 3 deletions(-) delete mode 100644 docs/ScreenExample.fx.yaml create mode 100644 docs/SimpleScreen.fx.yaml diff --git a/docs/ScreenExample.fx.yaml b/docs/ScreenExample.fx.yaml deleted file mode 100644 index 0c95ad28..00000000 --- a/docs/ScreenExample.fx.yaml +++ /dev/null @@ -1,2 +0,0 @@ -Screen: - Name: sadf diff --git a/docs/SimpleScreen.fx.yaml b/docs/SimpleScreen.fx.yaml new file mode 100644 index 00000000..f7294ea2 --- /dev/null +++ b/docs/SimpleScreen.fx.yaml @@ -0,0 +1,33 @@ +Screen: + Name: Screen1 + Fill: White + LoadingSpinnerColor: RGBA(56, 96, 178, 1) + Controls: + - Control: label + Name: Label1 + Properties: + Color: RGBA(0, 0, 0, 1) + DisabledColor: RGBA(166, 166, 166, 1) + BorderColor: RGBA(0, 18, 107, 1) + X: 30 + Y: 308 + Width: 560 + Height: 70 + ZIndex: 2 + Size: 21 + - Control: button + Name: Button1 + Properties: + DisabledBorderColor: RGBA(166, 166, 166, 1) + DisabledColor: RGBA(166, 166, 166, 1) + HoverColor: RGBA(255, 255, 255, 1) + Fill: RGBA(56, 96, 178, 1) + DisabledFill: RGBA(244, 244, 244, 1) + HoverFill: ColorFade(RGBA(56, 96, 178, 1), -20%) + FontWeight: FontWeight.Semibold + X: 170 + Y: 464 + Width: 280 + Height: 70 + ZIndex: 1 + Size: 24 diff --git a/docs/canvas-schema.json b/docs/canvas-schema.json index e3cc119f..8884bd94 100644 --- a/docs/canvas-schema.json +++ b/docs/canvas-schema.json @@ -20,11 +20,14 @@ "Name": { "type": "string" }, - "controls": { + "Controls": { "type": "array", "items": { "$ref": "#/$defs/ControlInfo" } + }, + "Properties": { + "type": "object" } } }