@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/index22.d.cts
CHANGED
|
@@ -1,62 +1,116 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { c as CommandSeparator, i as CommandGroup, o as CommandItem, s as CommandList } from "./index20.cjs";
|
|
2
|
+
import { r as PopoverContent, s as PopoverTrigger } from "./index21.cjs";
|
|
3
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
2
4
|
import * as React from "react";
|
|
3
|
-
import {
|
|
5
|
+
import { Command } from "cmdk";
|
|
4
6
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
//#region src/primitives/Combobox/Combobox.d.ts
|
|
8
|
+
interface ComboboxProps {
|
|
9
|
+
/** Controlled selected value. */
|
|
10
|
+
value?: string;
|
|
11
|
+
/** Initial selected value (uncontrolled). */
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
/** Called with the item's `value` when a selection is made. */
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
/** Controlled open state of the dropdown. */
|
|
16
|
+
open?: boolean;
|
|
17
|
+
/** Initially open (uncontrolled). */
|
|
18
|
+
defaultOpen?: boolean;
|
|
19
|
+
/** Called when the dropdown opens or closes. */
|
|
20
|
+
onOpenChange?: (open: boolean) => void;
|
|
21
|
+
/** Forwarded to the underlying Popover root. */
|
|
22
|
+
modal?: boolean;
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Searchable single-select dropdown (the shadcn "combobox" recipe): a Popover
|
|
27
|
+
* holding a filterable Command list. Holds the selected value and open state,
|
|
28
|
+
* and closes on selection. Search state resets automatically on close because
|
|
29
|
+
* the content unmounts.
|
|
30
|
+
*/
|
|
31
|
+
declare function Combobox({
|
|
32
|
+
value,
|
|
33
|
+
defaultValue,
|
|
34
|
+
onValueChange,
|
|
35
|
+
open,
|
|
36
|
+
defaultOpen,
|
|
37
|
+
onOpenChange,
|
|
38
|
+
modal,
|
|
39
|
+
children
|
|
40
|
+
}: Readonly<ComboboxProps>): react_jsx_runtime116.JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* Pill-shaped trigger showing the current selection. With no `children`, it
|
|
43
|
+
* renders the selected item's label (or `placeholder` when nothing is
|
|
44
|
+
* selected); pass `children` to fully control the display — e.g. when the
|
|
45
|
+
* selected label comes from data the items haven't mounted with yet.
|
|
46
|
+
*/
|
|
47
|
+
declare function ComboboxTrigger({
|
|
48
|
+
className,
|
|
49
|
+
/** Muted prefix rendered as `label:` before the value (e.g. `Project:`). */
|
|
50
|
+
label,
|
|
51
|
+
/** Muted text shown while nothing is selected. */
|
|
52
|
+
placeholder,
|
|
53
|
+
children,
|
|
16
54
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
|
|
19
|
-
|
|
55
|
+
}: React.ComponentProps<typeof PopoverTrigger> & {
|
|
56
|
+
label?: string;
|
|
57
|
+
placeholder?: string;
|
|
58
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
59
|
+
/** The dropdown panel: a Command (filterable list) inside a PopoverContent. */
|
|
60
|
+
declare function ComboboxContent({
|
|
61
|
+
className,
|
|
62
|
+
align,
|
|
63
|
+
children,
|
|
64
|
+
filter,
|
|
65
|
+
shouldFilter,
|
|
66
|
+
loop,
|
|
20
67
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof
|
|
22
|
-
/**
|
|
23
|
-
declare function
|
|
24
|
-
/** Extra classes merged onto the overlay surface. */
|
|
68
|
+
}: React.ComponentProps<typeof PopoverContent> & Pick<React.ComponentProps<typeof Command>, "filter" | "shouldFilter" | "loop">): react_jsx_runtime116.JSX.Element;
|
|
69
|
+
/** Bordered search field pinned above the list; typing filters the items. */
|
|
70
|
+
declare function ComboboxInput({
|
|
25
71
|
className,
|
|
72
|
+
/** Extra classes for the padded, bottom-bordered section around the field. */
|
|
73
|
+
wrapperClassName,
|
|
26
74
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
75
|
+
}: React.ComponentProps<typeof Command.Input> & {
|
|
76
|
+
wrapperClassName?: string;
|
|
77
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
78
|
+
/** Scrollable container for the option rows. */
|
|
79
|
+
declare function ComboboxList({
|
|
31
80
|
className,
|
|
32
|
-
/** Body of the drawer, typically header/footer plus content. */
|
|
33
|
-
children,
|
|
34
81
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof
|
|
36
|
-
/**
|
|
37
|
-
declare function
|
|
38
|
-
/** Extra classes merged onto the header wrapper. */
|
|
82
|
+
}: React.ComponentProps<typeof CommandList>): react_jsx_runtime116.JSX.Element;
|
|
83
|
+
/** Placeholder row shown when the search matches no items. */
|
|
84
|
+
declare function ComboboxEmpty({
|
|
39
85
|
className,
|
|
40
86
|
...props
|
|
41
|
-
}: React.ComponentProps<
|
|
42
|
-
/**
|
|
43
|
-
declare function
|
|
44
|
-
/** Extra classes merged onto the footer wrapper. */
|
|
87
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime116.JSX.Element;
|
|
88
|
+
/** A labelled group of related options, with an optional `heading`. */
|
|
89
|
+
declare function ComboboxGroup({
|
|
45
90
|
className,
|
|
46
91
|
...props
|
|
47
|
-
}: React.ComponentProps<
|
|
48
|
-
/**
|
|
49
|
-
declare function
|
|
50
|
-
/** Extra classes merged onto the title. */
|
|
92
|
+
}: React.ComponentProps<typeof CommandGroup>): react_jsx_runtime116.JSX.Element;
|
|
93
|
+
/** A thin divider line between option groups. */
|
|
94
|
+
declare function ComboboxSeparator({
|
|
51
95
|
className,
|
|
52
96
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
|
|
97
|
+
}: React.ComponentProps<typeof CommandSeparator>): react_jsx_runtime116.JSX.Element;
|
|
98
|
+
/**
|
|
99
|
+
* A selectable option. `value` is what the combobox reports on selection;
|
|
100
|
+
* search matches the visible text (or explicit `keywords`), not the `value`.
|
|
101
|
+
*/
|
|
102
|
+
declare function ComboboxItem({
|
|
103
|
+
/** The value reported by `onValueChange` when this item is chosen. */
|
|
104
|
+
value,
|
|
105
|
+
/** Extra strings the search should match; defaults to the item's text content. */
|
|
106
|
+
keywords,
|
|
57
107
|
className,
|
|
108
|
+
children,
|
|
109
|
+
onSelect,
|
|
58
110
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof
|
|
111
|
+
}: Omit<React.ComponentProps<typeof CommandItem>, "value"> & {
|
|
112
|
+
value: string;
|
|
113
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
60
114
|
//#endregion
|
|
61
|
-
export {
|
|
115
|
+
export { ComboboxInput as a, ComboboxSeparator as c, ComboboxGroup as i, ComboboxTrigger as l, ComboboxContent as n, ComboboxItem as o, ComboboxEmpty as r, ComboboxList as s, Combobox as t };
|
|
62
116
|
//# sourceMappingURL=index22.d.cts.map
|
package/dist/index22.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index22.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index22.d.cts","names":[],"sources":["../src/primitives/Combobox/Combobox.tsx"],"mappings":";;;;;;;UA6CU,aAAA;;;EAAA;EAwBD,YAAQ,CAAA,EAAA,MAAA;EAAA;eACf,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;;MAEA,CAAA,EAAA,OAAA;;aAEA,CAAA,EAAA,OAAA;;cAEA,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;;OAEU,CAAA,EAAA,OAAA;UAAT,CAAA,EAlBU,KAAA,CAAM,SAkBhB;;AAAuB;AAAA;;;;;iBATjB,QAAA,CAuEP;EAAA,KAAA;EAAA,YAAA;EAAA,aAAA;EAAA,IAAA;EAAA,WAAA;EAAA,YAAA;EAAA,KAAA;EAAA;AAAA,CAAA,EA9DC,QA8DD,CA9DU,aA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AA,CAAA,EAqB2B,KAAA,CAAM,cArBjC,CAAA,OAqBuD,YArBvD,CAAA,CAAA,EAqBoE,oBAAA,CAAA,GAAA,CAAA,OArBpE;;iBAgCZ,iBAAA,CAhCe;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgC4B,KAAA,CAAM,cAhClC,CAAA,OAgCwD,gBAhCxD,CAAA,CAAA,EAgCyE,oBAAA,CAAA,GAAA,CAAA,OAhCzE;;;;AAA+D;AAAA,iBA0C9E,YAAA,CAnCa;;;;UAGnB;EAAA,SAAM;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAA6C,CAA7C,EAyCN,IAzCM,CAyCD,KAAA,CAAM,cAzCL,CAAA,OAyC2B,WAzC3B,CAAA,EAAA,OAAA,CAAA,GAAA;OAA6C,EAAA,MAAA;AAAA,CAAA,CAAA,EAyCwB,oBAAA,CAAA,GAAA,CAAA,OAzCxB"}
|
package/dist/index22.d.ts
CHANGED
|
@@ -1,62 +1,116 @@
|
|
|
1
|
+
import { c as CommandSeparator, i as CommandGroup, o as CommandItem, s as CommandList } from "./index20.js";
|
|
2
|
+
import { r as PopoverContent, s as PopoverTrigger } from "./index21.js";
|
|
1
3
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
+
import * as react_jsx_runtime341 from "react/jsx-runtime";
|
|
5
|
+
import { Command } from "cmdk";
|
|
4
6
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
//#region src/primitives/Combobox/Combobox.d.ts
|
|
8
|
+
interface ComboboxProps {
|
|
9
|
+
/** Controlled selected value. */
|
|
10
|
+
value?: string;
|
|
11
|
+
/** Initial selected value (uncontrolled). */
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
/** Called with the item's `value` when a selection is made. */
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
/** Controlled open state of the dropdown. */
|
|
16
|
+
open?: boolean;
|
|
17
|
+
/** Initially open (uncontrolled). */
|
|
18
|
+
defaultOpen?: boolean;
|
|
19
|
+
/** Called when the dropdown opens or closes. */
|
|
20
|
+
onOpenChange?: (open: boolean) => void;
|
|
21
|
+
/** Forwarded to the underlying Popover root. */
|
|
22
|
+
modal?: boolean;
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Searchable single-select dropdown (the shadcn "combobox" recipe): a Popover
|
|
27
|
+
* holding a filterable Command list. Holds the selected value and open state,
|
|
28
|
+
* and closes on selection. Search state resets automatically on close because
|
|
29
|
+
* the content unmounts.
|
|
30
|
+
*/
|
|
31
|
+
declare function Combobox({
|
|
32
|
+
value,
|
|
33
|
+
defaultValue,
|
|
34
|
+
onValueChange,
|
|
35
|
+
open,
|
|
36
|
+
defaultOpen,
|
|
37
|
+
onOpenChange,
|
|
38
|
+
modal,
|
|
39
|
+
children
|
|
40
|
+
}: Readonly<ComboboxProps>): react_jsx_runtime341.JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* Pill-shaped trigger showing the current selection. With no `children`, it
|
|
43
|
+
* renders the selected item's label (or `placeholder` when nothing is
|
|
44
|
+
* selected); pass `children` to fully control the display — e.g. when the
|
|
45
|
+
* selected label comes from data the items haven't mounted with yet.
|
|
46
|
+
*/
|
|
47
|
+
declare function ComboboxTrigger({
|
|
48
|
+
className,
|
|
49
|
+
/** Muted prefix rendered as `label:` before the value (e.g. `Project:`). */
|
|
50
|
+
label,
|
|
51
|
+
/** Muted text shown while nothing is selected. */
|
|
52
|
+
placeholder,
|
|
53
|
+
children,
|
|
16
54
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
|
|
19
|
-
|
|
55
|
+
}: React.ComponentProps<typeof PopoverTrigger> & {
|
|
56
|
+
label?: string;
|
|
57
|
+
placeholder?: string;
|
|
58
|
+
}): react_jsx_runtime341.JSX.Element;
|
|
59
|
+
/** The dropdown panel: a Command (filterable list) inside a PopoverContent. */
|
|
60
|
+
declare function ComboboxContent({
|
|
61
|
+
className,
|
|
62
|
+
align,
|
|
63
|
+
children,
|
|
64
|
+
filter,
|
|
65
|
+
shouldFilter,
|
|
66
|
+
loop,
|
|
20
67
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof
|
|
22
|
-
/**
|
|
23
|
-
declare function
|
|
24
|
-
/** Extra classes merged onto the overlay surface. */
|
|
68
|
+
}: React.ComponentProps<typeof PopoverContent> & Pick<React.ComponentProps<typeof Command>, "filter" | "shouldFilter" | "loop">): react_jsx_runtime341.JSX.Element;
|
|
69
|
+
/** Bordered search field pinned above the list; typing filters the items. */
|
|
70
|
+
declare function ComboboxInput({
|
|
25
71
|
className,
|
|
72
|
+
/** Extra classes for the padded, bottom-bordered section around the field. */
|
|
73
|
+
wrapperClassName,
|
|
26
74
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
75
|
+
}: React.ComponentProps<typeof Command.Input> & {
|
|
76
|
+
wrapperClassName?: string;
|
|
77
|
+
}): react_jsx_runtime341.JSX.Element;
|
|
78
|
+
/** Scrollable container for the option rows. */
|
|
79
|
+
declare function ComboboxList({
|
|
31
80
|
className,
|
|
32
|
-
/** Body of the drawer, typically header/footer plus content. */
|
|
33
|
-
children,
|
|
34
81
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof
|
|
36
|
-
/**
|
|
37
|
-
declare function
|
|
38
|
-
/** Extra classes merged onto the header wrapper. */
|
|
82
|
+
}: React.ComponentProps<typeof CommandList>): react_jsx_runtime341.JSX.Element;
|
|
83
|
+
/** Placeholder row shown when the search matches no items. */
|
|
84
|
+
declare function ComboboxEmpty({
|
|
39
85
|
className,
|
|
40
86
|
...props
|
|
41
|
-
}: React.ComponentProps<
|
|
42
|
-
/**
|
|
43
|
-
declare function
|
|
44
|
-
/** Extra classes merged onto the footer wrapper. */
|
|
87
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime341.JSX.Element;
|
|
88
|
+
/** A labelled group of related options, with an optional `heading`. */
|
|
89
|
+
declare function ComboboxGroup({
|
|
45
90
|
className,
|
|
46
91
|
...props
|
|
47
|
-
}: React.ComponentProps<
|
|
48
|
-
/**
|
|
49
|
-
declare function
|
|
50
|
-
/** Extra classes merged onto the title. */
|
|
92
|
+
}: React.ComponentProps<typeof CommandGroup>): react_jsx_runtime341.JSX.Element;
|
|
93
|
+
/** A thin divider line between option groups. */
|
|
94
|
+
declare function ComboboxSeparator({
|
|
51
95
|
className,
|
|
52
96
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
|
|
97
|
+
}: React.ComponentProps<typeof CommandSeparator>): react_jsx_runtime341.JSX.Element;
|
|
98
|
+
/**
|
|
99
|
+
* A selectable option. `value` is what the combobox reports on selection;
|
|
100
|
+
* search matches the visible text (or explicit `keywords`), not the `value`.
|
|
101
|
+
*/
|
|
102
|
+
declare function ComboboxItem({
|
|
103
|
+
/** The value reported by `onValueChange` when this item is chosen. */
|
|
104
|
+
value,
|
|
105
|
+
/** Extra strings the search should match; defaults to the item's text content. */
|
|
106
|
+
keywords,
|
|
57
107
|
className,
|
|
108
|
+
children,
|
|
109
|
+
onSelect,
|
|
58
110
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof
|
|
111
|
+
}: Omit<React.ComponentProps<typeof CommandItem>, "value"> & {
|
|
112
|
+
value: string;
|
|
113
|
+
}): react_jsx_runtime341.JSX.Element;
|
|
60
114
|
//#endregion
|
|
61
|
-
export {
|
|
115
|
+
export { ComboboxInput as a, ComboboxSeparator as c, ComboboxGroup as i, ComboboxTrigger as l, ComboboxContent as n, ComboboxItem as o, ComboboxEmpty as r, ComboboxList as s, Combobox as t };
|
|
62
116
|
//# sourceMappingURL=index22.d.ts.map
|
package/dist/index22.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index22.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index22.d.ts","names":[],"sources":["../src/primitives/Combobox/Combobox.tsx"],"mappings":";;;;;;;UA6CU,aAAA;;;EAAA;EAwBD,YAAQ,CAAA,EAAA,MAAA;EAAA;eACf,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;;MAEA,CAAA,EAAA,OAAA;;aAEA,CAAA,EAAA,OAAA;;cAEA,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;;OAEU,CAAA,EAAA,OAAA;UAAT,CAAA,EAlBU,KAAA,CAAM,SAkBhB;;AAAuB;AAAA;;;;;iBATjB,QAAA,CAuEP;EAAA,KAAA;EAAA,YAAA;EAAA,aAAA;EAAA,IAAA;EAAA,WAAA;EAAA,YAAA;EAAA,KAAA;EAAA;AAAA,CAAA,EA9DC,QA8DD,CA9DU,aA8DV,CAAA,CAAA,EA9DwB,oBAAA,CAAA,GAAA,CAAA,OA8DxB;;;;AAEuF;AAAA;;iBARhF,eAAA,CA6BP;EAAA,SAAA;;;;aAIA;EAAA,QAAA;EAAA,GAAA;CAAA,EAzBC,KAAA,CAAM,cAyBP,CAAA,OAzB6B,cAyB7B,CAAA,GAAA;OACA,CAAA,EAAA,MAAA;aAE6B,CAAA,EAAA,MAAA;IA5B0D,oBAAA,CAAA,GAAA,CAAA,OA4BhF;;iBARA,eAAA,CASI;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,MAAA;EAAA,YAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EADV,KAAA,CAAM,cACI,CAAA,OADkB,cAClB,CAAA,GAAX,IAAW,CAAN,KAAA,CAAM,cAAA,CAAA,OAAsB,OAAtB,CAAA,EAAA,QAAA,GAAA,cAAA,GAAA,MAAA,CAAA,CAAA,EAA4E,oBAAA,CAAA,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
|
@@ -1,99 +1,96 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
2
|
+
import { ContextMenu } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/** Root provider for a
|
|
7
|
-
declare function
|
|
5
|
+
//#region src/primitives/ContextMenu/ContextMenu.d.ts
|
|
6
|
+
/** Root provider for a right-click context menu; wires the trigger to its portalled content. */
|
|
7
|
+
declare function ContextMenu$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
9
|
+
}: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime97.JSX.Element;
|
|
10
|
+
/** The target region that opens the menu on right-click (context menu). */
|
|
11
|
+
declare function ContextMenuTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
13
|
+
}: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime97.JSX.Element;
|
|
14
|
+
/** Groups related items together for labelling and accessibility. */
|
|
15
|
+
declare function ContextMenuGroup({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/**
|
|
19
|
-
declare function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
}: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime97.JSX.Element;
|
|
18
|
+
/** Portals the menu content into the document body. */
|
|
19
|
+
declare function ContextMenuPortal({
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime97.JSX.Element;
|
|
22
|
+
/** Wraps a nested submenu (pair with `ContextMenuSubTrigger` and `ContextMenuSubContent`). */
|
|
23
|
+
declare function ContextMenuSub({
|
|
23
24
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof
|
|
25
|
-
/** Groups
|
|
26
|
-
declare function
|
|
25
|
+
}: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime97.JSX.Element;
|
|
26
|
+
/** Groups `ContextMenuRadioItem`s into a single-select set. */
|
|
27
|
+
declare function ContextMenuRadioGroup({
|
|
27
28
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof
|
|
29
|
-
/**
|
|
30
|
-
declare function
|
|
29
|
+
}: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime97.JSX.Element;
|
|
30
|
+
/** Item that opens a nested submenu; renders a trailing chevron. */
|
|
31
|
+
declare function ContextMenuSubTrigger({
|
|
31
32
|
className,
|
|
32
|
-
/** Indents the item to align with rows that have a leading icon/indicator. */
|
|
33
33
|
inset,
|
|
34
|
-
|
|
35
|
-
variant,
|
|
34
|
+
children,
|
|
36
35
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof
|
|
36
|
+
}: React.ComponentProps<typeof ContextMenu.SubTrigger> & {
|
|
37
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
38
38
|
inset?: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
declare function DropdownMenuCheckboxItem({
|
|
39
|
+
}): react_jsx_runtime97.JSX.Element;
|
|
40
|
+
/** The popover surface for a nested submenu. */
|
|
41
|
+
declare function ContextMenuSubContent({
|
|
43
42
|
className,
|
|
44
|
-
children,
|
|
45
|
-
/** Whether the checkbox indicator is shown as checked. */
|
|
46
|
-
checked,
|
|
47
43
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof
|
|
49
|
-
/**
|
|
50
|
-
declare function
|
|
51
|
-
...props
|
|
52
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime30.JSX.Element;
|
|
53
|
-
/** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
|
|
54
|
-
declare function DropdownMenuRadioItem({
|
|
44
|
+
}: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime97.JSX.Element;
|
|
45
|
+
/** The portalled popover surface that holds the menu items. */
|
|
46
|
+
declare function ContextMenuContent({
|
|
55
47
|
className,
|
|
56
|
-
children,
|
|
57
48
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof
|
|
59
|
-
/** A
|
|
60
|
-
declare function
|
|
49
|
+
}: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime97.JSX.Element;
|
|
50
|
+
/** A selectable menu item; supports a `destructive` variant and `inset` alignment. */
|
|
51
|
+
declare function ContextMenuItem({
|
|
61
52
|
className,
|
|
62
|
-
/** Indents the label to align with rows that have a leading icon/indicator. */
|
|
63
53
|
inset,
|
|
54
|
+
variant,
|
|
64
55
|
...props
|
|
65
|
-
}: React.ComponentProps<typeof
|
|
56
|
+
}: React.ComponentProps<typeof ContextMenu.Item> & {
|
|
57
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
66
58
|
inset?: boolean;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
/** Visual intent; `destructive` colours the item with the danger palette. */
|
|
60
|
+
variant?: "default" | "destructive";
|
|
61
|
+
}): react_jsx_runtime97.JSX.Element;
|
|
62
|
+
/** A menu item with a toggleable checkmark indicator. */
|
|
63
|
+
declare function ContextMenuCheckboxItem({
|
|
70
64
|
className,
|
|
65
|
+
children,
|
|
66
|
+
checked,
|
|
71
67
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof
|
|
73
|
-
/**
|
|
74
|
-
declare function
|
|
68
|
+
}: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime97.JSX.Element;
|
|
69
|
+
/** A menu item with a radio indicator; use inside `ContextMenuRadioGroup`. */
|
|
70
|
+
declare function ContextMenuRadioItem({
|
|
75
71
|
className,
|
|
72
|
+
children,
|
|
76
73
|
...props
|
|
77
|
-
}: React.ComponentProps<
|
|
78
|
-
/**
|
|
79
|
-
declare function
|
|
80
|
-
...props
|
|
81
|
-
}: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime30.JSX.Element;
|
|
82
|
-
/** The item that opens a nested submenu, shown with a trailing chevron. */
|
|
83
|
-
declare function DropdownMenuSubTrigger({
|
|
74
|
+
}: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime97.JSX.Element;
|
|
75
|
+
/** A non-interactive heading that labels a group of items. */
|
|
76
|
+
declare function ContextMenuLabel({
|
|
84
77
|
className,
|
|
85
|
-
/** Indents the trigger to align with rows that have a leading icon/indicator. */
|
|
86
78
|
inset,
|
|
87
|
-
children,
|
|
88
79
|
...props
|
|
89
|
-
}: React.ComponentProps<typeof
|
|
80
|
+
}: React.ComponentProps<typeof ContextMenu.Label> & {
|
|
81
|
+
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
90
82
|
inset?: boolean;
|
|
91
|
-
}):
|
|
92
|
-
/**
|
|
93
|
-
declare function
|
|
83
|
+
}): react_jsx_runtime97.JSX.Element;
|
|
84
|
+
/** A horizontal divider between groups of items. */
|
|
85
|
+
declare function ContextMenuSeparator({
|
|
86
|
+
className,
|
|
87
|
+
...props
|
|
88
|
+
}: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime97.JSX.Element;
|
|
89
|
+
/** Right-aligned text for a keyboard shortcut hint inside an item. */
|
|
90
|
+
declare function ContextMenuShortcut({
|
|
94
91
|
className,
|
|
95
92
|
...props
|
|
96
|
-
}: React.ComponentProps<
|
|
93
|
+
}: React.ComponentProps<"span">): react_jsx_runtime97.JSX.Element;
|
|
97
94
|
//#endregion
|
|
98
|
-
export {
|
|
95
|
+
export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu$1 as t, ContextMenuSeparator as u };
|
|
99
96
|
//# sourceMappingURL=index23.d.cts.map
|
package/dist/index23.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index23.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index23.d.cts","names":[],"sources":["../src/primitives/ContextMenu/ContextMenu.tsx"],"mappings":";;;;;;iBAQS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AALrD,iBAU3B,kBAAA,CALW;EAAA,GAAA;AAAA,CAAA,EAOjB,KAAA,CAAM,cAPW,CAAA,OAOW,WAAA,CAAqB,OAPhC,CAAA,CAAA,EAOwC,mBAAA,CAAA,GAAA,CAAA,OAPxC;;iBAYX,gBAAA,CAZ2E;EAAA,GAAA;AAAA,CAAA,EAY5C,KAAA,CAAM,cAZsC,CAAA,OAYhB,WAAA,CAAqB,KAZL,CAAA,CAAA,EAYW,mBAAA,CAAA,GAAA,CAAA,OAZX;;iBAiB3E,iBAAA,CAjBgF;EAAA,GAAA;AAAA,CAAA,EAiBhD,KAAA,CAAM,cAjB0C,CAAA,OAiBpB,WAAA,CAAqB,MAjBD,CAAA,CAAA,EAiBQ,mBAAA,CAAA,GAAA,CAAA,OAjBR;AAAA;AAAA,iBAsBhF,cAAA,CAjBkB;EAAA,GAAA;AAAA,CAAA,EAiBW,KAAA,CAAM,cAjBjB,CAAA,OAiBuC,WAAA,CAAqB,GAjB5D,CAAA,CAAA,EAiBgE,mBAAA,CAAA,GAAA,CAAA,OAjBhE;;iBAsBlB,qBAAA,CApB2C;EAAA,GAAA;AAAA,CAAA,EAsBjD,KAAA,CAAM,cAtB2C,CAAA,OAsBrB,WAAA,CAAqB,UAtBA,CAAA,CAAA,EAsBW,mBAAA,CAAA,GAAA,CAAA,OAtBX;;iBA2B3C,qBAAA,CA3BmD;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAgCzD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