@mt-gloss/ui 0.1.132 → 0.1.134
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/{BaseAsyncButton-aDQ_TjJi.js → BaseAsyncButton-CJlY7Uik.js} +1 -1
- package/{Expandable-CvT19-Bf.js → Expandable-DA4NFzCR.js} +2768 -2720
- package/{UIContext-Dm0GYHFT.js → UIContext-CGQI_KJk.js} +658 -519
- package/catalog.js +4 -4
- package/index.js +1233 -1215
- package/internals.js +3 -3
- package/lib/base/BaseAccordion/BaseAccordion.d.ts +24 -4
- package/lib/base/BaseCard/BaseCard.d.ts +48 -8
- package/lib/base/BaseCheckbox/BaseCheckbox.d.ts +6 -1
- package/lib/base/BaseInput/BaseInput.d.ts +6 -1
- package/lib/base/BaseMaskedInput/BaseMaskedInput.d.ts +6 -1
- package/lib/base/BaseMenu/BaseMenu.d.ts +12 -2
- package/lib/base/BaseRadio/BaseRadio.d.ts +6 -1
- package/lib/base/BaseRating/BaseRating.d.ts +6 -1
- package/lib/base/BaseSegmentedControl/BaseSegmentedControl.d.ts +6 -1
- package/lib/base/BaseSelect/BaseSelect.d.ts +12 -2
- package/lib/base/BaseTextarea/BaseTextarea.d.ts +6 -1
- package/lib/base/BaseToggle/BaseToggle.d.ts +6 -1
- package/lib/base/BaseTooltip/BaseTooltip.d.ts +6 -1
- 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/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/internals.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as B } from "./UIContext-
|
|
2
|
-
import { z as A, F as I, A as H, D as M, ab as $, ad as R, e as E, q as F, y as O, s as U, t as z, r as W, v as L, x as j, w as G, h as V, ae as X, a4 as Z, a7 as q, a6 as J, a5 as K, a8 as Q, N as Y, P as aa, Q as sa, O as ea, Y as oa, _ as ta, a1 as la, a3 as ra, a2 as ia, d as da, f as na, af as ca, a0 as Ba, G as ga, J as ba, H as ma, I as ua, $ as pa, B as ya, ac as ha, i as _a, a9 as fa, L as va, M as Ca, k as ka, m as Da, o as Ta, n as xa, l as wa, p as Sa, c as Na, g as Pa, V as Aa, X as Ia, W as Ha, aa as Ma, j as $a, K as Ra, C as Ea, E as Fa, R as Oa, S as Ua, T as za, a as Wa, U as La, Z as ja, u as Ga } from "./UIContext-
|
|
1
|
+
import { b as B } from "./UIContext-CGQI_KJk.js";
|
|
2
|
+
import { z as A, F as I, A as H, D as M, ab as $, ad as R, e as E, q as F, y as O, s as U, t as z, r as W, v as L, x as j, w as G, h as V, ae as X, a4 as Z, a7 as q, a6 as J, a5 as K, a8 as Q, N as Y, P as aa, Q as sa, O as ea, Y as oa, _ as ta, a1 as la, a3 as ra, a2 as ia, d as da, f as na, af as ca, a0 as Ba, G as ga, J as ba, H as ma, I as ua, $ as pa, B as ya, ac as ha, i as _a, a9 as fa, L as va, M as Ca, k as ka, m as Da, o as Ta, n as xa, l as wa, p as Sa, c as Na, g as Pa, V as Aa, X as Ia, W as Ha, aa as Ma, j as $a, K as Ra, C as Ea, E as Fa, R as Oa, S as Ua, T as za, a as Wa, U as La, Z as ja, u as Ga } from "./UIContext-CGQI_KJk.js";
|
|
3
3
|
import { B as Xa, b as Za, a as qa, c as Ja } from "./BaseText-Dxbk1JJa.js";
|
|
4
4
|
import { jsx as d, jsxs as g, Fragment as b } from "react/jsx-runtime";
|
|
5
|
-
import { c as Qa, e as Ya, d as as, B as ss, b as es, a as os } from "./BaseAsyncButton-
|
|
5
|
+
import { c as Qa, e as Ya, d as as, B as ss, b as es, a as os } from "./BaseAsyncButton-CJlY7Uik.js";
|
|
6
6
|
const T = {
|
|
7
7
|
DurationFast: "var(--gloss-motion-duration-fast)",
|
|
8
8
|
DurationNormal: "var(--gloss-motion-duration-normal)",
|
|
@@ -17,7 +17,12 @@ interface BaseAccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
17
17
|
* @internal
|
|
18
18
|
* Structural accordion container with border and layout definitions.
|
|
19
19
|
*/
|
|
20
|
-
export declare const BaseAccordion:
|
|
20
|
+
export declare const BaseAccordion: {
|
|
21
|
+
({ ref, definition, className, style, children, ...rest }: BaseAccordionProps & {
|
|
22
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
21
26
|
interface BaseAccordionItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
22
27
|
className?: string;
|
|
23
28
|
style?: React.CSSProperties;
|
|
@@ -28,7 +33,12 @@ interface BaseAccordionItemProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
28
33
|
* @internal
|
|
29
34
|
* Structural accordion item wrapper.
|
|
30
35
|
*/
|
|
31
|
-
export declare const BaseAccordionItem:
|
|
36
|
+
export declare const BaseAccordionItem: {
|
|
37
|
+
({ ref, className, style, children, open, ...rest }: BaseAccordionItemProps & {
|
|
38
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
39
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
32
42
|
interface BaseAccordionTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
33
43
|
className?: string;
|
|
34
44
|
children?: React.ReactNode;
|
|
@@ -37,7 +47,12 @@ interface BaseAccordionTriggerProps extends React.ButtonHTMLAttributes<HTMLButto
|
|
|
37
47
|
* @internal
|
|
38
48
|
* Structural accordion trigger button.
|
|
39
49
|
*/
|
|
40
|
-
export declare const BaseAccordionTrigger:
|
|
50
|
+
export declare const BaseAccordionTrigger: {
|
|
51
|
+
({ ref, className, children, ...rest }: BaseAccordionTriggerProps & {
|
|
52
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
53
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
displayName: string;
|
|
55
|
+
};
|
|
41
56
|
interface BaseAccordionContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
42
57
|
className?: string;
|
|
43
58
|
style?: React.CSSProperties;
|
|
@@ -47,5 +62,10 @@ interface BaseAccordionContentProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
47
62
|
* @internal
|
|
48
63
|
* Structural accordion content panel.
|
|
49
64
|
*/
|
|
50
|
-
export declare const BaseAccordionContent:
|
|
65
|
+
export declare const BaseAccordionContent: {
|
|
66
|
+
({ ref, className, style, children, ...rest }: BaseAccordionContentProps & {
|
|
67
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
68
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
displayName: string;
|
|
70
|
+
};
|
|
51
71
|
export {};
|
|
@@ -20,7 +20,12 @@ interface BaseCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'clas
|
|
|
20
20
|
* @internal
|
|
21
21
|
* Structural card container with definition-driven styling.
|
|
22
22
|
*/
|
|
23
|
-
export declare const BaseCard:
|
|
23
|
+
export declare const BaseCard: {
|
|
24
|
+
({ ref, definition, className, style, children, ...rest }: BaseCardProps & {
|
|
25
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
24
29
|
export interface BaseCardHeaderDefinition {
|
|
25
30
|
padding?: SpacingValue | string;
|
|
26
31
|
}
|
|
@@ -34,7 +39,12 @@ interface BaseCardHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
34
39
|
* @internal
|
|
35
40
|
* Structural card header slot.
|
|
36
41
|
*/
|
|
37
|
-
export declare const BaseCardHeader:
|
|
42
|
+
export declare const BaseCardHeader: {
|
|
43
|
+
({ ref, definition, className, style, children, ...rest }: BaseCardHeaderProps & {
|
|
44
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
45
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
38
48
|
export interface BaseCardBodyDefinition {
|
|
39
49
|
padding?: SpacingValue | string;
|
|
40
50
|
}
|
|
@@ -48,7 +58,12 @@ interface BaseCardBodyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
|
|
|
48
58
|
* @internal
|
|
49
59
|
* Structural card body slot.
|
|
50
60
|
*/
|
|
51
|
-
export declare const BaseCardBody:
|
|
61
|
+
export declare const BaseCardBody: {
|
|
62
|
+
({ ref, definition, className, style, children, ...rest }: BaseCardBodyProps & {
|
|
63
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
64
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
displayName: string;
|
|
66
|
+
};
|
|
52
67
|
export interface BaseCardFooterDefinition {
|
|
53
68
|
padding?: SpacingValue | string;
|
|
54
69
|
}
|
|
@@ -62,7 +77,12 @@ interface BaseCardFooterProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
62
77
|
* @internal
|
|
63
78
|
* Structural card footer slot.
|
|
64
79
|
*/
|
|
65
|
-
export declare const BaseCardFooter:
|
|
80
|
+
export declare const BaseCardFooter: {
|
|
81
|
+
({ ref, definition, className, style, children, ...rest }: BaseCardFooterProps & {
|
|
82
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
83
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
displayName: string;
|
|
85
|
+
};
|
|
66
86
|
interface BaseCardMediaProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
67
87
|
src?: string;
|
|
68
88
|
alt?: string;
|
|
@@ -75,7 +95,12 @@ interface BaseCardMediaProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
75
95
|
* @internal
|
|
76
96
|
* Structural media slot for images/video inside a card.
|
|
77
97
|
*/
|
|
78
|
-
export declare const BaseCardMedia:
|
|
98
|
+
export declare const BaseCardMedia: {
|
|
99
|
+
({ ref, src, alt, height, className, style, children, ...rest }: BaseCardMediaProps & {
|
|
100
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
101
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
displayName: string;
|
|
103
|
+
};
|
|
79
104
|
interface BaseCardTitleProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'className' | 'style'> {
|
|
80
105
|
className?: string;
|
|
81
106
|
style?: React.CSSProperties;
|
|
@@ -85,7 +110,12 @@ interface BaseCardTitleProps extends Omit<React.HTMLAttributes<HTMLHeadingElemen
|
|
|
85
110
|
* @internal
|
|
86
111
|
* Structural card title element.
|
|
87
112
|
*/
|
|
88
|
-
export declare const BaseCardTitle:
|
|
113
|
+
export declare const BaseCardTitle: {
|
|
114
|
+
({ ref, className, children, ...rest }: BaseCardTitleProps & {
|
|
115
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
116
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
117
|
+
displayName: string;
|
|
118
|
+
};
|
|
89
119
|
interface BaseCardSubtitleProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, 'className' | 'style'> {
|
|
90
120
|
className?: string;
|
|
91
121
|
style?: React.CSSProperties;
|
|
@@ -95,7 +125,12 @@ interface BaseCardSubtitleProps extends Omit<React.HTMLAttributes<HTMLParagraphE
|
|
|
95
125
|
* @internal
|
|
96
126
|
* Structural card subtitle element.
|
|
97
127
|
*/
|
|
98
|
-
export declare const BaseCardSubtitle:
|
|
128
|
+
export declare const BaseCardSubtitle: {
|
|
129
|
+
({ ref, className, children, ...rest }: BaseCardSubtitleProps & {
|
|
130
|
+
ref?: React.Ref<HTMLParagraphElement>;
|
|
131
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
132
|
+
displayName: string;
|
|
133
|
+
};
|
|
99
134
|
interface BaseCardActionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
100
135
|
className?: string;
|
|
101
136
|
style?: React.CSSProperties;
|
|
@@ -105,5 +140,10 @@ interface BaseCardActionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
105
140
|
* @internal
|
|
106
141
|
* Structural card actions container (typically buttons).
|
|
107
142
|
*/
|
|
108
|
-
export declare const BaseCardActions:
|
|
143
|
+
export declare const BaseCardActions: {
|
|
144
|
+
({ ref, className, children, ...rest }: BaseCardActionsProps & {
|
|
145
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
146
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
147
|
+
displayName: string;
|
|
148
|
+
};
|
|
109
149
|
export {};
|
|
@@ -20,4 +20,9 @@ export interface BaseCheckboxProps extends Omit<React.InputHTMLAttributes<HTMLIn
|
|
|
20
20
|
* Structural checkbox chassis with hidden input + visual track.
|
|
21
21
|
* No colors, no animations -- those belong in the Preset layer.
|
|
22
22
|
*/
|
|
23
|
-
export declare const BaseCheckbox:
|
|
23
|
+
export declare const BaseCheckbox: {
|
|
24
|
+
({ ref, definition, className, style, indeterminate, children, checked, disabled, ...rest }: BaseCheckboxProps & {
|
|
25
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
@@ -31,4 +31,9 @@ export interface BaseInputProps extends Omit<React.InputHTMLAttributes<HTMLInput
|
|
|
31
31
|
* Structural input chassis with label/helper anatomy.
|
|
32
32
|
* No colors, no focus rings -- those belong in the Preset layer.
|
|
33
33
|
*/
|
|
34
|
-
export declare const BaseInput:
|
|
34
|
+
export declare const BaseInput: {
|
|
35
|
+
({ ref, definition, className, style, label, helperText, required, status, ...rest }: BaseInputProps & {
|
|
36
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
37
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
@@ -28,4 +28,9 @@ export interface BaseMaskedInputProps extends Omit<React.InputHTMLAttributes<HTM
|
|
|
28
28
|
* Structural masked input chassis. Extends the BaseInput pattern.
|
|
29
29
|
* Mask engine (imask) lives in the Preset layer, not here.
|
|
30
30
|
*/
|
|
31
|
-
export declare const BaseMaskedInput:
|
|
31
|
+
export declare const BaseMaskedInput: {
|
|
32
|
+
({ ref, definition, className, style, label, helperText, required, status, ...rest }: BaseMaskedInputProps & {
|
|
33
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
34
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
displayName: string;
|
|
36
|
+
};
|
|
@@ -21,7 +21,12 @@ interface BaseMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'clas
|
|
|
21
21
|
* @internal
|
|
22
22
|
* Structural menu container with definition-driven styling.
|
|
23
23
|
*/
|
|
24
|
-
export declare const BaseMenu:
|
|
24
|
+
export declare const BaseMenu: {
|
|
25
|
+
({ ref, definition, className, style, children, ...rest }: BaseMenuProps & {
|
|
26
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
25
30
|
interface BaseMenuGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
26
31
|
label?: string;
|
|
27
32
|
className?: string;
|
|
@@ -55,7 +60,12 @@ interface BaseMenuItemProps extends Omit<React.HTMLAttributes<HTMLElement>, 'cla
|
|
|
55
60
|
* @internal
|
|
56
61
|
* Structural menu item element. Supports polymorphic `as` prop.
|
|
57
62
|
*/
|
|
58
|
-
export declare const BaseMenuItem:
|
|
63
|
+
export declare const BaseMenuItem: {
|
|
64
|
+
({ ref, definition, className, style, children, disabled, active, as: Component, ...rest }: BaseMenuItemProps & {
|
|
65
|
+
ref?: React.Ref<HTMLElement>;
|
|
66
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
displayName: string;
|
|
68
|
+
};
|
|
59
69
|
interface BaseMenuDividerProps {
|
|
60
70
|
className?: string;
|
|
61
71
|
}
|
|
@@ -17,4 +17,9 @@ export interface BaseRadioProps extends Omit<React.InputHTMLAttributes<HTMLInput
|
|
|
17
17
|
* Structural radio chassis with hidden input + circular visual track.
|
|
18
18
|
* No colors, no animations -- those belong in the Preset layer.
|
|
19
19
|
*/
|
|
20
|
-
export declare const BaseRadio:
|
|
20
|
+
export declare const BaseRadio: {
|
|
21
|
+
({ ref, definition, className, style, children, checked, disabled, ...rest }: BaseRadioProps & {
|
|
22
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
@@ -21,5 +21,10 @@ interface BaseRatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'cl
|
|
|
21
21
|
* Structural rating container with star layout.
|
|
22
22
|
* Owns inline-flex layout and sizing. Interaction logic lives in the Preset.
|
|
23
23
|
*/
|
|
24
|
-
export declare const BaseRating:
|
|
24
|
+
export declare const BaseRating: {
|
|
25
|
+
({ ref, definition, className, style, children, readOnly, disabled, ...rest }: BaseRatingProps & {
|
|
26
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
25
30
|
export {};
|
|
@@ -22,5 +22,10 @@ interface BaseSegmentedControlProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
22
22
|
* Structural segmented control container.
|
|
23
23
|
* Owns flex layout and segment structure. Selection state lives in Preset.
|
|
24
24
|
*/
|
|
25
|
-
export declare const BaseSegmentedControl:
|
|
25
|
+
export declare const BaseSegmentedControl: {
|
|
26
|
+
({ ref, definition, className, style, children, disabled, ...rest }: BaseSegmentedControlProps & {
|
|
27
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
26
31
|
export {};
|
|
@@ -34,7 +34,12 @@ interface BaseSelectTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
34
34
|
* @internal
|
|
35
35
|
* Structural trigger button for the select dropdown.
|
|
36
36
|
*/
|
|
37
|
-
export declare const BaseSelectTrigger:
|
|
37
|
+
export declare const BaseSelectTrigger: {
|
|
38
|
+
({ ref, className, children, ...rest }: BaseSelectTriggerProps & {
|
|
39
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
40
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
38
43
|
export interface BaseSelectDropdownDefinition {
|
|
39
44
|
bg?: ColorValue | string;
|
|
40
45
|
borderColor?: ColorValue | string;
|
|
@@ -66,7 +71,12 @@ interface BaseSelectOptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
66
71
|
* @internal
|
|
67
72
|
* Structural option element in the select dropdown.
|
|
68
73
|
*/
|
|
69
|
-
export declare const BaseSelectOption:
|
|
74
|
+
export declare const BaseSelectOption: {
|
|
75
|
+
({ ref, className, children, selected, disabled, ...rest }: BaseSelectOptionProps & {
|
|
76
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
77
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
displayName: string;
|
|
79
|
+
};
|
|
70
80
|
interface BaseSelectGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
71
81
|
label?: string;
|
|
72
82
|
className?: string;
|
|
@@ -34,4 +34,9 @@ export interface BaseTextareaProps extends Omit<React.TextareaHTMLAttributes<HTM
|
|
|
34
34
|
* Structural textarea chassis with label/helper anatomy.
|
|
35
35
|
* No colors, no focus rings -- those belong in the Preset layer.
|
|
36
36
|
*/
|
|
37
|
-
export declare const BaseTextarea:
|
|
37
|
+
export declare const BaseTextarea: {
|
|
38
|
+
({ ref, definition, className, style, label, helperText, required, status, ...rest }: BaseTextareaProps & {
|
|
39
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
40
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
@@ -19,4 +19,9 @@ export interface BaseToggleProps extends Omit<React.InputHTMLAttributes<HTMLInpu
|
|
|
19
19
|
* Structural toggle/switch chassis with hidden input + track + thumb.
|
|
20
20
|
* No colors, no animations -- those belong in the Preset layer.
|
|
21
21
|
*/
|
|
22
|
-
export declare const BaseToggle:
|
|
22
|
+
export declare const BaseToggle: {
|
|
23
|
+
({ ref, definition, className, style, children, checked, disabled, ...rest }: BaseToggleProps & {
|
|
24
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
@@ -23,5 +23,10 @@ interface BaseTooltipProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'c
|
|
|
23
23
|
* Structural tooltip container. Self-contained (no BaseOverlay dependency).
|
|
24
24
|
* Positioning and show/hide logic live in the Preset layer.
|
|
25
25
|
*/
|
|
26
|
-
export declare const BaseTooltip:
|
|
26
|
+
export declare const BaseTooltip: {
|
|
27
|
+
({ ref, definition, className, style, children, placement, ...rest }: BaseTooltipProps & {
|
|
28
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
29
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
27
32
|
export {};
|
|
@@ -76,4 +76,9 @@ export interface PasswordInputProps {
|
|
|
76
76
|
* />
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
|
-
export declare const PasswordInput:
|
|
79
|
+
export declare const PasswordInput: {
|
|
80
|
+
({ ref, showToggle, showStrength, strength: externalStrength, strengthRules, showGenerate, onGenerate, generateLength, showRules, value, defaultValue, onChange, onBlur, label, placeholder, status, helperText, required, disabled, name, id, className, autoComplete, }: PasswordInputProps & {
|
|
81
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
82
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
@@ -66,4 +66,9 @@ export interface PhoneInputProps {
|
|
|
66
66
|
* />
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
|
-
export declare const PhoneInput:
|
|
69
|
+
export declare const PhoneInput: {
|
|
70
|
+
({ ref, value, defaultValue, onChange, defaultCountry, countries, showCountrySelect, format, label, placeholder, helperText, status, required, disabled, name, className, id: providedId, }: PhoneInputProps & {
|
|
71
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
72
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
displayName: string;
|
|
74
|
+
};
|
|
@@ -86,4 +86,9 @@ export interface SearchInputProps {
|
|
|
86
86
|
* />
|
|
87
87
|
* ```
|
|
88
88
|
*/
|
|
89
|
-
export declare const SearchInput:
|
|
89
|
+
export declare const SearchInput: {
|
|
90
|
+
({ ref, onSearch, debounce, isSearching, suggestions, onSuggestionSelect, showSuggestions, showShortcut, shortcutKey, clearable, value, defaultValue, onChange, onKeyDown, onFocus, onBlur, placeholder, label, status, helperText, required, disabled, name, id, className, autoComplete, }: SearchInputProps & {
|
|
91
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
92
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
displayName: string;
|
|
94
|
+
};
|
|
@@ -95,4 +95,9 @@ export interface TagInputProps {
|
|
|
95
95
|
* />
|
|
96
96
|
* ```
|
|
97
97
|
*/
|
|
98
|
-
export declare const TagInput:
|
|
98
|
+
export declare const TagInput: {
|
|
99
|
+
({ ref, value, defaultValue, onChange, separator, maxTags, maxLength, allowDuplicates, validateTag, suggestions, placeholder, disabled, label, helperText, status, size, className, id: providedId, name, }: TagInputProps & {
|
|
100
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
101
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
displayName: string;
|
|
103
|
+
};
|
|
@@ -26,4 +26,9 @@ export interface FilterChipProps {
|
|
|
26
26
|
* FilterChip -- Composite wrapping PresetChip with typed filter semantics.
|
|
27
27
|
* Enforces Slot compliance (D-04): no children prop.
|
|
28
28
|
*/
|
|
29
|
-
export declare const FilterChip:
|
|
29
|
+
export declare const FilterChip: {
|
|
30
|
+
({ ref, filter, active, onToggle, onRemove, labelSlot, disabled, size, className, }: FilterChipProps & {
|
|
31
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
32
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
@@ -22,6 +22,11 @@ export interface SplitButtonProps {
|
|
|
22
22
|
* SplitButton -- Composite tier. Main action button with dropdown menu.
|
|
23
23
|
* Orchestrates Button + ButtonGroup + dropdown menu.
|
|
24
24
|
*/
|
|
25
|
-
export declare const SplitButton:
|
|
25
|
+
export declare const SplitButton: {
|
|
26
|
+
({ ref, children, onClick, menuItems, variant, size, disabled, dropdownIcon, leftIcon, }: SplitButtonProps & {
|
|
27
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
26
31
|
export { SplitButton as PresetSplitButton };
|
|
27
32
|
export type { SplitButtonProps as PresetSplitButtonProps };
|
|
@@ -16,12 +16,27 @@ export declare namespace ContainerDialog {
|
|
|
16
16
|
export interface ContainerDialogHeaderProps {
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare const ContainerDialogHeader:
|
|
19
|
+
export declare const ContainerDialogHeader: {
|
|
20
|
+
({ ref, children, ...rest }: ContainerDialogHeaderProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
21
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
20
25
|
export interface ContainerDialogBodyProps {
|
|
21
26
|
children?: React.ReactNode;
|
|
22
27
|
}
|
|
23
|
-
export declare const ContainerDialogBody:
|
|
28
|
+
export declare const ContainerDialogBody: {
|
|
29
|
+
({ ref, children, ...rest }: ContainerDialogBodyProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
30
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
24
34
|
export interface ContainerDialogActionsProps {
|
|
25
35
|
children?: React.ReactNode;
|
|
26
36
|
}
|
|
27
|
-
export declare const ContainerDialogActions:
|
|
37
|
+
export declare const ContainerDialogActions: {
|
|
38
|
+
({ ref, children, ...rest }: ContainerDialogActionsProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
39
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
40
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
@@ -10,4 +10,9 @@ export interface ContainerFormSectionProps {
|
|
|
10
10
|
* Form.Section Context-Container. Groups form fields within a fieldset.
|
|
11
11
|
* Sets UIContext region='form-section'.
|
|
12
12
|
*/
|
|
13
|
-
export declare const ContainerFormSection:
|
|
13
|
+
export declare const ContainerFormSection: {
|
|
14
|
+
({ ref, legend, description, density, children, ...rest }: ContainerFormSectionProps & Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style"> & {
|
|
15
|
+
ref?: React.Ref<HTMLFieldSetElement>;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
@@ -11,4 +11,9 @@ export interface ContainerPanelProps {
|
|
|
11
11
|
* Panel Context-Container. Collapsible content region.
|
|
12
12
|
* Sets UIContext region='panel'.
|
|
13
13
|
*/
|
|
14
|
-
export declare const ContainerPanel:
|
|
14
|
+
export declare const ContainerPanel: {
|
|
15
|
+
({ ref, title, collapsed, onToggle, density, children, ...rest }: ContainerPanelProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style" | "title"> & {
|
|
16
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
@@ -9,4 +9,9 @@ export interface ContainerTableProps {
|
|
|
9
9
|
* Sets UIContext region='table', density defaults to 'compact'.
|
|
10
10
|
* Wraps existing content -- does NOT replace BaseTable.
|
|
11
11
|
*/
|
|
12
|
-
export declare const ContainerTable:
|
|
12
|
+
export declare const ContainerTable: {
|
|
13
|
+
({ ref, density, children, ...rest }: ContainerTableProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
14
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
@@ -8,4 +8,9 @@ export interface ContainerToolbarProps {
|
|
|
8
8
|
* Toolbar Context-Container. Compact layout context for action buttons and controls.
|
|
9
9
|
* Sets UIContext region='toolbar', density defaults to 'compact'.
|
|
10
10
|
*/
|
|
11
|
-
export declare const ContainerToolbar:
|
|
11
|
+
export declare const ContainerToolbar: {
|
|
12
|
+
({ ref, density, children, ...rest }: ContainerToolbarProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
13
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
1
2
|
import { ResizePillPhysicsConfig } from './resizePillPhysics';
|
|
2
3
|
import { PillButton, PillPhase, PillTarget } from './useResizePill';
|
|
3
4
|
export type { PillButton, PillPhase, PillTarget };
|
|
@@ -79,4 +80,9 @@ export interface ResizePillPreviewProps {
|
|
|
79
80
|
* and pill-button-hover (which Plan 02's preview overlay also reads from
|
|
80
81
|
* useResizePill). Negative grep test (style-audit) enforces this.
|
|
81
82
|
*/
|
|
82
|
-
export declare const ResizePill:
|
|
83
|
+
export declare const ResizePill: {
|
|
84
|
+
({ ref, ...props }: ResizePillProps & {
|
|
85
|
+
ref?: Ref<HTMLDivElement>;
|
|
86
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
displayName: string;
|
|
88
|
+
};
|
|
@@ -14,4 +14,9 @@ export interface ActionableProps {
|
|
|
14
14
|
*
|
|
15
15
|
* Usage: <Actionable onAction={handleClick}><Card>...</Card></Actionable>
|
|
16
16
|
*/
|
|
17
|
-
export declare const Actionable:
|
|
17
|
+
export declare const Actionable: {
|
|
18
|
+
({ ref, onAction, disabled, role: ariaRole, children, }: ActionableProps & {
|
|
19
|
+
ref?: React.Ref<HTMLElement>;
|
|
20
|
+
}): React.ReactElement<Record<string, unknown>, string | React.JSXElementConstructor<any>>;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
@@ -8,6 +8,11 @@ export interface AsyncLoaderProps {
|
|
|
8
8
|
* AsyncLoader -- Wrapper tier. SVG perimeter-tracing animation wrapper.
|
|
9
9
|
* Strips className/style from consumer API.
|
|
10
10
|
*/
|
|
11
|
-
export declare const AsyncLoader:
|
|
11
|
+
export declare const AsyncLoader: {
|
|
12
|
+
({ ref, color, isLoading, children, ...rest }: AsyncLoaderProps & {
|
|
13
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
12
17
|
export { AsyncLoader as PresetAsyncLoader };
|
|
13
18
|
export type { AsyncLoaderProps as PresetAsyncLoaderProps };
|
|
@@ -18,6 +18,11 @@ export declare const ButtonGroupContext: React.Context<ButtonGroupContextValue>;
|
|
|
18
18
|
* ButtonGroup -- Wrapper tier. Groups related buttons with context propagation.
|
|
19
19
|
* Locked-down API (no className/style).
|
|
20
20
|
*/
|
|
21
|
-
export declare const ButtonGroup:
|
|
21
|
+
export declare const ButtonGroup: {
|
|
22
|
+
({ ref, children, orientation, attached, size, variant, fullWidth, gap, }: ButtonGroupProps & {
|
|
23
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
22
27
|
export { ButtonGroup as PresetButtonGroup };
|
|
23
28
|
export type { ButtonGroupProps as PresetButtonGroupProps };
|
|
@@ -47,6 +47,11 @@ export interface GroupCheckboxProps {
|
|
|
47
47
|
disabled?: boolean;
|
|
48
48
|
helperText?: string;
|
|
49
49
|
}
|
|
50
|
-
export declare const GroupCheckbox:
|
|
50
|
+
export declare const GroupCheckbox: {
|
|
51
|
+
({ ref, value, ...props }: GroupCheckboxProps & {
|
|
52
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
53
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
displayName: string;
|
|
55
|
+
};
|
|
51
56
|
export { CheckboxGroup as PresetCheckboxGroup };
|
|
52
57
|
export type { CheckboxGroupProps as PresetCheckboxGroupProps };
|
|
@@ -21,4 +21,9 @@ export interface DismissibleProps {
|
|
|
21
21
|
* Note: Uses native DOM event listeners (not Floating UI) since Dismissible
|
|
22
22
|
* doesn't need floating/positioning. For positioned overlays, use BaseOverlay instead.
|
|
23
23
|
*/
|
|
24
|
-
export declare const Dismissible:
|
|
24
|
+
export declare const Dismissible: {
|
|
25
|
+
({ ref, onDismiss, dismissOnEscape, dismissOnClickOutside, showCloseButton, disabled, children, }: DismissibleProps & {
|
|
26
|
+
ref?: React.Ref<HTMLElement>;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
@@ -20,4 +20,9 @@ export interface ExpandableProps {
|
|
|
20
20
|
* <div>Collapsible content here</div>
|
|
21
21
|
* </Expandable>
|
|
22
22
|
*/
|
|
23
|
-
export declare const Expandable:
|
|
23
|
+
export declare const Expandable: {
|
|
24
|
+
({ ref, expanded, trigger, onToggle, duration, children, }: ExpandableProps & {
|
|
25
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
@@ -11,10 +11,20 @@ export interface InputAddonProps {
|
|
|
11
11
|
* InputGroup -- Wrapper tier. Groups inputs with addons.
|
|
12
12
|
* Locked-down API (no className/style).
|
|
13
13
|
*/
|
|
14
|
-
export declare const InputGroup:
|
|
14
|
+
export declare const InputGroup: {
|
|
15
|
+
({ ref, children, attached, }: InputGroupProps & {
|
|
16
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
15
20
|
/**
|
|
16
21
|
* InputAddon -- Wrapper tier. Prepend/append content to inputs.
|
|
17
22
|
*/
|
|
18
|
-
export declare const InputAddon:
|
|
23
|
+
export declare const InputAddon: {
|
|
24
|
+
({ ref, children, position, }: InputAddonProps & {
|
|
25
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
19
29
|
export { InputGroup as PresetInputGroup, InputAddon as PresetInputAddon };
|
|
20
30
|
export type { InputGroupProps as PresetInputGroupProps, InputAddonProps as PresetInputAddonProps };
|