@momentum-design/components 0.105.2 → 0.105.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/browser/index.js +236 -241
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/buttonsimple/buttonsimple.component.d.ts +1 -1
  4. package/dist/components/buttonsimple/buttonsimple.component.js +2 -2
  5. package/dist/components/checkbox/checkbox.component.d.ts +3 -2
  6. package/dist/components/checkbox/checkbox.component.js +11 -2
  7. package/dist/components/input/input.component.d.ts +3 -7
  8. package/dist/components/input/input.component.js +11 -11
  9. package/dist/components/radio/radio.component.d.ts +3 -9
  10. package/dist/components/radio/radio.component.js +10 -12
  11. package/dist/components/searchfield/searchfield.component.d.ts +2 -2
  12. package/dist/components/searchfield/searchfield.component.js +2 -1
  13. package/dist/components/select/select.component.d.ts +3 -3
  14. package/dist/components/select/select.component.js +10 -3
  15. package/dist/components/textarea/textarea.component.d.ts +2 -6
  16. package/dist/components/textarea/textarea.component.js +11 -11
  17. package/dist/components/toggle/toggle.component.d.ts +2 -7
  18. package/dist/components/toggle/toggle.component.js +11 -12
  19. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +5 -8
  20. package/dist/components/virtualizedlist/virtualizedlist.component.js +10 -7
  21. package/dist/components/virtualizedlist/virtualizedlist.helper.test.js +1 -1
  22. package/dist/components/virtualizedlist/virtualizedlist.types.d.ts +3 -2
  23. package/dist/custom-elements.json +1056 -897
  24. package/dist/index.d.ts +2 -1
  25. package/dist/react/index.d.ts +4 -4
  26. package/dist/react/index.js +4 -4
  27. package/dist/react/virtualizedlist/index.d.ts +2 -2
  28. package/dist/react/virtualizedlist/index.js +2 -2
  29. package/dist/utils/mixins/AutoFocusOnMountMixin.d.ts +7 -0
  30. package/dist/utils/mixins/{AutoFocusMixin.js → AutoFocusOnMountMixin.js} +17 -8
  31. package/dist/utils/mixins/FormInternalsMixin.d.ts +0 -1
  32. package/package.json +1 -1
  33. package/dist/utils/mixins/AutoFocusMixin.d.ts +0 -6
@@ -1027,17 +1027,17 @@
1027
1027
  },
1028
1028
  {
1029
1029
  "kind": "field",
1030
- "name": "autofocus",
1030
+ "name": "autoFocusOnMount",
1031
1031
  "type": {
1032
1032
  "text": "boolean"
1033
1033
  },
1034
1034
  "default": "false",
1035
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
1036
- "attribute": "autofocus",
1035
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
1036
+ "attribute": "auto-focus-on-mount",
1037
1037
  "reflects": true,
1038
1038
  "inheritedFrom": {
1039
- "name": "AutoFocusMixin",
1040
- "module": "utils/mixins/AutoFocusMixin.js"
1039
+ "name": "AutoFocusOnMountMixin",
1040
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
1041
1041
  }
1042
1042
  },
1043
1043
  {
@@ -1327,16 +1327,16 @@
1327
1327
  "fieldName": "label"
1328
1328
  },
1329
1329
  {
1330
- "name": "autofocus",
1330
+ "name": "auto-focus-on-mount",
1331
1331
  "type": {
1332
1332
  "text": "boolean"
1333
1333
  },
1334
1334
  "default": "false",
1335
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
1336
- "fieldName": "autofocus",
1335
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
1336
+ "fieldName": "autoFocusOnMount",
1337
1337
  "inheritedFrom": {
1338
- "name": "AutoFocusMixin",
1339
- "module": "src/utils/mixins/AutoFocusMixin.ts"
1338
+ "name": "AutoFocusOnMountMixin",
1339
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
1340
1340
  }
1341
1341
  },
1342
1342
  {
@@ -1775,6 +1775,272 @@
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
+ },
1778
2044
  {
1779
2045
  "kind": "javascript-module",
1780
2046
  "path": "components/avatarbutton/avatarbutton.component.js",
@@ -1943,17 +2209,17 @@
1943
2209
  },
1944
2210
  {
1945
2211
  "kind": "field",
1946
- "name": "autofocus",
2212
+ "name": "autoFocusOnMount",
1947
2213
  "type": {
1948
2214
  "text": "boolean"
1949
2215
  },
1950
2216
  "default": "false",
1951
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
1952
- "attribute": "autofocus",
2217
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
2218
+ "attribute": "auto-focus-on-mount",
1953
2219
  "reflects": true,
1954
2220
  "inheritedFrom": {
1955
- "name": "AutoFocusMixin",
1956
- "module": "utils/mixins/AutoFocusMixin.js"
2221
+ "name": "AutoFocusOnMountMixin",
2222
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
1957
2223
  }
1958
2224
  },
1959
2225
  {
@@ -2343,16 +2609,16 @@
2343
2609
  }
2344
2610
  },
2345
2611
  {
2346
- "name": "autofocus",
2612
+ "name": "auto-focus-on-mount",
2347
2613
  "type": {
2348
2614
  "text": "boolean"
2349
2615
  },
2350
2616
  "default": "false",
2351
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
2352
- "fieldName": "autofocus",
2617
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
2618
+ "fieldName": "autoFocusOnMount",
2353
2619
  "inheritedFrom": {
2354
- "name": "AutoFocusMixin",
2355
- "module": "src/utils/mixins/AutoFocusMixin.ts"
2620
+ "name": "AutoFocusOnMountMixin",
2621
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
2356
2622
  }
2357
2623
  },
2358
2624
  {
@@ -2477,272 +2743,6 @@
2477
2743
  }
2478
2744
  ]
2479
2745
  },
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",
@@ -3464,17 +3464,17 @@
3464
3464
  },
3465
3465
  {
3466
3466
  "kind": "field",
3467
- "name": "autofocus",
3467
+ "name": "autoFocusOnMount",
3468
3468
  "type": {
3469
3469
  "text": "boolean"
3470
3470
  },
3471
3471
  "default": "false",
3472
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3473
- "attribute": "autofocus",
3472
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
3473
+ "attribute": "auto-focus-on-mount",
3474
3474
  "reflects": true,
3475
3475
  "inheritedFrom": {
3476
- "name": "AutoFocusMixin",
3477
- "module": "utils/mixins/AutoFocusMixin.js"
3476
+ "name": "AutoFocusOnMountMixin",
3477
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
3478
3478
  }
3479
3479
  },
3480
3480
  {
@@ -3801,16 +3801,16 @@
3801
3801
  }
3802
3802
  },
3803
3803
  {
3804
- "name": "autofocus",
3804
+ "name": "auto-focus-on-mount",
3805
3805
  "type": {
3806
3806
  "text": "boolean"
3807
3807
  },
3808
3808
  "default": "false",
3809
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3810
- "fieldName": "autofocus",
3809
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
3810
+ "fieldName": "autoFocusOnMount",
3811
3811
  "inheritedFrom": {
3812
- "name": "AutoFocusMixin",
3813
- "module": "src/utils/mixins/AutoFocusMixin.ts"
3812
+ "name": "AutoFocusOnMountMixin",
3813
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
3814
3814
  }
3815
3815
  },
