@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/index41.d.ts
CHANGED
|
@@ -1,56 +1,29 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import { NavigationMenu } from "radix-ui";
|
|
3
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
4
4
|
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
-
//#region src/primitives/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...props
|
|
26
|
-
}:
|
|
27
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types3.ClassProp | undefined) => string;
|
|
28
|
-
/** Button that toggles an item's content panel; renders a rotating chevron. */
|
|
29
|
-
declare function NavigationMenuTrigger({
|
|
30
|
-
className,
|
|
31
|
-
children,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<typeof NavigationMenu.Trigger>): react_jsx_runtime58.JSX.Element;
|
|
34
|
-
/** The panel revealed when an item's trigger is open; holds links or rich content. */
|
|
35
|
-
declare function NavigationMenuContent({
|
|
36
|
-
className,
|
|
37
|
-
...props
|
|
38
|
-
}: React.ComponentProps<typeof NavigationMenu.Content>): react_jsx_runtime58.JSX.Element;
|
|
39
|
-
/** Shared animated container that the active item's content is portaled into when `viewport` is enabled. */
|
|
40
|
-
declare function NavigationMenuViewport({
|
|
41
|
-
className,
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu.Viewport>): react_jsx_runtime58.JSX.Element;
|
|
44
|
-
/** A navigable link styled for use as a top-level item or inside content; set `active` to mark the current page. */
|
|
45
|
-
declare function NavigationMenuLink({
|
|
46
|
-
className,
|
|
47
|
-
...props
|
|
48
|
-
}: React.ComponentProps<typeof NavigationMenu.Link>): react_jsx_runtime58.JSX.Element;
|
|
49
|
-
/** Optional arrow that points from the active trigger to its content panel. */
|
|
50
|
-
declare function NavigationMenuIndicator({
|
|
51
|
-
className,
|
|
52
|
-
...props
|
|
53
|
-
}: React.ComponentProps<typeof NavigationMenu.Indicator>): react_jsx_runtime58.JSX.Element;
|
|
6
|
+
//#region src/primitives/Link/Link.d.ts
|
|
7
|
+
declare const linkVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "muted" | "subtle" | null | undefined;
|
|
9
|
+
underline?: "always" | "hover" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
11
|
+
type LinkProps = React.ComponentProps<"a"> & VariantProps<typeof linkVariants> & {
|
|
12
|
+
/** Render the child element instead of an <a> (for router links). */
|
|
13
|
+
asChild?: boolean;
|
|
14
|
+
/** Visual emphasis of the link text: primary (`default`), `muted`, or `subtle`. */
|
|
15
|
+
variant?: VariantProps<typeof linkVariants>["variant"];
|
|
16
|
+
/** When the underline shows: `always` or only on `hover`. */
|
|
17
|
+
underline?: VariantProps<typeof linkVariants>["underline"];
|
|
18
|
+
};
|
|
19
|
+
/** Inline text link styled to the design system; pass `asChild` to render a router link. */
|
|
20
|
+
declare function Link({
|
|
21
|
+
asChild,
|
|
22
|
+
className,
|
|
23
|
+
variant,
|
|
24
|
+
underline,
|
|
25
|
+
...props
|
|
26
|
+
}: LinkProps): react_jsx_runtime35.JSX.Element;
|
|
54
27
|
//#endregion
|
|
55
|
-
export {
|
|
28
|
+
export { LinkProps as n, linkVariants as r, Link as t };
|
|
56
29
|
//# sourceMappingURL=index41.d.ts.map
|
package/dist/index41.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index41.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index41.d.ts","names":[],"sources":["../src/primitives/Link/Link.tsx"],"mappings":";;;;;;cAQM;;;IAmBL,+BAAA,CAAA;AAzBmC,KA2B/B,SAAA,GAAY,KAAA,CAAM,cAFtB,CAAA,GAAA,CAAA,GAGC,YAHD,CAAA,OAGqB,YAHrB,CAAA,GAAA;EAEI;EAAS,OAAA,CAAA,EAAA,OAAA;;SACQ,CAAA,EAIR,YAJQ,CAAA,OAIY,YAJZ,CAAA,CAAA,SAAA,CAAA;;WAIY,CAAA,EAElB,YAFkB,CAAA,OAEE,YAFF,CAAA,CAAA,WAAA,CAAA;;;iBAMzB,IAAA,CAJO;EAAA,OAAA;EAAA,SAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAI4D,SAJ5D,CAAA,EAIqE,mBAAA,CAAA,GAAA,CAAA,OAJrE"}
|
package/dist/index42.d.cts
CHANGED
|
@@ -1,45 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Popover } from "radix-ui";
|
|
1
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
3
2
|
import * as React from "react";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
//#region src/primitives/Logo/Logo.d.ts
|
|
5
|
+
type LogoBrand = "bodhi" | "slingshot" | "sustain" | "psai";
|
|
6
|
+
type LogoVariant = "logo" | "icon";
|
|
7
|
+
/** Renders a product's brand mark (wordmark or compact icon) as an inline SVG. */
|
|
8
|
+
declare function Logo({
|
|
9
|
+
brand,
|
|
10
|
+
variant,
|
|
8
11
|
...props
|
|
9
|
-
}: React.ComponentProps<
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
declare function PopoverContent({
|
|
16
|
-
/** Extra classes merged onto the content surface. */
|
|
17
|
-
className,
|
|
18
|
-
/** Alignment of the content relative to the trigger along the chosen side. */
|
|
19
|
-
align,
|
|
20
|
-
/** Distance in px between the content and the trigger. */
|
|
21
|
-
sideOffset,
|
|
22
|
-
...props
|
|
23
|
-
}: React.ComponentProps<typeof Popover.Content>): react_jsx_runtime211.JSX.Element;
|
|
24
|
-
/** Optional element the content positions against instead of the trigger. */
|
|
25
|
-
declare function PopoverAnchor({
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<typeof Popover.Anchor>): react_jsx_runtime211.JSX.Element;
|
|
28
|
-
/** Stacked header slot for a title and description at the top of the content. */
|
|
29
|
-
declare function PopoverHeader({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
33
|
-
/** Emphasised title line for the popover header. */
|
|
34
|
-
declare function PopoverTitle({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: React.ComponentProps<"h2">): react_jsx_runtime211.JSX.Element;
|
|
38
|
-
/** Muted supporting copy for the popover header. */
|
|
39
|
-
declare function PopoverDescription({
|
|
40
|
-
className,
|
|
41
|
-
...props
|
|
42
|
-
}: React.ComponentProps<"p">): react_jsx_runtime211.JSX.Element;
|
|
12
|
+
}: React.ComponentProps<"svg"> & {
|
|
13
|
+
/** Which product the mark belongs to. */
|
|
14
|
+
brand: LogoBrand;
|
|
15
|
+
/** `logo` is the full wordmark; `icon` is the compact symbol. */
|
|
16
|
+
variant?: LogoVariant;
|
|
17
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
43
18
|
//#endregion
|
|
44
|
-
export {
|
|
19
|
+
export { LogoBrand as n, LogoVariant as r, Logo as t };
|
|
45
20
|
//# sourceMappingURL=index42.d.cts.map
|
package/dist/index42.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index42.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index42.d.cts","names":[],"sources":["../src/primitives/Logo/Logo.tsx"],"mappings":";;;;KAUK,SAAA;KACA,WAAA;;AAX+B,iBAwB3B,IAAA,CAdK;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EAkBX,KAAA,CAAM,cAlBK,CAAA,KAAA,CAAA,GAAA;EACT;EAaI,KAAA,EAMA,SANI;EAAA;SACX,CAAA,EAOU,WAPV;IAQD,oBAAA,CAAA,GAAA,CAAA,OAPC"}
|
package/dist/index42.d.ts
CHANGED
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import { Popover } from "radix-ui";
|
|
2
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
//#region src/primitives/Logo/Logo.d.ts
|
|
5
|
+
type LogoBrand = "bodhi" | "slingshot" | "sustain" | "psai";
|
|
6
|
+
type LogoVariant = "logo" | "icon";
|
|
7
|
+
/** Renders a product's brand mark (wordmark or compact icon) as an inline SVG. */
|
|
8
|
+
declare function Logo({
|
|
9
|
+
brand,
|
|
10
|
+
variant,
|
|
8
11
|
...props
|
|
9
|
-
}: React.ComponentProps<
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
declare function PopoverContent({
|
|
16
|
-
/** Extra classes merged onto the content surface. */
|
|
17
|
-
className,
|
|
18
|
-
/** Alignment of the content relative to the trigger along the chosen side. */
|
|
19
|
-
align,
|
|
20
|
-
/** Distance in px between the content and the trigger. */
|
|
21
|
-
sideOffset,
|
|
22
|
-
...props
|
|
23
|
-
}: React.ComponentProps<typeof Popover.Content>): react_jsx_runtime46.JSX.Element;
|
|
24
|
-
/** Optional element the content positions against instead of the trigger. */
|
|
25
|
-
declare function PopoverAnchor({
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<typeof Popover.Anchor>): react_jsx_runtime46.JSX.Element;
|
|
28
|
-
/** Stacked header slot for a title and description at the top of the content. */
|
|
29
|
-
declare function PopoverHeader({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<"div">): react_jsx_runtime46.JSX.Element;
|
|
33
|
-
/** Emphasised title line for the popover header. */
|
|
34
|
-
declare function PopoverTitle({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: React.ComponentProps<"h2">): react_jsx_runtime46.JSX.Element;
|
|
38
|
-
/** Muted supporting copy for the popover header. */
|
|
39
|
-
declare function PopoverDescription({
|
|
40
|
-
className,
|
|
41
|
-
...props
|
|
42
|
-
}: React.ComponentProps<"p">): react_jsx_runtime46.JSX.Element;
|
|
12
|
+
}: React.ComponentProps<"svg"> & {
|
|
13
|
+
/** Which product the mark belongs to. */
|
|
14
|
+
brand: LogoBrand;
|
|
15
|
+
/** `logo` is the full wordmark; `icon` is the compact symbol. */
|
|
16
|
+
variant?: LogoVariant;
|
|
17
|
+
}): react_jsx_runtime34.JSX.Element;
|
|
43
18
|
//#endregion
|
|
44
|
-
export {
|
|
19
|
+
export { LogoBrand as n, LogoVariant as r, Logo as t };
|
|
45
20
|
//# sourceMappingURL=index42.d.ts.map
|
package/dist/index42.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index42.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index42.d.ts","names":[],"sources":["../src/primitives/Logo/Logo.tsx"],"mappings":";;;;KAUK,SAAA;KACA,WAAA;;AAX+B,iBAwB3B,IAAA,CAdK;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EAkBX,KAAA,CAAM,cAlBK,CAAA,KAAA,CAAA,GAAA;EACT;EAaI,KAAA,EAMA,SANI;EAAA;SACX,CAAA,EAOU,WAPV;IAQD,mBAAA,CAAA,GAAA,CAAA,OAPC"}
|
package/dist/index43.d.cts
CHANGED
|
@@ -1,96 +1,105 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime337 from "react/jsx-runtime";
|
|
2
|
+
import { Menubar } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare function NavRail({
|
|
9
|
-
mode,
|
|
5
|
+
//#region src/primitives/Menubar/Menubar.d.ts
|
|
6
|
+
/** Horizontal application menu bar that hosts a row of dropdown menus (File, Edit, …). */
|
|
7
|
+
declare function Menubar$1({
|
|
10
8
|
className,
|
|
11
9
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
}: React.ComponentProps<typeof Menubar.Root>): react_jsx_runtime337.JSX.Element;
|
|
11
|
+
/** A single menu within the bar — wraps a trigger and its content. */
|
|
12
|
+
declare function MenubarMenu({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof Menubar.Menu>): react_jsx_runtime337.JSX.Element;
|
|
15
|
+
/** Groups related menu items together for semantic structure. */
|
|
16
|
+
declare function MenubarGroup({
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<typeof Menubar.Group>): react_jsx_runtime337.JSX.Element;
|
|
19
|
+
/** Portals menu content into the document body so it escapes overflow/stacking contexts. */
|
|
20
|
+
declare function MenubarPortal({
|
|
21
|
+
...props
|
|
22
|
+
}: React.ComponentProps<typeof Menubar.Portal>): react_jsx_runtime337.JSX.Element;
|
|
23
|
+
/** Groups `MenubarRadioItem`s so only one can be selected at a time. */
|
|
24
|
+
declare function MenubarRadioGroup({
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof Menubar.RadioGroup>): react_jsx_runtime337.JSX.Element;
|
|
27
|
+
/** The clickable label in the bar that opens its menu's content. */
|
|
28
|
+
declare function MenubarTrigger({
|
|
18
29
|
className,
|
|
19
30
|
...props
|
|
20
|
-
}: React.ComponentProps<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
label: string;
|
|
24
|
-
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
-
active?: boolean;
|
|
26
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
-
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
-
};
|
|
31
|
-
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
-
declare function NavRailItem({
|
|
33
|
-
label,
|
|
34
|
-
active,
|
|
35
|
-
asChild,
|
|
36
|
-
tooltipSide,
|
|
31
|
+
}: React.ComponentProps<typeof Menubar.Trigger>): react_jsx_runtime337.JSX.Element;
|
|
32
|
+
/** The dropdown surface that holds a menu's items; portalled and animated. */
|
|
33
|
+
declare function MenubarContent({
|
|
37
34
|
className,
|
|
38
|
-
|
|
35
|
+
align,
|
|
36
|
+
alignOffset,
|
|
37
|
+
sideOffset,
|
|
39
38
|
...props
|
|
40
|
-
}:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
avatar: React.ReactNode;
|
|
44
|
-
/** The user's display name (hidden in icon mode). */
|
|
45
|
-
name: React.ReactNode;
|
|
46
|
-
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
-
email: React.ReactNode;
|
|
48
|
-
};
|
|
49
|
-
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
-
declare function NavRailUser({
|
|
51
|
-
avatar,
|
|
52
|
-
name,
|
|
53
|
-
email,
|
|
39
|
+
}: React.ComponentProps<typeof Menubar.Content>): react_jsx_runtime337.JSX.Element;
|
|
40
|
+
/** A selectable action inside a menu's content. */
|
|
41
|
+
declare function MenubarItem({
|
|
54
42
|
className,
|
|
43
|
+
inset,
|
|
44
|
+
variant,
|
|
55
45
|
...props
|
|
56
|
-
}:
|
|
57
|
-
/**
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
-
declare function NavRailMenuTrigger({
|
|
67
|
-
label,
|
|
68
|
-
active,
|
|
46
|
+
}: React.ComponentProps<typeof Menubar.Item> & {
|
|
47
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
48
|
+
inset?: boolean;
|
|
49
|
+
/** Visual intent — `destructive` styles the item in the danger colour. */
|
|
50
|
+
variant?: "default" | "destructive";
|
|
51
|
+
}): react_jsx_runtime337.JSX.Element;
|
|
52
|
+
/** A menu item with a toggleable checkmark indicator. */
|
|
53
|
+
declare function MenubarCheckboxItem({
|
|
69
54
|
className,
|
|
70
55
|
children,
|
|
56
|
+
checked,
|
|
71
57
|
...props
|
|
72
|
-
}:
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
58
|
+
}: React.ComponentProps<typeof Menubar.CheckboxItem>): react_jsx_runtime337.JSX.Element;
|
|
59
|
+
/** A menu item with a radio dot indicator; use inside a `MenubarRadioGroup`. */
|
|
60
|
+
declare function MenubarRadioItem({
|
|
75
61
|
className,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
62
|
+
children,
|
|
63
|
+
...props
|
|
64
|
+
}: React.ComponentProps<typeof Menubar.RadioItem>): react_jsx_runtime337.JSX.Element;
|
|
65
|
+
/** A non-interactive heading that titles a group of menu items. */
|
|
66
|
+
declare function MenubarLabel({
|
|
67
|
+
className,
|
|
68
|
+
inset,
|
|
69
|
+
...props
|
|
70
|
+
}: React.ComponentProps<typeof Menubar.Label> & {
|
|
71
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
72
|
+
inset?: boolean;
|
|
73
|
+
}): react_jsx_runtime337.JSX.Element;
|
|
74
|
+
/** A thin divider line between groups of menu items. */
|
|
75
|
+
declare function MenubarSeparator({
|
|
76
|
+
className,
|
|
77
|
+
...props
|
|
78
|
+
}: React.ComponentProps<typeof Menubar.Separator>): react_jsx_runtime337.JSX.Element;
|
|
79
|
+
/** Right-aligned hint text for an item's keyboard shortcut (e.g. ⌘T). */
|
|
80
|
+
declare function MenubarShortcut({
|
|
81
|
+
className,
|
|
82
|
+
...props
|
|
83
|
+
}: React.ComponentProps<"span">): react_jsx_runtime337.JSX.Element;
|
|
84
|
+
/** Wraps a nested submenu (its trigger and content). */
|
|
85
|
+
declare function MenubarSub({
|
|
86
|
+
...props
|
|
87
|
+
}: React.ComponentProps<typeof Menubar.Sub>): react_jsx_runtime337.JSX.Element;
|
|
88
|
+
/** An item that opens a nested submenu; shows a trailing chevron. */
|
|
89
|
+
declare function MenubarSubTrigger({
|
|
90
|
+
className,
|
|
91
|
+
inset,
|
|
92
|
+
children,
|
|
79
93
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
};
|
|
87
|
-
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
-
declare function NavRailMenuItem({
|
|
94
|
+
}: React.ComponentProps<typeof Menubar.SubTrigger> & {
|
|
95
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
96
|
+
inset?: boolean;
|
|
97
|
+
}): react_jsx_runtime337.JSX.Element;
|
|
98
|
+
/** The dropdown surface for a nested submenu's items. */
|
|
99
|
+
declare function MenubarSubContent({
|
|
89
100
|
className,
|
|
90
|
-
active,
|
|
91
|
-
asChild,
|
|
92
101
|
...props
|
|
93
|
-
}:
|
|
102
|
+
}: React.ComponentProps<typeof Menubar.SubContent>): react_jsx_runtime337.JSX.Element;
|
|
94
103
|
//#endregion
|
|
95
|
-
export {
|
|
104
|
+
export { MenubarItem as a, MenubarPortal as c, MenubarSeparator as d, MenubarShortcut as f, MenubarTrigger as g, MenubarSubTrigger as h, MenubarGroup as i, MenubarRadioGroup as l, MenubarSubContent as m, MenubarCheckboxItem as n, MenubarLabel as o, MenubarSub as p, MenubarContent as r, MenubarMenu as s, Menubar$1 as t, MenubarRadioItem as u };
|
|
96
105
|
//# sourceMappingURL=index43.d.cts.map
|
package/dist/index43.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index43.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index43.d.cts","names":[],"sources":["../src/primitives/Menubar/Menubar.tsx"],"mappings":"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"}
|
package/dist/index43.d.ts
CHANGED
|
@@ -1,96 +1,105 @@
|
|
|
1
|
-
import { r as PopoverContent, t as Popover } from "./index42.js";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
3
|
+
import { Menubar } from "radix-ui";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare function NavRail({
|
|
9
|
-
mode,
|
|
5
|
+
//#region src/primitives/Menubar/Menubar.d.ts
|
|
6
|
+
/** Horizontal application menu bar that hosts a row of dropdown menus (File, Edit, …). */
|
|
7
|
+
declare function Menubar$1({
|
|
10
8
|
className,
|
|
11
9
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
}: React.ComponentProps<typeof Menubar.Root>): react_jsx_runtime36.JSX.Element;
|
|
11
|
+
/** A single menu within the bar — wraps a trigger and its content. */
|
|
12
|
+
declare function MenubarMenu({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof Menubar.Menu>): react_jsx_runtime36.JSX.Element;
|
|
15
|
+
/** Groups related menu items together for semantic structure. */
|
|
16
|
+
declare function MenubarGroup({
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<typeof Menubar.Group>): react_jsx_runtime36.JSX.Element;
|
|
19
|
+
/** Portals menu content into the document body so it escapes overflow/stacking contexts. */
|
|
20
|
+
declare function MenubarPortal({
|
|
21
|
+
...props
|
|
22
|
+
}: React.ComponentProps<typeof Menubar.Portal>): react_jsx_runtime36.JSX.Element;
|
|
23
|
+
/** Groups `MenubarRadioItem`s so only one can be selected at a time. */
|
|
24
|
+
declare function MenubarRadioGroup({
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof Menubar.RadioGroup>): react_jsx_runtime36.JSX.Element;
|
|
27
|
+
/** The clickable label in the bar that opens its menu's content. */
|
|
28
|
+
declare function MenubarTrigger({
|
|
18
29
|
className,
|
|
19
30
|
...props
|
|
20
|
-
}: React.ComponentProps<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
label: string;
|
|
24
|
-
/** Marks the item as the current page (active styling + `aria-current="page"`). */
|
|
25
|
-
active?: boolean;
|
|
26
|
-
/** Render the child element instead of a <button> (e.g. a router link). */
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
/** Which side the tooltip opens on in icon mode. */
|
|
29
|
-
tooltipSide?: "top" | "right" | "bottom" | "left";
|
|
30
|
-
};
|
|
31
|
-
/** A single navigation entry; an icon (as children) plus a `label`, with a tooltip in icon mode. */
|
|
32
|
-
declare function NavRailItem({
|
|
33
|
-
label,
|
|
34
|
-
active,
|
|
35
|
-
asChild,
|
|
36
|
-
tooltipSide,
|
|
31
|
+
}: React.ComponentProps<typeof Menubar.Trigger>): react_jsx_runtime36.JSX.Element;
|
|
32
|
+
/** The dropdown surface that holds a menu's items; portalled and animated. */
|
|
33
|
+
declare function MenubarContent({
|
|
37
34
|
className,
|
|
38
|
-
|
|
35
|
+
align,
|
|
36
|
+
alignOffset,
|
|
37
|
+
sideOffset,
|
|
39
38
|
...props
|
|
40
|
-
}:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
avatar: React.ReactNode;
|
|
44
|
-
/** The user's display name (hidden in icon mode). */
|
|
45
|
-
name: React.ReactNode;
|
|
46
|
-
/** The user's secondary line, e.g. email (hidden in icon mode). */
|
|
47
|
-
email: React.ReactNode;
|
|
48
|
-
};
|
|
49
|
-
/** The footer slot of the rail showing the signed-in user (avatar + name + email). */
|
|
50
|
-
declare function NavRailUser({
|
|
51
|
-
avatar,
|
|
52
|
-
name,
|
|
53
|
-
email,
|
|
39
|
+
}: React.ComponentProps<typeof Menubar.Content>): react_jsx_runtime36.JSX.Element;
|
|
40
|
+
/** A selectable action inside a menu's content. */
|
|
41
|
+
declare function MenubarItem({
|
|
54
42
|
className,
|
|
43
|
+
inset,
|
|
44
|
+
variant,
|
|
55
45
|
...props
|
|
56
|
-
}:
|
|
57
|
-
/**
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
/** The rail item that opens its flyout submenu; renders a chevron affordance. */
|
|
66
|
-
declare function NavRailMenuTrigger({
|
|
67
|
-
label,
|
|
68
|
-
active,
|
|
46
|
+
}: React.ComponentProps<typeof Menubar.Item> & {
|
|
47
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
48
|
+
inset?: boolean;
|
|
49
|
+
/** Visual intent — `destructive` styles the item in the danger colour. */
|
|
50
|
+
variant?: "default" | "destructive";
|
|
51
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
52
|
+
/** A menu item with a toggleable checkmark indicator. */
|
|
53
|
+
declare function MenubarCheckboxItem({
|
|
69
54
|
className,
|
|
70
55
|
children,
|
|
56
|
+
checked,
|
|
71
57
|
...props
|
|
72
|
-
}:
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
58
|
+
}: React.ComponentProps<typeof Menubar.CheckboxItem>): react_jsx_runtime36.JSX.Element;
|
|
59
|
+
/** A menu item with a radio dot indicator; use inside a `MenubarRadioGroup`. */
|
|
60
|
+
declare function MenubarRadioItem({
|
|
75
61
|
className,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
62
|
+
children,
|
|
63
|
+
...props
|
|
64
|
+
}: React.ComponentProps<typeof Menubar.RadioItem>): react_jsx_runtime36.JSX.Element;
|
|
65
|
+
/** A non-interactive heading that titles a group of menu items. */
|
|
66
|
+
declare function MenubarLabel({
|
|
67
|
+
className,
|
|
68
|
+
inset,
|
|
69
|
+
...props
|
|
70
|
+
}: React.ComponentProps<typeof Menubar.Label> & {
|
|
71
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
72
|
+
inset?: boolean;
|
|
73
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
74
|
+
/** A thin divider line between groups of menu items. */
|
|
75
|
+
declare function MenubarSeparator({
|
|
76
|
+
className,
|
|
77
|
+
...props
|
|
78
|
+
}: React.ComponentProps<typeof Menubar.Separator>): react_jsx_runtime36.JSX.Element;
|
|
79
|
+
/** Right-aligned hint text for an item's keyboard shortcut (e.g. ⌘T). */
|
|
80
|
+
declare function MenubarShortcut({
|
|
81
|
+
className,
|
|
82
|
+
...props
|
|
83
|
+
}: React.ComponentProps<"span">): react_jsx_runtime36.JSX.Element;
|
|
84
|
+
/** Wraps a nested submenu (its trigger and content). */
|
|
85
|
+
declare function MenubarSub({
|
|
86
|
+
...props
|
|
87
|
+
}: React.ComponentProps<typeof Menubar.Sub>): react_jsx_runtime36.JSX.Element;
|
|
88
|
+
/** An item that opens a nested submenu; shows a trailing chevron. */
|
|
89
|
+
declare function MenubarSubTrigger({
|
|
90
|
+
className,
|
|
91
|
+
inset,
|
|
92
|
+
children,
|
|
79
93
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
};
|
|
87
|
-
/** A single entry inside a NavRail flyout submenu. */
|
|
88
|
-
declare function NavRailMenuItem({
|
|
94
|
+
}: React.ComponentProps<typeof Menubar.SubTrigger> & {
|
|
95
|
+
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
96
|
+
inset?: boolean;
|
|
97
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
98
|
+
/** The dropdown surface for a nested submenu's items. */
|
|
99
|
+
declare function MenubarSubContent({
|
|
89
100
|
className,
|
|
90
|
-
active,
|
|
91
|
-
asChild,
|
|
92
101
|
...props
|
|
93
|
-
}:
|
|
102
|
+
}: React.ComponentProps<typeof Menubar.SubContent>): react_jsx_runtime36.JSX.Element;
|
|
94
103
|
//#endregion
|
|
95
|
-
export {
|
|
104
|
+
export { MenubarItem as a, MenubarPortal as c, MenubarSeparator as d, MenubarShortcut as f, MenubarTrigger as g, MenubarSubTrigger as h, MenubarGroup as i, MenubarRadioGroup as l, MenubarSubContent as m, MenubarCheckboxItem as n, MenubarLabel as o, MenubarSub as p, MenubarContent as r, MenubarMenu as s, Menubar$1 as t, MenubarRadioItem as u };
|
|
96
105
|
//# sourceMappingURL=index43.d.ts.map
|