@itcase/ui 1.8.94 → 1.8.96
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/{Avatar_cjs_Dh7c9RmS.js → Avatar_cjs_BcGACdXb.js} +1 -1
- package/dist/{Avatar_es_D4xUwAOB.js → Avatar_es_CRe2Om1a.js} +1 -1
- package/dist/{Button_cjs_DuAAQvct.js → Button_cjs_DojNe74O.js} +2 -2
- package/dist/{Button_es_DgLivwXd.js → Button_es_DCM3C_2S.js} +2 -2
- package/dist/{ChipsGroup_cjs_7mHtHzNh.js → ChipsGroup_cjs_DFdZuX6w.js} +1 -1
- package/dist/{ChipsGroup_es_Cz_gDYsw.js → ChipsGroup_es_Dm-iGTBi.js} +1 -1
- package/dist/{DatePicker_cjs_Ca9M-Ks1.js → DatePicker_cjs_mrV_Qly2.js} +3 -3
- package/dist/{DatePicker_es_DU2ZE7vb.js → DatePicker_es_Di_4I2Xv.js} +3 -3
- package/dist/{Divider_cjs_rxMMBfLC.js → Divider_cjs_DUYtmwn2.js} +3 -3
- package/dist/{Divider_es_CiRU0sTz.js → Divider_es_CCLBFIx6.js} +3 -3
- package/dist/{DropdownItem_cjs_DrMFaKh6.js → DropdownItem_cjs_DNSMwZdV.js} +2 -2
- package/dist/{DropdownItem_es_Dp7-DGkV.js → DropdownItem_es_DURwA4mR.js} +2 -2
- package/dist/{Icon_cjs_CDMtlf1A.js → Icon_cjs_B-nskaAO.js} +25 -29
- package/dist/{Icon_es_MOmiy9nF.js → Icon_es_CTKPPrrC.js} +25 -29
- package/dist/{Label_cjs_BTLhlnJW.js → Label_cjs_B1fNYJak.js} +1 -1
- package/dist/{Label_es_DBPp2ots.js → Label_es_d9RioNNf.js} +1 -1
- package/dist/{Loader_cjs_jCYE0aEd.js → Loader_cjs_CMvh28cF.js} +1 -3
- package/dist/{Loader_es_tNV0bjm_.js → Loader_es_DGMpRDMk.js} +1 -3
- package/dist/cjs/components/Accordion.js +6 -7
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +8 -7
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response.js +3 -3
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +3 -3
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Tile.js +13 -13
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +23 -18
- package/dist/components/Accordion.js +6 -7
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Divider.js +1 -1
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/Loader.js +1 -1
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +8 -7
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response.js +3 -3
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +3 -3
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tile.js +13 -13
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Accordion/Accordion.css +12 -36
- package/dist/css/components/Loader/Loader.css +0 -6
- package/dist/css/styles/align/align_horizontal.css +22 -40
- package/dist/css/styles/align/align_vertical.css +7 -25
- package/dist/css/styles/alignment/alignment.css +0 -8
- package/dist/css/styles/border-color/border-color.css +2 -3
- package/dist/css/styles/border-color/border-color_active.css +2 -3
- package/dist/css/styles/border-color/border-color_focus.css +2 -3
- package/dist/css/styles/border-color/border-color_hover.css +2 -3
- package/dist/css/styles/fill/fill_active.css +2 -4
- package/dist/css/styles/fill/fill_active_hover.css +2 -4
- package/dist/css/styles/fill/fill_hover.css +2 -3
- package/dist/css/styles/text-color/text-color_active.css +2 -4
- package/dist/css/styles/text-color/text-color_active_hover.css +2 -4
- package/dist/css/styles/text-color/text-color_hover.css +2 -4
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +23 -18
- package/dist/types/components/Accordion/Accordion.interface.d.ts +21 -39
- package/dist/types/components/Badge/Badge.appearance.d.ts +230 -2
- package/dist/types/components/Badge/Badge.interface.d.ts +26 -19
- package/dist/types/components/Badge/appearance/badgeShape.d.ts +4 -4
- package/dist/types/components/Divider/Divider.appearance.d.ts +814 -2
- package/dist/types/components/Divider/Divider.interface.d.ts +24 -36
- package/dist/types/components/Divider/appearance/dividerAccent.d.ts +2 -5
- package/dist/types/components/Divider/appearance/dividerError.d.ts +2 -5
- package/dist/types/components/Divider/appearance/dividerPrimary.d.ts +2 -5
- package/dist/types/components/Divider/appearance/dividerSecondary.d.ts +2 -5
- package/dist/types/components/Divider/appearance/dividerSize.d.ts +2 -11
- package/dist/types/components/Divider/appearance/dividerSuccess.d.ts +2 -5
- package/dist/types/components/Divider/appearance/dividerSurface.d.ts +2 -14
- package/dist/types/components/Divider/appearance/dividerWarning.d.ts +2 -5
- package/dist/types/components/Icon/Icon.appearance.d.ts +41 -2
- package/dist/types/components/Icon/Icon.d.ts +1 -0
- package/dist/types/components/Icon/Icon.interface.d.ts +59 -73
- package/dist/types/components/Icon/appearance/iconAccent.d.ts +2 -22
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +2 -13
- package/dist/types/components/Icon/appearance/iconDisabled.d.ts +2 -12
- package/dist/types/components/Icon/appearance/iconError.d.ts +2 -15
- package/dist/types/components/Icon/appearance/iconInfo.d.ts +2 -18
- package/dist/types/components/Icon/appearance/iconPrimary.d.ts +2 -15
- package/dist/types/components/Icon/appearance/iconSecondary.d.ts +2 -13
- package/dist/types/components/Icon/appearance/iconShape.d.ts +2 -24
- package/dist/types/components/Icon/appearance/iconSize.d.ts +2 -142
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +2 -13
- package/dist/types/components/Icon/appearance/iconSuccess.d.ts +2 -13
- package/dist/types/components/Icon/appearance/iconSurface.d.ts +2 -27
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +2 -15
- package/dist/types/components/Image/Image.d.ts +2 -5
- package/dist/types/components/Loader/Loader.appearance.d.ts +466 -2
- package/dist/types/components/Loader/Loader.interface.d.ts +12 -14
- package/dist/types/components/Logo/Logo.d.ts +2 -6
- package/dist/types/components/Response/Response.d.ts +2 -6
- package/dist/types/components/SVGContent/SVGContent.d.ts +2 -5
- package/dist/types/components/Tile/Tile.appearance.d.ts +60 -2
- package/dist/types/components/Tile/Tile.interface.d.ts +46 -28
- package/dist/types/components/Tile/appearance/tileShape.d.ts +2 -24
- package/dist/types/components/Tile/appearance/tileSize.d.ts +2 -50
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +2 -13
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +2 -38
- package/dist/types/hoc/urlWithAssetPrefix.d.ts +3 -2
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +7 -2
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +1 -10
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +78 -102
- package/dist/types/types/utils.d.ts +4 -0
- package/package.json +6 -8
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
7
7
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import { icons20 } from '@itcase/icons/default';
|
|
@@ -6,8 +6,8 @@ import ReactPaginate from 'react-paginate';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_DURwA4mR.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
11
11
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
12
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
13
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
@@ -23,7 +23,7 @@ import 'react-responsive';
|
|
|
23
23
|
import '../utils/setViewportProperty.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Divider_es_CCLBFIx6.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../hoc/urlWithAssetPrefix.js';
|
|
29
29
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -7,7 +7,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
10
|
-
import { B as Button } from '../
|
|
10
|
+
import { B as Button } from '../Button_es_DCM3C_2S.js';
|
|
11
11
|
import { G as Group } from '../Group_es_Bo7Y6JwT.js';
|
|
12
12
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
13
13
|
import '@itcase/common';
|
|
@@ -23,10 +23,10 @@ import 'react-responsive';
|
|
|
23
23
|
import '../utils/setViewportProperty.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Icon_es_CTKPPrrC.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Loader_es_DGMpRDMk.js';
|
|
30
30
|
|
|
31
31
|
var responseAppearanceConfirm = {
|
|
32
32
|
confirm: {
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { I as Icon } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
10
10
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Icon_es_CTKPPrrC.js';
|
|
5
5
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -10,8 +10,8 @@ import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
|
10
10
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
11
11
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
12
12
|
import { icons12, icons16, icons14, icons24 } from '@itcase/icons/default';
|
|
13
|
-
import { L as Loader } from '../
|
|
14
|
-
import { D as Divider } from '../
|
|
13
|
+
import { L as Loader } from '../Loader_es_DGMpRDMk.js';
|
|
14
|
+
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
15
15
|
import 'react-inlinesvg';
|
|
16
16
|
import '../hoc/urlWithAssetPrefix.js';
|
|
17
17
|
import '@itcase/common';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_CTKPPrrC.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,8 +4,8 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
-
import { D as Divider } from '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
8
|
+
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
9
9
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
10
10
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
11
11
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
7
7
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
@@ -31,21 +31,21 @@ var tileAppearanceShape = {
|
|
|
31
31
|
rounded: {
|
|
32
32
|
shape: 'rounded',
|
|
33
33
|
},
|
|
34
|
-
|
|
35
|
-
shape: 'rounded',
|
|
36
|
-
shapeStrength: '0_5m',
|
|
37
|
-
},
|
|
38
|
-
roundedM: {
|
|
34
|
+
roundedXL: {
|
|
39
35
|
shape: 'rounded',
|
|
40
|
-
shapeStrength: '
|
|
36
|
+
shapeStrength: '2m',
|
|
41
37
|
},
|
|
42
38
|
roundedL: {
|
|
43
39
|
shape: 'rounded',
|
|
44
40
|
shapeStrength: '1_5m',
|
|
45
41
|
},
|
|
46
|
-
|
|
42
|
+
roundedM: {
|
|
47
43
|
shape: 'rounded',
|
|
48
|
-
shapeStrength: '
|
|
44
|
+
shapeStrength: '1m',
|
|
45
|
+
},
|
|
46
|
+
roundedS: {
|
|
47
|
+
shape: 'rounded',
|
|
48
|
+
shapeStrength: '0_5m',
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -153,7 +153,7 @@ var tileAppearanceSurface = {
|
|
|
153
153
|
},
|
|
154
154
|
};
|
|
155
155
|
|
|
156
|
-
var tileAppearance = __assign(__assign(__assign(__assign({},
|
|
156
|
+
var tileAppearance = __assign(__assign(__assign(__assign({}, tileAppearanceShape), tileAppearanceSize), tileAppearanceStyle), tileAppearanceSurface);
|
|
157
157
|
|
|
158
158
|
var tileConfig = {
|
|
159
159
|
appearance: tileAppearance,
|
|
@@ -162,13 +162,13 @@ var tileConfig = {
|
|
|
162
162
|
},
|
|
163
163
|
};
|
|
164
164
|
function Tile(props) {
|
|
165
|
-
var className = props.className, type = props.type, appearance = props.appearance,
|
|
165
|
+
var className = props.className, type = props.type, appearance = props.appearance, title = props.title, desc = props.desc, badgeValue = props.badgeValue, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
|
|
166
166
|
var appearanceConfig = useAppearanceConfig(appearance, tileConfig);
|
|
167
167
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
168
|
-
var
|
|
168
|
+
var dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, directionClass = propsGenerator.directionClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWrap = propsGenerator.descTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, icon = propsGenerator.icon, iconAppearance = propsGenerator.iconAppearance, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
169
169
|
// @ts-expect-error
|
|
170
170
|
var tileStyles = useStyles(props).styles;
|
|
171
|
-
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), alignClass && "align_".concat(alignClass),
|
|
171
|
+
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), alignClass && "align_".concat(alignClass), directionClass && "direction_".concat(directionClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badgeValue && "tile_state_badge", widthClass && "width_".concat(widthClass), isSkeleton && "tile_skeleton"), "data-test-id": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxs("div", { className: "tile__header", children: [jsxs("div", { className: "tile__header-inner", children: [title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsx(Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsx(Badge, { className: "tile__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: "tile__icon", appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { Tile, tileAppearance, tileConfig };
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_CTKPPrrC.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_CTKPPrrC.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_CTKPPrrC.js';
|
|
5
5
|
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -25,35 +25,6 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.accordion {
|
|
29
|
-
&_shape {
|
|
30
|
-
&_rounded {
|
|
31
|
-
border-radius: var(--accordion-shape-rounded);
|
|
32
|
-
^^&-item {
|
|
33
|
-
&:first-child {
|
|
34
|
-
border-radius: var(--accordion-shape-rounded)
|
|
35
|
-
var(--accordion-shape-rounded) 0 0;
|
|
36
|
-
}
|
|
37
|
-
&:last-child {
|
|
38
|
-
border-radius: 0 0 var(--accordion-shape-rounded)
|
|
39
|
-
var(--accordion-shape-rounded);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
.accordion-item {
|
|
46
|
-
&&_zero-padding {
|
|
47
|
-
^&__header {
|
|
48
|
-
padding: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
&&_zero-gap {
|
|
52
|
-
^&__wrapper {
|
|
53
|
-
padding: 0;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
28
|
.accordion-item {
|
|
58
29
|
width: 100%;
|
|
59
30
|
display: flex;
|
|
@@ -83,13 +54,6 @@
|
|
|
83
54
|
width: 100%;
|
|
84
55
|
}
|
|
85
56
|
}
|
|
86
|
-
.accordion-item {
|
|
87
|
-
&_shape {
|
|
88
|
-
&_rounded {
|
|
89
|
-
border-radius: var(--accordion-item-shape-rounded);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
57
|
.accordion-item {
|
|
94
58
|
&_size {
|
|
95
59
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
@@ -114,6 +78,18 @@
|
|
|
114
78
|
}
|
|
115
79
|
}
|
|
116
80
|
}
|
|
81
|
+
.accordion-item {
|
|
82
|
+
&&_zero-padding {
|
|
83
|
+
^&__header {
|
|
84
|
+
padding: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
&&_zero-gap {
|
|
88
|
+
^&__wrapper {
|
|
89
|
+
padding: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
117
93
|
:root {
|
|
118
94
|
--accordion-item-header-xxl-padding: 14px 12px;
|
|
119
95
|
--accordion-item-header-xl-padding: 14px 12px;
|
|
@@ -103,10 +103,4 @@
|
|
|
103
103
|
--loader-s-min-height: 24px;
|
|
104
104
|
--loader-s-item: 6px;
|
|
105
105
|
--loader-s-gap: 8px;
|
|
106
|
-
|
|
107
|
-
/* Rounded */
|
|
108
|
-
--loader-shape-rounded-default: 0;
|
|
109
|
-
@each $size, $value in (xxl, xl, l, m, s, xs, xxs), (0, 0, 0, 0, 0, 0, 0) {
|
|
110
|
-
--loader-$(size)-shape-rounded: $value;
|
|
111
|
-
}
|
|
112
106
|
}
|
|
@@ -6,78 +6,60 @@
|
|
|
6
6
|
.align {
|
|
7
7
|
&_horizontal {
|
|
8
8
|
&_top {
|
|
9
|
-
@extend %align-horizontal;
|
|
10
9
|
align-items: flex-start;
|
|
10
|
+
@extend %align-horizontal;
|
|
11
11
|
&-left {
|
|
12
|
-
@extend %align-horizontal;
|
|
13
12
|
align-items: flex-start;
|
|
13
|
+
@extend %align-horizontal;
|
|
14
14
|
}
|
|
15
15
|
&-center {
|
|
16
|
-
@extend %align-horizontal;
|
|
17
16
|
text-align: center;
|
|
18
17
|
justify-content: center;
|
|
19
18
|
align-items: flex-start;
|
|
19
|
+
@extend %align-horizontal;
|
|
20
20
|
}
|
|
21
21
|
&-right {
|
|
22
|
-
@extend %align-horizontal;
|
|
23
22
|
text-align: right;
|
|
24
23
|
justify-content: flex-end;
|
|
25
24
|
align-items: flex-start;
|
|
26
|
-
}
|
|
27
|
-
&-auto {
|
|
28
|
-
@extend %align-horizontal;
|
|
29
|
-
text-align: right;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
align-items: flex-start;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
&-left {
|
|
35
|
-
@extend %align-horizontal;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
&-center {
|
|
39
|
-
@extend %align-horizontal;
|
|
40
|
-
text-align: center;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
align-items: center;
|
|
43
|
-
&-auto {
|
|
44
25
|
@extend %align-horizontal;
|
|
45
|
-
text-align: center;
|
|
46
|
-
justify-content: space-between;
|
|
47
|
-
align-items: center;
|
|
48
26
|
}
|
|
49
27
|
}
|
|
50
|
-
&-right {
|
|
51
|
-
@extend %align-horizontal;
|
|
52
|
-
text-align: right;
|
|
53
|
-
justify-content: flex-end;
|
|
54
|
-
align-items: center;
|
|
55
|
-
}
|
|
56
28
|
&_bottom {
|
|
57
|
-
@extend %align-horizontal;
|
|
58
29
|
align-items: flex-end;
|
|
30
|
+
@extend %align-horizontal;
|
|
59
31
|
&-left {
|
|
60
|
-
@extend %align-horizontal;
|
|
61
32
|
align-items: flex-end;
|
|
33
|
+
@extend %align-horizontal;
|
|
62
34
|
}
|
|
63
35
|
&-center {
|
|
64
|
-
@extend %align-horizontal;
|
|
65
36
|
text-align: center;
|
|
66
37
|
justify-content: center;
|
|
67
38
|
align-items: flex-end;
|
|
39
|
+
@extend %align-horizontal;
|
|
68
40
|
}
|
|
69
41
|
&-right {
|
|
70
42
|
text-align: right;
|
|
71
|
-
@extend %align-horizontal;
|
|
72
43
|
justify-content: flex-end;
|
|
73
44
|
align-items: flex-end;
|
|
74
|
-
}
|
|
75
|
-
&-auto {
|
|
76
45
|
@extend %align-horizontal;
|
|
77
|
-
text-align: right;
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
align-items: flex-end;
|
|
80
46
|
}
|
|
81
47
|
}
|
|
48
|
+
&-left {
|
|
49
|
+
align-items: center;
|
|
50
|
+
@extend %align-horizontal;
|
|
51
|
+
}
|
|
52
|
+
&-center {
|
|
53
|
+
text-align: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
align-items: center;
|
|
56
|
+
@extend %align-horizontal;
|
|
57
|
+
}
|
|
58
|
+
&-right {
|
|
59
|
+
text-align: right;
|
|
60
|
+
justify-content: flex-end;
|
|
61
|
+
align-items: center;
|
|
62
|
+
@extend %align-horizontal;
|
|
63
|
+
}
|
|
82
64
|
}
|
|
83
65
|
}
|
|
@@ -7,72 +7,54 @@
|
|
|
7
7
|
&_vertical {
|
|
8
8
|
&-top {
|
|
9
9
|
&-left {
|
|
10
|
-
@extend %align-vertical;
|
|
11
10
|
align-items: flex-start;
|
|
11
|
+
@extend %align-vertical;
|
|
12
12
|
}
|
|
13
13
|
&-center {
|
|
14
|
-
@extend %align-vertical;
|
|
15
14
|
text-align: center;
|
|
16
15
|
align-items: center;
|
|
16
|
+
@extend %align-vertical;
|
|
17
17
|
}
|
|
18
18
|
&-right {
|
|
19
|
-
@extend %align-vertical;
|
|
20
19
|
text-align: right;
|
|
21
20
|
align-items: flex-end;
|
|
22
|
-
}
|
|
23
|
-
&-auto {
|
|
24
21
|
@extend %align-vertical;
|
|
25
|
-
text-align: center;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
align-items: center;
|
|
28
22
|
}
|
|
29
23
|
}
|
|
30
24
|
&-left {
|
|
31
|
-
@extend %align-vertical;
|
|
32
25
|
justify-content: center;
|
|
33
26
|
align-items: flex-start;
|
|
27
|
+
@extend %align-vertical;
|
|
34
28
|
}
|
|
35
29
|
&-center {
|
|
36
|
-
@extend %align-vertical;
|
|
37
30
|
text-align: center;
|
|
38
31
|
justify-content: center;
|
|
39
32
|
align-items: center;
|
|
40
|
-
|
|
41
|
-
@extend %align-vertical;
|
|
42
|
-
text-align: center;
|
|
43
|
-
justify-content: space-between;
|
|
44
|
-
align-items: center;
|
|
45
|
-
}
|
|
33
|
+
@extend %align-vertical;
|
|
46
34
|
}
|
|
47
35
|
&-right {
|
|
48
|
-
@extend %align-vertical;
|
|
49
36
|
text-align: right;
|
|
50
37
|
justify-content: center;
|
|
51
38
|
align-items: flex-end;
|
|
39
|
+
@extend %align-vertical;
|
|
52
40
|
}
|
|
53
41
|
&-bottom {
|
|
54
42
|
&-left {
|
|
55
|
-
@extend %align-vertical;
|
|
56
43
|
justify-content: flex-end;
|
|
57
44
|
align-items: flex-start;
|
|
45
|
+
@extend %align-vertical;
|
|
58
46
|
}
|
|
59
47
|
&-center {
|
|
60
|
-
@extend %align-vertical;
|
|
61
48
|
text-align: center;
|
|
62
49
|
justify-content: flex-end;
|
|
63
50
|
align-items: center;
|
|
51
|
+
@extend %align-vertical;
|
|
64
52
|
}
|
|
65
53
|
&-right {
|
|
66
|
-
@extend %align-vertical;
|
|
67
54
|
text-align: right;
|
|
68
55
|
justify-content: flex-end;
|
|
69
56
|
align-items: flex-end;
|
|
70
|
-
}
|
|
71
|
-
&-auto {
|
|
72
57
|
@extend %align-vertical;
|
|
73
|
-
text-align: center;
|
|
74
|
-
justify-content: space-between;
|
|
75
|
-
align-items: center;
|
|
76
58
|
}
|
|
77
59
|
}
|
|
78
60
|
}
|
|
@@ -4,19 +4,16 @@
|
|
|
4
4
|
position: absolute;
|
|
5
5
|
right: 100%;
|
|
6
6
|
bottom: 100%;
|
|
7
|
-
transform: translate(calc(0% - 12px), calc(0% - 12px));
|
|
8
7
|
}
|
|
9
8
|
&-center {
|
|
10
9
|
position: absolute;
|
|
11
10
|
left: 50%;
|
|
12
11
|
bottom: 100%;
|
|
13
|
-
transform: translate(-50%, calc(0% - 12px));
|
|
14
12
|
}
|
|
15
13
|
&-right {
|
|
16
14
|
position: absolute;
|
|
17
15
|
left: 100%;
|
|
18
16
|
bottom: 100%;
|
|
19
|
-
transform: translate(calc(0% + 12px), calc(0% - 12px));
|
|
20
17
|
}
|
|
21
18
|
}
|
|
22
19
|
&_bottom {
|
|
@@ -24,31 +21,26 @@
|
|
|
24
21
|
position: absolute;
|
|
25
22
|
top: 100%;
|
|
26
23
|
right: 100%;
|
|
27
|
-
transform: translate(calc(0% - 12px), calc(0% + 12px));
|
|
28
24
|
}
|
|
29
25
|
&-center {
|
|
30
26
|
position: absolute;
|
|
31
27
|
left: 50%;
|
|
32
28
|
top: 100%;
|
|
33
|
-
transform: translate(-50%, calc(0% + 12px));
|
|
34
29
|
}
|
|
35
30
|
&-right {
|
|
36
31
|
position: absolute;
|
|
37
32
|
left: 100%;
|
|
38
33
|
top: 100%;
|
|
39
|
-
transform: translate(calc(0% + 12px), calc(0% + 12px));
|
|
40
34
|
}
|
|
41
35
|
}
|
|
42
36
|
&_left-center {
|
|
43
37
|
position: absolute;
|
|
44
38
|
top: 50%;
|
|
45
39
|
right: 100%;
|
|
46
|
-
transform: translate(calc(0% - 12px), -50%);
|
|
47
40
|
}
|
|
48
41
|
&_right-center {
|
|
49
42
|
position: absolute;
|
|
50
43
|
left: 100%;
|
|
51
44
|
top: 50%;
|
|
52
|
-
transform: translate(calc(0% + 12px), -50%);
|
|
53
45
|
}
|
|
54
46
|
}
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
border-style: solid;
|
|
6
6
|
}
|
|
7
7
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
8
|
-
error, success, warning, info, danger
|
|
9
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
10
|
-
hover, inverse {
|
|
8
|
+
error, success, warning, info, danger {
|
|
9
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
11
10
|
&_$(type) {
|
|
12
11
|
&-border {
|
|
13
12
|
&-$(color) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
.border-color {
|
|
2
2
|
&_active {
|
|
3
3
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
-
error, success, warning, info, danger
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
6
|
-
disabled, hover, inverse {
|
|
4
|
+
error, success, warning, info, danger {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
7
6
|
&_$(type) {
|
|
8
7
|
&-border {
|
|
9
8
|
&-$(color) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
.border-color {
|
|
2
2
|
&_focus {
|
|
3
3
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
-
error, success, warning, info, danger
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
6
|
-
disabled, hover, inverse {
|
|
4
|
+
error, success, warning, info, danger {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
7
6
|
&_$(type) {
|
|
8
7
|
&-border {
|
|
9
8
|
&-$(color) {
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
border-color: transparent;
|
|
5
5
|
}
|
|
6
6
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
7
|
-
error, success, warning, info, danger
|
|
8
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
9
|
-
disabled, hover, inverse {
|
|
7
|
+
error, success, warning, info, danger {
|
|
8
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
10
9
|
&_$(type) {
|
|
11
10
|
&-border {
|
|
12
11
|
&-$(color) {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
.fill {
|
|
2
2
|
&_active {
|
|
3
3
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
-
error, success, danger, warning, info, danger
|
|
5
|
-
|
|
6
|
-
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
7
|
-
disabled, hover, inverse {
|
|
4
|
+
error, success, danger, warning, info, danger {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
8
6
|
&_$(type) {
|
|
9
7
|
&-item {
|
|
10
8
|
&-$(color) {
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
&_active {
|
|
3
3
|
&_hover {
|
|
4
4
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
5
|
-
error, success, warning, info, danger
|
|
6
|
-
|
|
7
|
-
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
8
|
-
disabled, hover, inverse {
|
|
5
|
+
error, success, warning, info, danger {
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
9
7
|
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
10
8
|
&_$(type) {
|
|
11
9
|
&-item {
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
.fill {
|
|
4
4
|
&_hover {
|
|
5
5
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
6
|
-
error, success, warning, info, danger
|
|
7
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
8
|
-
disabled, hover, inverse {
|
|
6
|
+
error, success, warning, info, danger {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
9
8
|
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
10
9
|
&_$(type) {
|
|
11
10
|
&-item {
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
&&-color {
|
|
3
3
|
&_active {
|
|
4
4
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
5
|
-
error, success, warning, info, danger
|
|
6
|
-
|
|
7
|
-
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
8
|
-
disabled, hover, inverse {
|
|
5
|
+
error, success, warning, info, danger {
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
9
7
|
&_$(type) {
|
|
10
8
|
&-text {
|
|
11
9
|
&-$(color) {
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
&_active {
|
|
4
4
|
&_hover {
|
|
5
5
|
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
6
|
-
surface, error, success, warning, info, danger
|
|
7
|
-
|
|
8
|
-
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
9
|
-
disabled, hover, inverse {
|
|
6
|
+
surface, error, success, warning, info, danger {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
10
8
|
&_$(type) {
|
|
11
9
|
&-text {
|
|
12
10
|
&-$(color) {
|