@atelier-ui/react 0.2.15 → 0.2.16
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/CHANGELOG.md +11 -0
- package/package.json +1 -1
- package/src/lib/avatar/atl-avatar.css +5 -1
- package/src/lib/card/atl-card.css +5 -0
- package/src/lib/chat/atl-chat.css +7 -4
- package/src/lib/code-block/atl-code-block.css +2 -2
- package/src/lib/dialog/atl-dialog.css +4 -0
- package/src/lib/drawer/atl-drawer.css +7 -0
- package/src/lib/skeleton/atl-skeleton.css +5 -0
- package/src/lib/toast/atl-toast.css +5 -0
- package/src/lib/tooltip/atl-tooltip.css +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 0.2.16 (2026-08-26)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **typography:** every component states its typeface ([8fb67f1](https://github.com/DominikPieper/atelier-ui/commit/8fb67f1))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 5
|
|
10
|
+
- Dominik Pieper @DominikPieper
|
|
11
|
+
|
|
1
12
|
## 0.2.15 (2026-08-26)
|
|
2
13
|
|
|
3
14
|
### 🚀 Features
|
package/package.json
CHANGED
|
@@ -86,6 +86,11 @@
|
|
|
86
86
|
/* === AtlAvatarGroup === */
|
|
87
87
|
|
|
88
88
|
.atl-avatar-group {
|
|
89
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
90
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
91
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
92
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
93
|
+
font-family: var(--ui-font-family);
|
|
89
94
|
display: inline-flex;
|
|
90
95
|
align-items: center;
|
|
91
96
|
background: none;
|
|
@@ -109,7 +114,6 @@
|
|
|
109
114
|
color: var(--ui-color-text-muted);
|
|
110
115
|
border: var(--ui-border-width) solid var(--ui-color-border);
|
|
111
116
|
border-radius: var(--ui-radius-full);
|
|
112
|
-
font-family: var(--ui-font-family);
|
|
113
117
|
font-weight: var(--ui-font-weight-semibold);
|
|
114
118
|
box-shadow: 0 0 0 2px var(--ui-color-surface);
|
|
115
119
|
margin-inline-start: -8px;
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.atl-card {
|
|
22
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
23
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
24
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
25
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
26
|
+
font-family: var(--ui-font-family);
|
|
22
27
|
display: block;
|
|
23
28
|
border-radius: var(--ui-radius-xl);
|
|
24
29
|
background-color: var(--ui-color-surface-raised);
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
/* ── Host wrapper ──────────────────────────────────────────────────────────── */
|
|
28
28
|
.atl-chat {
|
|
29
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
30
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
31
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
32
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
33
|
+
font-family: var(--ui-font-family);
|
|
29
34
|
display: contents;
|
|
30
35
|
}
|
|
31
36
|
|
|
@@ -43,6 +48,8 @@
|
|
|
43
48
|
/* ═══════════════════════════════════════════════════════════════════════════ */
|
|
44
49
|
.atl-chat.variant-drawer dialog {
|
|
45
50
|
all: unset;
|
|
51
|
+
/* After `all: unset`, which would otherwise reset it (ADR-0049). */
|
|
52
|
+
font-family: var(--ui-font-family);
|
|
46
53
|
position: fixed;
|
|
47
54
|
inset: 0 0 0 auto;
|
|
48
55
|
height: 100dvh;
|
|
@@ -109,7 +116,6 @@
|
|
|
109
116
|
background: var(--ui-color-brand-ai, #b5e61c);
|
|
110
117
|
color: var(--ui-color-text);
|
|
111
118
|
border: none;
|
|
112
|
-
font-family: var(--ui-font-family);
|
|
113
119
|
font-size: var(--ui-font-size-lg);
|
|
114
120
|
font-weight: var(--ui-font-weight-semibold);
|
|
115
121
|
cursor: pointer;
|
|
@@ -338,7 +344,6 @@
|
|
|
338
344
|
color: var(--ui-color-text);
|
|
339
345
|
border: var(--ui-border-width) solid var(--ui-color-border);
|
|
340
346
|
border-radius: var(--ui-radius-lg);
|
|
341
|
-
font-family: var(--ui-font-family);
|
|
342
347
|
text-align: left;
|
|
343
348
|
cursor: pointer;
|
|
344
349
|
transition:
|
|
@@ -388,7 +393,6 @@
|
|
|
388
393
|
border-radius: var(--ui-radius-md);
|
|
389
394
|
background: var(--ui-color-surface-sunken);
|
|
390
395
|
color: var(--ui-color-text);
|
|
391
|
-
font-family: var(--ui-font-family);
|
|
392
396
|
font-size: var(--ui-font-size-sm);
|
|
393
397
|
line-height: var(--ui-line-height-normal);
|
|
394
398
|
resize: none;
|
|
@@ -422,7 +426,6 @@
|
|
|
422
426
|
padding: var(--ui-spacing-2) var(--ui-spacing-4);
|
|
423
427
|
border: var(--ui-border-width) solid transparent;
|
|
424
428
|
border-radius: var(--ui-radius-md);
|
|
425
|
-
font-family: var(--ui-font-family);
|
|
426
429
|
font-size: var(--ui-font-size-sm);
|
|
427
430
|
font-weight: var(--ui-font-weight-medium);
|
|
428
431
|
cursor: pointer;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.code-block-label {
|
|
47
|
-
font-family: var(--ui-font-mono
|
|
47
|
+
font-family: var(--ui-font-mono);
|
|
48
48
|
font-size: 0.72rem;
|
|
49
49
|
font-weight: 600;
|
|
50
50
|
letter-spacing: 0.03em;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.code-block-pre {
|
|
98
98
|
margin: 0;
|
|
99
99
|
padding: var(--ui-spacing-4);
|
|
100
|
-
font-family: var(--ui-font-mono
|
|
100
|
+
font-family: var(--ui-font-mono);
|
|
101
101
|
font-size: var(--ui-font-size-sm);
|
|
102
102
|
line-height: 1.65;
|
|
103
103
|
color: var(--ui-color-text);
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
/* ── Native <dialog> reset + base ──────────────────────────────────────────── */
|
|
22
22
|
.atl-dialog {
|
|
23
23
|
all: unset;
|
|
24
|
+
/* After `all: unset`, which would otherwise reset it. The library states its own
|
|
25
|
+
* typeface (ADR-0035); without this the dialog renders in the consuming app's
|
|
26
|
+
* font while its neighbours render Instrument Sans (ADR-0049). */
|
|
27
|
+
font-family: var(--ui-font-family);
|
|
24
28
|
position: fixed;
|
|
25
29
|
inset: 0;
|
|
26
30
|
margin: auto;
|
|
@@ -20,12 +20,19 @@
|
|
|
20
20
|
|
|
21
21
|
/* ── Host wrapper ──────────────────────────────────────────────────────────── */
|
|
22
22
|
.atl-drawer-host {
|
|
23
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
24
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
25
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
26
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
27
|
+
font-family: var(--ui-font-family);
|
|
23
28
|
display: contents;
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
/* ── Native <dialog> base ──────────────────────────────────────────────────── */
|
|
27
32
|
.atl-drawer-host dialog {
|
|
28
33
|
all: unset;
|
|
34
|
+
/* After `all: unset`, which would otherwise reset it (ADR-0049). */
|
|
35
|
+
font-family: var(--ui-font-family);
|
|
29
36
|
position: fixed;
|
|
30
37
|
display: none;
|
|
31
38
|
flex-direction: column;
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.atl-skeleton {
|
|
12
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
13
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
14
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
15
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
16
|
+
font-family: var(--ui-font-family);
|
|
12
17
|
display: block;
|
|
13
18
|
background: var(--ui-color-border);
|
|
14
19
|
overflow: hidden;
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
/* ── Toast Container ── */
|
|
18
18
|
.atl-toast-container {
|
|
19
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
20
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
21
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
22
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
23
|
+
font-family: var(--ui-font-family);
|
|
19
24
|
position: fixed;
|
|
20
25
|
z-index: var(--ui-z-toast, 400);
|
|
21
26
|
display: flex;
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
/* Tooltip wrapper — inline container */
|
|
18
18
|
.atl-tooltip-wrapper {
|
|
19
|
+
/* The library states its own typeface (ADR-0035). Without this the component
|
|
20
|
+
* renders in the consuming app's font while its neighbours render Instrument
|
|
21
|
+
* Sans — measured: a card next to a button showed two typefaces. Declared once
|
|
22
|
+
* per component root, never on a descendant (ADR-0049). */
|
|
23
|
+
font-family: var(--ui-font-family);
|
|
19
24
|
display: inline-block;
|
|
20
25
|
position: relative;
|
|
21
26
|
}
|