@itcase/ui 1.8.101 → 1.8.102
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/{Overlay_cjs_B2KA85nC.js → Overlay_cjs_CFD8KUWi.js} +2 -2
- package/dist/{Overlay_es_BvehRqIP.js → Overlay_es_RszsWopa.js} +2 -2
- package/dist/cjs/components/Modal.js +25 -25
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/components/Modal.js +25 -25
- package/dist/components/Overlay.js +1 -1
- package/dist/types/components/Label/Label.appearance.d.ts +261 -2
- package/dist/types/components/Modal/Modal.appearance.d.ts +1626 -2
- package/dist/types/components/Modal/Modal.d.ts +50 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +56 -38
- package/dist/types/components/Modal/appearance/modalShape.d.ts +2 -24
- package/dist/types/components/Modal/appearance/modalSize.d.ts +2 -26
- package/dist/types/components/Modal/appearance/modalStyle.d.ts +2 -13
- package/dist/types/components/Modal/appearance/modalSurface.d.ts +2 -7
- package/dist/types/components/Overlay/Overlay.interface.d.ts +5 -5
- package/dist/types/components/Title/Title.interface.d.ts +1 -1
- package/package.json +3 -3
|
@@ -27,12 +27,12 @@ var overlayConfig = {
|
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
29
|
function Overlay(props) {
|
|
30
|
-
var
|
|
30
|
+
var dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, isOverlay = props.isOverlay, onClick = props.onClick;
|
|
31
31
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, overlayConfig);
|
|
32
32
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
33
33
|
var fillClass = propsGenerator.fillClass, blurClass = propsGenerator.blurClass, opacityClass = propsGenerator.opacityClass;
|
|
34
34
|
var overlayStyles = useStyles.useStyles(props).styles;
|
|
35
|
-
return (jsxRuntime.jsx("div", { className: clsx(className, 'overlay', opacityClass && "opacity_".concat(opacityClass), blurClass && "blur_".concat(blurClass), isOverlay && 'overlay_state_visible', fillClass && "fill_".concat(fillClass)),
|
|
35
|
+
return (jsxRuntime.jsx("div", { className: clsx(className, 'overlay', opacityClass && "opacity_".concat(opacityClass), blurClass && "blur_".concat(blurClass), isOverlay && 'overlay_state_visible', fillClass && "fill_".concat(fillClass)), "data-test-id": dataTestId, "data-tour": dataTour, style: overlayStyles, onClick: onClick, children: "\u00A0" }));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
exports.Overlay = Overlay;
|
|
@@ -25,12 +25,12 @@ var overlayConfig = {
|
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
27
|
function Overlay(props) {
|
|
28
|
-
var
|
|
28
|
+
var dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, isOverlay = props.isOverlay, onClick = props.onClick;
|
|
29
29
|
var appearanceConfig = useAppearanceConfig(appearance, overlayConfig);
|
|
30
30
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
31
31
|
var fillClass = propsGenerator.fillClass, blurClass = propsGenerator.blurClass, opacityClass = propsGenerator.opacityClass;
|
|
32
32
|
var overlayStyles = useStyles(props).styles;
|
|
33
|
-
return (jsx("div", { className: clsx(className, 'overlay', opacityClass && "opacity_".concat(opacityClass), blurClass && "blur_".concat(blurClass), isOverlay && 'overlay_state_visible', fillClass && "fill_".concat(fillClass)),
|
|
33
|
+
return (jsx("div", { className: clsx(className, 'overlay', opacityClass && "opacity_".concat(opacityClass), blurClass && "blur_".concat(blurClass), isOverlay && 'overlay_state_visible', fillClass && "fill_".concat(fillClass)), "data-test-id": dataTestId, "data-tour": dataTour, style: overlayStyles, onClick: onClick, children: "\u00A0" }));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export { Overlay as O, overlayAppearance as a, overlayConfig as o };
|
|
@@ -8,7 +8,7 @@ var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceCon
|
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
10
|
var Icon = require('../../Icon_cjs_LSfBwmrG.js');
|
|
11
|
-
var Overlay = require('../../
|
|
11
|
+
var Overlay = require('../../Overlay_cjs_CFD8KUWi.js');
|
|
12
12
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
13
13
|
var _default = require('@itcase/icons/default');
|
|
14
14
|
var Loader = require('../../Loader_cjs_Db9diKuF.js');
|
|
@@ -37,21 +37,21 @@ var modalAppearanceShape = {
|
|
|
37
37
|
rounded: {
|
|
38
38
|
shape: 'rounded',
|
|
39
39
|
},
|
|
40
|
-
|
|
41
|
-
shape: 'rounded',
|
|
42
|
-
shapeStrength: '0_5m',
|
|
43
|
-
},
|
|
44
|
-
roundedM: {
|
|
40
|
+
roundedXL: {
|
|
45
41
|
shape: 'rounded',
|
|
46
|
-
shapeStrength: '
|
|
42
|
+
shapeStrength: '2m',
|
|
47
43
|
},
|
|
48
44
|
roundedL: {
|
|
49
45
|
shape: 'rounded',
|
|
50
46
|
shapeStrength: '1_5m',
|
|
51
47
|
},
|
|
52
|
-
|
|
48
|
+
roundedM: {
|
|
53
49
|
shape: 'rounded',
|
|
54
|
-
shapeStrength: '
|
|
50
|
+
shapeStrength: '1m',
|
|
51
|
+
},
|
|
52
|
+
roundedS: {
|
|
53
|
+
shape: 'rounded',
|
|
54
|
+
shapeStrength: '0_5m',
|
|
55
55
|
},
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -134,10 +134,10 @@ var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
|
134
134
|
};
|
|
135
135
|
// Modal component that is an abstraction around the portal API.
|
|
136
136
|
var Modal = React.forwardRef(function Modal(props, ref) {
|
|
137
|
-
var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a,
|
|
137
|
+
var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a, _b = props.scroll, scroll = _b === void 0 ? false : _b, _c = props.stickyHeader, stickyHeader = _c === void 0 ? false : _c, _d = props.isCloseOnBlur, isCloseOnBlur = _d === void 0 ? true : _d, _e = props.isOpen, initialIsOpen = _e === void 0 ? false : _e, _f = props.isOverlay, isOverlay = _f === void 0 ? true : _f, _g = props.isScrollOnOpen, isScrollOnOpen = _g === void 0 ? true : _g, _h = props.isSetFocusOnOpen, isSetFocusOnOpen = _h === void 0 ? true : _h, isSkeleton = props.isSkeleton, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal, children = props.children;
|
|
138
138
|
// Query DOM element
|
|
139
|
-
var
|
|
140
|
-
var
|
|
139
|
+
var _j = React.useState(null), modalElement = _j[0], setModalElement = _j[1];
|
|
140
|
+
var _k = React.useState(initialIsOpen), isOpen = _k[0], setIsOpen = _k[1];
|
|
141
141
|
var modalContentRef = React.useRef(null);
|
|
142
142
|
// const modalOverlayRef = useRef(null)
|
|
143
143
|
var addModalProps = React.useCallback(function (element) {
|
|
@@ -173,18 +173,18 @@ var Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
173
173
|
onOpenModal();
|
|
174
174
|
}
|
|
175
175
|
/* SHOW TARGET POPUP ABOVE OTHERS POPUPS F TARGET ALREADY OPENED
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
176
|
+
// If current modal is already opened
|
|
177
|
+
// Move content to end of modal root container. For order in DOM.
|
|
178
|
+
const modalContentElement = modalContentRef.current
|
|
179
|
+
if (modalContentElement) {
|
|
180
|
+
modalContentElement.parentNode.appendChild(modalContentElement)
|
|
181
|
+
}
|
|
182
|
+
// Also move overlay to end of modal root container after container
|
|
183
|
+
const modalOverlayElement = modalOverlayRef.current
|
|
184
|
+
if (modalOverlayElement) {
|
|
185
|
+
modalOverlayElement.parentNode.appendChild(modalOverlayElement)
|
|
186
|
+
}
|
|
187
|
+
*/
|
|
188
188
|
}, [onOpenModal]);
|
|
189
189
|
// Hide modal and unmount children content
|
|
190
190
|
var closeModal = React.useCallback(function (event) {
|
|
@@ -225,7 +225,7 @@ var Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
225
225
|
return (modalElement &&
|
|
226
226
|
ReactDOM.createPortal(
|
|
227
227
|
// Any valid React child: JSX, strings, arrays, etc.
|
|
228
|
-
isOpen ? (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { id: id, className: clsx('modal__content', contentClassName, fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), shapeClass && "shape_".concat(shapeClass), sizeClass && "modal_size_".concat(sizeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), scroll && !stickyHeader && "modal-scroll_".concat(scroll), stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur
|
|
228
|
+
isOpen ? (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { id: id, className: clsx('modal__content', contentClassName, fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), shapeClass && "shape_".concat(shapeClass), sizeClass && "modal_size_".concat(sizeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), scroll && !stickyHeader && "modal-scroll_".concat(scroll), stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [(title || closeIconImage) && (jsxRuntime.jsxs("div", { className: clsx('modal__header'), children: [title && (jsxRuntime.jsx(Icon.Title, { className: "modal__title", width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), closeIconImage && (jsxRuntime.jsx("div", { className: "modal__close", onClick: closeModal, children: jsxRuntime.jsx(Icon.Icon, { appearance: "".concat(closeIconAppearance, " ").concat(closeIconAppearanceSize), fillSize: closeIconFillSize, iconSize: closeIconSize, shape: closeIconShape, SvgImage: closeIconImage }) }))] })), jsxRuntime.jsx("div", { className: "modal__content-wrapper", children: children })] }), jsxRuntime.jsx(Overlay.Overlay, { className: "modal__overlay",
|
|
229
229
|
// ref={modalOverlayRef}
|
|
230
230
|
fill: overlayFill, opacity: overlayOpacity, isOverlay: isOverlay, onClick: onClickOverlay })] })) : null,
|
|
231
231
|
// A DOM element
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceC
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { b as Title, I as Icon } from '../Icon_es_BYO1LdXJ.js';
|
|
9
|
-
import { O as Overlay } from '../
|
|
9
|
+
import { O as Overlay } from '../Overlay_es_RszsWopa.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons24, icons32, icons40 } from '@itcase/icons/default';
|
|
12
12
|
import { L as Loader } from '../Loader_es_AhHU-s7_.js';
|
|
@@ -35,21 +35,21 @@ var modalAppearanceShape = {
|
|
|
35
35
|
rounded: {
|
|
36
36
|
shape: 'rounded',
|
|
37
37
|
},
|
|
38
|
-
|
|
39
|
-
shape: 'rounded',
|
|
40
|
-
shapeStrength: '0_5m',
|
|
41
|
-
},
|
|
42
|
-
roundedM: {
|
|
38
|
+
roundedXL: {
|
|
43
39
|
shape: 'rounded',
|
|
44
|
-
shapeStrength: '
|
|
40
|
+
shapeStrength: '2m',
|
|
45
41
|
},
|
|
46
42
|
roundedL: {
|
|
47
43
|
shape: 'rounded',
|
|
48
44
|
shapeStrength: '1_5m',
|
|
49
45
|
},
|
|
50
|
-
|
|
46
|
+
roundedM: {
|
|
51
47
|
shape: 'rounded',
|
|
52
|
-
shapeStrength: '
|
|
48
|
+
shapeStrength: '1m',
|
|
49
|
+
},
|
|
50
|
+
roundedS: {
|
|
51
|
+
shape: 'rounded',
|
|
52
|
+
shapeStrength: '0_5m',
|
|
53
53
|
},
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -132,10 +132,10 @@ var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
|
132
132
|
};
|
|
133
133
|
// Modal component that is an abstraction around the portal API.
|
|
134
134
|
var Modal = React.forwardRef(function Modal(props, ref) {
|
|
135
|
-
var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a,
|
|
135
|
+
var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a, _b = props.scroll, scroll = _b === void 0 ? false : _b, _c = props.stickyHeader, stickyHeader = _c === void 0 ? false : _c, _d = props.isCloseOnBlur, isCloseOnBlur = _d === void 0 ? true : _d, _e = props.isOpen, initialIsOpen = _e === void 0 ? false : _e, _f = props.isOverlay, isOverlay = _f === void 0 ? true : _f, _g = props.isScrollOnOpen, isScrollOnOpen = _g === void 0 ? true : _g, _h = props.isSetFocusOnOpen, isSetFocusOnOpen = _h === void 0 ? true : _h, isSkeleton = props.isSkeleton, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal, children = props.children;
|
|
136
136
|
// Query DOM element
|
|
137
|
-
var
|
|
138
|
-
var
|
|
137
|
+
var _j = useState(null), modalElement = _j[0], setModalElement = _j[1];
|
|
138
|
+
var _k = useState(initialIsOpen), isOpen = _k[0], setIsOpen = _k[1];
|
|
139
139
|
var modalContentRef = useRef(null);
|
|
140
140
|
// const modalOverlayRef = useRef(null)
|
|
141
141
|
var addModalProps = useCallback(function (element) {
|
|
@@ -171,18 +171,18 @@ var Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
171
171
|
onOpenModal();
|
|
172
172
|
}
|
|
173
173
|
/* SHOW TARGET POPUP ABOVE OTHERS POPUPS F TARGET ALREADY OPENED
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
174
|
+
// If current modal is already opened
|
|
175
|
+
// Move content to end of modal root container. For order in DOM.
|
|
176
|
+
const modalContentElement = modalContentRef.current
|
|
177
|
+
if (modalContentElement) {
|
|
178
|
+
modalContentElement.parentNode.appendChild(modalContentElement)
|
|
179
|
+
}
|
|
180
|
+
// Also move overlay to end of modal root container after container
|
|
181
|
+
const modalOverlayElement = modalOverlayRef.current
|
|
182
|
+
if (modalOverlayElement) {
|
|
183
|
+
modalOverlayElement.parentNode.appendChild(modalOverlayElement)
|
|
184
|
+
}
|
|
185
|
+
*/
|
|
186
186
|
}, [onOpenModal]);
|
|
187
187
|
// Hide modal and unmount children content
|
|
188
188
|
var closeModal = useCallback(function (event) {
|
|
@@ -223,7 +223,7 @@ var Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
223
223
|
return (modalElement &&
|
|
224
224
|
ReactDOM.createPortal(
|
|
225
225
|
// Any valid React child: JSX, strings, arrays, etc.
|
|
226
|
-
isOpen ? (jsxs(React.Fragment, { children: [jsxs("div", { id: id, className: clsx('modal__content', contentClassName, fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), shapeClass && "shape_".concat(shapeClass), sizeClass && "modal_size_".concat(sizeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), scroll && !stickyHeader && "modal-scroll_".concat(scroll), stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur
|
|
226
|
+
isOpen ? (jsxs(React.Fragment, { children: [jsxs("div", { id: id, className: clsx('modal__content', contentClassName, fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), shapeClass && "shape_".concat(shapeClass), sizeClass && "modal_size_".concat(sizeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), scroll && !stickyHeader && "modal-scroll_".concat(scroll), stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [(title || closeIconImage) && (jsxs("div", { className: clsx('modal__header'), children: [title && (jsx(Title, { className: "modal__title", width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), closeIconImage && (jsx("div", { className: "modal__close", onClick: closeModal, children: jsx(Icon, { appearance: "".concat(closeIconAppearance, " ").concat(closeIconAppearanceSize), fillSize: closeIconFillSize, iconSize: closeIconSize, shape: closeIconShape, SvgImage: closeIconImage }) }))] })), jsx("div", { className: "modal__content-wrapper", children: children })] }), jsx(Overlay, { className: "modal__overlay",
|
|
227
227
|
// ref={modalOverlayRef}
|
|
228
228
|
fill: overlayFill, opacity: overlayOpacity, isOverlay: isOverlay, onClick: onClickOverlay })] })) : null,
|
|
229
229
|
// A DOM element
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../
|
|
1
|
+
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay_es_RszsWopa.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -1,2 +1,261 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const labelAppearance: {
|
|
2
|
+
warningMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
warningPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
15
|
+
};
|
|
16
|
+
surfaceMutedPrimary: {
|
|
17
|
+
fill: string;
|
|
18
|
+
labelTextColor: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
iconAfterFillIcon: string;
|
|
21
|
+
iconBeforeFillIcon: string;
|
|
22
|
+
};
|
|
23
|
+
surfacePrimary: {
|
|
24
|
+
fill: string;
|
|
25
|
+
labelTextColor: string;
|
|
26
|
+
borderColor: string;
|
|
27
|
+
iconAfterFillIcon: string;
|
|
28
|
+
iconBeforeFillIcon: string;
|
|
29
|
+
};
|
|
30
|
+
surfaceSecondary: {
|
|
31
|
+
fill: string;
|
|
32
|
+
labelTextColor: string;
|
|
33
|
+
};
|
|
34
|
+
surfaceTertiary: {
|
|
35
|
+
fill: string;
|
|
36
|
+
labelTextColor: string;
|
|
37
|
+
};
|
|
38
|
+
surfaceQuaternary: {
|
|
39
|
+
fill: string;
|
|
40
|
+
labelTextColor: string;
|
|
41
|
+
};
|
|
42
|
+
successMutedPrimary: {
|
|
43
|
+
fill: string;
|
|
44
|
+
labelTextColor: string;
|
|
45
|
+
borderColor: string;
|
|
46
|
+
iconAfterFillIcon: string;
|
|
47
|
+
iconBeforeFillIcon: string;
|
|
48
|
+
};
|
|
49
|
+
successPrimary: {
|
|
50
|
+
fill: string;
|
|
51
|
+
labelTextColor: string;
|
|
52
|
+
borderColor: string;
|
|
53
|
+
iconAfterFillIcon: string;
|
|
54
|
+
iconBeforeFillIcon: string;
|
|
55
|
+
};
|
|
56
|
+
secondaryMutedPrimary: {
|
|
57
|
+
fill: string;
|
|
58
|
+
labelTextColor: string;
|
|
59
|
+
borderColor: string;
|
|
60
|
+
iconAfterFillIcon: string;
|
|
61
|
+
iconBeforeFillIcon: string;
|
|
62
|
+
};
|
|
63
|
+
secondaryPrimary: {
|
|
64
|
+
fill: string;
|
|
65
|
+
labelTextColor: string;
|
|
66
|
+
borderColor: string;
|
|
67
|
+
iconAfterFillIcon: string;
|
|
68
|
+
iconBeforeFillIcon: string;
|
|
69
|
+
};
|
|
70
|
+
primaryMutedPrimary: {
|
|
71
|
+
fill: string;
|
|
72
|
+
labelTextColor: string;
|
|
73
|
+
borderColor: string;
|
|
74
|
+
iconAfterFillIcon: string;
|
|
75
|
+
iconBeforeFillIcon: string;
|
|
76
|
+
};
|
|
77
|
+
primaryPrimary: {
|
|
78
|
+
fill: string;
|
|
79
|
+
labelTextColor: string;
|
|
80
|
+
borderColor: string;
|
|
81
|
+
iconAfterFillIcon: string;
|
|
82
|
+
iconBeforeFillIcon: string;
|
|
83
|
+
};
|
|
84
|
+
infoMutedPrimary: {
|
|
85
|
+
fill: string;
|
|
86
|
+
labelTextColor: string;
|
|
87
|
+
borderColor: string;
|
|
88
|
+
iconAfterFillIcon: string;
|
|
89
|
+
iconBeforeFillIcon: string;
|
|
90
|
+
};
|
|
91
|
+
infoPrimary: {
|
|
92
|
+
fill: string;
|
|
93
|
+
labelTextColor: string;
|
|
94
|
+
borderColor: string;
|
|
95
|
+
iconAfterFillIcon: string;
|
|
96
|
+
iconBeforeFillIcon: string;
|
|
97
|
+
};
|
|
98
|
+
infoSecondary: {
|
|
99
|
+
fill: string;
|
|
100
|
+
labelTextColor: string;
|
|
101
|
+
borderColor: string;
|
|
102
|
+
iconAfterFillIcon: string;
|
|
103
|
+
iconBeforeFillIcon: string;
|
|
104
|
+
};
|
|
105
|
+
errorMutedPrimary: {
|
|
106
|
+
fill: string;
|
|
107
|
+
labelTextColor: string;
|
|
108
|
+
borderColor: string;
|
|
109
|
+
iconAfterFillIcon: string;
|
|
110
|
+
iconBeforeFillIcon: string;
|
|
111
|
+
};
|
|
112
|
+
errorPrimary: {
|
|
113
|
+
fill: string;
|
|
114
|
+
labelTextColor: string;
|
|
115
|
+
borderColor: string;
|
|
116
|
+
iconAfterFillIcon: string;
|
|
117
|
+
iconBeforeFillIcon: string;
|
|
118
|
+
};
|
|
119
|
+
dangerMutedPrimary: {
|
|
120
|
+
fill: string;
|
|
121
|
+
labelTextColor: string;
|
|
122
|
+
borderColor: string;
|
|
123
|
+
iconAfterFillIcon: string;
|
|
124
|
+
iconBeforeFillIcon: string;
|
|
125
|
+
};
|
|
126
|
+
dangerPrimary: {
|
|
127
|
+
fill: string;
|
|
128
|
+
labelTextColor: string;
|
|
129
|
+
borderColor: string;
|
|
130
|
+
iconAfterFillIcon: string;
|
|
131
|
+
iconBeforeFillIcon: string;
|
|
132
|
+
};
|
|
133
|
+
accentMutedPrimary: {
|
|
134
|
+
fill: string;
|
|
135
|
+
labelTextColor: string;
|
|
136
|
+
borderColor: string;
|
|
137
|
+
iconAfterFillIcon: string;
|
|
138
|
+
iconBeforeFillIcon: string;
|
|
139
|
+
};
|
|
140
|
+
accentPrimary: {
|
|
141
|
+
fill: string;
|
|
142
|
+
labelTextColor: string;
|
|
143
|
+
borderColor: string;
|
|
144
|
+
iconAfterFillIcon: string;
|
|
145
|
+
iconBeforeFillIcon: string;
|
|
146
|
+
};
|
|
147
|
+
accentTertiary: {
|
|
148
|
+
fill: string;
|
|
149
|
+
labelTextColor: string;
|
|
150
|
+
};
|
|
151
|
+
gradientPrimary: {
|
|
152
|
+
fill: string;
|
|
153
|
+
labelTextColor: string;
|
|
154
|
+
borderColor: string;
|
|
155
|
+
iconAfterFillIcon: string;
|
|
156
|
+
iconBeforeFillIcon: string;
|
|
157
|
+
};
|
|
158
|
+
solid: {
|
|
159
|
+
borderColor: string;
|
|
160
|
+
};
|
|
161
|
+
outlined: {
|
|
162
|
+
fill: string;
|
|
163
|
+
};
|
|
164
|
+
full: {};
|
|
165
|
+
ghost: {
|
|
166
|
+
fill: string;
|
|
167
|
+
borderColor: string;
|
|
168
|
+
};
|
|
169
|
+
sizeXXL: {
|
|
170
|
+
size: string;
|
|
171
|
+
labelTextSize: string;
|
|
172
|
+
iconAfterFillSize: number;
|
|
173
|
+
iconAfterSize: number;
|
|
174
|
+
iconBeforeFillSize: number;
|
|
175
|
+
iconBeforeSize: number;
|
|
176
|
+
};
|
|
177
|
+
sizeXL: {
|
|
178
|
+
size: string;
|
|
179
|
+
labelTextSize: string;
|
|
180
|
+
iconAfterFillSize: number;
|
|
181
|
+
iconAfterSize: number;
|
|
182
|
+
iconBeforeFillSize: number;
|
|
183
|
+
iconBeforeSize: number;
|
|
184
|
+
};
|
|
185
|
+
sizeL: {
|
|
186
|
+
size: string;
|
|
187
|
+
labelTextSize: string;
|
|
188
|
+
iconAfterFillSize: number;
|
|
189
|
+
iconAfterSize: number;
|
|
190
|
+
iconBeforeFillSize: number;
|
|
191
|
+
iconBeforeSize: number;
|
|
192
|
+
};
|
|
193
|
+
sizeM: {
|
|
194
|
+
size: string;
|
|
195
|
+
labelTextSize: string;
|
|
196
|
+
iconAfterFillSize: number;
|
|
197
|
+
iconAfterSize: number;
|
|
198
|
+
iconBeforeFillSize: number;
|
|
199
|
+
iconBeforeSize: number;
|
|
200
|
+
};
|
|
201
|
+
sizeS: {
|
|
202
|
+
size: string;
|
|
203
|
+
labelTextSize: string;
|
|
204
|
+
iconAfterFillSize: number;
|
|
205
|
+
iconAfterSize: number;
|
|
206
|
+
iconBeforeFillSize: number;
|
|
207
|
+
iconBeforeSize: number;
|
|
208
|
+
};
|
|
209
|
+
sizeXS: {
|
|
210
|
+
size: string;
|
|
211
|
+
labelTextSize: string;
|
|
212
|
+
iconAfterFillSize: number;
|
|
213
|
+
iconAfterSize: number;
|
|
214
|
+
iconBeforeFillSize: number;
|
|
215
|
+
iconBeforeSize: number;
|
|
216
|
+
};
|
|
217
|
+
sizeXXS: {
|
|
218
|
+
size: string;
|
|
219
|
+
labelTextSize: string;
|
|
220
|
+
iconAfterFillSize: number;
|
|
221
|
+
iconAfterSize: number;
|
|
222
|
+
iconBeforeFillSize: number;
|
|
223
|
+
iconBeforeSize: number;
|
|
224
|
+
};
|
|
225
|
+
circular: {
|
|
226
|
+
shape: string;
|
|
227
|
+
};
|
|
228
|
+
rounded: {
|
|
229
|
+
shape: string;
|
|
230
|
+
};
|
|
231
|
+
roundedS: {
|
|
232
|
+
shape: string;
|
|
233
|
+
shapeStrength: string;
|
|
234
|
+
};
|
|
235
|
+
roundedM: {
|
|
236
|
+
shape: string;
|
|
237
|
+
shapeStrength: string;
|
|
238
|
+
};
|
|
239
|
+
roundedL: {
|
|
240
|
+
shape: string;
|
|
241
|
+
shapeStrength: string;
|
|
242
|
+
};
|
|
243
|
+
roundedXL: {
|
|
244
|
+
shape: string;
|
|
245
|
+
shapeStrength: string;
|
|
246
|
+
};
|
|
247
|
+
disabledMutedPrimary: {
|
|
248
|
+
fill: string;
|
|
249
|
+
labelTextColor: string;
|
|
250
|
+
borderColor: string;
|
|
251
|
+
iconAfterFillIcon: string;
|
|
252
|
+
iconBeforeFillIcon: string;
|
|
253
|
+
};
|
|
254
|
+
disabledPrimary: {
|
|
255
|
+
fill: string;
|
|
256
|
+
labelTextColor: string;
|
|
257
|
+
borderColor: string;
|
|
258
|
+
iconAfterFillIcon: string;
|
|
259
|
+
iconBeforeFillIcon: string;
|
|
260
|
+
};
|
|
261
|
+
};
|