@momentum-design/components 0.105.1 → 0.105.2
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/custom-elements.json +1323 -1323
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +6 -6
- package/package.json +1 -1
@@ -1775,272 +1775,6 @@
|
|
1775
1775
|
}
|
1776
1776
|
]
|
1777
1777
|
},
|
1778
|
-
{
|
1779
|
-
"kind": "javascript-module",
|
1780
|
-
"path": "components/avatar/avatar.component.js",
|
1781
|
-
"declarations": [
|
1782
|
-
{
|
1783
|
-
"kind": "class",
|
1784
|
-
"description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
|
1785
|
-
"name": "Avatar",
|
1786
|
-
"cssProperties": [
|
1787
|
-
{
|
1788
|
-
"description": "Allows customization of the default background color.",
|
1789
|
-
"name": "--mdc-avatar-default-background-color"
|
1790
|
-
},
|
1791
|
-
{
|
1792
|
-
"description": "Allows customization of the default foreground color.",
|
1793
|
-
"name": "--mdc-avatar-default-foreground-color"
|
1794
|
-
},
|
1795
|
-
{
|
1796
|
-
"description": "Allows customization of the loading indicator background color.",
|
1797
|
-
"name": "--mdc-avatar-loading-indicator-background-color"
|
1798
|
-
},
|
1799
|
-
{
|
1800
|
-
"description": "Allows customization of the loading indicator foreground color.",
|
1801
|
-
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
1802
|
-
},
|
1803
|
-
{
|
1804
|
-
"description": "Allows customization of the loading overlay background color.",
|
1805
|
-
"name": "--mdc-avatar-loading-overlay-background-color"
|
1806
|
-
}
|
1807
|
-
],
|
1808
|
-
"cssParts": [
|
1809
|
-
{
|
1810
|
-
"description": "The main content of the avatar.",
|
1811
|
-
"name": "content"
|
1812
|
-
},
|
1813
|
-
{
|
1814
|
-
"description": "The photo of the avatar.",
|
1815
|
-
"name": "photo"
|
1816
|
-
},
|
1817
|
-
{
|
1818
|
-
"description": "The presence indicator of the avatar.",
|
1819
|
-
"name": "presence"
|
1820
|
-
},
|
1821
|
-
{
|
1822
|
-
"description": "The wrapper for the loading indicator.",
|
1823
|
-
"name": "loading-wrapper"
|
1824
|
-
},
|
1825
|
-
{
|
1826
|
-
"description": "The loading indicator of the avatar.",
|
1827
|
-
"name": "loader"
|
1828
|
-
}
|
1829
|
-
],
|
1830
|
-
"members": [
|
1831
|
-
{
|
1832
|
-
"kind": "field",
|
1833
|
-
"name": "src",
|
1834
|
-
"type": {
|
1835
|
-
"text": "string | undefined"
|
1836
|
-
},
|
1837
|
-
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
1838
|
-
"attribute": "src",
|
1839
|
-
"inheritedFrom": {
|
1840
|
-
"name": "AvatarComponentMixin",
|
1841
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1842
|
-
}
|
1843
|
-
},
|
1844
|
-
{
|
1845
|
-
"kind": "field",
|
1846
|
-
"name": "initials",
|
1847
|
-
"type": {
|
1848
|
-
"text": "string | undefined"
|
1849
|
-
},
|
1850
|
-
"description": "The initials to be displayed for the avatar.",
|
1851
|
-
"attribute": "initials",
|
1852
|
-
"inheritedFrom": {
|
1853
|
-
"name": "AvatarComponentMixin",
|
1854
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1855
|
-
}
|
1856
|
-
},
|
1857
|
-
{
|
1858
|
-
"kind": "field",
|
1859
|
-
"name": "presence",
|
1860
|
-
"type": {
|
1861
|
-
"text": "PresenceType | undefined"
|
1862
|
-
},
|
1863
|
-
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
1864
|
-
"attribute": "presence",
|
1865
|
-
"inheritedFrom": {
|
1866
|
-
"name": "AvatarComponentMixin",
|
1867
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1868
|
-
}
|
1869
|
-
},
|
1870
|
-
{
|
1871
|
-
"kind": "field",
|
1872
|
-
"name": "size",
|
1873
|
-
"type": {
|
1874
|
-
"text": "AvatarSize"
|
1875
|
-
},
|
1876
|
-
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
1877
|
-
"default": "32",
|
1878
|
-
"attribute": "size",
|
1879
|
-
"reflects": true,
|
1880
|
-
"inheritedFrom": {
|
1881
|
-
"name": "AvatarComponentMixin",
|
1882
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1883
|
-
}
|
1884
|
-
},
|
1885
|
-
{
|
1886
|
-
"kind": "field",
|
1887
|
-
"name": "counter",
|
1888
|
-
"type": {
|
1889
|
-
"text": "number | undefined"
|
1890
|
-
},
|
1891
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
1892
|
-
"attribute": "counter",
|
1893
|
-
"inheritedFrom": {
|
1894
|
-
"name": "AvatarComponentMixin",
|
1895
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1896
|
-
}
|
1897
|
-
},
|
1898
|
-
{
|
1899
|
-
"kind": "field",
|
1900
|
-
"name": "isTyping",
|
1901
|
-
"type": {
|
1902
|
-
"text": "boolean"
|
1903
|
-
},
|
1904
|
-
"default": "false",
|
1905
|
-
"description": "Represents the typing indicator when the user is typing.",
|
1906
|
-
"attribute": "is-typing",
|
1907
|
-
"inheritedFrom": {
|
1908
|
-
"name": "AvatarComponentMixin",
|
1909
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1910
|
-
}
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
"kind": "field",
|
1914
|
-
"name": "iconName",
|
1915
|
-
"type": {
|
1916
|
-
"text": "IconNames | undefined"
|
1917
|
-
},
|
1918
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1919
|
-
"attribute": "icon-name",
|
1920
|
-
"inheritedFrom": {
|
1921
|
-
"name": "IconNameMixin",
|
1922
|
-
"module": "utils/mixins/IconNameMixin.js"
|
1923
|
-
}
|
1924
|
-
}
|
1925
|
-
],
|
1926
|
-
"mixins": [
|
1927
|
-
{
|
1928
|
-
"name": "AvatarComponentMixin",
|
1929
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
1930
|
-
},
|
1931
|
-
{
|
1932
|
-
"name": "IconNameMixin",
|
1933
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
1934
|
-
}
|
1935
|
-
],
|
1936
|
-
"superclass": {
|
1937
|
-
"name": "Component",
|
1938
|
-
"module": "/src/models"
|
1939
|
-
},
|
1940
|
-
"tagName": "mdc-avatar",
|
1941
|
-
"jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n *\n * @csspart content - The main content of the avatar.\n * @csspart photo - The photo of the avatar.\n * @csspart presence - The presence indicator of the avatar.\n * @csspart loading-wrapper - The wrapper for the loading indicator.\n * @csspart loader - The loading indicator of the avatar.\n */",
|
1942
|
-
"customElement": true,
|
1943
|
-
"attributes": [
|
1944
|
-
{
|
1945
|
-
"name": "src",
|
1946
|
-
"type": {
|
1947
|
-
"text": "string | undefined"
|
1948
|
-
},
|
1949
|
-
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
1950
|
-
"fieldName": "src",
|
1951
|
-
"inheritedFrom": {
|
1952
|
-
"name": "AvatarComponentMixin",
|
1953
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1954
|
-
}
|
1955
|
-
},
|
1956
|
-
{
|
1957
|
-
"name": "initials",
|
1958
|
-
"type": {
|
1959
|
-
"text": "string | undefined"
|
1960
|
-
},
|
1961
|
-
"description": "The initials to be displayed for the avatar.",
|
1962
|
-
"fieldName": "initials",
|
1963
|
-
"inheritedFrom": {
|
1964
|
-
"name": "AvatarComponentMixin",
|
1965
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1966
|
-
}
|
1967
|
-
},
|
1968
|
-
{
|
1969
|
-
"name": "presence",
|
1970
|
-
"type": {
|
1971
|
-
"text": "PresenceType | undefined"
|
1972
|
-
},
|
1973
|
-
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
1974
|
-
"fieldName": "presence",
|
1975
|
-
"inheritedFrom": {
|
1976
|
-
"name": "AvatarComponentMixin",
|
1977
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1978
|
-
}
|
1979
|
-
},
|
1980
|
-
{
|
1981
|
-
"name": "size",
|
1982
|
-
"type": {
|
1983
|
-
"text": "AvatarSize"
|
1984
|
-
},
|
1985
|
-
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
1986
|
-
"default": "32",
|
1987
|
-
"fieldName": "size",
|
1988
|
-
"inheritedFrom": {
|
1989
|
-
"name": "AvatarComponentMixin",
|
1990
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1991
|
-
}
|
1992
|
-
},
|
1993
|
-
{
|
1994
|
-
"name": "counter",
|
1995
|
-
"type": {
|
1996
|
-
"text": "number | undefined"
|
1997
|
-
},
|
1998
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
1999
|
-
"fieldName": "counter",
|
2000
|
-
"inheritedFrom": {
|
2001
|
-
"name": "AvatarComponentMixin",
|
2002
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2003
|
-
}
|
2004
|
-
},
|
2005
|
-
{
|
2006
|
-
"name": "is-typing",
|
2007
|
-
"type": {
|
2008
|
-
"text": "boolean"
|
2009
|
-
},
|
2010
|
-
"default": "false",
|
2011
|
-
"description": "Represents the typing indicator when the user is typing.",
|
2012
|
-
"fieldName": "isTyping",
|
2013
|
-
"inheritedFrom": {
|
2014
|
-
"name": "AvatarComponentMixin",
|
2015
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2016
|
-
}
|
2017
|
-
},
|
2018
|
-
{
|
2019
|
-
"name": "icon-name",
|
2020
|
-
"type": {
|
2021
|
-
"text": "IconNames | undefined"
|
2022
|
-
},
|
2023
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
2024
|
-
"fieldName": "iconName",
|
2025
|
-
"inheritedFrom": {
|
2026
|
-
"name": "IconNameMixin",
|
2027
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
2028
|
-
}
|
2029
|
-
}
|
2030
|
-
]
|
2031
|
-
}
|
2032
|
-
],
|
2033
|
-
"exports": [
|
2034
|
-
{
|
2035
|
-
"kind": "js",
|
2036
|
-
"name": "default",
|
2037
|
-
"declaration": {
|
2038
|
-
"name": "Avatar",
|
2039
|
-
"module": "components/avatar/avatar.component.js"
|
2040
|
-
}
|
2041
|
-
}
|
2042
|
-
]
|
2043
|
-
},
|
2044
1778
|
{
|
2045
1779
|
"kind": "javascript-module",
|
2046
1780
|
"path": "components/avatarbutton/avatarbutton.component.js",
|
@@ -2743,6 +2477,272 @@
|
|
2743
2477
|
}
|
2744
2478
|
]
|
2745
2479
|
},
|
2480
|
+
{
|
2481
|
+
"kind": "javascript-module",
|
2482
|
+
"path": "components/avatar/avatar.component.js",
|
2483
|
+
"declarations": [
|
2484
|
+
{
|
2485
|
+
"kind": "class",
|
2486
|
+
"description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
|
2487
|
+
"name": "Avatar",
|
2488
|
+
"cssProperties": [
|
2489
|
+
{
|
2490
|
+
"description": "Allows customization of the default background color.",
|
2491
|
+
"name": "--mdc-avatar-default-background-color"
|
2492
|
+
},
|
2493
|
+
{
|
2494
|
+
"description": "Allows customization of the default foreground color.",
|
2495
|
+
"name": "--mdc-avatar-default-foreground-color"
|
2496
|
+
},
|
2497
|
+
{
|
2498
|
+
"description": "Allows customization of the loading indicator background color.",
|
2499
|
+
"name": "--mdc-avatar-loading-indicator-background-color"
|
2500
|
+
},
|
2501
|
+
{
|
2502
|
+
"description": "Allows customization of the loading indicator foreground color.",
|
2503
|
+
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
2504
|
+
},
|
2505
|
+
{
|
2506
|
+
"description": "Allows customization of the loading overlay background color.",
|
2507
|
+
"name": "--mdc-avatar-loading-overlay-background-color"
|
2508
|
+
}
|
2509
|
+
],
|
2510
|
+
"cssParts": [
|
2511
|
+
{
|
2512
|
+
"description": "The main content of the avatar.",
|
2513
|
+
"name": "content"
|
2514
|
+
},
|
2515
|
+
{
|
2516
|
+
"description": "The photo of the avatar.",
|
2517
|
+
"name": "photo"
|
2518
|
+
},
|
2519
|
+
{
|
2520
|
+
"description": "The presence indicator of the avatar.",
|
2521
|
+
"name": "presence"
|
2522
|
+
},
|
2523
|
+
{
|
2524
|
+
"description": "The wrapper for the loading indicator.",
|
2525
|
+
"name": "loading-wrapper"
|
2526
|
+
},
|
2527
|
+
{
|
2528
|
+
"description": "The loading indicator of the avatar.",
|
2529
|
+
"name": "loader"
|
2530
|
+
}
|
2531
|
+
],
|
2532
|
+
"members": [
|
2533
|
+
{
|
2534
|
+
"kind": "field",
|
2535
|
+
"name": "src",
|
2536
|
+
"type": {
|
2537
|
+
"text": "string | undefined"
|
2538
|
+
},
|
2539
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
2540
|
+
"attribute": "src",
|
2541
|
+
"inheritedFrom": {
|
2542
|
+
"name": "AvatarComponentMixin",
|
2543
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2544
|
+
}
|
2545
|
+
},
|
2546
|
+
{
|
2547
|
+
"kind": "field",
|
2548
|
+
"name": "initials",
|
2549
|
+
"type": {
|
2550
|
+
"text": "string | undefined"
|
2551
|
+
},
|
2552
|
+
"description": "The initials to be displayed for the avatar.",
|
2553
|
+
"attribute": "initials",
|
2554
|
+
"inheritedFrom": {
|
2555
|
+
"name": "AvatarComponentMixin",
|
2556
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2557
|
+
}
|
2558
|
+
},
|
2559
|
+
{
|
2560
|
+
"kind": "field",
|
2561
|
+
"name": "presence",
|
2562
|
+
"type": {
|
2563
|
+
"text": "PresenceType | undefined"
|
2564
|
+
},
|
2565
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
2566
|
+
"attribute": "presence",
|
2567
|
+
"inheritedFrom": {
|
2568
|
+
"name": "AvatarComponentMixin",
|
2569
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2570
|
+
}
|
2571
|
+
},
|
2572
|
+
{
|
2573
|
+
"kind": "field",
|
2574
|
+
"name": "size",
|
2575
|
+
"type": {
|
2576
|
+
"text": "AvatarSize"
|
2577
|
+
},
|
2578
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
2579
|
+
"default": "32",
|
2580
|
+
"attribute": "size",
|
2581
|
+
"reflects": true,
|
2582
|
+
"inheritedFrom": {
|
2583
|
+
"name": "AvatarComponentMixin",
|
2584
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2585
|
+
}
|
2586
|
+
},
|
2587
|
+
{
|
2588
|
+
"kind": "field",
|
2589
|
+
"name": "counter",
|
2590
|
+
"type": {
|
2591
|
+
"text": "number | undefined"
|
2592
|
+
},
|
2593
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
2594
|
+
"attribute": "counter",
|
2595
|
+
"inheritedFrom": {
|
2596
|
+
"name": "AvatarComponentMixin",
|
2597
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2598
|
+
}
|
2599
|
+
},
|
2600
|
+
{
|
2601
|
+
"kind": "field",
|
2602
|
+
"name": "isTyping",
|
2603
|
+
"type": {
|
2604
|
+
"text": "boolean"
|
2605
|
+
},
|
2606
|
+
"default": "false",
|
2607
|
+
"description": "Represents the typing indicator when the user is typing.",
|
2608
|
+
"attribute": "is-typing",
|
2609
|
+
"inheritedFrom": {
|
2610
|
+
"name": "AvatarComponentMixin",
|
2611
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2612
|
+
}
|
2613
|
+
},
|
2614
|
+
{
|
2615
|
+
"kind": "field",
|
2616
|
+
"name": "iconName",
|
2617
|
+
"type": {
|
2618
|
+
"text": "IconNames | undefined"
|
2619
|
+
},
|
2620
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
2621
|
+
"attribute": "icon-name",
|
2622
|
+
"inheritedFrom": {
|
2623
|
+
"name": "IconNameMixin",
|
2624
|
+
"module": "utils/mixins/IconNameMixin.js"
|
2625
|
+
}
|
2626
|
+
}
|
2627
|
+
],
|
2628
|
+
"mixins": [
|
2629
|
+
{
|
2630
|
+
"name": "AvatarComponentMixin",
|
2631
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
2632
|
+
},
|
2633
|
+
{
|
2634
|
+
"name": "IconNameMixin",
|
2635
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
2636
|
+
}
|
2637
|
+
],
|
2638
|
+
"superclass": {
|
2639
|
+
"name": "Component",
|
2640
|
+
"module": "/src/models"
|
2641
|
+
},
|
2642
|
+
"tagName": "mdc-avatar",
|
2643
|
+
"jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n *\n * @csspart content - The main content of the avatar.\n * @csspart photo - The photo of the avatar.\n * @csspart presence - The presence indicator of the avatar.\n * @csspart loading-wrapper - The wrapper for the loading indicator.\n * @csspart loader - The loading indicator of the avatar.\n */",
|
2644
|
+
"customElement": true,
|
2645
|
+
"attributes": [
|
2646
|
+
{
|
2647
|
+
"name": "src",
|
2648
|
+
"type": {
|
2649
|
+
"text": "string | undefined"
|
2650
|
+
},
|
2651
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
2652
|
+
"fieldName": "src",
|
2653
|
+
"inheritedFrom": {
|
2654
|
+
"name": "AvatarComponentMixin",
|
2655
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2656
|
+
}
|
2657
|
+
},
|
2658
|
+
{
|
2659
|
+
"name": "initials",
|
2660
|
+
"type": {
|
2661
|
+
"text": "string | undefined"
|
2662
|
+
},
|
2663
|
+
"description": "The initials to be displayed for the avatar.",
|
2664
|
+
"fieldName": "initials",
|
2665
|
+
"inheritedFrom": {
|
2666
|
+
"name": "AvatarComponentMixin",
|
2667
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2668
|
+
}
|
2669
|
+
},
|
2670
|
+
{
|
2671
|
+
"name": "presence",
|
2672
|
+
"type": {
|
2673
|
+
"text": "PresenceType | undefined"
|
2674
|
+
},
|
2675
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
2676
|
+
"fieldName": "presence",
|
2677
|
+
"inheritedFrom": {
|
2678
|
+
"name": "AvatarComponentMixin",
|
2679
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2680
|
+
}
|
2681
|
+
},
|
2682
|
+
{
|
2683
|
+
"name": "size",
|
2684
|
+
"type": {
|
2685
|
+
"text": "AvatarSize"
|
2686
|
+
},
|
2687
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
2688
|
+
"default": "32",
|
2689
|
+
"fieldName": "size",
|
2690
|
+
"inheritedFrom": {
|
2691
|
+
"name": "AvatarComponentMixin",
|
2692
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2693
|
+
}
|
2694
|
+
},
|
2695
|
+
{
|
2696
|
+
"name": "counter",
|
2697
|
+
"type": {
|
2698
|
+
"text": "number | undefined"
|
2699
|
+
},
|
2700
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
2701
|
+
"fieldName": "counter",
|
2702
|
+
"inheritedFrom": {
|
2703
|
+
"name": "AvatarComponentMixin",
|
2704
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2705
|
+
}
|
2706
|
+
},
|
2707
|
+
{
|
2708
|
+
"name": "is-typing",
|
2709
|
+
"type": {
|
2710
|
+
"text": "boolean"
|
2711
|
+
},
|
2712
|
+
"default": "false",
|
2713
|
+
"description": "Represents the typing indicator when the user is typing.",
|
2714
|
+
"fieldName": "isTyping",
|
2715
|
+
"inheritedFrom": {
|
2716
|
+
"name": "AvatarComponentMixin",
|
2717
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
2718
|
+
}
|
2719
|
+
},
|
2720
|
+
{
|
2721
|
+
"name": "icon-name",
|
2722
|
+
"type": {
|
2723
|
+
"text": "IconNames | undefined"
|
2724
|
+
},
|
2725
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
2726
|
+
"fieldName": "iconName",
|
2727
|
+
"inheritedFrom": {
|
2728
|
+
"name": "IconNameMixin",
|
2729
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
2730
|
+
}
|
2731
|
+
}
|
2732
|
+
]
|
2733
|
+
}
|
2734
|
+
],
|
2735
|
+
"exports": [
|
2736
|
+
{
|
2737
|
+
"kind": "js",
|
2738
|
+
"name": "default",
|
2739
|
+
"declaration": {
|
2740
|
+
"name": "Avatar",
|
2741
|
+
"module": "components/avatar/avatar.component.js"
|
2742
|
+
}
|
2743
|
+
}
|
2744
|
+
]
|
2745
|
+
},
|
2746
2746
|
{
|
2747
2747
|
"kind": "javascript-module",
|
2748
2748
|
"path": "components/badge/badge.component.js",
|
@@ -14090,205 +14090,6 @@
|
|
14090
14090
|
}
|
14091
14091
|
]
|
14092
14092
|
},
|
14093
|
-
{
|
14094
|
-
"kind": "javascript-module",
|
14095
|
-
"path": "components/inputchip/inputchip.component.js",
|
14096
|
-
"declarations": [
|
14097
|
-
{
|
14098
|
-
"kind": "class",
|
14099
|
-
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
14100
|
-
"name": "InputChip",
|
14101
|
-
"cssProperties": [
|
14102
|
-
{
|
14103
|
-
"description": "The color of the chip.",
|
14104
|
-
"name": "--mdc-chip-color"
|
14105
|
-
},
|
14106
|
-
{
|
14107
|
-
"description": "The border color of the chip.",
|
14108
|
-
"name": "--mdc-chip-border-color"
|
14109
|
-
},
|
14110
|
-
{
|
14111
|
-
"description": "The background color of the chip.",
|
14112
|
-
"name": "--mdc-chip-background-color"
|
14113
|
-
}
|
14114
|
-
],
|
14115
|
-
"members": [
|
14116
|
-
{
|
14117
|
-
"kind": "field",
|
14118
|
-
"name": "label",
|
14119
|
-
"type": {
|
14120
|
-
"text": "string"
|
14121
|
-
},
|
14122
|
-
"default": "''",
|
14123
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
14124
|
-
"attribute": "label"
|
14125
|
-
},
|
14126
|
-
{
|
14127
|
-
"kind": "field",
|
14128
|
-
"name": "error",
|
14129
|
-
"type": {
|
14130
|
-
"text": "boolean"
|
14131
|
-
},
|
14132
|
-
"default": "false",
|
14133
|
-
"description": "The error state of the inputchip.",
|
14134
|
-
"attribute": "error"
|
14135
|
-
},
|
14136
|
-
{
|
14137
|
-
"kind": "field",
|
14138
|
-
"name": "clearAriaLabel",
|
14139
|
-
"type": {
|
14140
|
-
"text": "string"
|
14141
|
-
},
|
14142
|
-
"default": "''",
|
14143
|
-
"description": "The aria-label of the close button.",
|
14144
|
-
"attribute": "clear-aria-label"
|
14145
|
-
},
|
14146
|
-
{
|
14147
|
-
"kind": "method",
|
14148
|
-
"name": "renderIcon",
|
14149
|
-
"privacy": "private",
|
14150
|
-
"description": "Renders the icon element if available.",
|
14151
|
-
"return": {
|
14152
|
-
"type": {
|
14153
|
-
"text": ""
|
14154
|
-
}
|
14155
|
-
}
|
14156
|
-
},
|
14157
|
-
{
|
14158
|
-
"kind": "method",
|
14159
|
-
"name": "handleClose",
|
14160
|
-
"privacy": "private",
|
14161
|
-
"description": "Handles the behavior of the close button on click event.",
|
14162
|
-
"parameters": [
|
14163
|
-
{
|
14164
|
-
"description": "The event object.",
|
14165
|
-
"name": "event"
|
14166
|
-
}
|
14167
|
-
]
|
14168
|
-
},
|
14169
|
-
{
|
14170
|
-
"kind": "field",
|
14171
|
-
"name": "iconName",
|
14172
|
-
"type": {
|
14173
|
-
"text": "IconNames | undefined"
|
14174
|
-
},
|
14175
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
14176
|
-
"attribute": "icon-name",
|
14177
|
-
"inheritedFrom": {
|
14178
|
-
"name": "IconNameMixin",
|
14179
|
-
"module": "utils/mixins/IconNameMixin.js"
|
14180
|
-
}
|
14181
|
-
},
|
14182
|
-
{
|
14183
|
-
"kind": "field",
|
14184
|
-
"name": "disabled",
|
14185
|
-
"type": {
|
14186
|
-
"text": "boolean | undefined"
|
14187
|
-
},
|
14188
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14189
|
-
"default": "undefined",
|
14190
|
-
"attribute": "disabled",
|
14191
|
-
"reflects": true,
|
14192
|
-
"inheritedFrom": {
|
14193
|
-
"name": "DisabledMixin",
|
14194
|
-
"module": "utils/mixins/DisabledMixin.js"
|
14195
|
-
}
|
14196
|
-
}
|
14197
|
-
],
|
14198
|
-
"events": [
|
14199
|
-
{
|
14200
|
-
"name": "remove",
|
14201
|
-
"type": {
|
14202
|
-
"text": "CustomEvent"
|
14203
|
-
},
|
14204
|
-
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
14205
|
-
"reactName": "onRemove"
|
14206
|
-
}
|
14207
|
-
],
|
14208
|
-
"attributes": [
|
14209
|
-
{
|
14210
|
-
"name": "label",
|
14211
|
-
"type": {
|
14212
|
-
"text": "string"
|
14213
|
-
},
|
14214
|
-
"default": "''",
|
14215
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
14216
|
-
"fieldName": "label"
|
14217
|
-
},
|
14218
|
-
{
|
14219
|
-
"name": "error",
|
14220
|
-
"type": {
|
14221
|
-
"text": "boolean"
|
14222
|
-
},
|
14223
|
-
"default": "false",
|
14224
|
-
"description": "The error state of the inputchip.",
|
14225
|
-
"fieldName": "error"
|
14226
|
-
},
|
14227
|
-
{
|
14228
|
-
"name": "clear-aria-label",
|
14229
|
-
"type": {
|
14230
|
-
"text": "string"
|
14231
|
-
},
|
14232
|
-
"default": "''",
|
14233
|
-
"description": "The aria-label of the close button.",
|
14234
|
-
"fieldName": "clearAriaLabel"
|
14235
|
-
},
|
14236
|
-
{
|
14237
|
-
"name": "icon-name",
|
14238
|
-
"type": {
|
14239
|
-
"text": "IconNames | undefined"
|
14240
|
-
},
|
14241
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
14242
|
-
"fieldName": "iconName",
|
14243
|
-
"inheritedFrom": {
|
14244
|
-
"name": "IconNameMixin",
|
14245
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
14246
|
-
}
|
14247
|
-
},
|
14248
|
-
{
|
14249
|
-
"name": "disabled",
|
14250
|
-
"type": {
|
14251
|
-
"text": "boolean | undefined"
|
14252
|
-
},
|
14253
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14254
|
-
"default": "undefined",
|
14255
|
-
"fieldName": "disabled",
|
14256
|
-
"inheritedFrom": {
|
14257
|
-
"name": "DisabledMixin",
|
14258
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
14259
|
-
}
|
14260
|
-
}
|
14261
|
-
],
|
14262
|
-
"mixins": [
|
14263
|
-
{
|
14264
|
-
"name": "IconNameMixin",
|
14265
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
14266
|
-
},
|
14267
|
-
{
|
14268
|
-
"name": "DisabledMixin",
|
14269
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
14270
|
-
}
|
14271
|
-
],
|
14272
|
-
"superclass": {
|
14273
|
-
"name": "Component",
|
14274
|
-
"module": "/src/models"
|
14275
|
-
},
|
14276
|
-
"tagName": "mdc-inputchip",
|
14277
|
-
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
14278
|
-
"customElement": true
|
14279
|
-
}
|
14280
|
-
],
|
14281
|
-
"exports": [
|
14282
|
-
{
|
14283
|
-
"kind": "js",
|
14284
|
-
"name": "default",
|
14285
|
-
"declaration": {
|
14286
|
-
"name": "InputChip",
|
14287
|
-
"module": "components/inputchip/inputchip.component.js"
|
14288
|
-
}
|
14289
|
-
}
|
14290
|
-
]
|
14291
|
-
},
|
14292
14093
|
{
|
14293
14094
|
"kind": "javascript-module",
|
14294
14095
|
"path": "components/input/input.component.js",
|
@@ -15274,34 +15075,233 @@
|
|
15274
15075
|
},
|
15275
15076
|
{
|
15276
15077
|
"kind": "javascript-module",
|
15277
|
-
"path": "components/
|
15078
|
+
"path": "components/inputchip/inputchip.component.js",
|
15278
15079
|
"declarations": [
|
15279
15080
|
{
|
15280
15081
|
"kind": "class",
|
15281
|
-
"description": "
|
15282
|
-
"name": "
|
15082
|
+
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
15083
|
+
"name": "InputChip",
|
15084
|
+
"cssProperties": [
|
15085
|
+
{
|
15086
|
+
"description": "The color of the chip.",
|
15087
|
+
"name": "--mdc-chip-color"
|
15088
|
+
},
|
15089
|
+
{
|
15090
|
+
"description": "The border color of the chip.",
|
15091
|
+
"name": "--mdc-chip-border-color"
|
15092
|
+
},
|
15093
|
+
{
|
15094
|
+
"description": "The background color of the chip.",
|
15095
|
+
"name": "--mdc-chip-background-color"
|
15096
|
+
}
|
15097
|
+
],
|
15283
15098
|
"members": [
|
15284
15099
|
{
|
15285
15100
|
"kind": "field",
|
15286
|
-
"name": "
|
15101
|
+
"name": "label",
|
15287
15102
|
"type": {
|
15288
|
-
"text": "
|
15103
|
+
"text": "string"
|
15289
15104
|
},
|
15290
|
-
"
|
15291
|
-
"
|
15292
|
-
"attribute": "
|
15293
|
-
|
15105
|
+
"default": "''",
|
15106
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
15107
|
+
"attribute": "label"
|
15108
|
+
},
|
15109
|
+
{
|
15110
|
+
"kind": "field",
|
15111
|
+
"name": "error",
|
15112
|
+
"type": {
|
15113
|
+
"text": "boolean"
|
15114
|
+
},
|
15115
|
+
"default": "false",
|
15116
|
+
"description": "The error state of the inputchip.",
|
15117
|
+
"attribute": "error"
|
15118
|
+
},
|
15119
|
+
{
|
15120
|
+
"kind": "field",
|
15121
|
+
"name": "clearAriaLabel",
|
15122
|
+
"type": {
|
15123
|
+
"text": "string"
|
15124
|
+
},
|
15125
|
+
"default": "''",
|
15126
|
+
"description": "The aria-label of the close button.",
|
15127
|
+
"attribute": "clear-aria-label"
|
15294
15128
|
},
|
15295
15129
|
{
|
15296
15130
|
"kind": "method",
|
15297
|
-
"name": "
|
15131
|
+
"name": "renderIcon",
|
15298
15132
|
"privacy": "private",
|
15133
|
+
"description": "Renders the icon element if available.",
|
15299
15134
|
"return": {
|
15300
15135
|
"type": {
|
15301
15136
|
"text": ""
|
15302
15137
|
}
|
15303
|
-
}
|
15304
|
-
|
15138
|
+
}
|
15139
|
+
},
|
15140
|
+
{
|
15141
|
+
"kind": "method",
|
15142
|
+
"name": "handleClose",
|
15143
|
+
"privacy": "private",
|
15144
|
+
"description": "Handles the behavior of the close button on click event.",
|
15145
|
+
"parameters": [
|
15146
|
+
{
|
15147
|
+
"description": "The event object.",
|
15148
|
+
"name": "event"
|
15149
|
+
}
|
15150
|
+
]
|
15151
|
+
},
|
15152
|
+
{
|
15153
|
+
"kind": "field",
|
15154
|
+
"name": "iconName",
|
15155
|
+
"type": {
|
15156
|
+
"text": "IconNames | undefined"
|
15157
|
+
},
|
15158
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
15159
|
+
"attribute": "icon-name",
|
15160
|
+
"inheritedFrom": {
|
15161
|
+
"name": "IconNameMixin",
|
15162
|
+
"module": "utils/mixins/IconNameMixin.js"
|
15163
|
+
}
|
15164
|
+
},
|
15165
|
+
{
|
15166
|
+
"kind": "field",
|
15167
|
+
"name": "disabled",
|
15168
|
+
"type": {
|
15169
|
+
"text": "boolean | undefined"
|
15170
|
+
},
|
15171
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15172
|
+
"default": "undefined",
|
15173
|
+
"attribute": "disabled",
|
15174
|
+
"reflects": true,
|
15175
|
+
"inheritedFrom": {
|
15176
|
+
"name": "DisabledMixin",
|
15177
|
+
"module": "utils/mixins/DisabledMixin.js"
|
15178
|
+
}
|
15179
|
+
}
|
15180
|
+
],
|
15181
|
+
"events": [
|
15182
|
+
{
|
15183
|
+
"name": "remove",
|
15184
|
+
"type": {
|
15185
|
+
"text": "CustomEvent"
|
15186
|
+
},
|
15187
|
+
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
15188
|
+
"reactName": "onRemove"
|
15189
|
+
}
|
15190
|
+
],
|
15191
|
+
"attributes": [
|
15192
|
+
{
|
15193
|
+
"name": "label",
|
15194
|
+
"type": {
|
15195
|
+
"text": "string"
|
15196
|
+
},
|
15197
|
+
"default": "''",
|
15198
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
15199
|
+
"fieldName": "label"
|
15200
|
+
},
|
15201
|
+
{
|
15202
|
+
"name": "error",
|
15203
|
+
"type": {
|
15204
|
+
"text": "boolean"
|
15205
|
+
},
|
15206
|
+
"default": "false",
|
15207
|
+
"description": "The error state of the inputchip.",
|
15208
|
+
"fieldName": "error"
|
15209
|
+
},
|
15210
|
+
{
|
15211
|
+
"name": "clear-aria-label",
|
15212
|
+
"type": {
|
15213
|
+
"text": "string"
|
15214
|
+
},
|
15215
|
+
"default": "''",
|
15216
|
+
"description": "The aria-label of the close button.",
|
15217
|
+
"fieldName": "clearAriaLabel"
|
15218
|
+
},
|
15219
|
+
{
|
15220
|
+
"name": "icon-name",
|
15221
|
+
"type": {
|
15222
|
+
"text": "IconNames | undefined"
|
15223
|
+
},
|
15224
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
15225
|
+
"fieldName": "iconName",
|
15226
|
+
"inheritedFrom": {
|
15227
|
+
"name": "IconNameMixin",
|
15228
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
15229
|
+
}
|
15230
|
+
},
|
15231
|
+
{
|
15232
|
+
"name": "disabled",
|
15233
|
+
"type": {
|
15234
|
+
"text": "boolean | undefined"
|
15235
|
+
},
|
15236
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15237
|
+
"default": "undefined",
|
15238
|
+
"fieldName": "disabled",
|
15239
|
+
"inheritedFrom": {
|
15240
|
+
"name": "DisabledMixin",
|
15241
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
15242
|
+
}
|
15243
|
+
}
|
15244
|
+
],
|
15245
|
+
"mixins": [
|
15246
|
+
{
|
15247
|
+
"name": "IconNameMixin",
|
15248
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
15249
|
+
},
|
15250
|
+
{
|
15251
|
+
"name": "DisabledMixin",
|
15252
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
15253
|
+
}
|
15254
|
+
],
|
15255
|
+
"superclass": {
|
15256
|
+
"name": "Component",
|
15257
|
+
"module": "/src/models"
|
15258
|
+
},
|
15259
|
+
"tagName": "mdc-inputchip",
|
15260
|
+
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
15261
|
+
"customElement": true
|
15262
|
+
}
|
15263
|
+
],
|
15264
|
+
"exports": [
|
15265
|
+
{
|
15266
|
+
"kind": "js",
|
15267
|
+
"name": "default",
|
15268
|
+
"declaration": {
|
15269
|
+
"name": "InputChip",
|
15270
|
+
"module": "components/inputchip/inputchip.component.js"
|
15271
|
+
}
|
15272
|
+
}
|
15273
|
+
]
|
15274
|
+
},
|
15275
|
+
{
|
15276
|
+
"kind": "javascript-module",
|
15277
|
+
"path": "components/link/link.component.js",
|
15278
|
+
"declarations": [
|
15279
|
+
{
|
15280
|
+
"kind": "class",
|
15281
|
+
"description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be the text content.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
|
15282
|
+
"name": "Link",
|
15283
|
+
"members": [
|
15284
|
+
{
|
15285
|
+
"kind": "field",
|
15286
|
+
"name": "size",
|
15287
|
+
"type": {
|
15288
|
+
"text": "LinkSize"
|
15289
|
+
},
|
15290
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
15291
|
+
"default": "large",
|
15292
|
+
"attribute": "size",
|
15293
|
+
"reflects": true
|
15294
|
+
},
|
15295
|
+
{
|
15296
|
+
"kind": "method",
|
15297
|
+
"name": "getIconSize",
|
15298
|
+
"privacy": "private",
|
15299
|
+
"return": {
|
15300
|
+
"type": {
|
15301
|
+
"text": ""
|
15302
|
+
}
|
15303
|
+
},
|
15304
|
+
"description": "Method to get the size of the trailing icon based on the link size."
|
15305
15305
|
},
|
15306
15306
|
{
|
15307
15307
|
"kind": "field",
|
@@ -30835,185 +30835,6 @@
|
|
30835
30835
|
}
|
30836
30836
|
]
|
30837
30837
|
},
|
30838
|
-
{
|
30839
|
-
"kind": "javascript-module",
|
30840
|
-
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
30841
|
-
"declarations": [
|
30842
|
-
{
|
30843
|
-
"kind": "class",
|
30844
|
-
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
30845
|
-
"name": "ScreenreaderAnnouncer",
|
30846
|
-
"members": [
|
30847
|
-
{
|
30848
|
-
"kind": "field",
|
30849
|
-
"name": "announcement",
|
30850
|
-
"type": {
|
30851
|
-
"text": "string"
|
30852
|
-
},
|
30853
|
-
"default": "''",
|
30854
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
30855
|
-
"attribute": "announcement",
|
30856
|
-
"reflects": true
|
30857
|
-
},
|
30858
|
-
{
|
30859
|
-
"kind": "field",
|
30860
|
-
"name": "identity",
|
30861
|
-
"type": {
|
30862
|
-
"text": "string"
|
30863
|
-
},
|
30864
|
-
"default": "''",
|
30865
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
30866
|
-
"attribute": "identity",
|
30867
|
-
"reflects": true
|
30868
|
-
},
|
30869
|
-
{
|
30870
|
-
"kind": "field",
|
30871
|
-
"name": "dataAriaLive",
|
30872
|
-
"type": {
|
30873
|
-
"text": "AriaLive"
|
30874
|
-
},
|
30875
|
-
"description": "Aria live value for announcement.",
|
30876
|
-
"default": "'polite'",
|
30877
|
-
"attribute": "data-aria-live",
|
30878
|
-
"reflects": true
|
30879
|
-
},
|
30880
|
-
{
|
30881
|
-
"kind": "field",
|
30882
|
-
"name": "delay",
|
30883
|
-
"type": {
|
30884
|
-
"text": "number"
|
30885
|
-
},
|
30886
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
30887
|
-
"default": "150",
|
30888
|
-
"attribute": "delay",
|
30889
|
-
"reflects": true
|
30890
|
-
},
|
30891
|
-
{
|
30892
|
-
"kind": "field",
|
30893
|
-
"name": "timeout",
|
30894
|
-
"type": {
|
30895
|
-
"text": "number"
|
30896
|
-
},
|
30897
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
30898
|
-
"default": "20_000",
|
30899
|
-
"attribute": "timeout",
|
30900
|
-
"reflects": true
|
30901
|
-
},
|
30902
|
-
{
|
30903
|
-
"kind": "method",
|
30904
|
-
"name": "announce",
|
30905
|
-
"parameters": [
|
30906
|
-
{
|
30907
|
-
"name": "announcement",
|
30908
|
-
"type": {
|
30909
|
-
"text": "string"
|
30910
|
-
},
|
30911
|
-
"description": "The announcement to be made."
|
30912
|
-
},
|
30913
|
-
{
|
30914
|
-
"name": "delay",
|
30915
|
-
"type": {
|
30916
|
-
"text": "number"
|
30917
|
-
},
|
30918
|
-
"description": "The delay in milliseconds before announcing the message."
|
30919
|
-
},
|
30920
|
-
{
|
30921
|
-
"name": "timeout",
|
30922
|
-
"type": {
|
30923
|
-
"text": "number"
|
30924
|
-
},
|
30925
|
-
"description": "The timeout in milliseconds before removing the announcement."
|
30926
|
-
},
|
30927
|
-
{
|
30928
|
-
"name": "ariaLive",
|
30929
|
-
"type": {
|
30930
|
-
"text": "AriaLive"
|
30931
|
-
},
|
30932
|
-
"description": "The aria live value for the announcement."
|
30933
|
-
}
|
30934
|
-
],
|
30935
|
-
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
30936
|
-
},
|
30937
|
-
{
|
30938
|
-
"kind": "method",
|
30939
|
-
"name": "clearTimeOutsAndAnnouncements",
|
30940
|
-
"privacy": "private",
|
30941
|
-
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
30942
|
-
},
|
30943
|
-
{
|
30944
|
-
"kind": "method",
|
30945
|
-
"name": "createAnnouncementAriaLiveRegion",
|
30946
|
-
"privacy": "private",
|
30947
|
-
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
30948
|
-
}
|
30949
|
-
],
|
30950
|
-
"attributes": [
|
30951
|
-
{
|
30952
|
-
"name": "announcement",
|
30953
|
-
"type": {
|
30954
|
-
"text": "string"
|
30955
|
-
},
|
30956
|
-
"default": "''",
|
30957
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
30958
|
-
"fieldName": "announcement"
|
30959
|
-
},
|
30960
|
-
{
|
30961
|
-
"name": "identity",
|
30962
|
-
"type": {
|
30963
|
-
"text": "string"
|
30964
|
-
},
|
30965
|
-
"default": "''",
|
30966
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
30967
|
-
"fieldName": "identity"
|
30968
|
-
},
|
30969
|
-
{
|
30970
|
-
"name": "data-aria-live",
|
30971
|
-
"type": {
|
30972
|
-
"text": "AriaLive"
|
30973
|
-
},
|
30974
|
-
"description": "Aria live value for announcement.",
|
30975
|
-
"default": "'polite'",
|
30976
|
-
"fieldName": "dataAriaLive"
|
30977
|
-
},
|
30978
|
-
{
|
30979
|
-
"name": "delay",
|
30980
|
-
"type": {
|
30981
|
-
"text": "number"
|
30982
|
-
},
|
30983
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
30984
|
-
"default": "150",
|
30985
|
-
"fieldName": "delay"
|
30986
|
-
},
|
30987
|
-
{
|
30988
|
-
"name": "timeout",
|
30989
|
-
"type": {
|
30990
|
-
"text": "number"
|
30991
|
-
},
|
30992
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
30993
|
-
"default": "20_000",
|
30994
|
-
"fieldName": "timeout"
|
30995
|
-
}
|
30996
|
-
],
|
30997
|
-
"superclass": {
|
30998
|
-
"name": "Component",
|
30999
|
-
"module": "/src/models"
|
31000
|
-
},
|
31001
|
-
"tagName": "mdc-screenreaderannouncer",
|
31002
|
-
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
31003
|
-
"customElement": true
|
31004
|
-
}
|
31005
|
-
],
|
31006
|
-
"exports": [
|
31007
|
-
{
|
31008
|
-
"kind": "js",
|
31009
|
-
"name": "default",
|
31010
|
-
"declaration": {
|
31011
|
-
"name": "ScreenreaderAnnouncer",
|
31012
|
-
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
31013
|
-
}
|
31014
|
-
}
|
31015
|
-
]
|
31016
|
-
},
|
31017
30838
|
{
|
31018
30839
|
"kind": "javascript-module",
|
31019
30840
|
"path": "components/searchfield/searchfield.component.js",
|
@@ -33249,6 +33070,185 @@
|
|
33249
33070
|
}
|
33250
33071
|
]
|
33251
33072
|
},
|
33073
|
+
{
|
33074
|
+
"kind": "javascript-module",
|
33075
|
+
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
33076
|
+
"declarations": [
|
33077
|
+
{
|
33078
|
+
"kind": "class",
|
33079
|
+
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
33080
|
+
"name": "ScreenreaderAnnouncer",
|
33081
|
+
"members": [
|
33082
|
+
{
|
33083
|
+
"kind": "field",
|
33084
|
+
"name": "announcement",
|
33085
|
+
"type": {
|
33086
|
+
"text": "string"
|
33087
|
+
},
|
33088
|
+
"default": "''",
|
33089
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
33090
|
+
"attribute": "announcement",
|
33091
|
+
"reflects": true
|
33092
|
+
},
|
33093
|
+
{
|
33094
|
+
"kind": "field",
|
33095
|
+
"name": "identity",
|
33096
|
+
"type": {
|
33097
|
+
"text": "string"
|
33098
|
+
},
|
33099
|
+
"default": "''",
|
33100
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
33101
|
+
"attribute": "identity",
|
33102
|
+
"reflects": true
|
33103
|
+
},
|
33104
|
+
{
|
33105
|
+
"kind": "field",
|
33106
|
+
"name": "dataAriaLive",
|
33107
|
+
"type": {
|
33108
|
+
"text": "AriaLive"
|
33109
|
+
},
|
33110
|
+
"description": "Aria live value for announcement.",
|
33111
|
+
"default": "'polite'",
|
33112
|
+
"attribute": "data-aria-live",
|
33113
|
+
"reflects": true
|
33114
|
+
},
|
33115
|
+
{
|
33116
|
+
"kind": "field",
|
33117
|
+
"name": "delay",
|
33118
|
+
"type": {
|
33119
|
+
"text": "number"
|
33120
|
+
},
|
33121
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
33122
|
+
"default": "150",
|
33123
|
+
"attribute": "delay",
|
33124
|
+
"reflects": true
|
33125
|
+
},
|
33126
|
+
{
|
33127
|
+
"kind": "field",
|
33128
|
+
"name": "timeout",
|
33129
|
+
"type": {
|
33130
|
+
"text": "number"
|
33131
|
+
},
|
33132
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
33133
|
+
"default": "20_000",
|
33134
|
+
"attribute": "timeout",
|
33135
|
+
"reflects": true
|
33136
|
+
},
|
33137
|
+
{
|
33138
|
+
"kind": "method",
|
33139
|
+
"name": "announce",
|
33140
|
+
"parameters": [
|
33141
|
+
{
|
33142
|
+
"name": "announcement",
|
33143
|
+
"type": {
|
33144
|
+
"text": "string"
|
33145
|
+
},
|
33146
|
+
"description": "The announcement to be made."
|
33147
|
+
},
|
33148
|
+
{
|
33149
|
+
"name": "delay",
|
33150
|
+
"type": {
|
33151
|
+
"text": "number"
|
33152
|
+
},
|
33153
|
+
"description": "The delay in milliseconds before announcing the message."
|
33154
|
+
},
|
33155
|
+
{
|
33156
|
+
"name": "timeout",
|
33157
|
+
"type": {
|
33158
|
+
"text": "number"
|
33159
|
+
},
|
33160
|
+
"description": "The timeout in milliseconds before removing the announcement."
|
33161
|
+
},
|
33162
|
+
{
|
33163
|
+
"name": "ariaLive",
|
33164
|
+
"type": {
|
33165
|
+
"text": "AriaLive"
|
33166
|
+
},
|
33167
|
+
"description": "The aria live value for the announcement."
|
33168
|
+
}
|
33169
|
+
],
|
33170
|
+
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
33171
|
+
},
|
33172
|
+
{
|
33173
|
+
"kind": "method",
|
33174
|
+
"name": "clearTimeOutsAndAnnouncements",
|
33175
|
+
"privacy": "private",
|
33176
|
+
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
33177
|
+
},
|
33178
|
+
{
|
33179
|
+
"kind": "method",
|
33180
|
+
"name": "createAnnouncementAriaLiveRegion",
|
33181
|
+
"privacy": "private",
|
33182
|
+
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
33183
|
+
}
|
33184
|
+
],
|
33185
|
+
"attributes": [
|
33186
|
+
{
|
33187
|
+
"name": "announcement",
|
33188
|
+
"type": {
|
33189
|
+
"text": "string"
|
33190
|
+
},
|
33191
|
+
"default": "''",
|
33192
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
33193
|
+
"fieldName": "announcement"
|
33194
|
+
},
|
33195
|
+
{
|
33196
|
+
"name": "identity",
|
33197
|
+
"type": {
|
33198
|
+
"text": "string"
|
33199
|
+
},
|
33200
|
+
"default": "''",
|
33201
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
33202
|
+
"fieldName": "identity"
|
33203
|
+
},
|
33204
|
+
{
|
33205
|
+
"name": "data-aria-live",
|
33206
|
+
"type": {
|
33207
|
+
"text": "AriaLive"
|
33208
|
+
},
|
33209
|
+
"description": "Aria live value for announcement.",
|
33210
|
+
"default": "'polite'",
|
33211
|
+
"fieldName": "dataAriaLive"
|
33212
|
+
},
|
33213
|
+
{
|
33214
|
+
"name": "delay",
|
33215
|
+
"type": {
|
33216
|
+
"text": "number"
|
33217
|
+
},
|
33218
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
33219
|
+
"default": "150",
|
33220
|
+
"fieldName": "delay"
|
33221
|
+
},
|
33222
|
+
{
|
33223
|
+
"name": "timeout",
|
33224
|
+
"type": {
|
33225
|
+
"text": "number"
|
33226
|
+
},
|
33227
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
33228
|
+
"default": "20_000",
|
33229
|
+
"fieldName": "timeout"
|
33230
|
+
}
|
33231
|
+
],
|
33232
|
+
"superclass": {
|
33233
|
+
"name": "Component",
|
33234
|
+
"module": "/src/models"
|
33235
|
+
},
|
33236
|
+
"tagName": "mdc-screenreaderannouncer",
|
33237
|
+
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
33238
|
+
"customElement": true
|
33239
|
+
}
|
33240
|
+
],
|
33241
|
+
"exports": [
|
33242
|
+
{
|
33243
|
+
"kind": "js",
|
33244
|
+
"name": "default",
|
33245
|
+
"declaration": {
|
33246
|
+
"name": "ScreenreaderAnnouncer",
|
33247
|
+
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
33248
|
+
}
|
33249
|
+
}
|
33250
|
+
]
|
33251
|
+
},
|
33252
33252
|
{
|
33253
33253
|
"kind": "javascript-module",
|
33254
33254
|
"path": "components/selectlistbox/selectlistbox.component.js",
|
@@ -34803,94 +34803,6 @@
|
|
34803
34803
|
}
|
34804
34804
|
]
|
34805
34805
|
},
|
34806
|
-
{
|
34807
|
-
"kind": "javascript-module",
|
34808
|
-
"path": "components/stepperconnector/stepperconnector.component.js",
|
34809
|
-
"declarations": [
|
34810
|
-
{
|
34811
|
-
"kind": "class",
|
34812
|
-
"description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
|
34813
|
-
"name": "StepperConnector",
|
34814
|
-
"cssProperties": [
|
34815
|
-
{
|
34816
|
-
"description": "Background color for the complete connector",
|
34817
|
-
"name": "--mdc-stepperconnector-complete-background"
|
34818
|
-
},
|
34819
|
-
{
|
34820
|
-
"description": "Background color for the incomplete connector",
|
34821
|
-
"name": "--mdc-stepperconnector-incomplete-background"
|
34822
|
-
}
|
34823
|
-
],
|
34824
|
-
"cssParts": [
|
34825
|
-
{
|
34826
|
-
"description": "The main connector line between steps",
|
34827
|
-
"name": "connector"
|
34828
|
-
}
|
34829
|
-
],
|
34830
|
-
"members": [
|
34831
|
-
{
|
34832
|
-
"kind": "field",
|
34833
|
-
"name": "status",
|
34834
|
-
"type": {
|
34835
|
-
"text": "StatusType"
|
34836
|
-
},
|
34837
|
-
"description": "The status of the connector (complete or incomplete)",
|
34838
|
-
"default": "\"incomplete\"",
|
34839
|
-
"attribute": "status",
|
34840
|
-
"reflects": true
|
34841
|
-
},
|
34842
|
-
{
|
34843
|
-
"kind": "field",
|
34844
|
-
"name": "orientation",
|
34845
|
-
"type": {
|
34846
|
-
"text": "OrientationType"
|
34847
|
-
},
|
34848
|
-
"description": "The orientation of the connector (vertical or horizontal)",
|
34849
|
-
"default": "\"horizontal\"",
|
34850
|
-
"attribute": "orientation",
|
34851
|
-
"reflects": true
|
34852
|
-
}
|
34853
|
-
],
|
34854
|
-
"attributes": [
|
34855
|
-
{
|
34856
|
-
"name": "status",
|
34857
|
-
"type": {
|
34858
|
-
"text": "StatusType"
|
34859
|
-
},
|
34860
|
-
"description": "The status of the connector (complete or incomplete)",
|
34861
|
-
"default": "\"incomplete\"",
|
34862
|
-
"fieldName": "status"
|
34863
|
-
},
|
34864
|
-
{
|
34865
|
-
"name": "orientation",
|
34866
|
-
"type": {
|
34867
|
-
"text": "OrientationType"
|
34868
|
-
},
|
34869
|
-
"description": "The orientation of the connector (vertical or horizontal)",
|
34870
|
-
"default": "\"horizontal\"",
|
34871
|
-
"fieldName": "orientation"
|
34872
|
-
}
|
34873
|
-
],
|
34874
|
-
"superclass": {
|
34875
|
-
"name": "Component",
|
34876
|
-
"module": "/src/models"
|
34877
|
-
},
|
34878
|
-
"tagName": "mdc-stepperconnector",
|
34879
|
-
"jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
|
34880
|
-
"customElement": true
|
34881
|
-
}
|
34882
|
-
],
|
34883
|
-
"exports": [
|
34884
|
-
{
|
34885
|
-
"kind": "js",
|
34886
|
-
"name": "default",
|
34887
|
-
"declaration": {
|
34888
|
-
"name": "StepperConnector",
|
34889
|
-
"module": "components/stepperconnector/stepperconnector.component.js"
|
34890
|
-
}
|
34891
|
-
}
|
34892
|
-
]
|
34893
|
-
},
|
34894
34806
|
{
|
34895
34807
|
"kind": "javascript-module",
|
34896
34808
|
"path": "components/stepperitem/stepperitem.component.js",
|
@@ -35188,6 +35100,94 @@
|
|
35188
35100
|
}
|
35189
35101
|
]
|
35190
35102
|
},
|
35103
|
+
{
|
35104
|
+
"kind": "javascript-module",
|
35105
|
+
"path": "components/stepperconnector/stepperconnector.component.js",
|
35106
|
+
"declarations": [
|
35107
|
+
{
|
35108
|
+
"kind": "class",
|
35109
|
+
"description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
|
35110
|
+
"name": "StepperConnector",
|
35111
|
+
"cssProperties": [
|
35112
|
+
{
|
35113
|
+
"description": "Background color for the complete connector",
|
35114
|
+
"name": "--mdc-stepperconnector-complete-background"
|
35115
|
+
},
|
35116
|
+
{
|
35117
|
+
"description": "Background color for the incomplete connector",
|
35118
|
+
"name": "--mdc-stepperconnector-incomplete-background"
|
35119
|
+
}
|
35120
|
+
],
|
35121
|
+
"cssParts": [
|
35122
|
+
{
|
35123
|
+
"description": "The main connector line between steps",
|
35124
|
+
"name": "connector"
|
35125
|
+
}
|
35126
|
+
],
|
35127
|
+
"members": [
|
35128
|
+
{
|
35129
|
+
"kind": "field",
|
35130
|
+
"name": "status",
|
35131
|
+
"type": {
|
35132
|
+
"text": "StatusType"
|
35133
|
+
},
|
35134
|
+
"description": "The status of the connector (complete or incomplete)",
|
35135
|
+
"default": "\"incomplete\"",
|
35136
|
+
"attribute": "status",
|
35137
|
+
"reflects": true
|
35138
|
+
},
|
35139
|
+
{
|
35140
|
+
"kind": "field",
|
35141
|
+
"name": "orientation",
|
35142
|
+
"type": {
|
35143
|
+
"text": "OrientationType"
|
35144
|
+
},
|
35145
|
+
"description": "The orientation of the connector (vertical or horizontal)",
|
35146
|
+
"default": "\"horizontal\"",
|
35147
|
+
"attribute": "orientation",
|
35148
|
+
"reflects": true
|
35149
|
+
}
|
35150
|
+
],
|
35151
|
+
"attributes": [
|
35152
|
+
{
|
35153
|
+
"name": "status",
|
35154
|
+
"type": {
|
35155
|
+
"text": "StatusType"
|
35156
|
+
},
|
35157
|
+
"description": "The status of the connector (complete or incomplete)",
|
35158
|
+
"default": "\"incomplete\"",
|
35159
|
+
"fieldName": "status"
|
35160
|
+
},
|
35161
|
+
{
|
35162
|
+
"name": "orientation",
|
35163
|
+
"type": {
|
35164
|
+
"text": "OrientationType"
|
35165
|
+
},
|
35166
|
+
"description": "The orientation of the connector (vertical or horizontal)",
|
35167
|
+
"default": "\"horizontal\"",
|
35168
|
+
"fieldName": "orientation"
|
35169
|
+
}
|
35170
|
+
],
|
35171
|
+
"superclass": {
|
35172
|
+
"name": "Component",
|
35173
|
+
"module": "/src/models"
|
35174
|
+
},
|
35175
|
+
"tagName": "mdc-stepperconnector",
|
35176
|
+
"jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
|
35177
|
+
"customElement": true
|
35178
|
+
}
|
35179
|
+
],
|
35180
|
+
"exports": [
|
35181
|
+
{
|
35182
|
+
"kind": "js",
|
35183
|
+
"name": "default",
|
35184
|
+
"declaration": {
|
35185
|
+
"name": "StepperConnector",
|
35186
|
+
"module": "components/stepperconnector/stepperconnector.component.js"
|
35187
|
+
}
|
35188
|
+
}
|
35189
|
+
]
|
35190
|
+
},
|
35191
35191
|
{
|
35192
35192
|
"kind": "javascript-module",
|
35193
35193
|
"path": "components/tab/tab.component.js",
|
@@ -37190,6 +37190,392 @@
|
|
37190
37190
|
}
|
37191
37191
|
]
|
37192
37192
|
},
|
37193
|
+
{
|
37194
|
+
"kind": "javascript-module",
|
37195
|
+
"path": "components/toast/toast.component.js",
|
37196
|
+
"declarations": [
|
37197
|
+
{
|
37198
|
+
"kind": "class",
|
37199
|
+
"description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
|
37200
|
+
"name": "Toast",
|
37201
|
+
"cssProperties": [
|
37202
|
+
{
|
37203
|
+
"description": "Background color of the toast.",
|
37204
|
+
"name": "--mdc-toast-background-color"
|
37205
|
+
},
|
37206
|
+
{
|
37207
|
+
"description": "Border color of the toast.",
|
37208
|
+
"name": "--mdc-toast-border-color"
|
37209
|
+
},
|
37210
|
+
{
|
37211
|
+
"description": "Color of the header text in the toast.",
|
37212
|
+
"name": "--mdc-toast-header-text-color"
|
37213
|
+
},
|
37214
|
+
{
|
37215
|
+
"description": "Color of the icon in the toast.",
|
37216
|
+
"name": "--mdc-toast-icon-color"
|
37217
|
+
},
|
37218
|
+
{
|
37219
|
+
"description": "Elevation effect applied to the toast.",
|
37220
|
+
"name": "--mdc-toast-elevation-3"
|
37221
|
+
},
|
37222
|
+
{
|
37223
|
+
"description": "Width of the toast.",
|
37224
|
+
"name": "--mdc-toast-width"
|
37225
|
+
},
|
37226
|
+
{
|
37227
|
+
"description": "Padding inside the toast.",
|
37228
|
+
"name": "--mdc-toast-padding"
|
37229
|
+
}
|
37230
|
+
],
|
37231
|
+
"cssParts": [
|
37232
|
+
{
|
37233
|
+
"description": "The container for the toast's main content, including icon, text, and close button.",
|
37234
|
+
"name": "content-container"
|
37235
|
+
},
|
37236
|
+
{
|
37237
|
+
"description": "The icon shown at the start of the toast, styled by variant.",
|
37238
|
+
"name": "toast-prefix-icon"
|
37239
|
+
},
|
37240
|
+
{
|
37241
|
+
"description": "The container for the header and body content of the toast.",
|
37242
|
+
"name": "toast-content"
|
37243
|
+
},
|
37244
|
+
{
|
37245
|
+
"description": "The header text of the toast.",
|
37246
|
+
"name": "toast-header"
|
37247
|
+
},
|
37248
|
+
{
|
37249
|
+
"description": "The container for the toast's footer, including toggle and action buttons.",
|
37250
|
+
"name": "footer"
|
37251
|
+
},
|
37252
|
+
{
|
37253
|
+
"description": "The toggle button for showing/hiding detailed content.",
|
37254
|
+
"name": "footer-button-toggle"
|
37255
|
+
},
|
37256
|
+
{
|
37257
|
+
"description": "The close button for the toast.",
|
37258
|
+
"name": "toast-close-btn"
|
37259
|
+
}
|
37260
|
+
],
|
37261
|
+
"slots": [
|
37262
|
+
{
|
37263
|
+
"description": "Slot for custom content before the icon (only for custom variant).",
|
37264
|
+
"name": "content-prefix"
|
37265
|
+
},
|
37266
|
+
{
|
37267
|
+
"description": "Slot for the main body content of the toast.",
|
37268
|
+
"name": "toast-body-normal"
|
37269
|
+
},
|
37270
|
+
{
|
37271
|
+
"description": "Slot for additional detailed content, shown when expanded.",
|
37272
|
+
"name": "toast-body-detailed"
|
37273
|
+
},
|
37274
|
+
{
|
37275
|
+
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
37276
|
+
"name": "footer"
|
37277
|
+
},
|
37278
|
+
{
|
37279
|
+
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
37280
|
+
"name": "footer-button-primary"
|
37281
|
+
},
|
37282
|
+
{
|
37283
|
+
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
37284
|
+
"name": "footer-button-secondary"
|
37285
|
+
}
|
37286
|
+
],
|
37287
|
+
"members": [
|
37288
|
+
{
|
37289
|
+
"kind": "field",
|
37290
|
+
"name": "variant",
|
37291
|
+
"type": {
|
37292
|
+
"text": "ToastVariant"
|
37293
|
+
},
|
37294
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
|
37295
|
+
"default": "'custom'",
|
37296
|
+
"attribute": "variant",
|
37297
|
+
"reflects": true
|
37298
|
+
},
|
37299
|
+
{
|
37300
|
+
"kind": "field",
|
37301
|
+
"name": "closeButtonAriaLabel",
|
37302
|
+
"type": {
|
37303
|
+
"text": "string | undefined"
|
37304
|
+
},
|
37305
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
37306
|
+
"attribute": "close-button-aria-label"
|
37307
|
+
},
|
37308
|
+
{
|
37309
|
+
"kind": "field",
|
37310
|
+
"name": "headerText",
|
37311
|
+
"type": {
|
37312
|
+
"text": "string | undefined"
|
37313
|
+
},
|
37314
|
+
"description": "Defines a string value to display as the title of the toast",
|
37315
|
+
"attribute": "header-text",
|
37316
|
+
"reflects": true
|
37317
|
+
},
|
37318
|
+
{
|
37319
|
+
"kind": "field",
|
37320
|
+
"name": "headerTagName",
|
37321
|
+
"type": {
|
37322
|
+
"text": "TagName"
|
37323
|
+
},
|
37324
|
+
"description": "The html tag to be used for the header text",
|
37325
|
+
"default": "'h2'",
|
37326
|
+
"attribute": "header-tag-name",
|
37327
|
+
"reflects": true
|
37328
|
+
},
|
37329
|
+
{
|
37330
|
+
"kind": "field",
|
37331
|
+
"name": "ariaLabel",
|
37332
|
+
"type": {
|
37333
|
+
"text": "string | null"
|
37334
|
+
},
|
37335
|
+
"default": "null",
|
37336
|
+
"description": "Defines aria-label attribute when header is not used",
|
37337
|
+
"attribute": "aria-label",
|
37338
|
+
"reflects": true
|
37339
|
+
},
|
37340
|
+
{
|
37341
|
+
"kind": "field",
|
37342
|
+
"name": "showMoreText",
|
37343
|
+
"type": {
|
37344
|
+
"text": "string | undefined"
|
37345
|
+
},
|
37346
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
37347
|
+
"attribute": "show-more-text",
|
37348
|
+
"reflects": true
|
37349
|
+
},
|
37350
|
+
{
|
37351
|
+
"kind": "field",
|
37352
|
+
"name": "showLessText",
|
37353
|
+
"type": {
|
37354
|
+
"text": "string | undefined"
|
37355
|
+
},
|
37356
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
37357
|
+
"attribute": "show-less-text",
|
37358
|
+
"reflects": true
|
37359
|
+
},
|
37360
|
+
{
|
37361
|
+
"kind": "field",
|
37362
|
+
"name": "isDetailVisible",
|
37363
|
+
"type": {
|
37364
|
+
"text": "boolean"
|
37365
|
+
},
|
37366
|
+
"privacy": "private",
|
37367
|
+
"default": "false"
|
37368
|
+
},
|
37369
|
+
{
|
37370
|
+
"kind": "field",
|
37371
|
+
"name": "hasDetailedSlot",
|
37372
|
+
"type": {
|
37373
|
+
"text": "boolean"
|
37374
|
+
},
|
37375
|
+
"privacy": "private",
|
37376
|
+
"default": "false"
|
37377
|
+
},
|
37378
|
+
{
|
37379
|
+
"kind": "field",
|
37380
|
+
"name": "detailedElements",
|
37381
|
+
"type": {
|
37382
|
+
"text": "HTMLElement[]"
|
37383
|
+
},
|
37384
|
+
"privacy": "private"
|
37385
|
+
},
|
37386
|
+
{
|
37387
|
+
"kind": "field",
|
37388
|
+
"name": "hasFooterButtons",
|
37389
|
+
"type": {
|
37390
|
+
"text": "string"
|
37391
|
+
},
|
37392
|
+
"privacy": "private",
|
37393
|
+
"default": "''"
|
37394
|
+
},
|
37395
|
+
{
|
37396
|
+
"kind": "method",
|
37397
|
+
"name": "closeToast",
|
37398
|
+
"privacy": "private",
|
37399
|
+
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
37400
|
+
},
|
37401
|
+
{
|
37402
|
+
"kind": "method",
|
37403
|
+
"name": "toggleDetailVisibility",
|
37404
|
+
"privacy": "private"
|
37405
|
+
},
|
37406
|
+
{
|
37407
|
+
"kind": "method",
|
37408
|
+
"name": "updateDetailedSlotPresence",
|
37409
|
+
"privacy": "private"
|
37410
|
+
},
|
37411
|
+
{
|
37412
|
+
"kind": "method",
|
37413
|
+
"name": "updateFooterButtonsPresence",
|
37414
|
+
"privacy": "private"
|
37415
|
+
},
|
37416
|
+
{
|
37417
|
+
"kind": "method",
|
37418
|
+
"name": "renderIcon",
|
37419
|
+
"privacy": "protected",
|
37420
|
+
"parameters": [
|
37421
|
+
{
|
37422
|
+
"name": "iconName",
|
37423
|
+
"type": {
|
37424
|
+
"text": "string"
|
37425
|
+
}
|
37426
|
+
}
|
37427
|
+
]
|
37428
|
+
},
|
37429
|
+
{
|
37430
|
+
"kind": "method",
|
37431
|
+
"name": "shouldRenderToggleButton",
|
37432
|
+
"privacy": "private"
|
37433
|
+
},
|
37434
|
+
{
|
37435
|
+
"kind": "method",
|
37436
|
+
"name": "renderToggleDetailButton",
|
37437
|
+
"privacy": "private"
|
37438
|
+
},
|
37439
|
+
{
|
37440
|
+
"kind": "method",
|
37441
|
+
"name": "renderHeader",
|
37442
|
+
"privacy": "protected"
|
37443
|
+
},
|
37444
|
+
{
|
37445
|
+
"kind": "method",
|
37446
|
+
"name": "handleFooterSlot",
|
37447
|
+
"privacy": "protected",
|
37448
|
+
"return": {
|
37449
|
+
"type": {
|
37450
|
+
"text": "void"
|
37451
|
+
}
|
37452
|
+
},
|
37453
|
+
"parameters": [
|
37454
|
+
{
|
37455
|
+
"name": "tagname",
|
37456
|
+
"type": {
|
37457
|
+
"text": "string"
|
37458
|
+
}
|
37459
|
+
},
|
37460
|
+
{
|
37461
|
+
"name": "variant",
|
37462
|
+
"optional": true,
|
37463
|
+
"type": {
|
37464
|
+
"text": "string | undefined"
|
37465
|
+
}
|
37466
|
+
}
|
37467
|
+
]
|
37468
|
+
},
|
37469
|
+
{
|
37470
|
+
"kind": "method",
|
37471
|
+
"name": "renderFooter",
|
37472
|
+
"privacy": "protected",
|
37473
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
37474
|
+
"return": {
|
37475
|
+
"type": {
|
37476
|
+
"text": ""
|
37477
|
+
}
|
37478
|
+
},
|
37479
|
+
"inheritedFrom": {
|
37480
|
+
"name": "FooterMixin",
|
37481
|
+
"module": "utils/mixins/FooterMixin.js"
|
37482
|
+
}
|
37483
|
+
}
|
37484
|
+
],
|
37485
|
+
"events": [
|
37486
|
+
{
|
37487
|
+
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
37488
|
+
"name": "close",
|
37489
|
+
"reactName": "onClose"
|
37490
|
+
}
|
37491
|
+
],
|
37492
|
+
"attributes": [
|
37493
|
+
{
|
37494
|
+
"name": "variant",
|
37495
|
+
"type": {
|
37496
|
+
"text": "ToastVariant"
|
37497
|
+
},
|
37498
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
|
37499
|
+
"default": "'custom'",
|
37500
|
+
"fieldName": "variant"
|
37501
|
+
},
|
37502
|
+
{
|
37503
|
+
"name": "close-button-aria-label",
|
37504
|
+
"type": {
|
37505
|
+
"text": "string | undefined"
|
37506
|
+
},
|
37507
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
37508
|
+
"fieldName": "closeButtonAriaLabel"
|
37509
|
+
},
|
37510
|
+
{
|
37511
|
+
"name": "header-text",
|
37512
|
+
"type": {
|
37513
|
+
"text": "string | undefined"
|
37514
|
+
},
|
37515
|
+
"description": "Defines a string value to display as the title of the toast",
|
37516
|
+
"fieldName": "headerText"
|
37517
|
+
},
|
37518
|
+
{
|
37519
|
+
"name": "header-tag-name",
|
37520
|
+
"type": {
|
37521
|
+
"text": "TagName"
|
37522
|
+
},
|
37523
|
+
"description": "The html tag to be used for the header text",
|
37524
|
+
"default": "'h2'",
|
37525
|
+
"fieldName": "headerTagName"
|
37526
|
+
},
|
37527
|
+
{
|
37528
|
+
"name": "aria-label",
|
37529
|
+
"type": {
|
37530
|
+
"text": "string | null"
|
37531
|
+
},
|
37532
|
+
"default": "null",
|
37533
|
+
"description": "Defines aria-label attribute when header is not used",
|
37534
|
+
"fieldName": "ariaLabel"
|
37535
|
+
},
|
37536
|
+
{
|
37537
|
+
"name": "show-more-text",
|
37538
|
+
"type": {
|
37539
|
+
"text": "string | undefined"
|
37540
|
+
},
|
37541
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
37542
|
+
"fieldName": "showMoreText"
|
37543
|
+
},
|
37544
|
+
{
|
37545
|
+
"name": "show-less-text",
|
37546
|
+
"type": {
|
37547
|
+
"text": "string | undefined"
|
37548
|
+
},
|
37549
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
37550
|
+
"fieldName": "showLessText"
|
37551
|
+
}
|
37552
|
+
],
|
37553
|
+
"mixins": [
|
37554
|
+
{
|
37555
|
+
"name": "FooterMixin",
|
37556
|
+
"module": "/src/utils/mixins/FooterMixin"
|
37557
|
+
}
|
37558
|
+
],
|
37559
|
+
"superclass": {
|
37560
|
+
"name": "Component",
|
37561
|
+
"module": "/src/models"
|
37562
|
+
},
|
37563
|
+
"tagName": "mdc-toast",
|
37564
|
+
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-linkbutton\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
37565
|
+
"customElement": true
|
37566
|
+
}
|
37567
|
+
],
|
37568
|
+
"exports": [
|
37569
|
+
{
|
37570
|
+
"kind": "js",
|
37571
|
+
"name": "default",
|
37572
|
+
"declaration": {
|
37573
|
+
"name": "Toast",
|
37574
|
+
"module": "components/toast/toast.component.js"
|
37575
|
+
}
|
37576
|
+
}
|
37577
|
+
]
|
37578
|
+
},
|
37193
37579
|
{
|
37194
37580
|
"kind": "javascript-module",
|
37195
37581
|
"path": "components/toggle/toggle.component.js",
|
@@ -37892,28 +38278,24 @@
|
|
37892
38278
|
},
|
37893
38279
|
{
|
37894
38280
|
"kind": "javascript-module",
|
37895
|
-
"path": "components/
|
38281
|
+
"path": "components/toggletip/toggletip.component.js",
|
37896
38282
|
"declarations": [
|
37897
38283
|
{
|
37898
38284
|
"kind": "class",
|
37899
|
-
"description": "A
|
37900
|
-
"name": "
|
38285
|
+
"description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
38286
|
+
"name": "ToggleTip",
|
37901
38287
|
"cssProperties": [
|
37902
38288
|
{
|
37903
|
-
"description": "The maximum width of the
|
37904
|
-
"name": "--mdc-
|
37905
|
-
},
|
37906
|
-
{
|
37907
|
-
"description": "The padding of the tooltip.",
|
37908
|
-
"name": "--mdc-tooltip-padding"
|
38289
|
+
"description": "The maximum width of the toggletip.",
|
38290
|
+
"name": "--mdc-toggletip-max-width"
|
37909
38291
|
},
|
37910
38292
|
{
|
37911
|
-
"description": "The text color of the
|
37912
|
-
"name": "--mdc-
|
38293
|
+
"description": "The text color of the toggletip.",
|
38294
|
+
"name": "--mdc-toggletip-text-color"
|
37913
38295
|
},
|
37914
38296
|
{
|
37915
|
-
"description": "The text color of the
|
37916
|
-
"name": "--mdc-
|
38297
|
+
"description": "The text color of the toggletip when the color is contrast.",
|
38298
|
+
"name": "--mdc-toggletip-text-color-contrast"
|
37917
38299
|
},
|
37918
38300
|
{
|
37919
38301
|
"description": "radius of the arrow border",
|
@@ -37996,18 +38378,17 @@
|
|
37996
38378
|
}
|
37997
38379
|
}
|
37998
38380
|
],
|
37999
|
-
"
|
38381
|
+
"slots": [
|
38000
38382
|
{
|
38001
|
-
"
|
38002
|
-
"name": "
|
38003
|
-
"
|
38004
|
-
"
|
38005
|
-
|
38006
|
-
|
38007
|
-
|
38008
|
-
|
38009
|
-
|
38010
|
-
},
|
38383
|
+
"description": "Default slot for the toggletip content",
|
38384
|
+
"name": "",
|
38385
|
+
"inheritedFrom": {
|
38386
|
+
"name": "Popover",
|
38387
|
+
"module": "src/components/popover/popover.component.ts"
|
38388
|
+
}
|
38389
|
+
}
|
38390
|
+
],
|
38391
|
+
"members": [
|
38011
38392
|
{
|
38012
38393
|
"kind": "field",
|
38013
38394
|
"name": "defaultSlotNodes",
|
@@ -38017,76 +38398,50 @@
|
|
38017
38398
|
"privacy": "private"
|
38018
38399
|
},
|
38019
38400
|
{
|
38020
|
-
"kind": "
|
38021
|
-
"name": "
|
38022
|
-
"
|
38023
|
-
|
38024
|
-
"type": {
|
38025
|
-
"text": ""
|
38026
|
-
}
|
38027
|
-
}
|
38028
|
-
},
|
38029
|
-
{
|
38030
|
-
"kind": "method",
|
38031
|
-
"name": "setTooltipType",
|
38032
|
-
"privacy": "private",
|
38033
|
-
"return": {
|
38034
|
-
"type": {
|
38035
|
-
"text": "void"
|
38036
|
-
}
|
38401
|
+
"kind": "field",
|
38402
|
+
"name": "screenreaderAnnouncerIdentity",
|
38403
|
+
"type": {
|
38404
|
+
"text": "string | undefined"
|
38037
38405
|
},
|
38038
|
-
"
|
38039
|
-
|
38040
|
-
|
38041
|
-
"type": {
|
38042
|
-
"text": "TooltipType"
|
38043
|
-
},
|
38044
|
-
"description": "The type to set."
|
38045
|
-
}
|
38046
|
-
],
|
38047
|
-
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
38406
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
38407
|
+
"attribute": "screenreader-announcer-identity",
|
38408
|
+
"reflects": true
|
38048
38409
|
},
|
38049
38410
|
{
|
38050
|
-
"kind": "
|
38051
|
-
"name": "
|
38052
|
-
"
|
38053
|
-
|
38054
|
-
"type": {
|
38055
|
-
"text": "Promise<void>"
|
38056
|
-
}
|
38411
|
+
"kind": "field",
|
38412
|
+
"name": "placement",
|
38413
|
+
"type": {
|
38414
|
+
"text": "PopoverPlacement"
|
38057
38415
|
},
|
38058
|
-
"description": "
|
38416
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
38417
|
+
"default": "bottom",
|
38418
|
+
"attribute": "placement",
|
38419
|
+
"reflects": true,
|
38420
|
+
"inheritedFrom": {
|
38421
|
+
"name": "Popover",
|
38422
|
+
"module": "components/popover/popover.component.js"
|
38423
|
+
}
|
38059
38424
|
},
|
38060
38425
|
{
|
38061
38426
|
"kind": "method",
|
38062
|
-
"name": "
|
38427
|
+
"name": "getToggleTipText",
|
38063
38428
|
"privacy": "private",
|
38064
38429
|
"return": {
|
38065
38430
|
"type": {
|
38066
|
-
"text": "
|
38431
|
+
"text": ""
|
38067
38432
|
}
|
38068
|
-
}
|
38069
|
-
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
38433
|
+
}
|
38070
38434
|
},
|
38071
38435
|
{
|
38072
38436
|
"kind": "method",
|
38073
|
-
"name": "
|
38437
|
+
"name": "onPlacementUpdated",
|
38074
38438
|
"privacy": "private",
|
38075
38439
|
"return": {
|
38076
38440
|
"type": {
|
38077
38441
|
"text": "void"
|
38078
38442
|
}
|
38079
38443
|
},
|
38080
|
-
"
|
38081
|
-
{
|
38082
|
-
"name": "changedProperties",
|
38083
|
-
"type": {
|
38084
|
-
"text": "PropertyValues"
|
38085
|
-
},
|
38086
|
-
"description": "The changed properties."
|
38087
|
-
}
|
38088
|
-
],
|
38089
|
-
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
38444
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
|
38090
38445
|
},
|
38091
38446
|
{
|
38092
38447
|
"kind": "field",
|
@@ -38694,21 +39049,6 @@
|
|
38694
39049
|
"module": "components/popover/popover.component.js"
|
38695
39050
|
}
|
38696
39051
|
},
|
38697
|
-
{
|
38698
|
-
"kind": "field",
|
38699
|
-
"name": "placement",
|
38700
|
-
"type": {
|
38701
|
-
"text": "PopoverPlacement"
|
38702
|
-
},
|
38703
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
38704
|
-
"default": "bottom",
|
38705
|
-
"attribute": "placement",
|
38706
|
-
"reflects": true,
|
38707
|
-
"inheritedFrom": {
|
38708
|
-
"name": "Popover",
|
38709
|
-
"module": "components/popover/popover.component.js"
|
38710
|
-
}
|
38711
|
-
},
|
38712
39052
|
{
|
38713
39053
|
"kind": "field",
|
38714
39054
|
"name": "color",
|
@@ -39428,7 +39768,7 @@
|
|
39428
39768
|
],
|
39429
39769
|
"events": [
|
39430
39770
|
{
|
39431
|
-
"description": "(React: onShown) This event is dispatched when the
|
39771
|
+
"description": "(React: onShown) This event is dispatched when the toggletip is shown",
|
39432
39772
|
"name": "shown",
|
39433
39773
|
"reactName": "onShown",
|
39434
39774
|
"inheritedFrom": {
|
@@ -39437,7 +39777,7 @@
|
|
39437
39777
|
}
|
39438
39778
|
},
|
39439
39779
|
{
|
39440
|
-
"description": "(React: onHidden) This event is dispatched when the
|
39780
|
+
"description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
|
39441
39781
|
"name": "hidden",
|
39442
39782
|
"reactName": "onHidden",
|
39443
39783
|
"inheritedFrom": {
|
@@ -39446,7 +39786,7 @@
|
|
39446
39786
|
}
|
39447
39787
|
},
|
39448
39788
|
{
|
39449
|
-
"description": "(React: onCreated) This event is dispatched when the
|
39789
|
+
"description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
|
39450
39790
|
"name": "created",
|
39451
39791
|
"reactName": "onCreated",
|
39452
39792
|
"inheritedFrom": {
|
@@ -39455,7 +39795,7 @@
|
|
39455
39795
|
}
|
39456
39796
|
},
|
39457
39797
|
{
|
39458
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
39798
|
+
"description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
|
39459
39799
|
"name": "destroyed",
|
39460
39800
|
"reactName": "onDestroyed",
|
39461
39801
|
"inheritedFrom": {
|
@@ -39466,13 +39806,25 @@
|
|
39466
39806
|
],
|
39467
39807
|
"attributes": [
|
39468
39808
|
{
|
39469
|
-
"name": "
|
39809
|
+
"name": "screenreader-announcer-identity",
|
39470
39810
|
"type": {
|
39471
|
-
"text": "
|
39811
|
+
"text": "string | undefined"
|
39472
39812
|
},
|
39473
|
-
"description": "
|
39474
|
-
"
|
39475
|
-
|
39813
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
39814
|
+
"fieldName": "screenreaderAnnouncerIdentity"
|
39815
|
+
},
|
39816
|
+
{
|
39817
|
+
"name": "placement",
|
39818
|
+
"type": {
|
39819
|
+
"text": "PopoverPlacement"
|
39820
|
+
},
|
39821
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
39822
|
+
"default": "bottom",
|
39823
|
+
"fieldName": "placement",
|
39824
|
+
"inheritedFrom": {
|
39825
|
+
"name": "Popover",
|
39826
|
+
"module": "src/components/popover/popover.component.ts"
|
39827
|
+
}
|
39476
39828
|
},
|
39477
39829
|
{
|
39478
39830
|
"name": "should-focus-trap-wrap",
|
@@ -39526,19 +39878,6 @@
|
|
39526
39878
|
"module": "src/components/popover/popover.component.ts"
|
39527
39879
|
}
|
39528
39880
|
},
|
39529
|
-
{
|
39530
|
-
"name": "placement",
|
39531
|
-
"type": {
|
39532
|
-
"text": "PopoverPlacement"
|
39533
|
-
},
|
39534
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
39535
|
-
"default": "bottom",
|
39536
|
-
"fieldName": "placement",
|
39537
|
-
"inheritedFrom": {
|
39538
|
-
"name": "Popover",
|
39539
|
-
"module": "src/components/popover/popover.component.ts"
|
39540
|
-
}
|
39541
|
-
},
|
39542
39881
|
{
|
39543
39882
|
"name": "color",
|
39544
39883
|
"type": {
|
@@ -39959,19 +40298,9 @@
|
|
39959
40298
|
"name": "Popover",
|
39960
40299
|
"module": "/src/components/popover/popover.component"
|
39961
40300
|
},
|
39962
|
-
"tagName": "mdc-
|
39963
|
-
"jsDoc": "/**\n * A
|
39964
|
-
"customElement": true
|
39965
|
-
"slots": [
|
39966
|
-
{
|
39967
|
-
"description": "Default slot for the popover content",
|
39968
|
-
"name": "",
|
39969
|
-
"inheritedFrom": {
|
39970
|
-
"name": "Popover",
|
39971
|
-
"module": "src/components/popover/popover.component.ts"
|
39972
|
-
}
|
39973
|
-
}
|
39974
|
-
]
|
40301
|
+
"tagName": "mdc-toggletip",
|
40302
|
+
"jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
|
40303
|
+
"customElement": true
|
39975
40304
|
}
|
39976
40305
|
],
|
39977
40306
|
"exports": [
|
@@ -39979,418 +40308,36 @@
|
|
39979
40308
|
"kind": "js",
|
39980
40309
|
"name": "default",
|
39981
40310
|
"declaration": {
|
39982
|
-
"name": "
|
39983
|
-
"module": "components/
|
40311
|
+
"name": "ToggleTip",
|
40312
|
+
"module": "components/toggletip/toggletip.component.js"
|
39984
40313
|
}
|
39985
40314
|
}
|
39986
40315
|
]
|
39987
40316
|
},
|
39988
40317
|
{
|
39989
40318
|
"kind": "javascript-module",
|
39990
|
-
"path": "components/
|
40319
|
+
"path": "components/tooltip/tooltip.component.js",
|
39991
40320
|
"declarations": [
|
39992
40321
|
{
|
39993
40322
|
"kind": "class",
|
39994
|
-
"description": "
|
39995
|
-
"name": "
|
40323
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
40324
|
+
"name": "Tooltip",
|
39996
40325
|
"cssProperties": [
|
39997
40326
|
{
|
39998
|
-
"description": "
|
39999
|
-
"name": "--mdc-
|
40000
|
-
},
|
40001
|
-
{
|
40002
|
-
"description": "Border color of the toast.",
|
40003
|
-
"name": "--mdc-toast-border-color"
|
40004
|
-
},
|
40005
|
-
{
|
40006
|
-
"description": "Color of the header text in the toast.",
|
40007
|
-
"name": "--mdc-toast-header-text-color"
|
40008
|
-
},
|
40009
|
-
{
|
40010
|
-
"description": "Color of the icon in the toast.",
|
40011
|
-
"name": "--mdc-toast-icon-color"
|
40012
|
-
},
|
40013
|
-
{
|
40014
|
-
"description": "Elevation effect applied to the toast.",
|
40015
|
-
"name": "--mdc-toast-elevation-3"
|
40016
|
-
},
|
40017
|
-
{
|
40018
|
-
"description": "Width of the toast.",
|
40019
|
-
"name": "--mdc-toast-width"
|
40020
|
-
},
|
40021
|
-
{
|
40022
|
-
"description": "Padding inside the toast.",
|
40023
|
-
"name": "--mdc-toast-padding"
|
40024
|
-
}
|
40025
|
-
],
|
40026
|
-
"cssParts": [
|
40027
|
-
{
|
40028
|
-
"description": "The container for the toast's main content, including icon, text, and close button.",
|
40029
|
-
"name": "content-container"
|
40030
|
-
},
|
40031
|
-
{
|
40032
|
-
"description": "The icon shown at the start of the toast, styled by variant.",
|
40033
|
-
"name": "toast-prefix-icon"
|
40034
|
-
},
|
40035
|
-
{
|
40036
|
-
"description": "The container for the header and body content of the toast.",
|
40037
|
-
"name": "toast-content"
|
40038
|
-
},
|
40039
|
-
{
|
40040
|
-
"description": "The header text of the toast.",
|
40041
|
-
"name": "toast-header"
|
40042
|
-
},
|
40043
|
-
{
|
40044
|
-
"description": "The container for the toast's footer, including toggle and action buttons.",
|
40045
|
-
"name": "footer"
|
40046
|
-
},
|
40047
|
-
{
|
40048
|
-
"description": "The toggle button for showing/hiding detailed content.",
|
40049
|
-
"name": "footer-button-toggle"
|
40050
|
-
},
|
40051
|
-
{
|
40052
|
-
"description": "The close button for the toast.",
|
40053
|
-
"name": "toast-close-btn"
|
40054
|
-
}
|
40055
|
-
],
|
40056
|
-
"slots": [
|
40057
|
-
{
|
40058
|
-
"description": "Slot for custom content before the icon (only for custom variant).",
|
40059
|
-
"name": "content-prefix"
|
40060
|
-
},
|
40061
|
-
{
|
40062
|
-
"description": "Slot for the main body content of the toast.",
|
40063
|
-
"name": "toast-body-normal"
|
40064
|
-
},
|
40065
|
-
{
|
40066
|
-
"description": "Slot for additional detailed content, shown when expanded.",
|
40067
|
-
"name": "toast-body-detailed"
|
40068
|
-
},
|
40069
|
-
{
|
40070
|
-
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
40071
|
-
"name": "footer"
|
40072
|
-
},
|
40073
|
-
{
|
40074
|
-
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
40075
|
-
"name": "footer-button-primary"
|
40076
|
-
},
|
40077
|
-
{
|
40078
|
-
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
40079
|
-
"name": "footer-button-secondary"
|
40080
|
-
}
|
40081
|
-
],
|
40082
|
-
"members": [
|
40083
|
-
{
|
40084
|
-
"kind": "field",
|
40085
|
-
"name": "variant",
|
40086
|
-
"type": {
|
40087
|
-
"text": "ToastVariant"
|
40088
|
-
},
|
40089
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
|
40090
|
-
"default": "'custom'",
|
40091
|
-
"attribute": "variant",
|
40092
|
-
"reflects": true
|
40093
|
-
},
|
40094
|
-
{
|
40095
|
-
"kind": "field",
|
40096
|
-
"name": "closeButtonAriaLabel",
|
40097
|
-
"type": {
|
40098
|
-
"text": "string | undefined"
|
40099
|
-
},
|
40100
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
40101
|
-
"attribute": "close-button-aria-label"
|
40102
|
-
},
|
40103
|
-
{
|
40104
|
-
"kind": "field",
|
40105
|
-
"name": "headerText",
|
40106
|
-
"type": {
|
40107
|
-
"text": "string | undefined"
|
40108
|
-
},
|
40109
|
-
"description": "Defines a string value to display as the title of the toast",
|
40110
|
-
"attribute": "header-text",
|
40111
|
-
"reflects": true
|
40112
|
-
},
|
40113
|
-
{
|
40114
|
-
"kind": "field",
|
40115
|
-
"name": "headerTagName",
|
40116
|
-
"type": {
|
40117
|
-
"text": "TagName"
|
40118
|
-
},
|
40119
|
-
"description": "The html tag to be used for the header text",
|
40120
|
-
"default": "'h2'",
|
40121
|
-
"attribute": "header-tag-name",
|
40122
|
-
"reflects": true
|
40123
|
-
},
|
40124
|
-
{
|
40125
|
-
"kind": "field",
|
40126
|
-
"name": "ariaLabel",
|
40127
|
-
"type": {
|
40128
|
-
"text": "string | null"
|
40129
|
-
},
|
40130
|
-
"default": "null",
|
40131
|
-
"description": "Defines aria-label attribute when header is not used",
|
40132
|
-
"attribute": "aria-label",
|
40133
|
-
"reflects": true
|
40134
|
-
},
|
40135
|
-
{
|
40136
|
-
"kind": "field",
|
40137
|
-
"name": "showMoreText",
|
40138
|
-
"type": {
|
40139
|
-
"text": "string | undefined"
|
40140
|
-
},
|
40141
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
40142
|
-
"attribute": "show-more-text",
|
40143
|
-
"reflects": true
|
40144
|
-
},
|
40145
|
-
{
|
40146
|
-
"kind": "field",
|
40147
|
-
"name": "showLessText",
|
40148
|
-
"type": {
|
40149
|
-
"text": "string | undefined"
|
40150
|
-
},
|
40151
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
40152
|
-
"attribute": "show-less-text",
|
40153
|
-
"reflects": true
|
40154
|
-
},
|
40155
|
-
{
|
40156
|
-
"kind": "field",
|
40157
|
-
"name": "isDetailVisible",
|
40158
|
-
"type": {
|
40159
|
-
"text": "boolean"
|
40160
|
-
},
|
40161
|
-
"privacy": "private",
|
40162
|
-
"default": "false"
|
40163
|
-
},
|
40164
|
-
{
|
40165
|
-
"kind": "field",
|
40166
|
-
"name": "hasDetailedSlot",
|
40167
|
-
"type": {
|
40168
|
-
"text": "boolean"
|
40169
|
-
},
|
40170
|
-
"privacy": "private",
|
40171
|
-
"default": "false"
|
40172
|
-
},
|
40173
|
-
{
|
40174
|
-
"kind": "field",
|
40175
|
-
"name": "detailedElements",
|
40176
|
-
"type": {
|
40177
|
-
"text": "HTMLElement[]"
|
40178
|
-
},
|
40179
|
-
"privacy": "private"
|
40180
|
-
},
|
40181
|
-
{
|
40182
|
-
"kind": "field",
|
40183
|
-
"name": "hasFooterButtons",
|
40184
|
-
"type": {
|
40185
|
-
"text": "string"
|
40186
|
-
},
|
40187
|
-
"privacy": "private",
|
40188
|
-
"default": "''"
|
40189
|
-
},
|
40190
|
-
{
|
40191
|
-
"kind": "method",
|
40192
|
-
"name": "closeToast",
|
40193
|
-
"privacy": "private",
|
40194
|
-
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
40195
|
-
},
|
40196
|
-
{
|
40197
|
-
"kind": "method",
|
40198
|
-
"name": "toggleDetailVisibility",
|
40199
|
-
"privacy": "private"
|
40200
|
-
},
|
40201
|
-
{
|
40202
|
-
"kind": "method",
|
40203
|
-
"name": "updateDetailedSlotPresence",
|
40204
|
-
"privacy": "private"
|
40205
|
-
},
|
40206
|
-
{
|
40207
|
-
"kind": "method",
|
40208
|
-
"name": "updateFooterButtonsPresence",
|
40209
|
-
"privacy": "private"
|
40210
|
-
},
|
40211
|
-
{
|
40212
|
-
"kind": "method",
|
40213
|
-
"name": "renderIcon",
|
40214
|
-
"privacy": "protected",
|
40215
|
-
"parameters": [
|
40216
|
-
{
|
40217
|
-
"name": "iconName",
|
40218
|
-
"type": {
|
40219
|
-
"text": "string"
|
40220
|
-
}
|
40221
|
-
}
|
40222
|
-
]
|
40223
|
-
},
|
40224
|
-
{
|
40225
|
-
"kind": "method",
|
40226
|
-
"name": "shouldRenderToggleButton",
|
40227
|
-
"privacy": "private"
|
40228
|
-
},
|
40229
|
-
{
|
40230
|
-
"kind": "method",
|
40231
|
-
"name": "renderToggleDetailButton",
|
40232
|
-
"privacy": "private"
|
40233
|
-
},
|
40234
|
-
{
|
40235
|
-
"kind": "method",
|
40236
|
-
"name": "renderHeader",
|
40237
|
-
"privacy": "protected"
|
40238
|
-
},
|
40239
|
-
{
|
40240
|
-
"kind": "method",
|
40241
|
-
"name": "handleFooterSlot",
|
40242
|
-
"privacy": "protected",
|
40243
|
-
"return": {
|
40244
|
-
"type": {
|
40245
|
-
"text": "void"
|
40246
|
-
}
|
40247
|
-
},
|
40248
|
-
"parameters": [
|
40249
|
-
{
|
40250
|
-
"name": "tagname",
|
40251
|
-
"type": {
|
40252
|
-
"text": "string"
|
40253
|
-
}
|
40254
|
-
},
|
40255
|
-
{
|
40256
|
-
"name": "variant",
|
40257
|
-
"optional": true,
|
40258
|
-
"type": {
|
40259
|
-
"text": "string | undefined"
|
40260
|
-
}
|
40261
|
-
}
|
40262
|
-
]
|
40263
|
-
},
|
40264
|
-
{
|
40265
|
-
"kind": "method",
|
40266
|
-
"name": "renderFooter",
|
40267
|
-
"privacy": "protected",
|
40268
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
40269
|
-
"return": {
|
40270
|
-
"type": {
|
40271
|
-
"text": ""
|
40272
|
-
}
|
40273
|
-
},
|
40274
|
-
"inheritedFrom": {
|
40275
|
-
"name": "FooterMixin",
|
40276
|
-
"module": "utils/mixins/FooterMixin.js"
|
40277
|
-
}
|
40278
|
-
}
|
40279
|
-
],
|
40280
|
-
"events": [
|
40281
|
-
{
|
40282
|
-
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
40283
|
-
"name": "close",
|
40284
|
-
"reactName": "onClose"
|
40285
|
-
}
|
40286
|
-
],
|
40287
|
-
"attributes": [
|
40288
|
-
{
|
40289
|
-
"name": "variant",
|
40290
|
-
"type": {
|
40291
|
-
"text": "ToastVariant"
|
40292
|
-
},
|
40293
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
|
40294
|
-
"default": "'custom'",
|
40295
|
-
"fieldName": "variant"
|
40296
|
-
},
|
40297
|
-
{
|
40298
|
-
"name": "close-button-aria-label",
|
40299
|
-
"type": {
|
40300
|
-
"text": "string | undefined"
|
40301
|
-
},
|
40302
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
40303
|
-
"fieldName": "closeButtonAriaLabel"
|
40304
|
-
},
|
40305
|
-
{
|
40306
|
-
"name": "header-text",
|
40307
|
-
"type": {
|
40308
|
-
"text": "string | undefined"
|
40309
|
-
},
|
40310
|
-
"description": "Defines a string value to display as the title of the toast",
|
40311
|
-
"fieldName": "headerText"
|
40312
|
-
},
|
40313
|
-
{
|
40314
|
-
"name": "header-tag-name",
|
40315
|
-
"type": {
|
40316
|
-
"text": "TagName"
|
40317
|
-
},
|
40318
|
-
"description": "The html tag to be used for the header text",
|
40319
|
-
"default": "'h2'",
|
40320
|
-
"fieldName": "headerTagName"
|
40321
|
-
},
|
40322
|
-
{
|
40323
|
-
"name": "aria-label",
|
40324
|
-
"type": {
|
40325
|
-
"text": "string | null"
|
40326
|
-
},
|
40327
|
-
"default": "null",
|
40328
|
-
"description": "Defines aria-label attribute when header is not used",
|
40329
|
-
"fieldName": "ariaLabel"
|
40330
|
-
},
|
40331
|
-
{
|
40332
|
-
"name": "show-more-text",
|
40333
|
-
"type": {
|
40334
|
-
"text": "string | undefined"
|
40335
|
-
},
|
40336
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
40337
|
-
"fieldName": "showMoreText"
|
40327
|
+
"description": "The maximum width of the tooltip.",
|
40328
|
+
"name": "--mdc-tooltip-max-width"
|
40338
40329
|
},
|
40339
40330
|
{
|
40340
|
-
"
|
40341
|
-
"
|
40342
|
-
"text": "string | undefined"
|
40343
|
-
},
|
40344
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
40345
|
-
"fieldName": "showLessText"
|
40346
|
-
}
|
40347
|
-
],
|
40348
|
-
"mixins": [
|
40349
|
-
{
|
40350
|
-
"name": "FooterMixin",
|
40351
|
-
"module": "/src/utils/mixins/FooterMixin"
|
40352
|
-
}
|
40353
|
-
],
|
40354
|
-
"superclass": {
|
40355
|
-
"name": "Component",
|
40356
|
-
"module": "/src/models"
|
40357
|
-
},
|
40358
|
-
"tagName": "mdc-toast",
|
40359
|
-
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-linkbutton\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
40360
|
-
"customElement": true
|
40361
|
-
}
|
40362
|
-
],
|
40363
|
-
"exports": [
|
40364
|
-
{
|
40365
|
-
"kind": "js",
|
40366
|
-
"name": "default",
|
40367
|
-
"declaration": {
|
40368
|
-
"name": "Toast",
|
40369
|
-
"module": "components/toast/toast.component.js"
|
40370
|
-
}
|
40371
|
-
}
|
40372
|
-
]
|
40373
|
-
},
|
40374
|
-
{
|
40375
|
-
"kind": "javascript-module",
|
40376
|
-
"path": "components/toggletip/toggletip.component.js",
|
40377
|
-
"declarations": [
|
40378
|
-
{
|
40379
|
-
"kind": "class",
|
40380
|
-
"description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
40381
|
-
"name": "ToggleTip",
|
40382
|
-
"cssProperties": [
|
40383
|
-
{
|
40384
|
-
"description": "The maximum width of the toggletip.",
|
40385
|
-
"name": "--mdc-toggletip-max-width"
|
40331
|
+
"description": "The padding of the tooltip.",
|
40332
|
+
"name": "--mdc-tooltip-padding"
|
40386
40333
|
},
|
40387
40334
|
{
|
40388
|
-
"description": "The text color of the
|
40389
|
-
"name": "--mdc-
|
40335
|
+
"description": "The text color of the tooltip.",
|
40336
|
+
"name": "--mdc-tooltip-text-color"
|
40390
40337
|
},
|
40391
40338
|
{
|
40392
|
-
"description": "The text color of the
|
40393
|
-
"name": "--mdc-
|
40339
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
40340
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
40394
40341
|
},
|
40395
40342
|
{
|
40396
40343
|
"description": "radius of the arrow border",
|
@@ -40473,53 +40420,29 @@
|
|
40473
40420
|
}
|
40474
40421
|
}
|
40475
40422
|
],
|
40476
|
-
"slots": [
|
40477
|
-
{
|
40478
|
-
"description": "Default slot for the toggletip content",
|
40479
|
-
"name": "",
|
40480
|
-
"inheritedFrom": {
|
40481
|
-
"name": "Popover",
|
40482
|
-
"module": "src/components/popover/popover.component.ts"
|
40483
|
-
}
|
40484
|
-
}
|
40485
|
-
],
|
40486
40423
|
"members": [
|
40487
40424
|
{
|
40488
40425
|
"kind": "field",
|
40489
|
-
"name": "
|
40490
|
-
"type": {
|
40491
|
-
"text": "Array<Node>"
|
40492
|
-
},
|
40493
|
-
"privacy": "private"
|
40494
|
-
},
|
40495
|
-
{
|
40496
|
-
"kind": "field",
|
40497
|
-
"name": "screenreaderAnnouncerIdentity",
|
40426
|
+
"name": "tooltipType",
|
40498
40427
|
"type": {
|
40499
|
-
"text": "
|
40428
|
+
"text": "TooltipType"
|
40500
40429
|
},
|
40501
|
-
"description": "
|
40502
|
-
"
|
40430
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
40431
|
+
"default": "'description'",
|
40432
|
+
"attribute": "tooltip-type",
|
40503
40433
|
"reflects": true
|
40504
40434
|
},
|
40505
40435
|
{
|
40506
40436
|
"kind": "field",
|
40507
|
-
"name": "
|
40437
|
+
"name": "defaultSlotNodes",
|
40508
40438
|
"type": {
|
40509
|
-
"text": "
|
40439
|
+
"text": "Array<Node>"
|
40510
40440
|
},
|
40511
|
-
"
|
40512
|
-
"default": "bottom",
|
40513
|
-
"attribute": "placement",
|
40514
|
-
"reflects": true,
|
40515
|
-
"inheritedFrom": {
|
40516
|
-
"name": "Popover",
|
40517
|
-
"module": "components/popover/popover.component.js"
|
40518
|
-
}
|
40441
|
+
"privacy": "private"
|
40519
40442
|
},
|
40520
40443
|
{
|
40521
40444
|
"kind": "method",
|
40522
|
-
"name": "
|
40445
|
+
"name": "getTooltipText",
|
40523
40446
|
"privacy": "private",
|
40524
40447
|
"return": {
|
40525
40448
|
"type": {
|
@@ -40527,6 +40450,37 @@
|
|
40527
40450
|
}
|
40528
40451
|
}
|
40529
40452
|
},
|
40453
|
+
{
|
40454
|
+
"kind": "method",
|
40455
|
+
"name": "setTooltipType",
|
40456
|
+
"privacy": "private",
|
40457
|
+
"return": {
|
40458
|
+
"type": {
|
40459
|
+
"text": "void"
|
40460
|
+
}
|
40461
|
+
},
|
40462
|
+
"parameters": [
|
40463
|
+
{
|
40464
|
+
"name": "type",
|
40465
|
+
"type": {
|
40466
|
+
"text": "TooltipType"
|
40467
|
+
},
|
40468
|
+
"description": "The type to set."
|
40469
|
+
}
|
40470
|
+
],
|
40471
|
+
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
40472
|
+
},
|
40473
|
+
{
|
40474
|
+
"kind": "method",
|
40475
|
+
"name": "onIdUpdated",
|
40476
|
+
"privacy": "private",
|
40477
|
+
"return": {
|
40478
|
+
"type": {
|
40479
|
+
"text": "Promise<void>"
|
40480
|
+
}
|
40481
|
+
},
|
40482
|
+
"description": "Updates the tooltip id if it is empty."
|
40483
|
+
},
|
40530
40484
|
{
|
40531
40485
|
"kind": "method",
|
40532
40486
|
"name": "onPlacementUpdated",
|
@@ -40536,7 +40490,27 @@
|
|
40536
40490
|
"text": "void"
|
40537
40491
|
}
|
40538
40492
|
},
|
40539
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
40493
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
40494
|
+
},
|
40495
|
+
{
|
40496
|
+
"kind": "method",
|
40497
|
+
"name": "onTooltipTypeUpdated",
|
40498
|
+
"privacy": "private",
|
40499
|
+
"return": {
|
40500
|
+
"type": {
|
40501
|
+
"text": "void"
|
40502
|
+
}
|
40503
|
+
},
|
40504
|
+
"parameters": [
|
40505
|
+
{
|
40506
|
+
"name": "changedProperties",
|
40507
|
+
"type": {
|
40508
|
+
"text": "PropertyValues"
|
40509
|
+
},
|
40510
|
+
"description": "The changed properties."
|
40511
|
+
}
|
40512
|
+
],
|
40513
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
40540
40514
|
},
|
40541
40515
|
{
|
40542
40516
|
"kind": "field",
|
@@ -41144,6 +41118,21 @@
|
|
41144
41118
|
"module": "components/popover/popover.component.js"
|
41145
41119
|
}
|
41146
41120
|
},
|
41121
|
+
{
|
41122
|
+
"kind": "field",
|
41123
|
+
"name": "placement",
|
41124
|
+
"type": {
|
41125
|
+
"text": "PopoverPlacement"
|
41126
|
+
},
|
41127
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
41128
|
+
"default": "bottom",
|
41129
|
+
"attribute": "placement",
|
41130
|
+
"reflects": true,
|
41131
|
+
"inheritedFrom": {
|
41132
|
+
"name": "Popover",
|
41133
|
+
"module": "components/popover/popover.component.js"
|
41134
|
+
}
|
41135
|
+
},
|
41147
41136
|
{
|
41148
41137
|
"kind": "field",
|
41149
41138
|
"name": "color",
|
@@ -41863,7 +41852,7 @@
|
|
41863
41852
|
],
|
41864
41853
|
"events": [
|
41865
41854
|
{
|
41866
|
-
"description": "(React: onShown) This event is dispatched when the
|
41855
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
41867
41856
|
"name": "shown",
|
41868
41857
|
"reactName": "onShown",
|
41869
41858
|
"inheritedFrom": {
|
@@ -41872,7 +41861,7 @@
|
|
41872
41861
|
}
|
41873
41862
|
},
|
41874
41863
|
{
|
41875
|
-
"description": "(React: onHidden) This event is dispatched when the
|
41864
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
41876
41865
|
"name": "hidden",
|
41877
41866
|
"reactName": "onHidden",
|
41878
41867
|
"inheritedFrom": {
|
@@ -41881,7 +41870,7 @@
|
|
41881
41870
|
}
|
41882
41871
|
},
|
41883
41872
|
{
|
41884
|
-
"description": "(React: onCreated) This event is dispatched when the
|
41873
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
41885
41874
|
"name": "created",
|
41886
41875
|
"reactName": "onCreated",
|
41887
41876
|
"inheritedFrom": {
|
@@ -41890,7 +41879,7 @@
|
|
41890
41879
|
}
|
41891
41880
|
},
|
41892
41881
|
{
|
41893
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
41882
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
41894
41883
|
"name": "destroyed",
|
41895
41884
|
"reactName": "onDestroyed",
|
41896
41885
|
"inheritedFrom": {
|
@@ -41901,25 +41890,13 @@
|
|
41901
41890
|
],
|
41902
41891
|
"attributes": [
|
41903
41892
|
{
|
41904
|
-
"name": "
|
41905
|
-
"type": {
|
41906
|
-
"text": "string | undefined"
|
41907
|
-
},
|
41908
|
-
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
41909
|
-
"fieldName": "screenreaderAnnouncerIdentity"
|
41910
|
-
},
|
41911
|
-
{
|
41912
|
-
"name": "placement",
|
41893
|
+
"name": "tooltip-type",
|
41913
41894
|
"type": {
|
41914
|
-
"text": "
|
41895
|
+
"text": "TooltipType"
|
41915
41896
|
},
|
41916
|
-
"description": "The
|
41917
|
-
"default": "
|
41918
|
-
"fieldName": "
|
41919
|
-
"inheritedFrom": {
|
41920
|
-
"name": "Popover",
|
41921
|
-
"module": "src/components/popover/popover.component.ts"
|
41922
|
-
}
|
41897
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41898
|
+
"default": "'description'",
|
41899
|
+
"fieldName": "tooltipType"
|
41923
41900
|
},
|
41924
41901
|
{
|
41925
41902
|
"name": "should-focus-trap-wrap",
|
@@ -41973,6 +41950,19 @@
|
|
41973
41950
|
"module": "src/components/popover/popover.component.ts"
|
41974
41951
|
}
|
41975
41952
|
},
|
41953
|
+
{
|
41954
|
+
"name": "placement",
|
41955
|
+
"type": {
|
41956
|
+
"text": "PopoverPlacement"
|
41957
|
+
},
|
41958
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
41959
|
+
"default": "bottom",
|
41960
|
+
"fieldName": "placement",
|
41961
|
+
"inheritedFrom": {
|
41962
|
+
"name": "Popover",
|
41963
|
+
"module": "src/components/popover/popover.component.ts"
|
41964
|
+
}
|
41965
|
+
},
|
41976
41966
|
{
|
41977
41967
|
"name": "color",
|
41978
41968
|
"type": {
|
@@ -42393,9 +42383,19 @@
|
|
42393
42383
|
"name": "Popover",
|
42394
42384
|
"module": "/src/components/popover/popover.component"
|
42395
42385
|
},
|
42396
|
-
"tagName": "mdc-
|
42397
|
-
"jsDoc": "/**\n * A
|
42398
|
-
"customElement": true
|
42386
|
+
"tagName": "mdc-tooltip",
|
42387
|
+
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
42388
|
+
"customElement": true,
|
42389
|
+
"slots": [
|
42390
|
+
{
|
42391
|
+
"description": "Default slot for the popover content",
|
42392
|
+
"name": "",
|
42393
|
+
"inheritedFrom": {
|
42394
|
+
"name": "Popover",
|
42395
|
+
"module": "src/components/popover/popover.component.ts"
|
42396
|
+
}
|
42397
|
+
}
|
42398
|
+
]
|
42399
42399
|
}
|
42400
42400
|
],
|
42401
42401
|
"exports": [
|
@@ -42403,8 +42403,8 @@
|
|
42403
42403
|
"kind": "js",
|
42404
42404
|
"name": "default",
|
42405
42405
|
"declaration": {
|
42406
|
-
"name": "
|
42407
|
-
"module": "components/
|
42406
|
+
"name": "Tooltip",
|
42407
|
+
"module": "components/tooltip/tooltip.component.js"
|
42408
42408
|
}
|
42409
42409
|
}
|
42410
42410
|
]
|