3816
3816
  {
@@ -4906,17 +4906,17 @@
4906
4906
  },
4907
4907
  {
4908
4908
  "kind": "field",
4909
- "name": "autofocus",
4909
+ "name": "autoFocusOnMount",
4910
4910
  "type": {
4911
4911
  "text": "boolean"
4912
4912
  },
4913
4913
  "default": "false",
4914
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4915
- "attribute": "autofocus",
4914
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
4915
+ "attribute": "auto-focus-on-mount",
4916
4916
  "reflects": true,
4917
4917
  "inheritedFrom": {
4918
- "name": "AutoFocusMixin",
4919
- "module": "utils/mixins/AutoFocusMixin.js"
4918
+ "name": "AutoFocusOnMountMixin",
4919
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
4920
4920
  }
4921
4921
  },
4922
4922
  {
@@ -5028,16 +5028,16 @@
5028
5028
  "fieldName": "type"
5029
5029
  },
5030
5030
  {
5031
- "name": "autofocus",
5031
+ "name": "auto-focus-on-mount",
5032
5032
  "type": {
5033
5033
  "text": "boolean"
5034
5034
  },
5035
5035
  "default": "false",
5036
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5037
- "fieldName": "autofocus",
5036
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
5037
+ "fieldName": "autoFocusOnMount",
5038
5038
  "inheritedFrom": {
5039
- "name": "AutoFocusMixin",
5040
- "module": "src/utils/mixins/AutoFocusMixin.ts"
5039
+ "name": "AutoFocusOnMountMixin",
5040
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
5041
5041
  }
5042
5042
  },
5043
5043
  {
@@ -5069,8 +5069,8 @@
5069
5069
  ],
