Skip to content

Commit 1f9fe34

Browse files
committed
export new widgetized parts
1 parent 3c582c9 commit 1f9fe34

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

src/app-layout/visual-refresh-toolbar/skeleton/widget-slots/bottom-page-content-slot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { SkeletonLayoutProps } from '../index';
88

99
import styles from '../styles.css.js';
1010

11-
const BottomPageContentSlot = (props: SkeletonLayoutProps) => {
11+
export const BottomPageContentSlot = (props: SkeletonLayoutProps) => {
1212
const {
1313
appLayoutState,
1414
appLayoutProps: { placement, splitPanel },

src/app-layout/visual-refresh-toolbar/skeleton/widget-slots/side-page-slot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { SkeletonLayoutProps } from '../index';
1616
import sharedStyles from '../../../resize/styles.css.js';
1717
import styles from '../styles.css.js';
1818

19-
const SidePageSlot = (props: SkeletonLayoutProps) => {
19+
export const SidePageSlot = (props: SkeletonLayoutProps) => {
2020
const {
2121
appLayoutProps: { splitPanel },
2222
appLayoutState,

src/app-layout/visual-refresh-toolbar/skeleton/widget-slots/top-page-content-slot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { SkeletonLayoutProps } from '../index';
1010

1111
import styles from '../styles.css.js';
1212

13-
const TopPageContentSlot = (props: SkeletonLayoutProps) => {
13+
export const TopPageContentSlot = (props: SkeletonLayoutProps) => {
1414
const {
1515
appLayoutProps: { headerVariant, notifications },
1616
appLayoutState,

src/internal/widget-exports.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33
export { PACKAGE_VERSION } from './environment';
4+
5+
// Legacy widgetized parts
46
export {
57
AppLayoutDrawerImplementation as AppLayoutDrawer,
68
AppLayoutGlobalDrawersImplementation as AppLayoutGlobalDrawers,
@@ -12,6 +14,14 @@ export {
1214
AppLayoutSplitPanelDrawerSideImplementation as AppLayoutSplitPanelSide,
1315
} from '../app-layout/visual-refresh-toolbar/split-panel';
1416
export { AppLayoutToolbarImplementation as AppLayoutToolbar } from '../app-layout/visual-refresh-toolbar/toolbar';
17+
18+
// Refactored widgetized parts
19+
export { TopPageSlot as AppLayoutTopPageSlot } from '../app-layout/visual-refresh-toolbar/skeleton/widget-slots/top-page-slot';
20+
export { SidePageSlot as AppLayoutSidePageSlot } from '../app-layout/visual-refresh-toolbar/skeleton/widget-slots/side-page-slot';
21+
export { TopPageContentSlot as AppLayoutTopContentSlot } from '../app-layout/visual-refresh-toolbar/skeleton/widget-slots/top-page-content-slot';
22+
export { BottomPageContentSlot as AppLayoutBottomContentSlot } from '../app-layout/visual-refresh-toolbar/skeleton/widget-slots/bottom-page-content-slot';
23+
export { AppLayoutState as AppLayoutWidgetizedState } from '../app-layout/visual-refresh-toolbar/app-layout-state';
24+
1525
export { SplitPanelImplementation as SplitPanel } from '../split-panel/implementation';
1626
export { BreadcrumbGroupImplementation as BreadcrumbGroup } from '../breadcrumb-group/implementation';
1727
export { DrawerImplementation as Drawer } from '../drawer/implementation';

0 commit comments

Comments
 (0)