@sprucelabs/heartwood-view-controllers 121.1.11 → 121.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/button.schema.js +6 -0
  2. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/card.schema.js +25 -0
  3. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardFooter.schema.js +6 -0
  4. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardFooterButton.schema.js +6 -0
  5. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +12 -0
  6. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyle.schema.d.ts +3 -0
  7. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyle.schema.js +67 -0
  8. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyles.schema.d.ts +3 -0
  9. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyles.schema.js +33 -0
  10. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +25 -0
  11. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dropdownButton.schema.js +6 -0
  12. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontFamily.schema.d.ts +3 -0
  13. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontFamily.schema.js +29 -0
  14. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontSetting.schema.d.ts +3 -0
  15. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontSetting.schema.js +28 -0
  16. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCell.schema.js +12 -0
  17. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCellButton.schema.js +6 -0
  18. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.js +6 -0
  19. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeFonts.schema.d.ts +3 -0
  20. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeFonts.schema.js +53 -0
  21. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js +27 -0
  22. package/build/.spruce/schemas/schemas.types.d.ts +817 -242
  23. package/build/constants.js +10 -0
  24. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/button.schema.js +6 -0
  25. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/card.schema.js +25 -0
  26. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardFooter.schema.js +6 -0
  27. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardFooterButton.schema.js +6 -0
  28. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +12 -0
  29. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyle.schema.d.ts +3 -0
  30. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyle.schema.js +62 -0
  31. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyles.schema.d.ts +3 -0
  32. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardStyles.schema.js +28 -0
  33. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +25 -0
  34. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dropdownButton.schema.js +6 -0
  35. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontFamily.schema.d.ts +3 -0
  36. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontFamily.schema.js +27 -0
  37. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontSetting.schema.d.ts +3 -0
  38. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/fontSetting.schema.js +26 -0
  39. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCell.schema.js +12 -0
  40. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCellButton.schema.js +6 -0
  41. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.js +6 -0
  42. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeFonts.schema.d.ts +3 -0
  43. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeFonts.schema.js +48 -0
  44. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js +27 -0
  45. package/build/esm/.spruce/schemas/schemas.types.d.ts +817 -242
  46. package/build/esm/constants.js +10 -0
  47. package/build/esm/index.d.ts +5 -0
  48. package/build/esm/index.js +5 -0
  49. package/build/esm/schemas/v2021_02_11/buttonBar.builder.js +1 -0
  50. package/build/esm/schemas/v2021_02_11/calendar.builder.d.ts +8 -8
  51. package/build/esm/schemas/v2021_02_11/calendarEvent.builder.d.ts +4 -4
  52. package/build/esm/schemas/v2021_02_11/cards/card.builder.d.ts +212 -40
  53. package/build/esm/schemas/v2021_02_11/cards/card.builder.js +34 -0
  54. package/build/esm/schemas/v2021_02_11/cards/cardBody.builder.d.ts +132 -32
  55. package/build/esm/schemas/v2021_02_11/cards/cardFooter.builder.d.ts +10 -0
  56. package/build/esm/schemas/v2021_02_11/cards/cardFooter.builder.js +10 -0
  57. package/build/esm/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +38 -8
  58. package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.d.ts +132 -32
  59. package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.js +36 -0
  60. package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +212 -40
  61. package/build/esm/schemas/v2021_02_11/formSection.builder.d.ts +28 -8
  62. package/build/esm/schemas/v2021_02_11/forms/bigForm.builder.d.ts +38 -8
  63. package/build/esm/schemas/v2021_02_11/forms/form.builder.d.ts +38 -8
  64. package/build/esm/schemas/v2021_02_11/layout.builder.d.ts +212 -40
  65. package/build/esm/schemas/v2021_02_11/list.builder.d.ts +28 -8
  66. package/build/esm/schemas/v2021_02_11/listCell.builder.d.ts +28 -8
  67. package/build/esm/schemas/v2021_02_11/listCell.builder.js +22 -0
  68. package/build/esm/schemas/v2021_02_11/lockScreen.builder.d.ts +212 -40
  69. package/build/esm/schemas/v2021_02_11/skillView.builder.d.ts +212 -40
  70. package/build/esm/schemas/v2021_02_11/theme.builder.d.ts +660 -0
  71. package/build/esm/schemas/v2021_02_11/theme.builder.js +168 -0
  72. package/build/esm/schemas/v2021_02_11/toolBelt.builder.d.ts +212 -40
  73. package/build/index.d.ts +5 -0
  74. package/build/index.js +14 -3
  75. package/build/schemas/v2021_02_11/buttonBar.builder.js +1 -0
  76. package/build/schemas/v2021_02_11/calendar.builder.d.ts +8 -8
  77. package/build/schemas/v2021_02_11/calendarEvent.builder.d.ts +4 -4
  78. package/build/schemas/v2021_02_11/cards/card.builder.d.ts +212 -40
  79. package/build/schemas/v2021_02_11/cards/card.builder.js +34 -0
  80. package/build/schemas/v2021_02_11/cards/cardBody.builder.d.ts +132 -32
  81. package/build/schemas/v2021_02_11/cards/cardFooter.builder.d.ts +10 -0
  82. package/build/schemas/v2021_02_11/cards/cardFooter.builder.js +10 -0
  83. package/build/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +38 -8
  84. package/build/schemas/v2021_02_11/cards/cardSection.builder.d.ts +132 -32
  85. package/build/schemas/v2021_02_11/cards/cardSection.builder.js +36 -0
  86. package/build/schemas/v2021_02_11/dialog.builder.d.ts +212 -40
  87. package/build/schemas/v2021_02_11/formSection.builder.d.ts +28 -8
  88. package/build/schemas/v2021_02_11/forms/bigForm.builder.d.ts +38 -8
  89. package/build/schemas/v2021_02_11/forms/form.builder.d.ts +38 -8
  90. package/build/schemas/v2021_02_11/layout.builder.d.ts +212 -40
  91. package/build/schemas/v2021_02_11/list.builder.d.ts +28 -8
  92. package/build/schemas/v2021_02_11/listCell.builder.d.ts +28 -8
  93. package/build/schemas/v2021_02_11/listCell.builder.js +22 -0
  94. package/build/schemas/v2021_02_11/lockScreen.builder.d.ts +212 -40
  95. package/build/schemas/v2021_02_11/skillView.builder.d.ts +212 -40
  96. package/build/schemas/v2021_02_11/theme.builder.d.ts +660 -0
  97. package/build/schemas/v2021_02_11/theme.builder.js +168 -0
  98. package/build/schemas/v2021_02_11/toolBelt.builder.d.ts +212 -40
  99. package/package.json +16 -16