5070
5070
  "mixins": [
5071
5071
  {
5072
- "name": "AutoFocusMixin",
5073
- "module": "/src/utils/mixins/AutoFocusMixin"
5072
+ "name": "AutoFocusOnMountMixin",
5073
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
5074
5074
  },
5075
5075
  {
5076
5076
  "name": "TabIndexMixin",
@@ -5813,13 +5813,13 @@
5813
5813
  },
5814
5814
  {
5815
5815
  "kind": "field",
5816
- "name": "autofocus",
5816
+ "name": "autoFocusOnMount",
5817
5817
  "type": {
5818
5818
  "text": "boolean"
5819
5819
  },
5820
5820
  "default": "false",
5821
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5822
- "attribute": "autofocus",
5821
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
5822
+ "attribute": "auto-focus-on-mount",
5823
5823
  "reflects": true,
5824
5824
  "inheritedFrom": {
5825
5825
  "name": "Buttonsimple",
@@ -6262,13 +6262,13 @@
6262
6262
  }
6263
6263
  },
6264
6264
  {
6265
- "name": "autofocus",
6265
+ "name": "auto-focus-on-mount",
6266
6266
  "type": {
6267
6267
  "text": "boolean"
6268
6268
  },
6269
6269
  "default": "false",
6270
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
6271
- "fieldName": "autofocus",
6270
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6271
+ "fieldName": "autoFocusOnMount",
6272
6272
  "inheritedFrom": {
6273
6273
  "name": "Buttonsimple",
6274
6274
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
@@ -7972,6 +7972,21 @@
7972
7972
  "name": "renderLabelAndHelperText",
7973
7973
  "privacy": "private"
7974
7974
  },
7975
+ {
7976
+ "kind": "field",
7977
+ "name": "autoFocusOnMount",
7978
+ "type": {
7979
+ "text": "boolean"
7980
+ },
7981
+ "default": "false",
7982
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7983
+ "attribute": "auto-focus-on-mount",
7984
+ "reflects": true,
7985
+ "inheritedFrom": {
7986
+ "name": "AutoFocusOnMountMixin",
7987
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
7988
+ }
7989
+ },
7975
7990
  {
7976
7991
  "kind": "field",
7977
7992
  "name": "name",
@@ -8323,6 +8338,19 @@
8323
8338
  "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
8324
8339
  "fieldName": "autofocus"
8325
8340
  },
8341
+ {
8342
+ "name": "auto-focus-on-mount",
8343
+ "type": {
8344
+ "text": "boolean"
8345
+ },
8346
+ "default": "false",
8347
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8348
+ "fieldName": "autoFocusOnMount",
8349
+ "inheritedFrom": {
8350
+ "name": "AutoFocusOnMountMixin",
8351
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
8352
+ }
8353
+ },
8326
8354
  {
8327
8355
  "name": "name",
8328
8356
  "type": {
@@ -8475,6 +8503,10 @@
8475
8503
  }
8476
8504
  ],
8477
8505
  "mixins": [
8506
+ {
8507
+ "name": "AutoFocusOnMountMixin",
8508
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
8509
+ },
8478
8510
  {
8479
8511
  "name": "FormInternalsMixin",
8480
8512
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -8574,13 +8606,13 @@
8574
8606
  },
8575
8607
  {
8576
8608
  "kind": "field",
8577
- "name": "autofocus",
8609
+ "name": "autoFocusOnMount",
8578
8610
  "type": {
8579
8611
  "text": "boolean"
8580
8612
  },
8581
8613
  "default": "false",
8582
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
8583
- "attribute": "autofocus",
8614
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8615
+ "attribute": "auto-focus-on-mount",
8584
8616
  "reflects": true,
8585
8617
  "inheritedFrom": {
8586
8618
  "name": "Buttonsimple",
@@ -8886,13 +8918,13 @@
8886
8918
  }
8887
8919
  },
8888
8920
  {
8889
- "name": "autofocus",
8921
+ "name": "auto-focus-on-mount",
8890
8922
  "type": {
8891
8923
  "text": "boolean"
8892
8924
  },
8893
8925
  "default": "false",
8894
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
8895
- "fieldName": "autofocus",
8926
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8927
+ "fieldName": "autoFocusOnMount",
8896
8928
  "inheritedFrom": {
8897
8929
  "name": "Buttonsimple",
8898
8930
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
@@ -12513,13 +12545,13 @@
12513
12545
  },
12514
12546
  {
12515
12547
  "kind": "field",
12516
- "name": "autofocus",
12548
+ "name": "autoFocusOnMount",
12517
12549
  "type": {
12518
12550
  "text": "boolean"
12519
12551
  },
12520
12552
  "default": "false",
12521
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
12522
- "attribute": "autofocus",
12553
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
12554
+ "attribute": "auto-focus-on-mount",
12523
12555
  "reflects": true,
12524
12556
  "inheritedFrom": {
12525
12557
  "name": "Buttonsimple",
@@ -12833,13 +12865,13 @@
12833
12865
  }
12834
12866
  },
12835
12867
  {
12836
- "name": "autofocus",
12868
+ "name": "auto-focus-on-mount",
12837
12869
  "type": {
12838
12870
  "text": "boolean"
12839
12871
  },
12840
12872
  "default": "false",
12841
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
12842
- "fieldName": "autofocus",
12873
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
12874
+ "fieldName": "autoFocusOnMount",
12843
12875
  "inheritedFrom": {
12844
12876
  "name": "Buttonsimple",
12845
12877
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
@@ -14251,16 +14283,6 @@
14251
14283
  "default": "'off'",
14252
14284
  "attribute": "autocomplete"
14253
14285
  },
14254
- {
14255
- "kind": "field",
14256
- "name": "autofocus",
14257
- "type": {
14258
- "text": "boolean"
14259
- },
14260
- "default": "false",
14261
- "description": "If true, the input field is focused when the component is rendered.",
14262
- "attribute": "autofocus"
14263
- },
14264
14286
  {
14265
14287
  "kind": "field",
14266
14288
  "name": "dirname",
@@ -14422,6 +14444,21 @@
14422
14444
  }
14423
14445
  ]
14424
14446
  },
14447
+ {
14448
+ "kind": "field",
14449
+ "name": "autoFocusOnMount",
14450
+ "type": {
14451
+ "text": "boolean"
14452
+ },
14453
+ "default": "false",
14454
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
14455
+ "attribute": "auto-focus-on-mount",
14456
+ "reflects": true,
14457
+ "inheritedFrom": {
14458
+ "name": "AutoFocusOnMountMixin",
14459
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
14460
+ }
14461
+ },
14425
14462
  {
14426
14463
  "kind": "field",
14427
14464
  "name": "name",
@@ -14841,15 +14878,6 @@
14841
14878
  "default": "'off'",
14842
14879
  "fieldName": "autocomplete"
14843
14880
  },
14844
- {
14845
- "name": "autofocus",
14846
- "type": {
14847
- "text": "boolean"
14848
- },
14849
- "default": "false",
14850
- "description": "If true, the input field is focused when the component is rendered.",
14851
- "fieldName": "autofocus"
14852
- },
14853
14881
  {
14854
14882
  "name": "dirname",
14855
14883
  "type": {
@@ -14892,6 +14920,19 @@
14892
14920
  "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
14893
14921
  "fieldName": "clearAriaLabel"
14894
14922
  },
14923
+ {
14924
+ "name": "auto-focus-on-mount",
14925
+ "type": {
14926
+ "text": "boolean"
14927
+ },
14928
+ "default": "false",
14929
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
14930
+ "fieldName": "autoFocusOnMount",
14931
+ "inheritedFrom": {
14932
+ "name": "AutoFocusOnMountMixin",
14933
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
14934
+ }
14935
+ },
14895
14936
  {
14896
14937
  "name": "name",
14897
14938
  "type": {
@@ -15044,6 +15085,10 @@
15044
15085
  }
15045
15086
  ],
15046
15087
  "mixins": [
15088
+ {
15089
+ "name": "AutoFocusOnMountMixin",
15090
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
15091
+ },
15047
15092
  {
15048
15093
  "name": "FormInternalsMixin",
15049
15094
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -15833,13 +15878,13 @@
15833
15878
  },
15834
15879
  {
15835
15880
  "kind": "field",
15836
- "name": "autofocus",
15881
+ "name": "autoFocusOnMount",
15837
15882
  "type": {
15838
15883
  "text": "boolean"
15839
15884
  },
15840
15885
  "default": "false",
15841
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
15842
- "attribute": "autofocus",
15886
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
15887
+ "attribute": "auto-focus-on-mount",
15843
15888
  "reflects": true,
15844
15889
  "inheritedFrom": {
15845
15890
  "name": "Buttonsimple",
@@ -16181,13 +16226,13 @@
16181
16226
  }
16182
16227
  },
16183
16228
  {
16184
- "name": "autofocus",
16229
+ "name": "auto-focus-on-mount",
16185
16230
  "type": {
16186
16231
  "text": "boolean"
16187
16232
  },
16188
16233
  "default": "false",
16189
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
16190
- "fieldName": "autofocus",
16234
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
16235
+ "fieldName": "autoFocusOnMount",
16191
16236
  "inheritedFrom": {
16192
16237
  "name": "Buttonsimple",
16193
16238
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
@@ -25906,6 +25951,21 @@
25906
25951
  "module": "components/input/input.component.js"
25907
25952
  }
25908
25953
  },
25954
+ {
25955
+ "kind": "field",
25956
+ "name": "autoFocusOnMount",
25957
+ "type": {
25958
+ "text": "boolean"
25959
+ },
25960
+ "default": "false",
25961
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
25962
+ "attribute": "auto-focus-on-mount",
25963
+ "reflects": true,
25964
+ "inheritedFrom": {
25965
+ "name": "AutoFocusOnMountMixin",
25966
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
25967
+ }
25968
+ },
25909
25969
  {
25910
25970
  "kind": "field",
25911
25971
  "name": "name",
@@ -26143,20 +26203,6 @@
26143
26203
  "module": "components/input/input.component.js"
26144
26204
  }
26145
26205
  },
26146
- {
26147
- "kind": "field",
26148
- "name": "autofocus",
26149
- "type": {
26150
- "text": "boolean"
26151
- },
26152
- "default": "false",
26153
- "description": "If true, the input field is focused when the component is rendered.",
26154
- "attribute": "autofocus",
26155
- "inheritedFrom": {
26156
- "name": "Input",
26157
- "module": "components/input/input.component.js"
26158
- }
26159
- },
26160
26206
  {
26161
26207
  "kind": "field",
26162
26208
  "name": "dirname",
@@ -26594,6 +26640,19 @@
26594
26640
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26595
26641
  }
26596
26642
  },
26643
+ {
26644
+ "name": "auto-focus-on-mount",
26645
+ "type": {
26646
+ "text": "boolean"
26647
+ },
26648
+ "default": "false",
26649
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
26650
+ "fieldName": "autoFocusOnMount",
26651
+ "inheritedFrom": {
26652
+ "name": "AutoFocusOnMountMixin",
26653
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
26654
+ }
26655
+ },
26597
26656
  {
26598
26657
  "name": "name",
26599
26658
  "type": {
@@ -26758,19 +26817,6 @@
26758
26817
  "module": "src/components/input/input.component.ts"
26759
26818
  }
26760
26819
  },
26761
- {
26762
- "name": "autofocus",
26763
- "type": {
26764
- "text": "boolean"
26765
- },
26766
- "default": "false",
26767
- "description": "If true, the input field is focused when the component is rendered.",
26768
- "fieldName": "autofocus",
26769
- "inheritedFrom": {
26770
- "name": "Input",
26771
- "module": "src/components/input/input.component.ts"
26772
- }
26773
- },
26774
26820
  {
26775
26821
  "name": "dirname",
26776
26822
  "type": {
@@ -29803,17 +29849,6 @@
29803
29849
  "attribute": "readonly",
29804
29850
  "reflects": true
29805
29851
  },
29806
- {
29807
- "kind": "field",
29808
- "name": "autofocus",
29809
- "type": {
29810
- "text": "boolean"
29811
- },
29812
- "default": "false",
29813
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
29814
- "attribute": "autofocus",
29815
- "reflects": true
29816
- },
29817
29852
  {
29818
29853
  "kind": "method",
29819
29854
  "name": "getAllRadiosWithinSameGroup",
@@ -29921,6 +29956,21 @@
29921
29956
  "name": "renderLabelAndHelperText",
29922
29957
  "privacy": "private"
29923
29958
  },
29959
+ {
29960
+ "kind": "field",
29961
+ "name": "autoFocusOnMount",
29962
+ "type": {
29963
+ "text": "boolean"
29964
+ },
29965
+ "default": "false",
29966
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
29967
+ "attribute": "auto-focus-on-mount",
29968
+ "reflects": true,
29969
+ "inheritedFrom": {
29970
+ "name": "AutoFocusOnMountMixin",
29971
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
29972
+ }
29973
+ },
29924
29974
  {
29925
29975
  "kind": "field",
29926
29976
  "name": "name",
@@ -30262,13 +30312,17 @@
30262
30312
  "fieldName": "readonly"
30263
30313
  },
30264
30314
  {
30265
- "name": "autofocus",
30315
+ "name": "auto-focus-on-mount",
30266
30316
  "type": {
30267
30317
  "text": "boolean"
30268
30318
  },
30269
30319
  "default": "false",
30270
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
30271
- "fieldName": "autofocus"
30320
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
30321
+ "fieldName": "autoFocusOnMount",
30322
+ "inheritedFrom": {
30323
+ "name": "AutoFocusOnMountMixin",
30324
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
30325
+ }
30272
30326
  },
30273
30327
  {
30274
30328
  "name": "name",
@@ -30422,6 +30476,10 @@
30422
30476
  }
30423
30477
  ],
30424
30478
  "mixins": [
30479
+ {
30480
+ "name": "AutoFocusOnMountMixin",
30481
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
30482
+ },
30425
30483
  {
30426
30484
  "name": "FormInternalsMixin",
30427
30485
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -30835,6 +30893,185 @@
30835
30893
  }
30836
30894
  ]
30837
30895
  },
30896
+ {
30897
+ "kind": "javascript-module",
30898
+ "path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
30899
+ "declarations": [
30900
+ {
30901
+ "kind": "class",
30902
+ "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/",
30903
+ "name": "ScreenreaderAnnouncer",
30904
+ "members": [
30905
+ {
30906
+ "kind": "field",
30907
+ "name": "announcement",
30908
+ "type": {
30909
+ "text": "string"
30910
+ },
30911
+ "default": "''",
30912
+ "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.",
30913
+ "attribute": "announcement",
30914
+ "reflects": true
30915
+ },
30916
+ {
30917
+ "kind": "field",
30918
+ "name": "identity",
30919
+ "type": {
30920
+ "text": "string"
30921
+ },
30922
+ "default": "''",
30923
+ "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.",
30924
+ "attribute": "identity",
30925
+ "reflects": true
30926
+ },
30927
+ {
30928
+ "kind": "field",
30929
+ "name": "dataAriaLive",
30930
+ "type": {
30931
+ "text": "AriaLive"
30932
+ },
30933
+ "description": "Aria live value for announcement.",
30934
+ "default": "'polite'",
30935
+ "attribute": "data-aria-live",
30936
+ "reflects": true
30937
+ },
30938
+ {
30939
+ "kind": "field",
30940
+ "name": "delay",
30941
+ "type": {
30942
+ "text": "number"
30943
+ },
30944
+ "description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
30945
+ "default": "150",
30946
+ "attribute": "delay",
30947
+ "reflects": true
30948
+ },
30949
+ {
30950
+ "kind": "field",
30951
+ "name": "timeout",
30952
+ "type": {
30953
+ "text": "number"
30954
+ },
30955
+ "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.",
30956
+ "default": "20_000",
30957
+ "attribute": "timeout",
30958
+ "reflects": true
30959
+ },
30960
+ {
30961
+ "kind": "method",
30962
+ "name": "announce",
30963
+ "parameters": [
30964
+ {
30965
+ "name": "announcement",
30966
+ "type": {
30967
+ "text": "string"
30968
+ },
30969
+ "description": "The announcement to be made."
30970
+ },
30971
+ {
30972
+ "name": "delay",
30973
+ "type": {
30974
+ "text": "number"
30975
+ },
30976
+ "description": "The delay in milliseconds before announcing the message."
30977
+ },
30978
+ {
30979
+ "name": "timeout",
30980
+ "type": {
30981
+ "text": "number"
30982
+ },
30983
+ "description": "The timeout in milliseconds before removing the announcement."
30984
+ },
30985
+ {
30986
+ "name": "ariaLive",
30987
+ "type": {
30988
+ "text": "AriaLive"
30989
+ },
30990
+ "description": "The aria live value for the announcement."
30991
+ }
30992
+ ],
30993
+ "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."
30994
+ },
30995
+ {
30996
+ "kind": "method",
30997
+ "name": "clearTimeOutsAndAnnouncements",
30998
+ "privacy": "private",
30999
+ "description": "Clears all timeouts and removes all announcements from the screen reader."
31000
+ },
31001
+ {
31002
+ "kind": "method",
31003
+ "name": "createAnnouncementAriaLiveRegion",
31004
+ "privacy": "private",
31005
+ "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`."
31006
+ }
31007
+ ],
31008
+ "attributes": [
31009
+ {
31010
+ "name": "announcement",
31011
+ "type": {
31012
+ "text": "string"
31013
+ },
31014
+ "default": "''",
31015
+ "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.",
31016
+ "fieldName": "announcement"
31017
+ },
31018
+ {
31019
+ "name": "identity",
31020
+ "type": {
31021
+ "text": "string"
31022
+ },
31023
+ "default": "''",
31024
+ "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.",
31025
+ "fieldName": "identity"
31026
+ },
31027
+ {
31028
+ "name": "data-aria-live",
31029
+ "type": {
31030
+ "text": "AriaLive"
31031
+ },
31032
+ "description": "Aria live value for announcement.",
31033
+ "default": "'polite'",
31034
+ "fieldName": "dataAriaLive"
31035
+ },
31036
+ {
31037
+ "name": "delay",
31038
+ "type": {
31039
+ "text": "number"
31040
+ },
31041
+ "description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
31042
+ "default": "150",
31043
+ "fieldName": "delay"
31044
+ },
31045
+ {
31046
+ "name": "timeout",
31047
+ "type": {
31048
+ "text": "number"
31049
+ },
31050
+ "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.",
31051
+ "default": "20_000",
31052
+ "fieldName": "timeout"
31053
+ }
31054
+ ],
31055
+ "superclass": {
31056
+ "name": "Component",
31057
+ "module": "/src/models"
31058
+ },
31059
+ "tagName": "mdc-screenreaderannouncer",
31060
+ "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 */",
31061
+ "customElement": true
31062
+ }
31063
+ ],
31064
+ "exports": [
31065
+ {
31066
+ "kind": "js",
31067
+ "name": "default",
31068
+ "declaration": {
31069
+ "name": "ScreenreaderAnnouncer",
31070
+ "module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
31071
+ }
31072
+ }
31073
+ ]
31074
+ },
30838
31075
  {
30839
31076
  "kind": "javascript-module",
30840
31077
  "path": "components/searchfield/searchfield.component.js",
@@ -30892,6 +31129,21 @@
30892
31129
  "module": "components/input/input.component.js"
30893
31130
  }
30894
31131
  },
31132
+ {
31133
+ "kind": "field",
31134
+ "name": "autoFocusOnMount",
31135
+ "type": {
31136
+ "text": "boolean"
31137
+ },
31138
+ "default": "false",
31139
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
31140
+ "attribute": "auto-focus-on-mount",
31141
+ "reflects": true,
31142
+ "inheritedFrom": {
31143
+ "name": "AutoFocusOnMountMixin",
31144
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
31145
+ }
31146
+ },
30895
31147
  {
30896
31148
  "kind": "field",
30897
31149
  "name": "name",
@@ -31129,20 +31381,6 @@
31129
31381
  "module": "components/input/input.component.js"
31130
31382
  }
31131
31383
  },
