@itcase/ui 1.8.21 → 1.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Avatar_cjs_CiQ14ufF.js → Avatar_cjs_D84VawE9.js} +2 -21
- package/dist/{Avatar_es_No9vSqji.js → Avatar_es_CUnfNViT.js} +2 -21
- package/dist/{Button_cjs_CnStmeGt.js → Button_cjs_MfWRETXI.js} +13 -4
- package/dist/{Button_es_BV1bepl1.js → Button_es_zW2pQTwL.js} +13 -4
- package/dist/{ChipsGroup_cjs_CL00pWKy.js → ChipsGroup_cjs_CTh6644i.js} +1 -1
- package/dist/{ChipsGroup_es_Ciln2otW.js → ChipsGroup_es_BFxBhYNB.js} +1 -1
- package/dist/{DatePicker_cjs_DGgkpGbI.js → DatePicker_cjs_uDJmwWkk.js} +3 -3
- package/dist/{DatePicker_es_BIOyGm22.js → DatePicker_es_5r0isX1_.js} +3 -3
- package/dist/{DropdownItem_cjs_DT-zspEr.js → DropdownItem_cjs_C6Jx7-kx.js} +1 -1
- package/dist/{DropdownItem_es_BJLFqVuH.js → DropdownItem_es_UdkGGVtg.js} +1 -1
- package/dist/{Label_cjs_Cqcf6ffp.js → Label_cjs_jN0dxo1q.js} +11 -3
- package/dist/{Label_es_CeNdA70T.js → Label_es_CFQzN-2m.js} +11 -3
- package/dist/{Link_cjs_BlXrJ15R.js → Link_cjs_DbRGq2Yk.js} +9 -9
- package/dist/{Link_es_CyJn7NFb.js → Link_es_DxtZLeKY.js} +9 -9
- package/dist/{Tooltip_cjs_Cq5kuaIK.js → Tooltip_cjs_CaocDcQ5.js} +85 -27
- package/dist/{Tooltip_es_D0PSqI2c.js → Tooltip_es_D1w1s33u.js} +85 -27
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +15 -149
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +2 -8
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +71 -129
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +29 -9
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +19 -5
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response/img.js +33 -0
- package/dist/cjs/components/Response.js +81 -213
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Tile.js +10 -172
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +15 -149
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +2 -8
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +71 -129
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +29 -9
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +19 -5
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response/img.js +31 -0
- package/dist/components/Response.js +81 -213
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tile.js +10 -172
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/AvatarStack/AvatarStack.css +2 -15
- package/dist/css/components/Badge/Badge.css +3 -3
- package/dist/css/components/Code/Code.css +3 -6
- package/dist/css/components/Label/Label.css +4 -4
- package/dist/css/components/MenuItem/MenuItem.css +19 -43
- package/dist/css/components/Response/Response.css +6 -3
- package/dist/css/components/Tab/Tab.css +14 -31
- package/dist/css/components/Tile/Tile.css +7 -5
- package/dist/css/styles/border-color/border-color.css +19 -0
- package/dist/css/styles/border-color/border-color_active.css +38 -0
- package/dist/css/styles/border-color/border-color_focus.css +25 -1
- package/dist/css/styles/border-color/border-color_hover.css +32 -0
- package/dist/css/styles/svg-color/svg_fill.css +5 -5
- package/dist/stories/Plsyground.mdx +0 -1
- package/dist/stories/index.stories.js +5 -8
- package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
- package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +13 -1
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +6 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +7 -2
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +1 -3
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +5 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +7 -1
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
- package/dist/types/components/{Response/appearance/responseDisabled.d.ts → InputPassword/appearance/inputPasswordDefault.d.ts} +9 -5
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +15 -6
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +7 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +15 -6
- package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -1
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +6 -4
- package/dist/types/components/Response/img/index.d.ts +12 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +0 -1
- package/package.json +6 -8
- package/dist/cjs/components/InputMask.js +0 -65
- package/dist/cjs/components/Panel.js +0 -44
- package/dist/components/InputMask.js +0 -62
- package/dist/components/Panel.js +0 -41
- package/dist/css/components/InputMask/InputMask.css +0 -77
- package/dist/css/components/Panel/Panel.css +0 -107
- package/dist/stories/Accordion.mdx +0 -11
- package/dist/stories/AccordionItem.mdx +0 -15
- package/dist/stories/Breadcrumbs.mdx +0 -15
- package/dist/stories/BreadcrumbsItem.mdx +0 -17
- package/dist/stories/Dot.mdx +0 -19
- package/dist/stories/Drawer.mdx +0 -11
- package/dist/stories/Dropdown.mdx +0 -12
- package/dist/stories/DropdownItem.mdx +0 -19
- package/dist/stories/Image.mdx +0 -15
- package/dist/stories/Input.mdx +0 -31
- package/dist/stories/InputPassword.mdx +0 -15
- package/dist/stories/Label.mdx +0 -11
- package/dist/stories/ListItem.mdx +0 -11
- package/dist/stories/Logo.mdx +0 -24
- package/dist/stories/MenuItem.mdx +0 -15
- package/dist/stories/Modal.mdx +0 -15
- package/dist/stories/Notification.mdx +0 -23
- package/dist/stories/Radio.mdx +0 -28
- package/dist/stories/Response.mdx +0 -11
- package/dist/stories/SearchInput.mdx +0 -19
- package/dist/stories/Switch.mdx +0 -23
- package/dist/stories/Tab.mdx +0 -27
- package/dist/stories/Text.mdx +0 -35
- package/dist/types/components/Cell/appearance/cellAccent.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellDanger.d.ts +0 -7
- package/dist/types/components/Cell/appearance/cellError.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellInfo.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellPrimary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSecondary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSuccess.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellWarning.d.ts +0 -11
- package/dist/types/components/InputMask/InputMask.d.ts +0 -5
- package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
- package/dist/types/components/InputMask/index.d.ts +0 -1
- package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +0 -20
- package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +0 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +0 -21
- package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +0 -25
- package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +0 -11
- package/dist/types/components/Panel/Panel.d.ts +0 -5
- package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
- package/dist/types/components/Panel/index.d.ts +0 -1
- package/dist/types/components/Response/appearance/responseAccent.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseDanger.d.ts +0 -7
- package/dist/types/components/Response/appearance/responseInfo.d.ts +0 -21
- package/dist/types/components/Response/appearance/responsePrimary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseRequire.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseSecondary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseSize.d.ts +0 -59
- package/dist/types/components/Response/appearance/responseStyle.d.ts +0 -16
- package/dist/types/components/Response/appearance/responseSurface.d.ts +0 -25
- package/dist/types/components/Tile/appearance/tileAccent.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileDanger.d.ts +0 -7
- package/dist/types/components/Tile/appearance/tileDisabled.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileError.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileInfo.d.ts +0 -21
- package/dist/types/components/Tile/appearance/tilePrimary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileRequire.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileSecondary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +0 -16
- package/dist/types/components/Tile/appearance/tileSuccess.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileWarning.d.ts +0 -11
|
@@ -6,8 +6,8 @@ import ceil from 'lodash/ceil';
|
|
|
6
6
|
import ReactPaginate from 'react-paginate';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_UdkGGVtg.js';
|
|
10
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
12
|
import { icon32, icon24 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -24,7 +24,7 @@ import 'lodash/maxBy';
|
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Divider_es_BdU9qjKa.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
|
|
29
29
|
var paginationAppearanceSurface = {
|
|
30
30
|
surfacePrimary: {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var img$8 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23D9D9D9'/%3e%3cpath d='M93.2275 101.842H84.0659C83.8263 99.1898 83.976 96.839 84.515 94.7895C85.1138 92.74 86.2216 90.8111 87.8383 89.0027C89.515 87.1341 91.7904 85.2051 94.6647 83.2159C96.5808 81.8898 97.9581 80.5637 98.7964 79.2375C99.6946 77.9114 100.144 76.4345 100.144 74.807C100.144 72.2753 99.2156 70.1957 97.3593 68.5682C95.503 66.9406 93.0778 66.1269 90.0838 66.1269C87.3892 66.1269 84.7246 66.9105 82.0898 68.4777C79.4551 69.9847 77.0299 72.3959 74.8144 75.7112L67 67.9352C70.0539 64.0774 73.5868 61.1237 77.5988 59.0742C81.6707 57.0247 85.9521 56 90.4431 56C94.5749 56 98.2575 56.8439 101.491 58.5317C104.725 60.1592 107.269 62.3896 109.126 65.2227C111.042 67.9955 112 71.1601 112 74.7166C112 78.0922 111.042 81.1062 109.126 83.7584C107.269 86.4107 104.455 88.8821 100.683 91.1727C97.7485 92.8605 95.7725 94.4881 94.7545 96.0553C93.7365 97.6226 93.2275 99.5515 93.2275 101.842ZM96.1916 115.767C96.1916 117.756 95.4731 119.474 94.0359 120.92C92.5988 122.307 90.8323 123 88.7365 123C86.6407 123 84.8743 122.307 83.4371 120.92C82 119.474 81.2814 117.756 81.2814 115.767C81.2814 113.717 82 111.999 83.4371 110.613C84.8743 109.166 86.6407 108.443 88.7365 108.443C90.8323 108.443 92.5988 109.166 94.0359 110.613C95.4731 111.999 96.1916 113.717 96.1916 115.767Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
2
|
+
|
|
3
|
+
var img$7 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23E00000'/%3e%3cpath d='M90.5029 123.721C93.8166 123.721 96.5029 126.407 96.5029 129.721V134.749C96.5027 138.063 93.8165 140.749 90.5029 140.749C87.1894 140.749 84.5031 138.063 84.5029 134.749V129.721C84.5029 126.407 87.1892 123.721 90.5029 123.721ZM90.5029 39.251C93.8166 39.251 96.5029 41.9383 96.5029 45.252V104.582C96.5024 107.895 93.8163 110.582 90.5029 110.582C87.1895 110.582 84.5034 107.895 84.5029 104.582V45.252C84.5029 41.9382 87.1892 39.251 90.5029 39.251Z' fill='white'/%3e%3c/svg%3e";
|
|
4
|
+
|
|
5
|
+
var img$6 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='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";
|
|
6
|
+
|
|
7
|
+
var img$5 = "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";
|
|
8
|
+
|
|
9
|
+
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%3crect width='180' height='180' rx='90' fill='%23D9D9D9'/%3e%3cpath d='M89.4468 113.833C98.5743 113.833 106.51 108.762 110.56 101.299L116.507 109.116C110.49 117.519 100.612 123 89.4468 123C74.5162 123 61.888 113.2 57.7156 99.7167H51L62.3388 84.8667L73.6777 99.7167H67.55C71.2908 108.036 79.6878 113.833 89.4468 113.833Z' fill='%23747474'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M122.212 84.6833C119.654 68.9858 105.958 57 89.4468 57C77.527 57 67.0747 63.2463 61.2209 72.6261L67.4218 80.5738C71.0963 72.0991 79.5747 66.1667 89.4468 66.1667C100.848 66.1667 110.391 74.0798 112.821 84.6833H106.322L117.661 99.5333L129 84.6833H122.212ZM118.759 84.6833H118.81L118.793 84.6618L118.759 84.6833Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
10
|
+
|
|
11
|
+
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%3crect width='180' height='180' rx='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";
|
|
12
|
+
|
|
13
|
+
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%3crect width='180' height='180' rx='90' fill='%235E982B'/%3e%3cpath d='M134.488 71.1924L77.1924 128.488L68 119.296L68.1475 119.147L49 100L58.1924 90.8076L77.3398 109.955L125.296 62L134.488 71.1924Z' fill='white'/%3e%3c/svg%3e";
|
|
14
|
+
|
|
15
|
+
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%3crect width='180' height='180' rx='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";
|
|
16
|
+
|
|
17
|
+
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%3crect width='180' height='180' rx='90' fill='%23DE8806'/%3e%3cpath d='M90.5029 123.721C93.8166 123.721 96.5029 126.407 96.5029 129.721V134.749C96.5027 138.063 93.8165 140.749 90.5029 140.749C87.1894 140.749 84.5031 138.063 84.5029 134.749V129.721C84.5029 126.407 87.1892 123.721 90.5029 123.721ZM90.5029 39.251C93.8166 39.251 96.5029 41.9383 96.5029 45.252V104.582C96.5024 107.895 93.8163 110.582 90.5029 110.582C87.1895 110.582 84.5034 107.895 84.5029 104.582V45.252C84.5029 41.9382 87.1892 39.251 90.5029 39.251Z' fill='white'/%3e%3c/svg%3e";
|
|
18
|
+
|
|
19
|
+
var resposeIcon = {
|
|
20
|
+
Warning: img,
|
|
21
|
+
Success: img$2,
|
|
22
|
+
Confirm: img$8,
|
|
23
|
+
Search: img$3,
|
|
24
|
+
Error: img$7,
|
|
25
|
+
Fail: img$6,
|
|
26
|
+
NothingFound: img$5,
|
|
27
|
+
Refresh: img$4,
|
|
28
|
+
UnableLoadData: img$1,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export { resposeIcon };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
+
import { resposeIcon } from './Response/img.js';
|
|
2
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
4
|
import { useMemo } from 'react';
|
|
4
5
|
import clsx from 'clsx';
|
|
5
6
|
import SVG from 'react-inlinesvg';
|
|
6
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Button } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_zW2pQTwL.js';
|
|
9
10
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
10
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
11
12
|
import 'lodash/camelCase';
|
|
@@ -20,248 +21,115 @@ import 'react-responsive';
|
|
|
20
21
|
import '../utils/setViewportProperty.js';
|
|
21
22
|
import 'lodash/maxBy';
|
|
22
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
24
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
25
|
+
import '../Link_es_DxtZLeKY.js';
|
|
25
26
|
import '../Loader_es_DEYowVdU.js';
|
|
26
27
|
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
fill: '
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
accentSecondary: {
|
|
38
|
-
fill: 'accentPrimary',
|
|
39
|
-
fillHover: 'accentPrimaryHover',
|
|
40
|
-
labelTextColor: 'accentTextSecondary',
|
|
41
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
42
|
-
borderColor: 'accentBorderPrimary',
|
|
43
|
-
loaderItemFill: 'accentItemPrimary',
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
var responseAppearanceDanger = {
|
|
48
|
-
danger: {
|
|
49
|
-
fill: 'dangerPrimary',
|
|
50
|
-
fillHover: 'dangerPrimaryHover',
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
|
|
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
|
-
};
|
|
73
|
-
|
|
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
|
-
};
|
|
84
|
-
|
|
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
|
-
};
|
|
105
|
-
|
|
106
|
-
var responseAppearancePrimary = {
|
|
107
|
-
primary: {
|
|
108
|
-
fill: 'primaryPrimary',
|
|
109
|
-
fillHover: 'primaryPrimaryHover',
|
|
110
|
-
labelTextColor: 'primaryTextPrimary',
|
|
28
|
+
var responseAppearanceConfirm = {
|
|
29
|
+
confirm: {
|
|
30
|
+
fill: 'surfacePrimary',
|
|
31
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
32
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
33
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
34
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
35
|
+
svgFill: 'surfaceTertiary',
|
|
36
|
+
SvgImage: resposeIcon.Confirm,
|
|
37
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
111
38
|
},
|
|
112
39
|
};
|
|
113
40
|
|
|
114
|
-
var
|
|
115
|
-
|
|
116
|
-
fill: '
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
requireSecondary: {
|
|
125
|
-
fill: 'surfaceSecondary',
|
|
126
|
-
borderColor: 'surfaceBorderTertiary',
|
|
127
|
-
borderHover: 'surfaceBorderQuaternary',
|
|
128
|
-
iconBeforeFill: 'surfaceItemQuaternary',
|
|
129
|
-
iconClearFill: 'surfaceItemPrimary',
|
|
130
|
-
placeholderTextColor: 'surfaceTextSecondary',
|
|
41
|
+
var responseAppearanceFail = {
|
|
42
|
+
fail: {
|
|
43
|
+
fill: 'surfacePrimary',
|
|
44
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
45
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
46
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
47
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
48
|
+
svgFill: 'surfaceTertiary',
|
|
49
|
+
SvgImage: resposeIcon.Fail,
|
|
50
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
131
51
|
},
|
|
132
52
|
};
|
|
133
53
|
|
|
134
|
-
var
|
|
135
|
-
|
|
136
|
-
fill: '
|
|
137
|
-
|
|
138
|
-
labelTextColor: '
|
|
54
|
+
var responseAppearanceNothingFound = {
|
|
55
|
+
nothingFound: {
|
|
56
|
+
fill: 'surfacePrimary',
|
|
57
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
58
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
59
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
60
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
61
|
+
svgFill: 'surfaceTertiary',
|
|
62
|
+
SvgImage: resposeIcon.NothingFound,
|
|
63
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
139
64
|
},
|
|
140
65
|
};
|
|
141
66
|
|
|
142
|
-
var
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
size: 'xl',
|
|
153
|
-
labelTextSize: 'l',
|
|
154
|
-
iconAfterFillSize: '24',
|
|
155
|
-
iconAfterSize: '24',
|
|
156
|
-
iconBeforeFillSize: '24',
|
|
157
|
-
iconBeforeSize: '24',
|
|
158
|
-
},
|
|
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',
|
|
67
|
+
var responseAppearanceRefresh = {
|
|
68
|
+
refresh: {
|
|
69
|
+
fill: 'surfacePrimary',
|
|
70
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
71
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
72
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
73
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
74
|
+
svgFill: 'surfaceTertiary',
|
|
75
|
+
SvgImage: resposeIcon.Refresh,
|
|
76
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
198
77
|
},
|
|
199
78
|
};
|
|
200
79
|
|
|
201
|
-
var
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
solid: {
|
|
213
|
-
borderColor: '0',
|
|
80
|
+
var responseAppearanceError = {
|
|
81
|
+
error: {
|
|
82
|
+
fill: 'surfacePrimary',
|
|
83
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
84
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
85
|
+
primaryButtonAppearance: 'error sizeXXL',
|
|
86
|
+
secondaryButtonAppearance: 'sizeXXL surfaceSecondary',
|
|
87
|
+
svgFill: 'errorPrimary',
|
|
88
|
+
SvgImage: resposeIcon.Error,
|
|
89
|
+
svgPathFill: 'accentItemPrimary',
|
|
214
90
|
},
|
|
215
91
|
};
|
|
216
92
|
|
|
217
93
|
var responseAppearanceSuccess = {
|
|
218
94
|
success: {
|
|
219
|
-
fill: '
|
|
220
|
-
|
|
221
|
-
labelTextColor: '
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
95
|
+
fill: 'surfacePrimary',
|
|
96
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
97
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
98
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
99
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
100
|
+
svgFill: 'accentPrimary',
|
|
101
|
+
SvgImage: resposeIcon.Success,
|
|
102
|
+
svgPathFill: 'accentItemPrimary',
|
|
225
103
|
},
|
|
226
104
|
};
|
|
227
105
|
|
|
228
|
-
var
|
|
229
|
-
|
|
106
|
+
var responseAppearanceUnableLoadData = {
|
|
107
|
+
unableLoadData: {
|
|
230
108
|
fill: 'surfacePrimary',
|
|
231
|
-
|
|
232
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
233
|
-
},
|
|
234
|
-
surfaceQuaternary: {
|
|
235
|
-
fill: 'surfaceQuaternary',
|
|
236
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
237
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
238
|
-
},
|
|
239
|
-
surfaceSecondary: {
|
|
240
|
-
fill: 'surfaceSecondary',
|
|
241
|
-
fillHover: 'surfaceSecondaryHover',
|
|
242
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
243
|
-
loaderFill: 'surfaceSecondary',
|
|
244
|
-
loaderItemFill: 'surfaceItemPrimary',
|
|
245
|
-
},
|
|
246
|
-
surfaceTertiary: {
|
|
247
|
-
fill: 'surfaceTertiary',
|
|
248
|
-
fillHover: 'surfaceTertiaryHover',
|
|
109
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
249
110
|
labelTextColor: 'surfaceTextPrimary',
|
|
111
|
+
primaryButtonAppearance: 'accent sizeXXL',
|
|
112
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
113
|
+
svgFill: 'surfaceTertiary',
|
|
114
|
+
SvgImage: resposeIcon.UnableLoadData,
|
|
115
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
250
116
|
},
|
|
251
117
|
};
|
|
252
118
|
|
|
253
119
|
var responseAppearanceWarning = {
|
|
254
120
|
warning: {
|
|
255
|
-
fill: '
|
|
256
|
-
|
|
257
|
-
labelTextColor: '
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
121
|
+
fill: 'surfacePrimary',
|
|
122
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
123
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
124
|
+
primaryButtonAppearance: 'warning sizeXXL',
|
|
125
|
+
secondaryButtonAppearance: 'sizeXXL surfaceSecondary',
|
|
126
|
+
svgFill: 'warningPrimary',
|
|
127
|
+
SvgImage: resposeIcon.Warning,
|
|
128
|
+
svgPathFill: 'accentItemPrimary',
|
|
261
129
|
},
|
|
262
130
|
};
|
|
263
131
|
|
|
264
|
-
var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(
|
|
132
|
+
var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, responseAppearanceConfirm), responseAppearanceRefresh), responseAppearanceUnableLoadData), responseAppearanceNothingFound), responseAppearanceFail), responseAppearanceError), responseAppearanceSuccess), responseAppearanceWarning);
|
|
265
133
|
|
|
266
134
|
var responseConfig = {
|
|
267
135
|
appearance: responseAppearance,
|
|
@@ -276,7 +144,7 @@ function Response(props) {
|
|
|
276
144
|
return (__assign(__assign({}, resultConfig), (_a = responseConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
277
145
|
}, {});
|
|
278
146
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
279
|
-
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
|
|
147
|
+
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;
|
|
280
148
|
var ImageComponent = useMemo(function () {
|
|
281
149
|
var src = imageSrc || svgSrc;
|
|
282
150
|
var Image = SvgImage;
|
|
@@ -305,7 +173,7 @@ function Response(props) {
|
|
|
305
173
|
}, [imageSrc, svgSrc, SvgImage, width, height, svgFillClass]);
|
|
306
174
|
// @ts-expect-error
|
|
307
175
|
var _a = useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
|
|
308
|
-
return (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, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs(
|
|
176
|
+
return (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, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs("div", { className: "response__wrapper-inner", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsx(Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
|
|
309
177
|
primaryButton ||
|
|
310
178
|
secondaryButtonLabel ||
|
|
311
179
|
secondaryButton ||
|
|
@@ -4,7 +4,7 @@ import React, { useCallback } 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 { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -20,7 +20,7 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Link_es_DxtZLeKY.js';
|
|
24
24
|
import 'react-scrollbars-custom';
|
|
25
25
|
|
|
26
26
|
var searchAppearanceDefault = {
|
|
@@ -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_D1w1s33u.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';
|
|
@@ -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_DxtZLeKY.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
27
27
|
|
|
28
28
|
// interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
|
|
@@ -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_D1w1s33u.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -20,7 +20,7 @@ import 'lodash/maxBy';
|
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import '../Text_es_BRb3qqKM.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Link_es_DxtZLeKY.js';
|
|
24
24
|
|
|
25
25
|
function Swiper(props) {
|
|
26
26
|
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
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,9 +4,9 @@ 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 } from '../
|
|
7
|
+
import { B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_BdU9qjKa.js';
|
|
9
|
-
import { L as Link } from '../
|
|
9
|
+
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|