fone-design-system_v2 1.0.319 → 1.0.320
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.
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
export interface DtcgShadowLayer {
|
|
2
|
+
offsetX: string;
|
|
3
|
+
offsetY: string;
|
|
4
|
+
blur: string;
|
|
5
|
+
spread: string;
|
|
6
|
+
color: string;
|
|
7
|
+
alpha: number;
|
|
8
|
+
inset?: boolean;
|
|
9
|
+
}
|
|
1
10
|
interface ShadowGeneratorProps {
|
|
2
|
-
value?:
|
|
3
|
-
onChange?: (
|
|
4
|
-
value: string;
|
|
5
|
-
offsetX: number;
|
|
6
|
-
offsetY: number;
|
|
7
|
-
blur: number;
|
|
8
|
-
spread: number;
|
|
9
|
-
opacity: number;
|
|
10
|
-
colorHex: string;
|
|
11
|
-
}) => void;
|
|
11
|
+
value?: DtcgShadowLayer;
|
|
12
|
+
onChange?: (layer: DtcgShadowLayer) => void;
|
|
12
13
|
}
|
|
13
14
|
declare const ShadowGenerator: ({ value, onChange }: ShadowGeneratorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default ShadowGenerator;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as CellModalField } from './rows/cells/CellModalField';
|
|
2
|
+
import { CELL_EDITOR_COMPACT_HEIGHT } from './rows/shared/CellEditorLayout';
|
|
2
3
|
import { default as Table2 } from './Table2';
|
|
3
4
|
import { ColumnDef as BaseColumnDef, Table2Props as BaseTableProps } from './types/table.types';
|
|
4
|
-
export { Table2, CellModalField };
|
|
5
|
+
export { Table2, CellModalField, CELL_EDITOR_COMPACT_HEIGHT };
|
|
5
6
|
export type Table2Props = BaseTableProps;
|
|
6
7
|
export type ColumnDef<T extends object> = BaseColumnDef<T>;
|