31132
- {
31133
- "kind": "field",
31134
- "name": "autofocus",
31135
- "type": {
31136
- "text": "boolean"
31137
- },
31138
- "default": "false",
31139
- "description": "If true, the input field is focused when the component is rendered.",
31140
- "attribute": "autofocus",
31141
- "inheritedFrom": {
31142
- "name": "Input",
31143
- "module": "components/input/input.component.js"
31144
- }
31145
- },
31146
31384
  {
31147
31385
  "kind": "field",
31148
31386
  "name": "dirname",
@@ -31590,9 +31828,22 @@
31590
31828
  "module": "/src/components/input/input.component"
31591
31829
  },
31592
31830
  "tagName": "mdc-searchfield",
31593
- "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
31831
+ "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
31594
31832
  "customElement": true,
31595
31833
  "attributes": [
31834
+ {
31835
+ "name": "auto-focus-on-mount",
31836
+ "type": {
31837
+ "text": "boolean"
31838
+ },
31839
+ "default": "false",
31840
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
31841
+ "fieldName": "autoFocusOnMount",
31842
+ "inheritedFrom": {
31843
+ "name": "AutoFocusOnMountMixin",
31844
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
31845
+ }
31846
+ },
31596
31847
  {
31597
31848
  "name": "name",
31598
31849
  "type": {
@@ -31757,19 +32008,6 @@
31757
32008
  "module": "src/components/input/input.component.ts"
31758
32009
  }
31759
32010
  },
31760
- {
31761
- "name": "autofocus",
31762
- "type": {
31763
- "text": "boolean"
31764
- },
31765
- "default": "false",
31766
- "description": "If true, the input field is focused when the component is rendered.",
31767
- "fieldName": "autofocus",
31768
- "inheritedFrom": {
31769
- "name": "Input",
31770
- "module": "src/components/input/input.component.ts"
31771
- }
31772
- },
31773
32011
  {
31774
32012
  "name": "dirname",
31775
32013
  "type": {
@@ -32480,6 +32718,21 @@
32480
32718
  },
32481
32719
  "description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
32482
32720
  },
32721
+ {
32722
+ "kind": "field",
32723
+ "name": "autoFocusOnMount",
32724
+ "type": {
32725
+ "text": "boolean"
32726
+ },
32727
+ "default": "false",
32728
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
32729
+ "attribute": "auto-focus-on-mount",
32730
+ "reflects": true,
32731
+ "inheritedFrom": {
32732
+ "name": "AutoFocusOnMountMixin",
32733
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
32734
+ }
32735
+ },
32483
32736
  {
32484
32737
  "kind": "field",
32485
32738
  "name": "name",
@@ -32889,6 +33142,19 @@
32889
33142
  "description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
32890
33143
  "fieldName": "backdropAppendTo"
32891
33144
  },
33145
+ {
33146
+ "name": "auto-focus-on-mount",
33147
+ "type": {
33148
+ "text": "boolean"
33149
+ },
33150
+ "default": "false",
33151
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
33152
+ "fieldName": "autoFocusOnMount",
33153
+ "inheritedFrom": {
33154
+ "name": "AutoFocusOnMountMixin",
33155
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
33156
+ }
33157
+ },
32892
33158
  {
32893
33159
  "name": "name",
32894
33160
  "type": {
@@ -33041,6 +33307,10 @@
33041
33307
  }
33042
33308
  ],
33043
33309
  "mixins": [
33310
+ {
33311
+ "name": "AutoFocusOnMountMixin",
33312
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
33313
+ },
33044
33314
  {
33045
33315
  "name": "FormInternalsMixin",
33046
33316
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -33070,185 +33340,6 @@
33070
33340
  }
33071
33341
  ]
33072
33342
  },
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
33343
  {
33253
33344
  "kind": "javascript-module",
33254
33345
  "path": "components/selectlistbox/selectlistbox.component.js",
@@ -34101,145 +34192,6 @@
34101
34192
  }
