@psnext/design-system 2.5.0 → 2.7.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 +7 -2
- package/SKILL.md +1 -1
- package/dist/Header.cjs +2 -2
- package/dist/Header.js +2 -2
- package/dist/Logo.cjs +322 -315
- package/dist/Logo.cjs.map +1 -1
- package/dist/Logo.js +322 -315
- package/dist/Logo.js.map +1 -1
- package/dist/Mosaic.cjs +72 -15
- package/dist/Mosaic.cjs.map +1 -1
- package/dist/Mosaic.js +72 -15
- package/dist/Mosaic.js.map +1 -1
- 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 +6 -6
- 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.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +11 -11
- package/dist/index12.d.ts +11 -11
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.cts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index16.d.ts +3 -3
- 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.cts.map +1 -1
- 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/index2.d.ts.map +1 -1
- 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 +114 -27
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +114 -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.cts.map +1 -1
- 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 +68 -20
- 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 +16 -120
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +16 -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 +184 -49
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +184 -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.ts +5 -5
- 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 +37 -16
- 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.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- 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 +15 -81
- 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.cts.map +1 -1
- package/dist/index8.d.ts +3 -3
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.ts +2 -2
- 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/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- 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 +14 -14
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- package/dist/patterns/MediaObject/index.d.ts +11 -11
- package/dist/patterns/MediaObject/index.d.ts.map +1 -1
- 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/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/SectionHeading/index.d.ts.map +1 -1
- 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 +2 -2
- package/dist/primitives/Mosaic/index.d.ts +2 -2
- 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/index54.d.cts
CHANGED
|
@@ -1,69 +1,21 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
2
|
+
import { ScrollArea } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
8
|
-
...props
|
|
9
|
-
}: React.ComponentProps<typeof Select.Root>): react_jsx_runtime280.JSX.Element;
|
|
10
|
-
/** Groups related items under a shared `SelectLabel` for sectioned menus. */
|
|
11
|
-
declare function SelectGroup({
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select.Group>): react_jsx_runtime280.JSX.Element;
|
|
14
|
-
/** Renders the selected value (or the `placeholder`) inside the trigger. */
|
|
15
|
-
declare function SelectValue({
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<typeof Select.Value>): react_jsx_runtime280.JSX.Element;
|
|
18
|
-
/** The clickable control that opens the menu and shows the current value. */
|
|
19
|
-
declare function SelectTrigger({
|
|
20
|
-
className,
|
|
21
|
-
size,
|
|
22
|
-
width,
|
|
23
|
-
label,
|
|
24
|
-
children,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof Select.Trigger> & {
|
|
27
|
-
/** Trigger height: `sm` (32px), `default` (36px), or `lg` (40px). */
|
|
28
|
-
size?: "sm" | "default" | "lg";
|
|
29
|
-
/** Trigger width: `full` stretches to the container, `fit` hugs the value. */
|
|
30
|
-
width?: "full" | "fit";
|
|
31
|
-
/** Optional stacked label rendered above the value (2-line trigger). */
|
|
32
|
-
label?: React.ReactNode;
|
|
33
|
-
}): react_jsx_runtime280.JSX.Element;
|
|
34
|
-
/** The portalled popover that holds the list of items. */
|
|
35
|
-
declare function SelectContent({
|
|
5
|
+
//#region src/primitives/ScrollArea/ScrollArea.d.ts
|
|
6
|
+
/** Custom-styled scroll container: a viewport with a slim, auto-hiding scrollbar. */
|
|
7
|
+
declare function ScrollArea$1({
|
|
36
8
|
className,
|
|
37
9
|
children,
|
|
38
|
-
position,
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select.Content>): react_jsx_runtime280.JSX.Element;
|
|
41
|
-
/** A non-interactive heading for a `SelectGroup`. */
|
|
42
|
-
declare function SelectLabel({
|
|
43
|
-
className,
|
|
44
|
-
...props
|
|
45
|
-
}: React.ComponentProps<typeof Select.Label>): react_jsx_runtime280.JSX.Element;
|
|
46
|
-
/** A selectable option; its `value` becomes the select's value when chosen. */
|
|
47
|
-
declare function SelectItem({
|
|
48
|
-
className,
|
|
49
|
-
children,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<typeof Select.Item>): react_jsx_runtime280.JSX.Element;
|
|
52
|
-
/** A thin divider rule between groups or items. */
|
|
53
|
-
declare function SelectSeparator({
|
|
54
|
-
className,
|
|
55
|
-
...props
|
|
56
|
-
}: React.ComponentProps<typeof Select.Separator>): react_jsx_runtime280.JSX.Element;
|
|
57
|
-
/** Auto-shown scroll affordance at the top of a long, overflowing list. */
|
|
58
|
-
declare function SelectScrollUpButton({
|
|
59
|
-
className,
|
|
60
10
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof
|
|
62
|
-
/**
|
|
63
|
-
declare function
|
|
11
|
+
}: React.ComponentProps<typeof ScrollArea.Root>): react_jsx_runtime135.JSX.Element;
|
|
12
|
+
/** A single scrollbar track + thumb for the ScrollArea, vertical or horizontal. */
|
|
13
|
+
declare function ScrollBar({
|
|
64
14
|
className,
|
|
15
|
+
/** Axis the scrollbar controls; defaults to `"vertical"`. */
|
|
16
|
+
orientation,
|
|
65
17
|
...props
|
|
66
|
-
}: React.ComponentProps<typeof
|
|
18
|
+
}: React.ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): react_jsx_runtime135.JSX.Element;
|
|
67
19
|
//#endregion
|
|
68
|
-
export {
|
|
20
|
+
export { ScrollBar as n, ScrollArea$1 as t };
|
|
69
21
|
//# sourceMappingURL=index54.d.cts.map
|
package/dist/index54.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index54.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index54.d.cts","names":[],"sources":["../src/primitives/ScrollArea/ScrollArea.tsx"],"mappings":";;;;;;iBAMS,YAAA;;;;GAIN,KAAA,CAAM,sBAAsB,UAAA,CAAoB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AATpB,iBA6B3B,SAAA,CAxBU;EAAA,SAAA;;aACjB;EAAA,GAAA;AAAA,CAAA,EA4BC,KAAA,CAAM,cA5BP,CAAA,OA4B6B,UAAA,CAAoB,mBA5BjD,CAAA,CAAA,EA4BqE,oBAAA,CAAA,GAAA,CAAA,OA5BrE"}
|
package/dist/index54.d.ts
CHANGED
|
@@ -1,69 +1,21 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
2
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
3
|
+
import { ScrollArea } from "radix-ui";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
8
|
-
...props
|
|
9
|
-
}: React.ComponentProps<typeof Select.Root>): react_jsx_runtime64.JSX.Element;
|
|
10
|
-
/** Groups related items under a shared `SelectLabel` for sectioned menus. */
|
|
11
|
-
declare function SelectGroup({
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select.Group>): react_jsx_runtime64.JSX.Element;
|
|
14
|
-
/** Renders the selected value (or the `placeholder`) inside the trigger. */
|
|
15
|
-
declare function SelectValue({
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<typeof Select.Value>): react_jsx_runtime64.JSX.Element;
|
|
18
|
-
/** The clickable control that opens the menu and shows the current value. */
|
|
19
|
-
declare function SelectTrigger({
|
|
20
|
-
className,
|
|
21
|
-
size,
|
|
22
|
-
width,
|
|
23
|
-
label,
|
|
24
|
-
children,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof Select.Trigger> & {
|
|
27
|
-
/** Trigger height: `sm` (32px), `default` (36px), or `lg` (40px). */
|
|
28
|
-
size?: "sm" | "default" | "lg";
|
|
29
|
-
/** Trigger width: `full` stretches to the container, `fit` hugs the value. */
|
|
30
|
-
width?: "full" | "fit";
|
|
31
|
-
/** Optional stacked label rendered above the value (2-line trigger). */
|
|
32
|
-
label?: React.ReactNode;
|
|
33
|
-
}): react_jsx_runtime64.JSX.Element;
|
|
34
|
-
/** The portalled popover that holds the list of items. */
|
|
35
|
-
declare function SelectContent({
|
|
5
|
+
//#region src/primitives/ScrollArea/ScrollArea.d.ts
|
|
6
|
+
/** Custom-styled scroll container: a viewport with a slim, auto-hiding scrollbar. */
|
|
7
|
+
declare function ScrollArea$1({
|
|
36
8
|
className,
|
|
37
9
|
children,
|
|
38
|
-
position,
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select.Content>): react_jsx_runtime64.JSX.Element;
|
|
41
|
-
/** A non-interactive heading for a `SelectGroup`. */
|
|
42
|
-
declare function SelectLabel({
|
|
43
|
-
className,
|
|
44
|
-
...props
|
|
45
|
-
}: React.ComponentProps<typeof Select.Label>): react_jsx_runtime64.JSX.Element;
|
|
46
|
-
/** A selectable option; its `value` becomes the select's value when chosen. */
|
|
47
|
-
declare function SelectItem({
|
|
48
|
-
className,
|
|
49
|
-
children,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<typeof Select.Item>): react_jsx_runtime64.JSX.Element;
|
|
52
|
-
/** A thin divider rule between groups or items. */
|
|
53
|
-
declare function SelectSeparator({
|
|
54
|
-
className,
|
|
55
|
-
...props
|
|
56
|
-
}: React.ComponentProps<typeof Select.Separator>): react_jsx_runtime64.JSX.Element;
|
|
57
|
-
/** Auto-shown scroll affordance at the top of a long, overflowing list. */
|
|
58
|
-
declare function SelectScrollUpButton({
|
|
59
|
-
className,
|
|
60
10
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof
|
|
62
|
-
/**
|
|
63
|
-
declare function
|
|
11
|
+
}: React.ComponentProps<typeof ScrollArea.Root>): react_jsx_runtime92.JSX.Element;
|
|
12
|
+
/** A single scrollbar track + thumb for the ScrollArea, vertical or horizontal. */
|
|
13
|
+
declare function ScrollBar({
|
|
64
14
|
className,
|
|
15
|
+
/** Axis the scrollbar controls; defaults to `"vertical"`. */
|
|
16
|
+
orientation,
|
|
65
17
|
...props
|
|
66
|
-
}: React.ComponentProps<typeof
|
|
18
|
+
}: React.ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): react_jsx_runtime92.JSX.Element;
|
|
67
19
|
//#endregion
|
|
68
|
-
export {
|
|
20
|
+
export { ScrollBar as n, ScrollArea$1 as t };
|
|
69
21
|
//# sourceMappingURL=index54.d.ts.map
|
package/dist/index54.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index54.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index54.d.ts","names":[],"sources":["../src/primitives/ScrollArea/ScrollArea.tsx"],"mappings":";;;;;;iBAMS,YAAA;;;;GAIN,KAAA,CAAM,sBAAsB,UAAA,CAAoB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AATpB,iBA6B3B,SAAA,CAxBU;EAAA,SAAA;;aACjB;EAAA,GAAA;AAAA,CAAA,EA4BC,KAAA,CAAM,cA5BP,CAAA,OA4B6B,UAAA,CAAoB,mBA5BjD,CAAA,CAAA,EA4BqE,mBAAA,CAAA,GAAA,CAAA,OA5BrE"}
|
package/dist/index55.d.cts
CHANGED
|
@@ -1,98 +1,69 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as react_jsx_runtime265 from "react/jsx-runtime";
|
|
2
|
+
import { Select } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/** Root
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/Select/Select.d.ts
|
|
6
|
+
/** Root of the select. Holds the open/value state and wires the trigger to the content. */
|
|
7
|
+
declare function Select$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
9
|
+
}: React.ComponentProps<typeof Select.Root>): react_jsx_runtime265.JSX.Element;
|
|
10
|
+
/** Groups related items under a shared `SelectLabel` for sectioned menus. */
|
|
11
|
+
declare function SelectGroup({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
13
|
+
}: React.ComponentProps<typeof Select.Group>): react_jsx_runtime265.JSX.Element;
|
|
14
|
+
/** Renders the selected value (or the `placeholder`) inside the trigger. */
|
|
15
|
+
declare function SelectValue({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/**
|
|
19
|
-
declare
|
|
20
|
-
readonly default: "bg-overlay-bg";
|
|
21
|
-
readonly dark: "bg-black/50";
|
|
22
|
-
readonly glass: "bg-glass-40-bg backdrop-blur-glass";
|
|
23
|
-
readonly none: "bg-transparent";
|
|
24
|
-
};
|
|
25
|
-
declare const sheetSizeVariants: {
|
|
26
|
-
readonly small: {
|
|
27
|
-
readonly right: "w-2/3 sm:max-w-xs";
|
|
28
|
-
readonly left: "w-2/3 sm:max-w-xs";
|
|
29
|
-
readonly top: "h-[40vh]";
|
|
30
|
-
readonly bottom: "h-[40vh]";
|
|
31
|
-
};
|
|
32
|
-
readonly default: {
|
|
33
|
-
readonly right: "w-3/4 sm:max-w-sm";
|
|
34
|
-
readonly left: "w-3/4 sm:max-w-sm";
|
|
35
|
-
readonly top: "h-auto";
|
|
36
|
-
readonly bottom: "h-auto";
|
|
37
|
-
};
|
|
38
|
-
readonly medium: {
|
|
39
|
-
readonly right: "w-4/5 sm:max-w-md";
|
|
40
|
-
readonly left: "w-4/5 sm:max-w-md";
|
|
41
|
-
readonly top: "h-[60vh]";
|
|
42
|
-
readonly bottom: "h-[60vh]";
|
|
43
|
-
};
|
|
44
|
-
readonly large: {
|
|
45
|
-
readonly right: "w-11/12 sm:max-w-lg";
|
|
46
|
-
readonly left: "w-11/12 sm:max-w-lg";
|
|
47
|
-
readonly top: "h-[80vh]";
|
|
48
|
-
readonly bottom: "h-[80vh]";
|
|
49
|
-
};
|
|
50
|
-
readonly extraLarge: {
|
|
51
|
-
readonly right: "w-[95vw] sm:max-w-2xl";
|
|
52
|
-
readonly left: "w-[95vw] sm:max-w-2xl";
|
|
53
|
-
readonly top: "h-[95vh]";
|
|
54
|
-
readonly bottom: "h-[95vh]";
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
/** The sliding panel surface (portaled, with its overlay). Holds the header, body, and footer. */
|
|
58
|
-
declare function SheetContent({
|
|
17
|
+
}: React.ComponentProps<typeof Select.Value>): react_jsx_runtime265.JSX.Element;
|
|
18
|
+
/** The clickable control that opens the menu and shows the current value. */
|
|
19
|
+
declare function SelectTrigger({
|
|
59
20
|
className,
|
|
60
|
-
children,
|
|
61
|
-
side,
|
|
62
|
-
showCloseButton,
|
|
63
|
-
overlay,
|
|
64
21
|
size,
|
|
22
|
+
width,
|
|
23
|
+
label,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof Select.Trigger> & {
|
|
27
|
+
/** Trigger height: `sm` (32px), `default` (36px), or `lg` (40px). */
|
|
28
|
+
size?: "sm" | "default" | "lg";
|
|
29
|
+
/** Trigger width: `full` stretches to the container, `fit` hugs the value. */
|
|
30
|
+
width?: "full" | "fit";
|
|
31
|
+
/** Optional stacked label rendered above the value (2-line trigger). */
|
|
32
|
+
label?: React.ReactNode;
|
|
33
|
+
}): react_jsx_runtime265.JSX.Element;
|
|
34
|
+
/** The portalled popover that holds the list of items. */
|
|
35
|
+
declare function SelectContent({
|
|
36
|
+
className,
|
|
37
|
+
children,
|
|
38
|
+
position,
|
|
39
|
+
...props
|
|
40
|
+
}: React.ComponentProps<typeof Select.Content>): react_jsx_runtime265.JSX.Element;
|
|
41
|
+
/** A non-interactive heading for a `SelectGroup`. */
|
|
42
|
+
declare function SelectLabel({
|
|
43
|
+
className,
|
|
65
44
|
...props
|
|
66
|
-
}: React.ComponentProps<typeof
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
/** Whether to render the built-in top-right close (X) button. */
|
|
70
|
-
showCloseButton?: boolean;
|
|
71
|
-
/** Scrim style behind the sheet (e.g. `glass` for drawer patterns). */
|
|
72
|
-
overlay?: keyof typeof sheetOverlayVariants;
|
|
73
|
-
/** Panel size. `default` matches the existing production sizing. */
|
|
74
|
-
size?: keyof typeof sheetSizeVariants;
|
|
75
|
-
}): react_jsx_runtime272.JSX.Element;
|
|
76
|
-
/** Top region of the sheet; typically holds the `SheetTitle` and `SheetDescription`. */
|
|
77
|
-
declare function SheetHeader({
|
|
45
|
+
}: React.ComponentProps<typeof Select.Label>): react_jsx_runtime265.JSX.Element;
|
|
46
|
+
/** A selectable option; its `value` becomes the select's value when chosen. */
|
|
47
|
+
declare function SelectItem({
|
|
78
48
|
className,
|
|
49
|
+
children,
|
|
79
50
|
...props
|
|
80
|
-
}: React.ComponentProps<
|
|
81
|
-
/**
|
|
82
|
-
declare function
|
|
51
|
+
}: React.ComponentProps<typeof Select.Item>): react_jsx_runtime265.JSX.Element;
|
|
52
|
+
/** A thin divider rule between groups or items. */
|
|
53
|
+
declare function SelectSeparator({
|
|
83
54
|
className,
|
|
84
55
|
...props
|
|
85
|
-
}: React.ComponentProps<
|
|
86
|
-
/**
|
|
87
|
-
declare function
|
|
56
|
+
}: React.ComponentProps<typeof Select.Separator>): react_jsx_runtime265.JSX.Element;
|
|
57
|
+
/** Auto-shown scroll affordance at the top of a long, overflowing list. */
|
|
58
|
+
declare function SelectScrollUpButton({
|
|
88
59
|
className,
|
|
89
60
|
...props
|
|
90
|
-
}: React.ComponentProps<typeof
|
|
91
|
-
/**
|
|
92
|
-
declare function
|
|
61
|
+
}: React.ComponentProps<typeof Select.ScrollUpButton>): react_jsx_runtime265.JSX.Element;
|
|
62
|
+
/** Auto-shown scroll affordance at the bottom of a long, overflowing list. */
|
|
63
|
+
declare function SelectScrollDownButton({
|
|
93
64
|
className,
|
|
94
65
|
...props
|
|
95
|
-
}: React.ComponentProps<typeof
|
|
66
|
+
}: React.ComponentProps<typeof Select.ScrollDownButton>): react_jsx_runtime265.JSX.Element;
|
|
96
67
|
//#endregion
|
|
97
|
-
export {
|
|
68
|
+
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select$1 as t, SelectValue as u };
|
|
98
69
|
//# sourceMappingURL=index55.d.cts.map
|
package/dist/index55.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index55.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index55.d.cts","names":[],"sources":["../src/primitives/Select/Select.tsx"],"mappings":";;;;;;iBAQS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAL3C,iBAU3B,WAAA,CALM;EAAA,GAAA;AAAA,CAAA,EAKoB,KAAA,CAAM,cAL1B,CAAA,OAKgD,MAAA,CAAgB,KALhE,CAAA,CAAA,EAKsE,oBAAA,CAAA,GAAA,CAAA,OALtE;;iBAUN,WAAA,CAViE;EAAA,GAAA;AAAA,CAAA,EAUvC,KAAA,CAAM,cAViC,CAAA,OAUX,MAAA,CAAgB,KAVL,CAAA,CAAA,EAUW,oBAAA,CAAA,GAAA,CAAA,OAVX;;iBAejE,aAAA,CAfsE;EAAA,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAKM,CALN,EAsB5E,KAAA,CAAM,cAtBsE,CAAA,OAsBhD,MAAA,CAAgB,OAtBgC,CAAA,GAAA;EAAA;EAKtE,IAAA,CAAA,EAAA,IAAA,GAAW,SAAA,GAAA,IAAA;EAAA;OAA2C,CAAA,EAAA,MAAgB,GAAA,KAAA;;OAAM,CAAA,EAuB3E,KAAA,CAAM,SAvBqE;AAAA,CAAA,CAAA,EAwBpF,oBAAA,CAAA,GAAA,CAAA,OAxBoF;AAAA;iBAqD5E,aAAA,CAhDW;EAAA,SAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAqDjB,KAAA,CAAM,cArDW,CAAA,OAqDW,MAAA,CAAgB,OArD3B,CAAA,CAAA,EAqDmC,oBAAA,CAAA,GAAA,CAAA,OArDnC;;iBAoFX,WAAA,CApFgC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoFK,KAAA,CAAM,cApFX,CAAA,OAoFiC,MAAA,CAAgB,KApFjD,CAAA,CAAA,EAoFuD,oBAAA,CAAA,GAAA,CAAA,OApFvD;;AAA4C,iBA+F5E,UAAA,CA/F4E;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmGlF,KAAA,CAAM,cAnG4E,CAAA,OAmGtD,MAAA,CAAgB,IAnGsC,CAAA,CAAA,EAmGjC,oBAAA,CAAA,GAAA,CAAA,OAnGiC;AAAA;iBAwH5E,eAAA,CAnHa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsHnB,KAAA,CAAM,cAtHa,CAAA,OAsHS,MAAA,CAAgB,SAtHzB,CAAA,CAAA,EAsHmC,oBAAA,CAAA,GAAA,CAAA,OAtHnC;;iBAiIb,oBAAA,CA/HP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkIC,KAAA,CAAM,cAlIP,CAAA,OAkI6B,MAAA,CAAgB,cAlI7C,CAAA,CAAA,EAkI4D,oBAAA,CAAA,GAAA,CAAA,OAlI5D;;iBA+IO,sBAAA,CA7IP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgJC,KAAA,CAAM,cAhJP,CAAA,OAgJ6B,MAAA,CAAgB,gBAhJ7C,CAAA,CAAA,EAgJ8D,oBAAA,CAAA,GAAA,CAAA,OAhJ9D"}
|
package/dist/index55.d.ts
CHANGED
|
@@ -1,98 +1,69 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
2
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
3
|
+
import { Select } from "radix-ui";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/** Root
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/Select/Select.d.ts
|
|
6
|
+
/** Root of the select. Holds the open/value state and wires the trigger to the content. */
|
|
7
|
+
declare function Select$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
9
|
+
}: React.ComponentProps<typeof Select.Root>): react_jsx_runtime75.JSX.Element;
|
|
10
|
+
/** Groups related items under a shared `SelectLabel` for sectioned menus. */
|
|
11
|
+
declare function SelectGroup({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
13
|
+
}: React.ComponentProps<typeof Select.Group>): react_jsx_runtime75.JSX.Element;
|
|
14
|
+
/** Renders the selected value (or the `placeholder`) inside the trigger. */
|
|
15
|
+
declare function SelectValue({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/**
|
|
19
|
-
declare
|
|
20
|
-
readonly default: "bg-overlay-bg";
|
|
21
|
-
readonly dark: "bg-black/50";
|
|
22
|
-
readonly glass: "bg-glass-40-bg backdrop-blur-glass";
|
|
23
|
-
readonly none: "bg-transparent";
|
|
24
|
-
};
|
|
25
|
-
declare const sheetSizeVariants: {
|
|
26
|
-
readonly small: {
|
|
27
|
-
readonly right: "w-2/3 sm:max-w-xs";
|
|
28
|
-
readonly left: "w-2/3 sm:max-w-xs";
|
|
29
|
-
readonly top: "h-[40vh]";
|
|
30
|
-
readonly bottom: "h-[40vh]";
|
|
31
|
-
};
|
|
32
|
-
readonly default: {
|
|
33
|
-
readonly right: "w-3/4 sm:max-w-sm";
|
|
34
|
-
readonly left: "w-3/4 sm:max-w-sm";
|
|
35
|
-
readonly top: "h-auto";
|
|
36
|
-
readonly bottom: "h-auto";
|
|
37
|
-
};
|
|
38
|
-
readonly medium: {
|
|
39
|
-
readonly right: "w-4/5 sm:max-w-md";
|
|
40
|
-
readonly left: "w-4/5 sm:max-w-md";
|
|
41
|
-
readonly top: "h-[60vh]";
|
|
42
|
-
readonly bottom: "h-[60vh]";
|
|
43
|
-
};
|
|
44
|
-
readonly large: {
|
|
45
|
-
readonly right: "w-11/12 sm:max-w-lg";
|
|
46
|
-
readonly left: "w-11/12 sm:max-w-lg";
|
|
47
|
-
readonly top: "h-[80vh]";
|
|
48
|
-
readonly bottom: "h-[80vh]";
|
|
49
|
-
};
|
|
50
|
-
readonly extraLarge: {
|
|
51
|
-
readonly right: "w-[95vw] sm:max-w-2xl";
|
|
52
|
-
readonly left: "w-[95vw] sm:max-w-2xl";
|
|
53
|
-
readonly top: "h-[95vh]";
|
|
54
|
-
readonly bottom: "h-[95vh]";
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
/** The sliding panel surface (portaled, with its overlay). Holds the header, body, and footer. */
|
|
58
|
-
declare function SheetContent({
|
|
17
|
+
}: React.ComponentProps<typeof Select.Value>): react_jsx_runtime75.JSX.Element;
|
|
18
|
+
/** The clickable control that opens the menu and shows the current value. */
|
|
19
|
+
declare function SelectTrigger({
|
|
59
20
|
className,
|
|
60
|
-
children,
|
|
61
|
-
side,
|
|
62
|
-
showCloseButton,
|
|
63
|
-
overlay,
|
|
64
21
|
size,
|
|
22
|
+
width,
|
|
23
|
+
label,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof Select.Trigger> & {
|
|
27
|
+
/** Trigger height: `sm` (32px), `default` (36px), or `lg` (40px). */
|
|
28
|
+
size?: "sm" | "default" | "lg";
|
|
29
|
+
/** Trigger width: `full` stretches to the container, `fit` hugs the value. */
|
|
30
|
+
width?: "full" | "fit";
|
|
31
|
+
/** Optional stacked label rendered above the value (2-line trigger). */
|
|
32
|
+
label?: React.ReactNode;
|
|
33
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
34
|
+
/** The portalled popover that holds the list of items. */
|
|
35
|
+
declare function SelectContent({
|
|
36
|
+
className,
|
|
37
|
+
children,
|
|
38
|
+
position,
|
|
39
|
+
...props
|
|
40
|
+
}: React.ComponentProps<typeof Select.Content>): react_jsx_runtime75.JSX.Element;
|
|
41
|
+
/** A non-interactive heading for a `SelectGroup`. */
|
|
42
|
+
declare function SelectLabel({
|
|
43
|
+
className,
|
|
65
44
|
...props
|
|
66
|
-
}: React.ComponentProps<typeof
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
/** Whether to render the built-in top-right close (X) button. */
|
|
70
|
-
showCloseButton?: boolean;
|
|
71
|
-
/** Scrim style behind the sheet (e.g. `glass` for drawer patterns). */
|
|
72
|
-
overlay?: keyof typeof sheetOverlayVariants;
|
|
73
|
-
/** Panel size. `default` matches the existing production sizing. */
|
|
74
|
-
size?: keyof typeof sheetSizeVariants;
|
|
75
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
76
|
-
/** Top region of the sheet; typically holds the `SheetTitle` and `SheetDescription`. */
|
|
77
|
-
declare function SheetHeader({
|
|
45
|
+
}: React.ComponentProps<typeof Select.Label>): react_jsx_runtime75.JSX.Element;
|
|
46
|
+
/** A selectable option; its `value` becomes the select's value when chosen. */
|
|
47
|
+
declare function SelectItem({
|
|
78
48
|
className,
|
|
49
|
+
children,
|
|
79
50
|
...props
|
|
80
|
-
}: React.ComponentProps<
|
|
81
|
-
/**
|
|
82
|
-
declare function
|
|
51
|
+
}: React.ComponentProps<typeof Select.Item>): react_jsx_runtime75.JSX.Element;
|
|
52
|
+
/** A thin divider rule between groups or items. */
|
|
53
|
+
declare function SelectSeparator({
|
|
83
54
|
className,
|
|
84
55
|
...props
|
|
85
|
-
}: React.ComponentProps<
|
|
86
|
-
/**
|
|
87
|
-
declare function
|
|
56
|
+
}: React.ComponentProps<typeof Select.Separator>): react_jsx_runtime75.JSX.Element;
|
|
57
|
+
/** Auto-shown scroll affordance at the top of a long, overflowing list. */
|
|
58
|
+
declare function SelectScrollUpButton({
|
|
88
59
|
className,
|
|
89
60
|
...props
|
|
90
|
-
}: React.ComponentProps<typeof
|
|
91
|
-
/**
|
|
92
|
-
declare function
|
|
61
|
+
}: React.ComponentProps<typeof Select.ScrollUpButton>): react_jsx_runtime75.JSX.Element;
|
|
62
|
+
/** Auto-shown scroll affordance at the bottom of a long, overflowing list. */
|
|
63
|
+
declare function SelectScrollDownButton({
|
|
93
64
|
className,
|
|
94
65
|
...props
|
|
95
|
-
}: React.ComponentProps<typeof
|
|
66
|
+
}: React.ComponentProps<typeof Select.ScrollDownButton>): react_jsx_runtime75.JSX.Element;
|
|
96
67
|
//#endregion
|
|
97
|
-
export {
|
|
68
|
+
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select$1 as t, SelectValue as u };
|
|
98
69
|
//# sourceMappingURL=index55.d.ts.map
|
package/dist/index55.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index55.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index55.d.ts","names":[],"sources":["../src/primitives/Select/Select.tsx"],"mappings":";;;;;;iBAQS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AAL3C,iBAU3B,WAAA,CALM;EAAA,GAAA;AAAA,CAAA,EAKoB,KAAA,CAAM,cAL1B,CAAA,OAKgD,MAAA,CAAgB,KALhE,CAAA,CAAA,EAKsE,mBAAA,CAAA,GAAA,CAAA,OALtE;;iBAUN,WAAA,CAViE;EAAA,GAAA;AAAA,CAAA,EAUvC,KAAA,CAAM,cAViC,CAAA,OAUX,MAAA,CAAgB,KAVL,CAAA,CAAA,EAUW,mBAAA,CAAA,GAAA,CAAA,OAVX;;iBAejE,aAAA,CAfsE;EAAA,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAKM,CALN,EAsB5E,KAAA,CAAM,cAtBsE,CAAA,OAsBhD,MAAA,CAAgB,OAtBgC,CAAA,GAAA;EAAA;EAKtE,IAAA,CAAA,EAAA,IAAA,GAAW,SAAA,GAAA,IAAA;EAAA;OAA2C,CAAA,EAAA,MAAgB,GAAA,KAAA;;OAAM,CAAA,EAuB3E,KAAA,CAAM,SAvBqE;AAAA,CAAA,CAAA,EAwBpF,mBAAA,CAAA,GAAA,CAAA,OAxBoF;AAAA;iBAqD5E,aAAA,CAhDW;EAAA,SAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAqDjB,KAAA,CAAM,cArDW,CAAA,OAqDW,MAAA,CAAgB,OArD3B,CAAA,CAAA,EAqDmC,mBAAA,CAAA,GAAA,CAAA,OArDnC;;iBAoFX,WAAA,CApFgC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoFK,KAAA,CAAM,cApFX,CAAA,OAoFiC,MAAA,CAAgB,KApFjD,CAAA,CAAA,EAoFuD,mBAAA,CAAA,GAAA,CAAA,OApFvD;;AAA4C,iBA+F5E,UAAA,CA/F4E;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmGlF,KAAA,CAAM,cAnG4E,CAAA,OAmGtD,MAAA,CAAgB,IAnGsC,CAAA,CAAA,EAmGjC,mBAAA,CAAA,GAAA,CAAA,OAnGiC;AAAA;iBAwH5E,eAAA,CAnHa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsHnB,KAAA,CAAM,cAtHa,CAAA,OAsHS,MAAA,CAAgB,SAtHzB,CAAA,CAAA,EAsHmC,mBAAA,CAAA,GAAA,CAAA,OAtHnC;;iBAiIb,oBAAA,CA/HP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkIC,KAAA,CAAM,cAlIP,CAAA,OAkI6B,MAAA,CAAgB,cAlI7C,CAAA,CAAA,EAkI4D,mBAAA,CAAA,GAAA,CAAA,OAlI5D;;iBA+IO,sBAAA,CA7IP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgJC,KAAA,CAAM,cAhJP,CAAA,OAgJ6B,MAAA,CAAgB,gBAhJ7C,CAAA,CAAA,EAgJ8D,mBAAA,CAAA,GAAA,CAAA,OAhJ9D"}
|