@aortl/admin-css 0.16.0 → 0.16.2
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 +54 -0
- package/dist/admin.css +25 -4
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +25 -4
- package/dist/admin.scoped.min.css +18 -15
- package/package.json +3 -2
- package/src/components/accordion.css +7 -10
- package/src/components/alert.css +6 -21
- package/src/components/app-shell.css +2 -4
- package/src/components/badge.css +1 -5
- package/src/components/breadcrumbs.css +3 -8
- package/src/components/button-group.css +7 -19
- package/src/components/button.css +7 -23
- package/src/components/card.css +13 -20
- package/src/components/chart.css +26 -83
- package/src/components/checkbox.css +5 -7
- package/src/components/code-block.css +2 -4
- package/src/components/container.css +3 -7
- package/src/components/dialog.css +13 -13
- package/src/components/field.css +4 -4
- package/src/components/footer.css +2 -3
- package/src/components/indicator.css +9 -28
- package/src/components/input-group.css +3 -6
- package/src/components/input.css +2 -5
- package/src/components/kbd.css +7 -13
- package/src/components/link.css +3 -5
- package/src/components/menu.css +11 -21
- package/src/components/navbar.css +3 -7
- package/src/components/pagination.css +1 -4
- package/src/components/progress.css +3 -7
- package/src/components/property-list.css +5 -14
- package/src/components/prose.css +7 -21
- package/src/components/radio.css +5 -5
- package/src/components/select.css +6 -9
- package/src/components/sidebar.css +2 -7
- package/src/components/spinner.css +1 -4
- package/src/components/stat-card.css +5 -16
- package/src/components/switch.css +5 -3
- package/src/components/table.css +20 -30
- package/src/components/tabs.css +14 -32
- package/src/components/textarea.css +3 -7
- package/src/components/tooltip.css +6 -16
- package/src/fonts.css +8 -28
- package/src/theme.css +32 -100
- package/src/utilities.css +11 -37
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
All notable changes to `@aortl/admin-css` and `@aortl/admin-react` are documented here. The two packages share a version and release together; each entry is tagged `(css)`, `(react)`, or `(both)` to show which package a consumer needs to bump.
|
|
2
|
+
|
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [0.16.2] - 2026-06-11
|
|
8
|
+
|
|
9
|
+
- Add a changelog following the Keep a Changelog format.
|
|
10
|
+
|
|
11
|
+
## [0.16.1] - 2026-06-03
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Break long unbreakable tokens instead of overflowing flex/grid tracks. (css)
|
|
16
|
+
|
|
17
|
+
## [0.16.0] - 2026-06-03
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Prose` component / `.prose` class for styling rendered markdown and HTML. (both)
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Rename the default `Progress` and chart variant from `primary` to `info`. (both)
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Block activation and hotkeys on disabled `Menu` items. (both)
|
|
30
|
+
- Style native vanilla checkbox and radio inputs to match the React components. (css)
|
|
31
|
+
- Let the `Dialog` body scroll on tall content. (css)
|
|
32
|
+
- Merge a consumer-supplied `Dialog` ref so open/close survives. (react)
|
|
33
|
+
- Drop `overflow-auto` on `Card` so popovers and focus rings aren't clipped. (css)
|
|
34
|
+
|
|
35
|
+
## [0.15.1] - 2026-06-02
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- Sliding animation on `Tabs`. (both)
|
|
40
|
+
|
|
41
|
+
## [0.15.0] - 2026-06-02
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Make `primary` a high-contrast neutral and move blue to `info`. (both)
|
|
46
|
+
- Use solid color fills for `Alert` and `Badge` status variants. (both)
|
|
47
|
+
|
|
48
|
+
[Unreleased]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.2...HEAD
|
|
49
|
+
[0.16.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.0...v0.16.1
|
|
50
|
+
[0.16.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.1...v0.16.0
|
|
51
|
+
[0.15.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.0...v0.15.1
|
|
52
|
+
[0.15.0]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.15.0
|
|
53
|
+
|
|
54
|
+
[0.16.2]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.16.2
|
package/dist/admin.css
CHANGED
|
@@ -464,10 +464,6 @@
|
|
|
464
464
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
465
465
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
466
466
|
}
|
|
467
|
-
.select-all {
|
|
468
|
-
-webkit-user-select: all;
|
|
469
|
-
user-select: all;
|
|
470
|
-
}
|
|
471
467
|
}
|
|
472
468
|
@font-face {
|
|
473
469
|
font-family: "IBM Plex Sans";
|
|
@@ -631,6 +627,8 @@
|
|
|
631
627
|
outline-color: var(--color-focus);
|
|
632
628
|
}
|
|
633
629
|
list-style: none;
|
|
630
|
+
overflow-wrap: break-word;
|
|
631
|
+
min-width: 0;
|
|
634
632
|
}
|
|
635
633
|
.accordion-summary::-webkit-details-marker {
|
|
636
634
|
display: none;
|
|
@@ -661,6 +659,7 @@
|
|
|
661
659
|
font-size: var(--text-sm);
|
|
662
660
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
663
661
|
color: var(--color-text);
|
|
662
|
+
overflow-wrap: break-word;
|
|
664
663
|
}
|
|
665
664
|
.accordion-item::details-content {
|
|
666
665
|
opacity: 0;
|
|
@@ -1132,6 +1131,7 @@
|
|
|
1132
1131
|
font-size: var(--text-sm);
|
|
1133
1132
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
1134
1133
|
color: var(--color-text-muted);
|
|
1134
|
+
overflow-wrap: break-word;
|
|
1135
1135
|
}
|
|
1136
1136
|
.breadcrumbs > ol {
|
|
1137
1137
|
margin: calc(var(--spacing) * 0);
|
|
@@ -1637,6 +1637,7 @@
|
|
|
1637
1637
|
&:focus-visible {
|
|
1638
1638
|
outline-color: var(--color-focus);
|
|
1639
1639
|
}
|
|
1640
|
+
overflow-wrap: break-word;
|
|
1640
1641
|
}
|
|
1641
1642
|
.link > :is(i, svg) {
|
|
1642
1643
|
flex-shrink: 0;
|
|
@@ -2039,6 +2040,8 @@
|
|
|
2039
2040
|
cursor: pointer;
|
|
2040
2041
|
align-items: center;
|
|
2041
2042
|
gap: calc(var(--spacing) * 2);
|
|
2043
|
+
overflow-wrap: break-word;
|
|
2044
|
+
min-width: 0;
|
|
2042
2045
|
}
|
|
2043
2046
|
label:has(> .checkbox:disabled), label:has(> .checkbox[data-disabled]) {
|
|
2044
2047
|
cursor: not-allowed;
|
|
@@ -2148,6 +2151,8 @@
|
|
|
2148
2151
|
cursor: pointer;
|
|
2149
2152
|
align-items: center;
|
|
2150
2153
|
gap: calc(var(--spacing) * 2);
|
|
2154
|
+
overflow-wrap: break-word;
|
|
2155
|
+
min-width: 0;
|
|
2151
2156
|
}
|
|
2152
2157
|
label:has(> .radio:disabled), label:has(> .radio[data-disabled]) {
|
|
2153
2158
|
cursor: not-allowed;
|
|
@@ -2248,6 +2253,8 @@
|
|
|
2248
2253
|
cursor: pointer;
|
|
2249
2254
|
align-items: center;
|
|
2250
2255
|
gap: calc(var(--spacing) * 3);
|
|
2256
|
+
overflow-wrap: break-word;
|
|
2257
|
+
min-width: 0;
|
|
2251
2258
|
}
|
|
2252
2259
|
label:has(> .switch:disabled), label:has(> .switch[data-disabled]) {
|
|
2253
2260
|
cursor: not-allowed;
|
|
@@ -2423,6 +2430,8 @@
|
|
|
2423
2430
|
outline-style: none;
|
|
2424
2431
|
-webkit-user-select: none;
|
|
2425
2432
|
user-select: none;
|
|
2433
|
+
overflow-wrap: break-word;
|
|
2434
|
+
min-width: 0;
|
|
2426
2435
|
}
|
|
2427
2436
|
.select-item[data-highlighted] {
|
|
2428
2437
|
background-color: var(--color-surface-muted);
|
|
@@ -2468,6 +2477,8 @@
|
|
|
2468
2477
|
color: var(--color-text);
|
|
2469
2478
|
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
2470
2479
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2480
|
+
overflow-wrap: break-word;
|
|
2481
|
+
min-width: 0;
|
|
2471
2482
|
}
|
|
2472
2483
|
.card-body {
|
|
2473
2484
|
display: flex;
|
|
@@ -2485,6 +2496,7 @@
|
|
|
2485
2496
|
line-height: var(--leading-tight);
|
|
2486
2497
|
--tw-font-weight: var(--font-weight-semibold);
|
|
2487
2498
|
font-weight: var(--font-weight-semibold);
|
|
2499
|
+
min-width: 0;
|
|
2488
2500
|
}
|
|
2489
2501
|
.card-header {
|
|
2490
2502
|
display: flex;
|
|
@@ -2625,6 +2637,7 @@
|
|
|
2625
2637
|
width: calc(100% - 2rem);
|
|
2626
2638
|
max-width: 32rem;
|
|
2627
2639
|
max-height: calc(100dvh - 2rem);
|
|
2640
|
+
overflow-wrap: break-word;
|
|
2628
2641
|
opacity: 1;
|
|
2629
2642
|
transform: translateY(0) scale(1);
|
|
2630
2643
|
transition: display 150ms allow-discrete, overlay 150ms allow-discrete, opacity 150ms ease-out, transform 150ms ease-out;
|
|
@@ -2671,6 +2684,7 @@
|
|
|
2671
2684
|
line-height: var(--leading-tight);
|
|
2672
2685
|
--tw-font-weight: var(--font-weight-semibold);
|
|
2673
2686
|
font-weight: var(--font-weight-semibold);
|
|
2687
|
+
min-width: 0;
|
|
2674
2688
|
}
|
|
2675
2689
|
.dialog-description {
|
|
2676
2690
|
margin-top: calc(var(--spacing) * -2);
|
|
@@ -2754,6 +2768,7 @@
|
|
|
2754
2768
|
display: flex;
|
|
2755
2769
|
flex-direction: column;
|
|
2756
2770
|
gap: calc(var(--spacing) * 1.5);
|
|
2771
|
+
overflow-wrap: break-word;
|
|
2757
2772
|
}
|
|
2758
2773
|
.field-row {
|
|
2759
2774
|
flex-direction: row;
|
|
@@ -3148,6 +3163,8 @@
|
|
|
3148
3163
|
&:disabled {
|
|
3149
3164
|
opacity: 50%;
|
|
3150
3165
|
}
|
|
3166
|
+
overflow-wrap: break-word;
|
|
3167
|
+
min-width: 0;
|
|
3151
3168
|
}
|
|
3152
3169
|
.menu-item[aria-disabled="true"] {
|
|
3153
3170
|
cursor: not-allowed;
|
|
@@ -3936,6 +3953,9 @@
|
|
|
3936
3953
|
white-space: nowrap;
|
|
3937
3954
|
color: var(--color-text-muted);
|
|
3938
3955
|
}
|
|
3956
|
+
.table :where(td), .table-cell {
|
|
3957
|
+
overflow-wrap: break-word;
|
|
3958
|
+
}
|
|
3939
3959
|
.table > :last-child > tr:last-child :where(td), .table > :last-child > tr:last-child .table-cell {
|
|
3940
3960
|
border-bottom-style: var(--tw-border-style);
|
|
3941
3961
|
border-bottom-width: 0px;
|
|
@@ -4141,6 +4161,7 @@
|
|
|
4141
4161
|
--tw-leading: var(--leading-normal);
|
|
4142
4162
|
line-height: var(--leading-normal);
|
|
4143
4163
|
color: var(--color-text);
|
|
4164
|
+
overflow-wrap: break-word;
|
|
4144
4165
|
}
|
|
4145
4166
|
.prose :where(p, ul, ol, blockquote, pre, table, figure) {
|
|
4146
4167
|
margin-block: calc(var(--spacing) * 3);
|