@itwin/appui-react 5.0.0-dev.2 → 5.0.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/appui-react/UiFramework.json +4 -0
- package/lib/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
- package/lib/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/appui-react/dialog/StandardMessageBox.js +1 -1
- package/lib/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/appui-react/frontstage/FrontstageDef.js +4 -0
- package/lib/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/appui-react/layout/tool-settings/Docked.d.ts +2 -2
- package/lib/appui-react/layout/tool-settings/Docked.d.ts.map +1 -1
- package/lib/appui-react/layout/tool-settings/Docked.js +9 -11
- package/lib/appui-react/layout/tool-settings/Docked.js.map +1 -1
- package/lib/appui-react/layout/widget/Tabs.d.ts.map +1 -1
- package/lib/appui-react/layout/widget/Tabs.js +2 -1
- package/lib/appui-react/layout/widget/Tabs.js.map +1 -1
- package/lib/appui-react/messages/MessageManager.d.ts +1 -2
- package/lib/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/appui-react/messages/MessageManager.js +34 -13
- package/lib/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/appui-react/statusbar/StatusBarComposer.d.ts +5 -11
- package/lib/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/appui-react/statusbar/StatusBarComposer.js +18 -118
- package/lib/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.js +3 -8
- package/lib/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/_variables.scss +11 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +11 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +20 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +56 -0
- package/lib/cjs/appui-react/accudraw/Calculator.scss +82 -0
- package/lib/cjs/appui-react/accudraw/MenuButton.scss +18 -0
- package/lib/cjs/appui-react/accudraw/SquareButton.scss +30 -0
- package/lib/cjs/appui-react/accudraw/angle.svg +1 -0
- package/lib/cjs/appui-react/accudraw/backspace.svg +9 -0
- package/lib/cjs/appui-react/accudraw/constraint-2d.svg +11 -0
- package/lib/cjs/appui-react/accudraw/distance.svg +1 -0
- package/lib/cjs/appui-react/accudraw/height-2.svg +10 -0
- package/lib/cjs/appui-react/accudraw/height.svg +11 -0
- package/lib/cjs/appui-react/childwindow/ChildWindowRenderer.scss +18 -0
- package/lib/cjs/appui-react/childwindow/ChildWindowWidget.scss +8 -0
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.scss +57 -0
- package/lib/cjs/appui-react/content/ContentLayout.scss +106 -0
- package/lib/cjs/appui-react/content/ContentOverlay.scss +19 -0
- package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +41 -0
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +33 -0
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -0
- package/lib/cjs/appui-react/dialog/DialogManagerBase.scss +11 -0
- package/lib/cjs/appui-react/feedback/ElementTooltip.scss +29 -0
- package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +49 -0
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +81 -0
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.scss +12 -0
- package/lib/cjs/appui-react/layers.scss +11 -0
- package/lib/cjs/appui-react/layout/StandardLayout.scss +92 -0
- package/lib/cjs/appui-react/layout/_prefix.scss +33 -0
- package/lib/cjs/appui-react/layout/_safearea.scss +26 -0
- package/lib/cjs/appui-react/layout/_scrollbar.scss +22 -0
- package/lib/cjs/appui-react/layout/_target.scss +10 -0
- package/lib/cjs/appui-react/layout/_widgetopacity.scss +15 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.scss +90 -0
- package/lib/cjs/appui-react/layout/backstage/Item.scss +107 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.scss +10 -0
- package/lib/cjs/appui-react/layout/backstage/_variables.scss +32 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.scss +12 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
- package/lib/cjs/appui-react/layout/footer/dialog/_variables.scss +8 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.scss +19 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.scss +46 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.scss +15 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.scss +28 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.scss +11 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.scss +63 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.scss +47 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.scss +18 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.scss +16 -0
- package/lib/cjs/appui-react/layout/outline/_variables.scss +7 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.scss +22 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.scss +17 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.scss +27 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.scss +52 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.scss +47 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.scss +13 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.scss +30 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.scss +17 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.scss +17 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.scss +11 -0
- package/lib/cjs/appui-react/layout/target/_variables.scss +66 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.scss +30 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.scss +17 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.scss +11 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.scss +8 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.scss +10 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.scss +10 -0
- package/lib/cjs/appui-react/layout/widget/Content.scss +13 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.scss +24 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.scss +18 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.scss +36 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.scss +128 -0
- package/lib/cjs/appui-react/layout/widget/Menu.scss +12 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.scss +59 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.scss +57 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.scss +58 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.scss +62 -0
- package/lib/cjs/appui-react/layout/widget/Tab.scss +90 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.scss +29 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.scss +10 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.scss +51 -0
- package/lib/cjs/appui-react/layout/widget/Widget.scss +12 -0
- package/lib/cjs/appui-react/layout/widget/_variables.scss +50 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.scss +9 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.scss +49 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.scss +54 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/_variables.scss +42 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.scss +25 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.scss +37 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.scss +141 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.scss +258 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.scss +60 -0
- package/lib/cjs/appui-react/layout/widget-panels/_variables.scss +6 -0
- package/lib/cjs/appui-react/messages/InputField.scss +77 -0
- package/lib/cjs/appui-react/messages/Pointer.scss +42 -0
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +50 -0
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.scss +74 -0
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -0
- package/lib/cjs/appui-react/pickers/ListPicker.scss +316 -0
- package/lib/cjs/appui-react/popup/CardPopup.scss +24 -0
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.scss +30 -0
- package/lib/cjs/appui-react/popup/PositionPopup.scss +27 -0
- package/lib/cjs/appui-react/preview/content-always-max-size/useContentAlwaysMaxSize.scss +10 -0
- package/lib/cjs/appui-react/preview/control-widget-visibility/NavigationWidget.scss +17 -0
- package/lib/cjs/appui-react/preview/enable-maximized-widget/useMaximizedWidget.scss +36 -0
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/useHorizontalPanelAlignment.scss +49 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.scss +7 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.scss +8 -0
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +120 -0
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +61 -0
- package/lib/cjs/appui-react/statusbar/Field.scss +20 -0
- package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +18 -0
- package/lib/cjs/appui-react/statusbar/Overflow.scss +15 -0
- package/lib/cjs/appui-react/statusbar/Separator.scss +11 -0
- package/lib/cjs/appui-react/statusbar/StatusBar.scss +89 -0
- package/lib/cjs/appui-react/statusbar/popup/ExpandIndicator.scss +17 -0
- package/lib/cjs/appui-react/statusbar/popup/Popup.scss +12 -0
- package/lib/cjs/appui-react/statusfields/SectionsField.scss +33 -0
- package/lib/cjs/appui-react/statusfields/SelectionCount.scss +23 -0
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +17 -0
- package/lib/cjs/appui-react/statusfields/ViewAttributes.scss +10 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.scss +24 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.scss +28 -0
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +45 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +167 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/accept-point.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/cursor-click.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-drag.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-tap-double.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-tap.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-pinch.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-two-finger-drag.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-two-finger-tap.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-left-drag.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-left.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-right-drag.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-right.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-wheel-drag.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-wheel.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/touch-cursor-pan.svg +1 -0
- package/lib/cjs/appui-react/statusfields/toolassistance/touch-cursor-point.svg +1 -0
- package/lib/cjs/appui-react/theme/ThemeManager.scss +9 -0
- package/lib/cjs/appui-react/toolbar/new-toolbars/Badge.scss +13 -0
- package/lib/cjs/appui-react/toolbar/new-toolbars/ExpandIndicator.scss +17 -0
- package/lib/cjs/appui-react/toolbar/new-toolbars/Surface.scss +35 -0
- package/lib/cjs/appui-react/toolbar/new-toolbars/ToolGroup.scss +17 -0
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +103 -0
- package/lib/cjs/appui-react/widget-panels/DockedBar.scss +18 -0
- package/lib/cjs/appui-react/widget-panels/Frontstage.scss +19 -0
- package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +12 -0
- package/lib/cjs/appui-react/widget-panels/Toolbars.scss +22 -0
- package/lib/cjs/appui-react/widgets/BackstageAppButton.scss +46 -0
- package/lib/esm/appui-react/_variables.scss +11 -0
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +11 -0
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +20 -0
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +56 -0
- package/lib/esm/appui-react/accudraw/Calculator.scss +82 -0
- package/lib/esm/appui-react/accudraw/MenuButton.scss +18 -0
- package/lib/esm/appui-react/accudraw/SquareButton.scss +30 -0
- package/lib/esm/appui-react/accudraw/angle.svg +1 -0
- package/lib/esm/appui-react/accudraw/backspace.svg +9 -0
- package/lib/esm/appui-react/accudraw/constraint-2d.svg +11 -0
- package/lib/esm/appui-react/accudraw/distance.svg +1 -0
- package/lib/esm/appui-react/accudraw/height-2.svg +10 -0
- package/lib/esm/appui-react/accudraw/height.svg +11 -0
- package/lib/esm/appui-react/childwindow/ChildWindowRenderer.scss +18 -0
- package/lib/esm/appui-react/childwindow/ChildWindowWidget.scss +8 -0
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.scss +57 -0
- package/lib/esm/appui-react/content/ContentLayout.scss +106 -0
- package/lib/esm/appui-react/content/ContentOverlay.scss +19 -0
- package/lib/esm/appui-react/content/DefaultViewOverlay.scss +41 -0
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +33 -0
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -0
- package/lib/esm/appui-react/dialog/DialogManagerBase.scss +11 -0
- package/lib/esm/appui-react/feedback/ElementTooltip.scss +29 -0
- package/lib/esm/appui-react/feedback/ValidationTextbox.scss +49 -0
- package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +81 -0
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.scss +12 -0
- package/lib/esm/appui-react/layers.scss +11 -0
- package/lib/esm/appui-react/layout/StandardLayout.scss +92 -0
- package/lib/esm/appui-react/layout/_prefix.scss +33 -0
- package/lib/esm/appui-react/layout/_safearea.scss +26 -0
- package/lib/esm/appui-react/layout/_scrollbar.scss +22 -0
- package/lib/esm/appui-react/layout/_target.scss +10 -0
- package/lib/esm/appui-react/layout/_widgetopacity.scss +15 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.scss +90 -0
- package/lib/esm/appui-react/layout/backstage/Item.scss +107 -0
- package/lib/esm/appui-react/layout/backstage/Separator.scss +10 -0
- package/lib/esm/appui-react/layout/backstage/_variables.scss +32 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.scss +12 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
- package/lib/esm/appui-react/layout/footer/dialog/_variables.scss +8 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.scss +19 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.scss +46 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.scss +15 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.scss +28 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.scss +11 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.scss +63 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.scss +47 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.scss +18 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.scss +16 -0
- package/lib/esm/appui-react/layout/outline/_variables.scss +7 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.scss +22 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.scss +17 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.scss +27 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.scss +52 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.scss +47 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.scss +13 -0
- package/lib/esm/appui-react/layout/target/TabTarget.scss +30 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.scss +17 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.scss +17 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.scss +11 -0
- package/lib/esm/appui-react/layout/target/_variables.scss +66 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.scss +30 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.scss +17 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.scss +11 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.scss +8 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.scss +10 -0
- package/lib/esm/appui-react/layout/widget/Buttons.scss +10 -0
- package/lib/esm/appui-react/layout/widget/Content.scss +13 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.scss +24 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.scss +18 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.scss +36 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.scss +128 -0
- package/lib/esm/appui-react/layout/widget/Menu.scss +12 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.scss +59 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.scss +57 -0
- package/lib/esm/appui-react/layout/widget/Overflow.scss +58 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.scss +62 -0
- package/lib/esm/appui-react/layout/widget/Tab.scss +90 -0
- package/lib/esm/appui-react/layout/widget/TabBar.scss +29 -0
- package/lib/esm/appui-react/layout/widget/Tabs.scss +10 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.scss +51 -0
- package/lib/esm/appui-react/layout/widget/Widget.scss +12 -0
- package/lib/esm/appui-react/layout/widget/_variables.scss +50 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.scss +9 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.scss +49 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.scss +54 -0
- package/lib/esm/appui-react/layout/widget/tools/button/_variables.scss +42 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.scss +25 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.scss +37 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.scss +141 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.scss +258 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.scss +60 -0
- package/lib/esm/appui-react/layout/widget-panels/_variables.scss +6 -0
- package/lib/esm/appui-react/messages/InputField.scss +77 -0
- package/lib/esm/appui-react/messages/Pointer.scss +42 -0
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +50 -0
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.scss +74 -0
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -0
- package/lib/esm/appui-react/pickers/ListPicker.scss +316 -0
- package/lib/esm/appui-react/popup/CardPopup.scss +24 -0
- package/lib/esm/appui-react/popup/KeyinPalettePanel.scss +30 -0
- package/lib/esm/appui-react/popup/PositionPopup.scss +27 -0
- package/lib/esm/appui-react/preview/content-always-max-size/useContentAlwaysMaxSize.scss +10 -0
- package/lib/esm/appui-react/preview/control-widget-visibility/NavigationWidget.scss +17 -0
- package/lib/esm/appui-react/preview/enable-maximized-widget/useMaximizedWidget.scss +36 -0
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/useHorizontalPanelAlignment.scss +49 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.scss +7 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.scss +8 -0
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +120 -0
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +61 -0
- package/lib/esm/appui-react/statusbar/Field.scss +20 -0
- package/lib/esm/appui-react/statusbar/LabelIndicator.scss +18 -0
- package/lib/esm/appui-react/statusbar/Overflow.scss +15 -0
- package/lib/esm/appui-react/statusbar/Separator.scss +11 -0
- package/lib/esm/appui-react/statusbar/StatusBar.scss +89 -0
- package/lib/esm/appui-react/statusbar/popup/ExpandIndicator.scss +17 -0
- package/lib/esm/appui-react/statusbar/popup/Popup.scss +12 -0
- package/lib/esm/appui-react/statusfields/SectionsField.scss +33 -0
- package/lib/esm/appui-react/statusfields/SelectionCount.scss +23 -0
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +17 -0
- package/lib/esm/appui-react/statusfields/ViewAttributes.scss +10 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.scss +24 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.scss +28 -0
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +45 -0
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +167 -0
- package/lib/esm/appui-react/statusfields/toolassistance/accept-point.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/cursor-click.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-drag.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-tap-double.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-tap.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-pinch.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-two-finger-drag.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-two-finger-tap.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-left-drag.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-left.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-right-drag.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-right.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-wheel-drag.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-wheel.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/touch-cursor-pan.svg +1 -0
- package/lib/esm/appui-react/statusfields/toolassistance/touch-cursor-point.svg +1 -0
- package/lib/esm/appui-react/theme/ThemeManager.scss +9 -0
- package/lib/esm/appui-react/toolbar/new-toolbars/Badge.scss +13 -0
- package/lib/esm/appui-react/toolbar/new-toolbars/ExpandIndicator.scss +17 -0
- package/lib/esm/appui-react/toolbar/new-toolbars/Surface.scss +35 -0
- package/lib/esm/appui-react/toolbar/new-toolbars/ToolGroup.scss +17 -0
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +103 -0
- package/lib/esm/appui-react/widget-panels/DockedBar.scss +18 -0
- package/lib/esm/appui-react/widget-panels/Frontstage.scss +19 -0
- package/lib/esm/appui-react/widget-panels/ToolSettings.scss +12 -0
- package/lib/esm/appui-react/widget-panels/Toolbars.scss +22 -0
- package/lib/esm/appui-react/widgets/BackstageAppButton.scss +46 -0
- package/lib/public/locales/en/UiFramework.json +4 -0
- package/package.json +13 -18
|
@@ -0,0 +1,57 @@
|
|
|
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 "./tools/button/variables" as *;
|
|
6
|
+
@use "../widgetopacity" as *;
|
|
7
|
+
|
|
8
|
+
.nz-widget-navigationArea {
|
|
9
|
+
transition: visibility var(--iui-duration-2) ease,
|
|
10
|
+
opacity var(--iui-duration-2) ease;
|
|
11
|
+
display: grid;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
height: 100%;
|
|
14
|
+
grid-gap: 6px;
|
|
15
|
+
grid-template-columns: 1fr minmax($mls-navigation-aid-width, auto);
|
|
16
|
+
grid-template-rows: minmax($mls-navigation-aid-width, auto) 1fr;
|
|
17
|
+
justify-items: end;
|
|
18
|
+
grid-template-areas: "htools button" ". vtools";
|
|
19
|
+
|
|
20
|
+
&.nz-hidden {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
visibility: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
> .nz-navigation-aid-container {
|
|
26
|
+
margin-bottom: 6px;
|
|
27
|
+
pointer-events: auto;
|
|
28
|
+
grid-area: button;
|
|
29
|
+
|
|
30
|
+
@include nz-widget-opacity;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
> .nz-vertical-toolbar-container {
|
|
34
|
+
grid-area: vtools;
|
|
35
|
+
height: calc(100% - 60px);
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: flex-end;
|
|
39
|
+
@include nz-widget-opacity;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
> .nz-horizontal-toolbar-container {
|
|
43
|
+
grid-area: htools;
|
|
44
|
+
width: 100%;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
|
|
50
|
+
@include nz-widget-opacity;
|
|
51
|
+
|
|
52
|
+
> .components-toolbar-overflow-sizer {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: flex-end;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -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
|
+
.nz-widget-overflow {
|
|
6
|
+
width: 2em;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
&.nz-hidden {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
> .nz-button {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
user-select: none;
|
|
21
|
+
-webkit-user-select: none;
|
|
22
|
+
|
|
23
|
+
> .nz-icon {
|
|
24
|
+
background: var(--iui-color-background-hover);
|
|
25
|
+
width: 1em;
|
|
26
|
+
height: 1em;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
|
|
32
|
+
&:after {
|
|
33
|
+
content: "";
|
|
34
|
+
display: block;
|
|
35
|
+
border-color: var(--iui-color-text-disabled);
|
|
36
|
+
border-style: solid;
|
|
37
|
+
border-width: 0.15em 0.15em 0 0;
|
|
38
|
+
width: 0.5em;
|
|
39
|
+
height: 0.5em;
|
|
40
|
+
margin-left: -0.15em;
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
transform: rotate(45deg);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
> .nz-icon {
|
|
48
|
+
&:after {
|
|
49
|
+
border-color: var(--iui-color-text);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:focus {
|
|
55
|
+
outline: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
.nz-widget-panelWidget {
|
|
7
|
+
$border-width: 1px;
|
|
8
|
+
border: 0px solid var(--iui-color-border);
|
|
9
|
+
|
|
10
|
+
&.nz-border-top {
|
|
11
|
+
border-top-width: $border-width;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.nz-border-bottom {
|
|
15
|
+
border-bottom-width: $border-width;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.nz-border-left {
|
|
19
|
+
border-left-width: $border-width;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.nz-border-right {
|
|
23
|
+
border-right-width: $border-width;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.nz-widget-widget,
|
|
27
|
+
&.nz-init,
|
|
28
|
+
&.nz-transition {
|
|
29
|
+
flex-grow: 1;
|
|
30
|
+
flex-shrink: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.nz-horizontal {
|
|
34
|
+
&.nz-transition {
|
|
35
|
+
transition: flex-basis 0.25s ease-out;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:not(.nz-horizontal) {
|
|
40
|
+
&.nz-transition {
|
|
41
|
+
transition: flex-basis 0.25s ease-out;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.nz-fit {
|
|
46
|
+
flex: 0 1 auto;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.nz-fill {
|
|
50
|
+
flex-grow: 1;
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
flex-basis: 0px;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:not(.nz-minimized) {
|
|
57
|
+
> .nz-content {
|
|
58
|
+
min-height: 0;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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:math";
|
|
6
|
+
@use "variables" as *;
|
|
7
|
+
|
|
8
|
+
.nz-widget-tab {
|
|
9
|
+
user-select: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 6px;
|
|
14
|
+
align-items: center;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
padding: 4px 1em 0;
|
|
17
|
+
position: relative;
|
|
18
|
+
border: 0 solid var(--iui-color-border);
|
|
19
|
+
max-width: 9em;
|
|
20
|
+
background: var(--iui-color-background-backdrop);
|
|
21
|
+
|
|
22
|
+
> .nz-icon {
|
|
23
|
+
svg {
|
|
24
|
+
width: #{math.div(14, 16)}rem;
|
|
25
|
+
height: #{math.div(14, 16)}rem;
|
|
26
|
+
fill: currentColor;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
> .nz-label {
|
|
31
|
+
font-size: $nz-widget-tab-font-size;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
> .nz-badge {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:not(.nz-minimized) {
|
|
43
|
+
&.nz-active {
|
|
44
|
+
background: var(--iui-color-background);
|
|
45
|
+
color: var(--iui-color-text-accent);
|
|
46
|
+
padding-bottom: 1px;
|
|
47
|
+
margin-bottom: -1px;
|
|
48
|
+
|
|
49
|
+
&:before {
|
|
50
|
+
$padding: 0.25em;
|
|
51
|
+
content: "";
|
|
52
|
+
position: absolute;
|
|
53
|
+
background: currentColor;
|
|
54
|
+
left: $padding;
|
|
55
|
+
top: 1px;
|
|
56
|
+
border-radius: 0.2em;
|
|
57
|
+
width: calc(100% - #{2 * $padding});
|
|
58
|
+
height: 0.15em;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.nz-last {
|
|
62
|
+
border-right-width: 1px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not(.nz-active),
|
|
68
|
+
&.nz-minimized {
|
|
69
|
+
color: var(--iui-color-text-muted);
|
|
70
|
+
border-right-width: 1px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:not(.nz-minimized) {
|
|
74
|
+
&.nz-first-inactive {
|
|
75
|
+
border-left-width: 1px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.nz-first {
|
|
80
|
+
border-top-left-radius: $nz-widget-tab-border-radius;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
background: var(--iui-color-background);
|
|
85
|
+
|
|
86
|
+
&:not(.nz-active) {
|
|
87
|
+
color: var(--iui-color-text);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
@layer appui.component {
|
|
8
|
+
.nz-widget-tabBar {
|
|
9
|
+
background: var(--iui-color-background-backdrop);
|
|
10
|
+
display: flex;
|
|
11
|
+
border-radius: $nz-widget-tab-border-radius $nz-widget-tab-border-radius 0 0;
|
|
12
|
+
flex: 0 0 auto;
|
|
13
|
+
position: relative;
|
|
14
|
+
height: $nz-widget-tab-height;
|
|
15
|
+
|
|
16
|
+
&.nz-separator {
|
|
17
|
+
border-bottom: 1px solid var(--iui-color-border);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
> .nz-handle {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
position: absolute;
|
|
24
|
+
cursor: auto;
|
|
25
|
+
user-select: none;
|
|
26
|
+
-webkit-user-select: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -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
|
+
.nz-widget-tabs {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex: 1;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 "../widgetopacity" as *;
|
|
6
|
+
|
|
7
|
+
.nz-tools-widget {
|
|
8
|
+
transition: visibility var(--iui-duration-2) ease,
|
|
9
|
+
opacity var(--iui-duration-2) ease;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
height: 100%;
|
|
12
|
+
grid-column: 1;
|
|
13
|
+
|
|
14
|
+
display: grid;
|
|
15
|
+
grid-gap: 6px;
|
|
16
|
+
grid-template:
|
|
17
|
+
"appButton htools" auto
|
|
18
|
+
"vtools ." 1fr / auto 1fr;
|
|
19
|
+
align-items: start;
|
|
20
|
+
justify-items: start;
|
|
21
|
+
|
|
22
|
+
&.nz-hidden {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
visibility: hidden;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
> .nz-app-button {
|
|
28
|
+
grid-area: appButton;
|
|
29
|
+
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
@include nz-widget-opacity;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
> .nz-vertical-toolbar-container {
|
|
35
|
+
grid-area: vtools;
|
|
36
|
+
|
|
37
|
+
height: calc(100% - 60px);
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
@include nz-widget-opacity;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
> .nz-horizontal-toolbar-container {
|
|
44
|
+
grid-area: htools;
|
|
45
|
+
|
|
46
|
+
width: 100%;
|
|
47
|
+
min-width: 0;
|
|
48
|
+
|
|
49
|
+
@include nz-widget-opacity;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
.nz-widget-widget {
|
|
7
|
+
background: var(--iui-color-background);
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/style/breakpoints";
|
|
6
|
+
@forward "~@itwin/core-react/lib/core-react/style/themecolors";
|
|
7
|
+
|
|
8
|
+
$nz-tab-height: 60px;
|
|
9
|
+
$nz-tab-width: 32px;
|
|
10
|
+
$nz-tab-strip-width: 2px;
|
|
11
|
+
$nz-tab-strip-margin: 2px;
|
|
12
|
+
$nz-tab-background-color: var(--iui-color-background-backdrop);
|
|
13
|
+
$nz-tab-color: var(--iui-color-text);
|
|
14
|
+
|
|
15
|
+
$nz-active-tab-width: 36px;
|
|
16
|
+
|
|
17
|
+
$nz-collapsed-tab-width: 6px;
|
|
18
|
+
|
|
19
|
+
$nz-hovered-tab-color: var(--iui-color-text-accent-hover);
|
|
20
|
+
$nz-active-tab-color: var(--iui-color-icon-accent);
|
|
21
|
+
$nz-tab-shadow: drop-shadow(
|
|
22
|
+
(-0.4px) 0.9px 0 hsl(var(--iui-color-background-hsl) / var(--iui-opacity-2))
|
|
23
|
+
);
|
|
24
|
+
$nz-active-tab-shadow: drop-shadow(
|
|
25
|
+
0 1px 0 hsl(var(--iui-color-background-hsl) / var(--iui-opacity-2))
|
|
26
|
+
);
|
|
27
|
+
$nz-tab-no-shadow: drop-shadow(0 0 0 transparent);
|
|
28
|
+
|
|
29
|
+
$nz-resize-grip-size: 8px;
|
|
30
|
+
$nz-resize-grip-size-large: 14px;
|
|
31
|
+
|
|
32
|
+
$nz-widget-background-color: var(--iui-color-background-hover);
|
|
33
|
+
$nz-widget-border-color: var(--iui-color-background-disabled);
|
|
34
|
+
$nz-widget-border-width: 1px;
|
|
35
|
+
$nz-widget-border-radius: var(--iui-border-radius-1);
|
|
36
|
+
$nz-widget-min-size: $nz-tab-height + 10px;
|
|
37
|
+
|
|
38
|
+
@mixin nz-internal-grip-offset($property) {
|
|
39
|
+
#{$property}: -$nz-resize-grip-size * 0.5;
|
|
40
|
+
|
|
41
|
+
@include for-tablet-landscape-down {
|
|
42
|
+
#{$property}: -$nz-resize-grip-size-large * 0.5;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
$nz-widget-tab-font-size: 0.9em;
|
|
47
|
+
$nz-widget-tab-height: 2.1em;
|
|
48
|
+
$nz-widget-tab-border-radius: 2px;
|
|
49
|
+
|
|
50
|
+
$nz-dragged-widget-opacity: 0.6;
|
|
@@ -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 "variables" as *;
|
|
6
|
+
|
|
7
|
+
.nz-toolbar-button-back {
|
|
8
|
+
border-radius: $mls-button-width * 0.5;
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
.nz-toolbar-button-button {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
width: $mls-button-width;
|
|
10
|
+
height: $mls-button-height;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
position: relative;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
background: var(--iui-color-background);
|
|
15
|
+
border-radius: var(--iui-border-radius-1);
|
|
16
|
+
border: {
|
|
17
|
+
width: 1px;
|
|
18
|
+
color: var(--iui-color-border-foreground);
|
|
19
|
+
radius: var(--iui-border-radius-1);
|
|
20
|
+
style: solid;
|
|
21
|
+
}
|
|
22
|
+
pointer-events: auto;
|
|
23
|
+
|
|
24
|
+
&.nz-toolbar-button-icon-small {
|
|
25
|
+
width: $mls-small-button-width;
|
|
26
|
+
height: $mls-small-button-height;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
> .nz-gradient {
|
|
30
|
+
background: linear-gradient(
|
|
31
|
+
to bottom,
|
|
32
|
+
var(--iui-color-background),
|
|
33
|
+
var(--iui-color-background-zebra)
|
|
34
|
+
);
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:focus {
|
|
43
|
+
outline: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.nz-toolbar-button-background:hover {
|
|
48
|
+
background-color: var(--iui-color-background-hover);
|
|
49
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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/geometry" as *;
|
|
6
|
+
@use "variables" as *;
|
|
7
|
+
|
|
8
|
+
.nz-widget-tools-button-expandable {
|
|
9
|
+
$triangle-width: 6px;
|
|
10
|
+
$triangle-height: $triangle-width;
|
|
11
|
+
$shadow-vertical-offset: 1px;
|
|
12
|
+
$margin-from-triangle-to-stroke: 5px;
|
|
13
|
+
$arrow-shadow: $icon-shadow;
|
|
14
|
+
|
|
15
|
+
position: relative;
|
|
16
|
+
pointer-events: auto;
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
> .nz-triangle {
|
|
20
|
+
@include triangle-bottom-right-color($hovered-icon-color);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:active {
|
|
25
|
+
> .nz-triangle {
|
|
26
|
+
filter: $no-shadow;
|
|
27
|
+
|
|
28
|
+
@include triangle-bottom-right-color($pressed-icon-color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
> .nz-triangle {
|
|
33
|
+
border-radius: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
right: $margin-from-triangle-to-stroke;
|
|
36
|
+
bottom: $margin-from-triangle-to-stroke;
|
|
37
|
+
filter: $arrow-shadow;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
|
|
40
|
+
@include triangle-bottom-right(
|
|
41
|
+
$width: $triangle-width,
|
|
42
|
+
$height: $triangle-height,
|
|
43
|
+
$color: var(--iui-color-text)
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
.nz-toolbar-button-icon {
|
|
8
|
+
font-size: $mls-icon-size;
|
|
9
|
+
|
|
10
|
+
> .nz-icon {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
color: var(--iui-color-icon);
|
|
17
|
+
|
|
18
|
+
svg {
|
|
19
|
+
fill: var(--iui-color-icon);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
> * {
|
|
23
|
+
width: $mls-icon-size;
|
|
24
|
+
height: $mls-icon-size;
|
|
25
|
+
color: var(--iui-color-icon);
|
|
26
|
+
filter: $icon-shadow;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
}
|
|
29
|
+
> .icon.core-svg-icon {
|
|
30
|
+
& svg {
|
|
31
|
+
width: $mls-icon-size;
|
|
32
|
+
height: $mls-icon-size;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.nz-toolbar-button-icon-small {
|
|
38
|
+
font-size: $mls-small-button-icon-size;
|
|
39
|
+
> .nz-icon {
|
|
40
|
+
> * {
|
|
41
|
+
width: $mls-small-button-icon-size;
|
|
42
|
+
height: $mls-small-button-icon-size;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
> .nz-icon {
|
|
49
|
+
> * {
|
|
50
|
+
color: var(--iui-color-icon-hover);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 "~@itwin/core-react/lib/core-react/style/themecolors";
|
|
6
|
+
|
|
7
|
+
// Common
|
|
8
|
+
$button-stroke-width: 2px;
|
|
9
|
+
$button-background-color: var(--iui-color-background-hover);
|
|
10
|
+
$button-stroke-color: var(--iui-color-background-disabled);
|
|
11
|
+
$button-stroke-radius: 3px;
|
|
12
|
+
|
|
13
|
+
$icon-color: var(--iui-color-text);
|
|
14
|
+
$pressed-icon-color: hsl(
|
|
15
|
+
var(--iui-color-background-hsl) / var(--iui-opacity-2)
|
|
16
|
+
);
|
|
17
|
+
$hovered-icon-color: var(--iui-color-text-accent-hover);
|
|
18
|
+
$icon-shadow: drop-shadow(
|
|
19
|
+
0 1px 0 hsl(var(--iui-color-background-hsl) / var(--iui-opacity-2))
|
|
20
|
+
);
|
|
21
|
+
$no-shadow: drop-shadow(0 0 0 transparent);
|
|
22
|
+
|
|
23
|
+
$bar-width: 8px;
|
|
24
|
+
$bar-height: 2px;
|
|
25
|
+
$bar-right-corner-radius: 1px;
|
|
26
|
+
|
|
27
|
+
// Mouse + Large screen
|
|
28
|
+
$mls-button-width: 60px;
|
|
29
|
+
$mls-button-height: 60px;
|
|
30
|
+
|
|
31
|
+
$mls-navigation-aid-width: 60px;
|
|
32
|
+
$mls-navigation-aid-height: 60px;
|
|
33
|
+
|
|
34
|
+
$mls-icon-size: 36px;
|
|
35
|
+
|
|
36
|
+
// For ui20 - include 2px for border 40+2=42 due to box-sizing:border-box.
|
|
37
|
+
$mls-small-button-width: 42px;
|
|
38
|
+
$mls-small-button-height: 42px;
|
|
39
|
+
$mls-small-button-icon-size: 24px;
|
|
40
|
+
$mls-small-button-gap: 6px;
|
|
41
|
+
$small-bar-width: 4px;
|
|
42
|
+
$small-bar-height: 2px;
|
|
@@ -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
|
+
$nz-cursors: (nwse-resize, nesw-resize, ew-resize, ns-resize, grabbing);
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
@each $cursor in $nz-cursors {
|
|
9
|
+
&.nz-#{$cursor} {
|
|
10
|
+
* {
|
|
11
|
+
cursor: $cursor !important;
|
|
12
|
+
user-select: none;
|
|
13
|
+
-webkit-user-select: none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.nz-widgetPanels-cursorOverlay_cursor {
|
|
20
|
+
@each $cursor in $nz-cursors {
|
|
21
|
+
&.nz-#{$cursor} {
|
|
22
|
+
cursor: $cursor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
.nz-widgetPanels-expander {
|
|
6
|
+
$size: 1em;
|
|
7
|
+
|
|
8
|
+
position: absolute;
|
|
9
|
+
|
|
10
|
+
&.nz-left {
|
|
11
|
+
width: $size;
|
|
12
|
+
height: 100%;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.nz-right {
|
|
18
|
+
width: $size;
|
|
19
|
+
height: 100%;
|
|
20
|
+
top: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.nz-top {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: $size;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.nz-bottom {
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: $size;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|