xmlui 0.8.0 → 0.8.2
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.
- package/dist/{apiInterceptorWorker-C5K2aqZR.mjs → apiInterceptorWorker-BP2dUk-q.mjs} +1 -1
- package/dist/{index-DG5iykVX.mjs → index-C-HsybJV.mjs} +6635 -6596
- package/dist/index.css +1 -1
- package/dist/language-server.d.ts +557 -0
- package/dist/language-server.mjs +19434 -10771
- package/dist/scripts/src/components/Accordion/Accordion.js +1 -1
- package/dist/scripts/src/components/AutoComplete/AutoComplete.js +4 -4
- package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +69 -59
- package/dist/scripts/src/components/Avatar/Avatar.js +1 -1
- package/dist/scripts/src/components/Badge/Badge.js +2 -2
- package/dist/scripts/src/components/Button/Button.js +11 -11
- package/dist/scripts/src/components/Carousel/Carousel.js +7 -7
- package/dist/scripts/src/components/DatePicker/DatePicker.js +1 -1
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +1 -1
- package/dist/scripts/src/components/Footer/Footer.js +2 -2
- package/dist/scripts/src/components/Form/Form.js +8 -8
- package/dist/scripts/src/components/FormItem/FormItem.js +2 -2
- package/dist/scripts/src/components/Heading/Heading.js +1 -1
- package/dist/scripts/src/components/HtmlTags/HtmlTags.js +1 -1
- package/dist/scripts/src/components/Link/Link.js +5 -5
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +1 -1
- package/dist/scripts/src/components/NavLink/NavLink.js +1 -1
- package/dist/scripts/src/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/scripts/src/components/Select/Select.js +4 -4
- package/dist/scripts/src/components/Table/Table.js +2 -2
- package/dist/scripts/src/components/TableOfContents/TableOfContents.js +6 -6
- package/dist/scripts/src/components/Tabs/Tabs.js +2 -2
- package/dist/scripts/src/components/Text/Text.js +3 -3
- package/dist/scripts/src/components/TextBox/TextBox.js +2 -2
- package/dist/scripts/src/components-core/theming/themes/root.js +2 -2
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +9 -9
- package/dist/style.css +1 -1
- package/dist/xmlui-metadata.mjs +6303 -6264
- package/dist/xmlui-metadata.umd.js +11 -11
- package/dist/xmlui-parser.d.ts +557 -0
- package/dist/xmlui-standalone.umd.js +170 -170
- package/dist/xmlui.d.ts +559 -2
- package/dist/xmlui.mjs +1 -1
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ exports.AccordionMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
63
63
|
defaultThemeVars: {
|
|
64
64
|
[`paddingHorizontal-header-${COMP}`]: "$space-3",
|
|
65
65
|
[`paddingVertical-header-${COMP}`]: "$space-3",
|
|
66
|
-
[`
|
|
66
|
+
[`verticalAlign-header-${COMP}`]: "center",
|
|
67
67
|
[`fontSize-header-${COMP}`]: "$fontSize-normal",
|
|
68
68
|
[`fontWeight-header-${COMP}`]: "$fontWeight-normal",
|
|
69
69
|
[`fontFamily-header-${COMP}`]: "$fontFamily",
|
|
@@ -63,14 +63,14 @@ exports.AutoCompleteMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
63
63
|
light: {
|
|
64
64
|
[`backgroundColor-${COMP}-badge--hover`]: "$color-primary-400",
|
|
65
65
|
[`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
|
|
66
|
-
[`
|
|
67
|
-
[`
|
|
66
|
+
[`textColor-item-${COMP}--disabled`]: "$color-surface-200",
|
|
67
|
+
[`textColor-${COMP}-badge`]: "$color-surface-50",
|
|
68
68
|
},
|
|
69
69
|
dark: {
|
|
70
70
|
[`backgroundColor-${COMP}-badge--hover`]: "$color-primary-600",
|
|
71
71
|
[`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
|
|
72
|
-
[`
|
|
73
|
-
[`
|
|
72
|
+
[`textColor-${COMP}-badge`]: "$color-surface-50",
|
|
73
|
+
[`textColor-item-${COMP}--disabled`]: "$color-surface-800",
|
|
74
74
|
},
|
|
75
75
|
},
|
|
76
76
|
});
|
|
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.AutoComplete = void 0;
|
|
7
|
-
exports.useDebounce = useDebounce;
|
|
8
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
8
|
const react_1 = require("react");
|
|
10
9
|
const classnames_1 = __importDefault(require("classnames"));
|
|
@@ -13,38 +12,49 @@ const constants_1 = require("../../components-core/constants");
|
|
|
13
12
|
const misc_1 = require("../../components-core/utils/misc");
|
|
14
13
|
const AutoComplete_module_scss_1 = __importDefault(require("../../components/AutoComplete/AutoComplete.module.scss"));
|
|
15
14
|
const IconNative_1 = __importDefault(require("../../components/Icon/IconNative"));
|
|
16
|
-
const SelectNative_1 = require("
|
|
15
|
+
const SelectNative_1 = require("../Select/SelectNative");
|
|
17
16
|
const OptionTypeProvider_1 = __importDefault(require("../../components/Option/OptionTypeProvider"));
|
|
18
|
-
const AutoCompleteContext_1 = require("
|
|
19
|
-
const OptionContext_1 = require("
|
|
17
|
+
const AutoCompleteContext_1 = require("./AutoCompleteContext");
|
|
18
|
+
const OptionContext_1 = require("../Select/OptionContext");
|
|
19
|
+
const ThemeContext_1 = require("../../components-core/theming/ThemeContext");
|
|
20
|
+
const react_popover_1 = require("@radix-ui/react-popover");
|
|
21
|
+
const ItemWithLabel_1 = require("../FormItem/ItemWithLabel");
|
|
20
22
|
function defaultRenderer(item) {
|
|
21
23
|
return (0, jsx_runtime_1.jsx)("div", { children: item.label });
|
|
22
24
|
}
|
|
23
25
|
function isOptionsExist(options, newOptions) {
|
|
24
26
|
return newOptions.some((option) => Array.from(options).some((o) => o.value === option.value || o.label === option.label));
|
|
25
27
|
}
|
|
26
|
-
function
|
|
27
|
-
const [
|
|
28
|
-
(0, react_1.useEffect)(() => {
|
|
29
|
-
const timer = setTimeout(() => setDebouncedValue(value), delay || 500);
|
|
30
|
-
return () => {
|
|
31
|
-
clearTimeout(timer);
|
|
32
|
-
};
|
|
33
|
-
}, [value, delay]);
|
|
34
|
-
return debouncedValue;
|
|
35
|
-
}
|
|
36
|
-
exports.AutoComplete = (0, react_1.forwardRef)(function AutoComplete({ id, initialValue, value, enabled = true, placeholder, updateState = constants_1.noop, validationStatus = "none", onDidChange = constants_1.noop, onFocus = constants_1.noop, onBlur = constants_1.noop, registerComponentApi, optionRenderer = defaultRenderer, emptyListTemplate, style, children, autoFocus = false, dropdownHeight, multi = false, }, forwardedRef) {
|
|
28
|
+
exports.AutoComplete = (0, react_1.forwardRef)(function AutoComplete({ id, initialValue, value, enabled = true, placeholder, updateState = constants_1.noop, validationStatus = "none", onDidChange = constants_1.noop, onFocus = constants_1.noop, onBlur = constants_1.noop, registerComponentApi, optionRenderer = defaultRenderer, emptyListTemplate, style, children, autoFocus = false, dropdownHeight, multi = false, label, labelPosition, labelWidth, labelBreak, required = false, }, forwardedRef) {
|
|
29
|
+
const [referenceElement, setReferenceElement] = (0, react_1.useState)(null);
|
|
37
30
|
const inputRef = (0, react_1.useRef)(null);
|
|
38
31
|
const [open, setOpen] = (0, react_1.useState)(false);
|
|
39
32
|
const dropdownRef = (0, react_1.useRef)(null); // Added this
|
|
40
33
|
const [options, setOptions] = (0, react_1.useState)(new Set());
|
|
41
34
|
const [inputValue, setInputValue] = (0, react_1.useState)("");
|
|
35
|
+
const { root } = (0, ThemeContext_1.useTheme)();
|
|
36
|
+
const [width, setWidth] = (0, react_1.useState)(0);
|
|
37
|
+
const observer = (0, react_1.useRef)();
|
|
42
38
|
// Set initial state based on the initialValue prop
|
|
43
39
|
(0, react_1.useEffect)(() => {
|
|
44
40
|
if (initialValue !== undefined) {
|
|
45
41
|
updateState({ value: initialValue || [] }, { initial: true });
|
|
46
42
|
}
|
|
47
43
|
}, [initialValue, updateState]);
|
|
44
|
+
// Observe the size of the reference element
|
|
45
|
+
(0, react_1.useEffect)(() => {
|
|
46
|
+
var _a;
|
|
47
|
+
const current = referenceElement;
|
|
48
|
+
(_a = observer.current) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
49
|
+
if (current) {
|
|
50
|
+
observer.current = new ResizeObserver(() => setWidth(current.clientWidth));
|
|
51
|
+
observer.current.observe(current);
|
|
52
|
+
}
|
|
53
|
+
return () => {
|
|
54
|
+
var _a;
|
|
55
|
+
(_a = observer.current) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
56
|
+
};
|
|
57
|
+
}, [referenceElement]);
|
|
48
58
|
const toggleOption = (0, react_1.useCallback)((selectedValue) => {
|
|
49
59
|
if (multi) {
|
|
50
60
|
setInputValue("");
|
|
@@ -142,51 +152,51 @@ exports.AutoComplete = (0, react_1.forwardRef)(function AutoComplete({ id, initi
|
|
|
142
152
|
inputValue,
|
|
143
153
|
};
|
|
144
154
|
}, [inputValue, multi, optionRenderer, options, toggleOption, value]);
|
|
145
|
-
return ((0, jsx_runtime_1.jsx)(AutoCompleteContext_1.AutoCompleteContext.Provider, { value: autoCompleteContextValue, children: (0, jsx_runtime_1.jsx)(OptionTypeProvider_1.default, { Component: SelectNative_1.HiddenOption, children: (0, jsx_runtime_1.jsxs)(OptionContext_1.OptionContext.Provider, { value: optionContextValue, children: [children, (0, jsx_runtime_1.jsxs)(cmdk_1.Command, { ref: dropdownRef, className: AutoComplete_module_scss_1.default.command, filter: (value, search, keywords) => {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
return ((0, jsx_runtime_1.jsx)(AutoCompleteContext_1.AutoCompleteContext.Provider, { value: autoCompleteContextValue, children: (0, jsx_runtime_1.jsx)(OptionTypeProvider_1.default, { Component: SelectNative_1.HiddenOption, children: (0, jsx_runtime_1.jsxs)(OptionContext_1.OptionContext.Provider, { value: optionContextValue, children: [children, (0, jsx_runtime_1.jsx)(ItemWithLabel_1.ItemWithLabel, { ref: forwardedRef, labelPosition: labelPosition, label: label, labelWidth: labelWidth, labelBreak: labelBreak, required: required, enabled: enabled, onFocus: onFocus, onBlur: onBlur, style: style, children: (0, jsx_runtime_1.jsx)(react_popover_1.Popover, { open: open, children: (0, jsx_runtime_1.jsxs)(cmdk_1.Command, { ref: dropdownRef, className: AutoComplete_module_scss_1.default.command, filter: (value, search, keywords) => {
|
|
156
|
+
const extendedValue = value + " " + keywords.join(" ");
|
|
157
|
+
if (extendedValue.toLowerCase().includes(search.toLowerCase()))
|
|
158
|
+
return 1;
|
|
159
|
+
return 0;
|
|
160
|
+
}, children: [(0, jsx_runtime_1.jsx)(react_popover_1.PopoverTrigger, { style: { width: "100%" }, children: (0, jsx_runtime_1.jsxs)("div", { ref: setReferenceElement, onClick: () => {
|
|
161
|
+
var _a;
|
|
162
|
+
if (!enabled)
|
|
163
|
+
return;
|
|
164
|
+
(_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
165
|
+
}, style: style, className: (0, classnames_1.default)(AutoComplete_module_scss_1.default.badgeListWrapper, AutoComplete_module_scss_1.default[validationStatus], {
|
|
166
|
+
[AutoComplete_module_scss_1.default.disabled]: !enabled,
|
|
167
|
+
[AutoComplete_module_scss_1.default.focused]: document.activeElement === inputRef.current,
|
|
168
|
+
}), children: [multi ? ((0, jsx_runtime_1.jsxs)("div", { className: AutoComplete_module_scss_1.default.badgeList, children: [Array.isArray(value) &&
|
|
169
|
+
value.map((v) => {
|
|
170
|
+
var _a;
|
|
171
|
+
return ((0, jsx_runtime_1.jsxs)("span", { className: AutoComplete_module_scss_1.default.badge, children: [(_a = Array.from(options).find((o) => o.value === v)) === null || _a === void 0 ? void 0 : _a.label, (0, jsx_runtime_1.jsx)(IconNative_1.default, { name: "close", size: "sm", onClick: (event) => {
|
|
172
|
+
event.stopPropagation();
|
|
173
|
+
toggleOption(v);
|
|
174
|
+
} })] }, v));
|
|
175
|
+
}), (0, jsx_runtime_1.jsx)(cmdk_1.CommandInput, { id: id, autoFocus: autoFocus, ref: inputRef, value: inputValue, disabled: !enabled, onValueChange: (value) => {
|
|
176
|
+
setOpen(true);
|
|
177
|
+
setInputValue(value);
|
|
178
|
+
}, onFocus: () => {
|
|
179
|
+
setOpen(true);
|
|
180
|
+
onFocus();
|
|
181
|
+
}, onBlur: () => {
|
|
182
|
+
setOpen(false);
|
|
183
|
+
onBlur();
|
|
184
|
+
}, placeholder: placeholder, className: AutoComplete_module_scss_1.default.commandInput })] })) : ((0, jsx_runtime_1.jsx)(cmdk_1.CommandInput, { id: id, autoFocus: autoFocus, ref: inputRef, value: inputValue, disabled: !enabled, onValueChange: (value) => {
|
|
185
|
+
setOpen(true);
|
|
186
|
+
setInputValue(value);
|
|
187
|
+
}, onFocus: () => {
|
|
188
|
+
setOpen(true);
|
|
189
|
+
onFocus();
|
|
190
|
+
}, onBlur: () => {
|
|
191
|
+
setOpen(false);
|
|
192
|
+
onBlur();
|
|
193
|
+
}, placeholder: placeholder, className: AutoComplete_module_scss_1.default.commandInput })), (0, jsx_runtime_1.jsxs)("div", { className: AutoComplete_module_scss_1.default.actions, children: [(value === null || value === void 0 ? void 0 : value.length) > 0 && enabled && ((0, jsx_runtime_1.jsx)("button", { onClick: (event) => {
|
|
194
|
+
event.stopPropagation();
|
|
195
|
+
clearValue();
|
|
196
|
+
}, children: (0, jsx_runtime_1.jsx)(IconNative_1.default, { name: "close" }) })), (0, jsx_runtime_1.jsx)("button", { onClick: () => setOpen(true), children: (0, jsx_runtime_1.jsx)(IconNative_1.default, { name: "chevrondown" }) })] })] }) }), open && ((0, jsx_runtime_1.jsx)(react_popover_1.Portal, { container: root, children: (0, jsx_runtime_1.jsx)(react_popover_1.PopoverContent, { asChild: true, style: { width, height: dropdownHeight }, className: AutoComplete_module_scss_1.default.popoverContent, align: "start", onOpenAutoFocus: (e) => e.preventDefault(), children: (0, jsx_runtime_1.jsxs)(cmdk_1.CommandList, { className: AutoComplete_module_scss_1.default.commandList, onMouseUp: () => {
|
|
160
197
|
var _a;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
toggleOption(v);
|
|
164
|
-
} })] }, v));
|
|
165
|
-
}), (0, jsx_runtime_1.jsx)(cmdk_1.CommandInput, { id: id, autoFocus: autoFocus, ref: inputRef, value: inputValue, disabled: !enabled, onValueChange: (value) => {
|
|
166
|
-
setOpen(true);
|
|
167
|
-
setInputValue(value);
|
|
168
|
-
}, onFocus: (event) => {
|
|
169
|
-
setOpen(true);
|
|
170
|
-
onFocus();
|
|
171
|
-
}, onBlur: (event) => {
|
|
172
|
-
setOpen(false);
|
|
173
|
-
onBlur();
|
|
174
|
-
}, placeholder: placeholder, className: AutoComplete_module_scss_1.default.commandInput })] })) : ((0, jsx_runtime_1.jsx)(cmdk_1.CommandInput, { id: id, autoFocus: autoFocus, ref: inputRef, value: inputValue, disabled: !enabled, onValueChange: (value) => {
|
|
175
|
-
setOpen(true);
|
|
176
|
-
setInputValue(value);
|
|
177
|
-
}, onFocus: (event) => {
|
|
178
|
-
setOpen(true);
|
|
179
|
-
onFocus();
|
|
180
|
-
}, onBlur: (event) => {
|
|
181
|
-
setOpen(false);
|
|
182
|
-
onBlur();
|
|
183
|
-
}, placeholder: placeholder, className: AutoComplete_module_scss_1.default.commandInput })), (0, jsx_runtime_1.jsxs)("div", { className: AutoComplete_module_scss_1.default.actions, children: [(value === null || value === void 0 ? void 0 : value.length) > 0 && enabled && ((0, jsx_runtime_1.jsx)("button", { onClick: (event) => {
|
|
184
|
-
event.stopPropagation();
|
|
185
|
-
clearValue();
|
|
186
|
-
}, children: (0, jsx_runtime_1.jsx)(IconNative_1.default, { name: "close" }) })), (0, jsx_runtime_1.jsx)("button", { onClick: () => setOpen(true), children: (0, jsx_runtime_1.jsx)(IconNative_1.default, { name: "chevrondown" }) })] })] }), (0, jsx_runtime_1.jsx)("div", { style: { position: "relative" }, children: open && ((0, jsx_runtime_1.jsxs)(cmdk_1.CommandList, { className: AutoComplete_module_scss_1.default.commandList, onMouseUp: () => {
|
|
187
|
-
var _a;
|
|
188
|
-
(_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
189
|
-
}, style: { height: dropdownHeight }, children: [(0, jsx_runtime_1.jsx)(cmdk_1.CommandEmpty, { children: emptyListNode }), (0, jsx_runtime_1.jsx)(CreatableItem, {}), (0, jsx_runtime_1.jsx)(cmdk_1.CommandGroup, { children: Array.from(options).map(({ value, label, enabled, keywords, labelText }) => ((0, jsx_runtime_1.jsx)(AutoCompleteOption, { value: value, label: label, enabled: enabled, keywords: keywords, labelText: labelText }, value))) })] })) })] })] }) }) }));
|
|
198
|
+
(_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
199
|
+
}, style: { height: dropdownHeight }, children: [(0, jsx_runtime_1.jsx)(cmdk_1.CommandEmpty, { children: emptyListNode }), (0, jsx_runtime_1.jsx)(CreatableItem, {}), (0, jsx_runtime_1.jsx)(cmdk_1.CommandGroup, { children: Array.from(options).map(({ value, label, enabled, keywords, labelText }) => ((0, jsx_runtime_1.jsx)(AutoCompleteOption, { value: value, label: label, enabled: enabled, keywords: keywords, labelText: labelText }, value))) })] }) }) }))] }) }) })] }) }) }));
|
|
190
200
|
});
|
|
191
201
|
function CreatableItem() {
|
|
192
202
|
const { value, options, inputValue, onChange } = (0, AutoCompleteContext_1.useAutoComplete)();
|
|
@@ -37,7 +37,7 @@ exports.AvatarMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
37
37
|
defaultThemeVars: {
|
|
38
38
|
[`borderRadius-${COMP}`]: "4px",
|
|
39
39
|
[`boxShadow-${COMP}`]: "inset 0 0 0 1px rgba(4,32,69,0.1)",
|
|
40
|
-
[`
|
|
40
|
+
[`textColor-${COMP}`]: "$textColor-secondary",
|
|
41
41
|
[`fontWeight-${COMP}`]: "$fontWeight-bold",
|
|
42
42
|
light: {
|
|
43
43
|
[`border-${COMP}`]: "0px solid $color-surface-400A80",
|
|
@@ -51,11 +51,11 @@ exports.BadgeMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
51
51
|
[`fontSize-${COMP}-pill`]: "0.8em",
|
|
52
52
|
light: {
|
|
53
53
|
[`backgroundColor-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
|
|
54
|
-
[`
|
|
54
|
+
[`textColor-${COMP}`]: "white",
|
|
55
55
|
},
|
|
56
56
|
dark: {
|
|
57
57
|
[`backgroundColor-${COMP}`]: "rgba($color-secondary-500-rgb, .6)",
|
|
58
|
-
[`
|
|
58
|
+
[`textColor-${COMP}`]: "$color-surface-50",
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
});
|
|
@@ -104,7 +104,7 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
104
104
|
[`backgroundColor-${COMP}--disabled`]: "$backgroundColor--disabled",
|
|
105
105
|
[`borderColor-${COMP}--disabled`]: "$borderColor--disabled",
|
|
106
106
|
[`borderStyle-${COMP}`]: "solid",
|
|
107
|
-
[`
|
|
107
|
+
[`textColor-${COMP}--disabled`]: "$textColor--disabled",
|
|
108
108
|
[`outlineColor-${COMP}--focus`]: "$outlineColor--focus",
|
|
109
109
|
[`borderWidth-${COMP}`]: "1px",
|
|
110
110
|
[`outlineWidth-${COMP}--focus`]: "$outlineWidth--focus",
|
|
@@ -119,8 +119,8 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
119
119
|
[`paddingHorizontal-${COMP}-lg`]: "$space-5",
|
|
120
120
|
[`paddingVertical-${COMP}-lg`]: "$space-4",
|
|
121
121
|
light: {
|
|
122
|
-
[`
|
|
123
|
-
[`
|
|
122
|
+
[`textColor-${COMP}`]: "$color-surface-950",
|
|
123
|
+
[`textColor-${COMP}-solid`]: "$color-surface-50",
|
|
124
124
|
[`borderColor-${COMP}-primary`]: "$color-primary-500",
|
|
125
125
|
[`backgroundColor-${COMP}-primary--hover`]: "$color-primary-400",
|
|
126
126
|
[`backgroundColor-${COMP}-primary--active`]: "$color-primary-500",
|
|
@@ -128,9 +128,9 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
128
128
|
[`backgroundColor-${COMP}-primary-outlined--active`]: "$color-primary-100",
|
|
129
129
|
[`borderColor-${COMP}-primary-outlined`]: "$color-primary-600",
|
|
130
130
|
[`borderColor-${COMP}-primary-outlined--hover`]: "$color-primary-500",
|
|
131
|
-
[`
|
|
132
|
-
[`
|
|
133
|
-
[`
|
|
131
|
+
[`textColor-${COMP}-primary-outlined`]: "$color-primary-900",
|
|
132
|
+
[`textColor-${COMP}-primary-outlined--hover`]: "$color-primary-950",
|
|
133
|
+
[`textColor-${COMP}-primary-outlined--active`]: "$color-primary-900",
|
|
134
134
|
[`backgroundColor-${COMP}-primary-ghost--hover`]: "$color-primary-50",
|
|
135
135
|
[`backgroundColor-${COMP}-primary-ghost--active`]: "$color-primary-100",
|
|
136
136
|
[`borderColor-${COMP}-secondary`]: "$color-secondary-100",
|
|
@@ -149,8 +149,8 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
149
149
|
[`backgroundColor-${COMP}-attention-ghost--active`]: "$color-danger-100",
|
|
150
150
|
},
|
|
151
151
|
dark: {
|
|
152
|
-
[`
|
|
153
|
-
[`
|
|
152
|
+
[`textColor-${COMP}`]: "$color-surface-50",
|
|
153
|
+
[`textColor-${COMP}-solid`]: "$color-surface-50",
|
|
154
154
|
[`borderColor-${COMP}-primary`]: "$color-primary-500",
|
|
155
155
|
[`backgroundColor-${COMP}-primary--hover`]: "$color-primary-600",
|
|
156
156
|
[`backgroundColor-${COMP}-primary--active`]: "$color-primary-500",
|
|
@@ -158,9 +158,9 @@ exports.ButtonMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
158
158
|
[`backgroundColor-${COMP}-primary-outlined--active`]: "$color-primary-950",
|
|
159
159
|
[`borderColor-${COMP}-primary-outlined`]: "$color-primary-600",
|
|
160
160
|
[`borderColor-${COMP}-primary-outlined--hover`]: "$color-primary-500",
|
|
161
|
-
[`
|
|
162
|
-
[`
|
|
163
|
-
[`
|
|
161
|
+
[`textColor-${COMP}-primary-outlined`]: "$color-primary-100",
|
|
162
|
+
[`textColor-${COMP}-primary-outlined--hover`]: "$color-primary-50",
|
|
163
|
+
[`textColor-${COMP}-primary-outlined--active`]: "$color-primary-100",
|
|
164
164
|
[`backgroundColor-${COMP}-primary-ghost--hover`]: "$color-primary-900",
|
|
165
165
|
[`backgroundColor-${COMP}-primary-ghost--active`]: "$color-primary-950",
|
|
166
166
|
[`borderColor-${COMP}-secondary`]: "$color-secondary-500",
|
|
@@ -95,19 +95,19 @@ exports.CarouselMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
95
95
|
},
|
|
96
96
|
defaultThemeVars: {
|
|
97
97
|
[`backgroundColor-control-${COMP}`]: "$color-primary",
|
|
98
|
-
[`
|
|
98
|
+
[`textColor-control-${COMP}`]: "$textColor",
|
|
99
99
|
[`backgroundColor-control-hover-${COMP}`]: "$color-primary",
|
|
100
|
-
[`
|
|
100
|
+
[`textColor-control-hover-${COMP}`]: "$textColor",
|
|
101
101
|
[`backgroundColor-control-active-${COMP}`]: "$color-primary",
|
|
102
102
|
[`backgroundColor-control-disabled-${COMP}`]: "$color-surface-200",
|
|
103
|
-
[`
|
|
104
|
-
[`
|
|
103
|
+
[`textColor-control-disabled-${COMP}`]: "$textColor-disabled",
|
|
104
|
+
[`textColor-control-active-${COMP}`]: "$color-primary",
|
|
105
105
|
[`backgroundColor-indicator-${COMP}`]: "$color-surface-200",
|
|
106
106
|
[`backgroundColor-indicator-active-${COMP}`]: "$color-primary",
|
|
107
|
-
[`
|
|
108
|
-
[`
|
|
107
|
+
[`textColor-indicator-${COMP}`]: "$color-primary",
|
|
108
|
+
[`textColor-indicator-active-${COMP}`]: "$color-primary",
|
|
109
109
|
[`backgroundColor-indicator-hover-${COMP}`]: "$color-surface-200",
|
|
110
|
-
[`
|
|
110
|
+
[`textColor-indicator-hover-${COMP}`]: "$color-primary",
|
|
111
111
|
[`width-indicator-${COMP}`]: "25px",
|
|
112
112
|
[`height-indicator-${COMP}`]: "6px",
|
|
113
113
|
[`height-control-${COMP}`]: "36px",
|
|
@@ -110,7 +110,7 @@ exports.DatePickerMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
110
110
|
defaultThemeVars: {
|
|
111
111
|
[`boxShadow-menu-${COMP}`]: "$boxShadow-md",
|
|
112
112
|
[`borderRadius-menu-${COMP}`]: "$borderRadius",
|
|
113
|
-
[`
|
|
113
|
+
[`textColor-value-${COMP}`]: "$textColor-primary",
|
|
114
114
|
light: {
|
|
115
115
|
[`backgroundColor-menu-${COMP}`]: "$color-surface-50",
|
|
116
116
|
[`backgroundColor-item-${COMP}--hover`]: "$color-surface-100",
|
|
@@ -41,7 +41,7 @@ exports.FileUploadDropZoneMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
41
41
|
"backgroundColor-FileUploadDropZone": "$backgroundColor",
|
|
42
42
|
"backgroundColor-dropping-FileUploadDropZone": "$backgroundColor--selected",
|
|
43
43
|
"opacity-dropping-FileUploadDropZone": "0.5",
|
|
44
|
-
"
|
|
44
|
+
"textColor-FileUploadDropZone": "$textColor",
|
|
45
45
|
light: {
|
|
46
46
|
// --- No light-specific theme vars
|
|
47
47
|
},
|
|
@@ -16,9 +16,9 @@ exports.FooterMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
16
16
|
themeVars: (0, themeVars_1.parseScssVar)(Footer_module_scss_1.default.themeVars),
|
|
17
17
|
defaultThemeVars: {
|
|
18
18
|
[`backgroundColor-${COMP}`]: "$backgroundColor-AppHeader",
|
|
19
|
-
[`
|
|
19
|
+
[`verticalAlign-${COMP}`]: "center",
|
|
20
20
|
[`fontSize-${COMP}`]: "$fontSize-small",
|
|
21
|
-
[`
|
|
21
|
+
[`textColor-${COMP}`]: "$textColor-secondary",
|
|
22
22
|
[`maxWidth-content-${COMP}`]: "$maxWidth-content",
|
|
23
23
|
[`border-${COMP}`]: `1px solid $borderColor`,
|
|
24
24
|
[`padding-${COMP}`]: "$space-2 $space-4",
|
|
@@ -105,10 +105,10 @@ exports.FormMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
105
105
|
"color-accent-ValidationDisplay-warning": "$color-warning",
|
|
106
106
|
"color-accent-ValidationDisplay-info": "$color-info",
|
|
107
107
|
"color-accent-ValidationDisplay-valid": "$color-valid",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
108
|
+
"textColor-ValidationDisplay-error": "$color-error",
|
|
109
|
+
"textColor-ValidationDisplay-warning": "$color-warning",
|
|
110
|
+
"textColor-ValidationDisplay-info": "$color-info",
|
|
111
|
+
"textColor-ValidationDisplay-valid": "$color-valid",
|
|
112
112
|
},
|
|
113
113
|
dark: {
|
|
114
114
|
"backgroundColor-ValidationDisplay-error": "$color-danger-900",
|
|
@@ -119,10 +119,10 @@ exports.FormMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
119
119
|
"color-accent-ValidationDisplay-warning": "$color-warn-700",
|
|
120
120
|
"color-accent-ValidationDisplay-info": "$color-surface-200",
|
|
121
121
|
"color-accent-ValidationDisplay-valid": "$color-success-600",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
122
|
+
"textColor-ValidationDisplay-error": "$color-danger-500",
|
|
123
|
+
"textColor-ValidationDisplay-warning": "$color-warn-700",
|
|
124
|
+
"textColor-ValidationDisplay-info": "$color-secondary-200",
|
|
125
|
+
"textColor-ValidationDisplay-valid": "$color-success-600",
|
|
126
126
|
},
|
|
127
127
|
},
|
|
128
128
|
});
|
|
@@ -164,12 +164,12 @@ exports.FormItemMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
164
164
|
},
|
|
165
165
|
themeVars: (0, themeVars_1.parseScssVar)(FormItem_module_scss_1.default.themeVars),
|
|
166
166
|
defaultThemeVars: {
|
|
167
|
-
"
|
|
167
|
+
"textColor-FormItemLabel": "$textColor-primary",
|
|
168
168
|
"fontSize-FormItemLabel": "$fontSize-small",
|
|
169
169
|
"fontWeight-FormItemLabel": "$fontWeight-medium",
|
|
170
170
|
"font-style-FormItemLabel": "normal",
|
|
171
171
|
"textTransform-FormItemLabel": "none",
|
|
172
|
-
"
|
|
172
|
+
"textColor-FormItemLabel-requiredMark": "$color-danger-400",
|
|
173
173
|
},
|
|
174
174
|
});
|
|
175
175
|
exports.formItemComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.FormItemMd, ({ node, renderChild, extractValue, layoutCss, layoutContext, lookupEventHandler, lookupAction, registerComponentApi, }) => {
|
|
@@ -59,7 +59,7 @@ exports.HeadingMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
59
59
|
themeVars: (0, themeVars_1.parseScssVar)(Heading_module_scss_1.default.themeVars),
|
|
60
60
|
defaultThemeVars: {
|
|
61
61
|
[`fontFamily-${COMP}`]: "$fontFamily",
|
|
62
|
-
[`
|
|
62
|
+
[`textColor-${COMP}`]: "inherit",
|
|
63
63
|
[`fontWeight-${COMP}`]: "$fontWeight-bold",
|
|
64
64
|
[`letterSpacing-${COMP} `]: "0",
|
|
65
65
|
light: {
|
|
@@ -1291,7 +1291,7 @@ exports.HtmlTheadMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
1291
1291
|
"textTransform-HtmlThead": "uppercase",
|
|
1292
1292
|
light: {
|
|
1293
1293
|
"backgroundColor-HtmlThead": "$color-surface-100",
|
|
1294
|
-
"
|
|
1294
|
+
"textColor-HtmlThead": "$color-surface-500",
|
|
1295
1295
|
},
|
|
1296
1296
|
dark: {
|
|
1297
1297
|
"backgroundColor-HtmlThead": "$color-surface-950",
|
|
@@ -40,7 +40,7 @@ exports.LinkMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
40
40
|
},
|
|
41
41
|
defaultThemeVars: {
|
|
42
42
|
[`border-${COMP}`]: "0px solid $borderColor",
|
|
43
|
-
[`
|
|
43
|
+
[`textColor-${COMP}--hover--active`]: `$textColor-${COMP}--active`,
|
|
44
44
|
[`textDecorationColor-${COMP}--hover`]: "$color-surface-400A80",
|
|
45
45
|
[`textDecorationColor-${COMP}--active`]: "$color-surface200",
|
|
46
46
|
[`fontWeight-${COMP}--active`]: "$fontWeight-bold",
|
|
@@ -57,12 +57,12 @@ exports.LinkMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
57
57
|
[`gap-icon-${COMP}`]: "$gap-tight",
|
|
58
58
|
[`padding-icon-${COMP}`]: "$space-0_5",
|
|
59
59
|
light: {
|
|
60
|
-
[`
|
|
61
|
-
[`
|
|
60
|
+
[`textColor-${COMP}`]: "$color-primary-500",
|
|
61
|
+
[`textColor-${COMP}--active`]: "$color-primary-500",
|
|
62
62
|
},
|
|
63
63
|
dark: {
|
|
64
|
-
[`
|
|
65
|
-
[`
|
|
64
|
+
[`textColor-${COMP}`]: "$color-primary-500",
|
|
65
|
+
[`textColor-${COMP}--active`]: "$color-primary-500",
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
});
|
|
@@ -51,7 +51,7 @@ exports.ModalDialogMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
51
51
|
"second (and so on) parameters. \`$param\` is the same as \`$params[0]\`."),
|
|
52
52
|
},
|
|
53
53
|
themeVars: (0, themeVars_1.parseScssVar)(ModalDialog_module_scss_1.default.themeVars),
|
|
54
|
-
defaultThemeVars: Object.assign(Object.assign({}, (0, base_utils_1.paddingSubject)(COMP, { all: "$space-7" })), { [`backgroundColor-${COMP}`]: "$backgroundColor-primary", [`backgroundColor-overlay-${COMP}`]: "$backgroundColor-overlay", [`
|
|
54
|
+
defaultThemeVars: Object.assign(Object.assign({}, (0, base_utils_1.paddingSubject)(COMP, { all: "$space-7" })), { [`backgroundColor-${COMP}`]: "$backgroundColor-primary", [`backgroundColor-overlay-${COMP}`]: "$backgroundColor-overlay", [`textColor-${COMP}`]: "$textColor-primary", [`borderRadius-${COMP}`]: "$borderRadius", [`fontFamily-${COMP}`]: "$fontFamily", [`maxWidth-${COMP}`]: "450px", [`marginBottom-title-${COMP}`]: "0", dark: {
|
|
55
55
|
[`backgroundColor-${COMP}`]: "$backgroundColor-primary",
|
|
56
56
|
} }),
|
|
57
57
|
});
|
|
@@ -65,7 +65,7 @@ exports.NavLinkMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
65
65
|
[`fontSize-${COMP}`]: "$fontSize-small",
|
|
66
66
|
[`fontWeight-${COMP}`]: "$fontWeight-normal",
|
|
67
67
|
[`fontFamily-${COMP}`]: "$fontFamily",
|
|
68
|
-
[`
|
|
68
|
+
[`textColor-${COMP}`]: "$textColor-primary",
|
|
69
69
|
[`fontWeight-${COMP}--pressed`]: "$fontWeight-normal",
|
|
70
70
|
[`thickness-indicator-${COMP}`]: "$space-0_5",
|
|
71
71
|
[`outlineColor-${COMP}--focus`]: "$outlineColor--focus",
|
|
@@ -46,9 +46,9 @@ exports.RadioGroupMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
46
46
|
[`backgroundColor-checked-${RGOption}-success`]: `$borderColor-${RGOption}-success`,
|
|
47
47
|
[`fontSize-${RGOption}`]: "$fontSize-small",
|
|
48
48
|
[`fontWeight-${RGOption}`]: "$fontWeight-bold",
|
|
49
|
-
[`
|
|
50
|
-
[`
|
|
51
|
-
[`
|
|
49
|
+
[`textColor-${RGOption}-error`]: `$borderColor-${RGOption}-error`,
|
|
50
|
+
[`textColor-${RGOption}-warning`]: `$borderColor-${RGOption}-warning`,
|
|
51
|
+
[`textColor-${RGOption}-success`]: `$borderColor-${RGOption}-success`,
|
|
52
52
|
light: {
|
|
53
53
|
[`backgroundColor-checked-${RGOption}-default`]: "$color-primary-500",
|
|
54
54
|
[`borderColor-${RGOption}-default`]: "$color-surface-500",
|
|
@@ -72,14 +72,14 @@ exports.SelectMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
72
72
|
light: {
|
|
73
73
|
[`backgroundColor-${COMP}-badge--hover`]: "$color-primary-400",
|
|
74
74
|
[`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
|
|
75
|
-
[`
|
|
76
|
-
[`
|
|
75
|
+
[`textColor-item-${COMP}--disabled`]: "$color-surface-200",
|
|
76
|
+
[`textColor-${COMP}-badge`]: "$color-surface-50",
|
|
77
77
|
},
|
|
78
78
|
dark: {
|
|
79
79
|
[`backgroundColor-${COMP}-badge--hover`]: "$color-primary-600",
|
|
80
80
|
[`backgroundColor-${COMP}-badge--active`]: "$color-primary-500",
|
|
81
|
-
[`
|
|
82
|
-
[`
|
|
81
|
+
[`textColor-${COMP}-badge`]: "$color-surface-50",
|
|
82
|
+
[`textColor-item-${COMP}--disabled`]: "$color-surface-800",
|
|
83
83
|
},
|
|
84
84
|
},
|
|
85
85
|
});
|
|
@@ -115,14 +115,14 @@ exports.TableMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
115
115
|
[`backgroundColor-selected-${COMP}--hover`]: `$backgroundColor-row-${COMP}--hover`,
|
|
116
116
|
[`backgroundColor-pagination-${COMP}`]: `$backgroundColor-${COMP}`,
|
|
117
117
|
[`outlineColor-heading-${COMP}--focus`]: "$outlineColor--focus",
|
|
118
|
-
[`
|
|
118
|
+
[`textColor-pagination-${COMP}`]: "$color-secondary",
|
|
119
119
|
light: {
|
|
120
120
|
[`backgroundColor-row-${COMP}--hover`]: "$color-primary-50",
|
|
121
121
|
[`backgroundColor-selected-${COMP}`]: "$color-primary-100",
|
|
122
122
|
[`backgroundColor-heading-${COMP}--hover`]: "$color-surface-200",
|
|
123
123
|
[`backgroundColor-heading-${COMP}--active`]: "$color-surface-300",
|
|
124
124
|
[`backgroundColor-heading-${COMP}`]: "$color-surface-100",
|
|
125
|
-
[`
|
|
125
|
+
[`textColor-heading-${COMP}`]: "$color-surface-500",
|
|
126
126
|
},
|
|
127
127
|
dark: {
|
|
128
128
|
[`backgroundColor-row-${COMP}--hover`]: "$color-primary-900",
|
|
@@ -60,21 +60,21 @@ exports.TableOfContentsMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
60
60
|
[`marginBottom-${COMP}`]: "0",
|
|
61
61
|
[`borderRadius-${COMP}`]: "0",
|
|
62
62
|
[`border-width-${COMP}`]: "0",
|
|
63
|
-
[`
|
|
63
|
+
[`borderColor-${COMP}`]: "transparent",
|
|
64
64
|
[`border-style-${COMP}`]: "solid",
|
|
65
65
|
[`textTransform-${COMP}Item`]: "none",
|
|
66
|
-
[`
|
|
66
|
+
[`verticalAlign-${COMP}Item`]: "baseline",
|
|
67
67
|
[`letterSpacing-${COMP}Item`]: "0",
|
|
68
68
|
light: {
|
|
69
69
|
[`color-${COMP}Item`]: "$textColor-primary",
|
|
70
|
-
[`
|
|
71
|
-
[`
|
|
70
|
+
[`borderColor-${COMP}Item`]: "$borderColor",
|
|
71
|
+
[`borderColor-${COMP}Item--active`]: "$color-primary-500",
|
|
72
72
|
[`color-${COMP}Item--active`]: "$color-primary-500",
|
|
73
73
|
},
|
|
74
74
|
dark: {
|
|
75
75
|
[`color-${COMP}Item`]: "$textColor-primary",
|
|
76
|
-
[`
|
|
77
|
-
[`
|
|
76
|
+
[`borderColor-${COMP}Item`]: "$borderColor",
|
|
77
|
+
[`borderColor-${COMP}Item--active`]: "$color-primary-500",
|
|
78
78
|
[`color-${COMP}Item--active`]: "$textColor-secondary",
|
|
79
79
|
},
|
|
80
80
|
},
|
|
@@ -43,12 +43,12 @@ exports.TabsMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
43
43
|
light: {
|
|
44
44
|
[`backgroundColor-trigger-${COMP}--hover`]: "$color-primary-50",
|
|
45
45
|
[`backgroundColor-list-${COMP}`]: "$color-primary-50",
|
|
46
|
-
[`
|
|
46
|
+
[`textColor-trigger-${COMP}`]: "$color-primary-100",
|
|
47
47
|
},
|
|
48
48
|
dark: {
|
|
49
49
|
[`backgroundColor-trigger-${COMP}--hover`]: "$color-primary-800",
|
|
50
50
|
[`backgroundColor-list-${COMP}`]: "$color-primary-800",
|
|
51
|
-
[`
|
|
51
|
+
[`textColor-trigger-${COMP}`]: "$color-primary-100",
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
54
|
});
|
|
@@ -60,7 +60,7 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
60
60
|
[`textTransform-${COMP}-abbr`]: "uppercase",
|
|
61
61
|
[`fontSize-${COMP}-secondary`]: "$fontSize-small",
|
|
62
62
|
[`font-style-${COMP}-cite`]: "italic",
|
|
63
|
-
[`
|
|
63
|
+
[`textColor-${COMP}`]: "$textColor-primary",
|
|
64
64
|
[`fontFamily-${COMP}`]: "$fontFamily",
|
|
65
65
|
[`fontWeight-${COMP}`]: "$fontWeight-normal",
|
|
66
66
|
[`fontFamily-${COMP}-code`]: "$fontFamily-monospace",
|
|
@@ -77,9 +77,9 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
77
77
|
[`fontFamily-${COMP}-sample`]: "$fontFamily-monospace",
|
|
78
78
|
[`fontSize-${COMP}-sample`]: "$fontSize-small",
|
|
79
79
|
[`fontSize-${COMP}-sup`]: "$fontSize-smaller",
|
|
80
|
-
[`
|
|
80
|
+
[`verticalAlign-${COMP}-sup`]: "super",
|
|
81
81
|
[`fontSize-${COMP}-sub`]: "$fontSize-smaller",
|
|
82
|
-
[`
|
|
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",
|
|
@@ -47,14 +47,14 @@ 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
|
-
"
|
|
50
|
+
"textColor-Input": "$textColor-primary",
|
|
51
51
|
"backgroundColor-Input--disabled": "$backgroundColor--disabled",
|
|
52
52
|
"borderWidth-Input": "1px",
|
|
53
53
|
"minHeight-Input": "39px",
|
|
54
54
|
"padding-Input": "$space-2",
|
|
55
55
|
"borderStyle-Input": "solid",
|
|
56
56
|
"borderColor-Input--disabled": "$borderColor--disabled",
|
|
57
|
-
"
|
|
57
|
+
"textColor-Input--disabled": "$textColor--disabled",
|
|
58
58
|
"borderColor-Input-error": "$borderColor-Input-default--error",
|
|
59
59
|
"borderColor-Input-warning": "$borderColor-Input-default--warning",
|
|
60
60
|
"borderColor-Input-success": "$borderColor-Input-default--success",
|