@cloudscape-design/components-themeable 3.0.1374 → 3.0.1375
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/toolbar/styles.scss +4 -0
- package/lib/internal/scss/container/styles.scss +10 -0
- package/lib/internal/scss/expandable-section/styles.scss +16 -0
- package/lib/internal/scss/flashbar/collapsible.scss +22 -45
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/table/body-cell/styles.scss +7 -0
- package/lib/internal/scss/table/header-cell/styles.scss +12 -0
- package/lib/internal/scss/table/sticky-columns/sticky-boundary.scss +24 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/contexts.d.ts +4 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/contexts.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/contexts.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts +3 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/slots.d.ts +3 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/slots.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/slots.js +8 -5
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/slots.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts +4 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js +27 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.d.ts +7 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.d.ts.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.js +16 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +4 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +15 -14
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +35 -31
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +15 -14
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/implementation.d.ts.map +1 -1
- package/lib/internal/template/breadcrumb-group/implementation.js +30 -1
- package/lib/internal/template/breadcrumb-group/implementation.js.map +1 -1
- package/lib/internal/template/container/index.d.ts +3 -1
- package/lib/internal/template/container/index.d.ts.map +1 -1
- package/lib/internal/template/container/index.js +4 -3
- package/lib/internal/template/container/index.js.map +1 -1
- package/lib/internal/template/container/interfaces.d.ts +7 -0
- package/lib/internal/template/container/interfaces.d.ts.map +1 -1
- package/lib/internal/template/container/interfaces.js.map +1 -1
- package/lib/internal/template/container/internal.d.ts +3 -2
- package/lib/internal/template/container/internal.d.ts.map +1 -1
- package/lib/internal/template/container/internal.js +37 -8
- package/lib/internal/template/container/internal.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +34 -33
- package/lib/internal/template/container/styles.scoped.css +77 -56
- package/lib/internal/template/container/styles.selectors.js +34 -33
- package/lib/internal/template/copy-to-clipboard/internal.d.ts.map +1 -1
- package/lib/internal/template/copy-to-clipboard/internal.js +3 -1
- package/lib/internal/template/copy-to-clipboard/internal.js.map +1 -1
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +160 -200
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/icon/generated/icons.d.ts +1 -0
- package/lib/internal/template/icon/generated/icons.d.ts.map +1 -1
- package/lib/internal/template/icon/generated/icons.js +3 -0
- package/lib/internal/template/icon/generated/icons.js.map +1 -1
- package/lib/internal/template/icon-provider/interfaces.d.ts +1 -1
- package/lib/internal/template/icon-provider/interfaces.d.ts.map +1 -1
- package/lib/internal/template/icon-provider/interfaces.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/base-theme/styles.scoped.css +6 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +3 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +3 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +65 -0
- package/lib/internal/template/internal/generated/theming/index.js +65 -0
- package/lib/internal/template/internal/plugins/widget/index.d.ts +5 -1
- package/lib/internal/template/internal/plugins/widget/index.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/widget/index.js +26 -1
- package/lib/internal/template/internal/plugins/widget/index.js.map +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +12 -2
- package/lib/internal/template/internal/plugins/widget/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.js.map +1 -1
- package/lib/internal/template/internal/plugins/widget.d.ts +1 -1
- package/lib/internal/template/internal/plugins/widget.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/widget.js +1 -1
- package/lib/internal/template/internal/plugins/widget.js.map +1 -1
- package/lib/internal/template/plugins/index.d.ts +2 -1
- package/lib/internal/template/plugins/index.d.ts.map +1 -1
- package/lib/internal/template/plugins/index.js +2 -1
- package/lib/internal/template/plugins/index.js.map +1 -1
- package/lib/internal/template/table/header-cell/styles.css.js +38 -38
- package/lib/internal/template/table/header-cell/styles.scoped.css +80 -81
- package/lib/internal/template/table/header-cell/styles.selectors.js +38 -38
- package/lib/internal/template/table/sticky-columns/interfaces.d.ts +2 -0
- package/lib/internal/template/table/sticky-columns/interfaces.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-columns/interfaces.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.js +11 -5
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/utils.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-columns/utils.js +2 -0
- package/lib/internal/template/table/sticky-columns/utils.js.map +1 -1
- package/lib/internal/template/table/utils.d.ts +1 -3
- package/lib/internal/template/table/utils.d.ts.map +1 -1
- package/lib/internal/template/table/utils.js +12 -5
- package/lib/internal/template/table/utils.js.map +1 -1
- package/package.json +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +0 -4785
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../internal/styles/tokens' as awsui;
|
|
7
7
|
@use '../internal/styles' as styles;
|
|
8
|
+
@use '../internal/styles/utils' as utils;
|
|
8
9
|
@use './shared' as shared;
|
|
9
10
|
@use '../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
10
11
|
|
|
@@ -66,6 +67,15 @@
|
|
|
66
67
|
border-end-end-radius: 0;
|
|
67
68
|
border-end-start-radius: 0;
|
|
68
69
|
}
|
|
70
|
+
|
|
71
|
+
&:focus {
|
|
72
|
+
outline: none;
|
|
73
|
+
}
|
|
74
|
+
// On ::after (not the root's own box-shadow) so it survives a consumer style.root.boxShadow.
|
|
75
|
+
&.focus-ring:focus::after {
|
|
76
|
+
@include utils.base-pseudo-element;
|
|
77
|
+
@include styles.container-focus();
|
|
78
|
+
}
|
|
69
79
|
}
|
|
70
80
|
|
|
71
81
|
.with-side-media {
|
|
@@ -30,6 +30,12 @@ $icon-offset-container: awsui.$space-xxs;
|
|
|
30
30
|
// Useful to keep elements correctly aligned.
|
|
31
31
|
$icon-total-space-normal: calc(#{$icon-width-normal} + #{$icon-margin-left} + #{$icon-margin-right-normal});
|
|
32
32
|
$icon-total-space-medium: calc(#{$icon-width-medium} + #{$icon-margin-left} + #{$icon-margin-right-medium});
|
|
33
|
+
// In One Theme the container caret is an x-small (12px) icon with no start margin and
|
|
34
|
+
// $icon-margin-right-small as end margin (see .icon-container below), so it occupies less
|
|
35
|
+
// space than the medium caret. Keep in sync with that rule and with the icon size chosen
|
|
36
|
+
// in expandable-section-header.tsx.
|
|
37
|
+
$icon-width-x-small: 12px;
|
|
38
|
+
$icon-total-space-container-one-theme: calc(#{$icon-width-x-small} + #{$icon-margin-right-small});
|
|
33
39
|
|
|
34
40
|
// Extra inline padding that widens the navigation caret pointer target to 24px (WCAG 2.5.8).
|
|
35
41
|
$nav-caret-pad-normal: calc(24px - #{$icon-width-normal});
|
|
@@ -200,6 +206,9 @@ $nav-caret-pad-one-theme: 12px; // 24px minus the one-theme x-small (12px) icon
|
|
|
200
206
|
}
|
|
201
207
|
&:not(.header-deprecated) {
|
|
202
208
|
padding-inline-start: calc(#{container.$header-padding-horizontal} + #{$icon-total-space-medium});
|
|
209
|
+
@include theming.one-theme-only {
|
|
210
|
+
padding-inline-start: calc(#{container.$header-padding-horizontal} + #{$icon-total-space-container-one-theme});
|
|
211
|
+
}
|
|
203
212
|
}
|
|
204
213
|
|
|
205
214
|
@include focus-visible.when-visible {
|
|
@@ -252,6 +261,13 @@ $nav-caret-pad-one-theme: 12px; // 24px minus the one-theme x-small (12px) icon
|
|
|
252
261
|
|
|
253
262
|
&-container-button {
|
|
254
263
|
margin-inline-start: calc(-1 * #{$icon-total-space-medium});
|
|
264
|
+
// Only when the caret is at the start. The end-icon layout resets this margin
|
|
265
|
+
// below (.header-button-icon-end) and a theme-scoped rule would outrank that reset.
|
|
266
|
+
&:not(.header-button-icon-end) {
|
|
267
|
+
@include theming.one-theme-only {
|
|
268
|
+
margin-inline-start: calc(-1 * #{$icon-total-space-container-one-theme});
|
|
269
|
+
}
|
|
270
|
+
}
|
|
255
271
|
}
|
|
256
272
|
|
|
257
273
|
&-container {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@use '../internal/styles/foundation' as foundation;
|
|
9
9
|
@use '../internal/styles' as styles;
|
|
10
10
|
@use '../internal/styles/typography' as typography;
|
|
11
|
+
@use '../internal/styles/utils/theming' as theming;
|
|
11
12
|
@use './collapsible.motion';
|
|
12
13
|
|
|
13
14
|
$notification-bar-top-overlap: (
|
|
@@ -20,10 +21,7 @@ $notification-bar-collapsed-item-overflow: (
|
|
|
20
21
|
'x': 10px,
|
|
21
22
|
'y': 8px,
|
|
22
23
|
);
|
|
23
|
-
$notification-bar-border-width:
|
|
24
|
-
'classic': 1px,
|
|
25
|
-
'visual-refresh': 2px,
|
|
26
|
-
);
|
|
24
|
+
$notification-bar-border-width: awsui.$border-width-notification-stack-bar;
|
|
27
25
|
|
|
28
26
|
.stack {
|
|
29
27
|
$notification-bar-horizontal-margin: 3 * map.get($notification-bar-collapsed-item-overflow, 'x');
|
|
@@ -137,18 +135,7 @@ the grid layout will be:
|
|
|
137
135
|
.stack.collapsible {
|
|
138
136
|
&:not(.expanded) {
|
|
139
137
|
&:not(.short-list) {
|
|
140
|
-
|
|
141
|
-
@include vertical-spacing(
|
|
142
|
-
map.get($notification-bar-top-overlap, 'collapsed'),
|
|
143
|
-
map.get($notification-bar-border-width, 'classic')
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
&.visual-refresh {
|
|
147
|
-
@include vertical-spacing(
|
|
148
|
-
map.get($notification-bar-top-overlap, 'collapsed'),
|
|
149
|
-
map.get($notification-bar-border-width, 'visual-refresh')
|
|
150
|
-
);
|
|
151
|
-
}
|
|
138
|
+
@include vertical-spacing(map.get($notification-bar-top-overlap, 'collapsed'), $notification-bar-border-width);
|
|
152
139
|
}
|
|
153
140
|
|
|
154
141
|
/*
|
|
@@ -156,22 +143,12 @@ the grid layout will be:
|
|
|
156
143
|
missing third item when there are only 2 items in the stack.
|
|
157
144
|
*/
|
|
158
145
|
&.short-list {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
&.visual-refresh {
|
|
168
|
-
@include vertical-spacing(
|
|
169
|
-
map.get($notification-bar-top-overlap, 'collapsed'),
|
|
170
|
-
map.get($notification-bar-border-width, 'visual-refresh'),
|
|
171
|
-
0px,
|
|
172
|
-
map.get($notification-bar-collapsed-item-overflow, 'y')
|
|
173
|
-
);
|
|
174
|
-
}
|
|
146
|
+
@include vertical-spacing(
|
|
147
|
+
map.get($notification-bar-top-overlap, 'collapsed'),
|
|
148
|
+
$notification-bar-border-width,
|
|
149
|
+
0px,
|
|
150
|
+
map.get($notification-bar-collapsed-item-overflow, 'y')
|
|
151
|
+
);
|
|
175
152
|
}
|
|
176
153
|
}
|
|
177
154
|
|
|
@@ -183,15 +160,12 @@ the grid layout will be:
|
|
|
183
160
|
*/
|
|
184
161
|
@include vertical-spacing(
|
|
185
162
|
map.get($notification-bar-top-overlap, 'expanded'),
|
|
186
|
-
|
|
163
|
+
$notification-bar-border-width,
|
|
187
164
|
awsui.$space-scaled-m
|
|
188
165
|
);
|
|
189
166
|
}
|
|
190
167
|
&.visual-refresh {
|
|
191
|
-
@include vertical-spacing(
|
|
192
|
-
map.get($notification-bar-top-overlap, 'expanded'),
|
|
193
|
-
map.get($notification-bar-border-width, 'visual-refresh')
|
|
194
|
-
);
|
|
168
|
+
@include vertical-spacing(map.get($notification-bar-top-overlap, 'expanded'), $notification-bar-border-width);
|
|
195
169
|
}
|
|
196
170
|
}
|
|
197
171
|
}
|
|
@@ -206,6 +180,8 @@ the grid layout will be:
|
|
|
206
180
|
border-end-end-radius: awsui.$border-radius-button;
|
|
207
181
|
border-block-style: solid;
|
|
208
182
|
border-inline-style: solid;
|
|
183
|
+
border-block-width: $notification-bar-border-width;
|
|
184
|
+
border-inline-width: $notification-bar-border-width;
|
|
209
185
|
box-shadow: awsui.$shadow-panel-toggle;
|
|
210
186
|
color: var(#{custom-props.$styleColorDefault}, awsui.$color-text-notification-stack-bar);
|
|
211
187
|
cursor: pointer;
|
|
@@ -262,27 +238,25 @@ the grid layout will be:
|
|
|
262
238
|
|
|
263
239
|
&:hover {
|
|
264
240
|
background: var(#{custom-props.$styleBackgroundHover}, awsui.$color-background-notification-stack-bar-hover);
|
|
265
|
-
border-color: var(#{custom-props.$styleBorderColorHover}, awsui.$color-
|
|
241
|
+
border-color: var(#{custom-props.$styleBorderColorHover}, awsui.$color-border-notification-stack-bar-hover);
|
|
266
242
|
color: var(#{custom-props.$styleColorHover}, awsui.$color-text-notification-stack-bar);
|
|
267
243
|
}
|
|
268
244
|
|
|
269
245
|
&:active {
|
|
270
246
|
background: var(#{custom-props.$styleBackgroundActive}, awsui.$color-background-notification-stack-bar-active);
|
|
271
|
-
border-color: var(#{custom-props.$styleBorderColorActive}, awsui.$color-
|
|
247
|
+
border-color: var(#{custom-props.$styleBorderColorActive}, awsui.$color-border-notification-stack-bar-active);
|
|
272
248
|
color: var(#{custom-props.$styleColorActive}, awsui.$color-text-notification-stack-bar);
|
|
273
249
|
}
|
|
274
250
|
|
|
275
251
|
&.visual-refresh {
|
|
276
|
-
$border-width: map.get($notification-bar-border-width, 'visual-refresh');
|
|
277
|
-
border-block-width: $border-width;
|
|
278
|
-
border-inline-width: $border-width;
|
|
279
252
|
padding-inline: awsui.$space-l;
|
|
253
|
+
|
|
254
|
+
@include theming.one-theme-only {
|
|
255
|
+
padding-inline: awsui.$space-s;
|
|
256
|
+
}
|
|
280
257
|
}
|
|
281
258
|
|
|
282
259
|
&:not(.visual-refresh) {
|
|
283
|
-
$border-width: map.get($notification-bar-border-width, 'classic');
|
|
284
|
-
border-block-width: $border-width;
|
|
285
|
-
border-inline-width: $border-width;
|
|
286
260
|
padding-inline: awsui.$space-s;
|
|
287
261
|
|
|
288
262
|
&:focus {
|
|
@@ -301,6 +275,9 @@ the grid layout will be:
|
|
|
301
275
|
border-block: 0;
|
|
302
276
|
border-inline: none;
|
|
303
277
|
padding-block: 0;
|
|
278
|
+
@include theming.one-theme-only {
|
|
279
|
+
padding-inline: 0;
|
|
280
|
+
}
|
|
304
281
|
#{custom-props.$styleFocusRingBoxShadow}: 0 0 0
|
|
305
282
|
var(#{custom-props.$styleFocusRingBorderWidth}, foundation.$box-shadow-focused-width)
|
|
306
283
|
var(#{custom-props.$styleFocusRingBorderColor}, awsui.$color-border-notification-stack-bar-focused);
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
9
9
|
@use '../cell-base/cell-box' as cell-base;
|
|
10
|
+
@use '../sticky-columns/sticky-boundary' as sticky-boundary;
|
|
10
11
|
|
|
11
12
|
$cell-horizontal-padding-w-border: calc(#{cell-base.$cell-edge-horizontal-padding} + #{awsui.$border-item-width});
|
|
12
13
|
$selected-border: awsui.$border-width-item-selected solid awsui.$color-border-item-selected;
|
|
@@ -247,6 +248,12 @@ $editing-cell-padding-block: awsui.$space-scaled-xxxs;
|
|
|
247
248
|
clip-path: inset(0 -24px 0 0);
|
|
248
249
|
}
|
|
249
250
|
}
|
|
251
|
+
&-boundary-inline-start {
|
|
252
|
+
@include sticky-boundary.sticky-boundary-border('end');
|
|
253
|
+
}
|
|
254
|
+
&-boundary-inline-end {
|
|
255
|
+
@include sticky-boundary.sticky-boundary-border('start', calc(-1 * #{sticky-boundary.$border-width}));
|
|
256
|
+
}
|
|
250
257
|
}
|
|
251
258
|
|
|
252
259
|
// Use padding as a selected border placeholder to make sure rows don't change height on selection (visual refresh)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '../../internal/styles' as styles;
|
|
9
9
|
@use '../cell-base/cell-box' as cell-base;
|
|
10
|
+
@use '../sticky-columns/sticky-boundary' as sticky-boundary;
|
|
10
11
|
|
|
11
12
|
@mixin when-focus-visible-or-fake {
|
|
12
13
|
@include focus-visible.when-visible {
|
|
@@ -138,6 +139,17 @@
|
|
|
138
139
|
clip-path: inset(0 -24px 0 0);
|
|
139
140
|
}
|
|
140
141
|
}
|
|
142
|
+
&-boundary-inline-start {
|
|
143
|
+
@include sticky-boundary.sticky-boundary-border('end') {
|
|
144
|
+
// The boundary border replaces the short column divider, same as when the cell is stuck.
|
|
145
|
+
& > .resize-divider {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
&-boundary-inline-end {
|
|
151
|
+
@include sticky-boundary.sticky-boundary-border('start', calc(-1 * #{sticky-boundary.$border-width}));
|
|
152
|
+
}
|
|
141
153
|
}
|
|
142
154
|
}
|
|
143
155
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
@use '../../internal/styles/tokens' as awsui;
|
|
5
|
+
@use '../../internal/styles/utils/theming' as theming;
|
|
6
|
+
|
|
7
|
+
$border-width: awsui.$border-divider-list-width;
|
|
8
|
+
|
|
9
|
+
// Adds a persistent border to the sticky column boundary before the scroll shadow appears.
|
|
10
|
+
// The pseudo-element avoids affecting cell width or conflicting with existing shadows.
|
|
11
|
+
@mixin sticky-boundary-border($side, $offset: 0) {
|
|
12
|
+
@include theming.one-theme-only {
|
|
13
|
+
&::after {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset-block: 0;
|
|
17
|
+
inset-inline-#{$side}: $offset;
|
|
18
|
+
inline-size: $border-width;
|
|
19
|
+
background: awsui.$color-border-divider-default;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
}
|
|
22
|
+
@content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import { BreadcrumbGroupProps } from '../../breadcrumb-group/interfaces';
|
|
3
|
+
import { BreadcrumbsGlobalRegistration } from '../../internal/plugins/controllers/breadcrumbs';
|
|
4
|
+
export interface BreadcrumbsSlotContextType {
|
|
3
5
|
isInToolbar: boolean;
|
|
6
|
+
reportOwnBreadcrumbsProps?: (props: BreadcrumbGroupProps) => BreadcrumbsGlobalRegistration<BreadcrumbGroupProps>;
|
|
4
7
|
}
|
|
5
8
|
export declare const BreadcrumbsSlotContext: React.Context<BreadcrumbsSlotContextType | undefined>;
|
|
6
9
|
export declare const AppLayoutVisibilityContext: React.Context<boolean | undefined>;
|
|
7
10
|
export declare const AppLayoutToolbarPublicContext: React.Context<boolean | undefined>;
|
|
8
|
-
export {};
|
|
9
11
|
//# sourceMappingURL=contexts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/contexts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/contexts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,MAAM,WAAW,0BAA0B;IACzC,WAAW,EAAE,OAAO,CAAC;IACrB,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,6BAA6B,CAAC,oBAAoB,CAAC,CAAC;CAClH;AAED,eAAO,MAAM,sBAAsB,uDACkF,CAAC;AAEtH,eAAO,MAAM,0BAA0B,oCAGtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,oCAGzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/contexts.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"contexts.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/contexts.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAQlE,MAAM,CAAC,MAAM,sBAAsB,GACjC,oBAAoB,CAAC,mBAAmB,CAAC,aAAa,CAA6B,KAAK,EAAE,wBAAwB,CAAC,CAAC;AAEtH,MAAM,CAAC,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,aAAa,CAC9F,KAAK,EACL,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,aAAa,CACjG,KAAK,EACL,+BAA+B,CAChC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BreadcrumbGroupProps } from '../../breadcrumb-group/interfaces';\nimport { awsuiPluginsInternal } from '../../internal/plugins/api';\nimport { BreadcrumbsGlobalRegistration } from '../../internal/plugins/controllers/breadcrumbs';\n\nexport interface BreadcrumbsSlotContextType {\n isInToolbar: boolean;\n reportOwnBreadcrumbsProps?: (props: BreadcrumbGroupProps) => BreadcrumbsGlobalRegistration<BreadcrumbGroupProps>;\n}\n\nexport const BreadcrumbsSlotContext =\n awsuiPluginsInternal.sharedReactContexts.createContext<BreadcrumbsSlotContextType>(React, 'BreadcrumbsSlotContext');\n\nexport const AppLayoutVisibilityContext = awsuiPluginsInternal.sharedReactContexts.createContext<boolean>(\n React,\n 'AppLayoutVisibilityContext'\n);\n\nexport const AppLayoutToolbarPublicContext = awsuiPluginsInternal.sharedReactContexts.createContext<boolean>(\n React,\n 'AppLayoutToolbarPublicContext'\n);\n"]}
|
|
@@ -10,6 +10,7 @@ import { OnChangeParams } from '../utils/use-drawers';
|
|
|
10
10
|
import { FocusControlMultipleStates, FocusControlState } from '../utils/use-focus-control';
|
|
11
11
|
import { SplitPanelFocusControlState } from '../utils/use-split-panel-focus-control';
|
|
12
12
|
import { VerticalLayoutOutput } from './compute-layout';
|
|
13
|
+
import { BreadcrumbsSlotContextType } from './contexts';
|
|
13
14
|
import { FeatureNotificationsProps } from './state/use-feature-notifications';
|
|
14
15
|
export interface AppLayoutInternalProps extends AppLayoutPropsWithDefaults {
|
|
15
16
|
navigationTriggerHide?: boolean;
|
|
@@ -87,6 +88,8 @@ export interface AppLayoutInternals {
|
|
|
87
88
|
onActiveAiDrawerResize: (size: number) => void;
|
|
88
89
|
}
|
|
89
90
|
export interface AppLayoutWidgetizedState extends AppLayoutInternals {
|
|
91
|
+
breadcrumbsExternallyOwned?: boolean;
|
|
92
|
+
reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];
|
|
90
93
|
isNested: boolean;
|
|
91
94
|
verticalOffsets: VerticalLayoutOutput;
|
|
92
95
|
navigationAnimationDisabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,MAAM,GAAG;IACnD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,EA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GAAG,CAAC,WAAW,CAAC,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IAExB,eAAe,EAAE,wBAAwB,CAAC;IAE1C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,mBAAmB,EAAE,uBAAuB,CAAC;CAC9C;AAED,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAC9C,cAAc,EACd,oBAAoB,GAAG,qBAAqB,GAAG,iBAAiB,GAAG,SAAS,CAC7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\n\nimport { BreadcrumbGroupProps } from '../../breadcrumb-group/interfaces';\nimport { ButtonGroupProps } from '../../button-group/interfaces';\nimport { SplitPanelSideToggleProps } from '../../internal/context/split-panel-context';\nimport { SomeOptional } from '../../internal/types';\nimport { NonCancelableEventHandler } from '../../types/events';\nimport { AppLayoutProps, AppLayoutPropsWithDefaults } from '../interfaces';\nimport { SplitPanelProviderProps } from '../split-panel';\nimport { OnChangeParams } from '../utils/use-drawers';\nimport { FocusControlMultipleStates, FocusControlState } from '../utils/use-focus-control';\nimport { SplitPanelFocusControlState } from '../utils/use-split-panel-focus-control';\nimport { VerticalLayoutOutput } from './compute-layout';\nimport { FeatureNotificationsProps } from './state/use-feature-notifications';\n\nexport interface AppLayoutInternalProps extends AppLayoutPropsWithDefaults {\n navigationTriggerHide?: boolean;\n}\n\nexport type InternalDrawer = AppLayoutProps.Drawer & {\n defaultActive?: boolean;\n isExpandable?: boolean;\n ariaLabels: AppLayoutProps.Drawer['ariaLabels'] & { expandedModeButton?: string; exitExpandedModeButton?: string };\n header?: React.ReactNode;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n onHeaderActionClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n position?: 'side' | 'bottom';\n onToggleFocusMode?: NonCancelableEventHandler<{ isExpanded: boolean }>;\n};\n\n// Widgetization notice: structures in this file are shared multiple app layout instances, possibly different minor versions.\n// Treat these structures as an API and do not make incompatible changes.\n// Legacy widget interface\nexport interface AppLayoutInternals {\n ariaLabels: AppLayoutPropsWithDefaults['ariaLabels'];\n headerVariant: AppLayoutPropsWithDefaults['headerVariant'];\n placement: AppLayoutPropsWithDefaults['placement'];\n navigationOpen: AppLayoutPropsWithDefaults['navigationOpen'];\n navigationFocusControl: FocusControlState;\n navigation: React.ReactNode;\n splitPanelPosition: AppLayoutProps.SplitPanelPreferences['position'];\n splitPanelOpen: boolean;\n splitPanelControlId: string;\n splitPanelFocusControl: SplitPanelFocusControlState;\n splitPanelToggleConfig: SplitPanelSideToggleProps;\n isMobile: boolean;\n activeDrawer: InternalDrawer | undefined;\n activeDrawerSize: number;\n minDrawerSize: number;\n maxDrawerSize: number;\n minGlobalDrawersSizes: Record<string, number>;\n maxGlobalDrawersSizes: Record<string, number>;\n drawers: ReadonlyArray<InternalDrawer>;\n drawersFocusControl: FocusControlState;\n globalDrawersFocusControl: FocusControlMultipleStates;\n activeGlobalDrawersIds: ReadonlyArray<string>;\n activeGlobalDrawers: ReadonlyArray<InternalDrawer>;\n globalDrawers: ReadonlyArray<InternalDrawer>;\n activeGlobalDrawersSizes: Record<string, number>;\n stickyNotifications: AppLayoutPropsWithDefaults['stickyNotifications'];\n breadcrumbs: React.ReactNode;\n discoveredBreadcrumbs: BreadcrumbGroupProps | null;\n toolbarState: 'show' | 'hide';\n setToolbarState: (state: 'show' | 'hide') => void;\n verticalOffsets: VerticalLayoutOutput;\n drawersOpenQueue: ReadonlyArray<string>;\n setNotificationsHeight: (height: number) => void;\n setToolbarHeight: (height: number) => void;\n onSplitPanelToggle: () => void;\n onNavigationToggle: (open: boolean) => void;\n onActiveDrawerChange: (newDrawerId: string | null, params: OnChangeParams) => void;\n onActiveDrawerResize: (detail: { id: string; size: number }) => void;\n onActiveGlobalDrawersChange: (newDrawerId: string, params: OnChangeParams) => void;\n drawerAnimationDisabled?: boolean;\n splitPanelAnimationDisabled?: boolean;\n expandedDrawerId: string | null;\n setExpandedDrawerId: (value: string | null) => void;\n aiDrawer?: InternalDrawer | null;\n onActiveAiDrawerChange?: (newDrawerId: string | null, params?: OnChangeParams) => void;\n activeAiDrawer?: InternalDrawer | null;\n activeAiDrawerId: string | null;\n activeAiDrawerSize?: number;\n minAiDrawerSize?: number;\n maxAiDrawerSize?: number;\n aiDrawerFocusControl?: FocusControlState;\n onActiveAiDrawerResize: (size: number) => void;\n}\n\nexport interface AppLayoutWidgetizedState extends AppLayoutInternals {\n isNested: boolean;\n verticalOffsets: VerticalLayoutOutput;\n navigationAnimationDisabled: boolean;\n aiDrawerExpandedMode: boolean;\n splitPanelOffsets: {\n stickyVerticalBottomOffset: number;\n mainContentPaddingBlockEnd: number | undefined;\n };\n activeGlobalBottomDrawerId: string | null;\n onActiveGlobalBottomDrawerChange: (value: string | null, params: OnChangeParams) => void;\n activeGlobalBottomDrawerSize: number;\n minGlobalBottomDrawerSize: number;\n bottomDrawerReportedSize: number;\n getMaxGlobalBottomDrawerHeight: () => number;\n reportBottomDrawerSize: (size: number) => void;\n bottomDrawersFocusControl: FocusControlState;\n onActiveBottomDrawerResize: ({ id, size }: { id: string; size: number }) => void;\n bottomDrawers: ReadonlyArray<InternalDrawer>;\n featureNotificationsProps?: FeatureNotificationsProps;\n navigationCollapsible: boolean;\n navigationCollapsedWidth: number;\n}\n\n// New widget interface\nexport interface AppLayoutState {\n rootRef: React.Ref<HTMLElement>;\n isIntersecting: boolean;\n // new state management\n widgetizedState: AppLayoutWidgetizedState;\n // the old object shape for backward compatibility\n appLayoutInternals: AppLayoutInternals;\n splitPanelInternals: SplitPanelProviderProps;\n}\n\nexport type AppLayoutPendingState = SomeOptional<\n AppLayoutState,\n 'appLayoutInternals' | 'splitPanelInternals' | 'widgetizedState' | 'rootRef'\n>;\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh-toolbar/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\n\nimport { BreadcrumbGroupProps } from '../../breadcrumb-group/interfaces';\nimport { ButtonGroupProps } from '../../button-group/interfaces';\nimport { SplitPanelSideToggleProps } from '../../internal/context/split-panel-context';\nimport { SomeOptional } from '../../internal/types';\nimport { NonCancelableEventHandler } from '../../types/events';\nimport { AppLayoutProps, AppLayoutPropsWithDefaults } from '../interfaces';\nimport { SplitPanelProviderProps } from '../split-panel';\nimport { OnChangeParams } from '../utils/use-drawers';\nimport { FocusControlMultipleStates, FocusControlState } from '../utils/use-focus-control';\nimport { SplitPanelFocusControlState } from '../utils/use-split-panel-focus-control';\nimport { VerticalLayoutOutput } from './compute-layout';\nimport { BreadcrumbsSlotContextType } from './contexts';\nimport { FeatureNotificationsProps } from './state/use-feature-notifications';\n\nexport interface AppLayoutInternalProps extends AppLayoutPropsWithDefaults {\n navigationTriggerHide?: boolean;\n}\n\nexport type InternalDrawer = AppLayoutProps.Drawer & {\n defaultActive?: boolean;\n isExpandable?: boolean;\n ariaLabels: AppLayoutProps.Drawer['ariaLabels'] & { expandedModeButton?: string; exitExpandedModeButton?: string };\n header?: React.ReactNode;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n onHeaderActionClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n position?: 'side' | 'bottom';\n onToggleFocusMode?: NonCancelableEventHandler<{ isExpanded: boolean }>;\n};\n\n// Widgetization notice: structures in this file are shared multiple app layout instances, possibly different minor versions.\n// Treat these structures as an API and do not make incompatible changes.\n// Legacy widget interface\nexport interface AppLayoutInternals {\n ariaLabels: AppLayoutPropsWithDefaults['ariaLabels'];\n headerVariant: AppLayoutPropsWithDefaults['headerVariant'];\n placement: AppLayoutPropsWithDefaults['placement'];\n navigationOpen: AppLayoutPropsWithDefaults['navigationOpen'];\n navigationFocusControl: FocusControlState;\n navigation: React.ReactNode;\n splitPanelPosition: AppLayoutProps.SplitPanelPreferences['position'];\n splitPanelOpen: boolean;\n splitPanelControlId: string;\n splitPanelFocusControl: SplitPanelFocusControlState;\n splitPanelToggleConfig: SplitPanelSideToggleProps;\n isMobile: boolean;\n activeDrawer: InternalDrawer | undefined;\n activeDrawerSize: number;\n minDrawerSize: number;\n maxDrawerSize: number;\n minGlobalDrawersSizes: Record<string, number>;\n maxGlobalDrawersSizes: Record<string, number>;\n drawers: ReadonlyArray<InternalDrawer>;\n drawersFocusControl: FocusControlState;\n globalDrawersFocusControl: FocusControlMultipleStates;\n activeGlobalDrawersIds: ReadonlyArray<string>;\n activeGlobalDrawers: ReadonlyArray<InternalDrawer>;\n globalDrawers: ReadonlyArray<InternalDrawer>;\n activeGlobalDrawersSizes: Record<string, number>;\n stickyNotifications: AppLayoutPropsWithDefaults['stickyNotifications'];\n breadcrumbs: React.ReactNode;\n discoveredBreadcrumbs: BreadcrumbGroupProps | null;\n toolbarState: 'show' | 'hide';\n setToolbarState: (state: 'show' | 'hide') => void;\n verticalOffsets: VerticalLayoutOutput;\n drawersOpenQueue: ReadonlyArray<string>;\n setNotificationsHeight: (height: number) => void;\n setToolbarHeight: (height: number) => void;\n onSplitPanelToggle: () => void;\n onNavigationToggle: (open: boolean) => void;\n onActiveDrawerChange: (newDrawerId: string | null, params: OnChangeParams) => void;\n onActiveDrawerResize: (detail: { id: string; size: number }) => void;\n onActiveGlobalDrawersChange: (newDrawerId: string, params: OnChangeParams) => void;\n drawerAnimationDisabled?: boolean;\n splitPanelAnimationDisabled?: boolean;\n expandedDrawerId: string | null;\n setExpandedDrawerId: (value: string | null) => void;\n aiDrawer?: InternalDrawer | null;\n onActiveAiDrawerChange?: (newDrawerId: string | null, params?: OnChangeParams) => void;\n activeAiDrawer?: InternalDrawer | null;\n activeAiDrawerId: string | null;\n activeAiDrawerSize?: number;\n minAiDrawerSize?: number;\n maxAiDrawerSize?: number;\n aiDrawerFocusControl?: FocusControlState;\n onActiveAiDrawerResize: (size: number) => void;\n}\n\nexport interface AppLayoutWidgetizedState extends AppLayoutInternals {\n breadcrumbsExternallyOwned?: boolean;\n reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];\n isNested: boolean;\n verticalOffsets: VerticalLayoutOutput;\n navigationAnimationDisabled: boolean;\n aiDrawerExpandedMode: boolean;\n splitPanelOffsets: {\n stickyVerticalBottomOffset: number;\n mainContentPaddingBlockEnd: number | undefined;\n };\n activeGlobalBottomDrawerId: string | null;\n onActiveGlobalBottomDrawerChange: (value: string | null, params: OnChangeParams) => void;\n activeGlobalBottomDrawerSize: number;\n minGlobalBottomDrawerSize: number;\n bottomDrawerReportedSize: number;\n getMaxGlobalBottomDrawerHeight: () => number;\n reportBottomDrawerSize: (size: number) => void;\n bottomDrawersFocusControl: FocusControlState;\n onActiveBottomDrawerResize: ({ id, size }: { id: string; size: number }) => void;\n bottomDrawers: ReadonlyArray<InternalDrawer>;\n featureNotificationsProps?: FeatureNotificationsProps;\n navigationCollapsible: boolean;\n navigationCollapsedWidth: number;\n}\n\n// New widget interface\nexport interface AppLayoutState {\n rootRef: React.Ref<HTMLElement>;\n isIntersecting: boolean;\n // new state management\n widgetizedState: AppLayoutWidgetizedState;\n // the old object shape for backward compatibility\n appLayoutInternals: AppLayoutInternals;\n splitPanelInternals: SplitPanelProviderProps;\n}\n\nexport type AppLayoutPendingState = SomeOptional<\n AppLayoutState,\n 'appLayoutInternals' | 'splitPanelInternals' | 'widgetizedState' | 'rootRef'\n>;\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BreadcrumbGroupProps } from '../../../breadcrumb-group/interfaces';
|
|
3
|
+
import { BreadcrumbsSlotContextType } from '../contexts';
|
|
3
4
|
interface ToolbarSlotProps {
|
|
4
5
|
className?: string;
|
|
5
6
|
style?: React.CSSProperties;
|
|
@@ -15,7 +16,8 @@ export declare const NotificationsSlot: React.ForwardRefExoticComponent<Notifica
|
|
|
15
16
|
interface BreadcrumbsSlotProps {
|
|
16
17
|
ownBreadcrumbs: React.ReactNode;
|
|
17
18
|
discoveredBreadcrumbs?: BreadcrumbGroupProps | null;
|
|
19
|
+
reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];
|
|
18
20
|
}
|
|
19
|
-
export declare function BreadcrumbsSlot({ ownBreadcrumbs, discoveredBreadcrumbs }: BreadcrumbsSlotProps): JSX.Element;
|
|
21
|
+
export declare function BreadcrumbsSlot({ ownBreadcrumbs, discoveredBreadcrumbs, reportOwnBreadcrumbsProps, }: BreadcrumbsSlotProps): JSX.Element;
|
|
20
22
|
export {};
|
|
21
23
|
//# sourceMappingURL=slots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/slots.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/slots.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAA0B,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAMjF,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,sFAWtB,CAAC;AAEH,UAAU,sBAAsB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,4FAM7B,CAAC;AAEF,UAAU,oBAAoB;IAC5B,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,qBAAqB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACpD,yBAAyB,CAAC,EAAE,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;CACrF;AAID,wBAAgB,eAAe,CAAC,EAC9B,cAAc,EACd,qBAAqB,EACrB,yBAAyB,GAC1B,EAAE,oBAAoB,eAyBtB"}
|
|
@@ -16,11 +16,14 @@ export const ToolbarSlot = React.forwardRef(({ className, style, children }, ref
|
|
|
16
16
|
});
|
|
17
17
|
export const NotificationsSlot = React.forwardRef(({ className, style, children }, ref) => (React.createElement("div", { ref: ref, className: clsx(styles['notifications-container'], className), style: style }, children)));
|
|
18
18
|
const breadcrumbsSlotContextValue = { isInToolbar: true };
|
|
19
|
-
export function BreadcrumbsSlot({ ownBreadcrumbs, discoveredBreadcrumbs }) {
|
|
19
|
+
export function BreadcrumbsSlot({ ownBreadcrumbs, discoveredBreadcrumbs, reportOwnBreadcrumbsProps, }) {
|
|
20
20
|
const isSSR = typeof window === 'undefined';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
React.createElement(
|
|
21
|
+
const ownBreadcrumbsSlotContextValue = React.useMemo(() => ({ isInToolbar: true, reportOwnBreadcrumbsProps }), [reportOwnBreadcrumbsProps]);
|
|
22
|
+
return (React.createElement(React.Fragment, null,
|
|
23
|
+
React.createElement(BreadcrumbsSlotContext.Provider, { value: ownBreadcrumbsSlotContextValue },
|
|
24
|
+
React.createElement("div", { className: styles['breadcrumbs-own'] }, ownBreadcrumbs)),
|
|
25
|
+
discoveredBreadcrumbs && !isSSR && (React.createElement(BreadcrumbsSlotContext.Provider, { value: breadcrumbsSlotContextValue },
|
|
26
|
+
React.createElement("div", { className: styles['breadcrumbs-discovered'] },
|
|
27
|
+
React.createElement(BreadcrumbGroupImplementation, { ...discoveredBreadcrumbs, "data-awsui-discovered-breadcrumbs": true, __injectAnalyticsComponentMetadata: true }))))));
|
|
25
28
|
}
|
|
26
29
|
//# sourceMappingURL=slots.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slots.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/slots.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"slots.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/slots.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,sBAAsB,EAA8B,MAAM,aAAa,CAAC;AAEjF,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,aAAa,MAAM,0BAA0B,CAAC;AACrD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAQrC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAgC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,EAAE;;IA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AQ,IAAC,KAAK,EAAE,2BAA2B;YACjE,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC;gBAC9C,oBAAC,6BAA6B,OACxB,qBAAqB,uCACU,IAAI,EACvC,kCAAkC,EAAE,IAAI,GACxC,CACE,CAC0B,CACnC,CACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { BreadcrumbGroupImplementation } from '../../../breadcrumb-group/implementation';\nimport { BreadcrumbGroupProps } from '../../../breadcrumb-group/interfaces';\nimport { BreadcrumbsSlotContext, BreadcrumbsSlotContextType } from '../contexts';\n\nimport testutilStyles from '../../test-classes/styles.css.js';\nimport toolbarStyles from '../toolbar/styles.css.js';\nimport styles from './styles.css.js';\n\ninterface ToolbarSlotProps {\n className?: string;\n style?: React.CSSProperties;\n children?: React.ReactNode;\n}\n\nexport const ToolbarSlot = React.forwardRef<HTMLElement, ToolbarSlotProps>(({ className, style, children }, ref) => (\n <section\n ref={ref as React.Ref<any>}\n className={clsx(styles['toolbar-container'], toolbarStyles['universal-toolbar'], testutilStyles.toolbar, className)}\n style={{\n insetBlockStart: style?.insetBlockStart ?? 0,\n ...style,\n }}\n >\n {children}\n </section>\n));\n\ninterface NotificationsSlotProps {\n className?: string;\n style?: React.CSSProperties;\n children?: React.ReactNode;\n}\n\nexport const NotificationsSlot = React.forwardRef<HTMLElement, NotificationsSlotProps>(\n ({ className, style, children }, ref) => (\n <div ref={ref as React.Ref<any>} className={clsx(styles['notifications-container'], className)} style={style}>\n {children}\n </div>\n )\n);\n\ninterface BreadcrumbsSlotProps {\n ownBreadcrumbs: React.ReactNode;\n discoveredBreadcrumbs?: BreadcrumbGroupProps | null;\n reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];\n}\n\nconst breadcrumbsSlotContextValue = { isInToolbar: true };\n\nexport function BreadcrumbsSlot({\n ownBreadcrumbs,\n discoveredBreadcrumbs,\n reportOwnBreadcrumbsProps,\n}: BreadcrumbsSlotProps) {\n const isSSR = typeof window === 'undefined';\n const ownBreadcrumbsSlotContextValue = React.useMemo(\n () => ({ isInToolbar: true, reportOwnBreadcrumbsProps }),\n [reportOwnBreadcrumbsProps]\n );\n\n return (\n <>\n <BreadcrumbsSlotContext.Provider value={ownBreadcrumbsSlotContextValue}>\n <div className={styles['breadcrumbs-own']}>{ownBreadcrumbs}</div>\n </BreadcrumbsSlotContext.Provider>\n {discoveredBreadcrumbs && !isSSR && (\n <BreadcrumbsSlotContext.Provider value={breadcrumbsSlotContextValue}>\n <div className={styles['breadcrumbs-discovered']}>\n <BreadcrumbGroupImplementation\n {...discoveredBreadcrumbs}\n data-awsui-discovered-breadcrumbs={true}\n __injectAnalyticsComponentMetadata={true}\n />\n </div>\n </BreadcrumbsSlotContext.Provider>\n )}\n </>\n );\n}\n"]}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AppLayoutProps } from '../../../app-layout/interfaces';
|
|
3
3
|
import { BreadcrumbGroupProps } from '../../../breadcrumb-group/interfaces';
|
|
4
|
+
import { BreadcrumbsSlotContextType } from '../contexts';
|
|
4
5
|
interface ToolbarContainerProps {
|
|
5
6
|
children: React.ReactNode;
|
|
6
7
|
hasAiDrawer?: boolean;
|
|
@@ -9,9 +10,11 @@ export declare function ToolbarContainer({ children, hasAiDrawer }: ToolbarConta
|
|
|
9
10
|
interface ToolbarBreadcrumbsSectionProps {
|
|
10
11
|
ownBreadcrumbs: React.ReactNode;
|
|
11
12
|
discoveredBreadcrumbs?: BreadcrumbGroupProps | null;
|
|
13
|
+
breadcrumbsExternallyOwned?: boolean;
|
|
14
|
+
reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];
|
|
12
15
|
includeTestUtils?: boolean;
|
|
13
16
|
}
|
|
14
|
-
export declare function ToolbarBreadcrumbsSection({ ownBreadcrumbs, discoveredBreadcrumbs, includeTestUtils, }: ToolbarBreadcrumbsSectionProps): JSX.Element;
|
|
17
|
+
export declare function ToolbarBreadcrumbsSection({ ownBreadcrumbs, discoveredBreadcrumbs, breadcrumbsExternallyOwned, reportOwnBreadcrumbsProps, includeTestUtils, }: ToolbarBreadcrumbsSectionProps): JSX.Element;
|
|
15
18
|
interface ToolbarSkeletonStructureProps {
|
|
16
19
|
ariaLabels?: AppLayoutProps.Labels;
|
|
17
20
|
expandedDrawerId?: string | null;
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-container.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"toolbar-container.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAOzD,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,qBAAqB,eAMhF;AAED,UAAU,8BAA8B;IACtC,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,qBAAqB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACpD,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,yBAAyB,CAAC,EAAE,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;IACpF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,yBAAyB,CAAC,EACxC,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,gBAAwB,GACzB,EAAE,8BAA8B,eAiBhC;AAED,UAAU,6BAA6B;IACrC,UAAU,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,qBAAqB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACrD;AAED,eAAO,MAAM,wBAAwB,mGA8BpC,CAAC"}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js
CHANGED
|
@@ -9,9 +9,9 @@ import toolbarStyles from '../toolbar/styles.css.js';
|
|
|
9
9
|
export function ToolbarContainer({ children, hasAiDrawer }) {
|
|
10
10
|
return (React.createElement("div", { className: clsx(toolbarStyles['toolbar-container'], hasAiDrawer && toolbarStyles['with-ai-drawer']) }, children));
|
|
11
11
|
}
|
|
12
|
-
export function ToolbarBreadcrumbsSection({ ownBreadcrumbs, discoveredBreadcrumbs, includeTestUtils = false, }) {
|
|
13
|
-
return (React.createElement("div", { className: clsx(toolbarStyles['universal-toolbar-breadcrumbs'], includeTestUtils && testutilStyles.breadcrumbs) },
|
|
14
|
-
React.createElement(BreadcrumbsSlot, { ownBreadcrumbs: ownBreadcrumbs, discoveredBreadcrumbs: discoveredBreadcrumbs })));
|
|
12
|
+
export function ToolbarBreadcrumbsSection({ ownBreadcrumbs, discoveredBreadcrumbs, breadcrumbsExternallyOwned, reportOwnBreadcrumbsProps, includeTestUtils = false, }) {
|
|
13
|
+
return (React.createElement("div", { className: clsx(toolbarStyles['universal-toolbar-breadcrumbs'], breadcrumbsExternallyOwned && toolbarStyles['external-breadcrumbs'], includeTestUtils && testutilStyles.breadcrumbs), "data-awsui-external-breadcrumbs": breadcrumbsExternallyOwned || undefined },
|
|
14
|
+
React.createElement(BreadcrumbsSlot, { ownBreadcrumbs: ownBreadcrumbs, discoveredBreadcrumbs: discoveredBreadcrumbs, reportOwnBreadcrumbsProps: reportOwnBreadcrumbsProps })));
|
|
15
15
|
}
|
|
16
16
|
export const ToolbarSkeletonStructure = React.forwardRef(({ ariaLabels, expandedDrawerId, hasNavigation, navigationOpen, ownBreadcrumbs, discoveredBreadcrumbs }, ref) => {
|
|
17
17
|
var _a;
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-container.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"toolbar-container.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAKxB,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEv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AS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,gBAAgB,mCAAI,SAAS,EACpD,YAAY,EAAE,CAAC,kBAAkB,IAAI,cAAc,EACnD,QAAQ,EAAC,MAAM,EACf,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,EAC9C,OAAO,EAAE,IAAI,EACb,QAAQ,EAAE,CAAC,kBAAkB,IAAI,cAAc,GAC/C,CACE,CACP;YACD,oBAAC,yBAAyB,IACxB,cAAc,EAAE,cAAc,EAC9B,qBAAqB,EAAE,qBAAqB,EAC5C,gBAAgB,EAAE,IAAI,GACtB;YACF,6BAAK,SAAS,EAAE,aAAa,CAAC,2BAA2B,CAAC,GAAI,CAC7C,CACP,CACf,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { AppLayoutProps } from '../../../app-layout/interfaces';\nimport { BreadcrumbGroupProps } from '../../../breadcrumb-group/interfaces';\nimport { BreadcrumbsSlotContextType } from '../contexts';\nimport TriggerButton from '../toolbar/trigger-button';\nimport { BreadcrumbsSlot, ToolbarSlot } from './slots';\n\nimport testutilStyles from '../../test-classes/styles.css.js';\nimport toolbarStyles from '../toolbar/styles.css.js';\n\ninterface ToolbarContainerProps {\n children: React.ReactNode;\n hasAiDrawer?: boolean;\n}\n\nexport function ToolbarContainer({ children, hasAiDrawer }: ToolbarContainerProps) {\n return (\n <div className={clsx(toolbarStyles['toolbar-container'], hasAiDrawer && toolbarStyles['with-ai-drawer'])}>\n {children}\n </div>\n );\n}\n\ninterface ToolbarBreadcrumbsSectionProps {\n ownBreadcrumbs: React.ReactNode;\n discoveredBreadcrumbs?: BreadcrumbGroupProps | null;\n breadcrumbsExternallyOwned?: boolean;\n reportOwnBreadcrumbsProps?: BreadcrumbsSlotContextType['reportOwnBreadcrumbsProps'];\n includeTestUtils?: boolean;\n}\n\nexport function ToolbarBreadcrumbsSection({\n ownBreadcrumbs,\n discoveredBreadcrumbs,\n breadcrumbsExternallyOwned,\n reportOwnBreadcrumbsProps,\n includeTestUtils = false,\n}: ToolbarBreadcrumbsSectionProps) {\n return (\n <div\n className={clsx(\n toolbarStyles['universal-toolbar-breadcrumbs'],\n breadcrumbsExternallyOwned && toolbarStyles['external-breadcrumbs'],\n includeTestUtils && testutilStyles.breadcrumbs\n )}\n data-awsui-external-breadcrumbs={breadcrumbsExternallyOwned || undefined}\n >\n <BreadcrumbsSlot\n ownBreadcrumbs={ownBreadcrumbs}\n discoveredBreadcrumbs={discoveredBreadcrumbs}\n reportOwnBreadcrumbsProps={reportOwnBreadcrumbsProps}\n />\n </div>\n );\n}\n\ninterface ToolbarSkeletonStructureProps {\n ariaLabels?: AppLayoutProps.Labels;\n expandedDrawerId?: string | null;\n hasNavigation?: boolean;\n navigationOpen?: boolean;\n ownBreadcrumbs: React.ReactNode;\n discoveredBreadcrumbs?: BreadcrumbGroupProps | null;\n}\n\nexport const ToolbarSkeletonStructure = React.forwardRef<HTMLElement, ToolbarSkeletonStructureProps>(\n ({ ariaLabels, expandedDrawerId, hasNavigation, navigationOpen, ownBreadcrumbs, discoveredBreadcrumbs }, ref) => {\n const drawerExpandedMode = !!expandedDrawerId;\n // istanbul ignore next: not interactive during SSR\n const noop = () => {};\n return (\n <ToolbarSlot ref={ref}>\n <ToolbarContainer>\n {hasNavigation && (\n <nav className={toolbarStyles['universal-toolbar-nav']}>\n <TriggerButton\n ariaLabel={ariaLabels?.navigationToggle ?? undefined}\n ariaExpanded={!drawerExpandedMode && navigationOpen}\n iconName=\"menu\"\n className={testutilStyles['navigation-toggle']}\n onClick={noop}\n selected={!drawerExpandedMode && navigationOpen}\n />\n </nav>\n )}\n <ToolbarBreadcrumbsSection\n ownBreadcrumbs={ownBreadcrumbs}\n discoveredBreadcrumbs={discoveredBreadcrumbs}\n includeTestUtils={true}\n />\n <div className={toolbarStyles['universal-toolbar-drawers']} />\n </ToolbarContainer>\n </ToolbarSlot>\n );\n }\n);\n"]}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-app-layout.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-app-layout.tsx"],"names":[],"mappings":"AAEA,OAAc,
|
|
1
|
+
{"version":3,"file":"use-app-layout.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-app-layout.tsx"],"names":[],"mappings":"AAEA,OAAc,EACZ,YAAY,EAOb,MAAM,OAAO,CAAC;AAcf,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAYlD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAsB,MAAM,eAAe,CAAC;AAO3E,eAAO,MAAM,YAAY,GACvB,YAAY,OAAO,EACnB,6iBA4BG,sBAAsB,EACzB,YAAY,YAAY,CAAC,cAAc,CAAC,GAAG,CAAC,KAC3C,cAmoBF,CAAC"}
|