@psnext/design-system 1.5.1 → 2.1.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 +639 -0
- package/README.md +39 -2
- package/SKILL.md +101 -0
- package/bin/install-agent-skill.mjs +54 -0
- package/dist/Header.cjs +32 -29
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +32 -29
- package/dist/Header.js.map +1 -1
- package/dist/Icon.cjs +19 -19
- package/dist/Icon.cjs.map +1 -1
- package/dist/Icon.js +19 -19
- package/dist/Icon.js.map +1 -1
- package/dist/Logo.cjs +4 -14
- package/dist/Logo.cjs.map +1 -1
- package/dist/Logo.js +4 -14
- package/dist/Logo.js.map +1 -1
- package/dist/Sidebar.cjs +26 -20
- package/dist/Sidebar.cjs.map +1 -1
- package/dist/Sidebar.js +21 -21
- package/dist/Sidebar.js.map +1 -1
- package/dist/cn.cjs +14 -1
- package/dist/cn.cjs.map +1 -1
- package/dist/cn.js +14 -1
- package/dist/cn.js.map +1 -1
- package/dist/index.cjs +13 -10
- 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 +5 -4
- package/dist/index10.d.cts +4 -4
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +7 -7
- 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 +18 -17
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +18 -17
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.cts.map +1 -1
- package/dist/index14.d.ts +5 -5
- package/dist/index14.d.ts.map +1 -1
- package/dist/index15.d.cts +3 -3
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +3 -3
- package/dist/index15.d.ts.map +1 -1
- package/dist/index16.d.cts +2 -2
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.cts +4 -4
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +4 -4
- package/dist/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +11 -11
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +10 -10
- package/dist/index19.d.ts.map +1 -1
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index20.d.ts.map +1 -1
- package/dist/index21.d.cts +4 -4
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +4 -4
- package/dist/index22.d.cts +11 -11
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +11 -11
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +16 -16
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +10 -10
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +10 -10
- package/dist/index25.d.cts +2 -2
- package/dist/index25.d.ts +2 -2
- package/dist/index26.d.cts +13 -13
- package/dist/index26.d.ts +14 -14
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +7 -7
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +5 -5
- package/dist/index28.d.ts +5 -5
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.ts +4 -4
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index3.d.ts.map +1 -1
- package/dist/index30.d.cts +5 -5
- package/dist/index30.d.ts +5 -5
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +5 -5
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +8 -5
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +9 -6
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +14 -10
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +14 -10
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.ts +5 -5
- package/dist/index35.d.cts +14 -14
- package/dist/index35.d.ts +16 -16
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +5 -5
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +4 -4
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +17 -17
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +4 -4
- package/dist/index40.d.ts +5 -5
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +11 -11
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +11 -11
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +10 -10
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +10 -10
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +1 -48
- package/dist/index44.d.ts +1 -48
- package/dist/index45.d.cts +42 -22
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +42 -22
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +21 -34
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +21 -34
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +33 -17
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +33 -17
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +18 -14
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +18 -14
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +12 -60
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +12 -60
- 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/index5.d.ts.map +1 -1
- package/dist/index50.d.cts +55 -49
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +55 -49
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +56 -24
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +56 -24
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +25 -203
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +25 -203
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +198 -15
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +198 -15
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +21 -23
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +21 -23
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +21 -18
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +21 -18
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +21 -8
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +21 -8
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +6 -44
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +6 -44
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +46 -47
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +46 -47
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +47 -59
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +47 -59
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +7 -7
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +7 -7
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +55 -37
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +56 -38
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +38 -14
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +38 -14
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +20 -41
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +20 -41
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +41 -19
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +41 -19
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +14 -39
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +14 -39
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +39 -16
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +39 -16
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +18 -12
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +18 -12
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +12 -30
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +12 -30
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +26 -25
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +28 -27
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +36 -69
- package/dist/index69.d.cts.map +1 -0
- package/dist/index69.d.ts +36 -69
- package/dist/index69.d.ts.map +1 -0
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index70.d.cts +76 -237
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +76 -237
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +249 -0
- package/dist/index71.d.cts.map +1 -0
- package/dist/index71.d.ts +249 -0
- package/dist/index71.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index8.d.ts.map +1 -1
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/layouts/Container/index.cjs +4 -4
- 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 +4 -4
- package/dist/layouts/Container/index.js.map +1 -1
- package/dist/layouts/PageBackground/index.cjs +2 -2
- package/dist/layouts/PageBackground/index.cjs.map +1 -1
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/PageBackground/index.js +2 -2
- package/dist/layouts/PageBackground/index.js.map +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/index.d.cts +4 -4
- package/dist/layouts/index.d.ts +4 -4
- package/dist/patterns/DataTable/index.cjs +12 -7
- 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 +12 -7
- package/dist/patterns/DataTable/index.js.map +1 -1
- package/dist/patterns/Footer/index.cjs +5 -5
- package/dist/patterns/Footer/index.cjs.map +1 -1
- package/dist/patterns/Footer/index.d.cts +9 -9
- package/dist/patterns/Footer/index.d.cts.map +1 -1
- package/dist/patterns/Footer/index.d.ts +9 -9
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Footer/index.js +5 -5
- package/dist/patterns/Footer/index.js.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.cjs.map +1 -1
- package/dist/patterns/MediaObject/index.d.cts +13 -13
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- package/dist/patterns/MediaObject/index.d.ts +10 -10
- package/dist/patterns/MediaObject/index.js +1 -1
- package/dist/patterns/MediaObject/index.js.map +1 -1
- package/dist/patterns/NavRail/index.cjs +195 -0
- package/dist/patterns/NavRail/index.cjs.map +1 -0
- package/dist/patterns/NavRail/index.d.cts +2 -0
- package/dist/patterns/NavRail/index.d.ts +2 -0
- package/dist/patterns/NavRail/index.js +185 -0
- package/dist/patterns/NavRail/index.js.map +1 -0
- package/dist/patterns/SectionCard/index.cjs +1 -1
- package/dist/patterns/SectionCard/index.cjs.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/SectionCard/index.js +1 -1
- package/dist/patterns/SectionCard/index.js.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +2 -2
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.cjs +9 -0
- package/dist/patterns/index.d.cts +3 -2
- package/dist/patterns/index.d.ts +3 -2
- package/dist/patterns/index.js +2 -1
- package/dist/primitives/Accordion/index.cjs +6 -6
- package/dist/primitives/Accordion/index.cjs.map +1 -1
- package/dist/primitives/Accordion/index.js +6 -6
- package/dist/primitives/Accordion/index.js.map +1 -1
- package/dist/primitives/Alert/index.cjs +4 -4
- package/dist/primitives/Alert/index.cjs.map +1 -1
- package/dist/primitives/Alert/index.js +4 -4
- package/dist/primitives/Alert/index.js.map +1 -1
- package/dist/primitives/AlertDialog/index.cjs +4 -4
- package/dist/primitives/AlertDialog/index.cjs.map +1 -1
- package/dist/primitives/AlertDialog/index.js +4 -4
- package/dist/primitives/AlertDialog/index.js.map +1 -1
- package/dist/primitives/Avatar/index.cjs +5 -5
- package/dist/primitives/Avatar/index.cjs.map +1 -1
- package/dist/primitives/Avatar/index.js +5 -5
- package/dist/primitives/Avatar/index.js.map +1 -1
- package/dist/primitives/Badge/index.cjs +11 -10
- package/dist/primitives/Badge/index.cjs.map +1 -1
- package/dist/primitives/Badge/index.js +11 -10
- package/dist/primitives/Badge/index.js.map +1 -1
- package/dist/primitives/Breadcrumb/index.cjs +4 -4
- package/dist/primitives/Breadcrumb/index.cjs.map +1 -1
- package/dist/primitives/Breadcrumb/index.js +4 -4
- package/dist/primitives/Breadcrumb/index.js.map +1 -1
- package/dist/primitives/Button/index.cjs +20 -13
- package/dist/primitives/Button/index.cjs.map +1 -1
- package/dist/primitives/Button/index.js +20 -13
- package/dist/primitives/Button/index.js.map +1 -1
- package/dist/primitives/ButtonGroup/index.cjs +3 -3
- package/dist/primitives/ButtonGroup/index.cjs.map +1 -1
- package/dist/primitives/ButtonGroup/index.js +3 -3
- package/dist/primitives/ButtonGroup/index.js.map +1 -1
- package/dist/primitives/Calendar/index.cjs +22 -21
- package/dist/primitives/Calendar/index.cjs.map +1 -1
- package/dist/primitives/Calendar/index.js +22 -21
- package/dist/primitives/Calendar/index.js.map +1 -1
- package/dist/primitives/Card/index.cjs +18 -16
- package/dist/primitives/Card/index.cjs.map +1 -1
- package/dist/primitives/Card/index.js +18 -16
- package/dist/primitives/Card/index.js.map +1 -1
- package/dist/primitives/Carousel/index.cjs +2 -2
- package/dist/primitives/Carousel/index.cjs.map +1 -1
- package/dist/primitives/Carousel/index.js +2 -2
- package/dist/primitives/Carousel/index.js.map +1 -1
- package/dist/primitives/Chart/index.cjs +12 -12
- package/dist/primitives/Chart/index.cjs.map +1 -1
- package/dist/primitives/Chart/index.js +12 -12
- package/dist/primitives/Chart/index.js.map +1 -1
- package/dist/primitives/Checkbox/index.cjs +6 -6
- package/dist/primitives/Checkbox/index.cjs.map +1 -1
- package/dist/primitives/Checkbox/index.js +6 -6
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/CheckboxTree/index.cjs +2 -2
- package/dist/primitives/CheckboxTree/index.cjs.map +1 -1
- package/dist/primitives/CheckboxTree/index.js +2 -2
- package/dist/primitives/CheckboxTree/index.js.map +1 -1
- package/dist/primitives/Command/index.cjs +9 -9
- package/dist/primitives/Command/index.cjs.map +1 -1
- package/dist/primitives/Command/index.js +9 -9
- package/dist/primitives/Command/index.js.map +1 -1
- package/dist/primitives/ContextMenu/index.cjs +10 -10
- package/dist/primitives/ContextMenu/index.cjs.map +1 -1
- package/dist/primitives/ContextMenu/index.js +10 -10
- package/dist/primitives/ContextMenu/index.js.map +1 -1
- package/dist/primitives/Credits/index.cjs +4 -4
- package/dist/primitives/Credits/index.cjs.map +1 -1
- package/dist/primitives/Credits/index.js +4 -4
- package/dist/primitives/Credits/index.js.map +1 -1
- package/dist/primitives/Dialog/index.cjs +5 -5
- package/dist/primitives/Dialog/index.cjs.map +1 -1
- package/dist/primitives/Dialog/index.js +5 -5
- package/dist/primitives/Dialog/index.js.map +1 -1
- package/dist/primitives/Drawer/index.cjs +5 -5
- package/dist/primitives/Drawer/index.cjs.map +1 -1
- package/dist/primitives/Drawer/index.js +5 -5
- package/dist/primitives/Drawer/index.js.map +1 -1
- package/dist/primitives/DropdownMenu/index.cjs +9 -9
- package/dist/primitives/DropdownMenu/index.cjs.map +1 -1
- package/dist/primitives/DropdownMenu/index.js +9 -9
- package/dist/primitives/DropdownMenu/index.js.map +1 -1
- package/dist/primitives/Empty/index.cjs +4 -4
- package/dist/primitives/Empty/index.cjs.map +1 -1
- package/dist/primitives/Empty/index.js +4 -4
- package/dist/primitives/Empty/index.js.map +1 -1
- package/dist/primitives/Field/index.cjs +5 -5
- package/dist/primitives/Field/index.cjs.map +1 -1
- package/dist/primitives/Field/index.js +5 -5
- package/dist/primitives/Field/index.js.map +1 -1
- package/dist/primitives/Form/index.cjs +1 -1
- package/dist/primitives/Form/index.cjs.map +1 -1
- package/dist/primitives/Form/index.js +1 -1
- package/dist/primitives/Form/index.js.map +1 -1
- package/dist/primitives/Heading/index.cjs +2 -2
- package/dist/primitives/Heading/index.cjs.map +1 -1
- package/dist/primitives/Heading/index.js +2 -2
- package/dist/primitives/Heading/index.js.map +1 -1
- package/dist/primitives/HoverCard/index.cjs +1 -1
- package/dist/primitives/HoverCard/index.cjs.map +1 -1
- package/dist/primitives/HoverCard/index.js +1 -1
- package/dist/primitives/HoverCard/index.js.map +1 -1
- package/dist/primitives/InfoBanner/index.cjs +12 -12
- package/dist/primitives/InfoBanner/index.cjs.map +1 -1
- package/dist/primitives/InfoBanner/index.js +12 -12
- package/dist/primitives/InfoBanner/index.js.map +1 -1
- package/dist/primitives/Input/index.cjs +13 -7
- package/dist/primitives/Input/index.cjs.map +1 -1
- package/dist/primitives/Input/index.js +13 -7
- package/dist/primitives/Input/index.js.map +1 -1
- package/dist/primitives/InputGroup/index.cjs +7 -7
- package/dist/primitives/InputGroup/index.cjs.map +1 -1
- package/dist/primitives/InputGroup/index.js +7 -7
- package/dist/primitives/InputGroup/index.js.map +1 -1
- package/dist/primitives/InputOtp/index.cjs +3 -3
- package/dist/primitives/InputOtp/index.cjs.map +1 -1
- package/dist/primitives/InputOtp/index.js +3 -3
- package/dist/primitives/InputOtp/index.js.map +1 -1
- package/dist/primitives/Item/index.cjs +6 -6
- package/dist/primitives/Item/index.cjs.map +1 -1
- package/dist/primitives/Item/index.js +6 -6
- package/dist/primitives/Item/index.js.map +1 -1
- package/dist/primitives/Kbd/index.cjs +1 -1
- package/dist/primitives/Kbd/index.cjs.map +1 -1
- package/dist/primitives/Kbd/index.js +1 -1
- package/dist/primitives/Kbd/index.js.map +1 -1
- package/dist/primitives/Link/index.cjs +4 -4
- package/dist/primitives/Link/index.cjs.map +1 -1
- package/dist/primitives/Link/index.js +4 -4
- package/dist/primitives/Link/index.js.map +1 -1
- package/dist/primitives/Menubar/index.cjs +12 -12
- package/dist/primitives/Menubar/index.cjs.map +1 -1
- package/dist/primitives/Menubar/index.js +12 -12
- package/dist/primitives/Menubar/index.js.map +1 -1
- package/dist/primitives/NativeSelect/index.cjs +5 -5
- package/dist/primitives/NativeSelect/index.cjs.map +1 -1
- package/dist/primitives/NativeSelect/index.js +5 -5
- package/dist/primitives/NativeSelect/index.js.map +1 -1
- package/dist/primitives/NavRail/index.cjs +9 -194
- package/dist/primitives/NavRail/index.d.cts +1 -0
- package/dist/primitives/NavRail/index.d.ts +1 -0
- package/dist/primitives/NavRail/index.js +1 -184
- package/dist/primitives/NavigationMenu/index.cjs +7 -7
- package/dist/primitives/NavigationMenu/index.cjs.map +1 -1
- package/dist/primitives/NavigationMenu/index.js +7 -7
- package/dist/primitives/NavigationMenu/index.js.map +1 -1
- package/dist/primitives/Pagination/index.cjs +7 -13
- 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 +8 -14
- package/dist/primitives/Pagination/index.js.map +1 -1
- package/dist/primitives/Popover/index.cjs +4 -4
- package/dist/primitives/Popover/index.cjs.map +1 -1
- package/dist/primitives/Popover/index.js +4 -4
- package/dist/primitives/Popover/index.js.map +1 -1
- package/dist/primitives/Progress/index.cjs +16 -16
- package/dist/primitives/Progress/index.cjs.map +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 +16 -16
- package/dist/primitives/Progress/index.js.map +1 -1
- package/dist/primitives/RadioGroup/index.cjs +7 -7
- 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 -7
- package/dist/primitives/RadioGroup/index.js.map +1 -1
- package/dist/primitives/Resizable/index.cjs +2 -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 +2 -2
- package/dist/primitives/Resizable/index.js.map +1 -1
- package/dist/primitives/ScrollArea/index.cjs +2 -2
- package/dist/primitives/ScrollArea/index.cjs.map +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 +2 -2
- package/dist/primitives/ScrollArea/index.js.map +1 -1
- package/dist/primitives/Select/index.cjs +8 -8
- 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 +8 -8
- package/dist/primitives/Select/index.js.map +1 -1
- package/dist/primitives/Separator/index.cjs +1 -1
- package/dist/primitives/Separator/index.cjs.map +1 -1
- package/dist/primitives/Separator/index.js +1 -1
- package/dist/primitives/Separator/index.js.map +1 -1
- package/dist/primitives/Sheet/index.cjs +8 -8
- 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 +8 -8
- 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.cjs +2 -2
- package/dist/primitives/Skeleton/index.cjs.map +1 -1
- package/dist/primitives/Skeleton/index.d.cts +1 -1
- package/dist/primitives/Skeleton/index.d.ts +1 -1
- package/dist/primitives/Skeleton/index.js +2 -2
- package/dist/primitives/Skeleton/index.js.map +1 -1
- package/dist/primitives/Slider/index.cjs +3 -3
- package/dist/primitives/Slider/index.cjs.map +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 +3 -3
- package/dist/primitives/Slider/index.js.map +1 -1
- package/dist/primitives/Sonner/index.cjs +13 -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 +13 -6
- package/dist/primitives/Sonner/index.js.map +1 -1
- package/dist/primitives/Spinner/index.d.cts +1 -1
- package/dist/primitives/Spinner/index.d.ts +1 -1
- package/dist/primitives/Switch/index.cjs +7 -7
- package/dist/primitives/Switch/index.cjs.map +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 +7 -7
- package/dist/primitives/Switch/index.js.map +1 -1
- package/dist/primitives/Table/index.cjs +7 -7
- package/dist/primitives/Table/index.cjs.map +1 -1
- package/dist/primitives/Table/index.d.cts +1 -1
- package/dist/primitives/Table/index.d.ts +1 -1
- package/dist/primitives/Table/index.js +7 -7
- package/dist/primitives/Table/index.js.map +1 -1
- package/dist/primitives/Tabs/index.cjs +21 -21
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.js +21 -21
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/primitives/Text/index.cjs +5 -5
- 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 +5 -5
- package/dist/primitives/Text/index.js.map +1 -1
- package/dist/primitives/Textarea/index.cjs +20 -8
- 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 +20 -8
- package/dist/primitives/Textarea/index.js.map +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 +11 -10
- 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 +11 -10
- package/dist/primitives/Toggle/index.js.map +1 -1
- package/dist/primitives/ToggleGroup/index.cjs +2 -2
- package/dist/primitives/ToggleGroup/index.cjs.map +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 +2 -2
- package/dist/primitives/ToggleGroup/index.js.map +1 -1
- package/dist/primitives/Tooltip/index.cjs +2 -2
- package/dist/primitives/Tooltip/index.cjs.map +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 +2 -2
- package/dist/primitives/Tooltip/index.js.map +1 -1
- package/dist/primitives/index.cjs +10 -10
- package/dist/primitives/index.d.cts +21 -21
- package/dist/primitives/index.d.ts +21 -21
- package/dist/primitives/index.js +2 -2
- package/dist/styles/base.css +23 -4
- package/dist/styles/brand-scopes.css +49 -0
- package/dist/styles/glass.css +13 -8
- package/dist/styles/index.css +8 -9
- package/dist/styles/theme.css +141 -90
- package/dist/styles/tokens/border-radius.css +8 -8
- package/dist/styles/tokens/mode-dark.css +71 -94
- package/dist/styles/tokens/mode-light.css +71 -94
- package/dist/styles/tokens/shadows.css +4 -7
- package/dist/styles/tokens/spacing.css +17 -37
- package/dist/styles/tokens/theme-bodhi.css +6 -28
- package/dist/styles/tokens/theme-slingshot.css +7 -28
- package/dist/styles/tokens/theme-sustain.css +6 -28
- package/dist/styles/typography.css +9 -9
- package/package.json +8 -2
- package/dist/index44.d.cts.map +0 -1
- package/dist/index44.d.ts.map +0 -1
- package/dist/primitives/NavRail/index.cjs.map +0 -1
- package/dist/primitives/NavRail/index.js.map +0 -1
- package/dist/styles/semantic.css +0 -178
- package/dist/styles/tokens/alpha.css +0 -39
- package/dist/styles/tokens/chart-colors-dark.css +0 -18
- package/dist/styles/tokens/chart-colors-light.css +0 -18
- package/dist/styles/tokens/colors.css +0 -251
package/dist/index62.d.cts
CHANGED
|
@@ -1,45 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime149 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
declare const ThemeContext: React.Context<ThemeContextValue | null>;
|
|
22
|
-
/**
|
|
23
|
-
* Owns the app's global appearance (colour mode + active product), reflects it to
|
|
24
|
-
* `<html>`, and persists it. Wrap the app tree once; read state with `useTheme()`.
|
|
25
|
-
*/
|
|
26
|
-
declare function ThemeProvider({
|
|
27
|
-
children,
|
|
28
|
-
defaultTheme,
|
|
29
|
-
defaultProduct,
|
|
30
|
-
storageKey
|
|
31
|
-
}: {
|
|
32
|
-
/** App subtree that consumes the theme context. */
|
|
33
|
-
children: React.ReactNode;
|
|
34
|
-
/** Colour mode used when nothing is stored (system preference still wins on first load). */
|
|
35
|
-
defaultTheme?: ThemeMode;
|
|
36
|
-
/** Product used when nothing is stored. */
|
|
37
|
-
defaultProduct?: ThemeProduct;
|
|
38
|
-
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
|
-
storageKey?: string;
|
|
40
|
-
}): react_jsx_runtime230.JSX.Element;
|
|
41
|
-
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
-
declare function useTheme(): ThemeContextValue;
|
|
6
|
+
//#region src/primitives/Textarea/Textarea.d.ts
|
|
7
|
+
declare const textareaVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "ai" | null | undefined;
|
|
9
|
+
shape?: "default" | "round" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
11
|
+
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
|
+
declare function Textarea({
|
|
13
|
+
className,
|
|
14
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
15
|
+
variant,
|
|
16
|
+
shape,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
|
+
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
|
+
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
+
}): react_jsx_runtime149.JSX.Element;
|
|
43
22
|
//#endregion
|
|
44
|
-
export {
|
|
23
|
+
export { textareaVariants as n, Textarea as t };
|
|
45
24
|
//# sourceMappingURL=index62.d.cts.map
|
package/dist/index62.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,gCAAA,CAAA;AA3BmC;iBA8B3B,QAAA,CAAQ;EAAA,SAAA;;SACf;EAAA,KAAA;EAAA,GAAA;CAAA,EAKC,KAAA,CAAM,cALP,CAAA,UAAA,CAAA,GAMA,YANA,CAAA,OAMoB,gBANpB,CAAA,GAAA;;OAGA,CAAA,EAKU,YALV,CAAA,OAK8B,gBAL9B,CAAA,CAAA,OAAA,CAAA;IAMC,oBAAA,CAAA,GAAA,CAAA,OAJM"}
|
package/dist/index62.d.ts
CHANGED
|
@@ -1,45 +1,24 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
5
|
|
|
4
|
-
//#region src/primitives/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
declare const ThemeContext: React.Context<ThemeContextValue | null>;
|
|
22
|
-
/**
|
|
23
|
-
* Owns the app's global appearance (colour mode + active product), reflects it to
|
|
24
|
-
* `<html>`, and persists it. Wrap the app tree once; read state with `useTheme()`.
|
|
25
|
-
*/
|
|
26
|
-
declare function ThemeProvider({
|
|
27
|
-
children,
|
|
28
|
-
defaultTheme,
|
|
29
|
-
defaultProduct,
|
|
30
|
-
storageKey
|
|
31
|
-
}: {
|
|
32
|
-
/** App subtree that consumes the theme context. */
|
|
33
|
-
children: React.ReactNode;
|
|
34
|
-
/** Colour mode used when nothing is stored (system preference still wins on first load). */
|
|
35
|
-
defaultTheme?: ThemeMode;
|
|
36
|
-
/** Product used when nothing is stored. */
|
|
37
|
-
defaultProduct?: ThemeProduct;
|
|
38
|
-
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
|
-
storageKey?: string;
|
|
40
|
-
}): react_jsx_runtime117.JSX.Element;
|
|
41
|
-
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
-
declare function useTheme(): ThemeContextValue;
|
|
6
|
+
//#region src/primitives/Textarea/Textarea.d.ts
|
|
7
|
+
declare const textareaVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "ai" | null | undefined;
|
|
9
|
+
shape?: "default" | "round" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
11
|
+
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
|
+
declare function Textarea({
|
|
13
|
+
className,
|
|
14
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
15
|
+
variant,
|
|
16
|
+
shape,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
|
+
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
|
+
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
+
}): react_jsx_runtime53.JSX.Element;
|
|
43
22
|
//#endregion
|
|
44
|
-
export {
|
|
23
|
+
export { textareaVariants as n, Textarea as t };
|
|
45
24
|
//# sourceMappingURL=index62.d.ts.map
|
package/dist/index62.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index62.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index62.d.ts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,+BAAA,CAAA;AA3BmC;iBA8B3B,QAAA,CAAQ;EAAA,SAAA;;SACf;EAAA,KAAA;EAAA,GAAA;CAAA,EAKC,KAAA,CAAM,cALP,CAAA,UAAA,CAAA,GAMA,YANA,CAAA,OAMoB,gBANpB,CAAA,GAAA;;OAGA,CAAA,EAKU,YALV,CAAA,OAK8B,gBAL9B,CAAA,CAAA,OAAA,CAAA;IAMC,mBAAA,CAAA,GAAA,CAAA,OAJM"}
|
package/dist/index63.d.cts
CHANGED
|
@@ -1,23 +1,45 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Toggle } from "radix-ui";
|
|
3
|
-
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import * as react_jsx_runtime147 from "react/jsx-runtime";
|
|
5
2
|
import * as React from "react";
|
|
6
3
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
//#region src/primitives/ThemeProvider/ThemeProvider.d.ts
|
|
5
|
+
/** Colour mode: light or dark (toggles the `.dark` class on `<html>`). */
|
|
6
|
+
type ThemeMode = "light" | "dark";
|
|
7
|
+
/** Active brand/product (drives the `.theme-{product}` class on `<html>`). */
|
|
8
|
+
type ThemeProduct = "slingshot" | "sustain" | "bodhi" | "psai";
|
|
9
|
+
type ThemePreferences = {
|
|
10
|
+
theme: ThemeMode;
|
|
11
|
+
product: ThemeProduct;
|
|
12
|
+
};
|
|
13
|
+
type ThemeContextValue = ThemePreferences & {
|
|
14
|
+
/** Set the colour mode explicitly. */
|
|
15
|
+
setTheme: (theme: ThemeMode) => void;
|
|
16
|
+
/** Flip between light and dark. */
|
|
17
|
+
toggleTheme: () => void;
|
|
18
|
+
/** Switch the active product (logo + background + future customisations). */
|
|
19
|
+
setProduct: (product: ThemeProduct) => void;
|
|
20
|
+
};
|
|
21
|
+
declare const ThemeContext: React.Context<ThemeContextValue | null>;
|
|
22
|
+
/**
|
|
23
|
+
* Owns the app's global appearance (colour mode + active product), reflects it to
|
|
24
|
+
* `<html>`, and persists it. Wrap the app tree once; read state with `useTheme()`.
|
|
25
|
+
*/
|
|
26
|
+
declare function ThemeProvider({
|
|
27
|
+
children,
|
|
28
|
+
defaultTheme,
|
|
29
|
+
defaultProduct,
|
|
30
|
+
storageKey
|
|
31
|
+
}: {
|
|
32
|
+
/** App subtree that consumes the theme context. */
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
/** Colour mode used when nothing is stored (system preference still wins on first load). */
|
|
35
|
+
defaultTheme?: ThemeMode;
|
|
36
|
+
/** Product used when nothing is stored. */
|
|
37
|
+
defaultProduct?: ThemeProduct;
|
|
38
|
+
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
|
+
storageKey?: string;
|
|
40
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
41
|
+
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
+
declare function useTheme(): ThemeContextValue;
|
|
21
43
|
//#endregion
|
|
22
|
-
export {
|
|
44
|
+
export { useTheme as a, ThemeProvider as i, ThemeMode as n, ThemeProduct as r, ThemeContext as t };
|
|
23
45
|
//# sourceMappingURL=index63.d.cts.map
|
package/dist/index63.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index63.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index63.d.cts","names":[],"sources":["../src/primitives/ThemeProvider/ThemeProvider.tsx"],"mappings":";;;;;KAaY,SAAA;;AAAA,KAEA,YAAA,GAFS,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;AAErB,KAIK,gBAAA,GAJmB;EAInB,KAAA,EAA4B,SAA5B;EAAgB,OAAA,EAAgC,YAAhC;;KAEhB,iBAAA,GAAoB,gBAF4B,GAAA;EAAY;EAE5D,QAAA,EAAA,CAAA,KAAA,EAEe,SAFE,EAAA,GAAA,IAAA;EAAA;aAAG,EAAA,GAAA,GAAA,IAAA;;YAMD,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,GAAA,IAAA;AAAY,CAAA;AAAA,cAG9B,YAAkE,EAAtD,KAAA,CAAA,OAAsD,CAAtD,iBAAsD,GAAA,IAAA,CAAA;;;;AAAtD;AAAA,iBAoCT,aAAA,CAAa;EAAA,QAAA;EAAA,YAAA;EAAA,cAAA;EAAA;CAAA,EAAA;EAAA;UACpB,EAMU,KAAA,CAAM,SANhB;;cAEA,CAAA,EAMe,SANf;;gBAIgB,CAAA,EAIC,YAJD;;YAIC,CAAA,EAAA,MAAA;IAGlB,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index63.d.ts
CHANGED
|
@@ -1,23 +1,45 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
-
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
4
|
-
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime48 from "react/jsx-runtime";
|
|
6
3
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
//#region src/primitives/ThemeProvider/ThemeProvider.d.ts
|
|
5
|
+
/** Colour mode: light or dark (toggles the `.dark` class on `<html>`). */
|
|
6
|
+
type ThemeMode = "light" | "dark";
|
|
7
|
+
/** Active brand/product (drives the `.theme-{product}` class on `<html>`). */
|
|
8
|
+
type ThemeProduct = "slingshot" | "sustain" | "bodhi" | "psai";
|
|
9
|
+
type ThemePreferences = {
|
|
10
|
+
theme: ThemeMode;
|
|
11
|
+
product: ThemeProduct;
|
|
12
|
+
};
|
|
13
|
+
type ThemeContextValue = ThemePreferences & {
|
|
14
|
+
/** Set the colour mode explicitly. */
|
|
15
|
+
setTheme: (theme: ThemeMode) => void;
|
|
16
|
+
/** Flip between light and dark. */
|
|
17
|
+
toggleTheme: () => void;
|
|
18
|
+
/** Switch the active product (logo + background + future customisations). */
|
|
19
|
+
setProduct: (product: ThemeProduct) => void;
|
|
20
|
+
};
|
|
21
|
+
declare const ThemeContext: React.Context<ThemeContextValue | null>;
|
|
22
|
+
/**
|
|
23
|
+
* Owns the app's global appearance (colour mode + active product), reflects it to
|
|
24
|
+
* `<html>`, and persists it. Wrap the app tree once; read state with `useTheme()`.
|
|
25
|
+
*/
|
|
26
|
+
declare function ThemeProvider({
|
|
27
|
+
children,
|
|
28
|
+
defaultTheme,
|
|
29
|
+
defaultProduct,
|
|
30
|
+
storageKey
|
|
31
|
+
}: {
|
|
32
|
+
/** App subtree that consumes the theme context. */
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
/** Colour mode used when nothing is stored (system preference still wins on first load). */
|
|
35
|
+
defaultTheme?: ThemeMode;
|
|
36
|
+
/** Product used when nothing is stored. */
|
|
37
|
+
defaultProduct?: ThemeProduct;
|
|
38
|
+
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
|
+
storageKey?: string;
|
|
40
|
+
}): react_jsx_runtime48.JSX.Element;
|
|
41
|
+
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
+
declare function useTheme(): ThemeContextValue;
|
|
21
43
|
//#endregion
|
|
22
|
-
export {
|
|
44
|
+
export { useTheme as a, ThemeProvider as i, ThemeMode as n, ThemeProduct as r, ThemeContext as t };
|
|
23
45
|
//# sourceMappingURL=index63.d.ts.map
|
package/dist/index63.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index63.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index63.d.ts","names":[],"sources":["../src/primitives/ThemeProvider/ThemeProvider.tsx"],"mappings":";;;;;KAaY,SAAA;;AAAA,KAEA,YAAA,GAFS,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;AAErB,KAIK,gBAAA,GAJmB;EAInB,KAAA,EAA4B,SAA5B;EAAgB,OAAA,EAAgC,YAAhC;;KAEhB,iBAAA,GAAoB,gBAF4B,GAAA;EAAY;EAE5D,QAAA,EAAA,CAAA,KAAA,EAEe,SAFE,EAAA,GAAA,IAAA;EAAA;aAAG,EAAA,GAAA,GAAA,IAAA;;YAMD,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,GAAA,IAAA;AAAY,CAAA;AAAA,cAG9B,YAAkE,EAAtD,KAAA,CAAA,OAAsD,CAAtD,iBAAsD,GAAA,IAAA,CAAA;;;;AAAtD;AAAA,iBAoCT,aAAA,CAAa;EAAA,QAAA;EAAA,YAAA;EAAA,cAAA;EAAA;CAAA,EAAA;EAAA;UACpB,EAMU,KAAA,CAAM,SANhB;;cAEA,CAAA,EAMe,SANf;;gBAIgB,CAAA,EAIC,YAJD;;YAIC,CAAA,EAAA,MAAA;IAGlB,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index64.d.cts
CHANGED
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import * as react_jsx_runtime144 from "react/jsx-runtime";
|
|
2
|
+
import { Toggle } from "radix-ui";
|
|
3
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
declare function
|
|
7
|
+
//#region src/primitives/Toggle/Toggle.d.ts
|
|
8
|
+
declare const toggleVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "outline" | null | undefined;
|
|
10
|
+
size?: "default" | "xs" | "sm" | "lg" | null | undefined;
|
|
11
|
+
shape?: "default" | "left" | "right" | "round" | "middle" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
13
|
+
/** A two-state button that can be toggled on or off, built on Radix Toggle. */
|
|
14
|
+
declare function Toggle$1({
|
|
15
15
|
className,
|
|
16
|
-
/** Visual style applied to every item: `default` (transparent) or `outline` (bordered). */
|
|
17
16
|
variant,
|
|
18
|
-
/** Control size applied to every item: `sm`, `default`, or `lg`. */
|
|
19
17
|
size,
|
|
20
|
-
|
|
21
|
-
radius,
|
|
22
|
-
/** Gap (in spacing units) between items; `0` collapses them into one segmented control. */
|
|
23
|
-
spacing,
|
|
24
|
-
/** The `ToggleGroupItem` elements that make up the group. */
|
|
25
|
-
children,
|
|
18
|
+
shape,
|
|
26
19
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof
|
|
28
|
-
radius?: ToggleGroupRadius;
|
|
29
|
-
spacing?: number;
|
|
30
|
-
}): react_jsx_runtime223.JSX.Element;
|
|
31
|
-
/** A single toggle button inside a `ToggleGroup`. Identified by its required `value`. */
|
|
32
|
-
declare function ToggleGroupItem({
|
|
33
|
-
className,
|
|
34
|
-
/** The item's label/content (text, icon, etc.). */
|
|
35
|
-
children,
|
|
36
|
-
/** Fallback visual style when not provided by the group context. */
|
|
37
|
-
variant,
|
|
38
|
-
/** Fallback control size when not provided by the group context. */
|
|
39
|
-
size,
|
|
40
|
-
/** Fallback corner shape when not provided by the group context. */
|
|
41
|
-
radius,
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<typeof ToggleGroup.Item> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
44
|
-
radius?: ToggleGroupRadius;
|
|
45
|
-
}): react_jsx_runtime223.JSX.Element;
|
|
20
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime144.JSX.Element;
|
|
46
21
|
//#endregion
|
|
47
|
-
export {
|
|
22
|
+
export { toggleVariants as n, Toggle$1 as t };
|
|
48
23
|
//# sourceMappingURL=index64.d.cts.map
|
package/dist/index64.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index64.d.cts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index64.d.cts","names":[],"sources":["../src/primitives/Toggle/Toggle.tsx"],"mappings":";;;;;;;cASM,sBAsCL;;;;AA7CmC,CAAA,GA6CnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,QAAA,CAAM;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAMZ,KAAA,CAAM,cANM,CAAA,OAMgB,MAAA,CAAgB,IANhC,CAAA,GAMwC,YANxC,CAAA,OAM4D,cAN5D,CAAA,CAAA,EAM2E,oBAAA,CAAA,GAAA,CAAA,OAN3E"}
|
package/dist/index64.d.ts
CHANGED
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
import { n as toggleVariants } from "./index63.js";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
2
|
+
import { Toggle } from "radix-ui";
|
|
3
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
5
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
|
-
//#region src/primitives/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
declare function
|
|
7
|
+
//#region src/primitives/Toggle/Toggle.d.ts
|
|
8
|
+
declare const toggleVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "outline" | null | undefined;
|
|
10
|
+
size?: "default" | "sm" | "lg" | "xs" | null | undefined;
|
|
11
|
+
shape?: "default" | "round" | "left" | "middle" | "right" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
13
|
+
/** A two-state button that can be toggled on or off, built on Radix Toggle. */
|
|
14
|
+
declare function Toggle$1({
|
|
15
15
|
className,
|
|
16
|
-
/** Visual style applied to every item: `default` (transparent) or `outline` (bordered). */
|
|
17
16
|
variant,
|
|
18
|
-
/** Control size applied to every item: `sm`, `default`, or `lg`. */
|
|
19
17
|
size,
|
|
20
|
-
|
|
21
|
-
radius,
|
|
22
|
-
/** Gap (in spacing units) between items; `0` collapses them into one segmented control. */
|
|
23
|
-
spacing,
|
|
24
|
-
/** The `ToggleGroupItem` elements that make up the group. */
|
|
25
|
-
children,
|
|
18
|
+
shape,
|
|
26
19
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof
|
|
28
|
-
radius?: ToggleGroupRadius;
|
|
29
|
-
spacing?: number;
|
|
30
|
-
}): react_jsx_runtime130.JSX.Element;
|
|
31
|
-
/** A single toggle button inside a `ToggleGroup`. Identified by its required `value`. */
|
|
32
|
-
declare function ToggleGroupItem({
|
|
33
|
-
className,
|
|
34
|
-
/** The item's label/content (text, icon, etc.). */
|
|
35
|
-
children,
|
|
36
|
-
/** Fallback visual style when not provided by the group context. */
|
|
37
|
-
variant,
|
|
38
|
-
/** Fallback control size when not provided by the group context. */
|
|
39
|
-
size,
|
|
40
|
-
/** Fallback corner shape when not provided by the group context. */
|
|
41
|
-
radius,
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<typeof ToggleGroup.Item> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
44
|
-
radius?: ToggleGroupRadius;
|
|
45
|
-
}): react_jsx_runtime130.JSX.Element;
|
|
20
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime47.JSX.Element;
|
|
46
21
|
//#endregion
|
|
47
|
-
export {
|
|
22
|
+
export { toggleVariants as n, Toggle$1 as t };
|
|
48
23
|
//# sourceMappingURL=index64.d.ts.map
|
package/dist/index64.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index64.d.ts","names":[],"sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index64.d.ts","names":[],"sources":["../src/primitives/Toggle/Toggle.tsx"],"mappings":";;;;;;;cASM,sBAsCL;;;;AA7CmC,CAAA,GA6CnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,QAAA,CAAM;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAMZ,KAAA,CAAM,cANM,CAAA,OAMgB,MAAA,CAAgB,IANhC,CAAA,GAMwC,YANxC,CAAA,OAM4D,cAN5D,CAAA,CAAA,EAM2E,mBAAA,CAAA,GAAA,CAAA,OAN3E"}
|
package/dist/index65.d.cts
CHANGED
|
@@ -1,25 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
1
|
+
import { n as toggleVariants } from "./index64.cjs";
|
|
2
|
+
import * as react_jsx_runtime125 from "react/jsx-runtime";
|
|
3
|
+
import { ToggleGroup } from "radix-ui";
|
|
3
4
|
import { VariantProps } from "class-variance-authority";
|
|
4
5
|
import * as React from "react";
|
|
5
6
|
|
|
6
|
-
//#region src/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
/** Centered, max-width page column with consistent gutters; optionally a glass panel. */
|
|
16
|
-
declare function Container({
|
|
17
|
-
as,
|
|
7
|
+
//#region src/primitives/ToggleGroup/ToggleGroup.d.ts
|
|
8
|
+
type ToggleGroupRadius = "default" | "round";
|
|
9
|
+
/**
|
|
10
|
+
* A set of two-state buttons where one (`type="single"`) or many
|
|
11
|
+
* (`type="multiple"`) can be pressed. Built on Radix ToggleGroup; items inherit
|
|
12
|
+
* `variant`/`size`/`radius` via context.
|
|
13
|
+
*/
|
|
14
|
+
declare function ToggleGroup$1({
|
|
18
15
|
className,
|
|
16
|
+
/** Visual style applied to every item: `default` (transparent) or `outline` (bordered). */
|
|
17
|
+
variant,
|
|
18
|
+
/** Control size applied to every item: `sm`, `default`, or `lg`. */
|
|
19
19
|
size,
|
|
20
|
+
/** Outer corner shape of the group: `default` (8px) or `round` (pill). */
|
|
21
|
+
radius,
|
|
22
|
+
/** Gap (in spacing units) between items; `0` collapses them into one segmented control. */
|
|
23
|
+
spacing,
|
|
24
|
+
/** The `ToggleGroupItem` elements that make up the group. */
|
|
25
|
+
children,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof ToggleGroup.Root> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
28
|
+
radius?: ToggleGroupRadius;
|
|
29
|
+
spacing?: number;
|
|
30
|
+
}): react_jsx_runtime125.JSX.Element;
|
|
31
|
+
/** A single toggle button inside a `ToggleGroup`. Identified by its required `value`. */
|
|
32
|
+
declare function ToggleGroupItem({
|
|
33
|
+
className,
|
|
34
|
+
/** The item's label/content (text, icon, etc.). */
|
|
35
|
+
children,
|
|
36
|
+
/** Fallback visual style when not provided by the group context. */
|
|
20
37
|
variant,
|
|
38
|
+
/** Fallback control size when not provided by the group context. */
|
|
39
|
+
size,
|
|
40
|
+
/** Fallback corner shape when not provided by the group context. */
|
|
41
|
+
radius,
|
|
21
42
|
...props
|
|
22
|
-
}:
|
|
43
|
+
}: React.ComponentProps<typeof ToggleGroup.Item> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
44
|
+
radius?: ToggleGroupRadius;
|
|
45
|
+
}): react_jsx_runtime125.JSX.Element;
|
|
23
46
|
//#endregion
|
|
24
|
-
export {
|
|
47
|
+
export { ToggleGroupItem as n, ToggleGroup$1 as t };
|
|
25
48
|
//# sourceMappingURL=index65.d.cts.map
|
package/dist/index65.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index65.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index65.d.cts","names":[],"sources":["../src/primitives/ToggleGroup/ToggleGroup.tsx"],"mappings":";;;;;;;KAWK,iBAAA;;;AALgD;AAK/B;;iBAmBb,aAAA,CACP;EAAA,SAAA;;SAIA;;;;;;SAYyB;;UAAzB;EAAA,GAAA;AAGC,CAHD,EADC,KAAA,CAAM,cACP,CAAA,OAD6B,WAAA,CAAqB,IAClD,CAAA,GAAA,IAAA,CAAK,YAAL,CAAA,OAAyB,cAAzB,CAAA,EAAA,OAAA,CAAA,GAAA;QACW,CAAA,EAAA,iBAAA;SAEV,CAAA,EAAA,MAAA;AAAA,CAAA,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;iBAuBM,eAAA,CAAe;EAAA,SAAA;;UAGtB;;SAIA;;;;;EAKyB,GAAA;CAAA,EADxB,KAAA,CAAM,cACkB,CAAA,OADI,WAAA,CAAqB,IACzB,CAAA,GAAzB,IAAyB,CAApB,YAAoB,CAAA,OAAA,cAAA,CAAA,EAAA,OAAA,CAAA,GAAA;QAApB,CAAA,EACM,iBADN;IAEJ,oBAAA,CAAA,GAAA,CAAA,OAFD"}
|
package/dist/index65.d.ts
CHANGED
|
@@ -1,25 +1,48 @@
|
|
|
1
|
+
import { n as toggleVariants } from "./index64.js";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
+
import { ToggleGroup } from "radix-ui";
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
3
5
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
5
6
|
|
|
6
|
-
//#region src/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
/** Centered, max-width page column with consistent gutters; optionally a glass panel. */
|
|
16
|
-
declare function Container({
|
|
17
|
-
as,
|
|
7
|
+
//#region src/primitives/ToggleGroup/ToggleGroup.d.ts
|
|
8
|
+
type ToggleGroupRadius = "default" | "round";
|
|
9
|
+
/**
|
|
10
|
+
* A set of two-state buttons where one (`type="single"`) or many
|
|
11
|
+
* (`type="multiple"`) can be pressed. Built on Radix ToggleGroup; items inherit
|
|
12
|
+
* `variant`/`size`/`radius` via context.
|
|
13
|
+
*/
|
|
14
|
+
declare function ToggleGroup$1({
|
|
18
15
|
className,
|
|
16
|
+
/** Visual style applied to every item: `default` (transparent) or `outline` (bordered). */
|
|
17
|
+
variant,
|
|
18
|
+
/** Control size applied to every item: `sm`, `default`, or `lg`. */
|
|
19
19
|
size,
|
|
20
|
+
/** Outer corner shape of the group: `default` (8px) or `round` (pill). */
|
|
21
|
+
radius,
|
|
22
|
+
/** Gap (in spacing units) between items; `0` collapses them into one segmented control. */
|
|
23
|
+
spacing,
|
|
24
|
+
/** The `ToggleGroupItem` elements that make up the group. */
|
|
25
|
+
children,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof ToggleGroup.Root> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
28
|
+
radius?: ToggleGroupRadius;
|
|
29
|
+
spacing?: number;
|
|
30
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
31
|
+
/** A single toggle button inside a `ToggleGroup`. Identified by its required `value`. */
|
|
32
|
+
declare function ToggleGroupItem({
|
|
33
|
+
className,
|
|
34
|
+
/** The item's label/content (text, icon, etc.). */
|
|
35
|
+
children,
|
|
36
|
+
/** Fallback visual style when not provided by the group context. */
|
|
20
37
|
variant,
|
|
38
|
+
/** Fallback control size when not provided by the group context. */
|
|
39
|
+
size,
|
|
40
|
+
/** Fallback corner shape when not provided by the group context. */
|
|
41
|
+
radius,
|
|
21
42
|
...props
|
|
22
|
-
}:
|
|
43
|
+
}: React.ComponentProps<typeof ToggleGroup.Item> & Omit<VariantProps<typeof toggleVariants>, "shape"> & {
|
|
44
|
+
radius?: ToggleGroupRadius;
|
|
45
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
23
46
|
//#endregion
|
|
24
|
-
export {
|
|
47
|
+
export { ToggleGroupItem as n, ToggleGroup$1 as t };
|
|
25
48
|
//# sourceMappingURL=index65.d.ts.map
|
package/dist/index65.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index65.d.ts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index65.d.ts","names":[],"sources":["../src/primitives/ToggleGroup/ToggleGroup.tsx"],"mappings":";;;;;;;KAWK,iBAAA;;;AALgD;AAK/B;;iBAmBb,aAAA,CACP;EAAA,SAAA;;SAIA;;;;;;SAYyB;;UAAzB;EAAA,GAAA;AAGC,CAHD,EADC,KAAA,CAAM,cACP,CAAA,OAD6B,WAAA,CAAqB,IAClD,CAAA,GAAA,IAAA,CAAK,YAAL,CAAA,OAAyB,cAAzB,CAAA,EAAA,OAAA,CAAA,GAAA;QACW,CAAA,EAAA,iBAAA;SAEV,CAAA,EAAA,MAAA;AAAA,CAAA,CAAA,EAAA,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;iBAuBM,eAAA,CAAe;EAAA,SAAA;;UAGtB;;SAIA;;;;;EAKyB,GAAA;CAAA,EADxB,KAAA,CAAM,cACkB,CAAA,OADI,WAAA,CAAqB,IACzB,CAAA,GAAzB,IAAyB,CAApB,YAAoB,CAAA,OAAA,cAAA,CAAA,EAAA,OAAA,CAAA,GAAA;QAApB,CAAA,EACM,iBADN;IAEJ,mBAAA,CAAA,GAAA,CAAA,OAFD"}
|