@psnext/design-system 1.5.0 → 1.5.1
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/index10.d.cts +7 -7
- package/dist/index10.d.cts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.cts.map +1 -1
- package/dist/index14.d.ts +5 -5
- package/dist/index14.d.ts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index18.d.ts +11 -11
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +10 -10
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.ts +8 -8
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- 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.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.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/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/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +5 -5
- package/dist/index28.d.ts +3 -3
- 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.ts +13 -13
- package/dist/index30.d.cts +6 -6
- package/dist/index30.d.ts +4 -4
- 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 +5 -5
- 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.cts.map +1 -1
- 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.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +5 -5
- package/dist/index37.d.cts.map +1 -1
- package/dist/index37.d.ts +2 -2
- 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/index39.d.ts.map +1 -1
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/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/index42.d.cts +8 -8
- 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.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.ts +8 -8
- package/dist/index45.d.cts +2 -2
- package/dist/index45.d.ts +2 -2
- 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.ts +4 -4
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +3 -3
- package/dist/index48.d.ts +3 -3
- package/dist/index49.d.cts +11 -11
- package/dist/index49.d.ts +11 -11
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index50.d.cts +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/index52.d.cts +27 -27
- package/dist/index52.d.cts.map +1 -1
- 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/index54.d.cts +2 -2
- package/dist/index54.d.ts +2 -2
- package/dist/index55.d.cts +2 -2
- 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.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +4 -4
- package/dist/index60.d.ts +6 -6
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +4 -4
- 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.ts +2 -2
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +6 -6
- package/dist/index63.d.ts +6 -6
- package/dist/index64.d.cts +3 -3
- package/dist/index64.d.ts +3 -3
- package/dist/index65.d.cts +4 -4
- package/dist/index65.d.ts +4 -4
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +2 -2
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +2 -2
- package/dist/index67.d.cts +8 -8
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +8 -8
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +7 -7
- package/dist/index68.d.cts.map +1 -1
- 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/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.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- 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 +11 -11
- 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/base.css +21 -20
- package/dist/styles/typography.css +34 -35
- package/package.json +1 -1
|
@@ -9,88 +9,87 @@
|
|
|
9
9
|
`class` is component-managed and left alone. Bare tags (what a
|
|
10
10
|
markdown renderer emits) get a readable default here.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
to
|
|
12
|
+
Gated by @scope (html) to (.ds-no-base) — add ds-no-base to any
|
|
13
|
+
element to punch a hole in these defaults for that subtree.
|
|
14
14
|
|
|
15
15
|
`@layer base` so component/app utilities always win. All values
|
|
16
16
|
come from the design-system tokens.
|
|
17
17
|
============================================================ */
|
|
18
18
|
|
|
19
|
-
@
|
|
20
|
-
|
|
19
|
+
@scope (html) to (.ds-no-base) {
|
|
20
|
+
@layer base {
|
|
21
21
|
/* ── Vertical rhythm (block flow) ─────────────────────────── */
|
|
22
|
-
|
|
22
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure):not([class]):not([data-slot]) {
|
|
23
23
|
margin-block: 0 1rem;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
:where(h1, h2, h3, h4, h5, h6):not([class]):not([data-slot]) {
|
|
26
26
|
margin-block: 1.5rem 0.5rem;
|
|
27
27
|
}
|
|
28
28
|
/* No leading gap on the first block of a flow container. */
|
|
29
|
-
|
|
30
|
-
:where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
|
|
29
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
|
|
31
30
|
[class]
|
|
32
31
|
):first-child {
|
|
33
32
|
margin-block-start: 0;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
/* ── Paragraph / inline text ──────────────────────────────── */
|
|
37
|
-
|
|
36
|
+
p:not([class]):not([data-slot]) {
|
|
38
37
|
font-size: var(--paragraph-regular-font-size);
|
|
39
38
|
line-height: var(--paragraph-regular-line-height);
|
|
40
39
|
}
|
|
41
|
-
|
|
40
|
+
a:not([class]):not([data-slot]) {
|
|
42
41
|
color: inherit;
|
|
43
42
|
text-decoration: underline;
|
|
44
43
|
text-underline-offset: 2px;
|
|
45
44
|
}
|
|
46
|
-
|
|
45
|
+
a:not([class]):not([data-slot]):hover {
|
|
47
46
|
text-decoration-thickness: 2px;
|
|
48
47
|
}
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
strong:not([class]):not([data-slot]),
|
|
49
|
+
b:not([class]):not([data-slot]) {
|
|
51
50
|
font-weight: 600;
|
|
52
51
|
}
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
em:not([class]):not([data-slot]),
|
|
53
|
+
i:not([class]):not([data-slot]) {
|
|
55
54
|
font-style: italic;
|
|
56
55
|
}
|
|
57
|
-
|
|
56
|
+
small:not([class]):not([data-slot]) {
|
|
58
57
|
font-size: var(--paragraph-small-font-size);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
/* ── Lists ────────────────────────────────────────────────── */
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
ul:not([class]):not([data-slot]),
|
|
62
|
+
ol:not([class]):not([data-slot]) {
|
|
64
63
|
padding-inline-start: 1.5rem;
|
|
65
64
|
}
|
|
66
|
-
|
|
65
|
+
ul:not([class]):not([data-slot]) {
|
|
67
66
|
list-style: disc;
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
ol:not([class]):not([data-slot]) {
|
|
70
69
|
list-style: decimal;
|
|
71
70
|
}
|
|
72
|
-
|
|
71
|
+
li:not([class]):not([data-slot]) {
|
|
73
72
|
margin-block: 0.25rem;
|
|
74
73
|
}
|
|
75
74
|
/* Nested lists tighten up and lose the extra block margin. */
|
|
76
|
-
|
|
75
|
+
:where(ul, ol):not([class]):not([data-slot]) :where(ul, ol):not([class]):not([data-slot]) {
|
|
77
76
|
margin-block: 0.25rem 0;
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
/* ── Code ─────────────────────────────────────────────────── */
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
code:not([class]):not([data-slot]),
|
|
81
|
+
kbd:not([class]):not([data-slot]),
|
|
82
|
+
samp:not([class]):not([data-slot]) {
|
|
84
83
|
font-family: var(--font-definitions-font-family-monospace);
|
|
85
84
|
font-size: 0.875em;
|
|
86
85
|
}
|
|
87
86
|
/* Inline code chip (a bare <code> not inside a <pre>). */
|
|
88
|
-
|
|
87
|
+
:not(pre) > code:not([class]):not([data-slot]) {
|
|
89
88
|
border-radius: var(--rounded-sm);
|
|
90
89
|
background-color: var(--muted);
|
|
91
90
|
padding: 0.125rem 0.375rem;
|
|
92
91
|
}
|
|
93
|
-
|
|
92
|
+
pre:not([class]):not([data-slot]) {
|
|
94
93
|
overflow-x: auto;
|
|
95
94
|
border-radius: var(--rounded-lg);
|
|
96
95
|
background-color: var(--muted);
|
|
@@ -98,14 +97,14 @@
|
|
|
98
97
|
font-size: var(--paragraph-small-font-size);
|
|
99
98
|
line-height: var(--paragraph-small-line-height);
|
|
100
99
|
}
|
|
101
|
-
|
|
100
|
+
pre:not([class]):not([data-slot]) code {
|
|
102
101
|
font-family: var(--font-definitions-font-family-monospace);
|
|
103
102
|
background-color: transparent;
|
|
104
103
|
padding: 0;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
106
|
/* ── Blockquote ───────────────────────────────────────────── */
|
|
108
|
-
|
|
107
|
+
blockquote:not([class]):not([data-slot]) {
|
|
109
108
|
border-inline-start: 3px solid var(--border);
|
|
110
109
|
padding-inline-start: 1rem;
|
|
111
110
|
color: var(--muted-foreground);
|
|
@@ -113,29 +112,29 @@
|
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
/* ── Rule / media ─────────────────────────────────────────── */
|
|
116
|
-
|
|
115
|
+
hr:not([class]):not([data-slot]) {
|
|
117
116
|
border: 0;
|
|
118
117
|
border-top: 1px solid var(--border);
|
|
119
118
|
}
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
img:not([class]):not([data-slot]),
|
|
120
|
+
video:not([class]):not([data-slot]) {
|
|
122
121
|
max-width: 100%;
|
|
123
122
|
height: auto;
|
|
124
123
|
border-radius: var(--rounded-lg);
|
|
125
124
|
}
|
|
126
125
|
|
|
127
126
|
/* ── Tables ───────────────────────────────────────────────── */
|
|
128
|
-
|
|
127
|
+
table:not([class]):not([data-slot]) {
|
|
129
128
|
width: 100%;
|
|
130
129
|
border-collapse: collapse;
|
|
131
130
|
font-size: var(--paragraph-small-font-size);
|
|
132
131
|
}
|
|
133
|
-
|
|
132
|
+
:where(th, td):not([class]):not([data-slot]) {
|
|
134
133
|
border-bottom: 1px solid var(--border);
|
|
135
134
|
padding: 0.5rem 0.75rem;
|
|
136
135
|
text-align: start;
|
|
137
136
|
}
|
|
138
|
-
|
|
137
|
+
th:not([class]):not([data-slot]) {
|
|
139
138
|
font-weight: 600;
|
|
140
139
|
}
|
|
141
140
|
}
|