@particle-academy/react-fancy 5.28.1 → 5.29.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/README.md +54 -0
- package/dist/{FieldMode.context-DNyItEKV.d.ts → FieldMode.context-Bl41F2WF.d.ts} +2 -2
- package/dist/{FieldMode.context-BOShROIw.d.cts → FieldMode.context-CU5h1CyF.d.cts} +2 -2
- package/dist/{Timeline-Cvrd7N7-.d.ts → Timeline-B-3JFX43.d.ts} +1 -1
- package/dist/{Timeline-7zHhIk3P.d.cts → Timeline-BSk0X2nV.d.cts} +1 -1
- package/dist/autocomplete.d.cts +2 -2
- package/dist/autocomplete.d.ts +2 -2
- package/dist/badge.cjs +2 -2
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/breadcrumbs.d.cts +1 -1
- package/dist/breadcrumbs.d.ts +1 -1
- package/dist/button.cjs +3 -3
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/callout.cjs +2 -2
- package/dist/callout.d.cts +1 -1
- package/dist/callout.d.ts +1 -1
- package/dist/callout.js +1 -1
- package/dist/checkbox-group.d.cts +2 -2
- package/dist/checkbox-group.d.ts +2 -2
- package/dist/checkbox.d.cts +2 -2
- package/dist/checkbox.d.ts +2 -2
- package/dist/{chunk-ZDVVE4OV.js → chunk-2HGYDDIQ.js} +6 -6
- package/dist/{chunk-ZDVVE4OV.js.map → chunk-2HGYDDIQ.js.map} +1 -1
- package/dist/{chunk-ICT477LK.cjs → chunk-5TUZENNJ.cjs} +4 -4
- package/dist/{chunk-ICT477LK.cjs.map → chunk-5TUZENNJ.cjs.map} +1 -1
- package/dist/{chunk-EWRP6KCY.js → chunk-6FCQD2KQ.js} +14 -2
- package/dist/chunk-6FCQD2KQ.js.map +1 -0
- package/dist/{chunk-QJKWBU3I.js → chunk-6ZDXG5VC.js} +5 -2
- package/dist/chunk-6ZDXG5VC.js.map +1 -0
- package/dist/{chunk-AT5OG5N4.js → chunk-7JDVCQXD.js} +8 -2
- package/dist/chunk-7JDVCQXD.js.map +1 -0
- package/dist/{chunk-BYKTW7J5.js → chunk-B4PFNSX7.js} +3 -3
- package/dist/{chunk-BYKTW7J5.js.map → chunk-B4PFNSX7.js.map} +1 -1
- package/dist/{chunk-XQNYFXBY.cjs → chunk-B5KK7NYP.cjs} +5 -2
- package/dist/chunk-B5KK7NYP.cjs.map +1 -0
- package/dist/{chunk-JX6NKLQV.cjs → chunk-FEUAZW3X.cjs} +22 -22
- package/dist/{chunk-JX6NKLQV.cjs.map → chunk-FEUAZW3X.cjs.map} +1 -1
- package/dist/{chunk-VYQI4R6S.js → chunk-G6VMNSCM.js} +8 -2
- package/dist/chunk-G6VMNSCM.js.map +1 -0
- package/dist/{chunk-GHAZOIEG.cjs → chunk-H6PXIB35.cjs} +6 -6
- package/dist/{chunk-GHAZOIEG.cjs.map → chunk-H6PXIB35.cjs.map} +1 -1
- package/dist/{chunk-EJHAIXAE.cjs → chunk-LCNHEYIM.cjs} +8 -2
- package/dist/chunk-LCNHEYIM.cjs.map +1 -0
- package/dist/{chunk-H5OPZEVQ.cjs → chunk-MOU6O324.cjs} +14 -2
- package/dist/chunk-MOU6O324.cjs.map +1 -0
- package/dist/{chunk-YM6F2JIT.js → chunk-P7PKK5BO.js} +11 -2
- package/dist/chunk-P7PKK5BO.js.map +1 -0
- package/dist/{chunk-RN2EW7CK.cjs → chunk-RLMU3NHQ.cjs} +8 -2
- package/dist/chunk-RLMU3NHQ.cjs.map +1 -0
- package/dist/{chunk-6QVJY3RM.cjs → chunk-RWOH2ADL.cjs} +11 -2
- package/dist/chunk-RWOH2ADL.cjs.map +1 -0
- package/dist/{chunk-F2VJEXN2.cjs → chunk-UWL6U3L7.cjs} +8 -2
- package/dist/chunk-UWL6U3L7.cjs.map +1 -0
- package/dist/{chunk-RHDBBXHO.cjs → chunk-VRJTPXJ7.cjs} +5 -5
- package/dist/{chunk-RHDBBXHO.cjs.map → chunk-VRJTPXJ7.cjs.map} +1 -1
- package/dist/{chunk-SAF5642F.js → chunk-WEKQD4BQ.js} +3 -3
- package/dist/{chunk-SAF5642F.js.map → chunk-WEKQD4BQ.js.map} +1 -1
- package/dist/{chunk-4JGUPG22.js → chunk-ZXZJYVWP.js} +8 -2
- package/dist/chunk-ZXZJYVWP.js.map +1 -0
- package/dist/{chunk-IYTTEPCV.js → chunk-ZYVWKYPO.js} +4 -4
- package/dist/{chunk-IYTTEPCV.js.map → chunk-ZYVWKYPO.js.map} +1 -1
- package/dist/color-picker.d.cts +2 -2
- package/dist/color-picker.d.ts +2 -2
- package/dist/date-picker.d.cts +2 -2
- package/dist/date-picker.d.ts +2 -2
- package/dist/dropdown.d.cts +1 -1
- package/dist/dropdown.d.ts +1 -1
- package/dist/editor.d.cts +2 -2
- package/dist/editor.d.ts +2 -2
- package/dist/field.d.cts +1 -1
- package/dist/field.d.ts +1 -1
- package/dist/{index-YSQnfXN-.d.cts → index-CEb-loCl.d.cts} +2 -2
- package/dist/{index-DWJGBEW9.d.ts → index-DeAJbVOn.d.ts} +2 -2
- package/dist/index.cjs +32 -32
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +10 -10
- package/dist/input.d.cts +2 -2
- package/dist/input.d.ts +2 -2
- package/dist/inputs.cjs +2 -2
- package/dist/inputs.d.cts +3 -3
- package/dist/inputs.d.ts +3 -3
- package/dist/inputs.js +1 -1
- package/dist/{inputs.types-vl3PAc4q.d.ts → inputs.types-DzGcqcPf.d.ts} +1 -1
- package/dist/{inputs.types-CJbAS14j.d.cts → inputs.types-duxPKadC.d.cts} +1 -1
- package/dist/json-editor.cjs +16 -16
- package/dist/json-editor.d.cts +3 -3
- package/dist/json-editor.d.ts +3 -3
- package/dist/json-editor.js +5 -5
- package/dist/magic-wand.cjs +4 -4
- package/dist/magic-wand.js +3 -3
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.ts +1 -1
- package/dist/mobile-menu.d.cts +1 -1
- package/dist/mobile-menu.d.ts +1 -1
- package/dist/mode.d.cts +3 -3
- package/dist/mode.d.ts +3 -3
- package/dist/multi-switch.d.cts +2 -2
- package/dist/multi-switch.d.ts +2 -2
- package/dist/navbar.d.cts +1 -1
- package/dist/navbar.d.ts +1 -1
- package/dist/otp-input.d.cts +2 -2
- package/dist/otp-input.d.ts +2 -2
- package/dist/popover.d.cts +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/progress.cjs +2 -2
- package/dist/progress.d.cts +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +1 -1
- package/dist/prompt-input.cjs +3 -3
- package/dist/prompt-input.js +2 -2
- package/dist/radio-group.d.cts +2 -2
- package/dist/radio-group.d.ts +2 -2
- package/dist/reason-tag.cjs +3 -3
- package/dist/reason-tag.js +2 -2
- package/dist/select.d.cts +2 -2
- package/dist/select.d.ts +2 -2
- package/dist/sidebar.d.cts +1 -1
- package/dist/sidebar.d.ts +1 -1
- package/dist/slider.d.cts +2 -2
- package/dist/slider.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/switch.cjs +2 -2
- package/dist/switch.d.cts +2 -2
- package/dist/switch.d.ts +2 -2
- package/dist/switch.js +1 -1
- package/dist/textarea.d.cts +2 -2
- package/dist/textarea.d.ts +2 -2
- package/dist/time-picker.d.cts +2 -2
- package/dist/time-picker.d.ts +2 -2
- package/dist/timeline.cjs +4 -4
- package/dist/timeline.d.cts +3 -3
- package/dist/timeline.d.ts +3 -3
- package/dist/timeline.js +1 -1
- package/dist/tooltip.d.cts +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/{types-8Sv0rCjw.d.cts → types-DJI492iY.d.cts} +12 -3
- package/dist/{types-8Sv0rCjw.d.ts → types-DJI492iY.d.ts} +12 -3
- package/package.json +1 -1
- package/dist/chunk-4JGUPG22.js.map +0 -1
- package/dist/chunk-6QVJY3RM.cjs.map +0 -1
- package/dist/chunk-AT5OG5N4.js.map +0 -1
- package/dist/chunk-EJHAIXAE.cjs.map +0 -1
- package/dist/chunk-EWRP6KCY.js.map +0 -1
- package/dist/chunk-F2VJEXN2.cjs.map +0 -1
- package/dist/chunk-H5OPZEVQ.cjs.map +0 -1
- package/dist/chunk-QJKWBU3I.js.map +0 -1
- package/dist/chunk-RN2EW7CK.cjs.map +0 -1
- package/dist/chunk-VYQI4R6S.js.map +0 -1
- package/dist/chunk-XQNYFXBY.cjs.map +0 -1
- package/dist/chunk-YM6F2JIT.js.map +0 -1
package/README.md
CHANGED
|
@@ -221,6 +221,60 @@ All components render a `data-react-fancy-*` attribute on their root element (e.
|
|
|
221
221
|
document.querySelectorAll("[data-react-fancy-dropdown-item]");
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
+
## Your brand colour
|
|
225
|
+
|
|
226
|
+
Every component that takes a `color` accepts `"brand"` — your colour, not one of
|
|
227
|
+
Tailwind's hues:
|
|
228
|
+
|
|
229
|
+
```jsx
|
|
230
|
+
<Button color="brand">Save</Button>
|
|
231
|
+
<Badge color="brand">New</Badge>
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
It resolves through three CSS variables you set once:
|
|
235
|
+
|
|
236
|
+
```css
|
|
237
|
+
:root {
|
|
238
|
+
--color-brand: #003057; /* the brand colour itself */
|
|
239
|
+
--color-brand-contrast: #ffffff; /* text + icons ON that colour */
|
|
240
|
+
--color-brand-hover: #D4A017; /* need NOT be a shade of brand */
|
|
241
|
+
}
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
Three rather than one because a generated hover assumes "same hue, darker", and
|
|
245
|
+
a brand palette need not work that way — a navy whose hover is gold cannot be
|
|
246
|
+
derived from navy by any amount of arithmetic. You state it.
|
|
247
|
+
|
|
248
|
+
The tinted variants (`outline`, `ghost`, `soft`) derive from the same three with
|
|
249
|
+
opacity, so you never need to supply a 50–950 scale.
|
|
250
|
+
|
|
251
|
+
### Dark mode: swap the PAIR
|
|
252
|
+
|
|
253
|
+
`--color-brand` and `--color-brand-contrast` only make sense together. Repointing
|
|
254
|
+
one without the other is the obvious wrong move, and it **fails quietly** — the
|
|
255
|
+
button still renders, it is just unreadable:
|
|
256
|
+
|
|
257
|
+
```css
|
|
258
|
+
/* WRONG — the surface goes pale, the label stays white on top of it */
|
|
259
|
+
.dark { --color-brand: #BFD7EA; }
|
|
260
|
+
|
|
261
|
+
/* RIGHT — the pair turns over together */
|
|
262
|
+
.dark {
|
|
263
|
+
--color-brand: #BFD7EA;
|
|
264
|
+
--color-brand-contrast: #003057;
|
|
265
|
+
}
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
The same swap fixes ghost and outline buttons, where the brand colour is the
|
|
269
|
+
LABEL rather than the surface: a dark-mode brand that stayed navy would put navy
|
|
270
|
+
text on a near-black background.
|
|
271
|
+
|
|
272
|
+
`--color-brand-hover` often needs no per-mode value. An accent chosen to stand
|
|
273
|
+
against the brand usually stands against it in both modes.
|
|
274
|
+
|
|
275
|
+
Reported by a consumer running a three-colour palette; the wrong version above
|
|
276
|
+
is the one they hit first.
|
|
277
|
+
|
|
224
278
|
## Dark Mode
|
|
225
279
|
|
|
226
280
|
Dark mode works via Tailwind's `dark:` class strategy. The library's `Portal` component automatically detects the `dark` class (or `data-theme="dark"`) on `<html>` and propagates it into portaled content (modals, dropdowns, tooltips, toasts, etc.).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { FormHTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { F as FieldMode } from './inputs.types-
|
|
4
|
-
import { S as Size } from './types-
|
|
3
|
+
import { F as FieldMode } from './inputs.types-DzGcqcPf.js';
|
|
4
|
+
import { S as Size } from './types-DJI492iY.js';
|
|
5
5
|
|
|
6
6
|
interface FormProviderProps {
|
|
7
7
|
/** `"edit"` (default) or `"view"` — applied to every input below that doesn't override it. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { FormHTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { F as FieldMode } from './inputs.types-
|
|
4
|
-
import { S as Size } from './types-
|
|
3
|
+
import { F as FieldMode } from './inputs.types-duxPKadC.cjs';
|
|
4
|
+
import { S as Size } from './types-DJI492iY.cjs';
|
|
5
5
|
|
|
6
6
|
interface FormProviderProps {
|
|
7
7
|
/** `"edit"` (default) or `"view"` — applied to every input below that doesn't override it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
type TimelineVariant = "stacked" | "alternating" | "horizontal";
|
|
6
6
|
/** @deprecated Use TimelineVariant instead */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
type TimelineVariant = "stacked" | "alternating" | "horizontal";
|
|
6
6
|
/** @deprecated Use TimelineVariant instead */
|
package/dist/autocomplete.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { F as FieldMode } from './inputs.types-
|
|
4
|
-
import './types-
|
|
3
|
+
import { F as FieldMode } from './inputs.types-duxPKadC.cjs';
|
|
4
|
+
import './types-DJI492iY.cjs';
|
|
5
5
|
|
|
6
6
|
interface AutocompleteOption {
|
|
7
7
|
value: string;
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { F as FieldMode } from './inputs.types-
|
|
4
|
-
import './types-
|
|
3
|
+
import { F as FieldMode } from './inputs.types-DzGcqcPf.js';
|
|
4
|
+
import './types-DJI492iY.js';
|
|
5
5
|
|
|
6
6
|
interface AutocompleteOption {
|
|
7
7
|
value: string;
|
package/dist/badge.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-VBWRH4UW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMOU6O324_cjs = require('./chunk-MOU6O324.cjs');
|
|
5
5
|
require('./chunk-ZU5Q77OT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Badge", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkMOU6O324_cjs.Badge; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=badge.cjs.map
|
|
14
14
|
//# sourceMappingURL=badge.cjs.map
|
package/dist/badge.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
6
6
|
/** Badge color — any color in the Tailwind v4 palette. */
|
package/dist/badge.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
6
6
|
/** Badge color — any color in the Tailwind v4 palette. */
|
package/dist/badge.js
CHANGED
package/dist/breadcrumbs.d.cts
CHANGED
package/dist/breadcrumbs.d.ts
CHANGED
package/dist/button.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-M5MUGSON.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkUWL6U3L7_cjs = require('./chunk-UWL6U3L7.cjs');
|
|
5
5
|
require('./chunk-XCZZVRBY.cjs');
|
|
6
6
|
require('./chunk-QKFOJKVE.cjs');
|
|
7
7
|
require('./chunk-BFKCVSNK.cjs');
|
|
@@ -11,11 +11,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Action", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkUWL6U3L7_cjs.Action; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "Button", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUWL6U3L7_cjs.Button; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=button.cjs.map
|
|
21
21
|
//# sourceMappingURL=button.cjs.map
|
package/dist/button.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType, AnchorHTMLAttributes } from 'react';
|
|
3
|
-
import { B as ButtonColor, S as Size } from './types-
|
|
3
|
+
import { B as ButtonColor, S as Size } from './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
|
|
6
6
|
/** Shape/fill variant */
|
package/dist/button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType, AnchorHTMLAttributes } from 'react';
|
|
3
|
-
import { B as ButtonColor, S as Size } from './types-
|
|
3
|
+
import { B as ButtonColor, S as Size } from './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
|
|
6
6
|
/** Shape/fill variant */
|
package/dist/button.js
CHANGED
package/dist/callout.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-3I2KWNXT.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkLCNHEYIM_cjs = require('./chunk-LCNHEYIM.cjs');
|
|
5
5
|
require('./chunk-ZU5Q77OT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Callout", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkLCNHEYIM_cjs.Callout; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=callout.cjs.map
|
|
14
14
|
//# sourceMappingURL=callout.cjs.map
|
package/dist/callout.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
interface CalloutProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
children: ReactNode;
|
package/dist/callout.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { C as Color } from './types-
|
|
3
|
+
import { C as Color } from './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
interface CalloutProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
children: ReactNode;
|
package/dist/callout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { a as InputBaseProps, b as InputOption } from './inputs.types-
|
|
3
|
-
import './types-
|
|
2
|
+
import { a as InputBaseProps, b as InputOption } from './inputs.types-duxPKadC.cjs';
|
|
3
|
+
import './types-DJI492iY.cjs';
|
|
4
4
|
|
|
5
5
|
interface CheckboxGroupProps<V = string> extends Omit<InputBaseProps, "id"> {
|
|
6
6
|
list: InputOption<V>[];
|
package/dist/checkbox-group.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { a as InputBaseProps, b as InputOption } from './inputs.types-
|
|
3
|
-
import './types-
|
|
2
|
+
import { a as InputBaseProps, b as InputOption } from './inputs.types-DzGcqcPf.js';
|
|
3
|
+
import './types-DJI492iY.js';
|
|
4
4
|
|
|
5
5
|
interface CheckboxGroupProps<V = string> extends Omit<InputBaseProps, "id"> {
|
|
6
6
|
list: InputOption<V>[];
|
package/dist/checkbox.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { a as InputBaseProps } from './inputs.types-
|
|
4
|
-
import './types-
|
|
3
|
+
import { a as InputBaseProps } from './inputs.types-duxPKadC.cjs';
|
|
4
|
+
import './types-DJI492iY.cjs';
|
|
5
5
|
|
|
6
6
|
interface CheckboxProps extends Omit<InputBaseProps, "label">, Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "onChange" | "id"> {
|
|
7
7
|
checked?: boolean;
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { a as InputBaseProps } from './inputs.types-
|
|
4
|
-
import './types-
|
|
3
|
+
import { a as InputBaseProps } from './inputs.types-DzGcqcPf.js';
|
|
4
|
+
import './types-DJI492iY.js';
|
|
5
5
|
|
|
6
6
|
interface CheckboxProps extends Omit<InputBaseProps, "label">, Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "onChange" | "id"> {
|
|
7
7
|
checked?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Switch } from './chunk-
|
|
1
|
+
import { Switch } from './chunk-6ZDXG5VC.js';
|
|
2
2
|
import { DatePicker } from './chunk-L2FPIFMN.js';
|
|
3
3
|
import { Input } from './chunk-L5KKMJ2Q.js';
|
|
4
4
|
import { Select } from './chunk-ZH3SPBVB.js';
|
|
@@ -7,9 +7,9 @@ import { Textarea } from './chunk-DEFGT75G.js';
|
|
|
7
7
|
import { DisplayValue } from './chunk-KKWNKBKR.js';
|
|
8
8
|
import { resolveOption } from './chunk-GFYSELJF.js';
|
|
9
9
|
import { ColorPicker } from './chunk-6PF5ENWM.js';
|
|
10
|
-
import { Badge } from './chunk-
|
|
11
|
-
import { Button } from './chunk-
|
|
12
|
-
import { Callout } from './chunk-
|
|
10
|
+
import { Badge } from './chunk-6FCQD2KQ.js';
|
|
11
|
+
import { Button } from './chunk-G6VMNSCM.js';
|
|
12
|
+
import { Callout } from './chunk-ZXZJYVWP.js';
|
|
13
13
|
import { useInlineEdit } from './chunk-OL53XYHF.js';
|
|
14
14
|
import { cn } from './chunk-MMW2JGKZ.js';
|
|
15
15
|
import { createContext, forwardRef, useId, useRef, useMemo, useState, useEffect, useCallback, useContext } from 'react';
|
|
@@ -1337,5 +1337,5 @@ function buildItems({
|
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
1339
|
export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches };
|
|
1340
|
-
//# sourceMappingURL=chunk-
|
|
1341
|
-
//# sourceMappingURL=chunk-
|
|
1340
|
+
//# sourceMappingURL=chunk-2HGYDDIQ.js.map
|
|
1341
|
+
//# sourceMappingURL=chunk-2HGYDDIQ.js.map
|