@itwin/appui-react 3.1.0-dev.24 → 3.1.0-dev.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +109 -16
  2. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts +6 -0
  3. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -0
  4. package/lib/cjs/appui-react/hooks/useUiVisibility.js +27 -0
  5. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -0
  6. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js +1 -1
  7. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  8. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +3 -0
  9. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  10. package/lib/cjs/appui-react/widget-panels/Frontstage.js +10 -6
  11. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  12. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +2 -2
  13. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  14. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +0 -2
  15. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  16. package/lib/cjs/appui-react/widgets/BasicToolWidget.js +3 -17
  17. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  18. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +2 -2
  19. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  20. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +2 -2
  21. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  22. package/lib/cjs/appui-react.d.ts +1 -0
  23. package/lib/cjs/appui-react.d.ts.map +1 -1
  24. package/lib/cjs/appui-react.js +1 -0
  25. package/lib/cjs/appui-react.js.map +1 -1
  26. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts +6 -0
  27. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -0
  28. package/lib/esm/appui-react/hooks/useUiVisibility.js +23 -0
  29. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -0
  30. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js +1 -1
  31. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  32. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +3 -0
  33. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  34. package/lib/esm/appui-react/widget-panels/Frontstage.js +10 -6
  35. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  36. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +1 -1
  37. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  38. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +0 -2
  39. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  40. package/lib/esm/appui-react/widgets/BasicToolWidget.js +1 -14
  41. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  42. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +1 -1
  43. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  44. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +1 -1
  45. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  46. package/lib/esm/appui-react.d.ts +1 -0
  47. package/lib/esm/appui-react.d.ts.map +1 -1
  48. package/lib/esm/appui-react.js +1 -0
  49. package/lib/esm/appui-react.js.map +1 -1
  50. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -1,6 +1,99 @@
1
1
  # Change Log - @itwin/appui-react
2
2
 
