@psnext/design-system 2.5.0 → 2.7.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 +7 -2
- package/SKILL.md +1 -1
- package/dist/Header.cjs +2 -2
- package/dist/Header.js +2 -2
- package/dist/Logo.cjs +322 -315
- package/dist/Logo.cjs.map +1 -1
- package/dist/Logo.js +322 -315
- package/dist/Logo.js.map +1 -1
- package/dist/Mosaic.cjs +72 -15
- package/dist/Mosaic.cjs.map +1 -1
- package/dist/Mosaic.js +72 -15
- package/dist/Mosaic.js.map +1 -1
- package/dist/index.cjs +12 -2
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -3
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +6 -6
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +11 -11
- package/dist/index12.d.ts +11 -11
- package/dist/index13.d.cts +6 -6
- 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/index15.d.cts +2 -2
- package/dist/index15.d.ts +2 -2
- package/dist/index16.d.cts +3 -3
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +3 -3
- package/dist/index17.d.cts +2 -2
- package/dist/index17.d.ts +2 -2
- package/dist/index18.d.cts +4 -4
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +4 -4
- package/dist/index19.d.cts +11 -11
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +11 -11
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +10 -10
- package/dist/index20.d.ts +10 -10
- package/dist/index21.d.cts +30 -81
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +30 -81
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +114 -27
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +114 -27
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +75 -53
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +75 -53
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +28 -93
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +28 -93
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +58 -33
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +58 -33
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +93 -11
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +93 -11
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +32 -63
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +32 -63
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +11 -48
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +11 -48
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +68 -59
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +68 -59
- 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 +47 -30
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +47 -30
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +63 -17
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +63 -17
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +29 -80
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +29 -80
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +19 -34
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +19 -34
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +80 -18
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +80 -18
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +32 -51
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +32 -51
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +19 -36
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +19 -36
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +43 -61
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +43 -61
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +35 -11
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +35 -11
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +68 -20
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +68 -20
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index40.d.cts +14 -15
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +14 -15
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +22 -98
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +22 -98
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +16 -120
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +16 -120
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +99 -16
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +99 -16
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +184 -49
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +184 -49
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +16 -39
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +16 -39
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +37 -77
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +37 -77
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +96 -1
- package/dist/index47.d.cts.map +1 -0
- package/dist/index47.d.ts +96 -1
- package/dist/index47.d.ts.map +1 -0
- package/dist/index48.d.cts +1 -127
- package/dist/index48.d.ts +1 -127
- package/dist/index49.d.cts +121 -42
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +121 -42
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +42 -22
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +42 -22
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +21 -34
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +21 -34
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +33 -17
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +33 -17
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +18 -14
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +18 -14
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +12 -60
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +12 -60
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +51 -80
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +51 -80
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +91 -24
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +91 -24
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +25 -203
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +25 -203
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +198 -15
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +198 -15
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +21 -23
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +21 -23
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.ts +5 -5
- package/dist/index60.d.cts +21 -18
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +21 -18
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +21 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +21 -8
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +6 -44
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +6 -44
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +46 -47
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +46 -47
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +47 -59
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +47 -59
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +56 -38
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +56 -38
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +37 -16
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +37 -16
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +20 -41
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +20 -41
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +41 -19
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +41 -19
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +14 -39
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +14 -39
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index70.d.cts +39 -16
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +39 -16
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +17 -83
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +15 -81
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +83 -11
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +83 -11
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +12 -30
- package/dist/index73.d.cts.map +1 -1
- package/dist/index73.d.ts +12 -30
- package/dist/index73.d.ts.map +1 -1
- package/dist/index74.d.cts +28 -27
- package/dist/index74.d.cts.map +1 -1
- package/dist/index74.d.ts +28 -27
- package/dist/index74.d.ts.map +1 -1
- package/dist/index75.d.cts +33 -83
- package/dist/index75.d.cts.map +1 -1
- package/dist/index75.d.ts +33 -83
- package/dist/index75.d.ts.map +1 -1
- package/dist/index76.d.cts +82 -273
- package/dist/index76.d.cts.map +1 -1
- package/dist/index76.d.ts +82 -273
- package/dist/index76.d.ts.map +1 -1
- 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 +3 -3
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.ts +2 -2
- package/dist/layouts/Container/index.d.cts +1 -1
- package/dist/layouts/Container/index.d.ts +1 -1
- package/dist/layouts/MultiColumn/index.d.cts +1 -1
- package/dist/layouts/MultiColumn/index.d.ts +1 -1
- package/dist/layouts/PageBackground/index.d.cts +1 -1
- package/dist/layouts/PageBackground/index.d.ts +1 -1
- package/dist/layouts/Stack/index.d.cts +1 -1
- package/dist/layouts/Stack/index.d.ts +1 -1
- package/dist/layouts/TwoColumn/index.d.cts +1 -1
- package/dist/layouts/TwoColumn/index.d.ts +1 -1
- package/dist/layouts/index.d.cts +5 -5
- package/dist/layouts/index.d.ts +5 -5
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Header/index.d.cts +1 -1
- package/dist/patterns/Header/index.d.ts +1 -1
- package/dist/patterns/MediaObject/index.d.cts +14 -14
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- package/dist/patterns/MediaObject/index.d.ts +11 -11
- package/dist/patterns/MediaObject/index.d.ts.map +1 -1
- package/dist/patterns/NavRail/index.d.cts +1 -1
- package/dist/patterns/NavRail/index.d.ts +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.cts.map +1 -1
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.cts +3 -3
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +3 -3
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/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/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/Drawer/index.d.cts +1 -1
- package/dist/primitives/Drawer/index.d.ts +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.d.cts +1 -1
- package/dist/primitives/FileUpload/index.d.ts +1 -1
- 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.d.cts +2 -2
- package/dist/primitives/Mosaic/index.d.ts +2 -2
- 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.d.cts +1 -1
- package/dist/primitives/NotchedCard/index.d.ts +1 -1
- 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.d.cts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +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.d.cts +1 -1
- package/dist/primitives/Sheet/index.d.ts +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 +12 -2
- package/dist/primitives/index.d.cts +50 -49
- package/dist/primitives/index.d.ts +50 -49
- package/dist/primitives/index.js +4 -3
- 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/index71.d.ts
CHANGED
|
@@ -1,91 +1,25 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
-
//#region src/layouts/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
//#region src/layouts/Container/Container.d.ts
|
|
7
|
+
declare const containerVariants: (props?: ({
|
|
8
|
+
size?: "narrow" | "content" | "wide" | "full" | null | undefined;
|
|
9
|
+
variant?: "default" | "glass" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
11
|
-
type
|
|
12
|
-
/**
|
|
13
|
-
|
|
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;
|
|
11
|
+
type ContainerProps = React.ComponentProps<"div"> & VariantProps<typeof containerVariants> & {
|
|
12
|
+
/** Element/component to render as instead of the default `div` (e.g. `main`, `section`). */
|
|
13
|
+
as?: React.ElementType;
|
|
45
14
|
};
|
|
46
|
-
/**
|
|
47
|
-
declare function
|
|
15
|
+
/** Centered, max-width page column with consistent gutters; optionally a glass panel. */
|
|
16
|
+
declare function Container({
|
|
17
|
+
as,
|
|
48
18
|
className,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
gap,
|
|
52
|
-
stackBelow,
|
|
53
|
-
resizable,
|
|
54
|
-
onColumnsChange,
|
|
55
|
-
minColumnSize,
|
|
56
|
-
reorderable,
|
|
57
|
-
onReorderChange,
|
|
58
|
-
children,
|
|
19
|
+
size,
|
|
20
|
+
variant,
|
|
59
21
|
...props
|
|
60
|
-
}:
|
|
61
|
-
declare const alignSelfClass: {
|
|
62
|
-
readonly start: "self-start";
|
|
63
|
-
readonly center: "self-center";
|
|
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_runtime10.JSX.Element;
|
|
22
|
+
}: ContainerProps): react_jsx_runtime3.JSX.Element;
|
|
89
23
|
//#endregion
|
|
90
|
-
export {
|
|
24
|
+
export { ContainerProps as n, containerVariants as r, Container as t };
|
|
91
25
|
//# sourceMappingURL=index71.d.ts.map
|
package/dist/index71.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.d.ts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index71.d.ts","names":[],"sources":["../src/layouts/Container/Container.tsx"],"mappings":";;;;;;cAOM;;;IAkBJ,+BAAA,CAAA;AAxBkC,KA0B/B,cAAA,GAAiB,KAAA,CAAM,cAF1B,CAAA,KAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,iBAHpB,CAAA,GAAA;EAEG;EAAc,EAAA,CAAA,EAGV,KAAA,CAAM,WAHI;;;iBAOV,SAAA,CANP;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAM6D,cAN7D,CAAA,EAM2E,kBAAA,CAAA,GAAA,CAAA,OAN3E"}
|
package/dist/index72.d.cts
CHANGED
|
@@ -1,19 +1,91 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime209 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types21 from "class-variance-authority/types";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
|
|
4
|
-
//#region src/layouts/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
//#region src/layouts/MultiColumn/MultiColumn.d.ts
|
|
7
|
+
declare const multiColumnVariants: (props?: ({
|
|
8
|
+
gap?: "sm" | "lg" | "xl" | "none" | "md" | null | undefined;
|
|
9
|
+
stackBelow?: "sm" | "lg" | "xl" | "md" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types21.ClassProp) | undefined) => string;
|
|
11
|
+
type MultiColumnProps = React.ComponentProps<"div"> & VariantProps<typeof multiColumnVariants> & {
|
|
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;
|
|
9
45
|
};
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
12
|
-
fixed,
|
|
46
|
+
/** CSS Grid N-column layout — pass one track per column via `columns`; stacks below `stackBelow`. */
|
|
47
|
+
declare function MultiColumn({
|
|
13
48
|
className,
|
|
14
49
|
style,
|
|
50
|
+
columns,
|
|
51
|
+
gap,
|
|
52
|
+
stackBelow,
|
|
53
|
+
resizable,
|
|
54
|
+
onColumnsChange,
|
|
55
|
+
minColumnSize,
|
|
56
|
+
reorderable,
|
|
57
|
+
onReorderChange,
|
|
58
|
+
children,
|
|
15
59
|
...props
|
|
16
|
-
}:
|
|
60
|
+
}: MultiColumnProps): react_jsx_runtime209.JSX.Element;
|
|
61
|
+
declare const alignSelfClass: {
|
|
62
|
+
readonly start: "self-start";
|
|
63
|
+
readonly center: "self-center";
|
|
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_runtime209.JSX.Element;
|
|
17
89
|
//#endregion
|
|
18
|
-
export {
|
|
90
|
+
export { multiColumnVariants as a, MultiColumnProps as i, MultiColumnItem as n, MultiColumnItemProps as r, MultiColumn as t };
|
|
19
91
|
//# sourceMappingURL=index72.d.cts.map
|
package/dist/index72.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.d.cts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index72.d.cts","names":[],"sources":["../src/layouts/MultiColumn/MultiColumn.tsx"],"mappings":";;;;;;cAwBM;;;IAoBJ,gCAAA,CAAA;AAzC6B,KAwD1B,gBAAA,GAAmB,KAAA,CAAM,cAf5B,CAAA,KAAA,CAAA,GAgBA,YAhBA,CAAA,OAgBoB,mBAhBpB,CAAA,GAAA;EAeG;;;;;;;;SAcY,EAAA,MAAA,EAAA;EAAY;EA+CpB,GAAA,CAAA,EAjDC,YAiDU,CAAA,OAjDU,mBAiDV,CAAA,CAAA,KAAA,CAAA;EAAA;YAClB,CAAA,EAhDe,YAgDf,CAAA,OAhDmC,mBAgDnC,CAAA,CAAA,YAAA,CAAA;;WAEA,CAAA,EAAA,OAAA;;;;;;iBAMA,CAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;;eAEA,CAAA,EAAA,MAAA;;;AAEiB;AAAA;AA0RT;;;aAMa,CAAA,EAAA,OAAA;;EAMiB,eAAA,CAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;AAAA,CAAA;;iBAnT/B,WAAA,CAwTP;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;EAAA,UAAA;EAAA,SAAA;EAAA,eAAA;EAAA,aAAA;EAAA,WAAA;EAAA,eAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA3SC,gBA2SD,CAAA,EA3SiB,oBAAA,CAAA,GAAA,CAAA,OA2SjB;cAtBI,cAuBJ,EAAA;WACA,KAAA,EAAA,YAAA;WACA,MAAA,EAAA,aAAA;WACA,GAAA,EAAA,UAAA;WACA,OAAA,EAAA,cAAA;;KApBG,oBAAA,GAAuB,KAAA,CAAM,cAsBX,CAAA,KAAA,CAAA,GAAA;EAAA;;;uBAlBA;;;;;;oBAMH,KAAA,CAAM;;;iBAIjB,eAAA;;;;;;;;GAQN,uBAAoB,oBAAA,CAAA,GAAA,CAAA"}
|
package/dist/index72.d.ts
CHANGED
|
@@ -1,19 +1,91 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
5
|
|
|
4
|
-
//#region src/layouts/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
//#region src/layouts/MultiColumn/MultiColumn.d.ts
|
|
7
|
+
declare const multiColumnVariants: (props?: ({
|
|
8
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
stackBelow?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
|
+
type MultiColumnProps = React.ComponentProps<"div"> & VariantProps<typeof multiColumnVariants> & {
|
|
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;
|
|
9
45
|
};
|
|
10
|
-
/**
|
|
11
|
-
declare function
|
|
12
|
-
fixed,
|
|
46
|
+
/** CSS Grid N-column layout — pass one track per column via `columns`; stacks below `stackBelow`. */
|
|
47
|
+
declare function MultiColumn({
|
|
13
48
|
className,
|
|
14
49
|
style,
|
|
50
|
+
columns,
|
|
51
|
+
gap,
|
|
52
|
+
stackBelow,
|
|
53
|
+
resizable,
|
|
54
|
+
onColumnsChange,
|
|
55
|
+
minColumnSize,
|
|
56
|
+
reorderable,
|
|
57
|
+
onReorderChange,
|
|
58
|
+
children,
|
|
15
59
|
...props
|
|
16
|
-
}:
|
|
60
|
+
}: MultiColumnProps): react_jsx_runtime1.JSX.Element;
|
|
61
|
+
declare const alignSelfClass: {
|
|
62
|
+
readonly start: "self-start";
|
|
63
|
+
readonly center: "self-center";
|
|
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_runtime1.JSX.Element;
|
|
17
89
|
//#endregion
|
|
18
|
-
export {
|
|
90
|
+
export { multiColumnVariants as a, MultiColumnProps as i, MultiColumnItem as n, MultiColumnItemProps as r, MultiColumn as t };
|
|
19
91
|
//# sourceMappingURL=index72.d.ts.map
|
package/dist/index72.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.d.ts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index72.d.ts","names":[],"sources":["../src/layouts/MultiColumn/MultiColumn.tsx"],"mappings":";;;;;;cAwBM;;;IAoBJ,+BAAA,CAAA;AAzC6B,KAwD1B,gBAAA,GAAmB,KAAA,CAAM,cAf5B,CAAA,KAAA,CAAA,GAgBA,YAhBA,CAAA,OAgBoB,mBAhBpB,CAAA,GAAA;EAeG;;;;;;;;SAcY,EAAA,MAAA,EAAA;EAAY;EA+CpB,GAAA,CAAA,EAjDC,YAiDU,CAAA,OAjDU,mBAiDV,CAAA,CAAA,KAAA,CAAA;EAAA;YAClB,CAAA,EAhDe,YAgDf,CAAA,OAhDmC,mBAgDnC,CAAA,CAAA,YAAA,CAAA;;WAEA,CAAA,EAAA,OAAA;;;;;;iBAMA,CAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;;eAEA,CAAA,EAAA,MAAA;;;AAEiB;AAAA;AA0RT;;;aAMa,CAAA,EAAA,OAAA;;EAMiB,eAAA,CAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,EAAA,GAAA,IAAA;AAAA,CAAA;;iBAnT/B,WAAA,CAwTP;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;EAAA,UAAA;EAAA,SAAA;EAAA,eAAA;EAAA,aAAA;EAAA,WAAA;EAAA,eAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA3SC,gBA2SD,CAAA,EA3SiB,kBAAA,CAAA,GAAA,CAAA,OA2SjB;cAtBI,cAuBJ,EAAA;WACA,KAAA,EAAA,YAAA;WACA,MAAA,EAAA,aAAA;WACA,GAAA,EAAA,UAAA;WACA,OAAA,EAAA,cAAA;;KApBG,oBAAA,GAAuB,KAAA,CAAM,cAsBX,CAAA,KAAA,CAAA,GAAA;EAAA;;;uBAlBA;;;;;;oBAMH,KAAA,CAAM;;;iBAIjB,eAAA;;;;;;;;GAQN,uBAAoB,kBAAA,CAAA,GAAA,CAAA"}
|
package/dist/index73.d.cts
CHANGED
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as class_variance_authority_types26 from "class-variance-authority/types";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
4
2
|
import * as React from "react";
|
|
5
3
|
|
|
6
|
-
//#region src/layouts/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
justify?: "end" | "start" | "center" | "between" | null | undefined;
|
|
12
|
-
} & class_variance_authority_types26.ClassProp) | undefined) => string;
|
|
13
|
-
type StackProps = React.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
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"];
|
|
4
|
+
//#region src/layouts/PageBackground/PageBackground.d.ts
|
|
5
|
+
/** Props for {@link PageBackground}; extends the native `div` props. */
|
|
6
|
+
type PageBackgroundProps = React.ComponentProps<"div"> & {
|
|
7
|
+
/** Fixed to the viewport (default) vs absolute-fill of a positioned parent. */
|
|
8
|
+
fixed?: boolean;
|
|
24
9
|
};
|
|
25
|
-
/**
|
|
26
|
-
declare function
|
|
27
|
-
|
|
10
|
+
/** Ambient, theme-aware radial-gradient backdrop that sits behind the app so glass surfaces read. */
|
|
11
|
+
declare function PageBackground({
|
|
12
|
+
fixed,
|
|
28
13
|
className,
|
|
29
|
-
|
|
30
|
-
gap,
|
|
31
|
-
align,
|
|
32
|
-
justify,
|
|
14
|
+
style,
|
|
33
15
|
...props
|
|
34
|
-
}:
|
|
16
|
+
}: PageBackgroundProps): react_jsx_runtime204.JSX.Element;
|
|
35
17
|
//#endregion
|
|
36
|
-
export {
|
|
18
|
+
export { PageBackgroundProps as n, PageBackground as t };
|
|
37
19
|
//# sourceMappingURL=index73.d.cts.map
|
package/dist/index73.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index73.d.cts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index73.d.cts","names":[],"sources":["../src/layouts/PageBackground/PageBackground.tsx"],"mappings":";;;;;KAkBK,mBAAA,GAAsB,KAAA,CAAM;;EAA5B,KAAA,CAAA,EAAA,OAAA;AAA0C,CAAA;;iBAMtC,cAAA,CAAiB;EAAA,KAAA;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAA4C,mBAA5C,CAAA,EAA+D,oBAAA,CAAA,GAAA,CAAA,OAA/D"}
|
package/dist/index73.d.ts
CHANGED
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime325 from "react/jsx-runtime";
|
|
5
3
|
|
|
6
|
-
//#region src/layouts/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
justify?: "start" | "center" | "end" | "between" | null | undefined;
|
|
12
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
|
-
type StackProps = React.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
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"];
|
|
4
|
+
//#region src/layouts/PageBackground/PageBackground.d.ts
|
|
5
|
+
/** Props for {@link PageBackground}; extends the native `div` props. */
|
|
6
|
+
type PageBackgroundProps = React.ComponentProps<"div"> & {
|
|
7
|
+
/** Fixed to the viewport (default) vs absolute-fill of a positioned parent. */
|
|
8
|
+
fixed?: boolean;
|
|
24
9
|
};
|
|
25
|
-
/**
|
|
26
|
-
declare function
|
|
27
|
-
|
|
10
|
+
/** Ambient, theme-aware radial-gradient backdrop that sits behind the app so glass surfaces read. */
|
|
11
|
+
declare function PageBackground({
|
|
12
|
+
fixed,
|
|
28
13
|
className,
|
|
29
|
-
|
|
30
|
-
gap,
|
|
31
|
-
align,
|
|
32
|
-
justify,
|
|
14
|
+
style,
|
|
33
15
|
...props
|
|
34
|
-
}:
|
|
16
|
+
}: PageBackgroundProps): react_jsx_runtime325.JSX.Element;
|
|
35
17
|
//#endregion
|
|
36
|
-
export {
|
|
18
|
+
export { PageBackgroundProps as n, PageBackground as t };
|
|
37
19
|
//# sourceMappingURL=index73.d.ts.map
|
package/dist/index73.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index73.d.ts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index73.d.ts","names":[],"sources":["../src/layouts/PageBackground/PageBackground.tsx"],"mappings":";;;;;KAkBK,mBAAA,GAAsB,KAAA,CAAM;;EAA5B,KAAA,CAAA,EAAA,OAAA;AAA0C,CAAA;;iBAMtC,cAAA,CAAiB;EAAA,KAAA;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAA4C,mBAA5C,CAAA,EAA+D,oBAAA,CAAA,GAAA,CAAA,OAA/D"}
|
package/dist/index74.d.cts
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types20 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/layouts/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
|
|
6
|
+
//#region src/layouts/Stack/Stack.d.ts
|
|
7
|
+
declare const stackVariants: (props?: ({
|
|
8
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
gap?: "xs" | "sm" | "lg" | "xl" | "none" | "md" | "2xl" | null | undefined;
|
|
10
|
+
align?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
11
|
+
justify?: "center" | "end" | "start" | "between" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
13
|
+
type StackProps = React.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
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"];
|
|
16
24
|
};
|
|
17
|
-
/**
|
|
18
|
-
declare function
|
|
25
|
+
/** Stack — flex container that lays out children in a column or row with token-spaced gaps. */
|
|
26
|
+
declare function Stack({
|
|
27
|
+
as,
|
|
19
28
|
className,
|
|
29
|
+
direction,
|
|
20
30
|
gap,
|
|
21
|
-
|
|
31
|
+
align,
|
|
32
|
+
justify,
|
|
22
33
|
...props
|
|
23
|
-
}:
|
|
24
|
-
/** Sidebar column — full width when stacked, fixed `lg:w-64` beside the main column (override via `className`). */
|
|
25
|
-
declare function TwoColumnAside({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: React.ComponentProps<"aside">): react_jsx_runtime301.JSX.Element;
|
|
29
|
-
/** Main content column — fills the remaining space (`min-w-0 flex-1`) so it can shrink and truncate. */
|
|
30
|
-
declare function TwoColumnMain({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<"div">): react_jsx_runtime301.JSX.Element;
|
|
34
|
+
}: StackProps): react_jsx_runtime205.JSX.Element;
|
|
34
35
|
//#endregion
|
|
35
|
-
export {
|
|
36
|
+
export { StackProps as n, stackVariants as r, Stack as t };
|
|
36
37
|
//# sourceMappingURL=index74.d.cts.map
|
package/dist/index74.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index74.d.cts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index74.d.cts","names":[],"sources":["../src/layouts/Stack/Stack.tsx"],"mappings":";;;;;;cAOM,qBAmCS;;;;EAnCT,OAAA,CAAA,EAAA,QAiCJ,GAAA,KAAA,GAAA,OAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA,SAEa,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAV,UAAA,GAAa,KAAA,CAAM,cAAT,CAAA,KAAA,CAAA,GACb,YADa,CAAA,OACO,aADP,CAAA,GAAA;;KACO,EAEb,KAAA,CAAM,WAFO;;WAEP,CAAA,EAEC,YAFD,CAAA,OAEqB,aAFrB,CAAA,CAAA,WAAA,CAAA;;KAEC,CAAA,EAEN,YAFM,CAAA,OAEc,aAFd,CAAA,CAAA,KAAA,CAAA;;OAEN,CAAA,EAEE,YAFF,CAAA,OAEsB,aAFtB,CAAA,CAAA,OAAA,CAAA;;SAEE,CAAA,EAEE,YAFF,CAAA,OAEsB,aAFtB,CAAA,CAAA,SAAA,CAAA;;;AAEc,iBAIjB,KAAA,CAJiB;EAAA,EAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAIkD,UAJlD,CAAA,EAI4D,oBAAA,CAAA,GAAA,CAAA,OAJ5D"}
|
package/dist/index74.d.ts
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
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_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
-
//#region src/layouts/
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
|
|
6
|
+
//#region src/layouts/Stack/Stack.d.ts
|
|
7
|
+
declare const stackVariants: (props?: ({
|
|
8
|
+
direction?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
+
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
10
|
+
align?: "start" | "center" | "end" | "stretch" | null | undefined;
|
|
11
|
+
justify?: "start" | "center" | "end" | "between" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
|
+
type StackProps = React.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
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"];
|
|
16
24
|
};
|
|
17
|
-
/**
|
|
18
|
-
declare function
|
|
25
|
+
/** Stack — flex container that lays out children in a column or row with token-spaced gaps. */
|
|
26
|
+
declare function Stack({
|
|
27
|
+
as,
|
|
19
28
|
className,
|
|
29
|
+
direction,
|
|
20
30
|
gap,
|
|
21
|
-
|
|
31
|
+
align,
|
|
32
|
+
justify,
|
|
22
33
|
...props
|
|
23
|
-
}:
|
|
24
|
-
/** Sidebar column — full width when stacked, fixed `lg:w-64` beside the main column (override via `className`). */
|
|
25
|
-
declare function TwoColumnAside({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: React.ComponentProps<"aside">): react_jsx_runtime231.JSX.Element;
|
|
29
|
-
/** Main content column — fills the remaining space (`min-w-0 flex-1`) so it can shrink and truncate. */
|
|
30
|
-
declare function TwoColumnMain({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<"div">): react_jsx_runtime231.JSX.Element;
|
|
34
|
+
}: StackProps): react_jsx_runtime0.JSX.Element;
|
|
34
35
|
//#endregion
|
|
35
|
-
export {
|
|
36
|
+
export { StackProps as n, stackVariants as r, Stack as t };
|
|
36
37
|
//# sourceMappingURL=index74.d.ts.map
|
package/dist/index74.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index74.d.ts","names":[],"sources":["../src/layouts/
|
|
1
|
+
{"version":3,"file":"index74.d.ts","names":[],"sources":["../src/layouts/Stack/Stack.tsx"],"mappings":";;;;;;cAOM,qBAmCS;;;;EAnCT,OAAA,CAAA,EAAA,OAiCJ,GAAA,QAAA,GAAA,KAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;IAAA,+BAAA,CAAA,SAEa,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAV,UAAA,GAAa,KAAA,CAAM,cAAT,CAAA,KAAA,CAAA,GACb,YADa,CAAA,OACO,aADP,CAAA,GAAA;;KACO,EAEb,KAAA,CAAM,WAFO;;WAEP,CAAA,EAEC,YAFD,CAAA,OAEqB,aAFrB,CAAA,CAAA,WAAA,CAAA;;KAEC,CAAA,EAEN,YAFM,CAAA,OAEc,aAFd,CAAA,CAAA,KAAA,CAAA;;OAEN,CAAA,EAEE,YAFF,CAAA,OAEsB,aAFtB,CAAA,CAAA,OAAA,CAAA;;SAEE,CAAA,EAEE,YAFF,CAAA,OAEsB,aAFtB,CAAA,CAAA,SAAA,CAAA;;;AAEc,iBAIjB,KAAA,CAJiB;EAAA,EAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;EAAA,KAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAIkD,UAJlD,CAAA,EAI4D,kBAAA,CAAA,GAAA,CAAA,OAJ5D"}
|