@bayonai/mui-design 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +26 -0
- package/package.json +1 -1
- package/dist/cjs/actions/ActionMenu.d.ts +0 -24
- package/dist/cjs/actions/ActionMenu.js +0 -36
- package/dist/cjs/actions/DialogActionButtons.d.ts +0 -23
- package/dist/cjs/actions/DialogActionButtons.js +0 -33
- package/dist/cjs/actions/LoadingIconButton.d.ts +0 -11
- package/dist/cjs/actions/LoadingIconButton.js +0 -10
- package/dist/cjs/actions/StickyActionFooter.d.ts +0 -14
- package/dist/cjs/actions/StickyActionFooter.js +0 -27
- package/dist/cjs/actions/StickySubmitButton.d.ts +0 -10
- package/dist/cjs/actions/StickySubmitButton.js +0 -10
- package/dist/cjs/actions/index.d.ts +0 -5
- package/dist/cjs/actions/index.js +0 -18
- package/dist/cjs/client.d.ts +0 -4
- package/dist/cjs/client.js +0 -21
- package/dist/cjs/components/BayonFlowVisual.d.ts +0 -12
- package/dist/cjs/components/BayonFlowVisual.js +0 -87
- package/dist/cjs/components/BayonThemeModeToggle.d.ts +0 -6
- package/dist/cjs/components/BayonThemeModeToggle.js +0 -34
- package/dist/cjs/components/IconTooltipButton.d.ts +0 -10
- package/dist/cjs/components/IconTooltipButton.js +0 -50
- package/dist/cjs/components/panels.d.ts +0 -37
- package/dist/cjs/components/panels.js +0 -92
- package/dist/cjs/drawers/BottomDrawer.d.ts +0 -16
- package/dist/cjs/drawers/BottomDrawer.js +0 -43
- package/dist/cjs/drawers/MobileBottomDrawer.d.ts +0 -20
- package/dist/cjs/drawers/MobileBottomDrawer.js +0 -102
- package/dist/cjs/drawers/MobileBottomDrawerHeader.d.ts +0 -11
- package/dist/cjs/drawers/MobileBottomDrawerHeader.js +0 -36
- package/dist/cjs/drawers/ResponsiveDrawer.d.ts +0 -25
- package/dist/cjs/drawers/ResponsiveDrawer.js +0 -22
- package/dist/cjs/drawers/WorkspaceSidePane.d.ts +0 -25
- package/dist/cjs/drawers/WorkspaceSidePane.js +0 -206
- package/dist/cjs/drawers/WorkspaceSidePaneRoot.d.ts +0 -1
- package/dist/cjs/drawers/WorkspaceSidePaneRoot.js +0 -93
- package/dist/cjs/drawers/drawerAppearance.d.ts +0 -8
- package/dist/cjs/drawers/drawerAppearance.js +0 -10
- package/dist/cjs/drawers/index.d.ts +0 -7
- package/dist/cjs/drawers/index.js +0 -19
- package/dist/cjs/drawers/useVisualViewportBottomInset.d.ts +0 -6
- package/dist/cjs/drawers/useVisualViewportBottomInset.js +0 -33
- package/dist/cjs/drawers/workspaceSidePaneGeometry.d.ts +0 -11
- package/dist/cjs/drawers/workspaceSidePaneGeometry.js +0 -15
- package/dist/cjs/feedback/StatusNotice.d.ts +0 -13
- package/dist/cjs/feedback/StatusNotice.js +0 -62
- package/dist/cjs/feedback/index.d.ts +0 -1
- package/dist/cjs/feedback/index.js +0 -7
- package/dist/cjs/index.d.ts +0 -9
- package/dist/cjs/index.js +0 -25
- package/dist/cjs/internal/DialogChoiceTile.d.ts +0 -20
- package/dist/cjs/internal/DialogChoiceTile.js +0 -60
- package/dist/cjs/links/LinkAddressPreview.d.ts +0 -19
- package/dist/cjs/links/LinkAddressPreview.js +0 -80
- package/dist/cjs/links/index.d.ts +0 -3
- package/dist/cjs/links/index.js +0 -9
- package/dist/cjs/links/useLinkAddressPreview.d.ts +0 -26
- package/dist/cjs/links/useLinkAddressPreview.js +0 -162
- package/dist/cjs/location/GeographicLocationField.d.ts +0 -26
- package/dist/cjs/location/GeographicLocationField.js +0 -49
- package/dist/cjs/location/GoogleMapsAttribution.d.ts +0 -1
- package/dist/cjs/location/GoogleMapsAttribution.js +0 -12
- package/dist/cjs/location/MetadataFieldGroup.d.ts +0 -5
- package/dist/cjs/location/MetadataFieldGroup.js +0 -13
- package/dist/cjs/location/MetadataValueField.d.ts +0 -23
- package/dist/cjs/location/MetadataValueField.js +0 -27
- package/dist/cjs/location/SearchInputAction.d.ts +0 -9
- package/dist/cjs/location/SearchInputAction.js +0 -14
- package/dist/cjs/location/TemplateBadge.d.ts +0 -5
- package/dist/cjs/location/TemplateBadge.js +0 -9
- package/dist/cjs/location/VenueSearchDialog.d.ts +0 -33
- package/dist/cjs/location/VenueSearchDialog.js +0 -112
- package/dist/cjs/location/index.d.ts +0 -6
- package/dist/cjs/location/index.js +0 -20
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/pending/PendingChangesDialogShell.d.ts +0 -2
- package/dist/cjs/pending/PendingChangesDialogShell.js +0 -16
- package/dist/cjs/pending/PendingChangesDialogView.d.ts +0 -2
- package/dist/cjs/pending/PendingChangesDialogView.js +0 -140
- package/dist/cjs/pending/PendingChangesIndicatorView.d.ts +0 -10
- package/dist/cjs/pending/PendingChangesIndicatorView.js +0 -27
- package/dist/cjs/pending/index.d.ts +0 -3
- package/dist/cjs/pending/index.js +0 -9
- package/dist/cjs/pending/types.d.ts +0 -55
- package/dist/cjs/pending/types.js +0 -2
- package/dist/cjs/pricing/PlanUpgradeDialog.d.ts +0 -17
- package/dist/cjs/pricing/PlanUpgradeDialog.js +0 -22
- package/dist/cjs/pricing/PricingTable.d.ts +0 -28
- package/dist/cjs/pricing/PricingTable.js +0 -60
- package/dist/cjs/pricing/index.d.ts +0 -3
- package/dist/cjs/pricing/index.js +0 -8
- package/dist/cjs/providers/BayonThemeProvider.d.ts +0 -20
- package/dist/cjs/providers/BayonThemeProvider.js +0 -163
- package/dist/cjs/sections/ExpandableSectionToggle.d.ts +0 -12
- package/dist/cjs/sections/ExpandableSectionToggle.js +0 -32
- package/dist/cjs/sections/index.d.ts +0 -2
- package/dist/cjs/sections/index.js +0 -7
- package/dist/cjs/styles/pageStyles.d.ts +0 -15
- package/dist/cjs/styles/pageStyles.js +0 -103
- package/dist/cjs/swipe/SwipeActionRow.d.ts +0 -8
- package/dist/cjs/swipe/SwipeActionRow.js +0 -123
- package/dist/cjs/swipe/index.d.ts +0 -1
- package/dist/cjs/swipe/index.js +0 -8
- package/dist/cjs/theme/components.d.ts +0 -2
- package/dist/cjs/theme/components.js +0 -123
- package/dist/cjs/theme/createBayonTheme.d.ts +0 -4
- package/dist/cjs/theme/createBayonTheme.js +0 -45
- package/dist/cjs/theme/palette.d.ts +0 -146
- package/dist/cjs/theme/palette.js +0 -109
- package/dist/cjs/theme/shadows.d.ts +0 -2
- package/dist/cjs/theme/shadows.js +0 -21
- package/dist/cjs/theme/types.d.ts +0 -47
- package/dist/cjs/theme/types.js +0 -2
- package/dist/cjs/theme/typography.d.ts +0 -2
- package/dist/cjs/theme/typography.js +0 -58
- package/dist/cjs/toasts/ActionToast.d.ts +0 -11
- package/dist/cjs/toasts/ActionToast.js +0 -12
- package/dist/cjs/toasts/Toast.d.ts +0 -16
- package/dist/cjs/toasts/Toast.js +0 -55
- package/dist/cjs/toasts/index.d.ts +0 -5
- package/dist/cjs/toasts/index.js +0 -12
- package/dist/cjs/toasts/useUpwardToastDismiss.d.ts +0 -15
- package/dist/cjs/toasts/useUpwardToastDismiss.js +0 -73
- package/dist/cjs/uploads/CameraCaptureDialog.d.ts +0 -22
- package/dist/cjs/uploads/CameraCaptureDialog.js +0 -187
- package/dist/cjs/uploads/FileRow.d.ts +0 -10
- package/dist/cjs/uploads/FileRow.js +0 -23
- package/dist/cjs/uploads/FileSwipeActionRow.d.ts +0 -1
- package/dist/cjs/uploads/FileSwipeActionRow.js +0 -11
- package/dist/cjs/uploads/FileThumbnail.d.ts +0 -5
- package/dist/cjs/uploads/FileThumbnail.js +0 -104
- package/dist/cjs/uploads/FileUpload.d.ts +0 -26
- package/dist/cjs/uploads/FileUpload.js +0 -98
- package/dist/cjs/uploads/FileViewer.d.ts +0 -9
- package/dist/cjs/uploads/FileViewer.js +0 -155
- package/dist/cjs/uploads/ImageCropDialog.d.ts +0 -26
- package/dist/cjs/uploads/ImageCropDialog.js +0 -215
- package/dist/cjs/uploads/ImageInfoPanel.d.ts +0 -24
- package/dist/cjs/uploads/ImageInfoPanel.js +0 -41
- package/dist/cjs/uploads/ImageUploadQualityDialog.d.ts +0 -13
- package/dist/cjs/uploads/ImageUploadQualityDialog.js +0 -57
- package/dist/cjs/uploads/UploadProgressRing.d.ts +0 -24
- package/dist/cjs/uploads/UploadProgressRing.js +0 -32
- package/dist/cjs/uploads/cameraCropPresentation.d.ts +0 -2
- package/dist/cjs/uploads/cameraCropPresentation.js +0 -12
- package/dist/cjs/uploads/index.d.ts +0 -12
- package/dist/cjs/uploads/index.js +0 -24
- package/dist/cjs/utils/createBayonEmotionCache.d.ts +0 -1
- package/dist/cjs/utils/createBayonEmotionCache.js +0 -21
- package/dist/esm/actions/ActionMenu.js +0 -30
- package/dist/esm/actions/DialogActionButtons.js +0 -24
- package/dist/esm/actions/LoadingIconButton.js +0 -7
- package/dist/esm/actions/StickyActionFooter.js +0 -24
- package/dist/esm/actions/StickySubmitButton.js +0 -7
- package/dist/esm/actions/index.js +0 -7
- package/dist/esm/client.js +0 -5
- package/dist/esm/components/BayonFlowVisual.js +0 -81
- package/dist/esm/components/BayonThemeModeToggle.js +0 -28
- package/dist/esm/components/IconTooltipButton.js +0 -11
- package/dist/esm/components/panels.js +0 -76
- package/dist/esm/drawers/BottomDrawer.js +0 -37
- package/dist/esm/drawers/MobileBottomDrawer.js +0 -95
- package/dist/esm/drawers/MobileBottomDrawerHeader.js +0 -30
- package/dist/esm/drawers/ResponsiveDrawer.js +0 -19
- package/dist/esm/drawers/WorkspaceSidePane.js +0 -200
- package/dist/esm/drawers/WorkspaceSidePaneRoot.js +0 -90
- package/dist/esm/drawers/drawerAppearance.js +0 -7
- package/dist/esm/drawers/index.js +0 -8
- package/dist/esm/drawers/useVisualViewportBottomInset.js +0 -29
- package/dist/esm/drawers/workspaceSidePaneGeometry.js +0 -11
- package/dist/esm/feedback/StatusNotice.js +0 -56
- package/dist/esm/feedback/index.js +0 -3
- package/dist/esm/index.js +0 -9
- package/dist/esm/internal/DialogChoiceTile.js +0 -54
- package/dist/esm/links/LinkAddressPreview.js +0 -74
- package/dist/esm/links/index.js +0 -4
- package/dist/esm/links/useLinkAddressPreview.js +0 -159
- package/dist/esm/location/GeographicLocationField.js +0 -43
- package/dist/esm/location/GoogleMapsAttribution.js +0 -9
- package/dist/esm/location/MetadataFieldGroup.js +0 -9
- package/dist/esm/location/MetadataValueField.js +0 -23
- package/dist/esm/location/SearchInputAction.js +0 -8
- package/dist/esm/location/TemplateBadge.js +0 -6
- package/dist/esm/location/VenueSearchDialog.js +0 -109
- package/dist/esm/location/index.js +0 -7
- package/dist/esm/pending/PendingChangesDialogShell.js +0 -10
- package/dist/esm/pending/PendingChangesDialogView.js +0 -134
- package/dist/esm/pending/PendingChangesIndicatorView.js +0 -21
- package/dist/esm/pending/index.js +0 -4
- package/dist/esm/pending/types.js +0 -1
- package/dist/esm/pricing/PlanUpgradeDialog.js +0 -19
- package/dist/esm/pricing/PricingTable.js +0 -54
- package/dist/esm/pricing/index.js +0 -3
- package/dist/esm/providers/BayonThemeProvider.js +0 -123
- package/dist/esm/sections/ExpandableSectionToggle.js +0 -26
- package/dist/esm/sections/index.js +0 -3
- package/dist/esm/styles/pageStyles.js +0 -100
- package/dist/esm/swipe/SwipeActionRow.js +0 -116
- package/dist/esm/swipe/index.js +0 -3
- package/dist/esm/theme/components.js +0 -120
- package/dist/esm/theme/createBayonTheme.js +0 -41
- package/dist/esm/theme/palette.js +0 -106
- package/dist/esm/theme/shadows.js +0 -18
- package/dist/esm/theme/types.js +0 -1
- package/dist/esm/theme/typography.js +0 -55
- package/dist/esm/toasts/ActionToast.js +0 -9
- package/dist/esm/toasts/Toast.js +0 -52
- package/dist/esm/toasts/index.js +0 -5
- package/dist/esm/toasts/useUpwardToastDismiss.js +0 -69
- package/dist/esm/uploads/CameraCaptureDialog.js +0 -181
- package/dist/esm/uploads/FileRow.js +0 -17
- package/dist/esm/uploads/FileSwipeActionRow.js +0 -7
- package/dist/esm/uploads/FileThumbnail.js +0 -98
- package/dist/esm/uploads/FileUpload.js +0 -92
- package/dist/esm/uploads/FileViewer.js +0 -149
- package/dist/esm/uploads/ImageCropDialog.js +0 -212
- package/dist/esm/uploads/ImageInfoPanel.js +0 -35
- package/dist/esm/uploads/ImageUploadQualityDialog.js +0 -51
- package/dist/esm/uploads/UploadProgressRing.js +0 -29
- package/dist/esm/uploads/cameraCropPresentation.js +0 -5
- package/dist/esm/uploads/index.js +0 -11
- package/dist/esm/utils/createBayonEmotionCache.js +0 -15
- package/dist/types/actions/ActionMenu.d.ts +0 -24
- package/dist/types/actions/DialogActionButtons.d.ts +0 -23
- package/dist/types/actions/LoadingIconButton.d.ts +0 -11
- package/dist/types/actions/StickyActionFooter.d.ts +0 -14
- package/dist/types/actions/StickySubmitButton.d.ts +0 -10
- package/dist/types/actions/index.d.ts +0 -5
- package/dist/types/client.d.ts +0 -4
- package/dist/types/components/BayonFlowVisual.d.ts +0 -12
- package/dist/types/components/BayonThemeModeToggle.d.ts +0 -6
- package/dist/types/components/IconTooltipButton.d.ts +0 -10
- package/dist/types/components/panels.d.ts +0 -37
- package/dist/types/drawers/BottomDrawer.d.ts +0 -16
- package/dist/types/drawers/MobileBottomDrawer.d.ts +0 -20
- package/dist/types/drawers/MobileBottomDrawerHeader.d.ts +0 -11
- package/dist/types/drawers/ResponsiveDrawer.d.ts +0 -25
- package/dist/types/drawers/WorkspaceSidePane.d.ts +0 -25
- package/dist/types/drawers/WorkspaceSidePaneRoot.d.ts +0 -1
- package/dist/types/drawers/drawerAppearance.d.ts +0 -8
- package/dist/types/drawers/index.d.ts +0 -7
- package/dist/types/drawers/useVisualViewportBottomInset.d.ts +0 -6
- package/dist/types/drawers/workspaceSidePaneGeometry.d.ts +0 -11
- package/dist/types/feedback/StatusNotice.d.ts +0 -13
- package/dist/types/feedback/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -9
- package/dist/types/internal/DialogChoiceTile.d.ts +0 -20
- package/dist/types/links/LinkAddressPreview.d.ts +0 -19
- package/dist/types/links/index.d.ts +0 -3
- package/dist/types/links/useLinkAddressPreview.d.ts +0 -26
- package/dist/types/location/GeographicLocationField.d.ts +0 -26
- package/dist/types/location/GoogleMapsAttribution.d.ts +0 -1
- package/dist/types/location/MetadataFieldGroup.d.ts +0 -5
- package/dist/types/location/MetadataValueField.d.ts +0 -23
- package/dist/types/location/SearchInputAction.d.ts +0 -9
- package/dist/types/location/TemplateBadge.d.ts +0 -5
- package/dist/types/location/VenueSearchDialog.d.ts +0 -33
- package/dist/types/location/index.d.ts +0 -6
- package/dist/types/pending/PendingChangesDialogShell.d.ts +0 -2
- package/dist/types/pending/PendingChangesDialogView.d.ts +0 -2
- package/dist/types/pending/PendingChangesIndicatorView.d.ts +0 -10
- package/dist/types/pending/index.d.ts +0 -3
- package/dist/types/pending/types.d.ts +0 -55
- package/dist/types/pricing/PlanUpgradeDialog.d.ts +0 -17
- package/dist/types/pricing/PricingTable.d.ts +0 -28
- package/dist/types/pricing/index.d.ts +0 -3
- package/dist/types/providers/BayonThemeProvider.d.ts +0 -20
- package/dist/types/sections/ExpandableSectionToggle.d.ts +0 -12
- package/dist/types/sections/index.d.ts +0 -2
- package/dist/types/styles/pageStyles.d.ts +0 -15
- package/dist/types/swipe/SwipeActionRow.d.ts +0 -8
- package/dist/types/swipe/index.d.ts +0 -1
- package/dist/types/theme/components.d.ts +0 -2
- package/dist/types/theme/createBayonTheme.d.ts +0 -4
- package/dist/types/theme/palette.d.ts +0 -146
- package/dist/types/theme/shadows.d.ts +0 -2
- package/dist/types/theme/types.d.ts +0 -47
- package/dist/types/theme/typography.d.ts +0 -2
- package/dist/types/toasts/ActionToast.d.ts +0 -11
- package/dist/types/toasts/Toast.d.ts +0 -16
- package/dist/types/toasts/index.d.ts +0 -5
- package/dist/types/toasts/useUpwardToastDismiss.d.ts +0 -15
- package/dist/types/uploads/CameraCaptureDialog.d.ts +0 -22
- package/dist/types/uploads/FileRow.d.ts +0 -10
- package/dist/types/uploads/FileSwipeActionRow.d.ts +0 -1
- package/dist/types/uploads/FileThumbnail.d.ts +0 -5
- package/dist/types/uploads/FileUpload.d.ts +0 -26
- package/dist/types/uploads/FileViewer.d.ts +0 -9
- package/dist/types/uploads/ImageCropDialog.d.ts +0 -26
- package/dist/types/uploads/ImageInfoPanel.d.ts +0 -24
- package/dist/types/uploads/ImageUploadQualityDialog.d.ts +0 -13
- package/dist/types/uploads/UploadProgressRing.d.ts +0 -24
- package/dist/types/uploads/cameraCropPresentation.d.ts +0 -2
- package/dist/types/uploads/index.d.ts +0 -12
- package/dist/types/utils/createBayonEmotionCache.d.ts +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type MouseEvent, type ReactNode, type RefObject } from "react";
|
|
2
|
-
export interface WorkspaceSidePaneActions {
|
|
3
|
-
visible: boolean;
|
|
4
|
-
paneId: string;
|
|
5
|
-
openFrom: (event: MouseEvent<HTMLButtonElement>, focusTarget?: RefObject<HTMLElement | null>) => void;
|
|
6
|
-
close: (opener?: HTMLButtonElement) => void;
|
|
7
|
-
}
|
|
8
|
-
export interface WorkspaceSidePaneProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: CSSProperties;
|
|
13
|
-
paneId?: string;
|
|
14
|
-
headingId: string;
|
|
15
|
-
headingRef: RefObject<HTMLElement | null>;
|
|
16
|
-
workspaceRef?: RefObject<HTMLDivElement | null>;
|
|
17
|
-
actionsLabel: string;
|
|
18
|
-
resizeLabel?: string;
|
|
19
|
-
keepPaneMounted?: boolean;
|
|
20
|
-
getOverlaySiblings?: (root: HTMLDivElement) => readonly HTMLElement[];
|
|
21
|
-
renderActions: (actions: WorkspaceSidePaneActions) => ReactNode;
|
|
22
|
-
renderPane: (visible: boolean) => ReactNode;
|
|
23
|
-
}
|
|
24
|
-
/** Keeps the workspace in one slot across docked, modal and closed presentation. */
|
|
25
|
-
export declare function WorkspaceSidePane({ children, enabled, className, style, paneId, headingId, headingRef, workspaceRef, actionsLabel, resizeLabel, keepPaneMounted, getOverlaySiblings, renderActions, renderPane, }: WorkspaceSidePaneProps): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const WorkspaceSidePaneRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { MobileBottomDrawer, mobileBottomDrawerDismissDuration, } from "./MobileBottomDrawer.js";
|
|
2
|
-
export { MobileBottomDrawerHeader } from "./MobileBottomDrawerHeader.js";
|
|
3
|
-
export { BottomDrawer } from "./BottomDrawer.js";
|
|
4
|
-
export { ResponsiveDrawer } from "./ResponsiveDrawer.js";
|
|
5
|
-
export { useVisualViewportBottomInset, getVisualViewportBottomInset, } from "./useVisualViewportBottomInset.js";
|
|
6
|
-
export type { DrawerAppearance } from "./drawerAppearance.js";
|
|
7
|
-
export { WorkspaceSidePane, type WorkspaceSidePaneActions, type WorkspaceSidePaneProps, } from "./WorkspaceSidePane.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function getVisualViewportBottomInset({ layoutViewportHeight, visualViewportHeight, visualViewportOffsetTop, }: {
|
|
2
|
-
layoutViewportHeight: number;
|
|
3
|
-
visualViewportHeight: number;
|
|
4
|
-
visualViewportOffsetTop: number;
|
|
5
|
-
}): number;
|
|
6
|
-
export declare function useVisualViewportBottomInset(): number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const workspaceSidePaneMetrics: {
|
|
2
|
-
readonly rail: 56;
|
|
3
|
-
readonly initialPane: 384;
|
|
4
|
-
readonly minPane: 320;
|
|
5
|
-
readonly maxPane: 480;
|
|
6
|
-
readonly minCanvas: 640;
|
|
7
|
-
};
|
|
8
|
-
export declare function workspaceSidePaneGeometry(available: number, requested: number, workspaceInset?: number): {
|
|
9
|
-
overlay: boolean;
|
|
10
|
-
paneWidth: number;
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type SxProps, type Theme } from "@mui/material";
|
|
2
|
-
import type { AriaRole, ReactNode } from "react";
|
|
3
|
-
export type StatusNoticeTone = "error" | "info" | "success" | "warning";
|
|
4
|
-
export type StatusNoticeProps = {
|
|
5
|
-
action?: ReactNode;
|
|
6
|
-
compact?: boolean;
|
|
7
|
-
dataComponent?: string;
|
|
8
|
-
message: ReactNode;
|
|
9
|
-
role?: AriaRole;
|
|
10
|
-
sx?: SxProps<Theme>;
|
|
11
|
-
tone?: StatusNoticeTone;
|
|
12
|
-
};
|
|
13
|
-
export declare function StatusNotice({ action, compact, dataComponent, message, role, sx, tone, }: StatusNoticeProps): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StatusNotice, type StatusNoticeProps, type StatusNoticeTone, } from "./StatusNotice.js";
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './components/panels.js';
|
|
2
|
-
export * from './styles/pageStyles.js';
|
|
3
|
-
export * from './theme/components.js';
|
|
4
|
-
export * from './theme/createBayonTheme.js';
|
|
5
|
-
export * from './theme/palette.js';
|
|
6
|
-
export * from './theme/shadows.js';
|
|
7
|
-
export * from './theme/typography.js';
|
|
8
|
-
export * from './theme/types.js';
|
|
9
|
-
export * from './utils/createBayonEmotionCache.js';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
type DialogChoiceTileProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
description?: ReactNode;
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
selected: boolean;
|
|
7
|
-
autoFocus?: boolean;
|
|
8
|
-
} & ({
|
|
9
|
-
name: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
onSelect: () => void;
|
|
12
|
-
onLockedClick?: never;
|
|
13
|
-
} | {
|
|
14
|
-
onLockedClick: () => void;
|
|
15
|
-
name?: never;
|
|
16
|
-
disabled?: never;
|
|
17
|
-
onSelect?: never;
|
|
18
|
-
});
|
|
19
|
-
export declare function DialogChoiceTile(props: DialogChoiceTileProps): import("react").JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type SxProps, type Theme } from "@mui/material";
|
|
2
|
-
import type { HTMLAttributes } from "react";
|
|
3
|
-
export type LinkAddressPreviewState = {
|
|
4
|
-
href: string;
|
|
5
|
-
label: string;
|
|
6
|
-
left: number;
|
|
7
|
-
top: number;
|
|
8
|
-
};
|
|
9
|
-
export type LinkAddressPreviewProps = Pick<HTMLAttributes<HTMLElement>, "id" | "className" | "onMouseEnter" | "onMouseLeave" | "onFocusCapture" | "onBlurCapture" | "onKeyDown" | "onClick"> & {
|
|
10
|
-
link: LinkAddressPreviewState;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
openLabel?: string;
|
|
13
|
-
sx?: SxProps<Theme>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Shared presentation of the editor's destination card. Hosts own validated
|
|
17
|
-
* URLs, placement, portal/lifecycle and navigation policy; no metadata is fetched.
|
|
18
|
-
*/
|
|
19
|
-
export declare function LinkAddressPreview({ link, ariaLabel, openLabel, sx, ...events }: LinkAddressPreviewProps): import("react").JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type FocusEvent, type KeyboardEvent, type MouseEvent, type PointerEvent as ReactPointerEvent } from "react";
|
|
2
|
-
/** Product decision: hosts own link interaction; the shared UI card only displays
|
|
3
|
-
* a validated destination. The source previews/edits; the card navigates. */
|
|
4
|
-
export declare function useLinkAddressPreview(enabled?: boolean, onEdit?: () => void): {
|
|
5
|
-
linkProps(href: string, label: string): {
|
|
6
|
-
"aria-controls": string | undefined;
|
|
7
|
-
"aria-keyshortcuts": string;
|
|
8
|
-
onPointerDown: (event: ReactPointerEvent<HTMLAnchorElement>) => void;
|
|
9
|
-
onMouseEnter: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
10
|
-
onMouseLeave: () => void;
|
|
11
|
-
onFocus: (event: FocusEvent<HTMLAnchorElement>) => void;
|
|
12
|
-
onBlur: (event: FocusEvent<HTMLElement>) => void;
|
|
13
|
-
onKeyDown: (event: KeyboardEvent<HTMLAnchorElement>) => void;
|
|
14
|
-
} | {
|
|
15
|
-
"aria-controls"?: undefined;
|
|
16
|
-
"aria-keyshortcuts"?: undefined;
|
|
17
|
-
onPointerDown?: undefined;
|
|
18
|
-
onMouseEnter?: undefined;
|
|
19
|
-
onMouseLeave?: undefined;
|
|
20
|
-
onFocus?: undefined;
|
|
21
|
-
onBlur?: undefined;
|
|
22
|
-
onKeyDown?: undefined;
|
|
23
|
-
};
|
|
24
|
-
onClick(event: MouseEvent<HTMLAnchorElement>, href: string, label: string): void;
|
|
25
|
-
card: import("react").ReactPortal | null;
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
import { type GoogleVenueReference, type VenueSuggestion, type VenueSearchCopy } from "./VenueSearchDialog.js";
|
|
3
|
-
export type GeographicLocationCopy = {
|
|
4
|
-
fieldLabel: string;
|
|
5
|
-
empty: string;
|
|
6
|
-
choose: string;
|
|
7
|
-
change: string;
|
|
8
|
-
clear: string;
|
|
9
|
-
openMaps: (label: string) => string;
|
|
10
|
-
};
|
|
11
|
-
export type GeographicLocationFieldProps = {
|
|
12
|
-
value?: {
|
|
13
|
-
label: string;
|
|
14
|
-
mapsUrl: string;
|
|
15
|
-
};
|
|
16
|
-
placeName?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
canSearch?: boolean;
|
|
19
|
-
copyAction?: ReactNode;
|
|
20
|
-
copy?: Partial<GeographicLocationCopy>;
|
|
21
|
-
pickerCopy?: Partial<VenueSearchCopy>;
|
|
22
|
-
searchVenues: (query: string) => Promise<VenueSuggestion[]>;
|
|
23
|
-
onChange?: (value: GoogleVenueReference | undefined) => void;
|
|
24
|
-
};
|
|
25
|
-
/** Host adapters supply persisted values, copy behavior and an authorized lookup. */
|
|
26
|
-
export declare function GeographicLocationField({ value, placeName, disabled, canSearch, copyAction, copy, pickerCopy, searchVenues, onChange, }: GeographicLocationFieldProps): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function GoogleMapsAttribution(): import("react").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type StackProps } from "@mui/material";
|
|
2
|
-
/** Keep each label close to its value and separate neighboring fields. */
|
|
3
|
-
export declare const METADATA_FIELD_LABEL_SPACING = 0.25;
|
|
4
|
-
export declare const METADATA_FIELD_GROUP_SPACING = 2.5;
|
|
5
|
-
export declare function MetadataFieldGroup(props: StackProps): import("react").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export declare const metadataFieldLabelSx: {
|
|
3
|
-
readonly color: "text.secondary";
|
|
4
|
-
readonly fontSize: "0.75rem";
|
|
5
|
-
readonly fontWeight: 700;
|
|
6
|
-
readonly letterSpacing: "0.04em";
|
|
7
|
-
readonly lineHeight: 1.2;
|
|
8
|
-
readonly textTransform: "uppercase";
|
|
9
|
-
};
|
|
10
|
-
export declare const metadataValueRowSx: {
|
|
11
|
-
readonly alignItems: "center";
|
|
12
|
-
readonly borderBottom: 1;
|
|
13
|
-
readonly borderColor: "divider";
|
|
14
|
-
readonly minHeight: 40;
|
|
15
|
-
readonly minWidth: 0;
|
|
16
|
-
};
|
|
17
|
-
/** Compact label/value row; consumers own actions, wording and persistence. */
|
|
18
|
-
export type MetadataValueFieldProps = {
|
|
19
|
-
label: ReactNode;
|
|
20
|
-
children: ReactNode;
|
|
21
|
-
actions?: ReactNode;
|
|
22
|
-
};
|
|
23
|
-
export declare function MetadataValueField({ label, children, actions, }: MetadataValueFieldProps): import("react").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** Shared trailing action for search text fields; typing never starts a lookup. */
|
|
2
|
-
export type SearchInputActionProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
loadingLabel: string;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onSearch: () => void;
|
|
8
|
-
};
|
|
9
|
-
export declare function SearchInputAction({ label, loadingLabel, loading, disabled, onSearch, }: SearchInputActionProps): import("react").JSX.Element;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export type VenueSuggestion = {
|
|
2
|
-
placeId: string;
|
|
3
|
-
name: string;
|
|
4
|
-
address?: string;
|
|
5
|
-
};
|
|
6
|
-
export type GoogleVenueReference = {
|
|
7
|
-
provider: "google";
|
|
8
|
-
placeId: string;
|
|
9
|
-
};
|
|
10
|
-
/** Hosts can localize all product copy; Google Maps attribution remains fixed. */
|
|
11
|
-
export type VenueSearchCopy = {
|
|
12
|
-
title: string;
|
|
13
|
-
close: string;
|
|
14
|
-
queryLabel: string;
|
|
15
|
-
queryHelp: string;
|
|
16
|
-
queryTooLong: string;
|
|
17
|
-
search: string;
|
|
18
|
-
searching: string;
|
|
19
|
-
loading: string;
|
|
20
|
-
resultsLabel: string;
|
|
21
|
-
chooseResult: string;
|
|
22
|
-
noResults: string;
|
|
23
|
-
failure: string;
|
|
24
|
-
};
|
|
25
|
-
export type VenueSearchDialogProps = {
|
|
26
|
-
placeName?: string;
|
|
27
|
-
canSearch?: boolean;
|
|
28
|
-
searchVenues: (query: string) => Promise<VenueSuggestion[]>;
|
|
29
|
-
copy?: Partial<VenueSearchCopy>;
|
|
30
|
-
onClose: () => void;
|
|
31
|
-
onChange: (pin: GoogleVenueReference) => void;
|
|
32
|
-
};
|
|
33
|
-
export declare function VenueSearchDialog({ placeName, canSearch, searchVenues, copy, onClose, onChange, }: VenueSearchDialogProps): import("react").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { VenueSearchDialog, type VenueSuggestion, type VenueSearchCopy, type VenueSearchDialogProps, type GoogleVenueReference, } from "./VenueSearchDialog.js";
|
|
2
|
-
export { SearchInputAction, type SearchInputActionProps, } from "./SearchInputAction.js";
|
|
3
|
-
export { MetadataValueField, metadataFieldLabelSx, metadataValueRowSx, type MetadataValueFieldProps, } from "./MetadataValueField.js";
|
|
4
|
-
export { GeographicLocationField, type GeographicLocationFieldProps, type GeographicLocationCopy, } from "./GeographicLocationField.js";
|
|
5
|
-
export { TemplateBadge, type TemplateBadgeProps } from "./TemplateBadge.js";
|
|
6
|
-
export { MetadataFieldGroup, METADATA_FIELD_GROUP_SPACING, METADATA_FIELD_LABEL_SPACING, } from "./MetadataFieldGroup.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { PendingChangesDialogShellProps } from "./types.js";
|
|
2
|
-
export declare function PendingChangesDialogShell({ children, open, onClose, title, titleIcon, contentHeader, contentTouchHandlers, contentSx, onEntered, closeLabel, }: PendingChangesDialogShellProps): import("react").JSX.Element;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { PendingChangesDialogViewProps } from "./types.js";
|
|
2
|
-
export declare function PendingChangesDialogView({ groups, open, onClose, title, summary, emptyMessage, accountKey, onOpenItem, onDiscardRequest, discardLabel, focusGroupKey, navigationError, contentHeader, contentTouchHandlers, shell: Shell, }: PendingChangesDialogViewProps): import("react").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type SxProps, type Theme } from "@mui/material/styles";
|
|
2
|
-
export type PendingChangesIndicatorViewProps = {
|
|
3
|
-
count: number;
|
|
4
|
-
isOffline?: boolean;
|
|
5
|
-
label?: string;
|
|
6
|
-
explanation?: string;
|
|
7
|
-
onOpen: () => void;
|
|
8
|
-
sx?: SxProps<Theme>;
|
|
9
|
-
};
|
|
10
|
-
export declare function PendingChangesIndicatorView({ count, isOffline, label, explanation, onOpen, sx, }: PendingChangesIndicatorViewProps): import("react").JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { PendingChangesDialogView } from "./PendingChangesDialogView.js";
|
|
2
|
-
export { PendingChangesIndicatorView, type PendingChangesIndicatorViewProps, } from "./PendingChangesIndicatorView.js";
|
|
3
|
-
export type { PendingChangeRow, PendingChangeViewGroup, PendingChangesDialogViewProps, PendingChangesDialogShellProps, } from "./types.js";
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import type { SxProps, Theme } from "@mui/material/styles";
|
|
3
|
-
/** Hosts own domain copy, safe navigation and correction editors. */
|
|
4
|
-
export type PendingChangeRow = {
|
|
5
|
-
id: string;
|
|
6
|
-
action?: string;
|
|
7
|
-
exception?: string;
|
|
8
|
-
needsAttention?: boolean;
|
|
9
|
-
targetLabel?: string;
|
|
10
|
-
/** Host-formatted age of this change, refreshed by the host as needed. */
|
|
11
|
-
elapsedText?: string;
|
|
12
|
-
attemptedText?: string;
|
|
13
|
-
/** Host-owned action for this individual change. */
|
|
14
|
-
endAction?: ReactNode;
|
|
15
|
-
};
|
|
16
|
-
export type PendingChangeViewGroup = {
|
|
17
|
-
key: string;
|
|
18
|
-
title: string;
|
|
19
|
-
rows: readonly PendingChangeRow[];
|
|
20
|
-
openLabel?: string;
|
|
21
|
-
unavailableReason?: string | null;
|
|
22
|
-
};
|
|
23
|
-
export type PendingChangesDialogShellProps = {
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
open: boolean;
|
|
26
|
-
onClose: () => void;
|
|
27
|
-
title: string;
|
|
28
|
-
titleIcon?: ReactNode;
|
|
29
|
-
contentHeader?: ReactNode;
|
|
30
|
-
contentTouchHandlers?: HTMLAttributes<HTMLDivElement>;
|
|
31
|
-
contentSx?: SxProps<Theme>;
|
|
32
|
-
onEntered?: () => void;
|
|
33
|
-
autoFocusInput?: boolean;
|
|
34
|
-
closeLabel?: string;
|
|
35
|
-
closeTooltip?: string;
|
|
36
|
-
exclusive?: boolean;
|
|
37
|
-
};
|
|
38
|
-
export type PendingChangesDialogViewProps = {
|
|
39
|
-
groups: readonly PendingChangeViewGroup[];
|
|
40
|
-
title: string;
|
|
41
|
-
summary: string;
|
|
42
|
-
emptyMessage?: string;
|
|
43
|
-
open: boolean;
|
|
44
|
-
onClose: () => void;
|
|
45
|
-
accountKey?: string | null;
|
|
46
|
-
onOpenItem?: (groupKey: string) => void;
|
|
47
|
-
/** Requests host-owned selection and confirmation; does not discard data. */
|
|
48
|
-
onDiscardRequest?: () => void;
|
|
49
|
-
discardLabel?: string;
|
|
50
|
-
focusGroupKey?: string | null;
|
|
51
|
-
navigationError?: string | null;
|
|
52
|
-
contentHeader?: ReactNode;
|
|
53
|
-
contentTouchHandlers?: HTMLAttributes<HTMLDivElement>;
|
|
54
|
-
shell?: ComponentType<PendingChangesDialogShellProps>;
|
|
55
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type UpgradePlan<Id extends string = string> = {
|
|
2
|
-
id: Id;
|
|
3
|
-
name: string;
|
|
4
|
-
details: readonly string[];
|
|
5
|
-
};
|
|
6
|
-
export type PlanUpgradeDialogProps<Id extends string> = {
|
|
7
|
-
title: string;
|
|
8
|
-
message: string;
|
|
9
|
-
plans: readonly UpgradePlan<Id>[];
|
|
10
|
-
selectedPlanId: Id;
|
|
11
|
-
confirmLabel: string;
|
|
12
|
-
closeLabel?: string;
|
|
13
|
-
onSelectPlan: (id: Id) => void;
|
|
14
|
-
onViewPlan: (id: Id) => void;
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
};
|
|
17
|
-
export declare function PlanUpgradeDialog<Id extends string>({ title, message, plans, selectedPlanId, confirmLabel, closeLabel, onSelectPlan, onViewPlan, onClose, }: PlanUpgradeDialogProps<Id>): import("react").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export type PricingTablePlan = {
|
|
3
|
-
id: string;
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
description: ReactNode;
|
|
6
|
-
price: ReactNode;
|
|
7
|
-
priceNote: ReactNode;
|
|
8
|
-
features: readonly ReactNode[];
|
|
9
|
-
badge?: ReactNode;
|
|
10
|
-
action?: ReactNode;
|
|
11
|
-
highlighted?: boolean;
|
|
12
|
-
/** Overrides the section name; defaults to the text label or plan ID. */
|
|
13
|
-
accessibleLabel?: string;
|
|
14
|
-
};
|
|
15
|
-
export type PricingTableProps = {
|
|
16
|
-
label: string;
|
|
17
|
-
plans: readonly PricingTablePlan[];
|
|
18
|
-
appearance?: "default" | "darkComparison";
|
|
19
|
-
className?: string;
|
|
20
|
-
interactiveClassName?: string;
|
|
21
|
-
colors: {
|
|
22
|
-
accent: string;
|
|
23
|
-
accentDark: string;
|
|
24
|
-
text: string;
|
|
25
|
-
muted: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare function PricingTable({ label, plans, className, interactiveClassName, colors, appearance, }: PricingTableProps): import("react").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { type EmotionCache } from '@emotion/react';
|
|
3
|
-
import { ThemeProvider } from '@mui/material/styles';
|
|
4
|
-
export type BayonThemeMode = 'light' | 'dark';
|
|
5
|
-
export interface BayonThemeModeContextValue {
|
|
6
|
-
mode: BayonThemeMode;
|
|
7
|
-
setMode: (mode: BayonThemeMode) => void;
|
|
8
|
-
toggleMode: () => void;
|
|
9
|
-
}
|
|
10
|
-
export interface BayonThemeProviderProps {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
emotionCache?: EmotionCache;
|
|
13
|
-
disableEmotionCacheProvider?: boolean;
|
|
14
|
-
theme?: Parameters<typeof ThemeProvider>[0]['theme'];
|
|
15
|
-
defaultMode?: BayonThemeMode;
|
|
16
|
-
storageKey?: string;
|
|
17
|
-
enableErrorBoundary?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare function useBayonThemeMode(): BayonThemeModeContextValue;
|
|
20
|
-
export declare function BayonThemeProvider({ children, emotionCache, disableEmotionCacheProvider, theme, defaultMode, storageKey, enableErrorBoundary, }: BayonThemeProviderProps): React.JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export type ExpandableSectionToggleProps = {
|
|
3
|
-
ariaControls?: string;
|
|
4
|
-
ariaLabel: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
endAdornment?: ReactNode;
|
|
7
|
-
expanded: boolean;
|
|
8
|
-
onToggle: () => void;
|
|
9
|
-
showExpandIcon?: boolean;
|
|
10
|
-
sx?: object;
|
|
11
|
-
};
|
|
12
|
-
export declare function ExpandableSectionToggle({ ariaControls, ariaLabel, children, endAdornment, expanded, onToggle, showExpandIcon, sx, }: ExpandableSectionToggleProps): import("react").JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
-
export declare const pageShellSx: SxProps<Theme>;
|
|
3
|
-
export declare const gradientHeroSx: SxProps<Theme>;
|
|
4
|
-
export declare const heroContainerSx: SxProps<Theme>;
|
|
5
|
-
export declare const heroStackSx: SxProps<Theme>;
|
|
6
|
-
export declare const heroTitleSx: SxProps<Theme>;
|
|
7
|
-
export declare const heroBodySx: SxProps<Theme>;
|
|
8
|
-
export declare const darkPanelSx: SxProps<Theme>;
|
|
9
|
-
export declare const accentPanelSx: SxProps<Theme>;
|
|
10
|
-
export declare const darkPanelHoverSx: SxProps<Theme>;
|
|
11
|
-
export declare const darkCtaSx: SxProps<Theme>;
|
|
12
|
-
export declare const eyebrowSx: SxProps<Theme>;
|
|
13
|
-
export declare const mutedTextSx: SxProps<Theme>;
|
|
14
|
-
export declare const tealButtonSx: SxProps<Theme>;
|
|
15
|
-
export declare const outlineButtonSx: SxProps<Theme>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
export declare const SWIPE_ROW_SWIPE_DELETE_DISTANCE_PX = 72;
|
|
3
|
-
export declare function SwipeActionRow({ children, onDelete, canDelete, dataComponent, }: {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
onDelete: () => void;
|
|
6
|
-
canDelete?: boolean;
|
|
7
|
-
dataComponent?: string;
|
|
8
|
-
}): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SwipeActionRow, SWIPE_ROW_SWIPE_DELETE_DISTANCE_PX } from "./SwipeActionRow.js";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CreateBayonThemeOptions } from './types.js';
|
|
2
|
-
export declare function createBayonTheme(options?: CreateBayonThemeOptions): import("@mui/material/styles").Theme;
|
|
3
|
-
export declare const bayonTheme: import("@mui/material/styles").Theme;
|
|
4
|
-
export declare const bayonDarkTheme: import("@mui/material/styles").Theme;
|