xmlui 0.7.34 → 0.8.1

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 (77) hide show
  1. package/dist/_commonjsHelpers-BkfeUUK-.mjs +28 -0
  2. package/dist/{apiInterceptorWorker-DHDoRL37.mjs → apiInterceptorWorker-CJUgtSE2.mjs} +1 -1
  3. package/dist/index-B09mlAcY.mjs +28210 -0
  4. package/dist/index.css +1 -1
  5. package/dist/language-server.d.ts +24 -0
  6. package/dist/language-server.mjs +14331 -0
  7. package/dist/lint-BN6SMVda.mjs +4902 -0
  8. package/dist/parser-Bko8vvFS.mjs +746 -0
  9. package/dist/scripts/src/components/Accordion/Accordion.js +10 -10
  10. package/dist/scripts/src/components/App/App.js +3 -3
  11. package/dist/scripts/src/components/AppHeader/AppHeader.js +3 -3
  12. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +14 -14
  13. package/dist/scripts/src/components/Avatar/Avatar.js +4 -4
  14. package/dist/scripts/src/components/Badge/Badge.js +5 -5
  15. package/dist/scripts/src/components/Button/Button.js +64 -64
  16. package/dist/scripts/src/components/Card/Card.js +3 -3
  17. package/dist/scripts/src/components/Carousel/Carousel.js +14 -14
  18. package/dist/scripts/src/components/Checkbox/Checkbox.js +14 -14
  19. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +1 -1
  20. package/dist/scripts/src/components/DatePicker/DatePicker.js +8 -8
  21. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +8 -8
  22. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +3 -3
  23. package/dist/scripts/src/components/Footer/Footer.js +5 -5
  24. package/dist/scripts/src/components/Form/Form.js +16 -16
  25. package/dist/scripts/src/components/FormItem/FormItem.js +2 -2
  26. package/dist/scripts/src/components/Heading/Heading.js +1 -1
  27. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +11 -11
  28. package/dist/scripts/src/components/Link/Link.js +6 -6
  29. package/dist/scripts/src/components/List/ListNative.js +53 -39
  30. package/dist/scripts/src/components/Markdown/Markdown.js +3 -3
  31. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +2 -2
  32. package/dist/scripts/src/components/NavGroup/NavGroup.js +2 -2
  33. package/dist/scripts/src/components/NavLink/NavLink.js +3 -3
  34. package/dist/scripts/src/components/NavPanel/NavPanel.js +2 -2
  35. package/dist/scripts/src/components/NoResult/NoResult.js +1 -1
  36. package/dist/scripts/src/components/OffCanvas/OffCanvas.js +1 -1
  37. package/dist/scripts/src/components/ProgressBar/ProgressBar.js +2 -2
  38. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +16 -16
  39. package/dist/scripts/src/components/Select/Select.js +16 -16
  40. package/dist/scripts/src/components/Slider/Slider.js +11 -11
  41. package/dist/scripts/src/components/Spinner/Spinner.js +2 -2
  42. package/dist/scripts/src/components/Splitter/Splitter.js +1 -1
  43. package/dist/scripts/src/components/StickyBox/StickyBox.js +1 -1
  44. package/dist/scripts/src/components/Switch/Switch.js +18 -18
  45. package/dist/scripts/src/components/Table/Table.js +17 -17
  46. package/dist/scripts/src/components/TableOfContents/TableOfContents.js +7 -7
  47. package/dist/scripts/src/components/Tabs/Tabs.js +12 -12
  48. package/dist/scripts/src/components/Text/Text.js +23 -23
  49. package/dist/scripts/src/components/TextBox/TextBox.js +11 -11
  50. package/dist/scripts/src/components-core/theming/themes/base-utils.js +0 -16
  51. package/dist/scripts/src/components-core/theming/themes/root.js +73 -86
  52. package/dist/scripts/src/components-core/theming/themes/solid.js +1 -1
  53. package/dist/scripts/src/components-core/theming/themes/xmlui.js +3 -3
  54. package/dist/scripts/src/components-core/theming/transformThemeVars.js +152 -152
  55. package/dist/scripts/src/parsers/scripting/Parser.js +2 -2
  56. package/dist/style.css +1 -1
  57. package/dist/xmlui-metadata.mjs +7916 -7916
  58. package/dist/xmlui-metadata.umd.js +11 -11
  59. package/dist/xmlui-parser.mjs +53 -52
  60. package/dist/xmlui-standalone.umd.js +146 -146
  61. package/dist/xmlui.d.ts +3 -3
  62. package/dist/xmlui.mjs +1 -1
  63. package/package.json +11 -5
  64. package/dist/index-B90aqc2f.mjs +0 -28217
  65. package/dist/lint-D3rXRbP1.mjs +0 -5645
  66. package/dist/scripts/bin/language-server.js +0 -11
  67. package/dist/scripts/src/components-core/abstractions/standalone.js +0 -2
  68. package/dist/scripts/src/components-core/interception/abstractions.js +0 -2
  69. package/dist/scripts/src/language-server/metadata.js +0 -8206
  70. package/dist/scripts/src/language-server/server.js +0 -135
  71. package/dist/scripts/src/language-server/services/completion.js +0 -100
  72. package/dist/scripts/src/language-server/services/hover.js +0 -170
  73. package/dist/scripts/src/language-server/services/syntax-node-utilities.js +0 -22
  74. package/dist/scripts/src/parsers/xmlui-parser/index.js +0 -29
  75. package/dist/scripts/src/parsers/xmlui-parser/lint.js +0 -177
  76. package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +0 -582
  77. package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +0 -2
