@mirantes-micro/foundation-design-system 1.0.16 → 1.0.18
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/index.d.ts +5 -3
- package/dist/index.js +62 -33
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ type User = {
|
|
|
86
86
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
87
87
|
type UsePathname = () => string;
|
|
88
88
|
|
|
89
|
-
declare function MirantesFoundationProvider({ children, Notification, queryClient: reactQueryClient, onOpenCreatePostModal, values: { locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, widgetsApi, hostUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
89
|
+
declare function MirantesFoundationProvider({ children, Notification, queryClient: reactQueryClient, onOpenCreatePostModal, values: { locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, widgetsApi, hostUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
90
90
|
|
|
91
91
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
92
92
|
|
|
@@ -255,10 +255,11 @@ type BaseInputProps = {
|
|
|
255
255
|
};
|
|
256
256
|
declare const BaseInput: React__default.ForwardRefExoticComponent<BaseInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
257
257
|
|
|
258
|
-
declare function CheckBoxInput({ isChecked, onClick, label, }: {
|
|
258
|
+
declare function CheckBoxInput({ isChecked, onClick, label, disabled, }: {
|
|
259
259
|
isChecked?: boolean;
|
|
260
260
|
onClick?: () => void;
|
|
261
261
|
label?: string;
|
|
262
|
+
disabled?: boolean;
|
|
262
263
|
}): React__default.JSX.Element;
|
|
263
264
|
|
|
264
265
|
type CustomDrawerProps = {
|
|
@@ -294,8 +295,9 @@ type CustomSelectInputProps = {
|
|
|
294
295
|
showCheck?: boolean;
|
|
295
296
|
label?: string;
|
|
296
297
|
error?: string;
|
|
298
|
+
disabled?: boolean;
|
|
297
299
|
};
|
|
298
|
-
declare function CustomSelectInput({ options, value, onChange, placeholder, className, enableSearch, floattable, required, showCheck, label, error, }: CustomSelectInputProps): React$1.JSX.Element;
|
|
300
|
+
declare function CustomSelectInput({ options, value, onChange, placeholder, className, enableSearch, floattable, required, showCheck, label, error, disabled, }: CustomSelectInputProps): React$1.JSX.Element;
|
|
299
301
|
|
|
300
302
|
type ButtonProps = {
|
|
301
303
|
children: React__default.ReactNode;
|