@itwin/itwinui-css 1.0.0-dev.0 → 1.0.0-dev.3

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 (245) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/css/alert.css +81 -92
  3. package/css/all.css +2079 -2678
  4. package/css/anchor.css +3 -3
  5. package/css/avatar.css +46 -46
  6. package/css/backdrop.css +6 -4
  7. package/css/badge.css +8 -8
  8. package/css/blockquote.css +6 -6
  9. package/css/breadcrumbs.css +63 -52
  10. package/css/button.css +113 -135
  11. package/css/carousel.css +17 -15
  12. package/css/checkbox.css +24 -21
  13. package/css/code.css +15 -14
  14. package/css/color-picker.css +41 -44
  15. package/css/date-picker.css +59 -88
  16. package/css/dialog.css +28 -26
  17. package/css/expandable-block.css +36 -57
  18. package/css/fieldset.css +7 -7
  19. package/css/file-upload.css +20 -28
  20. package/css/footer.css +35 -35
  21. package/css/global.css +50 -617
  22. package/css/header.css +58 -51
  23. package/css/information-panel.css +38 -32
  24. package/css/input.css +64 -56
  25. package/css/keyboard.css +6 -10
  26. package/css/location-marker.css +32 -18
  27. package/css/menu.css +41 -27
  28. package/css/non-ideal-state.css +12 -12
  29. package/css/progress-indicator.css +37 -35
  30. package/css/radio-tile.css +39 -38
  31. package/css/radio.css +24 -21
  32. package/css/select.css +89 -80
  33. package/css/side-navigation.css +34 -38
  34. package/css/skip-to-content.css +11 -11
  35. package/css/slider.css +155 -55
  36. package/css/stepper.css +17 -17
  37. package/css/surface.css +2 -2
  38. package/css/table.css +152 -134
  39. package/css/tabs.css +61 -47
  40. package/css/tag.css +24 -25
  41. package/css/text.css +24 -24
  42. package/css/tile.css +145 -154
  43. package/css/time-picker.css +16 -14
  44. package/css/toast.css +49 -47
  45. package/css/toggle-switch.css +26 -26
  46. package/css/tooltip.css +6 -10
  47. package/css/tree.css +30 -35
  48. package/css/utils.css +228 -154
  49. package/css/workflow-diagram.css +8 -8
  50. package/package.json +8 -11
  51. package/css/icon.css +0 -117
  52. package/css/textarea.css +0 -96
  53. package/scss/alert/alert.scss +0 -89
  54. package/scss/alert/classes.scss +0 -33
  55. package/scss/alert/index.scss +0 -3
  56. package/scss/anchor/anchor.scss +0 -78
  57. package/scss/anchor/classes.scss +0 -11
  58. package/scss/anchor/index.scss +0 -3
  59. package/scss/avatar/avatar-sizes.scss +0 -23
  60. package/scss/avatar/avatar.scss +0 -215
  61. package/scss/avatar/classes.scss +0 -27
  62. package/scss/avatar/index.scss +0 -3
  63. package/scss/backdrop/backdrop.scss +0 -27
  64. package/scss/backdrop/classes.scss +0 -7
  65. package/scss/backdrop/index.scss +0 -3
  66. package/scss/badge/badge.scss +0 -34
  67. package/scss/badge/classes.scss +0 -7
  68. package/scss/badge/index.scss +0 -3
  69. package/scss/blockquote/blockquote.scss +0 -26
  70. package/scss/blockquote/classes.scss +0 -7
  71. package/scss/blockquote/index.scss +0 -3
  72. package/scss/breadcrumbs/breadcrumbs.scss +0 -119
  73. package/scss/breadcrumbs/classes.scss +0 -31
  74. package/scss/breadcrumbs/index.scss +0 -3
  75. package/scss/button/borderless.scss +0 -36
  76. package/scss/button/button-group.scss +0 -118
  77. package/scss/button/button.scss +0 -119
  78. package/scss/button/classes.scss +0 -80
  79. package/scss/button/default.scss +0 -51
  80. package/scss/button/idea.scss +0 -12
  81. package/scss/button/index.scss +0 -9
  82. package/scss/button/split-button.scss +0 -45
  83. package/scss/button/variant.scss +0 -44
  84. package/scss/carousel/carousel.scss +0 -113
  85. package/scss/carousel/classes.scss +0 -15
  86. package/scss/carousel/index.scss +0 -3
  87. package/scss/checkbox/checkbox.scss +0 -154
  88. package/scss/checkbox/classes.scss +0 -7
  89. package/scss/checkbox/index.scss +0 -3
  90. package/scss/classes.scss +0 -52
  91. package/scss/code/classes.scss +0 -11
  92. package/scss/code/code.scss +0 -16
  93. package/scss/code/codeblock.scss +0 -59
  94. package/scss/code/index.scss +0 -4
  95. package/scss/color-picker/classes.scss +0 -43
  96. package/scss/color-picker/color-picker.scss +0 -241
  97. package/scss/color-picker/index.scss +0 -3
  98. package/scss/date-picker/classes.scss +0 -47
  99. package/scss/date-picker/date-picker.scss +0 -246
  100. package/scss/date-picker/index.scss +0 -3
  101. package/scss/dialog/classes.scss +0 -48
  102. package/scss/dialog/dialog.scss +0 -178
  103. package/scss/dialog/index.scss +0 -3
  104. package/scss/expandable-block/block.scss +0 -165
  105. package/scss/expandable-block/classes.scss +0 -7
  106. package/scss/expandable-block/index.scss +0 -3
  107. package/scss/fieldset/classes.scss +0 -7
  108. package/scss/fieldset/fieldset.scss +0 -29
  109. package/scss/fieldset/index.scss +0 -3
  110. package/scss/file-upload/classes.scss +0 -7
  111. package/scss/file-upload/file-upload.scss +0 -80
  112. package/scss/file-upload/index.scss +0 -3
  113. package/scss/footer/classes.scss +0 -7
  114. package/scss/footer/footer.scss +0 -55
  115. package/scss/footer/index.scss +0 -3
  116. package/scss/header/classes.scss +0 -79
  117. package/scss/header/header-buttons.scss +0 -316
  118. package/scss/header/header.scss +0 -75
  119. package/scss/header/index.scss +0 -4
  120. package/scss/icon/classes.scss +0 -27
  121. package/scss/icon/icon.scss +0 -65
  122. package/scss/icon/index.scss +0 -3
  123. package/scss/index.scss +0 -50
  124. package/scss/information-panel/classes.scss +0 -27
  125. package/scss/information-panel/index.scss +0 -3
  126. package/scss/information-panel/information-panel.scss +0 -215
  127. package/scss/input/classes.scss +0 -15
  128. package/scss/input/index.scss +0 -4
  129. package/scss/input/input-with-icon.scss +0 -37
  130. package/scss/input/input.scss +0 -70
  131. package/scss/keyboard/classes.scss +0 -7
  132. package/scss/keyboard/index.scss +0 -3
  133. package/scss/keyboard/keyboard.scss +0 -29
  134. package/scss/location-marker/classes.scss +0 -15
  135. package/scss/location-marker/data-rich.scss +0 -49
  136. package/scss/location-marker/default.scss +0 -19
  137. package/scss/location-marker/index.scss +0 -6
  138. package/scss/location-marker/location-marker.scss +0 -11
  139. package/scss/location-marker/me.scss +0 -29
  140. package/scss/menu/classes.scss +0 -21
  141. package/scss/menu/index.scss +0 -3
  142. package/scss/menu/menu.scss +0 -185
  143. package/scss/non-ideal-state/classes.scss +0 -7
  144. package/scss/non-ideal-state/index.scss +0 -3
  145. package/scss/non-ideal-state/non-ideal-state.scss +0 -56
  146. package/scss/progress-indicator/classes.scss +0 -31
  147. package/scss/progress-indicator/index.scss +0 -5
  148. package/scss/progress-indicator/linear.scss +0 -108
  149. package/scss/progress-indicator/overlay.scss +0 -51
  150. package/scss/progress-indicator/radial.scss +0 -155
  151. package/scss/radio/classes.scss +0 -7
  152. package/scss/radio/index.scss +0 -3
  153. package/scss/radio/radio.scss +0 -18
  154. package/scss/radio-tile/classes.scss +0 -31
  155. package/scss/radio-tile/index.scss +0 -3
  156. package/scss/radio-tile/radio-tile.scss +0 -167
  157. package/scss/select/classes.scss +0 -27
  158. package/scss/select/index.scss +0 -3
  159. package/scss/select/select.scss +0 -124
  160. package/scss/side-navigation/classes.scss +0 -15
  161. package/scss/side-navigation/index.scss +0 -3
  162. package/scss/side-navigation/side-navigation.scss +0 -202
  163. package/scss/skip-to-content/classes.scss +0 -7
  164. package/scss/skip-to-content/index.scss +0 -3
  165. package/scss/skip-to-content/skip-to-content.scss +0 -40
  166. package/scss/slider/classes.scss +0 -27
  167. package/scss/slider/index.scss +0 -3
  168. package/scss/slider/slider.scss +0 -135
  169. package/scss/stepper/classes.scss +0 -32
  170. package/scss/stepper/index.scss +0 -3
  171. package/scss/stepper/stepper.scss +0 -151
  172. package/scss/style/baseline.scss +0 -4
  173. package/scss/style/color.scss +0 -39
  174. package/scss/style/elevation.scss +0 -11
  175. package/scss/style/global-variables.scss +0 -23
  176. package/scss/style/global.scss +0 -69
  177. package/scss/style/icon-sizes.scss +0 -14
  178. package/scss/style/index.scss +0 -11
  179. package/scss/style/space.scss +0 -11
  180. package/scss/style/speed.scss +0 -8
  181. package/scss/style/theme.scss +0 -443
  182. package/scss/style/typography.scss +0 -55
  183. package/scss/surface/classes.scss +0 -7
  184. package/scss/surface/index.scss +0 -3
  185. package/scss/surface/surface.scss +0 -17
  186. package/scss/table/classes.scss +0 -64
  187. package/scss/table/column-filter.scss +0 -34
  188. package/scss/table/index.scss +0 -6
  189. package/scss/table/paginator.scss +0 -79
  190. package/scss/table/sizes.scss +0 -31
  191. package/scss/table/table-densities.scss +0 -11
  192. package/scss/table/table.scss +0 -482
  193. package/scss/tabs/borderless.scss +0 -59
  194. package/scss/tabs/classes.scss +0 -44
  195. package/scss/tabs/default.scss +0 -89
  196. package/scss/tabs/index.scss +0 -6
  197. package/scss/tabs/pill.scss +0 -38
  198. package/scss/tabs/tabs.scss +0 -192
  199. package/scss/tag/classes.scss +0 -30
  200. package/scss/tag/index.scss +0 -3
  201. package/scss/tag/tag.scss +0 -89
  202. package/scss/text/classes.scss +0 -40
  203. package/scss/text/index.scss +0 -5
  204. package/scss/text/mixins.scss +0 -43
  205. package/scss/text/muted.scss +0 -7
  206. package/scss/text/skeleton.scss +0 -43
  207. package/scss/textarea/classes.scss +0 -7
  208. package/scss/textarea/index.scss +0 -3
  209. package/scss/textarea/textarea.scss +0 -15
  210. package/scss/tile/classes.scss +0 -51
  211. package/scss/tile/index.scss +0 -3
  212. package/scss/tile/tile.scss +0 -340
  213. package/scss/time-picker/classes.scss +0 -16
  214. package/scss/time-picker/index.scss +0 -3
  215. package/scss/time-picker/time-picker.scss +0 -63
  216. package/scss/toast/categories.scss +0 -22
  217. package/scss/toast/classes.scss +0 -98
  218. package/scss/toast/index.scss +0 -4
  219. package/scss/toast/toast.scss +0 -70
  220. package/scss/toggle-switch/classes.scss +0 -11
  221. package/scss/toggle-switch/index.scss +0 -3
  222. package/scss/toggle-switch/toggle-switch.scss +0 -203
  223. package/scss/tooltip/classes.scss +0 -24
  224. package/scss/tooltip/index.scss +0 -3
  225. package/scss/tooltip/tooltip.scss +0 -40
  226. package/scss/tree/classes.scss +0 -19
  227. package/scss/tree/index.scss +0 -3
  228. package/scss/tree/tree.scss +0 -126
  229. package/scss/utils/classes.scss +0 -6
  230. package/scss/utils/index.scss +0 -6
  231. package/scss/utils/input-container/classes.scss +0 -39
  232. package/scss/utils/input-container/index.scss +0 -3
  233. package/scss/utils/input-container/input-container.scss +0 -285
  234. package/scss/utils/mixins.scss +0 -171
  235. package/scss/utils/notification-marker/classes.scss +0 -9
  236. package/scss/utils/notification-marker/index.scss +0 -3
  237. package/scss/utils/notification-marker/notification-marker.scss +0 -55
  238. package/scss/utils/popover/classes.scss +0 -7
  239. package/scss/utils/popover/index.scss +0 -3
  240. package/scss/utils/popover/popover.scss +0 -21
  241. package/scss/variables.scss +0 -3
  242. package/scss/workflow-diagram/classes.scss +0 -15
  243. package/scss/workflow-diagram/index.scss +0 -3
  244. package/scss/workflow-diagram/workflow-diagram.scss +0 -64
  245. package/src/index.scss +0 -50
