@still-void/ui 3.5.1 → 3.6.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/CHANGELOG.md +65 -0
- package/README.md +36 -0
- package/dist/css/app-shell.css +129 -0
- package/dist/css/base.css +27 -0
- package/dist/css/content.css +726 -0
- package/dist/css/controls.css +383 -0
- package/dist/css/data.css +190 -0
- package/dist/css/forms.css +318 -0
- package/dist/css/motion.css +49 -0
- package/dist/css/overlays.css +488 -0
- package/dist/css/toast.css +170 -0
- package/dist/react/_modules/behaviors/themeManager.js +10 -0
- package/dist/react/_modules/behaviors/themeManager.js.map +1 -0
- package/dist/react/_modules/components/ui/alert.js +14 -0
- package/dist/react/_modules/components/ui/alert.js.map +1 -0
- package/dist/react/_modules/components/ui/badge.js +9 -0
- package/dist/react/_modules/components/ui/badge.js.map +1 -0
- package/dist/react/_modules/components/ui/button.js +9 -0
- package/dist/react/_modules/components/ui/button.js.map +1 -0
- package/dist/react/_modules/components/ui/card.js +19 -0
- package/dist/react/_modules/components/ui/card.js.map +1 -0
- package/dist/react/_modules/components/ui/chart.js +18 -0
- package/dist/react/_modules/components/ui/chart.js.map +1 -0
- package/dist/react/_modules/components/ui/checkbox.js +8 -0
- package/dist/react/_modules/components/ui/checkbox.js.map +1 -0
- package/dist/react/_modules/components/ui/field.js +9 -0
- package/dist/react/_modules/components/ui/field.js.map +1 -0
- package/dist/react/_modules/components/ui/file-input.js +10 -0
- package/dist/react/_modules/components/ui/file-input.js.map +1 -0
- package/dist/react/_modules/components/ui/icon-set.js +11 -0
- package/dist/react/_modules/components/ui/icon-set.js.map +1 -0
- package/dist/react/_modules/components/ui/icon.js +9 -0
- package/dist/react/_modules/components/ui/icon.js.map +1 -0
- package/dist/react/_modules/components/ui/input.js +10 -0
- package/dist/react/_modules/components/ui/input.js.map +1 -0
- package/dist/react/_modules/components/ui/native-select.js +10 -0
- package/dist/react/_modules/components/ui/native-select.js.map +1 -0
- package/dist/react/_modules/components/ui/pagination.js +23 -0
- package/dist/react/_modules/components/ui/pagination.js.map +1 -0
- package/dist/react/_modules/components/ui/progress.js +8 -0
- package/dist/react/_modules/components/ui/progress.js.map +1 -0
- package/dist/react/_modules/components/ui/radio-group.js +12 -0
- package/dist/react/_modules/components/ui/radio-group.js.map +1 -0
- package/dist/react/_modules/components/ui/separator.js +8 -0
- package/dist/react/_modules/components/ui/separator.js.map +1 -0
- package/dist/react/_modules/components/ui/slot.js +7 -0
- package/dist/react/_modules/components/ui/slot.js.map +1 -0
- package/dist/react/_modules/components/ui/table.js +23 -0
- package/dist/react/_modules/components/ui/table.js.map +1 -0
- package/dist/react/_modules/components/ui/text-link.js +10 -0
- package/dist/react/_modules/components/ui/text-link.js.map +1 -0
- package/dist/react/_modules/components/ui/textarea.js +10 -0
- package/dist/react/_modules/components/ui/textarea.js.map +1 -0
- package/dist/react/_modules/lib/safe-href.js +9 -0
- package/dist/react/_modules/lib/safe-href.js.map +1 -0
- package/dist/react/_modules/lib/utils.js +7 -0
- package/dist/react/_modules/lib/utils.js.map +1 -0
- package/dist/react/_modules/react/components/Article.js +17 -0
- package/dist/react/_modules/react/components/Article.js.map +1 -0
- package/dist/react/_modules/react/components/Content.js +30 -0
- package/dist/react/_modules/react/components/Content.js.map +1 -0
- package/dist/react/_modules/react/components/PageHeader.js +8 -0
- package/dist/react/_modules/react/components/PageHeader.js.map +1 -0
- package/dist/react/_modules/react/components/Shell.js +17 -0
- package/dist/react/_modules/react/components/Shell.js.map +1 -0
- package/dist/react/_modules/react/components/ThemeScript.js +9 -0
- package/dist/react/_modules/react/components/ThemeScript.js.map +1 -0
- package/dist/react/_modules/recipes/article.js +34 -0
- package/dist/react/_modules/recipes/article.js.map +1 -0
- package/dist/react/_modules/recipes/content.js +34 -0
- package/dist/react/_modules/recipes/content.js.map +1 -0
- package/dist/react/_modules/recipes/cx.js +7 -0
- package/dist/react/_modules/recipes/cx.js.map +1 -0
- package/dist/react/_modules/recipes/field.js +12 -0
- package/dist/react/_modules/recipes/field.js.map +1 -0
- package/dist/react/_modules/recipes/shell.js +18 -0
- package/dist/react/_modules/recipes/shell.js.map +1 -0
- package/dist/react/_modules/recipes/table.js +9 -0
- package/dist/react/_modules/recipes/table.js.map +1 -0
- package/dist/react/_modules/tokens/categories.js +12 -0
- package/dist/react/_modules/tokens/categories.js.map +1 -0
- package/dist/react/_modules/tokens/colors.js +23 -0
- package/dist/react/_modules/tokens/colors.js.map +1 -0
- package/dist/react/_modules/tokens/motion.js +9 -0
- package/dist/react/_modules/tokens/motion.js.map +1 -0
- package/dist/react/_modules/tokens/spacing.js +9 -0
- package/dist/react/_modules/tokens/spacing.js.map +1 -0
- package/dist/react/_modules/tokens/typography.js +15 -0
- package/dist/react/_modules/tokens/typography.js.map +1 -0
- package/dist/react/_modules/tokens/zIndex.js +7 -0
- package/dist/react/_modules/tokens/zIndex.js.map +1 -0
- package/dist/react/chunk-2QRW4J2C.js +29 -0
- package/dist/react/chunk-2QRW4J2C.js.map +1 -0
- package/dist/react/chunk-3BWBG3BR.js +82 -0
- package/dist/react/chunk-3BWBG3BR.js.map +1 -0
- package/dist/react/chunk-563PKHIJ.js +48 -0
- package/dist/react/chunk-563PKHIJ.js.map +1 -0
- package/dist/react/chunk-5RPXXOD7.js +50 -0
- package/dist/react/chunk-5RPXXOD7.js.map +1 -0
- package/dist/react/chunk-6PF2SFKH.js +54 -0
- package/dist/react/chunk-6PF2SFKH.js.map +1 -0
- package/dist/react/chunk-7JIE3YAY.js +109 -0
- package/dist/react/chunk-7JIE3YAY.js.map +1 -0
- package/dist/react/chunk-7ZVSFBDK.js +26 -0
- package/dist/react/chunk-7ZVSFBDK.js.map +1 -0
- package/dist/react/chunk-AVAJOAL5.js +10 -0
- package/dist/react/chunk-AVAJOAL5.js.map +1 -0
- package/dist/react/chunk-BXKXO6FU.js +34 -0
- package/dist/react/chunk-BXKXO6FU.js.map +1 -0
- package/dist/react/chunk-CN3PNEZL.js +80 -0
- package/dist/react/chunk-CN3PNEZL.js.map +1 -0
- package/dist/react/chunk-EHJDOUXR.js +144 -0
- package/dist/react/chunk-EHJDOUXR.js.map +1 -0
- package/dist/react/chunk-FX2E23UV.js +28 -0
- package/dist/react/chunk-FX2E23UV.js.map +1 -0
- package/dist/react/chunk-GYGMM6RW.js +20 -0
- package/dist/react/chunk-GYGMM6RW.js.map +1 -0
- package/dist/react/chunk-H7DEOO3V.js +29 -0
- package/dist/react/chunk-H7DEOO3V.js.map +1 -0
- package/dist/react/chunk-HD7O5FNH.js +39 -0
- package/dist/react/chunk-HD7O5FNH.js.map +1 -0
- package/dist/react/chunk-HYLCMS2U.js +28 -0
- package/dist/react/chunk-HYLCMS2U.js.map +1 -0
- package/dist/react/chunk-HYXG2WF4.js +73 -0
- package/dist/react/chunk-HYXG2WF4.js.map +1 -0
- package/dist/react/chunk-KQK7SZ3K.js +52 -0
- package/dist/react/chunk-KQK7SZ3K.js.map +1 -0
- package/dist/react/chunk-KQZBK3XX.js +24 -0
- package/dist/react/chunk-KQZBK3XX.js.map +1 -0
- package/dist/react/chunk-L6WPFLSD.js +39 -0
- package/dist/react/chunk-L6WPFLSD.js.map +1 -0
- package/dist/react/chunk-LOVNG6RF.js +9 -0
- package/dist/react/chunk-LOVNG6RF.js.map +1 -0
- package/dist/react/chunk-M5FFVQKK.js +41 -0
- package/dist/react/chunk-M5FFVQKK.js.map +1 -0
- package/dist/react/chunk-MZEFPODP.js +77 -0
- package/dist/react/chunk-MZEFPODP.js.map +1 -0
- package/dist/react/chunk-NJQN37EG.js +37 -0
- package/dist/react/chunk-NJQN37EG.js.map +1 -0
- package/dist/react/chunk-OEFJMV7G.js +144 -0
- package/dist/react/chunk-OEFJMV7G.js.map +1 -0
- package/dist/react/chunk-P4M4LEI2.js +62 -0
- package/dist/react/chunk-P4M4LEI2.js.map +1 -0
- package/dist/react/chunk-PGDHKADW.js +60 -0
- package/dist/react/chunk-PGDHKADW.js.map +1 -0
- package/dist/react/chunk-QTVPXQ43.js +29 -0
- package/dist/react/chunk-QTVPXQ43.js.map +1 -0
- package/dist/react/chunk-QVOZHMVF.js +14 -0
- package/dist/react/chunk-QVOZHMVF.js.map +1 -0
- package/dist/react/chunk-SJ2YK4NJ.js +27 -0
- package/dist/react/chunk-SJ2YK4NJ.js.map +1 -0
- package/dist/react/chunk-SSMGCYPH.js +79 -0
- package/dist/react/chunk-SSMGCYPH.js.map +1 -0
- package/dist/react/chunk-SUT4G3TE.js +29 -0
- package/dist/react/chunk-SUT4G3TE.js.map +1 -0
- package/dist/react/chunk-SVLIJGBZ.js +14 -0
- package/dist/react/chunk-SVLIJGBZ.js.map +1 -0
- package/dist/react/chunk-SY7EEIC3.js +100 -0
- package/dist/react/chunk-SY7EEIC3.js.map +1 -0
- package/dist/react/chunk-TI3OPDCN.js +25 -0
- package/dist/react/chunk-TI3OPDCN.js.map +1 -0
- package/dist/react/chunk-U6L6J73Y.js +27 -0
- package/dist/react/chunk-U6L6J73Y.js.map +1 -0
- package/dist/react/chunk-VD5O66DN.js +54 -0
- package/dist/react/chunk-VD5O66DN.js.map +1 -0
- package/dist/react/chunk-YDGOXO6Q.js +74 -0
- package/dist/react/chunk-YDGOXO6Q.js.map +1 -0
- package/dist/react/chunk-YTTFCX3E.js +16 -0
- package/dist/react/chunk-YTTFCX3E.js.map +1 -0
- package/dist/react/chunk-YXV3UEL5.js +27 -0
- package/dist/react/chunk-YXV3UEL5.js.map +1 -0
- package/dist/react/client/_modules/behaviors/clipboard.js +8 -0
- package/dist/react/client/_modules/behaviors/clipboard.js.map +1 -0
- package/dist/react/client/_modules/behaviors/mediaQuery.js +8 -0
- package/dist/react/client/_modules/behaviors/mediaQuery.js.map +1 -0
- package/dist/react/client/_modules/behaviors/readingProgress.js +10 -0
- package/dist/react/client/_modules/behaviors/readingProgress.js.map +1 -0
- package/dist/react/client/_modules/behaviors/scrollSpy.js +8 -0
- package/dist/react/client/_modules/behaviors/scrollSpy.js.map +1 -0
- package/dist/react/client/_modules/behaviors/themeManager.js +11 -0
- package/dist/react/client/_modules/behaviors/themeManager.js.map +1 -0
- package/dist/react/client/_modules/components/ui/alert-dialog.js +30 -0
- package/dist/react/client/_modules/components/ui/alert-dialog.js.map +1 -0
- package/dist/react/client/_modules/components/ui/bottom-sheet.js +28 -0
- package/dist/react/client/_modules/components/ui/bottom-sheet.js.map +1 -0
- package/dist/react/client/_modules/components/ui/combobox.js +13 -0
- package/dist/react/client/_modules/components/ui/combobox.js.map +1 -0
- package/dist/react/client/_modules/components/ui/dialog.js +30 -0
- package/dist/react/client/_modules/components/ui/dialog.js.map +1 -0
- package/dist/react/client/_modules/components/ui/dropdown-menu.js +39 -0
- package/dist/react/client/_modules/components/ui/dropdown-menu.js.map +1 -0
- package/dist/react/client/_modules/components/ui/icon-set.js +12 -0
- package/dist/react/client/_modules/components/ui/icon-set.js.map +1 -0
- package/dist/react/client/_modules/components/ui/icon.js +10 -0
- package/dist/react/client/_modules/components/ui/icon.js.map +1 -0
- package/dist/react/client/_modules/components/ui/restore-focus.js +8 -0
- package/dist/react/client/_modules/components/ui/restore-focus.js.map +1 -0
- package/dist/react/client/_modules/components/ui/select.js +29 -0
- package/dist/react/client/_modules/components/ui/select.js.map +1 -0
- package/dist/react/client/_modules/components/ui/tabs.js +15 -0
- package/dist/react/client/_modules/components/ui/tabs.js.map +1 -0
- package/dist/react/client/_modules/components/ui/tooltip.js +15 -0
- package/dist/react/client/_modules/components/ui/tooltip.js.map +1 -0
- package/dist/react/client/_modules/lib/utils.js +8 -0
- package/dist/react/client/_modules/lib/utils.js.map +1 -0
- package/dist/react/client/_modules/react/client/CopyButton.js +11 -0
- package/dist/react/client/_modules/react/client/CopyButton.js.map +1 -0
- package/dist/react/client/_modules/react/client/ReadingProgress.js +14 -0
- package/dist/react/client/_modules/react/client/ReadingProgress.js.map +1 -0
- package/dist/react/client/_modules/react/client/SidebarProvider.js +26 -0
- package/dist/react/client/_modules/react/client/SidebarProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/TableOfContents.js +14 -0
- package/dist/react/client/_modules/react/client/TableOfContents.js.map +1 -0
- package/dist/react/client/_modules/react/client/ThemeProvider.js +12 -0
- package/dist/react/client/_modules/react/client/ThemeProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/ThemeToggle.js +14 -0
- package/dist/react/client/_modules/react/client/ThemeToggle.js.map +1 -0
- package/dist/react/client/_modules/react/client/ToastProvider.js +14 -0
- package/dist/react/client/_modules/react/client/ToastProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/hooks.js +17 -0
- package/dist/react/client/_modules/react/client/hooks.js.map +1 -0
- package/dist/react/client/_modules/react/client/shadcn.js +160 -0
- package/dist/react/client/_modules/react/client/shadcn.js.map +1 -0
- package/dist/react/client/_modules/recipes/article.js +35 -0
- package/dist/react/client/_modules/recipes/article.js.map +1 -0
- package/dist/react/client/_modules/recipes/cx.js +8 -0
- package/dist/react/client/_modules/recipes/cx.js.map +1 -0
- package/dist/react/client/_modules/recipes/field.js +13 -0
- package/dist/react/client/_modules/recipes/field.js.map +1 -0
- package/dist/react/client/_modules/tokens/colors.js +24 -0
- package/dist/react/client/_modules/tokens/colors.js.map +1 -0
- package/dist/react/client/chunk-3MVZ2ES4.js +83 -0
- package/dist/react/client/chunk-3MVZ2ES4.js.map +1 -0
- package/dist/react/client/chunk-7AU2DPOL.js +35 -0
- package/dist/react/client/chunk-7AU2DPOL.js.map +1 -0
- package/dist/react/client/chunk-ABWCVXOO.js +11 -0
- package/dist/react/client/chunk-ABWCVXOO.js.map +1 -0
- package/dist/react/client/chunk-AEXJWMUV.js +52 -0
- package/dist/react/client/chunk-AEXJWMUV.js.map +1 -0
- package/dist/react/client/chunk-CJQZ4BGO.js +125 -0
- package/dist/react/client/chunk-CJQZ4BGO.js.map +1 -0
- package/dist/react/client/chunk-CMMPIPNC.js +30 -0
- package/dist/react/client/chunk-CMMPIPNC.js.map +1 -0
- package/dist/react/client/chunk-CWA3N5RK.js +123 -0
- package/dist/react/client/chunk-CWA3N5RK.js.map +1 -0
- package/dist/react/client/chunk-ECOPTUZT.js +102 -0
- package/dist/react/client/chunk-ECOPTUZT.js.map +1 -0
- package/dist/react/client/chunk-GD7XJWKF.js +102 -0
- package/dist/react/client/chunk-GD7XJWKF.js.map +1 -0
- package/dist/react/client/chunk-JVVNV4DF.js +95 -0
- package/dist/react/client/chunk-JVVNV4DF.js.map +1 -0
- package/dist/react/client/chunk-LDOUB5IA.js +40 -0
- package/dist/react/client/chunk-LDOUB5IA.js.map +1 -0
- package/dist/react/client/chunk-M5QFSQYC.js +40 -0
- package/dist/react/client/chunk-M5QFSQYC.js.map +1 -0
- package/dist/react/client/chunk-MGR4F2BJ.js +67 -0
- package/dist/react/client/chunk-MGR4F2BJ.js.map +1 -0
- package/dist/react/client/chunk-MYTOL2RH.js +61 -0
- package/dist/react/client/chunk-MYTOL2RH.js.map +1 -0
- package/dist/react/client/chunk-N64GC5ZU.js +12 -0
- package/dist/react/client/chunk-N64GC5ZU.js.map +1 -0
- package/dist/react/client/chunk-NEAL74VV.js +130 -0
- package/dist/react/client/chunk-NEAL74VV.js.map +1 -0
- package/dist/react/client/chunk-OF6BMW2X.js +30 -0
- package/dist/react/client/chunk-OF6BMW2X.js.map +1 -0
- package/dist/react/client/chunk-OILITPDP.js +72 -0
- package/dist/react/client/chunk-OILITPDP.js.map +1 -0
- package/dist/react/client/chunk-OU4ACOFA.js +75 -0
- package/dist/react/client/chunk-OU4ACOFA.js.map +1 -0
- package/dist/react/client/chunk-OVMH25G3.js +23 -0
- package/dist/react/client/chunk-OVMH25G3.js.map +1 -0
- package/dist/react/client/chunk-P2UPL6Y3.js +205 -0
- package/dist/react/client/chunk-P2UPL6Y3.js.map +1 -0
- package/dist/react/client/chunk-PAOYY55O.js +41 -0
- package/dist/react/client/chunk-PAOYY55O.js.map +1 -0
- package/dist/react/client/chunk-PYG5NCEU.js +54 -0
- package/dist/react/client/chunk-PYG5NCEU.js.map +1 -0
- package/dist/react/client/chunk-RCZS37V5.js +239 -0
- package/dist/react/client/chunk-RCZS37V5.js.map +1 -0
- package/dist/react/client/chunk-RJFN4KXE.js +36 -0
- package/dist/react/client/chunk-RJFN4KXE.js.map +1 -0
- package/dist/react/client/chunk-RNMQZ6T2.js +62 -0
- package/dist/react/client/chunk-RNMQZ6T2.js.map +1 -0
- package/dist/react/client/chunk-TXL2US4Z.js +53 -0
- package/dist/react/client/chunk-TXL2US4Z.js.map +1 -0
- package/dist/react/client/chunk-U6FMZ32G.js +192 -0
- package/dist/react/client/chunk-U6FMZ32G.js.map +1 -0
- package/dist/react/client/chunk-WR7KQGBM.js +2 -0
- package/dist/react/client/chunk-WR7KQGBM.js.map +1 -0
- package/dist/react/client/chunk-XHL4YEVA.js +17 -0
- package/dist/react/client/chunk-XHL4YEVA.js.map +1 -0
- package/dist/react/client/index.cjs +400 -81
- package/dist/react/client/index.cjs.map +1 -1
- package/dist/react/client/index.d.cts +86 -5
- package/dist/react/client/index.d.ts +86 -5
- package/dist/react/client/index.js +141 -1426
- package/dist/react/client/index.js.map +1 -1
- package/dist/react/index.cjs +368 -183
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +202 -23
- package/dist/react/index.d.ts +202 -23
- package/dist/react/index.js +206 -1231
- package/dist/react/index.js.map +1 -1
- package/dist/shadcn-overrides.css +27 -13
- package/dist/style.css +301 -19
- package/dist/theme.css +73 -24
- package/package.json +36 -6
|
@@ -70,10 +70,30 @@ interface ThemeProviderProps {
|
|
|
70
70
|
declare function ThemeProvider({ children, defaultMode, defaultAccent, storageKey, }: ThemeProviderProps): React.JSX.Element;
|
|
71
71
|
declare function useTheme(): ThemeContextValue;
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Every string ThemeToggle renders. Defaults are the pre-3.6 English text;
|
|
75
|
+
* pass translations (a plain object, so it works from a Server Component).
|
|
76
|
+
*/
|
|
77
|
+
interface ThemeToggleLabels {
|
|
78
|
+
/** Visible text while the current theme is dark. Default `"Light"`. */
|
|
79
|
+
light?: string;
|
|
80
|
+
/** Visible text while the current theme is light. Default `"Dark"`. */
|
|
81
|
+
dark?: string;
|
|
82
|
+
/** Accessible name while dark. Default `"Switch to light theme"`. */
|
|
83
|
+
switchToLight?: string;
|
|
84
|
+
/** Accessible name while light. Default `"Switch to dark theme"`. */
|
|
85
|
+
switchToDark?: string;
|
|
86
|
+
}
|
|
87
|
+
declare const defaultThemeToggleLabels: Required<ThemeToggleLabels>;
|
|
73
88
|
interface ThemeToggleProps extends ComponentPropsWithoutRef<'button'> {
|
|
89
|
+
labels?: ThemeToggleLabels;
|
|
74
90
|
}
|
|
75
|
-
/**
|
|
76
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Dark/light toggle. Compose into <Header actions={...} />. A consumer
|
|
93
|
+
* `onClick` runs before the toggle (call `event.preventDefault()` to skip it),
|
|
94
|
+
* so persisting the choice elsewhere no longer means re-implementing this.
|
|
95
|
+
*/
|
|
96
|
+
declare function ThemeToggle({ className, labels, onClick, children, ...rest }: ThemeToggleProps): React.JSX.Element;
|
|
77
97
|
|
|
78
98
|
interface CopyButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
79
99
|
/** Text copied to the clipboard. */
|
|
@@ -94,9 +114,11 @@ interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
94
114
|
items: TocItem[];
|
|
95
115
|
/** IntersectionObserver rootMargin override. */
|
|
96
116
|
rootMargin?: string;
|
|
117
|
+
/** Accessible name of the `<nav>`. Defaults to `"Table of contents"`. */
|
|
118
|
+
label?: string;
|
|
97
119
|
}
|
|
98
120
|
/** Article table of contents with scroll-spy active state. */
|
|
99
|
-
declare function TableOfContents({ items, rootMargin, className, ...rest }: TableOfContentsProps): React.JSX.Element;
|
|
121
|
+
declare function TableOfContents({ items, rootMargin, label, className, ...rest }: TableOfContentsProps): React.JSX.Element;
|
|
100
122
|
|
|
101
123
|
interface ReadingProgressProps extends ComponentPropsWithoutRef<'div'> {
|
|
102
124
|
/** Element whose scroll extent defines 100%. Defaults to the document. */
|
|
@@ -109,13 +131,15 @@ interface ReadingProgressProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
109
131
|
* readers with `aria-valuenow` updates.
|
|
110
132
|
*/
|
|
111
133
|
announce?: boolean;
|
|
134
|
+
/** Accessible name when `announce` is on. Defaults to `"Reading progress"`. */
|
|
135
|
+
label?: string;
|
|
112
136
|
}
|
|
113
137
|
/**
|
|
114
138
|
* Fixed top progress bar. Motion is linear by spec. The fill is driven by
|
|
115
139
|
* the `--sv-reading-progress` CSS var (see style.css), not React state, so
|
|
116
140
|
* scrolling doesn't re-render this component on every frame.
|
|
117
141
|
*/
|
|
118
|
-
declare function ReadingProgress$1({ target, announce, className, ...rest }: ReadingProgressProps): React.JSX.Element;
|
|
142
|
+
declare function ReadingProgress$1({ target, announce, label, className, ...rest }: ReadingProgressProps): React.JSX.Element;
|
|
119
143
|
|
|
120
144
|
/** Reports which heading id is currently active while scrolling. */
|
|
121
145
|
declare function useScrollSpy(ids: readonly string[], rootMargin?: string): string | null;
|
|
@@ -230,7 +254,10 @@ declare function useSidebar(): SidebarContextValue;
|
|
|
230
254
|
* drawer in portal below breakpoint.
|
|
231
255
|
*/
|
|
232
256
|
interface SidebarPanelProps extends ComponentPropsWithoutRef<'aside'> {
|
|
257
|
+
/** Accessible title of the mobile drawer. Defaults to `"Navigation"`. */
|
|
233
258
|
title?: string;
|
|
259
|
+
/** Accessible name of the drawer's close button. Defaults to `"Close sidebar"`. */
|
|
260
|
+
closeLabel?: string;
|
|
234
261
|
}
|
|
235
262
|
declare const SidebarPanel: React.ForwardRefExoticComponent<SidebarPanelProps & React.RefAttributes<HTMLElement>>;
|
|
236
263
|
/**
|
|
@@ -239,6 +266,7 @@ declare const SidebarPanel: React.ForwardRefExoticComponent<SidebarPanelProps &
|
|
|
239
266
|
* aria-expanded and aria-controls are derived and override props.
|
|
240
267
|
*/
|
|
241
268
|
interface SidebarTriggerProps extends ComponentPropsWithoutRef<'button'> {
|
|
269
|
+
/** Accessible name. Defaults to `"Toggle sidebar"`. */
|
|
242
270
|
label?: string;
|
|
243
271
|
}
|
|
244
272
|
declare const SidebarTrigger: React.ForwardRefExoticComponent<SidebarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -413,6 +441,59 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
|
413
441
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
414
442
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
415
443
|
|
|
444
|
+
interface ComboboxOption {
|
|
445
|
+
value: string;
|
|
446
|
+
label: string;
|
|
447
|
+
/** Secondary line under the label (e-mail, phone…). */
|
|
448
|
+
description?: string;
|
|
449
|
+
disabled?: boolean;
|
|
450
|
+
}
|
|
451
|
+
interface ComboboxLabels {
|
|
452
|
+
/** Shown while `onSearch` is pending. */
|
|
453
|
+
loading: string;
|
|
454
|
+
/** Shown when a search returns no options. */
|
|
455
|
+
empty: string;
|
|
456
|
+
/** Shown while the term is shorter than `minLength`. */
|
|
457
|
+
minLength: (min: number) => string;
|
|
458
|
+
/** Shown when `onSearch` rejects. */
|
|
459
|
+
error: string;
|
|
460
|
+
/** Announced to screen readers when options arrive. */
|
|
461
|
+
results: (count: number) => string;
|
|
462
|
+
}
|
|
463
|
+
declare const defaultComboboxLabels: ComboboxLabels;
|
|
464
|
+
interface ComboboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onSelect" | "type" | "role"> {
|
|
465
|
+
/**
|
|
466
|
+
* Returns the options for a term. Called after `debounceMs` of quiet typing,
|
|
467
|
+
* once the term has `minLength` characters. The `signal` aborts when a newer
|
|
468
|
+
* search starts or the component unmounts — pass it to `fetch`.
|
|
469
|
+
*/
|
|
470
|
+
onSearch: (term: string, context: {
|
|
471
|
+
signal: AbortSignal;
|
|
472
|
+
}) => Promise<ComboboxOption[]> | ComboboxOption[];
|
|
473
|
+
/** Called with the picked option, or `null` when the user edits the text after picking. */
|
|
474
|
+
onSelect?: (option: ComboboxOption | null) => void;
|
|
475
|
+
/** Controlled selection. */
|
|
476
|
+
value?: ComboboxOption | null;
|
|
477
|
+
/** Initial selection when uncontrolled. */
|
|
478
|
+
defaultValue?: ComboboxOption | null;
|
|
479
|
+
/** Characters needed before searching. Default 1. */
|
|
480
|
+
minLength?: number;
|
|
481
|
+
/** Quiet time before a search, in ms. Default 250. */
|
|
482
|
+
debounceMs?: number;
|
|
483
|
+
/** Translatable status texts (defaults in English). */
|
|
484
|
+
labels?: Partial<ComboboxLabels>;
|
|
485
|
+
/** Class for the wrapper; `className` goes on the input. */
|
|
486
|
+
wrapperClassName?: string;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Text field with an asynchronous list of options (ARIA 1.2 combobox with a
|
|
490
|
+
* listbox popup). For lists too long to load up front — e.g. picking one
|
|
491
|
+
* patient out of thousands — where `Select`/`NativeSelect` need every option
|
|
492
|
+
* in memory. Keyboard: ↓/↑ move, Enter picks, Escape closes (and clears on a
|
|
493
|
+
* second press). With `name`, a hidden input submits the picked `value`.
|
|
494
|
+
*/
|
|
495
|
+
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
496
|
+
|
|
416
497
|
interface ThemeState {
|
|
417
498
|
mode: ThemeMode;
|
|
418
499
|
accent: AccentName;
|
|
@@ -504,4 +585,4 @@ declare function createReadingProgress(options?: ReadingProgressOptions): Readin
|
|
|
504
585
|
/** Copy text to the clipboard. Returns false when the Clipboard API is unavailable or denied. */
|
|
505
586
|
declare function copyToClipboard(text: string): Promise<boolean>;
|
|
506
587
|
|
|
507
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
|
|
588
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, Combobox, type ComboboxLabels, type ComboboxOption, type ComboboxProps, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleLabels, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, defaultComboboxLabels, defaultThemeToggleLabels, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
|
|
@@ -70,10 +70,30 @@ interface ThemeProviderProps {
|
|
|
70
70
|
declare function ThemeProvider({ children, defaultMode, defaultAccent, storageKey, }: ThemeProviderProps): React.JSX.Element;
|
|
71
71
|
declare function useTheme(): ThemeContextValue;
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Every string ThemeToggle renders. Defaults are the pre-3.6 English text;
|
|
75
|
+
* pass translations (a plain object, so it works from a Server Component).
|
|
76
|
+
*/
|
|
77
|
+
interface ThemeToggleLabels {
|
|
78
|
+
/** Visible text while the current theme is dark. Default `"Light"`. */
|
|
79
|
+
light?: string;
|
|
80
|
+
/** Visible text while the current theme is light. Default `"Dark"`. */
|
|
81
|
+
dark?: string;
|
|
82
|
+
/** Accessible name while dark. Default `"Switch to light theme"`. */
|
|
83
|
+
switchToLight?: string;
|
|
84
|
+
/** Accessible name while light. Default `"Switch to dark theme"`. */
|
|
85
|
+
switchToDark?: string;
|
|
86
|
+
}
|
|
87
|
+
declare const defaultThemeToggleLabels: Required<ThemeToggleLabels>;
|
|
73
88
|
interface ThemeToggleProps extends ComponentPropsWithoutRef<'button'> {
|
|
89
|
+
labels?: ThemeToggleLabels;
|
|
74
90
|
}
|
|
75
|
-
/**
|
|
76
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Dark/light toggle. Compose into <Header actions={...} />. A consumer
|
|
93
|
+
* `onClick` runs before the toggle (call `event.preventDefault()` to skip it),
|
|
94
|
+
* so persisting the choice elsewhere no longer means re-implementing this.
|
|
95
|
+
*/
|
|
96
|
+
declare function ThemeToggle({ className, labels, onClick, children, ...rest }: ThemeToggleProps): React.JSX.Element;
|
|
77
97
|
|
|
78
98
|
interface CopyButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
79
99
|
/** Text copied to the clipboard. */
|
|
@@ -94,9 +114,11 @@ interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
94
114
|
items: TocItem[];
|
|
95
115
|
/** IntersectionObserver rootMargin override. */
|
|
96
116
|
rootMargin?: string;
|
|
117
|
+
/** Accessible name of the `<nav>`. Defaults to `"Table of contents"`. */
|
|
118
|
+
label?: string;
|
|
97
119
|
}
|
|
98
120
|
/** Article table of contents with scroll-spy active state. */
|
|
99
|
-
declare function TableOfContents({ items, rootMargin, className, ...rest }: TableOfContentsProps): React.JSX.Element;
|
|
121
|
+
declare function TableOfContents({ items, rootMargin, label, className, ...rest }: TableOfContentsProps): React.JSX.Element;
|
|
100
122
|
|
|
101
123
|
interface ReadingProgressProps extends ComponentPropsWithoutRef<'div'> {
|
|
102
124
|
/** Element whose scroll extent defines 100%. Defaults to the document. */
|
|
@@ -109,13 +131,15 @@ interface ReadingProgressProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
109
131
|
* readers with `aria-valuenow` updates.
|
|
110
132
|
*/
|
|
111
133
|
announce?: boolean;
|
|
134
|
+
/** Accessible name when `announce` is on. Defaults to `"Reading progress"`. */
|
|
135
|
+
label?: string;
|
|
112
136
|
}
|
|
113
137
|
/**
|
|
114
138
|
* Fixed top progress bar. Motion is linear by spec. The fill is driven by
|
|
115
139
|
* the `--sv-reading-progress` CSS var (see style.css), not React state, so
|
|
116
140
|
* scrolling doesn't re-render this component on every frame.
|
|
117
141
|
*/
|
|
118
|
-
declare function ReadingProgress$1({ target, announce, className, ...rest }: ReadingProgressProps): React.JSX.Element;
|
|
142
|
+
declare function ReadingProgress$1({ target, announce, label, className, ...rest }: ReadingProgressProps): React.JSX.Element;
|
|
119
143
|
|
|
120
144
|
/** Reports which heading id is currently active while scrolling. */
|
|
121
145
|
declare function useScrollSpy(ids: readonly string[], rootMargin?: string): string | null;
|
|
@@ -230,7 +254,10 @@ declare function useSidebar(): SidebarContextValue;
|
|
|
230
254
|
* drawer in portal below breakpoint.
|
|
231
255
|
*/
|
|
232
256
|
interface SidebarPanelProps extends ComponentPropsWithoutRef<'aside'> {
|
|
257
|
+
/** Accessible title of the mobile drawer. Defaults to `"Navigation"`. */
|
|
233
258
|
title?: string;
|
|
259
|
+
/** Accessible name of the drawer's close button. Defaults to `"Close sidebar"`. */
|
|
260
|
+
closeLabel?: string;
|
|
234
261
|
}
|
|
235
262
|
declare const SidebarPanel: React.ForwardRefExoticComponent<SidebarPanelProps & React.RefAttributes<HTMLElement>>;
|
|
236
263
|
/**
|
|
@@ -239,6 +266,7 @@ declare const SidebarPanel: React.ForwardRefExoticComponent<SidebarPanelProps &
|
|
|
239
266
|
* aria-expanded and aria-controls are derived and override props.
|
|
240
267
|
*/
|
|
241
268
|
interface SidebarTriggerProps extends ComponentPropsWithoutRef<'button'> {
|
|
269
|
+
/** Accessible name. Defaults to `"Toggle sidebar"`. */
|
|
242
270
|
label?: string;
|
|
243
271
|
}
|
|
244
272
|
declare const SidebarTrigger: React.ForwardRefExoticComponent<SidebarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -413,6 +441,59 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
|
413
441
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
414
442
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
415
443
|
|
|
444
|
+
interface ComboboxOption {
|
|
445
|
+
value: string;
|
|
446
|
+
label: string;
|
|
447
|
+
/** Secondary line under the label (e-mail, phone…). */
|
|
448
|
+
description?: string;
|
|
449
|
+
disabled?: boolean;
|
|
450
|
+
}
|
|
451
|
+
interface ComboboxLabels {
|
|
452
|
+
/** Shown while `onSearch` is pending. */
|
|
453
|
+
loading: string;
|
|
454
|
+
/** Shown when a search returns no options. */
|
|
455
|
+
empty: string;
|
|
456
|
+
/** Shown while the term is shorter than `minLength`. */
|
|
457
|
+
minLength: (min: number) => string;
|
|
458
|
+
/** Shown when `onSearch` rejects. */
|
|
459
|
+
error: string;
|
|
460
|
+
/** Announced to screen readers when options arrive. */
|
|
461
|
+
results: (count: number) => string;
|
|
462
|
+
}
|
|
463
|
+
declare const defaultComboboxLabels: ComboboxLabels;
|
|
464
|
+
interface ComboboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onSelect" | "type" | "role"> {
|
|
465
|
+
/**
|
|
466
|
+
* Returns the options for a term. Called after `debounceMs` of quiet typing,
|
|
467
|
+
* once the term has `minLength` characters. The `signal` aborts when a newer
|
|
468
|
+
* search starts or the component unmounts — pass it to `fetch`.
|
|
469
|
+
*/
|
|
470
|
+
onSearch: (term: string, context: {
|
|
471
|
+
signal: AbortSignal;
|
|
472
|
+
}) => Promise<ComboboxOption[]> | ComboboxOption[];
|
|
473
|
+
/** Called with the picked option, or `null` when the user edits the text after picking. */
|
|
474
|
+
onSelect?: (option: ComboboxOption | null) => void;
|
|
475
|
+
/** Controlled selection. */
|
|
476
|
+
value?: ComboboxOption | null;
|
|
477
|
+
/** Initial selection when uncontrolled. */
|
|
478
|
+
defaultValue?: ComboboxOption | null;
|
|
479
|
+
/** Characters needed before searching. Default 1. */
|
|
480
|
+
minLength?: number;
|
|
481
|
+
/** Quiet time before a search, in ms. Default 250. */
|
|
482
|
+
debounceMs?: number;
|
|
483
|
+
/** Translatable status texts (defaults in English). */
|
|
484
|
+
labels?: Partial<ComboboxLabels>;
|
|
485
|
+
/** Class for the wrapper; `className` goes on the input. */
|
|
486
|
+
wrapperClassName?: string;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Text field with an asynchronous list of options (ARIA 1.2 combobox with a
|
|
490
|
+
* listbox popup). For lists too long to load up front — e.g. picking one
|
|
491
|
+
* patient out of thousands — where `Select`/`NativeSelect` need every option
|
|
492
|
+
* in memory. Keyboard: ↓/↑ move, Enter picks, Escape closes (and clears on a
|
|
493
|
+
* second press). With `name`, a hidden input submits the picked `value`.
|
|
494
|
+
*/
|
|
495
|
+
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
496
|
+
|
|
416
497
|
interface ThemeState {
|
|
417
498
|
mode: ThemeMode;
|
|
418
499
|
accent: AccentName;
|
|
@@ -504,4 +585,4 @@ declare function createReadingProgress(options?: ReadingProgressOptions): Readin
|
|
|
504
585
|
/** Copy text to the clipboard. Returns false when the Clipboard API is unavailable or denied. */
|
|
505
586
|
declare function copyToClipboard(text: string): Promise<boolean>;
|
|
506
587
|
|
|
507
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
|
|
588
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, Combobox, type ComboboxLabels, type ComboboxOption, type ComboboxProps, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleLabels, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, defaultComboboxLabels, defaultThemeToggleLabels, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
|