@takazudo/zdtp 0.4.1 → 0.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.
Files changed (173) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +78 -25
  3. package/dist/apply/apply-token-overrides.d.ts +0 -1
  4. package/dist/apply/build-apply-overrides.d.ts +4 -3
  5. package/dist/apply/route-tokens-to-files.d.ts +0 -1
  6. package/dist/apply/tier-resolver.d.ts +0 -1
  7. package/dist/apply-modal.d.ts +0 -1
  8. package/dist/astro/DesignTokenPanelHost.astro +2 -4
  9. package/dist/astro/host-adapter.d.ts +0 -1
  10. package/dist/astro/host-adapter.js +69 -46
  11. package/dist/astro/index.d.ts +0 -1
  12. package/dist/astro/index.js +1 -1
  13. package/dist/autoload-state-B1MWY_Pp.js +46 -0
  14. package/dist/bin/cors.d.ts +0 -1
  15. package/dist/bin/parse-args.d.ts +0 -1
  16. package/dist/bin/server.d.ts +0 -1
  17. package/dist/bin/server.js +1 -1
  18. package/dist/components/color-picker/color-field.d.ts +0 -1
  19. package/dist/components/color-picker/color-picker.d.ts +12 -3
  20. package/dist/components/color-picker/custom-slider.d.ts +0 -1
  21. package/dist/components/color-picker/index.d.ts +0 -1
  22. package/dist/components/palette-chart/index.d.ts +0 -1
  23. package/dist/components/palette-chart/palette-chart.d.ts +0 -1
  24. package/dist/config/cluster-config.d.ts +0 -1
  25. package/dist/config/color-scheme-utils.d.ts +0 -1
  26. package/dist/config/color-schemes.d.ts +0 -1
  27. package/dist/config/panel-config.d.ts +19 -1
  28. package/dist/controls/dismiss-layer.d.ts +55 -0
  29. package/dist/controls/pill-slider-row.d.ts +0 -1
  30. package/dist/controls/role-button.d.ts +0 -1
  31. package/dist/controls/sanitize-css-value.d.ts +0 -1
  32. package/dist/controls/select-row.d.ts +0 -1
  33. package/dist/controls/slider-row.d.ts +0 -1
  34. package/dist/controls/text-row.d.ts +0 -1
  35. package/dist/controls/tier-ref-selector.d.ts +0 -1
  36. package/dist/controls/token-label.d.ts +0 -1
  37. package/dist/controls/tooltip.d.ts +0 -1
  38. package/dist/controls/use-dialog-backdrop-close.d.ts +32 -0
  39. package/dist/element-path/build-element-path.d.ts +0 -1
  40. package/dist/element-path/element-path-context.d.ts +0 -1
  41. package/dist/element-path/element-path-orchestrator.d.ts +0 -1
  42. package/dist/element-path/element-path-state.d.ts +3 -3
  43. package/dist/element-path/element-path-toast.d.ts +0 -1
  44. package/dist/element-path/element-path-toggle-button.d.ts +0 -1
  45. package/dist/element-path/index.d.ts +0 -1
  46. package/dist/element-path/inspector-overlay.d.ts +0 -1
  47. package/dist/export-modal.d.ts +0 -1
  48. package/dist/highlight/find-elements.d.ts +0 -1
  49. package/dist/highlight/highlight-orchestrator.d.ts +0 -1
  50. package/dist/highlight/highlight-overlay.d.ts +0 -1
  51. package/dist/highlight/highlight-settings-popover.d.ts +0 -1
  52. package/dist/highlight/highlight-state.d.ts +0 -1
  53. package/dist/highlight/highlight-toggle-button.d.ts +0 -1
  54. package/dist/import-modal.d.ts +0 -1
  55. package/dist/index.d.ts +39 -1
  56. package/dist/index.js +3067 -3956
  57. package/dist/{load-routing-XyKgftpe.js → load-routing-DtNTKoLW.js} +1 -1
  58. package/dist/panel-config-3tBEHjvZ.js +493 -0
  59. package/dist/panel.d.ts +0 -1
  60. package/dist/server/create-apply-handler.d.ts +0 -1
  61. package/dist/server/index.d.ts +0 -1
  62. package/dist/server/index.js +1 -1
  63. package/dist/server/load-routing.d.ts +0 -1
  64. package/dist/server/path-safety.d.ts +0 -1
  65. package/dist/server/serialize-write.d.ts +0 -1
  66. package/dist/state/autoload-state.d.ts +91 -0
  67. package/dist/state/persist.d.ts +0 -3
  68. package/dist/state/tweak-state.d.ts +47 -7
  69. package/dist/styles/z-index-tokens.d.ts +35 -0
  70. package/dist/tabs/_generic-item-editor.d.ts +0 -1
  71. package/dist/tabs/color-tab.d.ts +7 -5
  72. package/dist/tabs/font-tab.d.ts +0 -1
  73. package/dist/tabs/generic-tab.d.ts +1 -2
  74. package/dist/tabs/palette/palette-check-view.d.ts +0 -1
  75. package/dist/tabs/palette/palette-edit-view.d.ts +0 -1
  76. package/dist/tabs/palette/palette-readout.d.ts +0 -1
  77. package/dist/tabs/palette/palette-tab.d.ts +0 -1
  78. package/dist/tabs/size-tab.d.ts +0 -1
  79. package/dist/tabs/spacing-tab.d.ts +0 -1
  80. package/dist/testing.d.ts +0 -1
  81. package/dist/testing.js +2 -2
  82. package/dist/tokens/manifest.d.ts +0 -1
  83. package/dist/tokens/tier-model.d.ts +0 -1
  84. package/dist/tweak-state-BEx1SHu7.js +1773 -0
  85. package/dist/utils/color-convert.d.ts +0 -1
  86. package/dist/utils/color-hsla.d.ts +0 -1
  87. package/dist/utils/color-oklch.d.ts +0 -1
  88. package/dist/utils/copy-to-clipboard.d.ts +0 -1
  89. package/dist/utils/design-token-serde.d.ts +2 -2
  90. package/dist/utils/palette-curve.d.ts +0 -1
  91. package/dist/utils/structural-equal.d.ts +0 -1
  92. package/dist/utils/use-portal-mount.d.ts +0 -1
  93. package/dist/utils/wcag-contrast.d.ts +0 -1
  94. package/dist/zdtp.css +1 -1
  95. package/package.json +24 -11
  96. package/dist/apply/apply-token-overrides.d.ts.map +0 -1
  97. package/dist/apply/build-apply-overrides.d.ts.map +0 -1
  98. package/dist/apply/route-tokens-to-files.d.ts.map +0 -1
  99. package/dist/apply/tier-resolver.d.ts.map +0 -1
  100. package/dist/apply-modal.d.ts.map +0 -1
  101. package/dist/astro/host-adapter.d.ts.map +0 -1
  102. package/dist/astro/index.d.ts.map +0 -1
  103. package/dist/bin/cors.d.ts.map +0 -1
  104. package/dist/bin/parse-args.d.ts.map +0 -1
  105. package/dist/bin/server.d.ts.map +0 -1
  106. package/dist/components/color-picker/color-field.d.ts.map +0 -1
  107. package/dist/components/color-picker/color-picker.d.ts.map +0 -1
  108. package/dist/components/color-picker/custom-slider.d.ts.map +0 -1
  109. package/dist/components/color-picker/index.d.ts.map +0 -1
  110. package/dist/components/palette-chart/index.d.ts.map +0 -1
  111. package/dist/components/palette-chart/palette-chart.d.ts.map +0 -1
  112. package/dist/config/cluster-config.d.ts.map +0 -1
  113. package/dist/config/color-scheme-utils.d.ts.map +0 -1
  114. package/dist/config/color-schemes.d.ts.map +0 -1
  115. package/dist/config/panel-config.d.ts.map +0 -1
  116. package/dist/controls/pill-slider-row.d.ts.map +0 -1
  117. package/dist/controls/role-button.d.ts.map +0 -1
  118. package/dist/controls/sanitize-css-value.d.ts.map +0 -1
  119. package/dist/controls/select-row.d.ts.map +0 -1
  120. package/dist/controls/slider-row.d.ts.map +0 -1
  121. package/dist/controls/text-row.d.ts.map +0 -1
  122. package/dist/controls/tier-ref-selector.d.ts.map +0 -1
  123. package/dist/controls/token-label.d.ts.map +0 -1
  124. package/dist/controls/tooltip.d.ts.map +0 -1
  125. package/dist/element-path/build-element-path.d.ts.map +0 -1
  126. package/dist/element-path/element-path-context.d.ts.map +0 -1
  127. package/dist/element-path/element-path-orchestrator.d.ts.map +0 -1
  128. package/dist/element-path/element-path-state.d.ts.map +0 -1
  129. package/dist/element-path/element-path-toast.d.ts.map +0 -1
  130. package/dist/element-path/element-path-toggle-button.d.ts.map +0 -1
  131. package/dist/element-path/index.d.ts.map +0 -1
  132. package/dist/element-path/inspector-overlay.d.ts.map +0 -1
  133. package/dist/export-modal.d.ts.map +0 -1
  134. package/dist/highlight/find-elements.d.ts.map +0 -1
  135. package/dist/highlight/highlight-orchestrator.d.ts.map +0 -1
  136. package/dist/highlight/highlight-overlay.d.ts.map +0 -1
  137. package/dist/highlight/highlight-settings-popover.d.ts.map +0 -1
  138. package/dist/highlight/highlight-state.d.ts.map +0 -1
  139. package/dist/highlight/highlight-toggle-button.d.ts.map +0 -1
  140. package/dist/import-modal.d.ts.map +0 -1
  141. package/dist/index.d.ts.map +0 -1
  142. package/dist/panel-config-066BPYJD.js +0 -411
  143. package/dist/panel.d.ts.map +0 -1
  144. package/dist/server/create-apply-handler.d.ts.map +0 -1
  145. package/dist/server/index.d.ts.map +0 -1
  146. package/dist/server/load-routing.d.ts.map +0 -1
  147. package/dist/server/path-safety.d.ts.map +0 -1
  148. package/dist/server/serialize-write.d.ts.map +0 -1
  149. package/dist/state/persist.d.ts.map +0 -1
  150. package/dist/state/tweak-state.d.ts.map +0 -1
  151. package/dist/tabs/_generic-item-editor.d.ts.map +0 -1
  152. package/dist/tabs/color-tab.d.ts.map +0 -1
  153. package/dist/tabs/font-tab.d.ts.map +0 -1
  154. package/dist/tabs/generic-tab.d.ts.map +0 -1
  155. package/dist/tabs/palette/palette-check-view.d.ts.map +0 -1
  156. package/dist/tabs/palette/palette-edit-view.d.ts.map +0 -1
  157. package/dist/tabs/palette/palette-readout.d.ts.map +0 -1
  158. package/dist/tabs/palette/palette-tab.d.ts.map +0 -1
  159. package/dist/tabs/size-tab.d.ts.map +0 -1
  160. package/dist/tabs/spacing-tab.d.ts.map +0 -1
  161. package/dist/testing.d.ts.map +0 -1
  162. package/dist/tokens/manifest.d.ts.map +0 -1
  163. package/dist/tokens/tier-model.d.ts.map +0 -1
  164. package/dist/tweak-state-Do5gj6Nw.js +0 -730
  165. package/dist/utils/color-convert.d.ts.map +0 -1
  166. package/dist/utils/color-hsla.d.ts.map +0 -1
  167. package/dist/utils/color-oklch.d.ts.map +0 -1
  168. package/dist/utils/copy-to-clipboard.d.ts.map +0 -1
  169. package/dist/utils/design-token-serde.d.ts.map +0 -1
  170. package/dist/utils/palette-curve.d.ts.map +0 -1
  171. package/dist/utils/structural-equal.d.ts.map +0 -1
  172. package/dist/utils/use-portal-mount.d.ts.map +0 -1
  173. package/dist/utils/wcag-contrast.d.ts.map +0 -1
