@itwin/itwinui-css 0.29.1 → 0.33.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 (39) hide show
  1. package/css/all.css +852 -262
  2. package/css/button.css +12 -0
  3. package/css/color-picker.css +132 -0
  4. package/css/date-picker.css +2 -3
  5. package/css/expandable-block.css +1 -1
  6. package/css/information-panel.css +126 -0
  7. package/css/inputs.css +194 -138
  8. package/css/menu.css +5 -2
  9. package/css/notification-marker.css +218 -0
  10. package/css/side-navigation.css +53 -0
  11. package/css/table.css +2 -2
  12. package/css/time-picker.css +84 -50
  13. package/css/toast-notification.css +3 -37
  14. package/package.json +4 -3
  15. package/scss/button/default.scss +2 -0
  16. package/scss/classes.scss +4 -1
  17. package/scss/color-picker/classes.scss +35 -0
  18. package/scss/color-picker/color-picker.scss +191 -0
  19. package/scss/color-picker/index.scss +3 -0
  20. package/scss/date-picker/date-picker.scss +2 -3
  21. package/scss/index.scss +4 -1
  22. package/scss/information-panel/classes.scss +19 -0
  23. package/scss/information-panel/index.scss +3 -0
  24. package/scss/information-panel/information-panel.scss +189 -0
  25. package/scss/inputs/classes.scss +30 -1
  26. package/scss/inputs/labeled-inputs.scss +215 -119
  27. package/scss/menu/classes.scss +4 -0
  28. package/scss/menu/menu.scss +8 -2
  29. package/scss/notification-marker/classes.scss +9 -0
  30. package/scss/notification-marker/index.scss +3 -0
  31. package/scss/notification-marker/notification-marker.scss +63 -0
  32. package/scss/side-navigation/classes.scss +8 -0
  33. package/scss/side-navigation/side-navigation.scss +55 -0
  34. package/scss/style/mixins.scss +1 -1
  35. package/scss/style/ripple.scss +18 -0
  36. package/scss/table/column-filter.scss +1 -1
  37. package/scss/time-picker/classes.scss +9 -0
  38. package/scss/time-picker/time-picker.scss +37 -36
  39. package/scss/toast-notification/classes.scss +0 -35
@@ -117,3 +117,56 @@
117
117
  @media (prefers-reduced-motion: no-preference){
118
118
  .iui-side-navigation .iui-sidenav-button.iui-expand > .iui-icon{
119
119
  transition:transform 0.4s ease-out; } }
120
+
121
+ .iui-side-navigation-submenu{
122
+ min-width:192px;
123
+ width:384px;
124
+ max-width:50vw;
125
+ height:100%;
126
+ box-sizing:border-box;
127
+ padding:0 12px 11px;
128
+ overflow-x:hidden;
129
+ overflow-y:auto;
130
+ overflow-y:overlay;
131
+ resize:horizontal;
132
+ background-color:#FFF;
133
+ border-right:1px solid #C7CCD1;
134
+ background-color:var(--iui-color-background-1);
135
+ border-right:1px solid var(--iui-color-background-5); }
136
+ .iui-side-navigation-submenu.iui-enter, .iui-side-navigation-submenu.iui-exit-active{
137
+ opacity:0; }
138
+ .iui-side-navigation-submenu.iui-exit, .iui-side-navigation-submenu.iui-enter-active{
139
+ opacity:1; }
140
+ @media (prefers-reduced-motion: no-preference){
141
+ .iui-side-navigation-submenu.iui-enter-active, .iui-side-navigation-submenu.iui-exit-active{
142
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
143
+ .iui-side-navigation-submenu-header{
144
+ height:55px;
145
+ display:flex;
146
+ align-items:center;
147
+ justify-content:space-between; }
148
+ .iui-side-navigation-submenu-header-label{
149
+ margin:0;
150
+ padding:0;
151
+ border:none;
152
+ vertical-align:baseline;
153
+ font-size:24px;
154
+ font-weight:300;
155
+ line-height:33px;
156
+ display:flex;
157
+ align-items:center;
158
+ overflow:hidden; }
159
+ .iui-side-navigation-submenu-header-label .iui-button{
160
+ flex-shrink:0; }
161
+ .iui-side-navigation-submenu-header-label > *{
162
+ white-space:nowrap;
163
+ overflow:hidden;
164
+ text-overflow:ellipsis; }
165
+ .iui-side-navigation-submenu-header-label-actions{
166
+ flex-shrink:0;
167
+ margin-left:8px; }
168
+
169
+ .iui-side-navigation-wrapper{
170
+ display:flex;
171
+ position:relative;
172
+ height:100%; }
package/css/table.css CHANGED
@@ -165,7 +165,7 @@
165
165
  opacity:1; }
166
166
  @media (prefers-reduced-motion: no-preference){
167
167
  .iui-table-body .iui-row.iui-expanded-content.iui-enter-active, .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
168
- transition:opacity 0.2s ease-out, height 0.2s ease-out; } }
168
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
169
169
  .iui-table-body .iui-row:not(.iui-selected) + .iui-selected, .iui-table-body .iui-row.iui-selected:first-child{
170
170
  border-bottom-color:transparent; }
