@itwin/itwinui-css 0.63.1 → 1.0.0-dev.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.
Files changed (244) hide show
  1. package/README.md +1 -4
  2. package/css/alert.css +291 -173
  3. package/css/all.css +4355 -6315
  4. package/css/anchor.css +3 -7
  5. package/css/avatar.css +226 -0
  6. package/css/backdrop.css +6 -4
  7. package/css/badge.css +8 -8
  8. package/css/blockquote.css +6 -9
  9. package/css/breadcrumbs.css +94 -156
  10. package/css/button.css +258 -365
  11. package/css/carousel.css +20 -26
  12. package/css/checkbox.css +152 -0
  13. package/css/code.css +14 -23
  14. package/css/color-picker.css +36 -77
  15. package/css/date-picker.css +59 -147
  16. package/css/dialog.css +25 -29
  17. package/css/expandable-block.css +36 -80
  18. package/css/fieldset.css +7 -12
  19. package/css/file-upload.css +15 -44
  20. package/css/footer.css +11 -19
  21. package/css/global.css +49 -671
  22. package/css/header.css +324 -408
  23. package/css/information-panel.css +39 -47
  24. package/css/input.css +170 -0
  25. package/css/keyboard.css +6 -10
  26. package/css/location-marker.css +32 -29
  27. package/css/menu.css +41 -43
  28. package/css/non-ideal-state.css +12 -12
  29. package/css/progress-indicator.css +37 -127
  30. package/css/radio-tile.css +70 -88
  31. package/css/radio.css +159 -0
  32. package/css/select.css +239 -0
  33. package/css/side-navigation.css +33 -57
  34. package/css/skip-to-content.css +11 -14
  35. package/css/slider.css +35 -67
  36. package/css/stepper.css +141 -0
  37. package/css/surface.css +2 -3
  38. package/css/table.css +362 -431
  39. package/css/tabs.css +58 -93
  40. package/css/tag.css +27 -46
  41. package/css/text.css +24 -26
  42. package/css/tile.css +200 -293
  43. package/css/time-picker.css +16 -26
  44. package/css/{toast-notification.css → toast.css} +50 -90
  45. package/css/toggle-switch.css +33 -80
  46. package/css/tooltip.css +6 -9
  47. package/css/tree.css +25 -49
  48. package/css/utils.css +683 -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/user-icon.css +0 -246
  57. package/css/wizard.css +0 -190
  58. package/scss/alert/alert.scss +0 -83
  59. package/scss/alert/classes.scss +0 -13
  60. package/scss/alert/index.scss +0 -3
  61. package/scss/anchor/anchor.scss +0 -3
  62. package/scss/anchor/classes.scss +0 -11
  63. package/scss/anchor/index.scss +0 -3
  64. package/scss/backdrop/backdrop.scss +0 -27
  65. package/scss/backdrop/classes.scss +0 -7
  66. package/scss/backdrop/index.scss +0 -3
  67. package/scss/badge/badge.scss +0 -32
  68. package/scss/badge/classes.scss +0 -7
  69. package/scss/badge/index.scss +0 -3
  70. package/scss/blockquote/blockquote.scss +0 -31
  71. package/scss/blockquote/classes.scss +0 -7
  72. package/scss/blockquote/index.scss +0 -3
  73. package/scss/breadcrumbs/breadcrumbs.scss +0 -124
  74. package/scss/breadcrumbs/classes.scss +0 -31
  75. package/scss/breadcrumbs/index.scss +0 -3
  76. package/scss/button/borderless.scss +0 -48
  77. package/scss/button/button-group.scss +0 -110
  78. package/scss/button/button-icon.scss +0 -12
  79. package/scss/button/button.scss +0 -97
  80. package/scss/button/classes.scss +0 -70
  81. package/scss/button/cta.scss +0 -31
  82. package/scss/button/default.scss +0 -59
  83. package/scss/button/disabled.scss +0 -13
  84. package/scss/button/high-visibility.scss +0 -31
  85. package/scss/button/idea.scss +0 -10
  86. package/scss/button/index.scss +0 -12
  87. package/scss/button/split-menu.scss +0 -66
  88. package/scss/carousel/carousel.scss +0 -124
  89. package/scss/carousel/classes.scss +0 -15
  90. package/scss/carousel/index.scss +0 -3
  91. package/scss/classes.scss +0 -48
  92. package/scss/code/classes.scss +0 -11
  93. package/scss/code/code.scss +0 -18
  94. package/scss/code/codeblock.scss +0 -74
  95. package/scss/code/index.scss +0 -4
  96. package/scss/color-picker/classes.scss +0 -43
  97. package/scss/color-picker/color-picker.scss +0 -274
  98. package/scss/color-picker/index.scss +0 -3
  99. package/scss/date-picker/classes.scss +0 -47
  100. package/scss/date-picker/date-picker.scss +0 -280
  101. package/scss/date-picker/index.scss +0 -3
  102. package/scss/dialog/classes.scss +0 -48
  103. package/scss/dialog/dialog.scss +0 -185
  104. package/scss/dialog/index.scss +0 -3
  105. package/scss/expandable-block/block.scss +0 -193
  106. package/scss/expandable-block/classes.scss +0 -7
  107. package/scss/expandable-block/index.scss +0 -3
  108. package/scss/fieldset/classes.scss +0 -7
  109. package/scss/fieldset/fieldset.scss +0 -35
  110. package/scss/fieldset/index.scss +0 -3
  111. package/scss/file-upload/classes.scss +0 -7
  112. package/scss/file-upload/file-upload.scss +0 -90
  113. package/scss/file-upload/index.scss +0 -3
  114. package/scss/footer/classes.scss +0 -23
  115. package/scss/footer/footer.scss +0 -62
  116. package/scss/footer/index.scss +0 -3
  117. package/scss/header/classes.scss +0 -11
  118. package/scss/header/header.scss +0 -443
  119. package/scss/header/index.scss +0 -3
  120. package/scss/icon/classes.scss +0 -27
  121. package/scss/icon/index.scss +0 -4
  122. package/scss/icon/mixins.scss +0 -78
  123. package/scss/icon/variables.scss +0 -14
  124. package/scss/index.scss +0 -46
  125. package/scss/information-panel/classes.scss +0 -27
  126. package/scss/information-panel/index.scss +0 -3
  127. package/scss/information-panel/information-panel.scss +0 -233
  128. package/scss/inputs/checkbox-radio.scss +0 -73
  129. package/scss/inputs/checkbox.scss +0 -106
  130. package/scss/inputs/classes.scss +0 -87
  131. package/scss/inputs/index.scss +0 -10
  132. package/scss/inputs/input-with-icon.scss +0 -36
  133. package/scss/inputs/input.scss +0 -80
  134. package/scss/inputs/labeled-inputs.scss +0 -382
  135. package/scss/inputs/radio.scss +0 -18
  136. package/scss/inputs/select.scss +0 -132
  137. package/scss/inputs/textarea.scss +0 -14
  138. package/scss/keyboard/classes.scss +0 -7
  139. package/scss/keyboard/index.scss +0 -3
  140. package/scss/keyboard/keyboard.scss +0 -33
  141. package/scss/location-marker/classes.scss +0 -15
  142. package/scss/location-marker/data-rich.scss +0 -58
  143. package/scss/location-marker/default.scss +0 -21
  144. package/scss/location-marker/index.scss +0 -6
  145. package/scss/location-marker/location-marker.scss +0 -13
  146. package/scss/location-marker/me.scss +0 -36
  147. package/scss/menu/classes.scss +0 -21
  148. package/scss/menu/index.scss +0 -3
  149. package/scss/menu/menu.scss +0 -205
  150. package/scss/non-ideal-state/classes.scss +0 -7
  151. package/scss/non-ideal-state/index.scss +0 -3
  152. package/scss/non-ideal-state/non-ideal-state.scss +0 -55
  153. package/scss/notification-marker/classes.scss +0 -9
  154. package/scss/notification-marker/index.scss +0 -3
  155. package/scss/notification-marker/notification-marker.scss +0 -63
  156. package/scss/popover/classes.scss +0 -7
  157. package/scss/popover/index.scss +0 -3
  158. package/scss/popover/popover.scss +0 -22
  159. package/scss/progress-indicator/classes.scss +0 -35
  160. package/scss/progress-indicator/index.scss +0 -5
  161. package/scss/progress-indicator/linear.scss +0 -126
  162. package/scss/progress-indicator/overlay.scss +0 -57
  163. package/scss/progress-indicator/radial.scss +0 -243
  164. package/scss/radio-tile/classes.scss +0 -31
  165. package/scss/radio-tile/index.scss +0 -3
  166. package/scss/radio-tile/radio-tile.scss +0 -209
  167. package/scss/reset-global-styles.scss +0 -33
  168. package/scss/side-navigation/classes.scss +0 -15
  169. package/scss/side-navigation/index.scss +0 -3
  170. package/scss/side-navigation/side-navigation.scss +0 -210
  171. package/scss/skip-to-content/classes.scss +0 -7
  172. package/scss/skip-to-content/index.scss +0 -3
  173. package/scss/skip-to-content/skip-to-content.scss +0 -41
  174. package/scss/slider/classes.scss +0 -40
  175. package/scss/slider/index.scss +0 -3
  176. package/scss/slider/slider.scss +0 -256
  177. package/scss/style/anchor.scss +0 -82
  178. package/scss/style/baseline.scss +0 -4
  179. package/scss/style/color.scss +0 -39
  180. package/scss/style/elevation.scss +0 -11
  181. package/scss/style/global.scss +0 -70
  182. package/scss/style/index.scss +0 -11
  183. package/scss/style/mixins.scss +0 -188
  184. package/scss/style/ripple.scss +0 -18
  185. package/scss/style/space.scss +0 -11
  186. package/scss/style/speed.scss +0 -8
  187. package/scss/style/theme.scss +0 -482
  188. package/scss/style/typography.scss +0 -54
  189. package/scss/style/variables.scss +0 -21
  190. package/scss/surface/classes.scss +0 -7
  191. package/scss/surface/index.scss +0 -3
  192. package/scss/surface/surface.scss +0 -18
  193. package/scss/table/classes.scss +0 -63
  194. package/scss/table/column-filter.scss +0 -37
  195. package/scss/table/condensed.scss +0 -15
  196. package/scss/table/extra-condensed.scss +0 -19
  197. package/scss/table/index.scss +0 -7
  198. package/scss/table/paginator.scss +0 -87
  199. package/scss/table/table.scss +0 -558
  200. package/scss/table/variables.scss +0 -10
  201. package/scss/tabs/borderless.scss +0 -71
  202. package/scss/tabs/classes.scss +0 -44
  203. package/scss/tabs/default.scss +0 -110
  204. package/scss/tabs/index.scss +0 -6
  205. package/scss/tabs/pill.scss +0 -48
  206. package/scss/tabs/tabs.scss +0 -220
  207. package/scss/tag/classes.scss +0 -29
  208. package/scss/tag/index.scss +0 -3
  209. package/scss/tag/tag.scss +0 -99
  210. package/scss/text/classes.scss +0 -40
  211. package/scss/text/index.scss +0 -5
  212. package/scss/text/mixins.scss +0 -42
  213. package/scss/text/muted.scss +0 -9
  214. package/scss/text/skeleton.scss +0 -46
  215. package/scss/tile/classes.scss +0 -51
  216. package/scss/tile/index.scss +0 -3
  217. package/scss/tile/tile.scss +0 -370
  218. package/scss/time-picker/classes.scss +0 -16
  219. package/scss/time-picker/index.scss +0 -3
  220. package/scss/time-picker/time-picker.scss +0 -72
  221. package/scss/toast-notification/categories.scss +0 -26
  222. package/scss/toast-notification/classes.scss +0 -98
  223. package/scss/toast-notification/index.scss +0 -4
  224. package/scss/toast-notification/toast.scss +0 -79
  225. package/scss/toggle-switch/classes.scss +0 -11
  226. package/scss/toggle-switch/index.scss +0 -3
  227. package/scss/toggle-switch/toggle-switch.scss +0 -222
  228. package/scss/tooltip/classes.scss +0 -24
  229. package/scss/tooltip/index.scss +0 -3
  230. package/scss/tooltip/tooltip.scss +0 -41
  231. package/scss/tree/classes.scss +0 -19
  232. package/scss/tree/index.scss +0 -3
  233. package/scss/tree/tree.scss +0 -138
  234. package/scss/user-icon/classes.scss +0 -27
  235. package/scss/user-icon/index.scss +0 -4
  236. package/scss/user-icon/sizes.scss +0 -22
  237. package/scss/user-icon/user-icon.scss +0 -250
  238. package/scss/variables.scss +0 -3
  239. package/scss/wizard/classes.scss +0 -27
  240. package/scss/wizard/index.scss +0 -5
  241. package/scss/wizard/long.scss +0 -19
  242. package/scss/wizard/wizard.scss +0 -160
  243. package/scss/wizard/workflow.scss +0 -43
  244. package/src/index.scss +0 -46
