@particle-academy/react-fancy 5.54.1 → 5.55.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/button.cjs +3 -3
  3. package/dist/button.js +1 -1
  4. package/dist/{chunk-ZFU4FY3Q.js → chunk-4FZOH7BJ.js} +3 -3
  5. package/dist/{chunk-ZFU4FY3Q.js.map → chunk-4FZOH7BJ.js.map} +1 -1
  6. package/dist/{chunk-TCW72JBU.cjs → chunk-6XX6OHAP.cjs} +15 -15
  7. package/dist/{chunk-TCW72JBU.cjs.map → chunk-6XX6OHAP.cjs.map} +1 -1
  8. package/dist/{chunk-I2TBENUQ.cjs → chunk-7R7HENZG.cjs} +6 -6
  9. package/dist/{chunk-I2TBENUQ.cjs.map → chunk-7R7HENZG.cjs.map} +1 -1
  10. package/dist/{chunk-XOXA3QZR.cjs → chunk-C5YX5XVL.cjs} +3 -3
  11. package/dist/chunk-C5YX5XVL.cjs.map +1 -0
  12. package/dist/{chunk-EULOJOTU.js → chunk-DAJPPKPO.js} +3 -3
  13. package/dist/{chunk-EULOJOTU.js.map → chunk-DAJPPKPO.js.map} +1 -1
  14. package/dist/{chunk-REKY2CM6.js → chunk-KQYOIPHQ.js} +3 -3
  15. package/dist/{chunk-REKY2CM6.js.map → chunk-KQYOIPHQ.js.map} +1 -1
  16. package/dist/{chunk-4I4Y5MZO.cjs → chunk-LVE6ERRS.cjs} +4 -4
  17. package/dist/{chunk-4I4Y5MZO.cjs.map → chunk-LVE6ERRS.cjs.map} +1 -1
  18. package/dist/chunk-SFJ5WOX5.js +703 -0
  19. package/dist/chunk-SFJ5WOX5.js.map +1 -0
  20. package/dist/{chunk-6GKR5OAW.cjs → chunk-SIEPD6NR.cjs} +4 -4
  21. package/dist/{chunk-6GKR5OAW.cjs.map → chunk-SIEPD6NR.cjs.map} +1 -1
  22. package/dist/{chunk-45JO5BEZ.js → chunk-TLRRMYNV.js} +3 -3
  23. package/dist/chunk-TLRRMYNV.js.map +1 -0
  24. package/dist/chunk-XO4UWQCU.cjs +705 -0
  25. package/dist/chunk-XO4UWQCU.cjs.map +1 -0
  26. package/dist/{chunk-TBXZ3NGR.js → chunk-YBRQTZKV.js} +3 -3
  27. package/dist/{chunk-TBXZ3NGR.js.map → chunk-YBRQTZKV.js.map} +1 -1
  28. package/dist/index.cjs +27 -27
  29. package/dist/index.d.cts +1 -1
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.js +6 -6
  32. package/dist/json-editor.cjs +13 -13
  33. package/dist/json-editor.js +2 -2
  34. package/dist/magic-wand.cjs +3 -3
  35. package/dist/magic-wand.js +2 -2
  36. package/dist/prompt-input.cjs +3 -3
  37. package/dist/prompt-input.js +2 -2
  38. package/dist/reason-tag.cjs +3 -3
  39. package/dist/reason-tag.js +2 -2
  40. package/dist/time-grid.cjs +3 -2
  41. package/dist/time-grid.d.cts +120 -17
  42. package/dist/time-grid.d.ts +120 -17
  43. package/dist/time-grid.js +2 -1
  44. package/package.json +1 -1
  45. package/dist/chunk-45JO5BEZ.js.map +0 -1
  46. package/dist/chunk-GF23UBOT.js +0 -129
  47. package/dist/chunk-GF23UBOT.js.map +0 -1
  48. package/dist/chunk-WFHK2DKG.cjs +0 -131
  49. package/dist/chunk-WFHK2DKG.cjs.map +0 -1
  50. package/dist/chunk-XOXA3QZR.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -18,12 +18,12 @@ var chunkATJSHM6J_cjs = require('./chunk-ATJSHM6J.cjs');
18
18
  var chunkYJXP6AOL_cjs = require('./chunk-YJXP6AOL.cjs');
19
19
  var chunkCQ54H7DZ_cjs = require('./chunk-CQ54H7DZ.cjs');
20
20
  require('./chunk-XURQVDCN.cjs');
21
- var chunkWFHK2DKG_cjs = require('./chunk-WFHK2DKG.cjs');
21
+ var chunkXO4UWQCU_cjs = require('./chunk-XO4UWQCU.cjs');
22
22
  var chunkYH75G6SP_cjs = require('./chunk-YH75G6SP.cjs');
23
23
  var chunkUXYFM2XT_cjs = require('./chunk-UXYFM2XT.cjs');
24
24
  var chunk5ZNOLPIJ_cjs = require('./chunk-5ZNOLPIJ.cjs');
25
25
  var chunkAE53RKWR_cjs = require('./chunk-AE53RKWR.cjs');
26
- var chunk4I4Y5MZO_cjs = require('./chunk-4I4Y5MZO.cjs');
26
+ var chunkLVE6ERRS_cjs = require('./chunk-LVE6ERRS.cjs');
27
27
  var chunk5P3PISAX_cjs = require('./chunk-5P3PISAX.cjs');
28
28
  var chunkY7RGUUTS_cjs = require('./chunk-Y7RGUUTS.cjs');
29
29
  var chunkEZA6GWZL_cjs = require('./chunk-EZA6GWZL.cjs');