171
171
  .iui-table-body .iui-row.iui-selected{
@@ -381,7 +381,7 @@
381
381
  display:inline-flex;
382
382
  flex-direction:column;
383
383
  align-items:flex-end; }
384
- .iui-column-filter > .iui-input-container:not(.iui-inline){
384
+ .iui-column-filter > .iui-input-container:not(.iui-inline-label){
385
385
  width:100%; }
386
386
  .iui-column-filter > .iui-input-container,
387
387
  .iui-column-filter > .iui-input{
@@ -21,53 +21,87 @@
21
21
  border-left:1px solid var(--iui-color-background-4); }
22
22
  .iui-time-picker:first-child{
23
23
  box-shadow:0 1px 5px rgba(0, 0, 0, 0.25); }
24
- .iui-time-picker > .iui-time,
25
- .iui-time-picker > .iui-period{
26
- padding:11px 8px;
27
- overflow-y:auto; }
28
- .iui-time-picker > .iui-time:not(:first-child),
29
- .iui-time-picker > .iui-period:not(:first-child){
30
- border-left:1px solid #DCE0E3;
31
- border-left:1px solid var(--iui-color-background-4); }
32
- .iui-time-picker > .iui-time > ol,
33
- .iui-time-picker > .iui-period > ol{
34
- margin:0;
35
- padding:0;
36
- border:none;
37
- vertical-align:baseline;
38
- list-style:none; }
39
- .iui-time-picker > .iui-time > ol > li,
40
- .iui-time-picker > .iui-period > ol > li{
41
- padding:11px 16px;
42
- border-radius:3px; }
43
- .iui-time-picker > .iui-time > ol > li:focus,
44
- .iui-time-picker > .iui-period > ol > li:focus{
45
- outline:0;
46
- box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
47
- box-shadow:var(--iui-focus-box-shadow); }
48
- .iui-time-picker > .iui-time > ol > li:focus:not(:focus-visible),
49
- .iui-time-picker > .iui-period > ol > li:focus:not(:focus-visible){
50
- box-shadow:none; }
51
- .iui-time-picker > .iui-time > ol > li:focus-visible,
52
- .iui-time-picker > .iui-period > ol > li:focus-visible{
53
- outline:0;
54
- box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
55
- box-shadow:var(--iui-focus-box-shadow); }
56
- .iui-time-picker > .iui-time > ol > li:hover,
57
- .iui-time-picker > .iui-period > ol > li:hover{
58
- cursor:pointer;
59
- color:#008BE1;
60
- background-color:rgba(0, 139, 225, 0.1);
61
- color:var(--iui-color-foreground-primary);
62
- background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)); }
63
- .iui-time-picker > .iui-time > ol > li.iui-selected,
64
- .iui-time-picker > .iui-period > ol > li.iui-selected{
65
- font-weight:600;
66
- cursor:default;
67
- background-color:#008BE1;
68
- color:#FFF;
69
- background-color:var(--iui-color-background-primary);
70
- color:var(--iui-color-foreground-accessory); }
71
- .iui-time-picker > .iui-period{
72
- display:flex;
73
- align-items:center; }
24
+
25
+ .iui-time{
26
+ padding:11px 8px;
27
+ overflow-y:auto;
28
+ overflow-y:overlay;
29
+ scrollbar-width:none; }
30
+ .iui-time:not(:first-child){
31
+ border-left:1px solid #DCE0E3;
32
+ border-left:1px solid var(--iui-color-background-4); }
33
+ .iui-time > ol{
34
+ margin:0;
35
+ padding:0;
36
+ border:none;
37
+ vertical-align:baseline;
38
+ list-style:none; }
39
+ .iui-time > ol > li{
40
+ padding:6px 16px;
41
+ border-radius:3px; }
42
+ .iui-time > ol > li:focus{
43
+ outline:0;
44
+ box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
45
+ box-shadow:var(--iui-focus-box-shadow); }
46
+ .iui-time > ol > li:focus:not(:focus-visible){
47
+ box-shadow:none; }
48
+ .iui-time > ol > li:focus-visible{
49
+ outline:0;
50
+ box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
51
+ box-shadow:var(--iui-focus-box-shadow); }
52
+ .iui-time > ol > li:hover{
53
+ cursor:pointer;
54
+ color:#008BE1;
55
+ background-color:rgba(0, 139, 225, 0.1);
56
+ color:var(--iui-color-foreground-primary);
57
+ background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)); }
58
+ .iui-time > ol > li.iui-selected{
59
+ font-weight:600;
60
+ cursor:default;
61
+ background-color:#008BE1;
62
+ color:#FFF;
63
+ background-color:var(--iui-color-background-primary);
64
+ color:var(--iui-color-foreground-accessory); }
65
+
66
+ .iui-period{
67
+ padding:11px 8px;
68
+ overflow-y:auto;
69
+ overflow-y:overlay;
70
+ scrollbar-width:none;
71
+ display:flex;
72
+ align-items:center; }
73
+ .iui-period:not(:first-child){
74
+ border-left:1px solid #DCE0E3;
75
+ border-left:1px solid var(--iui-color-background-4); }
76
+ .iui-period > ol{
77
+ margin:0;
78
+ padding:0;
79
+ border:none;
80
+ vertical-align:baseline;
81
+ list-style:none; }
82
+ .iui-period > ol > li{
83
+ padding:6px 16px;
84
+ border-radius:3px; }
85
+ .iui-period > ol > li:focus{
86
+ outline:0;
87
+ box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
88
+ box-shadow:var(--iui-focus-box-shadow); }
89
+ .iui-period > ol > li:focus:not(:focus-visible){
90
+ box-shadow:none; }
91
+ .iui-period > ol > li:focus-visible{
92
+ outline:0;
93
+ box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
94
+ box-shadow:var(--iui-focus-box-shadow); }
95
+ .iui-period > ol > li:hover{
96
+ cursor:pointer;
97
+ color:#008BE1;
98
+ background-color:rgba(0, 139, 225, 0.1);
99
+ color:var(--iui-color-foreground-primary);
100
+ background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)); }
101
+ .iui-period > ol > li.iui-selected{
102
+ font-weight:600;
103
+ cursor:default;
104
+ background-color:#008BE1;
105
+ color:#FFF;
106
+ background-color:var(--iui-color-background-primary);
107
+ color:var(--iui-color-foreground-accessory); }
@@ -20,43 +20,8 @@
20
20
  max-width:640px;
