@cloudscape-design/components-themeable 3.0.1126 → 3.0.1127
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/resize/styles.scss +1 -1
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +40 -0
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +20 -3
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +87 -86
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +50 -50
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +32 -32
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/resize/styles.css.js +5 -5
- package/lib/internal/template/app-layout/resize/styles.scoped.css +13 -13
- package/lib/internal/template/app-layout/resize/styles.selectors.js +5 -5
- package/lib/internal/template/app-layout/runtime-drawer/index.d.ts +1 -0
- package/lib/internal/template/app-layout/runtime-drawer/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/runtime-drawer/index.js.map +1 -1
- package/lib/internal/template/app-layout/utils/use-drawers.d.ts +1 -1
- package/lib/internal/template/app-layout/utils/use-drawers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/utils/use-drawers.js +4 -2
- package/lib/internal/template/app-layout/utils/use-drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts +13 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js +183 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +27 -26
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +110 -76
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -26
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts +15 -2
- 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/navigation/index.d.ts +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -25
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -52
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -25
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts +4 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +12 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.js +0 -17
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.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 +108 -12
- 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-bottom-drawers.d.ts +33 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js +85 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js +3 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +8 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +34 -7
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +4 -0
- 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 +7 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js +7 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js.map +1 -1
- 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/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js +6 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js.map +1 -1
- package/lib/internal/template/attribute-editor/interfaces.d.ts +2 -0
- package/lib/internal/template/attribute-editor/interfaces.d.ts.map +1 -1
- package/lib/internal/template/attribute-editor/interfaces.js.map +1 -1
- package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
- package/lib/internal/template/attribute-editor/row.js +2 -2
- package/lib/internal/template/attribute-editor/row.js.map +1 -1
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +22 -22
- package/lib/internal/template/button/styles.scoped.css +256 -256
- package/lib/internal/template/button/styles.selectors.js +22 -22
- package/lib/internal/template/button-dropdown/interfaces.d.ts +3 -1
- package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/index.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/index.js +1 -1
- package/lib/internal/template/button-dropdown/item-element/index.js.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +16 -16
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +27 -27
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +16 -16
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +11 -11
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +187 -187
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +73 -73
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +30 -7
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +20 -20
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +48 -48
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +20 -20
- package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
- package/lib/internal/template/internal/components/dropdown/styles.scoped.css +38 -38
- package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +86 -85
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/plugins/controllers/drawers.d.ts +1 -1
- package/lib/internal/template/internal/plugins/controllers/drawers.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/controllers/drawers.js.map +1 -1
- package/lib/internal/template/internal/plugins/widget/index.d.ts +6 -1
- package/lib/internal/template/internal/plugins/widget/index.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/widget/index.js +11 -1
- package/lib/internal/template/internal/plugins/widget/index.js.map +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +2 -1
- 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/link/styles.css.js +20 -20
- package/lib/internal/template/link/styles.scoped.css +103 -103
- package/lib/internal/template/link/styles.selectors.js +20 -20
- package/lib/internal/template/radio-group/styles.css.js +10 -10
- package/lib/internal/template/radio-group/styles.scoped.css +22 -22
- package/lib/internal/template/radio-group/styles.selectors.js +10 -10
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +86 -86
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +13 -13
- package/lib/internal/template/spinner/styles.scoped.css +39 -39
- package/lib/internal/template/spinner/styles.selectors.js +13 -13
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +23 -23
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/top-navigation/interfaces.d.ts +1 -1
- package/lib/internal/template/top-navigation/interfaces.js.map +1 -1
- package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/internal.js +0 -9
- package/lib/internal/template/top-navigation/internal.js.map +1 -1
- package/lib/internal/template/top-navigation/parts/utility.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/parts/utility.js +1 -15
- package/lib/internal/template/top-navigation/parts/utility.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export type InternalDrawer = AppLayoutProps.Drawer & {
|
|
|
23
23
|
header?: React.ReactNode;
|
|
24
24
|
headerActions?: ReadonlyArray<ButtonGroupProps.Item>;
|
|
25
25
|
onHeaderActionClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;
|
|
26
|
+
position?: 'side' | 'bottom';
|
|
26
27
|
};
|
|
27
28
|
export interface AppLayoutInternals {
|
|
28
29
|
ariaLabels: AppLayoutPropsWithDefaults['ariaLabels'];
|
|
@@ -80,7 +81,7 @@ export interface AppLayoutInternals {
|
|
|
80
81
|
aiDrawerFocusControl?: FocusControlState;
|
|
81
82
|
onActiveAiDrawerResize: (size: number) => void;
|
|
82
83
|
}
|
|
83
|
-
interface AppLayoutWidgetizedState extends AppLayoutInternals {
|
|
84
|
+
export interface AppLayoutWidgetizedState extends AppLayoutInternals {
|
|
84
85
|
isNested: boolean;
|
|
85
86
|
verticalOffsets: VerticalLayoutOutput;
|
|
86
87
|
navigationAnimationDisabled: boolean;
|
|
@@ -89,6 +90,19 @@ interface AppLayoutWidgetizedState extends AppLayoutInternals {
|
|
|
89
90
|
stickyVerticalBottomOffset: number;
|
|
90
91
|
mainContentPaddingBlockEnd: number | undefined;
|
|
91
92
|
};
|
|
93
|
+
activeGlobalBottomDrawerId: string | null;
|
|
94
|
+
onActiveGlobalBottomDrawerChange: (value: string | null, params: OnChangeParams) => void;
|
|
95
|
+
activeGlobalBottomDrawerSize: number;
|
|
96
|
+
minGlobalBottomDrawerSize: number;
|
|
97
|
+
bottomDrawerReportedSize: number;
|
|
98
|
+
getMaxGlobalBottomDrawerHeight: () => number;
|
|
99
|
+
reportBottomDrawerSize: (size: number) => void;
|
|
100
|
+
bottomDrawersFocusControl: FocusControlState;
|
|
101
|
+
onActiveBottomDrawerResize: ({ id, size }: {
|
|
102
|
+
id: string;
|
|
103
|
+
size: number;
|
|
104
|
+
}) => void;
|
|
105
|
+
bottomDrawers: ReadonlyArray<InternalDrawer>;
|
|
92
106
|
}
|
|
93
107
|
export interface AppLayoutState {
|
|
94
108
|
rootRef: React.Ref<HTMLElement>;
|
|
@@ -98,5 +112,4 @@ export interface AppLayoutState {
|
|
|
98
112
|
splitPanelInternals: SplitPanelProviderProps;
|
|
99
113
|
}
|
|
100
114
|
export type AppLayoutPendingState = SomeOptional<AppLayoutState, 'appLayoutInternals' | 'splitPanelInternals' | 'widgetizedState' | 'rootRef'>;
|
|
101
|
-
export {};
|
|
102
115
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -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,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC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"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 { NonCancelableEventHandler } from '../../internal/events';\nimport { SomeOptional } from '../../internal/types';\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';\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};\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 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\
|
|
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 { NonCancelableEventHandler } from '../../internal/events';\nimport { SomeOptional } from '../../internal/types';\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';\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};\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 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}\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"]}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { AppLayoutInternals } from '../interfaces';
|
|
3
3
|
interface AppLayoutNavigationImplementationProps {
|
|
4
4
|
appLayoutInternals: AppLayoutInternals;
|
|
5
|
+
bottomDrawerReportedSize?: number;
|
|
5
6
|
}
|
|
6
|
-
export declare function AppLayoutNavigationImplementation({ appLayoutInternals }: AppLayoutNavigationImplementationProps): JSX.Element;
|
|
7
|
+
export declare function AppLayoutNavigationImplementation({ appLayoutInternals, bottomDrawerReportedSize, }: AppLayoutNavigationImplementationProps): JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/navigation/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMnD,UAAU,sCAAsC;IAC9C,kBAAkB,EAAE,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/navigation/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMnD,UAAU,sCAAsC;IAC9C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,wBAAgB,iCAAiC,CAAC,EAChD,kBAAkB,EAClB,wBAAwB,GACzB,EAAE,sCAAsC,eAoExC"}
|
|
@@ -8,10 +8,10 @@ import { getDrawerStyles } from '../compute-layout';
|
|
|
8
8
|
import sharedStyles from '../../resize/styles.css.js';
|
|
9
9
|
import testutilStyles from '../../test-classes/styles.css.js';
|
|
10
10
|
import styles from './styles.css.js';
|
|
11
|
-
export function AppLayoutNavigationImplementation({ appLayoutInternals }) {
|
|
11
|
+
export function AppLayoutNavigationImplementation({ appLayoutInternals, bottomDrawerReportedSize, }) {
|
|
12
12
|
var _a, _b;
|
|
13
13
|
const { ariaLabels, onNavigationToggle, isMobile, navigationOpen, navigation, navigationFocusControl, placement, verticalOffsets, } = appLayoutInternals;
|
|
14
|
-
const { drawerTopOffset, drawerHeight } = getDrawerStyles(verticalOffsets, isMobile, placement);
|
|
14
|
+
const { drawerTopOffset, drawerHeight } = getDrawerStyles(verticalOffsets, isMobile, placement, isMobile ? 0 : (bottomDrawerReportedSize !== null && bottomDrawerReportedSize !== void 0 ? bottomDrawerReportedSize : 0));
|
|
15
15
|
// Close the Navigation drawer on mobile when a user clicks a link inside.
|
|
16
16
|
const onNavigationClick = (event) => {
|
|
17
17
|
const hasLink = findUpUntil(event.target, node => node.tagName === 'A' && !!node.href);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/navigation/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/navigation/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAOrC,MAAM,UAAU,iCAAiC,CAAC,EAChD,kBAAkB,EAClB,wBAAwB,GACe;;IACvC,MAAM,EACJ,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,UAAU,EACV,sBAAsB,EACtB,SAAS,EACT,eAAe,GAChB,GAAG,kBAAkB,CAAC;IAEvB,MAAM,EAAE,eAAe,EAAE,YAAY,EAA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CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,EAC3C,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EACxC,OAAO,EAAC,MAAM,EACd,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,cAAc,CAAC,kBAAkB,CAAC,EAC7C,GAAG,EAAE,sBAAsB,CAAC,IAAI,CAAC,KAAK,EACtC,eAAe,EAAC,OAAO,GACvB,CACE;YACL,UAAU,CACP,CACF,CACP,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 { findUpUntil } from '@cloudscape-design/component-toolkit/dom';\n\nimport { InternalButton } from '../../../button/internal';\nimport { getDrawerStyles } from '../compute-layout';\nimport { AppLayoutInternals } from '../interfaces';\n\nimport sharedStyles from '../../resize/styles.css.js';\nimport testutilStyles from '../../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\ninterface AppLayoutNavigationImplementationProps {\n appLayoutInternals: AppLayoutInternals;\n bottomDrawerReportedSize?: number;\n}\n\nexport function AppLayoutNavigationImplementation({\n appLayoutInternals,\n bottomDrawerReportedSize,\n}: AppLayoutNavigationImplementationProps) {\n const {\n ariaLabels,\n onNavigationToggle,\n isMobile,\n navigationOpen,\n navigation,\n navigationFocusControl,\n placement,\n verticalOffsets,\n } = appLayoutInternals;\n\n const { drawerTopOffset, drawerHeight } = getDrawerStyles(\n verticalOffsets,\n isMobile,\n placement,\n isMobile ? 0 : (bottomDrawerReportedSize ?? 0)\n );\n\n // Close the Navigation drawer on mobile when a user clicks a link inside.\n const onNavigationClick = (event: React.MouseEvent) => {\n const hasLink = findUpUntil(\n event.target as HTMLElement,\n node => node.tagName === 'A' && !!(node as HTMLAnchorElement).href\n );\n if (hasLink && isMobile) {\n onNavigationToggle(false);\n }\n };\n\n return (\n <div\n className={clsx(styles['navigation-container'], sharedStyles['with-motion-horizontal'], {\n [styles['is-navigation-open']]: navigationOpen,\n })}\n style={{\n blockSize: drawerHeight,\n insetBlockStart: drawerTopOffset,\n }}\n >\n <nav\n aria-label={ariaLabels?.navigation ?? undefined}\n className={clsx(\n styles.navigation,\n {\n [testutilStyles['drawer-closed']]: !navigationOpen,\n },\n testutilStyles.navigation\n )}\n aria-hidden={!navigationOpen}\n onClick={onNavigationClick}\n >\n <div className={clsx(styles['hide-navigation'])}>\n <InternalButton\n ariaLabel={ariaLabels?.navigationClose ?? undefined}\n iconName={isMobile ? 'close' : 'angle-left'}\n onClick={() => onNavigationToggle(false)}\n variant=\"icon\"\n formAction=\"none\"\n className={testutilStyles['navigation-close']}\n ref={navigationFocusControl.refs.close}\n analyticsAction=\"close\"\n />\n </div>\n {navigation}\n </nav>\n </div>\n );\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"navigation-container": "awsui_navigation-
|
|
5
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
6
|
-
"navigation": "
|
|
7
|
-
"hide-navigation": "awsui_hide-
|
|
4
|
+
"navigation-container": "awsui_navigation-container_2p2ab_10cja_153",
|
|
5
|
+
"is-navigation-open": "awsui_is-navigation-open_2p2ab_10cja_164",
|
|
6
|
+
"navigation": "awsui_navigation_2p2ab_10cja_153",
|
|
7
|
+
"hide-navigation": "awsui_hide-navigation_2p2ab_10cja_184"
|
|
8
8
|
};
|
|
9
9
|
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css
CHANGED
|
@@ -150,7 +150,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.awsui_navigation-
|
|
153
|
+
.awsui_navigation-container_2p2ab_10cja_153:not(#\9) {
|
|
154
154
|
position: sticky;
|
|
155
155
|
z-index: 830;
|
|
156
156
|
background-color: var(--color-background-container-content-aemn43, #ffffff);
|
|
@@ -161,27 +161,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
161
161
|
display: flex;
|
|
162
162
|
flex-direction: column;
|
|
163
163
|
}
|
|
164
|
-
.awsui_navigation-
|
|
164
|
+
.awsui_navigation-container_2p2ab_10cja_153:not(#\9):not(.awsui_is-navigation-open_2p2ab_10cja_164) {
|
|
165
165
|
inline-size: 0px;
|
|
166
166
|
display: none;
|
|
167
167
|
}
|
|
168
|
-
.awsui_navigation-
|
|
168
|
+
.awsui_navigation-container_2p2ab_10cja_153 > .awsui_navigation_2p2ab_10cja_153:not(#\9) {
|
|
169
169
|
flex-grow: 1;
|
|
170
170
|
block-size: 100%;
|
|
171
171
|
overflow-y: auto;
|
|
172
172
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
173
173
|
overscroll-behavior-y: contain;
|
|
174
|
-
inline-size: var(--awsui-navigation-width-
|
|
174
|
+
inline-size: var(--awsui-navigation-width-lqnbqg);
|
|
175
175
|
position: relative;
|
|
176
176
|
}
|
|
177
177
|
@media (max-width: 688px) {
|
|
178
|
-
.awsui_navigation-
|
|
179
|
-
--awsui-navigation-width-
|
|
178
|
+
.awsui_navigation-container_2p2ab_10cja_153:not(#\9) {
|
|
179
|
+
--awsui-navigation-width-lqnbqg: 100vw;
|
|
180
180
|
z-index: 1001;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.awsui_hide-
|
|
184
|
+
.awsui_hide-navigation_2p2ab_10cja_184:not(#\9) {
|
|
185
185
|
position: absolute;
|
|
186
186
|
inset-inline-end: var(--space-m-n2lypl, 16px);
|
|
187
187
|
inset-block-start: 14px;
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"navigation-container": "awsui_navigation-
|
|
6
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
7
|
-
"navigation": "
|
|
8
|
-
"hide-navigation": "awsui_hide-
|
|
5
|
+
"navigation-container": "awsui_navigation-container_2p2ab_10cja_153",
|
|
6
|
+
"is-navigation-open": "awsui_is-navigation-open_2p2ab_10cja_164",
|
|
7
|
+
"navigation": "awsui_navigation_2p2ab_10cja_153",
|
|
8
|
+
"hide-navigation": "awsui_hide-navigation_2p2ab_10cja_184"
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
6
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
7
|
-
"drawer-expanded-mode": "awsui_drawer-expanded-
|
|
8
|
-
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"tools
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"panel-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"main-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
4
|
+
"root": "awsui_root_7nfqu_rt0is_153",
|
|
5
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_rt0is_197",
|
|
6
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_rt0is_202",
|
|
7
|
+
"drawer-expanded-mode": "awsui_drawer-expanded-mode_7nfqu_rt0is_217",
|
|
8
|
+
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-mode_7nfqu_rt0is_220",
|
|
9
|
+
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-mode_7nfqu_rt0is_223",
|
|
10
|
+
"ai-drawer": "awsui_ai-drawer_7nfqu_rt0is_220",
|
|
11
|
+
"navigation": "awsui_navigation_7nfqu_rt0is_230",
|
|
12
|
+
"tools": "awsui_tools_7nfqu_rt0is_231",
|
|
13
|
+
"global-tools": "awsui_global-tools_7nfqu_rt0is_232",
|
|
14
|
+
"bottom-tool": "awsui_bottom-tool_7nfqu_rt0is_233",
|
|
15
|
+
"tools-open": "awsui_tools-open_7nfqu_rt0is_290",
|
|
16
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_rt0is_304",
|
|
17
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_rt0is_311",
|
|
18
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_rt0is_324",
|
|
19
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_rt0is_334",
|
|
20
|
+
"notifications-container": "awsui_notifications-container_7nfqu_rt0is_341",
|
|
21
|
+
"notifications-background": "awsui_notifications-background_7nfqu_rt0is_345",
|
|
22
|
+
"main-landmark": "awsui_main-landmark_7nfqu_rt0is_356",
|
|
23
|
+
"main": "awsui_main_7nfqu_rt0is_356",
|
|
24
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_rt0is_365",
|
|
25
|
+
"content-header": "awsui_content-header_7nfqu_rt0is_375",
|
|
26
|
+
"content": "awsui_content_7nfqu_rt0is_375",
|
|
27
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_rt0is_385",
|
|
28
|
+
"hidden": "awsui_hidden_7nfqu_rt0is_390",
|
|
29
|
+
"breadcrumbs-own": "awsui_breadcrumbs-own_7nfqu_rt0is_394",
|
|
30
|
+
"breadcrumbs-discovered": "awsui_breadcrumbs-discovered_7nfqu_rt0is_394"
|
|
29
31
|
};
|
|
30
32
|
|
|
@@ -150,7 +150,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.
|
|
153
|
+
.awsui_root_7nfqu_rt0is_153:not(#\9) {
|
|
154
154
|
border-collapse: separate;
|
|
155
155
|
border-spacing: 0;
|
|
156
156
|
box-sizing: border-box;
|
|
@@ -182,102 +182,118 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
-moz-osx-font-smoothing: auto;
|
|
183
183
|
color: var(--color-text-body-default-5qid0u, #16191f);
|
|
184
184
|
background-color: var(--color-background-layout-main-05m5y6, #f2f3f3);
|
|
185
|
-
--awsui-max-content-width-
|
|
185
|
+
--awsui-max-content-width-lqnbqg: 100%;
|
|
186
186
|
display: grid;
|
|
187
187
|
grid-template-areas: "toolbar toolbar toolbar" ". notifications ." ". main .";
|
|
188
188
|
grid-template-columns: var(--space-layout-content-horizontal-q3zhej, 40px) minmax(0, 1fr) var(--space-layout-content-horizontal-q3zhej, 40px);
|
|
189
189
|
grid-template-rows: min-content min-content 1fr;
|
|
190
190
|
}
|
|
191
191
|
@media (min-width: 689px) {
|
|
192
|
-
.
|
|
193
|
-
grid-template-areas: "ai-drawer toolbar toolbar toolbar toolbar toolbar toolbar toolbar" "ai-drawer navigation . notifications . sideSplitPanel tools global-tools" "ai-drawer navigation . main . sideSplitPanel tools global-tools";
|
|
194
|
-
grid-template-columns: min-content min-content minmax(var(--space-layout-content-horizontal-q3zhej, 40px), 1fr) minmax(0, var(--awsui-max-content-width-
|
|
195
|
-
grid-template-rows: min-content min-content 1fr min-content;
|
|
192
|
+
.awsui_root_7nfqu_rt0is_153:not(#\9) {
|
|
193
|
+
grid-template-areas: "ai-drawer toolbar toolbar toolbar toolbar toolbar toolbar toolbar" "ai-drawer navigation . notifications . sideSplitPanel tools global-tools" "ai-drawer navigation . main . sideSplitPanel tools global-tools" "ai-drawer bottom-tool bottom-tool bottom-tool bottom-tool bottom-tool bottom-tool global-tools";
|
|
194
|
+
grid-template-columns: min-content min-content minmax(var(--space-layout-content-horizontal-q3zhej, 40px), 1fr) minmax(0, var(--awsui-max-content-width-lqnbqg)) minmax(var(--space-layout-content-horizontal-q3zhej, 40px), 1fr) min-content min-content;
|
|
195
|
+
grid-template-rows: min-content min-content 1fr min-content min-content;
|
|
196
196
|
}
|
|
197
|
-
.
|
|
198
|
-
--awsui-max-content-width-
|
|
197
|
+
.awsui_root_7nfqu_rt0is_153.awsui_has-adaptive-widths-default_7nfqu_rt0is_197:not(#\9) {
|
|
198
|
+
--awsui-max-content-width-lqnbqg: 1620px;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
@media (min-width: 689px) and (min-width: 1401px) {
|
|
202
|
-
.
|
|
203
|
-
--awsui-max-content-width-
|
|
202
|
+
.awsui_root_7nfqu_rt0is_153.awsui_has-adaptive-widths-dashboard_7nfqu_rt0is_202:not(#\9) {
|
|
203
|
+
--awsui-max-content-width-lqnbqg: 1280px;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
@media (min-width: 689px) and (min-width: 1921px) {
|
|
207
|
-
.
|
|
208
|
-
--awsui-max-content-width-
|
|
207
|
+
.awsui_root_7nfqu_rt0is_153.awsui_has-adaptive-widths-dashboard_7nfqu_rt0is_202:not(#\9) {
|
|
208
|
+
--awsui-max-content-width-lqnbqg: 1620px;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
@media (min-width: 689px) and (min-width: 2541px) {
|
|
212
|
-
.
|
|
213
|
-
--awsui-max-content-width-
|
|
212
|
+
.awsui_root_7nfqu_rt0is_153.awsui_has-adaptive-widths-dashboard_7nfqu_rt0is_202:not(#\9) {
|
|
213
|
+
--awsui-max-content-width-lqnbqg: 2160px;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
@media (min-width: 689px) {
|
|
217
|
-
.
|
|
217
|
+
.awsui_root_7nfqu_rt0is_153.awsui_drawer-expanded-mode_7nfqu_rt0is_217:not(#\9) {
|
|
218
218
|
grid-template-columns: 0 0 0 0 0 0 0 auto;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.awsui_root_7nfqu_rt0is_153.awsui_drawer-expanded-mode_7nfqu_rt0is_217.awsui_ai-drawer-expanded-mode_7nfqu_rt0is_220:not(#\9) {
|
|
221
221
|
grid-template-columns: auto 0 0 0 0 0 0 0;
|
|
222
222
|
}
|
|
223
|
+
.awsui_root_7nfqu_rt0is_153.awsui_drawer-expanded-mode_7nfqu_rt0is_217.awsui_bottom-drawer-expanded-mode_7nfqu_rt0is_223:not(#\9) {
|
|
224
|
+
grid-template-rows: auto;
|
|
225
|
+
grid-template-columns: 0 0 0 0 0 auto 0 0;
|
|
226
|
+
}
|
|
223
227
|
}
|
|
224
228
|
|
|
225
|
-
.awsui_ai-
|
|
226
|
-
.
|
|
227
|
-
.
|
|
228
|
-
.awsui_global-
|
|
229
|
+
.awsui_ai-drawer_7nfqu_rt0is_220:not(#\9),
|
|
230
|
+
.awsui_navigation_7nfqu_rt0is_230:not(#\9),
|
|
231
|
+
.awsui_tools_7nfqu_rt0is_231:not(#\9),
|
|
232
|
+
.awsui_global-tools_7nfqu_rt0is_232:not(#\9),
|
|
233
|
+
.awsui_bottom-tool_7nfqu_rt0is_233:not(#\9) {
|
|
229
234
|
grid-row: 1/-1;
|
|
230
235
|
grid-column: 1/-1;
|
|
231
236
|
background: var(--color-background-container-content-aemn43, #ffffff);
|
|
232
237
|
opacity: 1;
|
|
233
238
|
}
|
|
234
239
|
@media (max-width: 688px) {
|
|
235
|
-
.awsui_ai-
|
|
236
|
-
.
|
|
237
|
-
.
|
|
238
|
-
.awsui_global-
|
|
240
|
+
.awsui_ai-drawer_7nfqu_rt0is_220:not(#\9),
|
|
241
|
+
.awsui_navigation_7nfqu_rt0is_230:not(#\9),
|
|
242
|
+
.awsui_tools_7nfqu_rt0is_231:not(#\9),
|
|
243
|
+
.awsui_global-tools_7nfqu_rt0is_232:not(#\9),
|
|
244
|
+
.awsui_bottom-tool_7nfqu_rt0is_233:not(#\9) {
|
|
239
245
|
inline-size: 100%;
|
|
240
246
|
}
|
|
241
247
|
}
|
|
242
248
|
|
|
243
249
|
@media (min-width: 689px) {
|
|
244
|
-
.
|
|
250
|
+
.awsui_bottom-tool_7nfqu_rt0is_233:not(#\9) {
|
|
251
|
+
grid-area: bottom-tool;
|
|
252
|
+
position: sticky;
|
|
253
|
+
inset-block-end: 0;
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
z-index: 840;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (min-width: 689px) {
|
|
260
|
+
.awsui_ai-drawer_7nfqu_rt0is_220:not(#\9) {
|
|
245
261
|
grid-area: ai-drawer;
|
|
246
262
|
position: sticky;
|
|
247
263
|
}
|
|
248
264
|
}
|
|
249
265
|
|
|
250
|
-
.
|
|
266
|
+
.awsui_navigation_7nfqu_rt0is_230:not(#\9) {
|
|
251
267
|
z-index: 830;
|
|
252
268
|
}
|
|
253
269
|
@media (min-width: 689px) {
|
|
254
|
-
.
|
|
270
|
+
.awsui_navigation_7nfqu_rt0is_230:not(#\9) {
|
|
255
271
|
grid-area: navigation;
|
|
256
|
-
inline-size: var(--awsui-navigation-width-
|
|
272
|
+
inline-size: var(--awsui-navigation-width-lqnbqg);
|
|
257
273
|
border-inline-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
258
274
|
}
|
|
259
275
|
}
|
|
260
276
|
@media (max-width: 688px) {
|
|
261
|
-
.
|
|
277
|
+
.awsui_navigation_7nfqu_rt0is_230:not(#\9) {
|
|
262
278
|
z-index: 1001;
|
|
263
279
|
}
|
|
264
280
|
}
|
|
265
281
|
|
|
266
282
|
@media (min-width: 689px) {
|
|
267
|
-
.
|
|
283
|
+
.awsui_tools_7nfqu_rt0is_231:not(#\9) {
|
|
268
284
|
grid-area: tools;
|
|
269
285
|
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
270
286
|
}
|
|
271
|
-
.
|
|
272
|
-
inline-size: var(--awsui-tools-width-
|
|
287
|
+
.awsui_tools_7nfqu_rt0is_231:not(#\9):not(:has(> [data-testid])) {
|
|
288
|
+
inline-size: var(--awsui-tools-width-lqnbqg);
|
|
273
289
|
}
|
|
274
|
-
.
|
|
290
|
+
.awsui_tools_7nfqu_rt0is_231:not(#\9):not(:has(> [data-testid])).awsui_tools-open_7nfqu_rt0is_290 {
|
|
275
291
|
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
276
292
|
}
|
|
277
293
|
}
|
|
278
294
|
|
|
279
295
|
@media (min-width: 689px) {
|
|
280
|
-
.awsui_global-
|
|
296
|
+
.awsui_global-tools_7nfqu_rt0is_232:not(#\9) {
|
|
281
297
|
display: flex;
|
|
282
298
|
grid-area: global-tools;
|
|
283
299
|
justify-content: flex-end;
|
|
@@ -285,14 +301,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
285
301
|
}
|
|
286
302
|
|
|
287
303
|
@media (min-width: 689px) {
|
|
288
|
-
.awsui_split-panel-
|
|
304
|
+
.awsui_split-panel-side_7nfqu_rt0is_304:not(#\9) {
|
|
289
305
|
grid-area: sideSplitPanel;
|
|
290
306
|
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
291
307
|
opacity: 1;
|
|
292
308
|
}
|
|
293
309
|
}
|
|
294
310
|
|
|
295
|
-
.awsui_split-panel-
|
|
311
|
+
.awsui_split-panel-bottom_7nfqu_rt0is_311:not(#\9) {
|
|
296
312
|
position: sticky;
|
|
297
313
|
z-index: 840;
|
|
298
314
|
align-self: end;
|
|
@@ -300,81 +316,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
300
316
|
grid-column: 1/-1;
|
|
301
317
|
}
|
|
302
318
|
@media (min-width: 689px) {
|
|
303
|
-
.awsui_split-panel-
|
|
319
|
+
.awsui_split-panel-bottom_7nfqu_rt0is_311:not(#\9) {
|
|
304
320
|
grid-column: 3/6;
|
|
305
321
|
}
|
|
306
322
|
}
|
|
307
323
|
|
|
308
|
-
.awsui_panel-
|
|
324
|
+
.awsui_panel-hidden_7nfqu_rt0is_324:not(#\9) {
|
|
309
325
|
border-block: none;
|
|
310
326
|
border-inline: none;
|
|
311
327
|
opacity: 0;
|
|
312
328
|
z-index: 0;
|
|
313
329
|
}
|
|
314
|
-
.awsui_panel-
|
|
330
|
+
.awsui_panel-hidden_7nfqu_rt0is_324.awsui_navigation_7nfqu_rt0is_230:not(#\9), .awsui_panel-hidden_7nfqu_rt0is_324.awsui_tools_7nfqu_rt0is_231:not(#\9), .awsui_panel-hidden_7nfqu_rt0is_324.awsui_global-tools_7nfqu_rt0is_232:not(#\9) {
|
|
315
331
|
inline-size: 0px;
|
|
316
332
|
}
|
|
317
333
|
|
|
318
|
-
.awsui_toolbar-
|
|
334
|
+
.awsui_toolbar-container_7nfqu_rt0is_334:not(#\9) {
|
|
319
335
|
grid-area: toolbar;
|
|
320
336
|
block-size: 42px;
|
|
321
337
|
border-block-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
322
338
|
box-sizing: border-box;
|
|
323
339
|
}
|
|
324
340
|
|
|
325
|
-
.awsui_notifications-
|
|
341
|
+
.awsui_notifications-container_7nfqu_rt0is_341:not(#\9) {
|
|
326
342
|
grid-area: notifications;
|
|
327
343
|
}
|
|
328
344
|
|
|
329
|
-
.awsui_notifications-
|
|
345
|
+
.awsui_notifications-background_7nfqu_rt0is_345:not(#\9) {
|
|
330
346
|
background: var(--color-background-layout-main-05m5y6, #f2f3f3);
|
|
331
347
|
grid-area: notifications;
|
|
332
348
|
grid-column: 1/-1;
|
|
333
349
|
}
|
|
334
350
|
@media (min-width: 689px) {
|
|
335
|
-
.awsui_notifications-
|
|
351
|
+
.awsui_notifications-background_7nfqu_rt0is_345:not(#\9) {
|
|
336
352
|
grid-column: 3/6;
|
|
337
353
|
}
|
|
338
354
|
}
|
|
339
355
|
|
|
340
|
-
.awsui_main-
|
|
356
|
+
.awsui_main-landmark_7nfqu_rt0is_356:not(#\9) {
|
|
341
357
|
display: contents;
|
|
342
358
|
}
|
|
343
359
|
|
|
344
|
-
.
|
|
360
|
+
.awsui_main_7nfqu_rt0is_356:not(#\9) {
|
|
345
361
|
grid-area: main;
|
|
346
362
|
margin-block-start: var(--space-scaled-s-gjhvjd, 12px);
|
|
347
363
|
margin-block-end: var(--space-layout-content-bottom-iu1izz, 20px);
|
|
348
364
|
}
|
|
349
|
-
.awsui_main-disable-
|
|
365
|
+
.awsui_main-disable-paddings_7nfqu_rt0is_365:not(#\9) {
|
|
350
366
|
margin-block: 0;
|
|
351
367
|
grid-column: 1/-1;
|
|
352
368
|
}
|
|
353
369
|
@media (min-width: 689px) {
|
|
354
|
-
.awsui_main-disable-
|
|
370
|
+
.awsui_main-disable-paddings_7nfqu_rt0is_365:not(#\9) {
|
|
355
371
|
grid-column: 3/6;
|
|
356
372
|
}
|
|
357
373
|
}
|
|
358
374
|
|
|
359
|
-
.awsui_content-
|
|
375
|
+
.awsui_content-header_7nfqu_rt0is_375:not(#\9) {
|
|
360
376
|
margin-block-end: var(--space-content-header-padding-bottom-hjkugf, 16px);
|
|
361
377
|
}
|
|
362
378
|
|
|
363
|
-
.
|
|
379
|
+
.awsui_content_7nfqu_rt0is_375:not(#\9) {
|
|
364
380
|
display: contents;
|
|
365
381
|
}
|
|
366
382
|
|
|
367
383
|
/* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
|
|
368
384
|
@media (max-width: 688px) {
|
|
369
|
-
.awsui_unfocusable-
|
|
385
|
+
.awsui_unfocusable-mobile_7nfqu_rt0is_385 *:not(#\9) {
|
|
370
386
|
visibility: hidden;
|
|
371
387
|
}
|
|
372
388
|
}
|
|
373
389
|
|
|
374
|
-
.
|
|
390
|
+
.awsui_hidden_7nfqu_rt0is_390:not(#\9) {
|
|
375
391
|
display: none;
|
|
376
392
|
}
|
|
377
393
|
|
|
378
|
-
.awsui_breadcrumbs-
|
|
394
|
+
.awsui_breadcrumbs-own_7nfqu_rt0is_394:not(#\9):not(:empty) + .awsui_breadcrumbs-discovered_7nfqu_rt0is_394 {
|
|
379
395
|
display: none;
|
|
380
396
|
}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js
CHANGED
|
@@ -2,30 +2,32 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
7
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
8
|
-
"drawer-expanded-mode": "awsui_drawer-expanded-
|
|
9
|
-
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"tools
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"panel-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"main-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
5
|
+
"root": "awsui_root_7nfqu_rt0is_153",
|
|
6
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_rt0is_197",
|
|
7
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_rt0is_202",
|
|
8
|
+
"drawer-expanded-mode": "awsui_drawer-expanded-mode_7nfqu_rt0is_217",
|
|
9
|
+
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-mode_7nfqu_rt0is_220",
|
|
10
|
+
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-mode_7nfqu_rt0is_223",
|
|
11
|
+
"ai-drawer": "awsui_ai-drawer_7nfqu_rt0is_220",
|
|
12
|
+
"navigation": "awsui_navigation_7nfqu_rt0is_230",
|
|
13
|
+
"tools": "awsui_tools_7nfqu_rt0is_231",
|
|
14
|
+
"global-tools": "awsui_global-tools_7nfqu_rt0is_232",
|
|
15
|
+
"bottom-tool": "awsui_bottom-tool_7nfqu_rt0is_233",
|
|
16
|
+
"tools-open": "awsui_tools-open_7nfqu_rt0is_290",
|
|
17
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_rt0is_304",
|
|
18
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_rt0is_311",
|
|
19
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_rt0is_324",
|
|
20
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_rt0is_334",
|
|
21
|
+
"notifications-container": "awsui_notifications-container_7nfqu_rt0is_341",
|
|
22
|
+
"notifications-background": "awsui_notifications-background_7nfqu_rt0is_345",
|
|
23
|
+
"main-landmark": "awsui_main-landmark_7nfqu_rt0is_356",
|
|
24
|
+
"main": "awsui_main_7nfqu_rt0is_356",
|
|
25
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_rt0is_365",
|
|
26
|
+
"content-header": "awsui_content-header_7nfqu_rt0is_375",
|
|
27
|
+
"content": "awsui_content_7nfqu_rt0is_375",
|
|
28
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_rt0is_385",
|
|
29
|
+
"hidden": "awsui_hidden_7nfqu_rt0is_390",
|
|
30
|
+
"breadcrumbs-own": "awsui_breadcrumbs-own_7nfqu_rt0is_394",
|
|
31
|
+
"breadcrumbs-discovered": "awsui_breadcrumbs-discovered_7nfqu_rt0is_394"
|
|
30
32
|
};
|
|
31
33
|
|