@duyluonganduin/acl-web-components 0.0.8 → 0.0.9

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
@@ -287,8 +287,12 @@ declare module 'react' {
287
287
  heading?: string
288
288
  /** Max-width preset: '480' | '600' | '720' | '960' | '1160', or any CSS value (default: '480') */
289
289
  'max-width'?: '480' | '600' | '720' | '960' | '1160' | string
290
+ /** Hide the header (title + close button) */
291
+ 'hide-header'?: boolean | string
290
292
  /** Hide the footer slot container */
291
293
  'hide-footer'?: boolean | string
294
+ /** Cover the full viewport; hides overlay and removes border-radius */
295
+ fullscreen?: boolean | string
292
296
  /** Fired when the modal should close (X, overlay, or anduin-modal-close) */
293
297
  onClose?: (e: CustomEvent) => void
294
298
  }
@@ -296,6 +300,22 @@ declare module 'react' {
296
300
  // ── anduin-modal-close ────────────────────────────────────────────────
297
301
  'anduin-modal-close': Base
298
302
 
303
+ // ── anduin-avatar ─────────────────────────────────────────────────────
304
+ 'anduin-avatar': Base & {
305
+ /** Image URL */
306
+ src?: string
307
+ /** Name used for initials and color */
308
+ name?: string
309
+ /** Alt text for the image */
310
+ alt?: string
311
+ /** anduin-icon name to show instead of initials */
312
+ icon?: string
313
+ /** 16 | 20 | 24 | 32 (default: 32) */
314
+ size?: 16 | 20 | 24 | 32 | string
315
+ /** 'circle' | 'rounded' (default: 'circle') */
316
+ shape?: 'circle' | 'rounded'
317
+ }
318
+
299
319
  // ── anduin-file-icon ──────────────────────────────────────────────────
300
320
  'anduin-file-icon': Base & {
301
321
  /** 'archive' | 'audio' | 'blueprint' | 'box' | 'csv' | 'excel' | 'folder'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",