21
21
  margin:22px 0; } }
22
22
  @media (prefers-reduced-motion: no-preference){
23
- @-webkit-keyframes openAnimation{
24
- from{
25
- opacity:0;
26
- transform:translateY(-120%); }
27
- to{
28
- transform:translateY(0); } }
29
- @keyframes openAnimation{
30
- from{
31
- opacity:0;
32
- transform:translateY(-120%); }
33
- to{
34
- transform:translateY(0); } }
35
- @-webkit-keyframes closeAnimation{
36
- from{
37
- transform:scale(1);
38
- opacity:1;
39
- opacity:var(--iui-opacity-1); }
40
- to{
41
- transform:scale(0.9);
42
- opacity:0; } }
43
- @keyframes closeAnimation{
44
- from{
45
- transform:scale(1);
46
- opacity:1;
47
- opacity:var(--iui-opacity-1); }
48
- to{
49
- transform:scale(0.9);
50
- opacity:0; } }
51
23
  .iui-toast-wrapper .iui-toast-all{
52
- transition:all 240ms cubic-bezier(0, 0, 0.2, 1); }
53
- .iui-toast-wrapper .iui-toast-entering,
54
- .iui-toast-wrapper .iui-toast-entered{
55
- -webkit-animation:openAnimation 240ms cubic-bezier(0.175, 0.885, 0.32, 1.175) both;
56
- animation:openAnimation 240ms cubic-bezier(0.175, 0.885, 0.32, 1.175) both; }
57
- .iui-toast-wrapper .iui-toast-exiting{
58
- -webkit-animation:closeAnimation 120ms cubic-bezier(0.4, 0, 1, 1) both;
59
- animation:closeAnimation 120ms cubic-bezier(0.4, 0, 1, 1) both; } }
24
+ transition:all 240ms cubic-bezier(0, 0, 0.2, 1); } }
60
25
  .iui-toast-wrapper.iui-placement-top{
61
26
  margin-left:auto;
62
27
  margin-right:auto;
@@ -112,7 +77,8 @@
112
77
  box-shadow:0 0 0 1px rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-4)), 0 9px 46px rgba(0, 0, 0, 0.25); }
