@psnext/design-system 2.4.0 → 2.5.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 +27 -4
- package/SKILL.md +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +1 -1
- 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 +13 -2
- 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 +7 -3
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.cts.map +1 -1
- 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/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- 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 +90 -28
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +90 -28
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +28 -56
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +28 -56
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +53 -78
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +53 -78
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +83 -33
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +83 -33
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +43 -11
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +43 -11
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +11 -74
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +11 -74
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +68 -59
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +68 -59
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +47 -30
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +47 -30
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +63 -17
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +63 -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 +29 -80
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +29 -80
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +19 -34
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +19 -34
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +80 -18
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +79 -17
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +32 -51
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +32 -51
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +19 -36
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +19 -36
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +43 -61
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +43 -61
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +35 -11
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +35 -11
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +68 -20
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +68 -20
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +14 -15
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +14 -15
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +22 -98
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +22 -98
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +15 -17
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +15 -17
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +84 -35
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +84 -35
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +118 -38
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +118 -38
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +15 -89
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +15 -89
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +56 -1
- package/dist/index44.d.cts.map +1 -0
- package/dist/index44.d.ts +56 -1
- package/dist/index44.d.ts.map +1 -0
- package/dist/index45.d.cts +31 -34
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +31 -34
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +89 -21
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +89 -21
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +1 -41
- package/dist/index47.d.ts +1 -41
- package/dist/index48.d.cts +122 -20
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +122 -20
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +40 -13
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +40 -13
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +22 -63
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +22 -63
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +33 -55
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +33 -55
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +18 -24
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +18 -24
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +12 -200
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +12 -200
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +58 -15
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +58 -15
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +93 -23
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +93 -23
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +27 -21
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +27 -21
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +203 -6
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +203 -6
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +17 -41
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +17 -41
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +24 -47
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +24 -47
- 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/index60.d.cts +19 -57
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +19 -57
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +6 -39
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +6 -39
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +44 -18
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +44 -18
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +47 -41
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +47 -41
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +55 -15
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +55 -15
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +36 -39
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +36 -39
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +16 -17
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +16 -17
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +38 -84
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +38 -84
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +17 -13
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +17 -13
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +41 -30
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +41 -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/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +17 -28
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +17 -28
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +88 -79
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +88 -79
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +13 -272
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +13 -272
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +37 -0
- package/dist/index73.d.cts.map +1 -0
- package/dist/index73.d.ts +37 -0
- package/dist/index73.d.ts.map +1 -0
- package/dist/index74.d.cts +36 -0
- package/dist/index74.d.cts.map +1 -0
- package/dist/index74.d.ts +36 -0
- package/dist/index74.d.ts.map +1 -0
- package/dist/index75.d.cts +86 -0
- package/dist/index75.d.cts.map +1 -0
- package/dist/index75.d.ts +86 -0
- package/dist/index75.d.ts.map +1 -0
- package/dist/index76.d.cts +278 -0
- package/dist/index76.d.cts.map +1 -0
- package/dist/index76.d.ts +278 -0
- package/dist/index76.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.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- 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/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- 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 +13 -13
- 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.cts.map +1 -1
- 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.cts.map +1 -1
- 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/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.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +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 +13 -2
- package/dist/primitives/index.d.cts +55 -51
- package/dist/primitives/index.d.ts +55 -51
- package/dist/primitives/index.js +7 -3
- package/package.json +1 -1
- package/dist/index47.d.cts.map +0 -1
- package/dist/index47.d.ts.map +0 -1
package/dist/index15.d.cts
CHANGED
|
@@ -1,29 +1,64 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Checkbox } from "radix-ui";
|
|
1
|
+
import * as react_jsx_runtime188 from "react/jsx-runtime";
|
|
3
2
|
import * as React from "react";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
//#region src/primitives/CircularProgress/CircularProgress.d.ts
|
|
5
|
+
declare const indicatorVariants: {
|
|
6
|
+
readonly default: "text-primary-invert-bg";
|
|
7
|
+
readonly brand: "text-brand-500-primary";
|
|
8
|
+
readonly success: "text-success-txt";
|
|
9
|
+
readonly warning: "text-warning-txt";
|
|
10
|
+
readonly info: "text-info-txt";
|
|
11
|
+
readonly destructive: "text-danger-txt";
|
|
12
|
+
readonly analyzing: "text-[var(--progress-analyzing)]";
|
|
13
|
+
readonly ingesting: "text-[var(--progress-ingesting)]";
|
|
14
|
+
};
|
|
15
|
+
type CircularProgressVariant = keyof typeof indicatorVariants;
|
|
16
|
+
type CircularProgressProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
17
|
+
/** Determinate value. Omit for indeterminate/loading state. */
|
|
18
|
+
value?: number;
|
|
19
|
+
/** Lower bound used for ARIA/value normalization. */
|
|
20
|
+
min?: number;
|
|
21
|
+
/** Upper bound used for ARIA/value normalization. */
|
|
22
|
+
max?: number;
|
|
23
|
+
/** Rendered diameter in px. */
|
|
24
|
+
size?: number;
|
|
25
|
+
/** Stroke thickness in px. */
|
|
26
|
+
strokeWidth?: number;
|
|
27
|
+
/** Semantic colour variant for the progress stroke. */
|
|
28
|
+
variant?: CircularProgressVariant;
|
|
29
|
+
/** Semantic colour variant for the track stroke. Defaults to `variant`. */
|
|
30
|
+
trackVariant?: CircularProgressVariant;
|
|
31
|
+
/** Explicit progress stroke colour (CSS colour value). Overrides `variant`. */
|
|
32
|
+
progressColor?: string;
|
|
33
|
+
/** Explicit track stroke colour (CSS colour value). Overrides `trackVariant`. */
|
|
34
|
+
trackColor?: string;
|
|
35
|
+
/** Optional centered label content. */
|
|
36
|
+
label?: React.ReactNode;
|
|
37
|
+
/** Render computed percentage text in the center when determinate. */
|
|
38
|
+
showValueLabel?: boolean;
|
|
39
|
+
/** Accessible text for indeterminate/loading state. */
|
|
40
|
+
indeterminateLabel?: string;
|
|
41
|
+
};
|
|
42
|
+
/** Circular progress indicator supporting determinate and indeterminate states. */
|
|
43
|
+
declare function CircularProgress({
|
|
8
44
|
className,
|
|
45
|
+
value,
|
|
46
|
+
min,
|
|
47
|
+
max,
|
|
48
|
+
size,
|
|
49
|
+
strokeWidth,
|
|
50
|
+
variant,
|
|
51
|
+
trackVariant,
|
|
52
|
+
progressColor,
|
|
53
|
+
trackColor,
|
|
54
|
+
label,
|
|
55
|
+
showValueLabel,
|
|
56
|
+
indeterminateLabel,
|
|
57
|
+
style,
|
|
58
|
+
"aria-label": ariaLabelProp,
|
|
59
|
+
"aria-valuetext": ariaValueTextProp,
|
|
9
60
|
...props
|
|
10
|
-
}:
|
|
11
|
-
/** A bordered card variant of {@link Checkbox} that pairs the control with a title and optional description. */
|
|
12
|
-
declare function RichCheckbox({
|
|
13
|
-
className,
|
|
14
|
-
title,
|
|
15
|
-
description,
|
|
16
|
-
flipped,
|
|
17
|
-
id,
|
|
18
|
-
...props
|
|
19
|
-
}: Omit<React.ComponentProps<typeof Checkbox$1>, "children"> & {
|
|
20
|
-
/** Primary label rendered next to the checkbox. */
|
|
21
|
-
title?: React.ReactNode;
|
|
22
|
-
/** Secondary helper text rendered beneath the title. */
|
|
23
|
-
description?: React.ReactNode;
|
|
24
|
-
/** When true, places the checkbox on the right (row-reverse) instead of the left. */
|
|
25
|
-
flipped?: boolean;
|
|
26
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
61
|
+
}: CircularProgressProps): react_jsx_runtime188.JSX.Element;
|
|
27
62
|
//#endregion
|
|
28
|
-
export {
|
|
63
|
+
export { CircularProgressProps as n, CircularProgressVariant as r, CircularProgress as t };
|
|
29
64
|
//# sourceMappingURL=index15.d.cts.map
|
package/dist/index15.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index15.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index15.d.cts","names":[],"sources":["../src/primitives/CircularProgress/CircularProgress.tsx"],"mappings":";;;;cAIM;;;EAAA,SAAA,OAAA,EAAA,kBASI;EAaL,SAAA,OAAA,EAAA,kBAAuB;EAEvB,SAAA,IAAA,EAAA,eAAqB;EAAA,SAAA,WAAA,EAAA,iBAAA;WAAc,SAAA,EAAA,kCAAA;WAAX,SAAA,EAAA,kCAAA;;KAFxB,uBAAA,GAgBY,MAAA,OAhB2B,iBAgB3B;KAdZ,qBAAA,GAAwB,IAoBb,CApBkB,KAAA,CAAM,cAoBxB,CAAA,KAAA,CAAA,EAAA,UAAA,CAAA,GAAA;EAAS;EAYhB,KAAA,CAAA,EAAA,MAAA;EAAgB;KACvB,CAAA,EAAA,MAAA;;KAEA,CAAA,EAAA,MAAA;;MAEA,CAAA,EAAA,MAAA;;aAEA,CAAA,EAAA,MAAA;;SAEA,CAAA,EA7BU,uBA6BV;;cAEA,CAAA,EA7Be,uBA6Bf;;eAEA,CAAA,EAAA,MAAA;;YAEc,CAAA,EAAA,MAAA;;OAGb,CAAA,EA9BO,KAAA,CAAM,SA8Bb;;EAAqB,cAAA,CAAA,EAAA,OAAA;;;;;iBAlBf,gBAAA;;;;;;;;;;;;;;;gBAeO;oBACI;;GAEjB,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
|
package/dist/index15.d.ts
CHANGED
|
@@ -1,29 +1,64 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import { Checkbox } from "radix-ui";
|
|
2
|
+
import * as react_jsx_runtime281 from "react/jsx-runtime";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
//#region src/primitives/CircularProgress/CircularProgress.d.ts
|
|
5
|
+
declare const indicatorVariants: {
|
|
6
|
+
readonly default: "text-primary-invert-bg";
|
|
7
|
+
readonly brand: "text-brand-500-primary";
|
|
8
|
+
readonly success: "text-success-txt";
|
|
9
|
+
readonly warning: "text-warning-txt";
|
|
10
|
+
readonly info: "text-info-txt";
|
|
11
|
+
readonly destructive: "text-danger-txt";
|
|
12
|
+
readonly analyzing: "text-[var(--progress-analyzing)]";
|
|
13
|
+
readonly ingesting: "text-[var(--progress-ingesting)]";
|
|
14
|
+
};
|
|
15
|
+
type CircularProgressVariant = keyof typeof indicatorVariants;
|
|
16
|
+
type CircularProgressProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
17
|
+
/** Determinate value. Omit for indeterminate/loading state. */
|
|
18
|
+
value?: number;
|
|
19
|
+
/** Lower bound used for ARIA/value normalization. */
|
|
20
|
+
min?: number;
|
|
21
|
+
/** Upper bound used for ARIA/value normalization. */
|
|
22
|
+
max?: number;
|
|
23
|
+
/** Rendered diameter in px. */
|
|
24
|
+
size?: number;
|
|
25
|
+
/** Stroke thickness in px. */
|
|
26
|
+
strokeWidth?: number;
|
|
27
|
+
/** Semantic colour variant for the progress stroke. */
|
|
28
|
+
variant?: CircularProgressVariant;
|
|
29
|
+
/** Semantic colour variant for the track stroke. Defaults to `variant`. */
|
|
30
|
+
trackVariant?: CircularProgressVariant;
|
|
31
|
+
/** Explicit progress stroke colour (CSS colour value). Overrides `variant`. */
|
|
32
|
+
progressColor?: string;
|
|
33
|
+
/** Explicit track stroke colour (CSS colour value). Overrides `trackVariant`. */
|
|
34
|
+
trackColor?: string;
|
|
35
|
+
/** Optional centered label content. */
|
|
36
|
+
label?: React.ReactNode;
|
|
37
|
+
/** Render computed percentage text in the center when determinate. */
|
|
38
|
+
showValueLabel?: boolean;
|
|
39
|
+
/** Accessible text for indeterminate/loading state. */
|
|
40
|
+
indeterminateLabel?: string;
|
|
41
|
+
};
|
|
42
|
+
/** Circular progress indicator supporting determinate and indeterminate states. */
|
|
43
|
+
declare function CircularProgress({
|
|
8
44
|
className,
|
|
45
|
+
value,
|
|
46
|
+
min,
|
|
47
|
+
max,
|
|
48
|
+
size,
|
|
49
|
+
strokeWidth,
|
|
50
|
+
variant,
|
|
51
|
+
trackVariant,
|
|
52
|
+
progressColor,
|
|
53
|
+
trackColor,
|
|
54
|
+
label,
|
|
55
|
+
showValueLabel,
|
|
56
|
+
indeterminateLabel,
|
|
57
|
+
style,
|
|
58
|
+
"aria-label": ariaLabelProp,
|
|
59
|
+
"aria-valuetext": ariaValueTextProp,
|
|
9
60
|
...props
|
|
10
|
-
}:
|
|
11
|
-
/** A bordered card variant of {@link Checkbox} that pairs the control with a title and optional description. */
|
|
12
|
-
declare function RichCheckbox({
|
|
13
|
-
className,
|
|
14
|
-
title,
|
|
15
|
-
description,
|
|
16
|
-
flipped,
|
|
17
|
-
id,
|
|
18
|
-
...props
|
|
19
|
-
}: Omit<React.ComponentProps<typeof Checkbox$1>, "children"> & {
|
|
20
|
-
/** Primary label rendered next to the checkbox. */
|
|
21
|
-
title?: React.ReactNode;
|
|
22
|
-
/** Secondary helper text rendered beneath the title. */
|
|
23
|
-
description?: React.ReactNode;
|
|
24
|
-
/** When true, places the checkbox on the right (row-reverse) instead of the left. */
|
|
25
|
-
flipped?: boolean;
|
|
26
|
-
}): react_jsx_runtime179.JSX.Element;
|
|
61
|
+
}: CircularProgressProps): react_jsx_runtime281.JSX.Element;
|
|
27
62
|
//#endregion
|
|
28
|
-
export {
|
|
63
|
+
export { CircularProgressProps as n, CircularProgressVariant as r, CircularProgress as t };
|
|
29
64
|
//# sourceMappingURL=index15.d.ts.map
|
package/dist/index15.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index15.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index15.d.ts","names":[],"sources":["../src/primitives/CircularProgress/CircularProgress.tsx"],"mappings":";;;;cAIM;;;EAAA,SAAA,OAAA,EAAA,kBASI;EAaL,SAAA,OAAA,EAAA,kBAAuB;EAEvB,SAAA,IAAA,EAAA,eAAqB;EAAA,SAAA,WAAA,EAAA,iBAAA;WAAc,SAAA,EAAA,kCAAA;WAAX,SAAA,EAAA,kCAAA;;KAFxB,uBAAA,GAgBY,MAAA,OAhB2B,iBAgB3B;KAdZ,qBAAA,GAAwB,IAoBb,CApBkB,KAAA,CAAM,cAoBxB,CAAA,KAAA,CAAA,EAAA,UAAA,CAAA,GAAA;EAAS;EAYhB,KAAA,CAAA,EAAA,MAAA;EAAgB;KACvB,CAAA,EAAA,MAAA;;KAEA,CAAA,EAAA,MAAA;;MAEA,CAAA,EAAA,MAAA;;aAEA,CAAA,EAAA,MAAA;;SAEA,CAAA,EA7BU,uBA6BV;;cAEA,CAAA,EA7Be,uBA6Bf;;eAEA,CAAA,EAAA,MAAA;;YAEc,CAAA,EAAA,MAAA;;OAGb,CAAA,EA9BO,KAAA,CAAM,SA8Bb;;EAAqB,cAAA,CAAA,EAAA,OAAA;;;;;iBAlBf,gBAAA;;;;;;;;;;;;;;;gBAeO;oBACI;;GAEjB,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
|
package/dist/index16.d.cts
CHANGED
|
@@ -1,38 +1,29 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime189 from "react/jsx-runtime";
|
|
2
|
+
import { Checkbox } from "radix-ui";
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
/** A
|
|
6
|
-
|
|
7
|
-
/** Stable unique identifier used for selection and expansion tracking. */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Content rendered next to the checkbox. */
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Nested child nodes; presence makes this node a collapsible branch. */
|
|
12
|
-
children?: CheckboxTreeNode[];
|
|
13
|
-
}
|
|
14
|
-
interface CheckboxTreeProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
15
|
-
/** The hierarchical node data to render. */
|
|
16
|
-
nodes: CheckboxTreeNode[];
|
|
17
|
-
/** Selected node ids (controlled). Includes branch ids when fully selected. */
|
|
18
|
-
value: string[];
|
|
19
|
-
/** Called with the next selected ids whenever a node (and its subtree) is toggled. */
|
|
20
|
-
onValueChange?: (value: string[]) => void;
|
|
21
|
-
/** Node ids expanded on first render. */
|
|
22
|
-
defaultExpandedIds?: string[];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* A hierarchical checkbox list with expand/collapse and tri-state
|
|
26
|
-
* (checked / unchecked / indeterminate) propagation across each subtree.
|
|
27
|
-
*/
|
|
28
|
-
declare function CheckboxTree({
|
|
29
|
-
nodes,
|
|
30
|
-
value,
|
|
31
|
-
onValueChange,
|
|
32
|
-
defaultExpandedIds,
|
|
5
|
+
//#region src/primitives/Checkbox/Checkbox.d.ts
|
|
6
|
+
/** A square toggle control built on Radix Checkbox, supporting checked, unchecked, indeterminate, error, and disabled states. */
|
|
7
|
+
declare function Checkbox$1({
|
|
33
8
|
className,
|
|
34
9
|
...props
|
|
35
|
-
}:
|
|
10
|
+
}: React.ComponentProps<typeof Checkbox.Root>): react_jsx_runtime189.JSX.Element;
|
|
11
|
+
/** A bordered card variant of {@link Checkbox} that pairs the control with a title and optional description. */
|
|
12
|
+
declare function RichCheckbox({
|
|
13
|
+
className,
|
|
14
|
+
title,
|
|
15
|
+
description,
|
|
16
|
+
flipped,
|
|
17
|
+
id,
|
|
18
|
+
...props
|
|
19
|
+
}: Omit<React.ComponentProps<typeof Checkbox$1>, "children"> & {
|
|
20
|
+
/** Primary label rendered next to the checkbox. */
|
|
21
|
+
title?: React.ReactNode;
|
|
22
|
+
/** Secondary helper text rendered beneath the title. */
|
|
23
|
+
description?: React.ReactNode;
|
|
24
|
+
/** When true, places the checkbox on the right (row-reverse) instead of the left. */
|
|
25
|
+
flipped?: boolean;
|
|
26
|
+
}): react_jsx_runtime189.JSX.Element;
|
|
36
27
|
//#endregion
|
|
37
|
-
export {
|
|
28
|
+
export { RichCheckbox as n, Checkbox$1 as t };
|
|
38
29
|
//# sourceMappingURL=index16.d.cts.map
|
package/dist/index16.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index16.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index16.d.cts","names":[],"sources":["../src/primitives/Checkbox/Checkbox.tsx"],"mappings":";;;;;;iBASS,UAAA;;;GAAkC,KAAA,CAAM,sBAAsB,QAAA,CAAkB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAL1D,iBA6C3B,YAAA,CAxCQ;EAAA,SAAA;EAAA,KAAA;EAAA,WAAA;EAAA,OAAA;EAAA,EAAA;EAAA,GAAA;AAA6E,CAA7E,EA+Cd,IA/Cc,CA+CT,KAAA,CAAM,cA/CG,CAAA,OA+CmB,UA/CnB,CAAA,EAAA,UAAA,CAAA,GAAA;EAAA;OAAG,CAAA,EAiDV,KAAA,CAAM,SAjDI;;aAA6B,CAAA,EAmDjC,KAAA,CAAM,SAnD2B;;EAA6C,OAAA,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EAsD7F,oBAAA,CAAA,GAAA,CAAA,OAdoB"}
|
package/dist/index16.d.ts
CHANGED
|
@@ -1,38 +1,29 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime172 from "react/jsx-runtime";
|
|
3
|
+
import { Checkbox } from "radix-ui";
|
|
3
4
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
/** A
|
|
6
|
-
|
|
7
|
-
/** Stable unique identifier used for selection and expansion tracking. */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Content rendered next to the checkbox. */
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Nested child nodes; presence makes this node a collapsible branch. */
|
|
12
|
-
children?: CheckboxTreeNode[];
|
|
13
|
-
}
|
|
14
|
-
interface CheckboxTreeProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
15
|
-
/** The hierarchical node data to render. */
|
|
16
|
-
nodes: CheckboxTreeNode[];
|
|
17
|
-
/** Selected node ids (controlled). Includes branch ids when fully selected. */
|
|
18
|
-
value: string[];
|
|
19
|
-
/** Called with the next selected ids whenever a node (and its subtree) is toggled. */
|
|
20
|
-
onValueChange?: (value: string[]) => void;
|
|
21
|
-
/** Node ids expanded on first render. */
|
|
22
|
-
defaultExpandedIds?: string[];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* A hierarchical checkbox list with expand/collapse and tri-state
|
|
26
|
-
* (checked / unchecked / indeterminate) propagation across each subtree.
|
|
27
|
-
*/
|
|
28
|
-
declare function CheckboxTree({
|
|
29
|
-
nodes,
|
|
30
|
-
value,
|
|
31
|
-
onValueChange,
|
|
32
|
-
defaultExpandedIds,
|
|
5
|
+
//#region src/primitives/Checkbox/Checkbox.d.ts
|
|
6
|
+
/** A square toggle control built on Radix Checkbox, supporting checked, unchecked, indeterminate, error, and disabled states. */
|
|
7
|
+
declare function Checkbox$1({
|
|
33
8
|
className,
|
|
34
9
|
...props
|
|
35
|
-
}:
|
|
10
|
+
}: React.ComponentProps<typeof Checkbox.Root>): react_jsx_runtime172.JSX.Element;
|
|
11
|
+
/** A bordered card variant of {@link Checkbox} that pairs the control with a title and optional description. */
|
|
12
|
+
declare function RichCheckbox({
|
|
13
|
+
className,
|
|
14
|
+
title,
|
|
15
|
+
description,
|
|
16
|
+
flipped,
|
|
17
|
+
id,
|
|
18
|
+
...props
|
|
19
|
+
}: Omit<React.ComponentProps<typeof Checkbox$1>, "children"> & {
|
|
20
|
+
/** Primary label rendered next to the checkbox. */
|
|
21
|
+
title?: React.ReactNode;
|
|
22
|
+
/** Secondary helper text rendered beneath the title. */
|
|
23
|
+
description?: React.ReactNode;
|
|
24
|
+
/** When true, places the checkbox on the right (row-reverse) instead of the left. */
|
|
25
|
+
flipped?: boolean;
|
|
26
|
+
}): react_jsx_runtime172.JSX.Element;
|
|
36
27
|
//#endregion
|
|
37
|
-
export {
|
|
28
|
+
export { RichCheckbox as n, Checkbox$1 as t };
|
|
38
29
|
//# sourceMappingURL=index16.d.ts.map
|
package/dist/index16.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index16.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index16.d.ts","names":[],"sources":["../src/primitives/Checkbox/Checkbox.tsx"],"mappings":";;;;;;iBASS,UAAA;;;GAAkC,KAAA,CAAM,sBAAsB,QAAA,CAAkB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAL1D,iBA6C3B,YAAA,CAxCQ;EAAA,SAAA;EAAA,KAAA;EAAA,WAAA;EAAA,OAAA;EAAA,EAAA;EAAA,GAAA;AAA6E,CAA7E,EA+Cd,IA/Cc,CA+CT,KAAA,CAAM,cA/CG,CAAA,OA+CmB,UA/CnB,CAAA,EAAA,UAAA,CAAA,GAAA;EAAA;OAAG,CAAA,EAiDV,KAAA,CAAM,SAjDI;;aAA6B,CAAA,EAmDjC,KAAA,CAAM,SAnD2B;;EAA6C,OAAA,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EAsD7F,oBAAA,CAAA,GAAA,CAAA,OAdoB"}
|
package/dist/index17.d.cts
CHANGED
|
@@ -1,19 +1,38 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime333 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
/**
|
|
6
|
-
|
|
4
|
+
//#region src/primitives/CheckboxTree/CheckboxTree.d.ts
|
|
5
|
+
/** A single node in the tree: a stable id, a label, and optional children. */
|
|
6
|
+
interface CheckboxTreeNode {
|
|
7
|
+
/** Stable unique identifier used for selection and expansion tracking. */
|
|
8
|
+
id: string;
|
|
9
|
+
/** Content rendered next to the checkbox. */
|
|
10
|
+
label: React.ReactNode;
|
|
11
|
+
/** Nested child nodes; presence makes this node a collapsible branch. */
|
|
12
|
+
children?: CheckboxTreeNode[];
|
|
13
|
+
}
|
|
14
|
+
interface CheckboxTreeProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
15
|
+
/** The hierarchical node data to render. */
|
|
16
|
+
nodes: CheckboxTreeNode[];
|
|
17
|
+
/** Selected node ids (controlled). Includes branch ids when fully selected. */
|
|
18
|
+
value: string[];
|
|
19
|
+
/** Called with the next selected ids whenever a node (and its subtree) is toggled. */
|
|
20
|
+
onValueChange?: (value: string[]) => void;
|
|
21
|
+
/** Node ids expanded on first render. */
|
|
22
|
+
defaultExpandedIds?: string[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A hierarchical checkbox list with expand/collapse and tri-state
|
|
26
|
+
* (checked / unchecked / indeterminate) propagation across each subtree.
|
|
27
|
+
*/
|
|
28
|
+
declare function CheckboxTree({
|
|
29
|
+
nodes,
|
|
30
|
+
value,
|
|
31
|
+
onValueChange,
|
|
32
|
+
defaultExpandedIds,
|
|
33
|
+
className,
|
|
7
34
|
...props
|
|
8
|
-
}:
|
|
9
|
-
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
|
-
declare function CollapsibleTrigger({
|
|
11
|
-
...props
|
|
12
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime0.JSX.Element;
|
|
13
|
-
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
|
-
declare function CollapsibleContent({
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime0.JSX.Element;
|
|
35
|
+
}: CheckboxTreeProps): react_jsx_runtime333.JSX.Element;
|
|
17
36
|
//#endregion
|
|
18
|
-
export {
|
|
37
|
+
export { CheckboxTreeNode as n, CheckboxTree as t };
|
|
19
38
|
//# sourceMappingURL=index17.d.cts.map
|
package/dist/index17.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index17.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index17.d.cts","names":[],"sources":["../src/primitives/CheckboxTree/CheckboxTree.tsx"],"mappings":";;;;;UAgBiB,gBAAA;;EAAA,EAAA,EAAA,MAAA;EAAgB;OAIxB,EAAA,KAAA,CAAM,SAAA;;EAEc,QAAA,CAAA,EAAhB,gBAAgB,EAAA;AAC5B;UAmBS,iBAAA,SAA0B,IAAR,CAAa,KAAA,CAAM,cAAnB,CAAA,KAAA,CAAA,EAAA,UAAA,CAAA,CAAA;;OAEnB,EAAA,gBAAA,EAAA;;EAF+B,KAAA,EAAA,MAAA,EAAA;EAe/B;EAAY,aAAA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;;oBAEnB,CAAA,EAAA,MAAA,EAAA;;;;;;AAKkB,iBAPX,YAAA,CAOW;EAAA,KAAA;EAAA,KAAA;EAAA,aAAA;EAAA,kBAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAAjB,iBAAiB,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/index17.d.ts
CHANGED
|
@@ -1,19 +1,38 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime171 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
/**
|
|
6
|
-
|
|
4
|
+
//#region src/primitives/CheckboxTree/CheckboxTree.d.ts
|
|
5
|
+
/** A single node in the tree: a stable id, a label, and optional children. */
|
|
6
|
+
interface CheckboxTreeNode {
|
|
7
|
+
/** Stable unique identifier used for selection and expansion tracking. */
|
|
8
|
+
id: string;
|
|
9
|
+
/** Content rendered next to the checkbox. */
|
|
10
|
+
label: React.ReactNode;
|
|
11
|
+
/** Nested child nodes; presence makes this node a collapsible branch. */
|
|
12
|
+
children?: CheckboxTreeNode[];
|
|
13
|
+
}
|
|
14
|
+
interface CheckboxTreeProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
15
|
+
/** The hierarchical node data to render. */
|
|
16
|
+
nodes: CheckboxTreeNode[];
|
|
17
|
+
/** Selected node ids (controlled). Includes branch ids when fully selected. */
|
|
18
|
+
value: string[];
|
|
19
|
+
/** Called with the next selected ids whenever a node (and its subtree) is toggled. */
|
|
20
|
+
onValueChange?: (value: string[]) => void;
|
|
21
|
+
/** Node ids expanded on first render. */
|
|
22
|
+
defaultExpandedIds?: string[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A hierarchical checkbox list with expand/collapse and tri-state
|
|
26
|
+
* (checked / unchecked / indeterminate) propagation across each subtree.
|
|
27
|
+
*/
|
|
28
|
+
declare function CheckboxTree({
|
|
29
|
+
nodes,
|
|
30
|
+
value,
|
|
31
|
+
onValueChange,
|
|
32
|
+
defaultExpandedIds,
|
|
33
|
+
className,
|
|
7
34
|
...props
|
|
8
|
-
}:
|
|
9
|
-
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
|
-
declare function CollapsibleTrigger({
|
|
11
|
-
...props
|
|
12
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime169.JSX.Element;
|
|
13
|
-
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
|
-
declare function CollapsibleContent({
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime169.JSX.Element;
|
|
35
|
+
}: CheckboxTreeProps): react_jsx_runtime171.JSX.Element;
|
|
17
36
|
//#endregion
|
|
18
|
-
export {
|
|
37
|
+
export { CheckboxTreeNode as n, CheckboxTree as t };
|
|
19
38
|
//# sourceMappingURL=index17.d.ts.map
|
package/dist/index17.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index17.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index17.d.ts","names":[],"sources":["../src/primitives/CheckboxTree/CheckboxTree.tsx"],"mappings":";;;;;UAgBiB,gBAAA;;EAAA,EAAA,EAAA,MAAA;EAAgB;OAIxB,EAAA,KAAA,CAAM,SAAA;;EAEc,QAAA,CAAA,EAAhB,gBAAgB,EAAA;AAC5B;UAmBS,iBAAA,SAA0B,IAAR,CAAa,KAAA,CAAM,cAAnB,CAAA,KAAA,CAAA,EAAA,UAAA,CAAA,CAAA;;OAEnB,EAAA,gBAAA,EAAA;;EAF+B,KAAA,EAAA,MAAA,EAAA;EAe/B;EAAY,aAAA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;;oBAEnB,CAAA,EAAA,MAAA,EAAA;;;;;;AAKkB,iBAPX,YAAA,CAOW;EAAA,KAAA;EAAA,KAAA;EAAA,aAAA;EAAA,kBAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAAjB,iBAAiB,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/index18.d.cts
CHANGED
|
@@ -1,73 +1,19 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as React from "react";
|
|
1
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
2
|
+
import { Collapsible } from "radix-ui";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
4
|
+
//#region src/primitives/Collapsible/Collapsible.d.ts
|
|
5
|
+
/** Root of an interactive panel that shows or hides its content when the trigger is toggled. */
|
|
6
|
+
declare function Collapsible$1({
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
8
|
+
}: React.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime143.JSX.Element;
|
|
9
|
+
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
|
+
declare function CollapsibleTrigger({
|
|
12
11
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
12
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime143.JSX.Element;
|
|
13
|
+
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
|
+
declare function CollapsibleContent({
|
|
16
15
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/** Element that closes the dialog when activated. */
|
|
19
|
-
declare function DialogClose({
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime175.JSX.Element;
|
|
22
|
-
/** Dimmed backdrop rendered behind the dialog content. */
|
|
23
|
-
declare function DialogOverlay({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime175.JSX.Element;
|
|
27
|
-
declare const dialogSizes: {
|
|
28
|
-
readonly sm: "sm:max-w-sm";
|
|
29
|
-
readonly default: "sm:max-w-lg";
|
|
30
|
-
readonly lg: "sm:max-w-2xl";
|
|
31
|
-
readonly xl: "sm:max-w-4xl";
|
|
32
|
-
};
|
|
33
|
-
/** The dialog panel: centered, animated content with overlay and optional close button. */
|
|
34
|
-
declare function DialogContent({
|
|
35
|
-
className,
|
|
36
|
-
children,
|
|
37
|
-
size,
|
|
38
|
-
showCloseButton,
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
41
|
-
/** Width preset for the panel. */
|
|
42
|
-
size?: keyof typeof dialogSizes;
|
|
43
|
-
/** Whether to render the top-right "X" close button. */
|
|
44
|
-
showCloseButton?: boolean;
|
|
45
|
-
}): react_jsx_runtime175.JSX.Element;
|
|
46
|
-
/** Top section of the dialog, holds the title and description. */
|
|
47
|
-
declare function DialogHeader({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: React.ComponentProps<"div">): react_jsx_runtime175.JSX.Element;
|
|
51
|
-
/** Bottom action row of the dialog, with an optional built-in Close button. */
|
|
52
|
-
declare function DialogFooter({
|
|
53
|
-
className,
|
|
54
|
-
showCloseButton,
|
|
55
|
-
children,
|
|
56
|
-
...props
|
|
57
|
-
}: React.ComponentProps<"div"> & {
|
|
58
|
-
/** Whether to append a built-in outline "Close" button after the children. */
|
|
59
|
-
showCloseButton?: boolean;
|
|
60
|
-
}): react_jsx_runtime175.JSX.Element;
|
|
61
|
-
/** Accessible heading for the dialog (announced to screen readers). */
|
|
62
|
-
declare function DialogTitle({
|
|
63
|
-
className,
|
|
64
|
-
...props
|
|
65
|
-
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime175.JSX.Element;
|
|
66
|
-
/** Supporting text beneath the dialog title (linked for assistive tech). */
|
|
67
|
-
declare function DialogDescription({
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime175.JSX.Element;
|
|
16
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime143.JSX.Element;
|
|
71
17
|
//#endregion
|
|
72
|
-
export {
|
|
18
|
+
export { CollapsibleContent as n, CollapsibleTrigger as r, Collapsible$1 as t };
|
|
73
19
|
//# sourceMappingURL=index18.d.cts.map
|
package/dist/index18.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index18.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index18.d.cts","names":[],"sources":["../src/primitives/Collapsible/Collapsible.tsx"],"mappings":";;;;;iBAGS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAH1B,iBAQtD,kBAAA,CALW;EAAA,GAAA;AAAA,CAAA,EAOjB,KAAA,CAAM,cAPW,CAAA,OAOW,WAAA,CAAqB,kBAPhC,CAAA,CAAA,EAOmD,oBAAA,CAAA,GAAA,CAAA,OAPnD;;iBAYX,kBAAA,CAZ2E;EAAA,GAAA;AAAA,CAAA,EAcjF,KAAA,CAAM,cAd2E,CAAA,OAcrD,WAAA,CAAqB,kBAdgC,CAAA,CAAA,EAcb,oBAAA,CAAA,GAAA,CAAA,OAda"}
|
package/dist/index18.d.ts
CHANGED
|
@@ -1,73 +1,19 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import { Dialog } from "radix-ui";
|
|
1
|
+
import * as react_jsx_runtime167 from "react/jsx-runtime";
|
|
2
|
+
import { Collapsible } from "radix-ui";
|
|
4
3
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
/**
|
|
7
|
-
declare function
|
|
4
|
+
//#region src/primitives/Collapsible/Collapsible.d.ts
|
|
5
|
+
/** Root of an interactive panel that shows or hides its content when the trigger is toggled. */
|
|
6
|
+
declare function Collapsible$1({
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
8
|
+
}: React.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime167.JSX.Element;
|
|
9
|
+
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
|
+
declare function CollapsibleTrigger({
|
|
12
11
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof
|
|
14
|
-
/**
|
|
15
|
-
declare function
|
|
12
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime167.JSX.Element;
|
|
13
|
+
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
|
+
declare function CollapsibleContent({
|
|
16
15
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof
|
|
18
|
-
/** Element that closes the dialog when activated. */
|
|
19
|
-
declare function DialogClose({
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime186.JSX.Element;
|
|
22
|
-
/** Dimmed backdrop rendered behind the dialog content. */
|
|
23
|
-
declare function DialogOverlay({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime186.JSX.Element;
|
|
27
|
-
declare const dialogSizes: {
|
|
28
|
-
readonly sm: "sm:max-w-sm";
|
|
29
|
-
readonly default: "sm:max-w-lg";
|
|
30
|
-
readonly lg: "sm:max-w-2xl";
|
|
31
|
-
readonly xl: "sm:max-w-4xl";
|
|
32
|
-
};
|
|
33
|
-
/** The dialog panel: centered, animated content with overlay and optional close button. */
|
|
34
|
-
declare function DialogContent({
|
|
35
|
-
className,
|
|
36
|
-
children,
|
|
37
|
-
size,
|
|
38
|
-
showCloseButton,
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
41
|
-
/** Width preset for the panel. */
|
|
42
|
-
size?: keyof typeof dialogSizes;
|
|
43
|
-
/** Whether to render the top-right "X" close button. */
|
|
44
|
-
showCloseButton?: boolean;
|
|
45
|
-
}): react_jsx_runtime186.JSX.Element;
|
|
46
|
-
/** Top section of the dialog, holds the title and description. */
|
|
47
|
-
declare function DialogHeader({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: React.ComponentProps<"div">): react_jsx_runtime186.JSX.Element;
|
|
51
|
-
/** Bottom action row of the dialog, with an optional built-in Close button. */
|
|
52
|
-
declare function DialogFooter({
|
|
53
|
-
className,
|
|
54
|
-
showCloseButton,
|
|
55
|
-
children,
|
|
56
|
-
...props
|
|
57
|
-
}: React.ComponentProps<"div"> & {
|
|
58
|
-
/** Whether to append a built-in outline "Close" button after the children. */
|
|
59
|
-
showCloseButton?: boolean;
|
|
60
|
-
}): react_jsx_runtime186.JSX.Element;
|
|
61
|
-
/** Accessible heading for the dialog (announced to screen readers). */
|
|
62
|
-
declare function DialogTitle({
|
|
63
|
-
className,
|
|
64
|
-
...props
|
|
65
|
-
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime186.JSX.Element;
|
|
66
|
-
/** Supporting text beneath the dialog title (linked for assistive tech). */
|
|
67
|
-
declare function DialogDescription({
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime186.JSX.Element;
|
|
16
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime167.JSX.Element;
|
|
71
17
|
//#endregion
|
|
72
|
-
export {
|
|
18
|
+
export { CollapsibleContent as n, CollapsibleTrigger as r, Collapsible$1 as t };
|
|
73
19
|
//# sourceMappingURL=index18.d.ts.map
|