@itcase/ui 1.0.14 → 1.0.16
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/components/Button.js +20 -8
- package/dist/components/CookiesWarning.js +1 -0
- package/dist/components/DatePicker.js +11 -5
- package/dist/components/Empty.js +1 -0
- package/dist/components/Image.js +7 -2
- package/dist/components/Loader.js +8 -4
- package/dist/components/Notification.js +14 -65
- package/dist/components/Select.js +68 -77
- package/dist/components/Swiper.js +10 -8
- package/dist/css/components/Button/Button.css +1 -3
- package/dist/css/components/Choice/Choice.css +1 -1
- package/dist/css/components/DatePicker/DatePicker.css +1 -0
- package/dist/css/components/Empty/Empty.css +2 -0
- package/dist/css/components/Grid/Grid.css +1 -0
- package/dist/css/components/Loader/Loader.css +2 -0
- package/dist/css/components/Notification/Notification.css +54 -10
- package/dist/css/components/Search/Search.css +2 -1
- package/dist/css/components/Search/css/search-input/search-input.css +2 -1
- package/dist/css/components/Segmented/Segmented.css +2 -1
- package/dist/css/components/Swiper/Swiper.css +6 -2
- package/dist/css/styles/fill/fill.css +12 -0
- package/package.json +6 -6
|
@@ -10,8 +10,9 @@ var shape = require('../constants/componentProps/shape.js');
|
|
|
10
10
|
var size = require('../constants/componentProps/size.js');
|
|
11
11
|
var type = require('../constants/componentProps/type.js');
|
|
12
12
|
var width = require('../constants/componentProps/width.js');
|
|
13
|
-
var index$
|
|
14
|
-
var index$
|
|
13
|
+
var index$2 = require('./Icon.js');
|
|
14
|
+
var index$3 = require('./Text.js');
|
|
15
|
+
var index$1 = require('./Loader.js');
|
|
15
16
|
var index = require('./Link.js');
|
|
16
17
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
17
18
|
var useStyles = require('../useStyles-e4accb53.js');
|
|
@@ -59,6 +60,9 @@ function Button(props) {
|
|
|
59
60
|
label = props.label,
|
|
60
61
|
labelTextColor = props.labelTextColor,
|
|
61
62
|
labelTextSize = props.labelTextSize,
|
|
63
|
+
loaderSet = props.loaderSet,
|
|
64
|
+
loaderFill = props.loaderFill,
|
|
65
|
+
loaderItemFill = props.loaderItemFill,
|
|
62
66
|
link = props.link,
|
|
63
67
|
href = props.href,
|
|
64
68
|
target = props.target,
|
|
@@ -73,6 +77,7 @@ function Button(props) {
|
|
|
73
77
|
iconAfterFill = props.iconAfterFill,
|
|
74
78
|
iconAfterStroke = props.iconAfterStroke,
|
|
75
79
|
type = props.type,
|
|
80
|
+
loading = props.loading,
|
|
76
81
|
htmlType = props.htmlType,
|
|
77
82
|
isDisabled = props.isDisabled,
|
|
78
83
|
onClick = props.onClick,
|
|
@@ -116,8 +121,9 @@ function Button(props) {
|
|
|
116
121
|
var _useStyles = useStyles.useStyles(props),
|
|
117
122
|
buttonStyles = _useStyles.styles,
|
|
118
123
|
labelStyles = _useStyles.label;
|
|
124
|
+
console.log(isDisabled);
|
|
119
125
|
return /*#__PURE__*/React__default.default.createElement(index.LinkWrapper, {
|
|
120
|
-
className: clsx__default.default(className, 'button', type && "button_type_" + type, borderWidthClass, borderColorClass, borderTypeClass, fillClass, fillHoverClass, shapeClass, sizeClass, widthClass, elevationClass, Badge && 'button_type_badge', !label && (iconBefore || iconAfter || icon) && 'button_type_icon', label && (iconBefore || iconAfter || before || after) && "button_type_with-icon button_type_with-icon_" + size),
|
|
126
|
+
className: clsx__default.default(className, 'button', type && "button_type_" + type, borderWidthClass, borderColorClass, borderTypeClass, fillClass, fillHoverClass, shapeClass, sizeClass, widthClass, elevationClass, Badge && 'button_type_badge', loading && 'button_state_loading', !label && (iconBefore || iconAfter || icon) && 'button_type_icon', label && (iconBefore || iconAfter || before || after) && "button_type_with-icon button_type_with-icon_" + size),
|
|
121
127
|
href: link || href,
|
|
122
128
|
DefaultComponent: "button",
|
|
123
129
|
disabled: isDisabled,
|
|
@@ -129,24 +135,29 @@ function Button(props) {
|
|
|
129
135
|
onMouseDown: onMouseDown
|
|
130
136
|
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
131
137
|
className: "button__wrapper"
|
|
132
|
-
},
|
|
138
|
+
}, loading && /*#__PURE__*/React__default.default.createElement(index$1.Loader, {
|
|
139
|
+
className: "button__loader",
|
|
140
|
+
set: loaderSet,
|
|
141
|
+
fill: loaderFill,
|
|
142
|
+
itemFill: loaderItemFill
|
|
143
|
+
}), before, iconBefore && /*#__PURE__*/React__default.default.createElement(index$2.Icon, {
|
|
133
144
|
className: "button__icon_before",
|
|
134
145
|
SvgImage: iconBefore,
|
|
135
146
|
size: iconBeforeSize,
|
|
136
147
|
iconFill: iconBeforeFill,
|
|
137
148
|
iconStroke: iconBeforeStroke
|
|
138
|
-
}), icon && /*#__PURE__*/React__default.default.createElement(index$
|
|
149
|
+
}), icon && /*#__PURE__*/React__default.default.createElement(index$2.Icon, {
|
|
139
150
|
className: "button__icon",
|
|
140
151
|
SvgImage: icon,
|
|
141
152
|
size: iconSize,
|
|
142
153
|
iconFill: iconFill,
|
|
143
154
|
iconStroke: iconStroke
|
|
144
|
-
}), (children || label) && /*#__PURE__*/React__default.default.createElement(index$
|
|
155
|
+
}), (children || label) && /*#__PURE__*/React__default.default.createElement(index$3.Text, {
|
|
145
156
|
className: "button__label",
|
|
146
157
|
textColor: labelTextColor,
|
|
147
158
|
size: labelTextSize,
|
|
148
159
|
style: labelStyles
|
|
149
|
-
}, children || label), iconAfter && /*#__PURE__*/React__default.default.createElement(index$
|
|
160
|
+
}, children || label), iconAfter && /*#__PURE__*/React__default.default.createElement(index$2.Icon, {
|
|
150
161
|
className: "button__icon_after",
|
|
151
162
|
SvgImage: iconAfter,
|
|
152
163
|
size: iconAfterSize,
|
|
@@ -221,7 +232,8 @@ Button.defaultProps = {
|
|
|
221
232
|
htmlType: 'button',
|
|
222
233
|
size: 'm',
|
|
223
234
|
labelSize: 'm',
|
|
224
|
-
width: 'hug'
|
|
235
|
+
width: 'hug',
|
|
236
|
+
loaderSet: 'simple'
|
|
225
237
|
};
|
|
226
238
|
|
|
227
239
|
exports.Button = Button;
|
|
@@ -33,6 +33,7 @@ require('../constants/componentProps/strokeColor.js');
|
|
|
33
33
|
require('./Link.js');
|
|
34
34
|
require('../constants/componentProps/textGradient.js');
|
|
35
35
|
require('../constants/componentProps/underline.js');
|
|
36
|
+
require('./Loader.js');
|
|
36
37
|
require('../constants/componentProps/direction.js');
|
|
37
38
|
require('../constants/componentProps/stacking.js');
|
|
38
39
|
require('../constants/componentProps/wrap.js');
|
|
@@ -12,8 +12,8 @@ var index$2 = require('./Icon.js');
|
|
|
12
12
|
require('lodash/castArray');
|
|
13
13
|
require('lodash/camelCase');
|
|
14
14
|
require('../context/UIContext.js');
|
|
15
|
-
var size = require('../constants/componentProps/size.js');
|
|
16
|
-
var textColor = require('../constants/componentProps/textColor.js');
|
|
15
|
+
var size$1 = require('../constants/componentProps/size.js');
|
|
16
|
+
var textColor$1 = require('../constants/componentProps/textColor.js');
|
|
17
17
|
var textWeight = require('../constants/componentProps/textWeight.js');
|
|
18
18
|
require('../hooks/useDeviceTargetClass.js');
|
|
19
19
|
require('../hooks/useMediaQueries.js');
|
|
@@ -31,6 +31,7 @@ require('../constants/componentProps/horizontalResizeMode.js');
|
|
|
31
31
|
require('../constants/componentProps/shape.js');
|
|
32
32
|
require('../constants/componentProps/type.js');
|
|
33
33
|
require('../constants/componentProps/width.js');
|
|
34
|
+
require('./Loader.js');
|
|
34
35
|
require('./Link.js');
|
|
35
36
|
require('../constants/componentProps/textGradient.js');
|
|
36
37
|
require('../constants/componentProps/underline.js');
|
|
@@ -10174,7 +10175,12 @@ function DatePickerInput(props) {
|
|
|
10174
10175
|
return /*#__PURE__*/React__namespace.default.createElement("div", {
|
|
10175
10176
|
className: clsx__default.default(className, 'datepicker', datePickerProps.monthsShown && 'datepicker_type_multiple-months', (datePickerProps == null ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button')
|
|
10176
10177
|
}, /*#__PURE__*/React__namespace.default.createElement(Xt, Object.assign({
|
|
10177
|
-
customInput: /*#__PURE__*/React__namespace.default.createElement(DatePickerСustomInput, inputProps
|
|
10178
|
+
customInput: /*#__PURE__*/React__namespace.default.createElement(DatePickerСustomInput, Object.assign({}, inputProps, {
|
|
10179
|
+
size: size,
|
|
10180
|
+
textSize: textSize,
|
|
10181
|
+
textColor: textColor,
|
|
10182
|
+
label: label
|
|
10183
|
+
})),
|
|
10178
10184
|
endDate: (datePickerProps == null ? void 0 : datePickerProps.selectsRange) && endDate,
|
|
10179
10185
|
locale: ru,
|
|
10180
10186
|
selected: startDate,
|
|
@@ -10193,8 +10199,8 @@ var DatePickerСustomInput = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
10193
10199
|
});
|
|
10194
10200
|
DatePickerСustomInput.displayName = 'DatePickerСustomInput';
|
|
10195
10201
|
DatePickerInput.propTypes = {
|
|
10196
|
-
size: PropTypes__default.default.oneOf(size.default),
|
|
10197
|
-
textColor: PropTypes__default.default.oneOf(textColor.default),
|
|
10202
|
+
size: PropTypes__default.default.oneOf(size$1.default),
|
|
10203
|
+
textColor: PropTypes__default.default.oneOf(textColor$1.default),
|
|
10198
10204
|
textWeight: PropTypes__default.default.oneOf(textWeight.default)
|
|
10199
10205
|
};
|
|
10200
10206
|
|
package/dist/components/Empty.js
CHANGED
|
@@ -32,6 +32,7 @@ require('../constants/componentProps/textWeight.js');
|
|
|
32
32
|
require('../constants/componentProps/underline.js');
|
|
33
33
|
require('../hooks/useDeviceTargetClass.js');
|
|
34
34
|
require('lodash/castArray');
|
|
35
|
+
require('./Loader.js');
|
|
35
36
|
require('../constants/componentProps/textColorActive.js');
|
|
36
37
|
require('../constants/componentProps/textColorHover.js');
|
|
37
38
|
|
package/dist/components/Image.js
CHANGED
|
@@ -65,8 +65,12 @@ function Image(props) {
|
|
|
65
65
|
prefix: 'height_',
|
|
66
66
|
propsKey: 'imageHeight'
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var borderClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
69
69
|
prefix: 'border-color_',
|
|
70
|
+
propsKey: 'border'
|
|
71
|
+
});
|
|
72
|
+
var borderColorImageClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
73
|
+
prefix: 'border-color-image_',
|
|
70
74
|
propsKey: 'borderColorImage'
|
|
71
75
|
});
|
|
72
76
|
var _useStyles = useStyles.useStyles(props),
|
|
@@ -85,7 +89,7 @@ function Image(props) {
|
|
|
85
89
|
alt: alt,
|
|
86
90
|
title: title,
|
|
87
91
|
style: imageStyles,
|
|
88
|
-
className: clsx__default.default('image__item', widthClass, heightClass, imgClassName, borderColorImageClass),
|
|
92
|
+
className: clsx__default.default('image__item', widthClass, heightClass, imgClassName, borderClass, borderColorImageClass),
|
|
89
93
|
onError: onError
|
|
90
94
|
}), overlay, caption, children), after);
|
|
91
95
|
}
|
|
@@ -93,6 +97,7 @@ Image.propTypes = {
|
|
|
93
97
|
after: PropTypes__default.default.any,
|
|
94
98
|
alt: PropTypes__default.default.string,
|
|
95
99
|
before: PropTypes__default.default.any,
|
|
100
|
+
border: PropTypes__default.default.string,
|
|
96
101
|
borderColorImage: PropTypes__default.default.oneOf(borderColor.default),
|
|
97
102
|
borderColorImageDesktop: PropTypes__default.default.oneOf(borderColor.default),
|
|
98
103
|
borderColorImageMobile: PropTypes__default.default.oneOf(borderColor.default),
|
|
@@ -34,20 +34,24 @@ function Loader(props) {
|
|
|
34
34
|
text = props.text,
|
|
35
35
|
textSize = props.textSize,
|
|
36
36
|
textColor = props.textColor;
|
|
37
|
+
var itemFillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
38
|
+
prefix: 'fill_',
|
|
39
|
+
propsKey: 'itemFill'
|
|
40
|
+
});
|
|
37
41
|
var fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
38
42
|
prefix: 'fill_',
|
|
39
43
|
propsKey: 'fill'
|
|
40
44
|
});
|
|
41
45
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
42
|
-
className: clsx__default.default('loader', className, set && "loader_set_" + set)
|
|
46
|
+
className: clsx__default.default('loader', fillClass, className, set && "loader_set_" + set)
|
|
43
47
|
}, children || /*#__PURE__*/React__default.default.createElement("div", {
|
|
44
48
|
className: "loader__inner"
|
|
45
49
|
}, /*#__PURE__*/React__default.default.createElement("span", {
|
|
46
|
-
className: clsx__default.default('loader__item',
|
|
50
|
+
className: clsx__default.default('loader__item', itemFillClass)
|
|
47
51
|
}), /*#__PURE__*/React__default.default.createElement("span", {
|
|
48
|
-
className: clsx__default.default('loader__item',
|
|
52
|
+
className: clsx__default.default('loader__item', itemFillClass)
|
|
49
53
|
}), /*#__PURE__*/React__default.default.createElement("span", {
|
|
50
|
-
className: clsx__default.default('loader__item',
|
|
54
|
+
className: clsx__default.default('loader__item', itemFillClass)
|
|
51
55
|
})), text && /*#__PURE__*/React__default.default.createElement(index.Text, {
|
|
52
56
|
className: "loader__text",
|
|
53
57
|
size: textSize,
|
|
@@ -3,31 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var PropTypes = require('prop-types');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var index = require('./Title.js');
|
|
7
|
-
var index$1 = require('./Text.js');
|
|
8
|
-
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
9
|
-
require('lodash/camelCase');
|
|
10
|
-
require('lodash/maxBy');
|
|
11
|
-
require('lodash/upperFirst');
|
|
12
|
-
require('../context/UIContext.js');
|
|
13
6
|
var Notifications = require('../context/Notifications.js');
|
|
14
|
-
require('../constants/componentProps/fill.js');
|
|
15
|
-
require('../constants/componentProps/textAlign.js');
|
|
16
|
-
require('../constants/componentProps/textColor.js');
|
|
17
|
-
require('../constants/componentProps/textGradient.js');
|
|
18
|
-
require('../constants/componentProps/textStyle.js');
|
|
19
|
-
require('../constants/componentProps/textWeight.js');
|
|
20
|
-
require('../constants/componentProps/titleSize.js');
|
|
21
|
-
require('../constants/componentProps/type.js');
|
|
22
|
-
require('../constants/componentProps/wrap.js');
|
|
23
|
-
require('../useStyles-e4accb53.js');
|
|
24
|
-
require('../hooks/styleAttributes.js');
|
|
25
|
-
require('lodash/castArray');
|
|
26
|
-
require('../hooks/useMediaQueries.js');
|
|
27
|
-
require('react-responsive');
|
|
28
|
-
require('../constants/componentProps/textColorActive.js');
|
|
29
|
-
require('../constants/componentProps/textColorHover.js');
|
|
30
|
-
require('../constants/componentProps/size.js');
|
|
31
7
|
require('uuid');
|
|
32
8
|
|
|
33
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -39,37 +15,20 @@ var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
|
39
15
|
function NotificationItem(props) {
|
|
40
16
|
var after = props.after,
|
|
41
17
|
before = props.before,
|
|
42
|
-
set = props.set
|
|
43
|
-
props.status
|
|
44
|
-
|
|
18
|
+
set = props.set,
|
|
19
|
+
status = props.status,
|
|
20
|
+
size = props.size,
|
|
45
21
|
text = props.text,
|
|
46
|
-
|
|
47
|
-
textSize = props.textSize,
|
|
48
|
-
title = props.title,
|
|
49
|
-
titleColor = props.titleColor,
|
|
50
|
-
titleSize = props.titleSize,
|
|
51
|
-
type = props.type;
|
|
52
|
-
var fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
53
|
-
prefix: 'fill_',
|
|
54
|
-
propsKey: 'status'
|
|
55
|
-
});
|
|
56
|
-
var fillHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
57
|
-
prefix: 'fill_hover_',
|
|
58
|
-
propsKey: 'fillHover'
|
|
59
|
-
});
|
|
22
|
+
title = props.title;
|
|
60
23
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
61
|
-
className: clsx__default.default('notification__item',
|
|
62
|
-
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
63
|
-
className: "notification__item-wrapper"
|
|
24
|
+
className: clsx__default.default('notification__item', status && "notification__item_status_" + status, set && "notification__item_set_" + set, size && "notification__item_set_" + size)
|
|
64
25
|
}, before, /*#__PURE__*/React__default.default.createElement("div", {
|
|
26
|
+
className: "notification__item-wrapper"
|
|
27
|
+
}, title && /*#__PURE__*/React__default.default.createElement("div", {
|
|
28
|
+
className: "notification__item-title"
|
|
29
|
+
}, title), text && /*#__PURE__*/React__default.default.createElement("div", {
|
|
65
30
|
className: "notification__item-text"
|
|
66
|
-
},
|
|
67
|
-
size: titleSize,
|
|
68
|
-
textColor: titleColor
|
|
69
|
-
}, title), /*#__PURE__*/React__default.default.createElement(index$1.Text, {
|
|
70
|
-
size: textSize,
|
|
71
|
-
textColor: textColor
|
|
72
|
-
}, text)), after));
|
|
31
|
+
}, text)), after);
|
|
73
32
|
}
|
|
74
33
|
NotificationItem.propTypes = {
|
|
75
34
|
className: PropTypes__default.default.string,
|
|
@@ -77,11 +36,7 @@ NotificationItem.propTypes = {
|
|
|
77
36
|
set: PropTypes__default.default.string,
|
|
78
37
|
status: PropTypes__default.default.string,
|
|
79
38
|
text: PropTypes__default.default.string,
|
|
80
|
-
textColor: PropTypes__default.default.string,
|
|
81
|
-
textSize: PropTypes__default.default.string,
|
|
82
39
|
title: PropTypes__default.default.string,
|
|
83
|
-
titleColor: PropTypes__default.default.string,
|
|
84
|
-
titleSize: PropTypes__default.default.string,
|
|
85
40
|
after: PropTypes__default.default.any,
|
|
86
41
|
before: PropTypes__default.default.any
|
|
87
42
|
};
|
|
@@ -92,10 +47,7 @@ function NotificationList(props) {
|
|
|
92
47
|
hideNotifications = _useNotificationsAPI.hideNotifications;
|
|
93
48
|
var className = props.className,
|
|
94
49
|
size = props.size,
|
|
95
|
-
|
|
96
|
-
textSize = props.textSize,
|
|
97
|
-
titleColor = props.titleColor,
|
|
98
|
-
titleSize = props.titleSize,
|
|
50
|
+
type = props.type,
|
|
99
51
|
set = props.set;
|
|
100
52
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
101
53
|
className: clsx__default.default('notification', className)
|
|
@@ -104,12 +56,9 @@ function NotificationList(props) {
|
|
|
104
56
|
}, notifications.map(function (notification, i) {
|
|
105
57
|
return /*#__PURE__*/React__default.default.createElement(NotificationItem, {
|
|
106
58
|
key: i,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
size: size,
|
|
111
|
-
titleColor: titleColor,
|
|
112
|
-
titleSize: titleSize,
|
|
59
|
+
type: notification.type || type,
|
|
60
|
+
set: notification.set || set,
|
|
61
|
+
size: notification.size || size,
|
|
113
62
|
title: notification.title,
|
|
114
63
|
text: notification.text,
|
|
115
64
|
status: notification.status,
|
|
@@ -2986,6 +2986,14 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
|
2986
2986
|
}));
|
|
2987
2987
|
}
|
|
2988
2988
|
|
|
2989
|
+
const min = Math.min;
|
|
2990
|
+
const max = Math.max;
|
|
2991
|
+
const round = Math.round;
|
|
2992
|
+
const floor = Math.floor;
|
|
2993
|
+
const createCoords = v => ({
|
|
2994
|
+
x: v,
|
|
2995
|
+
y: v
|
|
2996
|
+
});
|
|
2989
2997
|
function rectToClientRect(rect) {
|
|
2990
2998
|
return {
|
|
2991
2999
|
...rect,
|
|
@@ -2996,18 +3004,6 @@ function rectToClientRect(rect) {
|
|
|
2996
3004
|
};
|
|
2997
3005
|
}
|
|
2998
3006
|
|
|
2999
|
-
function getWindow(node) {
|
|
3000
|
-
var _node$ownerDocument;
|
|
3001
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
3002
|
-
}
|
|
3003
|
-
|
|
3004
|
-
function getComputedStyle$1(element) {
|
|
3005
|
-
return getWindow(element).getComputedStyle(element);
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
|
-
function isNode(value) {
|
|
3009
|
-
return value instanceof getWindow(value).Node;
|
|
3010
|
-
}
|
|
3011
3007
|
function getNodeName(node) {
|
|
3012
3008
|
if (isNode(node)) {
|
|
3013
3009
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -3017,16 +3013,29 @@ function getNodeName(node) {
|
|
|
3017
3013
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
3018
3014
|
return '#document';
|
|
3019
3015
|
}
|
|
3020
|
-
|
|
3016
|
+
function getWindow(node) {
|
|
3017
|
+
var _node$ownerDocument;
|
|
3018
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
3019
|
+
}
|
|
3020
|
+
function getDocumentElement(node) {
|
|
3021
|
+
var _ref;
|
|
3022
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
3023
|
+
}
|
|
3024
|
+
function isNode(value) {
|
|
3025
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
3026
|
+
}
|
|
3027
|
+
function isElement(value) {
|
|
3028
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
3029
|
+
}
|
|
3021
3030
|
function isHTMLElement(value) {
|
|
3022
3031
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
3023
3032
|
}
|
|
3024
|
-
function isShadowRoot(
|
|
3033
|
+
function isShadowRoot(value) {
|
|
3025
3034
|
// Browsers without `ShadowRoot` support.
|
|
3026
3035
|
if (typeof ShadowRoot === 'undefined') {
|
|
3027
3036
|
return false;
|
|
3028
3037
|
}
|
|
3029
|
-
return
|
|
3038
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
3030
3039
|
}
|
|
3031
3040
|
function isOverflowElement(element) {
|
|
3032
3041
|
const {
|
|
@@ -3037,22 +3046,54 @@ function isOverflowElement(element) {
|
|
|
3037
3046
|
} = getComputedStyle$1(element);
|
|
3038
3047
|
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
3039
3048
|
}
|
|
3040
|
-
function
|
|
3049
|
+
function isWebKit() {
|
|
3041
3050
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
3042
3051
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
3043
3052
|
}
|
|
3044
3053
|
function isLastTraversableNode(node) {
|
|
3045
3054
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
3046
3055
|
}
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
+
function getComputedStyle$1(element) {
|
|
3057
|
+
return getWindow(element).getComputedStyle(element);
|
|
3058
|
+
}
|
|
3059
|
+
function getParentNode(node) {
|
|
3060
|
+
if (getNodeName(node) === 'html') {
|
|
3061
|
+
return node;
|
|
3062
|
+
}
|
|
3063
|
+
const result =
|
|
3064
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
3065
|
+
node.assignedSlot ||
|
|
3066
|
+
// DOM Element detected.
|
|
3067
|
+
node.parentNode ||
|
|
3068
|
+
// ShadowRoot detected.
|
|
3069
|
+
isShadowRoot(node) && node.host ||
|
|
3070
|
+
// Fallback.
|
|
3071
|
+
getDocumentElement(node);
|
|
3072
|
+
return isShadowRoot(result) ? result.host : result;
|
|
3073
|
+
}
|
|
3074
|
+
function getNearestOverflowAncestor(node) {
|
|
3075
|
+
const parentNode = getParentNode(node);
|
|
3076
|
+
if (isLastTraversableNode(parentNode)) {
|
|
3077
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
3078
|
+
}
|
|
3079
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
3080
|
+
return parentNode;
|
|
3081
|
+
}
|
|
3082
|
+
return getNearestOverflowAncestor(parentNode);
|
|
3083
|
+
}
|
|
3084
|
+
function getOverflowAncestors(node, list) {
|
|
3085
|
+
var _node$ownerDocument2;
|
|
3086
|
+
if (list === void 0) {
|
|
3087
|
+
list = [];
|
|
3088
|
+
}
|
|
3089
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
3090
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
3091
|
+
const win = getWindow(scrollableAncestor);
|
|
3092
|
+
if (isBody) {
|
|
3093
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
3094
|
+
}
|
|
3095
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
3096
|
+
}
|
|
3056
3097
|
|
|
3057
3098
|
function getCssDimensions(element) {
|
|
3058
3099
|
const css = getComputedStyle$1(element);
|
|
@@ -3075,10 +3116,6 @@ function getCssDimensions(element) {
|
|
|
3075
3116
|
};
|
|
3076
3117
|
}
|
|
3077
3118
|
|
|
3078
|
-
function isElement(value) {
|
|
3079
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
3119
|
function unwrapElement(element) {
|
|
3083
3120
|
return !isElement(element) ? element.contextElement : element;
|
|
3084
3121
|
}
|
|
@@ -3114,7 +3151,7 @@ function getScale(element) {
|
|
|
3114
3151
|
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
3115
3152
|
function getVisualOffsets(element) {
|
|
3116
3153
|
const win = getWindow(element);
|
|
3117
|
-
if (!
|
|
3154
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
3118
3155
|
return noOffsets;
|
|
3119
3156
|
}
|
|
3120
3157
|
return {
|
|
@@ -3163,7 +3200,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
3163
3200
|
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
3164
3201
|
const iframeScale = getScale(currentIFrame);
|
|
3165
3202
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
3166
|
-
const css = getComputedStyle(currentIFrame);
|
|
3203
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
3167
3204
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
3168
3205
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
3169
3206
|
x *= iframeScale.x;
|
|
@@ -3183,52 +3220,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
3183
3220
|
});
|
|
3184
3221
|
}
|
|
3185
3222
|
|
|
3186
|
-
function getDocumentElement(node) {
|
|
3187
|
-
var _ref;
|
|
3188
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
3189
|
-
}
|
|
3190
|
-
|
|
3191
|
-
function getParentNode(node) {
|
|
3192
|
-
if (getNodeName(node) === 'html') {
|
|
3193
|
-
return node;
|
|
3194
|
-
}
|
|
3195
|
-
const result =
|
|
3196
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
3197
|
-
node.assignedSlot ||
|
|
3198
|
-
// DOM Element detected.
|
|
3199
|
-
node.parentNode ||
|
|
3200
|
-
// ShadowRoot detected.
|
|
3201
|
-
isShadowRoot(node) && node.host ||
|
|
3202
|
-
// Fallback.
|
|
3203
|
-
getDocumentElement(node);
|
|
3204
|
-
return isShadowRoot(result) ? result.host : result;
|
|
3205
|
-
}
|
|
3206
|
-
|
|
3207
|
-
function getNearestOverflowAncestor(node) {
|
|
3208
|
-
const parentNode = getParentNode(node);
|
|
3209
|
-
if (isLastTraversableNode(parentNode)) {
|
|
3210
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
3211
|
-
}
|
|
3212
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
3213
|
-
return parentNode;
|
|
3214
|
-
}
|
|
3215
|
-
return getNearestOverflowAncestor(parentNode);
|
|
3216
|
-
}
|
|
3217
|
-
|
|
3218
|
-
function getOverflowAncestors(node, list) {
|
|
3219
|
-
var _node$ownerDocument;
|
|
3220
|
-
if (list === void 0) {
|
|
3221
|
-
list = [];
|
|
3222
|
-
}
|
|
3223
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
3224
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
3225
|
-
const win = getWindow(scrollableAncestor);
|
|
3226
|
-
if (isBody) {
|
|
3227
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
3228
|
-
}
|
|
3229
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
3223
|
// https://samthor.au/2021/observing-dom/
|
|
3233
3224
|
function observeMove(element, onMove) {
|
|
3234
3225
|
let io = null;
|
|
@@ -627,13 +627,13 @@ function Observer(_ref) {
|
|
|
627
627
|
const init = () => {
|
|
628
628
|
if (!swiper.params.observer) return;
|
|
629
629
|
if (swiper.params.observeParents) {
|
|
630
|
-
const containerParents = elementParents(swiper.
|
|
630
|
+
const containerParents = elementParents(swiper.hostEl);
|
|
631
631
|
for (let i = 0; i < containerParents.length; i += 1) {
|
|
632
632
|
attach(containerParents[i]);
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
// Observe container
|
|
636
|
-
attach(swiper.
|
|
636
|
+
attach(swiper.hostEl, {
|
|
637
637
|
childList: swiper.params.observeSlideChildren
|
|
638
638
|
});
|
|
639
639
|
|
|
@@ -2233,11 +2233,13 @@ function loopFix(_temp) {
|
|
|
2233
2233
|
swiper.slideTo(activeIndex + slidesPrepended, 0, false, true);
|
|
2234
2234
|
if (setTranslate) {
|
|
2235
2235
|
swiper.touches[swiper.isHorizontal() ? 'startX' : 'startY'] += diff;
|
|
2236
|
+
swiper.touchEventsData.currentTranslate = swiper.translate;
|
|
2236
2237
|
}
|
|
2237
2238
|
}
|
|
2238
2239
|
} else {
|
|
2239
2240
|
if (setTranslate) {
|
|
2240
2241
|
swiper.slideToLoop(slideRealIndex, 0, false, true);
|
|
2242
|
+
swiper.touchEventsData.currentTranslate = swiper.translate;
|
|
2241
2243
|
}
|
|
2242
2244
|
}
|
|
2243
2245
|
} else if (appendSlidesIndexes.length > 0 && isNext) {
|
|
@@ -2251,6 +2253,7 @@ function loopFix(_temp) {
|
|
|
2251
2253
|
swiper.slideTo(activeIndex - slidesAppended, 0, false, true);
|
|
2252
2254
|
if (setTranslate) {
|
|
2253
2255
|
swiper.touches[swiper.isHorizontal() ? 'startX' : 'startY'] += diff;
|
|
2256
|
+
swiper.touchEventsData.currentTranslate = swiper.translate;
|
|
2254
2257
|
}
|
|
2255
2258
|
}
|
|
2256
2259
|
} else {
|
|
@@ -3815,7 +3818,7 @@ let Swiper$2 = class Swiper {
|
|
|
3815
3818
|
return false;
|
|
3816
3819
|
}
|
|
3817
3820
|
el.swiper = swiper;
|
|
3818
|
-
if (el.parentNode && el.parentNode.host) {
|
|
3821
|
+
if (el.parentNode && el.parentNode.host && el.parentNode.host.nodeName === 'SWIPER-CONTAINER') {
|
|
3819
3822
|
swiper.isElement = true;
|
|
3820
3823
|
}
|
|
3821
3824
|
const getWrapperSelector = () => {
|
|
@@ -3841,7 +3844,7 @@ let Swiper$2 = class Swiper {
|
|
|
3841
3844
|
Object.assign(swiper, {
|
|
3842
3845
|
el,
|
|
3843
3846
|
wrapperEl,
|
|
3844
|
-
slidesEl: swiper.isElement ? el.parentNode.host : wrapperEl,
|
|
3847
|
+
slidesEl: swiper.isElement && !el.parentNode.host.slideSlots ? el.parentNode.host : wrapperEl,
|
|
3845
3848
|
hostEl: swiper.isElement ? el.parentNode.host : el,
|
|
3846
3849
|
mounted: true,
|
|
3847
3850
|
// RTL
|
|
@@ -4236,8 +4239,7 @@ function getParams(obj, splitEvents) {
|
|
|
4236
4239
|
};
|
|
4237
4240
|
const events = {};
|
|
4238
4241
|
const passedParams = {};
|
|
4239
|
-
extend(params,
|
|
4240
|
-
extend(params, Swiper$2.extendedDefaults);
|
|
4242
|
+
extend(params, defaults);
|
|
4241
4243
|
params._emitClasses = true;
|
|
4242
4244
|
params.init = false;
|
|
4243
4245
|
const rest = {};
|
|
@@ -4352,7 +4354,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4352
4354
|
};
|
|
4353
4355
|
|
|
4354
4356
|
/**
|
|
4355
|
-
* Swiper React 10.0
|
|
4357
|
+
* Swiper React 10.1.0
|
|
4356
4358
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4357
4359
|
* https://swiperjs.com
|
|
4358
4360
|
*
|
|
@@ -4360,7 +4362,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4360
4362
|
*
|
|
4361
4363
|
* Released under the MIT License
|
|
4362
4364
|
*
|
|
4363
|
-
* Released on:
|
|
4365
|
+
* Released on: August 1, 2023
|
|
4364
4366
|
*/
|
|
4365
4367
|
|
|
4366
4368
|
|
|
@@ -1,18 +1,62 @@
|
|
|
1
1
|
.notification {
|
|
2
|
-
&__item {
|
|
3
|
-
padding: 12px;
|
|
4
|
-
&-text {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
text-align: center;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
2
|
}
|
|
12
3
|
.notification {
|
|
13
4
|
&&_type_global {
|
|
14
|
-
|
|
5
|
+
width: 100%;
|
|
6
|
+
position: fixed;
|
|
15
7
|
left: 0;
|
|
16
8
|
top: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
background: none;
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
^&__wrapper {
|
|
13
|
+
width: 100%;
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
display: flex;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.notification__item {
|
|
20
|
+
&_set {
|
|
21
|
+
&_float {
|
|
22
|
+
width: 320px;
|
|
23
|
+
margin: 16px 24px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.notification__item {
|
|
28
|
+
&_status {
|
|
29
|
+
&_success {
|
|
30
|
+
^^&-wrapper {
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
@mixin elevation-8;
|
|
33
|
+
padding: 12px 16px;
|
|
34
|
+
background: var(--color-success-primary);
|
|
35
|
+
^^^&-title {
|
|
36
|
+
color: var(--color-success-text-secondary);
|
|
37
|
+
@mixin h5;
|
|
38
|
+
}
|
|
39
|
+
^^^&-text {
|
|
40
|
+
color: var(--color-success-text-secondary);
|
|
41
|
+
@mixin text-s;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&_error {
|
|
46
|
+
^^&-wrapper {
|
|
47
|
+
border-radius: 8px;
|
|
48
|
+
@mixin elevation-8;
|
|
49
|
+
padding: 12px 16px;
|
|
50
|
+
background: var(--color-error-primary);
|
|
51
|
+
^^^&-title {
|
|
52
|
+
color: var(--color-error-text-secondary);
|
|
53
|
+
@mixin h5;
|
|
54
|
+
}
|
|
55
|
+
^^^&-text {
|
|
56
|
+
color: var(--color-error-text-secondary);
|
|
57
|
+
@mixin text-s;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
17
61
|
}
|
|
18
62
|
}
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
grid-column: 1/3;
|
|
36
36
|
grid-row-start: 1;
|
|
37
37
|
z-index: 2;
|
|
38
|
+
padding: 1.25px 0 !important;
|
|
38
39
|
&:focus {
|
|
39
40
|
outline: 0;
|
|
40
41
|
}
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
z-index: 2;
|
|
66
67
|
}
|
|
67
68
|
&&_state_focus,
|
|
68
|
-
&&_state_filled
|
|
69
|
+
&&_state_filled {
|
|
69
70
|
^&__input {
|
|
70
71
|
&-wrapper {
|
|
71
72
|
left: 0;
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
grid-column: 1/3;
|
|
25
25
|
grid-row-start: 1;
|
|
26
26
|
z-index: 2;
|
|
27
|
+
padding: 1.25px 0 !important;
|
|
27
28
|
&:focus {
|
|
28
29
|
outline: 0;
|
|
29
30
|
}
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
z-index: 2;
|
|
55
56
|
}
|
|
56
57
|
&&_state_focus,
|
|
57
|
-
&&_state_filled
|
|
58
|
+
&&_state_filled {
|
|
58
59
|
^&__input {
|
|
59
60
|
&-wrapper {
|
|
60
61
|
left: 0;
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
min-width: 120px;
|
|
25
25
|
position: relative;
|
|
26
26
|
display: flex;
|
|
27
|
+
align-items: center;
|
|
27
28
|
&::after {
|
|
28
29
|
width: 1px;
|
|
29
30
|
height: 100%;
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
top: 0;
|
|
34
35
|
right: 0;
|
|
35
36
|
}
|
|
36
|
-
&:nth-last-child(-n+2) {
|
|
37
|
+
&:nth-last-child(-n + 2) {
|
|
37
38
|
&::after {
|
|
38
39
|
display: none;
|
|
39
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 10.0
|
|
2
|
+
* Swiper 10.1.0
|
|
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 1, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -686,6 +686,8 @@ button.swiper-pagination-bullet {
|
|
|
686
686
|
display: none;
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
+
/* Zoom container styles start */
|
|
690
|
+
|
|
689
691
|
.swiper-zoom-container {
|
|
690
692
|
width: 100%;
|
|
691
693
|
height: 100%;
|
|
@@ -703,6 +705,8 @@ button.swiper-pagination-bullet {
|
|
|
703
705
|
object-fit: contain;
|
|
704
706
|
}
|
|
705
707
|
|
|
708
|
+
/* Zoom container styles end */
|
|
709
|
+
|
|
706
710
|
.swiper-slide-zoomed {
|
|
707
711
|
cursor: move;
|
|
708
712
|
touch-action: none;
|
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
&-item {
|
|
15
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
16
|
+
&-$(color) {
|
|
17
|
+
background: var(--color-$(type)-item-$(color));
|
|
18
|
+
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
19
|
+
&$(alpha) {
|
|
20
|
+
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
14
26
|
}
|
|
15
27
|
}
|
|
16
28
|
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"registry": "https://registry.npmjs.org/"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@itcase/common": "^1.1.
|
|
43
|
+
"@itcase/common": "^1.1.3",
|
|
44
44
|
"clsx": "^2.0.0",
|
|
45
45
|
"html5-boilerplate": "^8.0.0",
|
|
46
46
|
"js-cookie": "^3.0.5",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-responsive": "^9.0.2",
|
|
57
57
|
"react-scrollbars-custom": "^4.1.1",
|
|
58
58
|
"react-select": "^5.7.4",
|
|
59
|
-
"swiper": "^10.0
|
|
59
|
+
"swiper": "^10.1.0",
|
|
60
60
|
"uuid": "^9.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"babel-loader": "^9.1.3",
|
|
78
78
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
79
79
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
80
|
-
"eslint": "8.
|
|
80
|
+
"eslint": "8.46.0",
|
|
81
81
|
"eslint-config-prettier": "^8.9.0",
|
|
82
82
|
"eslint-config-standard": "^17.1.0",
|
|
83
83
|
"eslint-plugin-babel": "^5.3.1",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"eslint-plugin-node": "^11.1.0",
|
|
87
87
|
"eslint-plugin-prettier": "^5.0.0",
|
|
88
88
|
"eslint-plugin-promise": "^6.1.1",
|
|
89
|
-
"eslint-plugin-react": "^7.33.
|
|
89
|
+
"eslint-plugin-react": "^7.33.1",
|
|
90
90
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
91
91
|
"eslint-plugin-standard": "^5.0.0",
|
|
92
92
|
"husky": "^8.0.3",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"postcss-sort-media-queries": "^5.2.0",
|
|
117
117
|
"prettier": "^3.0.0",
|
|
118
118
|
"react-datepicker": "^4.16.0",
|
|
119
|
-
"rollup": "^3.
|
|
119
|
+
"rollup": "^3.27.0",
|
|
120
120
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
121
121
|
"semantic-release": "^21.0.7",
|
|
122
122
|
"stylelint": "^15.10.2",
|