34102
34193
  ]
34103
34194
  },
34104
- {
34105
- "kind": "javascript-module",
34106
- "path": "components/spinner/spinner.component.js",
34107
- "declarations": [
34108
- {
34109
- "kind": "class",
34110
- "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
34111
- "name": "Spinner",
34112
- "cssProperties": [
34113
- {
34114
- "description": "Allows customization of the default spinner color.",
34115
- "name": "--mdc-spinner-default-color"
34116
- },
34117
- {
34118
- "description": "Allows customization of the inverted spinner color.",
34119
- "name": "--mdc-spinner-inverted-color"
34120
- },
34121
- {
34122
- "description": "Allows customization of the spinner Button variant color.",
34123
- "name": "--mdc-spinner-button-variant-color"
34124
- },
34125
- {
34126
- "description": "Allows customization of the spinner size.",
34127
- "name": "--mdc-spinner-size"
34128
- }
34129
- ],
34130
- "cssParts": [
34131
- {
34132
- "description": "The svg which contains the circle spinner.",
34133
- "name": "container"
34134
- },
34135
- {
34136
- "description": "The circle of the spinner.",
34137
- "name": "circle"
34138
- }
34139
- ],
34140
- "members": [
34141
- {
34142
- "kind": "field",
34143
- "name": "inverted",
34144
- "type": {
34145
- "text": "boolean | undefined"
34146
- },
34147
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34148
- "default": "false",
34149
- "attribute": "inverted",
34150
- "reflects": true
34151
- },
34152
- {
34153
- "kind": "field",
34154
- "name": "size",
34155
- "type": {
34156
- "text": "SpinnerSize | undefined"
34157
- },
34158
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34159
- "default": "midsize",
34160
- "attribute": "size",
34161
- "reflects": true
34162
- },
34163
- {
34164
- "kind": "field",
34165
- "name": "ariaLabel",
34166
- "type": {
34167
- "text": "string | null"
34168
- },
34169
- "default": "null",
34170
- "description": "Aria-label attribute to be set for accessibility",
34171
- "attribute": "aria-label"
34172
- },
34173
- {
34174
- "kind": "field",
34175
- "name": "variant",
34176
- "type": {
34177
- "text": "SpinnerVariant"
34178
- },
34179
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34180
- "default": "standalone",
34181
- "attribute": "variant",
34182
- "reflects": true
34183
- }
34184
- ],
34185
- "attributes": [
34186
- {
34187
- "name": "inverted",
34188
- "type": {
34189
- "text": "boolean | undefined"
34190
- },
34191
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34192
- "default": "false",
34193
- "fieldName": "inverted"
34194
- },
34195
- {
34196
- "name": "size",
34197
- "type": {
34198
- "text": "SpinnerSize | undefined"
34199
- },
34200
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34201
- "default": "midsize",
34202
- "fieldName": "size"
34203
- },
34204
- {
34205
- "name": "aria-label",
34206
- "type": {
34207
- "text": "string | null"
34208
- },
34209
- "default": "null",
34210
- "description": "Aria-label attribute to be set for accessibility",
34211
- "fieldName": "ariaLabel"
34212
- },
34213
- {
34214
- "name": "variant",
34215
- "type": {
34216
- "text": "SpinnerVariant"
34217
- },
34218
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34219
- "default": "standalone",
34220
- "fieldName": "variant"
34221
- }
34222
- ],
34223
- "superclass": {
34224
- "name": "Component",
34225
- "module": "/src/models"
34226
- },
34227
- "tagName": "mdc-spinner",
34228
- "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
34229
- "customElement": true
34230
- }
34231
- ],
34232
- "exports": [
34233
- {
34234
- "kind": "js",
34235
- "name": "default",
34236
- "declaration": {
34237
- "name": "Spinner",
34238
- "module": "components/spinner/spinner.component.js"
34239
- }
34240
- }
34241
- ]
34242
- },
34243
34195
  {
34244
34196
  "kind": "javascript-module",
34245
34197
  "path": "components/staticcheckbox/staticcheckbox.component.js",
@@ -34706,6 +34658,145 @@
34706
34658
  }
