@itcase/ui 1.8.19 → 1.8.22
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_DSXs1Yrg.js +221 -0
- package/dist/Avatar_es_DByUaJL6.js +217 -0
- package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CukkOE-v.js} +15 -6
- package/dist/{Button_es_CHDT0-8K.js → Button_es_DXcCJuNX.js} +15 -6
- package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_9wrMZrzL.js} +2 -2
- package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_CjGZ-ulT.js} +2 -2
- package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_BriuTQqj.js} +4 -4
- package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_DzY_fVii.js} +4 -4
- package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DY61IdLK.js} +15 -15
- package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_D8mY9vFZ.js} +15 -15
- package/dist/{Group_cjs_B0oM0pjF.js → Group_cjs_Cwt0gWk4.js} +9 -2
- package/dist/{Group_es_B8pQHYsC.js → Group_es_CYW2Hquh.js} +9 -2
- 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_CnwET26s.js} +12 -4
- package/dist/{Label_es_CiPEDFcR.js → Label_es_Dc18d1gY.js} +12 -4
- package/dist/Link_cjs_DbRGq2Yk.js +303 -0
- package/dist/Link_es_DxtZLeKY.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_PkuRdzzy.js} +480 -17
- package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_BaGfb-qC.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 +4 -4
- package/dist/cjs/components/Button.js +5 -5
- package/dist/cjs/components/Cell.js +16 -150
- 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/Code.js +2 -8
- 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 +166 -44
- 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 +30 -10
- package/dist/cjs/components/Modal.js +4 -4
- 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/Radio.js +1 -1
- package/dist/cjs/components/Response/img.js +33 -0
- package/dist/cjs/components/Response.js +96 -184
- 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 +81 -8
- 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 +4 -4
- package/dist/components/Button.js +5 -5
- package/dist/components/Cell.js +16 -150
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +6 -6
- package/dist/components/Code.js +2 -8
- 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 +166 -43
- 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 +30 -10
- package/dist/components/Modal.js +4 -4
- package/dist/components/ModalSheetBottom.js +7 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +11 -9
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response/img.js +31 -0
- package/dist/components/Response.js +96 -184
- 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 +81 -8
- package/dist/components/Title.js +3 -3
- package/dist/components/Tooltip.js +3 -3
- package/dist/css/components/AvatarStack/AvatarStack.css +54 -0
- package/dist/css/components/Code/Code.css +3 -6
- package/dist/css/components/Icon/Icon.css +128 -4
- 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/Text/Text.css +0 -9
- package/dist/css/components/Tile/Tile.css +7 -5
- 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/svg-color/svg_fill.css +5 -5
- 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/Plsyground.mdx +0 -1
- package/dist/stories/index.stories.js +46 -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/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/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/buttonAccent.d.ts +1 -0
- package/dist/types/components/Button/appearance/buttonDanger.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/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/inputPasswordDefault.d.ts +24 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +20 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -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 +20 -0
- package/dist/types/components/InputPassword/index.d.ts +1 -1
- 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/{Cell/appearance/cellAccent.d.ts → Link/appearance/linkAccent.d.ts} +2 -3
- package/dist/types/components/{Cell/appearance/cellDanger.d.ts → Link/appearance/linkDanger.d.ts} +2 -2
- package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
- package/dist/types/components/{Cell/appearance/cellError.d.ts → Link/appearance/linkError.d.ts} +2 -2
- package/dist/types/components/{Cell/appearance/cellInfo.d.ts → Link/appearance/linkInfo.d.ts} +2 -2
- package/dist/types/components/{Cell/appearance/cellPrimary.d.ts → Link/appearance/linkPrimary.d.ts} +2 -2
- package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
- package/dist/types/components/{Cell/appearance/cellSecondary.d.ts → Link/appearance/linkSecondary.d.ts} +2 -2
- 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/{Cell/appearance/cellSuccess.d.ts → Link/appearance/linkSuccess.d.ts} +2 -2
- package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
- package/dist/types/components/{Cell/appearance/cellWarning.d.ts → Link/appearance/linkWarning.d.ts} +2 -2
- 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/MenuItem/appearance/menuItemSize.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
- 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/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 +13 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +13 -0
- package/dist/types/components/Response/img/index.d.ts +12 -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/tileSize.d.ts +51 -0
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +24 -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 +7 -7
- 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/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/Pagination.mdx +0 -11
- 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/stories/Tile.mdx +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/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
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
|
+
var index = require('./Response/img.js');
|
|
4
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var clsx = require('clsx');
|
|
7
8
|
var SVG = require('react-inlinesvg');
|
|
8
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
10
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Button = require('../../
|
|
11
|
-
var Group = require('../../
|
|
12
|
-
var Text = require('../../
|
|
11
|
+
var Button = require('../../Button_cjs_CukkOE-v.js');
|
|
12
|
+
var Group = require('../../Group_cjs_Cwt0gWk4.js');
|
|
13
|
+
var Text = require('../../Text_cjs_DPhKj3wf.js');
|
|
13
14
|
require('lodash/camelCase');
|
|
14
15
|
require('lodash/castArray');
|
|
15
16
|
require('lodash/upperFirst');
|
|
@@ -22,205 +23,116 @@ require('react-responsive');
|
|
|
22
23
|
require('../utils/setViewportProperty.js');
|
|
23
24
|
require('lodash/maxBy');
|
|
24
25
|
require('../hooks/useStyles/styleAttributes.js');
|
|
25
|
-
require('../../
|
|
26
|
-
require('../../
|
|
27
|
-
require('../../
|
|
26
|
+
require('../../Tooltip_cjs_PkuRdzzy.js');
|
|
27
|
+
require('../../Link_cjs_DbRGq2Yk.js');
|
|
28
|
+
require('../../Loader_cjs_3VRzFLI2.js');
|
|
28
29
|
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
var img$4 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%3e%3cpath d='M116.144 71.2426C118.487 68.8995 118.487 65.1005 116.144 62.7574C113.801 60.4142 110.002 60.4142 107.659 62.7574L89.4506 80.9654L71.2426 62.7574C68.8995 60.4142 65.1005 60.4142 62.7574 62.7574C60.4142 65.1005 60.4142 68.8995 62.7574 71.2426L80.9654 89.4506L62.7574 107.659C60.4142 110.002 60.4142 113.801 62.7574 116.144C65.1005 118.487 68.8995 118.487 71.2426 116.144L89.4506 97.9359L107.659 116.144C110.002 118.487 113.801 118.487 116.144 116.144C118.487 113.801 118.487 110.002 116.144 107.659L97.9359 89.4506L116.144 71.2426Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
34
|
-
|
|
35
|
-
var img$3 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%3e%3cpath d='M128.811 123.436L110.56 105.386C115.694 99.2993 118.754 91.5088 118.754 82.9879C118.754 63.6507 102.929 48.0001 83.3768 48.0001C63.8246 47.9653 48 63.6159 48 82.9531C48 102.29 63.8246 117.941 83.3768 117.941C88.933 117.941 94.1727 116.689 98.8497 114.428C99.131 114.846 99.4475 115.263 99.8343 115.611L118.261 133.835C121.18 136.722 125.892 136.722 128.811 133.835C131.73 130.983 131.73 126.323 128.811 123.436ZM55.4551 82.9531C55.4551 67.6851 67.9742 55.3385 83.3768 55.3385C98.8145 55.3385 111.298 67.7198 111.298 82.9531C111.298 98.2211 98.7794 110.568 83.3768 110.568C67.9742 110.603 55.4551 98.2211 55.4551 82.9531Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
36
|
-
|
|
37
|
-
var img$2 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%2374B43D'/%3e%3cpath d='M61.3408 97.5419L82.9609 118.659L127.71 65.3632' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
38
|
-
|
|
39
|
-
var img$1 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M85.7155 56.9042L54.1865 115.911C53.0219 118.09 54.5678 121.43 58.4708 121.43H121.529C125.432 121.43 126.978 118.09 125.814 115.911L94.2845 56.9043C93.5012 55.4392 91.8762 54.57 89.9998 54.57C88.1237 54.57 86.4986 55.439 85.7155 56.9042ZM89.9998 48C93.9317 48 98.1142 49.8644 100.253 53.8659L131.782 112.873C135.732 120.266 129.482 128 121.529 128H58.4708C50.5181 128 44.2675 120.266 48.2181 112.873L79.7471 53.866C81.8855 49.8645 86.0683 48 89.9998 48ZM90.0002 74.0886C91.8588 74.0886 93.3658 75.5593 93.3658 77.3736V92.8756C93.3658 94.6897 91.8588 96.1606 90.0002 96.1606C88.1411 96.1606 86.6345 94.6897 86.6345 92.8756V77.3736C86.6345 75.5593 88.1411 74.0886 90.0002 74.0886ZM93.3658 108.377C93.3658 106.563 91.8588 105.092 90.0002 105.092C88.1411 105.092 86.6345 106.563 86.6345 108.377V108.457C86.6345 110.271 88.1411 111.742 90.0002 111.742C91.8588 111.742 93.3658 110.271 93.3658 108.457V108.377Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
40
|
-
|
|
41
|
-
var img = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23DE8806'/%3e%3cpath d='M90.5028 104.581V45.2513' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M90.5028 134.749V129.721' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
42
|
-
|
|
43
|
-
var responseAppearance = {
|
|
44
|
-
custom: {
|
|
30
|
+
var responseAppearanceConfirm = {
|
|
31
|
+
confirm: {
|
|
32
|
+
fill: 'surfacePrimary',
|
|
45
33
|
titleTextColor: 'surfaceTextPrimary',
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
primaryButtonLabelTextSize: 'l',
|
|
53
|
-
primaryButtonShape: 'rounded',
|
|
54
|
-
primaryButtonSize: 'xxl',
|
|
55
|
-
primaryButtonWidth: 'fill',
|
|
56
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
57
|
-
secondaryButtonLabelTextSize: 'l',
|
|
58
|
-
secondaryButtonShape: 'rounded',
|
|
59
|
-
secondaryButtonSize: 'xxl',
|
|
60
|
-
secondaryButtonWidth: 'fill',
|
|
34
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
35
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
36
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
37
|
+
svgFill: 'surfaceTertiary',
|
|
38
|
+
SvgImage: index.resposeIcon.Confirm,
|
|
39
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
61
40
|
},
|
|
62
|
-
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var responseAppearanceFail = {
|
|
44
|
+
fail: {
|
|
45
|
+
fill: 'surfacePrimary',
|
|
63
46
|
titleTextColor: 'surfaceTextPrimary',
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
primaryButtonLabelTextSize: 'l',
|
|
71
|
-
primaryButtonShape: 'rounded',
|
|
72
|
-
primaryButtonSize: 'xxl',
|
|
73
|
-
primaryButtonWidth: 'fill',
|
|
74
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
75
|
-
secondaryButtonLabelTextSize: 'l',
|
|
76
|
-
secondaryButtonShape: 'rounded',
|
|
77
|
-
secondaryButtonSize: 'xxl',
|
|
78
|
-
secondaryButtonWidth: 'fill',
|
|
79
|
-
svgFill: 'surfacePrimary',
|
|
80
|
-
SvgImage: img$5,
|
|
47
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
48
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
49
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
50
|
+
svgFill: 'surfaceTertiary',
|
|
51
|
+
SvgImage: index.resposeIcon.Fail,
|
|
52
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
81
53
|
},
|
|
82
|
-
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
var responseAppearanceNothingFound = {
|
|
57
|
+
nothingFound: {
|
|
58
|
+
fill: 'surfacePrimary',
|
|
83
59
|
titleTextColor: 'surfaceTextPrimary',
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
primaryButtonLabelTextSize: 'l',
|
|
91
|
-
primaryButtonShape: 'rounded',
|
|
92
|
-
primaryButtonSize: 'xxl',
|
|
93
|
-
primaryButtonWidth: 'fill',
|
|
94
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
95
|
-
secondaryButtonLabelTextSize: 'l',
|
|
96
|
-
secondaryButtonShape: 'rounded',
|
|
97
|
-
secondaryButtonSize: 'xxl',
|
|
98
|
-
secondaryButtonWidth: 'fill',
|
|
99
|
-
svgFill: 'successPrimary',
|
|
100
|
-
SvgImage: img$2,
|
|
60
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
61
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
62
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
63
|
+
svgFill: 'surfaceTertiary',
|
|
64
|
+
SvgImage: index.resposeIcon.NothingFound,
|
|
65
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
101
66
|
},
|
|
102
|
-
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
var responseAppearanceRefresh = {
|
|
70
|
+
refresh: {
|
|
71
|
+
fill: 'surfacePrimary',
|
|
103
72
|
titleTextColor: 'surfaceTextPrimary',
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
primaryButtonLabelTextSize: 'l',
|
|
111
|
-
primaryButtonShape: 'rounded',
|
|
112
|
-
primaryButtonSize: 'xxl',
|
|
113
|
-
primaryButtonWidth: 'fill',
|
|
114
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
115
|
-
secondaryButtonLabelTextSize: 'l',
|
|
116
|
-
secondaryButtonShape: 'rounded',
|
|
117
|
-
secondaryButtonSize: 'xxl',
|
|
118
|
-
secondaryButtonWidth: 'fill',
|
|
119
|
-
svgFill: 'warningPrimary',
|
|
120
|
-
SvgImage: img,
|
|
73
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
74
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
75
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
76
|
+
svgFill: 'surfaceTertiary',
|
|
77
|
+
SvgImage: index.resposeIcon.Refresh,
|
|
78
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
121
79
|
},
|
|
122
|
-
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
var responseAppearanceError = {
|
|
83
|
+
error: {
|
|
84
|
+
fill: 'surfacePrimary',
|
|
123
85
|
titleTextColor: 'surfaceTextPrimary',
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
primaryButtonLabelTextSize: 'l',
|
|
131
|
-
primaryButtonShape: 'rounded',
|
|
132
|
-
primaryButtonSize: 'xxl',
|
|
133
|
-
primaryButtonWidth: 'fill',
|
|
134
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
135
|
-
secondaryButtonLabelTextSize: 'l',
|
|
136
|
-
secondaryButtonShape: 'rounded',
|
|
137
|
-
secondaryButtonSize: 'xxl',
|
|
138
|
-
secondaryButtonWidth: 'fill',
|
|
139
|
-
svgFill: 'surfacePrimary',
|
|
140
|
-
SvgImage: img$4,
|
|
86
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
87
|
+
primaryButtonAppearance: 'error sizeXXL',
|
|
88
|
+
secondaryButtonAppearance: 'sizeXXL surfaceSecondary',
|
|
89
|
+
svgFill: 'errorPrimary',
|
|
90
|
+
SvgImage: index.resposeIcon.Error,
|
|
91
|
+
svgPathFill: 'accentItemPrimary',
|
|
141
92
|
},
|
|
142
|
-
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
var responseAppearanceSuccess = {
|
|
96
|
+
success: {
|
|
97
|
+
fill: 'surfacePrimary',
|
|
143
98
|
titleTextColor: 'surfaceTextPrimary',
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
primaryButtonLabelTextSize: 'l',
|
|
151
|
-
primaryButtonShape: 'rounded',
|
|
152
|
-
primaryButtonSize: 'xxl',
|
|
153
|
-
primaryButtonWidth: 'fill',
|
|
154
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
155
|
-
secondaryButtonLabelTextSize: 'l',
|
|
156
|
-
secondaryButtonShape: 'rounded',
|
|
157
|
-
secondaryButtonSize: 'xxl',
|
|
158
|
-
secondaryButtonWidth: 'fill',
|
|
159
|
-
svgFill: 'surfacePrimary',
|
|
160
|
-
SvgImage: img$3,
|
|
99
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
100
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
101
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
102
|
+
svgFill: 'accentPrimary',
|
|
103
|
+
SvgImage: index.resposeIcon.Success,
|
|
104
|
+
svgPathFill: 'accentItemPrimary',
|
|
161
105
|
},
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
var responseAppearanceUnableLoadData = {
|
|
162
109
|
unableLoadData: {
|
|
110
|
+
fill: 'surfacePrimary',
|
|
163
111
|
titleTextColor: 'surfaceTextPrimary',
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
primaryButtonLabelTextSize: 'l',
|
|
171
|
-
primaryButtonShape: 'rounded',
|
|
172
|
-
primaryButtonSize: 'xxl',
|
|
173
|
-
primaryButtonWidth: 'fill',
|
|
174
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
175
|
-
secondaryButtonLabelTextSize: 'l',
|
|
176
|
-
secondaryButtonShape: 'rounded',
|
|
177
|
-
secondaryButtonSize: 'xxl',
|
|
178
|
-
secondaryButtonWidth: 'fill',
|
|
179
|
-
svgFill: 'surfacePrimary',
|
|
180
|
-
SvgImage: img$1,
|
|
112
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
113
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
114
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
115
|
+
svgFill: 'surfaceTertiary',
|
|
116
|
+
SvgImage: index.resposeIcon.UnableLoadData,
|
|
117
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
181
118
|
},
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
descTextSize: 'm',
|
|
188
|
-
descTextWeight: 400,
|
|
189
|
-
primaryButtonAppearance: 'surfaceTertiary',
|
|
190
|
-
primaryButtonLabelTextSize: 'l',
|
|
191
|
-
primaryButtonShape: 'rounded',
|
|
192
|
-
primaryButtonSize: 'xxl',
|
|
193
|
-
primaryButtonWidth: 'fill',
|
|
194
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
195
|
-
secondaryButtonLabelTextSize: 'l',
|
|
196
|
-
secondaryButtonShape: 'rounded',
|
|
197
|
-
secondaryButtonSize: 'xxl',
|
|
198
|
-
secondaryButtonWidth: 'fill',
|
|
199
|
-
svgFill: 'surfacePrimary',
|
|
200
|
-
SvgImage: img$3,
|
|
201
|
-
},
|
|
202
|
-
confirm: {
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
var responseAppearanceWarning = {
|
|
122
|
+
warning: {
|
|
123
|
+
fill: 'surfacePrimary',
|
|
203
124
|
titleTextColor: 'surfaceTextPrimary',
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
primaryButtonLabelTextSize: 'l',
|
|
211
|
-
primaryButtonShape: 'rounded',
|
|
212
|
-
primaryButtonSize: 'xxl',
|
|
213
|
-
primaryButtonWidth: 'fill',
|
|
214
|
-
secondaryButtonAppearance: 'surfaceSecondary',
|
|
215
|
-
secondaryButtonLabelTextSize: 'l',
|
|
216
|
-
secondaryButtonShape: 'rounded',
|
|
217
|
-
secondaryButtonSize: 'xxl',
|
|
218
|
-
secondaryButtonWidth: 'fill',
|
|
219
|
-
svgFill: 'surfacePrimary',
|
|
220
|
-
SvgImage: img$6,
|
|
125
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
126
|
+
primaryButtonAppearance: 'warning sizeXXL',
|
|
127
|
+
secondaryButtonAppearance: 'sizeXXL surfaceSecondary',
|
|
128
|
+
svgFill: 'warningPrimary',
|
|
129
|
+
SvgImage: index.resposeIcon.Warning,
|
|
130
|
+
svgPathFill: 'accentItemPrimary',
|
|
221
131
|
},
|
|
222
132
|
};
|
|
223
133
|
|
|
134
|
+
var responseAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, responseAppearanceConfirm), responseAppearanceRefresh), responseAppearanceUnableLoadData), responseAppearanceNothingFound), responseAppearanceFail), responseAppearanceError), responseAppearanceSuccess), responseAppearanceWarning);
|
|
135
|
+
|
|
224
136
|
var responseConfig = {
|
|
225
137
|
appearance: responseAppearance,
|
|
226
138
|
setAppearance: function (appearanceConfig) {
|
|
@@ -234,7 +146,7 @@ function Response(props) {
|
|
|
234
146
|
return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = responseConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
235
147
|
}, {});
|
|
236
148
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
237
|
-
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass
|
|
149
|
+
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass; propsGenerator.textAlignClass; var primaryButtonAfter = propsGenerator.primaryButtonAfter, primaryButtonAppearance = propsGenerator.primaryButtonAppearance, primaryButtonBefore = propsGenerator.primaryButtonBefore, primaryButtonFill = propsGenerator.primaryButtonFill, primaryButtonFillHover = propsGenerator.primaryButtonFillHover, primaryButtonLabel = propsGenerator.primaryButtonLabel, primaryButtonLabelTextColor = propsGenerator.primaryButtonLabelTextColor, primaryButtonLabelTextSize = propsGenerator.primaryButtonLabelTextSize, primaryButtonShape = propsGenerator.primaryButtonShape, primaryButtonSize = propsGenerator.primaryButtonSize, primaryButtonWidth = propsGenerator.primaryButtonWidth, secondaryButtonAfter = propsGenerator.secondaryButtonAfter, secondaryButtonAppearance = propsGenerator.secondaryButtonAppearance, secondaryButtonBefore = propsGenerator.secondaryButtonBefore, secondaryButtonFill = propsGenerator.secondaryButtonFill, secondaryButtonFillHover = propsGenerator.secondaryButtonFillHover, secondaryButtonLabel = propsGenerator.secondaryButtonLabel, secondaryButtonLabelTextColor = propsGenerator.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = propsGenerator.secondaryButtonLabelTextSize, secondaryButtonShape = propsGenerator.secondaryButtonShape, secondaryButtonSize = propsGenerator.secondaryButtonSize, secondaryButtonWidth = propsGenerator.secondaryButtonWidth, onClickPrimaryButton = propsGenerator.onClickPrimaryButton, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, imageSrc = propsGenerator.imageSrc, shapeClass = propsGenerator.shapeClass, svgFillClass = propsGenerator.svgFillClass, SvgImage = propsGenerator.SvgImage, svgPathFillClass = propsGenerator.svgPathFillClass, svgSrc = propsGenerator.svgSrc;
|
|
238
150
|
var ImageComponent = React.useMemo(function () {
|
|
239
151
|
var src = imageSrc || svgSrc;
|
|
240
152
|
var Image = SvgImage;
|
|
@@ -263,7 +175,7 @@ function Response(props) {
|
|
|
263
175
|
}, [imageSrc, svgSrc, SvgImage, width, height, svgFillClass]);
|
|
264
176
|
// @ts-expect-error
|
|
265
177
|
var _a = useStyles.useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
|
|
266
|
-
return (jsxRuntime.jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxRuntime.jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsxRuntime.jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxRuntime.jsxs(
|
|
178
|
+
return (jsxRuntime.jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxRuntime.jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsxRuntime.jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxRuntime.jsxs("div", { className: "response__wrapper-inner", children: [title && (jsxRuntime.jsx(Text.Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
|
|
267
179
|
primaryButton ||
|
|
268
180
|
secondaryButtonLabel ||
|
|
269
181
|
secondaryButton ||
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
|
-
var _default = require('@itcase/icons/default');
|
|
5
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
5
|
var React = require('react');
|
|
7
6
|
var clsx = require('clsx');
|
|
8
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Tooltip = require('../../
|
|
11
|
-
var Text = require('../../
|
|
9
|
+
var Tooltip = require('../../Tooltip_cjs_PkuRdzzy.js');
|
|
10
|
+
var Text = require('../../Text_cjs_DPhKj3wf.js');
|
|
12
11
|
var Scrollbar = require('../../Scrollbar_cjs_DcKOfcNp.js');
|
|
13
12
|
require('lodash/camelCase');
|
|
14
13
|
require('lodash/castArray');
|
|
@@ -23,23 +22,117 @@ require('../utils/setViewportProperty.js');
|
|
|
23
22
|
require('lodash/maxBy');
|
|
24
23
|
require('../hooks/useStyles/styleAttributes.js');
|
|
25
24
|
require('react-inlinesvg');
|
|
26
|
-
require('../../
|
|
25
|
+
require('../../Link_cjs_DbRGq2Yk.js');
|
|
27
26
|
require('react-scrollbars-custom');
|
|
28
27
|
|
|
28
|
+
var searchAppearanceDefault = {
|
|
29
|
+
defaultPrimary: {
|
|
30
|
+
fill: 'surfaceSecondary',
|
|
31
|
+
borderColor: 'surfaceBorderTertiary',
|
|
32
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
33
|
+
textColor: 'surfaceTextPrimary',
|
|
34
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
35
|
+
caret: 'secondaryItemSecondary',
|
|
36
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
37
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
38
|
+
},
|
|
39
|
+
defaultSecondary: {
|
|
40
|
+
fill: 'surfacePrimary',
|
|
41
|
+
borderColor: 'surfaceBorderTertiary',
|
|
42
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
43
|
+
textColor: 'surfaceTextPrimary',
|
|
44
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
45
|
+
caret: 'secondaryItemSecondary',
|
|
46
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
47
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
48
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
var searchAppearanceDisabled = {
|
|
53
|
+
disabledPrimary: {
|
|
54
|
+
fill: 'surfaceFillDisabled',
|
|
55
|
+
borderColor: 'errorBorderQuaternary',
|
|
56
|
+
borderHover: 'errorBorderQuaternary',
|
|
57
|
+
textColor: 'surfaceTextQuaternary',
|
|
58
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
59
|
+
iconClearFill: 'errorItemPrimary',
|
|
60
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
61
|
+
},
|
|
62
|
+
disabledSecondary: {
|
|
63
|
+
fill: 'surfaceSecondary',
|
|
64
|
+
borderColor: 'surfaceBorderTertiary',
|
|
65
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
66
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
67
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
68
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
var searchAppearanceError = {
|
|
73
|
+
errorPrimary: {
|
|
74
|
+
fill: 'errorTertiary',
|
|
75
|
+
borderColor: 'errorBorderQuaternary',
|
|
76
|
+
borderHover: 'errorBorderQuaternary',
|
|
77
|
+
textColor: 'surfaceTextPrimary',
|
|
78
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
79
|
+
iconClearFill: 'errorItemPrimary',
|
|
80
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
81
|
+
},
|
|
82
|
+
errorSecondary: {
|
|
83
|
+
fill: 'errorSecondary',
|
|
84
|
+
borderColor: 'errorBorderTertiary',
|
|
85
|
+
borderHover: 'errorBorderQuaternary',
|
|
86
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
87
|
+
iconClearFill: 'errorItemPrimary',
|
|
88
|
+
placeholderTextColor: 'errorTextSecondary',
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
var searchAppearanceRequire = {
|
|
93
|
+
requirePrimary: {
|
|
94
|
+
fill: 'warningTertiary',
|
|
95
|
+
borderColor: 'warningBorderQuaternary',
|
|
96
|
+
borderHover: 'warningBorderQuaternary',
|
|
97
|
+
textColor: 'surfaceTextPrimary',
|
|
98
|
+
iconBeforeFill: 'warningItemQuaternary',
|
|
99
|
+
iconClearFill: 'warningItemPrimary',
|
|
100
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
101
|
+
},
|
|
102
|
+
requireSecondary: {
|
|
103
|
+
fill: 'surfaceSecondary',
|
|
104
|
+
borderColor: 'surfaceBorderTertiary',
|
|
105
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
106
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
107
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
108
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
|
|
29
112
|
var searchAppearanceSize = {
|
|
113
|
+
sizeXXL: {
|
|
114
|
+
size: 'xxl',
|
|
115
|
+
textSize: 'l',
|
|
116
|
+
},
|
|
117
|
+
sizeXL: {
|
|
118
|
+
size: 'xl',
|
|
119
|
+
textSize: 's',
|
|
120
|
+
},
|
|
121
|
+
sizeL: {
|
|
122
|
+
size: 'l',
|
|
123
|
+
textSize: 's',
|
|
124
|
+
},
|
|
125
|
+
sizeM: {
|
|
126
|
+
size: 'm',
|
|
127
|
+
textSize: 'm',
|
|
128
|
+
},
|
|
30
129
|
sizeS: {
|
|
31
130
|
size: 's',
|
|
32
|
-
|
|
33
|
-
iconBeforeSize: '24',
|
|
34
|
-
iconClear: _default.icon24.Clear,
|
|
35
|
-
iconClearSize: '24',
|
|
131
|
+
textSize: 's',
|
|
36
132
|
},
|
|
37
133
|
sizeXS: {
|
|
38
134
|
size: 'xs',
|
|
39
|
-
|
|
40
|
-
iconBeforeSize: '16',
|
|
41
|
-
iconClear: _default.icon16.Clear,
|
|
42
|
-
iconClearSize: '16',
|
|
135
|
+
textSize: 's',
|
|
43
136
|
},
|
|
44
137
|
};
|
|
45
138
|
|
|
@@ -59,6 +152,26 @@ var searchAppearanceStyle = {
|
|
|
59
152
|
},
|
|
60
153
|
};
|
|
61
154
|
|
|
155
|
+
var searchAppearanceSuccess = {
|
|
156
|
+
successPrimary: {
|
|
157
|
+
fill: 'successTertiary',
|
|
158
|
+
borderColor: 'successBorderQuaternary',
|
|
159
|
+
borderHover: 'successBorderQuaternary',
|
|
160
|
+
textColor: 'surfaceTextPrimary',
|
|
161
|
+
iconBeforeFill: 'successItemQuaternary',
|
|
162
|
+
iconClearFill: 'successItemPrimary',
|
|
163
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
164
|
+
},
|
|
165
|
+
successSecondary: {
|
|
166
|
+
fill: 'surfaceSecondary',
|
|
167
|
+
borderColor: 'surfaceBorderTertiary',
|
|
168
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
169
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
170
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
171
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
|
|
62
175
|
var searchAppearanceSurface = {
|
|
63
176
|
surfacePrimary: {
|
|
64
177
|
fill: 'surfacePrimary',
|
|
@@ -77,7 +190,7 @@ var searchAppearanceSurface = {
|
|
|
77
190
|
},
|
|
78
191
|
};
|
|
79
192
|
|
|
80
|
-
var searchAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle);
|
|
193
|
+
var searchAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle), searchAppearanceDefault), searchAppearanceError), searchAppearanceSuccess), searchAppearanceRequire), searchAppearanceDisabled);
|
|
81
194
|
|
|
82
195
|
var searchInputConfig = {
|
|
83
196
|
appearance: searchAppearance,
|
|
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
|
-
var Text = require('../../
|
|
8
|
+
var Text = require('../../Text_cjs_DPhKj3wf.js');
|
|
9
9
|
require('lodash/camelCase');
|
|
10
10
|
require('lodash/castArray');
|
|
11
11
|
require('lodash/upperFirst');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var Select = require('react-select');
|
|
6
|
-
var Tooltip = require('../../
|
|
6
|
+
var Tooltip = require('../../Tooltip_cjs_PkuRdzzy.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var CreatableSelect = require('react-select/creatable');
|
|
10
10
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
11
|
-
var Text = require('../../
|
|
12
|
-
var Group = require('../../
|
|
11
|
+
var Text = require('../../Text_cjs_DPhKj3wf.js');
|
|
12
|
+
var Group = require('../../Group_cjs_Cwt0gWk4.js');
|
|
13
13
|
var Divider = require('../../Divider_cjs_DzFVtGkF.js');
|
|
14
14
|
require('../hooks/useStyles/useStyles.js');
|
|
15
15
|
require('lodash/camelCase');
|
|
@@ -24,7 +24,7 @@ require('react-responsive');
|
|
|
24
24
|
require('../utils/setViewportProperty.js');
|
|
25
25
|
require('../hooks/useStyles/styleAttributes.js');
|
|
26
26
|
require('react-inlinesvg');
|
|
27
|
-
require('../../
|
|
27
|
+
require('../../Link_cjs_DbRGq2Yk.js');
|
|
28
28
|
require('lodash/castArray');
|
|
29
29
|
|
|
30
30
|
// interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var react = require('swiper/react');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Tooltip = require('../../
|
|
9
|
+
var Tooltip = require('../../Tooltip_cjs_PkuRdzzy.js');
|
|
10
10
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
require('lodash/camelCase');
|
|
12
12
|
require('lodash/castArray');
|
|
@@ -20,9 +20,9 @@ require('react-responsive');
|
|
|
20
20
|
require('../utils/setViewportProperty.js');
|
|
21
21
|
require('lodash/maxBy');
|
|
22
22
|
require('../hooks/useStyles/styleAttributes.js');
|
|
23
|
-
require('../../
|
|
23
|
+
require('../../Text_cjs_DPhKj3wf.js');
|
|
24
24
|
require('react-inlinesvg');
|
|
25
|
-
require('../../
|
|
25
|
+
require('../../Link_cjs_DbRGq2Yk.js');
|
|
26
26
|
|
|
27
27
|
function Swiper(props) {
|
|
28
28
|
var id = props.id, className = props.className, direction = props.direction, title = props.title, titleAfter = props.titleAfter, titleSize = props.titleSize, titleTextColor = props.titleTextColor, titleWeight = props.titleWeight, setNextBtnDisabled = props.setNextBtnDisabled, setPrevBtnDisabled = props.setPrevBtnDisabled, _a = props.activeSlideIndex, activeSlideIndex = _a === void 0 ? 0 : _a, allowTouchMove = props.allowTouchMove, autoHeight = props.autoHeight, breakpoints = props.breakpoints, forwardedRef = props.forwardedRef, // https://github.com/vercel/next.js/issues/4957
|