@itwin/core-react 5.0.0-dev.2 → 5.0.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 (158) hide show
  1. package/CHANGELOG.md +49 -1
  2. package/lib/cjs/core-react/_geometry.scss +70 -0
  3. package/lib/cjs/core-react/_helpers.scss +54 -0
  4. package/lib/cjs/core-react/_math.scss +13 -0
  5. package/lib/cjs/core-react/_scrollbar.scss +57 -0
  6. package/lib/cjs/core-react/_typography.scss +44 -0
  7. package/lib/cjs/core-react/_z-index.scss +51 -0
  8. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +79 -0
  9. package/lib/cjs/core-react/badge/DeprecatedBadge.scss +11 -0
  10. package/lib/cjs/core-react/badge/NewBadge.scss +12 -0
  11. package/lib/cjs/core-react/badge/TechnicalPreviewBadge.scss +11 -0
  12. package/lib/cjs/core-react/base/base.scss +44 -0
  13. package/lib/cjs/core-react/base/classes.scss +27 -0
  14. package/lib/cjs/core-react/base/index.scss +5 -0
  15. package/lib/cjs/core-react/button/UnderlinedButton.scss +29 -0
  16. package/lib/cjs/core-react/checklistbox/CheckListBox.scss +22 -0
  17. package/lib/cjs/core-react/classes.scss +9 -0
  18. package/lib/cjs/core-react/colorthemes.scss +12 -0
  19. package/lib/cjs/core-react/colorvariables.scss +139 -0
  20. package/lib/cjs/core-react/contextmenu/ContextMenu.scss +226 -0
  21. package/lib/cjs/core-react/contextmenu/PopupContextMenu.scss +8 -0
  22. package/lib/cjs/core-react/dialog/Dialog.scss +57 -0
  23. package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +93 -0
  24. package/lib/cjs/core-react/icons/IconComponent.scss +19 -0
  25. package/lib/cjs/core-react/icons/SvgPath.scss +15 -0
  26. package/lib/cjs/core-react/icons/WebFontIcon.scss +15 -0
  27. package/lib/cjs/core-react/icons/classes.scss +18 -0
  28. package/lib/cjs/core-react/icons/index.scss +6 -0
  29. package/lib/cjs/core-react/icons/mixins.scss +27 -0
  30. package/lib/cjs/core-react/icons/variables.scss +12 -0
  31. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
  32. package/lib/cjs/core-react/index.scss +18 -0
  33. package/lib/cjs/core-react/inputs/classes.scss +12 -0
  34. package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +33 -0
  35. package/lib/cjs/core-react/inputs/index.scss +9 -0
  36. package/lib/cjs/core-react/inputs/input-label.scss +95 -0
  37. package/lib/cjs/core-react/inputs/input.scss +56 -0
  38. package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +88 -0
  39. package/lib/cjs/core-react/inputs/variables.scss +41 -0
  40. package/lib/cjs/core-react/layout-variables.scss +15 -0
  41. package/lib/cjs/core-react/listbox/Listbox.scss +54 -0
  42. package/lib/cjs/core-react/loading/LoadingBar.scss +27 -0
  43. package/lib/cjs/core-react/loading/LoadingPrompt.scss +29 -0
  44. package/lib/cjs/core-react/loading/LoadingSpinner.scss +24 -0
  45. package/lib/cjs/core-react/loading/LoadingStatus.scss +20 -0
  46. package/lib/cjs/core-react/loading/index.scss +5 -0
  47. package/lib/cjs/core-react/loading/mixins.scss +57 -0
  48. package/lib/cjs/core-react/messagebox/MessageBox.scss +52 -0
  49. package/lib/cjs/core-react/popup/Popup.scss +239 -0
  50. package/lib/cjs/core-react/radialmenu/RadialMenu.scss +55 -0
  51. package/lib/cjs/core-react/searchbox/SearchBox.scss +45 -0
  52. package/lib/cjs/core-react/settings/SettingsContainer.scss +65 -0
  53. package/lib/cjs/core-react/style/baseline.scss +11 -0
  54. package/lib/cjs/core-react/style/breakpoints.scss +59 -0
  55. package/lib/cjs/core-react/style/colors.scss +77 -0
  56. package/lib/cjs/core-react/style/index.scss +10 -0
  57. package/lib/cjs/core-react/style/mixins.scss +23 -0
  58. package/lib/cjs/core-react/style/opacity.scss +16 -0
  59. package/lib/cjs/core-react/style/themecolors.scss +133 -0
  60. package/lib/cjs/core-react/tabs/classes.scss +9 -0
  61. package/lib/cjs/core-react/tabs/index.scss +5 -0
  62. package/lib/cjs/core-react/tabs/tabs.scss +99 -0
  63. package/lib/cjs/core-react/tabs/vertical.scss +53 -0
  64. package/lib/cjs/core-react/text/FilteredText.scss +8 -0
  65. package/lib/cjs/core-react/text/block.scss +15 -0
  66. package/lib/cjs/core-react/text/body.scss +13 -0
  67. package/lib/cjs/core-react/text/classes.scss +18 -0
  68. package/lib/cjs/core-react/text/disabled.scss +7 -0
  69. package/lib/cjs/core-react/text/index.scss +10 -0
  70. package/lib/cjs/core-react/text/mixins.scss +26 -0
  71. package/lib/cjs/core-react/text/muted.scss +7 -0
  72. package/lib/cjs/core-react/tree/Branch.scss +13 -0
  73. package/lib/cjs/core-react/tree/ExpansionToggle.scss +32 -0
  74. package/lib/cjs/core-react/tree/Node.scss +68 -0
  75. package/lib/cjs/core-react/tree/Placeholder.scss +17 -0
  76. package/lib/cjs/core-react/tree/Tree.scss +22 -0
  77. package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -1
  78. package/lib/core-react/messagebox/MessageBox.js +41 -29
  79. package/lib/core-react/messagebox/MessageBox.js.map +1 -1
  80. package/lib/core-react/messagebox/MessageBox.scss +3 -6
  81. package/lib/core-react/popup/Popup.js +6 -6
  82. package/lib/core-react/popup/Popup.js.map +1 -1
  83. package/lib/esm/core-react/_geometry.scss +70 -0
  84. package/lib/esm/core-react/_helpers.scss +54 -0
  85. package/lib/esm/core-react/_math.scss +13 -0
  86. package/lib/esm/core-react/_scrollbar.scss +57 -0
  87. package/lib/esm/core-react/_typography.scss +44 -0
  88. package/lib/esm/core-react/_z-index.scss +51 -0
  89. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +79 -0
  90. package/lib/esm/core-react/badge/DeprecatedBadge.scss +11 -0
  91. package/lib/esm/core-react/badge/NewBadge.scss +12 -0
  92. package/lib/esm/core-react/badge/TechnicalPreviewBadge.scss +11 -0
  93. package/lib/esm/core-react/base/base.scss +44 -0
  94. package/lib/esm/core-react/base/classes.scss +27 -0
  95. package/lib/esm/core-react/base/index.scss +5 -0
  96. package/lib/esm/core-react/button/UnderlinedButton.scss +29 -0
  97. package/lib/esm/core-react/checklistbox/CheckListBox.scss +22 -0
  98. package/lib/esm/core-react/classes.scss +9 -0
  99. package/lib/esm/core-react/colorthemes.scss +12 -0
  100. package/lib/esm/core-react/colorvariables.scss +139 -0
  101. package/lib/esm/core-react/contextmenu/ContextMenu.scss +226 -0
  102. package/lib/esm/core-react/contextmenu/PopupContextMenu.scss +8 -0
  103. package/lib/esm/core-react/dialog/Dialog.scss +57 -0
  104. package/lib/esm/core-react/elementseparator/ElementSeparator.scss +93 -0
  105. package/lib/esm/core-react/icons/IconComponent.scss +19 -0
  106. package/lib/esm/core-react/icons/SvgPath.scss +15 -0
  107. package/lib/esm/core-react/icons/WebFontIcon.scss +15 -0
  108. package/lib/esm/core-react/icons/classes.scss +18 -0
  109. package/lib/esm/core-react/icons/index.scss +6 -0
  110. package/lib/esm/core-react/icons/mixins.scss +27 -0
  111. package/lib/esm/core-react/icons/variables.scss +12 -0
  112. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
  113. package/lib/esm/core-react/index.scss +18 -0
  114. package/lib/esm/core-react/inputs/classes.scss +12 -0
  115. package/lib/esm/core-react/inputs/iconinput/IconInput.scss +33 -0
  116. package/lib/esm/core-react/inputs/index.scss +9 -0
  117. package/lib/esm/core-react/inputs/input-label.scss +95 -0
  118. package/lib/esm/core-react/inputs/input.scss +56 -0
  119. package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +88 -0
  120. package/lib/esm/core-react/inputs/variables.scss +41 -0
  121. package/lib/esm/core-react/layout-variables.scss +15 -0
  122. package/lib/esm/core-react/listbox/Listbox.scss +54 -0
  123. package/lib/esm/core-react/loading/LoadingBar.scss +27 -0
  124. package/lib/esm/core-react/loading/LoadingPrompt.scss +29 -0
  125. package/lib/esm/core-react/loading/LoadingSpinner.scss +24 -0
  126. package/lib/esm/core-react/loading/LoadingStatus.scss +20 -0
  127. package/lib/esm/core-react/loading/index.scss +5 -0
  128. package/lib/esm/core-react/loading/mixins.scss +57 -0
  129. package/lib/esm/core-react/messagebox/MessageBox.scss +52 -0
  130. package/lib/esm/core-react/popup/Popup.scss +239 -0
  131. package/lib/esm/core-react/radialmenu/RadialMenu.scss +55 -0
  132. package/lib/esm/core-react/searchbox/SearchBox.scss +45 -0
  133. package/lib/esm/core-react/settings/SettingsContainer.scss +65 -0
  134. package/lib/esm/core-react/style/baseline.scss +11 -0
  135. package/lib/esm/core-react/style/breakpoints.scss +59 -0
  136. package/lib/esm/core-react/style/colors.scss +77 -0
  137. package/lib/esm/core-react/style/index.scss +10 -0
  138. package/lib/esm/core-react/style/mixins.scss +23 -0
  139. package/lib/esm/core-react/style/opacity.scss +16 -0
  140. package/lib/esm/core-react/style/themecolors.scss +133 -0
  141. package/lib/esm/core-react/tabs/classes.scss +9 -0
  142. package/lib/esm/core-react/tabs/index.scss +5 -0
  143. package/lib/esm/core-react/tabs/tabs.scss +99 -0
  144. package/lib/esm/core-react/tabs/vertical.scss +53 -0
  145. package/lib/esm/core-react/text/FilteredText.scss +8 -0
  146. package/lib/esm/core-react/text/block.scss +15 -0
  147. package/lib/esm/core-react/text/body.scss +13 -0
  148. package/lib/esm/core-react/text/classes.scss +18 -0
  149. package/lib/esm/core-react/text/disabled.scss +7 -0
  150. package/lib/esm/core-react/text/index.scss +10 -0
  151. package/lib/esm/core-react/text/mixins.scss +26 -0
  152. package/lib/esm/core-react/text/muted.scss +7 -0
  153. package/lib/esm/core-react/tree/Branch.scss +13 -0
  154. package/lib/esm/core-react/tree/ExpansionToggle.scss +32 -0
  155. package/lib/esm/core-react/tree/Node.scss +68 -0
  156. package/lib/esm/core-react/tree/Placeholder.scss +17 -0
  157. package/lib/esm/core-react/tree/Tree.scss +22 -0
  158. package/package.json +7 -13
