@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.
- package/CHANGELOG.md +49 -1
- package/lib/cjs/core-react/_geometry.scss +70 -0
- package/lib/cjs/core-react/_helpers.scss +54 -0
- package/lib/cjs/core-react/_math.scss +13 -0
- package/lib/cjs/core-react/_scrollbar.scss +57 -0
- package/lib/cjs/core-react/_typography.scss +44 -0
- package/lib/cjs/core-react/_z-index.scss +51 -0
- package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/cjs/core-react/badge/DeprecatedBadge.scss +11 -0
- package/lib/cjs/core-react/badge/NewBadge.scss +12 -0
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.scss +11 -0
- package/lib/cjs/core-react/base/base.scss +44 -0
- package/lib/cjs/core-react/base/classes.scss +27 -0
- package/lib/cjs/core-react/base/index.scss +5 -0
- package/lib/cjs/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/cjs/core-react/checklistbox/CheckListBox.scss +22 -0
- package/lib/cjs/core-react/classes.scss +9 -0
- package/lib/cjs/core-react/colorthemes.scss +12 -0
- package/lib/cjs/core-react/colorvariables.scss +139 -0
- package/lib/cjs/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.scss +8 -0
- package/lib/cjs/core-react/dialog/Dialog.scss +57 -0
- package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/cjs/core-react/icons/IconComponent.scss +19 -0
- package/lib/cjs/core-react/icons/SvgPath.scss +15 -0
- package/lib/cjs/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/cjs/core-react/icons/classes.scss +18 -0
- package/lib/cjs/core-react/icons/index.scss +6 -0
- package/lib/cjs/core-react/icons/mixins.scss +27 -0
- package/lib/cjs/core-react/icons/variables.scss +12 -0
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/cjs/core-react/index.scss +18 -0
- package/lib/cjs/core-react/inputs/classes.scss +12 -0
- package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/cjs/core-react/inputs/index.scss +9 -0
- package/lib/cjs/core-react/inputs/input-label.scss +95 -0
- package/lib/cjs/core-react/inputs/input.scss +56 -0
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/cjs/core-react/inputs/variables.scss +41 -0
- package/lib/cjs/core-react/layout-variables.scss +15 -0
- package/lib/cjs/core-react/listbox/Listbox.scss +54 -0
- package/lib/cjs/core-react/loading/LoadingBar.scss +27 -0
- package/lib/cjs/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/cjs/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/cjs/core-react/loading/LoadingStatus.scss +20 -0
- package/lib/cjs/core-react/loading/index.scss +5 -0
- package/lib/cjs/core-react/loading/mixins.scss +57 -0
- package/lib/cjs/core-react/messagebox/MessageBox.scss +52 -0
- package/lib/cjs/core-react/popup/Popup.scss +239 -0
- package/lib/cjs/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/cjs/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/cjs/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/cjs/core-react/style/baseline.scss +11 -0
- package/lib/cjs/core-react/style/breakpoints.scss +59 -0
- package/lib/cjs/core-react/style/colors.scss +77 -0
- package/lib/cjs/core-react/style/index.scss +10 -0
- package/lib/cjs/core-react/style/mixins.scss +23 -0
- package/lib/cjs/core-react/style/opacity.scss +16 -0
- package/lib/cjs/core-react/style/themecolors.scss +133 -0
- package/lib/cjs/core-react/tabs/classes.scss +9 -0
- package/lib/cjs/core-react/tabs/index.scss +5 -0
- package/lib/cjs/core-react/tabs/tabs.scss +99 -0
- package/lib/cjs/core-react/tabs/vertical.scss +53 -0
- package/lib/cjs/core-react/text/FilteredText.scss +8 -0
- package/lib/cjs/core-react/text/block.scss +15 -0
- package/lib/cjs/core-react/text/body.scss +13 -0
- package/lib/cjs/core-react/text/classes.scss +18 -0
- package/lib/cjs/core-react/text/disabled.scss +7 -0
- package/lib/cjs/core-react/text/index.scss +10 -0
- package/lib/cjs/core-react/text/mixins.scss +26 -0
- package/lib/cjs/core-react/text/muted.scss +7 -0
- package/lib/cjs/core-react/tree/Branch.scss +13 -0
- package/lib/cjs/core-react/tree/ExpansionToggle.scss +32 -0
- package/lib/cjs/core-react/tree/Node.scss +68 -0
- package/lib/cjs/core-react/tree/Placeholder.scss +17 -0
- package/lib/cjs/core-react/tree/Tree.scss +22 -0
- package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -1
- package/lib/core-react/messagebox/MessageBox.js +41 -29
- package/lib/core-react/messagebox/MessageBox.js.map +1 -1
- package/lib/core-react/messagebox/MessageBox.scss +3 -6
- package/lib/core-react/popup/Popup.js +6 -6
- package/lib/core-react/popup/Popup.js.map +1 -1
- package/lib/esm/core-react/_geometry.scss +70 -0
- package/lib/esm/core-react/_helpers.scss +54 -0
- package/lib/esm/core-react/_math.scss +13 -0
- package/lib/esm/core-react/_scrollbar.scss +57 -0
- package/lib/esm/core-react/_typography.scss +44 -0
- package/lib/esm/core-react/_z-index.scss +51 -0
- package/lib/esm/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/esm/core-react/badge/DeprecatedBadge.scss +11 -0
- package/lib/esm/core-react/badge/NewBadge.scss +12 -0
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.scss +11 -0
- package/lib/esm/core-react/base/base.scss +44 -0
- package/lib/esm/core-react/base/classes.scss +27 -0
- package/lib/esm/core-react/base/index.scss +5 -0
- package/lib/esm/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/esm/core-react/checklistbox/CheckListBox.scss +22 -0
- package/lib/esm/core-react/classes.scss +9 -0
- package/lib/esm/core-react/colorthemes.scss +12 -0
- package/lib/esm/core-react/colorvariables.scss +139 -0
- package/lib/esm/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/esm/core-react/contextmenu/PopupContextMenu.scss +8 -0
- package/lib/esm/core-react/dialog/Dialog.scss +57 -0
- package/lib/esm/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/esm/core-react/icons/IconComponent.scss +19 -0
- package/lib/esm/core-react/icons/SvgPath.scss +15 -0
- package/lib/esm/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/esm/core-react/icons/classes.scss +18 -0
- package/lib/esm/core-react/icons/index.scss +6 -0
- package/lib/esm/core-react/icons/mixins.scss +27 -0
- package/lib/esm/core-react/icons/variables.scss +12 -0
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/esm/core-react/index.scss +18 -0
- package/lib/esm/core-react/inputs/classes.scss +12 -0
- package/lib/esm/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/esm/core-react/inputs/index.scss +9 -0
- package/lib/esm/core-react/inputs/input-label.scss +95 -0
- package/lib/esm/core-react/inputs/input.scss +56 -0
- package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/esm/core-react/inputs/variables.scss +41 -0
- package/lib/esm/core-react/layout-variables.scss +15 -0
- package/lib/esm/core-react/listbox/Listbox.scss +54 -0
- package/lib/esm/core-react/loading/LoadingBar.scss +27 -0
- package/lib/esm/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/esm/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/esm/core-react/loading/LoadingStatus.scss +20 -0
- package/lib/esm/core-react/loading/index.scss +5 -0
- package/lib/esm/core-react/loading/mixins.scss +57 -0
- package/lib/esm/core-react/messagebox/MessageBox.scss +52 -0
- package/lib/esm/core-react/popup/Popup.scss +239 -0
- package/lib/esm/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/esm/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/esm/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/esm/core-react/style/baseline.scss +11 -0
- package/lib/esm/core-react/style/breakpoints.scss +59 -0
- package/lib/esm/core-react/style/colors.scss +77 -0
- package/lib/esm/core-react/style/index.scss +10 -0
- package/lib/esm/core-react/style/mixins.scss +23 -0
- package/lib/esm/core-react/style/opacity.scss +16 -0
- package/lib/esm/core-react/style/themecolors.scss +133 -0
- package/lib/esm/core-react/tabs/classes.scss +9 -0
- package/lib/esm/core-react/tabs/index.scss +5 -0
- package/lib/esm/core-react/tabs/tabs.scss +99 -0
- package/lib/esm/core-react/tabs/vertical.scss +53 -0
- package/lib/esm/core-react/text/FilteredText.scss +8 -0
- package/lib/esm/core-react/text/block.scss +15 -0
- package/lib/esm/core-react/text/body.scss +13 -0
- package/lib/esm/core-react/text/classes.scss +18 -0
- package/lib/esm/core-react/text/disabled.scss +7 -0
- package/lib/esm/core-react/text/index.scss +10 -0
- package/lib/esm/core-react/text/mixins.scss +26 -0
- package/lib/esm/core-react/text/muted.scss +7 -0
- package/lib/esm/core-react/tree/Branch.scss +13 -0
- package/lib/esm/core-react/tree/ExpansionToggle.scss +32 -0
- package/lib/esm/core-react/tree/Node.scss +68 -0
- package/lib/esm/core-react/tree/Placeholder.scss +17 -0
- package/lib/esm/core-react/tree/Tree.scss +22 -0
- package/package.json +7 -13
|
@@ -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
|
+
}
|
|
@@ -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-muted {
|
|
6
|
+
color: var(--iui-color-text-muted);
|
|
7
|
+
}
|
|
@@ -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
|
+
|
|
6
|
+
.core-tree-branch {
|
|
7
|
+
display: block;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0 0 0 20px;
|
|
11
|
+
width: fit-content;
|
|
12
|
+
min-width: 100%;
|
|
13
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
.core-tree-expansionToggle {
|
|
7
|
+
&:focus {
|
|
8
|
+
outline: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
> .toggle {
|
|
12
|
+
display: block;
|
|
13
|
+
width: 24px;
|
|
14
|
+
height: 24px;
|
|
15
|
+
padding: 6px;
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
transform: rotate(0);
|
|
19
|
+
transition: transform 100ms ease;
|
|
20
|
+
color: var(--iui-color-text);
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
display: block;
|
|
24
|
+
width: 12px;
|
|
25
|
+
height: 12px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.is-expanded > .toggle {
|
|
30
|
+
transform: rotate(90deg);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
$node-font-size: var(--iui-font-size-1);
|
|
7
|
+
|
|
8
|
+
.core-tree-node {
|
|
9
|
+
/* Rules applied to the <be-tree-node> itself */
|
|
10
|
+
display: flex;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
width: fit-content;
|
|
13
|
+
min-width: 100%;
|
|
14
|
+
font-family: var(--iui-font-sans);
|
|
15
|
+
font-size: $node-font-size;
|
|
16
|
+
color: var(--iui-color-text);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
text-overflow: ellipsis;
|
|
19
|
+
cursor: default;
|
|
20
|
+
padding: 1px 1px 0px 1px;
|
|
21
|
+
|
|
22
|
+
> .contents {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
width: 100%;
|
|
26
|
+
gap: 5px;
|
|
27
|
+
|
|
28
|
+
> .core-progress-indicator {
|
|
29
|
+
margin: 0 4px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
> .expansion-toggle {
|
|
33
|
+
display: inline-block;
|
|
34
|
+
margin-top: auto;
|
|
35
|
+
margin-bottom: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
> .core-image-checkbox {
|
|
39
|
+
top: -1px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-icon {
|
|
44
|
+
width: 16px;
|
|
45
|
+
|
|
46
|
+
> .bui-webfont-icon {
|
|
47
|
+
display: inline-block;
|
|
48
|
+
width: 16px;
|
|
49
|
+
text-align: center;
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.is-focused,
|
|
55
|
+
&:focus {
|
|
56
|
+
outline: 1px dotted #000;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:not(.is-hover-disabled) {
|
|
60
|
+
&:hover {
|
|
61
|
+
background: var(--iui-color-background-hover);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.is-selected {
|
|
66
|
+
background: var(--iui-color-background-accent-muted);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
.core-tree-placeholder {
|
|
7
|
+
display: block;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
height: 24px;
|
|
10
|
+
padding-top: 3px;
|
|
11
|
+
padding-bottom: 3px;
|
|
12
|
+
> .contents {
|
|
13
|
+
margin-left: 24px; // offset for expander
|
|
14
|
+
height: 18px;
|
|
15
|
+
background-color: var(--iui-color-background-backdrop);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
.core-tree {
|
|
7
|
+
user-select: none;
|
|
8
|
+
-webkit-user-select: none;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
|
|
13
|
+
&:focus {
|
|
14
|
+
outline: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
> * {
|
|
18
|
+
position: relative;
|
|
19
|
+
display: block;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBox.d.ts","sourceRoot":"","sources":["../../../src/core-react/messagebox/MessageBox.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageBox.d.ts","sourceRoot":"","sources":["../../../src/core-react/messagebox/MessageBox.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAerD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAK1D;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,6BAA6B;IAC7B,QAAQ,EAAE,eAAe,CAAC;IAC1B,oCAAoC;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,2FAA2F;IAC3F,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACpC,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,wDAAwD;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,sBAAsB;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;GAGG;AACH,qBAAa,UAAW,SAAQ,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC;IAClE,OAAc,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,CAKlD;IAEc,MAAM,IAAI,KAAK,CAAC,YAAY;CAuB7C;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD,QAAQ,EAAE,eAAe,CAAC;IAC1B,sBAAsB;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC;IAC9E;;OAEG;WACW,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM;IACjE;;;;OAIG;WACW,gBAAgB,CAC5B,QAAQ,EAAE,eAAe,EAEzB,MAAM,CAAC,EAAE,OAAO,GACf,MAAM;IAmCT;;;;OAIG;WAGW,OAAO,CAAC,QAAQ,EAAE,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ;IAK5D,MAAM,IAAI,KAAK,CAAC,YAAY;CA+B7C"}
|