@psnext/design-system 1.2.1 → 1.3.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.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.cts.map +1 -1
- package/dist/index10.d.ts +7 -7
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +11 -11
- package/dist/index12.d.ts +12 -12
- 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/index18.d.cts +11 -11
- package/dist/index18.d.ts +11 -11
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.ts +10 -10
- 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 +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index20.d.ts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index22.d.ts +11 -11
- package/dist/index22.d.ts.map +1 -1
- 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.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.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 +5 -5
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- 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 +3 -3
- package/dist/index30.d.ts +6 -6
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.ts +4 -4
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +4 -4
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +5 -5
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +10 -10
- package/dist/index33.d.ts +11 -11
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.cts.map +1 -1
- 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/index36.d.ts.map +1 -1
- 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.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.ts +17 -17
- 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 +4 -4
- 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/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.ts +9 -9
- package/dist/index44.d.cts +8 -8
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +8 -8
- package/dist/index45.d.cts +2 -2
- package/dist/index45.d.ts +2 -2
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +4 -4
- package/dist/index46.d.ts +4 -4
- package/dist/index47.d.cts +4 -4
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +4 -4
- 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.cts.map +1 -1
- 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/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 +26 -26
- package/dist/index52.d.ts +27 -27
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +5 -5
- 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.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/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +4 -4
- package/dist/index57.d.ts +4 -4
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +9 -9
- package/dist/index58.d.ts +9 -9
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +11 -11
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +13 -13
- 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 +5 -5
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +7 -7
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +4 -4
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +4 -4
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +2 -2
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +2 -2
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +5 -5
- package/dist/index63.d.ts +6 -6
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +3 -3
- 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 +4 -4
- 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 +8 -8
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +6 -6
- package/dist/index68.d.ts +7 -7
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index70.d.cts +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/index8.d.ts.map +1 -1
- 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.ts +3 -3
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.ts +13 -13
- 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.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/styles/index.css +3 -0
- package/dist/styles/theme.css +11 -3
- package/dist/styles/typography.css +136 -0
- package/package.json +1 -1
package/dist/index9.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Separator } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Separator/Separator.d.ts
|
|
6
6
|
type SeparatorSpacing = "none" | "regular" | "spacious";
|
|
@@ -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_runtime58.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SeparatorSpacing as n, Separator$1 as t };
|
|
20
20
|
//# sourceMappingURL=index9.d.ts.map
|
package/dist/index9.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.d.ts","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.ts","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,mBAAA,CAAA,GAAA,CAAA,OATiB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime130 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_runtime130.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_runtime130.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { type ColumnDef, DataTable, DataTableColumnHeader };
|
|
43
43
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime237 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_runtime237.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_runtime237.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_runtime250 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_runtime250.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_runtime250.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_runtime250.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_runtime250.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_runtime250.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_runtime250.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_runtime41 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_runtime41.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_runtime41.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_runtime41.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_runtime41.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_runtime41.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_runtime41.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Footer, FooterCenter, FooterEnd, FooterPoweredBy, FooterSeparator, FooterStart };
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","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.ts","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,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAoBQ,WAAA,CAAW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA0B,KAAA,CAAM,cAAhC,CAAA,KAAA,CAAA,CAAA,EAAqD,mBAAA,CAAA,GAAA,CAAA,OAArD;;iBAcX,YAAA,CAdc;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAcwB,KAAA,CAAM,cAd9B,CAAA,KAAA,CAAA,CAAA,EAcmD,mBAAA,CAAA,GAAA,CAAA,OAdnD;;iBAyBd,SAAA,CAzBgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyB7B,KAAA,CAAM,cAzBuB,CAAA,KAAA,CAAA,CAAA,EAyBF,mBAAA,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,mBAAA,CAAA,GAAA,CAAA,OAjCoD;;AAAqB,iBAiDjE,eAAA,CAjDiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiDxB,KAAA,CAAM,cAjDkB,CAAA,MAAA,CAAA,CAAA,EAiDI,mBAAA,CAAA,GAAA,CAAA,OAjDJ"}
|
|
@@ -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_runtime240 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types23 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_runtime240.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_runtime240.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_runtime240.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_runtime240.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_runtime240.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_runtime240.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_runtime240.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_types23.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_runtime240.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_runtime29 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types5 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_runtime29.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_runtime29.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_runtime29.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_runtime29.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_runtime29.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_runtime29.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_runtime29.JSX.Element;
|
|
57
57
|
declare const mediaObjectGroupVariants: (props?: ({
|
|
58
|
-
columns?:
|
|
59
|
-
gap?: "sm" | "
|
|
60
|
-
} &
|
|
58
|
+
columns?: 3 | 1 | 2 | 4 | null | undefined;
|
|
59
|
+
gap?: "sm" | "md" | "lg" | null | undefined;
|
|
60
|
+
} & class_variance_authority_types5.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_runtime29.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/MediaObject/MediaObject.tsx"],"mappings":";;;;;;;;KAcK,gBAAA,GAAmB,KAAA,CAAM;;;;AAVW;AAUG,iBAMnC,WAAA,CAAW;EAAA,SAAA;EAAA,WAAA;EAAA,GAAA;AAAA,CAAA,EAAuC,gBAAvC,CAAA,EAAuD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/patterns/MediaObject/MediaObject.tsx"],"mappings":";;;;;;;;KAcK,gBAAA,GAAmB,KAAA,CAAM;;;;AAVW;AAUG,iBAMnC,WAAA,CAAW;EAAA,SAAA;EAAA,WAAA;EAAA,GAAA;AAAA,CAAA,EAAuC,gBAAvC,CAAA,EAAuD,mBAAA,CAAA,GAAA,CAAA,OAAvD;KAef,qBAAA,GAAwB,KAAA,CAAM,cAff,CAAA,KAAA,CAAA,GAAA;;KAAc,EAAA,MAAA;;;AAAyC,iBAqBlE,gBAAA,CArBkE;EAAA,SAAA;EAAA,GAAA;EAAA,GAAA;AAAA,CAAA,EAqBnB,qBArBmB,CAAA,EAqBE,mBAAA,CAAA,GAAA,CAAA,OArBF;AAAA;AAe1B,iBAuBxC,eAAA,CAjBgB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiByB,KAAA,CAAM,cAjB/B,CAAA,KAAA,CAAA,CAAA,EAiBoD,mBAAA,CAAA,GAAA,CAAA,OAjBpD;;iBA6BhB,kBAAA,CA7BmB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6ByB,KAAA,CAAM,cA7B/B,CAAA,KAAA,CAAA,CAAA,EA6BoD,mBAAA,CAAA,GAAA,CAAA,OA7BpD;KAwCvB,qBAAA,GAAwB,IAxCU,CAwCL,YAxCK,EAAA,IAAA,CAAA,GAAA;;MAAsC,CAAA,EA0CpE,YA1CoE,CAAA,MAAA,CAAA;AAAA,CAAA;AAAA;iBA8CpE,gBAAA,CA7Be;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA6BsB,qBA7BtB,CAAA,EA6B2C,mBAAA,CAAA,GAAA,CAAA,OA7B3C;;iBAmCf,eAAA,CAnC+C;EAAA,GAAA;AAAA,CAAA,EAmCjB,KAAA,CAAM,cAnCW,CAAA,OAmCW,IAnCX,CAAA,CAAA,EAmCgB,mBAAA,CAAA,GAAA,CAAA,OAnChB;;AAAqB,iBAyCpE,kBAAA,CAzCoE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCxB,KAAA,CAAM,cAzCkB,CAAA,KAAA,CAAA,CAAA,EAyCG,mBAAA,CAAA,GAAA,CAAA,OAzCH;AAAA,cAqDvE,wBAzCqB,EAAA,CAAA,KAAgC,CAAhC,EAAA,CAAA;EAAA,OAAA,CAAA,EAAA,CAAA,GAAA,CAAA,GAAA,CAAA,GAAA,CAAA,GAAA,IAAA,GAAA,SAAA;KAAG,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA2D5B,+BAAA,CAAA,SA3DyD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KA6DtD,qBAAA,GAAwB,KAAA,CAAM,cA7D6C,CAAA,KAAA,CAAA,GA8D9E,YA9D8E,CAAA,OA8D1D,wBA9D0D,CAAA;AAAA;AAAA,iBAiEvE,gBAAA,CAtDiB;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;EAAA,GAAA;AAAA,CAAA,EAsDuC,qBAtDvC,CAAA,EAsD4D,mBAAA,CAAA,GAAA,CAAA,OAtD5D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime233 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_runtime233.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_runtime28 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_runtime28.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,mBAAA,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_runtime249 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_runtime249.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_runtime27 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_runtime27.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,mBAAA,CAAA,GAAA,CAAA,OANpB"}
|
package/dist/styles/index.css
CHANGED
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
/* ── Base layer (suite-wide defaults) ─────────────────────── */
|
|
48
48
|
@import "./base.css";
|
|
49
49
|
|
|
50
|
+
/* ── Global flow-content typography (raw/markdown tags) ────── */
|
|
51
|
+
@import "./typography.css";
|
|
52
|
+
|
|
50
53
|
/* Scan the design-system component source so the utility classes
|
|
51
54
|
they use are emitted into the compiled stylesheet. */
|
|
52
55
|
@source "../";
|
package/dist/styles/theme.css
CHANGED
|
@@ -120,7 +120,15 @@
|
|
|
120
120
|
--shadow-2xl: var(--shadow-2xl);
|
|
121
121
|
|
|
122
122
|
/* ── Font families (→ font-sans / font-heading / font-mono) ── */
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
/* Brand font first, then a system fallback stack so text stays styled if the
|
|
124
|
+
web font fails to load / during FOUT. `--font-sans` also drives the base
|
|
125
|
+
body font (Tailwind's --default-font-family). */
|
|
126
|
+
--font-sans:
|
|
127
|
+
var(--font-definitions-font-family-body), ui-sans-serif, system-ui, -apple-system,
|
|
128
|
+
"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
129
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
130
|
+
--font-heading: var(--font-definitions-font-family-headings), ui-sans-serif, system-ui,
|
|
131
|
+
-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
132
|
+
--font-mono: var(--font-definitions-font-family-monospace), ui-monospace, SFMono-Regular,
|
|
133
|
+
"SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
126
134
|
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Global flow-content typography — default styling for raw HTML
|
|
3
|
+
tags (markdown / CMS output) rendered WITHOUT design-system
|
|
4
|
+
component classes.
|
|
5
|
+
|
|
6
|
+
Scoped to `:not([class]):not([data-slot])`: Tailwind's preflight strips margins,
|
|
7
|
+
list markers, link styling, etc., and DS components re-style their
|
|
8
|
+
own elements via utility classes — so anything that already has a
|
|
9
|
+
`class` is component-managed and left alone. Bare tags (what a
|
|
10
|
+
markdown renderer emits) get a readable default here.
|
|
11
|
+
|
|
12
|
+
`@layer base` so component/app utilities always win. All values
|
|
13
|
+
come from the design-system tokens.
|
|
14
|
+
============================================================ */
|
|
15
|
+
|
|
16
|
+
@layer base {
|
|
17
|
+
/* ── Vertical rhythm (block flow) ─────────────────────────── */
|
|
18
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure):not([class]):not([data-slot]) {
|
|
19
|
+
margin-block: 0 1rem;
|
|
20
|
+
}
|
|
21
|
+
:where(h1, h2, h3, h4, h5, h6):not([class]):not([data-slot]) {
|
|
22
|
+
margin-block: 1.5rem 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
/* No leading gap on the first block of a flow container. */
|
|
25
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
|
|
26
|
+
[class]
|
|
27
|
+
):first-child {
|
|
28
|
+
margin-block-start: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* ── Paragraph / inline text ──────────────────────────────── */
|
|
32
|
+
p:not([class]):not([data-slot]) {
|
|
33
|
+
font-size: var(--paragraph-regular-font-size);
|
|
34
|
+
line-height: var(--paragraph-regular-line-height);
|
|
35
|
+
}
|
|
36
|
+
a:not([class]):not([data-slot]) {
|
|
37
|
+
color: inherit;
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
text-underline-offset: 2px;
|
|
40
|
+
}
|
|
41
|
+
a:not([class]):not([data-slot]):hover {
|
|
42
|
+
text-decoration-thickness: 2px;
|
|
43
|
+
}
|
|
44
|
+
strong:not([class]):not([data-slot]),
|
|
45
|
+
b:not([class]):not([data-slot]) {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
}
|
|
48
|
+
em:not([class]):not([data-slot]),
|
|
49
|
+
i:not([class]):not([data-slot]) {
|
|
50
|
+
font-style: italic;
|
|
51
|
+
}
|
|
52
|
+
small:not([class]):not([data-slot]) {
|
|
53
|
+
font-size: var(--paragraph-small-font-size);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ── Lists ────────────────────────────────────────────────── */
|
|
57
|
+
ul:not([class]):not([data-slot]),
|
|
58
|
+
ol:not([class]):not([data-slot]) {
|
|
59
|
+
padding-inline-start: 1.5rem;
|
|
60
|
+
}
|
|
61
|
+
ul:not([class]):not([data-slot]) {
|
|
62
|
+
list-style: disc;
|
|
63
|
+
}
|
|
64
|
+
ol:not([class]):not([data-slot]) {
|
|
65
|
+
list-style: decimal;
|
|
66
|
+
}
|
|
67
|
+
li:not([class]):not([data-slot]) {
|
|
68
|
+
margin-block: 0.25rem;
|
|
69
|
+
}
|
|
70
|
+
/* Nested lists tighten up and lose the extra block margin. */
|
|
71
|
+
:where(ul, ol):not([class]):not([data-slot]) :where(ul, ol):not([class]):not([data-slot]) {
|
|
72
|
+
margin-block: 0.25rem 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ── Code ─────────────────────────────────────────────────── */
|
|
76
|
+
code:not([class]):not([data-slot]),
|
|
77
|
+
kbd:not([class]):not([data-slot]),
|
|
78
|
+
samp:not([class]):not([data-slot]) {
|
|
79
|
+
font-family: var(--font-definitions-font-family-monospace);
|
|
80
|
+
font-size: 0.875em;
|
|
81
|
+
}
|
|
82
|
+
/* Inline code chip (a bare <code> not inside a <pre>). */
|
|
83
|
+
:not(pre) > code:not([class]):not([data-slot]) {
|
|
84
|
+
border-radius: var(--rounded-sm);
|
|
85
|
+
background-color: var(--muted);
|
|
86
|
+
padding: 0.125rem 0.375rem;
|
|
87
|
+
}
|
|
88
|
+
pre:not([class]):not([data-slot]) {
|
|
89
|
+
overflow-x: auto;
|
|
90
|
+
border-radius: var(--rounded-lg);
|
|
91
|
+
background-color: var(--muted);
|
|
92
|
+
padding: 1rem;
|
|
93
|
+
font-size: var(--paragraph-small-font-size);
|
|
94
|
+
line-height: var(--paragraph-small-line-height);
|
|
95
|
+
}
|
|
96
|
+
pre:not([class]):not([data-slot]) code {
|
|
97
|
+
font-family: var(--font-definitions-font-family-monospace);
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
padding: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* ── Blockquote ───────────────────────────────────────────── */
|
|
103
|
+
blockquote:not([class]):not([data-slot]) {
|
|
104
|
+
border-inline-start: 3px solid var(--border);
|
|
105
|
+
padding-inline-start: 1rem;
|
|
106
|
+
color: var(--muted-foreground);
|
|
107
|
+
font-style: italic;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ── Rule / media ─────────────────────────────────────────── */
|
|
111
|
+
hr:not([class]):not([data-slot]) {
|
|
112
|
+
border: 0;
|
|
113
|
+
border-top: 1px solid var(--border);
|
|
114
|
+
}
|
|
115
|
+
img:not([class]):not([data-slot]),
|
|
116
|
+
video:not([class]):not([data-slot]) {
|
|
117
|
+
max-width: 100%;
|
|
118
|
+
height: auto;
|
|
119
|
+
border-radius: var(--rounded-lg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* ── Tables ───────────────────────────────────────────────── */
|
|
123
|
+
table:not([class]):not([data-slot]) {
|
|
124
|
+
width: 100%;
|
|
125
|
+
border-collapse: collapse;
|
|
126
|
+
font-size: var(--paragraph-small-font-size);
|
|
127
|
+
}
|
|
128
|
+
:where(th, td):not([class]):not([data-slot]) {
|
|
129
|
+
border-bottom: 1px solid var(--border);
|
|
130
|
+
padding: 0.5rem 0.75rem;
|
|
131
|
+
text-align: start;
|
|
132
|
+
}
|
|
133
|
+
th:not([class]):not([data-slot]) {
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
}
|
|
136
|
+
}
|