@particle-academy/react-fancy 6.0.0 → 6.1.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/CHANGELOG.md +50 -0
- package/dist/badge.cjs +3 -2
- package/dist/badge.js +2 -1
- package/dist/button.cjs +3 -3
- package/dist/button.js +1 -1
- package/dist/callout.cjs +2 -2
- package/dist/callout.js +1 -1
- package/dist/chat-thread.cjs +7 -6
- package/dist/chat-thread.js +5 -4
- package/dist/{chunk-PACFMPSX.js → chunk-23KQF47X.js} +5 -5
- package/dist/{chunk-PACFMPSX.js.map → chunk-23KQF47X.js.map} +1 -1
- package/dist/{chunk-GBR4Q6CP.js → chunk-3AA2KGZG.js} +3 -3
- package/dist/{chunk-GBR4Q6CP.js.map → chunk-3AA2KGZG.js.map} +1 -1
- package/dist/{chunk-WLDDGIGC.js → chunk-4GPH7HOR.js} +11 -3
- package/dist/chunk-4GPH7HOR.js.map +1 -0
- package/dist/{chunk-LWOA2ET6.js → chunk-B6WTCAGY.js} +3 -3
- package/dist/{chunk-LWOA2ET6.js.map → chunk-B6WTCAGY.js.map} +1 -1
- package/dist/{chunk-JKH5ODNG.cjs → chunk-CKO2KCUN.cjs} +9 -9
- package/dist/{chunk-JKH5ODNG.cjs.map → chunk-CKO2KCUN.cjs.map} +1 -1
- package/dist/{chunk-BQFPC5FL.js → chunk-ESCIXKFT.js} +3 -3
- package/dist/{chunk-BQFPC5FL.js.map → chunk-ESCIXKFT.js.map} +1 -1
- package/dist/{chunk-VZ7IDHUY.js → chunk-F4OYQ2XZ.js} +4 -4
- package/dist/{chunk-VZ7IDHUY.js.map → chunk-F4OYQ2XZ.js.map} +1 -1
- package/dist/{chunk-ND5SBHGH.cjs → chunk-FKZB27OM.cjs} +6 -6
- package/dist/{chunk-ND5SBHGH.cjs.map → chunk-FKZB27OM.cjs.map} +1 -1
- package/dist/{chunk-EZA6GWZL.cjs → chunk-GK7IGL7N.cjs} +195 -8
- package/dist/chunk-GK7IGL7N.cjs.map +1 -0
- package/dist/{chunk-KOECVLC4.js → chunk-GSMD5NK5.js} +3 -3
- package/dist/{chunk-KOECVLC4.js.map → chunk-GSMD5NK5.js.map} +1 -1
- package/dist/{chunk-ZXGX5RI5.cjs → chunk-I2VAGZXY.cjs} +4 -4
- package/dist/{chunk-ZXGX5RI5.cjs.map → chunk-I2VAGZXY.cjs.map} +1 -1
- package/dist/{chunk-IA6JKI4P.cjs → chunk-K7JOZQRK.cjs} +15 -15
- package/dist/{chunk-IA6JKI4P.cjs.map → chunk-K7JOZQRK.cjs.map} +1 -1
- package/dist/{chunk-H2YRZYKK.cjs → chunk-KFA7B6WP.cjs} +4 -4
- package/dist/{chunk-H2YRZYKK.cjs.map → chunk-KFA7B6WP.cjs.map} +1 -1
- package/dist/{chunk-ZXZJYVWP.js → chunk-KPRSRWNM.js} +3 -3
- package/dist/{chunk-ZXZJYVWP.js.map → chunk-KPRSRWNM.js.map} +1 -1
- package/dist/{chunk-VNOUXFZ2.cjs → chunk-KSSTFLV2.cjs} +20 -20
- package/dist/{chunk-VNOUXFZ2.cjs.map → chunk-KSSTFLV2.cjs.map} +1 -1
- package/dist/{chunk-YJHP5FVA.js → chunk-MTDOFZIB.js} +196 -9
- package/dist/chunk-MTDOFZIB.js.map +1 -0
- package/dist/{chunk-BX6ZVWTO.cjs → chunk-NZHVDWOM.cjs} +11 -3
- package/dist/chunk-NZHVDWOM.cjs.map +1 -0
- package/dist/chunk-OCHUZ7J3.cjs +60 -0
- package/dist/chunk-OCHUZ7J3.cjs.map +1 -0
- package/dist/{chunk-BGRVHPGP.cjs → chunk-OUNGGQIS.cjs} +6 -6
- package/dist/{chunk-BGRVHPGP.cjs.map → chunk-OUNGGQIS.cjs.map} +1 -1
- package/dist/chunk-OZ4QFJ7N.js +58 -0
- package/dist/chunk-OZ4QFJ7N.js.map +1 -0
- package/dist/{chunk-MOU6O324.cjs → chunk-S53A6JIE.js} +3 -58
- package/dist/chunk-S53A6JIE.js.map +1 -0
- package/dist/{chunk-X354OVSC.cjs → chunk-SRICSNL4.cjs} +12 -12
- package/dist/{chunk-X354OVSC.cjs.map → chunk-SRICSNL4.cjs.map} +1 -1
- package/dist/{chunk-3RIBZZLT.js → chunk-TH4JZAMK.js} +5 -5
- package/dist/{chunk-3RIBZZLT.js.map → chunk-TH4JZAMK.js.map} +1 -1
- package/dist/{chunk-CWWMT57K.js → chunk-WF6AYHOS.js} +4 -4
- package/dist/{chunk-CWWMT57K.js.map → chunk-WF6AYHOS.js.map} +1 -1
- package/dist/{chunk-LCNHEYIM.cjs → chunk-WNWEC5OU.cjs} +3 -3
- package/dist/{chunk-LCNHEYIM.cjs.map → chunk-WNWEC5OU.cjs.map} +1 -1
- package/dist/{chunk-6FCQD2KQ.js → chunk-X6LGRB4H.cjs} +7 -55
- package/dist/chunk-X6LGRB4H.cjs.map +1 -0
- package/dist/content-renderer.cjs +5 -5
- package/dist/content-renderer.js +2 -2
- package/dist/editor.cjs +5 -5
- package/dist/editor.js +3 -3
- package/dist/index.cjs +51 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/dist/json-editor.cjs +16 -15
- package/dist/json-editor.js +5 -4
- package/dist/magic-wand.cjs +5 -4
- package/dist/magic-wand.js +4 -3
- package/dist/prompt-input.cjs +5 -5
- package/dist/prompt-input.js +2 -2
- package/dist/reason-tag.cjs +3 -3
- package/dist/reason-tag.js +2 -2
- package/dist/sidebar.cjs +4 -3
- package/dist/sidebar.d.cts +49 -4
- package/dist/sidebar.d.ts +49 -4
- package/dist/sidebar.js +2 -1
- package/dist/toast.cjs +5 -4
- package/dist/toast.js +3 -2
- package/docs/Button.md +8 -0
- package/docs/Sidebar.md +75 -1
- package/package.json +1 -1
- package/dist/chunk-6FCQD2KQ.js.map +0 -1
- package/dist/chunk-BX6ZVWTO.cjs.map +0 -1
- package/dist/chunk-EZA6GWZL.cjs.map +0 -1
- package/dist/chunk-MOU6O324.cjs.map +0 -1
- package/dist/chunk-WLDDGIGC.js.map +0 -1
- package/dist/chunk-YJHP5FVA.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -15,10 +15,10 @@ var chunkH7ELUIF6_cjs = require('./chunk-H7ELUIF6.cjs');
|
|
|
15
15
|
var chunk4DL2U23D_cjs = require('./chunk-4DL2U23D.cjs');
|
|
16
16
|
var chunkYH75G6SP_cjs = require('./chunk-YH75G6SP.cjs');
|
|
17
17
|
var chunkUXYFM2XT_cjs = require('./chunk-UXYFM2XT.cjs');
|
|
18
|
-
var
|
|
18
|
+
var chunkKFA7B6WP_cjs = require('./chunk-KFA7B6WP.cjs');
|
|
19
19
|
var chunkL5AI4MGV_cjs = require('./chunk-L5AI4MGV.cjs');
|
|
20
20
|
var chunkMF2DCMOA_cjs = require('./chunk-MF2DCMOA.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunkGK7IGL7N_cjs = require('./chunk-GK7IGL7N.cjs');
|
|
22
22
|
var chunkFNIHCNVD_cjs = require('./chunk-FNIHCNVD.cjs');
|
|
23
23
|
var chunk7DDUMW4R_cjs = require('./chunk-7DDUMW4R.cjs');
|
|
24
24
|
var chunkFVQO75KY_cjs = require('./chunk-FVQO75KY.cjs');
|
|
@@ -26,11 +26,11 @@ var chunkATJSHM6J_cjs = require('./chunk-ATJSHM6J.cjs');
|
|
|
26
26
|
var chunkYJXP6AOL_cjs = require('./chunk-YJXP6AOL.cjs');
|
|
27
27
|
var chunkCQ54H7DZ_cjs = require('./chunk-CQ54H7DZ.cjs');
|
|
28
28
|
require('./chunk-XURQVDCN.cjs');
|
|
29
|
-
var
|
|
29
|
+
var chunkOUNGGQIS_cjs = require('./chunk-OUNGGQIS.cjs');
|
|
30
30
|
var chunkOASSZI6M_cjs = require('./chunk-OASSZI6M.cjs');
|
|
31
31
|
var chunkBK6XQQYG_cjs = require('./chunk-BK6XQQYG.cjs');
|
|
32
32
|
var chunkAE53RKWR_cjs = require('./chunk-AE53RKWR.cjs');
|
|
33
|
-
var
|
|
33
|
+
var chunkI2VAGZXY_cjs = require('./chunk-I2VAGZXY.cjs');
|
|
34
34
|
var chunkQP6VNKLW_cjs = require('./chunk-QP6VNKLW.cjs');
|
|
35
35
|
require('./chunk-I27K6NLX.cjs');
|
|
36
36
|
var chunkCEFK54WP_cjs = require('./chunk-CEFK54WP.cjs');
|
|
@@ -53,14 +53,14 @@ var chunkWMANILKC_cjs = require('./chunk-WMANILKC.cjs');
|
|
|
53
53
|
var chunk7QENPLOP_cjs = require('./chunk-7QENPLOP.cjs');
|
|
54
54
|
var chunkAYBKPAI2_cjs = require('./chunk-AYBKPAI2.cjs');
|
|
55
55
|
var chunkUK6BGM74_cjs = require('./chunk-UK6BGM74.cjs');
|
|
56
|
-
var
|
|
56
|
+
var chunkKSSTFLV2_cjs = require('./chunk-KSSTFLV2.cjs');
|
|
57
57
|
var chunk7JLKOVHX_cjs = require('./chunk-7JLKOVHX.cjs');
|
|
58
58
|
var chunk2O5UXH5R_cjs = require('./chunk-2O5UXH5R.cjs');
|
|
59
59
|
var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
|
|
60
60
|
var chunkHNJXBMHI_cjs = require('./chunk-HNJXBMHI.cjs');
|
|
61
61
|
var chunkS4FXY3B4_cjs = require('./chunk-S4FXY3B4.cjs');
|
|
62
62
|
var chunkL4JIBKFW_cjs = require('./chunk-L4JIBKFW.cjs');
|
|
63
|
-
var
|
|
63
|
+
var chunkFKZB27OM_cjs = require('./chunk-FKZB27OM.cjs');
|
|
64
64
|
var chunkMAZEX4EZ_cjs = require('./chunk-MAZEX4EZ.cjs');
|
|
65
65
|
require('./chunk-MRZXTL46.cjs');
|
|
66
66
|
var chunkP53432AK_cjs = require('./chunk-P53432AK.cjs');
|
|
@@ -82,7 +82,7 @@ var chunkFQSSVOVQ_cjs = require('./chunk-FQSSVOVQ.cjs');
|
|
|
82
82
|
var chunkZ7SQMQTF_cjs = require('./chunk-Z7SQMQTF.cjs');
|
|
83
83
|
var chunkAJPYGRLA_cjs = require('./chunk-AJPYGRLA.cjs');
|
|
84
84
|
var chunkXZOBGKZL_cjs = require('./chunk-XZOBGKZL.cjs');
|
|
85
|
-
var
|
|
85
|
+
var chunkSRICSNL4_cjs = require('./chunk-SRICSNL4.cjs');
|
|
86
86
|
var chunkA2JUTNE6_cjs = require('./chunk-A2JUTNE6.cjs');
|
|
87
87
|
var chunkT6YELZPJ_cjs = require('./chunk-T6YELZPJ.cjs');
|
|
88
88
|
var chunkVQJ5LJJH_cjs = require('./chunk-VQJ5LJJH.cjs');
|
|
@@ -95,9 +95,9 @@ var chunkWNUAGRQN_cjs = require('./chunk-WNUAGRQN.cjs');
|
|
|
95
95
|
var chunkJY7HPFOE_cjs = require('./chunk-JY7HPFOE.cjs');
|
|
96
96
|
var chunkONHT2PDW_cjs = require('./chunk-ONHT2PDW.cjs');
|
|
97
97
|
require('./chunk-AIA5UNQ5.cjs');
|
|
98
|
-
var
|
|
98
|
+
var chunkK7JOZQRK_cjs = require('./chunk-K7JOZQRK.cjs');
|
|
99
99
|
require('./chunk-S3TRSECD.cjs');
|
|
100
|
-
var
|
|
100
|
+
var chunkCKO2KCUN_cjs = require('./chunk-CKO2KCUN.cjs');
|
|
101
101
|
require('./chunk-2C64OVOZ.cjs');
|
|
102
102
|
var chunkG7227RTY_cjs = require('./chunk-G7227RTY.cjs');
|
|
103
103
|
require('./chunk-XFBLUPKF.cjs');
|
|
@@ -114,18 +114,19 @@ require('./chunk-MKHYENKR.cjs');
|
|
|
114
114
|
var chunkTI7D4QDM_cjs = require('./chunk-TI7D4QDM.cjs');
|
|
115
115
|
var chunkBJL3VDRK_cjs = require('./chunk-BJL3VDRK.cjs');
|
|
116
116
|
require('./chunk-VBWRH4UW.cjs');
|
|
117
|
-
var
|
|
117
|
+
var chunkOCHUZ7J3_cjs = require('./chunk-OCHUZ7J3.cjs');
|
|
118
|
+
require('./chunk-X6LGRB4H.cjs');
|
|
118
119
|
var chunkQUKUX5KU_cjs = require('./chunk-QUKUX5KU.cjs');
|
|
119
120
|
var chunk35S5BTZH_cjs = require('./chunk-35S5BTZH.cjs');
|
|
120
121
|
var chunk57FQGQJK_cjs = require('./chunk-57FQGQJK.cjs');
|
|
121
122
|
var chunkOUYC6EIL_cjs = require('./chunk-OUYC6EIL.cjs');
|
|
122
123
|
require('./chunk-M5MUGSON.cjs');
|
|
123
|
-
var
|
|
124
|
+
var chunkNZHVDWOM_cjs = require('./chunk-NZHVDWOM.cjs');
|
|
124
125
|
var chunkXCZZVRBY_cjs = require('./chunk-XCZZVRBY.cjs');
|
|
125
126
|
var chunkMXWR3T3N_cjs = require('./chunk-MXWR3T3N.cjs');
|
|
126
127
|
var chunkCQ7QXZLR_cjs = require('./chunk-CQ7QXZLR.cjs');
|
|
127
128
|
require('./chunk-3I2KWNXT.cjs');
|
|
128
|
-
var
|
|
129
|
+
var chunkWNWEC5OU_cjs = require('./chunk-WNWEC5OU.cjs');
|
|
129
130
|
var chunkCVDL6C2O_cjs = require('./chunk-CVDL6C2O.cjs');
|
|
130
131
|
var chunkPCNJJVTF_cjs = require('./chunk-PCNJJVTF.cjs');
|
|
131
132
|
var chunkSNHU2AI4_cjs = require('./chunk-SNHU2AI4.cjs');
|
|
@@ -264,11 +265,11 @@ Object.defineProperty(exports, "Timeline", {
|
|
|
264
265
|
});
|
|
265
266
|
Object.defineProperty(exports, "Toast", {
|
|
266
267
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkKFA7B6WP_cjs.Toast; }
|
|
268
269
|
});
|
|
269
270
|
Object.defineProperty(exports, "useToast", {
|
|
270
271
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkKFA7B6WP_cjs.useToast; }
|
|
272
273
|
});
|
|
273
274
|
Object.defineProperty(exports, "TreeNav", {
|
|
274
275
|
enumerable: true,
|
|
@@ -284,11 +285,11 @@ Object.defineProperty(exports, "VirtualList", {
|
|
|
284
285
|
});
|
|
285
286
|
Object.defineProperty(exports, "Sidebar", {
|
|
286
287
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkGK7IGL7N_cjs.Sidebar; }
|
|
288
289
|
});
|
|
289
290
|
Object.defineProperty(exports, "useSidebar", {
|
|
290
291
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkGK7IGL7N_cjs.useSidebar; }
|
|
292
293
|
});
|
|
293
294
|
Object.defineProperty(exports, "Skeleton", {
|
|
294
295
|
enumerable: true,
|
|
@@ -324,27 +325,27 @@ Object.defineProperty(exports, "useTabs", {
|
|
|
324
325
|
});
|
|
325
326
|
Object.defineProperty(exports, "PromptInput", {
|
|
326
327
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkOUNGGQIS_cjs.PromptInput; }
|
|
328
329
|
});
|
|
329
330
|
Object.defineProperty(exports, "browserPlatformHints", {
|
|
330
331
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkOUNGGQIS_cjs.browserPlatformHints; }
|
|
332
333
|
});
|
|
333
334
|
Object.defineProperty(exports, "detectPlatform", {
|
|
334
335
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkOUNGGQIS_cjs.detectPlatform; }
|
|
336
337
|
});
|
|
337
338
|
Object.defineProperty(exports, "modifierKeyLabel", {
|
|
338
339
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkOUNGGQIS_cjs.modifierKeyLabel; }
|
|
340
341
|
});
|
|
341
342
|
Object.defineProperty(exports, "promptDataUrlToFile", {
|
|
342
343
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkOUNGGQIS_cjs.promptDataUrlToFile; }
|
|
344
345
|
});
|
|
345
346
|
Object.defineProperty(exports, "promptFileToDataUrl", {
|
|
346
347
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkOUNGGQIS_cjs.promptFileToDataUrl; }
|
|
348
349
|
});
|
|
349
350
|
Object.defineProperty(exports, "Tooltip", {
|
|
350
351
|
enumerable: true,
|
|
@@ -368,7 +369,7 @@ Object.defineProperty(exports, "selectMode", {
|
|
|
368
369
|
});
|
|
369
370
|
Object.defineProperty(exports, "ReasonTag", {
|
|
370
371
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkI2VAGZXY_cjs.ReasonTag; }
|
|
372
373
|
});
|
|
373
374
|
Object.defineProperty(exports, "ReorderableGrid", {
|
|
374
375
|
enumerable: true,
|
|
@@ -496,51 +497,51 @@ Object.defineProperty(exports, "textareaAdapter", {
|
|
|
496
497
|
});
|
|
497
498
|
Object.defineProperty(exports, "JSON_FIELD_TYPES", {
|
|
498
499
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkKSSTFLV2_cjs.JSON_FIELD_TYPES; }
|
|
500
501
|
});
|
|
501
502
|
Object.defineProperty(exports, "JsonEditor", {
|
|
502
503
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkKSSTFLV2_cjs.JsonEditor; }
|
|
504
505
|
});
|
|
505
506
|
Object.defineProperty(exports, "applyJsonEdit", {
|
|
506
507
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunkKSSTFLV2_cjs.applyJsonEdit; }
|
|
508
509
|
});
|
|
509
510
|
Object.defineProperty(exports, "describeEdit", {
|
|
510
511
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunkKSSTFLV2_cjs.describeEdit; }
|
|
512
513
|
});
|
|
513
514
|
Object.defineProperty(exports, "findJsonConflicts", {
|
|
514
515
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunkKSSTFLV2_cjs.findJsonConflicts; }
|
|
516
517
|
});
|
|
517
518
|
Object.defineProperty(exports, "getAtPath", {
|
|
518
519
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunkKSSTFLV2_cjs.getAtPath; }
|
|
520
521
|
});
|
|
521
522
|
Object.defineProperty(exports, "inferType", {
|
|
522
523
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunkKSSTFLV2_cjs.inferType; }
|
|
524
525
|
});
|
|
525
526
|
Object.defineProperty(exports, "parseKeyMap", {
|
|
526
527
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkKSSTFLV2_cjs.parseKeyMap; }
|
|
528
529
|
});
|
|
529
530
|
Object.defineProperty(exports, "parsePath", {
|
|
530
531
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunkKSSTFLV2_cjs.parsePath; }
|
|
532
533
|
});
|
|
533
534
|
Object.defineProperty(exports, "pathToString", {
|
|
534
535
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunkKSSTFLV2_cjs.pathToString; }
|
|
536
537
|
});
|
|
537
538
|
Object.defineProperty(exports, "resolveKeyRule", {
|
|
538
539
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
540
|
+
get: function () { return chunkKSSTFLV2_cjs.resolveKeyRule; }
|
|
540
541
|
});
|
|
541
542
|
Object.defineProperty(exports, "typeMatches", {
|
|
542
543
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
544
|
+
get: function () { return chunkKSSTFLV2_cjs.typeMatches; }
|
|
544
545
|
});
|
|
545
546
|
Object.defineProperty(exports, "Select", {
|
|
546
547
|
enumerable: true,
|
|
@@ -572,7 +573,7 @@ Object.defineProperty(exports, "Kbd", {
|
|
|
572
573
|
});
|
|
573
574
|
Object.defineProperty(exports, "MagicWand", {
|
|
574
575
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
576
|
+
get: function () { return chunkFKZB27OM_cjs.MagicWand; }
|
|
576
577
|
});
|
|
577
578
|
Object.defineProperty(exports, "Textarea", {
|
|
578
579
|
enumerable: true,
|
|
@@ -692,11 +693,11 @@ Object.defineProperty(exports, "useDropdown", {
|
|
|
692
693
|
});
|
|
693
694
|
Object.defineProperty(exports, "Editor", {
|
|
694
695
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
696
|
+
get: function () { return chunkSRICSNL4_cjs.Editor; }
|
|
696
697
|
});
|
|
697
698
|
Object.defineProperty(exports, "useEditor", {
|
|
698
699
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
700
|
+
get: function () { return chunkSRICSNL4_cjs.useEditor; }
|
|
700
701
|
});
|
|
701
702
|
Object.defineProperty(exports, "THEME_STORAGE_KEY", {
|
|
702
703
|
enumerable: true,
|
|
@@ -792,27 +793,27 @@ Object.defineProperty(exports, "ChatDrawer", {
|
|
|
792
793
|
});
|
|
793
794
|
Object.defineProperty(exports, "ChatMessage", {
|
|
794
795
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
796
|
+
get: function () { return chunkK7JOZQRK_cjs.ChatMessage; }
|
|
796
797
|
});
|
|
797
798
|
Object.defineProperty(exports, "ChatThread", {
|
|
798
799
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
800
|
+
get: function () { return chunkK7JOZQRK_cjs.ChatThread; }
|
|
800
801
|
});
|
|
801
802
|
Object.defineProperty(exports, "ContentRenderer", {
|
|
802
803
|
enumerable: true,
|
|
803
|
-
get: function () { return
|
|
804
|
+
get: function () { return chunkCKO2KCUN_cjs.ContentRenderer; }
|
|
804
805
|
});
|
|
805
806
|
Object.defineProperty(exports, "registerExtension", {
|
|
806
807
|
enumerable: true,
|
|
807
|
-
get: function () { return
|
|
808
|
+
get: function () { return chunkCKO2KCUN_cjs.registerExtension; }
|
|
808
809
|
});
|
|
809
810
|
Object.defineProperty(exports, "registerExtensions", {
|
|
810
811
|
enumerable: true,
|
|
811
|
-
get: function () { return
|
|
812
|
+
get: function () { return chunkCKO2KCUN_cjs.registerExtensions; }
|
|
812
813
|
});
|
|
813
814
|
Object.defineProperty(exports, "renderMarkdown", {
|
|
814
815
|
enumerable: true,
|
|
815
|
-
get: function () { return
|
|
816
|
+
get: function () { return chunkCKO2KCUN_cjs.renderMarkdown; }
|
|
816
817
|
});
|
|
817
818
|
Object.defineProperty(exports, "CodeView", {
|
|
818
819
|
enumerable: true,
|
|
@@ -868,7 +869,7 @@ Object.defineProperty(exports, "Avatar", {
|
|
|
868
869
|
});
|
|
869
870
|
Object.defineProperty(exports, "Badge", {
|
|
870
871
|
enumerable: true,
|
|
871
|
-
get: function () { return
|
|
872
|
+
get: function () { return chunkOCHUZ7J3_cjs.Badge; }
|
|
872
873
|
});
|
|
873
874
|
Object.defineProperty(exports, "Brand", {
|
|
874
875
|
enumerable: true,
|
|
@@ -900,19 +901,19 @@ Object.defineProperty(exports, "useEscapeLayer", {
|
|
|
900
901
|
});
|
|
901
902
|
Object.defineProperty(exports, "Action", {
|
|
902
903
|
enumerable: true,
|
|
903
|
-
get: function () { return
|
|
904
|
+
get: function () { return chunkNZHVDWOM_cjs.Action; }
|
|
904
905
|
});
|
|
905
906
|
Object.defineProperty(exports, "Button", {
|
|
906
907
|
enumerable: true,
|
|
907
|
-
get: function () { return
|
|
908
|
+
get: function () { return chunkNZHVDWOM_cjs.Button; }
|
|
908
909
|
});
|
|
909
910
|
Object.defineProperty(exports, "sanitizeHref", {
|
|
910
911
|
enumerable: true,
|
|
911
|
-
get: function () { return
|
|
912
|
+
get: function () { return chunkNZHVDWOM_cjs.sanitizeHref; }
|
|
912
913
|
});
|
|
913
914
|
Object.defineProperty(exports, "sanitizeHtml", {
|
|
914
915
|
enumerable: true,
|
|
915
|
-
get: function () { return
|
|
916
|
+
get: function () { return chunkNZHVDWOM_cjs.sanitizeHtml; }
|
|
916
917
|
});
|
|
917
918
|
Object.defineProperty(exports, "EMOJI_CATEGORY_ORDER", {
|
|
918
919
|
enumerable: true,
|
|
@@ -980,7 +981,7 @@ Object.defineProperty(exports, "Calendar", {
|
|
|
980
981
|
});
|
|
981
982
|
Object.defineProperty(exports, "Callout", {
|
|
982
983
|
enumerable: true,
|
|
983
|
-
get: function () { return
|
|
984
|
+
get: function () { return chunkWNWEC5OU_cjs.Callout; }
|
|
984
985
|
});
|
|
985
986
|
Object.defineProperty(exports, "Accordion", {
|
|
986
987
|
enumerable: true,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme-tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/theme-tokens.ts"],"names":[],"mappings":"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","file":"index.cjs","sourcesContent":["/**\n * Semantic theme tokens — the small set of colours the kit's DOM components\n * read, so a host can repaint the whole kit with its own palette WITHOUT\n * remapping Tailwind's `zinc` or `violet`.\n *\n * Each role is two CSS custom properties, one per mode:\n *\n * --fancy-surface the light value\n * --fancy-surface-dark the dark value\n *\n * Components read them through their var() FALLBACK, which is the colour the\n * component used before these existed:\n *\n * bg-[color:var(--fancy-surface,var(--color-white))]\n * dark:bg-[color:var(--fancy-surface-dark,var(--color-zinc-900))]\n *\n * So:\n * - **Set nothing and nothing changes.** An unset custom property resolves to\n * its fallback, which is the exact declaration the old `bg-white` produced.\n * - **Set one and every surface follows**, wherever the variable is in scope:\n * `:root`, `body`, or any wrapper element. No selector to match, no layer or\n * specificity to win — a custom property is inherited, not cascaded against.\n * - **Both modes are stated, not derived.** The dark value is a separate\n * variable rather than a flip under `.dark`, so which one applies is decided\n * by the host's own `dark:` variant — the same switch that drives every\n * other `dark:` utility in the kit. (See `dark-variant.css` for a variant\n * that follows `[data-theme=\"dark\"]` as well as `.dark`.)\n *\n * NOT covered, deliberately: colours that ENCODE DATA — chart series,\n * file-type marks, mood and confidence scales, event kinds. Repainting those\n * with a host's neutral palette would erase what they mean. A component's\n * explicit `color` prop (Badge, Button, Callout …) is also untouched: that is\n * the host choosing a hue, not the kit choosing one for it.\n *\n * `light` / `dark` are the defaults exactly as components write them in their\n * fallbacks. `tests/theme-tokens.test.tsx` fails if a component's fallback\n * disagrees with this table, so the table is the contract rather than a\n * description of it.\n */\nexport const THEME_TOKENS = {\n surface: {\n variable: \"--fancy-surface\",\n darkVariable: \"--fancy-surface-dark\",\n light: \"var(--color-white)\",\n dark: \"var(--color-zinc-900)\",\n description: \"Panels, cards, overlays (menus, modals, popovers, toasts), sidebars and navbars.\",\n },\n \"surface-muted\": {\n variable: \"--fancy-surface-muted\",\n darkVariable: \"--fancy-surface-muted-dark\",\n light: \"var(--color-zinc-100)\",\n dark: \"var(--color-zinc-800)\",\n description: \"Hovered and selected rows, chips, inset wells, toolbar buttons.\",\n },\n border: {\n variable: \"--fancy-border\",\n darkVariable: \"--fancy-border-dark\",\n light: \"var(--color-zinc-200)\",\n dark: \"var(--color-zinc-700)\",\n description: \"Outlines, dividers, separators and tracks (skeletons, progress, sliders).\",\n },\n \"border-strong\": {\n variable: \"--fancy-border-strong\",\n darkVariable: \"--fancy-border-strong-dark\",\n light: \"var(--color-zinc-300)\",\n dark: \"var(--color-zinc-700)\",\n description: \"The firmer outline on form controls (inputs, checkboxes, radios) and keycaps.\",\n },\n input: {\n variable: \"--fancy-input\",\n darkVariable: \"--fancy-input-dark\",\n light: \"var(--color-white)\",\n dark: \"#1e1e24\",\n description: \"The field surface of text inputs, checkboxes, radios, OTP cells and pickers.\",\n },\n text: {\n variable: \"--fancy-text\",\n darkVariable: \"--fancy-text-dark\",\n light: \"var(--color-zinc-900)\",\n dark: \"var(--color-zinc-100)\",\n description: \"Strongest foreground: headings, values, field text, active items.\",\n },\n \"text-soft\": {\n variable: \"--fancy-text-soft\",\n darkVariable: \"--fancy-text-soft-dark\",\n light: \"var(--color-zinc-700)\",\n dark: \"var(--color-zinc-300)\",\n description: \"Body copy and menu items: readable, one step back from text.\",\n },\n \"text-muted\": {\n variable: \"--fancy-text-muted\",\n darkVariable: \"--fancy-text-muted-dark\",\n light: \"var(--color-zinc-500)\",\n dark: \"var(--color-zinc-400)\",\n description: \"Descriptions, captions, secondary labels, axis labels.\",\n },\n \"text-faint\": {\n variable: \"--fancy-text-faint\",\n darkVariable: \"--fancy-text-faint-dark\",\n light: \"var(--color-zinc-400)\",\n dark: \"var(--color-zinc-500)\",\n description: \"Placeholders, disabled hints, decorative icons.\",\n },\n \"text-subtle\": {\n variable: \"--fancy-text-subtle\",\n darkVariable: \"--fancy-text-subtle-dark\",\n light: \"var(--color-zinc-600)\",\n dark: \"var(--color-zinc-400)\",\n description: \"Inactive nav labels (Sidebar, Menu, Navbar, MultiSwitch) and secondary prose. Added 5.53.1.\",\n },\n \"surface-hover\": {\n variable: \"--fancy-surface-hover\",\n darkVariable: \"--fancy-surface-hover-dark\",\n light: \"var(--color-zinc-50)\",\n // Tailwind's `bg-zinc-800/50`, written out so a host's value is used as-is.\n dark: \"color-mix(in oklab, var(--color-zinc-800) 50%, transparent)\",\n description: \"The hover fill on nav items, list options and table rows. Added 5.53.1.\",\n },\n focus: {\n variable: \"--fancy-focus\",\n darkVariable: \"--fancy-focus-dark\",\n light: \"var(--color-blue-500)\",\n dark: \"var(--color-blue-400)\",\n description: \"The focus border and ring on form controls.\",\n },\n} as const;\n\nexport type ThemeTokenRole = keyof typeof THEME_TOKENS;\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -81,7 +81,7 @@ export { CodeView, CodeViewProps } from './code-view.cjs';
|
|
|
81
81
|
export { ContentRenderer } from './content-renderer.cjs';
|
|
82
82
|
export { C as ContentClipboardPayload, a as ContentClipboardWriter, b as ContentCopyEvent, c as ContentCopyKind, d as ContentRendererProps, R as RenderExtension, e as RenderExtensionProps, r as registerExtension, f as registerExtensions } from './ContentRenderer.types-RO_l7_6N.cjs';
|
|
83
83
|
export { Menu, MenuContextValue, MenuGroupProps, MenuItemProps, MenuOrientation, MenuProps, MenuSubmenuProps, useMenu } from './menu.cjs';
|
|
84
|
-
export { Sidebar, SidebarCollapseMode, SidebarContextValue, SidebarGroupProps, SidebarItemProps, SidebarProps, SidebarSubmenuProps, SidebarToggleProps, useSidebar } from './sidebar.cjs';
|
|
84
|
+
export { Sidebar, SidebarCollapseMode, SidebarContextValue, SidebarDotColor, SidebarGroupProps, SidebarItemProps, SidebarProps, SidebarSubmenuProps, SidebarToggleProps, useSidebar } from './sidebar.cjs';
|
|
85
85
|
export { MobileMenu, MobileMenuBottomBarProps, MobileMenuContextValue, MobileMenuFlyoutProps, MobileMenuItemProps, MobileMenuSide, MobileMenuVariant, useMobileMenu } from './mobile-menu.cjs';
|
|
86
86
|
export { Kanban, KanbanCardMoveHandler, KanbanCardProps, KanbanColumnHandleProps, KanbanColumnMoveHandler, KanbanColumnProps, KanbanContextValue, KanbanProps, useKanban } from './kanban.cjs';
|
|
87
87
|
export { DropPosition, TreeNav, TreeNavContextValue, TreeNavProps, TreeNodeData, TreeNodeProps, useTreeNav } from './tree-nav.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export { CodeView, CodeViewProps } from './code-view.js';
|
|
|
81
81
|
export { ContentRenderer } from './content-renderer.js';
|
|
82
82
|
export { C as ContentClipboardPayload, a as ContentClipboardWriter, b as ContentCopyEvent, c as ContentCopyKind, d as ContentRendererProps, R as RenderExtension, e as RenderExtensionProps, r as registerExtension, f as registerExtensions } from './ContentRenderer.types-RO_l7_6N.js';
|
|
83
83
|
export { Menu, MenuContextValue, MenuGroupProps, MenuItemProps, MenuOrientation, MenuProps, MenuSubmenuProps, useMenu } from './menu.js';
|
|
84
|
-
export { Sidebar, SidebarCollapseMode, SidebarContextValue, SidebarGroupProps, SidebarItemProps, SidebarProps, SidebarSubmenuProps, SidebarToggleProps, useSidebar } from './sidebar.js';
|
|
84
|
+
export { Sidebar, SidebarCollapseMode, SidebarContextValue, SidebarDotColor, SidebarGroupProps, SidebarItemProps, SidebarProps, SidebarSubmenuProps, SidebarToggleProps, useSidebar } from './sidebar.js';
|
|
85
85
|
export { MobileMenu, MobileMenuBottomBarProps, MobileMenuContextValue, MobileMenuFlyoutProps, MobileMenuItemProps, MobileMenuSide, MobileMenuVariant, useMobileMenu } from './mobile-menu.js';
|
|
86
86
|
export { Kanban, KanbanCardMoveHandler, KanbanCardProps, KanbanColumnHandleProps, KanbanColumnMoveHandler, KanbanColumnProps, KanbanContextValue, KanbanProps, useKanban } from './kanban.js';
|
|
87
87
|
export { DropPosition, TreeNav, TreeNavContextValue, TreeNavProps, TreeNodeData, TreeNodeProps, useTreeNav } from './tree-nav.js';
|
package/dist/index.js
CHANGED
|
@@ -13,10 +13,10 @@ export { RadioGroup } from './chunk-4FH2JHUY.js';
|
|
|
13
13
|
export { TimeGrid } from './chunk-MLZGGAXQ.js';
|
|
14
14
|
export { TimePicker } from './chunk-AZQXPI5S.js';
|
|
15
15
|
export { Timeline } from './chunk-QGY5FPVM.js';
|
|
16
|
-
export { Toast, useToast } from './chunk-
|
|
16
|
+
export { Toast, useToast } from './chunk-ESCIXKFT.js';
|
|
17
17
|
export { TreeNav, useTreeNav } from './chunk-LYG2NLSV.js';
|
|
18
18
|
export { VirtualList } from './chunk-ARNFT23K.js';
|
|
19
|
-
export { Sidebar, useSidebar } from './chunk-
|
|
19
|
+
export { Sidebar, useSidebar } from './chunk-MTDOFZIB.js';
|
|
20
20
|
export { Skeleton } from './chunk-X7VIIM2P.js';
|
|
21
21
|
export { Stat, StatBand } from './chunk-KC3PYCBO.js';
|
|
22
22
|
export { StatList } from './chunk-SXXDTW7S.js';
|
|
@@ -24,11 +24,11 @@ export { StickyNote } from './chunk-CCG2L5EH.js';
|
|
|
24
24
|
export { Table } from './chunk-YAPGHVBZ.js';
|
|
25
25
|
export { Tabs, useTabs } from './chunk-IU5WQUUC.js';
|
|
26
26
|
import './chunk-TMR56BBE.js';
|
|
27
|
-
export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel, promptDataUrlToFile, promptFileToDataUrl } from './chunk-
|
|
27
|
+
export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel, promptDataUrlToFile, promptFileToDataUrl } from './chunk-B6WTCAGY.js';
|
|
28
28
|
export { Tooltip } from './chunk-GR2WKBER.js';
|
|
29
29
|
export { PullQuote } from './chunk-44VYWOCG.js';
|
|
30
30
|
export { QrCode, encodeQr, selectMode } from './chunk-RLE5WYY6.js';
|
|
31
|
-
export { ReasonTag } from './chunk-
|
|
31
|
+
export { ReasonTag } from './chunk-GSMD5NK5.js';
|
|
32
32
|
export { ReorderableGrid, moveItem } from './chunk-DTOIO42M.js';
|
|
33
33
|
import './chunk-SV5BW3IA.js';
|
|
34
34
|
export { ResizablePanels } from './chunk-GDF6XTHC.js';
|
|
@@ -51,14 +51,14 @@ export { OtpInput } from './chunk-TMQF2CRN.js';
|
|
|
51
51
|
export { ImageViewer } from './chunk-ICMLLZKZ.js';
|
|
52
52
|
export { IndexList } from './chunk-BLOX7MRO.js';
|
|
53
53
|
export { InputTag, contentEditableAdapter, controlledAdapter, inputAdapter, textareaAdapter } from './chunk-37D5PYEF.js';
|
|
54
|
-
export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-
|
|
54
|
+
export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-TH4JZAMK.js';
|
|
55
55
|
export { Select } from './chunk-XIA2UAVO.js';
|
|
56
56
|
export { Switch } from './chunk-DXZCKDYS.js';
|
|
57
57
|
export { DatePicker } from './chunk-2UTN3EFK.js';
|
|
58
58
|
export { Input } from './chunk-PJNUGSKI.js';
|
|
59
59
|
export { Kanban, useKanban } from './chunk-2HPADT4X.js';
|
|
60
60
|
export { Kbd } from './chunk-OTSVOPKP.js';
|
|
61
|
-
export { MagicWand } from './chunk-
|
|
61
|
+
export { MagicWand } from './chunk-F4OYQ2XZ.js';
|
|
62
62
|
export { Textarea } from './chunk-UVUBV4VZ.js';
|
|
63
63
|
import './chunk-KXYMMNNV.js';
|
|
64
64
|
export { DisplayValue } from './chunk-WX5XYDVN.js';
|
|
@@ -80,7 +80,7 @@ export { Container } from './chunk-VKMPVFQK.js';
|
|
|
80
80
|
export { ContextMenu, useContextMenu } from './chunk-NSJBVV7R.js';
|
|
81
81
|
export { Drawer, useDrawer } from './chunk-PXZRYL5I.js';
|
|
82
82
|
export { Dropdown, useDropdown } from './chunk-BXPLERIJ.js';
|
|
83
|
-
export { Editor, useEditor } from './chunk-
|
|
83
|
+
export { Editor, useEditor } from './chunk-WF6AYHOS.js';
|
|
84
84
|
export { THEME_STORAGE_KEY, getThemePreference, initTheme, resolveTheme, setThemePreference, subscribeTheme, useId, useNodeRegistry, useTheme } from './chunk-2BXMMVQS.js';
|
|
85
85
|
export { usePanZoom } from './chunk-CPY7NHXM.js';
|
|
86
86
|
export { FullScreenContext, FullScreenProvider, FullScreenToggle, useFullScreenContext } from './chunk-RP43ZFZP.js';
|
|
@@ -93,9 +93,9 @@ export { Carousel, useCarousel } from './chunk-DJYG7DXS.js';
|
|
|
93
93
|
export { Chart } from './chunk-IUCYRQ4J.js';
|
|
94
94
|
export { ChatDrawer } from './chunk-WE5WGVVX.js';
|
|
95
95
|
import './chunk-TJ66S5K6.js';
|
|
96
|
-
export { ChatMessage, ChatThread } from './chunk-
|
|
96
|
+
export { ChatMessage, ChatThread } from './chunk-23KQF47X.js';
|
|
97
97
|
import './chunk-AUTW5O4W.js';
|
|
98
|
-
export { ContentRenderer, registerExtension, registerExtensions, renderMarkdown } from './chunk-
|
|
98
|
+
export { ContentRenderer, registerExtension, registerExtensions, renderMarkdown } from './chunk-3AA2KGZG.js';
|
|
99
99
|
import './chunk-I3LAFKJU.js';
|
|
100
100
|
export { CodeView } from './chunk-FBWUXSKH.js';
|
|
101
101
|
import './chunk-J324MF75.js';
|
|
@@ -112,18 +112,19 @@ import './chunk-5VMILVWD.js';
|
|
|
112
112
|
export { Portal, PortalContainerContext } from './chunk-RBCMKPBX.js';
|
|
113
113
|
export { Avatar } from './chunk-UZCR7DK5.js';
|
|
114
114
|
import './chunk-IQ4KQJAO.js';
|
|
115
|
-
export { Badge } from './chunk-
|
|
115
|
+
export { Badge } from './chunk-OZ4QFJ7N.js';
|
|
116
|
+
import './chunk-S53A6JIE.js';
|
|
116
117
|
export { Brand, BrandMark } from './chunk-FWAVMWMP.js';
|
|
117
118
|
export { Breadcrumbs } from './chunk-A67EDGC7.js';
|
|
118
119
|
export { useOutsideClick } from './chunk-RGANGU7X.js';
|
|
119
120
|
export { EscapeLayerContext, useEscapeKey, useEscapeLayer } from './chunk-YX6FTJ6N.js';
|
|
120
121
|
import './chunk-LQ4ICCN2.js';
|
|
121
|
-
export { Action, Button, sanitizeHref, sanitizeHtml } from './chunk-
|
|
122
|
+
export { Action, Button, sanitizeHref, sanitizeHtml } from './chunk-4GPH7HOR.js';
|
|
122
123
|
export { EMOJI_CATEGORY_ORDER, EMOJI_DATA, EMOJI_ENTRIES, SKIN_TONES, applyTone, find, hasSkinTones, resolve, search, skinTones } from './chunk-45BBNJQD.js';
|
|
123
124
|
export { Icon, configureIcons, registerIconAddendum, registerIconSet, registerIcons } from './chunk-J3A4Z2P7.js';
|
|
124
125
|
export { Calendar } from './chunk-X2A3NAJW.js';
|
|
125
126
|
import './chunk-NMXCQOHV.js';
|
|
126
|
-
export { Callout } from './chunk-
|
|
127
|
+
export { Callout } from './chunk-KPRSRWNM.js';
|
|
127
128
|
export { Accordion, useAccordion } from './chunk-FRWOWDGX.js';
|
|
128
129
|
export { AccordionPanel, AccordionPanelContent, AccordionPanelSection, AccordionPanelTrigger, useAccordionPanel, useAccordionSection } from './chunk-RANTYGKW.js';
|
|
129
130
|
export { useControllableState } from './chunk-EDYAXGUM.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme-tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/theme-tokens.ts"],"names":[],"mappings":"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","file":"index.js","sourcesContent":["/**\n * Semantic theme tokens — the small set of colours the kit's DOM components\n * read, so a host can repaint the whole kit with its own palette WITHOUT\n * remapping Tailwind's `zinc` or `violet`.\n *\n * Each role is two CSS custom properties, one per mode:\n *\n * --fancy-surface the light value\n * --fancy-surface-dark the dark value\n *\n * Components read them through their var() FALLBACK, which is the colour the\n * component used before these existed:\n *\n * bg-[color:var(--fancy-surface,var(--color-white))]\n * dark:bg-[color:var(--fancy-surface-dark,var(--color-zinc-900))]\n *\n * So:\n * - **Set nothing and nothing changes.** An unset custom property resolves to\n * its fallback, which is the exact declaration the old `bg-white` produced.\n * - **Set one and every surface follows**, wherever the variable is in scope:\n * `:root`, `body`, or any wrapper element. No selector to match, no layer or\n * specificity to win — a custom property is inherited, not cascaded against.\n * - **Both modes are stated, not derived.** The dark value is a separate\n * variable rather than a flip under `.dark`, so which one applies is decided\n * by the host's own `dark:` variant — the same switch that drives every\n * other `dark:` utility in the kit. (See `dark-variant.css` for a variant\n * that follows `[data-theme=\"dark\"]` as well as `.dark`.)\n *\n * NOT covered, deliberately: colours that ENCODE DATA — chart series,\n * file-type marks, mood and confidence scales, event kinds. Repainting those\n * with a host's neutral palette would erase what they mean. A component's\n * explicit `color` prop (Badge, Button, Callout …) is also untouched: that is\n * the host choosing a hue, not the kit choosing one for it.\n *\n * `light` / `dark` are the defaults exactly as components write them in their\n * fallbacks. `tests/theme-tokens.test.tsx` fails if a component's fallback\n * disagrees with this table, so the table is the contract rather than a\n * description of it.\n */\nexport const THEME_TOKENS = {\n surface: {\n variable: \"--fancy-surface\",\n darkVariable: \"--fancy-surface-dark\",\n light: \"var(--color-white)\",\n dark: \"var(--color-zinc-900)\",\n description: \"Panels, cards, overlays (menus, modals, popovers, toasts), sidebars and navbars.\",\n },\n \"surface-muted\": {\n variable: \"--fancy-surface-muted\",\n darkVariable: \"--fancy-surface-muted-dark\",\n light: \"var(--color-zinc-100)\",\n dark: \"var(--color-zinc-800)\",\n description: \"Hovered and selected rows, chips, inset wells, toolbar buttons.\",\n },\n border: {\n variable: \"--fancy-border\",\n darkVariable: \"--fancy-border-dark\",\n light: \"var(--color-zinc-200)\",\n dark: \"var(--color-zinc-700)\",\n description: \"Outlines, dividers, separators and tracks (skeletons, progress, sliders).\",\n },\n \"border-strong\": {\n variable: \"--fancy-border-strong\",\n darkVariable: \"--fancy-border-strong-dark\",\n light: \"var(--color-zinc-300)\",\n dark: \"var(--color-zinc-700)\",\n description: \"The firmer outline on form controls (inputs, checkboxes, radios) and keycaps.\",\n },\n input: {\n variable: \"--fancy-input\",\n darkVariable: \"--fancy-input-dark\",\n light: \"var(--color-white)\",\n dark: \"#1e1e24\",\n description: \"The field surface of text inputs, checkboxes, radios, OTP cells and pickers.\",\n },\n text: {\n variable: \"--fancy-text\",\n darkVariable: \"--fancy-text-dark\",\n light: \"var(--color-zinc-900)\",\n dark: \"var(--color-zinc-100)\",\n description: \"Strongest foreground: headings, values, field text, active items.\",\n },\n \"text-soft\": {\n variable: \"--fancy-text-soft\",\n darkVariable: \"--fancy-text-soft-dark\",\n light: \"var(--color-zinc-700)\",\n dark: \"var(--color-zinc-300)\",\n description: \"Body copy and menu items: readable, one step back from text.\",\n },\n \"text-muted\": {\n variable: \"--fancy-text-muted\",\n darkVariable: \"--fancy-text-muted-dark\",\n light: \"var(--color-zinc-500)\",\n dark: \"var(--color-zinc-400)\",\n description: \"Descriptions, captions, secondary labels, axis labels.\",\n },\n \"text-faint\": {\n variable: \"--fancy-text-faint\",\n darkVariable: \"--fancy-text-faint-dark\",\n light: \"var(--color-zinc-400)\",\n dark: \"var(--color-zinc-500)\",\n description: \"Placeholders, disabled hints, decorative icons.\",\n },\n \"text-subtle\": {\n variable: \"--fancy-text-subtle\",\n darkVariable: \"--fancy-text-subtle-dark\",\n light: \"var(--color-zinc-600)\",\n dark: \"var(--color-zinc-400)\",\n description: \"Inactive nav labels (Sidebar, Menu, Navbar, MultiSwitch) and secondary prose. Added 5.53.1.\",\n },\n \"surface-hover\": {\n variable: \"--fancy-surface-hover\",\n darkVariable: \"--fancy-surface-hover-dark\",\n light: \"var(--color-zinc-50)\",\n // Tailwind's `bg-zinc-800/50`, written out so a host's value is used as-is.\n dark: \"color-mix(in oklab, var(--color-zinc-800) 50%, transparent)\",\n description: \"The hover fill on nav items, list options and table rows. Added 5.53.1.\",\n },\n focus: {\n variable: \"--fancy-focus\",\n darkVariable: \"--fancy-focus-dark\",\n light: \"var(--color-blue-500)\",\n dark: \"var(--color-blue-400)\",\n description: \"The focus border and ring on form controls.\",\n },\n} as const;\n\nexport type ThemeTokenRole = keyof typeof THEME_TOKENS;\n"]}
|
package/dist/json-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKSSTFLV2_cjs = require('./chunk-KSSTFLV2.cjs');
|
|
4
4
|
require('./chunk-7JLKOVHX.cjs');
|
|
5
5
|
require('./chunk-2O5UXH5R.cjs');
|
|
6
6
|
require('./chunk-TLRFXSPA.cjs');
|
|
@@ -20,13 +20,14 @@ require('./chunk-L3V3BYVS.cjs');
|
|
|
20
20
|
require('./chunk-6V44RRSB.cjs');
|
|
21
21
|
require('./chunk-MKHYENKR.cjs');
|
|
22
22
|
require('./chunk-TI7D4QDM.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-OCHUZ7J3.cjs');
|
|
24
|
+
require('./chunk-X6LGRB4H.cjs');
|
|
24
25
|
require('./chunk-57FQGQJK.cjs');
|
|
25
26
|
require('./chunk-OUYC6EIL.cjs');
|
|
26
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-NZHVDWOM.cjs');
|
|
27
28
|
require('./chunk-XCZZVRBY.cjs');
|
|
28
29
|
require('./chunk-MXWR3T3N.cjs');
|
|
29
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-WNWEC5OU.cjs');
|
|
30
31
|
require('./chunk-SNHU2AI4.cjs');
|
|
31
32
|
require('./chunk-ZU5Q77OT.cjs');
|
|
32
33
|
|
|
@@ -34,47 +35,47 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
34
35
|
|
|
35
36
|
Object.defineProperty(exports, "JsonEditor", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkKSSTFLV2_cjs.JsonEditor; }
|
|
38
39
|
});
|
|
39
40
|
Object.defineProperty(exports, "applyJsonEdit", {
|
|
40
41
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkKSSTFLV2_cjs.applyJsonEdit; }
|
|
42
43
|
});
|
|
43
44
|
Object.defineProperty(exports, "describeEdit", {
|
|
44
45
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkKSSTFLV2_cjs.describeEdit; }
|
|
46
47
|
});
|
|
47
48
|
Object.defineProperty(exports, "findJsonConflicts", {
|
|
48
49
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkKSSTFLV2_cjs.findJsonConflicts; }
|
|
50
51
|
});
|
|
51
52
|
Object.defineProperty(exports, "getAtPath", {
|
|
52
53
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkKSSTFLV2_cjs.getAtPath; }
|
|
54
55
|
});
|
|
55
56
|
Object.defineProperty(exports, "inferType", {
|
|
56
57
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkKSSTFLV2_cjs.inferType; }
|
|
58
59
|
});
|
|
59
60
|
Object.defineProperty(exports, "parseKeyMap", {
|
|
60
61
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkKSSTFLV2_cjs.parseKeyMap; }
|
|
62
63
|
});
|
|
63
64
|
Object.defineProperty(exports, "parsePath", {
|
|
64
65
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkKSSTFLV2_cjs.parsePath; }
|
|
66
67
|
});
|
|
67
68
|
Object.defineProperty(exports, "pathToString", {
|
|
68
69
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkKSSTFLV2_cjs.pathToString; }
|
|
70
71
|
});
|
|
71
72
|
Object.defineProperty(exports, "resolveKeyRule", {
|
|
72
73
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkKSSTFLV2_cjs.resolveKeyRule; }
|
|
74
75
|
});
|
|
75
76
|
Object.defineProperty(exports, "typeMatches", {
|
|
76
77
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkKSSTFLV2_cjs.typeMatches; }
|
|
78
79
|
});
|
|
79
80
|
//# sourceMappingURL=json-editor.cjs.map
|
|
80
81
|
//# sourceMappingURL=json-editor.cjs.map
|
package/dist/json-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-
|
|
1
|
+
export { JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-TH4JZAMK.js';
|
|
2
2
|
import './chunk-XIA2UAVO.js';
|
|
3
3
|
import './chunk-DXZCKDYS.js';
|
|
4
4
|
import './chunk-2UTN3EFK.js';
|
|
@@ -18,13 +18,14 @@ import './chunk-NRXK42LO.js';
|
|
|
18
18
|
import './chunk-S42OGG43.js';
|
|
19
19
|
import './chunk-5VMILVWD.js';
|
|
20
20
|
import './chunk-RBCMKPBX.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-OZ4QFJ7N.js';
|
|
22
|
+
import './chunk-S53A6JIE.js';
|
|
22
23
|
import './chunk-RGANGU7X.js';
|
|
23
24
|
import './chunk-YX6FTJ6N.js';
|
|
24
|
-
import './chunk-
|
|
25
|
+
import './chunk-4GPH7HOR.js';
|
|
25
26
|
import './chunk-45BBNJQD.js';
|
|
26
27
|
import './chunk-J3A4Z2P7.js';
|
|
27
|
-
import './chunk-
|
|
28
|
+
import './chunk-KPRSRWNM.js';
|
|
28
29
|
import './chunk-EDYAXGUM.js';
|
|
29
30
|
import './chunk-MMW2JGKZ.js';
|
|
30
31
|
//# sourceMappingURL=json-editor.js.map
|