@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
@@ -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-icons-default {
6
- @include iui-icons-default;
7
- }
8
-
9
- .iui-icons-small {
10
- @include iui-icons-small;
11
- }
12
-
13
- .iui-icons-large {
14
- @include iui-icons-large;
15
- }
16
-
17
- .iui-icons-xl {
18
- @include iui-icons-xl;
19
- }
20
-
21
- .iui-icons-xxl {
22
- @include iui-icons-xxl;
23
- }
24
-
25
- .iui-icons-3xl {
26
- @include iui-icons-3xl;
27
- }
@@ -1,4 +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 './variables';
4
- @import './mixins';
@@ -1,78 +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-icons-default {
6
- @include iui-icons-color();
7
- display: inline-flex;
8
- width: $iui-icons-default;
9
- height: $iui-icons-default;
10
- }
11
-
12
- @mixin iui-icons-small {
13
- @include iui-icons-color();
14
- display: inline-flex;
15
- width: $iui-icons-small;
16
- height: $iui-icons-small;
17
- }
18
-
19
- @mixin iui-icons-large {
20
- @include iui-icons-color();
21
- display: inline-flex;
22
- width: $iui-icons-large;
23
- height: $iui-icons-large;
24
- }
25
-
26
- @mixin iui-icons-xl {
27
- @include iui-icons-color();
28
- display: inline-flex;
29
- width: $iui-icons-xl;
30
- height: $iui-icons-xl;
31
- }
32
-
33
- @mixin iui-icons-xxl {
34
- @include iui-icons-color();
35
- display: inline-flex;
36
- width: $iui-icons-xxl;
37
- height: $iui-icons-xxl;
38
- }
39
-
40
- @mixin iui-icons-3xl {
41
- @include iui-icons-color();
42
- display: inline-flex;
43
- width: $iui-icons-3xl;
44
- height: $iui-icons-3xl;
45
- }
46
-
47
- @mixin iui-icons-color {
48
- @include themed {
49
- fill: t(iui-icons-color);
50
- }
51
- @media (forced-colors: active) {
52
- fill: CanvasText;
53
- }
54
-
55
- &.iui-informational {
56
- @include themed {
57
- fill: t(iui-icons-color-primary);
58
- }
59
- }
60
-
61
- &.iui-positive {
62
- @include themed {
63
- fill: t(iui-icons-color-positive);
64
- }
65
- }
66
-
67
- &.iui-warning {
68
- @include themed {
69
- fill: t(iui-icons-color-warning);
70
- }
71
- }
72
-
73
- &.iui-negative {
74
- @include themed {
75
- fill: t(iui-icons-color-negative);
76
- }
77
- }
78
- }
@@ -1,14 +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
-
4
- /// Sizes
5
-
6
- $iui-icons-default: 16px;
7
-
8
- $iui-icons-small: 0.75 * $iui-icons-default; // 12px
9
- $iui-icons-large: 1.5 * $iui-icons-default; // 24px
10
- $iui-icons-xl: 2 * $iui-icons-default; // 32px
11
- $iui-icons-xxl: 3 * $iui-icons-default; // 48px
12
- $iui-icons-3xl: 4 * $iui-icons-default; // 64px
13
-
14
- $iui-icons-color-multicolor-disabled: grayscale(100%);
package/scss/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';
@@ -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-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
-
20
- &.iui-visible {
21
- @include iui-information-panel-visible;
22
- }
23
- }
24
-
25
- .iui-information-body-content {
26
- @include iui-information-body-content;
27
- }
@@ -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 './information-panel';
@@ -1,233 +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 '../inputs/labeled-inputs';
5
-
6
- @mixin iui-information-panel-wrapper {
7
- position: relative;
8
- overflow: hidden;
9
- }
10
-
11
- @mixin iui-information-panel {
12
- position: absolute;
13
- opacity: 0;
14
- visibility: hidden;
15
- display: flex;
16
- flex-direction: column;
17
- box-sizing: border-box;
18
- max-width: 100%;
19
- max-height: 100%;
20
- z-index: 2; // Needs to be higher than table's column resizers.
21
- @media (prefers-reduced-motion: no-preference) {
22
- transition: visibility $iui-speed-instant $iui-speed-fast ease-in, transform $iui-speed-fast ease-out,
23
- opacity $iui-speed-fast ease;
24
- }
25
-
26
- @include themed {
27
- background-color: t(iui-color-background-1);
28
- }
29
-
30
- > .iui-resizer {
31
- display: none;
32
- position: absolute;
33
- touch-action: none;
34
-
35
- > .iui-resizer-bar {
36
- @include themed {
37
- background-color: t(iui-color-background-border);
38
- }
39
- }
40
-
41
- &:hover > .iui-resizer-bar {
42
- @include themed {
43
- background-color: t(iui-color-foreground-primary);
44
- }
45
- }
46
- }
47
-
48
- .iui-information-header,
49
- .iui-information-body {
50
- padding-left: $iui-sm;
51
- padding-right: $iui-sm;
52
- box-sizing: border-box;
53
- }
54
-
55
- .iui-information-header {
56
- height: $iui-baseline * 5;
57
- flex-shrink: 0;
58
- display: flex;
59
- align-items: center;
60
- justify-content: space-between;
61
- @include themed {
62
- background-color: t(iui-color-background-3);
63
- }
64
-
65
- .iui-information-header-label {
66
- display: flex;
67
- align-items: center;
68
- overflow: hidden;
69
-
70
- > * {
71
- white-space: nowrap;
72
- overflow: hidden;
73
- text-overflow: ellipsis;
74
- user-select: all;
75
- }
76
-
77
- svg {
78
- display: flex;
79
- width: $iui-icons-large;
80
- height: $iui-icons-large;
81
- margin-right: $iui-s;
82
- flex-shrink: 0;
83
- @include themed {
84
- fill: t(iui-icons-color);
85
- }
86
- }
87
- }
88
-
89
- .iui-information-header-actions {
90
- flex-shrink: 0;
91
- margin-left: $iui-s;
92
- }
93
- }
94
-
95
- .iui-information-body {
96
- padding-top: $iui-baseline;
97
- padding-bottom: $iui-baseline;
98
- height: 100%;
99
- overflow-x: hidden;
100
- overflow-y: auto;
101
- overflow-y: overlay;
102
-
103
- > hr {
104
- @include themed {
105
- border-color: t(iui-color-background-border);
106
- }
107
- }
108
- }
109
- }
110
-
111
- @mixin iui-information-panel-visible {
112
- opacity: 1;
113
- visibility: visible;
114
- transform: translate(0);
115
-
116
- @media (prefers-reduced-motion: no-preference) {
117
- transition: transform $iui-speed-fast ease-out, opacity $iui-speed-fast ease;
118
- }
119
-
120
- > .iui-resizer {
121
- display: flex;
122
- }
123
- }
124
-
125
- @mixin iui-information-panel-vertical {
126
- top: 0;
127
- right: 0;
128
- width: $iui-3xl * 4;
129
- min-width: $iui-3xl * 2;
130
- height: 100%;
131
-
132
- > .iui-resizer {
133
- height: 100%;
134
- width: $iui-m;
135
- top: 0;
136
- cursor: ew-resize;
137
- justify-content: center;
138
-
139
- > .iui-resizer-bar {
140
- height: 100%;
141
- width: 1px;
142
- @media (prefers-reduced-motion: no-preference) {
143
- transition: background-color $iui-speed-fast ease-out, width $iui-speed-fast ease-out;
144
- }
145
- }
146
-
147
- &:hover > .iui-resizer-bar {
148
- width: $iui-xs;
149
- }
150
- }
151
- }
152
-
153
- @mixin iui-information-panel-horizontal {
154
- left: 0;
155
- bottom: 0;
156
- height: $iui-3xl * 4;
157
- min-height: $iui-3xl * 2;
158
- width: 100%;
159
-
160
- > .iui-resizer {
161
- width: 100%;
162
- height: $iui-m;
163
- left: 0;
164
- cursor: ns-resize;
165
- align-items: center;
166
-
167
- > .iui-resizer-bar {
168
- width: 100%;
169
- height: 1px;
170
- @media (prefers-reduced-motion: no-preference) {
171
- transition: background-color $iui-speed-fast ease-out, height $iui-speed-fast ease-out;
172
- }
173
- }
174
-
175
- &:hover > .iui-resizer-bar {
176
- height: $iui-xs;
177
- }
178
- }
179
- }
180
-
181
- @mixin iui-information-panel-right {
182
- @include iui-information-panel-vertical;
183
- transform: translateX(100%); // hide off screen
184
- box-shadow: -1px 0 10px $iui-elevation-color;
185
- clip-path: inset(0 0 0 -15px); // show box-shadow only on the left
186
-
187
- > .iui-resizer {
188
- left: $iui-m * -0.5;
189
- }
190
- }
191
-
192
- @mixin iui-information-panel-bottom {
193
- @include iui-information-panel-horizontal;
194
- transform: translateY(100%); // hide off screen
195
- box-shadow: 0 -1px 10px $iui-elevation-color;
196
- clip-path: inset(-15px 0 0 0); // show box-shadow only on top
197
-
198
- > .iui-resizer {
199
- top: $iui-m * -0.5;
200
- }
201
- }
202
-
203
- /// Labels and inputs aligned using css grid
204
- @mixin iui-information-body-content {
205
- display: grid;
206
-
207
- .iui-input-label {
208
- font-weight: $iui-font-weight-normal;
209
- @include themed {
210
- color: t(iui-text-color-muted);
211
- }
212
- }
213
-
214
- &:not(.iui-inline) {
215
- // add bottom margin between pairs of label+input
216
- > *:nth-child(even):not(:last-child) {
217
- margin-bottom: $iui-baseline;
218
- }
219
- }
220
-
221
- &.iui-inline {
222
- row-gap: $iui-baseline;
223
- grid-template-columns: auto 1fr;
224
- align-items: center;
225
-
226
- .iui-input-label {
227
- @include iui-input-label-inline;
228
- // right align labels
229
- justify-self: end;
230
- text-align: end;
231
- }
232
- }
233
- }
@@ -1,73 +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-inputs-checkbox-radio {
6
- @include iui-reset;
7
- display: flex;
8
- align-items: center;
9
- font-size: $iui-font-size;
10
- width: fit-content;
11
- user-select: none;
12
- position: relative;
13
- cursor: pointer;
14
- @include themed {
15
- color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
16
- }
17
-
18
- gap: $iui-s;
19
-
20
- // #region flex gap fallback
21
- > * + * {
22
- margin-left: $iui-s;
23
- @supports (gap: $iui-s) {
24
- margin-left: 0;
25
- }
26
- }
27
- // #endregion
28
-
29
- &.iui-loading {
30
- cursor: wait;
31
- color: var(--iui-text-color-muted);
32
- }
33
-
34
- > .iui-checkbox-label,
35
- > .iui-radio-label {
36
- display: flex;
37
- align-items: center;
38
-
39
- svg {
40
- width: $iui-icons-default;
41
- height: $iui-icons-default;
42
- vertical-align: middle;
43
- fill: currentColor;
44
- }
45
- }
46
-
47
- &.iui-disabled {
48
- cursor: not-allowed;
49
- color: var(--iui-text-color-muted);
50
-
51
- svg {
52
- fill: var(--iui-icons-color-actionable-disabled);
53
- }
54
- }
55
-
56
- &.iui-positive {
57
- @include themed {
58
- color: t(iui-color-foreground-positive);
59
- }
60
- }
61
-
62
- &.iui-warning {
63
- @include themed {
64
- color: t(iui-color-foreground-warning);
65
- }
66
- }
67
-
68
- &.iui-negative {
69
- @include themed {
70
- color: t(iui-color-foreground-negative);
71
- }
72
- }
73
- }
@@ -1,106 +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 '../icon/index';
5
-
6
- @mixin iui-checkbox {
7
- &-wrapper {
8
- @include iui-inputs-checkbox-radio;
9
- }
10
-
11
- --_iui-checkbox-checkmark-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.5 12.5-4.5-4.5 1.5-1.5 3 3 6-6 1.5 1.5z" /></svg>');
12
- --_iui-checkbox-indeterminate-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.75 6.875h10.5v2.25h-10.5z" /></svg>');
13
- --_iui-checkbox-unchecked-svg: url('data:image/svg+xml;utf8,<svg viewBox="0 0 16 16"></svg>');
14
-
15
- --_iui-checkbox-svg-color: var(--iui-color-foreground-primary);
16
- --_iui-checkbox-border-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
17
- --_iui-checkbox-background-color: var(--iui-color-background-1);
18
- --_iui-checkbox-mask-image: initial;
19
-
20
- appearance: none; // disable default browser styles
21
- margin: 0;
22
- width: $iui-icons-default;
23
- height: $iui-icons-default;
24
- position: relative;
25
- border-radius: $iui-border-radius;
26
- background-color: var(--_iui-checkbox-background-color);
27
- flex-shrink: 0;
28
- cursor: pointer;
29
-
30
- &::before {
31
- content: '';
32
- position: absolute;
33
- inset: 0;
34
- transition: border-color $iui-speed-fast ease-out;
35
- border-radius: inherit;
36
- border-style: solid;
37
- border-width: 1px;
38
- border-color: var(--_iui-checkbox-border-color);
39
- }
40
-
41
- &::after {
42
- content: '';
43
- position: absolute;
44
- inset: 0;
45
- background-color: var(--_iui-checkbox-svg-color);
46
- mask: var(--_iui-checkbox-mask-image) no-repeat center;
47
- }
48
-
49
- &:not(:checked) {
50
- --_iui-checkbox-mask-image: var(--_iui-checkbox-unchecked-svg);
51
- }
52
-
53
- &:checked {
54
- --_iui-checkbox-border-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-3));
55
- --_iui-checkbox-mask-image: var(--_iui-checkbox-checkmark-svg);
56
- }
57
-
58
- &:indeterminate {
59
- --_iui-checkbox-border-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-3));
60
- --_iui-checkbox-mask-image: var(--_iui-checkbox-indeterminate-svg);
61
- }
62
-
63
- &:hover {
64
- --_iui-checkbox-border-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
65
- }
66
-
67
- @include iui-focus($thickness: 2px);
68
-
69
- &:disabled {
70
- --_iui-checkbox-svg-color: var(--iui-icons-color-actionable-disabled);
71
- --_iui-checkbox-border-color: var(--iui-color-background-border);
72
- --_iui-checkbox-background-color: var(--iui-color-background-disabled);
73
- cursor: not-allowed;
74
- }
75
-
76
- &.iui-checkbox-visibility {
77
- --_iui-checkbox-checkmark-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 2.99051a8.81883 8.81883 0 0 0 -8 4.95062 8.74664 8.74664 0 0 0 8 5.06836 8.63266 8.63266 0 0 0 8-5.06836 8.83631 8.83631 0 0 0 -8-4.95062zm-1.31445 1.86981a1.47663 1.47663 0 1 1 -1.47663 1.47668 1.47665 1.47665 0 0 1 1.47663-1.47668zm1.31445 6.64917a7.17486 7.17486 0 0 1 -6.30475-3.55237 7.4952 7.4952 0 0 1 2.81475-2.6336 3.83956 3.83956 0 1 0 6.98126.00244 7.522 7.522 0 0 1 2.81774 2.63916 7.09785 7.09785 0 0 1 -6.309 3.54437z" /></svg>');
78
- --_iui-checkbox-indeterminate-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 3v7.9a4.01179 4.01179 0 0 0 4-4 6.7509 6.7509 0 0 0 -.2-1.4l.1.1a6.89429 6.89429 0 0 1 2.4 2.4 8.39088 8.39088 0 0 1 -2.3 2.3 6.89412 6.89412 0 0 1 -3.9 1.2c-.03345 0-.06653-.00677-.1-.0072v1.5072a8.90686 8.90686 0 0 0 8-5 8.90686 8.90686 0 0 0 -8-5z" opacity=".33" /><path d="m8 0a1 1 0 0 0 -1 1v2.07135a8.91637 8.91637 0 0 0 -7 4.92865 8.91637 8.91637 0 0 0 7 4.92865v2.07135a1 1 0 0 0 2 0v-14a1 1 0 0 0 -1-1zm-1.5 4.9a1.55426 1.55426 0 0 1 .5.087v2.81451a1.40746 1.40746 0 0 1 -.5.09849 1.538 1.538 0 0 1 -1.5-1.5 1.53794 1.53794 0 0 1 1.5-1.5zm-2.3 5.4a6.97279 6.97279 0 0 1 -2.5-2.3 6.89429 6.89429 0 0 1 2.4-2.4c.1 0 .1-.1.2-.1a3.194 3.194 0 0 0 -.3 1.4 4.0047 4.0047 0 0 0 3 3.857v.65289a6.37491 6.37491 0 0 1 -2.8-1.10989z" /></svg>');
79
- --_iui-checkbox-unchecked-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m1.70671 12.879 11.17218-11.17219 1.4142 1.4142-11.17218 11.17218zm.99329-1.679 1.1-1.1a5.06317 5.06317 0 0 1 -2-2.1 7.48268 7.48268 0 0 1 6.2-3.5 4.86877 4.86877 0 0 1 1.2.1l1.3-1.3a10.07431 10.07431 0 0 0 -2.5-.3 8.84129 8.84129 0 0 0 -8 5 8.42455 8.42455 0 0 0 2.7 3.2zm10.7-6.4-1.1 1.1a7.08625 7.08625 0 0 1 2 2.1 7.50323 7.50323 0 0 1 -6.2 3.5 8.31665 8.31665 0 0 1 -1.3-.2l-1.3 1.3a8.909 8.909 0 0 0 6.4-.5 9.04344 9.04344 0 0 0 4.1-4.1 9.168 9.168 0 0 0 -2.6-3.2z" /></svg>');
80
-
81
- --_iui-checkbox-border-color: transparent;
82
- --_iui-checkbox-background-color: transparent;
83
-
84
- &:where(:not(:checked):not(:indeterminate)) {
85
- --_iui-checkbox-svg-color: var(--iui-icons-color-actionable);
86
- }
87
-
88
- &:where(:hover) {
89
- --_iui-checkbox-border-color: transparent;
90
- --_iui-checkbox-background-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
91
- }
92
-
93
- &:where(:disabled) {
94
- --_iui-checkbox-svg-color: var(--iui-icons-color-actionable-disabled);
95
- --_iui-checkbox-background-color: var(--iui-color-background-disabled);
96
- }
97
- }
98
-
99
- &.iui-loading {
100
- --_iui-checkbox-border-color: transparent;
101
- --_iui-checkbox-background-color: transparent;
102
- opacity: 0;
103
- position: absolute;
104
- cursor: wait;
105
- }
106
- }
@@ -1,87 +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-input-container {
6
- @include iui-input-container;
7
-
8
- > .iui-label {
9
- @include iui-input-container-label;
10
- }
11
-
12
- .iui-input-icon {
13
- @include iui-input-icon;
14
- }
15
-
16
- .iui-message {
17
- @include iui-input-message;
18
- }
19
-
20
- &.iui-inline-icon > .iui-input-icon {
21
- @include iui-input-icon-inline;
22
- }
23
-
24
- &.iui-inline-label {
25
- > .iui-label {
26
- @include iui-input-label-inline;
27
- }
28
- }
29
-
30
- @each $status in positive, negative, warning {
31
- &.iui-#{$status} {
32
- @include iui-input-status($status: $status);
33
- }
34
- }
35
- }
36
-
37
- .iui-input-label {
38
- @include iui-input-label;
39
- }
40
-
41
- .iui-input {
42
- @include iui-input;
43
- }
44
-
45
- .iui-select-button {
46
- @include iui-select-button;
47
- }
48
-
49
- .iui-select-tag-container {
50
- @include iui-select-tag-container;
51
- }
52
-
53
- .iui-select-tag {
54
- @include iui-select-tag;
55
- }
56
-
57
- .iui-select-tag-label {
58
- @include iui-select-tag-label;
59
- }
60
-
61
- .iui-select-tag-button {
62
- @include iui-select-tag-button;
63
- }
64
-
65
- .iui-select-tag-button-icon {
66
- @include iui-select-tag-button-icon;
67
- }
68
-
69
- .iui-textarea {
70
- @include iui-textarea;
71
- }
72
-
73
- .iui-input-with-icon {
74
- @include iui-input-with-icon;
75
- }
76
-
77
- .iui-end-icon {
78
- @include iui-end-icon;
79
- }
80
-
81
- .iui-checkbox {
82
- @include iui-checkbox;
83
- }
84
-
85
- .iui-radio {
86
- @include iui-radio;
87
- }