@itwin/itwinui-css 0.59.2 → 0.62.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/css/alert.css +7 -2
  3. package/css/all.css +730 -271
  4. package/css/anchor.css +1 -1
  5. package/css/backdrop.css +24 -0
  6. package/css/badge.css +1 -1
  7. package/css/blockquote.css +1 -1
  8. package/css/breadcrumbs.css +5 -5
  9. package/css/button.css +13 -13
  10. package/css/carousel.css +2 -2
  11. package/css/code.css +3 -3
  12. package/css/color-picker.css +6 -6
  13. package/css/date-picker.css +6 -6
  14. package/css/dialog.css +64 -97
  15. package/css/expandable-block.css +6 -1
  16. package/css/fieldset.css +2 -2
  17. package/css/file-upload.css +6 -0
  18. package/css/footer.css +1 -1
  19. package/css/global.css +1 -1
  20. package/css/header.css +8 -3
  21. package/css/icon.css +30 -0
  22. package/css/inputs.css +201 -5
  23. package/css/keyboard.css +1 -1
  24. package/css/location-marker.css +1 -1
  25. package/css/menu.css +1 -1
  26. package/css/radio-tile.css +2 -2
  27. package/css/side-navigation.css +5 -0
  28. package/css/slider.css +161 -46
  29. package/css/table.css +1 -1
  30. package/css/tabs.css +31 -27
  31. package/css/tag.css +4 -11
  32. package/css/text.css +1 -1
  33. package/css/tile.css +102 -0
  34. package/css/time-picker.css +2 -2
  35. package/css/toast-notification.css +2 -2
  36. package/css/tooltip.css +1 -1
  37. package/css/tree.css +5 -0
  38. package/package.json +12 -8
  39. package/scss/backdrop/backdrop.scss +27 -0
  40. package/scss/backdrop/classes.scss +7 -0
  41. package/scss/backdrop/index.scss +3 -0
  42. package/scss/classes.scss +1 -0
  43. package/scss/color-picker/color-picker.scss +35 -31
  44. package/scss/dialog/classes.scss +7 -6
  45. package/scss/dialog/dialog.scss +95 -125
  46. package/scss/icon/mixins.scss +3 -0
  47. package/scss/index.scss +1 -0
  48. package/scss/inputs/classes.scss +20 -0
  49. package/scss/inputs/select.scss +66 -0
  50. package/scss/slider/classes.scss +13 -0
  51. package/scss/slider/slider.scss +146 -36
  52. package/scss/style/variables.scss +1 -1
  53. package/scss/tabs/borderless.scss +3 -4
  54. package/scss/tabs/classes.scss +4 -0
  55. package/scss/tabs/default.scss +3 -4
  56. package/scss/tabs/pill.scss +1 -1
  57. package/scss/tabs/tabs.scss +14 -13
  58. package/scss/tag/tag.scss +2 -2
  59. package/scss/tile/classes.scss +12 -0
  60. package/scss/tile/tile.scss +49 -0
  61. package/src/index.scss +1 -0
package/css/tabs.css CHANGED
@@ -19,9 +19,6 @@
19
19
  .iui-tabs-wrapper.iui-horizontal .iui-tab.iui-active::after{
20
20
  height:2px;
21
21
  }
22
- .iui-tabs-wrapper.iui-vertical .iui-tabs{
23
- flex-direction:column;
24
- }
25
22
  .iui-tabs-wrapper.iui-vertical .iui-tabs li,
26
23
  .iui-tabs-wrapper.iui-vertical .iui-tabs .iui-tab{
27
24
  width:100%;
@@ -44,7 +41,6 @@
44
41
  border:none;
45
42
  vertical-align:baseline;
46
43
  position:relative;
47
- align-items:center;
48
44
  list-style:none;
49
45
  -webkit-user-select:none;
50
46
  -moz-user-select:none;
@@ -61,15 +57,13 @@
61
57
  display:flex;
62
58
  align-items:center;
63
59
  font-size:14px;
60
+ min-height:38px;
61
+ height:100%;
64
62
  cursor:pointer;
63
+ transition:background-color 0.2s ease-out;
65
64
  color:rgba(0, 0, 0, 0.8);
66
65
  color:var(--iui-text-color);
67
66
  }
