@nldd/design-system 0.8.43 → 0.8.44
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/dist/components/actions/button/button.d.ts +19 -1
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +25 -1
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +28 -28
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +7 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
- package/dist/components/actions/button-group/button-group.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +28 -7
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +36 -9
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +25 -25
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +9 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -5
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +19 -15
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +14 -12
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +0 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +20 -17
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
- package/dist/components/actions/toolbar/toolbar.template.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +13 -5
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +5 -5
- package/dist/components/content/code/code.styles.js +3 -3
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +15 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +11 -5
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +6 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -6
- package/dist/components/content/title/title.styles.js +2 -2
- package/dist/components/content/tooltip/tooltip.styles.js +8 -8
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js +6 -6
- package/dist/components/{index-By2jYHEw.js → index-1v33GjGX.js} +2950 -2632
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
- package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +15 -14
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +11 -9
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +23 -17
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +12 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +16 -15
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.d.ts +8 -8
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +16 -16
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +18 -17
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +3 -3
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +17 -16
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +37 -67
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.styles.js +13 -13
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +17 -16
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +12 -12
- package/dist/components/inputs/token/token.styles.js +5 -5
- package/dist/components/inputs/token/token.template.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +4 -4
- package/dist/components/layout/box/box.styles.js +2 -2
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/collection/collection.styles.js +6 -6
- package/dist/components/layout/divider/divider.styles.js +2 -2
- package/dist/components/layout/page/page.styles.js +9 -9
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +15 -14
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +6 -6
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +6 -6
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +14 -14
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +6 -6
- package/dist/components/layout/popover/popover.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.d.ts +17 -4
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +40 -6
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +28 -35
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
- package/dist/components/layout/window/window.styles.js +8 -8
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/list/list.styles.js +13 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
- package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +534 -102
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
- package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +11 -9
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.js.map +1 -0
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
- package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -0
- package/dist/components/navigation/link/link.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +79 -34
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +16 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +22 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +19 -19
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +2 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +12 -0
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +19 -0
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +47 -77
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +23 -16
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +28 -51
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +57 -70
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +15 -15
- package/dist/components/{prism-typescript-BlIir5CV.js → prism-typescript-D2EqsCqV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -7
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
- package/dist/css/rich-text.css +85 -58
- package/dist/css/settings.css +36 -33
- package/dist/utilities/os.d.ts +27 -0
- package/dist/utilities/os.d.ts.map +1 -0
- package/dist/utilities/os.js +60 -0
- package/dist/utilities/os.js.map +1 -0
- package/package.json +5 -5
- package/dist/components/actions/link/link.d.ts.map +0 -1
- package/dist/components/actions/link/link.js.map +0 -1
- package/dist/components/actions/link/link.styles.d.ts.map +0 -1
- package/dist/components/actions/link/link.styles.js.map +0 -1
- package/dist/components/actions/link/link.template.d.ts.map +0 -1
- package/dist/components/actions/link/link.template.js.map +0 -1
- /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.js +0 -0
- /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
|
@@ -10,6 +10,7 @@ export const sheetStyles = css `
|
|
|
10
10
|
|
|
11
11
|
:host {
|
|
12
12
|
--_width: initial;
|
|
13
|
+
--_height: initial;
|
|
13
14
|
|
|
14
15
|
display: block;
|
|
15
16
|
}
|
|
@@ -58,15 +59,15 @@ export const sheetStyles = css `
|
|
|
58
59
|
|
|
59
60
|
.sheet {
|
|
60
61
|
display: flex;
|
|
61
|
-
|
|
62
|
-
border: none;
|
|
63
|
-
padding: 0;
|
|
62
|
+
position: fixed;
|
|
64
63
|
margin: 0;
|
|
65
|
-
|
|
64
|
+
border: none;
|
|
66
65
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
position: fixed;
|
|
69
66
|
outline: none;
|
|
67
|
+
background: var(--semantics-surfaces-background-color);
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
padding: 0;
|
|
70
|
+
flex-direction: column;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
.sheet:focus-visible:not(.is-pointer-focus) {
|
|
@@ -93,9 +94,9 @@ export const sheetStyles = css `
|
|
|
93
94
|
:host([placement='right']) .sheet,
|
|
94
95
|
:host(:not([placement])) .sheet {
|
|
95
96
|
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
97
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
96
98
|
width: min(var(--_width, var(--semantics-sheets-side-md-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
97
99
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
98
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
99
100
|
|
|
100
101
|
@media (min-width: ${lgMin}) {
|
|
101
102
|
width: min(var(--_width, var(--semantics-sheets-side-lg-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
@@ -115,9 +116,9 @@ export const sheetStyles = css `
|
|
|
115
116
|
|
|
116
117
|
:host([placement='left']) .sheet {
|
|
117
118
|
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
119
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
118
120
|
width: min(var(--_width, var(--semantics-sheets-side-md-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
119
121
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
120
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
121
122
|
|
|
122
123
|
@media (min-width: ${lgMin}) {
|
|
123
124
|
width: min(var(--_width, var(--semantics-sheets-side-lg-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
@@ -133,15 +134,22 @@ export const sheetStyles = css `
|
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
/* # Placement: bottom
|
|
137
|
+
/* # Placement: bottom
|
|
138
|
+
|
|
139
|
+
Default height is full (viewport minus top-inset) so visualisation-
|
|
140
|
+
heavy bottom sheets fill the available area without the consumer
|
|
141
|
+
having to opt in. Consumers that want a content-sized sheet pass
|
|
142
|
+
height="fit-content" — max-height already keeps the sheet within
|
|
143
|
+
100dvh - top-inset regardless of the chosen value, so the dismiss-
|
|
144
|
+
tap area at the top is preserved even for oversized custom heights. */
|
|
137
145
|
|
|
138
146
|
:host([placement='bottom']) .sheet {
|
|
139
147
|
inset: auto 0 0 0;
|
|
140
|
-
max-width: var(--semantics-page-sections-body-max-width);
|
|
141
|
-
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
142
|
-
height: auto;
|
|
143
148
|
margin-inline: auto;
|
|
144
149
|
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
150
|
+
max-width: var(--semantics-page-sections-body-max-width);
|
|
151
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
152
|
+
height: var(--_height, calc(100dvh - var(--semantics-sheets-bottom-top-inset)));
|
|
145
153
|
|
|
146
154
|
@media (max-width: ${smMax}) {
|
|
147
155
|
width: 100%;
|
|
@@ -166,32 +174,21 @@ export const sheetStyles = css `
|
|
|
166
174
|
}
|
|
167
175
|
|
|
168
176
|
|
|
169
|
-
/* #
|
|
170
|
-
Force a bottom sheet to take its full max-height (= viewport minus
|
|
171
|
-
the top-inset), so visualisation-heavy content (graph view, full
|
|
172
|
-
editors) doesn't shrink to its intrinsic size. The top-inset stays
|
|
173
|
-
intact: it gives users a tap target to dismiss the sheet and a
|
|
174
|
-
visual cue that this is an overlay, not a full page. The sm
|
|
175
|
-
responsive block below covers the case where any placement
|
|
176
|
-
collapses to a bottom sheet on small viewports. */
|
|
177
|
+
/* # Responsive: sm viewport — all placements become bottom sheet
|
|
177
178
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
/* # Responsive: sm viewport — all placements become bottom sheet */
|
|
179
|
+
The same default-full + opt-out-via-height semantics apply when
|
|
180
|
+
a side sheet collapses to a bottom sheet on sm. */
|
|
184
181
|
|
|
185
182
|
@media (max-width: ${smMax}) {
|
|
186
183
|
:host([placement='right']) .sheet,
|
|
187
184
|
:host(:not([placement])) .sheet,
|
|
188
185
|
:host([placement='left']) .sheet {
|
|
189
186
|
inset: auto 0 0 0;
|
|
187
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
190
188
|
width: 100%;
|
|
191
189
|
max-width: 100%;
|
|
192
|
-
height:
|
|
190
|
+
height: var(--_height, calc(100dvh - var(--semantics-sheets-bottom-top-inset)));
|
|
193
191
|
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
194
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
195
192
|
|
|
196
193
|
&[open] {
|
|
197
194
|
animation: sheet-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
@@ -201,10 +198,6 @@ export const sheetStyles = css `
|
|
|
201
198
|
animation: sheet-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
202
199
|
}
|
|
203
200
|
}
|
|
204
|
-
|
|
205
|
-
:host([full-height]) .sheet {
|
|
206
|
-
height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
207
|
-
}
|
|
208
201
|
}
|
|
209
202
|
|
|
210
203
|
|
|
@@ -222,15 +215,15 @@ export const sheetStyles = css `
|
|
|
222
215
|
|
|
223
216
|
.sheet__body {
|
|
224
217
|
display: flex;
|
|
225
|
-
flex-direction: column;
|
|
226
|
-
flex-grow: 1;
|
|
227
218
|
min-height: 0;
|
|
228
219
|
width: 100%;
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
flex-grow: 1;
|
|
229
222
|
}
|
|
230
223
|
|
|
231
224
|
::slotted(*) {
|
|
232
|
-
flex: 1;
|
|
233
225
|
min-height: 0;
|
|
226
|
+
flex: 1;
|
|
234
227
|
}
|
|
235
228
|
`;
|
|
236
229
|
//# sourceMappingURL=sheet.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"sheet.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA+FP,KAAK;;;;;;;;;;;;;;;;;;;;;;uBAsBL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA+BL,KAAK;;;;;uBAKL,KAAK;;;;uBAIL,KAAK;;;;;;;;;;;;;;;;;;;sBAmBN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C1B,CAAC"}
|
|
@@ -13,9 +13,9 @@ export const spacerStyles = css `
|
|
|
13
13
|
--_size: var(--primitives-space-16);
|
|
14
14
|
|
|
15
15
|
display: block;
|
|
16
|
-
flex-shrink: 0;
|
|
17
16
|
width: var(--_size);
|
|
18
17
|
height: var(--_size);
|
|
18
|
+
flex-shrink: 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:host([hidden]) {
|
|
@@ -58,11 +58,11 @@ export const spacerStyles = css `
|
|
|
58
58
|
/* ## Size: flexible — takes all remaining space in the flex parent */
|
|
59
59
|
|
|
60
60
|
:host([size="flexible"]) {
|
|
61
|
-
flex: 1;
|
|
62
61
|
min-width: 0;
|
|
63
62
|
min-height: 0;
|
|
64
63
|
width: auto;
|
|
65
64
|
height: auto;
|
|
65
|
+
flex: 1;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
:host([size="flexible"][direction="horizontal"]) {
|
|
@@ -106,11 +106,11 @@ export const spacerStyles = css `
|
|
|
106
106
|
:host([sm-size="96"]) { --_size: var(--primitives-space-96); }
|
|
107
107
|
|
|
108
108
|
:host([sm-size="flexible"]) {
|
|
109
|
-
flex: 1;
|
|
110
109
|
min-width: 0;
|
|
111
110
|
min-height: 0;
|
|
112
111
|
width: auto;
|
|
113
112
|
height: auto;
|
|
113
|
+
flex: 1;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
:host([sm-size="flexible"][direction="horizontal"]) {
|
|
@@ -145,11 +145,11 @@ export const spacerStyles = css `
|
|
|
145
145
|
:host([md-size="96"]) { --_size: var(--primitives-space-96); }
|
|
146
146
|
|
|
147
147
|
:host([md-size="flexible"]) {
|
|
148
|
-
flex: 1;
|
|
149
148
|
min-width: 0;
|
|
150
149
|
min-height: 0;
|
|
151
150
|
width: auto;
|
|
152
151
|
height: auto;
|
|
152
|
+
flex: 1;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
:host([md-size="flexible"][direction="horizontal"]) {
|
|
@@ -184,11 +184,11 @@ export const spacerStyles = css `
|
|
|
184
184
|
:host([lg-size="96"]) { --_size: var(--primitives-space-96); }
|
|
185
185
|
|
|
186
186
|
:host([lg-size="flexible"]) {
|
|
187
|
-
flex: 1;
|
|
188
187
|
min-width: 0;
|
|
189
188
|
min-height: 0;
|
|
190
189
|
width: auto;
|
|
191
190
|
height: auto;
|
|
191
|
+
flex: 1;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
:host([lg-size="flexible"][direction="horizontal"]) {
|
|
@@ -8,10 +8,10 @@ export const barSplitViewStyles = css `
|
|
|
8
8
|
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
9
9
|
|
|
10
10
|
display: flex;
|
|
11
|
-
|
|
11
|
+
background-color: var(--_background-color);
|
|
12
12
|
width: 100%;
|
|
13
13
|
height: 100%;
|
|
14
|
-
|
|
14
|
+
flex-direction: column;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:host([background="default"]) {
|
|
@@ -33,10 +33,10 @@ export const barSplitViewStyles = css `
|
|
|
33
33
|
|
|
34
34
|
.bar-split-view {
|
|
35
35
|
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
flex: 1;
|
|
38
36
|
min-height: 0;
|
|
39
37
|
min-width: 0;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
flex: 1;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
|
|
@@ -44,10 +44,10 @@ export const barSplitViewStyles = css `
|
|
|
44
44
|
|
|
45
45
|
.bar-split-view__bar {
|
|
46
46
|
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
flex-shrink: 0;
|
|
49
47
|
min-width: 0;
|
|
50
48
|
overflow: hidden;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
|
|
@@ -62,19 +62,19 @@ export const barSplitViewStyles = css `
|
|
|
62
62
|
|
|
63
63
|
.bar-split-view__main {
|
|
64
64
|
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
flex: 1;
|
|
67
65
|
min-height: 0;
|
|
68
66
|
min-width: 0;
|
|
69
67
|
overflow: hidden;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
flex: 1;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
/* # Slotted */
|
|
74
74
|
|
|
75
75
|
::slotted(*) {
|
|
76
|
-
flex: 1;
|
|
77
76
|
min-height: 0;
|
|
77
|
+
flex: 1;
|
|
78
78
|
}
|
|
79
79
|
`;
|
|
80
80
|
//# sourceMappingURL=bar-split-view.styles.js.map
|
package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js
CHANGED
|
@@ -17,9 +17,9 @@ export const navigationSplitViewStyles = css `
|
|
|
17
17
|
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
18
18
|
|
|
19
19
|
display: flex;
|
|
20
|
+
background-color: var(--_background-color);
|
|
20
21
|
width: 100%;
|
|
21
22
|
height: 100%;
|
|
22
|
-
background-color: var(--_background-color);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
:host([background="default"]) {
|
|
@@ -37,11 +37,11 @@ export const navigationSplitViewStyles = css `
|
|
|
37
37
|
|
|
38
38
|
.navigation-split-view {
|
|
39
39
|
display: flex;
|
|
40
|
-
flex-direction: row;
|
|
41
|
-
flex: 1;
|
|
42
40
|
min-height: 0;
|
|
43
41
|
min-width: 0;
|
|
44
42
|
overflow: hidden;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
flex: 1;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
|
|
@@ -49,11 +49,11 @@ export const navigationSplitViewStyles = css `
|
|
|
49
49
|
|
|
50
50
|
.navigation-split-view__sidebar-pane {
|
|
51
51
|
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
flex-shrink: 0;
|
|
54
52
|
min-height: 0;
|
|
55
53
|
min-width: var(--_sidebar-min-width);
|
|
56
54
|
overflow: hidden;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
flex-shrink: 0;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -61,11 +61,11 @@ export const navigationSplitViewStyles = css `
|
|
|
61
61
|
|
|
62
62
|
.navigation-split-view__secondary-sidebar-pane {
|
|
63
63
|
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
flex-shrink: 0;
|
|
66
64
|
min-height: 0;
|
|
67
65
|
min-width: var(--_secondary-sidebar-min-width);
|
|
68
66
|
overflow: hidden;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
flex-shrink: 0;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
@@ -73,11 +73,11 @@ export const navigationSplitViewStyles = css `
|
|
|
73
73
|
|
|
74
74
|
.navigation-split-view__main-pane {
|
|
75
75
|
display: flex;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
flex: 1;
|
|
78
76
|
min-height: 0;
|
|
79
77
|
min-width: var(--_main-min-width);
|
|
80
78
|
overflow: hidden;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
flex: 1;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
|
|
@@ -103,11 +103,11 @@ export const navigationSplitViewStyles = css `
|
|
|
103
103
|
--context-dismiss-button-display: none;
|
|
104
104
|
|
|
105
105
|
display: flex;
|
|
106
|
-
flex-direction: column;
|
|
107
|
-
flex-shrink: 0;
|
|
108
106
|
min-height: 0;
|
|
109
107
|
min-width: var(--_inspector-min-width);
|
|
110
108
|
overflow: hidden;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
flex-shrink: 0;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
|
|
@@ -125,37 +125,37 @@ export const navigationSplitViewStyles = css `
|
|
|
125
125
|
|
|
126
126
|
.navigation-split-view__inspector-sheet {
|
|
127
127
|
display: flex;
|
|
128
|
-
|
|
129
|
-
border: none;
|
|
130
|
-
padding: 0;
|
|
128
|
+
position: fixed;
|
|
131
129
|
margin: 0;
|
|
132
|
-
|
|
130
|
+
border: none;
|
|
133
131
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
position: fixed;
|
|
136
132
|
outline: none;
|
|
133
|
+
background: var(--semantics-surfaces-background-color);
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
padding: 0;
|
|
136
|
+
flex-direction: column;
|
|
137
137
|
|
|
138
138
|
@media (max-width: ${smMax}) {
|
|
139
139
|
inset: auto 0 0 0;
|
|
140
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
140
141
|
width: 100%;
|
|
141
142
|
max-width: 100%;
|
|
142
143
|
height: auto;
|
|
143
144
|
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
144
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
148
148
|
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
149
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
149
150
|
width: var(--semantics-sheets-side-md-width);
|
|
150
151
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
151
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@media (min-width: ${lgMin}) {
|
|
155
155
|
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
156
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
156
157
|
width: var(--semantics-sheets-side-lg-width);
|
|
157
158
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
158
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
&:focus-visible:not(.is-pointer-focus) {
|
|
@@ -195,10 +195,10 @@ export const navigationSplitViewStyles = css `
|
|
|
195
195
|
|
|
196
196
|
.navigation-split-view__inspector-sheet-body {
|
|
197
197
|
display: flex;
|
|
198
|
-
flex-direction: column;
|
|
199
|
-
flex-grow: 1;
|
|
200
198
|
min-height: 0;
|
|
201
199
|
width: 100%;
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
flex-grow: 1;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
|
|
@@ -216,37 +216,37 @@ export const navigationSplitViewStyles = css `
|
|
|
216
216
|
|
|
217
217
|
.navigation-split-view__sidebar-sheet {
|
|
218
218
|
display: flex;
|
|
219
|
-
|
|
220
|
-
border: none;
|
|
221
|
-
padding: 0;
|
|
219
|
+
position: fixed;
|
|
222
220
|
margin: 0;
|
|
223
|
-
|
|
221
|
+
border: none;
|
|
224
222
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
225
|
-
overflow: hidden;
|
|
226
|
-
position: fixed;
|
|
227
223
|
outline: none;
|
|
224
|
+
background: var(--semantics-surfaces-background-color);
|
|
225
|
+
overflow: hidden;
|
|
226
|
+
padding: 0;
|
|
227
|
+
flex-direction: column;
|
|
228
228
|
|
|
229
229
|
@media (max-width: ${smMax}) {
|
|
230
230
|
inset: auto 0 0 0;
|
|
231
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
231
232
|
width: 100%;
|
|
232
233
|
max-width: 100%;
|
|
233
234
|
height: auto;
|
|
234
235
|
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
235
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
239
239
|
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
240
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
240
241
|
width: var(--semantics-sheets-side-md-width);
|
|
241
242
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
242
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
@media (min-width: ${lgMin}) {
|
|
246
246
|
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
247
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
247
248
|
width: var(--semantics-sheets-side-lg-width);
|
|
248
249
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
249
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
&:focus-visible:not(.is-pointer-focus) {
|
|
@@ -289,10 +289,10 @@ export const navigationSplitViewStyles = css `
|
|
|
289
289
|
--context-dismiss-button-display: block;
|
|
290
290
|
|
|
291
291
|
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
flex-grow: 1;
|
|
294
292
|
min-height: 0;
|
|
295
293
|
width: 100%;
|
|
294
|
+
flex-direction: column;
|
|
295
|
+
flex-grow: 1;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
|
|
@@ -324,8 +324,8 @@ export const navigationSplitViewStyles = css `
|
|
|
324
324
|
/* # Slotted */
|
|
325
325
|
|
|
326
326
|
::slotted(*) {
|
|
327
|
-
flex: 1;
|
|
328
327
|
min-height: 0;
|
|
328
|
+
flex: 1;
|
|
329
329
|
}
|
|
330
330
|
`;
|
|
331
331
|
//# sourceMappingURL=navigation-split-view.styles.js.map
|
package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js
CHANGED
|
@@ -6,9 +6,9 @@ export const sideBySideSplitViewStyles = css `
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
display: flex;
|
|
9
|
+
background-color: var(--_background-color);
|
|
9
10
|
width: 100%;
|
|
10
11
|
height: 100%;
|
|
11
|
-
background-color: var(--_background-color);
|
|
12
12
|
|
|
13
13
|
--_pane-min-width: var(--primitives-area-320); /* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
14
14
|
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
@@ -33,11 +33,11 @@ export const sideBySideSplitViewStyles = css `
|
|
|
33
33
|
|
|
34
34
|
.side-by-side-split-view {
|
|
35
35
|
display: flex;
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
flex: 1;
|
|
38
36
|
min-height: 0;
|
|
39
37
|
min-width: 0;
|
|
40
38
|
overflow: hidden;
|
|
39
|
+
flex-direction: row;
|
|
40
|
+
flex: 1;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
@@ -45,11 +45,11 @@ export const sideBySideSplitViewStyles = css `
|
|
|
45
45
|
|
|
46
46
|
.side-by-side-split-view__pane {
|
|
47
47
|
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
flex: 1;
|
|
50
48
|
min-height: 0;
|
|
51
49
|
min-width: var(--_pane-min-width);
|
|
52
50
|
overflow: hidden;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
flex: 1;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.side-by-side-split-view__pane[hidden] {
|
|
@@ -57,8 +57,8 @@ export const sideBySideSplitViewStyles = css `
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
::slotted(*) {
|
|
60
|
-
flex: 1;
|
|
61
60
|
min-height: 0;
|
|
61
|
+
flex: 1;
|
|
62
62
|
}
|
|
63
63
|
`;
|
|
64
64
|
//# sourceMappingURL=side-by-side-split-view.styles.js.map
|
|
@@ -19,19 +19,19 @@ export const splitViewDividerStyles = css `
|
|
|
19
19
|
|
|
20
20
|
.split-view-divider {
|
|
21
21
|
display: flex;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
22
|
position: relative;
|
|
25
23
|
background-color: var(--semantics-dividers-color);
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
/* # Drag handle */
|
|
30
30
|
|
|
31
31
|
.split-view-divider__drag-handle {
|
|
32
|
-
background-color: var(--semantics-content-secondary-color);
|
|
33
|
-
border-radius: 9999px;
|
|
34
32
|
position: absolute;
|
|
33
|
+
border-radius: 9999px;
|
|
34
|
+
background-color: var(--semantics-content-secondary-color);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
@@ -41,16 +41,16 @@ export const splitViewPaneStyles = css `
|
|
|
41
41
|
|
|
42
42
|
.split-view-pane {
|
|
43
43
|
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
flex: 1;
|
|
46
44
|
min-height: 0;
|
|
47
45
|
min-width: 0;
|
|
48
46
|
overflow: hidden;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
flex: 1;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
::slotted(*) {
|
|
52
|
-
flex: 1;
|
|
53
52
|
min-height: 0;
|
|
53
|
+
flex: 1;
|
|
54
54
|
}
|
|
55
55
|
`;
|
|
56
56
|
//# sourceMappingURL=split-view-pane.styles.js.map
|
|
@@ -6,10 +6,10 @@ export const stackedSplitViewStyles = css `
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
display: flex;
|
|
9
|
-
|
|
9
|
+
background-color: var(--_background-color);
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 100%;
|
|
12
|
-
|
|
12
|
+
flex-direction: column;
|
|
13
13
|
|
|
14
14
|
--_pane-min-height: var(--primitives-area-200); /* Pane min-height — read by JS via getComputedStyle in firstUpdated */
|
|
15
15
|
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
@@ -34,11 +34,11 @@ export const stackedSplitViewStyles = css `
|
|
|
34
34
|
|
|
35
35
|
.stacked-split-view {
|
|
36
36
|
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
flex: 1;
|
|
39
37
|
min-height: 0;
|
|
40
38
|
min-width: 0;
|
|
41
39
|
overflow: hidden;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
flex: 1;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
@@ -46,11 +46,11 @@ export const stackedSplitViewStyles = css `
|
|
|
46
46
|
|
|
47
47
|
.stacked-split-view__pane {
|
|
48
48
|
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
flex: 1;
|
|
51
49
|
min-height: var(--_pane-min-height);
|
|
52
50
|
min-width: 0;
|
|
53
51
|
overflow: hidden;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
flex: 1;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.stacked-split-view__pane[hidden] {
|
|
@@ -58,8 +58,8 @@ export const stackedSplitViewStyles = css `
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
::slotted(*) {
|
|
61
|
-
flex: 1;
|
|
62
61
|
min-height: 0;
|
|
62
|
+
flex: 1;
|
|
63
63
|
}
|
|
64
64
|
`;
|
|
65
65
|
//# sourceMappingURL=stacked-split-view.styles.js.map
|
|
@@ -19,19 +19,19 @@ export const windowStyles = css `
|
|
|
19
19
|
|
|
20
20
|
.window {
|
|
21
21
|
display: flex;
|
|
22
|
-
|
|
22
|
+
position: fixed;
|
|
23
|
+
margin: auto;
|
|
23
24
|
border: none;
|
|
24
|
-
padding: 0;
|
|
25
|
-
background-color: var(--semantics-surfaces-background-color);
|
|
26
25
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
27
26
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
27
|
+
outline: none;
|
|
28
|
+
background-color: var(--semantics-surfaces-background-color);
|
|
28
29
|
overflow: hidden;
|
|
29
|
-
position: fixed;
|
|
30
|
-
margin: auto;
|
|
31
30
|
width: var(--components-window-default-width);
|
|
32
31
|
max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
|
|
33
32
|
max-height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
34
|
-
|
|
33
|
+
padding: 0;
|
|
34
|
+
flex-direction: column;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.window:not([open]) {
|
|
@@ -91,10 +91,10 @@ export const windowStyles = css `
|
|
|
91
91
|
|
|
92
92
|
.window__body {
|
|
93
93
|
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
flex-grow: 1;
|
|
96
94
|
min-height: 0;
|
|
97
95
|
width: 100%;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
flex-grow: 1;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
::slotted(*) {
|
|
@@ -11,14 +11,14 @@ export const cellStyles = css `
|
|
|
11
11
|
--_min-height: 0;
|
|
12
12
|
|
|
13
13
|
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
align-items: flex-start;
|
|
16
|
-
flex-shrink: 0;
|
|
17
|
-
justify-content: center;
|
|
18
14
|
width: var(--_width);
|
|
19
15
|
min-width: var(--_min-width);
|
|
20
16
|
max-width: var(--_max-width);
|
|
21
17
|
min-height: var(--_min-height);
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
justify-content: center;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
:host([hidden]) {
|
|
@@ -36,9 +36,9 @@ export const cellStyles = css `
|
|
|
36
36
|
:host([width='fit-content']),
|
|
37
37
|
:host(:not([width])),
|
|
38
38
|
:host([width='']) {
|
|
39
|
+
width: fit-content;
|
|
39
40
|
flex-grow: 0;
|
|
40
41
|
flex-basis: auto;
|
|
41
|
-
width: fit-content;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:host([width]:not([width='full']):not([width='fit-content']):not([width=''])) {
|