@swisspost/design-system-components 10.0.0-next.54 → 10.0.0-next.55
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/cjs/{index-Cb8CTrOz.js → index-B4gYpuJF.js} +9 -1
- package/dist/cjs/{index-DtvYdwe1.js → index-UFKR6Ok0.js} +2 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CvZxvdTJ.js → package-DkJrv93P.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/post-avatar.cjs.entry.js +4 -4
- package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/post-banner.cjs.entry.js +4 -4
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +4 -4
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +5 -5
- package/dist/cjs/post-card-control.cjs.entry.js +5 -5
- package/dist/cjs/post-closebutton_15.cjs.entry.js +105 -72
- package/dist/cjs/post-collapsible_2.cjs.entry.js +10 -9
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-footer.cjs.entry.js +4 -4
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
- package/dist/cjs/post-popover.cjs.entry.js +5 -5
- package/dist/cjs/post-rating.cjs.entry.js +4 -4
- package/dist/cjs/post-stepper-item.cjs.entry.js +18 -0
- package/dist/cjs/post-stepper.cjs.entry.js +106 -0
- package/dist/cjs/post-tab-header.cjs.entry.js +4 -4
- package/dist/cjs/post-tab-panel.cjs.entry.js +4 -4
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +4 -4
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/post-accordion/post-accordion.js +2 -2
- package/dist/collection/components/post-avatar/post-avatar.css +1 -1
- package/dist/collection/components/post-banner/post-banner.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +6 -6
- package/dist/collection/components/post-card-control/post-card-control.js +3 -3
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +6 -5
- package/dist/collection/components/post-footer/post-footer.js +2 -2
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +104 -54
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-language-option/post-language-option.css +1 -1
- package/dist/collection/components/post-language-option/post-language-option.js +2 -2
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.js +2 -2
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-list/post-list.js +1 -1
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +2 -2
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +2 -2
- package/dist/collection/components/post-menu/post-menu.js +2 -2
- package/dist/collection/components/post-menu-item/post-menu-item.js +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +2 -2
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
- package/dist/collection/components/post-rating/post-rating.js +2 -2
- package/dist/collection/components/post-stepper/post-stepper.css +1 -0
- package/dist/collection/components/post-stepper/post-stepper.js +204 -0
- package/dist/collection/components/post-stepper-item/post-stepper-item.css +7 -0
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +18 -0
- 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.js +1 -1
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
- package/dist/component-names.json +2 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +2 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion2.js +2 -2
- package/dist/components/post-avatar.js +2 -2
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumbs.js +7 -7
- package/dist/components/post-card-control.js +3 -3
- package/dist/components/post-collapsible-trigger2.js +9 -8
- package/dist/components/post-footer.js +2 -2
- package/dist/components/post-header.js +89 -54
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-language-option.js +3 -3
- package/dist/components/post-language-switch.js +3 -3
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-list-item.js +1 -1
- package/dist/components/post-list.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +2 -2
- package/dist/components/post-megadropdown-trigger.js +3 -3
- package/dist/components/post-megadropdown.js +3 -3
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +2 -2
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +3 -3
- package/dist/components/post-popovercontainer2.js +2 -2
- package/dist/components/post-rating.js +2 -2
- package/dist/components/post-stepper-item.d.ts +11 -0
- package/dist/components/post-stepper-item.js +33 -0
- package/dist/components/post-stepper.d.ts +11 -0
- package/dist/components/post-stepper.js +134 -0
- package/dist/components/post-tab-header.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +2 -2
- package/dist/components/react/index.js +1 -1
- package/dist/components/react/p-BhxZzOEC.js +3 -0
- package/dist/components/react/{p-nSFSgY-P.js → p-CSAMO7iJ.js} +5 -5
- package/dist/components/react/{p-CV7fm1rW.js → p-CYkf_7Y5.js} +2 -1
- package/dist/components/react/{p-BfLuYwf7.js → p-Ccrl2AQn.js} +2 -2
- package/dist/components/react/{p-DVxZMuPW.js → p-CewRvBtg.js} +4 -4
- package/dist/components/react/{p-BUxAs8N5.js → p-Cwiv86_f.js} +3 -3
- package/dist/components/react/{p-BK474oMI.js → p-D2waO0Zc.js} +2 -2
- package/dist/components/react/{p-2U_BGLjc.js → p-DBPOV12C.js} +3 -3
- package/dist/components/react/{p-mENtrn2l.js → p-DVGEExot.js} +4 -4
- package/dist/components/react/{p-Ccgu_WOx.js → p-Djvj8fd2.js} +3 -3
- package/dist/components/react/{p-D4NSCxrX.js → p-LtiDhYis.js} +11 -10
- package/dist/components/react/{p-D3CFjhAf.js → p-XrZzCOKT.js} +3 -3
- package/dist/components/react/{p-Dj7qWba5.js → p-v3pOrMNQ.js} +5 -5
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-avatar.js +3 -3
- package/dist/components/react/post-back-to-top.js +3 -3
- package/dist/components/react/post-banner.js +3 -3
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +14 -14
- package/dist/components/react/post-card-control.js +6 -6
- package/dist/components/react/post-closebutton.js +1 -1
- package/dist/components/react/post-collapsible-trigger.js +1 -1
- package/dist/components/react/post-collapsible.js +1 -1
- package/dist/components/react/post-footer.js +9 -9
- package/dist/components/react/post-header.js +90 -55
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-option.js +5 -5
- package/dist/components/react/post-language-switch.js +9 -9
- package/dist/components/react/post-linkarea.js +2 -2
- package/dist/components/react/post-list-item.js +2 -2
- package/dist/components/react/post-list.js +2 -2
- package/dist/components/react/post-logo.js +3 -3
- package/dist/components/react/post-mainnavigation.js +4 -4
- package/dist/components/react/post-megadropdown-trigger.js +5 -5
- package/dist/components/react/post-megadropdown.js +4 -4
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-popover-trigger.js +3 -3
- package/dist/components/react/post-popover.js +8 -8
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-rating.js +5 -5
- package/dist/components/react/post-stepper-item.d.ts +11 -0
- package/dist/components/react/post-stepper-item.js +34 -0
- package/dist/components/react/post-stepper.d.ts +11 -0
- package/dist/components/react/post-stepper.js +135 -0
- package/dist/components/react/post-tab-header.js +3 -3
- package/dist/components/react/post-tab-panel.js +3 -3
- package/dist/components/react/post-tabs.js +2 -2
- package/dist/components/react/post-togglebutton.js +2 -2
- package/dist/components/react/post-tooltip-trigger.js +3 -3
- package/dist/components/react/post-tooltip.js +5 -5
- package/dist/docs.json +175 -27
- package/dist/esm/{index-VmK3ABCB.js → index-Beaz8wEe.js} +2 -1
- package/dist/esm/{index-CFNKgUjL.js → index-wEFJ-c34.js} +9 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-BhxZzOEC.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +4 -4
- package/dist/esm/post-avatar.entry.js +4 -4
- package/dist/esm/post-back-to-top.entry.js +3 -3
- package/dist/esm/post-banner.entry.js +4 -4
- package/dist/esm/post-breadcrumb-item_2.entry.js +4 -4
- package/dist/esm/post-breadcrumbs.entry.js +5 -5
- package/dist/esm/post-card-control.entry.js +5 -5
- package/dist/esm/post-closebutton_15.entry.js +105 -72
- package/dist/esm/post-collapsible_2.entry.js +10 -9
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-footer.entry.js +4 -4
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-popover-trigger.entry.js +4 -4
- package/dist/esm/post-popover.entry.js +5 -5
- package/dist/esm/post-rating.entry.js +4 -4
- package/dist/esm/post-stepper-item.entry.js +16 -0
- package/dist/esm/post-stepper.entry.js +104 -0
- package/dist/esm/post-tab-header.entry.js +4 -4
- package/dist/esm/post-tab-panel.entry.js +4 -4
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/post-tooltip-trigger.entry.js +4 -4
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/post-components/p-01e678c9.entry.js +1 -0
- package/dist/post-components/p-034a453f.entry.js +1 -0
- package/dist/post-components/p-15a4cdbf.entry.js +1 -0
- package/dist/post-components/p-24dc54d1.entry.js +1 -0
- package/dist/post-components/p-2a2030bf.entry.js +1 -0
- package/dist/post-components/p-2ed84cc3.entry.js +1 -0
- package/dist/post-components/{p-77e43032.entry.js → p-3228968f.entry.js} +1 -1
- package/dist/post-components/p-3c01ddfe.entry.js +1 -0
- package/dist/post-components/{p-261b1452.entry.js → p-57288cb2.entry.js} +1 -1
- package/dist/post-components/{p-0e92dbef.entry.js → p-748b1f01.entry.js} +1 -1
- package/dist/post-components/{p-0ec2bdd7.entry.js → p-7745e46e.entry.js} +1 -1
- package/dist/post-components/{p-8f0fc02a.entry.js → p-7f635728.entry.js} +1 -1
- package/dist/post-components/p-82c178a3.entry.js +1 -0
- package/dist/post-components/p-9b5f8319.entry.js +1 -0
- package/dist/post-components/p-Beaz8wEe.js +1 -0
- package/dist/post-components/p-BhxZzOEC.js +1 -0
- package/dist/post-components/{p-96750e25.entry.js → p-a9644e54.entry.js} +1 -1
- package/dist/post-components/{p-658b1ccc.entry.js → p-af030a3a.entry.js} +1 -1
- package/dist/post-components/{p-e90688ab.entry.js → p-b8ba8139.entry.js} +1 -1
- package/dist/post-components/{p-bf41fe56.entry.js → p-cd03e6f2.entry.js} +1 -1
- package/dist/post-components/{p-02ea3ec5.entry.js → p-db935e8e.entry.js} +1 -1
- package/dist/post-components/{p-11c204e0.entry.js → p-e62e1f57.entry.js} +1 -1
- package/dist/post-components/{p-f1b815b6.entry.js → p-fb4b1641.entry.js} +1 -1
- package/dist/post-components/p-wEFJ-c34.js +2 -0
- package/dist/post-components/post-components.css +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +1 -0
- package/dist/types/components/post-header/post-header.d.ts +15 -11
- package/dist/types/components/post-stepper/post-stepper.d.ts +38 -0
- package/dist/types/components/post-stepper-item/post-stepper-item.d.ts +3 -0
- package/dist/types/components.d.ts +62 -2
- package/hydrate/index.js +296 -124
- package/hydrate/index.mjs +296 -124
- package/package.json +7 -8
- package/dist/components/react/p-BXRsHuTS.js +0 -3
- package/dist/esm/package-BXRsHuTS.js +0 -3
- package/dist/post-components/p-197a0f25.entry.js +0 -1
- package/dist/post-components/p-3274ab81.entry.js +0 -1
- package/dist/post-components/p-BXRsHuTS.js +0 -1
- package/dist/post-components/p-CFNKgUjL.js +0 -2
- package/dist/post-components/p-VmK3ABCB.js +0 -1
- package/dist/post-components/p-b5b5e4b9.entry.js +0 -1
- package/dist/post-components/p-b8059ba1.entry.js +0 -1
- package/dist/post-components/p-d6134e24.entry.js +0 -1
- package/dist/post-components/p-e7029b9e.entry.js +0 -1
- package/dist/post-components/p-ea5da614.entry.js +0 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
|
+
import { c as checkRequiredAndType, f as checkRequiredAndPattern } from './p-CYkf_7Y5.js';
|
|
4
|
+
import './p-CJ80BZ06.js';
|
|
5
|
+
|
|
6
|
+
const postStepperCss = "ol{margin-block:0;padding-inline-start:0;list-style:none;counter-reset:step-index;display:grid;position:relative;overflow:hidden;grid-template-columns:20px;grid-auto-columns:minmax(0, 1fr);padding-inline-end:20px}@media screen and (max-width: 779.98px){ol{display:flex;padding-inline-end:0}}.active-step{font-size:var(--post-device-font-size-7);font-weight:var(--post-device-font-weight-bold);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}@media screen and (min-width: 780px){.active-step{display:none}}";
|
|
7
|
+
|
|
8
|
+
const PostStepper$1 = /*@__PURE__*/ proxyCustomElement(class PostStepper extends H {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
/**
|
|
14
|
+
* Defines the currently active step
|
|
15
|
+
*/
|
|
16
|
+
this.currentIndex = -1;
|
|
17
|
+
}
|
|
18
|
+
validateCurrentLabel() {
|
|
19
|
+
checkRequiredAndType(this, 'currentLabel', 'string');
|
|
20
|
+
}
|
|
21
|
+
validateCompletedLabel() {
|
|
22
|
+
checkRequiredAndType(this, 'completedLabel', 'string');
|
|
23
|
+
}
|
|
24
|
+
validateActiveStepLabel() {
|
|
25
|
+
checkRequiredAndPattern(this, 'activeStepLabel', /#index\b/);
|
|
26
|
+
this.updateActiveStepLabel();
|
|
27
|
+
}
|
|
28
|
+
validateCurrentIndex() {
|
|
29
|
+
checkRequiredAndType(this, 'currentIndex', 'number');
|
|
30
|
+
this.updateSteps();
|
|
31
|
+
}
|
|
32
|
+
componentDidLoad() {
|
|
33
|
+
this.validateCompletedLabel();
|
|
34
|
+
this.validateCurrentLabel();
|
|
35
|
+
this.validateActiveStepLabel();
|
|
36
|
+
// Wait for slotchange
|
|
37
|
+
setTimeout(() => {
|
|
38
|
+
this.validateCurrentIndex();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
updateActiveStepLabel() {
|
|
42
|
+
if (this.activeStepLabel) {
|
|
43
|
+
const labelTemplate = this.activeStepLabel;
|
|
44
|
+
this.mobileActiveStepLabel = labelTemplate.replace(/#index/g, `${this.currentIndex + 1}`);
|
|
45
|
+
this.updateMobileActiveStepVisibility();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
updateSteps() {
|
|
49
|
+
this.stepItems = this.host.querySelectorAll('post-stepper-item');
|
|
50
|
+
if (!this.stepItems || this.stepItems.length < 3) {
|
|
51
|
+
console.error('The post-stepper component should have at least three steps.');
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
this.updateActiveStepLabel();
|
|
55
|
+
this.stepItems.forEach((el, i) => {
|
|
56
|
+
if (this.currentIndex === i) {
|
|
57
|
+
this.mobileActiveStepName = el.querySelector('.label').innerHTML;
|
|
58
|
+
}
|
|
59
|
+
// Update "post-stepper-item" classes to show correct status
|
|
60
|
+
el.classList.toggle('stepper-item-completed', this.currentIndex > i);
|
|
61
|
+
el.classList.toggle('stepper-item-current', this.currentIndex === i);
|
|
62
|
+
el.classList.toggle('stepper-item-inactive', this.currentIndex < i);
|
|
63
|
+
// Update accessibility label depending on status (Completed/Current/-)
|
|
64
|
+
const hiddenLabel = el.querySelector('.step-hidden-label');
|
|
65
|
+
if (hiddenLabel) {
|
|
66
|
+
let labelText = '';
|
|
67
|
+
if (this.currentIndex > i) {
|
|
68
|
+
labelText = `${this.completedLabel}:`;
|
|
69
|
+
}
|
|
70
|
+
else if (this.currentIndex === i) {
|
|
71
|
+
labelText = `${this.currentLabel}:`;
|
|
72
|
+
}
|
|
73
|
+
hiddenLabel.textContent = labelText;
|
|
74
|
+
}
|
|
75
|
+
// Update accessibility aria attributes
|
|
76
|
+
if (this.currentIndex === i) {
|
|
77
|
+
el.setAttribute('aria-current', 'step');
|
|
78
|
+
el.setAttribute('aria-live', 'polite');
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
el.removeAttribute('aria-current');
|
|
82
|
+
el.removeAttribute('aria-live');
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
this.updateMobileActiveStepVisibility();
|
|
86
|
+
}
|
|
87
|
+
updateMobileActiveStepVisibility() {
|
|
88
|
+
if (this.currentIndex >= this.stepItems.length || this.currentIndex < 0) {
|
|
89
|
+
this.mobileActiveStepLabel = '';
|
|
90
|
+
this.mobileActiveStepName = '';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
return (h(Host, { key: '874d4d6a510ede937c7f9e5dd1f28f8981f33626', "data-version": version }, h("ol", { key: '55fb25ded4111eb1c87ea11a10fbd65346843132' }, h("slot", { key: '0c9f9d00573ea568c0039312507989a22868f432', onSlotchange: () => this.updateSteps() })), h("div", { key: '22e5b14c5285b96ba0a3a99c9cb90e02550298c6', class: "active-step", "aria-hidden": "true" }, this.mobileActiveStepLabel, h("span", { key: '1ba5204f3c01dad6730d0d300168a13316e3d3ac', innerHTML: this.mobileActiveStepName }))));
|
|
95
|
+
}
|
|
96
|
+
get host() { return this; }
|
|
97
|
+
static get watchers() { return {
|
|
98
|
+
"currentLabel": ["validateCurrentLabel"],
|
|
99
|
+
"completedLabel": ["validateCompletedLabel"],
|
|
100
|
+
"activeStepLabel": ["validateActiveStepLabel"],
|
|
101
|
+
"currentIndex": ["validateCurrentIndex"]
|
|
102
|
+
}; }
|
|
103
|
+
static get style() { return postStepperCss; }
|
|
104
|
+
}, [1, "post-stepper", {
|
|
105
|
+
"currentLabel": [513, "current-label"],
|
|
106
|
+
"completedLabel": [513, "completed-label"],
|
|
107
|
+
"activeStepLabel": [513, "active-step-label"],
|
|
108
|
+
"currentIndex": [2, "current-index"],
|
|
109
|
+
"mobileActiveStepLabel": [32],
|
|
110
|
+
"mobileActiveStepName": [32]
|
|
111
|
+
}, undefined, {
|
|
112
|
+
"currentLabel": ["validateCurrentLabel"],
|
|
113
|
+
"completedLabel": ["validateCompletedLabel"],
|
|
114
|
+
"activeStepLabel": ["validateActiveStepLabel"],
|
|
115
|
+
"currentIndex": ["validateCurrentIndex"]
|
|
116
|
+
}]);
|
|
117
|
+
function defineCustomElement$1() {
|
|
118
|
+
if (typeof customElements === "undefined") {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const components = ["post-stepper"];
|
|
122
|
+
components.forEach(tagName => { switch (tagName) {
|
|
123
|
+
case "post-stepper":
|
|
124
|
+
if (!customElements.get(tagName)) {
|
|
125
|
+
customElements.define(tagName, PostStepper$1);
|
|
126
|
+
}
|
|
127
|
+
break;
|
|
128
|
+
} });
|
|
129
|
+
}
|
|
130
|
+
defineCustomElement$1();
|
|
131
|
+
|
|
132
|
+
const PostStepper = PostStepper$1;
|
|
133
|
+
const defineCustomElement = defineCustomElement$1;
|
|
134
|
+
|
|
135
|
+
export { PostStepper, defineCustomElement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
3
|
-
import { c as checkRequiredAndType } from './p-
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
|
+
import { c as checkRequiredAndType } from './p-CYkf_7Y5.js';
|
|
4
4
|
import './p-CJ80BZ06.js';
|
|
5
5
|
import { n as nanoid } from './p-BLchVpF6.js';
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ const PostTabHeader$1 = /*@__PURE__*/ proxyCustomElement(class PostTabHeader ext
|
|
|
19
19
|
this.tabId = `tab-${this.host.id || nanoid(6)}`;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'b350fb9392e74af452470d72f97678aa1ac2d430', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, h("slot", { key: '49722204330b3b2d760b8718b349b1417fd29a71' })));
|
|
23
23
|
}
|
|
24
24
|
get host() { return this; }
|
|
25
25
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
3
|
import { n as nanoid } from './p-BLchVpF6.js';
|
|
4
|
-
import { c as checkRequiredAndType } from './p-
|
|
4
|
+
import { c as checkRequiredAndType } from './p-CYkf_7Y5.js';
|
|
5
5
|
import './p-CJ80BZ06.js';
|
|
6
6
|
|
|
7
7
|
const postTabPanelCss = ":host{display:none}";
|
|
@@ -21,7 +21,7 @@ const PostTabPanel$1 = /*@__PURE__*/ proxyCustomElement(class PostTabPanel exten
|
|
|
21
21
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'f00d9caf4324fc2d750d7844ca6ddc8198aef0c0', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '58f2eaf91aee7897039a151e117d9b9fc948162a' })));
|
|
25
25
|
}
|
|
26
26
|
get host() { return this; }
|
|
27
27
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
3
|
import { f as fadeOut, a as fadeIn } from './p-SbIC4aZX.js';
|
|
4
4
|
import './p-CJ80BZ06.js';
|
|
5
5
|
|
|
@@ -167,7 +167,7 @@ const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
|
167
167
|
nextTab.focus();
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'f3534a3b05c379ce1cb311d4c5ea950c8eba87d0', "data-version": version }, h("div", { key: 'd812db6b2a895504fce8ac9dae2663821b9dd759', class: "tabs-wrapper", part: "tabs" }, h("div", { key: '9abd0ee00204a085ceaebce5e11fcff527273605', class: "tabs", role: "tablist" }, h("slot", { key: '89f09f443ca740dc9af66fedb1367cdb4885074d', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '4a94a19fd67814482934bd31bb219470bea8dec6', class: "tab-content", part: "content" }, h("slot", { key: '44db446865edacb1b1c0fc20ef391adfa189e8cb', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
171
171
|
}
|
|
172
172
|
get host() { return this; }
|
|
173
173
|
static get style() { return postTabsCss; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
3
|
|
|
4
4
|
const postTogglebuttonCss = ":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}";
|
|
5
5
|
|
|
@@ -29,7 +29,7 @@ const PostTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class PostTogglebutt
|
|
|
29
29
|
this.host.addEventListener('keydown', (e) => this.handleKeydown(e));
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'ecd5772b09be8842e5c6fc3bf34932b27d90c533', "data-version": version, role: "button", tabindex: "0", "aria-pressed": this.toggled.toString() }, h("slot", { key: '3bb32b33155e71ced9375afb5a26d1d4e63a83c8' })));
|
|
33
33
|
}
|
|
34
34
|
get host() { return this; }
|
|
35
35
|
static get style() { return postTogglebuttonCss; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
import { I as IS_BROWSER } from './p-CJ80BZ06.js';
|
|
3
|
-
import { e as checkEmptyOrType } from './p-
|
|
4
|
-
import { v as version } from './p-
|
|
3
|
+
import { e as checkEmptyOrType } from './p-CYkf_7Y5.js';
|
|
4
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
5
5
|
import { i as isFocusable } from './p-HygIVKXC.js';
|
|
6
6
|
|
|
7
7
|
const postTooltipTriggerCss = "post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}";
|
|
@@ -173,7 +173,7 @@ const PostTooltipTrigger$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltipT
|
|
|
173
173
|
this.tooltip?.hide();
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '48246523aabaf1851e05d0273346d3e26e7ad866', "data-version": version }, h("slot", { key: '0442aeadddd59642c317b6f10c93008adf3e6585', onSlotchange: () => this.handleSlotChange() })));
|
|
177
177
|
}
|
|
178
178
|
get host() { return this; }
|
|
179
179
|
static get watchers() { return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
3
|
-
import { d as checkEmptyOrOneOf } from './p-
|
|
2
|
+
import { v as version } from './p-BhxZzOEC.js';
|
|
3
|
+
import { d as checkEmptyOrOneOf } from './p-CYkf_7Y5.js';
|
|
4
4
|
import './p-CJ80BZ06.js';
|
|
5
|
-
import { d as defineCustomElement$2, a as PLACEMENT_TYPES } from './p-
|
|
5
|
+
import { d as defineCustomElement$2, a as PLACEMENT_TYPES } from './p-DVGEExot.js';
|
|
6
6
|
|
|
7
|
-
const postTooltipCss = ":host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:\"\";inset:-13px;z-index:-1}post-popovercontainer>div{color:var(--post-current-fg);background-color:var(--post-current-bg);padding:var(--post-core-dimension-4) var(--post-core-dimension-8);max-width:280px;min-height:32px;word-wrap:break-word;white-space:normal}";
|
|
7
|
+
const postTooltipCss = ":host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:\"\";inset:-13px;z-index:-1}post-popovercontainer>div{color:var(--post-current-fg);background-color:var(--post-current-bg);padding:var(--post-core-dimension-4) var(--post-core-dimension-8);max-width:var(--post-tooltip-max-width, 280px);width:inherit;min-height:32px;word-wrap:break-word;white-space:normal}";
|
|
8
8
|
|
|
9
9
|
const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends H {
|
|
10
10
|
constructor() {
|
|
@@ -71,7 +71,7 @@ const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const popoverClass = `${this.arrow ? 'has-arrow' : ''}`;
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'ebc25bd8a9615a13be82d58f246b5a5d42113cf2', "data-version": version }, h("post-popovercontainer", { key: 'dba7a96c1f354752475a6f1d9116b0097dddf320', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, animation: this.animation, placement: this.placement, onPostToggle: e => this.handleToggle(e), ref: (el) => (this.popoverRef = el) }, h("slot", { key: '537370b88912d323a72ee074767b4cf2b4bc1b57' }))));
|
|
75
75
|
}
|
|
76
76
|
get host() { return this; }
|
|
77
77
|
static get watchers() { return {
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-11-
|
|
2
|
+
"timestamp": "2025-11-17T10:10:42",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.35.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"mutable": false,
|
|
38
38
|
"attr": "heading-level",
|
|
39
|
-
"reflectToAttr":
|
|
39
|
+
"reflectToAttr": true,
|
|
40
40
|
"docs": "Defines the hierarchical level of the `post-accordion-item` headers within the headings structure.",
|
|
41
41
|
"docsTags": [],
|
|
42
42
|
"values": [
|
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
},
|
|
846
846
|
"mutable": false,
|
|
847
847
|
"attr": "home-text",
|
|
848
|
-
"reflectToAttr":
|
|
848
|
+
"reflectToAttr": true,
|
|
849
849
|
"docs": "The text label for the home breadcrumb item.",
|
|
850
850
|
"docsTags": [],
|
|
851
851
|
"values": [
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
},
|
|
869
869
|
"mutable": false,
|
|
870
870
|
"attr": "home-url",
|
|
871
|
-
"reflectToAttr":
|
|
871
|
+
"reflectToAttr": true,
|
|
872
872
|
"docs": "The URL for the home breadcrumb item.",
|
|
873
873
|
"docsTags": [],
|
|
874
874
|
"values": [
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
},
|
|
892
892
|
"mutable": false,
|
|
893
893
|
"attr": "label",
|
|
894
|
-
"reflectToAttr":
|
|
894
|
+
"reflectToAttr": true,
|
|
895
895
|
"docs": "The accessible label for the breadcrumb component.",
|
|
896
896
|
"docsTags": [],
|
|
897
897
|
"values": [
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
},
|
|
915
915
|
"mutable": false,
|
|
916
916
|
"attr": "menu-label",
|
|
917
|
-
"reflectToAttr":
|
|
917
|
+
"reflectToAttr": true,
|
|
918
918
|
"docs": "The accessible label for the breadcrumb menu when breadcrumb items are concatenated.",
|
|
919
919
|
"docsTags": [],
|
|
920
920
|
"values": [
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
},
|
|
1141
1141
|
"mutable": false,
|
|
1142
1142
|
"attr": "type",
|
|
1143
|
-
"reflectToAttr":
|
|
1143
|
+
"reflectToAttr": true,
|
|
1144
1144
|
"docs": "Defines the `type` attribute of the control.",
|
|
1145
1145
|
"docsTags": [],
|
|
1146
1146
|
"values": [
|
|
@@ -1624,7 +1624,7 @@
|
|
|
1624
1624
|
},
|
|
1625
1625
|
"mutable": false,
|
|
1626
1626
|
"attr": "label",
|
|
1627
|
-
"reflectToAttr":
|
|
1627
|
+
"reflectToAttr": true,
|
|
1628
1628
|
"docs": "The label to add to the footer (visually hidden).",
|
|
1629
1629
|
"docsTags": [],
|
|
1630
1630
|
"values": [
|
|
@@ -1711,7 +1711,7 @@
|
|
|
1711
1711
|
},
|
|
1712
1712
|
{
|
|
1713
1713
|
"name": "slot",
|
|
1714
|
-
"text": "post-togglebutton - Holds the
|
|
1714
|
+
"text": "post-togglebutton - Holds the burger menu toggler."
|
|
1715
1715
|
},
|
|
1716
1716
|
{
|
|
1717
1717
|
"name": "slot",
|
|
@@ -1723,7 +1723,7 @@
|
|
|
1723
1723
|
},
|
|
1724
1724
|
{
|
|
1725
1725
|
"name": "slot",
|
|
1726
|
-
"text": "
|
|
1726
|
+
"text": "local-controls - Custom controls or content, right aligned in the local header."
|
|
1727
1727
|
},
|
|
1728
1728
|
{
|
|
1729
1729
|
"name": "slot",
|
|
@@ -1746,7 +1746,7 @@
|
|
|
1746
1746
|
"props": [],
|
|
1747
1747
|
"methods": [
|
|
1748
1748
|
{
|
|
1749
|
-
"name": "
|
|
1749
|
+
"name": "toggleBurgerMenu",
|
|
1750
1750
|
"returns": {
|
|
1751
1751
|
"type": "Promise<void>",
|
|
1752
1752
|
"docs": ""
|
|
@@ -1772,7 +1772,7 @@
|
|
|
1772
1772
|
},
|
|
1773
1773
|
"return": "Promise<void>"
|
|
1774
1774
|
},
|
|
1775
|
-
"signature": "
|
|
1775
|
+
"signature": "toggleBurgerMenu(force?: boolean) => Promise<void>",
|
|
1776
1776
|
"parameters": [
|
|
1777
1777
|
{
|
|
1778
1778
|
"name": "force",
|
|
@@ -1780,18 +1780,25 @@
|
|
|
1780
1780
|
"docs": ""
|
|
1781
1781
|
}
|
|
1782
1782
|
],
|
|
1783
|
-
"docs": "Toggles the
|
|
1783
|
+
"docs": "Toggles the burger navigation menu.",
|
|
1784
1784
|
"docsTags": []
|
|
1785
1785
|
}
|
|
1786
1786
|
],
|
|
1787
1787
|
"events": [],
|
|
1788
|
-
"listeners": [
|
|
1789
|
-
"styles": [],
|
|
1790
|
-
"slots": [
|
|
1788
|
+
"listeners": [
|
|
1791
1789
|
{
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1790
|
+
"event": "focusin",
|
|
1791
|
+
"capture": false,
|
|
1792
|
+
"passive": false
|
|
1794
1793
|
},
|
|
1794
|
+
{
|
|
1795
|
+
"event": "focusout",
|
|
1796
|
+
"capture": false,
|
|
1797
|
+
"passive": false
|
|
1798
|
+
}
|
|
1799
|
+
],
|
|
1800
|
+
"styles": [],
|
|
1801
|
+
"slots": [
|
|
1795
1802
|
{
|
|
1796
1803
|
"name": "global-controls",
|
|
1797
1804
|
"docs": "Holds search button in the global header."
|
|
@@ -1800,6 +1807,10 @@
|
|
|
1800
1807
|
"name": "global-login",
|
|
1801
1808
|
"docs": "Holds the user menu or login button in the global header."
|
|
1802
1809
|
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "local-controls",
|
|
1812
|
+
"docs": "Custom controls or content, right aligned in the local header."
|
|
1813
|
+
},
|
|
1803
1814
|
{
|
|
1804
1815
|
"name": "meta-navigation",
|
|
1805
1816
|
"docs": "Holds an `<ul>` with meta navigation links."
|
|
@@ -1822,7 +1833,7 @@
|
|
|
1822
1833
|
},
|
|
1823
1834
|
{
|
|
1824
1835
|
"name": "post-togglebutton",
|
|
1825
|
-
"docs": "Holds the
|
|
1836
|
+
"docs": "Holds the burger menu toggler."
|
|
1826
1837
|
},
|
|
1827
1838
|
{
|
|
1828
1839
|
"name": "target-group",
|
|
@@ -2147,7 +2158,7 @@
|
|
|
2147
2158
|
},
|
|
2148
2159
|
"mutable": false,
|
|
2149
2160
|
"attr": "code",
|
|
2150
|
-
"reflectToAttr":
|
|
2161
|
+
"reflectToAttr": true,
|
|
2151
2162
|
"docs": "The ISO 639 language code, formatted according to [RFC 5646 (also known as BCP 47)](https://datatracker.ietf.org/doc/html/rfc5646). For example, \"de\".",
|
|
2152
2163
|
"docsTags": [],
|
|
2153
2164
|
"values": [
|
|
@@ -2327,7 +2338,7 @@
|
|
|
2327
2338
|
},
|
|
2328
2339
|
"mutable": false,
|
|
2329
2340
|
"attr": "caption",
|
|
2330
|
-
"reflectToAttr":
|
|
2341
|
+
"reflectToAttr": true,
|
|
2331
2342
|
"docs": "A title for the list of language options",
|
|
2332
2343
|
"docsTags": [],
|
|
2333
2344
|
"values": [
|
|
@@ -2350,7 +2361,7 @@
|
|
|
2350
2361
|
},
|
|
2351
2362
|
"mutable": false,
|
|
2352
2363
|
"attr": "description",
|
|
2353
|
-
"reflectToAttr":
|
|
2364
|
+
"reflectToAttr": true,
|
|
2354
2365
|
"docs": "A descriptive text for the list of language options",
|
|
2355
2366
|
"docsTags": [],
|
|
2356
2367
|
"values": [
|
|
@@ -2845,7 +2856,7 @@
|
|
|
2845
2856
|
},
|
|
2846
2857
|
"mutable": false,
|
|
2847
2858
|
"attr": "for",
|
|
2848
|
-
"reflectToAttr":
|
|
2859
|
+
"reflectToAttr": true,
|
|
2849
2860
|
"docs": "ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.",
|
|
2850
2861
|
"docsTags": [],
|
|
2851
2862
|
"values": [
|
|
@@ -2897,7 +2908,7 @@
|
|
|
2897
2908
|
},
|
|
2898
2909
|
"mutable": false,
|
|
2899
2910
|
"attr": "label",
|
|
2900
|
-
"reflectToAttr":
|
|
2911
|
+
"reflectToAttr": true,
|
|
2901
2912
|
"docs": "An accessible name for the menu.",
|
|
2902
2913
|
"docsTags": [],
|
|
2903
2914
|
"values": [
|
|
@@ -3227,7 +3238,7 @@
|
|
|
3227
3238
|
"filePath": "src/components/post-popover/post-popover.tsx",
|
|
3228
3239
|
"encapsulation": "shadow",
|
|
3229
3240
|
"tag": "post-popover",
|
|
3230
|
-
"readme": "# post-popover\n",
|
|
3241
|
+
"readme": "# post-popover\n\n\n",
|
|
3231
3242
|
"docs": "",
|
|
3232
3243
|
"docsTags": [
|
|
3233
3244
|
{
|
|
@@ -3276,7 +3287,7 @@
|
|
|
3276
3287
|
},
|
|
3277
3288
|
"mutable": false,
|
|
3278
3289
|
"attr": "close-button-caption",
|
|
3279
|
-
"reflectToAttr":
|
|
3290
|
+
"reflectToAttr": true,
|
|
3280
3291
|
"docs": "Define the caption of the close button for assistive technology",
|
|
3281
3292
|
"docsTags": [],
|
|
3282
3293
|
"values": [
|
|
@@ -4121,7 +4132,7 @@
|
|
|
4121
4132
|
},
|
|
4122
4133
|
"mutable": false,
|
|
4123
4134
|
"attr": "label",
|
|
4124
|
-
"reflectToAttr":
|
|
4135
|
+
"reflectToAttr": true,
|
|
4125
4136
|
"docs": "Defines a hidden label for the component.",
|
|
4126
4137
|
"docsTags": [],
|
|
4127
4138
|
"values": [
|
|
@@ -4238,6 +4249,143 @@
|
|
|
4238
4249
|
]
|
|
4239
4250
|
}
|
|
4240
4251
|
},
|
|
4252
|
+
{
|
|
4253
|
+
"filePath": "src/components/post-stepper/post-stepper.tsx",
|
|
4254
|
+
"encapsulation": "shadow",
|
|
4255
|
+
"tag": "post-stepper",
|
|
4256
|
+
"readme": "# post-stepper\n\n\n",
|
|
4257
|
+
"docs": "",
|
|
4258
|
+
"docsTags": [],
|
|
4259
|
+
"usage": {},
|
|
4260
|
+
"props": [
|
|
4261
|
+
{
|
|
4262
|
+
"name": "activeStepLabel",
|
|
4263
|
+
"type": "string",
|
|
4264
|
+
"complexType": {
|
|
4265
|
+
"original": "string",
|
|
4266
|
+
"resolved": "string",
|
|
4267
|
+
"references": {}
|
|
4268
|
+
},
|
|
4269
|
+
"mutable": false,
|
|
4270
|
+
"attr": "active-step-label",
|
|
4271
|
+
"reflectToAttr": true,
|
|
4272
|
+
"docs": "Label for the \"Step N:\" indicator for mobile view.\nUse `#index` as a placeholder — it will be replaced with the current step number at runtime.",
|
|
4273
|
+
"docsTags": [],
|
|
4274
|
+
"values": [
|
|
4275
|
+
{
|
|
4276
|
+
"type": "string"
|
|
4277
|
+
}
|
|
4278
|
+
],
|
|
4279
|
+
"optional": false,
|
|
4280
|
+
"required": true,
|
|
4281
|
+
"getter": false,
|
|
4282
|
+
"setter": false
|
|
4283
|
+
},
|
|
4284
|
+
{
|
|
4285
|
+
"name": "completedLabel",
|
|
4286
|
+
"type": "string",
|
|
4287
|
+
"complexType": {
|
|
4288
|
+
"original": "string",
|
|
4289
|
+
"resolved": "string",
|
|
4290
|
+
"references": {}
|
|
4291
|
+
},
|
|
4292
|
+
"mutable": false,
|
|
4293
|
+
"attr": "completed-label",
|
|
4294
|
+
"reflectToAttr": true,
|
|
4295
|
+
"docs": "\"Completed step\" label for accessibility",
|
|
4296
|
+
"docsTags": [],
|
|
4297
|
+
"values": [
|
|
4298
|
+
{
|
|
4299
|
+
"type": "string"
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4302
|
+
"optional": false,
|
|
4303
|
+
"required": true,
|
|
4304
|
+
"getter": false,
|
|
4305
|
+
"setter": false
|
|
4306
|
+
},
|
|
4307
|
+
{
|
|
4308
|
+
"name": "currentIndex",
|
|
4309
|
+
"type": "number",
|
|
4310
|
+
"complexType": {
|
|
4311
|
+
"original": "number",
|
|
4312
|
+
"resolved": "number",
|
|
4313
|
+
"references": {}
|
|
4314
|
+
},
|
|
4315
|
+
"mutable": false,
|
|
4316
|
+
"attr": "current-index",
|
|
4317
|
+
"reflectToAttr": false,
|
|
4318
|
+
"docs": "Defines the currently active step",
|
|
4319
|
+
"docsTags": [
|
|
4320
|
+
{
|
|
4321
|
+
"name": "default",
|
|
4322
|
+
"text": "-1"
|
|
4323
|
+
}
|
|
4324
|
+
],
|
|
4325
|
+
"default": "-1",
|
|
4326
|
+
"values": [
|
|
4327
|
+
{
|
|
4328
|
+
"type": "number"
|
|
4329
|
+
}
|
|
4330
|
+
],
|
|
4331
|
+
"optional": false,
|
|
4332
|
+
"required": false,
|
|
4333
|
+
"getter": false,
|
|
4334
|
+
"setter": false
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
"name": "currentLabel",
|
|
4338
|
+
"type": "string",
|
|
4339
|
+
"complexType": {
|
|
4340
|
+
"original": "string",
|
|
4341
|
+
"resolved": "string",
|
|
4342
|
+
"references": {}
|
|
4343
|
+
},
|
|
4344
|
+
"mutable": false,
|
|
4345
|
+
"attr": "current-label",
|
|
4346
|
+
"reflectToAttr": true,
|
|
4347
|
+
"docs": "\"Current step\" label for accessibility",
|
|
4348
|
+
"docsTags": [],
|
|
4349
|
+
"values": [
|
|
4350
|
+
{
|
|
4351
|
+
"type": "string"
|
|
4352
|
+
}
|
|
4353
|
+
],
|
|
4354
|
+
"optional": false,
|
|
4355
|
+
"required": true,
|
|
4356
|
+
"getter": false,
|
|
4357
|
+
"setter": false
|
|
4358
|
+
}
|
|
4359
|
+
],
|
|
4360
|
+
"methods": [],
|
|
4361
|
+
"events": [],
|
|
4362
|
+
"listeners": [],
|
|
4363
|
+
"styles": [],
|
|
4364
|
+
"slots": [],
|
|
4365
|
+
"parts": [],
|
|
4366
|
+
"dependents": [],
|
|
4367
|
+
"dependencies": [],
|
|
4368
|
+
"dependencyGraph": {}
|
|
4369
|
+
},
|
|
4370
|
+
{
|
|
4371
|
+
"filePath": "src/components/post-stepper-item/post-stepper-item.tsx",
|
|
4372
|
+
"encapsulation": "none",
|
|
4373
|
+
"tag": "post-stepper-item",
|
|
4374
|
+
"readme": "# post-stepper-item\n",
|
|
4375
|
+
"docs": "",
|
|
4376
|
+
"docsTags": [],
|
|
4377
|
+
"usage": {},
|
|
4378
|
+
"props": [],
|
|
4379
|
+
"methods": [],
|
|
4380
|
+
"events": [],
|
|
4381
|
+
"listeners": [],
|
|
4382
|
+
"styles": [],
|
|
4383
|
+
"slots": [],
|
|
4384
|
+
"parts": [],
|
|
4385
|
+
"dependents": [],
|
|
4386
|
+
"dependencies": [],
|
|
4387
|
+
"dependencyGraph": {}
|
|
4388
|
+
},
|
|
4241
4389
|
{
|
|
4242
4390
|
"filePath": "src/components/post-tab-header/post-tab-header.tsx",
|
|
4243
4391
|
"encapsulation": "shadow",
|
|
@@ -82,7 +82,8 @@ const checkEmptyOrPattern = emptyOr(checkPattern);
|
|
|
82
82
|
const checkEmptyOrType = emptyOr(checkType);
|
|
83
83
|
const checkEmptyOrUrl = emptyOr(checkUrl);
|
|
84
84
|
const checkRequiredAndOneOf = requiredAnd(checkOneOf);
|
|
85
|
+
const checkRequiredAndPattern = requiredAnd(checkPattern);
|
|
85
86
|
const checkRequiredAndType = requiredAnd(checkType);
|
|
86
87
|
const checkRequiredAndUrl = requiredAnd(checkUrl);
|
|
87
88
|
|
|
88
|
-
export { checkEmptyOrType as a, checkRequiredAndOneOf as b, checkRequiredAndType as c, checkEmptyOrOneOf as d,
|
|
89
|
+
export { checkEmptyOrType as a, checkRequiredAndOneOf as b, checkRequiredAndType as c, checkEmptyOrOneOf as d, checkRequiredAndPattern as e, checkEmptyOrPattern as f, checkRequiredAndUrl as g, checkEmptyOrUrl as h };
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'post-components';
|
|
|
2
2
|
const BUILD = /* post-components */ { hydratedSelectorName: "data-hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
const globalScripts = () => {};
|
|
5
|
-
const globalStyles = ":where(post-accordion,post-accordion-item,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-card-control,post-closebutton,post-collapsible,post-collapsible-trigger,post-footer,post-header,post-icon,post-language-option,post-language-switch,post-linkarea,post-list,post-list-item,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-tab-header,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not([data-hydrated],:defined){visibility:hidden}";
|
|
5
|
+
const globalStyles = ":where(post-accordion,post-accordion-item,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-card-control,post-closebutton,post-collapsible,post-collapsible-trigger,post-footer,post-header,post-icon,post-language-option,post-language-switch,post-linkarea,post-list,post-list-item,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-header,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not([data-hydrated],:defined){visibility:hidden}";
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Platform v4.35.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -118,6 +118,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
118
118
|
return import(
|
|
119
119
|
/* webpackMode: "lazy" */
|
|
120
120
|
'./post-rating.entry.js').then(processMod, consoleError);
|
|
121
|
+
case 'post-stepper':
|
|
122
|
+
return import(
|
|
123
|
+
/* webpackMode: "lazy" */
|
|
124
|
+
'./post-stepper.entry.js').then(processMod, consoleError);
|
|
125
|
+
case 'post-stepper-item':
|
|
126
|
+
return import(
|
|
127
|
+
/* webpackMode: "lazy" */
|
|
128
|
+
'./post-stepper-item.entry.js').then(processMod, consoleError);
|
|
121
129
|
case 'post-tab-header':
|
|
122
130
|
return import(
|
|
123
131
|
/* webpackMode: "lazy" */
|