@nearform/quantum 1.4.2 → 1.4.3

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.
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
- var __defProps = Object.defineProperties;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
6
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
7
  var __getProtoOf = Object.getPrototypeOf;
@@ -21,10 +19,6 @@ var __spreadValues = (a, b) => {
21
19
  }
22
20
  return a;
23
21
  };
24
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
- var __commonJS = (cb, mod) => function __require() {
26
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
27
- };
28
22
  var __export = (target, all) => {
29
23
  for (var name in all)
30
24
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -47,1183 +41,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
47
41
  ));
48
42
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
49
43
 
50
- // node_modules/tailwindcss/lib/util/cloneDeep.js
51
- var require_cloneDeep = __commonJS({
52
- "node_modules/tailwindcss/lib/util/cloneDeep.js"(exports2) {
53
- "use strict";
54
- Object.defineProperty(exports2, "__esModule", {
55
- value: true
56
- });
57
- Object.defineProperty(exports2, "cloneDeep", {
58
- enumerable: true,
59
- get: function() {
60
- return cloneDeep;
61
- }
62
- });
63
- function cloneDeep(value) {
64
- if (Array.isArray(value)) {
65
- return value.map((child) => cloneDeep(child));
66
- }
67
- if (typeof value === "object" && value !== null) {
68
- return Object.fromEntries(Object.entries(value).map(([k, v]) => [
69
- k,
70
- cloneDeep(v)
71
- ]));
72
- }
73
- return value;
74
- }
75
- }
76
- });
77
-
78
- // node_modules/tailwindcss/stubs/config.full.js
79
- var require_config_full = __commonJS({
80
- "node_modules/tailwindcss/stubs/config.full.js"(exports2, module2) {
81
- "use strict";
82
- module2.exports = {
83
- content: [],
84
- presets: [],
85
- darkMode: "media",
86
- // or 'class'
87
- theme: {
88
- accentColor: ({ theme }) => __spreadProps(__spreadValues({}, theme("colors")), {
89
- auto: "auto"
90
- }),
91
- animation: {
92
- none: "none",
93
- spin: "spin 1s linear infinite",
94
- ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
95
- pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
96
- bounce: "bounce 1s infinite"
97
- },
98
- aria: {
99
- busy: 'busy="true"',
100
- checked: 'checked="true"',
101
- disabled: 'disabled="true"',
102
- expanded: 'expanded="true"',
103
- hidden: 'hidden="true"',
104
- pressed: 'pressed="true"',
105
- readonly: 'readonly="true"',
106
- required: 'required="true"',
107
- selected: 'selected="true"'
108
- },
109
- aspectRatio: {
110
- auto: "auto",
111
- square: "1 / 1",
112
- video: "16 / 9"
113
- },
114
- backdropBlur: ({ theme }) => theme("blur"),
115
- backdropBrightness: ({ theme }) => theme("brightness"),
116
- backdropContrast: ({ theme }) => theme("contrast"),
117
- backdropGrayscale: ({ theme }) => theme("grayscale"),
118
- backdropHueRotate: ({ theme }) => theme("hueRotate"),
119
- backdropInvert: ({ theme }) => theme("invert"),
120
- backdropOpacity: ({ theme }) => theme("opacity"),
121
- backdropSaturate: ({ theme }) => theme("saturate"),
122
- backdropSepia: ({ theme }) => theme("sepia"),
123
- backgroundColor: ({ theme }) => theme("colors"),
124
- backgroundImage: {
125
- none: "none",
126
- "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
127
- "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
128
- "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
129
- "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
130
- "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
131
- "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
132
- "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
133
- "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
134
- },
135
- backgroundOpacity: ({ theme }) => theme("opacity"),
136
- backgroundPosition: {
137
- bottom: "bottom",
138
- center: "center",
139
- left: "left",
140
- "left-bottom": "left bottom",
141
- "left-top": "left top",
142
- right: "right",
143
- "right-bottom": "right bottom",
144
- "right-top": "right top",
145
- top: "top"
146
- },
147
- backgroundSize: {
148
- auto: "auto",
149
- cover: "cover",
150
- contain: "contain"
151
- },
152
- blur: {
153
- 0: "0",
154
- none: "",
155
- sm: "4px",
156
- DEFAULT: "8px",
157
- md: "12px",
158
- lg: "16px",
159
- xl: "24px",
160
- "2xl": "40px",
161
- "3xl": "64px"
162
- },
163
- borderColor: ({ theme }) => __spreadProps(__spreadValues({}, theme("colors")), {
164
- DEFAULT: theme("colors.gray.200", "currentColor")
165
- }),
166
- borderOpacity: ({ theme }) => theme("opacity"),
167
- borderRadius: {
168
- none: "0px",
169
- sm: "0.125rem",
170
- DEFAULT: "0.25rem",
171
- md: "0.375rem",
172
- lg: "0.5rem",
173
- xl: "0.75rem",
174
- "2xl": "1rem",
175
- "3xl": "1.5rem",
176
- full: "9999px"
177
- },
178
- borderSpacing: ({ theme }) => __spreadValues({}, theme("spacing")),
179
- borderWidth: {
180
- DEFAULT: "1px",
181
- 0: "0px",
182
- 2: "2px",
183
- 4: "4px",
184
- 8: "8px"
185
- },
186
- boxShadow: {
187
- sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
188
- DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
189
- md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
190
- lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
191
- xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
192
- "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
193
- inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
194
- none: "none"
195
- },
196
- boxShadowColor: ({ theme }) => theme("colors"),
197
- brightness: {
198
- 0: "0",
199
- 50: ".5",
200
- 75: ".75",
201
- 90: ".9",
202
- 95: ".95",
203
- 100: "1",
204
- 105: "1.05",
205
- 110: "1.1",
206
- 125: "1.25",
207
- 150: "1.5",
208
- 200: "2"
209
- },
210
- caretColor: ({ theme }) => theme("colors"),
211
- colors: ({ colors: colors2 }) => ({
212
- inherit: colors2.inherit,
213
- current: colors2.current,
214
- transparent: colors2.transparent,
215
- black: colors2.black,
216
- white: colors2.white,
217
- slate: colors2.slate,
218
- gray: colors2.gray,
219
- zinc: colors2.zinc,
220
- neutral: colors2.neutral,
221
- stone: colors2.stone,
222
- red: colors2.red,
223
- orange: colors2.orange,
224
- amber: colors2.amber,
225
- yellow: colors2.yellow,
226
- lime: colors2.lime,
227
- green: colors2.green,
228
- emerald: colors2.emerald,
229
- teal: colors2.teal,
230
- cyan: colors2.cyan,
231
- sky: colors2.sky,
232
- blue: colors2.blue,
233
- indigo: colors2.indigo,
234
- violet: colors2.violet,
235
- purple: colors2.purple,
236
- fuchsia: colors2.fuchsia,
237
- pink: colors2.pink,
238
- rose: colors2.rose
239
- }),
240
- columns: {
241
- auto: "auto",
242
- 1: "1",
243
- 2: "2",
244
- 3: "3",
245
- 4: "4",
246
- 5: "5",
247
- 6: "6",
248
- 7: "7",
249
- 8: "8",
250
- 9: "9",
251
- 10: "10",
252
- 11: "11",
253
- 12: "12",
254
- "3xs": "16rem",
255
- "2xs": "18rem",
256
- xs: "20rem",
257
- sm: "24rem",
258
- md: "28rem",
259
- lg: "32rem",
260
- xl: "36rem",
261
- "2xl": "42rem",
262
- "3xl": "48rem",
263
- "4xl": "56rem",
264
- "5xl": "64rem",
265
- "6xl": "72rem",
266
- "7xl": "80rem"
267
- },
268
- container: {},
269
- content: {
270
- none: "none"
271
- },
272
- contrast: {
273
- 0: "0",
274
- 50: ".5",
275
- 75: ".75",
276
- 100: "1",
277
- 125: "1.25",
278
- 150: "1.5",
279
- 200: "2"
280
- },
281
- cursor: {
282
- auto: "auto",
283
- default: "default",
284
- pointer: "pointer",
285
- wait: "wait",
286
- text: "text",
287
- move: "move",
288
- help: "help",
289
- "not-allowed": "not-allowed",
290
- none: "none",
291
- "context-menu": "context-menu",
292
- progress: "progress",
293
- cell: "cell",
294
- crosshair: "crosshair",
295
- "vertical-text": "vertical-text",
296
- alias: "alias",
297
- copy: "copy",
298
- "no-drop": "no-drop",
299
- grab: "grab",
300
- grabbing: "grabbing",
301
- "all-scroll": "all-scroll",
302
- "col-resize": "col-resize",
303
- "row-resize": "row-resize",
304
- "n-resize": "n-resize",
305
- "e-resize": "e-resize",
306
- "s-resize": "s-resize",
307
- "w-resize": "w-resize",
308
- "ne-resize": "ne-resize",
309
- "nw-resize": "nw-resize",
310
- "se-resize": "se-resize",
311
- "sw-resize": "sw-resize",
312
- "ew-resize": "ew-resize",
313
- "ns-resize": "ns-resize",
314
- "nesw-resize": "nesw-resize",
315
- "nwse-resize": "nwse-resize",
316
- "zoom-in": "zoom-in",
317
- "zoom-out": "zoom-out"
318
- },
319
- divideColor: ({ theme }) => theme("borderColor"),
320
- divideOpacity: ({ theme }) => theme("borderOpacity"),
321
- divideWidth: ({ theme }) => theme("borderWidth"),
322
- dropShadow: {
323
- sm: "0 1px 1px rgb(0 0 0 / 0.05)",
324
- DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
325
- md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
326
- lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
327
- xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
328
- "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
329
- none: "0 0 #0000"
330
- },
331
- fill: ({ theme }) => __spreadValues({
332
- none: "none"
333
- }, theme("colors")),
334
- flex: {
335
- 1: "1 1 0%",
336
- auto: "1 1 auto",
337
- initial: "0 1 auto",
338
- none: "none"
339
- },
340
- flexBasis: ({ theme }) => __spreadProps(__spreadValues({
341
- auto: "auto"
342
- }, theme("spacing")), {
343
- "1/2": "50%",
344
- "1/3": "33.333333%",
345
- "2/3": "66.666667%",
346
- "1/4": "25%",
347
- "2/4": "50%",
348
- "3/4": "75%",
349
- "1/5": "20%",
350
- "2/5": "40%",
351
- "3/5": "60%",
352
- "4/5": "80%",
353
- "1/6": "16.666667%",
354
- "2/6": "33.333333%",
355
- "3/6": "50%",
356
- "4/6": "66.666667%",
357
- "5/6": "83.333333%",
358
- "1/12": "8.333333%",
359
- "2/12": "16.666667%",
360
- "3/12": "25%",
361
- "4/12": "33.333333%",
362
- "5/12": "41.666667%",
363
- "6/12": "50%",
364
- "7/12": "58.333333%",
365
- "8/12": "66.666667%",
366
- "9/12": "75%",
367
- "10/12": "83.333333%",
368
- "11/12": "91.666667%",
369
- full: "100%"
370
- }),
371
- flexGrow: {
372
- 0: "0",
373
- DEFAULT: "1"
374
- },
375
- flexShrink: {
376
- 0: "0",
377
- DEFAULT: "1"
378
- },
379
- fontFamily: {
380
- sans: [
381
- "ui-sans-serif",
382
- "system-ui",
383
- "sans-serif",
384
- '"Apple Color Emoji"',
385
- '"Segoe UI Emoji"',
386
- '"Segoe UI Symbol"',
387
- '"Noto Color Emoji"'
388
- ],
389
- serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
390
- mono: [
391
- "ui-monospace",
392
- "SFMono-Regular",
393
- "Menlo",
394
- "Monaco",
395
- "Consolas",
396
- '"Liberation Mono"',
397
- '"Courier New"',
398
- "monospace"
399
- ]
400
- },
401
- fontSize: {
402
- xs: ["0.75rem", { lineHeight: "1rem" }],
403
- sm: ["0.875rem", { lineHeight: "1.25rem" }],
404
- base: ["1rem", { lineHeight: "1.5rem" }],
405
- lg: ["1.125rem", { lineHeight: "1.75rem" }],
406
- xl: ["1.25rem", { lineHeight: "1.75rem" }],
407
- "2xl": ["1.5rem", { lineHeight: "2rem" }],
408
- "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
409
- "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
410
- "5xl": ["3rem", { lineHeight: "1" }],
411
- "6xl": ["3.75rem", { lineHeight: "1" }],
412
- "7xl": ["4.5rem", { lineHeight: "1" }],
413
- "8xl": ["6rem", { lineHeight: "1" }],
414
- "9xl": ["8rem", { lineHeight: "1" }]
415
- },
416
- fontWeight: {
417
- thin: "100",
418
- extralight: "200",
419
- light: "300",
420
- normal: "400",
421
- medium: "500",
422
- semibold: "600",
423
- bold: "700",
424
- extrabold: "800",
425
- black: "900"
426
- },
427
- gap: ({ theme }) => theme("spacing"),
428
- gradientColorStops: ({ theme }) => theme("colors"),
429
- gradientColorStopPositions: {
430
- "0%": "0%",
431
- "5%": "5%",
432
- "10%": "10%",
433
- "15%": "15%",
434
- "20%": "20%",
435
- "25%": "25%",
436
- "30%": "30%",
437
- "35%": "35%",
438
- "40%": "40%",
439
- "45%": "45%",
440
- "50%": "50%",
441
- "55%": "55%",
442
- "60%": "60%",
443
- "65%": "65%",
444
- "70%": "70%",
445
- "75%": "75%",
446
- "80%": "80%",
447
- "85%": "85%",
448
- "90%": "90%",
449
- "95%": "95%",
450
- "100%": "100%"
451
- },
452
- grayscale: {
453
- 0: "0",
454
- DEFAULT: "100%"
455
- },
456
- gridAutoColumns: {
457
- auto: "auto",
458
- min: "min-content",
459
- max: "max-content",
460
- fr: "minmax(0, 1fr)"
461
- },
462
- gridAutoRows: {
463
- auto: "auto",
464
- min: "min-content",
465
- max: "max-content",
466
- fr: "minmax(0, 1fr)"
467
- },
468
- gridColumn: {
469
- auto: "auto",
470
- "span-1": "span 1 / span 1",
471
- "span-2": "span 2 / span 2",
472
- "span-3": "span 3 / span 3",
473
- "span-4": "span 4 / span 4",
474
- "span-5": "span 5 / span 5",
475
- "span-6": "span 6 / span 6",
476
- "span-7": "span 7 / span 7",
477
- "span-8": "span 8 / span 8",
478
- "span-9": "span 9 / span 9",
479
- "span-10": "span 10 / span 10",
480
- "span-11": "span 11 / span 11",
481
- "span-12": "span 12 / span 12",
482
- "span-full": "1 / -1"
483
- },
484
- gridColumnEnd: {
485
- auto: "auto",
486
- 1: "1",
487
- 2: "2",
488
- 3: "3",
489
- 4: "4",
490
- 5: "5",
491
- 6: "6",
492
- 7: "7",
493
- 8: "8",
494
- 9: "9",
495
- 10: "10",
496
- 11: "11",
497
- 12: "12",
498
- 13: "13"
499
- },
500
- gridColumnStart: {
501
- auto: "auto",
502
- 1: "1",
503
- 2: "2",
504
- 3: "3",
505
- 4: "4",
506
- 5: "5",
507
- 6: "6",
508
- 7: "7",
509
- 8: "8",
510
- 9: "9",
511
- 10: "10",
512
- 11: "11",
513
- 12: "12",
514
- 13: "13"
515
- },
516
- gridRow: {
517
- auto: "auto",
518
- "span-1": "span 1 / span 1",
519
- "span-2": "span 2 / span 2",
520
- "span-3": "span 3 / span 3",
521
- "span-4": "span 4 / span 4",
522
- "span-5": "span 5 / span 5",
523
- "span-6": "span 6 / span 6",
524
- "span-7": "span 7 / span 7",
525
- "span-8": "span 8 / span 8",
526
- "span-9": "span 9 / span 9",
527
- "span-10": "span 10 / span 10",
528
- "span-11": "span 11 / span 11",
529
- "span-12": "span 12 / span 12",
530
- "span-full": "1 / -1"
531
- },
532
- gridRowEnd: {
533
- auto: "auto",
534
- 1: "1",
535
- 2: "2",
536
- 3: "3",
537
- 4: "4",
538
- 5: "5",
539
- 6: "6",
540
- 7: "7",
541
- 8: "8",
542
- 9: "9",
543
- 10: "10",
544
- 11: "11",
545
- 12: "12",
546
- 13: "13"
547
- },
548
- gridRowStart: {
549
- auto: "auto",
550
- 1: "1",
551
- 2: "2",
552
- 3: "3",
553
- 4: "4",
554
- 5: "5",
555
- 6: "6",
556
- 7: "7",
557
- 8: "8",
558
- 9: "9",
559
- 10: "10",
560
- 11: "11",
561
- 12: "12",
562
- 13: "13"
563
- },
564
- gridTemplateColumns: {
565
- none: "none",
566
- subgrid: "subgrid",
567
- 1: "repeat(1, minmax(0, 1fr))",
568
- 2: "repeat(2, minmax(0, 1fr))",
569
- 3: "repeat(3, minmax(0, 1fr))",
570
- 4: "repeat(4, minmax(0, 1fr))",
571
- 5: "repeat(5, minmax(0, 1fr))",
572
- 6: "repeat(6, minmax(0, 1fr))",
573
- 7: "repeat(7, minmax(0, 1fr))",
574
- 8: "repeat(8, minmax(0, 1fr))",
575
- 9: "repeat(9, minmax(0, 1fr))",
576
- 10: "repeat(10, minmax(0, 1fr))",
577
- 11: "repeat(11, minmax(0, 1fr))",
578
- 12: "repeat(12, minmax(0, 1fr))"
579
- },
580
- gridTemplateRows: {
581
- none: "none",
582
- subgrid: "subgrid",
583
- 1: "repeat(1, minmax(0, 1fr))",
584
- 2: "repeat(2, minmax(0, 1fr))",
585
- 3: "repeat(3, minmax(0, 1fr))",
586
- 4: "repeat(4, minmax(0, 1fr))",
587
- 5: "repeat(5, minmax(0, 1fr))",
588
- 6: "repeat(6, minmax(0, 1fr))",
589
- 7: "repeat(7, minmax(0, 1fr))",
590
- 8: "repeat(8, minmax(0, 1fr))",
591
- 9: "repeat(9, minmax(0, 1fr))",
592
- 10: "repeat(10, minmax(0, 1fr))",
593
- 11: "repeat(11, minmax(0, 1fr))",
594
- 12: "repeat(12, minmax(0, 1fr))"
595
- },
596
- height: ({ theme }) => __spreadProps(__spreadValues({
597
- auto: "auto"
598
- }, theme("spacing")), {
599
- "1/2": "50%",
600
- "1/3": "33.333333%",
601
- "2/3": "66.666667%",
602
- "1/4": "25%",
603
- "2/4": "50%",
604
- "3/4": "75%",
605
- "1/5": "20%",
606
- "2/5": "40%",
607
- "3/5": "60%",
608
- "4/5": "80%",
609
- "1/6": "16.666667%",
610
- "2/6": "33.333333%",
611
- "3/6": "50%",
612
- "4/6": "66.666667%",
613
- "5/6": "83.333333%",
614
- full: "100%",
615
- screen: "100vh",
616
- svh: "100svh",
617
- lvh: "100lvh",
618
- dvh: "100dvh",
619
- min: "min-content",
620
- max: "max-content",
621
- fit: "fit-content"
622
- }),
623
- hueRotate: {
624
- 0: "0deg",
625
- 15: "15deg",
626
- 30: "30deg",
627
- 60: "60deg",
628
- 90: "90deg",
629
- 180: "180deg"
630
- },
631
- inset: ({ theme }) => __spreadProps(__spreadValues({
632
- auto: "auto"
633
- }, theme("spacing")), {
634
- "1/2": "50%",
635
- "1/3": "33.333333%",
636
- "2/3": "66.666667%",
637
- "1/4": "25%",
638
- "2/4": "50%",
639
- "3/4": "75%",
640
- full: "100%"
641
- }),
642
- invert: {
643
- 0: "0",
644
- DEFAULT: "100%"
645
- },
646
- keyframes: {
647
- spin: {
648
- to: {
649
- transform: "rotate(360deg)"
650
- }
651
- },
652
- ping: {
653
- "75%, 100%": {
654
- transform: "scale(2)",
655
- opacity: "0"
656
- }
657
- },
658
- pulse: {
659
- "50%": {
660
- opacity: ".5"
661
- }
662
- },
663
- bounce: {
664
- "0%, 100%": {
665
- transform: "translateY(-25%)",
666
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
667
- },
668
- "50%": {
669
- transform: "none",
670
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
671
- }
672
- }
673
- },
674
- letterSpacing: {
675
- tighter: "-0.05em",
676
- tight: "-0.025em",
677
- normal: "0em",
678
- wide: "0.025em",
679
- wider: "0.05em",
680
- widest: "0.1em"
681
- },
682
- lineHeight: {
683
- none: "1",
684
- tight: "1.25",
685
- snug: "1.375",
686
- normal: "1.5",
687
- relaxed: "1.625",
688
- loose: "2",
689
- 3: ".75rem",
690
- 4: "1rem",
691
- 5: "1.25rem",
692
- 6: "1.5rem",
693
- 7: "1.75rem",
694
- 8: "2rem",
695
- 9: "2.25rem",
696
- 10: "2.5rem"
697
- },
698
- listStyleType: {
699
- none: "none",
700
- disc: "disc",
701
- decimal: "decimal"
702
- },
703
- listStyleImage: {
704
- none: "none"
705
- },
706
- margin: ({ theme }) => __spreadValues({
707
- auto: "auto"
708
- }, theme("spacing")),
709
- lineClamp: {
710
- 1: "1",
711
- 2: "2",
712
- 3: "3",
713
- 4: "4",
714
- 5: "5",
715
- 6: "6"
716
- },
717
- maxHeight: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
718
- none: "none",
719
- full: "100%",
720
- screen: "100vh",
721
- svh: "100svh",
722
- lvh: "100lvh",
723
- dvh: "100dvh",
724
- min: "min-content",
725
- max: "max-content",
726
- fit: "fit-content"
727
- }),
728
- maxWidth: ({ theme, breakpoints }) => __spreadValues(__spreadProps(__spreadValues({}, theme("spacing")), {
729
- none: "none",
730
- xs: "20rem",
731
- sm: "24rem",
732
- md: "28rem",
733
- lg: "32rem",
734
- xl: "36rem",
735
- "2xl": "42rem",
736
- "3xl": "48rem",
737
- "4xl": "56rem",
738
- "5xl": "64rem",
739
- "6xl": "72rem",
740
- "7xl": "80rem",
741
- full: "100%",
742
- min: "min-content",
743
- max: "max-content",
744
- fit: "fit-content",
745
- prose: "65ch"
746
- }), breakpoints(theme("screens"))),
747
- minHeight: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
748
- full: "100%",
749
- screen: "100vh",
750
- svh: "100svh",
751
- lvh: "100lvh",
752
- dvh: "100dvh",
753
- min: "min-content",
754
- max: "max-content",
755
- fit: "fit-content"
756
- }),
757
- minWidth: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
758
- full: "100%",
759
- min: "min-content",
760
- max: "max-content",
761
- fit: "fit-content"
762
- }),
763
- objectPosition: {
764
- bottom: "bottom",
765
- center: "center",
766
- left: "left",
767
- "left-bottom": "left bottom",
768
- "left-top": "left top",
769
- right: "right",
770
- "right-bottom": "right bottom",
771
- "right-top": "right top",
772
- top: "top"
773
- },
774
- opacity: {
775
- 0: "0",
776
- 5: "0.05",
777
- 10: "0.1",
778
- 15: "0.15",
779
- 20: "0.2",
780
- 25: "0.25",
781
- 30: "0.3",
782
- 35: "0.35",
783
- 40: "0.4",
784
- 45: "0.45",
785
- 50: "0.5",
786
- 55: "0.55",
787
- 60: "0.6",
788
- 65: "0.65",
789
- 70: "0.7",
790
- 75: "0.75",
791
- 80: "0.8",
792
- 85: "0.85",
793
- 90: "0.9",
794
- 95: "0.95",
795
- 100: "1"
796
- },
797
- order: {
798
- first: "-9999",
799
- last: "9999",
800
- none: "0",
801
- 1: "1",
802
- 2: "2",
803
- 3: "3",
804
- 4: "4",
805
- 5: "5",
806
- 6: "6",
807
- 7: "7",
808
- 8: "8",
809
- 9: "9",
810
- 10: "10",
811
- 11: "11",
812
- 12: "12"
813
- },
814
- outlineColor: ({ theme }) => theme("colors"),
815
- outlineOffset: {
816
- 0: "0px",
817
- 1: "1px",
818
- 2: "2px",
819
- 4: "4px",
820
- 8: "8px"
821
- },
822
- outlineWidth: {
823
- 0: "0px",
824
- 1: "1px",
825
- 2: "2px",
826
- 4: "4px",
827
- 8: "8px"
828
- },
829
- padding: ({ theme }) => theme("spacing"),
830
- placeholderColor: ({ theme }) => theme("colors"),
831
- placeholderOpacity: ({ theme }) => theme("opacity"),
832
- ringColor: ({ theme }) => __spreadValues({
833
- DEFAULT: theme("colors.blue.500", "#3b82f6")
834
- }, theme("colors")),
835
- ringOffsetColor: ({ theme }) => theme("colors"),
836
- ringOffsetWidth: {
837
- 0: "0px",
838
- 1: "1px",
839
- 2: "2px",
840
- 4: "4px",
841
- 8: "8px"
842
- },
843
- ringOpacity: ({ theme }) => __spreadValues({
844
- DEFAULT: "0.5"
845
- }, theme("opacity")),
846
- ringWidth: {
847
- DEFAULT: "3px",
848
- 0: "0px",
849
- 1: "1px",
850
- 2: "2px",
851
- 4: "4px",
852
- 8: "8px"
853
- },
854
- rotate: {
855
- 0: "0deg",
856
- 1: "1deg",
857
- 2: "2deg",
858
- 3: "3deg",
859
- 6: "6deg",
860
- 12: "12deg",
861
- 45: "45deg",
862
- 90: "90deg",
863
- 180: "180deg"
864
- },
865
- saturate: {
866
- 0: "0",
867
- 50: ".5",
868
- 100: "1",
869
- 150: "1.5",
870
- 200: "2"
871
- },
872
- scale: {
873
- 0: "0",
874
- 50: ".5",
875
- 75: ".75",
876
- 90: ".9",
877
- 95: ".95",
878
- 100: "1",
879
- 105: "1.05",
880
- 110: "1.1",
881
- 125: "1.25",
882
- 150: "1.5"
883
- },
884
- screens: {
885
- sm: "640px",
886
- md: "768px",
887
- lg: "1024px",
888
- xl: "1280px",
889
- "2xl": "1536px"
890
- },
891
- scrollMargin: ({ theme }) => __spreadValues({}, theme("spacing")),
892
- scrollPadding: ({ theme }) => theme("spacing"),
893
- sepia: {
894
- 0: "0",
895
- DEFAULT: "100%"
896
- },
897
- skew: {
898
- 0: "0deg",
899
- 1: "1deg",
900
- 2: "2deg",
901
- 3: "3deg",
902
- 6: "6deg",
903
- 12: "12deg"
904
- },
905
- space: ({ theme }) => __spreadValues({}, theme("spacing")),
906
- spacing: {
907
- px: "1px",
908
- 0: "0px",
909
- 0.5: "0.125rem",
910
- 1: "0.25rem",
911
- 1.5: "0.375rem",
912
- 2: "0.5rem",
913
- 2.5: "0.625rem",
914
- 3: "0.75rem",
915
- 3.5: "0.875rem",
916
- 4: "1rem",
917
- 5: "1.25rem",
918
- 6: "1.5rem",
919
- 7: "1.75rem",
920
- 8: "2rem",
921
- 9: "2.25rem",
922
- 10: "2.5rem",
923
- 11: "2.75rem",
924
- 12: "3rem",
925
- 14: "3.5rem",
926
- 16: "4rem",
927
- 20: "5rem",
928
- 24: "6rem",
929
- 28: "7rem",
930
- 32: "8rem",
931
- 36: "9rem",
932
- 40: "10rem",
933
- 44: "11rem",
934
- 48: "12rem",
935
- 52: "13rem",
936
- 56: "14rem",
937
- 60: "15rem",
938
- 64: "16rem",
939
- 72: "18rem",
940
- 80: "20rem",
941
- 96: "24rem"
942
- },
943
- stroke: ({ theme }) => __spreadValues({
944
- none: "none"
945
- }, theme("colors")),
946
- strokeWidth: {
947
- 0: "0",
948
- 1: "1",
949
- 2: "2"
950
- },
951
- supports: {},
952
- data: {},
953
- textColor: ({ theme }) => theme("colors"),
954
- textDecorationColor: ({ theme }) => theme("colors"),
955
- textDecorationThickness: {
956
- auto: "auto",
957
- "from-font": "from-font",
958
- 0: "0px",
959
- 1: "1px",
960
- 2: "2px",
961
- 4: "4px",
962
- 8: "8px"
963
- },
964
- textIndent: ({ theme }) => __spreadValues({}, theme("spacing")),
965
- textOpacity: ({ theme }) => theme("opacity"),
966
- textUnderlineOffset: {
967
- auto: "auto",
968
- 0: "0px",
969
- 1: "1px",
970
- 2: "2px",
971
- 4: "4px",
972
- 8: "8px"
973
- },
974
- transformOrigin: {
975
- center: "center",
976
- top: "top",
977
- "top-right": "top right",
978
- right: "right",
979
- "bottom-right": "bottom right",
980
- bottom: "bottom",
981
- "bottom-left": "bottom left",
982
- left: "left",
983
- "top-left": "top left"
984
- },
985
- transitionDelay: {
986
- 0: "0s",
987
- 75: "75ms",
988
- 100: "100ms",
989
- 150: "150ms",
990
- 200: "200ms",
991
- 300: "300ms",
992
- 500: "500ms",
993
- 700: "700ms",
994
- 1e3: "1000ms"
995
- },
996
- transitionDuration: {
997
- DEFAULT: "150ms",
998
- 0: "0s",
999
- 75: "75ms",
1000
- 100: "100ms",
1001
- 150: "150ms",
1002
- 200: "200ms",
1003
- 300: "300ms",
1004
- 500: "500ms",
1005
- 700: "700ms",
1006
- 1e3: "1000ms"
1007
- },
1008
- transitionProperty: {
1009
- none: "none",
1010
- all: "all",
1011
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1012
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1013
- opacity: "opacity",
1014
- shadow: "box-shadow",
1015
- transform: "transform"
1016
- },
1017
- transitionTimingFunction: {
1018
- DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1019
- linear: "linear",
1020
- in: "cubic-bezier(0.4, 0, 1, 1)",
1021
- out: "cubic-bezier(0, 0, 0.2, 1)",
1022
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1023
- },
1024
- translate: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
1025
- "1/2": "50%",
1026
- "1/3": "33.333333%",
1027
- "2/3": "66.666667%",
1028
- "1/4": "25%",
1029
- "2/4": "50%",
1030
- "3/4": "75%",
1031
- full: "100%"
1032
- }),
1033
- size: ({ theme }) => __spreadProps(__spreadValues({
1034
- auto: "auto"
1035
- }, theme("spacing")), {
1036
- "1/2": "50%",
1037
- "1/3": "33.333333%",
1038
- "2/3": "66.666667%",
1039
- "1/4": "25%",
1040
- "2/4": "50%",
1041
- "3/4": "75%",
1042
- "1/5": "20%",
1043
- "2/5": "40%",
1044
- "3/5": "60%",
1045
- "4/5": "80%",
1046
- "1/6": "16.666667%",
1047
- "2/6": "33.333333%",
1048
- "3/6": "50%",
1049
- "4/6": "66.666667%",
1050
- "5/6": "83.333333%",
1051
- "1/12": "8.333333%",
1052
- "2/12": "16.666667%",
1053
- "3/12": "25%",
1054
- "4/12": "33.333333%",
1055
- "5/12": "41.666667%",
1056
- "6/12": "50%",
1057
- "7/12": "58.333333%",
1058
- "8/12": "66.666667%",
1059
- "9/12": "75%",
1060
- "10/12": "83.333333%",
1061
- "11/12": "91.666667%",
1062
- full: "100%",
1063
- min: "min-content",
1064
- max: "max-content",
1065
- fit: "fit-content"
1066
- }),
1067
- width: ({ theme }) => __spreadProps(__spreadValues({
1068
- auto: "auto"
1069
- }, theme("spacing")), {
1070
- "1/2": "50%",
1071
- "1/3": "33.333333%",
1072
- "2/3": "66.666667%",
1073
- "1/4": "25%",
1074
- "2/4": "50%",
1075
- "3/4": "75%",
1076
- "1/5": "20%",
1077
- "2/5": "40%",
1078
- "3/5": "60%",
1079
- "4/5": "80%",
1080
- "1/6": "16.666667%",
1081
- "2/6": "33.333333%",
1082
- "3/6": "50%",
1083
- "4/6": "66.666667%",
1084
- "5/6": "83.333333%",
1085
- "1/12": "8.333333%",
1086
- "2/12": "16.666667%",
1087
- "3/12": "25%",
1088
- "4/12": "33.333333%",
1089
- "5/12": "41.666667%",
1090
- "6/12": "50%",
1091
- "7/12": "58.333333%",
1092
- "8/12": "66.666667%",
1093
- "9/12": "75%",
1094
- "10/12": "83.333333%",
1095
- "11/12": "91.666667%",
1096
- full: "100%",
1097
- screen: "100vw",
1098
- svw: "100svw",
1099
- lvw: "100lvw",
1100
- dvw: "100dvw",
1101
- min: "min-content",
1102
- max: "max-content",
1103
- fit: "fit-content"
1104
- }),
1105
- willChange: {
1106
- auto: "auto",
1107
- scroll: "scroll-position",
1108
- contents: "contents",
1109
- transform: "transform"
1110
- },
1111
- zIndex: {
1112
- auto: "auto",
1113
- 0: "0",
1114
- 10: "10",
1115
- 20: "20",
1116
- 30: "30",
1117
- 40: "40",
1118
- 50: "50"
1119
- }
1120
- },
1121
- plugins: []
1122
- };
1123
- }
1124
- });
1125
-
1126
- // node_modules/tailwindcss/lib/public/default-theme.js
1127
- var require_default_theme = __commonJS({
1128
- "node_modules/tailwindcss/lib/public/default-theme.js"(exports2) {
1129
- "use strict";
1130
- Object.defineProperty(exports2, "__esModule", {
1131
- value: true
1132
- });
1133
- Object.defineProperty(exports2, "default", {
1134
- enumerable: true,
1135
- get: function() {
1136
- return _default;
1137
- }
1138
- });
1139
- var _cloneDeep = require_cloneDeep();
1140
- var _configfull = /* @__PURE__ */ _interop_require_default(require_config_full());
1141
- function _interop_require_default(obj) {
1142
- return obj && obj.__esModule ? obj : {
1143
- default: obj
1144
- };
1145
- }
1146
- var _default = (0, _cloneDeep.cloneDeep)(_configfull.default.theme);
1147
- }
1148
- });
1149
-
1150
- // node_modules/tailwindcss/defaultTheme.js
1151
- var require_defaultTheme = __commonJS({
1152
- "node_modules/tailwindcss/defaultTheme.js"(exports2, module2) {
1153
- "use strict";
1154
- var defaultTheme2 = require_default_theme();
1155
- module2.exports = (defaultTheme2.__esModule ? defaultTheme2 : { default: defaultTheme2 }).default;
1156
- }
1157
- });
1158
-
1159
- // node_modules/tailwindcss/lib/util/createPlugin.js
1160
- var require_createPlugin = __commonJS({
1161
- "node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
1162
- "use strict";
1163
- Object.defineProperty(exports2, "__esModule", {
1164
- value: true
1165
- });
1166
- Object.defineProperty(exports2, "default", {
1167
- enumerable: true,
1168
- get: function() {
1169
- return _default;
1170
- }
1171
- });
1172
- function createPlugin(plugin2, config) {
1173
- return {
1174
- handler: plugin2,
1175
- config
1176
- };
1177
- }
1178
- createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
1179
- const optionsFunction = function(options) {
1180
- return {
1181
- __options: options,
1182
- handler: pluginFunction(options),
1183
- config: configFunction(options)
1184
- };
1185
- };
1186
- optionsFunction.__isOptionsFunction = true;
1187
- optionsFunction.__pluginFunction = pluginFunction;
1188
- optionsFunction.__configFunction = configFunction;
1189
- return optionsFunction;
1190
- };
1191
- var _default = createPlugin;
1192
- }
1193
- });
1194
-
1195
- // node_modules/tailwindcss/lib/public/create-plugin.js
1196
- var require_create_plugin = __commonJS({
1197
- "node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
1198
- "use strict";
1199
- Object.defineProperty(exports2, "__esModule", {
1200
- value: true
1201
- });
1202
- Object.defineProperty(exports2, "default", {
1203
- enumerable: true,
1204
- get: function() {
1205
- return _default;
1206
- }
1207
- });
1208
- var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
1209
- function _interop_require_default(obj) {
1210
- return obj && obj.__esModule ? obj : {
1211
- default: obj
1212
- };
1213
- }
1214
- var _default = _createPlugin.default;
1215
- }
1216
- });
1217
-
1218
- // node_modules/tailwindcss/plugin.js
1219
- var require_plugin = __commonJS({
1220
- "node_modules/tailwindcss/plugin.js"(exports2, module2) {
1221
- "use strict";
1222
- var createPlugin = require_create_plugin();
1223
- module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
1224
- }
1225
- });
1226
-
1227
44
  // src/tailwind-plugin.ts
