@itcase/ui 1.8.18 → 1.8.21
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 +240 -0
- package/dist/Avatar_es_No9vSqji.js +236 -0
- package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CnStmeGt.js} +12 -4
- package/dist/{Button_es_CHDT0-8K.js → Button_es_BV1bepl1.js} +12 -4
- package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_CL00pWKy.js} +2 -2
- package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_Ciln2otW.js} +2 -2
- package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_DGgkpGbI.js} +4 -4
- package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_BIOyGm22.js} +4 -4
- package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DT-zspEr.js} +15 -15
- package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_BJLFqVuH.js} +15 -15
- package/dist/{Group_cjs_DFmNT5Mq.js → Group_cjs_Cwt0gWk4.js} +10 -3
- package/dist/{Group_es_CRGwi5XI.js → Group_es_CYW2Hquh.js} +10 -3
- package/dist/{Image_cjs_DuIBtUq5.js → Image_cjs_CCWqbNn4.js} +11 -3
- package/dist/{Image_es_CSzHhlA1.js → Image_es_DZUVp0FS.js} +11 -3
- package/dist/{Label_cjs_mw4pHZR1.js → Label_cjs_Cqcf6ffp.js} +2 -2
- package/dist/{Label_es_CiPEDFcR.js → Label_es_CeNdA70T.js} +2 -2
- package/dist/Link_cjs_BlXrJ15R.js +303 -0
- package/dist/Link_es_CyJn7NFb.js +298 -0
- package/dist/{Loader_cjs_DZbIy6Ko.js → Loader_cjs_3VRzFLI2.js} +14 -2
- package/dist/{Loader_es_SHdP0IkA.js → Loader_es_DEYowVdU.js} +14 -2
- package/dist/Text_cjs_DPhKj3wf.js +68 -0
- package/dist/{Text_es_D012qJ8s.js → Text_es_BRb3qqKM.js} +8 -3
- package/dist/{Tooltip_cjs_BKOjNMkt.js → Tooltip_cjs_Cq5kuaIK.js} +480 -17
- package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_D0PSqI2c.js} +480 -17
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +13 -236
- package/dist/cjs/components/AvatarStack.js +35 -0
- package/dist/cjs/components/Badge.js +3 -3
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +5 -5
- package/dist/cjs/components/Cell.js +4 -4
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice.js +6 -6
- package/dist/cjs/components/CookiesWarning.js +13 -6
- package/dist/cjs/components/DatePeriod.js +8 -8
- package/dist/cjs/components/DatePicker.js +7 -7
- package/dist/cjs/components/Drawer.js +26 -2
- package/dist/cjs/components/Dropdown.js +5 -2
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon.js +3 -3
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/InputPassword.js +226 -46
- package/dist/cjs/components/Label.js +4 -4
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +6 -6
- package/dist/cjs/components/ModalSheetBottom.js +7 -0
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +11 -9
- package/dist/cjs/components/Panel.js +2 -2
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response.js +227 -183
- package/dist/cjs/components/Search.js +126 -13
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +4 -4
- package/dist/cjs/components/Swiper.js +3 -3
- package/dist/cjs/components/Switch.js +238 -3
- package/dist/cjs/components/Tab.js +3 -3
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +240 -5
- package/dist/cjs/components/Title.js +3 -3
- package/dist/cjs/components/Tooltip.js +3 -3
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +10 -237
- package/dist/components/AvatarStack.js +33 -0
- package/dist/components/Badge.js +3 -3
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +5 -5
- package/dist/components/Cell.js +4 -4
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +6 -6
- package/dist/components/CookiesWarning.js +13 -7
- package/dist/components/DatePeriod.js +8 -8
- package/dist/components/DatePicker.js +7 -7
- package/dist/components/Drawer.js +26 -2
- package/dist/components/Dropdown.js +5 -2
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon.js +3 -3
- package/dist/components/Image.js +2 -2
- package/dist/components/InputPassword.js +226 -45
- package/dist/components/Label.js +4 -4
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +6 -6
- package/dist/components/ModalSheetBottom.js +7 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +11 -9
- package/dist/components/Panel.js +2 -2
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response.js +227 -183
- package/dist/components/Search.js +126 -13
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +4 -4
- package/dist/components/Swiper.js +3 -3
- package/dist/components/Switch.js +238 -3
- package/dist/components/Tab.js +3 -3
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +240 -5
- package/dist/components/Title.js +3 -3
- package/dist/components/Tooltip.js +3 -3
- package/dist/css/components/AvatarStack/AvatarStack.css +67 -0
- package/dist/css/components/Group/Group.css +6 -10
- package/dist/css/components/Icon/Icon.css +132 -8
- package/dist/css/components/Modal/Modal.css +20 -0
- package/dist/css/components/Text/Text.css +0 -9
- package/dist/css/styles/border-color/border-color_hover.css +6 -8
- package/dist/css/styles/fill/fill_active.css +19 -9
- package/dist/css/styles/fill/fill_active_hover.css +19 -0
- package/dist/css/styles/fill/fill_hover.css +19 -0
- package/dist/css/styles/text-color/text-color_active.css +17 -0
- package/dist/css/styles/text-color/text-color_active_hover.css +40 -0
- package/dist/stories/index.stories.js +49 -0
- package/dist/stories/useDevicePropsGenerator.mdx +76 -102
- package/dist/stories/useMediaQueries.mdx +32 -7
- package/dist/stories/useStyles.mdx +50 -2
- package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
- package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +9 -0
- package/dist/types/components/AvatarStack/index.d.ts +2 -0
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +5 -0
- package/dist/types/components/CookiesWarning/index.d.ts +2 -1
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +25 -0
- package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +0 -6
- package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +5 -0
- package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +2 -3
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -11
- package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +20 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +7 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +11 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +21 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +8 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +8 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +59 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +16 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +11 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +25 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +11 -0
- package/dist/types/components/InputPassword/index.d.ts +1 -1
- package/dist/types/components/Link/appearance/linkAccent.d.ts +20 -0
- package/dist/types/components/Link/appearance/linkDanger.d.ts +7 -0
- package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
- package/dist/types/components/Link/appearance/linkError.d.ts +11 -0
- package/dist/types/components/Link/appearance/linkInfo.d.ts +21 -0
- package/dist/types/components/Link/appearance/linkPrimary.d.ts +8 -0
- package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
- package/dist/types/components/Link/appearance/linkSecondary.d.ts +8 -0
- package/dist/types/components/Link/appearance/linkSize.d.ts +59 -0
- package/dist/types/components/Link/appearance/linkStyle.d.ts +16 -0
- package/dist/types/components/Link/appearance/linkSuccess.d.ts +11 -0
- package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
- package/dist/types/components/Link/appearance/linkWarning.d.ts +11 -0
- package/dist/types/components/Loader/Loader.appearance.d.ts +3 -2
- package/dist/types/components/Loader/Loader.interface.d.ts +16 -17
- package/dist/types/components/Loader/appearance/loaderSize.d.ts +12 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +5 -0
- package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +8 -0
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
- package/dist/types/components/Response/Response.appearance.d.ts +2 -2
- package/dist/types/components/Response/appearance/responseAccent.d.ts +20 -0
- package/dist/types/components/Response/appearance/responseDanger.d.ts +7 -0
- package/dist/types/components/Response/appearance/responseDisabled.d.ts +20 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +11 -0
- package/dist/types/components/Response/appearance/responseInfo.d.ts +21 -0
- package/dist/types/components/Response/appearance/responsePrimary.d.ts +8 -0
- package/dist/types/components/Response/appearance/responseRequire.d.ts +20 -0
- package/dist/types/components/Response/appearance/responseSecondary.d.ts +8 -0
- package/dist/types/components/Response/appearance/responseSize.d.ts +59 -0
- package/dist/types/components/Response/appearance/responseStyle.d.ts +16 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +11 -0
- package/dist/types/components/Response/appearance/responseSurface.d.ts +25 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +11 -0
- package/dist/types/components/Search/appearance/searchDefault.d.ts +24 -0
- package/dist/types/components/Search/appearance/searchDisabled.d.ts +20 -0
- package/dist/types/components/Search/appearance/searchError.d.ts +20 -0
- package/dist/types/components/Search/appearance/searchRequire.d.ts +20 -0
- package/dist/types/components/Search/appearance/searchSize.d.ts +18 -8
- package/dist/types/components/Search/appearance/searchSuccess.d.ts +20 -0
- package/dist/types/components/Switch/Switch.appearance.d.ts +1 -1
- package/dist/types/components/Switch/appearance/switchAccent.d.ts +20 -0
- package/dist/types/components/Switch/appearance/switchDanger.d.ts +7 -0
- package/dist/types/components/Switch/appearance/switchDisabled.d.ts +20 -0
- package/dist/types/components/Switch/appearance/switchError.d.ts +11 -0
- package/dist/types/components/Switch/appearance/switchInfo.d.ts +21 -0
- package/dist/types/components/Switch/appearance/switchPrimary.d.ts +8 -0
- package/dist/types/components/Switch/appearance/switchRequire.d.ts +20 -0
- package/dist/types/components/Switch/appearance/switchSecondary.d.ts +8 -0
- package/dist/types/components/Switch/appearance/switchSize.d.ts +59 -0
- package/dist/types/components/Switch/appearance/switchStyle.d.ts +16 -0
- package/dist/types/components/Switch/appearance/switchSuccess.d.ts +11 -0
- package/dist/types/components/Switch/appearance/switchSurface.d.ts +25 -0
- package/dist/types/components/Switch/appearance/switchWarning.d.ts +11 -0
- package/dist/types/components/Tile/appearance/tileAccent.d.ts +20 -0
- package/dist/types/components/Tile/appearance/tileDanger.d.ts +7 -0
- package/dist/types/components/Tile/appearance/tileDisabled.d.ts +20 -0
- package/dist/types/components/Tile/appearance/tileError.d.ts +11 -0
- package/dist/types/components/Tile/appearance/tileInfo.d.ts +21 -0
- package/dist/types/components/Tile/appearance/tilePrimary.d.ts +8 -0
- package/dist/types/components/Tile/appearance/tileRequire.d.ts +20 -0
- package/dist/types/components/Tile/appearance/tileSecondary.d.ts +8 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +59 -0
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +16 -0
- package/dist/types/components/Tile/appearance/tileSuccess.d.ts +11 -0
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +25 -0
- package/dist/types/components/Tile/appearance/tileWarning.d.ts +11 -0
- package/dist/types/components/Title/Title.appearance.d.ts +2 -2
- package/dist/types/components/Title/Title.interface.d.ts +3 -3
- package/dist/types/components/Title/appearance/titleAccent.d.ts +20 -0
- package/dist/types/components/Title/appearance/titleDanger.d.ts +7 -0
- package/dist/types/components/Title/appearance/titleDisabled.d.ts +20 -0
- package/dist/types/components/Title/appearance/titleError.d.ts +11 -0
- package/dist/types/components/Title/appearance/titleInfo.d.ts +21 -0
- package/dist/types/components/Title/appearance/titlePrimary.d.ts +8 -0
- package/dist/types/components/Title/appearance/titleRequire.d.ts +20 -0
- package/dist/types/components/Title/appearance/titleSecondary.d.ts +8 -0
- package/dist/types/components/Title/appearance/titleSize.d.ts +59 -0
- package/dist/types/components/Title/appearance/titleStyle.d.ts +16 -0
- package/dist/types/components/Title/appearance/titleSuccess.d.ts +11 -0
- package/dist/types/components/Title/appearance/titleSurface.d.ts +25 -0
- package/dist/types/components/Title/appearance/titleWarning.d.ts +11 -0
- package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +1 -1
- package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +20 -0
- package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +7 -0
- package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +20 -0
- package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +11 -0
- package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +21 -0
- package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +8 -0
- package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +20 -0
- package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +8 -0
- package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +59 -0
- package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +16 -0
- package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +11 -0
- package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +25 -0
- package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +11 -0
- package/package.json +11 -11
- package/dist/Link_cjs_yht44xJv.js +0 -68
- package/dist/Link_es_DkW06IM-.js +0 -63
- package/dist/Text_cjs_iL1l_7V1.js +0 -63
- package/dist/stories/Pagination.mdx +0 -11
- package/dist/stories/Tile.mdx +0 -11
|
@@ -5,9 +5,9 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Button } from '../
|
|
9
|
-
import { G as Group } from '../
|
|
10
|
-
import { T as Text } from '../
|
|
8
|
+
import { B as Button } from '../Button_es_BV1bepl1.js';
|
|
9
|
+
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
10
|
+
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -20,205 +20,249 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
25
|
-
import '../
|
|
23
|
+
import '../Tooltip_es_D0PSqI2c.js';
|
|
24
|
+
import '../Link_es_CyJn7NFb.js';
|
|
25
|
+
import '../Loader_es_DEYowVdU.js';
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var responseAppearanceAccent = {
|
|
28
|
+
accent: {
|
|
29
|
+
fill: 'accentPrimary',
|
|
30
|
+
fillHover: 'accentPrimaryHover',
|
|
31
|
+
},
|
|
32
|
+
accentPrimary: {
|
|
33
|
+
fill: 'accentPrimary',
|
|
34
|
+
fillHover: 'accentPrimaryHover',
|
|
35
|
+
borderColor: 'accentBorderPrimary',
|
|
36
|
+
},
|
|
37
|
+
accentSecondary: {
|
|
38
|
+
fill: 'accentPrimary',
|
|
39
|
+
fillHover: 'accentPrimaryHover',
|
|
40
|
+
labelTextColor: 'accentTextSecondary',
|
|
41
|
+
labelTextColorHover: 'accentTextSecondary',
|
|
42
|
+
borderColor: 'accentBorderPrimary',
|
|
43
|
+
loaderItemFill: 'accentItemPrimary',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
28
46
|
|
|
29
|
-
var
|
|
47
|
+
var responseAppearanceDanger = {
|
|
48
|
+
danger: {
|
|
49
|
+
fill: 'dangerPrimary',
|
|
50
|
+
fillHover: 'dangerPrimaryHover',
|
|
51
|
+
},
|
|
52
|
+
};
|
|
30
53
|
|
|
31
|
-
var
|
|
54
|
+
var responseAppearanceDisabled = {
|
|
55
|
+
disabledPrimary: {
|
|
56
|
+
fill: 'surfaceFillDisabled',
|
|
57
|
+
borderColor: 'errorBorderQuaternary',
|
|
58
|
+
borderHover: 'errorBorderQuaternary',
|
|
59
|
+
textColor: 'surfaceTextQuaternary',
|
|
60
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
61
|
+
iconClearFill: 'errorItemPrimary',
|
|
62
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
63
|
+
},
|
|
64
|
+
disabledSecondary: {
|
|
65
|
+
fill: 'surfaceSecondary',
|
|
66
|
+
borderColor: 'surfaceBorderTertiary',
|
|
67
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
68
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
69
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
70
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
71
|
+
},
|
|
72
|
+
};
|
|
32
73
|
|
|
33
|
-
var
|
|
74
|
+
var responseAppearanceError = {
|
|
75
|
+
error: {
|
|
76
|
+
fill: 'errorPrimary',
|
|
77
|
+
fillHover: 'errorPrimaryHover',
|
|
78
|
+
labelTextColor: 'errorTextPrimary',
|
|
79
|
+
labelTextColorHover: 'errorTextPrimary',
|
|
80
|
+
loaderFill: 'errorPrimary',
|
|
81
|
+
loaderItemFill: 'errorItemPrimary',
|
|
82
|
+
},
|
|
83
|
+
};
|
|
34
84
|
|
|
35
|
-
var
|
|
85
|
+
var responseAppearanceInfo = {
|
|
86
|
+
info: {
|
|
87
|
+
fill: 'accentPrimary',
|
|
88
|
+
fillHover: 'accentPrimaryHover',
|
|
89
|
+
labelTextColor: 'accentTextPrimary',
|
|
90
|
+
labelTextColorHover: 'accentTextPrimary',
|
|
91
|
+
borderColor: 'accentBorderPrimary',
|
|
92
|
+
loaderFill: 'accentPrimary',
|
|
93
|
+
loaderItemFill: 'accentItemPrimary',
|
|
94
|
+
},
|
|
95
|
+
infoSecondary: {
|
|
96
|
+
fill: 'accentPrimary',
|
|
97
|
+
fillHover: 'accentPrimaryHover',
|
|
98
|
+
labelTextColor: 'accentTextSecondary',
|
|
99
|
+
labelTextColorHover: 'accentTextSecondary',
|
|
100
|
+
borderColor: 'accentBorderPrimary',
|
|
101
|
+
loaderFill: 'accentPrimary',
|
|
102
|
+
loaderItemFill: 'accentItemPrimary',
|
|
103
|
+
},
|
|
104
|
+
};
|
|
36
105
|
|
|
37
|
-
var
|
|
106
|
+
var responseAppearancePrimary = {
|
|
107
|
+
primary: {
|
|
108
|
+
fill: 'primaryPrimary',
|
|
109
|
+
fillHover: 'primaryPrimaryHover',
|
|
110
|
+
labelTextColor: 'primaryTextPrimary',
|
|
111
|
+
},
|
|
112
|
+
};
|
|
38
113
|
|
|
39
|
-
var
|
|
114
|
+
var responseAppearanceRequire = {
|
|
115
|
+
requirePrimary: {
|
|
116
|
+
fill: 'warningTertiary',
|
|
117
|
+
borderColor: 'warningBorderQuaternary',
|
|
118
|
+
borderHover: 'warningBorderQuaternary',
|
|
119
|
+
textColor: 'surfaceTextPrimary',
|
|
120
|
+
iconBeforeFill: 'warningItemQuaternary',
|
|
121
|
+
iconClearFill: 'warningItemPrimary',
|
|
122
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
123
|
+
},
|
|
124
|
+
requireSecondary: {
|
|
125
|
+
fill: 'surfaceSecondary',
|
|
126
|
+
borderColor: 'surfaceBorderTertiary',
|
|
127
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
128
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
129
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
130
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
131
|
+
},
|
|
132
|
+
};
|
|
40
133
|
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
descTextColor: 'surfaceTextPrimary',
|
|
47
|
-
descTextSize: 'm',
|
|
48
|
-
descTextWeight: 400,
|
|
49
|
-
primaryButtonAppearance: 'accent',
|
|
50
|
-
primaryButtonLabelTextSize: 'l',
|
|
51
|
-
primaryButtonShape: 'rounded',
|
|
52
|
-
primaryButtonSize: 'xxl',
|
|
53
|
-
primaryButtonWidth: 'fill',
|
|
54
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
55
|
-
secondaryButtonLabelTextSize: 'l',
|
|
56
|
-
secondaryButtonShape: 'rounded',
|
|
57
|
-
secondaryButtonSize: 'xxl',
|
|
58
|
-
secondaryButtonWidth: 'fill',
|
|
134
|
+
var responseAppearanceSecondary = {
|
|
135
|
+
secondary: {
|
|
136
|
+
fill: 'secondaryPrimary',
|
|
137
|
+
fillHover: 'secondaryPrimaryHover',
|
|
138
|
+
labelTextColor: 'secondaryTextPrimary',
|
|
59
139
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
primaryButtonSize: 'xxl',
|
|
71
|
-
primaryButtonWidth: 'fill',
|
|
72
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
73
|
-
secondaryButtonLabelTextSize: 'l',
|
|
74
|
-
secondaryButtonShape: 'rounded',
|
|
75
|
-
secondaryButtonSize: 'xxl',
|
|
76
|
-
secondaryButtonWidth: 'fill',
|
|
77
|
-
svgFill: 'surfacePrimary',
|
|
78
|
-
SvgImage: img$5,
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
var responseAppearanceSize = {
|
|
143
|
+
sizeXXL: {
|
|
144
|
+
size: 'xxl',
|
|
145
|
+
labelTextSize: 'xxl',
|
|
146
|
+
iconAfterFillSize: '24',
|
|
147
|
+
iconAfterSize: '24',
|
|
148
|
+
iconBeforeFillSize: '24',
|
|
149
|
+
iconBeforeSize: '24',
|
|
79
150
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
primaryButtonAppearance: 'accent',
|
|
88
|
-
primaryButtonLabelTextSize: 'l',
|
|
89
|
-
primaryButtonShape: 'rounded',
|
|
90
|
-
primaryButtonSize: 'xxl',
|
|
91
|
-
primaryButtonWidth: 'fill',
|
|
92
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
93
|
-
secondaryButtonLabelTextSize: 'l',
|
|
94
|
-
secondaryButtonShape: 'rounded',
|
|
95
|
-
secondaryButtonSize: 'xxl',
|
|
96
|
-
secondaryButtonWidth: 'fill',
|
|
97
|
-
svgFill: 'successPrimary',
|
|
98
|
-
SvgImage: img$2,
|
|
151
|
+
sizeXL: {
|
|
152
|
+
size: 'xl',
|
|
153
|
+
labelTextSize: 'l',
|
|
154
|
+
iconAfterFillSize: '24',
|
|
155
|
+
iconAfterSize: '24',
|
|
156
|
+
iconBeforeFillSize: '24',
|
|
157
|
+
iconBeforeSize: '24',
|
|
99
158
|
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
159
|
+
sizeL: {
|
|
160
|
+
size: 'l',
|
|
161
|
+
labelTextSize: 'l',
|
|
162
|
+
iconAfterFillSize: '24',
|
|
163
|
+
iconAfterSize: '24',
|
|
164
|
+
iconBeforeFillSize: '24',
|
|
165
|
+
iconBeforeSize: '24',
|
|
166
|
+
},
|
|
167
|
+
sizeM: {
|
|
168
|
+
size: 'm',
|
|
169
|
+
labelTextSize: 'm',
|
|
170
|
+
iconAfterFillSize: '24',
|
|
171
|
+
iconAfterSize: '24',
|
|
172
|
+
iconBeforeFillSize: '24',
|
|
173
|
+
iconBeforeSize: '24',
|
|
174
|
+
},
|
|
175
|
+
sizeS: {
|
|
176
|
+
size: 's',
|
|
177
|
+
labelTextSize: 's',
|
|
178
|
+
iconAfterFillSize: '20',
|
|
179
|
+
iconAfterSize: '20',
|
|
180
|
+
iconBeforeFillSize: '20',
|
|
181
|
+
iconBeforeSize: '20',
|
|
182
|
+
},
|
|
183
|
+
sizeXS: {
|
|
184
|
+
size: 'xs',
|
|
185
|
+
labelTextSize: 'xs',
|
|
186
|
+
iconAfterFillSize: '16',
|
|
187
|
+
iconAfterSize: '16',
|
|
188
|
+
iconBeforeFillSize: '16',
|
|
189
|
+
iconBeforeSize: '16',
|
|
190
|
+
},
|
|
191
|
+
sizeXXS: {
|
|
192
|
+
size: 'xxs',
|
|
193
|
+
labelTextSize: 'xs',
|
|
194
|
+
iconAfterFillSize: '14',
|
|
195
|
+
iconAfterSize: '14',
|
|
196
|
+
iconBeforeFillSize: '14',
|
|
197
|
+
iconBeforeSize: '14',
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
var responseAppearanceStyle = {
|
|
202
|
+
full: {
|
|
203
|
+
borderColor: '0',
|
|
204
|
+
},
|
|
205
|
+
ghost: {
|
|
206
|
+
fill: 'none',
|
|
207
|
+
borderColor: '0',
|
|
208
|
+
},
|
|
209
|
+
outlined: {
|
|
210
|
+
fill: 'none',
|
|
119
211
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
titleTextSize: 'xxl',
|
|
123
|
-
titleTextWeight: 400,
|
|
124
|
-
descTextColor: 'surfaceTextPrimary',
|
|
125
|
-
descTextSize: 'm',
|
|
126
|
-
descTextWeight: 400,
|
|
127
|
-
primaryButtonAppearance: 'surfaceTertiary',
|
|
128
|
-
primaryButtonLabelTextSize: 'l',
|
|
129
|
-
primaryButtonShape: 'rounded',
|
|
130
|
-
primaryButtonSize: 'xxl',
|
|
131
|
-
primaryButtonWidth: 'fill',
|
|
132
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
133
|
-
secondaryButtonLabelTextSize: 'l',
|
|
134
|
-
secondaryButtonShape: 'rounded',
|
|
135
|
-
secondaryButtonSize: 'xxl',
|
|
136
|
-
secondaryButtonWidth: 'fill',
|
|
137
|
-
svgFill: 'surfacePrimary',
|
|
138
|
-
SvgImage: img$4,
|
|
212
|
+
solid: {
|
|
213
|
+
borderColor: '0',
|
|
139
214
|
},
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
SvgImage: img$3,
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
var responseAppearanceSuccess = {
|
|
218
|
+
success: {
|
|
219
|
+
fill: 'successPrimary',
|
|
220
|
+
fillHover: 'successPrimaryHover',
|
|
221
|
+
labelTextColor: 'successTextSecondary',
|
|
222
|
+
labelTextColorHover: 'successTextSecondary',
|
|
223
|
+
loaderFill: 'successPrimary',
|
|
224
|
+
loaderItemFill: 'successItemPrimary',
|
|
225
|
+
},
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
var responseAppearanceSurface = {
|
|
229
|
+
surfacePrimary: {
|
|
230
|
+
fill: 'surfacePrimary',
|
|
231
|
+
fillHover: 'surfacePrimaryHover',
|
|
232
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
159
233
|
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
descTextColor: 'surfaceTextPrimary',
|
|
165
|
-
descTextSize: 'm',
|
|
166
|
-
descTextWeight: 400,
|
|
167
|
-
primaryButtonAppearance: 'surfaceTertiary',
|
|
168
|
-
primaryButtonLabelTextSize: 'l',
|
|
169
|
-
primaryButtonShape: 'rounded',
|
|
170
|
-
primaryButtonSize: 'xxl',
|
|
171
|
-
primaryButtonWidth: 'fill',
|
|
172
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
173
|
-
secondaryButtonLabelTextSize: 'l',
|
|
174
|
-
secondaryButtonShape: 'rounded',
|
|
175
|
-
secondaryButtonSize: 'xxl',
|
|
176
|
-
secondaryButtonWidth: 'fill',
|
|
177
|
-
svgFill: 'surfacePrimary',
|
|
178
|
-
SvgImage: img$1,
|
|
234
|
+
surfaceQuaternary: {
|
|
235
|
+
fill: 'surfaceQuaternary',
|
|
236
|
+
fillHover: 'surfaceQuaternaryHover',
|
|
237
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
179
238
|
},
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
descTextWeight: 400,
|
|
187
|
-
primaryButtonAppearance: 'surfaceTertiary',
|
|
188
|
-
primaryButtonLabelTextSize: 'l',
|
|
189
|
-
primaryButtonShape: 'rounded',
|
|
190
|
-
primaryButtonSize: 'xxl',
|
|
191
|
-
primaryButtonWidth: 'fill',
|
|
192
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
193
|
-
secondaryButtonLabelTextSize: 'l',
|
|
194
|
-
secondaryButtonShape: 'rounded',
|
|
195
|
-
secondaryButtonSize: 'xxl',
|
|
196
|
-
secondaryButtonWidth: 'fill',
|
|
197
|
-
svgFill: 'surfacePrimary',
|
|
198
|
-
SvgImage: img$3,
|
|
239
|
+
surfaceSecondary: {
|
|
240
|
+
fill: 'surfaceSecondary',
|
|
241
|
+
fillHover: 'surfaceSecondaryHover',
|
|
242
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
243
|
+
loaderFill: 'surfaceSecondary',
|
|
244
|
+
loaderItemFill: 'surfaceItemPrimary',
|
|
199
245
|
},
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
descTextColor: 'surfaceTextPrimary',
|
|
205
|
-
descTextSize: 'm',
|
|
206
|
-
descTextWeight: 400,
|
|
207
|
-
primaryButtonAppearance: 'secondary',
|
|
208
|
-
primaryButtonLabelTextSize: 'l',
|
|
209
|
-
primaryButtonShape: 'rounded',
|
|
210
|
-
primaryButtonSize: 'xxl',
|
|
211
|
-
primaryButtonWidth: 'fill',
|
|
212
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
213
|
-
secondaryButtonLabelTextSize: 'l',
|
|
214
|
-
secondaryButtonShape: 'rounded',
|
|
215
|
-
secondaryButtonSize: 'xxl',
|
|
216
|
-
secondaryButtonWidth: 'fill',
|
|
217
|
-
svgFill: 'surfacePrimary',
|
|
218
|
-
SvgImage: img$6,
|
|
246
|
+
surfaceTertiary: {
|
|
247
|
+
fill: 'surfaceTertiary',
|
|
248
|
+
fillHover: 'surfaceTertiaryHover',
|
|
249
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
219
250
|
},
|
|
220
251
|
};
|
|
221
252
|
|
|
253
|
+
var responseAppearanceWarning = {
|
|
254
|
+
warning: {
|
|
255
|
+
fill: 'warningPrimary',
|
|
256
|
+
fillHover: 'warningPrimaryHover',
|
|
257
|
+
labelTextColor: 'warningTextSecondary',
|
|
258
|
+
labelTextColorHover: 'warningTextSecondary',
|
|
259
|
+
loaderFill: 'warningPrimary',
|
|
260
|
+
loaderItemFill: 'warningItemPrimary',
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, responseAppearanceSize), responseAppearanceDisabled), responseAppearanceRequire), responseAppearanceStyle), responseAppearanceAccent), responseAppearanceDanger), responseAppearanceError), responseAppearanceInfo), responseAppearancePrimary), responseAppearanceSecondary), responseAppearanceSuccess), responseAppearanceSurface), responseAppearanceWarning);
|
|
265
|
+
|
|
222
266
|
var responseConfig = {
|
|
223
267
|
appearance: responseAppearance,
|
|
224
268
|
setAppearance: function (appearanceConfig) {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import { icon16, icon24 } from '@itcase/icons/default';
|
|
3
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
3
|
import React, { useCallback } from 'react';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../
|
|
9
|
-
import { T as Text } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_D0PSqI2c.js';
|
|
8
|
+
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
9
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
11
10
|
import 'lodash/camelCase';
|
|
12
11
|
import 'lodash/castArray';
|
|
@@ -21,23 +20,117 @@ import '../utils/setViewportProperty.js';
|
|
|
21
20
|
import 'lodash/maxBy';
|
|
22
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
22
|
import 'react-inlinesvg';
|
|
24
|
-
import '../
|
|
23
|
+
import '../Link_es_CyJn7NFb.js';
|
|
25
24
|
import 'react-scrollbars-custom';
|
|
26
25
|
|
|
26
|
+
var searchAppearanceDefault = {
|
|
27
|
+
defaultPrimary: {
|
|
28
|
+
fill: 'surfaceSecondary',
|
|
29
|
+
borderColor: 'surfaceBorderTertiary',
|
|
30
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
31
|
+
textColor: 'surfaceTextPrimary',
|
|
32
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
33
|
+
caret: 'secondaryItemSecondary',
|
|
34
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
35
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
36
|
+
},
|
|
37
|
+
defaultSecondary: {
|
|
38
|
+
fill: 'surfacePrimary',
|
|
39
|
+
borderColor: 'surfaceBorderTertiary',
|
|
40
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
41
|
+
textColor: 'surfaceTextPrimary',
|
|
42
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
43
|
+
caret: 'secondaryItemSecondary',
|
|
44
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
45
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
46
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
var searchAppearanceDisabled = {
|
|
51
|
+
disabledPrimary: {
|
|
52
|
+
fill: 'surfaceFillDisabled',
|
|
53
|
+
borderColor: 'errorBorderQuaternary',
|
|
54
|
+
borderHover: 'errorBorderQuaternary',
|
|
55
|
+
textColor: 'surfaceTextQuaternary',
|
|
56
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
57
|
+
iconClearFill: 'errorItemPrimary',
|
|
58
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
59
|
+
},
|
|
60
|
+
disabledSecondary: {
|
|
61
|
+
fill: 'surfaceSecondary',
|
|
62
|
+
borderColor: 'surfaceBorderTertiary',
|
|
63
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
64
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
65
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
66
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
var searchAppearanceError = {
|
|
71
|
+
errorPrimary: {
|
|
72
|
+
fill: 'errorTertiary',
|
|
73
|
+
borderColor: 'errorBorderQuaternary',
|
|
74
|
+
borderHover: 'errorBorderQuaternary',
|
|
75
|
+
textColor: 'surfaceTextPrimary',
|
|
76
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
77
|
+
iconClearFill: 'errorItemPrimary',
|
|
78
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
79
|
+
},
|
|
80
|
+
errorSecondary: {
|
|
81
|
+
fill: 'errorSecondary',
|
|
82
|
+
borderColor: 'errorBorderTertiary',
|
|
83
|
+
borderHover: 'errorBorderQuaternary',
|
|
84
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
85
|
+
iconClearFill: 'errorItemPrimary',
|
|
86
|
+
placeholderTextColor: 'errorTextSecondary',
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
var searchAppearanceRequire = {
|
|
91
|
+
requirePrimary: {
|
|
92
|
+
fill: 'warningTertiary',
|
|
93
|
+
borderColor: 'warningBorderQuaternary',
|
|
94
|
+
borderHover: 'warningBorderQuaternary',
|
|
95
|
+
textColor: 'surfaceTextPrimary',
|
|
96
|
+
iconBeforeFill: 'warningItemQuaternary',
|
|
97
|
+
iconClearFill: 'warningItemPrimary',
|
|
98
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
99
|
+
},
|
|
100
|
+
requireSecondary: {
|
|
101
|
+
fill: 'surfaceSecondary',
|
|
102
|
+
borderColor: 'surfaceBorderTertiary',
|
|
103
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
104
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
105
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
106
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
|
|
27
110
|
var searchAppearanceSize = {
|
|
111
|
+
sizeXXL: {
|
|
112
|
+
size: 'xxl',
|
|
113
|
+
textSize: 'l',
|
|
114
|
+
},
|
|
115
|
+
sizeXL: {
|
|
116
|
+
size: 'xl',
|
|
117
|
+
textSize: 's',
|
|
118
|
+
},
|
|
119
|
+
sizeL: {
|
|
120
|
+
size: 'l',
|
|
121
|
+
textSize: 's',
|
|
122
|
+
},
|
|
123
|
+
sizeM: {
|
|
124
|
+
size: 'm',
|
|
125
|
+
textSize: 'm',
|
|
126
|
+
},
|
|
28
127
|
sizeS: {
|
|
29
128
|
size: 's',
|
|
30
|
-
|
|
31
|
-
iconBeforeSize: '24',
|
|
32
|
-
iconClear: icon24.Clear,
|
|
33
|
-
iconClearSize: '24',
|
|
129
|
+
textSize: 's',
|
|
34
130
|
},
|
|
35
131
|
sizeXS: {
|
|
36
132
|
size: 'xs',
|
|
37
|
-
|
|
38
|
-
iconBeforeSize: '16',
|
|
39
|
-
iconClear: icon16.Clear,
|
|
40
|
-
iconClearSize: '16',
|
|
133
|
+
textSize: 's',
|
|
41
134
|
},
|
|
42
135
|
};
|
|
43
136
|
|
|
@@ -57,6 +150,26 @@ var searchAppearanceStyle = {
|
|
|
57
150
|
},
|
|
58
151
|
};
|
|
59
152
|
|
|
153
|
+
var searchAppearanceSuccess = {
|
|
154
|
+
successPrimary: {
|
|
155
|
+
fill: 'successTertiary',
|
|
156
|
+
borderColor: 'successBorderQuaternary',
|
|
157
|
+
borderHover: 'successBorderQuaternary',
|
|
158
|
+
textColor: 'surfaceTextPrimary',
|
|
159
|
+
iconBeforeFill: 'successItemQuaternary',
|
|
160
|
+
iconClearFill: 'successItemPrimary',
|
|
161
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
162
|
+
},
|
|
163
|
+
successSecondary: {
|
|
164
|
+
fill: 'surfaceSecondary',
|
|
165
|
+
borderColor: 'surfaceBorderTertiary',
|
|
166
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
167
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
168
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
169
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
|
|
60
173
|
var searchAppearanceSurface = {
|
|
61
174
|
surfacePrimary: {
|
|
62
175
|
fill: 'surfacePrimary',
|
|
@@ -75,7 +188,7 @@ var searchAppearanceSurface = {
|
|
|
75
188
|
},
|
|
76
189
|
};
|
|
77
190
|
|
|
78
|
-
var searchAppearance = __assign(__assign(__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle);
|
|
191
|
+
var searchAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle), searchAppearanceDefault), searchAppearanceError), searchAppearanceSuccess), searchAppearanceRequire), searchAppearanceDisabled);
|
|
79
192
|
|
|
80
193
|
var searchInputConfig = {
|
|
81
194
|
appearance: searchAppearance,
|
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { T as Text } from '../
|
|
6
|
+
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
|
@@ -1,13 +1,13 @@
|
|
|
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_D0PSqI2c.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';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import { T as Text } from '../
|
|
10
|
-
import { G as Group } from '../
|
|
9
|
+
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
|
+
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
11
11
|
import { D as Divider } from '../Divider_es_BdU9qjKa.js';
|
|
12
12
|
import '../hooks/useStyles/useStyles.js';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -22,7 +22,7 @@ import 'react-responsive';
|
|
|
22
22
|
import '../utils/setViewportProperty.js';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Link_es_CyJn7NFb.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
27
27
|
|
|
28
28
|
// interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
|