3
- This log was last generated on Wed, 12 Jan 2022 14:52:38 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jan 2022 14:00:52 GMT and should not be manually modified.
4
+
5
+ ## 3.0.0
6
+ Mon, 24 Jan 2022 14:00:52 GMT
7
+
8
+ ### Updates
9
+
10
+ - Update ClearHideIsolateEmphasize Tool button definition to work on Models and Categories as well as Elements.
11
+ - The Cartographic creation API now takes an interface as an argument with named properties. This will avoid callers mixing up the order of longitude, latitude, and height.
12
+ - Update colorpicker to support RGB input
13
+ - fix code for breaking change to .query() method
14
+ - Existing ruleset configurations were updated to no longer use deprecated rule versions for iModel.js 3.0.
15
+ - Upgrade target to ES2019 and deliver both a CommonJs and ESModule version of package
16
+ - export CategoryVisibilityHandler
17
+ - Fix ecsql row format
18
+ - getAccessToken always returns a token
19
+ - rename contextId -> iTwinId
20
+ - updated @itwin/browser-authorization to 0.3.1
21
+ - rename to @itwin/appui-react
22
+ - Added UserInfo from itwin-client
23
+ - remove ClientRequestContext and its subclasses
24
+ - Made ConfigurableUiManager.closeUi() public
25
+ - Removed OIDC signin/signout and UserProfileBackstageItem
26
+ - Improve performance of determining visibility state of element and element grouping nodes.
27
+ - Removed 'ModelsTreeProps.enablePreloading' flag
28
+ - Promote standard UI providers from beta to public
29
+ - Initialize StateManager store if necessary during UiFramework initialization.
30
+ - Replace usage of I18N with generic Localization interface.
31
+ - Remove use of UiItemsArbiter
32
+ - Remove UserInfo completely
33
+ - Update snapshots
34
+ - Replaced ContextRegistry with generalized ITwinAccess interface
35
+ - Renamed an iModel's parent container to iTwin
36
+ - Removed references to the deleted config-loader package
37
+ - tool.run and tool.parseAndRun are now async methods
38
+ - Support for TypeDoc v0.22.7. Fix various broken docs links.
39
+ - Refactor SynchUiEventDispatcher to use new UiEventDispatcher from appui-abstract. Deprecate obsolete code.
40
+ - Refactored part of AccuDraw UI & Providing AccuDraw UI documentation
41
+ - Create empty frontstage and UiItemsProviders to populate it and update how ContentGroups are defined.
42
+ - Add missing public/beta types to the barrel file.
43
+ - Add required `width` and `height` props for `CategoryTree`, `ModelsTree` and `SpatialContainmentTree`.
44
+ - Remove `IModelConnectedCategoryTree`, `IModelConnectedModelsTree` and `IModelConnectedSpatialContainmentTree`.
45
+ - Remove deprecated `CategoryTreeWithSearchBox`.
46
+ - Remove deprecated `VisibilityComponent`, `VisibilityWidget` and related types.
47
+ - Clean up deprecated Drag & Drop related APIs
48
+ - Add state variable to control display of view overlay in the viewports.
49
+ - Update to default to using UI2.0/AppUI.
50
+ - Deprecate and promote apis
51
+ - Deprecate obsolete APIs. Publish beta APIs from last release.
52
+ - Update links in API doc comments.
53
+ - Make it possible to set label and execute function for BackstageAppButton
54
+ - Upgraded itwinui-react to 1.16.2. Fixed editor sizes.
55
+ - Ensure duplicate items provided via UiItemProviders are filtered out and only one item per Id is used.
56
+ - Add ability to remove stage launcher entry from backstage if only one stage is available.
57
+ - Remove files generated by bad merge
58
+ - Fix bug where ConditionalStringValue used in some status bar components would cause a crash.
59
+ - Ensure nineZoneState is not set in FrontstageDef until 'isReady' is set.
60
+ - Add support for all existing Indicator Props.
61
+ - Updates to enable frontstageDef to be cached per iModelConnection.
62
+ - Add initializeStateFromUserSettingsProviders to initialize UI state.
63
+ - Update ShowHideManager defaults
64
+ - Update comment.
65
+ - Fix warning shown in unit test by ensuring setState is only processed if state component is mounted.
66
+ - Allow widgets supplied by a UiItemsProvider to specify a default state of floating.
67
+ - Deprecated HorizontalTabs in ui-core. Removed older deprecated items. Updated NextVersion.md.
68
+ - Update to latest itwinui-react
69
+ - Clean up css for status bar entries to avoid unwanted text wrapping.
70
+ - Incorporating iTwinUI-CSS and iTwinUI-React into iModel.js
71
+ - Moved iTwinUI style overrides to ui-core from ui-framework
72
+ - Rename ui directories to match new package names.
73
+ - Deprecated Task/Workflow. Promoted AccuDraw UI to @beta. Added AccuDraw and NavigationAids learning docs.
74
+ - Fix bug that sets the icon on MessageBox.NoSymbol the Success icon.
75
+ - Add prop that prevents popup button panel from unmounting when closed.
76
+ - Update to React 17.
77
+ - Created imodel-components folder & package and moved color, lineweight, navigationaids, quantity, timeline & viewport. Deprecated MessageSeverity in ui-core & added it ui-abstract. Added MessagePresenter interface to ui-abstract.
78
+ - Remove react 16 peer dependency.
79
+ - Filter out duplicate tools that may be registered in different UiItemProviders. First one in wins.
80
+ - Remove itwinUi css overrides.
81
+ - UiFramework and UiIModelComponent initialize method no longer take localization argument, uses IModelApp.localization internally.
82
+ - Remove package react-split-pane.
83
+ - Remove WidgetProvider and associated events.
84
+ - Fixed z-index of status messages to be on top of a dialog
85
+ - Update Tool Setting for UI 1.0 to fix refresh bug.
86
+ - BaseUiItemsProvider class and refactor "standard" providers to subclass it.
87
+ - Undeprecate necessary UI 1.0 classes/interfaces
88
+ - Update standard UI item providers to require a providerId so more than one instance may be used within an app. Usually by different packages providing stages.
89
+ - Replaced ui-core Slider with one from iTwinUi-react. Update DefaultViewOverlay to opt-in to dislay of view overlays.
90
+ - Update to latest types/react package
91
+ - reset to use overflow hidden in floating widgets as it messes up auto-sizing and re-sizing.
92
+ - Add support for widget tab icons in UI-2
93
+ - Update CSS used for ToolSettingEntries in grid layout.
94
+ - Get WidgetState and PanelState from NinzoneState when running in UI 2 mode - single source of truth.
95
+ - Lock down and update version numbers so docs will build.
96
+ - Hide widgets with Hidden defaultState when frontstage is activated.
4
97
 