68
- @media (prefers-reduced-motion: no-preference){
69
- .iui-tabs .iui-tab{
70
- transition:background-color 0.2s ease-out;
71
- }
72
- }
73
67
  .iui-tabs .iui-tab.iui-active{
74
68
  color:#008ae0;
75
69
  color:var(--iui-color-foreground-primary);
@@ -104,20 +98,14 @@
104
98
  .iui-tabs .iui-tab-icon{
105
99
  width:16px;
106
100
  height:16px;
101
+ flex-shrink:0;
102
+ transition:fill 0.2s ease-out;
107
103
  fill:rgba(0, 0, 0, 0.8);
108
104
  fill:var(--iui-icons-color-actionable);
109
105
  }
110
- @media (prefers-reduced-motion: no-preference){
111
- .iui-tabs .iui-tab-icon{
112
- transition:fill 0.2s ease-out;
113
- }
114
- }
115
106
  .iui-tabs .iui-tab-icon + .iui-tab-label{
116
107
  margin-left:8px;
117
108
  }
118
- .iui-tabs .iui-tab-label{
119
- text-align:left;
120
- }
121
109
  .iui-tabs .iui-tab-description{
122
110
  display:none;
123
111
  font-size:12px;
@@ -156,8 +144,7 @@
156
144
  background-color:var(--iui-color-foreground-positive);
157
145
  }
158
146
  .iui-tabs.iui-default .iui-tab{
159
- height:38px;
160
- padding:0 16px;
147
+ padding:4px 16px;
161
148
  box-sizing:border-box;
162
149
  background-color:#f9f9fb;
163
150
  border:1px solid #c7ccd1;
@@ -205,10 +192,10 @@
205
192
  }
206
193
 
207
194
  .iui-tabs.iui-default.iui-large .iui-tab{
208
- height:49px;
195
+ min-height:49px;
209
196
  }
210
197
  .iui-tabs.iui-default.iui-large .iui-tab-description{
211
- display:block;
198
+ display:-webkit-box;
212
199
  }
213
200
  .iui-tabs.iui-default.iui-green .iui-tab::after{
214
201
  background-color:#53a21a;
@@ -223,8 +210,7 @@
223
210
  border:1px solid var(--iui-color-background-5);
224
211
  }
225
212
  .iui-tabs.iui-borderless .iui-tab{
226
- height:38px;
227
- padding:0 24px;
213
+ padding:4px 24px;
228
214
  background-color:transparent;
229
215
  }
230
216
  .iui-tabs.iui-borderless .iui-tab::after{
@@ -258,10 +244,10 @@
258
244
  background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-6));
259
245
  }
260
246
  .iui-tabs.iui-borderless.iui-large .iui-tab{
261
- height:49px;
247
+ min-height:49px;
262
248
  }
263
249
  .iui-tabs.iui-borderless.iui-large .iui-tab-description{
264
- display:block;
250
+ display:-webkit-box;
265
251
  }
266
252
  .iui-tabs.iui-borderless .iui-tab[disabled]:hover{
267
253
  background-color:transparent;
@@ -281,11 +267,11 @@
281
267
  background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-6));
282
268
  }
283
269
  .iui-tabs.iui-pill .iui-tab{
284
- height:38px;
270
+ padding:4px;
285
271
  background-color:transparent;
286
272
  width:100%;
287
273
  justify-content:center;
288
- border-radius:3px;
274
+ border-radius:4px;
289
275
  }
