import { html, css, cssManager } from '@design.estate/dees-element'; import { DeesModal } from './dees-modal.js'; export const demoFunc = () => html`
Modals can have optional header buttons for help and closing.
Modals can have different widths: small, medium, large, fullscreen, or custom pixel values.
You can also set custom pixel widths and min/max constraints.
Modals can have different button configurations with proper spacing.
All modals automatically become full-width on mobile devices (< 768px viewport width) for better usability.
Resize your browser window to see how this modal adapts. On mobile viewports, it will automatically take the full width minus margins.
The header buttons remain accessible at all viewport sizes.
`, menuOptions: [{ name: 'Close', action: async (modal) => modal.destroy() }], }); }}>Test Responsive