@psnext/design-system 2.3.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 +493 -8
- package/README.md +3 -3
- package/SKILL.md +84 -6
- package/bin/install-agent-skill.mjs +39 -7
- package/dist/Header.cjs +152 -21
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +152 -21
- package/dist/Header.js.map +1 -1
- package/dist/Icon.cjs +40 -8
- package/dist/Icon.cjs.map +1 -1
- package/dist/Icon.js +40 -8
- package/dist/Icon.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/MultiColumn.cjs +354 -0
- package/dist/MultiColumn.cjs.map +1 -0
- package/dist/MultiColumn.js +335 -0
- package/dist/MultiColumn.js.map +1 -0
- package/dist/Sidebar.cjs +4 -3
- package/dist/Sidebar.cjs.map +1 -1
- package/dist/Sidebar.js +4 -3
- package/dist/Sidebar.js.map +1 -1
- package/dist/index.cjs +18 -3
- 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.d.ts.map +1 -1
- package/dist/index.js +9 -4
- 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.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +12 -12
- 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/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.ts +9 -9
- 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.ts +13 -13
- package/dist/index30.d.cts +29 -51
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +30 -52
- 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 +33 -52
- 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 +44 -62
- 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 +69 -21
- 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/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 +6 -6
- 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 +54 -14
- 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 +37 -40
- 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 +17 -18
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +40 -14
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +40 -14
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +16 -30
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +17 -31
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +39 -27
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +40 -28
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +22 -78
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +22 -78
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +77 -251
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +77 -251
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +19 -0
- package/dist/index72.d.cts.map +1 -0
- package/dist/index72.d.ts +19 -0
- package/dist/index72.d.ts.map +1 -0
- 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.ts +5 -5
- 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.cjs +2 -1
- package/dist/layouts/Container/index.cjs.map +1 -1
- package/dist/layouts/Container/index.d.cts +1 -1
- package/dist/layouts/Container/index.d.ts +1 -1
- package/dist/layouts/Container/index.js +1 -1
- package/dist/layouts/MultiColumn/index.cjs +5 -0
- package/dist/layouts/MultiColumn/index.d.cts +2 -0
- package/dist/layouts/MultiColumn/index.d.ts +2 -0
- package/dist/layouts/MultiColumn/index.js +2 -0
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.cjs +2 -1
- package/dist/layouts/Stack/index.cjs.map +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/Stack/index.js +1 -1
- package/dist/layouts/TwoColumn/index.cjs +2 -1
- package/dist/layouts/TwoColumn/index.cjs.map +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.js +1 -1
- package/dist/layouts/index.cjs +4 -0
- package/dist/layouts/index.d.cts +6 -5
- package/dist/layouts/index.d.ts +6 -5
- package/dist/layouts/index.js +2 -1
- package/dist/patterns/DataTable/index.cjs +6 -2
- package/dist/patterns/DataTable/index.cjs.map +1 -1
- 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/DataTable/index.js +6 -2
- package/dist/patterns/DataTable/index.js.map +1 -1
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.cts.map +1 -1
- 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.cjs +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 +12 -12
- package/dist/patterns/MediaObject/index.js +1 -1
- package/dist/patterns/NavRail/index.cjs +4 -2
- package/dist/patterns/NavRail/index.cjs.map +1 -1
- package/dist/patterns/NavRail/index.d.cts +1 -1
- package/dist/patterns/NavRail/index.d.ts +1 -1
- package/dist/patterns/NavRail/index.js +4 -2
- package/dist/patterns/NavRail/index.js.map +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/Accordion/index.cjs +6 -2
- package/dist/primitives/Accordion/index.cjs.map +1 -1
- package/dist/primitives/Accordion/index.js +6 -2
- package/dist/primitives/Accordion/index.js.map +1 -1
- package/dist/primitives/Alert/index.cjs +2 -1
- package/dist/primitives/Alert/index.cjs.map +1 -1
- package/dist/primitives/Alert/index.js +1 -1
- package/dist/primitives/AlertDialog/index.cjs +1 -1
- package/dist/primitives/AlertDialog/index.js +1 -1
- package/dist/primitives/AspectRatio/index.cjs +1 -1
- package/dist/primitives/AspectRatio/index.js +1 -1
- package/dist/primitives/Avatar/index.cjs +1 -1
- package/dist/primitives/Avatar/index.js +1 -1
- package/dist/primitives/Badge/index.cjs +3 -2
- package/dist/primitives/Badge/index.cjs.map +1 -1
- package/dist/primitives/Badge/index.js +2 -2
- package/dist/primitives/Breadcrumb/index.cjs +7 -3
- package/dist/primitives/Breadcrumb/index.cjs.map +1 -1
- package/dist/primitives/Breadcrumb/index.js +7 -3
- package/dist/primitives/Breadcrumb/index.js.map +1 -1
- package/dist/primitives/Button/index.cjs +3 -2
- package/dist/primitives/Button/index.cjs.map +1 -1
- package/dist/primitives/Button/index.js +2 -2
- package/dist/primitives/ButtonGroup/index.cjs +3 -2
- package/dist/primitives/ButtonGroup/index.cjs.map +1 -1
- package/dist/primitives/ButtonGroup/index.js +2 -2
- package/dist/primitives/Calendar/index.cjs +12 -11
- package/dist/primitives/Calendar/index.cjs.map +1 -1
- package/dist/primitives/Calendar/index.js +12 -11
- package/dist/primitives/Calendar/index.js.map +1 -1
- package/dist/primitives/Card/index.cjs +2 -1
- package/dist/primitives/Card/index.cjs.map +1 -1
- package/dist/primitives/Card/index.js +1 -1
- package/dist/primitives/Carousel/index.cjs +4 -3
- package/dist/primitives/Carousel/index.cjs.map +1 -1
- package/dist/primitives/Carousel/index.js +4 -3
- package/dist/primitives/Carousel/index.js.map +1 -1
- package/dist/primitives/Checkbox/index.cjs +10 -3
- 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 +10 -3
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/CheckboxTree/index.cjs +6 -2
- package/dist/primitives/CheckboxTree/index.cjs.map +1 -1
- package/dist/primitives/CheckboxTree/index.d.cts +1 -1
- package/dist/primitives/CheckboxTree/index.d.ts +1 -1
- package/dist/primitives/CheckboxTree/index.js +6 -2
- package/dist/primitives/CheckboxTree/index.js.map +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.cjs +1 -1
- package/dist/primitives/Collapsible/index.d.cts +1 -1
- package/dist/primitives/Collapsible/index.d.ts +1 -1
- package/dist/primitives/Collapsible/index.js +1 -1
- package/dist/primitives/Command/index.cjs +6 -2
- package/dist/primitives/Command/index.cjs.map +1 -1
- package/dist/primitives/Command/index.d.cts +1 -1
- package/dist/primitives/Command/index.d.ts +1 -1
- package/dist/primitives/Command/index.js +6 -2
- package/dist/primitives/Command/index.js.map +1 -1
- package/dist/primitives/ContextMenu/index.cjs +14 -4
- package/dist/primitives/ContextMenu/index.cjs.map +1 -1
- package/dist/primitives/ContextMenu/index.d.cts +1 -1
- package/dist/primitives/ContextMenu/index.d.ts +1 -1
- package/dist/primitives/ContextMenu/index.js +14 -4
- package/dist/primitives/ContextMenu/index.js.map +1 -1
- package/dist/primitives/Credits/index.cjs +8 -3
- package/dist/primitives/Credits/index.cjs.map +1 -1
- package/dist/primitives/Credits/index.d.cts +1 -1
- package/dist/primitives/Credits/index.d.ts +1 -1
- package/dist/primitives/Credits/index.js +7 -3
- package/dist/primitives/Credits/index.js.map +1 -1
- package/dist/primitives/Dialog/index.cjs +3 -2
- package/dist/primitives/Dialog/index.cjs.map +1 -1
- package/dist/primitives/Dialog/index.d.cts +1 -1
- package/dist/primitives/Dialog/index.d.ts +1 -1
- package/dist/primitives/Dialog/index.js +3 -2
- package/dist/primitives/Dialog/index.js.map +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.cjs +14 -4
- package/dist/primitives/DropdownMenu/index.cjs.map +1 -1
- package/dist/primitives/DropdownMenu/index.d.cts +1 -1
- package/dist/primitives/DropdownMenu/index.d.ts +1 -1
- package/dist/primitives/DropdownMenu/index.js +14 -4
- package/dist/primitives/DropdownMenu/index.js.map +1 -1
- package/dist/primitives/Empty/index.cjs +1 -1
- package/dist/primitives/Empty/index.d.cts +1 -1
- package/dist/primitives/Empty/index.d.ts +1 -1
- package/dist/primitives/Empty/index.js +1 -1
- package/dist/primitives/Field/index.cjs +1 -1
- package/dist/primitives/Field/index.d.cts +1 -1
- package/dist/primitives/Field/index.d.ts +1 -1
- package/dist/primitives/Field/index.js +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.cjs +1 -1
- package/dist/primitives/Form/index.d.cts +1 -1
- package/dist/primitives/Form/index.d.ts +1 -1
- package/dist/primitives/Form/index.js +1 -1
- package/dist/primitives/Heading/index.cjs +2 -1
- package/dist/primitives/Heading/index.cjs.map +1 -1
- package/dist/primitives/Heading/index.d.cts +1 -1
- package/dist/primitives/Heading/index.d.ts +1 -1
- package/dist/primitives/Heading/index.js +1 -1
- package/dist/primitives/HoverCard/index.cjs +1 -1
- package/dist/primitives/HoverCard/index.d.cts +1 -1
- package/dist/primitives/HoverCard/index.d.ts +1 -1
- package/dist/primitives/HoverCard/index.js +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.cjs +6 -3
- package/dist/primitives/InfoBanner/index.cjs.map +1 -1
- package/dist/primitives/InfoBanner/index.d.cts +1 -1
- package/dist/primitives/InfoBanner/index.d.ts +1 -1
- package/dist/primitives/InfoBanner/index.js +5 -3
- package/dist/primitives/InfoBanner/index.js.map +1 -1
- package/dist/primitives/Input/index.cjs +2 -1
- package/dist/primitives/Input/index.cjs.map +1 -1
- package/dist/primitives/Input/index.d.cts +1 -1
- package/dist/primitives/Input/index.d.ts +1 -1
- package/dist/primitives/Input/index.js +1 -1
- package/dist/primitives/InputGroup/index.cjs +1 -1
- package/dist/primitives/InputGroup/index.d.cts +1 -1
- package/dist/primitives/InputGroup/index.d.ts +1 -1
- package/dist/primitives/InputGroup/index.js +1 -1
- package/dist/primitives/InputOtp/index.cjs +3 -2
- package/dist/primitives/InputOtp/index.cjs.map +1 -1
- package/dist/primitives/InputOtp/index.d.cts +1 -1
- package/dist/primitives/InputOtp/index.d.ts +1 -1
- package/dist/primitives/InputOtp/index.js +3 -2
- package/dist/primitives/InputOtp/index.js.map +1 -1
- package/dist/primitives/Item/index.cjs +2 -2
- package/dist/primitives/Item/index.d.cts +1 -1
- package/dist/primitives/Item/index.d.ts +1 -1
- package/dist/primitives/Item/index.js +2 -2
- package/dist/primitives/Kbd/index.d.cts +1 -1
- package/dist/primitives/Kbd/index.d.ts +1 -1
- package/dist/primitives/Label/index.cjs +1 -1
- package/dist/primitives/Label/index.d.cts +1 -1
- package/dist/primitives/Label/index.d.ts +1 -1
- package/dist/primitives/Label/index.js +1 -1
- package/dist/primitives/Link/index.cjs +3 -2
- package/dist/primitives/Link/index.cjs.map +1 -1
- package/dist/primitives/Link/index.d.cts +1 -1
- package/dist/primitives/Link/index.d.ts +1 -1
- package/dist/primitives/Link/index.js +2 -2
- package/dist/primitives/Logo/index.d.cts +1 -1
- package/dist/primitives/Logo/index.d.ts +1 -1
- package/dist/primitives/Menubar/index.cjs +14 -4
- package/dist/primitives/Menubar/index.cjs.map +1 -1
- package/dist/primitives/Menubar/index.d.cts +1 -1
- package/dist/primitives/Menubar/index.d.ts +1 -1
- package/dist/primitives/Menubar/index.js +14 -4
- package/dist/primitives/Menubar/index.js.map +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.cjs +6 -3
- package/dist/primitives/NativeSelect/index.cjs.map +1 -1
- package/dist/primitives/NativeSelect/index.d.cts +1 -1
- package/dist/primitives/NativeSelect/index.d.ts +1 -1
- package/dist/primitives/NativeSelect/index.js +5 -3
- package/dist/primitives/NativeSelect/index.js.map +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.cjs +5 -3
- package/dist/primitives/NavigationMenu/index.cjs.map +1 -1
- package/dist/primitives/NavigationMenu/index.d.cts +1 -1
- package/dist/primitives/NavigationMenu/index.d.ts +1 -1
- package/dist/primitives/NavigationMenu/index.js +5 -3
- package/dist/primitives/NavigationMenu/index.js.map +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.cjs +6 -2
- package/dist/primitives/Pagination/index.cjs.map +1 -1
- package/dist/primitives/Pagination/index.d.cts +1 -1
- package/dist/primitives/Pagination/index.d.ts +1 -1
- package/dist/primitives/Pagination/index.js +6 -2
- package/dist/primitives/Pagination/index.js.map +1 -1
- package/dist/primitives/Popover/index.cjs +1 -1
- package/dist/primitives/Popover/index.d.cts +1 -1
- package/dist/primitives/Popover/index.d.ts +1 -1
- package/dist/primitives/Popover/index.js +1 -1
- package/dist/primitives/Progress/index.cjs +1 -1
- package/dist/primitives/Progress/index.d.cts +1 -1
- package/dist/primitives/Progress/index.d.ts +1 -1
- package/dist/primitives/Progress/index.js +1 -1
- package/dist/primitives/RadioGroup/index.cjs +7 -3
- 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 +7 -3
- package/dist/primitives/RadioGroup/index.js.map +1 -1
- package/dist/primitives/Resizable/index.cjs +6 -2
- package/dist/primitives/Resizable/index.cjs.map +1 -1
- package/dist/primitives/Resizable/index.d.cts +1 -1
- package/dist/primitives/Resizable/index.d.ts +1 -1
- package/dist/primitives/Resizable/index.js +6 -2
- package/dist/primitives/Resizable/index.js.map +1 -1
- package/dist/primitives/ScrollArea/index.cjs +1 -1
- package/dist/primitives/ScrollArea/index.d.cts +1 -1
- package/dist/primitives/ScrollArea/index.d.ts +1 -1
- package/dist/primitives/ScrollArea/index.js +1 -1
- package/dist/primitives/Select/index.cjs +18 -5
- package/dist/primitives/Select/index.cjs.map +1 -1
- package/dist/primitives/Select/index.d.cts +1 -1
- package/dist/primitives/Select/index.d.ts +1 -1
- package/dist/primitives/Select/index.js +18 -5
- package/dist/primitives/Select/index.js.map +1 -1
- package/dist/primitives/Separator/index.cjs +1 -1
- package/dist/primitives/Separator/index.js +1 -1
- package/dist/primitives/Sheet/index.cjs +40 -4
- 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 +40 -4
- 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.cjs +1 -1
- package/dist/primitives/Slider/index.d.cts +1 -1
- package/dist/primitives/Slider/index.d.ts +1 -1
- package/dist/primitives/Slider/index.js +1 -1
- package/dist/primitives/Sonner/index.cjs +22 -6
- package/dist/primitives/Sonner/index.cjs.map +1 -1
- package/dist/primitives/Sonner/index.d.cts +1 -1
- package/dist/primitives/Sonner/index.d.ts +1 -1
- package/dist/primitives/Sonner/index.js +22 -6
- package/dist/primitives/Sonner/index.js.map +1 -1
- package/dist/primitives/Spinner/index.cjs +4 -2
- package/dist/primitives/Spinner/index.cjs.map +1 -1
- package/dist/primitives/Spinner/index.d.cts +1 -1
- package/dist/primitives/Spinner/index.d.ts +1 -1
- package/dist/primitives/Spinner/index.js +4 -2
- package/dist/primitives/Spinner/index.js.map +1 -1
- package/dist/primitives/Switch/index.cjs +1 -1
- package/dist/primitives/Switch/index.d.cts +1 -1
- package/dist/primitives/Switch/index.d.ts +1 -1
- package/dist/primitives/Switch/index.js +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 +2 -2
- package/dist/primitives/Tabs/index.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.js +2 -2
- package/dist/primitives/Text/index.cjs +2 -1
- package/dist/primitives/Text/index.cjs.map +1 -1
- package/dist/primitives/Text/index.d.cts +1 -1
- package/dist/primitives/Text/index.d.ts +1 -1
- package/dist/primitives/Text/index.js +1 -1
- package/dist/primitives/Textarea/index.cjs +2 -1
- package/dist/primitives/Textarea/index.cjs.map +1 -1
- package/dist/primitives/Textarea/index.d.cts +1 -1
- package/dist/primitives/Textarea/index.d.ts +1 -1
- package/dist/primitives/Textarea/index.js +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.cjs +3 -2
- package/dist/primitives/Toggle/index.cjs.map +1 -1
- package/dist/primitives/Toggle/index.d.cts +1 -1
- package/dist/primitives/Toggle/index.d.ts +1 -1
- package/dist/primitives/Toggle/index.js +2 -2
- package/dist/primitives/ToggleGroup/index.cjs +1 -1
- package/dist/primitives/ToggleGroup/index.d.cts +1 -1
- package/dist/primitives/ToggleGroup/index.d.ts +1 -1
- package/dist/primitives/ToggleGroup/index.js +1 -1
- package/dist/primitives/Tooltip/index.cjs +1 -1
- package/dist/primitives/Tooltip/index.d.cts +1 -1
- package/dist/primitives/Tooltip/index.d.ts +1 -1
- package/dist/primitives/Tooltip/index.js +1 -1
- package/dist/primitives/index.cjs +14 -3
- package/dist/primitives/index.d.cts +55 -51
- package/dist/primitives/index.d.ts +55 -51
- package/dist/primitives/index.js +8 -4
- package/package.json +2 -1
- package/dist/index47.d.cts.map +0 -1
- package/dist/index47.d.ts.map +0 -1
package/dist/index11.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Button } from "./index8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime190 from "react/jsx-runtime";
|
|
4
4
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Calendar/Calendar.d.ts
|
|
@@ -17,14 +17,14 @@ declare function Calendar({
|
|
|
17
17
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
18
18
|
/** Button variant used for the previous/next navigation controls. */
|
|
19
19
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime190.JSX.Element;
|
|
21
21
|
/** Single day cell button, applying selected/range styling from the day's modifiers. */
|
|
22
22
|
declare function CalendarDayButton({
|
|
23
23
|
className,
|
|
24
24
|
day,
|
|
25
25
|
modifiers,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof DayButton>):
|
|
27
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime190.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CalendarDayButton as n, Calendar as t };
|
|
30
30
|
//# sourceMappingURL=index11.d.ts.map
|
package/dist/index11.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index11.d.ts","names":[],"sources":["../src/primitives/Calendar/Calendar.tsx"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index11.d.ts","names":[],"sources":["../src/primitives/Calendar/Calendar.tsx"],"mappings":";;;;;;;iBASS,QAAA;;;;;;;;;GASN,KAAA,CAAM,sBAAsB;;EATtB,aAAQ,CAAA,EAWC,KAAA,CAAM,cAXP,CAAA,OAW6B,MAX7B,CAAA,CAAA,SAAA,CAAA;CAAA,CAAA,EAYhB,oBAAA,CAAA,GAAA,CAAA,OAZgB;;iBAwIR,iBAAA,CAtIP;EAAA,SAAA;EAAA,GAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2IC,KAAA,CAAM,cA3IP,CAAA,OA2I6B,SA3I7B,CAAA,CAAA,EA2IuC,oBAAA,CAAA,GAAA,CAAA,OA3IvC"}
|
package/dist/index12.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime338 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types29 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Card/Card.d.ts
|
|
7
7
|
declare const cardVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "
|
|
9
|
-
tint?: "
|
|
10
|
-
} &
|
|
8
|
+
variant?: "default" | "glass" | "ai" | "inverted" | "brand" | null | undefined;
|
|
9
|
+
tint?: "subtle" | "medium" | "light" | "heavy" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types29.ClassProp) | undefined) => string;
|
|
11
11
|
type CardProps = React.ComponentProps<"div"> & VariantProps<typeof cardVariants> & {
|
|
12
12
|
/** Surface treatment of the card. Default `default` (solid surface). */
|
|
13
13
|
variant?: VariantProps<typeof cardVariants>["variant"];
|
|
@@ -20,7 +20,7 @@ declare function Card({
|
|
|
20
20
|
variant,
|
|
21
21
|
tint,
|
|
22
22
|
...props
|
|
23
|
-
}: CardProps):
|
|
23
|
+
}: CardProps): react_jsx_runtime338.JSX.Element;
|
|
24
24
|
declare const cardHeaderAlign: {
|
|
25
25
|
readonly start: "items-start";
|
|
26
26
|
readonly center: "items-center";
|
|
@@ -34,28 +34,28 @@ declare function CardHeader({
|
|
|
34
34
|
}: React.ComponentProps<"div"> & {
|
|
35
35
|
/** Vertical alignment of the header items. Default `center`. */
|
|
36
36
|
align?: keyof typeof cardHeaderAlign;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime338.JSX.Element;
|
|
38
38
|
/** Card heading rendered as an `h4`. Figma binds the body font (Inter Semibold
|
|
39
39
|
16/24), so we override the base heading styles explicitly. */
|
|
40
40
|
declare function CardTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"div">):
|
|
43
|
+
}: React.ComponentProps<"div">): react_jsx_runtime338.JSX.Element;
|
|
44
44
|
/** Muted supporting text shown beneath the title. */
|
|
45
45
|
declare function CardDescription({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"div">):
|
|
48
|
+
}: React.ComponentProps<"div">): react_jsx_runtime338.JSX.Element;
|
|
49
49
|
/** Action slot in the header row, aligned to the end alongside the title. */
|
|
50
50
|
declare function CardAction({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"div">):
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime338.JSX.Element;
|
|
54
54
|
/** Main body region of the card. */
|
|
55
55
|
declare function CardContent({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<"div">):
|
|
58
|
+
}: React.ComponentProps<"div">): react_jsx_runtime338.JSX.Element;
|
|
59
59
|
declare const cardFooterTone: {
|
|
60
60
|
readonly default: "px-6 pb-6 [.border-t]:pt-6";
|
|
61
61
|
readonly brand: "justify-center rounded-b-8 bg-brand-200 px-6 py-3 text-brand-800";
|
|
@@ -70,7 +70,7 @@ declare function CardFooter({
|
|
|
70
70
|
}: React.ComponentProps<"div"> & {
|
|
71
71
|
/** Footer fill. `brand`/`muted` render a full-width tinted band. */
|
|
72
72
|
tone?: keyof typeof cardFooterTone;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime338.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { CardFooter as a, CardTitle as c, CardDescription as i, cardVariants as l, CardAction as n, CardHeader as o, CardContent as r, CardProps as s, Card as t };
|
|
76
76
|
//# sourceMappingURL=index12.d.cts.map
|
package/dist/index12.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime275 from "react/jsx-runtime";
|
|
3
1
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime183 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types16 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Card/Card.d.ts
|
|
7
7
|
declare const cardVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "glass" | "ai" | "inverted" | "brand" | null | undefined;
|
|
9
|
-
tint?: "
|
|
10
|
-
} &
|
|
9
|
+
tint?: "light" | "subtle" | "medium" | "heavy" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types16.ClassProp) | undefined) => string;
|
|
11
11
|
type CardProps = React.ComponentProps<"div"> & VariantProps<typeof cardVariants> & {
|
|
12
12
|
/** Surface treatment of the card. Default `default` (solid surface). */
|
|
13
13
|
variant?: VariantProps<typeof cardVariants>["variant"];
|
|
@@ -20,7 +20,7 @@ declare function Card({
|
|
|
20
20
|
variant,
|
|
21
21
|
tint,
|
|
22
22
|
...props
|
|
23
|
-
}: CardProps):
|
|
23
|
+
}: CardProps): react_jsx_runtime183.JSX.Element;
|
|
24
24
|
declare const cardHeaderAlign: {
|
|
25
25
|
readonly start: "items-start";
|
|
26
26
|
readonly center: "items-center";
|
|
@@ -34,28 +34,28 @@ declare function CardHeader({
|
|
|
34
34
|
}: React.ComponentProps<"div"> & {
|
|
35
35
|
/** Vertical alignment of the header items. Default `center`. */
|
|
36
36
|
align?: keyof typeof cardHeaderAlign;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime183.JSX.Element;
|
|
38
38
|
/** Card heading rendered as an `h4`. Figma binds the body font (Inter Semibold
|
|
39
39
|
16/24), so we override the base heading styles explicitly. */
|
|
40
40
|
declare function CardTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"div">):
|
|
43
|
+
}: React.ComponentProps<"div">): react_jsx_runtime183.JSX.Element;
|
|
44
44
|
/** Muted supporting text shown beneath the title. */
|
|
45
45
|
declare function CardDescription({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"div">):
|
|
48
|
+
}: React.ComponentProps<"div">): react_jsx_runtime183.JSX.Element;
|
|
49
49
|
/** Action slot in the header row, aligned to the end alongside the title. */
|
|
50
50
|
declare function CardAction({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"div">):
|
|
53
|
+
}: React.ComponentProps<"div">): react_jsx_runtime183.JSX.Element;
|
|
54
54
|
/** Main body region of the card. */
|
|
55
55
|
declare function CardContent({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<"div">):
|
|
58
|
+
}: React.ComponentProps<"div">): react_jsx_runtime183.JSX.Element;
|
|
59
59
|
declare const cardFooterTone: {
|
|
60
60
|
readonly default: "px-6 pb-6 [.border-t]:pt-6";
|
|
61
61
|
readonly brand: "justify-center rounded-b-8 bg-brand-200 px-6 py-3 text-brand-800";
|
|
@@ -70,7 +70,7 @@ declare function CardFooter({
|
|
|
70
70
|
}: React.ComponentProps<"div"> & {
|
|
71
71
|
/** Footer fill. `brand`/`muted` render a full-width tinted band. */
|
|
72
72
|
tone?: keyof typeof cardFooterTone;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime183.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { CardFooter as a, CardTitle as c, CardDescription as i, cardVariants as l, CardAction as n, CardHeader as o, CardContent as r, CardProps as s, Card as t };
|
|
76
76
|
//# sourceMappingURL=index12.d.ts.map
|
package/dist/index13.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Button } from "./index8.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime244 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
5
5
|
|
|
@@ -27,31 +27,31 @@ declare function Carousel({
|
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & CarouselProps):
|
|
30
|
+
}: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime244.JSX.Element;
|
|
31
31
|
/** Scroll viewport that lays out the slides along the carousel's axis. */
|
|
32
32
|
declare function CarouselContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime244.JSX.Element;
|
|
36
36
|
/** A single slide within `CarouselContent`. */
|
|
37
37
|
declare function CarouselItem({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime244.JSX.Element;
|
|
41
41
|
/** Button that scrolls to the previous slide; auto-disables at the start. */
|
|
42
42
|
declare function CarouselPrevious({
|
|
43
43
|
className,
|
|
44
44
|
variant,
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Button>):
|
|
47
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime244.JSX.Element;
|
|
48
48
|
/** Button that scrolls to the next slide; auto-disables at the end. */
|
|
49
49
|
declare function CarouselNext({
|
|
50
50
|
className,
|
|
51
51
|
variant,
|
|
52
52
|
size,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof Button>):
|
|
54
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime244.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
|
|
57
57
|
//# sourceMappingURL=index13.d.cts.map
|
package/dist/index13.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.d.cts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index13.d.cts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;KAUK,WAAA,GAAc;KACd,qBAAA,GAAwB,kBAAkB;KAC1C,eAAA,GAAkB;AALsB,KAMxC,cAAA,GAAiB,qBAHH,CAAA,CAAA,CAAA;AAAoB,KAKlC,aAAA,GAJA;EAAqB;MAAqB,CAAA,EAMtC,eANsC;;EAAR,OAAA,CAAA,EAQ3B,cAR2B;EAClC;EACA,WAAA,CAAA,EAAA,YAAc,GAAG,UAAA;EAEjB;EAAa,MAAA,CAAA,EAAA,CAAA,GAAA,EAQD,WARC,EAAA,GAAA,IAAA;;;iBAiCT,QAAA,CAzBQ;EAAA,WAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiCd,KAAA,CAAM,cAjCQ,CAAA,KAAA,CAAA,GAiCgB,aAjChB,CAAA,EAiC6B,oBAAA,CAAA,GAAA,CAAA,OAjC7B;AAAW;AAAA,iBAmHnB,eAAA,CA1FQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0FiC,KAAA,CAAM,cA1FvC,CAAA,KAAA,CAAA,CAAA,EA0F4D,oBAAA,CAAA,GAAA,CAAA,OA1F5D;;iBAwGR,YAAA,CAvGP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuG6C,KAAA,CAAM,cAvGnD,CAAA,KAAA,CAAA,CAAA,EAuGwE,oBAAA,CAAA,GAAA,CAAA,OAvGxE;;iBA0HO,gBAAA,CAxHP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA6HC,KAAA,CAAM,cA7HP,CAAA,OA6H6B,MA7H7B,CAAA,CAAA,EA6HoC,oBAAA,CAAA,GAAA,CAAA,OA7HpC;;iBAuJO,YAAA,CArJP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA0JC,KAAA,CAAM,cA1JP,CAAA,OA0J6B,MA1J7B,CAAA,CAAA,EA0JoC,oBAAA,CAAA,GAAA,CAAA,OA1JpC"}
|
package/dist/index13.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Button } from "./index8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime178 from "react/jsx-runtime";
|
|
4
4
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Carousel/Carousel.d.ts
|
|
@@ -27,31 +27,31 @@ declare function Carousel({
|
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & CarouselProps):
|
|
30
|
+
}: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime178.JSX.Element;
|
|
31
31
|
/** Scroll viewport that lays out the slides along the carousel's axis. */
|
|
32
32
|
declare function CarouselContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"div">):
|
|
35
|
+
}: React.ComponentProps<"div">): react_jsx_runtime178.JSX.Element;
|
|
36
36
|
/** A single slide within `CarouselContent`. */
|
|
37
37
|
declare function CarouselItem({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime178.JSX.Element;
|
|
41
41
|
/** Button that scrolls to the previous slide; auto-disables at the start. */
|
|
42
42
|
declare function CarouselPrevious({
|
|
43
43
|
className,
|
|
44
44
|
variant,
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Button>):
|
|
47
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime178.JSX.Element;
|
|
48
48
|
/** Button that scrolls to the next slide; auto-disables at the end. */
|
|
49
49
|
declare function CarouselNext({
|
|
50
50
|
className,
|
|
51
51
|
variant,
|
|
52
52
|
size,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof Button>):
|
|
54
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime178.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
|
|
57
57
|
//# sourceMappingURL=index13.d.ts.map
|
package/dist/index13.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.d.ts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index13.d.ts","names":[],"sources":["../src/primitives/Carousel/Carousel.tsx"],"mappings":";;;;;;KAUK,WAAA,GAAc;KACd,qBAAA,GAAwB,kBAAkB;KAC1C,eAAA,GAAkB;AALsB,KAMxC,cAAA,GAAiB,qBAHH,CAAA,CAAA,CAAA;AAAoB,KAKlC,aAAA,GAJA;EAAqB;MAAqB,CAAA,EAMtC,eANsC;;EAAR,OAAA,CAAA,EAQ3B,cAR2B;EAClC;EACA,WAAA,CAAA,EAAA,YAAc,GAAG,UAAA;EAEjB;EAAa,MAAA,CAAA,EAAA,CAAA,GAAA,EAQD,WARC,EAAA,GAAA,IAAA;;;iBAiCT,QAAA,CAzBQ;EAAA,WAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiCd,KAAA,CAAM,cAjCQ,CAAA,KAAA,CAAA,GAiCgB,aAjChB,CAAA,EAiC6B,oBAAA,CAAA,GAAA,CAAA,OAjC7B;AAAW;AAAA,iBAmHnB,eAAA,CA1FQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0FiC,KAAA,CAAM,cA1FvC,CAAA,KAAA,CAAA,CAAA,EA0F4D,oBAAA,CAAA,GAAA,CAAA,OA1F5D;;iBAwGR,YAAA,CAvGP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuG6C,KAAA,CAAM,cAvGnD,CAAA,KAAA,CAAA,CAAA,EAuGwE,oBAAA,CAAA,GAAA,CAAA,OAvGxE;;iBA0HO,gBAAA,CAxHP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA6HC,KAAA,CAAM,cA7HP,CAAA,OA6H6B,MA7H7B,CAAA,CAAA,EA6HoC,oBAAA,CAAA,GAAA,CAAA,OA7HpC;;iBAuJO,YAAA,CArJP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA0JC,KAAA,CAAM,cA1JP,CAAA,OA0J6B,MA1J7B,CAAA,CAAA,EA0JoC,oBAAA,CAAA,GAAA,CAAA,OA1JpC"}
|
package/dist/index14.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime334 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as RechartsPrimitive from "recharts";
|
|
4
4
|
import { TooltipValueType } from "recharts";
|
|
@@ -40,7 +40,7 @@ declare function ChartContainer({
|
|
|
40
40
|
width: number;
|
|
41
41
|
height: number;
|
|
42
42
|
};
|
|
43
|
-
}):
|
|
43
|
+
}): react_jsx_runtime334.JSX.Element;
|
|
44
44
|
/** Injects per-chart CSS custom properties (`--color-*`) derived from the config, one block per theme. */
|
|
45
45
|
declare const ChartStyle: ({
|
|
46
46
|
id,
|
|
@@ -48,7 +48,7 @@ declare const ChartStyle: ({
|
|
|
48
48
|
}: {
|
|
49
49
|
id: string;
|
|
50
50
|
config: ChartConfig;
|
|
51
|
-
}) =>
|
|
51
|
+
}) => react_jsx_runtime334.JSX.Element | null;
|
|
52
52
|
/** Recharts Tooltip element; pair with `ChartTooltipContent` for the styled body. */
|
|
53
53
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
54
54
|
/** Styled tooltip body that resolves labels, colors, and indicators from the chart config. */
|
|
@@ -77,7 +77,7 @@ declare function ChartTooltipContent({
|
|
|
77
77
|
nameKey?: string;
|
|
78
78
|
/** Config key used to resolve the tooltip's label (defaults to the data key). */
|
|
79
79
|
labelKey?: string;
|
|
80
|
-
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">):
|
|
80
|
+
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">): react_jsx_runtime334.JSX.Element | null;
|
|
81
81
|
/** Recharts Legend element; pair with `ChartLegendContent` for the styled body. */
|
|
82
82
|
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
83
83
|
/** Styled legend body that resolves labels, icons, and colors from the chart config. */
|
|
@@ -92,7 +92,7 @@ declare function ChartLegendContent({
|
|
|
92
92
|
hideIcon?: boolean;
|
|
93
93
|
/** Config key used to resolve each item's label/color (defaults to the data key). */
|
|
94
94
|
nameKey?: string;
|
|
95
|
-
} & RechartsPrimitive.DefaultLegendContentProps):
|
|
95
|
+
} & RechartsPrimitive.DefaultLegendContentProps): react_jsx_runtime334.JSX.Element | null;
|
|
96
96
|
//#endregion
|
|
97
97
|
export { ChartStyle as a, ChartLegendContent as i, ChartContainer as n, ChartTooltip as o, ChartLegend as r, ChartTooltipContent as s, ChartConfig as t };
|
|
98
98
|
//# sourceMappingURL=index14.d.cts.map
|
package/dist/index14.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime174 from "react/jsx-runtime";
|
|
3
3
|
import * as RechartsPrimitive from "recharts";
|
|
4
4
|
import { TooltipValueType } from "recharts";
|
|
5
5
|
|
|
@@ -40,7 +40,7 @@ declare function ChartContainer({
|
|
|
40
40
|
width: number;
|
|
41
41
|
height: number;
|
|
42
42
|
};
|
|
43
|
-
}):
|
|
43
|
+
}): react_jsx_runtime174.JSX.Element;
|
|
44
44
|
/** Injects per-chart CSS custom properties (`--color-*`) derived from the config, one block per theme. */
|
|
45
45
|
declare const ChartStyle: ({
|
|
46
46
|
id,
|
|
@@ -48,7 +48,7 @@ declare const ChartStyle: ({
|
|
|
48
48
|
}: {
|
|
49
49
|
id: string;
|
|
50
50
|
config: ChartConfig;
|
|
51
|
-
}) =>
|
|
51
|
+
}) => react_jsx_runtime174.JSX.Element | null;
|
|
52
52
|
/** Recharts Tooltip element; pair with `ChartTooltipContent` for the styled body. */
|
|
53
53
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
54
54
|
/** Styled tooltip body that resolves labels, colors, and indicators from the chart config. */
|
|
@@ -77,7 +77,7 @@ declare function ChartTooltipContent({
|
|
|
77
77
|
nameKey?: string;
|
|
78
78
|
/** Config key used to resolve the tooltip's label (defaults to the data key). */
|
|
79
79
|
labelKey?: string;
|
|
80
|
-
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">):
|
|
80
|
+
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">): react_jsx_runtime174.JSX.Element | null;
|
|
81
81
|
/** Recharts Legend element; pair with `ChartLegendContent` for the styled body. */
|
|
82
82
|
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
83
83
|
/** Styled legend body that resolves labels, icons, and colors from the chart config. */
|
|
@@ -92,7 +92,7 @@ declare function ChartLegendContent({
|
|
|
92
92
|
hideIcon?: boolean;
|
|
93
93
|
/** Config key used to resolve each item's label/color (defaults to the data key). */
|
|
94
94
|
nameKey?: string;
|
|
95
|
-
} & RechartsPrimitive.DefaultLegendContentProps):
|
|
95
|
+
} & RechartsPrimitive.DefaultLegendContentProps): react_jsx_runtime174.JSX.Element | null;
|
|
96
96
|
//#endregion
|
|
97
97
|
export { ChartStyle as a, ChartLegendContent as i, ChartContainer as n, ChartTooltip as o, ChartLegend as r, ChartTooltipContent as s, ChartConfig as t };
|
|
98
98
|
//# sourceMappingURL=index14.d.ts.map
|
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_runtime155.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
|
|
3
|
-
import * as react_jsx_runtime282 from "react/jsx-runtime";
|
|
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_runtime282.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"}
|