@weasel-js/labkit 1.7.2 → 1.8.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.
Files changed (60) hide show
  1. package/dist/_dts/{CanvasStackContext-Cjy6I-Iv.d.ts → CanvasStackContext-C0fzFsQg.d.ts} +1 -1
  2. package/dist/_dts/{Stage-D6t7o0pF.d.ts → Stage-Cvwxdnfp.d.ts} +2 -2
  3. package/dist/_dts/{index-BTmaRy6a.d.ts → index-DEHRoTXK.d.ts} +2 -2
  4. package/dist/_dts/{index-DCMA4Fy1.d.ts → index-DRaswz91.d.ts} +1 -1
  5. package/dist/_dts/{types-BUBSIZuV.d.ts → types-DUfQ0isU.d.ts} +5 -1
  6. package/dist/_dts/{useTrialState-Bh8bzFgE.d.ts → useTrialState-CS4TdWPW.d.ts} +1 -1
  7. package/dist/canvas/index.d.ts +5 -5
  8. package/dist/chrome/index.d.ts +3 -3
  9. package/dist/chrome/index.js +4 -4
  10. package/dist/{chunk-XRX5S5NT.js → chunk-3L4MLLQB.js} +4 -4
  11. package/dist/chunk-3L4MLLQB.js.map +1 -0
  12. package/dist/{chunk-WWJDPNZZ.js → chunk-7KAETQSS.js} +19 -19
  13. package/dist/chunk-7KAETQSS.js.map +1 -0
  14. package/dist/{chunk-YCFKW5RX.js → chunk-J5HJJDLF.js} +11 -2
  15. package/dist/chunk-J5HJJDLF.js.map +1 -0
  16. package/dist/{chunk-E6NARGU7.js → chunk-MOTDMMMN.js} +3 -3
  17. package/dist/{chunk-E6NARGU7.js.map → chunk-MOTDMMMN.js.map} +1 -1
  18. package/dist/{chunk-XZDCEMEL.js → chunk-NVKBL7ZE.js} +3 -3
  19. package/dist/{chunk-XZDCEMEL.js.map → chunk-NVKBL7ZE.js.map} +1 -1
  20. package/dist/chunk-WURZTJGQ.js +15756 -0
  21. package/dist/chunk-WURZTJGQ.js.map +1 -0
  22. package/dist/{chunk-IBVRMHW5.js → chunk-XXACAPVU.js} +3 -3
  23. package/dist/{chunk-IBVRMHW5.js.map → chunk-XXACAPVU.js.map} +1 -1
  24. package/dist/{chunk-RODIY7HI.js → chunk-YDE6XATS.js} +7 -7
  25. package/dist/{chunk-RODIY7HI.js.map → chunk-YDE6XATS.js.map} +1 -1
  26. package/dist/{chunk-WFALF2X2.js → chunk-YX75W6EK.js} +53 -16
  27. package/dist/chunk-YX75W6EK.js.map +1 -0
  28. package/dist/config/index.d.ts +12 -5
  29. package/dist/config/index.js +2 -2
  30. package/dist/controls/index.d.ts +2 -2
  31. package/dist/controls/index.js +3 -3
  32. package/dist/dragdrop/index.d.ts +2 -2
  33. package/dist/index.d.ts +10 -10
  34. package/dist/index.js +175 -189
  35. package/dist/index.js.map +1 -1
  36. package/dist/layers/index.d.ts +2 -2
  37. package/dist/layers/index.js +1 -1
  38. package/dist/loupe/index.d.ts +1 -1
  39. package/dist/overview/index.d.ts +1 -1
  40. package/dist/passthrough/weasel-ui.js +1 -1
  41. package/dist/primitives/index.js +3 -3
  42. package/dist/state/index.d.ts +4 -4
  43. package/dist/state/index.js +3 -3
  44. package/dist/styles.css +21 -9
  45. package/dist/undo/index.d.ts +2 -2
  46. package/package.json +11 -11
  47. package/src/config/builder.ts +11 -1
  48. package/src/config/types.ts +5 -1
  49. package/src/controls/ControlMatrix.less +7 -2
  50. package/src/controls/ControlMatrix.test.tsx +10 -0
  51. package/src/controls/ControlMatrix.tsx +58 -8
  52. package/src/controls/ControlPanel.test.tsx +30 -0
  53. package/src/styles.less +2 -0
  54. package/src/theme/interstellar.theme.json +0 -14
  55. package/dist/chunk-U6UQVGFP.js +0 -15583
  56. package/dist/chunk-U6UQVGFP.js.map +0 -1
  57. package/dist/chunk-WFALF2X2.js.map +0 -1
  58. package/dist/chunk-WWJDPNZZ.js.map +0 -1
  59. package/dist/chunk-XRX5S5NT.js.map +0 -1
  60. package/dist/chunk-YCFKW5RX.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  export { LayerList, LayerListItem, LayerListProps, LayerMove, moveLayers } from '@weasel-js/ui';
