solace-ui-components 18.0.9 → 18.0.11

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 CHANGED
@@ -745,14 +745,23 @@ interface SolaceConfirmationDialogProps {
745
745
  * currently supports block, contents, and flex
746
746
  */
747
747
  contentLayout?: "block" | "contents" | "flex";
748
- maxWidth?: Breakpoint;
748
+ /**
749
+ * Determines the max-width of the dialog. Set to `false` to remove the max-width constraint,
750
+ * allowing the dialog to fill the full viewport width (minus margin).
751
+ */
752
+ maxWidth?: Breakpoint | false;
753
+ /**
754
+ * If true, the dialog stretches to the full width allowed by maxWidth.
755
+ * @default false
756
+ */
757
+ fullWidth?: boolean;
749
758
  children?: ReactNode;
750
759
  /**
751
760
  * Footer content to be displayed at the bottom of the dialog
752
761
  */
753
762
  footer?: ReactNode;
754
763
  }
755
- declare function SolaceConfirmationDialog({ title, contentText, actions, customAction, disableDefaultPadding, isOpen, maxWidth, contentLayout, linearProgressIndicator, children, footer }: SolaceConfirmationDialogProps): JSX.Element;
764
+ declare function SolaceConfirmationDialog({ title, contentText, actions, customAction, disableDefaultPadding, isOpen, maxWidth, fullWidth, contentLayout, linearProgressIndicator, children, footer }: SolaceConfirmationDialogProps): JSX.Element;
756
765
 
757
766
  interface SolaceMenuItemProps extends SolaceComponentProps {
758
767
  id?: string;
package/dist/index.d.ts CHANGED
@@ -745,14 +745,23 @@ interface SolaceConfirmationDialogProps {
745
745
  * currently supports block, contents, and flex
746
746
  */
747
747
  contentLayout?: "block" | "contents" | "flex";
748
- maxWidth?: Breakpoint;
748
+ /**
749
+ * Determines the max-width of the dialog. Set to `false` to remove the max-width constraint,
750
+ * allowing the dialog to fill the full viewport width (minus margin).
751
+ */
752
+ maxWidth?: Breakpoint | false;
753
+ /**
754
+ * If true, the dialog stretches to the full width allowed by maxWidth.
755
+ * @default false
756
+ */
757
+ fullWidth?: boolean;
749
758
  children?: ReactNode;
750
759
  /**
751
760
  * Footer content to be displayed at the bottom of the dialog
752
761
  */
753
762
  footer?: ReactNode;
754
763
  }
755
- declare function SolaceConfirmationDialog({ title, contentText, actions, customAction, disableDefaultPadding, isOpen, maxWidth, contentLayout, linearProgressIndicator, children, footer }: SolaceConfirmationDialogProps): JSX.Element;
764
+ declare function SolaceConfirmationDialog({ title, contentText, actions, customAction, disableDefaultPadding, isOpen, maxWidth, fullWidth, contentLayout, linearProgressIndicator, children, footer }: SolaceConfirmationDialogProps): JSX.Element;
756
765
 
757
766
  interface SolaceMenuItemProps extends SolaceComponentProps {
758
767
  id?: string;