@@ -42,27 +42,27 @@ exports.SwitchMd = (0, ComponentDefs_1.createMetadata)({
42
42
  },
43
43
  themeVars: (0, themeVars_1.parseScssVar)(Toggle_module_scss_1.default.themeVars),
44
44
  defaultThemeVars: {
45
- [`color-border-checked-${COMP}-error`]: `$color-border-${COMP}-error`,
46
- [`color-bg-checked-${COMP}-error`]: `$color-border-${COMP}-error`,
47
- [`color-border-checked-${COMP}-warning`]: `$color-border-${COMP}-warning`,
48
- [`color-bg-checked-${COMP}-warning`]: `$color-border-${COMP}-warning`,
49
- [`color-border-checked-${COMP}-success`]: `$color-border-${COMP}-success`,
50
- [`color-bg-checked-${COMP}-success`]: `$color-border-${COMP}-success`,
45
+ [`borderColor-checked-${COMP}-error`]: `$borderColor-${COMP}-error`,
46
+ [`backgroundColor-checked-${COMP}-error`]: `$borderColor-${COMP}-error`,
47
+ [`borderColor-checked-${COMP}-warning`]: `$borderColor-${COMP}-warning`,
48
+ [`backgroundColor-checked-${COMP}-warning`]: `$borderColor-${COMP}-warning`,
49
+ [`borderColor-checked-${COMP}-success`]: `$borderColor-${COMP}-success`,
50
+ [`backgroundColor-checked-${COMP}-success`]: `$borderColor-${COMP}-success`,
51
51
  light: {
52
- [`color-bg-${COMP}`]: "$color-surface-400",
53
- [`color-border-${COMP}`]: "$color-surface-400",
54
- [`color-bg-indicator-${COMP}`]: "$color-bg-primary",
55
- [`color-border-checked-${COMP}`]: "$color-primary-500",
56
- [`color-bg-checked-${COMP}`]: "$color-primary-500",
57
- [`color-bg-${COMP}--disabled`]: "$color-surface-200",
52
+ [`backgroundColor-${COMP}`]: "$color-surface-400",
53
+ [`borderColor-${COMP}`]: "$color-surface-400",
54
+ [`backgroundColor-indicator-${COMP}`]: "$backgroundColor-primary",
55
+ [`borderColor-checked-${COMP}`]: "$color-primary-500",
56
+ [`backgroundColor-checked-${COMP}`]: "$color-primary-500",
57
+ [`backgroundColor-${COMP}--disabled`]: "$color-surface-200",
58
58
  },
59
59
  dark: {
60
- [`color-bg-${COMP}`]: "$color-surface-500",
61
- [`color-border-${COMP}`]: "$color-surface-500",
62
- [`color-bg-indicator-${COMP}`]: "$color-bg-primary",
63
- [`color-border-checked-${COMP}`]: "$color-primary-400",
64
- [`color-bg-checked-${COMP}`]: "$color-primary-400",
65
- [`color-bg-${COMP}--disabled`]: "$color-surface-800",
60
+ [`backgroundColor-${COMP}`]: "$color-surface-500",
61
+ [`borderColor-${COMP}`]: "$color-surface-500",
62
+ [`backgroundColor-indicator-${COMP}`]: "$backgroundColor-primary",
63
+ [`borderColor-checked-${COMP}`]: "$color-primary-400",
64
+ [`backgroundColor-checked-${COMP}`]: "$color-primary-400",
65
+ [`backgroundColor-${COMP}--disabled`]: "$color-surface-800",
66
66
  },
67
67
  },
68
68
  });
