@itwin/itwinui-css 0.49.0 → 0.51.0
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/alert.css +232 -174
- package/css/all.css +7251 -5567
- package/css/badge.css +2 -1
- package/css/blockquote.css +10 -7
- package/css/breadcrumbs.css +110 -87
- package/css/button.css +443 -315
- package/css/carousel.css +125 -78
- package/css/code.css +69 -56
- package/css/color-picker.css +150 -103
- package/css/date-picker.css +73 -55
- package/css/expandable-block.css +212 -160
- package/css/fieldset.css +22 -18
- package/css/file-upload.css +93 -79
- package/css/footer.css +64 -53
- package/css/global.css +100 -78
- package/css/header.css +471 -364
- package/css/icon.css +108 -78
- package/css/information-panel.css +174 -137
- package/css/inputs.css +1134 -942
- package/css/keyboard.css +11 -7
- package/css/location-marker.css +68 -58
- package/css/menu.css +105 -80
- package/css/modal.css +54 -42
- package/css/non-ideal-state.css +47 -40
- package/css/notification-marker.css +275 -200
- package/css/popover.css +10 -8
- package/css/progress-indicator.css +315 -237
- package/css/reset-global-styles.css +10 -5
- package/css/side-navigation.css +189 -140
- package/css/skip-to-content.css +41 -27
- package/css/slider.css +112 -87
- package/css/table.css +563 -419
- package/css/tabs.css +324 -238
- package/css/tag.css +111 -84
- package/css/text.css +46 -27
- package/css/tile.css +387 -311
- package/css/time-picker.css +113 -86
- package/css/toast-notification.css +232 -173
- package/css/toggle-switch.css +176 -111
- package/css/tooltip.css +21 -16
- package/css/tree.css +123 -93
- package/css/user-icon.css +204 -162
- package/css/wizard.css +156 -131
- package/package.json +5 -6
- package/scss/alert/alert.scss +1 -5
- package/scss/button/button-group.scss +38 -8
- package/scss/button/classes.scss +4 -0
- package/scss/carousel/carousel.scss +17 -6
- package/scss/code/codeblock.scss +1 -1
- package/scss/inputs/checkbox.scss +1 -0
- package/scss/inputs/labeled-inputs.scss +8 -8
- package/scss/inputs/radio.scss +0 -4
- package/scss/location-marker/data-rich.scss +1 -1
- package/scss/location-marker/me.scss +4 -4
- package/scss/modal/modal.scss +1 -0
- package/scss/popover/popover.scss +1 -2
- package/scss/progress-indicator/linear.scss +2 -10
- package/scss/style/global.scss +1 -5
- package/scss/style/mixins.scss +9 -0
- package/scss/table/table.scss +23 -14
- package/scss/toast-notification/categories.scss +1 -5
- package/scss/toggle-switch/classes.scss +4 -0
- package/scss/toggle-switch/toggle-switch.scss +141 -162
package/css/tag.css
CHANGED
|
@@ -11,100 +11,127 @@
|
|
|
11
11
|
-moz-user-select:all;
|
|
12
12
|
user-select:all;
|
|
13
13
|
text-transform:lowercase;
|
|
14
|
-
display:inline-flex;
|
|
15
|
-
|
|
14
|
+
display:inline-flex;
|
|
15
|
+
}
|
|
16
|
+
.iui-tag:focus-visible{
|
|
17
|
+
outline:2px solid var(--iui-color-foreground-primary);
|
|
18
|
+
outline-offset:-2px;
|
|
19
|
+
}
|
|
20
|
+
@supports not selector(*:focus-visible){
|
|
21
|
+
.iui-tag:focus{
|
|
16
22
|
outline:2px solid var(--iui-color-foreground-primary);
|
|
17
|
-
outline-offset:-2px;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
outline-offset:-2px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.iui-tag:not(a){
|
|
27
|
+
color:rgba(0, 0, 0, 0.4);
|
|
28
|
+
color:var(--iui-text-color-muted);
|
|
29
|
+
}
|
|
30
|
+
.iui-tag:not(.iui-basic){
|
|
31
|
+
height:33px;
|
|
32
|
+
margin:3px 0;
|
|
33
|
+
border-radius:16.5px;
|
|
34
|
+
box-sizing:border-box;
|
|
35
|
+
padding:0 2px;
|
|
36
|
+
align-items:center;
|
|
37
|
+
font-size:14px;
|
|
38
|
+
text-transform:none;
|
|
39
|
+
cursor:default;
|
|
40
|
+
border:1px solid rgba(0, 0, 0, 0.4);
|
|
41
|
+
background-color:#FFF;
|
|
42
|
+
color:rgba(0, 0, 0, 0.8);
|
|
43
|
+
border:1px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
|
|
44
|
+
background-color:var(--iui-color-background-1);
|
|
45
|
+
color:var(--iui-text-color);
|
|
46
|
+
}
|
|
47
|
+
@media (prefers-reduced-motion: no-preference){
|
|
25
48
|
.iui-tag:not(.iui-basic){
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
margin:0 4px 0 8px; }
|
|
56
|
-
.iui-tag:not(.iui-basic) > .iui-label:only-child{
|
|
57
|
-
margin:0 8px; }
|
|
58
|
-
.iui-tag:not(.iui-basic) > .iui-button{
|
|
59
|
-
border-radius:50%; }
|
|
60
|
-
.iui-tag:not(.iui-basic):hover{
|
|
61
|
-
border-color:black;
|
|
62
|
-
border-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1)); }
|
|
63
|
-
.iui-tag.iui-basic{
|
|
64
|
-
outline-offset:1px; }
|
|
49
|
+
transition:border 0.2s ease-out;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.iui-tag:not(.iui-basic) > .iui-label{
|
|
53
|
+
margin:0;
|
|
54
|
+
padding:0;
|
|
55
|
+
border:none;
|
|
56
|
+
vertical-align:baseline;
|
|
57
|
+
font-size:14px;
|
|
58
|
+
font-weight:400;
|
|
59
|
+
line-height:22px;
|
|
60
|
+
white-space:nowrap;
|
|
61
|
+
text-overflow:ellipsis;
|
|
62
|
+
overflow:hidden;
|
|
63
|
+
margin:0 4px 0 8px;
|
|
64
|
+
}
|
|
65
|
+
.iui-tag:not(.iui-basic) > .iui-label:only-child{
|
|
66
|
+
margin:0 8px;
|
|
67
|
+
}
|
|
68
|
+
.iui-tag:not(.iui-basic) > .iui-button{
|
|
69
|
+
border-radius:50%;
|
|
70
|
+
}
|
|
71
|
+
.iui-tag:not(.iui-basic):hover{
|
|
72
|
+
border-color:black;
|
|
73
|
+
border-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1));
|
|
74
|
+
}
|
|
75
|
+
.iui-tag.iui-basic{
|
|
76
|
+
outline-offset:1px;
|
|
77
|
+
}
|
|
65
78
|
|
|
66
79
|
a.iui-tag{
|
|
67
80
|
border-radius:3px;
|
|
68
81
|
text-decoration:none;
|
|
69
82
|
cursor:pointer;
|
|
70
83
|
color:#008BE1;
|
|
71
|
-
color:var(--iui-color-foreground-primary);
|
|
72
|
-
|
|
84
|
+
color:var(--iui-color-foreground-primary);
|
|
85
|
+
}
|
|
86
|
+
a.iui-tag:focus-visible{
|
|
87
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
88
|
+
outline-offset:2px;
|
|
89
|
+
}
|
|
90
|
+
@supports not selector(*:focus-visible){
|
|
91
|
+
a.iui-tag:focus{
|
|
73
92
|
outline:1px solid var(--iui-color-foreground-primary);
|
|
74
|
-
outline-offset:2px;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
text-decoration:underline; }
|
|
93
|
+
outline-offset:2px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
a.iui-tag:hover{
|
|
97
|
+
color:#006bae;
|
|
98
|
+
color:var(--iui-color-foreground-primary-overlay);
|
|
99
|
+
text-decoration:underline;
|
|
100
|
+
}
|
|
83
101
|
|
|
84
102
|
.iui-tag-container{
|
|
85
103
|
color:rgba(0, 0, 0, 0.4);
|
|
86
|
-
color:var(--iui-text-color-muted);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
104
|
+
color:var(--iui-text-color-muted);
|
|
105
|
+
}
|
|
106
|
+
.iui-tag-container > a.iui-basic{
|
|
107
|
+
margin:2px;
|
|
108
|
+
}
|
|
109
|
+
.iui-tag-container > .iui-tag:not(:last-child){
|
|
110
|
+
margin-right:4px;
|
|
111
|
+
}
|
|
112
|
+
.iui-tag-container > .iui-basic:not(:last-child)::after{
|
|
113
|
+
content:",";
|
|
114
|
+
}
|
|
115
|
+
.iui-tag-container.iui-truncate{
|
|
116
|
+
overflow:hidden;
|
|
117
|
+
white-space:nowrap;
|
|
118
|
+
text-overflow:ellipsis;
|
|
119
|
+
}
|
|
120
|
+
@supports (-webkit-line-clamp: 1){
|
|
93
121
|
.iui-tag-container.iui-truncate{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
background-color:var(--iui-color-background-2); }
|
|
122
|
+
white-space:unset;
|
|
123
|
+
display:-webkit-box;
|
|
124
|
+
-webkit-line-clamp:1;
|
|
125
|
+
-webkit-box-orient:vertical;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
.iui-tag-container.iui-scroll{
|
|
129
|
+
white-space:nowrap;
|
|
130
|
+
overflow-x:scroll;
|
|
131
|
+
}
|
|
132
|
+
.iui-tag-container.iui-visible{
|
|
133
|
+
border-radius:3px;
|
|
134
|
+
padding:3px 12px;
|
|
135
|
+
background-color:#F8F9FB;
|
|
136
|
+
background-color:var(--iui-color-background-2);
|
|
137
|
+
}
|
package/css/text.css
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
vertical-align:baseline;
|
|
10
10
|
font-size:32px;
|
|
11
11
|
font-weight:300;
|
|
12
|
-
line-height:44px;
|
|
12
|
+
line-height:44px;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
15
|
.iui-text-title{
|
|
15
16
|
margin:0;
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
vertical-align:baseline;
|
|
19
20
|
font-size:24px;
|
|
20
21
|
font-weight:300;
|
|
21
|
-
line-height:33px;
|
|
22
|
+
line-height:33px;
|
|
23
|
+
}
|
|
22
24
|
|
|
23
25
|
.iui-text-subheading{
|
|
24
26
|
margin:0;
|
|
@@ -27,7 +29,8 @@
|
|
|
27
29
|
vertical-align:baseline;
|
|
28
30
|
font-size:18px;
|
|
29
31
|
font-weight:400;
|
|
30
|
-
line-height:33px;
|
|
32
|
+
line-height:33px;
|
|
33
|
+
}
|
|
31
34
|
|
|
32
35
|
.iui-text-leading{
|
|
33
36
|
margin:0;
|
|
@@ -36,7 +39,8 @@
|
|
|
36
39
|
vertical-align:baseline;
|
|
37
40
|
font-size:16px;
|
|
38
41
|
font-weight:400;
|
|
39
|
-
line-height:22px;
|
|
42
|
+
line-height:22px;
|
|
43
|
+
}
|
|
40
44
|
|
|
41
45
|
.iui-text-block{
|
|
42
46
|
margin:0;
|
|
@@ -45,7 +49,8 @@
|
|
|
45
49
|
vertical-align:baseline;
|
|
46
50
|
font-size:14px;
|
|
47
51
|
font-weight:400;
|
|
48
|
-
line-height:22px;
|
|
52
|
+
line-height:22px;
|
|
53
|
+
}
|
|
49
54
|
|
|
50
55
|
.iui-text-small{
|
|
51
56
|
margin:0;
|
|
@@ -54,11 +59,13 @@
|
|
|
54
59
|
vertical-align:baseline;
|
|
55
60
|
font-size:12px;
|
|
56
61
|
font-weight:400;
|
|
57
|
-
line-height:22px;
|
|
62
|
+
line-height:22px;
|
|
63
|
+
}
|
|
58
64
|
|
|
59
65
|
.iui-text-muted{
|
|
60
66
|
color:rgba(0, 0, 0, 0.4);
|
|
61
|
-
color:var(--iui-text-color-muted);
|
|
67
|
+
color:var(--iui-text-color-muted);
|
|
68
|
+
}
|
|
62
69
|
|
|
63
70
|
.iui-skeleton{
|
|
64
71
|
display:inline-block;
|
|
@@ -71,26 +78,38 @@
|
|
|
71
78
|
background:linear-gradient(270deg, #EEF0F3, #EEF0F3, #F8F9FB, #EEF0F3, #EEF0F3);
|
|
72
79
|
background-size:200% 100%;
|
|
73
80
|
background:linear-gradient(270deg, var(--iui-color-background-3), var(--iui-color-background-3), var(--iui-color-background-2), var(--iui-color-background-3), var(--iui-color-background-3));
|
|
74
|
-
background-size:200% 100%;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
50
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
81
|
+
background-size:200% 100%;
|
|
82
|
+
}
|
|
83
|
+
@media (prefers-reduced-motion: no-preference){
|
|
84
|
+
.iui-skeleton{
|
|
85
|
+
-webkit-animation:skeleton-shimmer 0.8s linear infinite;
|
|
86
|
+
animation:skeleton-shimmer 0.8s linear infinite;
|
|
87
|
+
}
|
|
88
|
+
@-webkit-keyframes skeleton-shimmer{
|
|
89
|
+
0%{
|
|
90
|
+
background-position:200% 50%;
|
|
91
|
+
}
|
|
92
|
+
50%{
|
|
93
|
+
background-position:100% 50%;
|
|
94
|
+
}
|
|
95
|
+
100%{
|
|
96
|
+
background-position:0% 50%;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@keyframes skeleton-shimmer{
|
|
100
|
+
0%{
|
|
101
|
+
background-position:200% 50%;
|
|
102
|
+
}
|
|
103
|
+
50%{
|
|
104
|
+
background-position:100% 50%;
|
|
105
|
+
}
|
|
106
|
+
100%{
|
|
107
|
+
background-position:0% 50%;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
93
111
|
|
|
94
112
|
.iui-text-spacing{
|
|
95
113
|
padding:0;
|
|
96
|
-
margin:0 0 22px;
|
|
114
|
+
margin:0 0 22px;
|
|
115
|
+
}
|