fone-design-system_v2 1.0.300 → 1.0.301
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/dist/components/Cascader/Cascader.d.ts +0 -0
- package/dist/components/Cascader/CascaderPanel.d.ts +0 -0
- package/dist/components/Popover/Popover.d.ts +13 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Upload/FileDropZone.d.ts +8 -0
- package/dist/components/Upload/FontPicker.d.ts +6 -1
- package/dist/fone-design-system.es.js +11454 -11269
- package/dist/fone-design-system.umd.js +173 -173
- package/dist/theme/fieldStyles.d.ts +3 -0
- package/dist/theme/index.d.ts +1 -0
- package/package.json +1 -1
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PopoverProps } from '@mui/material';
|
|
3
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
+
export declare const POPOVER_PAPER_SX: SxProps<Theme>;
|
|
5
|
+
type DesignSystemPopoverProps = Omit<PopoverProps, "open" | "anchorEl" | "onClose" | "children" | "content"> & {
|
|
6
|
+
open?: PopoverProps["open"];
|
|
7
|
+
anchorEl?: PopoverProps["anchorEl"];
|
|
8
|
+
onClose?: PopoverProps["onClose"];
|
|
9
|
+
anchorNode?: React.ReactNode;
|
|
10
|
+
content?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare const Popover: ({ slotProps, content, anchorNode, anchorEl, open, onClose, ...restProps }: DesignSystemPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default Popover;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface FileDropZoneProps {
|
|
3
|
+
onDropFile: (file: File) => void;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
accept?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const FileDropZone: React.ForwardRefExoticComponent<FileDropZoneProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export default FileDropZone;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
1
3
|
import { FontPickerOption } from './FontUpload.types';
|
|
2
4
|
interface FontPickerProps {
|
|
3
5
|
fullWidth?: boolean;
|
|
@@ -7,6 +9,9 @@ interface FontPickerProps {
|
|
|
7
9
|
onAdd: () => void;
|
|
8
10
|
selectionMode?: "cascader" | "family-only" | "weight-only";
|
|
9
11
|
expandAllMenus?: boolean;
|
|
12
|
+
maxVisibleTags?: number;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
10
15
|
}
|
|
11
|
-
declare const FontPicker: ({ fullWidth, options, value, onChange, onAdd, selectionMode, expandAllMenus, }: FontPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const FontPicker: ({ fullWidth, options, value, onChange, onAdd, selectionMode, expandAllMenus, maxVisibleTags, children, sx, }: FontPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
17
|
export default FontPicker;
|