@weasel-js/ui 1.4.1 → 1.4.3
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/{ActionBar-D4N1o4LB.js → ActionBar-DxGp3WuZ.js} +2 -2
- package/dist/chunks/{ActionBar-D4N1o4LB.js.map → ActionBar-DxGp3WuZ.js.map} +1 -1
- package/dist/chunks/{ActionsBar-B-gWm0NE.js → ActionsBar-D1VFreoj.js} +3 -3
- package/dist/chunks/{ActionsBar-B-gWm0NE.js.map → ActionsBar-D1VFreoj.js.map} +1 -1
- package/dist/chunks/{Badge-7yQseqZb.js → Badge-Bf8Rd1R6.js} +1 -1
- package/dist/chunks/{Badge-7yQseqZb.js.map → Badge-Bf8Rd1R6.js.map} +1 -1
- package/dist/chunks/{BandEditor-DjOi4ldl.js → BandEditor-CUlbOlJi.js} +1 -1
- package/dist/chunks/{BandEditor-DjOi4ldl.js.map → BandEditor-CUlbOlJi.js.map} +1 -1
- package/dist/chunks/{Button-0OdcoOMx.js → Button-Cq5LBUMD.js} +1 -1
- package/dist/chunks/{Button-0OdcoOMx.js.map → Button-Cq5LBUMD.js.map} +1 -1
- package/dist/chunks/Callout-Dvt6lqVn.js +122 -0
- package/dist/chunks/Callout-Dvt6lqVn.js.map +1 -0
- package/dist/chunks/{Checkbox-D_GCnoJ0.js → Checkbox-D-pVpobU.js} +1 -1
- package/dist/chunks/{Checkbox-D_GCnoJ0.js.map → Checkbox-D-pVpobU.js.map} +1 -1
- package/dist/chunks/{ColorField-pEkaSppg.js → ColorField-D0OxUlvu.js} +2 -2
- package/dist/chunks/{ColorField-pEkaSppg.js.map → ColorField-D0OxUlvu.js.map} +1 -1
- package/dist/chunks/ComboBox-BBRRWvdc.js +107 -0
- package/dist/chunks/ComboBox-BBRRWvdc.js.map +1 -0
- package/dist/chunks/{CurveEditor-DoX5Q0_V.js → CurveEditor-DtjdpJVB.js} +2 -2
- package/dist/chunks/{CurveEditor-DoX5Q0_V.js.map → CurveEditor-DtjdpJVB.js.map} +1 -1
- package/dist/chunks/{DataGrid-DHV0chfL.js → DataGrid-BVdDMZkQ.js} +2 -2
- package/dist/chunks/{DataGrid-DHV0chfL.js.map → DataGrid-BVdDMZkQ.js.map} +1 -1
- package/dist/chunks/{DetentSlider-Cd5360U3.js → DetentSlider-BVWKdRyC.js} +2 -2
- package/dist/chunks/{DetentSlider-Cd5360U3.js.map → DetentSlider-BVWKdRyC.js.map} +1 -1
- package/dist/chunks/Dialog-CYBLjwbd.js +61 -0
- package/dist/chunks/Dialog-CYBLjwbd.js.map +1 -0
- package/dist/chunks/Disclosure-DiA6UKdM.js +47 -0
- package/dist/chunks/Disclosure-DiA6UKdM.js.map +1 -0
- package/dist/chunks/{DragHandleGlyph--2zsZzA2.js → DragHandleGlyph-CppAz4_8.js} +1 -1
- package/dist/chunks/{DragHandleGlyph--2zsZzA2.js.map → DragHandleGlyph-CppAz4_8.js.map} +1 -1
- package/dist/chunks/{Field-Bc6Nuc3p.js → Field-dzlxOGxT.js} +1 -1
- package/dist/chunks/{Field-Bc6Nuc3p.js.map → Field-dzlxOGxT.js.map} +1 -1
- package/dist/chunks/{FontFamilySelect-CvrXKVwv.js → FontFamilySelect-DIJ4phXz.js} +2 -2
- package/dist/chunks/{FontFamilySelect-CvrXKVwv.js.map → FontFamilySelect-DIJ4phXz.js.map} +1 -1
- package/dist/chunks/{GradientEditor-CPeTbkFE.js → GradientEditor-C5NVILLk.js} +4 -4
- package/dist/chunks/{GradientEditor-CPeTbkFE.js.map → GradientEditor-C5NVILLk.js.map} +1 -1
- package/dist/chunks/{InlineRange-CBt_SBsC.js → InlineRange-50ulExCL.js} +2 -2
- package/dist/chunks/{InlineRange-CBt_SBsC.js.map → InlineRange-50ulExCL.js.map} +1 -1
- package/dist/chunks/{Input-CSAECs_T.js → Input-CoKOtyD0.js} +2 -2
- package/dist/chunks/{Input-CSAECs_T.js.map → Input-CoKOtyD0.js.map} +1 -1
- package/dist/chunks/{ItemList-POiCvUDx.js → ItemList-BZJQReXD.js} +1 -1
- package/dist/chunks/{ItemList-POiCvUDx.js.map → ItemList-BZJQReXD.js.map} +1 -1
- package/dist/chunks/{Keycaps-DszN5Dwl.js → Keycaps-DSeq6QWH.js} +1 -1
- package/dist/chunks/{Keycaps-DszN5Dwl.js.map → Keycaps-DSeq6QWH.js.map} +1 -1
- package/dist/chunks/{LayerStack-BVdwhAhG.js → LayerStack-DOylrQcm.js} +23 -23
- package/dist/chunks/LayerStack-DOylrQcm.js.map +1 -0
- package/dist/chunks/{NumberField-Byw1iaIJ.js → NumberField-DBowmOfe.js} +12 -10
- package/dist/chunks/NumberField-DBowmOfe.js.map +1 -0
- package/dist/chunks/{OptionsBar-efIwfqYe.js → OptionsBar-D_Cd3ZYs.js} +3 -3
- package/dist/chunks/{OptionsBar-efIwfqYe.js.map → OptionsBar-D_Cd3ZYs.js.map} +1 -1
- package/dist/chunks/{PaintInput-6HTUAFL1.js → PaintInput-67U-COE4.js} +5 -5
- package/dist/chunks/{PaintInput-6HTUAFL1.js.map → PaintInput-67U-COE4.js.map} +1 -1
- package/dist/chunks/{PatternPicker-G9e0CU5H.js → PatternPicker-Ba22Bf4L.js} +2 -2
- package/dist/chunks/{PatternPicker-G9e0CU5H.js.map → PatternPicker-Ba22Bf4L.js.map} +1 -1
- package/dist/chunks/{Plot2D-D63D5w6c.js → Plot2D-C97pO13t.js} +1 -1
- package/dist/chunks/{Plot2D-D63D5w6c.js.map → Plot2D-C97pO13t.js.map} +1 -1
- package/dist/chunks/{PointPlotter-CZJE8Ccu.js → PointPlotter-CbDKVggs.js} +2 -2
- package/dist/chunks/{PointPlotter-CZJE8Ccu.js.map → PointPlotter-CbDKVggs.js.map} +1 -1
- package/dist/chunks/{Powerline-BY_ADnqq.js → Powerline-BaHDJlcO.js} +2 -2
- package/dist/chunks/{Powerline-BY_ADnqq.js.map → Powerline-BaHDJlcO.js.map} +1 -1
- package/dist/chunks/Prefs-D0l0PXLF.js +294 -0
- package/dist/chunks/Prefs-D0l0PXLF.js.map +1 -0
- package/dist/chunks/Properties-CMLua9mU.js +746 -0
- package/dist/chunks/Properties-CMLua9mU.js.map +1 -0
- package/dist/chunks/{RadioGroup-XjbfUb7S.js → RadioGroup-B2_LUgDp.js} +2 -2
- package/dist/chunks/{RadioGroup-XjbfUb7S.js.map → RadioGroup-B2_LUgDp.js.map} +1 -1
- package/dist/chunks/{RangeSlider-D0hFbx_Z.js → RangeSlider-C3to8A52.js} +1 -1
- package/dist/chunks/{RangeSlider-D0hFbx_Z.js.map → RangeSlider-C3to8A52.js.map} +1 -1
- package/dist/chunks/{ResizeHandle-DfqqfaZz.js → ResizeHandle-BrCO0JrH.js} +1 -1
- package/dist/chunks/{ResizeHandle-DfqqfaZz.js.map → ResizeHandle-BrCO0JrH.js.map} +1 -1
- package/dist/chunks/Select-CacMfs4v.js +124 -0
- package/dist/chunks/Select-CacMfs4v.js.map +1 -0
- package/dist/chunks/{SelectionPanel-BU2cmRtp.js → SelectionPanel-BWXU8BqW.js} +203 -202
- package/dist/chunks/SelectionPanel-BWXU8BqW.js.map +1 -0
- package/dist/chunks/{Sidebar-Du0yp1S0.js → Sidebar-BvwjZiFm.js} +1 -1
- package/dist/chunks/{Sidebar-Du0yp1S0.js.map → Sidebar-BvwjZiFm.js.map} +1 -1
- package/dist/chunks/{SidebarPanel-Cuq__FIC.js → SidebarPanel-D5Ua2vyP.js} +2 -2
- package/dist/chunks/{SidebarPanel-Cuq__FIC.js.map → SidebarPanel-D5Ua2vyP.js.map} +1 -1
- package/dist/chunks/{Slider-BE6jaxyU.js → Slider-Bk_G5sSW.js} +15 -15
- package/dist/chunks/Slider-Bk_G5sSW.js.map +1 -0
- package/dist/chunks/{StatusBar-DLYwh5sb.js → StatusBar-Bqv4D0dW.js} +1 -1
- package/dist/chunks/{StatusBar-DLYwh5sb.js.map → StatusBar-Bqv4D0dW.js.map} +1 -1
- package/dist/chunks/{Switch-B521iN3m.js → Switch-C4NU-me1.js} +1 -1
- package/dist/chunks/{Switch-B521iN3m.js.map → Switch-C4NU-me1.js.map} +1 -1
- package/dist/chunks/{Tabs-BuifAv0p.js → Tabs-BT3CDkoQ.js} +1 -1
- package/dist/chunks/{Tabs-BuifAv0p.js.map → Tabs-BT3CDkoQ.js.map} +1 -1
- package/dist/chunks/{Timeline-CWuh0nV0.js → Timeline-BmYwYjXd.js} +2 -2
- package/dist/chunks/{Timeline-CWuh0nV0.js.map → Timeline-BmYwYjXd.js.map} +1 -1
- package/dist/chunks/{Toast-B75V2gqL.js → Toast-B7ylq7fz.js} +1 -1
- package/dist/chunks/{Toast-B75V2gqL.js.map → Toast-B7ylq7fz.js.map} +1 -1
- package/dist/chunks/{ToggleBar-D0veW91s.js → ToggleBar-Bxwv6xvj.js} +2 -2
- package/dist/chunks/{ToggleBar-D0veW91s.js.map → ToggleBar-Bxwv6xvj.js.map} +1 -1
- package/dist/chunks/{ToolButton-D5VwD47i.js → ToolButton-CtDkqUIc.js} +2 -2
- package/dist/chunks/{ToolButton-D5VwD47i.js.map → ToolButton-CtDkqUIc.js.map} +1 -1
- package/dist/chunks/{ToolGroup-B2PlMKQ-.js → ToolGroup-zDtqt0QJ.js} +1 -1
- package/dist/chunks/{ToolGroup-B2PlMKQ-.js.map → ToolGroup-zDtqt0QJ.js.map} +1 -1
- package/dist/chunks/{ToolOptionsBar-ByHX7y1M.js → ToolOptionsBar-B2xPWzJf.js} +1 -1
- package/dist/chunks/{ToolOptionsBar-ByHX7y1M.js.map → ToolOptionsBar-B2xPWzJf.js.map} +1 -1
- package/dist/chunks/{ToolPalette-Bi5ezkO6.js → ToolPalette-BbrMHfQ9.js} +5 -5
- package/dist/chunks/{ToolPalette-Bi5ezkO6.js.map → ToolPalette-BbrMHfQ9.js.map} +1 -1
- package/dist/chunks/Tooltip-BHre_vbI.js +42 -0
- package/dist/chunks/Tooltip-BHre_vbI.js.map +1 -0
- package/dist/chunks/{keyGlyph-BLFMKZgF.js → keyGlyph-Bp0wnLHn.js} +1 -1
- package/dist/chunks/{keyGlyph-BLFMKZgF.js.map → keyGlyph-Bp0wnLHn.js.map} +1 -1
- package/dist/chunks/{number-D3TDawLC.js → number-Bv1nbhOJ.js} +1 -1
- package/dist/chunks/{number-D3TDawLC.js.map → number-Bv1nbhOJ.js.map} +1 -1
- package/dist/chunks/portalHost-CjpCnuGU.js +28 -0
- package/dist/chunks/portalHost-CjpCnuGU.js.map +1 -0
- package/dist/chunks/{range.module-CttzfN6a.js → range.module-CgURq-Ua.js} +1 -1
- package/dist/chunks/{range.module-CttzfN6a.js.map → range.module-CgURq-Ua.js.map} +1 -1
- package/dist/chunks/schema-CtWwGbqJ.js +41 -0
- package/dist/chunks/schema-CtWwGbqJ.js.map +1 -0
- package/dist/chunks/{segmentedControl.module-XADeq9e5.js → segmentedControl.module-BgvAPkSZ.js} +1 -1
- package/dist/chunks/{segmentedControl.module-XADeq9e5.js.map → segmentedControl.module-BgvAPkSZ.js.map} +1 -1
- package/dist/chunks/{useReorderDragList-UvHJFjTZ.js → useReorderDragList-CSQGd7zQ.js} +26 -30
- package/dist/chunks/useReorderDragList-CSQGd7zQ.js.map +1 -0
- package/dist/chunks/{useRovingTabIndex-ByjY4lnw.js → useRovingTabIndex-Dkpf_KhN.js} +1 -1
- package/dist/chunks/{useRovingTabIndex-ByjY4lnw.js.map → useRovingTabIndex-Dkpf_KhN.js.map} +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/ActionsBar/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/BandEditor/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Callout/Callout.d.ts +2 -1
- package/dist/components/Callout/Callout.d.ts.map +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/ComboBox.d.ts +9 -2
- package/dist/components/ComboBox/ComboBox.d.ts.map +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/Dialog.d.ts +2 -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 +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 +2 -2
- package/dist/components/Prefs/PrefsForm.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 +3 -2
- package/dist/components/Prefs/schema.d.ts +17 -1
- package/dist/components/Prefs/schema.d.ts.map +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 +9 -2
- 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 +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/components/Tooltip/Tooltip.d.ts +2 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +63 -60
- package/dist/index.js.map +1 -1
- package/dist/overlays/portalHost.d.ts +55 -0
- package/dist/overlays/portalHost.d.ts.map +1 -0
- 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/Callout-wRyevt8I.js +0 -116
- package/dist/chunks/Callout-wRyevt8I.js.map +0 -1
- package/dist/chunks/ComboBox-inno5gt1.js +0 -89
- package/dist/chunks/ComboBox-inno5gt1.js.map +0 -1
- package/dist/chunks/Dialog-CX2B8PIp.js +0 -59
- package/dist/chunks/Dialog-CX2B8PIp.js.map +0 -1
- package/dist/chunks/LayerStack-BVdwhAhG.js.map +0 -1
- package/dist/chunks/NumberField-Byw1iaIJ.js.map +0 -1
- package/dist/chunks/Prefs-ByKG3ylD.js +0 -300
- package/dist/chunks/Prefs-ByKG3ylD.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/SelectionPanel-BU2cmRtp.js.map +0 -1
- package/dist/chunks/Slider-BE6jaxyU.js.map +0 -1
- package/dist/chunks/Tooltip-Bq8Hvj4r.js +0 -40
- package/dist/chunks/Tooltip-Bq8Hvj4r.js.map +0 -1
- package/dist/chunks/useReorderDragList-UvHJFjTZ.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,77 +1,80 @@
|
|
|
1
1
|
import { n as e, t } from "./chunks/dlog-CMYiRF3Q.js";
|
|
2
2
|
import { n, t as r } from "./chunks/Icon-DBXtBB1f.js";
|
|
3
3
|
import { $ as i, A as a, B as o, C as s, D as c, E as ee, F as te, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Y as D, Z as O, _ as k, a as A, at as j, b as M, c as N, ct as P, d as F, dt as I, et as L, f as R, ft as z, g as B, h as V, i as H, it as U, j as W, k as G, l as K, lt as q, m as J, n as Y, nt as X, o as Z, ot as Q, p as ne, q as re, r as ie, rt as ae, s as oe, st as se, t as ce, tt as le, u as ue, ut as de, v as fe, w as pe, x as me, y as he, z as ge } from "./chunks/icons-BV27dhKB.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
4
|
+
import { i as _e, n as ve, r as ye, t as be } from "./chunks/Prefs-D0l0PXLF.js";
|
|
5
|
+
import { n as xe, r as Se, t as Ce } from "./chunks/portalHost-CjpCnuGU.js";
|
|
6
|
+
import { n as we, t as Te } from "./chunks/Tooltip-BHre_vbI.js";
|
|
7
|
+
import { t as Ee } from "./chunks/ActionBar-DxGp3WuZ.js";
|
|
8
|
+
import { n as De, t as Oe } from "./chunks/Badge-Bf8Rd1R6.js";
|
|
8
9
|
import "./components/Badge/index.js";
|
|
9
|
-
import { t as ke } from "./chunks/Button-
|
|
10
|
-
import { t as Ae } from "./chunks/useReorderDragList-
|
|
11
|
-
import { t as je } from "./chunks/DataGrid-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { n as it, t as
|
|
28
|
-
import { t as
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { t as
|
|
43
|
-
import { a as
|
|
44
|
-
import {
|
|
45
|
-
import { t as en } from "./chunks/
|
|
46
|
-
import { t as
|
|
47
|
-
import {
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as
|
|
50
|
-
import {
|
|
10
|
+
import { t as ke } from "./chunks/Button-Cq5LBUMD.js";
|
|
11
|
+
import { t as Ae } from "./chunks/useReorderDragList-CSQGd7zQ.js";
|
|
12
|
+
import { t as je } from "./chunks/DataGrid-BVdDMZkQ.js";
|
|
13
|
+
import { n as Me, t as Ne } from "./chunks/Disclosure-DiA6UKdM.js";
|
|
14
|
+
import { t as Pe } from "./chunks/DragHandleGlyph-CppAz4_8.js";
|
|
15
|
+
import { a as Fe, i as Ie, n as Le, o as Re, r as ze, t as Be } from "./chunks/Keycaps-DSeq6QWH.js";
|
|
16
|
+
import { t as Ve } from "./chunks/keyGlyph-Bp0wnLHn.js";
|
|
17
|
+
import { t as He } from "./chunks/LayerStack-DOylrQcm.js";
|
|
18
|
+
import { t as Ue } from "./chunks/Slider-Bk_G5sSW.js";
|
|
19
|
+
import { i as We, n as Ge, r as Ke, t as qe } from "./chunks/number-Bv1nbhOJ.js";
|
|
20
|
+
import { t as Je } from "./chunks/ItemList-BZJQReXD.js";
|
|
21
|
+
import { t as Ye } from "./chunks/ToggleBar-Bxwv6xvj.js";
|
|
22
|
+
import { t as Xe } from "./chunks/useRovingTabIndex-Dkpf_KhN.js";
|
|
23
|
+
import { t as Ze } from "./chunks/OptionsBar-D_Cd3ZYs.js";
|
|
24
|
+
import { t as Qe } from "./chunks/ActionsBar-D1VFreoj.js";
|
|
25
|
+
import { t as $e } from "./chunks/ToolOptionsBar-B2xPWzJf.js";
|
|
26
|
+
import { t as et } from "./chunks/InlineRange-50ulExCL.js";
|
|
27
|
+
import { t as tt } from "./chunks/ColorField-D0OxUlvu.js";
|
|
28
|
+
import { i as nt, n as rt, r as it, t as at } from "./chunks/GradientEditor-C5NVILLk.js";
|
|
29
|
+
import { n as ot, t as st } from "./chunks/PatternPicker-Ba22Bf4L.js";
|
|
30
|
+
import { t as ct } from "./chunks/PaintInput-67U-COE4.js";
|
|
31
|
+
import { t as $ } from "./chunks/Powerline-BaHDJlcO.js";
|
|
32
|
+
import { t as lt } from "./chunks/Checkbox-D-pVpobU.js";
|
|
33
|
+
import { n as ut, t as dt } from "./chunks/Field-dzlxOGxT.js";
|
|
34
|
+
import { n as ft, t as pt } from "./chunks/Select-CacMfs4v.js";
|
|
35
|
+
import { t as mt } from "./chunks/FontFamilySelect-DIJ4phXz.js";
|
|
36
|
+
import { t as ht } from "./chunks/Input-CoKOtyD0.js";
|
|
37
|
+
import { t as gt } from "./chunks/NumberField-DBowmOfe.js";
|
|
38
|
+
import { n as _t, t as vt } from "./chunks/RadioGroup-B2_LUgDp.js";
|
|
39
|
+
import { t as yt } from "./chunks/RangeSlider-C3to8A52.js";
|
|
40
|
+
import { t as bt } from "./chunks/Switch-C4NU-me1.js";
|
|
41
|
+
import { i as xt, n as St, r as Ct, t as wt } from "./chunks/schema-CtWwGbqJ.js";
|
|
42
|
+
import { t as Tt } from "./chunks/Dialog-CYBLjwbd.js";
|
|
43
|
+
import { n as Et, r as Dt, t as Ot } from "./chunks/Plot2D-C97pO13t.js";
|
|
44
|
+
import { a as kt, i as At, n as jt, o as Mt, r as Nt, t as Pt } from "./chunks/CurveEditor-DtjdpJVB.js";
|
|
45
|
+
import { a as Ft, c as It, d as Lt, f as Rt, g as zt, h as Bt, i as Vt, l as Ht, m as Ut, n as Wt, o as Gt, p as Kt, r as qt, s as Jt, t as Yt, u as Xt } from "./chunks/Properties-CMLua9mU.js";
|
|
46
|
+
import { a as Zt, c as Qt, i as $t, n as en, o as tn, r as nn, s as rn, t as an } from "./chunks/SelectionPanel-BWXU8BqW.js";
|
|
47
|
+
import { t as on } from "./chunks/ResizeHandle-BrCO0JrH.js";
|
|
48
|
+
import { t as sn } from "./chunks/Sidebar-BvwjZiFm.js";
|
|
49
|
+
import { t as cn } from "./chunks/SidebarPanel-D5Ua2vyP.js";
|
|
50
|
+
import { n as ln, r as un, t as dn } from "./chunks/StatusBar-Bqv4D0dW.js";
|
|
51
|
+
import { t as fn } from "./chunks/ToolButton-CtDkqUIc.js";
|
|
52
|
+
import { t as pn } from "./chunks/ToolGroup-zDtqt0QJ.js";
|
|
53
|
+
import { n as mn, r as hn, t as gn } from "./chunks/ToolPalette-BbrMHfQ9.js";
|
|
51
54
|
import "./components/Field/index.js";
|
|
52
|
-
import { i as
|
|
53
|
-
import { n as
|
|
54
|
-
import { t as
|
|
55
|
-
import { n as
|
|
56
|
-
import { a as
|
|
57
|
-
import { t as
|
|
58
|
-
import { n as
|
|
59
|
-
import { a as
|
|
60
|
-
import { oklabToSrgbU8 as
|
|
55
|
+
import { i as _n, n as vn, r as yn, t as bn } from "./chunks/Tabs-BT3CDkoQ.js";
|
|
56
|
+
import { n as xn, t as Sn } from "./chunks/ComboBox-BBRRWvdc.js";
|
|
57
|
+
import { t as Cn } from "./chunks/DetentSlider-BVWKdRyC.js";
|
|
58
|
+
import { n as wn, t as Tn } from "./chunks/Callout-Dvt6lqVn.js";
|
|
59
|
+
import { a as En, i as Dn, n as On, r as kn, t as An } from "./chunks/Toast-B7ylq7fz.js";
|
|
60
|
+
import { t as jn } from "./chunks/PointPlotter-CbDKVggs.js";
|
|
61
|
+
import { n as Mn, r as Nn, t as Pn } from "./chunks/BandEditor-CUlbOlJi.js";
|
|
62
|
+
import { a as Fn, c as In, i as Ln, l as Rn, n as zn, o as Bn, r as Vn, s as Hn, t as Un } from "./chunks/Timeline-BmYwYjXd.js";
|
|
63
|
+
import { oklabToSrgbU8 as Wn, oklchToOklab as Gn, rgbaToHex as Kn } from "@weasel-js/core";
|
|
61
64
|
//#region src/color/oklch.ts
|
|
62
|
-
function
|
|
63
|
-
let [r, i, a] =
|
|
64
|
-
return
|
|
65
|
+
function qn(e, t, n) {
|
|
66
|
+
let [r, i, a] = Gn(e, t, n * Math.PI / 180), [o, s, c] = Wn(r, i, a);
|
|
67
|
+
return Kn([
|
|
65
68
|
o / 255,
|
|
66
69
|
s / 255,
|
|
67
70
|
c / 255
|
|
68
71
|
]);
|
|
69
72
|
}
|
|
70
|
-
function
|
|
73
|
+
function Jn(e, t) {
|
|
71
74
|
let [n, r] = t.lRange;
|
|
72
75
|
return e <= n ? t.cBot : e >= r ? t.cTop : e <= t.midL ? t.cBot + (t.cPeak - t.cBot) * ((e - n) / (t.midL - n)) : t.cPeak + (t.cTop - t.cPeak) * ((e - t.midL) / (r - t.midL));
|
|
73
76
|
}
|
|
74
77
|
//#endregion
|
|
75
|
-
export { Ee as ActionBar,
|
|
78
|
+
export { Ee as ActionBar, Qe as ActionsBar, ce as AddIcon, Un as AnimatedTimeline, Y as ArrowIcon, Oe as Badge, Pn as BandEditor, ie as BusyIcon, ke as Button, Tn as Callout, wn as CalloutTrigger, lt as Checkbox, Ft as CheckboxRow, H as ChevronIcon, A as CloneIcon, Z as CloseIcon, oe as CollapseIcon, tt as ColorField, Gt as ColorRow, Sn as ComboBox, xn as ComboBoxItem, N as CompareIcon, K as CrosshairIcon, jt as CurveEditor, zt as CurveField, je as DataGrid, ue as DeleteIcon, Cn as DetentSlider, Tt as Dialog, Ne as Disclosure, Me as DisclosureRow, Pe as DragHandleGlyph, Bn as EASING_NAMES, De as EDGE_PROFILES, Fn as EasingPicker, Wt as EffectCard, qt as EffectCardList, F as EllipseIcon, R as ErrorIcon, ne as ExpandIcon, J as ExportIcon, V as EyedropperIcon, dt as Field, B as FilterIcon, k as FitIcon, mt as FontFamilySelect, fe as FullscreenIcon, it as GradientEditor, rt as GradientHandles, he as GridIcon, M as HandIcon, me as HiddenIcon, n as ICON_PATHS, r as Icon, x as ImageIcon, s as InfoIcon, et as InlineRange, ht as Input, Je as ItemList, Fe as KeyCap, Ie as KeySequence, pe as LassoIcon, He as LayerStack, Nt as LayeredCurveEditor, S as LayersIcon, ee as LayoutColumnsIcon, c as LayoutGridIcon, _ as LayoutRowsIcon, G as LineIcon, a as LinkIcon, W as LockIcon, h as LoupeIcon, qe as MINUS_SIGN, en as MIXED, g as MeasureIcon, v as ModeAutoIcon, te as ModeDarkIcon, d as ModeLightIcon, gt as NumberField, Jt as NumberRow, Ze as OptionsBar, Ce as OverlayPortalProvider, ct as PaintInput, m as PanIcon, st as PatternPicker, b as PauseIcon, ge as PenIcon, o as PencilIcon, w as PinIcon, u as PlayIcon, Ot as Plot2D, jn as PointPlotter, C as PolygonIcon, $ as Powerline, be as PrefsDialog, ve as PrefsForm, Yt as PropertyGroup, It as PropertyList, Ht as PropertyPanel, Xt as PropertyRow, Lt as PropertySpan, vt as Radio, _t as RadioGroup, T as RandomizeIcon, yt as RangeSlider, l as RectIcon, p as RedoIcon, re as RefreshIcon, f as RemoveIcon, D as ResetIcon, on as ResizeHandle, at as SceneGradientHandles, E as SearchIcon, pt as Select, O as SelectIcon, ft as SelectItem, Rt as SelectRow, an as SelectionPanel, sn as Sidebar, cn as SidebarPanel, Ue as Slider, Kt as SliderRow, y as SnapIcon, i as SnapshotIcon, L as SortIcon, le as StarIcon, dn as StatusBar, ln as StatusBarItem, un as StatusBarSpacer, X as StepIcon, ae as StopIcon, Vt as Subpanel, bt as Switch, bn as Tab, vn as TabList, yn as TabPanel, _n as Tabs, U as TextIcon, Ut as TextRow, zn as Timeline, On as ToastQueue, An as ToastRegion, Ye as ToggleBar, Bt as ToggleRow, fn as ToolButton, pn as ToolGroup, $e as ToolOptionsBar, gn as ToolPalette, Te as Tooltip, we as TooltipTrigger, Vn as Transport, j as TuneIcon, Q as UndoIcon, se as UnknownIcon, P as UnlockIcon, q as VisibleIcon, de as WarningIcon, I as ZoomInIcon, z as ZoomOutIcon, nn as aggregateValue, Jn as chromaAt, $t as classifyKind, At as createFunctionLayer, Pt as createSetCurveOp, kn as createToastQueue, Dn as defaultToastQueue, Be as detectPlatform, t as dlog, Hn as easingBezier, In as easingLabel, Zt as effectiveSections, ut as fieldClasses, Ge as formatNumber, mn as formatShortcut, hn as formatShortcutParts, Ke as formatZoom, kt as functionLayerState, Re as inferKeycapKind, e as isDebugEnabled, wt as isPrefLeaf, Ve as keyGlyph, Le as keySpecFromKey, ze as keySpecsFromMods, tn as kindBreakdown, Mn as linearScale, Nn as logScale, Et as modelToPlot, xe as nearestPortalHost, rn as nodeValueAt, qn as oklchToHex, nt as paintGradientTrack, We as parseSignedNumber, Dt as plotToModel, St as prefDisplayBounds, Ct as prefValueAtPath, Ln as samePath, Mt as sampleByInterpolation, Rn as sampleEasing, ot as seedPattern, Qt as setAtPath, ye as solidColorOf, _e as strokeColorOf, En as toast, Se as useOverlayPortal, Ae as useReorderDragList, Xe as useRovingTabIndex, xt as visiblePrefSubtree };
|
|
76
79
|
|
|
77
80
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/color/oklch.ts"],"sourcesContent":["// OKLCH math from Björn Ottosson: https://bottosson.github.io/posts/oklab/\nimport { oklchToOklab, oklabToSrgbU8, rgbaToHex } from '@weasel-js/core';\n\n/**\n * A chroma envelope over lightness, as three linear segments: flat at `cBot`\n * below `lRange[0]`, rising to `cPeak` at `midL`, falling to `cTop` at\n * `lRange[1]`, flat beyond. Keeps a color ramp inside gamut at the light and\n * dark ends while staying saturated through the middle.\n */\nexport type ChromaCurve = {\n lRange: [number, number];\n midL: number;\n cBot: number;\n cPeak: number;\n cTop: number;\n};\n\n/** A single lightness/chroma sample. */\nexport type ChromaCurvePoint = { L: number; C: number };\n\n/**\n * Converts an OKLCH color to a gamut-clipped `#rrggbb` string. Hue is in\n * degrees, unlike the kit's OKLab helpers which take radians.\n */\nexport function oklchToHex(L: number, C: number, Hdeg: number): string {\n // Delegate to the kit's OKLab pipeline (kit angle unit is radians) →\n // gamut-clipped u8 sRGB → `#rrggbb`.\n const [l, a, b] = oklchToOklab(L, C, (Hdeg * Math.PI) / 180);\n const [r, g, bl] = oklabToSrgbU8(l, a, b);\n return rgbaToHex([r / 255, g / 255, bl / 255]);\n}\n\n/** Evaluates a {@link ChromaCurve} at a lightness, clamping outside its range. */\nexport function chromaAt(L: number, curve: ChromaCurve): number {\n const [lo, hi] = curve.lRange;\n if (L <= lo) return curve.cBot;\n if (L >= hi) return curve.cTop;\n if (L <= curve.midL) return curve.cBot + (curve.cPeak - curve.cBot) * ((L - lo) / (curve.midL - lo));\n return curve.cPeak + (curve.cTop - curve.cPeak) * ((L - curve.midL) / (hi - curve.midL));\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/color/oklch.ts"],"sourcesContent":["// OKLCH math from Björn Ottosson: https://bottosson.github.io/posts/oklab/\nimport { oklchToOklab, oklabToSrgbU8, rgbaToHex } from '@weasel-js/core';\n\n/**\n * A chroma envelope over lightness, as three linear segments: flat at `cBot`\n * below `lRange[0]`, rising to `cPeak` at `midL`, falling to `cTop` at\n * `lRange[1]`, flat beyond. Keeps a color ramp inside gamut at the light and\n * dark ends while staying saturated through the middle.\n */\nexport type ChromaCurve = {\n lRange: [number, number];\n midL: number;\n cBot: number;\n cPeak: number;\n cTop: number;\n};\n\n/** A single lightness/chroma sample. */\nexport type ChromaCurvePoint = { L: number; C: number };\n\n/**\n * Converts an OKLCH color to a gamut-clipped `#rrggbb` string. Hue is in\n * degrees, unlike the kit's OKLab helpers which take radians.\n */\nexport function oklchToHex(L: number, C: number, Hdeg: number): string {\n // Delegate to the kit's OKLab pipeline (kit angle unit is radians) →\n // gamut-clipped u8 sRGB → `#rrggbb`.\n const [l, a, b] = oklchToOklab(L, C, (Hdeg * Math.PI) / 180);\n const [r, g, bl] = oklabToSrgbU8(l, a, b);\n return rgbaToHex([r / 255, g / 255, bl / 255]);\n}\n\n/** Evaluates a {@link ChromaCurve} at a lightness, clamping outside its range. */\nexport function chromaAt(L: number, curve: ChromaCurve): number {\n const [lo, hi] = curve.lRange;\n if (L <= lo) return curve.cBot;\n if (L >= hi) return curve.cTop;\n if (L <= curve.midL) return curve.cBot + (curve.cPeak - curve.cBot) * ((L - lo) / (curve.midL - lo));\n return curve.cPeak + (curve.cTop - curve.cPeak) * ((L - curve.midL) / (hi - curve.midL));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,SAAgB,GAAW,GAAW,GAAW,GAAsB;CAGrE,IAAM,CAAC,GAAG,GAAG,KAAK,GAAa,GAAG,GAAI,IAAO,KAAK,KAAM,IAAI,EACtD,CAAC,GAAG,GAAG,KAAM,GAAc,GAAG,GAAG,EAAE;AACzC,QAAO,GAAU;EAAC,IAAI;EAAK,IAAI;EAAK,IAAK;EAAI,CAAC;;AAIhD,SAAgB,GAAS,GAAW,GAA4B;CAC9D,IAAM,CAAC,GAAI,KAAM,EAAM;AAIvB,QAHI,KAAK,IAAW,EAAM,OACtB,KAAK,IAAW,EAAM,OACtB,KAAK,EAAM,OAAa,EAAM,QAAQ,EAAM,QAAQ,EAAM,UAAU,IAAI,MAAO,EAAM,OAAO,MACzF,EAAM,SAAS,EAAM,OAAO,EAAM,WAAW,IAAI,EAAM,SAAS,IAAK,EAAM"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The nearest element `from` sits inside that can host a portalled overlay,
|
|
4
|
+
* or `null` when there is none and the body is the only answer.
|
|
5
|
+
*/
|
|
6
|
+
export declare function nearestPortalHost(from: Element | null | undefined): HTMLElement | null;
|
|
7
|
+
/** Props for {@link OverlayPortalProvider}. */
|
|
8
|
+
export interface OverlayPortalProviderProps {
|
|
9
|
+
/** Where overlays in this subtree portal. `null` means `document.body`. */
|
|
10
|
+
container: Element | null;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Sets the portal container for every weasel overlay rendered below it,
|
|
15
|
+
* overriding the nearest-themed-ancestor default. An individual overlay's
|
|
16
|
+
* own `portalContainer` prop still wins.
|
|
17
|
+
*/
|
|
18
|
+
export declare function OverlayPortalProvider({ container, children }: OverlayPortalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/** The `portalContainer` prop every weasel overlay accepts. */
|
|
20
|
+
export interface OverlayPortalProps {
|
|
21
|
+
/**
|
|
22
|
+
* Where the overlay's portal mounts. Defaults to the nearest ancestor of
|
|
23
|
+
* the overlay's own position that carries a weasel theme, so the overlay
|
|
24
|
+
* resolves the same `--wzl-*` tokens as the control it belongs to. Pass
|
|
25
|
+
* `null` for `document.body`.
|
|
26
|
+
*/
|
|
27
|
+
portalContainer?: Element | null;
|
|
28
|
+
}
|
|
29
|
+
/** React Aria props minus the portal key a weasel overlay owns. */
|
|
30
|
+
export type WithoutPortalTarget<T> = Omit<T, 'UNSTABLE_portalContainer'>;
|
|
31
|
+
/** Spread onto the React Aria overlay. The unstable key is spelled here and
|
|
32
|
+
* nowhere else in the package, so an upstream rename lands in one file. */
|
|
33
|
+
export interface OverlayPortalTarget {
|
|
34
|
+
UNSTABLE_portalContainer: Element | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Resolves where an overlay should portal, and the anchor that answers it.
|
|
38
|
+
*
|
|
39
|
+
* The result goes to React Aria as `UNSTABLE_portalContainer`. Its documented
|
|
40
|
+
* replacement, `UNSAFE_PortalProvider`, is not re-exported by
|
|
41
|
+
* react-aria-components 1.18, and reaching past it to `react-aria` for the
|
|
42
|
+
* provider risks a second copy of that package whose context the overlays
|
|
43
|
+
* never read — a failure that shows up as an unthemed overlay, not an error.
|
|
44
|
+
*
|
|
45
|
+
* Render `anchor` at the component's own position in the tree — outside the
|
|
46
|
+
* portal — and spread `portalProps` onto the React Aria overlay. The anchor
|
|
47
|
+
* is what "nearest themed ancestor" is measured from; the first render has
|
|
48
|
+
* none yet, so an overlay that mounts already open lands in its host on the
|
|
49
|
+
* following render, before paint.
|
|
50
|
+
*/
|
|
51
|
+
export declare function useOverlayPortal(explicit?: Element | null): {
|
|
52
|
+
anchor: ReactElement;
|
|
53
|
+
portalProps: OverlayPortalTarget;
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=portalHost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portalHost.d.ts","sourceRoot":"","sources":["../../src/overlays/portalHost.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuC,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW/F;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,WAAW,GAAG,IAAI,CAEtF;AAKD,+CAA+C;AAC/C,MAAM,WAAW,0BAA0B;IACzC,2EAA2E;IAC3E,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,0BAA0B,2CAIxF;AAED,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,0BAA0B,CAAC,CAAC;AAEzE;4EAC4E;AAC5E,MAAM,WAAW,mBAAmB;IAClC,wBAAwB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG;IAC3D,MAAM,EAAE,YAAY,CAAC;IACrB,WAAW,EAAE,mBAAmB,CAAC;CAClC,CAeA"}
|