@@ -110,6 +110,12 @@ const buttonSchema = {
110
110
  type: 'raw',
111
111
  options: { valueType: `() => Promise<any> | any`, }
112
112
  },
113
+ /** Style. */
114
+ 'style': {
115
+ label: 'Style',
116
+ type: 'select',
117
+ options: { choices: [{ "value": "button", "label": "Button" }, { "value": "link", "label": "Link" }], }
118
+ },
113
119
  /** Dropdown. */
114
120
  'dropdown': {
115
121
  label: 'Dropdown',
@@ -51,6 +51,31 @@ const cardSchema = {
51
51
  defaultValue: true,
52
52
  options: undefined
53
53
  },
54
+ /** Style. */
55
+ 'style': {
56
+ label: 'Style',
57
+ type: 'select',
58
+ options: { choices: [{ "value": "standard", "label": "Standard" }, { "value": "informational", "label": "Informational" }, { "value": "visual", "label": "Visual" }, { "value": "heading", "label": "Heading" }], }
59
+ },
60
+ /** Background image. The URL of an image to use as the background of the card. */
61
+ 'backgroundImage': {
62
+ label: 'Background image',
63
+ type: 'text',
64
+ hint: 'The URL of an image to use as the background of the card.',
65
+ options: undefined
66
+ },
67
+ /** Background image size. */
68
+ 'backgroundImageSize': {
69
+ label: 'Background image size',
70
+ type: 'select',
71
+ options: { choices: [{ "value": "cover", "label": "Cover" }, { "value": "contain", "label": "Contain" }], }
72
+ },
73
+ /** Click handler. */
74
+ 'onClick': {
75
+ label: 'Click handler',
76
+ type: 'raw',
77
+ options: { valueType: `() => Promise<any> | any`, }
78
+ },
54
79
  /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
55
80
  'body': {
56
81
  label: 'Body',
@@ -58,6 +58,12 @@ const cardFooterSchema = {
58
58
  defaultValue: true,
59
59
  options: undefined
60
60
  },
61
+ /** Layout. */
62
+ 'layout': {
63
+ label: 'Layout',
64
+ type: 'select',
65
+ options: { choices: [{ "value": "vertical", "label": "Vertical" }, { "value": "horizontal", "label": "Horizontal" }], }
66
+ },
61
67
  }
62
68
  };
