@psnext/design-system 2.3.0 → 2.4.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 +466 -4
- package/README.md +3 -3
- package/SKILL.md +83 -5
- package/bin/install-agent-skill.mjs +39 -7
- package/dist/Header.cjs +151 -20
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +151 -20
- package/dist/Header.js.map +1 -1
- package/dist/Icon.cjs +40 -8
- package/dist/Icon.cjs.map +1 -1
- package/dist/Icon.js +40 -8
- package/dist/Icon.js.map +1 -1
- package/dist/MultiColumn.cjs +354 -0
- package/dist/MultiColumn.cjs.map +1 -0
- package/dist/MultiColumn.js +335 -0
- package/dist/MultiColumn.js.map +1 -0
- package/dist/Sidebar.cjs +4 -3
- package/dist/Sidebar.cjs.map +1 -1
- package/dist/Sidebar.js +4 -3
- package/dist/Sidebar.js.map +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.ts +6 -6
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +13 -13
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- 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 +3 -3
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +3 -3
- package/dist/index15.d.ts.map +1 -1
- package/dist/index16.d.cts +2 -2
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +2 -2
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.cts +4 -4
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +4 -4
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +11 -11
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +10 -10
- package/dist/index19.d.ts.map +1 -1
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +9 -9
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index20.d.ts.map +1 -1
- package/dist/index21.d.cts +4 -4
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +4 -4
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +11 -11
- package/dist/index22.d.ts +11 -11
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +16 -16
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +10 -10
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +11 -11
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +2 -2
- package/dist/index25.d.ts +2 -2
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +13 -13
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +14 -14
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +7 -7
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +6 -6
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +5 -5
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.ts +4 -4
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index30.d.cts +41 -12
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +42 -13
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +6 -6
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +5 -5
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +6 -6
- package/dist/index33.d.cts +10 -10
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +11 -11
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +5 -5
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +16 -16
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +17 -17
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +5 -5
- package/dist/index37.d.ts +3 -3
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +17 -17
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +5 -5
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +6 -6
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +11 -11
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +11 -11
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index43.d.cts +9 -9
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +9 -9
- package/dist/index43.d.ts.map +1 -1
- package/dist/index45.d.cts +8 -8
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +8 -8
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +2 -2
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +2 -2
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +4 -4
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +4 -4
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +4 -4
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +4 -4
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +3 -3
- package/dist/index49.d.ts +3 -3
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +11 -11
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +11 -11
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +9 -9
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +9 -9
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +5 -5
- package/dist/index52.d.ts +5 -5
- package/dist/index53.d.cts +27 -27
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +28 -28
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +5 -5
- package/dist/index54.d.ts +5 -5
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +2 -2
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +2 -2
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +2 -2
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +2 -2
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +2 -2
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +4 -4
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +4 -4
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +9 -9
- package/dist/index59.d.ts +9 -9
- 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 +6 -6
- package/dist/index60.d.cts +9 -9
- package/dist/index60.d.ts +9 -9
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +8 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +7 -7
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +4 -4
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +5 -5
- package/dist/index63.d.cts +2 -2
- package/dist/index63.d.ts +2 -2
- package/dist/index64.d.cts +4 -4
- package/dist/index64.d.ts +7 -7
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +3 -3
- package/dist/index65.d.ts +4 -4
- package/dist/index66.d.cts +4 -4
- package/dist/index66.d.ts +5 -5
- package/dist/index67.d.cts +83 -11
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +83 -11
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +12 -30
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +12 -30
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +28 -27
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +29 -28
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +33 -78
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +33 -78
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +77 -260
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +77 -260
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +278 -0
- package/dist/index72.d.cts.map +1 -0
- package/dist/index72.d.ts +278 -0
- package/dist/index72.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +5 -5
- 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.cjs +2 -1
- package/dist/layouts/Container/index.cjs.map +1 -1
- package/dist/layouts/Container/index.js +1 -1
- package/dist/layouts/MultiColumn/index.cjs +5 -0
- package/dist/layouts/MultiColumn/index.d.cts +2 -0
- package/dist/layouts/MultiColumn/index.d.ts +2 -0
- package/dist/layouts/MultiColumn/index.js +2 -0
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.cjs +2 -1
- package/dist/layouts/Stack/index.cjs.map +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/Stack/index.js +1 -1
- package/dist/layouts/TwoColumn/index.cjs +2 -1
- package/dist/layouts/TwoColumn/index.cjs.map +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.js +1 -1
- package/dist/layouts/index.cjs +4 -0
- package/dist/layouts/index.d.cts +5 -4
- package/dist/layouts/index.d.ts +5 -4
- package/dist/layouts/index.js +2 -1
- package/dist/patterns/DataTable/index.cjs +6 -2
- package/dist/patterns/DataTable/index.cjs.map +1 -1
- 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/DataTable/index.js +6 -2
- package/dist/patterns/DataTable/index.js.map +1 -1
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.cts.map +1 -1
- 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.cjs +1 -1
- package/dist/patterns/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.ts +12 -12
- package/dist/patterns/MediaObject/index.js +1 -1
- package/dist/patterns/NavRail/index.cjs +4 -2
- package/dist/patterns/NavRail/index.cjs.map +1 -1
- package/dist/patterns/NavRail/index.js +4 -2
- package/dist/patterns/NavRail/index.js.map +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.cts +2 -2
- package/dist/patterns/index.d.cts +1 -1
- package/dist/patterns/index.d.ts +1 -1
- package/dist/primitives/Accordion/index.cjs +6 -2
- package/dist/primitives/Accordion/index.cjs.map +1 -1
- package/dist/primitives/Accordion/index.js +6 -2
- package/dist/primitives/Accordion/index.js.map +1 -1
- package/dist/primitives/Alert/index.cjs +2 -1
- package/dist/primitives/Alert/index.cjs.map +1 -1
- package/dist/primitives/Alert/index.js +1 -1
- package/dist/primitives/AlertDialog/index.cjs +1 -1
- package/dist/primitives/AlertDialog/index.js +1 -1
- package/dist/primitives/AspectRatio/index.cjs +1 -1
- package/dist/primitives/AspectRatio/index.js +1 -1
- package/dist/primitives/Avatar/index.cjs +1 -1
- package/dist/primitives/Avatar/index.js +1 -1
- package/dist/primitives/Badge/index.cjs +3 -2
- package/dist/primitives/Badge/index.cjs.map +1 -1
- package/dist/primitives/Badge/index.js +2 -2
- package/dist/primitives/Breadcrumb/index.cjs +7 -3
- package/dist/primitives/Breadcrumb/index.cjs.map +1 -1
- package/dist/primitives/Breadcrumb/index.js +7 -3
- package/dist/primitives/Breadcrumb/index.js.map +1 -1
- package/dist/primitives/Button/index.cjs +3 -2
- package/dist/primitives/Button/index.cjs.map +1 -1
- package/dist/primitives/Button/index.js +2 -2
- package/dist/primitives/ButtonGroup/index.cjs +3 -2
- package/dist/primitives/ButtonGroup/index.cjs.map +1 -1
- package/dist/primitives/ButtonGroup/index.js +2 -2
- package/dist/primitives/Calendar/index.cjs +12 -11
- package/dist/primitives/Calendar/index.cjs.map +1 -1
- package/dist/primitives/Calendar/index.js +12 -11
- package/dist/primitives/Calendar/index.js.map +1 -1
- package/dist/primitives/Card/index.cjs +2 -1
- package/dist/primitives/Card/index.cjs.map +1 -1
- package/dist/primitives/Card/index.js +1 -1
- package/dist/primitives/Carousel/index.cjs +4 -3
- package/dist/primitives/Carousel/index.cjs.map +1 -1
- package/dist/primitives/Carousel/index.js +4 -3
- package/dist/primitives/Carousel/index.js.map +1 -1
- package/dist/primitives/Checkbox/index.cjs +9 -2
- package/dist/primitives/Checkbox/index.cjs.map +1 -1
- package/dist/primitives/Checkbox/index.js +9 -2
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/CheckboxTree/index.cjs +6 -2
- package/dist/primitives/CheckboxTree/index.cjs.map +1 -1
- package/dist/primitives/CheckboxTree/index.js +6 -2
- package/dist/primitives/CheckboxTree/index.js.map +1 -1
- package/dist/primitives/Collapsible/index.cjs +1 -1
- package/dist/primitives/Collapsible/index.js +1 -1
- package/dist/primitives/Command/index.cjs +6 -2
- package/dist/primitives/Command/index.cjs.map +1 -1
- package/dist/primitives/Command/index.js +6 -2
- package/dist/primitives/Command/index.js.map +1 -1
- package/dist/primitives/ContextMenu/index.cjs +14 -4
- package/dist/primitives/ContextMenu/index.cjs.map +1 -1
- package/dist/primitives/ContextMenu/index.js +14 -4
- package/dist/primitives/ContextMenu/index.js.map +1 -1
- package/dist/primitives/Credits/index.cjs +8 -3
- package/dist/primitives/Credits/index.cjs.map +1 -1
- package/dist/primitives/Credits/index.js +7 -3
- package/dist/primitives/Credits/index.js.map +1 -1
- package/dist/primitives/Dialog/index.cjs +3 -2
- package/dist/primitives/Dialog/index.cjs.map +1 -1
- package/dist/primitives/Dialog/index.js +3 -2
- package/dist/primitives/Dialog/index.js.map +1 -1
- package/dist/primitives/DropdownMenu/index.cjs +14 -4
- package/dist/primitives/DropdownMenu/index.cjs.map +1 -1
- package/dist/primitives/DropdownMenu/index.js +14 -4
- package/dist/primitives/DropdownMenu/index.js.map +1 -1
- package/dist/primitives/Empty/index.cjs +1 -1
- package/dist/primitives/Empty/index.js +1 -1
- package/dist/primitives/Field/index.cjs +1 -1
- package/dist/primitives/Field/index.js +1 -1
- package/dist/primitives/Form/index.cjs +1 -1
- package/dist/primitives/Form/index.js +1 -1
- package/dist/primitives/Heading/index.cjs +2 -1
- package/dist/primitives/Heading/index.cjs.map +1 -1
- package/dist/primitives/Heading/index.js +1 -1
- package/dist/primitives/HoverCard/index.cjs +1 -1
- package/dist/primitives/HoverCard/index.js +1 -1
- package/dist/primitives/InfoBanner/index.cjs +6 -3
- package/dist/primitives/InfoBanner/index.cjs.map +1 -1
- package/dist/primitives/InfoBanner/index.js +5 -3
- package/dist/primitives/InfoBanner/index.js.map +1 -1
- package/dist/primitives/Input/index.cjs +2 -1
- package/dist/primitives/Input/index.cjs.map +1 -1
- package/dist/primitives/Input/index.js +1 -1
- package/dist/primitives/InputGroup/index.cjs +1 -1
- package/dist/primitives/InputGroup/index.js +1 -1
- package/dist/primitives/InputOtp/index.cjs +3 -2
- package/dist/primitives/InputOtp/index.cjs.map +1 -1
- package/dist/primitives/InputOtp/index.js +3 -2
- package/dist/primitives/InputOtp/index.js.map +1 -1
- package/dist/primitives/Item/index.cjs +2 -2
- package/dist/primitives/Item/index.js +2 -2
- package/dist/primitives/Label/index.cjs +1 -1
- package/dist/primitives/Label/index.js +1 -1
- package/dist/primitives/Link/index.cjs +3 -2
- package/dist/primitives/Link/index.cjs.map +1 -1
- package/dist/primitives/Link/index.js +2 -2
- package/dist/primitives/Menubar/index.cjs +14 -4
- package/dist/primitives/Menubar/index.cjs.map +1 -1
- package/dist/primitives/Menubar/index.js +14 -4
- package/dist/primitives/Menubar/index.js.map +1 -1
- package/dist/primitives/NativeSelect/index.cjs +6 -3
- package/dist/primitives/NativeSelect/index.cjs.map +1 -1
- package/dist/primitives/NativeSelect/index.js +5 -3
- package/dist/primitives/NativeSelect/index.js.map +1 -1
- package/dist/primitives/NavigationMenu/index.cjs +5 -3
- package/dist/primitives/NavigationMenu/index.cjs.map +1 -1
- package/dist/primitives/NavigationMenu/index.js +5 -3
- package/dist/primitives/NavigationMenu/index.js.map +1 -1
- package/dist/primitives/Pagination/index.cjs +6 -2
- package/dist/primitives/Pagination/index.cjs.map +1 -1
- package/dist/primitives/Pagination/index.js +6 -2
- package/dist/primitives/Pagination/index.js.map +1 -1
- package/dist/primitives/Popover/index.cjs +1 -1
- package/dist/primitives/Popover/index.js +1 -1
- package/dist/primitives/Progress/index.cjs +1 -1
- package/dist/primitives/Progress/index.js +1 -1
- package/dist/primitives/RadioGroup/index.cjs +6 -2
- package/dist/primitives/RadioGroup/index.cjs.map +1 -1
- package/dist/primitives/RadioGroup/index.js +6 -2
- package/dist/primitives/RadioGroup/index.js.map +1 -1
- package/dist/primitives/Resizable/index.cjs +6 -2
- package/dist/primitives/Resizable/index.cjs.map +1 -1
- package/dist/primitives/Resizable/index.js +6 -2
- package/dist/primitives/Resizable/index.js.map +1 -1
- package/dist/primitives/ScrollArea/index.cjs +1 -1
- package/dist/primitives/ScrollArea/index.js +1 -1
- package/dist/primitives/Select/index.cjs +18 -5
- package/dist/primitives/Select/index.cjs.map +1 -1
- package/dist/primitives/Select/index.js +18 -5
- package/dist/primitives/Select/index.js.map +1 -1
- package/dist/primitives/Separator/index.cjs +1 -1
- package/dist/primitives/Separator/index.js +1 -1
- package/dist/primitives/Sheet/index.cjs +6 -2
- package/dist/primitives/Sheet/index.cjs.map +1 -1
- package/dist/primitives/Sheet/index.js +6 -2
- package/dist/primitives/Sheet/index.js.map +1 -1
- package/dist/primitives/Slider/index.cjs +1 -1
- package/dist/primitives/Slider/index.js +1 -1
- package/dist/primitives/Sonner/index.cjs +22 -6
- package/dist/primitives/Sonner/index.cjs.map +1 -1
- package/dist/primitives/Sonner/index.js +22 -6
- package/dist/primitives/Sonner/index.js.map +1 -1
- package/dist/primitives/Spinner/index.cjs +4 -2
- package/dist/primitives/Spinner/index.cjs.map +1 -1
- package/dist/primitives/Spinner/index.js +4 -2
- package/dist/primitives/Spinner/index.js.map +1 -1
- package/dist/primitives/Switch/index.cjs +1 -1
- package/dist/primitives/Switch/index.js +1 -1
- package/dist/primitives/Tabs/index.cjs +2 -2
- package/dist/primitives/Tabs/index.js +2 -2
- package/dist/primitives/Text/index.cjs +2 -1
- package/dist/primitives/Text/index.cjs.map +1 -1
- package/dist/primitives/Text/index.js +1 -1
- package/dist/primitives/Textarea/index.cjs +2 -1
- package/dist/primitives/Textarea/index.cjs.map +1 -1
- package/dist/primitives/Textarea/index.js +1 -1
- package/dist/primitives/Toggle/index.cjs +3 -2
- package/dist/primitives/Toggle/index.cjs.map +1 -1
- package/dist/primitives/Toggle/index.js +2 -2
- package/dist/primitives/ToggleGroup/index.cjs +1 -1
- package/dist/primitives/ToggleGroup/index.js +1 -1
- package/dist/primitives/Tooltip/index.cjs +1 -1
- package/dist/primitives/Tooltip/index.js +1 -1
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +1 -1
- package/package.json +2 -1
package/dist/index26.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Label } from "./index25.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime274 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types27 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ import * as React from "react";
|
|
|
9
9
|
declare function FieldSet({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"fieldset">):
|
|
12
|
+
}: React.ComponentProps<"fieldset">): react_jsx_runtime274.JSX.Element;
|
|
13
13
|
/** The caption for a `FieldSet`, rendered as a `<legend>`. */
|
|
14
14
|
declare function FieldLegend({
|
|
15
15
|
className,
|
|
@@ -18,42 +18,42 @@ declare function FieldLegend({
|
|
|
18
18
|
}: React.ComponentProps<"legend"> & {
|
|
19
19
|
/** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
|
|
20
20
|
variant?: "legend" | "label";
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime274.JSX.Element;
|
|
22
22
|
/** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
|
|
23
23
|
declare function FieldGroup({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
27
27
|
declare const fieldVariants: (props?: ({
|
|
28
28
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types27.ClassProp) | undefined) => string;
|
|
30
30
|
/** A single labelled form field that lays out a control with its label, description, and error. */
|
|
31
31
|
declare function Field({
|
|
32
32
|
className,
|
|
33
33
|
/** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
|
|
34
34
|
orientation,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>):
|
|
36
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime274.JSX.Element;
|
|
37
37
|
/** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
|
|
38
38
|
declare function FieldContent({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
42
42
|
/** The accessible label for a field's control; wraps the `Label` primitive. */
|
|
43
43
|
declare function FieldLabel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Label>):
|
|
46
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime274.JSX.Element;
|
|
47
47
|
/** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
|
|
48
48
|
declare function FieldTitle({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"div">):
|
|
51
|
+
}: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
52
52
|
/** Muted helper text shown beneath (or beside) a field's control. */
|
|
53
53
|
declare function FieldDescription({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"p">):
|
|
56
|
+
}: React.ComponentProps<"p">): react_jsx_runtime274.JSX.Element;
|
|
57
57
|
/** A horizontal divider between groups of fields, optionally with centered label content. */
|
|
58
58
|
declare function FieldSeparator({
|
|
59
59
|
children,
|
|
@@ -62,7 +62,7 @@ declare function FieldSeparator({
|
|
|
62
62
|
}: React.ComponentProps<"div"> & {
|
|
63
63
|
/** Optional label rendered centered over the divider line. */
|
|
64
64
|
children?: React.ReactNode;
|
|
65
|
-
}):
|
|
65
|
+
}): react_jsx_runtime274.JSX.Element;
|
|
66
66
|
/** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
|
|
67
67
|
declare function FieldError({
|
|
68
68
|
className,
|
|
@@ -74,7 +74,7 @@ declare function FieldError({
|
|
|
74
74
|
errors?: Array<{
|
|
75
75
|
message?: string;
|
|
76
76
|
} | undefined>;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime274.JSX.Element | null;
|
|
78
78
|
//#endregion
|
|
79
79
|
export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
|
|
80
80
|
//# sourceMappingURL=index26.d.cts.map
|
package/dist/index26.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.d.cts","names":[],"sources":["../src/primitives/Field/Field.tsx"],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,
|
|
1
|
+
{"version":3,"file":"index26.d.cts","names":[],"sources":["../src/primitives/Field/Field.tsx"],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,oBAAA,CAAA,GAAA,CAAA;;iBAelE,WAAA;;;;GAIN,KAAA,CAAM;EAnBA;EAAQ,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA;IAsBhB,oBAAA,CAAA,GAAA,CAAA,OAtBmB;;iBAuCX,UAAA,CAvCkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuC9B,KAAA,CAAM,cAvCwB,CAAA,KAAA,CAAA,CAAA,EAuCH,oBAAA,CAAA,GAAA,CAAA,OAvCG;AAAA,cAoDrE,aApDqE,EAAA,CAAA,KAevD,CAfuD,EAAA,CAAA;EAelE,WAAA,CAAA,EAAW,YAAA,GAAA,UAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GAwDlB,gCAAA,CAAA,SAxDkB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBA2DX,KAAA,CAzDP;EAAA,SAAA;;aAKD;EAAA,GAAA;AAAA,CAAA,EAyDE,KAAA,CAAM,cAzDR,CAAA,KAAA,CAAA,GAyDgC,YAzDhC,CAAA,OAyDoD,aAzDpD,CAAA,CAAA,EAyDkE,oBAAA,CAAA,GAAA,CAAA,OAzDlE;AAAA;AAAA,iBAsEQ,YAAA,CArDU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqD4B,KAAA,CAAM,cArDlC,CAAA,KAAA,CAAA,CAAA,EAqDuD,oBAAA,CAAA,GAAA,CAAA,OArDvD;;iBAgEV,UAAA,CAhEa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgEuB,KAAA,CAAM,cAhE7B,CAAA,OAgEmD,KAhEnD,CAAA,CAAA,EAgEyD,oBAAA,CAAA,GAAA,CAAA,OAhEzD;;iBAgFb,UAAA,CAhF+D;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgF3B,KAAA,CAAM,cAhFqB,CAAA,KAAA,CAAA,CAAA,EAgFA,oBAAA,CAAA,GAAA,CAAA,OAhFA;AAAA;AAAA,iBA8F/D,gBAAA,CA9DP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8DiD,KAAA,CAAM,cA9DvD,CAAA,GAAA,CAAA,CAAA,EA8D0E,oBAAA,CAAA,GAAA,CAAA,OA9D1E;;iBA8EO,cAAA,CA3EK;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EA+EX,KAAA,CAAM,cA/EK,CAAA,KAAA,CAAA,GAAA;;UAGZ,CAAA,EA8EW,KAAA,CAAM,SA9EjB;IA+ED,oBAAA,CAAA,GAAA,CAAA,OA7EQ;;iBAsGA,UAAA,CAtGwB;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;CAAA,EA2G9B,KAAA,CAAM,cA3GwB,CAAA,KAAA,CAAA,GAAA;;EAAkC,MAAA,CAAA,EA6GxD,KA7GwD,CAAA;IAa1D,OAAA,CAAA,EAAA,MAAY;EAAA,CAAA,GAAA,SAAA,CAAA;IAiGpB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAjGuB,IAAA"}
|
package/dist/index26.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as Label } from "./index25.js";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as react_jsx_runtime169 from "react/jsx-runtime";
|
|
4
2
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import * as react_jsx_runtime89 from "react/jsx-runtime";
|
|
5
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/primitives/Field/Field.d.ts
|
|
8
8
|
/** A `<fieldset>` wrapper that groups related fields with consistent spacing. */
|
|
9
9
|
declare function FieldSet({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"fieldset">):
|
|
12
|
+
}: React.ComponentProps<"fieldset">): react_jsx_runtime89.JSX.Element;
|
|
13
13
|
/** The caption for a `FieldSet`, rendered as a `<legend>`. */
|
|
14
14
|
declare function FieldLegend({
|
|
15
15
|
className,
|
|
@@ -18,42 +18,42 @@ declare function FieldLegend({
|
|
|
18
18
|
}: React.ComponentProps<"legend"> & {
|
|
19
19
|
/** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
|
|
20
20
|
variant?: "legend" | "label";
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime89.JSX.Element;
|
|
22
22
|
/** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
|
|
23
23
|
declare function FieldGroup({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
|
|
27
27
|
declare const fieldVariants: (props?: ({
|
|
28
28
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
30
30
|
/** A single labelled form field that lays out a control with its label, description, and error. */
|
|
31
31
|
declare function Field({
|
|
32
32
|
className,
|
|
33
33
|
/** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
|
|
34
34
|
orientation,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>):
|
|
36
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime89.JSX.Element;
|
|
37
37
|
/** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
|
|
38
38
|
declare function FieldContent({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
|
|
42
42
|
/** The accessible label for a field's control; wraps the `Label` primitive. */
|
|
43
43
|
declare function FieldLabel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Label>):
|
|
46
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime89.JSX.Element;
|
|
47
47
|
/** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
|
|
48
48
|
declare function FieldTitle({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"div">):
|
|
51
|
+
}: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
|
|
52
52
|
/** Muted helper text shown beneath (or beside) a field's control. */
|
|
53
53
|
declare function FieldDescription({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"p">):
|
|
56
|
+
}: React.ComponentProps<"p">): react_jsx_runtime89.JSX.Element;
|
|
57
57
|
/** A horizontal divider between groups of fields, optionally with centered label content. */
|
|
58
58
|
declare function FieldSeparator({
|
|
59
59
|
children,
|
|
@@ -62,7 +62,7 @@ declare function FieldSeparator({
|
|
|
62
62
|
}: React.ComponentProps<"div"> & {
|
|
63
63
|
/** Optional label rendered centered over the divider line. */
|
|
64
64
|
children?: React.ReactNode;
|
|
65
|
-
}):
|
|
65
|
+
}): react_jsx_runtime89.JSX.Element;
|
|
66
66
|
/** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
|
|
67
67
|
declare function FieldError({
|
|
68
68
|
className,
|
|
@@ -74,7 +74,7 @@ declare function FieldError({
|
|
|
74
74
|
errors?: Array<{
|
|
75
75
|
message?: string;
|
|
76
76
|
} | undefined>;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime89.JSX.Element | null;
|
|
78
78
|
//#endregion
|
|
79
79
|
export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
|
|
80
80
|
//# sourceMappingURL=index26.d.ts.map
|
package/dist/index26.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.d.ts","names":[],"sources":["../src/primitives/Field/Field.tsx"],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,
|
|
1
|
+
{"version":3,"file":"index26.d.ts","names":[],"sources":["../src/primitives/Field/Field.tsx"],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,mBAAA,CAAA,GAAA,CAAA;;iBAelE,WAAA;;;;GAIN,KAAA,CAAM;EAnBA;EAAQ,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA;IAsBhB,mBAAA,CAAA,GAAA,CAAA,OAtBmB;;iBAuCX,UAAA,CAvCkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuC9B,KAAA,CAAM,cAvCwB,CAAA,KAAA,CAAA,CAAA,EAuCH,mBAAA,CAAA,GAAA,CAAA,OAvCG;AAAA,cAoDrE,aApDqE,EAAA,CAAA,KAevD,CAfuD,EAAA,CAAA;EAelE,WAAA,CAAA,EAAW,UAAA,GAAA,YAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GAwDlB,+BAAA,CAAA,SAxDkB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBA2DX,KAAA,CAzDP;EAAA,SAAA;;aAKD;EAAA,GAAA;AAAA,CAAA,EAyDE,KAAA,CAAM,cAzDR,CAAA,KAAA,CAAA,GAyDgC,YAzDhC,CAAA,OAyDoD,aAzDpD,CAAA,CAAA,EAyDkE,mBAAA,CAAA,GAAA,CAAA,OAzDlE;AAAA;AAAA,iBAsEQ,YAAA,CArDU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqD4B,KAAA,CAAM,cArDlC,CAAA,KAAA,CAAA,CAAA,EAqDuD,mBAAA,CAAA,GAAA,CAAA,OArDvD;;iBAgEV,UAAA,CAhEa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgEuB,KAAA,CAAM,cAhE7B,CAAA,OAgEmD,KAhEnD,CAAA,CAAA,EAgEyD,mBAAA,CAAA,GAAA,CAAA,OAhEzD;;iBAgFb,UAAA,CAhF+D;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgF3B,KAAA,CAAM,cAhFqB,CAAA,KAAA,CAAA,CAAA,EAgFA,mBAAA,CAAA,GAAA,CAAA,OAhFA;AAAA;AAAA,iBA8F/D,gBAAA,CA9DP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8DiD,KAAA,CAAM,cA9DvD,CAAA,GAAA,CAAA,CAAA,EA8D0E,mBAAA,CAAA,GAAA,CAAA,OA9D1E;;iBA8EO,cAAA,CA3EK;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EA+EX,KAAA,CAAM,cA/EK,CAAA,KAAA,CAAA,GAAA;;UAGZ,CAAA,EA8EW,KAAA,CAAM,SA9EjB;IA+ED,mBAAA,CAAA,GAAA,CAAA,OA7EQ;;iBAsGA,UAAA,CAtGwB;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;CAAA,EA2G9B,KAAA,CAAM,cA3GwB,CAAA,KAAA,CAAA,GAAA;;EAAkC,MAAA,CAAA,EA6GxD,KA7GwD,CAAA;IAa1D,OAAA,CAAA,EAAA,MAAY;EAAA,CAAA,GAAA,SAAA,CAAA;IAiGpB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAjGuB,IAAA"}
|
package/dist/index27.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as FieldError, o as FieldLabel, r as FieldDescription, t as Field } from "./index26.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime169 from "react/jsx-runtime";
|
|
3
3
|
import { Slot } from "radix-ui";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
@@ -30,7 +30,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
30
30
|
/** Connects a single input to the form via RHF's `Controller`, exposing `field` to its render prop. */
|
|
31
31
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
32
32
|
...props
|
|
33
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
33
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime169.JSX.Element;
|
|
34
34
|
/** Hook for form pieces to read the current field's id, name, ARIA ids, and validation state. */
|
|
35
35
|
declare const useFormField: () => {
|
|
36
36
|
invalid: boolean;
|
|
@@ -47,25 +47,25 @@ declare const useFormField: () => {
|
|
|
47
47
|
/** Wraps one field, generating an id so its label, control, and messages stay linked. */
|
|
48
48
|
declare function FormItem({
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Field>):
|
|
50
|
+
}: React.ComponentProps<typeof Field>): react_jsx_runtime169.JSX.Element;
|
|
51
51
|
/** Field label wired to the control's id and tinted destructive when the field is invalid. */
|
|
52
52
|
declare function FormLabel({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof FieldLabel>):
|
|
55
|
+
}: React.ComponentProps<typeof FieldLabel>): react_jsx_runtime169.JSX.Element;
|
|
56
56
|
/** Slots the actual input, applying the field's id, `aria-describedby`, and `aria-invalid`. */
|
|
57
57
|
declare function FormControl({
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof Slot.Root>):
|
|
59
|
+
}: React.ComponentProps<typeof Slot.Root>): react_jsx_runtime169.JSX.Element;
|
|
60
60
|
/** Helper text for a field, linked to its control via `aria-describedby`. */
|
|
61
61
|
declare function FormDescription({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof FieldDescription>):
|
|
63
|
+
}: React.ComponentProps<typeof FieldDescription>): react_jsx_runtime169.JSX.Element;
|
|
64
64
|
/** Renders the field's validation error (or `children`), and nothing when there is no message. */
|
|
65
65
|
declare function FormMessage({
|
|
66
66
|
children,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof FieldError>):
|
|
68
|
+
}: React.ComponentProps<typeof FieldError>): react_jsx_runtime169.JSX.Element | null;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { FormItem as a, useFormField as c, FormField as i, FormControl as n, FormLabel as o, FormDescription as r, FormMessage as s, Form as t };
|
|
71
71
|
//# sourceMappingURL=index27.d.cts.map
|
package/dist/index27.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.d.cts","names":[],"sources":["../src/primitives/Form/Form.tsx"],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA;;;;;;;;;;;;;;;;;;;GAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,KAAA,CAAA,GAAA,CAAA;;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,
|
|
1
|
+
{"version":3,"file":"index27.d.cts","names":[],"sources":["../src/primitives/Form/Form.tsx"],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA;;;;;;;;;;;;;;;;;;;GAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,KAAA,CAAA,GAAA,CAAA;;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,oBAAA,CAAA,GAAA,CAAA;AAzB8C;cAkC/E,YA3BmB,EAAA,GAAA,GAAA;SAAf,EAAA,OAAA;SAAA,EAAA,OAAA;WAAA,EAAA,OAAA;cAAA,EAAA,OAAA;OAAA,CAAA,EAgDT,gBAAA,CAAA,UAhDS;MAAA,MAAA;MAAA,EAAA,MAAA;YAAA,EAAA,MAAA;mBAAA,EAAA,MAAA;eAAA,EAAA,MAAA;;;iBA0DD,QAAA,CA1DC;EAAA,GAAA;AAAA,CAAA,EA0DsB,KAAA,CAAM,cA1D5B,CAAA,OA0DkD,KA1DlD,CAAA,CAAA,EA0DwD,oBAAA,CAAA,GAAA,CAAA,OA1DxD;;iBAqED,SAAA,CArEC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqEkC,KAAA,CAAM,cArExC,CAAA,OAqE8D,UArE9D,CAAA,CAAA,EAqEyE,oBAAA,CAAA,GAAA,CAAA,OArEzE;;iBAoFD,WAAA,CApFC;EAAA,GAAA;AAAA,CAAA,EAoFyB,KAAA,CAAM,cApF/B,CAAA,OAoFqD,IAAA,CAAK,IApF1D,CAAA,CAAA,EAoF+D,oBAAA,CAAA,GAAA,CAAA,OApF/D;;iBAmGD,eAAA,CAnGC;EAAA,GAAA;AAAA,CAAA,EAmG6B,KAAA,CAAM,cAnGnC,CAAA,OAmGyD,gBAnGzD,CAAA,CAAA,EAmG0E,oBAAA,CAAA,GAAA,CAAA,OAnG1E;;iBA0GD,WAAA,CA1GC;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0GmC,KAAA,CAAM,cA1GzC,CAAA,OA0G+D,UA1G/D,CAAA,CAAA,EA0G0E,oBAAA,CAAA,GAAA,CAAA,OAAA,GA1G1E,IAAA"}
|
package/dist/index27.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as FieldError, o as FieldLabel, r as FieldDescription, t as Field } from "./index26.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
3
4
|
import { Slot } from "radix-ui";
|
|
4
|
-
import * as react_jsx_runtime221 from "react/jsx-runtime";
|
|
5
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
6
6
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
30
30
|
/** Connects a single input to the form via RHF's `Controller`, exposing `field` to its render prop. */
|
|
31
31
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
32
32
|
...props
|
|
33
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
33
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime83.JSX.Element;
|
|
34
34
|
/** Hook for form pieces to read the current field's id, name, ARIA ids, and validation state. */
|
|
35
35
|
declare const useFormField: () => {
|
|
36
36
|
invalid: boolean;
|
|
@@ -47,25 +47,25 @@ declare const useFormField: () => {
|
|
|
47
47
|
/** Wraps one field, generating an id so its label, control, and messages stay linked. */
|
|
48
48
|
declare function FormItem({
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Field>):
|
|
50
|
+
}: React.ComponentProps<typeof Field>): react_jsx_runtime83.JSX.Element;
|
|
51
51
|
/** Field label wired to the control's id and tinted destructive when the field is invalid. */
|
|
52
52
|
declare function FormLabel({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof FieldLabel>):
|
|
55
|
+
}: React.ComponentProps<typeof FieldLabel>): react_jsx_runtime83.JSX.Element;
|
|
56
56
|
/** Slots the actual input, applying the field's id, `aria-describedby`, and `aria-invalid`. */
|
|
57
57
|
declare function FormControl({
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof Slot.Root>):
|
|
59
|
+
}: React.ComponentProps<typeof Slot.Root>): react_jsx_runtime83.JSX.Element;
|
|
60
60
|
/** Helper text for a field, linked to its control via `aria-describedby`. */
|
|
61
61
|
declare function FormDescription({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof FieldDescription>):
|
|
63
|
+
}: React.ComponentProps<typeof FieldDescription>): react_jsx_runtime83.JSX.Element;
|
|
64
64
|
/** Renders the field's validation error (or `children`), and nothing when there is no message. */
|
|
65
65
|
declare function FormMessage({
|
|
66
66
|
children,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof FieldError>):
|
|
68
|
+
}: React.ComponentProps<typeof FieldError>): react_jsx_runtime83.JSX.Element | null;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { FormItem as a, useFormField as c, FormField as i, FormControl as n, FormLabel as o, FormDescription as r, FormMessage as s, Form as t };
|
|
71
71
|
//# sourceMappingURL=index27.d.ts.map
|
package/dist/index27.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.d.ts","names":[],"sources":["../src/primitives/Form/Form.tsx"],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA;;;;;;;;;;;;;;;;;;;GAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,KAAA,CAAA,GAAA,CAAA;;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,
|
|
1
|
+
{"version":3,"file":"index27.d.ts","names":[],"sources":["../src/primitives/Form/Form.tsx"],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA;;;;;;;;;;;;;;;;;;;GAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,KAAA,CAAA,GAAA,CAAA;;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,mBAAA,CAAA,GAAA,CAAA;AAzB8C;cAkC/E,YA3BmB,EAAA,GAAA,GAAA;SAAf,EAAA,OAAA;SAAA,EAAA,OAAA;WAAA,EAAA,OAAA;cAAA,EAAA,OAAA;OAAA,CAAA,EAgDT,gBAAA,CAAA,UAhDS;MAAA,MAAA;MAAA,EAAA,MAAA;YAAA,EAAA,MAAA;mBAAA,EAAA,MAAA;eAAA,EAAA,MAAA;;;iBA0DD,QAAA,CA1DC;EAAA,GAAA;AAAA,CAAA,EA0DsB,KAAA,CAAM,cA1D5B,CAAA,OA0DkD,KA1DlD,CAAA,CAAA,EA0DwD,mBAAA,CAAA,GAAA,CAAA,OA1DxD;;iBAqED,SAAA,CArEC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqEkC,KAAA,CAAM,cArExC,CAAA,OAqE8D,UArE9D,CAAA,CAAA,EAqEyE,mBAAA,CAAA,GAAA,CAAA,OArEzE;;iBAoFD,WAAA,CApFC;EAAA,GAAA;AAAA,CAAA,EAoFyB,KAAA,CAAM,cApF/B,CAAA,OAoFqD,IAAA,CAAK,IApF1D,CAAA,CAAA,EAoF+D,mBAAA,CAAA,GAAA,CAAA,OApF/D;;iBAmGD,eAAA,CAnGC;EAAA,GAAA;AAAA,CAAA,EAmG6B,KAAA,CAAM,cAnGnC,CAAA,OAmGyD,gBAnGzD,CAAA,CAAA,EAmG0E,mBAAA,CAAA,GAAA,CAAA,OAnG1E;;iBA0GD,WAAA,CA1GC;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0GmC,KAAA,CAAM,cA1GzC,CAAA,OA0G+D,UA1G/D,CAAA,CAAA,EA0G0E,mBAAA,CAAA,GAAA,CAAA,OAAA,GA1G1E,IAAA"}
|
package/dist/index28.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime273 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types26 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/Heading/Heading.d.ts
|
|
7
7
|
declare const headingVariants: (props?: ({
|
|
8
8
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | null | undefined;
|
|
9
|
-
weight?: "
|
|
10
|
-
align?: "
|
|
9
|
+
weight?: "medium" | "normal" | "semibold" | null | undefined;
|
|
10
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
11
11
|
gradient?: boolean | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types26.ClassProp) | undefined) => string;
|
|
13
13
|
type HeadingProps = React.ComponentProps<"h2"> & VariantProps<typeof headingVariants> & {
|
|
14
14
|
/** Semantic heading level/element. Defaults to `h2`. */
|
|
15
15
|
as?: React.ElementType;
|
|
@@ -31,7 +31,7 @@ declare function Heading({
|
|
|
31
31
|
align,
|
|
32
32
|
gradient,
|
|
33
33
|
...props
|
|
34
|
-
}: HeadingProps):
|
|
34
|
+
}: HeadingProps): react_jsx_runtime273.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HeadingProps as n, headingVariants as r, Heading as t };
|
|
37
37
|
//# sourceMappingURL=index28.d.cts.map
|
package/dist/index28.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.d.cts","names":[],"sources":["../src/primitives/Heading/Heading.tsx"],"mappings":";;;;;;cAUM,uBAiCW;;;;EAjCX,QAAA,CAAA,EAAA,OA+BJ,GAAA,IAAA,GAAA,SAAA;IAAA
|
|
1
|
+
{"version":3,"file":"index28.d.cts","names":[],"sources":["../src/primitives/Heading/Heading.tsx"],"mappings":";;;;;;cAUM,uBAiCW;;;;EAjCX,QAAA,CAAA,EAAA,OA+BJ,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA,SAEe,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAZ,YAAA,GAAe,KAAA,CAAM,cAAT,CAAA,IAAA,CAAA,GACf,YADe,CAAA,OACK,eADL,CAAA,GAAA;;KACK,EAEb,KAAA,CAAM,WAFO;;MAEb,CAAA,EAEE,YAFI,CAAA,OAEgB,eAFhB,CAAA,CAAA,MAAA,CAAA;;QAEJ,CAAA,EAEE,YAFF,CAAA,OAEsB,eAFtB,CAAA,CAAA,QAAA,CAAA;;OAEE,CAAA,EAED,YAFC,CAAA,OAEmB,eAFnB,CAAA,CAAA,OAAA,CAAA;;UAED,CAAA,EAEG,YAFH,CAAA,OAEuB,eAFvB,CAAA,CAAA,UAAA,CAAA;;;AAEe,iBAIlB,OAAA,CAJkB;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAIkD,YAJlD,CAAA,EAI8D,oBAAA,CAAA,GAAA,CAAA,OAJ9D"}
|
package/dist/index28.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime220 from "react/jsx-runtime";
|
|
3
1
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Heading/Heading.d.ts
|
|
7
7
|
declare const headingVariants: (props?: ({
|
|
@@ -9,7 +9,7 @@ declare const headingVariants: (props?: ({
|
|
|
9
9
|
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
10
|
align?: "center" | "left" | "right" | null | undefined;
|
|
11
11
|
gradient?: boolean | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
13
13
|
type HeadingProps = React.ComponentProps<"h2"> & VariantProps<typeof headingVariants> & {
|
|
14
14
|
/** Semantic heading level/element. Defaults to `h2`. */
|
|
15
15
|
as?: React.ElementType;
|
|
@@ -31,7 +31,7 @@ declare function Heading({
|
|
|
31
31
|
align,
|
|
32
32
|
gradient,
|
|
33
33
|
...props
|
|
34
|
-
}: HeadingProps):
|
|
34
|
+
}: HeadingProps): react_jsx_runtime76.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HeadingProps as n, headingVariants as r, Heading as t };
|
|
37
37
|
//# sourceMappingURL=index28.d.ts.map
|
package/dist/index28.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.d.ts","names":[],"sources":["../src/primitives/Heading/Heading.tsx"],"mappings":";;;;;;cAUM,uBAiCW;;;;EAjCX,QAAA,CAAA,EAAA,OA+BJ,GAAA,IAAA,GAAA,SAAA;IAAA,
|
|
1
|
+
{"version":3,"file":"index28.d.ts","names":[],"sources":["../src/primitives/Heading/Heading.tsx"],"mappings":";;;;;;cAUM,uBAiCW;;;;EAjCX,QAAA,CAAA,EAAA,OA+BJ,GAAA,IAAA,GAAA,SAAA;IAAA,+BAAA,CAAA,SAEe,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAZ,YAAA,GAAe,KAAA,CAAM,cAAT,CAAA,IAAA,CAAA,GACf,YADe,CAAA,OACK,eADL,CAAA,GAAA;;KACK,EAEb,KAAA,CAAM,WAFO;;MAEb,CAAA,EAEE,YAFI,CAAA,OAEgB,eAFhB,CAAA,CAAA,MAAA,CAAA;;QAEJ,CAAA,EAEE,YAFF,CAAA,OAEsB,eAFtB,CAAA,CAAA,QAAA,CAAA;;OAEE,CAAA,EAED,YAFC,CAAA,OAEmB,eAFnB,CAAA,CAAA,OAAA,CAAA;;UAED,CAAA,EAEG,YAFH,CAAA,OAEuB,eAFvB,CAAA,CAAA,UAAA,CAAA;;;AAEe,iBAIlB,OAAA,CAJkB;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAIkD,YAJlD,CAAA,EAI8D,mBAAA,CAAA,GAAA,CAAA,OAJ9D"}
|
package/dist/index29.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
2
2
|
import { HoverCard } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as React from "react";
|
|
|
6
6
|
/** Root that reveals a floating card when the user hovers (or focuses) the trigger. */
|
|
7
7
|
declare function HoverCard$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof HoverCard.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof HoverCard.Root>): react_jsx_runtime53.JSX.Element;
|
|
10
10
|
/** The element that opens the hover card on pointer hover or keyboard focus. */
|
|
11
11
|
declare function HoverCardTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof HoverCard.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof HoverCard.Trigger>): react_jsx_runtime53.JSX.Element;
|
|
14
14
|
/** The floating, portalled surface shown while the trigger is hovered/focused. */
|
|
15
15
|
declare function HoverCardContent({
|
|
16
16
|
className,
|
|
@@ -19,7 +19,7 @@ declare function HoverCardContent({
|
|
|
19
19
|
/** Gap in pixels between the trigger and the content. */
|
|
20
20
|
sideOffset,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof HoverCard.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof HoverCard.Content>): react_jsx_runtime53.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { HoverCardContent as n, HoverCardTrigger as r, HoverCard$1 as t };
|
|
25
25
|
//# sourceMappingURL=index29.d.cts.map
|
package/dist/index29.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
2
3
|
import { HoverCard } from "radix-ui";
|
|
3
|
-
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/HoverCard/HoverCard.d.ts
|
|
6
6
|
/** Root that reveals a floating card when the user hovers (or focuses) the trigger. */
|
|
7
7
|
declare function HoverCard$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof HoverCard.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof HoverCard.Root>): react_jsx_runtime80.JSX.Element;
|
|
10
10
|
/** The element that opens the hover card on pointer hover or keyboard focus. */
|
|
11
11
|
declare function HoverCardTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof HoverCard.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof HoverCard.Trigger>): react_jsx_runtime80.JSX.Element;
|
|
14
14
|
/** The floating, portalled surface shown while the trigger is hovered/focused. */
|
|
15
15
|
declare function HoverCardContent({
|
|
16
16
|
className,
|
|
@@ -19,7 +19,7 @@ declare function HoverCardContent({
|
|
|
19
19
|
/** Gap in pixels between the trigger and the content. */
|
|
20
20
|
sideOffset,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof HoverCard.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof HoverCard.Content>): react_jsx_runtime80.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { HoverCardContent as n, HoverCardTrigger as r, HoverCard$1 as t };
|
|
25
25
|
//# sourceMappingURL=index29.d.ts.map
|
package/dist/index29.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.d.ts","names":[],"sources":["../src/primitives/HoverCard/HoverCard.tsx"],"mappings":";;;;;;iBAMS,WAAA;;GAAwB,KAAA,CAAM,sBAAsB,SAAA,CAAmB,QAAK,
|
|
1
|
+
{"version":3,"file":"index29.d.ts","names":[],"sources":["../src/primitives/HoverCard/HoverCard.tsx"],"mappings":";;;;;;iBAMS,WAAA;;GAAwB,KAAA,CAAM,sBAAsB,SAAA,CAAmB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AALjD,iBAU3B,gBAAA,CALS;EAAA,GAAA;AAAA,CAAA,EAKsB,KAAA,CAAM,cAL5B,CAAA,OAKkD,SAAA,CAAmB,OALrE,CAAA,CAAA,EAK6E,mBAAA,CAAA,GAAA,CAAA,OAL7E;;iBAUT,gBAAA,CAVuE;EAAA,SAAA;;;EAAK;EAAA,UAK5E;EAAA,GAAA;AAAgB,CAAhB,EAYN,KAAA,CAAM,cAZgB,CAAA,OAYM,SAAA,CAAmB,OAZzB,CAAA,CAAA,EAYiC,mBAAA,CAAA,GAAA,CAAA,OAZjC"}
|
package/dist/index3.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -6,17 +6,17 @@ import * as React from "react";
|
|
|
6
6
|
/** A modal confirmation dialog that interrupts the user and expects a deliberate response. */
|
|
7
7
|
declare function AlertDialog$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AlertDialog.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AlertDialog.Root>): react_jsx_runtime83.JSX.Element;
|
|
10
10
|
declare function AlertDialogTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof AlertDialog.Trigger>):
|
|
12
|
+
}: React.ComponentProps<typeof AlertDialog.Trigger>): react_jsx_runtime83.JSX.Element;
|
|
13
13
|
declare function AlertDialogPortal({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof AlertDialog.Portal>):
|
|
15
|
+
}: React.ComponentProps<typeof AlertDialog.Portal>): react_jsx_runtime83.JSX.Element;
|
|
16
16
|
declare function AlertDialogOverlay({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof AlertDialog.Overlay>):
|
|
19
|
+
}: React.ComponentProps<typeof AlertDialog.Overlay>): react_jsx_runtime83.JSX.Element;
|
|
20
20
|
declare function AlertDialogContent({
|
|
21
21
|
className,
|
|
22
22
|
size,
|
|
@@ -24,27 +24,27 @@ declare function AlertDialogContent({
|
|
|
24
24
|
}: React.ComponentProps<typeof AlertDialog.Content> & {
|
|
25
25
|
/** Layout preset: `default` is compact + centered, `large` is wide + left-aligned. */
|
|
26
26
|
size?: "default" | "large";
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime83.JSX.Element;
|
|
28
28
|
declare function AlertDialogHeader({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"div">):
|
|
31
|
+
}: React.ComponentProps<"div">): react_jsx_runtime83.JSX.Element;
|
|
32
32
|
declare function AlertDialogFooter({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime83.JSX.Element;
|
|
36
36
|
declare function AlertDialogTitle({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof AlertDialog.Title>):
|
|
39
|
+
}: React.ComponentProps<typeof AlertDialog.Title>): react_jsx_runtime83.JSX.Element;
|
|
40
40
|
declare function AlertDialogDescription({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof AlertDialog.Description>):
|
|
43
|
+
}: React.ComponentProps<typeof AlertDialog.Description>): react_jsx_runtime83.JSX.Element;
|
|
44
44
|
declare function AlertDialogMedia({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<"div">):
|
|
47
|
+
}: React.ComponentProps<"div">): react_jsx_runtime83.JSX.Element;
|
|
48
48
|
declare function AlertDialogAction({
|
|
49
49
|
className,
|
|
50
50
|
variant,
|
|
@@ -52,11 +52,11 @@ declare function AlertDialogAction({
|
|
|
52
52
|
}: React.ComponentProps<typeof AlertDialog.Action> & {
|
|
53
53
|
/** Button style for the confirming action; use `destructive` for irreversible actions. */
|
|
54
54
|
variant?: "default" | "destructive";
|
|
55
|
-
}):
|
|
55
|
+
}): react_jsx_runtime83.JSX.Element;
|
|
56
56
|
declare function AlertDialogCancel({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof AlertDialog.Cancel>):
|
|
59
|
+
}: React.ComponentProps<typeof AlertDialog.Cancel>): react_jsx_runtime83.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { AlertDialogDescription as a, AlertDialogMedia as c, AlertDialogTitle as d, AlertDialogTrigger as f, AlertDialogContent as i, AlertDialogOverlay as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog$1 as t, AlertDialogPortal as u };
|
|
62
62
|
//# sourceMappingURL=index3.d.cts.map
|
package/dist/index3.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index3.d.cts","names":[],"sources":["../src/primitives/AlertDialog/AlertDialog.tsx"],"mappings":";;;;;;iBAOS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,
|
|
1
|
+
{"version":3,"file":"index3.d.cts","names":[],"sources":["../src/primitives/AlertDialog/AlertDialog.tsx"],"mappings":";;;;;;iBAOS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAIhF,kBAAA;;GAEN,KAAA,CAAM,sBAAsB,WAAA,CAAqB,WAAQ,mBAAA,CAAA,GAAA,CAAA;AAZxB,iBAgB3B,iBAAA,CAVW;EAAA,GAAA;AAAA,CAAA,EAUqB,KAAA,CAAM,cAV3B,CAAA,OAUiD,WAAA,CAAqB,MAVtE,CAAA,CAAA,EAU6E,mBAAA,CAAA,GAAA,CAAA,OAV7E;iBAcX,kBAAA,CAdW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiBjB,KAAA,CAAM,cAjBW,CAAA,OAiBW,WAAA,CAAqB,OAjBhC,CAAA,CAAA,EAiBwC,mBAAA,CAAA,GAAA,CAAA,OAjBxC;iBA8BX,kBAAA,CA9B2E;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;AAAK,CAAL,EAkCjF,KAAA,CAAM,cAlC2E,CAAA,OAkCrD,WAAA,CAAqB,OAlCgC,CAAA,GAAA;;MAAK,CAAA,EAAA,SAAA,GAAA,OAAA;AAAA,CAAA,CAAA,EAqCxF,mBAAA,CAAA,GAAA,CAAA,OArCwF;AAAA,iBAwDhF,iBAAA,CApDkB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoDyB,KAAA,CAAM,cApD/B,CAAA,KAAA,CAAA,CAAA,EAoDoD,mBAAA,CAAA,GAAA,CAAA,OApDpD;iBAmElB,iBAAA,CAnEkB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmEyB,KAAA,CAAM,cAnE/B,CAAA,KAAA,CAAA,CAAA,EAmEoD,mBAAA,CAAA,GAAA,CAAA,OAnEpD;iBAmFlB,gBAAA,CAjF2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoFjD,KAAA,CAAM,cApF2C,CAAA,OAoFrB,WAAA,CAAqB,KApFA,CAAA,CAAA,EAoFM,mBAAA,CAAA,GAAA,CAAA,OApFN;iBAiG3C,sBAAA,CAjGA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoGN,KAAA,CAAM,cApGA,CAAA,OAoGsB,WAAA,CAAqB,WApG3C,CAAA,CAAA,EAoGuD,mBAAA,CAAA,GAAA,CAAA,OApGvD;iBA+GA,gBAAA,CA/GmD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+GT,KAAA,CAAM,cA/GG,CAAA,KAAA,CAAA,CAAA,EA+GkB,mBAAA,CAAA,GAAA,CAAA,OA/GlB;AAAA,iBA6HnD,iBAAA,CA7HmD;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EAiIzD,KAAA,CAAM,cAjImD,CAAA,OAiI7B,WAAA,CAAqB,MAjIQ,CAAA,GAAA;EAInD;EAAiB,OAAA,CAAA,EAAA,SAAA,GAAA,aAAA;IAgIzB,mBAAA,CAAA,GAAA,CAAA,OAhIyF;iBAyIjF,iBAAA,CAzIsC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4I5C,KAAA,CAAM,cA5IsC,CAAA,OA4IhB,WAAA,CAAqB,MA5IL,CAAA,CAAA,EA4IY,mBAAA,CAAA,GAAA,CAAA,OA5IZ"}
|
package/dist/index3.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime276 from "react/jsx-runtime";
|
|
2
3
|
import { AlertDialog } from "radix-ui";
|
|
3
|
-
import * as react_jsx_runtime312 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/AlertDialog/AlertDialog.d.ts
|
|
6
6
|
/** A modal confirmation dialog that interrupts the user and expects a deliberate response. */
|
|
7
7
|
declare function AlertDialog$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AlertDialog.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AlertDialog.Root>): react_jsx_runtime276.JSX.Element;
|
|
10
10
|
declare function AlertDialogTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof AlertDialog.Trigger>):
|
|
12
|
+
}: React.ComponentProps<typeof AlertDialog.Trigger>): react_jsx_runtime276.JSX.Element;
|
|
13
13
|
declare function AlertDialogPortal({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof AlertDialog.Portal>):
|
|
15
|
+
}: React.ComponentProps<typeof AlertDialog.Portal>): react_jsx_runtime276.JSX.Element;
|
|
16
16
|
declare function AlertDialogOverlay({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof AlertDialog.Overlay>):
|
|
19
|
+
}: React.ComponentProps<typeof AlertDialog.Overlay>): react_jsx_runtime276.JSX.Element;
|
|
20
20
|
declare function AlertDialogContent({
|
|
21
21
|
className,
|
|
22
22
|
size,
|
|
@@ -24,27 +24,27 @@ declare function AlertDialogContent({
|
|
|
24
24
|
}: React.ComponentProps<typeof AlertDialog.Content> & {
|
|
25
25
|
/** Layout preset: `default` is compact + centered, `large` is wide + left-aligned. */
|
|
26
26
|
size?: "default" | "large";
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime276.JSX.Element;
|
|
28
28
|
declare function AlertDialogHeader({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"div">):
|
|
31
|
+
}: React.ComponentProps<"div">): react_jsx_runtime276.JSX.Element;
|
|
32
32
|
declare function AlertDialogFooter({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime276.JSX.Element;
|
|
36
36
|
declare function AlertDialogTitle({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof AlertDialog.Title>):
|
|
39
|
+
}: React.ComponentProps<typeof AlertDialog.Title>): react_jsx_runtime276.JSX.Element;
|
|
40
40
|
declare function AlertDialogDescription({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof AlertDialog.Description>):
|
|
43
|
+
}: React.ComponentProps<typeof AlertDialog.Description>): react_jsx_runtime276.JSX.Element;
|
|
44
44
|
declare function AlertDialogMedia({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<"div">):
|
|
47
|
+
}: React.ComponentProps<"div">): react_jsx_runtime276.JSX.Element;
|
|
48
48
|
declare function AlertDialogAction({
|
|
49
49
|
className,
|
|
50
50
|
variant,
|
|
@@ -52,11 +52,11 @@ declare function AlertDialogAction({
|
|
|
52
52
|
}: React.ComponentProps<typeof AlertDialog.Action> & {
|
|
53
53
|
/** Button style for the confirming action; use `destructive` for irreversible actions. */
|
|
54
54
|
variant?: "default" | "destructive";
|
|
55
|
-
}):
|
|
55
|
+
}): react_jsx_runtime276.JSX.Element;
|
|
56
56
|
declare function AlertDialogCancel({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof AlertDialog.Cancel>):
|
|
59
|
+
}: React.ComponentProps<typeof AlertDialog.Cancel>): react_jsx_runtime276.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { AlertDialogDescription as a, AlertDialogMedia as c, AlertDialogTitle as d, AlertDialogTrigger as f, AlertDialogContent as i, AlertDialogOverlay as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog$1 as t, AlertDialogPortal as u };
|
|
62
62
|
//# sourceMappingURL=index3.d.ts.map
|