@useloops/design-system 1.4.98 → 1.4.99
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/esm/index.js +3 -3
- package/dist/index.d.ts +9 -12
- package/dist/index.js +3 -3
- package/package.json +21 -21
package/dist/index.d.ts
CHANGED
|
@@ -8,12 +8,9 @@ import * as _mui_system from '@mui/system';
|
|
|
8
8
|
import { SxProps as SxProps$1, Theme as Theme$2 } from '@mui/system';
|
|
9
9
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
10
10
|
import { Content } from '@tiptap/core/src/types';
|
|
11
|
-
import { InputFieldBaseProps as InputFieldBaseProps$1 } from 'WebCore/InputFieldBase';
|
|
12
11
|
import * as _emotion_styled from '@emotion/styled';
|
|
13
12
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
14
|
-
import { NumberFieldProps as NumberFieldProps$1 } from 'WebCore/NumberField/NumberField';
|
|
15
13
|
import { SubmitHandler } from 'react-hook-form';
|
|
16
|
-
import { RichTextFieldProps as RichTextFieldProps$1 } from 'systems/WebCore/RichTextField';
|
|
17
14
|
|
|
18
15
|
interface ColorRange {
|
|
19
16
|
0: string;
|
|
@@ -592,7 +589,7 @@ interface RankProps extends Omit<SortableListProps<any>, 'renderItem' | 'items'>
|
|
|
592
589
|
}
|
|
593
590
|
declare const Rank: FunctionComponent<RankProps>;
|
|
594
591
|
|
|
595
|
-
type RichTextFieldProps = Omit<InputFieldBaseProps
|
|
592
|
+
type RichTextFieldProps = Omit<InputFieldBaseProps, 'value'> & {
|
|
596
593
|
internalChange?: () => void;
|
|
597
594
|
minHeight?: number;
|
|
598
595
|
minWidth?: number;
|
|
@@ -726,7 +723,7 @@ type TextFieldType = {
|
|
|
726
723
|
} & BaseField & Omit<TextFieldProps, 'value' | 'onChange' | 'name'>;
|
|
727
724
|
type NumberFieldType = {
|
|
728
725
|
fieldType: 'numberfield';
|
|
729
|
-
} & BaseField & Omit<NumberFieldProps
|
|
726
|
+
} & BaseField & Omit<NumberFieldProps, 'value' | 'onChange' | 'name'>;
|
|
730
727
|
type TextareaType = {
|
|
731
728
|
fieldType: 'textarea';
|
|
732
729
|
} & BaseField & Omit<TextareaProps, 'value' | 'onChange' | 'name'>;
|
|
@@ -764,8 +761,8 @@ type DragAndDropRankingType = {
|
|
|
764
761
|
} & BaseField & Omit<RankProps, 'value' | 'onChange' | 'name'>;
|
|
765
762
|
type RichTextFieldType = {
|
|
766
763
|
fieldType: 'richTextfield';
|
|
767
|
-
defaultValue?: RichTextFieldProps
|
|
768
|
-
} & BaseField & Omit<RichTextFieldProps
|
|
764
|
+
defaultValue?: RichTextFieldProps['value'];
|
|
765
|
+
} & BaseField & Omit<RichTextFieldProps, 'value' | 'onChange' | 'name'>;
|
|
769
766
|
type StarRatingType = {
|
|
770
767
|
fieldType: 'starRating';
|
|
771
768
|
defaultValue?: StarRatingProps['value'];
|
|
@@ -1047,7 +1044,7 @@ declare module '@mui/material/styles' {
|
|
|
1047
1044
|
xl: true;
|
|
1048
1045
|
xxl: true;
|
|
1049
1046
|
}
|
|
1050
|
-
interface TypographyVariants
|
|
1047
|
+
interface TypographyVariants {
|
|
1051
1048
|
xxxl: React.CSSProperties;
|
|
1052
1049
|
xxl: React.CSSProperties;
|
|
1053
1050
|
xl: React.CSSProperties;
|
|
@@ -1056,7 +1053,7 @@ declare module '@mui/material/styles' {
|
|
|
1056
1053
|
sm: React.CSSProperties;
|
|
1057
1054
|
xs: React.CSSProperties;
|
|
1058
1055
|
}
|
|
1059
|
-
interface TypographyVariantsOptions
|
|
1056
|
+
interface TypographyVariantsOptions {
|
|
1060
1057
|
xxxl?: React.CSSProperties;
|
|
1061
1058
|
xxl?: React.CSSProperties;
|
|
1062
1059
|
xl?: React.CSSProperties;
|
|
@@ -1065,7 +1062,7 @@ declare module '@mui/material/styles' {
|
|
|
1065
1062
|
sm?: React.CSSProperties;
|
|
1066
1063
|
xs?: React.CSSProperties;
|
|
1067
1064
|
}
|
|
1068
|
-
interface ThemeOptions
|
|
1065
|
+
interface ThemeOptions {
|
|
1069
1066
|
custom?: {
|
|
1070
1067
|
palette?: {
|
|
1071
1068
|
black?: string;
|
|
@@ -1186,7 +1183,7 @@ declare module '@mui/material/styles' {
|
|
|
1186
1183
|
};
|
|
1187
1184
|
};
|
|
1188
1185
|
}
|
|
1189
|
-
interface Theme
|
|
1186
|
+
interface Theme {
|
|
1190
1187
|
custom: CustomTheme;
|
|
1191
1188
|
margin: {
|
|
1192
1189
|
0: number;
|
|
@@ -1218,7 +1215,7 @@ declare module '@mui/material/styles' {
|
|
|
1218
1215
|
}
|
|
1219
1216
|
}
|
|
1220
1217
|
declare module '@mui/material/Typography' {
|
|
1221
|
-
interface TypographyPropsVariantOverrides
|
|
1218
|
+
interface TypographyPropsVariantOverrides {
|
|
1222
1219
|
xxxl: true;
|
|
1223
1220
|
xxl: true;
|
|
1224
1221
|
xl: true;
|