290
276
  .iui-tabs.iui-pill .iui-tab::after{
291
277
  bottom:0;
@@ -347,4 +333,22 @@
347
333
  .iui-tabs.iui-not-animated.iui-green .iui-tab::after{
348
334
  background-color:#53a21a;
349
335
  background-color:var(--iui-color-foreground-positive);
336
+ }
337
+
338
+ .iui-tab-label{
339
+ text-align:left;
340
+ max-width:60ch;
341
+ }
342
+ .iui-tab-label > *{
343
+ overflow:hidden;
344
+ white-space:nowrap;
345
+ text-overflow:ellipsis;
346
+ }
347
+ @supports (-webkit-line-clamp: 1){
348
+ .iui-tab-label > *{
349
+ white-space:unset;
350
+ display:-webkit-box;
351
+ -webkit-line-clamp:3;
352
+ -webkit-box-orient:vertical;
353
+ }
350
354
  }
package/css/tag.css CHANGED
@@ -3,17 +3,14 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  .iui-tag{
6
- margin:0;
7
- padding:0;
8
- border:none;
9
- vertical-align:baseline;
10
6
  -webkit-user-select:all;
11
7
  -moz-user-select:all;
12
8
  user-select:all;
13
9
  text-transform:lowercase;
14
10
  display:inline-flex;
15
11
  height:33px;
16
- margin:3px 0;
12
+ margin-top:3px;
13
+ margin-bottom:3px;
17
14
  border-radius:9999px;
18
15
  box-sizing:border-box;
19
16
  padding:0 2px;
@@ -36,10 +33,6 @@
36
33
  }
37
34
 
38
35
  .iui-tag-basic{
39
- margin:0;
40
- padding:0;
41
- border:none;
42
- vertical-align:baseline;
43
36
  -webkit-user-select:all;
44
37
  -moz-user-select:all;
45
38
  user-select:all;
@@ -77,7 +70,7 @@ a.iui-tag-basic{
77
70
  -webkit-tap-highlight-color:rgba(0, 138, 224, 0.2);
78
71
  color:var(--iui-color-foreground-primary);
79
72
  -webkit-tap-highlight-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5));
80
- border-radius:3px;
73
+ border-radius:4px;
81
74
  box-sizing:border-box;
82
75
  cursor:pointer;
83
76
  text-decoration:none;
@@ -163,7 +156,7 @@ a.iui-tag-basic:focus-visible{
163
156
  overflow-x:scroll;
164
157
  }
165
158
  .iui-tag-container.iui-visible{
166
- border-radius:3px;
159
+ border-radius:4px;
167
160
  padding:3px 12px;
168
161
  background-color:#edeff2;
169
162
  background-color:var(--iui-color-background-3);
package/css/text.css CHANGED
@@ -74,7 +74,7 @@
74
74
  -ms-user-select:none;
75
75
  user-select:none;
76
76
  color:transparent;
77
- border-radius:3px;
77
+ border-radius:4px;
78
78
  cursor:progress;
79
79
  background:linear-gradient(292deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
80
80
  background:linear-gradient(292deg, var(--iui-text-color-muted), var(--iui-text-color-muted), var(--iui-text-color-placeholder), var(--iui-text-color-muted), var(--iui-text-color-muted));
package/css/tile.css CHANGED
@@ -102,6 +102,92 @@
102
102
  margin-bottom:0;
103
103
  -webkit-line-clamp:2;
104
104
  }
105
+ .iui-tile.iui-progress{
106
+ cursor:progress;
107
+ font-style:italic;
108
+ }
109
+ .iui-tile[aria-disabled=true]{
110
+ cursor:not-allowed;
111
+ }
112
+ .iui-tile[aria-disabled=true] .iui-tile-name-label{
113
+ color:var(--iui-text-color-muted);
114
+ }
115
+ .iui-tile[aria-disabled=true] .iui-thumbnail-icon,
116
+ .iui-tile[aria-disabled=true] .iui-tile-thumbnail-picture{
117
+ filter:grayscale(100%);
118
+ }
119
+ .iui-tile[aria-disabled=true]:hover .iui-tile-thumbnail-picture, .iui-tile[aria-disabled=true]:focus-within .iui-tile-thumbnail-picture{
120
+ transform:none;
121
+ }
122
+ .iui-tile[aria-disabled=true] .iui-tile-more-options{
123
+ display:none;
124
+ }
125
+ .iui-tile.iui-positive::-moz-selection, .iui-tile.iui-positive *::-moz-selection{
126
+ background-color:rgba(83, 162, 26, 0.2);
127
+ background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-5));
128
+ }
129
+ .iui-tile.iui-positive::selection,
130
+ .iui-tile.iui-positive *::selection{
131
+ background-color:rgba(83, 162, 26, 0.2);
132
+ background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-5));
133
+ }
134
+ .iui-tile.iui-positive .iui-tile-thumbnail{
135
+ box-shadow:0 4px 0 var(--iui-color-foreground-positive);
136
+ }
137
+ .iui-tile.iui-positive.iui-folder .iui-tile-thumbnail{
138
+ box-shadow:4px 0 0 var(--iui-color-foreground-positive);
139
+ }
140
+
141
+ .iui-tile.iui-positive .iui-tile-name-label{
142
+ color:var(--iui-color-foreground-positive);
143
+ }
144
+ .iui-tile.iui-positive .iui-tile-status-icon{
145
+ fill:var(--iui-color-foreground-positive);
146
+ }
147
+ .iui-tile.iui-warning::-moz-selection, .iui-tile.iui-warning *::-moz-selection{
148
+ background-color:rgba(241, 141, 19, 0.2);
149
+ background-color:rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-5));
150
+ }
151
+ .iui-tile.iui-warning::selection,
152
+ .iui-tile.iui-warning *::selection{
153
+ background-color:rgba(241, 141, 19, 0.2);
154
+ background-color:rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-5));
155
+ }
156
+ .iui-tile.iui-warning .iui-tile-thumbnail{
157
+ box-shadow:0 4px 0 var(--iui-color-foreground-warning);
158
+ }
159
+ .iui-tile.iui-warning.iui-folder .iui-tile-thumbnail{
160
+ box-shadow:4px 0 0 var(--iui-color-foreground-warning);
161
+ }
162
+
163
+ .iui-tile.iui-warning .iui-tile-name-label{
164
+ color:var(--iui-color-foreground-warning);
165
+ }
166
+ .iui-tile.iui-warning .iui-tile-status-icon{
167
+ fill:var(--iui-color-foreground-warning);
168
+ }
169
+ .iui-tile.iui-negative::-moz-selection, .iui-tile.iui-negative *::-moz-selection{
170
+ background-color:rgba(209, 10, 10, 0.2);
171
+ background-color:rgba(var(--iui-color-foreground-negative-rgb), var(--iui-opacity-5));
172
+ }
173
+ .iui-tile.iui-negative::selection,
174
+ .iui-tile.iui-negative *::selection{
175
+ background-color:rgba(209, 10, 10, 0.2);
176
+ background-color:rgba(var(--iui-color-foreground-negative-rgb), var(--iui-opacity-5));
177
+ }
178
+ .iui-tile.iui-negative .iui-tile-thumbnail{
179
+ box-shadow:0 4px 0 var(--iui-color-foreground-negative);
180
+ }
181
+ .iui-tile.iui-negative.iui-folder .iui-tile-thumbnail{
182
+ box-shadow:4px 0 0 var(--iui-color-foreground-negative);
183
+ }
184
+
185
+ .iui-tile.iui-negative .iui-tile-name-label{
186
+ color:var(--iui-color-foreground-negative);
187
+ }
188
+ .iui-tile.iui-negative .iui-tile-status-icon{
189
+ fill:var(--iui-color-foreground-negative);
190
+ }
105
191
 
