@itcase/ui 1.8.137 → 1.8.139

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.
Files changed (48) hide show
  1. package/dist/{Button_cjs_BXEwg-En.js → Button_cjs_09OV2PKm.js} +16 -16
  2. package/dist/{Button_es_DEn6z83v.js → Button_es_CVZPF_rz.js} +16 -16
  3. package/dist/{ChipsGroup_cjs_Du8WHI-Y.js → ChipsGroup_cjs_BNfzAmhc.js} +1 -1
  4. package/dist/{ChipsGroup_es_CzVlqaHv.js → ChipsGroup_es_UTiUhYs7.js} +1 -1
  5. package/dist/{DatePicker_cjs_Dxbyx8GV.js → DatePicker_cjs_DIiwwZKt.js} +1 -1
  6. package/dist/{DatePicker_es_mX0NSjO5.js → DatePicker_es_BmxQxJ2u.js} +1 -1
  7. package/dist/cjs/components/Button.js +1 -1
  8. package/dist/cjs/components/Chips.js +1 -1
  9. package/dist/cjs/components/CookiesWarning.js +1 -1
  10. package/dist/cjs/components/DatePeriod.js +3 -3
  11. package/dist/cjs/components/DatePicker.js +2 -2
  12. package/dist/cjs/components/Drawer.js +3 -3
  13. package/dist/cjs/components/Modal.js +2 -2
  14. package/dist/cjs/components/ModalSheetBottom.js +5 -4
  15. package/dist/cjs/components/Notification.js +7 -3
  16. package/dist/cjs/components/Response.js +13 -13
  17. package/dist/cjs/components/Switch.js +2 -2
  18. package/dist/cjs/components/Tab.js +1 -1
  19. package/dist/cjs/context/Notifications.js +4 -1
  20. package/dist/components/Button.js +1 -1
  21. package/dist/components/Chips.js +1 -1
  22. package/dist/components/CookiesWarning.js +1 -1
  23. package/dist/components/DatePeriod.js +3 -3
  24. package/dist/components/DatePicker.js +2 -2
  25. package/dist/components/Drawer.js +3 -3
  26. package/dist/components/Modal.js +2 -2
  27. package/dist/components/ModalSheetBottom.js +5 -4
  28. package/dist/components/Notification.js +7 -3
  29. package/dist/components/Response.js +13 -13
  30. package/dist/components/Switch.js +2 -2
  31. package/dist/components/Tab.js +1 -1
  32. package/dist/context/Notifications.js +4 -1
  33. package/dist/css/components/Checkbox/Checkbox.css +11 -10
  34. package/dist/css/components/Drawer/Drawer.css +13 -8
  35. package/dist/css/components/Icon/Icon.css +11 -10
  36. package/dist/css/components/Radio/Radio.css +11 -10
  37. package/dist/css/styles/border-color/border-color.css +5 -4
  38. package/dist/css/styles/bundle.css +22 -19
  39. package/dist/css/styles/fill/fill.css +11 -10
  40. package/dist/css/styles/text-color/text-color.css +5 -4
  41. package/dist/css/styles/width/width.css +1 -1
  42. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +0 -3
  43. package/dist/types/components/ModalSheetBottom/appearance/modalSheetBottomSize.d.ts +11 -0
  44. package/dist/types/components/ModalSheetBottom/index.d.ts +1 -1
  45. package/dist/types/components/Response/Response.constant.d.ts +7 -7
  46. package/dist/types/context/Notifications.d.ts +1 -1
  47. package/dist/types/context/Notifications.interface.d.ts +4 -1
  48. package/package.json +1 -1
@@ -61,7 +61,7 @@ const buttonAppearanceDanger = {
61
61
  },