@@ -33,7 +33,7 @@ var chunkFVQO75KY_cjs = require('./chunk-FVQO75KY.cjs');
33
33
  var chunkKSU6RYWU_cjs = require('./chunk-KSU6RYWU.cjs');
34
34
  var chunkK5MQZTDW_cjs = require('./chunk-K5MQZTDW.cjs');
35
35
  var chunkB4YV2V7G_cjs = require('./chunk-B4YV2V7G.cjs');
36
- var chunkI2TBENUQ_cjs = require('./chunk-I2TBENUQ.cjs');
36
+ var chunk7R7HENZG_cjs = require('./chunk-7R7HENZG.cjs');
37
37
  var chunkBJKKW77L_cjs = require('./chunk-BJKKW77L.cjs');
38
38
  require('./chunk-I27K6NLX.cjs');
39
39
  var chunkBK6XQQYG_cjs = require('./chunk-BK6XQQYG.cjs');
@@ -46,14 +46,14 @@ var chunkWMANILKC_cjs = require('./chunk-WMANILKC.cjs');
46
46
  var chunkSSCW67KA_cjs = require('./chunk-SSCW67KA.cjs');
47
47
  var chunkAYBKPAI2_cjs = require('./chunk-AYBKPAI2.cjs');
48
48
  var chunk6MXFZ3B5_cjs = require('./chunk-6MXFZ3B5.cjs');
49
- var chunkTCW72JBU_cjs = require('./chunk-TCW72JBU.cjs');
49
+ var chunk6XX6OHAP_cjs = require('./chunk-6XX6OHAP.cjs');
50
50
  var chunkJRRYYW3Y_cjs = require('./chunk-JRRYYW3Y.cjs');
51
51
  var chunkGLGUQGAQ_cjs = require('./chunk-GLGUQGAQ.cjs');
52
52
  var chunk2O5UXH5R_cjs = require('./chunk-2O5UXH5R.cjs');
53
53
  var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
54
54
  var chunkIEQK3LGI_cjs = require('./chunk-IEQK3LGI.cjs');
55
55
  var chunkL4JIBKFW_cjs = require('./chunk-L4JIBKFW.cjs');
56
- var chunk6GKR5OAW_cjs = require('./chunk-6GKR5OAW.cjs');
56
+ var chunkSIEPD6NR_cjs = require('./chunk-SIEPD6NR.cjs');
57
57
  var chunkMAZEX4EZ_cjs = require('./chunk-MAZEX4EZ.cjs');
58
58
  require('./chunk-MRZXTL46.cjs');
59
59
  var chunkP53432AK_cjs = require('./chunk-P53432AK.cjs');
@@ -110,7 +110,7 @@ var chunkKNKOSMOQ_cjs = require('./chunk-KNKOSMOQ.cjs');
110
110
  var chunk57FQGQJK_cjs = require('./chunk-57FQGQJK.cjs');
111
111
  var chunkRXDRYWVD_cjs = require('./chunk-RXDRYWVD.cjs');
112
112
  require('./chunk-M5MUGSON.cjs');
113
- var chunkXOXA3QZR_cjs = require('./chunk-XOXA3QZR.cjs');
113
+ var chunkC5YX5XVL_cjs = require('./chunk-C5YX5XVL.cjs');
114
114
  var chunkX2FC7ODX_cjs = require('./chunk-X2FC7ODX.cjs');
115
115
  var chunkXCZZVRBY_cjs = require('./chunk-XCZZVRBY.cjs');
116
116
  var chunkMXWR3T3N_cjs = require('./chunk-MXWR3T3N.cjs');
@@ -271,7 +271,7 @@ Object.defineProperty(exports, "useTabs", {
271
271
  });
272
272
  Object.defineProperty(exports, "TimeGrid", {
273
273
  enumerable: true,
274
- get: function () { return chunkWFHK2DKG_cjs.TimeGrid; }
274
+ get: function () { return chunkXO4UWQCU_cjs.TimeGrid; }
275
275
  });
