@itwin/appui-react 5.30.1 → 5.32.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 +32 -0
- package/lib/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/appui-react/UiFramework.js +2 -0
- package/lib/appui-react/UiFramework.js.map +1 -1
- package/lib/appui-react/UiFramework.json +4 -1
- package/lib/appui-react/backstage/Backstage.d.ts +33 -0
- package/lib/appui-react/backstage/Backstage.d.ts.map +1 -0
- package/lib/appui-react/backstage/Backstage.js +88 -0
- package/lib/appui-react/backstage/Backstage.js.map +1 -0
- package/lib/appui-react/backstage/Backstage.scss +42 -0
- package/lib/appui-react/backstage/BackstageComposer.d.ts +2 -2
- package/lib/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/appui-react/backstage/BackstageComposer.js +25 -19
- package/lib/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/appui-react/configurableui/ConfigurableUiContent.d.ts +12 -0
- package/lib/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/appui-react/frontstage/ModalFrontstage.d.ts +27 -15
- package/lib/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/appui-react/frontstage/ModalFrontstage.js +16 -20
- package/lib/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/appui-react/frontstage/ModalFrontstage.scss +11 -17
- package/lib/appui-react/hooks/useActiveModalFrontstage.d.ts +8 -0
- package/lib/appui-react/hooks/useActiveModalFrontstage.d.ts.map +1 -0
- package/lib/appui-react/hooks/useActiveModalFrontstage.js +23 -0
- package/lib/appui-react/hooks/useActiveModalFrontstage.js.map +1 -0
- package/lib/appui-react/layout/StandardLayout.d.ts +1 -2
- package/lib/appui-react/layout/StandardLayout.d.ts.map +1 -1
- package/lib/appui-react/layout/StandardLayout.js +9 -9
- package/lib/appui-react/layout/StandardLayout.js.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.js +9 -4
- package/lib/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -6
- package/lib/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
- package/lib/appui-react/widget-panels/ModalFrontstageComposer.js +7 -16
- package/lib/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/Backstage.scss +42 -0
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +11 -17
- package/lib/esm/appui-react/backstage/Backstage.scss +42 -0
- package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +11 -17
- package/lib/public/locales/en/UiFramework.json +4 -1
- package/package.json +7 -7
- package/lib/appui-react/backstage/BackstageComposerItem.d.ts +0 -29
- package/lib/appui-react/backstage/BackstageComposerItem.d.ts.map +0 -1
- package/lib/appui-react/backstage/BackstageComposerItem.js +0 -66
- package/lib/appui-react/backstage/BackstageComposerItem.js.map +0 -1
- package/lib/appui-react/layout/backstage/Backstage.d.ts +0 -42
- package/lib/appui-react/layout/backstage/Backstage.d.ts.map +0 -1
- package/lib/appui-react/layout/backstage/Backstage.js +0 -46
- package/lib/appui-react/layout/backstage/Backstage.js.map +0 -1
- package/lib/appui-react/layout/backstage/Backstage.scss +0 -90
- package/lib/appui-react/layout/backstage/Item.d.ts +0 -38
- package/lib/appui-react/layout/backstage/Item.d.ts.map +0 -1
- package/lib/appui-react/layout/backstage/Item.js +0 -29
- package/lib/appui-react/layout/backstage/Item.js.map +0 -1
- package/lib/appui-react/layout/backstage/Item.scss +0 -107
- package/lib/appui-react/layout/backstage/Separator.d.ts +0 -13
- package/lib/appui-react/layout/backstage/Separator.d.ts.map +0 -1
- package/lib/appui-react/layout/backstage/Separator.js +0 -21
- package/lib/appui-react/layout/backstage/Separator.js.map +0 -1
- package/lib/appui-react/layout/backstage/Separator.scss +0 -10
- package/lib/cjs/appui-react/layout/backstage/Backstage.scss +0 -90
- package/lib/cjs/appui-react/layout/backstage/Item.scss +0 -107
- package/lib/cjs/appui-react/layout/backstage/Separator.scss +0 -10
- package/lib/esm/appui-react/layout/backstage/Backstage.scss +0 -90
- package/lib/esm/appui-react/layout/backstage/Item.scss +0 -107
- package/lib/esm/appui-react/layout/backstage/Separator.scss +0 -10
|
@@ -1,107 +0,0 @@
|
|
|
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/style/breakpoints" as *;
|
|
6
|
-
@use "../prefix" as *;
|
|
7
|
-
@use "../safearea" as *;
|
|
8
|
-
@use "variables" as *;
|
|
9
|
-
|
|
10
|
-
.nz-backstage-item {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
padding-bottom: $nz-backstage-item-spacing;
|
|
15
|
-
padding-top: $nz-backstage-item-spacing;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
@include nz-transition(0.2s ease);
|
|
19
|
-
|
|
20
|
-
@include for-tablet-landscape-down {
|
|
21
|
-
padding-bottom: $nz-backstage-item-spacing-medium;
|
|
22
|
-
padding-top: $nz-backstage-item-spacing-medium;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include for-phone-only {
|
|
26
|
-
padding-bottom: $nz-backstage-item-spacing-small;
|
|
27
|
-
padding-top: $nz-backstage-item-spacing-small;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background: var(--iui-color-background-hover);
|
|
32
|
-
color: var(--iui-color-text-hover);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.nz-active {
|
|
36
|
-
background: var(--iui-color-background-accent-muted);
|
|
37
|
-
|
|
38
|
-
&:before {
|
|
39
|
-
content: "";
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 0;
|
|
42
|
-
left: 0;
|
|
43
|
-
height: 100%;
|
|
44
|
-
margin-left: $nz-backstage-highlight-bar-spacing-left;
|
|
45
|
-
width: $nz-backstage-highlight-bar-spacing-left;
|
|
46
|
-
background: var(--iui-color-border-accent);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.nz-disabled {
|
|
51
|
-
color: var(--iui-color-text-disabled);
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
> .nz-icon {
|
|
56
|
-
display: flex;
|
|
57
|
-
padding-left: $nz-backstage-icon-spacing-left;
|
|
58
|
-
padding-right: $nz-backstage-icon-spacing-right;
|
|
59
|
-
|
|
60
|
-
svg {
|
|
61
|
-
fill: currentColor;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
> div:last-child {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
padding-right: var(--iui-size-s);
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
|
|
71
|
-
> span {
|
|
72
|
-
text-overflow: ellipsis;
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
> span:nth-child(2) {
|
|
78
|
-
margin-top: var(--iui-size-xs);
|
|
79
|
-
font-size: $nz-backstage-subtitle-font-size;
|
|
80
|
-
color: var(--iui-color-text-muted);
|
|
81
|
-
|
|
82
|
-
@include for-tablet-landscape-down {
|
|
83
|
-
font-size: var(--iui-font-size-0);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@include for-phone-only {
|
|
87
|
-
font-size: var(--iui-font-size-0) - 1px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> .nz-badge {
|
|
93
|
-
position: absolute;
|
|
94
|
-
top: 1px;
|
|
95
|
-
left: 5px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.nz-safe-area-left {
|
|
99
|
-
@include nz-safe-area-left;
|
|
100
|
-
|
|
101
|
-
&.nz-active {
|
|
102
|
-
&:before {
|
|
103
|
-
@include nz-safe-area-left(left);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Backstage
|
|
3
|
-
*/
|
|
4
|
-
import "./Separator.scss";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import type { CommonProps } from "@itwin/core-react";
|
|
7
|
-
/** Item separator in the [[Backstage]] component.
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export declare class BackstageSeparator extends React.PureComponent<CommonProps> {
|
|
11
|
-
render(): React.JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/layout/backstage/Separator.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;GAEG;AAEH,qBAAa,kBAAmB,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;IACtD,MAAM;CAUvB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
/** @packageDocumentation
|
|
6
|
-
* @module Backstage
|
|
7
|
-
*/
|
|
8
|
-
import "./Separator.scss";
|
|
9
|
-
import classnames from "classnames";
|
|
10
|
-
import * as React from "react";
|
|
11
|
-
/** Item separator in the [[Backstage]] component.
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
15
|
-
export class BackstageSeparator extends React.PureComponent {
|
|
16
|
-
render() {
|
|
17
|
-
const className = classnames("nz-backstage-separator", this.props.className);
|
|
18
|
-
return (React.createElement("li", { className: className, style: this.props.style, role: "separator" }));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=Separator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../../../../src/appui-react/layout/backstage/Separator.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,4DAA4D;AAC5D,MAAM,OAAO,kBAAmB,SAAQ,KAAK,CAAC,aAA0B;IACtD,MAAM;QACpB,MAAM,SAAS,GAAG,UAAU,CAC1B,wBAAwB,EACxB,IAAI,CAAC,KAAK,CAAC,SAAS,CACrB,CAAC;QAEF,OAAO,CACL,4BAAI,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,WAAW,GAAG,CACvE,CAAC;IACJ,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Backstage\n */\n\nimport \"./Separator.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport type { CommonProps } from \"@itwin/core-react\";\n\n/** Item separator in the [[Backstage]] component.\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class BackstageSeparator extends React.PureComponent<CommonProps> {\n public override render() {\n const className = classnames(\n \"nz-backstage-separator\",\n this.props.className\n );\n\n return (\n <li className={className} style={this.props.style} role=\"separator\" />\n );\n }\n}\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
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-backstage-separator {
|
|
8
|
-
height: $nz-backstage-divider-height;
|
|
9
|
-
background-color: var(--iui-color-border-subtle);
|
|
10
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
@use "~@itwin/core-react/lib/core-react/z-index" as *;
|
|
6
|
-
@use "~@itwin/core-react/lib/core-react/style/breakpoints" as *;
|
|
7
|
-
@use "../prefix" as *;
|
|
8
|
-
@use "../safearea" as *;
|
|
9
|
-
@use "../scrollbar" as *;
|
|
10
|
-
@use "variables" as *;
|
|
11
|
-
|
|
12
|
-
.nz-backstage-backstage {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
position: absolute;
|
|
16
|
-
left: 0;
|
|
17
|
-
top: 0;
|
|
18
|
-
width: $nz-backstage-width;
|
|
19
|
-
height: 100%;
|
|
20
|
-
font-size: $nz-backstage-item-font-size;
|
|
21
|
-
color: var(--iui-color-text);
|
|
22
|
-
background-color: var(--iui-color-background);
|
|
23
|
-
border-right: 1px solid var(--iui-color-border);
|
|
24
|
-
transform: translateX(-100%);
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
|
|
27
|
-
@include uicore-z-index(backstage);
|
|
28
|
-
@include nz-transition(transform 0.25s ease);
|
|
29
|
-
|
|
30
|
-
&.nz-open {
|
|
31
|
-
@include nz-transform(translateX(0%));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@include for-tablet-landscape-down {
|
|
35
|
-
font-size: var(--iui-font-size-1);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include for-phone-only {
|
|
39
|
-
font-size: var(--iui-font-size-0);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
> ul {
|
|
43
|
-
margin: 0;
|
|
44
|
-
padding: 0;
|
|
45
|
-
list-style: none;
|
|
46
|
-
overflow: auto;
|
|
47
|
-
|
|
48
|
-
@include nz-scrollbar;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> .nz-header {
|
|
52
|
-
border-bottom: $nz-backstage-header-divider-width solid
|
|
53
|
-
var(--iui-color-border-subtle);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
> .nz-footer {
|
|
57
|
-
margin-top: auto;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.nz-safe-area-top {
|
|
61
|
-
@include nz-safe-area-top;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.nz-safe-area-bottom {
|
|
65
|
-
@include nz-safe-area-bottom;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.nz-backstage-backstage_overlay {
|
|
70
|
-
position: fixed;
|
|
71
|
-
width: 100%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
top: 0;
|
|
74
|
-
left: 0;
|
|
75
|
-
overflow: hidden;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
visibility: hidden;
|
|
78
|
-
background: transparent;
|
|
79
|
-
@include uicore-z-index(backstage);
|
|
80
|
-
@include nz-transition(0.25s ease);
|
|
81
|
-
|
|
82
|
-
&.nz-open {
|
|
83
|
-
visibility: visible;
|
|
84
|
-
opacity: 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.nz-overlay {
|
|
88
|
-
background-color: $nz-backstage-overlay-background;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
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/style/breakpoints" as *;
|
|
6
|
-
@use "../prefix" as *;
|
|
7
|
-
@use "../safearea" as *;
|
|
8
|
-
@use "variables" as *;
|
|
9
|
-
|
|
10
|
-
.nz-backstage-item {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
padding-bottom: $nz-backstage-item-spacing;
|
|
15
|
-
padding-top: $nz-backstage-item-spacing;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
@include nz-transition(0.2s ease);
|
|
19
|
-
|
|
20
|
-
@include for-tablet-landscape-down {
|
|
21
|
-
padding-bottom: $nz-backstage-item-spacing-medium;
|
|
22
|
-
padding-top: $nz-backstage-item-spacing-medium;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include for-phone-only {
|
|
26
|
-
padding-bottom: $nz-backstage-item-spacing-small;
|
|
27
|
-
padding-top: $nz-backstage-item-spacing-small;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background: var(--iui-color-background-hover);
|
|
32
|
-
color: var(--iui-color-text-hover);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.nz-active {
|
|
36
|
-
background: var(--iui-color-background-accent-muted);
|
|
37
|
-
|
|
38
|
-
&:before {
|
|
39
|
-
content: "";
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 0;
|
|
42
|
-
left: 0;
|
|
43
|
-
height: 100%;
|
|
44
|
-
margin-left: $nz-backstage-highlight-bar-spacing-left;
|
|
45
|
-
width: $nz-backstage-highlight-bar-spacing-left;
|
|
46
|
-
background: var(--iui-color-border-accent);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.nz-disabled {
|
|
51
|
-
color: var(--iui-color-text-disabled);
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
> .nz-icon {
|
|
56
|
-
display: flex;
|
|
57
|
-
padding-left: $nz-backstage-icon-spacing-left;
|
|
58
|
-
padding-right: $nz-backstage-icon-spacing-right;
|
|
59
|
-
|
|
60
|
-
svg {
|
|
61
|
-
fill: currentColor;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
> div:last-child {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
padding-right: var(--iui-size-s);
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
|
|
71
|
-
> span {
|
|
72
|
-
text-overflow: ellipsis;
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
> span:nth-child(2) {
|
|
78
|
-
margin-top: var(--iui-size-xs);
|
|
79
|
-
font-size: $nz-backstage-subtitle-font-size;
|
|
80
|
-
color: var(--iui-color-text-muted);
|
|
81
|
-
|
|
82
|
-
@include for-tablet-landscape-down {
|
|
83
|
-
font-size: var(--iui-font-size-0);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@include for-phone-only {
|
|
87
|
-
font-size: var(--iui-font-size-0) - 1px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> .nz-badge {
|
|
93
|
-
position: absolute;
|
|
94
|
-
top: 1px;
|
|
95
|
-
left: 5px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.nz-safe-area-left {
|
|
99
|
-
@include nz-safe-area-left;
|
|
100
|
-
|
|
101
|
-
&.nz-active {
|
|
102
|
-
&:before {
|
|
103
|
-
@include nz-safe-area-left(left);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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-backstage-separator {
|
|
8
|
-
height: $nz-backstage-divider-height;
|
|
9
|
-
background-color: var(--iui-color-border-subtle);
|
|
10
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
@use "~@itwin/core-react/lib/core-react/z-index" as *;
|
|
6
|
-
@use "~@itwin/core-react/lib/core-react/style/breakpoints" as *;
|
|
7
|
-
@use "../prefix" as *;
|
|
8
|
-
@use "../safearea" as *;
|
|
9
|
-
@use "../scrollbar" as *;
|
|
10
|
-
@use "variables" as *;
|
|
11
|
-
|
|
12
|
-
.nz-backstage-backstage {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
position: absolute;
|
|
16
|
-
left: 0;
|
|
17
|
-
top: 0;
|
|
18
|
-
width: $nz-backstage-width;
|
|
19
|
-
height: 100%;
|
|
20
|
-
font-size: $nz-backstage-item-font-size;
|
|
21
|
-
color: var(--iui-color-text);
|
|
22
|
-
background-color: var(--iui-color-background);
|
|
23
|
-
border-right: 1px solid var(--iui-color-border);
|
|
24
|
-
transform: translateX(-100%);
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
|
|
27
|
-
@include uicore-z-index(backstage);
|
|
28
|
-
@include nz-transition(transform 0.25s ease);
|
|
29
|
-
|
|
30
|
-
&.nz-open {
|
|
31
|
-
@include nz-transform(translateX(0%));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@include for-tablet-landscape-down {
|
|
35
|
-
font-size: var(--iui-font-size-1);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include for-phone-only {
|
|
39
|
-
font-size: var(--iui-font-size-0);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
> ul {
|
|
43
|
-
margin: 0;
|
|
44
|
-
padding: 0;
|
|
45
|
-
list-style: none;
|
|
46
|
-
overflow: auto;
|
|
47
|
-
|
|
48
|
-
@include nz-scrollbar;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> .nz-header {
|
|
52
|
-
border-bottom: $nz-backstage-header-divider-width solid
|
|
53
|
-
var(--iui-color-border-subtle);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
> .nz-footer {
|
|
57
|
-
margin-top: auto;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.nz-safe-area-top {
|
|
61
|
-
@include nz-safe-area-top;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.nz-safe-area-bottom {
|
|
65
|
-
@include nz-safe-area-bottom;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.nz-backstage-backstage_overlay {
|
|
70
|
-
position: fixed;
|
|
71
|
-
width: 100%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
top: 0;
|
|
74
|
-
left: 0;
|
|
75
|
-
overflow: hidden;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
visibility: hidden;
|
|
78
|
-
background: transparent;
|
|
79
|
-
@include uicore-z-index(backstage);
|
|
80
|
-
@include nz-transition(0.25s ease);
|
|
81
|
-
|
|
82
|
-
&.nz-open {
|
|
83
|
-
visibility: visible;
|
|
84
|
-
opacity: 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.nz-overlay {
|
|
88
|
-
background-color: $nz-backstage-overlay-background;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
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/style/breakpoints" as *;
|
|
6
|
-
@use "../prefix" as *;
|
|
7
|
-
@use "../safearea" as *;
|
|
8
|
-
@use "variables" as *;
|
|
9
|
-
|
|
10
|
-
.nz-backstage-item {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
padding-bottom: $nz-backstage-item-spacing;
|
|
15
|
-
padding-top: $nz-backstage-item-spacing;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
@include nz-transition(0.2s ease);
|
|
19
|
-
|
|
20
|
-
@include for-tablet-landscape-down {
|
|
21
|
-
padding-bottom: $nz-backstage-item-spacing-medium;
|
|
22
|
-
padding-top: $nz-backstage-item-spacing-medium;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include for-phone-only {
|
|
26
|
-
padding-bottom: $nz-backstage-item-spacing-small;
|
|
27
|
-
padding-top: $nz-backstage-item-spacing-small;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background: var(--iui-color-background-hover);
|
|
32
|
-
color: var(--iui-color-text-hover);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.nz-active {
|
|
36
|
-
background: var(--iui-color-background-accent-muted);
|
|
37
|
-
|
|
38
|
-
&:before {
|
|
39
|
-
content: "";
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 0;
|
|
42
|
-
left: 0;
|
|
43
|
-
height: 100%;
|
|
44
|
-
margin-left: $nz-backstage-highlight-bar-spacing-left;
|
|
45
|
-
width: $nz-backstage-highlight-bar-spacing-left;
|
|
46
|
-
background: var(--iui-color-border-accent);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.nz-disabled {
|
|
51
|
-
color: var(--iui-color-text-disabled);
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
> .nz-icon {
|
|
56
|
-
display: flex;
|
|
57
|
-
padding-left: $nz-backstage-icon-spacing-left;
|
|
58
|
-
padding-right: $nz-backstage-icon-spacing-right;
|
|
59
|
-
|
|
60
|
-
svg {
|
|
61
|
-
fill: currentColor;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
> div:last-child {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
padding-right: var(--iui-size-s);
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
|
|
71
|
-
> span {
|
|
72
|
-
text-overflow: ellipsis;
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
> span:nth-child(2) {
|
|
78
|
-
margin-top: var(--iui-size-xs);
|
|
79
|
-
font-size: $nz-backstage-subtitle-font-size;
|
|
80
|
-
color: var(--iui-color-text-muted);
|
|
81
|
-
|
|
82
|
-
@include for-tablet-landscape-down {
|
|
83
|
-
font-size: var(--iui-font-size-0);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@include for-phone-only {
|
|
87
|
-
font-size: var(--iui-font-size-0) - 1px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> .nz-badge {
|
|
93
|
-
position: absolute;
|
|
94
|
-
top: 1px;
|
|
95
|
-
left: 5px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.nz-safe-area-left {
|
|
99
|
-
@include nz-safe-area-left;
|
|
100
|
-
|
|
101
|
-
&.nz-active {
|
|
102
|
-
&:before {
|
|
103
|
-
@include nz-safe-area-left(left);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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-backstage-separator {
|
|
8
|
-
height: $nz-backstage-divider-height;
|
|
9
|
-
background-color: var(--iui-color-border-subtle);
|
|
10
|
-
}
|