@itwin/itwinui-css 0.53.1 → 0.53.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/css/all.css
CHANGED
|
@@ -5493,7 +5493,7 @@ label.iui-input-label.iui-disabled{
|
|
|
5493
5493
|
}
|
|
5494
5494
|
@media (prefers-reduced-motion: no-preference){
|
|
5495
5495
|
.iui-modal-full-page{
|
|
5496
|
-
transition:visibility 0s linear 0.
|
|
5496
|
+
transition:visibility 0s linear 0.8s, opacity 0.4s ease-out 0.2s;
|
|
5497
5497
|
}
|
|
5498
5498
|
}
|
|
5499
5499
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
@@ -5501,7 +5501,7 @@ label.iui-input-label.iui-disabled{
|
|
|
5501
5501
|
}
|
|
5502
5502
|
@media (prefers-reduced-motion: no-preference){
|
|
5503
5503
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
5504
|
-
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.
|
|
5504
|
+
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.25s ease-in;
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
5507
5507
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
@@ -5509,14 +5509,14 @@ label.iui-input-label.iui-disabled{
|
|
|
5509
5509
|
}
|
|
5510
5510
|
@media (prefers-reduced-motion: no-preference){
|
|
5511
5511
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
5512
|
-
transition:transform 0.
|
|
5512
|
+
transition:transform 0.3s ease-out;
|
|
5513
5513
|
}
|
|
5514
5514
|
}
|
|
5515
|
-
.iui-modal-animation-enter .iui-modal .iui-modal-dialog{
|
|
5515
|
+
.iui-modal-animation-enter .iui-modal-full-page .iui-modal-dialog{
|
|
5516
5516
|
transform:translateY(100%);
|
|
5517
5517
|
opacity:0;
|
|
5518
5518
|
}
|
|
5519
|
-
.iui-modal-animation-enter-active .iui-modal .iui-modal-dialog{
|
|
5519
|
+
.iui-modal-animation-enter-active .iui-modal-full-page .iui-modal-dialog{
|
|
5520
5520
|
transform:translateY(0);
|
|
5521
5521
|
opacity:1;
|
|
5522
5522
|
}
|
|
@@ -9617,6 +9617,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9617
9617
|
position:fixed;
|
|
9618
9618
|
text-align:center;
|
|
9619
9619
|
left:50%;
|
|
9620
|
+
opacity:0;
|
|
9620
9621
|
top:22px;
|
|
9621
9622
|
transform:translateX(-50%) translateY(-170%);
|
|
9622
9623
|
transition:background-color 0.2s ease-in-out;
|
|
@@ -9640,7 +9641,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9640
9641
|
}
|
|
9641
9642
|
@media (prefers-reduced-motion: no-preference){
|
|
9642
9643
|
.iui-skip-to-content-link{
|
|
9643
|
-
transition:background-color 0.
|
|
9644
|
+
transition:opacity 0.8s ease-in-out, background-color 0.8s ease-in-out, transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
|
|
9644
9645
|
}
|
|
9645
9646
|
}
|
|
9646
9647
|
.iui-skip-to-content-link:hover{
|
|
@@ -9655,12 +9656,13 @@ div.iui-tile-thumbnail-picture{
|
|
|
9655
9656
|
}
|
|
9656
9657
|
}
|
|
9657
9658
|
.iui-skip-to-content-link:focus{
|
|
9659
|
+
opacity:1;
|
|
9658
9660
|
transform:translateX(-50%) translateY(0);
|
|
9659
9661
|
box-shadow:0 6px 30px rgba(0, 0, 0, 0.25);
|
|
9660
9662
|
}
|
|
9661
9663
|
@media (prefers-reduced-motion: no-preference){
|
|
9662
9664
|
.iui-skip-to-content-link:focus{
|
|
9663
|
-
transition:transform 0.2s ease-in-out;
|
|
9665
|
+
transition:opacity 0s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
9664
9666
|
}
|
|
9665
9667
|
}
|
|
9666
9668
|
|
package/css/modal.css
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
@media (prefers-reduced-motion: no-preference){
|
|
97
97
|
.iui-modal-full-page{
|
|
98
|
-
transition:visibility 0s linear 0.
|
|
98
|
+
transition:visibility 0s linear 0.8s, opacity 0.4s ease-out 0.2s;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: no-preference){
|
|
105
105
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
106
|
-
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.
|
|
106
|
+
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.25s ease-in;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
}
|
|
112
112
|
@media (prefers-reduced-motion: no-preference){
|
|
113
113
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
114
|
-
transition:transform 0.
|
|
114
|
+
transition:transform 0.3s ease-out;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
.iui-modal-animation-enter .iui-modal .iui-modal-dialog{
|
|
117
|
+
.iui-modal-animation-enter .iui-modal-full-page .iui-modal-dialog{
|
|
118
118
|
transform:translateY(100%);
|
|
119
119
|
opacity:0;
|
|
120
120
|
}
|
|
121
|
-
.iui-modal-animation-enter-active .iui-modal .iui-modal-dialog{
|
|
121
|
+
.iui-modal-animation-enter-active .iui-modal-full-page .iui-modal-dialog{
|
|
122
122
|
transform:translateY(0);
|
|
123
123
|
opacity:1;
|
|
124
124
|
}
|
package/css/skip-to-content.css
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
position:fixed;
|
|
18
18
|
text-align:center;
|
|
19
19
|
left:50%;
|
|
20
|
+
opacity:0;
|
|
20
21
|
top:22px;
|
|
21
22
|
transform:translateX(-50%) translateY(-170%);
|
|
22
23
|
transition:background-color 0.2s ease-in-out;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
@media (prefers-reduced-motion: no-preference){
|
|
42
43
|
.iui-skip-to-content-link{
|
|
43
|
-
transition:background-color 0.
|
|
44
|
+
transition:opacity 0.8s ease-in-out, background-color 0.8s ease-in-out, transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
.iui-skip-to-content-link:hover{
|
|
@@ -55,11 +56,12 @@
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
.iui-skip-to-content-link:focus{
|
|
59
|
+
opacity:1;
|
|
58
60
|
transform:translateX(-50%) translateY(0);
|
|
59
61
|
box-shadow:0 6px 30px rgba(0, 0, 0, 0.25);
|
|
60
62
|
}
|
|
61
63
|
@media (prefers-reduced-motion: no-preference){
|
|
62
64
|
.iui-skip-to-content-link:focus{
|
|
63
|
-
transition:transform 0.2s ease-in-out;
|
|
65
|
+
transition:opacity 0s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
64
66
|
}
|
|
65
67
|
}
|
package/package.json
CHANGED
package/scss/modal/modal.scss
CHANGED
|
@@ -91,6 +91,9 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@mixin iui-modal-full-page {
|
|
94
|
+
$iui-full-page-modal-slide-in-speed: 0.3s;
|
|
95
|
+
$iui-full-page-modal-slide-out-speed: 0.25s;
|
|
96
|
+
|
|
94
97
|
> .iui-modal-dialog {
|
|
95
98
|
display: flex;
|
|
96
99
|
flex-direction: column;
|
|
@@ -107,21 +110,21 @@
|
|
|
107
110
|
|
|
108
111
|
// #region Full Page Modal Animations for CSS
|
|
109
112
|
@media (prefers-reduced-motion: no-preference) {
|
|
110
|
-
transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed ease-out $iui-speed-fast;
|
|
113
|
+
transition: visibility $iui-speed-instant linear $iui-speed-slow, opacity $iui-speed ease-out $iui-speed-fast;
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
> .iui-modal-dialog {
|
|
114
117
|
transform: translateY(100%);
|
|
115
118
|
@media (prefers-reduced-motion: no-preference) {
|
|
116
119
|
transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed-instant linear $iui-speed,
|
|
117
|
-
transform $iui-speed ease-in;
|
|
120
|
+
transform $iui-full-page-modal-slide-out-speed ease-in;
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
&.iui-modal-visible > .iui-modal-dialog {
|
|
122
125
|
transform: translateY(0);
|
|
123
126
|
@media (prefers-reduced-motion: no-preference) {
|
|
124
|
-
transition: transform $iui-speed ease-out;
|
|
127
|
+
transition: transform $iui-full-page-modal-slide-in-speed ease-out;
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
// #endregion Full Page Modal Animations for CSS
|
|
@@ -129,12 +132,12 @@
|
|
|
129
132
|
|
|
130
133
|
@mixin iui-modal-animation {
|
|
131
134
|
// Full Page Modal Animations for React
|
|
132
|
-
&-enter .iui-modal .iui-modal-dialog {
|
|
135
|
+
&-enter .iui-modal-full-page .iui-modal-dialog {
|
|
133
136
|
transform: translateY(100%);
|
|
134
137
|
opacity: 0;
|
|
135
138
|
}
|
|
136
139
|
|
|
137
|
-
&-enter-active .iui-modal .iui-modal-dialog {
|
|
140
|
+
&-enter-active .iui-modal-full-page .iui-modal-dialog {
|
|
138
141
|
transform: translateY(0);
|
|
139
142
|
opacity: 1;
|
|
140
143
|
}
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
position: fixed;
|
|
16
16
|
text-align: center;
|
|
17
17
|
left: 50%;
|
|
18
|
+
opacity: 0;
|
|
18
19
|
top: $iui-baseline * 2;
|
|
19
20
|
transform: translateX(-50%) translateY(-170%);
|
|
20
21
|
transition: background-color $iui-speed-fast ease-in-out;
|
|
21
22
|
@media (prefers-reduced-motion: no-preference) {
|
|
22
|
-
transition:
|
|
23
|
-
box-shadow $iui-speed-
|
|
23
|
+
transition: opacity $iui-speed-slow ease-in-out, background-color $iui-speed-slow ease-in-out,
|
|
24
|
+
transform $iui-speed-slow ease-in-out, box-shadow $iui-speed-slow ease-in-out;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
&:hover {
|
|
@@ -28,10 +29,12 @@
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
&:focus {
|
|
32
|
+
opacity: 1;
|
|
31
33
|
transform: translateX(-50%) translateY(0);
|
|
32
34
|
box-shadow: $iui-elevation-16;
|
|
33
35
|
@media (prefers-reduced-motion: no-preference) {
|
|
34
|
-
transition:
|
|
36
|
+
transition: opacity $iui-speed-instant ease-in-out, background-color $iui-speed-fast ease-in-out,
|
|
37
|
+
transform $iui-speed-fast ease-in-out, box-shadow $iui-speed-fast ease-in-out;
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
}
|