@nearform/quantum 1.2.0 → 1.4.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/README.md +3 -1
- package/dist/global.css +125 -117
- package/dist/global.css.map +1 -1
- package/dist/index.js +7 -10
- package/dist/index.js.map +1 -1
- package/dist/tailwind-plugin.js +1 -1
- package/dist/tailwind-plugin.js.map +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Quantum Component Library
|
|
2
2
|
|
|
3
|
-
 [](https://www.figma.com/
|
|
3
|
+
 [](https://www.figma.com/design/XFbhstkgQFz8ZefAU3w2p4/1.-Quantum-Design-System?m=auto&node-id=1-5&t=nMe5iB6lqqJ52oc4-1)
|
|
4
4
|
|
|
5
5
|
> A React component library based on the Quantum Design System
|
|
6
6
|
|
|
@@ -66,3 +66,5 @@ And use:
|
|
|
66
66
|
<Button>Three</Button>
|
|
67
67
|
</ButtonGroup>
|
|
68
68
|
```
|
|
69
|
+
|
|
70
|
+
[](https://www.nearform.com/contact/?utm_source=open-source&utm_medium=banner&utm_campaign=os-project-pages)
|
package/dist/global.css
CHANGED
|
@@ -3,6 +3,114 @@
|
|
|
3
3
|
/* src/global.css */
|
|
4
4
|
*,
|
|
5
5
|
::before,
|
|
6
|
+
::after {
|
|
7
|
+
--tw-border-spacing-x: 0;
|
|
8
|
+
--tw-border-spacing-y: 0;
|
|
9
|
+
--tw-translate-x: 0;
|
|
10
|
+
--tw-translate-y: 0;
|
|
11
|
+
--tw-rotate: 0;
|
|
12
|
+
--tw-skew-x: 0;
|
|
13
|
+
--tw-skew-y: 0;
|
|
14
|
+
--tw-scale-x: 1;
|
|
15
|
+
--tw-scale-y: 1;
|
|
16
|
+
--tw-pan-x: ;
|
|
17
|
+
--tw-pan-y: ;
|
|
18
|
+
--tw-pinch-zoom: ;
|
|
19
|
+
--tw-scroll-snap-strictness: proximity;
|
|
20
|
+
--tw-gradient-from-position: ;
|
|
21
|
+
--tw-gradient-via-position: ;
|
|
22
|
+
--tw-gradient-to-position: ;
|
|
23
|
+
--tw-ordinal: ;
|
|
24
|
+
--tw-slashed-zero: ;
|
|
25
|
+
--tw-numeric-figure: ;
|
|
26
|
+
--tw-numeric-spacing: ;
|
|
27
|
+
--tw-numeric-fraction: ;
|
|
28
|
+
--tw-ring-inset: ;
|
|
29
|
+
--tw-ring-offset-width: 0px;
|
|
30
|
+
--tw-ring-offset-color: #fff;
|
|
31
|
+
--tw-ring-color: rgb(63 131 248 / 0.5);
|
|
32
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
33
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
34
|
+
--tw-shadow: 0 0 #0000;
|
|
35
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
36
|
+
--tw-blur: ;
|
|
37
|
+
--tw-brightness: ;
|
|
38
|
+
--tw-contrast: ;
|
|
39
|
+
--tw-grayscale: ;
|
|
40
|
+
--tw-hue-rotate: ;
|
|
41
|
+
--tw-invert: ;
|
|
42
|
+
--tw-saturate: ;
|
|
43
|
+
--tw-sepia: ;
|
|
44
|
+
--tw-drop-shadow: ;
|
|
45
|
+
--tw-backdrop-blur: ;
|
|
46
|
+
--tw-backdrop-brightness: ;
|
|
47
|
+
--tw-backdrop-contrast: ;
|
|
48
|
+
--tw-backdrop-grayscale: ;
|
|
49
|
+
--tw-backdrop-hue-rotate: ;
|
|
50
|
+
--tw-backdrop-invert: ;
|
|
51
|
+
--tw-backdrop-opacity: ;
|
|
52
|
+
--tw-backdrop-saturate: ;
|
|
53
|
+
--tw-backdrop-sepia: ;
|
|
54
|
+
--tw-contain-size: ;
|
|
55
|
+
--tw-contain-layout: ;
|
|
56
|
+
--tw-contain-paint: ;
|
|
57
|
+
--tw-contain-style: ;
|
|
58
|
+
}
|
|
59
|
+
::backdrop {
|
|
60
|
+
--tw-border-spacing-x: 0;
|
|
61
|
+
--tw-border-spacing-y: 0;
|
|
62
|
+
--tw-translate-x: 0;
|
|
63
|
+
--tw-translate-y: 0;
|
|
64
|
+
--tw-rotate: 0;
|
|
65
|
+
--tw-skew-x: 0;
|
|
66
|
+
--tw-skew-y: 0;
|
|
67
|
+
--tw-scale-x: 1;
|
|
68
|
+
--tw-scale-y: 1;
|
|
69
|
+
--tw-pan-x: ;
|
|
70
|
+
--tw-pan-y: ;
|
|
71
|
+
--tw-pinch-zoom: ;
|
|
72
|
+
--tw-scroll-snap-strictness: proximity;
|
|
73
|
+
--tw-gradient-from-position: ;
|
|
74
|
+
--tw-gradient-via-position: ;
|
|
75
|
+
--tw-gradient-to-position: ;
|
|
76
|
+
--tw-ordinal: ;
|
|
77
|
+
--tw-slashed-zero: ;
|
|
78
|
+
--tw-numeric-figure: ;
|
|
79
|
+
--tw-numeric-spacing: ;
|
|
80
|
+
--tw-numeric-fraction: ;
|
|
81
|
+
--tw-ring-inset: ;
|
|
82
|
+
--tw-ring-offset-width: 0px;
|
|
83
|
+
--tw-ring-offset-color: #fff;
|
|
84
|
+
--tw-ring-color: rgb(63 131 248 / 0.5);
|
|
85
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
86
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
87
|
+
--tw-shadow: 0 0 #0000;
|
|
88
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
89
|
+
--tw-blur: ;
|
|
90
|
+
--tw-brightness: ;
|
|
91
|
+
--tw-contrast: ;
|
|
92
|
+
--tw-grayscale: ;
|
|
93
|
+
--tw-hue-rotate: ;
|
|
94
|
+
--tw-invert: ;
|
|
95
|
+
--tw-saturate: ;
|
|
96
|
+
--tw-sepia: ;
|
|
97
|
+
--tw-drop-shadow: ;
|
|
98
|
+
--tw-backdrop-blur: ;
|
|
99
|
+
--tw-backdrop-brightness: ;
|
|
100
|
+
--tw-backdrop-contrast: ;
|
|
101
|
+
--tw-backdrop-grayscale: ;
|
|
102
|
+
--tw-backdrop-hue-rotate: ;
|
|
103
|
+
--tw-backdrop-invert: ;
|
|
104
|
+
--tw-backdrop-opacity: ;
|
|
105
|
+
--tw-backdrop-saturate: ;
|
|
106
|
+
--tw-backdrop-sepia: ;
|
|
107
|
+
--tw-contain-size: ;
|
|
108
|
+
--tw-contain-layout: ;
|
|
109
|
+
--tw-contain-paint: ;
|
|
110
|
+
--tw-contain-style: ;
|
|
111
|
+
}
|
|
112
|
+
*,
|
|
113
|
+
::before,
|
|
6
114
|
::after {
|
|
7
115
|
box-sizing: border-box;
|
|
8
116
|
border-width: 0;
|
|
@@ -227,114 +335,6 @@ video {
|
|
|
227
335
|
[hidden] {
|
|
228
336
|
display: none;
|
|
229
337
|
}
|
|
230
|
-
*,
|
|
231
|
-
::before,
|
|
232
|
-
::after {
|
|
233
|
-
--tw-border-spacing-x: 0;
|
|
234
|
-
--tw-border-spacing-y: 0;
|
|
235
|
-
--tw-translate-x: 0;
|
|
236
|
-
--tw-translate-y: 0;
|
|
237
|
-
--tw-rotate: 0;
|
|
238
|
-
--tw-skew-x: 0;
|
|
239
|
-
--tw-skew-y: 0;
|
|
240
|
-
--tw-scale-x: 1;
|
|
241
|
-
--tw-scale-y: 1;
|
|
242
|
-
--tw-pan-x: ;
|
|
243
|
-
--tw-pan-y: ;
|
|
244
|
-
--tw-pinch-zoom: ;
|
|
245
|
-
--tw-scroll-snap-strictness: proximity;
|
|
246
|
-
--tw-gradient-from-position: ;
|
|
247
|
-
--tw-gradient-via-position: ;
|
|
248
|
-
--tw-gradient-to-position: ;
|
|
249
|
-
--tw-ordinal: ;
|
|
250
|
-
--tw-slashed-zero: ;
|
|
251
|
-
--tw-numeric-figure: ;
|
|
252
|
-
--tw-numeric-spacing: ;
|
|
253
|
-
--tw-numeric-fraction: ;
|
|
254
|
-
--tw-ring-inset: ;
|
|
255
|
-
--tw-ring-offset-width: 0px;
|
|
256
|
-
--tw-ring-offset-color: #fff;
|
|
257
|
-
--tw-ring-color: rgb(63 131 248 / 0.5);
|
|
258
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
259
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
260
|
-
--tw-shadow: 0 0 #0000;
|
|
261
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
262
|
-
--tw-blur: ;
|
|
263
|
-
--tw-brightness: ;
|
|
264
|
-
--tw-contrast: ;
|
|
265
|
-
--tw-grayscale: ;
|
|
266
|
-
--tw-hue-rotate: ;
|
|
267
|
-
--tw-invert: ;
|
|
268
|
-
--tw-saturate: ;
|
|
269
|
-
--tw-sepia: ;
|
|
270
|
-
--tw-drop-shadow: ;
|
|
271
|
-
--tw-backdrop-blur: ;
|
|
272
|
-
--tw-backdrop-brightness: ;
|
|
273
|
-
--tw-backdrop-contrast: ;
|
|
274
|
-
--tw-backdrop-grayscale: ;
|
|
275
|
-
--tw-backdrop-hue-rotate: ;
|
|
276
|
-
--tw-backdrop-invert: ;
|
|
277
|
-
--tw-backdrop-opacity: ;
|
|
278
|
-
--tw-backdrop-saturate: ;
|
|
279
|
-
--tw-backdrop-sepia: ;
|
|
280
|
-
--tw-contain-size: ;
|
|
281
|
-
--tw-contain-layout: ;
|
|
282
|
-
--tw-contain-paint: ;
|
|
283
|
-
--tw-contain-style: ;
|
|
284
|
-
}
|
|
285
|
-
::backdrop {
|
|
286
|
-
--tw-border-spacing-x: 0;
|
|
287
|
-
--tw-border-spacing-y: 0;
|
|
288
|
-
--tw-translate-x: 0;
|
|
289
|
-
--tw-translate-y: 0;
|
|
290
|
-
--tw-rotate: 0;
|
|
291
|
-
--tw-skew-x: 0;
|
|
292
|
-
--tw-skew-y: 0;
|
|
293
|
-
--tw-scale-x: 1;
|
|
294
|
-
--tw-scale-y: 1;
|
|
295
|
-
--tw-pan-x: ;
|
|
296
|
-
--tw-pan-y: ;
|
|
297
|
-
--tw-pinch-zoom: ;
|
|
298
|
-
--tw-scroll-snap-strictness: proximity;
|
|
299
|
-
--tw-gradient-from-position: ;
|
|
300
|
-
--tw-gradient-via-position: ;
|
|
301
|
-
--tw-gradient-to-position: ;
|
|
302
|
-
--tw-ordinal: ;
|
|
303
|
-
--tw-slashed-zero: ;
|
|
304
|
-
--tw-numeric-figure: ;
|
|
305
|
-
--tw-numeric-spacing: ;
|
|
306
|
-
--tw-numeric-fraction: ;
|
|
307
|
-
--tw-ring-inset: ;
|
|
308
|
-
--tw-ring-offset-width: 0px;
|
|
309
|
-
--tw-ring-offset-color: #fff;
|
|
310
|
-
--tw-ring-color: rgb(63 131 248 / 0.5);
|
|
311
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
312
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
313
|
-
--tw-shadow: 0 0 #0000;
|
|
314
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
315
|
-
--tw-blur: ;
|
|
316
|
-
--tw-brightness: ;
|
|
317
|
-
--tw-contrast: ;
|
|
318
|
-
--tw-grayscale: ;
|
|
319
|
-
--tw-hue-rotate: ;
|
|
320
|
-
--tw-invert: ;
|
|
321
|
-
--tw-saturate: ;
|
|
322
|
-
--tw-sepia: ;
|
|
323
|
-
--tw-drop-shadow: ;
|
|
324
|
-
--tw-backdrop-blur: ;
|
|
325
|
-
--tw-backdrop-brightness: ;
|
|
326
|
-
--tw-backdrop-contrast: ;
|
|
327
|
-
--tw-backdrop-grayscale: ;
|
|
328
|
-
--tw-backdrop-hue-rotate: ;
|
|
329
|
-
--tw-backdrop-invert: ;
|
|
330
|
-
--tw-backdrop-opacity: ;
|
|
331
|
-
--tw-backdrop-saturate: ;
|
|
332
|
-
--tw-backdrop-sepia: ;
|
|
333
|
-
--tw-contain-size: ;
|
|
334
|
-
--tw-contain-layout: ;
|
|
335
|
-
--tw-contain-paint: ;
|
|
336
|
-
--tw-contain-style: ;
|
|
337
|
-
}
|
|
338
338
|
.sr-only {
|
|
339
339
|
position: absolute;
|
|
340
340
|
width: 1px;
|
|
@@ -567,6 +567,9 @@ video {
|
|
|
567
567
|
.cursor-default {
|
|
568
568
|
cursor: default;
|
|
569
569
|
}
|
|
570
|
+
.cursor-not-allowed {
|
|
571
|
+
cursor: not-allowed;
|
|
572
|
+
}
|
|
570
573
|
.cursor-pointer {
|
|
571
574
|
cursor: pointer;
|
|
572
575
|
}
|
|
@@ -575,6 +578,9 @@ video {
|
|
|
575
578
|
-moz-user-select: none;
|
|
576
579
|
user-select: none;
|
|
577
580
|
}
|
|
581
|
+
.resize-none {
|
|
582
|
+
resize: none;
|
|
583
|
+
}
|
|
578
584
|
.flex-row {
|
|
579
585
|
flex-direction: row;
|
|
580
586
|
}
|
|
@@ -614,6 +620,9 @@ video {
|
|
|
614
620
|
.gap-2\.5 {
|
|
615
621
|
gap: 0.625rem;
|
|
616
622
|
}
|
|
623
|
+
.gap-3 {
|
|
624
|
+
gap: 0.75rem;
|
|
625
|
+
}
|
|
617
626
|
.gap-6 {
|
|
618
627
|
gap: 1.5rem;
|
|
619
628
|
}
|
|
@@ -640,11 +649,6 @@ video {
|
|
|
640
649
|
margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
|
|
641
650
|
margin-bottom: calc(0px * var(--tw-space-y-reverse));
|
|
642
651
|
}
|
|
643
|
-
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
|
644
|
-
--tw-space-y-reverse: 0;
|
|
645
|
-
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
646
|
-
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
|
647
|
-
}
|
|
648
652
|
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
|
|
649
653
|
--tw-space-y-reverse: 0;
|
|
650
654
|
margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
|
|
@@ -905,10 +909,6 @@ video {
|
|
|
905
909
|
padding-left: 2rem;
|
|
906
910
|
padding-right: 2rem;
|
|
907
911
|
}
|
|
908
|
-
.py-0 {
|
|
909
|
-
padding-top: 0px;
|
|
910
|
-
padding-bottom: 0px;
|
|
911
|
-
}
|
|
912
912
|
.py-0\.5 {
|
|
913
913
|
padding-top: 0.125rem;
|
|
914
914
|
padding-bottom: 0.125rem;
|
|
@@ -1284,6 +1284,14 @@ video {
|
|
|
1284
1284
|
--tw-border-opacity: 1;
|
|
1285
1285
|
border-color: rgb(12 61 96 / var(--tw-border-opacity));
|
|
1286
1286
|
}
|
|
1287
|
+
.hover\:focus-within\:shadow-brandGreen:focus-within:hover {
|
|
1288
|
+
--tw-shadow: 0px 0px 0px 4px #03e5a4;
|
|
1289
|
+
--tw-shadow-colored: 0px 0px 0px 4px var(--tw-shadow-color);
|
|
1290
|
+
box-shadow:
|
|
1291
|
+
var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
1292
|
+
var(--tw-ring-shadow, 0 0 #0000),
|
|
1293
|
+
var(--tw-shadow);
|
|
1294
|
+
}
|
|
1287
1295
|
.focus\:bg-button-danger:focus {
|
|
1288
1296
|
--tw-bg-opacity: 1;
|
|
1289
1297
|
background-color: rgb(224 36 36 / var(--tw-bg-opacity));
|