@glyphui/ui 0.2.0 → 0.3.0
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/dist/chart.d.ts +202 -0
- package/dist/chart.js +457 -0
- package/dist/data-table.js +3 -2
- package/dist/{field-CCecIzdq.js → field-CWZ_FdkD.js} +2 -1
- package/dist/{field-context-B6WOcK5m.js → field-context-anGPYXbW.js} +2 -56
- package/dist/form.js +3 -2
- package/dist/index.d.ts +2285 -241
- package/dist/index.js +2819 -266
- package/dist/{states-Rp8wZ_jH.js → states-DR-OoDT-.js} +2 -1
- package/dist/tv-DBAGlgXJ.js +58 -0
- package/package.json +17 -2
- package/src/components/accordion/accordion.styles.ts +4 -4
- package/src/components/calendar/calendar.styles.ts +50 -0
- package/src/components/calendar/calendar.tsx +84 -0
- package/src/components/calendar/index.ts +3 -0
- package/src/components/carousel/carousel.styles.ts +43 -0
- package/src/components/carousel/carousel.tsx +278 -0
- package/src/components/carousel/index.ts +13 -0
- package/src/components/collapsible/collapsible.tsx +66 -0
- package/src/components/collapsible/index.ts +6 -0
- package/src/components/context-menu/context-menu.styles.ts +19 -0
- package/src/components/context-menu/context-menu.tsx +226 -0
- package/src/components/context-menu/index.ts +19 -0
- package/src/components/copy-button/copy-button.tsx +117 -0
- package/src/components/copy-button/index.ts +1 -0
- package/src/components/date-picker/date-picker.styles.ts +42 -0
- package/src/components/date-picker/date-picker.tsx +322 -0
- package/src/components/date-picker/index.ts +8 -0
- package/src/components/file-upload/file-upload.styles.ts +43 -0
- package/src/components/file-upload/file-upload.tsx +343 -0
- package/src/components/file-upload/index.ts +10 -0
- package/src/components/hover-card/hover-card.tsx +41 -0
- package/src/components/hover-card/index.ts +1 -0
- package/src/components/input-otp/index.ts +10 -0
- package/src/components/input-otp/input-otp.styles.ts +38 -0
- package/src/components/input-otp/input-otp.tsx +116 -0
- package/src/components/modal/index.ts +2 -0
- package/src/components/modal/modal.styles.ts +18 -0
- package/src/components/modal/modal.tsx +86 -0
- package/src/components/navigation-menu/index.ts +14 -0
- package/src/components/navigation-menu/navigation-menu.styles.ts +48 -0
- package/src/components/navigation-menu/navigation-menu.tsx +198 -0
- package/src/components/number-input/index.ts +2 -0
- package/src/components/number-input/number-input.styles.ts +41 -0
- package/src/components/number-input/number-input.tsx +211 -0
- package/src/components/password-input/index.ts +7 -0
- package/src/components/password-input/password-input.styles.ts +30 -0
- package/src/components/password-input/password-input.tsx +127 -0
- package/src/components/resizable/index.ts +9 -0
- package/src/components/resizable/resizable.styles.ts +28 -0
- package/src/components/resizable/resizable.tsx +69 -0
- package/src/components/sheet/sheet.styles.ts +7 -7
- package/src/components/stepper/index.ts +2 -0
- package/src/components/stepper/stepper.styles.ts +74 -0
- package/src/components/stepper/stepper.tsx +138 -0
- package/src/components/tag-input/index.ts +2 -0
- package/src/components/tag-input/tag-input.styles.ts +39 -0
- package/src/components/tag-input/tag-input.tsx +198 -0
- package/src/components/timeline/index.ts +8 -0
- package/src/components/timeline/timeline.styles.ts +56 -0
- package/src/components/timeline/timeline.tsx +91 -0
- package/src/components/toggle/index.ts +9 -0
- package/src/components/toggle/toggle.styles.ts +39 -0
- package/src/components/toggle/toggle.tsx +61 -0
- package/src/components/tree-view/index.ts +2 -0
- package/src/components/tree-view/tree-view.styles.ts +42 -0
- package/src/components/tree-view/tree-view.tsx +274 -0
- package/src/components/visually-hidden/index.ts +1 -0
- package/src/components/visually-hidden/visually-hidden.tsx +10 -0
- package/src/index.ts +20 -0
- package/src/patterns/chart/chart-parts.tsx +171 -0
- package/src/patterns/chart/chart.styles.ts +35 -0
- package/src/patterns/chart/chart.tsx +369 -0
- package/src/patterns/chart/index.ts +13 -0
- package/styles.css +16 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,11 +2,15 @@ import { n as tv, t as VariantProps } from "./tv-DuMh7UH2.js";
|
|
|
2
2
|
import { a as IconButton, c as fieldStyles, i as ButtonProps, l as ButtonVariants, n as FieldProps, o as IconButtonProps, r as Button, s as FieldVariants, t as Field, u as buttonStyles } from "./index-BWK4czIG.js";
|
|
3
3
|
import { t as StylesEntry } from "./registry-BGSJoiLq.js";
|
|
4
4
|
import { ColorMode, ColorMode as ColorMode$1, ColorToken, ComponentName, ComponentOverrides, GlyphComponentRegistry, RadiusToken, ShadowToken, TextToken, Theme, Theme as Theme$1, ThemeInput, Tone, defineTheme, themeToCss, tokenVar } from "@glyphui/tokens";
|
|
5
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, Popover as Popover$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "radix-ui";
|
|
5
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, VisuallyHidden as VisuallyHidden$1 } from "radix-ui";
|
|
6
6
|
import { ComponentProps, DependencyList, Dispatch, ElementType, MouseEvent, MouseEventHandler, ReactNode, SetStateAction } from "react";
|
|
7
|
+
import { DateRange, DateRange as DateRange$1, DayPickerProps, Matcher, Matcher as Matcher$1 } from "react-day-picker";
|
|
8
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
9
|
+
import { ClassValue } from "clsx";
|
|
7
10
|
import { Command as Command$1 } from "cmdk";
|
|
11
|
+
import { OTPInputProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "input-otp";
|
|
12
|
+
import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels";
|
|
8
13
|
import { Toaster as Toaster$1, toast } from "sonner";
|
|
9
|
-
import { ClassValue } from "clsx";
|
|
10
14
|
//#region src/components/avatar/avatar.styles.d.ts
|
|
11
15
|
export declare const avatarStyles: import("tailwind-variants").TVReturnType<{
|
|
12
16
|
size: {
|
|
@@ -834,6 +838,7 @@ export declare function Switch(inProps: SwitchProps): import("react").JSX.Elemen
|
|
|
834
838
|
export declare const tableStyles: import("tailwind-variants").TVReturnType<{
|
|
835
839
|
[key: string]: {
|
|
836
840
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
841
|
+
caption?: import("tailwind-variants").ClassValue;
|
|
837
842
|
header?: import("tailwind-variants").ClassValue;
|
|
838
843
|
body?: import("tailwind-variants").ClassValue;
|
|
839
844
|
wrapper?: import("tailwind-variants").ClassValue;
|
|
@@ -841,12 +846,12 @@ export declare const tableStyles: import("tailwind-variants").TVReturnType<{
|
|
|
841
846
|
row?: import("tailwind-variants").ClassValue;
|
|
842
847
|
head?: import("tailwind-variants").ClassValue;
|
|
843
848
|
cell?: import("tailwind-variants").ClassValue;
|
|
844
|
-
caption?: import("tailwind-variants").ClassValue;
|
|
845
849
|
};
|
|
846
850
|
};
|
|
847
851
|
} | {
|
|
848
852
|
[x: string]: {
|
|
849
853
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
854
|
+
caption?: import("tailwind-variants").ClassValue;
|
|
850
855
|
header?: import("tailwind-variants").ClassValue;
|
|
851
856
|
body?: import("tailwind-variants").ClassValue;
|
|
852
857
|
wrapper?: import("tailwind-variants").ClassValue;
|
|
@@ -854,7 +859,6 @@ export declare const tableStyles: import("tailwind-variants").TVReturnType<{
|
|
|
854
859
|
row?: import("tailwind-variants").ClassValue;
|
|
855
860
|
head?: import("tailwind-variants").ClassValue;
|
|
856
861
|
cell?: import("tailwind-variants").ClassValue;
|
|
857
|
-
caption?: import("tailwind-variants").ClassValue;
|
|
858
862
|
};
|
|
859
863
|
};
|
|
860
864
|
} | {}, {
|
|
@@ -869,6 +873,7 @@ export declare const tableStyles: import("tailwind-variants").TVReturnType<{
|
|
|
869
873
|
}, undefined, {
|
|
870
874
|
[key: string]: {
|
|
871
875
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
876
|
+
caption?: import("tailwind-variants").ClassValue;
|
|
872
877
|
header?: import("tailwind-variants").ClassValue;
|
|
873
878
|
body?: import("tailwind-variants").ClassValue;
|
|
874
879
|
wrapper?: import("tailwind-variants").ClassValue;
|
|
@@ -876,7 +881,6 @@ export declare const tableStyles: import("tailwind-variants").TVReturnType<{
|
|
|
876
881
|
row?: import("tailwind-variants").ClassValue;
|
|
877
882
|
head?: import("tailwind-variants").ClassValue;
|
|
878
883
|
cell?: import("tailwind-variants").ClassValue;
|
|
879
|
-
caption?: import("tailwind-variants").ClassValue;
|
|
880
884
|
};
|
|
881
885
|
};
|
|
882
886
|
} | {}, {
|
|
@@ -1455,10 +1459,10 @@ export declare const pageHeaderStyles: import("tailwind-variants").TVReturnType<
|
|
|
1455
1459
|
[key: string]: {
|
|
1456
1460
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
1457
1461
|
root?: import("tailwind-variants").ClassValue;
|
|
1462
|
+
title?: import("tailwind-variants").ClassValue;
|
|
1463
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1458
1464
|
actions?: import("tailwind-variants").ClassValue;
|
|
1459
1465
|
text?: import("tailwind-variants").ClassValue;
|
|
1460
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1461
|
-
title?: import("tailwind-variants").ClassValue;
|
|
1462
1466
|
eyebrow?: import("tailwind-variants").ClassValue;
|
|
1463
1467
|
};
|
|
1464
1468
|
};
|
|
@@ -1466,10 +1470,10 @@ export declare const pageHeaderStyles: import("tailwind-variants").TVReturnType<
|
|
|
1466
1470
|
[x: string]: {
|
|
1467
1471
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
1468
1472
|
root?: import("tailwind-variants").ClassValue;
|
|
1473
|
+
title?: import("tailwind-variants").ClassValue;
|
|
1474
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1469
1475
|
actions?: import("tailwind-variants").ClassValue;
|
|
1470
1476
|
text?: import("tailwind-variants").ClassValue;
|
|
1471
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1472
|
-
title?: import("tailwind-variants").ClassValue;
|
|
1473
1477
|
eyebrow?: import("tailwind-variants").ClassValue;
|
|
1474
1478
|
};
|
|
1475
1479
|
};
|
|
@@ -1484,10 +1488,10 @@ export declare const pageHeaderStyles: import("tailwind-variants").TVReturnType<
|
|
|
1484
1488
|
[key: string]: {
|
|
1485
1489
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
1486
1490
|
root?: import("tailwind-variants").ClassValue;
|
|
1491
|
+
title?: import("tailwind-variants").ClassValue;
|
|
1492
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1487
1493
|
actions?: import("tailwind-variants").ClassValue;
|
|
1488
1494
|
text?: import("tailwind-variants").ClassValue;
|
|
1489
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1490
|
-
title?: import("tailwind-variants").ClassValue;
|
|
1491
1495
|
eyebrow?: import("tailwind-variants").ClassValue;
|
|
1492
1496
|
};
|
|
1493
1497
|
};
|
|
@@ -1831,9 +1835,9 @@ export declare function AlertDialogCancel(props: Omit<ButtonProps, 'variant' | '
|
|
|
1831
1835
|
export declare const alertDialogStyles: import("tailwind-variants").TVReturnType<{
|
|
1832
1836
|
[key: string]: {
|
|
1833
1837
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
1834
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
1835
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1836
1838
|
title?: import("tailwind-variants").ClassValue;
|
|
1839
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1840
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
1837
1841
|
header?: import("tailwind-variants").ClassValue;
|
|
1838
1842
|
content?: import("tailwind-variants").ClassValue;
|
|
1839
1843
|
overlay?: import("tailwind-variants").ClassValue;
|
|
@@ -1842,9 +1846,9 @@ export declare const alertDialogStyles: import("tailwind-variants").TVReturnType
|
|
|
1842
1846
|
} | {
|
|
1843
1847
|
[x: string]: {
|
|
1844
1848
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
1845
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
1846
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1847
1849
|
title?: import("tailwind-variants").ClassValue;
|
|
1850
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1851
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
1848
1852
|
header?: import("tailwind-variants").ClassValue;
|
|
1849
1853
|
content?: import("tailwind-variants").ClassValue;
|
|
1850
1854
|
overlay?: import("tailwind-variants").ClassValue;
|
|
@@ -1860,9 +1864,9 @@ export declare const alertDialogStyles: import("tailwind-variants").TVReturnType
|
|
|
1860
1864
|
}, undefined, {
|
|
1861
1865
|
[key: string]: {
|
|
1862
1866
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
1863
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
1864
|
-
description?: import("tailwind-variants").ClassValue;
|
|
1865
1867
|
title?: import("tailwind-variants").ClassValue;
|
|
1868
|
+
description?: import("tailwind-variants").ClassValue;
|
|
1869
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
1866
1870
|
header?: import("tailwind-variants").ClassValue;
|
|
1867
1871
|
content?: import("tailwind-variants").ClassValue;
|
|
1868
1872
|
overlay?: import("tailwind-variants").ClassValue;
|
|
@@ -2254,6 +2258,184 @@ declare module '@glyphui/tokens' {
|
|
|
2254
2258
|
}
|
|
2255
2259
|
}
|
|
2256
2260
|
//#endregion
|
|
2261
|
+
//#region src/components/calendar/calendar.d.ts
|
|
2262
|
+
type CalendarProps = DayPickerProps;
|
|
2263
|
+
/**
|
|
2264
|
+
* A month grid for picking dates, built on react-day-picker and styled by the theme.
|
|
2265
|
+
* Supports `mode="single" | "multiple" | "range"`, disabled dates and several months.
|
|
2266
|
+
*/
|
|
2267
|
+
export declare function Calendar(inProps: CalendarProps): import("react").JSX.Element;
|
|
2268
|
+
//#endregion
|
|
2269
|
+
//#region src/components/calendar/calendar.styles.d.ts
|
|
2270
|
+
export declare const calendarStyles: import("tailwind-variants").TVReturnType<{
|
|
2271
|
+
[key: string]: {
|
|
2272
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
2273
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2274
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
2275
|
+
nav?: import("tailwind-variants").ClassValue;
|
|
2276
|
+
hidden?: import("tailwind-variants").ClassValue;
|
|
2277
|
+
disabled?: import("tailwind-variants").ClassValue;
|
|
2278
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
2279
|
+
months?: import("tailwind-variants").ClassValue;
|
|
2280
|
+
month?: import("tailwind-variants").ClassValue;
|
|
2281
|
+
monthCaption?: import("tailwind-variants").ClassValue;
|
|
2282
|
+
captionLabel?: import("tailwind-variants").ClassValue;
|
|
2283
|
+
monthGrid?: import("tailwind-variants").ClassValue;
|
|
2284
|
+
weekdays?: import("tailwind-variants").ClassValue;
|
|
2285
|
+
weekday?: import("tailwind-variants").ClassValue;
|
|
2286
|
+
weeks?: import("tailwind-variants").ClassValue;
|
|
2287
|
+
week?: import("tailwind-variants").ClassValue;
|
|
2288
|
+
day?: import("tailwind-variants").ClassValue;
|
|
2289
|
+
today?: import("tailwind-variants").ClassValue;
|
|
2290
|
+
selected?: import("tailwind-variants").ClassValue;
|
|
2291
|
+
outside?: import("tailwind-variants").ClassValue;
|
|
2292
|
+
rangeStart?: import("tailwind-variants").ClassValue;
|
|
2293
|
+
rangeMiddle?: import("tailwind-variants").ClassValue;
|
|
2294
|
+
rangeEnd?: import("tailwind-variants").ClassValue;
|
|
2295
|
+
navButton?: import("tailwind-variants").ClassValue;
|
|
2296
|
+
dayButton?: import("tailwind-variants").ClassValue;
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
} | {
|
|
2300
|
+
[x: string]: {
|
|
2301
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
2302
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2303
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
2304
|
+
nav?: import("tailwind-variants").ClassValue;
|
|
2305
|
+
hidden?: import("tailwind-variants").ClassValue;
|
|
2306
|
+
disabled?: import("tailwind-variants").ClassValue;
|
|
2307
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
2308
|
+
months?: import("tailwind-variants").ClassValue;
|
|
2309
|
+
month?: import("tailwind-variants").ClassValue;
|
|
2310
|
+
monthCaption?: import("tailwind-variants").ClassValue;
|
|
2311
|
+
captionLabel?: import("tailwind-variants").ClassValue;
|
|
2312
|
+
monthGrid?: import("tailwind-variants").ClassValue;
|
|
2313
|
+
weekdays?: import("tailwind-variants").ClassValue;
|
|
2314
|
+
weekday?: import("tailwind-variants").ClassValue;
|
|
2315
|
+
weeks?: import("tailwind-variants").ClassValue;
|
|
2316
|
+
week?: import("tailwind-variants").ClassValue;
|
|
2317
|
+
day?: import("tailwind-variants").ClassValue;
|
|
2318
|
+
today?: import("tailwind-variants").ClassValue;
|
|
2319
|
+
selected?: import("tailwind-variants").ClassValue;
|
|
2320
|
+
outside?: import("tailwind-variants").ClassValue;
|
|
2321
|
+
rangeStart?: import("tailwind-variants").ClassValue;
|
|
2322
|
+
rangeMiddle?: import("tailwind-variants").ClassValue;
|
|
2323
|
+
rangeEnd?: import("tailwind-variants").ClassValue;
|
|
2324
|
+
navButton?: import("tailwind-variants").ClassValue;
|
|
2325
|
+
dayButton?: import("tailwind-variants").ClassValue;
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
} | {}, {
|
|
2329
|
+
root: string;
|
|
2330
|
+
months: string;
|
|
2331
|
+
month: string;
|
|
2332
|
+
monthCaption: string;
|
|
2333
|
+
captionLabel: string;
|
|
2334
|
+
nav: string;
|
|
2335
|
+
navButton: string[];
|
|
2336
|
+
chevron: string;
|
|
2337
|
+
monthGrid: string;
|
|
2338
|
+
weekdays: string;
|
|
2339
|
+
weekday: string;
|
|
2340
|
+
weeks: string;
|
|
2341
|
+
week: string;
|
|
2342
|
+
day: string;
|
|
2343
|
+
dayButton: string[];
|
|
2344
|
+
today: string;
|
|
2345
|
+
selected: string;
|
|
2346
|
+
outside: string;
|
|
2347
|
+
disabled: string;
|
|
2348
|
+
rangeStart: string;
|
|
2349
|
+
rangeMiddle: string;
|
|
2350
|
+
rangeEnd: string;
|
|
2351
|
+
hidden: string;
|
|
2352
|
+
footer: string;
|
|
2353
|
+
}, undefined, {
|
|
2354
|
+
[key: string]: {
|
|
2355
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
2356
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2357
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
2358
|
+
nav?: import("tailwind-variants").ClassValue;
|
|
2359
|
+
hidden?: import("tailwind-variants").ClassValue;
|
|
2360
|
+
disabled?: import("tailwind-variants").ClassValue;
|
|
2361
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
2362
|
+
months?: import("tailwind-variants").ClassValue;
|
|
2363
|
+
month?: import("tailwind-variants").ClassValue;
|
|
2364
|
+
monthCaption?: import("tailwind-variants").ClassValue;
|
|
2365
|
+
captionLabel?: import("tailwind-variants").ClassValue;
|
|
2366
|
+
monthGrid?: import("tailwind-variants").ClassValue;
|
|
2367
|
+
weekdays?: import("tailwind-variants").ClassValue;
|
|
2368
|
+
weekday?: import("tailwind-variants").ClassValue;
|
|
2369
|
+
weeks?: import("tailwind-variants").ClassValue;
|
|
2370
|
+
week?: import("tailwind-variants").ClassValue;
|
|
2371
|
+
day?: import("tailwind-variants").ClassValue;
|
|
2372
|
+
today?: import("tailwind-variants").ClassValue;
|
|
2373
|
+
selected?: import("tailwind-variants").ClassValue;
|
|
2374
|
+
outside?: import("tailwind-variants").ClassValue;
|
|
2375
|
+
rangeStart?: import("tailwind-variants").ClassValue;
|
|
2376
|
+
rangeMiddle?: import("tailwind-variants").ClassValue;
|
|
2377
|
+
rangeEnd?: import("tailwind-variants").ClassValue;
|
|
2378
|
+
navButton?: import("tailwind-variants").ClassValue;
|
|
2379
|
+
dayButton?: import("tailwind-variants").ClassValue;
|
|
2380
|
+
};
|
|
2381
|
+
};
|
|
2382
|
+
} | {}, {
|
|
2383
|
+
root: string;
|
|
2384
|
+
months: string;
|
|
2385
|
+
month: string;
|
|
2386
|
+
monthCaption: string;
|
|
2387
|
+
captionLabel: string;
|
|
2388
|
+
nav: string;
|
|
2389
|
+
navButton: string[];
|
|
2390
|
+
chevron: string;
|
|
2391
|
+
monthGrid: string;
|
|
2392
|
+
weekdays: string;
|
|
2393
|
+
weekday: string;
|
|
2394
|
+
weeks: string;
|
|
2395
|
+
week: string;
|
|
2396
|
+
day: string;
|
|
2397
|
+
dayButton: string[];
|
|
2398
|
+
today: string;
|
|
2399
|
+
selected: string;
|
|
2400
|
+
outside: string;
|
|
2401
|
+
disabled: string;
|
|
2402
|
+
rangeStart: string;
|
|
2403
|
+
rangeMiddle: string;
|
|
2404
|
+
rangeEnd: string;
|
|
2405
|
+
hidden: string;
|
|
2406
|
+
footer: string;
|
|
2407
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
2408
|
+
root: string;
|
|
2409
|
+
months: string;
|
|
2410
|
+
month: string;
|
|
2411
|
+
monthCaption: string;
|
|
2412
|
+
captionLabel: string;
|
|
2413
|
+
nav: string;
|
|
2414
|
+
navButton: string[];
|
|
2415
|
+
chevron: string;
|
|
2416
|
+
monthGrid: string;
|
|
2417
|
+
weekdays: string;
|
|
2418
|
+
weekday: string;
|
|
2419
|
+
weeks: string;
|
|
2420
|
+
week: string;
|
|
2421
|
+
day: string;
|
|
2422
|
+
dayButton: string[];
|
|
2423
|
+
today: string;
|
|
2424
|
+
selected: string;
|
|
2425
|
+
outside: string;
|
|
2426
|
+
disabled: string;
|
|
2427
|
+
rangeStart: string;
|
|
2428
|
+
rangeMiddle: string;
|
|
2429
|
+
rangeEnd: string;
|
|
2430
|
+
hidden: string;
|
|
2431
|
+
footer: string;
|
|
2432
|
+
}>>;
|
|
2433
|
+
declare module '@glyphui/tokens' {
|
|
2434
|
+
interface GlyphComponentRegistry {
|
|
2435
|
+
Calendar: StylesEntry<typeof calendarStyles>;
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
//#endregion
|
|
2257
2439
|
//#region src/components/card/card.d.ts
|
|
2258
2440
|
interface CardProps extends ComponentProps<'div'>, CardVariants {
|
|
2259
2441
|
asChild?: boolean;
|
|
@@ -2269,6 +2451,110 @@ export declare function CardDescription({ className, ...props }: ComponentProps<
|
|
|
2269
2451
|
export declare function CardBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
2270
2452
|
export declare function CardFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
2271
2453
|
//#endregion
|
|
2454
|
+
//#region src/components/carousel/carousel.styles.d.ts
|
|
2455
|
+
export declare const carouselStyles: import("tailwind-variants").TVReturnType<{
|
|
2456
|
+
orientation: {
|
|
2457
|
+
horizontal: {
|
|
2458
|
+
container: string;
|
|
2459
|
+
item: string;
|
|
2460
|
+
control: string;
|
|
2461
|
+
};
|
|
2462
|
+
vertical: {
|
|
2463
|
+
container: string;
|
|
2464
|
+
item: string;
|
|
2465
|
+
control: string;
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
}, {
|
|
2469
|
+
root: string;
|
|
2470
|
+
viewport: string;
|
|
2471
|
+
container: string;
|
|
2472
|
+
item: string;
|
|
2473
|
+
control: string;
|
|
2474
|
+
dots: string;
|
|
2475
|
+
dot: string[];
|
|
2476
|
+
}, undefined, {
|
|
2477
|
+
orientation: {
|
|
2478
|
+
horizontal: {
|
|
2479
|
+
container: string;
|
|
2480
|
+
item: string;
|
|
2481
|
+
control: string;
|
|
2482
|
+
};
|
|
2483
|
+
vertical: {
|
|
2484
|
+
container: string;
|
|
2485
|
+
item: string;
|
|
2486
|
+
control: string;
|
|
2487
|
+
};
|
|
2488
|
+
};
|
|
2489
|
+
}, {
|
|
2490
|
+
root: string;
|
|
2491
|
+
viewport: string;
|
|
2492
|
+
container: string;
|
|
2493
|
+
item: string;
|
|
2494
|
+
control: string;
|
|
2495
|
+
dots: string;
|
|
2496
|
+
dot: string[];
|
|
2497
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
2498
|
+
orientation: {
|
|
2499
|
+
horizontal: {
|
|
2500
|
+
container: string;
|
|
2501
|
+
item: string;
|
|
2502
|
+
control: string;
|
|
2503
|
+
};
|
|
2504
|
+
vertical: {
|
|
2505
|
+
container: string;
|
|
2506
|
+
item: string;
|
|
2507
|
+
control: string;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
}, {
|
|
2511
|
+
root: string;
|
|
2512
|
+
viewport: string;
|
|
2513
|
+
container: string;
|
|
2514
|
+
item: string;
|
|
2515
|
+
control: string;
|
|
2516
|
+
dots: string;
|
|
2517
|
+
dot: string[];
|
|
2518
|
+
}>>;
|
|
2519
|
+
type CarouselVariants = VariantProps<typeof carouselStyles>;
|
|
2520
|
+
declare module '@glyphui/tokens' {
|
|
2521
|
+
interface GlyphComponentRegistry {
|
|
2522
|
+
Carousel: StylesEntry<typeof carouselStyles>;
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
//#endregion
|
|
2526
|
+
//#region src/components/carousel/carousel.d.ts
|
|
2527
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
2528
|
+
type EmblaArgs = Parameters<typeof useEmblaCarousel>;
|
|
2529
|
+
type CarouselOptions = EmblaArgs[0];
|
|
2530
|
+
type CarouselPlugin = NonNullable<EmblaArgs[1]>[number];
|
|
2531
|
+
interface CarouselProps extends Omit<ComponentProps<'section'>, 'aria-label'>, CarouselVariants {
|
|
2532
|
+
/** Embla options, e.g. `{ align: 'start', loop: true }`. */
|
|
2533
|
+
opts?: CarouselOptions;
|
|
2534
|
+
plugins?: CarouselPlugin[];
|
|
2535
|
+
/** Shortcut for `opts.loop`. */
|
|
2536
|
+
loop?: boolean;
|
|
2537
|
+
/** Receives the Embla API for custom controls. */
|
|
2538
|
+
setApi?: (api: CarouselApi) => void;
|
|
2539
|
+
/** Required: describes the content, e.g. "Customer stories". */
|
|
2540
|
+
'aria-label': string;
|
|
2541
|
+
}
|
|
2542
|
+
/**
|
|
2543
|
+
* Swipeable, keyboard-accessible slides. Compose with CarouselContent, CarouselItem,
|
|
2544
|
+
* CarouselPrevious, CarouselNext and CarouselDots.
|
|
2545
|
+
*/
|
|
2546
|
+
export declare function Carousel(inProps: CarouselProps): import("react").JSX.Element;
|
|
2547
|
+
export declare function CarouselContent({ className, children, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
2548
|
+
export declare function CarouselItem({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
2549
|
+
type ControlProps$1 = Omit<IconButtonProps, 'icon' | 'aria-label'> & {
|
|
2550
|
+
'aria-label'?: string;
|
|
2551
|
+
icon?: ReactNode;
|
|
2552
|
+
};
|
|
2553
|
+
export declare function CarouselPrevious({ className, icon, ...props }: ControlProps$1): import("react").JSX.Element;
|
|
2554
|
+
export declare function CarouselNext({ className, icon, ...props }: ControlProps$1): import("react").JSX.Element;
|
|
2555
|
+
/** One button per snap point; the current one is highlighted. */
|
|
2556
|
+
export declare function CarouselDots({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element | null;
|
|
2557
|
+
//#endregion
|
|
2272
2558
|
//#region src/components/code/code.styles.d.ts
|
|
2273
2559
|
export declare const codeStyles: import("tailwind-variants").TVReturnType<{
|
|
2274
2560
|
[key: string]: {
|
|
@@ -2359,6 +2645,58 @@ interface CodeBlockProps extends Omit<ComponentProps<'figure'>, 'children' | 'ti
|
|
|
2359
2645
|
/** A block of code with an optional file name and a copy button. No syntax highlighting is applied. */
|
|
2360
2646
|
export declare function CodeBlock(inProps: CodeBlockProps): import("react").JSX.Element;
|
|
2361
2647
|
//#endregion
|
|
2648
|
+
//#region src/components/collapsible/collapsible.d.ts
|
|
2649
|
+
export declare const collapsibleStyles: import("tailwind-variants").TVReturnType<{
|
|
2650
|
+
[key: string]: {
|
|
2651
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
2652
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2653
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
2654
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
} | {
|
|
2658
|
+
[x: string]: {
|
|
2659
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
2660
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2661
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
2662
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2665
|
+
} | {}, {
|
|
2666
|
+
root: string;
|
|
2667
|
+
trigger: string;
|
|
2668
|
+
content: string;
|
|
2669
|
+
}, undefined, {
|
|
2670
|
+
[key: string]: {
|
|
2671
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
2672
|
+
root?: import("tailwind-variants").ClassValue;
|
|
2673
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
2674
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
} | {}, {
|
|
2678
|
+
root: string;
|
|
2679
|
+
trigger: string;
|
|
2680
|
+
content: string;
|
|
2681
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
2682
|
+
root: string;
|
|
2683
|
+
trigger: string;
|
|
2684
|
+
content: string;
|
|
2685
|
+
}>>;
|
|
2686
|
+
declare module '@glyphui/tokens' {
|
|
2687
|
+
interface GlyphComponentRegistry {
|
|
2688
|
+
Collapsible: StylesEntry<typeof collapsibleStyles>;
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
/**
|
|
2692
|
+
* Shows and hides one region, e.g. "Show advanced options". For a list of expandable
|
|
2693
|
+
* sections use Accordion.
|
|
2694
|
+
*/
|
|
2695
|
+
export declare function Collapsible(inProps: ComponentProps<typeof Collapsible$1.Root>): import("react").JSX.Element;
|
|
2696
|
+
export declare function CollapsibleTrigger({ className, ...props }: ComponentProps<typeof Collapsible$1.Trigger>): import("react").JSX.Element;
|
|
2697
|
+
/** Animates its height open and closed; stays mounted until the closing animation ends. */
|
|
2698
|
+
export declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof Collapsible$1.Content>): import("react").JSX.Element;
|
|
2699
|
+
//#endregion
|
|
2362
2700
|
//#region src/components/combobox/combobox.d.ts
|
|
2363
2701
|
interface ComboboxOption<T extends string = string> {
|
|
2364
2702
|
value: T;
|
|
@@ -2381,7 +2719,7 @@ interface MultipleProps<T extends string> {
|
|
|
2381
2719
|
defaultValue?: readonly T[];
|
|
2382
2720
|
onValueChange?: (value: T[]) => void;
|
|
2383
2721
|
}
|
|
2384
|
-
interface SharedProps<T extends string> {
|
|
2722
|
+
interface SharedProps$1<T extends string> {
|
|
2385
2723
|
options: readonly ComboboxOption<T>[];
|
|
2386
2724
|
placeholder?: ReactNode;
|
|
2387
2725
|
searchPlaceholder?: string;
|
|
@@ -2401,7 +2739,7 @@ interface SharedProps<T extends string> {
|
|
|
2401
2739
|
'aria-describedby'?: string;
|
|
2402
2740
|
'aria-invalid'?: boolean;
|
|
2403
2741
|
}
|
|
2404
|
-
type ComboboxProps<T extends string = string> = SharedProps<T> & (SingleProps<T> | MultipleProps<T>);
|
|
2742
|
+
type ComboboxProps<T extends string = string> = SharedProps$1<T> & (SingleProps<T> | MultipleProps<T>);
|
|
2405
2743
|
/**
|
|
2406
2744
|
* A select with search, for long option lists. `multiple` allows several values, shown
|
|
2407
2745
|
* as chips. The value type is inferred from `options`.
|
|
@@ -2689,77 +3027,416 @@ interface ContainerProps extends ComponentProps<'div'>, VariantProps<typeof cont
|
|
|
2689
3027
|
/** Centers content at a readable max width with consistent side gutters. */
|
|
2690
3028
|
export declare function Container({ size, asChild, className, ...props }: ContainerProps): import("react").JSX.Element;
|
|
2691
3029
|
//#endregion
|
|
2692
|
-
//#region src/components/
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
3030
|
+
//#region src/components/context-menu/context-menu.d.ts
|
|
3031
|
+
/** A menu opened by right-click or long-press on an area. Same items as DropdownMenu. */
|
|
3032
|
+
export declare const ContextMenu: import("react").FC<ContextMenu$1.ContextMenuProps>;
|
|
3033
|
+
export declare const ContextMenuTrigger: import("react").ForwardRefExoticComponent<ContextMenu$1.ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
3034
|
+
export declare const ContextMenuGroup: import("react").ForwardRefExoticComponent<ContextMenu$1.ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3035
|
+
export declare const ContextMenuRadioGroup: import("react").ForwardRefExoticComponent<ContextMenu$1.ContextMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3036
|
+
export declare const ContextMenuSub: import("react").FC<ContextMenu$1.ContextMenuSubProps>;
|
|
3037
|
+
export declare function ContextMenuContent(inProps: ComponentProps<typeof ContextMenu$1.Content>): import("react").JSX.Element;
|
|
3038
|
+
interface ContextMenuItemProps extends ComponentProps<typeof ContextMenu$1.Item> {
|
|
3039
|
+
icon?: ReactNode;
|
|
3040
|
+
/** Keyboard hint shown at the end, e.g. "⌘C". Display only. */
|
|
3041
|
+
shortcut?: ReactNode;
|
|
3042
|
+
/** `danger` for destructive actions. */
|
|
3043
|
+
tone?: 'default' | 'danger';
|
|
3044
|
+
/** Indent to line up with checkbox and radio items. */
|
|
3045
|
+
inset?: boolean;
|
|
3046
|
+
}
|
|
3047
|
+
export declare function ContextMenuItem({ icon, shortcut, tone, inset, className, children, ...props }: ContextMenuItemProps): import("react").JSX.Element;
|
|
3048
|
+
export declare function ContextMenuCheckboxItem({ className, children, ...props }: ComponentProps<typeof ContextMenu$1.CheckboxItem>): import("react").JSX.Element;
|
|
3049
|
+
export declare function ContextMenuRadioItem({ className, children, ...props }: ComponentProps<typeof ContextMenu$1.RadioItem>): import("react").JSX.Element;
|
|
3050
|
+
export declare function ContextMenuLabel({ inset, className, ...props }: ComponentProps<typeof ContextMenu$1.Label> & {
|
|
3051
|
+
inset?: boolean;
|
|
3052
|
+
}): import("react").JSX.Element;
|
|
3053
|
+
export declare function ContextMenuSeparator({ className, ...props }: ComponentProps<typeof ContextMenu$1.Separator>): import("react").JSX.Element;
|
|
3054
|
+
export declare function ContextMenuShortcut({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
3055
|
+
interface ContextMenuSubTriggerProps extends ComponentProps<typeof ContextMenu$1.SubTrigger> {
|
|
3056
|
+
icon?: ReactNode;
|
|
3057
|
+
}
|
|
3058
|
+
export declare function ContextMenuSubTrigger({ icon, className, children, ...props }: ContextMenuSubTriggerProps): import("react").JSX.Element;
|
|
3059
|
+
export declare function ContextMenuSubContent({ className, ...props }: ComponentProps<typeof ContextMenu$1.SubContent>): import("react").JSX.Element;
|
|
3060
|
+
//#endregion
|
|
3061
|
+
//#region src/components/context-menu/context-menu.styles.d.ts
|
|
3062
|
+
/** Same look as DropdownMenu; only the available-height variable differs. */
|
|
3063
|
+
export declare const contextMenuStyles: import("tailwind-variants").TVReturnType<{
|
|
3064
|
+
[key: string]: {
|
|
3065
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
3066
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2697
3067
|
};
|
|
2698
|
-
|
|
2699
|
-
|
|
3068
|
+
};
|
|
3069
|
+
} | {
|
|
3070
|
+
tone: {
|
|
3071
|
+
default: import("tailwind-variants").ClassValue | {
|
|
3072
|
+
content?: import("tailwind-variants").ClassValue;
|
|
3073
|
+
};
|
|
3074
|
+
danger: import("tailwind-variants").ClassValue | {
|
|
3075
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2700
3076
|
};
|
|
2701
3077
|
};
|
|
2702
|
-
|
|
2703
|
-
true: {
|
|
2704
|
-
|
|
2705
|
-
item: string;
|
|
3078
|
+
inset: {
|
|
3079
|
+
true: import("tailwind-variants").ClassValue | {
|
|
3080
|
+
content?: import("tailwind-variants").ClassValue;
|
|
2706
3081
|
};
|
|
2707
|
-
false: {};
|
|
2708
3082
|
};
|
|
2709
3083
|
}, {
|
|
2710
|
-
|
|
2711
|
-
item: string;
|
|
2712
|
-
term: string;
|
|
2713
|
-
details: string;
|
|
3084
|
+
content: string;
|
|
2714
3085
|
}, undefined, {
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
};
|
|
2719
|
-
inline: {
|
|
3086
|
+
tone: {
|
|
3087
|
+
default: {};
|
|
3088
|
+
danger: {
|
|
2720
3089
|
item: string;
|
|
3090
|
+
icon: string;
|
|
2721
3091
|
};
|
|
2722
3092
|
};
|
|
2723
|
-
|
|
3093
|
+
inset: {
|
|
2724
3094
|
true: {
|
|
2725
|
-
root: string;
|
|
2726
3095
|
item: string;
|
|
3096
|
+
label: string;
|
|
2727
3097
|
};
|
|
2728
|
-
false: {};
|
|
2729
3098
|
};
|
|
2730
3099
|
}, {
|
|
2731
|
-
|
|
2732
|
-
item: string;
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
3100
|
+
content: string[];
|
|
3101
|
+
item: string[];
|
|
3102
|
+
icon: string;
|
|
3103
|
+
indicator: string;
|
|
3104
|
+
label: string;
|
|
3105
|
+
separator: string;
|
|
3106
|
+
shortcut: string;
|
|
3107
|
+
subTrigger: string[];
|
|
3108
|
+
subContent: string[];
|
|
3109
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
3110
|
+
tone: {
|
|
3111
|
+
default: {};
|
|
3112
|
+
danger: {
|
|
2741
3113
|
item: string;
|
|
3114
|
+
icon: string;
|
|
2742
3115
|
};
|
|
2743
3116
|
};
|
|
2744
|
-
|
|
3117
|
+
inset: {
|
|
2745
3118
|
true: {
|
|
2746
|
-
root: string;
|
|
2747
3119
|
item: string;
|
|
3120
|
+
label: string;
|
|
2748
3121
|
};
|
|
2749
|
-
false: {};
|
|
2750
3122
|
};
|
|
2751
3123
|
}, {
|
|
2752
|
-
|
|
2753
|
-
item: string;
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
3124
|
+
content: string[];
|
|
3125
|
+
item: string[];
|
|
3126
|
+
icon: string;
|
|
3127
|
+
indicator: string;
|
|
3128
|
+
label: string;
|
|
3129
|
+
separator: string;
|
|
3130
|
+
shortcut: string;
|
|
3131
|
+
subTrigger: string[];
|
|
3132
|
+
subContent: string[];
|
|
3133
|
+
}, undefined, {
|
|
3134
|
+
tone: {
|
|
3135
|
+
default: {};
|
|
3136
|
+
danger: {
|
|
3137
|
+
item: string;
|
|
3138
|
+
icon: string;
|
|
3139
|
+
};
|
|
3140
|
+
};
|
|
3141
|
+
inset: {
|
|
3142
|
+
true: {
|
|
3143
|
+
item: string;
|
|
3144
|
+
label: string;
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
}, {
|
|
3148
|
+
content: string[];
|
|
3149
|
+
item: string[];
|
|
3150
|
+
icon: string;
|
|
3151
|
+
indicator: string;
|
|
3152
|
+
label: string;
|
|
3153
|
+
separator: string;
|
|
3154
|
+
shortcut: string;
|
|
3155
|
+
subTrigger: string[];
|
|
3156
|
+
subContent: string[];
|
|
3157
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
3158
|
+
tone: {
|
|
3159
|
+
default: {};
|
|
3160
|
+
danger: {
|
|
3161
|
+
item: string;
|
|
3162
|
+
icon: string;
|
|
3163
|
+
};
|
|
3164
|
+
};
|
|
3165
|
+
inset: {
|
|
3166
|
+
true: {
|
|
3167
|
+
item: string;
|
|
3168
|
+
label: string;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
}, {
|
|
3172
|
+
content: string[];
|
|
3173
|
+
item: string[];
|
|
3174
|
+
icon: string;
|
|
3175
|
+
indicator: string;
|
|
3176
|
+
label: string;
|
|
3177
|
+
separator: string;
|
|
3178
|
+
shortcut: string;
|
|
3179
|
+
subTrigger: string[];
|
|
3180
|
+
subContent: string[];
|
|
3181
|
+
}>>>;
|
|
3182
|
+
type ContextMenuVariants = VariantProps<typeof contextMenuStyles>;
|
|
3183
|
+
declare module '@glyphui/tokens' {
|
|
3184
|
+
interface GlyphComponentRegistry {
|
|
3185
|
+
ContextMenu: StylesEntry<typeof contextMenuStyles>;
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
//#endregion
|
|
3189
|
+
//#region src/components/copy-button/copy-button.d.ts
|
|
3190
|
+
export declare const copyButtonStyles: import("tailwind-variants").TVReturnType<{
|
|
3191
|
+
[key: string]: {
|
|
3192
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
3193
|
+
base?: import("tailwind-variants").ClassValue;
|
|
3194
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3195
|
+
status?: import("tailwind-variants").ClassValue;
|
|
3196
|
+
};
|
|
3197
|
+
};
|
|
3198
|
+
} | {
|
|
3199
|
+
[x: string]: {
|
|
3200
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
3201
|
+
base?: import("tailwind-variants").ClassValue;
|
|
3202
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3203
|
+
status?: import("tailwind-variants").ClassValue;
|
|
3204
|
+
};
|
|
3205
|
+
};
|
|
3206
|
+
} | {}, {
|
|
3207
|
+
base: string;
|
|
3208
|
+
icon: string;
|
|
3209
|
+
status: string;
|
|
3210
|
+
}, undefined, {
|
|
3211
|
+
[key: string]: {
|
|
3212
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
3213
|
+
base?: import("tailwind-variants").ClassValue;
|
|
3214
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3215
|
+
status?: import("tailwind-variants").ClassValue;
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3218
|
+
} | {}, {
|
|
3219
|
+
base: string;
|
|
3220
|
+
icon: string;
|
|
3221
|
+
status: string;
|
|
3222
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
3223
|
+
base: string;
|
|
3224
|
+
icon: string;
|
|
3225
|
+
status: string;
|
|
3226
|
+
}>>;
|
|
3227
|
+
declare module '@glyphui/tokens' {
|
|
3228
|
+
interface GlyphComponentRegistry {
|
|
3229
|
+
CopyButton: StylesEntry<typeof copyButtonStyles>;
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
interface CopyButtonProps extends Omit<ButtonProps, 'onClick' | 'onCopy' | 'leftIcon' | 'rightIcon' | 'iconOnly' | 'asChild' | 'value'> {
|
|
3233
|
+
/** Text written to the clipboard. */
|
|
3234
|
+
value: string;
|
|
3235
|
+
/** Visible label. Without it the button is icon-only, labelled "Copy". */
|
|
3236
|
+
children?: ReactNode;
|
|
3237
|
+
/** Announced and shown after copying. Default "Copied". */
|
|
3238
|
+
copiedLabel?: string;
|
|
3239
|
+
/** How long the copied state lasts, in ms. Default 1500. */
|
|
3240
|
+
timeout?: number;
|
|
3241
|
+
onCopy?: (value: string) => void;
|
|
3242
|
+
}
|
|
3243
|
+
/** Copies a value to the clipboard and confirms it visually and to screen readers. */
|
|
3244
|
+
export declare function CopyButton(inProps: CopyButtonProps): import("react").JSX.Element;
|
|
3245
|
+
//#endregion
|
|
3246
|
+
//#region src/components/date-picker/date-picker.styles.d.ts
|
|
3247
|
+
export declare const datePickerStyles: import("tailwind-variants").TVReturnType<{
|
|
3248
|
+
size: {
|
|
3249
|
+
sm: {
|
|
3250
|
+
trigger: string;
|
|
3251
|
+
};
|
|
3252
|
+
md: {
|
|
3253
|
+
trigger: string;
|
|
3254
|
+
};
|
|
3255
|
+
lg: {
|
|
3256
|
+
trigger: string;
|
|
3257
|
+
};
|
|
3258
|
+
};
|
|
3259
|
+
}, {
|
|
3260
|
+
trigger: string[];
|
|
3261
|
+
icon: string;
|
|
3262
|
+
value: string;
|
|
3263
|
+
placeholder: string;
|
|
3264
|
+
clear: string;
|
|
3265
|
+
content: string[];
|
|
3266
|
+
layout: string;
|
|
3267
|
+
presets: string;
|
|
3268
|
+
preset: string;
|
|
3269
|
+
}, undefined, {
|
|
3270
|
+
size: {
|
|
3271
|
+
sm: {
|
|
3272
|
+
trigger: string;
|
|
3273
|
+
};
|
|
3274
|
+
md: {
|
|
3275
|
+
trigger: string;
|
|
3276
|
+
};
|
|
3277
|
+
lg: {
|
|
3278
|
+
trigger: string;
|
|
3279
|
+
};
|
|
3280
|
+
};
|
|
3281
|
+
}, {
|
|
3282
|
+
trigger: string[];
|
|
3283
|
+
icon: string;
|
|
3284
|
+
value: string;
|
|
3285
|
+
placeholder: string;
|
|
3286
|
+
clear: string;
|
|
3287
|
+
content: string[];
|
|
3288
|
+
layout: string;
|
|
3289
|
+
presets: string;
|
|
3290
|
+
preset: string;
|
|
3291
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
3292
|
+
size: {
|
|
3293
|
+
sm: {
|
|
3294
|
+
trigger: string;
|
|
3295
|
+
};
|
|
3296
|
+
md: {
|
|
3297
|
+
trigger: string;
|
|
3298
|
+
};
|
|
3299
|
+
lg: {
|
|
3300
|
+
trigger: string;
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
}, {
|
|
3304
|
+
trigger: string[];
|
|
3305
|
+
icon: string;
|
|
3306
|
+
value: string;
|
|
3307
|
+
placeholder: string;
|
|
3308
|
+
clear: string;
|
|
3309
|
+
content: string[];
|
|
3310
|
+
layout: string;
|
|
3311
|
+
presets: string;
|
|
3312
|
+
preset: string;
|
|
3313
|
+
}>>;
|
|
3314
|
+
type DatePickerVariants = VariantProps<typeof datePickerStyles>;
|
|
3315
|
+
declare module '@glyphui/tokens' {
|
|
3316
|
+
interface GlyphComponentRegistry {
|
|
3317
|
+
DatePicker: StylesEntry<typeof datePickerStyles>;
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
//#endregion
|
|
3321
|
+
//#region src/components/date-picker/date-picker.d.ts
|
|
3322
|
+
interface SharedProps extends DatePickerVariants {
|
|
3323
|
+
placeholder?: ReactNode;
|
|
3324
|
+
/** date-fns format string for the trigger. Default `"MMM d, yyyy"`. */
|
|
3325
|
+
format?: string;
|
|
3326
|
+
/** Earliest selectable date. */
|
|
3327
|
+
minDate?: Date;
|
|
3328
|
+
/** Latest selectable date. */
|
|
3329
|
+
maxDate?: Date;
|
|
3330
|
+
/** Extra disabled dates, in react-day-picker matcher form. */
|
|
3331
|
+
disabledDates?: Matcher$1 | Matcher$1[];
|
|
3332
|
+
/** Show a button that clears the value. */
|
|
3333
|
+
clearable?: boolean;
|
|
3334
|
+
disabled?: boolean;
|
|
3335
|
+
required?: boolean;
|
|
3336
|
+
/** Submits the ISO date (yyyy-MM-dd) with a native form. */
|
|
3337
|
+
name?: string;
|
|
3338
|
+
id?: string;
|
|
3339
|
+
className?: string;
|
|
3340
|
+
contentClassName?: string;
|
|
3341
|
+
'aria-label'?: string;
|
|
3342
|
+
'aria-describedby'?: string;
|
|
3343
|
+
'aria-invalid'?: boolean;
|
|
3344
|
+
}
|
|
3345
|
+
interface DatePickerProps extends SharedProps {
|
|
3346
|
+
value?: Date | undefined;
|
|
3347
|
+
defaultValue?: Date | undefined;
|
|
3348
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
3349
|
+
}
|
|
3350
|
+
/** A date field that opens a calendar. Works with Field and with `Form` (`value` + `onValueChange`). */
|
|
3351
|
+
export declare function DatePicker(inProps: DatePickerProps): import("react").JSX.Element;
|
|
3352
|
+
interface DateRangePreset {
|
|
3353
|
+
label: string;
|
|
3354
|
+
/** Called when chosen, so relative ranges ("Last 7 days") are computed at that moment. */
|
|
3355
|
+
range: () => DateRange$1;
|
|
3356
|
+
}
|
|
3357
|
+
interface DateRangePickerProps extends SharedProps {
|
|
3358
|
+
value?: DateRange$1 | undefined;
|
|
3359
|
+
defaultValue?: DateRange$1 | undefined;
|
|
3360
|
+
onValueChange?: (range: DateRange$1 | undefined) => void;
|
|
3361
|
+
/** Quick picks shown beside the calendar. */
|
|
3362
|
+
presets?: readonly DateRangePreset[];
|
|
3363
|
+
/** Months shown side by side. Default 2. */
|
|
3364
|
+
numberOfMonths?: number;
|
|
3365
|
+
}
|
|
3366
|
+
/** A date-range field with a two-month calendar and optional presets. */
|
|
3367
|
+
export declare function DateRangePicker(inProps: DateRangePickerProps): import("react").JSX.Element;
|
|
3368
|
+
//#endregion
|
|
3369
|
+
//#region src/components/description-list/description-list.styles.d.ts
|
|
3370
|
+
export declare const descriptionListStyles: import("tailwind-variants").TVReturnType<{
|
|
3371
|
+
layout: {
|
|
3372
|
+
stacked: {
|
|
3373
|
+
root: string;
|
|
3374
|
+
};
|
|
3375
|
+
inline: {
|
|
3376
|
+
item: string;
|
|
3377
|
+
};
|
|
3378
|
+
};
|
|
3379
|
+
dividers: {
|
|
3380
|
+
true: {
|
|
3381
|
+
root: string;
|
|
3382
|
+
item: string;
|
|
3383
|
+
};
|
|
3384
|
+
false: {};
|
|
3385
|
+
};
|
|
3386
|
+
}, {
|
|
3387
|
+
root: string;
|
|
3388
|
+
item: string;
|
|
3389
|
+
term: string;
|
|
3390
|
+
details: string;
|
|
3391
|
+
}, undefined, {
|
|
3392
|
+
layout: {
|
|
3393
|
+
stacked: {
|
|
3394
|
+
root: string;
|
|
3395
|
+
};
|
|
3396
|
+
inline: {
|
|
3397
|
+
item: string;
|
|
3398
|
+
};
|
|
3399
|
+
};
|
|
3400
|
+
dividers: {
|
|
3401
|
+
true: {
|
|
3402
|
+
root: string;
|
|
3403
|
+
item: string;
|
|
3404
|
+
};
|
|
3405
|
+
false: {};
|
|
3406
|
+
};
|
|
3407
|
+
}, {
|
|
3408
|
+
root: string;
|
|
3409
|
+
item: string;
|
|
3410
|
+
term: string;
|
|
3411
|
+
details: string;
|
|
3412
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
3413
|
+
layout: {
|
|
3414
|
+
stacked: {
|
|
3415
|
+
root: string;
|
|
3416
|
+
};
|
|
3417
|
+
inline: {
|
|
3418
|
+
item: string;
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
3421
|
+
dividers: {
|
|
3422
|
+
true: {
|
|
3423
|
+
root: string;
|
|
3424
|
+
item: string;
|
|
3425
|
+
};
|
|
3426
|
+
false: {};
|
|
3427
|
+
};
|
|
3428
|
+
}, {
|
|
3429
|
+
root: string;
|
|
3430
|
+
item: string;
|
|
3431
|
+
term: string;
|
|
3432
|
+
details: string;
|
|
3433
|
+
}>>;
|
|
3434
|
+
type DescriptionListVariants = VariantProps<typeof descriptionListStyles>;
|
|
3435
|
+
declare module '@glyphui/tokens' {
|
|
3436
|
+
interface GlyphComponentRegistry {
|
|
3437
|
+
DescriptionList: StylesEntry<typeof descriptionListStyles>;
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
2763
3440
|
//#endregion
|
|
2764
3441
|
//#region src/components/description-list/description-list.d.ts
|
|
2765
3442
|
interface DescriptionListProps extends ComponentProps<'dl'>, DescriptionListVariants {}
|
|
@@ -3014,16 +3691,189 @@ interface ControlProps {
|
|
|
3014
3691
|
*/
|
|
3015
3692
|
export declare function useFieldControl<P extends ControlProps>(props: P): P;
|
|
3016
3693
|
//#endregion
|
|
3017
|
-
//#region src/components/
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3694
|
+
//#region src/components/file-upload/file-upload.d.ts
|
|
3695
|
+
interface FileItem {
|
|
3696
|
+
/** Stable id for keys and updates. Generated when files are added. */
|
|
3697
|
+
id: string;
|
|
3698
|
+
file: File;
|
|
3699
|
+
/** Upload progress, 0–100. Shows a bar while below 100. */
|
|
3700
|
+
progress?: number;
|
|
3701
|
+
/** Shown under the file name, e.g. "Upload failed". */
|
|
3702
|
+
error?: string;
|
|
3703
|
+
}
|
|
3704
|
+
type FileRejectionReason = 'too-large' | 'wrong-type' | 'too-many';
|
|
3705
|
+
interface FileRejection {
|
|
3706
|
+
file: File;
|
|
3707
|
+
reason: FileRejectionReason;
|
|
3708
|
+
message: string;
|
|
3709
|
+
}
|
|
3710
|
+
/** Formats bytes for people: 1 KB = 1024 bytes. */
|
|
3711
|
+
export declare function formatBytes(bytes: number): string;
|
|
3712
|
+
/** Matches a file against an `accept` string like `"image/*,.pdf,application/zip"`. */
|
|
3713
|
+
export declare function matchesAccept(file: File, accept: string | undefined): boolean;
|
|
3714
|
+
interface FileUploadProps {
|
|
3715
|
+
files?: FileItem[];
|
|
3716
|
+
defaultFiles?: FileItem[];
|
|
3717
|
+
onFilesChange?: (files: FileItem[]) => void;
|
|
3718
|
+
/** Called with files that were not added and why. */
|
|
3719
|
+
onReject?: (rejections: FileRejection[]) => void;
|
|
3720
|
+
/** Allowed types, as for `<input type="file" accept>`. */
|
|
3721
|
+
accept?: string;
|
|
3722
|
+
/** Maximum size per file, in bytes. */
|
|
3723
|
+
maxSize?: number;
|
|
3724
|
+
/** Maximum number of files in the list. */
|
|
3725
|
+
maxFiles?: number;
|
|
3726
|
+
/** Allow several files. Default true. */
|
|
3727
|
+
multiple?: boolean;
|
|
3728
|
+
disabled?: boolean;
|
|
3729
|
+
/** Main dropzone text. */
|
|
3730
|
+
label?: ReactNode;
|
|
3731
|
+
/** Secondary dropzone text. Defaults to a summary of `accept` and `maxSize`. */
|
|
3732
|
+
hint?: ReactNode;
|
|
3733
|
+
id?: string;
|
|
3734
|
+
className?: string;
|
|
3735
|
+
'aria-describedby'?: string;
|
|
3736
|
+
'aria-invalid'?: boolean;
|
|
3737
|
+
}
|
|
3738
|
+
/**
|
|
3739
|
+
* Drag-and-drop or click to choose files, with type, size and count checks and a file
|
|
3740
|
+
* list. It does no uploading: you get `File` objects and can set `progress` and `error`
|
|
3741
|
+
* on each item while your own code uploads them.
|
|
3742
|
+
*/
|
|
3743
|
+
export declare function FileUpload(inProps: FileUploadProps): import("react").JSX.Element;
|
|
3744
|
+
//#endregion
|
|
3745
|
+
//#region src/components/file-upload/file-upload.styles.d.ts
|
|
3746
|
+
export declare const fileUploadStyles: import("tailwind-variants").TVReturnType<{
|
|
3747
|
+
[key: string]: {
|
|
3748
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
3749
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3750
|
+
root?: import("tailwind-variants").ClassValue;
|
|
3751
|
+
title?: import("tailwind-variants").ClassValue;
|
|
3752
|
+
item?: import("tailwind-variants").ClassValue;
|
|
3753
|
+
list?: import("tailwind-variants").ClassValue;
|
|
3754
|
+
progress?: import("tailwind-variants").ClassValue;
|
|
3755
|
+
hint?: import("tailwind-variants").ClassValue;
|
|
3756
|
+
highlight?: import("tailwind-variants").ClassValue;
|
|
3757
|
+
rejections?: import("tailwind-variants").ClassValue;
|
|
3758
|
+
fileIcon?: import("tailwind-variants").ClassValue;
|
|
3759
|
+
fileText?: import("tailwind-variants").ClassValue;
|
|
3760
|
+
fileName?: import("tailwind-variants").ClassValue;
|
|
3761
|
+
fileMeta?: import("tailwind-variants").ClassValue;
|
|
3762
|
+
fileError?: import("tailwind-variants").ClassValue;
|
|
3763
|
+
progressBar?: import("tailwind-variants").ClassValue;
|
|
3764
|
+
dropzone?: import("tailwind-variants").ClassValue;
|
|
3765
|
+
};
|
|
3766
|
+
};
|
|
3767
|
+
} | {
|
|
3768
|
+
[x: string]: {
|
|
3769
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
3770
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3771
|
+
root?: import("tailwind-variants").ClassValue;
|
|
3772
|
+
title?: import("tailwind-variants").ClassValue;
|
|
3773
|
+
item?: import("tailwind-variants").ClassValue;
|
|
3774
|
+
list?: import("tailwind-variants").ClassValue;
|
|
3775
|
+
progress?: import("tailwind-variants").ClassValue;
|
|
3776
|
+
hint?: import("tailwind-variants").ClassValue;
|
|
3777
|
+
highlight?: import("tailwind-variants").ClassValue;
|
|
3778
|
+
rejections?: import("tailwind-variants").ClassValue;
|
|
3779
|
+
fileIcon?: import("tailwind-variants").ClassValue;
|
|
3780
|
+
fileText?: import("tailwind-variants").ClassValue;
|
|
3781
|
+
fileName?: import("tailwind-variants").ClassValue;
|
|
3782
|
+
fileMeta?: import("tailwind-variants").ClassValue;
|
|
3783
|
+
fileError?: import("tailwind-variants").ClassValue;
|
|
3784
|
+
progressBar?: import("tailwind-variants").ClassValue;
|
|
3785
|
+
dropzone?: import("tailwind-variants").ClassValue;
|
|
3786
|
+
};
|
|
3787
|
+
};
|
|
3788
|
+
} | {}, {
|
|
3789
|
+
root: string;
|
|
3790
|
+
dropzone: string[];
|
|
3791
|
+
icon: string;
|
|
3792
|
+
title: string;
|
|
3793
|
+
highlight: string;
|
|
3794
|
+
hint: string;
|
|
3795
|
+
rejections: string;
|
|
3796
|
+
list: string;
|
|
3797
|
+
item: string[];
|
|
3798
|
+
fileIcon: string;
|
|
3799
|
+
fileText: string;
|
|
3800
|
+
fileName: string;
|
|
3801
|
+
fileMeta: string;
|
|
3802
|
+
fileError: string;
|
|
3803
|
+
progress: string;
|
|
3804
|
+
progressBar: string;
|
|
3805
|
+
}, undefined, {
|
|
3806
|
+
[key: string]: {
|
|
3807
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
3808
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
3809
|
+
root?: import("tailwind-variants").ClassValue;
|
|
3810
|
+
title?: import("tailwind-variants").ClassValue;
|
|
3811
|
+
item?: import("tailwind-variants").ClassValue;
|
|
3812
|
+
list?: import("tailwind-variants").ClassValue;
|
|
3813
|
+
progress?: import("tailwind-variants").ClassValue;
|
|
3814
|
+
hint?: import("tailwind-variants").ClassValue;
|
|
3815
|
+
highlight?: import("tailwind-variants").ClassValue;
|
|
3816
|
+
rejections?: import("tailwind-variants").ClassValue;
|
|
3817
|
+
fileIcon?: import("tailwind-variants").ClassValue;
|
|
3818
|
+
fileText?: import("tailwind-variants").ClassValue;
|
|
3819
|
+
fileName?: import("tailwind-variants").ClassValue;
|
|
3820
|
+
fileMeta?: import("tailwind-variants").ClassValue;
|
|
3821
|
+
fileError?: import("tailwind-variants").ClassValue;
|
|
3822
|
+
progressBar?: import("tailwind-variants").ClassValue;
|
|
3823
|
+
dropzone?: import("tailwind-variants").ClassValue;
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
} | {}, {
|
|
3827
|
+
root: string;
|
|
3828
|
+
dropzone: string[];
|
|
3829
|
+
icon: string;
|
|
3830
|
+
title: string;
|
|
3831
|
+
highlight: string;
|
|
3832
|
+
hint: string;
|
|
3833
|
+
rejections: string;
|
|
3834
|
+
list: string;
|
|
3835
|
+
item: string[];
|
|
3836
|
+
fileIcon: string;
|
|
3837
|
+
fileText: string;
|
|
3838
|
+
fileName: string;
|
|
3839
|
+
fileMeta: string;
|
|
3840
|
+
fileError: string;
|
|
3841
|
+
progress: string;
|
|
3842
|
+
progressBar: string;
|
|
3843
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
3844
|
+
root: string;
|
|
3845
|
+
dropzone: string[];
|
|
3846
|
+
icon: string;
|
|
3847
|
+
title: string;
|
|
3848
|
+
highlight: string;
|
|
3849
|
+
hint: string;
|
|
3850
|
+
rejections: string;
|
|
3851
|
+
list: string;
|
|
3852
|
+
item: string[];
|
|
3853
|
+
fileIcon: string;
|
|
3854
|
+
fileText: string;
|
|
3855
|
+
fileName: string;
|
|
3856
|
+
fileMeta: string;
|
|
3857
|
+
fileError: string;
|
|
3858
|
+
progress: string;
|
|
3859
|
+
progressBar: string;
|
|
3860
|
+
}>>;
|
|
3861
|
+
declare module '@glyphui/tokens' {
|
|
3862
|
+
interface GlyphComponentRegistry {
|
|
3863
|
+
FileUpload: StylesEntry<typeof fileUploadStyles>;
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
//#endregion
|
|
3867
|
+
//#region src/components/grid/grid.d.ts
|
|
3868
|
+
type Cols = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3869
|
+
type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3870
|
+
type GridCols = Cols | Partial<Record<Breakpoint, Cols>>;
|
|
3871
|
+
export declare const gridStyles: import("tailwind-variants").TVReturnType<{
|
|
3872
|
+
gap: {
|
|
3873
|
+
0: {
|
|
3874
|
+
base: string;
|
|
3875
|
+
};
|
|
3876
|
+
1: {
|
|
3027
3877
|
base: string;
|
|
3028
3878
|
};
|
|
3029
3879
|
2: {
|
|
@@ -3189,6 +4039,45 @@ interface HeadingProps extends ComponentProps<'h2'>, HeadingVariants {
|
|
|
3189
4039
|
/** A heading whose semantic level and visual size are set independently. */
|
|
3190
4040
|
export declare function Heading(inProps: HeadingProps): import("react").JSX.Element;
|
|
3191
4041
|
//#endregion
|
|
4042
|
+
//#region src/components/hover-card/hover-card.d.ts
|
|
4043
|
+
export declare const hoverCardStyles: import("tailwind-variants").TVReturnType<{
|
|
4044
|
+
[key: string]: {
|
|
4045
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4046
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4047
|
+
};
|
|
4048
|
+
};
|
|
4049
|
+
} | {
|
|
4050
|
+
[x: string]: {
|
|
4051
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
4052
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4053
|
+
};
|
|
4054
|
+
};
|
|
4055
|
+
} | {}, {
|
|
4056
|
+
content: string[];
|
|
4057
|
+
}, undefined, {
|
|
4058
|
+
[key: string]: {
|
|
4059
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4060
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
} | {}, {
|
|
4064
|
+
content: string[];
|
|
4065
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
4066
|
+
content: string[];
|
|
4067
|
+
}>>;
|
|
4068
|
+
declare module '@glyphui/tokens' {
|
|
4069
|
+
interface GlyphComponentRegistry {
|
|
4070
|
+
HoverCard: StylesEntry<typeof hoverCardStyles>;
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
/**
|
|
4074
|
+
* A rich preview shown while hovering or focusing a link, such as a user or repository card.
|
|
4075
|
+
* Sighted mouse users only see it on hover; keep the same information reachable elsewhere.
|
|
4076
|
+
*/
|
|
4077
|
+
export declare const HoverCard: import("react").FC<HoverCard$1.HoverCardProps>;
|
|
4078
|
+
export declare const HoverCardTrigger: import("react").ForwardRefExoticComponent<HoverCard$1.HoverCardTriggerProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
4079
|
+
export declare function HoverCardContent(inProps: ComponentProps<typeof HoverCard$1.Content>): import("react").JSX.Element;
|
|
4080
|
+
//#endregion
|
|
3192
4081
|
//#region src/components/input/input.d.ts
|
|
3193
4082
|
interface InputProps extends Omit<ComponentProps<'input'>, 'size' | 'prefix'>, InputVariants {
|
|
3194
4083
|
/** Content before the text, e.g. an icon or `https://`. */
|
|
@@ -3200,6 +4089,95 @@ interface InputProps extends Omit<ComponentProps<'input'>, 'size' | 'prefix'>, I
|
|
|
3200
4089
|
}
|
|
3201
4090
|
export declare function Input(inProps: InputProps): import("react").JSX.Element;
|
|
3202
4091
|
//#endregion
|
|
4092
|
+
//#region src/components/input-otp/input-otp.styles.d.ts
|
|
4093
|
+
export declare const inputOtpStyles: import("tailwind-variants").TVReturnType<{
|
|
4094
|
+
size: {
|
|
4095
|
+
sm: {
|
|
4096
|
+
slot: string;
|
|
4097
|
+
};
|
|
4098
|
+
md: {
|
|
4099
|
+
slot: string;
|
|
4100
|
+
};
|
|
4101
|
+
lg: {
|
|
4102
|
+
slot: string;
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
4105
|
+
}, {
|
|
4106
|
+
root: string;
|
|
4107
|
+
input: string;
|
|
4108
|
+
group: string;
|
|
4109
|
+
slot: string[];
|
|
4110
|
+
caret: string;
|
|
4111
|
+
caretBar: string;
|
|
4112
|
+
separator: string;
|
|
4113
|
+
}, undefined, {
|
|
4114
|
+
size: {
|
|
4115
|
+
sm: {
|
|
4116
|
+
slot: string;
|
|
4117
|
+
};
|
|
4118
|
+
md: {
|
|
4119
|
+
slot: string;
|
|
4120
|
+
};
|
|
4121
|
+
lg: {
|
|
4122
|
+
slot: string;
|
|
4123
|
+
};
|
|
4124
|
+
};
|
|
4125
|
+
}, {
|
|
4126
|
+
root: string;
|
|
4127
|
+
input: string;
|
|
4128
|
+
group: string;
|
|
4129
|
+
slot: string[];
|
|
4130
|
+
caret: string;
|
|
4131
|
+
caretBar: string;
|
|
4132
|
+
separator: string;
|
|
4133
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
4134
|
+
size: {
|
|
4135
|
+
sm: {
|
|
4136
|
+
slot: string;
|
|
4137
|
+
};
|
|
4138
|
+
md: {
|
|
4139
|
+
slot: string;
|
|
4140
|
+
};
|
|
4141
|
+
lg: {
|
|
4142
|
+
slot: string;
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
}, {
|
|
4146
|
+
root: string;
|
|
4147
|
+
input: string;
|
|
4148
|
+
group: string;
|
|
4149
|
+
slot: string[];
|
|
4150
|
+
caret: string;
|
|
4151
|
+
caretBar: string;
|
|
4152
|
+
separator: string;
|
|
4153
|
+
}>>;
|
|
4154
|
+
type InputOTPVariants = VariantProps<typeof inputOtpStyles>;
|
|
4155
|
+
declare module '@glyphui/tokens' {
|
|
4156
|
+
interface GlyphComponentRegistry {
|
|
4157
|
+
InputOTP: StylesEntry<typeof inputOtpStyles>;
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4160
|
+
//#endregion
|
|
4161
|
+
//#region src/components/input-otp/input-otp.d.ts
|
|
4162
|
+
type InputOTPProps = Omit<OTPInputProps, 'render' | 'children' | 'maxLength'> & InputOTPVariants & {
|
|
4163
|
+
/** Number of characters. Default 6. */
|
|
4164
|
+
length?: number;
|
|
4165
|
+
/** Custom slot layout (InputOTPGroup, InputOTPSlot, InputOTPSeparator). Defaults to one group of `length` slots. */
|
|
4166
|
+
children?: ReactNode;
|
|
4167
|
+
};
|
|
4168
|
+
/**
|
|
4169
|
+
* One-time code input: one box per character, paste support, and autofill from SMS on
|
|
4170
|
+
* mobile. Built on input-otp. Restrict characters with `pattern`, e.g. `REGEXP_ONLY_DIGITS`.
|
|
4171
|
+
*/
|
|
4172
|
+
export declare function InputOTP(inProps: InputOTPProps): import("react").JSX.Element;
|
|
4173
|
+
export declare function InputOTPGroup({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
4174
|
+
interface InputOTPSlotProps extends ComponentProps<'div'> {
|
|
4175
|
+
/** Position of the character this box shows, starting at 0. */
|
|
4176
|
+
index: number;
|
|
4177
|
+
}
|
|
4178
|
+
export declare function InputOTPSlot({ index, className, ...props }: InputOTPSlotProps): import("react").JSX.Element;
|
|
4179
|
+
export declare function InputOTPSeparator({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
4180
|
+
//#endregion
|
|
3203
4181
|
//#region src/components/link/link.styles.d.ts
|
|
3204
4182
|
export declare const linkStyles: import("tailwind-variants").TVReturnType<{
|
|
3205
4183
|
tone: {
|
|
@@ -3299,103 +4277,497 @@ interface LinkProps extends Omit<ComponentProps<'a'>, 'href'>, LinkVariants {
|
|
|
3299
4277
|
*/
|
|
3300
4278
|
export declare function Link(inProps: LinkProps): import("react").JSX.Element;
|
|
3301
4279
|
//#endregion
|
|
3302
|
-
//#region src/components/
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
item: string[];
|
|
3318
|
-
ellipsis: string;
|
|
3319
|
-
}, undefined, {
|
|
3320
|
-
size: {
|
|
3321
|
-
sm: {
|
|
3322
|
-
item: string;
|
|
3323
|
-
ellipsis: string;
|
|
3324
|
-
};
|
|
3325
|
-
md: {
|
|
3326
|
-
item: string;
|
|
3327
|
-
ellipsis: string;
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
}, {
|
|
3331
|
-
root: string;
|
|
3332
|
-
list: string;
|
|
3333
|
-
item: string[];
|
|
3334
|
-
ellipsis: string;
|
|
3335
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
3336
|
-
size: {
|
|
3337
|
-
sm: {
|
|
3338
|
-
item: string;
|
|
3339
|
-
ellipsis: string;
|
|
3340
|
-
};
|
|
3341
|
-
md: {
|
|
3342
|
-
item: string;
|
|
3343
|
-
ellipsis: string;
|
|
3344
|
-
};
|
|
3345
|
-
};
|
|
3346
|
-
}, {
|
|
3347
|
-
root: string;
|
|
3348
|
-
list: string;
|
|
3349
|
-
item: string[];
|
|
3350
|
-
ellipsis: string;
|
|
3351
|
-
}>>;
|
|
3352
|
-
type PaginationVariants = VariantProps<typeof paginationStyles>;
|
|
3353
|
-
declare module '@glyphui/tokens' {
|
|
3354
|
-
interface GlyphComponentRegistry {
|
|
3355
|
-
Pagination: StylesEntry<typeof paginationStyles>;
|
|
3356
|
-
}
|
|
3357
|
-
}
|
|
3358
|
-
//#endregion
|
|
3359
|
-
//#region src/components/pagination/pagination.d.ts
|
|
3360
|
-
interface PaginationProps extends Omit<ComponentProps<'nav'>, 'onChange'>, PaginationVariants {
|
|
3361
|
-
/** Current page, starting at 1. */
|
|
3362
|
-
page: number;
|
|
3363
|
-
pageCount: number;
|
|
3364
|
-
onPageChange?: (page: number) => void;
|
|
3365
|
-
/** Render pages as links (through the provider's linkComponent) instead of buttons. */
|
|
3366
|
-
getHref?: (page: number) => string;
|
|
3367
|
-
/** Pages shown on each side of the current page. Default 1. */
|
|
3368
|
-
siblingCount?: number;
|
|
3369
|
-
/** Show first / last page buttons. Default true. */
|
|
3370
|
-
showEdges?: boolean;
|
|
4280
|
+
//#region src/components/modal/modal.d.ts
|
|
4281
|
+
interface ModalProps extends Omit<DialogContentProps, 'title' | 'children'> {
|
|
4282
|
+
open?: boolean;
|
|
4283
|
+
defaultOpen?: boolean;
|
|
4284
|
+
onOpenChange?: (open: boolean) => void;
|
|
4285
|
+
/** Heading of the modal. Also its accessible name. */
|
|
4286
|
+
title: ReactNode;
|
|
4287
|
+
description?: ReactNode;
|
|
4288
|
+
/** Element that opens the modal, e.g. a Button. Optional when you control `open`. */
|
|
4289
|
+
trigger?: ReactNode;
|
|
4290
|
+
/** Actions at the bottom. Wrap a button in `ModalClose` to close on click. */
|
|
4291
|
+
footer?: ReactNode;
|
|
4292
|
+
/** Close when the backdrop is clicked. Default true. */
|
|
4293
|
+
closeOnOverlayClick?: boolean;
|
|
4294
|
+
children?: ReactNode;
|
|
3371
4295
|
}
|
|
3372
|
-
/** Page navigation for long lists. Controlled: you own `page`. */
|
|
3373
|
-
export declare function Pagination(inProps: PaginationProps): import("react").JSX.Element;
|
|
3374
|
-
//#endregion
|
|
3375
|
-
//#region src/components/pagination/pagination-range.d.ts
|
|
3376
|
-
type PaginationItem = number | 'ellipsis';
|
|
3377
4296
|
/**
|
|
3378
|
-
* The
|
|
3379
|
-
*
|
|
3380
|
-
* number of items constant so the control doesn't jump in width.
|
|
3381
|
-
*
|
|
3382
|
-
* `paginationRange(6, 20)` → `[1, 'ellipsis', 5, 6, 7, 'ellipsis', 20]`
|
|
4297
|
+
* The everyday modal in one component: title, description, body and footer as props.
|
|
4298
|
+
* For custom layouts use the Dialog parts; for yes/no decisions use `useConfirm()`.
|
|
3383
4299
|
*/
|
|
3384
|
-
export declare function
|
|
4300
|
+
export declare function Modal(inProps: ModalProps): import("react").JSX.Element;
|
|
4301
|
+
/** Closes the surrounding Modal. Use with `asChild` around a button. */
|
|
4302
|
+
export declare const ModalClose: typeof DialogClose;
|
|
3385
4303
|
//#endregion
|
|
3386
|
-
//#region src/components/
|
|
3387
|
-
|
|
4304
|
+
//#region src/components/modal/modal.styles.d.ts
|
|
4305
|
+
/** Modal is built from Dialog parts; these slots add Modal-specific classes on top. */
|
|
4306
|
+
export declare const modalStyles: import("tailwind-variants").TVReturnType<{
|
|
3388
4307
|
[key: string]: {
|
|
3389
4308
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4309
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
4310
|
+
header?: import("tailwind-variants").ClassValue;
|
|
4311
|
+
body?: import("tailwind-variants").ClassValue;
|
|
3390
4312
|
content?: import("tailwind-variants").ClassValue;
|
|
3391
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
3392
4313
|
};
|
|
3393
4314
|
};
|
|
3394
4315
|
} | {
|
|
3395
4316
|
[x: string]: {
|
|
3396
4317
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
4318
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
4319
|
+
header?: import("tailwind-variants").ClassValue;
|
|
4320
|
+
body?: import("tailwind-variants").ClassValue;
|
|
3397
4321
|
content?: import("tailwind-variants").ClassValue;
|
|
3398
|
-
|
|
4322
|
+
};
|
|
4323
|
+
};
|
|
4324
|
+
} | {}, {
|
|
4325
|
+
content: string;
|
|
4326
|
+
header: string;
|
|
4327
|
+
body: string;
|
|
4328
|
+
footer: string;
|
|
4329
|
+
}, undefined, {
|
|
4330
|
+
[key: string]: {
|
|
4331
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4332
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
4333
|
+
header?: import("tailwind-variants").ClassValue;
|
|
4334
|
+
body?: import("tailwind-variants").ClassValue;
|
|
4335
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4336
|
+
};
|
|
4337
|
+
};
|
|
4338
|
+
} | {}, {
|
|
4339
|
+
content: string;
|
|
4340
|
+
header: string;
|
|
4341
|
+
body: string;
|
|
4342
|
+
footer: string;
|
|
4343
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
4344
|
+
content: string;
|
|
4345
|
+
header: string;
|
|
4346
|
+
body: string;
|
|
4347
|
+
footer: string;
|
|
4348
|
+
}>>;
|
|
4349
|
+
declare module '@glyphui/tokens' {
|
|
4350
|
+
interface GlyphComponentRegistry {
|
|
4351
|
+
Modal: StylesEntry<typeof modalStyles>;
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4354
|
+
//#endregion
|
|
4355
|
+
//#region src/components/navigation-menu/navigation-menu.d.ts
|
|
4356
|
+
interface NavigationMenuProps extends ComponentProps<typeof NavigationMenu$1.Root> {
|
|
4357
|
+
/** Render the shared animated panel below the menu. Default true. */
|
|
4358
|
+
viewport?: boolean;
|
|
4359
|
+
}
|
|
4360
|
+
/**
|
|
4361
|
+
* Site navigation with dropdown panels (mega menus) for marketing headers.
|
|
4362
|
+
* Keyboard: Tab between items, arrows inside panels, Escape to close.
|
|
4363
|
+
*/
|
|
4364
|
+
export declare function NavigationMenu(inProps: NavigationMenuProps): import("react").JSX.Element;
|
|
4365
|
+
export declare function NavigationMenuList({ className, ...props }: ComponentProps<typeof NavigationMenu$1.List>): import("react").JSX.Element;
|
|
4366
|
+
export declare function NavigationMenuItem({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Item>): import("react").JSX.Element;
|
|
4367
|
+
export declare function NavigationMenuTrigger({ className, children, ...props }: ComponentProps<typeof NavigationMenu$1.Trigger>): import("react").JSX.Element;
|
|
4368
|
+
export declare function NavigationMenuContent({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Content>): import("react").JSX.Element;
|
|
4369
|
+
export declare function NavigationMenuViewport({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Viewport>): import("react").JSX.Element;
|
|
4370
|
+
interface NavigationMenuLinkProps extends Omit<ComponentProps<typeof NavigationMenu$1.Link>, 'href'> {
|
|
4371
|
+
/** Rendered through the provider's `linkComponent`, so it uses your router. */
|
|
4372
|
+
href?: string;
|
|
4373
|
+
}
|
|
4374
|
+
/** A top-level link (no panel). Set `active` for the current page. */
|
|
4375
|
+
export declare function NavigationMenuLink({ href, className, children, ...props }: NavigationMenuLinkProps): import("react").JSX.Element;
|
|
4376
|
+
interface NavigationMenuCardProps {
|
|
4377
|
+
href: string;
|
|
4378
|
+
title: ReactNode;
|
|
4379
|
+
description?: ReactNode;
|
|
4380
|
+
icon?: ReactNode;
|
|
4381
|
+
className?: string;
|
|
4382
|
+
}
|
|
4383
|
+
/** A link tile for mega-menu panels: icon, title and one line of description. */
|
|
4384
|
+
export declare function NavigationMenuCard({ href, title, description, icon, className }: NavigationMenuCardProps): import("react").JSX.Element;
|
|
4385
|
+
//#endregion
|
|
4386
|
+
//#region src/components/navigation-menu/navigation-menu.styles.d.ts
|
|
4387
|
+
export declare const navigationMenuStyles: import("tailwind-variants").TVReturnType<{
|
|
4388
|
+
[key: string]: {
|
|
4389
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4390
|
+
root?: import("tailwind-variants").ClassValue;
|
|
4391
|
+
card?: import("tailwind-variants").ClassValue;
|
|
4392
|
+
link?: import("tailwind-variants").ClassValue;
|
|
4393
|
+
item?: import("tailwind-variants").ClassValue;
|
|
4394
|
+
viewport?: import("tailwind-variants").ClassValue;
|
|
4395
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
4396
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4397
|
+
list?: import("tailwind-variants").ClassValue;
|
|
4398
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
4399
|
+
viewportWrapper?: import("tailwind-variants").ClassValue;
|
|
4400
|
+
cardIcon?: import("tailwind-variants").ClassValue;
|
|
4401
|
+
cardText?: import("tailwind-variants").ClassValue;
|
|
4402
|
+
cardTitle?: import("tailwind-variants").ClassValue;
|
|
4403
|
+
cardDescription?: import("tailwind-variants").ClassValue;
|
|
4404
|
+
};
|
|
4405
|
+
};
|
|
4406
|
+
} | {
|
|
4407
|
+
[x: string]: {
|
|
4408
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
4409
|
+
root?: import("tailwind-variants").ClassValue;
|
|
4410
|
+
card?: import("tailwind-variants").ClassValue;
|
|
4411
|
+
link?: import("tailwind-variants").ClassValue;
|
|
4412
|
+
item?: import("tailwind-variants").ClassValue;
|
|
4413
|
+
viewport?: import("tailwind-variants").ClassValue;
|
|
4414
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
4415
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4416
|
+
list?: import("tailwind-variants").ClassValue;
|
|
4417
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
4418
|
+
viewportWrapper?: import("tailwind-variants").ClassValue;
|
|
4419
|
+
cardIcon?: import("tailwind-variants").ClassValue;
|
|
4420
|
+
cardText?: import("tailwind-variants").ClassValue;
|
|
4421
|
+
cardTitle?: import("tailwind-variants").ClassValue;
|
|
4422
|
+
cardDescription?: import("tailwind-variants").ClassValue;
|
|
4423
|
+
};
|
|
4424
|
+
};
|
|
4425
|
+
} | {}, {
|
|
4426
|
+
root: string;
|
|
4427
|
+
list: string;
|
|
4428
|
+
item: string;
|
|
4429
|
+
trigger: string[];
|
|
4430
|
+
chevron: string;
|
|
4431
|
+
content: string;
|
|
4432
|
+
viewportWrapper: string;
|
|
4433
|
+
viewport: string[];
|
|
4434
|
+
link: string[];
|
|
4435
|
+
card: string[];
|
|
4436
|
+
cardIcon: string;
|
|
4437
|
+
cardText: string;
|
|
4438
|
+
cardTitle: string;
|
|
4439
|
+
cardDescription: string;
|
|
4440
|
+
}, undefined, {
|
|
4441
|
+
[key: string]: {
|
|
4442
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4443
|
+
root?: import("tailwind-variants").ClassValue;
|
|
4444
|
+
card?: import("tailwind-variants").ClassValue;
|
|
4445
|
+
link?: import("tailwind-variants").ClassValue;
|
|
4446
|
+
item?: import("tailwind-variants").ClassValue;
|
|
4447
|
+
viewport?: import("tailwind-variants").ClassValue;
|
|
4448
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
4449
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4450
|
+
list?: import("tailwind-variants").ClassValue;
|
|
4451
|
+
chevron?: import("tailwind-variants").ClassValue;
|
|
4452
|
+
viewportWrapper?: import("tailwind-variants").ClassValue;
|
|
4453
|
+
cardIcon?: import("tailwind-variants").ClassValue;
|
|
4454
|
+
cardText?: import("tailwind-variants").ClassValue;
|
|
4455
|
+
cardTitle?: import("tailwind-variants").ClassValue;
|
|
4456
|
+
cardDescription?: import("tailwind-variants").ClassValue;
|
|
4457
|
+
};
|
|
4458
|
+
};
|
|
4459
|
+
} | {}, {
|
|
4460
|
+
root: string;
|
|
4461
|
+
list: string;
|
|
4462
|
+
item: string;
|
|
4463
|
+
trigger: string[];
|
|
4464
|
+
chevron: string;
|
|
4465
|
+
content: string;
|
|
4466
|
+
viewportWrapper: string;
|
|
4467
|
+
viewport: string[];
|
|
4468
|
+
link: string[];
|
|
4469
|
+
card: string[];
|
|
4470
|
+
cardIcon: string;
|
|
4471
|
+
cardText: string;
|
|
4472
|
+
cardTitle: string;
|
|
4473
|
+
cardDescription: string;
|
|
4474
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
4475
|
+
root: string;
|
|
4476
|
+
list: string;
|
|
4477
|
+
item: string;
|
|
4478
|
+
trigger: string[];
|
|
4479
|
+
chevron: string;
|
|
4480
|
+
content: string;
|
|
4481
|
+
viewportWrapper: string;
|
|
4482
|
+
viewport: string[];
|
|
4483
|
+
link: string[];
|
|
4484
|
+
card: string[];
|
|
4485
|
+
cardIcon: string;
|
|
4486
|
+
cardText: string;
|
|
4487
|
+
cardTitle: string;
|
|
4488
|
+
cardDescription: string;
|
|
4489
|
+
}>>;
|
|
4490
|
+
declare module '@glyphui/tokens' {
|
|
4491
|
+
interface GlyphComponentRegistry {
|
|
4492
|
+
NavigationMenu: StylesEntry<typeof navigationMenuStyles>;
|
|
4493
|
+
}
|
|
4494
|
+
}
|
|
4495
|
+
//#endregion
|
|
4496
|
+
//#region src/components/number-input/number-input.styles.d.ts
|
|
4497
|
+
export declare const numberInputStyles: import("tailwind-variants").TVReturnType<{
|
|
4498
|
+
size: {
|
|
4499
|
+
sm: {
|
|
4500
|
+
root: string;
|
|
4501
|
+
};
|
|
4502
|
+
md: {
|
|
4503
|
+
root: string;
|
|
4504
|
+
};
|
|
4505
|
+
lg: {
|
|
4506
|
+
root: string;
|
|
4507
|
+
stepper: string;
|
|
4508
|
+
};
|
|
4509
|
+
};
|
|
4510
|
+
}, {
|
|
4511
|
+
root: string[];
|
|
4512
|
+
input: string;
|
|
4513
|
+
adornment: string;
|
|
4514
|
+
steppers: string;
|
|
4515
|
+
stepper: string[];
|
|
4516
|
+
}, undefined, {
|
|
4517
|
+
size: {
|
|
4518
|
+
sm: {
|
|
4519
|
+
root: string;
|
|
4520
|
+
};
|
|
4521
|
+
md: {
|
|
4522
|
+
root: string;
|
|
4523
|
+
};
|
|
4524
|
+
lg: {
|
|
4525
|
+
root: string;
|
|
4526
|
+
stepper: string;
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
}, {
|
|
4530
|
+
root: string[];
|
|
4531
|
+
input: string;
|
|
4532
|
+
adornment: string;
|
|
4533
|
+
steppers: string;
|
|
4534
|
+
stepper: string[];
|
|
4535
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
4536
|
+
size: {
|
|
4537
|
+
sm: {
|
|
4538
|
+
root: string;
|
|
4539
|
+
};
|
|
4540
|
+
md: {
|
|
4541
|
+
root: string;
|
|
4542
|
+
};
|
|
4543
|
+
lg: {
|
|
4544
|
+
root: string;
|
|
4545
|
+
stepper: string;
|
|
4546
|
+
};
|
|
4547
|
+
};
|
|
4548
|
+
}, {
|
|
4549
|
+
root: string[];
|
|
4550
|
+
input: string;
|
|
4551
|
+
adornment: string;
|
|
4552
|
+
steppers: string;
|
|
4553
|
+
stepper: string[];
|
|
4554
|
+
}>>;
|
|
4555
|
+
type NumberInputVariants = VariantProps<typeof numberInputStyles>;
|
|
4556
|
+
declare module '@glyphui/tokens' {
|
|
4557
|
+
interface GlyphComponentRegistry {
|
|
4558
|
+
NumberInput: StylesEntry<typeof numberInputStyles>;
|
|
4559
|
+
}
|
|
4560
|
+
}
|
|
4561
|
+
//#endregion
|
|
4562
|
+
//#region src/components/number-input/number-input.d.ts
|
|
4563
|
+
interface NumberInputProps extends Omit<ComponentProps<'input'>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'min' | 'max' | 'step' | 'prefix'>, NumberInputVariants {
|
|
4564
|
+
/** `null` means empty. */
|
|
4565
|
+
value?: number | null;
|
|
4566
|
+
defaultValue?: number | null;
|
|
4567
|
+
onValueChange?: (value: number | null) => void;
|
|
4568
|
+
min?: number;
|
|
4569
|
+
max?: number;
|
|
4570
|
+
/** Amount added or removed by the steppers and arrow keys. Shift multiplies by 10. Default 1. */
|
|
4571
|
+
step?: number;
|
|
4572
|
+
/** Display formatting when the field isn't focused, e.g. `{ style: 'currency', currency: 'USD' }`. */
|
|
4573
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
4574
|
+
/** Locale for formatting. Defaults to the browser's. */
|
|
4575
|
+
locale?: string;
|
|
4576
|
+
prefix?: ReactNode;
|
|
4577
|
+
/** Content after the number, before the steppers, e.g. a unit. */
|
|
4578
|
+
suffix?: ReactNode;
|
|
4579
|
+
/** Hide the − / + buttons. */
|
|
4580
|
+
hideSteppers?: boolean;
|
|
4581
|
+
/** Classes for the `<input>` element. `className` styles the outer frame. */
|
|
4582
|
+
inputClassName?: string;
|
|
4583
|
+
}
|
|
4584
|
+
/**
|
|
4585
|
+
* A number field with − / + steppers, arrow-key stepping, min/max clamping on blur, and
|
|
4586
|
+
* locale formatting when not focused. The value is a `number`, never a string.
|
|
4587
|
+
*/
|
|
4588
|
+
export declare function NumberInput(inProps: NumberInputProps): import("react").JSX.Element;
|
|
4589
|
+
//#endregion
|
|
4590
|
+
//#region src/components/pagination/pagination.styles.d.ts
|
|
4591
|
+
export declare const paginationStyles: import("tailwind-variants").TVReturnType<{
|
|
4592
|
+
size: {
|
|
4593
|
+
sm: {
|
|
4594
|
+
item: string;
|
|
4595
|
+
ellipsis: string;
|
|
4596
|
+
};
|
|
4597
|
+
md: {
|
|
4598
|
+
item: string;
|
|
4599
|
+
ellipsis: string;
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4602
|
+
}, {
|
|
4603
|
+
root: string;
|
|
4604
|
+
list: string;
|
|
4605
|
+
item: string[];
|
|
4606
|
+
ellipsis: string;
|
|
4607
|
+
}, undefined, {
|
|
4608
|
+
size: {
|
|
4609
|
+
sm: {
|
|
4610
|
+
item: string;
|
|
4611
|
+
ellipsis: string;
|
|
4612
|
+
};
|
|
4613
|
+
md: {
|
|
4614
|
+
item: string;
|
|
4615
|
+
ellipsis: string;
|
|
4616
|
+
};
|
|
4617
|
+
};
|
|
4618
|
+
}, {
|
|
4619
|
+
root: string;
|
|
4620
|
+
list: string;
|
|
4621
|
+
item: string[];
|
|
4622
|
+
ellipsis: string;
|
|
4623
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
4624
|
+
size: {
|
|
4625
|
+
sm: {
|
|
4626
|
+
item: string;
|
|
4627
|
+
ellipsis: string;
|
|
4628
|
+
};
|
|
4629
|
+
md: {
|
|
4630
|
+
item: string;
|
|
4631
|
+
ellipsis: string;
|
|
4632
|
+
};
|
|
4633
|
+
};
|
|
4634
|
+
}, {
|
|
4635
|
+
root: string;
|
|
4636
|
+
list: string;
|
|
4637
|
+
item: string[];
|
|
4638
|
+
ellipsis: string;
|
|
4639
|
+
}>>;
|
|
4640
|
+
type PaginationVariants = VariantProps<typeof paginationStyles>;
|
|
4641
|
+
declare module '@glyphui/tokens' {
|
|
4642
|
+
interface GlyphComponentRegistry {
|
|
4643
|
+
Pagination: StylesEntry<typeof paginationStyles>;
|
|
4644
|
+
}
|
|
4645
|
+
}
|
|
4646
|
+
//#endregion
|
|
4647
|
+
//#region src/components/pagination/pagination.d.ts
|
|
4648
|
+
interface PaginationProps extends Omit<ComponentProps<'nav'>, 'onChange'>, PaginationVariants {
|
|
4649
|
+
/** Current page, starting at 1. */
|
|
4650
|
+
page: number;
|
|
4651
|
+
pageCount: number;
|
|
4652
|
+
onPageChange?: (page: number) => void;
|
|
4653
|
+
/** Render pages as links (through the provider's linkComponent) instead of buttons. */
|
|
4654
|
+
getHref?: (page: number) => string;
|
|
4655
|
+
/** Pages shown on each side of the current page. Default 1. */
|
|
4656
|
+
siblingCount?: number;
|
|
4657
|
+
/** Show first / last page buttons. Default true. */
|
|
4658
|
+
showEdges?: boolean;
|
|
4659
|
+
}
|
|
4660
|
+
/** Page navigation for long lists. Controlled: you own `page`. */
|
|
4661
|
+
export declare function Pagination(inProps: PaginationProps): import("react").JSX.Element;
|
|
4662
|
+
//#endregion
|
|
4663
|
+
//#region src/components/pagination/pagination-range.d.ts
|
|
4664
|
+
type PaginationItem = number | 'ellipsis';
|
|
4665
|
+
/**
|
|
4666
|
+
* The page numbers to show, with `'ellipsis'` for gaps. Always includes the first and
|
|
4667
|
+
* last page and `siblingCount` pages on each side of the current one, and keeps the
|
|
4668
|
+
* number of items constant so the control doesn't jump in width.
|
|
4669
|
+
*
|
|
4670
|
+
* `paginationRange(6, 20)` → `[1, 'ellipsis', 5, 6, 7, 'ellipsis', 20]`
|
|
4671
|
+
*/
|
|
4672
|
+
export declare function paginationRange(page: number, pageCount: number, siblingCount?: number): PaginationItem[];
|
|
4673
|
+
//#endregion
|
|
4674
|
+
//#region src/components/password-input/password-input.d.ts
|
|
4675
|
+
type PasswordStrength = 'weak' | 'fair' | 'strong';
|
|
4676
|
+
/**
|
|
4677
|
+
* A quick strength estimate from length and character variety. A hint for users,
|
|
4678
|
+
* not a security check: enforce real rules on the server.
|
|
4679
|
+
*/
|
|
4680
|
+
export declare function passwordStrength(password: string): {
|
|
4681
|
+
score: number;
|
|
4682
|
+
strength: PasswordStrength;
|
|
4683
|
+
};
|
|
4684
|
+
interface PasswordInputProps extends Omit<InputProps, 'type' | 'suffix'> {
|
|
4685
|
+
/** Show a strength meter under the field once the user starts typing. */
|
|
4686
|
+
showStrength?: boolean;
|
|
4687
|
+
/** Start with the password visible. */
|
|
4688
|
+
defaultVisible?: boolean;
|
|
4689
|
+
}
|
|
4690
|
+
/** A password field with a show/hide toggle and an optional strength meter. */
|
|
4691
|
+
export declare function PasswordInput(inProps: PasswordInputProps): import("react").JSX.Element;
|
|
4692
|
+
//#endregion
|
|
4693
|
+
//#region src/components/password-input/password-input.styles.d.ts
|
|
4694
|
+
export declare const passwordInputStyles: import("tailwind-variants").TVReturnType<{
|
|
4695
|
+
strength: {
|
|
4696
|
+
weak: {
|
|
4697
|
+
label: string;
|
|
4698
|
+
};
|
|
4699
|
+
fair: {
|
|
4700
|
+
label: string;
|
|
4701
|
+
};
|
|
4702
|
+
strong: {
|
|
4703
|
+
label: string;
|
|
4704
|
+
};
|
|
4705
|
+
};
|
|
4706
|
+
}, {
|
|
4707
|
+
root: string;
|
|
4708
|
+
toggle: string[];
|
|
4709
|
+
meter: string;
|
|
4710
|
+
bars: string;
|
|
4711
|
+
bar: string;
|
|
4712
|
+
label: string;
|
|
4713
|
+
}, undefined, {
|
|
4714
|
+
strength: {
|
|
4715
|
+
weak: {
|
|
4716
|
+
label: string;
|
|
4717
|
+
};
|
|
4718
|
+
fair: {
|
|
4719
|
+
label: string;
|
|
4720
|
+
};
|
|
4721
|
+
strong: {
|
|
4722
|
+
label: string;
|
|
4723
|
+
};
|
|
4724
|
+
};
|
|
4725
|
+
}, {
|
|
4726
|
+
root: string;
|
|
4727
|
+
toggle: string[];
|
|
4728
|
+
meter: string;
|
|
4729
|
+
bars: string;
|
|
4730
|
+
bar: string;
|
|
4731
|
+
label: string;
|
|
4732
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
4733
|
+
strength: {
|
|
4734
|
+
weak: {
|
|
4735
|
+
label: string;
|
|
4736
|
+
};
|
|
4737
|
+
fair: {
|
|
4738
|
+
label: string;
|
|
4739
|
+
};
|
|
4740
|
+
strong: {
|
|
4741
|
+
label: string;
|
|
4742
|
+
};
|
|
4743
|
+
};
|
|
4744
|
+
}, {
|
|
4745
|
+
root: string;
|
|
4746
|
+
toggle: string[];
|
|
4747
|
+
meter: string;
|
|
4748
|
+
bars: string;
|
|
4749
|
+
bar: string;
|
|
4750
|
+
label: string;
|
|
4751
|
+
}>>;
|
|
4752
|
+
declare module '@glyphui/tokens' {
|
|
4753
|
+
interface GlyphComponentRegistry {
|
|
4754
|
+
PasswordInput: StylesEntry<typeof passwordInputStyles>;
|
|
4755
|
+
}
|
|
4756
|
+
}
|
|
4757
|
+
//#endregion
|
|
4758
|
+
//#region src/components/popover/popover.d.ts
|
|
4759
|
+
export declare const popoverStyles: import("tailwind-variants").TVReturnType<{
|
|
4760
|
+
[key: string]: {
|
|
4761
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4762
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4763
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
4764
|
+
};
|
|
4765
|
+
};
|
|
4766
|
+
} | {
|
|
4767
|
+
[x: string]: {
|
|
4768
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
4769
|
+
content?: import("tailwind-variants").ClassValue;
|
|
4770
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
3399
4771
|
};
|
|
3400
4772
|
};
|
|
3401
4773
|
} | {}, {
|
|
@@ -3850,35 +5222,101 @@ export declare const radioGroupStyles: import("tailwind-variants").TVReturnType<
|
|
|
3850
5222
|
card: string[];
|
|
3851
5223
|
cardControl: string[];
|
|
3852
5224
|
}>>;
|
|
3853
|
-
type RadioGroupVariants = VariantProps<typeof radioGroupStyles>;
|
|
5225
|
+
type RadioGroupVariants = VariantProps<typeof radioGroupStyles>;
|
|
5226
|
+
declare module '@glyphui/tokens' {
|
|
5227
|
+
interface GlyphComponentRegistry {
|
|
5228
|
+
RadioGroup: StylesEntry<typeof radioGroupStyles>;
|
|
5229
|
+
}
|
|
5230
|
+
}
|
|
5231
|
+
//#endregion
|
|
5232
|
+
//#region src/components/radio-group/radio-group.d.ts
|
|
5233
|
+
type RootProps = Omit<ComponentProps<typeof RadioGroup$1.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'orientation'>;
|
|
5234
|
+
interface RadioGroupProps<T extends string> extends RootProps, RadioGroupVariants {
|
|
5235
|
+
value?: T;
|
|
5236
|
+
defaultValue?: T;
|
|
5237
|
+
/** Receives your value type, not `string`. */
|
|
5238
|
+
onValueChange?: (value: T) => void;
|
|
5239
|
+
}
|
|
5240
|
+
/**
|
|
5241
|
+
* Pick exactly one option from a short visible list. `variant="card"` turns each option
|
|
5242
|
+
* into a bordered card with a title and description.
|
|
5243
|
+
*/
|
|
5244
|
+
export declare function RadioGroup<T extends string>(inProps: RadioGroupProps<T>): import("react").JSX.Element;
|
|
5245
|
+
interface RadioGroupItemProps extends Omit<ComponentProps<typeof RadioGroup$1.Item>, 'children'> {
|
|
5246
|
+
/** Visible label. For card items this is the card title. */
|
|
5247
|
+
label?: ReactNode;
|
|
5248
|
+
description?: ReactNode;
|
|
5249
|
+
/** Extra content inside a card item, below the description. */
|
|
5250
|
+
children?: ReactNode;
|
|
5251
|
+
}
|
|
5252
|
+
export declare function RadioGroupItem({ label, description, children, className, id, ...props }: RadioGroupItemProps): import("react").JSX.Element;
|
|
5253
|
+
//#endregion
|
|
5254
|
+
//#region src/components/resizable/resizable.d.ts
|
|
5255
|
+
type ResizablePanelGroupProps = ComponentProps<typeof PanelGroup>;
|
|
5256
|
+
/**
|
|
5257
|
+
* Panels separated by draggable, keyboard-accessible dividers, for editors and split views.
|
|
5258
|
+
* Set `direction` to "horizontal" or "vertical"; pass `autoSaveId` to remember sizes.
|
|
5259
|
+
*/
|
|
5260
|
+
export declare function ResizablePanelGroup({ className, ...props }: ResizablePanelGroupProps): import("react").JSX.Element;
|
|
5261
|
+
type ResizablePanelProps = ComponentProps<typeof Panel>;
|
|
5262
|
+
export declare function ResizablePanel({ className, ...props }: ResizablePanelProps): import("react").JSX.Element;
|
|
5263
|
+
interface ResizableHandleProps extends ComponentProps<typeof PanelResizeHandle> {
|
|
5264
|
+
/** Show a visible grip on the divider. */
|
|
5265
|
+
withHandle?: boolean;
|
|
5266
|
+
}
|
|
5267
|
+
export declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): import("react").JSX.Element;
|
|
5268
|
+
//#endregion
|
|
5269
|
+
//#region src/components/resizable/resizable.styles.d.ts
|
|
5270
|
+
export declare const resizableStyles: import("tailwind-variants").TVReturnType<{
|
|
5271
|
+
[key: string]: {
|
|
5272
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
5273
|
+
group?: import("tailwind-variants").ClassValue;
|
|
5274
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
5275
|
+
grip?: import("tailwind-variants").ClassValue;
|
|
5276
|
+
handle?: import("tailwind-variants").ClassValue;
|
|
5277
|
+
};
|
|
5278
|
+
};
|
|
5279
|
+
} | {
|
|
5280
|
+
[x: string]: {
|
|
5281
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
5282
|
+
group?: import("tailwind-variants").ClassValue;
|
|
5283
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
5284
|
+
grip?: import("tailwind-variants").ClassValue;
|
|
5285
|
+
handle?: import("tailwind-variants").ClassValue;
|
|
5286
|
+
};
|
|
5287
|
+
};
|
|
5288
|
+
} | {}, {
|
|
5289
|
+
group: string;
|
|
5290
|
+
panel: string;
|
|
5291
|
+
handle: string[];
|
|
5292
|
+
grip: string;
|
|
5293
|
+
}, undefined, {
|
|
5294
|
+
[key: string]: {
|
|
5295
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
5296
|
+
group?: import("tailwind-variants").ClassValue;
|
|
5297
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
5298
|
+
grip?: import("tailwind-variants").ClassValue;
|
|
5299
|
+
handle?: import("tailwind-variants").ClassValue;
|
|
5300
|
+
};
|
|
5301
|
+
};
|
|
5302
|
+
} | {}, {
|
|
5303
|
+
group: string;
|
|
5304
|
+
panel: string;
|
|
5305
|
+
handle: string[];
|
|
5306
|
+
grip: string;
|
|
5307
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
5308
|
+
group: string;
|
|
5309
|
+
panel: string;
|
|
5310
|
+
handle: string[];
|
|
5311
|
+
grip: string;
|
|
5312
|
+
}>>;
|
|
5313
|
+
type ResizableVariants = VariantProps<typeof resizableStyles>;
|
|
3854
5314
|
declare module '@glyphui/tokens' {
|
|
3855
5315
|
interface GlyphComponentRegistry {
|
|
3856
|
-
|
|
5316
|
+
Resizable: StylesEntry<typeof resizableStyles>;
|
|
3857
5317
|
}
|
|
3858
5318
|
}
|
|
3859
5319
|
//#endregion
|
|
3860
|
-
//#region src/components/radio-group/radio-group.d.ts
|
|
3861
|
-
type RootProps = Omit<ComponentProps<typeof RadioGroup$1.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'orientation'>;
|
|
3862
|
-
interface RadioGroupProps<T extends string> extends RootProps, RadioGroupVariants {
|
|
3863
|
-
value?: T;
|
|
3864
|
-
defaultValue?: T;
|
|
3865
|
-
/** Receives your value type, not `string`. */
|
|
3866
|
-
onValueChange?: (value: T) => void;
|
|
3867
|
-
}
|
|
3868
|
-
/**
|
|
3869
|
-
* Pick exactly one option from a short visible list. `variant="card"` turns each option
|
|
3870
|
-
* into a bordered card with a title and description.
|
|
3871
|
-
*/
|
|
3872
|
-
export declare function RadioGroup<T extends string>(inProps: RadioGroupProps<T>): import("react").JSX.Element;
|
|
3873
|
-
interface RadioGroupItemProps extends Omit<ComponentProps<typeof RadioGroup$1.Item>, 'children'> {
|
|
3874
|
-
/** Visible label. For card items this is the card title. */
|
|
3875
|
-
label?: ReactNode;
|
|
3876
|
-
description?: ReactNode;
|
|
3877
|
-
/** Extra content inside a card item, below the description. */
|
|
3878
|
-
children?: ReactNode;
|
|
3879
|
-
}
|
|
3880
|
-
export declare function RadioGroupItem({ label, description, children, className, id, ...props }: RadioGroupItemProps): import("react").JSX.Element;
|
|
3881
|
-
//#endregion
|
|
3882
5320
|
//#region src/components/scroll-area/scroll-area.d.ts
|
|
3883
5321
|
export declare const scrollAreaStyles: import("tailwind-variants").TVReturnType<{
|
|
3884
5322
|
[key: string]: {
|
|
@@ -4339,96 +5777,515 @@ export declare const statCardStyles: import("tailwind-variants").TVReturnType<{
|
|
|
4339
5777
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4340
5778
|
icon?: import("tailwind-variants").ClassValue;
|
|
4341
5779
|
root?: import("tailwind-variants").ClassValue;
|
|
5780
|
+
description?: import("tailwind-variants").ClassValue;
|
|
5781
|
+
label?: import("tailwind-variants").ClassValue;
|
|
5782
|
+
header?: import("tailwind-variants").ClassValue;
|
|
5783
|
+
value?: import("tailwind-variants").ClassValue;
|
|
5784
|
+
valueRow?: import("tailwind-variants").ClassValue;
|
|
5785
|
+
delta?: import("tailwind-variants").ClassValue;
|
|
5786
|
+
chart?: import("tailwind-variants").ClassValue;
|
|
5787
|
+
};
|
|
5788
|
+
};
|
|
5789
|
+
} | {
|
|
5790
|
+
[x: string]: {
|
|
5791
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
5792
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
5793
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5794
|
+
description?: import("tailwind-variants").ClassValue;
|
|
4342
5795
|
label?: import("tailwind-variants").ClassValue;
|
|
5796
|
+
header?: import("tailwind-variants").ClassValue;
|
|
5797
|
+
value?: import("tailwind-variants").ClassValue;
|
|
5798
|
+
valueRow?: import("tailwind-variants").ClassValue;
|
|
5799
|
+
delta?: import("tailwind-variants").ClassValue;
|
|
5800
|
+
chart?: import("tailwind-variants").ClassValue;
|
|
5801
|
+
};
|
|
5802
|
+
};
|
|
5803
|
+
} | {}, {
|
|
5804
|
+
root: string;
|
|
5805
|
+
header: string;
|
|
5806
|
+
label: string;
|
|
5807
|
+
icon: string;
|
|
5808
|
+
valueRow: string;
|
|
5809
|
+
value: string;
|
|
5810
|
+
delta: string;
|
|
5811
|
+
description: string;
|
|
5812
|
+
chart: string;
|
|
5813
|
+
}, undefined, {
|
|
5814
|
+
[key: string]: {
|
|
5815
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
5816
|
+
icon?: import("tailwind-variants").ClassValue;
|
|
5817
|
+
root?: import("tailwind-variants").ClassValue;
|
|
4343
5818
|
description?: import("tailwind-variants").ClassValue;
|
|
5819
|
+
label?: import("tailwind-variants").ClassValue;
|
|
4344
5820
|
header?: import("tailwind-variants").ClassValue;
|
|
4345
5821
|
value?: import("tailwind-variants").ClassValue;
|
|
4346
5822
|
valueRow?: import("tailwind-variants").ClassValue;
|
|
4347
5823
|
delta?: import("tailwind-variants").ClassValue;
|
|
4348
5824
|
chart?: import("tailwind-variants").ClassValue;
|
|
4349
5825
|
};
|
|
4350
|
-
};
|
|
4351
|
-
} | {
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
5826
|
+
};
|
|
5827
|
+
} | {}, {
|
|
5828
|
+
root: string;
|
|
5829
|
+
header: string;
|
|
5830
|
+
label: string;
|
|
5831
|
+
icon: string;
|
|
5832
|
+
valueRow: string;
|
|
5833
|
+
value: string;
|
|
5834
|
+
delta: string;
|
|
5835
|
+
description: string;
|
|
5836
|
+
chart: string;
|
|
5837
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
5838
|
+
root: string;
|
|
5839
|
+
header: string;
|
|
5840
|
+
label: string;
|
|
5841
|
+
icon: string;
|
|
5842
|
+
valueRow: string;
|
|
5843
|
+
value: string;
|
|
5844
|
+
delta: string;
|
|
5845
|
+
description: string;
|
|
5846
|
+
chart: string;
|
|
5847
|
+
}>>;
|
|
5848
|
+
type StatCardVariants = VariantProps<typeof statCardStyles>;
|
|
5849
|
+
declare module '@glyphui/tokens' {
|
|
5850
|
+
interface GlyphComponentRegistry {
|
|
5851
|
+
StatCard: StylesEntry<typeof statCardStyles>;
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
//#endregion
|
|
5855
|
+
//#region src/components/stepper/stepper.d.ts
|
|
5856
|
+
type StepStatus = 'complete' | 'current' | 'upcoming' | 'error';
|
|
5857
|
+
interface StepperStep {
|
|
5858
|
+
title: ReactNode;
|
|
5859
|
+
description?: ReactNode;
|
|
5860
|
+
/** Override the status derived from `current`, e.g. `'error'` for a failed step. */
|
|
5861
|
+
status?: StepStatus;
|
|
5862
|
+
}
|
|
5863
|
+
interface StepperProps extends Omit<ComponentProps<'ol'>, 'children'> {
|
|
5864
|
+
steps: readonly StepperStep[];
|
|
5865
|
+
/** Index of the current step. Earlier steps are complete, later ones upcoming. */
|
|
5866
|
+
current: number;
|
|
5867
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5868
|
+
/** Makes completed steps clickable, e.g. to go back in a wizard. */
|
|
5869
|
+
onStepClick?: (index: number) => void;
|
|
5870
|
+
}
|
|
5871
|
+
/** Progress through a multi-step flow such as onboarding or checkout. */
|
|
5872
|
+
export declare function Stepper(inProps: StepperProps): import("react").JSX.Element;
|
|
5873
|
+
//#endregion
|
|
5874
|
+
//#region src/components/stepper/stepper.styles.d.ts
|
|
5875
|
+
export declare const stepperStyles: import("tailwind-variants").TVReturnType<{
|
|
5876
|
+
orientation: {
|
|
5877
|
+
horizontal: {
|
|
5878
|
+
root: string;
|
|
5879
|
+
step: string;
|
|
5880
|
+
trigger: string;
|
|
5881
|
+
connector: string;
|
|
5882
|
+
text: string;
|
|
5883
|
+
};
|
|
5884
|
+
vertical: {
|
|
5885
|
+
root: string;
|
|
5886
|
+
step: string;
|
|
5887
|
+
trigger: string;
|
|
5888
|
+
connector: string;
|
|
5889
|
+
text: string;
|
|
5890
|
+
};
|
|
5891
|
+
};
|
|
5892
|
+
status: {
|
|
5893
|
+
complete: {
|
|
5894
|
+
indicator: string;
|
|
5895
|
+
connector: string;
|
|
5896
|
+
title: string;
|
|
5897
|
+
};
|
|
5898
|
+
current: {
|
|
5899
|
+
indicator: string;
|
|
5900
|
+
connector: string;
|
|
5901
|
+
title: string;
|
|
5902
|
+
};
|
|
5903
|
+
upcoming: {
|
|
5904
|
+
indicator: string;
|
|
5905
|
+
connector: string;
|
|
5906
|
+
title: string;
|
|
5907
|
+
};
|
|
5908
|
+
error: {
|
|
5909
|
+
indicator: string;
|
|
5910
|
+
connector: string;
|
|
5911
|
+
title: string;
|
|
5912
|
+
};
|
|
5913
|
+
};
|
|
5914
|
+
clickable: {
|
|
5915
|
+
true: {
|
|
5916
|
+
trigger: string;
|
|
5917
|
+
};
|
|
5918
|
+
};
|
|
5919
|
+
}, {
|
|
5920
|
+
root: string;
|
|
5921
|
+
step: string;
|
|
5922
|
+
trigger: string[];
|
|
5923
|
+
indicator: string[];
|
|
5924
|
+
connector: string;
|
|
5925
|
+
text: string;
|
|
5926
|
+
title: string;
|
|
5927
|
+
description: string;
|
|
5928
|
+
}, undefined, {
|
|
5929
|
+
orientation: {
|
|
5930
|
+
horizontal: {
|
|
5931
|
+
root: string;
|
|
5932
|
+
step: string;
|
|
5933
|
+
trigger: string;
|
|
5934
|
+
connector: string;
|
|
5935
|
+
text: string;
|
|
5936
|
+
};
|
|
5937
|
+
vertical: {
|
|
5938
|
+
root: string;
|
|
5939
|
+
step: string;
|
|
5940
|
+
trigger: string;
|
|
5941
|
+
connector: string;
|
|
5942
|
+
text: string;
|
|
5943
|
+
};
|
|
5944
|
+
};
|
|
5945
|
+
status: {
|
|
5946
|
+
complete: {
|
|
5947
|
+
indicator: string;
|
|
5948
|
+
connector: string;
|
|
5949
|
+
title: string;
|
|
5950
|
+
};
|
|
5951
|
+
current: {
|
|
5952
|
+
indicator: string;
|
|
5953
|
+
connector: string;
|
|
5954
|
+
title: string;
|
|
5955
|
+
};
|
|
5956
|
+
upcoming: {
|
|
5957
|
+
indicator: string;
|
|
5958
|
+
connector: string;
|
|
5959
|
+
title: string;
|
|
5960
|
+
};
|
|
5961
|
+
error: {
|
|
5962
|
+
indicator: string;
|
|
5963
|
+
connector: string;
|
|
5964
|
+
title: string;
|
|
5965
|
+
};
|
|
5966
|
+
};
|
|
5967
|
+
clickable: {
|
|
5968
|
+
true: {
|
|
5969
|
+
trigger: string;
|
|
5970
|
+
};
|
|
5971
|
+
};
|
|
5972
|
+
}, {
|
|
5973
|
+
root: string;
|
|
5974
|
+
step: string;
|
|
5975
|
+
trigger: string[];
|
|
5976
|
+
indicator: string[];
|
|
5977
|
+
connector: string;
|
|
5978
|
+
text: string;
|
|
5979
|
+
title: string;
|
|
5980
|
+
description: string;
|
|
5981
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
5982
|
+
orientation: {
|
|
5983
|
+
horizontal: {
|
|
5984
|
+
root: string;
|
|
5985
|
+
step: string;
|
|
5986
|
+
trigger: string;
|
|
5987
|
+
connector: string;
|
|
5988
|
+
text: string;
|
|
5989
|
+
};
|
|
5990
|
+
vertical: {
|
|
5991
|
+
root: string;
|
|
5992
|
+
step: string;
|
|
5993
|
+
trigger: string;
|
|
5994
|
+
connector: string;
|
|
5995
|
+
text: string;
|
|
5996
|
+
};
|
|
5997
|
+
};
|
|
5998
|
+
status: {
|
|
5999
|
+
complete: {
|
|
6000
|
+
indicator: string;
|
|
6001
|
+
connector: string;
|
|
6002
|
+
title: string;
|
|
6003
|
+
};
|
|
6004
|
+
current: {
|
|
6005
|
+
indicator: string;
|
|
6006
|
+
connector: string;
|
|
6007
|
+
title: string;
|
|
6008
|
+
};
|
|
6009
|
+
upcoming: {
|
|
6010
|
+
indicator: string;
|
|
6011
|
+
connector: string;
|
|
6012
|
+
title: string;
|
|
6013
|
+
};
|
|
6014
|
+
error: {
|
|
6015
|
+
indicator: string;
|
|
6016
|
+
connector: string;
|
|
6017
|
+
title: string;
|
|
6018
|
+
};
|
|
6019
|
+
};
|
|
6020
|
+
clickable: {
|
|
6021
|
+
true: {
|
|
6022
|
+
trigger: string;
|
|
6023
|
+
};
|
|
6024
|
+
};
|
|
6025
|
+
}, {
|
|
6026
|
+
root: string;
|
|
6027
|
+
step: string;
|
|
6028
|
+
trigger: string[];
|
|
6029
|
+
indicator: string[];
|
|
6030
|
+
connector: string;
|
|
6031
|
+
text: string;
|
|
6032
|
+
title: string;
|
|
6033
|
+
description: string;
|
|
6034
|
+
}>>;
|
|
6035
|
+
type StepperVariants = VariantProps<typeof stepperStyles>;
|
|
6036
|
+
declare module '@glyphui/tokens' {
|
|
6037
|
+
interface GlyphComponentRegistry {
|
|
6038
|
+
Stepper: StylesEntry<typeof stepperStyles>;
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
//#endregion
|
|
6042
|
+
//#region src/components/tag-input/tag-input.styles.d.ts
|
|
6043
|
+
export declare const tagInputStyles: import("tailwind-variants").TVReturnType<{
|
|
6044
|
+
size: {
|
|
6045
|
+
sm: {
|
|
6046
|
+
frame: string;
|
|
6047
|
+
};
|
|
6048
|
+
md: {
|
|
6049
|
+
frame: string;
|
|
6050
|
+
};
|
|
6051
|
+
lg: {
|
|
6052
|
+
frame: string;
|
|
6053
|
+
};
|
|
6054
|
+
};
|
|
6055
|
+
}, {
|
|
6056
|
+
root: string;
|
|
6057
|
+
frame: string[];
|
|
6058
|
+
tag: string;
|
|
6059
|
+
tagLabel: string;
|
|
6060
|
+
remove: string;
|
|
6061
|
+
input: string;
|
|
6062
|
+
message: string;
|
|
6063
|
+
}, undefined, {
|
|
6064
|
+
size: {
|
|
6065
|
+
sm: {
|
|
6066
|
+
frame: string;
|
|
6067
|
+
};
|
|
6068
|
+
md: {
|
|
6069
|
+
frame: string;
|
|
6070
|
+
};
|
|
6071
|
+
lg: {
|
|
6072
|
+
frame: string;
|
|
6073
|
+
};
|
|
6074
|
+
};
|
|
6075
|
+
}, {
|
|
6076
|
+
root: string;
|
|
6077
|
+
frame: string[];
|
|
6078
|
+
tag: string;
|
|
6079
|
+
tagLabel: string;
|
|
6080
|
+
remove: string;
|
|
6081
|
+
input: string;
|
|
6082
|
+
message: string;
|
|
6083
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
6084
|
+
size: {
|
|
6085
|
+
sm: {
|
|
6086
|
+
frame: string;
|
|
6087
|
+
};
|
|
6088
|
+
md: {
|
|
6089
|
+
frame: string;
|
|
6090
|
+
};
|
|
6091
|
+
lg: {
|
|
6092
|
+
frame: string;
|
|
6093
|
+
};
|
|
6094
|
+
};
|
|
6095
|
+
}, {
|
|
6096
|
+
root: string;
|
|
6097
|
+
frame: string[];
|
|
6098
|
+
tag: string;
|
|
6099
|
+
tagLabel: string;
|
|
6100
|
+
remove: string;
|
|
6101
|
+
input: string;
|
|
6102
|
+
message: string;
|
|
6103
|
+
}>>;
|
|
6104
|
+
type TagInputVariants = VariantProps<typeof tagInputStyles>;
|
|
6105
|
+
declare module '@glyphui/tokens' {
|
|
6106
|
+
interface GlyphComponentRegistry {
|
|
6107
|
+
TagInput: StylesEntry<typeof tagInputStyles>;
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
//#endregion
|
|
6111
|
+
//#region src/components/tag-input/tag-input.d.ts
|
|
6112
|
+
interface TagInputProps extends TagInputVariants {
|
|
6113
|
+
value?: string[];
|
|
6114
|
+
defaultValue?: string[];
|
|
6115
|
+
onValueChange?: (tags: string[]) => void;
|
|
6116
|
+
placeholder?: string;
|
|
6117
|
+
/** Stop accepting tags after this many. */
|
|
6118
|
+
maxTags?: number;
|
|
6119
|
+
/** Return an error message to reject a tag, or `true` to accept it. */
|
|
6120
|
+
validate?: (tag: string, tags: readonly string[]) => string | true;
|
|
6121
|
+
/** Allow the same tag more than once. Default false. */
|
|
6122
|
+
allowDuplicates?: boolean;
|
|
6123
|
+
/** Keys (besides Enter) that turn the typed text into a tag. Default `[',']`. */
|
|
6124
|
+
separators?: readonly string[];
|
|
6125
|
+
disabled?: boolean;
|
|
6126
|
+
/** Submits each tag as its own hidden input with this name. */
|
|
6127
|
+
name?: string;
|
|
6128
|
+
id?: string;
|
|
6129
|
+
className?: string;
|
|
6130
|
+
'aria-label'?: string;
|
|
6131
|
+
'aria-describedby'?: string;
|
|
6132
|
+
'aria-invalid'?: boolean;
|
|
6133
|
+
}
|
|
6134
|
+
/**
|
|
6135
|
+
* Free-form multi-value input. Enter or a comma turns the text into a removable tag;
|
|
6136
|
+
* Backspace on an empty input removes the last one. Pasting a comma-separated list adds them all.
|
|
6137
|
+
*/
|
|
6138
|
+
export declare function TagInput(inProps: TagInputProps): import("react").JSX.Element;
|
|
6139
|
+
//#endregion
|
|
6140
|
+
//#region src/components/text/text.d.ts
|
|
6141
|
+
interface TextProps extends ComponentProps<'p'>, TextVariants {
|
|
6142
|
+
/** Render the child element (e.g. `<span>`, `<label>`) with text styles instead of a `<p>`. */
|
|
6143
|
+
asChild?: boolean;
|
|
6144
|
+
}
|
|
6145
|
+
export declare function Text(inProps: TextProps): import("react").JSX.Element;
|
|
6146
|
+
//#endregion
|
|
6147
|
+
//#region src/components/timeline/timeline.styles.d.ts
|
|
6148
|
+
export declare const timelineStyles: import("tailwind-variants").TVReturnType<{
|
|
6149
|
+
tone: {
|
|
6150
|
+
neutral: {
|
|
6151
|
+
marker: string;
|
|
6152
|
+
};
|
|
6153
|
+
primary: {
|
|
6154
|
+
marker: string;
|
|
6155
|
+
};
|
|
6156
|
+
info: {
|
|
6157
|
+
marker: string;
|
|
6158
|
+
};
|
|
6159
|
+
success: {
|
|
6160
|
+
marker: string;
|
|
6161
|
+
};
|
|
6162
|
+
warning: {
|
|
6163
|
+
marker: string;
|
|
6164
|
+
};
|
|
6165
|
+
danger: {
|
|
6166
|
+
marker: string;
|
|
4363
6167
|
};
|
|
4364
6168
|
};
|
|
4365
|
-
}
|
|
6169
|
+
}, {
|
|
4366
6170
|
root: string;
|
|
6171
|
+
item: string;
|
|
6172
|
+
rail: string;
|
|
6173
|
+
marker: string[];
|
|
6174
|
+
dot: string;
|
|
6175
|
+
connector: string;
|
|
6176
|
+
content: string;
|
|
4367
6177
|
header: string;
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
valueRow: string;
|
|
4371
|
-
value: string;
|
|
4372
|
-
delta: string;
|
|
6178
|
+
title: string;
|
|
6179
|
+
time: string;
|
|
4373
6180
|
description: string;
|
|
4374
|
-
chart: string;
|
|
4375
6181
|
}, undefined, {
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
6182
|
+
tone: {
|
|
6183
|
+
neutral: {
|
|
6184
|
+
marker: string;
|
|
6185
|
+
};
|
|
6186
|
+
primary: {
|
|
6187
|
+
marker: string;
|
|
6188
|
+
};
|
|
6189
|
+
info: {
|
|
6190
|
+
marker: string;
|
|
6191
|
+
};
|
|
6192
|
+
success: {
|
|
6193
|
+
marker: string;
|
|
6194
|
+
};
|
|
6195
|
+
warning: {
|
|
6196
|
+
marker: string;
|
|
6197
|
+
};
|
|
6198
|
+
danger: {
|
|
6199
|
+
marker: string;
|
|
4387
6200
|
};
|
|
4388
6201
|
};
|
|
4389
|
-
}
|
|
6202
|
+
}, {
|
|
4390
6203
|
root: string;
|
|
6204
|
+
item: string;
|
|
6205
|
+
rail: string;
|
|
6206
|
+
marker: string[];
|
|
6207
|
+
dot: string;
|
|
6208
|
+
connector: string;
|
|
6209
|
+
content: string;
|
|
4391
6210
|
header: string;
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
valueRow: string;
|
|
4395
|
-
value: string;
|
|
4396
|
-
delta: string;
|
|
6211
|
+
title: string;
|
|
6212
|
+
time: string;
|
|
4397
6213
|
description: string;
|
|
4398
|
-
|
|
4399
|
-
|
|
6214
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
6215
|
+
tone: {
|
|
6216
|
+
neutral: {
|
|
6217
|
+
marker: string;
|
|
6218
|
+
};
|
|
6219
|
+
primary: {
|
|
6220
|
+
marker: string;
|
|
6221
|
+
};
|
|
6222
|
+
info: {
|
|
6223
|
+
marker: string;
|
|
6224
|
+
};
|
|
6225
|
+
success: {
|
|
6226
|
+
marker: string;
|
|
6227
|
+
};
|
|
6228
|
+
warning: {
|
|
6229
|
+
marker: string;
|
|
6230
|
+
};
|
|
6231
|
+
danger: {
|
|
6232
|
+
marker: string;
|
|
6233
|
+
};
|
|
6234
|
+
};
|
|
6235
|
+
}, {
|
|
4400
6236
|
root: string;
|
|
6237
|
+
item: string;
|
|
6238
|
+
rail: string;
|
|
6239
|
+
marker: string[];
|
|
6240
|
+
dot: string;
|
|
6241
|
+
connector: string;
|
|
6242
|
+
content: string;
|
|
4401
6243
|
header: string;
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
valueRow: string;
|
|
4405
|
-
value: string;
|
|
4406
|
-
delta: string;
|
|
6244
|
+
title: string;
|
|
6245
|
+
time: string;
|
|
4407
6246
|
description: string;
|
|
4408
|
-
chart: string;
|
|
4409
6247
|
}>>;
|
|
4410
|
-
type
|
|
6248
|
+
type TimelineVariants = VariantProps<typeof timelineStyles>;
|
|
4411
6249
|
declare module '@glyphui/tokens' {
|
|
4412
6250
|
interface GlyphComponentRegistry {
|
|
4413
|
-
|
|
6251
|
+
Timeline: StylesEntry<typeof timelineStyles>;
|
|
4414
6252
|
}
|
|
4415
6253
|
}
|
|
4416
6254
|
//#endregion
|
|
4417
|
-
//#region src/components/
|
|
4418
|
-
interface
|
|
4419
|
-
/**
|
|
4420
|
-
|
|
6255
|
+
//#region src/components/timeline/timeline.d.ts
|
|
6256
|
+
interface TimelineItemData extends TimelineVariants {
|
|
6257
|
+
/** Stable key. Falls back to the index. */
|
|
6258
|
+
id?: string;
|
|
6259
|
+
title: ReactNode;
|
|
6260
|
+
/** Display text for when it happened, e.g. "2h ago" or "Oct 12". */
|
|
6261
|
+
time?: ReactNode;
|
|
6262
|
+
/** Machine-readable date for the `<time>` element, e.g. "2026-10-12T09:41". */
|
|
6263
|
+
dateTime?: string;
|
|
6264
|
+
description?: ReactNode;
|
|
6265
|
+
/** Replaces the dot in the marker. */
|
|
6266
|
+
icon?: ReactNode;
|
|
4421
6267
|
}
|
|
4422
|
-
|
|
6268
|
+
interface TimelineProps extends Omit<ComponentProps<'ol'>, 'children'> {
|
|
6269
|
+
/** Data-driven items. Use `children` with TimelineItem for custom content. */
|
|
6270
|
+
items?: readonly TimelineItemData[];
|
|
6271
|
+
children?: ReactNode;
|
|
6272
|
+
}
|
|
6273
|
+
/** A vertical list of events in order, for activity feeds, changelogs and order tracking. */
|
|
6274
|
+
export declare function Timeline(inProps: TimelineProps): import("react").JSX.Element;
|
|
6275
|
+
interface TimelineItemProps extends Omit<ComponentProps<'li'>, 'title'>, Omit<TimelineItemData, 'id' | 'description'> {
|
|
6276
|
+
/** Description below the title. */
|
|
6277
|
+
children?: ReactNode;
|
|
6278
|
+
}
|
|
6279
|
+
export declare function TimelineItem({ title, time, dateTime, icon, tone, className, children, ...props }: TimelineItemProps): import("react").JSX.Element;
|
|
4423
6280
|
//#endregion
|
|
4424
6281
|
//#region src/components/toast/toast.d.ts
|
|
4425
6282
|
export declare const toastStyles: import("tailwind-variants").TVReturnType<{
|
|
4426
6283
|
[key: string]: {
|
|
4427
6284
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4428
6285
|
icon?: import("tailwind-variants").ClassValue;
|
|
6286
|
+
title?: import("tailwind-variants").ClassValue;
|
|
4429
6287
|
description?: import("tailwind-variants").ClassValue;
|
|
4430
6288
|
error?: import("tailwind-variants").ClassValue;
|
|
4431
|
-
title?: import("tailwind-variants").ClassValue;
|
|
4432
6289
|
success?: import("tailwind-variants").ClassValue;
|
|
4433
6290
|
warning?: import("tailwind-variants").ClassValue;
|
|
4434
6291
|
info?: import("tailwind-variants").ClassValue;
|
|
@@ -4444,9 +6301,9 @@ export declare const toastStyles: import("tailwind-variants").TVReturnType<{
|
|
|
4444
6301
|
[x: string]: {
|
|
4445
6302
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
4446
6303
|
icon?: import("tailwind-variants").ClassValue;
|
|
6304
|
+
title?: import("tailwind-variants").ClassValue;
|
|
4447
6305
|
description?: import("tailwind-variants").ClassValue;
|
|
4448
6306
|
error?: import("tailwind-variants").ClassValue;
|
|
4449
|
-
title?: import("tailwind-variants").ClassValue;
|
|
4450
6307
|
success?: import("tailwind-variants").ClassValue;
|
|
4451
6308
|
warning?: import("tailwind-variants").ClassValue;
|
|
4452
6309
|
info?: import("tailwind-variants").ClassValue;
|
|
@@ -4476,9 +6333,9 @@ export declare const toastStyles: import("tailwind-variants").TVReturnType<{
|
|
|
4476
6333
|
[key: string]: {
|
|
4477
6334
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4478
6335
|
icon?: import("tailwind-variants").ClassValue;
|
|
6336
|
+
title?: import("tailwind-variants").ClassValue;
|
|
4479
6337
|
description?: import("tailwind-variants").ClassValue;
|
|
4480
6338
|
error?: import("tailwind-variants").ClassValue;
|
|
4481
|
-
title?: import("tailwind-variants").ClassValue;
|
|
4482
6339
|
success?: import("tailwind-variants").ClassValue;
|
|
4483
6340
|
warning?: import("tailwind-variants").ClassValue;
|
|
4484
6341
|
info?: import("tailwind-variants").ClassValue;
|
|
@@ -4536,6 +6393,193 @@ type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
|
4536
6393
|
*/
|
|
4537
6394
|
export declare function Toaster(inProps: ToasterProps): import("react").JSX.Element;
|
|
4538
6395
|
//#endregion
|
|
6396
|
+
//#region src/components/toggle/toggle.styles.d.ts
|
|
6397
|
+
export declare const toggleStyles: import("tailwind-variants").TVReturnType<{
|
|
6398
|
+
variant: {
|
|
6399
|
+
default: {
|
|
6400
|
+
base: string;
|
|
6401
|
+
};
|
|
6402
|
+
outline: {
|
|
6403
|
+
base: string[];
|
|
6404
|
+
};
|
|
6405
|
+
};
|
|
6406
|
+
size: {
|
|
6407
|
+
sm: {
|
|
6408
|
+
base: string;
|
|
6409
|
+
};
|
|
6410
|
+
md: {
|
|
6411
|
+
base: string;
|
|
6412
|
+
};
|
|
6413
|
+
lg: {
|
|
6414
|
+
base: string;
|
|
6415
|
+
};
|
|
6416
|
+
};
|
|
6417
|
+
}, {
|
|
6418
|
+
base: string[];
|
|
6419
|
+
group: string;
|
|
6420
|
+
}, undefined, {
|
|
6421
|
+
variant: {
|
|
6422
|
+
default: {
|
|
6423
|
+
base: string;
|
|
6424
|
+
};
|
|
6425
|
+
outline: {
|
|
6426
|
+
base: string[];
|
|
6427
|
+
};
|
|
6428
|
+
};
|
|
6429
|
+
size: {
|
|
6430
|
+
sm: {
|
|
6431
|
+
base: string;
|
|
6432
|
+
};
|
|
6433
|
+
md: {
|
|
6434
|
+
base: string;
|
|
6435
|
+
};
|
|
6436
|
+
lg: {
|
|
6437
|
+
base: string;
|
|
6438
|
+
};
|
|
6439
|
+
};
|
|
6440
|
+
}, {
|
|
6441
|
+
base: string[];
|
|
6442
|
+
group: string;
|
|
6443
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
6444
|
+
variant: {
|
|
6445
|
+
default: {
|
|
6446
|
+
base: string;
|
|
6447
|
+
};
|
|
6448
|
+
outline: {
|
|
6449
|
+
base: string[];
|
|
6450
|
+
};
|
|
6451
|
+
};
|
|
6452
|
+
size: {
|
|
6453
|
+
sm: {
|
|
6454
|
+
base: string;
|
|
6455
|
+
};
|
|
6456
|
+
md: {
|
|
6457
|
+
base: string;
|
|
6458
|
+
};
|
|
6459
|
+
lg: {
|
|
6460
|
+
base: string;
|
|
6461
|
+
};
|
|
6462
|
+
};
|
|
6463
|
+
}, {
|
|
6464
|
+
base: string[];
|
|
6465
|
+
group: string;
|
|
6466
|
+
}>>;
|
|
6467
|
+
type ToggleVariants = VariantProps<typeof toggleStyles>;
|
|
6468
|
+
declare module '@glyphui/tokens' {
|
|
6469
|
+
interface GlyphComponentRegistry {
|
|
6470
|
+
Toggle: StylesEntry<typeof toggleStyles>;
|
|
6471
|
+
}
|
|
6472
|
+
}
|
|
6473
|
+
//#endregion
|
|
6474
|
+
//#region src/components/toggle/toggle.d.ts
|
|
6475
|
+
interface ToggleProps extends ComponentProps<typeof Toggle$1.Root>, ToggleVariants {}
|
|
6476
|
+
/**
|
|
6477
|
+
* A two-state button, e.g. Bold in a toolbar. Use Switch for settings that take effect
|
|
6478
|
+
* immediately, and Checkbox inside forms.
|
|
6479
|
+
*/
|
|
6480
|
+
export declare function Toggle(inProps: ToggleProps): import("react").JSX.Element;
|
|
6481
|
+
type ToggleGroupProps = ComponentProps<typeof ToggleGroup$1.Root> & ToggleVariants;
|
|
6482
|
+
/**
|
|
6483
|
+
* A set of toggles. `type="single"` behaves like a radio group (text alignment),
|
|
6484
|
+
* `type="multiple"` like checkboxes (bold, italic, underline). Arrow keys move between items.
|
|
6485
|
+
*/
|
|
6486
|
+
export declare function ToggleGroup(inProps: ToggleGroupProps): import("react").JSX.Element;
|
|
6487
|
+
interface ToggleGroupItemProps extends ComponentProps<typeof ToggleGroup$1.Item>, ToggleVariants {}
|
|
6488
|
+
export declare function ToggleGroupItem({ variant, size, className, ...props }: ToggleGroupItemProps): import("react").JSX.Element;
|
|
6489
|
+
//#endregion
|
|
6490
|
+
//#region src/components/tree-view/tree-view.styles.d.ts
|
|
6491
|
+
export declare const treeViewStyles: import("tailwind-variants").TVReturnType<{
|
|
6492
|
+
size: {
|
|
6493
|
+
sm: {
|
|
6494
|
+
row: string;
|
|
6495
|
+
};
|
|
6496
|
+
md: {};
|
|
6497
|
+
};
|
|
6498
|
+
}, {
|
|
6499
|
+
root: string;
|
|
6500
|
+
item: string[];
|
|
6501
|
+
row: string[];
|
|
6502
|
+
chevron: string;
|
|
6503
|
+
spacer: string;
|
|
6504
|
+
icon: string;
|
|
6505
|
+
label: string;
|
|
6506
|
+
group: string;
|
|
6507
|
+
}, undefined, {
|
|
6508
|
+
size: {
|
|
6509
|
+
sm: {
|
|
6510
|
+
row: string;
|
|
6511
|
+
};
|
|
6512
|
+
md: {};
|
|
6513
|
+
};
|
|
6514
|
+
}, {
|
|
6515
|
+
root: string;
|
|
6516
|
+
item: string[];
|
|
6517
|
+
row: string[];
|
|
6518
|
+
chevron: string;
|
|
6519
|
+
spacer: string;
|
|
6520
|
+
icon: string;
|
|
6521
|
+
label: string;
|
|
6522
|
+
group: string;
|
|
6523
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
6524
|
+
size: {
|
|
6525
|
+
sm: {
|
|
6526
|
+
row: string;
|
|
6527
|
+
};
|
|
6528
|
+
md: {};
|
|
6529
|
+
};
|
|
6530
|
+
}, {
|
|
6531
|
+
root: string;
|
|
6532
|
+
item: string[];
|
|
6533
|
+
row: string[];
|
|
6534
|
+
chevron: string;
|
|
6535
|
+
spacer: string;
|
|
6536
|
+
icon: string;
|
|
6537
|
+
label: string;
|
|
6538
|
+
group: string;
|
|
6539
|
+
}>>;
|
|
6540
|
+
type TreeViewVariants = VariantProps<typeof treeViewStyles>;
|
|
6541
|
+
declare module '@glyphui/tokens' {
|
|
6542
|
+
interface GlyphComponentRegistry {
|
|
6543
|
+
TreeView: StylesEntry<typeof treeViewStyles>;
|
|
6544
|
+
}
|
|
6545
|
+
}
|
|
6546
|
+
//#endregion
|
|
6547
|
+
//#region src/components/tree-view/tree-view.d.ts
|
|
6548
|
+
interface TreeNode {
|
|
6549
|
+
id: string;
|
|
6550
|
+
label: ReactNode;
|
|
6551
|
+
icon?: ReactNode;
|
|
6552
|
+
children?: readonly TreeNode[];
|
|
6553
|
+
disabled?: boolean;
|
|
6554
|
+
/** Text used for type-to-find when `label` is not a string. */
|
|
6555
|
+
textValue?: string;
|
|
6556
|
+
}
|
|
6557
|
+
interface TreeViewProps extends Omit<ComponentProps<'div'>, 'onSelect' | 'children' | 'defaultValue'>, TreeViewVariants {
|
|
6558
|
+
nodes: readonly TreeNode[];
|
|
6559
|
+
/** Ids of expanded nodes (controlled). */
|
|
6560
|
+
expanded?: readonly string[];
|
|
6561
|
+
defaultExpanded?: readonly string[];
|
|
6562
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
6563
|
+
/** Id of the selected node (controlled). `null` for none. */
|
|
6564
|
+
selected?: string | null;
|
|
6565
|
+
defaultSelected?: string | null;
|
|
6566
|
+
onSelect?: (id: string, node: TreeNode) => void;
|
|
6567
|
+
/** Required: describes the tree, e.g. "Project files". */
|
|
6568
|
+
'aria-label': string;
|
|
6569
|
+
}
|
|
6570
|
+
/**
|
|
6571
|
+
* An accessible tree for file browsers and nested navigation. Arrow keys move and
|
|
6572
|
+
* expand/collapse, Home/End jump, typing a letter finds the next match, Enter or Space selects.
|
|
6573
|
+
*/
|
|
6574
|
+
export declare function TreeView(inProps: TreeViewProps): import("react").JSX.Element;
|
|
6575
|
+
//#endregion
|
|
6576
|
+
//#region src/components/visually-hidden/visually-hidden.d.ts
|
|
6577
|
+
/**
|
|
6578
|
+
* Hides content visually while keeping it available to screen readers, e.g. a label for an
|
|
6579
|
+
* icon-only control or extra context in a table cell.
|
|
6580
|
+
*/
|
|
6581
|
+
export declare function VisuallyHidden(props: ComponentProps<typeof VisuallyHidden$1.Root>): import("react").JSX.Element;
|
|
6582
|
+
//#endregion
|
|
4539
6583
|
//#region src/hooks/use-component-config.d.ts
|
|
4540
6584
|
type SlotsOf<K extends ComponentName> = GlyphComponentRegistry[K] extends {
|
|
4541
6585
|
slots: infer S extends string;
|
|
@@ -4802,4 +6846,4 @@ type PresetName = keyof typeof presets;
|
|
|
4802
6846
|
/** Joins class names and resolves Tailwind conflicts (last one wins). */
|
|
4803
6847
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
4804
6848
|
//#endregion
|
|
4805
|
-
export { type AccordionProps, type AccordionVariants, type AlertDialogActionProps, type AlertDialogContentProps, type AlertProps, type AlertVariants, type AppShellContextValue, type AppShellProps, type AspectRatioProps, type AsyncProps, type AsyncResult, type AsyncStatus, type AvatarProps, type AvatarVariants, type BadgeProps, type BadgeVariants, type BannerProps, type BannerVariants, type BlockquoteProps, type BreadcrumbItemData, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariants, type CardProps, type CardTitleProps, type CardVariants, type ClassValue, type CodeBlockProps, type CodeBlockVariants, type ColorMode, type ColorModeContextValue, type ColorModeOptions, type ColorModePreference, type ColorToken, type ComboboxOption, type ComboboxProps, type ComboboxVariants, type CommandItemProps, type CommandMenuProps, type ComponentOverrides, type ConfirmFn, type ConfirmOptions, type ContainerProps, type DescriptionItemProps, type DescriptionListProps, type DescriptionListVariants, type DialogContentProps, type DialogVariants, type DropdownMenuItemProps, type DropdownMenuSubTriggerProps, type DropdownMenuVariants, type ErrorStateProps, type EyebrowProps, type EyebrowVariants, Field, type FieldContextValue, type FieldProps, type FieldVariants, type GlyphContextValue, type GlyphProviderProps, type GridCols, type GridProps, type HeadingProps, type HeadingVariants, IconButton, type IconButtonProps, type InputProps, type InputVariants, type LinkComponent, type LinkComponentProps, type LinkProps, type LinkVariants, type LoadingStateProps, type NavLink, type NavbarProps, type PageHeaderProps, type PaginationItem, type PaginationProps, type PaginationVariants, type PopoverContentProps, type PresetName, type ProgressCircleProps, type ProgressCircleVariants, type ProgressProps, type ProgressVariants, type ProseProps, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupVariants, type RadiusToken, type ScrollAreaProps, type SectionProps, type SegmentedControlProps, type SegmentedOption, type SelectItemProps, type SelectProps, type ShadowToken, type SheetContentProps, type SheetVariants, type SidebarItemProps, type SidebarSectionProps, type SliderMark, type SliderProps, type SliderValue, type SliderVariants, type SlotClasses, type SpinnerProps, type SpinnerVariants, type StackProps, type StatCardProps, type StatCardVariants, type StateProps, type SwitchProps, type TabsProps, type TextProps, type TextToken, type TextVariants, type Theme, type ThemeInput, type ThemeScopeProps, type ToasterProps, type Tone, type TooltipProps, type VariantProps, buttonStyles, defineTheme, fieldStyles, themeToCss, toast, tokenVar, tv };
|
|
6849
|
+
export { type AccordionProps, type AccordionVariants, type AlertDialogActionProps, type AlertDialogContentProps, type AlertProps, type AlertVariants, type AppShellContextValue, type AppShellProps, type AspectRatioProps, type AsyncProps, type AsyncResult, type AsyncStatus, type AvatarProps, type AvatarVariants, type BadgeProps, type BadgeVariants, type BannerProps, type BannerVariants, type BlockquoteProps, type BreadcrumbItemData, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariants, type CalendarProps, type CardProps, type CardTitleProps, type CardVariants, type CarouselApi, type CarouselOptions, type CarouselPlugin, type CarouselProps, type CarouselVariants, type ClassValue, type CodeBlockProps, type CodeBlockVariants, type ColorMode, type ColorModeContextValue, type ColorModeOptions, type ColorModePreference, type ColorToken, type ComboboxOption, type ComboboxProps, type ComboboxVariants, type CommandItemProps, type CommandMenuProps, type ComponentOverrides, type ConfirmFn, type ConfirmOptions, type ContainerProps, type ContextMenuItemProps, type ContextMenuSubTriggerProps, type ContextMenuVariants, type CopyButtonProps, type DatePickerProps, type DatePickerVariants, type DateRange, type DateRangePickerProps, type DateRangePreset, type DescriptionItemProps, type DescriptionListProps, type DescriptionListVariants, type DialogContentProps, type DialogVariants, type DropdownMenuItemProps, type DropdownMenuSubTriggerProps, type DropdownMenuVariants, type ErrorStateProps, type EyebrowProps, type EyebrowVariants, Field, type FieldContextValue, type FieldProps, type FieldVariants, type FileItem, type FileRejection, type FileRejectionReason, type FileUploadProps, type GlyphContextValue, type GlyphProviderProps, type GridCols, type GridProps, type HeadingProps, type HeadingVariants, IconButton, type IconButtonProps, type InputOTPProps, type InputOTPSlotProps, type InputOTPVariants, type InputProps, type InputVariants, type LinkComponent, type LinkComponentProps, type LinkProps, type LinkVariants, type LoadingStateProps, type Matcher, type ModalProps, type NavLink, type NavbarProps, type NavigationMenuCardProps, type NavigationMenuLinkProps, type NavigationMenuProps, type NumberInputProps, type NumberInputVariants, type PageHeaderProps, type PaginationItem, type PaginationProps, type PaginationVariants, type PasswordInputProps, type PasswordStrength, type PopoverContentProps, type PresetName, type ProgressCircleProps, type ProgressCircleVariants, type ProgressProps, type ProgressVariants, type ProseProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupVariants, type RadiusToken, type ResizableHandleProps, type ResizablePanelGroupProps, type ResizablePanelProps, type ResizableVariants, type ScrollAreaProps, type SectionProps, type SegmentedControlProps, type SegmentedOption, type SelectItemProps, type SelectProps, type ShadowToken, type SheetContentProps, type SheetVariants, type SidebarItemProps, type SidebarSectionProps, type SliderMark, type SliderProps, type SliderValue, type SliderVariants, type SlotClasses, type SpinnerProps, type SpinnerVariants, type StackProps, type StatCardProps, type StatCardVariants, type StateProps, type StepStatus, type StepperProps, type StepperStep, type StepperVariants, type SwitchProps, type TabsProps, type TagInputProps, type TagInputVariants, type TextProps, type TextToken, type TextVariants, type Theme, type ThemeInput, type ThemeScopeProps, type TimelineItemData, type TimelineItemProps, type TimelineProps, type TimelineVariants, type ToasterProps, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleVariants, type Tone, type TooltipProps, type TreeNode, type TreeViewProps, type TreeViewVariants, type VariantProps, buttonStyles, defineTheme, fieldStyles, themeToCss, toast, tokenVar, tv };
|