xmlui 0.7.33 → 0.8.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 (90) hide show
  1. package/dist/_commonjsHelpers-BkfeUUK-.mjs +28 -0
  2. package/dist/{apiInterceptorWorker-CE7NtDJI.mjs → apiInterceptorWorker-C5K2aqZR.mjs} +1 -1
  3. package/dist/index-DG5iykVX.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/abstractions/ComponentDefs.js +2 -1
  10. package/dist/scripts/src/components/Accordion/Accordion.js +14 -14
  11. package/dist/scripts/src/components/App/App.js +3 -3
  12. package/dist/scripts/src/components/App/AppNative.js +2 -2
  13. package/dist/scripts/src/components/AppHeader/AppHeader.js +6 -3
  14. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +19 -19
  15. package/dist/scripts/src/components/Avatar/Avatar.js +7 -7
  16. package/dist/scripts/src/components/Badge/Badge.js +8 -8
  17. package/dist/scripts/src/components/Button/Button.js +79 -79
  18. package/dist/scripts/src/components/Card/Card.js +5 -5
  19. package/dist/scripts/src/components/Carousel/Carousel.js +18 -15
  20. package/dist/scripts/src/components/Checkbox/Checkbox.js +14 -14
  21. package/dist/scripts/src/components/ComponentProvider.js +2 -1
  22. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +1 -1
  23. package/dist/scripts/src/components/DatePicker/DatePicker.js +9 -9
  24. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +17 -17
  25. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +3 -3
  26. package/dist/scripts/src/components/Footer/Footer.js +5 -5
  27. package/dist/scripts/src/components/Form/Form.js +16 -16
  28. package/dist/scripts/src/components/FormItem/FormItem.js +5 -5
  29. package/dist/scripts/src/components/Heading/Heading.js +22 -28
  30. package/dist/scripts/src/components/Heading/HeadingNative.js +2 -1
  31. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +68 -31
  32. package/dist/scripts/src/components/IconRegistryContext.js +243 -242
  33. package/dist/scripts/src/components/Link/Link.js +22 -19
  34. package/dist/scripts/src/components/List/ListNative.js +53 -39
  35. package/dist/scripts/src/components/Markdown/Markdown.js +6 -6
  36. package/dist/scripts/src/components/Markdown/MarkdownNative.js +73 -17
  37. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +2 -2
  38. package/dist/scripts/src/components/NavGroup/NavGroup.js +3 -3
  39. package/dist/scripts/src/components/NavLink/NavLink.js +26 -23
  40. package/dist/scripts/src/components/NavPanel/NavPanel.js +8 -8
  41. package/dist/scripts/src/components/NoResult/NoResult.js +2 -2
  42. package/dist/scripts/src/components/OffCanvas/OffCanvas.js +5 -5
  43. package/dist/scripts/src/components/ProgressBar/ProgressBar.js +4 -4
  44. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +18 -18
  45. package/dist/scripts/src/components/Select/Select.js +21 -21
  46. package/dist/scripts/src/components/Select/SelectNative.js +16 -15
  47. package/dist/scripts/src/components/Slider/Slider.js +11 -11
  48. package/dist/scripts/src/components/Spinner/Spinner.js +2 -2
  49. package/dist/scripts/src/components/Splitter/Splitter.js +1 -1
  50. package/dist/scripts/src/components/StickyBox/StickyBox.js +1 -1
  51. package/dist/scripts/src/components/Switch/Switch.js +18 -18
  52. package/dist/scripts/src/components/Table/Table.js +29 -29
  53. package/dist/scripts/src/components/TableOfContents/TableOfContents.js +27 -27
  54. package/dist/scripts/src/components/TableOfContents/TableOfContentsNative.js +2 -1
  55. package/dist/scripts/src/components/Tabs/Tabs.js +12 -12
  56. package/dist/scripts/src/components/Text/Text.js +60 -61
  57. package/dist/scripts/src/components/TextBox/TextBox.js +17 -17
  58. package/dist/scripts/src/components/Theme/ThemeNative.js +1 -1
  59. package/dist/scripts/src/components-core/descriptorHelper.js +7 -7
  60. package/dist/scripts/src/components-core/theming/layout-resolver.js +26 -26
  61. package/dist/scripts/src/components-core/theming/themes/base-utils.js +7 -23
  62. package/dist/scripts/src/components-core/theming/themes/root.js +101 -114
  63. package/dist/scripts/src/components-core/theming/themes/solid.js +3 -3
  64. package/dist/scripts/src/components-core/theming/themes/xmlui.js +4 -4
  65. package/dist/scripts/src/components-core/theming/transformThemeVars.js +189 -189
  66. package/dist/scripts/src/components-core/utils/hooks.js +2 -2
  67. package/dist/scripts/src/parsers/scripting/Parser.js +2 -2
  68. package/dist/style.css +1 -1
  69. package/dist/xmlui-metadata.mjs +8534 -8204
  70. package/dist/xmlui-metadata.umd.js +11 -11
  71. package/dist/xmlui-parser.d.ts +1 -0
  72. package/dist/xmlui-parser.mjs +53 -52
  73. package/dist/xmlui-standalone.umd.js +174 -174
  74. package/dist/xmlui.d.ts +5 -4
  75. package/dist/xmlui.mjs +13 -12
  76. package/package.json +11 -5
  77. package/dist/index-lMqf6HyK.mjs +0 -27841
  78. package/dist/lint-DgP_MIP6.mjs +0 -5645
  79. package/dist/scripts/bin/language-server.js +0 -11
  80. package/dist/scripts/src/components-core/abstractions/standalone.js +0 -2
  81. package/dist/scripts/src/components-core/interception/abstractions.js +0 -2
  82. package/dist/scripts/src/language-server/metadata.js +0 -8206
  83. package/dist/scripts/src/language-server/server.js +0 -135
  84. package/dist/scripts/src/language-server/services/completion.js +0 -100
  85. package/dist/scripts/src/language-server/services/hover.js +0 -170
  86. package/dist/scripts/src/language-server/services/syntax-node-utilities.js +0 -22
  87. package/dist/scripts/src/parsers/xmlui-parser/index.js +0 -29
  88. package/dist/scripts/src/parsers/xmlui-parser/lint.js +0 -177
  89. package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +0 -582
  90. package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +0 -2
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createMetadata = createMetadata;
4
4
  exports.d = d;