2
- export { ad as LayerCapability, ae as LayerDescriptor } from '../_dts/index-DCMA4Fy1.js';
2
+ export { ad as LayerCapability, ae as LayerDescriptor } from '../_dts/index-DRaswz91.js';
3
3
  import '@weasel-js/core';
4
4
  import 'react';
5
5
  import '@weasel-js/theme';
6
- import '../_dts/types-BUBSIZuV.js';
6
+ import '../_dts/types-DUfQ0isU.js';
7
7
  import '@weasel-js/quantity';
8
8
  import '@weasel-js/geom';
9
9
  import '../_dts/types-DJ79Tg5J.js';
@@ -1,5 +1,5 @@
1
1
  import '../chunk-2RVCB2PT.js';
2
- export { D2 as LayerList, S2 as moveLayers } from '../chunk-U6UQVGFP.js';
2
+ export { D2 as LayerList, S as moveLayers } from '../chunk-WURZTJGQ.js';
3
3
  import '../chunk-E23Q6A3Y.js';
4
4
  import '../chunk-XVUKDSYV.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -8,7 +8,7 @@ import { ViewTransform } from '../index.js';
8
8
  import { Action } from '@weasel-js/core';
9
9
  import '@weasel-js/ui';
10
10
  import '@weasel-js/theme';
11
- import '../_dts/types-BUBSIZuV.js';
11
+ import '../_dts/types-DUfQ0isU.js';
12
12
  import '@weasel-js/quantity';
13
13
  import '@weasel-js/geom';
14
14
  import '../_dts/types-DJ79Tg5J.js';
@@ -5,7 +5,7 @@ import { FloatingPanelProps } from '../index.js';
5
5
  import '@weasel-js/ui';
6
6
  import '@weasel-js/core';
7
7
  import '@weasel-js/theme';
8
- import '../_dts/types-BUBSIZuV.js';
8
+ import '../_dts/types-DUfQ0isU.js';
9
9
  import '@weasel-js/quantity';
10
10
  import '@weasel-js/geom';
11
11
  import '../_dts/types-DJ79Tg5J.js';
@@ -1,5 +1,5 @@
1
1
  import '../chunk-CZZPXUOU.js';
