@itwin/itwinui-css 0.63.0 → 1.0.0-dev.1

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.
Files changed (243) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -4
  3. package/css/alert.css +263 -145
  4. package/css/all.css +5470 -6944
  5. package/css/anchor.css +0 -4
  6. package/css/{user-icon.css → avatar.css} +52 -72
  7. package/css/badge.css +1 -1
  8. package/css/blockquote.css +2 -5
  9. package/css/breadcrumbs.css +68 -135
  10. package/css/button.css +237 -348
  11. package/css/carousel.css +10 -17
  12. package/css/checkbox.css +152 -0
  13. package/css/code.css +3 -10
  14. package/css/color-picker.css +9 -47
  15. package/css/date-picker.css +1 -60
  16. package/css/dialog.css +11 -13
  17. package/css/expandable-block.css +8 -55
  18. package/css/fieldset.css +2 -7
  19. package/css/file-upload.css +6 -36
  20. package/css/footer.css +2 -10
  21. package/css/global.css +73 -128
  22. package/css/header.css +318 -403
  23. package/css/information-panel.css +13 -22
  24. package/css/input.css +170 -0
  25. package/css/keyboard.css +1 -5
  26. package/css/location-marker.css +8 -13
  27. package/css/menu.css +14 -23
  28. package/css/non-ideal-state.css +5 -5
  29. package/css/progress-indicator.css +11 -99
  30. package/css/radio-tile.css +56 -74
  31. package/css/radio.css +159 -0
  32. package/css/select.css +236 -0
  33. package/css/side-navigation.css +15 -40
  34. package/css/skip-to-content.css +2 -5
  35. package/css/slider.css +11 -70
  36. package/css/stepper.css +141 -0
  37. package/css/surface.css +0 -1
  38. package/css/table.css +266 -353
  39. package/css/tabs.css +22 -58
  40. package/css/tag.css +8 -26
  41. package/css/text.css +7 -9
  42. package/css/tile.css +119 -231
  43. package/css/time-picker.css +3 -15
  44. package/css/{toast-notification.css → toast.css} +14 -54
  45. package/css/toggle-switch.css +17 -64
  46. package/css/tooltip.css +0 -3
  47. package/css/tree.css +9 -35
  48. package/css/utils.css +669 -0
  49. package/css/workflow-diagram.css +67 -0
  50. package/package.json +7 -10
  51. package/css/icon.css +0 -177
  52. package/css/inputs.css +0 -1339
  53. package/css/notification-marker.css +0 -293
  54. package/css/popover.css +0 -14
  55. package/css/reset-global-styles.css +0 -50
  56. package/css/wizard.css +0 -190
  57. package/scss/alert/alert.scss +0 -83
  58. package/scss/alert/classes.scss +0 -13
  59. package/scss/alert/index.scss +0 -3
  60. package/scss/anchor/anchor.scss +0 -3
  61. package/scss/anchor/classes.scss +0 -11
  62. package/scss/anchor/index.scss +0 -3
  63. package/scss/backdrop/backdrop.scss +0 -27
  64. package/scss/backdrop/classes.scss +0 -7
  65. package/scss/backdrop/index.scss +0 -3
  66. package/scss/badge/badge.scss +0 -32
  67. package/scss/badge/classes.scss +0 -7
  68. package/scss/badge/index.scss +0 -3
  69. package/scss/blockquote/blockquote.scss +0 -31
  70. package/scss/blockquote/classes.scss +0 -7
  71. package/scss/blockquote/index.scss +0 -3
  72. package/scss/breadcrumbs/breadcrumbs.scss +0 -124
  73. package/scss/breadcrumbs/classes.scss +0 -31
  74. package/scss/breadcrumbs/index.scss +0 -3
  75. package/scss/button/borderless.scss +0 -48
  76. package/scss/button/button-group.scss +0 -110
  77. package/scss/button/button-icon.scss +0 -12
  78. package/scss/button/button.scss +0 -97
  79. package/scss/button/classes.scss +0 -70
  80. package/scss/button/cta.scss +0 -31
  81. package/scss/button/default.scss +0 -59
  82. package/scss/button/disabled.scss +0 -13
  83. package/scss/button/high-visibility.scss +0 -31
  84. package/scss/button/idea.scss +0 -10
  85. package/scss/button/index.scss +0 -12
  86. package/scss/button/split-menu.scss +0 -66
  87. package/scss/carousel/carousel.scss +0 -124
  88. package/scss/carousel/classes.scss +0 -15
  89. package/scss/carousel/index.scss +0 -3
  90. package/scss/classes.scss +0 -48
  91. package/scss/code/classes.scss +0 -11
  92. package/scss/code/code.scss +0 -18
  93. package/scss/code/codeblock.scss +0 -73
  94. package/scss/code/index.scss +0 -4
  95. package/scss/color-picker/classes.scss +0 -43
  96. package/scss/color-picker/color-picker.scss +0 -274
  97. package/scss/color-picker/index.scss +0 -3
  98. package/scss/date-picker/classes.scss +0 -47
  99. package/scss/date-picker/date-picker.scss +0 -280
  100. package/scss/date-picker/index.scss +0 -3
  101. package/scss/dialog/classes.scss +0 -48
  102. package/scss/dialog/dialog.scss +0 -183
  103. package/scss/dialog/index.scss +0 -3
  104. package/scss/expandable-block/block.scss +0 -193
  105. package/scss/expandable-block/classes.scss +0 -7
  106. package/scss/expandable-block/index.scss +0 -3
  107. package/scss/fieldset/classes.scss +0 -7
  108. package/scss/fieldset/fieldset.scss +0 -35
  109. package/scss/fieldset/index.scss +0 -3
  110. package/scss/file-upload/classes.scss +0 -7
  111. package/scss/file-upload/file-upload.scss +0 -90
  112. package/scss/file-upload/index.scss +0 -3
  113. package/scss/footer/classes.scss +0 -23
  114. package/scss/footer/footer.scss +0 -62
  115. package/scss/footer/index.scss +0 -3
  116. package/scss/header/classes.scss +0 -11
  117. package/scss/header/header.scss +0 -443
  118. package/scss/header/index.scss +0 -3
  119. package/scss/icon/classes.scss +0 -27
  120. package/scss/icon/index.scss +0 -4
  121. package/scss/icon/mixins.scss +0 -78
  122. package/scss/icon/variables.scss +0 -14
  123. package/scss/index.scss +0 -46
  124. package/scss/information-panel/classes.scss +0 -27
  125. package/scss/information-panel/index.scss +0 -3
  126. package/scss/information-panel/information-panel.scss +0 -233
  127. package/scss/inputs/checkbox-radio.scss +0 -73
  128. package/scss/inputs/checkbox.scss +0 -106
  129. package/scss/inputs/classes.scss +0 -87
  130. package/scss/inputs/index.scss +0 -10
  131. package/scss/inputs/input-with-icon.scss +0 -36
  132. package/scss/inputs/input.scss +0 -80
  133. package/scss/inputs/labeled-inputs.scss +0 -382
  134. package/scss/inputs/radio.scss +0 -18
  135. package/scss/inputs/select.scss +0 -132
  136. package/scss/inputs/textarea.scss +0 -14
  137. package/scss/keyboard/classes.scss +0 -7
  138. package/scss/keyboard/index.scss +0 -3
  139. package/scss/keyboard/keyboard.scss +0 -33
  140. package/scss/location-marker/classes.scss +0 -15
  141. package/scss/location-marker/data-rich.scss +0 -58
  142. package/scss/location-marker/default.scss +0 -21
  143. package/scss/location-marker/index.scss +0 -6
  144. package/scss/location-marker/location-marker.scss +0 -13
  145. package/scss/location-marker/me.scss +0 -36
  146. package/scss/menu/classes.scss +0 -21
  147. package/scss/menu/index.scss +0 -3
  148. package/scss/menu/menu.scss +0 -205
  149. package/scss/non-ideal-state/classes.scss +0 -7
  150. package/scss/non-ideal-state/index.scss +0 -3
  151. package/scss/non-ideal-state/non-ideal-state.scss +0 -55
  152. package/scss/notification-marker/classes.scss +0 -9
  153. package/scss/notification-marker/index.scss +0 -3
  154. package/scss/notification-marker/notification-marker.scss +0 -63
  155. package/scss/popover/classes.scss +0 -7
  156. package/scss/popover/index.scss +0 -3
  157. package/scss/popover/popover.scss +0 -22
  158. package/scss/progress-indicator/classes.scss +0 -35
  159. package/scss/progress-indicator/index.scss +0 -5
  160. package/scss/progress-indicator/linear.scss +0 -126
  161. package/scss/progress-indicator/overlay.scss +0 -57
  162. package/scss/progress-indicator/radial.scss +0 -243
  163. package/scss/radio-tile/classes.scss +0 -31
  164. package/scss/radio-tile/index.scss +0 -3
  165. package/scss/radio-tile/radio-tile.scss +0 -209
  166. package/scss/reset-global-styles.scss +0 -33
  167. package/scss/side-navigation/classes.scss +0 -15
  168. package/scss/side-navigation/index.scss +0 -3
  169. package/scss/side-navigation/side-navigation.scss +0 -210
  170. package/scss/skip-to-content/classes.scss +0 -7
  171. package/scss/skip-to-content/index.scss +0 -3
  172. package/scss/skip-to-content/skip-to-content.scss +0 -41
  173. package/scss/slider/classes.scss +0 -40
  174. package/scss/slider/index.scss +0 -3
  175. package/scss/slider/slider.scss +0 -256
  176. package/scss/style/anchor.scss +0 -82
  177. package/scss/style/baseline.scss +0 -4
  178. package/scss/style/color.scss +0 -39
  179. package/scss/style/elevation.scss +0 -11
  180. package/scss/style/global.scss +0 -70
  181. package/scss/style/index.scss +0 -11
  182. package/scss/style/mixins.scss +0 -188
  183. package/scss/style/ripple.scss +0 -18
  184. package/scss/style/space.scss +0 -11
  185. package/scss/style/speed.scss +0 -8
  186. package/scss/style/theme.scss +0 -482
  187. package/scss/style/typography.scss +0 -54
  188. package/scss/style/variables.scss +0 -21
  189. package/scss/surface/classes.scss +0 -7
  190. package/scss/surface/index.scss +0 -3
  191. package/scss/surface/surface.scss +0 -18
  192. package/scss/table/classes.scss +0 -63
  193. package/scss/table/column-filter.scss +0 -37
  194. package/scss/table/condensed.scss +0 -15
  195. package/scss/table/extra-condensed.scss +0 -19
  196. package/scss/table/index.scss +0 -7
  197. package/scss/table/paginator.scss +0 -87
  198. package/scss/table/table.scss +0 -558
  199. package/scss/table/variables.scss +0 -10
  200. package/scss/tabs/borderless.scss +0 -71
  201. package/scss/tabs/classes.scss +0 -44
  202. package/scss/tabs/default.scss +0 -102
  203. package/scss/tabs/index.scss +0 -6
  204. package/scss/tabs/pill.scss +0 -48
  205. package/scss/tabs/tabs.scss +0 -220
  206. package/scss/tag/classes.scss +0 -29
  207. package/scss/tag/index.scss +0 -3
  208. package/scss/tag/tag.scss +0 -99
  209. package/scss/text/classes.scss +0 -40
  210. package/scss/text/index.scss +0 -5
  211. package/scss/text/mixins.scss +0 -42
  212. package/scss/text/muted.scss +0 -9
  213. package/scss/text/skeleton.scss +0 -46
  214. package/scss/tile/classes.scss +0 -51
  215. package/scss/tile/index.scss +0 -3
  216. package/scss/tile/tile.scss +0 -370
  217. package/scss/time-picker/classes.scss +0 -16
  218. package/scss/time-picker/index.scss +0 -3
  219. package/scss/time-picker/time-picker.scss +0 -72
  220. package/scss/toast-notification/categories.scss +0 -26
  221. package/scss/toast-notification/classes.scss +0 -98
  222. package/scss/toast-notification/index.scss +0 -4
  223. package/scss/toast-notification/toast.scss +0 -79
  224. package/scss/toggle-switch/classes.scss +0 -11
  225. package/scss/toggle-switch/index.scss +0 -3
  226. package/scss/toggle-switch/toggle-switch.scss +0 -222
  227. package/scss/tooltip/classes.scss +0 -24
  228. package/scss/tooltip/index.scss +0 -3
  229. package/scss/tooltip/tooltip.scss +0 -41
  230. package/scss/tree/classes.scss +0 -19
  231. package/scss/tree/index.scss +0 -3
  232. package/scss/tree/tree.scss +0 -138
  233. package/scss/user-icon/classes.scss +0 -27
  234. package/scss/user-icon/index.scss +0 -4
  235. package/scss/user-icon/sizes.scss +0 -22
  236. package/scss/user-icon/user-icon.scss +0 -250
  237. package/scss/variables.scss +0 -3
  238. package/scss/wizard/classes.scss +0 -27
  239. package/scss/wizard/index.scss +0 -5
  240. package/scss/wizard/long.scss +0 -19
  241. package/scss/wizard/wizard.scss +0 -160
  242. package/scss/wizard/workflow.scss +0 -43
  243. package/src/index.scss +0 -46
