@mamrp/components 1.7.7 → 1.7.8
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.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -614,13 +614,14 @@ type PaletteColor = "primary" | "secondary" | "error" | "warning" | "info" | "su
|
|
|
614
614
|
interface CustomDialogProps {
|
|
615
615
|
title: string;
|
|
616
616
|
icon?: IconType;
|
|
617
|
-
iconColor?: PaletteColor
|
|
617
|
+
iconColor?: PaletteColor;
|
|
618
618
|
open: boolean;
|
|
619
619
|
onClose: () => void;
|
|
620
620
|
maxWidth?: DialogProps["maxWidth"];
|
|
621
621
|
fullWidth?: boolean;
|
|
622
622
|
children: ReactNode;
|
|
623
|
+
actions?: ReactNode;
|
|
623
624
|
}
|
|
624
|
-
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, }: CustomDialogProps): React$1.JSX.Element;
|
|
625
|
+
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, }: CustomDialogProps): React$1.JSX.Element;
|
|
625
626
|
|
|
626
|
-
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
|
627
|
+
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, type CustomDialogProps, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, type PaletteColor, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
package/dist/index.d.ts
CHANGED
|
@@ -614,13 +614,14 @@ type PaletteColor = "primary" | "secondary" | "error" | "warning" | "info" | "su
|
|
|
614
614
|
interface CustomDialogProps {
|
|
615
615
|
title: string;
|
|
616
616
|
icon?: IconType;
|
|
617
|
-
iconColor?: PaletteColor
|
|
617
|
+
iconColor?: PaletteColor;
|
|
618
618
|
open: boolean;
|
|
619
619
|
onClose: () => void;
|
|
620
620
|
maxWidth?: DialogProps["maxWidth"];
|
|
621
621
|
fullWidth?: boolean;
|
|
622
622
|
children: ReactNode;
|
|
623
|
+
actions?: ReactNode;
|
|
623
624
|
}
|
|
624
|
-
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, }: CustomDialogProps): React$1.JSX.Element;
|
|
625
|
+
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, }: CustomDialogProps): React$1.JSX.Element;
|
|
625
626
|
|
|
626
|
-
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
|
627
|
+
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, type CustomDialogProps, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, type PaletteColor, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
package/dist/index.js
CHANGED
|
@@ -5233,7 +5233,8 @@ function CustomDialog({
|
|
|
5233
5233
|
onClose,
|
|
5234
5234
|
maxWidth = "sm",
|
|
5235
5235
|
fullWidth = true,
|
|
5236
|
-
children
|
|
5236
|
+
children,
|
|
5237
|
+
actions
|
|
5237
5238
|
}) {
|
|
5238
5239
|
return /* @__PURE__ */ React.createElement(
|
|
5239
5240
|
import_material31.Dialog,
|
|
@@ -5306,7 +5307,8 @@ function CustomDialog({
|
|
|
5306
5307
|
/* @__PURE__ */ React.createElement(import_md9.MdClose, null)
|
|
5307
5308
|
)),
|
|
5308
5309
|
/* @__PURE__ */ React.createElement(import_material31.Divider, null),
|
|
5309
|
-
/* @__PURE__ */ React.createElement(import_material31.DialogContent, null, children)
|
|
5310
|
+
/* @__PURE__ */ React.createElement(import_material31.DialogContent, null, children),
|
|
5311
|
+
actions && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(import_material31.DialogActions, null, actions))
|
|
5310
5312
|
);
|
|
5311
5313
|
}
|
|
5312
5314
|
// Annotate the CommonJS export names for ESM import in node:
|