@momentum-design/components 0.18.3 → 0.18.5

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 +250 -76
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/badge/badge.component.d.ts +12 -0
  4. package/dist/components/badge/badge.component.js +12 -0
  5. package/dist/components/checkbox/checkbox.component.d.ts +71 -0
  6. package/dist/components/checkbox/checkbox.component.js +150 -0
  7. package/dist/components/checkbox/checkbox.constants.d.ts +6 -0
  8. package/dist/components/checkbox/checkbox.constants.js +7 -0
  9. package/dist/components/checkbox/checkbox.styles.d.ts +2 -0
  10. package/dist/components/checkbox/checkbox.styles.js +106 -0
  11. package/dist/components/checkbox/index.d.ts +8 -0
  12. package/dist/components/checkbox/index.js +5 -0
  13. package/dist/components/icon/icon.component.d.ts +2 -0
  14. package/dist/components/icon/icon.component.js +2 -0
  15. package/dist/components/presence/presence.component.d.ts +16 -0
  16. package/dist/components/presence/presence.component.js +16 -0
  17. package/dist/components/presence/presence.styles.js +0 -14
  18. package/dist/custom-elements.json +656 -3
  19. package/dist/index.d.ts +2 -1
  20. package/dist/index.js +2 -1
  21. package/dist/react/badge/index.d.ts +12 -0
  22. package/dist/react/badge/index.js +12 -0
  23. package/dist/react/checkbox/index.d.ts +27 -0
  24. package/dist/react/checkbox/index.js +36 -0
  25. package/dist/react/icon/index.d.ts +2 -0
  26. package/dist/react/icon/index.js +2 -0
  27. package/dist/react/index.d.ts +1 -0
  28. package/dist/react/index.js +1 -0
  29. package/dist/react/presence/index.d.ts +16 -0
  30. package/dist/react/presence/index.js +16 -0
  31. package/dist/utils/mixins/DataAriaLabelMixin.d.ts +6 -0
  32. package/dist/utils/mixins/DataAriaLabelMixin.js +29 -0
  33. package/package.json +1 -1
@@ -797,6 +797,52 @@
797
797
  "kind": "class",
798
798
  "description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
799
799
  "name": "Badge",
800
+ "cssProperties": [
801
+ {
802
+ "description": "The foreground color of the primary badge.",
803
+ "name": "--mdc-badge-primary-foreground-color"
804
+ },
805
+ {
806
+ "description": "The background color of the primary badge.",
807
+ "name": "--mdc-badge-primary-background-color"
808
+ },
809
+ {
810
+ "description": "The foreground color of the secondary badge.",
811
+ "name": "--mdc-badge-secondary-foreground-color"
812
+ },
813
+ {
814
+ "description": "The background color of the secondary badge.",
815
+ "name": "--mdc-badge-secondary-background-color"
816
+ },
817
+ {
818
+ "description": "The foreground color of the success badge.",
819
+ "name": "--mdc-badge-success-foreground-color"
820
+ },
821
+ {
822
+ "description": "The background color of the success badge.",
823
+ "name": "--mdc-badge-success-background-color"
824
+ },
825
+ {
826
+ "description": "The foreground color of the warning badge.",
827
+ "name": "--mdc-badge-warning-foreground-color"
828
+ },
829
+ {
830
+ "description": "The background color of the warning badge.",
831
+ "name": "--mdc-badge-warning-background-color"
832
+ },
833
+ {
834
+ "description": "The foreground color of the error badge.",
835
+ "name": "--mdc-badge-error-foreground-color"
836
+ },
837
+ {
838
+ "description": "The background color of the error badge.",
839
+ "name": "--mdc-badge-error-background-color"
840
+ },
841
+ {
842
+ "description": "The background color of the badge overlay.",
843
+ "name": "--mdc-badge-overlay-background-color"
844
+ }
845
+ ],
800
846
  "members": [
801
847
  {
802
848
  "kind": "field",
@@ -1035,7 +1081,7 @@
1035
1081
  "module": "/src/models"
1036
1082
  },
1037
1083
  "tagName": "mdc-badge",
1038
- "jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported badge types:\n * - `dot`: Displays a dot notification badge with a blue color.\n * - `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n * - `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\n * it shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n * - `success`: Displays a success badge with a check circle icon and green color.\n * - `warning`: Displays a warning badge with a warning icon and yellow color.\n * - `error`: Displays a error badge with a error legacy icon and red color.\n *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n */",
1084
+ "jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported badge types:\n * - `dot`: Displays a dot notification badge with a blue color.\n * - `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n * - `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\n * it shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n * - `success`: Displays a success badge with a check circle icon and green color.\n * - `warning`: Displays a warning badge with a warning icon and yellow color.\n * - `error`: Displays a error badge with a error legacy icon and red color.\n *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n *\n * @cssproperty --mdc-badge-primary-foreground-color - The foreground color of the primary badge.\n * @cssproperty --mdc-badge-primary-background-color - The background color of the primary badge.\n * @cssproperty --mdc-badge-secondary-foreground-color - The foreground color of the secondary badge.\n * @cssproperty --mdc-badge-secondary-background-color - The background color of the secondary badge.\n * @cssproperty --mdc-badge-success-foreground-color - The foreground color of the success badge.\n * @cssproperty --mdc-badge-success-background-color - The background color of the success badge.\n * @cssproperty --mdc-badge-warning-foreground-color - The foreground color of the warning badge.\n * @cssproperty --mdc-badge-warning-background-color - The background color of the warning badge.\n * @cssproperty --mdc-badge-error-foreground-color - The foreground color of the error badge.\n * @cssproperty --mdc-badge-error-background-color - The background color of the error badge.\n * @cssproperty --mdc-badge-overlay-background-color - The background color of the badge overlay.\n */",
1039
1085
  "customElement": true
1040
1086
  }