113
78
  .iui-toast > .iui-status-area{
114
79
  display:flex;
115
- align-self:stretch;
80
+ -ms-grid-row-align:stretch;
81
+ align-self:stretch;
116
82
  justify-content:center;
117
83
  align-items:center;
118
84
  width:48px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-css",
3
- "version": "0.29.1",
3
+ "version": "0.33.0",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "src/index.scss",
@@ -44,7 +44,7 @@
44
44
  "build:watch:html": "chokidar \"backstop/tests/**/*\" -c \"yarn build:html\"",
45
45
  "copy-files": "cpx package.json lib && cpx README.md lib",
46
46
  "createComponent": "node ./scripts/createComponent.js",
47
- "postcss-processing": "postcss lib/css --use autoprefixer --use postcss-discard-comments -d lib/css --no-map && yarn print \"Finished post-processing CSS.\"",
47
+ "postcss-processing": "postcss lib/css -d lib/css --no-map && yarn print \"Finished post-processing CSS.\"",
48
48
  "clean": "rimraf ./lib ./backstop/results/bitmaps_test",
49
49
  "lint": "stylelint \"src/**/*.scss\" \"backstop/tests/*.html\"",
50
50
  "lint:copyright": "node scripts/copyrightLinter.js",
@@ -79,6 +79,7 @@
79
79
  "jimp": ">=0.16.1",
80
80
  "trim-newlines": "^3.0.1",
81
81
  "glob-parent": "^5.1.2",
82
- "jpeg-js": "^0.4.3"
82
+ "jpeg-js": "^0.4.3",
83
+ "set-value": "^4.1.0"
83
84
  }
84
85
  }
@@ -2,6 +2,7 @@
2
2
  // See LICENSE.md in the project root for license terms and full copyright notice.
3
3
  @import '../style/index';
4
4
  @import './button';
5
+ @import '../notification-marker/index';
5
6
 