package/css/wizard.css DELETED
@@ -1,190 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- .iui-wizard{
6
- margin:0;
7
- padding:0;
8
- border:none;
9
- vertical-align:baseline;
10
- }
11
- .iui-wizard > ol{
12
- margin:0;
13
- padding:0;
14
- border:none;
15
- vertical-align:baseline;
16
- display:flex;
17
- justify-content:space-around;
18
- align-items:flex-start;
19
- width:100%;
20
- margin-bottom:5.5px;
21
- }
22
- .iui-wizard.iui-long .iui-wizard-steps-label{
23
- display:block;
24
- font-size:18px;
25
- text-align:center;
26
- }
27
- .iui-wizard.iui-long .iui-steps-count{
28
- -webkit-user-select:none;
29
- -moz-user-select:none;
30
- -ms-user-select:none;
31
- user-select:none;
32
- margin-right:8px;
33
- color:rgba(0, 0, 0, 0.4);
34
- color:var(--iui-text-color-muted);
35
- }
36
- .iui-wizard.iui-workflow > ol{
37
- align-items:center;
38
- }
39
- .iui-wizard.iui-workflow .iui-wizard-step .iui-wizard-circle{
40
- padding-left:16px;
41
- padding-right:16px;
42
- height:100%;
43
- width:auto;
44
- border-radius:0;
45
- font-weight:400;
46
- text-align:center;
47
- background-color:#53a21a;
48
- border-color:#53a21a;
49
- color:white;
50
- background-color:var(--iui-color-background-positive);
51
- border-color:var(--iui-color-background-positive);
52
- color:var(--iui-color-foreground-accessory);
53
- }
54
- .iui-wizard.iui-workflow .iui-wizard-step:first-of-type .iui-wizard-circle, .iui-wizard.iui-workflow .iui-wizard-step:last-of-type .iui-wizard-circle{
55
- border-radius:12px;
56
- background-color:white;
57
- border-color:#53a21a;
58
- color:#53a21a;
59
- background-color:var(--iui-color-background-1);
60
- border-color:var(--iui-color-foreground-positive);
61
- color:var(--iui-color-foreground-positive);
62
- }
63
- .iui-wizard.iui-workflow .iui-wizard-track-content::before,
64
- .iui-wizard.iui-workflow .iui-wizard-track-content::after{
65
- background-color:#53a21a;
66
- background-color:var(--iui-color-foreground-positive);
67
- }
68
-
69
- .iui-wizard-step{
70
- flex:1;
71
- align-items:center;
72
- display:flex;
73
- flex-direction:column;
74
- margin:0;
75
- padding:0;
76
- border:none;
77
- vertical-align:baseline;
78
- font-size:12px;
79
- font-weight:400;
80
- line-height:22px;
81
- color:#53a21a;
82
- color:var(--iui-color-background-positive);
83
- }
84
- .iui-wizard-step .iui-wizard-circle{
85
- align-items:center;
86
- border-radius:50%;
87
- display:flex;
88
- width:24px;
89
- height:24px;
90
- justify-content:center;
91
- overflow-wrap:break-word;
92
- -webkit-user-select:none;
93
- -moz-user-select:none;
94
- -ms-user-select:none;
95
- user-select:none;
96
- transition:background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
97
- border:1px solid #53a21a;
98
- background-color:white;
99
- color:#53a21a;
100
- border:1px solid var(--iui-color-foreground-positive);
101
- background-color:var(--iui-color-background-1);
102
- color:var(--iui-color-foreground-positive);
103
- }
104
- .iui-wizard-step.iui-current{
105
- font-weight:600;
106
- }
107
- .iui-wizard-step.iui-current .iui-wizard-step-name{
108
- color:#53a21a;
109
- color:var(--iui-color-foreground-positive);
110
- }
111
- .iui-wizard-step.iui-current .iui-wizard-circle{
112
- color:white;
113
- border-color:#53a21a;
114
- background-color:#53a21a;
115
- color:var(--iui-color-foreground-accessory);
116
- border-color:var(--iui-color-background-positive);
117
- background-color:var(--iui-color-background-positive);
118
- }
119
- .iui-wizard-step.iui-current .iui-wizard-track-content::after{
120
- background-color:#c7ccd1;
121
- background-color:var(--iui-color-background-5);
122
- }
123
- .iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-circle{
124
- border:1px solid #c7ccd1;
125
- background-color:white;
126
- color:rgba(0, 0, 0, 0.4);
127
- border:1px solid var(--iui-color-background-border);
128
- background-color:var(--iui-color-background-1);
129
- color:var(--iui-text-color-muted);
130
- }
131
- .iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-step-name{
132
- color:rgba(0, 0, 0, 0.4);
133
- color:var(--iui-text-color-muted);
134
- }
135
- .iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-track-content::before, .iui-wizard-step.iui-current ~ .iui-wizard-step:not(:last-of-type) .iui-wizard-track-content::after{
136
- background-color:#c7ccd1;
137
- background-color:var(--iui-color-background-5);
138
- }
139
- .iui-wizard-step.iui-clickable .iui-wizard-circle{
140
- cursor:pointer;
141
- }
142
- @media (prefers-reduced-motion: no-preference){
143
- .iui-wizard-step.iui-clickable .iui-wizard-circle{
144
- transition:background-color 0.2s ease-out;
145
- }
146
- }
147
- .iui-wizard-step.iui-clickable .iui-wizard-circle:hover{
148
- color:white;
149
- border:1px solid #53a21a;
150
- background-color:#53a21a;
151
- color:var(--iui-color-foreground-accessory);
152
- border:1px solid var(--iui-color-background-positive);
153
- background-color:var(--iui-color-background-positive);
154
- }
155
- .iui-wizard-step.iui-clickable:focus{
156
- outline:0;
157
- }
158
- .iui-wizard-step.iui-clickable:focus .iui-wizard-circle{
159
- outline:2px solid #53a21a;
160
- outline:2px solid var(--iui-color-foreground-positive);
161
- outline-offset:-1px;
162
- }
163
- .iui-wizard-step.iui-clickable:focus:not(:focus-visible) .iui-wizard-circle{
164
- outline:none;
165
- }
166
- .iui-wizard-step:first-of-type .iui-wizard-track-content::before, .iui-wizard-step:last-of-type .iui-wizard-track-content::after{
167
- background-color:transparent;
168
- }
169
-
170
- .iui-wizard-track-content{
171
- display:flex;
172
- align-items:center;
173
- width:100%;
174
- }
175
- .iui-wizard-track-content::before, .iui-wizard-track-content::after{
176
- content:"";
177
- height:2px;
178
- flex:1 2 auto;
179
- background-color:#53a21a;
180
- background-color:var(--iui-color-foreground-positive);
181
- }
182
-
183
- .iui-wizard-step-name{
184
- text-align:center;
185
- -webkit-user-select:all;
186
- -moz-user-select:all;
187
- user-select:all;
188
- color:#53a21a;
189
- color:var(--iui-color-foreground-positive);
190
- }
@@ -1,83 +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 '../anchor/index';
5
- @import '../icon/index';
6
- @import '../text/index';
7
-
8
- @mixin iui-alert {
9
- @include iui-reset;
10
- border-radius: $iui-border-radius;
11
- box-sizing: border-box;
12
- display: flex;
13
- align-items: center;
14
- @include themed {
15
- border: 1px solid t(iui-color-background-5);
16
- color: t(iui-text-color);
17
- background-color: t(iui-color-background-1);
18
- }
19
-
20
- &-icon {
21
- @include iui-icons-default;
22
- flex-shrink: 0;
23
- margin-left: $iui-m;
24
- }
25
-
26
- &-message {
27
- margin: $iui-baseline $iui-m;
28
- }
29
-
30
- &-link {
31
- @include iui-anchor-underline('on-initial');
32
- border-radius: $iui-border-radius;
33
- cursor: pointer;
34
- margin-left: $iui-s;
35
- user-select: none;
36
- white-space: nowrap;
37
- }
38
-
39
- > .iui-button {
40
- margin-left: auto;
41
- margin-right: $iui-s;
42
- }
43
-
44
- &.iui-sticky {
45
- border-radius: 0;
46
- position: absolute;
47
- top: 0;
48
- left: 0;
49
- width: 100vw;
50
- }
51
- }
52
-
53
- /// Modifier mixin to categorize the alert
54
- /// @arg $statusColor Can be one of: positive, negative, warning, primary
55
- /// @arg $rootSelector Selector of the root alert element. Defaults to .iui-alert
56
- @mixin iui-alert-category($statusColor, $rootSelector: '.iui-alert') {
57
- @include themed {
58
- background: linear-gradient(
59
- rgba(t(iui-color-foreground-#{$statusColor}-rgb), t(iui-opacity-6)),
60
- rgba(t(iui-color-foreground-#{$statusColor}-rgb), t(iui-opacity-6))
61
- ),
62
- linear-gradient(t(iui-color-background-1), t(iui-color-background-1));
63
- border-color: t(iui-color-foreground-#{$statusColor});
64
- }
65
-
66
- #{$rootSelector}-icon {
67
- @include themed {
68
- fill: t(iui-icons-color-#{$statusColor});
69
- }
70
- }
71
-
72
- #{$rootSelector}-message {
73
- @include iui-text-selection($statusColor);
74
- }
75
-
76
- #{$rootSelector}-link {
77
- @include iui-anchor-status($statusColor);
78
- }
79
-
80
- > .iui-button {
81
- outline-color: var(--iui-color-foreground-#{$statusColor});
82
- }
83
- }
@@ -1,13 +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-alert {
6
- @include iui-alert;
7
-
8
- @each $status in positive, negative, warning, informational {
9
- &.iui-#{$status} {
10
- @include iui-alert-category($statusColor: if($status == informational, 'primary', $status));
11
- }
12
- }
13
- }
@@ -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 './alert';
@@ -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/anchor'; // Reimports anchor from global styles
@@ -1,11 +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-anchor {
6
- @include iui-anchor;
7
-
8
- &-external {
9
- @include iui-anchor-external;
10
- }
11
- }
@@ -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 './anchor';
@@ -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 '../style/index';
4
-
5
- @mixin iui-backdrop {
6
- z-index: 998;
7
- isolation: isolate;
8
- position: absolute;
9
- top: 0;
10
- left: 0;
11
- width: 100%;
12
- height: 100%;
13
- background-color: rgba(0, 0, 0, 0.4); // IE fallback
14
- background-color: rgba(0, 0, 0, var(--iui-opacity-4));
15
-
16
- &:not(.iui-backdrop-visible) {
17
- visibility: hidden;
18
- opacity: 0;
19
- }
20
-
21
- transition: visibility $iui-speed-instant linear, opacity $iui-speed-fast ease-out;
22
- transition-delay: $iui-speed-fast, $iui-speed-instant;
23
-
24
- &.iui-backdrop-visible {
25
- transition-delay: $iui-speed-instant; // remove delay for entry animation
26
- }
27
- }
@@ -1,7 +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-backdrop {
6
- @include iui-backdrop;
7
- }
@@ -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 './backdrop';
@@ -1,32 +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
- $iui-badge-background-default: $iui-color-background-5--light;
6
- $iui-badge-background-positive: $iui-color-foreground-positive--dark;
7
- $iui-badge-background-negative: $iui-color-foreground-negative--dark;
8
- $iui-badge-background-warning: $iui-color-foreground-warning--dark;
9
- $iui-badge-background-primary: $iui-color-foreground-primary--dark;
10
-
11
- $iui-badge-text-color: rgba($iui-color-foreground-body--light, $iui-opacity-3--light);
12
-
13
- @mixin iui-badge {
14
- --iui-badge-background-color: #{$iui-badge-background-default};
15
- --_iui-badge-text-color: #{$iui-badge-text-color};
16
-
17
- @include iui-reset;
18
- display: inline-block;
19
- font-size: $iui-font-size-small;
20
- padding: 0 $iui-xs * 1.5;
21
- margin: round($iui-baseline * 0.5) 0;
22
- border-radius: $iui-border-radius;
23
- background-color: var(--iui-badge-background-color);
24
- color: var(--_iui-badge-text-color);
25
- text-transform: uppercase;
26
- user-select: none;
27
- max-width: 20ch;
28
- white-space: nowrap;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- font-weight: $iui-font-weight-semibold;
32
- }
@@ -1,7 +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-badge {
6
- @include iui-badge;
7
- }
@@ -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 './badge';
@@ -1,31 +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-blockquote {
6
- @include iui-reset;
7
- display: block;
8
- position: relative;
9
- padding: $iui-baseline $iui-m;
10
- margin: $iui-baseline 0;
11
- text-align: justify;
12
- box-shadow: $iui-elevation-2;
13
- border-radius: $iui-border-radius;
14
-
15
- @include themed {
16
- background-color: t(iui-color-background-1);
17
- border-left: $iui-s solid t(iui-color-foreground-primary);
18
- }
19
-
20
- > footer {
21
- text-align: right;
22
-
23
- @include themed {
24
- color: t(iui-text-color-muted);
25
- }
26
-
27
- > cite {
28
- font-style: normal;
29
- }
30
- }
31
- }
@@ -1,7 +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-blockquote {
6
- @include iui-blockquote;
7
- }
@@ -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 './blockquote';
@@ -1,124 +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 '../anchor/index';
5
- @import '../button/borderless';
6
- @import '../icon/index';
7
-
8
- @mixin iui-breadcrumbs {
9
- @include iui-reset;
10
- display: flex;
11
- align-items: center;
12
- }
13
-
14
- @mixin iui-breadcrumbs-list {
15
- @include iui-reset;
16
- display: flex;
17
- align-items: center;
18
- list-style-type: none;
19
- user-select: none;
20
- }
21
-
22
- @mixin iui-breadcrumbs-item {
23
- display: flex;
24
- align-items: center;
25
- line-height: $iui-component-height;
26
- height: $iui-component-height;
27
-
28
- > * {
29
- max-width: 26ch;
30
- }
31
- }
32
-
33
- @mixin iui-breadcrumbs-item-overrides {
34
- > * {
35
- padding: 0 $iui-s;
36
- overflow: hidden;
37
- white-space: nowrap;
38
- text-overflow: ellipsis;
39
-
40
- &:not(.iui-button) {
41
- @include themed {
42
- color: t(iui-text-color);
43
- }
44
- }
45
- }
46
-
47
- > :any-link {
48
- @include iui-anchor;
49
-
50
- &:focus {
51
- outline-offset: -1px;
52
- }
53
- }
54
-
55
- .iui-button {
56
- &.iui-button {
57
- @include iui-button-borderless;
58
- @include iui-focus;
59
- border: none;
60
- }
61
-
62
- &-label {
63
- overflow: hidden;
64
- white-space: nowrap;
65
- text-overflow: ellipsis;
66
- }
67
-
68
- &:not([aria-current]) {
69
- &,
70
- &:hover,
71
- &:active {
72
- --_iui-button-text-color: var(--iui-color-foreground-primary);
73
- }
74
- }
75
- }
76
- }
77
-
78
- @mixin iui-breadcrumbs-text {
79
- padding: 0 $iui-s;
80
- overflow: hidden;
81
- white-space: nowrap;
82
- text-overflow: ellipsis;
83
-
84
- @at-root a#{&} {
85
- @include iui-anchor;
86
-
87
- &:focus {
88
- outline-offset: -1px;
89
- }
90
- }
91
- }
92
-
93
- @mixin iui-breadcrumbs-button {
94
- @include iui-button;
95
- @include iui-button-borderless;
96
- padding: 0;
97
- border: none;
98
- @include themed {
99
- color: t(iui-color-foreground-primary);
100
- }
101
-
102
- &[aria-current] {
103
- @include themed {
104
- color: t(iui-text-color);
105
- }
106
- }
107
- }
108
-
109
- @mixin iui-breadcrumbs-separator {
110
- display: flex;
111
- margin: 0 $iui-xxs;
112
-
113
- svg {
114
- width: $iui-icons-small;
115
- height: $iui-icons-small;
116
- display: flex; // needed for vertical alignment of webcomponents
117
- @include themed {
118
- fill: t(iui-icons-color);
119
- }
120
- @media (forced-colors: active) {
121
- fill: CanvasText;
122
- }
123
- }
124
- }
@@ -1,31 +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-breadcrumbs {
6
- @include iui-breadcrumbs;
7
- }
8
-
9
- .iui-breadcrumbs-list {
10
- @include iui-breadcrumbs-list;
11
- }
12
-
13
- .iui-breadcrumbs-item {
14
- @include iui-breadcrumbs-item;
15
- }
16
-
17
- .iui-breadcrumbs-item-overrides {
18
- @include iui-breadcrumbs-item-overrides;
19
- }
20
-
21
- .iui-breadcrumbs-text {
22
- @include iui-breadcrumbs-text;
23
- }
24
-
25
- .iui-breadcrumbs-button {
26
- @include iui-breadcrumbs-button;
27
- }
28
-
29
- .iui-breadcrumbs-separator {
30
- @include iui-breadcrumbs-separator;
31
- }
@@ -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 './breadcrumbs';
@@ -1,48 +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 './button';
5
- @import './disabled';
6
- @import './button-icon';
7
-
8
- @mixin iui-button-borderless {
9
- border-color: transparent;
10
- background-color: transparent;
11
-
12
- > .iui-button-icon:only-child {
13
- margin-left: $iui-component-offset;
14
- margin-right: $iui-component-offset;
15
- }
16
- @include iui-button-size(medium, borderless);
17
-
18
- &:hover {
19
- @include themed {
20
- background-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-6));
21
- border-color: transparent;
22
- }
23
- }
24
-
25
- &.iui-active {
26
- @include themed {
27
- background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
28
- color: t(iui-color-foreground-primary);
29
- }
30
- border-color: transparent;
31
- }
32
-
33
- &[disabled],
34
- &:disabled {
35
- @include iui-button-disabled;
36
-
37
- @include themed {
38
- background-color: transparent;
39
- border-color: transparent;
40
- }
41
-
42
- &.iui-active {
43
- @include themed {
44
- background-color: rgba(t(iui-color-foreground-body-rgb), 0.05);
45
- }
46
- }
47
- }
48
- }