1041
1087
  ],
@@ -1929,6 +1975,490 @@
1929
1975
  }
1930
1976
  ]
1931
1977
  },
1978
+ {
1979
+ "kind": "javascript-module",
1980
+ "path": "components/checkbox/checkbox.component.js",
1981
+ "declarations": [
1982
+ {
1983
+ "kind": "class",
1984
+ "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.",
1985
+ "name": "Checkbox",
1986
+ "cssProperties": [
1987
+ {
1988
+ "description": "Allows customization of the background color on hover.",
1989
+ "name": "--mdc-checkbox-background-color-hover"
1990
+ },
1991
+ {
1992
+ "description": "Border color in high contrast.",
1993
+ "name": "--mdc-checkbox-border-color"
1994
+ },
1995
+ {
1996
+ "description": "Background color for a selected checkbox.",
1997
+ "name": "--mdc-checkbox-checked-background-color"
1998
+ },
1999
+ {
2000
+ "description": "Background color for a selected checkbox when hovered.",
2001
+ "name": "--mdc-checkbox-checked-background-color-hover"
2002
+ },
2003
+ {
2004
+ "description": "Background color for a selected checkbox when pressed.",
2005
+ "name": "--mdc-checkbox-checked-pressed-icon-color"
2006
+ },
2007
+ {
2008
+ "description": "Background color for a disabled checkbox.",
2009
+ "name": "--mdc-checkbox-disabled-background-color"
2010
+ },
2011
+ {
2012
+ "description": "Border color for a disabled checkbox.",
2013
+ "name": "--mdc-checkbox-disabled-border-color"
2014
+ },
2015
+ {
2016
+ "description": "Background color for a disabled, selected checkbox.",
2017
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
2018
+ },
2019
+ {
2020
+ "description": "Icon color for a disabled checkbox.",
2021
+ "name": "--mdc-checkbox-disabled-icon-color"
2022
+ },
2023
+ {
2024
+ "description": "Background color for an unselected checkbox.",
2025
+ "name": "--mdc-checkbox-icon-background-color"
2026
+ },
2027
+ {
2028
+ "description": "Default background color for an unselected checkbox.",
2029
+ "name": "--mdc-checkbox-icon-border-color"
2030
+ },
2031
+ {
2032
+ "description": "Icon color for an unselected checkbox.",
2033
+ "name": "--mdc-checkbox-icon-color"
2034
+ },
2035
+ {
2036
+ "description": "Background color for a selected checkbox when pressed.",
2037
+ "name": "--mdc-checkbox-pressed-icon-color"
2038
+ }
2039
+ ],
2040
+ "members": [
2041
+ {
2042
+ "kind": "field",
2043
+ "name": "checked",
2044
+ "type": {
2045
+ "text": "boolean"
2046
+ },
2047
+ "default": "false",
2048
+ "description": "Determines whether the checkbox is selected or unselected.",
2049
+ "attribute": "checked",
2050
+ "reflects": true
2051
+ },
2052
+ {
2053
+ "kind": "field",
2054
+ "name": "indeterminate",
2055
+ "type": {
2056
+ "text": "boolean"
2057
+ },
2058
+ "default": "false",
2059
+ "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
2060
+ "attribute": "indeterminate",
2061
+ "reflects": true
2062
+ },
2063
+ {
2064
+ "kind": "method",
2065
+ "name": "setFormValue",
2066
+ "privacy": "private",
2067
+ "description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
2068
+ },
2069
+ {
2070
+ "kind": "method",
2071
+ "name": "toggleState",
2072
+ "privacy": "private",
2073
+ "return": {
2074
+ "type": {
2075
+ "text": "void"
2076
+ }
2077
+ },
2078
+ "description": "Toggles the state of the checkbox element.\nIf the element is not disabled, then\nthe checked property is toggled and the indeterminate property is set to false."
2079
+ },
2080
+ {
2081
+ "kind": "method",
2082
+ "name": "handleChange",
2083
+ "privacy": "public",
2084
+ "return": {
2085
+ "type": {
2086
+ "text": "void"
2087
+ }
2088
+ },
2089
+ "parameters": [
2090
+ {
2091
+ "name": "event",
2092
+ "type": {
2093
+ "text": "Event"
2094
+ }
2095
+ }
2096
+ ],
2097
+ "description": "Toggles the state of the checkbox element.\nand dispatch the new event."
2098
+ },
2099
+ {
2100
+ "kind": "field",
2101
+ "name": "internals"
2102
+ },
2103
+ {
2104
+ "kind": "field",
2105
+ "name": "helpTextType",
2106
+ "type": {
2107
+ "text": "ValidationType"
2108
+ },
2109
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2110
+ "attribute": "help-text-type",
2111
+ "reflects": true,
2112
+ "default": "undefined as unknown",
2113
+ "inheritedFrom": {
2114
+ "name": "FormfieldWrapper",
2115
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2116
+ }
2117
+ },
2118
+ {
2119
+ "kind": "field",
2120
+ "name": "name",
2121
+ "type": {
2122
+ "text": "string"
2123
+ },
2124
+ "default": "''",
2125
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
2126
+ "attribute": "name",
2127
+ "reflects": true,
2128
+ "inheritedFrom": {
2129
+ "name": "NameMixin",
2130
+ "module": "utils/mixins/NameMixin.js"
2131
+ }
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "value",
2136
+ "type": {
2137
+ "text": "string"
2138
+ },
2139
+ "default": "''",
2140
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
2141
+ "attribute": "value",
2142
+ "reflects": true,
2143
+ "inheritedFrom": {
2144
+ "name": "ValueMixin",
2145
+ "module": "utils/mixins/ValueMixin.js"
2146
+ }
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "dataAriaLabel",
2151
+ "type": {
2152
+ "text": "string | null"
2153
+ },
2154
+ "default": "null",
2155
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2156
+ "attribute": "data-aria-label",
2157
+ "reflects": true,
2158
+ "inheritedFrom": {
2159
+ "name": "DataAriaLabelMixin",
2160
+ "module": "utils/mixins/DataAriaLabelMixin.js"
2161
+ }
2162
+ },
2163
+ {
2164
+ "kind": "field",
2165
+ "name": "disabled",
2166
+ "type": {
2167
+ "text": "boolean"
2168
+ },
2169
+ "default": "false",
2170
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2171
+ "attribute": "disabled",
2172
+ "reflects": true,
2173
+ "inheritedFrom": {
2174
+ "name": "DisabledMixin",
2175
+ "module": "utils/mixins/DisabledMixin.js"
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "field",
2180
+ "name": "label",
2181
+ "type": {
2182
+ "text": "string | undefined"
2183
+ },
2184
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2185
+ "attribute": "label",
2186
+ "reflects": true,
2187
+ "inheritedFrom": {
2188
+ "name": "FormfieldWrapper",
2189
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2190
+ }
2191
+ },
2192
+ {
2193
+ "kind": "field",
2194
+ "name": "id",
2195
+ "default": "`mdc-input-${uuidv4()}`",
2196
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
2197
+ "attribute": "id",
2198
+ "inheritedFrom": {
2199
+ "name": "FormfieldWrapper",
2200
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2201
+ }
2202
+ },
2203
+ {
2204
+ "kind": "field",
2205
+ "name": "helpText",
2206
+ "type": {
2207
+ "text": "string | undefined"
2208
+ },
2209
+ "description": "The help text that is displayed below the input field.",
2210
+ "attribute": "help-text",
2211
+ "reflects": true,
2212
+ "inheritedFrom": {
2213
+ "name": "FormfieldWrapper",
2214
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2215
+ }
2216
+ },
2217
+ {
2218
+ "kind": "method",
2219
+ "name": "renderLabelElement",
2220
+ "privacy": "protected",
2221
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
2222
+ "return": {
2223
+ "type": {
2224
+ "text": ""
2225
+ }
2226
+ },
2227
+ "inheritedFrom": {
2228
+ "name": "FormfieldWrapper",
2229
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2230
+ }
2231
+ },
2232
+ {
2233
+ "kind": "method",
2234
+ "name": "renderHelpTextIcon",
2235
+ "privacy": "protected",
2236
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
2237
+ "return": {
2238
+ "type": {
2239
+ "text": ""
2240
+ }
2241
+ },
2242
+ "inheritedFrom": {
2243
+ "name": "FormfieldWrapper",
2244
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2245
+ }
2246
+ },
2247
+ {
2248
+ "kind": "method",
2249
+ "name": "renderHelpText",
2250
+ "privacy": "protected",
2251
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
2252
+ "return": {
2253
+ "type": {
2254
+ "text": ""
2255
+ }
2256
+ },
2257
+ "inheritedFrom": {
2258
+ "name": "FormfieldWrapper",
2259
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2260
+ }
2261
+ },
2262
+ {
2263
+ "kind": "method",
2264
+ "name": "renderLabel",
2265
+ "privacy": "protected",
2266
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
2267
+ "return": {
2268
+ "type": {
2269
+ "text": ""
2270
+ }
2271
+ },
2272
+ "inheritedFrom": {
2273
+ "name": "FormfieldWrapper",
2274
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2275
+ }
2276
+ },
2277
+ {
2278
+ "kind": "method",
2279
+ "name": "renderHelperText",
2280
+ "privacy": "protected",
2281
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
2282
+ "return": {
2283
+ "type": {
2284
+ "text": ""
2285
+ }
2286
+ },
2287
+ "inheritedFrom": {
2288
+ "name": "FormfieldWrapper",
2289
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2290
+ }
2291
+ }
2292
+ ],
2293
+ "events": [
2294
+ {
2295
+ "type": {
2296
+ "text": "Event"
2297
+ }
2298
+ }
2299
+ ],
2300
+ "attributes": [
2301
+ {
2302
+ "name": "checked",
2303
+ "type": {
2304
+ "text": "boolean"
2305
+ },
2306
+ "default": "false",
2307
+ "description": "Determines whether the checkbox is selected or unselected.",
2308
+ "fieldName": "checked"
2309
+ },
2310
+ {
2311
+ "name": "indeterminate",
2312
+ "type": {
2313
+ "text": "boolean"
2314
+ },
2315
+ "default": "false",
2316
+ "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
2317
+ "fieldName": "indeterminate"
2318
+ },
2319
+ {
2320
+ "name": "name",
2321
+ "type": {
2322
+ "text": "string"
2323
+ },
2324
+ "default": "''",
2325
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
2326
+ "fieldName": "name",
2327
+ "inheritedFrom": {
2328
+ "name": "NameMixin",
2329
+ "module": "src/utils/mixins/NameMixin.ts"
2330
+ }
2331
+ },
2332
+ {
2333
+ "name": "value",
2334
+ "type": {
2335
+ "text": "string"
2336
+ },
2337
+ "default": "''",
2338
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
2339
+ "fieldName": "value",
2340
+ "inheritedFrom": {
2341
+ "name": "ValueMixin",
2342
+ "module": "src/utils/mixins/ValueMixin.ts"
2343
+ }
2344
+ },
2345
+ {
2346
+ "name": "data-aria-label",
2347
+ "type": {
2348
+ "text": "string | null"
2349
+ },
2350
+ "default": "null",
2351
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2352
+ "fieldName": "dataAriaLabel",
2353
+ "inheritedFrom": {
2354
+ "name": "DataAriaLabelMixin",
2355
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
2356
+ }
2357
+ },
2358
+ {
2359
+ "name": "disabled",
2360
+ "type": {
2361
+ "text": "boolean"
2362
+ },
2363
+ "default": "false",
2364
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2365
+ "fieldName": "disabled",
2366
+ "inheritedFrom": {
2367
+ "name": "DisabledMixin",
2368
+ "module": "src/utils/mixins/DisabledMixin.ts"
2369
+ }
2370
+ },
2371
+ {
2372
+ "name": "label",
2373
+ "type": {
2374
+ "text": "string | undefined"
2375
+ },
2376
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2377
+ "fieldName": "label",
2378
+ "inheritedFrom": {
2379
+ "name": "FormfieldWrapper",
2380
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2381
+ }
2382
+ },
2383
+ {
2384
+ "name": "id",
2385
+ "default": "`mdc-input-${uuidv4()}`",
2386
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
2387
+ "fieldName": "id",
2388
+ "inheritedFrom": {
2389
+ "name": "FormfieldWrapper",
2390
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2391
+ }
2392
+ },
2393
+ {
2394
+ "name": "help-text-type",
2395
+ "type": {
2396
+ "text": "ValidationType"
2397
+ },
2398
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2399
+ "fieldName": "helpTextType",
2400
+ "inheritedFrom": {
2401
+ "name": "FormfieldWrapper",
2402
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2403
+ }
2404
+ },
2405
+ {
2406
+ "name": "help-text",
2407
+ "type": {
2408
+ "text": "string | undefined"
2409
+ },
2410
+ "description": "The help text that is displayed below the input field.",
2411
+ "fieldName": "helpText",
2412
+ "inheritedFrom": {
2413
+ "name": "FormfieldWrapper",
2414
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2415
+ }
2416
+ }
2417
+ ],
2418
+ "mixins": [
2419
+ {
2420
+ "name": "NameMixin",
2421
+ "module": "/src/utils/mixins/NameMixin"
2422
+ },
2423
+ {
2424
+ "name": "ValueMixin",
2425
+ "module": "/src/utils/mixins/ValueMixin"
2426
+ },
2427
+ {
2428
+ "name": "DataAriaLabelMixin",
2429
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
2430
+ }
2431
+ ],
2432
+ "superclass": {
2433
+ "name": "FormfieldWrapper",
2434
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
2435
+ },
2436
+ "tagName": "mdc-checkbox",
2437
+ "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2438
+ "customElement": true,
2439
+ "slots": [
2440
+ {
2441
+ "description": "slot to add the label info icon",
2442
+ "name": "label-info",
2443
+ "inheritedFrom": {
2444
+ "name": "FormfieldWrapper",
2445
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2446
+ }
2447
+ }
2448
+ ]
2449
+ }
2450
+ ],
2451
+ "exports": [
2452
+ {
2453
+ "kind": "js",
2454
+ "name": "default",
2455
+ "declaration": {
2456
+ "name": "Checkbox",
2457
+ "module": "components/checkbox/checkbox.component.js"
2458
+ }
2459
+ }
2460
+ ]
2461
+ },
1932
2462
  {
1933
2463
  "kind": "javascript-module",
1934
2464
  "path": "components/divider/divider.component.js",
@@ -2365,6 +2895,14 @@
2365
2895
  {
2366
2896
  "description": "Allows customization of the default fill color.",
2367
2897
  "name": "--mdc-icon-fill-color"
2898
+ },
2899
+ {
2900
+ "description": "Allows customization of the icon size.",
2901
+ "name": "--mdc-icon-size"
2902
+ },
2903
+ {
2904
+ "description": "Allows customization of the icon border radius.",
2905
+ "name": "--mdc-icon-border-radius"
2368
2906
  }
2369
2907
  ],
2370
2908
  "members": [
@@ -2533,7 +3071,7 @@
2533
3071
  "module": "/src/models"
2534
3072
  },
2535
3073
  "tagName": "mdc-icon",
2536
- "jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n */",
3074
+ "jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n * @cssproperty --mdc-icon-size - Allows customization of the icon size.\n * @cssproperty --mdc-icon-border-radius - Allows customization of the icon border radius.\n */",
2537
3075
  "customElement": true
2538
3076
  }