@@ -128,7 +128,10 @@ export declare const DEFAULT_SIZE: PanelSize;
128
128
  /**
129
129
  * Compute the first-open panel size in px. Mirrors the historical CSS
130
130
  * `min(1200, 0.8 * vw)` × `min(800, 0.8 * vh)` rule so existing users
131
- * experience the same default size after this PR ships.
131
+ * experience the same default size, then clamps through `clampSize` so the
132
+ * result respects the MIN_PANEL_* floor and the viewport cap. The floor only
133
+ * bites on phone-width viewports (e.g. 375px → 0.8*375 = 300, raised to the
134
+ * 320 min); on normal viewports the clamp is a no-op.
132
135
  */
133
136
  export declare function defaultSize(): PanelSize;
134
137
  /**
@@ -192,9 +195,13 @@ export type TokenOverrides = Record<string, string>;
192
195
  * Unified persist envelope. Each tab owns its own sub-state so they can
193
196
  * evolve independently.
194
197
  *
195
- * `panelPosition` is persisted alongside the envelope so the user's drag
196
- * location survives reloads. `secondary` carries a second (optional) color
197
- * cluster — absent until a host opts in.
198
+ * Panel position and size are stored in SEPARATE localStorage keys
199
+ * (`-position` / `-size`) and are NOT part of this envelope. The panel reads
200
+ * them via `loadPosition` / `loadSize` on mount; drags / resizes write them
201
+ * directly via `savePosition` / `saveSize`.
202
+ *
203
+ * `secondary` carries a second (optional) color cluster — absent until a host
204
+ * opts in.
198
205
  *
199
206
  * `tabs` is the v3 extension: a tab-keyed map of `TabOverrides` for host-coined
200
207
  * generic tabs that use the tier model. The existing `color`/`spacing`/
@@ -206,7 +213,6 @@ export interface TweakState {
206
213
  spacing: TokenOverrides;
207
214
  typography: TokenOverrides;
208
215
  size: TokenOverrides;
209
- panelPosition?: PanelPosition;
210
216
  secondary?: ColorTweakState;
211
217
  /** Generic tab overrides keyed by tab id. Added in v3 envelope. */