106
192
  .iui-tile-thumbnail-type-indicator{
107
193
  border-color:transparent;
@@ -269,6 +355,11 @@
269
355
  width:64px;
270
356
  height:64px;
271
357
  }
358
+ @media (forced-colors: active){
359
+ .iui-tile-thumbnail .iui-thumbnail-icon{
360
+ fill:CanvasText;
361
+ }
362
+ }
272
363
  .iui-tile-thumbnail .iui-thumbnail-icon.iui-informational{
273
364
  fill:#008ae0;
274
365
  fill:var(--iui-icons-color-primary);
@@ -386,6 +477,11 @@ div.iui-tile-thumbnail-picture{
386
477
  margin-right:8px;
387
478
  flex-shrink:0;
388
479
  }
480
+ @media (forced-colors: active){
481
+ .iui-tile-content .iui-tile-status-icon{
482
+ fill:CanvasText;
483
+ }
484
+ }
389
485
  .iui-tile-content .iui-tile-status-icon.iui-informational{
390
486
  fill:#008ae0;
391
487
  fill:var(--iui-icons-color-primary);
@@ -449,6 +545,12 @@ div.iui-tile-thumbnail-picture{
449
545
  margin-right:8px;
450
546
  flex-shrink:0;
451
547
  }
548
+ @media (forced-colors: active){
549
+ .iui-tile-content .iui-tile-metadata > svg,
550
+ .iui-tile-content .iui-tile-metadata .iui-tile-metadata-icon{
551
+ fill:CanvasText;
552
+ }
553
+ }
452
554
  .iui-tile-content .iui-tile-metadata > svg.iui-informational,
453
555
  .iui-tile-content .iui-tile-metadata .iui-tile-metadata-icon.iui-informational{
454
556
  fill:#008ae0;
@@ -44,7 +44,7 @@
44
44
  }
45
45
  .iui-time > ol > li{
46
46
  padding:6px 16px;
47
- border-radius:3px;
47
+ border-radius:4px;
48
48
  }
49
49
  .iui-time > ol > li:focus-visible{
50
50
  outline:1px solid var(--iui-color-foreground-primary);
@@ -103,7 +103,7 @@
103
103
  }
104
104
  .iui-period > ol > li{
105
105
  padding:6px 16px;
106
- border-radius:3px;
106
+ border-radius:4px;
107
107
  }
108
108
  .iui-period > ol > li:focus-visible{
109
109
  outline:1px solid var(--iui-color-foreground-primary);
@@ -84,7 +84,7 @@
84
84
  pointer-events:all;
85
85
  margin:0 16px 11px 16px;
86
86
  min-height:44px;
87
- border-radius:3px;
87
+ border-radius:4px;
88
88
  background-color:white;
89
89
  border:1px solid black;
90
90
  box-shadow:0 0 0 1px rgba(255, 255, 255, 0.4), 0 9px 46px rgba(0, 0, 0, 0.25);
@@ -124,7 +124,7 @@
124
124
  }
125
125
  .iui-toast-anchor{
126
126
  text-decoration:underline;
127
- border-radius:3px;
127
+ border-radius:4px;
128
128
  cursor:pointer;
129
129
  font-size:12px;
130
130
  margin-right:16px;
package/css/tooltip.css CHANGED
@@ -37,7 +37,7 @@
37
37
  vertical-align:baseline;
38
38
  display:block;
39
39
  text-align:center;
40
- border-radius:3px;
40
+ border-radius:4px;
41
41
  font-size:12px;
42
42
  overflow:hidden;
43
43
  max-width:400px;
package/css/tree.css CHANGED
@@ -70,6 +70,11 @@
70
70
  margin:0 6px;
71
71
  flex-shrink:0;
72
72
  }
73
+ @media (forced-colors: active){
74
+ .iui-tree-node-content-icon{
75
+ fill:CanvasText;
76
+ }
77
+ }
73
78
  .iui-tree-node-content-icon.iui-informational{
74
79
  fill:#008ae0;
75
80
  fill:var(--iui-icons-color-primary);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-css",
3
- "version": "0.59.2",
3
+ "version": "0.62.0",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "src/index.scss",
@@ -29,33 +29,37 @@
29
29
  ],
30
30
  "dependencies": {},
31
31
  "devDependencies": {
32
+ "@itwin/itwinui-icons-elements": "0.2.0",
32
33
  "autoprefixer": "^10.4.1",
33
34
  "backstopjs": "~6.0.4",
34
35
  "html-minifier": "^4.0.0",
36
+ "npm-run-all": "^4.1.5",
35
37
  "postcss": "^8.4.5",
36
38
  "postcss-discard-comments": "^5.0.1",
37
39
  "postcss-scss": "^4.0.3",
38
40
  "sass-embedded": "^1.49.9",
41
+ "serve": "^14.0.1",
39
42
  "stylelint": "^14.2.0",
40
- "stylelint-config-sass-guidelines": "^9.0.1"
43
+ "stylelint-config-sass-guidelines": "^9.0.1",
44
+ "vite": "^3.0.0"
41
45
  },
42
46
  "scripts": {
43
47
  "build": "yarn clean && yarn build:scss && yarn build:css && node ../shared/copyrightLinter.js --fix css/* && yarn build:html",
44
48
  "build:scss": "cpx \"./src/**/*.scss\" ./scss",
45
49
  "build:css": "node ./scripts/generateCss.js src css",
46
- "build:html": "node ./scripts/generateHtml.js backstop/tests backstop/minified",
47
- "build:watch": "yarn build && concurrently -n scss,html -k \"yarn build:watch:scss\" \"yarn build:watch:html\"",
50
+ "build:html": "vite build backstop/tests --config vite.config.ts",
48
51
  "build:watch:scss": "chokidar \"src/**/*\" -c \"yarn build:scss && yarn build:css\"",
49
- "build:watch:html": "chokidar \"backstop/tests/**/*\" -c \"yarn build:html\"",
50
52
  "createComponent": "node ./scripts/createComponent.js",
51
53
  "clean": "rimraf ./css ./scss ./backstop/results/bitmaps_test",
52
- "dev": "yarn build:watch",
54
+ "dev": "concurrently -n scss,html -k \"yarn build:watch:scss\" \"yarn vite backstop/tests --config vite.config.ts\"",
55
+ "preview": "serve backstop/minified -p 3050",
53
56
  "lint": "stylelint \"src/**/*.scss\"",
54
57
  "approve": "backstop --config=./backstop/backstop.js approve",
55
- "test": "backstop --config=./backstop/backstop.js test --docker",
58
+ "test:only": "backstop --config=./backstop/backstop.js test --docker",
59
+ "test": "npm-run-all -p -r \"preview\" \"test:only {1}\" --",
56
60
  "clean:images": "node scripts/removeOldTestImages.js",
57
61
  "print": "node scripts/print.js",
58
62
  "audit:ci": "audit-ci --moderate --report-type=full",
59
- "build-docker": "node scripts/buildDocker.js"
63
+ "push-docker": "node scripts/pushDocker.js"
60
64
  }
61
65
  }
@@ -0,0 +1,27 @@
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
+ }
@@ -0,0 +1,7 @@
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
+ }
@@ -0,0 +1,3 @@
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';
package/scss/classes.scss CHANGED
@@ -5,6 +5,7 @@
5
5
  @import './alert/classes';
