@firecms/ui 3.0.0-canary.40 → 3.0.0-canary.41
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/CenteredView.d.ts +4 -2
- package/dist/components/TextareaAutosize.d.ts +4 -2
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/useLocaleConfig.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +7254 -7242
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/util/index.d.ts +0 -2
- package/package.json +4 -2
- package/src/components/Autocomplete.tsx +2 -1
- package/src/components/Button.tsx +1 -1
- package/src/components/CenteredView.tsx +24 -14
- package/src/components/Collapse.tsx +2 -1
- package/src/components/DateTimeField.tsx +2 -1
- package/src/components/ExpandablePanel.tsx +2 -1
- package/src/components/FileUpload.tsx +1 -1
- package/src/components/InputLabel.tsx +6 -6
- package/src/components/Label.tsx +1 -1
- package/src/components/MultiSelect.tsx +2 -1
- package/src/components/Popover.tsx +2 -1
- package/src/components/SearchBar.tsx +1 -1
- package/src/components/TextareaAutosize.tsx +1 -1
- package/src/components/Tooltip.tsx +2 -1
- package/src/components/Typography.tsx +1 -1
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useLocaleConfig.tsx +18 -0
- package/src/index.ts +1 -0
- package/src/util/index.ts +0 -2
- /package/dist/{util → hooks}/useDebounceValue.d.ts +0 -0
- /package/dist/{util → hooks}/useInjectStyles.d.ts +0 -0
- /package/dist/{util → hooks}/useOutsideAlerter.d.ts +0 -0
- /package/src/{util → hooks}/useDebounceValue.tsx +0 -0
- /package/src/{util → hooks}/useInjectStyles.tsx +0 -0
- /package/src/{util → hooks}/useOutsideAlerter.tsx +0 -0
@@ -1,7 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
-
export
|
2
|
+
export type CenteredViewProps = {
|
3
3
|
children: React.ReactNode;
|
4
4
|
maxWidth?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl";
|
5
|
+
outerClassName?: string;
|
5
6
|
className?: string;
|
6
7
|
fullScreen?: boolean;
|
7
|
-
}
|
8
|
+
};
|
9
|
+
export declare const CenteredView: React.ForwardRefExoticComponent<CenteredViewProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -3,7 +3,7 @@ type State = {
|
|
3
3
|
outerHeightStyle: number;
|
4
4
|
overflow?: boolean | undefined;
|
5
5
|
};
|
6
|
-
export declare const TextareaAutosize: React.
|
6
|
+
export declare const TextareaAutosize: React.FC<Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "onResize"> & {
|
7
7
|
className?: string | undefined;
|
8
8
|
shadowClassName?: string | undefined;
|
9
9
|
/**
|
@@ -36,7 +36,9 @@ export declare const TextareaAutosize: React.ForwardRefExoticComponent<Omit<Reac
|
|
36
36
|
onResize?: ((state: State) => void) | undefined;
|
37
37
|
autoFocus?: boolean | undefined;
|
38
38
|
ignoreBoxSizing?: boolean | undefined;
|
39
|
-
} &
|
39
|
+
} & {
|
40
|
+
ref?: React.ForwardedRef<Element> | undefined;
|
41
|
+
}>;
|
40
42
|
export type TextareaAutosizeProps = Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "onResize"> & {
|
41
43
|
className?: string;
|
42
44
|
shadowClassName?: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function useLocaleConfig(locale?: string): void;
|
package/dist/index.d.ts
CHANGED