@threadlabs/looma 0.30.8 → 0.30.9
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/components/ui-dialog/ui-dialog.html +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-dialog.css +7 -0
- package/vue/UiDialog.vue +5 -0
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/components.css +9 -4
package/package.json
CHANGED
package/styles/ui-dialog.css
CHANGED
|
@@ -111,6 +111,11 @@
|
|
|
111
111
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3) var(--ui-space-5);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
/* Alerts have no close target to add height above the title. */
|
|
115
|
+
:scope:where([data-component~="ui-dialog"])[data-ui-dialog-state~="alert"] header {
|
|
116
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
117
|
+
}
|
|
118
|
+
|
|
114
119
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
115
120
|
:scope:where([data-component~="ui-dialog"]) .title {
|
|
116
121
|
flex: 1;
|
|
@@ -238,6 +243,8 @@
|
|
|
238
243
|
|
|
239
244
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
240
245
|
|
|
246
|
+
/* Alerts have no close target to add height above the title. */
|
|
247
|
+
|
|
241
248
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
242
249
|
|
|
243
250
|
/* A CSS-drawn X. */
|
package/vue/UiDialog.vue
CHANGED
|
@@ -363,6 +363,8 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
363
363
|
|
|
364
364
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
365
365
|
|
|
366
|
+
/* Alerts have no close target to add height above the title. */
|
|
367
|
+
|
|
366
368
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
367
369
|
|
|
368
370
|
/* A CSS-drawn X. */
|
|
@@ -460,6 +462,9 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
460
462
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3)
|
|
461
463
|
var(--ui-space-5);
|
|
462
464
|
}
|
|
465
|
+
:global(:scope[data-ui-dialog-state~="alert"] header:where([data-hn-ui-dialog])) {
|
|
466
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
467
|
+
}
|
|
463
468
|
:global(:scope .title:where([data-hn-ui-dialog])) {
|
|
464
469
|
flex: 1;
|
|
465
470
|
min-inline-size: 0;
|
package/vue/chunks/UiDialog.js
CHANGED
package/vue/components.css
CHANGED
|
@@ -3035,18 +3035,20 @@ dd:where([data-hn-ui-description-item]) {
|
|
|
3035
3035
|
|
|
3036
3036
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
3037
3037
|
|
|
3038
|
+
/* Alerts have no close target to add height above the title. */
|
|
3039
|
+
|
|
3038
3040
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
3039
3041
|
|
|
3040
3042
|
/* A CSS-drawn X. */
|
|
3041
3043
|
|
|
3042
3044
|
/* A touch target, like Button on coarse pointers. */
|
|
3043
|
-
@keyframes ui-dialog-enter-
|
|
3045
|
+
@keyframes ui-dialog-enter-f26be724 {
|
|
3044
3046
|
from {
|
|
3045
3047
|
opacity: 0;
|
|
3046
3048
|
transform: scale(0.96);
|
|
3047
3049
|
}
|
|
3048
3050
|
}
|
|
3049
|
-
@keyframes ui-dialog-backdrop-enter-
|
|
3051
|
+
@keyframes ui-dialog-backdrop-enter-f26be724 {
|
|
3050
3052
|
from {
|
|
3051
3053
|
background-color: transparent;
|
|
3052
3054
|
}
|
|
@@ -3094,7 +3096,7 @@ from {
|
|
|
3094
3096
|
pointer-events: auto;
|
|
3095
3097
|
opacity: 1;
|
|
3096
3098
|
transform: scale(1);
|
|
3097
|
-
animation: ui-dialog-enter-
|
|
3099
|
+
animation: ui-dialog-enter-f26be724 var(--ui-dialog-duration, var(--ui-motion-base))
|
|
3098
3100
|
var(--ui-motion-ease);
|
|
3099
3101
|
}
|
|
3100
3102
|
:scope[data-ui-dialog-state~="size=sm"]:where([data-hn-ui-dialog]) {
|
|
@@ -3124,6 +3126,9 @@ header:where([data-hn-ui-dialog]) {
|
|
|
3124
3126
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3)
|
|
3125
3127
|
var(--ui-space-5);
|
|
3126
3128
|
}
|
|
3129
|
+
:scope[data-ui-dialog-state~="alert"] header:where([data-hn-ui-dialog]) {
|
|
3130
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
3131
|
+
}
|
|
3127
3132
|
:scope .title:where([data-hn-ui-dialog]) {
|
|
3128
3133
|
flex: 1;
|
|
3129
3134
|
min-inline-size: 0;
|
|
@@ -3212,7 +3217,7 @@ footer:empty:where([data-hn-ui-dialog]) {
|
|
|
3212
3217
|
}
|
|
3213
3218
|
:scope[open]:modal:where([data-hn-ui-dialog])::backdrop {
|
|
3214
3219
|
background-color: var(--ui-overlay-backdrop);
|
|
3215
|
-
animation: ui-dialog-backdrop-enter-
|
|
3220
|
+
animation: ui-dialog-backdrop-enter-f26be724 var(--_ui-dialog-duration, var(--ui-motion-base))
|
|
3216
3221
|
var(--ui-motion-ease);
|
|
3217
3222
|
}
|
|
3218
3223
|
:scope[open][data-ui-backdrop-hidden]:where([data-hn-ui-dialog])::backdrop {
|