34707
34659
  ]
34708
34660
  },
34661
+ {
34662
+ "kind": "javascript-module",
34663
+ "path": "components/spinner/spinner.component.js",
34664
+ "declarations": [
34665
+ {
34666
+ "kind": "class",
34667
+ "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
34668
+ "name": "Spinner",
34669
+ "cssProperties": [
34670
+ {
34671
+ "description": "Allows customization of the default spinner color.",
34672
+ "name": "--mdc-spinner-default-color"
34673
+ },
34674
+ {
34675
+ "description": "Allows customization of the inverted spinner color.",
34676
+ "name": "--mdc-spinner-inverted-color"
34677
+ },
34678
+ {
34679
+ "description": "Allows customization of the spinner Button variant color.",
34680
+ "name": "--mdc-spinner-button-variant-color"
34681
+ },
34682
+ {
34683
+ "description": "Allows customization of the spinner size.",
34684
+ "name": "--mdc-spinner-size"
34685
+ }
34686
+ ],
34687
+ "cssParts": [
34688
+ {
34689
+ "description": "The svg which contains the circle spinner.",
34690
+ "name": "container"
34691
+ },
34692
+ {
34693
+ "description": "The circle of the spinner.",
34694
+ "name": "circle"
34695
+ }
34696
+ ],
34697
+ "members": [
34698
+ {
34699
+ "kind": "field",
34700
+ "name": "inverted",
34701
+ "type": {
34702
+ "text": "boolean | undefined"
34703
+ },
34704
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34705
+ "default": "false",
34706
+ "attribute": "inverted",
34707
+ "reflects": true
34708
+ },
34709
+ {
34710
+ "kind": "field",
34711
+ "name": "size",
34712
+ "type": {
34713
+ "text": "SpinnerSize | undefined"
34714
+ },
34715
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34716
+ "default": "midsize",
34717
+ "attribute": "size",
34718
+ "reflects": true
34719
+ },
34720
+ {
34721
+ "kind": "field",
34722
+ "name": "ariaLabel",
34723
+ "type": {
34724
+ "text": "string | null"
34725
+ },
34726
+ "default": "null",
34727
+ "description": "Aria-label attribute to be set for accessibility",
34728
+ "attribute": "aria-label"
34729
+ },
34730
+ {
34731
+ "kind": "field",
34732
+ "name": "variant",
34733
+ "type": {
34734
+ "text": "SpinnerVariant"
34735
+ },
34736
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34737
+ "default": "standalone",
34738
+ "attribute": "variant",
34739
+ "reflects": true
34740
+ }
34741
+ ],
34742
+ "attributes": [
34743
+ {
34744
+ "name": "inverted",
34745
+ "type": {
34746
+ "text": "boolean | undefined"
34747
+ },
34748
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34749
+ "default": "false",
34750
+ "fieldName": "inverted"
34751
+ },
34752
+ {
34753
+ "name": "size",
34754
+ "type": {
34755
+ "text": "SpinnerSize | undefined"
34756
+ },
34757
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34758
+ "default": "midsize",
34759
+ "fieldName": "size"
34760
+ },
34761
+ {
34762
+ "name": "aria-label",
34763
+ "type": {
34764
+ "text": "string | null"
34765
+ },
34766
+ "default": "null",
34767
+ "description": "Aria-label attribute to be set for accessibility",
34768
+ "fieldName": "ariaLabel"
34769
+ },
34770
+ {
34771
+ "name": "variant",
34772
+ "type": {
34773
+ "text": "SpinnerVariant"
34774
+ },
34775
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34776
+ "default": "standalone",
34777
+ "fieldName": "variant"
34778
+ }
34779
+ ],
34780
+ "superclass": {
34781
+ "name": "Component",
34782
+ "module": "/src/models"
34783
+ },
34784
+ "tagName": "mdc-spinner",
34785
+ "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
34786
+ "customElement": true
34787
+ }
34788
+ ],
34789
+ "exports": [
34790
+ {
34791
+ "kind": "js",
34792
+ "name": "default",
34793
+ "declaration": {
34794
+ "name": "Spinner",
34795
+ "module": "components/spinner/spinner.component.js"
34796
+ }
34797
+ }
34798
+ ]
34799
+ },
34709
34800
  {
34710
34801
  "kind": "javascript-module",
34711
34802
  "path": "components/stepper/stepper.component.js",
@@ -34803,6 +34894,94 @@
34803
34894
  }
34804
34895
  ]
34805
34896
  },