@@ -1,65 +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
- fill: var(--iui-icons-color);
49
-
50
- &.iui-informational {
51
- fill: var(--iui-icons-color-primary);
52
- }
53
-
54
- &.iui-positive {
55
- fill: var(--iui-icons-color-positive);
56
- }
57
-
58
- &.iui-warning {
59
- fill: var(--iui-icons-color-warning);
60
- }
61
-
62
- &.iui-negative {
63
- fill: var(--iui-icons-color-negative);
64
- }
65
- }
@@ -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 './icon';
package/scss/index.scss DELETED
@@ -1,50 +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 './avatar/index';
7
- @import './badge/index';
8
- @import './backdrop/index';
9
- @import './blockquote/index';
10
- @import './breadcrumbs/index';
11
- @import './button/index';
12
- @import './carousel/index';
13
- @import './checkbox/index';
14
- @import './code/index';
15
- @import './color-picker/index';
16
- @import './date-picker/index';
17
- @import './dialog/index';
18
- @import './expandable-block/index';
19
- @import './file-upload/index';
20
- @import './footer/index';
21
- @import './header/index';
22
- @import './icon/index';
23
- @import './information-panel/index';
24
- @import './input/index';
25
- @import './keyboard/index';
26
- @import './location-marker/index';
27
- @import './menu/index';
28
- @import './non-ideal-state/index';
29
- @import './progress-indicator/index';
30
- @import './radio/index';
31
- @import './radio-tile/index';
32
- @import './select/index';
33
- @import './side-navigation/index';
34
- @import './skip-to-content/index';
35
- @import './slider/index';
36
- @import './stepper/index';
37
- @import './surface/index';
38
- @import './table/index';
39
- @import './tabs/index';
40
- @import './tag/index';
41
- @import './text/index';
42
- @import './textarea/index';
43
- @import './tile/index';
44
- @import './time-picker/index';
45
- @import './toast/index';
46
- @import './toggle-switch/index';
47
- @import './tooltip/index';
48
- @import './tree/index';
49
- @import './utils/index';
50
- @import './workflow-diagram/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,215 +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 '../utils/index';
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
- max-width: 100%;
18
- max-height: 100%;
19
- background-color: var(--iui-color-background-1);
20
- @media (prefers-reduced-motion: no-preference) {
21
- transition: visibility $iui-speed-instant $iui-speed-fast ease-in, transform $iui-speed-fast ease-out,
22
- opacity $iui-speed-fast ease;
23
- }
24
-
25
- > .iui-resizer {
26
- display: none;
27
- position: absolute;
28
- touch-action: none;
29
-
30
- > .iui-resizer-bar {
31
- background-color: var(--iui-color-background-border);
32
- }
33
-
34
- &:hover > .iui-resizer-bar {
35
- background-color: var(--iui-color-foreground-primary);
36
- }
37
- }
38
-
39
- .iui-information-header,
40
- .iui-information-body {
41
- padding-left: $iui-sm;
42
- padding-right: $iui-sm;
43
- }
44
-
45
- .iui-information-header {
46
- height: $iui-baseline * 5;
47
- flex-shrink: 0;
48
- display: flex;
49
- align-items: center;
50
- justify-content: space-between;
51
- background-color: var(--iui-color-background-3);
52
-
53
- .iui-information-header-label {
54
- display: flex;
55
- align-items: center;
56
- overflow: hidden;
57
-
58
- > * {
59
- white-space: nowrap;
60
- overflow: hidden;
61
- text-overflow: ellipsis;
62
- user-select: all;
63
- }
64
-
65
- svg {
66
- display: flex;
67
- width: $iui-icons-large;
68
- height: $iui-icons-large;
69
- margin-right: $iui-s;
70
- flex-shrink: 0;
71
- fill: var(--iui-icons-color);
72
- }
73
- }
74
-
75
- .iui-information-header-actions {
76
- flex-shrink: 0;
77
- margin-left: $iui-s;
78
- }
79
- }
80
-
81
- .iui-information-body {
82
- padding-top: $iui-baseline;
83
- padding-bottom: $iui-baseline;
84
- height: 100%;
85
- overflow-x: hidden;
86
- overflow-y: auto;
87
- overflow-y: overlay;
88
-
89
- > hr {
90
- border-color: var(--iui-color-background-border);
91
- }
92
- }
93
- }
94
-
95
- @mixin iui-information-panel-visible {
96
- opacity: 1;
97
- visibility: visible;
98
- transform: translate(0);
99
-
100
- @media (prefers-reduced-motion: no-preference) {
101
- transition: transform $iui-speed-fast ease-out, opacity $iui-speed-fast ease;
102
- }
103
-
104
- > .iui-resizer {
105
- display: flex;
106
- }
107
- }
108
-
109
- @mixin iui-information-panel-vertical {
110
- top: 0;
111
- right: 0;
112
- width: $iui-3xl * 4;
113
- min-width: $iui-3xl * 2;
114
- height: 100%;
115
-
116
- > .iui-resizer {
117
- height: 100%;
118
- width: $iui-m;
119
- top: 0;
120
- cursor: ew-resize;
121
- justify-content: center;
122
-
123
- > .iui-resizer-bar {
124
- height: 100%;
125
- width: 1px;
126
- @media (prefers-reduced-motion: no-preference) {
127
- transition: background-color $iui-speed-fast ease-out, width $iui-speed-fast ease-out;
128
- }
129
- }
130
-
131
- &:hover > .iui-resizer-bar {
132
- width: $iui-xs;
133
- }
134
- }
135
- }
136
-
137
- @mixin iui-information-panel-horizontal {
138
- left: 0;
139
- bottom: 0;
140
- height: $iui-3xl * 4;
141
- min-height: $iui-3xl * 2;
142
- width: 100%;
143
-
144
- > .iui-resizer {
145
- width: 100%;
146
- height: $iui-m;
147
- left: 0;
148
- cursor: ns-resize;
149
- align-items: center;
150
-
151
- > .iui-resizer-bar {
152
- width: 100%;
153
- height: 1px;
154
- @media (prefers-reduced-motion: no-preference) {
155
- transition: background-color $iui-speed-fast ease-out, height $iui-speed-fast ease-out;
156
- }
157
- }
158
-
159
- &:hover > .iui-resizer-bar {
160
- height: $iui-xs;
161
- }
162
- }
163
- }
164
-
165
- @mixin iui-information-panel-right {
166
- @include iui-information-panel-vertical;
167
- transform: translateX(100%); // hide off screen
168
- box-shadow: -1px 0 10px $iui-elevation-color;
169
- clip-path: inset(0 0 0 -15px); // show box-shadow only on the left
170
-
171
- > .iui-resizer {
172
- left: $iui-m * -0.5;
173
- }
174
- }
175
-
176
- @mixin iui-information-panel-bottom {
177
- @include iui-information-panel-horizontal;
178
- transform: translateY(100%); // hide off screen
179
- box-shadow: 0 -1px 10px $iui-elevation-color;
180
- clip-path: inset(-15px 0 0 0); // show box-shadow only on top
181
-
182
- > .iui-resizer {
183
- top: $iui-m * -0.5;
184
- }
185
- }
186
-
187
- /// Labels and inputs aligned using css grid
188
- @mixin iui-information-body-content {
189
- display: grid;
190
-
191
- .iui-input-label {
192
- font-weight: $iui-font-weight-normal;
193
- color: var(--iui-text-color-muted);
194
- }
195
-
196
- &:not(.iui-inline) {
197
- // add bottom margin between pairs of label+input
198
- > *:nth-child(even):not(:last-child) {
199
- margin-bottom: $iui-baseline;
200
- }
201
- }
202
-
203
- &.iui-inline {
204
- row-gap: $iui-baseline;
205
- grid-template-columns: auto 1fr;
206
- align-items: center;
207
-
208
- .iui-input-label {
209
- @include iui-input-label-inline;
210
- // right align labels
211
- justify-self: end;
212
- text-align: end;
213
- }
214
- }
215
- }
@@ -1,15 +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 {
6
- @include iui-input;
7
- }
8
-
9
- .iui-input-with-icon.iui-input-with-icon {
10
- @include iui-input-with-icon;
11
- }
12
-
13
- .iui-end-icon {
14
- @include iui-end-icon;
15
- }
@@ -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 './input';
4
- @import './input-with-icon';
@@ -1,37 +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 '../utils/index';
5
-
6
- // Mixin to have inputs combined with icon (eg. select)
7
- @mixin iui-input-with-icon {
8
- display: grid;
9
- align-items: center;
10
- cursor: pointer;
11
-
12
- > :first-child {
13
- grid-area: 1 / -1;
14
- padding-right: $iui-icons-default + $iui-l;
15
- }
16
-
17
- &:focus-within {
18
- > :first-child {
19
- // --_focus-color can be used to control this from outside
20
- outline: 2px solid var(--_focus-color, var(--iui-color-foreground-primary));
21
- outline-offset: -2px;
22
- }
23
- }
24
-
25
- &:hover {
26
- > :first-child {
27
- // --_hover-color can be used to control this from outside
28
- border-color: var(--_hover-color, rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2)));
29
- }
30
- }
31
- }
32
-
33
- @mixin iui-end-icon {
34
- @include iui-input-icon-inline;
35
- display: flex;
36
- grid-area: 1 / -1;
37
- }
@@ -1,70 +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 '../utils/index';
5
-
6
- @mixin iui-input {
7
- @include iui-reset;
8
- @include iui-focus($offset: -2px, $thickness: 2px);
9
- width: 100%;
10
- font-family: inherit;
11
- font-size: $iui-font-size;
12
- font-weight: $iui-font-weight-normal;
13
- line-height: $iui-line-height;
14
- border-radius: $iui-border-radius;
15
- appearance: none;
16
- padding: $iui-component-padding-vertical $iui-component-padding-horizontal;
17
- min-height: $iui-component-height;
18
- color: var(--iui-text-color);
19
- background-color: var(--iui-color-background-1);
20
- border: 1px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
21
- @media (prefers-reduced-motion: no-preference) {
22
- transition: border-color $iui-speed-fast ease-out;
23
- }
24
-
25
- &.iui-small {
26
- padding-top: $iui-component-padding-vertical-small;
27
- padding-bottom: $iui-component-padding-vertical-small;
28
- min-height: $iui-component-height-small;
29
- }
30
-
31
- &.iui-large {
32
- padding-top: $iui-component-padding-vertical-large;
33
- padding-bottom: $iui-component-padding-vertical-large;
34
- min-height: $iui-component-height-large;
35
- font-size: $iui-font-size-leading;
36
- }
37
-
38
- &::placeholder {
39
- user-select: none;
40
- color: var(--iui-text-color-placeholder);
41
- }
42
-
43
- &:autofill {
44
- @include iui-input-autofill;
45
- }
46
-
47
- &:hover {
48
- border-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
49
- @media (prefers-reduced-motion: no-preference) {
50
- transition: border-color $iui-speed-fast ease-out;
51
- }
52
- }
53
-
54
- &[disabled] {
55
- background-color: var(--iui-color-background-disabled);
56
- border-color: var(--iui-color-background-disabled);
57
- cursor: not-allowed;
58
- --_hover-color: var(--iui-color-background-disabled);
59
- }
60
- }
61
-
62
- @mixin iui-input-autofill {
63
- border-color: rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-1));
64
- color: rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-1));
65
- background: linear-gradient(
66
- rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)),
67
- rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6))
68
- ),
69
- linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
70
- }
@@ -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-keyboard {
6
- @include iui-keyboard;
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 './keyboard';
@@ -1,29 +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 '../utils/index';
5
-
6
- @mixin iui-keyboard {
7
- @include iui-reset;
8
- border-radius: $iui-border-radius;
9
- display: inline-block;
10
- font-size: $iui-font-size-small;
11
- font-weight: $iui-font-weight-semibold;
12
- font-family: $iui-monospace;
13
- line-height: 1;
14
- padding: round($iui-baseline * 0.33) $iui-s;
15
- white-space: nowrap;
16
- text-transform: uppercase;
17
- user-select: none;
18
- cursor: default;
19
- background-color: var(--iui-color-background-1);
20
- border: 1px solid var(--iui-color-background-5);
21
- box-shadow: 0 1px 1px var(--iui-color-background-5), 0 1px 0 0 rgba(255, 255, 255, var(--iui-opacity-5)) inset;
22
- @media (prefers-reduced-motion: no-preference) {
23
- transition: box-shadow $iui-speed-fast ease-out;
24
- }
25
-
26
- &:hover {
27
- box-shadow: 0 0 0 var(--iui-color-background-5), 0 0 0 0 rgba(255, 255, 255, var(--iui-opacity-5)) inset;
28
- }
29
- }
@@ -1,15 +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-location-marker-default {
6
- @include iui-location-marker-default;
7
- }
8
-
9
- .iui-location-marker-data-rich {
10
- @include iui-location-marker-data-rich;
11
- }
12
-
13
- .iui-location-marker-me {
14
- @include iui-location-marker-me;
15
- }
@@ -1,49 +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 './location-marker';
5
-
6
- @mixin iui-location-marker-data-rich {
7
- @include iui-location-marker;
8
- cursor: pointer;
9
-
10
- > .iui-location-marker-data-rich-body {
11
- min-width: $iui-icons-xl;
12
- border-radius: $iui-border-radius;
13
- text-align: center;
14
- font-size: $iui-font-size-leading;
15
- padding: round($iui-baseline * 0.25) $iui-s;
16
- filter: drop-shadow($iui-elevation-2);
17
- position: relative;
18
- border: solid 1px var(--iui-color-foreground-accessory);
19
- background-color: var(--iui-color-foreground-accessory);
20
- color: var(--iui-color-foreground-accessory);
21
-
22
- &::before {
23
- content: '';
24
- position: absolute;
25
- display: block;
26
- width: 0;
27
- height: 0;
28
- bottom: -9px;
29
- left: 0;
30
- right: 0;
31
- margin: auto;
32
- border-width: $iui-xs;
33
- border-style: solid;
34
- border-color: var(--iui-color-foreground-accessory) transparent transparent transparent;
35
- }
36
-
37
- > .iui-location-marker-data-rich-icon {
38
- display: inline-block;
39
- width: $iui-icons-default;
40
- height: $iui-icons-default;
41
- font-size: inherit;
42
- vertical-align: -2px;
43
-
44
- &.iui-location-marker-data-rich-icon-monochrome {
45
- fill: var(--iui-color-foreground-accessory);
46
- }
47
- }
48
- }
49
- }
@@ -1,19 +0,0 @@
1
- // Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2
- // See LICENSE.md in the project root for license terms and full copyright notice.
3
- @import '../style/index';
4
- @import './location-marker';
5
-
6
- @mixin iui-location-marker-default {
7
- @include iui-location-marker;
8
- width: $iui-icons-large;
9
- height: $iui-icons-large;
10
- cursor: pointer;
11
-
12
- > .iui-location-marker-default-pin {
13
- filter: drop-shadow($iui-elevation-2);
14
-
15
- > .iui-location-marker-default-pin-dot {
16
- fill: var(--iui-color-foreground-accessory);
17
- }
18
- }
19
- }
@@ -1,6 +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 './location-marker';
4
- @import './default';
5
- @import './data-rich';
6
- @import './me';
@@ -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 '../utils/index';
4
-
5
- @mixin iui-location-marker {
6
- @include iui-reset;
7
-
8
- display: inline-block;
9
- user-select: none;
10
- position: relative;
11
- }
@@ -1,29 +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 './location-marker';
5
-
6
- @mixin iui-location-marker-me {
7
- @include iui-location-marker;
8
- position: relative;
9
- width: $iui-icons-large;
10
- height: $iui-icons-large;
11
- border-radius: 50%;
12
- cursor: default;
13
- background: radial-gradient(
14
- circle at center,
15
- rgba(var(--iui-color-foreground-primary-rgb), 0),
16
- rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5))
17
- );
18
-
19
- > .iui-location-marker-me-dot {
20
- width: $iui-icons-large * 0.5;
21
- height: $iui-icons-large * 0.5;
22
- position: absolute;
23
- top: $iui-icons-large * 0.25;
24
- left: $iui-icons-large * 0.25;
25
- border-radius: 50%;
26
- border: 1px solid var(--iui-color-foreground-accessory);
27
- background-color: var(--iui-color-background-primary);
28
- }
29
- }