fone-design-system_v2 1.0.319 → 1.0.321
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/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Radio/RadioGroup.d.ts +1 -0
- package/dist/components/ShadowGenerator/ShadowGenerator.d.ts +11 -10
- package/dist/components/ShadowGenerator/index.d.ts +2 -1
- package/dist/components/Table2/index.d.ts +2 -1
- package/dist/fone-design-system.es.js +2047 -2019
- package/dist/fone-design-system.umd.js +91 -91
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputE
|
|
|
24
24
|
checked?: boolean;
|
|
25
25
|
defaultChecked?: boolean;
|
|
26
26
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
|
+
sx?: SxProps<Theme>;
|
|
27
28
|
}
|
|
28
29
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
29
30
|
export default Checkbox;
|
|
@@ -22,6 +22,7 @@ export interface RadioGroupProps<T extends FieldValues> extends MuiRadioGroupPro
|
|
|
22
22
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
23
23
|
radioSize?: string | number;
|
|
24
24
|
labelSize?: string | number;
|
|
25
|
+
sx?: MuiRadioGroupProps["sx"];
|
|
25
26
|
}
|
|
26
27
|
declare const RadioGroup: ({ name, label, row, optionGap, children, options, formName, control, field, value, onChange, radioSize, labelSize, sx, defaultValue, ...props }: RadioGroupProps<FieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
27
28
|
export default RadioGroup;
|
|
@@ -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>;
|