6
7
  @mixin iui-button-default {
7
8
  @include themed {
@@ -24,6 +25,7 @@
24
25
  border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
25
26
  color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
26
27
  }
28
+ @include iui-notification-marker-hover;
27
29
 
28
30
  > .iui-icon {
29
31
  @include themed {
package/scss/classes.scss CHANGED
@@ -8,19 +8,22 @@
8
8
  @import './breadcrumbs/classes';
9
9
  @import './button/classes';
10
10
  @import './code/classes';
11
+ @import './color-picker/classes';
11
12
  @import './date-picker/classes';
12
13
  @import './expandable-block/classes';
13
- @import './file-upload/classes';
14
14
  @import './fieldset/classes';
15
+ @import './file-upload/classes';
15
16
  @import './footer/classes';
16
17
  @import './header/classes';
17
18
  @import './icon/classes';
19
+ @import './information-panel/classes';
18
20
  @import './inputs/classes';
19
21
  @import './keyboard/classes';
20
22
  @import './location-marker/classes';
21
23
  @import './menu/classes';
22
24
  @import './modal/classes';
23
25
  @import './non-ideal-state/classes';
26
+ @import './notification-marker/classes';
24
27
  @import './progress-indicator/classes';
25
28
  @import './side-navigation/classes';
26
29
  @import './slider/classes';
@@ -0,0 +1,35 @@
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-color-picker {
6
+ @include iui-color-picker;
7
+ }
8
+
9
+ .iui-color-palette {
10
+ @include iui-color-palette;
11
+ }
12
+
13
+ .iui-color-swatch {
14
+ @include iui-color-swatch;
15
+ }
16
+
17
+ .iui-saved-colors {
18
+ @include iui-saved-colors;
19
+ }
20
+
21
+ .iui-color-selection-wrapper {
22
+ @include iui-color-selection-wrapper;
23
+ }
24
+
25
+ .iui-color-field {
26
+ @include iui-color-field;
27
+ }
28
+
29
+ .iui-color-slider {
30
+ @include iui-color-slider;
31
+ }
32
+
33
+ .iui-color-dot {
34
+ @include iui-color-dot;
35
+ }
@@ -0,0 +1,191 @@
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 '../menu/index';
5
+ @import '../button/borderless';
6
+
7
+ $iui-color-field-size: $iui-baseline * 19;
8
+ $iui-color-swatch-border-radius: 5px;
9
+ $iui-inset-box-shadow: inset 0 0 0 1px rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
10
+ $iui-active-box-shadow: 0 0 0 $iui-xxs rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-3));
11
+ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
12
+ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-4));
13
+
14
+ @mixin iui-color-picker {
15
+ @include iui-dropdown;
16
+ max-width: ($iui-l * 10) + ($iui-s * 9) + ($iui-sm * 2);
17
+ // max-width: (10 swatches per row) + (gaps) + (container padding)
18
+ max-height: ($iui-l * 10) + ($iui-s * 9) + ($iui-baseline * 2);
19
+ // max-height: (10 rows) + (gaps) + (container padding)
20
+ box-sizing: border-box;
21
+ border-radius: $iui-border-radius;
22
+ display: inline-flex;
23
+ padding: $iui-baseline $iui-sm;
24
+ user-select: none;
25
+ overflow-y: auto;
26
+ @supports (overflow-y: overlay) {
27
+ overflow-y: overlay;
28
+ }
29
+
30
+ &.iui-advanced {
31
+ max-width: ($iui-color-field-size) + ($iui-sm) + ($iui-s) + ($iui-s) + ($iui-sm * 2);
32
+ // max-width: (color field width) + (color slider margins) + (color slider width) + (container padding);
33
+ flex-direction: column;
34
+ }
35
+ }
36
+
37
+ @mixin iui-color-swatch {
38
+ height: $iui-l;
39
+ width: $iui-l;
40
+ cursor: pointer;
41
+ border-radius: $iui-color-swatch-border-radius;
42
+ background-color: var(--swatch-color);
43
+ margin-bottom: $iui-xs;
44
+ margin-right: $iui-xs;
45
+
46
+ @supports (gap: $iui-s) {
47
+ margin-bottom: 0;
48
+ margin-right: 0;
49
+ }
50
+
51
+ @include themed {
52
+ box-shadow: $iui-inset-box-shadow;
53
+ }
54
+
55
+ &:hover {
56
+ @include themed {
57
+ box-shadow: $iui-hover-box-shadow, $iui-inset-box-shadow;
58
+ }
59
+ }
60
+
61
+ &:focus {
62
+ outline: 0;
63
+ @include themed {
64
+ box-shadow: $iui-focus-box-shadow, $iui-inset-box-shadow;
65
+ }
66
+ }
67
+
68
+ &.iui-active {
69
+ @include themed {
70
+ box-shadow: $iui-active-box-shadow, $iui-inset-box-shadow;
71
+ }
72
+
73
+ &:hover {
74
+ @include themed {
75
+ box-shadow: $iui-hover-box-shadow, $iui-inset-box-shadow, $iui-active-box-shadow;
76
+ }
77
+ }
78
+
79
+ &:focus {
80
+ @include themed {
81
+ box-shadow: $iui-focus-box-shadow, $iui-inset-box-shadow, $iui-active-box-shadow;
82
+ }
83
+ }
84
+
85
+ &:focus:not(:focus-visible) {
86
+ @include themed {
87
+ box-shadow: $iui-inset-box-shadow, $iui-active-box-shadow;
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ @mixin iui-color-palette {
94
+ //Contains the color swatches
95
+ display: flex;
96
+ flex-wrap: wrap;
97
+ @supports (gap: $iui-s) {
98
+ gap: $iui-s;
99
+ }
100
+
101
+ button.iui-button.iui-borderless {
102
+ height: $iui-l;
103
+ width: $iui-l;
104
+ padding: 0;
105
+ }
106
+ }
107
+
108
+ @mixin iui-saved-colors {
109
+ margin-top: $iui-baseline;
110
+ margin-bottom: $iui-baseline * 0.5;
111
+ overflow: hidden;
112
+ text-overflow: ellipsis;
113
+ flex-shrink: 0;
114
+ }
115
+
116
+ @mixin iui-color-selection-wrapper {
117
+ display: flex;
118
+ }
119
+
120
+ @mixin iui-color-field {
121
+ position: relative;
122
+ cursor: crosshair;
123
+ width: $iui-color-field-size;
124
+ height: $iui-color-field-size;
125
+
126
+ @include themed {
127
+ background-image: linear-gradient(0deg, rgb(0, 0, 0), transparent),
128
+ linear-gradient(90deg, rgb(255, 255, 255), var(--color));
129
+ }
130
+ }
131
+
132
+ @mixin iui-color-slider {
133
+ margin-left: $iui-sm;
134
+ margin-right: $iui-s;
135
+ position: relative;
136
+ width: $iui-s;
137
+ border-radius: $iui-border-radius;
138
+
139
+ @include themed {
140
+ background: linear-gradient(
141
+ $iui-color-system-red 0%,
142
+ $iui-color-system-yellow 17%,
143
+ rgb(0, 255, 0) 33%,
144
+ rgb(0, 255, 255) 50%,
145
+ $iui-color-system-blue 67%,
146
+ $iui-color-system-magenta 83%,
147
+ $iui-color-system-red 100%
148
+ );
149
+ }
150
+ }
151
+
152
+ @mixin iui-color-dot {
153
+ position: absolute;
154
+ top: var(--top, 0%);
155
+ left: var(--left, 0%);
156
+ width: $iui-m;
157
+ height: $iui-m;
158
+ border-radius: 50%;
159
+ transform: translate(-$iui-s, -$iui-s);
160
+ cursor: grab;
161
+ @include themed {
162
+ box-shadow: rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-1)) 0 0 0 $iui-xxs - 1,
163
+ inset 0 0 0 $iui-xxs - 1 rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-6));
164
+ background-color: var(--selected-color);
165
+ }
166
+
167
+ &:active {
168
+ cursor: grabbing;
169
+ }
170
+
171
+ &.iui-white {
172
+ transform: translate(-4px, -9px);
173
+ @include themed {
174
+ box-shadow: $iui-elevation-2;
175
+ background-color: #FFF;
176
+ }
177
+ }
178
+
179
+ &:hover {
180
+ @include themed {
181
+ box-shadow: $iui-hover-box-shadow;
182
+ }
183
+ }
184
+
185
+ &:focus {
186
+ outline: 0;
187
+ @include themed {
188
+ box-shadow: $iui-focus-box-shadow;
189
+ }
190
+ }
191
+ }
@@ -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 './color-picker';
@@ -89,9 +89,8 @@
89
89
  @include iui-focus;