2539
3077
  ],
@@ -3105,6 +3643,68 @@
3105
3643
  "kind": "class",
3106
3644
  "description": "The `mdc-presence` component is a versatile UI element used to\ndisplay the presence status of a user or entity within an avatar component.\n\nThis component is ideal for use within avatar UIs where the presence status\nneeds to be visually represented.",
3107
3645
  "name": "Presence",
3646
+ "cssProperties": [
3647
+ {
3648
+ "description": "The background color of the presence type active.",
3649
+ "name": "--mdc-presence-active-background-color"
3650
+ },
3651
+ {
3652
+ "description": "The background color of the presence type away.",
3653
+ "name": "--mdc-presence-away-background-color"
3654
+ },
3655
+ {
3656
+ "description": "The background color of the presence type away-calling.",
3657
+ "name": "--mdc-presence-away-calling-background-color"
3658
+ },
3659
+ {
3660
+ "description": "The background color of the presence type busy.",
3661
+ "name": "--mdc-presence-busy-background-color"
3662
+ },
3663
+ {
3664
+ "description": "The background color of the presence type dnd.",
3665
+ "name": "--mdc-presence-dnd-background-color"
3666
+ },
3667
+ {
3668
+ "description": "The background color of the presence type meeting.",
3669
+ "name": "--mdc-presence-meeting-background-color"
3670
+ },
3671
+ {
3672
+ "description": "The background color of the presence type on-call.",
3673
+ "name": "--mdc-presence-on-call-background-color"
3674
+ },
3675
+ {
3676
+ "description": "The background color of the presence type on-device.",
3677
+ "name": "--mdc-presence-on-device-background-color"
3678
+ },
3679
+ {
3680
+ "description": "The background color of the presence type on-mobile.",
3681
+ "name": "--mdc-presence-on-mobile-background-color"
3682
+ },
3683
+ {
3684
+ "description": "The background color of the presence type pause.",
3685
+ "name": "--mdc-presence-pause-background-color"
3686
+ },
3687
+ {
3688
+ "description": "The background color of the presence type pto.",
3689
+ "name": "--mdc-presence-pto-background-color"
3690
+ },
3691
+ {
3692
+ "description": "The background color of the presence type presenting.",
3693
+ "name": "--mdc-presence-presenting-background-color"
3694
+ },
3695
+ {
3696
+ "description": "The background color of the presence type quiet.",
3697
+ "name": "--mdc-presence-quiet-background-color"
3698
+ },
3699
+ {
3700
+ "description": "The background color of the presence type scheduled.",
3701
+ "name": "--mdc-presence-scheduled-background-color"
3702
+ },
3703
+ {
3704
+ "description": "The background color of the presence type overlay.",
3705
+ "name": "--mdc-presence-overlay-background-color"
3706
+ }
3707
+ ],
3108
3708
  "members": [
3109
3709
  {
3110
3710
  "kind": "field",
@@ -3190,7 +3790,7 @@
3190
3790
  "module": "/src/models"
3191
3791
  },
3192
3792
  "tagName": "mdc-presence",
3193
- "jsDoc": "/**\n * The `mdc-presence` component is a versatile UI element used to\n * display the presence status of a user or entity within an avatar component.\n *\n * This component is ideal for use within avatar UIs where the presence status\n * needs to be visually represented.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-presence\n */",
3793
+ "jsDoc": "/**\n * The `mdc-presence` component is a versatile UI element used to\n * display the presence status of a user or entity within an avatar component.\n *\n * This component is ideal for use within avatar UIs where the presence status\n * needs to be visually represented.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-presence\n *\n * @cssproperty --mdc-presence-active-background-color - The background color of the presence type active.\n * @cssproperty --mdc-presence-away-background-color - The background color of the presence type away.\n * @cssproperty --mdc-presence-away-calling-background-color - The background color of the presence type away-calling.\n * @cssproperty --mdc-presence-busy-background-color - The background color of the presence type busy.\n * @cssproperty --mdc-presence-dnd-background-color - The background color of the presence type dnd.\n * @cssproperty --mdc-presence-meeting-background-color - The background color of the presence type meeting.\n * @cssproperty --mdc-presence-on-call-background-color - The background color of the presence type on-call.\n * @cssproperty --mdc-presence-on-device-background-color - The background color of the presence type on-device.\n * @cssproperty --mdc-presence-on-mobile-background-color - The background color of the presence type on-mobile.\n * @cssproperty --mdc-presence-pause-background-color - The background color of the presence type pause.\n * @cssproperty --mdc-presence-pto-background-color - The background color of the presence type pto.\n * @cssproperty --mdc-presence-presenting-background-color - The background color of the presence type presenting.\n * @cssproperty --mdc-presence-quiet-background-color - The background color of the presence type quiet.\n * @cssproperty --mdc-presence-scheduled-background-color - The background color of the presence type scheduled.\n * @cssproperty --mdc-presence-overlay-background-color - The background color of the presence type overlay.\n */",
3194
3794
  "customElement": true
3195
3795
  }
