@itcase/ui 1.8.0 → 1.8.3
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/{Badge-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
- package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
- package/dist/{Button-DJxd2_t4.js → Button_cjs_B7OmqizJ.js} +26 -25
- package/dist/{Button-K5n8BI_w.js → Button_es_CBbHMy1v.js} +26 -25
- package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
- package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
- package/dist/{DropdownItem-CdAS1E-G.js → DropdownItem_cjs_TdJHpFgg.js} +7 -7
- package/dist/{DropdownItem-f29l8dds.js → DropdownItem_es_CdYP5BQN.js} +7 -7
- package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
- package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
- package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
- package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
- package/dist/{Input-C_HeI9UK.js → Input_cjs_DkQh0Utd.js} +3 -3
- package/dist/{Input-v52BiIsb.js → Input_es_Bs0gEq3L.js} +3 -3
- package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
- package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
- package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
- package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
- package/dist/{Loader-CZVsMYl6.js → Loader_cjs_D753D3li.js} +3 -3
- package/dist/{Loader-BnhUh-g6.js → Loader_es_BE4nyzXi.js} +3 -3
- package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
- package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
- package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
- package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
- package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
- package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
- package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
- package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
- package/dist/cjs/components/Accordion.js +7 -7
- package/dist/cjs/components/Avatar.js +9 -9
- package/dist/cjs/components/Badge.js +7 -7
- package/dist/cjs/components/Breadcrumbs.js +6 -6
- package/dist/cjs/components/Button.js +8 -8
- package/dist/cjs/components/Cell.js +7 -7
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +9 -9
- package/dist/cjs/components/Choice.js +99 -53
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +9 -9
- package/dist/cjs/components/DadataHintField.js +4 -4
- package/dist/cjs/components/DatePicker.js +119 -47
- package/dist/cjs/components/Divider.js +2 -2
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/Grid.js +6 -6
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +6 -6
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputMask.js +3 -3
- package/dist/cjs/components/InputPassword.js +6 -6
- package/dist/cjs/components/Label.js +5 -5
- package/dist/cjs/components/Link.js +2 -2
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/Loader.js +3 -3
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +26 -54
- package/dist/cjs/components/Panel.js +3 -3
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +9 -9
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +3 -3
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +59 -16
- package/dist/cjs/components/Segmented.js +30 -18
- package/dist/cjs/components/Select.js +10 -10
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +2 -2
- package/dist/cjs/components/Tab.js +50 -70
- package/dist/cjs/components/Text.js +2 -2
- package/dist/cjs/components/Textarea.js +132 -51
- package/dist/cjs/components/Tile.js +7 -7
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +4 -4
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/context/Notifications.js +5 -3
- package/dist/cjs/context/UIContext.js +4 -4
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/components/Accordion.js +7 -7
- package/dist/components/Avatar.js +9 -9
- package/dist/components/Badge.js +7 -7
- package/dist/components/Breadcrumbs.js +6 -6
- package/dist/components/Button.js +8 -8
- package/dist/components/Cell.js +7 -7
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +9 -9
- package/dist/components/Choice.js +100 -54
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +9 -9
- package/dist/components/DadataHintField.js +4 -4
- package/dist/components/DatePicker.js +119 -47
- package/dist/components/Divider.js +2 -2
- package/dist/components/Dot.js +1 -1
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +6 -6
- package/dist/components/Group.js +2 -2
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +6 -6
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputMask.js +3 -3
- package/dist/components/InputPassword.js +6 -6
- package/dist/components/Label.js +5 -5
- package/dist/components/Link.js +2 -2
- package/dist/components/List.js +2 -2
- package/dist/components/Loader.js +3 -3
- package/dist/components/Logo.js +2 -2
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +27 -55
- package/dist/components/Panel.js +3 -3
- package/dist/components/Radio.js +2 -2
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +9 -9
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +2 -2
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +59 -16
- package/dist/components/Segmented.js +30 -18
- package/dist/components/Select.js +10 -10
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +2 -2
- package/dist/components/Tab.js +50 -70
- package/dist/components/Text.js +2 -2
- package/dist/components/Textarea.js +133 -51
- package/dist/components/Tile.js +7 -7
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/Video.js +1 -1
- package/dist/context/Notifications.js +5 -3
- package/dist/context/UIContext.js +4 -4
- package/dist/css/components/Accordion/Accordion.css +2 -0
- package/dist/css/components/Avatar/Avatar.css +15 -14
- package/dist/css/components/Badge/Badge.css +1 -0
- package/dist/css/components/Button/Button.css +8 -2
- package/dist/css/components/Cell/Cell.css +10 -9
- package/dist/css/components/Chips/Chips.css +12 -0
- package/dist/css/components/Choice/Choice.css +72 -47
- package/dist/css/components/Choice/css/__item/choice__item.css +8 -16
- package/dist/css/components/Choice/css/__item/choice__item_shape.css +11 -0
- package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
- package/dist/css/components/Code/Code.css +9 -11
- package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
- package/dist/css/components/DatePicker/DatePicker.css +113 -28
- package/dist/css/components/Divider/Divider.css +3 -4
- package/dist/css/components/Dot/Dot.css +1 -0
- package/dist/css/components/Drawer/Drawer.css +4 -7
- package/dist/css/components/Dropdown/Dropdown.css +34 -28
- package/dist/css/components/Grid/Grid.css +62 -11
- package/dist/css/components/Grid/css/__item/grid__item_column.css +13 -1
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +4 -1
- package/dist/css/components/Grid/css/__item/grid__item_row.css +2 -1
- package/dist/css/components/Group/Group.css +1 -1
- package/dist/css/components/Icon/Icon.css +6 -0
- package/dist/css/components/Input/Input.css +7 -6
- package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
- package/dist/css/components/InputPassword/InputPassword.css +1 -0
- package/dist/css/components/Loader/Loader.css +6 -0
- package/dist/css/components/Modal/Modal.css +1 -0
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +6 -0
- package/dist/css/components/Pagination/Pagination.css +16 -12
- package/dist/css/components/Pagination/css/__item/pagination__item.css +4 -5
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
- package/dist/css/components/Radio/Radio.css +2 -0
- package/dist/css/components/Search/Search.css +5 -2
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
- package/dist/css/components/Segmented/Segmented.css +3 -0
- package/dist/css/components/Select/Select.css +2 -0
- package/dist/css/components/Swiper/Swiper.css +3 -3
- package/dist/css/components/Tab/Tab.css +2 -2
- package/dist/css/components/Text/Text.css +15 -12
- package/dist/css/components/Textarea/Textarea.css +38 -26
- package/dist/css/components/Tile/Tile.css +9 -0
- package/dist/css/components/Tooltip/Tooltip.css +7 -0
- package/dist/css/styles/border-color/border-color.css +6 -6
- package/dist/css/styles/border-color/border-color_focus.css +7 -5
- package/dist/css/styles/border-color/border-color_hover.css +13 -9
- package/dist/css/styles/border-width/border-width.css +2 -1
- package/dist/css/styles/caret-color/caret-color.css +6 -4
- package/dist/css/styles/fill/fill.css +19 -34
- package/dist/css/styles/fill/fill_active.css +18 -15
- package/dist/css/styles/fill/fill_active_hover.css +54 -8
- package/dist/css/styles/fill/fill_hover.css +46 -19
- package/dist/css/styles/opacity/opacity.css +3 -2
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
- package/dist/css/styles/svg-color/svg_fill.css +6 -9
- package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
- package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
- package/dist/css/styles/text-color/text-color.css +6 -6
- package/dist/css/styles/text-color/text-color_active.css +7 -6
- package/dist/css/styles/text-color/text-color_hover.css +7 -6
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +1 -1
- package/dist/hooks/useStyles.js +1 -1
- package/dist/stories/Breadcrumbs.mdx +15 -0
- package/dist/stories/BreadcrumbsItem.mdx +17 -0
- package/dist/stories/Image.mdx +2 -2
- package/dist/stories/ListItem.mdx +11 -0
- package/dist/stories/Overview.mdx +15 -5
- package/dist/stories/Playground.mdx +4 -4
- package/dist/stories/Playgroynd.mdx +11 -0
- package/dist/stories/Plsyground.mdx +14 -0
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
- package/dist/types/components/Choice/appearance/choiceAccent.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
- package/dist/types/components/Choice/appearance/choiceSurface.d.ts +25 -0
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +97 -2
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +51 -0
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +27 -0
- package/dist/types/components/InputMask/InputMask.d.ts +5 -0
- package/dist/types/components/InputMask/index.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +37 -0
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
- package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
- package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
- package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
- package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Video/Video.interface.d.ts +3 -1
- package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
- package/dist/types/context/Notifications.d.ts +4 -3
- package/dist/types/context/UIContext.d.ts +1 -1
- package/package.json +25 -25
- package/dist/css/styles/fill/fill_disabled.css +0 -33
- package/dist/stories/Avatar.mdx +0 -23
- package/dist/stories/Badge.mdx +0 -13
- package/dist/stories/Button.mdx +0 -12
- package/dist/stories/Cell.mdx +0 -7
- package/dist/stories/Checkbox.mdx +0 -12
- package/dist/stories/Checkmark.mdx +0 -10
- package/dist/stories/Chips.mdx +0 -37
- package/dist/stories/Choice.mdx +0 -11
- package/dist/stories/Code.mdx +0 -11
- package/dist/stories/DatePicker.mdx +0 -31
- package/dist/stories/HeroTitle.mdx +0 -31
- package/dist/stories/Textarea.mdx +0 -15
- package/dist/stories/Title.mdx +0 -31
- package/dist/stories/Tooltip.mdx +0 -19
- package/dist/types/components/InputMask/Input.d.ts +0 -5
- /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
- /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
- /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
- /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
- /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
- /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
- /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
.text {
|
|
2
2
|
}
|
|
3
3
|
.text {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
&&_skeleton {
|
|
5
|
+
color: transparent;
|
|
6
|
+
background-image: linear-gradient(
|
|
7
|
+
90deg,
|
|
8
|
+
var(--color-surface-secondary),
|
|
9
|
+
var(--color-surface-tertiary),
|
|
10
|
+
var(--color-surface-secondary)
|
|
11
|
+
);
|
|
12
|
+
background-size: 200%;
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
animation: textSkeleton 3s infinite linear;
|
|
15
|
+
& * {
|
|
16
|
+
opacity: 0%;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -58,3 +59,5 @@
|
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
}
|
|
62
|
+
:root {
|
|
63
|
+
}
|
|
@@ -1,39 +1,45 @@
|
|
|
1
1
|
.textarea {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
&__input {
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-width: 100%;
|
|
5
|
+
min-height: var(--textarea-min-height, 160px);
|
|
6
|
+
max-height: var(--textarea-max-height, 160px);
|
|
7
|
+
padding: var(--textarea-padding);
|
|
8
|
+
padding: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
border: none;
|
|
11
|
+
z-index: 1;
|
|
12
|
+
outline: 0;
|
|
13
|
+
resize: none;
|
|
14
|
+
appearance: none;
|
|
15
|
+
&:read-only {
|
|
16
|
+
color: var(--color-surface-text-tertiary);
|
|
17
|
+
}
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
.textarea {
|
|
19
21
|
&_shape {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
&^&__input {
|
|
23
|
+
&_rounded {
|
|
24
|
+
border-radius: var(--textarea-shape-rounded);
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
&_underline {
|
|
28
|
+
border-left: none !important;
|
|
29
|
+
border-top: none !important;
|
|
30
|
+
border-right: none !important;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
.textarea {
|
|
33
37
|
&&_size {
|
|
34
|
-
@each $
|
|
35
|
-
&_$(
|
|
36
|
-
|
|
38
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
39
|
+
&_$(size) {
|
|
40
|
+
^^&__input {
|
|
41
|
+
padding: var(--textarea-size-$(size)-padding);
|
|
42
|
+
}
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
@@ -44,4 +50,10 @@
|
|
|
44
50
|
--textarea-min-height: 80px;
|
|
45
51
|
--textarea-max-height: 80px;
|
|
46
52
|
--textarea-success-border: var(--color-surface-border-tertiary);
|
|
53
|
+
|
|
54
|
+
/* Size */
|
|
55
|
+
@each $size, $value in (xxl, xl, l, m, s, xs, xxs),
|
|
56
|
+
(17px 25px, 13px 20px, 9px 15px, 7px 12px, 5px 10px, 5px 10px, 5px 10px) {
|
|
57
|
+
--textarea-size-$(size)-padding: $value;
|
|
58
|
+
}
|
|
47
59
|
}
|
|
@@ -53,4 +53,13 @@
|
|
|
53
53
|
--tile-wrapper-flex: 1 1;
|
|
54
54
|
--tile-wrapper-group-flex: 1;
|
|
55
55
|
--tile-title-margin-right: 40px;
|
|
56
|
+
--tile-shape-rounded: 0;
|
|
57
|
+
--tile-type-icon: 0;
|
|
58
|
+
|
|
59
|
+
/* Size */
|
|
60
|
+
@each $size, $value in (xxl, xl, l, m, s, xs, xxs), (0, 0, 0, 0, 0, 0, 0) {
|
|
61
|
+
--tile-size-$(size)-min-width: $value;
|
|
62
|
+
--tile-size-$(size)-padding: $value;
|
|
63
|
+
--tile-size-$(size)-gap: $value;
|
|
64
|
+
}
|
|
56
65
|
}
|
|
@@ -164,4 +164,11 @@
|
|
|
164
164
|
--tooltip-arrow-radius: 2px;
|
|
165
165
|
|
|
166
166
|
--tooltip-arrow-color: var(--color-surface-primary);
|
|
167
|
+
--tooltip-shape-rounded-default: 0;
|
|
168
|
+
|
|
169
|
+
/* Size */
|
|
170
|
+
@each $size, $value in (xxl, xl, l, m, s, xs, xxs), (0, 0, 0, 0, 0, 0, 0) {
|
|
171
|
+
--tooltip-size-$(size)-padding: $value;
|
|
172
|
+
--tooltip-size-$(size)-gap: $value;
|
|
173
|
+
}
|
|
167
174
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.border-color {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
3
|
-
success, warning, info, danger, gradient {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
3
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, accent, disabled,
|
|
5
|
+
hover, inverse {
|
|
6
|
+
&_$(type) {
|
|
7
|
+
&-border {
|
|
8
8
|
&-$(color) {
|
|
9
9
|
border-width: 1px;
|
|
10
10
|
border-color: var(--color-$(type)-border-$(color));
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
.border-color {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
&_focus {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-border {
|
|
7
9
|
&-$(color) {
|
|
8
10
|
&:focus {
|
|
9
11
|
outline: 0;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
.border-color {
|
|
2
2
|
&_hover {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
&-hover {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&_$(type) {
|
|
9
|
+
&-border {
|
|
10
|
+
&-$(color) {
|
|
12
11
|
&:hover {
|
|
13
12
|
border-color: var(--color-$(type)-border-$(color));
|
|
14
13
|
}
|
|
14
|
+
&-hover {
|
|
15
|
+
&:hover {
|
|
16
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
}
|
|
17
21
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
.caret-color {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
3
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, accent, disabled,
|
|
5
|
+
hover, inverse {
|
|
6
|
+
&_$(type) {
|
|
7
|
+
&-item {
|
|
6
8
|
&-$(color) {
|
|
7
9
|
caret-color: var(--color-$(type)-item-$(color));
|
|
8
10
|
}
|
|
@@ -1,47 +1,32 @@
|
|
|
1
1
|
.fill {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
&_none {
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
}
|
|
5
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
6
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary, accent, disabled,
|
|
8
|
+
hover, inverse {
|
|
9
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
10
|
+
&_$(type) {
|
|
11
|
+
&-item {
|
|
8
12
|
&-$(color) {
|
|
9
13
|
background: var(--color-$(type)-item-$(color));
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
&$(alpha) {
|
|
14
|
+
|
|
15
|
+
/* &$(alpha) {
|
|
13
16
|
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
14
|
-
}
|
|
15
|
-
}
|
|
17
|
+
} */
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
|
-
}
|
|
19
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary,
|
|
20
|
-
accent, disabled, hover {
|
|
21
20
|
&-$(color) {
|
|
22
|
-
background: var(--color-$(type)-$(color));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
&$(alpha) {
|
|
21
|
+
background: var(--color-$(type)-fill-$(color));
|
|
22
|
+
|
|
23
|
+
/* &$(alpha) {
|
|
26
24
|
background: var(--color-$(type)-$(color)-$(alpha));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
@each $type in accent, primary, secondary, tertiary, quaternary, quinary,
|
|
34
|
-
senary, surface, error, success, warning, info, danger, gradient {
|
|
35
|
-
&_$(type) {
|
|
36
|
-
&-primary {
|
|
37
|
-
background: var(--color-$(type)-primary);
|
|
38
|
-
@each $opacity in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75,
|
|
39
|
-
80, 85, 90, 95 {
|
|
40
|
-
&$(alpha) {
|
|
41
|
-
background: var(--color-$(type)-primary$(opacity));
|
|
42
|
-
}
|
|
25
|
+
} */
|
|
43
26
|
}
|
|
44
27
|
}
|
|
28
|
+
|
|
29
|
+
/* } */
|
|
45
30
|
}
|
|
46
31
|
}
|
|
47
32
|
}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
.fill {
|
|
2
2
|
&_active {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-item {
|
|
9
|
+
&-$(color) {
|
|
10
|
+
background: var(--color-$(type)-item-$(color));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
8
13
|
&-$(color) {
|
|
9
|
-
background: var(--color-$(type)-$(color));
|
|
14
|
+
background: var(--color-$(type)-fill-$(color));
|
|
10
15
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
&-primary {
|
|
18
|
-
&-active {
|
|
19
|
-
background: var(--color-$(type)-primary-active);
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
&-primary {
|
|
19
|
+
&-active {
|
|
20
|
+
background: var(--color-$(type)-fill--primary-active);
|
|
21
|
+
}
|
|
20
22
|
}
|
|
23
|
+
*/
|
|
21
24
|
}
|
|
22
25
|
}
|
|
23
26
|
}
|
|
@@ -1,31 +1,77 @@
|
|
|
1
1
|
.fill {
|
|
2
2
|
&_active {
|
|
3
3
|
&_hover {
|
|
4
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
5
|
+
error, success, warning, info, danger, gradient, disabled, hover,
|
|
6
|
+
inverse {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
8
|
+
disabled, hover, inverse {
|
|
9
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
10
|
+
&_$(type) {
|
|
11
|
+
&-item {
|
|
12
|
+
&-$(color) {
|
|
13
|
+
&:hover {
|
|
14
|
+
background: var(--color-$(type)-item-$(color));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* &$(alpha) {
|
|
18
|
+
&:hover {
|
|
19
|
+
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
20
|
+
}
|
|
21
|
+
} */
|
|
22
|
+
&-hover {
|
|
23
|
+
&:hover {
|
|
24
|
+
background: var(--color-$(type)-item-$(color)-hover);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* &$(alpha) {
|
|
28
|
+
&:hover {
|
|
29
|
+
background: var(
|
|
30
|
+
--color-$(type)-item-$(color)-$(alpha)-hover
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
} */
|
|
34
|
+
&-active {
|
|
35
|
+
&:hover {
|
|
36
|
+
background: var(
|
|
37
|
+
--color-$(type)-item-$(color)-active-hover
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* &$(alpha) {
|
|
42
|
+
&:hover {
|
|
43
|
+
background: var(
|
|
44
|
+
--color-$(type)-item-$(color)-$(alpha)-active-hover
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
} */
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
8
52
|
&-$(color) {
|
|
9
53
|
&:hover {
|
|
10
|
-
background: var(--color-$(type)-$(color));
|
|
54
|
+
background: var(--color-$(type)-fill-$(color));
|
|
11
55
|
}
|
|
12
56
|
&-hover {
|
|
13
57
|
&:hover {
|
|
14
|
-
background: var(--color-$(type)-$(color)-hover);
|
|
58
|
+
background: var(--color-$(type)-fill-$(color)-hover);
|
|
15
59
|
}
|
|
16
60
|
&-active {
|
|
17
61
|
&:hover {
|
|
18
|
-
background: var(--color-$(type)-$(color)-active-hover);
|
|
62
|
+
background: var(--color-$(type)-fill-$(color)-active-hover);
|
|
19
63
|
}
|
|
20
64
|
}
|
|
21
65
|
}
|
|
22
66
|
&-active {
|
|
23
67
|
&:hover {
|
|
24
|
-
background: var(--color-$(type)-$(color)-active);
|
|
68
|
+
background: var(--color-$(type)-fill-$(color)-active);
|
|
25
69
|
}
|
|
26
70
|
}
|
|
27
71
|
}
|
|
28
72
|
}
|
|
73
|
+
|
|
74
|
+
/* } */
|
|
29
75
|
}
|
|
30
76
|
}
|
|
31
77
|
}
|
|
@@ -1,36 +1,63 @@
|
|
|
1
1
|
.fill {
|
|
2
2
|
&_hover {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
8
|
+
&_$(type) {
|
|
9
|
+
&-item {
|
|
10
|
+
&-$(color) {
|
|
11
|
+
&:hover {
|
|
12
|
+
background: var(--color-$(type)-item-$(color));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* &$(alpha) {
|
|
16
|
+
&:hover {
|
|
17
|
+
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
18
|
+
}
|
|
19
|
+
} */
|
|
20
|
+
&-hover {
|
|
21
|
+
&:hover {
|
|
22
|
+
background: var(--color-$(type)-item-$(color)-hover);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* &$(alpha) {
|
|
26
|
+
&:hover {
|
|
27
|
+
background: var(
|
|
28
|
+
--color-$(type)-item-$(color)-$(alpha)-hover
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
} */
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
8
35
|
&-$(color) {
|
|
9
36
|
&:hover {
|
|
10
|
-
background: var(--color-$(type)-$(color));
|
|
37
|
+
background: var(--color-$(type)-fill-$(color));
|
|
11
38
|
}
|
|
12
39
|
&-hover {
|
|
13
40
|
&:hover {
|
|
14
|
-
background: var(--color-$(type)-$(color)-hover);
|
|
41
|
+
background: var(--color-$(type)-fill-$(color)-hover);
|
|
15
42
|
}
|
|
16
43
|
}
|
|
17
44
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
@each $type in accent, primary, secondary, tertiary, quaternary, quinary,
|
|
22
|
-
senary, surface, error, success, warning, info, danger, gradient {
|
|
23
|
-
&_$(type) {
|
|
24
|
-
&-primary {
|
|
25
|
-
&:hover {
|
|
26
|
-
background: var(--color-$(type)-primary);
|
|
27
|
-
}
|
|
28
|
-
&-hover {
|
|
45
|
+
|
|
46
|
+
/*
|
|
47
|
+
&-primary {
|
|
29
48
|
&:hover {
|
|
30
|
-
background: var(--color-$(type)-primary
|
|
49
|
+
background: var(--color-$(type)-fill-primary);
|
|
50
|
+
}
|
|
51
|
+
&-hover {
|
|
52
|
+
&:hover {
|
|
53
|
+
background: var(--color-$(type)-fill-primary-hover);
|
|
54
|
+
}
|
|
31
55
|
}
|
|
32
56
|
}
|
|
57
|
+
*/
|
|
33
58
|
}
|
|
59
|
+
|
|
60
|
+
/* } */
|
|
34
61
|
}
|
|
35
62
|
}
|
|
36
63
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.opacity {
|
|
2
|
-
@each $val in
|
|
2
|
+
@each $val in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85,
|
|
3
|
+
90, 95 {
|
|
3
4
|
&_$(val) {
|
|
4
|
-
opacity: $(val)%;
|
|
5
|
+
opacity: $(val) %;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
.placeholder-text-color {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
3
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
4
|
+
@each $color in primary, secondary, tertiary, quaternary, accent, disabled,
|
|
5
|
+
hover, inverse {
|
|
6
|
+
&_$(type) {
|
|
7
|
+
&-text {
|
|
6
8
|
&-$(color) {
|
|
7
9
|
&::placeholder {
|
|
8
10
|
color: var(--color-$(type)-text-$(color));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.svg {
|
|
2
2
|
&_fill {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary,
|
|
4
|
-
error {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-item {
|
|
9
9
|
&-$(color) {
|
|
10
10
|
& svg {
|
|
11
11
|
stroke: none;
|
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
}
|
|
21
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
22
|
-
senary, accent, disabled, hover, inverse {
|
|
23
20
|
&-$(color) {
|
|
24
21
|
& svg {
|
|
25
22
|
stroke: none;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
.svg {
|
|
2
2
|
&_fill_hover {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-item {
|
|
7
9
|
&-$(color) {
|
|
8
10
|
&:hover {
|
|
9
11
|
& svg {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
.svg {
|
|
2
2
|
&_path_fill {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-item {
|
|
8
9
|
&-$(color) {
|
|
9
10
|
& path {
|
|
10
11
|
fill: var(--color-$(type)-item-$(color));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.text {
|
|
2
2
|
&&-color {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-text {
|
|
9
9
|
&-$(color) {
|
|
10
10
|
color: var(--color-$(type)-text-$(color));
|
|
11
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.text {
|
|
2
2
|
&&-color {
|
|
3
3
|
&_active {
|
|
4
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
5
|
-
success,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
5
|
+
error, success, warning, info, danger, gradient, disabled, hover,
|
|
6
|
+
inverse {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
8
|
+
disabled, hover, inverse {
|
|
9
|
+
&_$(type) {
|
|
10
|
+
&-text {
|
|
10
11
|
&-$(color) {
|
|
11
12
|
color: var(--color-$(type)-text-$(color));
|
|
12
13
|
}
|