90
90
  cursor: pointer;
91
91
  display: inline-block;
92
- width: $iui-l;
93
- line-height: $iui-l;
94
- margin: 0 $iui-xs;
92
+ width: $iui-baseline * 3;
93
+ line-height: $iui-baseline * 3;
95
94
 
96
95
  &:hover:not(.iui-selected) {
97
96
  border-radius: $iui-border-radius;
package/scss/index.scss CHANGED
@@ -7,18 +7,21 @@
7
7
  @import './breadcrumbs/index';
8
8
  @import './button/index';
9
9
  @import './code/index';
10
+ @import './color-picker/index';
10
11
  @import './date-picker/index';
11
12
  @import './expandable-block/index';
12
13
  @import './file-upload/index';
13
14
  @import './footer/index';
14
15
  @import './header/index';
15
16
  @import './icon/index';
17
+ @import './information-panel/index';
16
18
  @import './inputs/index';
17
19
  @import './keyboard/index';
18
20
  @import './location-marker/index';
19
21
  @import './menu/index';
20
22
  @import './modal/index';
21
23
  @import './non-ideal-state/index';
24
+ @import './notification-marker/index';
22
25
  @import './progress-indicator/index';
23
26
  @import './side-navigation/index';
24
27
  @import './slider/index';
@@ -27,9 +30,9 @@
27
30
  @import './tag/index';
28
31
  @import './text/index';
29
32
  @import './tile/index';
33
+ @import './time-picker/index';
30
34
  @import './toast-notification/index';
31
35
  @import './toggle-switch/index';
32
36
  @import './tooltip/index';
33
37
  @import './user-icon/index';
34
38
  @import './wizard/index';
35
- @import './time-picker/index';
@@ -0,0 +1,19 @@
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-information-panel-wrapper {
6
+ @include iui-information-panel-wrapper;
7
+ }
8
+
9
+ .iui-information-panel {
10
+ @include iui-information-panel;
11
+
12
+ &.iui-right {
13
+ @include iui-information-panel-right;
14
+ }
15
+
16
+ &.iui-bottom {
17
+ @include iui-information-panel-bottom;
18
+ }
19
+ }
@@ -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 './information-panel';