62
62
  dangerPrimary: {
63
63
  fill: 'dangerPrimary',
64
- fillHover: 'dangerHover',
64
+ fillHover: 'dangerHoverPrimary',
65
65
  labelTextColor: 'dangerTextPrimary',
66
66
  labelTextColorHover: 'dangerTextPrimary',
67
67
  iconAfterFillIcon: 'dangerItemPrimary',
@@ -109,9 +109,9 @@ const buttonAppearanceInfo = {
109
109
  info: {
110
110
  fill: 'infoPrimary',
111
111
  fillHover: 'infoPrimaryHover',
112
- borderColor: 'infoBorderPrimary',
113
112
  labelTextColor: 'infoTextPrimary',
114
113
  labelTextColorHover: 'infoTextPrimary',
114
+ borderColor: 'infoBorderPrimary',
115
115
  iconAfterFillIcon: 'infoItemPrimary',
116
116
  iconBeforeFillIcon: 'infoItemPrimary',
117
117
  iconFillIcon: 'infoItemPrimary',
@@ -120,9 +120,9 @@ const buttonAppearanceInfo = {
120
120
  infoMutedPrimary: {
121
121
  fill: 'infoTertiary',
122
122
  fillHover: 'infoTertiaryHover',
123
- borderColor: 'infoBorderSecondary',
124
123
  labelTextColor: 'infoTextSecondary',
125
124
  labelTextColorHover: 'infoTextSecondary',
125
+ borderColor: 'infoBorderSecondary',
126
126
  iconAfterFillIcon: 'infoItemSecondary',
127
127
  iconBeforeFillIcon: 'infoItemSecondary',
128
128
  iconFillIcon: 'infoItemSecondaryPrimary',
@@ -131,9 +131,9 @@ const buttonAppearanceInfo = {
131
131
  infoPrimary: {
132
132
  fill: 'infoPrimary',
133
133
  fillHover: 'infoPrimaryHover',
134
- borderColor: 'infoBorderPrimary',
135
134
  labelTextColor: 'infoTextPrimary',
136
135
  labelTextColorHover: 'infoTextPrimary',
136
+ borderColor: 'infoBorderPrimary',
137
137
  iconAfterFillIcon: 'infoItemPrimary',
138
138
  iconBeforeFillIcon: 'infoItemPrimary',
139
139
  iconFillIcon: 'infoItemPrimary',
@@ -142,9 +142,9 @@ const buttonAppearanceInfo = {
142
142
  infoSecondary: {
143
143
  fill: 'infoPrimary',
144
144
  fillHover: 'infoPrimaryHover',
145
- borderColor: 'infoBorderPrimary',
146
145
  labelTextColor: 'infoTextSecondary',
147
146
  labelTextColorHover: 'infoTextSecondary',
147
+ borderColor: 'infoBorderPrimary',
148
148
  iconAfterFillIcon: 'infoItemPrimary',
149
149
  iconBeforeFillIcon: 'infoItemPrimary',
150
150
  iconFillIcon: 'infoItemPrimary',
@@ -357,8 +357,8 @@ const buttonAppearanceSurface = {
357
357
  surfaceMutedPrimary: {
358
358
  fill: 'surfaceTertiary',
359
359
  fillHover: 'surfaceTertiary',
360
- borderColor: 'surfaceBorderQuaternary',
361
360
  labelTextColor: 'surfaceTextQuaternary',
361
+ borderColor: 'surfaceBorderQuaternary',
362
362
  iconAfterFillIcon: 'surfaceItemQuaternary',
363
363
  iconBeforeFillIcon: 'surfaceItemQuaternary',
364
364
  iconFillIcon: 'surfaceItemQuaternary',
@@ -367,36 +367,36 @@ const buttonAppearanceSurface = {
367
367
  surfacePrimary: {
368
368
  fill: 'surfacePrimary',
369
369
  fillHover: 'surfaceSecondary',
370
- borderColor: 'surfaceBorderTertiary',
371
370
  labelTextColor: 'surfaceTextPrimary',
371
+ borderColor: 'surfaceBorderTertiary',
372
372
  iconAfterFillIcon: 'surfaceItemPrimary',
373
373
  iconBeforeFillIcon: 'surfaceItemPrimary',
374
374
  iconFillIcon: 'surfaceItemPrimary',
375
375
  loaderAppearance: 'surfacePrimary',
376
376
  },
377
- surfaceSecondary: {
378
- fill: 'surfaceSecondary',
379
- fillHover: 'surfaceSecondary',
380
- borderColor: 'surfaceBorderTertiary',
377
+ surfaceQuaternary: {
378
+ fill: 'surfaceTertiary',
379
+ fillHover: 'surfaceTertiaryHover',
381
380
  labelTextColor: 'surfaceTextPrimary',
381
+ borderColor: 'surfaceBorderTertiary',
382
382
  iconAfterFillIcon: 'surfaceItemPrimary',
383
383
  iconBeforeFillIcon: 'surfaceItemPrimary',
384
384
  iconFillIcon: 'surfaceItemPrimary',
385
385
  loaderAppearance: 'surfacePrimary',
386
386
  },
387
- surfaceTertiary: {
388
- fill: 'surfaceTertiary',
387
+ surfaceSecondary: {
388
+ fill: 'surfaceSecondary',
389
389
  fillHover: 'surfaceSecondary',
390
390
  labelTextColor: 'surfaceTextPrimary',
391
+ borderColor: 'surfaceBorderTertiary',
391
392
  iconAfterFillIcon: 'surfaceItemPrimary',
392
393
  iconBeforeFillIcon: 'surfaceItemPrimary',
393
394
  iconFillIcon: 'surfaceItemPrimary',
394
395
  loaderAppearance: 'surfacePrimary',
395
396
  },
396
- surfaceQuaternary: {
397
+ surfaceTertiary: {
397
398
  fill: 'surfaceTertiary',
398
- fillHover: 'surfaceTertiaryHover',
399
- borderColor: 'surfaceBorderTertiary',
399
+ fillHover: 'surfaceSecondary',
400
400
  labelTextColor: 'surfaceTextPrimary',
401
401
  iconAfterFillIcon: 'surfaceItemPrimary',
402
402
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -59,7 +59,7 @@ const buttonAppearanceDanger = {
59
59
  },
60
60
  dangerPrimary: {
61
61
  fill: 'dangerPrimary',
62
- fillHover: 'dangerHover',
62
+ fillHover: 'dangerHoverPrimary',
63
63
  labelTextColor: 'dangerTextPrimary',
64
64
  labelTextColorHover: 'dangerTextPrimary',
65
65
  iconAfterFillIcon: 'dangerItemPrimary',
@@ -107,9 +107,9 @@ const buttonAppearanceInfo = {
107
107
  info: {
108
108
  fill: 'infoPrimary',
109
109
  fillHover: 'infoPrimaryHover',
110
- borderColor: 'infoBorderPrimary',
111
110
  labelTextColor: 'infoTextPrimary',
112
111
  labelTextColorHover: 'infoTextPrimary',
112
+ borderColor: 'infoBorderPrimary',
113
113
  iconAfterFillIcon: 'infoItemPrimary',
114
114
  iconBeforeFillIcon: 'infoItemPrimary',
115
115
  iconFillIcon: 'infoItemPrimary',
@@ -118,9 +118,9 @@ const buttonAppearanceInfo = {
118
118
  infoMutedPrimary: {
119
119
  fill: 'infoTertiary',
120
120
  fillHover: 'infoTertiaryHover',
121
- borderColor: 'infoBorderSecondary',
122
121
  labelTextColor: 'infoTextSecondary',
123
122
  labelTextColorHover: 'infoTextSecondary',
123
+ borderColor: 'infoBorderSecondary',
124
124
  iconAfterFillIcon: 'infoItemSecondary',
125
125
  iconBeforeFillIcon: 'infoItemSecondary',
126
126
  iconFillIcon: 'infoItemSecondaryPrimary',
@@ -129,9 +129,9 @@ const buttonAppearanceInfo = {
129
129
  infoPrimary: {
130
130
  fill: 'infoPrimary',
131
131
  fillHover: 'infoPrimaryHover',
132
- borderColor: 'infoBorderPrimary',
133
132
  labelTextColor: 'infoTextPrimary',
134
133
  labelTextColorHover: 'infoTextPrimary',
134
+ borderColor: 'infoBorderPrimary',
135
135
  iconAfterFillIcon: 'infoItemPrimary',
136
136
  iconBeforeFillIcon: 'infoItemPrimary',
137
137
  iconFillIcon: 'infoItemPrimary',
@@ -140,9 +140,9 @@ const buttonAppearanceInfo = {
140
140
  infoSecondary: {
141
141
  fill: 'infoPrimary',
142
142
  fillHover: 'infoPrimaryHover',
143
- borderColor: 'infoBorderPrimary',
144
143
  labelTextColor: 'infoTextSecondary',
145
144
  labelTextColorHover: 'infoTextSecondary',
145
+ borderColor: 'infoBorderPrimary',
146
146
  iconAfterFillIcon: 'infoItemPrimary',
147
147
  iconBeforeFillIcon: 'infoItemPrimary',
148
148
  iconFillIcon: 'infoItemPrimary',
@@ -355,8 +355,8 @@ const buttonAppearanceSurface = {
355
355
  surfaceMutedPrimary: {
356
356
  fill: 'surfaceTertiary',
357
357
  fillHover: 'surfaceTertiary',
358
- borderColor: 'surfaceBorderQuaternary',
359
358
  labelTextColor: 'surfaceTextQuaternary',
359
+ borderColor: 'surfaceBorderQuaternary',
360
360
  iconAfterFillIcon: 'surfaceItemQuaternary',
361
361
  iconBeforeFillIcon: 'surfaceItemQuaternary',
362
362
  iconFillIcon: 'surfaceItemQuaternary',
@@ -365,36 +365,36 @@ const buttonAppearanceSurface = {
365
365
  surfacePrimary: {
366
366
  fill: 'surfacePrimary',
367
367
  fillHover: 'surfaceSecondary',
368
- borderColor: 'surfaceBorderTertiary',
369
368
  labelTextColor: 'surfaceTextPrimary',
369
+ borderColor: 'surfaceBorderTertiary',
370
370
  iconAfterFillIcon: 'surfaceItemPrimary',
371
371
  iconBeforeFillIcon: 'surfaceItemPrimary',
372
372
  iconFillIcon: 'surfaceItemPrimary',
373
373
  loaderAppearance: 'surfacePrimary',
374
374
  },
375
- surfaceSecondary: {
376
- fill: 'surfaceSecondary',
377
- fillHover: 'surfaceSecondary',
378
- borderColor: 'surfaceBorderTertiary',
375
+ surfaceQuaternary: {
376
+ fill: 'surfaceTertiary',
377
+ fillHover: 'surfaceTertiaryHover',
379
378
  labelTextColor: 'surfaceTextPrimary',
379
+ borderColor: 'surfaceBorderTertiary',
380
380
  iconAfterFillIcon: 'surfaceItemPrimary',
381
381
  iconBeforeFillIcon: 'surfaceItemPrimary',
382
382
  iconFillIcon: 'surfaceItemPrimary',
383
383
  loaderAppearance: 'surfacePrimary',
384
384
  },
385
- surfaceTertiary: {
386
- fill: 'surfaceTertiary',
385
+ surfaceSecondary: {
386
+ fill: 'surfaceSecondary',
387
387
  fillHover: 'surfaceSecondary',
388
388
  labelTextColor: 'surfaceTextPrimary',
389
+ borderColor: 'surfaceBorderTertiary',
389
390
  iconAfterFillIcon: 'surfaceItemPrimary',
390
391
  iconBeforeFillIcon: 'surfaceItemPrimary',
391
392
  iconFillIcon: 'surfaceItemPrimary',
392
393
  loaderAppearance: 'surfacePrimary',
393
394
  },
394
- surfaceQuaternary: {
395
+ surfaceTertiary: {
395
396
  fill: 'surfaceTertiary',
396
- fillHover: 'surfaceTertiaryHover',
397
- borderColor: 'surfaceBorderTertiary',
397
+ fillHover: 'surfaceSecondary',
398
398
  labelTextColor: 'surfaceTextPrimary',
399
399
  iconAfterFillIcon: 'surfaceItemPrimary',
400
400
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -337,7 +337,7 @@ function ChipsGroup(props) {
337
337
  const { directionClass, alignClass, alignDirectionClass, fillClass, borderColorClass, borderTypeClass, borderWidthClass, chipsAppearance, widthClass, wrapClass, } = propsGenerator;
338
338
  // @ts-expect-error
339
339
  const { styles: groupStyles, wrapper: groupWrapperStyles } = useStyles.useStyles(props);
340
- return (jsxRuntime.jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_type_horizontal_scroll', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxRuntime.jsx("div", { className: "chips-group__wrapper", style: groupWrapperStyles, children: children
340
+ return (jsxRuntime.jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxRuntime.jsx("div", { className: "chips-group__wrapper", style: groupWrapperStyles, children: children
341
341
  ? children
342
342
  : chipsList?.map((item) => (jsxRuntime.jsx(Chips, { appearance: chipsAppearance, label: item.label, isDisabled: item.isDisabled, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, onClick: () => onClick(item) }, item.id))) })) : children ? (children) : (chipsList?.map((item) => (jsxRuntime.jsx(Chips, { appearance: chipsAppearance, label: item.label, isDisabled: item.isDisabled, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, onClick: () => onClick(item) }, item.id)))) }));
343
343
  }
@@ -335,7 +335,7 @@ function ChipsGroup(props) {
335
335
  const { directionClass, alignClass, alignDirectionClass, fillClass, borderColorClass, borderTypeClass, borderWidthClass, chipsAppearance, widthClass, wrapClass, } = propsGenerator;
336
336
  // @ts-expect-error
337
337
  const { styles: groupStyles, wrapper: groupWrapperStyles } = useStyles(props);
338
- return (jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_type_horizontal_scroll', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsx("div", { className: "chips-group__wrapper", style: groupWrapperStyles, children: children
338
+ return (jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsx("div", { className: "chips-group__wrapper", style: groupWrapperStyles, children: children
339
339
  ? children
340
340
  : chipsList?.map((item) => (jsx(Chips, { appearance: chipsAppearance, label: item.label, isDisabled: item.isDisabled, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, onClick: () => onClick(item) }, item.id))) })) : children ? (children) : (chipsList?.map((item) => (jsx(Chips, { appearance: chipsAppearance, label: item.label, isDisabled: item.isDisabled, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, onClick: () => onClick(item) }, item.id)))) }));
341
341
  }
@@ -8,7 +8,7 @@ var DatePicker = require('react-datepicker');
8
8
  var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
11
- var Button = require('./Button_cjs_BXEwg-En.js');
11
+ var Button = require('./Button_cjs_09OV2PKm.js');
12
12
  var Icon = require('./Icon_cjs_DKzT-zmQ.js');
13
13
  var Input = require('./Input_cjs_DDi5JVAV.js');
14
14
  var Label = require('./Label_cjs_D2YMjCoS.js');
@@ -6,7 +6,7 @@ import DatePicker from 'react-datepicker';
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 './Button_es_DEn6z83v.js';
9
+ import { B as Button } from './Button_es_CVZPF_rz.js';
10
10
  import { I as Icon } from './Icon_es_5JUPM7bP.js';
11
11
  import { I as Input } from './Input_es_BnCXATnh.js';
12
12
  import { L as Label } from './Label_es_B5uGQwNN.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Button = require('../../Button_cjs_BXEwg-En.js');
3
+ var Button = require('../../Button_cjs_09OV2PKm.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_Du8WHI-Y.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_BNfzAmhc.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
@@ -6,7 +6,7 @@ var clsx = require('clsx');
6
6
  var Cookies = require('js-cookie');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
- var Button = require('../../Button_cjs_BXEwg-En.js');
9
+ var Button = require('../../Button_cjs_09OV2PKm.js');
10
10
  var Text = require('../../Text_cjs_DaH5tVvz.js');
11
11
  require('lodash/camelCase');
12
12
  require('lodash/castArray');
@@ -4,10 +4,10 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var clsx = require('clsx');
6
6
  var common = require('@itcase/common');
7
- var DatePicker = require('../../DatePicker_cjs_Dxbyx8GV.js');
7
+ var DatePicker = require('../../DatePicker_cjs_DIiwwZKt.js');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
- var ChipsGroup = require('../../ChipsGroup_cjs_Du8WHI-Y.js');
10
+ var ChipsGroup = require('../../ChipsGroup_cjs_BNfzAmhc.js');
11
11
  require('date-fns/locale');
12
12
  require('react-datepicker');
13
13
  require('../hooks/useStyles/useStyles.js');
@@ -22,7 +22,7 @@ require('react-responsive');
22
22
  require('../utils/setViewportProperty.js');
23
23
  require('../hooks.js');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
- require('../../Button_cjs_BXEwg-En.js');
25
+ require('../../Button_cjs_09OV2PKm.js');
26
26
  require('../../Icon_cjs_DKzT-zmQ.js');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DatePicker = require('../../DatePicker_cjs_Dxbyx8GV.js');
3
+ var DatePicker = require('../../DatePicker_cjs_DIiwwZKt.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -22,7 +22,7 @@ require('../hooks.js');
22
22
  require('../hooks/useStyles/styleAttributes.js');
23
23
  require('../hooks/useStyles/useStyles.js');
24
24
  require('lodash/maxBy');
25
- require('../../Button_cjs_BXEwg-En.js');
25
+ require('../../Button_cjs_09OV2PKm.js');
26
26
  require('../../Icon_cjs_DKzT-zmQ.js');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
@@ -83,7 +83,7 @@ function Drawer(props) {
83
83
  const isOpenPrevRef = React.useRef(Boolean(_isOpen));
84
84
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, drawerConfig);
85
85
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
86
- const { direction, size, titleTextColor, titleTextSize, descTextColor, descTextSize, divider, dividerSize, zeroPadding, closeIcon, closeIconFill, closeIconFillIcon, closeIconFillSize, closeIconShape, closeIconSize, closeIconSrc, } = propsGenerator;
86
+ const { direction, size, titleTextColor, titleTextSize, titleTextWeight, descTextColor, descTextSize, divider, dividerSize, zeroPadding, closeIcon, closeIconFill, closeIconFillIcon, closeIconFillSize, closeIconShape, closeIconSize, closeIconSrc, } = propsGenerator;
87
87
  React.useEffect(() => {
88
88
  const isFromOpenToClose = isOpenPrevRef.current === true && !_isOpen;
89
89
  if (isFromOpenToClose && onClose) {
@@ -96,9 +96,9 @@ function Drawer(props) {
96
96
  console.warn('@itcase/ui Drawer warning: "isOpenModal" is deprecated, use "isOpen" instead.');
97
97
  }
98
98
  }, [_isOpen, onClose]);
99
- return (jsxRuntime.jsxs(ReactDrawer, { dataTour: dataTour, className: clsx('drawer', type && `drawer_type_${type}`, className, dataTour && `dataTour-${dataTour}`, stickyButton && 'drawer_sticky-button', zeroPadding && 'drawer_reset-padding'), direction: direction || 'right', size: size || 600,
99
+ return (jsxRuntime.jsxs(ReactDrawer, { className: clsx('drawer', type && `drawer_type_${type}`, className, dataTour && `dataTour-${dataTour}`, stickyButton && 'drawer_sticky-button', zeroPadding && 'drawer_reset-padding'), dataTour: dataTour, direction: direction || 'right', size: size || 600,
100
100
  // Drawer set prefix "EZDrawer" for any id
101
- customIdSuffix: dataTestId ? `_${dataTestId}` : undefined, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay", open: _isOpen, onClose: onClickClose, children: [before && jsxRuntime.jsx("div", { className: "drawer__before", children: before }), !close && (closeIcon || closeIconSrc) && (jsxRuntime.jsx("div", { className: "drawer__close", children: jsxRuntime.jsx(Icon.Icon, { className: "cursor_type_pointer", fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: onClickClose }) })), (title || desc) && (jsxRuntime.jsxs("div", { className: "drawer__header", children: [jsxRuntime.jsx(Icon.Title, { className: "drawer__header-title", size: titleTextSize, textColor: titleTextColor, children: title }), jsxRuntime.jsx(Text.Text, { className: "drawer__header-desc", size: descTextSize, textColor: descTextColor, children: desc })] })), divider && (jsxRuntime.jsx(Divider.Divider, { width: "fill", size: dividerSize, fill: "surfaceTertiary" })), children && jsxRuntime.jsx("div", { className: "drawer__wrapper", children: children }), after && jsxRuntime.jsx("div", { className: "drawer__after", children: after })] }));
101
+ customIdSuffix: dataTestId ? `_${dataTestId}` : undefined, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay", open: _isOpen, onClose: onClickClose, children: [before && jsxRuntime.jsx("div", { className: "drawer__before", children: before }), !close && (closeIcon || closeIconSrc) && (jsxRuntime.jsx("div", { className: "drawer__close", children: jsxRuntime.jsx(Icon.Icon, { className: "cursor_type_pointer", fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: onClickClose }) })), (title || desc) && (jsxRuntime.jsxs("div", { className: "drawer__header", children: [jsxRuntime.jsx(Icon.Title, { className: "drawer__header-title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title }), jsxRuntime.jsx(Text.Text, { className: "drawer__header-desc", size: descTextSize, textColor: descTextColor, children: desc })] })), divider && (jsxRuntime.jsx(Divider.Divider, { width: "fill", size: dividerSize, fill: "surfaceTertiary" })), children && jsxRuntime.jsx("div", { className: "drawer__wrapper", children: children }), after && jsxRuntime.jsx("div", { className: "drawer__after", children: after })] }));
102
102
  }
103
103
 
104
104
  exports.Drawer = Drawer;
@@ -137,7 +137,7 @@ const getOrCreateModalElement = (modalQuerySelector, className = '') => {
137
137
  };
138
138
  // Modal component that is an abstraction around the portal API.
139
139
  const Modal = React.forwardRef(function Modal(props, ref) {
140
- const { id, appearance, className, dataTestId, dataTour, title, modalQuerySelector = '#modal-global', scroll = false, stickyHeader = false, absoluteHeader = false, closeIcon, isDisabled, isSkeleton, isCloseOnBlur = true, isOpen: initialIsOpen = false, isOverlay = true, isScrollOnOpen = true, isSetFocusOnOpen = true, onClickOverlay, onCloseModal, onOpenModal, children, } = props;
140
+ const { id, appearance, className, dataTestId, dataTour, title, absoluteHeader = false, modalQuerySelector = '#modal-global', scroll = false, stickyHeader = false, closeIcon, isDisabled, isSkeleton, isCloseOnBlur = true, isOpen: initialIsOpen = false, isOverlay = true, isScrollOnOpen = true, isSetFocusOnOpen = true, onClickOverlay, onCloseModal, onOpenModal, children, } = props;
141
141
  // Query DOM element
142
142
  const [modalElement, setModalElement] = React.useState(null);
143
143
  const [isOpen, setIsOpen] = React.useState(initialIsOpen);
@@ -228,7 +228,7 @@ const Modal = React.forwardRef(function Modal(props, ref) {
228
228
  return (modalElement &&
229
229
  ReactDOM.createPortal(
230
230
  // Any valid React child: JSX, strings, arrays, etc.
231
- isOpen ? (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { id: id, className: clsx('modal__content', absoluteHeader && 'modal__content-absolute-header', !title && !closeIcon && 'modal__content-no-header', fillClass && `fill_${fillClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, shapeClass && `shape_${shapeClass}`, sizeClass && `modal_size_${sizeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, scroll && `modal-scroll_${scroll}`, stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [(title || closeIcon) && (jsxRuntime.jsxs("div", { className: clsx('modal__header', fillClass && `fill_${fillClass}`), children: [title && (jsxRuntime.jsx(Icon.Title, { className: "modal__title", width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), closeIcon && (jsxRuntime.jsx("div", { className: "modal__close", onClick: closeModal, children: jsxRuntime.jsx(Icon.Icon, { appearance: `${closeIconAppearance} ${closeIconAppearanceSize}`, fillSize: closeIconFillSize, iconSize: closeIconSize, shape: closeIconShape, SvgImage: closeIconImage ?? _default.icons24.Action.Close }) }))] })), jsxRuntime.jsx("div", { className: "modal__content-wrapper", children: children })] }), jsxRuntime.jsx(Overlay.Overlay, { className: "modal__overlay",
231
+ isOpen ? (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { id: id, className: clsx('modal__content', absoluteHeader && 'modal__content-absolute-header', !title && !closeIcon && 'modal__content-no-header', fillClass && `fill_${fillClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, shapeClass && `shape_${shapeClass}`, sizeClass && `modal_size_${sizeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, scroll && `modal-scroll_${scroll}`, stickyHeader && 'modal-scroll_header_sticky', isSkeleton && 'modal_skeleton'), ref: modalContentRef, "data-test-id": dataTestId, "data-tour": dataTour, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [(title || closeIcon) && (jsxRuntime.jsxs("div", { className: clsx('modal__header', fillClass && `fill_${fillClass}`), children: [title && (jsxRuntime.jsx(Icon.Title, { width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, flex: "1", children: title })), closeIcon && (jsxRuntime.jsx("div", { className: "modal__close", onClick: closeModal, children: jsxRuntime.jsx(Icon.Icon, { appearance: `${closeIconAppearance} ${closeIconAppearanceSize}`, fillSize: closeIconFillSize, iconSize: closeIconSize, shape: closeIconShape, SvgImage: closeIconImage ?? _default.icons24.Action.Close }) }))] })), jsxRuntime.jsx("div", { className: "modal__content-wrapper", children: children })] }), jsxRuntime.jsx(Overlay.Overlay, { className: "modal__overlay",
232
232
  // ref={modalOverlayRef}
233
233
  fill: overlayFill, opacity: overlayOpacity, isOverlay: isOverlay, onClick: onClickOverlay })] })) : null,
234
234
  // A DOM element
@@ -27,7 +27,7 @@ require('../context/UrlAssetPrefix.js');
27
27
  require('../../Link_cjs_qKXVfU8e.js');
28
28
  require('../../Text_cjs_DaH5tVvz.js');
29
29
 
30
- const modalSheetBottomAppearance = {
30
+ const modalSheetBottomAppearanceSize = {
31
31
  sizeL: {
32
32
  size: 'l',
33
33
  titleTextSize: 'h4',
@@ -36,9 +36,10 @@ const modalSheetBottomAppearance = {
36
36
  size: 'm',
37
37
  titleTextSize: 'h5',
38
38
  },
39
- dev: {
40
- fill: 'accentPrimary',
41
- },
39
+ };
40
+
41
+ const modalSheetBottomAppearance = {
42
+ ...modalSheetBottomAppearanceSize,
42
43
  };
43
44
 
44
45
  const modalSheetBottomConfig = {
@@ -140,20 +140,24 @@ const notificationConfig = {
140
140
  },
141
141
  };
142
142
  function Notification(props) {
143
- const { id, dataTestId, dataTour, className, appearance, title, desc, before, after, close, isSkeleton, onClickClose, } = props;
143
+ const { id, appearance, className, dataTestId, dataTour, title, text, before, after, close,
144
+ // type,
145
+ isSkeleton, onClickClose, } = props;
144
146
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, notificationConfig);
145
147
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
146
148
  const { fillClass, titleTextColor, titleTextSize, descTextColor, descTextSize, elevationClass, sizeClass, widthClass, closeIcon, closeIconFill, closeIconFillIcon, closeIconFillSize, closeIconShape, closeIconSize, closeIconSrc, } = propsGenerator;
147
149
  // @ts-expect-error
148
150
  const { styles: notificationStyles } = useStyles.useStyles(props);
149
- return (jsxRuntime.jsxs("div", { className: clsx('notification__item', elevationClass && `elevation_${elevationClass}`, sizeClass && `notification__item_set_${sizeClass}`, widthClass && `width_${widthClass}`, fillClass && `fill_${fillClass}`, isSkeleton && `notification__item_skeleton`), "data-test-id": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxRuntime.jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsxRuntime.jsx(Text.Text, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: "notification__item-text", size: descTextSize, textColor: descTextColor, children: desc })), close && (closeIcon || closeIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('notification__item-close', 'cursor_type_pointer'), fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: () => onClickClose && onClickClose(id) }))] }), after] }));
151
+ return (jsxRuntime.jsxs("div", { className: clsx('notification__item', elevationClass && `elevation_${elevationClass}`, sizeClass && `notification__item_set_${sizeClass}`, widthClass && `width_${widthClass}`, fillClass && `fill_${fillClass}`, isSkeleton && `notification__item_skeleton`), "data-test-id": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxRuntime.jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsxRuntime.jsx(Text.Text, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor, children: title })), text && (jsxRuntime.jsx(Text.Text, { className: "notification__item-text", size: descTextSize, textColor: descTextColor, children: text })), close && (closeIcon || closeIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('notification__item-close', 'cursor_type_pointer'), fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: () => onClickClose && onClickClose(id) }))] }), after] }));
150
152
  }
151
153
 
152
154
  function NotificationWrapper(props) {
153
155
  const notifications = Notifications.useNotifications();
154
156
  const { hideNotifications } = Notifications.useNotificationsAPI();
155
157
  const { className, close } = props;
156
- return (jsxRuntime.jsx("div", { className: clsx('notification', className), children: jsxRuntime.jsx("div", { className: "notification__wrapper", children: notifications.map((notification, i) => (jsxRuntime.jsx(Notification, { id: notification.id, appearance: notification.appearance, title: notification.title, status: notification.status, text: notification.text, close: close, onClickClose: hideNotifications }, i))) }) }));
158
+ return (jsxRuntime.jsx("div", { className: clsx('notification', className), children: jsxRuntime.jsx("div", { className: "notification__wrapper", children: notifications.map((notification, i) => (jsxRuntime.jsx(Notification, { id: notification.id, appearance: notification.appearance, title: notification.title, status: notification.status, text: notification.text,
159
+ // type={notification.type}
160
+ after: notification.after, close: close, onClickClose: hideNotifications }, i))) }) }));
157
161
  }
158
162
 
159
163
  exports.Notification = Notification;
@@ -8,7 +8,7 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.js');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
11
- var Button = require('../../Button_cjs_BXEwg-En.js');
11
+ var Button = require('../../Button_cjs_09OV2PKm.js');
12
12
  var Group = require('../../Group_cjs_DxyobxPf.js');
13
13
  var Text = require('../../Text_cjs_DaH5tVvz.js');
14
14
  require('@itcase/common');
@@ -266,6 +266,17 @@ const RESPONSE_MESSAGES = {
266
266
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
267
267
  secondaryButtonLabel: 'Отмена',
268
268
  },
269
+ errorAccessDenied: {
270
+ appearance: 'unableLoadData ghost',
271
+ title: 'Доступ ограничен',
272
+ desc: 'Для выяснения причин и восстановления доступа обратитесь, пожалуйста, в техническую поддержку по электронной почте: support@example.com',
273
+ code: '401/403',
274
+ imageSrc: index.responseIcon.UnableLoadData,
275
+ primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
276
+ primaryButtonLabel: 'Повторить',
277
+ secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
278
+ secondaryButtonLabel: 'Отмена',
279
+ },
269
280
  errorNetwork: {
270
281
  appearance: 'unableLoadData ghost',
271
282
  title: 'Ошибка соединения',
@@ -289,7 +300,7 @@ const RESPONSE_MESSAGES = {
289
300
  secondaryButtonLabel: 'Отмена',
290
301
  },
291
302
  empty: {
292
- appearance: 'refresh ghost',
303
+ appearance: 'empty ghost',
293
304
  title: 'Список пуст',
294
305
  desc: 'Нет данных по заданным параметрам',
295
306
  code: '200',
@@ -297,17 +308,6 @@ const RESPONSE_MESSAGES = {
297
308
  primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
298
309
  primaryButtonLabel: 'ОК',
299
310
  },
300
- errorAccessDenied: {
301
- appearance: 'unableLoadData ghost',
302
- title: 'Доступ ограничен',
303
- desc: 'Для выяснения причин и восстановления доступа обратитесь, пожалуйста, в техническую поддержку по электронной почте: support@example.com',
304
- code: '401/403',
305
- imageSrc: index.responseIcon.UnableLoadData,
306
- primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
307
- primaryButtonLabel: 'Повторить',
308
- secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
309
- secondaryButtonLabel: 'Отмена',
310
- },
311
311
  warning: {
312
312
  appearance: 'warning ghost',
313
313
  title: 'Внимание',
@@ -24,9 +24,9 @@ require('lodash/maxBy');
24
24
  const switchAppearanceDefault = {
25
25
  defaultPrimary: {
26
26
  fill: 'surfaceTertiary',
27
- fillActive: 'successTertiary',
27
+ fillActive: 'successPrimary',
28
28
  fillToggle: 'surfaceItemSecondary',
29
- fillToggleActive: 'accentItemSecondary',
29
+ fillToggleActive: 'successItemPrimary',
30
30
  titleTextColor: 'surfaceTextPrimary',
31
31
  descTextColor: 'surfaceTextPrimary',
32
32
  },
@@ -228,7 +228,7 @@ function TabGroup(props) {
228
228
  const { directionClass, alignClass, alignDirectionClass, fillClass, borderColorClass, borderTypeClass, borderWidthClass, widthClass, wrapClass, } = propsGenerator;
229
229
  // @ts-expect-error
230
230
  const { styles: groupStyles, wrapper: groupWrapperStyles } = useStyles.useStyles(props);
231
- return (jsxRuntime.jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_type_horizontal_scroll', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxRuntime.jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList?.map((item) => (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key))), children] })) : (jsxRuntime.jsxs(React.Fragment, { children: [tabList?.map((item) => (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key))), children] })) }));
231
+ return (jsxRuntime.jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxRuntime.jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList?.map((item) => (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key))), children] })) : (jsxRuntime.jsxs(React.Fragment, { children: [tabList?.map((item) => (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key))), children] })) }));
232
232
  }
233
233
 
234
234
  exports.Tab = Tab;
@@ -8,9 +8,9 @@ var common = require('@itcase/common');
8
8
 
9
9
  const STATUSES = {
10
10
  error: 'error',
11
- warning: 'warning',
12
11
  info: 'info',
13
12
  success: 'success',
13
+ warning: 'warning',
14
14
  };
15
15
  const NotificationsContext = React.createContext([]);
16
16
  /* eslint-disable @typescript-eslint/no-unused-vars */
@@ -126,6 +126,7 @@ function createNotification(notification, onClose) {
126
126
  // let appearance = STATUSES.appearance
127
127
  let closeByTime = 4500;
128
128
  let appearance = '';
129
+ let after = null;
129
130
  if (typeof notification === 'string') {
130
131
  text = notification;
131
132
  }
@@ -135,6 +136,7 @@ function createNotification(notification, onClose) {
135
136
  text = notification.text ?? text;
136
137
  status = notification.status ?? status;
137
138
  closeByTime = notification.closeByTime ?? closeByTime;
139
+ after = notification.after ?? after;
138
140
  }
139
141
  switch (status) {
140
142
  case 'success':
@@ -156,6 +158,7 @@ function createNotification(notification, onClose) {
156
158
  title: title,
157
159
  status: status,
158
160
  text: text,
161
+ after: after,
159
162
  closeByTime: closeByTime,
160
163
  onClose: onClose,
161
164
  };
@@ -1,4 +1,4 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_DEn6z83v.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_CVZPF_rz.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_CzVlqaHv.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_UTiUhYs7.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
@@ -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 '../Button_es_DEn6z83v.js';
7
+ import { B as Button } from '../Button_es_CVZPF_rz.js';
8
8
  import { T as Text } from '../Text_es_RDU9GLCV.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
@@ -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 '../DatePicker_es_mX0NSjO5.js';
5
+ import { D as DatePickerInput } from '../DatePicker_es_BmxQxJ2u.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 '../ChipsGroup_es_CzVlqaHv.js';
8
+ import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_UTiUhYs7.js';
9
9
  import 'date-fns/locale';
10
10
  import 'react-datepicker';
11
11
  import '../hooks/useStyles/useStyles.js';
@@ -20,7 +20,7 @@ import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import '../hooks.js';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Button_es_DEn6z83v.js';
23
+ import '../Button_es_CVZPF_rz.js';
24
24
  import '../Icon_es_5JUPM7bP.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../hoc/urlWithAssetPrefix.js';
@@ -1,4 +1,4 @@
1
- export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_mX0NSjO5.js';
1
+ export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_BmxQxJ2u.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -20,7 +20,7 @@ import '../hooks.js';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import '../hooks/useStyles/useStyles.js';
22
22
  import 'lodash/maxBy';
23
- import '../Button_es_DEn6z83v.js';
23
+ import '../Button_es_CVZPF_rz.js';
24
24
  import '../Icon_es_5JUPM7bP.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../hoc/urlWithAssetPrefix.js';