@itcase/ui 1.8.90 → 1.8.92
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_CoDaXDKy.js → Avatar_cjs_Dh7c9RmS.js} +2 -2
- package/dist/{Avatar_es_DUtgRVQ7.js → Avatar_es_D4xUwAOB.js} +2 -2
- package/dist/{Button_cjs_Crmtn084.js → Button_cjs_CQzbBsB0.js} +3 -3
- package/dist/{Button_es_BTidGO25.js → Button_es_Bj8CZ_bh.js} +3 -3
- package/dist/{ChipsGroup_cjs_BfzeDpwM.js → ChipsGroup_cjs_7mHtHzNh.js} +5 -5
- package/dist/{ChipsGroup_es_tfEKBIc4.js → ChipsGroup_es_Cz_gDYsw.js} +5 -5
- package/dist/{DatePicker_cjs_DGlgp1Oj.js → DatePicker_cjs_CnFVTsC1.js} +4 -4
- package/dist/{DatePicker_es_6j1FwGTI.js → DatePicker_es_DTSHtynU.js} +4 -4
- package/dist/{DropdownItem_cjs_eiWqrFRW.js → DropdownItem_cjs_DrMFaKh6.js} +2 -2
- package/dist/{DropdownItem_es_CHGCRZt0.js → DropdownItem_es_Dp7-DGkV.js} +2 -2
- package/dist/{Icon_cjs_CdFkbmKN.js → Icon_cjs_CDMtlf1A.js} +1 -1
- package/dist/{Icon_es_BpZIoe9M.js → Icon_es_MOmiy9nF.js} +1 -1
- package/dist/{Label_cjs_CFzGH1Ah.js → Label_cjs_BTLhlnJW.js} +2 -2
- package/dist/{Label_es_D-tO6hy7.js → Label_es_DBPp2ots.js} +2 -2
- package/dist/{Loader_cjs_DlnM5Vzb.js → Loader_cjs_mB_UCgBG.js} +1 -1
- package/dist/{Loader_es_DhNCKZ8Y.js → Loader_es_Dfs_VYxV.js} +1 -1
- package/dist/{Text_cjs_B8nNXWBA.js → Text_cjs_DmuzuKFj.js} +15 -8
- package/dist/{Text_es_BvmOR4nv.js → Text_es_DIU5ySvf.js} +15 -8
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +3 -3
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +3 -3
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DatePeriod.js +7 -7
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/HeroTitle.js +2 -2
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response.js +5 -5
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select/stories/__mock__.js +64 -0
- package/dist/cjs/components/Select.js +333 -41
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +2 -2
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Warning.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +3 -3
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +3 -3
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +3 -3
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DatePeriod.js +7 -7
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/HeroTitle.js +2 -2
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/Loader.js +2 -2
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +3 -3
- package/dist/components/Notification.js +2 -2
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response.js +5 -5
- package/dist/components/Search.js +2 -2
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select/stories/__mock__.js +62 -0
- package/dist/components/Select.js +334 -42
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +2 -2
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +2 -2
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Warning.js +2 -2
- package/dist/css/components/Select/Select.css +15 -111
- package/dist/css/components/Select/css/__menu/select__menu.css +0 -4
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +1 -3
- package/dist/css/components/Select/css/__option/select__option.css +0 -50
- package/dist/css/components/Select/css/__single-value/select__single-value.css +0 -1
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +1 -2
- package/dist/types/components/Select/SelectLoadingMessage.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectDefault.d.ts +21 -3
- package/dist/types/components/Select/appearance/selectDisabled.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectError.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectRequire.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectShape.d.ts +22 -0
- package/dist/types/components/Select/appearance/selectSize.d.ts +101 -0
- package/dist/types/components/Select/appearance/selectStyle.d.ts +16 -0
- package/dist/types/components/Select/appearance/selectSuccess.d.ts +33 -0
- package/package.json +7 -7
- package/dist/css/components/Select/css/__control/select__control_fill.css +0 -17
- package/dist/css/components/Select/css/__control/select__control_shape.css +0 -12
|
@@ -6,9 +6,9 @@ import castArray from 'lodash/castArray';
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
|
-
import { B as Badge, I as Icon } from '../
|
|
9
|
+
import { B as Badge, I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
10
10
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
11
|
-
import { T as Text } from '../
|
|
11
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
12
12
|
import { icons16 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../
|
|
1
|
+
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_D4xUwAOB.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,7 +15,7 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
-
import '../
|
|
18
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
20
|
import '../hoc/urlWithAssetPrefix.js';
|
|
21
21
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -23,5 +23,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_DIU5ySvf.js';
|
|
27
27
|
import '../Image_es_BvYo_cHH.js';
|
|
@@ -3,9 +3,9 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { A as Avatar } from '../
|
|
6
|
+
import { A as Avatar } from '../Avatar_es_D4xUwAOB.js';
|
|
7
7
|
import { G as Group } from '../Group_es_Bo7Y6JwT.js';
|
|
8
|
-
import { T as Text } from '../
|
|
8
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -20,7 +20,7 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
26
|
import '../context/UrlAssetPrefix.js';
|
package/dist/components/Badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../
|
|
1
|
+
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../Icon_es_MOmiy9nF.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_DIU5ySvf.js';
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
8
8
|
import { a as LinkWrapper } from '../Link_es_BnUIX0QT.js';
|
|
9
|
-
import { T as Text } from '../
|
|
9
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons12, icons14, icons16, icons20, icons24 } from '@itcase/icons/default';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../
|
|
1
|
+
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_Bj8CZ_bh.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import '../
|
|
5
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
6
6
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react-inlinesvg';
|
|
8
8
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -23,5 +23,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
27
|
-
import '../
|
|
26
|
+
import '../Text_es_DIU5ySvf.js';
|
|
27
|
+
import '../Loader_es_Dfs_VYxV.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -3,9 +3,9 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
7
|
-
import { L as Label } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
7
|
+
import { L as Label } from '../Label_es_DBPp2ots.js';
|
|
8
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import { T as Text } from '../
|
|
5
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
6
6
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
package/dist/components/Chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../
|
|
1
|
+
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_Cz_gDYsw.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,9 +18,9 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_DIU5ySvf.js';
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
8
|
-
import { L as Loader } from '../
|
|
9
|
-
import { T as Text } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
8
|
+
import { L as Loader } from '../Loader_es_Dfs_VYxV.js';
|
|
9
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -4,8 +4,8 @@ import clsx from 'clsx';
|
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { B as Button } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_Bj8CZ_bh.js';
|
|
8
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -17,7 +17,7 @@ import '../context/UIContext.js';
|
|
|
17
17
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
18
|
import 'react-responsive';
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -25,7 +25,7 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
25
25
|
import 'lodash/maxBy';
|
|
26
26
|
import '../hooks/useStyles/styleAttributes.js';
|
|
27
27
|
import '../Link_es_BnUIX0QT.js';
|
|
28
|
-
import '../
|
|
28
|
+
import '../Loader_es_Dfs_VYxV.js';
|
|
29
29
|
|
|
30
30
|
var cookiesWarningAppearanceDefault = {
|
|
31
31
|
defaultPrimary: {
|
|
@@ -2,10 +2,10 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
5
|
-
import { D as DatePickerInput } from '../
|
|
5
|
+
import { D as DatePickerInput } from '../DatePicker_es_DTSHtynU.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
8
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_Cz_gDYsw.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
@@ -20,16 +20,16 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_Bj8CZ_bh.js';
|
|
24
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Text_es_DIU5ySvf.js';
|
|
30
|
+
import '../Loader_es_Dfs_VYxV.js';
|
|
31
31
|
import '../Input_es_l3ry6luZ.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_DBPp2ots.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
34
34
|
import 'lodash/castArray';
|
|
35
35
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_DTSHtynU.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -20,14 +20,14 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import '../hooks/useStyles/useStyles.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_Bj8CZ_bh.js';
|
|
24
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Text_es_DIU5ySvf.js';
|
|
30
|
+
import '../Loader_es_Dfs_VYxV.js';
|
|
31
31
|
import '../Input_es_l3ry6luZ.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_DBPp2ots.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
@@ -3,8 +3,8 @@ import { useRef, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
5
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
7
|
-
import { T as Text } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Icon_es_MOmiy9nF.js';
|
|
7
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_Dp7-DGkV.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,11 +17,11 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
24
24
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_DIU5ySvf.js';
|
|
27
27
|
import '../Divider_es_CiRU0sTz.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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 '../Icon_es_MOmiy9nF.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -22,7 +22,7 @@ import 'react-inlinesvg';
|
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_DIU5ySvf.js';
|
|
26
26
|
|
|
27
27
|
var heroTitleAppearanceSize = {
|
|
28
28
|
sizeH1: {
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, e as iconAppearance, i as iconConfig } from '../
|
|
1
|
+
export { I as Icon, e as iconAppearance, i as iconConfig } from '../Icon_es_MOmiy9nF.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_DIU5ySvf.js';
|
|
@@ -4,7 +4,7 @@ import { useState, useMemo, useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
|
@@ -22,7 +22,7 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_DIU5ySvf.js';
|
|
26
26
|
|
|
27
27
|
var inputPasswordAppearanceDefault = {
|
|
28
28
|
defaultPrimary: {
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_DBPp2ots.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,9 +18,9 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_DIU5ySvf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader_es_Dfs_VYxV.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,4 +18,4 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Text_es_DIU5ySvf.js';
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon, T as Tooltip } from '../
|
|
7
|
+
import { I as Icon, T as Tooltip } from '../Icon_es_MOmiy9nF.js';
|
|
8
8
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
9
|
-
import { T as Text } from '../
|
|
9
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,11 +5,11 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { b as Title, I as Icon } from '../
|
|
8
|
+
import { b as Title, I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
9
9
|
import { O as Overlay } from '../Overlay_es_BvehRqIP.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons24, icons40 } from '@itcase/icons/default';
|
|
12
|
-
import { L as Loader } from '../
|
|
12
|
+
import { L as Loader } from '../Loader_es_Dfs_VYxV.js';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/castArray';
|
|
15
15
|
import 'lodash/upperFirst';
|
|
@@ -26,7 +26,7 @@ import 'react-inlinesvg';
|
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Text_es_DIU5ySvf.js';
|
|
30
30
|
|
|
31
31
|
var modalAppearanceShape = {
|
|
32
32
|
circular: {
|
|
@@ -3,8 +3,8 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
7
|
-
import { T as Text } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
7
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import { icons20 } from '@itcase/icons/default';
|
|
10
10
|
import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
|
|
@@ -6,9 +6,9 @@ import ReactPaginate from 'react-paginate';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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 '../
|
|
11
|
-
import { T as Text } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_Dp7-DGkV.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
11
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
12
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
13
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
14
14
|
import 'lodash/camelCase';
|
package/dist/components/Radio.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import { T as Text } from '../
|
|
5
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
6
6
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
@@ -7,9 +7,9 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
10
|
-
import { B as Button } from '../
|
|
10
|
+
import { B as Button } from '../Button_es_Bj8CZ_bh.js';
|
|
11
11
|
import { G as Group } from '../Group_es_Bo7Y6JwT.js';
|
|
12
|
-
import { T as Text } from '../
|
|
12
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
13
13
|
import '@itcase/common';
|
|
14
14
|
import '../context/UrlAssetPrefix.js';
|
|
15
15
|
import 'lodash/camelCase';
|
|
@@ -23,10 +23,10 @@ import 'react-responsive';
|
|
|
23
23
|
import '../utils/setViewportProperty.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Icon_es_MOmiy9nF.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Loader_es_Dfs_VYxV.js';
|
|
30
30
|
|
|
31
31
|
var responseAppearanceConfirm = {
|
|
32
32
|
confirm: {
|
|
@@ -181,7 +181,7 @@ var Response = urlWithAssetPrefix(function Response(props) {
|
|
|
181
181
|
}, [imageSrc, svgSrc, SvgImage, width, height, svgFillClass]);
|
|
182
182
|
// @ts-expect-error
|
|
183
183
|
var _a = useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
|
|
184
|
-
return (jsxs("div", { dataTestId: dataTestId, dataTour: dataTour, className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), widthClass && "
|
|
184
|
+
return (jsxs("div", { dataTestId: dataTestId, dataTour: dataTour, className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "response_skeleton"), style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [ImageComponent && (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 ||
|
|
185
185
|
primaryButton ||
|
|
186
186
|
secondaryButtonLabel ||
|
|
187
187
|
secondaryButton ||
|
|
@@ -6,8 +6,8 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { I as Icon } from '../
|
|
10
|
-
import { T as Text } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
10
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
13
13
|
import 'lodash/castArray';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_MOmiy9nF.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { T as Text } from '../
|
|
7
|
+
import { T as Text } from '../Text_es_DIU5ySvf.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react-inlinesvg';
|
|
10
10
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const SelectDefaultMock = {
|
|
2
|
+
elevation: 8,
|
|
3
|
+
hideSelectedOptions: false,
|
|
4
|
+
loadingMessageText: 'Загрузка данных...',
|
|
5
|
+
noOptionsSearchText: 'Ничего не найдено...',
|
|
6
|
+
noOptionsText: 'Список пуст',
|
|
7
|
+
options: [{
|
|
8
|
+
label: 'Овощи',
|
|
9
|
+
options: [{
|
|
10
|
+
label: 'Овощ 1',
|
|
11
|
+
value: '11'
|
|
12
|
+
}, {
|
|
13
|
+
label: 'Овощ 2',
|
|
14
|
+
value: '12'
|
|
15
|
+
}, {
|
|
16
|
+
label: 'Овощ 3',
|
|
17
|
+
value: '13'
|
|
18
|
+
}]
|
|
19
|
+
}, {
|
|
20
|
+
label: 'Томат',
|
|
21
|
+
isDisabled: true,
|
|
22
|
+
value: '2'
|
|
23
|
+
}, {
|
|
24
|
+
label: 'Томат красный',
|
|
25
|
+
isDisabled: true,
|
|
26
|
+
value: '3'
|
|
27
|
+
}, {
|
|
28
|
+
label: 'Томат среднеплодный (круглый)',
|
|
29
|
+
value: '4',
|
|
30
|
+
isFixed: true,
|
|
31
|
+
isSelected: true
|
|
32
|
+
}, {
|
|
33
|
+
label: 'Томат сливовидный',
|
|
34
|
+
value: '5',
|
|
35
|
+
isFixed: true
|
|
36
|
+
}, {
|
|
37
|
+
label: 'Томат розовый',
|
|
38
|
+
value: '6',
|
|
39
|
+
isFixed: true
|
|
40
|
+
}, {
|
|
41
|
+
label: 'Огурец гладкий среднеплодный',
|
|
42
|
+
value: '7',
|
|
43
|
+
isFixed: true
|
|
44
|
+
}, {
|
|
45
|
+
label: 'Огурец короткоплодный пупырчатый',
|
|
46
|
+
value: '8',
|
|
47
|
+
isFixed: true
|
|
48
|
+
}, {
|
|
49
|
+
label: 'Огурец среднеплодный пупырчатый',
|
|
50
|
+
value: '9',
|
|
51
|
+
isFixed: true
|
|
52
|
+
}],
|
|
53
|
+
placeholder: 'Placeholder',
|
|
54
|
+
showBadge: false,
|
|
55
|
+
showDivider: false,
|
|
56
|
+
closeMenuOnSelect: true,
|
|
57
|
+
isClearable: true,
|
|
58
|
+
isMulti: false,
|
|
59
|
+
isSearchable: false
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { SelectDefaultMock };
|