@itcase/ui 1.2.1 → 1.2.3
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/{Button-BA3ZeUjj.js → Button-BJWuO5uR.js} +1 -1
- package/dist/{Button-VkatyBmt.js → Button-D4y0v6YL.js} +1 -1
- package/dist/{Icon-Co5Mtpt_.js → Icon-Cq4hPF2D.js} +24 -21
- package/dist/{Icon-CsE2-ieX.js → Icon-fTLfvlsK.js} +24 -21
- package/dist/{Input-C7gBdx1m.js → Input-BSpFMsrf.js} +5 -5
- package/dist/{Input-BQ6Plt1n.js → Input-UkM-ag48.js} +5 -5
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Choice.js +7 -7
- package/dist/cjs/components/ContextMenu.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DadataHintField.js +1 -1
- package/dist/cjs/components/DatePicker.js +10 -10
- package/dist/cjs/components/FormField.js +1 -1
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/LanguageSelector.js +2 -2
- package/dist/cjs/components/Pagination.js +1 -1
- package/dist/cjs/components/Response.js +3 -3
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/SiteMenu.js +2 -2
- package/dist/cjs/context/Notifications.js +5 -5
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Choice.js +7 -7
- package/dist/components/ContextMenu.js +2 -2
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DadataHintField.js +1 -1
- package/dist/components/DatePicker.js +10 -10
- package/dist/components/FormField.js +1 -1
- package/dist/components/Icon.js +2 -2
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/LanguageSelector.js +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Response.js +3 -3
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/SiteMenu.js +2 -2
- package/dist/context/Notifications.js +5 -5
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +8 -7
- package/dist/types/components/Input/Input.interface.d.ts +1 -0
- package/dist/types/context/Notifications.d.ts +2 -2
- package/package.json +7 -7
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var SVG = require('react-inlinesvg');
|
|
7
7
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles.js');
|
|
9
|
-
var Button = require('../../Button-
|
|
9
|
+
var Button = require('../../Button-D4y0v6YL.js');
|
|
10
10
|
var Group = require('../../Group-Buo_BxGT.js');
|
|
11
11
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
12
12
|
var Title = require('../../Title-zwP6c2U2.js');
|
|
@@ -19,9 +19,9 @@ require('react-responsive');
|
|
|
19
19
|
require('lodash/maxBy');
|
|
20
20
|
require('lodash/upperFirst');
|
|
21
21
|
require('../hooks/styleAttributes.js');
|
|
22
|
-
require('../../Icon-
|
|
23
|
-
require('../../tslib.es6-CKiUdo7p.js');
|
|
22
|
+
require('../../Icon-Cq4hPF2D.js');
|
|
24
23
|
require('../../Link-DQxoFKhI.js');
|
|
24
|
+
require('../../tslib.es6-CKiUdo7p.js');
|
|
25
25
|
require('../../Tooltip-DkTKx9n-.js');
|
|
26
26
|
require('../../Loader-fA11tUEJ.js');
|
|
27
27
|
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles.js');
|
|
8
|
-
var Icon = require('../../Icon-
|
|
8
|
+
var Icon = require('../../Icon-Cq4hPF2D.js');
|
|
9
9
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
10
10
|
var Scrollbar = require('../../Scrollbar-DVlIZzvz.js');
|
|
11
11
|
require('lodash/castArray');
|
|
@@ -17,9 +17,9 @@ require('react-responsive');
|
|
|
17
17
|
require('lodash/maxBy');
|
|
18
18
|
require('lodash/upperFirst');
|
|
19
19
|
require('../hooks/styleAttributes.js');
|
|
20
|
-
require('../../tslib.es6-CKiUdo7p.js');
|
|
21
20
|
require('react-inlinesvg');
|
|
22
21
|
require('../../Link-DQxoFKhI.js');
|
|
22
|
+
require('../../tslib.es6-CKiUdo7p.js');
|
|
23
23
|
require('../../Tooltip-DkTKx9n-.js');
|
|
24
24
|
require('../../Title-zwP6c2U2.js');
|
|
25
25
|
require('react-scrollbars-custom');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var PropTypes = require('prop-types');
|
|
5
5
|
var Select = require('react-select');
|
|
6
|
-
var Icon = require('../../Icon-
|
|
6
|
+
var Icon = require('../../Icon-Cq4hPF2D.js');
|
|
7
7
|
var clsx = require('clsx');
|
|
8
8
|
var CreatableSelect = require('react-select/creatable');
|
|
9
9
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
@@ -11,7 +11,6 @@ var Text = require('../../Text-_YhyTsQ1.js');
|
|
|
11
11
|
var Badge = require('../../Badge-2JkquAEb.js');
|
|
12
12
|
var Group = require('../../Group-Buo_BxGT.js');
|
|
13
13
|
var Divider = require('../../Divider-BjB5MD6u.js');
|
|
14
|
-
require('../../tslib.es6-CKiUdo7p.js');
|
|
15
14
|
require('react/jsx-runtime');
|
|
16
15
|
require('react-inlinesvg');
|
|
17
16
|
require('../hooks/useStyles.js');
|
|
@@ -23,6 +22,7 @@ require('../context/UIContext.js');
|
|
|
23
22
|
require('../hooks/useMediaQueries.js');
|
|
24
23
|
require('react-responsive');
|
|
25
24
|
require('../../Link-DQxoFKhI.js');
|
|
25
|
+
require('../../tslib.es6-CKiUdo7p.js');
|
|
26
26
|
require('../../Tooltip-DkTKx9n-.js');
|
|
27
27
|
require('../../Title-zwP6c2U2.js');
|
|
28
28
|
require('lodash/castArray');
|
|
@@ -5,20 +5,20 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var UIContext = require('../context/UIContext.js');
|
|
7
7
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
8
|
-
var Icon = require('../../Icon-
|
|
8
|
+
var Icon = require('../../Icon-Cq4hPF2D.js');
|
|
9
9
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
10
10
|
require('prop-types');
|
|
11
11
|
require('../hooks/useMediaQueries.js');
|
|
12
12
|
require('react-responsive');
|
|
13
13
|
require('lodash/castArray');
|
|
14
14
|
require('lodash/camelCase');
|
|
15
|
-
require('../../tslib.es6-CKiUdo7p.js');
|
|
16
15
|
require('react-inlinesvg');
|
|
17
16
|
require('../hooks/useStyles.js');
|
|
18
17
|
require('lodash/maxBy');
|
|
19
18
|
require('lodash/upperFirst');
|
|
20
19
|
require('../hooks/styleAttributes.js');
|
|
21
20
|
require('../../Link-DQxoFKhI.js');
|
|
21
|
+
require('../../tslib.es6-CKiUdo7p.js');
|
|
22
22
|
require('../../Tooltip-DkTKx9n-.js');
|
|
23
23
|
require('../../Title-zwP6c2U2.js');
|
|
24
24
|
|
|
@@ -13,9 +13,9 @@ const STATUSES = {
|
|
|
13
13
|
};
|
|
14
14
|
const NotificationsContext = /*#__PURE__*/React.createContext([]);
|
|
15
15
|
const NotificationsAPIContext = /*#__PURE__*/React.createContext({
|
|
16
|
-
hideNotifications:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
hideNotifications: targetId => {},
|
|
17
|
+
notificationStatuses: STATUSES,
|
|
18
|
+
showNotification: (notification, onClose) => {}
|
|
19
19
|
});
|
|
20
20
|
function NotificationsProvider(props) {
|
|
21
21
|
const {
|
|
@@ -68,9 +68,9 @@ function NotificationsProvider(props) {
|
|
|
68
68
|
// eslint-disable-next-line
|
|
69
69
|
}, []);
|
|
70
70
|
const notificationsAPI = React.useMemo(() => ({
|
|
71
|
-
showNotification: showNotification,
|
|
72
71
|
hideNotifications: hideNotifications,
|
|
73
|
-
notificationStatuses: STATUSES
|
|
72
|
+
notificationStatuses: STATUSES,
|
|
73
|
+
showNotification: showNotification
|
|
74
74
|
}),
|
|
75
75
|
// Functions is never changes, no sense to set as dependencies
|
|
76
76
|
// eslint-disable-next-line
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import castArray from 'lodash/castArray';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import '../context/UIContext.js';
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
6
6
|
import { I as Image } from '../Image-8t6PvsaZ.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -11,13 +11,13 @@ import '../context/UIContext.js';
|
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import '../hooks/useMediaQueries.js';
|
|
13
13
|
import 'react-responsive';
|
|
14
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
15
14
|
import 'react-inlinesvg';
|
|
16
15
|
import '../hooks/useStyles.js';
|
|
17
16
|
import 'lodash/maxBy';
|
|
18
17
|
import 'lodash/upperFirst';
|
|
19
18
|
import '../hooks/styleAttributes.js';
|
|
20
19
|
import '../Link-Bqu5amIb.js';
|
|
20
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
21
21
|
import '../Tooltip-DJufHBiQ.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import camelCase from 'lodash/camelCase';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
9
9
|
import { a as LinkWrapper } from '../Link-Bqu5amIb.js';
|
|
10
10
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Button, b as buttonConfig } from '../Button-
|
|
1
|
+
export { B as Button, b as buttonConfig } from '../Button-BJWuO5uR.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -13,10 +13,10 @@ import '../hooks/useStyles.js';
|
|
|
13
13
|
import 'lodash/maxBy';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Icon-
|
|
17
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
16
|
+
import '../Icon-fTLfvlsK.js';
|
|
18
17
|
import 'react-inlinesvg';
|
|
19
18
|
import '../Link-Bqu5amIb.js';
|
|
19
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
20
20
|
import '../Tooltip-DJufHBiQ.js';
|
|
21
21
|
import '../Text-CG3xPG27.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
|
-
import { I as Icon } from '../Icon-
|
|
4
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
5
5
|
import { L as Label } from '../Label-BA_CnRBq.js';
|
|
6
6
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
@@ -12,9 +12,9 @@ import '../context/UIContext.js';
|
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import '../hooks/useMediaQueries.js';
|
|
14
14
|
import 'react-responsive';
|
|
15
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
16
15
|
import 'react-inlinesvg';
|
|
17
16
|
import '../Link-Bqu5amIb.js';
|
|
17
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
18
18
|
import '../Tooltip-DJufHBiQ.js';
|
|
19
19
|
import '../Title-BfSFPJtJ.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
6
6
|
import { L as Loader } from '../Loader-CJ8ZCdwy.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -11,13 +11,13 @@ import '../context/UIContext.js';
|
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import '../hooks/useMediaQueries.js';
|
|
13
13
|
import 'react-responsive';
|
|
14
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
15
14
|
import 'react-inlinesvg';
|
|
16
15
|
import '../hooks/useStyles.js';
|
|
17
16
|
import 'lodash/maxBy';
|
|
18
17
|
import 'lodash/upperFirst';
|
|
19
18
|
import '../hooks/styleAttributes.js';
|
|
20
19
|
import '../Link-Bqu5amIb.js';
|
|
20
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
21
21
|
import '../Tooltip-DJufHBiQ.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
@@ -73,7 +73,7 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
73
73
|
});
|
|
74
74
|
// prettier-ignore
|
|
75
75
|
var appearanceConfig = (appearance && choiceConfig.appearance && choiceConfig.appearance[appearance]);
|
|
76
|
-
return (jsx("div", {
|
|
76
|
+
return (jsx("div", { className: clsx(className, 'choice', shapeClass ||
|
|
77
77
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
78
78
|
"choice_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), !isDisabled
|
|
79
79
|
? fillClass ||
|
|
@@ -83,12 +83,12 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
83
83
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
84
84
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
85
85
|
.replace(/([A-Z])/g, '-$1')
|
|
86
|
-
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)), children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx("div", { className: "choice__wrapper", children: options.map(function (item) { return (jsxs("div", {
|
|
86
|
+
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)), ref: controlRef, children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx("div", { className: "choice__wrapper", children: options.map(function (item) { return (jsxs("div", { className: clsx('choice__item', !isDisabled &&
|
|
87
87
|
(fillHoverClass ||
|
|
88
88
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
89
89
|
"fill_active_".concat(appearanceConfig.fillHover)
|
|
90
90
|
.replace(/([A-Z])/g, '-$1')
|
|
91
|
-
.toLowerCase())), item.value !== active.value && isDisabled && 'choice__item_state_disabled', item.value === active.value
|
|
91
|
+
.toLowerCase())), item.value !== (active === null || active === void 0 ? void 0 : active.value) && isDisabled && 'choice__item_state_disabled', item.value === (active === null || active === void 0 ? void 0 : active.value)
|
|
92
92
|
? !isDisabled
|
|
93
93
|
? fillActiveClass ||
|
|
94
94
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillActive) &&
|
|
@@ -98,13 +98,13 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
98
98
|
: fillActiveDisabledClass
|
|
99
99
|
: !isDisabled
|
|
100
100
|
? fillClass
|
|
101
|
-
: fillDisabledClass, item.value === active.value && isDisabled && 'choice__item_active_state_disabled', item.value === active.value && 'choice__item_active'), children: [jsx("input", { checked: item.value === active
|
|
101
|
+
: fillDisabledClass, item.value === (active === null || active === void 0 ? void 0 : active.value) && isDisabled && 'choice__item_active_state_disabled', item.value === (active === null || active === void 0 ? void 0 : active.value) && 'choice__item_active'), ref: optionsRefs.get(item.value), children: [jsx("input", { className: "choice__item-radio", name: name, checked: item.value === (active === null || active === void 0 ? void 0 : active.value), disabled: isDisabled, id: "".concat(name, "-").concat(item.value), type: isCheckbox ? 'checkbox' : 'radio', value: item.value, onChange: function (event) { return onChange(event, item); } }), jsxs("label", { className: clsx('choice__item-label', isDisabled && 'choice__item-label_state_disabled'), htmlFor: "".concat(name, "-").concat(item.value), children: [before, item.label && (jsx(Text, { size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize), textWeight: labelTextWeight, textColor: item.value === (active === null || active === void 0 ? void 0 : active.value)
|
|
102
102
|
? !isDisabled
|
|
103
103
|
? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor)
|
|
104
104
|
: labelTextActiveColorDisabled
|
|
105
105
|
: !isDisabled
|
|
106
106
|
? labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor)
|
|
107
|
-
: labelTextColorDisabled, children: item.label })), (icon || activeIcon) && (jsx(Icon, {
|
|
107
|
+
: labelTextColorDisabled, children: item.label })), (icon || activeIcon) && (jsx(Icon, { className: "choice__item-icon", iconFillDisabled: isDisabled ? iconFillDisabled : undefined, iconSize: iconSize, SvgImage: item.value === (active === null || active === void 0 ? void 0 : active.value) ? activeIcon : icon, iconFill: item.value === (active === null || active === void 0 ? void 0 : active.value)
|
|
108
108
|
? activeIconItemFill || item.activeIconItemFill
|
|
109
109
|
: iconItemFill || item.iconItemFill })), after] })] }, item.value)); }) })) }));
|
|
110
110
|
});
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
6
6
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -15,9 +15,9 @@ import '../hooks/useStyles.js';
|
|
|
15
15
|
import 'lodash/maxBy';
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
18
|
import 'react-inlinesvg';
|
|
20
19
|
import '../Link-Bqu5amIb.js';
|
|
20
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
21
21
|
import '../Tooltip-DJufHBiQ.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { B as Button } from '../Button-
|
|
6
|
+
import { B as Button } from '../Button-BJWuO5uR.js';
|
|
7
7
|
import { G as Group } from '../Group-BXfLh7AZ.js';
|
|
8
8
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -16,10 +16,10 @@ import '../hooks/useStyles.js';
|
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import 'lodash/upperFirst';
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
|
-
import '../Icon-
|
|
20
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
|
+
import '../Icon-fTLfvlsK.js';
|
|
21
20
|
import 'react-inlinesvg';
|
|
22
21
|
import '../Link-Bqu5amIb.js';
|
|
22
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
23
23
|
import '../Tooltip-DJufHBiQ.js';
|
|
24
24
|
import '../Title-BfSFPJtJ.js';
|
|
25
25
|
import '../Loader-CJ8ZCdwy.js';
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { PartySuggestions } from 'react-dadata';
|
|
6
|
-
import { I as Input } from '../Input-
|
|
6
|
+
import { I as Input } from '../Input-UkM-ag48.js';
|
|
7
7
|
import '../hooks/useDeviceTargetClass.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -4,9 +4,9 @@ import React, { useMemo, useCallback, useRef, useState, useEffect } from 'react'
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import DatePicker from 'react-datepicker';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
|
-
import { B as Button } from '../Button-
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
9
|
-
import { I as Input } from '../Input-
|
|
7
|
+
import { B as Button } from '../Button-BJWuO5uR.js';
|
|
8
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
9
|
+
import { I as Input } from '../Input-UkM-ag48.js';
|
|
10
10
|
import { L as Label } from '../Label-BA_CnRBq.js';
|
|
11
11
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -1069,7 +1069,7 @@ const ru = {
|
|
|
1069
1069
|
};
|
|
1070
1070
|
|
|
1071
1071
|
function DatePickerInput(props) {
|
|
1072
|
-
var className = props.className,
|
|
1072
|
+
var className = props.className, clearIcon = props.clearIcon, clearIconFill = props.clearIconFill, clearIconFillHover = props.clearIconFillHover, clearIconFillSize = props.clearIconFillSize, clearIconItemFill = props.clearIconItemFill, clearIconItemFillHover = props.clearIconItemFillHover, clearIconShape = props.clearIconShape, clearIconSize = props.clearIconSize, clearIconSrc = props.clearIconSrc, clearLabel = props.clearLabel, clearLabelTextColor = props.clearLabelTextColor, clearLabelTextColorHover = props.clearLabelTextColorHover, clearLabelTextSize = props.clearLabelTextSize, datePickerProps = props.datePickerProps, endValue = props.endValue, inputProps = props.inputProps, labelTextSize = props.labelTextSize, value = props.value, onChange = props.onChange;
|
|
1073
1073
|
var widthClass = useDeviceTargetClass(props, {
|
|
1074
1074
|
prefix: 'width_',
|
|
1075
1075
|
propsKey: 'width',
|
|
@@ -1137,7 +1137,7 @@ function DatePickerInput(props) {
|
|
|
1137
1137
|
useEffect(function () {
|
|
1138
1138
|
setEndDate(end);
|
|
1139
1139
|
}, [end]);
|
|
1140
|
-
return (jsx("div", { className: clsx(className, 'datepicker', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.monthsShown) && 'datepicker_type_multiple-months', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button', widthClass), children: jsx(DatePicker, __assign({ ref: datepickerRef, endDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? endDate : undefined, locale: ru, minDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.disablePastDays) ? new Date() : undefined, renderCustomHeader: renderCustomHeader, renderDayContents: renderDayContents, selected: startDate, startDate: startDate, customInput: jsx(DatePickerCustomInput, { labelTextSize: labelTextSize, clearIcon: clearIcon, clearIconFill: clearIconFill, clearIconFillHover: clearIconFillHover, clearIconFillSize: clearIconFillSize, clearIconItemFill: clearIconItemFill, clearIconItemFillHover: clearIconItemFillHover, clearIconShape: clearIconShape, clearIconSize: clearIconSize, clearIconSrc: clearIconSrc, clearLabel: clearLabel, clearLabelTextColor: clearLabelTextColor, clearLabelTextColorHover: clearLabelTextColorHover, clearLabelTextSize: clearLabelTextSize, datepickerRef: datepickerRef, inputIcon: datePickerProps.inputIcon, inputIconFill: datePickerProps.inputIconFill, inputIconFillHover: datePickerProps.inputIconFillHover, inputIconFillSize: datePickerProps.inputIconFillSize, inputIconItemFill: datePickerProps.inputIconItemFill, inputIconShape: datePickerProps.inputIconShape, inputIconSize: datePickerProps.inputIconSize, inputIconSrc: datePickerProps.inputIconSrc, inputProps: inputProps, isClearable: datePickerProps.isClearable }), onChange: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? handleChange : onChange }, datePickerProps, {
|
|
1140
|
+
return (jsx("div", { className: clsx(className, 'datepicker', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.monthsShown) && 'datepicker_type_multiple-months', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button', widthClass), children: jsx(DatePicker, __assign({ ref: datepickerRef, endDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? endDate : undefined, locale: ru, minDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.disablePastDays) ? new Date() : undefined, renderCustomHeader: renderCustomHeader, renderDayContents: renderDayContents, selected: startDate, startDate: startDate, customInput: jsx(DatePickerCustomInput, { labelTextSize: labelTextSize, clearIcon: clearIcon, clearIconFill: clearIconFill, clearIconFillHover: clearIconFillHover, clearIconFillSize: clearIconFillSize, clearIconItemFill: clearIconItemFill, clearIconItemFillHover: clearIconItemFillHover, clearIconShape: clearIconShape, clearIconSize: clearIconSize, clearIconSrc: clearIconSrc, clearLabel: clearLabel, clearLabelTextColor: clearLabelTextColor, clearLabelTextColorHover: clearLabelTextColorHover, clearLabelTextSize: clearLabelTextSize, datepickerRef: datepickerRef, inputIcon: datePickerProps.inputIcon, inputIconFill: datePickerProps.inputIconFill, inputIconFillHover: datePickerProps.inputIconFillHover, inputIconFillSize: datePickerProps.inputIconFillSize, inputIconItemFill: datePickerProps.inputIconItemFill, inputIconShape: datePickerProps.inputIconShape, inputIconSize: datePickerProps.inputIconSize, inputIconSrc: datePickerProps.inputIconSrc, inputProps: inputProps, isClearable: datePickerProps.isClearable }), popperClassName: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.popper) && "react-datepicker-popper-".concat(datePickerProps.popper), onChange: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? handleChange : onChange }, datePickerProps, {
|
|
1141
1141
|
// Important for use custom clear button
|
|
1142
1142
|
isClearable: false })) }));
|
|
1143
1143
|
}
|
|
@@ -1150,22 +1150,22 @@ var DatePickerCustomInput = React.forwardRef(function (props, ref) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
return '';
|
|
1152
1152
|
}, [value]);
|
|
1153
|
-
return (jsxs(React.Fragment, { children: [jsx(Input, __assign({}, props, inputProps, { ref: ref, value: multipleValue })), inputIcon && jsx(DatePickerInputIcon, __assign({}, props)), isClearable && jsx(DatePickerClearButton, __assign({}, props))] }));
|
|
1153
|
+
return (jsxs(React.Fragment, { children: [jsx(Input, __assign({}, props, inputProps, { ref: ref, autocomplete: "off", value: multipleValue })), inputIcon && jsx(DatePickerInputIcon, __assign({}, props)), isClearable && jsx(DatePickerClearButton, __assign({}, props))] }));
|
|
1154
1154
|
});
|
|
1155
1155
|
DatePickerCustomInput.displayName = 'DatePickerCustomInput';
|
|
1156
1156
|
function DatePickerClearButton(props) {
|
|
1157
|
-
var
|
|
1157
|
+
var clearIcon = props.clearIcon, clearIconFill = props.clearIconFill, clearIconFillHover = props.clearIconFillHover, clearIconFillSize = props.clearIconFillSize, clearIconItemFill = props.clearIconItemFill, clearIconItemFillHover = props.clearIconItemFillHover, clearIconShape = props.clearIconShape, clearIconSize = props.clearIconSize, clearIconSrc = props.clearIconSrc, clearLabel = props.clearLabel, clearLabelTextColor = props.clearLabelTextColor, clearLabelTextColorHover = props.clearLabelTextColorHover, clearLabelTextSize = props.clearLabelTextSize, datepickerRef = props.datepickerRef;
|
|
1158
1158
|
var onClick = useCallback(function (event) {
|
|
1159
1159
|
var _a, _b;
|
|
1160
1160
|
(_a = datepickerRef === null || datepickerRef === void 0 ? void 0 : datepickerRef.current) === null || _a === void 0 ? void 0 : _a.onClearClick(event);
|
|
1161
1161
|
(_b = datepickerRef === null || datepickerRef === void 0 ? void 0 : datepickerRef.current) === null || _b === void 0 ? void 0 : _b.handleFocus(event);
|
|
1162
1162
|
}, []);
|
|
1163
|
-
return (jsxs(React.Fragment, { children: [clearLabel && (jsx(Label, { className: clsx('react-datepicker__clear-label', 'cursor_type_pointer'), label: clearLabel, labelTextColor: clearLabelTextColor,
|
|
1163
|
+
return (jsxs(React.Fragment, { children: [clearLabel && (jsx(Label, { className: clsx('react-datepicker__clear-label', 'cursor_type_pointer'), label: clearLabel, labelTextColor: clearLabelTextColor, labelTextSize: clearLabelTextSize, labelTextColorHover: clearLabelTextColorHover, onClick: onClick })), (clearIcon || clearIconSrc) && (jsx(Icon, { className: clsx('react-datepicker__clear-icon', 'cursor_type_pointer'), fill: clearIconFill, fillHover: clearIconFillHover, fillSize: clearIconFillSize, iconFill: clearIconItemFill, iconFillHover: clearIconItemFillHover, imageSrc: clearIconSrc, shape: clearIconShape, size: clearIconSize, SvgImage: clearIcon, onClick: onClick }))] }));
|
|
1164
1164
|
}
|
|
1165
1165
|
DatePickerClearButton.displayName = 'DatePickerClearButton';
|
|
1166
1166
|
function DatePickerInputIcon(props) {
|
|
1167
|
-
var inputIconFill = props.inputIconFill, inputIconFillHover = props.inputIconFillHover, inputIconFillSize = props.inputIconFillSize,
|
|
1168
|
-
return (jsx(Icon, { className: clsx('react-datepicker__input-icon', 'cursor_type_pointer'), fill: inputIconFill, fillHover: inputIconFillHover, fillSize: inputIconFillSize, iconFill: inputIconItemFill, imageSrc: inputIconSrc, shape: inputIconShape, size: inputIconSize, onClick: function () { return onClick && onClick(); }
|
|
1167
|
+
var inputIcon = props.inputIcon, inputIconFill = props.inputIconFill, inputIconFillHover = props.inputIconFillHover, inputIconFillSize = props.inputIconFillSize, inputIconItemFill = props.inputIconItemFill, inputIconShape = props.inputIconShape, inputIconSize = props.inputIconSize, inputIconSrc = props.inputIconSrc, onClick = props.onClick;
|
|
1168
|
+
return (jsx(Icon, { className: clsx('react-datepicker__input-icon', 'cursor_type_pointer'), fill: inputIconFill, fillHover: inputIconFillHover, fillSize: inputIconFillSize, iconFill: inputIconItemFill, imageSrc: inputIconSrc, shape: inputIconShape, size: inputIconSize, SvgImage: inputIcon, onClick: function () { return onClick && onClick(); } }));
|
|
1169
1169
|
}
|
|
1170
1170
|
DatePickerInputIcon.displayName = 'DatePickerInputIcon';
|
|
1171
1171
|
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
5
5
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
8
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
9
9
|
import { R as Radio } from '../Radio-oMf0vN7T.js';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { I as Icon, i as iconConfig } from '../Icon-
|
|
2
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
1
|
+
export { I as Icon, i as iconConfig } from '../Icon-fTLfvlsK.js';
|
|
3
2
|
import 'react/jsx-runtime';
|
|
4
3
|
import 'react';
|
|
5
4
|
import 'clsx';
|
|
@@ -16,6 +15,7 @@ import 'lodash/maxBy';
|
|
|
16
15
|
import 'lodash/upperFirst';
|
|
17
16
|
import '../hooks/styleAttributes.js';
|
|
18
17
|
import '../Link-Bqu5amIb.js';
|
|
18
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
19
|
import '../Tooltip-DJufHBiQ.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
package/dist/components/Input.js
CHANGED
|
@@ -2,20 +2,20 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
6
6
|
import 'lodash/castArray';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import '../context/UIContext.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import '../hooks/useMediaQueries.js';
|
|
11
11
|
import 'react-responsive';
|
|
12
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
13
12
|
import 'react-inlinesvg';
|
|
14
13
|
import '../hooks/useStyles.js';
|
|
15
14
|
import 'lodash/maxBy';
|
|
16
15
|
import 'lodash/upperFirst';
|
|
17
16
|
import '../hooks/styleAttributes.js';
|
|
18
17
|
import '../Link-Bqu5amIb.js';
|
|
18
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
19
|
import '../Tooltip-DJufHBiQ.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { I as Icon } from '../Icon-
|
|
4
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
3
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
5
4
|
import 'react';
|
|
6
5
|
import 'react-inlinesvg';
|
|
7
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
@@ -16,6 +15,7 @@ import 'lodash/maxBy';
|
|
|
16
15
|
import 'lodash/upperFirst';
|
|
17
16
|
import '../hooks/styleAttributes.js';
|
|
18
17
|
import '../Link-Bqu5amIb.js';
|
|
18
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
19
|
import '../Tooltip-DJufHBiQ.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
@@ -5,7 +5,7 @@ import ceil from 'lodash/ceil';
|
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-bB-KYqcL.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import SVG from 'react-inlinesvg';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { B as Button } from '../Button-
|
|
7
|
+
import { B as Button } from '../Button-BJWuO5uR.js';
|
|
8
8
|
import { G as Group } from '../Group-BXfLh7AZ.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import { T as Title } from '../Title-BfSFPJtJ.js';
|
|
@@ -17,9 +17,9 @@ import 'react-responsive';
|
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
21
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
20
|
+
import '../Icon-fTLfvlsK.js';
|
|
22
21
|
import '../Link-Bqu5amIb.js';
|
|
22
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
23
23
|
import '../Tooltip-DJufHBiQ.js';
|
|
24
24
|
import '../Loader-CJ8ZCdwy.js';
|
|
25
25
|
|
|
@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import { S as Scrollbar } from '../Scrollbar-CrGXCZ_F.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -15,9 +15,9 @@ import 'react-responsive';
|
|
|
15
15
|
import 'lodash/maxBy';
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
19
18
|
import 'react-inlinesvg';
|
|
20
19
|
import '../Link-Bqu5amIb.js';
|
|
20
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
21
21
|
import '../Tooltip-DJufHBiQ.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
import 'react-scrollbars-custom';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useMemo, useRef, useCallback, useEffect } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon } from '../Icon-
|
|
4
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import CreatableSelect from 'react-select/creatable';
|
|
7
7
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
@@ -9,7 +9,6 @@ import { T as Text } from '../Text-CG3xPG27.js';
|
|
|
9
9
|
import { B as Badge } from '../Badge-CrhdvxY6.js';
|
|
10
10
|
import { G as Group } from '../Group-BXfLh7AZ.js';
|
|
11
11
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
12
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
13
12
|
import 'react/jsx-runtime';
|
|
14
13
|
import 'react-inlinesvg';
|
|
15
14
|
import '../hooks/useStyles.js';
|
|
@@ -21,6 +20,7 @@ import '../context/UIContext.js';
|
|
|
21
20
|
import '../hooks/useMediaQueries.js';
|
|
22
21
|
import 'react-responsive';
|
|
23
22
|
import '../Link-Bqu5amIb.js';
|
|
23
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
24
24
|
import '../Tooltip-DJufHBiQ.js';
|
|
25
25
|
import '../Title-BfSFPJtJ.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
@@ -3,20 +3,20 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useSiteMenuContext } from '../context/UIContext.js';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-fTLfvlsK.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../hooks/useMediaQueries.js';
|
|
10
10
|
import 'react-responsive';
|
|
11
11
|
import 'lodash/castArray';
|
|
12
12
|
import 'lodash/camelCase';
|
|
13
|
-
import '../tslib.es6-S-VPg1Cw.js';
|
|
14
13
|
import 'react-inlinesvg';
|
|
15
14
|
import '../hooks/useStyles.js';
|
|
16
15
|
import 'lodash/maxBy';
|
|
17
16
|
import 'lodash/upperFirst';
|
|
18
17
|
import '../hooks/styleAttributes.js';
|
|
19
18
|
import '../Link-Bqu5amIb.js';
|
|
19
|
+
import '../tslib.es6-S-VPg1Cw.js';
|
|
20
20
|
import '../Tooltip-DJufHBiQ.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
22
22
|
|
|
@@ -11,9 +11,9 @@ const STATUSES = {
|
|
|
11
11
|
};
|
|
12
12
|
const NotificationsContext = /*#__PURE__*/createContext([]);
|
|
13
13
|
const NotificationsAPIContext = /*#__PURE__*/createContext({
|
|
14
|
-
hideNotifications:
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
hideNotifications: targetId => {},
|
|
15
|
+
notificationStatuses: STATUSES,
|
|
16
|
+
showNotification: (notification, onClose) => {}
|
|
17
17
|
});
|
|
18
18
|
function NotificationsProvider(props) {
|
|
19
19
|
const {
|
|
@@ -66,9 +66,9 @@ function NotificationsProvider(props) {
|
|
|
66
66
|
// eslint-disable-next-line
|
|
67
67
|
}, []);
|
|
68
68
|
const notificationsAPI = useMemo(() => ({
|
|
69
|
-
showNotification: showNotification,
|
|
70
69
|
hideNotifications: hideNotifications,
|
|
71
|
-
notificationStatuses: STATUSES
|
|
70
|
+
notificationStatuses: STATUSES,
|
|
71
|
+
showNotification: showNotification
|
|
72
72
|
}),
|
|
73
73
|
// Functions is never changes, no sense to set as dependencies
|
|
74
74
|
// eslint-disable-next-line
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 11.1.
|
|
2
|
+
* Swiper 11.1.10
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: August 21, 2024
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|