@psnext/design-system 2.4.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 +32 -4
- package/SKILL.md +1 -1
- package/dist/Header.cjs +3 -3
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +3 -3
- package/dist/Header.js.map +1 -1
- package/dist/Mosaic.cjs +472 -0
- package/dist/Mosaic.cjs.map +1 -0
- package/dist/Mosaic.js +459 -0
- package/dist/Mosaic.js.map +1 -0
- package/dist/index.cjs +25 -4
- 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.js +10 -5
- package/dist/index10.d.cts +5 -5
- 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.cts.map +1 -1
- 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.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 +58 -23
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +58 -23
- package/dist/index15.d.ts.map +1 -1
- package/dist/index16.d.cts +23 -32
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +23 -32
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.cts +34 -15
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +34 -15
- package/dist/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +13 -67
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +13 -67
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +55 -48
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +55 -48
- 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 +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +45 -75
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +45 -75
- package/dist/index20.d.ts.map +1 -1
- package/dist/index21.d.cts +39 -28
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +39 -28
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +98 -44
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +98 -44
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +65 -68
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +65 -68
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +27 -42
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +27 -42
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +68 -11
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +68 -11
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +75 -56
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +75 -56
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +38 -60
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +38 -60
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +10 -30
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +10 -30
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +72 -17
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +72 -17
- 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 +46 -80
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +46 -80
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +64 -33
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +64 -33
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +29 -18
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +29 -18
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +17 -51
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +17 -51
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +81 -36
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +81 -36
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +32 -69
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +32 -69
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +20 -13
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +20 -13
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +51 -21
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +51 -21
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +38 -15
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +38 -15
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +53 -81
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +53 -81
- 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 +13 -16
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +13 -16
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +25 -52
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +24 -51
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +15 -40
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +15 -40
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +86 -77
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +86 -77
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +125 -1
- package/dist/index44.d.cts.map +1 -0
- package/dist/index44.d.ts +125 -1
- package/dist/index44.d.ts.map +1 -0
- package/dist/index45.d.cts +15 -41
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +15 -41
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +52 -24
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +52 -24
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +86 -31
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +86 -31
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +1 -25
- package/dist/index48.d.ts +1 -25
- package/dist/index49.d.cts +120 -14
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +120 -14
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +32 -53
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +32 -53
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +21 -56
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +21 -56
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +33 -23
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +33 -23
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +17 -201
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +17 -201
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +14 -19
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +14 -19
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +64 -23
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +64 -23
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +95 -22
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +95 -22
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +25 -6
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +25 -6
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +202 -43
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +202 -43
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +15 -40
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +15 -40
- 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 +20 -55
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +20 -55
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +21 -41
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +21 -41
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +6 -18
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +6 -18
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +46 -41
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +46 -41
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +47 -19
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +47 -19
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +50 -35
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +50 -35
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +33 -13
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +33 -13
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +17 -84
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +17 -84
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +40 -14
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +40 -14
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +16 -30
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +16 -30
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.ts +8 -8
- package/dist/index70.d.cts +39 -27
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +39 -27
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +22 -79
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +22 -79
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +77 -264
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +77 -264
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +19 -0
- package/dist/index73.d.cts.map +1 -0
- package/dist/index73.d.ts +19 -0
- package/dist/index73.d.ts.map +1 -0
- package/dist/index74.d.cts +37 -0
- package/dist/index74.d.cts.map +1 -0
- package/dist/index74.d.ts +37 -0
- package/dist/index74.d.ts.map +1 -0
- package/dist/index75.d.cts +36 -0
- package/dist/index75.d.cts.map +1 -0
- package/dist/index75.d.ts +36 -0
- package/dist/index75.d.ts.map +1 -0
- package/dist/index76.d.cts +87 -0
- package/dist/index76.d.cts.map +1 -0
- package/dist/index76.d.ts +87 -0
- package/dist/index76.d.ts.map +1 -0
- package/dist/index77.d.cts +278 -0
- package/dist/index77.d.cts.map +1 -0
- package/dist/index77.d.ts +278 -0
- package/dist/index77.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- 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 +14 -14
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- 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.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.ts +3 -3
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/Checkbox/index.cjs +1 -1
- package/dist/primitives/Checkbox/index.cjs.map +1 -1
- package/dist/primitives/Checkbox/index.d.cts +1 -1
- package/dist/primitives/Checkbox/index.d.ts +1 -1
- package/dist/primitives/Checkbox/index.js +1 -1
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/CheckboxTree/index.d.cts +1 -1
- package/dist/primitives/CheckboxTree/index.d.ts +1 -1
- package/dist/primitives/CircularProgress/index.cjs +106 -0
- package/dist/primitives/CircularProgress/index.cjs.map +1 -0
- package/dist/primitives/CircularProgress/index.d.cts +2 -0
- package/dist/primitives/CircularProgress/index.d.ts +2 -0
- package/dist/primitives/CircularProgress/index.js +105 -0
- package/dist/primitives/CircularProgress/index.js.map +1 -0
- package/dist/primitives/Collapsible/index.d.cts +1 -1
- package/dist/primitives/Collapsible/index.d.ts +1 -1
- 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/Command/index.d.cts +1 -1
- package/dist/primitives/Command/index.d.ts +1 -1
- 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/Dialog/index.d.cts +1 -1
- package/dist/primitives/Dialog/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.cjs +34 -2
- package/dist/primitives/Drawer/index.cjs.map +1 -1
- package/dist/primitives/Drawer/index.d.cts +1 -1
- package/dist/primitives/Drawer/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.js +34 -2
- package/dist/primitives/Drawer/index.js.map +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.cjs +354 -0
- package/dist/primitives/FileUpload/index.cjs.map +1 -0
- package/dist/primitives/FileUpload/index.d.cts +2 -0
- package/dist/primitives/FileUpload/index.d.ts +2 -0
- package/dist/primitives/FileUpload/index.js +351 -0
- package/dist/primitives/FileUpload/index.js.map +1 -0
- 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.cjs +4 -0
- package/dist/primitives/Mosaic/index.d.cts +2 -0
- package/dist/primitives/Mosaic/index.d.ts +2 -0
- package/dist/primitives/Mosaic/index.js +2 -0
- 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.cjs +390 -0
- package/dist/primitives/NotchedCard/index.cjs.map +1 -0
- package/dist/primitives/NotchedCard/index.d.cts +2 -0
- package/dist/primitives/NotchedCard/index.d.ts +2 -0
- package/dist/primitives/NotchedCard/index.js +385 -0
- package/dist/primitives/NotchedCard/index.js.map +1 -0
- 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.cjs +1 -1
- package/dist/primitives/RadioGroup/index.cjs.map +1 -1
- package/dist/primitives/RadioGroup/index.d.cts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.js +1 -1
- package/dist/primitives/RadioGroup/index.js.map +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.cjs +34 -2
- package/dist/primitives/Sheet/index.cjs.map +1 -1
- package/dist/primitives/Sheet/index.d.cts +1 -1
- package/dist/primitives/Sheet/index.d.ts +1 -1
- package/dist/primitives/Sheet/index.js +34 -2
- package/dist/primitives/Sheet/index.js.map +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 +25 -4
- package/dist/primitives/index.d.cts +56 -51
- package/dist/primitives/index.d.ts +56 -51
- package/dist/primitives/index.js +10 -5
- 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/index23.d.ts
CHANGED
|
@@ -1,99 +1,96 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
2
|
+
import * as react_jsx_runtime144 from "react/jsx-runtime";
|
|
3
|
+
import { ContextMenu } from "radix-ui";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/** Root provider for a
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/ContextMenu/ContextMenu.d.ts
|
|
6
|
+
/** Root provider for a right-click context menu; wires the trigger to its portalled content. */
|
|
7
|
+
declare function ContextMenu$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
9
|
+
}: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime144.JSX.Element;
|
|
10
|
+
/** The target region that opens the menu on right-click (context menu). */
|
|
11
|
+
declare function ContextMenuTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
13
|
+
}: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime144.JSX.Element;
|
|
14
|
+
/** Groups related items together for labelling and accessibility. */
|
|
15
|
+
declare function ContextMenuGroup({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/**
|
|
19
|
-
declare function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
}: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime144.JSX.Element;
|
|
18
|
+
/** Portals the menu content into the document body. */
|
|
19
|
+
declare function ContextMenuPortal({
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime144.JSX.Element;
|
|
22
|
+
/** Wraps a nested submenu (pair with `ContextMenuSubTrigger` and `ContextMenuSubContent`). */
|
|
23
|
+
declare function ContextMenuSub({
|
|
23
24
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof
|
|
25
|
-
/** Groups
|
|
26
|
-
declare function
|
|
25
|
+
}: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime144.JSX.Element;
|
|
26
|
+
/** Groups `ContextMenuRadioItem`s into a single-select set. */
|
|
27
|
+
declare function ContextMenuRadioGroup({
|
|
27
28
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof
|
|
29
|
-
/**
|
|
30
|
-
declare function
|
|
29
|
+
}: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime144.JSX.Element;
|
|
30
|
+
/** Item that opens a nested submenu; renders a trailing chevron. */
|
|
31
|
+
declare function ContextMenuSubTrigger({
|
|
31
32
|
className,
|
|
32
|
-
/** Indents the item to align with rows that have a leading icon/indicator. */
|
|
33
33
|
inset,
|
|
34
|
-
|
|
35
|
-
variant,
|
|
34
|
+
children,
|
|
36
35
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof
|
|
36
|
+
}: React.ComponentProps<typeof ContextMenu.SubTrigger> & {
|
|
37
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
38
38
|
inset?: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
declare function DropdownMenuCheckboxItem({
|
|
39
|
+
}): react_jsx_runtime144.JSX.Element;
|
|
40
|
+
/** The popover surface for a nested submenu. */
|
|
41
|
+
declare function ContextMenuSubContent({
|
|
43
42
|
className,
|
|
44
|
-
children,
|
|
45
|
-
/** Whether the checkbox indicator is shown as checked. */
|
|
46
|
-
checked,
|
|
47
43
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof
|
|
49
|
-
/**
|
|
50
|
-
declare function
|
|
51
|
-
...props
|
|
52
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime112.JSX.Element;
|
|
53
|
-
/** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
|
|
54
|
-
declare function DropdownMenuRadioItem({
|
|
44
|
+
}: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime144.JSX.Element;
|
|
45
|
+
/** The portalled popover surface that holds the menu items. */
|
|
46
|
+
declare function ContextMenuContent({
|
|
55
47
|
className,
|
|
56
|
-
children,
|
|
57
48
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof
|
|
59
|
-
/** A
|
|
60
|
-
declare function
|
|
49
|
+
}: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime144.JSX.Element;
|
|
50
|
+
/** A selectable menu item; supports a `destructive` variant and `inset` alignment. */
|
|
51
|
+
declare function ContextMenuItem({
|
|
61
52
|
className,
|
|
62
|
-
/** Indents the label to align with rows that have a leading icon/indicator. */
|
|
63
53
|
inset,
|
|
54
|
+
variant,
|
|
64
55
|
...props
|
|
65
|
-
}: React.ComponentProps<typeof
|
|
56
|
+
}: React.ComponentProps<typeof ContextMenu.Item> & {
|
|
57
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
66
58
|
inset?: boolean;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
/** Visual intent; `destructive` colours the item with the danger palette. */
|
|
60
|
+
variant?: "default" | "destructive";
|
|
61
|
+
}): react_jsx_runtime144.JSX.Element;
|
|
62
|
+
/** A menu item with a toggleable checkmark indicator. */
|
|
63
|
+
declare function ContextMenuCheckboxItem({
|
|
70
64
|
className,
|
|
65
|
+
children,
|
|
66
|
+
checked,
|
|
71
67
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
68
|
+
}: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime144.JSX.Element;
|
|
69
|
+
/** A menu item with a radio indicator; use inside `ContextMenuRadioGroup`. */
|
|
70
|
+
declare function ContextMenuRadioItem({
|
|
75
71
|
className,
|
|
72
|
+
children,
|
|
76
73
|
...props
|
|
77
|
-
}: React.ComponentProps<
|
|
78
|
-
/**
|
|
79
|
-
declare function
|
|
80
|
-
...props
|
|
81
|
-
}: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime112.JSX.Element;
|
|
82
|
-
/** The item that opens a nested submenu, shown with a trailing chevron. */
|
|
83
|
-
declare function DropdownMenuSubTrigger({
|
|
74
|
+
}: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime144.JSX.Element;
|
|
75
|
+
/** A non-interactive heading that labels a group of items. */
|
|
76
|
+
declare function ContextMenuLabel({
|
|
84
77
|
className,
|
|
85
|
-
/** Indents the trigger to align with rows that have a leading icon/indicator. */
|
|
86
78
|
inset,
|
|
87
|
-
children,
|
|
88
79
|
...props
|
|
89
|
-
}: React.ComponentProps<typeof
|
|
80
|
+
}: React.ComponentProps<typeof ContextMenu.Label> & {
|
|
81
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
90
82
|
inset?: boolean;
|
|
91
|
-
}):
|
|
92
|
-
/**
|
|
93
|
-
declare function
|
|
83
|
+
}): react_jsx_runtime144.JSX.Element;
|
|
84
|
+
/** A horizontal divider between groups of items. */
|
|
85
|
+
declare function ContextMenuSeparator({
|
|
86
|
+
className,
|
|
87
|
+
...props
|
|
88
|
+
}: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime144.JSX.Element;
|
|
89
|
+
/** Right-aligned text for a keyboard shortcut hint inside an item. */
|
|
90
|
+
declare function ContextMenuShortcut({
|
|
94
91
|
className,
|
|
95
92
|
...props
|
|
96
|
-
}: React.ComponentProps<
|
|
93
|
+
}: React.ComponentProps<"span">): react_jsx_runtime144.JSX.Element;
|
|
97
94
|
//#endregion
|
|
98
|
-
export {
|
|
95
|
+
export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu$1 as t, ContextMenuSeparator as u };
|
|
99
96
|
//# sourceMappingURL=index23.d.ts.map
|
package/dist/index23.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index23.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index23.d.ts","names":[],"sources":["../src/primitives/ContextMenu/ContextMenu.tsx"],"mappings":"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"}
|
package/dist/index24.d.cts
CHANGED
|
@@ -1,49 +1,34 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
4
3
|
import * as React from "react";
|
|
5
4
|
|
|
6
|
-
//#region src/primitives/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
//#region src/primitives/Credits/Credits.d.ts
|
|
6
|
+
type CreditsVariant = "default" | "warning" | "critical";
|
|
7
|
+
declare const creditsVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "warning" | "critical" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
10
|
+
type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
11
|
+
/** The numeric balance to display. */
|
|
12
|
+
value: number;
|
|
13
|
+
/** Force a variant; by default it is derived from `value`. */
|
|
14
|
+
variant?: CreditsVariant;
|
|
15
|
+
/** Balance at/below which the warning variant kicks in. Default 200. */
|
|
16
|
+
lowThreshold?: number;
|
|
17
|
+
/** Override the leading icon. */
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/** Override how the value is rendered. */
|
|
20
|
+
format?: (value: number) => string;
|
|
21
|
+
};
|
|
22
|
+
/** A pill showing a remaining-credits balance, colour-escalating as it drops. */
|
|
23
|
+
declare function Credits({
|
|
12
24
|
className,
|
|
13
|
-
|
|
25
|
+
value,
|
|
14
26
|
variant,
|
|
27
|
+
lowThreshold,
|
|
28
|
+
icon,
|
|
29
|
+
format,
|
|
15
30
|
...props
|
|
16
|
-
}:
|
|
17
|
-
/** Groups the media, title, and description with centered alignment. */
|
|
18
|
-
declare function EmptyHeader({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<"div">): react_jsx_runtime2.JSX.Element;
|
|
22
|
-
declare const emptyMediaVariants: (props?: ({
|
|
23
|
-
variant?: "default" | "icon" | null | undefined;
|
|
24
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
25
|
-
/** Holds the leading illustration or icon above the title. */
|
|
26
|
-
declare function EmptyMedia({
|
|
27
|
-
className,
|
|
28
|
-
/** Visual treatment: bare media or a rounded muted icon badge. */
|
|
29
|
-
variant,
|
|
30
|
-
...props
|
|
31
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime2.JSX.Element;
|
|
32
|
-
/** The primary heading line of the empty state. */
|
|
33
|
-
declare function EmptyTitle({
|
|
34
|
-
className,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<"div">): react_jsx_runtime2.JSX.Element;
|
|
37
|
-
/** Muted supporting copy explaining the empty state. */
|
|
38
|
-
declare function EmptyDescription({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<"p">): react_jsx_runtime2.JSX.Element;
|
|
42
|
-
/** Slot for actions or follow-up content below the header. */
|
|
43
|
-
declare function EmptyContent({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<"div">): react_jsx_runtime2.JSX.Element;
|
|
31
|
+
}: CreditsProps): react_jsx_runtime146.JSX.Element;
|
|
47
32
|
//#endregion
|
|
48
|
-
export {
|
|
33
|
+
export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
|
|
49
34
|
//# sourceMappingURL=index24.d.cts.map
|
package/dist/index24.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index24.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index24.d.cts","names":[],"sources":["../src/primitives/Credits/Credits.tsx"],"mappings":";;;;;KAYY,cAAA;cAEN;;IAYL,+BAAA,CAAA;AAdD,KA4BK,YAAA,GAAe,IA5BM,CA4BD,KAAA,CAAM,cA5BL,CAAA,MAAA,CAAA,EAAA,UAAA,CAAA,GAAA;EAEpB;EA0BD,KAAA,EAAA,MAAA;EAAY;SAAQ,CAAA,EAIb,cAJmB;;cAInB,CAAA,EAAA,MAAA;;EAIY,IAAA,CAAA,EAAf,KAAA,CAAM,SAAS;EAMf;EAAO,MAAA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,MAAA;;;iBAAP,OAAA,CAGP;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA,YAAA;EAAA,IAAA;EAAA,MAAA;EAAA,GAAA;AAAA,CAAA,EAKC,YALD,CAAA,EAKa,oBAAA,CAAA,GAAA,CAAA,OALb"}
|
package/dist/index24.d.ts
CHANGED
|
@@ -1,49 +1,34 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
5
4
|
|
|
6
|
-
//#region src/primitives/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
//#region src/primitives/Credits/Credits.d.ts
|
|
6
|
+
type CreditsVariant = "default" | "warning" | "critical";
|
|
7
|
+
declare const creditsVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "warning" | "critical" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
10
|
+
type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
11
|
+
/** The numeric balance to display. */
|
|
12
|
+
value: number;
|
|
13
|
+
/** Force a variant; by default it is derived from `value`. */
|
|
14
|
+
variant?: CreditsVariant;
|
|
15
|
+
/** Balance at/below which the warning variant kicks in. Default 200. */
|
|
16
|
+
lowThreshold?: number;
|
|
17
|
+
/** Override the leading icon. */
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/** Override how the value is rendered. */
|
|
20
|
+
format?: (value: number) => string;
|
|
21
|
+
};
|
|
22
|
+
/** A pill showing a remaining-credits balance, colour-escalating as it drops. */
|
|
23
|
+
declare function Credits({
|
|
12
24
|
className,
|
|
13
|
-
|
|
25
|
+
value,
|
|
14
26
|
variant,
|
|
27
|
+
lowThreshold,
|
|
28
|
+
icon,
|
|
29
|
+
format,
|
|
15
30
|
...props
|
|
16
|
-
}:
|
|
17
|
-
/** Groups the media, title, and description with centered alignment. */
|
|
18
|
-
declare function EmptyHeader({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
|
|
22
|
-
declare const emptyMediaVariants: (props?: ({
|
|
23
|
-
variant?: "default" | "icon" | null | undefined;
|
|
24
|
-
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
25
|
-
/** Holds the leading illustration or icon above the title. */
|
|
26
|
-
declare function EmptyMedia({
|
|
27
|
-
className,
|
|
28
|
-
/** Visual treatment: bare media or a rounded muted icon badge. */
|
|
29
|
-
variant,
|
|
30
|
-
...props
|
|
31
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime99.JSX.Element;
|
|
32
|
-
/** The primary heading line of the empty state. */
|
|
33
|
-
declare function EmptyTitle({
|
|
34
|
-
className,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
|
|
37
|
-
/** Muted supporting copy explaining the empty state. */
|
|
38
|
-
declare function EmptyDescription({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<"p">): react_jsx_runtime99.JSX.Element;
|
|
42
|
-
/** Slot for actions or follow-up content below the header. */
|
|
43
|
-
declare function EmptyContent({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
|
|
31
|
+
}: CreditsProps): react_jsx_runtime143.JSX.Element;
|
|
47
32
|
//#endregion
|
|
48
|
-
export {
|
|
33
|
+
export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
|
|
49
34
|
//# sourceMappingURL=index24.d.ts.map
|
package/dist/index24.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index24.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index24.d.ts","names":[],"sources":["../src/primitives/Credits/Credits.tsx"],"mappings":";;;;;KAYY,cAAA;cAEN;;IAYL,gCAAA,CAAA;AAdD,KA4BK,YAAA,GAAe,IA5BM,CA4BD,KAAA,CAAM,cA5BL,CAAA,MAAA,CAAA,EAAA,UAAA,CAAA,GAAA;EAEpB;EA0BD,KAAA,EAAA,MAAA;EAAY;SAAQ,CAAA,EAIb,cAJmB;;cAInB,CAAA,EAAA,MAAA;;EAIY,IAAA,CAAA,EAAf,KAAA,CAAM,SAAS;EAMf;EAAO,MAAA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,MAAA;;;iBAAP,OAAA,CAGP;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA,YAAA;EAAA,IAAA;EAAA,MAAA;EAAA,GAAA;AAAA,CAAA,EAKC,YALD,CAAA,EAKa,oBAAA,CAAA,GAAA,CAAA,OALb"}
|
package/dist/index25.d.cts
CHANGED
|
@@ -1,17 +1,74 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Label } from "radix-ui";
|
|
1
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
3
2
|
import * as React from "react";
|
|
3
|
+
import { Drawer } from "vaul";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/Drawer/Drawer.d.ts
|
|
6
|
+
/** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
|
|
7
|
+
declare function Drawer$1({
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime64.JSX.Element;
|
|
10
|
+
/** Element that toggles the drawer open when interacted with. */
|
|
11
|
+
declare function DrawerTrigger({
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime64.JSX.Element;
|
|
14
|
+
/** Portals the overlay and content out to the document body. */
|
|
15
|
+
declare function DrawerPortal({
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime64.JSX.Element;
|
|
18
|
+
/** Element that closes the drawer when interacted with. */
|
|
19
|
+
declare function DrawerClose({
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime64.JSX.Element;
|
|
22
|
+
/** Dimmed backdrop rendered behind the drawer content. */
|
|
23
|
+
declare function DrawerOverlay({
|
|
24
|
+
/** Extra classes merged onto the overlay surface. */
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime64.JSX.Element;
|
|
28
|
+
declare const drawerSizeVariants: {
|
|
29
|
+
readonly small: string;
|
|
30
|
+
readonly default: string;
|
|
31
|
+
readonly medium: string;
|
|
32
|
+
readonly large: string;
|
|
33
|
+
readonly extraLarge: string;
|
|
34
|
+
};
|
|
35
|
+
/** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
|
|
36
|
+
declare function DrawerContent({
|
|
37
|
+
/** Extra classes merged onto the content panel. */
|
|
38
|
+
className,
|
|
39
|
+
/** Body of the drawer, typically header/footer plus content. */
|
|
40
|
+
children,
|
|
41
|
+
/** Optional size variant for the drawer panel. */
|
|
42
|
+
size,
|
|
43
|
+
...props
|
|
44
|
+
}: React.ComponentProps<typeof Drawer.Content> & {
|
|
45
|
+
/** Panel size. `default` matches the existing production sizing. */
|
|
46
|
+
size?: keyof typeof drawerSizeVariants;
|
|
47
|
+
}): react_jsx_runtime64.JSX.Element;
|
|
48
|
+
/** Top region of the drawer; groups the title and description. */
|
|
49
|
+
declare function DrawerHeader({
|
|
50
|
+
/** Extra classes merged onto the header wrapper. */
|
|
51
|
+
className,
|
|
52
|
+
...props
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime64.JSX.Element;
|
|
54
|
+
/** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
|
|
55
|
+
declare function DrawerFooter({
|
|
56
|
+
/** Extra classes merged onto the footer wrapper. */
|
|
57
|
+
className,
|
|
58
|
+
...props
|
|
59
|
+
}: React.ComponentProps<"div">): react_jsx_runtime64.JSX.Element;
|
|
60
|
+
/** Accessible title for the drawer, announced to assistive tech. */
|
|
61
|
+
declare function DrawerTitle({
|
|
62
|
+
/** Extra classes merged onto the title. */
|
|
63
|
+
className,
|
|
64
|
+
...props
|
|
65
|
+
}: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime64.JSX.Element;
|
|
66
|
+
/** Supporting description text shown beneath the drawer title. */
|
|
67
|
+
declare function DrawerDescription({
|
|
68
|
+
/** Extra classes merged onto the description. */
|
|
8
69
|
className,
|
|
9
|
-
align,
|
|
10
70
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof
|
|
12
|
-
/** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
|
|
13
|
-
align?: "block" | "inline";
|
|
14
|
-
}): react_jsx_runtime109.JSX.Element;
|
|
71
|
+
}: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime64.JSX.Element;
|
|
15
72
|
//#endregion
|
|
16
|
-
export {
|
|
73
|
+
export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
|
|
17
74
|
//# sourceMappingURL=index25.d.cts.map
|
package/dist/index25.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AAL9B,iBAUxC,aAAA,CALM;EAAA,GAAA;AAAA,CAAA,EAKsB,KAAA,CAAM,cAL5B,CAAA,OAKkD,MAAA,CAAgB,OALlE,CAAA,CAAA,EAK0E,mBAAA,CAAA,GAAA,CAAA,OAL1E;;iBAUN,YAAA,CAViE;EAAA,GAAA;AAAA,CAAA,EAUtC,KAAA,CAAM,cAVgC,CAAA,OAUV,MAAA,CAAgB,MAVN,CAAA,CAAA,EAUa,mBAAA,CAAA,GAAA,CAAA,OAVb;;iBAejE,WAAA,CAfsE;EAAA,GAAA;AAAA,CAAA,EAe5C,KAAA,CAAM,cAfsC,CAAA,OAehB,MAAA,CAAgB,KAfA,CAAA,CAAA,EAeM,mBAAA,CAAA,GAAA,CAAA,OAfN;AAAA;AAAA,iBAoBtE,aAAA,CAfa;;WAA2C;EAAA,GAAgB;AAAA,CAAA,EAmB9E,KAAA,CAAM,cAnBwE,CAAA,OAmBlD,MAAA,CAAgB,OAnBkC,CAAA,CAAA,EAmB1B,mBAAA,CAAA,GAAA,CAAA,OAnB0B;cAgC3E,kBAhCqC,EAAA;WAA8C,KAAA,EAAA,MAAA;EAAA,SAAA,OAAA,EAAA,MAAA;EAKhF,SAAA,MAAY,EAAA,MAAA;EAAA,SAAA,KAAA,EAAA,MAAA;WAA2C,UAAgB,EAAA,MAAA;;;AAAO,iBA6D9E,aAAA,CA7D8E;EAAA;WAKnE;;UAAe;;EAAkD,IAAA;EAAA,GAAA;CAAA,EAgElF,KAAA,CAAM,cAhE4E,CAAA,OAgEtD,MAAA,CAAgB,OAhEsC,CAAA,GAAA;EAK5E;EAAa,IAAA,CAAA,EAAA,MAAA,OA6DA,kBA7DA;IA8DrB,mBAAA,CAAA,GAAA,CAAA,OA5DC;;iBAqFO,YAAA,CAnFA;;EAA8C,SAAA;EAAA,GAAA;AAAA,CAAA,EAuFpD,KAAA,CAAM,cAvF8C,CAAA,KAAA,CAAA,CAAA,EAuFzB,mBAAA,CAAA,GAAA,CAAA,OAvFyB;AAAA;AA4C7C,iBAyDD,YAAA,CAtDa;;WAEpB;EAAA,GAAA;AAAA,CAAA,EAwDC,KAAA,CAAM,cAxDP,CAAA,KAAA,CAAA,CAAA,EAwD4B,mBAAA,CAAA,GAAA,CAAA,OAxD5B;;iBAmEO,WAAA,CA/DP;;WAEC;EAAA,GAAM;AAAA,CAAA,EAiEN,KAAA,CAAM,cAjEA,CAAA,OAiEsB,MAAA,CAAgB,KAjEtC,CAAA,CAAA,EAiE4C,mBAAA,CAAA,GAAA,CAAA,OAjE5C;;iBA+EA,iBAAA,CA5ER;EAAA;EAAA,SAyBQ;EAAA,GAAA;AAAY,CAAA,EAuDlB,KAAA,CAAM,cAvDY,CAAA,OAuDU,MAAA,CAAgB,WAvD1B,CAAA,CAAA,EAuDsC,mBAAA,CAAA,GAAA,CAAA,OAvDtC"}
|
package/dist/index25.d.ts
CHANGED
|
@@ -1,17 +1,74 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
2
|
+
import * as react_jsx_runtime327 from "react/jsx-runtime";
|
|
3
|
+
import { Drawer } from "vaul";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/Drawer/Drawer.d.ts
|
|
6
|
+
/** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
|
|
7
|
+
declare function Drawer$1({
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime327.JSX.Element;
|
|
10
|
+
/** Element that toggles the drawer open when interacted with. */
|
|
11
|
+
declare function DrawerTrigger({
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime327.JSX.Element;
|
|
14
|
+
/** Portals the overlay and content out to the document body. */
|
|
15
|
+
declare function DrawerPortal({
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime327.JSX.Element;
|
|
18
|
+
/** Element that closes the drawer when interacted with. */
|
|
19
|
+
declare function DrawerClose({
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime327.JSX.Element;
|
|
22
|
+
/** Dimmed backdrop rendered behind the drawer content. */
|
|
23
|
+
declare function DrawerOverlay({
|
|
24
|
+
/** Extra classes merged onto the overlay surface. */
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime327.JSX.Element;
|
|
28
|
+
declare const drawerSizeVariants: {
|
|
29
|
+
readonly small: string;
|
|
30
|
+
readonly default: string;
|
|
31
|
+
readonly medium: string;
|
|
32
|
+
readonly large: string;
|
|
33
|
+
readonly extraLarge: string;
|
|
34
|
+
};
|
|
35
|
+
/** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
|
|
36
|
+
declare function DrawerContent({
|
|
37
|
+
/** Extra classes merged onto the content panel. */
|
|
38
|
+
className,
|
|
39
|
+
/** Body of the drawer, typically header/footer plus content. */
|
|
40
|
+
children,
|
|
41
|
+
/** Optional size variant for the drawer panel. */
|
|
42
|
+
size,
|
|
43
|
+
...props
|
|
44
|
+
}: React.ComponentProps<typeof Drawer.Content> & {
|
|
45
|
+
/** Panel size. `default` matches the existing production sizing. */
|
|
46
|
+
size?: keyof typeof drawerSizeVariants;
|
|
47
|
+
}): react_jsx_runtime327.JSX.Element;
|
|
48
|
+
/** Top region of the drawer; groups the title and description. */
|
|
49
|
+
declare function DrawerHeader({
|
|
50
|
+
/** Extra classes merged onto the header wrapper. */
|
|
51
|
+
className,
|
|
52
|
+
...props
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime327.JSX.Element;
|
|
54
|
+
/** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
|
|
55
|
+
declare function DrawerFooter({
|
|
56
|
+
/** Extra classes merged onto the footer wrapper. */
|
|
57
|
+
className,
|
|
58
|
+
...props
|
|
59
|
+
}: React.ComponentProps<"div">): react_jsx_runtime327.JSX.Element;
|
|
60
|
+
/** Accessible title for the drawer, announced to assistive tech. */
|
|
61
|
+
declare function DrawerTitle({
|
|
62
|
+
/** Extra classes merged onto the title. */
|
|
63
|
+
className,
|
|
64
|
+
...props
|
|
65
|
+
}: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime327.JSX.Element;
|
|
66
|
+
/** Supporting description text shown beneath the drawer title. */
|
|
67
|
+
declare function DrawerDescription({
|
|
68
|
+
/** Extra classes merged onto the description. */
|
|
8
69
|
className,
|
|
9
|
-
align,
|
|
10
70
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof
|
|
12
|
-
/** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
|
|
13
|
-
align?: "block" | "inline";
|
|
14
|
-
}): react_jsx_runtime75.JSX.Element;
|
|
71
|
+
}: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime327.JSX.Element;
|
|
15
72
|
//#endregion
|
|
16
|
-
export {
|
|
73
|
+
export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
|
|
17
74
|
//# sourceMappingURL=index25.d.ts.map
|
package/dist/index25.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAL9B,iBAUxC,aAAA,CALM;EAAA,GAAA;AAAA,CAAA,EAKsB,KAAA,CAAM,cAL5B,CAAA,OAKkD,MAAA,CAAgB,OALlE,CAAA,CAAA,EAK0E,oBAAA,CAAA,GAAA,CAAA,OAL1E;;iBAUN,YAAA,CAViE;EAAA,GAAA;AAAA,CAAA,EAUtC,KAAA,CAAM,cAVgC,CAAA,OAUV,MAAA,CAAgB,MAVN,CAAA,CAAA,EAUa,oBAAA,CAAA,GAAA,CAAA,OAVb;;iBAejE,WAAA,CAfsE;EAAA,GAAA;AAAA,CAAA,EAe5C,KAAA,CAAM,cAfsC,CAAA,OAehB,MAAA,CAAgB,KAfA,CAAA,CAAA,EAeM,oBAAA,CAAA,GAAA,CAAA,OAfN;AAAA;AAAA,iBAoBtE,aAAA,CAfa;;WAA2C;EAAA,GAAgB;AAAA,CAAA,EAmB9E,KAAA,CAAM,cAnBwE,CAAA,OAmBlD,MAAA,CAAgB,OAnBkC,CAAA,CAAA,EAmB1B,oBAAA,CAAA,GAAA,CAAA,OAnB0B;cAgC3E,kBAhCqC,EAAA;WAA8C,KAAA,EAAA,MAAA;EAAA,SAAA,OAAA,EAAA,MAAA;EAKhF,SAAA,MAAY,EAAA,MAAA;EAAA,SAAA,KAAA,EAAA,MAAA;WAA2C,UAAgB,EAAA,MAAA;;;AAAO,iBA6D9E,aAAA,CA7D8E;EAAA;WAKnE;;UAAe;;EAAkD,IAAA;EAAA,GAAA;CAAA,EAgElF,KAAA,CAAM,cAhE4E,CAAA,OAgEtD,MAAA,CAAgB,OAhEsC,CAAA,GAAA;EAK5E;EAAa,IAAA,CAAA,EAAA,MAAA,OA6DA,kBA7DA;IA8DrB,oBAAA,CAAA,GAAA,CAAA,OA5DC;;iBAqFO,YAAA,CAnFA;;EAA8C,SAAA;EAAA,GAAA;AAAA,CAAA,EAuFpD,KAAA,CAAM,cAvF8C,CAAA,KAAA,CAAA,CAAA,EAuFzB,oBAAA,CAAA,GAAA,CAAA,OAvFyB;AAAA;AA4C7C,iBAyDD,YAAA,CAtDa;;WAEpB;EAAA,GAAA;AAAA,CAAA,EAwDC,KAAA,CAAM,cAxDP,CAAA,KAAA,CAAA,CAAA,EAwD4B,oBAAA,CAAA,GAAA,CAAA,OAxD5B;;iBAmEO,WAAA,CA/DP;;WAEC;EAAA,GAAM;AAAA,CAAA,EAiEN,KAAA,CAAM,cAjEA,CAAA,OAiEsB,MAAA,CAAgB,KAjEtC,CAAA,CAAA,EAiE4C,oBAAA,CAAA,GAAA,CAAA,OAjE5C;;iBA+EA,iBAAA,CA5ER;EAAA;EAAA,SAyBQ;EAAA,GAAA;AAAY,CAAA,EAuDlB,KAAA,CAAM,cAvDY,CAAA,OAuDU,MAAA,CAAgB,WAvD1B,CAAA,CAAA,EAuDsC,oBAAA,CAAA,GAAA,CAAA,OAvDtC"}
|