@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/index24.d.ts
CHANGED
|
@@ -1,49 +1,99 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import * as class_variance_authority_types27 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime294 from "react/jsx-runtime";
|
|
3
|
+
import { DropdownMenu } from "radix-ui";
|
|
5
4
|
|
|
6
|
-
//#region src/primitives/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/** Container chrome: plain, bordered, muted background, or dashed border. */
|
|
14
|
-
variant,
|
|
5
|
+
//#region src/primitives/DropdownMenu/DropdownMenu.d.ts
|
|
6
|
+
/** Root provider for a dropdown menu; holds open state and wires the trigger to its content. */
|
|
7
|
+
declare function DropdownMenu$1({
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof DropdownMenu.Root>): react_jsx_runtime294.JSX.Element;
|
|
10
|
+
/** Renders the menu into a portal so it escapes overflow/stacking contexts. */
|
|
11
|
+
declare function DropdownMenuPortal({
|
|
15
12
|
...props
|
|
16
|
-
}: React.ComponentProps<
|
|
17
|
-
/**
|
|
18
|
-
declare function
|
|
13
|
+
}: React.ComponentProps<typeof DropdownMenu.Portal>): react_jsx_runtime294.JSX.Element;
|
|
14
|
+
/** The control (usually a button) that toggles the menu open and closed. */
|
|
15
|
+
declare function DropdownMenuTrigger({
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof DropdownMenu.Trigger>): react_jsx_runtime294.JSX.Element;
|
|
18
|
+
/** The floating surface that holds the menu items; portalled and animated on open/close. */
|
|
19
|
+
declare function DropdownMenuContent({
|
|
19
20
|
className,
|
|
21
|
+
/** Gap in pixels between the trigger and the content edge. */
|
|
22
|
+
sideOffset,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<typeof DropdownMenu.Content>): react_jsx_runtime294.JSX.Element;
|
|
25
|
+
/** Groups related menu items together for labelling and keyboard navigation. */
|
|
26
|
+
declare function DropdownMenuGroup({
|
|
20
27
|
...props
|
|
21
|
-
}: React.ComponentProps<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} & class_variance_authority_types27.ClassProp) | undefined) => string;
|
|
25
|
-
/** Holds the leading illustration or icon above the title. */
|
|
26
|
-
declare function EmptyMedia({
|
|
28
|
+
}: React.ComponentProps<typeof DropdownMenu.Group>): react_jsx_runtime294.JSX.Element;
|
|
29
|
+
/** A selectable menu row that fires on click/Enter. */
|
|
30
|
+
declare function DropdownMenuItem({
|
|
27
31
|
className,
|
|
28
|
-
/**
|
|
32
|
+
/** Indents the item to align with rows that have a leading icon/indicator. */
|
|
33
|
+
inset,
|
|
34
|
+
/** Visual tone of the item; `destructive` renders in the danger color. */
|
|
29
35
|
variant,
|
|
30
36
|
...props
|
|
31
|
-
}: React.ComponentProps<
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu.Item> & {
|
|
38
|
+
inset?: boolean;
|
|
39
|
+
variant?: "default" | "destructive";
|
|
40
|
+
}): react_jsx_runtime294.JSX.Element;
|
|
41
|
+
/** A menu row with a toggleable checkmark indicator for boolean options. */
|
|
42
|
+
declare function DropdownMenuCheckboxItem({
|
|
43
|
+
className,
|
|
44
|
+
children,
|
|
45
|
+
/** Whether the checkbox indicator is shown as checked. */
|
|
46
|
+
checked,
|
|
47
|
+
...props
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu.CheckboxItem>): react_jsx_runtime294.JSX.Element;
|
|
49
|
+
/** Wraps radio items so only one option in the group can be selected at a time. */
|
|
50
|
+
declare function DropdownMenuRadioGroup({
|
|
51
|
+
...props
|
|
52
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime294.JSX.Element;
|
|
53
|
+
/** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
|
|
54
|
+
declare function DropdownMenuRadioItem({
|
|
34
55
|
className,
|
|
56
|
+
children,
|
|
57
|
+
...props
|
|
58
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioItem>): react_jsx_runtime294.JSX.Element;
|
|
59
|
+
/** A non-interactive heading used to title a group of menu items. */
|
|
60
|
+
declare function DropdownMenuLabel({
|
|
61
|
+
className,
|
|
62
|
+
/** Indents the label to align with rows that have a leading icon/indicator. */
|
|
63
|
+
inset,
|
|
64
|
+
...props
|
|
65
|
+
}: React.ComponentProps<typeof DropdownMenu.Label> & {
|
|
66
|
+
inset?: boolean;
|
|
67
|
+
}): react_jsx_runtime294.JSX.Element;
|
|
68
|
+
/** A thin divider line used to visually separate groups of menu items. */
|
|
69
|
+
declare function DropdownMenuSeparator({
|
|
70
|
+
className,
|
|
71
|
+
...props
|
|
72
|
+
}: React.ComponentProps<typeof DropdownMenu.Separator>): react_jsx_runtime294.JSX.Element;
|
|
73
|
+
/** Right-aligned hint for an item's keyboard shortcut (e.g. ⇧⌘P). */
|
|
74
|
+
declare function DropdownMenuShortcut({
|
|
75
|
+
className,
|
|
76
|
+
...props
|
|
77
|
+
}: React.ComponentProps<"span">): react_jsx_runtime294.JSX.Element;
|
|
78
|
+
/** Root for a nested submenu; holds the sub-trigger and its sub-content. */
|
|
79
|
+
declare function DropdownMenuSub({
|
|
35
80
|
...props
|
|
36
|
-
}: React.ComponentProps<
|
|
37
|
-
/**
|
|
38
|
-
declare function
|
|
81
|
+
}: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime294.JSX.Element;
|
|
82
|
+
/** The item that opens a nested submenu, shown with a trailing chevron. */
|
|
83
|
+
declare function DropdownMenuSubTrigger({
|
|
39
84
|
className,
|
|
85
|
+
/** Indents the trigger to align with rows that have a leading icon/indicator. */
|
|
86
|
+
inset,
|
|
87
|
+
children,
|
|
40
88
|
...props
|
|
41
|
-
}: React.ComponentProps<
|
|
42
|
-
|
|
43
|
-
|
|
89
|
+
}: React.ComponentProps<typeof DropdownMenu.SubTrigger> & {
|
|
90
|
+
inset?: boolean;
|
|
91
|
+
}): react_jsx_runtime294.JSX.Element;
|
|
92
|
+
/** The floating surface for a nested submenu's items. */
|
|
93
|
+
declare function DropdownMenuSubContent({
|
|
44
94
|
className,
|
|
45
95
|
...props
|
|
46
|
-
}: React.ComponentProps<
|
|
96
|
+
}: React.ComponentProps<typeof DropdownMenu.SubContent>): react_jsx_runtime294.JSX.Element;
|
|
47
97
|
//#endregion
|
|
48
|
-
export {
|
|
98
|
+
export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu$1 as t, DropdownMenuSeparator as u };
|
|
49
99
|
//# sourceMappingURL=index24.d.ts.map
|
package/dist/index24.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index24.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index24.d.ts","names":[],"sources":["../src/primitives/DropdownMenu/DropdownMenu.tsx"],"mappings":";;;;;;iBAQS,cAAA;;GAA2B,KAAA,CAAM,sBAAsB,YAAA,CAAsB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AALvD,iBAU3B,kBAAA,CALY;EAAA,GAAA;AAAA,CAAA,EAOlB,KAAA,CAAM,cAPY,CAAA,OAOU,YAAA,CAAsB,MAPhC,CAAA,CAAA,EAOuC,oBAAA,CAAA,GAAA,CAAA,OAPvC;;iBAYZ,mBAAA,CAZ6E;EAAA,GAAA;AAAA,CAAA,EAcnF,KAAA,CAAM,cAd6E,CAAA,OAcvD,YAAA,CAAsB,OAdiC,CAAA,CAAA,EAczB,oBAAA,CAAA,GAAA,CAAA,OAdyB;;iBAmB7E,mBAAA,CAnBkF;EAAA,SAAA;EAAA;EAAA,UAKlF;EAAA,GAAA;AAAkB,CAAlB,EAmBN,KAAA,CAAM,cAnBkB,CAAA,OAmBI,YAAA,CAAsB,OAnB1B,CAAA,CAAA,EAmBkC,oBAAA,CAAA,GAAA,CAAA,OAnBlC;;iBA2ClB,iBAAA,CAzC4C;EAAA,GAAA;AAAA,CAAA,EAyCZ,KAAA,CAAM,cAzCM,CAAA,OAyCgB,YAAA,CAAsB,KAzCtC,CAAA,CAAA,EAyC4C,oBAAA,CAAA,GAAA,CAAA,OAzC5C;;iBA8C5C,gBAAA,CA9CmD;EAAA,SAAA;EAAA;EAAA,KAKnD;;SAEsB;EAAA,GAAA;AAA8B,CAA9B,EA8C5B,KAAA,CAAM,cA9C4C,CAAA,OA8CtB,YAAA,CAAsB,IA9CA,CAAA,GAAA;OAAlD,CAAA,EAAA,OAAM;SAAoD,CAAA,EAAA,SAAA,GAAA,aAAA;AAAA,CAAA,CAAA,EAiD5D,oBAAA,CAAA,GAAA,CAAA,OAjD4D;AAAA;iBAiEpD,wBAAA,CA5DmB;EAAA,SAAA;EAAA,QAAA;;SAG1B;EAAA,GAAA;AAAA,CAAA,EA+DC,KAAA,CAAM,cA/DP,CAAA,OA+D6B,YAAA,CAAsB,YA/DnD,CAAA,CAAA,EA+DgE,oBAAA,CAAA,GAAA,CAAA,OA/DhE;;iBAqFO,sBAAA,CAnFA;EAAA,GAAA;AAAA,CAAA,EAqFN,KAAA,CAAM,cArFA,CAAA,OAqFsB,YAAA,CAAsB,UArF5C,CAAA,CAAA,EAqFuD,oBAAA,CAAA,GAAA,CAAA,OArFvD;;AAAoD,iBA0FpD,qBAAA,CA1FoD;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA8F1D,KAAA,CAAM,cA9FoD,CAAA,OA8F9B,YAAA,CAAsB,SA9FQ,CAAA,CAAA,EA8FE,oBAAA,CAAA,GAAA,CAAA,OA9FF;AAAA;iBAmHpD,iBAAA,CA3FiB;EAAA,SAAA;;;EAAe,GAAA;AAAwD,CAAlD,EAgG5C,KAAA,CAAM,cAhGsC,CAAA,OAgGhB,YAAA,CAAsB,KAhGN,CAAA,GAAA;OAAkD,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EAkGhG,oBAAA,CAAA,GAAA,CAAA,OAlGgG;AAAA;iBAiHxF,qBAAA,CA5GgB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+GtB,KAAA,CAAM,cA/GgB,CAAA,OA+GM,YAAA,CAAsB,SA/G5B,CAAA,CAAA,EA+GsC,oBAAA,CAAA,GAAA,CAAA,OA/GtC;;iBA0HhB,oBAAA,CAvHP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuHqD,KAAA,CAAM,cAvH3D,CAAA,MAAA,CAAA,CAAA,EAuHiF,oBAAA,CAAA,GAAA,CAAA,OAvHjF;;iBAkIO,eAAA,CA9H4C;EAAA,GAAA;AAAA,CAAA,EA8Hd,KAAA,CAAM,cA9HQ,CAAA,OA8Hc,YAAA,CAAsB,GA9HpC,CAAA,CAAA,EA8HwC,oBAAA,CAAA,GAAA,CAAA,OA9HxC;;iBAmI5C,sBAAA,CAhIR;EAAA,SAAA;EAAA;EAAA,KAgBQ;EAAA,QAAA;EAAA,GAAA;CAAA,EAsHN,KAAA,CAAM,cAtHwB,CAAA,OAsHF,YAAA,CAAsB,UAtHpB,CAAA,GAAA;EAAA,KAAA,CAAA,EAAA,OAAA;IAwHhC,oBAAA,CAAA,GAAA,CAAA,OAvHC;;iBAyIO,sBAAA,CAtIP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyIC,KAAA,CAAM,cAzIP,CAAA,OAyI6B,YAAA,CAAsB,UAzInD,CAAA,CAAA,EAyI8D,oBAAA,CAAA,GAAA,CAAA,OAzI9D"}
|
package/dist/index25.d.cts
CHANGED
|
@@ -1,17 +1,49 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types19 from "class-variance-authority/types";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
4
|
import * as React from "react";
|
|
4
5
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
//#region src/primitives/Empty/Empty.d.ts
|
|
7
|
+
declare const emptyVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types19.ClassProp) | undefined) => string;
|
|
10
|
+
/** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
|
|
11
|
+
declare function Empty({
|
|
8
12
|
className,
|
|
9
|
-
|
|
13
|
+
/** Container chrome: plain, bordered, muted background, or dashed border. */
|
|
14
|
+
variant,
|
|
10
15
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime206.JSX.Element;
|
|
17
|
+
/** Groups the media, title, and description with centered alignment. */
|
|
18
|
+
declare function EmptyHeader({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
|
|
22
|
+
declare const emptyMediaVariants: (props?: ({
|
|
23
|
+
variant?: "default" | "icon" | null | undefined;
|
|
24
|
+
} & class_variance_authority_types19.ClassProp) | undefined) => string;
|
|
25
|
+
/** Holds the leading illustration or icon above the title. */
|
|
26
|
+
declare function EmptyMedia({
|
|
27
|
+
className,
|
|
28
|
+
/** Visual treatment: bare media or a rounded muted icon badge. */
|
|
29
|
+
variant,
|
|
30
|
+
...props
|
|
31
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime206.JSX.Element;
|
|
32
|
+
/** The primary heading line of the empty state. */
|
|
33
|
+
declare function EmptyTitle({
|
|
34
|
+
className,
|
|
35
|
+
...props
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
|
|
37
|
+
/** Muted supporting copy explaining the empty state. */
|
|
38
|
+
declare function EmptyDescription({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<"p">): react_jsx_runtime206.JSX.Element;
|
|
42
|
+
/** Slot for actions or follow-up content below the header. */
|
|
43
|
+
declare function EmptyContent({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
|
|
15
47
|
//#endregion
|
|
16
|
-
export {
|
|
48
|
+
export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
|
|
17
49
|
//# sourceMappingURL=index25.d.cts.map
|
package/dist/index25.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,gCAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;;iBAiBL,WAAA,CAdP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAc4C,KAAA,CAAM,cAdlD,CAAA,KAAA,CAAA,CAAA,EAcuE,oBAAA,CAAA,GAAA,CAAA,OAdvE;cAwBI,kBAtBG,EAAA,CAAA,KAAwB,CAAxB,EAAA,CAAA;SAA4C,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAmCpD,gCAAA,CAAA,SAnCgC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAkC,iBAsC1D,UAAA,CAtC0D;EAAA,SAAA;EAAA;SAY/C;EAAA,GAAA;AAAA,CAAA,EA+BjB,KAAA,CAAM,cA/BW,CAAA,KAAA,CAAA,GA+Ba,YA/Bb,CAAA,OA+BiC,kBA/BjC,CAAA,CAAA,EA+BoD,oBAAA,CAAA,GAAA,CAAA,OA/BpD;;iBA2CX,UAAA,CA3C2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CP,KAAA,CAAM,cA3CC,CAAA,KAAA,CAAA,CAAA,EA2CoB,oBAAA,CAAA,GAAA,CAAA,OA3CpB;;AAAqB,iBAsDhE,gBAAA,CAtDgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDtB,KAAA,CAAM,cAtDgB,CAAA,GAAA,CAAA,CAAA,EAsDG,oBAAA,CAAA,GAAA,CAAA,OAtDH;AAAA;iBAoEhE,YAAA,CA1CU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0C4B,KAAA,CAAM,cA1ClC,CAAA,KAAA,CAAA,CAAA,EA0CuD,oBAAA,CAAA,GAAA,CAAA,OA1CvD"}
|
package/dist/index25.d.ts
CHANGED
|
@@ -1,17 +1,49 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime285 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types26 from "class-variance-authority/types";
|
|
4
5
|
|
|
5
|
-
//#region src/primitives/
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
//#region src/primitives/Empty/Empty.d.ts
|
|
7
|
+
declare const emptyVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types26.ClassProp) | undefined) => string;
|
|
10
|
+
/** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
|
|
11
|
+
declare function Empty({
|
|
8
12
|
className,
|
|
9
|
-
|
|
13
|
+
/** Container chrome: plain, bordered, muted background, or dashed border. */
|
|
14
|
+
variant,
|
|
10
15
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime285.JSX.Element;
|
|
17
|
+
/** Groups the media, title, and description with centered alignment. */
|
|
18
|
+
declare function EmptyHeader({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
|
|
22
|
+
declare const emptyMediaVariants: (props?: ({
|
|
23
|
+
variant?: "default" | "icon" | null | undefined;
|
|
24
|
+
} & class_variance_authority_types26.ClassProp) | undefined) => string;
|
|
25
|
+
/** Holds the leading illustration or icon above the title. */
|
|
26
|
+
declare function EmptyMedia({
|
|
27
|
+
className,
|
|
28
|
+
/** Visual treatment: bare media or a rounded muted icon badge. */
|
|
29
|
+
variant,
|
|
30
|
+
...props
|
|
31
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime285.JSX.Element;
|
|
32
|
+
/** The primary heading line of the empty state. */
|
|
33
|
+
declare function EmptyTitle({
|
|
34
|
+
className,
|
|
35
|
+
...props
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
|
|
37
|
+
/** Muted supporting copy explaining the empty state. */
|
|
38
|
+
declare function EmptyDescription({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<"p">): react_jsx_runtime285.JSX.Element;
|
|
42
|
+
/** Slot for actions or follow-up content below the header. */
|
|
43
|
+
declare function EmptyContent({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
|
|
15
47
|
//#endregion
|
|
16
|
-
export {
|
|
48
|
+
export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
|
|
17
49
|
//# sourceMappingURL=index25.d.ts.map
|
package/dist/index25.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,gCAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;;iBAiBL,WAAA,CAdP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAc4C,KAAA,CAAM,cAdlD,CAAA,KAAA,CAAA,CAAA,EAcuE,oBAAA,CAAA,GAAA,CAAA,OAdvE;cAwBI,kBAtBG,EAAA,CAAA,KAAwB,CAAxB,EAAA,CAAA;SAA4C,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAmCpD,gCAAA,CAAA,SAnCgC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAkC,iBAsC1D,UAAA,CAtC0D;EAAA,SAAA;EAAA;SAY/C;EAAA,GAAA;AAAA,CAAA,EA+BjB,KAAA,CAAM,cA/BW,CAAA,KAAA,CAAA,GA+Ba,YA/Bb,CAAA,OA+BiC,kBA/BjC,CAAA,CAAA,EA+BoD,oBAAA,CAAA,GAAA,CAAA,OA/BpD;;iBA2CX,UAAA,CA3C2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CP,KAAA,CAAM,cA3CC,CAAA,KAAA,CAAA,CAAA,EA2CoB,oBAAA,CAAA,GAAA,CAAA,OA3CpB;;AAAqB,iBAsDhE,gBAAA,CAtDgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDtB,KAAA,CAAM,cAtDgB,CAAA,GAAA,CAAA,CAAA,EAsDG,oBAAA,CAAA,GAAA,CAAA,OAtDH;AAAA;iBAoEhE,YAAA,CA1CU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0C4B,KAAA,CAAM,cA1ClC,CAAA,KAAA,CAAA,CAAA,EA0CuD,oBAAA,CAAA,GAAA,CAAA,OA1CvD"}
|
package/dist/index26.d.cts
CHANGED
|
@@ -1,80 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import * as react_jsx_runtime91 from "react/jsx-runtime";
|
|
2
|
+
import { Label } from "radix-ui";
|
|
5
3
|
import * as React from "react";
|
|
6
4
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
/**
|
|
9
|
-
declare function
|
|
5
|
+
//#region src/primitives/Label/Label.d.ts
|
|
6
|
+
/** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
|
|
7
|
+
declare function Label$1({
|
|
10
8
|
className,
|
|
9
|
+
align,
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
variant,
|
|
17
|
-
...props
|
|
18
|
-
}: React.ComponentProps<"legend"> & {
|
|
19
|
-
/** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
|
|
20
|
-
variant?: "legend" | "label";
|
|
21
|
-
}): react_jsx_runtime69.JSX.Element;
|
|
22
|
-
/** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
|
|
23
|
-
declare function FieldGroup({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<"div">): react_jsx_runtime69.JSX.Element;
|
|
27
|
-
declare const fieldVariants: (props?: ({
|
|
28
|
-
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
29
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
30
|
-
/** A single labelled form field that lays out a control with its label, description, and error. */
|
|
31
|
-
declare function Field({
|
|
32
|
-
className,
|
|
33
|
-
/** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
|
|
34
|
-
orientation,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime69.JSX.Element;
|
|
37
|
-
/** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
|
|
38
|
-
declare function FieldContent({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<"div">): react_jsx_runtime69.JSX.Element;
|
|
42
|
-
/** The accessible label for a field's control; wraps the `Label` primitive. */
|
|
43
|
-
declare function FieldLabel({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<typeof Label>): react_jsx_runtime69.JSX.Element;
|
|
47
|
-
/** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
|
|
48
|
-
declare function FieldTitle({
|
|
49
|
-
className,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<"div">): react_jsx_runtime69.JSX.Element;
|
|
52
|
-
/** Muted helper text shown beneath (or beside) a field's control. */
|
|
53
|
-
declare function FieldDescription({
|
|
54
|
-
className,
|
|
55
|
-
...props
|
|
56
|
-
}: React.ComponentProps<"p">): react_jsx_runtime69.JSX.Element;
|
|
57
|
-
/** A horizontal divider between groups of fields, optionally with centered label content. */
|
|
58
|
-
declare function FieldSeparator({
|
|
59
|
-
children,
|
|
60
|
-
className,
|
|
61
|
-
...props
|
|
62
|
-
}: React.ComponentProps<"div"> & {
|
|
63
|
-
/** Optional label rendered centered over the divider line. */
|
|
64
|
-
children?: React.ReactNode;
|
|
65
|
-
}): react_jsx_runtime69.JSX.Element;
|
|
66
|
-
/** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
|
|
67
|
-
declare function FieldError({
|
|
68
|
-
className,
|
|
69
|
-
children,
|
|
70
|
-
errors,
|
|
71
|
-
...props
|
|
72
|
-
}: React.ComponentProps<"div"> & {
|
|
73
|
-
/** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
|
|
74
|
-
errors?: Array<{
|
|
75
|
-
message?: string;
|
|
76
|
-
} | undefined>;
|
|
77
|
-
}): react_jsx_runtime69.JSX.Element | null;
|
|
11
|
+
}: React.ComponentProps<typeof Label.Root> & {
|
|
12
|
+
/** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
|
|
13
|
+
align?: "block" | "inline";
|
|
14
|
+
}): react_jsx_runtime91.JSX.Element;
|
|
78
15
|
//#endregion
|
|
79
|
-
export {
|
|
16
|
+
export { Label$1 as t };
|
|
80
17
|
//# sourceMappingURL=index26.d.cts.map
|
package/dist/index26.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index26.d.cts","names":[],"sources":["../src/primitives/Label/Label.tsx"],"mappings":";;;;;;iBAMS,OAAA;;;;GAIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa"}
|
package/dist/index26.d.ts
CHANGED
|
@@ -1,80 +1,17 @@
|
|
|
1
|
-
import { t as Label } from "./index25.js";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import * as class_variance_authority_types15 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
3
|
+
import { Label } from "radix-ui";
|
|
6
4
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
/**
|
|
9
|
-
declare function
|
|
5
|
+
//#region src/primitives/Label/Label.d.ts
|
|
6
|
+
/** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
|
|
7
|
+
declare function Label$1({
|
|
10
8
|
className,
|
|
9
|
+
align,
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
variant,
|
|
17
|
-
...props
|
|
18
|
-
}: React.ComponentProps<"legend"> & {
|
|
19
|
-
/** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
|
|
20
|
-
variant?: "legend" | "label";
|
|
21
|
-
}): react_jsx_runtime169.JSX.Element;
|
|
22
|
-
/** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
|
|
23
|
-
declare function FieldGroup({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<"div">): react_jsx_runtime169.JSX.Element;
|
|
27
|
-
declare const fieldVariants: (props?: ({
|
|
28
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
29
|
-
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
30
|
-
/** A single labelled form field that lays out a control with its label, description, and error. */
|
|
31
|
-
declare function Field({
|
|
32
|
-
className,
|
|
33
|
-
/** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
|
|
34
|
-
orientation,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime169.JSX.Element;
|
|
37
|
-
/** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
|
|
38
|
-
declare function FieldContent({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<"div">): react_jsx_runtime169.JSX.Element;
|
|
42
|
-
/** The accessible label for a field's control; wraps the `Label` primitive. */
|
|
43
|
-
declare function FieldLabel({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<typeof Label>): react_jsx_runtime169.JSX.Element;
|
|
47
|
-
/** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
|
|
48
|
-
declare function FieldTitle({
|
|
49
|
-
className,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<"div">): react_jsx_runtime169.JSX.Element;
|
|
52
|
-
/** Muted helper text shown beneath (or beside) a field's control. */
|
|
53
|
-
declare function FieldDescription({
|
|
54
|
-
className,
|
|
55
|
-
...props
|
|
56
|
-
}: React.ComponentProps<"p">): react_jsx_runtime169.JSX.Element;
|
|
57
|
-
/** A horizontal divider between groups of fields, optionally with centered label content. */
|
|
58
|
-
declare function FieldSeparator({
|
|
59
|
-
children,
|
|
60
|
-
className,
|
|
61
|
-
...props
|
|
62
|
-
}: React.ComponentProps<"div"> & {
|
|
63
|
-
/** Optional label rendered centered over the divider line. */
|
|
64
|
-
children?: React.ReactNode;
|
|
65
|
-
}): react_jsx_runtime169.JSX.Element;
|
|
66
|
-
/** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
|
|
67
|
-
declare function FieldError({
|
|
68
|
-
className,
|
|
69
|
-
children,
|
|
70
|
-
errors,
|
|
71
|
-
...props
|
|
72
|
-
}: React.ComponentProps<"div"> & {
|
|
73
|
-
/** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
|
|
74
|
-
errors?: Array<{
|
|
75
|
-
message?: string;
|
|
76
|
-
} | undefined>;
|
|
77
|
-
}): react_jsx_runtime169.JSX.Element | null;
|
|
11
|
+
}: React.ComponentProps<typeof Label.Root> & {
|
|
12
|
+
/** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
|
|
13
|
+
align?: "block" | "inline";
|
|
14
|
+
}): react_jsx_runtime87.JSX.Element;
|
|
78
15
|
//#endregion
|
|
79
|
-
export {
|
|
16
|
+
export { Label$1 as t };
|
|
80
17
|
//# sourceMappingURL=index26.d.ts.map
|
package/dist/index26.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index26.d.ts","names":[],"sources":["../src/primitives/Label/Label.tsx"],"mappings":";;;;;;iBAMS,OAAA;;;;GAIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa"}
|
package/dist/index27.d.cts
CHANGED
|
@@ -1,71 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
1
|
+
import { t as Label } from "./index26.cjs";
|
|
2
|
+
import * as react_jsx_runtime147 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types18 from "class-variance-authority/types";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
5
|
import * as React from "react";
|
|
5
|
-
import * as react_hook_form0 from "react-hook-form";
|
|
6
|
-
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
7
6
|
|
|
8
|
-
//#region src/primitives/
|
|
9
|
-
/**
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
setValues,
|
|
19
|
-
trigger,
|
|
20
|
-
formState,
|
|
21
|
-
resetField,
|
|
22
|
-
reset,
|
|
23
|
-
handleSubmit,
|
|
24
|
-
unregister,
|
|
25
|
-
control,
|
|
26
|
-
register,
|
|
27
|
-
setFocus,
|
|
28
|
-
subscribe
|
|
29
|
-
}: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
30
|
-
/** Connects a single input to the form via RHF's `Controller`, exposing `field` to its render prop. */
|
|
31
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
7
|
+
//#region src/primitives/Field/Field.d.ts
|
|
8
|
+
/** A `<fieldset>` wrapper that groups related fields with consistent spacing. */
|
|
9
|
+
declare function FieldSet({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<"fieldset">): react_jsx_runtime147.JSX.Element;
|
|
13
|
+
/** The caption for a `FieldSet`, rendered as a `<legend>`. */
|
|
14
|
+
declare function FieldLegend({
|
|
15
|
+
className,
|
|
16
|
+
variant,
|
|
32
17
|
...props
|
|
33
|
-
}:
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
error?: react_hook_form0.FieldError;
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
formItemId: string;
|
|
44
|
-
formDescriptionId: string;
|
|
45
|
-
formMessageId: string;
|
|
46
|
-
};
|
|
47
|
-
/** Wraps one field, generating an id so its label, control, and messages stay linked. */
|
|
48
|
-
declare function FormItem({
|
|
18
|
+
}: React.ComponentProps<"legend"> & {
|
|
19
|
+
/** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
|
|
20
|
+
variant?: "legend" | "label";
|
|
21
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
22
|
+
/** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
|
|
23
|
+
declare function FieldGroup({
|
|
24
|
+
className,
|
|
49
25
|
...props
|
|
50
|
-
}: React.ComponentProps<
|
|
51
|
-
|
|
52
|
-
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
|
|
27
|
+
declare const fieldVariants: (props?: ({
|
|
28
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
30
|
+
/** A single labelled form field that lays out a control with its label, description, and error. */
|
|
31
|
+
declare function Field({
|
|
53
32
|
className,
|
|
33
|
+
/** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
|
|
34
|
+
orientation,
|
|
54
35
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof
|
|
56
|
-
/**
|
|
57
|
-
declare function
|
|
36
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime147.JSX.Element;
|
|
37
|
+
/** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
|
|
38
|
+
declare function FieldContent({
|
|
39
|
+
className,
|
|
58
40
|
...props
|
|
59
|
-
}: React.ComponentProps<
|
|
60
|
-
/**
|
|
61
|
-
declare function
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
|
|
42
|
+
/** The accessible label for a field's control; wraps the `Label` primitive. */
|
|
43
|
+
declare function FieldLabel({
|
|
44
|
+
className,
|
|
62
45
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof
|
|
64
|
-
/**
|
|
65
|
-
declare function
|
|
46
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime147.JSX.Element;
|
|
47
|
+
/** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
|
|
48
|
+
declare function FieldTitle({
|
|
49
|
+
className,
|
|
50
|
+
...props
|
|
51
|
+
}: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
|
|
52
|
+
/** Muted helper text shown beneath (or beside) a field's control. */
|
|
53
|
+
declare function FieldDescription({
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: React.ComponentProps<"p">): react_jsx_runtime147.JSX.Element;
|
|
57
|
+
/** A horizontal divider between groups of fields, optionally with centered label content. */
|
|
58
|
+
declare function FieldSeparator({
|
|
59
|
+
children,
|
|
60
|
+
className,
|
|
61
|
+
...props
|
|
62
|
+
}: React.ComponentProps<"div"> & {
|
|
63
|
+
/** Optional label rendered centered over the divider line. */
|
|
64
|
+
children?: React.ReactNode;
|
|
65
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
66
|
+
/** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
|
|
67
|
+
declare function FieldError({
|
|
68
|
+
className,
|
|
66
69
|
children,
|
|
70
|
+
errors,
|
|
67
71
|
...props
|
|
68
|
-
}: React.ComponentProps<
|
|
72
|
+
}: React.ComponentProps<"div"> & {
|
|
73
|
+
/** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
|
|
74
|
+
errors?: Array<{
|
|
75
|
+
message?: string;
|
|
76
|
+
} | undefined>;
|
|
77
|
+
}): react_jsx_runtime147.JSX.Element | null;
|
|
69
78
|
//#endregion
|
|
70
|
-
export {
|
|
79
|
+
export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
|
|
71
80
|
//# sourceMappingURL=index27.d.cts.map
|