@faststore/ui 2.1.61 → 2.1.67
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.67",
|
|
4
4
|
"description": "A lightweight, framework agnostic component library for React",
|
|
5
5
|
"author": "emersonlaurentino",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@faststore/components": "^2.1.
|
|
37
|
+
"@faststore/components": "^2.1.67",
|
|
38
38
|
"include-media": "^1.4.10",
|
|
39
39
|
"modern-normalize": "^1.1.0",
|
|
40
40
|
"react-swipeable": "^7.0.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"node": "16.18.0",
|
|
59
59
|
"yarn": "1.19.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "0352b95e7422c5623328c0068f9dc35819539177"
|
|
62
62
|
}
|
|
@@ -49,49 +49,50 @@
|
|
|
49
49
|
|
|
50
50
|
&:hover {
|
|
51
51
|
[data-fs-carousel-controls] {
|
|
52
|
-
position: relative;
|
|
53
|
-
|
|
54
52
|
@include media(">=tablet") {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
[data-fs-carousel-control] {
|
|
59
|
-
bottom: calc(var(--fs-carousel-controls-height) + var(--fs-control-tap-size));
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
transform: translateY(-50%);
|
|
62
|
-
[data-fs-button-wrapper] {
|
|
63
|
-
border-radius: var(--fs-carousel-controls-border-radius);
|
|
64
|
-
box-shadow: var(--fs-carousel-controls-box-shadow);
|
|
65
|
-
}
|
|
66
|
-
&:not(:hover) [data-fs-button-wrapper] { background-color: var(--fs-carousel-controls-bkg-color); }
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
[data-fs-carousel-control="left"] {
|
|
70
|
-
position: absolute;
|
|
71
|
-
left: var(--fs-carousel-controls-control-right);
|
|
72
|
-
@include media(">notebook") {
|
|
73
|
-
left: var(--fs-carousel-controls-control-max-left);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[data-fs-carousel-control="right"] {
|
|
78
|
-
position: absolute;
|
|
79
|
-
right: var(--fs-carousel-controls-control-right);
|
|
80
|
-
@include media(">notebook") {
|
|
81
|
-
right: var(--fs-carousel-controls-control-max-right);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
[data-fs-icon] {
|
|
86
|
-
color: var(--fs-carousel-controls-icon-color);
|
|
87
|
-
}
|
|
53
|
+
opacity: 1;
|
|
54
|
+
pointer-events: auto;
|
|
88
55
|
}
|
|
89
56
|
}
|
|
90
57
|
}
|
|
91
58
|
|
|
92
59
|
[data-fs-carousel-controls] {
|
|
93
60
|
position: relative;
|
|
94
|
-
display:
|
|
61
|
+
display: flex;
|
|
62
|
+
opacity: 0;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
@include media(">=tablet") { margin: var(--fs-carousel-padding-desktop); }
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-fs-carousel-control] {
|
|
68
|
+
bottom: calc(var(--fs-carousel-controls-height) + var(--fs-control-tap-size));
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
transform: translateY(-50%);
|
|
71
|
+
[data-fs-button-wrapper] {
|
|
72
|
+
border-radius: var(--fs-carousel-controls-border-radius);
|
|
73
|
+
box-shadow: var(--fs-carousel-controls-box-shadow);
|
|
74
|
+
}
|
|
75
|
+
&:not(:hover) [data-fs-button-wrapper] { background-color: var(--fs-carousel-controls-bkg-color); }
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-fs-carousel-control="left"] {
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: var(--fs-carousel-controls-control-right);
|
|
81
|
+
@include media(">notebook") {
|
|
82
|
+
left: var(--fs-carousel-controls-control-max-left);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-fs-carousel-control="right"] {
|
|
87
|
+
position: absolute;
|
|
88
|
+
right: var(--fs-carousel-controls-control-right);
|
|
89
|
+
@include media(">notebook") {
|
|
90
|
+
right: var(--fs-carousel-controls-control-max-right);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[data-fs-icon] {
|
|
95
|
+
color: var(--fs-carousel-controls-icon-color);
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
[data-fs-carousel-track] {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
align-items: stretch;
|
|
19
19
|
overflow-x: auto;
|
|
20
20
|
position: relative;
|
|
21
|
+
column-gap: var(--fs-product-shelf-items-gap);
|
|
21
22
|
|
|
22
23
|
[data-fs-product-shelf-item] { width: 100%; }
|
|
23
24
|
|
|
24
25
|
@include media(">=tablet") {
|
|
25
|
-
column-gap: var(--fs-product-shelf-items-gap);
|
|
26
26
|
padding-top: var(--fs-product-shelf-items-padding-top);
|
|
27
27
|
padding-bottom: var(--fs-product-shelf-items-padding-bottom);
|
|
28
28
|
overflow-x: auto;
|