3196
3796
  ],
@@ -3544,6 +4144,59 @@
3544
4144
  }
3545
4145
  ]
3546
4146
  },
4147
+ {
4148
+ "kind": "javascript-module",
4149
+ "path": "utils/mixins/DataAriaLabelMixin.js",
4150
+ "declarations": [
4151
+ {
4152
+ "kind": "mixin",
4153
+ "description": "",
4154
+ "name": "DataAriaLabelMixin",
4155
+ "members": [
4156
+ {
4157
+ "kind": "field",
4158
+ "name": "dataAriaLabel",
4159
+ "type": {
4160
+ "text": "string | null"
4161
+ },
4162
+ "default": "null",
4163
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
4164
+ "attribute": "data-aria-label",
4165
+ "reflects": true
4166
+ }
4167
+ ],
4168
+ "attributes": [
4169
+ {
4170
+ "name": "data-aria-label",
4171
+ "type": {
4172
+ "text": "string | null"
4173
+ },
4174
+ "default": "null",
4175
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
4176
+ "fieldName": "dataAriaLabel"
4177
+ }
4178
+ ],
4179
+ "parameters": [
4180
+ {
4181
+ "name": "superClass",
4182
+ "type": {
4183
+ "text": "T"
4184
+ }
4185
+ }
4186
+ ]
4187
+ }
4188
+ ],
4189
+ "exports": [
4190
+ {
4191
+ "kind": "js",
4192
+ "name": "DataAriaLabelMixin",
4193
+ "declaration": {
4194
+ "name": "DataAriaLabelMixin",
4195
+ "module": "utils/mixins/DataAriaLabelMixin.js"
4196
+ }
4197
+ }
4198
+ ]
4199
+ },
3547
4200
  {
3548
4201
  "kind": "javascript-module",
3549
4202
  "path": "utils/mixins/DisabledMixin.js",