@psnext/design-system 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +32 -4
- package/SKILL.md +1 -1
- package/dist/Header.cjs +3 -3
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +3 -3
- package/dist/Header.js.map +1 -1
- package/dist/Mosaic.cjs +472 -0
- package/dist/Mosaic.cjs.map +1 -0
- package/dist/Mosaic.js +459 -0
- package/dist/Mosaic.js.map +1 -0
- package/dist/index.cjs +25 -4
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -5
- package/dist/index10.d.cts +5 -5
- package/dist/index10.d.ts +6 -6
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- package/dist/index13.d.ts.map +1 -1
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +58 -23
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +58 -23
- package/dist/index15.d.ts.map +1 -1
- package/dist/index16.d.cts +23 -32
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +23 -32
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.cts +34 -15
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +34 -15
- package/dist/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +13 -67
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +13 -67
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +55 -48
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +55 -48
- package/dist/index19.d.ts.map +1 -1
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +45 -75
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +45 -75
- package/dist/index20.d.ts.map +1 -1
- package/dist/index21.d.cts +39 -28
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +39 -28
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +98 -44
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +98 -44
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +65 -68
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +65 -68
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +27 -42
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +27 -42
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +68 -11
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +68 -11
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +75 -56
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +75 -56
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +38 -60
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +38 -60
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +10 -30
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +10 -30
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +72 -17
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +72 -17
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index30.d.cts +46 -80
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +46 -80
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +64 -33
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +64 -33
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +29 -18
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +29 -18
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +17 -51
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +17 -51
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +81 -36
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +81 -36
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +32 -69
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +32 -69
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +20 -13
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +20 -13
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +51 -21
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +51 -21
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +38 -15
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +38 -15
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +53 -81
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +53 -81
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +13 -16
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +13 -16
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +25 -52
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +24 -51
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +15 -40
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +15 -40
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +86 -77
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +86 -77
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +125 -1
- package/dist/index44.d.cts.map +1 -0
- package/dist/index44.d.ts +125 -1
- package/dist/index44.d.ts.map +1 -0
- package/dist/index45.d.cts +15 -41
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +15 -41
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +52 -24
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +52 -24
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +86 -31
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +86 -31
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +1 -25
- package/dist/index48.d.ts +1 -25
- package/dist/index49.d.cts +120 -14
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +120 -14
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +32 -53
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +32 -53
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +21 -56
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +21 -56
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +33 -23
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +33 -23
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +17 -201
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +17 -201
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +14 -19
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +14 -19
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +64 -23
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +64 -23
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +95 -22
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +95 -22
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +25 -6
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +25 -6
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +202 -43
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +202 -43
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +15 -40
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +15 -40
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +20 -55
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +20 -55
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +21 -41
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +21 -41
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +6 -18
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +6 -18
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +46 -41
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +46 -41
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +47 -19
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +47 -19
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +50 -35
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +50 -35
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +33 -13
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +33 -13
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +17 -84
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +17 -84
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +40 -14
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +40 -14
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +16 -30
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +16 -30
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.ts +8 -8
- package/dist/index70.d.cts +39 -27
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +39 -27
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +22 -79
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +22 -79
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +77 -264
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +77 -264
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +19 -0
- package/dist/index73.d.cts.map +1 -0
- package/dist/index73.d.ts +19 -0
- package/dist/index73.d.ts.map +1 -0
- package/dist/index74.d.cts +37 -0
- package/dist/index74.d.cts.map +1 -0
- package/dist/index74.d.ts +37 -0
- package/dist/index74.d.ts.map +1 -0
- package/dist/index75.d.cts +36 -0
- package/dist/index75.d.cts.map +1 -0
- package/dist/index75.d.ts +36 -0
- package/dist/index75.d.ts.map +1 -0
- package/dist/index76.d.cts +87 -0
- package/dist/index76.d.cts.map +1 -0
- package/dist/index76.d.ts +87 -0
- package/dist/index76.d.ts.map +1 -0
- package/dist/index77.d.cts +278 -0
- package/dist/index77.d.cts.map +1 -0
- package/dist/index77.d.ts +278 -0
- package/dist/index77.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.ts +2 -2
- package/dist/index9.d.ts.map +1 -1
- package/dist/layouts/Container/index.d.cts +1 -1
- package/dist/layouts/Container/index.d.ts +1 -1
- package/dist/layouts/MultiColumn/index.d.cts +1 -1
- package/dist/layouts/MultiColumn/index.d.ts +1 -1
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/index.d.cts +5 -5
- package/dist/layouts/index.d.ts +5 -5
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/DataTable/index.d.ts.map +1 -1
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Header/index.d.cts +1 -1
- package/dist/patterns/Header/index.d.ts +1 -1
- package/dist/patterns/MediaObject/index.d.cts +14 -14
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- package/dist/patterns/MediaObject/index.d.ts +14 -14
- package/dist/patterns/NavRail/index.d.cts +1 -1
- package/dist/patterns/NavRail/index.d.ts +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +3 -3
- package/dist/patterns/SectionHeading/index.d.ts +3 -3
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/Checkbox/index.cjs +1 -1
- package/dist/primitives/Checkbox/index.cjs.map +1 -1
- package/dist/primitives/Checkbox/index.d.cts +1 -1
- package/dist/primitives/Checkbox/index.d.ts +1 -1
- package/dist/primitives/Checkbox/index.js +1 -1
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/CheckboxTree/index.d.cts +1 -1
- package/dist/primitives/CheckboxTree/index.d.ts +1 -1
- package/dist/primitives/CircularProgress/index.cjs +106 -0
- package/dist/primitives/CircularProgress/index.cjs.map +1 -0
- package/dist/primitives/CircularProgress/index.d.cts +2 -0
- package/dist/primitives/CircularProgress/index.d.ts +2 -0
- package/dist/primitives/CircularProgress/index.js +105 -0
- package/dist/primitives/CircularProgress/index.js.map +1 -0
- package/dist/primitives/Collapsible/index.d.cts +1 -1
- package/dist/primitives/Collapsible/index.d.ts +1 -1
- package/dist/primitives/Combobox/index.cjs +210 -0
- package/dist/primitives/Combobox/index.cjs.map +1 -0
- package/dist/primitives/Combobox/index.d.cts +2 -0
- package/dist/primitives/Combobox/index.d.ts +2 -0
- package/dist/primitives/Combobox/index.js +199 -0
- package/dist/primitives/Combobox/index.js.map +1 -0
- package/dist/primitives/Command/index.d.cts +1 -1
- package/dist/primitives/Command/index.d.ts +1 -1
- package/dist/primitives/ContextMenu/index.d.cts +1 -1
- package/dist/primitives/ContextMenu/index.d.ts +1 -1
- package/dist/primitives/Credits/index.d.cts +1 -1
- package/dist/primitives/Credits/index.d.ts +1 -1
- package/dist/primitives/Dialog/index.d.cts +1 -1
- package/dist/primitives/Dialog/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.cjs +34 -2
- package/dist/primitives/Drawer/index.cjs.map +1 -1
- package/dist/primitives/Drawer/index.d.cts +1 -1
- package/dist/primitives/Drawer/index.d.ts +1 -1
- package/dist/primitives/Drawer/index.js +34 -2
- package/dist/primitives/Drawer/index.js.map +1 -1
- package/dist/primitives/DropdownMenu/index.d.cts +1 -1
- package/dist/primitives/DropdownMenu/index.d.ts +1 -1
- package/dist/primitives/Empty/index.d.cts +1 -1
- package/dist/primitives/Empty/index.d.ts +1 -1
- package/dist/primitives/Field/index.d.cts +1 -1
- package/dist/primitives/Field/index.d.ts +1 -1
- package/dist/primitives/FileUpload/index.cjs +354 -0
- package/dist/primitives/FileUpload/index.cjs.map +1 -0
- package/dist/primitives/FileUpload/index.d.cts +2 -0
- package/dist/primitives/FileUpload/index.d.ts +2 -0
- package/dist/primitives/FileUpload/index.js +351 -0
- package/dist/primitives/FileUpload/index.js.map +1 -0
- package/dist/primitives/Form/index.d.cts +1 -1
- package/dist/primitives/Form/index.d.ts +1 -1
- package/dist/primitives/Heading/index.d.cts +1 -1
- package/dist/primitives/Heading/index.d.ts +1 -1
- package/dist/primitives/HoverCard/index.d.cts +1 -1
- package/dist/primitives/HoverCard/index.d.ts +1 -1
- package/dist/primitives/Icon/index.d.cts +1 -1
- package/dist/primitives/Icon/index.d.ts +1 -1
- package/dist/primitives/InfoBanner/index.d.cts +1 -1
- package/dist/primitives/InfoBanner/index.d.ts +1 -1
- package/dist/primitives/Input/index.d.cts +1 -1
- package/dist/primitives/Input/index.d.ts +1 -1
- package/dist/primitives/InputGroup/index.d.cts +1 -1
- package/dist/primitives/InputGroup/index.d.ts +1 -1
- package/dist/primitives/InputOtp/index.d.cts +1 -1
- package/dist/primitives/InputOtp/index.d.ts +1 -1
- package/dist/primitives/Item/index.d.cts +1 -1
- package/dist/primitives/Item/index.d.ts +1 -1
- package/dist/primitives/Kbd/index.d.cts +1 -1
- package/dist/primitives/Kbd/index.d.ts +1 -1
- package/dist/primitives/Label/index.d.cts +1 -1
- package/dist/primitives/Label/index.d.ts +1 -1
- package/dist/primitives/Link/index.d.cts +1 -1
- package/dist/primitives/Link/index.d.ts +1 -1
- package/dist/primitives/Logo/index.d.cts +1 -1
- package/dist/primitives/Logo/index.d.ts +1 -1
- package/dist/primitives/Menubar/index.d.cts +1 -1
- package/dist/primitives/Menubar/index.d.ts +1 -1
- package/dist/primitives/Mosaic/index.cjs +4 -0
- package/dist/primitives/Mosaic/index.d.cts +2 -0
- package/dist/primitives/Mosaic/index.d.ts +2 -0
- package/dist/primitives/Mosaic/index.js +2 -0
- package/dist/primitives/NativeSelect/index.d.cts +1 -1
- package/dist/primitives/NativeSelect/index.d.ts +1 -1
- package/dist/primitives/NavRail/index.d.cts +2 -2
- package/dist/primitives/NavRail/index.d.ts +2 -2
- package/dist/primitives/NavigationMenu/index.d.cts +1 -1
- package/dist/primitives/NavigationMenu/index.d.ts +1 -1
- package/dist/primitives/NotchedCard/index.cjs +390 -0
- package/dist/primitives/NotchedCard/index.cjs.map +1 -0
- package/dist/primitives/NotchedCard/index.d.cts +2 -0
- package/dist/primitives/NotchedCard/index.d.ts +2 -0
- package/dist/primitives/NotchedCard/index.js +385 -0
- package/dist/primitives/NotchedCard/index.js.map +1 -0
- package/dist/primitives/Pagination/index.d.cts +1 -1
- package/dist/primitives/Pagination/index.d.ts +1 -1
- package/dist/primitives/Popover/index.d.cts +1 -1
- package/dist/primitives/Popover/index.d.ts +1 -1
- package/dist/primitives/Progress/index.d.cts +1 -1
- package/dist/primitives/Progress/index.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.cjs +1 -1
- package/dist/primitives/RadioGroup/index.cjs.map +1 -1
- package/dist/primitives/RadioGroup/index.d.cts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.js +1 -1
- package/dist/primitives/RadioGroup/index.js.map +1 -1
- package/dist/primitives/Resizable/index.d.cts +1 -1
- package/dist/primitives/Resizable/index.d.ts +1 -1
- package/dist/primitives/ScrollArea/index.d.cts +1 -1
- package/dist/primitives/ScrollArea/index.d.ts +1 -1
- package/dist/primitives/Select/index.d.cts +1 -1
- package/dist/primitives/Select/index.d.ts +1 -1
- package/dist/primitives/Sheet/index.cjs +34 -2
- package/dist/primitives/Sheet/index.cjs.map +1 -1
- package/dist/primitives/Sheet/index.d.cts +1 -1
- package/dist/primitives/Sheet/index.d.ts +1 -1
- package/dist/primitives/Sheet/index.js +34 -2
- package/dist/primitives/Sheet/index.js.map +1 -1
- package/dist/primitives/Sidebar/index.d.cts +1 -1
- package/dist/primitives/Sidebar/index.d.ts +1 -1
- package/dist/primitives/Skeleton/index.d.cts +1 -1
- package/dist/primitives/Skeleton/index.d.ts +1 -1
- package/dist/primitives/Slider/index.d.cts +1 -1
- package/dist/primitives/Slider/index.d.ts +1 -1
- package/dist/primitives/Sonner/index.d.cts +1 -1
- package/dist/primitives/Sonner/index.d.ts +1 -1
- package/dist/primitives/Spinner/index.d.cts +1 -1
- package/dist/primitives/Spinner/index.d.ts +1 -1
- package/dist/primitives/Switch/index.d.cts +1 -1
- package/dist/primitives/Switch/index.d.ts +1 -1
- package/dist/primitives/Table/index.d.cts +1 -1
- package/dist/primitives/Table/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.cjs +153 -10
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +1 -1
- package/dist/primitives/Tabs/index.js +153 -10
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/primitives/Text/index.d.cts +1 -1
- package/dist/primitives/Text/index.d.ts +1 -1
- package/dist/primitives/Textarea/index.d.cts +1 -1
- package/dist/primitives/Textarea/index.d.ts +1 -1
- package/dist/primitives/ThemeProvider/index.d.cts +1 -1
- package/dist/primitives/ThemeProvider/index.d.ts +1 -1
- package/dist/primitives/Toggle/index.d.cts +1 -1
- package/dist/primitives/Toggle/index.d.ts +1 -1
- package/dist/primitives/ToggleGroup/index.d.cts +1 -1
- package/dist/primitives/ToggleGroup/index.d.ts +1 -1
- package/dist/primitives/Tooltip/index.d.cts +1 -1
- package/dist/primitives/Tooltip/index.d.ts +1 -1
- package/dist/primitives/index.cjs +25 -4
- package/dist/primitives/index.d.cts +56 -51
- package/dist/primitives/index.d.ts +56 -51
- package/dist/primitives/index.js +10 -5
- package/dist/styles/tokens/mode-dark.css +1 -1
- package/package.json +1 -1
- package/dist/index48.d.cts.map +0 -1
- package/dist/index48.d.ts.map +0 -1
package/dist/index66.d.cts
CHANGED
|
@@ -1,25 +1,45 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
7
|
-
declare const
|
|
8
|
-
size?: "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
//#region src/primitives/Text/Text.d.ts
|
|
7
|
+
declare const textVariants: (props?: ({
|
|
8
|
+
size?: "large" | "regular" | "small" | "mini" | "caption" | null | undefined;
|
|
9
|
+
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
|
+
variant?: "default" | "muted" | "primary" | "destructive" | "success" | null | undefined;
|
|
11
|
+
font?: "body" | "heading" | "mono" | null | undefined;
|
|
12
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
13
|
+
truncate?: boolean | null | undefined;
|
|
14
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
15
|
+
type TextProps = Omit<React.ComponentProps<"p">, "color"> & VariantProps<typeof textVariants> & {
|
|
16
|
+
/** Element/component to render. Defaults to `p`. */
|
|
13
17
|
as?: React.ElementType;
|
|
18
|
+
/** Body type-scale step (font-size + line-height). Defaults to `regular`. */
|
|
19
|
+
size?: VariantProps<typeof textVariants>["size"];
|
|
20
|
+
/** Font weight. Defaults to `normal`. */
|
|
21
|
+
weight?: VariantProps<typeof textVariants>["weight"];
|
|
22
|
+
/** Foreground colour token. Defaults to `default` (text-primary-txt). */
|
|
23
|
+
variant?: VariantProps<typeof textVariants>["variant"];
|
|
24
|
+
/** Font family. Defaults to `body` (sans). */
|
|
25
|
+
font?: VariantProps<typeof textVariants>["font"];
|
|
26
|
+
/** Horizontal text alignment. */
|
|
27
|
+
align?: VariantProps<typeof textVariants>["align"];
|
|
28
|
+
/** Truncate to a single line with an ellipsis. */
|
|
29
|
+
truncate?: VariantProps<typeof textVariants>["truncate"];
|
|
14
30
|
};
|
|
15
|
-
/**
|
|
16
|
-
declare function
|
|
31
|
+
/** The typography primitive: renders any element via `as` and drives size/weight/colour from the body type scale. */
|
|
32
|
+
declare function Text({
|
|
17
33
|
as,
|
|
18
34
|
className,
|
|
19
35
|
size,
|
|
36
|
+
weight,
|
|
20
37
|
variant,
|
|
38
|
+
font,
|
|
39
|
+
align,
|
|
40
|
+
truncate,
|
|
21
41
|
...props
|
|
22
|
-
}:
|
|
42
|
+
}: TextProps): react_jsx_runtime28.JSX.Element;
|
|
23
43
|
//#endregion
|
|
24
|
-
export {
|
|
44
|
+
export { TextProps as n, textVariants as r, Text as t };
|
|
25
45
|
//# sourceMappingURL=index66.d.cts.map
|
package/dist/index66.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index66.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index66.d.cts","names":[],"sources":["../src/primitives/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,QAAS,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;EAAA,QAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IAFZ,+BAAA,CAAA,SAE0B,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAvB,SAAA,GAAY,IAAA,CAAK,KAAA,CAAM,cAAX,CAAA,GAAA,CAAA,EAAA,OAAA,CAAA,GACf,YADe,CAAA,OACK,YADL,CAAA,GAAA;;KACf,EAEO,KAAA,CAAM,WAFb;;MAI6B,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;QAEE,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,QAAA,CAAA;;SAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,SAAA,CAAA;;MAEH,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;OAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,OAAA,CAAA;;UAEG,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,UAAA,CAAA;;AAAR;AAAA,iBAIlB,IAAA,CAAI;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAUV,SAVU,CAAA,EAUD,mBAAA,CAAA,GAAA,CAAA,OAVC"}
|
package/dist/index66.d.ts
CHANGED
|
@@ -1,25 +1,45 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime289 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
7
|
-
declare const
|
|
8
|
-
size?: "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
//#region src/primitives/Text/Text.d.ts
|
|
7
|
+
declare const textVariants: (props?: ({
|
|
8
|
+
size?: "caption" | "large" | "regular" | "small" | "mini" | null | undefined;
|
|
9
|
+
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
|
+
variant?: "default" | "muted" | "primary" | "success" | "destructive" | null | undefined;
|
|
11
|
+
font?: "body" | "heading" | "mono" | null | undefined;
|
|
12
|
+
align?: "left" | "right" | "center" | null | undefined;
|
|
13
|
+
truncate?: boolean | null | undefined;
|
|
14
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string;
|
|
15
|
+
type TextProps = Omit<React.ComponentProps<"p">, "color"> & VariantProps<typeof textVariants> & {
|
|
16
|
+
/** Element/component to render. Defaults to `p`. */
|
|
13
17
|
as?: React.ElementType;
|
|
18
|
+
/** Body type-scale step (font-size + line-height). Defaults to `regular`. */
|
|
19
|
+
size?: VariantProps<typeof textVariants>["size"];
|
|
20
|
+
/** Font weight. Defaults to `normal`. */
|
|
21
|
+
weight?: VariantProps<typeof textVariants>["weight"];
|
|
22
|
+
/** Foreground colour token. Defaults to `default` (text-primary-txt). */
|
|
23
|
+
variant?: VariantProps<typeof textVariants>["variant"];
|
|
24
|
+
/** Font family. Defaults to `body` (sans). */
|
|
25
|
+
font?: VariantProps<typeof textVariants>["font"];
|
|
26
|
+
/** Horizontal text alignment. */
|
|
27
|
+
align?: VariantProps<typeof textVariants>["align"];
|
|
28
|
+
/** Truncate to a single line with an ellipsis. */
|
|
29
|
+
truncate?: VariantProps<typeof textVariants>["truncate"];
|
|
14
30
|
};
|
|
15
|
-
/**
|
|
16
|
-
declare function
|
|
31
|
+
/** The typography primitive: renders any element via `as` and drives size/weight/colour from the body type scale. */
|
|
32
|
+
declare function Text({
|
|
17
33
|
as,
|
|
18
34
|
className,
|
|
19
35
|
size,
|
|
36
|
+
weight,
|
|
20
37
|
variant,
|
|
38
|
+
font,
|
|
39
|
+
align,
|
|
40
|
+
truncate,
|
|
21
41
|
...props
|
|
22
|
-
}:
|
|
42
|
+
}: TextProps): react_jsx_runtime289.JSX.Element;
|
|
23
43
|
//#endregion
|
|
24
|
-
export {
|
|
44
|
+
export { TextProps as n, textVariants as r, Text as t };
|
|
25
45
|
//# sourceMappingURL=index66.d.ts.map
|
package/dist/index66.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index66.d.ts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index66.d.ts","names":[],"sources":["../src/primitives/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,MAAS,GAAA,OAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,QAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IAFZ,gCAAA,CAAA,SAE0B,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAvB,SAAA,GAAY,IAAA,CAAK,KAAA,CAAM,cAAX,CAAA,GAAA,CAAA,EAAA,OAAA,CAAA,GACf,YADe,CAAA,OACK,YADL,CAAA,GAAA;;KACf,EAEO,KAAA,CAAM,WAFb;;MAI6B,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;QAEE,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,QAAA,CAAA;;SAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,SAAA,CAAA;;MAEH,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;OAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,OAAA,CAAA;;UAEG,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,UAAA,CAAA;;AAAR;AAAA,iBAIlB,IAAA,CAAI;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAUV,SAVU,CAAA,EAUD,oBAAA,CAAA,GAAA,CAAA,OAVC"}
|
package/dist/index67.d.cts
CHANGED
|
@@ -1,91 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime311 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types28 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* One CSS grid track per column, in any combination — length sets the
|
|
14
|
-
* column count (3, 4, 5, ...N):
|
|
15
|
-
* - fixed: `"240px"` / `"16rem"`
|
|
16
|
-
* - percent: `"20%"`
|
|
17
|
-
* - fractional (fluid, shares remaining space): `"1fr"`, `"2fr"`
|
|
18
|
-
* - minmax (clamp between a min and max): `"minmax(200px,1fr)"`
|
|
19
|
-
*/
|
|
20
|
-
columns: string[];
|
|
21
|
-
/** Space between columns (and between stacked rows below `stackBelow`). */
|
|
22
|
-
gap?: VariantProps<typeof multiColumnVariants>["gap"];
|
|
23
|
-
/** Breakpoint the grid activates at; below it, columns stack vertically. Defaults to `"lg"`. */
|
|
24
|
-
stackBelow?: VariantProps<typeof multiColumnVariants>["stackBelow"];
|
|
25
|
-
/** Renders a drag handle between adjacent columns that live-resizes them. Default off. */
|
|
26
|
-
resizable?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Fires with the updated `columns` array while/after dragging a resize
|
|
29
|
-
* handle. Pass a `columns` value that changes in response to be fully
|
|
30
|
-
* controlled; omit to let MultiColumn track size internally.
|
|
31
|
-
*/
|
|
32
|
-
onColumnsChange?: (columns: string[]) => void;
|
|
33
|
-
/** Minimum size (in px, e.g. `"80px"`) a column can be resized down to. Defaults to `"80px"`. */
|
|
34
|
-
minColumnSize?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Renders a drag grip on each MultiColumnItem for drag-and-drop
|
|
37
|
-
* reordering, plus Ctrl+ArrowLeft/Right keyboard reordering when a grip
|
|
38
|
-
* is focused. Default off. Give each MultiColumnItem a stable `id` when
|
|
39
|
-
* using this — without one, MultiColumn falls back to a generated id
|
|
40
|
-
* (with a console warning) so it degrades safely rather than throwing.
|
|
41
|
-
*/
|
|
42
|
-
reorderable?: boolean;
|
|
43
|
-
/** Fires with the new left-to-right order of MultiColumnItem `id`s whenever a drag or keyboard move changes order. */
|
|
44
|
-
onReorderChange?: (orderedIds: string[]) => void;
|
|
45
|
-
};
|
|
46
|
-
/** CSS Grid N-column layout — pass one track per column via `columns`; stacks below `stackBelow`. */
|
|
47
|
-
declare function MultiColumn({
|
|
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_types28.ClassProp) | undefined) => string;
|
|
11
|
+
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
|
+
declare function Textarea({
|
|
48
13
|
className,
|
|
49
|
-
style
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
stackBelow,
|
|
53
|
-
resizable,
|
|
54
|
-
onColumnsChange,
|
|
55
|
-
minColumnSize,
|
|
56
|
-
reorderable,
|
|
57
|
-
onReorderChange,
|
|
58
|
-
children,
|
|
14
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
15
|
+
variant,
|
|
16
|
+
shape,
|
|
59
17
|
...props
|
|
60
|
-
}:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
readonly end: "self-end";
|
|
65
|
-
readonly stretch: "self-stretch";
|
|
66
|
-
};
|
|
67
|
-
type MultiColumnItemProps = React.ComponentProps<"div"> & {
|
|
68
|
-
/** Visual position via CSS `order`, independent of DOM/source order. */
|
|
69
|
-
order?: number;
|
|
70
|
-
/** Cross-axis alignment for this column only (`align-self`). */
|
|
71
|
-
align?: keyof typeof alignSelfClass;
|
|
72
|
-
/**
|
|
73
|
-
* Injected automatically by the parent MultiColumn when `reorderable` is
|
|
74
|
-
* set — renders a drag grip inside this item and wires pointer/keyboard
|
|
75
|
-
* reordering. Not meant to be passed directly.
|
|
76
|
-
*/
|
|
77
|
-
dragHandleProps?: React.ComponentProps<"button">;
|
|
78
|
-
};
|
|
79
|
-
/** A single column slot inside MultiColumn; `order` and `align` apply without reshuffling the DOM. */
|
|
80
|
-
declare function MultiColumnItem({
|
|
81
|
-
className,
|
|
82
|
-
style,
|
|
83
|
-
order,
|
|
84
|
-
align,
|
|
85
|
-
dragHandleProps,
|
|
86
|
-
children,
|
|
87
|
-
...props
|
|
88
|
-
}: MultiColumnItemProps): react_jsx_runtime225.JSX.Element;
|
|
18
|
+
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
|
+
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
|
+
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
+
}): react_jsx_runtime311.JSX.Element;
|
|
89
22
|
//#endregion
|
|
90
|
-
export {
|
|
23
|
+
export { textareaVariants as n, Textarea as t };
|
|
91
24
|
//# sourceMappingURL=index67.d.cts.map
|
package/dist/index67.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index67.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index67.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/index67.d.ts
CHANGED
|
@@ -1,91 +1,24 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime287 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types21 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* One CSS grid track per column, in any combination — length sets the
|
|
14
|
-
* column count (3, 4, 5, ...N):
|
|
15
|
-
* - fixed: `"240px"` / `"16rem"`
|
|
16
|
-
* - percent: `"20%"`
|
|
17
|
-
* - fractional (fluid, shares remaining space): `"1fr"`, `"2fr"`
|
|
18
|
-
* - minmax (clamp between a min and max): `"minmax(200px,1fr)"`
|
|
19
|
-
*/
|
|
20
|
-
columns: string[];
|
|
21
|
-
/** Space between columns (and between stacked rows below `stackBelow`). */
|
|
22
|
-
gap?: VariantProps<typeof multiColumnVariants>["gap"];
|
|
23
|
-
/** Breakpoint the grid activates at; below it, columns stack vertically. Defaults to `"lg"`. */
|
|
24
|
-
stackBelow?: VariantProps<typeof multiColumnVariants>["stackBelow"];
|
|
25
|
-
/** Renders a drag handle between adjacent columns that live-resizes them. Default off. */
|
|
26
|
-
resizable?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Fires with the updated `columns` array while/after dragging a resize
|
|
29
|
-
* handle. Pass a `columns` value that changes in response to be fully
|
|
30
|
-
* controlled; omit to let MultiColumn track size internally.
|
|
31
|
-
*/
|
|
32
|
-
onColumnsChange?: (columns: string[]) => void;
|
|
33
|
-
/** Minimum size (in px, e.g. `"80px"`) a column can be resized down to. Defaults to `"80px"`. */
|
|
34
|
-
minColumnSize?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Renders a drag grip on each MultiColumnItem for drag-and-drop
|
|
37
|
-
* reordering, plus Ctrl+ArrowLeft/Right keyboard reordering when a grip
|
|
38
|
-
* is focused. Default off. Give each MultiColumnItem a stable `id` when
|
|
39
|
-
* using this — without one, MultiColumn falls back to a generated id
|
|
40
|
-
* (with a console warning) so it degrades safely rather than throwing.
|
|
41
|
-
*/
|
|
42
|
-
reorderable?: boolean;
|
|
43
|
-
/** Fires with the new left-to-right order of MultiColumnItem `id`s whenever a drag or keyboard move changes order. */
|
|
44
|
-
onReorderChange?: (orderedIds: string[]) => void;
|
|
45
|
-
};
|
|
46
|
-
/** CSS Grid N-column layout — pass one track per column via `columns`; stacks below `stackBelow`. */
|
|
47
|
-
declare function MultiColumn({
|
|
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_types21.ClassProp) | undefined) => string;
|
|
11
|
+
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
|
+
declare function Textarea({
|
|
48
13
|
className,
|
|
49
|
-
style
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
stackBelow,
|
|
53
|
-
resizable,
|
|
54
|
-
onColumnsChange,
|
|
55
|
-
minColumnSize,
|
|
56
|
-
reorderable,
|
|
57
|
-
onReorderChange,
|
|
58
|
-
children,
|
|
14
|
+
/** Chrome style — `default` bordered field or `ai` (AI gradient border). */
|
|
15
|
+
variant,
|
|
16
|
+
shape,
|
|
59
17
|
...props
|
|
60
|
-
}:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
readonly end: "self-end";
|
|
65
|
-
readonly stretch: "self-stretch";
|
|
66
|
-
};
|
|
67
|
-
type MultiColumnItemProps = React.ComponentProps<"div"> & {
|
|
68
|
-
/** Visual position via CSS `order`, independent of DOM/source order. */
|
|
69
|
-
order?: number;
|
|
70
|
-
/** Cross-axis alignment for this column only (`align-self`). */
|
|
71
|
-
align?: keyof typeof alignSelfClass;
|
|
72
|
-
/**
|
|
73
|
-
* Injected automatically by the parent MultiColumn when `reorderable` is
|
|
74
|
-
* set — renders a drag grip inside this item and wires pointer/keyboard
|
|
75
|
-
* reordering. Not meant to be passed directly.
|
|
76
|
-
*/
|
|
77
|
-
dragHandleProps?: React.ComponentProps<"button">;
|
|
78
|
-
};
|
|
79
|
-
/** A single column slot inside MultiColumn; `order` and `align` apply without reshuffling the DOM. */
|
|
80
|
-
declare function MultiColumnItem({
|
|
81
|
-
className,
|
|
82
|
-
style,
|
|
83
|
-
order,
|
|
84
|
-
align,
|
|
85
|
-
dragHandleProps,
|
|
86
|
-
children,
|
|
87
|
-
...props
|
|
88
|
-
}: MultiColumnItemProps): react_jsx_runtime205.JSX.Element;
|
|
18
|
+
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
|
+
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
|
+
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
+
}): react_jsx_runtime287.JSX.Element;
|
|
89
22
|
//#endregion
|
|
90
|
-
export {
|
|
23
|
+
export { textareaVariants as n, Textarea as t };
|
|
91
24
|
//# sourceMappingURL=index67.d.ts.map
|
package/dist/index67.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index67.d.ts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index67.d.ts","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/index68.d.cts
CHANGED
|
@@ -1,19 +1,45 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
5
|
-
/**
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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_runtime37.JSX.Element;
|
|
41
|
+
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
+
declare function useTheme(): ThemeContextValue;
|
|
17
43
|
//#endregion
|
|
18
|
-
export {
|
|
44
|
+
export { useTheme as a, ThemeProvider as i, ThemeMode as n, ThemeProduct as r, ThemeContext as t };
|
|
19
45
|
//# sourceMappingURL=index68.d.cts.map
|
package/dist/index68.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index68.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index68.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,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index68.d.ts
CHANGED
|
@@ -1,19 +1,45 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime271 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
5
|
-
/**
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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_runtime271.JSX.Element;
|
|
41
|
+
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
|
+
declare function useTheme(): ThemeContextValue;
|
|
17
43
|
//#endregion
|
|
18
|
-
export {
|
|
44
|
+
export { useTheme as a, ThemeProvider as i, ThemeMode as n, ThemeProduct as r, ThemeContext as t };
|
|
19
45
|
//# sourceMappingURL=index68.d.ts.map
|
package/dist/index68.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index68.d.ts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index68.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,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index69.d.cts
CHANGED
|
@@ -1,37 +1,23 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime334 from "react/jsx-runtime";
|
|
2
|
+
import { Toggle } from "radix-ui";
|
|
3
|
+
import * as class_variance_authority_types29 from "class-variance-authority/types";
|
|
3
4
|
import { VariantProps } from "class-variance-authority";
|
|
4
5
|
import * as React from "react";
|
|
5
6
|
|
|
6
|
-
//#region src/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/** Render as a different element/component instead of the default `div`. */
|
|
15
|
-
as?: React.ElementType;
|
|
16
|
-
/** Layout axis: `vertical` (column) or `horizontal` (row). Defaults to `vertical`. */
|
|
17
|
-
direction?: VariantProps<typeof stackVariants>["direction"];
|
|
18
|
-
/** Spacing between children, mapped to spacing tokens. Defaults to `md`. */
|
|
19
|
-
gap?: VariantProps<typeof stackVariants>["gap"];
|
|
20
|
-
/** Cross-axis alignment (`align-items`). Defaults to `stretch`. */
|
|
21
|
-
align?: VariantProps<typeof stackVariants>["align"];
|
|
22
|
-
/** Main-axis distribution (`justify-content`). */
|
|
23
|
-
justify?: VariantProps<typeof stackVariants>["justify"];
|
|
24
|
-
};
|
|
25
|
-
/** Stack — flex container that lays out children in a column or row with token-spaced gaps. */
|
|
26
|
-
declare function Stack({
|
|
27
|
-
as,
|
|
7
|
+
//#region src/primitives/Toggle/Toggle.d.ts
|
|
8
|
+
declare const toggleVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "outline" | null | undefined;
|
|
10
|
+
size?: "sm" | "lg" | "xs" | "default" | null | undefined;
|
|
11
|
+
shape?: "default" | "left" | "right" | "round" | "middle" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types29.ClassProp) | undefined) => string;
|
|
13
|
+
/** A two-state button that can be toggled on or off, built on Radix Toggle. */
|
|
14
|
+
declare function Toggle$1({
|
|
28
15
|
className,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
justify,
|
|
16
|
+
variant,
|
|
17
|
+
size,
|
|
18
|
+
shape,
|
|
33
19
|
...props
|
|
34
|
-
}:
|
|
20
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime334.JSX.Element;
|
|
35
21
|
//#endregion
|
|
36
|
-
export {
|
|
22
|
+
export { toggleVariants as n, Toggle$1 as t };
|
|
37
23
|
//# sourceMappingURL=index69.d.cts.map
|
package/dist/index69.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.d.cts","names":[],"sources":["../src/
|
|
1
|
+
{"version":3,"file":"index69.d.cts","names":[],"sources":["../src/primitives/Toggle/Toggle.tsx"],"mappings":";;;;;;;cASM,sBAsCL;;;;AA7CmC,CAAA,GA6CnC,gCAAA,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"}
|