@particle-academy/react-fancy 5.59.0 → 5.60.1
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 +74 -0
- package/dist/{chunk-ZASX5GO4.js → chunk-2OVDWUQ7.js} +3 -3
- package/dist/{chunk-ZASX5GO4.js.map → chunk-2OVDWUQ7.js.map} +1 -1
- package/dist/{chunk-5IWKZ2WK.cjs → chunk-34GALZRX.cjs} +212 -2
- package/dist/chunk-34GALZRX.cjs.map +1 -0
- package/dist/{chunk-2GFM5WD4.cjs → chunk-AGO4AA3K.cjs} +57 -9
- package/dist/chunk-AGO4AA3K.cjs.map +1 -0
- package/dist/{chunk-ICI33QMY.cjs → chunk-BX7ZJ3HG.cjs} +9 -9
- package/dist/{chunk-ICI33QMY.cjs.map → chunk-BX7ZJ3HG.cjs.map} +1 -1
- package/dist/chunk-CEFK54WP.cjs +186 -0
- package/dist/chunk-CEFK54WP.cjs.map +1 -0
- package/dist/chunk-GDF6XTHC.js +184 -0
- package/dist/chunk-GDF6XTHC.js.map +1 -0
- package/dist/{chunk-ZAX72LXL.js → chunk-JEHV7PYP.js} +58 -10
- package/dist/chunk-JEHV7PYP.js.map +1 -0
- package/dist/{chunk-6XX6OHAP.cjs → chunk-M77BB2QI.cjs} +3 -3
- package/dist/{chunk-6XX6OHAP.cjs.map → chunk-M77BB2QI.cjs.map} +1 -1
- package/dist/{chunk-JXXUTPDH.js → chunk-PAFTHGQD.js} +212 -2
- package/dist/chunk-PAFTHGQD.js.map +1 -0
- package/dist/{chunk-YBRQTZKV.js → chunk-ZGQEKDG6.js} +3 -3
- package/dist/{chunk-YBRQTZKV.js.map → chunk-ZGQEKDG6.js.map} +1 -1
- package/dist/content-renderer.cjs +4 -4
- package/dist/content-renderer.js +1 -1
- package/dist/editor.cjs +4 -4
- package/dist/editor.js +2 -2
- package/dist/file-upload.cjs +3 -3
- package/dist/file-upload.d.cts +7 -1
- package/dist/file-upload.d.ts +7 -1
- package/dist/file-upload.js +1 -1
- package/dist/index.cjs +50 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/dist/inputs.cjs +7 -7
- package/dist/inputs.js +3 -3
- package/dist/json-editor.cjs +13 -13
- package/dist/json-editor.js +2 -2
- package/dist/resizable-panels.cjs +13 -0
- package/dist/resizable-panels.cjs.map +1 -0
- package/dist/resizable-panels.d.cts +68 -0
- package/dist/resizable-panels.d.ts +68 -0
- package/dist/resizable-panels.js +4 -0
- package/dist/resizable-panels.js.map +1 -0
- package/docs/FileUpload.md +3 -0
- package/docs/ResizablePanels.md +81 -0
- package/package.json +11 -1
- package/dist/chunk-2GFM5WD4.cjs.map +0 -1
- package/dist/chunk-5IWKZ2WK.cjs.map +0 -1
- package/dist/chunk-JXXUTPDH.js.map +0 -1
- package/dist/chunk-ZAX72LXL.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-S3TRSECD.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk34GALZRX_cjs = require('./chunk-34GALZRX.cjs');
|
|
5
5
|
require('./chunk-X2FC7ODX.cjs');
|
|
6
6
|
require('./chunk-ZU5Q77OT.cjs');
|
|
7
7
|
|
|
@@ -9,15 +9,15 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ContentRenderer", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk34GALZRX_cjs.ContentRenderer; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "registerExtension", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk34GALZRX_cjs.registerExtension; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "registerExtensions", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk34GALZRX_cjs.registerExtensions; }
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=content-renderer.cjs.map
|
|
23
23
|
//# sourceMappingURL=content-renderer.cjs.map
|
package/dist/content-renderer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './chunk-AUTW5O4W.js';
|
|
2
|
-
export { ContentRenderer, registerExtension, registerExtensions } from './chunk-
|
|
2
|
+
export { ContentRenderer, registerExtension, registerExtensions } from './chunk-PAFTHGQD.js';
|
|
3
3
|
import './chunk-6TBRBN7H.js';
|
|
4
4
|
import './chunk-MMW2JGKZ.js';
|
|
5
5
|
//# sourceMappingURL=content-renderer.js.map
|
package/dist/editor.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBX7ZJ3HG_cjs = require('./chunk-BX7ZJ3HG.cjs');
|
|
4
4
|
require('./chunk-A2JUTNE6.cjs');
|
|
5
5
|
require('./chunk-T6YELZPJ.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-34GALZRX.cjs');
|
|
7
7
|
require('./chunk-G7227RTY.cjs');
|
|
8
8
|
require('./chunk-TXTRTTG7.cjs');
|
|
9
9
|
require('./chunk-FQZE5N2N.cjs');
|
|
@@ -19,11 +19,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "Editor", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBX7ZJ3HG_cjs.Editor; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "useEditor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBX7ZJ3HG_cjs.useEditor; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=editor.cjs.map
|
|
29
29
|
//# sourceMappingURL=editor.cjs.map
|
package/dist/editor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Editor, useEditor } from './chunk-
|
|
1
|
+
export { Editor, useEditor } from './chunk-2OVDWUQ7.js';
|
|
2
2
|
import './chunk-2BXMMVQS.js';
|
|
3
3
|
import './chunk-CPY7NHXM.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-PAFTHGQD.js';
|
|
5
5
|
import './chunk-FBWUXSKH.js';
|
|
6
6
|
import './chunk-5U2DZ7AV.js';
|
|
7
7
|
import './chunk-3K2CEAI7.js';
|
package/dist/file-upload.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAGO4AA3K_cjs = require('./chunk-AGO4AA3K.cjs');
|
|
4
4
|
require('./chunk-ZU5Q77OT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "FileUpload", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkAGO4AA3K_cjs.FileUpload; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "useFileUpload", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAGO4AA3K_cjs.useFileUpload; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=file-upload.cjs.map
|
|
17
17
|
//# sourceMappingURL=file-upload.cjs.map
|
package/dist/file-upload.d.cts
CHANGED
|
@@ -24,13 +24,19 @@ interface FileUploadProps {
|
|
|
24
24
|
interface FileUploadDropzoneProps {
|
|
25
25
|
children?: ReactNode;
|
|
26
26
|
className?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Accessible name of the zone's browse button. Defaults to the visible copy
|
|
29
|
+
* ("Drop files here or click to browse") on the default zone, and to
|
|
30
|
+
* "Browse files" when the zone has custom children.
|
|
31
|
+
*/
|
|
32
|
+
browseLabel?: string;
|
|
27
33
|
}
|
|
28
34
|
interface FileUploadListProps {
|
|
29
35
|
thumbnail?: boolean;
|
|
30
36
|
className?: string;
|
|
31
37
|
}
|
|
32
38
|
|
|
33
|
-
declare function FileUploadDropzone({ children, className, }: FileUploadDropzoneProps): react.JSX.Element;
|
|
39
|
+
declare function FileUploadDropzone({ children, className, browseLabel, }: FileUploadDropzoneProps): react.JSX.Element;
|
|
34
40
|
declare namespace FileUploadDropzone {
|
|
35
41
|
var displayName: string;
|
|
36
42
|
}
|
package/dist/file-upload.d.ts
CHANGED
|
@@ -24,13 +24,19 @@ interface FileUploadProps {
|
|
|
24
24
|
interface FileUploadDropzoneProps {
|
|
25
25
|
children?: ReactNode;
|
|
26
26
|
className?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Accessible name of the zone's browse button. Defaults to the visible copy
|
|
29
|
+
* ("Drop files here or click to browse") on the default zone, and to
|
|
30
|
+
* "Browse files" when the zone has custom children.
|
|
31
|
+
*/
|
|
32
|
+
browseLabel?: string;
|
|
27
33
|
}
|
|
28
34
|
interface FileUploadListProps {
|
|
29
35
|
thumbnail?: boolean;
|
|
30
36
|
className?: string;
|
|
31
37
|
}
|
|
32
38
|
|
|
33
|
-
declare function FileUploadDropzone({ children, className, }: FileUploadDropzoneProps): react.JSX.Element;
|
|
39
|
+
declare function FileUploadDropzone({ children, className, browseLabel, }: FileUploadDropzoneProps): react.JSX.Element;
|
|
34
40
|
declare namespace FileUploadDropzone {
|
|
35
41
|
var displayName: string;
|
|
36
42
|
}
|
package/dist/file-upload.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunk5ZNOLPIJ_cjs = require('./chunk-5ZNOLPIJ.cjs');
|
|
3
4
|
var chunkAVEFCM6T_cjs = require('./chunk-AVEFCM6T.cjs');
|
|
4
5
|
var chunkIR6JSQ4O_cjs = require('./chunk-IR6JSQ4O.cjs');
|
|
5
6
|
require('./chunk-O5IO7TCO.cjs');
|
|
7
|
+
require('./chunk-5FV6GMFP.cjs');
|
|
6
8
|
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
9
|
+
require('./chunk-URTLYNZI.cjs');
|
|
7
10
|
require('./chunk-QGPMVFZJ.cjs');
|
|
8
11
|
var chunkIB673TEG_cjs = require('./chunk-IB673TEG.cjs');
|
|
9
12
|
var chunkH7ELUIF6_cjs = require('./chunk-H7ELUIF6.cjs');
|
|
10
13
|
require('./chunk-HXLSEBAL.cjs');
|
|
11
14
|
var chunkZ4UXLQSK_cjs = require('./chunk-Z4UXLQSK.cjs');
|
|
12
15
|
require('./chunk-OYZDSMNP.cjs');
|
|
13
|
-
require('./chunk-5FV6GMFP.cjs');
|
|
14
16
|
var chunkETNQ4AEQ_cjs = require('./chunk-ETNQ4AEQ.cjs');
|
|
15
17
|
var chunkDJB3N4G3_cjs = require('./chunk-DJB3N4G3.cjs');
|
|
16
|
-
require('./chunk-
|
|
18
|
+
var chunkFVQO75KY_cjs = require('./chunk-FVQO75KY.cjs');
|
|
17
19
|
var chunkATJSHM6J_cjs = require('./chunk-ATJSHM6J.cjs');
|
|
18
20
|
var chunkYJXP6AOL_cjs = require('./chunk-YJXP6AOL.cjs');
|
|
19
21
|
var chunkCQ54H7DZ_cjs = require('./chunk-CQ54H7DZ.cjs');
|
|
@@ -21,15 +23,14 @@ require('./chunk-XURQVDCN.cjs');
|
|
|
21
23
|
var chunk4DL2U23D_cjs = require('./chunk-4DL2U23D.cjs');
|
|
22
24
|
var chunkYH75G6SP_cjs = require('./chunk-YH75G6SP.cjs');
|
|
23
25
|
var chunkUXYFM2XT_cjs = require('./chunk-UXYFM2XT.cjs');
|
|
24
|
-
var chunk5ZNOLPIJ_cjs = require('./chunk-5ZNOLPIJ.cjs');
|
|
25
26
|
var chunkAE53RKWR_cjs = require('./chunk-AE53RKWR.cjs');
|
|
26
27
|
var chunkLVE6ERRS_cjs = require('./chunk-LVE6ERRS.cjs');
|
|
28
|
+
var chunkCEFK54WP_cjs = require('./chunk-CEFK54WP.cjs');
|
|
27
29
|
var chunk5P3PISAX_cjs = require('./chunk-5P3PISAX.cjs');
|
|
28
30
|
var chunkY7RGUUTS_cjs = require('./chunk-Y7RGUUTS.cjs');
|
|
29
31
|
var chunkEZA6GWZL_cjs = require('./chunk-EZA6GWZL.cjs');
|
|
30
32
|
var chunkFNIHCNVD_cjs = require('./chunk-FNIHCNVD.cjs');
|
|
31
33
|
var chunk7DDUMW4R_cjs = require('./chunk-7DDUMW4R.cjs');
|
|
32
|
-
var chunkFVQO75KY_cjs = require('./chunk-FVQO75KY.cjs');
|
|
33
34
|
var chunkKSU6RYWU_cjs = require('./chunk-KSU6RYWU.cjs');
|
|
34
35
|
var chunkK5MQZTDW_cjs = require('./chunk-K5MQZTDW.cjs');
|
|
35
36
|
var chunkB4YV2V7G_cjs = require('./chunk-B4YV2V7G.cjs');
|
|
@@ -46,11 +47,11 @@ var chunkWMANILKC_cjs = require('./chunk-WMANILKC.cjs');
|
|
|
46
47
|
var chunkSSCW67KA_cjs = require('./chunk-SSCW67KA.cjs');
|
|
47
48
|
var chunkAYBKPAI2_cjs = require('./chunk-AYBKPAI2.cjs');
|
|
48
49
|
var chunk6MXFZ3B5_cjs = require('./chunk-6MXFZ3B5.cjs');
|
|
49
|
-
var
|
|
50
|
+
var chunkM77BB2QI_cjs = require('./chunk-M77BB2QI.cjs');
|
|
51
|
+
var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
|
|
50
52
|
var chunkJRRYYW3Y_cjs = require('./chunk-JRRYYW3Y.cjs');
|
|
51
53
|
var chunkGLGUQGAQ_cjs = require('./chunk-GLGUQGAQ.cjs');
|
|
52
54
|
var chunk2O5UXH5R_cjs = require('./chunk-2O5UXH5R.cjs');
|
|
53
|
-
var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
|
|
54
55
|
var chunkIEQK3LGI_cjs = require('./chunk-IEQK3LGI.cjs');
|
|
55
56
|
var chunkL4JIBKFW_cjs = require('./chunk-L4JIBKFW.cjs');
|
|
56
57
|
var chunkSIEPD6NR_cjs = require('./chunk-SIEPD6NR.cjs');
|
|
@@ -65,7 +66,7 @@ var chunkTH7VP4CL_cjs = require('./chunk-TH7VP4CL.cjs');
|
|
|
65
66
|
var chunk5QKQXM5V_cjs = require('./chunk-5QKQXM5V.cjs');
|
|
66
67
|
var chunkLIVC3WUU_cjs = require('./chunk-LIVC3WUU.cjs');
|
|
67
68
|
var chunkG5DMYAWL_cjs = require('./chunk-G5DMYAWL.cjs');
|
|
68
|
-
var
|
|
69
|
+
var chunkAGO4AA3K_cjs = require('./chunk-AGO4AA3K.cjs');
|
|
69
70
|
var chunkOOZCJLEF_cjs = require('./chunk-OOZCJLEF.cjs');
|
|
70
71
|
require('./chunk-FJKZ5NOA.cjs');
|
|
71
72
|
var chunk7QENPLOP_cjs = require('./chunk-7QENPLOP.cjs');
|
|
@@ -75,10 +76,10 @@ require('./chunk-S3TRSECD.cjs');
|
|
|
75
76
|
var chunkEEMNTO7L_cjs = require('./chunk-EEMNTO7L.cjs');
|
|
76
77
|
var chunk5H6IUCOD_cjs = require('./chunk-5H6IUCOD.cjs');
|
|
77
78
|
var chunkEXQ33MJR_cjs = require('./chunk-EXQ33MJR.cjs');
|
|
78
|
-
var
|
|
79
|
+
var chunkBX7ZJ3HG_cjs = require('./chunk-BX7ZJ3HG.cjs');
|
|
79
80
|
var chunkA2JUTNE6_cjs = require('./chunk-A2JUTNE6.cjs');
|
|
80
81
|
var chunkT6YELZPJ_cjs = require('./chunk-T6YELZPJ.cjs');
|
|
81
|
-
var
|
|
82
|
+
var chunk34GALZRX_cjs = require('./chunk-34GALZRX.cjs');
|
|
82
83
|
var chunkAVU4JOYM_cjs = require('./chunk-AVU4JOYM.cjs');
|
|
83
84
|
var chunkV5JTTLJP_cjs = require('./chunk-V5JTTLJP.cjs');
|
|
84
85
|
var chunk4JT2QANA_cjs = require('./chunk-4JT2QANA.cjs');
|
|
@@ -213,6 +214,14 @@ var THEME_TOKENS = {
|
|
|
213
214
|
}
|
|
214
215
|
};
|
|
215
216
|
|
|
217
|
+
Object.defineProperty(exports, "Toast", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () { return chunk5ZNOLPIJ_cjs.Toast; }
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, "useToast", {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () { return chunk5ZNOLPIJ_cjs.useToast; }
|
|
224
|
+
});
|
|
216
225
|
Object.defineProperty(exports, "TreeNav", {
|
|
217
226
|
enumerable: true,
|
|
218
227
|
get: function () { return chunkAVEFCM6T_cjs.TreeNav; }
|
|
@@ -253,6 +262,10 @@ Object.defineProperty(exports, "CheckboxGroup", {
|
|
|
253
262
|
enumerable: true,
|
|
254
263
|
get: function () { return chunkDJB3N4G3_cjs.CheckboxGroup; }
|
|
255
264
|
});
|
|
265
|
+
Object.defineProperty(exports, "StatList", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () { return chunkFVQO75KY_cjs.StatList; }
|
|
268
|
+
});
|
|
256
269
|
Object.defineProperty(exports, "StickyNote", {
|
|
257
270
|
enumerable: true,
|
|
258
271
|
get: function () { return chunkATJSHM6J_cjs.StickyNote; }
|
|
@@ -281,14 +294,6 @@ Object.defineProperty(exports, "Timeline", {
|
|
|
281
294
|
enumerable: true,
|
|
282
295
|
get: function () { return chunkUXYFM2XT_cjs.Timeline; }
|
|
283
296
|
});
|
|
284
|
-
Object.defineProperty(exports, "Toast", {
|
|
285
|
-
enumerable: true,
|
|
286
|
-
get: function () { return chunk5ZNOLPIJ_cjs.Toast; }
|
|
287
|
-
});
|
|
288
|
-
Object.defineProperty(exports, "useToast", {
|
|
289
|
-
enumerable: true,
|
|
290
|
-
get: function () { return chunk5ZNOLPIJ_cjs.useToast; }
|
|
291
|
-
});
|
|
292
297
|
Object.defineProperty(exports, "QrCode", {
|
|
293
298
|
enumerable: true,
|
|
294
299
|
get: function () { return chunkAE53RKWR_cjs.QrCode; }
|
|
@@ -305,6 +310,10 @@ Object.defineProperty(exports, "ReasonTag", {
|
|
|
305
310
|
enumerable: true,
|
|
306
311
|
get: function () { return chunkLVE6ERRS_cjs.ReasonTag; }
|
|
307
312
|
});
|
|
313
|
+
Object.defineProperty(exports, "ResizablePanels", {
|
|
314
|
+
enumerable: true,
|
|
315
|
+
get: function () { return chunkCEFK54WP_cjs.ResizablePanels; }
|
|
316
|
+
});
|
|
308
317
|
Object.defineProperty(exports, "Section", {
|
|
309
318
|
enumerable: true,
|
|
310
319
|
get: function () { return chunk5P3PISAX_cjs.Section; }
|
|
@@ -333,10 +342,6 @@ Object.defineProperty(exports, "StatBand", {
|
|
|
333
342
|
enumerable: true,
|
|
334
343
|
get: function () { return chunk7DDUMW4R_cjs.StatBand; }
|
|
335
344
|
});
|
|
336
|
-
Object.defineProperty(exports, "StatList", {
|
|
337
|
-
enumerable: true,
|
|
338
|
-
get: function () { return chunkFVQO75KY_cjs.StatList; }
|
|
339
|
-
});
|
|
340
345
|
Object.defineProperty(exports, "Pillbox", {
|
|
341
346
|
enumerable: true,
|
|
342
347
|
get: function () { return chunkKSU6RYWU_cjs.Pillbox; }
|
|
@@ -443,51 +448,55 @@ Object.defineProperty(exports, "textareaAdapter", {
|
|
|
443
448
|
});
|
|
444
449
|
Object.defineProperty(exports, "JSON_FIELD_TYPES", {
|
|
445
450
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunkM77BB2QI_cjs.JSON_FIELD_TYPES; }
|
|
447
452
|
});
|
|
448
453
|
Object.defineProperty(exports, "JsonEditor", {
|
|
449
454
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkM77BB2QI_cjs.JsonEditor; }
|
|
451
456
|
});
|
|
452
457
|
Object.defineProperty(exports, "applyJsonEdit", {
|
|
453
458
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkM77BB2QI_cjs.applyJsonEdit; }
|
|
455
460
|
});
|
|
456
461
|
Object.defineProperty(exports, "describeEdit", {
|
|
457
462
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkM77BB2QI_cjs.describeEdit; }
|
|
459
464
|
});
|
|
460
465
|
Object.defineProperty(exports, "findJsonConflicts", {
|
|
461
466
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkM77BB2QI_cjs.findJsonConflicts; }
|
|
463
468
|
});
|
|
464
469
|
Object.defineProperty(exports, "getAtPath", {
|
|
465
470
|
enumerable: true,
|
|
466
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkM77BB2QI_cjs.getAtPath; }
|
|
467
472
|
});
|
|
468
473
|
Object.defineProperty(exports, "inferType", {
|
|
469
474
|
enumerable: true,
|
|
470
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkM77BB2QI_cjs.inferType; }
|
|
471
476
|
});
|
|
472
477
|
Object.defineProperty(exports, "parseKeyMap", {
|
|
473
478
|
enumerable: true,
|
|
474
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkM77BB2QI_cjs.parseKeyMap; }
|
|
475
480
|
});
|
|
476
481
|
Object.defineProperty(exports, "parsePath", {
|
|
477
482
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkM77BB2QI_cjs.parsePath; }
|
|
479
484
|
});
|
|
480
485
|
Object.defineProperty(exports, "pathToString", {
|
|
481
486
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkM77BB2QI_cjs.pathToString; }
|
|
483
488
|
});
|
|
484
489
|
Object.defineProperty(exports, "resolveKeyRule", {
|
|
485
490
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkM77BB2QI_cjs.resolveKeyRule; }
|
|
487
492
|
});
|
|
488
493
|
Object.defineProperty(exports, "typeMatches", {
|
|
489
494
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkM77BB2QI_cjs.typeMatches; }
|
|
496
|
+
});
|
|
497
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
498
|
+
enumerable: true,
|
|
499
|
+
get: function () { return chunkTLRFXSPA_cjs.DatePicker; }
|
|
491
500
|
});
|
|
492
501
|
Object.defineProperty(exports, "Input", {
|
|
493
502
|
enumerable: true,
|
|
@@ -501,10 +510,6 @@ Object.defineProperty(exports, "Switch", {
|
|
|
501
510
|
enumerable: true,
|
|
502
511
|
get: function () { return chunk2O5UXH5R_cjs.Switch; }
|
|
503
512
|
});
|
|
504
|
-
Object.defineProperty(exports, "DatePicker", {
|
|
505
|
-
enumerable: true,
|
|
506
|
-
get: function () { return chunkTLRFXSPA_cjs.DatePicker; }
|
|
507
|
-
});
|
|
508
513
|
Object.defineProperty(exports, "Kanban", {
|
|
509
514
|
enumerable: true,
|
|
510
515
|
get: function () { return chunkIEQK3LGI_cjs.Kanban; }
|
|
@@ -575,11 +580,11 @@ Object.defineProperty(exports, "validateFolderName", {
|
|
|
575
580
|
});
|
|
576
581
|
Object.defineProperty(exports, "FileUpload", {
|
|
577
582
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkAGO4AA3K_cjs.FileUpload; }
|
|
579
584
|
});
|
|
580
585
|
Object.defineProperty(exports, "useFileUpload", {
|
|
581
586
|
enumerable: true,
|
|
582
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkAGO4AA3K_cjs.useFileUpload; }
|
|
583
588
|
});
|
|
584
589
|
Object.defineProperty(exports, "Grid", {
|
|
585
590
|
enumerable: true,
|
|
@@ -623,11 +628,11 @@ Object.defineProperty(exports, "useDropdown", {
|
|
|
623
628
|
});
|
|
624
629
|
Object.defineProperty(exports, "Editor", {
|
|
625
630
|
enumerable: true,
|
|
626
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkBX7ZJ3HG_cjs.Editor; }
|
|
627
632
|
});
|
|
628
633
|
Object.defineProperty(exports, "useEditor", {
|
|
629
634
|
enumerable: true,
|
|
630
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkBX7ZJ3HG_cjs.useEditor; }
|
|
631
636
|
});
|
|
632
637
|
Object.defineProperty(exports, "THEME_STORAGE_KEY", {
|
|
633
638
|
enumerable: true,
|
|
@@ -671,19 +676,19 @@ Object.defineProperty(exports, "usePanZoom", {
|
|
|
671
676
|
});
|
|
672
677
|
Object.defineProperty(exports, "ContentRenderer", {
|
|
673
678
|
enumerable: true,
|
|
674
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunk34GALZRX_cjs.ContentRenderer; }
|
|
675
680
|
});
|
|
676
681
|
Object.defineProperty(exports, "registerExtension", {
|
|
677
682
|
enumerable: true,
|
|
678
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunk34GALZRX_cjs.registerExtension; }
|
|
679
684
|
});
|
|
680
685
|
Object.defineProperty(exports, "registerExtensions", {
|
|
681
686
|
enumerable: true,
|
|
682
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunk34GALZRX_cjs.registerExtensions; }
|
|
683
688
|
});
|
|
684
689
|
Object.defineProperty(exports, "renderMarkdown", {
|
|
685
690
|
enumerable: true,
|
|
686
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunk34GALZRX_cjs.renderMarkdown; }
|
|
687
692
|
});
|
|
688
693
|
Object.defineProperty(exports, "Emoji", {
|
|
689
694
|
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
|
@@ -32,6 +32,7 @@ export { Eyebrow, EyebrowProps } from './eyebrow.cjs';
|
|
|
32
32
|
export { Container, ContainerProps } from './container.cjs';
|
|
33
33
|
export { Section, SectionProps } from './section.cjs';
|
|
34
34
|
export { Grid, GridProps } from './grid.cjs';
|
|
35
|
+
export { ResizablePanels, ResizablePanelsOrientation, ResizablePanelsProps } from './resizable-panels.cjs';
|
|
35
36
|
export { StatList, StatListItem, StatListProps } from './stat-list.cjs';
|
|
36
37
|
export { Kbd, KbdProps } from './kbd.cjs';
|
|
37
38
|
export { IndexList, IndexListItem, IndexListProps } from './index-list.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export { Eyebrow, EyebrowProps } from './eyebrow.js';
|
|
|
32
32
|
export { Container, ContainerProps } from './container.js';
|
|
33
33
|
export { Section, SectionProps } from './section.js';
|
|
34
34
|
export { Grid, GridProps } from './grid.js';
|
|
35
|
+
export { ResizablePanels, ResizablePanelsOrientation, ResizablePanelsProps } from './resizable-panels.js';
|
|
35
36
|
export { StatList, StatListItem, StatListProps } from './stat-list.js';
|
|
36
37
|
export { Kbd, KbdProps } from './kbd.js';
|
|
37
38
|
export { IndexList, IndexListItem, IndexListProps } from './index-list.js';
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
export { Toast, useToast } from './chunk-UIE5FP3A.js';
|
|
1
2
|
export { TreeNav, useTreeNav } from './chunk-OYDJVGFS.js';
|
|
2
3
|
export { VirtualList } from './chunk-Z4CW3U6C.js';
|
|
3
4
|
import './chunk-VXHFR5MV.js';
|
|
5
|
+
import './chunk-ORCXPDDG.js';
|
|
4
6
|
export { Form, FormProvider } from './chunk-PQWQ5K6J.js';
|
|
7
|
+
import './chunk-V4EARA4F.js';
|
|
5
8
|
import './chunk-SHDSKHCC.js';
|
|
6
9
|
export { MultiSwitch } from './chunk-YUNOVQQJ.js';
|
|
7
10
|
export { RadioGroup } from './chunk-4FH2JHUY.js';
|
|
8
11
|
import './chunk-GNHQVPZP.js';
|
|
9
12
|
export { Slider } from './chunk-NVXTHTJI.js';
|
|
10
13
|
import './chunk-NW3GJWJ7.js';
|
|
11
|
-
import './chunk-ORCXPDDG.js';
|
|
12
14
|
export { Checkbox } from './chunk-OTM7RL2L.js';
|
|
13
15
|
export { CheckboxGroup } from './chunk-TAYJSIOP.js';
|
|
14
|
-
|
|
16
|
+
export { StatList } from './chunk-SXXDTW7S.js';
|
|
15
17
|
export { StickyNote } from './chunk-CCG2L5EH.js';
|
|
16
18
|
export { Table } from './chunk-YAPGHVBZ.js';
|
|
17
19
|
export { Tabs, useTabs } from './chunk-IU5WQUUC.js';
|
|
@@ -19,15 +21,14 @@ import './chunk-TMR56BBE.js';
|
|
|
19
21
|
export { TimeGrid } from './chunk-MLZGGAXQ.js';
|
|
20
22
|
export { TimePicker } from './chunk-AZQXPI5S.js';
|
|
21
23
|
export { Timeline } from './chunk-QGY5FPVM.js';
|
|
22
|
-
export { Toast, useToast } from './chunk-UIE5FP3A.js';
|
|
23
24
|
export { QrCode, encodeQr, selectMode } from './chunk-RLE5WYY6.js';
|
|
24
25
|
export { ReasonTag } from './chunk-4FZOH7BJ.js';
|
|
26
|
+
export { ResizablePanels } from './chunk-GDF6XTHC.js';
|
|
25
27
|
export { Section } from './chunk-SLJD25VV.js';
|
|
26
28
|
export { Separator } from './chunk-JSD6IEBW.js';
|
|
27
29
|
export { Sidebar, useSidebar } from './chunk-YJHP5FVA.js';
|
|
28
30
|
export { Skeleton } from './chunk-X7VIIM2P.js';
|
|
29
31
|
export { Stat, StatBand } from './chunk-KC3PYCBO.js';
|
|
30
|
-
export { StatList } from './chunk-SXXDTW7S.js';
|
|
31
32
|
export { Pillbox } from './chunk-G35XN5WV.js';
|
|
32
33
|
export { Profile } from './chunk-GOE36IXL.js';
|
|
33
34
|
export { Progress } from './chunk-UE3QO7R3.js';
|
|
@@ -44,11 +45,11 @@ export { OtpInput } from './chunk-TMQF2CRN.js';
|
|
|
44
45
|
export { Pagination } from './chunk-LKN7FYW6.js';
|
|
45
46
|
export { IndexList } from './chunk-BLOX7MRO.js';
|
|
46
47
|
export { InputTag, contentEditableAdapter, controlledAdapter, inputAdapter, textareaAdapter } from './chunk-BX7EDTL4.js';
|
|
47
|
-
export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-
|
|
48
|
+
export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-ZGQEKDG6.js';
|
|
49
|
+
export { DatePicker } from './chunk-2UTN3EFK.js';
|
|
48
50
|
export { Input } from './chunk-XQDGUXMS.js';
|
|
49
51
|
export { Select } from './chunk-T45LBTXH.js';
|
|
50
52
|
export { Switch } from './chunk-DXZCKDYS.js';
|
|
51
|
-
export { DatePicker } from './chunk-2UTN3EFK.js';
|
|
52
53
|
export { Kanban, useKanban } from './chunk-35MF32VQ.js';
|
|
53
54
|
export { Kbd } from './chunk-OTSVOPKP.js';
|
|
54
55
|
export { MagicWand } from './chunk-DAJPPKPO.js';
|
|
@@ -63,7 +64,7 @@ export { VideoViewer } from './chunk-VOGI7GX3.js';
|
|
|
63
64
|
export { PdfViewer } from './chunk-CS2ZYMYP.js';
|
|
64
65
|
export { Eyebrow } from './chunk-EQ7G5F6K.js';
|
|
65
66
|
export { FileBrowser, FileBrowserNewFolder, useFileBrowser, validateFolderName } from './chunk-XS3EIQFP.js';
|
|
66
|
-
export { FileUpload, useFileUpload } from './chunk-
|
|
67
|
+
export { FileUpload, useFileUpload } from './chunk-JEHV7PYP.js';
|
|
67
68
|
export { Grid } from './chunk-TM3RTWKI.js';
|
|
68
69
|
import './chunk-CFH6CJQG.js';
|
|
69
70
|
export { ImageViewer } from './chunk-ICMLLZKZ.js';
|
|
@@ -73,10 +74,10 @@ import './chunk-AUTW5O4W.js';
|
|
|
73
74
|
export { ContextMenu, useContextMenu } from './chunk-T67FLC55.js';
|
|
74
75
|
export { Drawer, useDrawer } from './chunk-YQTKTEWS.js';
|
|
75
76
|
export { Dropdown, useDropdown } from './chunk-WW56U3RV.js';
|
|
76
|
-
export { Editor, useEditor } from './chunk-
|
|
77
|
+
export { Editor, useEditor } from './chunk-2OVDWUQ7.js';
|
|
77
78
|
export { THEME_STORAGE_KEY, getThemePreference, initTheme, resolveTheme, setThemePreference, subscribeTheme, useId, useNodeRegistry, useTheme } from './chunk-2BXMMVQS.js';
|
|
78
79
|
export { usePanZoom } from './chunk-CPY7NHXM.js';
|
|
79
|
-
export { ContentRenderer, registerExtension, registerExtensions, renderMarkdown } from './chunk-
|
|
80
|
+
export { ContentRenderer, registerExtension, registerExtensions, renderMarkdown } from './chunk-PAFTHGQD.js';
|
|
80
81
|
export { Emoji } from './chunk-YTMQ2K64.js';
|
|
81
82
|
export { EmojiSelect } from './chunk-WGRLNXNB.js';
|
|
82
83
|
export { Card } from './chunk-2XO6EYZ7.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/inputs.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-O5IO7TCO.cjs');
|
|
4
|
+
require('./chunk-5FV6GMFP.cjs');
|
|
4
5
|
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
6
|
+
require('./chunk-URTLYNZI.cjs');
|
|
5
7
|
require('./chunk-QGPMVFZJ.cjs');
|
|
6
8
|
var chunkIB673TEG_cjs = require('./chunk-IB673TEG.cjs');
|
|
7
9
|
var chunkH7ELUIF6_cjs = require('./chunk-H7ELUIF6.cjs');
|
|
8
10
|
require('./chunk-HXLSEBAL.cjs');
|
|
9
11
|
var chunkZ4UXLQSK_cjs = require('./chunk-Z4UXLQSK.cjs');
|
|
10
12
|
require('./chunk-OYZDSMNP.cjs');
|
|
11
|
-
require('./chunk-5FV6GMFP.cjs');
|
|
12
13
|
var chunkETNQ4AEQ_cjs = require('./chunk-ETNQ4AEQ.cjs');
|
|
13
14
|
var chunkDJB3N4G3_cjs = require('./chunk-DJB3N4G3.cjs');
|
|
14
|
-
require('./chunk-URTLYNZI.cjs');
|
|
15
15
|
require('./chunk-I27K6NLX.cjs');
|
|
16
|
+
var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
|
|
16
17
|
var chunkJRRYYW3Y_cjs = require('./chunk-JRRYYW3Y.cjs');
|
|
17
18
|
var chunkGLGUQGAQ_cjs = require('./chunk-GLGUQGAQ.cjs');
|
|
18
19
|
var chunk2O5UXH5R_cjs = require('./chunk-2O5UXH5R.cjs');
|
|
19
|
-
var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
|
|
20
20
|
var chunkMAZEX4EZ_cjs = require('./chunk-MAZEX4EZ.cjs');
|
|
21
21
|
require('./chunk-MRZXTL46.cjs');
|
|
22
22
|
var chunkP53432AK_cjs = require('./chunk-P53432AK.cjs');
|
|
@@ -63,6 +63,10 @@ Object.defineProperty(exports, "CheckboxGroup", {
|
|
|
63
63
|
enumerable: true,
|
|
64
64
|
get: function () { return chunkDJB3N4G3_cjs.CheckboxGroup; }
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkTLRFXSPA_cjs.DatePicker; }
|
|
69
|
+
});
|
|
66
70
|
Object.defineProperty(exports, "Input", {
|
|
67
71
|
enumerable: true,
|
|
68
72
|
get: function () { return chunkJRRYYW3Y_cjs.Input; }
|
|
@@ -75,10 +79,6 @@ Object.defineProperty(exports, "Switch", {
|
|
|
75
79
|
enumerable: true,
|
|
76
80
|
get: function () { return chunk2O5UXH5R_cjs.Switch; }
|
|
77
81
|
});
|
|
78
|
-
Object.defineProperty(exports, "DatePicker", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () { return chunkTLRFXSPA_cjs.DatePicker; }
|
|
81
|
-
});
|
|
82
82
|
Object.defineProperty(exports, "Textarea", {
|
|
83
83
|
enumerable: true,
|
|
84
84
|
get: function () { return chunkMAZEX4EZ_cjs.Textarea; }
|