@bluemarble/bm-components 2.4.6 → 2.4.7
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.cjs +13 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -457,7 +457,7 @@ interface IBaseDialogContainerProps {
|
|
|
457
457
|
close: () => void;
|
|
458
458
|
}) => React__default.ReactNode);
|
|
459
459
|
}
|
|
460
|
-
declare const BaseDialogContainer: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
460
|
+
declare const BaseDialogContainer: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
461
461
|
interface IBaseDialogBodyProps extends BoxProps {
|
|
462
462
|
}
|
|
463
463
|
declare const BaseDialogBody: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
@@ -469,7 +469,7 @@ declare const BaseDialogCreate: (name?: symbol) => {
|
|
|
469
469
|
name: symbol;
|
|
470
470
|
Trigger: (props: Omit<IBaseDialogTriggerProps, "name">) => React__default.JSX.Element;
|
|
471
471
|
Root: (props: Omit<IBaseDialogInstanceProviderProps, "name">) => React__default.JSX.Element;
|
|
472
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
472
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
473
473
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
474
474
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
475
475
|
};
|
|
@@ -478,14 +478,14 @@ declare const BaseDialog: {
|
|
|
478
478
|
name: symbol;
|
|
479
479
|
Trigger: (props: Omit<IBaseDialogTriggerProps, "name">) => React__default.JSX.Element;
|
|
480
480
|
Root: (props: Omit<IBaseDialogInstanceProviderProps, "name">) => React__default.JSX.Element;
|
|
481
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
481
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
482
482
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
483
483
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
484
484
|
};
|
|
485
485
|
Trigger: ({ name, onClick, ...props }: IBaseDialogTriggerProps) => React__default.JSX.Element;
|
|
486
486
|
Provider: (props: any) => React__default.JSX.Element;
|
|
487
487
|
Root: (props: IBaseDialogInstanceProviderProps) => React__default.JSX.Element;
|
|
488
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
488
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
489
489
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
490
490
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
491
491
|
};
|
|
@@ -545,7 +545,7 @@ interface HelperRequest {
|
|
|
545
545
|
};
|
|
546
546
|
cookies: Record<string, string>;
|
|
547
547
|
body?: any;
|
|
548
|
-
query
|
|
548
|
+
query: Record<string, string | string[]>;
|
|
549
549
|
user?: any;
|
|
550
550
|
}
|
|
551
551
|
interface HelperResponse {
|
package/dist/index.d.ts
CHANGED
|
@@ -457,7 +457,7 @@ interface IBaseDialogContainerProps {
|
|
|
457
457
|
close: () => void;
|
|
458
458
|
}) => React__default.ReactNode);
|
|
459
459
|
}
|
|
460
|
-
declare const BaseDialogContainer: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
460
|
+
declare const BaseDialogContainer: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
461
461
|
interface IBaseDialogBodyProps extends BoxProps {
|
|
462
462
|
}
|
|
463
463
|
declare const BaseDialogBody: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
@@ -469,7 +469,7 @@ declare const BaseDialogCreate: (name?: symbol) => {
|
|
|
469
469
|
name: symbol;
|
|
470
470
|
Trigger: (props: Omit<IBaseDialogTriggerProps, "name">) => React__default.JSX.Element;
|
|
471
471
|
Root: (props: Omit<IBaseDialogInstanceProviderProps, "name">) => React__default.JSX.Element;
|
|
472
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
472
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
473
473
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
474
474
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
475
475
|
};
|
|
@@ -478,14 +478,14 @@ declare const BaseDialog: {
|
|
|
478
478
|
name: symbol;
|
|
479
479
|
Trigger: (props: Omit<IBaseDialogTriggerProps, "name">) => React__default.JSX.Element;
|
|
480
480
|
Root: (props: Omit<IBaseDialogInstanceProviderProps, "name">) => React__default.JSX.Element;
|
|
481
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
481
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
482
482
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
483
483
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
484
484
|
};
|
|
485
485
|
Trigger: ({ name, onClick, ...props }: IBaseDialogTriggerProps) => React__default.JSX.Element;
|
|
486
486
|
Provider: (props: any) => React__default.JSX.Element;
|
|
487
487
|
Root: (props: IBaseDialogInstanceProviderProps) => React__default.JSX.Element;
|
|
488
|
-
Container: ({ children, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
488
|
+
Container: ({ children, BoxProps, ...rest }: IBaseDialogContainerProps) => React__default.JSX.Element;
|
|
489
489
|
Header: ({ title, onClose, IconButtonProps, TypographyProps, ...props }: DialogHeaderProps) => React__default.JSX.Element;
|
|
490
490
|
Body: (props: IBaseDialogBodyProps) => React__default.JSX.Element;
|
|
491
491
|
};
|
|
@@ -545,7 +545,7 @@ interface HelperRequest {
|
|
|
545
545
|
};
|
|
546
546
|
cookies: Record<string, string>;
|
|
547
547
|
body?: any;
|
|
548
|
-
query
|
|
548
|
+
query: Record<string, string | string[]>;
|
|
549
549
|
user?: any;
|
|
550
550
|
}
|
|
551
551
|
interface HelperResponse {
|
package/dist/index.js
CHANGED
|
@@ -4541,6 +4541,7 @@ var BaseDialogHeader = ({
|
|
|
4541
4541
|
// src/components/BaseDialog/BaseDialog.tsx
|
|
4542
4542
|
var BaseDialogContainer = ({
|
|
4543
4543
|
children,
|
|
4544
|
+
BoxProps: BoxProps3 = {},
|
|
4544
4545
|
...rest
|
|
4545
4546
|
}) => {
|
|
4546
4547
|
const { name } = useBaseDialogInstance();
|
|
@@ -4548,7 +4549,7 @@ var BaseDialogContainer = ({
|
|
|
4548
4549
|
return /* @__PURE__ */ React29.createElement(Modal2, { open: isOpened(name), onClose: () => closeDialog(name), ...rest }, /* @__PURE__ */ React29.createElement(
|
|
4549
4550
|
Box8,
|
|
4550
4551
|
{
|
|
4551
|
-
...
|
|
4552
|
+
...BoxProps3,
|
|
4552
4553
|
sx: {
|
|
4553
4554
|
outline: "none",
|
|
4554
4555
|
backgroundColor: "background.paper",
|
|
@@ -4557,7 +4558,7 @@ var BaseDialogContainer = ({
|
|
|
4557
4558
|
left: "50%",
|
|
4558
4559
|
transform: "translate(-50%, -50%)",
|
|
4559
4560
|
borderRadius: 1,
|
|
4560
|
-
...
|
|
4561
|
+
...BoxProps3?.sx
|
|
4561
4562
|
}
|
|
4562
4563
|
},
|
|
4563
4564
|
children
|