212
218
  tabs?: Record<string, TabOverrides>;
@@ -263,6 +269,20 @@ export declare function setCssVar(name: string, value: string): void;
263
269
  * Resolve a `ColorRef` to a palette index. If it's already a number, use it.
264
270
  * If it's a string, find an exact palette match or the nearest color by RGB
265
271
  * distance. `fallback` is returned only when `ref` is undefined.
272
+ *
273
+ * Match order (format-tolerant + alpha-aware):
274
+ * (a) exact raw-string match — preserves byte-for-byte `oklch()`/hex refs
275
+ * without any lossy normalization (palette refs are usually canonical);
276
+ * (b) OKLCH-aware match — when the ref AND a palette entry both parse as CSS
277
+ * Color 4 `oklch()`, compare canonical `cssToOklcha` forms with a
278
+ * per-channel epsilon (alpha included). This keeps a wide-gamut oklch ref
279
+ * from collapsing to '#000000' under the hex path (jsdom / engines whose
280
+ * canvas can't parse oklch) and keeps a same-L/C/H-different-alpha ref
281
+ * bound to the correct slot;
282
+ * (c) hex fallback — normalize ref + palette to canonical hex for an exact
283
+ * match, else nearest color by base-RGB distance. This is the path for
284
+ * genuine hex/rgb refs; the nearest-distance step intentionally drops
285
+ * alpha, so the exact matches above must run first when alpha matters.
266
286
  */
267
287
  export declare function colorRefToIndex(ref: ColorRef | undefined, palette: string[], fallback: number): number;
268
288
  /**
@@ -287,8 +307,29 @@ export declare function getActiveSchemeName(cluster?: ColorClusterDataConfig, cf
287
307
  * no schemes should not call this directly — they use
288
308
  * `initSecondaryDefaults(cluster)` instead because there is no scheme to
289
309
  * seed from.
310
+ *
311
+ * @param cfg - The panel instance config. When provided and the config has
312
+ * `applySink`, the host's `data-theme` attribute is ignored and the scheme
313
+ * seed comes from `cluster.panelSettings.colorScheme` instead (sink-instance
314
+ * guard). Omitting it silently falls through to reading `data-theme`, which
315
+ * is the correct behavior for non-sink instances but wrong for sinks.
316
+ */
317
+ export declare function initColorFromScheme(cluster?: ColorClusterDataConfig, cfg?: PanelConfig): ColorTweakState;
318
+ /**
319
+ * Palette entry sanitiser. Raw `oklch(...)` values are preserved verbatim so
320
+ * wide-gamut chroma survives (and they never touch the canvas → no '#000000'
321
+ * under jsdom / engines whose 2D canvas can't parse oklch). Every NON-oklch entry
322
+ * goes through cssColorToHex() — the exact pre-OKLCH behaviour — which
323
+ * canonicalises valid hex/rgb and, crucially, turns an unparseable string into a
324
+ * safe '#000000' rather than leaking it into a CSS custom property. Without this,
325
+ * a bundled scheme's stray non-color entry (e.g. `Default Dark`'s slot-9 `"18"`,
326
+ * referenced by `background: 9`) would reach the apply path verbatim.
327
+ *
328
+ * Exported so the serde import path (design-token-serde.ts) can apply the same
329
+ * sanitiser to imported palette values — commit 8d54e07 hardened seeding; this
330
+ * export closes the equivalent gap in the JSON-import path.
290
331
  */
291
- export declare function initColorFromScheme(cluster?: ColorClusterDataConfig): ColorTweakState;
332
+ export declare function normalizeSchemePaletteEntry(value: string): string;
292
333
  export declare function initColorFromSchemeData(scheme: ColorScheme, cluster?: ColorClusterDataConfig): ColorTweakState;
293
334
  /** Resolve a semantic mapping to an actual color (bounds-checked). */
294
335
  export declare function resolveMapping(mapping: number | 'bg' | 'fg', palette: string[], bgIndex: number, fgIndex: number): string;
@@ -423,4 +464,3 @@ export declare function savePersistedState(state: TweakState, storage?: StorageL
423
464
  * preserving the single-panel path.
424
465
  */
425
466
  export declare function clearPersistedState(storage?: StorageLike, cfg?: PanelConfig): void;
426
- //# sourceMappingURL=tweak-state.d.ts.map
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Semantic z-index scale for the design-token panel.
3
+ *
4
+ * Single source of truth shared with panel-tokens.css:
5
+ * - CSS reads `var(--tokentweak-z-*)` (declared in panel-tokens.css)
6
+ * - TSX reads the numeric exports here for inline `zIndex` styles
7
+ *
8
+ * Values in the INT32 high band so the panel sits above common host chrome
9
+ * (sticky headers, drawers typically use z-index 100–10000). Ceiling bounded
10
+ * by INT32_MAX = 2147483647; inspector-box and toast claim the two highest
11
+ * practical values so element-path affordances are never obscured.
12
+ *
13
+ * Tier order: overlay < shell < settingsPopover < colorPicker < tooltip
14
+ * < inspectorBox < toast
15
+ */
16
+ export declare const Z: {
17
+ /** Highlight rings — rendered just below the panel shell. */
18
+ readonly overlay: 2147482990;
19
+ /** Panel shell (position:fixed root-level). */
20
+ readonly shell: 2147482991;
21
+ /** Highlight-settings popover — body-sibling of the shell, competes at root. */
22
+ readonly settingsPopover: 2147482992;
23
+ /**
24
+ * Color-picker card (position:fixed) — DOM child of .tokenpanel-shell,
25
+ * which is a stacking context. This value is shell-local; against host
26
+ * content the picker paints at the shell's root-level z-index.
27
+ */
28
+ readonly colorPicker: 2147482993;
29
+ /** DOM tooltip portaled to document.body. */
30
+ readonly tooltip: 2147482994;
31
+ /** Element-path inspector box (body-mounted). */
32
+ readonly inspectorBox: 2147483000;
33
+ /** Element-path toast (body-mounted). */
34
+ readonly toast: 2147483001;
35
+ };
@@ -21,4 +21,3 @@ export interface GenericItemEditorProps {
21
21
  declare function GenericItemEditorInner({ item, value, onChange }: GenericItemEditorProps): import("preact").JSX.Element | null;
22
22
  declare const _default: typeof GenericItemEditorInner;
23
23
  export default _default;
24
- //# sourceMappingURL=_generic-item-editor.d.ts.map
@@ -11,10 +11,13 @@
11
11
  *
12
12
  * Acceptance criterion (rejection-fix): every Base / Semantic Tokens row is
13
13
  * a `PaletteSelector` — the only way to edit those values is to pick a
14
- * palette index (p0–p15) or one of the `bg`/`fg` extras. The 16 Palette
15
- * swatches themselves are the only inputs that edit a hex via the HSL
16
- * popover. No raw-color inputs (rgb / hex text field / lab) are
17
- * exposed for Base or Semantic rows.
14
+ * palette index (p0–p15) or one of the `bg`/`fg` extras. The Palette
15
+ * swatches themselves are the only inputs that edit a color directly — a
16
+ * hex by default, or an `oklch(...)` string when the palette tier declares
17
+ * `type.format: 'oklch'` — via the color-picker popover. No raw-color
18
+ * inputs (rgb / hex text field / lab) are exposed for Base or Semantic rows;
19
+ * those rows reference palette slots, so they inherit OKLCH transitively the
20
+ * moment the palette holds `oklch()` values.
18
21
  *
19
22
  * Shiki integration is out of scope — the `shikiTheme` field stays on
20
23
  * state + persist + serde for envelope round-tripping with upstream
@@ -52,4 +55,3 @@ interface ColorTabProps {
52
55
  }
53
56
  export default function ColorTab({ tab, state, persistColor, secondaryTab, secondaryState, persistSecondary, }: ColorTabProps): import("preact").JSX.Element;
54
57
  export {};
55
- //# sourceMappingURL=color-tab.d.ts.map
@@ -19,4 +19,3 @@ interface FontTabProps {
19
19
  */
20
20
  export default function FontTab({ tab, state, persistFont }: FontTabProps): import("preact").JSX.Element;
21
21
  export {};
22
- //# sourceMappingURL=font-tab.d.ts.map
@@ -9,7 +9,7 @@
9
9
  * length / number → number input with unit suffix (numeric range)
10
10
  * select → native <select>
11
11
  * text → free-form text input
12
- * color → native <input type="color"> by default; with format:'oklch' → OKLCH picker emitting oklch()
12
+ * color → native <input type="color"> by default (emits hex); with format:'oklch' → OKLCH picker emitting an oklch() string. Color values therefore persist as hex OR oklch(), not hex-only.
13
13
  *
14
14
  * For items in a tier with `referencesTier`, TierRefSelector is rendered
15
15
  * instead, so the user can either pick a tier-1 item id (emitted as
@@ -40,4 +40,3 @@ export interface GenericTabProps {
40
40
  * components until Wave 5 migrates them to consume TabConfig.tiers.
41
41
  */
42
42
  export default function GenericTab({ tab, overrides, onChange }: GenericTabProps): import("preact").JSX.Element;
43
- //# sourceMappingURL=generic-tab.d.ts.map
@@ -19,4 +19,3 @@ export interface PaletteCheckViewProps {
19
19
  onChange: (tierId: string, itemId: string, next: string) => void;
20
20
  }
21
21
  export default function PaletteCheckView({ tab, overrides }: PaletteCheckViewProps): import("preact").JSX.Element;
22
- //# sourceMappingURL=palette-check-view.d.ts.map
@@ -53,4 +53,3 @@ export interface PaletteEditViewProps {
53
53
  onCommitBatch?: (tierId: string, patch: Record<string, string>) => void;
54
54
  }
55
55
  export default function PaletteEditView({ tab, overrides, onChange, onCommitBatch }: PaletteEditViewProps): import("preact").JSX.Element;
56
- //# sourceMappingURL=palette-edit-view.d.ts.map
@@ -20,4 +20,3 @@ export interface PaletteReadoutProps {
20
20
  outOfGamut: boolean;
21
21
  }
22
22
  export default function PaletteReadout({ oklcha, cssVar, outOfGamut }: PaletteReadoutProps): import("preact").JSX.Element;
23
- //# sourceMappingURL=palette-readout.d.ts.map
@@ -34,4 +34,3 @@ export interface PaletteTabProps {
34
34
  onCommitBatch?: (tierId: string, patch: Record<string, string>) => void;
35
35
  }
36
36
  export default function PaletteTab({ tab, overrides, onChange, onCommitBatch }: PaletteTabProps): import("preact").JSX.Element;
37
- //# sourceMappingURL=palette-tab.d.ts.map
@@ -17,4 +17,3 @@ interface SizeTabProps {
17
17
  */
18
18
  export default function SizeTab({ tab, state, persistSize }: SizeTabProps): import("preact").JSX.Element;
19
19
  export {};
20
- //# sourceMappingURL=size-tab.d.ts.map
@@ -20,4 +20,3 @@ interface SpacingTabProps {
20
20
  */
21
21
  export default function SpacingTab({ tab, state, persistSpacing }: SpacingTabProps): import("preact").JSX.Element;
22
22
  export {};
23
- //# sourceMappingURL=spacing-tab.d.ts.map
package/dist/testing.d.ts CHANGED
@@ -78,4 +78,3 @@ export interface PlaywrightLocatorLike {
78
78
  * include the unit suffix — the panel appends the configured unit itself.
79
79
  */
80
80
  export declare function setPanelInputValue(locator: PlaywrightLocatorLike, value: string): Promise<void>;
81
- //# sourceMappingURL=testing.d.ts.map
package/dist/testing.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as r, c as i, f as _, h as n, i as g, b as R, a as p } from "./panel-config-066BPYJD.js";
2
- import { g as l, a as y, l as O } from "./tweak-state-Do5gj6Nw.js";
1
+ import { _ as r, c as i, f as _, h as n, i as g, b as R, a as p } from "./panel-config-3tBEHjvZ.js";
2
+ import { a as l, b as y, l as O } from "./tweak-state-BEx1SHu7.js";
3
3
  import { F as K, G as E, a as S, S as u } from "./manifest-DCReQE0k.js";
4
4
  async function s(a, e) {
5
5
  await a.fill(e), await a.dispatchEvent("input");
@@ -141,4 +141,3 @@ export declare const SIZE_GROUP_ORDER: readonly TokenGroup[];
141
141
  export declare function parseNumericValue(value: string): number | null;
142
142
  /** Format a numeric slider value back into the stored string form. */
143
143
  export declare function formatValue(n: number, unit: string): string;
144
- //# sourceMappingURL=manifest.d.ts.map
@@ -89,4 +89,3 @@ export interface TabConfig {
89
89
  tiers: readonly TierConfig[];
90
90
  colorExtras?: ColorClusterExtras;
91
91
  }
92
- //# sourceMappingURL=tier-model.d.ts.map