34897
+ {
34898
+ "kind": "javascript-module",
34899
+ "path": "components/stepperconnector/stepperconnector.component.js",
34900
+ "declarations": [
34901
+ {
34902
+ "kind": "class",
34903
+ "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.",
34904
+ "name": "StepperConnector",
34905
+ "cssProperties": [
34906
+ {
34907
+ "description": "Background color for the complete connector",
34908
+ "name": "--mdc-stepperconnector-complete-background"
34909
+ },
34910
+ {
34911
+ "description": "Background color for the incomplete connector",
34912
+ "name": "--mdc-stepperconnector-incomplete-background"
34913
+ }
34914
+ ],
34915
+ "cssParts": [
34916
+ {
34917
+ "description": "The main connector line between steps",
34918
+ "name": "connector"
34919
+ }
34920
+ ],
34921
+ "members": [
34922
+ {
34923
+ "kind": "field",
34924
+ "name": "status",
34925
+ "type": {
34926
+ "text": "StatusType"
34927
+ },
34928
+ "description": "The status of the connector (complete or incomplete)",
34929
+ "default": "\"incomplete\"",
34930
+ "attribute": "status",
34931
+ "reflects": true
34932
+ },
34933
+ {
34934
+ "kind": "field",
34935
+ "name": "orientation",
34936
+ "type": {
34937
+ "text": "OrientationType"
34938
+ },
34939
+ "description": "The orientation of the connector (vertical or horizontal)",
34940
+ "default": "\"horizontal\"",
34941
+ "attribute": "orientation",
34942
+ "reflects": true
34943
+ }
34944
+ ],
34945
+ "attributes": [
34946
+ {
34947
+ "name": "status",
34948
+ "type": {
34949
+ "text": "StatusType"
34950
+ },
34951
+ "description": "The status of the connector (complete or incomplete)",
34952
+ "default": "\"incomplete\"",
34953
+ "fieldName": "status"
34954
+ },
34955
+ {
34956
+ "name": "orientation",
34957
+ "type": {
34958
+ "text": "OrientationType"
34959
+ },
34960
+ "description": "The orientation of the connector (vertical or horizontal)",
34961
+ "default": "\"horizontal\"",
34962
+ "fieldName": "orientation"
34963
+ }
34964
+ ],
34965
+ "superclass": {
34966
+ "name": "Component",
34967
+ "module": "/src/models"
34968
+ },
34969
+ "tagName": "mdc-stepperconnector",
34970
+ "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 */",
34971
+ "customElement": true
34972
+ }
34973
+ ],
34974
+ "exports": [
34975
+ {
34976
+ "kind": "js",
34977
+ "name": "default",
34978
+ "declaration": {
34979
+ "name": "StepperConnector",
34980
+ "module": "components/stepperconnector/stepperconnector.component.js"
34981
+ }
34982
+ }
34983
+ ]
34984
+ },
34806
34985
  {
34807
34986
  "kind": "javascript-module",
34808
34987
  "path": "components/stepperitem/stepperitem.component.js",
@@ -35100,94 +35279,6 @@
35100
35279
  }
35101
35280
  ]
35102
35281
  },
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
35282
  {
35192
35283
  "kind": "javascript-module",
35193
35284
  "path": "components/tab/tab.component.js",
@@ -35548,13 +35639,13 @@
35548
35639
  },
35549
35640
  {
35550
35641
  "kind": "field",
35551
- "name": "autofocus",
35642
+ "name": "autoFocusOnMount",
35552
35643
  "type": {
35553
35644
  "text": "boolean"
35554
35645
  },
35555
35646
  "default": "false",
35556
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
35557
- "attribute": "autofocus",
35647
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
35648
+ "attribute": "auto-focus-on-mount",
35558
35649
  "reflects": true,
35559
35650
  "inheritedFrom": {
35560
35651
  "name": "Buttonsimple",
@@ -35873,13 +35964,13 @@
35873
35964
  }
35874
35965
  },
35875
35966
  {
35876
- "name": "autofocus",
35967
+ "name": "auto-focus-on-mount",
35877
35968
  "type": {
35878
35969
  "text": "boolean"
35879
35970
  },
35880
35971
  "default": "false",
35881
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
35882
- "fieldName": "autofocus",
35972
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
35973
+ "fieldName": "autoFocusOnMount",
35883
35974
  "inheritedFrom": {
35884
35975
  "name": "Buttonsimple",
35885
35976
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
@@ -36317,16 +36408,6 @@
36317
36408
  "default": "'off'",
36318
36409
  "attribute": "autocomplete"
36319
36410
  },
36320
- {
36321
- "kind": "field",
36322
- "name": "autofocus",
36323
- "type": {
36324
- "text": "boolean"
36325
- },
36326
- "default": "false",
36327
- "description": "If true, the textarea field is focused when the component is rendered.",
36328
- "attribute": "autofocus"
36329
- },
36330
36411
  {
36331
36412
  "kind": "field",
36332
36413
  "name": "dirname",
@@ -36454,6 +36535,21 @@
36454
36535
  "name": "renderTextareaFooter",
36455
36536
  "privacy": "protected"
36456
36537
  },
36538
+ {
36539
+ "kind": "field",
36540
+ "name": "autoFocusOnMount",
36541
+ "type": {
36542
+ "text": "boolean"
36543
+ },
36544
+ "default": "false",
36545
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
36546
+ "attribute": "auto-focus-on-mount",
36547
+ "reflects": true,
36548
+ "inheritedFrom": {
36549
+ "name": "AutoFocusOnMountMixin",
36550
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
36551
+ }
36552
+ },
36457
36553
  {
36458
36554
  "kind": "field",
36459
36555
  "name": "name",
@@ -36858,15 +36954,6 @@
36858
36954
  "default": "'off'",
36859
36955
  "fieldName": "autocomplete"
36860
36956
  },
36861
- {
36862
- "name": "autofocus",
36863
- "type": {
36864
- "text": "boolean"
36865
- },
36866
- "default": "false",
36867
- "description": "If true, the textarea field is focused when the component is rendered.",
36868
- "fieldName": "autofocus"
36869
- },
36870
36957
  {
36871
36958
  "name": "dirname",
36872
36959
  "type": {
@@ -36899,6 +36986,19 @@
36899
36986
  "description": "maximum character limit for the textarea field for character counter.",
36900
36987
  "fieldName": "maxCharacterLimit"
36901
36988
  },
36989
+ {
36990
+ "name": "auto-focus-on-mount",
36991
+ "type": {
36992
+ "text": "boolean"
36993
+ },
36994
+ "default": "false",
36995
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
36996
+ "fieldName": "autoFocusOnMount",
36997
+ "inheritedFrom": {
36998
+ "name": "AutoFocusOnMountMixin",
36999
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
37000
+ }
37001
+ },
36902
37002
  {
36903
37003
  "name": "name",
36904
37004
  "type": {
@@ -37051,6 +37151,10 @@
37051
37151
  }
37052
37152
  ],
37053
37153
  "mixins": [
37154
+ {
37155
+ "name": "AutoFocusOnMountMixin",
37156
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
37157
+ },
37054
37158
  {
37055
37159
  "name": "FormInternalsMixin",
37056
37160
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -37661,17 +37765,6 @@
37661
37765
  "attribute": "size",
37662
37766
  "reflects": true
37663
37767
  },
37664
- {
37665
- "kind": "field",
37666
- "name": "autofocus",
37667
- "type": {
37668
- "text": "boolean"
37669
- },
37670
- "default": "false",
37671
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
37672
- "attribute": "autofocus",
37673
- "reflects": true
37674
- },
37675
37768
  {
37676
37769
  "kind": "method",
37677
37770
  "name": "manageRequired",
@@ -37744,6 +37837,21 @@
37744
37837
  ],
37745
37838
  "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
37746
37839
  },
37840
+ {
37841
+ "kind": "field",
37842
+ "name": "autoFocusOnMount",
37843
+ "type": {
37844
+ "text": "boolean"
37845
+ },
37846
+ "default": "false",
37847
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
37848
+ "attribute": "auto-focus-on-mount",
37849
+ "reflects": true,
37850
+ "inheritedFrom": {
37851
+ "name": "AutoFocusOnMountMixin",
37852
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
37853
+ }
37854
+ },
37747
37855
  {
37748
37856
  "kind": "field",
37749
37857
  "name": "name",
@@ -38087,13 +38195,17 @@
38087
38195
  "fieldName": "size"
38088
38196
  },
38089
38197
  {
38090
- "name": "autofocus",
38198
+ "name": "auto-focus-on-mount",
38091
38199
  "type": {
38092
38200
  "text": "boolean"
38093
38201
  },
38094
38202
  "default": "false",
38095
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
38096
- "fieldName": "autofocus"
38203
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
38204
+ "fieldName": "autoFocusOnMount",
38205
+ "inheritedFrom": {
38206
+ "name": "AutoFocusOnMountMixin",
38207
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
38208
+ }
38097
38209
  },
38098
38210
  {
38099
38211
  "name": "name",
@@ -38247,6 +38359,10 @@
38247
38359
  }
38248
38360
  ],
38249
38361
  "mixins": [
38362
+ {
38363
+ "name": "AutoFocusOnMountMixin",
38364
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
38365
+ },
38250
38366
  {
38251
38367
  "name": "FormInternalsMixin",
38252
38368
  "module": "/src/utils/mixins/FormInternalsMixin"
@@ -42760,16 +42876,6 @@
42760
42876
  }
42761
42877
  ],
42762
42878
  "members": [
42763
- {
42764
- "kind": "field",
42765
- "name": "onscroll",
42766
- "type": {
42767
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
42768
- },
42769
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
42770
- "default": "null",
42771
- "attribute": "onscroll"
42772
- },
42773
42879
  {
42774
42880
  "kind": "field",
42775
42881
  "name": "virtualizerProps",
@@ -42815,6 +42921,25 @@
42815
42921
  "privacy": "public",
42816
42922
  "default": "[]"
42817
42923
  },
42924
+ {
42925
+ "kind": "method",
42926
+ "name": "handleScroll",
42927
+ "privacy": "private",
42928
+ "return": {
42929
+ "type": {
42930
+ "text": "void"
42931
+ }
42932
+ },
42933
+ "parameters": [
42934
+ {
42935
+ "name": "event",
42936
+ "type": {
42937
+ "text": "Event"
42938
+ }
42939
+ }
42940
+ ],
42941
+ "description": "Refires the scroll event from the internal scroll container to the host element"
42942
+ },
42818
42943
  {
42819
42944
  "kind": "field",
42820
42945
  "name": "virtualizerController",
@@ -42822,25 +42947,29 @@
42822
42947
  "text": "null"
42823
42948
  },
42824
42949
  "default": "null"
42950
+ },
42951
+ {
42952
+ "kind": "field",
42953
+ "name": "onscroll",
42954
+ "type": {
42955
+ "text": "null"
42956
+ },
42957
+ "default": "null"
42825
42958
  }
42826
42959
  ],