63
69
  schema_1.SchemaRegistry.getInstance().trackSchema(cardFooterSchema);
@@ -109,6 +109,12 @@ const cardFooterButtonSchema = {
109
109
  type: 'raw',
110
110
  options: { valueType: `() => Promise<any> | any`, }
111
111
  },
112
+ /** Style. */
113
+ 'style': {
114
+ label: 'Style',
115
+ type: 'select',
116
+ options: { choices: [{ "value": "button", "label": "Button" }, { "value": "link", "label": "Link" }], }
117
+ },
112
118
  }
113
119
  };
114
120
  schema_1.SchemaRegistry.getInstance().trackSchema(cardFooterButtonSchema);
@@ -228,6 +228,18 @@ const cardSectionSchema = {
228
228
  defaultValue: "left",
229
229
  options: { choices: [{ "value": "left", "label": "Left" }, { "value": "center", "label": "Center" }, { "value": "right", "label": "Right" }], }
230
230
  },
231
+ /** Style. */
232
+ 'style': {
233
+ label: 'Style',
234
+ type: 'select',
235
+ options: { choices: [{ "value": "standard", "label": "Standard" }, { "value": "primary", "label": "Primary" }, { "value": "secondary", "label": "Secondary" }], }
236
+ },
237
+ /** Layout. */
238
+ 'layout': {
239
+ label: 'Layout',
240
+ type: 'select',
241
+ options: { choices: [{ "value": "vertical", "label": "Vertical" }, { "value": "horizontal", "label": "Horizontal" }], }
242
+ },
231
243
  }
232
244
  };
