@faststore/ui 3.87.0 → 3.89.0
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": "3.
|
|
3
|
+
"version": "3.89.0",
|
|
4
4
|
"description": "A lightweight, framework agnostic component library for React",
|
|
5
5
|
"author": "emersonlaurentino",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@faststore/components": "^3.
|
|
50
|
+
"@faststore/components": "^3.88.0",
|
|
51
51
|
"include-media": "^1.4.10",
|
|
52
52
|
"modern-normalize": "^1.1.0",
|
|
53
53
|
"react-swipeable": "^7.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"volta": {
|
|
71
71
|
"extends": "../../package.json"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "77bd257d8f854dba233d1962aad06f34a1b12230"
|
|
74
74
|
}
|
|
@@ -138,7 +138,6 @@
|
|
|
138
138
|
transition: var(--fs-button-transition-property) var(--fs-button-transition-timing) var(--fs-button-transition-function);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
|
|
142
141
|
// --------------------------------------------------------
|
|
143
142
|
// Variants Styles
|
|
144
143
|
// --------------------------------------------------------
|
|
@@ -174,6 +173,7 @@
|
|
|
174
173
|
|
|
175
174
|
&[data-fs-button-size="small"] {
|
|
176
175
|
--fs-control-tap-size: var(--fs-button-small-min-height);
|
|
176
|
+
|
|
177
177
|
padding: var(--fs-spacing-1);
|
|
178
178
|
|
|
179
179
|
[data-fs-button-wrapper] {
|
|
@@ -242,7 +242,6 @@
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
&[data-fs-button-variant="secondary"] {
|
|
245
|
-
|
|
246
245
|
[data-fs-button-wrapper] {
|
|
247
246
|
color: var(--fs-button-secondary-text-color);
|
|
248
247
|
background-color: var(--fs-button-secondary-bkg-color);
|
|
@@ -268,7 +267,6 @@
|
|
|
268
267
|
}
|
|
269
268
|
|
|
270
269
|
&[data-fs-button-inverse="true"] {
|
|
271
|
-
|
|
272
270
|
[data-fs-button-wrapper] {
|
|
273
271
|
color: var(--fs-button-secondary-inverse-text-color);
|
|
274
272
|
background-color: var(--fs-button-secondary-inverse-bkg-color);
|
|
@@ -296,7 +294,6 @@
|
|
|
296
294
|
}
|
|
297
295
|
|
|
298
296
|
&[data-fs-button-variant="tertiary"] {
|
|
299
|
-
|
|
300
297
|
[data-fs-button-wrapper] {
|
|
301
298
|
color: var(--fs-button-tertiary-text-color);
|
|
302
299
|
background-color: var(--fs-button-tertiary-bkg-color);
|
|
@@ -315,6 +312,9 @@
|
|
|
315
312
|
background-color: var(--fs-button-tertiary-bkg-color-hover);
|
|
316
313
|
}
|
|
317
314
|
|
|
315
|
+
&:disabled [data-fs-button-wrapper],
|
|
316
|
+
&:hover:disabled [data-fs-button-wrapper] { background-color: transparent; }
|
|
317
|
+
|
|
318
318
|
&:active [data-fs-button-wrapper] {
|
|
319
319
|
color: var(--fs-button-tertiary-text-color-active);
|
|
320
320
|
background-color: var(--fs-button-tertiary-bkg-color-active);
|
|
@@ -322,7 +322,6 @@
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
&[data-fs-button-inverse="true"] {
|
|
325
|
-
|
|
326
325
|
[data-fs-button-wrapper] {
|
|
327
326
|
color: var(--fs-button-tertiary-inverse-text-color);
|
|
328
327
|
background-color: var(--fs-button-tertiary-inverse-bkg-color);
|
|
@@ -354,22 +353,23 @@
|
|
|
354
353
|
|
|
355
354
|
[data-fs-button-wrapper] {
|
|
356
355
|
column-gap: 0;
|
|
356
|
+
width: 100%;
|
|
357
357
|
padding: 0;
|
|
358
358
|
border-width: 0;
|
|
359
|
-
width: 100%;
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
361
|
|
|
363
362
|
&[data-fs-button-loading="true"] [data-fs-button-wrapper] {
|
|
364
363
|
> * {
|
|
365
|
-
opacity: 0;
|
|
366
364
|
pointer-events: none;
|
|
365
|
+
opacity: 0;
|
|
367
366
|
}
|
|
367
|
+
|
|
368
368
|
[data-fs-button-loading-label] {
|
|
369
369
|
position: absolute;
|
|
370
|
-
opacity: 1;
|
|
371
370
|
display: flex;
|
|
372
371
|
column-gap: var(--fs-button-loading-label-column-gap);
|
|
372
|
+
opacity: 1;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
[data-fs-rich-text] {
|
|
2
|
+
[data-fs-rich-text-list="true"] {
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 0;
|
|
5
|
+
list-style-position: inside;
|
|
6
|
+
|
|
7
|
+
[data-fs-rich-text-list="true"] {
|
|
8
|
+
margin-top: 0;
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
margin-left: var(--fs-spacing-4);
|
|
11
|
+
|
|
12
|
+
[data-fs-rich-text-list="true"] {
|
|
13
|
+
margin-left: var(--fs-spacing-6);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
li {
|
|
18
|
+
padding-left: 0;
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&[data-fs-list-type="ordered"] {
|
|
23
|
+
list-style-type: decimal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[data-fs-list-type="unordered"] {
|
|
27
|
+
list-style-type: disc;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h1 {
|
|
32
|
+
margin: var(--fs-spacing-3) 0;
|
|
33
|
+
font-size: var(--fs-text-size-title-huge);
|
|
34
|
+
font-weight: var(--fs-text-weight-bold);
|
|
35
|
+
line-height: var(--fs-text-line-height-tight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h2 {
|
|
39
|
+
margin: var(--fs-spacing-2) 0;
|
|
40
|
+
font-size: var(--fs-text-size-title-section);
|
|
41
|
+
font-weight: var(--fs-text-weight-bold);
|
|
42
|
+
line-height: var(--fs-text-line-height-tight);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h3 {
|
|
46
|
+
margin: var(--fs-spacing-2) 0;
|
|
47
|
+
font-size: var(--fs-text-size-title-subsection);
|
|
48
|
+
font-weight: var(--fs-text-weight-semibold);
|
|
49
|
+
line-height: var(--fs-text-line-height-tight);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h4 {
|
|
53
|
+
margin: var(--fs-spacing-1) 0;
|
|
54
|
+
font-size: var(--fs-text-size-4);
|
|
55
|
+
font-weight: var(--fs-text-weight-semibold);
|
|
56
|
+
line-height: var(--fs-text-line-height-tight);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h5 {
|
|
60
|
+
margin: var(--fs-spacing-1) 0;
|
|
61
|
+
font-size: var(--fs-text-size-3);
|
|
62
|
+
font-weight: var(--fs-text-weight-semibold);
|
|
63
|
+
line-height: var(--fs-text-line-height-tight);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
h6 {
|
|
67
|
+
margin: var(--fs-spacing-1) 0;
|
|
68
|
+
font-size: var(--fs-text-size-2);
|
|
69
|
+
font-weight: var(--fs-text-weight-semibold);
|
|
70
|
+
line-height: var(--fs-text-line-height-tight);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@import "../components/atoms/Overlay/styles";
|
|
13
13
|
@import "../components/atoms/Price/styles";
|
|
14
14
|
@import "../components/atoms/Radio/styles";
|
|
15
|
+
@import "../components/atoms/RichText/styles";
|
|
15
16
|
@import "../components/atoms/Select/styles";
|
|
16
17
|
@import "../components/atoms/Skeleton/styles";
|
|
17
18
|
@import "../components/atoms/Slider/styles";
|