5
98
  ## 2.19.28
6
99
  Wed, 12 Jan 2022 14:52:38 GMT
@@ -281,9 +374,9 @@ Mon, 24 May 2021 15:58:39 GMT
281
374
  - Clean up styling in StatusBar.css
282
375
  - Set overflow hidden on content Panes used when stage has multiple content views.
283
376
  - Adding ability to override isActive property for BackstageItem
284
- - Add support for child popup windows.
377
+ - Add support for child popup windows.
285
378
  - Replace deprecated ViewManager.forEachViewport() with iterator.
286
- - Update to latest classnames package
379
+ - Update to latest classnames package
287
380
 
288
381
  ## 2.15.6
289
382
  Wed, 26 May 2021 15:55:19 GMT
@@ -440,7 +533,7 @@ Thu, 28 Jan 2021 13:39:27 GMT
440
533
 
441
534
  ### Updates
442
535
 
443
- - Update components that support providing refs via React.forwardRef to work better with document generation.
536
+ - Update components that support providing refs via React.forwardRef to work better with document generation.
444
537
  - Fix backstage not updating when props.items are updated.
445
538
  - Propagate isDisabled MenuItem property to ContextMenuItem disabled property
446
539
  - Added partially visible instances support to VisibilityHandler
@@ -523,7 +616,7 @@ Thu, 19 Nov 2020 17:03:42 GMT
523
616
 
524
617
  ### Updates
525
618
 
526
- - Revert width change to EnumEditor component instead set width to auto only for docked tool settings.
619
+ - Revert width change to EnumEditor component instead set width to auto only for docked tool settings.
527
620
 
528
621
  ## 2.9.0
529
622
  Wed, 18 Nov 2020 16:01:50 GMT
@@ -631,7 +724,7 @@ Thu, 17 Sep 2020 13:16:12 GMT
631
724
 
632
725
  ### Updates
633
726
 
634
- - Add support for a feature flag to control the display of the keyin palette.
727
+ - Add support for a feature flag to control the display of the keyin palette.
635
728
  - BadgeType support for Backstage items
636
729
  - add itemschanged handler so that items provided can be conditionally hidden
637
730
  - Lower case syncEventIds prior to comparison
@@ -787,7 +880,7 @@ Thu, 28 May 2020 22:48:59 GMT
787
880
  ### Updates
788
881
 
789
882
  - Add missing @itwin/core-markup peerDependency
790
- - Add commandItemDef to clearHiddenIsolatedEmphasized elements.
883
+ - Add commandItemDef to clearHiddenIsolatedEmphasized elements.
791
884
  - Fix z-index of Modeless dialogs.
792
885
  - Address React warnings about deprecated methods.
793
886
  - Make methods in HideIsolateEmphasizeManager static so they can be called by other packages.
@@ -828,7 +921,7 @@ Wed, 06 May 2020 13:17:49 GMT
828
921
  - react to renaming of imodeljs-clients
829
922
  - Moved KeyinBrowser component to @beta for 2.0
830
923
  - Using center of Messages indicator as target. Added CSS classname overrides to StatusBarComposer for sections. UI 2.0 color tweaks.
831
- - Fixed FrontendAuthorizationClient type guard.
924
+ - Fixed FrontendAuthorizationClient type guard.
832
925
  - Update GroupButton definition to use ReadonlyArray for child items.
833
926
  - Modal Frontstage styling
834
927
  - Ui 2.0 - Blur the toolbar item background
@@ -836,7 +929,7 @@ Wed, 06 May 2020 13:17:49 GMT
836
929
  - Renamed OIDC constructs for consistency; Removed SAML support.
837
930
  - Fixed popup location when passing htmlElement to UiAdmin functions
