@particle-academy/react-fancy 5.30.0 → 5.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1784 -0
- package/dist/accordion-panel.cjs +8 -8
- package/dist/accordion-panel.js +2 -2
- package/dist/autocomplete.cjs +3 -3
- package/dist/autocomplete.js +2 -2
- package/dist/carousel.cjs +8 -8
- package/dist/carousel.js +2 -2
- package/dist/checkbox-group.cjs +3 -3
- package/dist/checkbox-group.js +2 -2
- package/dist/checkbox.cjs +3 -3
- package/dist/checkbox.js +2 -2
- package/dist/{chunk-TQFQUNV3.js → chunk-2KAJ4L7C.js} +3 -3
- package/dist/{chunk-TQFQUNV3.js.map → chunk-2KAJ4L7C.js.map} +1 -1
- package/dist/{chunk-L5KKMJ2Q.js → chunk-2VIDYJUG.js} +3 -3
- package/dist/{chunk-L5KKMJ2Q.js.map → chunk-2VIDYJUG.js.map} +1 -1
- package/dist/{chunk-3EIB7RPD.cjs → chunk-3Q4NSAEA.cjs} +4 -4
- package/dist/{chunk-3EIB7RPD.cjs.map → chunk-3Q4NSAEA.cjs.map} +1 -1
- package/dist/{chunk-H6F6ZWAG.js → chunk-4HRD4S25.js} +3 -3
- package/dist/{chunk-H6F6ZWAG.js.map → chunk-4HRD4S25.js.map} +1 -1
- package/dist/{chunk-LY7PZEF4.cjs → chunk-6IBBAOQC.cjs} +4 -4
- package/dist/{chunk-LY7PZEF4.cjs.map → chunk-6IBBAOQC.cjs.map} +1 -1
- package/dist/{chunk-RFLPFQFF.js → chunk-BMTTSBHF.js} +3 -3
- package/dist/{chunk-RFLPFQFF.js.map → chunk-BMTTSBHF.js.map} +1 -1
- package/dist/{chunk-ASCATIDJ.js → chunk-BQ77ZWFM.js} +6 -6
- package/dist/{chunk-ASCATIDJ.js.map → chunk-BQ77ZWFM.js.map} +1 -1
- package/dist/{chunk-JM2H642B.cjs → chunk-BVRPDMB7.cjs} +4 -4
- package/dist/{chunk-JM2H642B.cjs.map → chunk-BVRPDMB7.cjs.map} +1 -1
- package/dist/{chunk-JDRKYYXP.cjs → chunk-BZDXX6E3.cjs} +4 -4
- package/dist/{chunk-JDRKYYXP.cjs.map → chunk-BZDXX6E3.cjs.map} +1 -1
- package/dist/{chunk-VUKIFFWK.cjs → chunk-BZZDHDMK.cjs} +5 -5
- package/dist/{chunk-VUKIFFWK.cjs.map → chunk-BZZDHDMK.cjs.map} +1 -1
- package/dist/{chunk-6SO2ZX3J.cjs → chunk-DHIUMQLP.cjs} +4 -4
- package/dist/{chunk-6SO2ZX3J.cjs.map → chunk-DHIUMQLP.cjs.map} +1 -1
- package/dist/chunk-EDYAXGUM.js +27 -0
- package/dist/chunk-EDYAXGUM.js.map +1 -0
- package/dist/{chunk-MRRKDRZU.js → chunk-EIUS2K72.js} +3 -3
- package/dist/{chunk-MRRKDRZU.js.map → chunk-EIUS2K72.js.map} +1 -1
- package/dist/{chunk-6PF5ENWM.js → chunk-F2GAZZVS.js} +3 -3
- package/dist/{chunk-6PF5ENWM.js.map → chunk-F2GAZZVS.js.map} +1 -1
- package/dist/{chunk-VME5743O.js → chunk-FNEPZ33A.js} +3 -3
- package/dist/{chunk-VME5743O.js.map → chunk-FNEPZ33A.js.map} +1 -1
- package/dist/{chunk-JP4C3ROX.js → chunk-FNJDMGJ3.js} +3 -3
- package/dist/{chunk-JP4C3ROX.js.map → chunk-FNJDMGJ3.js.map} +1 -1
- package/dist/{chunk-UA2C2U3M.cjs → chunk-FPZYPD3N.cjs} +4 -4
- package/dist/{chunk-UA2C2U3M.cjs.map → chunk-FPZYPD3N.cjs.map} +1 -1
- package/dist/{chunk-SX4CSO6C.js → chunk-FSRPZYZZ.js} +3 -3
- package/dist/{chunk-SX4CSO6C.js.map → chunk-FSRPZYZZ.js.map} +1 -1
- package/dist/{chunk-IRD6UXDK.cjs → chunk-FVTCPERB.cjs} +5 -5
- package/dist/{chunk-IRD6UXDK.cjs.map → chunk-FVTCPERB.cjs.map} +1 -1
- package/dist/{chunk-FUG3OCGP.js → chunk-G73TVXDQ.js} +3 -3
- package/dist/{chunk-FUG3OCGP.js.map → chunk-G73TVXDQ.js.map} +1 -1
- package/dist/{chunk-LHNC42J3.cjs → chunk-IPNJMHJ3.cjs} +4 -4
- package/dist/{chunk-LHNC42J3.cjs.map → chunk-IPNJMHJ3.cjs.map} +1 -1
- package/dist/{chunk-PIFJECFU.js → chunk-LBU3T2LF.js} +3 -3
- package/dist/{chunk-PIFJECFU.js.map → chunk-LBU3T2LF.js.map} +1 -1
- package/dist/{chunk-YAJYIRQL.cjs → chunk-LLA33GKC.cjs} +4 -4
- package/dist/{chunk-YAJYIRQL.cjs.map → chunk-LLA33GKC.cjs.map} +1 -1
- package/dist/{chunk-HIOMHITU.cjs → chunk-LQFQ2UKU.cjs} +5 -5
- package/dist/{chunk-HIOMHITU.cjs.map → chunk-LQFQ2UKU.cjs.map} +1 -1
- package/dist/{chunk-6ZDXG5VC.js → chunk-NBAHXZHJ.js} +3 -3
- package/dist/{chunk-6ZDXG5VC.js.map → chunk-NBAHXZHJ.js.map} +1 -1
- package/dist/{chunk-IUT3Q2EC.js → chunk-NE3Z4AWP.js} +3 -3
- package/dist/{chunk-IUT3Q2EC.js.map → chunk-NE3Z4AWP.js.map} +1 -1
- package/dist/{chunk-MIUSTEIV.js → chunk-O2ZHORSC.js} +3 -3
- package/dist/{chunk-MIUSTEIV.js.map → chunk-O2ZHORSC.js.map} +1 -1
- package/dist/{chunk-L2FPIFMN.js → chunk-OC75GWX5.js} +3 -3
- package/dist/{chunk-L2FPIFMN.js.map → chunk-OC75GWX5.js.map} +1 -1
- package/dist/{chunk-GKEWT3DW.js → chunk-OTCLBINT.js} +3 -3
- package/dist/{chunk-GKEWT3DW.js.map → chunk-OTCLBINT.js.map} +1 -1
- package/dist/{chunk-XXBW4EUO.js → chunk-P7Q2YIIS.js} +3 -3
- package/dist/{chunk-XXBW4EUO.js.map → chunk-P7Q2YIIS.js.map} +1 -1
- package/dist/{chunk-YTXBU6QC.cjs → chunk-QBNR5IVM.cjs} +4 -4
- package/dist/{chunk-YTXBU6QC.cjs.map → chunk-QBNR5IVM.cjs.map} +1 -1
- package/dist/{chunk-I3RPL3GE.js → chunk-RUSRAKKA.js} +3 -3
- package/dist/{chunk-I3RPL3GE.js.map → chunk-RUSRAKKA.js.map} +1 -1
- package/dist/{chunk-ZTC3EQFZ.cjs → chunk-S5KUYX3Z.cjs} +4 -4
- package/dist/{chunk-ZTC3EQFZ.cjs.map → chunk-S5KUYX3Z.cjs.map} +1 -1
- package/dist/chunk-SNHU2AI4.cjs +29 -0
- package/dist/chunk-SNHU2AI4.cjs.map +1 -0
- package/dist/{chunk-JV6RDIA6.cjs → chunk-T45XK5GN.cjs} +7 -7
- package/dist/{chunk-JV6RDIA6.cjs.map → chunk-T45XK5GN.cjs.map} +1 -1
- package/dist/{chunk-RKG2Q2HT.cjs → chunk-U7PFHQBN.cjs} +4 -4
- package/dist/{chunk-RKG2Q2HT.cjs.map → chunk-U7PFHQBN.cjs.map} +1 -1
- package/dist/{chunk-3FG5K7A7.js → chunk-VYHZEQIG.js} +3 -3
- package/dist/{chunk-3FG5K7A7.js.map → chunk-VYHZEQIG.js.map} +1 -1
- package/dist/chunk-WHOVPDC5.js +215 -0
- package/dist/chunk-WHOVPDC5.js.map +1 -0
- package/dist/{chunk-N6K2CTSU.cjs → chunk-WIS4QRGK.cjs} +4 -4
- package/dist/{chunk-N6K2CTSU.cjs.map → chunk-WIS4QRGK.cjs.map} +1 -1
- package/dist/chunk-WRQBV7GU.cjs +218 -0
- package/dist/chunk-WRQBV7GU.cjs.map +1 -0
- package/dist/{chunk-2LBRS6Z4.js → chunk-XDJSFGXW.js} +3 -3
- package/dist/{chunk-2LBRS6Z4.js.map → chunk-XDJSFGXW.js.map} +1 -1
- package/dist/{chunk-6LOV75CN.cjs → chunk-XK5WHQ3O.cjs} +4 -4
- package/dist/{chunk-6LOV75CN.cjs.map → chunk-XK5WHQ3O.cjs.map} +1 -1
- package/dist/{chunk-B5KK7NYP.cjs → chunk-Y52NXM73.cjs} +4 -4
- package/dist/{chunk-B5KK7NYP.cjs.map → chunk-Y52NXM73.cjs.map} +1 -1
- package/dist/{chunk-YLDYGT5O.js → chunk-YD4SXA6K.js} +3 -3
- package/dist/{chunk-YLDYGT5O.js.map → chunk-YD4SXA6K.js.map} +1 -1
- package/dist/{chunk-NR346SKH.cjs → chunk-YMDYDUBH.cjs} +4 -4
- package/dist/{chunk-NR346SKH.cjs.map → chunk-YMDYDUBH.cjs.map} +1 -1
- package/dist/{chunk-SCGE6DCE.cjs → chunk-YMU3SS6D.cjs} +14 -14
- package/dist/{chunk-SCGE6DCE.cjs.map → chunk-YMU3SS6D.cjs.map} +1 -1
- package/dist/{chunk-PWLBHNOA.cjs → chunk-Z3NSPDTW.cjs} +4 -4
- package/dist/{chunk-PWLBHNOA.cjs.map → chunk-Z3NSPDTW.cjs.map} +1 -1
- package/dist/{chunk-BJYTI2ID.cjs → chunk-ZUQUL53P.cjs} +4 -4
- package/dist/{chunk-BJYTI2ID.cjs.map → chunk-ZUQUL53P.cjs.map} +1 -1
- package/dist/color-picker.cjs +3 -3
- package/dist/color-picker.js +2 -2
- package/dist/composer.cjs +3 -3
- package/dist/composer.d.cts +2 -17
- package/dist/composer.d.ts +2 -17
- package/dist/composer.js +2 -2
- package/dist/date-picker.cjs +3 -3
- package/dist/date-picker.js +2 -2
- package/dist/editor.cjs +4 -4
- package/dist/editor.js +2 -2
- package/dist/emoji-select.cjs +3 -3
- package/dist/emoji-select.js +2 -2
- package/dist/file-browser.cjs +6 -6
- package/dist/file-browser.js +2 -2
- package/dist/index-CDo7LyIB.d.cts +132 -0
- package/dist/index-CDo7LyIB.d.ts +132 -0
- package/dist/index.cjs +75 -71
- package/dist/index.d.cts +34 -1
- package/dist/index.d.ts +34 -1
- package/dist/index.js +24 -24
- package/dist/input.cjs +3 -3
- package/dist/input.js +2 -2
- package/dist/inputs.cjs +17 -17
- package/dist/inputs.js +9 -9
- package/dist/json-editor.cjs +17 -17
- package/dist/json-editor.js +6 -6
- package/dist/mobile-menu.cjs +1 -1
- package/dist/mobile-menu.js +1 -1
- package/dist/multi-switch.cjs +3 -3
- package/dist/multi-switch.js +2 -2
- package/dist/otp-input.cjs +3 -3
- package/dist/otp-input.js +2 -2
- package/dist/pillbox.cjs +3 -3
- package/dist/pillbox.js +2 -2
- package/dist/radio-group.cjs +3 -3
- package/dist/radio-group.js +2 -2
- package/dist/sidebar.cjs +4 -4
- package/dist/sidebar.js +2 -2
- package/dist/slider.cjs +3 -3
- package/dist/slider.js +2 -2
- package/dist/switch.cjs +3 -3
- package/dist/switch.js +2 -2
- package/dist/table.cjs +12 -12
- package/dist/table.js +2 -2
- package/dist/tabs.cjs +4 -4
- package/dist/tabs.js +2 -2
- package/dist/time-picker.cjs +3 -3
- package/dist/time-picker.js +2 -2
- package/package.json +6 -3
- package/dist/chunk-6FQGMVF2.js +0 -25
- package/dist/chunk-6FQGMVF2.js.map +0 -1
- package/dist/chunk-OGEE23SP.cjs +0 -83
- package/dist/chunk-OGEE23SP.cjs.map +0 -1
- package/dist/chunk-OUOEQZHY.cjs +0 -27
- package/dist/chunk-OUOEQZHY.cjs.map +0 -1
- package/dist/chunk-VVL5LMLW.js +0 -81
- package/dist/chunk-VVL5LMLW.js.map +0 -1
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A paste held beside a composer rather than inserted into it.
|
|
6
|
+
*
|
|
7
|
+
* There is deliberately **no `length` field.** It would be `text.length` and
|
|
8
|
+
* nothing else, and a derived value stored beside its source is a value that can
|
|
9
|
+
* disagree with it — the two drift the moment anything edits one. Read
|
|
10
|
+
* `paste.text.length`.
|
|
11
|
+
*/
|
|
12
|
+
interface HeldPaste {
|
|
13
|
+
id: string;
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The minimum of a clipboard event this hook touches.
|
|
18
|
+
*
|
|
19
|
+
* Structural rather than `React.ClipboardEvent` so a host can call it from a
|
|
20
|
+
* native listener, a synthetic one, or a test double. React's own event satisfies
|
|
21
|
+
* it.
|
|
22
|
+
*/
|
|
23
|
+
interface PasteEventLike {
|
|
24
|
+
clipboardData?: {
|
|
25
|
+
getData(type: string): string;
|
|
26
|
+
} | null;
|
|
27
|
+
preventDefault(): void;
|
|
28
|
+
}
|
|
29
|
+
interface UsePastePillsOptions {
|
|
30
|
+
/**
|
|
31
|
+
* Hold a paste of at least this many characters. Try 500 — about a long
|
|
32
|
+
* paragraph.
|
|
33
|
+
*
|
|
34
|
+
* **No default, on purpose.** Paste is a fundamental interaction, so holding one
|
|
35
|
+
* is something a host asks for rather than something it discovers. Omit this and
|
|
36
|
+
* `handlePaste` always returns `false` and touches nothing.
|
|
37
|
+
*/
|
|
38
|
+
threshold?: number;
|
|
39
|
+
/** Own the list yourself. Omit to let the hook keep it. */
|
|
40
|
+
heldPastes?: HeldPaste[];
|
|
41
|
+
onHeldPastesChange?: (pastes: HeldPaste[]) => void;
|
|
42
|
+
}
|
|
43
|
+
interface UsePastePillsResult {
|
|
44
|
+
heldPastes: HeldPaste[];
|
|
45
|
+
/**
|
|
46
|
+
* Call this from your OWN paste handler. Returns `true` if it took the paste —
|
|
47
|
+
* in which case it has already called `preventDefault()` — and `false` if it
|
|
48
|
+
* declined, having touched nothing.
|
|
49
|
+
*
|
|
50
|
+
* Composable on purpose: a host whose handler already intercepts paste for its
|
|
51
|
+
* own reasons needs to ask "did you want this?" rather than hand over the event.
|
|
52
|
+
*
|
|
53
|
+
* function onPaste(e) {
|
|
54
|
+
* if (pills.handlePaste(e)) return;
|
|
55
|
+
* // ...your own handling
|
|
56
|
+
* }
|
|
57
|
+
*/
|
|
58
|
+
handlePaste: (event: PasteEventLike) => boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Removes the paste and returns its text, for the host to insert into its own
|
|
61
|
+
* surface. `undefined` if there is no such id.
|
|
62
|
+
*
|
|
63
|
+
* The hook cannot insert it — it owns no DOM and does not know what a host's
|
|
64
|
+
* surface is. That is the point.
|
|
65
|
+
*/
|
|
66
|
+
expand: (id: string) => string | undefined;
|
|
67
|
+
/** Discard one without returning it. */
|
|
68
|
+
remove: (id: string) => void;
|
|
69
|
+
/** Empty the list, e.g. after a send. */
|
|
70
|
+
clear: () => void;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Hold a large paste as state, so a composer can show it as a pill instead of
|
|
74
|
+
* turning itself into a scrolling wall.
|
|
75
|
+
*
|
|
76
|
+
* ---------------------------------------------------------------------------
|
|
77
|
+
* Why this is a hook and not just a feature of `Composer`
|
|
78
|
+
* ---------------------------------------------------------------------------
|
|
79
|
+
*
|
|
80
|
+
* `Composer` shipped the behaviour in 5.31.0 and the MOIC estate, who specified it,
|
|
81
|
+
* then established something I had missed: their chat input is a contenteditable
|
|
82
|
+
* rendering inline `[deal:42|Acme]` badges, so they **cannot** adopt `Composer` (a
|
|
83
|
+
* plain textarea) however much they want its behaviour. Their plan to delete their
|
|
84
|
+
* own composer when ours landed could never have worked.
|
|
85
|
+
*
|
|
86
|
+
* So the logic lives here and **`Composer` is its first caller.** One
|
|
87
|
+
* implementation rather than two, which matters more than the convenience: two
|
|
88
|
+
* copies of a rule drift, and the copy nobody reads is the one that rots. The rule
|
|
89
|
+
* that must not drift is the one in `Composer`'s own tests — a send with pills
|
|
90
|
+
* still closed carries the text.
|
|
91
|
+
*
|
|
92
|
+
* It owns no DOM. The host renders the pills.
|
|
93
|
+
*/
|
|
94
|
+
declare function usePastePills({ threshold, heldPastes: controlledHeldPastes, onHeldPastesChange, }?: UsePastePillsOptions): UsePastePillsResult;
|
|
95
|
+
|
|
96
|
+
interface ComposerProps {
|
|
97
|
+
value?: string;
|
|
98
|
+
defaultValue?: string;
|
|
99
|
+
onChange?: (value: string) => void;
|
|
100
|
+
onSubmit?: (value: string) => void;
|
|
101
|
+
placeholder?: string;
|
|
102
|
+
actions?: ReactNode;
|
|
103
|
+
disabled?: boolean;
|
|
104
|
+
className?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Hold a paste of at least this many characters beside the composer as a pill,
|
|
107
|
+
* instead of inserting it. Try 500 — about a long paragraph.
|
|
108
|
+
*
|
|
109
|
+
* **Omit it and paste behaves exactly as it always has.** Opt-in on purpose:
|
|
110
|
+
* paste is a fundamental interaction and this library is past 1.0, so a minor
|
|
111
|
+
* release must not quietly change what pasting does for every consumer. There is
|
|
112
|
+
* no default threshold for the same reason.
|
|
113
|
+
*
|
|
114
|
+
* Below the threshold nothing changes at all — no prevented event, no pill, no
|
|
115
|
+
* ceremony for an address or a name.
|
|
116
|
+
*/
|
|
117
|
+
pasteThreshold?: number;
|
|
118
|
+
/**
|
|
119
|
+
* The held pastes, if you want to own them.
|
|
120
|
+
*
|
|
121
|
+
* Controllable rather than internal because the component contract forbids
|
|
122
|
+
* internal-only state for anything an agent might need to read or write — an
|
|
123
|
+
* agent driving this surface has to be able to see that a paste is attached, and
|
|
124
|
+
* to attach one itself.
|
|
125
|
+
*/
|
|
126
|
+
heldPastes?: HeldPaste[];
|
|
127
|
+
onHeldPastesChange?: (pastes: HeldPaste[]) => void;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
declare const Composer: react.ForwardRefExoticComponent<ComposerProps & react.RefAttributes<HTMLDivElement>>;
|
|
131
|
+
|
|
132
|
+
export { Composer as C, type HeldPaste as H, type PasteEventLike as P, type UsePastePillsOptions as U, type ComposerProps as a, type UsePastePillsResult as b, usePastePills as u };
|
package/dist/index.cjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkCOH45MGW_cjs = require('./chunk-COH45MGW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkYMDYDUBH_cjs = require('./chunk-YMDYDUBH.cjs');
|
|
5
5
|
var chunkRLMU3NHQ_cjs = require('./chunk-RLMU3NHQ.cjs');
|
|
6
6
|
var chunk7HMEDY24_cjs = require('./chunk-7HMEDY24.cjs');
|
|
7
7
|
var chunk7VLRHXLQ_cjs = require('./chunk-7VLRHXLQ.cjs');
|
|
8
8
|
require('./chunk-O5IO7TCO.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkFVTCPERB_cjs = require('./chunk-FVTCPERB.cjs');
|
|
10
10
|
require('./chunk-OYZDSMNP.cjs');
|
|
11
11
|
require('./chunk-5FV6GMFP.cjs');
|
|
12
12
|
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var chunkU7PFHQBN_cjs = require('./chunk-U7PFHQBN.cjs');
|
|
14
|
+
var chunkBZDXX6E3_cjs = require('./chunk-BZDXX6E3.cjs');
|
|
15
15
|
require('./chunk-URTLYNZI.cjs');
|
|
16
16
|
require('./chunk-QGPMVFZJ.cjs');
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var chunkZUQUL53P_cjs = require('./chunk-ZUQUL53P.cjs');
|
|
18
|
+
var chunkFPZYPD3N_cjs = require('./chunk-FPZYPD3N.cjs');
|
|
19
19
|
require('./chunk-HXLSEBAL.cjs');
|
|
20
|
-
var
|
|
20
|
+
var chunk6IBBAOQC_cjs = require('./chunk-6IBBAOQC.cjs');
|
|
21
21
|
var chunkAASQ6L6X_cjs = require('./chunk-AASQ6L6X.cjs');
|
|
22
22
|
var chunk7Y2AENZD_cjs = require('./chunk-7Y2AENZD.cjs');
|
|
23
23
|
var chunkO6GTY53I_cjs = require('./chunk-O6GTY53I.cjs');
|
|
24
24
|
var chunkATJSHM6J_cjs = require('./chunk-ATJSHM6J.cjs');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
25
|
+
var chunkZ3NSPDTW_cjs = require('./chunk-Z3NSPDTW.cjs');
|
|
26
|
+
var chunk3Q4NSAEA_cjs = require('./chunk-3Q4NSAEA.cjs');
|
|
27
27
|
require('./chunk-XURQVDCN.cjs');
|
|
28
28
|
var chunkPFEFKLUV_cjs = require('./chunk-PFEFKLUV.cjs');
|
|
29
29
|
var chunkRWOH2ADL_cjs = require('./chunk-RWOH2ADL.cjs');
|
|
@@ -36,14 +36,14 @@ var chunkOS2QC3NE_cjs = require('./chunk-OS2QC3NE.cjs');
|
|
|
36
36
|
var chunkTXCAIL5X_cjs = require('./chunk-TXCAIL5X.cjs');
|
|
37
37
|
var chunkI6L7OP7G_cjs = require('./chunk-I6L7OP7G.cjs');
|
|
38
38
|
var chunkQSFTWIUH_cjs = require('./chunk-QSFTWIUH.cjs');
|
|
39
|
-
var
|
|
39
|
+
var chunkXK5WHQ3O_cjs = require('./chunk-XK5WHQ3O.cjs');
|
|
40
40
|
var chunkHIN6PHSE_cjs = require('./chunk-HIN6PHSE.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunkLLA33GKC_cjs = require('./chunk-LLA33GKC.cjs');
|
|
42
42
|
var chunkWKNVZUWZ_cjs = require('./chunk-WKNVZUWZ.cjs');
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
43
|
+
var chunkYMU3SS6D_cjs = require('./chunk-YMU3SS6D.cjs');
|
|
44
|
+
var chunkY52NXM73_cjs = require('./chunk-Y52NXM73.cjs');
|
|
45
|
+
var chunkBZZDHDMK_cjs = require('./chunk-BZZDHDMK.cjs');
|
|
46
|
+
var chunkIPNJMHJ3_cjs = require('./chunk-IPNJMHJ3.cjs');
|
|
47
47
|
var chunkFXP4JLGU_cjs = require('./chunk-FXP4JLGU.cjs');
|
|
48
48
|
var chunkQAFAPHAF_cjs = require('./chunk-QAFAPHAF.cjs');
|
|
49
49
|
var chunkSUCBR6L5_cjs = require('./chunk-SUCBR6L5.cjs');
|
|
@@ -59,7 +59,7 @@ var chunkTH7VP4CL_cjs = require('./chunk-TH7VP4CL.cjs');
|
|
|
59
59
|
var chunkV35A6B7A_cjs = require('./chunk-V35A6B7A.cjs');
|
|
60
60
|
var chunkRPVCMW64_cjs = require('./chunk-RPVCMW64.cjs');
|
|
61
61
|
var chunkGBGJWAXZ_cjs = require('./chunk-GBGJWAXZ.cjs');
|
|
62
|
-
var
|
|
62
|
+
var chunkT45XK5GN_cjs = require('./chunk-T45XK5GN.cjs');
|
|
63
63
|
var chunkLAQGBLIU_cjs = require('./chunk-LAQGBLIU.cjs');
|
|
64
64
|
var chunkOOZCJLEF_cjs = require('./chunk-OOZCJLEF.cjs');
|
|
65
65
|
require('./chunk-FJKZ5NOA.cjs');
|
|
@@ -69,11 +69,11 @@ var chunkF7YCIII4_cjs = require('./chunk-F7YCIII4.cjs');
|
|
|
69
69
|
var chunkPV5WDIGM_cjs = require('./chunk-PV5WDIGM.cjs');
|
|
70
70
|
var chunkZ43BI7CQ_cjs = require('./chunk-Z43BI7CQ.cjs');
|
|
71
71
|
var chunkT5OCRKPD_cjs = require('./chunk-T5OCRKPD.cjs');
|
|
72
|
-
var
|
|
72
|
+
var chunkLQFQ2UKU_cjs = require('./chunk-LQFQ2UKU.cjs');
|
|
73
73
|
var chunkHPNIEYSJ_cjs = require('./chunk-HPNIEYSJ.cjs');
|
|
74
74
|
var chunkT6YELZPJ_cjs = require('./chunk-T6YELZPJ.cjs');
|
|
75
75
|
var chunkAVU4JOYM_cjs = require('./chunk-AVU4JOYM.cjs');
|
|
76
|
-
var
|
|
76
|
+
var chunkWIS4QRGK_cjs = require('./chunk-WIS4QRGK.cjs');
|
|
77
77
|
var chunkVGBZWDMM_cjs = require('./chunk-VGBZWDMM.cjs');
|
|
78
78
|
var chunkWCWZADR2_cjs = require('./chunk-WCWZADR2.cjs');
|
|
79
79
|
var chunk7B3HK6TY_cjs = require('./chunk-7B3HK6TY.cjs');
|
|
@@ -81,11 +81,11 @@ var chunkHE3JJXIL_cjs = require('./chunk-HE3JJXIL.cjs');
|
|
|
81
81
|
require('./chunk-AIA5UNQ5.cjs');
|
|
82
82
|
var chunkG7227RTY_cjs = require('./chunk-G7227RTY.cjs');
|
|
83
83
|
require('./chunk-XFBLUPKF.cjs');
|
|
84
|
-
var
|
|
84
|
+
var chunkBVRPDMB7_cjs = require('./chunk-BVRPDMB7.cjs');
|
|
85
85
|
var chunkTZHK3LEW_cjs = require('./chunk-TZHK3LEW.cjs');
|
|
86
86
|
var chunkTXTRTTG7_cjs = require('./chunk-TXTRTTG7.cjs');
|
|
87
87
|
var chunk3WGRVDQR_cjs = require('./chunk-3WGRVDQR.cjs');
|
|
88
|
-
var
|
|
88
|
+
var chunkWRQBV7GU_cjs = require('./chunk-WRQBV7GU.cjs');
|
|
89
89
|
var chunkFQSSVOVQ_cjs = require('./chunk-FQSSVOVQ.cjs');
|
|
90
90
|
require('./chunk-S3TRSECD.cjs');
|
|
91
91
|
var chunkND5D7GJB_cjs = require('./chunk-ND5D7GJB.cjs');
|
|
@@ -104,18 +104,18 @@ var chunkLCNHEYIM_cjs = require('./chunk-LCNHEYIM.cjs');
|
|
|
104
104
|
var chunk5F6V5HHT_cjs = require('./chunk-5F6V5HHT.cjs');
|
|
105
105
|
var chunkXLFGWNW4_cjs = require('./chunk-XLFGWNW4.cjs');
|
|
106
106
|
var chunk65HKNZFG_cjs = require('./chunk-65HKNZFG.cjs');
|
|
107
|
-
var
|
|
107
|
+
var chunkDHIUMQLP_cjs = require('./chunk-DHIUMQLP.cjs');
|
|
108
108
|
var chunkN4VHOTMK_cjs = require('./chunk-N4VHOTMK.cjs');
|
|
109
|
-
var
|
|
109
|
+
var chunkS5KUYX3Z_cjs = require('./chunk-S5KUYX3Z.cjs');
|
|
110
110
|
var chunkQW66UHWO_cjs = require('./chunk-QW66UHWO.cjs');
|
|
111
|
-
var
|
|
111
|
+
var chunkQBNR5IVM_cjs = require('./chunk-QBNR5IVM.cjs');
|
|
112
112
|
var chunkJ2DI6RMR_cjs = require('./chunk-J2DI6RMR.cjs');
|
|
113
113
|
require('./chunk-KJ22KE56.cjs');
|
|
114
114
|
var chunkL3V3BYVS_cjs = require('./chunk-L3V3BYVS.cjs');
|
|
115
115
|
var chunkNBZC6LOB_cjs = require('./chunk-NBZC6LOB.cjs');
|
|
116
116
|
var chunk57FQGQJK_cjs = require('./chunk-57FQGQJK.cjs');
|
|
117
117
|
var chunkRXDRYWVD_cjs = require('./chunk-RXDRYWVD.cjs');
|
|
118
|
-
var
|
|
118
|
+
var chunkSNHU2AI4_cjs = require('./chunk-SNHU2AI4.cjs');
|
|
119
119
|
var chunk5CXJ5Z4C_cjs = require('./chunk-5CXJ5Z4C.cjs');
|
|
120
120
|
var chunkZU5Q77OT_cjs = require('./chunk-ZU5Q77OT.cjs');
|
|
121
121
|
|
|
@@ -127,7 +127,7 @@ Object.defineProperty(exports, "TimeGrid", {
|
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "TimePicker", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkYMDYDUBH_cjs.TimePicker; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "Timeline", {
|
|
133
133
|
enumerable: true,
|
|
@@ -151,7 +151,7 @@ Object.defineProperty(exports, "useTreeNav", {
|
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "Slider", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkFVTCPERB_cjs.Slider; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "Form", {
|
|
157
157
|
enumerable: true,
|
|
@@ -163,27 +163,27 @@ Object.defineProperty(exports, "FormProvider", {
|
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "Checkbox", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkU7PFHQBN_cjs.Checkbox; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "CheckboxGroup", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkBZDXX6E3_cjs.CheckboxGroup; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "MultiSwitch", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkZUQUL53P_cjs.MultiSwitch; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "RadioGroup", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkFPZYPD3N_cjs.RadioGroup; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "Sidebar", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunk6IBBAOQC_cjs.Sidebar; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "useSidebar", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunk6IBBAOQC_cjs.useSidebar; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "Skeleton", {
|
|
189
189
|
enumerable: true,
|
|
@@ -207,15 +207,15 @@ Object.defineProperty(exports, "StickyNote", {
|
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "Table", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkZ3NSPDTW_cjs.Table; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "Tabs", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunk3Q4NSAEA_cjs.Tabs; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "useTabs", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunk3Q4NSAEA_cjs.useTabs; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "Profile", {
|
|
221
221
|
enumerable: true,
|
|
@@ -271,7 +271,7 @@ Object.defineProperty(exports, "useNavbar", {
|
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "OtpInput", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkXK5WHQ3O_cjs.OtpInput; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "Pagination", {
|
|
277
277
|
enumerable: true,
|
|
@@ -279,7 +279,7 @@ Object.defineProperty(exports, "Pagination", {
|
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(exports, "Pillbox", {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkLLA33GKC_cjs.Pillbox; }
|
|
283
283
|
});
|
|
284
284
|
Object.defineProperty(exports, "Popover", {
|
|
285
285
|
enumerable: true,
|
|
@@ -291,63 +291,63 @@ Object.defineProperty(exports, "usePopover", {
|
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "JSON_FIELD_TYPES", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkYMU3SS6D_cjs.JSON_FIELD_TYPES; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "JsonEditor", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkYMU3SS6D_cjs.JsonEditor; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "applyJsonEdit", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkYMU3SS6D_cjs.applyJsonEdit; }
|
|
303
303
|
});
|
|
304
304
|
Object.defineProperty(exports, "describeEdit", {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkYMU3SS6D_cjs.describeEdit; }
|
|
307
307
|
});
|
|
308
308
|
Object.defineProperty(exports, "findJsonConflicts", {
|
|
309
309
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkYMU3SS6D_cjs.findJsonConflicts; }
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "getAtPath", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkYMU3SS6D_cjs.getAtPath; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "inferType", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkYMU3SS6D_cjs.inferType; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "parseKeyMap", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkYMU3SS6D_cjs.parseKeyMap; }
|
|
323
323
|
});
|
|
324
324
|
Object.defineProperty(exports, "parsePath", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkYMU3SS6D_cjs.parsePath; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "pathToString", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkYMU3SS6D_cjs.pathToString; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "resolveKeyRule", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkYMU3SS6D_cjs.resolveKeyRule; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "typeMatches", {
|
|
337
337
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkYMU3SS6D_cjs.typeMatches; }
|
|
339
339
|
});
|
|
340
340
|
Object.defineProperty(exports, "Switch", {
|
|
341
341
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkY52NXM73_cjs.Switch; }
|
|
343
343
|
});
|
|
344
344
|
Object.defineProperty(exports, "DatePicker", {
|
|
345
345
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkBZZDHDMK_cjs.DatePicker; }
|
|
347
347
|
});
|
|
348
348
|
Object.defineProperty(exports, "Input", {
|
|
349
349
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunkIPNJMHJ3_cjs.Input; }
|
|
351
351
|
});
|
|
352
352
|
Object.defineProperty(exports, "Select", {
|
|
353
353
|
enumerable: true,
|
|
@@ -419,19 +419,19 @@ Object.defineProperty(exports, "useMobileMenu", {
|
|
|
419
419
|
});
|
|
420
420
|
Object.defineProperty(exports, "FileBrowser", {
|
|
421
421
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunkT45XK5GN_cjs.FileBrowser; }
|
|
423
423
|
});
|
|
424
424
|
Object.defineProperty(exports, "FileBrowserNewFolder", {
|
|
425
425
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunkT45XK5GN_cjs.FileBrowserNewFolder; }
|
|
427
427
|
});
|
|
428
428
|
Object.defineProperty(exports, "useFileBrowser", {
|
|
429
429
|
enumerable: true,
|
|
430
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunkT45XK5GN_cjs.useFileBrowser; }
|
|
431
431
|
});
|
|
432
432
|
Object.defineProperty(exports, "validateFolderName", {
|
|
433
433
|
enumerable: true,
|
|
434
|
-
get: function () { return
|
|
434
|
+
get: function () { return chunkT45XK5GN_cjs.validateFolderName; }
|
|
435
435
|
});
|
|
436
436
|
Object.defineProperty(exports, "FileUpload", {
|
|
437
437
|
enumerable: true,
|
|
@@ -499,11 +499,11 @@ Object.defineProperty(exports, "useDropdown", {
|
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "Editor", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkLQFQ2UKU_cjs.Editor; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "useEditor", {
|
|
505
505
|
enumerable: true,
|
|
506
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkLQFQ2UKU_cjs.useEditor; }
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "THEME_STORAGE_KEY", {
|
|
509
509
|
enumerable: true,
|
|
@@ -551,7 +551,7 @@ Object.defineProperty(exports, "Emoji", {
|
|
|
551
551
|
});
|
|
552
552
|
Object.defineProperty(exports, "EmojiSelect", {
|
|
553
553
|
enumerable: true,
|
|
554
|
-
get: function () { return
|
|
554
|
+
get: function () { return chunkWIS4QRGK_cjs.EmojiSelect; }
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(exports, "Eyebrow", {
|
|
557
557
|
enumerable: true,
|
|
@@ -575,7 +575,7 @@ Object.defineProperty(exports, "CodeView", {
|
|
|
575
575
|
});
|
|
576
576
|
Object.defineProperty(exports, "ColorPicker", {
|
|
577
577
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
578
|
+
get: function () { return chunkBVRPDMB7_cjs.ColorPicker; }
|
|
579
579
|
});
|
|
580
580
|
Object.defineProperty(exports, "Command", {
|
|
581
581
|
enumerable: true,
|
|
@@ -595,7 +595,11 @@ Object.defineProperty(exports, "useAnimation", {
|
|
|
595
595
|
});
|
|
596
596
|
Object.defineProperty(exports, "Composer", {
|
|
597
597
|
enumerable: true,
|
|
598
|
-
get: function () { return
|
|
598
|
+
get: function () { return chunkWRQBV7GU_cjs.Composer; }
|
|
599
|
+
});
|
|
600
|
+
Object.defineProperty(exports, "usePastePills", {
|
|
601
|
+
enumerable: true,
|
|
602
|
+
get: function () { return chunkWRQBV7GU_cjs.usePastePills; }
|
|
599
603
|
});
|
|
600
604
|
Object.defineProperty(exports, "Container", {
|
|
601
605
|
enumerable: true,
|
|
@@ -727,11 +731,11 @@ Object.defineProperty(exports, "Heading", {
|
|
|
727
731
|
});
|
|
728
732
|
Object.defineProperty(exports, "Carousel", {
|
|
729
733
|
enumerable: true,
|
|
730
|
-
get: function () { return
|
|
734
|
+
get: function () { return chunkDHIUMQLP_cjs.Carousel; }
|
|
731
735
|
});
|
|
732
736
|
Object.defineProperty(exports, "useCarousel", {
|
|
733
737
|
enumerable: true,
|
|
734
|
-
get: function () { return
|
|
738
|
+
get: function () { return chunkDHIUMQLP_cjs.useCarousel; }
|
|
735
739
|
});
|
|
736
740
|
Object.defineProperty(exports, "Accordion", {
|
|
737
741
|
enumerable: true,
|
|
@@ -743,27 +747,27 @@ Object.defineProperty(exports, "useAccordion", {
|
|
|
743
747
|
});
|
|
744
748
|
Object.defineProperty(exports, "AccordionPanel", {
|
|
745
749
|
enumerable: true,
|
|
746
|
-
get: function () { return
|
|
750
|
+
get: function () { return chunkS5KUYX3Z_cjs.AccordionPanel; }
|
|
747
751
|
});
|
|
748
752
|
Object.defineProperty(exports, "AccordionPanelContent", {
|
|
749
753
|
enumerable: true,
|
|
750
|
-
get: function () { return
|
|
754
|
+
get: function () { return chunkS5KUYX3Z_cjs.AccordionPanelContent; }
|
|
751
755
|
});
|
|
752
756
|
Object.defineProperty(exports, "AccordionPanelSection", {
|
|
753
757
|
enumerable: true,
|
|
754
|
-
get: function () { return
|
|
758
|
+
get: function () { return chunkS5KUYX3Z_cjs.AccordionPanelSection; }
|
|
755
759
|
});
|
|
756
760
|
Object.defineProperty(exports, "AccordionPanelTrigger", {
|
|
757
761
|
enumerable: true,
|
|
758
|
-
get: function () { return
|
|
762
|
+
get: function () { return chunkS5KUYX3Z_cjs.AccordionPanelTrigger; }
|
|
759
763
|
});
|
|
760
764
|
Object.defineProperty(exports, "useAccordionPanel", {
|
|
761
765
|
enumerable: true,
|
|
762
|
-
get: function () { return
|
|
766
|
+
get: function () { return chunkS5KUYX3Z_cjs.useAccordionPanel; }
|
|
763
767
|
});
|
|
764
768
|
Object.defineProperty(exports, "useAccordionSection", {
|
|
765
769
|
enumerable: true,
|
|
766
|
-
get: function () { return
|
|
770
|
+
get: function () { return chunkS5KUYX3Z_cjs.useAccordionSection; }
|
|
767
771
|
});
|
|
768
772
|
Object.defineProperty(exports, "AudioViewer", {
|
|
769
773
|
enumerable: true,
|
|
@@ -771,7 +775,7 @@ Object.defineProperty(exports, "AudioViewer", {
|
|
|
771
775
|
});
|
|
772
776
|
Object.defineProperty(exports, "Autocomplete", {
|
|
773
777
|
enumerable: true,
|
|
774
|
-
get: function () { return
|
|
778
|
+
get: function () { return chunkQBNR5IVM_cjs.Autocomplete; }
|
|
775
779
|
});
|
|
776
780
|
Object.defineProperty(exports, "useFloatingPosition", {
|
|
777
781
|
enumerable: true,
|
|
@@ -799,7 +803,7 @@ Object.defineProperty(exports, "useEscapeKey", {
|
|
|
799
803
|
});
|
|
800
804
|
Object.defineProperty(exports, "useControllableState", {
|
|
801
805
|
enumerable: true,
|
|
802
|
-
get: function () { return
|
|
806
|
+
get: function () { return chunkSNHU2AI4_cjs.useControllableState; }
|
|
803
807
|
});
|
|
804
808
|
Object.defineProperty(exports, "Avatar", {
|
|
805
809
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -64,7 +64,7 @@ export { OtpInput, OtpInputProps } from './otp-input.cjs';
|
|
|
64
64
|
export { FileUpload, FileUploadContextValue, FileUploadDropzoneProps, FileUploadListProps, FileUploadProps, useFileUpload } from './file-upload.cjs';
|
|
65
65
|
export { TimePicker, TimePickerProps } from './time-picker.cjs';
|
|
66
66
|
export { Calendar, CalendarMode, CalendarProps, DateRange } from './calendar.cjs';
|
|
67
|
-
export { Composer, ComposerProps } from './
|
|
67
|
+
export { C as Composer, a as ComposerProps, H as HeldPaste, P as PasteEventLike, U as UsePastePillsOptions, b as UsePastePillsResult, u as usePastePills } from './index-CDo7LyIB.cjs';
|
|
68
68
|
export { Chart, ChartAreaProps, ChartBarData, ChartBarProps, ChartCommonProps, ChartDonutData, ChartDonutProps, ChartHorizontalBarProps, ChartLineProps, ChartPieData, ChartPieProps, ChartSeries, ChartSparklineProps, ChartStackedBarProps } from './chart.cjs';
|
|
69
69
|
export { Editor, EditorAction, EditorContentProps, EditorContextValue, EditorProps, EditorSourceToggleProps, EditorToolbarProps, useEditor } from './editor.cjs';
|
|
70
70
|
export { CodeView, CodeViewProps } from './code-view.cjs';
|
|
@@ -134,6 +134,39 @@ declare function sanitizeHref(href: string | undefined | null): string | undefin
|
|
|
134
134
|
*/
|
|
135
135
|
declare function sanitizeHtml(html: string): string;
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* One state slot that works controlled or uncontrolled.
|
|
139
|
+
*
|
|
140
|
+
* ---------------------------------------------------------------------------
|
|
141
|
+
* Why the value is tracked in a ref (fixed 5.32.0)
|
|
142
|
+
* ---------------------------------------------------------------------------
|
|
143
|
+
*
|
|
144
|
+
* This resolved a functional update against the RENDER CLOSURE's `value` and then
|
|
145
|
+
* handed React an already-computed value:
|
|
146
|
+
*
|
|
147
|
+
* const nextValue = typeof next === "function" ? next(value) : next;
|
|
148
|
+
* setUncontrolledValue(nextValue);
|
|
149
|
+
*
|
|
150
|
+
* So `setValue(fn)` twice in one batch had both calls compute from the same stale
|
|
151
|
+
* `value`, and **the first update was silently lost.** React's own `setState`
|
|
152
|
+
* updater form does not have that problem precisely because React resolves it
|
|
153
|
+
* against the latest state; passing a pre-computed value gives that up.
|
|
154
|
+
*
|
|
155
|
+
* Found by a hook test that paste-held two items inside one `act()` and got one.
|
|
156
|
+
* It is not an exotic case — any caller that loops, or handles two events in a
|
|
157
|
+
* batch, hits it, and the symptom is a dropped update with nothing to indicate one
|
|
158
|
+
* happened.
|
|
159
|
+
*
|
|
160
|
+
* The fix cannot be "pass the updater to React", because `onChange` has to be
|
|
161
|
+
* called with the resulting value and an updater must stay pure — React may invoke
|
|
162
|
+
* it twice (StrictMode), which would fire `onChange` twice. So the previous value
|
|
163
|
+
* comes from a ref that is re-synced from the authoritative `value` on every render
|
|
164
|
+
* and advanced on every set. Within a batch the ref carries intent; after a render
|
|
165
|
+
* the real value wins.
|
|
166
|
+
*
|
|
167
|
+
* A side effect worth having: `setValue` no longer depends on `value`, so it is
|
|
168
|
+
* stable for the life of the component.
|
|
169
|
+
*/
|
|
137
170
|
declare function useControllableState<T>(controlledValue: T | undefined, defaultValue: T, onChange?: (value: T) => void): [T, (value: T | ((prev: T) => T)) => void];
|
|
138
171
|
|
|
139
172
|
declare function useOutsideClick(ref: RefObject<HTMLElement | null>, handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean, ignoreRef?: RefObject<HTMLElement | null>): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export { OtpInput, OtpInputProps } from './otp-input.js';
|
|
|
64
64
|
export { FileUpload, FileUploadContextValue, FileUploadDropzoneProps, FileUploadListProps, FileUploadProps, useFileUpload } from './file-upload.js';
|
|
65
65
|
export { TimePicker, TimePickerProps } from './time-picker.js';
|
|
66
66
|
export { Calendar, CalendarMode, CalendarProps, DateRange } from './calendar.js';
|
|
67
|
-
export { Composer, ComposerProps } from './
|
|
67
|
+
export { C as Composer, a as ComposerProps, H as HeldPaste, P as PasteEventLike, U as UsePastePillsOptions, b as UsePastePillsResult, u as usePastePills } from './index-CDo7LyIB.js';
|
|
68
68
|
export { Chart, ChartAreaProps, ChartBarData, ChartBarProps, ChartCommonProps, ChartDonutData, ChartDonutProps, ChartHorizontalBarProps, ChartLineProps, ChartPieData, ChartPieProps, ChartSeries, ChartSparklineProps, ChartStackedBarProps } from './chart.js';
|
|
69
69
|
export { Editor, EditorAction, EditorContentProps, EditorContextValue, EditorProps, EditorSourceToggleProps, EditorToolbarProps, useEditor } from './editor.js';
|
|
70
70
|
export { CodeView, CodeViewProps } from './code-view.js';
|
|
@@ -134,6 +134,39 @@ declare function sanitizeHref(href: string | undefined | null): string | undefin
|
|
|
134
134
|
*/
|
|
135
135
|
declare function sanitizeHtml(html: string): string;
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* One state slot that works controlled or uncontrolled.
|
|
139
|
+
*
|
|
140
|
+
* ---------------------------------------------------------------------------
|
|
141
|
+
* Why the value is tracked in a ref (fixed 5.32.0)
|
|
142
|
+
* ---------------------------------------------------------------------------
|
|
143
|
+
*
|
|
144
|
+
* This resolved a functional update against the RENDER CLOSURE's `value` and then
|
|
145
|
+
* handed React an already-computed value:
|
|
146
|
+
*
|
|
147
|
+
* const nextValue = typeof next === "function" ? next(value) : next;
|
|
148
|
+
* setUncontrolledValue(nextValue);
|
|
149
|
+
*
|
|
150
|
+
* So `setValue(fn)` twice in one batch had both calls compute from the same stale
|
|
151
|
+
* `value`, and **the first update was silently lost.** React's own `setState`
|
|
152
|
+
* updater form does not have that problem precisely because React resolves it
|
|
153
|
+
* against the latest state; passing a pre-computed value gives that up.
|
|
154
|
+
*
|
|
155
|
+
* Found by a hook test that paste-held two items inside one `act()` and got one.
|
|
156
|
+
* It is not an exotic case — any caller that loops, or handles two events in a
|
|
157
|
+
* batch, hits it, and the symptom is a dropped update with nothing to indicate one
|
|
158
|
+
* happened.
|
|
159
|
+
*
|
|
160
|
+
* The fix cannot be "pass the updater to React", because `onChange` has to be
|
|
161
|
+
* called with the resulting value and an updater must stay pure — React may invoke
|
|
162
|
+
* it twice (StrictMode), which would fire `onChange` twice. So the previous value
|
|
163
|
+
* comes from a ref that is re-synced from the authoritative `value` on every render
|
|
164
|
+
* and advanced on every set. Within a batch the ref carries intent; after a render
|
|
165
|
+
* the real value wins.
|
|
166
|
+
*
|
|
167
|
+
* A side effect worth having: `setValue` no longer depends on `value`, so it is
|
|
168
|
+
* stable for the life of the component.
|
|
169
|
+
*/
|
|
137
170
|
declare function useControllableState<T>(controlledValue: T | undefined, defaultValue: T, onChange?: (value: T) => void): [T, (value: T | ((prev: T) => T)) => void];
|
|
138
171
|
|
|
139
172
|
declare function useOutsideClick(ref: RefObject<HTMLElement | null>, handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean, ignoreRef?: RefObject<HTMLElement | null>): void;
|