@psnext/design-system 1.4.0 → 1.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/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.ts +6 -6
- 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 +11 -11
- 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.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/index17.d.ts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- 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.cts.map +1 -1
- 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.ts +16 -16
- package/dist/index24.d.cts +10 -10
- 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/index26.d.cts +13 -13
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +13 -13
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +7 -7
- package/dist/index28.d.cts +5 -5
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +4 -4
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +4 -4
- 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/index3.d.ts.map +1 -1
- package/dist/index30.d.cts +5 -5
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +4 -4
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.ts +3 -3
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +5 -5
- package/dist/index32.d.ts +5 -5
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +8 -8
- package/dist/index33.d.ts +10 -10
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.ts +5 -5
- package/dist/index35.d.cts +16 -16
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +15 -15
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +3 -3
- package/dist/index37.d.cts +4 -4
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +4 -4
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.cts.map +1 -1
- 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/index40.d.ts.map +1 -1
- 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/index43.d.cts +9 -9
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +9 -9
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +8 -8
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +8 -8
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +2 -2
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +2 -2
- package/dist/index46.d.cts +4 -4
- package/dist/index46.d.ts +4 -4
- 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 +3 -3
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +3 -3
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +11 -11
- package/dist/index49.d.ts +11 -11
- package/dist/index49.d.ts.map +1 -1
- 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 +9 -9
- package/dist/index50.d.ts +9 -9
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +5 -5
- package/dist/index51.d.ts +5 -5
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +27 -27
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +25 -25
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +5 -5
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +5 -5
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +2 -2
- package/dist/index54.d.cts.map +1 -1
- package/dist/index54.d.ts +2 -2
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +2 -2
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +2 -2
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index57.d.cts +4 -4
- package/dist/index57.d.ts +4 -4
- package/dist/index58.d.cts +9 -9
- package/dist/index58.d.ts +9 -9
- package/dist/index59.d.cts +9 -9
- package/dist/index59.d.ts +11 -11
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +6 -6
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +4 -4
- package/dist/index61.d.cts +4 -4
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +4 -4
- package/dist/index62.d.cts +2 -2
- package/dist/index62.d.ts +2 -2
- package/dist/index63.d.cts +6 -6
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +6 -6
- package/dist/index64.d.cts +3 -3
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +3 -3
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +4 -4
- package/dist/index65.d.ts +5 -5
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +2 -2
- package/dist/index66.d.ts +2 -2
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +5 -5
- package/dist/index67.d.ts +5 -5
- package/dist/index68.d.cts +6 -6
- package/dist/index68.d.ts +7 -7
- package/dist/index68.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 +8 -8
- package/dist/index70.d.ts +8 -8
- package/dist/index8.d.cts +4 -4
- 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/index9.d.ts.map +1 -1
- 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/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.ts +13 -13
- 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.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/styles/base.css +49 -44
- package/dist/styles/typography.css +118 -112
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime273 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_runtime273.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_runtime273.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":";;;;KAoBK;;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":";;;;KAoBK;;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,oBAAA,CAAA,GAAA,CAAA,OAD9B;;iBA6FO,qBA5FgB,CAAA,KAAA,EAAA,MAAA,CAAA,CAAA;EAAA,MAAA;EAAA,KAAA;EAAA;CAAA,EAAA;;QAAO,EAkGtB,MAlGsB,CAkGf,KAlGe,EAkGR,MAlGQ,CAAA;EAAA;EA4FvB,KAAA,EAAA,MAAA;EAAqB;WAC5B,CAAA,EAAA,MAAA;IAUD,oBAAA,CAAA,GAAA,CAAA,OATC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime171 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_runtime171.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_runtime171.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_runtime245 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_runtime245.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_runtime245.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_runtime245.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_runtime245.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_runtime245.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_runtime245.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Footer, FooterCenter, FooterEnd, FooterPoweredBy, FooterSeparator, FooterStart };
|
|
54
54
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/patterns/Footer/Footer.tsx"],"mappings":";;;;cAyBM;;;EAAA,SAAA,KAAA,EAAA,6CAII;AAAA,CAAA;;iBAGD,MAAA,CACP;EAAA,SAAA;EAAA,QAAA;EAAA,UAAA;EAAA,GAAA;CAAA,EAIC,KAAA,CAAM,cAJP,CAAA,QAAA,CAAA,GAAA;;UAEA,CAAA,EAAA,OAAA;;YAM0B,CAAA,EAAA,MAAA,OAAA,iBAAA;IAC3B,
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/patterns/Footer/Footer.tsx"],"mappings":";;;;cAyBM;;;EAAA,SAAA,KAAA,EAAA,6CAII;AAAA,CAAA;;iBAGD,MAAA,CACP;EAAA,SAAA;EAAA,QAAA;EAAA,UAAA;EAAA,GAAA;CAAA,EAIC,KAAA,CAAM,cAJP,CAAA,QAAA,CAAA,GAAA;;UAEA,CAAA,EAAA,OAAA;;YAM0B,CAAA,EAAA,MAAA,OAAA,iBAAA;IAC3B,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAoBQ,WAAA,CAAW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA0B,KAAA,CAAM,cAAhC,CAAA,KAAA,CAAA,CAAA,EAAqD,oBAAA,CAAA,GAAA,CAAA,OAArD;;iBAcX,YAAA,CAdc;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAcwB,KAAA,CAAM,cAd9B,CAAA,KAAA,CAAA,CAAA,EAcmD,oBAAA,CAAA,GAAA,CAAA,OAdnD;;iBAyBd,SAAA,CAzBgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyB7B,KAAA,CAAM,cAzBuB,CAAA,KAAA,CAAA,CAAA,EAyBF,oBAAA,CAAA,GAAA,CAAA,OAzBE;AAAA;AAAA,iBAuChE,eAAA,CAzBY;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EA8BlB,KAAA,CAAM,cA9BY,CAAA,KAAA,CAAA,GAAA;EAAA;OAAG,CAAA,EAgCd,KAAA,CAAM,SAhCQ;IAiCvB,oBAAA,CAAA,GAAA,CAAA,OAjCoD;;AAAqB,iBAiDjE,eAAA,CAjDiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiDxB,KAAA,CAAM,cAjDkB,CAAA,MAAA,CAAA,CAAA,EAiDI,oBAAA,CAAA,GAAA,CAAA,OAjDJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 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_runtime25.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_runtime25.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_runtime25.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_runtime25.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_runtime25.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_runtime25.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Footer, FooterCenter, FooterEnd, FooterPoweredBy, FooterSeparator, FooterStart };
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as HeadingProps } from "../../index28.cjs";
|
|
2
2
|
import { t as Text } from "../../index60.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime265 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ declare function MediaObject({
|
|
|
15
15
|
className,
|
|
16
16
|
interactive,
|
|
17
17
|
...props
|
|
18
|
-
}: MediaObjectProps):
|
|
18
|
+
}: MediaObjectProps): react_jsx_runtime265.JSX.Element;
|
|
19
19
|
type MediaObjectImageProps = React.ComponentProps<"img"> & {
|
|
20
20
|
/** Required alt text describing the media (enforced for accessibility). */
|
|
21
21
|
alt: string;
|
|
@@ -25,17 +25,17 @@ declare function MediaObjectImage({
|
|
|
25
25
|
className,
|
|
26
26
|
alt,
|
|
27
27
|
...props
|
|
28
|
-
}: MediaObjectImageProps):
|
|
28
|
+
}: MediaObjectImageProps): react_jsx_runtime265.JSX.Element;
|
|
29
29
|
/** Square container for the icon-top card variant; place an Icon inside it. */
|
|
30
30
|
declare function MediaObjectIcon({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">):
|
|
33
|
+
}: React.ComponentProps<"div">): react_jsx_runtime265.JSX.Element;
|
|
34
34
|
/** Padded body region of a card that holds the title, text, and actions. */
|
|
35
35
|
declare function MediaObjectContent({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"div">):
|
|
38
|
+
}: React.ComponentProps<"div">): react_jsx_runtime265.JSX.Element;
|
|
39
39
|
type MediaObjectTitleProps = Omit<HeadingProps, "as"> & {
|
|
40
40
|
/** Heading size step passthrough (defaults to "4"). */
|
|
41
41
|
size?: HeadingProps["size"];
|
|
@@ -44,20 +44,20 @@ type MediaObjectTitleProps = Omit<HeadingProps, "as"> & {
|
|
|
44
44
|
declare function MediaObjectTitle({
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: MediaObjectTitleProps):
|
|
47
|
+
}: MediaObjectTitleProps): react_jsx_runtime265.JSX.Element;
|
|
48
48
|
/** Supporting body copy; wraps the Text primitive (muted, small). */
|
|
49
49
|
declare function MediaObjectText({
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Text>):
|
|
51
|
+
}: React.ComponentProps<typeof Text>): react_jsx_runtime265.JSX.Element;
|
|
52
52
|
/** Action row pinned to the bottom of the content; holds a Button or Link. */
|
|
53
53
|
declare function MediaObjectActions({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"div">):
|
|
56
|
+
}: React.ComponentProps<"div">): react_jsx_runtime265.JSX.Element;
|
|
57
57
|
declare const mediaObjectGroupVariants: (props?: ({
|
|
58
58
|
columns?: 1 | 2 | 3 | 4 | null | undefined;
|
|
59
59
|
gap?: "sm" | "lg" | "md" | null | undefined;
|
|
60
|
-
} &
|
|
60
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string;
|
|
61
61
|
type MediaObjectGroupProps = React.ComponentProps<"div"> & VariantProps<typeof mediaObjectGroupVariants>;
|
|
62
62
|
/** Responsive grid wrapper that lays out a set of MediaObject cards. */
|
|
63
63
|
declare function MediaObjectGroup({
|
|
@@ -65,7 +65,7 @@ declare function MediaObjectGroup({
|
|
|
65
65
|
columns,
|
|
66
66
|
gap,
|
|
67
67
|
...props
|
|
68
|
-
}: MediaObjectGroupProps):
|
|
68
|
+
}: MediaObjectGroupProps): react_jsx_runtime265.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { MediaObject, MediaObjectActions, MediaObjectContent, MediaObjectGroup, type MediaObjectGroupProps, MediaObjectIcon, MediaObjectImage, type MediaObjectImageProps, type MediaObjectProps, MediaObjectText, MediaObjectTitle, type MediaObjectTitleProps, mediaObjectGroupVariants };
|
|
71
71
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as HeadingProps } from "../../index28.js";
|
|
2
2
|
import { t as Text } from "../../index60.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region src/patterns/MediaObject/MediaObject.d.ts
|
|
9
9
|
type MediaObjectProps = React.ComponentProps<"article"> & {
|
|
@@ -15,7 +15,7 @@ declare function MediaObject({
|
|
|
15
15
|
className,
|
|
16
16
|
interactive,
|
|
17
17
|
...props
|
|
18
|
-
}: MediaObjectProps):
|
|
18
|
+
}: MediaObjectProps): react_jsx_runtime5.JSX.Element;
|
|
19
19
|
type MediaObjectImageProps = React.ComponentProps<"img"> & {
|
|
20
20
|
/** Required alt text describing the media (enforced for accessibility). */
|
|
21
21
|
alt: string;
|
|
@@ -25,17 +25,17 @@ declare function MediaObjectImage({
|
|
|
25
25
|
className,
|
|
26
26
|
alt,
|
|
27
27
|
...props
|
|
28
|
-
}: MediaObjectImageProps):
|
|
28
|
+
}: MediaObjectImageProps): react_jsx_runtime5.JSX.Element;
|
|
29
29
|
/** Square container for the icon-top card variant; place an Icon inside it. */
|
|
30
30
|
declare function MediaObjectIcon({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">):
|
|
33
|
+
}: React.ComponentProps<"div">): react_jsx_runtime5.JSX.Element;
|
|
34
34
|
/** Padded body region of a card that holds the title, text, and actions. */
|
|
35
35
|
declare function MediaObjectContent({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"div">):
|
|
38
|
+
}: React.ComponentProps<"div">): react_jsx_runtime5.JSX.Element;
|
|
39
39
|
type MediaObjectTitleProps = Omit<HeadingProps, "as"> & {
|
|
40
40
|
/** Heading size step passthrough (defaults to "4"). */
|
|
41
41
|
size?: HeadingProps["size"];
|
|
@@ -44,20 +44,20 @@ type MediaObjectTitleProps = Omit<HeadingProps, "as"> & {
|
|
|
44
44
|
declare function MediaObjectTitle({
|
|
45
45
|
size,
|
|
46
46
|
...props
|
|
47
|
-
}: MediaObjectTitleProps):
|
|
47
|
+
}: MediaObjectTitleProps): react_jsx_runtime5.JSX.Element;
|
|
48
48
|
/** Supporting body copy; wraps the Text primitive (muted, small). */
|
|
49
49
|
declare function MediaObjectText({
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Text>):
|
|
51
|
+
}: React.ComponentProps<typeof Text>): react_jsx_runtime5.JSX.Element;
|
|
52
52
|
/** Action row pinned to the bottom of the content; holds a Button or Link. */
|
|
53
53
|
declare function MediaObjectActions({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"div">):
|
|
56
|
+
}: React.ComponentProps<"div">): react_jsx_runtime5.JSX.Element;
|
|
57
57
|
declare const mediaObjectGroupVariants: (props?: ({
|
|
58
|
-
columns?:
|
|
59
|
-
gap?: "sm" | "
|
|
60
|
-
} &
|
|
58
|
+
columns?: 1 | 2 | 3 | 4 | null | undefined;
|
|
59
|
+
gap?: "sm" | "lg" | "md" | null | undefined;
|
|
60
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
61
61
|
type MediaObjectGroupProps = React.ComponentProps<"div"> & VariantProps<typeof mediaObjectGroupVariants>;
|
|
62
62
|
/** Responsive grid wrapper that lays out a set of MediaObject cards. */
|
|
63
63
|
declare function MediaObjectGroup({
|
|
@@ -65,7 +65,7 @@ declare function MediaObjectGroup({
|
|
|
65
65
|
columns,
|
|
66
66
|
gap,
|
|
67
67
|
...props
|
|
68
|
-
}: MediaObjectGroupProps):
|
|
68
|
+
}: MediaObjectGroupProps): react_jsx_runtime5.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { MediaObject, MediaObjectActions, MediaObjectContent, MediaObjectGroup, type MediaObjectGroupProps, MediaObjectIcon, MediaObjectImage, type MediaObjectImageProps, type MediaObjectProps, MediaObjectText, MediaObjectTitle, type MediaObjectTitleProps, mediaObjectGroupVariants };
|
|
71
71
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime314 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/SectionCard/SectionCard.d.ts
|
|
@@ -15,7 +15,7 @@ declare function SectionCard({
|
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: SectionCardProps):
|
|
18
|
+
}: SectionCardProps): react_jsx_runtime314.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SectionCard, type SectionCardProps };
|
|
21
21
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/patterns/SectionCard/SectionCard.d.ts
|
|
5
5
|
type SectionCardProps = Omit<React.ComponentProps<"div">, "title"> & {
|
|
@@ -15,7 +15,7 @@ declare function SectionCard({
|
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: SectionCardProps):
|
|
18
|
+
}: SectionCardProps): react_jsx_runtime4.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SectionCard, type SectionCardProps };
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/SectionCard/SectionCard.tsx"],"mappings":";;;;KASK,gBAAA,GAAmB,KAAK,KAAA,CAAM;;SAE1B,KAAA,CAAM;EAFV;EAAgB,MAAA,CAAA,EAIV,KAAA,CAAM,SAJI;;;iBAQZ,WAAA,CANM;EAAA,KAAA;EAAA,MAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAMwD,gBANxD,CAAA,EAMwE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/SectionCard/SectionCard.tsx"],"mappings":";;;;KASK,gBAAA,GAAmB,KAAK,KAAA,CAAM;;SAE1B,KAAA,CAAM;EAFV;EAAgB,MAAA,CAAA,EAIV,KAAA,CAAM,SAJI;;;iBAQZ,WAAA,CANM;EAAA,KAAA;EAAA,MAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAMwD,gBANxD,CAAA,EAMwE,kBAAA,CAAA,GAAA,CAAA,OANxE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as HeadingProps } from "../../index28.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime263 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/patterns/SectionHeading/SectionHeading.d.ts
|
|
@@ -31,7 +31,7 @@ declare function SectionHeading({
|
|
|
31
31
|
titleAs,
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: SectionHeadingProps):
|
|
34
|
+
}: SectionHeadingProps): react_jsx_runtime263.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SectionHeading, type SectionHeadingProps };
|
|
37
37
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as HeadingProps } from "../../index28.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/patterns/SectionHeading/SectionHeading.d.ts
|
|
6
6
|
/** Props for the {@link SectionHeading} pattern. */
|
|
@@ -31,7 +31,7 @@ declare function SectionHeading({
|
|
|
31
31
|
titleAs,
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: SectionHeadingProps):
|
|
34
|
+
}: SectionHeadingProps): react_jsx_runtime3.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SectionHeading, type SectionHeadingProps };
|
|
37
37
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/SectionHeading/SectionHeading.tsx"],"mappings":";;;;;;KAYK,mBAAA,GAAsB,KAAK,KAAA,CAAM;;EAAjC,KAAA,EAEI,KAAA,CAAM,SAFS;EAAA;UAAQ,CAAM,EAIzB,KAAA,CAAM,SAJmB;;SAE7B,CAAA,EAIG,KAAA,CAAM,SAJH;;OAIH,CAAA,EAAA,QAAM,GAAA,MAAA;;UAQN,CAAM,EAAA,OAAA;EAAW;EAIpB,SAAA,CAAA,EANK,YAMS,CAAA,MAAA,CAAA;EAAA;SACrB,CAAA,EALU,KAAA,CAAM,WAKhB;;;iBADO,cAAA,CAIP;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,KAAA;EAAA,QAAA;EAAA,SAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAMC,mBAND,CAAA,EAMoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/SectionHeading/SectionHeading.tsx"],"mappings":";;;;;;KAYK,mBAAA,GAAsB,KAAK,KAAA,CAAM;;EAAjC,KAAA,EAEI,KAAA,CAAM,SAFS;EAAA;UAAQ,CAAM,EAIzB,KAAA,CAAM,SAJmB;;SAE7B,CAAA,EAIG,KAAA,CAAM,SAJH;;OAIH,CAAA,EAAA,QAAM,GAAA,MAAA;;UAQN,CAAM,EAAA,OAAA;EAAW;EAIpB,SAAA,CAAA,EANK,YAMS,CAAA,MAAA,CAAA;EAAA;SACrB,CAAA,EALU,KAAA,CAAM,WAKhB;;;iBADO,cAAA,CAIP;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,KAAA;EAAA,QAAA;EAAA,SAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAMC,mBAND,CAAA,EAMoB,kBAAA,CAAA,GAAA,CAAA,OANpB"}
|
package/dist/styles/base.css
CHANGED
|
@@ -3,55 +3,60 @@
|
|
|
3
3
|
shares the same baseline (border color, focus outline, page
|
|
4
4
|
surface). Lives in @layer base, so component/app utilities still
|
|
5
5
|
override it per-element.
|
|
6
|
+
|
|
7
|
+
Add class="ds-no-base" to <body> to opt out of all defaults below.
|
|
8
|
+
Intended for apps that are incrementally migrating to the design
|
|
9
|
+
system and already have their own baseline styles.
|
|
6
10
|
============================================================ */
|
|
7
11
|
|
|
8
12
|
@layer base {
|
|
9
|
-
|
|
10
|
-
@apply border-border outline-ring/50;
|
|
11
|
-
}
|
|
12
|
-
body {
|
|
13
|
+
body:not(.ds-no-base) {
|
|
13
14
|
@apply bg-background text-foreground;
|
|
14
|
-
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
16
|
+
& * {
|
|
17
|
+
@apply border-border outline-ring/50;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Raw heading tags pick up the heading type scale by default (Tailwind's
|
|
21
|
+
preflight otherwise resets h1–h6 to inherit). h1–h4 are Regular, h5–h6
|
|
22
|
+
Medium — matching the Heading primitive. In @layer base, so any utility
|
|
23
|
+
class (text-2xl, font-bold, the Heading component's size classes, …) still
|
|
24
|
+
overrides per element. */
|
|
25
|
+
& h1,
|
|
26
|
+
& h2,
|
|
27
|
+
& h3,
|
|
28
|
+
& h4,
|
|
29
|
+
& h5,
|
|
30
|
+
& h6 {
|
|
31
|
+
font-family: var(--font-heading);
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
}
|
|
34
|
+
& h1 {
|
|
35
|
+
font-size: var(--heading-1-font-size);
|
|
36
|
+
line-height: var(--heading-1-line-height);
|
|
37
|
+
}
|
|
38
|
+
& h2 {
|
|
39
|
+
font-size: var(--heading-2-font-size);
|
|
40
|
+
line-height: var(--heading-2-line-height);
|
|
41
|
+
}
|
|
42
|
+
& h3 {
|
|
43
|
+
font-size: var(--heading-3-font-size);
|
|
44
|
+
line-height: var(--heading-3-line-height);
|
|
45
|
+
}
|
|
46
|
+
& h4 {
|
|
47
|
+
font-size: var(--heading-4-font-size);
|
|
48
|
+
line-height: var(--heading-4-line-height);
|
|
49
|
+
}
|
|
50
|
+
& h5 {
|
|
51
|
+
font-size: var(--heading-5-font-size);
|
|
52
|
+
line-height: var(--heading-5-line-height);
|
|
53
|
+
font-weight: 500;
|
|
54
|
+
}
|
|
55
|
+
& h6 {
|
|
56
|
+
font-size: var(--heading-6-font-size);
|
|
57
|
+
line-height: var(--heading-6-line-height);
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
}
|
|
55
60
|
}
|
|
56
61
|
}
|
|
57
62
|
|