838
931
  - Clean up deprecated APIs
839
- - Hide stage panel when panel state is off.
932
+ - Hide stage panel when panel state is off.
840
933
  - Added ability to customize selection handling in VisibilityWidget's Models tree
841
934
  - Made React functional component specifications consistent across UI packages
842
935
  - Slider component tooltipBelow prop & tooltip styling
@@ -883,7 +976,7 @@ Wed, 06 May 2020 13:17:49 GMT
883
976
  - Ability to switch to 9-Zone 2.0
884
977
  - Refactor to remove duplicate ComponentGenerator instatiation. Rename filea nd components to remove React reference.
885
978
  - Update auto-generated dialog items to work with the Tool Settings Bar.
886
- - Moved Property classes and interfaces to ui-abstract package. Created a "DefaultDialogGridContainer" to turn specifications from abstract DialogItems UI into React components.
979
+ - Moved Property classes and interfaces to ui-abstract package. Created a "DefaultDialogGridContainer" to turn specifications from abstract DialogItems UI into React components.
887
980
  - Refactor DefaultToolSettingsProvider to use DialogItemsManager and remove duplicate code.
888
981
  - Fix Indicator to properly load SVG icons.
889
982
  - Refactor DefaultToolSettingsProvider to use the DialogItem interfaces in place of ToolSettings classes.
@@ -953,7 +1046,7 @@ Tue, 10 Dec 2019 18:08:56 GMT
953
1046
 
954
1047
  - Add useActiveIModelConnection hook.
955
1048
  - Allow setting App Iconspec.
956
- - Setup OidcDesktopClient for Electron use cases.
1049
+ - Setup OidcDesktopClient for Electron use cases.
957
1050
  - Fix styling of footer Indicator to work with Themes.
958
1051
  - Disallow plugins from adding tools anywhere but the end of a toolbar.
959
1052
  - [ModelsTree] Merge same-label Subject nodes to avoid duplication
@@ -972,7 +1065,7 @@ Tue, 10 Dec 2019 18:08:56 GMT
972
1065
  - Use exhaustive-deps linter rule.
973
1066
  - Ability to opt-in to toolbar drag interaction.
974
1067
  - Prevent unnecessary resubscribe in useActiveViewport hook.
975
- - Visibility Widget: Treat dictionary model as never private in Categories tree.
1068
+ - Visibility Widget: Treat dictionary model as never private in Categories tree.
976
1069
  - Ability to specify initialWidth for Zone component.
977
1070
  - Removed unused React state variables. Removed unsupported setState calls from render() methods.
978
1071
  - Code cleanup based on code analysis report from lgtm. Updated status field fade-in/out animation.
@@ -1196,7 +1289,7 @@ Mon, 03 Jun 2019 18:09:39 GMT
1196
1289
  - Release tag cleanup and ui-framework unit tests
1197
1290
  - Updated UI package release tags for 1.0 release.
1198
1291
  - Fixed release tag warnings in UI packages
1199
- - Removed use of OidcClientWrapper.
1292
+ - Removed use of OidcClientWrapper.
1200
1293
  - Remove console log message output by SyncUiEventDispatcher. Add Logging.
1201
1294
  - Changed some release tags from @hidden to @internal
1202
1295
  - Add alpha level support for solar timeline
@@ -1243,9 +1336,9 @@ Mon, 13 May 2019 15:52:05 GMT
1243
1336
  - Added SignIn presentational component to ui-components. Removed --ignoreMissingTags extract-api option.
1244
1337
  - Require React & React-dom 16.8
1245
1338
  - Remove IModelApp subclasses
1246
- - Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
1339
+ - Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
1247
1340
  - Added ViewportDialog in ui-test-app, ui-core/ContributeGuidelines.md. TSLint rules in ui-core for no-default-export & completed-docs. @beta release tags.
1248
- - Minimized serialization/deserialization costs when round tripping SAML based AccessToken-s.
1341
+ - Minimized serialization/deserialization costs when round tripping SAML based AccessToken-s.
1249
1342
  - Rename AppState to SessionState to avoid collision with acutal App's state. Add AvailableSectionScopes to SessionState.
