@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,72 @@
|
|
|
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-time {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
background-color: var(--iui-color-background);
|
|
13
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
14
|
+
border-radius: var(--iui-border-radius-1);
|
|
15
|
+
box-shadow: var(--iui-focus-box-shadow) 0px 1px 1px inset;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
|
|
18
|
+
&.has-error {
|
|
19
|
+
color: var(--iui-color-text-negative);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.components-time-input {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
width: 2.5em;
|
|
25
|
+
text-align: center;
|
|
26
|
+
border: none;
|
|
27
|
+
box-shadow: none;
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding-left: 0;
|
|
30
|
+
padding-right: 0;
|
|
31
|
+
|
|
32
|
+
&:focus {
|
|
33
|
+
outline: 0px;
|
|
34
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
35
|
+
border-radius: var(--iui-border-radius-1);
|
|
36
|
+
border-color: hsl(var(--iui-color-foreground-hsl) / var(--iui-opacity-4));
|
|
37
|
+
box-shadow: hsl(var(--iui-color-accent-hsl) / 0) 0px 1px 1px,
|
|
38
|
+
hsl(var(--iui-color-accent-hsl) / 0.65) 0px 0px 0px 2px;
|
|
39
|
+
z-index: 1;
|
|
40
|
+
/* bump z-index so drop shadow in not cut off by AM/PM */
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.components-time-period-input {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
width: 3em;
|
|
47
|
+
text-align: center;
|
|
48
|
+
border: none;
|
|
49
|
+
padding-left: 0;
|
|
50
|
+
padding-right: 0;
|
|
51
|
+
box-shadow: none;
|
|
52
|
+
margin: 0;
|
|
53
|
+
|
|
54
|
+
&:focus {
|
|
55
|
+
outline: 0px;
|
|
56
|
+
border: 1px solid var(--iui-color-border-foreground);
|
|
57
|
+
border-radius: var(--iui-border-radius-1);
|
|
58
|
+
border-color: hsl(var(--iui-color-foreground-hsl) / var(--iui-opacity-4));
|
|
59
|
+
box-shadow: hsl(var(--iui-color-accent-hsl) / 0) 0px 1px 1px,
|
|
60
|
+
hsl(var(--iui-color-accent-hsl) / 0.65) 0px 0px 0px 2px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.component-time-separator {
|
|
65
|
+
margin: 0;
|
|
66
|
+
padding: 0 1px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.components-input {
|
|
70
|
+
padding: $uicore-iui-input-padding;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -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
|
+
$checkbox-size: calc(var(--iui-font-size-1) * 1.2);
|
|
7
|
+
|
|
8
|
+
.components-boolean-editor {
|
|
9
|
+
height: $checkbox-size;
|
|
10
|
+
width: $checkbox-size;
|
|
11
|
+
margin-left: 0px;
|
|
12
|
+
|
|
13
|
+
&.components-cell-editor {
|
|
14
|
+
border: none;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.components-property-list--horizontal {
|
|
19
|
+
.components-boolean-editor {
|
|
20
|
+
margin-left: var(--iui-size-xs); // Clear the resizer in the PropertyGrid
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -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-customnumber-editor {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.components-smallEditor-host {
|
|
14
|
+
.components-customnumber-editor {
|
|
15
|
+
min-height: $editor-component-height-small !important;
|
|
16
|
+
padding-top: 1px !important;
|
|
17
|
+
padding-bottom: 1px !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -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
|
+
// cSpell:ignore datetime
|
|
6
|
+
|
|
7
|
+
.components-datetime-editor {
|
|
8
|
+
min-width: 100%;
|
|
9
|
+
}
|
|
@@ -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
|
+
.components-editor-container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
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
|
+
$desktop-tool-stripe-width: 2px;
|
|
7
|
+
$desktop-tool-stripe-height: 22px;
|
|
8
|
+
|
|
9
|
+
$icon-size: 16px;
|
|
10
|
+
|
|
11
|
+
$components-enumbuttongroup-editor-item-width: 32px;
|
|
12
|
+
$components-enumbuttongroup-editor-item-height: 32px;
|
|
13
|
+
|
|
14
|
+
$components-enumbuttongroup-editor-item-border-width: 1px;
|
|
15
|
+
$components-enumbuttongroup-editor-space-between-toolbar-items: 1px;
|
|
16
|
+
|
|
17
|
+
.components-enumbuttongroup-editor {
|
|
18
|
+
font-family: var(--iui-font-sans);
|
|
19
|
+
font-size: var(--iui-font-size-1);
|
|
20
|
+
background: var(--iui-color-background);
|
|
21
|
+
width: fit-content;
|
|
22
|
+
border-color: var(--iui-color-border-foreground);
|
|
23
|
+
border-width: $components-enumbuttongroup-editor-item-border-width;
|
|
24
|
+
border-radius: var(--iui-border-radius-1);
|
|
25
|
+
border-style: solid;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
display: flex;
|
|
28
|
+
vertical-align: bottom;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
|
|
31
|
+
height: $components-enumbuttongroup-editor-item-height;
|
|
32
|
+
|
|
33
|
+
> * {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
height: 100%;
|
|
36
|
+
width: $components-enumbuttongroup-editor-item-width;
|
|
37
|
+
|
|
38
|
+
&:not(:first-child) {
|
|
39
|
+
margin-left: $components-enumbuttongroup-editor-space-between-toolbar-items;
|
|
40
|
+
|
|
41
|
+
&:before {
|
|
42
|
+
content: "";
|
|
43
|
+
background-color: var(--iui-color-border-foreground);
|
|
44
|
+
display: block;
|
|
45
|
+
position: absolute;
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
width: $components-enumbuttongroup-editor-space-between-toolbar-items;
|
|
48
|
+
height: 100%;
|
|
49
|
+
left: -$components-enumbuttongroup-editor-space-between-toolbar-items;
|
|
50
|
+
top: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.components-enumbuttongroup-button {
|
|
57
|
+
border-width: 0;
|
|
58
|
+
background-color: var(--iui-color-background);
|
|
59
|
+
background-origin: border-box;
|
|
60
|
+
border-color: var(--iui-color-border);
|
|
61
|
+
border-style: solid;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
transition-property: background-color, color;
|
|
64
|
+
transition-duration: 500ms;
|
|
65
|
+
transition-timing-function: ease;
|
|
66
|
+
position: relative;
|
|
67
|
+
height: $components-enumbuttongroup-editor-item-height;
|
|
68
|
+
width: $components-enumbuttongroup-editor-item-width;
|
|
69
|
+
|
|
70
|
+
> i {
|
|
71
|
+
font-size: $icon-size;
|
|
72
|
+
width: 100%;
|
|
73
|
+
height: 100%;
|
|
74
|
+
display: grid;
|
|
75
|
+
align-content: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
margin: 0;
|
|
78
|
+
color: var(--iui-color-icon);
|
|
79
|
+
transition: all 500ms ease;
|
|
80
|
+
|
|
81
|
+
img {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
> i {
|
|
89
|
+
color: var(--iui-color-text-accent-hover);
|
|
90
|
+
transition-duration: 150ms;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.nz-is-active {
|
|
95
|
+
background: var(--iui-color-background);
|
|
96
|
+
|
|
97
|
+
&:not(.nz-is-disabled) {
|
|
98
|
+
transition-duration: 0s;
|
|
99
|
+
|
|
100
|
+
> i {
|
|
101
|
+
color: var(--iui-color-icon-accent);
|
|
102
|
+
transition-duration: 150ms;
|
|
103
|
+
transition-timing-function: cubic-bezier(1, 0.1, 1, 0.5);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:after {
|
|
107
|
+
content: "";
|
|
108
|
+
display: block;
|
|
109
|
+
position: absolute;
|
|
110
|
+
background: var(--iui-color-border-accent);
|
|
111
|
+
left: 3px;
|
|
112
|
+
top: (
|
|
113
|
+
$components-enumbuttongroup-editor-item-height -
|
|
114
|
+
$desktop-tool-stripe-height
|
|
115
|
+
) * 0.5;
|
|
116
|
+
border-radius: 2px;
|
|
117
|
+
width: $desktop-tool-stripe-width;
|
|
118
|
+
height: $desktop-tool-stripe-height;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.nz-is-disabled {
|
|
124
|
+
pointer-events: none;
|
|
125
|
+
background-color: var(--iui-color-background-disabled);
|
|
126
|
+
border-color: var(--iui-color-border-disabled);
|
|
127
|
+
cursor: not-allowed;
|
|
128
|
+
|
|
129
|
+
> i {
|
|
130
|
+
color: var(--iui-color-icon-disabled);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&:hover {
|
|
134
|
+
cursor: auto;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:active {
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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-enum-editor {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.components-smallEditor-host {
|
|
14
|
+
.components-enum-editor {
|
|
15
|
+
> .components-button {
|
|
16
|
+
min-height: $editor-component-height-small !important;
|
|
17
|
+
padding-top: 0px !important;
|
|
18
|
+
padding-bottom: 0px !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -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
|
+
$components-color-editor-item-height: 100%;
|
|
6
|
+
|
|
7
|
+
.components-icon-editor {
|
|
8
|
+
font-family: var(--iui-font-sans);
|
|
9
|
+
font-size: var(--iui-font-size-1);
|
|
10
|
+
color: var(--iui-color-text);
|
|
11
|
+
border: none;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
height: $components-color-editor-item-height;
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
$image-checkbox-size: 32px;
|
|
7
|
+
|
|
8
|
+
.components-image-checkbox-editor {
|
|
9
|
+
height: $image-checkbox-size;
|
|
10
|
+
width: $image-checkbox-size;
|
|
11
|
+
margin-left: 0px;
|
|
12
|
+
|
|
13
|
+
&.components-cell-editor {
|
|
14
|
+
border: none;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.components-property-list--horizontal {
|
|
19
|
+
.components-image-checkbox-editor {
|
|
20
|
+
margin-left: var(
|
|
21
|
+
--iui-font-size-1
|
|
22
|
+
); // Clear the resizer in the PropertyGrid
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -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
|
+
@use "./variables" as *;
|
|
6
|
+
|
|
7
|
+
.components-smallEditor-host {
|
|
8
|
+
.components-numeric-input-editor {
|
|
9
|
+
min-height: $editor-component-height-small !important;
|
|
10
|
+
padding-top: 0px !important;
|
|
11
|
+
padding-bottom: 0px !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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
|
+
}
|