2
- export { b2 as ActionBar, Xt as Badge, c as Button, a8 as ButtonBar, a7 as COLOR_MODE_OPTIONS, v2 as Callout, f4 as CalloutTrigger, c6 as Checkbox, a2 as CloseButton, s3 as ColorModeControl, b4 as ComboBox, C2 as ComboBoxItem, L as CurveEditor, f as DataGrid, d3 as Dialog, i3 as Disclosure, r as DisclosureMark, a3 as DisclosureRow, a4 as DragGhost, n4 as DragGrip, Ze as EDGE_PROFILES, n5 as Field, p3 as GestureRoute, n as ICON_PATHS, l as Icon, u2 as Input, f2 as KeyCap, p as KeySequence, D2 as LayerList, l6 as ListEditor, MINUS_SIGN, p4 as MenuButton, y as NumberField, r3 as OptionsBar, w as Plot2D, n9 as PointPlotter, r4 as Powerline, R2 as PrefsDialog, j2 as PrefsForm, u3 as Radio, l5 as RadioGroup, l10 as RangeSlider, O2 as Select, B2 as SelectItem, n6 as Sidebar, a9 as SidebarPanel, S as Slider, a6 as Switch, c7 as Tab, s4 as TabList, l9 as TabPanel, o5 as Tabs, o3 as ThemeSwitcher, a5 as ToggleBar, o4 as ToolButton, n8 as ToolGroup, h4 as ToolPalette, Z2 as chromaAt, o2 as detectPlatform, a as dlog, r2 as fieldClasses, formatNumber, n2 as formatShortcut, t as formatShortcutParts, f3 as gestureRouteSegments, d2 as inferKeycapKind, i as isDebugEnabled, c4 as isPrefLeaf, e as keyGlyph, l4 as keySpecFromKey, s2 as keySpecsFromMods, m as keySpecsFromShortcut, S2 as moveLayers, X2 as oklchToHex, D as paintGradientTrack, l7 as prefValueAtPath, x as sampleByInterpolation, Vi as useAsyncOptions, d as useReorderDragList, c3 as useRovingTabIndex, u4 as visiblePrefSubtree } from '../chunk-U6UQVGFP.js';
2
+ export { b2 as ActionBar, Xt as Badge, c as Button, a7 as ButtonBar, a6 as COLOR_MODE_OPTIONS, v3 as Callout, f5 as CalloutTrigger, c4 as Checkbox, a2 as CloseButton, s4 as ColorModeControl, b4 as ComboBox, C2 as ComboBoxItem, L as CurveEditor, f as DataGrid, d3 as Dialog, i3 as Disclosure, r as DisclosureMark, a3 as DisclosureRow, a4 as DragGhost, n4 as DragGrip, Ze as EDGE_PROFILES, n5 as Field, p5 as GestureRoute, n as ICON_PATHS, l as Icon, u2 as Input, f2 as KeyCap, p as KeySequence, D2 as LayerList, l6 as ListEditor, MINUS_SIGN, p6 as MenuButton, y as NumberField, r3 as OptionsBar, w as Plot2D, n9 as PointPlotter, r4 as Powerline, R2 as PrefsDialog, j2 as PrefsForm, u3 as Radio, l5 as RadioGroup, l9 as RangeSlider, O2 as Select, B2 as SelectItem, n6 as Sidebar, a8 as SidebarPanel, w2 as Slider, a5 as Switch, c5 as Tab, s5 as TabList, l8 as TabPanel, o5 as Tabs, o3 as ThemeSwitcher, s3 as ToggleBar, o4 as ToolButton, n8 as ToolGroup, h3 as ToolPalette, Z2 as chromaAt, o2 as detectPlatform, a as dlog, r2 as fieldClasses, formatNumber, n2 as formatShortcut, t as formatShortcutParts, f4 as gestureRouteSegments, d2 as inferKeycapKind, i as isDebugEnabled, d4 as isPrefLeaf, e as keyGlyph, l4 as keySpecFromKey, s2 as keySpecsFromMods, m as keySpecsFromShortcut, S as moveLayers, X2 as oklchToHex, D as paintGradientTrack, f3 as prefValueAtPath, x as sampleByInterpolation, Gi as useAsyncOptions, d as useReorderDragList, c3 as useRovingTabIndex, p3 as visiblePrefSubtree } from '../chunk-WURZTJGQ.js';
3
3
  import '../chunk-E23Q6A3Y.js';
4
4
  import '../chunk-XVUKDSYV.js';
5
5
  //# sourceMappingURL=weasel-ui.js.map
@@ -1,11 +1,11 @@
1
- export { JobProgress, Legend, Readout, Split } from '../chunk-XZDCEMEL.js';
1
+ export { JobProgress, Legend, Readout, Split } from '../chunk-NVKBL7ZE.js';
2
2
  export { FloatingPanel } from '../chunk-XE5HJOPL.js';
3
- export { FpsMeter, ScaleIndicator, StatusBar, Toolbar, ZoomControl } from '../chunk-XRX5S5NT.js';
3
+ export { FpsMeter, ScaleIndicator, StatusBar, Toolbar, ZoomControl } from '../chunk-3L4MLLQB.js';
4
4
  import '../chunk-CZZPXUOU.js';
5
5
  import '../chunk-PMLZP7RT.js';
6
6
  import '../chunk-ZQIHJXP4.js';
7
7
  import '../chunk-2YILQ7Y5.js';
8
- import '../chunk-U6UQVGFP.js';
8
+ import '../chunk-WURZTJGQ.js';
9
9
  import '../chunk-E23Q6A3Y.js';
10
10
  import '../chunk-XVUKDSYV.js';
11
11
  //# sourceMappingURL=index.js.map
