@momentum-design/components 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +138 -138
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -452,6 +452,144 @@
|
|
452
452
|
}
|
453
453
|
]
|
454
454
|
},
|
455
|
+
{
|
456
|
+
"kind": "javascript-module",
|
457
|
+
"path": "components/iconprovider/iconprovider.component.js",
|
458
|
+
"declarations": [
|
459
|
+
{
|
460
|
+
"kind": "class",
|
461
|
+
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.",
|
462
|
+
"name": "IconProvider",
|
463
|
+
"slots": [
|
464
|
+
{
|
465
|
+
"description": "children",
|
466
|
+
"name": ""
|
467
|
+
}
|
468
|
+
],
|
469
|
+
"members": [
|
470
|
+
{
|
471
|
+
"kind": "field",
|
472
|
+
"name": "Context",
|
473
|
+
"privacy": "public",
|
474
|
+
"static": true,
|
475
|
+
"description": "Context object of the IconProvider, to be consumed by child components",
|
476
|
+
"readonly": true
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"kind": "field",
|
480
|
+
"name": "url",
|
481
|
+
"type": {
|
482
|
+
"text": "string | undefined"
|
483
|
+
},
|
484
|
+
"description": "Url of where icons will be fetched from",
|
485
|
+
"attribute": "url"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"kind": "field",
|
489
|
+
"name": "fileExtension",
|
490
|
+
"type": {
|
491
|
+
"text": "string | undefined"
|
492
|
+
},
|
493
|
+
"description": "File extension of icons",
|
494
|
+
"default": "svg",
|
495
|
+
"attribute": "file-extension",
|
496
|
+
"reflects": true
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"kind": "field",
|
500
|
+
"name": "lengthUnit",
|
501
|
+
"type": {
|
502
|
+
"text": "string"
|
503
|
+
},
|
504
|
+
"description": "Length unit used for sizing of icons",
|
505
|
+
"default": "em",
|
506
|
+
"attribute": "length-unit",
|
507
|
+
"reflects": true
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"kind": "field",
|
511
|
+
"name": "size",
|
512
|
+
"type": {
|
513
|
+
"text": "number | undefined"
|
514
|
+
},
|
515
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
516
|
+
"default": "1",
|
517
|
+
"attribute": "size",
|
518
|
+
"reflects": true
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"kind": "method",
|
522
|
+
"name": "updateValuesInContext",
|
523
|
+
"privacy": "private"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"kind": "method",
|
527
|
+
"name": "updateContext",
|
528
|
+
"privacy": "protected",
|
529
|
+
"return": {
|
530
|
+
"type": {
|
531
|
+
"text": "void"
|
532
|
+
}
|
533
|
+
}
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"attributes": [
|
537
|
+
{
|
538
|
+
"name": "url",
|
539
|
+
"type": {
|
540
|
+
"text": "string | undefined"
|
541
|
+
},
|
542
|
+
"description": "Url of where icons will be fetched from",
|
543
|
+
"fieldName": "url"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"name": "file-extension",
|
547
|
+
"type": {
|
548
|
+
"text": "string | undefined"
|
549
|
+
},
|
550
|
+
"description": "File extension of icons",
|
551
|
+
"default": "svg",
|
552
|
+
"fieldName": "fileExtension"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"name": "length-unit",
|
556
|
+
"type": {
|
557
|
+
"text": "string"
|
558
|
+
},
|
559
|
+
"description": "Length unit used for sizing of icons",
|
560
|
+
"default": "em",
|
561
|
+
"fieldName": "lengthUnit"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"name": "size",
|
565
|
+
"type": {
|
566
|
+
"text": "number | undefined"
|
567
|
+
},
|
568
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
569
|
+
"default": "1",
|
570
|
+
"fieldName": "size"
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"superclass": {
|
574
|
+
"name": "Provider",
|
575
|
+
"module": "/src/models"
|
576
|
+
},
|
577
|
+
"tagName": "mdc-iconprovider",
|
578
|
+
"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 */",
|
579
|
+
"customElement": true
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"exports": [
|
583
|
+
{
|
584
|
+
"kind": "js",
|
585
|
+
"name": "default",
|
586
|
+
"declaration": {
|
587
|
+
"name": "IconProvider",
|
588
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
589
|
+
}
|
590
|
+
}
|
591
|
+
]
|
592
|
+
},
|
455
593
|
{
|
456
594
|
"kind": "javascript-module",
|
457
595
|
"path": "components/icon/icon.component.js",
|
@@ -624,144 +762,6 @@
|
|
624
762
|
}
|
625
763
|
]
|
626
764
|
},
|
627
|
-
{
|
628
|
-
"kind": "javascript-module",
|
629
|
-
"path": "components/iconprovider/iconprovider.component.js",
|
630
|
-
"declarations": [
|
631
|
-
{
|
632
|
-
"kind": "class",
|
633
|
-
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.",
|
634
|
-
"name": "IconProvider",
|
635
|
-
"slots": [
|
636
|
-
{
|
637
|
-
"description": "children",
|
638
|
-
"name": ""
|
639
|
-
}
|
640
|
-
],
|
641
|
-
"members": [
|
642
|
-
{
|
643
|
-
"kind": "field",
|
644
|
-
"name": "Context",
|
645
|
-
"privacy": "public",
|
646
|
-
"static": true,
|
647
|
-
"description": "Context object of the IconProvider, to be consumed by child components",
|
648
|
-
"readonly": true
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"kind": "field",
|
652
|
-
"name": "url",
|
653
|
-
"type": {
|
654
|
-
"text": "string | undefined"
|
655
|
-
},
|
656
|
-
"description": "Url of where icons will be fetched from",
|
657
|
-
"attribute": "url"
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"kind": "field",
|
661
|
-
"name": "fileExtension",
|
662
|
-
"type": {
|
663
|
-
"text": "string | undefined"
|
664
|
-
},
|
665
|
-
"description": "File extension of icons",
|
666
|
-
"default": "svg",
|
667
|
-
"attribute": "file-extension",
|
668
|
-
"reflects": true
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"kind": "field",
|
672
|
-
"name": "lengthUnit",
|
673
|
-
"type": {
|
674
|
-
"text": "string"
|
675
|
-
},
|
676
|
-
"description": "Length unit used for sizing of icons",
|
677
|
-
"default": "em",
|
678
|
-
"attribute": "length-unit",
|
679
|
-
"reflects": true
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"kind": "field",
|
683
|
-
"name": "size",
|
684
|
-
"type": {
|
685
|
-
"text": "number | undefined"
|
686
|
-
},
|
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",
|
689
|
-
"attribute": "size",
|
690
|
-
"reflects": true
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"kind": "method",
|
694
|
-
"name": "updateValuesInContext",
|
695
|
-
"privacy": "private"
|
696
|
-
},
|
697
|
-
{
|
698
|
-
"kind": "method",
|
699
|
-
"name": "updateContext",
|
700
|
-
"privacy": "protected",
|
701
|
-
"return": {
|
702
|
-
"type": {
|
703
|
-
"text": "void"
|
704
|
-
}
|
705
|
-
}
|
706
|
-
}
|
707
|
-
],
|
708
|
-
"attributes": [
|
709
|
-
{
|
710
|
-
"name": "url",
|
711
|
-
"type": {
|
712
|
-
"text": "string | undefined"
|
713
|
-
},
|
714
|
-
"description": "Url of where icons will be fetched from",
|
715
|
-
"fieldName": "url"
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"name": "file-extension",
|
719
|
-
"type": {
|
720
|
-
"text": "string | undefined"
|
721
|
-
},
|
722
|
-
"description": "File extension of icons",
|
723
|
-
"default": "svg",
|
724
|
-
"fieldName": "fileExtension"
|
725
|
-
},
|
726
|
-
{
|
727
|
-
"name": "length-unit",
|
728
|
-
"type": {
|
729
|
-
"text": "string"
|
730
|
-
},
|
731
|
-
"description": "Length unit used for sizing of icons",
|
732
|
-
"default": "em",
|
733
|
-
"fieldName": "lengthUnit"
|
734
|
-
},
|
735
|
-
{
|
736
|
-
"name": "size",
|
737
|
-
"type": {
|
738
|
-
"text": "number | undefined"
|
739
|
-
},
|
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",
|
742
|
-
"fieldName": "size"
|
743
|
-
}
|
744
|
-
],
|
745
|
-
"superclass": {
|
746
|
-
"name": "Provider",
|
747
|
-
"module": "/src/models"
|
748
|
-
},
|
749
|
-
"tagName": "mdc-iconprovider",
|
750
|
-
"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 */",
|
751
|
-
"customElement": true
|
752
|
-
}
|
753
|
-
],
|
754
|
-
"exports": [
|
755
|
-
{
|
756
|
-
"kind": "js",
|
757
|
-
"name": "default",
|
758
|
-
"declaration": {
|
759
|
-
"name": "IconProvider",
|
760
|
-
"module": "components/iconprovider/iconprovider.component.js"
|
761
|
-
}
|
762
|
-
}
|
763
|
-
]
|
764
|
-
},
|
765
765
|
{
|
766
766
|
"kind": "javascript-module",
|
767
767
|
"path": "components/presence/presence.component.js",
|
package/dist/react/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { default as Avatar } from './avatar';
|
2
2
|
export { default as Badge } from './badge';
|
3
|
-
export { default as Icon } from './icon';
|
4
3
|
export { default as IconProvider } from './iconprovider';
|
4
|
+
export { default as Icon } from './icon';
|
5
5
|
export { default as Presence } from './presence';
|
6
6
|
export { default as Text } from './text';
|
7
7
|
export { default as ThemeProvider } from './themeprovider';
|
package/dist/react/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { default as Avatar } from './avatar';
|
2
2
|
export { default as Badge } from './badge';
|
3
|
-
export { default as Icon } from './icon';
|
4
3
|
export { default as IconProvider } from './iconprovider';
|
4
|
+
export { default as Icon } from './icon';
|
5
5
|
export { default as Presence } from './presence';
|
6
6
|
export { default as Text } from './text';
|
7
7
|
export { default as ThemeProvider } from './themeprovider';
|
package/package.json
CHANGED