233
245
  schema_1.SchemaRegistry.getInstance().trackSchema(cardSectionSchema);
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const cardStyleSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
3
+ export default cardStyleSchema;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const schema_1 = require("@sprucelabs/schema");
7
+ const themeFonts_schema_1 = __importDefault(require("./themeFonts.schema"));
8
+ const cardStyleSchema = {
9
+ id: 'cardStyle',
10
+ version: 'v2021_02_11',
11
+ namespace: 'HeartwoodViewControllers',
12
+ name: '',
13
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
14
+ fields: {
15
+ /** Card Background Color. The background color of the card. */
16
+ 'backgroundColor': {
17
+ label: 'Card Background Color',
18
+ type: 'text',
19
+ hint: 'The background color of the card.',
20
+ options: undefined
21
+ },
22
+ /** Card Foreground Color. The color of the text of the card. */
23
+ 'foregroundColor': {
24
+ label: 'Card Foreground Color',
25
+ type: 'text',
26
+ hint: 'The color of the text of the card.',
27
+ options: undefined
28
+ },
29
+ /** Header Background Color. The background color of the card's header. */
30
+ 'headerBackgroundColor': {
31
+ label: 'Header Background Color',
32
+ type: 'text',
33
+ hint: 'The background color of the card\'s header.',
34
+ options: undefined
35
+ },
36
+ /** Header Foreground Color. The color of the text in the card's header. */
37
+ 'headerForegroundColor': {
38
+ label: 'Header Foreground Color',
39
+ type: 'text',
40
+ hint: 'The color of the text in the card\'s header.',
41
+ options: undefined
42
+ },
43
+ /** Footer Background Color. The background color of the card's footer. */
44
+ 'footerBackgroundColor': {
45
+ label: 'Footer Background Color',
46
+ type: 'text',
47
+ hint: 'The background color of the card\'s footer.',
48
+ options: undefined
49
+ },
50
+ /** Footer Foreground Color. The color of the text in the card's footer. */
51
+ 'footerForegroundColor': {
52
+ label: 'Footer Foreground Color',
53
+ type: 'text',
54
+ hint: 'The color of the text in the card\'s footer.',
55
+ options: undefined
56
+ },
57
+ /** Fonts. The fonts used in the card. */
58
+ 'fonts': {
59
+ label: 'Fonts',
60
+ type: 'schema',
61
+ hint: 'The fonts used in the card.',
62
+ options: { schema: themeFonts_schema_1.default, }
63
+ },
64
+ }
65
+ };
66
+ schema_1.SchemaRegistry.getInstance().trackSchema(cardStyleSchema);
67
+ exports.default = cardStyleSchema;
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const cardStylesSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStylesSchema;
3
+ export default cardStylesSchema;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const schema_1 = require("@sprucelabs/schema");
7
+ const cardStyle_schema_1 = __importDefault(require("./cardStyle.schema"));
8
+ const cardStylesSchema = {
9
+ id: 'cardStyles',
10
+ version: 'v2021_02_11',
11
+ namespace: 'HeartwoodViewControllers',
12
+ name: '',
13
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
14
+ fields: {
15
+ /** . */
16
+ 'informational': {
17
+ type: 'schema',
18
+ options: { schema: cardStyle_schema_1.default, }
19
+ },
20
+ /** . */
21
+ 'graphical': {
22
+ type: 'schema',
23
+ options: { schema: cardStyle_schema_1.default, }
24
+ },
25
+ /** . */
26
+ 'heading': {
27
+ type: 'schema',
28
+ options: { schema: cardStyle_schema_1.default, }
29
+ },
30
+ }
31
+ };
32
+ schema_1.SchemaRegistry.getInstance().trackSchema(cardStylesSchema);
33
+ exports.default = cardStylesSchema;
@@ -51,6 +51,31 @@ const dialogSchema = {
51
51
  defaultValue: true,
52
52
  options: undefined
53
53
  },
54
+ /** Style. */
55
+ 'style': {
56
+ label: 'Style',
57
+ type: 'select',
58
+ options: { choices: [{ "value": "standard", "label": "Standard" }, { "value": "informational", "label": "Informational" }, { "value": "visual", "label": "Visual" }, { "value": "heading", "label": "Heading" }], }
59
+ },
60
+ /** Background image. The URL of an image to use as the background of the card. */
61
+ 'backgroundImage': {
62
+ label: 'Background image',
63
+ type: 'text',
64
+ hint: 'The URL of an image to use as the background of the card.',
65
+ options: undefined
66
+ },
67
+ /** Background image size. */
68
+ 'backgroundImageSize': {
69
+ label: 'Background image size',
70
+ type: 'select',
71
+ options: { choices: [{ "value": "cover", "label": "Cover" }, { "value": "contain", "label": "Contain" }], }
72
+ },
73
+ /** Click handler. */
74
+ 'onClick': {
75
+ label: 'Click handler',
76
+ type: 'raw',
77
+ options: { valueType: `() => Promise<any> | any`, }
78
+ },
54
79
  /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
55
80
  'body': {
56
81
  label: 'Body',
@@ -109,6 +109,12 @@ const dropdownButtonSchema = {
109
109
  type: 'raw',
110
110
  options: { valueType: `(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void`, }
111
111
  },
112
+ /** Style. */
113
+ 'style': {
114
+ label: 'Style',
115
+ type: 'select',
116
+ options: { choices: [{ "value": "button", "label": "Button" }, { "value": "link", "label": "Link" }], }
117
+ },
112
118
  }
113
119
  };
