@sats-group/ui-lib 86.2.1 → 86.2.3
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/package.json +1 -1
- package/react/chip/chip.scss +19 -9
- package/react/message/message.scss +1 -5
package/package.json
CHANGED
package/react/chip/chip.scss
CHANGED
|
@@ -53,20 +53,28 @@
|
|
|
53
53
|
min-width: 0;
|
|
54
54
|
opacity: 0;
|
|
55
55
|
overflow: hidden;
|
|
56
|
-
|
|
56
|
+
|
|
57
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
58
|
+
transform: scale(0.85);
|
|
59
|
+
}
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
&__custom-icon--visible {
|
|
60
63
|
max-width: 999px; // NOTE: This is just so that the component can grow as much as it needs when the icon is shown
|
|
61
64
|
opacity: 1;
|
|
62
|
-
|
|
65
|
+
|
|
66
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
67
|
+
transform: scale(1);
|
|
68
|
+
}
|
|
63
69
|
}
|
|
64
70
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
72
|
+
&__custom-icon--animated {
|
|
73
|
+
transition:
|
|
74
|
+
max-width 220ms ease,
|
|
75
|
+
opacity 160ms ease,
|
|
76
|
+
transform 200ms ease;
|
|
77
|
+
}
|
|
70
78
|
}
|
|
71
79
|
|
|
72
80
|
&__text {
|
|
@@ -77,7 +85,9 @@
|
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
89
|
+
&__custom-icon--animated ~ .chip__text {
|
|
90
|
+
transition: margin-left 220ms ease;
|
|
91
|
+
}
|
|
82
92
|
}
|
|
83
93
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
background: var(--surface-primary-default);
|
|
8
8
|
border-radius: corner-radius.$s;
|
|
9
9
|
display: grid;
|
|
10
|
-
grid-template-columns: 1fr;
|
|
10
|
+
grid-template-columns: 1fr auto;
|
|
11
11
|
gap: spacing.$m;
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
padding: spacing.$s spacing.$s spacing.$s (spacing.$s * 2);
|
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
background: var(--ge-signal-neutral);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
@media (min-width: 600px) {
|
|
27
|
-
grid-template-columns: 1fr auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
26
|
&--floating {
|
|
31
27
|
@include elevation.level(2);
|
|
32
28
|
}
|