@@ -102,7 +102,7 @@ exports.TableMd = (0, ComponentDefs_1.createMetadata)({
102
102
  [`paddingHorizontal-cell-first-${COMP}`]: "$space-5",
103
103
  [`paddingHorizontal-cell-last-${COMP}`]: "$space-5",
104
104
  [`paddingVertical-cell-${COMP}`]: "$space-2",
105
- [`border-cell-${COMP}`]: "1px solid $color-border",
105
+ [`border-cell-${COMP}`]: "1px solid $borderColor",
106
106
  [`outlineWidth-heading-${COMP}--focus`]: "$outlineWidth--focus",
107
107
  [`outlineStyle-heading-${COMP}--focus`]: "$outlineStyle--focus",
108
108
  [`outlineOffset-heading-${COMP}--focus`]: "$outlineOffset--focus",
@@ -110,26 +110,26 @@ exports.TableMd = (0, ComponentDefs_1.createMetadata)({
110
110
  [`fontWeight-heading-${COMP}`]: "$fontWeight-bold",
111
111
  [`textTransform-heading-${COMP}`]: "uppercase",
112
112
  [`fontSize-row-${COMP}`]: "$fontSize-small",
113
- [`color-bg-${COMP}`]: "$color-bg",
114
- [`color-bg-row-${COMP}`]: "inherit",
115
- [`color-bg-selected-${COMP}--hover`]: `$color-bg-row-${COMP}--hover`,
116
- [`color-bg-pagination-${COMP}`]: `$color-bg-${COMP}`,
113
+ [`backgroundColor-${COMP}`]: "$backgroundColor",
114
+ [`backgroundColor-row-${COMP}`]: "inherit",
115
+ [`backgroundColor-selected-${COMP}--hover`]: `$backgroundColor-row-${COMP}--hover`,
116
+ [`backgroundColor-pagination-${COMP}`]: `$backgroundColor-${COMP}`,
117
117
  [`outlineColor-heading-${COMP}--focus`]: "$outlineColor--focus",
118
- [`color-text-pagination-${COMP}`]: "$color-secondary",
118
+ [`color-pagination-${COMP}`]: "$color-secondary",
119
119
  light: {
120
- [`color-bg-row-${COMP}--hover`]: "$color-primary-50",
121
- [`color-bg-selected-${COMP}`]: "$color-primary-100",
122
- [`color-bg-heading-${COMP}--hover`]: "$color-surface-200",
123
- [`color-bg-heading-${COMP}--active`]: "$color-surface-300",
124
- [`color-bg-heading-${COMP}`]: "$color-surface-100",
125
- [`color-text-heading-${COMP}`]: "$color-surface-500",
120
+ [`backgroundColor-row-${COMP}--hover`]: "$color-primary-50",
121
+ [`backgroundColor-selected-${COMP}`]: "$color-primary-100",
122
+ [`backgroundColor-heading-${COMP}--hover`]: "$color-surface-200",
123
+ [`backgroundColor-heading-${COMP}--active`]: "$color-surface-300",
124
+ [`backgroundColor-heading-${COMP}`]: "$color-surface-100",
125
+ [`color-heading-${COMP}`]: "$color-surface-500",
126
126
  },
127
127
  dark: {
128
- [`color-bg-row-${COMP}--hover`]: "$color-primary-900",
129
- [`color-bg-selected-${COMP}`]: "$color-primary-800",
130
- [`color-bg-heading-${COMP}--hover`]: "$color-surface-800",
131
- [`color-bg-heading-${COMP}`]: "$color-surface-950",
132
- [`color-bg-heading-${COMP}--active`]: "$color-surface-700",
128
+ [`backgroundColor-row-${COMP}--hover`]: "$color-primary-900",
129
+ [`backgroundColor-selected-${COMP}`]: "$color-primary-800",
130
+ [`backgroundColor-heading-${COMP}--hover`]: "$color-surface-800",
131
+ [`backgroundColor-heading-${COMP}`]: "$color-surface-950",
132
+ [`backgroundColor-heading-${COMP}--active`]: "$color-surface-700",
133
133
  },
134
134
  },
135
135
  });
@@ -45,7 +45,7 @@ exports.TableOfContentsMd = (0, ComponentDefs_1.createMetadata)({
45
45
  [`border-width-${COMP}Item--active`]: "$space-0_5",
46
46
  [`border-style-${COMP}Item--active`]: "solid",
47
47
  [`fontWeight-${COMP}Item--active`]: "$fontWeight-bold",
48
- [`color-bg-${COMP}`]: "transparent",
48
+ [`backgroundColor-${COMP}`]: "transparent",
49
49
  [`paddingHorizontal-${COMP}`]: "$space-8",
50
50
  [`paddingVertical-${COMP}`]: "$space-4",
51
51
  [`paddingHorizontal-${COMP}Item`]: "$space-2",
@@ -63,19 +63,19 @@ exports.TableOfContentsMd = (0, ComponentDefs_1.createMetadata)({
63
63
  [`border-color-${COMP}`]: "transparent",
64
64
  [`border-style-${COMP}`]: "solid",
65
65
  [`textTransform-${COMP}Item`]: "none",
66
- [`align-vertical-${COMP}Item`]: "baseline",
66
+ [`verticalAlign-${COMP}Item`]: "baseline",
67
67
  [`letterSpacing-${COMP}Item`]: "0",
68
68
  light: {
69
- [`color-${COMP}Item`]: "$color-text-primary",
70
- [`border-color-${COMP}Item`]: "$color-border",
69
+ [`color-${COMP}Item`]: "$textColor-primary",
70
+ [`border-color-${COMP}Item`]: "$borderColor",
71
71
  [`border-color-${COMP}Item--active`]: "$color-primary-500",
72
72
  [`color-${COMP}Item--active`]: "$color-primary-500",
73
73
  },
74
74
  dark: {
75
- [`color-${COMP}Item`]: "$color-text-primary",
76
- [`border-color-${COMP}Item`]: "$color-border",
75
+ [`color-${COMP}Item`]: "$textColor-primary",
76
+ [`border-color-${COMP}Item`]: "$borderColor",
77
77
  [`border-color-${COMP}Item--active`]: "$color-primary-500",
78
- [`color-${COMP}Item--active`]: "$color-text-secondary",
78
+ [`color-${COMP}Item--active`]: "$textColor-secondary",
79
79
  },
80
80
  },
81
81
  });
@@ -34,21 +34,21 @@ exports.TabsMd = (0, ComponentDefs_1.createMetadata)({
34
34
  },
35
35
  themeVars: (0, themeVars_1.parseScssVar)(Tabs_module_scss_1.default.themeVars),
36
36
  defaultThemeVars: {
37
- [`color-bg-${COMP}`]: "$color-bg-primary",
38
- [`style-border-${COMP}`]: "solid",
39
- [`color-border-${COMP}`]: "$color-border",
40
- [`color-border-active-${COMP}`]: "$color-primary",
41
- [`thickness-border-${COMP}`]: "2px",
42
- [`color-bg-trigger-${COMP}`]: "$color-bg-primary",
37
+ [`backgroundColor-${COMP}`]: "$backgroundColor-primary",
38
+ [`borderStyle-${COMP}`]: "solid",
39
+ [`borderColor-${COMP}`]: "$borderColor",
40
+ [`borderColor-active-${COMP}`]: "$color-primary",
41
+ [`borderWidth-${COMP}`]: "2px",
42
+ [`backgroundColor-trigger-${COMP}`]: "$backgroundColor-primary",
43
43
  light: {
44
- [`color-bg-trigger-${COMP}--hover`]: "$color-primary-50",
45
- [`color-bg-list-${COMP}`]: "$color-primary-50",
46
- [`color-text-trigge-r${COMP}`]: "$color-primary-100",
44
+ [`backgroundColor-trigger-${COMP}--hover`]: "$color-primary-50",
45
+ [`backgroundColor-list-${COMP}`]: "$color-primary-50",
46
+ [`color-trigge-r${COMP}`]: "$color-primary-100",
47
47
  },
48
48
  dark: {
49
- [`color-bg-trigger-${COMP}--hover`]: "$color-primary-800",
50
- [`color-bg-list-${COMP}`]: "$color-primary-800",
51
- [`color-text-trigge-r${COMP}`]: "$color-primary-100",
49
+ [`backgroundColor-trigger-${COMP}--hover`]: "$color-primary-800",
50
+ [`backgroundColor-list-${COMP}`]: "$color-primary-800",
51
+ [`color-trigge-r${COMP}`]: "$color-primary-100",
52
52
  },
53
53
  },
54
54
  });
@@ -53,33 +53,33 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
53
53
  themeVars: (0, themeVars_1.parseScssVar)(Text_module_scss_1.default.themeVars),
54
54
  defaultThemeVars: {
55
55
  [`borderRadius-${COMP}`]: "$borderRadius",
56
- [`style-border-${COMP}`]: "solid",
56
+ [`borderStyle-${COMP}`]: "solid",
57
57
  [`fontSize-${COMP}`]: "$fontSize-small",
58
- [`thickness-border-${COMP}`]: "$space-0",
58
+ [`borderWidth-${COMP}`]: "$space-0",
59
59
  [`fontWeight-${COMP}-abbr`]: "$fontWeight-bold",
60
60
  [`textTransform-${COMP}-abbr`]: "uppercase",
61
61
  [`fontSize-${COMP}-secondary`]: "$fontSize-small",
62
62
  [`font-style-${COMP}-cite`]: "italic",
63
- [`color-${COMP}`]: "$color-text-primary",
63
+ [`color-${COMP}`]: "$textColor-primary",
64
64
  [`fontFamily-${COMP}`]: "$fontFamily",
65
65
  [`fontWeight-${COMP}`]: "$fontWeight-normal",
66
66
  [`fontFamily-${COMP}-code`]: "$fontFamily-monospace",
67
67
  [`fontSize-${COMP}-code`]: "$fontSize-small",
68
- [`thickness-border-${COMP}-code`]: "1px",
68
+ [`borderWidth-${COMP}-code`]: "1px",
69
69
  [`paddingHorizontal-${COMP}-code`]: "$space-1",
70
70
  [`textDecorationLine-${COMP}-deleted`]: "line-through",
71
71
  [`textDecorationLine-${COMP}-inserted`]: "underline",
72
72
  [`fontFamily-${COMP}-keyboard`]: "$fontFamily-monospace",
73
73
  [`fontSize-${COMP}-keyboard`]: "$fontSize-small",
74
74
  [`fontWeight-${COMP}-keyboard`]: "$fontWeight-bold",
75
- [`thickness-border-${COMP}-keyboard`]: "1px",
75
+ [`borderWidth-${COMP}-keyboard`]: "1px",
76
76
  [`paddingHorizontal-${COMP}-keyboard`]: "$space-1",
77
77
  [`fontFamily-${COMP}-sample`]: "$fontFamily-monospace",
78
78
  [`fontSize-${COMP}-sample`]: "$fontSize-small",
79
79
  [`fontSize-${COMP}-sup`]: "$fontSize-smaller",
80
- [`align-vertical-${COMP}-sup`]: "super",
80
+ [`verticalAlign-${COMP}-sup`]: "super",
81
81
  [`fontSize-${COMP}-sub`]: "$fontSize-smaller",
82
- [`align-vertical-${COMP}-sub`]: "sub",
82
+ [`verticalAlign-${COMP}-sub`]: "sub",
83
83
  [`font-style-${COMP}-var`]: "italic",
84
84
  [`fontFamily-${COMP}-mono`]: "$fontFamily-monospace",
85
85
  [`fontSize-${COMP}-title`]: "$fontSize-large",
@@ -101,28 +101,28 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
101
101
  [`paddingHorizontal-${COMP}-tableheading`]: "$space-1",
102
102
  [`fontWeight-${COMP}-tableheading`]: "$fontWeight-bold",
103
103
  light: {
104
- [`color-bg-${COMP}-code`]: "$color-surface-100",
105
- [`color-border-${COMP}-code`]: "$color-surface-200",
106
- [`color-bg-${COMP}-keyboard`]: "$color-surface-200",
107
- [`color-border-${COMP}-keyboard`]: "$color-surface-300",
108
- [`color-bg-${COMP}-marked`]: "yellow",
104
+ [`backgroundColor-${COMP}-code`]: "$color-surface-100",
105
+ [`borderColor-${COMP}-code`]: "$color-surface-200",
106
+ [`backgroundColor-${COMP}-keyboard`]: "$color-surface-200",
107
+ [`borderColor-${COMP}-keyboard`]: "$color-surface-300",
108
+ [`backgroundColor-${COMP}-marked`]: "yellow",
109
109
  [`color-${COMP}-placeholder`]: "$color-surface-500",
110
- [`color-bg-${COMP}-codefence`]: "$color-primary-100",
110
+ [`backgroundColor-${COMP}-codefence`]: "$color-primary-100",
111
111
  [`color-${COMP}-codefence`]: "$color-surface-900",
112
- [`color-${COMP}-subheading`]: "$color-text-secondary",
113
- [`color-${COMP}-secondary`]: "$color-text-secondary",
112
+ [`color-${COMP}-subheading`]: "$textColor-secondary",
113
+ [`color-${COMP}-secondary`]: "$textColor-secondary",
114
114
  },
115
115
  dark: {
116
- [`color-bg-${COMP}-code`]: "$color-surface-800",
117
- [`color-border-${COMP}-code`]: "$color-surface-700",
118
- [`color-bg-${COMP}-keyboard`]: "$color-surface-800",
119
- [`color-border-${COMP}-keyboard`]: "$color-surface-700",
120
- [`color-bg-${COMP}-marked`]: "orange",
116
+ [`backgroundColor-${COMP}-code`]: "$color-surface-800",
117
+ [`borderColor-${COMP}-code`]: "$color-surface-700",
118
+ [`backgroundColor-${COMP}-keyboard`]: "$color-surface-800",
119
+ [`borderColor-${COMP}-keyboard`]: "$color-surface-700",
120
+ [`backgroundColor-${COMP}-marked`]: "orange",
121
121
  [`color-${COMP}-placeholder`]: "$color-surface-500",
122
- [`color-bg-${COMP}-codefence`]: "$color-primary-800",
122
+ [`backgroundColor-${COMP}-codefence`]: "$color-primary-800",
123
123
  [`color-${COMP}-codefence`]: "$color-surface-200",
124
- [`color-${COMP}-subheading`]: "$color-text-secondary",
125
- [`color-${COMP}-secondary`]: "$color-text-secondary",
124
+ [`color-${COMP}-subheading`]: "$textColor-secondary",
125
+ [`color-${COMP}-secondary`]: "$textColor-secondary",
126
126
  },
127
127
  },
128
128
  });
