@itcase/ui 1.8.149 → 1.8.151
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_D-M9sW20.js → Avatar_cjs_Dv_yLG9O.js} +1 -1
- package/dist/{Avatar_es_BTvbT36l.js → Avatar_es_Cp4-nxIj.js} +1 -1
- package/dist/{Button_cjs_CrbH_HYn.js → Button_cjs_CGIzPuXo.js} +4 -4
- package/dist/{Button_es_qNbDsXQg.js → Button_es_CtAnUzZA.js} +4 -4
- package/dist/{ChipsGroup_cjs_BNfzAmhc.js → ChipsGroup_cjs_DVizkQ4v.js} +1 -1
- package/dist/{ChipsGroup_es_UTiUhYs7.js → ChipsGroup_es_D3eiXGyK.js} +1 -1
- package/dist/{DatePicker_cjs_YWv3CCNF.js → DatePicker_cjs_D0iBBPU9.js} +3 -3
- package/dist/{DatePicker_es_CqKPt0Nw.js → DatePicker_es_DtBOEq-Q.js} +3 -3
- package/dist/{DropdownItem_cjs_FsiEMPDs.js → DropdownItem_cjs_u6-29C8x.js} +97 -60
- package/dist/{DropdownItem_es_BBKtNngp.js → DropdownItem_es_D2P4zJJ-.js} +97 -60
- package/dist/{Icon_cjs_DKzT-zmQ.js → Icon_cjs_B5o0K55R.js} +7 -7
- package/dist/{Icon_es_5JUPM7bP.js → Icon_es_BEhzKfrD.js} +7 -7
- package/dist/{Label_cjs_D2YMjCoS.js → Label_cjs_DRIwteHh.js} +1 -1
- package/dist/{Label_es_B5uGQwNN.js → Label_es_DYd2RwDK.js} +1 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +8 -13
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +1 -1
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +2 -2
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +8 -13
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Button/Button.css +56 -50
- package/dist/css/components/Dropdown/Dropdown.css +1 -9
- package/dist/types/components/Dropdown/Dropdown.appearance.d.ts +2 -0
- package/dist/types/components/Dropdown/appearance/dropdownShape.d.ts +3 -0
- package/dist/types/components/Response/Response.constant.d.ts +5 -10
- package/dist/types/config/forms/datepicker.d.ts +5 -5
- package/package.json +4 -4
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_D3eiXGyK.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,7 +18,7 @@ import '../hooks.js';
|
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.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_BEhzKfrD.js';
|
|
8
8
|
import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -4,7 +4,7 @@ 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 '../
|
|
7
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import 'react-responsive';
|
|
|
18
18
|
import '../utils/setViewportProperty.js';
|
|
19
19
|
import '../hooks.js';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -3,10 +3,10 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
5
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
6
|
-
import { D as DatePickerInput } from '../
|
|
6
|
+
import { D as DatePickerInput } from '../DatePicker_es_DtBOEq-Q.js';
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
9
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_D3eiXGyK.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
12
12
|
import '../hooks/useStyles/useStyles.js';
|
|
@@ -21,8 +21,8 @@ import 'react-responsive';
|
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks.js';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
|
-
import '../
|
|
25
|
-
import '../
|
|
24
|
+
import '../Button_es_CtAnUzZA.js';
|
|
25
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../hoc/urlWithAssetPrefix.js';
|
|
28
28
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -30,7 +30,7 @@ import '../Link_es_P2b6ya7P.js';
|
|
|
30
30
|
import '../Text_es_RDU9GLCV.js';
|
|
31
31
|
import '../Loader_es_Dq2-7sn2.js';
|
|
32
32
|
import '../Input_es_BnCXATnh.js';
|
|
33
|
-
import '../
|
|
33
|
+
import '../Label_es_DYd2RwDK.js';
|
|
34
34
|
import '@itcase/icons/default';
|
|
35
35
|
import 'lodash/castArray';
|
|
36
36
|
|
|
@@ -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_DtBOEq-Q.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -20,8 +20,8 @@ import '../hooks.js';
|
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import '../hooks/useStyles/useStyles.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_CtAnUzZA.js';
|
|
24
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -29,5 +29,5 @@ import '../Link_es_P2b6ya7P.js';
|
|
|
29
29
|
import '../Text_es_RDU9GLCV.js';
|
|
30
30
|
import '../Loader_es_Dq2-7sn2.js';
|
|
31
31
|
import '../Input_es_BnCXATnh.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_DYd2RwDK.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
@@ -3,7 +3,7 @@ import { useRef, useState, 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_BiYozVBS.js';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Icon_es_BEhzKfrD.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
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_D2P4zJJ-.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
+
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
6
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
7
|
import 'lodash/camelCase';
|
|
7
8
|
import 'lodash/castArray';
|
|
@@ -17,11 +18,10 @@ import '../hooks.js';
|
|
|
17
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
18
19
|
import '../hooks/useStyles/useStyles.js';
|
|
19
20
|
import 'lodash/maxBy';
|
|
20
|
-
import '../
|
|
21
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
21
22
|
import 'react-inlinesvg';
|
|
22
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
24
|
import '../context/UrlAssetPrefix.js';
|
|
24
|
-
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
25
25
|
import '../Link_es_P2b6ya7P.js';
|
|
26
26
|
import '../Text_es_RDU9GLCV.js';
|
|
27
27
|
import '../Divider_es_BiYozVBS.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_BEhzKfrD.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Icon.js
CHANGED
|
@@ -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_BEhzKfrD.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
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_DYd2RwDK.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../hooks.js';
|
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.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, T as Tooltip } from '../
|
|
7
|
+
import { I as Icon, T as Tooltip } from '../Icon_es_BEhzKfrD.js';
|
|
8
8
|
import { L as Link } from '../Link_es_P2b6ya7P.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -170,8 +170,8 @@ const menuItemAppearanceSurface = {
|
|
|
170
170
|
fillActive: 'surfaceSecondary',
|
|
171
171
|
fillActiveHover: 'surfaceTertiary',
|
|
172
172
|
fillHover: 'surfaceSecondary',
|
|
173
|
-
labelTextActiveColor: '
|
|
174
|
-
labelTextActiveColorHover: '
|
|
173
|
+
labelTextActiveColor: 'accentTextSecondary',
|
|
174
|
+
labelTextActiveColorHover: 'accentTextSecondary',
|
|
175
175
|
labelTextColor: 'surfaceTextPrimary',
|
|
176
176
|
labelTextColorHover: 'surfaceTextPrimary',
|
|
177
177
|
borderColor: 'surfaceBorderQuaternary',
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,7 +6,7 @@ import { icons24, icons32, icons40 } from '@itcase/icons/default';
|
|
|
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 { b as Title, I as Icon } from '../
|
|
9
|
+
import { b as Title, I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
10
10
|
import { O as Overlay } from '../Overlay_es_BS7OTFoy.js';
|
|
11
11
|
import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -5,7 +5,7 @@ import { Sheet } from 'react-modal-sheet';
|
|
|
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 } from '../
|
|
8
|
+
import { b as Title } from '../Icon_es_BEhzKfrD.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/upperFirst';
|
|
@@ -4,8 +4,8 @@ import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
|
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 { B as Button } from '../
|
|
8
|
-
import { I as Icon } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
8
|
+
import { I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import { icons24 } from '@itcase/icons/default';
|
|
11
11
|
import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
|
|
@@ -6,8 +6,8 @@ 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 '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_D2P4zJJ-.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -6,7 +6,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
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 { B as Button } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
10
10
|
import { G as Group } from '../Group_es_ZTwafPX1.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import '@itcase/common';
|
|
@@ -23,7 +23,7 @@ import '../utils/setViewportProperty.js';
|
|
|
23
23
|
import '../hooks.js';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import 'lodash/maxBy';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Icon_es_BEhzKfrD.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../Link_es_P2b6ya7P.js';
|
|
29
29
|
import '../Loader_es_Dq2-7sn2.js';
|
|
@@ -258,7 +258,6 @@ const RESPONSE_MESSAGES = {
|
|
|
258
258
|
title: 'Ошибка',
|
|
259
259
|
desc: 'Возникла проблема с обработкой вашего запроса. Повторите попытку позже или обратитесь в поддержку по электронной почте: support@example.com',
|
|
260
260
|
// code: '500',
|
|
261
|
-
imageSrc: responseIcon.Error,
|
|
262
261
|
primaryButtonAppearance: 'errorPrimary sizeXXL solid rounded',
|
|
263
262
|
primaryButtonLabel: 'ОК',
|
|
264
263
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
@@ -286,37 +285,33 @@ const RESPONSE_MESSAGES = {
|
|
|
286
285
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
287
286
|
secondaryButtonLabel: 'Отмена',
|
|
288
287
|
},
|
|
288
|
+
fail: {
|
|
289
|
+
appearance: 'fail ghost',
|
|
290
|
+
// code: '500',
|
|
291
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
292
|
+
primaryButtonLabel: 'ОК',
|
|
293
|
+
},
|
|
289
294
|
nothingFound: {
|
|
290
295
|
appearance: 'refresh ghost',
|
|
291
296
|
title: 'Ничего не найдено',
|
|
292
297
|
desc: 'Нет данных по заданным параметрам',
|
|
293
298
|
// code: '500',
|
|
294
|
-
imageSrc: responseIcon.NothingFound,
|
|
295
299
|
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
296
300
|
primaryButtonLabel: 'Сбросить',
|
|
297
301
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
298
302
|
secondaryButtonLabel: 'Отмена',
|
|
299
303
|
},
|
|
300
|
-
fail: {
|
|
301
|
-
appearance: 'fail ghost',
|
|
302
|
-
// code: '500',
|
|
303
|
-
imageSrc: responseIcon.Fail,
|
|
304
|
-
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
305
|
-
primaryButtonLabel: 'ОК',
|
|
306
|
-
},
|
|
307
304
|
empty: {
|
|
308
305
|
appearance: 'empty ghost',
|
|
309
306
|
title: 'Список пуст',
|
|
310
307
|
desc: 'Нет данных по заданным параметрам',
|
|
311
308
|
code: '200',
|
|
312
|
-
imageSrc: responseIcon.Empty,
|
|
313
309
|
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
314
310
|
primaryButtonLabel: 'ОК',
|
|
315
311
|
},
|
|
316
312
|
warning: {
|
|
317
313
|
appearance: 'warning ghost',
|
|
318
314
|
title: 'Внимание',
|
|
319
|
-
imageSrc: responseIcon.Warning,
|
|
320
315
|
primaryButtonAppearance: 'warningPrimary sizeXXL solid rounded',
|
|
321
316
|
primaryButtonLabel: 'Повторить',
|
|
322
317
|
secondaryButtonAppearance: 'warningPrimary sizeXXL solid rounded',
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
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 { I as Icon } from '../
|
|
8
|
+
import { I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import { S as Scrollbar } from '../Scrollbar_es_CcMgNvGi.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { 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_BEhzKfrD.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import Select, { components } from 'react-select';
|
|
3
|
-
import { I as Icon, B as Badge } from '../
|
|
3
|
+
import { I as Icon, B as Badge } from '../Icon_es_BEhzKfrD.js';
|
|
4
4
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -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 '../Icon_es_BEhzKfrD.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Tab.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js'
|
|
|
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 Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
9
9
|
import { D as Divider } from '../Divider_es_BiYozVBS.js';
|
|
10
10
|
import { L as Link } from '../Link_es_P2b6ya7P.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ 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 { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
5
5
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -29,39 +29,27 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
.button {
|
|
32
|
-
&&
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
position: absolute;
|
|
36
|
-
display: flex;
|
|
37
|
-
}
|
|
32
|
+
&&_reset-gap {
|
|
33
|
+
^&__wrapper {
|
|
34
|
+
gap: 0;
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
.button {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
--button-type-$(type)-$(size)-padding,
|
|
57
|
-
var(--button-$(size)-padding)
|
|
58
|
-
);
|
|
59
|
-
gap: var(
|
|
60
|
-
--button-type-$(type)-$(size)-gap,
|
|
61
|
-
var(--button-$(size)-gap)
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
39
|
+
&&_reset-padding {
|
|
40
|
+
^&__wrapper {
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.button {
|
|
46
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
47
|
+
&_size_$(size) {
|
|
48
|
+
^&__wrapper {
|
|
49
|
+
min-width: var(--button-$(size)-min-width);
|
|
50
|
+
min-height: var(--button-$(size)-min-height);
|
|
51
|
+
padding: var(--button-$(size)-padding);
|
|
52
|
+
gap: var(--button-$(size)-gap);
|
|
65
53
|
}
|
|
66
54
|
}
|
|
67
55
|
}
|
|
@@ -91,13 +79,45 @@
|
|
|
91
79
|
}
|
|
92
80
|
}
|
|
93
81
|
.button {
|
|
94
|
-
|
|
95
|
-
&
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
82
|
+
&&_state {
|
|
83
|
+
&_disabled {
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.button {
|
|
88
|
+
&&_state {
|
|
89
|
+
&_loading {
|
|
90
|
+
^^&__loader {
|
|
91
|
+
position: absolute;
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.button {
|
|
98
|
+
@each $type in default, icon, label {
|
|
99
|
+
&_type_$(type) {
|
|
100
|
+
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
101
|
+
&^&_size_$(size) {
|
|
102
|
+
^^&__wrapper {
|
|
103
|
+
min-width: var(
|
|
104
|
+
--button-type-$(type)-$(size)-min-width,
|
|
105
|
+
var(--button-$(size)-min-width)
|
|
106
|
+
);
|
|
107
|
+
min-height: var(
|
|
108
|
+
--button-type-$(type)-$(size)-min-height,
|
|
109
|
+
var(--button-$(size)-min-height)
|
|
110
|
+
);
|
|
111
|
+
padding: var(
|
|
112
|
+
--button-type-$(type)-$(size)-padding,
|
|
113
|
+
var(--button-$(size)-padding)
|
|
114
|
+
);
|
|
115
|
+
gap: var(
|
|
116
|
+
--button-type-$(type)-$(size)-gap,
|
|
117
|
+
var(--button-$(size)-gap)
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
101
121
|
}
|
|
102
122
|
}
|
|
103
123
|
}
|
|
@@ -116,20 +136,6 @@
|
|
|
116
136
|
}
|
|
117
137
|
}
|
|
118
138
|
}
|
|
119
|
-
.button {
|
|
120
|
-
&&_reset-padding {
|
|
121
|
-
^&__wrapper {
|
|
122
|
-
padding: 0;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
.button {
|
|
127
|
-
&&_reset-gap {
|
|
128
|
-
^&__wrapper {
|
|
129
|
-
gap: 0;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
139
|
:root {
|
|
134
140
|
/* MainXL */
|
|
135
141
|
--button-transition: all 0.2s ease 0s;
|
|
@@ -66,19 +66,11 @@
|
|
|
66
66
|
align-items: center;
|
|
67
67
|
}
|
|
68
68
|
&-label {
|
|
69
|
+
text-align: left;
|
|
69
70
|
flex-grow: 1;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
.dropdown {
|
|
74
|
-
&__item {
|
|
75
|
-
&_shape {
|
|
76
|
-
&_rounded {
|
|
77
|
-
border-radius: var(--dropdown-item-shape-rounded);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
74
|
.dropdown {
|
|
83
75
|
&__item {
|
|
84
76
|
&_size {
|
|
@@ -3,7 +3,6 @@ declare const RESPONSE_MESSAGES: {
|
|
|
3
3
|
appearance: string;
|
|
4
4
|
title: string;
|
|
5
5
|
desc: string;
|
|
6
|
-
imageSrc: any;
|
|
7
6
|
primaryButtonAppearance: string;
|
|
8
7
|
primaryButtonLabel: string;
|
|
9
8
|
secondaryButtonAppearance: string;
|
|
@@ -30,35 +29,31 @@ declare const RESPONSE_MESSAGES: {
|
|
|
30
29
|
secondaryButtonAppearance: string;
|
|
31
30
|
secondaryButtonLabel: string;
|
|
32
31
|
};
|
|
32
|
+
fail: {
|
|
33
|
+
appearance: string;
|
|
34
|
+
primaryButtonAppearance: string;
|
|
35
|
+
primaryButtonLabel: string;
|
|
36
|
+
};
|
|
33
37
|
nothingFound: {
|
|
34
38
|
appearance: string;
|
|
35
39
|
title: string;
|
|
36
40
|
desc: string;
|
|
37
|
-
imageSrc: any;
|
|
38
41
|
primaryButtonAppearance: string;
|
|
39
42
|
primaryButtonLabel: string;
|
|
40
43
|
secondaryButtonAppearance: string;
|
|
41
44
|
secondaryButtonLabel: string;
|
|
42
45
|
};
|
|
43
|
-
fail: {
|
|
44
|
-
appearance: string;
|
|
45
|
-
imageSrc: any;
|
|
46
|
-
primaryButtonAppearance: string;
|
|
47
|
-
primaryButtonLabel: string;
|
|
48
|
-
};
|
|
49
46
|
empty: {
|
|
50
47
|
appearance: string;
|
|
51
48
|
title: string;
|
|
52
49
|
desc: string;
|
|
53
50
|
code: string;
|
|
54
|
-
imageSrc: any;
|
|
55
51
|
primaryButtonAppearance: string;
|
|
56
52
|
primaryButtonLabel: string;
|
|
57
53
|
};
|
|
58
54
|
warning: {
|
|
59
55
|
appearance: string;
|
|
60
56
|
title: string;
|
|
61
|
-
imageSrc: any;
|
|
62
57
|
primaryButtonAppearance: string;
|
|
63
58
|
primaryButtonLabel: string;
|
|
64
59
|
secondaryButtonAppearance: string;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
declare const defaultDatepickerProps: {
|
|
2
2
|
size: string;
|
|
3
|
-
iconSize: number;
|
|
4
|
-
iconFillSize: number;
|
|
5
|
-
iconItemFill: string;
|
|
6
3
|
daySize: string;
|
|
7
4
|
dayTextColor: string;
|
|
8
|
-
dayTextSize: string;
|
|
9
5
|
dayTextShape: string;
|
|
6
|
+
dayTextSize: string;
|
|
7
|
+
iconFillSize: number;
|
|
8
|
+
iconItemFill: string;
|
|
9
|
+
iconSize: number;
|
|
10
10
|
monthTextColor: string;
|
|
11
11
|
monthTextSize: string;
|
|
12
12
|
monthTextWeight: number;
|
|
13
|
+
placeholderTextColor: string;
|
|
13
14
|
yearTextColor: string;
|
|
14
15
|
yearTextSize: string;
|
|
15
16
|
yearTextWeight: number;
|
|
16
|
-
placeholderTextColor: string;
|
|
17
17
|
};
|
|
18
18
|
export { defaultDatepickerProps };
|