5
- function createMetadata({ description, shortDescription, specializedFrom, status, props, events, contextVars, apis, nonVisual, opaque, themeVars, defaultThemeVars, toneSpecificThemeVars, allowArbitraryProps, docFolder, isHtmlTag, }) {
5
+ function createMetadata({ description, shortDescription, specializedFrom, status, props, events, contextVars, apis, nonVisual, opaque, themeVars, themeVarDescriptions, defaultThemeVars, toneSpecificThemeVars, allowArbitraryProps, docFolder, isHtmlTag, }) {
6
6
  return {
7
7
  description,
8
8
  shortDescription,
@@ -16,6 +16,7 @@ function createMetadata({ description, shortDescription, specializedFrom, status
16
16
  opaque,
17
17
  themeVars,
18
18
  defaultThemeVars,
19
+ themeVarDescriptions,
19
20
  toneSpecificThemeVars,
20
21
  allowArbitraryProps,
21
22
  docFolder,
@@ -61,29 +61,29 @@ exports.AccordionMd = (0, ComponentDefs_1.createMetadata)({
61
61
  },
62
62
  themeVars: (0, themeVars_1.parseScssVar)(Accordion_module_scss_1.default.themeVars),
63
63
  defaultThemeVars: {
64
- [`padding-horizontal-header-${COMP}`]: "$space-3",
65
- [`padding-vertical-header-${COMP}`]: "$space-3",
64
+ [`paddingHorizontal-header-${COMP}`]: "$space-3",
65
+ [`paddingVertical-header-${COMP}`]: "$space-3",
66
66
  [`align-vertical-header-${COMP}`]: "center",
67
- [`font-size-header-${COMP}`]: "$font-size-normal",
68
- [`font-weight-header-${COMP}`]: "$font-weight-normal",
69
- [`font-family-header-${COMP}`]: "$font-family",
70
- [`border-${COMP}`]: "0px solid $color-border",
67
+ [`fontSize-header-${COMP}`]: "$fontSize-normal",
68
+ [`fontWeight-header-${COMP}`]: "$fontWeight-normal",
69
+ [`fontFamily-header-${COMP}`]: "$fontFamily",
70
+ [`border-${COMP}`]: "0px solid $borderColor",
71
71
  [`width-icon-${COMP}`]: "",
72
72
  [`height-icon-${COMP}`]: "",
73
73
  light: {
74
- [`color-bg-header-${COMP}`]: "$color-primary-500",
75
- [`color-bg-header-${COMP}-hover`]: "$color-primary-400",
74
+ [`backgroundColor-header-${COMP}`]: "$color-primary-500",
75
+ [`backgroundColor-header-${COMP}-hover`]: "$color-primary-400",
76
76
  [`color-header-${COMP}`]: "$color-surface-50",
77
- [`color-content-${COMP}`]: "$color-text-primary",
78
- [`color-bg-content-${COMP}`]: "transparent",
77
+ [`color-content-${COMP}`]: "$textColor-primary",
78
+ [`backgroundColor-content-${COMP}`]: "transparent",
79
79
  [`color-icon-${COMP}`]: "$color-surface-50",
80
80
  },
81
81
  dark: {
82
- [`color-bg-header-${COMP}`]: "$color-primary-500",
83
- [`color-bg-header-${COMP}-hover`]: "$color-primary-600",
82
+ [`backgroundColor-header-${COMP}`]: "$color-primary-500",
83
+ [`backgroundColor-header-${COMP}-hover`]: "$color-primary-600",
84
84
  [`color-header-${COMP}`]: "$color-surface-50",
85
- [`color-content-${COMP}`]: "$color-text-primary",
86
- [`color-bg-content-${COMP}`]: "transparent",
85
+ [`color-content-${COMP}`]: "$textColor-primary",
86
+ [`backgroundColor-content-${COMP}`]: "transparent",
87
87
  [`color-icon-${COMP}`]: "$color-surface-50",
88
88
  },
89
89
  },
@@ -75,9 +75,9 @@ exports.AppMd = (0, ComponentDefs_1.createMetadata)({
75
75
  themeVars: (0, themeVars_1.parseScssVar)(App_module_scss_1.default.themeVars),
76
76
  defaultThemeVars: {
77
77
  [`width-navPanel-${COMP}`]: "$space-64",
78
- [`max-content-width-${COMP}`]: "$max-content-width",
79
- [`shadow-header-${COMP}`]: "$shadow-spread",
80
- [`shadow-pages-${COMP}`]: "$shadow-spread",
78
+ [`maxWidth-content-${COMP}`]: "$maxWidth-content",
79
+ [`boxShadow-header-${COMP}`]: "$boxShadow-spread",
80
+ [`boxShadow-pages-${COMP}`]: "$boxShadow-spread",
81
81
  [`scroll-padding-block-Pages`]: "$space-4",
82
82
  light: {
83
83
  // --- No light-specific theme vars
@@ -97,7 +97,7 @@ function App({ children, style, layout, loggedInUser, scrollWholePage, noScrollb
97
97
  "--footer-height": !scrollWholePage ? 0 : footerHeight + "px",
98
98
  "--header-abs-height": headerHeight + "px",
99
99
  "--footer-abs-height": footerHeight + "px",
100
- "--scrollbar-width": noScrollbarGutters ? 0 : (scrollbarWidth + "px"),
100
+ "--scrollbar-width": noScrollbarGutters ? 0 : scrollbarWidth + "px",
101
101
  };
102
102
  }, [footerHeight, headerHeight, noScrollbarGutters, scrollWholePage, scrollbarWidth]);
103
103
  const [drawerVisible, setDrawerVisible] = (0, react_1.useState)(false);
@@ -105,7 +105,7 @@ function App({ children, style, layout, loggedInUser, scrollWholePage, noScrollb
105
105
  const toggleDrawer = (0, react_1.useCallback)(() => {
106
106
  setDrawerVisible((prev) => !prev);
107
107
  }, []);
108
- (0, react_1.useLayoutEffect)(() => {
108
+ (0, hooks_1.useIsomorphicLayoutEffect)(() => {
109
109
  var _a;
110
110
  (_a = scrollContainerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
111
111
  top: 0,
@@ -34,10 +34,13 @@ exports.AppHeaderMd = (0, ComponentDefs_1.createMetadata)({
34
34
  },
35
35
  },
36
36
  themeVars: (0, themeVars_1.parseScssVar)(AppHeader_module_scss_1.default.themeVars),
37
- defaultThemeVars: Object.assign(Object.assign(Object.assign({ "height-AppHeader": "$space-14", "max-content-width-AppHeader": "$max-content-width-App", "border-bottom-AppHeader": "1px solid $color-border" }, (0, base_utils_1.paddingSubject)("logo-AppHeader", { horizontal: "$space-0", vertical: "$space-4" })), (0, base_utils_1.paddingSubject)("AppHeader", { horizontal: "$space-4", vertical: "$space-0" })), { "radius-AppHeader": "0px", light: {
38
- "color-bg-AppHeader": "white",
37
+ themeVarDescriptions: {
38
+ [`width-logo-${COMP}`]: "Sets the width of the displayed logo",
39
+ },
40
+ defaultThemeVars: Object.assign(Object.assign(Object.assign({ [`height-${COMP}`]: "$space-14", [`maxWidth-content-${COMP}`]: "$maxWidth-content-App", [`borderBottom-${COMP}`]: "1px solid $borderColor" }, (0, base_utils_1.paddingSubject)(`logo-${COMP}`, { horizontal: "$space-0", vertical: "$space-4" })), (0, base_utils_1.paddingSubject)(COMP, { horizontal: "$space-4", vertical: "$space-0" })), { [`borderRadius-${COMP}`]: "0px", light: {
41
+ [`backgroundColor-${COMP}`]: "white",
39
42
  }, dark: {
40
- "color-bg-AppHeader": "$color-surface-900",
43
+ [`backgroundColor-${COMP}`]: "$color-surface-900",
41
44
  } }),
42
45
  });
43
46
  exports.appHeaderComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.AppHeaderMd, ({ node, renderChild, layoutCss, layoutContext, extractValue }) => {
@@ -49,28 +49,28 @@ exports.AutoCompleteMd = (0, ComponentDefs_1.createMetadata)({
49
49
  },
50
50
  themeVars: (0, themeVars_1.parseScssVar)(AutoComplete_module_scss_1.default.themeVars),
51
51
  defaultThemeVars: {
52
- [`color-bg-menu-${COMP}`]: "$color-bg-primary",
53
- [`shadow-menu-${COMP}`]: "$shadow-md",
54
- [`radius-menu-${COMP}`]: "$radius",
55
- [`color-bg-item-${COMP}`]: "$color-bg-dropdown-item",
56
- [`color-bg-item-${COMP}--hover`]: "$color-bg-dropdown-item--active",
57
- [`color-bg-item-${COMP}--active`]: "$color-bg-dropdown-item--active",
58
- [`min-height-Input`]: "39px",
59
- [`color-bg-${COMP}-badge`]: "$color-primary-500",
60
- [`font-size-${COMP}-badge`]: "$font-size-small",
61
- [`padding-horizontal-${COMP}-badge`]: "$space-1",
62
- [`padding-vertical-${COMP}-badge`]: "$space-1",
52
+ [`backgroundColor-menu-${COMP}`]: "$backgroundColor-primary",
53
+ [`boxShadow-menu-${COMP}`]: "$boxShadow-md",
54
+ [`borderRadius-menu-${COMP}`]: "$borderRadius",
55
+ [`backgroundColor-item-${COMP}`]: "$backgroundColor-dropdown-item",
56
+ [`backgroundColor-item-${COMP}--hover`]: "$backgroundColor-dropdown-item--active",
57
+ [`backgroundColor-item-${COMP}--active`]: "$backgroundColor-dropdown-item--active",
58
+ [`minHeight-Input`]: "39px",
59
+ [`backgroundColor-${COMP}-badge`]: "$color-primary-500",
60
+ [`fontSize-${COMP}-badge`]: "$fontSize-small",
61
+ [`paddingHorizontal-${COMP}-badge`]: "$space-1",
62
+ [`paddingVertical-${COMP}-badge`]: "$space-1",
63
63
  light: {
64
- [`color-bg-${COMP}-badge--hover`]: "$color-primary-400",
65
- [`color-bg-${COMP}-badge--active`]: "$color-primary-500",
66
- [`color-text-item-${COMP}--disabled`]: "$color-surface-200",
67
- [`color-text-${COMP}-badge`]: "$color-surface-50",
64
+ [`backgroundColor-${COMP}-badge--hover`]: "$color-primary-400",
65
+ [`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
66
+ [`color-item-${COMP}--disabled`]: "$color-surface-200",
67
+ [`color-${COMP}-badge`]: "$color-surface-50",
68
68
  },
69
69
  dark: {
70
- [`color-bg-${COMP}-badge--hover`]: "$color-primary-600",
71
- [`color-bg-${COMP}-badge--active`]: "$color-primary-500",
72
- [`color-text-${COMP}-badge`]: "$color-surface-50",
73
- [`color-text-item-${COMP}--disabled`]: "$color-surface-800",
70
+ [`backgroundColor-${COMP}-badge--hover`]: "$color-primary-600",
71
+ [`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
72
+ [`color-${COMP}-badge`]: "$color-surface-50",
73
+ [`color-item-${COMP}--disabled`]: "$color-surface-800",
74
74
  },
75
75
  },
76
76
  });
@@ -35,18 +35,18 @@ exports.AvatarMd = (0, ComponentDefs_1.createMetadata)({
35
35
  },
36
36
  themeVars: (0, themeVars_1.parseScssVar)(Avatar_module_scss_1.default.themeVars),
37
37
  defaultThemeVars: {
38
- [`radius-${COMP}`]: "4px",
39
- [`shadow-${COMP}`]: "inset 0 0 0 1px rgba(4,32,69,0.1)",
40
- [`color-text-${COMP}`]: "$color-text-secondary",
41
- [`font-weight-${COMP}`]: "$font-weight-bold",
38
+ [`borderRadius-${COMP}`]: "4px",
39
+ [`boxShadow-${COMP}`]: "inset 0 0 0 1px rgba(4,32,69,0.1)",
40
+ [`color-${COMP}`]: "$textColor-secondary",
41
+ [`fontWeight-${COMP}`]: "$fontWeight-bold",
42
42
  light: {
43
43
  [`border-${COMP}`]: "0px solid $color-surface-400A80",
44
- [`color-bg-${COMP}`]: "$color-surface-100",
44
+ [`backgroundColor-${COMP}`]: "$color-surface-100",
45
45
  },
46
46
  dark: {
47
47
  [`border-${COMP}`]: "0px solid $color-surface-700",
48
- [`color-bg-${COMP}`]: "$color-surface-800",
49
- [`color-border-${COMP}`]: "$color-surface-700",
48
+ [`backgroundColor-${COMP}`]: "$color-surface-800",
49
+ [`borderColor-${COMP}`]: "$color-surface-700",
50
50
  },
51
51
  },
52
52
  });
@@ -44,18 +44,18 @@ exports.BadgeMd = (0, ComponentDefs_1.createMetadata)({
44
44
  themeVars: (0, themeVars_1.parseScssVar)(Badge_module_scss_1.default.themeVars),
45
45
  defaultThemeVars: {
46
46
  [`padding-${COMP}`]: `$space-0_5 $space-2`,
47
- [`border-${COMP}`]: `0px solid $color-border`,
47
+ [`border-${COMP}`]: `0px solid $borderColor`,
48
48
  [`padding-${COMP}-pill`]: `$space-0_5 $space-2`,
49
- [`radius-${COMP}`]: "4px",
50
- [`font-size-${COMP}`]: "0.8em",
51
- [`font-size-${COMP}-pill`]: "0.8em",
49
+ [`borderRadius-${COMP}`]: "4px",
50
+ [`fontSize-${COMP}`]: "0.8em",
51
+ [`fontSize-${COMP}-pill`]: "0.8em",
52
52
  light: {
53
- [`color-bg-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
54
- [`color-text-${COMP}`]: "white",
53
+ [`backgroundColor-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
54
+ [`color-${COMP}`]: "white",
55
55
  },
56
56
  dark: {
57
- [`color-bg-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
58
- [`color-text-${COMP}`]: "$color-surface-50",
57
+ [`backgroundColor-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
58
+ [`color-${COMP}`]: "$color-surface-50",
59
59
  },
60
60
  },
61
61
  });
@@ -95,88 +95,88 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
95
95
  defaultThemeVars: {
96
96
  [`width-${COMP}`]: "fit-content",
97
97
  [`height-${COMP}`]: "fit-content",
98
- [`radius-${COMP}`]: "$radius",
99
- [`font-size-${COMP}`]: "$font-size-small",
100
- [`font-weight-${COMP}`]: "$font-weight-medium",
101
- [`color-bg-${COMP}-primary`]: "$color-primary-500",
102
- [`color-bg-${COMP}-attention`]: "$color-bg-attention",
103
- [`color-border-${COMP}-attention`]: "$color-attention",
104
- [`color-bg-${COMP}--disabled`]: "$color-bg--disabled",
105
- [`color-border-${COMP}--disabled`]: "$color-border--disabled",
106
- [`style-border-${COMP}`]: "solid",
107
- [`color-text-${COMP}--disabled`]: "$color-text--disabled",
108
- [`color-outline-${COMP}--focus`]: "$color-outline--focus",
109
- [`thickness-border-${COMP}`]: "1px",
110
- [`thickness-outline-${COMP}--focus`]: "$thickness-outline--focus",
111
- [`style-outline-${COMP}--focus`]: "$style-outline--focus",
112
- [`offset-outline-${COMP}--focus`]: "$offset-outline--focus",
113
- [`padding-horizontal-${COMP}-xs`]: "$space-1",
114
- [`padding-vertical-${COMP}-xs`]: "$space-0_5",
115
- [`padding-horizontal-${COMP}-sm`]: "$space-4",
116
- [`padding-vertical-${COMP}-sm`]: "$space-2",
117
- [`padding-horizontal-${COMP}-md`]: "$space-4",
118
- [`padding-vertical-${COMP}-md`]: "$space-3",
119
- [`padding-horizontal-${COMP}-lg`]: "$space-5",
120
- [`padding-vertical-${COMP}-lg`]: "$space-4",
98
+ [`borderRadius-${COMP}`]: "$borderRadius",
99
+ [`fontSize-${COMP}`]: "$fontSize-small",
100
+ [`fontWeight-${COMP}`]: "$fontWeight-medium",
101
+ [`backgroundColor-${COMP}-primary`]: "$color-primary-500",
102
+ [`backgroundColor-${COMP}-attention`]: "$backgroundColor-attention",
103
+ [`borderColor-${COMP}-attention`]: "$color-attention",
104
+ [`backgroundColor-${COMP}--disabled`]: "$backgroundColor--disabled",
105
+ [`borderColor-${COMP}--disabled`]: "$borderColor--disabled",
106
+ [`borderStyle-${COMP}`]: "solid",
107
+ [`color-${COMP}--disabled`]: "$textColor--disabled",
108
+ [`outlineColor-${COMP}--focus`]: "$outlineColor--focus",
109
+ [`borderWidth-${COMP}`]: "1px",
110
+ [`outlineWidth-${COMP}--focus`]: "$outlineWidth--focus",
111
+ [`outlineStyle-${COMP}--focus`]: "$outlineStyle--focus",
112
+ [`outlineOffset-${COMP}--focus`]: "$outlineOffset--focus",
113
+ [`paddingHorizontal-${COMP}-xs`]: "$space-1",
114
+ [`paddingVertical-${COMP}-xs`]: "$space-0_5",
115
+ [`paddingHorizontal-${COMP}-sm`]: "$space-4",
116
+ [`paddingVertical-${COMP}-sm`]: "$space-2",
117
+ [`paddingHorizontal-${COMP}-md`]: "$space-4",
118
+ [`paddingVertical-${COMP}-md`]: "$space-3",
119
+ [`paddingHorizontal-${COMP}-lg`]: "$space-5",
120
+ [`paddingVertical-${COMP}-lg`]: "$space-4",
121
121
  light: {
122
- [`color-text-${COMP}`]: "$color-surface-950",
123
- [`color-text-${COMP}-solid`]: "$color-surface-50",
124
- [`color-border-${COMP}-primary`]: "$color-primary-500",
125
- [`color-bg-${COMP}-primary--hover`]: "$color-primary-400",
126
- [`color-bg-${COMP}-primary--active`]: "$color-primary-500",
127
- [`color-bg-${COMP}-primary-outlined--hover`]: "$color-primary-50",
128
- [`color-bg-${COMP}-primary-outlined--active`]: "$color-primary-100",
129
- [`color-border-${COMP}-primary-outlined`]: "$color-primary-600",
130
- [`color-border-${COMP}-primary-outlined--hover`]: "$color-primary-500",
131
- [`color-text-${COMP}-primary-outlined`]: "$color-primary-900",
132
- [`color-text-${COMP}-primary-outlined--hover`]: "$color-primary-950",
133
- [`color-text-${COMP}-primary-outlined--active`]: "$color-primary-900",
134
- [`color-bg-${COMP}-primary-ghost--hover`]: "$color-primary-50",
135
- [`color-bg-${COMP}-primary-ghost--active`]: "$color-primary-100",
136
- [`color-border-${COMP}-secondary`]: "$color-secondary-100",
137
- [`color-bg-${COMP}-secondary`]: "$color-secondary-500",
138
- [`color-bg-${COMP}-secondary--hover`]: "$color-secondary-400",
139
- [`color-bg-${COMP}-secondary--active`]: "$color-secondary-500",
140
- [`color-bg-${COMP}-secondary-outlined--hover`]: "$color-secondary-50",
141
- [`color-bg-${COMP}-secondary-outlined--active`]: "$color-secondary-100",
142
- [`color-bg-${COMP}-secondary-ghost--hover`]: "$color-secondary-100",
143
- [`color-bg-${COMP}-secondary-ghost--active`]: "$color-secondary-100",
144
- [`color-bg-${COMP}-attention--hover`]: "$color-danger-400",
145
- [`color-bg-${COMP}-attention--active`]: "$color-danger-500",
146
- [`color-bg-${COMP}-attention-outlined--hover`]: "$color-danger-50",
147
- [`color-bg-${COMP}-attention-outlined--active`]: "$color-danger-100",
148
- [`color-bg-${COMP}-attention-ghost--hover`]: "$color-danger-50",
149
- [`color-bg-${COMP}-attention-ghost--active`]: "$color-danger-100",
122
+ [`color-${COMP}`]: "$color-surface-950",
123
+ [`color-${COMP}-solid`]: "$color-surface-50",
124
+ [`borderColor-${COMP}-primary`]: "$color-primary-500",
125
+ [`backgroundColor-${COMP}-primary--hover`]: "$color-primary-400",
126
+ [`backgroundColor-${COMP}-primary--active`]: "$color-primary-500",
127
+ [`backgroundColor-${COMP}-primary-outlined--hover`]: "$color-primary-50",
128
+ [`backgroundColor-${COMP}-primary-outlined--active`]: "$color-primary-100",
129
+ [`borderColor-${COMP}-primary-outlined`]: "$color-primary-600",
130
+ [`borderColor-${COMP}-primary-outlined--hover`]: "$color-primary-500",
131
+ [`color-${COMP}-primary-outlined`]: "$color-primary-900",
132
+ [`color-${COMP}-primary-outlined--hover`]: "$color-primary-950",
133
+ [`color-${COMP}-primary-outlined--active`]: "$color-primary-900",
134
+ [`backgroundColor-${COMP}-primary-ghost--hover`]: "$color-primary-50",
135
+ [`backgroundColor-${COMP}-primary-ghost--active`]: "$color-primary-100",
136
+ [`borderColor-${COMP}-secondary`]: "$color-secondary-100",
137
+ [`backgroundColor-${COMP}-secondary`]: "$color-secondary-500",
138
+ [`backgroundColor-${COMP}-secondary--hover`]: "$color-secondary-400",
139
+ [`backgroundColor-${COMP}-secondary--active`]: "$color-secondary-500",
140
+ [`backgroundColor-${COMP}-secondary-outlined--hover`]: "$color-secondary-50",
141
+ [`backgroundColor-${COMP}-secondary-outlined--active`]: "$color-secondary-100",
142
+ [`backgroundColor-${COMP}-secondary-ghost--hover`]: "$color-secondary-100",
143
+ [`backgroundColor-${COMP}-secondary-ghost--active`]: "$color-secondary-100",
144
+ [`backgroundColor-${COMP}-attention--hover`]: "$color-danger-400",
145
+ [`backgroundColor-${COMP}-attention--active`]: "$color-danger-500",
146
+ [`backgroundColor-${COMP}-attention-outlined--hover`]: "$color-danger-50",
147
+ [`backgroundColor-${COMP}-attention-outlined--active`]: "$color-danger-100",
148
+ [`backgroundColor-${COMP}-attention-ghost--hover`]: "$color-danger-50",
149
+ [`backgroundColor-${COMP}-attention-ghost--active`]: "$color-danger-100",
150
150
  },
151
151
  dark: {
152
- [`color-text-${COMP}`]: "$color-surface-50",
153
- [`color-text-${COMP}-solid`]: "$color-surface-50",
154
- [`color-border-${COMP}-primary`]: "$color-primary-500",
155
- [`color-bg-${COMP}-primary--hover`]: "$color-primary-600",
156
- [`color-bg-${COMP}-primary--active`]: "$color-primary-500",
157
- [`color-bg-${COMP}-primary-outlined--hover`]: "$color-primary-900",
158
- [`color-bg-${COMP}-primary-outlined--active`]: "$color-primary-950",
159
- [`color-border-${COMP}-primary-outlined`]: "$color-primary-600",
160
- [`color-border-${COMP}-primary-outlined--hover`]: "$color-primary-500",
161
- [`color-text-${COMP}-primary-outlined`]: "$color-primary-100",
162
- [`color-text-${COMP}-primary-outlined--hover`]: "$color-primary-50",
163
- [`color-text-${COMP}-primary-outlined--active`]: "$color-primary-100",
164
- [`color-bg-${COMP}-primary-ghost--hover`]: "$color-primary-900",
165
- [`color-bg-${COMP}-primary-ghost--active`]: "$color-primary-950",
166
- [`color-border-${COMP}-secondary`]: "$color-secondary-500",
167
- [`color-bg-${COMP}-secondary`]: "$color-secondary-500",
168
- [`color-bg-${COMP}-secondary--hover`]: "$color-secondary-400",
169
- [`color-bg-${COMP}-secondary--active`]: "$color-secondary-500",
170
- [`color-bg-${COMP}-secondary-outlined--hover`]: "$color-secondary-600",
171
- [`color-bg-${COMP}-secondary-outlined--active`]: "$color-secondary-500",
172
- [`color-bg-${COMP}-secondary-ghost--hover`]: "$color-secondary-900",
173
- [`color-bg-${COMP}-secondary-ghost--active`]: "$color-secondary-950",
174
- [`color-bg-${COMP}-attention--hover`]: "$color-danger-400",
175
- [`color-bg-${COMP}-attention--active`]: "$color-danger-500",
176
- [`color-bg-${COMP}-attention-outlined--hover`]: "$color-danger-900",
177
- [`color-bg-${COMP}-attention-outlined--active`]: "$color-danger-950",
178
- [`color-bg-${COMP}-attention-ghost--hover`]: "$color-danger-900",
179
- [`color-bg-${COMP}-attention-ghost--active`]: "$color-danger-950",
152
+ [`color-${COMP}`]: "$color-surface-50",
153
+ [`color-${COMP}-solid`]: "$color-surface-50",
154
+ [`borderColor-${COMP}-primary`]: "$color-primary-500",
155
+ [`backgroundColor-${COMP}-primary--hover`]: "$color-primary-600",
156
+ [`backgroundColor-${COMP}-primary--active`]: "$color-primary-500",
157
+ [`backgroundColor-${COMP}-primary-outlined--hover`]: "$color-primary-900",
158
+ [`backgroundColor-${COMP}-primary-outlined--active`]: "$color-primary-950",
159
+ [`borderColor-${COMP}-primary-outlined`]: "$color-primary-600",
160
+ [`borderColor-${COMP}-primary-outlined--hover`]: "$color-primary-500",
161
+ [`color-${COMP}-primary-outlined`]: "$color-primary-100",
162
+ [`color-${COMP}-primary-outlined--hover`]: "$color-primary-50",
163
+ [`color-${COMP}-primary-outlined--active`]: "$color-primary-100",
164
+ [`backgroundColor-${COMP}-primary-ghost--hover`]: "$color-primary-900",
165
+ [`backgroundColor-${COMP}-primary-ghost--active`]: "$color-primary-950",
166
+ [`borderColor-${COMP}-secondary`]: "$color-secondary-500",
167
+ [`backgroundColor-${COMP}-secondary`]: "$color-secondary-500",
168
+ [`backgroundColor-${COMP}-secondary--hover`]: "$color-secondary-400",
169
+ [`backgroundColor-${COMP}-secondary--active`]: "$color-secondary-500",
170
+ [`backgroundColor-${COMP}-secondary-outlined--hover`]: "$color-secondary-600",
171
+ [`backgroundColor-${COMP}-secondary-outlined--active`]: "$color-secondary-500",
172
+ [`backgroundColor-${COMP}-secondary-ghost--hover`]: "$color-secondary-900",
173
+ [`backgroundColor-${COMP}-secondary-ghost--active`]: "$color-secondary-950",
174
+ [`backgroundColor-${COMP}-attention--hover`]: "$color-danger-400",
175
+ [`backgroundColor-${COMP}-attention--active`]: "$color-danger-500",
176
+ [`backgroundColor-${COMP}-attention-outlined--hover`]: "$color-danger-900",
177
+ [`backgroundColor-${COMP}-attention-outlined--active`]: "$color-danger-950",
178
+ [`backgroundColor-${COMP}-attention-ghost--hover`]: "$color-danger-900",
179
+ [`backgroundColor-${COMP}-attention-ghost--active`]: "$color-danger-950",
180
180
  },
181
181
  },
182
182
  });
@@ -54,14 +54,14 @@ exports.CardMd = (0, ComponentDefs_1.createMetadata)({
54
54
  themeVars: (0, themeVars_1.parseScssVar)(Card_module_scss_1.default.themeVars),
55
55
  defaultThemeVars: {
56
56
  [`padding-${COMP}`]: "$space-4",
57
- [`border-${COMP}`]: "1px solid $color-border",
58
- [`radius-${COMP}`]: "$radius",
59
- [`shadow-${COMP}`]: "none",
57
+ [`border-${COMP}`]: "1px solid $borderColor",
58
+ [`borderRadius-${COMP}`]: "$borderRadius",
59
+ [`boxShadow-${COMP}`]: "none",
60
60
  light: {
61
- [`color-bg-${COMP}`]: "white",
61
+ [`backgroundColor-${COMP}`]: "white",
62
62
  },
63
63
  dark: {
64
- [`color-bg-${COMP}`]: "$color-surface-900",
64
+ [`backgroundColor-${COMP}`]: "$color-surface-900",
65
65
  },
66
66
  },
67
67
  });
@@ -90,26 +90,29 @@ exports.CarouselMd = (0, ComponentDefs_1.createMetadata)({
90
90
  scrollNext: (0, ComponentDefs_1.d)("This method scrolls the carousel to the next slide."),
91
91
  },
92
92
  themeVars: (0, themeVars_1.parseScssVar)(Carousel_module_scss_1.default.themeVars),
93
+ themeVarDescriptions: {
94
+ [`width-indicator-${COMP}`]: "Sets the width of the indicator.",
95
+ },
93
96
  defaultThemeVars: {
94
- [`color-bg-control-${COMP}`]: "$color-primary",
95
- [`color-text-control-${COMP}`]: "$color-text",
96
- [`color-bg-control-hover-${COMP}`]: "$color-primary",
97
- [`color-text-control-hover-${COMP}`]: "$color-text",
98
- [`color-bg-control-active-${COMP}`]: "$color-primary",
99
- [`color-bg-control-disabled-${COMP}`]: "$color-surface-200",
100
- [`color-text-control-disabled-${COMP}`]: "$color-text-disabled",
101
- [`color-text-control-active-${COMP}`]: "$color-primary",
102
- [`color-bg-indicator-${COMP}`]: "$color-surface-200",
103
- [`color-bg-indicator-active-${COMP}`]: "$color-primary",
104
- [`color-text-indicator-${COMP}`]: "$color-primary",
105
- [`color-text-indicator-active-${COMP}`]: "$color-primary",
106
- [`color-bg-indicator-hover-${COMP}`]: "$color-surface-200",
107
- [`color-text-indicator-hover-${COMP}`]: "$color-primary",
97
+ [`backgroundColor-control-${COMP}`]: "$color-primary",
98
+ [`color-control-${COMP}`]: "$textColor",
99
+ [`backgroundColor-control-hover-${COMP}`]: "$color-primary",
100
+ [`color-control-hover-${COMP}`]: "$textColor",
101
+ [`backgroundColor-control-active-${COMP}`]: "$color-primary",
102
+ [`backgroundColor-control-disabled-${COMP}`]: "$color-surface-200",
103
+ [`color-control-disabled-${COMP}`]: "$textColor-disabled",
104
+ [`color-control-active-${COMP}`]: "$color-primary",
105
+ [`backgroundColor-indicator-${COMP}`]: "$color-surface-200",
106
+ [`backgroundColor-indicator-active-${COMP}`]: "$color-primary",
107
+ [`color-indicator-${COMP}`]: "$color-primary",
108
+ [`color-indicator-active-${COMP}`]: "$color-primary",
109
+ [`backgroundColor-indicator-hover-${COMP}`]: "$color-surface-200",
110
+ [`color-indicator-hover-${COMP}`]: "$color-primary",
108
111
  [`width-indicator-${COMP}`]: "25px",
109
112
  [`height-indicator-${COMP}`]: "6px",
110
113
  [`height-control-${COMP}`]: "36px",
111
114
  [`width-control-${COMP}`]: "36px",
112
- [`radius-control-${COMP}`]: "50%",
115
+ [`borderRadius-control-${COMP}`]: "50%",
113
116
  [`height-${COMP}`]: "100%",
114
117
  [`width-${COMP}`]: "100%",
115
118
  },
@@ -46,23 +46,23 @@ exports.CheckboxMd = (0, ComponentDefs_1.createMetadata)({
46
46
  },
47
47
  themeVars: (0, themeVars_1.parseScssVar)(Toggle_module_scss_1.default.themeVars),
48
48
  defaultThemeVars: {
49
- [`color-border-checked-${COMP}-error`]: `$color-border-${COMP}-error`,
50
- [`color-bg-checked-${COMP}-error`]: `$color-border-${COMP}-error`,
51
- [`color-border-checked-${COMP}-warning`]: `$color-border-${COMP}-warning`,
52
- [`color-bg-checked-${COMP}-warning`]: `$color-border-${COMP}-warning`,
53
- [`color-border-checked-${COMP}-success`]: `$color-border-${COMP}-success`,
54
- [`color-bg-checked-${COMP}-success`]: `$color-border-${COMP}-success`,
49
+ [`borderColor-checked-${COMP}-error`]: `$borderColor-${COMP}-error`,
50
+ [`backgroundColor-checked-${COMP}-error`]: `$borderColor-${COMP}-error`,
51
+ [`borderColor-checked-${COMP}-warning`]: `$borderColor-${COMP}-warning`,
52
+ [`backgroundColor-checked-${COMP}-warning`]: `$borderColor-${COMP}-warning`,
53
+ [`borderColor-checked-${COMP}-success`]: `$borderColor-${COMP}-success`,
54
+ [`backgroundColor-checked-${COMP}-success`]: `$borderColor-${COMP}-success`,
55
55
  light: {
56
- [`color-bg-indicator-${COMP}`]: "$color-bg-primary",
57
- [`color-border-checked-${COMP}`]: "$color-primary-500",
58
- [`color-bg-checked-${COMP}`]: "$color-primary-500",
59
- [`color-bg-${COMP}--disabled`]: "$color-surface-200",
56
+ [`backgroundColor-indicator-${COMP}`]: "$backgroundColor-primary",
57
+ [`borderColor-checked-${COMP}`]: "$color-primary-500",
58
+ [`backgroundColor-checked-${COMP}`]: "$color-primary-500",
59
+ [`backgroundColor-${COMP}--disabled`]: "$color-surface-200",
60
60
  },
61
61
  dark: {
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",
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
  });
@@ -141,7 +141,8 @@ class ComponentRegistry {
141
141
  // --- The pool of available loader renderers
142
142
  this.loaders = new Map();
143
143
  this.extensionRegistered = (extension) => {
144
- extension.components.forEach((c) => {
144
+ var _a;
145
+ (_a = extension.components) === null || _a === void 0 ? void 0 : _a.forEach((c) => {
145
146
  if ("type" in c) {
146
147
  //we handle just the js components for now
147
148
  this.registerComponentRenderer(c, extension.namespace);
@@ -31,7 +31,7 @@ exports.ContentSeparatorMd = (0, ComponentDefs_1.createMetadata)({
31
31
  },
32
32
  themeVars: (0, themeVars_1.parseScssVar)(ContentSeparator_module_scss_1.default.themeVars),
33
33
  defaultThemeVars: {
34
- [`color-bg-${COMP}`]: "$color-border",
34
+ [`backgroundColor-${COMP}`]: "$borderColor",
35
35
  [`size-${COMP}`]: "1px",
36
36
  light: {
37
37
  // --- No light-specific theme vars
@@ -108,18 +108,18 @@ exports.DatePickerMd = (0, ComponentDefs_1.createMetadata)({
108
108
  },
109
109
  themeVars: (0, themeVars_1.parseScssVar)(DatePicker_module_scss_1.default.themeVars),
110
110
  defaultThemeVars: {
111
- [`shadow-menu-${COMP}`]: "$shadow-md",
112
- [`radius-menu-${COMP}`]: "$radius",
113
- [`color-text-value-${COMP}`]: "$color-text-primary",
111
+ [`boxShadow-menu-${COMP}`]: "$boxShadow-md",
112
+ [`borderRadius-menu-${COMP}`]: "$borderRadius",
113
+ [`color-value-${COMP}`]: "$textColor-primary",
114
114
  light: {
115
- [`color-bg-menu-${COMP}`]: "$color-surface-50",
116
- [`color-bg-item-${COMP}--hover`]: "$color-surface-100",
117
- [`color-bg-item-${COMP}--active`]: "$color-surface-200",
115
+ [`backgroundColor-menu-${COMP}`]: "$color-surface-50",
116
+ [`backgroundColor-item-${COMP}--hover`]: "$color-surface-100",
117
+ [`backgroundColor-item-${COMP}--active`]: "$color-surface-200",
118
118
  },
119
119
  dark: {
120
- [`color-bg-menu-${COMP}`]: "$color-surface-950",
121
- [`color-bg-item-${COMP}--hover`]: "$color-surface-600",
122
- [`color-bg-item-${COMP}--active`]: "$color-surface-700",
120
+ [`backgroundColor-menu-${COMP}`]: "$color-surface-950",
121
+ [`backgroundColor-item-${COMP}--hover`]: "$color-surface-600",
122
+ [`backgroundColor-item-${COMP}--active`]: "$color-surface-700",
123
123
  },
124
124
  },
125
125
  });
@@ -62,11 +62,11 @@ exports.DropdownMenuMd = (0, ComponentDefs_1.createMetadata)({
62
62
  },
63
63
  themeVars: (0, themeVars_1.parseScssVar)(DropdownMenu_module_scss_1.default.themeVars),
64
64
  defaultThemeVars: {
65
- [`color-bg-${DDMCOMP}`]: "$color-bg-primary",
66
- [`min-width-${DDMCOMP}`]: "160px",
67
- [`shadow-${DDMCOMP}`]: "$shadow-xl",
68
- [`style-border-${DDMCOMP}-content`]: "solid",
69
- [`radius-${DDMCOMP}`]: "$radius",
65
+ [`backgroundColor-${DDMCOMP}`]: "$backgroundColor-primary",
66
+ [`minWidth-${DDMCOMP}`]: "160px",
67
+ [`boxShadow-${DDMCOMP}`]: "$boxShadow-xl",
68
+ [`borderStyle-${DDMCOMP}-content`]: "solid",
69
+ [`borderRadius-${DDMCOMP}`]: "$borderRadius",
70
70
  },
71
71
  });
72
72
  exports.dropdownMenuComponentRenderer = (0, renderers_1.createComponentRenderer)(DDMCOMP, exports.DropdownMenuMd, ({ node, extractValue, renderChild, registerComponentApi, layoutCss, lookupEventHandler }) => {
@@ -105,17 +105,17 @@ exports.MenuItemMd = (0, ComponentDefs_1.createMetadata)({
105
105
  },
106
106
  themeVars: (0, themeVars_1.parseScssVar)(DropdownMenu_module_scss_1.default.themeVars),
107
107
  defaultThemeVars: {
108
- [`color-bg-${MICOMP}`]: "$color-bg-dropdown-item",
109
- [`color-${MICOMP}`]: "$color-text-primary",
110
- [`font-family-${MICOMP}`]: "$font-family",
111
- [`font-size-${MICOMP}`]: "$font-size-small",
112
- [`padding-vertical-${MICOMP}`]: "$space-2",
113
- [`padding-horizontal-${MICOMP}`]: "$space-3",
114
- [`color-bg-${MICOMP}--hover`]: "$color-bg-dropdown-item--hover",
108
+ [`backgroundColor-${MICOMP}`]: "$backgroundColor-dropdown-item",
109
+ [`color-${MICOMP}`]: "$textColor-primary",
110
+ [`fontFamily-${MICOMP}`]: "$fontFamily",
111
+ [`fontSize-${MICOMP}`]: "$fontSize-small",
112
+ [`paddingVertical-${MICOMP}`]: "$space-2",
113
+ [`paddingHorizontal-${MICOMP}`]: "$space-3",
114
+ [`backgroundColor-${MICOMP}--hover`]: "$backgroundColor-dropdown-item--hover",
115
115
  [`color-${MICOMP}--hover`]: "inherit",
116
116
  [`gap-${MICOMP}`]: "$space-2",
117
117
  [`color-${MICOMP}--active`]: "$color-primary",
118
- [`color-bg-${MICOMP}--active`]: "$color-bg-dropdown-item--active",
118
+ [`backgroundColor-${MICOMP}--active`]: "$backgroundColor-dropdown-item--active",
119
119
  light: {},
120
120
  dark: {},
121
121
  },
@@ -152,12 +152,12 @@ exports.MenuSeparatorMd = (0, ComponentDefs_1.createMetadata)({
152
152
  docFolder: DDMCOMP,
153
153
  themeVars: (0, themeVars_1.parseScssVar)(DropdownMenu_module_scss_1.default.themeVars),
154
154
  defaultThemeVars: {
155
- [`margin-top-${MSEP}`]: "$space-1",
156
- [`margin-bottom-${MSEP}`]: "$space-1",
155
+ [`marginTop-${MSEP}`]: "$space-1",
156
+ [`marginBottom-${MSEP}`]: "$space-1",
157
157
  [`width-${MSEP}`]: "100%",
158
158
  [`height-${MSEP}`]: "1px",
159
- [`color-${MSEP}`]: "$color-border-dropdown-item",
160
- [`margin-horizontal-${MSEP}`]: "12px",
159
+ [`color-${MSEP}`]: "$borderColor-dropdown-item",
160
+ [`marginHorizontal-${MSEP}`]: "12px",
161
161
  },
162
162
  });
163
163
  exports.menuSeparatorRenderer = (0, renderers_1.createComponentRenderer)(MSEP, exports.MenuSeparatorMd, () => {