@itcase/ui 1.8.31 → 1.8.33
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_DRaNGlad.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_Ck1RiTgB.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_CnBP4mKv.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_WG0yV-rp.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_BCnPa9xv.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_1854brF_.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_Cbv3ffoB.js → DatePicker_cjs_CJl9V32f.js} +11 -11
- package/dist/{DatePicker_es_DGck2HRu.js → DatePicker_es_C2Pi6aB-.js} +12 -12
- package/dist/{DropdownItem_cjs_C3BV7axh.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_VDp5tKZr.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Input_cjs_BAVggtkk.js → Input_cjs_arr_wxD2.js} +21 -20
- package/dist/{Input_es_CNduH28G.js → Input_es_BW6cZThr.js} +21 -20
- package/dist/{Label_cjs_CqSZcFNk.js → Label_cjs_CZMMdwt5.js} +1 -1
- package/dist/{Label_es_s3M2-dON.js → Label_es_DmDqs4Rc.js} +1 -1
- package/dist/{Tooltip_cjs_BE4fABOp.js → Tooltip_cjs_DinScDnC.js} +4 -2
- package/dist/{Tooltip_es_BPMRrd2L.js → Tooltip_es_B0nm9irO.js} +4 -2
- package/dist/cjs/components/Accordion.js +8 -8
- 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/stories/__mock__.js +5 -5
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell/stories/__mock__.js +4 -4
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice/stories/__mock__.js +68 -8
- package/dist/cjs/components/Choice.js +20 -15
- package/dist/cjs/components/Code.js +46 -58
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/{DadataHintField.js → Dadata.js} +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Drawer.js +7 -7
- package/dist/cjs/components/Dropdown/stories/__mock__.js +19 -4
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +4 -2
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +5 -5
- package/dist/cjs/components/Pagination.js +91 -19
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/ScrollOnDrag/stories/__mock__.js +15 -0
- package/dist/cjs/components/Scrollbar/stories/__mock__.js +7 -0
- package/dist/cjs/components/Search.js +28 -27
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper/stories/__mock__.js +16 -0
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +6 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/context/Notifications.js +6 -6
- package/dist/components/Accordion.js +9 -9
- 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/stories/__mock__.js +6 -6
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell/stories/__mock__.js +4 -4
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice/stories/__mock__.js +67 -8
- package/dist/components/Choice.js +20 -15
- package/dist/components/Code.js +46 -58
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/{DadataHintField.js → Dadata.js} +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Drawer.js +8 -8
- package/dist/components/Dropdown/stories/__mock__.js +20 -5
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +4 -2
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +93 -21
- package/dist/components/Response.js +2 -2
- package/dist/components/ScrollOnDrag/stories/__mock__.js +13 -0
- package/dist/components/Scrollbar/stories/__mock__.js +5 -0
- package/dist/components/Search.js +29 -28
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper/stories/__mock__.js +14 -0
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +7 -2
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/context/Notifications.js +6 -6
- package/dist/css/components/Choice/Choice.css +16 -21
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -9
- package/dist/css/components/Choice/css/__item/choice__item_size.css +4 -1
- package/dist/css/components/Code/Code.css +5 -7
- package/dist/css/components/{DadataHintField/DadataHintField.css → Dadata/Dadata.css} +9 -9
- package/dist/css/components/HTMLContent/HTMLContent.css +85 -18
- package/dist/css/components/Input/Input.css +6 -0
- package/dist/css/components/Search/Search.css +0 -1
- package/dist/css/components/Search/css/search-input/search-input.css +0 -1
- package/dist/css/components/Tab/Tab.css +4 -0
- package/dist/css/styles/border-color/border-color_hover.css +3 -0
- package/dist/stories/CookiesWarningOverview.mdx +1 -1
- package/dist/stories/CookiesWarningPlayground.mdx +1 -1
- package/dist/stories/DadataOverview.mdx +11 -0
- package/dist/stories/DadataPlaygroynd.mdx +11 -0
- package/dist/stories/HTMLContentOverview.mdx +1 -1
- package/dist/stories/HTMLContentPlayground.mdx +1 -1
- package/dist/stories/HeroTitleOverview.mdx +1 -1
- package/dist/stories/HeroTitlePlayground.mdx +1 -1
- package/dist/stories/LinkOverview.mdx +1 -1
- package/dist/stories/LinkPlayground.mdx +1 -1
- package/dist/stories/RangeSliderOverview.mdx +15 -0
- package/dist/stories/RangeSliderPlayground.mdx +10 -0
- package/dist/stories/SVGContentOverview.mdx +1 -1
- package/dist/stories/SVGContentPlayground.mdx +1 -1
- package/dist/stories/ScrollOnDragOverview.mdx +12 -0
- package/dist/stories/ScrollOnDragPlayground.mdx +10 -0
- package/dist/stories/ScrollbarOverview.mdx +15 -0
- package/dist/stories/ScrollbarPlayground.mdx +10 -0
- package/dist/stories/SwiperOverview.mdx +2 -2
- package/dist/stories/SwiperPlayground.mdx +2 -2
- package/dist/stories/TextOverview.mdx +1 -1
- package/dist/stories/TextPlayground.mdx +1 -1
- package/dist/stories/TitleOverview.mdx +1 -1
- package/dist/stories/TitlePlayground.mdx +1 -1
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
- package/dist/types/components/Choice/appearance/choiceError.d.ts +7 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -4
- package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
- package/dist/types/components/Code/appearance/codeDisabled.d.ts +7 -11
- package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeRequire.d.ts +7 -15
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
- package/dist/types/components/Code/appearance/codeStyle.d.ts +9 -9
- package/dist/types/components/Code/appearance/codeSuccess.d.ts +8 -7
- package/dist/types/components/Dadata/Dadata.d.ts +3 -0
- package/dist/types/components/{DadataHintField/DadataHintField.interface.d.ts → Dadata/Dadata.interface.d.ts} +1 -1
- package/dist/types/components/Dadata/index.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +1 -1
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +1 -1
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +5 -5
- package/dist/types/components/Input/appearance/inputDefault.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputDisabled.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputError.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputRequire.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputStyle.d.ts +7 -6
- package/dist/types/components/Input/appearance/inputSuccess.d.ts +2 -2
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +2 -0
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +21 -0
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +45 -0
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +14 -0
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +4 -12
- package/dist/types/components/ScrollOnDrag/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Scrollbar/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Search/appearance/searchDefault.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchDisabled.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchError.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchRequire.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchStyle.d.ts +8 -7
- package/dist/types/components/Search/appearance/searchSuccess.d.ts +1 -1
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/stories/Colors.mdx +0 -239
- package/dist/stories/DadataHintFieldOverview.mdx +0 -11
- package/dist/stories/DadataHintFieldPlaygroynd.mdx +0 -11
- package/dist/stories/Elevation.mdx +0 -80
- package/dist/stories/Settings.mdx +0 -3
- package/dist/stories/TypographyAM.mdx +0 -82
- package/dist/stories/TypographyBaikal.mdx +0 -82
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- package/dist/types/components/DadataHintField/index.d.ts +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import {
|
|
2
|
+
import { icons16, icons24 } from '@itcase/icons/default';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../
|
|
8
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
10
10
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -28,7 +28,7 @@ var searchAppearanceDefault = {
|
|
|
28
28
|
defaultPrimary: {
|
|
29
29
|
fill: 'surfaceSecondary',
|
|
30
30
|
borderColor: 'surfaceBorderQuaternary',
|
|
31
|
-
|
|
31
|
+
borderColorHover: 'surfaceBorderQuaternaryHover',
|
|
32
32
|
iconAfterFill: 'surfaceItemQuaternary',
|
|
33
33
|
iconBeforeFill: 'surfaceItemQuaternary',
|
|
34
34
|
iconClearFill: 'surfaceItemQuaternary',
|
|
@@ -41,7 +41,7 @@ var searchAppearanceDisabled = {
|
|
|
41
41
|
disabledPrimary: {
|
|
42
42
|
fill: 'surfaceDisabled',
|
|
43
43
|
borderColor: 'surfaceBorderDisabled',
|
|
44
|
-
|
|
44
|
+
borderColorHover: 'surfaceBorderDisabledHover',
|
|
45
45
|
iconAfterFill: 'surfaceItemPrimary',
|
|
46
46
|
iconBeforeFill: 'surfaceItemPrimary',
|
|
47
47
|
iconClearFill: 'surfaceItemPrimary',
|
|
@@ -54,7 +54,7 @@ var searchAppearanceError = {
|
|
|
54
54
|
errorPrimary: {
|
|
55
55
|
fill: 'errorTertiary',
|
|
56
56
|
borderColor: 'errorBorderQuaternary',
|
|
57
|
-
|
|
57
|
+
borderColorHover: 'errorBorderQuaternaryHover',
|
|
58
58
|
iconAfterFill: 'errorItemSecondary',
|
|
59
59
|
iconBeforeFill: 'errorItemSecondary',
|
|
60
60
|
iconClearFill: 'errorItemSecondary',
|
|
@@ -67,7 +67,7 @@ var searchAppearanceRequire = {
|
|
|
67
67
|
requirePrimary: {
|
|
68
68
|
fill: 'warningTertiary',
|
|
69
69
|
borderColor: 'warningBorderSecondary',
|
|
70
|
-
|
|
70
|
+
borderColorHover: 'warningBorderSecondaryHover',
|
|
71
71
|
iconAfterFill: 'warningItemSecondary',
|
|
72
72
|
iconBeforeFill: 'warningItemSecondary',
|
|
73
73
|
iconClearFill: 'warningItemSecondary',
|
|
@@ -79,61 +79,62 @@ var searchAppearanceRequire = {
|
|
|
79
79
|
var searchAppearanceSize = {
|
|
80
80
|
sizeXXL: {
|
|
81
81
|
size: 'xxl',
|
|
82
|
-
iconBefore:
|
|
83
|
-
iconClear:
|
|
82
|
+
iconBefore: icons24.Security.Search,
|
|
83
|
+
iconClear: icons24.Action.Clear,
|
|
84
84
|
inputTextSize: 'l',
|
|
85
85
|
placeholderTextSize: 'l',
|
|
86
86
|
},
|
|
87
87
|
sizeXL: {
|
|
88
88
|
size: 'xl',
|
|
89
|
-
iconBefore:
|
|
90
|
-
iconClear:
|
|
89
|
+
iconBefore: icons24.Security.Search,
|
|
90
|
+
iconClear: icons24.Action.Clear,
|
|
91
91
|
inputTextSize: 'm',
|
|
92
92
|
placeholderTextSize: 'm',
|
|
93
93
|
},
|
|
94
94
|
sizeL: {
|
|
95
95
|
size: 'l',
|
|
96
|
-
iconBefore:
|
|
97
|
-
iconClear:
|
|
96
|
+
iconBefore: icons24.Security.Search,
|
|
97
|
+
iconClear: icons24.Action.Clear,
|
|
98
98
|
inputTextSize: 's',
|
|
99
99
|
placeholderTextSize: 's',
|
|
100
100
|
},
|
|
101
101
|
sizeM: {
|
|
102
102
|
size: 'm',
|
|
103
|
-
iconBefore:
|
|
104
|
-
iconClear:
|
|
103
|
+
iconBefore: icons24.Security.Search,
|
|
104
|
+
iconClear: icons24.Action.Clear,
|
|
105
105
|
inputTextSize: 'm',
|
|
106
106
|
placeholderTextSize: 'm',
|
|
107
107
|
},
|
|
108
108
|
sizeS: {
|
|
109
109
|
size: 's',
|
|
110
|
-
iconBefore:
|
|
111
|
-
iconClear:
|
|
110
|
+
iconBefore: icons24.Security.Search,
|
|
111
|
+
iconClear: icons24.Action.Clear,
|
|
112
112
|
inputTextSize: 's',
|
|
113
113
|
placeholderTextSize: 's',
|
|
114
114
|
},
|
|
115
115
|
sizeXS: {
|
|
116
116
|
size: 'xs',
|
|
117
|
-
iconBefore:
|
|
118
|
-
iconClear:
|
|
117
|
+
iconBefore: icons16.Security.Search,
|
|
118
|
+
iconClear: icons16.Action.Clear,
|
|
119
119
|
inputTextSize: 's',
|
|
120
120
|
placeholderTextSize: 's',
|
|
121
121
|
},
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
var searchAppearanceStyle = {
|
|
125
|
-
|
|
125
|
+
solid: {
|
|
126
126
|
borderColor: 'none',
|
|
127
|
-
|
|
128
|
-
ghost: {
|
|
129
|
-
fill: 'none',
|
|
130
|
-
borderWidth: '0',
|
|
127
|
+
borderColorHover: 'none',
|
|
131
128
|
},
|
|
132
129
|
outlined: {
|
|
133
130
|
fill: 'none',
|
|
134
131
|
},
|
|
135
|
-
|
|
136
|
-
|
|
132
|
+
full: {
|
|
133
|
+
borderColor: 'none',
|
|
134
|
+
},
|
|
135
|
+
ghost: {
|
|
136
|
+
fill: 'none',
|
|
137
|
+
borderColor: 'none',
|
|
137
138
|
},
|
|
138
139
|
};
|
|
139
140
|
|
|
@@ -141,7 +142,7 @@ var searchAppearanceSuccess = {
|
|
|
141
142
|
successPrimary: {
|
|
142
143
|
fill: 'successTertiary',
|
|
143
144
|
borderColor: 'accentBorderQuaternary',
|
|
144
|
-
|
|
145
|
+
borderColorHover: 'accentBorderQuaternary',
|
|
145
146
|
textColor: 'surfaceTextPrimary',
|
|
146
147
|
iconAfterFill: 'successItemSecondary',
|
|
147
148
|
iconBeforeFill: 'successItemSecondary',
|
|
@@ -175,9 +176,9 @@ var SearchInput = React.forwardRef(function SearchInput(props, ref) {
|
|
|
175
176
|
return (__assign(__assign({}, resultConfig), (_a = searchInputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
176
177
|
}, {});
|
|
177
178
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
178
|
-
var size = propsGenerator.size, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass,
|
|
179
|
+
var size = propsGenerator.size, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, iconClear = propsGenerator.iconClear, iconClearFill = propsGenerator.iconClearFill, iconClearSize = propsGenerator.iconClearSize, iconClearSrc = propsGenerator.iconClearSrc, inputFillClass = propsGenerator.inputFillClass, inputShapeClass = propsGenerator.inputShapeClass, inputTextColorClass = propsGenerator.inputTextColorClass, inputTextSizeClass = propsGenerator.inputTextSizeClass, inputTextStyleClass = propsGenerator.inputTextStyleClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, placeholderTextColor = propsGenerator.placeholderTextColor, placeholderTextSize = propsGenerator.placeholderTextSize, placeholderTextStyle = propsGenerator.placeholderTextStyle, placeholderTextWeight = propsGenerator.placeholderTextWeight, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
|
|
179
180
|
var searchInputStyles = useStyles(props).styles;
|
|
180
|
-
return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass),
|
|
181
|
+
return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), size && "search-input_size_".concat(size), type && "search-input_type_".concat(type), isSkeleton && "search-input_skeleton"), "data-tour": dataTour, style: searchInputStyles, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-before", size: iconBeforeSize, iconFill: iconBeforeFill, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: clsx('search-input__wrapper', inputFillClass && "fill_".concat(inputFillClass), inputShapeClass && "search-input_shape_".concat(inputShapeClass)), children: [jsx("input", { className: clsx('search-input__value', (inputTextSizeClass ||
|
|
181
182
|
inputTextWeightClass ||
|
|
182
183
|
inputTextColorClass ||
|
|
183
184
|
inputTextStyleClass) &&
|
|
@@ -33,7 +33,7 @@ var segmentedAppearanceDefault = {
|
|
|
33
33
|
fill: 'surfaceSecondary',
|
|
34
34
|
fillActive: 'accentPrimary',
|
|
35
35
|
fillActiveHover: 'accentPrimary',
|
|
36
|
-
fillHover: '
|
|
36
|
+
fillHover: 'surfaceTertiary',
|
|
37
37
|
labelTextActiveColor: 'accentTextPrimary',
|
|
38
38
|
labelTextColor: 'surfaceTextPrimary',
|
|
39
39
|
indicatorFill: 'accentPrimary',
|
|
@@ -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 '../Tooltip_es_B0nm9irO.js';
|
|
5
5
|
import React, { useRef, useCallback, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
var slidesMock = Array.from({ length: 10 }, function (_, index) { return (jsxs("div", { style: {
|
|
4
|
+
width: '100%',
|
|
5
|
+
height: 'auto',
|
|
6
|
+
justifyContent: 'center',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
fontSize: 24,
|
|
9
|
+
fontWeight: 'bold',
|
|
10
|
+
display: 'flex',
|
|
11
|
+
background: "hsl(".concat(index * 60, ", 70%, 80%)"),
|
|
12
|
+
}, children: ["Slide ", index + 1] }, index)); });
|
|
13
|
+
|
|
14
|
+
export { slidesMock };
|
|
@@ -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 '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { icons16 } from '@itcase/icons/default';
|
|
2
2
|
|
|
3
3
|
var tabListMock = {
|
|
4
4
|
tabList: [
|
|
5
5
|
{ key: 1, label: 'Tab 1', isActive: true },
|
|
6
6
|
{ key: 2, label: 'Tab 2', isActive: false },
|
|
7
7
|
{ key: 3, label: 'Tab 3', badgeValue: 3, isActive: false },
|
|
8
|
-
{
|
|
8
|
+
{
|
|
9
|
+
key: 4,
|
|
10
|
+
label: 'Tab 4',
|
|
11
|
+
icon: icons16.Placeholder.Default,
|
|
12
|
+
isActive: false,
|
|
13
|
+
},
|
|
9
14
|
],
|
|
10
15
|
};
|
|
11
16
|
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
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 '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_kY-30pft.js';
|
|
9
9
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
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, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
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_B0nm9irO.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 '../Tooltip_es_B0nm9irO.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -127,7 +127,7 @@ function createNotification(notification, onClose) {
|
|
|
127
127
|
var status = STATUSES.warning;
|
|
128
128
|
// let appearance = STATUSES.appearance
|
|
129
129
|
var closeByTime = 4500;
|
|
130
|
-
var
|
|
130
|
+
var appearance = '';
|
|
131
131
|
if (typeof notification === 'string') {
|
|
132
132
|
text = notification;
|
|
133
133
|
}
|
|
@@ -140,24 +140,24 @@ function createNotification(notification, onClose) {
|
|
|
140
140
|
}
|
|
141
141
|
switch (status) {
|
|
142
142
|
case 'success':
|
|
143
|
-
|
|
143
|
+
appearance = 'successPrimary';
|
|
144
144
|
break;
|
|
145
145
|
case 'info':
|
|
146
|
-
|
|
146
|
+
appearance = 'infoPrimary';
|
|
147
147
|
break;
|
|
148
148
|
case 'error':
|
|
149
|
-
|
|
149
|
+
appearance = 'errorPrimary';
|
|
150
150
|
break;
|
|
151
151
|
case 'warning':
|
|
152
|
-
|
|
152
|
+
appearance = 'warningPrimary';
|
|
153
153
|
break;
|
|
154
154
|
}
|
|
155
155
|
return {
|
|
156
156
|
id: id,
|
|
157
|
+
appearance: appearance,
|
|
157
158
|
title: title,
|
|
158
159
|
status: status,
|
|
159
160
|
text: text,
|
|
160
|
-
textColor: textColor,
|
|
161
161
|
closeByTime: closeByTime,
|
|
162
162
|
onClose: onClose,
|
|
163
163
|
};
|
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
border-right: var(--chioce-item-border-right);
|
|
9
9
|
}
|
|
10
10
|
*/
|
|
11
|
-
&_state_disabled {
|
|
12
|
-
background: var(--choice-item-state-disabled-background);
|
|
13
|
-
&:hover {
|
|
14
|
-
background: var(--choice-item-state-disabled-background);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
11
|
& input {
|
|
18
12
|
width: 100%;
|
|
19
13
|
height: 100%;
|
|
@@ -35,9 +29,6 @@
|
|
|
35
29
|
transition: color 0.5s ease;
|
|
36
30
|
cursor: pointer;
|
|
37
31
|
}
|
|
38
|
-
&-icon {
|
|
39
|
-
padding: var(--choice-item-icon-padding);
|
|
40
|
-
}
|
|
41
32
|
}
|
|
42
33
|
.choice__item {
|
|
43
34
|
&_shape {
|
|
@@ -54,8 +45,11 @@
|
|
|
54
45
|
&_size {
|
|
55
46
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
56
47
|
&_$(size) {
|
|
57
|
-
min-height: var(--choice-size-$(size)-min-height);
|
|
48
|
+
min-height: var(--choice-item-size-$(size)-min-height);
|
|
58
49
|
padding: var(--choice-item-size-$(size)-padding);
|
|
50
|
+
^^&-label {
|
|
51
|
+
gap: var(--choice-item-size-$(size)-gap);
|
|
52
|
+
}
|
|
59
53
|
}
|
|
60
54
|
}
|
|
61
55
|
}
|
|
@@ -145,28 +139,29 @@
|
|
|
145
139
|
}
|
|
146
140
|
:root {
|
|
147
141
|
--choice-size-s-height: 28px;
|
|
148
|
-
--choice-size-m-height: 36px;
|
|
149
|
-
--choice-size-l-height: 40px;
|
|
150
|
-
|
|
151
142
|
--choice-size-s-min-height: 28px;
|
|
152
|
-
--choice-size-m-min-height: 36px;
|
|
153
|
-
--choice-size-l-min-height: 40px;
|
|
154
|
-
|
|
155
143
|
--choice-size-s-row-gap: 12px;
|
|
156
144
|
--choice-size-s-column-gap: 12px;
|
|
157
145
|
|
|
158
146
|
--choice-size-m-row-gap: 12px;
|
|
159
147
|
--choice-size-m-column-gap: 12px;
|
|
148
|
+
--choice-size-m-height: 36px;
|
|
149
|
+
--choice-size-m-min-height: 36px;
|
|
160
150
|
|
|
151
|
+
--choice-size-l-height: 40px;
|
|
152
|
+
--choice-size-l-min-height: 40px;
|
|
161
153
|
--choice-size-l-row-gap: 12px;
|
|
162
154
|
--choice-size-l-column-gap: 12px;
|
|
163
155
|
|
|
164
|
-
--choice-shape-rounded: 8px;
|
|
165
|
-
|
|
166
156
|
--choice-item-size-s-padding: 0px 6px;
|
|
157
|
+
--choice-item-size-s-min-height: 24px;
|
|
158
|
+
--choice-item-size-s-gap: 8px;
|
|
159
|
+
|
|
167
160
|
--choice-item-size-m-padding: 0px 12px;
|
|
168
|
-
--choice-item-size-
|
|
161
|
+
--choice-item-size-m-min-height: 32px;
|
|
162
|
+
--choice-item-size-m-gap: 8px;
|
|
169
163
|
|
|
170
|
-
--choice-item-
|
|
171
|
-
--choice-item-
|
|
164
|
+
--choice-item-size-l-padding: 0px 12px;
|
|
165
|
+
--choice-item-size-l-min-height: 36px;
|
|
166
|
+
--choice-item-size-l-gap: 8px;
|
|
172
167
|
}
|
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
border-right: var(--chioce-item-border-right);
|
|
9
9
|
}
|
|
10
10
|
*/
|
|
11
|
-
&_state_disabled {
|
|
12
|
-
background: var(--choice-item-state-disabled-background);
|
|
13
|
-
&:hover {
|
|
14
|
-
background: var(--choice-item-state-disabled-background);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
11
|
& input {
|
|
18
12
|
width: 100%;
|
|
19
13
|
height: 100%;
|
|
@@ -35,7 +29,4 @@
|
|
|
35
29
|
transition: color 0.5s ease;
|
|
36
30
|
cursor: pointer;
|
|
37
31
|
}
|
|
38
|
-
&-icon {
|
|
39
|
-
padding: var(--choice-item-icon-padding);
|
|
40
|
-
}
|
|
41
32
|
}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
&_size {
|
|
3
3
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
4
4
|
&_$(size) {
|
|
5
|
-
min-height: var(--choice-size-$(size)-min-height);
|
|
5
|
+
min-height: var(--choice-item-size-$(size)-min-height);
|
|
6
6
|
padding: var(--choice-item-size-$(size)-padding);
|
|
7
|
+
^^&-label {
|
|
8
|
+
gap: var(--choice-item-size-$(size)-gap);
|
|
9
|
+
}
|
|
7
10
|
}
|
|
8
11
|
}
|
|
9
12
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.code {
|
|
2
|
-
width: 100%;
|
|
3
2
|
&__wrapper {
|
|
4
3
|
width: 100%;
|
|
5
4
|
display: flex;
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
.code__input {
|
|
41
40
|
border: none;
|
|
42
41
|
outline: none;
|
|
43
|
-
|
|
44
42
|
&:focus {
|
|
45
43
|
outline: none;
|
|
46
44
|
}
|
|
@@ -78,11 +76,11 @@
|
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
78
|
:root {
|
|
81
|
-
--code-input-shape-rounded: 0;
|
|
82
79
|
--code-input-size-l-width: 56px;
|
|
83
|
-
--code-input-size-l-height:
|
|
84
|
-
--code-
|
|
80
|
+
--code-input-size-l-height: 56px;
|
|
81
|
+
--code-size-l-gap: 8px;
|
|
82
|
+
|
|
85
83
|
--code-input-size-m-width: 48px;
|
|
86
|
-
--code-input-size-m-height:
|
|
87
|
-
--code-
|
|
84
|
+
--code-input-size-m-height: 48px;
|
|
85
|
+
--code-size-m-gap: 6px;
|
|
88
86
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
^&__input {
|
|
5
5
|
height: auto;
|
|
6
|
-
color: var(--
|
|
7
|
-
padding: var(--
|
|
8
|
-
border: 1px solid var(--
|
|
9
|
-
border-radius: var(--
|
|
6
|
+
color: var(--dadata-color);
|
|
7
|
+
padding: var(--dadata-padding);
|
|
8
|
+
border: 1px solid var(--dadata-border);
|
|
9
|
+
border-radius: var(--dadata-border-radius);
|
|
10
10
|
box-shadow: none;
|
|
11
11
|
&:hover {
|
|
12
|
-
border: solid 1px var(--
|
|
12
|
+
border: solid 1px var(--dadata-hover-border);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
&__suggestion {
|
|
20
20
|
position: relative !important;
|
|
21
21
|
&:hover {
|
|
22
|
-
background: var(--
|
|
22
|
+
background: var(--dadata-suggestion-hover-color, --color-accent-tertiary);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
&--highlighted {
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
& .input_state {
|
|
29
29
|
&_error {
|
|
30
|
-
border: solid 1px var(--
|
|
30
|
+
border: solid 1px var(--dadata-error-border);
|
|
31
31
|
&:hover {
|
|
32
|
-
border: solid 1px var(--
|
|
32
|
+
border: solid 1px var(--dadata-error-border);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
&_focus {
|
|
36
|
-
border: solid 1px var(--
|
|
36
|
+
border: solid 1px var(--dadata-focus-border);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
& h1 {
|
|
3
3
|
width: 100%;
|
|
4
4
|
color: var(--html-content-title-h1-color);
|
|
5
|
-
padding: var(--html-content-title-h1-padding
|
|
6
|
-
margin: var(--html-content-title-h1-margin
|
|
5
|
+
padding: var(--html-content-title-h1-padding);
|
|
6
|
+
margin: var(--html-content-title-h1-margin);
|
|
7
7
|
@mixin h1;
|
|
8
8
|
}
|
|
9
9
|
& h2 {
|
|
10
10
|
width: 100%;
|
|
11
11
|
color: var(--html-content-title-h2-color);
|
|
12
|
-
padding: var(--html-content-title-h2-padding
|
|
13
|
-
margin: var(--html-content-title-h2-margin
|
|
12
|
+
padding: var(--html-content-title-h2-padding);
|
|
13
|
+
margin: var(--html-content-title-h2-margin);
|
|
14
14
|
@mixin h2;
|
|
15
15
|
}
|
|
16
16
|
& h3 {
|
|
17
17
|
width: 100%;
|
|
18
18
|
color: var(--html-content-title-h3-color);
|
|
19
|
-
padding: var(--html-content-title-h3-padding
|
|
20
|
-
margin: var(--html-content-title-h3-margin
|
|
19
|
+
padding: var(--html-content-title-h3-padding);
|
|
20
|
+
margin: var(--html-content-title-h3-margin);
|
|
21
21
|
@mixin h3;
|
|
22
22
|
}
|
|
23
23
|
& h4 {
|
|
24
24
|
width: 100%;
|
|
25
25
|
color: var(--html-content-title-h4-color);
|
|
26
|
-
padding: var(--html-content-title-h4-padding
|
|
27
|
-
margin: var(--html-content-title-h4-margin
|
|
26
|
+
padding: var(--html-content-title-h4-padding);
|
|
27
|
+
margin: var(--html-content-title-h4-margin);
|
|
28
28
|
@mixin h4;
|
|
29
29
|
}
|
|
30
30
|
& h5 {
|
|
31
31
|
width: 100%;
|
|
32
32
|
color: var(--html-content-title-h5-color);
|
|
33
|
-
padding: var(--html-content-title-h5-padding
|
|
34
|
-
margin: var(--html-content-title-h5-margin
|
|
33
|
+
padding: var(--html-content-title-h5-padding);
|
|
34
|
+
margin: var(--html-content-title-h5-margin);
|
|
35
35
|
@mixin h5;
|
|
36
36
|
}
|
|
37
37
|
& h6 {
|
|
38
38
|
width: 100%;
|
|
39
39
|
color: var(--html-content-title-h6-color);
|
|
40
|
-
padding: var(--html-content-title-h6-padding
|
|
41
|
-
margin: var(--html-content-title-h6-margin
|
|
40
|
+
padding: var(--html-content-title-h6-padding);
|
|
41
|
+
margin: var(--html-content-title-h6-margin);
|
|
42
42
|
@mixin h6;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -64,22 +64,47 @@
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
+
& ul {
|
|
68
|
+
list-style-type: none;
|
|
69
|
+
padding: 0;
|
|
70
|
+
margin: 0;
|
|
71
|
+
& li {
|
|
72
|
+
padding: 0 0 16px 24px;
|
|
73
|
+
}
|
|
74
|
+
& > li {
|
|
75
|
+
gap: 32px;
|
|
76
|
+
padding: 0 0 16px 0;
|
|
77
|
+
margin: 0;
|
|
78
|
+
display: block;
|
|
79
|
+
@mixin p;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
67
82
|
}
|
|
68
83
|
.html-content {
|
|
69
84
|
& table {
|
|
70
|
-
margin: var(--html-content-table-margin
|
|
85
|
+
margin: var(--html-content-table-margin);
|
|
71
86
|
@media (--mobile) {
|
|
72
|
-
margin: var(--html-content-table-margin-mobile
|
|
87
|
+
margin: var(--html-content-table-margin-mobile);
|
|
73
88
|
display: flex;
|
|
74
89
|
}
|
|
75
90
|
& tr {
|
|
76
|
-
display: flex;
|
|
77
91
|
flex-wrap: wrap;
|
|
92
|
+
@media (--mobile) {
|
|
93
|
+
display: flex;
|
|
94
|
+
}
|
|
95
|
+
& th {
|
|
96
|
+
padding: var(--html-content-table-th-padding);
|
|
97
|
+
@media (--mobile) {
|
|
98
|
+
padding: var(--html-content-table-th-padding-mobile);
|
|
99
|
+
}
|
|
100
|
+
@mixin p;
|
|
101
|
+
}
|
|
78
102
|
& td {
|
|
79
|
-
padding: var(--html-content-table-td-padding
|
|
103
|
+
padding: var(--html-content-table-td-padding);
|
|
80
104
|
@media (--mobile) {
|
|
81
|
-
padding: var(--html-content-table-td-padding-mobile
|
|
105
|
+
padding: var(--html-content-table-td-padding-mobile);
|
|
82
106
|
}
|
|
107
|
+
@mixin p;
|
|
83
108
|
}
|
|
84
109
|
}
|
|
85
110
|
}
|
|
@@ -87,13 +112,55 @@
|
|
|
87
112
|
.html-content {
|
|
88
113
|
& p {
|
|
89
114
|
color: var(--html-content-p-color);
|
|
90
|
-
margin: var(--html-content-p-margin
|
|
115
|
+
margin: var(--html-content-p-margin);
|
|
91
116
|
@mixin p;
|
|
92
117
|
}
|
|
93
118
|
& a {
|
|
94
119
|
color: var(--html-content-link-color);
|
|
95
120
|
text-decoration: none;
|
|
121
|
+
@mixin p;
|
|
96
122
|
}
|
|
97
123
|
}
|
|
98
124
|
.html-content {
|
|
99
125
|
}
|
|
126
|
+
:root {
|
|
127
|
+
--html-content-p-color: 0;
|
|
128
|
+
--html-content-p-margin: 0;
|
|
129
|
+
--html-content-link-color: 0;
|
|
130
|
+
|
|
131
|
+
/* h1 */
|
|
132
|
+
--html-content-title-h1-color: 0;
|
|
133
|
+
--html-content-title-h1-padding: 0;
|
|
134
|
+
--html-content-title-h1-margin: 0;
|
|
135
|
+
|
|
136
|
+
/* h2 */
|
|
137
|
+
--html-content-title-h2-color: 0;
|
|
138
|
+
--html-content-title-h2-padding: 0;
|
|
139
|
+
--html-content-title-h2-margin: 0;
|
|
140
|
+
|
|
141
|
+
/* h3 */
|
|
142
|
+
--html-content-title-h3-color: 0;
|
|
143
|
+
--html-content-title-h3-padding: 0;
|
|
144
|
+
--html-content-title-h3-margin: 0;
|
|
145
|
+
|
|
146
|
+
/* h4 */
|
|
147
|
+
--html-content-title-h4-color: 0;
|
|
148
|
+
--html-content-title-h4-padding: 0;
|
|
149
|
+
--html-content-title-h4-margin: 0;
|
|
150
|
+
|
|
151
|
+
/* h5 */
|
|
152
|
+
--html-content-title-h5-color: 0;
|
|
153
|
+
--html-content-title-h5-padding: 0;
|
|
154
|
+
--html-content-title-h5-margin: 0;
|
|
155
|
+
|
|
156
|
+
/* h6 */
|
|
157
|
+
--html-content-title-h6-color: 0;
|
|
158
|
+
--html-content-title-h6-padding: 0;
|
|
159
|
+
--html-content-title-h6-margin: 0;
|
|
160
|
+
|
|
161
|
+
/* Table */
|
|
162
|
+
--html-content-table-margin: 0;
|
|
163
|
+
--html-content-table-margin-mobile: 0;
|
|
164
|
+
--html-content-table-td-padding: 0;
|
|
165
|
+
--html-content-table-td-padding-mobile: 0;
|
|
166
|
+
}
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
&&_size {
|
|
39
39
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
40
40
|
&_$(size) {
|
|
41
|
+
min-height: var(--input-size-$(size)-min-height);
|
|
41
42
|
padding: var(--input-size-$(size)-padding);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -78,6 +79,11 @@
|
|
|
78
79
|
--input-size-l-padding: 9px 15px;
|
|
79
80
|
--input-size-xl-padding: 13px 20px;
|
|
80
81
|
--input-size-xxl-padding: 17px 25px;
|
|
82
|
+
--input-size-s-min-height: 28px;
|
|
83
|
+
--input-size-m-min-height: 36px;
|
|
84
|
+
--input-size-l-min-height: 40px;
|
|
85
|
+
--input-size-xl-min-height: 48px;
|
|
86
|
+
--input-size-xxl-min-height: 56px;
|
|
81
87
|
|
|
82
88
|
--input-caret-color: var(--color-accent-fill-primary);
|
|
83
89
|
|