@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/index52.d.ts
CHANGED
|
@@ -1,31 +1,41 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
|
+
import { RadioGroup } from "radix-ui";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime26.JSX.Element;
|
|
11
|
-
/** Root tooltip: wraps a trigger + content and manages open state. Self-provides a TooltipProvider. */
|
|
12
|
-
declare function Tooltip$1({
|
|
5
|
+
//#region src/primitives/RadioGroup/RadioGroup.d.ts
|
|
6
|
+
/** Root of a set of mutually-exclusive radio options; lays them out vertically or horizontally. */
|
|
7
|
+
declare function RadioGroup$1({
|
|
8
|
+
className,
|
|
9
|
+
orientation,
|
|
13
10
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof
|
|
15
|
-
/**
|
|
16
|
-
|
|
11
|
+
}: React.ComponentProps<typeof RadioGroup.Root> & {
|
|
12
|
+
/** Stack the items in a column (`vertical`) or wrap them in a row (`horizontal`). */
|
|
13
|
+
orientation?: "vertical" | "horizontal";
|
|
14
|
+
}): react_jsx_runtime8.JSX.Element;
|
|
15
|
+
/** A single selectable radio control; pair it with a label for accessible option text. */
|
|
16
|
+
declare function RadioGroupItem({
|
|
17
|
+
className,
|
|
17
18
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof
|
|
19
|
-
/**
|
|
20
|
-
declare function
|
|
21
|
-
/** Extra classes merged onto the content surface. */
|
|
19
|
+
}: React.ComponentProps<typeof RadioGroup.Item>): react_jsx_runtime8.JSX.Element;
|
|
20
|
+
/** A card-style radio option with a bordered surface, title, and description that highlights when checked. */
|
|
21
|
+
declare function RichRadioItem({
|
|
22
22
|
className,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
value,
|
|
24
|
+
title,
|
|
25
|
+
description,
|
|
26
|
+
flipped,
|
|
27
|
+
id,
|
|
27
28
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof
|
|
29
|
+
}: Omit<React.ComponentProps<typeof RadioGroup.Item>, "children"> & {
|
|
30
|
+
/** Value submitted when this option is selected. */
|
|
31
|
+
value: string;
|
|
32
|
+
/** Bold heading shown at the top of the card. */
|
|
33
|
+
title?: React.ReactNode;
|
|
34
|
+
/** Secondary muted text shown beneath the title. */
|
|
35
|
+
description?: React.ReactNode;
|
|
36
|
+
/** Place the radio control on the trailing edge instead of the leading edge. */
|
|
37
|
+
flipped?: boolean;
|
|
38
|
+
}): react_jsx_runtime8.JSX.Element;
|
|
29
39
|
//#endregion
|
|
30
|
-
export {
|
|
40
|
+
export { RadioGroupItem as n, RichRadioItem as r, RadioGroup$1 as t };
|
|
31
41
|
//# sourceMappingURL=index52.d.ts.map
|
package/dist/index52.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index52.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index52.d.ts","names":[],"sources":["../src/primitives/RadioGroup/RadioGroup.tsx"],"mappings":";;;;;;iBASS,YAAA;;;;GAIN,KAAA,CAAM,sBAAsB,UAAA,CAAoB;;EAJ1C,WAAA,CAAA,EAAA,UAAU,GAAA,YAAA;CAAA,CAAA,EAOlB,kBAAA,CAAA,GAAA,CAAA,OAPkB;;iBAuBV,cAAA,CArBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwBC,KAAA,CAAM,cAxBP,CAAA,OAwB6B,UAAA,CAAoB,IAxBjD,CAAA,CAAA,EAwBsD,kBAAA,CAAA,GAAA,CAAA,OAxBtD;;iBAqDO,aAAA,CAnDA;EAAA,SAAA;EAAA,KAAA;EAAA,KAAA;EAAA,WAAA;EAAA,OAAA;EAAA,EAAA;EAAA,GAAA;AAsB+C,CAtB/C,EA2DN,IA3DM,CA2DD,KAAA,CAAM,cA3DL,CAAA,OA2D2B,UAAA,CAAoB,IA3D/C,CAAA,EAAA,UAAA,CAAA,GAAA;;EAGR,KAAA,EAAA,MAAA;EAgBQ;EAAc,KAAA,CAAA,EA4Cb,KAAA,CAAM,SA5CO;;aAGQ,CAAA,EA2Cf,KAAA,CAAM,SA3C6B;;SAAK,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EA8CvD,kBAAA,CAAA,GAAA,CAAA,OA9CuD"}
|
package/dist/index53.d.cts
CHANGED
|
@@ -1,209 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { t as Input } from "./index32.cjs";
|
|
4
|
-
import { n as TooltipContent } from "./index52.cjs";
|
|
5
|
-
import * as react_jsx_runtime284 from "react/jsx-runtime";
|
|
6
|
-
import * as class_variance_authority_types28 from "class-variance-authority/types";
|
|
7
|
-
import { VariantProps } from "class-variance-authority";
|
|
8
|
-
import * as React from "react";
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
|
+
import * as ResizablePrimitive from "react-resizable-panels";
|
|
9
3
|
|
|
10
|
-
//#region src/primitives/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
open: boolean;
|
|
14
|
-
setOpen: (open: boolean) => void;
|
|
15
|
-
openMobile: boolean;
|
|
16
|
-
setOpenMobile: (open: boolean) => void;
|
|
17
|
-
isMobile: boolean;
|
|
18
|
-
toggleSidebar: () => void;
|
|
19
|
-
};
|
|
20
|
-
/** Hook to read/control sidebar state (open, toggle, mobile); must be used inside `SidebarProvider`. */
|
|
21
|
-
declare function useSidebar(): SidebarContextProps;
|
|
22
|
-
/** Context provider that owns the sidebar open/collapsed state and the toggle keyboard shortcut. Wrap your layout in this. */
|
|
23
|
-
declare function SidebarProvider({
|
|
24
|
-
defaultOpen,
|
|
25
|
-
open: openProp,
|
|
26
|
-
onOpenChange: setOpenProp,
|
|
4
|
+
//#region src/primitives/Resizable/Resizable.d.ts
|
|
5
|
+
/** Root container that lays out `ResizablePanel`s and `ResizableHandle`s and drives resize behaviour (set `orientation` to switch axis). */
|
|
6
|
+
declare function ResizablePanelGroup({
|
|
27
7
|
className,
|
|
28
|
-
style,
|
|
29
|
-
children,
|
|
30
8
|
...props
|
|
31
|
-
}:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/** Controlled open state; pair with `onOpenChange`. */
|
|
35
|
-
open?: boolean;
|
|
36
|
-
/** Called when the open state changes (controlled mode). */
|
|
37
|
-
onOpenChange?: (open: boolean) => void;
|
|
38
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
39
|
-
/** The sidebar panel itself: renders as a fixed desktop rail or a mobile Sheet, driven by `SidebarProvider` state. */
|
|
40
|
-
declare function Sidebar({
|
|
41
|
-
side,
|
|
42
|
-
variant,
|
|
43
|
-
collapsible,
|
|
44
|
-
className,
|
|
45
|
-
children,
|
|
46
|
-
...props
|
|
47
|
-
}: React.ComponentProps<"div"> & {
|
|
48
|
-
/** Which edge the sidebar sits on. */
|
|
49
|
-
side?: "left" | "right";
|
|
50
|
-
/** Visual treatment: standard rail, a floating card, or an inset surface. */
|
|
51
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
52
|
-
/** How the sidebar collapses: slide off-canvas, shrink to an icon rail, or never collapse. */
|
|
53
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
54
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
55
|
-
/** Icon button that toggles the sidebar open/collapsed. */
|
|
56
|
-
declare function SidebarTrigger({
|
|
57
|
-
className,
|
|
58
|
-
onClick,
|
|
59
|
-
...props
|
|
60
|
-
}: React.ComponentProps<typeof Button>): react_jsx_runtime284.JSX.Element;
|
|
61
|
-
/** Thin draggable rail along the sidebar edge that toggles it on click. */
|
|
62
|
-
declare function SidebarRail({
|
|
63
|
-
className,
|
|
64
|
-
...props
|
|
65
|
-
}: React.ComponentProps<"button">): react_jsx_runtime284.JSX.Element;
|
|
66
|
-
/** The main content region that sits beside the sidebar. */
|
|
67
|
-
declare function SidebarInset({
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}: React.ComponentProps<"main">): react_jsx_runtime284.JSX.Element;
|
|
71
|
-
/** Sidebar-styled text input, e.g. for a search field in the header. */
|
|
72
|
-
declare function SidebarInput({
|
|
73
|
-
className,
|
|
74
|
-
...props
|
|
75
|
-
}: React.ComponentProps<typeof Input>): react_jsx_runtime284.JSX.Element;
|
|
76
|
-
/** Top region of the sidebar, typically a brand mark or workspace switcher. */
|
|
77
|
-
declare function SidebarHeader({
|
|
78
|
-
className,
|
|
79
|
-
...props
|
|
80
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
81
|
-
/** Bottom region of the sidebar, typically a user menu or settings link. */
|
|
82
|
-
declare function SidebarFooter({
|
|
83
|
-
className,
|
|
84
|
-
...props
|
|
85
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
86
|
-
/** Horizontal divider between sidebar sections, inset to match the sidebar padding. */
|
|
87
|
-
declare function SidebarSeparator({
|
|
88
|
-
className,
|
|
89
|
-
...props
|
|
90
|
-
}: React.ComponentProps<typeof Separator>): react_jsx_runtime284.JSX.Element;
|
|
91
|
-
/** Scrollable middle region of the sidebar that holds the groups and menus. */
|
|
92
|
-
declare function SidebarContent({
|
|
93
|
-
className,
|
|
94
|
-
...props
|
|
95
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
96
|
-
/** A labelled section within the sidebar content. */
|
|
97
|
-
declare function SidebarGroup({
|
|
98
|
-
className,
|
|
99
|
-
...props
|
|
100
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
101
|
-
/** Heading for a `SidebarGroup`; hidden when the sidebar is collapsed to icons. */
|
|
102
|
-
declare function SidebarGroupLabel({
|
|
103
|
-
className,
|
|
104
|
-
asChild,
|
|
105
|
-
...props
|
|
106
|
-
}: React.ComponentProps<"div"> & {
|
|
107
|
-
/** Render as the child element (Radix Slot) instead of a `div`. */
|
|
108
|
-
asChild?: boolean;
|
|
109
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
110
|
-
/** Small action button anchored to the top-right of a `SidebarGroup` (e.g. an add button). */
|
|
111
|
-
declare function SidebarGroupAction({
|
|
112
|
-
className,
|
|
113
|
-
asChild,
|
|
114
|
-
...props
|
|
115
|
-
}: React.ComponentProps<"button"> & {
|
|
116
|
-
/** Render as the child element (Radix Slot) instead of a `button`. */
|
|
117
|
-
asChild?: boolean;
|
|
118
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
119
|
-
/** Wrapper for the body of a `SidebarGroup`, below its label. */
|
|
120
|
-
declare function SidebarGroupContent({
|
|
121
|
-
className,
|
|
122
|
-
...props
|
|
123
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
124
|
-
/** `ul` list container for sidebar menu items. */
|
|
125
|
-
declare function SidebarMenu({
|
|
126
|
-
className,
|
|
127
|
-
...props
|
|
128
|
-
}: React.ComponentProps<"ul">): react_jsx_runtime284.JSX.Element;
|
|
129
|
-
/** `li` row within a `SidebarMenu`; holds a button plus optional action/badge. */
|
|
130
|
-
declare function SidebarMenuItem({
|
|
131
|
-
className,
|
|
132
|
-
...props
|
|
133
|
-
}: React.ComponentProps<"li">): react_jsx_runtime284.JSX.Element;
|
|
134
|
-
/** Style variants for `SidebarMenuButton` — `variant` (default | outline) and `size` (default | sm | lg). */
|
|
135
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
136
|
-
variant?: "default" | "outline" | null | undefined;
|
|
137
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
138
|
-
} & class_variance_authority_types28.ClassProp) | undefined) => string;
|
|
139
|
-
/** The primary clickable item in a sidebar menu; shows a tooltip when collapsed to icons. */
|
|
140
|
-
declare function SidebarMenuButton({
|
|
141
|
-
asChild,
|
|
142
|
-
isActive,
|
|
143
|
-
variant,
|
|
144
|
-
size,
|
|
145
|
-
tooltip,
|
|
146
|
-
className,
|
|
147
|
-
...props
|
|
148
|
-
}: React.ComponentProps<"button"> & {
|
|
149
|
-
/** Render as the child element (Radix Slot), e.g. to wrap a link. */
|
|
150
|
-
asChild?: boolean;
|
|
151
|
-
/** Marks the item as the current/active route. */
|
|
152
|
-
isActive?: boolean;
|
|
153
|
-
/** Tooltip shown when the sidebar is collapsed to icons; string or `TooltipContent` props. */
|
|
154
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
155
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime284.JSX.Element;
|
|
156
|
-
/** Secondary action button anchored to the right of a menu item (e.g. a kebab menu). */
|
|
157
|
-
declare function SidebarMenuAction({
|
|
158
|
-
className,
|
|
159
|
-
asChild,
|
|
160
|
-
showOnHover,
|
|
161
|
-
...props
|
|
162
|
-
}: React.ComponentProps<"button"> & {
|
|
163
|
-
/** Render as the child element (Radix Slot) instead of a `button`. */
|
|
164
|
-
asChild?: boolean;
|
|
165
|
-
/** Only reveal the action on row hover/focus instead of always showing it. */
|
|
166
|
-
showOnHover?: boolean;
|
|
167
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
168
|
-
/** Count/status badge anchored to the right of a menu item. */
|
|
169
|
-
declare function SidebarMenuBadge({
|
|
170
|
-
className,
|
|
171
|
-
...props
|
|
172
|
-
}: React.ComponentProps<"div">): react_jsx_runtime284.JSX.Element;
|
|
173
|
-
/** Loading placeholder for a menu item, with a random text width for a natural skeleton. */
|
|
174
|
-
declare function SidebarMenuSkeleton({
|
|
175
|
-
className,
|
|
176
|
-
showIcon,
|
|
177
|
-
...props
|
|
178
|
-
}: React.ComponentProps<"div"> & {
|
|
179
|
-
/** Also render a square icon placeholder before the text. */
|
|
180
|
-
showIcon?: boolean;
|
|
181
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
182
|
-
/** Nested `ul` list of sub-items under a menu item; hidden when collapsed to icons. */
|
|
183
|
-
declare function SidebarMenuSub({
|
|
184
|
-
className,
|
|
185
|
-
...props
|
|
186
|
-
}: React.ComponentProps<"ul">): react_jsx_runtime284.JSX.Element;
|
|
187
|
-
/** `li` row within a `SidebarMenuSub`. */
|
|
188
|
-
declare function SidebarMenuSubItem({
|
|
189
|
-
className,
|
|
9
|
+
}: ResizablePrimitive.GroupProps): react_jsx_runtime25.JSX.Element;
|
|
10
|
+
/** A single resizable region within a `ResizablePanelGroup`; size it with `defaultSize`/`minSize`/`maxSize`. */
|
|
11
|
+
declare function ResizablePanel({
|
|
190
12
|
...props
|
|
191
|
-
}:
|
|
192
|
-
/**
|
|
193
|
-
declare function
|
|
194
|
-
|
|
195
|
-
size,
|
|
196
|
-
isActive,
|
|
13
|
+
}: ResizablePrimitive.PanelProps): react_jsx_runtime25.JSX.Element;
|
|
14
|
+
/** Draggable divider between two panels; pass `withHandle` to render a visible grip affordance. */
|
|
15
|
+
declare function ResizableHandle({
|
|
16
|
+
withHandle,
|
|
197
17
|
className,
|
|
198
18
|
...props
|
|
199
|
-
}:
|
|
200
|
-
/**
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
size?: "sm" | "md";
|
|
204
|
-
/** Marks the sub-item as the current/active route. */
|
|
205
|
-
isActive?: boolean;
|
|
206
|
-
}): react_jsx_runtime284.JSX.Element;
|
|
19
|
+
}: ResizablePrimitive.SeparatorProps & {
|
|
20
|
+
/** Renders a visible grip icon centred on the divider. */
|
|
21
|
+
withHandle?: boolean;
|
|
22
|
+
}): react_jsx_runtime25.JSX.Element;
|
|
207
23
|
//#endregion
|
|
208
|
-
export {
|
|
24
|
+
export { ResizablePanel as n, ResizablePanelGroup as r, ResizableHandle as t };
|
|
209
25
|
//# sourceMappingURL=index53.d.cts.map
|
package/dist/index53.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index53.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index53.d.cts","names":[],"sources":["../src/primitives/Resizable/Resizable.tsx"],"mappings":";;;;;iBAOS,mBAAA;;;GAA6C,kBAAA,CAAmB,aAAU,mBAAA,CAAA,GAAA,CAAA;;AALtB,iBAgBpD,cAAA,CAXmB;EAAA,GAAA;AAAA,CAAA,EAWU,kBAAA,CAAmB,UAX7B,CAAA,EAWuC,mBAAA,CAAA,GAAA,CAAA,OAXvC;;iBAgBnB,eAAA,CAhBsB;EAAA,UAAA;EAAA,SAAA;EAAA,GAAA;AAAoD,CAApD,EAoB5B,kBAAA,CAAmB,cApBS,GAAA;;YAAoD,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EAuBlF,mBAAA,CAAA,GAAA,CAAA,OAvBkF"}
|
package/dist/index53.d.ts
CHANGED
|
@@ -1,209 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { t as Input } from "./index32.js";
|
|
4
|
-
import { n as TooltipContent } from "./index52.js";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import * as react_jsx_runtime253 from "react/jsx-runtime";
|
|
8
|
-
import * as class_variance_authority_types25 from "class-variance-authority/types";
|
|
1
|
+
import * as react_jsx_runtime202 from "react/jsx-runtime";
|
|
2
|
+
import * as ResizablePrimitive from "react-resizable-panels";
|
|
9
3
|
|
|
10
|
-
//#region src/primitives/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
open: boolean;
|
|
14
|
-
setOpen: (open: boolean) => void;
|
|
15
|
-
openMobile: boolean;
|
|
16
|
-
setOpenMobile: (open: boolean) => void;
|
|
17
|
-
isMobile: boolean;
|
|
18
|
-
toggleSidebar: () => void;
|
|
19
|
-
};
|
|
20
|
-
/** Hook to read/control sidebar state (open, toggle, mobile); must be used inside `SidebarProvider`. */
|
|
21
|
-
declare function useSidebar(): SidebarContextProps;
|
|
22
|
-
/** Context provider that owns the sidebar open/collapsed state and the toggle keyboard shortcut. Wrap your layout in this. */
|
|
23
|
-
declare function SidebarProvider({
|
|
24
|
-
defaultOpen,
|
|
25
|
-
open: openProp,
|
|
26
|
-
onOpenChange: setOpenProp,
|
|
4
|
+
//#region src/primitives/Resizable/Resizable.d.ts
|
|
5
|
+
/** Root container that lays out `ResizablePanel`s and `ResizableHandle`s and drives resize behaviour (set `orientation` to switch axis). */
|
|
6
|
+
declare function ResizablePanelGroup({
|
|
27
7
|
className,
|
|
28
|
-
style,
|
|
29
|
-
children,
|
|
30
8
|
...props
|
|
31
|
-
}:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/** Controlled open state; pair with `onOpenChange`. */
|
|
35
|
-
open?: boolean;
|
|
36
|
-
/** Called when the open state changes (controlled mode). */
|
|
37
|
-
onOpenChange?: (open: boolean) => void;
|
|
38
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
39
|
-
/** The sidebar panel itself: renders as a fixed desktop rail or a mobile Sheet, driven by `SidebarProvider` state. */
|
|
40
|
-
declare function Sidebar({
|
|
41
|
-
side,
|
|
42
|
-
variant,
|
|
43
|
-
collapsible,
|
|
44
|
-
className,
|
|
45
|
-
children,
|
|
46
|
-
...props
|
|
47
|
-
}: React.ComponentProps<"div"> & {
|
|
48
|
-
/** Which edge the sidebar sits on. */
|
|
49
|
-
side?: "left" | "right";
|
|
50
|
-
/** Visual treatment: standard rail, a floating card, or an inset surface. */
|
|
51
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
52
|
-
/** How the sidebar collapses: slide off-canvas, shrink to an icon rail, or never collapse. */
|
|
53
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
54
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
55
|
-
/** Icon button that toggles the sidebar open/collapsed. */
|
|
56
|
-
declare function SidebarTrigger({
|
|
57
|
-
className,
|
|
58
|
-
onClick,
|
|
59
|
-
...props
|
|
60
|
-
}: React.ComponentProps<typeof Button>): react_jsx_runtime253.JSX.Element;
|
|
61
|
-
/** Thin draggable rail along the sidebar edge that toggles it on click. */
|
|
62
|
-
declare function SidebarRail({
|
|
63
|
-
className,
|
|
64
|
-
...props
|
|
65
|
-
}: React.ComponentProps<"button">): react_jsx_runtime253.JSX.Element;
|
|
66
|
-
/** The main content region that sits beside the sidebar. */
|
|
67
|
-
declare function SidebarInset({
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}: React.ComponentProps<"main">): react_jsx_runtime253.JSX.Element;
|
|
71
|
-
/** Sidebar-styled text input, e.g. for a search field in the header. */
|
|
72
|
-
declare function SidebarInput({
|
|
73
|
-
className,
|
|
74
|
-
...props
|
|
75
|
-
}: React.ComponentProps<typeof Input>): react_jsx_runtime253.JSX.Element;
|
|
76
|
-
/** Top region of the sidebar, typically a brand mark or workspace switcher. */
|
|
77
|
-
declare function SidebarHeader({
|
|
78
|
-
className,
|
|
79
|
-
...props
|
|
80
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
81
|
-
/** Bottom region of the sidebar, typically a user menu or settings link. */
|
|
82
|
-
declare function SidebarFooter({
|
|
83
|
-
className,
|
|
84
|
-
...props
|
|
85
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
86
|
-
/** Horizontal divider between sidebar sections, inset to match the sidebar padding. */
|
|
87
|
-
declare function SidebarSeparator({
|
|
88
|
-
className,
|
|
89
|
-
...props
|
|
90
|
-
}: React.ComponentProps<typeof Separator>): react_jsx_runtime253.JSX.Element;
|
|
91
|
-
/** Scrollable middle region of the sidebar that holds the groups and menus. */
|
|
92
|
-
declare function SidebarContent({
|
|
93
|
-
className,
|
|
94
|
-
...props
|
|
95
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
96
|
-
/** A labelled section within the sidebar content. */
|
|
97
|
-
declare function SidebarGroup({
|
|
98
|
-
className,
|
|
99
|
-
...props
|
|
100
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
101
|
-
/** Heading for a `SidebarGroup`; hidden when the sidebar is collapsed to icons. */
|
|
102
|
-
declare function SidebarGroupLabel({
|
|
103
|
-
className,
|
|
104
|
-
asChild,
|
|
105
|
-
...props
|
|
106
|
-
}: React.ComponentProps<"div"> & {
|
|
107
|
-
/** Render as the child element (Radix Slot) instead of a `div`. */
|
|
108
|
-
asChild?: boolean;
|
|
109
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
110
|
-
/** Small action button anchored to the top-right of a `SidebarGroup` (e.g. an add button). */
|
|
111
|
-
declare function SidebarGroupAction({
|
|
112
|
-
className,
|
|
113
|
-
asChild,
|
|
114
|
-
...props
|
|
115
|
-
}: React.ComponentProps<"button"> & {
|
|
116
|
-
/** Render as the child element (Radix Slot) instead of a `button`. */
|
|
117
|
-
asChild?: boolean;
|
|
118
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
119
|
-
/** Wrapper for the body of a `SidebarGroup`, below its label. */
|
|
120
|
-
declare function SidebarGroupContent({
|
|
121
|
-
className,
|
|
122
|
-
...props
|
|
123
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
124
|
-
/** `ul` list container for sidebar menu items. */
|
|
125
|
-
declare function SidebarMenu({
|
|
126
|
-
className,
|
|
127
|
-
...props
|
|
128
|
-
}: React.ComponentProps<"ul">): react_jsx_runtime253.JSX.Element;
|
|
129
|
-
/** `li` row within a `SidebarMenu`; holds a button plus optional action/badge. */
|
|
130
|
-
declare function SidebarMenuItem({
|
|
131
|
-
className,
|
|
132
|
-
...props
|
|
133
|
-
}: React.ComponentProps<"li">): react_jsx_runtime253.JSX.Element;
|
|
134
|
-
/** Style variants for `SidebarMenuButton` — `variant` (default | outline) and `size` (default | sm | lg). */
|
|
135
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
136
|
-
variant?: "default" | "outline" | null | undefined;
|
|
137
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
138
|
-
} & class_variance_authority_types25.ClassProp) | undefined) => string;
|
|
139
|
-
/** The primary clickable item in a sidebar menu; shows a tooltip when collapsed to icons. */
|
|
140
|
-
declare function SidebarMenuButton({
|
|
141
|
-
asChild,
|
|
142
|
-
isActive,
|
|
143
|
-
variant,
|
|
144
|
-
size,
|
|
145
|
-
tooltip,
|
|
146
|
-
className,
|
|
147
|
-
...props
|
|
148
|
-
}: React.ComponentProps<"button"> & {
|
|
149
|
-
/** Render as the child element (Radix Slot), e.g. to wrap a link. */
|
|
150
|
-
asChild?: boolean;
|
|
151
|
-
/** Marks the item as the current/active route. */
|
|
152
|
-
isActive?: boolean;
|
|
153
|
-
/** Tooltip shown when the sidebar is collapsed to icons; string or `TooltipContent` props. */
|
|
154
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
155
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime253.JSX.Element;
|
|
156
|
-
/** Secondary action button anchored to the right of a menu item (e.g. a kebab menu). */
|
|
157
|
-
declare function SidebarMenuAction({
|
|
158
|
-
className,
|
|
159
|
-
asChild,
|
|
160
|
-
showOnHover,
|
|
161
|
-
...props
|
|
162
|
-
}: React.ComponentProps<"button"> & {
|
|
163
|
-
/** Render as the child element (Radix Slot) instead of a `button`. */
|
|
164
|
-
asChild?: boolean;
|
|
165
|
-
/** Only reveal the action on row hover/focus instead of always showing it. */
|
|
166
|
-
showOnHover?: boolean;
|
|
167
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
168
|
-
/** Count/status badge anchored to the right of a menu item. */
|
|
169
|
-
declare function SidebarMenuBadge({
|
|
170
|
-
className,
|
|
171
|
-
...props
|
|
172
|
-
}: React.ComponentProps<"div">): react_jsx_runtime253.JSX.Element;
|
|
173
|
-
/** Loading placeholder for a menu item, with a random text width for a natural skeleton. */
|
|
174
|
-
declare function SidebarMenuSkeleton({
|
|
175
|
-
className,
|
|
176
|
-
showIcon,
|
|
177
|
-
...props
|
|
178
|
-
}: React.ComponentProps<"div"> & {
|
|
179
|
-
/** Also render a square icon placeholder before the text. */
|
|
180
|
-
showIcon?: boolean;
|
|
181
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
182
|
-
/** Nested `ul` list of sub-items under a menu item; hidden when collapsed to icons. */
|
|
183
|
-
declare function SidebarMenuSub({
|
|
184
|
-
className,
|
|
185
|
-
...props
|
|
186
|
-
}: React.ComponentProps<"ul">): react_jsx_runtime253.JSX.Element;
|
|
187
|
-
/** `li` row within a `SidebarMenuSub`. */
|
|
188
|
-
declare function SidebarMenuSubItem({
|
|
189
|
-
className,
|
|
9
|
+
}: ResizablePrimitive.GroupProps): react_jsx_runtime202.JSX.Element;
|
|
10
|
+
/** A single resizable region within a `ResizablePanelGroup`; size it with `defaultSize`/`minSize`/`maxSize`. */
|
|
11
|
+
declare function ResizablePanel({
|
|
190
12
|
...props
|
|
191
|
-
}:
|
|
192
|
-
/**
|
|
193
|
-
declare function
|
|
194
|
-
|
|
195
|
-
size,
|
|
196
|
-
isActive,
|
|
13
|
+
}: ResizablePrimitive.PanelProps): react_jsx_runtime202.JSX.Element;
|
|
14
|
+
/** Draggable divider between two panels; pass `withHandle` to render a visible grip affordance. */
|
|
15
|
+
declare function ResizableHandle({
|
|
16
|
+
withHandle,
|
|
197
17
|
className,
|
|
198
18
|
...props
|
|
199
|
-
}:
|
|
200
|
-
/**
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
size?: "sm" | "md";
|
|
204
|
-
/** Marks the sub-item as the current/active route. */
|
|
205
|
-
isActive?: boolean;
|
|
206
|
-
}): react_jsx_runtime253.JSX.Element;
|
|
19
|
+
}: ResizablePrimitive.SeparatorProps & {
|
|
20
|
+
/** Renders a visible grip icon centred on the divider. */
|
|
21
|
+
withHandle?: boolean;
|
|
22
|
+
}): react_jsx_runtime202.JSX.Element;
|
|
207
23
|
//#endregion
|
|
208
|
-
export {
|
|
24
|
+
export { ResizablePanel as n, ResizablePanelGroup as r, ResizableHandle as t };
|
|
209
25
|
//# sourceMappingURL=index53.d.ts.map
|
package/dist/index53.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index53.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index53.d.ts","names":[],"sources":["../src/primitives/Resizable/Resizable.tsx"],"mappings":";;;;;iBAOS,mBAAA;;;GAA6C,kBAAA,CAAmB,aAAU,oBAAA,CAAA,GAAA,CAAA;;AALtB,iBAgBpD,cAAA,CAXmB;EAAA,GAAA;AAAA,CAAA,EAWU,kBAAA,CAAmB,UAX7B,CAAA,EAWuC,oBAAA,CAAA,GAAA,CAAA,OAXvC;;iBAgBnB,eAAA,CAhBsB;EAAA,UAAA;EAAA,SAAA;EAAA,GAAA;AAAoD,CAApD,EAoB5B,kBAAA,CAAmB,cApBS,GAAA;;YAAoD,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EAuBlF,oBAAA,CAAA,GAAA,CAAA,OAvBkF"}
|
package/dist/index54.d.cts
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
2
|
+
import { ScrollArea } from "radix-ui";
|
|
3
|
+
import * as React from "react";
|
|
2
4
|
|
|
3
|
-
//#region src/primitives/
|
|
4
|
-
/**
|
|
5
|
-
declare function
|
|
5
|
+
//#region src/primitives/ScrollArea/ScrollArea.d.ts
|
|
6
|
+
/** Custom-styled scroll container: a viewport with a slim, auto-hiding scrollbar. */
|
|
7
|
+
declare function ScrollArea$1({
|
|
6
8
|
className,
|
|
9
|
+
children,
|
|
7
10
|
...props
|
|
8
|
-
}: React.ComponentProps<
|
|
9
|
-
/**
|
|
10
|
-
declare function
|
|
11
|
+
}: React.ComponentProps<typeof ScrollArea.Root>): react_jsx_runtime87.JSX.Element;
|
|
12
|
+
/** A single scrollbar track + thumb for the ScrollArea, vertical or horizontal. */
|
|
13
|
+
declare function ScrollBar({
|
|
11
14
|
className,
|
|
15
|
+
/** Axis the scrollbar controls; defaults to `"vertical"`. */
|
|
16
|
+
orientation,
|
|
12
17
|
...props
|
|
13
|
-
}: React.ComponentProps<
|
|
14
|
-
/** Skeleton sized as a single line of text (`h-4 w-full rounded-full`). */
|
|
15
|
-
declare function SkeletonLine({
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
}: React.ComponentProps<"div">): react_jsx_runtime307.JSX.Element;
|
|
19
|
-
/** Skeleton sized as a larger block, e.g. an image or card body (`h-24 w-full`). */
|
|
20
|
-
declare function SkeletonObject({
|
|
21
|
-
className,
|
|
22
|
-
...props
|
|
23
|
-
}: React.ComponentProps<"div">): react_jsx_runtime307.JSX.Element;
|
|
18
|
+
}: React.ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): react_jsx_runtime87.JSX.Element;
|
|
24
19
|
//#endregion
|
|
25
|
-
export {
|
|
20
|
+
export { ScrollBar as n, ScrollArea$1 as t };
|
|
26
21
|
//# sourceMappingURL=index54.d.cts.map
|
package/dist/index54.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index54.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index54.d.cts","names":[],"sources":["../src/primitives/ScrollArea/ScrollArea.tsx"],"mappings":";;;;;;iBAMS,YAAA;;;;GAIN,KAAA,CAAM,sBAAsB,UAAA,CAAoB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AATpB,iBA6B3B,SAAA,CAxBU;EAAA,SAAA;;aACjB;EAAA,GAAA;AAAA,CAAA,EA4BC,KAAA,CAAM,cA5BP,CAAA,OA4B6B,UAAA,CAAoB,mBA5BjD,CAAA,CAAA,EA4BqE,mBAAA,CAAA,GAAA,CAAA,OA5BrE"}
|
package/dist/index54.d.ts
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime200 from "react/jsx-runtime";
|
|
3
|
+
import { ScrollArea } from "radix-ui";
|
|
2
4
|
|
|
3
|
-
//#region src/primitives/
|
|
4
|
-
/**
|
|
5
|
-
declare function
|
|
5
|
+
//#region src/primitives/ScrollArea/ScrollArea.d.ts
|
|
6
|
+
/** Custom-styled scroll container: a viewport with a slim, auto-hiding scrollbar. */
|
|
7
|
+
declare function ScrollArea$1({
|
|
6
8
|
className,
|
|
9
|
+
children,
|
|
7
10
|
...props
|
|
8
|
-
}: React.ComponentProps<
|
|
9
|
-
/**
|
|
10
|
-
declare function
|
|
11
|
+
}: React.ComponentProps<typeof ScrollArea.Root>): react_jsx_runtime200.JSX.Element;
|
|
12
|
+
/** A single scrollbar track + thumb for the ScrollArea, vertical or horizontal. */
|
|
13
|
+
declare function ScrollBar({
|
|
11
14
|
className,
|
|
15
|
+
/** Axis the scrollbar controls; defaults to `"vertical"`. */
|
|
16
|
+
orientation,
|
|
12
17
|
...props
|
|
13
|
-
}: React.ComponentProps<
|
|
14
|
-
/** Skeleton sized as a single line of text (`h-4 w-full rounded-full`). */
|
|
15
|
-
declare function SkeletonLine({
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
}: React.ComponentProps<"div">): react_jsx_runtime239.JSX.Element;
|
|
19
|
-
/** Skeleton sized as a larger block, e.g. an image or card body (`h-24 w-full`). */
|
|
20
|
-
declare function SkeletonObject({
|
|
21
|
-
className,
|
|
22
|
-
...props
|
|
23
|
-
}: React.ComponentProps<"div">): react_jsx_runtime239.JSX.Element;
|
|
18
|
+
}: React.ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): react_jsx_runtime200.JSX.Element;
|
|
24
19
|
//#endregion
|
|
25
|
-
export {
|
|
20
|
+
export { ScrollBar as n, ScrollArea$1 as t };
|
|
26
21
|
//# sourceMappingURL=index54.d.ts.map
|