@momentum-design/components 0.95.1 → 0.95.2
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 +46 -42
- package/dist/browser/index.js.map +4 -4
- package/dist/components/card/card.component.d.ts +1 -1
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.styles.js +4 -0
- package/dist/components/dialog/dialog.component.d.ts +1 -1
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/custom-elements.json +570 -570
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/mixins/CardComponentMixin.js +2 -2
- package/dist/utils/mixins/{CardAndDialogFooterMixin.d.ts → FooterMixin.d.ts} +2 -2
- package/dist/utils/mixins/{CardAndDialogFooterMixin.js → FooterMixin.js} +1 -1
- package/package.json +1 -1
@@ -2,6 +2,218 @@
|
|
2
2
|
"schemaVersion": "1.0.0",
|
3
3
|
"readme": "",
|
4
4
|
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "components/animation/animation.component.js",
|
8
|
+
"declarations": [
|
9
|
+
{
|
10
|
+
"kind": "class",
|
11
|
+
"description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
|
12
|
+
"name": "Animation",
|
13
|
+
"members": [
|
14
|
+
{
|
15
|
+
"kind": "field",
|
16
|
+
"name": "name",
|
17
|
+
"type": {
|
18
|
+
"text": "AnimationNames | undefined"
|
19
|
+
},
|
20
|
+
"description": "Name of the animation (= filename)",
|
21
|
+
"attribute": "name",
|
22
|
+
"reflects": true
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"kind": "field",
|
26
|
+
"name": "loop",
|
27
|
+
"type": {
|
28
|
+
"text": "LoopType | undefined"
|
29
|
+
},
|
30
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
31
|
+
"attribute": "loop",
|
32
|
+
"reflects": true
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"kind": "field",
|
36
|
+
"name": "autoplay",
|
37
|
+
"type": {
|
38
|
+
"text": "boolean | undefined"
|
39
|
+
},
|
40
|
+
"description": "Weather start the animation automatically",
|
41
|
+
"attribute": "autoplay",
|
42
|
+
"reflects": true
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"kind": "field",
|
46
|
+
"name": "ariaLabel",
|
47
|
+
"type": {
|
48
|
+
"text": "string | null"
|
49
|
+
},
|
50
|
+
"default": "null",
|
51
|
+
"description": "Aria-label attribute to be set for accessibility",
|
52
|
+
"attribute": "aria-label"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"kind": "field",
|
56
|
+
"name": "ariaLabelledBy",
|
57
|
+
"type": {
|
58
|
+
"text": "string | null"
|
59
|
+
},
|
60
|
+
"default": "null",
|
61
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
62
|
+
"attribute": "aria-labelledby"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"kind": "field",
|
66
|
+
"name": "lottieInstance",
|
67
|
+
"type": {
|
68
|
+
"text": "AnimationItem | undefined"
|
69
|
+
},
|
70
|
+
"privacy": "private",
|
71
|
+
"description": "Lottie animation instance"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"kind": "field",
|
75
|
+
"name": "containerRef",
|
76
|
+
"type": {
|
77
|
+
"text": "Ref<HTMLDivElement>"
|
78
|
+
},
|
79
|
+
"privacy": "private",
|
80
|
+
"description": "Container for the animation"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"kind": "field",
|
84
|
+
"name": "animation",
|
85
|
+
"description": "Exposed API of the animation library (lottie)",
|
86
|
+
"readonly": true
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"kind": "method",
|
90
|
+
"name": "getLoopValue",
|
91
|
+
"privacy": "private"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"kind": "method",
|
95
|
+
"name": "onLoadSuccessHandler",
|
96
|
+
"privacy": "private",
|
97
|
+
"parameters": [
|
98
|
+
{
|
99
|
+
"name": "animationData",
|
100
|
+
"type": {
|
101
|
+
"text": "any"
|
102
|
+
}
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"description": "Create new lotty instance for the loaded data"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"kind": "method",
|
109
|
+
"name": "onLoadFailHandler",
|
110
|
+
"privacy": "private",
|
111
|
+
"parameters": [
|
112
|
+
{
|
113
|
+
"name": "error",
|
114
|
+
"type": {
|
115
|
+
"text": "Error"
|
116
|
+
}
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"description": "Error handler for animation loading"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"kind": "method",
|
123
|
+
"name": "getAnimationData",
|
124
|
+
"privacy": "private",
|
125
|
+
"description": "Import animation data dynamically"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"kind": "field",
|
129
|
+
"name": "onCompleteHandler",
|
130
|
+
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"events": [
|
134
|
+
{
|
135
|
+
"name": "load",
|
136
|
+
"type": {
|
137
|
+
"text": "CustomEvent"
|
138
|
+
},
|
139
|
+
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
140
|
+
"reactName": "onLoad"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
144
|
+
"name": "complete",
|
145
|
+
"reactName": "onComplete"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"description": "(React: onError) This event is dispatched when animation loading failed",
|
149
|
+
"name": "error",
|
150
|
+
"reactName": "onError"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"attributes": [
|
154
|
+
{
|
155
|
+
"name": "name",
|
156
|
+
"type": {
|
157
|
+
"text": "AnimationNames | undefined"
|
158
|
+
},
|
159
|
+
"description": "Name of the animation (= filename)",
|
160
|
+
"fieldName": "name"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"name": "loop",
|
164
|
+
"type": {
|
165
|
+
"text": "LoopType | undefined"
|
166
|
+
},
|
167
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
168
|
+
"fieldName": "loop"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "autoplay",
|
172
|
+
"type": {
|
173
|
+
"text": "boolean | undefined"
|
174
|
+
},
|
175
|
+
"description": "Weather start the animation automatically",
|
176
|
+
"fieldName": "autoplay"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"name": "aria-label",
|
180
|
+
"type": {
|
181
|
+
"text": "string | null"
|
182
|
+
},
|
183
|
+
"default": "null",
|
184
|
+
"description": "Aria-label attribute to be set for accessibility",
|
185
|
+
"fieldName": "ariaLabel"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"name": "aria-labelledby",
|
189
|
+
"type": {
|
190
|
+
"text": "string | null"
|
191
|
+
},
|
192
|
+
"default": "null",
|
193
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
194
|
+
"fieldName": "ariaLabelledBy"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"superclass": {
|
198
|
+
"name": "Component",
|
199
|
+
"module": "/src/models"
|
200
|
+
},
|
201
|
+
"tagName": "mdc-animation",
|
202
|
+
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
203
|
+
"customElement": true
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"exports": [
|
207
|
+
{
|
208
|
+
"kind": "js",
|
209
|
+
"name": "default",
|
210
|
+
"declaration": {
|
211
|
+
"name": "Animation",
|
212
|
+
"module": "components/animation/animation.component.js"
|
213
|
+
}
|
214
|
+
}
|
215
|
+
]
|
216
|
+
},
|
5
217
|
{
|
6
218
|
"kind": "javascript-module",
|
7
219
|
"path": "components/alertchip/alertchip.component.js",
|
@@ -530,218 +742,6 @@
|
|
530
742
|
}
|
531
743
|
]
|
532
744
|
},
|
533
|
-
{
|
534
|
-
"kind": "javascript-module",
|
535
|
-
"path": "components/animation/animation.component.js",
|
536
|
-
"declarations": [
|
537
|
-
{
|
538
|
-
"kind": "class",
|
539
|
-
"description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
|
540
|
-
"name": "Animation",
|
541
|
-
"members": [
|
542
|
-
{
|
543
|
-
"kind": "field",
|
544
|
-
"name": "name",
|
545
|
-
"type": {
|
546
|
-
"text": "AnimationNames | undefined"
|
547
|
-
},
|
548
|
-
"description": "Name of the animation (= filename)",
|
549
|
-
"attribute": "name",
|
550
|
-
"reflects": true
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"kind": "field",
|
554
|
-
"name": "loop",
|
555
|
-
"type": {
|
556
|
-
"text": "LoopType | undefined"
|
557
|
-
},
|
558
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
559
|
-
"attribute": "loop",
|
560
|
-
"reflects": true
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"kind": "field",
|
564
|
-
"name": "autoplay",
|
565
|
-
"type": {
|
566
|
-
"text": "boolean | undefined"
|
567
|
-
},
|
568
|
-
"description": "Weather start the animation automatically",
|
569
|
-
"attribute": "autoplay",
|
570
|
-
"reflects": true
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"kind": "field",
|
574
|
-
"name": "ariaLabel",
|
575
|
-
"type": {
|
576
|
-
"text": "string | null"
|
577
|
-
},
|
578
|
-
"default": "null",
|
579
|
-
"description": "Aria-label attribute to be set for accessibility",
|
580
|
-
"attribute": "aria-label"
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"kind": "field",
|
584
|
-
"name": "ariaLabelledBy",
|
585
|
-
"type": {
|
586
|
-
"text": "string | null"
|
587
|
-
},
|
588
|
-
"default": "null",
|
589
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
590
|
-
"attribute": "aria-labelledby"
|
591
|
-
},
|
592
|
-
{
|
593
|
-
"kind": "field",
|
594
|
-
"name": "lottieInstance",
|
595
|
-
"type": {
|
596
|
-
"text": "AnimationItem | undefined"
|
597
|
-
},
|
598
|
-
"privacy": "private",
|
599
|
-
"description": "Lottie animation instance"
|
600
|
-
},
|
601
|
-
{
|
602
|
-
"kind": "field",
|
603
|
-
"name": "containerRef",
|
604
|
-
"type": {
|
605
|
-
"text": "Ref<HTMLDivElement>"
|
606
|
-
},
|
607
|
-
"privacy": "private",
|
608
|
-
"description": "Container for the animation"
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"kind": "field",
|
612
|
-
"name": "animation",
|
613
|
-
"description": "Exposed API of the animation library (lottie)",
|
614
|
-
"readonly": true
|
615
|
-
},
|
616
|
-
{
|
617
|
-
"kind": "method",
|
618
|
-
"name": "getLoopValue",
|
619
|
-
"privacy": "private"
|
620
|
-
},
|
621
|
-
{
|
622
|
-
"kind": "method",
|
623
|
-
"name": "onLoadSuccessHandler",
|
624
|
-
"privacy": "private",
|
625
|
-
"parameters": [
|
626
|
-
{
|
627
|
-
"name": "animationData",
|
628
|
-
"type": {
|
629
|
-
"text": "any"
|
630
|
-
}
|
631
|
-
}
|
632
|
-
],
|
633
|
-
"description": "Create new lotty instance for the loaded data"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"kind": "method",
|
637
|
-
"name": "onLoadFailHandler",
|
638
|
-
"privacy": "private",
|
639
|
-
"parameters": [
|
640
|
-
{
|
641
|
-
"name": "error",
|
642
|
-
"type": {
|
643
|
-
"text": "Error"
|
644
|
-
}
|
645
|
-
}
|
646
|
-
],
|
647
|
-
"description": "Error handler for animation loading"
|
648
|
-
},
|
649
|
-
{
|
650
|
-
"kind": "method",
|
651
|
-
"name": "getAnimationData",
|
652
|
-
"privacy": "private",
|
653
|
-
"description": "Import animation data dynamically"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"kind": "field",
|
657
|
-
"name": "onCompleteHandler",
|
658
|
-
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
659
|
-
}
|
660
|
-
],
|
661
|
-
"events": [
|
662
|
-
{
|
663
|
-
"name": "load",
|
664
|
-
"type": {
|
665
|
-
"text": "CustomEvent"
|
666
|
-
},
|
667
|
-
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
668
|
-
"reactName": "onLoad"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
672
|
-
"name": "complete",
|
673
|
-
"reactName": "onComplete"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"description": "(React: onError) This event is dispatched when animation loading failed",
|
677
|
-
"name": "error",
|
678
|
-
"reactName": "onError"
|
679
|
-
}
|
680
|
-
],
|
681
|
-
"attributes": [
|
682
|
-
{
|
683
|
-
"name": "name",
|
684
|
-
"type": {
|
685
|
-
"text": "AnimationNames | undefined"
|
686
|
-
},
|
687
|
-
"description": "Name of the animation (= filename)",
|
688
|
-
"fieldName": "name"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"name": "loop",
|
692
|
-
"type": {
|
693
|
-
"text": "LoopType | undefined"
|
694
|
-
},
|
695
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
696
|
-
"fieldName": "loop"
|
697
|
-
},
|
698
|
-
{
|
699
|
-
"name": "autoplay",
|
700
|
-
"type": {
|
701
|
-
"text": "boolean | undefined"
|
702
|
-
},
|
703
|
-
"description": "Weather start the animation automatically",
|
704
|
-
"fieldName": "autoplay"
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"name": "aria-label",
|
708
|
-
"type": {
|
709
|
-
"text": "string | null"
|
710
|
-
},
|
711
|
-
"default": "null",
|
712
|
-
"description": "Aria-label attribute to be set for accessibility",
|
713
|
-
"fieldName": "ariaLabel"
|
714
|
-
},
|
715
|
-
{
|
716
|
-
"name": "aria-labelledby",
|
717
|
-
"type": {
|
718
|
-
"text": "string | null"
|
719
|
-
},
|
720
|
-
"default": "null",
|
721
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
722
|
-
"fieldName": "ariaLabelledBy"
|
723
|
-
}
|
724
|
-
],
|
725
|
-
"superclass": {
|
726
|
-
"name": "Component",
|
727
|
-
"module": "/src/models"
|
728
|
-
},
|
729
|
-
"tagName": "mdc-animation",
|
730
|
-
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
731
|
-
"customElement": true
|
732
|
-
}
|
733
|
-
],
|
734
|
-
"exports": [
|
735
|
-
{
|
736
|
-
"kind": "js",
|
737
|
-
"name": "default",
|
738
|
-
"declaration": {
|
739
|
-
"name": "Animation",
|
740
|
-
"module": "components/animation/animation.component.js"
|
741
|
-
}
|
742
|
-
}
|
743
|
-
]
|
744
|
-
},
|
745
745
|
{
|
746
746
|
"kind": "javascript-module",
|
747
747
|
"path": "components/appheader/appheader.component.js",
|
@@ -4240,7 +4240,7 @@
|
|
4240
4240
|
"type": {
|
4241
4241
|
"text": "TagNameType"
|
4242
4242
|
},
|
4243
|
-
"description": "The tag name for the card title. It supports all the types that `
|
4243
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
4244
4244
|
"default": "'span'",
|
4245
4245
|
"attribute": "title-tag-name",
|
4246
4246
|
"reflects": true,
|
@@ -4255,7 +4255,7 @@
|
|
4255
4255
|
"type": {
|
4256
4256
|
"text": "TagNameType"
|
4257
4257
|
},
|
4258
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
4258
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
4259
4259
|
"default": "'span'",
|
4260
4260
|
"attribute": "subtitle-tag-name",
|
4261
4261
|
"reflects": true,
|
@@ -4334,8 +4334,8 @@
|
|
4334
4334
|
}
|
4335
4335
|
},
|
4336
4336
|
"inheritedFrom": {
|
4337
|
-
"name": "
|
4338
|
-
"module": "utils/mixins/
|
4337
|
+
"name": "FooterMixin",
|
4338
|
+
"module": "utils/mixins/FooterMixin.js"
|
4339
4339
|
}
|
4340
4340
|
}
|
4341
4341
|
],
|
@@ -4345,8 +4345,8 @@
|
|
4345
4345
|
"module": "/src/utils/mixins/CardComponentMixin"
|
4346
4346
|
},
|
4347
4347
|
{
|
4348
|
-
"name": "
|
4349
|
-
"module": "/src/utils/mixins/
|
4348
|
+
"name": "FooterMixin",
|
4349
|
+
"module": "/src/utils/mixins/FooterMixin"
|
4350
4350
|
}
|
4351
4351
|
],
|
4352
4352
|
"superclass": {
|
@@ -4440,7 +4440,7 @@
|
|
4440
4440
|
"type": {
|
4441
4441
|
"text": "TagNameType"
|
4442
4442
|
},
|
4443
|
-
"description": "The tag name for the card title. It supports all the types that `
|
4443
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
4444
4444
|
"default": "'span'",
|
4445
4445
|
"fieldName": "titleTagName",
|
4446
4446
|
"inheritedFrom": {
|
@@ -4453,7 +4453,7 @@
|
|
4453
4453
|
"type": {
|
4454
4454
|
"text": "TagNameType"
|
4455
4455
|
},
|
4456
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
4456
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
4457
4457
|
"default": "'span'",
|
4458
4458
|
"fieldName": "subtitleTagName",
|
4459
4459
|
"inheritedFrom": {
|
@@ -4617,7 +4617,7 @@
|
|
4617
4617
|
"type": {
|
4618
4618
|
"text": "TagNameType"
|
4619
4619
|
},
|
4620
|
-
"description": "The tag name for the card title. It supports all the types that `
|
4620
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
4621
4621
|
"default": "'span'",
|
4622
4622
|
"attribute": "title-tag-name",
|
4623
4623
|
"reflects": true,
|
@@ -4632,7 +4632,7 @@
|
|
4632
4632
|
"type": {
|
4633
4633
|
"text": "TagNameType"
|
4634
4634
|
},
|
4635
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
4635
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
4636
4636
|
"default": "'span'",
|
4637
4637
|
"attribute": "subtitle-tag-name",
|
4638
4638
|
"reflects": true,
|
@@ -5114,7 +5114,7 @@
|
|
5114
5114
|
"type": {
|
5115
5115
|
"text": "TagNameType"
|
5116
5116
|
},
|
5117
|
-
"description": "The tag name for the card title. It supports all the types that `
|
5117
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
5118
5118
|
"default": "'span'",
|
5119
5119
|
"fieldName": "titleTagName",
|
5120
5120
|
"inheritedFrom": {
|
@@ -5127,7 +5127,7 @@
|
|
5127
5127
|
"type": {
|
5128
5128
|
"text": "TagNameType"
|
5129
5129
|
},
|
5130
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
5130
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
5131
5131
|
"default": "'span'",
|
5132
5132
|
"fieldName": "subtitleTagName",
|
5133
5133
|
"inheritedFrom": {
|
@@ -5552,7 +5552,7 @@
|
|
5552
5552
|
"type": {
|
5553
5553
|
"text": "TagNameType"
|
5554
5554
|
},
|
5555
|
-
"description": "The tag name for the card title. It supports all the types that `
|
5555
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
5556
5556
|
"default": "'span'",
|
5557
5557
|
"attribute": "title-tag-name",
|
5558
5558
|
"reflects": true,
|
@@ -5567,7 +5567,7 @@
|
|
5567
5567
|
"type": {
|
5568
5568
|
"text": "TagNameType"
|
5569
5569
|
},
|
5570
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
5570
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
5571
5571
|
"default": "'span'",
|
5572
5572
|
"attribute": "subtitle-tag-name",
|
5573
5573
|
"reflects": true,
|
@@ -5806,7 +5806,7 @@
|
|
5806
5806
|
"type": {
|
5807
5807
|
"text": "TagNameType"
|
5808
5808
|
},
|
5809
|
-
"description": "The tag name for the card title. It supports all the types that `
|
5809
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
5810
5810
|
"default": "'span'",
|
5811
5811
|
"fieldName": "titleTagName",
|
5812
5812
|
"inheritedFrom": {
|
@@ -5819,7 +5819,7 @@
|
|
5819
5819
|
"type": {
|
5820
5820
|
"text": "TagNameType"
|
5821
5821
|
},
|
5822
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
5822
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
5823
5823
|
"default": "'span'",
|
5824
5824
|
"fieldName": "subtitleTagName",
|
5825
5825
|
"inheritedFrom": {
|
@@ -6192,7 +6192,7 @@
|
|
6192
6192
|
"type": {
|
6193
6193
|
"text": "TagNameType"
|
6194
6194
|
},
|
6195
|
-
"description": "The tag name for the card title. It supports all the types that `
|
6195
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
6196
6196
|
"default": "'span'",
|
6197
6197
|
"attribute": "title-tag-name",
|
6198
6198
|
"reflects": true,
|
@@ -6207,7 +6207,7 @@
|
|
6207
6207
|
"type": {
|
6208
6208
|
"text": "TagNameType"
|
6209
6209
|
},
|
6210
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
6210
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
6211
6211
|
"default": "'span'",
|
6212
6212
|
"attribute": "subtitle-tag-name",
|
6213
6213
|
"reflects": true,
|
@@ -6446,7 +6446,7 @@
|
|
6446
6446
|
"type": {
|
6447
6447
|
"text": "TagNameType"
|
6448
6448
|
},
|
6449
|
-
"description": "The tag name for the card title. It supports all the types that `
|
6449
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
6450
6450
|
"default": "'span'",
|
6451
6451
|
"fieldName": "titleTagName",
|
6452
6452
|
"inheritedFrom": {
|
@@ -6459,7 +6459,7 @@
|
|
6459
6459
|
"type": {
|
6460
6460
|
"text": "TagNameType"
|
6461
6461
|
},
|
6462
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
6462
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
6463
6463
|
"default": "'span'",
|
6464
6464
|
"fieldName": "subtitleTagName",
|
6465
6465
|
"inheritedFrom": {
|
@@ -10412,8 +10412,8 @@
|
|
10412
10412
|
}
|
10413
10413
|
},
|
10414
10414
|
"inheritedFrom": {
|
10415
|
-
"name": "
|
10416
|
-
"module": "utils/mixins/
|
10415
|
+
"name": "FooterMixin",
|
10416
|
+
"module": "utils/mixins/FooterMixin.js"
|
10417
10417
|
}
|
10418
10418
|
}
|
10419
10419
|
],
|
@@ -10627,8 +10627,8 @@
|
|
10627
10627
|
"module": "/src/utils/mixins/FocusTrapMixin"
|
10628
10628
|
},
|
10629
10629
|
{
|
10630
|
-
"name": "
|
10631
|
-
"module": "/src/utils/mixins/
|
10630
|
+
"name": "FooterMixin",
|
10631
|
+
"module": "/src/utils/mixins/FooterMixin"
|
10632
10632
|
}
|
10633
10633
|
],
|
10634
10634
|
"superclass": {
|
@@ -12178,6 +12178,202 @@
|
|
12178
12178
|
}
|
12179
12179
|
]
|
12180
12180
|
},
|
12181
|
+
{
|
12182
|
+
"kind": "javascript-module",
|
12183
|
+
"path": "components/iconprovider/iconprovider.component.js",
|
12184
|
+
"declarations": [
|
12185
|
+
{
|
12186
|
+
"kind": "class",
|
12187
|
+
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
|
12188
|
+
"name": "IconProvider",
|
12189
|
+
"slots": [
|
12190
|
+
{
|
12191
|
+
"description": "children",
|
12192
|
+
"name": ""
|
12193
|
+
}
|
12194
|
+
],
|
12195
|
+
"members": [
|
12196
|
+
{
|
12197
|
+
"kind": "field",
|
12198
|
+
"name": "Context",
|
12199
|
+
"privacy": "public",
|
12200
|
+
"static": true,
|
12201
|
+
"description": "Context object of the IconProvider, to be consumed by child components",
|
12202
|
+
"readonly": true
|
12203
|
+
},
|
12204
|
+
{
|
12205
|
+
"kind": "field",
|
12206
|
+
"name": "iconSet",
|
12207
|
+
"type": {
|
12208
|
+
"text": "IconSet | undefined"
|
12209
|
+
},
|
12210
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12211
|
+
"default": "momentum-icons",
|
12212
|
+
"attribute": "icon-set",
|
12213
|
+
"reflects": true
|
12214
|
+
},
|
12215
|
+
{
|
12216
|
+
"kind": "field",
|
12217
|
+
"name": "url",
|
12218
|
+
"type": {
|
12219
|
+
"text": "string | undefined"
|
12220
|
+
},
|
12221
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12222
|
+
"attribute": "url"
|
12223
|
+
},
|
12224
|
+
{
|
12225
|
+
"kind": "field",
|
12226
|
+
"name": "fileExtension",
|
12227
|
+
"type": {
|
12228
|
+
"text": "string | undefined"
|
12229
|
+
},
|
12230
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12231
|
+
"default": "svg",
|
12232
|
+
"attribute": "file-extension",
|
12233
|
+
"reflects": true
|
12234
|
+
},
|
12235
|
+
{
|
12236
|
+
"kind": "field",
|
12237
|
+
"name": "lengthUnit",
|
12238
|
+
"type": {
|
12239
|
+
"text": "string"
|
12240
|
+
},
|
12241
|
+
"description": "Length unit used for sizing of icons",
|
12242
|
+
"default": "em",
|
12243
|
+
"attribute": "length-unit",
|
12244
|
+
"reflects": true
|
12245
|
+
},
|
12246
|
+
{
|
12247
|
+
"kind": "field",
|
12248
|
+
"name": "size",
|
12249
|
+
"type": {
|
12250
|
+
"text": "number | undefined"
|
12251
|
+
},
|
12252
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12253
|
+
"default": "1",
|
12254
|
+
"attribute": "size",
|
12255
|
+
"reflects": true
|
12256
|
+
},
|
12257
|
+
{
|
12258
|
+
"kind": "field",
|
12259
|
+
"name": "cacheStrategy",
|
12260
|
+
"type": {
|
12261
|
+
"text": "CacheStrategy | undefined"
|
12262
|
+
},
|
12263
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12264
|
+
"default": "undefined",
|
12265
|
+
"attribute": "cache-strategy"
|
12266
|
+
},
|
12267
|
+
{
|
12268
|
+
"kind": "field",
|
12269
|
+
"name": "cacheName",
|
12270
|
+
"type": {
|
12271
|
+
"text": "string | undefined"
|
12272
|
+
},
|
12273
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12274
|
+
"default": "undefined",
|
12275
|
+
"attribute": "cache-name"
|
12276
|
+
},
|
12277
|
+
{
|
12278
|
+
"kind": "method",
|
12279
|
+
"name": "updateValuesInContext",
|
12280
|
+
"privacy": "private"
|
12281
|
+
},
|
12282
|
+
{
|
12283
|
+
"kind": "method",
|
12284
|
+
"name": "updateContext",
|
12285
|
+
"privacy": "protected",
|
12286
|
+
"return": {
|
12287
|
+
"type": {
|
12288
|
+
"text": "void"
|
12289
|
+
}
|
12290
|
+
}
|
12291
|
+
}
|
12292
|
+
],
|
12293
|
+
"attributes": [
|
12294
|
+
{
|
12295
|
+
"name": "icon-set",
|
12296
|
+
"type": {
|
12297
|
+
"text": "IconSet | undefined"
|
12298
|
+
},
|
12299
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12300
|
+
"default": "momentum-icons",
|
12301
|
+
"fieldName": "iconSet"
|
12302
|
+
},
|
12303
|
+
{
|
12304
|
+
"name": "url",
|
12305
|
+
"type": {
|
12306
|
+
"text": "string | undefined"
|
12307
|
+
},
|
12308
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12309
|
+
"fieldName": "url"
|
12310
|
+
},
|
12311
|
+
{
|
12312
|
+
"name": "file-extension",
|
12313
|
+
"type": {
|
12314
|
+
"text": "string | undefined"
|
12315
|
+
},
|
12316
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12317
|
+
"default": "svg",
|
12318
|
+
"fieldName": "fileExtension"
|
12319
|
+
},
|
12320
|
+
{
|
12321
|
+
"name": "length-unit",
|
12322
|
+
"type": {
|
12323
|
+
"text": "string"
|
12324
|
+
},
|
12325
|
+
"description": "Length unit used for sizing of icons",
|
12326
|
+
"default": "em",
|
12327
|
+
"fieldName": "lengthUnit"
|
12328
|
+
},
|
12329
|
+
{
|
12330
|
+
"name": "size",
|
12331
|
+
"type": {
|
12332
|
+
"text": "number | undefined"
|
12333
|
+
},
|
12334
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12335
|
+
"default": "1",
|
12336
|
+
"fieldName": "size"
|
12337
|
+
},
|
12338
|
+
{
|
12339
|
+
"name": "cache-strategy",
|
12340
|
+
"type": {
|
12341
|
+
"text": "CacheStrategy | undefined"
|
12342
|
+
},
|
12343
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12344
|
+
"default": "undefined",
|
12345
|
+
"fieldName": "cacheStrategy"
|
12346
|
+
},
|
12347
|
+
{
|
12348
|
+
"name": "cache-name",
|
12349
|
+
"type": {
|
12350
|
+
"text": "string | undefined"
|
12351
|
+
},
|
12352
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12353
|
+
"default": "undefined",
|
12354
|
+
"fieldName": "cacheName"
|
12355
|
+
}
|
12356
|
+
],
|
12357
|
+
"superclass": {
|
12358
|
+
"name": "Provider",
|
12359
|
+
"module": "/src/models"
|
12360
|
+
},
|
12361
|
+
"tagName": "mdc-iconprovider",
|
12362
|
+
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
12363
|
+
"customElement": true
|
12364
|
+
}
|
12365
|
+
],
|
12366
|
+
"exports": [
|
12367
|
+
{
|
12368
|
+
"kind": "js",
|
12369
|
+
"name": "default",
|
12370
|
+
"declaration": {
|
12371
|
+
"name": "IconProvider",
|
12372
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
12373
|
+
}
|
12374
|
+
}
|
12375
|
+
]
|
12376
|
+
},
|
12181
12377
|
{
|
12182
12378
|
"kind": "javascript-module",
|
12183
12379
|
"path": "components/icon/icon.component.js",
|
@@ -12426,202 +12622,6 @@
|
|
12426
12622
|
}
|
12427
12623
|
]
|
12428
12624
|
},
|
12429
|
-
{
|
12430
|
-
"kind": "javascript-module",
|
12431
|
-
"path": "components/iconprovider/iconprovider.component.js",
|
12432
|
-
"declarations": [
|
12433
|
-
{
|
12434
|
-
"kind": "class",
|
12435
|
-
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
|
12436
|
-
"name": "IconProvider",
|
12437
|
-
"slots": [
|
12438
|
-
{
|
12439
|
-
"description": "children",
|
12440
|
-
"name": ""
|
12441
|
-
}
|
12442
|
-
],
|
12443
|
-
"members": [
|
12444
|
-
{
|
12445
|
-
"kind": "field",
|
12446
|
-
"name": "Context",
|
12447
|
-
"privacy": "public",
|
12448
|
-
"static": true,
|
12449
|
-
"description": "Context object of the IconProvider, to be consumed by child components",
|
12450
|
-
"readonly": true
|
12451
|
-
},
|
12452
|
-
{
|
12453
|
-
"kind": "field",
|
12454
|
-
"name": "iconSet",
|
12455
|
-
"type": {
|
12456
|
-
"text": "IconSet | undefined"
|
12457
|
-
},
|
12458
|
-
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12459
|
-
"default": "momentum-icons",
|
12460
|
-
"attribute": "icon-set",
|
12461
|
-
"reflects": true
|
12462
|
-
},
|
12463
|
-
{
|
12464
|
-
"kind": "field",
|
12465
|
-
"name": "url",
|
12466
|
-
"type": {
|
12467
|
-
"text": "string | undefined"
|
12468
|
-
},
|
12469
|
-
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12470
|
-
"attribute": "url"
|
12471
|
-
},
|
12472
|
-
{
|
12473
|
-
"kind": "field",
|
12474
|
-
"name": "fileExtension",
|
12475
|
-
"type": {
|
12476
|
-
"text": "string | undefined"
|
12477
|
-
},
|
12478
|
-
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12479
|
-
"default": "svg",
|
12480
|
-
"attribute": "file-extension",
|
12481
|
-
"reflects": true
|
12482
|
-
},
|
12483
|
-
{
|
12484
|
-
"kind": "field",
|
12485
|
-
"name": "lengthUnit",
|
12486
|
-
"type": {
|
12487
|
-
"text": "string"
|
12488
|
-
},
|
12489
|
-
"description": "Length unit used for sizing of icons",
|
12490
|
-
"default": "em",
|
12491
|
-
"attribute": "length-unit",
|
12492
|
-
"reflects": true
|
12493
|
-
},
|
12494
|
-
{
|
12495
|
-
"kind": "field",
|
12496
|
-
"name": "size",
|
12497
|
-
"type": {
|
12498
|
-
"text": "number | undefined"
|
12499
|
-
},
|
12500
|
-
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12501
|
-
"default": "1",
|
12502
|
-
"attribute": "size",
|
12503
|
-
"reflects": true
|
12504
|
-
},
|
12505
|
-
{
|
12506
|
-
"kind": "field",
|
12507
|
-
"name": "cacheStrategy",
|
12508
|
-
"type": {
|
12509
|
-
"text": "CacheStrategy | undefined"
|
12510
|
-
},
|
12511
|
-
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12512
|
-
"default": "undefined",
|
12513
|
-
"attribute": "cache-strategy"
|
12514
|
-
},
|
12515
|
-
{
|
12516
|
-
"kind": "field",
|
12517
|
-
"name": "cacheName",
|
12518
|
-
"type": {
|
12519
|
-
"text": "string | undefined"
|
12520
|
-
},
|
12521
|
-
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12522
|
-
"default": "undefined",
|
12523
|
-
"attribute": "cache-name"
|
12524
|
-
},
|
12525
|
-
{
|
12526
|
-
"kind": "method",
|
12527
|
-
"name": "updateValuesInContext",
|
12528
|
-
"privacy": "private"
|
12529
|
-
},
|
12530
|
-
{
|
12531
|
-
"kind": "method",
|
12532
|
-
"name": "updateContext",
|
12533
|
-
"privacy": "protected",
|
12534
|
-
"return": {
|
12535
|
-
"type": {
|
12536
|
-
"text": "void"
|
12537
|
-
}
|
12538
|
-
}
|
12539
|
-
}
|
12540
|
-
],
|
12541
|
-
"attributes": [
|
12542
|
-
{
|
12543
|
-
"name": "icon-set",
|
12544
|
-
"type": {
|
12545
|
-
"text": "IconSet | undefined"
|
12546
|
-
},
|
12547
|
-
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12548
|
-
"default": "momentum-icons",
|
12549
|
-
"fieldName": "iconSet"
|
12550
|
-
},
|
12551
|
-
{
|
12552
|
-
"name": "url",
|
12553
|
-
"type": {
|
12554
|
-
"text": "string | undefined"
|
12555
|
-
},
|
12556
|
-
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12557
|
-
"fieldName": "url"
|
12558
|
-
},
|
12559
|
-
{
|
12560
|
-
"name": "file-extension",
|
12561
|
-
"type": {
|
12562
|
-
"text": "string | undefined"
|
12563
|
-
},
|
12564
|
-
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12565
|
-
"default": "svg",
|
12566
|
-
"fieldName": "fileExtension"
|
12567
|
-
},
|
12568
|
-
{
|
12569
|
-
"name": "length-unit",
|
12570
|
-
"type": {
|
12571
|
-
"text": "string"
|
12572
|
-
},
|
12573
|
-
"description": "Length unit used for sizing of icons",
|
12574
|
-
"default": "em",
|
12575
|
-
"fieldName": "lengthUnit"
|
12576
|
-
},
|
12577
|
-
{
|
12578
|
-
"name": "size",
|
12579
|
-
"type": {
|
12580
|
-
"text": "number | undefined"
|
12581
|
-
},
|
12582
|
-
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12583
|
-
"default": "1",
|
12584
|
-
"fieldName": "size"
|
12585
|
-
},
|
12586
|
-
{
|
12587
|
-
"name": "cache-strategy",
|
12588
|
-
"type": {
|
12589
|
-
"text": "CacheStrategy | undefined"
|
12590
|
-
},
|
12591
|
-
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12592
|
-
"default": "undefined",
|
12593
|
-
"fieldName": "cacheStrategy"
|
12594
|
-
},
|
12595
|
-
{
|
12596
|
-
"name": "cache-name",
|
12597
|
-
"type": {
|
12598
|
-
"text": "string | undefined"
|
12599
|
-
},
|
12600
|
-
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12601
|
-
"default": "undefined",
|
12602
|
-
"fieldName": "cacheName"
|
12603
|
-
}
|
12604
|
-
],
|
12605
|
-
"superclass": {
|
12606
|
-
"name": "Provider",
|
12607
|
-
"module": "/src/models"
|
12608
|
-
},
|
12609
|
-
"tagName": "mdc-iconprovider",
|
12610
|
-
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
12611
|
-
"customElement": true
|
12612
|
-
}
|
12613
|
-
],
|
12614
|
-
"exports": [
|
12615
|
-
{
|
12616
|
-
"kind": "js",
|
12617
|
-
"name": "default",
|
12618
|
-
"declaration": {
|
12619
|
-
"name": "IconProvider",
|
12620
|
-
"module": "components/iconprovider/iconprovider.component.js"
|
12621
|
-
}
|
12622
|
-
}
|
12623
|
-
]
|
12624
|
-
},
|
12625
12625
|
{
|
12626
12626
|
"kind": "javascript-module",
|
12627
12627
|
"path": "components/input/input.component.js",
|
@@ -38523,140 +38523,6 @@
|
|
38523
38523
|
}
|
38524
38524
|
]
|
38525
38525
|
},
|
38526
|
-
{
|
38527
|
-
"kind": "javascript-module",
|
38528
|
-
"path": "utils/mixins/CardAndDialogFooterMixin.js",
|
38529
|
-
"declarations": [
|
38530
|
-
{
|
38531
|
-
"kind": "class",
|
38532
|
-
"description": "",
|
38533
|
-
"name": "CardAndDialogFooterMixinInterface",
|
38534
|
-
"members": [
|
38535
|
-
{
|
38536
|
-
"kind": "field",
|
38537
|
-
"name": "footerLink",
|
38538
|
-
"type": {
|
38539
|
-
"text": "Array<HTMLElement> | undefined"
|
38540
|
-
},
|
38541
|
-
"privacy": "protected"
|
38542
|
-
},
|
38543
|
-
{
|
38544
|
-
"kind": "field",
|
38545
|
-
"name": "footerButtonPrimary",
|
38546
|
-
"type": {
|
38547
|
-
"text": "Array<HTMLElement> | undefined"
|
38548
|
-
},
|
38549
|
-
"privacy": "protected"
|
38550
|
-
},
|
38551
|
-
{
|
38552
|
-
"kind": "field",
|
38553
|
-
"name": "footerButtonSecondary",
|
38554
|
-
"type": {
|
38555
|
-
"text": "Array<HTMLElement> | undefined"
|
38556
|
-
},
|
38557
|
-
"privacy": "protected"
|
38558
|
-
},
|
38559
|
-
{
|
38560
|
-
"kind": "method",
|
38561
|
-
"name": "updateFooterButtonColors",
|
38562
|
-
"privacy": "protected",
|
38563
|
-
"return": {
|
38564
|
-
"type": {
|
38565
|
-
"text": "void"
|
38566
|
-
}
|
38567
|
-
},
|
38568
|
-
"parameters": [
|
38569
|
-
{
|
38570
|
-
"name": "variant",
|
38571
|
-
"type": {
|
38572
|
-
"text": "string"
|
38573
|
-
}
|
38574
|
-
}
|
38575
|
-
]
|
38576
|
-
},
|
38577
|
-
{
|
38578
|
-
"kind": "method",
|
38579
|
-
"name": "handleFooterSlot",
|
38580
|
-
"privacy": "protected",
|
38581
|
-
"return": {
|
38582
|
-
"type": {
|
38583
|
-
"text": "void"
|
38584
|
-
}
|
38585
|
-
},
|
38586
|
-
"parameters": [
|
38587
|
-
{
|
38588
|
-
"name": "tagname",
|
38589
|
-
"type": {
|
38590
|
-
"text": "string"
|
38591
|
-
}
|
38592
|
-
},
|
38593
|
-
{
|
38594
|
-
"name": "variant",
|
38595
|
-
"optional": true,
|
38596
|
-
"type": {
|
38597
|
-
"text": "string"
|
38598
|
-
}
|
38599
|
-
}
|
38600
|
-
]
|
38601
|
-
},
|
38602
|
-
{
|
38603
|
-
"kind": "method",
|
38604
|
-
"name": "renderFooter",
|
38605
|
-
"privacy": "protected",
|
38606
|
-
"return": {
|
38607
|
-
"type": {
|
38608
|
-
"text": "TemplateResult"
|
38609
|
-
}
|
38610
|
-
}
|
38611
|
-
}
|
38612
|
-
]
|
38613
|
-
},
|
38614
|
-
{
|
38615
|
-
"kind": "mixin",
|
38616
|
-
"description": "",
|
38617
|
-
"name": "CardAndDialogFooterMixin",
|
38618
|
-
"members": [
|
38619
|
-
{
|
38620
|
-
"kind": "method",
|
38621
|
-
"name": "renderFooter",
|
38622
|
-
"privacy": "protected",
|
38623
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
38624
|
-
"return": {
|
38625
|
-
"type": {
|
38626
|
-
"text": ""
|
38627
|
-
}
|
38628
|
-
}
|
38629
|
-
}
|
38630
|
-
],
|
38631
|
-
"parameters": [
|
38632
|
-
{
|
38633
|
-
"name": "superClass",
|
38634
|
-
"type": {
|
38635
|
-
"text": "T"
|
38636
|
-
}
|
38637
|
-
}
|
38638
|
-
]
|
38639
|
-
}
|
38640
|
-
],
|
38641
|
-
"exports": [
|
38642
|
-
{
|
38643
|
-
"kind": "js",
|
38644
|
-
"name": "CardAndDialogFooterMixinInterface",
|
38645
|
-
"declaration": {
|
38646
|
-
"name": "CardAndDialogFooterMixinInterface",
|
38647
|
-
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
38648
|
-
}
|
38649
|
-
},
|
38650
|
-
{
|
38651
|
-
"kind": "js",
|
38652
|
-
"name": "CardAndDialogFooterMixin",
|
38653
|
-
"declaration": {
|
38654
|
-
"name": "CardAndDialogFooterMixin",
|
38655
|
-
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
38656
|
-
}
|
38657
|
-
}
|
38658
|
-
]
|
38659
|
-
},
|
38660
38526
|
{
|
38661
38527
|
"kind": "javascript-module",
|
38662
38528
|
"path": "utils/mixins/CardComponentMixin.js",
|
@@ -38832,7 +38698,7 @@
|
|
38832
38698
|
"type": {
|
38833
38699
|
"text": "TagNameType"
|
38834
38700
|
},
|
38835
|
-
"description": "The tag name for the card title. It supports all the types that `
|
38701
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
38836
38702
|
"default": "'span'",
|
38837
38703
|
"attribute": "title-tag-name",
|
38838
38704
|
"reflects": true
|
@@ -38843,7 +38709,7 @@
|
|
38843
38709
|
"type": {
|
38844
38710
|
"text": "TagNameType"
|
38845
38711
|
},
|
38846
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
38712
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
38847
38713
|
"default": "'span'",
|
38848
38714
|
"attribute": "subtitle-tag-name",
|
38849
38715
|
"reflects": true
|
@@ -38952,7 +38818,7 @@
|
|
38952
38818
|
"type": {
|
38953
38819
|
"text": "TagNameType"
|
38954
38820
|
},
|
38955
|
-
"description": "The tag name for the card title. It supports all the types that `
|
38821
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
38956
38822
|
"default": "'span'",
|
38957
38823
|
"fieldName": "titleTagName"
|
38958
38824
|
},
|
@@ -38961,7 +38827,7 @@
|
|
38961
38827
|
"type": {
|
38962
38828
|
"text": "TagNameType"
|
38963
38829
|
},
|
38964
|
-
"description": "The tag name for the subtitle. It supports all the types that `
|
38830
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
38965
38831
|
"default": "'span'",
|
38966
38832
|
"fieldName": "subtitleTagName"
|
38967
38833
|
},
|
@@ -39641,6 +39507,140 @@
|
|
39641
39507
|
}
|
39642
39508
|
]
|
39643
39509
|
},
|
39510
|
+
{
|
39511
|
+
"kind": "javascript-module",
|
39512
|
+
"path": "utils/mixins/FooterMixin.js",
|
39513
|
+
"declarations": [
|
39514
|
+
{
|
39515
|
+
"kind": "class",
|
39516
|
+
"description": "",
|
39517
|
+
"name": "FooterMixinInterface",
|
39518
|
+
"members": [
|
39519
|
+
{
|
39520
|
+
"kind": "field",
|
39521
|
+
"name": "footerLink",
|
39522
|
+
"type": {
|
39523
|
+
"text": "Array<HTMLElement> | undefined"
|
39524
|
+
},
|
39525
|
+
"privacy": "protected"
|
39526
|
+
},
|
39527
|
+
{
|
39528
|
+
"kind": "field",
|
39529
|
+
"name": "footerButtonPrimary",
|
39530
|
+
"type": {
|
39531
|
+
"text": "Array<HTMLElement> | undefined"
|
39532
|
+
},
|
39533
|
+
"privacy": "protected"
|
39534
|
+
},
|
39535
|
+
{
|
39536
|
+
"kind": "field",
|
39537
|
+
"name": "footerButtonSecondary",
|
39538
|
+
"type": {
|
39539
|
+
"text": "Array<HTMLElement> | undefined"
|
39540
|
+
},
|
39541
|
+
"privacy": "protected"
|
39542
|
+
},
|
39543
|
+
{
|
39544
|
+
"kind": "method",
|
39545
|
+
"name": "updateFooterButtonColors",
|
39546
|
+
"privacy": "protected",
|
39547
|
+
"return": {
|
39548
|
+
"type": {
|
39549
|
+
"text": "void"
|
39550
|
+
}
|
39551
|
+
},
|
39552
|
+
"parameters": [
|
39553
|
+
{
|
39554
|
+
"name": "variant",
|
39555
|
+
"type": {
|
39556
|
+
"text": "string"
|
39557
|
+
}
|
39558
|
+
}
|
39559
|
+
]
|
39560
|
+
},
|
39561
|
+
{
|
39562
|
+
"kind": "method",
|
39563
|
+
"name": "handleFooterSlot",
|
39564
|
+
"privacy": "protected",
|
39565
|
+
"return": {
|
39566
|
+
"type": {
|
39567
|
+
"text": "void"
|
39568
|
+
}
|
39569
|
+
},
|
39570
|
+
"parameters": [
|
39571
|
+
{
|
39572
|
+
"name": "tagname",
|
39573
|
+
"type": {
|
39574
|
+
"text": "string"
|
39575
|
+
}
|
39576
|
+
},
|
39577
|
+
{
|
39578
|
+
"name": "variant",
|
39579
|
+
"optional": true,
|
39580
|
+
"type": {
|
39581
|
+
"text": "string"
|
39582
|
+
}
|
39583
|
+
}
|
39584
|
+
]
|
39585
|
+
},
|
39586
|
+
{
|
39587
|
+
"kind": "method",
|
39588
|
+
"name": "renderFooter",
|
39589
|
+
"privacy": "protected",
|
39590
|
+
"return": {
|
39591
|
+
"type": {
|
39592
|
+
"text": "TemplateResult"
|
39593
|
+
}
|
39594
|
+
}
|
39595
|
+
}
|
39596
|
+
]
|
39597
|
+
},
|
39598
|
+
{
|
39599
|
+
"kind": "mixin",
|
39600
|
+
"description": "",
|
39601
|
+
"name": "FooterMixin",
|
39602
|
+
"members": [
|
39603
|
+
{
|
39604
|
+
"kind": "method",
|
39605
|
+
"name": "renderFooter",
|
39606
|
+
"privacy": "protected",
|
39607
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
39608
|
+
"return": {
|
39609
|
+
"type": {
|
39610
|
+
"text": ""
|
39611
|
+
}
|
39612
|
+
}
|
39613
|
+
}
|
39614
|
+
],
|
39615
|
+
"parameters": [
|
39616
|
+
{
|
39617
|
+
"name": "superClass",
|
39618
|
+
"type": {
|
39619
|
+
"text": "T"
|
39620
|
+
}
|
39621
|
+
}
|
39622
|
+
]
|
39623
|
+
}
|
39624
|
+
],
|
39625
|
+
"exports": [
|
39626
|
+
{
|
39627
|
+
"kind": "js",
|
39628
|
+
"name": "FooterMixinInterface",
|
39629
|
+
"declaration": {
|
39630
|
+
"name": "FooterMixinInterface",
|
39631
|
+
"module": "utils/mixins/FooterMixin.js"
|
39632
|
+
}
|
39633
|
+
},
|
39634
|
+
{
|
39635
|
+
"kind": "js",
|
39636
|
+
"name": "FooterMixin",
|
39637
|
+
"declaration": {
|
39638
|
+
"name": "FooterMixin",
|
39639
|
+
"module": "utils/mixins/FooterMixin.js"
|
39640
|
+
}
|
39641
|
+
}
|
39642
|
+
]
|
39643
|
+
},
|
39644
39644
|
{
|
39645
39645
|
"kind": "javascript-module",
|
39646
39646
|
"path": "utils/mixins/FormInternalsMixin.js",
|