@itcase/ui 1.8.21 → 1.8.23
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_CiQ14ufF.js → Avatar_cjs_D84VawE9.js} +2 -21
- package/dist/{Avatar_es_No9vSqji.js → Avatar_es_CUnfNViT.js} +2 -21
- package/dist/{Button_cjs_CnStmeGt.js → Button_cjs_MfWRETXI.js} +13 -4
- package/dist/{Button_es_BV1bepl1.js → Button_es_zW2pQTwL.js} +13 -4
- package/dist/{ChipsGroup_cjs_CL00pWKy.js → ChipsGroup_cjs_CTh6644i.js} +1 -1
- package/dist/{ChipsGroup_es_Ciln2otW.js → ChipsGroup_es_BFxBhYNB.js} +1 -1
- package/dist/{DatePicker_cjs_DGgkpGbI.js → DatePicker_cjs_uDJmwWkk.js} +3 -3
- package/dist/{DatePicker_es_BIOyGm22.js → DatePicker_es_5r0isX1_.js} +3 -3
- package/dist/{DropdownItem_cjs_DT-zspEr.js → DropdownItem_cjs_C6Jx7-kx.js} +1 -1
- package/dist/{DropdownItem_es_BJLFqVuH.js → DropdownItem_es_UdkGGVtg.js} +1 -1
- package/dist/{Label_cjs_Cqcf6ffp.js → Label_cjs_jN0dxo1q.js} +11 -3
- package/dist/{Label_es_CeNdA70T.js → Label_es_CFQzN-2m.js} +11 -3
- package/dist/{Link_cjs_BlXrJ15R.js → Link_cjs_DbRGq2Yk.js} +9 -9
- package/dist/{Link_es_CyJn7NFb.js → Link_es_DxtZLeKY.js} +9 -9
- package/dist/{Tooltip_cjs_Cq5kuaIK.js → Tooltip_cjs_CaocDcQ5.js} +85 -27
- package/dist/{Tooltip_es_D0PSqI2c.js → Tooltip_es_D1w1s33u.js} +85 -27
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +15 -149
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +2 -8
- 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/Dropdown.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +71 -129
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +29 -9
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +19 -5
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response/img.js +33 -0
- package/dist/cjs/components/Response.js +81 -213
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Tile.js +10 -172
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +15 -149
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +2 -8
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +71 -129
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +29 -9
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +19 -5
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response/img.js +31 -0
- package/dist/components/Response.js +81 -213
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tile.js +10 -172
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/AvatarStack/AvatarStack.css +2 -15
- package/dist/css/components/Badge/Badge.css +3 -3
- package/dist/css/components/Code/Code.css +3 -6
- package/dist/css/components/Label/Label.css +4 -4
- package/dist/css/components/MenuItem/MenuItem.css +19 -43
- package/dist/css/components/Response/Response.css +6 -3
- package/dist/css/components/Tab/Tab.css +14 -31
- package/dist/css/components/Tile/Tile.css +7 -5
- package/dist/css/styles/border-color/border-color.css +19 -0
- package/dist/css/styles/border-color/border-color_active.css +38 -0
- package/dist/css/styles/border-color/border-color_focus.css +25 -1
- package/dist/css/styles/border-color/border-color_hover.css +32 -0
- package/dist/css/styles/svg-color/svg_fill.css +5 -5
- package/dist/stories/Plsyground.mdx +0 -1
- package/dist/stories/index.stories.js +5 -8
- package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
- package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +13 -1
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +6 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +7 -2
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +1 -3
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +5 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +7 -1
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
- package/dist/types/components/{Response/appearance/responseDisabled.d.ts → InputPassword/appearance/inputPasswordDefault.d.ts} +9 -5
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +15 -6
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +7 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +15 -6
- package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -1
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +6 -4
- package/dist/types/components/Response/img/index.d.ts +12 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +0 -1
- package/package.json +6 -8
- package/dist/cjs/components/InputMask.js +0 -65
- package/dist/cjs/components/Panel.js +0 -44
- package/dist/components/InputMask.js +0 -62
- package/dist/components/Panel.js +0 -41
- package/dist/css/components/InputMask/InputMask.css +0 -77
- package/dist/css/components/Panel/Panel.css +0 -107
- package/dist/stories/Accordion.mdx +0 -11
- package/dist/stories/AccordionItem.mdx +0 -15
- package/dist/stories/Breadcrumbs.mdx +0 -15
- package/dist/stories/BreadcrumbsItem.mdx +0 -17
- package/dist/stories/Dot.mdx +0 -19
- package/dist/stories/Drawer.mdx +0 -11
- package/dist/stories/Dropdown.mdx +0 -12
- package/dist/stories/DropdownItem.mdx +0 -19
- package/dist/stories/Image.mdx +0 -15
- package/dist/stories/Input.mdx +0 -31
- package/dist/stories/InputPassword.mdx +0 -15
- package/dist/stories/Label.mdx +0 -11
- package/dist/stories/ListItem.mdx +0 -11
- package/dist/stories/Logo.mdx +0 -24
- package/dist/stories/MenuItem.mdx +0 -15
- package/dist/stories/Modal.mdx +0 -15
- package/dist/stories/Notification.mdx +0 -23
- package/dist/stories/Radio.mdx +0 -28
- package/dist/stories/Response.mdx +0 -11
- package/dist/stories/SearchInput.mdx +0 -19
- package/dist/stories/Switch.mdx +0 -23
- package/dist/stories/Tab.mdx +0 -27
- package/dist/stories/Text.mdx +0 -35
- package/dist/types/components/Cell/appearance/cellAccent.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellDanger.d.ts +0 -7
- package/dist/types/components/Cell/appearance/cellError.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellInfo.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellPrimary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSecondary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSuccess.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellWarning.d.ts +0 -11
- package/dist/types/components/InputMask/InputMask.d.ts +0 -5
- package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
- package/dist/types/components/InputMask/index.d.ts +0 -1
- package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +0 -20
- package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +0 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +0 -21
- package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +0 -25
- package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +0 -11
- package/dist/types/components/Panel/Panel.d.ts +0 -5
- package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
- package/dist/types/components/Panel/index.d.ts +0 -1
- package/dist/types/components/Response/appearance/responseAccent.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseDanger.d.ts +0 -7
- package/dist/types/components/Response/appearance/responseInfo.d.ts +0 -21
- package/dist/types/components/Response/appearance/responsePrimary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseRequire.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseSecondary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseSize.d.ts +0 -59
- package/dist/types/components/Response/appearance/responseStyle.d.ts +0 -16
- package/dist/types/components/Response/appearance/responseSurface.d.ts +0 -25
- package/dist/types/components/Tile/appearance/tileAccent.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileDanger.d.ts +0 -7
- package/dist/types/components/Tile/appearance/tileDisabled.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileError.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileInfo.d.ts +0 -21
- package/dist/types/components/Tile/appearance/tilePrimary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileRequire.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileSecondary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +0 -16
- package/dist/types/components/Tile/appearance/tileSuccess.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileWarning.d.ts +0 -11
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
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 } from '../
|
|
6
|
+
import { b as Title, B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -19,132 +19,9 @@ import '../utils/setViewportProperty.js';
|
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
|
-
import '../
|
|
23
|
-
|
|
24
|
-
var tileAppearanceAccent = {
|
|
25
|
-
accent: {
|
|
26
|
-
fill: 'accentPrimary',
|
|
27
|
-
fillHover: 'accentPrimaryHover',
|
|
28
|
-
},
|
|
29
|
-
accentPrimary: {
|
|
30
|
-
fill: 'accentPrimary',
|
|
31
|
-
fillHover: 'accentPrimaryHover',
|
|
32
|
-
borderColor: 'accentBorderPrimary',
|
|
33
|
-
},
|
|
34
|
-
accentSecondary: {
|
|
35
|
-
fill: 'accentPrimary',
|
|
36
|
-
fillHover: 'accentPrimaryHover',
|
|
37
|
-
labelTextColor: 'accentTextSecondary',
|
|
38
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
39
|
-
borderColor: 'accentBorderPrimary',
|
|
40
|
-
loaderItemFill: 'accentItemPrimary',
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
var tileAppearanceDanger = {
|
|
45
|
-
danger: {
|
|
46
|
-
fill: 'dangerPrimary',
|
|
47
|
-
fillHover: 'dangerPrimaryHover',
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
var tileAppearanceDisabled = {
|
|
52
|
-
disabledPrimary: {
|
|
53
|
-
fill: 'surfaceFillDisabled',
|
|
54
|
-
borderColor: 'errorBorderQuaternary',
|
|
55
|
-
borderHover: 'errorBorderQuaternary',
|
|
56
|
-
textColor: 'surfaceTextQuaternary',
|
|
57
|
-
iconBeforeFill: 'errorItemQuaternary',
|
|
58
|
-
iconClearFill: 'errorItemPrimary',
|
|
59
|
-
placeholderTextColor: 'surfaceTextQuaternary',
|
|
60
|
-
},
|
|
61
|
-
disabledSecondary: {
|
|
62
|
-
fill: 'surfaceSecondary',
|
|
63
|
-
borderColor: 'surfaceBorderTertiary',
|
|
64
|
-
borderHover: 'surfaceBorderQuaternary',
|
|
65
|
-
iconBeforeFill: 'surfaceItemQuaternary',
|
|
66
|
-
iconClearFill: 'surfaceItemPrimary',
|
|
67
|
-
placeholderTextColor: 'surfaceTextSecondary',
|
|
68
|
-
},
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
var tileAppearanceError = {
|
|
72
|
-
error: {
|
|
73
|
-
fill: 'errorPrimary',
|
|
74
|
-
fillHover: 'errorPrimaryHover',
|
|
75
|
-
labelTextColor: 'errorTextPrimary',
|
|
76
|
-
labelTextColorHover: 'errorTextPrimary',
|
|
77
|
-
loaderFill: 'errorPrimary',
|
|
78
|
-
loaderItemFill: 'errorItemPrimary',
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
var tileAppearanceInfo = {
|
|
83
|
-
info: {
|
|
84
|
-
fill: 'accentPrimary',
|
|
85
|
-
fillHover: 'accentPrimaryHover',
|
|
86
|
-
labelTextColor: 'accentTextPrimary',
|
|
87
|
-
labelTextColorHover: 'accentTextPrimary',
|
|
88
|
-
borderColor: 'accentBorderPrimary',
|
|
89
|
-
loaderFill: 'accentPrimary',
|
|
90
|
-
loaderItemFill: 'accentItemPrimary',
|
|
91
|
-
},
|
|
92
|
-
infoSecondary: {
|
|
93
|
-
fill: 'accentPrimary',
|
|
94
|
-
fillHover: 'accentPrimaryHover',
|
|
95
|
-
labelTextColor: 'accentTextSecondary',
|
|
96
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
97
|
-
borderColor: 'accentBorderPrimary',
|
|
98
|
-
loaderFill: 'accentPrimary',
|
|
99
|
-
loaderItemFill: 'accentItemPrimary',
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
var tileAppearancePrimary = {
|
|
104
|
-
primary: {
|
|
105
|
-
fill: 'primaryPrimary',
|
|
106
|
-
fillHover: 'primaryPrimaryHover',
|
|
107
|
-
labelTextColor: 'primaryTextPrimary',
|
|
108
|
-
},
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
var tileAppearanceRequire = {
|
|
112
|
-
requirePrimary: {
|
|
113
|
-
fill: 'warningTertiary',
|
|
114
|
-
borderColor: 'warningBorderQuaternary',
|
|
115
|
-
borderHover: 'warningBorderQuaternary',
|
|
116
|
-
textColor: 'surfaceTextPrimary',
|
|
117
|
-
iconBeforeFill: 'warningItemQuaternary',
|
|
118
|
-
iconClearFill: 'warningItemPrimary',
|
|
119
|
-
placeholderTextColor: 'surfaceTextQuaternary',
|
|
120
|
-
},
|
|
121
|
-
requireSecondary: {
|
|
122
|
-
fill: 'surfaceSecondary',
|
|
123
|
-
borderColor: 'surfaceBorderTertiary',
|
|
124
|
-
borderHover: 'surfaceBorderQuaternary',
|
|
125
|
-
iconBeforeFill: 'surfaceItemQuaternary',
|
|
126
|
-
iconClearFill: 'surfaceItemPrimary',
|
|
127
|
-
placeholderTextColor: 'surfaceTextSecondary',
|
|
128
|
-
},
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
var tileAppearanceSecondary = {
|
|
132
|
-
secondary: {
|
|
133
|
-
fill: 'secondaryPrimary',
|
|
134
|
-
fillHover: 'secondaryPrimaryHover',
|
|
135
|
-
labelTextColor: 'secondaryTextPrimary',
|
|
136
|
-
},
|
|
137
|
-
};
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
138
23
|
|
|
139
24
|
var tileAppearanceSize = {
|
|
140
|
-
sizeXXL: {
|
|
141
|
-
size: 'xxl',
|
|
142
|
-
labelTextSize: 'xxl',
|
|
143
|
-
iconAfterFillSize: '24',
|
|
144
|
-
iconAfterSize: '24',
|
|
145
|
-
iconBeforeFillSize: '24',
|
|
146
|
-
iconBeforeSize: '24',
|
|
147
|
-
},
|
|
148
25
|
sizeXL: {
|
|
149
26
|
size: 'xl',
|
|
150
27
|
labelTextSize: 'l',
|
|
@@ -188,37 +65,10 @@ var tileAppearanceSize = {
|
|
|
188
65
|
sizeXXS: {
|
|
189
66
|
size: 'xxs',
|
|
190
67
|
labelTextSize: 'xs',
|
|
191
|
-
iconAfterFillSize: '
|
|
192
|
-
iconAfterSize: '
|
|
193
|
-
iconBeforeFillSize: '
|
|
194
|
-
iconBeforeSize: '
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
var tileAppearanceStyle = {
|
|
199
|
-
full: {
|
|
200
|
-
borderColor: '0',
|
|
201
|
-
},
|
|
202
|
-
ghost: {
|
|
203
|
-
fill: 'none',
|
|
204
|
-
borderColor: '0',
|
|
205
|
-
},
|
|
206
|
-
outlined: {
|
|
207
|
-
fill: 'none',
|
|
208
|
-
},
|
|
209
|
-
solid: {
|
|
210
|
-
borderColor: '0',
|
|
211
|
-
},
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
var tileAppearanceSuccess = {
|
|
215
|
-
success: {
|
|
216
|
-
fill: 'successPrimary',
|
|
217
|
-
fillHover: 'successPrimaryHover',
|
|
218
|
-
labelTextColor: 'successTextSecondary',
|
|
219
|
-
labelTextColorHover: 'successTextSecondary',
|
|
220
|
-
loaderFill: 'successPrimary',
|
|
221
|
-
loaderItemFill: 'successItemPrimary',
|
|
68
|
+
iconAfterFillSize: '16',
|
|
69
|
+
iconAfterSize: '16',
|
|
70
|
+
iconBeforeFillSize: '16',
|
|
71
|
+
iconBeforeSize: '16',
|
|
222
72
|
},
|
|
223
73
|
};
|
|
224
74
|
|
|
@@ -237,7 +87,6 @@ var tileAppearanceSurface = {
|
|
|
237
87
|
fill: 'surfaceSecondary',
|
|
238
88
|
fillHover: 'surfaceSecondaryHover',
|
|
239
89
|
labelTextColor: 'surfaceTextPrimary',
|
|
240
|
-
loaderFill: 'surfaceSecondary',
|
|
241
90
|
loaderItemFill: 'surfaceItemPrimary',
|
|
242
91
|
},
|
|
243
92
|
surfaceTertiary: {
|
|
@@ -247,18 +96,7 @@ var tileAppearanceSurface = {
|
|
|
247
96
|
},
|
|
248
97
|
};
|
|
249
98
|
|
|
250
|
-
var
|
|
251
|
-
warning: {
|
|
252
|
-
fill: 'warningPrimary',
|
|
253
|
-
fillHover: 'warningPrimaryHover',
|
|
254
|
-
labelTextColor: 'warningTextSecondary',
|
|
255
|
-
labelTextColorHover: 'warningTextSecondary',
|
|
256
|
-
loaderFill: 'warningPrimary',
|
|
257
|
-
loaderItemFill: 'warningItemPrimary',
|
|
258
|
-
},
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
var tileAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, tileAppearanceSize), tileAppearanceDisabled), tileAppearanceRequire), tileAppearanceStyle), tileAppearanceAccent), tileAppearanceDanger), tileAppearanceError), tileAppearanceInfo), tileAppearancePrimary), tileAppearanceSecondary), tileAppearanceSuccess), tileAppearanceSurface), tileAppearanceWarning);
|
|
99
|
+
var tileAppearance = __assign(__assign({}, tileAppearanceSize), tileAppearanceSurface);
|
|
262
100
|
|
|
263
101
|
var tileConfig = {
|
|
264
102
|
appearance: tileAppearance,
|
|
@@ -267,16 +105,16 @@ var tileConfig = {
|
|
|
267
105
|
},
|
|
268
106
|
};
|
|
269
107
|
function Tile(props) {
|
|
270
|
-
var className = props.className, type = props.type, appearance = props.appearance, direction = props.direction,
|
|
108
|
+
var className = props.className, type = props.type, appearance = props.appearance, direction = props.direction, title = props.title, text = props.text, badge = props.badge, badgeAppearance = props.badgeAppearance, reverse = props.reverse, before = props.before, after = props.after, onClick = props.onClick, children = props.children;
|
|
271
109
|
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
272
110
|
var _a;
|
|
273
111
|
return (__assign(__assign({}, resultConfig), (_a = tileConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
274
112
|
}, {});
|
|
275
113
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
276
|
-
var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWrap = propsGenerator.textWrap, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, shapeClass = propsGenerator.shapeClass;
|
|
114
|
+
var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWrap = propsGenerator.textWrap, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
|
|
277
115
|
// @ts-expect-error
|
|
278
116
|
var tileStyles = useStyles(props).styles;
|
|
279
|
-
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse',
|
|
117
|
+
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badge && "tile_state_badge"), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), text && (jsx(Text, { className: "tile__text", size: textSize, textColor: textColor, textWrap: textWrap, children: text })), badge && (jsx(Badge, { className: "tile__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, value: badge })), children, after] }) }));
|
|
280
118
|
}
|
|
281
119
|
|
|
282
120
|
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 '../Tooltip_es_D1w1s33u.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,4 +19,4 @@ import 'lodash/maxBy';
|
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Text_es_BRb3qqKM.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
@@ -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 '../Tooltip_es_D1w1s33u.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,4 +19,4 @@ import 'lodash/maxBy';
|
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Text_es_BRb3qqKM.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.avatar {
|
|
1
|
+
div.avatar {
|
|
2
2
|
&-stack {
|
|
3
3
|
margin: 0 0 0 4px;
|
|
4
4
|
display: flex;
|
|
@@ -10,20 +10,7 @@
|
|
|
10
10
|
transition: all 0.3s ease;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
&:hover {
|
|
13
|
-
|
|
14
|
-
z-index: 2;
|
|
15
|
-
transition: all 0.3s ease;
|
|
16
|
-
}
|
|
17
|
-
^^&__wrapper {
|
|
18
|
-
background: linear-gradient(
|
|
19
|
-
90deg,
|
|
20
|
-
var(--color-surface-tertiary) 0%,
|
|
21
|
-
var(--color-accent-tertiary) 100%
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
^^&__image {
|
|
25
|
-
width: 100px;
|
|
26
|
-
height: auto;
|
|
13
|
+
z-index: 10;
|
|
27
14
|
transition: all 0.3s ease;
|
|
28
15
|
}
|
|
29
16
|
&-text {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
animation: badgeSkeleton 3s infinite linear !important;
|
|
14
14
|
background-image: linear-gradient(
|
|
15
15
|
90deg,
|
|
16
|
-
var(--color-surface-secondary),
|
|
17
|
-
var(--color-surface-tertiary),
|
|
18
|
-
var(--color-surface-secondary)
|
|
16
|
+
var(--color-surface-fill-secondary),
|
|
17
|
+
var(--color-surface-fill-tertiary),
|
|
18
|
+
var(--color-surface-fill-secondary)
|
|
19
19
|
) !important;
|
|
20
20
|
& * {
|
|
21
21
|
opacity: 0%;
|
|
@@ -19,13 +19,12 @@
|
|
|
19
19
|
}
|
|
20
20
|
.code__input {
|
|
21
21
|
&_size {
|
|
22
|
-
@each $size in
|
|
22
|
+
@each $size in l, m {
|
|
23
23
|
&_$(size) {
|
|
24
24
|
min-width: var(--code-input-size-$(size)-width);
|
|
25
25
|
min-height: var(--code-input-size-$(size)-height);
|
|
26
26
|
max-width: var(--code-input-size-$(size)-width);
|
|
27
27
|
max-height: var(--code-input-size-$(size)-height);
|
|
28
|
-
padding: var(--code-input-size-$(size)-padding);
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
}
|
|
@@ -50,12 +49,10 @@
|
|
|
50
49
|
}
|
|
51
50
|
:root {
|
|
52
51
|
--code-input-shape-rounded: 0;
|
|
53
|
-
@each $size, $width, $height, $padding, $gap in (
|
|
54
|
-
(
|
|
55
|
-
(8, 8, 8, 8, 8, 8, 8) {
|
|
52
|
+
@each $size, $width, $height, $padding, $gap in (l, m), (56px, 48px),
|
|
53
|
+
(56px, 48px), (8px, 8px) {
|
|
56
54
|
--code-input-size-$(size)-width: $width;
|
|
57
55
|
--code-input-size-$(size)-height: $height;
|
|
58
|
-
--code-input-size-$(size)-padding: $padding;
|
|
59
56
|
--code-size-$(size)-gap: $gap;
|
|
60
57
|
}
|
|
61
58
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.label {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
4
5
|
&__inner {
|
|
5
6
|
width: 100%;
|
|
6
7
|
font-size: 0;
|
|
@@ -8,7 +9,6 @@
|
|
|
8
9
|
display: flex;
|
|
9
10
|
justify-content: center;
|
|
10
11
|
align-items: center;
|
|
11
|
-
gap: 4px;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
.label {
|
|
@@ -53,9 +53,8 @@
|
|
|
53
53
|
&_size {
|
|
54
54
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
55
55
|
&_$(size) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
56
|
+
padding: var(--label-size-$(size)-padding);
|
|
57
|
+
gap: var(--label-size-$(size)-gap);
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
}
|
|
@@ -91,6 +90,7 @@ div.label {
|
|
|
91
90
|
--label-size-xxs-shape-rounded: 12px;
|
|
92
91
|
|
|
93
92
|
--label-size-xxl-padding: 10px 10px;
|
|
93
|
+
--label-size-xxl-gap: 8px;
|
|
94
94
|
--label-size-xl-padding: 7px 8px;
|
|
95
95
|
--label-size-l-padding: 4px 6px;
|
|
96
96
|
--label-size-m-padding: 2px 8px;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
.menu-item {
|
|
2
|
-
|
|
2
|
+
align-items: center;
|
|
3
|
+
&__wrapper {
|
|
4
|
+
width: 100%;
|
|
3
5
|
display: flex;
|
|
4
6
|
align-items: center;
|
|
5
|
-
gap: 4px;
|
|
6
7
|
align-content: center;
|
|
8
|
+
^&__label {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
flex-grow: 1;
|
|
12
|
+
}
|
|
7
13
|
}
|
|
8
14
|
}
|
|
9
15
|
|
|
@@ -11,55 +17,24 @@
|
|
|
11
17
|
&_direction {
|
|
12
18
|
&_horizontal {
|
|
13
19
|
display: flex;
|
|
14
|
-
^^&__label {
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
20
|
}
|
|
18
21
|
&_vertical {
|
|
19
22
|
display: flex;
|
|
20
|
-
^^&__label {
|
|
21
|
-
width: 100%;
|
|
22
|
-
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.menu-item {
|
|
28
|
-
@each $val in flex-start, flex-end, center, space-between, space-around,
|
|
28
|
+
@each $val in flex-start, flex-end, center, space-between, space-around,
|
|
29
|
+
space-evenly {
|
|
29
30
|
&_justify-content_$(val) {
|
|
30
|
-
|
|
31
|
+
^&__wrapper {
|
|
31
32
|
justify-content: $(val);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
.menu-item {
|
|
38
|
-
&_set {
|
|
39
|
-
&_filter {
|
|
40
|
-
color: var(--color-surface-text-primary);
|
|
41
|
-
padding: var(--menu-item-set-filter-padding);
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
&:not(:last-child) {
|
|
44
|
-
border-right: var(--menu-item-set-filter-border-right, initial);
|
|
45
|
-
}
|
|
46
|
-
&_active {
|
|
47
|
-
& span {
|
|
48
|
-
color: var(--menu-item-set-filter-active-color, initial);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.menu-item {
|
|
56
|
-
&_set {
|
|
57
|
-
&_subitem {
|
|
58
|
-
transform: translate(var(--menu-item-set-subitem-padding-left));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
38
|
.menu-item {
|
|
64
39
|
&_shape {
|
|
65
40
|
&_rounded {
|
|
@@ -75,7 +50,11 @@
|
|
|
75
50
|
&_size {
|
|
76
51
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
77
52
|
&_$(size) {
|
|
78
|
-
|
|
53
|
+
^^&__wrapper {
|
|
54
|
+
min-height: var(--menu-item-size-$(size)-min-height);
|
|
55
|
+
padding: var(--menu-item-size-$(size)-padding);
|
|
56
|
+
gap: var(--menu-item-size-$(size)-gap);
|
|
57
|
+
}
|
|
79
58
|
}
|
|
80
59
|
}
|
|
81
60
|
}
|
|
@@ -90,11 +69,8 @@
|
|
|
90
69
|
--menu-item-size-xl-padding: 10px 8px;
|
|
91
70
|
--menu-item-size-xxl-padding: 12px 10px;
|
|
92
71
|
|
|
93
|
-
--menu-item-
|
|
94
|
-
--menu-item-
|
|
72
|
+
--menu-item-size-m-min-height: 32px;
|
|
73
|
+
--menu-item-size-m-gap: 8px;
|
|
95
74
|
|
|
96
|
-
--menu-item-
|
|
97
|
-
--menu-item-set-filter-border-right: 1px solid
|
|
98
|
-
var(--color-surface-border-tertiary);
|
|
99
|
-
--menu-item-set-filter-active-color: var(--color-surface-item-accent);
|
|
75
|
+
--menu-item-shape-rounded: 20px;
|
|
100
76
|
}
|
|
@@ -11,12 +11,15 @@
|
|
|
11
11
|
justify-content: center;
|
|
12
12
|
align-items: center;
|
|
13
13
|
gap: 3m;
|
|
14
|
+
&-inner {
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
width: 100%;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
14
20
|
}
|
|
15
21
|
&__desc {
|
|
16
22
|
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
align-items: center;
|
|
20
23
|
gap: 1m;
|
|
21
24
|
}
|
|
22
25
|
&__button {
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
.tab {
|
|
2
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: column nowrap;
|
|
4
|
+
justify-content: flex-end;
|
|
5
|
+
&__wrapper {
|
|
3
6
|
display: flex;
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
^&__label {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
6
12
|
}
|
|
7
13
|
}
|
|
8
14
|
.tab-group {
|
|
@@ -10,29 +16,12 @@
|
|
|
10
16
|
display: flex;
|
|
11
17
|
flex-flow: row wrap;
|
|
12
18
|
align-items: stretch;
|
|
13
|
-
&
|
|
19
|
+
&__wrapper {
|
|
14
20
|
display: flex;
|
|
15
|
-
flex
|
|
16
|
-
justify-content:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
flex: 1;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: 4px;
|
|
23
|
-
}
|
|
24
|
-
&__label {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex: 1;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
div.tab-reset {
|
|
32
|
-
& .tab__wrapper {
|
|
33
|
-
padding: 0;
|
|
34
|
-
gap: 0;
|
|
35
|
-
margin: 0;
|
|
21
|
+
flex: 1;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 4px;
|
|
36
25
|
}
|
|
37
26
|
}
|
|
38
27
|
.tab {
|
|
@@ -69,12 +58,6 @@ div.tab-reset {
|
|
|
69
58
|
}
|
|
70
59
|
}
|
|
71
60
|
:root {
|
|
72
|
-
--tab-size-normal-padding: 12px;
|
|
73
|
-
--tab-size-normal-gap: 4px;
|
|
74
|
-
|
|
75
|
-
--tab-size-compact-padding: 12px;
|
|
76
|
-
--tab-size-compact-gap: 4px;
|
|
77
|
-
|
|
78
61
|
--tab-size-xxs-padding: 0px;
|
|
79
62
|
--tab-size-xxs-gap: 4px;
|
|
80
63
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
.tile {
|
|
24
24
|
&_size {
|
|
25
|
-
@each $size in
|
|
25
|
+
@each $size in xl, l, m, s, xs, xxs {
|
|
26
26
|
&_$(size) {
|
|
27
27
|
min-width: var(--tile-size-$(size)-min-width);
|
|
28
28
|
padding: var(--tile-size-$(size)-padding);
|
|
@@ -57,9 +57,11 @@
|
|
|
57
57
|
--tile-type-icon: 0;
|
|
58
58
|
|
|
59
59
|
/* Size */
|
|
60
|
-
@each $size, $
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
--tile-size-$(size)-
|
|
60
|
+
@each $size, $width, $padding, $gap in (xl, l, m, s, xs, xxs),
|
|
61
|
+
(400px, 320px, 240px, 172px, 96px, 80px), (24px, 24px, 16px, 8px, 8px, 4px),
|
|
62
|
+
(24px, 24px, 16px, 8px, 8px, 4px) {
|
|
63
|
+
--tile-size-$(size)-min-width: $width;
|
|
64
|
+
--tile-size-$(size)-padding: $padding;
|
|
65
|
+
--tile-size-$(size)-gap: $gap;
|
|
64
66
|
}
|
|
65
67
|
}
|
|
@@ -14,4 +14,23 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
|
|
18
|
+
pomagranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
|
|
19
|
+
apricot, papaya, kumquat, light-orange, peach, flamingo, rose-gold,
|
|
20
|
+
pink-sand, vintage-rose, grapefruit, cream, mellow-yellow, canary-yellow,
|
|
21
|
+
pollen, flash-light, lemon-cream, flash, dark-green, green, spearmint, mint,
|
|
22
|
+
beryl, sea-foam, turquoise, blue, light-blue, cerulian, surf-blue,
|
|
23
|
+
pacific-green, blue-cobalt, dark-teal, blue-horizon, denim-blue, linen-blue,
|
|
24
|
+
deep-navy, midnight-blue, purple, ultra-violet, lilac, ocean-blue,
|
|
25
|
+
delft-blue, indigo, lavender-gray, lavender, mist-blue, storm-gray, cactus,
|
|
26
|
+
pine-green, cyprus-green, northern-blue, azure, alaskan-blue, khaki,
|
|
27
|
+
dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
|
|
28
|
+
stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
|
|
29
|
+
sonic-silver {
|
|
30
|
+
&_$(palette) {
|
|
31
|
+
border-width: 1px;
|
|
32
|
+
border-color: var(--color-palette-$(palette));
|
|
33
|
+
border-style: solid;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
17
36
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.border-color {
|
|
2
|
+
&_active {
|
|
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 {
|
|
9
|
+
&-$(color) {
|
|
10
|
+
border-width: 1px;
|
|
11
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
12
|
+
border-style: solid;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
19
|
+
pink-citrus, pomagranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
20
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
21
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
22
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
23
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulian,
|
|
24
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
25
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
26
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
27
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
28
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
29
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
30
|
+
alto, athens-gray, sonic-silver {
|
|
31
|
+
&_$(palette) {
|
|
32
|
+
border-width: 1px;
|
|
33
|
+
border-color: var(--color-palette-$(palette));
|
|
34
|
+
border-style: solid;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|