@weasel-js/ui 1.4.1 → 1.4.2
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/dist/chunks/{ActionsBar-B-gWm0NE.js → ActionsBar-C2oXIJk-.js} +3 -3
- package/dist/chunks/{ActionsBar-B-gWm0NE.js.map → ActionsBar-C2oXIJk-.js.map} +1 -1
- package/dist/chunks/{BandEditor-DjOi4ldl.js → BandEditor-CqiMlSF9.js} +1 -1
- package/dist/chunks/{BandEditor-DjOi4ldl.js.map → BandEditor-CqiMlSF9.js.map} +1 -1
- package/dist/chunks/{Callout-wRyevt8I.js → Callout-63z0T-w3.js} +1 -1
- package/dist/chunks/{Callout-wRyevt8I.js.map → Callout-63z0T-w3.js.map} +1 -1
- package/dist/chunks/{Checkbox-D_GCnoJ0.js → Checkbox-CkcngYWa.js} +1 -1
- package/dist/chunks/{Checkbox-D_GCnoJ0.js.map → Checkbox-CkcngYWa.js.map} +1 -1
- package/dist/chunks/{ColorField-pEkaSppg.js → ColorField-CCBSv8dp.js} +2 -2
- package/dist/chunks/{ColorField-pEkaSppg.js.map → ColorField-CCBSv8dp.js.map} +1 -1
- package/dist/chunks/{ComboBox-inno5gt1.js → ComboBox-TnIrRldB.js} +2 -2
- package/dist/chunks/{ComboBox-inno5gt1.js.map → ComboBox-TnIrRldB.js.map} +1 -1
- package/dist/chunks/{CurveEditor-DoX5Q0_V.js → CurveEditor-BNbP2wgq.js} +2 -2
- package/dist/chunks/{CurveEditor-DoX5Q0_V.js.map → CurveEditor-BNbP2wgq.js.map} +1 -1
- package/dist/chunks/{DataGrid-DHV0chfL.js → DataGrid-CiJGbgok.js} +2 -2
- package/dist/chunks/{DataGrid-DHV0chfL.js.map → DataGrid-CiJGbgok.js.map} +1 -1
- package/dist/chunks/{DetentSlider-Cd5360U3.js → DetentSlider-C6RTsiPi.js} +2 -2
- package/dist/chunks/{DetentSlider-Cd5360U3.js.map → DetentSlider-C6RTsiPi.js.map} +1 -1
- package/dist/chunks/{Dialog-CX2B8PIp.js → Dialog-D8pVzsw8.js} +1 -1
- package/dist/chunks/{Dialog-CX2B8PIp.js.map → Dialog-D8pVzsw8.js.map} +1 -1
- package/dist/chunks/Disclosure-aSX2CZlw.js +47 -0
- package/dist/chunks/Disclosure-aSX2CZlw.js.map +1 -0
- package/dist/chunks/{DragHandleGlyph--2zsZzA2.js → DragHandleGlyph-C6GJyfnm.js} +1 -1
- package/dist/chunks/{DragHandleGlyph--2zsZzA2.js.map → DragHandleGlyph-C6GJyfnm.js.map} +1 -1
- package/dist/chunks/{Field-Bc6Nuc3p.js → Field-BUroh92b.js} +1 -1
- package/dist/chunks/{Field-Bc6Nuc3p.js.map → Field-BUroh92b.js.map} +1 -1
- package/dist/chunks/{FontFamilySelect-CvrXKVwv.js → FontFamilySelect-xjOHQMsK.js} +2 -2
- package/dist/chunks/{FontFamilySelect-CvrXKVwv.js.map → FontFamilySelect-xjOHQMsK.js.map} +1 -1
- package/dist/chunks/{GradientEditor-CPeTbkFE.js → GradientEditor-D1IVEkHO.js} +4 -4
- package/dist/chunks/{GradientEditor-CPeTbkFE.js.map → GradientEditor-D1IVEkHO.js.map} +1 -1
- package/dist/chunks/{InlineRange-CBt_SBsC.js → InlineRange-DG2dvtb4.js} +2 -2
- package/dist/chunks/{InlineRange-CBt_SBsC.js.map → InlineRange-DG2dvtb4.js.map} +1 -1
- package/dist/chunks/{Input-CSAECs_T.js → Input-CxMANia3.js} +2 -2
- package/dist/chunks/{Input-CSAECs_T.js.map → Input-CxMANia3.js.map} +1 -1
- package/dist/chunks/{ItemList-POiCvUDx.js → ItemList-BcdHAah3.js} +1 -1
- package/dist/chunks/{ItemList-POiCvUDx.js.map → ItemList-BcdHAah3.js.map} +1 -1
- package/dist/chunks/{Keycaps-DszN5Dwl.js → Keycaps-D-UGWDrt.js} +1 -1
- package/dist/chunks/{Keycaps-DszN5Dwl.js.map → Keycaps-D-UGWDrt.js.map} +1 -1
- package/dist/chunks/{LayerStack-BVdwhAhG.js → LayerStack-DQnWSOVC.js} +23 -23
- package/dist/chunks/LayerStack-DQnWSOVC.js.map +1 -0
- package/dist/chunks/{NumberField-Byw1iaIJ.js → NumberField-DLw4UmF3.js} +12 -10
- package/dist/chunks/NumberField-DLw4UmF3.js.map +1 -0
- package/dist/chunks/{OptionsBar-efIwfqYe.js → OptionsBar-BXyk_5gT.js} +3 -3
- package/dist/chunks/{OptionsBar-efIwfqYe.js.map → OptionsBar-BXyk_5gT.js.map} +1 -1
- package/dist/chunks/{PaintInput-6HTUAFL1.js → PaintInput-DCgWtKxw.js} +5 -5
- package/dist/chunks/{PaintInput-6HTUAFL1.js.map → PaintInput-DCgWtKxw.js.map} +1 -1
- package/dist/chunks/{PatternPicker-G9e0CU5H.js → PatternPicker-CPFEhpXD.js} +2 -2
- package/dist/chunks/{PatternPicker-G9e0CU5H.js.map → PatternPicker-CPFEhpXD.js.map} +1 -1
- package/dist/chunks/{Plot2D-D63D5w6c.js → Plot2D-BtI_c25q.js} +1 -1
- package/dist/chunks/{Plot2D-D63D5w6c.js.map → Plot2D-BtI_c25q.js.map} +1 -1
- package/dist/chunks/{PointPlotter-CZJE8Ccu.js → PointPlotter-B-DvXjkL.js} +2 -2
- package/dist/chunks/{PointPlotter-CZJE8Ccu.js.map → PointPlotter-B-DvXjkL.js.map} +1 -1
- package/dist/chunks/{Powerline-BY_ADnqq.js → Powerline-CJYCbqSc.js} +1 -1
- package/dist/chunks/{Powerline-BY_ADnqq.js.map → Powerline-CJYCbqSc.js.map} +1 -1
- package/dist/chunks/{Prefs-ByKG3ylD.js → Prefs-BqnwyjmH.js} +10 -10
- package/dist/chunks/{Prefs-ByKG3ylD.js.map → Prefs-BqnwyjmH.js.map} +1 -1
- package/dist/chunks/Properties-fLSEE65J.js +746 -0
- package/dist/chunks/Properties-fLSEE65J.js.map +1 -0
- package/dist/chunks/{RadioGroup-XjbfUb7S.js → RadioGroup-VGAaLYaR.js} +2 -2
- package/dist/chunks/{RadioGroup-XjbfUb7S.js.map → RadioGroup-VGAaLYaR.js.map} +1 -1
- package/dist/chunks/{RangeSlider-D0hFbx_Z.js → RangeSlider-DefoAOsh.js} +1 -1
- package/dist/chunks/{RangeSlider-D0hFbx_Z.js.map → RangeSlider-DefoAOsh.js.map} +1 -1
- package/dist/chunks/{ResizeHandle-DfqqfaZz.js → ResizeHandle-DMJdqRud.js} +1 -1
- package/dist/chunks/{ResizeHandle-DfqqfaZz.js.map → ResizeHandle-DMJdqRud.js.map} +1 -1
- package/dist/chunks/Select-DGafwTF0.js +121 -0
- package/dist/chunks/Select-DGafwTF0.js.map +1 -0
- package/dist/chunks/{SelectionPanel-BU2cmRtp.js → SelectionPanel-BwBevj5F.js} +10 -10
- package/dist/chunks/{SelectionPanel-BU2cmRtp.js.map → SelectionPanel-BwBevj5F.js.map} +1 -1
- package/dist/chunks/{Sidebar-Du0yp1S0.js → Sidebar-CeSRkWKK.js} +1 -1
- package/dist/chunks/{Sidebar-Du0yp1S0.js.map → Sidebar-CeSRkWKK.js.map} +1 -1
- package/dist/chunks/{SidebarPanel-Cuq__FIC.js → SidebarPanel-BWIiJv7M.js} +1 -1
- package/dist/chunks/{SidebarPanel-Cuq__FIC.js.map → SidebarPanel-BWIiJv7M.js.map} +1 -1
- package/dist/chunks/{Slider-BE6jaxyU.js → Slider-X6WcO-6s.js} +2 -2
- package/dist/chunks/{Slider-BE6jaxyU.js.map → Slider-X6WcO-6s.js.map} +1 -1
- package/dist/chunks/{StatusBar-DLYwh5sb.js → StatusBar-COyPUoEs.js} +1 -1
- package/dist/chunks/{StatusBar-DLYwh5sb.js.map → StatusBar-COyPUoEs.js.map} +1 -1
- package/dist/chunks/{Switch-B521iN3m.js → Switch-Y097LD1L.js} +1 -1
- package/dist/chunks/{Switch-B521iN3m.js.map → Switch-Y097LD1L.js.map} +1 -1
- package/dist/chunks/{Tabs-BuifAv0p.js → Tabs-BDzkqWDE.js} +1 -1
- package/dist/chunks/{Tabs-BuifAv0p.js.map → Tabs-BDzkqWDE.js.map} +1 -1
- package/dist/chunks/{Timeline-CWuh0nV0.js → Timeline-D9xQBdKN.js} +2 -2
- package/dist/chunks/{Timeline-CWuh0nV0.js.map → Timeline-D9xQBdKN.js.map} +1 -1
- package/dist/chunks/{Toast-B75V2gqL.js → Toast-DX0iLdC3.js} +1 -1
- package/dist/chunks/{Toast-B75V2gqL.js.map → Toast-DX0iLdC3.js.map} +1 -1
- package/dist/chunks/{ToggleBar-D0veW91s.js → ToggleBar-fQGk_Wf_.js} +2 -2
- package/dist/chunks/{ToggleBar-D0veW91s.js.map → ToggleBar-fQGk_Wf_.js.map} +1 -1
- package/dist/chunks/{ToolButton-D5VwD47i.js → ToolButton-DpqTcgLa.js} +1 -1
- package/dist/chunks/{ToolButton-D5VwD47i.js.map → ToolButton-DpqTcgLa.js.map} +1 -1
- package/dist/chunks/{ToolGroup-B2PlMKQ-.js → ToolGroup-DOrObiiA.js} +1 -1
- package/dist/chunks/{ToolGroup-B2PlMKQ-.js.map → ToolGroup-DOrObiiA.js.map} +1 -1
- package/dist/chunks/{ToolOptionsBar-ByHX7y1M.js → ToolOptionsBar-f6b5u99i.js} +1 -1
- package/dist/chunks/{ToolOptionsBar-ByHX7y1M.js.map → ToolOptionsBar-f6b5u99i.js.map} +1 -1
- package/dist/chunks/{ToolPalette-Bi5ezkO6.js → ToolPalette-B_Zjw6dC.js} +5 -5
- package/dist/chunks/{ToolPalette-Bi5ezkO6.js.map → ToolPalette-B_Zjw6dC.js.map} +1 -1
- package/dist/chunks/{keyGlyph-BLFMKZgF.js → keyGlyph-L5bsDQe5.js} +1 -1
- package/dist/chunks/{keyGlyph-BLFMKZgF.js.map → keyGlyph-L5bsDQe5.js.map} +1 -1
- package/dist/chunks/{number-D3TDawLC.js → number-Dy633mrx.js} +1 -1
- package/dist/chunks/{number-D3TDawLC.js.map → number-Dy633mrx.js.map} +1 -1
- package/dist/chunks/{range.module-CttzfN6a.js → range.module-CO59aXEH.js} +1 -1
- package/dist/chunks/{range.module-CttzfN6a.js.map → range.module-CO59aXEH.js.map} +1 -1
- package/dist/chunks/{segmentedControl.module-XADeq9e5.js → segmentedControl.module-pcPOsNey.js} +1 -1
- package/dist/chunks/{segmentedControl.module-XADeq9e5.js.map → segmentedControl.module-pcPOsNey.js.map} +1 -1
- package/dist/chunks/{useReorderDragList-UvHJFjTZ.js → useReorderDragList-C2fhvbU1.js} +26 -30
- package/dist/chunks/useReorderDragList-C2fhvbU1.js.map +1 -0
- package/dist/chunks/{useRovingTabIndex-ByjY4lnw.js → useRovingTabIndex-DqXFNDaD.js} +1 -1
- package/dist/chunks/{useRovingTabIndex-ByjY4lnw.js.map → useRovingTabIndex-DqXFNDaD.js.map} +1 -1
- package/dist/components/ActionsBar/index.js +1 -1
- package/dist/components/BandEditor/index.js +1 -1
- package/dist/components/Callout/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/ColorField/index.js +1 -1
- package/dist/components/ComboBox/index.js +1 -1
- package/dist/components/CurveEditor/index.js +1 -1
- package/dist/components/DataGrid/index.js +1 -1
- package/dist/components/DetentSlider/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Disclosure/Disclosure.d.ts +64 -0
- package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
- package/dist/components/Disclosure/index.d.ts +3 -0
- package/dist/components/Disclosure/index.d.ts.map +1 -0
- package/dist/components/Disclosure/index.js +2 -0
- package/dist/components/DragHandleGlyph/index.js +1 -1
- package/dist/components/Field/index.js +1 -1
- package/dist/components/FontFamilySelect/index.js +1 -1
- package/dist/components/GradientEditor/index.js +1 -1
- package/dist/components/InlineRange/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/ItemList/index.js +1 -1
- package/dist/components/Keycaps/index.js +2 -2
- package/dist/components/LayerStack/LayerStack.d.ts +22 -9
- package/dist/components/LayerStack/LayerStack.d.ts.map +1 -1
- package/dist/components/LayerStack/index.js +1 -1
- package/dist/components/NumberField/NumberField.d.ts +12 -0
- package/dist/components/NumberField/NumberField.d.ts.map +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/OptionsBar/index.js +1 -1
- package/dist/components/PaintInput/index.js +1 -1
- package/dist/components/PatternPicker/index.js +1 -1
- package/dist/components/Plot2D/index.js +1 -1
- package/dist/components/PointPlotter/index.js +1 -1
- package/dist/components/Powerline/index.js +1 -1
- package/dist/components/Prefs/index.js +1 -1
- package/dist/components/Properties/EffectCard.d.ts +3 -2
- package/dist/components/Properties/EffectCard.d.ts.map +1 -1
- package/dist/components/Properties/PropertyGroup.d.ts +24 -10
- package/dist/components/Properties/PropertyGroup.d.ts.map +1 -1
- package/dist/components/Properties/PropertyPanel.d.ts +68 -24
- package/dist/components/Properties/PropertyPanel.d.ts.map +1 -1
- package/dist/components/Properties/index.d.ts +1 -1
- package/dist/components/Properties/index.d.ts.map +1 -1
- package/dist/components/Properties/index.js +2 -2
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/RangeSlider/index.js +1 -1
- package/dist/components/ResizeHandle/index.js +1 -1
- package/dist/components/Select/Select.d.ts +7 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SelectionPanel/index.js +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/SidebarPanel/index.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/StatusBar/index.js +1 -1
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Timeline/index.js +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/ToggleBar/index.js +1 -1
- package/dist/components/ToolButton/index.js +1 -1
- package/dist/components/ToolGroup/index.js +1 -1
- package/dist/components/ToolOptionsBar/index.js +1 -1
- package/dist/components/ToolPalette/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +57 -56
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/useReorderDragList.d.ts +1 -1
- package/dist/useReorderDragList.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/chunks/LayerStack-BVdwhAhG.js.map +0 -1
- package/dist/chunks/NumberField-Byw1iaIJ.js.map +0 -1
- package/dist/chunks/Properties-BuNzy7Hb.js +0 -662
- package/dist/chunks/Properties-BuNzy7Hb.js.map +0 -1
- package/dist/chunks/Select-D1uP21db.js +0 -103
- package/dist/chunks/Select-D1uP21db.js.map +0 -1
- package/dist/chunks/useReorderDragList-UvHJFjTZ.js.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Which way the mark points when the section is closed. */
|
|
3
|
+
export type DisclosureDirection = 'right' | 'down';
|
|
4
|
+
/** Props for `<Disclosure>`. */
|
|
5
|
+
export interface DisclosureProps {
|
|
6
|
+
/** Whether the section it controls is open. The consumer owns this. */
|
|
7
|
+
open: boolean;
|
|
8
|
+
onToggle: () => void;
|
|
9
|
+
/**
|
|
10
|
+
* Names the section, for a screen reader. The control has no text of its
|
|
11
|
+
* own, so without this it announces as an unlabeled button.
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* `id` of the element this expands. Sets `aria-controls`, which lets a
|
|
16
|
+
* screen reader move to the revealed content.
|
|
17
|
+
*/
|
|
18
|
+
controls?: string;
|
|
19
|
+
/** Which way the closed mark points. `'right'` (default) rotates down when
|
|
20
|
+
* open; `'down'` rotates up. */
|
|
21
|
+
direction?: DisclosureDirection;
|
|
22
|
+
/** Mark size in px. The hit target is at least 20px and grows with it.
|
|
23
|
+
* Default 12. */
|
|
24
|
+
size?: number;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The twisty on a collapsible section: a triangle that turns as it opens.
|
|
30
|
+
*
|
|
31
|
+
* Presentational — it holds no open/closed state and renders no children.
|
|
32
|
+
* The consumer owns the state and the panel; this is the control that toggles
|
|
33
|
+
* it, and `aria-expanded` is what ties the two together.
|
|
34
|
+
*
|
|
35
|
+
* Three things it settles that a hand-rolled twisty keeps getting wrong. The
|
|
36
|
+
* mark is drawn rather than typed, because `--wzl-font-ui` carries no ▸/▾ and
|
|
37
|
+
* a text glyph falls back to whatever the system offers at whatever size that
|
|
38
|
+
* font renders it — around 6px against 13px body text, which reads as dirt on
|
|
39
|
+
* the screen. The hit target is larger than the mark. And it is a sibling of
|
|
40
|
+
* the row's label rather than a child, so clicking to expand does not actuate
|
|
41
|
+
* the label's own control.
|
|
42
|
+
*
|
|
43
|
+
* Deliberately not part of the icon register, on the same grounds as
|
|
44
|
+
* `DragHandleGlyph`: that register is outline strokes at a fixed weight, and
|
|
45
|
+
* `base.mjs` rejects a solid triangle in it by name. A disclosure mark is
|
|
46
|
+
* filled.
|
|
47
|
+
*/
|
|
48
|
+
export declare function Disclosure({ open, onToggle, label, controls, direction, size, disabled, className, }: DisclosureProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
/** Props for `<DisclosureRow>`. */
|
|
50
|
+
export interface DisclosureRowProps extends Omit<DisclosureProps, 'className'> {
|
|
51
|
+
/** The row's own content — a label, a checkbox, a count. */
|
|
52
|
+
children: ReactNode;
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* A `<Disclosure>` and a row of content beside it, laid out so the twisty
|
|
57
|
+
* leads and the content takes the rest.
|
|
58
|
+
*
|
|
59
|
+
* The layout is the point: the twisty sits *outside* whatever the row puts in
|
|
60
|
+
* it, so a row whose content is a `<label>` wrapping a checkbox stays
|
|
61
|
+
* clickable as a label without the twisty actuating it.
|
|
62
|
+
*/
|
|
63
|
+
export declare function DisclosureRow({ children, className, ...twisty }: DisclosureRowProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
//# sourceMappingURL=Disclosure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Disclosure.d.ts","sourceRoot":"","sources":["../../../src/components/Disclosure/Disclosure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,4DAA4D;AAC5D,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEnD,gCAAgC;AAChC,MAAM,WAAW,eAAe;IAC9B,uEAAuE;IACvE,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;qCACiC;IACjC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC;sBACkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,SAAmB,EACnB,IAAS,EACT,QAAQ,EACR,SAAS,GACV,EAAE,eAAe,2CA0BjB;AAED,mCAAmC;AACnC,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC;IAC5E,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,MAAM,EAAE,EAAE,kBAAkB,2CAOnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Disclosure/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,kBAAkB,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/DragHandleGlyph
|
|
1
|
+
import { t as e } from "../../chunks/DragHandleGlyph-C6GJyfnm.js";
|
|
2
2
|
export { e as DragHandleGlyph };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/Field-
|
|
1
|
+
import { n as e, t } from "../../chunks/Field-BUroh92b.js";
|
|
2
2
|
export { t as Field, e as fieldClasses };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/FontFamilySelect-
|
|
1
|
+
import { t as e } from "../../chunks/FontFamilySelect-xjOHQMsK.js";
|
|
2
2
|
export { e as FontFamilySelect };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/GradientEditor-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/GradientEditor-D1IVEkHO.js";
|
|
2
2
|
export { t as GradientEditor, e as GradientHandles, n as SceneGradientHandles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/InlineRange-
|
|
1
|
+
import { t as e } from "../../chunks/InlineRange-DG2dvtb4.js";
|
|
2
2
|
export { e as InlineRange };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/Input-
|
|
1
|
+
import { t as e } from "../../chunks/Input-CxMANia3.js";
|
|
2
2
|
export { e as Input };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/ItemList-
|
|
1
|
+
import { t as e } from "../../chunks/ItemList-BcdHAah3.js";
|
|
2
2
|
export { e as ItemList };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../../chunks/Keycaps-
|
|
2
|
-
import { t as o } from "../../chunks/keyGlyph-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../../chunks/Keycaps-D-UGWDrt.js";
|
|
2
|
+
import { t as o } from "../../chunks/keyGlyph-L5bsDQe5.js";
|
|
3
3
|
export { e as KeyCap, t as KeySequence, a as detectPlatform, r as inferKeycapKind, o as keyGlyph, n as keySpecFromKey, i as keySpecsFromMods };
|
|
@@ -6,8 +6,12 @@ export interface LayerStackItem {
|
|
|
6
6
|
* common id-from-nextId conventions; string ids also work. */
|
|
7
7
|
id: number | string;
|
|
8
8
|
/** Short kind label rendered in the header when no primary select
|
|
9
|
-
* is hoisted (e.g. "shadow", "stroke").
|
|
10
|
-
|
|
9
|
+
* is hoisted (e.g. "shadow", "stroke"). Omit it for items that have no
|
|
10
|
+
* kind; `label` then names the card. */
|
|
11
|
+
kind?: string;
|
|
12
|
+
/** Header text, when the item's name is not its kind. Falls back to
|
|
13
|
+
* `kind`. */
|
|
14
|
+
label?: string;
|
|
11
15
|
/** When present, hoist this select into the card header so the user
|
|
12
16
|
* can switch mode/shape without expanding. */
|
|
13
17
|
primaryValue?: string;
|
|
@@ -25,16 +29,25 @@ export interface LayerStackItem {
|
|
|
25
29
|
}
|
|
26
30
|
/** Props for `<LayerStack>`. */
|
|
27
31
|
export interface LayerStackProps {
|
|
28
|
-
|
|
32
|
+
/** Heading above the list. Omit it, along with the palette, for a stack
|
|
33
|
+
* whose surroundings already name it. */
|
|
34
|
+
title?: string;
|
|
29
35
|
items: LayerStackItem[];
|
|
30
|
-
/** Kinds the user can add via the header palette.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
/** Kinds the user can add via the header palette. Omit both this and
|
|
37
|
+
* `onAdd` for a stack the user cannot add to. */
|
|
38
|
+
paletteKinds?: string[];
|
|
39
|
+
onAdd?: (kind: string) => void;
|
|
40
|
+
/** Omit for items the user cannot remove; the card then has no ✕. */
|
|
41
|
+
onRemove?: (id: number | string) => void;
|
|
34
42
|
onReorder: (orderedIds: Array<number | string>) => void;
|
|
35
|
-
|
|
43
|
+
/** Required for `primaryValue` to render as a select — without a handler
|
|
44
|
+
* the control could not be changed. */
|
|
45
|
+
onPrimaryChange?: (id: number | string, nextValue: string) => void;
|
|
36
46
|
/** Render the body controls for each item. */
|
|
37
47
|
renderBody: (item: LayerStackItem) => ReactNode;
|
|
48
|
+
/** Shown in place of the list when `items` is empty. Defaults to a line
|
|
49
|
+
* that points at the palette, or a bare one when there is no palette. */
|
|
50
|
+
emptyLabel?: ReactNode;
|
|
38
51
|
/** Hide the title + palette row (used when an outer wrap renders its
|
|
39
52
|
* own head — see speech-balloons Tails panel). */
|
|
40
53
|
hideHead?: boolean;
|
|
@@ -45,5 +58,5 @@ export interface LayerStackProps {
|
|
|
45
58
|
}
|
|
46
59
|
/** A drag-reorderable stack of expandable cards, with a palette in the header
|
|
47
60
|
* for adding more. The body of each card is the caller's to render. */
|
|
48
|
-
export declare function LayerStack({ className, title, items, paletteKinds, onAdd, onRemove, onReorder, onPrimaryChange, renderBody, hideHead, }: LayerStackProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export declare function LayerStack({ className, title, items, paletteKinds, onAdd, onRemove, onReorder, onPrimaryChange, renderBody, emptyLabel, hideHead, }: LayerStackProps): import("react/jsx-runtime").JSX.Element;
|
|
49
62
|
//# sourceMappingURL=LayerStack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerStack.d.ts","sourceRoot":"","sources":["../../../src/components/LayerStack/LayerStack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,EAAyC,MAAM,OAAO,CAAC;AAMlG;uDACuD;AACvD,MAAM,WAAW,cAAc;IAC7B;mEAC+D;IAC/D,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB;
|
|
1
|
+
{"version":3,"file":"LayerStack.d.ts","sourceRoot":"","sources":["../../../src/components/LayerStack/LayerStack.tsx"],"names":[],"mappings":"AA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B;;+BAE2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;wEACwE;AACxE,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,eAAe,EACf,UAAU,EACV,UAAU,EACV,QAAQ,GACT,EAAE,eAAe,2CA6JjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/LayerStack-
|
|
1
|
+
import { t as e } from "../../chunks/LayerStack-DQnWSOVC.js";
|
|
2
2
|
export { e as LayerStack };
|
|
@@ -13,6 +13,12 @@ export type NumberFieldProps = Omit<RACNumberFieldProps, 'children' | 'className
|
|
|
13
13
|
/** Native input placeholder — e.g. `'Mixed'` for a multi-selection
|
|
14
14
|
* editor with no shared value. */
|
|
15
15
|
placeholder?: string;
|
|
16
|
+
/**
|
|
17
|
+
* `'fill'` (the default) takes the width of whatever row the field sits in.
|
|
18
|
+
* `'fit'` sizes it to `--wzl-number-field-width` (`9ch` by default) plus its
|
|
19
|
+
* own chrome, rather than to the input's 20-character intrinsic width.
|
|
20
|
+
*/
|
|
21
|
+
width?: 'fill' | 'fit';
|
|
16
22
|
className?: string;
|
|
17
23
|
};
|
|
18
24
|
/**
|
|
@@ -35,6 +41,12 @@ export declare const NumberField: import("react").ForwardRefExoticComponent<Omit
|
|
|
35
41
|
/** Native input placeholder — e.g. `'Mixed'` for a multi-selection
|
|
36
42
|
* editor with no shared value. */
|
|
37
43
|
placeholder?: string;
|
|
44
|
+
/**
|
|
45
|
+
* `'fill'` (the default) takes the width of whatever row the field sits in.
|
|
46
|
+
* `'fit'` sizes it to `--wzl-number-field-width` (`9ch` by default) plus its
|
|
47
|
+
* own chrome, rather than to the input's 20-character intrinsic width.
|
|
48
|
+
*/
|
|
49
|
+
width?: "fill" | "fit";
|
|
38
50
|
className?: string;
|
|
39
51
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
40
52
|
//# sourceMappingURL=NumberField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAC7D,OAAO,EAQL,KAAK,gBAAgB,IAAI,mBAAmB,EAC5C,KAAK,gBAAgB,EACtB,MAAM,uBAAuB,CAAC;AAI/B,iFAAiF;AACjF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,WAAW,CAAC,GAAG;IACnF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,gBAAgB,KAAK,SAAS,CAAC,CAAC;IAChE,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;qFACiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;uCACmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAC7D,OAAO,EAQL,KAAK,gBAAgB,IAAI,mBAAmB,EAC5C,KAAK,gBAAgB,EACtB,MAAM,uBAAuB,CAAC;AAI/B,iFAAiF;AACjF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,WAAW,CAAC,GAAG;IACnF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,gBAAgB,KAAK,SAAS,CAAC,CAAC;IAChE,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;qFACiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;uCACmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;YA5Bd,SAAS;kBACH,SAAS;mBACR,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,gBAAgB,KAAK,SAAS,CAAC;IAC/D,2DAA2D;mBAC5C,OAAO;IACtB;qFACiF;YACzE,OAAO;IACf;uCACmC;kBACrB,MAAM;IACpB;;;;OAIG;YACK,MAAM,GAAG,KAAK;gBACV,MAAM;oDAmDlB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/NumberField-
|
|
1
|
+
import { t as e } from "../../chunks/NumberField-DLw4UmF3.js";
|
|
2
2
|
export { e as NumberField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/OptionsBar-
|
|
1
|
+
import { t as e } from "../../chunks/OptionsBar-BXyk_5gT.js";
|
|
2
2
|
export { e as OptionsBar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/PaintInput-
|
|
1
|
+
import { t as e } from "../../chunks/PaintInput-DCgWtKxw.js";
|
|
2
2
|
export { e as PaintInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/PatternPicker-
|
|
1
|
+
import { n as e, t } from "../../chunks/PatternPicker-CPFEhpXD.js";
|
|
2
2
|
export { t as PatternPicker, e as seedPattern };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/Plot2D-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/Plot2D-BtI_c25q.js";
|
|
2
2
|
export { n as Plot2D, e as modelToPlot, t as plotToModel };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/PointPlotter-
|
|
1
|
+
import { t as e } from "../../chunks/PointPlotter-B-DvXjkL.js";
|
|
2
2
|
export { e as PointPlotter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../../chunks/Prefs-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../../chunks/Prefs-BqnwyjmH.js";
|
|
2
2
|
export { i as PrefsDialog, n as PrefsForm, r as isPrefLeaf, t as prefValueAtPath, e as visiblePrefSubtree };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type PropertyMetricProps } from './PropertyPanel';
|
|
2
3
|
/** Props for `<Subpanel>`. */
|
|
3
|
-
export interface SubpanelProps {
|
|
4
|
+
export interface SubpanelProps extends PropertyMetricProps {
|
|
4
5
|
title: ReactNode;
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
className?: string;
|
|
7
8
|
}
|
|
8
9
|
/** A typographic divider inside a property list: a small title flanked by a
|
|
9
10
|
* rule. Purely a heading — use `<PropertyGroup>` for a bordered section. */
|
|
10
|
-
export declare function Subpanel({ title, children, className }: SubpanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Subpanel({ title, children, className, density, align }: SubpanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
/** Props for `<EffectCard>`. */
|
|
12
13
|
export interface EffectCardProps {
|
|
13
14
|
/** Card title rendered in the title bar (e.g. effect kind label or a select). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EffectCard.d.ts","sourceRoot":"","sources":["../../../src/components/Properties/EffectCard.ts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Q,CACX,CAAC;KACH,KACE,SAAS,CAAC;IACf,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,KAAK,IAAI,CAAC;IACxF,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;CAC7C;AAED;;uBAEuB;AACvB,wBAAgB,cAAc,CAAC,CAAC,SAAS,kBAAkB,EAAE,EAC3D,KAAK,EACL,UAAU,EACV,SAAS,EACT,KAAK,EACL,kBAAkB,GACnB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAsFxB"}
|
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type PropertyListPack, type PropertyMetricProps } from './PropertyPanel';
|
|
2
3
|
/** Props for `<PropertyGroup>`. */
|
|
3
|
-
export interface PropertyGroupProps {
|
|
4
|
+
export interface PropertyGroupProps extends PropertyMetricProps {
|
|
4
5
|
/** Title rendered between two rules at the top of the group. */
|
|
5
6
|
title: ReactNode;
|
|
6
7
|
/** When true the group renders nothing — useful for conditional sections. */
|
|
7
8
|
hidden?: boolean;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
10
|
+
* Give the title a twisty that folds the rows away. Implied by any of the
|
|
11
|
+
* three props below, so it is only needed for a group that starts open and
|
|
12
|
+
* keeps its own state.
|
|
13
|
+
*/
|
|
14
|
+
collapsible?: boolean;
|
|
15
|
+
/** Start folded. Read once; the group owns the state from then on. */
|
|
16
|
+
defaultCollapsed?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Folded or not, as the consumer holds it. Given, the group keeps no state
|
|
19
|
+
* of its own and every toggle arrives at `onCollapsedChange` instead — which
|
|
20
|
+
* is what a panel that remembers its sections past a reload needs.
|
|
15
21
|
*/
|
|
16
|
-
|
|
22
|
+
collapsed?: boolean;
|
|
23
|
+
onCollapsedChange?: (next: boolean) => void;
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
className?: string;
|
|
26
|
+
/** How rows pack into the 2-column grid — see `<PropertyList pack>`. */
|
|
27
|
+
pack?: PropertyListPack;
|
|
17
28
|
}
|
|
18
29
|
/**
|
|
19
30
|
* Visually-bordered group inside a PropertyList. Use to scope a set of
|
|
20
31
|
* related rows under a heading (e.g. "Aqua", "Bevel", "Dome" sections
|
|
21
32
|
* inside a fill effect's controls).
|
|
33
|
+
*
|
|
34
|
+
* A collapsible group keeps its rows mounted and hides them, so a control's
|
|
35
|
+
* local state survives being folded away.
|
|
22
36
|
*/
|
|
23
|
-
export declare function PropertyGroup({ title, hidden, children, className, pack, }: PropertyGroupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
|
+
export declare function PropertyGroup({ title, hidden, collapsible, defaultCollapsed, collapsed, onCollapsedChange, children, className, pack, density, align, }: PropertyGroupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
24
38
|
//# sourceMappingURL=PropertyGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Properties/PropertyGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"PropertyGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Properties/PropertyGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAGxD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EAEzB,MAAM,iBAAiB,CAAC;AAEzB,mCAAmC;AACnC,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,gEAAgE;IAChE,KAAK,EAAE,SAAS,CAAC;IACjB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,IAAmB,EACnB,OAAO,EACP,KAAK,GACN,EAAE,kBAAkB,kDA2CpB"}
|
|
@@ -1,17 +1,44 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* How much room a container gives its rows — gaps, padding, and field height,
|
|
4
|
+
* moved together. Set on any container in the family; it reaches every
|
|
5
|
+
* descendant, so an inner group can differ from the panel around it.
|
|
6
|
+
*/
|
|
7
|
+
export type PropertyDensity = 'tight' | 'normal' | 'roomy';
|
|
8
|
+
/** Where an inline row's label and control sit on the row's cross axis. Set on
|
|
9
|
+
* a container to line a whole column of them up. */
|
|
10
|
+
export type PropertyAlign = 'start' | 'center' | 'end' | 'baseline';
|
|
11
|
+
/** Metric props every container in the family takes. Both reach descendants,
|
|
12
|
+
* so the nearest container that states one wins. */
|
|
13
|
+
export interface PropertyMetricProps {
|
|
14
|
+
/** Room the rows get. Unset inherits from an outer container, else `normal`. */
|
|
15
|
+
density?: PropertyDensity;
|
|
16
|
+
/**
|
|
17
|
+
* Cross-axis alignment of an inline row's label and control. `baseline` sits
|
|
18
|
+
* the control on the label's first-line baseline, which is what lines a
|
|
19
|
+
* column of swatches up against labels of different heights. Unset keeps each
|
|
20
|
+
* variant's own alignment — a color row centers its label and swatch and
|
|
21
|
+
* sinks the pair to the row's bottom edge, which keeps a paired alpha track
|
|
22
|
+
* level with its neighbour.
|
|
23
|
+
*/
|
|
24
|
+
align?: PropertyAlign;
|
|
25
|
+
}
|
|
26
|
+
/** Joins a container's base class with its metric classes and the consumer's.
|
|
27
|
+
* Exported for the family's other files, which share the same two props. */
|
|
28
|
+
export declare function propertyMetricClass(base: string, { density, align }: PropertyMetricProps, className?: string): string;
|
|
2
29
|
/** Props for `<PropertyPanel>`. */
|
|
3
|
-
export interface PropertyPanelProps {
|
|
30
|
+
export interface PropertyPanelProps extends PropertyMetricProps {
|
|
4
31
|
title?: ReactNode;
|
|
5
32
|
children: ReactNode;
|
|
6
33
|
className?: string;
|
|
7
34
|
}
|
|
8
35
|
/** A titled panel holding property rows — the sidebar container the rest of
|
|
9
36
|
* this module's components fill. */
|
|
10
|
-
export declare function PropertyPanel({ title, children, className }: PropertyPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare function PropertyPanel({ title, children, className, density, align, }: PropertyPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
38
|
/** How a property list packs its rows into two columns. */
|
|
12
|
-
export type PropertyListPack = 'auto-color' | 'pairs';
|
|
39
|
+
export type PropertyListPack = 'auto-color' | 'pairs' | 'one-up';
|
|
13
40
|
/** Props for `<PropertyList>`. */
|
|
14
|
-
export interface PropertyListProps {
|
|
41
|
+
export interface PropertyListProps extends PropertyMetricProps {
|
|
15
42
|
children: ReactNode;
|
|
16
43
|
className?: string;
|
|
17
44
|
/**
|
|
@@ -21,6 +48,8 @@ export interface PropertyListProps {
|
|
|
21
48
|
* - `'pairs'`: every row auto-places into the 2-column grid two-per-row.
|
|
22
49
|
* Headers and subpanels still span the full width; wrap any other
|
|
23
50
|
* full-width child in `<PropertySpan>`. Right for dense effect bodies.
|
|
51
|
+
* - `'one-up'`: every row spans the full width, color rows included. Right
|
|
52
|
+
* for a palette — a column of swatches read as a group.
|
|
24
53
|
*/
|
|
25
54
|
pack?: PropertyListPack;
|
|
26
55
|
}
|
|
@@ -28,7 +57,7 @@ export interface PropertyListProps {
|
|
|
28
57
|
* Grid container for PropertyRows. Use standalone for chrome-less layouts, or
|
|
29
58
|
* nest inside <PropertyPanel/> for the standard glass card.
|
|
30
59
|
*/
|
|
31
|
-
export declare function PropertyList({ children, className, pack }: PropertyListProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export declare function PropertyList({ children, className, pack, density, align, }: PropertyListProps): import("react/jsx-runtime").JSX.Element;
|
|
32
61
|
/** Props for `<PropertySpan>`. */
|
|
33
62
|
export interface PropertySpanProps {
|
|
34
63
|
children: ReactNode;
|
|
@@ -46,7 +75,7 @@ export type PropertyRowVariant = 'default' | 'color' | 'checkbox';
|
|
|
46
75
|
/** Whether a row's label sits above its control or beside it. */
|
|
47
76
|
export type PropertyRowLayout = 'block' | 'inline';
|
|
48
77
|
/** Props for `<PropertyRow>`. */
|
|
49
|
-
export interface PropertyRowProps {
|
|
78
|
+
export interface PropertyRowProps extends PropertyMetricProps {
|
|
50
79
|
label: ReactNode;
|
|
51
80
|
/** Right-aligned readout shown next to the label (e.g. current value). */
|
|
52
81
|
readout?: ReactNode;
|
|
@@ -57,9 +86,9 @@ export interface PropertyRowProps {
|
|
|
57
86
|
description?: string;
|
|
58
87
|
variant?: PropertyRowVariant;
|
|
59
88
|
/**
|
|
60
|
-
* Label position relative to the control.
|
|
61
|
-
* label above control
|
|
62
|
-
*
|
|
89
|
+
* Label position relative to the control. Unset takes the variant's own
|
|
90
|
+
* orientation: `block` — label above control — for the default variant, and
|
|
91
|
+
* `inline` for the color and checkbox variants, which read as a row.
|
|
63
92
|
*/
|
|
64
93
|
layout?: PropertyRowLayout;
|
|
65
94
|
/**
|
|
@@ -74,15 +103,26 @@ export interface PropertyRowProps {
|
|
|
74
103
|
}
|
|
75
104
|
/** The label-plus-control frame every typed row below is built from. Use it
|
|
76
105
|
* directly for a control this module does not cover. */
|
|
77
|
-
export declare function PropertyRow({ label, readout, description, variant, layout, span, children, htmlFor, className, }: PropertyRowProps): import("react/jsx-runtime").JSX.Element;
|
|
106
|
+
export declare function PropertyRow({ label, readout, description, variant, layout, span, children, htmlFor, className, density, align, }: PropertyRowProps): import("react/jsx-runtime").JSX.Element;
|
|
78
107
|
/** Props for `<SliderRow>`. */
|
|
79
|
-
export interface SliderRowProps {
|
|
108
|
+
export interface SliderRowProps extends PropertyMetricProps {
|
|
80
109
|
label: ReactNode;
|
|
81
110
|
value: number;
|
|
82
111
|
min: number;
|
|
83
112
|
max: number;
|
|
84
113
|
step?: number;
|
|
114
|
+
/**
|
|
115
|
+
* The committed value. Given `onInput` as well, it fires once a drag ends
|
|
116
|
+
* or a typed readout is accepted; on its own it fires on every move, which
|
|
117
|
+
* is what a row with one callback has always done.
|
|
118
|
+
*/
|
|
85
119
|
onChange: (next: number) => void;
|
|
120
|
+
/**
|
|
121
|
+
* The live value, fired continuously through a drag. Pass it alongside
|
|
122
|
+
* `onChange` when the write is expensive — cheap state here, the costly
|
|
123
|
+
* work there. Mirrors `<Slider>`'s `onInput` / `onChange` pair.
|
|
124
|
+
*/
|
|
125
|
+
onInput?: (next: number) => void;
|
|
86
126
|
/** Override how the value is rendered next to the label. Defaults to `value.toString()`. */
|
|
87
127
|
format?: (value: number) => ReactNode;
|
|
88
128
|
/**
|
|
@@ -98,9 +138,9 @@ export interface SliderRowProps {
|
|
|
98
138
|
}
|
|
99
139
|
/** A bounded number edited by dragging, with a live readout whose precision
|
|
100
140
|
* follows `step`. */
|
|
101
|
-
export declare function SliderRow({ label, value, min, max, step, onChange, format, unit, layout, description, span, }: SliderRowProps): import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
export declare function SliderRow({ label, value, min, max, step, onChange, onInput, format, unit, layout, description, span, density, align, }: SliderRowProps): import("react/jsx-runtime").JSX.Element;
|
|
102
142
|
/** Props for `<ColorRow>`. */
|
|
103
|
-
export interface ColorRowProps {
|
|
143
|
+
export interface ColorRowProps extends PropertyMetricProps {
|
|
104
144
|
label: ReactNode;
|
|
105
145
|
value: string;
|
|
106
146
|
onChange: (next: string) => void;
|
|
@@ -112,25 +152,29 @@ export interface ColorRowProps {
|
|
|
112
152
|
* Use when the color's consumer drops alpha so the affordance reads dead.
|
|
113
153
|
*/
|
|
114
154
|
alphaDisabled?: boolean;
|
|
155
|
+
/** Label beside the swatch (default) or above it. */
|
|
156
|
+
layout?: PropertyRowLayout;
|
|
115
157
|
description?: string;
|
|
116
158
|
/** Take the full width of the enclosing grid — see `<PropertyRow span>`. */
|
|
117
159
|
span?: boolean;
|
|
118
160
|
}
|
|
119
161
|
/** A color swatch, optionally with an alpha slider beneath it. */
|
|
120
|
-
export declare function ColorRow({ label, value, onChange, alpha, onAlphaChange, alphaDisabled, description, span, }: ColorRowProps): import("react/jsx-runtime").JSX.Element;
|
|
162
|
+
export declare function ColorRow({ label, value, onChange, alpha, onAlphaChange, alphaDisabled, layout, description, span, density, align, }: ColorRowProps): import("react/jsx-runtime").JSX.Element;
|
|
121
163
|
/** Props for `<CheckboxRow>`. */
|
|
122
|
-
export interface CheckboxRowProps {
|
|
164
|
+
export interface CheckboxRowProps extends PropertyMetricProps {
|
|
123
165
|
label: ReactNode;
|
|
124
166
|
value: boolean;
|
|
125
167
|
onChange: (next: boolean) => void;
|
|
168
|
+
/** Label beside the box (default) or above it. */
|
|
169
|
+
layout?: PropertyRowLayout;
|
|
126
170
|
description?: string;
|
|
127
171
|
/** Take the full width of the enclosing grid — see `<PropertyRow span>`. */
|
|
128
172
|
span?: boolean;
|
|
129
173
|
}
|
|
130
174
|
/** A boolean checkbox. */
|
|
131
|
-
export declare function CheckboxRow({ label, value, onChange, span, description }: CheckboxRowProps): import("react/jsx-runtime").JSX.Element;
|
|
175
|
+
export declare function CheckboxRow({ label, value, onChange, layout, span, description, density, align, }: CheckboxRowProps): import("react/jsx-runtime").JSX.Element;
|
|
132
176
|
/** Props for `<TextRow>`. */
|
|
133
|
-
export interface TextRowProps {
|
|
177
|
+
export interface TextRowProps extends PropertyMetricProps {
|
|
134
178
|
label: ReactNode;
|
|
135
179
|
value: string;
|
|
136
180
|
onChange: (next: string) => void;
|
|
@@ -142,9 +186,9 @@ export interface TextRowProps {
|
|
|
142
186
|
span?: boolean;
|
|
143
187
|
}
|
|
144
188
|
/** A single-line text input. */
|
|
145
|
-
export declare function TextRow({ label, value, onChange, placeholder, maxLength, layout, description, span, }: TextRowProps): import("react/jsx-runtime").JSX.Element;
|
|
189
|
+
export declare function TextRow({ label, value, onChange, placeholder, maxLength, layout, description, span, density, align, }: TextRowProps): import("react/jsx-runtime").JSX.Element;
|
|
146
190
|
/** Props for `<NumberRow>`. */
|
|
147
|
-
export interface NumberRowProps {
|
|
191
|
+
export interface NumberRowProps extends PropertyMetricProps {
|
|
148
192
|
label: ReactNode;
|
|
149
193
|
value: number;
|
|
150
194
|
onChange: (next: number) => void;
|
|
@@ -165,13 +209,13 @@ export interface NumberRowProps {
|
|
|
165
209
|
}
|
|
166
210
|
/** A number typed directly. Reach for `<SliderRow>` when the range matters
|
|
167
211
|
* more than the exact value. */
|
|
168
|
-
export declare function NumberRow({ label, value, onChange, min, max, step, placeholder, unit, layout, description, span, }: NumberRowProps): import("react/jsx-runtime").JSX.Element;
|
|
212
|
+
export declare function NumberRow({ label, value, onChange, min, max, step, placeholder, unit, layout, description, span, density, align, }: NumberRowProps): import("react/jsx-runtime").JSX.Element;
|
|
169
213
|
export interface PropertyOption<T extends string> {
|
|
170
214
|
value: T;
|
|
171
215
|
label: ReactNode;
|
|
172
216
|
}
|
|
173
217
|
/** Props for `<SelectRow>`. */
|
|
174
|
-
export interface SelectRowProps<T extends string> {
|
|
218
|
+
export interface SelectRowProps<T extends string> extends PropertyMetricProps {
|
|
175
219
|
label: ReactNode;
|
|
176
220
|
value: T;
|
|
177
221
|
options: ReadonlyArray<PropertyOption<T>>;
|
|
@@ -183,9 +227,9 @@ export interface SelectRowProps<T extends string> {
|
|
|
183
227
|
}
|
|
184
228
|
/** A dropdown over a fixed set of choices. Prefer `<ToggleRow>` when there
|
|
185
229
|
* are only two or three and they should all stay visible. */
|
|
186
|
-
export declare function SelectRow<T extends string>({ label, value, options, onChange, layout, description, span, }: SelectRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
230
|
+
export declare function SelectRow<T extends string>({ label, value, options, onChange, layout, description, span, density, align, }: SelectRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
187
231
|
/** Props for `<ToggleRow>`. */
|
|
188
|
-
export interface ToggleRowProps<T extends string> {
|
|
232
|
+
export interface ToggleRowProps<T extends string> extends PropertyMetricProps {
|
|
189
233
|
label: ReactNode;
|
|
190
234
|
value: T;
|
|
191
235
|
options: ReadonlyArray<PropertyOption<T>>;
|
|
@@ -197,5 +241,5 @@ export interface ToggleRowProps<T extends string> {
|
|
|
197
241
|
}
|
|
198
242
|
/** A segmented control: the same choice as a select, with every option
|
|
199
243
|
* visible at once. */
|
|
200
|
-
export declare function ToggleRow<T extends string>({ label, value, options, onChange, layout, description, span, }: ToggleRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
244
|
+
export declare function ToggleRow<T extends string>({ label, value, options, onChange, layout, description, span, density, align, }: ToggleRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
201
245
|
//# sourceMappingURL=PropertyPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Properties/PropertyPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Properties/PropertyPanel.tsx"],"names":[],"mappings":"AAAA,OAAO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WAAW,EACX,IAAI,EACJ,OAAO,EACP,KAAK,GACN,EAAE,cAAc,CAAC,CAAC,CAAC,2CA2BnB;AAED,+BAA+B;AAC/B,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,mBAAmB;IAC3E,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;uBACuB;AACvB,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,EAC1C,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,WAAW,EACX,IAAI,EACJ,OAAO,EACP,KAAK,GACN,EAAE,cAAc,CAAC,CAAC,CAAC,2CA8BnB"}
|
|
@@ -4,6 +4,6 @@ export type { EffectCardListItem, EffectCardListProps, EffectCardProps, Subpanel
|
|
|
4
4
|
export { EffectCard, EffectCardList, Subpanel } from './EffectCard';
|
|
5
5
|
export type { PropertyGroupProps } from './PropertyGroup';
|
|
6
6
|
export { PropertyGroup } from './PropertyGroup';
|
|
7
|
-
export type { CheckboxRowProps, ColorRowProps, NumberRowProps, PropertyListPack, PropertyListProps, PropertyOption, PropertyPanelProps, PropertyRowLayout, PropertyRowProps, PropertyRowVariant, PropertySpanProps, SelectRowProps, SliderRowProps, TextRowProps, ToggleRowProps, } from './PropertyPanel';
|
|
7
|
+
export type { CheckboxRowProps, ColorRowProps, NumberRowProps, PropertyAlign, PropertyDensity, PropertyListPack, PropertyListProps, PropertyMetricProps, PropertyOption, PropertyPanelProps, PropertyRowLayout, PropertyRowProps, PropertyRowVariant, PropertySpanProps, SelectRowProps, SliderRowProps, TextRowProps, ToggleRowProps, } from './PropertyPanel';
|
|
8
8
|
export { CheckboxRow, ColorRow, NumberRow, PropertyList, PropertyPanel, PropertyRow, PropertySpan, SelectRow, SliderRow, TextRow, ToggleRow, } from './PropertyPanel';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|