@momentum-design/components 0.48.1 → 0.49.1

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.
@@ -1363,110 +1363,6 @@
1363
1363
  }
1364
1364
  ]
1365
1365
  },
1366
- {
1367
- "kind": "javascript-module",
1368
- "path": "components/brandvisual/brandvisual.component.js",
1369
- "declarations": [
1370
- {
1371
- "kind": "class",
1372
- "description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
1373
- "name": "Brandvisual",
1374
- "members": [
1375
- {
1376
- "kind": "field",
1377
- "name": "brandVisualData",
1378
- "type": {
1379
- "text": "HTMLElement | undefined"
1380
- },
1381
- "privacy": "private"
1382
- },
1383
- {
1384
- "kind": "field",
1385
- "name": "name",
1386
- "type": {
1387
- "text": "BrandVisualNames | undefined"
1388
- },
1389
- "description": "Name of the brandVisual (= filename)",
1390
- "attribute": "name",
1391
- "reflects": true
1392
- },
1393
- {
1394
- "kind": "method",
1395
- "name": "getBrandVisualData",
1396
- "privacy": "private"
1397
- },
1398
- {
1399
- "kind": "method",
1400
- "name": "handleBrandVisualLoadedSuccess",
1401
- "privacy": "private",
1402
- "parameters": [
1403
- {
1404
- "name": "brandVisualHtml",
1405
- "type": {
1406
- "text": "HTMLElement"
1407
- },
1408
- "description": "The brandvisual html element which has been fetched from the brandvisual provider."
1409
- }
1410
- ],
1411
- "description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
1412
- },
1413
- {
1414
- "kind": "method",
1415
- "name": "handleBrandVisualLoadedFailure",
1416
- "privacy": "private",
1417
- "parameters": [
1418
- {
1419
- "name": "error",
1420
- "type": {
1421
- "text": "unknown"
1422
- }
1423
- }
1424
- ],
1425
- "description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
1426
- }
1427
- ],
1428
- "events": [
1429
- {
1430
- "description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
1431
- "name": "load",
1432
- "reactName": "onLoad"
1433
- },
1434
- {
1435
- "description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
1436
- "name": "error",
1437
- "reactName": "onError"
1438
- }
1439
- ],
1440
- "attributes": [
1441
- {
1442
- "name": "name",
1443
- "type": {
1444
- "text": "BrandVisualNames | undefined"
1445
- },
1446
- "description": "Name of the brandVisual (= filename)",
1447
- "fieldName": "name"
1448
- }
1449
- ],
1450
- "superclass": {
1451
- "name": "Component",
1452
- "module": "/src/models"
1453
- },
1454
- "tagName": "mdc-brandvisual",
1455
- "jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
1456
- "customElement": true
1457
- }
1458
- ],
1459
- "exports": [
1460
- {
1461
- "kind": "js",
1462
- "name": "default",
1463
- "declaration": {
1464
- "name": "Brandvisual",
1465
- "module": "components/brandvisual/brandvisual.component.js"
1466
- }
1467
- }
1468
- ]
1469
- },
1470
1366
  {
1471
1367
  "kind": "javascript-module",
1472
1368
  "path": "components/badge/badge.component.js",
@@ -1788,6 +1684,110 @@
1788
1684
  }
1789
1685
  ]
1790
1686
  },