1228
45
  var tailwind_plugin_exports = {};
1229
46
  __export(tailwind_plugin_exports, {
@@ -1576,7 +393,8 @@ var colors_default = __spreadValues({
1576
393
  }, colors);
1577
394
 
1578
395
  // tailwind.config.ts
1579
- var import_defaultTheme = __toESM(require_defaultTheme());
396
+ var import_defaultTheme = __toESM(require("tailwindcss/defaultTheme"));
397
+ var import_plugin = __toESM(require("tailwindcss/plugin"));
1580
398
 
1581
399
  // src/animations/index.ts
1582
400
  var animations_default = {
@@ -1596,11 +414,22 @@ var animations_default = {
1596
414
  }
1597
415
  };
1598
416
 
417
+ // src/tailwind-base.ts
418
+ var tailwind_base_default = {
419
+ 'button:not(:disabled), [role="button"]:not(:disabled)': {
420
+ cursor: "pointer"
421
+ }
422
+ };
423
+
1599
424
  // tailwind.config.ts
1600
425
  var tailwind_config_default = {
1601
426
  content: ["./src/**/*.tsx"],
1602
427
  darkMode: "class",
1603
- plugins: [],
428
+ // Registers Quantum's base styles for the two entrypoints that load this
429
+ // config through `@config`: src/global.css (published as dist/global.css) and
430
+ // .storybook/global.css. src/tailwind-plugin.ts registers the same object for
431
+ // consumers, and cannot be listed here because it imports this file.
432
+ plugins: [(0, import_plugin.default)(({ addBase }) => addBase(tailwind_base_default))],
1604
433
  theme: {
1605
434
  colors: colors_default,
1606
435
  boxShadow: {
@@ -1635,21 +464,10 @@ var tailwind_config_default = {
1635
464
  };
1636
465
 
1637
466
  // src/tailwind-plugin.ts
1638
- var import_plugin = __toESM(require_plugin());
1639
- var import_path = __toESM(require("path"));
1640
- var tailwind_plugin_default = (0, import_plugin.default)(
1641
- ({ config }) => {
1642
- const twConfig = config();
1643
- const quantumPkgLoc = import_path.default.join(__dirname, "index.js");
1644
- if (Array.isArray(twConfig.content)) {
1645
- if (!twConfig.content.includes(quantumPkgLoc)) {
1646
- twConfig.content.push(quantumPkgLoc);
1647
- }
1648
- } else {
1649
- if (!twConfig.content.files.includes(quantumPkgLoc)) {
1650
- twConfig.content.files.push(quantumPkgLoc);
1651
- }
1652
- }
467
+ var import_plugin2 = __toESM(require("tailwindcss/plugin"));
468
+ var tailwind_plugin_default = (0, import_plugin2.default)(
469
+ ({ addBase }) => {
470
+ addBase(tailwind_base_default);
1653
471
  },
1654
472
  {
1655
473
  theme: __spreadValues({}, tailwind_config_default.theme)