@itcase/ui 1.0.46 → 1.0.47
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.
|
@@ -34,6 +34,7 @@ const Choice = /*#__PURE__*/React__default.default.forwardRef((props, ref) => {
|
|
|
34
34
|
type,
|
|
35
35
|
options,
|
|
36
36
|
active,
|
|
37
|
+
set,
|
|
37
38
|
setActiveSegment,
|
|
38
39
|
size,
|
|
39
40
|
labelTextColor,
|
|
@@ -71,7 +72,7 @@ const Choice = /*#__PURE__*/React__default.default.forwardRef((props, ref) => {
|
|
|
71
72
|
propsKey: 'fillActive'
|
|
72
73
|
});
|
|
73
74
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
74
|
-
className: clsx__default.default(className, 'choice', shapeClass, fillClass, borderColorClass, borderWidthClass, borderTypeClass, size && `choice_size_${size}`, type && `choice_type_${type}`),
|
|
75
|
+
className: clsx__default.default(className, 'choice', shapeClass, fillClass, borderColorClass, borderWidthClass, borderTypeClass, set && `choice_set_${set}`, size && `choice_size_${size}`, type && `choice_type_${type}`),
|
|
75
76
|
ref: controlRef
|
|
76
77
|
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
77
78
|
className: "choice__wrapper"
|
|
@@ -4873,6 +4873,15 @@ function Swiper(props) {
|
|
|
4873
4873
|
freeMode: freeMode,
|
|
4874
4874
|
init: isInit ?? true,
|
|
4875
4875
|
loop: isLoop,
|
|
4876
|
+
noSwipingClass: "swiper-no-swiping",
|
|
4877
|
+
noSwiping: true,
|
|
4878
|
+
a11y: false,
|
|
4879
|
+
watchSlidesProgress: true,
|
|
4880
|
+
noSwipingSelector: 'button',
|
|
4881
|
+
allowTouchMove: false,
|
|
4882
|
+
preventClicks: false,
|
|
4883
|
+
preventClicksPropagation: false,
|
|
4884
|
+
simulateTouch: false,
|
|
4876
4885
|
modules: modules,
|
|
4877
4886
|
mousewheel: mousewheel,
|
|
4878
4887
|
navigation: isNavigation ? {
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
position: relative;
|
|
6
6
|
display: flex;
|
|
7
7
|
^&__item {
|
|
8
|
-
min-width:
|
|
9
|
-
position: relative;
|
|
10
|
-
display: flex;
|
|
11
|
-
border-top: 0;
|
|
8
|
+
min-width: 30px;
|
|
12
9
|
border-left: 0;
|
|
10
|
+
border-top: 0;
|
|
13
11
|
border-bottom: 0;
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
14
|
&:hover {
|
|
15
15
|
background: var(--choice-item-background-hover);
|
|
16
16
|
}
|
|
@@ -22,16 +22,13 @@
|
|
|
22
22
|
& input {
|
|
23
23
|
width: 100%;
|
|
24
24
|
height: 100%;
|
|
25
|
+
margin: 0;
|
|
26
|
+
border: 0;
|
|
25
27
|
position: absolute;
|
|
26
|
-
|
|
27
|
-
top: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
bottom: 0;
|
|
28
|
+
inset: 0 0 0 0;
|
|
30
29
|
z-index: 2;
|
|
31
30
|
opacity: 0%;
|
|
32
31
|
cursor: pointer;
|
|
33
|
-
border: 0;
|
|
34
|
-
margin: 0;
|
|
35
32
|
}
|
|
36
33
|
&-label {
|
|
37
34
|
width: 100%;
|
|
@@ -65,7 +62,7 @@
|
|
|
65
62
|
}
|
|
66
63
|
.choice {
|
|
67
64
|
&_size {
|
|
68
|
-
@each $size in
|
|
65
|
+
@each $size in tiny, compact, normal {
|
|
69
66
|
&_$(size) {
|
|
70
67
|
^^&__item {
|
|
71
68
|
&-label {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"eslint-config-standard": "^17.1.0",
|
|
84
84
|
"eslint-plugin-babel": "^5.3.1",
|
|
85
85
|
"eslint-plugin-import": "^2.28.1",
|
|
86
|
-
"eslint-plugin-n": "^16.0
|
|
86
|
+
"eslint-plugin-n": "^16.1.0",
|
|
87
87
|
"eslint-plugin-node": "^11.1.0",
|
|
88
88
|
"eslint-plugin-prettier": "^5.0.0",
|
|
89
89
|
"eslint-plugin-promise": "^6.1.1",
|