1250
1343
  - Move SelectionScope status field from test app to ui-framework. Update icons-generic-webfont version to latest available.
1251
1344
  - Remove need to sync SelectionMethod since it is not changed within tool code.
@@ -1512,7 +1605,7 @@ Thu, 08 Nov 2018 17:59:21 GMT
1512
1605
 
1513
1606
  ### Updates
1514
1607
 
1515
- - OIDC related enhancments (WIP).
1608
+ - OIDC related enhancments (WIP).
1516
1609
  - Updated to TypeScript 3.1
1517
1610
  - ui-core unit tests. Fixed backstage open issue.
1518
1611
  - Zone & Widget initial state, more ui-core unit tests, cleaned up ui-framework index.ts files.
@@ -0,0 +1,6 @@
1
+ /** @packageDocumentation
2
+ * @module Hooks
3
+ */
4
+ /** @internal */
5
+ export declare function useUiVisibility(): boolean;
6
+ //# sourceMappingURL=useUiVisibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useUiVisibility.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/hooks/useUiVisibility.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH,gBAAgB;AAEhB,wBAAgB,eAAe,YAU9B"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Hooks
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.useUiVisibility = void 0;
11
+ const react_1 = require("react");
12
+ const UiFramework_1 = require("../UiFramework");
13
+ /** @internal */
14
+ // istanbul ignore next
15
+ function useUiVisibility() {
16
+ const [uiIsVisible, setUiIsVisible] = (0, react_1.useState)(UiFramework_1.UiFramework.getIsUiVisible());
17
+ (0, react_1.useEffect)(() => {
18
+ const handleUiVisibilityChanged = ((args) => setUiIsVisible(args.visible));
19
+ UiFramework_1.UiFramework.onUiVisibilityChanged.addListener(handleUiVisibilityChanged);
20
+ return () => {
21
+ UiFramework_1.UiFramework.onUiVisibilityChanged.removeListener(handleUiVisibilityChanged);
22
+ };
23
+ }, []);
24
+ return uiIsVisible;
25
+ }
26
+ exports.useUiVisibility = useUiVisibility;
27
+ //# sourceMappingURL=useUiVisibility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useUiVisibility.js","sourceRoot":"","sources":["../../../../src/appui-react/hooks/useUiVisibility.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,iCAA4C;AAC5C,gDAAoE;AAEpE,gBAAgB;AAChB,uBAAuB;AACvB,SAAgB,eAAe;IAC7B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,yBAAW,CAAC,cAAc,EAAE,CAAC,CAAC;IAC7E,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAA2B,EAAQ,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QACxG,yBAAW,CAAC,qBAAqB,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;QACzE,OAAO,GAAG,EAAE;YACV,yBAAW,CAAC,qBAAqB,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAAC;QAC9E,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,WAAW,CAAC;AACrB,CAAC;AAVD,0CAUC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Hooks\r\n */\r\n\r\nimport { useEffect, useState } from \"react\";\r\nimport { UiFramework, UiVisibilityEventArgs } from \"../UiFramework\";\r\n\r\n/** @internal */\r\n// istanbul ignore next\r\nexport function useUiVisibility() {\r\n const [uiIsVisible, setUiIsVisible] = useState(UiFramework.getIsUiVisible());\r\n useEffect(() => {\r\n const handleUiVisibilityChanged = ((args: UiVisibilityEventArgs): void => setUiIsVisible(args.visible));\r\n UiFramework.onUiVisibilityChanged.addListener(handleUiVisibilityChanged);\r\n return () => {\r\n UiFramework.onUiVisibilityChanged.removeListener(handleUiVisibilityChanged);\r\n };\r\n }, []);\r\n return uiIsVisible;\r\n}\r\n"]}
@@ -40,7 +40,7 @@ class AnalysisAnimationTimelineDataProvider extends imodel_components_react_1.Ba
40
40
  if (this.supportsTimelineAnimation && this._viewState.analysisStyle) {
41
41
  // for now just initial settings
42
42
  this.updateSettings({
43
- duration: 5 * 1000,
43
+ duration: 10 * 1000,
44
44
  loop: true,
45
45
  });
46
46
  return true;
@@ -1 +1 @@
1
- {"version":3,"file":"AnalysisAnimationProvider.js","sourceRoot":"","sources":["../../../../src/appui-react/timeline/AnalysisAnimationProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,4EAA4F;AAE5F;;GAEG;AACH,MAAa,qCAAsC,SAAQ,kDAAwB;IAGjF,YAAY,SAAoB,EAAE,QAAyB;QACzD,KAAK,CAAC,QAAQ,CAAC,CAAC;QA8BF,+BAA0B,GAAG,CAAC,iBAAyB,EAAE,EAAE;YACzE,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;YAC3C,uBAAuB;YACvB,IAAI,IAAI,CAAC,SAAS;gBAChB,IAAI,CAAC,SAAS,CAAC,gBAAgB,GAAG,iBAAiB,CAAC;QACxD,CAAC,CAAC;QAEF,uBAAuB;QACP,6BAAwB,GAAG,CAAC,QAA0B,EAAE,EAAE;YACxE,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC,CAAC;QAvCA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,uBAAuB;QACvB,IAAI,SAAS,IAAI,SAAS,CAAC,aAAa,EAAE;YACxC,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;SACvC;IACH,CAAC;IAEe,KAAK,CAAC,gBAAgB;QACpC,mDAAmD;QACnD,uBAAuB;QACvB,IAAI,IAAI,CAAC,SAAS;YAChB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;QAE3D,uBAAuB;QACvB,IAAI,IAAI,CAAC,yBAAyB,IAAI,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACnE,gCAAgC;YAChC,IAAI,CAAC,cAAc,CAAC;gBAClB,QAAQ,EAAE,CAAC,GAAG,IAAI;gBAClB,IAAI,EAAE,IAAI;aACX,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;SACb;QAED,uBAAuB;QACvB,OAAO,KAAK,CAAC;IACf,CAAC;CAaF;AA7CD,sFA6CC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Timeline\r\n */\r\n\r\nimport { ScreenViewport, ViewState } from \"@itwin/core-frontend\";\r\nimport { BaseTimelineDataProvider, PlaybackSettings } from \"@itwin/imodel-components-react\";\r\n\r\n/** Analysis Timeline Data Provider - Allows a TimelineComponent to animate the AnalysisStyle information stored in a ViewState.\r\n * @public\r\n */\r\nexport class AnalysisAnimationTimelineDataProvider extends BaseTimelineDataProvider {\r\n private _viewState: ViewState;\r\n\r\n constructor(viewState: ViewState, viewport?: ScreenViewport) {\r\n super(viewport);\r\n this._viewState = viewState;\r\n\r\n // istanbul ignore else\r\n if (viewState && viewState.analysisStyle) {\r\n this.supportsTimelineAnimation = true;\r\n }\r\n }\r\n\r\n public override async loadTimelineData(): Promise<boolean> {\r\n // if animationFraction is set pointer should match\r\n // istanbul ignore else\r\n if (this._viewport)\r\n this.animationFraction = this._viewport.analysisFraction;\r\n\r\n // istanbul ignore else\r\n if (this.supportsTimelineAnimation && this._viewState.analysisStyle) {\r\n // for now just initial settings\r\n this.updateSettings({\r\n duration: 5 * 1000,\r\n loop: true,\r\n });\r\n\r\n return true;\r\n }\r\n\r\n // istanbul ignore next\r\n return false;\r\n }\r\n\r\n public override onAnimationFractionChanged = (animationFraction: number) => {\r\n this.animationFraction = animationFraction;\r\n // istanbul ignore next\r\n if (this._viewport)\r\n this._viewport.analysisFraction = animationFraction;\r\n };\r\n\r\n // istanbul ignore next\r\n public override onPlaybackSettingChanged = (settings: PlaybackSettings) => {\r\n this.updateSettings(settings);\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"AnalysisAnimationProvider.js","sourceRoot":"","sources":["../../../../src/appui-react/timeline/AnalysisAnimationProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,4EAA4F;AAE5F;;GAEG;AACH,MAAa,qCAAsC,SAAQ,kDAAwB;IAGjF,YAAY,SAAoB,EAAE,QAAyB;QACzD,KAAK,CAAC,QAAQ,CAAC,CAAC;QA8BF,+BAA0B,GAAG,CAAC,iBAAyB,EAAE,EAAE;YACzE,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;YAC3C,uBAAuB;YACvB,IAAI,IAAI,CAAC,SAAS;gBAChB,IAAI,CAAC,SAAS,CAAC,gBAAgB,GAAG,iBAAiB,CAAC;QACxD,CAAC,CAAC;QAEF,uBAAuB;QACP,6BAAwB,GAAG,CAAC,QAA0B,EAAE,EAAE;YACxE,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC,CAAC;QAvCA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,uBAAuB;QACvB,IAAI,SAAS,IAAI,SAAS,CAAC,aAAa,EAAE;YACxC,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;SACvC;IACH,CAAC;IAEe,KAAK,CAAC,gBAAgB;QACpC,mDAAmD;QACnD,uBAAuB;QACvB,IAAI,IAAI,CAAC,SAAS;YAChB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;QAE3D,uBAAuB;QACvB,IAAI,IAAI,CAAC,yBAAyB,IAAI,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACnE,gCAAgC;YAChC,IAAI,CAAC,cAAc,CAAC;gBAClB,QAAQ,EAAE,EAAE,GAAG,IAAI;gBACnB,IAAI,EAAE,IAAI;aACX,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;SACb;QAED,uBAAuB;QACvB,OAAO,KAAK,CAAC;IACf,CAAC;CAaF;AA7CD,sFA6CC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Timeline\r\n */\r\n\r\nimport { ScreenViewport, ViewState } from \"@itwin/core-frontend\";\r\nimport { BaseTimelineDataProvider, PlaybackSettings } from \"@itwin/imodel-components-react\";\r\n\r\n/** Analysis Timeline Data Provider - Allows a TimelineComponent to animate the AnalysisStyle information stored in a ViewState.\r\n * @public\r\n */\r\nexport class AnalysisAnimationTimelineDataProvider extends BaseTimelineDataProvider {\r\n private _viewState: ViewState;\r\n\r\n constructor(viewState: ViewState, viewport?: ScreenViewport) {\r\n super(viewport);\r\n this._viewState = viewState;\r\n\r\n // istanbul ignore else\r\n if (viewState && viewState.analysisStyle) {\r\n this.supportsTimelineAnimation = true;\r\n }\r\n }\r\n\r\n public override async loadTimelineData(): Promise<boolean> {\r\n // if animationFraction is set pointer should match\r\n // istanbul ignore else\r\n if (this._viewport)\r\n this.animationFraction = this._viewport.analysisFraction;\r\n\r\n // istanbul ignore else\r\n if (this.supportsTimelineAnimation && this._viewState.analysisStyle) {\r\n // for now just initial settings\r\n this.updateSettings({\r\n duration: 10 * 1000,\r\n loop: true,\r\n });\r\n\r\n return true;\r\n }\r\n\r\n // istanbul ignore next\r\n return false;\r\n }\r\n\r\n public override onAnimationFractionChanged = (animationFraction: number) => {\r\n this.animationFraction = animationFraction;\r\n // istanbul ignore next\r\n if (this._viewport)\r\n this._viewport.analysisFraction = animationFraction;\r\n };\r\n\r\n // istanbul ignore next\r\n public override onPlaybackSettingChanged = (settings: PlaybackSettings) => {\r\n this.updateSettings(settings);\r\n };\r\n}\r\n"]}
@@ -207,6 +207,9 @@ div.nz-toolSettings-docked .uifw-default-editor:last-child {
207
207
 
208
208
  /* Override the GridLayout case where width is 100% */
209
209
  div.nz-toolSettings-docked {
210
+ border-top: none;
211
+ border-left: none;
212
+ border-right: none;
210
213
  select.uicore-inputs-select.components-cell-editor.components-enum-editor {
211
214
  width: auto;
212
215
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Frontstage.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/Frontstage.tsx"],"names":[],"mappings":"AAMA;;GAEG;AAIH,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAsC,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAmB,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAChG,OAAO,EAGiD,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAC/E,SAAS,EAAqC,QAAQ,EAC7E,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAgE,MAAM,6BAA6B,CAAC;AAG1H,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAgD,MAAM,sBAAsB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAqC7C,gBAAgB;AAChB,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,6BAgB5D;AAcD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,aAAa,QAejE;AAsBD,gBAAgB;AAChB,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,oBA8B/D;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,oCAqBjC,CAAC;AAKH,gBAAgB;AAChB,wBAAgB,2BAA2B,CAAC,EAAE,aAAa,EAAE,EAAE;IAAE,aAAa,EAAE,aAAa,CAAA;CAAE,eAmC9F;AAED,gBAAgB;AAChB,wBAAgB,SAAS,mBAYxB;AAED,gBAAgB;AAChB,wBAAgB,UAAU,CAAC,KAAK,EAAE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AAW,EAAE,MAAM,0BA4BtK"}
@@ -16,6 +16,7 @@ const React = require("react");
16
16
  const core_bentley_1 = require("@itwin/core-bentley");
17
17
  const appui_abstract_1 = require("@itwin/appui-abstract");
18
18
  const core_react_1 = require("@itwin/core-react");
19
+ const components_react_1 = require("@itwin/components-react");
19
20
  const appui_layout_react_1 = require("@itwin/appui-layout-react");
20
21
  const Frontstage_1 = require("../frontstage/Frontstage");
21
22
  const FrontstageManager_1 = require("../frontstage/FrontstageManager");
@@ -32,17 +33,20 @@ const Toolbars_1 = require("./Toolbars");
32
33
  const ToolSettings_1 = require("./ToolSettings");
33
34
  const useEscapeSetFocusToHome_1 = require("../hooks/useEscapeSetFocusToHome");
34
35
  const react_redux_1 = require("react-redux");
36
+ const useUiVisibility_1 = require("../hooks/useUiVisibility");
35
37
  const panelZoneKeys = ["start", "middle", "end"];
36
38
  // istanbul ignore next
37
39
  const WidgetPanelsFrontstageComponent = React.memo(function WidgetPanelsFrontstageComponent() {
38
40
  const activeModalFrontstageInfo = (0, ModalFrontstageComposer_1.useActiveModalFrontstageInfo)();
41
+ const uiIsVisible = (0, useUiVisibility_1.useUiVisibility)();
39
42
  return (React.createElement(React.Fragment, null,
40
- React.createElement(ModalFrontstageComposer_1.ModalFrontstageComposer, { stageInfo: activeModalFrontstageInfo }),
41
- React.createElement(ToolSettings_1.WidgetPanelsToolSettings, null),
42
- React.createElement(appui_layout_react_1.WidgetPanels, { className: "uifw-widgetPanels", centerContent: React.createElement(Toolbars_1.WidgetPanelsToolbars, null) },
43
- React.createElement(FrontstageContent_1.WidgetPanelsFrontstageContent, null)),
44
- React.createElement(StatusBar_1.WidgetPanelsStatusBar, null),
45
- React.createElement(appui_layout_react_1.FloatingWidgets, null)));
43
+ React.createElement(components_react_1.ToolbarPopupAutoHideContext.Provider, { value: !uiIsVisible },
44
+ React.createElement(ModalFrontstageComposer_1.ModalFrontstageComposer, { stageInfo: activeModalFrontstageInfo }),
45
+ React.createElement(ToolSettings_1.WidgetPanelsToolSettings, null),
46
+ React.createElement(appui_layout_react_1.WidgetPanels, { className: "uifw-widgetPanels", centerContent: React.createElement(Toolbars_1.WidgetPanelsToolbars, null) },
47
+ React.createElement(FrontstageContent_1.WidgetPanelsFrontstageContent, null)),
48
+ React.createElement(StatusBar_1.WidgetPanelsStatusBar, null),
49
+ React.createElement(appui_layout_react_1.FloatingWidgets, null))));
46
50
  });
47
51
  const widgetContent = React.createElement(Content_1.WidgetContent, null);
48
52
  const toolSettingsContent = React.createElement(ToolSettings_1.ToolSettingsContent, null);