@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,278 @@
|
|
|
1
|
+
import { r as ThemeProduct } from "./index67.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
import * as react_jsx_runtime234 from "react/jsx-runtime";
|
|
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_runtime234.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_runtime234.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_runtime234.JSX.Element | null;
|
|
128
|
+
/** Light/dark toggle — defers to ThemeProvider. */
|
|
129
|
+
declare function ThemeToggle(): react_jsx_runtime234.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_runtime234.JSX.Element;
|
|
138
|
+
/** Drop-in global header. Must be rendered inside a <ThemeProvider>. */
|
|
139
|
+
declare function Header(props: HeaderProps): react_jsx_runtime234.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_runtime234.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.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index76.d.ts","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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"}
|
package/dist/index8.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as class_variance_authority_types24 from "class-variance-authority/types";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as react0 from "react";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Button/Button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "outline" | "
|
|
9
|
-
size?: "default" | "
|
|
8
|
+
variant?: "default" | "outline" | "ai" | "link" | "destructive" | "secondary" | "ghost" | "destructive-ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | "lg" | "xl" | "xs" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | "icon-xl" | null | undefined;
|
|
10
10
|
shape?: "default" | "square" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string;
|
|
12
12
|
type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
13
13
|
/** Render as the child element (Radix `Slot`) instead of a native `<button>`. */
|
|
14
14
|
asChild?: boolean;
|
package/dist/index8.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index8.d.cts","names":[],"sources":["../src/primitives/Button/Button.tsx"],"mappings":";;;;;;cAUM,sBA4CL;;;;AApDuD,CAAA,GAoDvD
|
|
1
|
+
{"version":3,"file":"index8.d.cts","names":[],"sources":["../src/primitives/Button/Button.tsx"],"mappings":";;;;;;cAUM,sBA4CL;;;;AApDuD,CAAA,GAoDvD,gCAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAEI,WAAA,GAAc,cAAH,CAAA,QAAA,CAAA,GACd,YADc,CAAA,OACM,cADN,CAAA,GAAA;EAAA;SAAG,CAAA,EAAA,OAAA;;SACjB,CAAA,EAAA,OAAA;AAAY,CAAA;AAAA;;;;;cAYR,MAAM,EAAA,MAAA,CAAA,yBAAA,CAAA,IAAA,CAAA,WAAA,EAAA,KAAA,CAAA,GAAA,MAAA,CAAA,aAAA,CAAA,iBAAA,CAAA,CAAA"}
|
package/dist/index8.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types18 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Button/Button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "link" | "
|
|
9
|
-
size?: "
|
|
8
|
+
variant?: "default" | "link" | "outline" | "ai" | "destructive" | "secondary" | "ghost" | "destructive-ghost" | null | undefined;
|
|
9
|
+
size?: "xs" | "sm" | "lg" | "xl" | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl" | null | undefined;
|
|
10
10
|
shape?: "default" | "square" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
12
12
|
type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
13
13
|
/** Render as the child element (Radix `Slot`) instead of a native `<button>`. */
|
|
14
14
|
asChild?: boolean;
|
package/dist/index9.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime290 from "react/jsx-runtime";
|
|
2
2
|
import { Separator } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ declare function Separator$1({
|
|
|
14
14
|
}: React.ComponentProps<typeof Separator.Root> & {
|
|
15
15
|
/** Margin applied around the rule along its axis: `none`, `regular`, or `spacious`. */
|
|
16
16
|
spacing?: SeparatorSpacing;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime290.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SeparatorSpacing as n, Separator$1 as t };
|
|
20
20
|
//# sourceMappingURL=index9.d.cts.map
|
package/dist/index9.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.d.cts","names":[],"sources":["../src/primitives/Separator/Separator.tsx"],"mappings":";;;;;KAKK,gBAAA;;iBASI,WAAA;;;;;;GAMN,KAAA,CAAM,sBAAsB,SAAA,CAAmB;EAf7C;EASI,OAAA,CAAA,EAQG,gBARM;CAAA,CAAA,EASjB,
|
|
1
|
+
{"version":3,"file":"index9.d.cts","names":[],"sources":["../src/primitives/Separator/Separator.tsx"],"mappings":";;;;;KAKK,gBAAA;;iBASI,WAAA;;;;;;GAMN,KAAA,CAAM,sBAAsB,SAAA,CAAmB;EAf7C;EASI,OAAA,CAAA,EAQG,gBARM;CAAA,CAAA,EASjB,oBAAA,CAAA,GAAA,CAAA,OATiB"}
|
package/dist/index9.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
import { Separator } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Separator/Separator.d.ts
|
|
@@ -14,7 +14,7 @@ declare function Separator$1({
|
|
|
14
14
|
}: React.ComponentProps<typeof Separator.Root> & {
|
|
15
15
|
/** Margin applied around the rule along its axis: `none`, `regular`, or `spacious`. */
|
|
16
16
|
spacing?: SeparatorSpacing;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime54.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SeparatorSpacing as n, Separator$1 as t };
|
|
20
20
|
//# sourceMappingURL=index9.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ContainerProps, r as containerVariants, t as Container } from "../../
|
|
1
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "../../index70.cjs";
|
|
2
2
|
export { Container, ContainerProps, containerVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ContainerProps, r as containerVariants, t as Container } from "../../
|
|
1
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "../../index70.js";
|
|
2
2
|
export { Container, ContainerProps, containerVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../../
|
|
1
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../../index71.cjs";
|
|
2
2
|
export { MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, multiColumnVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../../
|
|
1
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../../index71.js";
|
|
2
2
|
export { MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, multiColumnVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PageBackgroundProps, t as PageBackground } from "../../
|
|
1
|
+
import { n as PageBackgroundProps, t as PageBackground } from "../../index72.cjs";
|
|
2
2
|
export { PageBackground, PageBackgroundProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PageBackgroundProps, t as PageBackground } from "../../
|
|
1
|
+
import { n as PageBackgroundProps, t as PageBackground } from "../../index72.js";
|
|
2
2
|
export { PageBackground, PageBackgroundProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StackProps, r as stackVariants, t as Stack } from "../../
|
|
1
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "../../index73.cjs";
|
|
2
2
|
export { Stack, StackProps, stackVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StackProps, r as stackVariants, t as Stack } from "../../
|
|
1
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "../../index73.js";
|
|
2
2
|
export { Stack, StackProps, stackVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../../
|
|
1
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../../index74.cjs";
|
|
2
2
|
export { TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, twoColumnVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../../
|
|
1
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../../index74.js";
|
|
2
2
|
export { TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, twoColumnVariants };
|
package/dist/layouts/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ContainerProps, r as containerVariants, t as Container } from "../
|
|
2
|
-
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../
|
|
3
|
-
import { n as PageBackgroundProps, t as PageBackground } from "../
|
|
4
|
-
import { n as StackProps, r as stackVariants, t as Stack } from "../
|
|
5
|
-
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../
|
|
1
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "../index70.cjs";
|
|
2
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../index71.cjs";
|
|
3
|
+
import { n as PageBackgroundProps, t as PageBackground } from "../index72.cjs";
|
|
4
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "../index73.cjs";
|
|
5
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../index74.cjs";
|
|
6
6
|
export { Container, ContainerProps, MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, PageBackground, PageBackgroundProps, Stack, StackProps, TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, containerVariants, multiColumnVariants, stackVariants, twoColumnVariants };
|
package/dist/layouts/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ContainerProps, r as containerVariants, t as Container } from "../
|
|
2
|
-
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../
|
|
3
|
-
import { n as PageBackgroundProps, t as PageBackground } from "../
|
|
4
|
-
import { n as StackProps, r as stackVariants, t as Stack } from "../
|
|
5
|
-
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../
|
|
1
|
+
import { n as ContainerProps, r as containerVariants, t as Container } from "../index70.js";
|
|
2
|
+
import { a as multiColumnVariants, i as MultiColumnProps, n as MultiColumnItem, r as MultiColumnItemProps, t as MultiColumn } from "../index71.js";
|
|
3
|
+
import { n as PageBackgroundProps, t as PageBackground } from "../index72.js";
|
|
4
|
+
import { n as StackProps, r as stackVariants, t as Stack } from "../index73.js";
|
|
5
|
+
import { a as twoColumnVariants, i as TwoColumnProps, n as TwoColumnAside, r as TwoColumnMain, t as TwoColumn } from "../index74.js";
|
|
6
6
|
export { Container, ContainerProps, MultiColumn, MultiColumnItem, MultiColumnItemProps, MultiColumnProps, PageBackground, PageBackgroundProps, Stack, StackProps, TwoColumn, TwoColumnAside, TwoColumnMain, TwoColumnProps, containerVariants, multiColumnVariants, stackVariants, twoColumnVariants };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
2
2
|
import { Column, ColumnDef } from "@tanstack/react-table";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/DataTable/DataTable.d.ts
|
|
@@ -24,7 +24,7 @@ declare function DataTable<TData, TValue>({
|
|
|
24
24
|
striped,
|
|
25
25
|
enablePagination,
|
|
26
26
|
pageSize
|
|
27
|
-
}: DataTableProps<TData, TValue>):
|
|
27
|
+
}: DataTableProps<TData, TValue>): react_jsx_runtime23.JSX.Element;
|
|
28
28
|
/** Sortable column header — drop into a column's `header` to get click-to-sort. */
|
|
29
29
|
declare function DataTableColumnHeader<TData, TValue>({
|
|
30
30
|
column,
|
|
@@ -37,7 +37,7 @@ declare function DataTableColumnHeader<TData, TValue>({
|
|
|
37
37
|
title: string;
|
|
38
38
|
/** Optional class applied to the header button (or span when unsortable). */
|
|
39
39
|
className?: string;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime23.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { type ColumnDef, DataTable, DataTableColumnHeader };
|
|
43
43
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/patterns/DataTable/DataTable.tsx"],"mappings":";;;;KAqBK;;WAEM,UAAU,OAAO;EAFvB;EAAc,IAAA,EAIX,KAJW,EAAA;;SAES,CAAA,EAAA,OAAA;;kBAEpB,CAAA,EAAA,OAAA;EAAK;EAaJ,QAAA,CAAA,EAAA,MAAS;CAAA;;;;;iBAAT,SAKP,CAAA,KAAA,EAAA,MAAA,CAAA,CAAA;EAAA,OAAA;EAAA,IAAA;EAAA,OAAA;EAAA,gBAAA;EAAA;AAAA,CAAA,EACC,cADD,CACgB,KADhB,EACuB,MADvB,CAAA,CAAA,EAC8B,
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/patterns/DataTable/DataTable.tsx"],"mappings":";;;;KAqBK;;WAEM,UAAU,OAAO;EAFvB;EAAc,IAAA,EAIX,KAJW,EAAA;;SAES,CAAA,EAAA,OAAA;;kBAEpB,CAAA,EAAA,OAAA;EAAK;EAaJ,QAAA,CAAA,EAAA,MAAS;CAAA;;;;;iBAAT,SAKP,CAAA,KAAA,EAAA,MAAA,CAAA,CAAA;EAAA,OAAA;EAAA,IAAA;EAAA,OAAA;EAAA,gBAAA;EAAA;AAAA,CAAA,EACC,cADD,CACgB,KADhB,EACuB,MADvB,CAAA,CAAA,EAC8B,mBAAA,CAAA,GAAA,CAAA,OAD9B;;iBAmGO,qBAlGgB,CAAA,KAAA,EAAA,MAAA,CAAA,CAAA;EAAA,MAAA;EAAA,KAAA;EAAA;CAAA,EAAA;;QAAO,EAwGtB,MAxGsB,CAwGf,KAxGe,EAwGR,MAxGQ,CAAA;EAAA;EAkGvB,KAAA,EAAA,MAAA;EAAqB;WAC5B,CAAA,EAAA,MAAA;IAUD,mBAAA,CAAA,GAAA,CAAA,OATC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
2
2
|
import { Column, ColumnDef } from "@tanstack/react-table";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/DataTable/DataTable.d.ts
|
|
@@ -24,7 +24,7 @@ declare function DataTable<TData, TValue>({
|
|
|
24
24
|
striped,
|
|
25
25
|
enablePagination,
|
|
26
26
|
pageSize
|
|
27
|
-
}: DataTableProps<TData, TValue>):
|
|
27
|
+
}: DataTableProps<TData, TValue>): react_jsx_runtime44.JSX.Element;
|
|
28
28
|
/** Sortable column header — drop into a column's `header` to get click-to-sort. */
|
|
29
29
|
declare function DataTableColumnHeader<TData, TValue>({
|
|
30
30
|
column,
|
|
@@ -37,7 +37,7 @@ declare function DataTableColumnHeader<TData, TValue>({
|
|
|
37
37
|
title: string;
|
|
38
38
|
/** Optional class applied to the header button (or span when unsortable). */
|
|
39
39
|
className?: string;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime44.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { type ColumnDef, DataTable, DataTableColumnHeader };
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/Footer/Footer.d.ts
|
|
@@ -18,22 +18,22 @@ declare function Footer({
|
|
|
18
18
|
bordered?: boolean;
|
|
19
19
|
/** Surface fill. `glass` is a translucent, blurred panel over the page background. */
|
|
20
20
|
background?: keyof typeof footerBackgrounds;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime17.JSX.Element;
|
|
22
22
|
/** Leading region — left-aligned on md+ (e.g. an app version). */
|
|
23
23
|
declare function FooterStart({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime17.JSX.Element;
|
|
27
27
|
/** Centre region — always centred (e.g. a "Powered by" lockup). */
|
|
28
28
|
declare function FooterCenter({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"div">):
|
|
31
|
+
}: React.ComponentProps<"div">): react_jsx_runtime17.JSX.Element;
|
|
32
32
|
/** Trailing region — right-aligned on md+ (e.g. legal links). Wraps on small screens. */
|
|
33
33
|
declare function FooterEnd({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime17.JSX.Element;
|
|
37
37
|
/** "Powered by" lockup — the label plus a slot for the brand mark (a <Logo />). */
|
|
38
38
|
declare function FooterPoweredBy({
|
|
39
39
|
className,
|
|
@@ -43,12 +43,12 @@ declare function FooterPoweredBy({
|
|
|
43
43
|
}: React.ComponentProps<"div"> & {
|
|
44
44
|
/** Override the default "Powered by" label. */
|
|
45
45
|
label?: React.ReactNode;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime17.JSX.Element;
|
|
47
47
|
/** Visual divider between trailing links. */
|
|
48
48
|
declare function FooterSeparator({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"span">):
|
|
51
|
+
}: React.ComponentProps<"span">): react_jsx_runtime17.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Footer, FooterCenter, FooterEnd, FooterPoweredBy, FooterSeparator, FooterStart };
|
|
54
54
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/Footer/Footer.d.ts
|
|
5
5
|
declare const footerBackgrounds: {
|
|
@@ -18,22 +18,22 @@ declare function Footer({
|
|
|
18
18
|
bordered?: boolean;
|
|
19
19
|
/** Surface fill. `glass` is a translucent, blurred panel over the page background. */
|
|
20
20
|
background?: keyof typeof footerBackgrounds;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime12.JSX.Element;
|
|
22
22
|
/** Leading region — left-aligned on md+ (e.g. an app version). */
|
|
23
23
|
declare function FooterStart({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime12.JSX.Element;
|
|
27
27
|
/** Centre region — always centred (e.g. a "Powered by" lockup). */
|
|
28
28
|
declare function FooterCenter({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"div">):
|
|
31
|
+
}: React.ComponentProps<"div">): react_jsx_runtime12.JSX.Element;
|
|
32
32
|
/** Trailing region — right-aligned on md+ (e.g. legal links). Wraps on small screens. */
|
|
33
33
|
declare function FooterEnd({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime12.JSX.Element;
|
|
37
37
|
/** "Powered by" lockup — the label plus a slot for the brand mark (a <Logo />). */
|
|
38
38
|
declare function FooterPoweredBy({
|
|
39
39
|
className,
|
|
@@ -43,12 +43,12 @@ declare function FooterPoweredBy({
|
|
|
43
43
|
}: React.ComponentProps<"div"> & {
|
|
44
44
|
/** Override the default "Powered by" label. */
|
|
45
45
|
label?: React.ReactNode;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime12.JSX.Element;
|
|
47
47
|
/** Visual divider between trailing links. */
|
|
48
48
|
declare function FooterSeparator({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"span">):
|
|
51
|
+
}: React.ComponentProps<"span">): react_jsx_runtime12.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Footer, FooterCenter, FooterEnd, FooterPoweredBy, FooterSeparator, FooterStart };
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Fetcher, E as ProjectNode, S as ThemeToggle, T as HeaderProps, _ as Header, a as getSessionClaims, b as OrgPill, c as HeaderSelection, d as useHeaderProject, f as GlobalHeaderState, g as ProjectPicker, h as useGlobalHeader, i as SessionClaims, l as UseHeaderProjectResult, m as ToggleProjectDropdownDetail, n as Labels, o as getSessionToken, p as TOGGLE_PROJECT_DROPDOWN_EVENT, r as buildEndpoints, s as isSessionValid, t as DEFAULT_LABELS, u as useHeaderCredits, v as HeaderBar, w as HeaderEndpoints, x as ProfileMenu, y as HeaderLogo } from "../../
|
|
1
|
+
import { C as Fetcher, E as ProjectNode, S as ThemeToggle, T as HeaderProps, _ as Header, a as getSessionClaims, b as OrgPill, c as HeaderSelection, d as useHeaderProject, f as GlobalHeaderState, g as ProjectPicker, h as useGlobalHeader, i as SessionClaims, l as UseHeaderProjectResult, m as ToggleProjectDropdownDetail, n as Labels, o as getSessionToken, p as TOGGLE_PROJECT_DROPDOWN_EVENT, r as buildEndpoints, s as isSessionValid, t as DEFAULT_LABELS, u as useHeaderCredits, v as HeaderBar, w as HeaderEndpoints, x as ProfileMenu, y as HeaderLogo } from "../../index76.cjs";
|
|
2
2
|
export { DEFAULT_LABELS, Fetcher, GlobalHeaderState, Header, HeaderBar, HeaderEndpoints, HeaderLogo, HeaderProps, HeaderSelection, Labels, OrgPill, ProfileMenu, ProjectNode, ProjectPicker, SessionClaims, TOGGLE_PROJECT_DROPDOWN_EVENT, ThemeToggle, ToggleProjectDropdownDetail, UseHeaderProjectResult, buildEndpoints, getSessionClaims, getSessionToken, isSessionValid, useGlobalHeader, useHeaderCredits, useHeaderProject };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Fetcher, E as ProjectNode, S as ThemeToggle, T as HeaderProps, _ as Header, a as getSessionClaims, b as OrgPill, c as HeaderSelection, d as useHeaderProject, f as GlobalHeaderState, g as ProjectPicker, h as useGlobalHeader, i as SessionClaims, l as UseHeaderProjectResult, m as ToggleProjectDropdownDetail, n as Labels, o as getSessionToken, p as TOGGLE_PROJECT_DROPDOWN_EVENT, r as buildEndpoints, s as isSessionValid, t as DEFAULT_LABELS, u as useHeaderCredits, v as HeaderBar, w as HeaderEndpoints, x as ProfileMenu, y as HeaderLogo } from "../../
|
|
1
|
+
import { C as Fetcher, E as ProjectNode, S as ThemeToggle, T as HeaderProps, _ as Header, a as getSessionClaims, b as OrgPill, c as HeaderSelection, d as useHeaderProject, f as GlobalHeaderState, g as ProjectPicker, h as useGlobalHeader, i as SessionClaims, l as UseHeaderProjectResult, m as ToggleProjectDropdownDetail, n as Labels, o as getSessionToken, p as TOGGLE_PROJECT_DROPDOWN_EVENT, r as buildEndpoints, s as isSessionValid, t as DEFAULT_LABELS, u as useHeaderCredits, v as HeaderBar, w as HeaderEndpoints, x as ProfileMenu, y as HeaderLogo } from "../../index76.js";
|
|
2
2
|
export { DEFAULT_LABELS, Fetcher, GlobalHeaderState, Header, HeaderBar, HeaderEndpoints, HeaderLogo, HeaderProps, HeaderSelection, Labels, OrgPill, ProfileMenu, ProjectNode, ProjectPicker, SessionClaims, TOGGLE_PROJECT_DROPDOWN_EVENT, ThemeToggle, ToggleProjectDropdownDetail, UseHeaderProjectResult, buildEndpoints, getSessionClaims, getSessionToken, isSessionValid, useGlobalHeader, useHeaderCredits, useHeaderProject };
|