@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.
- package/dist/_dts/{CanvasStackContext-Cjy6I-Iv.d.ts → CanvasStackContext-C0fzFsQg.d.ts} +1 -1
- package/dist/_dts/{Stage-D6t7o0pF.d.ts → Stage-Cvwxdnfp.d.ts} +2 -2
- package/dist/_dts/{index-BTmaRy6a.d.ts → index-DEHRoTXK.d.ts} +2 -2
- package/dist/_dts/{index-DCMA4Fy1.d.ts → index-DRaswz91.d.ts} +1 -1
- package/dist/_dts/{types-BUBSIZuV.d.ts → types-DUfQ0isU.d.ts} +5 -1
- package/dist/_dts/{useTrialState-Bh8bzFgE.d.ts → useTrialState-CS4TdWPW.d.ts} +1 -1
- package/dist/canvas/index.d.ts +5 -5
- package/dist/chrome/index.d.ts +3 -3
- package/dist/chrome/index.js +4 -4
- package/dist/{chunk-XRX5S5NT.js → chunk-3L4MLLQB.js} +4 -4
- package/dist/chunk-3L4MLLQB.js.map +1 -0
- package/dist/{chunk-WWJDPNZZ.js → chunk-7KAETQSS.js} +19 -19
- package/dist/chunk-7KAETQSS.js.map +1 -0
- package/dist/{chunk-YCFKW5RX.js → chunk-J5HJJDLF.js} +11 -2
- package/dist/chunk-J5HJJDLF.js.map +1 -0
- package/dist/{chunk-E6NARGU7.js → chunk-MOTDMMMN.js} +3 -3
- package/dist/{chunk-E6NARGU7.js.map → chunk-MOTDMMMN.js.map} +1 -1
- package/dist/{chunk-XZDCEMEL.js → chunk-NVKBL7ZE.js} +3 -3
- package/dist/{chunk-XZDCEMEL.js.map → chunk-NVKBL7ZE.js.map} +1 -1
- package/dist/chunk-WURZTJGQ.js +15756 -0
- package/dist/chunk-WURZTJGQ.js.map +1 -0
- package/dist/{chunk-IBVRMHW5.js → chunk-XXACAPVU.js} +3 -3
- package/dist/{chunk-IBVRMHW5.js.map → chunk-XXACAPVU.js.map} +1 -1
- package/dist/{chunk-RODIY7HI.js → chunk-YDE6XATS.js} +7 -7
- package/dist/{chunk-RODIY7HI.js.map → chunk-YDE6XATS.js.map} +1 -1
- package/dist/{chunk-WFALF2X2.js → chunk-YX75W6EK.js} +53 -16
- package/dist/chunk-YX75W6EK.js.map +1 -0
- package/dist/config/index.d.ts +12 -5
- package/dist/config/index.js +2 -2
- package/dist/controls/index.d.ts +2 -2
- package/dist/controls/index.js +3 -3
- package/dist/dragdrop/index.d.ts +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +175 -189
- package/dist/index.js.map +1 -1
- package/dist/layers/index.d.ts +2 -2
- package/dist/layers/index.js +1 -1
- package/dist/loupe/index.d.ts +1 -1
- package/dist/overview/index.d.ts +1 -1
- package/dist/passthrough/weasel-ui.js +1 -1
- package/dist/primitives/index.js +3 -3
- package/dist/state/index.d.ts +4 -4
- package/dist/state/index.js +3 -3
- package/dist/styles.css +21 -9
- package/dist/undo/index.d.ts +2 -2
- package/package.json +11 -11
- package/src/config/builder.ts +11 -1
- package/src/config/types.ts +5 -1
- package/src/controls/ControlMatrix.less +7 -2
- package/src/controls/ControlMatrix.test.tsx +10 -0
- package/src/controls/ControlMatrix.tsx +58 -8
- package/src/controls/ControlPanel.test.tsx +30 -0
- package/src/styles.less +2 -0
- package/src/theme/interstellar.theme.json +0 -14
- package/dist/chunk-U6UQVGFP.js +0 -15583
- package/dist/chunk-U6UQVGFP.js.map +0 -1
- package/dist/chunk-WFALF2X2.js.map +0 -1
- package/dist/chunk-WWJDPNZZ.js.map +0 -1
- package/dist/chunk-XRX5S5NT.js.map +0 -1
- package/dist/chunk-YCFKW5RX.js.map +0 -1
package/dist/layers/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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';
|
package/dist/layers/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-2RVCB2PT.js';
|
|
2
|
-
export { D2 as LayerList,
|
|
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
|
package/dist/loupe/index.d.ts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/overview/index.d.ts
CHANGED
|
@@ -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-
|
|
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,
|
|
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
|
package/dist/primitives/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { JobProgress, Legend, Readout, Split } from '../chunk-
|
|
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-
|
|
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-
|
|
8
|
+
import '../chunk-WURZTJGQ.js';
|
|
9
9
|
import '../chunk-E23Q6A3Y.js';
|
|
10
10
|
import '../chunk-XVUKDSYV.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
package/dist/state/index.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import { S as SerializedTrial, I as InstrumentSerializers, T as TrialRecord, U as UndoStack, c as StorageAdapter } from '../_dts/index-
|
|
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-
|
|
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-
|
|
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';
|
package/dist/state/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openLabStore } from '../chunk-
|
|
2
|
-
export { CURRENT_DOCUMENT_VERSION, createLabStore, dockPanel, labDocumentKey, openLabStore, panelKey, quarantineKey, undockPanel, useTrialState } from '../chunk-
|
|
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-
|
|
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';
|