@swisspost/design-system-components 2.1.0 → 7.0.0
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 +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/check-one-of-f4f5d0c0.js +8 -0
- package/dist/cjs/{index-f243643b.js → index-3b732d59.js} +85 -25
- package/dist/cjs/{index-8c288b1a.js → index-a1440961.js} +2 -6
- package/dist/cjs/index.cjs.js +20 -15
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/{package-96a46572.js → package-45af106a.js} +1 -1
- package/dist/cjs/{post-accordion-9d27458a.js → post-accordion-7507f838.js} +22 -20
- package/dist/cjs/post-accordion-item-5bf4d98b.js +53 -0
- package/dist/cjs/post-accordion-item.cjs.entry.js +5 -4
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/post-alert-9c39c854.js +98 -0
- package/dist/cjs/post-alert.cjs.entry.js +5 -4
- package/dist/cjs/post-card-control-4a16b3d7.js +311 -0
- package/dist/cjs/post-card-control.cjs.entry.js +14 -0
- package/dist/cjs/{post-collapsible-1867015c.js → post-collapsible-00319f1f.js} +7 -7
- package/dist/cjs/post-collapsible.cjs.entry.js +5 -4
- package/dist/cjs/post-components.cjs.js +6 -4
- package/dist/cjs/{post-icon-07a67b83.js → post-icon-09845341.js} +5 -5
- package/dist/cjs/post-icon.cjs.entry.js +5 -4
- package/dist/cjs/post-popover-3b6aaeae.js +104 -0
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-003c0819.js → post-popovercontainer-0b8343ac.js} +26 -45
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/post-rating-285f966e.js +88 -0
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-header-f1c16656.js +32 -0
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-6a9c4a4f.js → post-tab-panel-9c20a84e.js} +3 -3
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-2eb6f376.js → post-tabs-75e71078.js} +23 -21
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/post-tag-942085fd.js +43 -0
- package/dist/cjs/post-tag.cjs.entry.js +11 -0
- package/dist/cjs/{post-tooltip-260d0627.js → post-tooltip-94d4f21f.js} +12 -9
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/post-accordion/post-accordion.js +22 -20
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +7 -5
- package/dist/collection/components/post-alert/alert-types.js +1 -1
- package/dist/collection/components/post-alert/post-alert.css +2 -2
- package/dist/collection/components/post-alert/post-alert.js +6 -6
- package/dist/collection/components/post-card-control/post-card-control.css +31 -0
- package/dist/collection/components/post-card-control/post-card-control.js +520 -0
- package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +4 -4
- package/dist/collection/components/post-icon/post-icon.js +2 -2
- package/dist/collection/components/post-popover/post-popover.css +29 -1
- package/dist/collection/components/post-popover/post-popover.js +2 -2
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +6 -6
- package/dist/collection/components/post-rating/post-rating.css +28 -0
- package/dist/collection/components/post-rating/post-rating.js +7 -7
- package/dist/collection/components/post-tab-header/post-tab-header.css +29 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +21 -19
- package/dist/collection/components/post-tag/post-tag.css +31 -0
- package/dist/collection/components/post-tag/post-tag.js +115 -0
- package/dist/collection/components/post-tooltip/post-tooltip.js +11 -8
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/sass-export.js +16 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +7 -5
- package/dist/components/post-accordion2.js +21 -19
- package/dist/components/post-alert2.js +7 -7
- package/dist/components/post-card-control.d.ts +11 -0
- package/dist/components/post-card-control.js +6 -0
- package/dist/components/post-card-control2.js +342 -0
- package/dist/components/post-collapsible2.js +5 -5
- package/dist/components/post-icon2.js +3 -3
- package/dist/components/post-popover2.js +2 -2
- package/dist/components/post-popovercontainer2.js +24 -43
- package/dist/components/post-rating2.js +6 -6
- package/dist/components/post-tab-header2.js +2 -2
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +21 -19
- package/dist/components/post-tag.d.ts +11 -0
- package/dist/components/post-tag.js +6 -0
- package/dist/components/post-tag2.js +70 -0
- package/dist/components/post-tooltip2.js +10 -7
- package/dist/docs.json +477 -18
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/check-one-of-6b3ef8eb.js +6 -0
- package/dist/esm/{index-1708db56.js → index-961099d2.js} +85 -25
- package/dist/esm/{index-b444db27.js → index-d1eba94c.js} +1 -5
- package/dist/esm/index.js +18 -15
- package/dist/esm/loader.js +6 -4
- package/dist/esm/{package-50a9c0c3.js → package-1242b80d.js} +1 -1
- package/dist/esm/{post-accordion-33fe4f0e.js → post-accordion-bfd058bc.js} +22 -20
- package/dist/esm/post-accordion-item-4fa44842.js +51 -0
- package/dist/esm/post-accordion-item.entry.js +5 -4
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/post-alert-192d0176.js +96 -0
- package/dist/esm/post-alert.entry.js +5 -4
- package/dist/esm/post-card-control-b23e1e6f.js +309 -0
- package/dist/esm/post-card-control.entry.js +6 -0
- package/dist/esm/{post-collapsible-50dc361b.js → post-collapsible-d848eb2a.js} +7 -7
- package/dist/esm/post-collapsible.entry.js +5 -4
- package/dist/esm/post-components.js +7 -5
- package/dist/esm/{post-icon-00f314ae.js → post-icon-811654f7.js} +5 -5
- package/dist/esm/post-icon.entry.js +5 -4
- package/dist/esm/post-popover-b48a9d7c.js +102 -0
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-62e1fd82.js → post-popovercontainer-7413bb41.js} +26 -45
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/post-rating-806de800.js +86 -0
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/post-tab-header-95f0dc6a.js +30 -0
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-37a1331f.js → post-tab-panel-d7145a70.js} +3 -3
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-c4e65a45.js → post-tabs-f130a7d8.js} +23 -21
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/post-tag-7c329d6c.js +41 -0
- package/dist/esm/post-tag.entry.js +3 -0
- package/dist/esm/{post-tooltip-033f63fa.js → post-tooltip-942bd014.js} +12 -9
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-0d4e50a9.js +1 -0
- package/dist/post-components/p-1c780bac.entry.js +1 -0
- package/dist/post-components/p-2524b6b9.entry.js +1 -0
- package/dist/post-components/p-2ee23269.entry.js +1 -0
- package/dist/post-components/p-416426cc.js +1 -0
- package/dist/post-components/p-41c9c59f.js +1 -0
- package/dist/post-components/p-46cea7ee.js +1 -0
- package/dist/post-components/p-4aa14704.js +1 -0
- package/dist/post-components/p-579f55af.js +1 -0
- package/dist/post-components/p-5b2cdcf0.js +2 -0
- package/dist/post-components/p-60b02cbb.entry.js +1 -0
- package/dist/post-components/p-611b3c41.js +1 -0
- package/dist/post-components/p-62407836.entry.js +1 -0
- package/dist/post-components/p-6308fd47.js +1 -0
- package/dist/post-components/p-6fba8cb2.entry.js +1 -0
- package/dist/post-components/p-86acda91.entry.js +1 -0
- package/dist/post-components/{p-7e7833f7.js → p-93ba2827.js} +3 -3
- package/dist/post-components/p-94b5c41e.entry.js +1 -0
- package/dist/post-components/p-a3b54b5f.js +1 -0
- package/dist/post-components/p-a4b6b950.js +1 -0
- package/dist/post-components/p-b4abbb28.js +1 -0
- package/dist/post-components/p-c0f8e385.entry.js +1 -0
- package/dist/post-components/p-c4fe5052.entry.js +1 -0
- package/dist/post-components/p-c9004503.js +1 -0
- package/dist/post-components/p-cd9c10dd.entry.js +1 -0
- package/dist/post-components/p-d4cd7bb0.js +1 -0
- package/dist/post-components/p-d8d76dd1.entry.js +1 -0
- package/dist/post-components/p-e1255160.js +1 -0
- package/dist/post-components/p-e819d5fb.entry.js +1 -0
- package/dist/post-components/p-f44c172a.js +1 -0
- package/dist/post-components/p-f91c0e1b.js +1 -0
- package/dist/post-components/p-f9e58309.js +1 -0
- package/dist/post-components/p-ffb9a651.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +1 -1
- package/dist/types/components/post-alert/alert-types.d.ts +2 -2
- package/dist/types/components/post-alert/post-alert.d.ts +2 -2
- package/dist/types/components/post-card-control/post-card-control.d.ts +109 -0
- package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -1
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +1 -1
- package/dist/types/components/post-rating/post-rating.d.ts +2 -2
- package/dist/types/components/post-tabs/post-tabs.d.ts +1 -1
- package/dist/types/components/post-tag/post-tag.d.ts +27 -0
- package/dist/types/components.d.ts +178 -12
- package/dist/types/css-modules.js +0 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/css-modules.d.ts +6 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/sass-export.d.ts +2 -0
- package/package.json +17 -17
- package/dist/cjs/post-accordion-item-61fb55fa.js +0 -51
- package/dist/cjs/post-alert-a810f5b9.js +0 -98
- package/dist/cjs/post-popover-9610b64c.js +0 -104
- package/dist/cjs/post-rating-75574abd.js +0 -88
- package/dist/cjs/post-tab-header-85424e32.js +0 -32
- package/dist/esm/post-accordion-item-1fd95c9f.js +0 -49
- package/dist/esm/post-alert-65d67f69.js +0 -96
- package/dist/esm/post-popover-40bfd1b7.js +0 -102
- package/dist/esm/post-rating-f7a79ed4.js +0 -86
- package/dist/esm/post-tab-header-0683252a.js +0 -30
- package/dist/post-components/p-00dcad55.js +0 -1
- package/dist/post-components/p-01e57281.entry.js +0 -1
- package/dist/post-components/p-06c989fb.entry.js +0 -1
- package/dist/post-components/p-07ffb6de.entry.js +0 -1
- package/dist/post-components/p-10b4cf7a.js +0 -2
- package/dist/post-components/p-26c658c1.entry.js +0 -1
- package/dist/post-components/p-2a964700.js +0 -1
- package/dist/post-components/p-35f14000.js +0 -1
- package/dist/post-components/p-3fb09ecd.js +0 -1
- package/dist/post-components/p-4b0a45d8.entry.js +0 -1
- package/dist/post-components/p-53e8e4e7.entry.js +0 -1
- package/dist/post-components/p-598b11b6.js +0 -1
- package/dist/post-components/p-5b6ee52a.entry.js +0 -1
- package/dist/post-components/p-8139faa4.entry.js +0 -1
- package/dist/post-components/p-8cd6d7c2.js +0 -1
- package/dist/post-components/p-99a9602e.js +0 -1
- package/dist/post-components/p-a2775477.entry.js +0 -1
- package/dist/post-components/p-a905b16b.entry.js +0 -1
- package/dist/post-components/p-aa02111b.js +0 -1
- package/dist/post-components/p-b135d3e2.js +0 -1
- package/dist/post-components/p-b81e61ed.entry.js +0 -1
- package/dist/post-components/p-d6bc34ff.js +0 -1
- package/dist/post-components/p-da2b8e26.entry.js +0 -1
- package/dist/post-components/p-f0476913.js +0 -1
- package/dist/post-components/p-f0e82e63.js +0 -1
- package/dist/post-components/p-ff0e1564.js +0 -1
package/dist/docs.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-04-17T11:39:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
6
|
-
"typescriptVersion": "5.
|
|
5
|
+
"version": "4.14.0",
|
|
6
|
+
"typescriptVersion": "5.4.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
9
9
|
{
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"events": [],
|
|
127
127
|
"listeners": [
|
|
128
128
|
{
|
|
129
|
-
"event": "
|
|
129
|
+
"event": "postToggle",
|
|
130
130
|
"capture": false,
|
|
131
131
|
"passive": false
|
|
132
132
|
}
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"events": [],
|
|
273
273
|
"listeners": [
|
|
274
274
|
{
|
|
275
|
-
"event": "
|
|
275
|
+
"event": "postToggle",
|
|
276
276
|
"capture": false,
|
|
277
277
|
"passive": false
|
|
278
278
|
}
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
],
|
|
489
489
|
"events": [
|
|
490
490
|
{
|
|
491
|
-
"event": "
|
|
491
|
+
"event": "postDismissed",
|
|
492
492
|
"detail": "void",
|
|
493
493
|
"bubbles": true,
|
|
494
494
|
"complexType": {
|
|
@@ -529,6 +529,334 @@
|
|
|
529
529
|
]
|
|
530
530
|
}
|
|
531
531
|
},
|
|
532
|
+
{
|
|
533
|
+
"filePath": "src/components/post-card-control/post-card-control.tsx",
|
|
534
|
+
"encapsulation": "shadow",
|
|
535
|
+
"tag": "post-card-control",
|
|
536
|
+
"readme": "# post-card-control\n\n\n",
|
|
537
|
+
"docs": "",
|
|
538
|
+
"docsTags": [
|
|
539
|
+
{
|
|
540
|
+
"name": "class",
|
|
541
|
+
"text": "PostCardControl - representing a stencil component"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "slot",
|
|
545
|
+
"text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\" target=\"_blank\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "slot",
|
|
549
|
+
"text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\" target=\"_blank\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"usage": {},
|
|
553
|
+
"props": [
|
|
554
|
+
{
|
|
555
|
+
"name": "checked",
|
|
556
|
+
"type": "boolean",
|
|
557
|
+
"complexType": {
|
|
558
|
+
"original": "boolean",
|
|
559
|
+
"resolved": "boolean",
|
|
560
|
+
"references": {}
|
|
561
|
+
},
|
|
562
|
+
"mutable": true,
|
|
563
|
+
"attr": "checked",
|
|
564
|
+
"reflectToAttr": false,
|
|
565
|
+
"docs": "Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms data.",
|
|
566
|
+
"docsTags": [],
|
|
567
|
+
"default": "false",
|
|
568
|
+
"values": [
|
|
569
|
+
{
|
|
570
|
+
"type": "boolean"
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"optional": false,
|
|
574
|
+
"required": false
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "description",
|
|
578
|
+
"type": "string",
|
|
579
|
+
"complexType": {
|
|
580
|
+
"original": "string",
|
|
581
|
+
"resolved": "string",
|
|
582
|
+
"references": {}
|
|
583
|
+
},
|
|
584
|
+
"mutable": false,
|
|
585
|
+
"attr": "description",
|
|
586
|
+
"reflectToAttr": false,
|
|
587
|
+
"docs": "Defines the description in the control-label.",
|
|
588
|
+
"docsTags": [],
|
|
589
|
+
"default": "null",
|
|
590
|
+
"values": [
|
|
591
|
+
{
|
|
592
|
+
"type": "string"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"optional": false,
|
|
596
|
+
"required": false
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "disabled",
|
|
600
|
+
"type": "boolean",
|
|
601
|
+
"complexType": {
|
|
602
|
+
"original": "boolean",
|
|
603
|
+
"resolved": "boolean",
|
|
604
|
+
"references": {}
|
|
605
|
+
},
|
|
606
|
+
"mutable": true,
|
|
607
|
+
"attr": "disabled",
|
|
608
|
+
"reflectToAttr": false,
|
|
609
|
+
"docs": "Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms data.",
|
|
610
|
+
"docsTags": [],
|
|
611
|
+
"default": "false",
|
|
612
|
+
"values": [
|
|
613
|
+
{
|
|
614
|
+
"type": "boolean"
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"optional": false,
|
|
618
|
+
"required": false
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "icon",
|
|
622
|
+
"type": "string",
|
|
623
|
+
"complexType": {
|
|
624
|
+
"original": "string",
|
|
625
|
+
"resolved": "string",
|
|
626
|
+
"references": {}
|
|
627
|
+
},
|
|
628
|
+
"mutable": false,
|
|
629
|
+
"attr": "icon",
|
|
630
|
+
"reflectToAttr": false,
|
|
631
|
+
"docs": "Defines the icon `name` inside of the card.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>",
|
|
632
|
+
"docsTags": [],
|
|
633
|
+
"default": "null",
|
|
634
|
+
"values": [
|
|
635
|
+
{
|
|
636
|
+
"type": "string"
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"optional": false,
|
|
640
|
+
"required": false
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "label",
|
|
644
|
+
"type": "string",
|
|
645
|
+
"complexType": {
|
|
646
|
+
"original": "string",
|
|
647
|
+
"resolved": "string",
|
|
648
|
+
"references": {}
|
|
649
|
+
},
|
|
650
|
+
"mutable": false,
|
|
651
|
+
"attr": "label",
|
|
652
|
+
"reflectToAttr": false,
|
|
653
|
+
"docs": "Defines the text in the control-label.",
|
|
654
|
+
"docsTags": [],
|
|
655
|
+
"values": [
|
|
656
|
+
{
|
|
657
|
+
"type": "string"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"optional": false,
|
|
661
|
+
"required": true
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "name",
|
|
665
|
+
"type": "string",
|
|
666
|
+
"complexType": {
|
|
667
|
+
"original": "string",
|
|
668
|
+
"resolved": "string",
|
|
669
|
+
"references": {}
|
|
670
|
+
},
|
|
671
|
+
"mutable": false,
|
|
672
|
+
"attr": "name",
|
|
673
|
+
"reflectToAttr": false,
|
|
674
|
+
"docs": "Defines the `name` attribute of the control.\n<span className=\"alert alert-sm alert-info\">This is a required property, when the control should participate in a native `form`. If not specified, a native `form` will never contain this controls value.</span>\n<span className=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
|
|
675
|
+
"docsTags": [],
|
|
676
|
+
"default": "null",
|
|
677
|
+
"values": [
|
|
678
|
+
{
|
|
679
|
+
"type": "string"
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"optional": false,
|
|
683
|
+
"required": false
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "type",
|
|
687
|
+
"type": "\"checkbox\" | \"radio\"",
|
|
688
|
+
"complexType": {
|
|
689
|
+
"original": "'checkbox' | 'radio'",
|
|
690
|
+
"resolved": "\"checkbox\" | \"radio\"",
|
|
691
|
+
"references": {}
|
|
692
|
+
},
|
|
693
|
+
"mutable": false,
|
|
694
|
+
"attr": "type",
|
|
695
|
+
"reflectToAttr": false,
|
|
696
|
+
"docs": "Defines the `type` attribute of the control.",
|
|
697
|
+
"docsTags": [],
|
|
698
|
+
"values": [
|
|
699
|
+
{
|
|
700
|
+
"value": "checkbox",
|
|
701
|
+
"type": "string"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"value": "radio",
|
|
705
|
+
"type": "string"
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
"optional": false,
|
|
709
|
+
"required": true
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "validity",
|
|
713
|
+
"type": "\"false\" | \"true\"",
|
|
714
|
+
"complexType": {
|
|
715
|
+
"original": "null | 'true' | 'false'",
|
|
716
|
+
"resolved": "\"false\" | \"true\"",
|
|
717
|
+
"references": {}
|
|
718
|
+
},
|
|
719
|
+
"mutable": true,
|
|
720
|
+
"attr": "validity",
|
|
721
|
+
"reflectToAttr": false,
|
|
722
|
+
"docs": "Defines the validation `validity` of the control.\nTo reset validity to an undefiend state, simply remove the attribute from the control.",
|
|
723
|
+
"docsTags": [],
|
|
724
|
+
"default": "null",
|
|
725
|
+
"values": [
|
|
726
|
+
{
|
|
727
|
+
"value": "false",
|
|
728
|
+
"type": "string"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"value": "true",
|
|
732
|
+
"type": "string"
|
|
733
|
+
}
|
|
734
|
+
],
|
|
735
|
+
"optional": false,
|
|
736
|
+
"required": false
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "value",
|
|
740
|
+
"type": "string",
|
|
741
|
+
"complexType": {
|
|
742
|
+
"original": "string",
|
|
743
|
+
"resolved": "string",
|
|
744
|
+
"references": {}
|
|
745
|
+
},
|
|
746
|
+
"mutable": false,
|
|
747
|
+
"attr": "value",
|
|
748
|
+
"reflectToAttr": false,
|
|
749
|
+
"docs": "Defines the `value` attribute of the control. <span className=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
|
|
750
|
+
"docsTags": [],
|
|
751
|
+
"default": "null",
|
|
752
|
+
"values": [
|
|
753
|
+
{
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"optional": false,
|
|
758
|
+
"required": false
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"methods": [
|
|
762
|
+
{
|
|
763
|
+
"name": "groupReset",
|
|
764
|
+
"returns": {
|
|
765
|
+
"type": "Promise<void>",
|
|
766
|
+
"docs": ""
|
|
767
|
+
},
|
|
768
|
+
"complexType": {
|
|
769
|
+
"signature": "() => Promise<void>",
|
|
770
|
+
"parameters": [],
|
|
771
|
+
"references": {
|
|
772
|
+
"Promise": {
|
|
773
|
+
"location": "global",
|
|
774
|
+
"id": "global::Promise"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"return": "Promise<void>"
|
|
778
|
+
},
|
|
779
|
+
"signature": "groupReset() => Promise<void>",
|
|
780
|
+
"parameters": [],
|
|
781
|
+
"docs": "A hidden public method to reset the group controls `checked` state to `false`.",
|
|
782
|
+
"docsTags": []
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "reset",
|
|
786
|
+
"returns": {
|
|
787
|
+
"type": "Promise<void>",
|
|
788
|
+
"docs": ""
|
|
789
|
+
},
|
|
790
|
+
"complexType": {
|
|
791
|
+
"signature": "() => Promise<void>",
|
|
792
|
+
"parameters": [],
|
|
793
|
+
"references": {
|
|
794
|
+
"Promise": {
|
|
795
|
+
"location": "global",
|
|
796
|
+
"id": "global::Promise"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"return": "Promise<void>"
|
|
800
|
+
},
|
|
801
|
+
"signature": "reset() => Promise<void>",
|
|
802
|
+
"parameters": [],
|
|
803
|
+
"docs": "A public method to reset the controls `checked` and `validity` state.\nThe validity state is set to `null`, so it's neither valid nor invalid.",
|
|
804
|
+
"docsTags": []
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"events": [
|
|
808
|
+
{
|
|
809
|
+
"event": "postChange",
|
|
810
|
+
"detail": "{ state: boolean; value: string; }",
|
|
811
|
+
"bubbles": true,
|
|
812
|
+
"complexType": {
|
|
813
|
+
"original": "{ state: boolean; value: string }",
|
|
814
|
+
"resolved": "{ state: boolean; value: string; }",
|
|
815
|
+
"references": {}
|
|
816
|
+
},
|
|
817
|
+
"cancelable": true,
|
|
818
|
+
"composed": true,
|
|
819
|
+
"docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"alert alert-sm alert-info\">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>",
|
|
820
|
+
"docsTags": []
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"event": "postInput",
|
|
824
|
+
"detail": "{ state: boolean; value: string; }",
|
|
825
|
+
"bubbles": true,
|
|
826
|
+
"complexType": {
|
|
827
|
+
"original": "{ state: boolean; value: string }",
|
|
828
|
+
"resolved": "{ state: boolean; value: string; }",
|
|
829
|
+
"references": {}
|
|
830
|
+
},
|
|
831
|
+
"cancelable": true,
|
|
832
|
+
"composed": true,
|
|
833
|
+
"docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.",
|
|
834
|
+
"docsTags": []
|
|
835
|
+
}
|
|
836
|
+
],
|
|
837
|
+
"listeners": [],
|
|
838
|
+
"styles": [],
|
|
839
|
+
"slots": [
|
|
840
|
+
{
|
|
841
|
+
"name": "default",
|
|
842
|
+
"docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\" target=\"_blank\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"name": "icon",
|
|
846
|
+
"docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\" target=\"_blank\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"parts": [],
|
|
850
|
+
"dependents": [],
|
|
851
|
+
"dependencies": [
|
|
852
|
+
"post-icon"
|
|
853
|
+
],
|
|
854
|
+
"dependencyGraph": {
|
|
855
|
+
"post-card-control": [
|
|
856
|
+
"post-icon"
|
|
857
|
+
]
|
|
858
|
+
}
|
|
859
|
+
},
|
|
532
860
|
{
|
|
533
861
|
"filePath": "src/components/post-collapsible/post-collapsible.tsx",
|
|
534
862
|
"encapsulation": "shadow",
|
|
@@ -604,7 +932,7 @@
|
|
|
604
932
|
],
|
|
605
933
|
"events": [
|
|
606
934
|
{
|
|
607
|
-
"event": "
|
|
935
|
+
"event": "postToggle",
|
|
608
936
|
"detail": "boolean",
|
|
609
937
|
"bubbles": true,
|
|
610
938
|
"complexType": {
|
|
@@ -839,15 +1167,23 @@
|
|
|
839
1167
|
"parts": [],
|
|
840
1168
|
"dependents": [
|
|
841
1169
|
"post-alert",
|
|
842
|
-
"post-
|
|
1170
|
+
"post-card-control",
|
|
1171
|
+
"post-rating",
|
|
1172
|
+
"post-tag"
|
|
843
1173
|
],
|
|
844
1174
|
"dependencies": [],
|
|
845
1175
|
"dependencyGraph": {
|
|
846
1176
|
"post-alert": [
|
|
847
1177
|
"post-icon"
|
|
848
1178
|
],
|
|
1179
|
+
"post-card-control": [
|
|
1180
|
+
"post-icon"
|
|
1181
|
+
],
|
|
849
1182
|
"post-rating": [
|
|
850
1183
|
"post-icon"
|
|
1184
|
+
],
|
|
1185
|
+
"post-tag": [
|
|
1186
|
+
"post-icon"
|
|
851
1187
|
]
|
|
852
1188
|
}
|
|
853
1189
|
},
|
|
@@ -913,7 +1249,7 @@
|
|
|
913
1249
|
"Placement": {
|
|
914
1250
|
"location": "import",
|
|
915
1251
|
"path": "@floating-ui/dom",
|
|
916
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
1252
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
917
1253
|
}
|
|
918
1254
|
}
|
|
919
1255
|
},
|
|
@@ -1162,7 +1498,7 @@
|
|
|
1162
1498
|
"Placement": {
|
|
1163
1499
|
"location": "import",
|
|
1164
1500
|
"path": "@floating-ui/dom",
|
|
1165
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
1501
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
1166
1502
|
}
|
|
1167
1503
|
}
|
|
1168
1504
|
},
|
|
@@ -1352,7 +1688,7 @@
|
|
|
1352
1688
|
],
|
|
1353
1689
|
"events": [
|
|
1354
1690
|
{
|
|
1355
|
-
"event": "
|
|
1691
|
+
"event": "postToggle",
|
|
1356
1692
|
"detail": "boolean",
|
|
1357
1693
|
"bubbles": true,
|
|
1358
1694
|
"complexType": {
|
|
@@ -1495,7 +1831,7 @@
|
|
|
1495
1831
|
"methods": [],
|
|
1496
1832
|
"events": [
|
|
1497
1833
|
{
|
|
1498
|
-
"event": "
|
|
1834
|
+
"event": "postChange",
|
|
1499
1835
|
"detail": "{ value: number; }",
|
|
1500
1836
|
"bubbles": true,
|
|
1501
1837
|
"complexType": {
|
|
@@ -1509,7 +1845,7 @@
|
|
|
1509
1845
|
"docsTags": []
|
|
1510
1846
|
},
|
|
1511
1847
|
{
|
|
1512
|
-
"event": "
|
|
1848
|
+
"event": "postInput",
|
|
1513
1849
|
"detail": "{ value: number; }",
|
|
1514
1850
|
"bubbles": true,
|
|
1515
1851
|
"complexType": {
|
|
@@ -1731,7 +2067,7 @@
|
|
|
1731
2067
|
],
|
|
1732
2068
|
"events": [
|
|
1733
2069
|
{
|
|
1734
|
-
"event": "
|
|
2070
|
+
"event": "postChange",
|
|
1735
2071
|
"detail": "string",
|
|
1736
2072
|
"bubbles": true,
|
|
1737
2073
|
"complexType": {
|
|
@@ -1767,6 +2103,129 @@
|
|
|
1767
2103
|
"dependencies": [],
|
|
1768
2104
|
"dependencyGraph": {}
|
|
1769
2105
|
},
|
|
2106
|
+
{
|
|
2107
|
+
"filePath": "src/components/post-tag/post-tag.tsx",
|
|
2108
|
+
"encapsulation": "shadow",
|
|
2109
|
+
"tag": "post-tag",
|
|
2110
|
+
"readme": "# tag\n",
|
|
2111
|
+
"docs": "",
|
|
2112
|
+
"docsTags": [
|
|
2113
|
+
{
|
|
2114
|
+
"name": "slot",
|
|
2115
|
+
"text": "default - Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\" target=\"_blank\">inline content</a>.</p>"
|
|
2116
|
+
}
|
|
2117
|
+
],
|
|
2118
|
+
"usage": {},
|
|
2119
|
+
"props": [
|
|
2120
|
+
{
|
|
2121
|
+
"name": "icon",
|
|
2122
|
+
"type": "string",
|
|
2123
|
+
"complexType": {
|
|
2124
|
+
"original": "null | string",
|
|
2125
|
+
"resolved": "string",
|
|
2126
|
+
"references": {}
|
|
2127
|
+
},
|
|
2128
|
+
"mutable": false,
|
|
2129
|
+
"attr": "icon",
|
|
2130
|
+
"reflectToAttr": false,
|
|
2131
|
+
"docs": "Defines the icon `name` inside of the component.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\" target=\"_blank\">icon library</a>.",
|
|
2132
|
+
"docsTags": [],
|
|
2133
|
+
"default": "null",
|
|
2134
|
+
"values": [
|
|
2135
|
+
{
|
|
2136
|
+
"type": "string"
|
|
2137
|
+
}
|
|
2138
|
+
],
|
|
2139
|
+
"optional": false,
|
|
2140
|
+
"required": false
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"name": "size",
|
|
2144
|
+
"type": "\"sm\"",
|
|
2145
|
+
"complexType": {
|
|
2146
|
+
"original": "null | 'sm'",
|
|
2147
|
+
"resolved": "\"sm\"",
|
|
2148
|
+
"references": {}
|
|
2149
|
+
},
|
|
2150
|
+
"mutable": false,
|
|
2151
|
+
"attr": "size",
|
|
2152
|
+
"reflectToAttr": false,
|
|
2153
|
+
"docs": "Defines the size of the component.",
|
|
2154
|
+
"docsTags": [],
|
|
2155
|
+
"default": "null",
|
|
2156
|
+
"values": [
|
|
2157
|
+
{
|
|
2158
|
+
"value": "sm",
|
|
2159
|
+
"type": "string"
|
|
2160
|
+
}
|
|
2161
|
+
],
|
|
2162
|
+
"optional": false,
|
|
2163
|
+
"required": false
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "variant",
|
|
2167
|
+
"type": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
|
|
2168
|
+
"complexType": {
|
|
2169
|
+
"original": "'white' | 'info' | 'success' | 'error' | 'warning' | 'yellow'",
|
|
2170
|
+
"resolved": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
|
|
2171
|
+
"references": {}
|
|
2172
|
+
},
|
|
2173
|
+
"mutable": false,
|
|
2174
|
+
"attr": "variant",
|
|
2175
|
+
"reflectToAttr": false,
|
|
2176
|
+
"docs": "Defines the color variant of the component.",
|
|
2177
|
+
"docsTags": [],
|
|
2178
|
+
"values": [
|
|
2179
|
+
{
|
|
2180
|
+
"value": "error",
|
|
2181
|
+
"type": "string"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"value": "info",
|
|
2185
|
+
"type": "string"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"value": "success",
|
|
2189
|
+
"type": "string"
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"value": "warning",
|
|
2193
|
+
"type": "string"
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"value": "white",
|
|
2197
|
+
"type": "string"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"value": "yellow",
|
|
2201
|
+
"type": "string"
|
|
2202
|
+
}
|
|
2203
|
+
],
|
|
2204
|
+
"optional": false,
|
|
2205
|
+
"required": false
|
|
2206
|
+
}
|
|
2207
|
+
],
|
|
2208
|
+
"methods": [],
|
|
2209
|
+
"events": [],
|
|
2210
|
+
"listeners": [],
|
|
2211
|
+
"styles": [],
|
|
2212
|
+
"slots": [
|
|
2213
|
+
{
|
|
2214
|
+
"name": "default",
|
|
2215
|
+
"docs": "Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\" target=\"_blank\">inline content</a>.</p>"
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
2218
|
+
"parts": [],
|
|
2219
|
+
"dependents": [],
|
|
2220
|
+
"dependencies": [
|
|
2221
|
+
"post-icon"
|
|
2222
|
+
],
|
|
2223
|
+
"dependencyGraph": {
|
|
2224
|
+
"post-tag": [
|
|
2225
|
+
"post-icon"
|
|
2226
|
+
]
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
1770
2229
|
{
|
|
1771
2230
|
"filePath": "src/components/post-tooltip/post-tooltip.tsx",
|
|
1772
2231
|
"encapsulation": "shadow",
|
|
@@ -1808,7 +2267,7 @@
|
|
|
1808
2267
|
"Placement": {
|
|
1809
2268
|
"location": "import",
|
|
1810
2269
|
"path": "@floating-ui/dom",
|
|
1811
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
2270
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
1812
2271
|
}
|
|
1813
2272
|
}
|
|
1814
2273
|
},
|
|
@@ -2019,14 +2478,14 @@
|
|
|
2019
2478
|
"path": "src/components/post-accordion-item/heading-levels.ts"
|
|
2020
2479
|
},
|
|
2021
2480
|
"src/components/post-alert/alert-types.ts::AlertType": {
|
|
2022
|
-
"declaration": "\"primary\" | \"success\" | \"
|
|
2481
|
+
"declaration": "\"primary\" | \"success\" | \"warning\" | \"danger\" | \"info\" | \"gray\"",
|
|
2023
2482
|
"docstring": "",
|
|
2024
2483
|
"path": "src/components/post-alert/alert-types.ts"
|
|
2025
2484
|
},
|
|
2026
|
-
"../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
2485
|
+
"../../node_modules/.pnpm/@floating-ui+dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
|
|
2027
2486
|
"declaration": "any",
|
|
2028
2487
|
"docstring": "",
|
|
2029
|
-
"path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
2488
|
+
"path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
|
|
2030
2489
|
}
|
|
2031
2490
|
}
|
|
2032
2491
|
}
|