@psnext/design-system 2.0.0 → 2.2.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 +3 -3
- package/dist/Header.cjs +34 -31
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +29 -32
- package/dist/Header.js.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.d.cts +7 -7
- package/dist/index10.d.ts +7 -7
- package/dist/index10.d.ts.map +1 -1
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.cts.map +1 -1
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +3 -3
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +3 -3
- package/dist/index16.d.cts +2 -2
- package/dist/index16.d.cts.map +1 -1
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.cts +4 -4
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +4 -4
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.ts +11 -11
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.ts +10 -10
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.ts +16 -16
- package/dist/index21.d.cts +4 -4
- package/dist/index21.d.ts +4 -4
- package/dist/index22.d.cts +11 -11
- package/dist/index22.d.ts +11 -11
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.cts.map +1 -1
- package/dist/index23.d.ts +16 -16
- package/dist/index24.d.cts +10 -10
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +10 -10
- package/dist/index25.d.cts +2 -2
- package/dist/index25.d.cts.map +1 -1
- package/dist/index25.d.ts +2 -2
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +14 -14
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +14 -14
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.ts +7 -7
- package/dist/index28.d.cts +6 -6
- package/dist/index28.d.ts +5 -5
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.ts +4 -4
- 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 +6 -6
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +6 -6
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +5 -5
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +6 -6
- package/dist/index32.d.ts +5 -5
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +11 -11
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +10 -10
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.ts +5 -5
- package/dist/index34.d.ts.map +1 -1
- package/dist/index35.d.cts +15 -15
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +17 -17
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +4 -4
- package/dist/index37.d.ts +5 -5
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +17 -17
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +5 -5
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +5 -5
- package/dist/index41.d.cts +11 -11
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +11 -11
- package/dist/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +9 -9
- package/dist/index43.d.ts +9 -9
- package/dist/index43.d.ts.map +1 -1
- package/dist/index45.d.cts +8 -8
- package/dist/index45.d.ts +8 -8
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +2 -2
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +2 -2
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +4 -4
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +4 -4
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +4 -4
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +4 -4
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +3 -3
- package/dist/index49.d.ts +3 -3
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.ts +7 -7
- package/dist/index5.d.ts.map +1 -1
- package/dist/index50.d.cts +11 -11
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +11 -11
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +9 -9
- package/dist/index51.d.ts +9 -9
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +5 -5
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +5 -5
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +26 -26
- package/dist/index53.d.ts +27 -27
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +5 -5
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +5 -5
- package/dist/index55.d.cts +2 -2
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +2 -2
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index57.d.cts +2 -2
- package/dist/index57.d.ts +2 -2
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +4 -4
- package/dist/index58.d.ts +4 -4
- package/dist/index59.d.cts +9 -9
- package/dist/index59.d.ts +9 -9
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +6 -6
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +11 -11
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +13 -13
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +8 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +6 -6
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +5 -5
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +4 -4
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +2 -2
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +2 -2
- package/dist/index64.d.cts +6 -6
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +5 -5
- package/dist/index65.d.cts +3 -3
- package/dist/index65.d.ts +3 -3
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +4 -4
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +5 -5
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +2 -2
- package/dist/index67.d.ts +2 -2
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +8 -8
- package/dist/index68.d.cts.map +1 -1
- package/dist/index68.d.ts +8 -8
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +7 -7
- package/dist/index69.d.cts.map +1 -1
- package/dist/index69.d.ts +7 -7
- 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/index71.d.cts +34 -13
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +34 -13
- package/dist/index71.d.ts.map +1 -1
- package/dist/index8.d.cts +5 -5
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index8.d.ts.map +1 -1
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.ts +2 -2
- 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.cts.map +1 -1
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Header/index.cjs +1 -0
- package/dist/patterns/Header/index.d.cts +2 -2
- package/dist/patterns/Header/index.d.ts +2 -2
- package/dist/patterns/Header/index.js +2 -2
- package/dist/patterns/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.cts.map +1 -1
- package/dist/patterns/MediaObject/index.d.ts +12 -12
- package/dist/patterns/MediaObject/index.d.ts.map +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +2 -2
- package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/patterns/index.cjs +1 -0
- package/dist/patterns/index.d.cts +2 -2
- package/dist/patterns/index.d.ts +2 -2
- package/dist/patterns/index.js +2 -2
- package/package.json +1 -1
package/dist/index68.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/Stack/Stack.d.ts
|
|
7
7
|
declare const stackVariants: (props?: ({
|
|
8
|
-
direction?: "
|
|
9
|
-
gap?: "
|
|
10
|
-
align?: "
|
|
11
|
-
justify?: "
|
|
12
|
-
} &
|
|
8
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
gap?: "xs" | "sm" | "lg" | "xl" | "none" | "md" | "2xl" | null | undefined;
|
|
10
|
+
align?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
11
|
+
justify?: "center" | "end" | "start" | "between" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
13
13
|
type StackProps = React.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
14
14
|
/** Render as a different element/component instead of the default `div`. */
|
|
15
15
|
as?: React.ElementType;
|
|
@@ -31,7 +31,7 @@ declare function Stack({
|
|
|
31
31
|
align,
|
|
32
32
|
justify,
|
|
33
33
|
...props
|
|
34
|
-
}: StackProps):
|
|
34
|
+
}: StackProps): react_jsx_runtime35.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { StackProps as n, stackVariants as r, Stack as t };
|
|
37
37
|
//# sourceMappingURL=index68.d.ts.map
|
package/dist/index68.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index68.d.ts","names":[],"sources":["../src/layouts/Stack/Stack.tsx"],"mappings":";;;;;;cAOM,qBAmCS;;;;EAnCT,OAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"index68.d.ts","names":[],"sources":["../src/layouts/Stack/Stack.tsx"],"mappings":";;;;;;cAOM,qBAmCS;;;;EAnCT,OAAA,CAAA,EAAA,QAiCJ,GAAA,KAAA,GAAA,OAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;IAAA,+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,mBAAA,CAAA,GAAA,CAAA,OAJ5D"}
|
package/dist/index69.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/TwoColumn/TwoColumn.d.ts
|
|
7
7
|
declare const twoColumnVariants: (props?: ({
|
|
8
|
-
gap?: "sm" | "
|
|
8
|
+
gap?: "sm" | "none" | "lg" | "xl" | "md" | null | undefined;
|
|
9
9
|
reverse?: boolean | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
11
11
|
type TwoColumnProps = React.ComponentProps<"div"> & VariantProps<typeof twoColumnVariants> & {
|
|
12
12
|
/** Space between the aside and main columns (and between stacked rows below `lg`). */
|
|
13
13
|
gap?: VariantProps<typeof twoColumnVariants>["gap"];
|
|
@@ -20,17 +20,17 @@ declare function TwoColumn({
|
|
|
20
20
|
gap,
|
|
21
21
|
reverse,
|
|
22
22
|
...props
|
|
23
|
-
}: TwoColumnProps):
|
|
23
|
+
}: TwoColumnProps): react_jsx_runtime119.JSX.Element;
|
|
24
24
|
/** Sidebar column — full width when stacked, fixed `lg:w-64` beside the main column (override via `className`). */
|
|
25
25
|
declare function TwoColumnAside({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"aside">):
|
|
28
|
+
}: React.ComponentProps<"aside">): react_jsx_runtime119.JSX.Element;
|
|
29
29
|
/** Main content column — fills the remaining space (`min-w-0 flex-1`) so it can shrink and truncate. */
|
|
30
30
|
declare function TwoColumnMain({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">):
|
|
33
|
+
}: React.ComponentProps<"div">): react_jsx_runtime119.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { twoColumnVariants as a, TwoColumnProps as i, TwoColumnAside as n, TwoColumnMain as r, TwoColumn as t };
|
|
36
36
|
//# sourceMappingURL=index69.d.cts.map
|
package/dist/index69.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.d.cts","names":[],"sources":["../src/layouts/TwoColumn/TwoColumn.tsx"],"mappings":";;;;;;cASM;;;IAgBJ
|
|
1
|
+
{"version":3,"file":"index69.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"}
|
package/dist/index69.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/TwoColumn/TwoColumn.d.ts
|
|
7
7
|
declare const twoColumnVariants: (props?: ({
|
|
8
|
-
gap?: "
|
|
8
|
+
gap?: "sm" | "lg" | "xl" | "none" | "md" | null | undefined;
|
|
9
9
|
reverse?: boolean | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
11
11
|
type TwoColumnProps = React.ComponentProps<"div"> & VariantProps<typeof twoColumnVariants> & {
|
|
12
12
|
/** Space between the aside and main columns (and between stacked rows below `lg`). */
|
|
13
13
|
gap?: VariantProps<typeof twoColumnVariants>["gap"];
|
|
@@ -20,17 +20,17 @@ declare function TwoColumn({
|
|
|
20
20
|
gap,
|
|
21
21
|
reverse,
|
|
22
22
|
...props
|
|
23
|
-
}: TwoColumnProps):
|
|
23
|
+
}: TwoColumnProps): react_jsx_runtime37.JSX.Element;
|
|
24
24
|
/** Sidebar column — full width when stacked, fixed `lg:w-64` beside the main column (override via `className`). */
|
|
25
25
|
declare function TwoColumnAside({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"aside">):
|
|
28
|
+
}: React.ComponentProps<"aside">): react_jsx_runtime37.JSX.Element;
|
|
29
29
|
/** Main content column — fills the remaining space (`min-w-0 flex-1`) so it can shrink and truncate. */
|
|
30
30
|
declare function TwoColumnMain({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">):
|
|
33
|
+
}: React.ComponentProps<"div">): react_jsx_runtime37.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { twoColumnVariants as a, TwoColumnProps as i, TwoColumnAside as n, TwoColumnMain as r, TwoColumn as t };
|
|
36
36
|
//# sourceMappingURL=index69.d.ts.map
|
package/dist/index69.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.d.ts","names":[],"sources":["../src/layouts/TwoColumn/TwoColumn.tsx"],"mappings":";;;;;;cASM;;;IAgBJ,
|
|
1
|
+
{"version":3,"file":"index69.d.ts","names":[],"sources":["../src/layouts/TwoColumn/TwoColumn.tsx"],"mappings":";;;;;;cASM;;;IAgBJ,+BAAA,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,mBAAA,CAAA,GAAA,CAAA,OAN9D;;iBAiBD,cAAA,CAfK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAemC,KAAA,CAAM,cAfzC,CAAA,OAAA,CAAA,CAAA,EAegE,mBAAA,CAAA,GAAA,CAAA,OAfhE;AAAY;AAAA,iBA0BjB,aAAA,CAtBS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsB8B,KAAA,CAAM,cAtBpC,CAAA,KAAA,CAAA,CAAA,EAsByD,mBAAA,CAAA,GAAA,CAAA,OAtBzD"}
|
package/dist/index7.d.cts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime184 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Breadcrumb/Breadcrumb.d.ts
|
|
5
5
|
/** Navigation landmark that wraps a breadcrumb trail (renders a labelled `<nav>`). */
|
|
6
6
|
declare function Breadcrumb({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"nav">):
|
|
8
|
+
}: React.ComponentProps<"nav">): react_jsx_runtime184.JSX.Element;
|
|
9
9
|
/** Ordered list container that lays out the breadcrumb items and separators. */
|
|
10
10
|
declare function BreadcrumbList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<"ol">):
|
|
13
|
+
}: React.ComponentProps<"ol">): react_jsx_runtime184.JSX.Element;
|
|
14
14
|
/** A single segment in the trail; wraps a link, page, or ellipsis. */
|
|
15
15
|
declare function BreadcrumbItem({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"li">):
|
|
18
|
+
}: React.ComponentProps<"li">): react_jsx_runtime184.JSX.Element;
|
|
19
19
|
/** A navigable breadcrumb segment that links to an ancestor route. */
|
|
20
20
|
declare function BreadcrumbLink({
|
|
21
21
|
asChild,
|
|
@@ -24,23 +24,23 @@ declare function BreadcrumbLink({
|
|
|
24
24
|
}: React.ComponentProps<"a"> & {
|
|
25
25
|
/** Render as the passed-in child element (e.g. a router `Link`) instead of an `<a>`. */
|
|
26
26
|
asChild?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime184.JSX.Element;
|
|
28
28
|
/** The current page segment; non-interactive and marked `aria-current="page"`. */
|
|
29
29
|
declare function BreadcrumbPage({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"span">):
|
|
32
|
+
}: React.ComponentProps<"span">): react_jsx_runtime184.JSX.Element;
|
|
33
33
|
/** Visual divider between items; defaults to a chevron, overridable via `children`. */
|
|
34
34
|
declare function BreadcrumbSeparator({
|
|
35
35
|
children,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"li">):
|
|
38
|
+
}: React.ComponentProps<"li">): react_jsx_runtime184.JSX.Element;
|
|
39
39
|
/** Collapsed-trail indicator that stands in for omitted middle segments. */
|
|
40
40
|
declare function BreadcrumbEllipsis({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"span">):
|
|
43
|
+
}: React.ComponentProps<"span">): react_jsx_runtime184.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { BreadcrumbList as a, BreadcrumbLink as i, BreadcrumbEllipsis as n, BreadcrumbPage as o, BreadcrumbItem as r, BreadcrumbSeparator as s, Breadcrumb as t };
|
|
46
46
|
//# sourceMappingURL=index7.d.cts.map
|
package/dist/index7.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Breadcrumb/Breadcrumb.d.ts
|
|
5
5
|
/** Navigation landmark that wraps a breadcrumb trail (renders a labelled `<nav>`). */
|
|
6
6
|
declare function Breadcrumb({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"nav">):
|
|
8
|
+
}: React.ComponentProps<"nav">): react_jsx_runtime28.JSX.Element;
|
|
9
9
|
/** Ordered list container that lays out the breadcrumb items and separators. */
|
|
10
10
|
declare function BreadcrumbList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<"ol">):
|
|
13
|
+
}: React.ComponentProps<"ol">): react_jsx_runtime28.JSX.Element;
|
|
14
14
|
/** A single segment in the trail; wraps a link, page, or ellipsis. */
|
|
15
15
|
declare function BreadcrumbItem({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"li">):
|
|
18
|
+
}: React.ComponentProps<"li">): react_jsx_runtime28.JSX.Element;
|
|
19
19
|
/** A navigable breadcrumb segment that links to an ancestor route. */
|
|
20
20
|
declare function BreadcrumbLink({
|
|
21
21
|
asChild,
|
|
@@ -24,23 +24,23 @@ declare function BreadcrumbLink({
|
|
|
24
24
|
}: React.ComponentProps<"a"> & {
|
|
25
25
|
/** Render as the passed-in child element (e.g. a router `Link`) instead of an `<a>`. */
|
|
26
26
|
asChild?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime28.JSX.Element;
|
|
28
28
|
/** The current page segment; non-interactive and marked `aria-current="page"`. */
|
|
29
29
|
declare function BreadcrumbPage({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"span">):
|
|
32
|
+
}: React.ComponentProps<"span">): react_jsx_runtime28.JSX.Element;
|
|
33
33
|
/** Visual divider between items; defaults to a chevron, overridable via `children`. */
|
|
34
34
|
declare function BreadcrumbSeparator({
|
|
35
35
|
children,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"li">):
|
|
38
|
+
}: React.ComponentProps<"li">): react_jsx_runtime28.JSX.Element;
|
|
39
39
|
/** Collapsed-trail indicator that stands in for omitted middle segments. */
|
|
40
40
|
declare function BreadcrumbEllipsis({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"span">):
|
|
43
|
+
}: React.ComponentProps<"span">): react_jsx_runtime28.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { BreadcrumbList as a, BreadcrumbLink as i, BreadcrumbEllipsis as n, BreadcrumbPage as o, BreadcrumbItem as r, BreadcrumbSeparator as s, Breadcrumb as t };
|
|
46
46
|
//# sourceMappingURL=index7.d.ts.map
|
package/dist/index7.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index7.d.ts","names":[],"sources":["../src/primitives/Breadcrumb/Breadcrumb.tsx"],"mappings":";;;;;iBAOS,UAAA;;GAAyB,KAAA,CAAM,wBAAqB,
|
|
1
|
+
{"version":3,"file":"index7.d.ts","names":[],"sources":["../src/primitives/Breadcrumb/Breadcrumb.tsx"],"mappings":";;;;;iBAOS,UAAA;;GAAyB,KAAA,CAAM,wBAAqB,mBAAA,CAAA,GAAA,CAAA;;AALzB,iBAU3B,cAAA,CALU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAK8B,KAAA,CAAM,cALpC,CAAA,IAAA,CAAA,CAAA,EAKwD,mBAAA,CAAA,GAAA,CAAA,OALxD;;iBAmBV,cAAA,CAnB+B;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmBS,KAAA,CAAM,cAnBf,CAAA,IAAA,CAAA,CAAA,EAmBmC,mBAAA,CAAA,GAAA,CAAA,OAnBnC;;AAAqB,iBA8BpD,cAAA,CA9BoD;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAkC1D,KAAA,CAAM,cAlCoD,CAAA,GAAA,CAAA,GAAA;EAKpD;EAAc,OAAA,CAAA,EAAA,OAAA;IAgCtB,mBAAA,CAAA,GAAA,CAAA,OAhCyB;;iBA6CjB,cAAA,CA7CkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6C1B,KAAA,CAAM,cA7CoB,CAAA,MAAA,CAAA,CAAA,EA6CE,mBAAA,CAAA,GAAA,CAAA,OA7CF;AAAA;AAAA,iBAyDlE,mBAAA,CA3Cc;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CyC,KAAA,CAAM,cA3C/C,CAAA,IAAA,CAAA,CAAA,EA2CmE,mBAAA,CAAA,GAAA,CAAA,OA3CnE;;iBA0Dd,kBAAA,CA1DiB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0D2B,KAAA,CAAM,cA1DjC,CAAA,MAAA,CAAA,CAAA,EA0DuD,mBAAA,CAAA,GAAA,CAAA,OA1DvD"}
|
package/dist/index71.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as ThemeProduct } from "./index63.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime126 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
@@ -15,7 +15,6 @@ interface ProjectNode {
|
|
|
15
15
|
/** Fully-qualified API endpoints. Built from `apiBaseUrl`; individually overridable. */
|
|
16
16
|
interface HeaderEndpoints {
|
|
17
17
|
token: string;
|
|
18
|
-
me: string;
|
|
19
18
|
logout: string;
|
|
20
19
|
projects: (clientId: string) => string;
|
|
21
20
|
credits: string;
|
|
@@ -28,11 +27,17 @@ interface HeaderProps {
|
|
|
28
27
|
apiBaseUrl: string;
|
|
29
28
|
/**
|
|
30
29
|
* Environment id used to read the session cookie `{environmentId}-sessionId`
|
|
31
|
-
* (a JWT) — the header decodes it
|
|
30
|
+
* (a JWT) — the header decodes it for auth state and user identity
|
|
31
|
+
* (email, client id) without a network call.
|
|
32
32
|
*/
|
|
33
33
|
environmentId: string;
|
|
34
34
|
/** Logo to show. Defaults to the active product from ThemeProvider. */
|
|
35
35
|
logoType?: ThemeProduct;
|
|
36
|
+
/**
|
|
37
|
+
* Where the logo links, e.g. the host app's home route. Falls back to the
|
|
38
|
+
* product's public site when omitted.
|
|
39
|
+
*/
|
|
40
|
+
logoHref?: string;
|
|
36
41
|
/** Show the read-only organisation pill. */
|
|
37
42
|
showOrg?: boolean;
|
|
38
43
|
/** Show the project picker (and the first-run selection overlay). */
|
|
@@ -50,7 +55,7 @@ interface HeaderProps {
|
|
|
50
55
|
* icon is hidden; when set, the icon renders and links here.
|
|
51
56
|
*/
|
|
52
57
|
feedbackUrl?: string;
|
|
53
|
-
/** Active org id from the host session; overrides the
|
|
58
|
+
/** Active org id from the host session; overrides the session JWT's `client_id` claim. */
|
|
54
59
|
clientId?: string;
|
|
55
60
|
/**
|
|
56
61
|
* ESCAPE HATCH — avoid. Inject a pre-resolved access token to skip the header's
|
|
@@ -85,13 +90,15 @@ interface HeaderProps {
|
|
|
85
90
|
declare function HeaderBar({
|
|
86
91
|
className,
|
|
87
92
|
...props
|
|
88
|
-
}: React.ComponentProps<"header">):
|
|
93
|
+
}: React.ComponentProps<"header">): react_jsx_runtime126.JSX.Element;
|
|
89
94
|
/** Product logo linking to its home, with a Suspense-safe fallback. */
|
|
90
95
|
declare function HeaderLogo({
|
|
91
|
-
brand
|
|
96
|
+
brand,
|
|
97
|
+
href
|
|
92
98
|
}: {
|
|
93
99
|
brand: ThemeProduct;
|
|
94
|
-
|
|
100
|
+
href?: string;
|
|
101
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
95
102
|
/** Read-only organisation pill. */
|
|
96
103
|
declare function OrgPill({
|
|
97
104
|
name,
|
|
@@ -99,9 +106,9 @@ declare function OrgPill({
|
|
|
99
106
|
}: {
|
|
100
107
|
name?: string;
|
|
101
108
|
loading?: boolean;
|
|
102
|
-
}):
|
|
109
|
+
}): react_jsx_runtime126.JSX.Element | null;
|
|
103
110
|
/** Light/dark toggle — defers to ThemeProvider. */
|
|
104
|
-
declare function ThemeToggle():
|
|
111
|
+
declare function ThemeToggle(): react_jsx_runtime126.JSX.Element;
|
|
105
112
|
/** Profile menu — avatar trigger with email + logout. */
|
|
106
113
|
declare function ProfileMenu({
|
|
107
114
|
email,
|
|
@@ -109,9 +116,9 @@ declare function ProfileMenu({
|
|
|
109
116
|
}: {
|
|
110
117
|
email?: string;
|
|
111
118
|
onLogout: () => void;
|
|
112
|
-
}):
|
|
119
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
113
120
|
/** Drop-in global header. Must be rendered inside a <ThemeProvider>. */
|
|
114
|
-
declare function Header(props: HeaderProps):
|
|
121
|
+
declare function Header(props: HeaderProps): react_jsx_runtime126.JSX.Element;
|
|
115
122
|
//# sourceMappingURL=Header.d.ts.map
|
|
116
123
|
//#endregion
|
|
117
124
|
//#region src/patterns/Header/ProjectPicker.d.ts
|
|
@@ -136,7 +143,7 @@ declare function ProjectPicker({
|
|
|
136
143
|
searchPlaceholder,
|
|
137
144
|
emptyStateText,
|
|
138
145
|
isLoading
|
|
139
|
-
}: Readonly<ProjectPickerProps>):
|
|
146
|
+
}: Readonly<ProjectPickerProps>): react_jsx_runtime126.JSX.Element;
|
|
140
147
|
//#endregion
|
|
141
148
|
//#region src/patterns/Header/use-global-header.d.ts
|
|
142
149
|
/** Window event other modules can dispatch to show/hide the project dropdown. */
|
|
@@ -215,6 +222,20 @@ declare function useHeaderCredits(): number | undefined;
|
|
|
215
222
|
declare function getSessionToken(environmentId: string): string | null;
|
|
216
223
|
/** Decode a JWT payload without verifying the signature (display/expiry only). */
|
|
217
224
|
|
|
225
|
+
/** User/session claims carried in the session JWT (the subset the header uses). */
|
|
226
|
+
interface SessionClaims {
|
|
227
|
+
email?: string;
|
|
228
|
+
name?: string;
|
|
229
|
+
userId?: string;
|
|
230
|
+
/** Active organisation id (`client_id` claim). */
|
|
231
|
+
clientId?: string;
|
|
232
|
+
exp?: number;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Decode the user claims from the session cookie's JWT — no network call.
|
|
236
|
+
* Returns null when the cookie is absent or undecodable.
|
|
237
|
+
*/
|
|
238
|
+
declare function getSessionClaims(environmentId: string): SessionClaims | null;
|
|
218
239
|
/** True when a valid, unexpired session cookie exists for the environment. */
|
|
219
240
|
declare function isSessionValid(environmentId: string): boolean;
|
|
220
241
|
//#endregion
|
|
@@ -238,5 +259,5 @@ type Labels = typeof DEFAULT_LABELS;
|
|
|
238
259
|
//# sourceMappingURL=labels.d.ts.map
|
|
239
260
|
|
|
240
261
|
//#endregion
|
|
241
|
-
export {
|
|
262
|
+
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 };
|
|
242
263
|
//# sourceMappingURL=index71.d.cts.map
|
package/dist/index71.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.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":";;;;;;;UAKiB,WAAA;;;EAAA,QAAA,EAGL,WAHgB,EAAA;EASX;
|
|
1
|
+
{"version":3,"file":"index71.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":";;;;;;;UAKiB,WAAA;;;EAAA,QAAA,EAGL,WAHgB,EAAA;EASX;EAQL,aAAO,CAAA,EAAA,OAAU;AAG7B;;AAWa,UAtBI,eAAA,CAsBJ;OA0CC,EAAA,MAAA;QAIa,EAAA,MAAA;UAAL,EAAA,CAAA,QAAA,EAAA,MAAA,EAAA,GAAA,MAAA;SAAR,EAAA,MAAA;;AAIK;KAhEP,OAAA,UAAiB;;UAGZ,WAAA;ECeR;EAAS,UAAA,EAAA,MAAA;;;;AAAwD;AAAA;EAevD,aAAA,EAAA,MAAA;;UAAU,CAAA,EDnBhB,YCmBgB;;;AAA8C;AAAA;EAS3D,QAAA,CAAA,EAAA,MAAA;;SAAS,CAAA,EAAA,OAAA;;EAA+C,mBAAA,CAAA,EAAA,OAAA;EAmB/D;EAUA,WAAA,CAAA,EAAW,OAAA;EAAA;mBAAG,CAAA,EAAA,OAAA;;aAA2D,CAAA,EAAA,OAAA;EAAA;EA4ClE,SAAM,CAAA,EAAA,MAAA;EAAA;;;AAAmB;;;;EC7H/B;AAgBV;;;;;;+BAKE,CAAA,EAAA,MAAA;;iBAEA,CAAA,EAAA,CAAA,EAAA,EAAA,MAAA,EAAA,GAAA,IAAA;;uBAEA,CAAA,EAAA,GAAA,GAAA,IAAA;;WACC,CAAA,EFwCW,SExCX;WAA4B,CAAA,EAAA,MAAA;EAAA;cF4CjB,QAAQ,KAAK;;;EGtEd;EACI,OAAA,CAAA,EHyEL,OGzEK;EAOA;EAqBZ,SAAA,CAAA,EAAA,MAAA;EAAmB;QACtB,CAAA,EAAA,MAAA;;AAD6B;;;;iBFDtB,SAAA;;;GAAmC,KAAA,CAAM,2BAAwB,oBAAA,CAAA,GAAA,CAAA;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AAA,MAAA;;UAIQ,CAAA,EAAA,MAAA;KAAR,CAAA,EAAA,MAAA;;AAIK;;;;AC9CV,iBIOO,gBAAA,CJPE,aAAA,EAAA,MAAA,CAAA,EIOuC,aJPvC,GAAA,IAAA;;AAAG,iBIuBL,cAAA,CJvBK,aAAA,EAAA,MAAA,CAAA,EAAA,OAAA;;;iBKrBL,cAAA,iCAEF,2BACX;;;;cCrBU;;;;;EPII,SAAA,cAAW,EAAA,mBAGL;EAMN,SAAA,gBAAe,EAAA,cAAA;EAQpB,SAAA,WAAO,EAAU,QAAK;EAGjB,SAAA,YAAW,EAAA,kBAAA;EAAA,SAAA,kBAAA,EAAA,6EAAA;;AAqDd,KOjEF,MAAA,GPiEE,OOjEc,cPiEd"}
|
package/dist/index71.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as ThemeProduct } from "./index63.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/patterns/Header/types.d.ts
|
|
7
7
|
/** A node in the project hierarchy returned by the projects API. */
|
|
@@ -15,7 +15,6 @@ interface ProjectNode {
|
|
|
15
15
|
/** Fully-qualified API endpoints. Built from `apiBaseUrl`; individually overridable. */
|
|
16
16
|
interface HeaderEndpoints {
|
|
17
17
|
token: string;
|
|
18
|
-
me: string;
|
|
19
18
|
logout: string;
|
|
20
19
|
projects: (clientId: string) => string;
|
|
21
20
|
credits: string;
|
|
@@ -28,11 +27,17 @@ interface HeaderProps {
|
|
|
28
27
|
apiBaseUrl: string;
|
|
29
28
|
/**
|
|
30
29
|
* Environment id used to read the session cookie `{environmentId}-sessionId`
|
|
31
|
-
* (a JWT) — the header decodes it
|
|
30
|
+
* (a JWT) — the header decodes it for auth state and user identity
|
|
31
|
+
* (email, client id) without a network call.
|
|
32
32
|
*/
|
|
33
33
|
environmentId: string;
|
|
34
34
|
/** Logo to show. Defaults to the active product from ThemeProvider. */
|
|
35
35
|
logoType?: ThemeProduct;
|
|
36
|
+
/**
|
|
37
|
+
* Where the logo links, e.g. the host app's home route. Falls back to the
|
|
38
|
+
* product's public site when omitted.
|
|
39
|
+
*/
|
|
40
|
+
logoHref?: string;
|
|
36
41
|
/** Show the read-only organisation pill. */
|
|
37
42
|
showOrg?: boolean;
|
|
38
43
|
/** Show the project picker (and the first-run selection overlay). */
|
|
@@ -50,7 +55,7 @@ interface HeaderProps {
|
|
|
50
55
|
* icon is hidden; when set, the icon renders and links here.
|
|
51
56
|
*/
|
|
52
57
|
feedbackUrl?: string;
|
|
53
|
-
/** Active org id from the host session; overrides the
|
|
58
|
+
/** Active org id from the host session; overrides the session JWT's `client_id` claim. */
|
|
54
59
|
clientId?: string;
|
|
55
60
|
/**
|
|
56
61
|
* ESCAPE HATCH — avoid. Inject a pre-resolved access token to skip the header's
|
|
@@ -85,13 +90,15 @@ interface HeaderProps {
|
|
|
85
90
|
declare function HeaderBar({
|
|
86
91
|
className,
|
|
87
92
|
...props
|
|
88
|
-
}: React.ComponentProps<"header">):
|
|
93
|
+
}: React.ComponentProps<"header">): react_jsx_runtime70.JSX.Element;
|
|
89
94
|
/** Product logo linking to its home, with a Suspense-safe fallback. */
|
|
90
95
|
declare function HeaderLogo({
|
|
91
|
-
brand
|
|
96
|
+
brand,
|
|
97
|
+
href
|
|
92
98
|
}: {
|
|
93
99
|
brand: ThemeProduct;
|
|
94
|
-
|
|
100
|
+
href?: string;
|
|
101
|
+
}): react_jsx_runtime70.JSX.Element;
|
|
95
102
|
/** Read-only organisation pill. */
|
|
96
103
|
declare function OrgPill({
|
|
97
104
|
name,
|
|
@@ -99,9 +106,9 @@ declare function OrgPill({
|
|
|
99
106
|
}: {
|
|
100
107
|
name?: string;
|
|
101
108
|
loading?: boolean;
|
|
102
|
-
}):
|
|
109
|
+
}): react_jsx_runtime70.JSX.Element | null;
|
|
103
110
|
/** Light/dark toggle — defers to ThemeProvider. */
|
|
104
|
-
declare function ThemeToggle():
|
|
111
|
+
declare function ThemeToggle(): react_jsx_runtime70.JSX.Element;
|
|
105
112
|
/** Profile menu — avatar trigger with email + logout. */
|
|
106
113
|
declare function ProfileMenu({
|
|
107
114
|
email,
|
|
@@ -109,9 +116,9 @@ declare function ProfileMenu({
|
|
|
109
116
|
}: {
|
|
110
117
|
email?: string;
|
|
111
118
|
onLogout: () => void;
|
|
112
|
-
}):
|
|
119
|
+
}): react_jsx_runtime70.JSX.Element;
|
|
113
120
|
/** Drop-in global header. Must be rendered inside a <ThemeProvider>. */
|
|
114
|
-
declare function Header(props: HeaderProps):
|
|
121
|
+
declare function Header(props: HeaderProps): react_jsx_runtime70.JSX.Element;
|
|
115
122
|
//# sourceMappingURL=Header.d.ts.map
|
|
116
123
|
//#endregion
|
|
117
124
|
//#region src/patterns/Header/ProjectPicker.d.ts
|
|
@@ -136,7 +143,7 @@ declare function ProjectPicker({
|
|
|
136
143
|
searchPlaceholder,
|
|
137
144
|
emptyStateText,
|
|
138
145
|
isLoading
|
|
139
|
-
}: Readonly<ProjectPickerProps>):
|
|
146
|
+
}: Readonly<ProjectPickerProps>): react_jsx_runtime70.JSX.Element;
|
|
140
147
|
//#endregion
|
|
141
148
|
//#region src/patterns/Header/use-global-header.d.ts
|
|
142
149
|
/** Window event other modules can dispatch to show/hide the project dropdown. */
|
|
@@ -215,6 +222,20 @@ declare function useHeaderCredits(): number | undefined;
|
|
|
215
222
|
declare function getSessionToken(environmentId: string): string | null;
|
|
216
223
|
/** Decode a JWT payload without verifying the signature (display/expiry only). */
|
|
217
224
|
|
|
225
|
+
/** User/session claims carried in the session JWT (the subset the header uses). */
|
|
226
|
+
interface SessionClaims {
|
|
227
|
+
email?: string;
|
|
228
|
+
name?: string;
|
|
229
|
+
userId?: string;
|
|
230
|
+
/** Active organisation id (`client_id` claim). */
|
|
231
|
+
clientId?: string;
|
|
232
|
+
exp?: number;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Decode the user claims from the session cookie's JWT — no network call.
|
|
236
|
+
* Returns null when the cookie is absent or undecodable.
|
|
237
|
+
*/
|
|
238
|
+
declare function getSessionClaims(environmentId: string): SessionClaims | null;
|
|
218
239
|
/** True when a valid, unexpired session cookie exists for the environment. */
|
|
219
240
|
declare function isSessionValid(environmentId: string): boolean;
|
|
220
241
|
//#endregion
|
|
@@ -238,5 +259,5 @@ type Labels = typeof DEFAULT_LABELS;
|
|
|
238
259
|
//# sourceMappingURL=labels.d.ts.map
|
|
239
260
|
|
|
240
261
|
//#endregion
|
|
241
|
-
export {
|
|
262
|
+
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 };
|
|
242
263
|
//# sourceMappingURL=index71.d.ts.map
|
package/dist/index71.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.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":";;;;;;;UAKiB,WAAA;;;EAAA,QAAA,EAGL,WAHgB,EAAA;EASX;
|
|
1
|
+
{"version":3,"file":"index71.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","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A,CJPE,aAAA,EAAA,MAAA,CAAA,EIOuC,aJPvC,GAAA,IAAA;;AAAG,iBIuBL,cAAA,CJvBK,aAAA,EAAA,MAAA,CAAA,EAAA,OAAA;;;iBKrBL,cAAA,iCAEF,2BACX;;;;cCrBU;;;;;EPII,SAAA,cAAW,EAAA,mBAGL;EAMN,SAAA,gBAAe,EAAA,cAAA;EAQpB,SAAA,WAAO,EAAU,QAAK;EAGjB,SAAA,YAAW,EAAA,kBAAA;EAAA,SAAA,kBAAA,EAAA,6EAAA;;AAqDd,KOjEF,MAAA,GPiEE,OOjEc,cPiEd"}
|
package/dist/index8.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as class_variance_authority_types6 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" | "
|
|
9
|
-
size?: "default" | "
|
|
10
|
-
shape?: "
|
|
11
|
-
} &
|
|
8
|
+
variant?: "default" | "destructive" | "outline" | "ai" | "link" | "secondary" | "ghost" | "destructive-ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | "icon" | "xs" | "icon-xs" | "icon-sm" | "lg" | "xl" | "icon-lg" | "icon-xl" | null | undefined;
|
|
10
|
+
shape?: "square" | "default" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types6.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,+BAAA,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 * as react0 from "react";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 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" | "
|
|
9
|
-
size?: "
|
|
8
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "ai" | "destructive-ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl" | null | undefined;
|
|
10
10
|
shape?: "default" | "square" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types0.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.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index8.d.ts","names":[],"sources":["../src/primitives/Button/Button.tsx"],"mappings":";;;;;;cAUM,sBA4CL;;;;AApDuD,CAAA,GAoDvD,
|
|
1
|
+
{"version":3,"file":"index8.d.ts","names":[],"sources":["../src/primitives/Button/Button.tsx"],"mappings":";;;;;;cAUM,sBA4CL;;;;AApDuD,CAAA,GAoDvD,+BAAA,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/index9.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime221 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_runtime221.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SeparatorSpacing as n, Separator$1 as t };
|
|
20
20
|
//# sourceMappingURL=index9.d.cts.map
|