@itcase/ui 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/SelectContainer-e2544642.js +7717 -0
- package/dist/components/Accordion.js +249 -0
- package/dist/components/Avatar.js +94 -0
- package/dist/components/Background.js +90 -0
- package/dist/components/Breadcrumbs.js +239 -0
- package/dist/components/Button.js +215 -0
- package/dist/components/Caption.js +65 -0
- package/dist/components/Card.js +112 -0
- package/dist/components/Cell.js +180 -0
- package/dist/components/Checkbox.js +68 -0
- package/dist/components/Chips.js +135 -0
- package/dist/components/ContextMenu.js +149 -0
- package/dist/components/CookiesWarning.js +133 -0
- package/dist/components/Counter.js +99 -0
- package/dist/components/Divider.js +73 -0
- package/dist/components/Dropdown.js +139 -0
- package/dist/components/Emoji.js +124 -0
- package/dist/components/Fader.js +66 -0
- package/dist/components/Flex.js +264 -0
- package/dist/components/FormField.js +289 -0
- package/dist/components/Grid.js +329 -0
- package/dist/components/Group.js +132 -0
- package/dist/components/Icon.js +184 -0
- package/dist/components/Image.js +143 -0
- package/dist/components/Input.js +94 -0
- package/dist/components/Label.js +125 -0
- package/dist/components/LanguageSelector.js +86 -0
- package/dist/components/Link.js +172 -0
- package/dist/components/List.js +143 -0
- package/dist/components/Loader.js +66 -0
- package/dist/components/Logo.js +55 -0
- package/dist/components/Menu.js +86 -0
- package/dist/components/MenuItem.js +209 -0
- package/dist/components/Modal.js +69 -0
- package/dist/components/Notification.js +131 -0
- package/dist/components/Pagination.js +93 -0
- package/dist/components/Popup.js +254 -0
- package/dist/components/Profile.js +99 -0
- package/dist/components/RadioButton.js +71 -0
- package/dist/components/RangeSlider.js +2086 -0
- package/dist/components/Scrollbar.js +3872 -0
- package/dist/components/Search.js +260 -0
- package/dist/components/Segmented.js +77 -0
- package/dist/components/Select.js +49 -0
- package/dist/components/SiteMenu.js +137 -0
- package/dist/components/Swiper.js +927 -0
- package/dist/components/Switch.js +29 -0
- package/dist/components/Text.js +121 -0
- package/dist/components/Textarea.js +90 -0
- package/dist/components/Tile.js +252 -0
- package/dist/components/Title.js +146 -0
- package/dist/components/Tooltip.js +115 -0
- package/dist/components/Video.js +74 -0
- package/dist/components/Wrapper.js +119 -0
- package/dist/constants/componentProps/align.js +5 -0
- package/dist/constants/componentProps/alignDirection.js +5 -0
- package/dist/constants/componentProps/borderColor.js +5 -0
- package/dist/constants/componentProps/borderType.js +5 -0
- package/dist/constants/componentProps/captionPosition.js +5 -0
- package/dist/constants/componentProps/direction.js +5 -0
- package/dist/constants/componentProps/emojiSize.js +5 -0
- package/dist/constants/componentProps/fill.js +5 -0
- package/dist/constants/componentProps/fillGradient.js +5 -0
- package/dist/constants/componentProps/fillType.js +5 -0
- package/dist/constants/componentProps/flexAlign.js +5 -0
- package/dist/constants/componentProps/flexJustifyContent.js +5 -0
- package/dist/constants/componentProps/flexWrap.js +5 -0
- package/dist/constants/componentProps/gridAlign.js +5 -0
- package/dist/constants/componentProps/gridAlignSelf.js +5 -0
- package/dist/constants/componentProps/gridJustifyItems.js +5 -0
- package/dist/constants/componentProps/gridJustifySelf.js +5 -0
- package/dist/constants/componentProps/horizontalContentAlign.js +5 -0
- package/dist/constants/componentProps/horizontalResizeMode.js +5 -0
- package/dist/constants/componentProps/iconSize.js +5 -0
- package/dist/constants/componentProps/position.js +5 -0
- package/dist/constants/componentProps/resizeMode.js +5 -0
- package/dist/constants/componentProps/shape.js +5 -0
- package/dist/constants/componentProps/size.js +5 -0
- package/dist/constants/componentProps/stacking.js +5 -0
- package/dist/constants/componentProps/strokeColor.js +5 -0
- package/dist/constants/componentProps/textAlign.js +5 -0
- package/dist/constants/componentProps/textColor.js +5 -0
- package/dist/constants/componentProps/textColorActive.js +5 -0
- package/dist/constants/componentProps/textColorHover.js +5 -0
- package/dist/constants/componentProps/textGradient.js +5 -0
- package/dist/constants/componentProps/textStyle.js +5 -0
- package/dist/constants/componentProps/textTag.js +5 -0
- package/dist/constants/componentProps/textWeight.js +5 -0
- package/dist/constants/componentProps/titleSize.js +5 -0
- package/dist/constants/componentProps/type.js +5 -0
- package/dist/constants/componentProps/underline.js +5 -0
- package/dist/constants/componentProps/verticalContentAlign.js +5 -0
- package/dist/constants/componentProps/verticalResizeMode.js +5 -0
- package/dist/constants/componentProps/width.js +5 -0
- package/dist/constants/componentProps/wrap.js +5 -0
- package/dist/constants.js +87 -0
- package/dist/context/Notifications.js +121 -0
- package/dist/context/UIContext.js +59 -0
- package/dist/css/components/Accordion/Accordion.css +65 -0
- package/dist/css/components/Avatar/Avatar.css +28 -0
- package/dist/css/components/Background/Background.css +11 -0
- package/dist/css/components/Button/Button.css +362 -0
- package/dist/css/components/Caption/Caption.css +22 -0
- package/dist/css/components/Card/Card.css +19 -0
- package/dist/css/components/Cell/Cell.css +89 -0
- package/dist/css/components/Cell/css/__wrapper/cell__wrapper.css +7 -0
- package/dist/css/components/Cell/css/__wrapper/cell__wrapper_shape.css +15 -0
- package/dist/css/components/Checkbox/Checkbox.css +97 -0
- package/dist/css/components/Chips/Chips.css +47 -0
- package/dist/css/components/ContextMenu/ContextMenu.css +43 -0
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +10 -0
- package/dist/css/components/CookiesWarning/CookiesWarning.css +37 -0
- package/dist/css/components/Counter/Counter.css +55 -0
- package/dist/css/components/Divider/Divider.css +78 -0
- package/dist/css/components/Dropdown/Dropdown.css +58 -0
- package/dist/css/components/Emoji/Emoji.css +104 -0
- package/dist/css/components/Emoji/css/__icon/emoji__icon-shape.css +12 -0
- package/dist/css/components/Emoji/css/__icon/emoji__icon.css +5 -0
- package/dist/css/components/Fader/Fader.css +55 -0
- package/dist/css/components/Flex/Flex.css +179 -0
- package/dist/css/components/Flex/css/__item/flex__item.css +5 -0
- package/dist/css/components/Flex/css/__item/flex__item_align.css +15 -0
- package/dist/css/components/Flex/css/__item/flex__item_direction.css +17 -0
- package/dist/css/components/Flex/css/__item/flex__item_grow.css +9 -0
- package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +9 -0
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +12 -0
- package/dist/css/components/Flex/css/__item/flex__item_wrap.css +9 -0
- package/dist/css/components/Grid/Grid.css +208 -0
- package/dist/css/components/Grid/css/__item/grid__item.css +4 -0
- package/dist/css/components/Grid/css/__item/grid__item_align-self.css +9 -0
- package/dist/css/components/Grid/css/__item/grid__item_column.css +17 -0
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +9 -0
- package/dist/css/components/Grid/css/__item/grid__item_row.css +17 -0
- package/dist/css/components/Group/Group.css +106 -0
- package/dist/css/components/Icon/Icon.css +149 -0
- package/dist/css/components/Image/Image.css +106 -0
- package/dist/css/components/Input/Input.css +41 -0
- package/dist/css/components/Label/Label.css +33 -0
- package/dist/css/components/Link/Link.css +10 -0
- package/dist/css/components/List/List.css +112 -0
- package/dist/css/components/Loader/Loader.css +42 -0
- package/dist/css/components/Logo/Logo.css +17 -0
- package/dist/css/components/Menu/Menu.css +56 -0
- package/dist/css/components/MenuItem/MenuItem.css +56 -0
- package/dist/css/components/Notification/Notification.css +18 -0
- package/dist/css/components/Pagination/Pagination.css +80 -0
- package/dist/css/components/Pagination/css/__item/pagination__item.css +31 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +16 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +19 -0
- package/dist/css/components/Popup/Popup.css +49 -0
- package/dist/css/components/Profile/Profile.css +19 -0
- package/dist/css/components/RadioButton/RadioButton.css +98 -0
- package/dist/css/components/RangeSlider/RangeSlider.css +396 -0
- package/dist/css/components/Scrollbar/Scrollbar.css +2 -0
- package/dist/css/components/Search/Search.css +113 -0
- package/dist/css/components/Search/css/search-input/search-input.css +81 -0
- package/dist/css/components/Search/css/search-input/search-input_shape.css +8 -0
- package/dist/css/components/Search/css/search-result/search-result.css +6 -0
- package/dist/css/components/Search/css/search-result/search-result_shape.css +8 -0
- package/dist/css/components/Select/Select.css +236 -0
- package/dist/css/components/Select/css/__control/select__control.css +11 -0
- package/dist/css/components/Select/css/__control/select__control_fill.css +15 -0
- package/dist/css/components/Select/css/__control/select__control_shape.css +12 -0
- package/dist/css/components/Select/css/__indicators/select__indicators.css +18 -0
- package/dist/css/components/Select/css/__input-container/select__input-container.css +24 -0
- package/dist/css/components/Select/css/__menu/select__menu-notice.css +7 -0
- package/dist/css/components/Select/css/__menu/select__menu.css +36 -0
- package/dist/css/components/Select/css/__option/select__option.css +56 -0
- package/dist/css/components/Select/css/__single-value/select__single-value.css +5 -0
- package/dist/css/components/Select/css/__value-container/select__value-container.css +12 -0
- package/dist/css/components/SiteMenu/SiteMenu.css +37 -0
- package/dist/css/components/Swiper/Swiper.css +839 -0
- package/dist/css/components/Switch/Switch.css +53 -0
- package/dist/css/components/Text/Text.css +33 -0
- package/dist/css/components/Textarea/Textarea.css +40 -0
- package/dist/css/components/Tile/Tile.css +23 -0
- package/dist/css/components/Title/Title.css +71 -0
- package/dist/css/components/Tooltip/Tooltip.css +4 -0
- package/dist/css/components/Video/Video.css +37 -0
- package/dist/css/components/Wrapper/Wrapper.css +36 -0
- package/dist/css/styles/align/align_horizontal-reverse.css +50 -0
- package/dist/css/styles/align/align_horizontal.css +67 -0
- package/dist/css/styles/align/align_vertical-reverse.css +49 -0
- package/dist/css/styles/align/align_vertical.css +64 -0
- package/dist/css/styles/border/border.css +13 -0
- package/dist/css/styles/border-color/border-color.css +28 -0
- package/dist/css/styles/caret-color/caret-color.css +13 -0
- package/dist/css/styles/constraints/constraints.css +59 -0
- package/dist/css/styles/cursor/cursor.css +9 -0
- package/dist/css/styles/direction/direction.css +10 -0
- package/dist/css/styles/elevation/elevation.css +7 -0
- package/dist/css/styles/elevation/elevation_hover.css +11 -0
- package/dist/css/styles/fill/fill.css +28 -0
- package/dist/css/styles/fill/fill_active.css +22 -0
- package/dist/css/styles/fill/fill_active_hover.css +24 -0
- package/dist/css/styles/fill/fill_disabled.css +22 -0
- package/dist/css/styles/fill/fill_hover.css +34 -0
- package/dist/css/styles/fill-gradient/fill-gradient.css +15 -0
- package/dist/css/styles/height/height.css +9 -0
- package/dist/css/styles/hover/hover-fill-color.css +13 -0
- package/dist/css/styles/hover/hover-item-color.css +15 -0
- package/dist/css/styles/hover/hover-text-color.css +15 -0
- package/dist/css/styles/mediaqueries.css +66 -0
- package/dist/css/styles/mixin_elevation.css +33 -0
- package/dist/css/styles/mixin_fill-gradient.css +23 -0
- package/dist/css/styles/mixin_global.css +54 -0
- package/dist/css/styles/opacity/opacity.css +7 -0
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +15 -0
- package/dist/css/styles/position/position.css +14 -0
- package/dist/css/styles/resize-horizontal/resize-horizontal.css +12 -0
- package/dist/css/styles/resize-vertical/resize-vertical.css +10 -0
- package/dist/css/styles/shape/shape.css +8 -0
- package/dist/css/styles/text-align/text-align.css +7 -0
- package/dist/css/styles/text-color/text-color.css +13 -0
- package/dist/css/styles/text-color/text-color_active.css +15 -0
- package/dist/css/styles/text-color/text-color_hover.css +17 -0
- package/dist/css/styles/text-color-hover/text-color-hover.css +15 -0
- package/dist/css/styles/text-decoration/text-decoration.css +9 -0
- package/dist/css/styles/text-gradient/text-gradient.css +24 -0
- package/dist/css/styles/text-style/text-style.css +9 -0
- package/dist/css/styles/text-truncate/text-truncate.css +7 -0
- package/dist/css/styles/text-weight/text-weight.css +40 -0
- package/dist/css/styles/width/width.css +9 -0
- package/dist/css/styles/word-wrap/word-wrap.css +8 -0
- package/dist/hooks/styleAttributes.js +33 -0
- package/dist/hooks/useDeviceTargetClass.js +60 -0
- package/dist/hooks/useMediaQueries.js +134 -0
- package/dist/hooks/useStyles.js +16 -0
- package/dist/index-f1505c84.js +86 -0
- package/dist/objectWithoutProperties-ea190611.js +188 -0
- package/dist/useStyles-77c3b520.js +153 -0
- package/package.json +123 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.fill {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
5
|
+
&-$(color) {
|
|
6
|
+
background: var(--color-$(type)-$(color));
|
|
7
|
+
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
8
|
+
&$(alpha) {
|
|
9
|
+
background: var(--color-$(type)-$(color)-$(alpha));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|
|
17
|
+
&_$(type) {
|
|
18
|
+
&-primary {
|
|
19
|
+
background: var(--color-$(type)-primary);
|
|
20
|
+
@each $opacity in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
21
|
+
&$(alpha) {
|
|
22
|
+
background: var(--color-$(type)-primary$(opacity));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.fill {
|
|
2
|
+
&_active {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
4
|
+
&_$(type) {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
background: var(--color-$(type)-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|
|
15
|
+
&_$(type) {
|
|
16
|
+
&-primary {
|
|
17
|
+
background: var(--color-$(type)-primary);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.fill {
|
|
2
|
+
&_active {
|
|
3
|
+
&_hover {
|
|
4
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
5
|
+
&_$(type) {
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
7
|
+
&-$(color) {
|
|
8
|
+
&:hover {
|
|
9
|
+
background: var(--color-$(type)-$(color));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error {
|
|
16
|
+
&_$(type) {
|
|
17
|
+
&-primary {
|
|
18
|
+
background: var(--color-$(type)-primary);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.fill {
|
|
2
|
+
&_disabled {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
4
|
+
&_$(type) {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
background: var(--color-$(type)-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|
|
15
|
+
&_$(type) {
|
|
16
|
+
&-primary {
|
|
17
|
+
background: var(--color-$(type)-primary);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.fill {
|
|
2
|
+
&_hover {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
4
|
+
&_$(type) {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
background: var(--color-$(type)-$(color));
|
|
9
|
+
}
|
|
10
|
+
&-hover {
|
|
11
|
+
&:hover {
|
|
12
|
+
background: var(--color-$(type)-$(color)-hover);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|
|
20
|
+
&_$(type) {
|
|
21
|
+
&-primary {
|
|
22
|
+
&:hover {
|
|
23
|
+
background: var(--color-$(type)-primary);
|
|
24
|
+
}
|
|
25
|
+
&-hover {
|
|
26
|
+
&:hover {
|
|
27
|
+
background: var(--color-$(type)-primary-hover);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.fill-gradient {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
5
|
+
&-$(color) {
|
|
6
|
+
@each $direction in left, top, right, bottom {
|
|
7
|
+
&-$(direction) {
|
|
8
|
+
background: linear-gradient(to $(direction), var(--color-$(type)-gradient-$(color)-start) 0%, var(--color-$(type)-gradient-$(color)-end) 100%);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.hover-fill-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
5
|
+
&-$(color) {
|
|
6
|
+
&:hover {
|
|
7
|
+
background: var(--color-$(type)-$(color));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.hover-item-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-item {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
color: var(--color-$(type)-item-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.hover-text-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-text {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
color: var(--color-$(type)-text-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--mobile-tiny: 15em; /* 240px */
|
|
3
|
+
--mobile-small: 20em; /* 320px */
|
|
4
|
+
--mobile-medium: 23.435em; /* 375px */
|
|
5
|
+
--mobile-large: 25.875em; /* 414px */
|
|
6
|
+
--mobile-extra-large: 30em; /* 480px */
|
|
7
|
+
--mobile-super-extra-large: 40em; /* 640px */
|
|
8
|
+
--tablet: 48em; /* 768px */
|
|
9
|
+
--desktop-small: 60em; /* 960px */
|
|
10
|
+
--desktop-medium: 64em; /* 1024px */
|
|
11
|
+
--desktop-normal: 72.5em; /* 1160px */
|
|
12
|
+
--desktop-large: 80em; /* 1280px */
|
|
13
|
+
--desktop-extra-large: 90em; /* 1441px */
|
|
14
|
+
--desktop-super-extra-large: 120em; /* 1920px */
|
|
15
|
+
--desktop-huge: 160em; /* 560px */
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@custom-media --warning (width <= 15em);
|
|
19
|
+
|
|
20
|
+
@custom-media --mobile (width >= 15em) and (width < 48em);
|
|
21
|
+
|
|
22
|
+
@custom-media --mobile-tiny (width >= 15em) and (width < 20em);
|
|
23
|
+
|
|
24
|
+
@custom-media --mobile-small (width >= 20em) and (width < 23.435em);
|
|
25
|
+
|
|
26
|
+
@custom-media --mobile-medium (width >= 23.435em) and (width < 25.875em);
|
|
27
|
+
|
|
28
|
+
@custom-media --mobile-standart (width >= 25.875em)) and (width < 30em);
|
|
29
|
+
|
|
30
|
+
@custom-media --mobile-large (width >= 30em) and (width < 40em);
|
|
31
|
+
|
|
32
|
+
@custom-media --mobile-huge (width >= 40em) and (width < 48em);
|
|
33
|
+
|
|
34
|
+
@custom-media --tablet (width >= 48em) and (width < 60em);
|
|
35
|
+
|
|
36
|
+
@custom-media --tablet-small (width >= 40em) and (width < 48em);
|
|
37
|
+
|
|
38
|
+
@custom-media --tablet-large (width >= 48em) and (width < 60em);
|
|
39
|
+
|
|
40
|
+
@custom-media --desktop (width >= 60em);
|
|
41
|
+
|
|
42
|
+
@custom-media --desktop-small (width >= 60em) and (width < 64em);
|
|
43
|
+
|
|
44
|
+
@custom-media --desktop-medium (width >= 64em) and (width < 72.5em);
|
|
45
|
+
|
|
46
|
+
@custom-media --desktop-normal (width >= 72.5em) and (width < 80em);
|
|
47
|
+
|
|
48
|
+
@custom-media --desktop-standart (width >= 80em) and (width < 90em);
|
|
49
|
+
|
|
50
|
+
@custom-media --desktop-large (width >= 90em) and (width < 120em);
|
|
51
|
+
|
|
52
|
+
@custom-media --desktop-huge (width >= 120em) and (width < 160em);
|
|
53
|
+
|
|
54
|
+
@custom-media --desktop-super-huge (width >= 160em);
|
|
55
|
+
|
|
56
|
+
@custom-media --landscape (orientation:landscape) and (width >= 15em) and (width < 60em);
|
|
57
|
+
|
|
58
|
+
@custom-media --portrait (orientation:portrait) and (width >= 15em) and (width < 60em);
|
|
59
|
+
|
|
60
|
+
@custom-media --touch (hover: none) and (pointer: coarse);
|
|
61
|
+
|
|
62
|
+
@custom-media --stylus (hover: none) and (pointer: fine);
|
|
63
|
+
|
|
64
|
+
@custom-media --console (hover: hover) and (pointer: coarse);
|
|
65
|
+
|
|
66
|
+
@custom-media --mouse (hover: hover) and (pointer: fine);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* stylelint-disable length-zero-no-unit */
|
|
2
|
+
|
|
3
|
+
@define-mixin elevation-1 {
|
|
4
|
+
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.24);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@define-mixin elevation-2 {
|
|
8
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.24);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@define-mixin elevation-4 {
|
|
12
|
+
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@define-mixin elevation-6 {
|
|
16
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.24);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@define-mixin elevation-8 {
|
|
20
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@define-mixin elevation-12 {
|
|
24
|
+
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@define-mixin elevation-16 {
|
|
28
|
+
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@define-mixin elevation-24 {
|
|
32
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.12);
|
|
33
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@define-mixin fill-gradient_surface-primary-left {
|
|
2
|
+
background: linear-gradient(to left, hsla(0, 0%, 0%, 0) 0%, hsla(0,0%,0%,0.65) 100%);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@define-mixin fill-gradient_surface-primary-top {
|
|
6
|
+
background: linear-gradient(to top, hsla(0, 0%, 0%, 0) 0%, hsla(0,0%,0%,0.65) 100%);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@define-mixin fill-gradient_surface-primary-right {
|
|
10
|
+
background: linear-gradient(to left, hsla(0, 0%, 0%, 0.65) 0%, hsla(0, 0%, 0%, 0) 100%);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@define-mixin fill-gradient_surface-primary-bottom {
|
|
14
|
+
background: linear-gradient(to top, hsla(0, 0%, 0%, 0.65) 0%, hsla(0, 0%, 0%, 0) 100%);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@define-mixin fill-gradient_surface-primary-diagonal-left {
|
|
18
|
+
background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 0%,hsla(0,0%,0%,0.65) 100%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@define-mixin fill-gradient_surface-primary-diagonal-right {
|
|
22
|
+
background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0.65) 100%);
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@define-mixin font $fontWeight, $minFontSize, $minLineHeight, $minLetterSpacing, $maxFontSize, $maxLineHeight, $maxLetterSpacing, $fontFamily {
|
|
2
|
+
font-size: responsive $minFontSize $maxFontSize;
|
|
3
|
+
font-range: var(--min-max);
|
|
4
|
+
font-weight: $fontWeight;
|
|
5
|
+
font-family: $fontFamily;
|
|
6
|
+
line-height: responsive $minLineHeight $maxLineHeight;
|
|
7
|
+
line-height-range: var(--min-max);
|
|
8
|
+
letter-spacing: responsive $minLetterSpacing $maxLetterSpacing;
|
|
9
|
+
letter-spacing-range: var(--min-max);
|
|
10
|
+
@media (--desktop-super-huge) {
|
|
11
|
+
font-size: $maxFontSize;
|
|
12
|
+
line-height: $maxLineHeight;
|
|
13
|
+
letter-spacing: $maxLetterSpacing;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@define-mixin dark {
|
|
18
|
+
@media (prefers-color-scheme: dark) {
|
|
19
|
+
& {
|
|
20
|
+
@mixin-content;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@define-mixin light {
|
|
26
|
+
@media (prefers-color-scheme: light) {
|
|
27
|
+
& {
|
|
28
|
+
@mixin-content;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
@mixin-content;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@define-mixin disableAnimation {
|
|
35
|
+
transform: translate(0, 0);
|
|
36
|
+
opacity: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@define-mixin easing $ease: easeInSine, $type: all, $time: 0.2s {
|
|
40
|
+
transition: $type $time $ease;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@define-mixin easing $ease: easeInSine, $type: all, $time: 0.2s {
|
|
44
|
+
transition: $type $time $ease;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@define-mixin word-wrap {
|
|
48
|
+
overflow-wrap: break-word;
|
|
49
|
+
word-wrap: break-word;
|
|
50
|
+
-ms-word-break: break-all;
|
|
51
|
+
word-break: break-all;
|
|
52
|
+
word-break: break-word;
|
|
53
|
+
hyphens: auto;
|
|
54
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
.opacity {
|
|
2
|
+
@each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100 {
|
|
3
|
+
&_$(val) {
|
|
4
|
+
opacity: $(val)%;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.placeholder-text-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-text {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&::placeholder {
|
|
8
|
+
color: var(--color-$(type)-text-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.text-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-text {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
color: var(--color-$(type)-text-$(color));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.text-color {
|
|
2
|
+
&_active {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
4
|
+
&_$(type) {
|
|
5
|
+
&-text {
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
7
|
+
&-$(color) {
|
|
8
|
+
color: var(--color-$(type)-text-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.text-color {
|
|
2
|
+
&_hover {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
4
|
+
&_$(type) {
|
|
5
|
+
&-text {
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
7
|
+
&-$(color) {
|
|
8
|
+
&:hover {
|
|
9
|
+
color: var(--color-$(type)-text-$(color));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.text-color-hover {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning{
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-text {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
&:hover {
|
|
8
|
+
color: var(--color-$(type)-text-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.text-gradient {
|
|
2
|
+
&_primary {
|
|
3
|
+
@mixin text-gradient-primary;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.text-gradient {
|
|
8
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
9
|
+
&_$(type) {
|
|
10
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
11
|
+
&-$(color) {
|
|
12
|
+
@each $direction in left, top, right, bottom {
|
|
13
|
+
&-$(direction) {
|
|
14
|
+
background: linear-gradient(to $(direction), var(--color-$(type)-text-gradient-$(color)-start) 0%, var(--color-$(type)-text-gradient-$(color)-end) 100%);
|
|
15
|
+
background-clip: text;
|
|
16
|
+
text-fill-color: transparent;
|
|
17
|
+
color: transparent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.text {
|
|
2
|
+
&-weight {
|
|
3
|
+
@each $val in 100, 200, 300, 400, 500, 600, 700, 800, 900, 950 {
|
|
4
|
+
&_$(val) {
|
|
5
|
+
font-weight: $(val);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
&_thin {
|
|
9
|
+
font-weight: 100;
|
|
10
|
+
}
|
|
11
|
+
&_extra-light,
|
|
12
|
+
&_ultra-light {
|
|
13
|
+
font-weight: 200;
|
|
14
|
+
}
|
|
15
|
+
&_light {
|
|
16
|
+
font-weight: 300;
|
|
17
|
+
}
|
|
18
|
+
&_normal {
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
}
|
|
21
|
+
&_medium {
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
}
|
|
24
|
+
&_semi-bold,
|
|
25
|
+
&_demi-bold {
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
}
|
|
28
|
+
&_bold {
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
}
|
|
31
|
+
&_extra-bold,
|
|
32
|
+
&_ultra-bold {
|
|
33
|
+
font-weight: 800;
|
|
34
|
+
}
|
|
35
|
+
&_black,
|
|
36
|
+
&_heavy {
|
|
37
|
+
font-weight: 900;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|