@@ -1,13 +1,13 @@
1
- export { C as CURRENT_DOCUMENT_VERSION, I as IndexedDbAdapterOptions, L as LabStore, a as LabStoreActions, b as LabStoreContext, c as LabStoreProvider, O as OpenLabStoreOptions, d as OpenedLabStore, P as PersistedStateOptions, e as Persistence, f as PersistenceProps, R as RecordCache, g as RecordChange, T as TrialIdContext, h as TrialIdProvider, i as createIndexedDbAdapter, j as createLabStore, k as createMemoryAdapter, l as indexedDbAdapter, m as labDocumentKey, n as localStorageAdapter, o as noneAdapter, p as openLabStore, q as quarantineKey, s as sessionStorageAdapter, u as urlHashAdapter, r as useLabStore, t as usePersistedState, v as useTrialId, w as useTrialState } from '../_dts/useTrialState-Bh8bzFgE.js';
2
- import { S as SerializedTrial, I as InstrumentSerializers, T as TrialRecord, U as UndoStack, c as StorageAdapter } from '../_dts/index-DCMA4Fy1.js';
3
- export { C as CreateLabStoreOptions, L as LabDocument, d as LabStoreState, M as Migration, e as SavedSnapshot, f as StorageChange, g as TrialStateHandle, h as UndockedPanel, i as UndockedPanels, j as dockPanel, p as panelKey, u as undockPanel } from '../_dts/index-DCMA4Fy1.js';
1
+ export { C as CURRENT_DOCUMENT_VERSION, I as IndexedDbAdapterOptions, L as LabStore, a as LabStoreActions, b as LabStoreContext, c as LabStoreProvider, O as OpenLabStoreOptions, d as OpenedLabStore, P as PersistedStateOptions, e as Persistence, f as PersistenceProps, R as RecordCache, g as RecordChange, T as TrialIdContext, h as TrialIdProvider, i as createIndexedDbAdapter, j as createLabStore, k as createMemoryAdapter, l as indexedDbAdapter, m as labDocumentKey, n as localStorageAdapter, o as noneAdapter, p as openLabStore, q as quarantineKey, s as sessionStorageAdapter, u as urlHashAdapter, r as useLabStore, t as usePersistedState, v as useTrialId, w as useTrialState } from '../_dts/useTrialState-CS4TdWPW.js';
2
+ import { S as SerializedTrial, I as InstrumentSerializers, T as TrialRecord, U as UndoStack, c as StorageAdapter } from '../_dts/index-DRaswz91.js';
3
+ export { C as CreateLabStoreOptions, L as LabDocument, d as LabStoreState, M as Migration, e as SavedSnapshot, f as StorageChange, g as TrialStateHandle, h as UndockedPanel, i as UndockedPanels, j as dockPanel, p as panelKey, u as undockPanel } from '../_dts/index-DRaswz91.js';
4
4
  import * as react from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import 'zustand/vanilla';
7
7
  import '@weasel-js/ui';
8
8
  import '@weasel-js/core';
9
9
  import '@weasel-js/theme';
10
- import '../_dts/types-BUBSIZuV.js';
10
+ import '../_dts/types-DUfQ0isU.js';
11
11
  import '@weasel-js/quantity';
12
12
  import '@weasel-js/geom';
13
13
  import '../_dts/types-DJ79Tg5J.js';
@@ -1,8 +1,8 @@
1
- import { openLabStore } from '../chunk-IBVRMHW5.js';
2
- export { CURRENT_DOCUMENT_VERSION, createLabStore, dockPanel, labDocumentKey, openLabStore, panelKey, quarantineKey, undockPanel, useTrialState } from '../chunk-IBVRMHW5.js';
1
+ import { openLabStore } from '../chunk-XXACAPVU.js';
2
+ export { CURRENT_DOCUMENT_VERSION, createLabStore, dockPanel, labDocumentKey, openLabStore, panelKey, quarantineKey, undockPanel, useTrialState } from '../chunk-XXACAPVU.js';
3
3
  import { useWarnIgnoredChange, useOpenOnce, defaultStorage, PersistenceContext } from '../chunk-PMLZP7RT.js';
4
4
  export { Persistence, createIndexedDbAdapter, createMemoryAdapter, decodeUrlHash, deserializeTrials, emptyUndoStack, encodeUrlHash, indexedDbAdapter, labStorageKey, localStorageAdapter, noneAdapter, serializeTrials, sessionStorageAdapter, urlHashAdapter, usePersistedState } from '../chunk-PMLZP7RT.js';
5
- import '../chunk-YCFKW5RX.js';
5
+ import '../chunk-J5HJJDLF.js';
6
6
  import '../chunk-READTDQX.js';
7
7
  import { LabStoreProvider, TrialIdProvider } from '../chunk-2YILQ7Y5.js';
8
8
  export { LabStoreContext, LabStoreProvider, TrialIdContext, TrialIdProvider, useLabStore, useTrialId } from '../chunk-2YILQ7Y5.js';