@aortl/admin-css 0.18.0 → 0.18.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 +15 -1
- package/dist/admin.css +10 -0
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +493 -415
- package/dist/admin.scoped.min.css +3 -0
- package/package.json +2 -1
- package/src/components/dialog.css +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.18.2] - 2026-06-29
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `Dialog` `size="auto"` (`.dialog-auto`) shrinks the modal to fit its content, and `size="metabase"` (`.dialog-metabase`) widens it to 1138px with 44px gutters so a full-width embedded iframe lands at 1048px. (both)
|
|
12
|
+
|
|
13
|
+
## [0.18.1] - 2026-06-25
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Scoped bundle (`admin.scoped.css`) now ships with native CSS nesting pre-flattened. The nested form silently broke once a consumer's build pipeline downleveled it — LightningCSS mis-lowers a nested `&` inside `@scope` to a bare `:scope`, rewriting `._ao-btn:hover` to `:scope:hover` and killing every `:hover`/`:focus`/state rule. (both)
|
|
18
|
+
|
|
7
19
|
## [0.18.0] - 2026-06-16
|
|
8
20
|
|
|
9
21
|
### Added
|
|
@@ -79,12 +91,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
79
91
|
- Make `primary` a high-contrast neutral and move blue to `info`. (both)
|
|
80
92
|
- Use solid color fills for `Alert` and `Badge` status variants. (both)
|
|
81
93
|
|
|
82
|
-
[Unreleased]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.18.
|
|
94
|
+
[Unreleased]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.18.2...HEAD
|
|
83
95
|
[0.16.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.0...v0.16.1
|
|
84
96
|
[0.16.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.1...v0.16.0
|
|
85
97
|
[0.15.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.0...v0.15.1
|
|
86
98
|
[0.15.0]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.15.0
|
|
87
99
|
|
|
100
|
+
[0.18.2]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.18.1...v0.18.2
|
|
101
|
+
[0.18.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.18.0...v0.18.1
|
|
88
102
|
[0.18.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.17.0...v0.18.0
|
|
89
103
|
[0.17.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.2...v0.17.0
|
|
90
104
|
[0.16.2]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.16.2
|
package/dist/admin.css
CHANGED
|
@@ -3501,6 +3501,16 @@
|
|
|
3501
3501
|
.dialog-lg {
|
|
3502
3502
|
max-width: 48rem;
|
|
3503
3503
|
}
|
|
3504
|
+
.dialog-auto {
|
|
3505
|
+
width: auto;
|
|
3506
|
+
max-width: calc(100vw - 2rem);
|
|
3507
|
+
}
|
|
3508
|
+
.dialog-metabase {
|
|
3509
|
+
max-width: 1138px;
|
|
3510
|
+
}
|
|
3511
|
+
.dialog-metabase .dialog-header, .dialog-metabase .dialog-description, .dialog-metabase .dialog-body, .dialog-metabase .dialog-footer {
|
|
3512
|
+
padding-inline: calc(var(--spacing) * 11);
|
|
3513
|
+
}
|
|
3504
3514
|
.dialog-header {
|
|
3505
3515
|
display: flex;
|
|
3506
3516
|
align-items: flex-start;
|