@nearform/quantum 0.4.0 → 1.0.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/dist/animations/index.js +42 -0
- package/dist/animations/index.js.map +1 -0
- package/dist/colors/index.js +64 -30
- package/dist/colors/index.js.map +1 -1
- package/dist/global.css +572 -208
- package/dist/global.css.map +1 -1
- package/dist/index.d.ts +210 -142
- package/dist/index.js +1962 -1812
- package/dist/index.js.map +1 -1
- package/dist/tailwind-plugin.js +193 -65
- package/dist/tailwind-plugin.js.map +1 -1
- package/package.json +32 -27
package/dist/tailwind-plugin.js
CHANGED
|
@@ -49,12 +49,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
49
49
|
|
|
50
50
|
// node_modules/tailwindcss/lib/util/cloneDeep.js
|
|
51
51
|
var require_cloneDeep = __commonJS({
|
|
52
|
-
"node_modules/tailwindcss/lib/util/cloneDeep.js"(
|
|
52
|
+
"node_modules/tailwindcss/lib/util/cloneDeep.js"(exports2) {
|
|
53
53
|
"use strict";
|
|
54
|
-
Object.defineProperty(
|
|
54
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
55
55
|
value: true
|
|
56
56
|
});
|
|
57
|
-
Object.defineProperty(
|
|
57
|
+
Object.defineProperty(exports2, "cloneDeep", {
|
|
58
58
|
enumerable: true,
|
|
59
59
|
get: function() {
|
|
60
60
|
return cloneDeep;
|
|
@@ -77,7 +77,7 @@ var require_cloneDeep = __commonJS({
|
|
|
77
77
|
|
|
78
78
|
// node_modules/tailwindcss/stubs/config.full.js
|
|
79
79
|
var require_config_full = __commonJS({
|
|
80
|
-
"node_modules/tailwindcss/stubs/config.full.js"(
|
|
80
|
+
"node_modules/tailwindcss/stubs/config.full.js"(exports2, module2) {
|
|
81
81
|
"use strict";
|
|
82
82
|
module2.exports = {
|
|
83
83
|
content: [],
|
|
@@ -380,13 +380,6 @@ var require_config_full = __commonJS({
|
|
|
380
380
|
sans: [
|
|
381
381
|
"ui-sans-serif",
|
|
382
382
|
"system-ui",
|
|
383
|
-
"-apple-system",
|
|
384
|
-
"BlinkMacSystemFont",
|
|
385
|
-
'"Segoe UI"',
|
|
386
|
-
"Roboto",
|
|
387
|
-
'"Helvetica Neue"',
|
|
388
|
-
"Arial",
|
|
389
|
-
'"Noto Sans"',
|
|
390
383
|
"sans-serif",
|
|
391
384
|
'"Apple Color Emoji"',
|
|
392
385
|
'"Segoe UI Emoji"',
|
|
@@ -528,6 +521,12 @@ var require_config_full = __commonJS({
|
|
|
528
521
|
"span-4": "span 4 / span 4",
|
|
529
522
|
"span-5": "span 5 / span 5",
|
|
530
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",
|
|
531
530
|
"span-full": "1 / -1"
|
|
532
531
|
},
|
|
533
532
|
gridRowEnd: {
|
|
@@ -538,7 +537,13 @@ var require_config_full = __commonJS({
|
|
|
538
537
|
4: "4",
|
|
539
538
|
5: "5",
|
|
540
539
|
6: "6",
|
|
541
|
-
7: "7"
|
|
540
|
+
7: "7",
|
|
541
|
+
8: "8",
|
|
542
|
+
9: "9",
|
|
543
|
+
10: "10",
|
|
544
|
+
11: "11",
|
|
545
|
+
12: "12",
|
|
546
|
+
13: "13"
|
|
542
547
|
},
|
|
543
548
|
gridRowStart: {
|
|
544
549
|
auto: "auto",
|
|
@@ -548,10 +553,17 @@ var require_config_full = __commonJS({
|
|
|
548
553
|
4: "4",
|
|
549
554
|
5: "5",
|
|
550
555
|
6: "6",
|
|
551
|
-
7: "7"
|
|
556
|
+
7: "7",
|
|
557
|
+
8: "8",
|
|
558
|
+
9: "9",
|
|
559
|
+
10: "10",
|
|
560
|
+
11: "11",
|
|
561
|
+
12: "12",
|
|
562
|
+
13: "13"
|
|
552
563
|
},
|
|
553
564
|
gridTemplateColumns: {
|
|
554
565
|
none: "none",
|
|
566
|
+
subgrid: "subgrid",
|
|
555
567
|
1: "repeat(1, minmax(0, 1fr))",
|
|
556
568
|
2: "repeat(2, minmax(0, 1fr))",
|
|
557
569
|
3: "repeat(3, minmax(0, 1fr))",
|
|
@@ -567,12 +579,19 @@ var require_config_full = __commonJS({
|
|
|
567
579
|
},
|
|
568
580
|
gridTemplateRows: {
|
|
569
581
|
none: "none",
|
|
582
|
+
subgrid: "subgrid",
|
|
570
583
|
1: "repeat(1, minmax(0, 1fr))",
|
|
571
584
|
2: "repeat(2, minmax(0, 1fr))",
|
|
572
585
|
3: "repeat(3, minmax(0, 1fr))",
|
|
573
586
|
4: "repeat(4, minmax(0, 1fr))",
|
|
574
587
|
5: "repeat(5, minmax(0, 1fr))",
|
|
575
|
-
6: "repeat(6, 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))"
|
|
576
595
|
},
|
|
577
596
|
height: ({ theme }) => __spreadProps(__spreadValues({
|
|
578
597
|
auto: "auto"
|
|
@@ -594,6 +613,9 @@ var require_config_full = __commonJS({
|
|
|
594
613
|
"5/6": "83.333333%",
|
|
595
614
|
full: "100%",
|
|
596
615
|
screen: "100vh",
|
|
616
|
+
svh: "100svh",
|
|
617
|
+
lvh: "100lvh",
|
|
618
|
+
dvh: "100dvh",
|
|
597
619
|
min: "min-content",
|
|
598
620
|
max: "max-content",
|
|
599
621
|
fit: "fit-content"
|
|
@@ -696,13 +718,15 @@ var require_config_full = __commonJS({
|
|
|
696
718
|
none: "none",
|
|
697
719
|
full: "100%",
|
|
698
720
|
screen: "100vh",
|
|
721
|
+
svh: "100svh",
|
|
722
|
+
lvh: "100lvh",
|
|
723
|
+
dvh: "100dvh",
|
|
699
724
|
min: "min-content",
|
|
700
725
|
max: "max-content",
|
|
701
726
|
fit: "fit-content"
|
|
702
727
|
}),
|
|
703
|
-
maxWidth: ({ theme, breakpoints }) => __spreadValues({
|
|
728
|
+
maxWidth: ({ theme, breakpoints }) => __spreadValues(__spreadProps(__spreadValues({}, theme("spacing")), {
|
|
704
729
|
none: "none",
|
|
705
|
-
0: "0rem",
|
|
706
730
|
xs: "20rem",
|
|
707
731
|
sm: "24rem",
|
|
708
732
|
md: "28rem",
|
|
@@ -719,22 +743,23 @@ var require_config_full = __commonJS({
|
|
|
719
743
|
max: "max-content",
|
|
720
744
|
fit: "fit-content",
|
|
721
745
|
prose: "65ch"
|
|
722
|
-
}, breakpoints(theme("screens"))),
|
|
723
|
-
minHeight: {
|
|
724
|
-
0: "0px",
|
|
746
|
+
}), breakpoints(theme("screens"))),
|
|
747
|
+
minHeight: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
|
|
725
748
|
full: "100%",
|
|
726
749
|
screen: "100vh",
|
|
750
|
+
svh: "100svh",
|
|
751
|
+
lvh: "100lvh",
|
|
752
|
+
dvh: "100dvh",
|
|
727
753
|
min: "min-content",
|
|
728
754
|
max: "max-content",
|
|
729
755
|
fit: "fit-content"
|
|
730
|
-
},
|
|
731
|
-
minWidth: {
|
|
732
|
-
0: "0px",
|
|
756
|
+
}),
|
|
757
|
+
minWidth: ({ theme }) => __spreadProps(__spreadValues({}, theme("spacing")), {
|
|
733
758
|
full: "100%",
|
|
734
759
|
min: "min-content",
|
|
735
760
|
max: "max-content",
|
|
736
761
|
fit: "fit-content"
|
|
737
|
-
},
|
|
762
|
+
}),
|
|
738
763
|
objectPosition: {
|
|
739
764
|
bottom: "bottom",
|
|
740
765
|
center: "center",
|
|
@@ -750,15 +775,21 @@ var require_config_full = __commonJS({
|
|
|
750
775
|
0: "0",
|
|
751
776
|
5: "0.05",
|
|
752
777
|
10: "0.1",
|
|
778
|
+
15: "0.15",
|
|
753
779
|
20: "0.2",
|
|
754
780
|
25: "0.25",
|
|
755
781
|
30: "0.3",
|
|
782
|
+
35: "0.35",
|
|
756
783
|
40: "0.4",
|
|
784
|
+
45: "0.45",
|
|
757
785
|
50: "0.5",
|
|
786
|
+
55: "0.55",
|
|
758
787
|
60: "0.6",
|
|
788
|
+
65: "0.65",
|
|
759
789
|
70: "0.7",
|
|
760
790
|
75: "0.75",
|
|
761
791
|
80: "0.8",
|
|
792
|
+
85: "0.85",
|
|
762
793
|
90: "0.9",
|
|
763
794
|
95: "0.95",
|
|
764
795
|
100: "1"
|
|
@@ -999,6 +1030,40 @@ var require_config_full = __commonJS({
|
|
|
999
1030
|
"3/4": "75%",
|
|
1000
1031
|
full: "100%"
|
|
1001
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
|
+
}),
|
|
1002
1067
|
width: ({ theme }) => __spreadProps(__spreadValues({
|
|
1003
1068
|
auto: "auto"
|
|
1004
1069
|
}, theme("spacing")), {
|
|
@@ -1030,6 +1095,9 @@ var require_config_full = __commonJS({
|
|
|
1030
1095
|
"11/12": "91.666667%",
|
|
1031
1096
|
full: "100%",
|
|
1032
1097
|
screen: "100vw",
|
|
1098
|
+
svw: "100svw",
|
|
1099
|
+
lvw: "100lvw",
|
|
1100
|
+
dvw: "100dvw",
|
|
1033
1101
|
min: "min-content",
|
|
1034
1102
|
max: "max-content",
|
|
1035
1103
|
fit: "fit-content"
|
|
@@ -1057,12 +1125,12 @@ var require_config_full = __commonJS({
|
|
|
1057
1125
|
|
|
1058
1126
|
// node_modules/tailwindcss/lib/public/default-theme.js
|
|
1059
1127
|
var require_default_theme = __commonJS({
|
|
1060
|
-
"node_modules/tailwindcss/lib/public/default-theme.js"(
|
|
1128
|
+
"node_modules/tailwindcss/lib/public/default-theme.js"(exports2) {
|
|
1061
1129
|
"use strict";
|
|
1062
|
-
Object.defineProperty(
|
|
1130
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1063
1131
|
value: true
|
|
1064
1132
|
});
|
|
1065
|
-
Object.defineProperty(
|
|
1133
|
+
Object.defineProperty(exports2, "default", {
|
|
1066
1134
|
enumerable: true,
|
|
1067
1135
|
get: function() {
|
|
1068
1136
|
return _default;
|
|
@@ -1081,7 +1149,7 @@ var require_default_theme = __commonJS({
|
|
|
1081
1149
|
|
|
1082
1150
|
// node_modules/tailwindcss/defaultTheme.js
|
|
1083
1151
|
var require_defaultTheme = __commonJS({
|
|
1084
|
-
"node_modules/tailwindcss/defaultTheme.js"(
|
|
1152
|
+
"node_modules/tailwindcss/defaultTheme.js"(exports2, module2) {
|
|
1085
1153
|
"use strict";
|
|
1086
1154
|
var defaultTheme2 = require_default_theme();
|
|
1087
1155
|
module2.exports = (defaultTheme2.__esModule ? defaultTheme2 : { default: defaultTheme2 }).default;
|
|
@@ -1090,12 +1158,12 @@ var require_defaultTheme = __commonJS({
|
|
|
1090
1158
|
|
|
1091
1159
|
// node_modules/tailwindcss/lib/util/createPlugin.js
|
|
1092
1160
|
var require_createPlugin = __commonJS({
|
|
1093
|
-
"node_modules/tailwindcss/lib/util/createPlugin.js"(
|
|
1161
|
+
"node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
|
|
1094
1162
|
"use strict";
|
|
1095
|
-
Object.defineProperty(
|
|
1163
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1096
1164
|
value: true
|
|
1097
1165
|
});
|
|
1098
|
-
Object.defineProperty(
|
|
1166
|
+
Object.defineProperty(exports2, "default", {
|
|
1099
1167
|
enumerable: true,
|
|
1100
1168
|
get: function() {
|
|
1101
1169
|
return _default;
|
|
@@ -1126,12 +1194,12 @@ var require_createPlugin = __commonJS({
|
|
|
1126
1194
|
|
|
1127
1195
|
// node_modules/tailwindcss/lib/public/create-plugin.js
|
|
1128
1196
|
var require_create_plugin = __commonJS({
|
|
1129
|
-
"node_modules/tailwindcss/lib/public/create-plugin.js"(
|
|
1197
|
+
"node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
|
|
1130
1198
|
"use strict";
|
|
1131
|
-
Object.defineProperty(
|
|
1199
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1132
1200
|
value: true
|
|
1133
1201
|
});
|
|
1134
|
-
Object.defineProperty(
|
|
1202
|
+
Object.defineProperty(exports2, "default", {
|
|
1135
1203
|
enumerable: true,
|
|
1136
1204
|
get: function() {
|
|
1137
1205
|
return _default;
|
|
@@ -1149,7 +1217,7 @@ var require_create_plugin = __commonJS({
|
|
|
1149
1217
|
|
|
1150
1218
|
// node_modules/tailwindcss/plugin.js
|
|
1151
1219
|
var require_plugin = __commonJS({
|
|
1152
|
-
"node_modules/tailwindcss/plugin.js"(
|
|
1220
|
+
"node_modules/tailwindcss/plugin.js"(exports2, module2) {
|
|
1153
1221
|
"use strict";
|
|
1154
1222
|
var createPlugin = require_create_plugin();
|
|
1155
1223
|
module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
|
|
@@ -1284,6 +1352,20 @@ var colors = {
|
|
|
1284
1352
|
700: "#D95477",
|
|
1285
1353
|
800: "#A02042",
|
|
1286
1354
|
900: "#731837"
|
|
1355
|
+
},
|
|
1356
|
+
brandMidnight: {
|
|
1357
|
+
10: "#f4f8fa",
|
|
1358
|
+
30: "#97a1b8",
|
|
1359
|
+
50: "#526288",
|
|
1360
|
+
80: "#0c3d60",
|
|
1361
|
+
100: "#000e38"
|
|
1362
|
+
},
|
|
1363
|
+
brandGreen: {
|
|
1364
|
+
10: "#e5fcf5",
|
|
1365
|
+
30: "#b2f7e1",
|
|
1366
|
+
50: "#78edc4",
|
|
1367
|
+
80: "#32ebae",
|
|
1368
|
+
100: "#03e5a4"
|
|
1287
1369
|
}
|
|
1288
1370
|
};
|
|
1289
1371
|
|
|
@@ -1310,11 +1392,11 @@ var background = {
|
|
|
1310
1392
|
DEFAULT: "#FFF",
|
|
1311
1393
|
dark: "#000",
|
|
1312
1394
|
alt: {
|
|
1313
|
-
DEFAULT: colors.grey["
|
|
1395
|
+
DEFAULT: colors.grey["100"],
|
|
1314
1396
|
dark: colors.grey["700"]
|
|
1315
1397
|
},
|
|
1316
1398
|
subtle: {
|
|
1317
|
-
DEFAULT: colors.
|
|
1399
|
+
DEFAULT: colors.grey["50"],
|
|
1318
1400
|
dark: colors.grey["800"]
|
|
1319
1401
|
},
|
|
1320
1402
|
inverse: {
|
|
@@ -1325,36 +1407,36 @@ var background = {
|
|
|
1325
1407
|
|
|
1326
1408
|
// src/colors/accent.ts
|
|
1327
1409
|
var accent = {
|
|
1328
|
-
DEFAULT: colors.
|
|
1329
|
-
dark: "
|
|
1410
|
+
DEFAULT: colors.brandMidnight["100"],
|
|
1411
|
+
dark: colors.brandMidnight["10"],
|
|
1330
1412
|
alt: {
|
|
1331
|
-
DEFAULT: colors.
|
|
1413
|
+
DEFAULT: colors.brandMidnight["80"],
|
|
1332
1414
|
dark: colors.grey["600"]
|
|
1333
1415
|
},
|
|
1334
1416
|
hover: {
|
|
1335
|
-
DEFAULT: colors.
|
|
1336
|
-
dark: colors.
|
|
1417
|
+
DEFAULT: colors.brandMidnight["80"],
|
|
1418
|
+
dark: colors.brandMidnight["30"]
|
|
1337
1419
|
},
|
|
1338
1420
|
focus: {
|
|
1339
|
-
DEFAULT: "
|
|
1421
|
+
DEFAULT: colors.brandMidnight["100"],
|
|
1340
1422
|
dark: colors.grey["100"]
|
|
1341
1423
|
}
|
|
1342
1424
|
};
|
|
1343
1425
|
|
|
1344
1426
|
// src/colors/border.ts
|
|
1345
1427
|
var border = {
|
|
1346
|
-
DEFAULT: colors.
|
|
1347
|
-
dark: colors.
|
|
1428
|
+
DEFAULT: colors.brandMidnight["30"],
|
|
1429
|
+
dark: colors.brandMidnight["50"],
|
|
1348
1430
|
hover: {
|
|
1349
|
-
DEFAULT: colors.
|
|
1350
|
-
dark: colors.
|
|
1431
|
+
DEFAULT: colors.brandMidnight["50"],
|
|
1432
|
+
dark: colors.brandMidnight["80"]
|
|
1351
1433
|
},
|
|
1352
1434
|
focus: {
|
|
1353
|
-
DEFAULT: colors.
|
|
1435
|
+
DEFAULT: colors.brandMidnight["80"],
|
|
1354
1436
|
dark: colors.grey["400"]
|
|
1355
1437
|
},
|
|
1356
1438
|
subtle: {
|
|
1357
|
-
DEFAULT: colors.
|
|
1439
|
+
DEFAULT: colors.brandMidnight["10"],
|
|
1358
1440
|
dark: colors.grey["700"]
|
|
1359
1441
|
}
|
|
1360
1442
|
};
|
|
@@ -1370,34 +1452,38 @@ var feedback = {
|
|
|
1370
1452
|
// src/colors/button.ts
|
|
1371
1453
|
var button = {
|
|
1372
1454
|
primary: {
|
|
1373
|
-
DEFAULT:
|
|
1374
|
-
dark:
|
|
1455
|
+
DEFAULT: accent.DEFAULT,
|
|
1456
|
+
dark: accent.dark,
|
|
1375
1457
|
hover: {
|
|
1376
|
-
DEFAULT:
|
|
1458
|
+
DEFAULT: accent.hover.DEFAULT,
|
|
1377
1459
|
dark: accent.hover.dark
|
|
1378
1460
|
},
|
|
1379
1461
|
focus: {
|
|
1380
|
-
DEFAULT: accent.DEFAULT,
|
|
1462
|
+
DEFAULT: accent.focus.DEFAULT,
|
|
1381
1463
|
dark: accent.focus.dark
|
|
1382
1464
|
},
|
|
1383
1465
|
disabled: {
|
|
1384
|
-
DEFAULT:
|
|
1466
|
+
DEFAULT: background.subtle.DEFAULT,
|
|
1467
|
+
dark: background.subtle.dark
|
|
1468
|
+
},
|
|
1469
|
+
selected: {
|
|
1470
|
+
DEFAILT: colors.grey["100"],
|
|
1385
1471
|
dark: background.subtle.dark
|
|
1386
1472
|
}
|
|
1387
1473
|
},
|
|
1388
1474
|
secondary: {
|
|
1389
1475
|
DEFAULT: "#FFF",
|
|
1390
|
-
dark: "
|
|
1476
|
+
dark: colors.grey["900"],
|
|
1391
1477
|
hover: {
|
|
1392
|
-
DEFAULT:
|
|
1478
|
+
DEFAULT: background.subtle.DEFAULT,
|
|
1393
1479
|
dark: background.subtle.dark
|
|
1394
1480
|
},
|
|
1395
1481
|
focus: {
|
|
1396
|
-
DEFAULT:
|
|
1397
|
-
dark:
|
|
1482
|
+
DEFAULT: background.alt.DEFAULT,
|
|
1483
|
+
dark: background.alt.dark
|
|
1398
1484
|
},
|
|
1399
1485
|
disabled: {
|
|
1400
|
-
DEFAULT:
|
|
1486
|
+
DEFAULT: background.subtle.DEFAULT,
|
|
1401
1487
|
dark: background.subtle.dark
|
|
1402
1488
|
},
|
|
1403
1489
|
border: {
|
|
@@ -1414,29 +1500,41 @@ var button = {
|
|
|
1414
1500
|
disabled: {
|
|
1415
1501
|
DEFAULT: border.subtle.DEFAULT,
|
|
1416
1502
|
dark: border.subtle.dark
|
|
1503
|
+
},
|
|
1504
|
+
selected: {
|
|
1505
|
+
DEFAILT: colors.grey["100"],
|
|
1506
|
+
dark: background.subtle.dark
|
|
1417
1507
|
}
|
|
1418
1508
|
}
|
|
1419
1509
|
},
|
|
1420
1510
|
tertiary: {
|
|
1421
1511
|
hover: {
|
|
1422
|
-
DEFAULT:
|
|
1512
|
+
DEFAULT: background.subtle.DEFAULT,
|
|
1423
1513
|
dark: background.subtle.dark
|
|
1424
1514
|
},
|
|
1425
1515
|
focus: {
|
|
1426
1516
|
DEFAULT: background.DEFAULT,
|
|
1427
1517
|
dark: colors.blue["900"]
|
|
1518
|
+
},
|
|
1519
|
+
selected: {
|
|
1520
|
+
DEFAILT: colors.grey["100"],
|
|
1521
|
+
dark: background.subtle.dark
|
|
1428
1522
|
}
|
|
1429
1523
|
},
|
|
1430
1524
|
success: {
|
|
1431
1525
|
DEFAULT: feedback.green,
|
|
1432
1526
|
hover: {
|
|
1433
|
-
DEFAULT: colors.green["
|
|
1527
|
+
DEFAULT: colors.green["600"]
|
|
1434
1528
|
},
|
|
1435
1529
|
focus: {
|
|
1436
|
-
DEFAULT: colors.green["
|
|
1530
|
+
DEFAULT: colors.green["700"]
|
|
1437
1531
|
},
|
|
1438
1532
|
disabled: {
|
|
1439
1533
|
DEFAULT: colors.grey["50"]
|
|
1534
|
+
},
|
|
1535
|
+
selected: {
|
|
1536
|
+
DEFAILT: colors.grey["100"],
|
|
1537
|
+
dark: background.subtle.dark
|
|
1440
1538
|
}
|
|
1441
1539
|
},
|
|
1442
1540
|
danger: {
|
|
@@ -1445,10 +1543,14 @@ var button = {
|
|
|
1445
1543
|
DEFAULT: colors.red["700"]
|
|
1446
1544
|
},
|
|
1447
1545
|
focus: {
|
|
1448
|
-
DEFAULT: colors.red["
|
|
1546
|
+
DEFAULT: colors.red["800"]
|
|
1449
1547
|
},
|
|
1450
1548
|
disabled: {
|
|
1451
1549
|
DEFAULT: colors.grey["50"]
|
|
1550
|
+
},
|
|
1551
|
+
selected: {
|
|
1552
|
+
DEFAILT: colors.grey["100"],
|
|
1553
|
+
dark: background.subtle.dark
|
|
1452
1554
|
}
|
|
1453
1555
|
}
|
|
1454
1556
|
};
|
|
@@ -1457,8 +1559,8 @@ var button = {
|
|
|
1457
1559
|
var colors_default = __spreadValues({
|
|
1458
1560
|
transparent: "transparent",
|
|
1459
1561
|
current: "currentColor",
|
|
1460
|
-
primary: colors.
|
|
1461
|
-
secondary: colors.
|
|
1562
|
+
primary: colors.brandMidnight,
|
|
1563
|
+
secondary: colors.brandGreen,
|
|
1462
1564
|
foreground,
|
|
1463
1565
|
background,
|
|
1464
1566
|
accent,
|
|
@@ -1475,6 +1577,26 @@ var colors_default = __spreadValues({
|
|
|
1475
1577
|
|
|
1476
1578
|
// tailwind.config.ts
|
|
1477
1579
|
var import_defaultTheme = __toESM(require_defaultTheme());
|
|
1580
|
+
|
|
1581
|
+
// src/animations/index.ts
|
|
1582
|
+
var animations_default = {
|
|
1583
|
+
keyframes: {
|
|
1584
|
+
slideDown: {
|
|
1585
|
+
from: { height: "0" },
|
|
1586
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
1587
|
+
},
|
|
1588
|
+
slideUp: {
|
|
1589
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
1590
|
+
to: { height: "0" }
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
animation: {
|
|
1594
|
+
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
1595
|
+
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)"
|
|
1596
|
+
}
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
// tailwind.config.ts
|
|
1478
1600
|
var tailwind_config_default = {
|
|
1479
1601
|
content: ["./src/**/*.tsx"],
|
|
1480
1602
|
darkMode: "class",
|
|
@@ -1491,6 +1613,8 @@ var tailwind_config_default = {
|
|
|
1491
1613
|
blue: "0px 0px 0px 4px rgb(118,169,250)",
|
|
1492
1614
|
red: "0px 0px 0px 4px rgb(249,128,128)",
|
|
1493
1615
|
green: "0px 0px 0px 4px rgb(49,196,141,1)",
|
|
1616
|
+
brandGreen: "0px 0px 0px 4px #03e5a4",
|
|
1617
|
+
brandGreen10: "0px 0px 0px 4px #e5fcf5",
|
|
1494
1618
|
none: "0px 0px"
|
|
1495
1619
|
},
|
|
1496
1620
|
fontFamily: {
|
|
@@ -1502,6 +1626,10 @@ var tailwind_config_default = {
|
|
|
1502
1626
|
2: "2px",
|
|
1503
1627
|
3: "4px",
|
|
1504
1628
|
4: "6px"
|
|
1629
|
+
},
|
|
1630
|
+
extend: {
|
|
1631
|
+
keyframes: animations_default.keyframes,
|
|
1632
|
+
animation: animations_default.animation
|
|
1505
1633
|
}
|
|
1506
1634
|
}
|
|
1507
1635
|
};
|
|
@@ -1512,7 +1640,7 @@ var import_path = __toESM(require("path"));
|
|
|
1512
1640
|
var tailwind_plugin_default = (0, import_plugin.default)(
|
|
1513
1641
|
({ config }) => {
|
|
1514
1642
|
const twConfig = config();
|
|
1515
|
-
|
|
1643
|
+
const quantumPkgLoc = import_path.default.join(__dirname, "index.js");
|
|
1516
1644
|
if (Array.isArray(twConfig.content)) {
|
|
1517
1645
|
if (!twConfig.content.includes(quantumPkgLoc)) {
|
|
1518
1646
|
twConfig.content.push(quantumPkgLoc);
|