@itcase/ui 1.0.42 → 1.0.44
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/components/Accordion.js +56 -58
- package/dist/components/Avatar.js +31 -29
- package/dist/components/Background.js +15 -12
- package/dist/components/Badge.js +13 -11
- package/dist/components/Breadcrumbs.js +72 -71
- package/dist/components/Button.js +56 -53
- package/dist/components/Caption.js +11 -8
- package/dist/components/Card.js +22 -20
- package/dist/components/Cell.js +52 -50
- package/dist/components/Checkbox.js +31 -29
- package/dist/components/Chips.js +21 -18
- package/dist/components/Choice.js +43 -49
- package/dist/components/Code.js +260 -105
- package/dist/components/ContextMenu.js +38 -34
- package/dist/components/CookiesWarning.js +26 -27
- package/dist/components/DatePicker.js +64 -67
- package/dist/components/Divider.js +15 -12
- package/dist/components/Dot.js +8 -6
- package/dist/components/Dropdown.js +88 -88
- package/dist/components/Empty.js +21 -19
- package/dist/components/Fader.js +13 -10
- package/dist/components/Flex.js +43 -37
- package/dist/components/FormField.js +77 -66
- package/dist/components/Grid.js +66 -57
- package/dist/components/Group.js +33 -30
- package/dist/components/Icon.js +41 -38
- package/dist/components/Image.js +34 -28
- package/dist/components/Input.js +29 -28
- package/dist/components/InputPassword.js +45 -48
- package/dist/components/Label.js +29 -26
- package/dist/components/LanguageSelector.js +29 -30
- package/dist/components/Link.js +43 -39
- package/dist/components/List.js +35 -29
- package/dist/components/Loader.js +22 -19
- package/dist/components/Logo.js +17 -14
- package/dist/components/Menu.js +20 -19
- package/dist/components/MenuItem.js +55 -52
- package/dist/components/Modal.js +51 -63
- package/dist/components/Notification.js +41 -39
- package/dist/components/Pagination.js +17 -15
- package/dist/components/RadioButton.js +31 -29
- package/dist/components/RangeSlider.js +29 -26
- package/dist/components/Scrollbar.js +6 -4
- package/dist/components/Search.js +66 -61
- package/dist/components/Segmented.js +52 -58
- package/dist/components/Select.js +181 -168
- package/dist/components/SiteMenu.js +34 -28
- package/dist/components/Swiper.js +104 -92
- package/dist/components/Switch.js +11 -9
- package/dist/components/Tab.js +95 -80
- package/dist/components/Text.js +27 -24
- package/dist/components/Textarea.js +23 -21
- package/dist/components/Tile.js +37 -34
- package/dist/components/Title.js +38 -30
- package/dist/components/Tooltip.js +24 -21
- package/dist/components/Video.js +16 -13
- package/dist/components/Wrapper.js +23 -20
- package/dist/constants/componentProps/align.js +1 -1
- package/dist/constants/componentProps/alignDirection.js +1 -1
- package/dist/constants/componentProps/borderColor.js +1 -1
- package/dist/constants/componentProps/borderType.js +1 -1
- package/dist/constants/componentProps/captionPosition.js +1 -1
- package/dist/constants/componentProps/direction.js +1 -1
- package/dist/constants/componentProps/emojiSize.js +1 -1
- package/dist/constants/componentProps/fill.js +1 -1
- package/dist/constants/componentProps/fillGradient.js +1 -1
- package/dist/constants/componentProps/fillType.js +1 -1
- package/dist/constants/componentProps/flexAlign.js +1 -1
- package/dist/constants/componentProps/flexJustifyContent.js +1 -1
- package/dist/constants/componentProps/flexWrap.js +1 -1
- package/dist/constants/componentProps/gridAlign.js +1 -1
- package/dist/constants/componentProps/gridAlignSelf.js +1 -1
- package/dist/constants/componentProps/gridJustifyItems.js +1 -1
- package/dist/constants/componentProps/gridJustifySelf.js +1 -1
- package/dist/constants/componentProps/horizontalContentAlign.js +1 -1
- package/dist/constants/componentProps/horizontalResizeMode.js +1 -1
- package/dist/constants/componentProps/iconSize.js +1 -1
- package/dist/constants/componentProps/position.js +1 -1
- package/dist/constants/componentProps/resizeMode.js +1 -1
- package/dist/constants/componentProps/shape.js +1 -1
- package/dist/constants/componentProps/size.js +1 -1
- package/dist/constants/componentProps/stacking.js +1 -1
- package/dist/constants/componentProps/strokeColor.js +1 -1
- package/dist/constants/componentProps/textAlign.js +1 -1
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/constants/componentProps/textGradient.js +1 -1
- package/dist/constants/componentProps/textStyle.js +1 -1
- package/dist/constants/componentProps/textTag.js +1 -1
- package/dist/constants/componentProps/textWeight.js +1 -1
- package/dist/constants/componentProps/titleSize.js +1 -1
- package/dist/constants/componentProps/type.js +1 -1
- package/dist/constants/componentProps/underline.js +1 -1
- package/dist/constants/componentProps/verticalContentAlign.js +1 -1
- package/dist/constants/componentProps/verticalResizeMode.js +1 -1
- package/dist/constants/componentProps/width.js +1 -1
- package/dist/constants/componentProps/wrap.js +1 -1
- package/dist/context/Notifications.js +38 -53
- package/dist/context/UIContext.js +14 -17
- package/dist/css/components/Choice/Choice.css +8 -0
- package/dist/css/components/Code/Code.css +35 -34
- package/dist/css/components/DatePicker/DatePicker.css +39 -0
- package/dist/css/components/Swiper/Swiper.css +6 -3
- package/dist/css/components/Tab/Tab.css +10 -1
- package/dist/css/styles/align/align.css +0 -1
- package/dist/css/styles/align/align_horizontal-reverse.css +6 -6
- package/dist/css/styles/align/align_horizontal.css +9 -9
- package/dist/css/styles/border-color/border-color.css +15 -1
- package/dist/css/styles/column-gap/column-gap.css +3 -1
- package/dist/css/styles/gap/gap.css +3 -1
- package/dist/css/styles/row-gap/row-gap.css +3 -1
- package/dist/hooks/useDeviceTargetClass.js +19 -18
- package/dist/hooks/useMediaQueries.js +7 -10
- package/dist/hooks/useStyles.js +127 -8
- package/package.json +30 -29
- package/dist/useStyles-e4accb53.js +0 -153
package/dist/components/Title.js
CHANGED
|
@@ -13,7 +13,7 @@ var titleSize = require('../constants/componentProps/titleSize.js');
|
|
|
13
13
|
var type = require('../constants/componentProps/type.js');
|
|
14
14
|
var wrap = require('../constants/componentProps/wrap.js');
|
|
15
15
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
16
|
-
var useStyles = require('../useStyles
|
|
16
|
+
var useStyles = require('../hooks/useStyles.js');
|
|
17
17
|
var UIContext = require('../context/UIContext.js');
|
|
18
18
|
require('lodash/castArray');
|
|
19
19
|
require('lodash/camelCase');
|
|
@@ -30,66 +30,74 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
30
30
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
31
31
|
|
|
32
32
|
function Title(props) {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
33
|
+
const {
|
|
34
|
+
dataTour,
|
|
35
|
+
tag,
|
|
36
|
+
text,
|
|
37
|
+
textWrap
|
|
38
|
+
} = props;
|
|
39
|
+
const {
|
|
40
|
+
children,
|
|
41
|
+
className,
|
|
42
|
+
onClick
|
|
43
|
+
} = props;
|
|
44
|
+
const {
|
|
45
|
+
size,
|
|
46
|
+
sizeMobile,
|
|
47
|
+
sizeTablet,
|
|
48
|
+
sizeDesktop
|
|
49
|
+
} = props;
|
|
50
|
+
const {
|
|
51
|
+
isMobile,
|
|
52
|
+
isTablet,
|
|
53
|
+
isDesktop
|
|
54
|
+
} = UIContext.useUserDeviceContext();
|
|
55
|
+
const textColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
49
56
|
prefix: 'text-color_',
|
|
50
57
|
propsKey: 'textColor'
|
|
51
58
|
});
|
|
52
|
-
|
|
59
|
+
const textColorActiveClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
53
60
|
prefix: 'text-color-active_',
|
|
54
61
|
propsKey: 'textColorActive'
|
|
55
62
|
});
|
|
56
|
-
|
|
63
|
+
const textColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
57
64
|
prefix: 'text-color_hover_',
|
|
58
65
|
propsKey: 'textColorHover'
|
|
59
66
|
});
|
|
60
|
-
|
|
67
|
+
const textAlignClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
61
68
|
prefix: 'text-align_',
|
|
62
69
|
propsKey: 'textAlign'
|
|
63
70
|
});
|
|
64
|
-
|
|
71
|
+
const typeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
65
72
|
prefix: 'title_type_',
|
|
66
73
|
propsKey: 'type'
|
|
67
74
|
});
|
|
68
|
-
|
|
75
|
+
const fillColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
69
76
|
prefix: 'fill_',
|
|
70
77
|
propsKey: 'fill'
|
|
71
78
|
});
|
|
72
|
-
|
|
79
|
+
const textGradientClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
73
80
|
prefix: 'text-gradient_',
|
|
74
81
|
propsKey: 'textColorGradient'
|
|
75
82
|
});
|
|
76
|
-
|
|
83
|
+
const textStyleClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
77
84
|
prefix: 'text-style_',
|
|
78
85
|
propsKey: 'textStyle'
|
|
79
86
|
});
|
|
80
|
-
|
|
87
|
+
const weightClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
81
88
|
prefix: 'text-weight_',
|
|
82
89
|
propsKey: 'textWeight'
|
|
83
90
|
});
|
|
84
|
-
|
|
91
|
+
const textTruncateClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
85
92
|
prefix: 'text-truncate_',
|
|
86
93
|
propsKey: 'textTruncate'
|
|
87
94
|
});
|
|
88
|
-
|
|
89
|
-
titleStyles
|
|
95
|
+
const {
|
|
96
|
+
styles: titleStyles
|
|
97
|
+
} = useStyles.useStyles(props);
|
|
90
98
|
|
|
91
99
|
// Element type (h1, h2, ..., h6)
|
|
92
|
-
|
|
100
|
+
const Tag = React.useMemo(() => {
|
|
93
101
|
if (tag) {
|
|
94
102
|
return tag;
|
|
95
103
|
}
|
|
@@ -105,7 +113,7 @@ function Title(props) {
|
|
|
105
113
|
return size;
|
|
106
114
|
}, [isMobile, isTablet, isDesktop]);
|
|
107
115
|
return /*#__PURE__*/React__default.default.createElement(Tag, {
|
|
108
|
-
className: clsx__default.default(className, 'title', fillColorClass, size &&
|
|
116
|
+
className: clsx__default.default(className, 'title', fillColorClass, size && `title_size_${size}`, textColorClass, textColorActiveClass, textColorHoverClass, typeClass, textGradientClass, textStyleClass, weightClass, textWrap && `word-wrap_${textWrap}`),
|
|
109
117
|
"data-tour": dataTour,
|
|
110
118
|
onClick: onClick,
|
|
111
119
|
style: titleStyles
|
|
@@ -9,7 +9,7 @@ var size = require('../constants/componentProps/size.js');
|
|
|
9
9
|
var fill = require('../constants/componentProps/fill.js');
|
|
10
10
|
var shape = require('../constants/componentProps/shape.js');
|
|
11
11
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
12
|
-
var useStyles = require('../useStyles
|
|
12
|
+
var useStyles = require('../hooks/useStyles.js');
|
|
13
13
|
require('../constants/componentProps/textColor.js');
|
|
14
14
|
require('../constants/componentProps/textColorActive.js');
|
|
15
15
|
require('../constants/componentProps/textColorHover.js');
|
|
@@ -36,42 +36,45 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
36
36
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
37
37
|
|
|
38
38
|
function Tooltip(props) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
const {
|
|
40
|
+
before,
|
|
41
|
+
after,
|
|
42
|
+
className,
|
|
43
|
+
text,
|
|
44
|
+
title,
|
|
45
|
+
type,
|
|
46
|
+
set,
|
|
47
|
+
arrowPosition,
|
|
48
|
+
titleTextColor,
|
|
49
|
+
titleSize,
|
|
50
|
+
textColor,
|
|
51
|
+
textSize
|
|
52
|
+
} = props;
|
|
53
|
+
const alignDirectionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
52
54
|
prefix: 'align_',
|
|
53
55
|
propsKey: 'alignDirection'
|
|
54
56
|
});
|
|
55
|
-
|
|
57
|
+
const alignClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
56
58
|
prefix: 'align_',
|
|
57
59
|
propsKey: 'align'
|
|
58
60
|
});
|
|
59
|
-
|
|
61
|
+
const fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
60
62
|
prefix: 'fill_',
|
|
61
63
|
propsKey: 'fill'
|
|
62
64
|
});
|
|
63
|
-
|
|
65
|
+
const shapeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
64
66
|
prefix: 'tooltip_shape_',
|
|
65
67
|
propsKey: 'shape'
|
|
66
68
|
});
|
|
67
|
-
|
|
69
|
+
const sizeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
68
70
|
prefix: 'tooltip_size_',
|
|
69
71
|
propsKey: 'size'
|
|
70
72
|
});
|
|
71
|
-
|
|
72
|
-
tooltipStyles
|
|
73
|
+
const {
|
|
74
|
+
styles: tooltipStyles
|
|
75
|
+
} = useStyles.useStyles(props);
|
|
73
76
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
74
|
-
className: clsx__default.default(className, 'tooltip', fillClass, shapeClass, alignDirectionClass, alignClass, sizeClass, arrowPosition &&
|
|
77
|
+
className: clsx__default.default(className, 'tooltip', fillClass, shapeClass, alignDirectionClass, alignClass, sizeClass, arrowPosition && `tooltip_type_arrow tooltip_arrow_position_${arrowPosition}`, type && `tooltip_type_${type}`, set && `tooltip_set_${set}`),
|
|
75
78
|
style: tooltipStyles
|
|
76
79
|
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
77
80
|
className: "tooltip__inner"
|
package/dist/components/Video.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var PropTypes = require('prop-types');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var useStyles = require('../useStyles
|
|
6
|
+
var useStyles = require('../hooks/useStyles.js');
|
|
7
7
|
require('lodash/camelCase');
|
|
8
8
|
require('lodash/maxBy');
|
|
9
9
|
require('lodash/upperFirst');
|
|
@@ -19,19 +19,22 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
19
19
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
20
20
|
|
|
21
21
|
function Video(props) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
const {
|
|
23
|
+
id,
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
poster,
|
|
27
|
+
webm,
|
|
28
|
+
ogv,
|
|
29
|
+
mp4,
|
|
30
|
+
type,
|
|
31
|
+
position
|
|
32
|
+
} = props;
|
|
33
|
+
const {
|
|
34
|
+
styles: videoStyles
|
|
35
|
+
} = useStyles.useStyles(props);
|
|
33
36
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
34
|
-
className: clsx__default.default('video', className, type &&
|
|
37
|
+
className: clsx__default.default('video', className, type && `video_type_${type}`, position && `video_position_${position}`),
|
|
35
38
|
id: id,
|
|
36
39
|
style: videoStyles
|
|
37
40
|
}, /*#__PURE__*/React__default.default.createElement("video", {
|
|
@@ -10,7 +10,7 @@ var horizontalResizeMode = require('../constants/componentProps/horizontalResize
|
|
|
10
10
|
var position = require('../constants/componentProps/position.js');
|
|
11
11
|
var verticalResizeMode = require('../constants/componentProps/verticalResizeMode.js');
|
|
12
12
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
13
|
-
var useStyles = require('../useStyles
|
|
13
|
+
var useStyles = require('../hooks/useStyles.js');
|
|
14
14
|
require('lodash/castArray');
|
|
15
15
|
require('lodash/camelCase');
|
|
16
16
|
require('../context/UIContext.js');
|
|
@@ -27,50 +27,53 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
27
27
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
28
28
|
|
|
29
29
|
function Wrapper(props) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
const {
|
|
31
|
+
after,
|
|
32
|
+
before,
|
|
33
|
+
children,
|
|
34
|
+
className,
|
|
35
|
+
id,
|
|
36
|
+
tag: Tag,
|
|
37
|
+
type
|
|
38
|
+
} = props;
|
|
39
|
+
const alignDirectionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
38
40
|
prefix: 'align_',
|
|
39
41
|
propsKey: 'alignDirection'
|
|
40
42
|
});
|
|
41
|
-
|
|
43
|
+
const alignClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
42
44
|
prefix: 'align_',
|
|
43
45
|
propsKey: 'align'
|
|
44
46
|
});
|
|
45
|
-
|
|
47
|
+
const resizeHorizontalClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
46
48
|
prefix: 'wrapper_resize-horizontal_',
|
|
47
49
|
propsKey: 'horizontalResizing'
|
|
48
50
|
});
|
|
49
|
-
|
|
51
|
+
const resizeVerticalClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
50
52
|
prefix: 'wrapper_resize-vertical_',
|
|
51
53
|
propsKey: 'verticalResizing'
|
|
52
54
|
});
|
|
53
|
-
|
|
55
|
+
const fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
54
56
|
prefix: 'fill_',
|
|
55
57
|
propsKey: 'fill'
|
|
56
58
|
});
|
|
57
|
-
|
|
59
|
+
const positionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
58
60
|
prefix: 'position_',
|
|
59
61
|
propsKey: 'position'
|
|
60
62
|
});
|
|
61
|
-
|
|
63
|
+
const wrapperPositionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
62
64
|
prefix: 'position_',
|
|
63
65
|
propsKey: 'wrapperPosition'
|
|
64
66
|
});
|
|
65
|
-
|
|
66
|
-
wrapperStyles
|
|
67
|
-
innerStyles
|
|
67
|
+
const {
|
|
68
|
+
styles: wrapperStyles,
|
|
69
|
+
inner: innerStyles
|
|
70
|
+
} = useStyles.useStyles(props);
|
|
68
71
|
return /*#__PURE__*/React__default.default.createElement(Tag, {
|
|
69
72
|
id: id,
|
|
70
|
-
className: clsx__default.default(className, type && className
|
|
73
|
+
className: clsx__default.default(className, type && `${className}_type_${type}`, fillClass, resizeHorizontalClass, resizeVerticalClass, positionClass),
|
|
71
74
|
style: wrapperStyles
|
|
72
75
|
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
73
|
-
className: clsx__default.default(className
|
|
76
|
+
className: clsx__default.default(`${className}__inner`, alignDirectionClass, alignClass, wrapperPositionClass),
|
|
74
77
|
style: innerStyles
|
|
75
78
|
}, before, children, after));
|
|
76
79
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const alignProps = [null, 'topLeft', 'topCenter', 'topRight', 'left', 'center', 'right', 'bottomLeft', 'bottomCenter', 'bottomRight'];
|
|
4
4
|
|
|
5
5
|
exports.default = alignProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const alignDirectionProps = [null, 'column', 'column-reverse', 'horizontal', 'horizontal-reverse', 'row', 'row-reverse', 'vertical', 'vertical-reverse'];
|
|
4
4
|
|
|
5
5
|
exports.default = alignDirectionProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const borderColorProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = borderColorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const fillProps = [null, 'accentPrimary', 'accentSecondary', 'accentTertiary', 'primaryPrimary', 'primarySecondary', 'primaryTertiary', 'secondaryPrimary', 'secondarySecondary', 'secondaryTertiary', 'tertiaryPrimary', 'tertiarySecondary', 'tertiaryTertiary', 'surfacePrimary', 'surfaceSecondary', 'surfaceTertiary', 'surfaceQuaternary', 'surfaceQuinary', 'errorPrimary', 'errorSecondary', 'successPrimary', 'successSecondary'];
|
|
4
4
|
|
|
5
5
|
exports.default = fillProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const fillGradientProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = fillGradientProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const flexJustifyContentProps = [null, 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'];
|
|
4
4
|
|
|
5
5
|
exports.default = flexJustifyContentProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const gridAlignProps = [null, 'auto', 'normal', 'stretch', 'center', 'start', 'end', 'space-around', 'space-between', 'space-evenly', 'safe center', 'unsafe center', 'self-start', 'self-end', 'first', 'baseline', 'first', 'baseline', 'last baseline'];
|
|
4
4
|
|
|
5
5
|
exports.default = gridAlignProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const gridAlignSelfProps = [null, 'auto', 'normal', 'stretch', 'center', 'start', 'end', 'space-around', 'space-between', 'space-evenly', 'safe center', 'unsafe center', 'self-start', 'self-end', 'first', 'baseline', 'first', 'baseline', 'last baseline'];
|
|
4
4
|
|
|
5
5
|
exports.default = gridAlignSelfProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const gridJustifyItemsProps = [null, 'legacy', 'normal', 'stretch', 'center', 'safe', 'center', 'unsafe', 'center', 'start', 'end', 'self-start', 'self-end', 'left', 'right', 'baseline', 'first baseline', 'last baseline'];
|
|
4
4
|
|
|
5
5
|
exports.default = gridJustifyItemsProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const gridJustifySelfProps = [null, 'auto', 'legacy', 'normal', 'stretch', 'center', 'start', 'end', 'left', 'right', 'space-around', 'space-between', 'space-evenly', 'safe', 'center', 'unsafe center', 'self-start', 'self-end', 'left', 'right', 'baseline', 'first baseline', 'last baseline'];
|
|
4
4
|
|
|
5
5
|
exports.default = gridJustifySelfProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const strokeColorProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = strokeColorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const textColorProps = [null, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary'];
|
|
4
4
|
|
|
5
5
|
exports.default = textColorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const textColorActiveProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = textColorActiveProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const textColorHoverProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = textColorHoverProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const textGradientProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
|
|
4
4
|
|
|
5
5
|
exports.default = textGradientProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const textWeightProps = ['normal', 'bold', 'light', 'lighter', 'bolder', '100', '200', '300', '400', '500', '600', '700', '800', '900', '950'];
|
|
4
4
|
|
|
5
5
|
exports.default = textWeightProps;
|