@psnext/design-system 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +5 -0
- package/SKILL.md +1 -1
- package/dist/Header.cjs +2 -2
- package/dist/Header.js +2 -2
- package/dist/index.cjs +12 -2
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -3
- package/dist/index10.d.cts +7 -7
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +6 -6
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index13.d.ts.map +1 -1
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +2 -2
- package/dist/index15.d.ts +2 -2
- package/dist/index16.d.cts +3 -3
- package/dist/index16.d.ts +3 -3
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.cts +2 -2
- package/dist/index17.d.ts +2 -2
- package/dist/index18.d.cts +4 -4
- package/dist/index18.d.ts +4 -4
- package/dist/index19.d.cts +11 -11
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +11 -11
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.ts +8 -8
- package/dist/index20.d.cts +10 -10
- package/dist/index20.d.ts +10 -10
- package/dist/index21.d.cts +30 -81
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +30 -81
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +109 -27
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +109 -27
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +75 -53
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +75 -53
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +28 -93
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +28 -93
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +58 -33
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +58 -33
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +93 -11
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +93 -11
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +32 -63
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +32 -63
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +11 -48
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +11 -48
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +68 -59
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +68 -59
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.ts +13 -13
- package/dist/index30.d.cts +47 -30
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +47 -30
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +63 -17
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +63 -17
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +29 -80
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +29 -80
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +19 -34
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +19 -34
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +80 -18
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +80 -18
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +32 -51
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +32 -51
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +19 -36
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +19 -36
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +43 -61
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +43 -61
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +35 -11
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +35 -11
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +68 -20
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +66 -18
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index40.d.cts +14 -15
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +14 -15
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +22 -98
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +22 -98
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +15 -120
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +15 -120
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +99 -16
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +99 -16
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +118 -49
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +118 -49
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +16 -39
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +16 -39
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +37 -77
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +37 -77
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +96 -1
- package/dist/index47.d.cts.map +1 -0
- package/dist/index47.d.ts +96 -1
- package/dist/index47.d.ts.map +1 -0
- package/dist/index48.d.cts +1 -127
- package/dist/index48.d.ts +1 -127
- package/dist/index49.d.cts +121 -42
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +121 -42
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +42 -22
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +42 -22
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +21 -34
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +21 -34
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +33 -17
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +33 -17
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +18 -14
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +18 -14
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +12 -60
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +12 -60
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +51 -80
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +51 -80
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +91 -24
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +91 -24
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +25 -203
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +25 -203
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +198 -15
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +198 -15
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +21 -23
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +21 -23
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +21 -18
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +21 -18
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +21 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +21 -8
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +6 -44
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +6 -44
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +46 -47
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +46 -47
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +47 -59
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +47 -59
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +56 -38
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +56 -38
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +37 -16
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +35 -14
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +20 -41
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +20 -41
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +41 -19
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +41 -19
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +14 -39
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +14 -39
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +39 -16
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +39 -16
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +17 -83
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +17 -83
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +83 -11
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +83 -11
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +12 -30
- package/dist/index73.d.cts.map +1 -1
- package/dist/index73.d.ts +12 -30
- package/dist/index73.d.ts.map +1 -1
- package/dist/index74.d.cts +28 -27
- package/dist/index74.d.cts.map +1 -1
- package/dist/index74.d.ts +28 -27
- package/dist/index74.d.ts.map +1 -1
- package/dist/index75.d.cts +33 -83
- package/dist/index75.d.cts.map +1 -1
- package/dist/index75.d.ts +33 -83
- package/dist/index75.d.ts.map +1 -1
- package/dist/index76.d.cts +82 -273
- package/dist/index76.d.cts.map +1 -1
- package/dist/index76.d.ts +82 -273
- package/dist/index76.d.ts.map +1 -1
- package/dist/index77.d.cts +278 -0
- package/dist/index77.d.cts.map +1 -0
- package/dist/index77.d.ts +278 -0
- package/dist/index77.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/index9.d.ts.map +1 -1
- package/dist/layouts/Container/index.d.cts +1 -1
- package/dist/layouts/Container/index.d.ts +1 -1
- package/dist/layouts/MultiColumn/index.d.cts +1 -1
- package/dist/layouts/MultiColumn/index.d.ts +1 -1
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/index.d.cts +5 -5
- package/dist/layouts/index.d.ts +5 -5
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/DataTable/index.d.ts.map +1 -1
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Header/index.d.cts +1 -1
- package/dist/patterns/Header/index.d.ts +1 -1
- package/dist/patterns/MediaObject/index.d.cts +13 -13
- package/dist/patterns/MediaObject/index.d.ts +14 -14
- package/dist/patterns/NavRail/index.d.cts +1 -1
- package/dist/patterns/NavRail/index.d.ts +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.cts.map +1 -1
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +3 -3
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +3 -3
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/Combobox/index.cjs +210 -0
- package/dist/primitives/Combobox/index.cjs.map +1 -0
- package/dist/primitives/Combobox/index.d.cts +2 -0
- package/dist/primitives/Combobox/index.d.ts +2 -0
- package/dist/primitives/Combobox/index.js +199 -0
- package/dist/primitives/Combobox/index.js.map +1 -0
- package/dist/primitives/ContextMenu/index.d.cts +1 -1
- package/dist/primitives/ContextMenu/index.d.ts +1 -1
- package/dist/primitives/Credits/index.d.cts +1 -1
- package/dist/primitives/Credits/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.d.cts +1 -1
- package/dist/primitives/Drawer/index.d.ts +1 -1
- package/dist/primitives/DropdownMenu/index.d.cts +1 -1
- package/dist/primitives/DropdownMenu/index.d.ts +1 -1
- package/dist/primitives/Empty/index.d.cts +1 -1
- package/dist/primitives/Empty/index.d.ts +1 -1
- package/dist/primitives/Field/index.d.cts +1 -1
- package/dist/primitives/Field/index.d.ts +1 -1
- package/dist/primitives/FileUpload/index.d.cts +1 -1
- package/dist/primitives/FileUpload/index.d.ts +1 -1
- package/dist/primitives/Form/index.d.cts +1 -1
- package/dist/primitives/Form/index.d.ts +1 -1
- package/dist/primitives/Heading/index.d.cts +1 -1
- package/dist/primitives/Heading/index.d.ts +1 -1
- package/dist/primitives/HoverCard/index.d.cts +1 -1
- package/dist/primitives/HoverCard/index.d.ts +1 -1
- package/dist/primitives/Icon/index.d.cts +1 -1
- package/dist/primitives/Icon/index.d.ts +1 -1
- package/dist/primitives/InfoBanner/index.d.cts +1 -1
- package/dist/primitives/InfoBanner/index.d.ts +1 -1
- package/dist/primitives/Input/index.d.cts +1 -1
- package/dist/primitives/Input/index.d.ts +1 -1
- package/dist/primitives/InputGroup/index.d.cts +1 -1
- package/dist/primitives/InputGroup/index.d.ts +1 -1
- package/dist/primitives/InputOtp/index.d.cts +1 -1
- package/dist/primitives/InputOtp/index.d.ts +1 -1
- package/dist/primitives/Item/index.d.cts +1 -1
- package/dist/primitives/Item/index.d.ts +1 -1
- package/dist/primitives/Kbd/index.d.cts +1 -1
- package/dist/primitives/Kbd/index.d.ts +1 -1
- package/dist/primitives/Label/index.d.cts +1 -1
- package/dist/primitives/Label/index.d.ts +1 -1
- package/dist/primitives/Link/index.d.cts +1 -1
- package/dist/primitives/Link/index.d.ts +1 -1
- package/dist/primitives/Logo/index.d.cts +1 -1
- package/dist/primitives/Logo/index.d.ts +1 -1
- package/dist/primitives/Menubar/index.d.cts +1 -1
- package/dist/primitives/Menubar/index.d.ts +1 -1
- package/dist/primitives/Mosaic/index.d.cts +1 -1
- package/dist/primitives/Mosaic/index.d.ts +1 -1
- package/dist/primitives/NativeSelect/index.d.cts +1 -1
- package/dist/primitives/NativeSelect/index.d.ts +1 -1
- package/dist/primitives/NavRail/index.d.cts +2 -2
- package/dist/primitives/NavRail/index.d.ts +2 -2
- package/dist/primitives/NavigationMenu/index.d.cts +1 -1
- package/dist/primitives/NavigationMenu/index.d.ts +1 -1
- package/dist/primitives/NotchedCard/index.d.cts +1 -1
- package/dist/primitives/NotchedCard/index.d.ts +1 -1
- package/dist/primitives/Pagination/index.d.cts +1 -1
- package/dist/primitives/Pagination/index.d.ts +1 -1
- package/dist/primitives/Popover/index.d.cts +1 -1
- package/dist/primitives/Popover/index.d.ts +1 -1
- package/dist/primitives/Progress/index.d.cts +1 -1
- package/dist/primitives/Progress/index.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.d.cts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +1 -1
- package/dist/primitives/Resizable/index.d.cts +1 -1
- package/dist/primitives/Resizable/index.d.ts +1 -1
- package/dist/primitives/ScrollArea/index.d.cts +1 -1
- package/dist/primitives/ScrollArea/index.d.ts +1 -1
- package/dist/primitives/Select/index.d.cts +1 -1
- package/dist/primitives/Select/index.d.ts +1 -1
- package/dist/primitives/Sheet/index.d.cts +1 -1
- package/dist/primitives/Sheet/index.d.ts +1 -1
- package/dist/primitives/Sidebar/index.d.cts +1 -1
- package/dist/primitives/Sidebar/index.d.ts +1 -1
- package/dist/primitives/Skeleton/index.d.cts +1 -1
- package/dist/primitives/Skeleton/index.d.ts +1 -1
- package/dist/primitives/Slider/index.d.cts +1 -1
- package/dist/primitives/Slider/index.d.ts +1 -1
- package/dist/primitives/Sonner/index.d.cts +1 -1
- package/dist/primitives/Sonner/index.d.ts +1 -1
- package/dist/primitives/Spinner/index.d.cts +1 -1
- package/dist/primitives/Spinner/index.d.ts +1 -1
- package/dist/primitives/Switch/index.d.cts +1 -1
- package/dist/primitives/Switch/index.d.ts +1 -1
- package/dist/primitives/Table/index.d.cts +1 -1
- package/dist/primitives/Table/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.cjs +153 -10
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.js +153 -10
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/primitives/Text/index.d.cts +1 -1
- package/dist/primitives/Text/index.d.ts +1 -1
- package/dist/primitives/Textarea/index.d.cts +1 -1
- package/dist/primitives/Textarea/index.d.ts +1 -1
- package/dist/primitives/ThemeProvider/index.d.cts +1 -1
- package/dist/primitives/ThemeProvider/index.d.ts +1 -1
- package/dist/primitives/Toggle/index.d.cts +1 -1
- package/dist/primitives/Toggle/index.d.ts +1 -1
- package/dist/primitives/ToggleGroup/index.d.cts +1 -1
- package/dist/primitives/ToggleGroup/index.d.ts +1 -1
- package/dist/primitives/Tooltip/index.d.cts +1 -1
- package/dist/primitives/Tooltip/index.d.ts +1 -1
- package/dist/primitives/index.cjs +12 -2
- package/dist/primitives/index.d.cts +50 -49
- package/dist/primitives/index.d.ts +50 -49
- package/dist/primitives/index.js +4 -3
- package/dist/styles/tokens/mode-dark.css +1 -1
- package/package.json +1 -1
- package/dist/index48.d.cts.map +0 -1
- package/dist/index48.d.ts.map +0 -1
package/dist/index35.d.ts
CHANGED
|
@@ -1,59 +1,40 @@
|
|
|
1
|
-
import { t as Button } from "./index8.js";
|
|
2
|
-
import { t as Input } from "./index34.js";
|
|
3
1
|
import { VariantProps } from "class-variance-authority";
|
|
4
2
|
import * as React from "react";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime311 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types26 from "class-variance-authority/types";
|
|
7
5
|
|
|
8
|
-
//#region src/primitives/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
declare function InputGroupButton({
|
|
33
|
-
className,
|
|
34
|
-
/** The button's HTML type; defaults to `"button"` so it does not submit forms. */
|
|
35
|
-
type,
|
|
36
|
-
/** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
|
|
6
|
+
//#region src/primitives/InfoBanner/InfoBanner.d.ts
|
|
7
|
+
declare const infoBannerVariants: (props?: ({
|
|
8
|
+
variant?: "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types26.ClassProp) | undefined) => string;
|
|
10
|
+
type InfoBannerProps = Omit<React.ComponentProps<"div">, "title"> & VariantProps<typeof infoBannerVariants> & {
|
|
11
|
+
/** Intent that drives the banner colors and default icon. Default `info`. */
|
|
12
|
+
variant?: VariantProps<typeof infoBannerVariants>["variant"];
|
|
13
|
+
/** Banner heading. */
|
|
14
|
+
title: string;
|
|
15
|
+
/** Optional supporting copy below the title. */
|
|
16
|
+
description?: React.ReactNode;
|
|
17
|
+
/** Override the default per-variant leading icon. */
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/** Show the trailing dismiss button. Default true. */
|
|
20
|
+
dismissible?: boolean;
|
|
21
|
+
/** Controlled visibility. When provided, overrides internal state. */
|
|
22
|
+
visible?: boolean;
|
|
23
|
+
/** Called when the dismiss button is pressed. */
|
|
24
|
+
onDismiss?: () => void;
|
|
25
|
+
};
|
|
26
|
+
/** Dismissible inline status banner colored by intent (info/success/warning/error/neutral). */
|
|
27
|
+
declare function InfoBanner({
|
|
28
|
+
title,
|
|
29
|
+
description,
|
|
37
30
|
variant,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
|
|
43
|
-
declare function InputGroupText({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<"span">): react_jsx_runtime145.JSX.Element;
|
|
47
|
-
/** The Input control for the group: borderless and transparent so the group container provides the chrome. */
|
|
48
|
-
declare function InputGroupInput({
|
|
49
|
-
className,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<typeof Input>): react_jsx_runtime145.JSX.Element;
|
|
52
|
-
/** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
|
|
53
|
-
declare function InputGroupTextarea({
|
|
31
|
+
icon,
|
|
32
|
+
dismissible,
|
|
33
|
+
visible,
|
|
34
|
+
onDismiss,
|
|
54
35
|
className,
|
|
55
36
|
...props
|
|
56
|
-
}:
|
|
37
|
+
}: InfoBannerProps): react_jsx_runtime311.JSX.Element | null;
|
|
57
38
|
//#endregion
|
|
58
|
-
export {
|
|
39
|
+
export { InfoBannerProps as n, infoBannerVariants as r, InfoBanner as t };
|
|
59
40
|
//# sourceMappingURL=index35.d.ts.map
|
package/dist/index35.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index35.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index35.d.ts","names":[],"sources":["../src/primitives/InfoBanner/InfoBanner.tsx"],"mappings":";;;;;;cAYM;;IAaJ,gCAAA,CAAA;KAUU,eAAA,GAAkB,KAAK,KAAA,CAAM,kCACvC,oBAAoB;EAxBhB;EAuBM,OAAA,CAAA,EAGE,YAHa,CAAA,OAGO,kBAHP,CAAA,CAAA,SAAA,CAAA;EAAA;OAAQ,EAAA,MAAM;;aACnB,CAAA,EAMJ,KAAA,CAAM,SANF;;MAEY,CAAA,EAMvB,KAAA,CAAM,SANiB;;aAIV,CAAA,EAAA,OAAA;;EAEE,OAAA,CAAA,EAAA,OAAA;EAUjB;EAAU,SAAA,CAAA,EAAA,GAAA,GAAA,IAAA;;;iBAAV,UAAA,CAGP;EAAA,KAAA;EAAA,WAAA;EAAA,OAAA;EAAA,IAAA;EAAA,WAAA;EAAA,OAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAOC,eAPD,CAAA,EAOgB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAPhB,IAAA"}
|
package/dist/index36.d.cts
CHANGED
|
@@ -1,43 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
|
-
import { OTPInput } from "input-otp";
|
|
4
5
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
//#region src/primitives/Input/Input.d.ts
|
|
7
|
+
declare const inputVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "ai" | null | undefined;
|
|
9
|
+
size?: "sm" | "lg" | "xs" | "default" | null | undefined;
|
|
10
|
+
shape?: "default" | "round" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
12
|
+
/** Styled text input that supports the Figma size and roundness axes; forwards all native `<input>` props. */
|
|
13
|
+
declare function Input({
|
|
10
14
|
className,
|
|
11
|
-
|
|
15
|
+
type,
|
|
16
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
17
|
+
variant,
|
|
18
|
+
/** Height/typography preset — Mini (`xs`), Small (`sm`), Regular (`default`), or Large (`lg`). */
|
|
12
19
|
size,
|
|
13
|
-
|
|
20
|
+
/** Corner roundness — `default` (12px) or `round` (pill). */
|
|
21
|
+
shape,
|
|
14
22
|
...props
|
|
15
|
-
}:
|
|
16
|
-
/** Class applied to the outer flex container that wraps the slot groups. */
|
|
17
|
-
containerClassName?: string;
|
|
18
|
-
/** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
|
|
19
|
-
size?: InputOTPSize;
|
|
20
|
-
/** Single character shown in empty slots as a hint until the user types. */
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
}): react_jsx_runtime128.JSX.Element;
|
|
23
|
-
/** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
|
|
24
|
-
declare function InputOTPGroup({
|
|
25
|
-
className,
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<"div">): react_jsx_runtime128.JSX.Element;
|
|
28
|
-
/** A single character cell rendering its char, active ring, fake caret, and placeholder. */
|
|
29
|
-
declare function InputOTPSlot({
|
|
30
|
-
index,
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<"div"> & {
|
|
34
|
-
/** Zero-based position of this slot within the input's character buffer. */
|
|
35
|
-
index: number;
|
|
36
|
-
}): react_jsx_runtime128.JSX.Element;
|
|
37
|
-
/** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
|
|
38
|
-
declare function InputOTPSeparator({
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<"div">): react_jsx_runtime128.JSX.Element;
|
|
23
|
+
}: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime153.JSX.Element;
|
|
41
24
|
//#endregion
|
|
42
|
-
export {
|
|
25
|
+
export { inputVariants as n, Input as t };
|
|
43
26
|
//# sourceMappingURL=index36.d.cts.map
|
package/dist/index36.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,KAAA,CAAK;EAAA,SAAA;EAAA,IAAA;;SAEZ;;;;;EAQM,GAAA;AAAM,CAAA,EAAX,IAAW,CAAN,KAAA,CAAM,cAAA,CAAA,OAAA,CAAA,EAAA,MAAA,CAAA,GAAmC,YAAnC,CAAA,OAAuD,aAAvD,CAAA,CAAA,EAAqE,oBAAA,CAAA,GAAA,CAAA,OAArE"}
|
package/dist/index36.d.ts
CHANGED
|
@@ -1,43 +1,26 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
3
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
4
5
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
//#region src/primitives/Input/Input.d.ts
|
|
7
|
+
declare const inputVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "ai" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "lg" | null | undefined;
|
|
10
|
+
shape?: "default" | "round" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
12
|
+
/** Styled text input that supports the Figma size and roundness axes; forwards all native `<input>` props. */
|
|
13
|
+
declare function Input({
|
|
10
14
|
className,
|
|
11
|
-
|
|
15
|
+
type,
|
|
16
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
17
|
+
variant,
|
|
18
|
+
/** Height/typography preset — Mini (`xs`), Small (`sm`), Regular (`default`), or Large (`lg`). */
|
|
12
19
|
size,
|
|
13
|
-
|
|
20
|
+
/** Corner roundness — `default` (12px) or `round` (pill). */
|
|
21
|
+
shape,
|
|
14
22
|
...props
|
|
15
|
-
}:
|
|
16
|
-
/** Class applied to the outer flex container that wraps the slot groups. */
|
|
17
|
-
containerClassName?: string;
|
|
18
|
-
/** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
|
|
19
|
-
size?: InputOTPSize;
|
|
20
|
-
/** Single character shown in empty slots as a hint until the user types. */
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
}): react_jsx_runtime318.JSX.Element;
|
|
23
|
-
/** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
|
|
24
|
-
declare function InputOTPGroup({
|
|
25
|
-
className,
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<"div">): react_jsx_runtime318.JSX.Element;
|
|
28
|
-
/** A single character cell rendering its char, active ring, fake caret, and placeholder. */
|
|
29
|
-
declare function InputOTPSlot({
|
|
30
|
-
index,
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<"div"> & {
|
|
34
|
-
/** Zero-based position of this slot within the input's character buffer. */
|
|
35
|
-
index: number;
|
|
36
|
-
}): react_jsx_runtime318.JSX.Element;
|
|
37
|
-
/** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
|
|
38
|
-
declare function InputOTPSeparator({
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<"div">): react_jsx_runtime318.JSX.Element;
|
|
23
|
+
}: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime104.JSX.Element;
|
|
41
24
|
//#endregion
|
|
42
|
-
export {
|
|
25
|
+
export { inputVariants as n, Input as t };
|
|
43
26
|
//# sourceMappingURL=index36.d.ts.map
|
package/dist/index36.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,KAAA,CAAK;EAAA,SAAA;EAAA,IAAA;;SAEZ;;;;;EAQM,GAAA;AAAM,CAAA,EAAX,IAAW,CAAN,KAAA,CAAM,cAAA,CAAA,OAAA,CAAA,EAAA,MAAA,CAAA,GAAmC,YAAnC,CAAA,OAAuD,aAAvD,CAAA,CAAA,EAAqE,oBAAA,CAAA,GAAA,CAAA,OAArE"}
|
package/dist/index37.d.cts
CHANGED
|
@@ -1,77 +1,59 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Button } from "./index8.cjs";
|
|
2
|
+
import { t as Input } from "./index36.cjs";
|
|
3
|
+
import * as react_jsx_runtime163 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
4
5
|
import { VariantProps } from "class-variance-authority";
|
|
5
6
|
import * as React from "react";
|
|
6
7
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
/**
|
|
9
|
-
declare function
|
|
8
|
+
//#region src/primitives/InputGroup/InputGroup.d.ts
|
|
9
|
+
/** Bordered container that groups a control (input/textarea) with addons, buttons, and text into one focusable field. */
|
|
10
|
+
declare function InputGroup({
|
|
10
11
|
className,
|
|
11
|
-
|
|
12
|
-
}: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
|
|
13
|
-
/** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
|
|
14
|
-
declare function ItemSeparator({
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<typeof Separator>): react_jsx_runtime100.JSX.Element;
|
|
18
|
-
declare const itemVariants: (props?: ({
|
|
19
|
-
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
20
|
-
size?: "default" | "sm" | null | undefined;
|
|
21
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
22
|
-
/** A flexible list/row primitive composing media, content, and actions into a single line. */
|
|
23
|
-
declare function Item({
|
|
24
|
-
className,
|
|
25
|
-
/** Visual treatment of the row surface. */
|
|
12
|
+
/** Chrome style — `default` bordered group or `ai` (AI gradient border). */
|
|
26
13
|
variant,
|
|
27
|
-
/** Vertical density / padding of the row. */
|
|
28
|
-
size,
|
|
29
|
-
/** Render as the child element (e.g. an anchor) via Radix `Slot` instead of a `div`. */
|
|
30
|
-
asChild,
|
|
31
14
|
...props
|
|
32
|
-
}: React.ComponentProps<"div"> &
|
|
33
|
-
|
|
34
|
-
}):
|
|
35
|
-
declare const
|
|
36
|
-
|
|
37
|
-
} &
|
|
38
|
-
/**
|
|
39
|
-
declare function
|
|
40
|
-
className,
|
|
41
|
-
/**
|
|
15
|
+
}: React.ComponentProps<"div"> & {
|
|
16
|
+
variant?: "default" | "ai";
|
|
17
|
+
}): react_jsx_runtime163.JSX.Element;
|
|
18
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
19
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
21
|
+
/** A leading/trailing or stacked slot for icons, text, or buttons; clicking it focuses the group's input. */
|
|
22
|
+
declare function InputGroupAddon({
|
|
23
|
+
className,
|
|
24
|
+
/** Where the addon sits relative to the control: inline (left/right) or block (top/bottom). */
|
|
25
|
+
align,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime163.JSX.Element;
|
|
28
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
29
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
31
|
+
/** A compact Button sized to sit inside an addon without overflowing the group's height. */
|
|
32
|
+
declare function InputGroupButton({
|
|
33
|
+
className,
|
|
34
|
+
/** The button's HTML type; defaults to `"button"` so it does not submit forms. */
|
|
35
|
+
type,
|
|
36
|
+
/** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
|
|
42
37
|
variant,
|
|
38
|
+
/** Compact sizing tuned for the group: text (`xs`/`sm`) or square icon (`icon-xs`/`icon-sm`). */
|
|
39
|
+
size,
|
|
43
40
|
...props
|
|
44
|
-
}: React.ComponentProps<"
|
|
45
|
-
/**
|
|
46
|
-
declare function
|
|
47
|
-
className,
|
|
48
|
-
...props
|
|
49
|
-
}: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
|
|
50
|
-
/** Emphasised title line within `ItemContent`. */
|
|
51
|
-
declare function ItemTitle({
|
|
52
|
-
className,
|
|
53
|
-
...props
|
|
54
|
-
}: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
|
|
55
|
-
/** Muted, line-clamped supporting text within `ItemContent`. */
|
|
56
|
-
declare function ItemDescription({
|
|
57
|
-
className,
|
|
58
|
-
...props
|
|
59
|
-
}: React.ComponentProps<"p">): react_jsx_runtime100.JSX.Element;
|
|
60
|
-
/** Trailing actions slot of an `Item` — holds buttons or controls. */
|
|
61
|
-
declare function ItemActions({
|
|
41
|
+
}: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime163.JSX.Element;
|
|
42
|
+
/** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
|
|
43
|
+
declare function InputGroupText({
|
|
62
44
|
className,
|
|
63
45
|
...props
|
|
64
|
-
}: React.ComponentProps<"
|
|
65
|
-
/**
|
|
66
|
-
declare function
|
|
46
|
+
}: React.ComponentProps<"span">): react_jsx_runtime163.JSX.Element;
|
|
47
|
+
/** The Input control for the group: borderless and transparent so the group container provides the chrome. */
|
|
48
|
+
declare function InputGroupInput({
|
|
67
49
|
className,
|
|
68
50
|
...props
|
|
69
|
-
}: React.ComponentProps<
|
|
70
|
-
/**
|
|
71
|
-
declare function
|
|
51
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime163.JSX.Element;
|
|
52
|
+
/** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
|
|
53
|
+
declare function InputGroupTextarea({
|
|
72
54
|
className,
|
|
73
55
|
...props
|
|
74
|
-
}: React.ComponentProps<"
|
|
56
|
+
}: React.ComponentProps<"textarea">): react_jsx_runtime163.JSX.Element;
|
|
75
57
|
//#endregion
|
|
76
|
-
export {
|
|
58
|
+
export { InputGroupText as a, InputGroupInput as i, InputGroupAddon as n, InputGroupTextarea as o, InputGroupButton as r, InputGroup as t };
|
|
77
59
|
//# sourceMappingURL=index37.d.cts.map
|
package/dist/index37.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index37.d.cts","names":[],"sources":["../src/primitives/InputGroup/InputGroup.tsx"],"mappings":";;;;;;;;;iBAWS,UAAA;;;;;GAKN,KAAA,CAAM;EALA,OAAA,CAAA,EAAA,SAAU,GAAA,IAAA;CAAA,CAAA,EAK4C,oBAAA,CAAA,GAAA,CAAA,OAL5C;cAqCb,uBApCJ,EAAA,CAAA,KAIO,CAJP,EAAA,CAAA;OAEA,CAAA,EAAA,cAAA,GAAA,YAAA,GAAA,aAAA,GAAA,WAAA,GAAA,IAAA,GAAA,SAAA;IAmDD,+BAAA,CAAA,SAjDQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAsD,iBAoDtD,eAAA,CApDsD;EAAA,SAAA;EAAA;OAoDtD;EAAA,GAAA;AAAe,CAAf,EAKN,KAAA,CAAM,cALe,CAAA,KAAA,CAAA,GAKS,YALT,CAAA,OAK6B,uBAL7B,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;cAuBlB,wBAvBkB,EAAA,CAAA,KAGtB,CAHsB,EAAA,CAAA;MACtB,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,SAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;IAkCA,+BAAA,CAAA,SAhCA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAmCO,gBAAA,CAjC4C;EAAA,SAAA;;;EAAwB;EAAA,OAkBvE;;MAemB;EAAA,GAAA;AAAA,CAAA,EAStB,IATsB,CASjB,KAAA,CAAM,cATW,CAAA,OASW,MATX,CAAA,EAAA,MAAA,CAAA,GAUvB,YAVuB,CAAA,OAUH,wBAVG,CAAA,CAAA,EAUsB,oBAAA,CAAA,GAAA,CAAA,OAVtB;;iBAuBhB,cAAA,CApBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoB+C,KAAA,CAAM,cApBrD,CAAA,MAAA,CAAA,CAAA,EAoB2E,oBAAA,CAAA,GAAA,CAAA,OApB3E;;iBAiCO,eAAA,CA7BP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6BgD,KAAA,CAAM,cA7BtD,CAAA,OA6B4E,KA7B5E,CAAA,CAAA,EA6BkF,oBAAA,CAAA,GAAA,CAAA,OA7BlF;;iBA2CO,kBAAA,CAzCK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCuC,KAAA,CAAM,cAzC7C,CAAA,UAAA,CAAA,CAAA,EAyCuE,oBAAA,CAAA,GAAA,CAAA,OAzCvE"}
|
package/dist/index37.d.ts
CHANGED
|
@@ -1,77 +1,59 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as Button } from "./index8.js";
|
|
2
|
+
import { t as Input } from "./index36.js";
|
|
2
3
|
import { VariantProps } from "class-variance-authority";
|
|
3
4
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
6
|
+
import * as class_variance_authority_types13 from "class-variance-authority/types";
|
|
6
7
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
/**
|
|
9
|
-
declare function
|
|
8
|
+
//#region src/primitives/InputGroup/InputGroup.d.ts
|
|
9
|
+
/** Bordered container that groups a control (input/textarea) with addons, buttons, and text into one focusable field. */
|
|
10
|
+
declare function InputGroup({
|
|
10
11
|
className,
|
|
11
|
-
|
|
12
|
-
}: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
|
|
13
|
-
/** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
|
|
14
|
-
declare function ItemSeparator({
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<typeof Separator>): react_jsx_runtime115.JSX.Element;
|
|
18
|
-
declare const itemVariants: (props?: ({
|
|
19
|
-
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
20
|
-
size?: "sm" | "default" | null | undefined;
|
|
21
|
-
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
22
|
-
/** A flexible list/row primitive composing media, content, and actions into a single line. */
|
|
23
|
-
declare function Item({
|
|
24
|
-
className,
|
|
25
|
-
/** Visual treatment of the row surface. */
|
|
12
|
+
/** Chrome style — `default` bordered group or `ai` (AI gradient border). */
|
|
26
13
|
variant,
|
|
27
|
-
/** Vertical density / padding of the row. */
|
|
28
|
-
size,
|
|
29
|
-
/** Render as the child element (e.g. an anchor) via Radix `Slot` instead of a `div`. */
|
|
30
|
-
asChild,
|
|
31
14
|
...props
|
|
32
|
-
}: React.ComponentProps<"div"> &
|
|
33
|
-
|
|
34
|
-
}):
|
|
35
|
-
declare const
|
|
36
|
-
|
|
37
|
-
} &
|
|
38
|
-
/**
|
|
39
|
-
declare function
|
|
40
|
-
className,
|
|
41
|
-
/**
|
|
15
|
+
}: React.ComponentProps<"div"> & {
|
|
16
|
+
variant?: "default" | "ai";
|
|
17
|
+
}): react_jsx_runtime159.JSX.Element;
|
|
18
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
19
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types13.ClassProp) | undefined) => string;
|
|
21
|
+
/** A leading/trailing or stacked slot for icons, text, or buttons; clicking it focuses the group's input. */
|
|
22
|
+
declare function InputGroupAddon({
|
|
23
|
+
className,
|
|
24
|
+
/** Where the addon sits relative to the control: inline (left/right) or block (top/bottom). */
|
|
25
|
+
align,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime159.JSX.Element;
|
|
28
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
29
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types13.ClassProp) | undefined) => string;
|
|
31
|
+
/** A compact Button sized to sit inside an addon without overflowing the group's height. */
|
|
32
|
+
declare function InputGroupButton({
|
|
33
|
+
className,
|
|
34
|
+
/** The button's HTML type; defaults to `"button"` so it does not submit forms. */
|
|
35
|
+
type,
|
|
36
|
+
/** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
|
|
42
37
|
variant,
|
|
38
|
+
/** Compact sizing tuned for the group: text (`xs`/`sm`) or square icon (`icon-xs`/`icon-sm`). */
|
|
39
|
+
size,
|
|
43
40
|
...props
|
|
44
|
-
}: React.ComponentProps<"
|
|
45
|
-
/**
|
|
46
|
-
declare function
|
|
47
|
-
className,
|
|
48
|
-
...props
|
|
49
|
-
}: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
|
|
50
|
-
/** Emphasised title line within `ItemContent`. */
|
|
51
|
-
declare function ItemTitle({
|
|
52
|
-
className,
|
|
53
|
-
...props
|
|
54
|
-
}: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
|
|
55
|
-
/** Muted, line-clamped supporting text within `ItemContent`. */
|
|
56
|
-
declare function ItemDescription({
|
|
57
|
-
className,
|
|
58
|
-
...props
|
|
59
|
-
}: React.ComponentProps<"p">): react_jsx_runtime115.JSX.Element;
|
|
60
|
-
/** Trailing actions slot of an `Item` — holds buttons or controls. */
|
|
61
|
-
declare function ItemActions({
|
|
41
|
+
}: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime159.JSX.Element;
|
|
42
|
+
/** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
|
|
43
|
+
declare function InputGroupText({
|
|
62
44
|
className,
|
|
63
45
|
...props
|
|
64
|
-
}: React.ComponentProps<"
|
|
65
|
-
/**
|
|
66
|
-
declare function
|
|
46
|
+
}: React.ComponentProps<"span">): react_jsx_runtime159.JSX.Element;
|
|
47
|
+
/** The Input control for the group: borderless and transparent so the group container provides the chrome. */
|
|
48
|
+
declare function InputGroupInput({
|
|
67
49
|
className,
|
|
68
50
|
...props
|
|
69
|
-
}: React.ComponentProps<
|
|
70
|
-
/**
|
|
71
|
-
declare function
|
|
51
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime159.JSX.Element;
|
|
52
|
+
/** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
|
|
53
|
+
declare function InputGroupTextarea({
|
|
72
54
|
className,
|
|
73
55
|
...props
|
|
74
|
-
}: React.ComponentProps<"
|
|
56
|
+
}: React.ComponentProps<"textarea">): react_jsx_runtime159.JSX.Element;
|
|
75
57
|
//#endregion
|
|
76
|
-
export {
|
|
58
|
+
export { InputGroupText as a, InputGroupInput as i, InputGroupAddon as n, InputGroupTextarea as o, InputGroupButton as r, InputGroup as t };
|
|
77
59
|
//# sourceMappingURL=index37.d.ts.map
|
package/dist/index37.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index37.d.ts","names":[],"sources":["../src/primitives/InputGroup/InputGroup.tsx"],"mappings":";;;;;;;;;iBAWS,UAAA;;;;;GAKN,KAAA,CAAM;EALA,OAAA,CAAA,EAAA,SAAU,GAAA,IAAA;CAAA,CAAA,EAK4C,oBAAA,CAAA,GAAA,CAAA,OAL5C;cAqCb,uBApCJ,EAAA,CAAA,KAIO,CAJP,EAAA,CAAA;OAEA,CAAA,EAAA,cAAA,GAAA,YAAA,GAAA,aAAA,GAAA,WAAA,GAAA,IAAA,GAAA,SAAA;IAmDD,gCAAA,CAAA,SAjDQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAsD,iBAoDtD,eAAA,CApDsD;EAAA,SAAA;EAAA;OAoDtD;EAAA,GAAA;AAAe,CAAf,EAKN,KAAA,CAAM,cALe,CAAA,KAAA,CAAA,GAKS,YALT,CAAA,OAK6B,uBAL7B,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;cAuBlB,wBAvBkB,EAAA,CAAA,KAGtB,CAHsB,EAAA,CAAA;MACtB,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,SAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;IAkCA,gCAAA,CAAA,SAhCA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAmCO,gBAAA,CAjC4C;EAAA,SAAA;;;EAAwB;EAAA,OAkBvE;;MAemB;EAAA,GAAA;AAAA,CAAA,EAStB,IATsB,CASjB,KAAA,CAAM,cATW,CAAA,OASW,MATX,CAAA,EAAA,MAAA,CAAA,GAUvB,YAVuB,CAAA,OAUH,wBAVG,CAAA,CAAA,EAUsB,oBAAA,CAAA,GAAA,CAAA,OAVtB;;iBAuBhB,cAAA,CApBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoB+C,KAAA,CAAM,cApBrD,CAAA,MAAA,CAAA,CAAA,EAoB2E,oBAAA,CAAA,GAAA,CAAA,OApB3E;;iBAiCO,eAAA,CA7BP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6BgD,KAAA,CAAM,cA7BtD,CAAA,OA6B4E,KA7B5E,CAAA,CAAA,EA6BkF,oBAAA,CAAA,GAAA,CAAA,OA7BlF;;iBA2CO,kBAAA,CAzCK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCuC,KAAA,CAAM,cAzC7C,CAAA,UAAA,CAAA,CAAA,EAyCuE,oBAAA,CAAA,GAAA,CAAA,OAzCvE"}
|
package/dist/index38.d.cts
CHANGED
|
@@ -1,19 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime155 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
import { OTPInput } from "input-otp";
|
|
3
4
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
//#region src/primitives/InputOtp/InputOtp.d.ts
|
|
6
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
7
|
+
type InputOTPSize = "default" | "lg" | "sm" | "xs";
|
|
8
|
+
/** One-time-passcode field: a row of single-character slots backed by a hidden input. */
|
|
9
|
+
declare function InputOTP({
|
|
8
10
|
className,
|
|
11
|
+
containerClassName,
|
|
12
|
+
size,
|
|
13
|
+
placeholder,
|
|
9
14
|
...props
|
|
10
|
-
}: React.ComponentProps<"
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/**
|
|
15
|
+
}: DistributiveOmit<React.ComponentProps<typeof OTPInput>, "size" | "placeholder"> & {
|
|
16
|
+
/** Class applied to the outer flex container that wraps the slot groups. */
|
|
17
|
+
containerClassName?: string;
|
|
18
|
+
/** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
|
|
19
|
+
size?: InputOTPSize;
|
|
20
|
+
/** Single character shown in empty slots as a hint until the user types. */
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
}): react_jsx_runtime155.JSX.Element;
|
|
23
|
+
/** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
|
|
24
|
+
declare function InputOTPGroup({
|
|
14
25
|
className,
|
|
15
26
|
...props
|
|
16
|
-
}: React.ComponentProps<"div">):
|
|
27
|
+
}: React.ComponentProps<"div">): react_jsx_runtime155.JSX.Element;
|
|
28
|
+
/** A single character cell rendering its char, active ring, fake caret, and placeholder. */
|
|
29
|
+
declare function InputOTPSlot({
|
|
30
|
+
index,
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<"div"> & {
|
|
34
|
+
/** Zero-based position of this slot within the input's character buffer. */
|
|
35
|
+
index: number;
|
|
36
|
+
}): react_jsx_runtime155.JSX.Element;
|
|
37
|
+
/** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
|
|
38
|
+
declare function InputOTPSeparator({
|
|
39
|
+
...props
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime155.JSX.Element;
|
|
17
41
|
//#endregion
|
|
18
|
-
export {
|
|
42
|
+
export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
|
|
19
43
|
//# sourceMappingURL=index38.d.cts.map
|
package/dist/index38.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index38.d.cts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KASK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,oBAAA,CAAA,GAAA,CAAA,OAnCyE;AAAA;AAEzD,iBAuDR,aAAA,CAnCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmC+B,KAAA,CAAM,cAnCrC,CAAA,KAAA,CAAA,CAAA,EAmC0D,oBAAA,CAAA,GAAA,CAAA,OAnC1D;;iBA8CR,YAAA,CA7CP;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAiDC,KAAA,CAAM,cAjDP,CAAA,KAAA,CAAA,GAAA;;OAEA,EAAA,MAAA;IAkDD,oBAAA,CAAA,GAAA,CAAA,OAjDC;;iBAgFO,iBAAA,CA9EiB;EAAA,GAAA;AAAA,CAAA,EA8Ee,KAAA,CAAM,cA9ErB,CAAA,KAAA,CAAA,CAAA,EA8E0C,oBAAA,CAAA,GAAA,CAAA,OA9E1C"}
|