@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/DESIGN.md
CHANGED
|
@@ -370,6 +370,11 @@ translucent+blurred with no border, and needs a textured layer behind it
|
|
|
370
370
|
- **Exports**: Collapsible, CollapsibleTrigger, CollapsibleContent
|
|
371
371
|
- **Notes**: Radix Collapsible passthrough (controlled/uncontrolled via `open`/`defaultOpen`); no styling applied.
|
|
372
372
|
|
|
373
|
+
### Combobox
|
|
374
|
+
- **Exports**: Combobox, ComboboxTrigger, ComboboxContent, ComboboxInput, ComboboxList, ComboboxEmpty, ComboboxGroup, ComboboxItem, ComboboxSeparator
|
|
375
|
+
- **Custom props**: Combobox `value`/`defaultValue`/`onValueChange` + `open`/`defaultOpen`/`onOpenChange` (controlled or uncontrolled, closes on select); ComboboxTrigger `label` (muted `label:` prefix), `placeholder`, `children` (display override for e.g. an initially-selected label); ComboboxContent forwards cmdk `filter`/`shouldFilter`/`loop`; ComboboxItem `value` (required, reported on select), `keywords` (search terms; defaults to item text).
|
|
376
|
+
- **Notes**: Searchable single-select dropdown (shadcn combobox recipe) on `Popover`+`Command`, styled like the Header project picker (pill trigger, bordered search above the list, check on the chosen row). Search matches item text, not `value`. The trigger shows the chosen item's label once items have mounted; for an initially-selected value pass the label as trigger `children`.
|
|
377
|
+
|
|
373
378
|
### Command
|
|
374
379
|
- **Exports**: Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator
|
|
375
380
|
- **Custom props**: CommandDialog `title`/`description` (sr-only a11y strings), `showCloseButton` (default `true`).
|
package/SKILL.md
CHANGED
|
@@ -18,7 +18,7 @@ demonstrably can't produce the design:
|
|
|
18
18
|
1. **Pattern first**: does a pattern (`patterns/Header`, `DataTable`, `Footer`,
|
|
19
19
|
`SectionCard`, `SectionHeading`, `MediaObject`) or layout (`Container`, `Stack`,
|
|
20
20
|
`TwoColumn`, `MultiColumn`, `PageBackground`) already solve it? Use it.
|
|
21
|
-
2. **Primitive second**: compose from `primitives/*` (
|
|
21
|
+
2. **Primitive second**: compose from `primitives/*` (68 of them — check the catalog
|
|
22
22
|
in DESIGN.md §6 before writing anything custom).
|
|
23
23
|
3. **Stock rendering**: render the chosen component with its variants/props as
|
|
24
24
|
designed. Pick the variant from its "Choosing a variant" table in DESIGN.md
|
package/dist/Header.cjs
CHANGED
|
@@ -3,11 +3,11 @@ const require_cn = require("./cn.cjs");
|
|
|
3
3
|
const require_Icon = require("./Icon.cjs");
|
|
4
4
|
const require_primitives_Button_index = require("./primitives/Button/index.cjs");
|
|
5
5
|
const require_primitives_Avatar_index = require("./primitives/Avatar/index.cjs");
|
|
6
|
+
const require_primitives_Input_index = require("./primitives/Input/index.cjs");
|
|
7
|
+
const require_primitives_Popover_index = require("./primitives/Popover/index.cjs");
|
|
6
8
|
const require_primitives_Credits_index = require("./primitives/Credits/index.cjs");
|
|
7
9
|
const require_primitives_DropdownMenu_index = require("./primitives/DropdownMenu/index.cjs");
|
|
8
|
-
const require_primitives_Input_index = require("./primitives/Input/index.cjs");
|
|
9
10
|
const require_Logo = require("./Logo.cjs");
|
|
10
|
-
const require_primitives_Popover_index = require("./primitives/Popover/index.cjs");
|
|
11
11
|
const require_primitives_Skeleton_index = require("./primitives/Skeleton/index.cjs");
|
|
12
12
|
const require_primitives_ThemeProvider_index = require("./primitives/ThemeProvider/index.cjs");
|
|
13
13
|
let react = require("react");
|
package/dist/Header.js
CHANGED
|
@@ -2,11 +2,11 @@ import { t as cn } from "./cn.js";
|
|
|
2
2
|
import { t as Icon } from "./Icon.js";
|
|
3
3
|
import { Button } from "./primitives/Button/index.js";
|
|
4
4
|
import { Avatar, AvatarFallback } from "./primitives/Avatar/index.js";
|
|
5
|
+
import { Input } from "./primitives/Input/index.js";
|
|
6
|
+
import { Popover, PopoverContent, PopoverTrigger } from "./primitives/Popover/index.js";
|
|
5
7
|
import { Credits } from "./primitives/Credits/index.js";
|
|
6
8
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "./primitives/DropdownMenu/index.js";
|
|
7
|
-
import { Input } from "./primitives/Input/index.js";
|
|
8
9
|
import { t as Logo } from "./Logo.js";
|
|
9
|
-
import { Popover, PopoverContent, PopoverTrigger } from "./primitives/Popover/index.js";
|
|
10
10
|
import { Skeleton } from "./primitives/Skeleton/index.js";
|
|
11
11
|
import { useTheme } from "./primitives/ThemeProvider/index.js";
|
|
12
12
|
import * as React from "react";
|
package/dist/index.cjs
CHANGED
|
@@ -23,6 +23,9 @@ const require_primitives_CheckboxTree_index = require("./primitives/CheckboxTree
|
|
|
23
23
|
const require_primitives_Collapsible_index = require("./primitives/Collapsible/index.cjs");
|
|
24
24
|
const require_primitives_Dialog_index = require("./primitives/Dialog/index.cjs");
|
|
25
25
|
const require_primitives_Command_index = require("./primitives/Command/index.cjs");
|
|
26
|
+
const require_primitives_Input_index = require("./primitives/Input/index.cjs");
|
|
27
|
+
const require_primitives_Popover_index = require("./primitives/Popover/index.cjs");
|
|
28
|
+
const require_primitives_Combobox_index = require("./primitives/Combobox/index.cjs");
|
|
26
29
|
const require_primitives_ContextMenu_index = require("./primitives/ContextMenu/index.cjs");
|
|
27
30
|
const require_primitives_Credits_index = require("./primitives/Credits/index.cjs");
|
|
28
31
|
const require_primitives_Drawer_index = require("./primitives/Drawer/index.cjs");
|
|
@@ -36,7 +39,6 @@ const require_primitives_Form_index = require("./primitives/Form/index.cjs");
|
|
|
36
39
|
const require_primitives_Heading_index = require("./primitives/Heading/index.cjs");
|
|
37
40
|
const require_primitives_HoverCard_index = require("./primitives/HoverCard/index.cjs");
|
|
38
41
|
const require_primitives_InfoBanner_index = require("./primitives/InfoBanner/index.cjs");
|
|
39
|
-
const require_primitives_Input_index = require("./primitives/Input/index.cjs");
|
|
40
42
|
const require_primitives_Textarea_index = require("./primitives/Textarea/index.cjs");
|
|
41
43
|
const require_primitives_InputGroup_index = require("./primitives/InputGroup/index.cjs");
|
|
42
44
|
const require_primitives_InputOtp_index = require("./primitives/InputOtp/index.cjs");
|
|
@@ -49,7 +51,6 @@ const require_primitives_Resizable_index = require("./primitives/Resizable/index
|
|
|
49
51
|
const require_Mosaic = require("./Mosaic.cjs");
|
|
50
52
|
const require_primitives_NativeSelect_index = require("./primitives/NativeSelect/index.cjs");
|
|
51
53
|
const require_primitives_NavigationMenu_index = require("./primitives/NavigationMenu/index.cjs");
|
|
52
|
-
const require_primitives_Popover_index = require("./primitives/Popover/index.cjs");
|
|
53
54
|
const require_primitives_Tooltip_index = require("./primitives/Tooltip/index.cjs");
|
|
54
55
|
const require_patterns_NavRail_index = require("./patterns/NavRail/index.cjs");
|
|
55
56
|
const require_primitives_NotchedCard_index = require("./primitives/NotchedCard/index.cjs");
|
|
@@ -142,6 +143,15 @@ exports.CircularProgress = require_primitives_CircularProgress_index.CircularPro
|
|
|
142
143
|
exports.Collapsible = require_primitives_Collapsible_index.Collapsible;
|
|
143
144
|
exports.CollapsibleContent = require_primitives_Collapsible_index.CollapsibleContent;
|
|
144
145
|
exports.CollapsibleTrigger = require_primitives_Collapsible_index.CollapsibleTrigger;
|
|
146
|
+
exports.Combobox = require_primitives_Combobox_index.Combobox;
|
|
147
|
+
exports.ComboboxContent = require_primitives_Combobox_index.ComboboxContent;
|
|
148
|
+
exports.ComboboxEmpty = require_primitives_Combobox_index.ComboboxEmpty;
|
|
149
|
+
exports.ComboboxGroup = require_primitives_Combobox_index.ComboboxGroup;
|
|
150
|
+
exports.ComboboxInput = require_primitives_Combobox_index.ComboboxInput;
|
|
151
|
+
exports.ComboboxItem = require_primitives_Combobox_index.ComboboxItem;
|
|
152
|
+
exports.ComboboxList = require_primitives_Combobox_index.ComboboxList;
|
|
153
|
+
exports.ComboboxSeparator = require_primitives_Combobox_index.ComboboxSeparator;
|
|
154
|
+
exports.ComboboxTrigger = require_primitives_Combobox_index.ComboboxTrigger;
|
|
145
155
|
exports.Command = require_primitives_Command_index.Command;
|
|
146
156
|
exports.CommandDialog = require_primitives_Command_index.CommandDialog;
|
|
147
157
|
exports.CommandEmpty = require_primitives_Command_index.CommandEmpty;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime296 from "react/jsx-runtime";
|
|
2
2
|
import { Accordion } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Accordion/Accordion.d.ts
|
|
@@ -10,24 +10,24 @@ declare function Accordion$1({
|
|
|
10
10
|
}: React.ComponentProps<typeof Accordion.Root> & {
|
|
11
11
|
/** Visual style: `line` (divider rows) or `bordered` (rounded border with inset rows). */
|
|
12
12
|
variant?: "line" | "bordered";
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime296.JSX.Element;
|
|
14
14
|
/** A single collapsible section; identified by its required `value`. */
|
|
15
15
|
declare function AccordionItem({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Accordion.Item>):
|
|
18
|
+
}: React.ComponentProps<typeof Accordion.Item>): react_jsx_runtime296.JSX.Element;
|
|
19
19
|
/** The clickable header that toggles its section open or closed. */
|
|
20
20
|
declare function AccordionTrigger({
|
|
21
21
|
className,
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Accordion.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Accordion.Trigger>): react_jsx_runtime296.JSX.Element;
|
|
25
25
|
/** The animated collapsible panel revealed when its section is open. */
|
|
26
26
|
declare function AccordionContent({
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Accordion.Content>):
|
|
30
|
+
}: React.ComponentProps<typeof Accordion.Content>): react_jsx_runtime296.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { AccordionTrigger as i, AccordionContent as n, AccordionItem as r, Accordion$1 as t };
|
|
33
33
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime350 from "react/jsx-runtime";
|
|
2
2
|
import { Accordion } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Accordion/Accordion.d.ts
|
|
@@ -10,24 +10,24 @@ declare function Accordion$1({
|
|
|
10
10
|
}: React.ComponentProps<typeof Accordion.Root> & {
|
|
11
11
|
/** Visual style: `line` (divider rows) or `bordered` (rounded border with inset rows). */
|
|
12
12
|
variant?: "line" | "bordered";
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime350.JSX.Element;
|
|
14
14
|
/** A single collapsible section; identified by its required `value`. */
|
|
15
15
|
declare function AccordionItem({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Accordion.Item>):
|
|
18
|
+
}: React.ComponentProps<typeof Accordion.Item>): react_jsx_runtime350.JSX.Element;
|
|
19
19
|
/** The clickable header that toggles its section open or closed. */
|
|
20
20
|
declare function AccordionTrigger({
|
|
21
21
|
className,
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Accordion.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Accordion.Trigger>): react_jsx_runtime350.JSX.Element;
|
|
25
25
|
/** The animated collapsible panel revealed when its section is open. */
|
|
26
26
|
declare function AccordionContent({
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Accordion.Content>):
|
|
30
|
+
}: React.ComponentProps<typeof Accordion.Content>): react_jsx_runtime350.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { AccordionTrigger as i, AccordionContent as n, AccordionItem as r, Accordion$1 as t };
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,9 @@ import { CheckboxTree } from "./primitives/CheckboxTree/index.js";
|
|
|
22
22
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./primitives/Collapsible/index.js";
|
|
23
23
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./primitives/Dialog/index.js";
|
|
24
24
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./primitives/Command/index.js";
|
|
25
|
+
import { Input, inputVariants } from "./primitives/Input/index.js";
|
|
26
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from "./primitives/Popover/index.js";
|
|
27
|
+
import { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxList, ComboboxSeparator, ComboboxTrigger } from "./primitives/Combobox/index.js";
|
|
25
28
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./primitives/ContextMenu/index.js";
|
|
26
29
|
import { Credits, creditsVariants } from "./primitives/Credits/index.js";
|
|
27
30
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./primitives/Drawer/index.js";
|
|
@@ -35,7 +38,6 @@ import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, For
|
|
|
35
38
|
import { Heading, headingVariants } from "./primitives/Heading/index.js";
|
|
36
39
|
import { HoverCard, HoverCardContent, HoverCardTrigger } from "./primitives/HoverCard/index.js";
|
|
37
40
|
import { InfoBanner, infoBannerVariants } from "./primitives/InfoBanner/index.js";
|
|
38
|
-
import { Input, inputVariants } from "./primitives/Input/index.js";
|
|
39
41
|
import { Textarea, textareaVariants } from "./primitives/Textarea/index.js";
|
|
40
42
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./primitives/InputGroup/index.js";
|
|
41
43
|
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "./primitives/InputOtp/index.js";
|
|
@@ -48,7 +50,6 @@ import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./primitiv
|
|
|
48
50
|
import { n as MosaicWindow, t as Mosaic } from "./Mosaic.js";
|
|
49
51
|
import { NativeSelect, nativeSelectVariants } from "./primitives/NativeSelect/index.js";
|
|
50
52
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from "./primitives/NavigationMenu/index.js";
|
|
51
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from "./primitives/Popover/index.js";
|
|
52
53
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./primitives/Tooltip/index.js";
|
|
53
54
|
import { NavRail, NavRailItem, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuTrigger, NavRailSeparator, NavRailUser } from "./patterns/NavRail/index.js";
|
|
54
55
|
import { NotchedCard, buildNotchedCardPath, notchedCardVariants } from "./primitives/NotchedCard/index.js";
|
|
@@ -75,4 +76,4 @@ import { Stack, stackVariants } from "./layouts/Stack/index.js";
|
|
|
75
76
|
import { TwoColumn, TwoColumnAside, TwoColumnMain, twoColumnVariants } from "./layouts/TwoColumn/index.js";
|
|
76
77
|
import "./layouts/index.js";
|
|
77
78
|
import "./contexts/index.js";
|
|
78
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxTree, CircularProgress, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Credits, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, HoverCard, HoverCardContent, HoverCardTrigger, ICON_NAMES, Icon, InfoBanner, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, Logo, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Mosaic, MosaicWindow, MultiColumn, MultiColumnItem, NativeSelect, NavRail, NavRailItem, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuTrigger, NavRailSeparator, NavRailUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotchedCard, PageBackground, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichCheckbox, RichRadioItem, RichSwitchGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonAvatar, SkeletonLine, SkeletonObject, Slider, Spinner, Stack, Switch, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, Text, Textarea, ThemeContext, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoColumn, TwoColumnAside, TwoColumnMain, badgeVariants, buildNotchedCardPath, buttonGroupVariants, buttonVariants, cardVariants, cn, containerVariants, creditsVariants, emptyVariants, headingVariants, infoBannerVariants, inputVariants, linkVariants, multiColumnVariants, nativeSelectVariants, navigationMenuTriggerStyle, notchedCardVariants, stackVariants, tabsListVariants, tabsTriggerVariants, textVariants, textareaVariants, toggleVariants, twoColumnVariants, useFormField, useIsMobile, useSidebar, useTheme };
|
|
79
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxTree, CircularProgress, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxList, ComboboxSeparator, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Credits, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, HoverCard, HoverCardContent, HoverCardTrigger, ICON_NAMES, Icon, InfoBanner, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, Logo, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Mosaic, MosaicWindow, MultiColumn, MultiColumnItem, NativeSelect, NavRail, NavRailItem, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuTrigger, NavRailSeparator, NavRailUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotchedCard, PageBackground, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichCheckbox, RichRadioItem, RichSwitchGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonAvatar, SkeletonLine, SkeletonObject, Slider, Spinner, Stack, Switch, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, Text, Textarea, ThemeContext, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoColumn, TwoColumnAside, TwoColumnMain, badgeVariants, buildNotchedCardPath, buttonGroupVariants, buttonVariants, cardVariants, cn, containerVariants, creditsVariants, emptyVariants, headingVariants, infoBannerVariants, inputVariants, linkVariants, multiColumnVariants, nativeSelectVariants, navigationMenuTriggerStyle, notchedCardVariants, stackVariants, tabsListVariants, tabsTriggerVariants, textVariants, textareaVariants, toggleVariants, twoColumnVariants, useFormField, useIsMobile, useSidebar, useTheme };
|
package/dist/index10.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Separator } from "./index9.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime170 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/ButtonGroup/ButtonGroup.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
|
-
orientation?: "
|
|
9
|
-
} &
|
|
8
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
10
10
|
/** Props for the {@link ButtonGroup} container. */
|
|
11
11
|
type ButtonGroupProps = React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
|
|
12
12
|
/** Groups related buttons into a single attached unit with merged borders and shared corners. */
|
|
@@ -15,7 +15,7 @@ declare function ButtonGroup({
|
|
|
15
15
|
/** Lays the group out left-to-right (`horizontal`, default) or stacked (`vertical`). */
|
|
16
16
|
orientation,
|
|
17
17
|
...props
|
|
18
|
-
}: ButtonGroupProps):
|
|
18
|
+
}: ButtonGroupProps): react_jsx_runtime170.JSX.Element;
|
|
19
19
|
/** A non-interactive label/affix segment styled to sit inline with the grouped buttons. */
|
|
20
20
|
declare function ButtonGroupText({
|
|
21
21
|
className,
|
|
@@ -25,14 +25,14 @@ declare function ButtonGroupText({
|
|
|
25
25
|
}: React.ComponentProps<"div"> & {
|
|
26
26
|
/** Renders into the child element via Radix `Slot` instead of a wrapping `div`. */
|
|
27
27
|
asChild?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime170.JSX.Element;
|
|
29
29
|
/** A divider between segments inside a {@link ButtonGroup}, defaulting to a vertical rule. */
|
|
30
30
|
declare function ButtonGroupSeparator({
|
|
31
31
|
className,
|
|
32
32
|
/** Divider direction; defaults to `vertical` to split horizontally-laid buttons. */
|
|
33
33
|
orientation,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Separator>):
|
|
35
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime170.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { buttonGroupVariants as i, ButtonGroupSeparator as n, ButtonGroupText as r, ButtonGroup as t };
|
|
38
38
|
//# sourceMappingURL=index10.d.cts.map
|
package/dist/index10.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index10.d.cts","names":[],"sources":["../src/primitives/ButtonGroup/ButtonGroup.tsx"],"mappings":";;;;;;cAMM;;IAeL
|
|
1
|
+
{"version":3,"file":"index10.d.cts","names":[],"sources":["../src/primitives/ButtonGroup/ButtonGroup.tsx"],"mappings":";;;;;;cAMM;;IAeL,gCAAA,CAAA;;AAlBkD,KAqB9C,gBAAA,GAAmB,KAAA,CAAM,cAH7B,CAAA,KAAA,CAAA,GAGqD,YAHrD,CAAA,OAGyE,mBAHzE,CAAA;;iBAMQ,WAAA,CAHY;EAAA,SAAA;;aAAqD;EAAA,GAAA;AAAA,CAAA,EAQvE,gBARuE,CAAA,EAQvD,oBAAA,CAAA,GAAA,CAAA,OARuD;;AAAR,iBAqBzD,eAAA,CArByD;EAAA,SAAA;EAAA;SAG9C;EAAA,GAAA;CAAA,EAuBjB,KAAA,CAAM,cAvBW,CAAA,KAAA,CAAA,GAAA;;SAGlB,CAAA,EAAA,OAAA;IAuBD,oBAAA,CAAA,GAAA,CAAA,OArBE;;AAAgB,iBAoCV,oBAAA,CApCU;EAAA,SAAA;EAAA;aAaK;EAAA,GAAA;AAAA,CAAA,EA4BrB,KAAA,CAAM,cA5Be,CAAA,OA4BO,SA5BP,CAAA,CAAA,EA4BiB,oBAAA,CAAA,GAAA,CAAA,OA5BjB"}
|
package/dist/index10.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Separator } from "./index9.js";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime272 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types20 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/ButtonGroup/ButtonGroup.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
10
10
|
/** Props for the {@link ButtonGroup} container. */
|
|
11
11
|
type ButtonGroupProps = React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
|
|
12
12
|
/** Groups related buttons into a single attached unit with merged borders and shared corners. */
|
|
@@ -15,7 +15,7 @@ declare function ButtonGroup({
|
|
|
15
15
|
/** Lays the group out left-to-right (`horizontal`, default) or stacked (`vertical`). */
|
|
16
16
|
orientation,
|
|
17
17
|
...props
|
|
18
|
-
}: ButtonGroupProps):
|
|
18
|
+
}: ButtonGroupProps): react_jsx_runtime272.JSX.Element;
|
|
19
19
|
/** A non-interactive label/affix segment styled to sit inline with the grouped buttons. */
|
|
20
20
|
declare function ButtonGroupText({
|
|
21
21
|
className,
|
|
@@ -25,14 +25,14 @@ declare function ButtonGroupText({
|
|
|
25
25
|
}: React.ComponentProps<"div"> & {
|
|
26
26
|
/** Renders into the child element via Radix `Slot` instead of a wrapping `div`. */
|
|
27
27
|
asChild?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime272.JSX.Element;
|
|
29
29
|
/** A divider between segments inside a {@link ButtonGroup}, defaulting to a vertical rule. */
|
|
30
30
|
declare function ButtonGroupSeparator({
|
|
31
31
|
className,
|
|
32
32
|
/** Divider direction; defaults to `vertical` to split horizontally-laid buttons. */
|
|
33
33
|
orientation,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Separator>):
|
|
35
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime272.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { buttonGroupVariants as i, ButtonGroupSeparator as n, ButtonGroupText as r, ButtonGroup as t };
|
|
38
38
|
//# sourceMappingURL=index10.d.ts.map
|
package/dist/index11.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Button } from "./index8.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime335 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
5
|
|
|
@@ -17,14 +17,14 @@ declare function Calendar({
|
|
|
17
17
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
18
18
|
/** Button variant used for the previous/next navigation controls. */
|
|
19
19
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime335.JSX.Element;
|
|
21
21
|
/** Single day cell button, applying selected/range styling from the day's modifiers. */
|
|
22
22
|
declare function CalendarDayButton({
|
|
23
23
|
className,
|
|
24
24
|
day,
|
|
25
25
|
modifiers,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof DayButton>):
|
|
27
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime335.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CalendarDayButton as n, Calendar as t };
|
|
30
30
|
//# sourceMappingURL=index11.d.cts.map
|
package/dist/index11.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Button } from "./index8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime180 from "react/jsx-runtime";
|
|
4
4
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Calendar/Calendar.d.ts
|
|
@@ -17,14 +17,14 @@ declare function Calendar({
|
|
|
17
17
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
18
18
|
/** Button variant used for the previous/next navigation controls. */
|
|
19
19
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime180.JSX.Element;
|
|
21
21
|
/** Single day cell button, applying selected/range styling from the day's modifiers. */
|
|
22
22
|
declare function CalendarDayButton({
|
|
23
23
|
className,
|
|
24
24
|
day,
|
|
25
25
|
modifiers,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof DayButton>):
|
|
27
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime180.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CalendarDayButton as n, Calendar as t };
|
|
30
30
|
//# sourceMappingURL=index11.d.ts.map
|
package/dist/index12.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime185 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types15 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Card/Card.d.ts
|
|
7
7
|
declare const cardVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "
|
|
9
|
-
tint?: "
|
|
10
|
-
} &
|
|
8
|
+
variant?: "default" | "ai" | "inverted" | "glass" | "brand" | null | undefined;
|
|
9
|
+
tint?: "medium" | "light" | "subtle" | "heavy" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
11
11
|
type CardProps = React.ComponentProps<"div"> & VariantProps<typeof cardVariants> & {
|
|
12
12
|
/** Surface treatment of the card. Default `default` (solid surface). */
|
|
13
13
|
variant?: VariantProps<typeof cardVariants>["variant"];
|
|
@@ -20,7 +20,7 @@ declare function Card({
|
|
|
20
20
|
variant,
|
|
21
21
|
tint,
|
|
22
22
|
...props
|
|
23
|
-
}: CardProps):
|
|
23
|
+
}: CardProps): react_jsx_runtime185.JSX.Element;
|
|
24
24
|
declare const cardHeaderAlign: {
|
|
25
25
|
readonly start: "items-start";
|
|
26
26
|
readonly center: "items-center";
|
|
@@ -34,28 +34,28 @@ declare function CardHeader({
|
|
|
34
34
|
}: React.ComponentProps<"div"> & {
|
|
35
35
|
/** Vertical alignment of the header items. Default `center`. */
|
|
36
36
|
align?: keyof typeof cardHeaderAlign;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime185.JSX.Element;
|
|
38
38
|
/** Card heading rendered as an `h4`. Figma binds the body font (Inter Semibold
|
|
39
39
|
16/24), so we override the base heading styles explicitly. */
|
|
40
40
|
declare function CardTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"div">):
|
|
43
|
+
}: React.ComponentProps<"div">): react_jsx_runtime185.JSX.Element;
|
|
44
44
|
/** Muted supporting text shown beneath the title. */
|
|
45
45
|
declare function CardDescription({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"div">):
|
|
48
|
+
}: React.ComponentProps<"div">): react_jsx_runtime185.JSX.Element;
|
|
49
49
|
/** Action slot in the header row, aligned to the end alongside the title. */
|
|
50
50
|
declare function CardAction({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"div">):
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime185.JSX.Element;
|
|
54
54
|
/** Main body region of the card. */
|
|
55
55
|
declare function CardContent({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<"div">):
|
|
58
|
+
}: React.ComponentProps<"div">): react_jsx_runtime185.JSX.Element;
|
|
59
59
|
declare const cardFooterTone: {
|
|
60
60
|
readonly default: "px-6 pb-6 [.border-t]:pt-6";
|
|
61
61
|
readonly brand: "justify-center rounded-b-8 bg-brand-200 px-6 py-3 text-brand-800";
|
|
@@ -70,7 +70,7 @@ declare function CardFooter({
|
|
|
70
70
|
}: React.ComponentProps<"div"> & {
|
|
71
71
|
/** Footer fill. `brand`/`muted` render a full-width tinted band. */
|
|
72
72
|
tone?: keyof typeof cardFooterTone;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime185.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { CardFooter as a, CardTitle as c, CardDescription as i, cardVariants as l, CardAction as n, CardHeader as o, CardContent as r, CardProps as s, Card as t };
|
|
76
76
|
//# sourceMappingURL=index12.d.cts.map
|
package/dist/index12.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Card/Card.d.ts
|
|
7
7
|
declare const cardVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "glass" | "
|
|
9
|
-
tint?: "
|
|
10
|
-
} &
|
|
8
|
+
variant?: "default" | "glass" | "inverted" | "brand" | "ai" | null | undefined;
|
|
9
|
+
tint?: "subtle" | "medium" | "light" | "heavy" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
11
11
|
type CardProps = React.ComponentProps<"div"> & VariantProps<typeof cardVariants> & {
|
|
12
12
|
/** Surface treatment of the card. Default `default` (solid surface). */
|
|
13
13
|
variant?: VariantProps<typeof cardVariants>["variant"];
|
|
@@ -20,7 +20,7 @@ declare function Card({
|
|
|
20
20
|
variant,
|
|
21
21
|
tint,
|
|
22
22
|
...props
|
|
23
|
-
}: CardProps):
|
|
23
|
+
}: CardProps): react_jsx_runtime66.JSX.Element;
|
|
24
24
|
declare const cardHeaderAlign: {
|
|
25
25
|
readonly start: "items-start";
|
|
26
26
|
readonly center: "items-center";
|
|
@@ -34,28 +34,28 @@ declare function CardHeader({
|
|
|
34
34
|
}: React.ComponentProps<"div"> & {
|
|
35
35
|
/** Vertical alignment of the header items. Default `center`. */
|
|
36
36
|
align?: keyof typeof cardHeaderAlign;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
38
38
|
/** Card heading rendered as an `h4`. Figma binds the body font (Inter Semibold
|
|
39
39
|
16/24), so we override the base heading styles explicitly. */
|
|
40
40
|
declare function CardTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"div">):
|
|
43
|
+
}: React.ComponentProps<"div">): react_jsx_runtime66.JSX.Element;
|
|
44
44
|
/** Muted supporting text shown beneath the title. */
|
|
45
45
|
declare function CardDescription({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"div">):
|
|
48
|
+
}: React.ComponentProps<"div">): react_jsx_runtime66.JSX.Element;
|
|
49
49
|
/** Action slot in the header row, aligned to the end alongside the title. */
|
|
50
50
|
declare function CardAction({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"div">):
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime66.JSX.Element;
|
|
54
54
|
/** Main body region of the card. */
|
|
55
55
|
declare function CardContent({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<"div">):
|
|
58
|
+
}: React.ComponentProps<"div">): react_jsx_runtime66.JSX.Element;
|
|
59
59
|
declare const cardFooterTone: {
|
|
60
60
|
readonly default: "px-6 pb-6 [.border-t]:pt-6";
|
|
61
61
|
readonly brand: "justify-center rounded-b-8 bg-brand-200 px-6 py-3 text-brand-800";
|
|
@@ -70,7 +70,7 @@ declare function CardFooter({
|
|
|
70
70
|
}: React.ComponentProps<"div"> & {
|
|
71
71
|
/** Footer fill. `brand`/`muted` render a full-width tinted band. */
|
|
72
72
|
tone?: keyof typeof cardFooterTone;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { CardFooter as a, CardTitle as c, CardDescription as i, cardVariants as l, CardAction as n, CardHeader as o, CardContent as r, CardProps as s, Card as t };
|
|
76
76
|
//# sourceMappingURL=index12.d.ts.map
|
package/dist/index12.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index12.d.ts","names":[],"sources":["../src/primitives/Card/Card.tsx"],"mappings":";;;;;;cAOM;;;IAuCJ,
|
|
1
|
+
{"version":3,"file":"index12.d.ts","names":[],"sources":["../src/primitives/Card/Card.tsx"],"mappings":";;;;;;cAOM;;;IAuCJ,+BAAA,CAAA;AA7CkC,KA+C/B,SAAA,GAAY,KAAA,CAAM,cAFrB,CAAA,KAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,YAHpB,CAAA,GAAA;EAEG;EAAS,OAAA,CAAA,EAGA,YAHA,CAAA,OAGoB,YAHpB,CAAA,CAAA,SAAA,CAAA;;MACQ,CAAA,EAIX,YAJW,CAAA,OAIS,YAJT,CAAA,CAAA,MAAA,CAAA;;;iBAQb,IAAA,CANK;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAMwC,SANxC,CAAA,EAMiD,mBAAA,CAAA,GAAA,CAAA,OANjD;cAkBR,eAhByB,EAAA;WAApB,KAAA,EAAA,aAAA;EAAY,SAAA,MAAA,EAAA,cAAA;EAId,SAAI,GAAA,EAAA,WAAA;CAAA;;iBAmBJ,UAAA,CAnBkB;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;CAAA,EAuBxB,KAAA,CAAM,cAvBkB,CAAA,KAAA,CAAA,GAAA;;OAA2B,CAAA,EAAA,MAAA,OAyB/B,eAzB+B;IA0BrD,mBAAA,CAAA,GAAA,CAAA,OA1B8D;AAAA;AAAA;AAgBrD,iBA0BD,SAAA,CAvBU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuByB,KAAA,CAAM,cAvB/B,CAAA,KAAA,CAAA,CAAA,EAuBoD,mBAAA,CAAA,GAAA,CAAA,OAvBpD;;iBAkCV,eAAA,CAjCP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiCgD,KAAA,CAAM,cAjCtD,CAAA,KAAA,CAAA,CAAA,EAiC2E,mBAAA,CAAA,GAAA,CAAA,OAjC3E;;iBA4CO,UAAA,CAzCA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCoC,KAAA,CAAM,cAzC1C,CAAA,KAAA,CAAA,CAAA,EAyC+D,mBAAA,CAAA,GAAA,CAAA,OAzC/D;;iBAuDA,WAAA,CApDR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoD6C,KAAA,CAAM,cApDnD,CAAA,KAAA,CAAA,CAAA,EAoDwE,mBAAA,CAAA,GAAA,CAAA,OApDxE;AAAA,cAiEK,cAjEL,EAAA;EAgBQ,SAAA,OAAS,EAAA,4BAAA;EAAA,SAAA,KAAA,EAAA,kEAAA;WAAG,KAAA,EAAA,iEAAA;WAA6B,IAAA,EAAA,wEAAA;;AAAqB;AAAA,iBA0D9D,UAAA,CA/Ce;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAmDrB,KAAA,CAAM,cAnDe,CAAA,KAAA,CAAA,GAAA;EAAA;MAAG,CAAA,EAAA,MAAA,OAqDL,cArDK;IAsD1B,mBAAA,CAAA,GAAA,CAAA,OAtDuD"}
|
package/dist/index13.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Button } from "./index8.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime173 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
5
5
|
|
|
@@ -27,31 +27,31 @@ declare function Carousel({
|
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & CarouselProps):
|
|
30
|
+
}: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime173.JSX.Element;
|
|
31
31
|
/** Scroll viewport that lays out the slides along the carousel's axis. */
|
|
32
32
|
declare function CarouselContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime173.JSX.Element;
|
|
36
36
|
/** A single slide within `CarouselContent`. */
|
|
37
37
|
declare function CarouselItem({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime173.JSX.Element;
|
|
41
41
|
/** Button that scrolls to the previous slide; auto-disables at the start. */
|
|
42
42
|
declare function CarouselPrevious({
|
|
43
43
|
className,
|
|
44
44
|
variant,
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Button>):
|
|
47
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime173.JSX.Element;
|
|
48
48
|
/** Button that scrolls to the next slide; auto-disables at the end. */
|
|
49
49
|
declare function CarouselNext({
|
|
50
50
|
className,
|
|
51
51
|
variant,
|
|
52
52
|
size,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof Button>):
|
|
54
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime173.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
|
|
57
57
|
//# sourceMappingURL=index13.d.cts.map
|
package/dist/index13.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Button } from "./index8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
4
4
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Carousel/Carousel.d.ts
|
|
@@ -27,31 +27,31 @@ declare function Carousel({
|
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & CarouselProps):
|
|
30
|
+
}: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime29.JSX.Element;
|
|
31
31
|
/** Scroll viewport that lays out the slides along the carousel's axis. */
|
|
32
32
|
declare function CarouselContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime29.JSX.Element;
|
|
36
36
|
/** A single slide within `CarouselContent`. */
|
|
37
37
|
declare function CarouselItem({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime29.JSX.Element;
|
|
41
41
|
/** Button that scrolls to the previous slide; auto-disables at the start. */
|
|
42
42
|
declare function CarouselPrevious({
|
|
43
43
|
className,
|
|
44
44
|
variant,
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Button>):
|
|
47
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime29.JSX.Element;
|
|
48
48
|
/** Button that scrolls to the next slide; auto-disables at the end. */
|
|
49
49
|
declare function CarouselNext({
|
|
50
50
|
className,
|
|
51
51
|
variant,
|
|
52
52
|
size,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof Button>):
|
|
54
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime29.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
|
|
57
57
|
//# sourceMappingURL=index13.d.ts.map
|
package/dist/index13.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.d.ts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;KAUK,WAAA,GAAc;KACd,qBAAA,GAAwB,kBAAkB;KAC1C,eAAA,GAAkB;AALsB,KAMxC,cAAA,GAAiB,qBAHH,CAAA,CAAA,CAAA;AAAoB,KAKlC,aAAA,GAJA;EAAqB;MAAqB,CAAA,EAMtC,eANsC;;EAAR,OAAA,CAAA,EAQ3B,cAR2B;EAClC;EACA,WAAA,CAAA,EAAA,YAAc,GAAG,UAAA;EAEjB;EAAa,MAAA,CAAA,EAAA,CAAA,GAAA,EAQD,WARC,EAAA,GAAA,IAAA;;;iBAiCT,QAAA,CAzBQ;EAAA,WAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiCd,KAAA,CAAM,cAjCQ,CAAA,KAAA,CAAA,GAiCgB,aAjChB,CAAA,EAiC6B,
|
|
1
|
+
{"version":3,"file":"index13.d.ts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;KAUK,WAAA,GAAc;KACd,qBAAA,GAAwB,kBAAkB;KAC1C,eAAA,GAAkB;AALsB,KAMxC,cAAA,GAAiB,qBAHH,CAAA,CAAA,CAAA;AAAoB,KAKlC,aAAA,GAJA;EAAqB;MAAqB,CAAA,EAMtC,eANsC;;EAAR,OAAA,CAAA,EAQ3B,cAR2B;EAClC;EACA,WAAA,CAAA,EAAA,YAAc,GAAG,UAAA;EAEjB;EAAa,MAAA,CAAA,EAAA,CAAA,GAAA,EAQD,WARC,EAAA,GAAA,IAAA;;;iBAiCT,QAAA,CAzBQ;EAAA,WAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiCd,KAAA,CAAM,cAjCQ,CAAA,KAAA,CAAA,GAiCgB,aAjChB,CAAA,EAiC6B,mBAAA,CAAA,GAAA,CAAA,OAjC7B;AAAW;AAAA,iBAmHnB,eAAA,CA1FQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0FiC,KAAA,CAAM,cA1FvC,CAAA,KAAA,CAAA,CAAA,EA0F4D,mBAAA,CAAA,GAAA,CAAA,OA1F5D;;iBAwGR,YAAA,CAvGP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuG6C,KAAA,CAAM,cAvGnD,CAAA,KAAA,CAAA,CAAA,EAuGwE,mBAAA,CAAA,GAAA,CAAA,OAvGxE;;iBA0HO,gBAAA,CAxHP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA6HC,KAAA,CAAM,cA7HP,CAAA,OA6H6B,MA7H7B,CAAA,CAAA,EA6HoC,mBAAA,CAAA,GAAA,CAAA,OA7HpC;;iBAuJO,YAAA,CArJP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA0JC,KAAA,CAAM,cA1JP,CAAA,OA0J6B,MA1J7B,CAAA,CAAA,EA0JoC,mBAAA,CAAA,GAAA,CAAA,OA1JpC"}
|