@nattstack/ui 0.0.78 → 0.0.80
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/README.md +1 -2
- package/dist/baseline/index.css +69 -65
- package/dist/components/index.d.ts +64 -137
- package/dist/components/index.js +220 -272
- package/dist/components/style.css +999 -885
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -4,8 +4,7 @@ A collection of reusable React components built with Base UI, TypeScript, and CS
|
|
|
4
4
|
|
|
5
5
|
## Links
|
|
6
6
|
|
|
7
|
-
- Website: [https://
|
|
8
|
-
- Storybook: [https://ui-storybook.vercel.app](https://ui-storybook.vercel.app)
|
|
7
|
+
- Website: [https://ui.natt.so](https://ui.natt.so)
|
|
9
8
|
|
|
10
9
|
## Installation
|
|
11
10
|
|
package/dist/baseline/index.css
CHANGED
|
@@ -59,85 +59,89 @@ body > * {
|
|
|
59
59
|
isolation: isolate;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
@layer base {
|
|
63
|
+
/*
|
|
64
|
+
Button baseline
|
|
65
|
+
*/
|
|
66
|
+
button {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
text-align: start;
|
|
69
|
+
user-select: none;
|
|
70
|
+
width: fit-content;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/*
|
|
63
74
|
Apply a shared focus ring treatment to interactive controls
|
|
64
|
-
*/
|
|
65
|
-
a,
|
|
66
|
-
button {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
75
|
+
*/
|
|
76
|
+
a,
|
|
77
|
+
button {
|
|
78
|
+
outline-color: var(--color-outline);
|
|
79
|
+
outline-offset: -2px;
|
|
80
|
+
outline-style: solid;
|
|
81
|
+
outline-width: 0;
|
|
82
|
+
}
|
|
72
83
|
|
|
73
|
-
a:focus-visible,
|
|
74
|
-
button:focus-visible {
|
|
75
|
-
|
|
76
|
-
}
|
|
84
|
+
a:focus-visible,
|
|
85
|
+
button:focus-visible {
|
|
86
|
+
outline-width: 2px;
|
|
87
|
+
}
|
|
77
88
|
|
|
78
|
-
/*
|
|
89
|
+
/*
|
|
79
90
|
Avoid text overflows
|
|
80
|
-
*/
|
|
81
|
-
h1,
|
|
82
|
-
h2,
|
|
83
|
-
h3,
|
|
84
|
-
h4,
|
|
85
|
-
h5,
|
|
86
|
-
h6,
|
|
87
|
-
p {
|
|
88
|
-
|
|
89
|
-
}
|
|
91
|
+
*/
|
|
92
|
+
h1,
|
|
93
|
+
h2,
|
|
94
|
+
h3,
|
|
95
|
+
h4,
|
|
96
|
+
h5,
|
|
97
|
+
h6,
|
|
98
|
+
p {
|
|
99
|
+
overflow-wrap: break-word;
|
|
100
|
+
}
|
|
90
101
|
|
|
91
|
-
/*
|
|
102
|
+
/*
|
|
92
103
|
Default heading typography
|
|
93
|
-
*/
|
|
94
|
-
h1,
|
|
95
|
-
h2,
|
|
96
|
-
h3,
|
|
97
|
-
h4,
|
|
98
|
-
h5,
|
|
99
|
-
h6 {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
+
*/
|
|
105
|
+
h1,
|
|
106
|
+
h2,
|
|
107
|
+
h3,
|
|
108
|
+
h4,
|
|
109
|
+
h5,
|
|
110
|
+
h6 {
|
|
111
|
+
color: var(--color-text-primary);
|
|
112
|
+
font-family: var(--font-heading);
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
}
|
|
104
115
|
|
|
105
|
-
/*
|
|
116
|
+
/*
|
|
106
117
|
Improve paragraph wrapping for readability
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
|
-
/*
|
|
110
|
-
Use a dedicated monospace font for code
|
|
111
|
-
*/
|
|
112
|
-
code {
|
|
113
|
-
font-family: var(--font-code);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/*
|
|
118
|
+
*/
|
|
119
|
+
/*
|
|
117
120
|
(Safari mobile) Remove inner shadows from form fields
|
|
118
|
-
*/
|
|
119
|
-
input,
|
|
120
|
-
textarea {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
121
|
+
*/
|
|
122
|
+
input,
|
|
123
|
+
textarea {
|
|
124
|
+
-webkit-appearance: none;
|
|
125
|
+
appearance: none;
|
|
126
|
+
}
|
|
124
127
|
|
|
125
|
-
/*
|
|
128
|
+
/*
|
|
126
129
|
Hide number spin buttons in WebKit browsers
|
|
127
130
|
Chrome, Safari, Edge, Opera
|
|
128
|
-
*/
|
|
129
|
-
input::-webkit-outer-spin-button,
|
|
130
|
-
input::-webkit-inner-spin-button {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
131
|
+
*/
|
|
132
|
+
input::-webkit-outer-spin-button,
|
|
133
|
+
input::-webkit-inner-spin-button {
|
|
134
|
+
margin: 0;
|
|
135
|
+
-webkit-appearance: none;
|
|
136
|
+
}
|
|
134
137
|
|
|
135
|
-
/*
|
|
138
|
+
/*
|
|
136
139
|
Hide number spin buttons in Firefox
|
|
137
|
-
*/
|
|
138
|
-
input[type="number"] {
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
*/
|
|
141
|
+
input[type="number"] {
|
|
142
|
+
-moz-appearance: textfield;
|
|
143
|
+
appearance: textfield;
|
|
144
|
+
}
|
|
141
145
|
}
|
|
142
146
|
|
|
143
147
|
/*
|
|
@@ -1,56 +1,28 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import { Checkbox as Checkbox$1, Drawer, Menu as Menu$1, OTPField as OTPField$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "@base-ui/react";
|
|
1
3
|
import { CSSProperties, ComponentProps, ElementType, JSX, ReactNode } from "react";
|
|
2
|
-
import { Checkbox as Checkbox$1, Drawer, Menu as Menu$1, OTPFieldPreview, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "@base-ui/react";
|
|
3
4
|
|
|
4
5
|
//#region src/components/button/button.d.ts
|
|
5
|
-
interface
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
iconEnd?: never;
|
|
8
|
-
iconStart?: never;
|
|
9
|
-
isIconOnly: true;
|
|
10
|
-
}
|
|
11
|
-
interface ButtonProps extends ButtonInternalProps {
|
|
6
|
+
interface ButtonProps extends Omit<ComponentProps<"button">, "children" | "disabled"> {
|
|
12
7
|
children?: number | number[] | string | string[];
|
|
13
|
-
isIconOnly?: false;
|
|
14
|
-
}
|
|
15
|
-
interface ButtonInternalProps extends Omit<ComponentProps<"button">, "aria-pressed" | "disabled"> {
|
|
16
8
|
iconEnd?: ReactNode;
|
|
17
9
|
iconStart?: ReactNode;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
size?: ButtonSize;
|
|
25
|
-
variant?: "ghost" | "primary" | "secondary";
|
|
10
|
+
isDisabled?: ComponentProps<"button">["disabled"];
|
|
11
|
+
isFullWidth?: VariantProps<typeof button>["isFullWidth"];
|
|
12
|
+
isLoading?: ComponentProps<"button">["disabled"];
|
|
13
|
+
isRounded?: VariantProps<typeof button>["isRounded"];
|
|
14
|
+
size?: VariantProps<typeof button>["size"];
|
|
15
|
+
variant?: VariantProps<typeof button>["variant"];
|
|
26
16
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
readonly SIZE: {
|
|
38
|
-
readonly 32: string;
|
|
39
|
-
readonly 36: string;
|
|
40
|
-
readonly 40: string;
|
|
41
|
-
readonly 44: string;
|
|
42
|
-
readonly 48: string;
|
|
43
|
-
};
|
|
44
|
-
readonly VARIANT: {
|
|
45
|
-
readonly GHOST: string;
|
|
46
|
-
readonly PRIMARY: string;
|
|
47
|
-
readonly SECONDARY: string;
|
|
48
|
-
};
|
|
49
|
-
readonly WIDTH: {
|
|
50
|
-
readonly BASE: string;
|
|
51
|
-
readonly FULL: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
17
|
+
declare function Button(props: ButtonProps): JSX.Element;
|
|
18
|
+
declare const button: (props?: ({
|
|
19
|
+
isDisabled?: boolean | null | undefined;
|
|
20
|
+
isFullWidth?: boolean | null | undefined;
|
|
21
|
+
isLoading?: boolean | null | undefined;
|
|
22
|
+
isRounded?: boolean | null | undefined;
|
|
23
|
+
size?: 32 | 36 | 40 | 44 | 48 | null | undefined;
|
|
24
|
+
variant?: "ghost" | "primary" | "secondary" | null | undefined;
|
|
25
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
54
26
|
//#endregion
|
|
55
27
|
//#region src/components/button-link/button-link.d.ts
|
|
56
28
|
type ButtonLinkProps<ComponentType extends ElementType = "a"> = ButtonLinkHrefProps<ComponentType> & ButtonLinkInternalProps<ComponentType> & Omit<ComponentProps<ComponentType>, "href" | keyof ButtonLinkInternalProps<ComponentType>>;
|
|
@@ -63,7 +35,7 @@ type ButtonLinkHrefProps<ComponentType extends ElementType> = ComponentProps<Com
|
|
|
63
35
|
} ? {
|
|
64
36
|
href?: Href | string;
|
|
65
37
|
} : unknown;
|
|
66
|
-
interface ButtonLinkInternalProps<ComponentType extends ElementType> extends Pick<ButtonProps, "isFullWidth" | "
|
|
38
|
+
interface ButtonLinkInternalProps<ComponentType extends ElementType> extends Pick<ButtonProps, "isFullWidth" | "isRounded" | "size" | "variant"> {
|
|
67
39
|
as?: ComponentType;
|
|
68
40
|
}
|
|
69
41
|
declare function ButtonLink<ComponentType extends ElementType = "a">(props: ButtonLinkProps<ComponentType>): JSX.Element;
|
|
@@ -71,9 +43,7 @@ declare function ButtonLink<ComponentType extends ElementType = "a">(props: Butt
|
|
|
71
43
|
//#region src/components/checkbox/checkbox.d.ts
|
|
72
44
|
interface CheckboxProps extends ComponentProps<typeof Checkbox$1.Root> {}
|
|
73
45
|
declare function Checkbox(props: CheckboxProps): JSX.Element;
|
|
74
|
-
declare const
|
|
75
|
-
readonly BASE: string;
|
|
76
|
-
};
|
|
46
|
+
declare const checkboxVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
77
47
|
//#endregion
|
|
78
48
|
//#region src/components/column/column.d.ts
|
|
79
49
|
type ColumnProps<ComponentType extends ElementType = "div"> = ColumnInternalProps & ComponentProps<ComponentType>;
|
|
@@ -87,9 +57,7 @@ interface ColumnInternalProps {
|
|
|
87
57
|
justifyContent?: CSSProperties["justifyContent"];
|
|
88
58
|
}
|
|
89
59
|
declare function Column(props: ColumnProps): JSX.Element;
|
|
90
|
-
declare const
|
|
91
|
-
readonly BASE: string;
|
|
92
|
-
};
|
|
60
|
+
declare const columnVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
93
61
|
//#endregion
|
|
94
62
|
//#region src/components/dialog-responsive/dialog-responsive.d.ts
|
|
95
63
|
interface DialogResponsiveProps extends Omit<Drawer.Root.Props, "onOpenChange" | "open"> {
|
|
@@ -101,14 +69,21 @@ declare function DialogResponsive(props: DialogResponsiveProps): JSX.Element;
|
|
|
101
69
|
//#region src/components/dialog-responsive/dialog-responsive-popup.d.ts
|
|
102
70
|
interface DialogResponsivePopupProps extends Drawer.Popup.Props {}
|
|
103
71
|
declare function DialogResponsivePopup(props: DialogResponsivePopupProps): JSX.Element;
|
|
104
|
-
declare const
|
|
105
|
-
readonly BASE: string;
|
|
106
|
-
};
|
|
72
|
+
declare const dialogResponsivePopupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
107
73
|
//#endregion
|
|
108
74
|
//#region src/components/dialog-responsive/dialog-responsive-trigger.d.ts
|
|
109
75
|
interface DialogResponsiveTriggerProps extends Drawer.Trigger.Props {}
|
|
110
76
|
declare function DialogResponsiveTrigger(props: DialogResponsiveTriggerProps): JSX.Element;
|
|
111
77
|
//#endregion
|
|
78
|
+
//#region src/components/icon-button/icon-button.d.ts
|
|
79
|
+
interface IconButtonProps extends Omit<ButtonProps, "children" | "iconEnd" | "iconStart" | "isFullWidth"> {
|
|
80
|
+
children?: ReactNode;
|
|
81
|
+
}
|
|
82
|
+
declare function IconButton(props: IconButtonProps): JSX.Element;
|
|
83
|
+
declare const iconButton: (props?: ({
|
|
84
|
+
size?: 32 | 36 | 40 | 44 | 48 | null | undefined;
|
|
85
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
86
|
+
//#endregion
|
|
112
87
|
//#region src/components/input/input.d.ts
|
|
113
88
|
interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "autoFocus" | "disabled" | "readOnly" | "required"> {
|
|
114
89
|
isActive?: boolean;
|
|
@@ -121,29 +96,17 @@ interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "aut
|
|
|
121
96
|
isValid?: boolean;
|
|
122
97
|
size?: InputSize;
|
|
123
98
|
}
|
|
124
|
-
type InputSize =
|
|
99
|
+
type InputSize = NonNullable<VariantProps<typeof inputVariants>["size"]>;
|
|
125
100
|
declare function Input(props: InputProps): JSX.Element;
|
|
126
|
-
declare const
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
readonly FULL: string;
|
|
131
|
-
};
|
|
132
|
-
readonly SIZE: {
|
|
133
|
-
readonly 32: string;
|
|
134
|
-
readonly 36: string;
|
|
135
|
-
readonly 40: string;
|
|
136
|
-
readonly 44: string;
|
|
137
|
-
readonly 48: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
101
|
+
declare const inputVariants: (props?: ({
|
|
102
|
+
isRounded?: boolean | null | undefined;
|
|
103
|
+
size?: 32 | 36 | 40 | 44 | 48 | null | undefined;
|
|
104
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
140
105
|
//#endregion
|
|
141
106
|
//#region src/components/label/label.d.ts
|
|
142
107
|
interface LabelProps extends ComponentProps<"label"> {}
|
|
143
108
|
declare function Label(props: LabelProps): JSX.Element;
|
|
144
|
-
declare const
|
|
145
|
-
readonly BASE: string;
|
|
146
|
-
};
|
|
109
|
+
declare const labelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
147
110
|
//#endregion
|
|
148
111
|
//#region src/components/menu/menu.d.ts
|
|
149
112
|
interface MenuProps extends Omit<Menu$1.Root.Props, "disabled" | "onOpenChange" | "open"> {
|
|
@@ -263,22 +226,19 @@ interface MenuViewportProps extends Omit<Menu$1.Viewport.Props, "className"> {
|
|
|
263
226
|
declare function MenuViewport(props: MenuViewportProps): JSX.Element;
|
|
264
227
|
//#endregion
|
|
265
228
|
//#region src/components/otp-field/otp-field.d.ts
|
|
266
|
-
interface OTPFieldProps extends Omit<
|
|
267
|
-
isDisabled?:
|
|
268
|
-
isMasked?:
|
|
229
|
+
interface OTPFieldProps extends Omit<OTPField$1.Root.Props, "disabled"> {
|
|
230
|
+
isDisabled?: OTPField$1.Root.Props["disabled"];
|
|
231
|
+
isMasked?: OTPField$1.Root.Props["mask"];
|
|
269
232
|
}
|
|
270
233
|
declare function OTPField(props: OTPFieldProps): JSX.Element;
|
|
271
|
-
declare const
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
};
|
|
234
|
+
declare const otpFieldVariants: (props?: ({
|
|
235
|
+
isMasked?: boolean | null | undefined;
|
|
236
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
275
237
|
//#endregion
|
|
276
238
|
//#region src/components/otp-field/otp-field-input.d.ts
|
|
277
|
-
interface OTPFieldInputProps extends
|
|
239
|
+
interface OTPFieldInputProps extends OTPField$1.Input.Props {}
|
|
278
240
|
declare function OTPFieldInput(props: OTPFieldInputProps): JSX.Element;
|
|
279
|
-
declare const
|
|
280
|
-
readonly BASE: string;
|
|
281
|
-
};
|
|
241
|
+
declare const otpFieldInputVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
282
242
|
//#endregion
|
|
283
243
|
//#region src/components/row/row.d.ts
|
|
284
244
|
type RowProps<ComponentType extends ElementType = "div"> = ComponentProps<ComponentType> & RowInternalProps;
|
|
@@ -292,9 +252,7 @@ interface RowInternalProps {
|
|
|
292
252
|
justifyContent?: CSSProperties["justifyContent"];
|
|
293
253
|
}
|
|
294
254
|
declare function Row(props: RowProps): JSX.Element;
|
|
295
|
-
declare const
|
|
296
|
-
readonly BASE: string;
|
|
297
|
-
};
|
|
255
|
+
declare const rowVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
298
256
|
//#endregion
|
|
299
257
|
//#region src/components/spacer/spacer.d.ts
|
|
300
258
|
interface SpacerProps extends Omit<ComponentProps<"div">, "children"> {
|
|
@@ -302,9 +260,7 @@ interface SpacerProps extends Omit<ComponentProps<"div">, "children"> {
|
|
|
302
260
|
width?: CSSProperties["width"];
|
|
303
261
|
}
|
|
304
262
|
declare function Spacer(props: SpacerProps): JSX.Element;
|
|
305
|
-
declare const
|
|
306
|
-
readonly BASE: string;
|
|
307
|
-
};
|
|
263
|
+
declare const spacerVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
308
264
|
//#endregion
|
|
309
265
|
//#region src/components/switch/switch.d.ts
|
|
310
266
|
interface SwitchProps extends Omit<ComponentProps<typeof Switch$1.Root>, "checked" | "defaultChecked" | "disabled" | "nativeButton" | "readOnly" | "required"> {
|
|
@@ -315,79 +271,57 @@ interface SwitchProps extends Omit<ComponentProps<typeof Switch$1.Root>, "checke
|
|
|
315
271
|
isRequired?: boolean;
|
|
316
272
|
size?: SwitchSize;
|
|
317
273
|
}
|
|
318
|
-
type SwitchSize =
|
|
274
|
+
type SwitchSize = NonNullable<VariantProps<typeof switchVariants>["size"]>;
|
|
319
275
|
declare function Switch(props: SwitchProps): JSX.Element;
|
|
320
|
-
declare const
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
readonly 18: string;
|
|
324
|
-
readonly 24: string;
|
|
325
|
-
};
|
|
326
|
-
};
|
|
276
|
+
declare const switchVariants: (props?: ({
|
|
277
|
+
size?: 18 | 24 | null | undefined;
|
|
278
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
327
279
|
//#endregion
|
|
328
280
|
//#region src/components/tabs-pill/tabs-pill-list.d.ts
|
|
329
281
|
interface TabsPillListProps extends Tabs$1.List.Props {}
|
|
330
282
|
declare function TabsPillList(props: TabsPillListProps): JSX.Element;
|
|
331
|
-
declare const
|
|
332
|
-
readonly BASE: string;
|
|
333
|
-
};
|
|
283
|
+
declare const tabsPillListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
334
284
|
//#endregion
|
|
335
285
|
//#region src/components/tabs-pill/tabs-pill-tab.d.ts
|
|
336
286
|
interface TabsPillTabProps extends Omit<Tabs$1.Tab.Props, "nativeButton"> {
|
|
337
287
|
isNativeButton?: Tabs$1.Tab.Props["nativeButton"];
|
|
338
288
|
}
|
|
339
289
|
declare function TabsPillTab(props: TabsPillTabProps): JSX.Element;
|
|
340
|
-
declare const
|
|
341
|
-
readonly BACKGROUND: string;
|
|
342
|
-
readonly BASE: string;
|
|
343
|
-
readonly WRAPPER: string;
|
|
344
|
-
};
|
|
290
|
+
declare const tabsPillTabVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
345
291
|
//#endregion
|
|
346
292
|
//#region src/components/tabs-segmented/tabs-segmented-list.d.ts
|
|
347
293
|
interface TabsSegmentedListProps extends Tabs$1.List.Props {}
|
|
348
294
|
declare function TabsSegmentedList(props: TabsSegmentedListProps): JSX.Element;
|
|
349
|
-
declare const
|
|
350
|
-
readonly BASE: string;
|
|
351
|
-
};
|
|
295
|
+
declare const tabsSegmentedListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
352
296
|
//#endregion
|
|
353
297
|
//#region src/components/tabs-segmented/tabs-segmented-tab.d.ts
|
|
354
298
|
interface TabsSegmentedTabProps extends Omit<Tabs$1.Tab.Props, "nativeButton"> {
|
|
355
299
|
isNativeButton?: Tabs$1.Tab.Props["nativeButton"];
|
|
356
300
|
}
|
|
357
301
|
declare function TabsSegmentedTab(props: TabsSegmentedTabProps): JSX.Element;
|
|
358
|
-
declare const
|
|
359
|
-
readonly BASE: string;
|
|
360
|
-
};
|
|
302
|
+
declare const tabsSegmentedTabVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
361
303
|
//#endregion
|
|
362
304
|
//#region src/components/tabs-underline/tabs-underline-list.d.ts
|
|
363
305
|
interface TabsUnderlineListProps extends Tabs$1.List.Props {}
|
|
364
306
|
declare function TabsUnderlineList(props: TabsUnderlineListProps): JSX.Element;
|
|
365
|
-
declare const
|
|
366
|
-
readonly BASE: string;
|
|
367
|
-
};
|
|
307
|
+
declare const tabsUnderlineListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
368
308
|
//#endregion
|
|
369
309
|
//#region src/components/tabs-underline/tabs-underline-tab.d.ts
|
|
370
310
|
interface TabsUnderlineTabProps extends Omit<Tabs$1.Tab.Props, "nativeButton"> {
|
|
371
311
|
isNativeButton?: Tabs$1.Tab.Props["nativeButton"];
|
|
372
312
|
}
|
|
373
313
|
declare function TabsUnderlineTab(props: TabsUnderlineTabProps): JSX.Element;
|
|
374
|
-
declare const
|
|
375
|
-
readonly BASE: string;
|
|
376
|
-
};
|
|
314
|
+
declare const tabsUnderlineTabVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
377
315
|
//#endregion
|
|
378
316
|
//#region src/components/tabs/tabs.d.ts
|
|
379
317
|
interface TabsProps extends Tabs$1.Root.Props {}
|
|
380
318
|
declare function Tabs(props: TabsProps): JSX.Element;
|
|
381
|
-
declare const
|
|
382
|
-
readonly BASE: string;
|
|
383
|
-
};
|
|
319
|
+
declare const tabsVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
384
320
|
//#endregion
|
|
385
321
|
//#region src/components/tabs/tabs-panel.d.ts
|
|
386
322
|
interface TabsPanelProps extends Tabs$1.Panel.Props {}
|
|
387
323
|
declare function TabsPanel(props: TabsPanelProps): JSX.Element;
|
|
388
|
-
declare const
|
|
389
|
-
readonly BASE: string;
|
|
390
|
-
};
|
|
324
|
+
declare const tabsPanelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
391
325
|
//#endregion
|
|
392
326
|
//#region src/components/textarea/textarea.d.ts
|
|
393
327
|
interface TextareaProps extends Omit<ComponentProps<"textarea">, "aria-pressed" | "disabled" | "readOnly" | "required"> {
|
|
@@ -400,14 +334,9 @@ interface TextareaProps extends Omit<ComponentProps<"textarea">, "aria-pressed"
|
|
|
400
334
|
isValid?: boolean;
|
|
401
335
|
}
|
|
402
336
|
declare function Textarea(props: TextareaProps): JSX.Element;
|
|
403
|
-
declare const
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
readonly ROUNDED: {
|
|
407
|
-
readonly BASE: string;
|
|
408
|
-
readonly FULL: string;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
337
|
+
declare const textareaVariants: (props?: ({
|
|
338
|
+
isRounded?: boolean | null | undefined;
|
|
339
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
411
340
|
//#endregion
|
|
412
341
|
//#region src/components/tooltip/tooltip.d.ts
|
|
413
342
|
interface TooltipProps extends Omit<Tooltip$1.Root.Props, "disabled"> {
|
|
@@ -419,9 +348,7 @@ declare function Tooltip(props: TooltipProps): JSX.Element;
|
|
|
419
348
|
//#region src/components/tooltip/tooltip-popup.d.ts
|
|
420
349
|
interface TooltipPopupProps extends Pick<Tooltip$1.Positioner.Props, "side" | "sideOffset">, Tooltip$1.Popup.Props {}
|
|
421
350
|
declare function TooltipPopup(props: TooltipPopupProps): JSX.Element;
|
|
422
|
-
declare const
|
|
423
|
-
readonly BASE: string;
|
|
424
|
-
};
|
|
351
|
+
declare const tooltipPopupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
425
352
|
//#endregion
|
|
426
353
|
//#region src/components/tooltip/tooltip-provider.d.ts
|
|
427
354
|
interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
@@ -431,4 +358,4 @@ declare function TooltipProvider(props: TooltipProviderProps): JSX.Element;
|
|
|
431
358
|
interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
|
|
432
359
|
declare function TooltipTrigger(props: TooltipTriggerProps): JSX.Element;
|
|
433
360
|
//#endregion
|
|
434
|
-
export {
|
|
361
|
+
export { Button, ButtonLink, ButtonLinkProps, ButtonProps, Checkbox, CheckboxProps, Column, ColumnProps, DialogResponsive, DialogResponsivePopup, DialogResponsivePopupProps, DialogResponsiveProps, DialogResponsiveTrigger, DialogResponsiveTriggerProps, IconButton, IconButtonProps, Input, InputProps, Label, LabelProps, MENU_CLASS_NAME, Menu, MenuCheckboxItem, MenuCheckboxItemProps, MenuContent, MenuContentProps, MenuGroup, MenuGroupLabel, MenuGroupLabelProps, MenuGroupProps, MenuItem, MenuItemProps, MenuLinkItem, MenuLinkItemProps, MenuProps, MenuRadioGroup, MenuRadioGroupProps, MenuRadioItem, MenuRadioItemProps, MenuSeparator, MenuSeparatorProps, MenuSubmenu, MenuSubmenuProps, MenuSubmenuTrigger, MenuSubmenuTriggerProps, MenuTrigger, MenuTriggerProps, MenuViewport, MenuViewportProps, OTPField, OTPFieldInput, Row, RowProps, Spacer, SpacerProps, Switch, SwitchProps, Tabs, TabsPanel, TabsPanelProps, TabsPillList, TabsPillListProps, TabsPillTab, TabsPillTabProps, TabsProps, TabsSegmentedList, TabsSegmentedListProps, TabsSegmentedTab, TabsSegmentedTabProps, TabsUnderlineList, TabsUnderlineListProps, TabsUnderlineTab, TabsUnderlineTabProps, Textarea, TextareaProps, Tooltip, TooltipPopup, TooltipPopupProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, button, checkboxVariants, columnVariants, createMenuHandle, dialogResponsivePopupVariants, iconButton, inputVariants, labelVariants, otpFieldInputVariants, otpFieldVariants, rowVariants, spacerVariants, switchVariants, tabsPanelVariants, tabsPillListVariants, tabsPillTabVariants, tabsSegmentedListVariants, tabsSegmentedTabVariants, tabsUnderlineListVariants, tabsUnderlineTabVariants, tabsVariants, textareaVariants, tooltipPopupVariants };
|