@momentum-design/components 0.106.3 → 0.106.4
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.
@@ -1554,67 +1554,6 @@
|
|
1554
1554
|
}
|
1555
1555
|
]
|
1556
1556
|
},
|
1557
|
-
{
|
1558
|
-
"kind": "javascript-module",
|
1559
|
-
"path": "components/appheader/appheader.component.js",
|
1560
|
-
"declarations": [
|
1561
|
-
{
|
1562
|
-
"kind": "class",
|
1563
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1564
|
-
"name": "Appheader",
|
1565
|
-
"cssParts": [
|
1566
|
-
{
|
1567
|
-
"description": "The main container for styling the header.",
|
1568
|
-
"name": "container"
|
1569
|
-
},
|
1570
|
-
{
|
1571
|
-
"description": "The leading section of the header.",
|
1572
|
-
"name": "leading-section"
|
1573
|
-
},
|
1574
|
-
{
|
1575
|
-
"description": "The center section of the header.",
|
1576
|
-
"name": "center-section"
|
1577
|
-
},
|
1578
|
-
{
|
1579
|
-
"description": "The trailing section of the header.",
|
1580
|
-
"name": "trailing-section"
|
1581
|
-
}
|
1582
|
-
],
|
1583
|
-
"slots": [
|
1584
|
-
{
|
1585
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
1586
|
-
"name": "leading"
|
1587
|
-
},
|
1588
|
-
{
|
1589
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
1590
|
-
"name": "center"
|
1591
|
-
},
|
1592
|
-
{
|
1593
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
1594
|
-
"name": "trailing"
|
1595
|
-
}
|
1596
|
-
],
|
1597
|
-
"members": [],
|
1598
|
-
"superclass": {
|
1599
|
-
"name": "Component",
|
1600
|
-
"module": "/src/models"
|
1601
|
-
},
|
1602
|
-
"tagName": "mdc-appheader",
|
1603
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
1604
|
-
"customElement": true
|
1605
|
-
}
|
1606
|
-
],
|
1607
|
-
"exports": [
|
1608
|
-
{
|
1609
|
-
"kind": "js",
|
1610
|
-
"name": "default",
|
1611
|
-
"declaration": {
|
1612
|
-
"name": "Appheader",
|
1613
|
-
"module": "components/appheader/appheader.component.js"
|
1614
|
-
}
|
1615
|
-
}
|
1616
|
-
]
|
1617
|
-
},
|
1618
1557
|
{
|
1619
1558
|
"kind": "javascript-module",
|
1620
1559
|
"path": "components/animation/animation.component.js",
|
@@ -1827,6 +1766,67 @@
|
|
1827
1766
|
}
|
1828
1767
|
]
|
1829
1768
|
},
|
1769
|
+
{
|
1770
|
+
"kind": "javascript-module",
|
1771
|
+
"path": "components/appheader/appheader.component.js",
|
1772
|
+
"declarations": [
|
1773
|
+
{
|
1774
|
+
"kind": "class",
|
1775
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1776
|
+
"name": "Appheader",
|
1777
|
+
"cssParts": [
|
1778
|
+
{
|
1779
|
+
"description": "The main container for styling the header.",
|
1780
|
+
"name": "container"
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"description": "The leading section of the header.",
|
1784
|
+
"name": "leading-section"
|
1785
|
+
},
|
1786
|
+
{
|
1787
|
+
"description": "The center section of the header.",
|
1788
|
+
"name": "center-section"
|
1789
|
+
},
|
1790
|
+
{
|
1791
|
+
"description": "The trailing section of the header.",
|
1792
|
+
"name": "trailing-section"
|
1793
|
+
}
|
1794
|
+
],
|
1795
|
+
"slots": [
|
1796
|
+
{
|
1797
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
1798
|
+
"name": "leading"
|
1799
|
+
},
|
1800
|
+
{
|
1801
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
1802
|
+
"name": "center"
|
1803
|
+
},
|
1804
|
+
{
|
1805
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
1806
|
+
"name": "trailing"
|
1807
|
+
}
|
1808
|
+
],
|
1809
|
+
"members": [],
|
1810
|
+
"superclass": {
|
1811
|
+
"name": "Component",
|
1812
|
+
"module": "/src/models"
|
1813
|
+
},
|
1814
|
+
"tagName": "mdc-appheader",
|
1815
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
1816
|
+
"customElement": true
|
1817
|
+
}
|
1818
|
+
],
|
1819
|
+
"exports": [
|
1820
|
+
{
|
1821
|
+
"kind": "js",
|
1822
|
+
"name": "default",
|
1823
|
+
"declaration": {
|
1824
|
+
"name": "Appheader",
|
1825
|
+
"module": "components/appheader/appheader.component.js"
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
]
|
1829
|
+
},
|
1830
1830
|
{
|
1831
1831
|
"kind": "javascript-module",
|
1832
1832
|
"path": "components/avatar/avatar.component.js",
|
@@ -33982,88 +33982,6 @@
|
|
33982
33982
|
}
|
33983
33983
|
]
|
33984
33984
|
},
|
33985
|
-
{
|
33986
|
-
"kind": "javascript-module",
|
33987
|
-
"path": "components/skeleton/skeleton.component.js",
|
33988
|
-
"declarations": [
|
33989
|
-
{
|
33990
|
-
"kind": "class",
|
33991
|
-
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
33992
|
-
"name": "Skeleton",
|
33993
|
-
"cssProperties": [
|
33994
|
-
{
|
33995
|
-
"description": "background color of the skeleton",
|
33996
|
-
"name": "--mdc-skeleton-background-color"
|
33997
|
-
},
|
33998
|
-
{
|
33999
|
-
"description": "height of the skeleton",
|
34000
|
-
"name": "--mdc-skeleton-height"
|
34001
|
-
},
|
34002
|
-
{
|
34003
|
-
"description": "width of the skeleton",
|
34004
|
-
"name": "--mdc-skeleton-width"
|
34005
|
-
}
|
34006
|
-
],
|
34007
|
-
"slots": [
|
34008
|
-
{
|
34009
|
-
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
34010
|
-
"name": ""
|
34011
|
-
}
|
34012
|
-
],
|
34013
|
-
"members": [
|
34014
|
-
{
|
34015
|
-
"kind": "field",
|
34016
|
-
"name": "variant",
|
34017
|
-
"type": {
|
34018
|
-
"text": "SkeletonVariant"
|
34019
|
-
},
|
34020
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
34021
|
-
"default": "rectangular",
|
34022
|
-
"attribute": "variant",
|
34023
|
-
"reflects": true
|
34024
|
-
},
|
34025
|
-
{
|
34026
|
-
"kind": "method",
|
34027
|
-
"name": "checkSlotContent",
|
34028
|
-
"privacy": "private",
|
34029
|
-
"return": {
|
34030
|
-
"type": {
|
34031
|
-
"text": "void"
|
34032
|
-
}
|
34033
|
-
}
|
34034
|
-
}
|
34035
|
-
],
|
34036
|
-
"attributes": [
|
34037
|
-
{
|
34038
|
-
"name": "variant",
|
34039
|
-
"type": {
|
34040
|
-
"text": "SkeletonVariant"
|
34041
|
-
},
|
34042
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
34043
|
-
"default": "rectangular",
|
34044
|
-
"fieldName": "variant"
|
34045
|
-
}
|
34046
|
-
],
|
34047
|
-
"superclass": {
|
34048
|
-
"name": "Component",
|
34049
|
-
"module": "/src/models"
|
34050
|
-
},
|
34051
|
-
"tagName": "mdc-skeleton",
|
34052
|
-
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
34053
|
-
"customElement": true
|
34054
|
-
}
|
34055
|
-
],
|
34056
|
-
"exports": [
|
34057
|
-
{
|
34058
|
-
"kind": "js",
|
34059
|
-
"name": "default",
|
34060
|
-
"declaration": {
|
34061
|
-
"name": "Skeleton",
|
34062
|
-
"module": "components/skeleton/skeleton.component.js"
|
34063
|
-
}
|
34064
|
-
}
|
34065
|
-
]
|
34066
|
-
},
|
34067
33985
|
{
|
34068
33986
|
"kind": "javascript-module",
|
34069
33987
|
"path": "components/slider/slider.component.js",
|
@@ -34576,6 +34494,88 @@
|
|
34576
34494
|
}
|
34577
34495
|
]
|
34578
34496
|
},
|
34497
|
+
{
|
34498
|
+
"kind": "javascript-module",
|
34499
|
+
"path": "components/skeleton/skeleton.component.js",
|
34500
|
+
"declarations": [
|
34501
|
+
{
|
34502
|
+
"kind": "class",
|
34503
|
+
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
34504
|
+
"name": "Skeleton",
|
34505
|
+
"cssProperties": [
|
34506
|
+
{
|
34507
|
+
"description": "background color of the skeleton",
|
34508
|
+
"name": "--mdc-skeleton-background-color"
|
34509
|
+
},
|
34510
|
+
{
|
34511
|
+
"description": "height of the skeleton",
|
34512
|
+
"name": "--mdc-skeleton-height"
|
34513
|
+
},
|
34514
|
+
{
|
34515
|
+
"description": "width of the skeleton",
|
34516
|
+
"name": "--mdc-skeleton-width"
|
34517
|
+
}
|
34518
|
+
],
|
34519
|
+
"slots": [
|
34520
|
+
{
|
34521
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
34522
|
+
"name": ""
|
34523
|
+
}
|
34524
|
+
],
|
34525
|
+
"members": [
|
34526
|
+
{
|
34527
|
+
"kind": "field",
|
34528
|
+
"name": "variant",
|
34529
|
+
"type": {
|
34530
|
+
"text": "SkeletonVariant"
|
34531
|
+
},
|
34532
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
34533
|
+
"default": "rectangular",
|
34534
|
+
"attribute": "variant",
|
34535
|
+
"reflects": true
|
34536
|
+
},
|
34537
|
+
{
|
34538
|
+
"kind": "method",
|
34539
|
+
"name": "checkSlotContent",
|
34540
|
+
"privacy": "private",
|
34541
|
+
"return": {
|
34542
|
+
"type": {
|
34543
|
+
"text": "void"
|
34544
|
+
}
|
34545
|
+
}
|
34546
|
+
}
|
34547
|
+
],
|
34548
|
+
"attributes": [
|
34549
|
+
{
|
34550
|
+
"name": "variant",
|
34551
|
+
"type": {
|
34552
|
+
"text": "SkeletonVariant"
|
34553
|
+
},
|
34554
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
34555
|
+
"default": "rectangular",
|
34556
|
+
"fieldName": "variant"
|
34557
|
+
}
|
34558
|
+
],
|
34559
|
+
"superclass": {
|
34560
|
+
"name": "Component",
|
34561
|
+
"module": "/src/models"
|
34562
|
+
},
|
34563
|
+
"tagName": "mdc-skeleton",
|
34564
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
34565
|
+
"customElement": true
|
34566
|
+
}
|
34567
|
+
],
|
34568
|
+
"exports": [
|
34569
|
+
{
|
34570
|
+
"kind": "js",
|
34571
|
+
"name": "default",
|
34572
|
+
"declaration": {
|
34573
|
+
"name": "Skeleton",
|
34574
|
+
"module": "components/skeleton/skeleton.component.js"
|
34575
|
+
}
|
34576
|
+
}
|
34577
|
+
]
|
34578
|
+
},
|
34579
34579
|
{
|
34580
34580
|
"kind": "javascript-module",
|
34581
34581
|
"path": "components/spinner/spinner.component.js",
|
package/dist/react/index.d.ts
CHANGED
@@ -2,8 +2,8 @@ export { default as Accordion } from './accordion';
|
|
2
2
|
export { default as AccordionButton } from './accordionbutton';
|
3
3
|
export { default as AccordionGroup } from './accordiongroup';
|
4
4
|
export { default as AlertChip } from './alertchip';
|
5
|
-
export { default as Appheader } from './appheader';
|
6
5
|
export { default as Animation } from './animation';
|
6
|
+
export { default as Appheader } from './appheader';
|
7
7
|
export { default as Avatar } from './avatar';
|
8
8
|
export { default as AvatarButton } from './avatarbutton';
|
9
9
|
export { default as Badge } from './badge';
|
@@ -59,8 +59,8 @@ export { default as Searchfield } from './searchfield';
|
|
59
59
|
export { default as Select } from './select';
|
60
60
|
export { default as Selectlistbox } from './selectlistbox';
|
61
61
|
export { default as SideNavigation } from './sidenavigation';
|
62
|
-
export { default as Skeleton } from './skeleton';
|
63
62
|
export { default as Slider } from './slider';
|
63
|
+
export { default as Skeleton } from './skeleton';
|
64
64
|
export { default as Spinner } from './spinner';
|
65
65
|
export { default as StaticCheckbox } from './staticcheckbox';
|
66
66
|
export { default as StaticRadio } from './staticradio';
|
package/dist/react/index.js
CHANGED
@@ -2,8 +2,8 @@ export { default as Accordion } from './accordion';
|
|
2
2
|
export { default as AccordionButton } from './accordionbutton';
|
3
3
|
export { default as AccordionGroup } from './accordiongroup';
|
4
4
|
export { default as AlertChip } from './alertchip';
|
5
|
-
export { default as Appheader } from './appheader';
|
6
5
|
export { default as Animation } from './animation';
|
6
|
+
export { default as Appheader } from './appheader';
|
7
7
|
export { default as Avatar } from './avatar';
|
8
8
|
export { default as AvatarButton } from './avatarbutton';
|
9
9
|
export { default as Badge } from './badge';
|
@@ -59,8 +59,8 @@ export { default as Searchfield } from './searchfield';
|
|
59
59
|
export { default as Select } from './select';
|
60
60
|
export { default as Selectlistbox } from './selectlistbox';
|
61
61
|
export { default as SideNavigation } from './sidenavigation';
|
62
|
-
export { default as Skeleton } from './skeleton';
|
63
62
|
export { default as Slider } from './slider';
|
63
|
+
export { default as Skeleton } from './skeleton';
|
64
64
|
export { default as Spinner } from './spinner';
|
65
65
|
export { default as StaticCheckbox } from './staticcheckbox';
|
66
66
|
export { default as StaticRadio } from './staticradio';
|