@mt-gloss/ui 0.1.135 → 0.1.136
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/composites-panels.js +537 -486
- package/lib/composites/panels/shells/SettingsShell.d.ts +12 -1
- package/lib/composites/panels/shells/settings/GhostSlotPill.d.ts +7 -0
- package/lib/composites/panels/shells/settings/SlotsControls.d.ts +6 -1
- package/lib/composites/panels/shells/settings/index.d.ts +3 -0
- package/package.json +1 -1
- package/ui.css +1 -1
|
@@ -49,5 +49,16 @@ export interface SettingsShellProps extends PanelShellProps {
|
|
|
49
49
|
/** GAP-03 (sprint 2026-05-15): persisted slot order. Max 3, empty array valid. */
|
|
50
50
|
slots: ReadonlyArray<string>;
|
|
51
51
|
}>;
|
|
52
|
+
/**
|
|
53
|
+
* M003-S005-SLT D-08 — Card's natural slot identifier list (registry data,
|
|
54
|
+
* NOT user-persisted). SlotsControls renders ghost pills for naturalSlots
|
|
55
|
+
* \ value so the user can re-add removed slots without Reset. Threaded by
|
|
56
|
+
* reptime MetricSettingsPanel (cardNaturalSlots derivation at ~L222-237).
|
|
57
|
+
*
|
|
58
|
+
* Kept as a top-level prop rather than nested under initialValues because
|
|
59
|
+
* `initialValues` is the *persisted-baseline* axis; naturalSlots is the
|
|
60
|
+
* *registry-data* axis — different semantics (RESEARCH Finding 5).
|
|
61
|
+
*/
|
|
62
|
+
naturalSlots?: ReadonlyArray<string>;
|
|
52
63
|
}
|
|
53
|
-
export declare function SettingsShell({ isOpen, cardSpan, cardLabel, cardValue, previewSlot, dimensions, initialTab, initialValues, }: SettingsShellProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare function SettingsShell({ isOpen, cardSpan, cardLabel, cardValue, previewSlot, dimensions, initialTab, initialValues, naturalSlots, }: SettingsShellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,10 @@ import { default as React } from 'react';
|
|
|
2
2
|
export interface SlotsControlsProps {
|
|
3
3
|
value: ReadonlyArray<string>;
|
|
4
4
|
onChange: (next: ReadonlyArray<string>) => void;
|
|
5
|
+
/**
|
|
6
|
+
* M003-S005-SLT D-08 — natural slot list from the card registry. Ghosts =
|
|
7
|
+
* naturalSlots filtered to !value.includes. Default [].
|
|
8
|
+
*/
|
|
9
|
+
naturalSlots?: ReadonlyArray<string>;
|
|
5
10
|
}
|
|
6
|
-
export declare function SlotsControls({ value, onChange }: SlotsControlsProps): React.ReactElement;
|
|
11
|
+
export declare function SlotsControls({ value, onChange, naturalSlots, }: SlotsControlsProps): React.ReactElement;
|
|
@@ -9,3 +9,6 @@
|
|
|
9
9
|
export { TimeframeControls } from './TimeframeControls';
|
|
10
10
|
export type { TimeframeControlsProps } from './TimeframeControls';
|
|
11
11
|
export { SlotsControls } from './SlotsControls';
|
|
12
|
+
export type { SlotsControlsProps } from './SlotsControls';
|
|
13
|
+
export { GhostSlotPill } from './GhostSlotPill';
|
|
14
|
+
export type { GhostSlotPillProps } from './GhostSlotPill';
|