@psnext/design-system 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +27 -4
- package/SKILL.md +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +1 -1
- 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 +13 -2
- 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 +7 -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.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/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.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 +90 -28
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +90 -28
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +28 -56
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +28 -56
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +53 -78
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +53 -78
- package/dist/index23.d.ts.map +1 -1
- package/dist/index24.d.cts +83 -33
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +83 -33
- package/dist/index24.d.ts.map +1 -1
- package/dist/index25.d.cts +43 -11
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +43 -11
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +11 -74
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +11 -74
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +68 -59
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +68 -59
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +47 -30
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +47 -30
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +63 -17
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +63 -17
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index30.d.cts +29 -80
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +29 -80
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +19 -34
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +19 -34
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +80 -18
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +79 -17
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +32 -51
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +32 -51
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +19 -36
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +19 -36
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +43 -61
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +43 -61
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +35 -11
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +35 -11
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +68 -20
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +68 -20
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +14 -15
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +14 -15
- package/dist/index38.d.ts.map +1 -1
- package/dist/index39.d.cts +22 -98
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +22 -98
- package/dist/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +15 -17
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +15 -17
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +84 -35
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +84 -35
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +118 -38
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +118 -38
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +15 -89
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +15 -89
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +56 -1
- package/dist/index44.d.cts.map +1 -0
- package/dist/index44.d.ts +56 -1
- package/dist/index44.d.ts.map +1 -0
- package/dist/index45.d.cts +31 -34
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +31 -34
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +89 -21
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +89 -21
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +1 -41
- package/dist/index47.d.ts +1 -41
- package/dist/index48.d.cts +122 -20
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +122 -20
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +40 -13
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +40 -13
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +22 -63
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +22 -63
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +33 -55
- package/dist/index51.d.cts.map +1 -1
- package/dist/index51.d.ts +33 -55
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +18 -24
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +18 -24
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +12 -200
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +12 -200
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +58 -15
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +58 -15
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +93 -23
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +93 -23
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +27 -21
- package/dist/index56.d.cts.map +1 -1
- package/dist/index56.d.ts +27 -21
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +203 -6
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +203 -6
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +17 -41
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +17 -41
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +24 -47
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +24 -47
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index60.d.cts +19 -57
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +19 -57
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +6 -39
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +6 -39
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +44 -18
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +44 -18
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +47 -41
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +47 -41
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +55 -15
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +55 -15
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +36 -39
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +36 -39
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +16 -17
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +16 -17
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +38 -84
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +38 -84
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +17 -13
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +17 -13
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +41 -30
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +41 -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/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +17 -28
- package/dist/index70.d.cts.map +1 -1
- package/dist/index70.d.ts +17 -28
- package/dist/index70.d.ts.map +1 -1
- package/dist/index71.d.cts +88 -79
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +88 -79
- package/dist/index71.d.ts.map +1 -1
- package/dist/index72.d.cts +13 -272
- package/dist/index72.d.cts.map +1 -1
- package/dist/index72.d.ts +13 -272
- package/dist/index72.d.ts.map +1 -1
- package/dist/index73.d.cts +37 -0
- package/dist/index73.d.cts.map +1 -0
- package/dist/index73.d.ts +37 -0
- package/dist/index73.d.ts.map +1 -0
- package/dist/index74.d.cts +36 -0
- package/dist/index74.d.cts.map +1 -0
- package/dist/index74.d.ts +36 -0
- package/dist/index74.d.ts.map +1 -0
- package/dist/index75.d.cts +86 -0
- package/dist/index75.d.cts.map +1 -0
- package/dist/index75.d.ts +86 -0
- package/dist/index75.d.ts.map +1 -0
- package/dist/index76.d.cts +278 -0
- package/dist/index76.d.cts.map +1 -0
- package/dist/index76.d.ts +278 -0
- package/dist/index76.d.ts.map +1 -0
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/layouts/Container/index.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 +13 -13
- 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/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +3 -3
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +3 -3
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/primitives/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/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.d.cts +1 -1
- package/dist/primitives/Tabs/index.d.ts +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 +13 -2
- package/dist/primitives/index.d.cts +55 -51
- package/dist/primitives/index.d.ts +55 -51
- package/dist/primitives/index.js +7 -3
- package/package.json +1 -1
- package/dist/index47.d.cts.map +0 -1
- package/dist/index47.d.ts.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
|
+
|
|
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"];
|
|
24
|
+
};
|
|
25
|
+
/** Stack — flex container that lays out children in a column or row with token-spaced gaps. */
|
|
26
|
+
declare function Stack({
|
|
27
|
+
as,
|
|
28
|
+
className,
|
|
29
|
+
direction,
|
|
30
|
+
gap,
|
|
31
|
+
align,
|
|
32
|
+
justify,
|
|
33
|
+
...props
|
|
34
|
+
}: StackProps): react_jsx_runtime7.JSX.Element;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { StackProps as n, stackVariants as r, Stack as t };
|
|
37
|
+
//# sourceMappingURL=index73.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index73.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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as react_jsx_runtime301 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types25 from "class-variance-authority/types";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/layouts/TwoColumn/TwoColumn.d.ts
|
|
7
|
+
declare const twoColumnVariants: (props?: ({
|
|
8
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
reverse?: boolean | null | undefined;
|
|
10
|
+
} & class_variance_authority_types25.ClassProp) | undefined) => string;
|
|
11
|
+
type TwoColumnProps = React.ComponentProps<"div"> & VariantProps<typeof twoColumnVariants> & {
|
|
12
|
+
/** Space between the aside and main columns (and between stacked rows below `lg`). */
|
|
13
|
+
gap?: VariantProps<typeof twoColumnVariants>["gap"];
|
|
14
|
+
/** Place the aside after the main column at `lg` and up (`flex-row-reverse`). */
|
|
15
|
+
reverse?: VariantProps<typeof twoColumnVariants>["reverse"];
|
|
16
|
+
};
|
|
17
|
+
/** Composable two-column layout (aside + main) that stacks vertically below `lg`. */
|
|
18
|
+
declare function TwoColumn({
|
|
19
|
+
className,
|
|
20
|
+
gap,
|
|
21
|
+
reverse,
|
|
22
|
+
...props
|
|
23
|
+
}: TwoColumnProps): react_jsx_runtime301.JSX.Element;
|
|
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
|
+
//#endregion
|
|
35
|
+
export { twoColumnVariants as a, TwoColumnProps as i, TwoColumnAside as n, TwoColumnMain as r, TwoColumn as t };
|
|
36
|
+
//# sourceMappingURL=index74.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index74.d.cts","names":[],"sources":["../src/layouts/TwoColumn/TwoColumn.tsx"],"mappings":";;;;;;cASM;;;IAgBJ,gCAAA,CAAA;AAxBkC,KA0B/B,cAAA,GAAiB,KAAA,CAAM,cAF1B,CAAA,KAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,iBAHpB,CAAA,GAAA;EAEG;EAAc,GAAA,CAAA,EAGT,YAHS,CAAA,OAGW,iBAHX,CAAA,CAAA,KAAA,CAAA;;SACG,CAAA,EAIR,YAJQ,CAAA,OAIY,iBAJZ,CAAA,CAAA,SAAA,CAAA;;;iBAQb,SAAA,CANC;EAAA,SAAA;EAAA,GAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAMgD,cANhD,CAAA,EAM8D,oBAAA,CAAA,GAAA,CAAA,OAN9D;;iBAiBD,cAAA,CAfK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAemC,KAAA,CAAM,cAfzC,CAAA,OAAA,CAAA,CAAA,EAegE,oBAAA,CAAA,GAAA,CAAA,OAfhE;AAAY;AAAA,iBA0BjB,aAAA,CAtBS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsB8B,KAAA,CAAM,cAtBpC,CAAA,KAAA,CAAA,CAAA,EAsByD,oBAAA,CAAA,GAAA,CAAA,OAtBzD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime231 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types21 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region src/layouts/TwoColumn/TwoColumn.d.ts
|
|
7
|
+
declare const twoColumnVariants: (props?: ({
|
|
8
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
reverse?: boolean | null | undefined;
|
|
10
|
+
} & class_variance_authority_types21.ClassProp) | undefined) => string;
|
|
11
|
+
type TwoColumnProps = React.ComponentProps<"div"> & VariantProps<typeof twoColumnVariants> & {
|
|
12
|
+
/** Space between the aside and main columns (and between stacked rows below `lg`). */
|
|
13
|
+
gap?: VariantProps<typeof twoColumnVariants>["gap"];
|
|
14
|
+
/** Place the aside after the main column at `lg` and up (`flex-row-reverse`). */
|
|
15
|
+
reverse?: VariantProps<typeof twoColumnVariants>["reverse"];
|
|
16
|
+
};
|
|
17
|
+
/** Composable two-column layout (aside + main) that stacks vertically below `lg`. */
|
|
18
|
+
declare function TwoColumn({
|
|
19
|
+
className,
|
|
20
|
+
gap,
|
|
21
|
+
reverse,
|
|
22
|
+
...props
|
|
23
|
+
}: TwoColumnProps): react_jsx_runtime231.JSX.Element;
|
|
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
|
+
//#endregion
|
|
35
|
+
export { twoColumnVariants as a, TwoColumnProps as i, TwoColumnAside as n, TwoColumnMain as r, TwoColumn as t };
|
|
36
|
+
//# sourceMappingURL=index74.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index74.d.ts","names":[],"sources":["../src/layouts/TwoColumn/TwoColumn.tsx"],"mappings":";;;;;;cASM;;;IAgBJ,gCAAA,CAAA;AAxBkC,KA0B/B,cAAA,GAAiB,KAAA,CAAM,cAF1B,CAAA,KAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,iBAHpB,CAAA,GAAA;EAEG;EAAc,GAAA,CAAA,EAGT,YAHS,CAAA,OAGW,iBAHX,CAAA,CAAA,KAAA,CAAA;;SACG,CAAA,EAIR,YAJQ,CAAA,OAIY,iBAJZ,CAAA,CAAA,SAAA,CAAA;;;iBAQb,SAAA,CANC;EAAA,SAAA;EAAA,GAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAMgD,cANhD,CAAA,EAM8D,oBAAA,CAAA,GAAA,CAAA,OAN9D;;iBAiBD,cAAA,CAfK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAemC,KAAA,CAAM,cAfzC,CAAA,OAAA,CAAA,CAAA,EAegE,oBAAA,CAAA,GAAA,CAAA,OAfhE;AAAY;AAAA,iBA0BjB,aAAA,CAtBS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsB8B,KAAA,CAAM,cAtBpC,CAAA,KAAA,CAAA,CAAA,EAsByD,oBAAA,CAAA,GAAA,CAAA,OAtBzD"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { i as AccordionTrigger, n as AccordionContent, r as AccordionItem, t as Accordion } from "./index.cjs";
|
|
2
|
+
import { a as AlertTitle, i as AlertDescription, n as AlertAction, r as AlertContent, t as Alert } from "./index2.cjs";
|
|
3
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, d as AlertDialogTitle, f as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogOverlay, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogPortal } from "./index3.cjs";
|
|
4
|
+
import { t as AspectRatio } from "./index4.cjs";
|
|
5
|
+
import { a as AvatarGroupCount, i as AvatarGroup, n as AvatarBadge, o as AvatarImage, r as AvatarFallback, t as Avatar } from "./index5.cjs";
|
|
6
|
+
import { n as badgeVariants, t as Badge } from "./index6.cjs";
|
|
7
|
+
import { a as BreadcrumbList, i as BreadcrumbLink, n as BreadcrumbEllipsis, o as BreadcrumbPage, r as BreadcrumbItem, s as BreadcrumbSeparator, t as Breadcrumb } from "./index7.cjs";
|
|
8
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./index8.cjs";
|
|
9
|
+
import { n as SeparatorSpacing, t as Separator } from "./index9.cjs";
|
|
10
|
+
import { i as buttonGroupVariants, n as ButtonGroupSeparator, r as ButtonGroupText, t as ButtonGroup } from "./index10.cjs";
|
|
11
|
+
import { n as CalendarDayButton, t as Calendar } from "./index11.cjs";
|
|
12
|
+
import { a as CardFooter, c as CardTitle, i as CardDescription, l as cardVariants, n as CardAction, o as CardHeader, r as CardContent, s as CardProps, t as Card } from "./index12.cjs";
|
|
13
|
+
import { a as CarouselNext, i as CarouselItem, n as CarouselApi, o as CarouselPrevious, r as CarouselContent, t as Carousel } from "./index13.cjs";
|
|
14
|
+
import { a as ChartStyle, i as ChartLegendContent, n as ChartContainer, o as ChartTooltip, r as ChartLegend, s as ChartTooltipContent, t as ChartConfig } from "./index14.cjs";
|
|
15
|
+
import { n as CircularProgressProps, r as CircularProgressVariant, t as CircularProgress } from "./index15.cjs";
|
|
16
|
+
import { n as RichCheckbox, t as Checkbox } from "./index16.cjs";
|
|
17
|
+
import { n as CheckboxTreeNode, t as CheckboxTree } from "./index17.cjs";
|
|
18
|
+
import { n as CollapsibleContent, r as CollapsibleTrigger, t as Collapsible } from "./index18.cjs";
|
|
19
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./index19.cjs";
|
|
20
|
+
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "./index20.cjs";
|
|
21
|
+
import { a as ContextMenuItem, c as ContextMenuRadioGroup, d as ContextMenuShortcut, f as ContextMenuSub, h as ContextMenuTrigger, i as ContextMenuGroup, l as ContextMenuRadioItem, m as ContextMenuSubTrigger, n as ContextMenuCheckboxItem, o as ContextMenuLabel, p as ContextMenuSubContent, r as ContextMenuContent, s as ContextMenuPortal, t as ContextMenu, u as ContextMenuSeparator } from "./index21.cjs";
|
|
22
|
+
import { i as creditsVariants, n as CreditsProps, r as CreditsVariant, t as Credits } from "./index22.cjs";
|
|
23
|
+
import { a as DrawerFooter, c as DrawerPortal, i as DrawerDescription, l as DrawerTitle, n as DrawerClose, o as DrawerHeader, r as DrawerContent, s as DrawerOverlay, t as Drawer, u as DrawerTrigger } from "./index23.cjs";
|
|
24
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "./index24.cjs";
|
|
25
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, s as emptyVariants, t as Empty } from "./index25.cjs";
|
|
26
|
+
import { t as Label } from "./index26.cjs";
|
|
27
|
+
import { a as FieldGroup, c as FieldSeparator, i as FieldError, l as FieldSet, n as FieldContent, o as FieldLabel, r as FieldDescription, s as FieldLegend, t as Field, u as FieldTitle } from "./index27.cjs";
|
|
28
|
+
import { a as FileUploadStatus, i as FileUploadProps, n as FileUploadHandler, r as FileUploadItem, t as FileUpload } from "./index28.cjs";
|
|
29
|
+
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "./index29.cjs";
|
|
30
|
+
import { n as HeadingProps, r as headingVariants, t as Heading } from "./index30.cjs";
|
|
31
|
+
import { n as HoverCardContent, r as HoverCardTrigger, t as HoverCard } from "./index31.cjs";
|
|
32
|
+
import { i as IconName, n as IconProps, r as ICON_NAMES, t as Icon } from "./index32.cjs";
|
|
33
|
+
import { n as InfoBannerProps, r as infoBannerVariants, t as InfoBanner } from "./index33.cjs";
|
|
34
|
+
import { n as inputVariants, t as Input } from "./index34.cjs";
|
|
35
|
+
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as InputGroupTextarea, r as InputGroupButton, t as InputGroup } from "./index35.cjs";
|
|
36
|
+
import { i as InputOTPSlot, n as InputOTPGroup, r as InputOTPSeparator, t as InputOTP } from "./index36.cjs";
|
|
37
|
+
import { a as ItemFooter, c as ItemMedia, i as ItemDescription, l as ItemSeparator, n as ItemActions, o as ItemGroup, r as ItemContent, s as ItemHeader, t as Item, u as ItemTitle } from "./index37.cjs";
|
|
38
|
+
import { n as KbdGroup, t as Kbd } from "./index38.cjs";
|
|
39
|
+
import { n as LinkProps, r as linkVariants, t as Link } from "./index39.cjs";
|
|
40
|
+
import { n as LogoBrand, r as LogoVariant, t as Logo } from "./index40.cjs";
|
|
41
|
+
import { a as MenubarItem, c as MenubarPortal, d as MenubarSeparator, f as MenubarShortcut, g as MenubarTrigger, h as MenubarSubTrigger, i as MenubarGroup, l as MenubarRadioGroup, m as MenubarSubContent, n as MenubarCheckboxItem, o as MenubarLabel, p as MenubarSub, r as MenubarContent, s as MenubarMenu, t as Menubar, u as MenubarRadioItem } from "./index41.cjs";
|
|
42
|
+
import { a as DropZone, c as MosaicNode, i as MosaicWindowProps, l as MosaicParent, n as MosaicProps, o as MosaicDirection, r as MosaicWindow, s as MosaicKey, t as Mosaic, u as MosaicPath } from "./index42.cjs";
|
|
43
|
+
import { n as nativeSelectVariants, t as NativeSelect } from "./index43.cjs";
|
|
44
|
+
import { a as NavigationMenuLink, c as NavigationMenuViewport, i as NavigationMenuItem, l as navigationMenuTriggerStyle, n as NavigationMenuContent, o as NavigationMenuList, r as NavigationMenuIndicator, s as NavigationMenuTrigger, t as NavigationMenu } from "./index44.cjs";
|
|
45
|
+
import { a as PopoverHeader, i as PopoverDescription, n as PopoverAnchor, o as PopoverTitle, r as PopoverContent, s as PopoverTrigger, t as Popover } from "./index45.cjs";
|
|
46
|
+
import { a as NavRailMenuContent, c as NavRailMenuTrigger, d as NavRailSeparator, f as NavRailUser, i as NavRailMenu, l as NavRailMenuTriggerProps, n as NavRailItem, o as NavRailMenuItem, p as NavRailUserProps, r as NavRailItemProps, s as NavRailMenuItemProps, t as NavRail, u as NavRailMode } from "./index46.cjs";
|
|
47
|
+
import { a as notchedCardVariants, i as buildNotchedCardPath, n as NotchedCardProps, r as NotchedCardVariant, t as NotchedCard } from "./index48.cjs";
|
|
48
|
+
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "./index49.cjs";
|
|
49
|
+
import { t as Progress } from "./index50.cjs";
|
|
50
|
+
import { n as RadioGroupItem, r as RichRadioItem, t as RadioGroup } from "./index51.cjs";
|
|
51
|
+
import { n as ResizablePanel, r as ResizablePanelGroup, t as ResizableHandle } from "./index52.cjs";
|
|
52
|
+
import { n as ScrollBar, t as ScrollArea } from "./index53.cjs";
|
|
53
|
+
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "./index54.cjs";
|
|
54
|
+
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "./index55.cjs";
|
|
55
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./index56.cjs";
|
|
56
|
+
import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, a as SidebarGroupAction, b as SidebarProvider, c as SidebarHeader, d as SidebarMenu, f as SidebarMenuAction, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, l as SidebarInput, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, p as SidebarMenuBadge, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, u as SidebarInset, v as SidebarMenuSubButton, w as useSidebar, x as SidebarRail, y as SidebarMenuSubItem } from "./index57.cjs";
|
|
57
|
+
import { i as SkeletonObject, n as SkeletonAvatar, r as SkeletonLine, t as Skeleton } from "./index58.cjs";
|
|
58
|
+
import { t as Slider } from "./index59.cjs";
|
|
59
|
+
import { t as Toaster } from "./index60.cjs";
|
|
60
|
+
import { t as Spinner } from "./index61.cjs";
|
|
61
|
+
import { n as Switch, r as SwitchGroup, t as RichSwitchGroup } from "./index62.cjs";
|
|
62
|
+
import { a as TableFooter, c as TableRow, i as TableCell, n as TableBody, o as TableHead, r as TableCaption, s as TableHeader, t as Table } from "./index63.cjs";
|
|
63
|
+
import { a as TabsTrigger, i as TabsList, n as TabsContent, o as tabsListVariants, r as TabsCounter, s as tabsTriggerVariants, t as Tabs } from "./index64.cjs";
|
|
64
|
+
import { n as TextProps, r as textVariants, t as Text } from "./index65.cjs";
|
|
65
|
+
import { n as textareaVariants, t as Textarea } from "./index66.cjs";
|
|
66
|
+
import { a as useTheme, i as ThemeProvider, n as ThemeMode, r as ThemeProduct, t as ThemeContext } from "./index67.cjs";
|
|
67
|
+
import { n as toggleVariants, t as Toggle } from "./index68.cjs";
|
|
68
|
+
import { n as ToggleGroupItem, t as ToggleGroup } from "./index69.cjs";
|
|
69
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "./index70.cjs";
|
|
70
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "./index71.cjs";
|
|
71
|
+
import { n as PageBackgroundProps, t as PageBackground } from "./index72.cjs";
|
|
72
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "./index73.cjs";
|
|
73
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "./index74.cjs";
|
|
74
|
+
import { ClassValue } from "clsx";
|
|
75
|
+
|
|
76
|
+
//#region src/utils/cn.d.ts
|
|
77
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
78
|
+
//# sourceMappingURL=cn.d.ts.map
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/utils/use-mobile.d.ts
|
|
81
|
+
declare function useIsMobile(): boolean;
|
|
82
|
+
//# sourceMappingURL=use-mobile.d.ts.map
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxTree, CheckboxTreeNode, CircularProgress, CircularProgressProps, CircularProgressVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Credits, CreditsProps, CreditsVariant, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, FileUploadHandler, FileUploadItem, FileUploadProps, FileUploadStatus, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, HeadingProps, HoverCard, HoverCardContent, HoverCardTrigger, ICON_NAMES, Icon, IconName, IconProps, InfoBanner, InfoBannerProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, LinkProps, Logo, LogoBrand, LogoVariant, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Mosaic, MosaicDirection, MosaicKey, MosaicNode, MosaicParent, MosaicPath, MosaicProps, MosaicWindow, MosaicWindowProps, MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, NativeSelect, NavRail, NavRailItem, NavRailItemProps, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuItemProps, NavRailMenuTrigger, NavRailMenuTriggerProps, NavRailMode, NavRailSeparator, NavRailUser, NavRailUserProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotchedCard, NotchedCardProps, NotchedCardVariant, PageBackground, PageBackgroundProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichCheckbox, RichRadioItem, RichSwitchGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorSpacing, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonAvatar, SkeletonLine, SkeletonObject, Slider, Spinner, Stack, StackProps, Switch, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, Text, TextProps, Textarea, ThemeContext, ThemeMode, ThemeProduct, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, badgeVariants, buildNotchedCardPath, buttonGroupVariants, buttonVariants, cardVariants, cn, containerVariants, creditsVariants, emptyVariants, headingVariants, infoBannerVariants, inputVariants, linkVariants, multiColumnVariants, nativeSelectVariants, navigationMenuTriggerStyle, notchedCardVariants, stackVariants, tabsListVariants, tabsTriggerVariants, textVariants, textareaVariants, toggleVariants, twoColumnVariants, useFormField, useIsMobile, useSidebar, useTheme };
|
|
86
|
+
//# sourceMappingURL=index75.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index75.d.cts","names":[],"sources":["../src/utils/cn.ts","../src/utils/use-mobile.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBgB,EAAA,YAAc;;;;iBCrBd,WAAA,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { i as AccordionTrigger, n as AccordionContent, r as AccordionItem, t as Accordion } from "./index.js";
|
|
2
|
+
import { a as AlertTitle, i as AlertDescription, n as AlertAction, r as AlertContent, t as Alert } from "./index2.js";
|
|
3
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, d as AlertDialogTitle, f as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogOverlay, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogPortal } from "./index3.js";
|
|
4
|
+
import { t as AspectRatio } from "./index4.js";
|
|
5
|
+
import { a as AvatarGroupCount, i as AvatarGroup, n as AvatarBadge, o as AvatarImage, r as AvatarFallback, t as Avatar } from "./index5.js";
|
|
6
|
+
import { n as badgeVariants, t as Badge } from "./index6.js";
|
|
7
|
+
import { a as BreadcrumbList, i as BreadcrumbLink, n as BreadcrumbEllipsis, o as BreadcrumbPage, r as BreadcrumbItem, s as BreadcrumbSeparator, t as Breadcrumb } from "./index7.js";
|
|
8
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./index8.js";
|
|
9
|
+
import { n as SeparatorSpacing, t as Separator } from "./index9.js";
|
|
10
|
+
import { i as buttonGroupVariants, n as ButtonGroupSeparator, r as ButtonGroupText, t as ButtonGroup } from "./index10.js";
|
|
11
|
+
import { n as CalendarDayButton, t as Calendar } from "./index11.js";
|
|
12
|
+
import { a as CardFooter, c as CardTitle, i as CardDescription, l as cardVariants, n as CardAction, o as CardHeader, r as CardContent, s as CardProps, t as Card } from "./index12.js";
|
|
13
|
+
import { a as CarouselNext, i as CarouselItem, n as CarouselApi, o as CarouselPrevious, r as CarouselContent, t as Carousel } from "./index13.js";
|
|
14
|
+
import { a as ChartStyle, i as ChartLegendContent, n as ChartContainer, o as ChartTooltip, r as ChartLegend, s as ChartTooltipContent, t as ChartConfig } from "./index14.js";
|
|
15
|
+
import { n as CircularProgressProps, r as CircularProgressVariant, t as CircularProgress } from "./index15.js";
|
|
16
|
+
import { n as RichCheckbox, t as Checkbox } from "./index16.js";
|
|
17
|
+
import { n as CheckboxTreeNode, t as CheckboxTree } from "./index17.js";
|
|
18
|
+
import { n as CollapsibleContent, r as CollapsibleTrigger, t as Collapsible } from "./index18.js";
|
|
19
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./index19.js";
|
|
20
|
+
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "./index20.js";
|
|
21
|
+
import { a as ContextMenuItem, c as ContextMenuRadioGroup, d as ContextMenuShortcut, f as ContextMenuSub, h as ContextMenuTrigger, i as ContextMenuGroup, l as ContextMenuRadioItem, m as ContextMenuSubTrigger, n as ContextMenuCheckboxItem, o as ContextMenuLabel, p as ContextMenuSubContent, r as ContextMenuContent, s as ContextMenuPortal, t as ContextMenu, u as ContextMenuSeparator } from "./index21.js";
|
|
22
|
+
import { i as creditsVariants, n as CreditsProps, r as CreditsVariant, t as Credits } from "./index22.js";
|
|
23
|
+
import { a as DrawerFooter, c as DrawerPortal, i as DrawerDescription, l as DrawerTitle, n as DrawerClose, o as DrawerHeader, r as DrawerContent, s as DrawerOverlay, t as Drawer, u as DrawerTrigger } from "./index23.js";
|
|
24
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "./index24.js";
|
|
25
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, s as emptyVariants, t as Empty } from "./index25.js";
|
|
26
|
+
import { t as Label } from "./index26.js";
|
|
27
|
+
import { a as FieldGroup, c as FieldSeparator, i as FieldError, l as FieldSet, n as FieldContent, o as FieldLabel, r as FieldDescription, s as FieldLegend, t as Field, u as FieldTitle } from "./index27.js";
|
|
28
|
+
import { a as FileUploadStatus, i as FileUploadProps, n as FileUploadHandler, r as FileUploadItem, t as FileUpload } from "./index28.js";
|
|
29
|
+
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "./index29.js";
|
|
30
|
+
import { n as HeadingProps, r as headingVariants, t as Heading } from "./index30.js";
|
|
31
|
+
import { n as HoverCardContent, r as HoverCardTrigger, t as HoverCard } from "./index31.js";
|
|
32
|
+
import { i as IconName, n as IconProps, r as ICON_NAMES, t as Icon } from "./index32.js";
|
|
33
|
+
import { n as InfoBannerProps, r as infoBannerVariants, t as InfoBanner } from "./index33.js";
|
|
34
|
+
import { n as inputVariants, t as Input } from "./index34.js";
|
|
35
|
+
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as InputGroupTextarea, r as InputGroupButton, t as InputGroup } from "./index35.js";
|
|
36
|
+
import { i as InputOTPSlot, n as InputOTPGroup, r as InputOTPSeparator, t as InputOTP } from "./index36.js";
|
|
37
|
+
import { a as ItemFooter, c as ItemMedia, i as ItemDescription, l as ItemSeparator, n as ItemActions, o as ItemGroup, r as ItemContent, s as ItemHeader, t as Item, u as ItemTitle } from "./index37.js";
|
|
38
|
+
import { n as KbdGroup, t as Kbd } from "./index38.js";
|
|
39
|
+
import { n as LinkProps, r as linkVariants, t as Link } from "./index39.js";
|
|
40
|
+
import { n as LogoBrand, r as LogoVariant, t as Logo } from "./index40.js";
|
|
41
|
+
import { a as MenubarItem, c as MenubarPortal, d as MenubarSeparator, f as MenubarShortcut, g as MenubarTrigger, h as MenubarSubTrigger, i as MenubarGroup, l as MenubarRadioGroup, m as MenubarSubContent, n as MenubarCheckboxItem, o as MenubarLabel, p as MenubarSub, r as MenubarContent, s as MenubarMenu, t as Menubar, u as MenubarRadioItem } from "./index41.js";
|
|
42
|
+
import { a as DropZone, c as MosaicNode, i as MosaicWindowProps, l as MosaicParent, n as MosaicProps, o as MosaicDirection, r as MosaicWindow, s as MosaicKey, t as Mosaic, u as MosaicPath } from "./index42.js";
|
|
43
|
+
import { n as nativeSelectVariants, t as NativeSelect } from "./index43.js";
|
|
44
|
+
import { a as NavigationMenuLink, c as NavigationMenuViewport, i as NavigationMenuItem, l as navigationMenuTriggerStyle, n as NavigationMenuContent, o as NavigationMenuList, r as NavigationMenuIndicator, s as NavigationMenuTrigger, t as NavigationMenu } from "./index44.js";
|
|
45
|
+
import { a as PopoverHeader, i as PopoverDescription, n as PopoverAnchor, o as PopoverTitle, r as PopoverContent, s as PopoverTrigger, t as Popover } from "./index45.js";
|
|
46
|
+
import { a as NavRailMenuContent, c as NavRailMenuTrigger, d as NavRailSeparator, f as NavRailUser, i as NavRailMenu, l as NavRailMenuTriggerProps, n as NavRailItem, o as NavRailMenuItem, p as NavRailUserProps, r as NavRailItemProps, s as NavRailMenuItemProps, t as NavRail, u as NavRailMode } from "./index46.js";
|
|
47
|
+
import { a as notchedCardVariants, i as buildNotchedCardPath, n as NotchedCardProps, r as NotchedCardVariant, t as NotchedCard } from "./index48.js";
|
|
48
|
+
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "./index49.js";
|
|
49
|
+
import { t as Progress } from "./index50.js";
|
|
50
|
+
import { n as RadioGroupItem, r as RichRadioItem, t as RadioGroup } from "./index51.js";
|
|
51
|
+
import { n as ResizablePanel, r as ResizablePanelGroup, t as ResizableHandle } from "./index52.js";
|
|
52
|
+
import { n as ScrollBar, t as ScrollArea } from "./index53.js";
|
|
53
|
+
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "./index54.js";
|
|
54
|
+
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "./index55.js";
|
|
55
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./index56.js";
|
|
56
|
+
import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, a as SidebarGroupAction, b as SidebarProvider, c as SidebarHeader, d as SidebarMenu, f as SidebarMenuAction, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, l as SidebarInput, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, p as SidebarMenuBadge, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, u as SidebarInset, v as SidebarMenuSubButton, w as useSidebar, x as SidebarRail, y as SidebarMenuSubItem } from "./index57.js";
|
|
57
|
+
import { i as SkeletonObject, n as SkeletonAvatar, r as SkeletonLine, t as Skeleton } from "./index58.js";
|
|
58
|
+
import { t as Slider } from "./index59.js";
|
|
59
|
+
import { t as Toaster } from "./index60.js";
|
|
60
|
+
import { t as Spinner } from "./index61.js";
|
|
61
|
+
import { n as Switch, r as SwitchGroup, t as RichSwitchGroup } from "./index62.js";
|
|
62
|
+
import { a as TableFooter, c as TableRow, i as TableCell, n as TableBody, o as TableHead, r as TableCaption, s as TableHeader, t as Table } from "./index63.js";
|
|
63
|
+
import { a as TabsTrigger, i as TabsList, n as TabsContent, o as tabsListVariants, r as TabsCounter, s as tabsTriggerVariants, t as Tabs } from "./index64.js";
|
|
64
|
+
import { n as TextProps, r as textVariants, t as Text } from "./index65.js";
|
|
65
|
+
import { n as textareaVariants, t as Textarea } from "./index66.js";
|
|
66
|
+
import { a as useTheme, i as ThemeProvider, n as ThemeMode, r as ThemeProduct, t as ThemeContext } from "./index67.js";
|
|
67
|
+
import { n as toggleVariants, t as Toggle } from "./index68.js";
|
|
68
|
+
import { n as ToggleGroupItem, t as ToggleGroup } from "./index69.js";
|
|
69
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "./index70.js";
|
|
70
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "./index71.js";
|
|
71
|
+
import { n as PageBackgroundProps, t as PageBackground } from "./index72.js";
|
|
72
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "./index73.js";
|
|
73
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "./index74.js";
|
|
74
|
+
import { ClassValue } from "clsx";
|
|
75
|
+
|
|
76
|
+
//#region src/utils/cn.d.ts
|
|
77
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
78
|
+
//# sourceMappingURL=cn.d.ts.map
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/utils/use-mobile.d.ts
|
|
81
|
+
declare function useIsMobile(): boolean;
|
|
82
|
+
//# sourceMappingURL=use-mobile.d.ts.map
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxTree, CheckboxTreeNode, CircularProgress, CircularProgressProps, CircularProgressVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Credits, CreditsProps, CreditsVariant, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, FileUploadHandler, FileUploadItem, FileUploadProps, FileUploadStatus, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, HeadingProps, HoverCard, HoverCardContent, HoverCardTrigger, ICON_NAMES, Icon, IconName, IconProps, InfoBanner, InfoBannerProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, LinkProps, Logo, LogoBrand, LogoVariant, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Mosaic, MosaicDirection, MosaicKey, MosaicNode, MosaicParent, MosaicPath, MosaicProps, MosaicWindow, MosaicWindowProps, MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, NativeSelect, NavRail, NavRailItem, NavRailItemProps, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuItemProps, NavRailMenuTrigger, NavRailMenuTriggerProps, NavRailMode, NavRailSeparator, NavRailUser, NavRailUserProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotchedCard, NotchedCardProps, NotchedCardVariant, PageBackground, PageBackgroundProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichCheckbox, RichRadioItem, RichSwitchGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorSpacing, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonAvatar, SkeletonLine, SkeletonObject, Slider, Spinner, Stack, StackProps, Switch, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, Text, TextProps, Textarea, ThemeContext, ThemeMode, ThemeProduct, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, badgeVariants, buildNotchedCardPath, buttonGroupVariants, buttonVariants, cardVariants, cn, containerVariants, creditsVariants, emptyVariants, headingVariants, infoBannerVariants, inputVariants, linkVariants, multiColumnVariants, nativeSelectVariants, navigationMenuTriggerStyle, notchedCardVariants, stackVariants, tabsListVariants, tabsTriggerVariants, textVariants, textareaVariants, toggleVariants, twoColumnVariants, useFormField, useIsMobile, useSidebar, useTheme };
|
|
86
|
+
//# sourceMappingURL=index75.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index75.d.ts","names":[],"sources":["../src/utils/cn.ts","../src/utils/use-mobile.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBgB,EAAA,YAAc;;;;iBCrBd,WAAA,CAAA"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { r as ThemeProduct } from "./index67.cjs";
|
|
2
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/patterns/Header/types.d.ts
|
|
7
|
+
/** A node in the project hierarchy returned by the projects API. */
|
|
8
|
+
interface ProjectNode {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
children: ProjectNode[];
|
|
12
|
+
/** Ancestor context node — shown for orientation but not selectable. */
|
|
13
|
+
isContextOnly?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** Fully-qualified API endpoints. Built from `apiBaseUrl`; individually overridable. */
|
|
16
|
+
interface HeaderEndpoints {
|
|
17
|
+
token: string;
|
|
18
|
+
logout: string;
|
|
19
|
+
/**
|
|
20
|
+
* Projects endpoint URL for a client. The endpoint is paginated; the header
|
|
21
|
+
* sets/overwrites the `page` query param itself on the returned URL and
|
|
22
|
+
* fetches pages until one comes back short — overrides don't handle paging.
|
|
23
|
+
*/
|
|
24
|
+
projects: (clientId: string) => string;
|
|
25
|
+
credits: string;
|
|
26
|
+
}
|
|
27
|
+
/** A fetch-compatible function, so hosts/tests can inject their own (e.g. mocks). */
|
|
28
|
+
type Fetcher = typeof fetch;
|
|
29
|
+
/** Props for the wired {@link Header} pattern (auth, data layer, and visibility toggles). */
|
|
30
|
+
interface HeaderProps {
|
|
31
|
+
/** API base URL with full domain, e.g. `https://dev.abc.com`. Studio-auth API host. */
|
|
32
|
+
apiBaseUrl: string;
|
|
33
|
+
/**
|
|
34
|
+
* Environment id used to read the session cookie `{environmentId}-sessionId`
|
|
35
|
+
* (a JWT) — the header decodes it for auth state and user identity
|
|
36
|
+
* (email, client id) without a network call.
|
|
37
|
+
*/
|
|
38
|
+
environmentId: string;
|
|
39
|
+
/** Logo to show. Defaults to the active product from ThemeProvider. */
|
|
40
|
+
logoType?: ThemeProduct;
|
|
41
|
+
/**
|
|
42
|
+
* Where the logo links, e.g. the host app's home route. Falls back to the
|
|
43
|
+
* product's public site when omitted.
|
|
44
|
+
*/
|
|
45
|
+
logoHref?: string;
|
|
46
|
+
/** Show the read-only organisation pill. */
|
|
47
|
+
showOrg?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Show the project picker. A tab with no selection defaults to the user's
|
|
50
|
+
* last explicitly selected project (localStorage `lastSelectedProject`)
|
|
51
|
+
* when it still exists, else `defaultProjectId`, else the first project in
|
|
52
|
+
* the tree.
|
|
53
|
+
*/
|
|
54
|
+
showProjectDropdown?: boolean;
|
|
55
|
+
/** Show the profile menu (user email + logout). */
|
|
56
|
+
showProfile?: boolean;
|
|
57
|
+
/** Show the light/dark theme toggle. */
|
|
58
|
+
showThemeSwitcher?: boolean;
|
|
59
|
+
/** Show the remaining-credits pill (logged-in users only). */
|
|
60
|
+
showCredits?: boolean;
|
|
61
|
+
/** Page title shown next to the logo. Omitted when not provided. */
|
|
62
|
+
pageTitle?: string;
|
|
63
|
+
/**
|
|
64
|
+
* URL for the feedback action (message-square-share icon). When omitted the
|
|
65
|
+
* icon is hidden; when set, the icon renders and links here.
|
|
66
|
+
*/
|
|
67
|
+
feedbackUrl?: string;
|
|
68
|
+
/** Active org id from the host session; overrides the session JWT's `client_id` claim. */
|
|
69
|
+
clientId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Project to auto-select when the tab has no selection of its own and the
|
|
72
|
+
* user's `lastSelectedProject` is absent/invalid — takes precedence over the
|
|
73
|
+
* "first project in the tree" fallback. Ignored when not in the tree.
|
|
74
|
+
*/
|
|
75
|
+
defaultProjectId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* ESCAPE HATCH — avoid. Inject a pre-resolved access token to skip the header's
|
|
78
|
+
* own token fetch. The header is designed to resolve its own token from the
|
|
79
|
+
* session cookie; only reach for this when the host has *already* fetched a
|
|
80
|
+
* token and a duplicate round-trip is genuinely unacceptable. Misuse couples
|
|
81
|
+
* the header to host token lifecycle/refresh and can serve stale auth.
|
|
82
|
+
*/
|
|
83
|
+
_dangerouslyInjectAccessToken?: string;
|
|
84
|
+
/** Called when the active project changes (user pick or automatic default). */
|
|
85
|
+
onProjectChange?: (id: string) => void;
|
|
86
|
+
/** Node rendered between the logo and the project picker. */
|
|
87
|
+
logoAddon?: ReactNode;
|
|
88
|
+
/** Node rendered at the start of the right-hand actions cluster (before the feedback icon). */
|
|
89
|
+
actionsStart?: ReactNode;
|
|
90
|
+
/** Node rendered at the end of the right-hand actions cluster (after the profile menu). */
|
|
91
|
+
actionsEnd?: ReactNode;
|
|
92
|
+
className?: string;
|
|
93
|
+
/** Override individual endpoint paths (defaults derive from `apiBaseUrl`). */
|
|
94
|
+
endpoints?: Partial<Omit<HeaderEndpoints, "projects">> & {
|
|
95
|
+
projects?: (clientId: string) => string;
|
|
96
|
+
};
|
|
97
|
+
/** Custom fetch implementation (defaults to global `fetch`). Useful for tests/Storybook. */
|
|
98
|
+
fetcher?: Fetcher;
|
|
99
|
+
/** How long fetched data stays fresh before refetch, in ms. Default 5 min. */
|
|
100
|
+
staleTime?: number;
|
|
101
|
+
/** How long unused data is cached, in ms. Default 10 min. */
|
|
102
|
+
gcTime?: number;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=types.d.ts.map
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/patterns/Header/Header.d.ts
|
|
107
|
+
/** The header bar shell — a sticky glass strip. */
|
|
108
|
+
declare function HeaderBar({
|
|
109
|
+
className,
|
|
110
|
+
...props
|
|
111
|
+
}: React.ComponentProps<"header">): react_jsx_runtime78.JSX.Element;
|
|
112
|
+
/** Product logo linking to its home, with a Suspense-safe fallback. */
|
|
113
|
+
declare function HeaderLogo({
|
|
114
|
+
brand,
|
|
115
|
+
href
|
|
116
|
+
}: {
|
|
117
|
+
brand: ThemeProduct;
|
|
118
|
+
href?: string;
|
|
119
|
+
}): react_jsx_runtime78.JSX.Element;
|
|
120
|
+
/** Read-only organisation pill. */
|
|
121
|
+
declare function OrgPill({
|
|
122
|
+
name,
|
|
123
|
+
loading
|
|
124
|
+
}: {
|
|
125
|
+
name?: string;
|
|
126
|
+
loading?: boolean;
|
|
127
|
+
}): react_jsx_runtime78.JSX.Element | null;
|
|
128
|
+
/** Light/dark toggle — defers to ThemeProvider. */
|
|
129
|
+
declare function ThemeToggle(): react_jsx_runtime78.JSX.Element;
|
|
130
|
+
/** Profile menu — avatar trigger with email + logout. */
|
|
131
|
+
declare function ProfileMenu({
|
|
132
|
+
email,
|
|
133
|
+
onLogout
|
|
134
|
+
}: {
|
|
135
|
+
email?: string;
|
|
136
|
+
onLogout: () => void;
|
|
137
|
+
}): react_jsx_runtime78.JSX.Element;
|
|
138
|
+
/** Drop-in global header. Must be rendered inside a <ThemeProvider>. */
|
|
139
|
+
declare function Header(props: HeaderProps): react_jsx_runtime78.JSX.Element;
|
|
140
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/patterns/Header/ProjectPicker.d.ts
|
|
143
|
+
interface ProjectPickerProps {
|
|
144
|
+
projectsTree: ProjectNode[];
|
|
145
|
+
selectedProjectId: string;
|
|
146
|
+
selectedProjectName?: string;
|
|
147
|
+
onSelect: (id: string) => void;
|
|
148
|
+
projectLabel: string;
|
|
149
|
+
projectPlaceholder: string;
|
|
150
|
+
searchPlaceholder: string;
|
|
151
|
+
emptyStateText: string;
|
|
152
|
+
isLoading?: boolean;
|
|
153
|
+
}
|
|
154
|
+
declare function ProjectPicker({
|
|
155
|
+
projectsTree,
|
|
156
|
+
selectedProjectId,
|
|
157
|
+
selectedProjectName,
|
|
158
|
+
onSelect,
|
|
159
|
+
projectLabel,
|
|
160
|
+
projectPlaceholder,
|
|
161
|
+
searchPlaceholder,
|
|
162
|
+
emptyStateText,
|
|
163
|
+
isLoading
|
|
164
|
+
}: Readonly<ProjectPickerProps>): react_jsx_runtime78.JSX.Element;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/patterns/Header/use-global-header.d.ts
|
|
167
|
+
/** Window event other modules can dispatch to show/hide the project dropdown. */
|
|
168
|
+
declare const TOGGLE_PROJECT_DROPDOWN_EVENT = "toggle-project-dropdown";
|
|
169
|
+
interface ToggleProjectDropdownDetail {
|
|
170
|
+
show: boolean;
|
|
171
|
+
}
|
|
172
|
+
interface GlobalHeaderState {
|
|
173
|
+
/** Whether a valid session cookie exists — when false, hide all user content. */
|
|
174
|
+
isAuthenticated: boolean;
|
|
175
|
+
userEmail: string | undefined;
|
|
176
|
+
organizationName: string | undefined;
|
|
177
|
+
projectsTree: ProjectNode[];
|
|
178
|
+
selectedProjectId: string;
|
|
179
|
+
selectedProjectName: string | undefined;
|
|
180
|
+
isProjectsLoading: boolean;
|
|
181
|
+
isOrgLoading: boolean;
|
|
182
|
+
/** Remaining credits for the user (undefined until loaded / when disabled). */
|
|
183
|
+
credits: number | undefined;
|
|
184
|
+
/** Where the credits pill links to (studio-auth `/user/activity`). */
|
|
185
|
+
creditsHref: string;
|
|
186
|
+
projectDropdownVisible: boolean;
|
|
187
|
+
selectProject: (id: string) => void;
|
|
188
|
+
logout: () => void;
|
|
189
|
+
}
|
|
190
|
+
type UseGlobalHeaderArgs = Pick<HeaderProps, "apiBaseUrl" | "environmentId" | "clientId" | "defaultProjectId" | "_dangerouslyInjectAccessToken" | "showProjectDropdown" | "showProfile" | "showOrg" | "showCredits" | "endpoints" | "fetcher" | "staleTime" | "gcTime" | "onProjectChange">;
|
|
191
|
+
declare function useGlobalHeader({
|
|
192
|
+
apiBaseUrl,
|
|
193
|
+
environmentId,
|
|
194
|
+
clientId,
|
|
195
|
+
defaultProjectId,
|
|
196
|
+
_dangerouslyInjectAccessToken: injectedToken,
|
|
197
|
+
showProjectDropdown,
|
|
198
|
+
showProfile,
|
|
199
|
+
showOrg,
|
|
200
|
+
showCredits,
|
|
201
|
+
endpoints: endpointOverrides,
|
|
202
|
+
fetcher: fetcherProp,
|
|
203
|
+
staleTime,
|
|
204
|
+
gcTime,
|
|
205
|
+
onProjectChange
|
|
206
|
+
}: UseGlobalHeaderArgs): GlobalHeaderState;
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/patterns/Header/header-store.d.ts
|
|
209
|
+
interface HeaderSelection {
|
|
210
|
+
selectedProjectId: string;
|
|
211
|
+
selectedProjectName: string;
|
|
212
|
+
organizationName: string | undefined;
|
|
213
|
+
/** Remaining credits for the logged-in user (read-only here; set by the Header). */
|
|
214
|
+
credits: number | undefined;
|
|
215
|
+
/** Client/org the current selection + org belong to (for cross-org invalidation). */
|
|
216
|
+
clientId: string | undefined;
|
|
217
|
+
}
|
|
218
|
+
interface UseHeaderProjectResult {
|
|
219
|
+
selectedProjectId: string;
|
|
220
|
+
selectedProjectName: string | undefined;
|
|
221
|
+
organizationName: string | undefined;
|
|
222
|
+
/** Set the active project from outside the Header (by id). */
|
|
223
|
+
setProject: (id: string) => void;
|
|
224
|
+
/** Clear this tab's active project (the header re-defaults on next projects load). */
|
|
225
|
+
clearProject: () => void;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Read the current project/org and change the project from anywhere in the app —
|
|
229
|
+
* no need to be inside the <Header>. Reflects user selections made in the header
|
|
230
|
+
* and updates the header when changed here.
|
|
231
|
+
*/
|
|
232
|
+
declare function useHeaderProject(): UseHeaderProjectResult;
|
|
233
|
+
/** Read the logged-in user's remaining credits (read-only; the Header owns it). */
|
|
234
|
+
declare function useHeaderCredits(): number | undefined;
|
|
235
|
+
//# sourceMappingURL=header-store.d.ts.map
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/patterns/Header/session.d.ts
|
|
238
|
+
/** Read the raw session JWT from the `{environmentId}-sessionId` cookie. */
|
|
239
|
+
declare function getSessionToken(environmentId: string): string | null;
|
|
240
|
+
/** Decode a JWT payload without verifying the signature (display/expiry only). */
|
|
241
|
+
|
|
242
|
+
/** User/session claims carried in the session JWT (the subset the header uses). */
|
|
243
|
+
interface SessionClaims {
|
|
244
|
+
email?: string;
|
|
245
|
+
name?: string;
|
|
246
|
+
userId?: string;
|
|
247
|
+
/** Active organisation id (`client_id` claim). */
|
|
248
|
+
clientId?: string;
|
|
249
|
+
exp?: number;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Decode the user claims from the session cookie's JWT — no network call.
|
|
253
|
+
* Returns null when the cookie is absent or undecodable.
|
|
254
|
+
*/
|
|
255
|
+
declare function getSessionClaims(environmentId: string): SessionClaims | null;
|
|
256
|
+
/** True when a valid, unexpired session cookie exists for the environment. */
|
|
257
|
+
declare function isSessionValid(environmentId: string): boolean;
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region src/patterns/Header/api.d.ts
|
|
260
|
+
declare function buildEndpoints(apiBaseUrl: string, overrides?: HeaderProps["endpoints"]): HeaderEndpoints;
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/patterns/Header/labels.d.ts
|
|
263
|
+
/** Default UI strings. Spread-override via the Header `labels` prop if needed. */
|
|
264
|
+
declare const DEFAULT_LABELS: {
|
|
265
|
+
readonly orgLabel: "Org";
|
|
266
|
+
readonly projectLabel: "Project";
|
|
267
|
+
readonly projectPlaceholder: "Select project...";
|
|
268
|
+
readonly searchPlaceholder: "Search project";
|
|
269
|
+
readonly emptyStateText: "No projects found";
|
|
270
|
+
readonly profileMenuLabel: "Profile menu";
|
|
271
|
+
readonly logoutLabel: "Logout";
|
|
272
|
+
};
|
|
273
|
+
type Labels = typeof DEFAULT_LABELS;
|
|
274
|
+
//# sourceMappingURL=labels.d.ts.map
|
|
275
|
+
|
|
276
|
+
//#endregion
|
|
277
|
+
export { Fetcher as C, ProjectNode as E, ThemeToggle as S, HeaderProps as T, Header as _, getSessionClaims as a, OrgPill as b, HeaderSelection as c, useHeaderProject as d, GlobalHeaderState as f, ProjectPicker as g, useGlobalHeader as h, SessionClaims as i, UseHeaderProjectResult as l, ToggleProjectDropdownDetail as m, Labels as n, getSessionToken as o, TOGGLE_PROJECT_DROPDOWN_EVENT as p, buildEndpoints as r, isSessionValid as s, DEFAULT_LABELS as t, useHeaderCredits as u, HeaderBar as v, HeaderEndpoints as w, ProfileMenu as x, HeaderLogo as y };
|
|
278
|
+
//# sourceMappingURL=index76.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index76.d.cts","names":[],"sources":["../src/patterns/Header/types.ts","../src/patterns/Header/Header.tsx","../src/patterns/Header/ProjectPicker.tsx","../src/patterns/Header/use-global-header.ts","../src/patterns/Header/header-store.ts","../src/patterns/Header/session.ts","../src/patterns/Header/api.ts","../src/patterns/Header/labels.ts"],"mappings":"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"}
|