@psnext/design-system 2.5.0 → 2.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/DESIGN.md +5 -0
- package/SKILL.md +1 -1
- package/dist/Header.cjs +2 -2
- package/dist/Header.js +2 -2
- package/dist/index.cjs +12 -2
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -3
- package/dist/index10.d.cts +7 -7
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +6 -6
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index13.d.ts.map +1 -1
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +2 -2
- package/dist/index15.d.ts +2 -2
- package/dist/index16.d.cts +3 -3
- package/dist/index16.d.ts +3 -3
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.cts +2 -2
- package/dist/index17.d.ts +2 -2
- package/dist/index18.d.cts +4 -4
- package/dist/index18.d.ts +4 -4
- package/dist/index19.d.cts +11 -11
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +11 -11
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.ts +8 -8
- package/dist/index20.d.cts +10 -10
- package/dist/index20.d.ts +10 -10
- package/dist/index21.d.cts +30 -81
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +30 -81
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +109 -27
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +109 -27
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +75 -53
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +75 -53
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +28 -93
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +28 -93
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +58 -33
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +58 -33
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +93 -11
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +93 -11
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +32 -63
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +32 -63
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +11 -48
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +11 -48
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +68 -59
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +68 -59
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.ts +13 -13
- package/dist/index30.d.cts +47 -30
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +47 -30
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +63 -17
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +63 -17
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +29 -80
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +29 -80
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +19 -34
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +19 -34
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +80 -18
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +80 -18
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +32 -51
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +32 -51
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +19 -36
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +19 -36
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +43 -61
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +43 -61
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +35 -11
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +35 -11
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +68 -20
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +66 -18
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index40.d.cts +14 -15
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +14 -15
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +22 -98
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +22 -98
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +15 -120
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +15 -120
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +99 -16
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +99 -16
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +118 -49
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +118 -49
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +16 -39
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +16 -39
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +37 -77
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +37 -77
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +96 -1
- package/dist/index47.d.cts.map +1 -0
- package/dist/index47.d.ts +96 -1
- package/dist/index47.d.ts.map +1 -0
- package/dist/index48.d.cts +1 -127
- package/dist/index48.d.ts +1 -127
- package/dist/index49.d.cts +121 -42
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +121 -42
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +42 -22
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +42 -22
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +21 -34
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +21 -34
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +33 -17
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +33 -17
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +18 -14
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +18 -14
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +12 -60
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +12 -60
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +51 -80
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +51 -80
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +91 -24
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +91 -24
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +25 -203
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +25 -203
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +198 -15
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +198 -15
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +21 -23
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +21 -23
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +21 -18
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +21 -18
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +21 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +21 -8
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +6 -44
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +6 -44
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +46 -47
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +46 -47
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +47 -59
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +47 -59
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +56 -38
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +56 -38
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +37 -16
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +35 -14
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +20 -41
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +20 -41
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +41 -19
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +41 -19
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +14 -39
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +14 -39
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +39 -16
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +39 -16
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +17 -83
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +17 -83
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +83 -11
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +83 -11
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +12 -30
- package/dist/index73.d.cts.map +1 -1
- package/dist/index73.d.ts +12 -30
- package/dist/index73.d.ts.map +1 -1
- package/dist/index74.d.cts +28 -27
- package/dist/index74.d.cts.map +1 -1
- package/dist/index74.d.ts +28 -27
- package/dist/index74.d.ts.map +1 -1
- package/dist/index75.d.cts +33 -83
- package/dist/index75.d.cts.map +1 -1
- package/dist/index75.d.ts +33 -83
- package/dist/index75.d.ts.map +1 -1
- package/dist/index76.d.cts +82 -273
- package/dist/index76.d.cts.map +1 -1
- package/dist/index76.d.ts +82 -273
- package/dist/index76.d.ts.map +1 -1
- package/dist/index77.d.cts +278 -0
- package/dist/index77.d.cts.map +1 -0
- package/dist/index77.d.ts +278 -0
- package/dist/index77.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/index9.d.ts.map +1 -1
- package/dist/layouts/Container/index.d.cts +1 -1
- package/dist/layouts/Container/index.d.ts +1 -1
- package/dist/layouts/MultiColumn/index.d.cts +1 -1
- package/dist/layouts/MultiColumn/index.d.ts +1 -1
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/index.d.cts +5 -5
- package/dist/layouts/index.d.ts +5 -5
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/DataTable/index.d.ts.map +1 -1
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Header/index.d.cts +1 -1
- package/dist/patterns/Header/index.d.ts +1 -1
- package/dist/patterns/MediaObject/index.d.cts +13 -13
- package/dist/patterns/MediaObject/index.d.ts +14 -14
- package/dist/patterns/NavRail/index.d.cts +1 -1
- package/dist/patterns/NavRail/index.d.ts +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.cts.map +1 -1
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +3 -3
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +3 -3
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/Combobox/index.cjs +210 -0
- package/dist/primitives/Combobox/index.cjs.map +1 -0
- package/dist/primitives/Combobox/index.d.cts +2 -0
- package/dist/primitives/Combobox/index.d.ts +2 -0
- package/dist/primitives/Combobox/index.js +199 -0
- package/dist/primitives/Combobox/index.js.map +1 -0
- package/dist/primitives/ContextMenu/index.d.cts +1 -1
- package/dist/primitives/ContextMenu/index.d.ts +1 -1
- package/dist/primitives/Credits/index.d.cts +1 -1
- package/dist/primitives/Credits/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.d.cts +1 -1
- package/dist/primitives/Drawer/index.d.ts +1 -1
- package/dist/primitives/DropdownMenu/index.d.cts +1 -1
- package/dist/primitives/DropdownMenu/index.d.ts +1 -1
- package/dist/primitives/Empty/index.d.cts +1 -1
- package/dist/primitives/Empty/index.d.ts +1 -1
- package/dist/primitives/Field/index.d.cts +1 -1
- package/dist/primitives/Field/index.d.ts +1 -1
- package/dist/primitives/FileUpload/index.d.cts +1 -1
- package/dist/primitives/FileUpload/index.d.ts +1 -1
- package/dist/primitives/Form/index.d.cts +1 -1
- package/dist/primitives/Form/index.d.ts +1 -1
- package/dist/primitives/Heading/index.d.cts +1 -1
- package/dist/primitives/Heading/index.d.ts +1 -1
- package/dist/primitives/HoverCard/index.d.cts +1 -1
- package/dist/primitives/HoverCard/index.d.ts +1 -1
- package/dist/primitives/Icon/index.d.cts +1 -1
- package/dist/primitives/Icon/index.d.ts +1 -1
- package/dist/primitives/InfoBanner/index.d.cts +1 -1
- package/dist/primitives/InfoBanner/index.d.ts +1 -1
- package/dist/primitives/Input/index.d.cts +1 -1
- package/dist/primitives/Input/index.d.ts +1 -1
- package/dist/primitives/InputGroup/index.d.cts +1 -1
- package/dist/primitives/InputGroup/index.d.ts +1 -1
- package/dist/primitives/InputOtp/index.d.cts +1 -1
- package/dist/primitives/InputOtp/index.d.ts +1 -1
- package/dist/primitives/Item/index.d.cts +1 -1
- package/dist/primitives/Item/index.d.ts +1 -1
- package/dist/primitives/Kbd/index.d.cts +1 -1
- package/dist/primitives/Kbd/index.d.ts +1 -1
- package/dist/primitives/Label/index.d.cts +1 -1
- package/dist/primitives/Label/index.d.ts +1 -1
- package/dist/primitives/Link/index.d.cts +1 -1
- package/dist/primitives/Link/index.d.ts +1 -1
- package/dist/primitives/Logo/index.d.cts +1 -1
- package/dist/primitives/Logo/index.d.ts +1 -1
- package/dist/primitives/Menubar/index.d.cts +1 -1
- package/dist/primitives/Menubar/index.d.ts +1 -1
- package/dist/primitives/Mosaic/index.d.cts +1 -1
- package/dist/primitives/Mosaic/index.d.ts +1 -1
- package/dist/primitives/NativeSelect/index.d.cts +1 -1
- package/dist/primitives/NativeSelect/index.d.ts +1 -1
- package/dist/primitives/NavRail/index.d.cts +2 -2
- package/dist/primitives/NavRail/index.d.ts +2 -2
- package/dist/primitives/NavigationMenu/index.d.cts +1 -1
- package/dist/primitives/NavigationMenu/index.d.ts +1 -1
- package/dist/primitives/NotchedCard/index.d.cts +1 -1
- package/dist/primitives/NotchedCard/index.d.ts +1 -1
- package/dist/primitives/Pagination/index.d.cts +1 -1
- package/dist/primitives/Pagination/index.d.ts +1 -1
- package/dist/primitives/Popover/index.d.cts +1 -1
- package/dist/primitives/Popover/index.d.ts +1 -1
- package/dist/primitives/Progress/index.d.cts +1 -1
- package/dist/primitives/Progress/index.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.d.cts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +1 -1
- package/dist/primitives/Resizable/index.d.cts +1 -1
- package/dist/primitives/Resizable/index.d.ts +1 -1
- package/dist/primitives/ScrollArea/index.d.cts +1 -1
- package/dist/primitives/ScrollArea/index.d.ts +1 -1
- package/dist/primitives/Select/index.d.cts +1 -1
- package/dist/primitives/Select/index.d.ts +1 -1
- package/dist/primitives/Sheet/index.d.cts +1 -1
- package/dist/primitives/Sheet/index.d.ts +1 -1
- package/dist/primitives/Sidebar/index.d.cts +1 -1
- package/dist/primitives/Sidebar/index.d.ts +1 -1
- package/dist/primitives/Skeleton/index.d.cts +1 -1
- package/dist/primitives/Skeleton/index.d.ts +1 -1
- package/dist/primitives/Slider/index.d.cts +1 -1
- package/dist/primitives/Slider/index.d.ts +1 -1
- package/dist/primitives/Sonner/index.d.cts +1 -1
- package/dist/primitives/Sonner/index.d.ts +1 -1
- package/dist/primitives/Spinner/index.d.cts +1 -1
- package/dist/primitives/Spinner/index.d.ts +1 -1
- package/dist/primitives/Switch/index.d.cts +1 -1
- package/dist/primitives/Switch/index.d.ts +1 -1
- package/dist/primitives/Table/index.d.cts +1 -1
- package/dist/primitives/Table/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.cjs +153 -10
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.js +153 -10
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/primitives/Text/index.d.cts +1 -1
- package/dist/primitives/Text/index.d.ts +1 -1
- package/dist/primitives/Textarea/index.d.cts +1 -1
- package/dist/primitives/Textarea/index.d.ts +1 -1
- package/dist/primitives/ThemeProvider/index.d.cts +1 -1
- package/dist/primitives/ThemeProvider/index.d.ts +1 -1
- package/dist/primitives/Toggle/index.d.cts +1 -1
- package/dist/primitives/Toggle/index.d.ts +1 -1
- package/dist/primitives/ToggleGroup/index.d.cts +1 -1
- package/dist/primitives/ToggleGroup/index.d.ts +1 -1
- package/dist/primitives/Tooltip/index.d.cts +1 -1
- package/dist/primitives/Tooltip/index.d.ts +1 -1
- package/dist/primitives/index.cjs +12 -2
- package/dist/primitives/index.d.cts +50 -49
- package/dist/primitives/index.d.ts +50 -49
- package/dist/primitives/index.js +4 -3
- package/dist/styles/tokens/mode-dark.css +1 -1
- package/package.json +1 -1
- package/dist/index48.d.cts.map +0 -1
- package/dist/index48.d.ts.map +0 -1
package/dist/index45.d.ts
CHANGED
|
@@ -1,45 +1,22 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
3
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
4
5
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/** The floating, portaled panel rendered when the popover is open. */
|
|
15
|
-
declare function PopoverContent({
|
|
16
|
-
/** Extra classes merged onto the content surface. */
|
|
17
|
-
className,
|
|
18
|
-
/** Alignment of the content relative to the trigger along the chosen side. */
|
|
19
|
-
align,
|
|
20
|
-
/** Distance in px between the content and the trigger. */
|
|
21
|
-
sideOffset,
|
|
22
|
-
...props
|
|
23
|
-
}: React.ComponentProps<typeof Popover.Content>): react_jsx_runtime310.JSX.Element;
|
|
24
|
-
/** Optional element the content positions against instead of the trigger. */
|
|
25
|
-
declare function PopoverAnchor({
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<typeof Popover.Anchor>): react_jsx_runtime310.JSX.Element;
|
|
28
|
-
/** Stacked header slot for a title and description at the top of the content. */
|
|
29
|
-
declare function PopoverHeader({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<"div">): react_jsx_runtime310.JSX.Element;
|
|
33
|
-
/** Emphasised title line for the popover header. */
|
|
34
|
-
declare function PopoverTitle({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: React.ComponentProps<"h2">): react_jsx_runtime310.JSX.Element;
|
|
38
|
-
/** Muted supporting copy for the popover header. */
|
|
39
|
-
declare function PopoverDescription({
|
|
6
|
+
//#region src/primitives/NativeSelect/NativeSelect.d.ts
|
|
7
|
+
declare const nativeSelectVariants: (props?: ({
|
|
8
|
+
size?: "default" | "xs" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
10
|
+
/**
|
|
11
|
+
* A styled native `<select>` with a chevron affordance. Mirrors Input visuals
|
|
12
|
+
* and shares its size scale; pass `<option>`/`<optgroup>` as children.
|
|
13
|
+
*/
|
|
14
|
+
declare function NativeSelect({
|
|
40
15
|
className,
|
|
16
|
+
size,
|
|
17
|
+
children,
|
|
41
18
|
...props
|
|
42
|
-
}: React.ComponentProps<"
|
|
19
|
+
}: Omit<React.ComponentProps<"select">, "size"> & VariantProps<typeof nativeSelectVariants>): react_jsx_runtime115.JSX.Element;
|
|
43
20
|
//#endregion
|
|
44
|
-
export {
|
|
21
|
+
export { nativeSelectVariants as n, NativeSelect as t };
|
|
45
22
|
//# sourceMappingURL=index45.d.ts.map
|
package/dist/index45.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index45.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index45.d.ts","names":[],"sources":["../src/primitives/NativeSelect/NativeSelect.tsx"],"mappings":";;;;;;cAUM;;IAqBL,+BAAA,CAAA;;AA5BmC;;;iBAkC3B,YAAA,CACP;EAAA,SAAA;EAAA,IAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAIC,IAJD,CAIM,KAAA,CAAM,cAJZ,CAAA,QAAA,CAAA,EAAA,MAAA,CAAA,GAIgD,YAJhD,CAAA,OAIoE,oBAJpE,CAAA,CAAA,EAIyF,oBAAA,CAAA,GAAA,CAAA,OAJzF"}
|
package/dist/index46.d.cts
CHANGED
|
@@ -1,96 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
|
+
import { NavigationMenu } from "radix-ui";
|
|
3
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
4
|
import * as React from "react";
|
|
4
5
|
|
|
5
|
-
//#region src/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
//#region src/primitives/NavigationMenu/NavigationMenu.d.ts
|
|
7
|
+
/** Root of a horizontal navigation bar; renders a `<nav>` and optionally an animated viewport. */
|
|
8
|
+
declare function NavigationMenu$1({
|
|
9
|
+
className,
|
|
10
|
+
children,
|
|
11
|
+
viewport,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof NavigationMenu.Root> & {
|
|
14
|
+
/** When true (default), renders a shared animated viewport that hosts the active item's content. Set false to render content inline beneath each item. */
|
|
15
|
+
viewport?: boolean;
|
|
16
|
+
}): react_jsx_runtime4.JSX.Element;
|
|
17
|
+
/** Horizontal list wrapper for the top-level navigation items. */
|
|
18
|
+
declare function NavigationMenuList({
|
|
10
19
|
className,
|
|
11
20
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}): react_jsx_runtime55.JSX.Element;
|
|
16
|
-
/** A thin divider between groups of rail items. */
|
|
17
|
-
declare function NavRailSeparator({
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu.List>): react_jsx_runtime4.JSX.Element;
|
|
22
|
+
/** A single top-level entry; holds either a link or a trigger plus its content. */
|
|
23
|
+
declare function NavigationMenuItem({
|
|
18
24
|
className,
|
|
19
25
|
...props
|
|
20
|
-
}: React.ComponentProps<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
-
active?: boolean;
|
|
26
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
-
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
-
};
|
|
31
|
-
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
-
declare function NavRailItem({
|
|
33
|
-
label,
|
|
34
|
-
active,
|
|
35
|
-
asChild,
|
|
36
|
-
tooltipSide,
|
|
26
|
+
}: React.ComponentProps<typeof NavigationMenu.Item>): react_jsx_runtime4.JSX.Element;
|
|
27
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types0.ClassProp | undefined) => string;
|
|
28
|
+
/** Button that toggles an item's content panel; renders a rotating chevron. */
|
|
29
|
+
declare function NavigationMenuTrigger({
|
|
37
30
|
className,
|
|
38
31
|
children,
|
|
39
32
|
...props
|
|
40
|
-
}:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
avatar: React.ReactNode;
|
|
44
|
-
/** The user's display name (hidden in icon mode). */
|
|
45
|
-
name: React.ReactNode;
|
|
46
|
-
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
-
email: React.ReactNode;
|
|
48
|
-
};
|
|
49
|
-
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
-
declare function NavRailUser({
|
|
51
|
-
avatar,
|
|
52
|
-
name,
|
|
53
|
-
email,
|
|
33
|
+
}: React.ComponentProps<typeof NavigationMenu.Trigger>): react_jsx_runtime4.JSX.Element;
|
|
34
|
+
/** The panel revealed when an item's trigger is open; holds links or rich content. */
|
|
35
|
+
declare function NavigationMenuContent({
|
|
54
36
|
className,
|
|
55
37
|
...props
|
|
56
|
-
}:
|
|
57
|
-
/**
|
|
58
|
-
declare function
|
|
59
|
-
type NavRailMenuTriggerProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
60
|
-
/** Tooltip/accessible name + inline label for the trigger item. */
|
|
61
|
-
label: string;
|
|
62
|
-
/** Marks the trigger as active (current section) styling. */
|
|
63
|
-
active?: boolean;
|
|
64
|
-
};
|
|
65
|
-
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
-
declare function NavRailMenuTrigger({
|
|
67
|
-
label,
|
|
68
|
-
active,
|
|
38
|
+
}: React.ComponentProps<typeof NavigationMenu.Content>): react_jsx_runtime4.JSX.Element;
|
|
39
|
+
/** Shared animated container that the active item's content is portaled into when `viewport` is enabled. */
|
|
40
|
+
declare function NavigationMenuViewport({
|
|
69
41
|
className,
|
|
70
|
-
children,
|
|
71
42
|
...props
|
|
72
|
-
}:
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu.Viewport>): react_jsx_runtime4.JSX.Element;
|
|
44
|
+
/** A navigable link styled for use as a top-level item or inside content; set `active` to mark the current page. */
|
|
45
|
+
declare function NavigationMenuLink({
|
|
75
46
|
className,
|
|
76
|
-
side,
|
|
77
|
-
align,
|
|
78
|
-
sideOffset,
|
|
79
47
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
active?: boolean;
|
|
84
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
85
|
-
asChild?: boolean;
|
|
86
|
-
};
|
|
87
|
-
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
-
declare function NavRailMenuItem({
|
|
48
|
+
}: React.ComponentProps<typeof NavigationMenu.Link>): react_jsx_runtime4.JSX.Element;
|
|
49
|
+
/** Optional arrow that points from the active trigger to its content panel. */
|
|
50
|
+
declare function NavigationMenuIndicator({
|
|
89
51
|
className,
|
|
90
|
-
active,
|
|
91
|
-
asChild,
|
|
92
52
|
...props
|
|
93
|
-
}:
|
|
53
|
+
}: React.ComponentProps<typeof NavigationMenu.Indicator>): react_jsx_runtime4.JSX.Element;
|
|
94
54
|
//#endregion
|
|
95
|
-
export {
|
|
55
|
+
export { NavigationMenuLink as a, NavigationMenuViewport as c, NavigationMenuItem as i, navigationMenuTriggerStyle as l, NavigationMenuContent as n, NavigationMenuList as o, NavigationMenuIndicator as r, NavigationMenuTrigger as s, NavigationMenu$1 as t };
|
|
96
56
|
//# sourceMappingURL=index46.d.cts.map
|
package/dist/index46.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index46.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index46.d.cts","names":[],"sources":["../src/primitives/NavigationMenu/NavigationMenu.tsx"],"mappings":";;;;;;;iBASS,gBAAA;;;;;AAL2B,GAUjC,KAAA,CAAM,sBAAsB,cAAA,CAAwB;;;AAVnB,CAAA,CAAA,EAanC,kBAAA,CAAA,GAAA,CAAA,OARsB;;iBA0Bd,kBAAA,CAzBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4BC,KAAA,CAAM,cA5BP,CAAA,OA4B6B,cAAA,CAAwB,IA5BrD,CAAA,CAAA,EA4B0D,kBAAA,CAAA,GAAA,CAAA,OA5B1D;;iBAuCO,kBAAA,CArCP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwCC,KAAA,CAAM,cAxCP,CAAA,OAwC6B,cAAA,CAAwB,IAxCrD,CAAA,CAAA,EAwC0D,kBAAA,CAAA,GAAA,CAAA,OAxC1D;cAoDI,0BAlDiD,EAAA,CAAA,KAAA,CAAA,EAoDtD,+BAAA,CAF+B,SAAA,GAlDuB,SAAA,EAAA,GAAA,MAAA;;iBAuD9C,qBAAA,CApDR;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAwDE,KAAA,CAAM,cAxDR,CAAA,OAwD8B,cAAA,CAAwB,OAxDtD,CAAA,CAAA,EAwD8D,kBAAA,CAAA,GAAA,CAAA,OAxD9D;AAAA;AAAA,iBA0EQ,qBAAA,CAxDkB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2DxB,KAAA,CAAM,cA3DkB,CAAA,OA2DI,cAAA,CAAwB,OA3D5B,CAAA,CAAA,EA2DoC,kBAAA,CAAA,GAAA,CAAA,OA3DpC;;iBA0ElB,sBAAA,CAzEP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4EC,KAAA,CAAM,cA5EP,CAAA,OA4E6B,cAAA,CAAwB,QA5ErD,CAAA,CAAA,EA4E8D,kBAAA,CAAA,GAAA,CAAA,OA5E9D;;iBA4FO,kBAAA,CA1FA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6FN,KAAA,CAAM,cA7FA,CAAA,OA6FsB,cAAA,CAAwB,IA7F9C,CAAA,CAAA,EA6FmD,kBAAA,CAAA,GAAA,CAAA,OA7FnD;;AAAmD,iBA4GnD,uBAAA,CA5GmD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+GzD,KAAA,CAAM,cA/GmD,CAAA,OA+G7B,cAAA,CAAwB,SA/GK,CAAA,CAAA,EA+GK,kBAAA,CAAA,GAAA,CAAA,OA/GL"}
|
package/dist/index46.d.ts
CHANGED
|
@@ -1,96 +1,56 @@
|
|
|
1
|
-
import { r as PopoverContent, t as Popover } from "./index45.js";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime298 from "react/jsx-runtime";
|
|
3
|
+
import { NavigationMenu } from "radix-ui";
|
|
4
|
+
import * as class_variance_authority_types23 from "class-variance-authority/types";
|
|
4
5
|
|
|
5
|
-
//#region src/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
//#region src/primitives/NavigationMenu/NavigationMenu.d.ts
|
|
7
|
+
/** Root of a horizontal navigation bar; renders a `<nav>` and optionally an animated viewport. */
|
|
8
|
+
declare function NavigationMenu$1({
|
|
9
|
+
className,
|
|
10
|
+
children,
|
|
11
|
+
viewport,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof NavigationMenu.Root> & {
|
|
14
|
+
/** When true (default), renders a shared animated viewport that hosts the active item's content. Set false to render content inline beneath each item. */
|
|
15
|
+
viewport?: boolean;
|
|
16
|
+
}): react_jsx_runtime298.JSX.Element;
|
|
17
|
+
/** Horizontal list wrapper for the top-level navigation items. */
|
|
18
|
+
declare function NavigationMenuList({
|
|
10
19
|
className,
|
|
11
20
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}): react_jsx_runtime31.JSX.Element;
|
|
16
|
-
/** A thin divider between groups of rail items. */
|
|
17
|
-
declare function NavRailSeparator({
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu.List>): react_jsx_runtime298.JSX.Element;
|
|
22
|
+
/** A single top-level entry; holds either a link or a trigger plus its content. */
|
|
23
|
+
declare function NavigationMenuItem({
|
|
18
24
|
className,
|
|
19
25
|
...props
|
|
20
|
-
}: React.ComponentProps<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
-
active?: boolean;
|
|
26
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
-
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
-
};
|
|
31
|
-
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
-
declare function NavRailItem({
|
|
33
|
-
label,
|
|
34
|
-
active,
|
|
35
|
-
asChild,
|
|
36
|
-
tooltipSide,
|
|
26
|
+
}: React.ComponentProps<typeof NavigationMenu.Item>): react_jsx_runtime298.JSX.Element;
|
|
27
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types23.ClassProp | undefined) => string;
|
|
28
|
+
/** Button that toggles an item's content panel; renders a rotating chevron. */
|
|
29
|
+
declare function NavigationMenuTrigger({
|
|
37
30
|
className,
|
|
38
31
|
children,
|
|
39
32
|
...props
|
|
40
|
-
}:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
avatar: React.ReactNode;
|
|
44
|
-
/** The user's display name (hidden in icon mode). */
|
|
45
|
-
name: React.ReactNode;
|
|
46
|
-
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
-
email: React.ReactNode;
|
|
48
|
-
};
|
|
49
|
-
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
-
declare function NavRailUser({
|
|
51
|
-
avatar,
|
|
52
|
-
name,
|
|
53
|
-
email,
|
|
33
|
+
}: React.ComponentProps<typeof NavigationMenu.Trigger>): react_jsx_runtime298.JSX.Element;
|
|
34
|
+
/** The panel revealed when an item's trigger is open; holds links or rich content. */
|
|
35
|
+
declare function NavigationMenuContent({
|
|
54
36
|
className,
|
|
55
37
|
...props
|
|
56
|
-
}:
|
|
57
|
-
/**
|
|
58
|
-
declare function
|
|
59
|
-
type NavRailMenuTriggerProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
60
|
-
/** Tooltip/accessible name + inline label for the trigger item. */
|
|
61
|
-
label: string;
|
|
62
|
-
/** Marks the trigger as active (current section) styling. */
|
|
63
|
-
active?: boolean;
|
|
64
|
-
};
|
|
65
|
-
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
-
declare function NavRailMenuTrigger({
|
|
67
|
-
label,
|
|
68
|
-
active,
|
|
38
|
+
}: React.ComponentProps<typeof NavigationMenu.Content>): react_jsx_runtime298.JSX.Element;
|
|
39
|
+
/** Shared animated container that the active item's content is portaled into when `viewport` is enabled. */
|
|
40
|
+
declare function NavigationMenuViewport({
|
|
69
41
|
className,
|
|
70
|
-
children,
|
|
71
42
|
...props
|
|
72
|
-
}:
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu.Viewport>): react_jsx_runtime298.JSX.Element;
|
|
44
|
+
/** A navigable link styled for use as a top-level item or inside content; set `active` to mark the current page. */
|
|
45
|
+
declare function NavigationMenuLink({
|
|
75
46
|
className,
|
|
76
|
-
side,
|
|
77
|
-
align,
|
|
78
|
-
sideOffset,
|
|
79
47
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
active?: boolean;
|
|
84
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
85
|
-
asChild?: boolean;
|
|
86
|
-
};
|
|
87
|
-
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
-
declare function NavRailMenuItem({
|
|
48
|
+
}: React.ComponentProps<typeof NavigationMenu.Link>): react_jsx_runtime298.JSX.Element;
|
|
49
|
+
/** Optional arrow that points from the active trigger to its content panel. */
|
|
50
|
+
declare function NavigationMenuIndicator({
|
|
89
51
|
className,
|
|
90
|
-
active,
|
|
91
|
-
asChild,
|
|
92
52
|
...props
|
|
93
|
-
}:
|
|
53
|
+
}: React.ComponentProps<typeof NavigationMenu.Indicator>): react_jsx_runtime298.JSX.Element;
|
|
94
54
|
//#endregion
|
|
95
|
-
export {
|
|
55
|
+
export { NavigationMenuLink as a, NavigationMenuViewport as c, NavigationMenuItem as i, navigationMenuTriggerStyle as l, NavigationMenuContent as n, NavigationMenuList as o, NavigationMenuIndicator as r, NavigationMenuTrigger as s, NavigationMenu$1 as t };
|
|
96
56
|
//# sourceMappingURL=index46.d.ts.map
|
package/dist/index46.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index46.d.ts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index46.d.ts","names":[],"sources":["../src/primitives/NavigationMenu/NavigationMenu.tsx"],"mappings":";;;;;;;iBASS,gBAAA;;;;;AAL2B,GAUjC,KAAA,CAAM,sBAAsB,cAAA,CAAwB;;;AAVnB,CAAA,CAAA,EAanC,oBAAA,CAAA,GAAA,CAAA,OARsB;;iBA0Bd,kBAAA,CAzBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4BC,KAAA,CAAM,cA5BP,CAAA,OA4B6B,cAAA,CAAwB,IA5BrD,CAAA,CAAA,EA4B0D,oBAAA,CAAA,GAAA,CAAA,OA5B1D;;iBAuCO,kBAAA,CArCP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwCC,KAAA,CAAM,cAxCP,CAAA,OAwC6B,cAAA,CAAwB,IAxCrD,CAAA,CAAA,EAwC0D,oBAAA,CAAA,GAAA,CAAA,OAxC1D;cAoDI,0BAlDiD,EAAA,CAAA,KAAA,CAAA,EAoDtD,gCAAA,CAF+B,SAAA,GAlDuB,SAAA,EAAA,GAAA,MAAA;;iBAuD9C,qBAAA,CApDR;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAwDE,KAAA,CAAM,cAxDR,CAAA,OAwD8B,cAAA,CAAwB,OAxDtD,CAAA,CAAA,EAwD8D,oBAAA,CAAA,GAAA,CAAA,OAxD9D;AAAA;AAAA,iBA0EQ,qBAAA,CAxDkB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2DxB,KAAA,CAAM,cA3DkB,CAAA,OA2DI,cAAA,CAAwB,OA3D5B,CAAA,CAAA,EA2DoC,oBAAA,CAAA,GAAA,CAAA,OA3DpC;;iBA0ElB,sBAAA,CAzEP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4EC,KAAA,CAAM,cA5EP,CAAA,OA4E6B,cAAA,CAAwB,QA5ErD,CAAA,CAAA,EA4E8D,oBAAA,CAAA,GAAA,CAAA,OA5E9D;;iBA4FO,kBAAA,CA1FA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6FN,KAAA,CAAM,cA7FA,CAAA,OA6FsB,cAAA,CAAwB,IA7F9C,CAAA,CAAA,EA6FmD,oBAAA,CAAA,GAAA,CAAA,OA7FnD;;AAAmD,iBA4GnD,uBAAA,CA5GmD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+GzD,KAAA,CAAM,cA/GmD,CAAA,OA+G7B,cAAA,CAAwB,SA/GK,CAAA,CAAA,EA+GK,oBAAA,CAAA,GAAA,CAAA,OA/GL"}
|
package/dist/index47.d.cts
CHANGED
|
@@ -1 +1,96 @@
|
|
|
1
|
-
|
|
1
|
+
import { r as PopoverContent, t as Popover } from "./index21.cjs";
|
|
2
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/patterns/NavRail/NavRail.d.ts
|
|
6
|
+
type NavRailMode = "icon" | "text" | "expanded" | "expand-on-hover";
|
|
7
|
+
/** The vertical navigation rail container; sets the display `mode` for all items via context. */
|
|
8
|
+
declare function NavRail({
|
|
9
|
+
mode,
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<"nav"> & {
|
|
13
|
+
/** Display mode for the rail and its items: icon-only (tooltips), text-only, expanded (icon + text), or expand-on-hover. */
|
|
14
|
+
mode?: NavRailMode;
|
|
15
|
+
}): react_jsx_runtime29.JSX.Element;
|
|
16
|
+
/** A thin divider between groups of rail items. */
|
|
17
|
+
declare function NavRailSeparator({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<"div">): react_jsx_runtime29.JSX.Element;
|
|
21
|
+
type NavRailItemProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
22
|
+
/** Tooltip text (icon mode) + accessible name + inline label (text/expanded). */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
+
active?: boolean;
|
|
26
|
+
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
+
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
+
};
|
|
31
|
+
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
+
declare function NavRailItem({
|
|
33
|
+
label,
|
|
34
|
+
active,
|
|
35
|
+
asChild,
|
|
36
|
+
tooltipSide,
|
|
37
|
+
className,
|
|
38
|
+
children,
|
|
39
|
+
...props
|
|
40
|
+
}: NavRailItemProps): react_jsx_runtime29.JSX.Element;
|
|
41
|
+
type NavRailUserProps = React.ComponentProps<"div"> & {
|
|
42
|
+
/** The avatar element (e.g. an <Avatar />). */
|
|
43
|
+
avatar: React.ReactNode;
|
|
44
|
+
/** The user's display name (hidden in icon mode). */
|
|
45
|
+
name: React.ReactNode;
|
|
46
|
+
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
+
email: React.ReactNode;
|
|
48
|
+
};
|
|
49
|
+
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
+
declare function NavRailUser({
|
|
51
|
+
avatar,
|
|
52
|
+
name,
|
|
53
|
+
email,
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: NavRailUserProps): react_jsx_runtime29.JSX.Element;
|
|
57
|
+
/** Root for a rail item that opens a flyout submenu (wraps Popover). */
|
|
58
|
+
declare function NavRailMenu(props: React.ComponentProps<typeof Popover>): react_jsx_runtime29.JSX.Element;
|
|
59
|
+
type NavRailMenuTriggerProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
60
|
+
/** Tooltip/accessible name + inline label for the trigger item. */
|
|
61
|
+
label: string;
|
|
62
|
+
/** Marks the trigger as active (current section) styling. */
|
|
63
|
+
active?: boolean;
|
|
64
|
+
};
|
|
65
|
+
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
+
declare function NavRailMenuTrigger({
|
|
67
|
+
label,
|
|
68
|
+
active,
|
|
69
|
+
className,
|
|
70
|
+
children,
|
|
71
|
+
...props
|
|
72
|
+
}: NavRailMenuTriggerProps): react_jsx_runtime29.JSX.Element;
|
|
73
|
+
/** The glass flyout panel that holds the submenu items (portalled Popover content). */
|
|
74
|
+
declare function NavRailMenuContent({
|
|
75
|
+
className,
|
|
76
|
+
side,
|
|
77
|
+
align,
|
|
78
|
+
sideOffset,
|
|
79
|
+
...props
|
|
80
|
+
}: React.ComponentProps<typeof PopoverContent>): react_jsx_runtime29.JSX.Element;
|
|
81
|
+
type NavRailMenuItemProps = React.ComponentProps<"button"> & {
|
|
82
|
+
/** Marks the entry as the current page (active styling + `aria-current="page"`). */
|
|
83
|
+
active?: boolean;
|
|
84
|
+
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
85
|
+
asChild?: boolean;
|
|
86
|
+
};
|
|
87
|
+
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
+
declare function NavRailMenuItem({
|
|
89
|
+
className,
|
|
90
|
+
active,
|
|
91
|
+
asChild,
|
|
92
|
+
...props
|
|
93
|
+
}: NavRailMenuItemProps): react_jsx_runtime29.JSX.Element;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { NavRailMenuContent as a, NavRailMenuTrigger as c, NavRailSeparator as d, NavRailUser as f, NavRailMenu as i, NavRailMenuTriggerProps as l, NavRailItem as n, NavRailMenuItem as o, NavRailUserProps as p, NavRailItemProps as r, NavRailMenuItemProps as s, NavRail as t, NavRailMode as u };
|
|
96
|
+
//# sourceMappingURL=index47.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index47.d.cts","names":[],"sources":["../src/patterns/NavRail/NavRail.tsx"],"mappings":";;;;;KA2BK,WAAA;;iBAkDI,OAAA;;;;GAIN,KAAA,CAAM;EAtDJ;EAkDI,IAAA,CAAA,EAMA,WANO;CAAA,CAAA,EAOf,mBAAA,CAAA,GAAA,CAAA,OAPe;;iBAyBP,gBAAA,CAvBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuBiD,KAAA,CAAM,cAvBvD,CAAA,KAAA,CAAA,CAAA,EAuB4E,mBAAA,CAAA,GAAA,CAAA,OAvB5E;KAkCG,gBAAA,GAAmB,IAhCf,CAgCoB,KAAA,CAAM,cAhC1B,CAAA,QAAA,CAAA,EAAA,YAAA,CAAA,GAAA;;OAGR,EAAA,MAAA;EAAA;EAkBQ,MAAA,CAAA,EAAA,OAAA;EAAgB;SAAG,CAAA,EAAA,OAAA;;aAAkD,CAAA,EAAA,KAAA,GAAA,OAAA,GAAA,QAAA,GAAA,MAAA;AAAA,CAAA;AAAA;iBAuBrE,WAAA,CAZY;EAAA,KAAA;EAAA,MAAA;EAAA,OAAA;EAAA,WAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAoBlB,gBApBkB,CAAA,EAoBF,mBAAA,CAAA,GAAA,CAAA,OApBE;KA6DhB,gBAAA,GAAmB,KAAA,CAAM,cA7DK,CAAA,KAAA,CAAA,GAAA;;EAAP,MAAA,EA+DlB,KAAA,CAAM,SA/DY;EAYnB;EAAW,IAAA,EAqDZ,KAAA,CAAM,SArDM;;OAElB,EAqDO,KAAA,CAAM,SArDb;;;iBAyDO,WAAA,CAtDP;EAAA,MAAA;EAAA,IAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDiE,gBAtDjE,CAAA,EAsDiF,mBAAA,CAAA,GAAA,CAAA,OAtDjF;;iBA0FO,WAAA,CAvFN,KAAA,EAuFyB,KAAA,CAAM,cAvF/B,CAAA,OAuFqD,OAvFrD,CAAA,CAAA,EAuF6D,mBAAA,CAAA,GAAA,CAAA,OAvF7D;KA2FE,uBAAA,GAA0B,IA3FZ,CA2FiB,KAAA,CAAM,cA3FvB,CAAA,QAAA,CAAA,EAAA,YAAA,CAAA,GAAA;EAAA;EAyCd,KAAA,EAAA,MAAA;EAAgB;QAAG,CAAA,EAAM,OAAA;;;iBA0DrB,kBAAA,CApDM;EAAA,KAAA;EAAA,MAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0DZ,uBA1DY,CAAA,EA0DW,mBAAA,CAAA,GAAA,CAAA,OA1DX;AAAS;AAAA,iBAmFf,kBAAA,CA/EW;EAAA,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAqFjB,KAAA,CAAM,cArFW,CAAA,OAqFW,cArFX,CAAA,CAAA,EAqF0B,mBAAA,CAAA,GAAA,CAAA,OArF1B;KAuGf,oBAAA,GAAuB,KAAA,CAAM,cAvGd,CAAA,QAAA,CAAA,GAAA;;QAAW,CAAA,EAAA,OAAA;;SAAa,CAAA,EAAA,OAAA;;;AAAuC,iBA+G1E,eAAA,CA/G0E;EAAA,SAAA;EAAA,MAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA+GR,oBA/GQ,CAAA,EA+GY,mBAAA,CAAA,GAAA,CAAA,OA/GZ"}
|
package/dist/index47.d.ts
CHANGED
|
@@ -1 +1,96 @@
|
|
|
1
|
-
|
|
1
|
+
import { r as PopoverContent, t as Popover } from "./index21.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime290 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/patterns/NavRail/NavRail.d.ts
|
|
6
|
+
type NavRailMode = "icon" | "text" | "expanded" | "expand-on-hover";
|
|
7
|
+
/** The vertical navigation rail container; sets the display `mode` for all items via context. */
|
|
8
|
+
declare function NavRail({
|
|
9
|
+
mode,
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<"nav"> & {
|
|
13
|
+
/** Display mode for the rail and its items: icon-only (tooltips), text-only, expanded (icon + text), or expand-on-hover. */
|
|
14
|
+
mode?: NavRailMode;
|
|
15
|
+
}): react_jsx_runtime290.JSX.Element;
|
|
16
|
+
/** A thin divider between groups of rail items. */
|
|
17
|
+
declare function NavRailSeparator({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<"div">): react_jsx_runtime290.JSX.Element;
|
|
21
|
+
type NavRailItemProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
22
|
+
/** Tooltip text (icon mode) + accessible name + inline label (text/expanded). */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
+
active?: boolean;
|
|
26
|
+
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
+
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
+
};
|
|
31
|
+
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
+
declare function NavRailItem({
|
|
33
|
+
label,
|
|
34
|
+
active,
|
|
35
|
+
asChild,
|
|
36
|
+
tooltipSide,
|
|
37
|
+
className,
|
|
38
|
+
children,
|
|
39
|
+
...props
|
|
40
|
+
}: NavRailItemProps): react_jsx_runtime290.JSX.Element;
|
|
41
|
+
type NavRailUserProps = React.ComponentProps<"div"> & {
|
|
42
|
+
/** The avatar element (e.g. an <Avatar />). */
|
|
43
|
+
avatar: React.ReactNode;
|
|
44
|
+
/** The user's display name (hidden in icon mode). */
|
|
45
|
+
name: React.ReactNode;
|
|
46
|
+
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
+
email: React.ReactNode;
|
|
48
|
+
};
|
|
49
|
+
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
+
declare function NavRailUser({
|
|
51
|
+
avatar,
|
|
52
|
+
name,
|
|
53
|
+
email,
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: NavRailUserProps): react_jsx_runtime290.JSX.Element;
|
|
57
|
+
/** Root for a rail item that opens a flyout submenu (wraps Popover). */
|
|
58
|
+
declare function NavRailMenu(props: React.ComponentProps<typeof Popover>): react_jsx_runtime290.JSX.Element;
|
|
59
|
+
type NavRailMenuTriggerProps = Omit<React.ComponentProps<"button">, "aria-label"> & {
|
|
60
|
+
/** Tooltip/accessible name + inline label for the trigger item. */
|
|
61
|
+
label: string;
|
|
62
|
+
/** Marks the trigger as active (current section) styling. */
|
|
63
|
+
active?: boolean;
|
|
64
|
+
};
|
|
65
|
+
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
+
declare function NavRailMenuTrigger({
|
|
67
|
+
label,
|
|
68
|
+
active,
|
|
69
|
+
className,
|
|
70
|
+
children,
|
|
71
|
+
...props
|
|
72
|
+
}: NavRailMenuTriggerProps): react_jsx_runtime290.JSX.Element;
|
|
73
|
+
/** The glass flyout panel that holds the submenu items (portalled Popover content). */
|
|
74
|
+
declare function NavRailMenuContent({
|
|
75
|
+
className,
|
|
76
|
+
side,
|
|
77
|
+
align,
|
|
78
|
+
sideOffset,
|
|
79
|
+
...props
|
|
80
|
+
}: React.ComponentProps<typeof PopoverContent>): react_jsx_runtime290.JSX.Element;
|
|
81
|
+
type NavRailMenuItemProps = React.ComponentProps<"button"> & {
|
|
82
|
+
/** Marks the entry as the current page (active styling + `aria-current="page"`). */
|
|
83
|
+
active?: boolean;
|
|
84
|
+
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
85
|
+
asChild?: boolean;
|
|
86
|
+
};
|
|
87
|
+
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
+
declare function NavRailMenuItem({
|
|
89
|
+
className,
|
|
90
|
+
active,
|
|
91
|
+
asChild,
|
|
92
|
+
...props
|
|
93
|
+
}: NavRailMenuItemProps): react_jsx_runtime290.JSX.Element;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { NavRailMenuContent as a, NavRailMenuTrigger as c, NavRailSeparator as d, NavRailUser as f, NavRailMenu as i, NavRailMenuTriggerProps as l, NavRailItem as n, NavRailMenuItem as o, NavRailUserProps as p, NavRailItemProps as r, NavRailMenuItemProps as s, NavRail as t, NavRailMode as u };
|
|
96
|
+
//# sourceMappingURL=index47.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index47.d.ts","names":[],"sources":["../src/patterns/NavRail/NavRail.tsx"],"mappings":";;;;;KA2BK,WAAA;;iBAkDI,OAAA;;;;GAIN,KAAA,CAAM;EAtDJ;EAkDI,IAAA,CAAA,EAMA,WANO;CAAA,CAAA,EAOf,oBAAA,CAAA,GAAA,CAAA,OAPe;;iBAyBP,gBAAA,CAvBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuBiD,KAAA,CAAM,cAvBvD,CAAA,KAAA,CAAA,CAAA,EAuB4E,oBAAA,CAAA,GAAA,CAAA,OAvB5E;KAkCG,gBAAA,GAAmB,IAhCf,CAgCoB,KAAA,CAAM,cAhC1B,CAAA,QAAA,CAAA,EAAA,YAAA,CAAA,GAAA;;OAGR,EAAA,MAAA;EAAA;EAkBQ,MAAA,CAAA,EAAA,OAAA;EAAgB;SAAG,CAAA,EAAA,OAAA;;aAAkD,CAAA,EAAA,KAAA,GAAA,OAAA,GAAA,QAAA,GAAA,MAAA;AAAA,CAAA;AAAA;iBAuBrE,WAAA,CAZY;EAAA,KAAA;EAAA,MAAA;EAAA,OAAA;EAAA,WAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAoBlB,gBApBkB,CAAA,EAoBF,oBAAA,CAAA,GAAA,CAAA,OApBE;KA6DhB,gBAAA,GAAmB,KAAA,CAAM,cA7DK,CAAA,KAAA,CAAA,GAAA;;EAAP,MAAA,EA+DlB,KAAA,CAAM,SA/DY;EAYnB;EAAW,IAAA,EAqDZ,KAAA,CAAM,SArDM;;OAElB,EAqDO,KAAA,CAAM,SArDb;;;iBAyDO,WAAA,CAtDP;EAAA,MAAA;EAAA,IAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDiE,gBAtDjE,CAAA,EAsDiF,oBAAA,CAAA,GAAA,CAAA,OAtDjF;;iBA0FO,WAAA,CAvFN,KAAA,EAuFyB,KAAA,CAAM,cAvF/B,CAAA,OAuFqD,OAvFrD,CAAA,CAAA,EAuF6D,oBAAA,CAAA,GAAA,CAAA,OAvF7D;KA2FE,uBAAA,GAA0B,IA3FZ,CA2FiB,KAAA,CAAM,cA3FvB,CAAA,QAAA,CAAA,EAAA,YAAA,CAAA,GAAA;EAAA;EAyCd,KAAA,EAAA,MAAA;EAAgB;QAAG,CAAA,EAAM,OAAA;;;iBA0DrB,kBAAA,CApDM;EAAA,KAAA;EAAA,MAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0DZ,uBA1DY,CAAA,EA0DW,oBAAA,CAAA,GAAA,CAAA,OA1DX;AAAS;AAAA,iBAmFf,kBAAA,CA/EW;EAAA,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAqFjB,KAAA,CAAM,cArFW,CAAA,OAqFW,cArFX,CAAA,CAAA,EAqF0B,oBAAA,CAAA,GAAA,CAAA,OArF1B;KAuGf,oBAAA,GAAuB,KAAA,CAAM,cAvGd,CAAA,QAAA,CAAA,GAAA;;QAAW,CAAA,EAAA,OAAA;;SAAa,CAAA,EAAA,OAAA;;;AAAuC,iBA+G1E,eAAA,CA/G0E;EAAA,SAAA;EAAA,MAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA+GR,oBA/GQ,CAAA,EA+GY,oBAAA,CAAA,GAAA,CAAA,OA/GZ"}
|