@weasel-js/ui 1.6.1 → 1.7.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/dist/chunks/Badge-CTc9Lkwn.js +14 -0
- package/dist/chunks/Badge-CTc9Lkwn.js.map +1 -0
- package/dist/chunks/{Badge-CyAIZSDo.js → Badge-D2aD7xVL.js} +277 -228
- package/dist/chunks/Badge-D2aD7xVL.js.map +1 -0
- package/dist/chunks/BandEditor-Dd0egAgE.js +292 -0
- package/dist/chunks/BandEditor-Dd0egAgE.js.map +1 -0
- package/dist/chunks/{ButtonBar-D5Vi0aj_.js → ButtonBar-DIQTe5GQ.js} +2 -2
- package/dist/chunks/{ButtonBar-D5Vi0aj_.js.map → ButtonBar-DIQTe5GQ.js.map} +1 -1
- package/dist/chunks/Callout-ndW5_Bqx.js +116 -0
- package/dist/chunks/Callout-ndW5_Bqx.js.map +1 -0
- package/dist/chunks/CloseButton-C2J7wVfo.js +26 -0
- package/dist/chunks/CloseButton-C2J7wVfo.js.map +1 -0
- package/dist/chunks/ColorField-Yz_BkcCT.js +69 -0
- package/dist/chunks/ColorField-Yz_BkcCT.js.map +1 -0
- package/dist/chunks/{ColorModeControl-ke5PXbBa.js → ColorModeControl-BewxA0rX.js} +3 -3
- package/dist/chunks/{ColorModeControl-ke5PXbBa.js.map → ColorModeControl-BewxA0rX.js.map} +1 -1
- package/dist/chunks/{ComboBox-DpT8lc3p.js → ComboBox-B34H76CW.js} +12 -12
- package/dist/chunks/ComboBox-B34H76CW.js.map +1 -0
- package/dist/chunks/{CurveEditor-BDJXjEvK.js → CurveEditor-DUVjd25R.js} +2 -2
- package/dist/chunks/{CurveEditor-BDJXjEvK.js.map → CurveEditor-DUVjd25R.js.map} +1 -1
- package/dist/chunks/{DataGrid-D-dZj1BD.js → DataGrid-LZ2JgY2Y.js} +17 -17
- package/dist/chunks/DataGrid-LZ2JgY2Y.js.map +1 -0
- package/dist/chunks/DetailList-BKomDzg5.js +52 -0
- package/dist/chunks/DetailList-BKomDzg5.js.map +1 -0
- package/dist/chunks/{DetentSlider-CL8TlX3S.js → DetentSlider-5uQPFucv.js} +2 -2
- package/dist/chunks/{DetentSlider-CL8TlX3S.js.map → DetentSlider-5uQPFucv.js.map} +1 -1
- package/dist/chunks/Dialog-DGFutQ--.js +63 -0
- package/dist/chunks/Dialog-DGFutQ--.js.map +1 -0
- package/dist/chunks/{Disclosure-0G0uh2fa.js → Disclosure-Ch2KxYuB.js} +7 -7
- package/dist/chunks/Disclosure-Ch2KxYuB.js.map +1 -0
- package/dist/chunks/{DragHandleGlyph-Dr7Fgo0I.js → DragGrip-AoIZXfZb.js} +2 -2
- package/dist/chunks/DragGrip-AoIZXfZb.js.map +1 -0
- package/dist/chunks/FallthroughDiagram-BEHiM5IS.js +284 -0
- package/dist/chunks/FallthroughDiagram-BEHiM5IS.js.map +1 -0
- package/dist/chunks/{FontFamilySelect-DXlMKWfK.js → FontFamilySelect-DkRgNtag.js} +2 -2
- package/dist/chunks/{FontFamilySelect-DXlMKWfK.js.map → FontFamilySelect-DkRgNtag.js.map} +1 -1
- package/dist/chunks/GestureRoute-C_YGl7bJ.js +82 -0
- package/dist/chunks/GestureRoute-C_YGl7bJ.js.map +1 -0
- package/dist/chunks/GradientEditor-b7v4Ph3i.js +363 -0
- package/dist/chunks/GradientEditor-b7v4Ph3i.js.map +1 -0
- package/dist/chunks/{Icon-Cgzy8VgC.js → Icon-CcVjdq2C.js} +31 -1
- package/dist/chunks/Icon-CcVjdq2C.js.map +1 -0
- package/dist/chunks/{InlineRange-eOj6JpJl.js → InlineRange-P01ABSzo.js} +3 -3
- package/dist/chunks/InlineRange-P01ABSzo.js.map +1 -0
- package/dist/chunks/{Jog-DESxZ44P.js → Jog-DRmfrkCg.js} +3 -3
- package/dist/chunks/{Jog-DESxZ44P.js.map → Jog-DRmfrkCg.js.map} +1 -1
- package/dist/chunks/{Keycaps-C0H_v2gO.js → Keycaps-C-FJyG8k.js} +14 -14
- package/dist/chunks/Keycaps-C-FJyG8k.js.map +1 -0
- package/dist/chunks/{LayerList-nz-QYvTF.js → LayerList-wCI1EueM.js} +148 -152
- package/dist/chunks/LayerList-wCI1EueM.js.map +1 -0
- package/dist/chunks/ListEditor-BeA60TAA.js +71 -0
- package/dist/chunks/ListEditor-BeA60TAA.js.map +1 -0
- package/dist/chunks/{MenuButton-DtaGenKf.js → MenuButton-BSqEChJE.js} +7 -7
- package/dist/chunks/MenuButton-BSqEChJE.js.map +1 -0
- package/dist/chunks/{MeshEditor-qqGc6hlD.js → MeshEditor-D1HLZcAh.js} +3 -3
- package/dist/chunks/{MeshEditor-qqGc6hlD.js.map → MeshEditor-D1HLZcAh.js.map} +1 -1
- package/dist/chunks/NumberField-BnJxcazc.js +206 -0
- package/dist/chunks/NumberField-BnJxcazc.js.map +1 -0
- package/dist/chunks/{OptionsBar-DbzAgIln.js → OptionsBar-ujxYidhj.js} +2 -2
- package/dist/chunks/{OptionsBar-DbzAgIln.js.map → OptionsBar-ujxYidhj.js.map} +1 -1
- package/dist/chunks/{PaintField-DaJukRc6.js → PaintField-DadOELMg.js} +2 -2
- package/dist/chunks/{PaintField-DaJukRc6.js.map → PaintField-DadOELMg.js.map} +1 -1
- package/dist/chunks/PaintInput-v8Y7MDbH.js +121 -0
- package/dist/chunks/PaintInput-v8Y7MDbH.js.map +1 -0
- package/dist/chunks/{PatternPicker-B-cUt-JT.js → PatternPicker-R_EQtw2Q.js} +2 -2
- package/dist/chunks/{PatternPicker-B-cUt-JT.js.map → PatternPicker-R_EQtw2Q.js.map} +1 -1
- package/dist/chunks/{PointPlotter-Bxo6haKe.js → PointPlotter-ldI4RrU1.js} +2 -2
- package/dist/chunks/{PointPlotter-Bxo6haKe.js.map → PointPlotter-ldI4RrU1.js.map} +1 -1
- package/dist/chunks/{Powerline-ExO5GwEr.js → Powerline-DNyH885r.js} +2 -2
- package/dist/chunks/{Powerline-ExO5GwEr.js.map → Powerline-DNyH885r.js.map} +1 -1
- package/dist/chunks/{Prefs-DpqFKiwY.js → Prefs-ByA-x51i.js} +46 -34
- package/dist/chunks/Prefs-ByA-x51i.js.map +1 -0
- package/dist/chunks/{Properties-D_KzDN9K.js → Properties-DmAeQ3mk.js} +35 -29
- package/dist/chunks/Properties-DmAeQ3mk.js.map +1 -0
- package/dist/chunks/PropertyField-DfIJJ5GS.js +673 -0
- package/dist/chunks/PropertyField-DfIJJ5GS.js.map +1 -0
- package/dist/chunks/{RangeSlider-BKRRTPTZ.js → RangeSlider-SEGE-7VF.js} +8 -8
- package/dist/chunks/RangeSlider-SEGE-7VF.js.map +1 -0
- package/dist/chunks/{ResizeHandle-BKT0XYpx.js → ResizeHandle-rKVWyeTG.js} +3 -3
- package/dist/chunks/ResizeHandle-rKVWyeTG.js.map +1 -0
- package/dist/chunks/Select-ClmKtyWg.js +229 -0
- package/dist/chunks/Select-ClmKtyWg.js.map +1 -0
- package/dist/chunks/SelectionPanel-BaQnX4Bs.js +106 -0
- package/dist/chunks/SelectionPanel-BaQnX4Bs.js.map +1 -0
- package/dist/chunks/SidebarPanel-BblDEz4G.js +53 -0
- package/dist/chunks/SidebarPanel-BblDEz4G.js.map +1 -0
- package/dist/chunks/Slider-YofwGOI4.js +389 -0
- package/dist/chunks/Slider-YofwGOI4.js.map +1 -0
- package/dist/chunks/{StatusBar-DzoPDY4k.js → StatusBar-Ca9Dvhhq.js} +6 -6
- package/dist/chunks/StatusBar-Ca9Dvhhq.js.map +1 -0
- package/dist/chunks/{SwatchGrid-BARC3rnF.js → SwatchGrid-BYvA8Bmh.js} +3 -3
- package/dist/chunks/SwatchGrid-BYvA8Bmh.js.map +1 -0
- package/dist/chunks/ThemeSwitcher-BlsInAmR.js +38 -0
- package/dist/chunks/ThemeSwitcher-BlsInAmR.js.map +1 -0
- package/dist/chunks/{Timeline--58F7MED.js → Timeline-B39cwfMB.js} +207 -203
- package/dist/chunks/Timeline-B39cwfMB.js.map +1 -0
- package/dist/chunks/{Toast-DNBb-24H.js → Toast-BF9GE0HC.js} +25 -27
- package/dist/chunks/Toast-BF9GE0HC.js.map +1 -0
- package/dist/chunks/{ToggleBar-DTjGeS0Q.js → ToggleBar-BTYkBXU9.js} +8 -8
- package/dist/chunks/ToggleBar-BTYkBXU9.js.map +1 -0
- package/dist/chunks/{TokenPanel-CMq7uydV.js → TokenPanel-CMDAOfYH.js} +5 -5
- package/dist/chunks/{TokenPanel-CMq7uydV.js.map → TokenPanel-CMDAOfYH.js.map} +1 -1
- package/dist/chunks/{ToolButton-CR4sQlxF.js → ToolButton-CAHBa08P.js} +6 -6
- package/dist/chunks/ToolButton-CAHBa08P.js.map +1 -0
- package/dist/chunks/{ToolOptionsBar-CtzTlaN2.js → ToolOptionsBar-D_GCrBAN.js} +8 -7
- package/dist/chunks/ToolOptionsBar-D_GCrBAN.js.map +1 -0
- package/dist/chunks/{ToolPalette-CKG9qY6P.js → ToolPalette-OOWN51Xx.js} +3 -3
- package/dist/chunks/ToolPalette-OOWN51Xx.js.map +1 -0
- package/dist/chunks/{Tree-DVOtc9R5.js → Tree-Cc8lIzgM.js} +2 -2
- package/dist/chunks/{Tree-DVOtc9R5.js.map → Tree-Cc8lIzgM.js.map} +1 -1
- package/dist/chunks/{createKeyframeLayer-Czj6Y235.js → createKeyframeLayer-DVl321_l.js} +15 -16
- package/dist/chunks/createKeyframeLayer-DVl321_l.js.map +1 -0
- package/dist/chunks/{icons-Dk8SRS8g.js → icons-BhcR1l64.js} +2 -2
- package/dist/chunks/icons-BhcR1l64.js.map +1 -0
- package/dist/chunks/{model-Du7Lta4C.js → model-BaF65rnX.js} +95 -90
- package/dist/chunks/model-BaF65rnX.js.map +1 -0
- package/dist/chunks/{prefField-Dnl7nmjQ.js → prefField-BopW9bjx.js} +17 -13
- package/dist/chunks/prefField-BopW9bjx.js.map +1 -0
- package/dist/chunks/segmentedControl.module-D6SzYJD7.js +11 -0
- package/dist/chunks/segmentedControl.module-D6SzYJD7.js.map +1 -0
- package/dist/chunks/{useReorderDragList-B_-5L5Gu.js → useReorderDragList-FCMoFIzH.js} +2 -2
- package/dist/chunks/useReorderDragList-FCMoFIzH.js.map +1 -0
- package/dist/components/Badge/bases/Powerline.d.ts.map +1 -1
- package/dist/components/Badge/bases/edgeProfiles.d.ts +31 -4
- package/dist/components/Badge/bases/edgeProfiles.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Badge/statusIcons.d.ts +5 -0
- package/dist/components/Badge/statusIcons.d.ts.map +1 -0
- package/dist/components/BandEditor/BandEditor.d.ts +16 -7
- package/dist/components/BandEditor/BandEditor.d.ts.map +1 -1
- package/dist/components/BandEditor/bands.d.ts +5 -2
- package/dist/components/BandEditor/bands.d.ts.map +1 -1
- package/dist/components/BandEditor/index.js +1 -1
- package/dist/components/ButtonBar/index.js +1 -1
- package/dist/components/Callout/Callout.d.ts +2 -2
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/Callout/index.js +1 -1
- package/dist/components/CloseButton/CloseButton.d.ts +21 -0
- package/dist/components/CloseButton/CloseButton.d.ts.map +1 -0
- package/dist/components/CloseButton/index.d.ts +3 -0
- package/dist/components/CloseButton/index.d.ts.map +1 -0
- package/dist/components/CloseButton/index.js +2 -0
- package/dist/components/ColorField/ColorField.d.ts +5 -1
- package/dist/components/ColorField/ColorField.d.ts.map +1 -1
- package/dist/components/ColorField/index.js +1 -1
- package/dist/components/ColorModeControl/index.js +1 -1
- package/dist/components/ComboBox/index.js +1 -1
- package/dist/components/CurveEditor/index.js +2 -2
- package/dist/components/DataGrid/index.js +1 -1
- package/dist/components/DetailList/DetailList.d.ts +31 -5
- package/dist/components/DetailList/DetailList.d.ts.map +1 -1
- package/dist/components/DetailList/index.d.ts +1 -1
- package/dist/components/DetailList/index.d.ts.map +1 -1
- package/dist/components/DetailList/index.js +1 -1
- package/dist/components/DetentSlider/index.js +1 -1
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Disclosure/Disclosure.d.ts +1 -1
- package/dist/components/Disclosure/index.js +1 -1
- package/dist/components/{DragHandleGlyph/DragHandleGlyph.d.ts → DragGrip/DragGrip.d.ts} +4 -4
- package/dist/components/DragGrip/DragGrip.d.ts.map +1 -0
- package/dist/components/DragGrip/index.d.ts +3 -0
- package/dist/components/DragGrip/index.d.ts.map +1 -0
- package/dist/components/DragGrip/index.js +2 -0
- package/dist/components/FallthroughDiagram/FallthroughDiagram.d.ts +14 -0
- package/dist/components/FallthroughDiagram/FallthroughDiagram.d.ts.map +1 -0
- package/dist/components/FallthroughDiagram/fixtures.d.ts +17 -0
- package/dist/components/FallthroughDiagram/fixtures.d.ts.map +1 -0
- package/dist/components/FallthroughDiagram/index.d.ts +3 -0
- package/dist/components/FallthroughDiagram/index.d.ts.map +1 -0
- package/dist/components/FallthroughDiagram/index.js +2 -0
- package/dist/components/FontFamilySelect/index.js +1 -1
- package/dist/components/GestureRoute/GestureRoute.d.ts +19 -0
- package/dist/components/GestureRoute/GestureRoute.d.ts.map +1 -0
- package/dist/components/GestureRoute/index.d.ts +3 -0
- package/dist/components/GestureRoute/index.d.ts.map +1 -0
- package/dist/components/GestureRoute/index.js +2 -0
- package/dist/components/GradientEditor/GradientEditor.d.ts +22 -8
- package/dist/components/GradientEditor/GradientEditor.d.ts.map +1 -1
- package/dist/components/GradientEditor/index.js +1 -1
- package/dist/components/InlineRange/index.js +1 -1
- package/dist/components/Jog/index.js +1 -1
- package/dist/components/Keycaps/Keycaps.d.ts +11 -5
- package/dist/components/Keycaps/Keycaps.d.ts.map +1 -1
- package/dist/components/Keycaps/index.d.ts +1 -1
- package/dist/components/Keycaps/index.d.ts.map +1 -1
- package/dist/components/Keycaps/index.js +1 -1
- package/dist/components/LayerList/LayerList.d.ts +1 -1
- package/dist/components/LayerList/LayerList.d.ts.map +1 -1
- package/dist/components/LayerList/index.js +1 -1
- package/dist/components/ListEditor/ListEditor.d.ts.map +1 -1
- package/dist/components/ListEditor/index.js +1 -1
- package/dist/components/MenuButton/index.js +1 -1
- package/dist/components/MeshEditor/index.js +1 -1
- package/dist/components/NumberField/UnitField.d.ts +20 -7
- package/dist/components/NumberField/UnitField.d.ts.map +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/OptionsBar/index.js +1 -1
- package/dist/components/PaintField/index.js +1 -1
- package/dist/components/PaintInput/PaintInput.d.ts.map +1 -1
- package/dist/components/PaintInput/index.js +1 -1
- package/dist/components/PatternPicker/index.js +1 -1
- package/dist/components/PointPlotter/index.js +1 -1
- package/dist/components/Powerline/index.d.ts +1 -1
- package/dist/components/Powerline/index.d.ts.map +1 -1
- package/dist/components/Powerline/index.js +2 -2
- package/dist/components/Prefs/PrefsRow.d.ts.map +1 -1
- package/dist/components/Prefs/index.d.ts +1 -1
- package/dist/components/Prefs/index.d.ts.map +1 -1
- package/dist/components/Prefs/index.js +2 -2
- package/dist/components/Prefs/prefField.d.ts.map +1 -1
- package/dist/components/Prefs/schema.d.ts +2 -2
- package/dist/components/Prefs/schema.d.ts.map +1 -1
- package/dist/components/Properties/PropertyField.d.ts +22 -30
- package/dist/components/Properties/PropertyField.d.ts.map +1 -1
- package/dist/components/Properties/PropertyGroup.d.ts.map +1 -1
- package/dist/components/Properties/PropertyPanel.d.ts +1 -8
- 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/RangeSlider/index.js +1 -1
- package/dist/components/ResizeHandle/index.js +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SelectionPanel/SelectionPanel.d.ts.map +1 -1
- package/dist/components/SelectionPanel/index.js +2 -2
- package/dist/components/SelectionPanel/renderLeaf.d.ts +7 -0
- package/dist/components/SelectionPanel/renderLeaf.d.ts.map +1 -1
- package/dist/components/SidebarPanel/SidebarPanel.d.ts +1 -1
- package/dist/components/SidebarPanel/SidebarPanel.d.ts.map +1 -1
- package/dist/components/SidebarPanel/index.js +1 -1
- package/dist/components/Slider/Slider.d.ts +19 -2
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/StatusBar/index.js +1 -1
- package/dist/components/SwatchGrid/index.js +1 -1
- package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +38 -0
- package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts.map +1 -0
- package/dist/components/ThemeSwitcher/index.d.ts +3 -0
- package/dist/components/ThemeSwitcher/index.d.ts.map +1 -0
- package/dist/components/ThemeSwitcher/index.js +2 -0
- package/dist/components/Timeline/Transport.d.ts.map +1 -1
- package/dist/components/Timeline/index.js +1 -1
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/ToggleBar/index.js +1 -1
- package/dist/components/TokenPanel/index.js +1 -1
- package/dist/components/ToolButton/index.js +1 -1
- package/dist/components/ToolOptionsBar/index.js +1 -1
- package/dist/components/ToolPalette/ToolPalette.d.ts +2 -1
- package/dist/components/ToolPalette/ToolPalette.d.ts.map +1 -1
- package/dist/components/ToolPalette/index.js +1 -1
- package/dist/components/Tree/index.js +1 -1
- package/dist/components/spin.d.ts +16 -0
- package/dist/components/spin.d.ts.map +1 -0
- package/dist/components/stanceSurfaces.d.ts.map +1 -1
- package/dist/icons/index.d.ts +0 -2
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/paths.d.ts +10 -0
- package/dist/icons/paths.d.ts.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83 -99
- package/dist/index.js.map +1 -1
- package/dist/paintGradientTrack.d.ts +5 -2
- package/dist/paintGradientTrack.d.ts.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 +9 -8
- package/dist/chunks/Badge-CyAIZSDo.js.map +0 -1
- package/dist/chunks/BandEditor-Dhm_Xrlr.js +0 -248
- package/dist/chunks/BandEditor-Dhm_Xrlr.js.map +0 -1
- package/dist/chunks/Callout-yEn9iPlh.js +0 -119
- package/dist/chunks/Callout-yEn9iPlh.js.map +0 -1
- package/dist/chunks/ColorField-BcMcW8Sa.js +0 -60
- package/dist/chunks/ColorField-BcMcW8Sa.js.map +0 -1
- package/dist/chunks/ComboBox-DpT8lc3p.js.map +0 -1
- package/dist/chunks/DataGrid-D-dZj1BD.js.map +0 -1
- package/dist/chunks/DetailList-BMER1LUZ.js +0 -43
- package/dist/chunks/DetailList-BMER1LUZ.js.map +0 -1
- package/dist/chunks/Dialog-BWyNMgpf.js +0 -66
- package/dist/chunks/Dialog-BWyNMgpf.js.map +0 -1
- package/dist/chunks/Disclosure-0G0uh2fa.js.map +0 -1
- package/dist/chunks/DragHandleGlyph-Dr7Fgo0I.js.map +0 -1
- package/dist/chunks/GradientEditor-B3a-MsVJ.js +0 -335
- package/dist/chunks/GradientEditor-B3a-MsVJ.js.map +0 -1
- package/dist/chunks/Icon-Cgzy8VgC.js.map +0 -1
- package/dist/chunks/InlineRange-eOj6JpJl.js.map +0 -1
- package/dist/chunks/Keycaps-C0H_v2gO.js.map +0 -1
- package/dist/chunks/LayerList-nz-QYvTF.js.map +0 -1
- package/dist/chunks/ListEditor-BQ6AV3Ac.js +0 -74
- package/dist/chunks/ListEditor-BQ6AV3Ac.js.map +0 -1
- package/dist/chunks/MenuButton-DtaGenKf.js.map +0 -1
- package/dist/chunks/NumberField-CwJOMmQR.js +0 -117
- package/dist/chunks/NumberField-CwJOMmQR.js.map +0 -1
- package/dist/chunks/PaintInput-Byhna3H-.js +0 -131
- package/dist/chunks/PaintInput-Byhna3H-.js.map +0 -1
- package/dist/chunks/Prefs-DpqFKiwY.js.map +0 -1
- package/dist/chunks/Properties-D_KzDN9K.js.map +0 -1
- package/dist/chunks/PropertyField-DGCecAnV.js +0 -758
- package/dist/chunks/PropertyField-DGCecAnV.js.map +0 -1
- package/dist/chunks/RangeSlider-BKRRTPTZ.js.map +0 -1
- package/dist/chunks/ResizeHandle-BKT0XYpx.js.map +0 -1
- package/dist/chunks/Select-CzyfaXzp.js +0 -225
- package/dist/chunks/Select-CzyfaXzp.js.map +0 -1
- package/dist/chunks/SelectionPanel-BgUM1h03.js +0 -103
- package/dist/chunks/SelectionPanel-BgUM1h03.js.map +0 -1
- package/dist/chunks/SidebarPanel-aoIqxbtq.js +0 -55
- package/dist/chunks/SidebarPanel-aoIqxbtq.js.map +0 -1
- package/dist/chunks/Slider-CFwQYQ10.js +0 -383
- package/dist/chunks/Slider-CFwQYQ10.js.map +0 -1
- package/dist/chunks/StatusBar-DzoPDY4k.js.map +0 -1
- package/dist/chunks/SwatchGrid-BARC3rnF.js.map +0 -1
- package/dist/chunks/Timeline--58F7MED.js.map +0 -1
- package/dist/chunks/Toast-DNBb-24H.js.map +0 -1
- package/dist/chunks/ToggleBar-DTjGeS0Q.js.map +0 -1
- package/dist/chunks/ToolButton-CR4sQlxF.js.map +0 -1
- package/dist/chunks/ToolOptionsBar-CtzTlaN2.js.map +0 -1
- package/dist/chunks/ToolPalette-CKG9qY6P.js.map +0 -1
- package/dist/chunks/createKeyframeLayer-Czj6Y235.js.map +0 -1
- package/dist/chunks/icons-Dk8SRS8g.js.map +0 -1
- package/dist/chunks/model-Du7Lta4C.js.map +0 -1
- package/dist/chunks/number-D3NEx_8r.js +0 -89
- package/dist/chunks/number-D3NEx_8r.js.map +0 -1
- package/dist/chunks/prefField-Dnl7nmjQ.js.map +0 -1
- package/dist/chunks/segmentedControl.module-Bv7DEg8f.js +0 -11
- package/dist/chunks/segmentedControl.module-Bv7DEg8f.js.map +0 -1
- package/dist/chunks/useReorderDragList-B_-5L5Gu.js.map +0 -1
- package/dist/components/DragHandleGlyph/DragHandleGlyph.d.ts.map +0 -1
- package/dist/components/DragHandleGlyph/index.d.ts +0 -3
- package/dist/components/DragHandleGlyph/index.d.ts.map +0 -1
- package/dist/components/DragHandleGlyph/index.js +0 -2
- package/dist/format/number.d.ts +0 -56
- package/dist/format/number.d.ts.map +0 -1
- package/dist/icons/ShapeKindIcon.d.ts +0 -10
- package/dist/icons/ShapeKindIcon.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/ComboBox-
|
|
1
|
+
import { n as e, t } from "../../chunks/ComboBox-B34H76CW.js";
|
|
2
2
|
export { t as ComboBox, e as ComboBoxItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../../chunks/CurveEditor-
|
|
2
|
-
import { i as a, n as o, r as s, t as c } from "../../chunks/createKeyframeLayer-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../../chunks/CurveEditor-DUVjd25R.js";
|
|
2
|
+
import { i as a, n as o, r as s, t as c } from "../../chunks/createKeyframeLayer-DVl321_l.js";
|
|
3
3
|
import { t as l } from "../../chunks/snap-DRjbOiG9.js";
|
|
4
4
|
export { n as CurveEditor, a as LayeredCurveEditor, c as applyKeyframeDrag, r as createFunctionLayer, o as createKeyframeLayer, i as createSetCurveOp, t as functionLayerState, s as keyframeLayerState, e as sampleByInterpolation, l as snapToNearest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/DataGrid-
|
|
1
|
+
import { t as e } from "../../chunks/DataGrid-LZ2JgY2Y.js";
|
|
2
2
|
export { e as DataGrid };
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
/** Whether a row's label sits beside its value or above it. */
|
|
3
3
|
export type DetailListLayout = 'inline' | 'block';
|
|
4
|
+
/**
|
|
5
|
+
* How a list sets its values. `text` starts each value at the column's edge
|
|
6
|
+
* and wraps it; `figures` right-aligns it in a column at least
|
|
7
|
+
* `--wzl-detail-figure-min-width` (default `8ch`) wide, in the mono face,
|
|
8
|
+
* with spaces kept, so figure-space padding lines a column up on its decimal
|
|
9
|
+
* point.
|
|
10
|
+
*/
|
|
11
|
+
export type DetailListValues = 'text' | 'figures';
|
|
12
|
+
/** The state a row's status dot reports, painted from `--wzl-success`,
|
|
13
|
+
* `--wzl-warning` or `--wzl-danger`. */
|
|
14
|
+
export type DetailRowStatus = 'success' | 'warn' | 'danger';
|
|
4
15
|
/** Props for {@link DetailList}. */
|
|
5
16
|
export interface DetailListProps {
|
|
6
17
|
/** {@link DetailRow}s. */
|
|
@@ -12,6 +23,8 @@ export interface DetailListProps {
|
|
|
12
23
|
* each label over its value, for a column too narrow to hold both.
|
|
13
24
|
*/
|
|
14
25
|
layout?: DetailListLayout;
|
|
26
|
+
/** `text` by default. See {@link DetailListValues}. */
|
|
27
|
+
values?: DetailListValues;
|
|
15
28
|
/** Class on the outermost element: the `<dl>`, or the `<section>` holding
|
|
16
29
|
* the heading and the list when there is a `title`. */
|
|
17
30
|
className?: string;
|
|
@@ -20,17 +33,30 @@ export interface DetailListProps {
|
|
|
20
33
|
export interface DetailRowProps {
|
|
21
34
|
label: ReactNode;
|
|
22
35
|
/** The value: text, or any run of elements — code chips, badges, keycaps,
|
|
23
|
-
* links. Several children wrap as a line of items.
|
|
24
|
-
|
|
36
|
+
* links. Several children wrap as a line of items. `null` or `undefined`
|
|
37
|
+
* keeps the row in place showing `placeholder`, so a list whose values
|
|
38
|
+
* come and go holds its height. */
|
|
39
|
+
children?: ReactNode;
|
|
40
|
+
/** Shown while there is no value. An en dash by default. */
|
|
41
|
+
placeholder?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Draws a dot in the status color before the value. The dot is hidden from
|
|
44
|
+
* assistive technology and color is never the only signal, so the value
|
|
45
|
+
* itself has to say the same thing — "locked", not just a green dot.
|
|
46
|
+
*/
|
|
47
|
+
status?: DetailRowStatus;
|
|
48
|
+
/** Sets this row's value as `text` or `figures`, whatever the list's
|
|
49
|
+
* `values` says — a sentence among figures, or one figure among text. */
|
|
50
|
+
values?: DetailListValues;
|
|
25
51
|
className?: string;
|
|
26
52
|
}
|
|
27
53
|
/**
|
|
28
|
-
* A read-only list of
|
|
54
|
+
* A read-only list of labeled values — the `<dl>` a property panel would be
|
|
29
55
|
* if its rows held facts instead of controls. Labels take the params label
|
|
30
56
|
* recipe and rail: `--wzl-params-label-width` sets the rail, so a detail list
|
|
31
57
|
* and a property panel beside it line their labels up from one declaration.
|
|
32
58
|
*/
|
|
33
|
-
export declare function DetailList({ children, title, layout, className }: DetailListProps): import("react").JSX.Element;
|
|
59
|
+
export declare function DetailList({ children, title, layout, values, className }: DetailListProps): import("react").JSX.Element;
|
|
34
60
|
/** One label and its value in a {@link DetailList}. */
|
|
35
|
-
export declare function DetailRow({ label, children, className }: DetailRowProps): import("react").JSX.Element;
|
|
61
|
+
export declare function DetailRow({ label, children, placeholder, status, values, className }: DetailRowProps): import("react").JSX.Element;
|
|
36
62
|
//# sourceMappingURL=DetailList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailList.d.ts","sourceRoot":"","sources":["../../../src/components/DetailList/DetailList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAG9C,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,yDAAyD;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;4DACwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB;
|
|
1
|
+
{"version":3,"file":"DetailList.d.ts","sourceRoot":"","sources":["../../../src/components/DetailList/DetailList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAG9C,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAAC;AAElD;yCACyC;AACzC,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE5D,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,yDAAyD;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,uDAAuD;IACvD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;4DACwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB;;;wCAGoC;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;8EAC0E;IAC1E,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAiB,EAAE,MAAe,EAAE,SAAS,EAAE,EAAE,eAAe,+BAmB7G;AAED,uDAAuD;AACvD,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,cAAc,+BAW1G"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DetailList, DetailRow } from './DetailList';
|
|
2
|
-
export type { DetailListLayout, DetailListProps, DetailRowProps } from './DetailList';
|
|
2
|
+
export type { DetailListLayout, DetailListProps, DetailListValues, DetailRowProps, DetailRowStatus, } from './DetailList';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DetailList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DetailList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,GAChB,MAAM,cAAc,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/DetailList-
|
|
1
|
+
import { n as e, t } from "../../chunks/DetailList-BKomDzg5.js";
|
|
2
2
|
export { t as DetailList, e as DetailRow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/DetentSlider-
|
|
1
|
+
import { t as e } from "../../chunks/DetentSlider-5uQPFucv.js";
|
|
2
2
|
export { e as DetentSlider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,WAAW,IAAI,cAAc,EACnC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoB,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,WAAW,IAAI,cAAc,EACnC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoB,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhH,OAAO,EAAE,KAAK,WAAW,EAAa,MAAM,WAAW,CAAC;AAGxD,6EAA6E;AAC7E,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,mBAAmB,CAAC,iBAAiB,CAAC,EACtC,UAAU,GAAG,WAAW,CACzB,GACC,kBAAkB,GAClB,WAAW,GAAG;IACZ;+CAC2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;oDACgD;IAChD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oBAAoB;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uEAAuE;IACvE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;yEAEqE;IACrE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,+BAuDxC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/Dialog-
|
|
1
|
+
import { t as e } from "../../chunks/Dialog-DGFutQ--.js";
|
|
2
2
|
export { e as Dialog };
|
|
@@ -14,7 +14,7 @@ export interface DisclosureMarkProps {
|
|
|
14
14
|
* button. Anywhere the mark has to be the control, use `<Disclosure>`.
|
|
15
15
|
*
|
|
16
16
|
* Deliberately not part of the icon register, on the same grounds as
|
|
17
|
-
* `
|
|
17
|
+
* `DragGrip`: that register is outline strokes at a fixed weight, and
|
|
18
18
|
* this mark is filled.
|
|
19
19
|
*/
|
|
20
20
|
export declare function DisclosureMark({ open, size, className }: DisclosureMarkProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/Disclosure-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/Disclosure-Ch2KxYuB.js";
|
|
2
2
|
export { n as Disclosure, e as DisclosureMark, t as DisclosureRow };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** Props for `<
|
|
2
|
-
export interface
|
|
1
|
+
/** Props for `<DragGrip>`. */
|
|
2
|
+
export interface DragGripProps {
|
|
3
3
|
/** Height in px; width scales with it. Default 16. */
|
|
4
4
|
size?: number;
|
|
5
5
|
}
|
|
@@ -8,5 +8,5 @@ export interface DragHandleGlyphProps {
|
|
|
8
8
|
* Deliberately not part of the icon register: that register is outline strokes
|
|
9
9
|
* at a fixed weight, and a grip is filled dots. Forcing it in would either
|
|
10
10
|
* break the register's rule or produce a worse glyph. */
|
|
11
|
-
export declare function
|
|
12
|
-
//# sourceMappingURL=
|
|
11
|
+
export declare function DragGrip({ size }: DragGripProps): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DragGrip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DragGrip.d.ts","sourceRoot":"","sources":["../../../src/components/DragGrip/DragGrip.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;0DAI0D;AAC1D,wBAAgB,QAAQ,CAAC,EAAE,IAAS,EAAE,EAAE,aAAa,+BAiBpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DragGrip/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DispatchRecord } from '@weasel-js/core/routing';
|
|
2
|
+
/** Props for {@link FallthroughDiagram}. */
|
|
3
|
+
export interface FallthroughDiagramProps {
|
|
4
|
+
record: DispatchRecord;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* One dispatch drawn top to bottom: the input, every binding it matched, what
|
|
9
|
+
* the claim and eligibility filters dropped, and the ranked survivors with the
|
|
10
|
+
* step that placed each one and what the walk did with it. The winner's row
|
|
11
|
+
* carries `data-winner`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function FallthroughDiagram({ record, className }: FallthroughDiagramProps): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=FallthroughDiagram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FallthroughDiagram.d.ts","sourceRoot":"","sources":["../../../src/components/FallthroughDiagram/FallthroughDiagram.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EAOf,MAAM,yBAAyB,CAAC;AAoMjC,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,uBAAuB,+BAiBhF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DispatchRecord } from '@weasel-js/core/routing';
|
|
2
|
+
/** Escape while a path is being edited: the more specific `escape` declines,
|
|
3
|
+
* and `exitPathEdit` fires. */
|
|
4
|
+
export declare const escapeInPathEdit: DispatchRecord;
|
|
5
|
+
/** A bare drag on empty canvas with the select tool, on a canvas that also
|
|
6
|
+
* opted into `areaSelectContribution` and `dragPanContribution`: the tool's
|
|
7
|
+
* marquee wins, and the contribution's binding of the same action is skipped
|
|
8
|
+
* as a duplicate. */
|
|
9
|
+
export declare const bareDragSelect: DispatchRecord;
|
|
10
|
+
/** A press on a diagram port: the port layer's exclusive claim bars every
|
|
11
|
+
* binding that does not read its affordance. */
|
|
12
|
+
export declare const claimDropped: DispatchRecord;
|
|
13
|
+
/** What a press at the pointer would do, asked without invoking anything. */
|
|
14
|
+
export declare const predictedHover: DispatchRecord;
|
|
15
|
+
/** Shift+Space with nothing bound to it. */
|
|
16
|
+
export declare const nothingMatched: DispatchRecord;
|
|
17
|
+
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/components/FallthroughDiagram/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,yBAAyB,CAAC;AAY/E;gCACgC;AAChC,eAAO,MAAM,gBAAgB,EAAE,cAc9B,CAAC;AAmBF;;;sBAGsB;AACtB,eAAO,MAAM,cAAc,EAAE,cAc5B,CAAC;AAeF;iDACiD;AACjD,eAAO,MAAM,YAAY,EAAE,cAa1B,CAAC;AAgBF,6EAA6E;AAC7E,eAAO,MAAM,cAAc,EAAE,cAa5B,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,cAAc,EAAE,cAU5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FallthroughDiagram/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/FontFamilySelect-
|
|
1
|
+
import { t as e } from "../../chunks/FontFamilySelect-DkRgNtag.js";
|
|
2
2
|
export { e as FontFamilySelect };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PowerlineProps, type PowerlineSegment } from '../Powerline';
|
|
2
|
+
/**
|
|
3
|
+
* The segments {@link GestureRoute} draws for a route string: phase atoms, then
|
|
4
|
+
* `gesture(arg)`, then the held modifiers as one chord, then the target.
|
|
5
|
+
* A descriptor's default arg and a wildcard target stay visible, muted, so
|
|
6
|
+
* the strip shows the whole binding.
|
|
7
|
+
*/
|
|
8
|
+
export declare function gestureRouteSegments(route: string): PowerlineSegment[];
|
|
9
|
+
/** Props for {@link GestureRoute}. */
|
|
10
|
+
export interface GestureRouteProps extends Omit<PowerlineProps, 'segments'> {
|
|
11
|
+
/** A route in the dispatcher's grammar, e.g. `[initial] drag => node +shift`. */
|
|
12
|
+
route: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A dispatcher route drawn as a {@link Powerline}: phase, gesture, modifiers
|
|
16
|
+
* and target as one chevron-linked chain.
|
|
17
|
+
*/
|
|
18
|
+
export declare function GestureRoute({ route, 'aria-label': ariaLabel, ...rest }: GestureRouteProps): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=GestureRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GestureRoute.d.ts","sourceRoot":"","sources":["../../../src/components/GestureRoute/GestureRoute.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAgBrF;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,EAAE,CA8CtE;AAED,sCAAsC;AACtC,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IACzE,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB,+BAE1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GestureRoute/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACpE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,31 +1,45 @@
|
|
|
1
1
|
import { type ReactElement } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type FillStyle } from '@weasel-js/core';
|
|
3
3
|
/**
|
|
4
4
|
* Props for {@link GradientEditor}. `onInput` fires throughout a gesture and
|
|
5
5
|
* `onChange` once at its end.
|
|
6
6
|
*/
|
|
7
7
|
export interface GradientEditorProps {
|
|
8
|
-
/** The gradient being edited
|
|
9
|
-
|
|
8
|
+
/** The gradient being edited: a paint of any gradient kind — one that
|
|
9
|
+
* `listGradientKinds` returns. */
|
|
10
|
+
value: FillStyle;
|
|
10
11
|
/**
|
|
11
12
|
* Live value during a gesture — a stop drag, a color-picker scrub. Wire
|
|
12
13
|
* it for preview; it fires many times per gesture and must not be
|
|
13
14
|
* written to history.
|
|
14
15
|
*/
|
|
15
|
-
onInput?: (next:
|
|
16
|
+
onInput?: (next: FillStyle) => void;
|
|
16
17
|
/** Committed value: one call per completed gesture. Pair with an
|
|
17
18
|
* undoable write. */
|
|
18
|
-
onChange: (next:
|
|
19
|
-
/** Show the
|
|
20
|
-
* when the surrounding UI already owns the kind. */
|
|
19
|
+
onChange: (next: FillStyle) => void;
|
|
20
|
+
/** Show the kind switch — every registered gradient kind. Default true;
|
|
21
|
+
* turn it off when the surrounding UI already owns the kind. */
|
|
21
22
|
kindSwitch?: boolean;
|
|
22
23
|
/** Show the sRGB / OKLab / OKLCh switch, which writes `interpolate`.
|
|
23
24
|
* Default true. */
|
|
24
25
|
spaceSwitch?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Offer only what an SVG file carries natively: the linear and radial
|
|
28
|
+
* gradients, which SVG has elements for, blended in sRGB, the only space
|
|
29
|
+
* every SVG renderer honors. A conic or mesh gradient exports as a weasel
|
|
30
|
+
* element that other renderers paint as one flat color, and an OKLab or
|
|
31
|
+
* OKLCh blend exports as an attribute they ignore. A value already outside
|
|
32
|
+
* that set keeps its own kind and space on offer, so it can be switched
|
|
33
|
+
* back. Default false.
|
|
34
|
+
*/
|
|
35
|
+
svg?: boolean;
|
|
25
36
|
className?: string;
|
|
26
37
|
}
|
|
27
38
|
/**
|
|
28
|
-
* Editor for a gradient's kind and stop list
|
|
39
|
+
* Editor for a gradient's kind and colors: the stop list of a linear, radial
|
|
40
|
+
* or conic gradient, a mesh's corner colors, or a registered kind's own
|
|
41
|
+
* `Editor`. Switching kind goes through `switchGradientKind`, so the colors
|
|
42
|
+
* carry across.
|
|
29
43
|
*
|
|
30
44
|
* Geometry (`from`/`to`, `center`, `radius`, `angle`) is deliberately not
|
|
31
45
|
* edited here — on a canvas that belongs on the artwork, via
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GradientEditor.d.ts","sourceRoot":"","sources":["../../../src/components/GradientEditor/GradientEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"GradientEditor.d.ts","sourceRoot":"","sources":["../../../src/components/GradientEditor/GradientEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AAC1D,OAAO,EAOL,KAAK,SAAS,EAIf,MAAM,iBAAiB,CAAC;AAkBzB;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;uCACmC;IACnC,KAAK,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpC;0BACsB;IACtB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpC;qEACiE;IACjE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;wBACoB;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAuDvE"}
|
|
@@ -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-b7v4Ph3i.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-P01ABSzo.js";
|
|
2
2
|
export { e as InlineRange };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/Jog-
|
|
1
|
+
import { t as e } from "../../chunks/Jog-DRmfrkCg.js";
|
|
2
2
|
export { e as Jog };
|
|
@@ -7,16 +7,22 @@ export interface KeySpec {
|
|
|
7
7
|
* trigger the action (e.g. an optional modifier). Defaults to false. */
|
|
8
8
|
optional?: boolean;
|
|
9
9
|
}
|
|
10
|
+
/** Where {@link KeySequence} draws its separator. */
|
|
11
|
+
export type KeySequenceJoins = 'all' | 'key' | 'none';
|
|
10
12
|
/** Props for {@link KeySequence}. */
|
|
11
13
|
export interface KeySequenceProps {
|
|
12
14
|
/** Keys to render. `undefined` or empty renders a muted em-dash.
|
|
13
15
|
* Modifiers are always rendered first regardless of input order; relative
|
|
14
16
|
* order within each group is preserved. */
|
|
15
17
|
keys: readonly KeySpec[] | undefined;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
/** Glyph drawn wherever {@link joins} places a separator. Defaults to `'+'`. */
|
|
19
|
+
separator?: string;
|
|
20
|
+
/** Where the separator goes. Defaults to `'key'`.
|
|
21
|
+
* - `'all'`: between every pair of chips — `⌘ + ⇧ + K`, `⌘ + ⇧`, `A + B`.
|
|
22
|
+
* - `'key'`: before every non-modifier — `⌘ ⇧ + K`, `⌘ + K + L`, `A + B`.
|
|
23
|
+
* Modifiers stay unjoined, so `⌘ ⇧` gets none.
|
|
24
|
+
* - `'none'`: never. */
|
|
25
|
+
joins?: KeySequenceJoins;
|
|
20
26
|
/** Forwarded to every `KeyCap` in the sequence. `'minimal'` renders
|
|
21
27
|
* unfilled chips whose border + legend are `currentColor`. */
|
|
22
28
|
variant?: KeyCapVariant;
|
|
@@ -27,5 +33,5 @@ export interface KeySequenceProps {
|
|
|
27
33
|
}
|
|
28
34
|
/** Renders a shortcut as a row of `KeyCap` chips, one per key. Optional
|
|
29
35
|
* keys render inverted to distinguish them from required ones. */
|
|
30
|
-
export declare function KeySequence({ keys, separator, variant, font, className }: KeySequenceProps): import("react").JSX.Element;
|
|
36
|
+
export declare function KeySequence({ keys, separator, joins, variant, font, className }: KeySequenceProps): import("react").JSX.Element;
|
|
31
37
|
//# sourceMappingURL=Keycaps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Keycaps.d.ts","sourceRoot":"","sources":["../../../src/components/Keycaps/Keycaps.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAEvE,6BAA6B;AAC7B,MAAM,WAAW,OAAO;IACtB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd;6EACyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B;;gDAE4C;IAC5C,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"Keycaps.d.ts","sourceRoot":"","sources":["../../../src/components/Keycaps/Keycaps.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAEvE,6BAA6B;AAC7B,MAAM,WAAW,OAAO;IACtB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd;6EACyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qDAAqD;AACrD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAEtD,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B;;gDAE4C;IAC5C,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;IACrC,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;6BAIyB;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;mEAC+D;IAC/D,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;6CACyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;mEACmE;AACnE,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,SAAe,EAAE,KAAa,EAAE,OAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAyB3H"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { KeyCap, inferKeycapKind } from './Keycap';
|
|
2
2
|
export type { KeyCapProps, KeyCapVariant, KeycapKind } from './Keycap';
|
|
3
3
|
export { KeySequence } from './Keycaps';
|
|
4
|
-
export type { KeySequenceProps, KeySpec } from './Keycaps';
|
|
4
|
+
export type { KeySequenceJoins, KeySequenceProps, KeySpec } from './Keycaps';
|
|
5
5
|
export { keyGlyph } from './keyGlyph';
|
|
6
6
|
export { keySpecsFromMods, keySpecFromKey, detectPlatform } from './keySpecsFromMods';
|
|
7
7
|
export { keySpecsFromShortcut } from './keySpecsFromShortcut';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Keycaps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Keycaps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EACV,UAAU,EACV,cAAc,EACd,QAAQ,EACR,WAAW,EACX,uBAAuB,GACxB,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as e } from "../../chunks/keyGlyph-C0qTakG-.js";
|
|
2
|
-
import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../chunks/Keycaps-
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../chunks/Keycaps-C-FJyG8k.js";
|
|
3
3
|
export { a as KeyCap, r as KeySequence, t as detectPlatform, n as inferKeycapKind, e as keyGlyph, i as keySpecFromKey, o as keySpecsFromMods, s as keySpecsFromShortcut };
|
|
@@ -47,7 +47,7 @@ export interface LayerListProps {
|
|
|
47
47
|
onSelect?: (ids: string[]) => void;
|
|
48
48
|
/** Adds a visibility checkbox to every unlocked layer. */
|
|
49
49
|
onVisibilityChange?: (id: string, visible: boolean) => void;
|
|
50
|
-
/** Adds a
|
|
50
|
+
/** Adds a remove button to every unlocked layer. */
|
|
51
51
|
onRemove?: (id: string) => void;
|
|
52
52
|
/** A layer's controls. Returning `null` leaves that layer a one-line row. */
|
|
53
53
|
renderBody?: (item: LayerListItem) => ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerList.d.ts","sourceRoot":"","sources":["../../../src/components/LayerList/LayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C;+EAC+E;AAC/E,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd;6BACyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;qFACiF;IACjF,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;+DAC2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B;uCACmC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+BAA+B;AAC/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACtC;mFAC+E;IAC/E,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D,
|
|
1
|
+
{"version":3,"file":"LayerList.d.ts","sourceRoot":"","sources":["../../../src/components/LayerList/LayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C;+EAC+E;AAC/E,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd;6BACyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;qFACiF;IACjF,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;+DAC2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B;uCACmC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+BAA+B;AAC/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACtC;mFAC+E;IAC/E,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D,oDAAoD;IACpD,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,6EAA6E;IAC7E,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,SAAS,CAAC;IAChD;4DACwD;IACxD,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,wDAAwD;IACxD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wFAAwF;AACxF,wBAAgB,UAAU,CAAC,KAAK,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,GAAG,aAAa,EAAE,CAMnF;AA4DD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BA2L9C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/LayerList-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/LayerList-wCI1EueM.js";
|
|
2
2
|
export { e as LayerList, t as moveLayers, n as useSceneLayerList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListEditor.d.ts","sourceRoot":"","sources":["../../../src/components/ListEditor/ListEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListEditor.d.ts","sourceRoot":"","sources":["../../../src/components/ListEditor/ListEditor.tsx"],"names":[],"mappings":"AAKA,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB;0DACsD;IACtD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,KAAc,EACd,QAAgB,EAChB,YAAY,EAAE,SAAS,EACvB,SAAS,GACV,EAAE,eAAe,+BA8DjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/ListEditor-
|
|
1
|
+
import { t as e } from "../../chunks/ListEditor-BeA60TAA.js";
|
|
2
2
|
export { e as ListEditor };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/MenuButton-
|
|
1
|
+
import { t as e } from "../../chunks/MenuButton-BSqEChJE.js";
|
|
2
2
|
export { e as MenuButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/MeshEditor-
|
|
1
|
+
import { n as e, t } from "../../chunks/MeshEditor-D1HLZcAh.js";
|
|
2
2
|
export { t as MeshEditor, e as isMeshPaint };
|
|
@@ -1,31 +1,44 @@
|
|
|
1
|
-
import { type UnitTable } from '
|
|
1
|
+
import { type Display, type UnitTable } from '@weasel-js/quantity';
|
|
2
2
|
/** Props for {@link UnitField}. */
|
|
3
3
|
export interface UnitFieldProps {
|
|
4
4
|
/** The value in the unit the field shows. NaN shows an empty field. */
|
|
5
5
|
value: number;
|
|
6
|
-
/**
|
|
6
|
+
/** The committed value, read and clamped, in the unit the field shows: on
|
|
7
|
+
* blur or Enter, and on every step. */
|
|
7
8
|
onChange: (value: number) => void;
|
|
9
|
+
/** The live value: every keystroke that reads as a number, and every step. */
|
|
10
|
+
onInput?: (value: number) => void;
|
|
8
11
|
minValue?: number;
|
|
9
12
|
maxValue?: number;
|
|
10
|
-
/** What an arrow key adds or takes away
|
|
13
|
+
/** What an arrow key, a stepper or a wheel notch adds or takes away; Page Up
|
|
14
|
+
* and Page Down move ten. Defaults to 1. */
|
|
11
15
|
step?: number;
|
|
12
16
|
/** Units a person may type, each mapped to the factor that turns a number
|
|
13
17
|
* in it into the unit the field shows: `{ mm: 0.1, cm: 1 }`. */
|
|
14
18
|
accepts?: Readonly<UnitTable>;
|
|
19
|
+
/** How the value shows, is spoken, and reads back when typed: `fraction()`
|
|
20
|
+
* shows `1/12` and reads `1/12` typed. `accepts`, when given, does the
|
|
21
|
+
* reading instead. Default: the number with every decimal it has. */
|
|
22
|
+
display?: Display;
|
|
15
23
|
placeholder?: string;
|
|
24
|
+
/** Up and down buttons beside the value, which repeat while held. */
|
|
25
|
+
steppers?: boolean;
|
|
16
26
|
/** Render with no box until focused, as {@link NumberField}'s `ghost` does. */
|
|
17
27
|
ghost?: boolean;
|
|
18
28
|
/** As {@link NumberField}'s `width`. */
|
|
19
29
|
width?: 'fill' | 'fit';
|
|
20
30
|
className?: string;
|
|
31
|
+
/** Id for the input, for a `<label htmlFor>` outside it. */
|
|
32
|
+
id?: string;
|
|
21
33
|
'aria-label'?: string;
|
|
22
34
|
}
|
|
23
35
|
/**
|
|
24
36
|
* A number typed as text, so it can carry a unit: `12mm` in a field showing
|
|
25
37
|
* centimeters commits `1.2`. Commits on blur or Enter, reverts on Escape or on
|
|
26
|
-
* text it cannot read, clamps to its bounds
|
|
27
|
-
*
|
|
28
|
-
*
|
|
38
|
+
* text it cannot read, and clamps to its bounds. Steps like a spin button —
|
|
39
|
+
* arrows, Page Up and Down, Home and End to a bound, the wheel while focused,
|
|
40
|
+
* and optional steppers. React Aria's `NumberField` refuses letters as they
|
|
41
|
+
* are typed, which is why this is not that.
|
|
29
42
|
*/
|
|
30
|
-
export declare function UnitField({ value, onChange, minValue, maxValue, step, accepts, placeholder, ghost, width, className, 'aria-label': ariaLabel, }: UnitFieldProps): import("react").JSX.Element;
|
|
43
|
+
export declare function UnitField({ value, onChange, onInput, minValue, maxValue, step, accepts, display, placeholder, steppers, ghost, width, className, id, 'aria-label': ariaLabel, }: UnitFieldProps): import("react").JSX.Element;
|
|
31
44
|
//# sourceMappingURL=UnitField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/UnitField.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"UnitField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/UnitField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAKvG,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd;4CACwC;IACxC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,8EAA8E;IAC9E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;iDAC6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;qEACiE;IACjE,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9B;;0EAEsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,IAAQ,EACR,OAAO,EACP,OAAwB,EACxB,WAAW,EACX,QAAQ,EACR,KAAK,EACL,KAAc,EACd,SAAS,EACT,EAAE,EACF,YAAY,EAAE,SAAS,GACxB,EAAE,cAAc,+BAmJhB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as e, t } from "../../chunks/NumberField-BnJxcazc.js";
|
|
2
2
|
export { e as NumberField, t as UnitField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/OptionsBar-
|
|
1
|
+
import { t as e } from "../../chunks/OptionsBar-ujxYidhj.js";
|
|
2
2
|
export { e as OptionsBar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/PaintField-
|
|
1
|
+
import { t as e } from "../../chunks/PaintField-DadOELMg.js";
|
|
2
2
|
export { e as PaintField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaintInput.d.ts","sourceRoot":"","sources":["../../../src/components/PaintInput/PaintInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"PaintInput.d.ts","sourceRoot":"","sources":["../../../src/components/PaintInput/PaintInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EASL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,iBAAiB,CAAC;AA8CzB;kCACkC;AAClC,MAAM,WAAW,eAAe;IAC9B;+BAC2B;IAC3B,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;4CACwC;IACxC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mEAAmE;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B;;kCAE8B;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C;2EACuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CA2H/D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/PaintInput-
|
|
1
|
+
import { t as e } from "../../chunks/PaintInput-v8Y7MDbH.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-R_EQtw2Q.js";
|
|
2
2
|
export { t as PatternPicker, e as seedPattern };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/PointPlotter-
|
|
1
|
+
import { t as e } from "../../chunks/PointPlotter-ldI4RrU1.js";
|
|
2
2
|
export { e as PointPlotter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Powerline } from './Powerline';
|
|
2
2
|
export type { PowerlineProps, PowerlineSegment } from './Powerline';
|
|
3
|
-
export type { EdgeCap, EdgeProfile, BuiltInEdgeName } from '../Badge/bases/edgeProfiles';
|
|
3
|
+
export type { EdgeCap, EdgeProfile, BuiltInEdgeName, BuiltInProfileName } from '../Badge/bases/edgeProfiles';
|
|
4
4
|
export { EDGE_PROFILES } from '../Badge/bases/edgeProfiles';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Powerline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpE,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Powerline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpE,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC7G,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as e } from "../../chunks/Badge-
|
|
2
|
-
import { t } from "../../chunks/Powerline-
|
|
1
|
+
import { n as e } from "../../chunks/Badge-D2aD7xVL.js";
|
|
2
|
+
import { t } from "../../chunks/Powerline-DNyH885r.js";
|
|
3
3
|
export { e as EDGE_PROFILES, t as Powerline };
|