@mt-gloss/ui 0.1.133 → 0.1.135
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/{COMMITS-WBmqrmdI.js → COMMITS-B_qGBoy7.js} +171 -183
- package/{Expandable-D0vngX68.js → Expandable-DA4NFzCR.js} +2768 -2720
- package/catalog.js +2 -2
- package/composites-panels.js +451 -543
- package/index.js +1233 -1215
- package/lib/composites/forms/PasswordInput.d.ts +6 -1
- package/lib/composites/forms/PhoneInput.d.ts +6 -1
- package/lib/composites/forms/SearchInput.d.ts +6 -1
- package/lib/composites/forms/TagInput.d.ts +6 -1
- package/lib/composites/inputs/FilterChip.d.ts +6 -1
- package/lib/composites/overlay/SplitButton/SplitButton.d.ts +6 -1
- package/lib/composites/panels/coordinator/settingsBufferSchemas.d.ts +4 -9
- package/lib/composites/panels/index.d.ts +2 -0
- package/lib/composites/panels/shells/MetricInfoShell.d.ts +29 -0
- package/lib/composites/panels/shells/SettingsShell.d.ts +4 -13
- package/lib/composites/panels/shells/index.d.ts +2 -0
- package/lib/composites/panels/shells/settings/index.d.ts +3 -4
- package/lib/containers/ContainerDialog/ContainerDialog.d.ts +18 -3
- package/lib/containers/ContainerFormSection/ContainerFormSection.d.ts +6 -1
- package/lib/containers/ContainerPanel/ContainerPanel.d.ts +6 -1
- package/lib/containers/ContainerTable/ContainerTable.d.ts +6 -1
- package/lib/containers/ContainerToolbar/ContainerToolbar.d.ts +6 -1
- package/lib/primitives/dashboard/ResizePill/ResizePill.d.ts +7 -1
- package/lib/wrappers/Actionable/Actionable.d.ts +6 -1
- package/lib/wrappers/AsyncLoader/AsyncLoader.d.ts +6 -1
- package/lib/wrappers/ButtonGroup/ButtonGroup.d.ts +6 -1
- package/lib/wrappers/CheckboxGroup/CheckboxGroup.d.ts +6 -1
- package/lib/wrappers/Dismissible/Dismissible.d.ts +6 -1
- package/lib/wrappers/Expandable/Expandable.d.ts +6 -1
- package/lib/wrappers/InputGroup/InputGroup.d.ts +12 -2
- package/lib/wrappers/RadioGroup/RadioGroup.d.ts +6 -1
- package/lib/wrappers/Selectable/Selectable.d.ts +6 -1
- package/lib/wrappers/Sortable/Sortable.d.ts +6 -1
- package/package.json +1 -1
- package/ui.css +1 -1
- package/lib/composites/panels/shells/settings/ColorControls.d.ts +0 -13
- package/lib/composites/panels/shells/settings/ThresholdControls.d.ts +0 -10
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
declare const SWATCHES: readonly ["#1d6fd8", "#10b981", "#f59e0b", "#ef4444", "#8b5cf6"];
|
|
3
|
-
export type AccentSwatch = typeof SWATCHES[number];
|
|
4
|
-
export interface ColorControlsProps {
|
|
5
|
-
value: AccentSwatch | null;
|
|
6
|
-
onSelect: (hex: AccentSwatch) => void;
|
|
7
|
-
/** Phase 17.2 Fix #2 — opt-in toggle. Defaults false. */
|
|
8
|
-
enabled?: boolean;
|
|
9
|
-
/** Phase 17.2 Fix #2 — toggle dispatch (parent wires SET_BUFFER_VALUE 'accentEnabled'). */
|
|
10
|
-
onToggleEnabled?: (next: boolean) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare function ColorControls({ value, onSelect, enabled, onToggleEnabled, }: ColorControlsProps): React.ReactElement;
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface ThresholdControlsProps {
|
|
3
|
-
value: number;
|
|
4
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
-
/** Phase 17.2 Fix #2 — opt-in toggle. Defaults false. */
|
|
6
|
-
enabled?: boolean;
|
|
7
|
-
/** Phase 17.2 Fix #2 — toggle dispatch (parent wires SET_BUFFER_VALUE 'thresholdEnabled'). */
|
|
8
|
-
onToggleEnabled?: (next: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function ThresholdControls({ value, onChange, enabled, onToggleEnabled, }: ThresholdControlsProps): React.ReactElement;
|