@@ -1,22 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
- @import '../text/mixins';
5
-
6
- @mixin iui-user-icon-size($size: $iui-icons-xl, $font-size: $iui-font-size-leading) {
7
- width: $size;
8
- height: $size;
9
-
10
- @if ($size == $iui-icons-xl) {
11
- --_iui-user-icon-status-size: #{$iui-xs * 1.5};
12
- } @else if ($size == $iui-icons-xxl) {
13
- --_iui-user-icon-status-size: #{$iui-s};
14
- } @else {
15
- --_iui-user-icon-status-size: #{$iui-sm};
16
- }
17
-
18
- > .iui-initials {
19
- line-height: $size;
20
- font-size: $font-size;
21
- }
22
- }
@@ -1,250 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
- @import '../text/mixins';
5
-
6
- @mixin iui-user-icon {
7
- @include iui-reset;
8
- display: inline-flex;
9
- align-items: center;
10
- justify-content: center;
11
- position: relative;
12
- margin: 0;
13
- user-select: none;
14
-
15
- > .iui-stroke {
16
- display: block;
17
- position: absolute;
18
- left: 0;
19
- top: 0;
20
- width: 100%;
21
- height: 100%;
22
- margin: 0;
23
- border-radius: 50%;
24
- box-sizing: border-box;
25
- @include themed {
26
- box-shadow: inset 0 0 0 $iui-xxs rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-6));
27
- }
28
- }
29
-
30
- > .iui-initials {
31
- display: flex;
32
- justify-content: center;
33
- align-items: center;
34
- position: absolute;
35
- left: 0;
36
- top: 0;
37
- width: 100%;
38
- height: 100%;
39
- margin: 0;
40
- border-radius: 50%;
41
- font-style: normal;
42
- font-weight: $iui-font-weight-semibold;
43
- text-align: center;
44
- text-decoration: none;
45
- text-transform: uppercase;
46
- background-color: $iui-color-dataviz-celery;
47
- overflow: hidden;
48
- @include themed {
49
- color: t(iui-color-foreground-accessory);
50
- }
51
- }
52
-
53
- > .iui-icon {
54
- display: inline-flex;
55
- width: 50%;
56
- height: 50%;
57
- position: absolute;
58
- @include themed {
59
- fill: t(iui-color-foreground-accessory);
60
- }
61
- }
62
-
63
- > img {
64
- display: block;
65
- position: absolute;
66
- object-fit: cover;
67
- left: 0;
68
- top: 0;
69
- width: 100%;
70
- height: 100%;
71
- border-width: 0;
72
- border-radius: 50%;
73
- @include themed {
74
- background-color: t(iui-color-background-1);
75
- }
76
- }
77
-
78
- > .iui-status {
79
- display: flex;
80
- align-items: center;
81
- justify-content: center;
82
- position: absolute;
83
- right: -$iui-xxs;
84
- bottom: -$iui-xxs;
85
- width: 25%;
86
- height: 25%;
87
- border-radius: 50%;
88
- @include themed {
89
- border: $iui-xxs solid t(iui-color-background-1);
90
- background-color: t(iui-color-background-5);
91
- }
92
-
93
- &::after {
94
- content: '';
95
- width: var(--_iui-user-icon-status-size, $iui-s);
96
- height: var(--_iui-user-icon-status-size, $iui-s);
97
- }
98
-
99
- &.iui-online {
100
- @include themed {
101
- background-color: t(iui-color-background-positive);
102
- }
103
-
104
- &::after {
105
- mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M6,14L0,8l2-2l4,4l8-8l2,2L6,14z' /></svg>");
106
- @include themed {
107
- background-color: t(iui-color-foreground-accessory);
108
- }
109
- }
110
- }
111
-
112
- &.iui-away {
113
- @include themed {
114
- background-color: t(iui-color-background-warning);
115
- }
116
-
117
- &::after {
118
- mask: url("data:image/svg+xml,<svg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path d='m13.445 12.832-6.445-4.297v-7.535h2v6.465l5.555 3.703z' /></svg>");
119
- @include themed {
120
- background-color: t(iui-color-foreground-accessory);
121
- }
122
- }
123
- }
124
-
125
- &.iui-busy {
126
- @include themed {
127
- background-color: t(iui-color-background-negative);
128
- }
129
-
130
- &::after {
131
- mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='7' width='12' height='2'></rect></svg>");
132
- @include themed {
133
- background-color: t(iui-color-foreground-accessory);
134
- }
135
- }
136
- }
137
-
138
- &.iui-offline {
139
- @include themed {
140
- background-color: t(iui-color-background-1);
141
- box-shadow: inset 0 0 0 1px rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-3));
142
- }
143
-
144
- &::after {
145
- mask: url("data:image/svg+xml,<svg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path d='m12.5 2-4.5 4.5-4.5-4.5-1.5 1.5 4.5 4.5-4.5 4.5 1.5 1.5 4.5-4.5 4.5 4.5 1.5-1.5-4.5-4.5 4.5-4.5z' /></svg>");
146
- @include themed {
147
- background-color: t(iui-icons-color);
148
- }
149
- }
150
- }
151
- }
152
-
153
- &.iui-user-icon-count {
154
- > .iui-initials {
155
- @include themed {
156
- background-color: t(iui-color-background-3);
157
- color: t(iui-text-color-muted);
158
- }
159
- }
160
-
161
- &:focus {
162
- outline: none;
163
-
164
- > .iui-stroke {
165
- @include themed {
166
- box-shadow: t(iui-focus-box-shadow);
167
- }
168
- }
169
- }
170
-
171
- &:focus-visible {
172
- outline: none;
173
- }
174
-
175
- &:focus:not(:focus-visible) {
176
- > .iui-stroke {
177
- @include themed {
178
- box-shadow: inset 0 0 0 $iui-xxs rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-6));
179
- }
180
- }
181
- }
182
- }
183
- }
184
-
185
- @mixin iui-user-icon-list {
186
- display: inline-flex;
187
- flex-wrap: wrap;
188
-
189
- @include iui-user-icon-margins;
190
-
191
- &.iui-stacked {
192
- .iui-user-icon:not(:first-child) {
193
- margin-left: -$iui-xs;
194
-
195
- .iui-initials {
196
- @include themed {
197
- box-shadow: 0 0 0 $iui-xs t(iui-color-background-1);
198
- }
199
- }
200
-
201
- &.iui-small {
202
- margin-left: -$iui-xxs;
203
-
204
- .iui-initials {
205
- @include themed {
206
- box-shadow: 0 0 0 $iui-xxs t(iui-color-background-1);
207
- }
208
- }
209
- }
210
-
211
- &.iui-large {
212
- margin-left: -$iui-s;
213
- }
214
-
215
- &.iui-x-large {
216
- margin-left: -$iui-sm;
217
- }
218
- }
219
-
220
- &.iui-animated {
221
- @media (prefers-reduced-motion: no-preference) {
222
- .iui-user-icon {
223
- transition: margin-left $iui-speed ease-out;
224
- }
225
- }
226
-
227
- &:hover {
228
- @include iui-user-icon-margins;
229
- }
230
- }
231
- }
232
- }
233
-
234
- @mixin iui-user-icon-margins {
235
- .iui-user-icon:not(:first-child) {
236
- margin-left: $iui-xs;
237
-
238
- &.iui-small {
239
- margin-left: $iui-xxs;
240
- }
241
-
242
- &.iui-large {
243
- margin-left: $iui-s;
244
- }
245
-
246
- &.iui-x-large {
247
- margin-left: $iui-sm;
248
- }
249
- }
250
- }
@@ -1,3 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import './style/index';
@@ -1,27 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import './index';
4
-
5
- .iui-wizard {
6
- @include iui-wizard;
7
-
8
- &.iui-long {
9
- @include iui-wizard-long;
10
- }
11
-
12
- &.iui-workflow {
13
- @include iui-wizard-workflow;
14
- }
15
- }
16
-
17
- .iui-wizard-step {
18
- @include iui-wizard-step;
19
- }
20
-
21
- .iui-wizard-track-content {
22
- @include iui-wizard-track-content;
23
- }
24
-
25
- .iui-wizard-step-name {
26
- @include iui-wizard-step-name;
27
- }
@@ -1,5 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import './wizard';
4
- @import './long';
5
- @import './workflow';
@@ -1,19 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
-
5
- @mixin iui-wizard-long {
6
- .iui-wizard-steps-label {
7
- display: block;
8
- font-size: $iui-font-size-subheading;
9
- text-align: center;
10
- }
11
-
12
- .iui-steps-count {
13
- user-select: none;
14
- margin-right: $iui-s;
15
- @include themed {
16
- color: t(iui-text-color-muted);
17
- }
18
- }
19
- }
@@ -1,160 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
- @import '../text/index';
5
-
6
- @mixin iui-wizard {
7
- @include iui-reset;
8
-
9
- > ol {
10
- @include iui-reset;
11
- display: flex;
12
- justify-content: space-around;
13
- align-items: flex-start;
14
- width: 100%;
15
- margin-bottom: $iui-baseline * 0.5;
16
- }
17
- }
18
-
19
- @mixin iui-wizard-step {
20
- flex: 1;
21
- align-items: center;
22
- display: flex;
23
- flex-direction: column;
24
- @include iui-text(small);
25
- @include themed {
26
- color: t(iui-color-background-positive);
27
- }
28
-
29
- // Completed steps
30
- .iui-wizard-circle {
31
- align-items: center;
32
- border-radius: 50%;
33
- display: flex;
34
- width: $iui-l;
35
- height: $iui-l;
36
- justify-content: center;
37
- overflow-wrap: break-word;
38
- user-select: none;
39
- transition: background-color $iui-speed-fast ease-out, border-color $iui-speed-fast ease-out,
40
- color $iui-speed-fast ease-out;
41
- @include themed {
42
- border: 1px solid t(iui-color-foreground-positive);
43
- background-color: t(iui-color-background-1);
44
- color: t(iui-color-foreground-positive);
45
- }
46
- }
47
-
48
- // Current step
49
- &.iui-current {
50
- font-weight: $iui-font-weight-semibold;
51
-
52
- .iui-wizard-step-name {
53
- @include themed {
54
- color: t(iui-color-foreground-positive);
55
- }
56
- }
57
-
58
- .iui-wizard-circle {
59
- @include themed {
60
- color: t(iui-color-foreground-accessory);
61
- border-color: t(iui-color-background-positive);
62
- background-color: t(iui-color-background-positive);
63
- }
64
- }
65
-
66
- .iui-wizard-track-content::after {
67
- @include themed {
68
- background-color: t(iui-color-background-5);
69
- }
70
- }
71
- }
72
-
73
- // Future steps
74
- &.iui-current ~ & {
75
- .iui-wizard-circle {
76
- @include themed {
77
- border: 1px solid t(iui-color-background-border);
78
- background-color: t(iui-color-background-1);
79
- color: t(iui-text-color-muted);
80
- }
81
- }
82
-
83
- .iui-wizard-step-name {
84
- @include themed {
85
- color: t(iui-text-color-muted);
86
- }
87
- }
88
-
89
- .iui-wizard-track-content::before,
90
- &:not(:last-of-type) .iui-wizard-track-content::after {
91
- @include themed {
92
- background-color: t(iui-color-background-5);
93
- }
94
- }
95
- }
96
-
97
- // Clickable steps
98
- &.iui-clickable {
99
- .iui-wizard-circle {
100
- cursor: pointer;
101
- @media (prefers-reduced-motion: no-preference) {
102
- transition: background-color $iui-speed-fast ease-out;
103
- }
104
-
105
- &:hover {
106
- @include themed {
107
- color: t(iui-color-foreground-accessory);
108
- border: 1px solid t(iui-color-background-positive);
109
- background-color: t(iui-color-background-positive);
110
- }
111
- }
112
- }
113
-
114
- &:focus {
115
- outline: 0;
116
-
117
- .iui-wizard-circle {
118
- @include themed {
119
- outline: 2px solid t(iui-color-foreground-positive);
120
- }
121
- outline-offset: -1px;
122
- }
123
- }
124
-
125
- &:focus:not(:focus-visible) {
126
- .iui-wizard-circle {
127
- outline: none;
128
- }
129
- }
130
- }
131
-
132
- &:first-of-type .iui-wizard-track-content::before,
133
- &:last-of-type .iui-wizard-track-content::after {
134
- background-color: transparent;
135
- }
136
- }
137
-
138
- @mixin iui-wizard-track-content {
139
- display: flex;
140
- align-items: center;
141
- width: 100%;
142
-
143
- &::before,
144
- &::after {
145
- content: '';
146
- height: $iui-xxs;
147
- flex: 1 2 auto;
148
- @include themed {
149
- background-color: t(iui-color-foreground-positive);
150
- }
151
- }
152
- }
153
-
154
- @mixin iui-wizard-step-name {
155
- text-align: center;
156
- user-select: all;
157
- @include themed {
158
- color: t(iui-color-foreground-positive);
159
- }
160
- }
@@ -1,43 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
-
5
- @mixin iui-wizard-workflow {
6
- > ol {
7
- align-items: center;
8
- }
9
-
10
- .iui-wizard-step {
11
- .iui-wizard-circle {
12
- padding-left: $iui-m;
13
- padding-right: $iui-m;
14
- height: 100%;
15
- width: auto;
16
- border-radius: 0;
17
- font-weight: $iui-font-weight-normal;
18
- text-align: center;
19
- @include themed {
20
- background-color: t(iui-color-background-positive);
21
- border-color: t(iui-color-background-positive);
22
- color: t(iui-color-foreground-accessory);
23
- }
24
- }
25
-
26
- &:first-of-type .iui-wizard-circle,
27
- &:last-of-type .iui-wizard-circle {
28
- border-radius: $iui-sm;
29
- @include themed {
30
- background-color: t(iui-color-background-1);
31
- border-color: t(iui-color-foreground-positive);
32
- color: t(iui-color-foreground-positive);
33
- }
34
- }
35
- }
36
-
37
- .iui-wizard-track-content::before,
38
- .iui-wizard-track-content::after {
39
- @include themed {
40
- background-color: t(iui-color-foreground-positive);
41
- }
42
- }
43
- }
package/src/index.scss DELETED
@@ -1,46 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import './style/index';
4
- @import './alert/index';
5
- @import './anchor/index';
6
- @import './badge/index';
7
- @import './backdrop/index';
8
- @import './blockquote/index';
9
- @import './breadcrumbs/index';
10
- @import './button/index';
11
- @import './carousel/index';
12
- @import './code/index';
13
- @import './color-picker/index';
14
- @import './date-picker/index';
15
- @import './dialog/index';
16
- @import './expandable-block/index';
17
- @import './file-upload/index';
18
- @import './footer/index';
19
- @import './header/index';
20
- @import './icon/index';
21
- @import './information-panel/index';
22
- @import './inputs/index';
23
- @import './keyboard/index';
24
- @import './location-marker/index';
25
- @import './menu/index';
26
- @import './non-ideal-state/index';
27
- @import './notification-marker/index';
28
- @import './popover/index';
29
- @import './progress-indicator/index';
30
- @import './radio-tile/index';
31
- @import './side-navigation/index';
32
- @import './skip-to-content/index';
33
- @import './slider/index';
34
- @import './surface/index';
35
- @import './table/index';
36
- @import './tabs/index';
37
- @import './tag/index';
38
- @import './text/index';
39
- @import './tile/index';
40
- @import './time-picker/index';
41
- @import './toast-notification/index';
42
- @import './toggle-switch/index';
43
- @import './tooltip/index';
44
- @import './tree/index';
45
- @import './user-icon/index';
46
- @import './wizard/index';