114
120
  schema_1.SchemaRegistry.getInstance().trackSchema(dropdownButtonSchema);
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const fontFamilySchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamilySchema;
3
+ export default fontFamilySchema;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const fontFamilySchema = {
5
+ id: 'fontFamily',
6
+ version: 'v2021_02_11',
7
+ namespace: 'HeartwoodViewControllers',
8
+ name: '',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
10
+ fields: {
11
+ /** Name. What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme. */
12
+ 'name': {
13
+ label: 'Name',
14
+ type: 'text',
15
+ hint: 'What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme.',
16
+ options: undefined
17
+ },
18
+ /** Source. The URL to the font file (otf, ttf, etc.). Must be publicly accessible. */
19
+ 'src': {
20
+ label: 'Source',
21
+ type: 'text',
22
+ isRequired: true,
23
+ hint: 'The URL to the font file (otf, ttf, etc.). Must be publicly accessible.',
24
+ options: undefined
25
+ },
26
+ }
27
+ };
28
+ schema_1.SchemaRegistry.getInstance().trackSchema(fontFamilySchema);
29
+ exports.default = fontFamilySchema;
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const fontSettingSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
3
+ export default fontSettingSchema;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const fontSettingSchema = {
5
+ id: 'fontSetting',
6
+ version: 'v2021_02_11',
7
+ namespace: 'HeartwoodViewControllers',
8
+ name: '',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
10
+ fields: {
11
+ /** Font Family. The name of the font family to use. This should match the name you set in the font families section of the theme. */
12
+ 'fontFamily': {
13
+ label: 'Font Family',
14
+ type: 'text',
15
+ hint: 'The name of the font family to use. This should match the name you set in the font families section of the theme.',
16
+ options: undefined
17
+ },
18
+ /** Font Size. The size of the font. e.g. "16px" or "1em". */
19
+ 'fontSize': {
20
+ label: 'Font Size',
21
+ type: 'text',
22
+ hint: 'The size of the font. e.g. "16px" or "1em".',
23
+ options: undefined
24
+ },
25
+ }
26
+ };
27
+ schema_1.SchemaRegistry.getInstance().trackSchema(fontSettingSchema);
28
+ exports.default = fontSettingSchema;
@@ -128,6 +128,18 @@ const listCellSchema = {
128
128
  type: 'schema',
129
129
  options: { schema: statusIndicator_schema_1.default, }
130
130
  },
131
+ /** Vertical alignment. */
132
+ 'vAlignment': {
133
+ label: 'Vertical alignment',
134
+ type: 'select',
135
+ options: { choices: [{ "value": "left", "label": "Left" }, { "value": "center", "label": "Center" }, { "value": "right", "label": "Right" }], }
136
+ },
137
+ /** Horizontal alignment. */
138
+ 'hAlignment': {
139
+ label: 'Horizontal alignment',
140
+ type: 'select',
141
+ options: { choices: [{ "value": "top", "label": "Top" }, { "value": "bottom", "label": "Bottom" }, { "value": "center", "label": "Center" }], }
142
+ },
131
143
  }
132
144
  };
133
145
  schema_1.SchemaRegistry.getInstance().trackSchema(listCellSchema);
@@ -110,6 +110,12 @@ const listCellButtonSchema = {
110
110
  type: 'raw',
111
111
  options: { valueType: `(options: { rowVc: HeartwoodTypes.ListRowViewController }) => any | Promise<any>`, }
112
112
  },
113
+ /** Style. */
114
+ 'style': {
115
+ label: 'Style',
116
+ type: 'select',
117
+ options: { choices: [{ "value": "button", "label": "Button" }, { "value": "link", "label": "Link" }], }
118
+ },
113
119
  /** Cell button key down handler. */
