@itcase/ui 1.0.11 → 1.0.14
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/Avatar.js +4 -2
- package/dist/components/DatePicker.js +1091 -342
- package/dist/components/Empty.js +95 -0
- package/dist/components/FormField.js +1 -2
- package/dist/components/Grid.js +8 -14
- package/dist/components/InputPassword.js +160 -0
- package/dist/components/Label.js +0 -5
- package/dist/components/Modal.js +228 -10
- package/dist/components/Search.js +3 -4
- package/dist/components/Segmented.js +5 -1
- package/dist/components/Select.js +2 -3
- package/dist/components/Swiper.js +4208 -188
- package/dist/components/Switch.js +3 -2
- package/dist/components/Textarea.js +5 -1
- package/dist/components/Tile.js +0 -3
- package/dist/css/components/Choice/Choice.css +6 -0
- package/dist/css/components/DatePicker/DatePicker.css +30 -4
- package/dist/css/components/Empty/Empty.css +13 -0
- package/dist/css/components/Input/Input.css +12 -4
- package/dist/css/components/InputPassword/InputPassword.css +68 -0
- package/dist/css/components/Segmented/Segmented.css +16 -0
- package/dist/css/components/Swiper/Swiper.css +128 -83
- package/dist/{defineProperty-72768a50.js → defineProperty-f9e5e1f3.js} +14 -5
- package/dist/hooks/styleAttributes.js +5 -1
- package/package.json +27 -27
- package/dist/Modal-375ef8c3.js +0 -234
- package/dist/components/DateRangePicker.js +0 -218
- package/dist/components/Emoji.js +0 -124
- package/dist/components/Profile.js +0 -105
- package/dist/css/components/DateRangePicker/DateRangePicker.css +0 -1021
- package/dist/css/components/Emoji/Emoji.css +0 -104
- package/dist/css/components/Emoji/css/__icon/emoji__icon-shape.css +0 -12
- package/dist/css/components/Emoji/css/__icon/emoji__icon.css +0 -5
- package/dist/css/components/Profile/Profile.css +0 -19
- package/dist/index-738f53f6.js +0 -787
- package/dist/typeof-6dd323c6.js +0 -13
|
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
10
10
|
var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
11
11
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
12
12
|
|
|
13
|
-
function Switch(props) {
|
|
13
|
+
var Switch = /*#__PURE__*/React__default.default.forwardRef(function Switch(props, ref) {
|
|
14
14
|
var className = props.className,
|
|
15
15
|
set = props.set,
|
|
16
16
|
size = props.size,
|
|
@@ -25,6 +25,7 @@ function Switch(props) {
|
|
|
25
25
|
className: "switch__checkbox",
|
|
26
26
|
disabled: disabled,
|
|
27
27
|
id: id,
|
|
28
|
+
ref: ref,
|
|
28
29
|
type: "checkbox",
|
|
29
30
|
onChange: onChange
|
|
30
31
|
}), /*#__PURE__*/React__default.default.createElement("div", {
|
|
@@ -32,7 +33,7 @@ function Switch(props) {
|
|
|
32
33
|
}, "\xA0"), /*#__PURE__*/React__default.default.createElement("div", {
|
|
33
34
|
className: "switch__toggle"
|
|
34
35
|
}, "\xA0"));
|
|
35
|
-
}
|
|
36
|
+
});
|
|
36
37
|
Switch.propTypes = {
|
|
37
38
|
checked: PropTypes__default.default.bool,
|
|
38
39
|
className: PropTypes__default.default.string,
|
|
@@ -36,6 +36,10 @@ function Textarea(props) {
|
|
|
36
36
|
prefix: 'fill_',
|
|
37
37
|
propsKey: 'fill'
|
|
38
38
|
});
|
|
39
|
+
var borderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
40
|
+
prefix: 'border-color_',
|
|
41
|
+
propsKey: 'borderColor'
|
|
42
|
+
});
|
|
39
43
|
var sizeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
40
44
|
prefix: 'textarea_size_',
|
|
41
45
|
propsKey: 'size'
|
|
@@ -69,7 +73,7 @@ function Textarea(props) {
|
|
|
69
73
|
propsKey: 'width'
|
|
70
74
|
});
|
|
71
75
|
return /*#__PURE__*/React__default.default.createElement("textarea", {
|
|
72
|
-
className: clsx__default.default(className, 'textarea', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, placeholderClass, shapeClass, textSizeClass, textColorClass, weightClass, widthClass, sizeClass),
|
|
76
|
+
className: clsx__default.default(className, 'textarea', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, borderColorClass, placeholderClass, shapeClass, textSizeClass, textColorClass, weightClass, widthClass, sizeClass),
|
|
73
77
|
id: id,
|
|
74
78
|
disabled: disabled,
|
|
75
79
|
placeholder: placeholder,
|
package/dist/components/Tile.js
CHANGED
|
@@ -4,7 +4,6 @@ var React = require('react');
|
|
|
4
4
|
var PropTypes = require('prop-types');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var index$2 = require('./Badge.js');
|
|
7
|
-
require('./Emoji.js');
|
|
8
7
|
require('./Icon.js');
|
|
9
8
|
var index = require('./Title.js');
|
|
10
9
|
var index$1 = require('./Text.js');
|
|
@@ -32,8 +31,6 @@ require('../context/UIContext.js');
|
|
|
32
31
|
require('../hooks/useMediaQueries.js');
|
|
33
32
|
require('react-responsive');
|
|
34
33
|
require('lodash/castArray');
|
|
35
|
-
require('../constants/componentProps/direction.js');
|
|
36
|
-
require('../constants/componentProps/emojiSize.js');
|
|
37
34
|
require('react-inlinesvg');
|
|
38
35
|
require('../constants/componentProps/iconSize.js');
|
|
39
36
|
require('../constants/componentProps/strokeColor.js');
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
border-top: 0;
|
|
12
12
|
border-left: 0;
|
|
13
13
|
border-bottom: 0;
|
|
14
|
+
&:hover {
|
|
15
|
+
background: var(--choice-item-background-hover);
|
|
16
|
+
}
|
|
14
17
|
&last-child {
|
|
15
18
|
border-right: 0;
|
|
16
19
|
}
|
|
@@ -65,3 +68,6 @@
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
}
|
|
71
|
+
:root {
|
|
72
|
+
--choice-item-background-hover: var(--color-surface-secondary);
|
|
73
|
+
}
|
|
@@ -719,9 +719,6 @@
|
|
|
719
719
|
width: 1em;
|
|
720
720
|
height: 1em;
|
|
721
721
|
vertical-align: -0.125em;
|
|
722
|
-
}
|
|
723
|
-
.datepicker {
|
|
724
|
-
|
|
725
722
|
}
|
|
726
723
|
.react-datepicker {
|
|
727
724
|
background: var(--date-picker-container-background);
|
|
@@ -868,9 +865,37 @@
|
|
|
868
865
|
&__input {
|
|
869
866
|
&-time-container {
|
|
870
867
|
margin: 0;
|
|
868
|
+
padding: 4px;
|
|
869
|
+
float: none;
|
|
871
870
|
border-top: 1px solid var(--date-picker-container-border-color);
|
|
872
871
|
text-align: center;
|
|
873
|
-
|
|
872
|
+
^^&-time {
|
|
873
|
+
&__caption {
|
|
874
|
+
display: none;
|
|
875
|
+
}
|
|
876
|
+
&__input-container {
|
|
877
|
+
display: block;
|
|
878
|
+
^^^^&-time__input {
|
|
879
|
+
margin: 0;
|
|
880
|
+
display: block;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
.datepicker {
|
|
888
|
+
border-radius: var(--date-picker-day-border-radius);
|
|
889
|
+
^^^^^& .input {
|
|
890
|
+
border-radius: var(--date-picker-day-border-radius);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
.datepicker {
|
|
894
|
+
&&_type_multiple-months {
|
|
895
|
+
& .react-datepicker {
|
|
896
|
+
&__month-container {
|
|
897
|
+
border: solid 2px red;
|
|
898
|
+
}
|
|
874
899
|
}
|
|
875
900
|
}
|
|
876
901
|
}
|
|
@@ -879,6 +904,7 @@
|
|
|
879
904
|
--date-picker-day-height: 40px;
|
|
880
905
|
--date-picker-day-padding: 8px 0;
|
|
881
906
|
--date-picker-day-border-radius: 6px;
|
|
907
|
+
--date-picker-input-border-radius: 6px;
|
|
882
908
|
--date-picker-day-color-hover: var(--color-surface-text-secondary);
|
|
883
909
|
--date-picker-day-background-hover: var(--color-accent-tertiary);
|
|
884
910
|
--date-picker-month-border-radius: 12px;
|
|
@@ -7,18 +7,26 @@
|
|
|
7
7
|
box-shadow: none;
|
|
8
8
|
outline: 0;
|
|
9
9
|
position: relative;
|
|
10
|
+
caret-color: var(--input-caret-color);
|
|
10
11
|
&:focus {
|
|
11
12
|
outline: none;
|
|
12
13
|
}
|
|
14
|
+
&:hover {
|
|
15
|
+
border: solid 1px var(--input-state-hover-border);
|
|
16
|
+
background: var(--input-state-hover-background);
|
|
17
|
+
}
|
|
13
18
|
&&_state {
|
|
14
19
|
&_success {
|
|
15
|
-
border: solid 1px var(--
|
|
20
|
+
border: solid 1px var(--input-state-success-border);
|
|
21
|
+
background: var(--input-state-success-background);
|
|
16
22
|
}
|
|
17
23
|
&_error {
|
|
18
|
-
border: solid 1px var(--
|
|
24
|
+
border: solid 1px var(--input-state-error-border);
|
|
25
|
+
background: var(--input-state-error-background);
|
|
19
26
|
}
|
|
20
27
|
&_focus {
|
|
21
|
-
|
|
28
|
+
border: solid 1px var(--input-state-focus-border);
|
|
29
|
+
background: var(--input-state-focus-background);
|
|
22
30
|
}
|
|
23
31
|
}
|
|
24
32
|
}
|
|
@@ -38,7 +46,7 @@
|
|
|
38
46
|
}
|
|
39
47
|
.input {
|
|
40
48
|
&&_size {
|
|
41
|
-
@each $size in xs, s, m, l, xl, xxl {
|
|
49
|
+
@each $size in xs, s, m, l, xl, xxl, normal, tiny, compact, large {
|
|
42
50
|
&_$(size) {
|
|
43
51
|
padding: var(--input-size-$(size)-padding);
|
|
44
52
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.input-password {
|
|
2
|
+
position: relative;
|
|
3
|
+
&__icon {
|
|
4
|
+
position: absolute;
|
|
5
|
+
right: 8px;
|
|
6
|
+
top: 50%;
|
|
7
|
+
transform: translate(0, -50%);
|
|
8
|
+
}
|
|
9
|
+
&__input {
|
|
10
|
+
border: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
min-width: unset;
|
|
15
|
+
box-shadow: none;
|
|
16
|
+
outline: 0;
|
|
17
|
+
position: relative;
|
|
18
|
+
caret-color: var(--input-password-caret-color);
|
|
19
|
+
&:focus {
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
&:hover {
|
|
23
|
+
border: solid 1px var(--input-password-state-hover-border);
|
|
24
|
+
background: var(--input-password-state-hover-background);
|
|
25
|
+
}
|
|
26
|
+
&&_state {
|
|
27
|
+
&_success {
|
|
28
|
+
border: solid 1px var(--input-password-state-success-border);
|
|
29
|
+
background: var(--input-password-state-success-background);
|
|
30
|
+
}
|
|
31
|
+
&_error {
|
|
32
|
+
border: solid 1px var(--input-password-state-error-border);
|
|
33
|
+
background: var(--input-password-state-error-background);
|
|
34
|
+
}
|
|
35
|
+
&_focus {
|
|
36
|
+
border: solid 1px var(--input-password-state-focus-border);
|
|
37
|
+
background: var(--input-password-state-focus-background);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.input-password {
|
|
43
|
+
&__input {
|
|
44
|
+
&_shape {
|
|
45
|
+
&_rounded {
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
&_underline {
|
|
50
|
+
position: relative;
|
|
51
|
+
border-left: none !important;
|
|
52
|
+
border-right: none !important;
|
|
53
|
+
border-top: none !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.input-password {
|
|
59
|
+
&__input {
|
|
60
|
+
&&_size {
|
|
61
|
+
@each $size in xs, s, m, l, xl, xxl, normal, tiny, compact, large {
|
|
62
|
+
&_$(size) {
|
|
63
|
+
padding: var(--input-password-size-$(size)-padding);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper
|
|
2
|
+
* Swiper 10.0.4
|
|
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: July 8, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -29,12 +29,20 @@
|
|
|
29
29
|
*/
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
:host {
|
|
33
|
+
position: relative;
|
|
34
|
+
display: block;
|
|
35
|
+
margin-left: auto;
|
|
36
|
+
margin-right: auto;
|
|
37
|
+
z-index: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.swiper {
|
|
34
41
|
margin-left: auto;
|
|
35
42
|
margin-right: auto;
|
|
36
43
|
position: relative;
|
|
37
44
|
overflow: hidden;
|
|
45
|
+
overflow: clip;
|
|
38
46
|
list-style: none;
|
|
39
47
|
padding: 0;
|
|
40
48
|
/* Fix of Webkit flickering */
|
|
@@ -58,6 +66,7 @@ swiper-container {
|
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
.swiper-android .swiper-slide,
|
|
69
|
+
.swiper-ios .swiper-slide,
|
|
61
70
|
.swiper-wrapper {
|
|
62
71
|
transform: translate3d(0px, 0, 0);
|
|
63
72
|
}
|
|
@@ -70,8 +79,7 @@ swiper-container {
|
|
|
70
79
|
touch-action: pan-x;
|
|
71
80
|
}
|
|
72
81
|
|
|
73
|
-
.swiper-slide
|
|
74
|
-
swiper-slide {
|
|
82
|
+
.swiper-slide {
|
|
75
83
|
flex-shrink: 0;
|
|
76
84
|
width: 100%;
|
|
77
85
|
height: 100%;
|
|
@@ -117,49 +125,10 @@ swiper-slide {
|
|
|
117
125
|
}
|
|
118
126
|
|
|
119
127
|
.swiper-3d .swiper-slide,
|
|
120
|
-
.swiper-3d .swiper-slide-shadow,
|
|
121
|
-
.swiper-3d .swiper-slide-shadow-left,
|
|
122
|
-
.swiper-3d .swiper-slide-shadow-right,
|
|
123
|
-
.swiper-3d .swiper-slide-shadow-top,
|
|
124
|
-
.swiper-3d .swiper-slide-shadow-bottom,
|
|
125
128
|
.swiper-3d .swiper-cube-shadow {
|
|
126
129
|
transform-style: preserve-3d;
|
|
127
130
|
}
|
|
128
131
|
|
|
129
|
-
.swiper-3d .swiper-slide-shadow,
|
|
130
|
-
.swiper-3d .swiper-slide-shadow-left,
|
|
131
|
-
.swiper-3d .swiper-slide-shadow-right,
|
|
132
|
-
.swiper-3d .swiper-slide-shadow-top,
|
|
133
|
-
.swiper-3d .swiper-slide-shadow-bottom {
|
|
134
|
-
position: absolute;
|
|
135
|
-
left: 0;
|
|
136
|
-
top: 0;
|
|
137
|
-
width: 100%;
|
|
138
|
-
height: 100%;
|
|
139
|
-
pointer-events: none;
|
|
140
|
-
z-index: 10;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.swiper-3d .swiper-slide-shadow {
|
|
144
|
-
background: rgba(0, 0, 0, 0.15);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.swiper-3d .swiper-slide-shadow-left {
|
|
148
|
-
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.swiper-3d .swiper-slide-shadow-right {
|
|
152
|
-
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.swiper-3d .swiper-slide-shadow-top {
|
|
156
|
-
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.swiper-3d .swiper-slide-shadow-bottom {
|
|
160
|
-
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
161
|
-
}
|
|
162
|
-
|
|
163
132
|
/* CSS Mode */
|
|
164
133
|
|
|
165
134
|
.swiper-css-mode > .swiper-wrapper {
|
|
@@ -178,11 +147,11 @@ swiper-slide {
|
|
|
178
147
|
scroll-snap-align: start start;
|
|
179
148
|
}
|
|
180
149
|
|
|
181
|
-
.swiper-
|
|
150
|
+
.swiper-css-mode.swiper-horizontal > .swiper-wrapper {
|
|
182
151
|
scroll-snap-type: x mandatory;
|
|
183
152
|
}
|
|
184
153
|
|
|
185
|
-
.swiper-
|
|
154
|
+
.swiper-css-mode.swiper-vertical > .swiper-wrapper {
|
|
186
155
|
scroll-snap-type: y mandatory;
|
|
187
156
|
}
|
|
188
157
|
|
|
@@ -194,37 +163,80 @@ swiper-slide {
|
|
|
194
163
|
scroll-snap-align: none;
|
|
195
164
|
}
|
|
196
165
|
|
|
197
|
-
.swiper-centered > .swiper-wrapper::before {
|
|
166
|
+
.swiper-css-mode.swiper-centered > .swiper-wrapper::before {
|
|
198
167
|
content: '';
|
|
199
168
|
flex-shrink: 0;
|
|
200
169
|
order: 9999;
|
|
201
170
|
}
|
|
202
171
|
|
|
203
|
-
.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
172
|
+
.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
204
173
|
scroll-snap-align: center center;
|
|
205
174
|
scroll-snap-stop: always;
|
|
206
175
|
}
|
|
207
176
|
|
|
208
|
-
.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
177
|
+
.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
209
178
|
margin-inline-start: var(--swiper-centered-offset-before);
|
|
210
179
|
}
|
|
211
180
|
|
|
212
|
-
.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
|
|
181
|
+
.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
|
|
213
182
|
height: 100%;
|
|
214
183
|
min-height: 1px;
|
|
215
184
|
width: var(--swiper-centered-offset-after);
|
|
216
185
|
}
|
|
217
186
|
|
|
218
|
-
.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
|
|
187
|
+
.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
|
|
219
188
|
margin-block-start: var(--swiper-centered-offset-before);
|
|
220
189
|
}
|
|
221
190
|
|
|
222
|
-
.swiper-centered.swiper-vertical > .swiper-wrapper::before {
|
|
191
|
+
.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {
|
|
223
192
|
width: 100%;
|
|
224
193
|
min-width: 1px;
|
|
225
194
|
height: var(--swiper-centered-offset-after);
|
|
226
195
|
}
|
|
227
196
|
|
|
197
|
+
/* Slide styles start */
|
|
198
|
+
|
|
199
|
+
/* 3D Shadows */
|
|
200
|
+
|
|
201
|
+
.swiper-3d .swiper-slide-shadow,
|
|
202
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
203
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
204
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
205
|
+
.swiper-3d .swiper-slide-shadow-bottom,
|
|
206
|
+
.swiper-3d .swiper-slide-shadow,
|
|
207
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
208
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
209
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
210
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
211
|
+
position: absolute;
|
|
212
|
+
left: 0;
|
|
213
|
+
top: 0;
|
|
214
|
+
width: 100%;
|
|
215
|
+
height: 100%;
|
|
216
|
+
pointer-events: none;
|
|
217
|
+
z-index: 10;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.swiper-3d .swiper-slide-shadow {
|
|
221
|
+
background: rgba(0, 0, 0, 0.15);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.swiper-3d .swiper-slide-shadow-left {
|
|
225
|
+
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.swiper-3d .swiper-slide-shadow-right {
|
|
229
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.swiper-3d .swiper-slide-shadow-top {
|
|
233
|
+
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
237
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
238
|
+
}
|
|
239
|
+
|
|
228
240
|
.swiper-lazy-preloader {
|
|
229
241
|
width: 42px;
|
|
230
242
|
height: 42px;
|
|
@@ -242,7 +254,6 @@ swiper-slide {
|
|
|
242
254
|
}
|
|
243
255
|
|
|
244
256
|
.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
245
|
-
swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
246
257
|
.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
|
|
247
258
|
animation: swiper-preloader-spin 1s infinite linear;
|
|
248
259
|
}
|
|
@@ -264,6 +275,8 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
264
275
|
}
|
|
265
276
|
}
|
|
266
277
|
|
|
278
|
+
/* Slide styles end */
|
|
279
|
+
|
|
267
280
|
.swiper-virtual .swiper-slide {
|
|
268
281
|
-webkit-backface-visibility: hidden;
|
|
269
282
|
transform: translateZ(0);
|
|
@@ -330,6 +343,37 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
330
343
|
display: none !important;
|
|
331
344
|
}
|
|
332
345
|
|
|
346
|
+
.swiper-button-prev svg,
|
|
347
|
+
.swiper-button-next svg {
|
|
348
|
+
width: 100%;
|
|
349
|
+
height: 100%;
|
|
350
|
+
object-fit: contain;
|
|
351
|
+
transform-origin: center;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.swiper-rtl .swiper-button-prev svg,
|
|
355
|
+
.swiper-rtl .swiper-button-next svg {
|
|
356
|
+
transform: rotate(180deg);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.swiper-button-prev,
|
|
360
|
+
.swiper-rtl .swiper-button-next {
|
|
361
|
+
left: var(--swiper-navigation-sides-offset, 10px);
|
|
362
|
+
right: auto;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.swiper-button-next,
|
|
366
|
+
.swiper-rtl .swiper-button-prev {
|
|
367
|
+
right: var(--swiper-navigation-sides-offset, 10px);
|
|
368
|
+
left: auto;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.swiper-button-lock {
|
|
372
|
+
display: none;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* Navigation font start */
|
|
376
|
+
|
|
333
377
|
.swiper-button-prev:after,
|
|
334
378
|
.swiper-button-next:after {
|
|
335
379
|
font-family: swiper-icons;
|
|
@@ -340,12 +384,6 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
340
384
|
line-height: 1;
|
|
341
385
|
}
|
|
342
386
|
|
|
343
|
-
.swiper-button-prev,
|
|
344
|
-
.swiper-rtl .swiper-button-next {
|
|
345
|
-
left: var(--swiper-navigation-sides-offset, 10px);
|
|
346
|
-
right: auto;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
387
|
.swiper-button-prev:after,
|
|
350
388
|
.swiper-rtl .swiper-button-next:after {
|
|
351
389
|
content: 'prev';
|
|
@@ -362,9 +400,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
362
400
|
content: 'next';
|
|
363
401
|
}
|
|
364
402
|
|
|
365
|
-
|
|
366
|
-
display: none;
|
|
367
|
-
}
|
|
403
|
+
/* Navigation font end */
|
|
368
404
|
|
|
369
405
|
:root {
|
|
370
406
|
/*
|
|
@@ -528,8 +564,7 @@ button.swiper-pagination-bullet {
|
|
|
528
564
|
transition: 200ms transform, 200ms left;
|
|
529
565
|
}
|
|
530
566
|
|
|
531
|
-
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet
|
|
532
|
-
:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
567
|
+
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
533
568
|
transition: 200ms transform, 200ms right;
|
|
534
569
|
}
|
|
535
570
|
|
|
@@ -544,7 +579,6 @@ button.swiper-pagination-bullet {
|
|
|
544
579
|
.swiper-pagination-progressbar {
|
|
545
580
|
background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
|
|
546
581
|
position: absolute;
|
|
547
|
-
/*ADD_HOST*/
|
|
548
582
|
}
|
|
549
583
|
|
|
550
584
|
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
|
|
@@ -676,8 +710,7 @@ button.swiper-pagination-bullet {
|
|
|
676
710
|
|
|
677
711
|
/* a11y */
|
|
678
712
|
|
|
679
|
-
.swiper .swiper-notification
|
|
680
|
-
swiper-container .swiper-notification {
|
|
713
|
+
.swiper .swiper-notification {
|
|
681
714
|
position: absolute;
|
|
682
715
|
left: 0;
|
|
683
716
|
top: 0;
|
|
@@ -748,21 +781,11 @@ swiper-container .swiper-notification {
|
|
|
748
781
|
|
|
749
782
|
.swiper-cube .swiper-slide-active,
|
|
750
783
|
.swiper-cube .swiper-slide-next,
|
|
751
|
-
.swiper-cube .swiper-slide-prev
|
|
752
|
-
.swiper-cube .swiper-slide-next + .swiper-slide {
|
|
784
|
+
.swiper-cube .swiper-slide-prev {
|
|
753
785
|
pointer-events: auto;
|
|
754
786
|
visibility: visible;
|
|
755
787
|
}
|
|
756
788
|
|
|
757
|
-
.swiper-cube .swiper-slide-shadow-top,
|
|
758
|
-
.swiper-cube .swiper-slide-shadow-bottom,
|
|
759
|
-
.swiper-cube .swiper-slide-shadow-left,
|
|
760
|
-
.swiper-cube .swiper-slide-shadow-right {
|
|
761
|
-
z-index: 0;
|
|
762
|
-
-webkit-backface-visibility: hidden;
|
|
763
|
-
backface-visibility: hidden;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
789
|
.swiper-cube .swiper-cube-shadow {
|
|
767
790
|
position: absolute;
|
|
768
791
|
left: 0;
|
|
@@ -784,6 +807,24 @@ swiper-container .swiper-notification {
|
|
|
784
807
|
filter: blur(50px);
|
|
785
808
|
}
|
|
786
809
|
|
|
810
|
+
.swiper-cube .swiper-slide-next + .swiper-slide {
|
|
811
|
+
pointer-events: auto;
|
|
812
|
+
visibility: visible;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/* Cube slide shadows start */
|
|
816
|
+
|
|
817
|
+
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,
|
|
818
|
+
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,
|
|
819
|
+
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,
|
|
820
|
+
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right {
|
|
821
|
+
z-index: 0;
|
|
822
|
+
-webkit-backface-visibility: hidden;
|
|
823
|
+
backface-visibility: hidden;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/* Cube slide shadows end */
|
|
827
|
+
|
|
787
828
|
.swiper-flip {
|
|
788
829
|
overflow: visible;
|
|
789
830
|
}
|
|
@@ -804,15 +845,19 @@ swiper-container .swiper-notification {
|
|
|
804
845
|
pointer-events: auto;
|
|
805
846
|
}
|
|
806
847
|
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
.swiper-flip .swiper-slide-shadow-
|
|
810
|
-
.swiper-flip .swiper-slide-shadow-
|
|
848
|
+
/* Flip slide shadows start */
|
|
849
|
+
|
|
850
|
+
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,
|
|
851
|
+
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,
|
|
852
|
+
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,
|
|
853
|
+
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right {
|
|
811
854
|
z-index: 0;
|
|
812
855
|
-webkit-backface-visibility: hidden;
|
|
813
856
|
backface-visibility: hidden;
|
|
814
857
|
}
|
|
815
858
|
|
|
859
|
+
/* Flip slide shadows end */
|
|
860
|
+
|
|
816
861
|
.swiper-creative .swiper-slide {
|
|
817
862
|
-webkit-backface-visibility: hidden;
|
|
818
863
|
backface-visibility: hidden;
|