42827
42960
  "events": [
42961
+ {
42962
+ "type": {
42963
+ "text": "EventConstructor"
42964
+ }
42965
+ },
42828
42966
  {
42829
42967
  "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
42830
- "name": "onscroll",
42968
+ "name": "scroll",
42831
42969
  "reactName": "onScroll"
42832
42970
  }
42833
42971
  ],
42834
42972
  "attributes": [
42835
- {
42836
- "name": "onscroll",
42837
- "type": {
42838
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
42839
- },
42840
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
42841
- "default": "null",
42842
- "fieldName": "onscroll"
42843
- },
42844
42973
  {
42845
42974
  "name": "virtualizerprops",
42846
42975
  "type": {
@@ -42864,7 +42993,7 @@
42864
42993
  "module": "/src/models"
42865
42994
  },
42866
42995
  "tagName": "mdc-virtualizedlist",
42867
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
42996
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
42868
42997
  "customElement": true
42869
42998
  }
42870
42999
  ],
@@ -42881,34 +43010,56 @@
42881
43010
  },
42882
43011
  {
42883
43012
  "kind": "javascript-module",
42884
- "path": "utils/mixins/AutoFocusMixin.js",
43013
+ "path": "utils/mixins/AutoFocusOnMountMixin.js",
42885
43014
  "declarations": [
43015
+ {
43016
+ "kind": "class",
43017
+ "description": "",
43018
+ "name": "AutoFocusOnMountMixinInterface",
43019
+ "members": [
43020
+ {
43021
+ "kind": "field",
43022
+ "name": "autoFocusOnMount",
43023
+ "type": {
43024
+ "text": "boolean | undefined"
43025
+ }
43026
+ },
43027
+ {
43028
+ "kind": "field",
43029
+ "name": "elementToAutoFocus",
43030
+ "type": {
43031
+ "text": "HTMLElement"
43032
+ },
43033
+ "privacy": "protected"
43034
+ }
43035
+ ]
43036
+ },
42886
43037
  {
42887
43038
  "kind": "mixin",
42888
43039
  "description": "",
42889
- "name": "AutoFocusMixin",
43040
+ "name": "AutoFocusOnMountMixin",
42890
43041
  "members": [
42891
43042
  {
42892
43043
  "kind": "field",
42893
- "name": "autofocus",
43044
+ "name": "autoFocusOnMount",
42894
43045
  "type": {
42895
43046
  "text": "boolean"
42896
43047
  },
42897
43048
  "default": "false",
42898
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
42899
- "attribute": "autofocus",
43049
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
43050
+ "attribute": "auto-focus-on-mount",
42900
43051
  "reflects": true
42901
43052
  }
42902
43053
  ],
42903
43054
  "attributes": [
42904
43055
  {
42905
- "name": "autofocus",
43056
+ "name": "auto-focus-on-mount",
42906
43057
  "type": {
42907
43058
  "text": "boolean"
42908
43059
  },
42909
43060
  "default": "false",
42910
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
42911
- "fieldName": "autofocus"
43061
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
43062
+ "fieldName": "autoFocusOnMount"
42912
43063
  }
42913
43064
  ],
42914
43065
  "parameters": [
@@ -42924,10 +43075,18 @@
42924
43075
  "exports": [
42925
43076
  {
42926
43077
  "kind": "js",
42927
- "name": "AutoFocusMixin",
43078
+ "name": "AutoFocusOnMountMixinInterface",
43079
+ "declaration": {
43080
+ "name": "AutoFocusOnMountMixinInterface",
43081
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
43082
+ }
43083
+ },
43084
+ {
43085
+ "kind": "js",
43086
+ "name": "AutoFocusOnMountMixin",
42928
43087
  "declaration": {
42929
- "name": "AutoFocusMixin",
42930
- "module": "utils/mixins/AutoFocusMixin.js"
43088
+ "name": "AutoFocusOnMountMixin",
43089
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
42931
43090
  }
42932
43091
  }
42933
43092
  ]