@momentum-design/components 0.7.7 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.js +17 -17
- package/dist/browser/index.js.map +3 -3
- package/dist/components/badge/badge.component.d.ts +4 -0
- package/dist/components/badge/badge.component.js +4 -0
- package/dist/components/iconprovider/iconprovider.component.d.ts +5 -2
- package/dist/components/iconprovider/iconprovider.component.js +6 -3
- package/dist/components/iconprovider/iconprovider.constants.d.ts +3 -2
- package/dist/components/iconprovider/iconprovider.constants.js +7 -6
- package/dist/components/presence/presence.component.d.ts +2 -2
- package/dist/components/presence/presence.component.js +2 -2
- package/dist/components/text/text.component.d.ts +1 -0
- package/dist/components/text/text.component.js +1 -0
- package/dist/custom-elements.json +192 -178
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -114,178 +114,6 @@
|
|
114
114
|
}
|
115
115
|
]
|
116
116
|
},
|
117
|
-
{
|
118
|
-
"kind": "javascript-module",
|
119
|
-
"path": "components/icon/icon.component.js",
|
120
|
-
"declarations": [
|
121
|
-
{
|
122
|
-
"kind": "class",
|
123
|
-
"description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `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`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are two types of icons: decorative and informative.\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\".\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.",
|
124
|
-
"name": "Icon",
|
125
|
-
"cssProperties": [
|
126
|
-
{
|
127
|
-
"description": "Allows customization of the default fill color.",
|
128
|
-
"name": "--mdc-icon-fill-color"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"members": [
|
132
|
-
{
|
133
|
-
"kind": "field",
|
134
|
-
"name": "iconData",
|
135
|
-
"type": {
|
136
|
-
"text": "HTMLElement | undefined"
|
137
|
-
},
|
138
|
-
"privacy": "private"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"kind": "field",
|
142
|
-
"name": "lengthUnitFromContext",
|
143
|
-
"type": {
|
144
|
-
"text": "string | undefined"
|
145
|
-
},
|
146
|
-
"privacy": "private"
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"kind": "field",
|
150
|
-
"name": "sizeFromContext",
|
151
|
-
"type": {
|
152
|
-
"text": "number | undefined"
|
153
|
-
},
|
154
|
-
"privacy": "private"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"kind": "field",
|
158
|
-
"name": "name",
|
159
|
-
"type": {
|
160
|
-
"text": "string | undefined"
|
161
|
-
},
|
162
|
-
"description": "Name of the icon (= filename)",
|
163
|
-
"attribute": "name",
|
164
|
-
"reflects": true
|
165
|
-
},
|
166
|
-
{
|
167
|
-
"kind": "field",
|
168
|
-
"name": "size",
|
169
|
-
"type": {
|
170
|
-
"text": "number | undefined"
|
171
|
-
},
|
172
|
-
"description": "Size of the icon (works in combination with length unit)",
|
173
|
-
"attribute": "size"
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"kind": "field",
|
177
|
-
"name": "lengthUnit",
|
178
|
-
"type": {
|
179
|
-
"text": "string | undefined"
|
180
|
-
},
|
181
|
-
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
182
|
-
"attribute": "length-unit"
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"kind": "field",
|
186
|
-
"name": "ariaLabel",
|
187
|
-
"type": {
|
188
|
-
"text": "string | null"
|
189
|
-
},
|
190
|
-
"default": "null",
|
191
|
-
"description": "Aria-label attribute to be set for accessibility",
|
192
|
-
"attribute": "aria-label"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"kind": "field",
|
196
|
-
"name": "iconProviderContext",
|
197
|
-
"privacy": "private",
|
198
|
-
"readonly": true
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"kind": "method",
|
202
|
-
"name": "getIconData",
|
203
|
-
"privacy": "private",
|
204
|
-
"description": "Get Icon Data function which will fetch the icon (currently only svg)\nand sets state and attributes once fetched successfully"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"kind": "method",
|
208
|
-
"name": "updateSize",
|
209
|
-
"privacy": "private",
|
210
|
-
"description": "Updates the size by setting the width and height"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"kind": "method",
|
214
|
-
"name": "setRoleOnIcon",
|
215
|
-
"privacy": "private"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"kind": "method",
|
219
|
-
"name": "setAriaHiddenOnIcon",
|
220
|
-
"privacy": "private"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"kind": "method",
|
224
|
-
"name": "setAriaLabelOnIcon",
|
225
|
-
"privacy": "private"
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"kind": "field",
|
229
|
-
"name": "computedIconSize",
|
230
|
-
"privacy": "private",
|
231
|
-
"readonly": true
|
232
|
-
}
|
233
|
-
],
|
234
|
-
"attributes": [
|
235
|
-
{
|
236
|
-
"name": "name",
|
237
|
-
"type": {
|
238
|
-
"text": "string | undefined"
|
239
|
-
},
|
240
|
-
"description": "Name of the icon (= filename)",
|
241
|
-
"fieldName": "name"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"name": "size",
|
245
|
-
"type": {
|
246
|
-
"text": "number | undefined"
|
247
|
-
},
|
248
|
-
"description": "Size of the icon (works in combination with length unit)",
|
249
|
-
"fieldName": "size"
|
250
|
-
},
|
251
|
-
{
|
252
|
-
"name": "length-unit",
|
253
|
-
"type": {
|
254
|
-
"text": "string | undefined"
|
255
|
-
},
|
256
|
-
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
257
|
-
"fieldName": "lengthUnit"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "aria-label",
|
261
|
-
"type": {
|
262
|
-
"text": "string | null"
|
263
|
-
},
|
264
|
-
"default": "null",
|
265
|
-
"description": "Aria-label attribute to be set for accessibility",
|
266
|
-
"fieldName": "ariaLabel"
|
267
|
-
}
|
268
|
-
],
|
269
|
-
"superclass": {
|
270
|
-
"name": "Component",
|
271
|
-
"module": "/src/models"
|
272
|
-
},
|
273
|
-
"tagName": "mdc-icon",
|
274
|
-
"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 two types of icons: decorative and informative.\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\".\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 * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n */",
|
275
|
-
"customElement": true
|
276
|
-
}
|
277
|
-
],
|
278
|
-
"exports": [
|
279
|
-
{
|
280
|
-
"kind": "js",
|
281
|
-
"name": "default",
|
282
|
-
"declaration": {
|
283
|
-
"name": "Icon",
|
284
|
-
"module": "components/icon/icon.component.js"
|
285
|
-
}
|
286
|
-
}
|
287
|
-
]
|
288
|
-
},
|
289
117
|
{
|
290
118
|
"kind": "javascript-module",
|
291
119
|
"path": "components/badge/badge.component.js",
|
@@ -318,6 +146,7 @@
|
|
318
146
|
"kind": "field",
|
319
147
|
"name": "variant",
|
320
148
|
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
149
|
+
"default": "primary",
|
321
150
|
"attribute": "variant",
|
322
151
|
"reflects": true
|
323
152
|
},
|
@@ -337,6 +166,7 @@
|
|
337
166
|
"text": "number"
|
338
167
|
},
|
339
168
|
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
169
|
+
"default": "99",
|
340
170
|
"attribute": "max-counter",
|
341
171
|
"reflects": true
|
342
172
|
},
|
@@ -563,6 +393,7 @@
|
|
563
393
|
{
|
564
394
|
"name": "variant",
|
565
395
|
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
396
|
+
"default": "primary",
|
566
397
|
"fieldName": "variant"
|
567
398
|
},
|
568
399
|
{
|
@@ -579,6 +410,7 @@
|
|
579
410
|
"text": "number"
|
580
411
|
},
|
581
412
|
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
413
|
+
"default": "99",
|
582
414
|
"fieldName": "maxCounter"
|
583
415
|
},
|
584
416
|
{
|
@@ -620,6 +452,178 @@
|
|
620
452
|
}
|
621
453
|
]
|
622
454
|
},
|
455
|
+
{
|
456
|
+
"kind": "javascript-module",
|
457
|
+
"path": "components/icon/icon.component.js",
|
458
|
+
"declarations": [
|
459
|
+
{
|
460
|
+
"kind": "class",
|
461
|
+
"description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `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`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are two types of icons: decorative and informative.\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\".\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.",
|
462
|
+
"name": "Icon",
|
463
|
+
"cssProperties": [
|
464
|
+
{
|
465
|
+
"description": "Allows customization of the default fill color.",
|
466
|
+
"name": "--mdc-icon-fill-color"
|
467
|
+
}
|
468
|
+
],
|
469
|
+
"members": [
|
470
|
+
{
|
471
|
+
"kind": "field",
|
472
|
+
"name": "iconData",
|
473
|
+
"type": {
|
474
|
+
"text": "HTMLElement | undefined"
|
475
|
+
},
|
476
|
+
"privacy": "private"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"kind": "field",
|
480
|
+
"name": "lengthUnitFromContext",
|
481
|
+
"type": {
|
482
|
+
"text": "string | undefined"
|
483
|
+
},
|
484
|
+
"privacy": "private"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"kind": "field",
|
488
|
+
"name": "sizeFromContext",
|
489
|
+
"type": {
|
490
|
+
"text": "number | undefined"
|
491
|
+
},
|
492
|
+
"privacy": "private"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"kind": "field",
|
496
|
+
"name": "name",
|
497
|
+
"type": {
|
498
|
+
"text": "string | undefined"
|
499
|
+
},
|
500
|
+
"description": "Name of the icon (= filename)",
|
501
|
+
"attribute": "name",
|
502
|
+
"reflects": true
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"kind": "field",
|
506
|
+
"name": "size",
|
507
|
+
"type": {
|
508
|
+
"text": "number | undefined"
|
509
|
+
},
|
510
|
+
"description": "Size of the icon (works in combination with length unit)",
|
511
|
+
"attribute": "size"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"kind": "field",
|
515
|
+
"name": "lengthUnit",
|
516
|
+
"type": {
|
517
|
+
"text": "string | undefined"
|
518
|
+
},
|
519
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
520
|
+
"attribute": "length-unit"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"kind": "field",
|
524
|
+
"name": "ariaLabel",
|
525
|
+
"type": {
|
526
|
+
"text": "string | null"
|
527
|
+
},
|
528
|
+
"default": "null",
|
529
|
+
"description": "Aria-label attribute to be set for accessibility",
|
530
|
+
"attribute": "aria-label"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"kind": "field",
|
534
|
+
"name": "iconProviderContext",
|
535
|
+
"privacy": "private",
|
536
|
+
"readonly": true
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"kind": "method",
|
540
|
+
"name": "getIconData",
|
541
|
+
"privacy": "private",
|
542
|
+
"description": "Get Icon Data function which will fetch the icon (currently only svg)\nand sets state and attributes once fetched successfully"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"kind": "method",
|
546
|
+
"name": "updateSize",
|
547
|
+
"privacy": "private",
|
548
|
+
"description": "Updates the size by setting the width and height"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"kind": "method",
|
552
|
+
"name": "setRoleOnIcon",
|
553
|
+
"privacy": "private"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"kind": "method",
|
557
|
+
"name": "setAriaHiddenOnIcon",
|
558
|
+
"privacy": "private"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"kind": "method",
|
562
|
+
"name": "setAriaLabelOnIcon",
|
563
|
+
"privacy": "private"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"kind": "field",
|
567
|
+
"name": "computedIconSize",
|
568
|
+
"privacy": "private",
|
569
|
+
"readonly": true
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"attributes": [
|
573
|
+
{
|
574
|
+
"name": "name",
|
575
|
+
"type": {
|
576
|
+
"text": "string | undefined"
|
577
|
+
},
|
578
|
+
"description": "Name of the icon (= filename)",
|
579
|
+
"fieldName": "name"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"name": "size",
|
583
|
+
"type": {
|
584
|
+
"text": "number | undefined"
|
585
|
+
},
|
586
|
+
"description": "Size of the icon (works in combination with length unit)",
|
587
|
+
"fieldName": "size"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"name": "length-unit",
|
591
|
+
"type": {
|
592
|
+
"text": "string | undefined"
|
593
|
+
},
|
594
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
595
|
+
"fieldName": "lengthUnit"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"name": "aria-label",
|
599
|
+
"type": {
|
600
|
+
"text": "string | null"
|
601
|
+
},
|
602
|
+
"default": "null",
|
603
|
+
"description": "Aria-label attribute to be set for accessibility",
|
604
|
+
"fieldName": "ariaLabel"
|
605
|
+
}
|
606
|
+
],
|
607
|
+
"superclass": {
|
608
|
+
"name": "Component",
|
609
|
+
"module": "/src/models"
|
610
|
+
},
|
611
|
+
"tagName": "mdc-icon",
|
612
|
+
"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 two types of icons: decorative and informative.\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\".\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 * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n */",
|
613
|
+
"customElement": true
|
614
|
+
}
|
615
|
+
],
|
616
|
+
"exports": [
|
617
|
+
{
|
618
|
+
"kind": "js",
|
619
|
+
"name": "default",
|
620
|
+
"declaration": {
|
621
|
+
"name": "Icon",
|
622
|
+
"module": "components/icon/icon.component.js"
|
623
|
+
}
|
624
|
+
}
|
625
|
+
]
|
626
|
+
},
|
623
627
|
{
|
624
628
|
"kind": "javascript-module",
|
625
629
|
"path": "components/iconprovider/iconprovider.component.js",
|
@@ -658,7 +662,8 @@
|
|
658
662
|
"type": {
|
659
663
|
"text": "string | undefined"
|
660
664
|
},
|
661
|
-
"description": "File extension of icons
|
665
|
+
"description": "File extension of icons",
|
666
|
+
"default": "svg",
|
662
667
|
"attribute": "file-extension",
|
663
668
|
"reflects": true
|
664
669
|
},
|
@@ -668,7 +673,8 @@
|
|
668
673
|
"type": {
|
669
674
|
"text": "string"
|
670
675
|
},
|
671
|
-
"description": "Length unit used for sizing of icons
|
676
|
+
"description": "Length unit used for sizing of icons",
|
677
|
+
"default": "em",
|
672
678
|
"attribute": "length-unit",
|
673
679
|
"reflects": true
|
674
680
|
},
|
@@ -678,8 +684,8 @@
|
|
678
684
|
"type": {
|
679
685
|
"text": "number | undefined"
|
680
686
|
},
|
681
|
-
"default": "DEFAULTS.LENGTH_UNIT_SIZE[DEFAULTS.LENGTH_UNIT]",
|
682
687
|
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
688
|
+
"default": "1",
|
683
689
|
"attribute": "size",
|
684
690
|
"reflects": true
|
685
691
|
},
|
@@ -713,7 +719,8 @@
|
|
713
719
|
"type": {
|
714
720
|
"text": "string | undefined"
|
715
721
|
},
|
716
|
-
"description": "File extension of icons
|
722
|
+
"description": "File extension of icons",
|
723
|
+
"default": "svg",
|
717
724
|
"fieldName": "fileExtension"
|
718
725
|
},
|
719
726
|
{
|
@@ -721,7 +728,8 @@
|
|
721
728
|
"type": {
|
722
729
|
"text": "string"
|
723
730
|
},
|
724
|
-
"description": "Length unit used for sizing of icons
|
731
|
+
"description": "Length unit used for sizing of icons",
|
732
|
+
"default": "em",
|
725
733
|
"fieldName": "lengthUnit"
|
726
734
|
},
|
727
735
|
{
|
@@ -729,8 +737,8 @@
|
|
729
737
|
"type": {
|
730
738
|
"text": "number | undefined"
|
731
739
|
},
|
732
|
-
"default": "DEFAULTS.LENGTH_UNIT_SIZE[DEFAULTS.LENGTH_UNIT]",
|
733
740
|
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
741
|
+
"default": "1",
|
734
742
|
"fieldName": "size"
|
735
743
|
}
|
736
744
|
],
|
@@ -767,6 +775,7 @@
|
|
767
775
|
"kind": "field",
|
768
776
|
"name": "type",
|
769
777
|
"description": "Supported presence types:\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`",
|
778
|
+
"default": "active",
|
770
779
|
"attribute": "type",
|
771
780
|
"reflects": true
|
772
781
|
},
|
@@ -774,6 +783,7 @@
|
|
774
783
|
"kind": "field",
|
775
784
|
"name": "size",
|
776
785
|
"description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE",
|
786
|
+
"default": "small",
|
777
787
|
"attribute": "size",
|
778
788
|
"reflects": true
|
779
789
|
},
|
@@ -796,11 +806,13 @@
|
|
796
806
|
{
|
797
807
|
"name": "type",
|
798
808
|
"description": "Supported presence types:\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`",
|
809
|
+
"default": "active",
|
799
810
|
"fieldName": "type"
|
800
811
|
},
|
801
812
|
{
|
802
813
|
"name": "size",
|
803
814
|
"description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE",
|
815
|
+
"default": "small",
|
804
816
|
"fieldName": "size"
|
805
817
|
}
|
806
818
|
],
|
@@ -850,6 +862,7 @@
|
|
850
862
|
"name": "type",
|
851
863
|
"privacy": "public",
|
852
864
|
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
865
|
+
"default": "body-large-regular",
|
853
866
|
"attribute": "type",
|
854
867
|
"reflects": true
|
855
868
|
},
|
@@ -866,6 +879,7 @@
|
|
866
879
|
{
|
867
880
|
"name": "type",
|
868
881
|
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
882
|
+
"default": "body-large-regular",
|
869
883
|
"fieldName": "type"
|
870
884
|
},
|
871
885
|
{
|
package/dist/react/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as Avatar } from './avatar';
|
2
|
-
export { default as Icon } from './icon';
|
3
2
|
export { default as Badge } from './badge';
|
3
|
+
export { default as Icon } from './icon';
|
4
4
|
export { default as IconProvider } from './iconprovider';
|
5
5
|
export { default as Presence } from './presence';
|
6
6
|
export { default as Text } from './text';
|
package/dist/react/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as Avatar } from './avatar';
|
2
|
-
export { default as Icon } from './icon';
|
3
2
|
export { default as Badge } from './badge';
|
3
|
+
export { default as Icon } from './icon';
|
4
4
|
export { default as IconProvider } from './iconprovider';
|
5
5
|
export { default as Presence } from './presence';
|
6
6
|
export { default as Text } from './text';
|
package/package.json
CHANGED