6
6
  @import './anchor/classes';
7
7
  @import './badge/classes';
8
+ @import './backdrop/classes';
8
9
  @import './blockquote/classes';
9
10
  @import './breadcrumbs/classes';
10
11
  @import './button/classes';
@@ -183,45 +183,49 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
183
183
  }
184
184
 
185
185
  @mixin iui-hue-slider {
186
- .iui-slider-rail {
187
- height: $iui-s;
188
- forced-color-adjust: none;
189
- @include themed {
190
- background: linear-gradient(
191
- to right,
192
- $iui-color-system-red 0%,
193
- $iui-color-system-yellow 17%,
194
- rgb(0, 255, 0) 33%,
195
- rgb(0, 255, 255) 50%,
196
- $iui-color-system-blue 67%,
197
- $iui-color-system-magenta 83%,
198
- $iui-color-system-red 100%
199
- );
186
+ .iui-slider-container {
187
+ .iui-slider-rail {
188
+ height: $iui-s;
189
+ forced-color-adjust: none;
190
+ @include themed {
191
+ background: linear-gradient(
192
+ to right,
193
+ $iui-color-system-red 0%,
194
+ $iui-color-system-yellow 17%,
195
+ rgb(0, 255, 0) 33%,
196
+ rgb(0, 255, 255) 50%,
197
+ $iui-color-system-blue 67%,
198
+ $iui-color-system-magenta 83%,
199
+ $iui-color-system-red 100%
200
+ );
201
+ }
200
202
  }
201
- }
202
203
 
203
- .iui-slider-thumb {
204
- top: 7px;
204
+ .iui-slider-thumb {
205
+ top: 7px;
206
+ }
205
207
  }
206
208
  }
207
209
 
208
210
  @mixin iui-opacity-slider {
209
- .iui-slider-rail {
210
- height: $iui-s;
211
- forced-color-adjust: none;
212
- @include iui-transparent-background($size: $iui-s);
213
-
214
- &::before {
215
- display: block;
216
- content: '';
217
- width: 100%;
218
- height: 100%;
219
- background-image: linear-gradient(to right, transparent 0%, var(--iui-color-picker-selected-color) 100%);
211
+ .iui-slider-container {
212
+ .iui-slider-rail {
213
+ height: $iui-s;
214
+ forced-color-adjust: none;
215
+ @include iui-transparent-background($size: $iui-s);
216
+
217
+ &::before {
218
+ display: block;
219
+ content: '';
220
+ width: 100%;
221
+ height: 100%;
222
+ background-image: linear-gradient(to right, transparent 0%, var(--iui-color-picker-selected-color) 100%);
223
+ }
220
224
  }
221
- }
222
225
 
223
- .iui-slider-thumb {
224
- top: 7px;
226
+ .iui-slider-thumb {
227
+ top: 7px;
228
+ }
225
229
  }
226
230
  }
227
231
 
@@ -2,12 +2,8 @@
2
2
  // See LICENSE.md in the project root for license terms and full copyright notice.
3
3
  @import './index';
4
4
 
5
- .iui-dialog-backdrop {
6
- @include iui-dialog-backdrop;
7
-
8
- &.iui-dialog-backdrop-relative {
9
- @include iui-dialog-backdrop-relative;
10
- }
5
+ .iui-dialog-wrapper {
6
+ @include iui-dialog-wrapper;
11
7
  }
12
8
 
13
9
  .iui-dialog {
@@ -16,6 +12,7 @@
16
12
 
17
13
  .iui-dialog-default {
18
14
  @include iui-dialog-default;
15
+ @include iui-dialog-placement;
19
16
  }
20
17
 
21
18
  .iui-dialog-full-page {
@@ -34,6 +31,10 @@
34
31
  @include iui-dialog-title-bar;
35
32
  }
36
33
 
34
+ .iui-dialog-title-bar-filled {
35
+ @include iui-dialog-title-bar-filled;
36
+ }
37
+
37
38
  .iui-dialog-content {
38
39
  @include iui-dialog-content;
39
40
  }