@@ -0,0 +1,65 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ div.core-settings-container {
6
+ display: flex;
7
+ box-sizing: border-box;
8
+ height: 100%;
9
+ width: 100%;
10
+
11
+ *,
12
+ *:before,
13
+ *:after {
14
+ box-sizing: inherit;
15
+ }
16
+
17
+ .core-settings-container-left {
18
+ min-width: 15em;
19
+ height: 100%;
20
+ overflow: auto;
21
+ border-right: 2px solid var(--iui-color-border);
22
+
23
+ > .uicore-tabs-vertical {
24
+ font-size: 16px;
25
+ }
26
+ }
27
+ .core-settings-container-right {
28
+ display: flex;
29
+ flex-direction: column;
30
+ width: 100%;
31
+ height: 100%;
32
+ overflow: hidden;
33
+ background: var(--iui-color-background);
34
+ align-content: center;
35
+
36
+ .core-settings-container-right-header {
37
+ display: flex;
38
+ width: 100%;
39
+ height: calc(var(--iui-font-size-4) * 2);
40
+ font-size: var(--iui-font-size-4);
41
+ font-weight: var(--iui-font-weight-semibold);
42
+ padding-left: 15px;
43
+ align-items: center;
44
+
45
+ .core-settings-container-main-sub-header {
46
+ position: relative;
47
+ padding-left: 20px;
48
+
49
+ &::before {
50
+ content: "-";
51
+ position: absolute;
52
+ left: 10px;
53
+ transform: translateX(-50%);
54
+ }
55
+ }
56
+ }
57
+
58
+ .core-settings-container-right-contents {
59
+ display: flex;
60
+ width: 100%;
61
+ height: 100%;
62
+ overflow: auto;
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,11 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ $uicore-baseline: var(--iui-size-s);
6
+ $uicore-line-height: var(--iui-size-l); /// 22px; /// ~1.618;
7
+
8
+ $uicore-bordered-padding: calc(var(--iui-size-s) - 1px);
9
+ $uicore-bordered-padding-large: calc(var(--iui-size-s) * 2 - 1px);
10
+ $uicore-unbordered-padding: var(--iui-size-s);
11
+ $uicore-unbordered-padding-large: calc(var(--iui-size-s) * 2);
@@ -0,0 +1,59 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ /* Breakpoints */
7
+ @mixin for-phone-only {
8
+ @media (max-width: 599px) {
9
+ @content;
10
+ }
11
+ }
12
+
13
+ @mixin for-tablet-portrait-up {
14
+ @media (min-width: 600px) {
15
+ @content;
16
+ }
17
+ }
18
+
19
+ @mixin for-tablet-portrait-down {
20
+ @media (max-width: 799px) {
21
+ @content;
22
+ }
23
+ }
24
+
25
+ @mixin for-tablet-landscape-up {
26
+ @media (min-width: 800px) {
27
+ @content;
28
+ }
29
+ }
30
+
31
+ @mixin for-tablet-landscape-down {
32
+ @media (max-width: 1099px) {
33
+ @content;
34
+ }
35
+ }
36
+
37
+ @mixin for-desktop-up {
38
+ @media (min-width: 1100px) {
39
+ @content;
40
+ }
41
+ }
42
+
43
+ @mixin for-small-desktop-down {
44
+ @media (max-width: 1299px) {
45
+ @content;
46
+ }
47
+ }
48
+
49
+ @mixin for-medium-desktop-up {
50
+ @media (min-width: 1300px) {
51
+ @content;
52
+ }
53
+ }
54
+
55
+ @mixin for-big-desktop-up {
56
+ @media (min-width: 1800px) {
57
+ @content;
58
+ }
59
+ }
@@ -0,0 +1,77 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ /// Variables ------------------------------------------------------------------
7
+
8
+ /// Primary colors:
9
+
10
+ $uicore-green: #56aa1c;
11
+ $uicore-blue: #008be1;
12
+ $uicore-gray: #9ba5ae;
13
+ $uicore-text-color: #2a2f34;
14
+
15
+ /// Other colors:
16
+
17
+ $uicore-black: #000;
18
+ $uicore-white: #fff;
19
+ $uicore-yellow: #ffcf00;
20
+ $uicore-orange: #ff6600;
21
+ $uicore-red: #cc0000;
22
+ $uicore-teal: #2b9b7f;
23
+
24
+ /// Highlights:
25
+
26
+ $uicore-blue-highlight: #e5f5fd;
27
+ $uicore-green-highlight: #eef6e8;
28
+ $uicore-red-highlight: #fae5e5;
29
+
30
+ /// Gray:
31
+
32
+ $uicore-gray-1: #070809;
33
+ $uicore-gray-3: #3c434a;
34
+ $uicore-gray-4: #4d575f;
35
+ $uicore-gray-5: #677480;
36
+ $uicore-gray-6: #85929d;
37
+ $uicore-gray-8: #a6afb7;
38
+ $uicore-gray-9: #c7ccd1;
39
+ $uicore-gray-a: #dce0e3;
40
+ $uicore-gray-b: #eef0f3;
41
+ $uicore-gray-c: #f8f9fb;
42
+
43
+ /// Blue:
44
+
45
+ $uicore-blue-3: #00426b;
46
+ $uicore-blue-4: #005a92;
47
+ $uicore-blue-5: #0073ba;
48
+ $uicore-blue-6: $uicore-blue;
49
+ $uicore-blue-8: #58bfff;
50
+ $uicore-blue-a: #a6ddff;
51
+
52
+ /// Green:
53
+
54
+ $uicore-green-3: #23450b;
55
+ $uicore-green-4: #346711;
56
+ $uicore-green-5: #448615;
57
+
58
+ $uicore-green-new: #53a21a;
59
+
60
+ /// Teal:
61
+
62
+ $uicore-teal-0: $uicore-green;
63
+ $uicore-teal-1: #2b9b1b;
64
+ $uicore-teal-2: #2b9b2f;
65
+ $uicore-teal-3: #2b9b43;
66
+ $uicore-teal-4: #2b9b57;
67
+ $uicore-teal-5: #2b9b6b;
68
+ $uicore-teal-6: #2b9b7f;
69
+ $uicore-teal-7: #2b9b93;
70
+ $uicore-teal-8: #2b9ba7;
71
+ $uicore-teal-9: #2b9bbb;
72
+ $uicore-teal-a: #2b9bcf;
73
+ $uicore-teal-b: #2b9be3;
74
+ $uicore-teal-c: $uicore-blue-6;
75
+ $uicore-teal-d: $uicore-blue-5;
76
+ $uicore-teal-e: $uicore-blue-4;
77
+ $uicore-teal-f: $uicore-blue-3;
@@ -0,0 +1,10 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @forward "./baseline";
6
+ @forward "./breakpoints";
7
+ @forward "./themecolors";
8
+ @forward "./colors";
9
+ @forward "./mixins";
10
+ @forward "./opacity";
@@ -0,0 +1,23 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ @mixin no-link {
7
+ text-decoration: none;
8
+ color: var(--iui-color-text);
9
+
10
+ &:link,
11
+ &:visited,
12
+ &:hover,
13
+ &:active {
14
+ color: var(--iui-color-text);
15
+ text-decoration: none;
16
+ }
17
+ }
18
+
19
+ @mixin firefox-only {
20
+ @supports (-moz-appearance: none) {
21
+ @content;
22
+ }
23
+ }
@@ -0,0 +1,16 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /// Opacity stops:
6
+
7
+ $uicore-opacity-1: var(--iui-opacity-1);
8
+ $uicore-opacity-2: var(--iui-opacity-2);
9
+ $uicore-opacity-3: var(--iui-opacity-3);
10
+ $uicore-opacity-4: var(--iui-opacity-4);
11
+ $uicore-opacity-5: var(--iui-opacity-5);
12
+ $uicore-opacity-6: var(--iui-opacity-6);
13
+
14
+ $uicore-opacity-muted: $uicore-opacity-3;
15
+ $uicore-opacity-disabled: $uicore-opacity-4;
16
+ $uicore-opacity-boxshadow: $uicore-opacity-4;
@@ -0,0 +1,133 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ // cspell:ignore scrollbar titlebar toolbutton outoffocus boxshadow mediumgray
7
+
8
+ $buic-background-1: var(--buic-background-1);
9
+ $buic-background-2: var(--buic-background-2);
10
+ $buic-background-3: var(--buic-background-3);
11
+ $buic-background-4: var(--buic-background-4);
12
+ $buic-background-5: var(--buic-background-5);
13
+
14
+ /* Backgrounds and strokes */
15
+ $buic-background-primary: var(--buic-background-primary);
16
+ $buic-background-scrollbar: var(--buic-background-scrollbar);
17
+ $buic-background-scrollbar-hover: var(--buic-background-scrollbar-hover);
18
+
19
+ $buic-background-titlebar: var(--buic-background-titlebar);
20
+ $buic-background-dialog-stroke: var(--buic-background-dialog-stroke);
21
+ $buic-background-widget-stroke: var(--buic-background-widget-stroke);
22
+ $buic-background-widget-panel: var(--buic-background-widget-panel);
23
+ $buic-background-panel-stroke: var(--buic-background-panel-stroke);
24
+ $buic-background-tooltip: var(--buic-background-tooltip);
25
+ $buic-background-statusbar: var(--buic-background-statusbar);
26
+ $buic-background-control-stroke: var(--buic-background-control-stroke);
27
+ $buic-background-toolbutton-stroke: var(--buic-background-toolbutton-stroke);
28
+
29
+ $buic-background-titlebar-outoffocus: var(
30
+ --buic-background-titlebar-outoffocus
31
+ );
32
+ $buic-background-divider: var(--buic-background-divider);
33
+ $buic-background-widget-element-stroke: var(
34
+ --buic-background-widget-element-stroke
35
+ );
36
+ $buic-background-control-disabled: var(--buic-background-control-disabled);
37
+ $buic-background-table-header: var(--buic-background-table-header);
38
+ $buic-background-control-stroke-disabled: var(
39
+ --buic-background-control-stroke-disabled
40
+ );
41
+
42
+ $buic-background-tab-inactive: var(--buic-background-tab-inactive);
43
+ $buic-background-toolbutton-inactive: var(
44
+ --buic-background-toolbutton-inactive
45
+ );
46
+ $buic-background-context-menu: var(--buic-background-context-menu);
47
+ $buic-background-panel: var(--buic-background-panel);
48
+ $buic-background-placeholder: var(--buic-background-placeholder);
49
+ $buic-background-striped_row: var(--buic-background-striped_row);
50
+
51
+ $buic-background-tab-active: var(--buic-background-tab-active);
52
+ $buic-background-dialog: var(--buic-background-dialog);
53
+ $buic-background-widget: var(--buic-background-widget);
54
+ $buic-background-window: var(--buic-background-window);
55
+ $buic-background-toolbar: var(--buic-background-toolbar);
56
+
57
+ $buic-background-card: var(--buic-background-card);
58
+ $buic-background-control: var(--buic-background-control);
59
+
60
+ $buic-background-focus-overlay: var(--buic-background-focus-overlay);
61
+ $buic-background-hover-overlay: var(--buic-background-hover-overlay);
62
+ $buic-background-active-overlay: var(--buic-background-active-overlay);
63
+ $buic-background-pressed-overlay: var(--buic-background-pressed-overlay);
64
+
65
+ /** Text and icons */
66
+ $buic-foreground-body-rgb: var(--buic-foreground-body-rgb);
67
+ $buic-foreground-body-reverse-rgb: var(--buic-foreground-body-reverse-rgb);
68
+
69
+ $buic-foreground-body: var(--buic-foreground-body);
70
+ $buic-foreground-body-reverse: var(--buic-foreground-body-reverse);
71
+ $buic-foreground-disabled: var(--buic-foreground-disabled);
72
+ $buic-foreground-muted: var(--buic-foreground-muted);
73
+ $buic-foreground-activehover: var(--buic-foreground-activehover);
74
+
75
+ $buic-text-color: var(--buic-foreground-body); // 0.85 opacity
76
+ $buic-text-color-disabled: var(
77
+ --buic-foreground-disabled
78
+ ); // 0.45 opacity (Note: 0.25 is too much)
79
+ $buic-text-color-muted: var(--buic-foreground-muted); // 0.65 opacity
80
+ $buic-text-color-reverse: var(--buic-foreground-body-reverse); // 0.85 opacity
81
+ $buic-text-color-hover: var(--buic-foreground-activehover); // 1.00 opacity
82
+ $buic-text-color-highlight: var(--buic-foreground-primary); // themed
83
+
84
+ $buic-icon-color: var(--buic-foreground-body);
85
+ $buic-icon-color-disabled: var(--buic-foreground-disabled);
86
+ $buic-icon-color-reverse: var(--buic-foreground-body-reverse);
87
+
88
+ $buic-background-editable: var(--buic-background-editable);
89
+ $buic-row-selection: var(--buic-row-selection);
90
+ $buic-row-hover: var(--buic-row-hover);
91
+
92
+ $buic-button-gradient1: var(--buic-button-gradient1);
93
+ $buic-button-gradient2: var(--buic-button-gradient2);
94
+
95
+ $buic-foreground-focus-border: var(--buic-foreground-focus-border);
96
+ $buic-inputs-border: var(--buic-inputs-border);
97
+ $buic-focus-boxshadow: var(--buic-focus-boxshadow);
98
+ $buic-inputs-boxshadow: var(--buic-inputs-boxshadow);
99
+ $buic-popup-boxshadow: var(--buic-popup-boxshadow);
100
+
101
+ /** Themed colors */
102
+ $buic-foreground-accessory: var(--buic-foreground-accessory);
103
+ $buic-foreground-primary-rgb: var(--buic-foreground-primary-rgb);
104
+ $buic-foreground-primary: var(--buic-foreground-primary);
105
+ $buic-foreground-primary-tone: var(--buic-foreground-primary-tone);
106
+ $buic-foreground-positive: var(--buic-foreground-positive);
107
+ $buic-foreground-positive-rgb: var(--buic-foreground-positive-rgb);
108
+ $buic-foreground-success: var(--buic-foreground-positive);
109
+ $buic-foreground-negative: var(--buic-foreground-negative);
110
+ $buic-foreground-negative-rgb: var(--buic-foreground-negative-rgb);
111
+ $buic-foreground-alert: var(--buic-foreground-negative);
112
+ $buic-foreground-error: var(--buic-foreground-negative);
113
+ $buic-foreground-warning: var(--buic-foreground-warning);
114
+ $buic-foreground-warning-rgb: var(--buic-foreground-warning-rgb);
115
+ $buic-foreground-focus: var(--buic-foreground-focus);
116
+
117
+ /** Static colors */
118
+ // NEEDSWORK - Need to deprecate
119
+ $buic-accessory-hollow: var(--buic-accessory-hollow);
120
+ $buic-accessory-primary: var(--buic-accessory-primary);
121
+ $buic-accessory-success: var(--buic-accessory-success);
122
+ $buic-accessory-alert: var(--buic-accessory-alert);
123
+ $buic-accessory-warning: var(--buic-accessory-warning);
124
+ $buic-accessory-primary-tint: var(--buic-accessory-primary-tint);
125
+ $buic-accessory-success-tint: var(--buic-accessory-success-tint);
126
+ $buic-accessory-alert-tint: var(--buic-accessory-alert-tint);
127
+ $buic-accessory-warning-tint: var(--buic-accessory-warning-tint);
128
+
129
+ /** Widget Opacity */
130
+ $buic-widget-opacity: var(--buic-widget-opacity, 0.9);
131
+
132
+ /** Toolbar Opacity */
133
+ $buic-toolbar-opacity: var(--buic-toolbar-opacity, 0.5);
@@ -0,0 +1,9 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @use "./index" as *;
6
+
7
+ .uicore-tabs-vertical {
8
+ @include uicore-tabs-vertical;
9
+ }
@@ -0,0 +1,5 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @forward "./vertical";
@@ -0,0 +1,99 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @use "../style/baseline";
6
+ @use "../icons/variables";
7
+
8
+ @forward "../style/index";
9
+ @forward "../icons/variables";
10
+
11
+ @mixin uicore-tabs {
12
+ display: block;
13
+ list-style: none;
14
+ padding: 0;
15
+ margin: 0;
16
+ box-sizing: border-box;
17
+ border: none;
18
+ outline: none;
19
+
20
+ > li {
21
+ display: block;
22
+ position: relative;
23
+ padding: 0;
24
+ margin: 0;
25
+
26
+ &.core-tab-item-disabled {
27
+ pointer-events: none;
28
+ }
29
+
30
+ > a {
31
+ display: block;
32
+ position: relative;
33
+ padding: baseline.$uicore-bordered-padding
34
+ calc(var(--iui-font-size-1) - 1px) baseline.$uicore-unbordered-padding;
35
+ margin: 0;
36
+ line-height: var(--iui-size-l);
37
+ color: var(--iui-color-text);
38
+ cursor: pointer;
39
+
40
+ .uicore-tabs-inline-label {
41
+ &.core-tab-item-disabled {
42
+ color: var(--iui-color-text-disabled);
43
+
44
+ .uicore-tabs-subLabel {
45
+ color: var(--iui-color-text-disabled);
46
+ }
47
+ }
48
+
49
+ .uicore-tabs-icon {
50
+ width: (variables.$uicore-icons-small + 12px);
51
+ height: (variables.$uicore-icons-small + 12px);
52
+ display: flex;
53
+ align-items: center;
54
+ }
55
+ }
56
+
57
+ &::after {
58
+ content: "";
59
+ position: absolute;
60
+ z-index: 1;
61
+ transition: all var(--iui-duration-1);
62
+ top: 0;
63
+ right: 0;
64
+ background: var(--iui-color-border-accent);
65
+ opacity: 0;
66
+ }
67
+
68
+ &:hover {
69
+ text-decoration: none;
70
+ background-color: var(--iui-color-background-hover);
71
+ color: var(--iui-color-text-hover);
72
+ }
73
+ }
74
+
75
+ &.core-active a::after {
76
+ opacity: 1;
77
+ }
78
+
79
+ .uicore-tabs-label-subLabel-container {
80
+ display: flex;
81
+ flex-direction: column;
82
+ .uicore-tabs-subLabel {
83
+ font-size: var(--iui-font-size-0);
84
+ }
85
+ }
86
+ &:not(.core-active) {
87
+ .uicore-tabs-label-subLabel-container {
88
+ .uicore-tabs-subLabel {
89
+ color: var(--iui-color-text-muted);
90
+ font-weight: var(--iui-font-weight-light);
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ &.uicore-tabs-green > li > a::after {
97
+ background-color: var(--iui-color-text-positive);
98
+ }
99
+ }
@@ -0,0 +1,53 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @use "./tabs";
6
+
7
+ @forward "../style/index";
8
+ @forward "./tabs";
9
+
10
+ @mixin uicore-tabs-vertical {
11
+ @include tabs.uicore-tabs;
12
+
13
+ > li {
14
+ display: block;
15
+ margin: 0;
16
+ padding: 0;
17
+ width: 100%;
18
+
19
+ > a {
20
+ line-height: var(--iui-size-l);
21
+ padding: 14px 20px;
22
+ border-width: 0;
23
+
24
+ $bar-size: 2px;
25
+
26
+ .uicore-tabs-inline-label {
27
+ display: grid;
28
+ grid-template-columns: auto 1fr;
29
+ align-items: center;
30
+ }
31
+
32
+ &::after {
33
+ height: 100%;
34
+ width: $bar-size;
35
+ left: $bar-size;
36
+ padding-top: $bar-size;
37
+ padding-bottom: $bar-size;
38
+ background-clip: content-box;
39
+ box-sizing: border-box;
40
+ }
41
+
42
+ &:focus-visible {
43
+ outline: 1px solid var(--iui-color-border-accent);
44
+ outline-offset: -1px;
45
+ }
46
+ }
47
+
48
+ &.core-active a {
49
+ color: var(--iui-color-text-accent);
50
+ background-color: var(--iui-color-background-accent-muted);
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,8 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ .uicore-filtered-text-match {
6
+ color: var(--iui-color-icon-accent);
7
+ font-weight: bold;
8
+ }
@@ -0,0 +1,15 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @mixin uicore-text-block {
6
+ margin: 0;
7
+ padding: 0;
8
+ border: none;
9
+ vertical-align: baseline;
10
+ font-size: var(--iui-font-size-1);
11
+ font-weight: var(--iui-font-weight-normal);
12
+ line-height: var(--iui-size-l);
13
+
14
+ margin: 0 0 var(--iui-size-l);
15
+ }
@@ -0,0 +1,13 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @mixin uicore-text-body {
6
+ margin: 0;
7
+ padding: 0;
8
+ border: none;
9
+ vertical-align: baseline;
10
+ font-size: var(--iui-font-size-1);
11
+ font-weight: var(--iui-font-weight-normal);
12
+ line-height: var(--iui-size-l);
13
+ }
@@ -0,0 +1,18 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @use "./index" as *;
6
+
7
+ .uicore-text-body {
8
+ @include uicore-text-body;
9
+ }
10
+ .uicore-text-block {
11
+ @include uicore-text-block;
12
+ }
13
+ .uicore-text-disabled {
14
+ @include uicore-text-disabled;
15
+ }
16
+ .uicore-text-muted {
17
+ @include uicore-text-muted;
18
+ }
@@ -0,0 +1,7 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @mixin uicore-text-disabled {
6
+ color: var(--iui-color-text-disabled);
7
+ }
@@ -0,0 +1,10 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @forward "./mixins";
6
+
7
+ @forward "./body";
8
+ @forward "./block";
9
+ @forward "./disabled";
10
+ @forward "./muted";
@@ -0,0 +1,26 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @use "sass:map";
6
+
7
+ @forward "../style/themecolors";
8
+
9
+ @mixin uicore-text-block-spacing {
10
+ padding: 0;
11
+ margin: 0 0 var(--iui-size-l);
12
+ }
13
+
14
+ @mixin uicore-text($type: body) {
15
+ $sizes: (
16
+ body: var(--iui-font-size-1),
17
+ small: var(--iui-font-size-0),
18
+ );
19
+
20
+ $type: if(map.has-key($sizes, $type), $type, body);
21
+
22
+ font-size: map.get($sizes, $type);
23
+ font-weight: var(--iui-font-weight-normal);
24
+ line-height: var(--iui-size-l);
25
+ color: var(--iui-color-text);
26
+ }