@@ -47,19 +47,19 @@ exports.TextBoxMd = (0, ComponentDefs_1.createMetadata)({
47
47
  defaultThemeVars: {
48
48
  // TODO: When FormItem is themed, move these defaults there
49
49
  "borderRadius-Input": "$borderRadius",
50
- "color-text-Input": "$color-text-primary",
51
- "color-bg-Input--disabled": "$color-bg--disabled",
52
- "thickness-border-Input": "1px",
50
+ "color-Input": "$textColor-primary",
51
+ "backgroundColor-Input--disabled": "$backgroundColor--disabled",
52
+ "borderWidth-Input": "1px",
53
53
  "minHeight-Input": "39px",
54
54
  "padding-Input": "$space-2",
55
- "style-border-Input": "solid",
56
- "color-border-Input--disabled": "$color-border--disabled",
57
- "color-text-Input--disabled": "$color-text--disabled",
58
- "color-border-Input-error": "$color-border-Input-default--error",
59
- "color-border-Input-warning": "$color-border-Input-default--warning",
60
- "color-border-Input-success": "$color-border-Input-default--success",
61
- "color-placeholder-Input": "$color-text-subtitle",
62
- "color-adornment-Input": "$color-text-subtitle",
55
+ "borderStyle-Input": "solid",
56
+ "borderColor-Input--disabled": "$borderColor--disabled",
57
+ "color-Input--disabled": "$textColor--disabled",
58
+ "borderColor-Input-error": "$borderColor-Input-default--error",
59
+ "borderColor-Input-warning": "$borderColor-Input-default--warning",
60
+ "borderColor-Input-success": "$borderColor-Input-default--success",
61
+ "color-placeholder-Input": "$textColor-subtitle",
62
+ "color-adornment-Input": "$textColor-subtitle",
63
63
  "outlineColor-Input--focus": "$outlineColor--focus",
64
64
  "outlineWidth-Input--focus": "$outlineWidth--focus",
65
65
  "outlineStyle-Input--focus": "$outlineStyle--focus",
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paddingSubject = paddingSubject;
4
- exports.borderSubject = borderSubject;
5
4
  function paddingSubject(name, valueSpec) {
6
5
  var _a, _b, _c, _d, _e, _f, _g;
7
6
  return {
@@ -14,18 +13,3 @@ function paddingSubject(name, valueSpec) {
14
13
  [`padding-${name}`]: (_g = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) !== null && _g !== void 0 ? _g : `$paddingTop-${name} $paddingRight-${name} $paddingBottom-${name} $paddingLeft-${name}`,
15
14
  };
16
15
  }
17
- function borderSubject(name, valueSpec) {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
19
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ [`borderRadius-${name}`]: "$borderRadius" }, borderEdgeSubject("left", (_b = (_a = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.left) !== null && _a !== void 0 ? _a : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.horizontal) !== null && _b !== void 0 ? _b : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), borderEdgeSubject("right", (_d = (_c = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.right) !== null && _c !== void 0 ? _c : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.horizontal) !== null && _d !== void 0 ? _d : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), borderEdgeSubject("top", (_f = (_e = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.top) !== null && _e !== void 0 ? _e : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.vertical) !== null && _f !== void 0 ? _f : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), borderEdgeSubject("bottom", (_h = (_g = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.bottom) !== null && _g !== void 0 ? _g : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.vertical) !== null && _h !== void 0 ? _h : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), borderEdgeSubject("horizontal", (_j = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.horizontal) !== null && _j !== void 0 ? _j : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), borderEdgeSubject("vertical", (_k = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.vertical) !== null && _k !== void 0 ? _k : valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all)), { [`color-border-${name}`]: (_m = (_l = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _l === void 0 ? void 0 : _l.color) !== null && _m !== void 0 ? _m : "", [`thickness-border-${name}`]: (_p = (_o = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _o === void 0 ? void 0 : _o.thickness) !== null && _p !== void 0 ? _p : "", [`style-border-${name}`]: (_r = (_q = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _q === void 0 ? void 0 : _q.style) !== null && _r !== void 0 ? _r : "", [`border-${name}`]: `${(_t = (_s = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _s === void 0 ? void 0 : _s.thickness) !== null && _t !== void 0 ? _t : `$thickness-border-${name}`} ` +
20
- `${(_v = (_u = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _u === void 0 ? void 0 : _u.style) !== null && _v !== void 0 ? _v : `$style-border-${name}`} ` +
21
- `${(_x = (_w = valueSpec === null || valueSpec === void 0 ? void 0 : valueSpec.all) === null || _w === void 0 ? void 0 : _w.color) !== null && _x !== void 0 ? _x : `$color-border-${name}`} ` });
22
- function borderEdgeSubject(edge, edgeSpec) {
23
- var _a, _b, _c, _d;
24
- return {
25
- [`color-border-${edge}-${name}`]: (_a = edgeSpec === null || edgeSpec === void 0 ? void 0 : edgeSpec.color) !== null && _a !== void 0 ? _a : "",
26
- [`thickness-border-${edge}-${name}`]: (_b = edgeSpec === null || edgeSpec === void 0 ? void 0 : edgeSpec.thickness) !== null && _b !== void 0 ? _b : "",
27
- [`style-border-${edge}-${name}`]: (_c = edgeSpec === null || edgeSpec === void 0 ? void 0 : edgeSpec.style) !== null && _c !== void 0 ? _c : "",
28
- [`border-${edge}-${name}`]: (_d = edgeSpec === null || edgeSpec === void 0 ? void 0 : edgeSpec.all) !== null && _d !== void 0 ? _d : `$thickness-border-${edge}-${name} $style-border-${edge}-${name} $color-border-${edge}-${name}`,
29
- };
30
- }
31
- }
@@ -110,16 +110,16 @@ exports.RootThemeDefinition = {
110
110
  "fontWeight-bold": "600",
111
111
  "fontWeight-extra-bold": "900",
112
112
  // --- Default text colors (component use these values as their defaults)
113
- "color-text-primary": "$color-surface-950",
114
- "color-text-attention": "$color-danger-600",
115
- "color-text-subtitle": "$color-surface-500",
116
- "color-text--disabled": "$color-surface-400",
113
+ "textColor-primary": "$color-surface-950",
114
+ "textColor-attention": "$color-danger-600",
115
+ "textColor-subtitle": "$color-surface-500",
116
+ "textColor--disabled": "$color-surface-400",
117
117
  // --- Default background colors (component use these values as their defaults)
118
- "color-bg-primary": "$color-surface-50",
119
- "color-bg-secondary": "$color-surface-50",
120
- "color-bg-attention": "$color-attention",
121
- "color-bg--disabled": "$color-surface-50",
122
- "color-bg--selected": "$color-primary-50",
118
+ "backgroundColor-primary": "$color-surface-50",
119
+ "backgroundColor-secondary": "$color-surface-50",
120
+ "backgroundColor-attention": "$color-attention",
121
+ "backgroundColor--disabled": "$color-surface-50",
122
+ "backgroundColor--selected": "$color-primary-50",
123
123
  // --- Various default colors
124
124
  "color-info": "$color-info-500",
125
125
  "color-valid": "$color-success-600",
@@ -138,11 +138,11 @@ exports.RootThemeDefinition = {
138
138
  "fontFamily-monospace": "Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
139
139
  "font-feature-settings": "'cv03', 'cv04', 'cv11'",
140
140
  // --- Some media breakpoints (review them)
141
- "media-maxWidth-phone": "576px",
142
- "media-maxWidth-landscape-phone": "768px",
143
- "media-maxWidth-tablet": "992px",
144
- "media-maxWidth-desktop": "1200px",
145
- "media-maxWidth-large-desktop": "1400px",
141
+ "maxWidth-phone": "576px",
142
+ "maxWidth-landscape-phone": "768px",
143
+ "maxWidth-tablet": "992px",
144
+ "maxWidth-desktop": "1200px",
145
+ "maxWidth-large-desktop": "1400px",
146
146
  // --- The app's default radius value
147
147
  borderRadius: "4px",
148
148
  "outlineColor--focus": "rgba($color-primary-500-rgb, .5)",
@@ -179,108 +179,95 @@ exports.RootThemeDefinition = {
179
179
  // --- Font used for body
180
180
  "fontWeight": "$fontWeight-normal",
181
181
  // --- Various default values (review them)
182
- "color-border-dropdown-item": "$color-border",
182
+ "borderColor-dropdown-item": "$borderColor",
183
183
  // --- Various predefined shadow values
184
- shadow: "0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)",
185
- "shadow-md": "0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)",
186
- "shadow-xl": "0 16px 24px 2px rgba(0, 0, 0, 0.07), 0 6px 30px 5px rgba(0, 0, 0, 0.06), 0 8px 10px -5px rgba(0, 0, 0, 0.1)",
187
- "shadow-xxl": "0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)",
188
- "shadow-spread": "0px 0px 30px rgba(0, 0, 0, 0.1)",
189
- "shadow-spread-2": "-6px -4px 40px 10px rgba(0, 0, 0, 0.1)",
190
- "shadow-spread-2-xl": "-6px -4px 40px 18px rgba(0, 0, 0, 0.1)",
184
+ boxShadow: "0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)",
185
+ "boxShadow-md": "0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)",
186
+ "boxShadow-xl": "0 16px 24px 2px rgba(0, 0, 0, 0.07), 0 6px 30px 5px rgba(0, 0, 0, 0.06), 0 8px 10px -5px rgba(0, 0, 0, 0.1)",
187
+ "boxShadow-xxl": "0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)",
188
+ "boxShadow-spread": "0px 0px 30px rgba(0, 0, 0, 0.1)",
189
+ "boxShadow-spread-2": "-6px -4px 40px 10px rgba(0, 0, 0, 0.1)",
190
+ "boxShadow-spread-2-xl": "-6px -4px 40px 18px rgba(0, 0, 0, 0.1)",
191
191
  // --- The default maximum content width
192
- "max-content-width": "1320px",
193
- "size-Icon": "1.25em",
194
- "boxShadow-Avatar": "inset 0 0 0 1px rgba(4, 32, 69, 0.1)",
195
- "border-size-Avatar": "0px",
196
- "borderRadius-Avatar": "4px",
197
- "boxShadow-header-App": "none",
198
- // "height-AppHeader": "3.5rem",
199
- "paddingHorizontal-NavPanel-horizontal": "1rem",
200
- "paddingVertical-HeaderLogo": "0.7rem",
201
- "padding-TableCell": ".75rem",
202
- "padding-TableHeading": ".5rem .75rem .5rem .75rem",
203
- "color-bg-TableRow--hover": "transparent",
204
- "boxShadow-NavPanel-vertical": "none",
205
- "width-NavPanel-vertical": "15rem",
192
+ "maxWidth-content": "1320px",
206
193
  },
207
194
  tones: {
208
195
  light: {
209
196
  themeVars: {
210
197
  // --- Background colors
211
- "color-bg": $colorSurface50,
212
- "color-bg-primary": $colorSurface50,
213
- "color-bg-secondary": $colorSurface50,
214
- "color-bg--disabled": $colorSurface50,
215
- "color-bg--selected": $colorPrimary50,
216
- "color-bg-overlay": "rgba(0, 0, 0, 0.2)",
217
- "color-bg-dropdown-item--hover": $colorSurface100,
218
- "color-bg-dropdown-item--active": $colorSurface100,
219
- "color-bg-dropdown-item--active-hover": $colorSurface50,
220
- "color-bg-tree-row--selected--before": $colorPrimary50,
198
+ "backgroundColor": $colorSurface50,
199
+ "backgroundColor-primary": $colorSurface50,
200
+ "backgroundColor-secondary": $colorSurface50,
201
+ "backgroundColor--disabled": $colorSurface50,
202
+ "backgroundColor--selected": $colorPrimary50,
203
+ "backgroundColor-overlay": "rgba(0, 0, 0, 0.2)",
204
+ "backgroundColor-dropdown-item--hover": $colorSurface100,
205
+ "backgroundColor-dropdown-item--active": $colorSurface100,
206
+ "backgroundColor-dropdown-item--active-hover": $colorSurface50,
207
+ "backgroundColor-tree-row--selected--before": $colorPrimary50,
221
208
  // --- Various default colors
222
209
  "color-info": "$color-info-800",
223
210
  "color-valid": $colorSuccess600,
224
211
  "color-warning": $colorWarn700,
225
212
  "color-error": $colorDanger700,
226
213
  // --- Border colors
227
- "color-border": $colorSurface200,
228
- "color-border--disabled": $colorSurface200,
229
- "color-border-dropdown-item": $colorSurface200,
214
+ "borderColor": $colorSurface200,
215
+ "borderColor--disabled": $colorSurface200,
216
+ "borderColor-dropdown-item": $colorSurface200,
230
217
  // --- Text colors
231
- "color-text-primary": $colorSurface950,
232
- "color-text-secondary": $colorSurface600,
233
- "color-text-attention": $colorDanger600,
234
- "color-text-subtitle": $colorSurface500,
235
- "color-text--disabled": $colorSurface400,
218
+ "textColor-primary": $colorSurface950,
219
+ "textColor-secondary": $colorSurface600,
220
+ "textColor-attention": $colorDanger600,
221
+ "textColor-subtitle": $colorSurface500,
222
+ "textColor--disabled": $colorSurface400,
236
223
  // --- Input is an abstract component, so we define its default theme variables here
237
- "color-bg-Input-default": "white",
238
- "color-border-Input-default": $colorSurface200,
239
- "color-border-Input-default--hover": $colorSurface600,
240
- "color-border-Input-default--focus": $colorSurface600,
241
- "color-border-Input-default--success": $colorSuccess600,
242
- "color-border-Input-default--warning": $colorWarn700,
243
- "color-border-Input-default--error": $colorDanger600,
224
+ "backgroundColor-Input-default": "white",
225
+ "borderColor-Input-default": $colorSurface200,
226
+ "borderColor-Input-default--hover": $colorSurface600,
227
+ "borderColor-Input-default--focus": $colorSurface600,
228
+ "borderColor-Input-default--success": $colorSuccess600,
229
+ "borderColor-Input-default--warning": $colorWarn700,
230
+ "borderColor-Input-default--error": $colorDanger600,
244
231
  // --- InputLabel is a React component, so we define its default theme variables here
245
- "color-text-InputLabel-required": $colorDanger600,
232
+ "color-InputLabel-required": $colorDanger600,
246
233
  },
247
234
  },
248
235
  dark: {
249
236
  themeVars: {
250
237
  // --- Background colors
251
- "color-bg": $colorSurface950,
252
- "color-bg-primary": $colorSurface900,
253
- "color-bg-secondary": $colorSurface800,
254
- "color-bg--disabled": $colorSurface800,
255
- "color-bg--selected": $colorSurface700,
256
- "color-bg-overlay": "rgba(0, 0, 0, 0.4)",
257
- "color-bg-dropdown-item--hover": $colorSurface500A60,
258
- "color-bg-dropdown-item--active": $colorSurface500A80,
259
- "color-bg-tree-row--selected--before": $colorPrimary950,
238
+ "backgroundColor": $colorSurface950,
239
+ "backgroundColor-primary": $colorSurface900,
240
+ "backgroundColor-secondary": $colorSurface800,
241
+ "backgroundColor--disabled": $colorSurface800,
242
+ "backgroundColor--selected": $colorSurface700,
243
+ "backgroundColor-overlay": "rgba(0, 0, 0, 0.4)",
244
+ "backgroundColor-dropdown-item--hover": $colorSurface500A60,
245
+ "backgroundColor-dropdown-item--active": $colorSurface500A80,
246
+ "backgroundColor-tree-row--selected--before": $colorPrimary950,
260
247
  // --- Various default colors
261
248
  "color-info": $colorInfo600,
262
249
  "color-valid": $colorSuccess600,
263
250
  "color-warning": $colorWarn700,
264
251
  "color-error": $colorDanger700,
265
252
  // --- Border colors
266
- "color-border": $colorSurface800,
267
- "color-border--disabled": $colorSurface700,
268
- "color-border-dropdown-item": $colorSurface300,
253
+ "borderColor": $colorSurface800,
254
+ "borderColor--disabled": $colorSurface700,
255
+ "borderColor-dropdown-item": $colorSurface300,
269
256
  // --- Text colors
270
- "color-text-primary": $colorSurface100,
271
- "color-text-secondary": $colorSurface400,
272
- "color-text-attention": $colorDanger400,
273
- "color-text-subtitle": $colorSurface500,
274
- "color-text--disabled": $colorSurface500,
257
+ "textColor-primary": $colorSurface100,
258
+ "textColor-secondary": $colorSurface400,
259
+ "textColor-attention": $colorDanger400,
260
+ "textColor-subtitle": $colorSurface500,
261
+ "textColor--disabled": $colorSurface500,
275
262
  // --- Input is an abstract component, so we define its default theme variables here
276
- "color-border-Input-default": $colorSurface800,
277
- "color-border-Input-default--hover": $colorSurface500,
278
- "color-border-Input-default--focus": $colorSurface500,
279
- "color-border-Input-default--success": $colorSuccess600,
280
- "color-border-Input-default--warning": $colorWarn700,
281
- "color-border-Input-default--error": $colorDanger500,
263
+ "borderColor-Input-default": $colorSurface800,
264
+ "borderColor-Input-default--hover": $colorSurface500,
265
+ "borderColor-Input-default--focus": $colorSurface500,
266
+ "borderColor-Input-default--success": $colorSuccess600,
267
+ "borderColor-Input-default--warning": $colorWarn700,
268
+ "borderColor-Input-default--error": $colorDanger500,
282
269
  // --- InputLabel is a React component, so we define its default theme variables here
283
- "color-text-InputLabel-required": $colorDanger400,
270
+ "color-InputLabel-required": $colorDanger400,
284
271
  },
285
272
  },
286
273
  },
@@ -8,7 +8,7 @@ exports.SolidThemeDefinition = {
8
8
  "color-secondary": "#98a9bc",
9
9
  "color-surface": "hsl(0,0%,49%)",
10
10
  "color-success": "#45a249",
11
- "max-content-width": "100%",
11
+ "maxWidth-content": "100%",
12
12
  borderRadius: "0",
13
13
  "fontSize": "$fontSize-normal",
14
14
  "size-Icon": "1rem",
@@ -10,13 +10,13 @@ exports.XmlUiThemeDefinition = {
10
10
  themeVars: {
11
11
  "boxShadow-header-App": "none",
12
12
  "font-size": "15px",
13
- "boxShadow-Input": "$shadow-sm",
13
+ "boxShadow-Input": "$boxShadow-sm",
14
14
  },
15
15
  tones: {
16
16
  light: {
17
17
  themeVars: {
18
- "color-bg-ModalDialog": "white",
19
- "color-bg-checked-RadioGroupOption": "$color-primary-400",
18
+ "backgroundColor-ModalDialog": "white",
19
+ "backgroundColor-checked-RadioGroupOption": "$color-primary-400",
20
20
  }
21
21
  },
22
22
  dark: {