1687
+ {
1688
+ "kind": "javascript-module",
1689
+ "path": "components/brandvisual/brandvisual.component.js",
1690
+ "declarations": [
1691
+ {
1692
+ "kind": "class",
1693
+ "description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
1694
+ "name": "Brandvisual",
1695
+ "members": [
1696
+ {
1697
+ "kind": "field",
1698
+ "name": "brandVisualData",
1699
+ "type": {
1700
+ "text": "HTMLElement | undefined"
1701
+ },
1702
+ "privacy": "private"
1703
+ },
1704
+ {
1705
+ "kind": "field",
1706
+ "name": "name",
1707
+ "type": {
1708
+ "text": "BrandVisualNames | undefined"
1709
+ },
1710
+ "description": "Name of the brandVisual (= filename)",
1711
+ "attribute": "name",
1712
+ "reflects": true
1713
+ },
1714
+ {
1715
+ "kind": "method",
1716
+ "name": "getBrandVisualData",
1717
+ "privacy": "private"
1718
+ },
1719
+ {
1720
+ "kind": "method",
1721
+ "name": "handleBrandVisualLoadedSuccess",
1722
+ "privacy": "private",
1723
+ "parameters": [
1724
+ {
1725
+ "name": "brandVisualHtml",
1726
+ "type": {
1727
+ "text": "HTMLElement"
1728
+ },
1729
+ "description": "The brandvisual html element which has been fetched from the brandvisual provider."
1730
+ }
1731
+ ],
1732
+ "description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
1733
+ },
1734
+ {
1735
+ "kind": "method",
1736
+ "name": "handleBrandVisualLoadedFailure",
1737
+ "privacy": "private",
1738
+ "parameters": [
1739
+ {
1740
+ "name": "error",
1741
+ "type": {
1742
+ "text": "unknown"
1743
+ }
1744
+ }
1745
+ ],
1746
+ "description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
1747
+ }
1748
+ ],
1749
+ "events": [
1750
+ {
1751
+ "description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
1752
+ "name": "load",
1753
+ "reactName": "onLoad"
1754
+ },
1755
+ {
1756
+ "description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
1757
+ "name": "error",
1758
+ "reactName": "onError"
1759
+ }
1760
+ ],
1761
+ "attributes": [
1762
+ {
1763
+ "name": "name",
1764
+ "type": {
1765
+ "text": "BrandVisualNames | undefined"
1766
+ },
1767
+ "description": "Name of the brandVisual (= filename)",
1768
+ "fieldName": "name"
1769
+ }
1770
+ ],
1771
+ "superclass": {
1772
+ "name": "Component",
1773
+ "module": "/src/models"
1774
+ },
1775
+ "tagName": "mdc-brandvisual",
1776
+ "jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
1777
+ "customElement": true
1778
+ }
1779
+ ],
1780
+ "exports": [
1781
+ {
1782
+ "kind": "js",
1783
+ "name": "default",
1784
+ "declaration": {
1785
+ "name": "Brandvisual",
1786
+ "module": "components/brandvisual/brandvisual.component.js"
1787
+ }
1788
+ }
1789
+ ]
1790
+ },
1791
1791
  {
1792
1792
  "kind": "javascript-module",
1793
1793
  "path": "components/bullet/bullet.component.js",
@@ -2,8 +2,8 @@ export { default as AlertChip } from './alertchip';
2
2
  export { default as Appheader } from './appheader';
3
3
  export { default as Avatar } from './avatar';
4
4
  export { default as AvatarButton } from './avatarbutton';
5
- export { default as Brandvisual } from './brandvisual';
6
5
  export { default as Badge } from './badge';
6
+ export { default as Brandvisual } from './brandvisual';
7
7
  export { default as Bullet } from './bullet';
8
8
  export { default as Button } from './button';
9
9
  export { default as Buttonsimple } from './buttonsimple';
@@ -2,8 +2,8 @@ export { default as AlertChip } from './alertchip';
2
2
  export { default as Appheader } from './appheader';
3
3
  export { default as Avatar } from './avatar';
4
4
  export { default as AvatarButton } from './avatarbutton';
5
- export { default as Brandvisual } from './brandvisual';
6
5
  export { default as Badge } from './badge';
6
+ export { default as Brandvisual } from './brandvisual';
7
7
  export { default as Bullet } from './bullet';
8
8
  export { default as Button } from './button';
9
9
  export { default as Buttonsimple } from './buttonsimple';
package/package.json CHANGED
@@ -39,5 +39,5 @@
39
39
  "lit": "^3.2.0",
40
40
  "uuid": "^11.0.5"
41
41
  },
42
- "version": "0.48.1"
42
+ "version": "0.49.1"
43
43
  }