@itwin/components-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 +55 -1
- package/lib/cjs/components-react/_target.scss +10 -0
- package/lib/cjs/components-react/datepicker/DateField.scss +19 -0
- package/lib/cjs/components-react/datepicker/DatePicker.scss +179 -0
- package/lib/cjs/components-react/datepicker/DatePickerPopupButton.scss +56 -0
- package/lib/cjs/components-react/datepicker/TimeField.scss +72 -0
- package/lib/cjs/components-react/editors/BooleanEditor.scss +22 -0
- package/lib/cjs/components-react/editors/CustomNumberEditor.scss +19 -0
- package/lib/cjs/components-react/editors/DateTimeEditor.scss +9 -0
- package/lib/cjs/components-react/editors/EditorContainer.scss +7 -0
- package/lib/cjs/components-react/editors/EnumButtonGroupEditor.scss +141 -0
- package/lib/cjs/components-react/editors/EnumEditor.scss +21 -0
- package/lib/cjs/components-react/editors/IconEditor.scss +14 -0
- package/lib/cjs/components-react/editors/ImageCheckBoxEditor.scss +24 -0
- package/lib/cjs/components-react/editors/NumericInputEditor.scss +13 -0
- package/lib/cjs/components-react/editors/PopupButton.scss +112 -0
- package/lib/cjs/components-react/editors/SliderEditor.scss +14 -0
- package/lib/cjs/components-react/editors/TextEditor.scss +19 -0
- package/lib/cjs/components-react/editors/TextareaEditor.scss +13 -0
- package/lib/cjs/components-react/editors/ToggleEditor.scss +17 -0
- package/lib/cjs/components-react/editors/variables.scss +10 -0
- package/lib/cjs/components-react/filter-builder/FilterBuilderRule.scss +40 -0
- package/lib/cjs/components-react/filter-builder/FilterBuilderRuleGroup.scss +35 -0
- package/lib/cjs/components-react/filtering/FilteringInput.scss +58 -0
- package/lib/cjs/components-react/filtering/ResultSelector.scss +66 -0
- package/lib/cjs/components-react/iconpicker/IconPickerButton.scss +74 -0
- package/lib/cjs/components-react/inputs/ParsedInput.scss +20 -0
- package/lib/cjs/components-react/properties/renderers/ActionButtonList.scss +25 -0
- package/lib/cjs/components-react/properties/renderers/NonPrimitivePropertyRenderer.scss +17 -0
- package/lib/cjs/components-react/properties/renderers/PropertyView.scss +110 -0
- package/lib/cjs/components-react/properties/renderers/label/PropertyLabelRenderer.scss +87 -0
- package/lib/cjs/components-react/propertygrid/component/PropertyGrid.scss +55 -0
- package/lib/cjs/components-react/propertygrid/component/VirtualizedPropertyGrid.scss +100 -0
- package/lib/cjs/components-react/selectable-content/SelectableContent.scss +20 -0
- package/lib/cjs/components-react/toolbar/Item.scss +94 -0
- package/lib/cjs/components-react/toolbar/ItemWrapper.scss +10 -0
- package/lib/cjs/components-react/toolbar/Items.scss +96 -0
- package/lib/cjs/components-react/toolbar/Overflow.scss +57 -0
- package/lib/cjs/components-react/toolbar/OverflowPanel.scss +37 -0
- package/lib/cjs/components-react/toolbar/PopupItem.scss +81 -0
- package/lib/cjs/components-react/toolbar/Toolbar.scss +16 -0
- package/lib/cjs/components-react/toolbar/_variables.scss +34 -0
- package/lib/cjs/components-react/toolbar/groupPanel/BackArrow.scss +44 -0
- package/lib/cjs/components-react/toolbar/groupPanel/Column.scss +9 -0
- package/lib/cjs/components-react/toolbar/groupPanel/Columns.scss +10 -0
- package/lib/cjs/components-react/toolbar/groupPanel/Panel.scss +15 -0
- package/lib/cjs/components-react/toolbar/groupPanel/Title.scss +33 -0
- package/lib/cjs/components-react/toolbar/groupPanel/_variables.scss +17 -0
- package/lib/cjs/components-react/toolbar/groupPanel/tool/Expander.scss +30 -0
- package/lib/cjs/components-react/toolbar/groupPanel/tool/Tool.scss +117 -0
- package/lib/cjs/components-react/toolbar/groupPanel/tool/_variables.scss +15 -0
- package/lib/cjs/components-react/tree/HighlightingEngine.scss +8 -0
- package/lib/cjs/components-react/tree/controlled/component/ControlledTree.scss +102 -0
- package/lib/cjs/components-react/tree/controlled/component/NodeContent.scss +27 -0
- package/lib/components-react/common/Links.d.ts +4 -0
- package/lib/components-react/common/Links.d.ts.map +1 -1
- package/lib/components-react/common/Links.js +20 -0
- package/lib/components-react/common/Links.js.map +1 -1
- package/lib/components-react/editors/EditorContainer.d.ts +2 -0
- package/lib/components-react/editors/EditorContainer.d.ts.map +1 -1
- package/lib/components-react/editors/EditorContainer.js +7 -3
- package/lib/components-react/editors/EditorContainer.js.map +1 -1
- package/lib/components-react/editors/EnumButtonGroupEditor.d.ts.map +1 -1
- package/lib/components-react/editors/EnumButtonGroupEditor.js +3 -3
- package/lib/components-react/editors/EnumButtonGroupEditor.js.map +1 -1
- package/lib/components-react/properties/renderers/PropertyRenderer.d.ts +4 -0
- package/lib/components-react/properties/renderers/PropertyRenderer.d.ts.map +1 -1
- package/lib/components-react/properties/renderers/PropertyRenderer.js +12 -3
- package/lib/components-react/properties/renderers/PropertyRenderer.js.map +1 -1
- package/lib/components-react/properties/renderers/value/UrlPropertyValueRenderer.d.ts.map +1 -1
- package/lib/components-react/properties/renderers/value/UrlPropertyValueRenderer.js +2 -10
- package/lib/components-react/properties/renderers/value/UrlPropertyValueRenderer.js.map +1 -1
- package/lib/components-react/propertygrid/component/ColumnResizingPropertyListPropsSupplier.d.ts.map +1 -1
- package/lib/components-react/propertygrid/component/ColumnResizingPropertyListPropsSupplier.js +5 -3
- package/lib/components-react/propertygrid/component/ColumnResizingPropertyListPropsSupplier.js.map +1 -1
- package/lib/components-react/propertygrid/component/PropertyGridCommons.d.ts +2 -0
- package/lib/components-react/propertygrid/component/PropertyGridCommons.d.ts.map +1 -1
- package/lib/components-react/propertygrid/component/PropertyGridCommons.js +4 -9
- package/lib/components-react/propertygrid/component/PropertyGridCommons.js.map +1 -1
- package/lib/components-react/propertygrid/component/PropertyGridEventsRelatedPropsSupplier.d.ts +1 -1
- package/lib/components-react/propertygrid/component/PropertyGridEventsRelatedPropsSupplier.d.ts.map +1 -1
- package/lib/components-react/propertygrid/component/PropertyGridEventsRelatedPropsSupplier.js.map +1 -1
- package/lib/components-react/propertygrid/component/VirtualizedPropertyGrid.d.ts +2 -0
- package/lib/components-react/propertygrid/component/VirtualizedPropertyGrid.d.ts.map +1 -1
- package/lib/components-react/propertygrid/component/VirtualizedPropertyGrid.js +3 -1
- package/lib/components-react/propertygrid/component/VirtualizedPropertyGrid.js.map +1 -1
- package/lib/components-react/propertygrid/internal/flat-properties/FlatPropertyRenderer.d.ts +3 -0
- package/lib/components-react/propertygrid/internal/flat-properties/FlatPropertyRenderer.d.ts.map +1 -1
- package/lib/components-react/propertygrid/internal/flat-properties/FlatPropertyRenderer.js +9 -5
- package/lib/components-react/propertygrid/internal/flat-properties/FlatPropertyRenderer.js.map +1 -1
- package/lib/esm/components-react/_target.scss +10 -0
- package/lib/esm/components-react/datepicker/DateField.scss +19 -0
- package/lib/esm/components-react/datepicker/DatePicker.scss +179 -0
- package/lib/esm/components-react/datepicker/DatePickerPopupButton.scss +56 -0
- package/lib/esm/components-react/datepicker/TimeField.scss +72 -0
- package/lib/esm/components-react/editors/BooleanEditor.scss +22 -0
- package/lib/esm/components-react/editors/CustomNumberEditor.scss +19 -0
- package/lib/esm/components-react/editors/DateTimeEditor.scss +9 -0
- package/lib/esm/components-react/editors/EditorContainer.scss +7 -0
- package/lib/esm/components-react/editors/EnumButtonGroupEditor.scss +141 -0
- package/lib/esm/components-react/editors/EnumEditor.scss +21 -0
- package/lib/esm/components-react/editors/IconEditor.scss +14 -0
- package/lib/esm/components-react/editors/ImageCheckBoxEditor.scss +24 -0
- package/lib/esm/components-react/editors/NumericInputEditor.scss +13 -0
- package/lib/esm/components-react/editors/PopupButton.scss +112 -0
- package/lib/esm/components-react/editors/SliderEditor.scss +14 -0
- package/lib/esm/components-react/editors/TextEditor.scss +19 -0
- package/lib/esm/components-react/editors/TextareaEditor.scss +13 -0
- package/lib/esm/components-react/editors/ToggleEditor.scss +17 -0
- package/lib/esm/components-react/editors/variables.scss +10 -0
- package/lib/esm/components-react/filter-builder/FilterBuilderRule.scss +40 -0
- package/lib/esm/components-react/filter-builder/FilterBuilderRuleGroup.scss +35 -0
- package/lib/esm/components-react/filtering/FilteringInput.scss +58 -0
- package/lib/esm/components-react/filtering/ResultSelector.scss +66 -0
- package/lib/esm/components-react/iconpicker/IconPickerButton.scss +74 -0
- package/lib/esm/components-react/inputs/ParsedInput.scss +20 -0
- package/lib/esm/components-react/properties/renderers/ActionButtonList.scss +25 -0
- package/lib/esm/components-react/properties/renderers/NonPrimitivePropertyRenderer.scss +17 -0
- package/lib/esm/components-react/properties/renderers/PropertyView.scss +110 -0
- package/lib/esm/components-react/properties/renderers/label/PropertyLabelRenderer.scss +87 -0
- package/lib/esm/components-react/propertygrid/component/PropertyGrid.scss +55 -0
- package/lib/esm/components-react/propertygrid/component/VirtualizedPropertyGrid.scss +100 -0
- package/lib/esm/components-react/selectable-content/SelectableContent.scss +20 -0
- package/lib/esm/components-react/toolbar/Item.scss +94 -0
- package/lib/esm/components-react/toolbar/ItemWrapper.scss +10 -0
- package/lib/esm/components-react/toolbar/Items.scss +96 -0
- package/lib/esm/components-react/toolbar/Overflow.scss +57 -0
- package/lib/esm/components-react/toolbar/OverflowPanel.scss +37 -0
- package/lib/esm/components-react/toolbar/PopupItem.scss +81 -0
- package/lib/esm/components-react/toolbar/Toolbar.scss +16 -0
- package/lib/esm/components-react/toolbar/_variables.scss +34 -0
- package/lib/esm/components-react/toolbar/groupPanel/BackArrow.scss +44 -0
- package/lib/esm/components-react/toolbar/groupPanel/Column.scss +9 -0
- package/lib/esm/components-react/toolbar/groupPanel/Columns.scss +10 -0
- package/lib/esm/components-react/toolbar/groupPanel/Panel.scss +15 -0
- package/lib/esm/components-react/toolbar/groupPanel/Title.scss +33 -0
- package/lib/esm/components-react/toolbar/groupPanel/_variables.scss +17 -0
- package/lib/esm/components-react/toolbar/groupPanel/tool/Expander.scss +30 -0
- package/lib/esm/components-react/toolbar/groupPanel/tool/Tool.scss +117 -0
- package/lib/esm/components-react/toolbar/groupPanel/tool/_variables.scss +15 -0
- package/lib/esm/components-react/tree/HighlightingEngine.scss +8 -0
- package/lib/esm/components-react/tree/controlled/component/ControlledTree.scss +102 -0
- package/lib/esm/components-react/tree/controlled/component/NodeContent.scss +27 -0
- package/package.json +9 -16
|
@@ -0,0 +1,112 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/inputs/variables" as *;
|
|
6
|
+
@use "./variables" as *;
|
|
7
|
+
|
|
8
|
+
.components-popup-button {
|
|
9
|
+
min-width: 100%;
|
|
10
|
+
min-height: 28px;
|
|
11
|
+
height: 100%;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
background-color: var(--iui-color-background);
|
|
15
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
16
|
+
border-radius: var(--iui-border-radius-1);
|
|
17
|
+
box-shadow: var(--iui-focus-box-shadow) 0px 1px 1px inset;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-shrink: 1;
|
|
23
|
+
align-items: center;
|
|
24
|
+
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
|
|
27
|
+
> .components-popup-button-value {
|
|
28
|
+
flex-grow: 1;
|
|
29
|
+
max-width: calc(100% - var(--iui-size-l));
|
|
30
|
+
overflow-x: hidden;
|
|
31
|
+
padding: 0 3px;
|
|
32
|
+
|
|
33
|
+
&.components-popup-button-placeholder {
|
|
34
|
+
color: var(--iui-color-text-disabled);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
> .components-popup-button-arrow {
|
|
39
|
+
background-color: var(--iui-color-background);
|
|
40
|
+
width: var(--iui-size-l);
|
|
41
|
+
height: var(--iui-size-l);
|
|
42
|
+
|
|
43
|
+
> .components-popup-button-arrow-icon {
|
|
44
|
+
transition: transform 0.2s;
|
|
45
|
+
text-align: center;
|
|
46
|
+
font-size: var(--iui-font-size-0);
|
|
47
|
+
line-height: var(--iui-size-l);
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
color: var(--iui-color-text-accent);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:focus,
|
|
56
|
+
&.components-popup-expanded {
|
|
57
|
+
border-color: var(--iui-color-text-accent-hover);
|
|
58
|
+
outline: 0px;
|
|
59
|
+
box-shadow: $uicore-inputs-focus-boxshadow;
|
|
60
|
+
|
|
61
|
+
> .components-popup-button-arrow {
|
|
62
|
+
border: none;
|
|
63
|
+
box-shadow: none;
|
|
64
|
+
outline: 0px;
|
|
65
|
+
|
|
66
|
+
> .components-popup-button-arrow-icon {
|
|
67
|
+
color: var(--iui-color-text-accent);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.components-smallEditor-host {
|
|
74
|
+
.components-popup-button {
|
|
75
|
+
min-height: $editor-component-height-small !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.components-popup-button-popup {
|
|
80
|
+
background-color: var(--iui-color-background);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.components-editor-popup-content {
|
|
84
|
+
padding: 4px 8px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.components-popup-bottom-buttons {
|
|
88
|
+
display: flex;
|
|
89
|
+
justify-content: flex-end;
|
|
90
|
+
margin-top: 4px;
|
|
91
|
+
|
|
92
|
+
> .components-popup-large-button {
|
|
93
|
+
width: 70px;
|
|
94
|
+
font-size: 20px;
|
|
95
|
+
margin-left: 6px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
> .components-popup-cancel-button {
|
|
99
|
+
&,
|
|
100
|
+
&:active,
|
|
101
|
+
&:focus {
|
|
102
|
+
border: none;
|
|
103
|
+
background-color: var(--iui-color-background-negative);
|
|
104
|
+
color: var(--iui-color-white);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:hover {
|
|
108
|
+
background-color: var(--iui-color-background-negative-hover);
|
|
109
|
+
color: var(--iui-color-white);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 "./variables" as *;
|
|
6
|
+
|
|
7
|
+
.components-slider-editor {
|
|
8
|
+
min-width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.components-slider-editor-slider {
|
|
12
|
+
min-width: 100px;
|
|
13
|
+
min-height: $editor-component-height-small;
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 "./variables" as *;
|
|
6
|
+
|
|
7
|
+
.components-text-editor {
|
|
8
|
+
min-width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.components-smallEditor-host {
|
|
14
|
+
.components-text-editor {
|
|
15
|
+
min-height: $editor-component-height-small !important;
|
|
16
|
+
padding-top: 1px !important;
|
|
17
|
+
padding-bottom: 1px !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -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
|
+
.components-textarea-editor {
|
|
6
|
+
min-width: 100%;
|
|
7
|
+
margin: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.components-textarea-editor-textarea {
|
|
11
|
+
min-width: 150px;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
@@ -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
|
+
.components-property-list--horizontal {
|
|
6
|
+
.components-toggle-editor {
|
|
7
|
+
margin-left: var(--iui-size-2xs); // Clear the resizer in the PropertyGrid
|
|
8
|
+
padding: 1px 0;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.components-property-list--vertical {
|
|
13
|
+
.components-toggle-editor {
|
|
14
|
+
margin-left: var(--iui-size-3xs);
|
|
15
|
+
padding: 1px 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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
|
+
@use "~@itwin/core-react/lib/core-react/inputs/variables";
|
|
6
|
+
|
|
7
|
+
@forward "~@itwin/core-react/lib/core-react/inputs/variables";
|
|
8
|
+
|
|
9
|
+
$editor-component-height-small: 24px;
|
|
10
|
+
$editor-iui-input-padding: variables.$uicore-iui-input-padding;
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
.fb-row {
|
|
6
|
+
--background-color: var(--iui-color-background);
|
|
7
|
+
--border-color: var(--iui-color-border);
|
|
8
|
+
--operator-width: 5rem;
|
|
9
|
+
--property-name-width: 25%;
|
|
10
|
+
--condition-width: 10rem;
|
|
11
|
+
--toolbar-width: 6.25rem;
|
|
12
|
+
display: block;
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
.fb-row-container {
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
gap: var(--iui-size-s);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fb-row-condition {
|
|
21
|
+
width: var(--condition-width);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.fb-property-value {
|
|
25
|
+
flex: 1;
|
|
26
|
+
width: 15rem;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
|
|
30
|
+
.components-text-editor {
|
|
31
|
+
height: unset;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.fb-row-toolbar {
|
|
36
|
+
width: var(--toolbar-width);
|
|
37
|
+
margin-left: auto;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
.fb-group {
|
|
6
|
+
--border-color: var(--iui-color-border);
|
|
7
|
+
--fb-operator-width: 128px;
|
|
8
|
+
--divider-width: var(--iui-size-2xs);
|
|
9
|
+
--divider-background-color: var(--iui-color-border-subtle);
|
|
10
|
+
gap: var(--iui-size-s);
|
|
11
|
+
|
|
12
|
+
.fb-wrapper {
|
|
13
|
+
width: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: var(--iui-size-xs);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.fb-logical-operator {
|
|
20
|
+
width: var(--fb-operator-width);
|
|
21
|
+
height: 100%;
|
|
22
|
+
text-align: center;
|
|
23
|
+
background-color: var(--iui-color-background-hover);
|
|
24
|
+
user-select: none;
|
|
25
|
+
-webkit-user-select: none;
|
|
26
|
+
display: grid;
|
|
27
|
+
place-items: center;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
font-weight: var(--iui-font-weight-semibold);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fb-group-operator {
|
|
33
|
+
border: 1px solid var(--border-color);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/inputs/variables" as *;
|
|
6
|
+
|
|
7
|
+
.components-filtering-input {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
margin: 5px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Input wrapper
|
|
15
|
+
.components-filtering-input-input {
|
|
16
|
+
position: relative;
|
|
17
|
+
flex: 1;
|
|
18
|
+
|
|
19
|
+
// The input itself
|
|
20
|
+
input {
|
|
21
|
+
min-height: 28px;
|
|
22
|
+
padding: $uicore-iui-input-padding;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
input::-ms-clear {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.components-filtering-input-input-components {
|
|
32
|
+
display: flex;
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 8px;
|
|
35
|
+
top: 1px;
|
|
36
|
+
bottom: 0px;
|
|
37
|
+
|
|
38
|
+
> .icon {
|
|
39
|
+
align-self: center;
|
|
40
|
+
border: none;
|
|
41
|
+
outline: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin filtering-button-base {
|
|
46
|
+
margin-left: 6px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.components-filtering-input-clear {
|
|
50
|
+
@include filtering-button-base;
|
|
51
|
+
color: var(--iui-color-text-muted);
|
|
52
|
+
font-size: "12px";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.components-filtering-input-loader {
|
|
56
|
+
margin-bottom: auto;
|
|
57
|
+
margin-top: auto;
|
|
58
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
.components-result-selector {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
|
|
10
|
+
font-family: var(--iui-font-sans);
|
|
11
|
+
color: var(--iui-color-text);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.components-result-selector-current-result {
|
|
15
|
+
margin: 0 2px;
|
|
16
|
+
padding-top: 2px;
|
|
17
|
+
|
|
18
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
19
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
20
|
+
-webkit-appearance: none;
|
|
21
|
+
margin: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
input[type="number"] {
|
|
25
|
+
-moz-appearance: textfield;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
text-align: center;
|
|
28
|
+
font-size: 12px;
|
|
29
|
+
padding: 0px;
|
|
30
|
+
min-width: 2em;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.components-result-selector-current-result:hover {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.components-result-selector-button {
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
height: 20px;
|
|
41
|
+
width: 20px;
|
|
42
|
+
border-style: none;
|
|
43
|
+
color: var(--iui-color-text-muted);
|
|
44
|
+
margin: 0 4px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.components-result-selector-button:hover {
|
|
48
|
+
background-color: var(--iui-color-background-hover);
|
|
49
|
+
border-radius: 2px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Overriding iTwinUI button defaults */
|
|
53
|
+
.components-result-selector-button,
|
|
54
|
+
.components-result-selector-button:active,
|
|
55
|
+
.components-result-selector-button:focus,
|
|
56
|
+
.components-result-selector-button:disabled,
|
|
57
|
+
.components-result-selector-button[disabled]:hover {
|
|
58
|
+
border-style: none;
|
|
59
|
+
padding: 0px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.components-result-selector-button:disabled,
|
|
63
|
+
.components-result-selector-button[disabled]:hover {
|
|
64
|
+
background-color: var(--iui-color-background-backdrop);
|
|
65
|
+
cursor: default;
|
|
66
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/z-index" as *;
|
|
6
|
+
|
|
7
|
+
.components-iconpicker-button {
|
|
8
|
+
color: var(--iui-color-text);
|
|
9
|
+
background: var(--iui-color-background);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
12
|
+
border-radius: var(--iui-border-radius-1);
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
width: fit-content;
|
|
16
|
+
|
|
17
|
+
.iconpicker-button-sprite {
|
|
18
|
+
width: 18px;
|
|
19
|
+
height: 18px;
|
|
20
|
+
margin: 4px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.icon {
|
|
24
|
+
margin-left: 4px;
|
|
25
|
+
font-size: 10px;
|
|
26
|
+
transition: color 0.1s ease;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:not(.readonly) {
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:hover .icon {
|
|
34
|
+
color: var(--iui-color-text-accent);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.components-iconpicker-popup {
|
|
39
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
40
|
+
@include uicore-z-index(dialog-popup);
|
|
41
|
+
|
|
42
|
+
.components-iconpicker-popup-container {
|
|
43
|
+
color: var(--iui-color-text);
|
|
44
|
+
background: var(--iui-color-background);
|
|
45
|
+
|
|
46
|
+
.components-iconpicker-popup-icons {
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-gap: 8px;
|
|
49
|
+
padding: 8px;
|
|
50
|
+
|
|
51
|
+
.components-icon-swatch {
|
|
52
|
+
width: 34px;
|
|
53
|
+
height: 34px;
|
|
54
|
+
padding: 4px;
|
|
55
|
+
border-width: 1px;
|
|
56
|
+
border-radius: var(--iui-border-radius-1);
|
|
57
|
+
border-style: solid;
|
|
58
|
+
border-color: rgba(0, 0, 0, 0.2);
|
|
59
|
+
background: var(--iui-color-background);
|
|
60
|
+
transition: scale 0.2s ease;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
outline: none;
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
transform: scale(1.15);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&[disabled] {
|
|
69
|
+
opacity: 0.2;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/inputs/variables" as *;
|
|
6
|
+
|
|
7
|
+
.components-parsed-input {
|
|
8
|
+
width: auto;
|
|
9
|
+
padding: $uicore-iui-input-padding;
|
|
10
|
+
|
|
11
|
+
&.components-parsed-input-has-error {
|
|
12
|
+
color: var(--iui-color-text-negative);
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.components-parsed-input[disabled] {
|
|
17
|
+
color: var(--iui-color-text);
|
|
18
|
+
opacity: 0.65;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 property-action-button-list {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: flex-end;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.components-property-action-button-list--horizontal {
|
|
12
|
+
@include property-action-button-list;
|
|
13
|
+
grid-column: 4;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.components-property-action-button-list--vertical {
|
|
17
|
+
@include property-action-button-list;
|
|
18
|
+
grid-column: 2;
|
|
19
|
+
grid-row-start: 1;
|
|
20
|
+
grid-row-end: 3;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.components-action-button-container {
|
|
24
|
+
margin: 0 5px 0 5px;
|
|
25
|
+
}
|
|
@@ -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
|
+
@use "~@itwin/core-react/lib/core-react/style/colors" as *;
|
|
7
|
+
|
|
8
|
+
.components-nonprimitive-property {
|
|
9
|
+
padding: 10px;
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-row-gap: 10px;
|
|
12
|
+
|
|
13
|
+
border-radius: var(--iui-border-radius-1);
|
|
14
|
+
border: solid 1px $uicore-gray-9;
|
|
15
|
+
|
|
16
|
+
background-color: #ffffff;
|
|
17
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
$text-font-size: var(--iui-font-size-1);
|
|
6
|
+
$text-font-color: var(--iui-color-text);
|
|
7
|
+
|
|
8
|
+
.components-property-record--horizontal {
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: grid;
|
|
11
|
+
padding: 0 8px;
|
|
12
|
+
|
|
13
|
+
.components-property-record-label {
|
|
14
|
+
font-size: var(--iui-font-size-0);
|
|
15
|
+
color: var(--iui-color-text-muted);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.components-property-record-value {
|
|
19
|
+
min-height: 24px;
|
|
20
|
+
font-size: $text-font-size;
|
|
21
|
+
color: $text-font-color;
|
|
22
|
+
padding: 0px 5px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.components-property-record--vertical {
|
|
27
|
+
height: 100%;
|
|
28
|
+
padding: 0 8px;
|
|
29
|
+
display: grid;
|
|
30
|
+
align-content: center;
|
|
31
|
+
|
|
32
|
+
.components-property-record-label {
|
|
33
|
+
font-size: var(--iui-font-size-0);
|
|
34
|
+
color: var(--iui-color-text-muted);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.components-property-record-value {
|
|
38
|
+
min-height: 22px;
|
|
39
|
+
font-size: $text-font-size;
|
|
40
|
+
color: $text-font-color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin record-cell {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.components-property-record-label {
|
|
50
|
+
@include record-cell;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.components-property-record-value {
|
|
55
|
+
@include record-cell;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
|
|
58
|
+
& > span {
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
width: 100%;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.core-underlined-button {
|
|
66
|
+
// Offset by 2px, because value is centered vertically
|
|
67
|
+
// and the button has an underline which offsets it's content,
|
|
68
|
+
// which in turn makes it not in line with the rest of text
|
|
69
|
+
margin-top: 2px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.multiline {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: baseline;
|
|
75
|
+
|
|
76
|
+
.content {
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
text-overflow: ellipsis;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.expanded {
|
|
83
|
+
white-space: pre-wrap;
|
|
84
|
+
margin-top: 4px;
|
|
85
|
+
margin-bottom: 4px;
|
|
86
|
+
|
|
87
|
+
.expand-toggle {
|
|
88
|
+
float: right;
|
|
89
|
+
margin-top: 2px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.expand-toggle {
|
|
94
|
+
padding: 0;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
border: none;
|
|
97
|
+
background: none;
|
|
98
|
+
color: var(--iui-color-icon-accent);
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
text-decoration: underline;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:active {
|
|
107
|
+
outline: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|