@bayonai/mui-design 1.5.0 → 1.7.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 +12 -0
- package/dist/cjs/actions/ActionMenu.d.ts +24 -0
- package/dist/cjs/actions/DialogActionButtons.d.ts +23 -0
- package/dist/cjs/actions/DialogActionButtons.js +2 -2
- package/dist/cjs/actions/LoadingIconButton.d.ts +11 -0
- package/dist/cjs/actions/StickyActionFooter.d.ts +14 -0
- package/dist/cjs/actions/StickySubmitButton.d.ts +10 -0
- package/dist/cjs/actions/index.d.ts +5 -0
- package/dist/cjs/client.d.ts +4 -0
- package/dist/cjs/components/BayonFlowVisual.d.ts +12 -0
- package/dist/cjs/components/BayonThemeModeToggle.d.ts +6 -0
- package/dist/cjs/components/IconTooltipButton.d.ts +10 -0
- package/dist/cjs/components/panels.d.ts +37 -0
- package/dist/cjs/drawers/BottomDrawer.d.ts +16 -0
- package/dist/cjs/drawers/MobileBottomDrawer.d.ts +20 -0
- package/dist/cjs/drawers/MobileBottomDrawerHeader.d.ts +11 -0
- package/dist/cjs/drawers/ResponsiveDrawer.d.ts +25 -0
- package/dist/cjs/drawers/drawerAppearance.d.ts +8 -0
- package/dist/cjs/drawers/index.d.ts +6 -0
- package/dist/cjs/drawers/useVisualViewportBottomInset.d.ts +6 -0
- package/dist/cjs/feedback/StatusNotice.d.ts +13 -0
- package/dist/cjs/feedback/index.d.ts +1 -0
- package/dist/cjs/index.d.ts +9 -0
- package/dist/cjs/internal/DialogChoiceTile.d.ts +20 -0
- package/dist/cjs/internal/DialogChoiceTile.js +60 -0
- package/dist/cjs/links/LinkAddressPreview.d.ts +19 -0
- package/dist/cjs/links/index.d.ts +3 -0
- package/dist/cjs/links/useLinkAddressPreview.d.ts +26 -0
- package/dist/cjs/location/GeographicLocationField.d.ts +26 -0
- package/dist/cjs/location/GoogleMapsAttribution.d.ts +1 -0
- package/dist/cjs/location/MetadataFieldGroup.d.ts +5 -0
- package/dist/cjs/location/MetadataValueField.d.ts +23 -0
- package/dist/cjs/location/SearchInputAction.d.ts +9 -0
- package/dist/cjs/location/TemplateBadge.d.ts +5 -0
- package/dist/cjs/location/VenueSearchDialog.d.ts +33 -0
- package/dist/cjs/location/index.d.ts +6 -0
- package/dist/cjs/pending/PendingChangesDialogShell.d.ts +2 -0
- package/dist/cjs/pending/PendingChangesDialogView.d.ts +2 -0
- package/dist/cjs/pending/PendingChangesIndicatorView.d.ts +10 -0
- package/dist/cjs/pending/index.d.ts +3 -0
- package/dist/cjs/pending/types.d.ts +55 -0
- package/dist/cjs/pricing/PlanUpgradeDialog.d.ts +17 -0
- package/dist/cjs/pricing/PlanUpgradeDialog.js +22 -0
- package/dist/cjs/pricing/PricingTable.d.ts +28 -0
- package/dist/cjs/pricing/index.d.ts +3 -0
- package/dist/cjs/pricing/index.js +3 -1
- package/dist/cjs/providers/BayonThemeProvider.d.ts +20 -0
- package/dist/cjs/sections/ExpandableSectionToggle.d.ts +12 -0
- package/dist/cjs/sections/index.d.ts +2 -0
- package/dist/cjs/styles/pageStyles.d.ts +15 -0
- package/dist/cjs/swipe/SwipeActionRow.d.ts +8 -0
- package/dist/cjs/swipe/index.d.ts +1 -0
- package/dist/cjs/theme/components.d.ts +2 -0
- package/dist/cjs/theme/createBayonTheme.d.ts +4 -0
- package/dist/cjs/theme/palette.d.ts +146 -0
- package/dist/cjs/theme/shadows.d.ts +2 -0
- package/dist/cjs/theme/types.d.ts +47 -0
- package/dist/cjs/theme/typography.d.ts +2 -0
- package/dist/cjs/toasts/ActionToast.d.ts +11 -0
- package/dist/cjs/toasts/Toast.d.ts +16 -0
- package/dist/cjs/toasts/index.d.ts +5 -0
- package/dist/cjs/toasts/useUpwardToastDismiss.d.ts +15 -0
- package/dist/cjs/uploads/CameraCaptureDialog.d.ts +22 -0
- package/dist/cjs/uploads/FileRow.d.ts +10 -0
- package/dist/cjs/uploads/FileSwipeActionRow.d.ts +1 -0
- package/dist/cjs/uploads/FileThumbnail.d.ts +5 -0
- package/dist/cjs/uploads/FileUpload.d.ts +26 -0
- package/dist/cjs/uploads/FileViewer.d.ts +9 -0
- package/dist/cjs/uploads/FileViewer.js +25 -21
- package/dist/cjs/uploads/ImageCropDialog.d.ts +26 -0
- package/dist/cjs/uploads/ImageInfoPanel.d.ts +24 -0
- package/dist/cjs/uploads/ImageInfoPanel.js +41 -0
- package/dist/cjs/uploads/ImageUploadQualityDialog.d.ts +13 -0
- package/dist/cjs/uploads/ImageUploadQualityDialog.js +57 -0
- package/dist/cjs/uploads/UploadProgressRing.d.ts +24 -0
- package/dist/cjs/uploads/cameraCropPresentation.d.ts +2 -0
- package/dist/cjs/uploads/index.d.ts +12 -0
- package/dist/cjs/uploads/index.js +5 -1
- package/dist/cjs/utils/createBayonEmotionCache.d.ts +1 -0
- package/dist/esm/actions/DialogActionButtons.js +3 -3
- package/dist/esm/internal/DialogChoiceTile.js +54 -0
- package/dist/esm/pricing/PlanUpgradeDialog.js +19 -0
- package/dist/esm/pricing/index.js +1 -0
- package/dist/esm/uploads/FileViewer.js +25 -21
- package/dist/esm/uploads/ImageInfoPanel.js +35 -0
- package/dist/esm/uploads/ImageUploadQualityDialog.js +51 -0
- package/dist/esm/uploads/index.js +2 -0
- package/dist/types/actions/DialogActionButtons.d.ts +2 -1
- package/dist/types/internal/DialogChoiceTile.d.ts +20 -0
- package/dist/types/pricing/PlanUpgradeDialog.d.ts +17 -0
- package/dist/types/pricing/index.d.ts +1 -0
- package/dist/types/uploads/ImageInfoPanel.d.ts +24 -0
- package/dist/types/uploads/ImageUploadQualityDialog.d.ts +13 -0
- package/dist/types/uploads/index.d.ts +2 -0
- package/docs/uploads-contract.md +9 -0
- package/package.json +119 -41
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import CompressIcon from "@mui/icons-material/Compress";
|
|
4
|
+
import ImageSearchIcon from "@mui/icons-material/ImageSearch";
|
|
5
|
+
import { Box, Dialog, DialogContent, DialogTitle, Stack, Typography, } from "@mui/material";
|
|
6
|
+
import { useEffect, useId, useState } from "react";
|
|
7
|
+
import { DialogActionButtons, DialogCloseButton, } from "../actions/DialogActionButtons.js";
|
|
8
|
+
import { DialogChoiceTile } from "../internal/DialogChoiceTile.js";
|
|
9
|
+
export function ImageUploadQualityDialog({ file, quality, highQualityAccess, focusLockedChoice = false, hint, onQualityChange, onLockedChoice, onClose, onConfirm, }) {
|
|
10
|
+
const titleId = useId();
|
|
11
|
+
const hintId = useId();
|
|
12
|
+
const radioName = useId();
|
|
13
|
+
const [preview, setPreview] = useState();
|
|
14
|
+
const [failedFile, setFailedFile] = useState();
|
|
15
|
+
const previewFailed = failedFile === file;
|
|
16
|
+
const url = (preview === null || preview === void 0 ? void 0 : preview.file) === file && !previewFailed ? preview.url : undefined;
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (previewFailed)
|
|
19
|
+
return;
|
|
20
|
+
try {
|
|
21
|
+
const url = URL.createObjectURL(file);
|
|
22
|
+
setPreview({ file, url });
|
|
23
|
+
return () => URL.revokeObjectURL(url);
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
console.error("[ImageUploadQualityDialog] Could not open a preview for the selected file.", error);
|
|
27
|
+
setFailedFile(file);
|
|
28
|
+
}
|
|
29
|
+
}, [file, previewFailed]);
|
|
30
|
+
const highQualityTile = {
|
|
31
|
+
label: "High quality",
|
|
32
|
+
description: "Original file",
|
|
33
|
+
icon: _jsx(ImageSearchIcon, {}),
|
|
34
|
+
selected: quality === "high",
|
|
35
|
+
};
|
|
36
|
+
return (_jsxs(Dialog, { open: true, onClose: onClose, fullWidth: true, maxWidth: "xs", "aria-labelledby": titleId, children: [_jsxs(DialogTitle, { id: titleId, sx: { pr: 7 }, children: ["Upload image", _jsx(DialogCloseButton, { label: "Cancel image upload", onClose: onClose })] }), _jsx(DialogContent, { children: _jsxs(Stack, { spacing: 1.5, children: [url ? (_jsx(Box, { component: "img", src: url, alt: "Selected image preview", onError: () => {
|
|
37
|
+
console.warn("[ImageUploadQualityDialog] Could not display the selected image preview.", { type: file.type });
|
|
38
|
+
setFailedFile(file);
|
|
39
|
+
}, sx: {
|
|
40
|
+
display: "block",
|
|
41
|
+
width: "100%",
|
|
42
|
+
maxHeight: "min(32dvh, 230px)",
|
|
43
|
+
objectFit: "contain",
|
|
44
|
+
borderRadius: 2,
|
|
45
|
+
} })) : null, _jsx(Typography, { variant: "body2", sx: { overflowWrap: "anywhere" }, children: file.name }), previewFailed ? (_jsx(Typography, { variant: "caption", color: "text.secondary", children: "Preview unavailable." })) : null, _jsxs(Box, { role: highQualityAccess === "locked" ? "group" : "radiogroup", "aria-label": "Image quality", "aria-describedby": hint ? hintId : undefined, sx: {
|
|
46
|
+
display: "grid",
|
|
47
|
+
gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
|
|
48
|
+
"@media (max-width: 350px)": { gridTemplateColumns: "1fr" },
|
|
49
|
+
gap: 1,
|
|
50
|
+
}, children: [_jsx(DialogChoiceTile, { label: "Compressed", description: "Smaller file", icon: _jsx(CompressIcon, {}), name: radioName, selected: quality === "compressed", autoFocus: !focusLockedChoice, onSelect: () => onQualityChange("compressed") }), highQualityAccess === "locked" ? (_jsx(DialogChoiceTile, { ...highQualityTile, autoFocus: focusLockedChoice, onLockedClick: onLockedChoice })) : (_jsx(DialogChoiceTile, { ...highQualityTile, name: radioName, disabled: highQualityAccess === "unavailable", onSelect: () => onQualityChange("high") }))] }), hint ? (_jsx(Typography, { id: hintId, variant: "caption", color: "text.secondary", children: hint })) : null] }) }), _jsx(DialogActionButtons, { confirmLabel: "Upload image", confirmText: "Upload", onConfirm: onConfirm })] }));
|
|
51
|
+
}
|
|
@@ -3,7 +3,9 @@ export { FileUpload } from "./FileUpload.js";
|
|
|
3
3
|
export { FileRow } from "./FileRow.js";
|
|
4
4
|
export { FileThumbnail } from "./FileThumbnail.js";
|
|
5
5
|
export { FileViewer } from "./FileViewer.js";
|
|
6
|
+
export { ImageInfoPanel } from "./ImageInfoPanel.js";
|
|
6
7
|
export { UploadProgressRing } from "./UploadProgressRing.js";
|
|
7
8
|
export { useUploadLock } from "@bayonai/file-uploads/hooks";
|
|
8
9
|
export { CameraCaptureDialog } from "./CameraCaptureDialog.js";
|
|
9
10
|
export { ImageCropDialog } from "./ImageCropDialog.js";
|
|
11
|
+
export { ImageUploadQualityDialog } from "./ImageUploadQualityDialog.js";
|
|
@@ -3,6 +3,7 @@ import type { ReactNode } from "react";
|
|
|
3
3
|
export declare const compactDialogPaperSx: SxProps<Theme>;
|
|
4
4
|
export type DialogActionButtonsProps = {
|
|
5
5
|
confirmLabel: string;
|
|
6
|
+
confirmText?: string;
|
|
6
7
|
confirmDisabled?: boolean;
|
|
7
8
|
confirmColor?: "error" | "primary" | "secondary" | "success" | "warning";
|
|
8
9
|
confirmIcon?: ReactNode;
|
|
@@ -11,7 +12,7 @@ export type DialogActionButtonsProps = {
|
|
|
11
12
|
sx?: SxProps<Theme>;
|
|
12
13
|
};
|
|
13
14
|
/** Keeps the modal's primary decision compact and explicitly labelled. */
|
|
14
|
-
export declare function DialogActionButtons({ confirmColor, confirmDisabled, confirmIcon, confirmLabel, confirmType, onConfirm, sx, }: DialogActionButtonsProps): import("react").JSX.Element;
|
|
15
|
+
export declare function DialogActionButtons({ confirmColor, confirmDisabled, confirmIcon, confirmLabel, confirmText, confirmType, onConfirm, sx, }: DialogActionButtonsProps): import("react").JSX.Element;
|
|
15
16
|
export declare function DialogActionProgress(): import("react").JSX.Element;
|
|
16
17
|
export type DialogCloseButtonProps = {
|
|
17
18
|
disabled?: boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type SxProps, type Theme } from "@mui/material";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type ImageDimensions = {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
};
|
|
7
|
+
export type ImageInfoPanelProps = {
|
|
8
|
+
id: string;
|
|
9
|
+
dimensions?: ImageDimensions;
|
|
10
|
+
captureTime?: string;
|
|
11
|
+
captureOffset?: string;
|
|
12
|
+
camera?: string;
|
|
13
|
+
location?: {
|
|
14
|
+
coordinates: string;
|
|
15
|
+
approximateName?: string;
|
|
16
|
+
action?: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
loading: boolean;
|
|
19
|
+
failed: boolean;
|
|
20
|
+
onClose: () => void;
|
|
21
|
+
sx?: SxProps<Theme>;
|
|
22
|
+
};
|
|
23
|
+
/** Read-only image facts. The host supplies data and any map action. */
|
|
24
|
+
export declare function ImageInfoPanel({ id, dimensions, captureTime, captureOffset, camera, location, loading, failed, onClose, sx, }: ImageInfoPanelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ImageUploadQuality = "compressed" | "high";
|
|
2
|
+
export type ImageUploadQualityDialogProps = {
|
|
3
|
+
file: File;
|
|
4
|
+
quality: ImageUploadQuality;
|
|
5
|
+
highQualityAccess: "available" | "locked" | "unavailable";
|
|
6
|
+
focusLockedChoice?: boolean;
|
|
7
|
+
hint?: string;
|
|
8
|
+
onQualityChange: (quality: ImageUploadQuality) => void;
|
|
9
|
+
onLockedChoice: () => void;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onConfirm: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function ImageUploadQualityDialog({ file, quality, highQualityAccess, focusLockedChoice, hint, onQualityChange, onLockedChoice, onClose, onConfirm, }: ImageUploadQualityDialogProps): import("react").JSX.Element;
|
|
@@ -2,9 +2,11 @@ export { FileUpload } from "./FileUpload.js";
|
|
|
2
2
|
export { FileRow } from "./FileRow.js";
|
|
3
3
|
export { FileThumbnail } from "./FileThumbnail.js";
|
|
4
4
|
export { FileViewer } from "./FileViewer.js";
|
|
5
|
+
export { ImageInfoPanel, type ImageDimensions, type ImageInfoPanelProps } from "./ImageInfoPanel.js";
|
|
5
6
|
export { UploadProgressRing } from "./UploadProgressRing.js";
|
|
6
7
|
export { useUploadLock } from "@bayonai/file-uploads/hooks";
|
|
7
8
|
export type { UploadFile, LoadFile } from "@bayonai/file-uploads";
|
|
8
9
|
export type { UploadProgressRingProps } from "./UploadProgressRing.js";
|
|
9
10
|
export { CameraCaptureDialog, type CameraCaptureDialogProps, type CameraCaptureLabels } from "./CameraCaptureDialog.js";
|
|
10
11
|
export { ImageCropDialog, type ImageCropDialogProps, type ImageCropLabels } from "./ImageCropDialog.js";
|
|
12
|
+
export { ImageUploadQualityDialog, type ImageUploadQuality, type ImageUploadQualityDialogProps } from "./ImageUploadQualityDialog.js";
|
package/docs/uploads-contract.md
CHANGED
|
@@ -38,3 +38,12 @@ logged inert thumbnail fallback. A successful current load supersedes any prior
|
|
|
38
38
|
failure for that source; aborted/stale attempts cannot update presentation or
|
|
39
39
|
create retained preview URLs. The host still owns retry initiation through its
|
|
40
40
|
loader/attachment updates. Regression coverage is in FileThumbnail.test.tsx.
|
|
41
|
+
|
|
42
|
+
### ImageInfoPanel
|
|
43
|
+
|
|
44
|
+
Import `ImageInfoPanel` from `@bayonai/mui-design/uploads`. It shows dimensions,
|
|
45
|
+
formatted capture time and offset, camera, and an optional location with
|
|
46
|
+
coordinates and a nearby-place label. The host supplies display facts and an
|
|
47
|
+
optional location action. The component owns the read-only presentation and
|
|
48
|
+
close control. The host owns viewer lifecycle, authorization, byte access,
|
|
49
|
+
lookup, navigation and focus restoration.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bayonai/mui-design",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Shared Bayon AI Material UI theme, style recipes, and reusable design components.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -9,69 +9,147 @@
|
|
|
9
9
|
"types": "./dist/types/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/types/index.d.ts",
|
|
14
|
+
"default": "./dist/esm/index.js"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/cjs/index.d.ts",
|
|
18
|
+
"default": "./dist/cjs/index.js"
|
|
19
|
+
},
|
|
20
|
+
"default": "./dist/esm/index.js"
|
|
15
21
|
},
|
|
16
22
|
"./client": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/types/client.d.ts",
|
|
25
|
+
"default": "./dist/esm/client.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/cjs/client.d.ts",
|
|
29
|
+
"default": "./dist/cjs/client.js"
|
|
30
|
+
},
|
|
31
|
+
"default": "./dist/esm/client.js"
|
|
20
32
|
},
|
|
21
33
|
"./actions": {
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./dist/types/actions/index.d.ts",
|
|
36
|
+
"default": "./dist/esm/actions/index.js"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./dist/cjs/actions/index.d.ts",
|
|
40
|
+
"default": "./dist/cjs/actions/index.js"
|
|
41
|
+
},
|
|
42
|
+
"default": "./dist/esm/actions/index.js"
|
|
25
43
|
},
|
|
26
44
|
"./drawers": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/types/drawers/index.d.ts",
|
|
47
|
+
"default": "./dist/esm/drawers/index.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/cjs/drawers/index.d.ts",
|
|
51
|
+
"default": "./dist/cjs/drawers/index.js"
|
|
52
|
+
},
|
|
53
|
+
"default": "./dist/esm/drawers/index.js"
|
|
30
54
|
},
|
|
31
55
|
"./feedback": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
56
|
+
"import": {
|
|
57
|
+
"types": "./dist/types/feedback/index.d.ts",
|
|
58
|
+
"default": "./dist/esm/feedback/index.js"
|
|
59
|
+
},
|
|
60
|
+
"require": {
|
|
61
|
+
"types": "./dist/cjs/feedback/index.d.ts",
|
|
62
|
+
"default": "./dist/cjs/feedback/index.js"
|
|
63
|
+
},
|
|
64
|
+
"default": "./dist/esm/feedback/index.js"
|
|
35
65
|
},
|
|
36
66
|
"./links": {
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
67
|
+
"import": {
|
|
68
|
+
"types": "./dist/types/links/index.d.ts",
|
|
69
|
+
"default": "./dist/esm/links/index.js"
|
|
70
|
+
},
|
|
71
|
+
"require": {
|
|
72
|
+
"types": "./dist/cjs/links/index.d.ts",
|
|
73
|
+
"default": "./dist/cjs/links/index.js"
|
|
74
|
+
},
|
|
75
|
+
"default": "./dist/esm/links/index.js"
|
|
40
76
|
},
|
|
41
77
|
"./pending": {
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
78
|
+
"import": {
|
|
79
|
+
"types": "./dist/types/pending/index.d.ts",
|
|
80
|
+
"default": "./dist/esm/pending/index.js"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"types": "./dist/cjs/pending/index.d.ts",
|
|
84
|
+
"default": "./dist/cjs/pending/index.js"
|
|
85
|
+
},
|
|
86
|
+
"default": "./dist/esm/pending/index.js"
|
|
45
87
|
},
|
|
46
88
|
"./sections": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
89
|
+
"import": {
|
|
90
|
+
"types": "./dist/types/sections/index.d.ts",
|
|
91
|
+
"default": "./dist/esm/sections/index.js"
|
|
92
|
+
},
|
|
93
|
+
"require": {
|
|
94
|
+
"types": "./dist/cjs/sections/index.d.ts",
|
|
95
|
+
"default": "./dist/cjs/sections/index.js"
|
|
96
|
+
},
|
|
97
|
+
"default": "./dist/esm/sections/index.js"
|
|
50
98
|
},
|
|
51
99
|
"./swipe": {
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
100
|
+
"import": {
|
|
101
|
+
"types": "./dist/types/swipe/index.d.ts",
|
|
102
|
+
"default": "./dist/esm/swipe/index.js"
|
|
103
|
+
},
|
|
104
|
+
"require": {
|
|
105
|
+
"types": "./dist/cjs/swipe/index.d.ts",
|
|
106
|
+
"default": "./dist/cjs/swipe/index.js"
|
|
107
|
+
},
|
|
108
|
+
"default": "./dist/esm/swipe/index.js"
|
|
55
109
|
},
|
|
56
110
|
"./toasts": {
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
111
|
+
"import": {
|
|
112
|
+
"types": "./dist/types/toasts/index.d.ts",
|
|
113
|
+
"default": "./dist/esm/toasts/index.js"
|
|
114
|
+
},
|
|
115
|
+
"require": {
|
|
116
|
+
"types": "./dist/cjs/toasts/index.d.ts",
|
|
117
|
+
"default": "./dist/cjs/toasts/index.js"
|
|
118
|
+
},
|
|
119
|
+
"default": "./dist/esm/toasts/index.js"
|
|
60
120
|
},
|
|
61
121
|
"./uploads": {
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
122
|
+
"import": {
|
|
123
|
+
"types": "./dist/types/uploads/index.d.ts",
|
|
124
|
+
"default": "./dist/esm/uploads/index.js"
|
|
125
|
+
},
|
|
126
|
+
"require": {
|
|
127
|
+
"types": "./dist/cjs/uploads/index.d.ts",
|
|
128
|
+
"default": "./dist/cjs/uploads/index.js"
|
|
129
|
+
},
|
|
130
|
+
"default": "./dist/esm/uploads/index.js"
|
|
65
131
|
},
|
|
66
132
|
"./pricing": {
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
133
|
+
"import": {
|
|
134
|
+
"types": "./dist/types/pricing/index.d.ts",
|
|
135
|
+
"default": "./dist/esm/pricing/index.js"
|
|
136
|
+
},
|
|
137
|
+
"require": {
|
|
138
|
+
"types": "./dist/cjs/pricing/index.d.ts",
|
|
139
|
+
"default": "./dist/cjs/pricing/index.js"
|
|
140
|
+
},
|
|
141
|
+
"default": "./dist/esm/pricing/index.js"
|
|
70
142
|
},
|
|
71
143
|
"./location": {
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
144
|
+
"import": {
|
|
145
|
+
"types": "./dist/types/location/index.d.ts",
|
|
146
|
+
"default": "./dist/esm/location/index.js"
|
|
147
|
+
},
|
|
148
|
+
"require": {
|
|
149
|
+
"types": "./dist/cjs/location/index.d.ts",
|
|
150
|
+
"default": "./dist/cjs/location/index.js"
|
|
151
|
+
},
|
|
152
|
+
"default": "./dist/esm/location/index.js"
|
|
75
153
|
}
|
|
76
154
|
},
|
|
77
155
|
"files": [
|
|
@@ -102,7 +180,7 @@
|
|
|
102
180
|
},
|
|
103
181
|
"devDependencies": {
|
|
104
182
|
"typescript": "^5",
|
|
105
|
-
"@bayonai/file-uploads": "0.2.
|
|
183
|
+
"@bayonai/file-uploads": "0.2.2",
|
|
106
184
|
"react": "19.3.1",
|
|
107
185
|
"react-dom": "19.3.1",
|
|
108
186
|
"react-test-renderer": "19.3.1",
|