@duyluonganduin/acl-web-components 0.0.5 → 0.0.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/react.d.ts CHANGED
@@ -272,6 +272,23 @@ declare module 'react' {
272
272
 
273
273
  // ── anduin-well-close ─────────────────────────────────────────────────
274
274
  'anduin-well-close': Base
275
+
276
+ // ── anduin-modal ──────────────────────────────────────────────────────
277
+ 'anduin-modal': Base & {
278
+ /** Whether the modal is open */
279
+ open?: boolean | string
280
+ /** Modal title text */
281
+ heading?: string
282
+ /** Max-width preset: '480' | '600' | '720' | '960' | '1160', or any CSS value (default: '480') */
283
+ 'max-width'?: '480' | '600' | '720' | '960' | '1160' | string
284
+ /** Hide the footer slot container */
285
+ 'hide-footer'?: boolean | string
286
+ /** Fired when the modal should close (X, overlay, or anduin-modal-close) */
287
+ onClose?: (e: CustomEvent) => void
288
+ }
289
+
290
+ // ── anduin-modal-close ────────────────────────────────────────────────
291
+ 'anduin-modal-close': Base
275
292
  }
276
293
  }
277
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",