114
120
  'onKeyDown': {
115
121
  label: 'Cell button key down handler',
@@ -111,6 +111,12 @@ const navigationDropdownButtonSchema = {
111
111
  type: 'raw',
112
112
  options: { valueType: `(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void`, }
113
113
  },
114
+ /** Style. */
115
+ 'style': {
116
+ label: 'Style',
117
+ type: 'select',
118
+ options: { choices: [{ "value": "button", "label": "Button" }, { "value": "link", "label": "Link" }], }
119
+ },
114
120
  /** . */
115
121
  'viewPermissionContract': {
116
122
  type: 'schema',
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const themeFontsSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema;
3
+ export default themeFontsSchema;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const schema_1 = require("@sprucelabs/schema");
7
+ const fontSetting_schema_1 = __importDefault(require("./fontSetting.schema"));
8
+ const themeFontsSchema = {
9
+ id: 'themeFonts',
10
+ version: 'v2021_02_11',
11
+ namespace: 'HeartwoodViewControllers',
12
+ name: '',
13
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
14
+ fields: {
15
+ /** Header One Font. The font used for the largest headers. */
16
+ 'headerOneFont': {
17
+ label: 'Header One Font',
18
+ type: 'schema',
19
+ hint: 'The font used for the largest headers.',
20
+ options: { schema: fontSetting_schema_1.default, }
21
+ },
22
+ /** Header One Font. The font used for the largest headers. */
23
+ 'headerTwoFont': {
24
+ label: 'Header One Font',
25
+ type: 'schema',
26
+ hint: 'The font used for the largest headers.',
27
+ options: { schema: fontSetting_schema_1.default, }
28
+ },
29
+ /** Header One Font. The font used for the largest headers. */
30
+ 'headerThreeFont': {
31
+ label: 'Header One Font',
32
+ type: 'schema',
33
+ hint: 'The font used for the largest headers.',
34
+ options: { schema: fontSetting_schema_1.default, }
35
+ },
36
+ /** Header One Font. The font used for the largest headers. */
37
+ 'bodyFont': {
38
+ label: 'Header One Font',
39
+ type: 'schema',
40
+ hint: 'The font used for the largest headers.',
41
+ options: { schema: fontSetting_schema_1.default, }
42
+ },
43
+ /** Header One Font. The font used for the largest headers. */
44
+ 'footerFont': {
45
+ label: 'Header One Font',
46
+ type: 'schema',
47
+ hint: 'The font used for the largest headers.',
48
+ options: { schema: fontSetting_schema_1.default, }
49
+ },
50
+ }
51
+ };
52
+ schema_1.SchemaRegistry.getInstance().trackSchema(themeFontsSchema);
53
+ exports.default = themeFontsSchema;
@@ -4,8 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
+ const fontSetting_schema_1 = __importDefault(require("./fontSetting.schema"));
7
8
  const calendarEventColors_schema_1 = __importDefault(require("./calendarEventColors.schema"));
8
9
  const statusIndicatorColors_schema_1 = __importDefault(require("./statusIndicatorColors.schema"));
10
+ const fontFamily_schema_1 = __importDefault(require("./fontFamily.schema"));
11
+ const themeFonts_schema_1 = __importDefault(require("./themeFonts.schema"));
12
+ const cardStyles_schema_1 = __importDefault(require("./cardStyles.schema"));
9
13
  const themePropsSchema = {
10
14
  id: 'themeProps',
11
15
  version: 'v2021_02_11',
@@ -152,6 +156,13 @@ const themePropsSchema = {
152
156
  hint: 'The background color of the tool belts.',
153
157
  options: undefined
154
158
  },
159
+ /** Control bar font. The font used in the control bar. */
160
+ 'controlBarFont': {
161
+ label: 'Control bar font',
162
+ type: 'schema',
163
+ hint: 'The font used in the control bar.',
164
+ options: { schema: fontSetting_schema_1.default, }
165
+ },
155
166
  /** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
156
167
  'errorColor1': {
157
168
  label: 'Error color 1',
@@ -197,6 +208,22 @@ const themePropsSchema = {
197
208
  type: 'schema',
198
209
  options: { schema: statusIndicatorColors_schema_1.default, }
199
210
  },
211
+ /** . */
212
+ 'fontFamilies': {
213
+ type: 'schema',
214
+ isArray: true,
215
+ options: { schema: fontFamily_schema_1.default, }
216
+ },
217
+ /** . */
218
+ 'fonts': {
219
+ type: 'schema',
220
+ options: { schema: themeFonts_schema_1.default, }
221
+ },
222
+ /** . */
223
+ 'cardStyles': {
224
+ type: 'schema',
225
+ options: { schema: cardStyles_schema_1.default, }
226
+ },
200
227
  }
201
228
  };
202
229
  schema_1.SchemaRegistry.getInstance().trackSchema(themePropsSchema);