@threadlabs/looma 0.47.3 → 0.47.4
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-toast-region/ui-toast-region.html +2 -0
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/package.json +1 -1
- package/styles/ui-toast-region.css +4 -0
- package/vue/UiToastRegion.vue +4 -0
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/components.css +16 -12
package/docs/catalog.json
CHANGED
package/package.json
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
display: grid !important;
|
|
27
27
|
gap: var(--ui-space-2) !important;
|
|
28
28
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
29
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
30
|
+
align-content: start !important;
|
|
29
31
|
max-inline-size: 100%;
|
|
30
32
|
box-sizing: border-box !important;
|
|
31
33
|
margin: 0 !important;
|
|
@@ -220,6 +222,8 @@
|
|
|
220
222
|
display: grid !important;
|
|
221
223
|
gap: var(--ui-space-2) !important;
|
|
222
224
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
225
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
226
|
+
align-content: start !important;
|
|
223
227
|
max-inline-size: 100%;
|
|
224
228
|
box-sizing: border-box !important;
|
|
225
229
|
margin: 0 !important;
|
package/vue/UiToastRegion.vue
CHANGED
|
@@ -361,6 +361,8 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
361
361
|
display: grid !important;
|
|
362
362
|
gap: var(--ui-space-2) !important;
|
|
363
363
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
364
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
365
|
+
align-content: start !important;
|
|
364
366
|
max-inline-size: 100%;
|
|
365
367
|
box-sizing: border-box !important;
|
|
366
368
|
margin: 0 !important;
|
|
@@ -505,6 +507,8 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
505
507
|
display: grid !important;
|
|
506
508
|
gap: var(--ui-space-2) !important;
|
|
507
509
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
510
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
511
|
+
align-content: start !important;
|
|
508
512
|
max-inline-size: 100%;
|
|
509
513
|
box-sizing: border-box !important;
|
|
510
514
|
margin: 0 !important;
|
package/vue/components.css
CHANGED
|
@@ -11602,7 +11602,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11602
11602
|
}
|
|
11603
11603
|
|
|
11604
11604
|
/* Leaving slides on down and fades; the controller removes the toast when this ends. */
|
|
11605
|
-
@keyframes ui-toast-enter-
|
|
11605
|
+
@keyframes ui-toast-enter-665e4b29 {
|
|
11606
11606
|
from {
|
|
11607
11607
|
opacity: 0;
|
|
11608
11608
|
transform: translateY(-1rem);
|
|
@@ -11612,7 +11612,7 @@ to {
|
|
|
11612
11612
|
transform: translateY(0);
|
|
11613
11613
|
}
|
|
11614
11614
|
}
|
|
11615
|
-
@keyframes ui-toast-exit-
|
|
11615
|
+
@keyframes ui-toast-exit-665e4b29 {
|
|
11616
11616
|
from {
|
|
11617
11617
|
opacity: 1;
|
|
11618
11618
|
transform: translateY(0);
|
|
@@ -11622,7 +11622,7 @@ to {
|
|
|
11622
11622
|
transform: translateY(0.75rem);
|
|
11623
11623
|
}
|
|
11624
11624
|
}
|
|
11625
|
-
@keyframes ui-toast-enter-bottom-
|
|
11625
|
+
@keyframes ui-toast-enter-bottom-665e4b29 {
|
|
11626
11626
|
from {
|
|
11627
11627
|
opacity: 0;
|
|
11628
11628
|
transform: translateY(1rem);
|
|
@@ -11632,7 +11632,7 @@ to {
|
|
|
11632
11632
|
transform: translateY(0);
|
|
11633
11633
|
}
|
|
11634
11634
|
}
|
|
11635
|
-
@keyframes ui-toast-exit-bottom-
|
|
11635
|
+
@keyframes ui-toast-exit-bottom-665e4b29 {
|
|
11636
11636
|
from {
|
|
11637
11637
|
opacity: 1;
|
|
11638
11638
|
transform: translateY(0);
|
|
@@ -11664,6 +11664,8 @@ to {
|
|
|
11664
11664
|
display: grid !important;
|
|
11665
11665
|
gap: var(--ui-space-2) !important;
|
|
11666
11666
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
11667
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
11668
|
+
align-content: start !important;
|
|
11667
11669
|
max-inline-size: 100%;
|
|
11668
11670
|
box-sizing: border-box !important;
|
|
11669
11671
|
margin: 0 !important;
|
|
@@ -11724,7 +11726,7 @@ to {
|
|
|
11724
11726
|
--_ui-toast-region-shadow,
|
|
11725
11727
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11726
11728
|
);
|
|
11727
|
-
animation: ui-toast-enter-
|
|
11729
|
+
animation: ui-toast-enter-665e4b29 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11728
11730
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11729
11731
|
}
|
|
11730
11732
|
.toast[data-tone="info"]:where([data-hn-ui-toast-region]) {
|
|
@@ -11748,17 +11750,17 @@ to {
|
|
|
11748
11750
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11749
11751
|
}
|
|
11750
11752
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11751
|
-
animation: ui-toast-exit-
|
|
11753
|
+
animation: ui-toast-exit-665e4b29 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11752
11754
|
both;
|
|
11753
11755
|
pointer-events: none;
|
|
11754
11756
|
}
|
|
11755
11757
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11756
11758
|
.toast:where([data-hn-ui-toast-region]) {
|
|
11757
|
-
animation-name: ui-toast-enter-bottom-
|
|
11759
|
+
animation-name: ui-toast-enter-bottom-665e4b29;
|
|
11758
11760
|
}
|
|
11759
11761
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11760
11762
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11761
|
-
animation-name: ui-toast-exit-bottom-
|
|
11763
|
+
animation-name: ui-toast-exit-bottom-665e4b29;
|
|
11762
11764
|
}
|
|
11763
11765
|
@media (prefers-reduced-motion: reduce) {
|
|
11764
11766
|
.toast:where([data-hn-ui-toast-region]),.toast.closing:where([data-hn-ui-toast-region]) {
|
|
@@ -11796,6 +11798,8 @@ to {
|
|
|
11796
11798
|
display: grid !important;
|
|
11797
11799
|
gap: var(--ui-space-2) !important;
|
|
11798
11800
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
11801
|
+
/* Prevent fixed popover grid tracks from stretching in older WebKit. */
|
|
11802
|
+
align-content: start !important;
|
|
11799
11803
|
max-inline-size: 100%;
|
|
11800
11804
|
box-sizing: border-box !important;
|
|
11801
11805
|
margin: 0 !important;
|
|
@@ -11853,7 +11857,7 @@ to {
|
|
|
11853
11857
|
--_ui-toast-region-shadow,
|
|
11854
11858
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11855
11859
|
);
|
|
11856
|
-
animation: ui-toast-enter-
|
|
11860
|
+
animation: ui-toast-enter-665e4b29 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11857
11861
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11858
11862
|
}
|
|
11859
11863
|
.toast[data-tone="info"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
@@ -11877,17 +11881,17 @@ to {
|
|
|
11877
11881
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11878
11882
|
}
|
|
11879
11883
|
.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11880
|
-
animation: ui-toast-exit-
|
|
11884
|
+
animation: ui-toast-exit-665e4b29 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11881
11885
|
both;
|
|
11882
11886
|
pointer-events: none;
|
|
11883
11887
|
}
|
|
11884
11888
|
:is(:where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-start"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11885
11889
|
.toast:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11886
|
-
animation-name: ui-toast-enter-bottom-
|
|
11890
|
+
animation-name: ui-toast-enter-bottom-665e4b29;
|
|
11887
11891
|
}
|
|
11888
11892
|
:is(:where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-start"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11889
11893
|
.toast.closing:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11890
|
-
animation-name: ui-toast-exit-bottom-
|
|
11894
|
+
animation-name: ui-toast-exit-bottom-665e4b29;
|
|
11891
11895
|
}
|
|
11892
11896
|
@media (prefers-reduced-motion: reduce) {
|
|
11893
11897
|
.toast:where(:scope, :scope *):where([data-hn-ui-toast-region]),.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|