@particle-academy/react-fancy 6.0.0 → 6.1.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 +75 -0
- package/dist/badge.cjs +3 -2
- package/dist/badge.js +2 -1
- package/dist/breadcrumbs.cjs +2 -2
- package/dist/breadcrumbs.js +1 -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-YUNOVQQJ.js → chunk-3S5ED522.js} +12 -2
- package/dist/chunk-3S5ED522.js.map +1 -0
- 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-35S5BTZH.cjs → chunk-EWE776WI.cjs} +35 -4
- package/dist/chunk-EWE776WI.cjs.map +1 -0
- 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-IU5WQUUC.js → chunk-FR4RHVPR.js} +34 -6
- package/dist/chunk-FR4RHVPR.js.map +1 -0
- 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-IB673TEG.cjs → chunk-KOAMRCSC.cjs} +12 -2
- package/dist/chunk-KOAMRCSC.cjs.map +1 -0
- 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-CQ54H7DZ.cjs → chunk-RZUYCZ5D.cjs} +33 -5
- package/dist/chunk-RZUYCZ5D.cjs.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-A67EDGC7.js → chunk-WJHPZS3U.js} +35 -4
- package/dist/chunk-WJHPZS3U.js.map +1 -0
- 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 +58 -57
- 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 +16 -15
- package/dist/index.js.map +1 -1
- package/dist/inputs.cjs +2 -2
- package/dist/inputs.js +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/multi-switch.cjs +2 -2
- package/dist/multi-switch.js +1 -1
- 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/tabs.cjs +4 -3
- package/dist/tabs.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-35S5BTZH.cjs.map +0 -1
- package/dist/chunk-6FCQD2KQ.js.map +0 -1
- package/dist/chunk-A67EDGC7.js.map +0 -1
- package/dist/chunk-BX6ZVWTO.cjs.map +0 -1
- package/dist/chunk-CQ54H7DZ.cjs.map +0 -1
- package/dist/chunk-EZA6GWZL.cjs.map +0 -1
- package/dist/chunk-IB673TEG.cjs.map +0 -1
- package/dist/chunk-IU5WQUUC.js.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/chunk-YUNOVQQJ.js.map +0 -1
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
|
package/dist/magic-wand.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFKZB27OM_cjs = require('./chunk-FKZB27OM.cjs');
|
|
4
4
|
require('./chunk-MAZEX4EZ.cjs');
|
|
5
5
|
require('./chunk-MRZXTL46.cjs');
|
|
6
6
|
require('./chunk-P53432AK.cjs');
|
|
@@ -11,9 +11,10 @@ require('./chunk-L3V3BYVS.cjs');
|
|
|
11
11
|
require('./chunk-MKHYENKR.cjs');
|
|
12
12
|
require('./chunk-TI7D4QDM.cjs');
|
|
13
13
|
require('./chunk-VBWRH4UW.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-OCHUZ7J3.cjs');
|
|
15
|
+
require('./chunk-X6LGRB4H.cjs');
|
|
15
16
|
require('./chunk-M5MUGSON.cjs');
|
|
16
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-NZHVDWOM.cjs');
|
|
17
18
|
require('./chunk-XCZZVRBY.cjs');
|
|
18
19
|
require('./chunk-MXWR3T3N.cjs');
|
|
19
20
|
require('./chunk-ZU5Q77OT.cjs');
|
|
@@ -22,7 +23,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
22
23
|
|
|
23
24
|
Object.defineProperty(exports, "MagicWand", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkFKZB27OM_cjs.MagicWand; }
|
|
26
27
|
});
|
|
27
28
|
//# sourceMappingURL=magic-wand.cjs.map
|
|
28
29
|
//# sourceMappingURL=magic-wand.cjs.map
|
package/dist/magic-wand.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MagicWand } from './chunk-
|
|
1
|
+
export { MagicWand } from './chunk-F4OYQ2XZ.js';
|
|
2
2
|
import './chunk-UVUBV4VZ.js';
|
|
3
3
|
import './chunk-KXYMMNNV.js';
|
|
4
4
|
import './chunk-WX5XYDVN.js';
|
|
@@ -9,9 +9,10 @@ import './chunk-NRXK42LO.js';
|
|
|
9
9
|
import './chunk-5VMILVWD.js';
|
|
10
10
|
import './chunk-RBCMKPBX.js';
|
|
11
11
|
import './chunk-IQ4KQJAO.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-OZ4QFJ7N.js';
|
|
13
|
+
import './chunk-S53A6JIE.js';
|
|
13
14
|
import './chunk-LQ4ICCN2.js';
|
|
14
|
-
import './chunk-
|
|
15
|
+
import './chunk-4GPH7HOR.js';
|
|
15
16
|
import './chunk-45BBNJQD.js';
|
|
16
17
|
import './chunk-J3A4Z2P7.js';
|
|
17
18
|
import './chunk-MMW2JGKZ.js';
|
package/dist/multi-switch.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKOAMRCSC_cjs = require('./chunk-KOAMRCSC.cjs');
|
|
4
4
|
require('./chunk-I27K6NLX.cjs');
|
|
5
5
|
require('./chunk-P53432AK.cjs');
|
|
6
6
|
require('./chunk-QF7CD4JH.cjs');
|
|
@@ -14,7 +14,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "MultiSwitch", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkKOAMRCSC_cjs.MultiSwitch; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=multi-switch.cjs.map
|
|
20
20
|
//# sourceMappingURL=multi-switch.cjs.map
|
package/dist/multi-switch.js
CHANGED
package/dist/prompt-input.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOUNGGQIS_cjs = require('./chunk-OUNGGQIS.cjs');
|
|
4
4
|
require('./chunk-OASSZI6M.cjs');
|
|
5
5
|
require('./chunk-I27K6NLX.cjs');
|
|
6
6
|
require('./chunk-JKD6CFIP.cjs');
|
|
@@ -15,7 +15,7 @@ require('./chunk-TI7D4QDM.cjs');
|
|
|
15
15
|
require('./chunk-57FQGQJK.cjs');
|
|
16
16
|
require('./chunk-OUYC6EIL.cjs');
|
|
17
17
|
require('./chunk-M5MUGSON.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-NZHVDWOM.cjs');
|
|
19
19
|
require('./chunk-XCZZVRBY.cjs');
|
|
20
20
|
require('./chunk-MXWR3T3N.cjs');
|
|
21
21
|
require('./chunk-SNHU2AI4.cjs');
|
|
@@ -25,15 +25,15 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
25
25
|
|
|
26
26
|
Object.defineProperty(exports, "PromptInput", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkOUNGGQIS_cjs.PromptInput; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "promptDataUrlToFile", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkOUNGGQIS_cjs.promptDataUrlToFile; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "promptFileToDataUrl", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkOUNGGQIS_cjs.promptFileToDataUrl; }
|
|
37
37
|
});
|
|
38
38
|
//# sourceMappingURL=prompt-input.cjs.map
|
|
39
39
|
//# sourceMappingURL=prompt-input.cjs.map
|
package/dist/prompt-input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PromptInput, promptDataUrlToFile, promptFileToDataUrl } from './chunk-
|
|
1
|
+
export { PromptInput, promptDataUrlToFile, promptFileToDataUrl } from './chunk-B6WTCAGY.js';
|
|
2
2
|
import './chunk-GR2WKBER.js';
|
|
3
3
|
import './chunk-SV5BW3IA.js';
|
|
4
4
|
import './chunk-J6IQHJET.js';
|
|
@@ -13,7 +13,7 @@ import './chunk-RBCMKPBX.js';
|
|
|
13
13
|
import './chunk-RGANGU7X.js';
|
|
14
14
|
import './chunk-YX6FTJ6N.js';
|
|
15
15
|
import './chunk-LQ4ICCN2.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-4GPH7HOR.js';
|
|
17
17
|
import './chunk-45BBNJQD.js';
|
|
18
18
|
import './chunk-J3A4Z2P7.js';
|
|
19
19
|
import './chunk-EDYAXGUM.js';
|
package/dist/reason-tag.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkI2VAGZXY_cjs = require('./chunk-I2VAGZXY.cjs');
|
|
4
4
|
require('./chunk-MKGWHSNV.cjs');
|
|
5
5
|
require('./chunk-J2DI6RMR.cjs');
|
|
6
6
|
require('./chunk-MKHYENKR.cjs');
|
|
@@ -8,7 +8,7 @@ require('./chunk-TI7D4QDM.cjs');
|
|
|
8
8
|
require('./chunk-57FQGQJK.cjs');
|
|
9
9
|
require('./chunk-OUYC6EIL.cjs');
|
|
10
10
|
require('./chunk-M5MUGSON.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-NZHVDWOM.cjs');
|
|
12
12
|
require('./chunk-XCZZVRBY.cjs');
|
|
13
13
|
require('./chunk-MXWR3T3N.cjs');
|
|
14
14
|
require('./chunk-ZU5Q77OT.cjs');
|
|
@@ -17,7 +17,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "ReasonTag", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkI2VAGZXY_cjs.ReasonTag; }
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=reason-tag.cjs.map
|
|
23
23
|
//# sourceMappingURL=reason-tag.cjs.map
|
package/dist/reason-tag.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ReasonTag } from './chunk-
|
|
1
|
+
export { ReasonTag } from './chunk-GSMD5NK5.js';
|
|
2
2
|
import './chunk-QTS4Q2NK.js';
|
|
3
3
|
import './chunk-MQ6VGG62.js';
|
|
4
4
|
import './chunk-5VMILVWD.js';
|
|
@@ -6,7 +6,7 @@ import './chunk-RBCMKPBX.js';
|
|
|
6
6
|
import './chunk-RGANGU7X.js';
|
|
7
7
|
import './chunk-YX6FTJ6N.js';
|
|
8
8
|
import './chunk-LQ4ICCN2.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-4GPH7HOR.js';
|
|
10
10
|
import './chunk-45BBNJQD.js';
|
|
11
11
|
import './chunk-J3A4Z2P7.js';
|
|
12
12
|
import './chunk-MMW2JGKZ.js';
|
package/dist/sidebar.cjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGK7IGL7N_cjs = require('./chunk-GK7IGL7N.cjs');
|
|
4
4
|
require('./chunk-A2JUTNE6.cjs');
|
|
5
5
|
require('./chunk-T6YELZPJ.cjs');
|
|
6
6
|
require('./chunk-4GOOSZEK.cjs');
|
|
7
7
|
require('./chunk-TXTRTTG7.cjs');
|
|
8
8
|
require('./chunk-FQZE5N2N.cjs');
|
|
9
9
|
require('./chunk-J2DI6RMR.cjs');
|
|
10
|
+
require('./chunk-X6LGRB4H.cjs');
|
|
10
11
|
require('./chunk-57FQGQJK.cjs');
|
|
11
12
|
require('./chunk-OUYC6EIL.cjs');
|
|
12
13
|
require('./chunk-SNHU2AI4.cjs');
|
|
@@ -16,11 +17,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "Sidebar", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkGK7IGL7N_cjs.Sidebar; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "useSidebar", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkGK7IGL7N_cjs.useSidebar; }
|
|
24
25
|
});
|
|
25
26
|
//# sourceMappingURL=sidebar.cjs.map
|
|
26
27
|
//# sourceMappingURL=sidebar.cjs.map
|
package/dist/sidebar.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { N as NavigableProps } from './types-DJI492iY.cjs';
|
|
3
|
+
import { N as NavigableProps, C as Color } from './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
type SidebarCollapseMode = "icons" | "letters";
|
|
6
6
|
interface SidebarProps {
|
|
@@ -29,14 +29,57 @@ interface SidebarProps {
|
|
|
29
29
|
* @default "icons"
|
|
30
30
|
*/
|
|
31
31
|
collapseMode?: SidebarCollapseMode;
|
|
32
|
+
/**
|
|
33
|
+
* Wrap the children in `<nav aria-label={navLabel}>`, so the items form a
|
|
34
|
+
* navigation landmark. The root stays an `<aside>`; the `<nav>` sits inside
|
|
35
|
+
* it and takes over the column layout. Omitted (or empty), no `<nav>` is
|
|
36
|
+
* rendered and the markup is exactly what it was before this prop existed.
|
|
37
|
+
*/
|
|
38
|
+
navLabel?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Arrow-key movement between items with a roving tabindex: the rail becomes
|
|
41
|
+
* ONE tab stop (the active item, else the first enabled one), and
|
|
42
|
+
* ArrowUp / ArrowDown / Home / End move focus within it. Disabled items and
|
|
43
|
+
* items inside a closed `Sidebar.Submenu` are skipped; a submenu's trigger
|
|
44
|
+
* is part of the sequence. Keys pressed in an input, textarea, select or
|
|
45
|
+
* contenteditable inside the sidebar are never intercepted, and
|
|
46
|
+
* `Sidebar.Toggle` keeps its own tab stop.
|
|
47
|
+
*
|
|
48
|
+
* Opt-in because it changes Tab order: without it every item is its own
|
|
49
|
+
* tab stop, as before.
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
keyboardNav?: boolean;
|
|
32
53
|
className?: string;
|
|
33
54
|
}
|
|
55
|
+
/** Colour of a {@link SidebarItemProps.dot}. `dot={true}` is red. */
|
|
56
|
+
type SidebarDotColor = Color;
|
|
34
57
|
interface SidebarItemProps extends NavigableProps {
|
|
35
58
|
children: ReactNode;
|
|
36
59
|
icon?: ReactNode;
|
|
37
60
|
active?: boolean;
|
|
38
61
|
disabled?: boolean;
|
|
39
62
|
badge?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Also render `badge` when the sidebar is collapsed, as an overlay at the
|
|
65
|
+
* corner of the icon (or of the letters). Off by default: a collapsed rail
|
|
66
|
+
* has never shown badges, and a wide badge ("Beta") over a 20px icon is not
|
|
67
|
+
* something to switch on for every existing consumer. Best for short counts.
|
|
68
|
+
* Handle: `data-react-fancy-sidebar-badge`.
|
|
69
|
+
*/
|
|
70
|
+
collapsedBadge?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* A small attention dot at the icon's corner (unread, warning, "needs
|
|
73
|
+
* you"), shown expanded AND collapsed. `true` is red; pass any Badge colour
|
|
74
|
+
* for another. Purely visual: pair it with `dotLabel`. Handle:
|
|
75
|
+
* `data-react-fancy-sidebar-dot`, with `data-color`.
|
|
76
|
+
*/
|
|
77
|
+
dot?: boolean | SidebarDotColor;
|
|
78
|
+
/**
|
|
79
|
+
* Screen-reader text for the dot ("3 unread"), rendered visually hidden and
|
|
80
|
+
* appended to the item's accessible name. Ignored without `dot`.
|
|
81
|
+
*/
|
|
82
|
+
dotLabel?: string;
|
|
40
83
|
onClick?: () => void;
|
|
41
84
|
className?: string;
|
|
42
85
|
}
|
|
@@ -59,9 +102,11 @@ interface SidebarContextValue {
|
|
|
59
102
|
collapsed: boolean;
|
|
60
103
|
collapseMode: SidebarCollapseMode;
|
|
61
104
|
setCollapsed: (collapsed: boolean) => void;
|
|
105
|
+
/** Whether the root has `keyboardNav` on. */
|
|
106
|
+
keyboardNav?: boolean;
|
|
62
107
|
}
|
|
63
108
|
|
|
64
|
-
declare function SidebarItem({ children, href, as: As, icon, active, disabled, badge, onClick, className, ...rest }: SidebarItemProps): react.JSX.Element;
|
|
109
|
+
declare function SidebarItem({ children, href, as: As, icon, active, disabled, badge, collapsedBadge, dot, dotLabel, onClick, className, ...rest }: SidebarItemProps): react.JSX.Element;
|
|
65
110
|
declare namespace SidebarItem {
|
|
66
111
|
var displayName: string;
|
|
67
112
|
}
|
|
@@ -81,7 +126,7 @@ declare namespace SidebarToggle {
|
|
|
81
126
|
var displayName: string;
|
|
82
127
|
}
|
|
83
128
|
|
|
84
|
-
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, embedded, className, }: SidebarProps): react.JSX.Element;
|
|
129
|
+
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, embedded, navLabel, keyboardNav, className, }: SidebarProps): react.JSX.Element;
|
|
85
130
|
declare const Sidebar: typeof SidebarRoot & {
|
|
86
131
|
Item: typeof SidebarItem;
|
|
87
132
|
Group: typeof SidebarGroup;
|
|
@@ -91,4 +136,4 @@ declare const Sidebar: typeof SidebarRoot & {
|
|
|
91
136
|
|
|
92
137
|
declare function useSidebar(): SidebarContextValue;
|
|
93
138
|
|
|
94
|
-
export { Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, useSidebar };
|
|
139
|
+
export { Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarDotColor, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, useSidebar };
|
package/dist/sidebar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { N as NavigableProps } from './types-DJI492iY.js';
|
|
3
|
+
import { N as NavigableProps, C as Color } from './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
type SidebarCollapseMode = "icons" | "letters";
|
|
6
6
|
interface SidebarProps {
|
|
@@ -29,14 +29,57 @@ interface SidebarProps {
|
|
|
29
29
|
* @default "icons"
|
|
30
30
|
*/
|
|
31
31
|
collapseMode?: SidebarCollapseMode;
|
|
32
|
+
/**
|
|
33
|
+
* Wrap the children in `<nav aria-label={navLabel}>`, so the items form a
|
|
34
|
+
* navigation landmark. The root stays an `<aside>`; the `<nav>` sits inside
|
|
35
|
+
* it and takes over the column layout. Omitted (or empty), no `<nav>` is
|
|
36
|
+
* rendered and the markup is exactly what it was before this prop existed.
|
|
37
|
+
*/
|
|
38
|
+
navLabel?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Arrow-key movement between items with a roving tabindex: the rail becomes
|
|
41
|
+
* ONE tab stop (the active item, else the first enabled one), and
|
|
42
|
+
* ArrowUp / ArrowDown / Home / End move focus within it. Disabled items and
|
|
43
|
+
* items inside a closed `Sidebar.Submenu` are skipped; a submenu's trigger
|
|
44
|
+
* is part of the sequence. Keys pressed in an input, textarea, select or
|
|
45
|
+
* contenteditable inside the sidebar are never intercepted, and
|
|
46
|
+
* `Sidebar.Toggle` keeps its own tab stop.
|
|
47
|
+
*
|
|
48
|
+
* Opt-in because it changes Tab order: without it every item is its own
|
|
49
|
+
* tab stop, as before.
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
keyboardNav?: boolean;
|
|
32
53
|
className?: string;
|
|
33
54
|
}
|
|
55
|
+
/** Colour of a {@link SidebarItemProps.dot}. `dot={true}` is red. */
|
|
56
|
+
type SidebarDotColor = Color;
|
|
34
57
|
interface SidebarItemProps extends NavigableProps {
|
|
35
58
|
children: ReactNode;
|
|
36
59
|
icon?: ReactNode;
|
|
37
60
|
active?: boolean;
|
|
38
61
|
disabled?: boolean;
|
|
39
62
|
badge?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Also render `badge` when the sidebar is collapsed, as an overlay at the
|
|
65
|
+
* corner of the icon (or of the letters). Off by default: a collapsed rail
|
|
66
|
+
* has never shown badges, and a wide badge ("Beta") over a 20px icon is not
|
|
67
|
+
* something to switch on for every existing consumer. Best for short counts.
|
|
68
|
+
* Handle: `data-react-fancy-sidebar-badge`.
|
|
69
|
+
*/
|
|
70
|
+
collapsedBadge?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* A small attention dot at the icon's corner (unread, warning, "needs
|
|
73
|
+
* you"), shown expanded AND collapsed. `true` is red; pass any Badge colour
|
|
74
|
+
* for another. Purely visual: pair it with `dotLabel`. Handle:
|
|
75
|
+
* `data-react-fancy-sidebar-dot`, with `data-color`.
|
|
76
|
+
*/
|
|
77
|
+
dot?: boolean | SidebarDotColor;
|
|
78
|
+
/**
|
|
79
|
+
* Screen-reader text for the dot ("3 unread"), rendered visually hidden and
|
|
80
|
+
* appended to the item's accessible name. Ignored without `dot`.
|
|
81
|
+
*/
|
|
82
|
+
dotLabel?: string;
|
|
40
83
|
onClick?: () => void;
|
|
41
84
|
className?: string;
|
|
42
85
|
}
|
|
@@ -59,9 +102,11 @@ interface SidebarContextValue {
|
|
|
59
102
|
collapsed: boolean;
|
|
60
103
|
collapseMode: SidebarCollapseMode;
|
|
61
104
|
setCollapsed: (collapsed: boolean) => void;
|
|
105
|
+
/** Whether the root has `keyboardNav` on. */
|
|
106
|
+
keyboardNav?: boolean;
|
|
62
107
|
}
|
|
63
108
|
|
|
64
|
-
declare function SidebarItem({ children, href, as: As, icon, active, disabled, badge, onClick, className, ...rest }: SidebarItemProps): react.JSX.Element;
|
|
109
|
+
declare function SidebarItem({ children, href, as: As, icon, active, disabled, badge, collapsedBadge, dot, dotLabel, onClick, className, ...rest }: SidebarItemProps): react.JSX.Element;
|
|
65
110
|
declare namespace SidebarItem {
|
|
66
111
|
var displayName: string;
|
|
67
112
|
}
|
|
@@ -81,7 +126,7 @@ declare namespace SidebarToggle {
|
|
|
81
126
|
var displayName: string;
|
|
82
127
|
}
|
|
83
128
|
|
|
84
|
-
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, embedded, className, }: SidebarProps): react.JSX.Element;
|
|
129
|
+
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, embedded, navLabel, keyboardNav, className, }: SidebarProps): react.JSX.Element;
|
|
85
130
|
declare const Sidebar: typeof SidebarRoot & {
|
|
86
131
|
Item: typeof SidebarItem;
|
|
87
132
|
Group: typeof SidebarGroup;
|
|
@@ -91,4 +136,4 @@ declare const Sidebar: typeof SidebarRoot & {
|
|
|
91
136
|
|
|
92
137
|
declare function useSidebar(): SidebarContextValue;
|
|
93
138
|
|
|
94
|
-
export { Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, useSidebar };
|
|
139
|
+
export { Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarDotColor, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, useSidebar };
|
package/dist/sidebar.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { Sidebar, useSidebar } from './chunk-
|
|
1
|
+
export { Sidebar, useSidebar } from './chunk-MTDOFZIB.js';
|
|
2
2
|
import './chunk-2BXMMVQS.js';
|
|
3
3
|
import './chunk-CPY7NHXM.js';
|
|
4
4
|
import './chunk-ZQ3VXRUY.js';
|
|
5
5
|
import './chunk-5U2DZ7AV.js';
|
|
6
6
|
import './chunk-3K2CEAI7.js';
|
|
7
7
|
import './chunk-MQ6VGG62.js';
|
|
8
|
+
import './chunk-S53A6JIE.js';
|
|
8
9
|
import './chunk-RGANGU7X.js';
|
|
9
10
|
import './chunk-YX6FTJ6N.js';
|
|
10
11
|
import './chunk-EDYAXGUM.js';
|
package/dist/tabs.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRZUYCZ5D_cjs = require('./chunk-RZUYCZ5D.cjs');
|
|
4
|
+
require('./chunk-I27K6NLX.cjs');
|
|
4
5
|
require('./chunk-SNHU2AI4.cjs');
|
|
5
6
|
require('./chunk-ZU5Q77OT.cjs');
|
|
6
7
|
|
|
@@ -8,11 +9,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, "Tabs", {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkRZUYCZ5D_cjs.Tabs; }
|
|
12
13
|
});
|
|
13
14
|
Object.defineProperty(exports, "useTabs", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkRZUYCZ5D_cjs.useTabs; }
|
|
16
17
|
});
|
|
17
18
|
//# sourceMappingURL=tabs.cjs.map
|
|
18
19
|
//# sourceMappingURL=tabs.cjs.map
|
package/dist/tabs.js
CHANGED
package/dist/toast.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKFA7B6WP_cjs = require('./chunk-KFA7B6WP.cjs');
|
|
4
4
|
require('./chunk-MKHYENKR.cjs');
|
|
5
5
|
require('./chunk-TI7D4QDM.cjs');
|
|
6
6
|
require('./chunk-VBWRH4UW.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-OCHUZ7J3.cjs');
|
|
8
|
+
require('./chunk-X6LGRB4H.cjs');
|
|
8
9
|
require('./chunk-SNHU2AI4.cjs');
|
|
9
10
|
require('./chunk-ZU5Q77OT.cjs');
|
|
10
11
|
|
|
@@ -12,11 +13,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
12
13
|
|
|
13
14
|
Object.defineProperty(exports, "Toast", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkKFA7B6WP_cjs.Toast; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, "useToast", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKFA7B6WP_cjs.useToast; }
|
|
20
21
|
});
|
|
21
22
|
//# sourceMappingURL=toast.cjs.map
|
|
22
23
|
//# sourceMappingURL=toast.cjs.map
|
package/dist/toast.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { Toast, useToast } from './chunk-
|
|
1
|
+
export { Toast, useToast } from './chunk-ESCIXKFT.js';
|
|
2
2
|
import './chunk-5VMILVWD.js';
|
|
3
3
|
import './chunk-RBCMKPBX.js';
|
|
4
4
|
import './chunk-IQ4KQJAO.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OZ4QFJ7N.js';
|
|
6
|
+
import './chunk-S53A6JIE.js';
|
|
6
7
|
import './chunk-EDYAXGUM.js';
|
|
7
8
|
import './chunk-MMW2JGKZ.js';
|
|
8
9
|
//# sourceMappingURL=toast.js.map
|
package/docs/Button.md
CHANGED
|
@@ -102,3 +102,11 @@ should submit says so:
|
|
|
102
102
|
<Button variant="ghost" color="red" icon="trash-2">Delete</Button>
|
|
103
103
|
<Button variant="ghost" icon="download">Export</Button>
|
|
104
104
|
```
|
|
105
|
+
|
|
106
|
+
## Focus ring
|
|
107
|
+
|
|
108
|
+
The ring shows on `:focus-visible` only, so it appears when someone reaches the
|
|
109
|
+
Button by keyboard and not after a mouse click. It uses the focus token
|
|
110
|
+
(`--fancy-focus`, blue-500 by default; `--fancy-focus-dark`, blue-400, in dark
|
|
111
|
+
mode) and is offset against the surface token, so dark mode gets no white gap.
|
|
112
|
+
Override it with `focus-visible:ring-*` classes in `className`.
|