@skf-design-system/ui-components 1.0.0-beta.4 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -6
- package/dist/components/accordion/accordion.component.d.ts +9 -5
- package/dist/components/accordion/accordion.component.js +22 -19
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.styles.js +3 -3
- package/dist/components/alert/alert.component.d.ts +7 -4
- package/dist/components/alert/alert.component.js +21 -19
- package/dist/components/alert/alert.styles.js +50 -47
- package/dist/components/button/button.component.d.ts +2 -0
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/card/card.component.d.ts +3 -3
- package/dist/components/card/card.component.js +16 -19
- package/dist/components/card/card.styles.js +11 -3
- package/dist/components/checkbox/checkbox.component.d.ts +9 -6
- package/dist/components/checkbox/checkbox.component.js +7 -7
- package/dist/components/checkbox/checkbox.styles.js +7 -2
- package/dist/components/checkbox/checkbox.test.d.ts +1 -0
- package/dist/components/collapse/collapse.component.d.ts +9 -6
- package/dist/components/collapse/collapse.component.js +39 -36
- package/dist/components/collapse/collapse.styles.js +3 -3
- package/dist/components/collapse/collapse.test.d.ts +1 -0
- package/dist/components/divider/divider.component.d.ts +13 -10
- package/dist/components/divider/divider.component.js +34 -29
- package/dist/components/divider/divider.styles.js +1 -5
- package/dist/components/heading/heading.component.d.ts +12 -2
- package/dist/components/heading/heading.component.js +14 -14
- package/dist/components/heading/heading.styles.js +1 -1
- package/dist/components/icon/icon.component.d.ts +14 -8
- package/dist/components/icon/icon.component.js +6 -6
- package/dist/components/icon/icon.styles.js +56 -54
- package/dist/components/input/input.component.d.ts +43 -29
- package/dist/components/input/input.component.js +46 -36
- package/dist/components/link/link.component.d.ts +15 -12
- package/dist/components/link/link.component.js +7 -7
- package/dist/components/link/link.styles.js +1 -1
- package/dist/components/loader/loader.component.d.ts +7 -7
- package/dist/components/loader/loader.component.js +35 -61
- package/dist/components/loader/loader.styles.js +42 -10
- package/dist/components/logo/logo.component.d.ts +5 -3
- package/dist/components/logo/logo.component.js +8 -8
- package/dist/components/logo/logo.styles.js +2 -2
- package/dist/components/radio/radio.component.d.ts +15 -13
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.styles.js +6 -1
- package/dist/components/select/select.component.d.ts +12 -10
- package/dist/components/select/select.component.js +113 -100
- package/dist/components/select/select.controllers.js +5 -2
- package/dist/components/select/select.styles.js +18 -3
- package/dist/components/select-option/select-option.component.d.ts +2 -2
- package/dist/components/select-option/select-option.component.js +16 -10
- package/dist/components/switch/switch.component.d.ts +2 -3
- package/dist/components/switch/switch.component.js +1 -1
- package/dist/components/switch/switch.styles.js +6 -1
- package/dist/components/switch/switch.test.d.ts +1 -0
- package/dist/components/tag/tag.component.d.ts +12 -7
- package/dist/components/tag/tag.component.js +24 -24
- package/dist/components/tag/tag.styles.js +6 -1
- package/dist/components/textarea/textarea.component.d.ts +26 -23
- package/dist/components/textarea/textarea.component.js +15 -12
- package/dist/components/toast/toast.component.d.ts +35 -0
- package/dist/components/toast/toast.component.js +52 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.js +6 -0
- package/dist/components/toast/toast.singleton.d.ts +26 -0
- package/dist/components/toast/toast.singleton.js +53 -0
- package/dist/components/toast/toast.style.d.ts +1 -0
- package/dist/components/toast/toast.style.js +9 -0
- package/dist/components/toast-item/toast-item.component.d.ts +21 -0
- package/dist/components/toast-item/toast-item.component.js +65 -0
- package/dist/components/toast-item/toast-item.d.ts +6 -0
- package/dist/components/toast-item/toast-item.js +2 -0
- package/dist/components/toast-item/toast-item.style.d.ts +2 -0
- package/dist/components/toast-item/toast-item.style.js +16 -0
- package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
- package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
- package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
- package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
- package/dist/components/toast-wrapper/toast-wrapper.style.d.ts +1 -0
- package/dist/components/toast-wrapper/toast-wrapper.style.js +20 -0
- package/dist/custom-elements.json +676 -238
- package/dist/index.d.ts +1 -0
- package/dist/index.js +43 -40
- package/dist/internal/components/hint/hint.component.js +12 -10
- package/dist/internal/components/hint/hint.styles.js +26 -10
- package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -8
- package/dist/react/index.d.ts +5 -3
- package/dist/react/index.js +5 -3
- package/dist/react/skf-toast/index.d.ts +3 -0
- package/dist/react/skf-toast/index.js +13 -0
- package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
- package/dist/react/skf-toast-wrapper/index.js +13 -0
- package/dist/styles/form-field.styles.js +5 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +88 -50
- package/dist/types/vue/index.d.ts +91 -51
- package/dist/vscode.html-custom-data.json +101 -62
- package/dist/web-types.json +208 -122
- package/package.json +3 -3
@@ -160,6 +160,125 @@
|
|
160
160
|
}
|
161
161
|
]
|
162
162
|
},
|
163
|
+
{
|
164
|
+
"kind": "javascript-module",
|
165
|
+
"path": "src/components/alert/alert.component.ts",
|
166
|
+
"declarations": [
|
167
|
+
{
|
168
|
+
"kind": "class",
|
169
|
+
"description": "The `<skf-alert>` is a type of notification that appears in-line",
|
170
|
+
"name": "SkfAlert",
|
171
|
+
"slots": [
|
172
|
+
{
|
173
|
+
"description": "Alert message. **Notice!** See design principles for approved content",
|
174
|
+
"name": ""
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"description": "Slot for the link",
|
178
|
+
"name": "link"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"members": [
|
182
|
+
{
|
183
|
+
"kind": "field",
|
184
|
+
"name": "closeable",
|
185
|
+
"type": {
|
186
|
+
"text": "boolean | undefined"
|
187
|
+
},
|
188
|
+
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
189
|
+
"attribute": "closeable",
|
190
|
+
"reflects": true
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"kind": "field",
|
194
|
+
"name": "buttonLabel",
|
195
|
+
"type": {
|
196
|
+
"text": "string"
|
197
|
+
},
|
198
|
+
"default": "'Close'",
|
199
|
+
"description": "Close button aria-label",
|
200
|
+
"attribute": "button-label"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"kind": "field",
|
204
|
+
"name": "icon",
|
205
|
+
"type": {
|
206
|
+
"text": "SkfIcon['name'] | undefined"
|
207
|
+
},
|
208
|
+
"description": "If defined, displays leading icon",
|
209
|
+
"attribute": "icon"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"kind": "field",
|
213
|
+
"name": "severity",
|
214
|
+
"type": {
|
215
|
+
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
216
|
+
},
|
217
|
+
"description": "If defined, gives the supplied appearance",
|
218
|
+
"attribute": "severity",
|
219
|
+
"reflects": true
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"events": [
|
223
|
+
{
|
224
|
+
"description": "Fires when the close button is clicked",
|
225
|
+
"name": "skf-alert-close"
|
226
|
+
}
|
227
|
+
],
|
228
|
+
"attributes": [
|
229
|
+
{
|
230
|
+
"name": "closeable",
|
231
|
+
"type": {
|
232
|
+
"text": "boolean | undefined"
|
233
|
+
},
|
234
|
+
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
235
|
+
"fieldName": "closeable"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"name": "button-label",
|
239
|
+
"type": {
|
240
|
+
"text": "string"
|
241
|
+
},
|
242
|
+
"default": "'Close'",
|
243
|
+
"description": "Close button aria-label",
|
244
|
+
"fieldName": "buttonLabel"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"name": "icon",
|
248
|
+
"type": {
|
249
|
+
"text": "SkfIcon['name'] | undefined"
|
250
|
+
},
|
251
|
+
"description": "If defined, displays leading icon",
|
252
|
+
"fieldName": "icon"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"name": "severity",
|
256
|
+
"type": {
|
257
|
+
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
258
|
+
},
|
259
|
+
"description": "If defined, gives the supplied appearance",
|
260
|
+
"fieldName": "severity"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"superclass": {
|
264
|
+
"name": "SkfElement",
|
265
|
+
"package": "@internal/components/skf-element.js"
|
266
|
+
},
|
267
|
+
"tagName": "skf-alert",
|
268
|
+
"customElement": true
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"exports": [
|
272
|
+
{
|
273
|
+
"kind": "js",
|
274
|
+
"name": "SkfAlert",
|
275
|
+
"declaration": {
|
276
|
+
"name": "SkfAlert",
|
277
|
+
"module": "src/components/alert/alert.component.ts"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
]
|
281
|
+
},
|
163
282
|
{
|
164
283
|
"kind": "javascript-module",
|
165
284
|
"path": "src/components/button/button.component.ts",
|
@@ -448,123 +567,6 @@
|
|
448
567
|
}
|
449
568
|
]
|
450
569
|
},
|
451
|
-
{
|
452
|
-
"kind": "javascript-module",
|
453
|
-
"path": "src/components/alert/alert.component.ts",
|
454
|
-
"declarations": [
|
455
|
-
{
|
456
|
-
"kind": "class",
|
457
|
-
"description": "The `<skf-alert>` is a type of notification that appears in-line",
|
458
|
-
"name": "SkfAlert",
|
459
|
-
"slots": [
|
460
|
-
{
|
461
|
-
"description": "Alert message. **Notice!** See design principles for approved content",
|
462
|
-
"name": ""
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"description": "Slot for the link",
|
466
|
-
"name": "link"
|
467
|
-
}
|
468
|
-
],
|
469
|
-
"members": [
|
470
|
-
{
|
471
|
-
"kind": "field",
|
472
|
-
"name": "closeable",
|
473
|
-
"type": {
|
474
|
-
"text": "boolean | undefined"
|
475
|
-
},
|
476
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
477
|
-
"attribute": "closeable"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"kind": "field",
|
481
|
-
"name": "buttonLabel",
|
482
|
-
"type": {
|
483
|
-
"text": "string"
|
484
|
-
},
|
485
|
-
"default": "'Close'",
|
486
|
-
"description": "Close button aria-label",
|
487
|
-
"attribute": "button-label"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"kind": "field",
|
491
|
-
"name": "icon",
|
492
|
-
"type": {
|
493
|
-
"text": "SkfIcon['name'] | undefined"
|
494
|
-
},
|
495
|
-
"description": "If defined, displays leading icon",
|
496
|
-
"attribute": "icon"
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"kind": "field",
|
500
|
-
"name": "severity",
|
501
|
-
"type": {
|
502
|
-
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
503
|
-
},
|
504
|
-
"description": "If defined, gives the supplied appearance",
|
505
|
-
"attribute": "severity"
|
506
|
-
}
|
507
|
-
],
|
508
|
-
"events": [
|
509
|
-
{
|
510
|
-
"description": "Fires when the close button is clicked",
|
511
|
-
"name": "skf-alert-close"
|
512
|
-
}
|
513
|
-
],
|
514
|
-
"attributes": [
|
515
|
-
{
|
516
|
-
"name": "closeable",
|
517
|
-
"type": {
|
518
|
-
"text": "boolean | undefined"
|
519
|
-
},
|
520
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
521
|
-
"fieldName": "closeable"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"name": "button-label",
|
525
|
-
"type": {
|
526
|
-
"text": "string"
|
527
|
-
},
|
528
|
-
"default": "'Close'",
|
529
|
-
"description": "Close button aria-label",
|
530
|
-
"fieldName": "buttonLabel"
|
531
|
-
},
|
532
|
-
{
|
533
|
-
"name": "icon",
|
534
|
-
"type": {
|
535
|
-
"text": "SkfIcon['name'] | undefined"
|
536
|
-
},
|
537
|
-
"description": "If defined, displays leading icon",
|
538
|
-
"fieldName": "icon"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"name": "severity",
|
542
|
-
"type": {
|
543
|
-
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
544
|
-
},
|
545
|
-
"description": "If defined, gives the supplied appearance",
|
546
|
-
"fieldName": "severity"
|
547
|
-
}
|
548
|
-
],
|
549
|
-
"superclass": {
|
550
|
-
"name": "SkfElement",
|
551
|
-
"package": "@internal/components/skf-element.js"
|
552
|
-
},
|
553
|
-
"tagName": "skf-alert",
|
554
|
-
"customElement": true
|
555
|
-
}
|
556
|
-
],
|
557
|
-
"exports": [
|
558
|
-
{
|
559
|
-
"kind": "js",
|
560
|
-
"name": "SkfAlert",
|
561
|
-
"declaration": {
|
562
|
-
"name": "SkfAlert",
|
563
|
-
"module": "src/components/alert/alert.component.ts"
|
564
|
-
}
|
565
|
-
}
|
566
|
-
]
|
567
|
-
},
|
568
570
|
{
|
569
571
|
"kind": "javascript-module",
|
570
572
|
"path": "src/components/checkbox/checkbox.component.ts",
|
@@ -841,126 +843,22 @@
|
|
841
843
|
},
|
842
844
|
{
|
843
845
|
"kind": "javascript-module",
|
844
|
-
"path": "src/components/
|
846
|
+
"path": "src/components/collapse/collapse.component.ts",
|
845
847
|
"declarations": [
|
846
848
|
{
|
847
849
|
"kind": "class",
|
848
|
-
"description": "The `<
|
849
|
-
"name": "
|
850
|
-
"
|
851
|
-
{
|
852
|
-
"description": "The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical",
|
853
|
-
"name": "--skf-divider-spacing"
|
854
|
-
},
|
850
|
+
"description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.",
|
851
|
+
"name": "SkfCollapse",
|
852
|
+
"slots": [
|
855
853
|
{
|
856
|
-
"description": "
|
857
|
-
"name": "
|
854
|
+
"description": "Main content",
|
855
|
+
"name": ""
|
858
856
|
}
|
859
857
|
],
|
860
858
|
"members": [
|
861
859
|
{
|
862
860
|
"kind": "field",
|
863
|
-
"name": "
|
864
|
-
"privacy": "private",
|
865
|
-
"type": {
|
866
|
-
"text": "ElementInternals"
|
867
|
-
}
|
868
|
-
},
|
869
|
-
{
|
870
|
-
"kind": "field",
|
871
|
-
"name": "color",
|
872
|
-
"type": {
|
873
|
-
"text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
|
874
|
-
},
|
875
|
-
"default": "'primary'",
|
876
|
-
"description": "Defines the Divider color",
|
877
|
-
"attribute": "color",
|
878
|
-
"reflects": true
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"kind": "field",
|
882
|
-
"name": "decorative",
|
883
|
-
"type": {
|
884
|
-
"text": "boolean | undefined"
|
885
|
-
},
|
886
|
-
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
887
|
-
"attribute": "decorative"
|
888
|
-
},
|
889
|
-
{
|
890
|
-
"kind": "field",
|
891
|
-
"name": "vertical",
|
892
|
-
"type": {
|
893
|
-
"text": "boolean | undefined"
|
894
|
-
},
|
895
|
-
"description": "If true, renders the divider vertically",
|
896
|
-
"attribute": "vertical",
|
897
|
-
"reflects": true
|
898
|
-
}
|
899
|
-
],
|
900
|
-
"attributes": [
|
901
|
-
{
|
902
|
-
"name": "color",
|
903
|
-
"type": {
|
904
|
-
"text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
|
905
|
-
},
|
906
|
-
"default": "'primary'",
|
907
|
-
"description": "Defines the Divider color",
|
908
|
-
"fieldName": "color"
|
909
|
-
},
|
910
|
-
{
|
911
|
-
"name": "decorative",
|
912
|
-
"type": {
|
913
|
-
"text": "boolean | undefined"
|
914
|
-
},
|
915
|
-
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
916
|
-
"fieldName": "decorative"
|
917
|
-
},
|
918
|
-
{
|
919
|
-
"name": "vertical",
|
920
|
-
"type": {
|
921
|
-
"text": "boolean | undefined"
|
922
|
-
},
|
923
|
-
"description": "If true, renders the divider vertically",
|
924
|
-
"fieldName": "vertical"
|
925
|
-
}
|
926
|
-
],
|
927
|
-
"superclass": {
|
928
|
-
"name": "SkfElement",
|
929
|
-
"package": "@internal/components/skf-element.js"
|
930
|
-
},
|
931
|
-
"tagName": "skf-divider",
|
932
|
-
"customElement": true
|
933
|
-
}
|
934
|
-
],
|
935
|
-
"exports": [
|
936
|
-
{
|
937
|
-
"kind": "js",
|
938
|
-
"name": "SkfDivider",
|
939
|
-
"declaration": {
|
940
|
-
"name": "SkfDivider",
|
941
|
-
"module": "src/components/divider/divider.component.ts"
|
942
|
-
}
|
943
|
-
}
|
944
|
-
]
|
945
|
-
},
|
946
|
-
{
|
947
|
-
"kind": "javascript-module",
|
948
|
-
"path": "src/components/collapse/collapse.component.ts",
|
949
|
-
"declarations": [
|
950
|
-
{
|
951
|
-
"kind": "class",
|
952
|
-
"description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.",
|
953
|
-
"name": "SkfCollapse",
|
954
|
-
"slots": [
|
955
|
-
{
|
956
|
-
"description": "Main content",
|
957
|
-
"name": ""
|
958
|
-
}
|
959
|
-
],
|
960
|
-
"members": [
|
961
|
-
{
|
962
|
-
"kind": "field",
|
963
|
-
"name": "animated",
|
861
|
+
"name": "animated",
|
964
862
|
"type": {
|
965
863
|
"text": "boolean | undefined"
|
966
864
|
},
|
@@ -1107,6 +1005,110 @@
|
|
1107
1005
|
}
|
1108
1006
|
]
|
1109
1007
|
},
|
1008
|
+
{
|
1009
|
+
"kind": "javascript-module",
|
1010
|
+
"path": "src/components/divider/divider.component.ts",
|
1011
|
+
"declarations": [
|
1012
|
+
{
|
1013
|
+
"kind": "class",
|
1014
|
+
"description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information",
|
1015
|
+
"name": "SkfDivider",
|
1016
|
+
"cssProperties": [
|
1017
|
+
{
|
1018
|
+
"description": "The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical",
|
1019
|
+
"name": "--skf-divider-spacing"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"description": "The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical",
|
1023
|
+
"name": "--skf-divider-inset"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"members": [
|
1027
|
+
{
|
1028
|
+
"kind": "field",
|
1029
|
+
"name": "#internals",
|
1030
|
+
"privacy": "private",
|
1031
|
+
"type": {
|
1032
|
+
"text": "ElementInternals"
|
1033
|
+
}
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"kind": "field",
|
1037
|
+
"name": "color",
|
1038
|
+
"type": {
|
1039
|
+
"text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
|
1040
|
+
},
|
1041
|
+
"default": "'primary'",
|
1042
|
+
"description": "Defines the Divider color",
|
1043
|
+
"attribute": "color",
|
1044
|
+
"reflects": true
|
1045
|
+
},
|
1046
|
+
{
|
1047
|
+
"kind": "field",
|
1048
|
+
"name": "decorative",
|
1049
|
+
"type": {
|
1050
|
+
"text": "boolean | undefined"
|
1051
|
+
},
|
1052
|
+
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
1053
|
+
"attribute": "decorative"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"kind": "field",
|
1057
|
+
"name": "vertical",
|
1058
|
+
"type": {
|
1059
|
+
"text": "boolean | undefined"
|
1060
|
+
},
|
1061
|
+
"description": "If true, renders the divider vertically",
|
1062
|
+
"attribute": "vertical",
|
1063
|
+
"reflects": true
|
1064
|
+
}
|
1065
|
+
],
|
1066
|
+
"attributes": [
|
1067
|
+
{
|
1068
|
+
"name": "color",
|
1069
|
+
"type": {
|
1070
|
+
"text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
|
1071
|
+
},
|
1072
|
+
"default": "'primary'",
|
1073
|
+
"description": "Defines the Divider color",
|
1074
|
+
"fieldName": "color"
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"name": "decorative",
|
1078
|
+
"type": {
|
1079
|
+
"text": "boolean | undefined"
|
1080
|
+
},
|
1081
|
+
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
1082
|
+
"fieldName": "decorative"
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"name": "vertical",
|
1086
|
+
"type": {
|
1087
|
+
"text": "boolean | undefined"
|
1088
|
+
},
|
1089
|
+
"description": "If true, renders the divider vertically",
|
1090
|
+
"fieldName": "vertical"
|
1091
|
+
}
|
1092
|
+
],
|
1093
|
+
"superclass": {
|
1094
|
+
"name": "SkfElement",
|
1095
|
+
"package": "@internal/components/skf-element.js"
|
1096
|
+
},
|
1097
|
+
"tagName": "skf-divider",
|
1098
|
+
"customElement": true
|
1099
|
+
}
|
1100
|
+
],
|
1101
|
+
"exports": [
|
1102
|
+
{
|
1103
|
+
"kind": "js",
|
1104
|
+
"name": "SkfDivider",
|
1105
|
+
"declaration": {
|
1106
|
+
"name": "SkfDivider",
|
1107
|
+
"module": "src/components/divider/divider.component.ts"
|
1108
|
+
}
|
1109
|
+
}
|
1110
|
+
]
|
1111
|
+
},
|
1110
1112
|
{
|
1111
1113
|
"kind": "javascript-module",
|
1112
1114
|
"path": "src/components/heading/heading.component.ts",
|
@@ -2619,15 +2621,13 @@
|
|
2619
2621
|
},
|
2620
2622
|
{
|
2621
2623
|
"kind": "field",
|
2622
|
-
"name": "
|
2623
|
-
"description": "A readonly property that returns the selected value(s) in a array"
|
2624
|
-
"readonly": true
|
2624
|
+
"name": "selectedValues",
|
2625
|
+
"description": "A readonly property that returns the selected value(s) in a array"
|
2625
2626
|
},
|
2626
2627
|
{
|
2627
2628
|
"kind": "field",
|
2628
|
-
"name": "
|
2629
|
-
"description": "A readonly property that returns the selected slot(s) text content in a array"
|
2630
|
-
"readonly": true
|
2629
|
+
"name": "selectedOptionsText",
|
2630
|
+
"description": "A readonly property that returns the selected slot(s) text content in a array"
|
2631
2631
|
},
|
2632
2632
|
{
|
2633
2633
|
"kind": "field",
|
@@ -2717,8 +2717,7 @@
|
|
2717
2717
|
{
|
2718
2718
|
"kind": "field",
|
2719
2719
|
"name": "value",
|
2720
|
-
"description": "Read only, returns the selected value. (if multiple: in a comma separated string)"
|
2721
|
-
"readonly": true
|
2720
|
+
"description": "Read only, returns the selected value. (if multiple: in a comma separated string)"
|
2722
2721
|
},
|
2723
2722
|
{
|
2724
2723
|
"kind": "field",
|
@@ -2945,7 +2944,7 @@
|
|
2945
2944
|
"kind": "field",
|
2946
2945
|
"name": "iconColor",
|
2947
2946
|
"type": {
|
2948
|
-
"text": "
|
2947
|
+
"text": "SeverityFgColor | undefined"
|
2949
2948
|
},
|
2950
2949
|
"description": "If defined, sets provided color on the icon",
|
2951
2950
|
"attribute": "icon-color",
|
@@ -3030,7 +3029,7 @@
|
|
3030
3029
|
{
|
3031
3030
|
"name": "icon-color",
|
3032
3031
|
"type": {
|
3033
|
-
"text": "
|
3032
|
+
"text": "SeverityFgColor | undefined"
|
3034
3033
|
},
|
3035
3034
|
"description": "If defined, sets provided color on the icon",
|
3036
3035
|
"fieldName": "iconColor"
|
@@ -3866,6 +3865,445 @@
|
|
3866
3865
|
}
|
3867
3866
|
}
|
3868
3867
|
]
|
3868
|
+
},
|
3869
|
+
{
|
3870
|
+
"kind": "javascript-module",
|
3871
|
+
"path": "src/components/toast/toast.component.ts",
|
3872
|
+
"declarations": [
|
3873
|
+
{
|
3874
|
+
"kind": "class",
|
3875
|
+
"description": "A simple toast component that displays a message to the user. Use by appending a <skf-toast> tag to the DOM. Position in DOM is irrelevant.",
|
3876
|
+
"name": "SkfToast",
|
3877
|
+
"slots": [
|
3878
|
+
{
|
3879
|
+
"description": "The component's placeholder content",
|
3880
|
+
"name": ""
|
3881
|
+
}
|
3882
|
+
],
|
3883
|
+
"members": [
|
3884
|
+
{
|
3885
|
+
"kind": "field",
|
3886
|
+
"name": "closeable",
|
3887
|
+
"type": {
|
3888
|
+
"text": "boolean"
|
3889
|
+
},
|
3890
|
+
"default": "false",
|
3891
|
+
"description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
|
3892
|
+
"attribute": "closeable"
|
3893
|
+
},
|
3894
|
+
{
|
3895
|
+
"kind": "field",
|
3896
|
+
"name": "debug",
|
3897
|
+
"type": {
|
3898
|
+
"text": "boolean"
|
3899
|
+
},
|
3900
|
+
"default": "false",
|
3901
|
+
"attribute": "debug"
|
3902
|
+
},
|
3903
|
+
{
|
3904
|
+
"kind": "field",
|
3905
|
+
"name": "severity",
|
3906
|
+
"type": {
|
3907
|
+
"text": "'info' | 'success' | 'warning' | 'error'"
|
3908
|
+
},
|
3909
|
+
"default": "'info'",
|
3910
|
+
"description": "Severity of the toast.",
|
3911
|
+
"attribute": "severity"
|
3912
|
+
},
|
3913
|
+
{
|
3914
|
+
"kind": "field",
|
3915
|
+
"name": "timer",
|
3916
|
+
"type": {
|
3917
|
+
"text": "number"
|
3918
|
+
},
|
3919
|
+
"default": "5",
|
3920
|
+
"description": "Time in seconds before the toast disappears.",
|
3921
|
+
"attribute": "timer"
|
3922
|
+
},
|
3923
|
+
{
|
3924
|
+
"kind": "field",
|
3925
|
+
"name": "topOffset",
|
3926
|
+
"type": {
|
3927
|
+
"text": "number | undefined"
|
3928
|
+
},
|
3929
|
+
"description": "offsets where toasts emerge vertically",
|
3930
|
+
"attribute": "topOffset"
|
3931
|
+
}
|
3932
|
+
],
|
3933
|
+
"attributes": [
|
3934
|
+
{
|
3935
|
+
"name": "closeable",
|
3936
|
+
"type": {
|
3937
|
+
"text": "boolean"
|
3938
|
+
},
|
3939
|
+
"default": "false",
|
3940
|
+
"description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
|
3941
|
+
"fieldName": "closeable"
|
3942
|
+
},
|
3943
|
+
{
|
3944
|
+
"name": "debug",
|
3945
|
+
"type": {
|
3946
|
+
"text": "boolean"
|
3947
|
+
},
|
3948
|
+
"default": "false",
|
3949
|
+
"fieldName": "debug"
|
3950
|
+
},
|
3951
|
+
{
|
3952
|
+
"name": "severity",
|
3953
|
+
"type": {
|
3954
|
+
"text": "'info' | 'success' | 'warning' | 'error'"
|
3955
|
+
},
|
3956
|
+
"default": "'info'",
|
3957
|
+
"description": "Severity of the toast.",
|
3958
|
+
"fieldName": "severity"
|
3959
|
+
},
|
3960
|
+
{
|
3961
|
+
"name": "timer",
|
3962
|
+
"type": {
|
3963
|
+
"text": "number"
|
3964
|
+
},
|
3965
|
+
"default": "5",
|
3966
|
+
"description": "Time in seconds before the toast disappears.",
|
3967
|
+
"fieldName": "timer"
|
3968
|
+
},
|
3969
|
+
{
|
3970
|
+
"name": "topOffset",
|
3971
|
+
"type": {
|
3972
|
+
"text": "number | undefined"
|
3973
|
+
},
|
3974
|
+
"description": "offsets where toasts emerge vertically",
|
3975
|
+
"fieldName": "topOffset"
|
3976
|
+
}
|
3977
|
+
],
|
3978
|
+
"superclass": {
|
3979
|
+
"name": "SkfElement",
|
3980
|
+
"package": "@internal/components/skf-element"
|
3981
|
+
},
|
3982
|
+
"tagName": "skf-toast",
|
3983
|
+
"customElement": true
|
3984
|
+
}
|
3985
|
+
],
|
3986
|
+
"exports": [
|
3987
|
+
{
|
3988
|
+
"kind": "js",
|
3989
|
+
"name": "SkfToast",
|
3990
|
+
"declaration": {
|
3991
|
+
"name": "SkfToast",
|
3992
|
+
"module": "src/components/toast/toast.component.ts"
|
3993
|
+
}
|
3994
|
+
}
|
3995
|
+
]
|
3996
|
+
},
|
3997
|
+
{
|
3998
|
+
"kind": "javascript-module",
|
3999
|
+
"path": "src/components/toast-item/toast-item.component.ts",
|
4000
|
+
"declarations": [
|
4001
|
+
{
|
4002
|
+
"kind": "class",
|
4003
|
+
"description": "",
|
4004
|
+
"name": "SkfToastItem",
|
4005
|
+
"members": [
|
4006
|
+
{
|
4007
|
+
"kind": "field",
|
4008
|
+
"name": "_closeableInitialState",
|
4009
|
+
"type": {
|
4010
|
+
"text": "boolean"
|
4011
|
+
},
|
4012
|
+
"privacy": "protected",
|
4013
|
+
"default": "!!this.closeable"
|
4014
|
+
},
|
4015
|
+
{
|
4016
|
+
"kind": "field",
|
4017
|
+
"name": "_parentAnimationDiv",
|
4018
|
+
"type": {
|
4019
|
+
"text": "HTMLDivElement | null"
|
4020
|
+
},
|
4021
|
+
"privacy": "protected",
|
4022
|
+
"default": "this.parentElement"
|
4023
|
+
},
|
4024
|
+
{
|
4025
|
+
"kind": "field",
|
4026
|
+
"name": "_currentTimeoutId",
|
4027
|
+
"type": {
|
4028
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
4029
|
+
},
|
4030
|
+
"privacy": "private",
|
4031
|
+
"description": "If not cloaseable, timeout id for the toast",
|
4032
|
+
"default": "null"
|
4033
|
+
},
|
4034
|
+
{
|
4035
|
+
"kind": "field",
|
4036
|
+
"name": "_timeleft",
|
4037
|
+
"type": {
|
4038
|
+
"text": "number"
|
4039
|
+
},
|
4040
|
+
"privacy": "private",
|
4041
|
+
"description": "If not closseable, time left on the timer when the mouse enters the toast",
|
4042
|
+
"default": "0"
|
4043
|
+
},
|
4044
|
+
{
|
4045
|
+
"kind": "field",
|
4046
|
+
"name": "_timeoutStarted",
|
4047
|
+
"type": {
|
4048
|
+
"text": "number"
|
4049
|
+
},
|
4050
|
+
"privacy": "private",
|
4051
|
+
"description": "If not closseable, time when the timeout started",
|
4052
|
+
"default": "0"
|
4053
|
+
},
|
4054
|
+
{
|
4055
|
+
"kind": "field",
|
4056
|
+
"name": "originEl",
|
4057
|
+
"type": {
|
4058
|
+
"text": "HTMLElement | null"
|
4059
|
+
},
|
4060
|
+
"default": "null"
|
4061
|
+
},
|
4062
|
+
{
|
4063
|
+
"kind": "field",
|
4064
|
+
"name": "timer",
|
4065
|
+
"type": {
|
4066
|
+
"text": "number"
|
4067
|
+
},
|
4068
|
+
"default": "0",
|
4069
|
+
"attribute": "timer",
|
4070
|
+
"reflects": true
|
4071
|
+
},
|
4072
|
+
{
|
4073
|
+
"kind": "method",
|
4074
|
+
"name": "_animateIn"
|
4075
|
+
},
|
4076
|
+
{
|
4077
|
+
"kind": "field",
|
4078
|
+
"name": "_handleMouseEnter"
|
4079
|
+
},
|
4080
|
+
{
|
4081
|
+
"kind": "field",
|
4082
|
+
"name": "_handleMouseLeave"
|
4083
|
+
},
|
4084
|
+
{
|
4085
|
+
"kind": "field",
|
4086
|
+
"name": "_removeToast"
|
4087
|
+
},
|
4088
|
+
{
|
4089
|
+
"kind": "field",
|
4090
|
+
"name": "parentAnimationDiv",
|
4091
|
+
"readonly": true
|
4092
|
+
},
|
4093
|
+
{
|
4094
|
+
"kind": "field",
|
4095
|
+
"name": "closeable",
|
4096
|
+
"type": {
|
4097
|
+
"text": "boolean | undefined"
|
4098
|
+
},
|
4099
|
+
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
4100
|
+
"attribute": "closeable",
|
4101
|
+
"reflects": true,
|
4102
|
+
"inheritedFrom": {
|
4103
|
+
"name": "SkfAlert",
|
4104
|
+
"module": "src/components/alert/alert.component.ts"
|
4105
|
+
}
|
4106
|
+
},
|
4107
|
+
{
|
4108
|
+
"kind": "field",
|
4109
|
+
"name": "buttonLabel",
|
4110
|
+
"type": {
|
4111
|
+
"text": "string"
|
4112
|
+
},
|
4113
|
+
"default": "'Close'",
|
4114
|
+
"description": "Close button aria-label",
|
4115
|
+
"attribute": "button-label",
|
4116
|
+
"inheritedFrom": {
|
4117
|
+
"name": "SkfAlert",
|
4118
|
+
"module": "src/components/alert/alert.component.ts"
|
4119
|
+
}
|
4120
|
+
},
|
4121
|
+
{
|
4122
|
+
"kind": "field",
|
4123
|
+
"name": "icon",
|
4124
|
+
"type": {
|
4125
|
+
"text": "SkfIcon['name'] | undefined"
|
4126
|
+
},
|
4127
|
+
"description": "If defined, displays leading icon",
|
4128
|
+
"attribute": "icon",
|
4129
|
+
"inheritedFrom": {
|
4130
|
+
"name": "SkfAlert",
|
4131
|
+
"module": "src/components/alert/alert.component.ts"
|
4132
|
+
}
|
4133
|
+
},
|
4134
|
+
{
|
4135
|
+
"kind": "field",
|
4136
|
+
"name": "severity",
|
4137
|
+
"type": {
|
4138
|
+
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
4139
|
+
},
|
4140
|
+
"description": "If defined, gives the supplied appearance",
|
4141
|
+
"attribute": "severity",
|
4142
|
+
"reflects": true,
|
4143
|
+
"inheritedFrom": {
|
4144
|
+
"name": "SkfAlert",
|
4145
|
+
"module": "src/components/alert/alert.component.ts"
|
4146
|
+
}
|
4147
|
+
}
|
4148
|
+
],
|
4149
|
+
"attributes": [
|
4150
|
+
{
|
4151
|
+
"name": "timer",
|
4152
|
+
"type": {
|
4153
|
+
"text": "number"
|
4154
|
+
},
|
4155
|
+
"default": "0",
|
4156
|
+
"fieldName": "timer"
|
4157
|
+
},
|
4158
|
+
{
|
4159
|
+
"name": "closeable",
|
4160
|
+
"type": {
|
4161
|
+
"text": "boolean | undefined"
|
4162
|
+
},
|
4163
|
+
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
4164
|
+
"fieldName": "closeable",
|
4165
|
+
"inheritedFrom": {
|
4166
|
+
"name": "SkfAlert",
|
4167
|
+
"module": "src/components/alert/alert.component.ts"
|
4168
|
+
}
|
4169
|
+
},
|
4170
|
+
{
|
4171
|
+
"name": "button-label",
|
4172
|
+
"type": {
|
4173
|
+
"text": "string"
|
4174
|
+
},
|
4175
|
+
"default": "'Close'",
|
4176
|
+
"description": "Close button aria-label",
|
4177
|
+
"fieldName": "buttonLabel",
|
4178
|
+
"inheritedFrom": {
|
4179
|
+
"name": "SkfAlert",
|
4180
|
+
"module": "src/components/alert/alert.component.ts"
|
4181
|
+
}
|
4182
|
+
},
|
4183
|
+
{
|
4184
|
+
"name": "icon",
|
4185
|
+
"type": {
|
4186
|
+
"text": "SkfIcon['name'] | undefined"
|
4187
|
+
},
|
4188
|
+
"description": "If defined, displays leading icon",
|
4189
|
+
"fieldName": "icon",
|
4190
|
+
"inheritedFrom": {
|
4191
|
+
"name": "SkfAlert",
|
4192
|
+
"module": "src/components/alert/alert.component.ts"
|
4193
|
+
}
|
4194
|
+
},
|
4195
|
+
{
|
4196
|
+
"name": "severity",
|
4197
|
+
"type": {
|
4198
|
+
"text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
4199
|
+
},
|
4200
|
+
"description": "If defined, gives the supplied appearance",
|
4201
|
+
"fieldName": "severity",
|
4202
|
+
"inheritedFrom": {
|
4203
|
+
"name": "SkfAlert",
|
4204
|
+
"module": "src/components/alert/alert.component.ts"
|
4205
|
+
}
|
4206
|
+
}
|
4207
|
+
],
|
4208
|
+
"superclass": {
|
4209
|
+
"name": "SkfAlert",
|
4210
|
+
"package": "@components/alert/alert.component.js"
|
4211
|
+
},
|
4212
|
+
"slots": [
|
4213
|
+
{
|
4214
|
+
"description": "Alert message. **Notice!** See design principles for approved content",
|
4215
|
+
"name": "",
|
4216
|
+
"inheritedFrom": {
|
4217
|
+
"name": "SkfAlert",
|
4218
|
+
"module": "src/components/alert/alert.component.ts"
|
4219
|
+
}
|
4220
|
+
},
|
4221
|
+
{
|
4222
|
+
"description": "Slot for the link",
|
4223
|
+
"name": "link",
|
4224
|
+
"inheritedFrom": {
|
4225
|
+
"name": "SkfAlert",
|
4226
|
+
"module": "src/components/alert/alert.component.ts"
|
4227
|
+
}
|
4228
|
+
}
|
4229
|
+
],
|
4230
|
+
"events": [
|
4231
|
+
{
|
4232
|
+
"description": "Fires when the close button is clicked",
|
4233
|
+
"name": "skf-alert-close",
|
4234
|
+
"inheritedFrom": {
|
4235
|
+
"name": "SkfAlert",
|
4236
|
+
"module": "src/components/alert/alert.component.ts"
|
4237
|
+
}
|
4238
|
+
}
|
4239
|
+
]
|
4240
|
+
}
|
4241
|
+
],
|
4242
|
+
"exports": [
|
4243
|
+
{
|
4244
|
+
"kind": "js",
|
4245
|
+
"name": "SkfToastItem",
|
4246
|
+
"declaration": {
|
4247
|
+
"name": "SkfToastItem",
|
4248
|
+
"module": "src/components/toast-item/toast-item.component.ts"
|
4249
|
+
}
|
4250
|
+
}
|
4251
|
+
]
|
4252
|
+
},
|
4253
|
+
{
|
4254
|
+
"kind": "javascript-module",
|
4255
|
+
"path": "src/components/toast-wrapper/toast-wrapper.component.ts",
|
4256
|
+
"declarations": [
|
4257
|
+
{
|
4258
|
+
"kind": "class",
|
4259
|
+
"description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.",
|
4260
|
+
"name": "SkfToastWrapper",
|
4261
|
+
"slots": [
|
4262
|
+
{
|
4263
|
+
"description": "The alert components that the toast creates will render here.",
|
4264
|
+
"name": ""
|
4265
|
+
}
|
4266
|
+
],
|
4267
|
+
"members": [
|
4268
|
+
{
|
4269
|
+
"kind": "field",
|
4270
|
+
"name": "debug",
|
4271
|
+
"type": {
|
4272
|
+
"text": "boolean"
|
4273
|
+
},
|
4274
|
+
"default": "false",
|
4275
|
+
"attribute": "debug",
|
4276
|
+
"reflects": true
|
4277
|
+
}
|
4278
|
+
],
|
4279
|
+
"attributes": [
|
4280
|
+
{
|
4281
|
+
"name": "debug",
|
4282
|
+
"type": {
|
4283
|
+
"text": "boolean"
|
4284
|
+
},
|
4285
|
+
"default": "false",
|
4286
|
+
"fieldName": "debug"
|
4287
|
+
}
|
4288
|
+
],
|
4289
|
+
"superclass": {
|
4290
|
+
"name": "SkfElement",
|
4291
|
+
"package": "@internal/components/skf-element"
|
4292
|
+
},
|
4293
|
+
"tagName": "skf-toast-wrapper",
|
4294
|
+
"customElement": true
|
4295
|
+
}
|
4296
|
+
],
|
4297
|
+
"exports": [
|
4298
|
+
{
|
4299
|
+
"kind": "js",
|
4300
|
+
"name": "SkfToastWrapper",
|
4301
|
+
"declaration": {
|
4302
|
+
"name": "SkfToastWrapper",
|
4303
|
+
"module": "src/components/toast-wrapper/toast-wrapper.component.ts"
|
4304
|
+
}
|
4305
|
+
}
|
4306
|
+
]
|
3869
4307
|
}
|
3870
4308
|
]
|
3871
4309
|
}
|