@momentum-design/components 0.15.4 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +72 -54
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatar/avatar.component.d.ts +2 -65
- package/dist/components/avatar/avatar.component.js +5 -50
- package/dist/components/avatar/avatar.constants.d.ts +11 -2
- package/dist/components/avatar/avatar.constants.js +11 -3
- package/dist/components/avatar/avatar.styles.js +14 -14
- package/dist/components/avatar/avatar.types.d.ts +1 -2
- package/dist/components/avatar/avatar.utils.d.ts +3 -1
- package/dist/components/avatar/avatar.utils.js +29 -16
- package/dist/components/avatarbutton/avatarbutton.component.d.ts +25 -0
- package/dist/components/avatarbutton/avatarbutton.component.js +70 -0
- package/dist/components/avatarbutton/avatarbutton.constants.d.ts +2 -0
- package/dist/components/avatarbutton/avatarbutton.constants.js +3 -0
- package/dist/components/avatarbutton/avatarbutton.styles.d.ts +2 -0
- package/dist/components/avatarbutton/avatarbutton.styles.js +11 -0
- package/dist/components/avatarbutton/index.d.ts +8 -0
- package/dist/components/avatarbutton/index.js +5 -0
- package/dist/components/button/button.component.d.ts +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +1 -4
- package/dist/components/buttonsimple/buttonsimple.component.js +1 -4
- package/dist/custom-elements.json +987 -112
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/avatarbutton/index.d.ts +13 -0
- package/dist/react/avatarbutton/index.js +22 -0
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +2 -1
- package/dist/utils/mixins/AvatarComponentMixin.d.ts +15 -0
- package/dist/utils/mixins/AvatarComponentMixin.js +66 -0
- package/dist/utils/mixins/DisabledMixin.d.ts +1 -2
- package/dist/utils/mixins/TabIndexMixin.d.ts +1 -2
- package/dist/utils/mixins/index.types.d.ts +1 -0
- package/dist/utils/mixins/index.types.js +1 -0
- package/package.json +1 -1
@@ -40,7 +40,11 @@
|
|
40
40
|
"text": "string | undefined"
|
41
41
|
},
|
42
42
|
"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.",
|
43
|
-
"attribute": "src"
|
43
|
+
"attribute": "src",
|
44
|
+
"inheritedFrom": {
|
45
|
+
"name": "AvatarComponentMixin",
|
46
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
47
|
+
}
|
44
48
|
},
|
45
49
|
{
|
46
50
|
"kind": "field",
|
@@ -49,7 +53,11 @@
|
|
49
53
|
"text": "string | undefined"
|
50
54
|
},
|
51
55
|
"description": "The initials to be displayed for the avatar.",
|
52
|
-
"attribute": "initials"
|
56
|
+
"attribute": "initials",
|
57
|
+
"inheritedFrom": {
|
58
|
+
"name": "AvatarComponentMixin",
|
59
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
60
|
+
}
|
53
61
|
},
|
54
62
|
{
|
55
63
|
"kind": "field",
|
@@ -58,7 +66,11 @@
|
|
58
66
|
"text": "PresenceType | undefined"
|
59
67
|
},
|
60
68
|
"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`",
|
61
|
-
"attribute": "presence"
|
69
|
+
"attribute": "presence",
|
70
|
+
"inheritedFrom": {
|
71
|
+
"name": "AvatarComponentMixin",
|
72
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
73
|
+
}
|
62
74
|
},
|
63
75
|
{
|
64
76
|
"kind": "field",
|
@@ -66,10 +78,14 @@
|
|
66
78
|
"type": {
|
67
79
|
"text": "AvatarSize"
|
68
80
|
},
|
69
|
-
"description": "Acceptable values include:\n-
|
70
|
-
"default": "
|
81
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
82
|
+
"default": "32",
|
71
83
|
"attribute": "size",
|
72
|
-
"reflects": true
|
84
|
+
"reflects": true,
|
85
|
+
"inheritedFrom": {
|
86
|
+
"name": "AvatarComponentMixin",
|
87
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
88
|
+
}
|
73
89
|
},
|
74
90
|
{
|
75
91
|
"kind": "field",
|
@@ -78,7 +94,11 @@
|
|
78
94
|
"text": "IconNames | undefined"
|
79
95
|
},
|
80
96
|
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
81
|
-
"attribute": "icon-name"
|
97
|
+
"attribute": "icon-name",
|
98
|
+
"inheritedFrom": {
|
99
|
+
"name": "AvatarComponentMixin",
|
100
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
101
|
+
}
|
82
102
|
},
|
83
103
|
{
|
84
104
|
"kind": "field",
|
@@ -86,8 +106,12 @@
|
|
86
106
|
"type": {
|
87
107
|
"text": "number | undefined"
|
88
108
|
},
|
89
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the
|
90
|
-
"attribute": "counter"
|
109
|
+
"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`.",
|
110
|
+
"attribute": "counter",
|
111
|
+
"inheritedFrom": {
|
112
|
+
"name": "AvatarComponentMixin",
|
113
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
114
|
+
}
|
91
115
|
},
|
92
116
|
{
|
93
117
|
"kind": "field",
|
@@ -97,17 +121,496 @@
|
|
97
121
|
},
|
98
122
|
"default": "false",
|
99
123
|
"description": "Represents the typing indicator when the user is typing.",
|
100
|
-
"attribute": "is-typing"
|
124
|
+
"attribute": "is-typing",
|
125
|
+
"inheritedFrom": {
|
126
|
+
"name": "AvatarComponentMixin",
|
127
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"mixins": [
|
132
|
+
{
|
133
|
+
"name": "AvatarComponentMixin",
|
134
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"superclass": {
|
138
|
+
"name": "Component",
|
139
|
+
"module": "/src/models"
|
140
|
+
},
|
141
|
+
"tagName": "mdc-avatar",
|
142
|
+
"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 */",
|
143
|
+
"customElement": true,
|
144
|
+
"attributes": [
|
145
|
+
{
|
146
|
+
"name": "src",
|
147
|
+
"type": {
|
148
|
+
"text": "string | undefined"
|
149
|
+
},
|
150
|
+
"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.",
|
151
|
+
"fieldName": "src",
|
152
|
+
"inheritedFrom": {
|
153
|
+
"name": "AvatarComponentMixin",
|
154
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"name": "initials",
|
159
|
+
"type": {
|
160
|
+
"text": "string | undefined"
|
161
|
+
},
|
162
|
+
"description": "The initials to be displayed for the avatar.",
|
163
|
+
"fieldName": "initials",
|
164
|
+
"inheritedFrom": {
|
165
|
+
"name": "AvatarComponentMixin",
|
166
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
167
|
+
}
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"name": "presence",
|
171
|
+
"type": {
|
172
|
+
"text": "PresenceType | undefined"
|
173
|
+
},
|
174
|
+
"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`",
|
175
|
+
"fieldName": "presence",
|
176
|
+
"inheritedFrom": {
|
177
|
+
"name": "AvatarComponentMixin",
|
178
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
179
|
+
}
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"name": "size",
|
183
|
+
"type": {
|
184
|
+
"text": "AvatarSize"
|
185
|
+
},
|
186
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
187
|
+
"default": "32",
|
188
|
+
"fieldName": "size",
|
189
|
+
"inheritedFrom": {
|
190
|
+
"name": "AvatarComponentMixin",
|
191
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"name": "icon-name",
|
196
|
+
"type": {
|
197
|
+
"text": "IconNames | undefined"
|
198
|
+
},
|
199
|
+
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
200
|
+
"fieldName": "iconName",
|
201
|
+
"inheritedFrom": {
|
202
|
+
"name": "AvatarComponentMixin",
|
203
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
204
|
+
}
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"name": "counter",
|
208
|
+
"type": {
|
209
|
+
"text": "number | undefined"
|
210
|
+
},
|
211
|
+
"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`.",
|
212
|
+
"fieldName": "counter",
|
213
|
+
"inheritedFrom": {
|
214
|
+
"name": "AvatarComponentMixin",
|
215
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
216
|
+
}
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"name": "is-typing",
|
220
|
+
"type": {
|
221
|
+
"text": "boolean"
|
222
|
+
},
|
223
|
+
"default": "false",
|
224
|
+
"description": "Represents the typing indicator when the user is typing.",
|
225
|
+
"fieldName": "isTyping",
|
226
|
+
"inheritedFrom": {
|
227
|
+
"name": "AvatarComponentMixin",
|
228
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
229
|
+
}
|
230
|
+
}
|
231
|
+
]
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"exports": [
|
235
|
+
{
|
236
|
+
"kind": "js",
|
237
|
+
"name": "default",
|
238
|
+
"declaration": {
|
239
|
+
"name": "Avatar",
|
240
|
+
"module": "components/avatar/avatar.component.js"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
]
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"kind": "javascript-module",
|
247
|
+
"path": "components/avatarbutton/avatarbutton.component.js",
|
248
|
+
"declarations": [
|
249
|
+
{
|
250
|
+
"kind": "class",
|
251
|
+
"description": "The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n\nThis component is made by extending `buttonsimple` class.\nThe button component acts as a wrapper for the avatar component.",
|
252
|
+
"name": "AvatarButton",
|
253
|
+
"members": [
|
254
|
+
{
|
255
|
+
"kind": "field",
|
256
|
+
"name": "ariaLabel",
|
257
|
+
"type": {
|
258
|
+
"text": "string | null"
|
259
|
+
},
|
260
|
+
"default": "null",
|
261
|
+
"description": "Aria-label attribute to be set for accessibility",
|
262
|
+
"attribute": "aria-label"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"kind": "method",
|
266
|
+
"name": "setSize",
|
267
|
+
"privacy": "private",
|
268
|
+
"parameters": [
|
269
|
+
{
|
270
|
+
"name": "size",
|
271
|
+
"type": {
|
272
|
+
"text": "AvatarSize"
|
273
|
+
}
|
274
|
+
}
|
275
|
+
]
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"kind": "field",
|
279
|
+
"name": "active",
|
280
|
+
"type": {
|
281
|
+
"text": "boolean"
|
282
|
+
},
|
283
|
+
"default": "undefined as unknown",
|
284
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
|
285
|
+
"attribute": "active",
|
286
|
+
"inheritedFrom": {
|
287
|
+
"name": "Buttonsimple",
|
288
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
289
|
+
}
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"kind": "field",
|
293
|
+
"name": "disabled",
|
294
|
+
"type": {
|
295
|
+
"text": "boolean"
|
296
|
+
},
|
297
|
+
"default": "undefined as unknown",
|
298
|
+
"description": "Indicates whether the button is disabled.\nWhen the button is disabled for user interaction; it is not focusable or clickable.",
|
299
|
+
"attribute": "disabled",
|
300
|
+
"inheritedFrom": {
|
301
|
+
"name": "Buttonsimple",
|
302
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"kind": "field",
|
307
|
+
"name": "softDisabled",
|
308
|
+
"type": {
|
309
|
+
"text": "boolean"
|
310
|
+
},
|
311
|
+
"default": "undefined as unknown",
|
312
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
313
|
+
"attribute": "soft-disabled",
|
314
|
+
"inheritedFrom": {
|
315
|
+
"name": "Buttonsimple",
|
316
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
317
|
+
}
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"kind": "field",
|
321
|
+
"name": "role",
|
322
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
323
|
+
"default": "'button'",
|
324
|
+
"attribute": "role",
|
325
|
+
"reflects": true,
|
326
|
+
"type": {
|
327
|
+
"text": "string"
|
328
|
+
},
|
329
|
+
"inheritedFrom": {
|
330
|
+
"name": "Buttonsimple",
|
331
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
332
|
+
}
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"kind": "field",
|
336
|
+
"name": "type",
|
337
|
+
"type": {
|
338
|
+
"text": "ButtonType"
|
339
|
+
},
|
340
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
341
|
+
"default": "button",
|
342
|
+
"attribute": "type",
|
343
|
+
"reflects": true,
|
344
|
+
"inheritedFrom": {
|
345
|
+
"name": "Buttonsimple",
|
346
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
347
|
+
}
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"kind": "field",
|
351
|
+
"name": "src",
|
352
|
+
"type": {
|
353
|
+
"text": "string | undefined"
|
354
|
+
},
|
355
|
+
"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.",
|
356
|
+
"attribute": "src",
|
357
|
+
"inheritedFrom": {
|
358
|
+
"name": "AvatarComponentMixin",
|
359
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
360
|
+
}
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"kind": "field",
|
364
|
+
"name": "initials",
|
365
|
+
"type": {
|
366
|
+
"text": "string | undefined"
|
367
|
+
},
|
368
|
+
"description": "The initials to be displayed for the avatar.",
|
369
|
+
"attribute": "initials",
|
370
|
+
"inheritedFrom": {
|
371
|
+
"name": "AvatarComponentMixin",
|
372
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
373
|
+
}
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"kind": "field",
|
377
|
+
"name": "presence",
|
378
|
+
"type": {
|
379
|
+
"text": "PresenceType | undefined"
|
380
|
+
},
|
381
|
+
"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`",
|
382
|
+
"attribute": "presence",
|
383
|
+
"inheritedFrom": {
|
384
|
+
"name": "AvatarComponentMixin",
|
385
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
386
|
+
}
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"kind": "field",
|
390
|
+
"name": "size",
|
391
|
+
"type": {
|
392
|
+
"text": "ButtonSize"
|
393
|
+
},
|
394
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
395
|
+
"default": "32",
|
396
|
+
"attribute": "size",
|
397
|
+
"reflects": true,
|
398
|
+
"inheritedFrom": {
|
399
|
+
"name": "Buttonsimple",
|
400
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
401
|
+
}
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"kind": "field",
|
405
|
+
"name": "iconName",
|
406
|
+
"type": {
|
407
|
+
"text": "IconNames | undefined"
|
408
|
+
},
|
409
|
+
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
410
|
+
"attribute": "icon-name",
|
411
|
+
"inheritedFrom": {
|
412
|
+
"name": "AvatarComponentMixin",
|
413
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
414
|
+
}
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"kind": "field",
|
418
|
+
"name": "counter",
|
419
|
+
"type": {
|
420
|
+
"text": "number | undefined"
|
421
|
+
},
|
422
|
+
"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`.",
|
423
|
+
"attribute": "counter",
|
424
|
+
"inheritedFrom": {
|
425
|
+
"name": "AvatarComponentMixin",
|
426
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
427
|
+
}
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"kind": "field",
|
431
|
+
"name": "isTyping",
|
432
|
+
"type": {
|
433
|
+
"text": "boolean"
|
434
|
+
},
|
435
|
+
"default": "false",
|
436
|
+
"description": "Represents the typing indicator when the user is typing.",
|
437
|
+
"attribute": "is-typing",
|
438
|
+
"inheritedFrom": {
|
439
|
+
"name": "AvatarComponentMixin",
|
440
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
441
|
+
}
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"kind": "field",
|
445
|
+
"name": "tabIndex",
|
446
|
+
"type": {
|
447
|
+
"text": "number"
|
448
|
+
},
|
449
|
+
"default": "0",
|
450
|
+
"description": "The tabindex of the button.",
|
451
|
+
"attribute": "tabIndex",
|
452
|
+
"reflects": true,
|
453
|
+
"inheritedFrom": {
|
454
|
+
"name": "Buttonsimple",
|
455
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
456
|
+
}
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"kind": "method",
|
460
|
+
"name": "executeAction",
|
461
|
+
"privacy": "private",
|
462
|
+
"inheritedFrom": {
|
463
|
+
"name": "Buttonsimple",
|
464
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
465
|
+
}
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"kind": "method",
|
469
|
+
"name": "setAriaPressed",
|
470
|
+
"privacy": "private",
|
471
|
+
"parameters": [
|
472
|
+
{
|
473
|
+
"name": "element",
|
474
|
+
"type": {
|
475
|
+
"text": "HTMLElement"
|
476
|
+
},
|
477
|
+
"description": "The target element."
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"name": "active",
|
481
|
+
"type": {
|
482
|
+
"text": "boolean"
|
483
|
+
},
|
484
|
+
"description": "The active state."
|
485
|
+
}
|
486
|
+
],
|
487
|
+
"description": "Sets the aria-pressed attribute based on the active state.",
|
488
|
+
"inheritedFrom": {
|
489
|
+
"name": "Buttonsimple",
|
490
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
491
|
+
}
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"kind": "method",
|
495
|
+
"name": "setSoftDisabled",
|
496
|
+
"privacy": "private",
|
497
|
+
"parameters": [
|
498
|
+
{
|
499
|
+
"name": "element",
|
500
|
+
"type": {
|
501
|
+
"text": "HTMLElement"
|
502
|
+
},
|
503
|
+
"description": "The button element."
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"name": "softDisabled",
|
507
|
+
"type": {
|
508
|
+
"text": "boolean"
|
509
|
+
},
|
510
|
+
"description": "The soft-disabled state."
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
514
|
+
"inheritedFrom": {
|
515
|
+
"name": "Buttonsimple",
|
516
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
517
|
+
}
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"kind": "method",
|
521
|
+
"name": "setDisabled",
|
522
|
+
"privacy": "private",
|
523
|
+
"parameters": [
|
524
|
+
{
|
525
|
+
"name": "element",
|
526
|
+
"type": {
|
527
|
+
"text": "HTMLElement"
|
528
|
+
},
|
529
|
+
"description": "The button element."
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"name": "disabled",
|
533
|
+
"type": {
|
534
|
+
"text": "boolean"
|
535
|
+
},
|
536
|
+
"description": "The disabled state."
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
540
|
+
"inheritedFrom": {
|
541
|
+
"name": "Buttonsimple",
|
542
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
543
|
+
}
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"kind": "method",
|
547
|
+
"name": "triggerClickEvent",
|
548
|
+
"privacy": "private",
|
549
|
+
"inheritedFrom": {
|
550
|
+
"name": "Buttonsimple",
|
551
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"kind": "method",
|
556
|
+
"name": "handleKeyDown",
|
557
|
+
"privacy": "private",
|
558
|
+
"parameters": [
|
559
|
+
{
|
560
|
+
"name": "event",
|
561
|
+
"type": {
|
562
|
+
"text": "KeyboardEvent"
|
563
|
+
},
|
564
|
+
"description": "The keyboard event."
|
565
|
+
}
|
566
|
+
],
|
567
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.",
|
568
|
+
"inheritedFrom": {
|
569
|
+
"name": "Buttonsimple",
|
570
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
571
|
+
}
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"kind": "method",
|
575
|
+
"name": "handleKeyUp",
|
576
|
+
"privacy": "private",
|
577
|
+
"parameters": [
|
578
|
+
{
|
579
|
+
"name": "event",
|
580
|
+
"type": {
|
581
|
+
"text": "KeyboardEvent"
|
582
|
+
},
|
583
|
+
"description": "The keyboard event."
|
584
|
+
}
|
585
|
+
],
|
586
|
+
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
587
|
+
"inheritedFrom": {
|
588
|
+
"name": "Buttonsimple",
|
589
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
590
|
+
}
|
101
591
|
}
|
102
592
|
],
|
103
593
|
"attributes": [
|
594
|
+
{
|
595
|
+
"name": "aria-label",
|
596
|
+
"type": {
|
597
|
+
"text": "string | null"
|
598
|
+
},
|
599
|
+
"default": "null",
|
600
|
+
"description": "Aria-label attribute to be set for accessibility",
|
601
|
+
"fieldName": "ariaLabel"
|
602
|
+
},
|
104
603
|
{
|
105
604
|
"name": "src",
|
106
605
|
"type": {
|
107
606
|
"text": "string | undefined"
|
108
607
|
},
|
109
608
|
"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.",
|
110
|
-
"fieldName": "src"
|
609
|
+
"fieldName": "src",
|
610
|
+
"inheritedFrom": {
|
611
|
+
"name": "AvatarComponentMixin",
|
612
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
613
|
+
}
|
111
614
|
},
|
112
615
|
{
|
113
616
|
"name": "initials",
|
@@ -115,7 +618,11 @@
|
|
115
618
|
"text": "string | undefined"
|
116
619
|
},
|
117
620
|
"description": "The initials to be displayed for the avatar.",
|
118
|
-
"fieldName": "initials"
|
621
|
+
"fieldName": "initials",
|
622
|
+
"inheritedFrom": {
|
623
|
+
"name": "AvatarComponentMixin",
|
624
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
625
|
+
}
|
119
626
|
},
|
120
627
|
{
|
121
628
|
"name": "presence",
|
@@ -123,16 +630,24 @@
|
|
123
630
|
"text": "PresenceType | undefined"
|
124
631
|
},
|
125
632
|
"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`",
|
126
|
-
"fieldName": "presence"
|
633
|
+
"fieldName": "presence",
|
634
|
+
"inheritedFrom": {
|
635
|
+
"name": "AvatarComponentMixin",
|
636
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
637
|
+
}
|
127
638
|
},
|
128
639
|
{
|
129
640
|
"name": "size",
|
130
641
|
"type": {
|
131
|
-
"text": "
|
642
|
+
"text": "ButtonSize"
|
132
643
|
},
|
133
|
-
"description": "Acceptable values include:\n-
|
134
|
-
"default": "
|
135
|
-
"fieldName": "size"
|
644
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
645
|
+
"default": "32",
|
646
|
+
"fieldName": "size",
|
647
|
+
"inheritedFrom": {
|
648
|
+
"name": "Buttonsimple",
|
649
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
650
|
+
}
|
136
651
|
},
|
137
652
|
{
|
138
653
|
"name": "icon-name",
|
@@ -140,15 +655,23 @@
|
|
140
655
|
"text": "IconNames | undefined"
|
141
656
|
},
|
142
657
|
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
143
|
-
"fieldName": "iconName"
|
658
|
+
"fieldName": "iconName",
|
659
|
+
"inheritedFrom": {
|
660
|
+
"name": "AvatarComponentMixin",
|
661
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
662
|
+
}
|
144
663
|
},
|
145
664
|
{
|
146
665
|
"name": "counter",
|
147
666
|
"type": {
|
148
667
|
"text": "number | undefined"
|
149
668
|
},
|
150
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the
|
151
|
-
"fieldName": "counter"
|
669
|
+
"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`.",
|
670
|
+
"fieldName": "counter",
|
671
|
+
"inheritedFrom": {
|
672
|
+
"name": "AvatarComponentMixin",
|
673
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
674
|
+
}
|
152
675
|
},
|
153
676
|
{
|
154
677
|
"name": "is-typing",
|
@@ -157,15 +680,100 @@
|
|
157
680
|
},
|
158
681
|
"default": "false",
|
159
682
|
"description": "Represents the typing indicator when the user is typing.",
|
160
|
-
"fieldName": "isTyping"
|
683
|
+
"fieldName": "isTyping",
|
684
|
+
"inheritedFrom": {
|
685
|
+
"name": "AvatarComponentMixin",
|
686
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
687
|
+
}
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"name": "active",
|
691
|
+
"type": {
|
692
|
+
"text": "boolean"
|
693
|
+
},
|
694
|
+
"default": "false",
|
695
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
|
696
|
+
"fieldName": "active",
|
697
|
+
"inheritedFrom": {
|
698
|
+
"name": "Buttonsimple",
|
699
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
700
|
+
}
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"name": "disabled",
|
704
|
+
"type": {
|
705
|
+
"text": "boolean"
|
706
|
+
},
|
707
|
+
"default": "false",
|
708
|
+
"description": "Indicates whether the button is disabled.\nWhen the button is disabled for user interaction; it is not focusable or clickable.",
|
709
|
+
"fieldName": "disabled",
|
710
|
+
"inheritedFrom": {
|
711
|
+
"name": "Buttonsimple",
|
712
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
713
|
+
}
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"name": "soft-disabled",
|
717
|
+
"type": {
|
718
|
+
"text": "boolean"
|
719
|
+
},
|
720
|
+
"default": "false",
|
721
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
722
|
+
"fieldName": "softDisabled",
|
723
|
+
"inheritedFrom": {
|
724
|
+
"name": "Buttonsimple",
|
725
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
726
|
+
}
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"name": "tabIndex",
|
730
|
+
"type": {
|
731
|
+
"text": "number"
|
732
|
+
},
|
733
|
+
"default": "0",
|
734
|
+
"description": "The tabindex of the button.",
|
735
|
+
"fieldName": "tabIndex",
|
736
|
+
"inheritedFrom": {
|
737
|
+
"name": "Buttonsimple",
|
738
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
739
|
+
}
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"name": "role",
|
743
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
744
|
+
"default": "button",
|
745
|
+
"fieldName": "role",
|
746
|
+
"inheritedFrom": {
|
747
|
+
"name": "Buttonsimple",
|
748
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
749
|
+
}
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"name": "type",
|
753
|
+
"type": {
|
754
|
+
"text": "ButtonType"
|
755
|
+
},
|
756
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
757
|
+
"default": "button",
|
758
|
+
"fieldName": "type",
|
759
|
+
"inheritedFrom": {
|
760
|
+
"name": "Buttonsimple",
|
761
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
762
|
+
}
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"mixins": [
|
766
|
+
{
|
767
|
+
"name": "AvatarComponentMixin",
|
768
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
161
769
|
}
|
162
770
|
],
|
163
771
|
"superclass": {
|
164
|
-
"name": "
|
165
|
-
"module": "/src/
|
772
|
+
"name": "Buttonsimple",
|
773
|
+
"module": "/src/components/buttonsimple"
|
166
774
|
},
|
167
|
-
"tagName": "mdc-
|
168
|
-
"jsDoc": "/**\n * The `mdc-
|
775
|
+
"tagName": "mdc-avatarbutton",
|
776
|
+
"jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @tagname mdc-avatarbutton\n */",
|
169
777
|
"customElement": true
|
170
778
|
}
|
171
779
|
],
|
@@ -174,8 +782,8 @@
|
|
174
782
|
"kind": "js",
|
175
783
|
"name": "default",
|
176
784
|
"declaration": {
|
177
|
-
"name": "
|
178
|
-
"module": "components/
|
785
|
+
"name": "AvatarButton",
|
786
|
+
"module": "components/avatarbutton/avatarbutton.component.js"
|
179
787
|
}
|
180
788
|
}
|
181
789
|
]
|
@@ -563,7 +1171,7 @@
|
|
563
1171
|
"type": {
|
564
1172
|
"text": "ButtonSize"
|
565
1173
|
},
|
566
|
-
"description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button
|
1174
|
+
"description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
|
567
1175
|
"default": "32",
|
568
1176
|
"attribute": "size",
|
569
1177
|
"reflects": true,
|
@@ -907,7 +1515,7 @@
|
|
907
1515
|
"type": {
|
908
1516
|
"text": "ButtonSize"
|
909
1517
|
},
|
910
|
-
"description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button
|
1518
|
+
"description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
|
911
1519
|
"default": "32",
|
912
1520
|
"fieldName": "size",
|
913
1521
|
"inheritedFrom": {
|
@@ -1068,7 +1676,7 @@
|
|
1068
1676
|
"type": {
|
1069
1677
|
"text": "ButtonSize"
|
1070
1678
|
},
|
1071
|
-
"description": "
|
1679
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
1072
1680
|
"default": "32",
|
1073
1681
|
"attribute": "size",
|
1074
1682
|
"reflects": true
|
@@ -1243,7 +1851,7 @@
|
|
1243
1851
|
"type": {
|
1244
1852
|
"text": "ButtonSize"
|
1245
1853
|
},
|
1246
|
-
"description": "
|
1854
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
1247
1855
|
"default": "32",
|
1248
1856
|
"fieldName": "size"
|
1249
1857
|
},
|
@@ -1703,77 +2311,6 @@
|
|
1703
2311
|
}
|
1704
2312
|
]
|
1705
2313
|
},
|
1706
|
-
{
|
1707
|
-
"kind": "javascript-module",
|
1708
|
-
"path": "components/marker/marker.component.js",
|
1709
|
-
"declarations": [
|
1710
|
-
{
|
1711
|
-
"kind": "class",
|
1712
|
-
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
1713
|
-
"name": "Marker",
|
1714
|
-
"cssProperties": [
|
1715
|
-
{
|
1716
|
-
"description": "Allows customization of the default background color in solid variant.",
|
1717
|
-
"name": "--mdc-marker-solid-background-color"
|
1718
|
-
},
|
1719
|
-
{
|
1720
|
-
"description": "Allows customization of the default stripes in striped variant.",
|
1721
|
-
"name": "--mdc-marker-striped-color"
|
1722
|
-
},
|
1723
|
-
{
|
1724
|
-
"description": "Allows customization of the default background color in striped variant.",
|
1725
|
-
"name": "--mdc-marker-striped-background-color"
|
1726
|
-
},
|
1727
|
-
{
|
1728
|
-
"description": "Allows customization of the default width.",
|
1729
|
-
"name": "--mdc-marker-width"
|
1730
|
-
}
|
1731
|
-
],
|
1732
|
-
"members": [
|
1733
|
-
{
|
1734
|
-
"kind": "field",
|
1735
|
-
"name": "variant",
|
1736
|
-
"type": {
|
1737
|
-
"text": "MarkerVariants"
|
1738
|
-
},
|
1739
|
-
"privacy": "public",
|
1740
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
1741
|
-
"default": "solid",
|
1742
|
-
"attribute": "variant",
|
1743
|
-
"reflects": true
|
1744
|
-
}
|
1745
|
-
],
|
1746
|
-
"attributes": [
|
1747
|
-
{
|
1748
|
-
"name": "variant",
|
1749
|
-
"type": {
|
1750
|
-
"text": "MarkerVariants"
|
1751
|
-
},
|
1752
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
1753
|
-
"default": "solid",
|
1754
|
-
"fieldName": "variant"
|
1755
|
-
}
|
1756
|
-
],
|
1757
|
-
"superclass": {
|
1758
|
-
"name": "Component",
|
1759
|
-
"module": "/src/models"
|
1760
|
-
},
|
1761
|
-
"tagName": "mdc-marker",
|
1762
|
-
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
1763
|
-
"customElement": true
|
1764
|
-
}
|
1765
|
-
],
|
1766
|
-
"exports": [
|
1767
|
-
{
|
1768
|
-
"kind": "js",
|
1769
|
-
"name": "default",
|
1770
|
-
"declaration": {
|
1771
|
-
"name": "Marker",
|
1772
|
-
"module": "components/marker/marker.component.js"
|
1773
|
-
}
|
1774
|
-
}
|
1775
|
-
]
|
1776
|
-
},
|
1777
2314
|
{
|
1778
2315
|
"kind": "javascript-module",
|
1779
2316
|
"path": "components/iconprovider/iconprovider.component.js",
|
@@ -1883,21 +2420,92 @@
|
|
1883
2420
|
"fieldName": "lengthUnit"
|
1884
2421
|
},
|
1885
2422
|
{
|
1886
|
-
"name": "size",
|
2423
|
+
"name": "size",
|
2424
|
+
"type": {
|
2425
|
+
"text": "number | undefined"
|
2426
|
+
},
|
2427
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
2428
|
+
"default": "1",
|
2429
|
+
"fieldName": "size"
|
2430
|
+
}
|
2431
|
+
],
|
2432
|
+
"superclass": {
|
2433
|
+
"name": "Provider",
|
2434
|
+
"module": "/src/models"
|
2435
|
+
},
|
2436
|
+
"tagName": "mdc-iconprovider",
|
2437
|
+
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
2438
|
+
"customElement": true
|
2439
|
+
}
|
2440
|
+
],
|
2441
|
+
"exports": [
|
2442
|
+
{
|
2443
|
+
"kind": "js",
|
2444
|
+
"name": "default",
|
2445
|
+
"declaration": {
|
2446
|
+
"name": "IconProvider",
|
2447
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
2448
|
+
}
|
2449
|
+
}
|
2450
|
+
]
|
2451
|
+
},
|
2452
|
+
{
|
2453
|
+
"kind": "javascript-module",
|
2454
|
+
"path": "components/marker/marker.component.js",
|
2455
|
+
"declarations": [
|
2456
|
+
{
|
2457
|
+
"kind": "class",
|
2458
|
+
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
2459
|
+
"name": "Marker",
|
2460
|
+
"cssProperties": [
|
2461
|
+
{
|
2462
|
+
"description": "Allows customization of the default background color in solid variant.",
|
2463
|
+
"name": "--mdc-marker-solid-background-color"
|
2464
|
+
},
|
2465
|
+
{
|
2466
|
+
"description": "Allows customization of the default stripes in striped variant.",
|
2467
|
+
"name": "--mdc-marker-striped-color"
|
2468
|
+
},
|
2469
|
+
{
|
2470
|
+
"description": "Allows customization of the default background color in striped variant.",
|
2471
|
+
"name": "--mdc-marker-striped-background-color"
|
2472
|
+
},
|
2473
|
+
{
|
2474
|
+
"description": "Allows customization of the default width.",
|
2475
|
+
"name": "--mdc-marker-width"
|
2476
|
+
}
|
2477
|
+
],
|
2478
|
+
"members": [
|
2479
|
+
{
|
2480
|
+
"kind": "field",
|
2481
|
+
"name": "variant",
|
2482
|
+
"type": {
|
2483
|
+
"text": "MarkerVariants"
|
2484
|
+
},
|
2485
|
+
"privacy": "public",
|
2486
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
2487
|
+
"default": "solid",
|
2488
|
+
"attribute": "variant",
|
2489
|
+
"reflects": true
|
2490
|
+
}
|
2491
|
+
],
|
2492
|
+
"attributes": [
|
2493
|
+
{
|
2494
|
+
"name": "variant",
|
1887
2495
|
"type": {
|
1888
|
-
"text": "
|
2496
|
+
"text": "MarkerVariants"
|
1889
2497
|
},
|
1890
|
-
"description": "
|
1891
|
-
"default": "
|
1892
|
-
"fieldName": "
|
2498
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
2499
|
+
"default": "solid",
|
2500
|
+
"fieldName": "variant"
|
1893
2501
|
}
|
1894
2502
|
],
|
1895
2503
|
"superclass": {
|
1896
|
-
"name": "
|
2504
|
+
"name": "Component",
|
1897
2505
|
"module": "/src/models"
|
1898
2506
|
},
|
1899
|
-
"tagName": "mdc-
|
1900
|
-
"jsDoc": "/**\n *
|
2507
|
+
"tagName": "mdc-marker",
|
2508
|
+
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
1901
2509
|
"customElement": true
|
1902
2510
|
}
|
1903
2511
|
],
|
@@ -1906,8 +2514,8 @@
|
|
1906
2514
|
"kind": "js",
|
1907
2515
|
"name": "default",
|
1908
2516
|
"declaration": {
|
1909
|
-
"name": "
|
1910
|
-
"module": "components/
|
2517
|
+
"name": "Marker",
|
2518
|
+
"module": "components/marker/marker.component.js"
|
1911
2519
|
}
|
1912
2520
|
}
|
1913
2521
|
]
|
@@ -2179,6 +2787,273 @@
|
|
2179
2787
|
}
|
2180
2788
|
}
|
2181
2789
|
]
|
2790
|
+
},
|
2791
|
+
{
|
2792
|
+
"kind": "javascript-module",
|
2793
|
+
"path": "utils/mixins/AvatarComponentMixin.js",
|
2794
|
+
"declarations": [
|
2795
|
+
{
|
2796
|
+
"kind": "mixin",
|
2797
|
+
"description": "",
|
2798
|
+
"name": "AvatarComponentMixin",
|
2799
|
+
"members": [
|
2800
|
+
{
|
2801
|
+
"kind": "field",
|
2802
|
+
"name": "src",
|
2803
|
+
"type": {
|
2804
|
+
"text": "string | undefined"
|
2805
|
+
},
|
2806
|
+
"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.",
|
2807
|
+
"attribute": "src"
|
2808
|
+
},
|
2809
|
+
{
|
2810
|
+
"kind": "field",
|
2811
|
+
"name": "initials",
|
2812
|
+
"type": {
|
2813
|
+
"text": "string | undefined"
|
2814
|
+
},
|
2815
|
+
"description": "The initials to be displayed for the avatar.",
|
2816
|
+
"attribute": "initials"
|
2817
|
+
},
|
2818
|
+
{
|
2819
|
+
"kind": "field",
|
2820
|
+
"name": "presence",
|
2821
|
+
"type": {
|
2822
|
+
"text": "PresenceType | undefined"
|
2823
|
+
},
|
2824
|
+
"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`",
|
2825
|
+
"attribute": "presence"
|
2826
|
+
},
|
2827
|
+
{
|
2828
|
+
"kind": "field",
|
2829
|
+
"name": "size",
|
2830
|
+
"type": {
|
2831
|
+
"text": "AvatarSize"
|
2832
|
+
},
|
2833
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
2834
|
+
"default": "32",
|
2835
|
+
"attribute": "size",
|
2836
|
+
"reflects": true
|
2837
|
+
},
|
2838
|
+
{
|
2839
|
+
"kind": "field",
|
2840
|
+
"name": "iconName",
|
2841
|
+
"type": {
|
2842
|
+
"text": "IconNames | undefined"
|
2843
|
+
},
|
2844
|
+
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
2845
|
+
"attribute": "icon-name"
|
2846
|
+
},
|
2847
|
+
{
|
2848
|
+
"kind": "field",
|
2849
|
+
"name": "counter",
|
2850
|
+
"type": {
|
2851
|
+
"text": "number | undefined"
|
2852
|
+
},
|
2853
|
+
"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`.",
|
2854
|
+
"attribute": "counter"
|
2855
|
+
},
|
2856
|
+
{
|
2857
|
+
"kind": "field",
|
2858
|
+
"name": "isTyping",
|
2859
|
+
"type": {
|
2860
|
+
"text": "boolean"
|
2861
|
+
},
|
2862
|
+
"default": "false",
|
2863
|
+
"description": "Represents the typing indicator when the user is typing.",
|
2864
|
+
"attribute": "is-typing"
|
2865
|
+
}
|
2866
|
+
],
|
2867
|
+
"attributes": [
|
2868
|
+
{
|
2869
|
+
"name": "src",
|
2870
|
+
"type": {
|
2871
|
+
"text": "string | undefined"
|
2872
|
+
},
|
2873
|
+
"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.",
|
2874
|
+
"fieldName": "src"
|
2875
|
+
},
|
2876
|
+
{
|
2877
|
+
"name": "initials",
|
2878
|
+
"type": {
|
2879
|
+
"text": "string | undefined"
|
2880
|
+
},
|
2881
|
+
"description": "The initials to be displayed for the avatar.",
|
2882
|
+
"fieldName": "initials"
|
2883
|
+
},
|
2884
|
+
{
|
2885
|
+
"name": "presence",
|
2886
|
+
"type": {
|
2887
|
+
"text": "PresenceType | undefined"
|
2888
|
+
},
|
2889
|
+
"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`",
|
2890
|
+
"fieldName": "presence"
|
2891
|
+
},
|
2892
|
+
{
|
2893
|
+
"name": "size",
|
2894
|
+
"type": {
|
2895
|
+
"text": "AvatarSize"
|
2896
|
+
},
|
2897
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
2898
|
+
"default": "32",
|
2899
|
+
"fieldName": "size"
|
2900
|
+
},
|
2901
|
+
{
|
2902
|
+
"name": "icon-name",
|
2903
|
+
"type": {
|
2904
|
+
"text": "IconNames | undefined"
|
2905
|
+
},
|
2906
|
+
"description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
|
2907
|
+
"fieldName": "iconName"
|
2908
|
+
},
|
2909
|
+
{
|
2910
|
+
"name": "counter",
|
2911
|
+
"type": {
|
2912
|
+
"text": "number | undefined"
|
2913
|
+
},
|
2914
|
+
"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`.",
|
2915
|
+
"fieldName": "counter"
|
2916
|
+
},
|
2917
|
+
{
|
2918
|
+
"name": "is-typing",
|
2919
|
+
"type": {
|
2920
|
+
"text": "boolean"
|
2921
|
+
},
|
2922
|
+
"default": "false",
|
2923
|
+
"description": "Represents the typing indicator when the user is typing.",
|
2924
|
+
"fieldName": "isTyping"
|
2925
|
+
}
|
2926
|
+
],
|
2927
|
+
"parameters": [
|
2928
|
+
{
|
2929
|
+
"name": "superClass",
|
2930
|
+
"type": {
|
2931
|
+
"text": "T"
|
2932
|
+
}
|
2933
|
+
}
|
2934
|
+
]
|
2935
|
+
}
|
2936
|
+
],
|
2937
|
+
"exports": [
|
2938
|
+
{
|
2939
|
+
"kind": "js",
|
2940
|
+
"name": "AvatarComponentMixin",
|
2941
|
+
"declaration": {
|
2942
|
+
"name": "AvatarComponentMixin",
|
2943
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
2944
|
+
}
|
2945
|
+
}
|
2946
|
+
]
|
2947
|
+
},
|
2948
|
+
{
|
2949
|
+
"kind": "javascript-module",
|
2950
|
+
"path": "utils/mixins/DisabledMixin.js",
|
2951
|
+
"declarations": [
|
2952
|
+
{
|
2953
|
+
"kind": "mixin",
|
2954
|
+
"description": "",
|
2955
|
+
"name": "DisabledMixin",
|
2956
|
+
"members": [
|
2957
|
+
{
|
2958
|
+
"kind": "field",
|
2959
|
+
"name": "disabled",
|
2960
|
+
"type": {
|
2961
|
+
"text": "boolean"
|
2962
|
+
},
|
2963
|
+
"privacy": "public",
|
2964
|
+
"default": "false",
|
2965
|
+
"attribute": "disabled",
|
2966
|
+
"reflects": true
|
2967
|
+
}
|
2968
|
+
],
|
2969
|
+
"attributes": [
|
2970
|
+
{
|
2971
|
+
"name": "disabled",
|
2972
|
+
"type": {
|
2973
|
+
"text": "boolean"
|
2974
|
+
},
|
2975
|
+
"default": "false",
|
2976
|
+
"fieldName": "disabled"
|
2977
|
+
}
|
2978
|
+
],
|
2979
|
+
"parameters": [
|
2980
|
+
{
|
2981
|
+
"name": "superClass",
|
2982
|
+
"type": {
|
2983
|
+
"text": "T"
|
2984
|
+
}
|
2985
|
+
}
|
2986
|
+
]
|
2987
|
+
}
|
2988
|
+
],
|
2989
|
+
"exports": [
|
2990
|
+
{
|
2991
|
+
"kind": "js",
|
2992
|
+
"name": "DisabledMixin",
|
2993
|
+
"declaration": {
|
2994
|
+
"name": "DisabledMixin",
|
2995
|
+
"module": "utils/mixins/DisabledMixin.js"
|
2996
|
+
}
|
2997
|
+
}
|
2998
|
+
]
|
2999
|
+
},
|
3000
|
+
{
|
3001
|
+
"kind": "javascript-module",
|
3002
|
+
"path": "utils/mixins/TabIndexMixin.js",
|
3003
|
+
"declarations": [
|
3004
|
+
{
|
3005
|
+
"kind": "mixin",
|
3006
|
+
"description": "",
|
3007
|
+
"name": "TabIndexMixin",
|
3008
|
+
"members": [
|
3009
|
+
{
|
3010
|
+
"kind": "field",
|
3011
|
+
"name": "tabIndex",
|
3012
|
+
"type": {
|
3013
|
+
"text": "number"
|
3014
|
+
},
|
3015
|
+
"privacy": "public",
|
3016
|
+
"default": "0",
|
3017
|
+
"attribute": "tabindex",
|
3018
|
+
"reflects": true
|
3019
|
+
}
|
3020
|
+
],
|
3021
|
+
"attributes": [
|
3022
|
+
{
|
3023
|
+
"name": "tabindex",
|
3024
|
+
"type": {
|
3025
|
+
"text": "number"
|
3026
|
+
},
|
3027
|
+
"default": "0",
|
3028
|
+
"fieldName": "tabIndex"
|
3029
|
+
}
|
3030
|
+
],
|
3031
|
+
"parameters": [
|
3032
|
+
{
|
3033
|
+
"name": "superClass",
|
3034
|
+
"type": {
|
3035
|
+
"text": "T"
|
3036
|
+
}
|
3037
|
+
}
|
3038
|
+
]
|
3039
|
+
}
|
3040
|
+
],
|
3041
|
+
"exports": [
|
3042
|
+
{
|
3043
|
+
"kind": "js",
|
3044
|
+
"name": "TabIndexMixin",
|
3045
|
+
"declaration": {
|
3046
|
+
"name": "TabIndexMixin",
|
3047
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
3048
|
+
}
|
3049
|
+
}
|
3050
|
+
]
|
3051
|
+
},
|
3052
|
+
{
|
3053
|
+
"kind": "javascript-module",
|
3054
|
+
"path": "utils/mixins/index.types.js",
|
3055
|
+
"declarations": [],
|
3056
|
+
"exports": []
|
2182
3057
|
}
|
2183
3058
|
]
|
2184
3059
|
}
|