276
276
  Object.defineProperty(exports, "TimePicker", {
277
277
  enumerable: true,
@@ -303,7 +303,7 @@ Object.defineProperty(exports, "selectMode", {
303
303
  });
304
304
  Object.defineProperty(exports, "ReasonTag", {
305
305
  enumerable: true,
306
- get: function () { return chunk4I4Y5MZO_cjs.ReasonTag; }
306
+ get: function () { return chunkLVE6ERRS_cjs.ReasonTag; }
307
307
  });
308
308
  Object.defineProperty(exports, "Section", {
309
309
  enumerable: true,
@@ -351,19 +351,19 @@ Object.defineProperty(exports, "Progress", {
351
351
  });
352
352
  Object.defineProperty(exports, "PromptInput", {
353
353
  enumerable: true,
354
- get: function () { return chunkI2TBENUQ_cjs.PromptInput; }
354
+ get: function () { return chunk7R7HENZG_cjs.PromptInput; }
355
355
  });
356
356
  Object.defineProperty(exports, "browserPlatformHints", {
357
357
  enumerable: true,
358
- get: function () { return chunkI2TBENUQ_cjs.browserPlatformHints; }
358
+ get: function () { return chunk7R7HENZG_cjs.browserPlatformHints; }
359
359
  });
360
360
  Object.defineProperty(exports, "detectPlatform", {
361
361
  enumerable: true,
362
- get: function () { return chunkI2TBENUQ_cjs.detectPlatform; }
362
+ get: function () { return chunk7R7HENZG_cjs.detectPlatform; }
363
363
  });
364
364
  Object.defineProperty(exports, "modifierKeyLabel", {
365
365
  enumerable: true,
366
- get: function () { return chunkI2TBENUQ_cjs.modifierKeyLabel; }
366
+ get: function () { return chunk7R7HENZG_cjs.modifierKeyLabel; }
367
367
  });
368
368
  Object.defineProperty(exports, "Tooltip", {
369
369
  enumerable: true,
@@ -443,51 +443,51 @@ Object.defineProperty(exports, "textareaAdapter", {
443
443
  });
444
444
  Object.defineProperty(exports, "JSON_FIELD_TYPES", {
445
445
  enumerable: true,
446
- get: function () { return chunkTCW72JBU_cjs.JSON_FIELD_TYPES; }
446
+ get: function () { return chunk6XX6OHAP_cjs.JSON_FIELD_TYPES; }
447
447
  });
448
448
  Object.defineProperty(exports, "JsonEditor", {
449
449
  enumerable: true,
450
- get: function () { return chunkTCW72JBU_cjs.JsonEditor; }
450
+ get: function () { return chunk6XX6OHAP_cjs.JsonEditor; }
451
451
  });
452
452
  Object.defineProperty(exports, "applyJsonEdit", {
453
453
  enumerable: true,
454
- get: function () { return chunkTCW72JBU_cjs.applyJsonEdit; }
454
+ get: function () { return chunk6XX6OHAP_cjs.applyJsonEdit; }
455
455
  });
456
456
  Object.defineProperty(exports, "describeEdit", {
457
457
  enumerable: true,
458
- get: function () { return chunkTCW72JBU_cjs.describeEdit; }
458
+ get: function () { return chunk6XX6OHAP_cjs.describeEdit; }
459
459
  });
460
460
  Object.defineProperty(exports, "findJsonConflicts", {
461
461
  enumerable: true,
462
- get: function () { return chunkTCW72JBU_cjs.findJsonConflicts; }
462
+ get: function () { return chunk6XX6OHAP_cjs.findJsonConflicts; }
463
463
  });
464
464
  Object.defineProperty(exports, "getAtPath", {
465
465
  enumerable: true,
466
- get: function () { return chunkTCW72JBU_cjs.getAtPath; }
466
+ get: function () { return chunk6XX6OHAP_cjs.getAtPath; }
467
467
  });
468
468
  Object.defineProperty(exports, "inferType", {
469
469
  enumerable: true,
470
- get: function () { return chunkTCW72JBU_cjs.inferType; }
470
+ get: function () { return chunk6XX6OHAP_cjs.inferType; }
471
471
  });
472
472
  Object.defineProperty(exports, "parseKeyMap", {
473
473
  enumerable: true,
474
- get: function () { return chunkTCW72JBU_cjs.parseKeyMap; }
474
+ get: function () { return chunk6XX6OHAP_cjs.parseKeyMap; }
475
475
  });
476
476
  Object.defineProperty(exports, "parsePath", {
477
477
  enumerable: true,
478
- get: function () { return chunkTCW72JBU_cjs.parsePath; }
478
+ get: function () { return chunk6XX6OHAP_cjs.parsePath; }
479
479
  });
480
480
  Object.defineProperty(exports, "pathToString", {
481
481
  enumerable: true,
482
- get: function () { return chunkTCW72JBU_cjs.pathToString; }
482
+ get: function () { return chunk6XX6OHAP_cjs.pathToString; }
483
483
  });
484
484
  Object.defineProperty(exports, "resolveKeyRule", {
485
485
  enumerable: true,
486
- get: function () { return chunkTCW72JBU_cjs.resolveKeyRule; }
486
+ get: function () { return chunk6XX6OHAP_cjs.resolveKeyRule; }
487
487
  });
488
488
  Object.defineProperty(exports, "typeMatches", {
489
489
  enumerable: true,
490
- get: function () { return chunkTCW72JBU_cjs.typeMatches; }
490
+ get: function () { return chunk6XX6OHAP_cjs.typeMatches; }
491
491
  });
492
492
  Object.defineProperty(exports, "Input", {
493
493
  enumerable: true,
@@ -519,7 +519,7 @@ Object.defineProperty(exports, "Kbd", {
519
519
  });
520
520
  Object.defineProperty(exports, "MagicWand", {
521
521
  enumerable: true,
522
- get: function () { return chunk6GKR5OAW_cjs.MagicWand; }
522
+ get: function () { return chunkSIEPD6NR_cjs.MagicWand; }
523
523
  });
524
524
  Object.defineProperty(exports, "Textarea", {
525
525
  enumerable: true,
@@ -827,11 +827,11 @@ Object.defineProperty(exports, "useEscapeKey", {
827
827
  });
828
828
  Object.defineProperty(exports, "Action", {
829
829
  enumerable: true,
830
- get: function () { return chunkXOXA3QZR_cjs.Action; }
830
+ get: function () { return chunkC5YX5XVL_cjs.Action; }
831
831
  });
832
832
  Object.defineProperty(exports, "Button", {
833
833
  enumerable: true,
834
- get: function () { return chunkXOXA3QZR_cjs.Button; }
834
+ get: function () { return chunkC5YX5XVL_cjs.Button; }
835
835
  });
836
836
  Object.defineProperty(exports, "sanitizeHref", {
837
837
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -47,7 +47,7 @@ export { FauxClient } from './faux-client.cjs';
47
47
  export { F as FauxClientProps } from './FauxClient.types-Dtk9aRs6.cjs';
48
48
  export { StickyNote, StickyNoteColor, StickyNoteProps } from './sticky-note.cjs';
49
49
  export { b as Timeline, a as TimelineBlockProps, c as TimelineEvent, T as TimelineItemProps, d as TimelineOrientation, e as TimelineProps, f as TimelineVariant } from './Timeline-BSk0X2nV.cjs';
50
- export { TimeGrid, TimeGridProps, TimeGridTone } from './time-grid.cjs';
50
+ export { TimeGrid, TimeGridBlockedCell, TimeGridCell, TimeGridCoord, TimeGridDisabledRange, TimeGridMarkDef, TimeGridProps, TimeGridSelection, TimeGridSelectionShape, TimeGridStateDef, TimeGridTone } from './time-grid.cjs';
51
51
  export { Marquee, MarqueeDirection, MarqueeProps } from './marquee.cjs';
52
52
  export { Tooltip, TooltipProps } from './tooltip.cjs';
53
53
  export { Popover, PopoverContentProps, PopoverContextValue, PopoverProps, PopoverTriggerProps, usePopover } from './popover.cjs';
package/dist/index.d.ts CHANGED
@@ -47,7 +47,7 @@ export { FauxClient } from './faux-client.js';
47
47
  export { F as FauxClientProps } from './FauxClient.types-Dtk9aRs6.js';
48
48
  export { StickyNote, StickyNoteColor, StickyNoteProps } from './sticky-note.js';
49
49
  export { b as Timeline, a as TimelineBlockProps, c as TimelineEvent, T as TimelineItemProps, d as TimelineOrientation, e as TimelineProps, f as TimelineVariant } from './Timeline-B-3JFX43.js';
50
- export { TimeGrid, TimeGridProps, TimeGridTone } from './time-grid.js';
50
+ export { TimeGrid, TimeGridBlockedCell, TimeGridCell, TimeGridCoord, TimeGridDisabledRange, TimeGridMarkDef, TimeGridProps, TimeGridSelection, TimeGridSelectionShape, TimeGridStateDef, TimeGridTone } from './time-grid.js';
51
51
  export { Marquee, MarqueeDirection, MarqueeProps } from './marquee.js';
52
52
  export { Tooltip, TooltipProps } from './tooltip.js';
53
53
  export { Popover, PopoverContentProps, PopoverContextValue, PopoverProps, PopoverTriggerProps, usePopover } from './popover.js';
package/dist/index.js CHANGED
@@ -16,12 +16,12 @@ export { StickyNote } from './chunk-CCG2L5EH.js';
16
16
  export { Table } from './chunk-YAPGHVBZ.js';
17
17
  export { Tabs, useTabs } from './chunk-IU5WQUUC.js';
18
18
  import './chunk-TMR56BBE.js';
19
- export { TimeGrid } from './chunk-GF23UBOT.js';
19
+ export { TimeGrid } from './chunk-SFJ5WOX5.js';
20
20
  export { TimePicker } from './chunk-AZQXPI5S.js';
21
21
  export { Timeline } from './chunk-QGY5FPVM.js';
22
22
  export { Toast, useToast } from './chunk-UIE5FP3A.js';
23
23
  export { QrCode, encodeQr, selectMode } from './chunk-RLE5WYY6.js';
24
- export { ReasonTag } from './chunk-ZFU4FY3Q.js';
24
+ export { ReasonTag } from './chunk-4FZOH7BJ.js';
25
25
  export { Section } from './chunk-SLJD25VV.js';
26
26
  export { Separator } from './chunk-JSD6IEBW.js';
27
27
  export { Sidebar, useSidebar } from './chunk-YJHP5FVA.js';
@@ -31,7 +31,7 @@ export { StatList } from './chunk-SXXDTW7S.js';
31
31
  export { Pillbox } from './chunk-G35XN5WV.js';
32
32
  export { Profile } from './chunk-GOE36IXL.js';
33
33
  export { Progress } from './chunk-UE3QO7R3.js';
34
- export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel } from './chunk-REKY2CM6.js';
34
+ export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel } from './chunk-KQYOIPHQ.js';
35
35
  export { Tooltip } from './chunk-TGBLDJ72.js';
36
36
  import './chunk-SV5BW3IA.js';
37
37
  export { PullQuote } from './chunk-44VYWOCG.js';
@@ -44,14 +44,14 @@ export { OtpInput } from './chunk-TMQF2CRN.js';
44
44
  export { Pagination } from './chunk-LKN7FYW6.js';
45
45
  export { IndexList } from './chunk-BLOX7MRO.js';
46
46
  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-TBXZ3NGR.js';
47
+ export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-YBRQTZKV.js';
48
48
  export { Input } from './chunk-XQDGUXMS.js';
49
49
  export { Select } from './chunk-T45LBTXH.js';
50
50
  export { Switch } from './chunk-DXZCKDYS.js';
51
51
  export { DatePicker } from './chunk-2UTN3EFK.js';
52
52
  export { Kanban, useKanban } from './chunk-35MF32VQ.js';
53
53
  export { Kbd } from './chunk-OTSVOPKP.js';
54
- export { MagicWand } from './chunk-EULOJOTU.js';
54
+ export { MagicWand } from './chunk-DAJPPKPO.js';
55
55
  export { Textarea } from './chunk-UVUBV4VZ.js';
56
56
  import './chunk-KXYMMNNV.js';
57
57
  export { DisplayValue } from './chunk-WX5XYDVN.js';
@@ -108,7 +108,7 @@ export { Breadcrumbs } from './chunk-3AYRLFNO.js';
108
108
  export { useOutsideClick } from './chunk-RGANGU7X.js';
109
109
  export { useEscapeKey } from './chunk-JXE5XID6.js';
110
110
  import './chunk-LQ4ICCN2.js';
111
- export { Action, Button } from './chunk-45JO5BEZ.js';
111
+ export { Action, Button } from './chunk-TLRRMYNV.js';
112
112
  export { sanitizeHref, sanitizeHtml } from './chunk-6TBRBN7H.js';
113
113
  export { EMOJI_CATEGORY_ORDER, EMOJI_DATA, EMOJI_ENTRIES, SKIN_TONES, applyTone, find, hasSkinTones, resolve, search, skinTones } from './chunk-45BBNJQD.js';
114
114
  export { Icon, configureIcons, registerIconAddendum, registerIconSet, registerIcons } from './chunk-J3A4Z2P7.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkTCW72JBU_cjs = require('./chunk-TCW72JBU.cjs');
3
+ var chunk6XX6OHAP_cjs = require('./chunk-6XX6OHAP.cjs');
4
4
  require('./chunk-JRRYYW3Y.cjs');
5
5
  require('./chunk-GLGUQGAQ.cjs');
6
6
  require('./chunk-2O5UXH5R.cjs');
@@ -21,7 +21,7 @@ require('./chunk-NBZC6LOB.cjs');
21
21
  require('./chunk-MOU6O324.cjs');
22
22
  require('./chunk-57FQGQJK.cjs');
23
23
  require('./chunk-RXDRYWVD.cjs');
24
- require('./chunk-XOXA3QZR.cjs');
24
+ require('./chunk-C5YX5XVL.cjs');
25
25
  require('./chunk-X2FC7ODX.cjs');
26
26
  require('./chunk-XCZZVRBY.cjs');
27
27
  require('./chunk-MXWR3T3N.cjs');
@@ -33,47 +33,47 @@ require('./chunk-ZU5Q77OT.cjs');
33
33
 
34
34
  Object.defineProperty(exports, "JsonEditor", {
35
35
  enumerable: true,
36
- get: function () { return chunkTCW72JBU_cjs.JsonEditor; }
36
+ get: function () { return chunk6XX6OHAP_cjs.JsonEditor; }
37
37
  });
38
38
  Object.defineProperty(exports, "applyJsonEdit", {
39
39
  enumerable: true,
40
- get: function () { return chunkTCW72JBU_cjs.applyJsonEdit; }
40
+ get: function () { return chunk6XX6OHAP_cjs.applyJsonEdit; }
41
41
  });
42
42
  Object.defineProperty(exports, "describeEdit", {
43
43
  enumerable: true,
44
- get: function () { return chunkTCW72JBU_cjs.describeEdit; }
44
+ get: function () { return chunk6XX6OHAP_cjs.describeEdit; }
45
45
  });
46
46
  Object.defineProperty(exports, "findJsonConflicts", {
47
47
  enumerable: true,
48
- get: function () { return chunkTCW72JBU_cjs.findJsonConflicts; }
48
+ get: function () { return chunk6XX6OHAP_cjs.findJsonConflicts; }
49
49
  });
50
50
  Object.defineProperty(exports, "getAtPath", {
51
51
  enumerable: true,
52
- get: function () { return chunkTCW72JBU_cjs.getAtPath; }
52
+ get: function () { return chunk6XX6OHAP_cjs.getAtPath; }
53
53
  });
54
54
  Object.defineProperty(exports, "inferType", {
55
55
  enumerable: true,
56
- get: function () { return chunkTCW72JBU_cjs.inferType; }
56
+ get: function () { return chunk6XX6OHAP_cjs.inferType; }
57
57
  });
58
58
  Object.defineProperty(exports, "parseKeyMap", {
59
59
  enumerable: true,
60
- get: function () { return chunkTCW72JBU_cjs.parseKeyMap; }
60
+ get: function () { return chunk6XX6OHAP_cjs.parseKeyMap; }
61
61
  });
62
62
  Object.defineProperty(exports, "parsePath", {
63
63
  enumerable: true,
64
- get: function () { return chunkTCW72JBU_cjs.parsePath; }
64
+ get: function () { return chunk6XX6OHAP_cjs.parsePath; }
65
65
  });
66
66
  Object.defineProperty(exports, "pathToString", {
67
67
  enumerable: true,
68
- get: function () { return chunkTCW72JBU_cjs.pathToString; }
68
+ get: function () { return chunk6XX6OHAP_cjs.pathToString; }
69
69
  });
70
70
  Object.defineProperty(exports, "resolveKeyRule", {
71
71
  enumerable: true,
72
- get: function () { return chunkTCW72JBU_cjs.resolveKeyRule; }
72
+ get: function () { return chunk6XX6OHAP_cjs.resolveKeyRule; }
73
73
  });
74
74
  Object.defineProperty(exports, "typeMatches", {
75
75
  enumerable: true,
76
- get: function () { return chunkTCW72JBU_cjs.typeMatches; }
76
+ get: function () { return chunk6XX6OHAP_cjs.typeMatches; }
77
77
  });
78
78
  //# sourceMappingURL=json-editor.cjs.map
79
79
  //# sourceMappingURL=json-editor.cjs.map
@@ -1,4 +1,4 @@
1
- export { JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-TBXZ3NGR.js';
1
+ export { JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-YBRQTZKV.js';
2
2
  import './chunk-XQDGUXMS.js';
3
3
  import './chunk-T45LBTXH.js';
4
4
  import './chunk-DXZCKDYS.js';
@@ -19,7 +19,7 @@ import './chunk-WHEXTDPV.js';
19
19
  import './chunk-6FCQD2KQ.js';
20
20
  import './chunk-RGANGU7X.js';
21
21
  import './chunk-JXE5XID6.js';
22
- import './chunk-45JO5BEZ.js';
22
+ import './chunk-TLRRMYNV.js';
23
23
  import './chunk-6TBRBN7H.js';
24
24
  import './chunk-45BBNJQD.js';
25
25
  import './chunk-J3A4Z2P7.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6GKR5OAW_cjs = require('./chunk-6GKR5OAW.cjs');
3
+ var chunkSIEPD6NR_cjs = require('./chunk-SIEPD6NR.cjs');
4
4
  require('./chunk-MAZEX4EZ.cjs');
5
5
  require('./chunk-MRZXTL46.cjs');
6
6
  require('./chunk-P53432AK.cjs');
@@ -12,7 +12,7 @@ require('./chunk-NBZC6LOB.cjs');
12
12
  require('./chunk-VBWRH4UW.cjs');
13
13
  require('./chunk-MOU6O324.cjs');
14
14
  require('./chunk-M5MUGSON.cjs');
15
- require('./chunk-XOXA3QZR.cjs');
15
+ require('./chunk-C5YX5XVL.cjs');
16
16
  require('./chunk-X2FC7ODX.cjs');
17
17
  require('./chunk-XCZZVRBY.cjs');
18
18
  require('./chunk-MXWR3T3N.cjs');
@@ -22,7 +22,7 @@ require('./chunk-ZU5Q77OT.cjs');
22
22
 
23
23
  Object.defineProperty(exports, "MagicWand", {
24
24
  enumerable: true,
25
- get: function () { return chunk6GKR5OAW_cjs.MagicWand; }
25
+ get: function () { return chunkSIEPD6NR_cjs.MagicWand; }
26
26
  });
27
27
  //# sourceMappingURL=magic-wand.cjs.map
28
28
  //# sourceMappingURL=magic-wand.cjs.map
@@ -1,4 +1,4 @@
1
- export { MagicWand } from './chunk-EULOJOTU.js';
1
+ export { MagicWand } from './chunk-DAJPPKPO.js';
2
2
  import './chunk-UVUBV4VZ.js';
3
3
  import './chunk-KXYMMNNV.js';
4
4
  import './chunk-WX5XYDVN.js';
@@ -10,7 +10,7 @@ import './chunk-WHEXTDPV.js';
10
10
  import './chunk-IQ4KQJAO.js';
11
11
  import './chunk-6FCQD2KQ.js';
12
12
  import './chunk-LQ4ICCN2.js';
13
- import './chunk-45JO5BEZ.js';
13
+ import './chunk-TLRRMYNV.js';
14
14
  import './chunk-6TBRBN7H.js';
15
15
  import './chunk-45BBNJQD.js';
16
16
  import './chunk-J3A4Z2P7.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkI2TBENUQ_cjs = require('./chunk-I2TBENUQ.cjs');
3
+ var chunk7R7HENZG_cjs = require('./chunk-7R7HENZG.cjs');
4
4
  require('./chunk-BJKKW77L.cjs');
5
5
  require('./chunk-I27K6NLX.cjs');
6
6
  require('./chunk-AIA5UNQ5.cjs');
@@ -11,7 +11,7 @@ require('./chunk-NBZC6LOB.cjs');
11
11
  require('./chunk-57FQGQJK.cjs');
12
12
  require('./chunk-RXDRYWVD.cjs');
13
13
  require('./chunk-M5MUGSON.cjs');
14
- require('./chunk-XOXA3QZR.cjs');
14
+ require('./chunk-C5YX5XVL.cjs');
15
15
  require('./chunk-X2FC7ODX.cjs');
16
16
  require('./chunk-XCZZVRBY.cjs');
17
17
  require('./chunk-MXWR3T3N.cjs');
@@ -22,7 +22,7 @@ require('./chunk-ZU5Q77OT.cjs');
22
22
 
23
23
  Object.defineProperty(exports, "PromptInput", {
24
24
  enumerable: true,
25
- get: function () { return chunkI2TBENUQ_cjs.PromptInput; }
25
+ get: function () { return chunk7R7HENZG_cjs.PromptInput; }
26
26
  });
27
27
  //# sourceMappingURL=prompt-input.cjs.map
28
28
  //# sourceMappingURL=prompt-input.cjs.map
@@ -1,4 +1,4 @@
1
- export { PromptInput } from './chunk-REKY2CM6.js';
1
+ export { PromptInput } from './chunk-KQYOIPHQ.js';
2
2
  import './chunk-TGBLDJ72.js';
3
3
  import './chunk-SV5BW3IA.js';
4
4
  import './chunk-TJ66S5K6.js';
@@ -9,7 +9,7 @@ import './chunk-WHEXTDPV.js';
9
9
  import './chunk-RGANGU7X.js';
10
10
  import './chunk-JXE5XID6.js';
11
11
  import './chunk-LQ4ICCN2.js';
12
- import './chunk-45JO5BEZ.js';
12
+ import './chunk-TLRRMYNV.js';
13
13
  import './chunk-6TBRBN7H.js';
14
14
  import './chunk-45BBNJQD.js';
15
15
  import './chunk-J3A4Z2P7.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk4I4Y5MZO_cjs = require('./chunk-4I4Y5MZO.cjs');
3
+ var chunkLVE6ERRS_cjs = require('./chunk-LVE6ERRS.cjs');
4
4
  require('./chunk-UZG6LO4Z.cjs');
5
5
  require('./chunk-J2DI6RMR.cjs');
6
6
  require('./chunk-NBZC6LOB.cjs');
7
7
  require('./chunk-57FQGQJK.cjs');
8
8
  require('./chunk-RXDRYWVD.cjs');
9
9
  require('./chunk-M5MUGSON.cjs');
10
- require('./chunk-XOXA3QZR.cjs');
10
+ require('./chunk-C5YX5XVL.cjs');
11
11
  require('./chunk-X2FC7ODX.cjs');
12
12
  require('./chunk-XCZZVRBY.cjs');
13
13
  require('./chunk-MXWR3T3N.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 chunk4I4Y5MZO_cjs.ReasonTag; }
20
+ get: function () { return chunkLVE6ERRS_cjs.ReasonTag; }
21
21
  });
22
22
  //# sourceMappingURL=reason-tag.cjs.map
23
23
  //# sourceMappingURL=reason-tag.cjs.map
@@ -1,11 +1,11 @@
1
- export { ReasonTag } from './chunk-ZFU4FY3Q.js';
1
+ export { ReasonTag } from './chunk-4FZOH7BJ.js';
2
2
  import './chunk-XYOT75HH.js';
3
3
  import './chunk-MQ6VGG62.js';
4
4
  import './chunk-WHEXTDPV.js';
5
5
  import './chunk-RGANGU7X.js';
6
6
  import './chunk-JXE5XID6.js';
7
7
  import './chunk-LQ4ICCN2.js';
8
- import './chunk-45JO5BEZ.js';
8
+ import './chunk-TLRRMYNV.js';
9
9
  import './chunk-6TBRBN7H.js';
10
10
  import './chunk-45BBNJQD.js';
11
11
  import './chunk-J3A4Z2P7.js';
@@ -1,13 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkWFHK2DKG_cjs = require('./chunk-WFHK2DKG.cjs');
3
+ var chunkXO4UWQCU_cjs = require('./chunk-XO4UWQCU.cjs');
4
+ require('./chunk-I27K6NLX.cjs');
4
5
  require('./chunk-ZU5Q77OT.cjs');
5
6
 
6
7
 
7
8
 
8
9
  Object.defineProperty(exports, "TimeGrid", {
9
10
  enumerable: true,
10
- get: function () { return chunkWFHK2DKG_cjs.TimeGrid; }
11
+ get: function () { return chunkXO4UWQCU_cjs.TimeGrid; }
11
12
  });
12
13
  //# sourceMappingURL=time-grid.cjs.map
13
14
  //# sourceMappingURL=time-grid.cjs.map
@@ -1,4 +1,5 @@
1
1
  import * as react from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  /**
4
5
  * Subset of palette colors the TimeGrid offers for the "cell-on" tone —
@@ -6,20 +7,88 @@ import * as react from 'react';
6
7
  * use cases.
7
8
  */
8
9
  type TimeGridTone = "violet" | "emerald" | "sky" | "rose" | "amber" | "indigo" | "blue" | "zinc";
10
+ /**
11
+ * One typed cell. The kit declares the SHAPE; the host declares the
12
+ * vocabulary through `states` and `marks`.
13
+ */
14
+ type TimeGridCell = {
15
+ /** A key of `states`. The exclusive dimension (open / closed / booked …). */
16
+ state: string;
17
+ /** Blocks selection. Distinct from a state that merely looks unavailable. */
18
+ disabled?: boolean;
19
+ /** Why — surfaced in the title, the cell's aria-description and `onBlockedSelect`. */
20
+ reasons?: string[];
21
+ /** Keys of `marks`. Overlays drawn on top of the state tone. Non-exclusive. */
22
+ marks?: string[];
23
+ /** Passed back verbatim in every callback. The kit never reads it. */
24
+ meta?: unknown;
25
+ };
26
+ /** A state in the host's vocabulary. */
27
+ type TimeGridStateDef = {
28
+ /** Fill tone. Omit for the neutral surface (`--fancy-surface-muted`). */
29
+ tone?: TimeGridTone;
30
+ /** What a screen reader hears for this state. Default: the state id. */
31
+ label?: string;
32
+ /** Extra classes on every cell in this state — the host's own styling. */
33
+ className?: string;
34
+ };
35
+ /** An overlay mark: a tone dot or an icon, plus the label a screen reader gets. */
36
+ type TimeGridMarkDef = {
37
+ tone?: TimeGridTone;
38
+ /**
39
+ * Drawn instead of the tone dot, in a 10px box — e.g. `<Icon name="lock" />`.
40
+ * A node rather than an icon name on purpose: resolving names would make
41
+ * TimeGrid import the whole Lucide set into every bundle that uses it.
42
+ */
43
+ icon?: ReactNode;
44
+ label?: string;
45
+ };
46
+ /** A cell coordinate: row index, column index. */
47
+ type TimeGridCoord = {
48
+ r: number;
49
+ c: number;
50
+ };
51
+ /**
52
+ * Both shapes are real and they are NOT the same value:
53
+ *
54
+ * - `rectangle`: the same window across several rows — 09:00-17:00 Mon-Fri.
55
+ * Normalised so r1 <= r2 and c1 <= c2.
56
+ * - `linear`: ONE continuous run in reading order (row-major), which may cross
57
+ * a row end and keep going — 23:54 Monday through 00:06 Tuesday. Normalised
58
+ * so `from` precedes `to`.
59
+ */
60
+ type TimeGridSelection = {
61
+ shape: "rectangle";
62
+ r1: number;
63
+ c1: number;
64
+ r2: number;
65
+ c2: number;
66
+ } | {
67
+ shape: "linear";
68
+ from: TimeGridCoord;
69
+ to: TimeGridCoord;
70
+ };
71
+ type TimeGridSelectionShape = TimeGridSelection["shape"];
72
+ /** What a range that crosses a disabled cell does. */
73
+ type TimeGridDisabledRange = "clamp" | "refuse" | "span";
74
+ type TimeGridBlockedCell = {
75
+ r: number;
76
+ c: number;
77
+ reasons?: string[];
78
+ };
9
79
  interface TimeGridProps {
10
- /** Row labels, one per row in `value` (e.g. ["Sun","Mon",…]). */
80
+ /** Row labels, one per row (e.g. ["Sun","Mon",…]). */
11
81
  rows: string[];
12
- /** Column labels, one per column in `value` (e.g. ["0","1",…,"23"]). */
82
+ /** Column labels, one per column (e.g. ["0","1",…,"23"]). */
13
83
  cols: string[];
14
84
  /**
15
- * Controlled cell state. Must be a rectangular `rows.length × cols.length`
16
- * matrix of booleans. The component never mutates it — every change
17
- * produces a new array passed to `onChange`.
85
+ * Boolean grid: controlled cell state, a rectangular
86
+ * `rows.length × cols.length` matrix. Ignored when `cells` is given.
18
87
  */
19
- value: boolean[][];
20
- /** Called with the next matrix whenever a cell, row, or column toggles. */
21
- onChange: (next: boolean[][]) => void;
22
- /** Cell-on tone. Default `"violet"`. */
88
+ value?: boolean[][];
89
+ /** Boolean grid: called with the next matrix whenever a cell, row, or column toggles. */
90
+ onChange?: (next: boolean[][]) => void;
91
+ /** Boolean grid: cell-on tone. Default `"violet"`. */
23
92
  toneOn?: TimeGridTone;
24
93
  /** Cell width in px. Default `20`. */
25
94
  cellWidth?: number;
@@ -30,24 +99,58 @@ interface TimeGridProps {
30
99
  * top axis legible at small `cellWidth`. Set false to show all labels.
31
100
  */
32
101
  sparseColLabels?: boolean;
33
- /** If true (default), clicking a row/column header toggles that strip. */
102
+ /**
103
+ * If true (default), clicking a row/column header toggles that strip
104
+ * (boolean grid) or selects it (typed grid).
105
+ */
34
106
  toggleStripsOnHeaderClick?: boolean;
35
107
  /**
36
- * Optional accessible label per cell. Default produces
37
- * `${rows[r]} ${cols[c]} on|off`. Override for richer context
38
- * (e.g. include unit: `${rows[r]} ${cols[c]}:00 ${on ? "on" : "off"}`).
108
+ * Optional accessible label per cell. Boolean grid default:
109
+ * `${rows[r]} ${cols[c]} on|off`; `on` is the cell value. Typed grid default:
110
+ * `${rows[r]} ${cols[c]} ${state label}[, mark labels]`; `on` is whether the
111
+ * cell is selected.
39
112
  */
40
113
  ariaCell?: (rowIdx: number, colIdx: number, on: boolean) => string;
41
114
  /**
42
- * Stable per-cell identifier. Emitted as `data-react-fancy-timegrid-cell`
43
- * on the button so MCP bridges can address a specific cell from a tool
44
- * call without DOM walking. Default `${row}:${col}`.
115
+ * Stable per-cell identifier, emitted as `data-react-fancy-timegrid-cell` so
116
+ * MCP bridges can address a specific cell without DOM walking. Default
117
+ * `${row}:${col}`.
45
118
  */
46
119
  cellId?: (rowIdx: number, colIdx: number) => string;
47
120
  /** Additional CSS classes on the outer scroll container. */
48
121
  className?: string;
122
+ /** Host's state vocabulary: id -> tone + label. Required with `cells`. */
123
+ states?: Record<string, TimeGridStateDef>;
124
+ /** Host's overlay vocabulary: id -> tone/icon + label. */
125
+ marks?: Record<string, TimeGridMarkDef>;
126
+ /**
127
+ * Typed cells, `rows.length × cols.length`. When present the grid renders
128
+ * these (with `states`) and `value`/`onChange` are ignored.
129
+ */
130
+ cells?: TimeGridCell[][];
131
+ /** Which shape a drag / Shift+arrow produces. Default `"rectangle"`. */
132
+ selectionShape?: TimeGridSelectionShape;
133
+ /** Controlled selection. `null` = nothing selected. Omit for uncontrolled. */
134
+ selection?: TimeGridSelection | null;
135
+ /** `cells` arrive in SELECTION ORDER — row-major, so time order for a linear run. */
136
+ onSelectionChange?: (next: TimeGridSelection | null, cells: TimeGridCell[]) => void;
137
+ /** A drag ended, or Enter was pressed. Same arguments as `onSelectionChange`. */
138
+ onSelectionCommit?: (selection: TimeGridSelection, cells: TimeGridCell[]) => void;
139
+ /** What a range that crosses a disabled cell does. Default `"clamp"`. */
140
+ disabledRange?: TimeGridDisabledRange;
141
+ /** Fires when a selection was refused or clipped by disabled cells. */
142
+ onBlockedSelect?: (blocked: TimeGridBlockedCell[]) => void;
143
+ /** Hover, for a host-owned detail panel. `null, null` when the pointer leaves. */
144
+ onCellHover?: (cell: TimeGridCell | null, at: TimeGridCoord | null) => void;
145
+ /** Accessible name of the grid (typed grid). */
146
+ "aria-label"?: string;
49
147
  }
50
148
 
149
+ /**
150
+ * Two grids behind one name. `cells` (5.55.0) selects the typed grid: the
151
+ * host's state vocabulary, range selection, keyboard. Without it this is the
152
+ * boolean grid, unchanged since before 5.55.0.
153
+ */
51
154
  declare const TimeGrid: react.ForwardRefExoticComponent<TimeGridProps & react.RefAttributes<HTMLDivElement>>;
52
155
 
53
- export { TimeGrid, type TimeGridProps, type TimeGridTone };
156
+ export { TimeGrid, type TimeGridBlockedCell, type TimeGridCell, type TimeGridCoord, type TimeGridDisabledRange, type TimeGridMarkDef, type TimeGridProps, type TimeGridSelection, type TimeGridSelectionShape, type TimeGridStateDef, type TimeGridTone };