@zanichelli/albe-web-components 6.9.0 → 6.9.1
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/CHANGELOG.md +28 -0
- package/dist/cjs/index-e3299e0a.js +32 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +153 -0
- package/dist/cjs/z-body.cjs.entry.js +18 -0
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +118 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +11 -11
- package/dist/cjs/z-heading.cjs.entry.js +18 -0
- package/dist/cjs/z-input_2.cjs.entry.js +266 -0
- package/dist/cjs/z-list_3.cjs.entry.js +261 -0
- package/dist/cjs/z-select.cjs.entry.js +325 -0
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-typography.cjs.entry.js +30 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +10 -10
- package/dist/collection/components/file-upload/z-file-upload/styles.css +2 -2
- package/dist/collection/components/inputs/z-combobox/index.js +2 -2
- package/dist/collection/components/inputs/z-combobox/styles.css +17 -7
- package/dist/collection/components/inputs/z-input/styles.css +19 -6
- package/dist/collection/components/inputs/z-select/index.js +29 -3
- package/dist/collection/components/inputs/z-select/styles.css +4 -0
- package/dist/collection/components/modal/z-modal/index.js +123 -6
- package/dist/collection/components/modal/z-modal/styles.css +9 -11
- package/dist/collection/components/z-table/z-table/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +1 -1
- package/dist/collection/{components → deprecated}/typography/z-body/index.js +0 -0
- package/dist/collection/{components → deprecated}/typography/z-heading/index.js +0 -0
- package/dist/collection/{components → deprecated}/typography/z-typography/index.js +0 -0
- package/dist/collection/{components → deprecated}/typography/z-typography/styles.css +0 -0
- package/dist/esm/index-a2ca4b97.js +32 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/css-shim.js +0 -0
- package/dist/esm/{utils-5445d989.js → utils-6cf7efe2.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-header_2.entry.js +148 -0
- package/dist/esm/z-body.entry.js +14 -0
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +113 -0
- package/dist/esm/z-file-upload.entry.js +12 -12
- package/dist/esm/z-heading.entry.js +14 -0
- package/dist/esm/z-input_2.entry.js +261 -0
- package/dist/esm/z-list_3.entry.js +255 -0
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +1 -1
- package/dist/esm/z-searchbar.entry.js +1 -1
- package/dist/esm/z-select.entry.js +321 -0
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +1 -1
- package/dist/esm/z-typography.entry.js +26 -0
- package/dist/types/beans/index.d.ts +0 -0
- package/dist/types/components/buttons/z-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -0
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -0
- package/dist/types/components/date-picker/utils.d.ts +0 -0
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -0
- package/dist/types/components/icons/icons.d.ts +0 -0
- package/dist/types/components/icons/z-icon/index.d.ts +0 -0
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -0
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -0
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -0
- package/dist/types/components/inputs/z-select/index.d.ts +2 -0
- package/dist/types/components/list/z-list/index.d.ts +0 -0
- package/dist/types/components/list/z-list-element/index.d.ts +0 -0
- package/dist/types/components/list/z-list-group/index.d.ts +0 -0
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -0
- package/dist/types/components/logo/z-logo/index.d.ts +0 -0
- package/dist/types/components/modal/z-modal/index.d.ts +20 -2
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +0 -0
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -0
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +0 -0
- package/dist/types/components/navigation/z-link/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -0
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -0
- package/dist/types/components/notification/z-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +0 -0
- package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +0 -0
- package/dist/types/components/z-aria-alert/index.d.ts +0 -0
- package/dist/types/components/z-avatar/index.d.ts +0 -0
- package/dist/types/components/z-card/index.d.ts +0 -0
- package/dist/types/components/z-carousel/index.d.ts +0 -0
- package/dist/types/components/z-contextual-menu/index.d.ts +0 -0
- package/dist/types/components/z-cover-hero/index.d.ts +0 -0
- package/dist/types/components/z-divider/index.d.ts +0 -0
- package/dist/types/components/z-ghost-loading/index.d.ts +0 -0
- package/dist/types/components/z-info-reveal/index.d.ts +0 -0
- package/dist/types/components/z-offcanvas/index.d.ts +0 -0
- package/dist/types/components/z-pagination/index.d.ts +0 -0
- package/dist/types/components/z-popover/index.d.ts +0 -0
- package/dist/types/components/z-section-title/index.d.ts +0 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-body/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-cell/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-footer/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-head/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-header/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +0 -0
- package/dist/types/components/z-tag/index.d.ts +0 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +0 -0
- package/dist/types/components.d.ts +26 -2
- package/dist/types/constants/breakpoints.d.ts +0 -0
- package/dist/types/constants/icons.d.ts +0 -0
- package/dist/types/{components → deprecated}/typography/z-body/index.d.ts +0 -0
- package/dist/types/{components → deprecated}/typography/z-heading/index.d.ts +0 -0
- package/dist/types/{components → deprecated}/typography/z-typography/index.d.ts +0 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-48d3f650.entry.js → p-26033729.entry.js} +1 -1
- package/dist/web-components-library/p-33352f9e.entry.js +1 -0
- package/dist/web-components-library/p-3860061a.entry.js +1 -0
- package/dist/web-components-library/p-4367f978.entry.js +1 -0
- package/dist/web-components-library/p-52b084fb.entry.js +1 -0
- package/dist/web-components-library/{p-229e17af.entry.js → p-53065788.entry.js} +1 -1
- package/dist/web-components-library/{p-51333b32.entry.js → p-54b18f6e.entry.js} +1 -1
- package/dist/web-components-library/p-56cbd174.entry.js +1 -0
- package/dist/web-components-library/p-5ac6109d.entry.js +1 -0
- package/dist/web-components-library/{p-28b288a8.entry.js → p-5c62387a.entry.js} +1 -1
- package/dist/web-components-library/p-6acb48e3.entry.js +1 -0
- package/dist/web-components-library/{p-102d82ee.entry.js → p-6c163539.entry.js} +1 -1
- package/dist/web-components-library/p-6ea7428a.entry.js +1 -0
- package/dist/web-components-library/{p-00481c22.js → p-8ebe4adf.js} +1 -1
- package/dist/web-components-library/{p-db77ef4e.entry.js → p-93142fac.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/{p-669f14ae.entry.js → p-a05ce0a6.entry.js} +1 -1
- package/dist/web-components-library/{p-933efc27.entry.js → p-a6c0f149.entry.js} +1 -1
- package/dist/web-components-library/{p-169b9762.entry.js → p-d2127d84.entry.js} +1 -1
- package/dist/web-components-library/p-d6497e67.entry.js +1 -0
- package/dist/web-components-library/p-d9a6a204.entry.js +1 -0
- package/dist/web-components-library/p-e78ce8ec.entry.js +1 -0
- package/dist/web-components-library/p-edd53386.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +0 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/cdn.js +0 -0
- package/loader/index.cjs.js +0 -0
- package/loader/index.d.ts +0 -0
- package/loader/index.es2017.js +0 -0
- package/loader/index.js +0 -0
- package/loader/package.json +0 -0
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-48d3f650.entry.js → p-26033729.entry.js} +1 -1
- package/www/build/p-33352f9e.entry.js +1 -0
- package/www/build/p-3860061a.entry.js +1 -0
- package/www/build/p-4367f978.entry.js +1 -0
- package/www/build/p-52b084fb.entry.js +1 -0
- package/www/build/{p-229e17af.entry.js → p-53065788.entry.js} +1 -1
- package/www/build/{p-51333b32.entry.js → p-54b18f6e.entry.js} +1 -1
- package/www/build/p-56cbd174.entry.js +1 -0
- package/www/build/p-5ac6109d.entry.js +1 -0
- package/www/build/{p-28b288a8.entry.js → p-5c62387a.entry.js} +1 -1
- package/www/build/p-6acb48e3.entry.js +1 -0
- package/www/build/{p-102d82ee.entry.js → p-6c163539.entry.js} +1 -1
- package/www/build/p-6ea7428a.entry.js +1 -0
- package/www/build/{p-00481c22.js → p-8ebe4adf.js} +1 -1
- package/www/build/{p-db77ef4e.entry.js → p-93142fac.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/{p-669f14ae.entry.js → p-a05ce0a6.entry.js} +1 -1
- package/www/build/p-a240c0f4.js +1 -0
- package/www/build/{p-933efc27.entry.js → p-a6c0f149.entry.js} +1 -1
- package/www/build/{p-169b9762.entry.js → p-d2127d84.entry.js} +1 -1
- package/www/build/p-d6497e67.entry.js +1 -0
- package/www/build/p-d9a6a204.entry.js +1 -0
- package/www/build/p-e78ce8ec.entry.js +1 -0
- package/www/build/p-edd53386.entry.js +1 -0
- package/www/build/web-components-library.css +0 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.js +0 -0
- package/www/host.config.json +0 -0
- package/www/index.html +1 -1
- package/dist/cjs/z-app-header_11.cjs.entry.js +0 -1030
- package/dist/cjs/z-dragdrop-area_3.cjs.entry.js +0 -76
- package/dist/esm/z-app-header_11.entry.js +0 -1016
- package/dist/esm/z-dragdrop-area_3.entry.js +0 -70
- package/dist/web-components-library/p-4bdf6a9b.entry.js +0 -1
- package/dist/web-components-library/p-5bbbda4e.entry.js +0 -1
- package/dist/web-components-library/p-735bdfa3.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-d0accfc5.entry.js +0 -1
- package/dist/web-components-library/p-de55c171.entry.js +0 -1
- package/www/build/p-4bdf6a9b.entry.js +0 -1
- package/www/build/p-5bbbda4e.entry.js +0 -1
- package/www/build/p-735bdfa3.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-d0accfc5.entry.js +0 -1
- package/www/build/p-de55c171.entry.js +0 -1
- package/www/build/p-e9b88186.js +0 -1
|
@@ -4,7 +4,7 @@ export class ZDragdropArea {
|
|
|
4
4
|
this.fileDropped.emit(files);
|
|
5
5
|
}
|
|
6
6
|
renderOnDragOverMessage() {
|
|
7
|
-
return (h("div", { class: "dragover-container" }, h("div", { class: "dragover-message" }, h("
|
|
7
|
+
return (h("div", { class: "dragover-container" }, h("div", { class: "dragover-message" }, h("span", { class: "body-2-sb" }, "Rilascia i file in questa area per allegarli."))));
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
return (h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
|
|
@@ -92,10 +92,10 @@ export class ZFileUpload {
|
|
|
92
92
|
return errors;
|
|
93
93
|
}
|
|
94
94
|
renderTitle() {
|
|
95
|
-
return (h("
|
|
95
|
+
return (h("h2", { class: "heading-2-sb", id: "title" }, this.mainTitle));
|
|
96
96
|
}
|
|
97
|
-
renderDescription(
|
|
98
|
-
return
|
|
97
|
+
renderDescription(cssClass) {
|
|
98
|
+
return h("span", { class: cssClass }, this.description);
|
|
99
99
|
}
|
|
100
100
|
renderAllowedFileExtensions() {
|
|
101
101
|
let fileFormatString = "";
|
|
@@ -111,10 +111,10 @@ export class ZFileUpload {
|
|
|
111
111
|
fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;
|
|
112
112
|
}
|
|
113
113
|
const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;
|
|
114
|
-
return h("
|
|
114
|
+
return h("span", { class: "body-3" }, fileFormatString || fileWeightString ? finalString : null);
|
|
115
115
|
}
|
|
116
116
|
renderFileSection() {
|
|
117
|
-
return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("
|
|
117
|
+
return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("h4", { class: "heading-4-sb" }, "File appena caricati"), h("div", { class: "files-wrapper" }, h("slot", { name: "files" })), h("z-divider", { size: DividerSize.MEDIUM })));
|
|
118
118
|
}
|
|
119
119
|
renderInput() {
|
|
120
120
|
return (h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
|
|
@@ -133,17 +133,17 @@ export class ZFileUpload {
|
|
|
133
133
|
renderUploadLink() {
|
|
134
134
|
return [
|
|
135
135
|
this.renderInput(),
|
|
136
|
-
h("
|
|
136
|
+
h("span", { class: "body-1 upload-link-text" }, "Trascinalo qui o", " ", h("span", { tabIndex: 0, class: "body-1-sb upload-link", onClick: () => this.input.click(), onKeyPress: (e) => {
|
|
137
137
|
if (e.code == "Space" || e.code == "Enter") {
|
|
138
138
|
e.preventDefault();
|
|
139
139
|
this.input.click();
|
|
140
140
|
}
|
|
141
|
-
},
|
|
141
|
+
}, ref: (val) => (this.uploadLink = val) }, "caricalo"), " ", "dal tuo computer"),
|
|
142
142
|
];
|
|
143
143
|
}
|
|
144
144
|
renderDefaultMode() {
|
|
145
145
|
return [
|
|
146
|
-
this.renderDescription("
|
|
146
|
+
this.renderDescription("body-3-sb"),
|
|
147
147
|
this.renderAllowedFileExtensions(),
|
|
148
148
|
this.renderFileSection(),
|
|
149
149
|
this.renderUploadButton(),
|
|
@@ -152,7 +152,7 @@ export class ZFileUpload {
|
|
|
152
152
|
renderDragDropMode() {
|
|
153
153
|
return [
|
|
154
154
|
this.renderFileSection(),
|
|
155
|
-
h("z-dragdrop-area", null, h("div", { class: "text-container" }, this.renderDescription("
|
|
155
|
+
h("z-dragdrop-area", null, h("div", { class: "text-container" }, this.renderDescription("body-1"), this.renderUploadLink(), this.renderAllowedFileExtensions())),
|
|
156
156
|
];
|
|
157
157
|
}
|
|
158
158
|
formatErrorString(key, value) {
|
|
@@ -162,7 +162,7 @@ export class ZFileUpload {
|
|
|
162
162
|
}
|
|
163
163
|
handleErrorModalContent() {
|
|
164
164
|
return (h("div", { slot: "modalContent" }, h("div", { class: "modal-wrapper" }, h("div", { class: "files" }, Array.from(this.invalidFiles).map(([key, value]) => {
|
|
165
|
-
return
|
|
165
|
+
return h("span", { class: "body-3" }, this.formatErrorString(key, value));
|
|
166
166
|
})))));
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
margin: auto;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
:host .text-container
|
|
31
|
+
:host .text-container .body-1 {
|
|
32
32
|
text-align: center;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -59,7 +59,7 @@ input#file-elem {
|
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:host > .container > .files-container >
|
|
62
|
+
:host > .container > .files-container > .heading-4-sb {
|
|
63
63
|
display: inline-block;
|
|
64
64
|
margin: calc(var(--space-unit) * 3) 0;
|
|
65
65
|
}
|
|
@@ -107,7 +107,7 @@ export class ZCombobox {
|
|
|
107
107
|
if (ev.keyCode === KeyboardKeyCode.SPACE) {
|
|
108
108
|
ev.preventDefault();
|
|
109
109
|
}
|
|
110
|
-
}, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("
|
|
110
|
+
}, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("p", { class: "body-3" }, this.label, h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), h("z-icon", { name: "caret-down", width: 18, height: 18 })));
|
|
111
111
|
}
|
|
112
112
|
renderContent() {
|
|
113
113
|
if (!this.isopen) {
|
|
@@ -148,7 +148,7 @@ export class ZCombobox {
|
|
|
148
148
|
return group;
|
|
149
149
|
}, {});
|
|
150
150
|
const listGroups = Object.entries(newData).map(([key, value]) => {
|
|
151
|
-
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("
|
|
151
|
+
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("span", { class: "body-3-sb z-list-group-title", slot: "header-title" }, key), value.map((item) => item)));
|
|
152
152
|
});
|
|
153
153
|
return h("ul", null, listGroups);
|
|
154
154
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
min-height: 42px;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: space-between;
|
|
16
|
-
padding: 0 calc(var(--space-unit) *
|
|
16
|
+
padding: 0 calc(var(--space-unit) * 1.5);
|
|
17
17
|
border: var(--border-size-small) solid var(--bg-grey-700);
|
|
18
18
|
margin: 0;
|
|
19
19
|
background-color: var(--bg-white);
|
|
@@ -21,19 +21,27 @@
|
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
:host > div > .header:
|
|
25
|
-
|
|
24
|
+
:host > div > .header:hover {
|
|
25
|
+
outline: var(--border-size-medium) solid var(--gray700);
|
|
26
|
+
outline-offset: -2px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host > div.open > div.header:focus:focus-visible {
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host > div > div.header:focus:focus-visible {
|
|
26
34
|
box-shadow: var(--shadow-focus-primary);
|
|
27
35
|
outline: none;
|
|
28
36
|
}
|
|
29
37
|
|
|
30
|
-
:host > div > .header >
|
|
38
|
+
:host > div > .header > p.body-3 {
|
|
31
39
|
padding: var(--space-unit) 0;
|
|
32
40
|
margin: 0;
|
|
33
41
|
color: var(--text-grey-800);
|
|
34
42
|
}
|
|
35
43
|
|
|
36
|
-
:host > div > .header >
|
|
44
|
+
:host > div > .header > p.body-3 > span {
|
|
37
45
|
font-weight: var(--font-sb);
|
|
38
46
|
}
|
|
39
47
|
|
|
@@ -45,7 +53,7 @@
|
|
|
45
53
|
|
|
46
54
|
:host > div.open > .header {
|
|
47
55
|
border: var(--border-size-small) solid var(--blue500);
|
|
48
|
-
border-radius: var(border-radius-small) var(border-radius-small) 0 0;
|
|
56
|
+
border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
|
|
49
57
|
}
|
|
50
58
|
|
|
51
59
|
:host > div.disabled {
|
|
@@ -57,7 +65,7 @@
|
|
|
57
65
|
fill: var(--color-disabled01);
|
|
58
66
|
}
|
|
59
67
|
|
|
60
|
-
:host > div.disabled .header >
|
|
68
|
+
:host > div.disabled .header > p.body-3 {
|
|
61
69
|
color: var(--text-grey-700);
|
|
62
70
|
}
|
|
63
71
|
|
|
@@ -155,5 +163,7 @@
|
|
|
155
163
|
|
|
156
164
|
:host > div.open > div.open-combo-data > div.check-all-wrapper {
|
|
157
165
|
padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);
|
|
166
|
+
border-bottom: var(--border-size-small) solid var(--gray800);
|
|
167
|
+
margin-bottom: var(--space-unit);
|
|
158
168
|
text-align: left;
|
|
159
169
|
}
|
|
@@ -29,8 +29,12 @@ textarea,
|
|
|
29
29
|
outline: none;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
:host.cursor-select input {
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
32
36
|
/* FOCUS */
|
|
33
|
-
input:focus:focus-visible,
|
|
37
|
+
:host:not(.active-select) input:focus:focus-visible,
|
|
34
38
|
.textarea-wrapper:focus-within {
|
|
35
39
|
box-shadow: var(--shadow-focus-primary);
|
|
36
40
|
}
|
|
@@ -40,6 +44,19 @@ textarea:focus:focus-visible {
|
|
|
40
44
|
color: var(--color-primary02);
|
|
41
45
|
}
|
|
42
46
|
|
|
47
|
+
:host.active-select input {
|
|
48
|
+
border: var(--border-size-small) solid var(--blue500);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host.cursor-select input:focus:focus-visible {
|
|
52
|
+
box-shadow: var(--shadow-focus-primary);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host input[readonly]:focus:focus-visible {
|
|
56
|
+
box-shadow: none;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
43
60
|
/* FILLED */
|
|
44
61
|
.filled {
|
|
45
62
|
border-color: var(--color-surface05);
|
|
@@ -72,7 +89,7 @@ input:hover,
|
|
|
72
89
|
}
|
|
73
90
|
|
|
74
91
|
/* READONLY */
|
|
75
|
-
input[readonly],
|
|
92
|
+
:host:not(.active-select) input[readonly],
|
|
76
93
|
.readonly {
|
|
77
94
|
border-color: var(--color-disabled01);
|
|
78
95
|
fill: var(--color-disabled01);
|
|
@@ -112,10 +129,6 @@ textarea::placeholder {
|
|
|
112
129
|
color: var(--color-text05);
|
|
113
130
|
}
|
|
114
131
|
|
|
115
|
-
:placeholder {
|
|
116
|
-
color: var(--color-text05);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
132
|
/* LABEL */
|
|
120
133
|
label.input-label {
|
|
121
134
|
display: block;
|
|
@@ -17,6 +17,8 @@ export class ZSelect {
|
|
|
17
17
|
this.autocomplete = false;
|
|
18
18
|
/** no result text message */
|
|
19
19
|
this.noresultslabel = "Nessun risultato";
|
|
20
|
+
/** When fixed, it occupies space and pushes down next elements. */
|
|
21
|
+
this.isfixed = false;
|
|
20
22
|
this.isOpen = false;
|
|
21
23
|
this.selectedItem = null;
|
|
22
24
|
this.itemsList = [];
|
|
@@ -212,7 +214,10 @@ export class ZSelect {
|
|
|
212
214
|
}
|
|
213
215
|
}
|
|
214
216
|
renderInput() {
|
|
215
|
-
return (h("z-input", {
|
|
217
|
+
return (h("z-input", { class: {
|
|
218
|
+
"active-select": this.isOpen,
|
|
219
|
+
"cursor-select": !this.autocomplete,
|
|
220
|
+
}, id: `${this.htmlid}_input`, htmlid: `${this.htmlid}_input`, placeholder: this.placeholder, value: !this.isOpen && this.selectedItem ? this.selectedItem.name.replace(/<[^>]+>/g, "") : null, label: this.label, "aria-label": this.ariaLabel, icon: this.isOpen ? "caret-up" : "caret-down", hasclearicon: this.hasAutocomplete(), message: false, disabled: this.disabled, readonly: this.readonly || (!this.hasAutocomplete() && this.isOpen), status: this.isOpen ? undefined : this.status, autocomplete: "off", onClick: (e) => {
|
|
216
221
|
this.handleInputClick(e);
|
|
217
222
|
}, onKeyUp: (e) => {
|
|
218
223
|
if (e.keyCode !== 13) {
|
|
@@ -232,7 +237,10 @@ export class ZSelect {
|
|
|
232
237
|
}
|
|
233
238
|
renderSelectUl() {
|
|
234
239
|
var _a;
|
|
235
|
-
return (h("div", { class: this.isOpen ? "open" : "closed", tabindex: "-1" }, h("div", { class:
|
|
240
|
+
return (h("div", { class: this.isOpen ? "open" : "closed", tabindex: "-1" }, h("div", { class: {
|
|
241
|
+
"ul-scroll-wrapper": true,
|
|
242
|
+
"fixed": this.isfixed,
|
|
243
|
+
}, tabindex: "-1" }, h("z-list", { role: "listbox", tabindex: this.disabled || this.readonly || !this.isOpen ? -1 : 0, id: this.htmlid, "aria-activedescendant": (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id, "aria-multiselectable": false, class: {
|
|
236
244
|
disabled: this.disabled,
|
|
237
245
|
readonly: this.readonly,
|
|
238
246
|
filled: !!this.selectedItem,
|
|
@@ -281,7 +289,7 @@ export class ZSelect {
|
|
|
281
289
|
return group;
|
|
282
290
|
}, {});
|
|
283
291
|
return Object.entries(newData).map(([key, value]) => {
|
|
284
|
-
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("
|
|
292
|
+
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("span", { class: "body-3-sb z-list-group-title", slot: "header-title" }, key), value.map((item) => item)));
|
|
285
293
|
});
|
|
286
294
|
}
|
|
287
295
|
renderNoSearchResults() {
|
|
@@ -565,6 +573,24 @@ export class ZSelect {
|
|
|
565
573
|
"attribute": "has-group-items",
|
|
566
574
|
"reflect": false
|
|
567
575
|
},
|
|
576
|
+
"isfixed": {
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"mutable": false,
|
|
579
|
+
"complexType": {
|
|
580
|
+
"original": "boolean",
|
|
581
|
+
"resolved": "boolean",
|
|
582
|
+
"references": {}
|
|
583
|
+
},
|
|
584
|
+
"required": false,
|
|
585
|
+
"optional": true,
|
|
586
|
+
"docs": {
|
|
587
|
+
"tags": [],
|
|
588
|
+
"text": "When fixed, it occupies space and pushes down next elements."
|
|
589
|
+
},
|
|
590
|
+
"attribute": "isfixed",
|
|
591
|
+
"reflect": false,
|
|
592
|
+
"defaultValue": "false"
|
|
593
|
+
},
|
|
568
594
|
"resetItem": {
|
|
569
595
|
"type": "string",
|
|
570
596
|
"mutable": false,
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { KeyboardCode } from "../../../beans";
|
|
3
|
+
const FOCUSABLE_ELEMENTS_SELECTOR = ':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])';
|
|
2
4
|
/**
|
|
3
|
-
* @slot modalContent - set the content of the modal
|
|
4
5
|
* @slot modalCloseButton - accept custom close button
|
|
6
|
+
* @slot modalContent - set the content of the modal
|
|
5
7
|
*/
|
|
6
8
|
export class ZModal {
|
|
7
9
|
constructor() {
|
|
8
10
|
/** aria-label for close button (optional) */
|
|
9
|
-
this.closeButtonLabel = "
|
|
11
|
+
this.closeButtonLabel = "chiudi modale";
|
|
12
|
+
/** add role "alertdialog" to dialog (optional, default is false) */
|
|
13
|
+
this.alertdialog = false;
|
|
10
14
|
}
|
|
11
15
|
emitModalClose() {
|
|
12
16
|
this.modalClose.emit({ modalid: this.modalid });
|
|
@@ -17,8 +21,57 @@ export class ZModal {
|
|
|
17
21
|
emitBackgroundClick() {
|
|
18
22
|
this.modalBackgroundClick.emit({ modalid: this.modalid });
|
|
19
23
|
}
|
|
24
|
+
componentDidLoad() {
|
|
25
|
+
this.open();
|
|
26
|
+
}
|
|
27
|
+
/** open modal */
|
|
28
|
+
async open() {
|
|
29
|
+
var _a;
|
|
30
|
+
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.showModal();
|
|
31
|
+
}
|
|
32
|
+
/** close modal */
|
|
33
|
+
async close() {
|
|
34
|
+
var _a;
|
|
35
|
+
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.close();
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get a list of focusable elements in the dialog.
|
|
39
|
+
* Remove elements with `display: none` from the list, because they're not focusable.
|
|
40
|
+
*
|
|
41
|
+
* N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.
|
|
42
|
+
* Adding focusable elements after the `modalContent` slot would break the order of elements in the list.
|
|
43
|
+
*/
|
|
44
|
+
get focusableElements() {
|
|
45
|
+
return [
|
|
46
|
+
...Array.from(this.host.shadowRoot.querySelectorAll(FOCUSABLE_ELEMENTS_SELECTOR)),
|
|
47
|
+
...Array.from(this.host.querySelectorAll(FOCUSABLE_ELEMENTS_SELECTOR)),
|
|
48
|
+
].filter((element) => getComputedStyle(element).display !== "none");
|
|
49
|
+
}
|
|
50
|
+
handleKeyDown(e) {
|
|
51
|
+
if (e.code !== KeyboardCode.TAB) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const focusableElements = this.focusableElements;
|
|
55
|
+
const shadowActiveElement = this.host.shadowRoot.activeElement;
|
|
56
|
+
const activeElement = this.host.ownerDocument.activeElement;
|
|
57
|
+
const firstFocusableElement = focusableElements[0];
|
|
58
|
+
const lastFocusableElement = focusableElements[focusableElements.length - 1];
|
|
59
|
+
if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {
|
|
60
|
+
// shift + tab was pressed and current active element is the first focusable element
|
|
61
|
+
e.preventDefault();
|
|
62
|
+
lastFocusableElement.focus();
|
|
63
|
+
}
|
|
64
|
+
else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {
|
|
65
|
+
// shift + tab was pressed and current active element is the first focusable element
|
|
66
|
+
e.preventDefault();
|
|
67
|
+
firstFocusableElement.focus();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
20
70
|
render() {
|
|
21
|
-
return (h(
|
|
71
|
+
return (h("dialog", { "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose() }, h("div", { class: "modal-container", id: this.modalid }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", { id: "modal-title" }, this.modaltitle), this.modalsubtitle && h("h2", { id: "modal-subtitle" }, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: () => this.close() }, h("z-icon", { name: "multiply-circle-filled" })))), h("div", { class: "modal-content", id: "modal-content" }, h("slot", { name: "modalContent" }))), h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
|
|
72
|
+
this.emitBackgroundClick();
|
|
73
|
+
this.close();
|
|
74
|
+
} })));
|
|
22
75
|
}
|
|
23
76
|
static get is() { return "z-modal"; }
|
|
24
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,14 +147,32 @@ export class ZModal {
|
|
|
94
147
|
"references": {}
|
|
95
148
|
},
|
|
96
149
|
"required": false,
|
|
97
|
-
"optional":
|
|
150
|
+
"optional": false,
|
|
98
151
|
"docs": {
|
|
99
152
|
"tags": [],
|
|
100
153
|
"text": "aria-label for close button (optional)"
|
|
101
154
|
},
|
|
102
155
|
"attribute": "close-button-label",
|
|
103
156
|
"reflect": false,
|
|
104
|
-
"defaultValue": "\"
|
|
157
|
+
"defaultValue": "\"chiudi modale\""
|
|
158
|
+
},
|
|
159
|
+
"alertdialog": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": true,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": "add role \"alertdialog\" to dialog (optional, default is false)"
|
|
172
|
+
},
|
|
173
|
+
"attribute": "alertdialog",
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"defaultValue": "false"
|
|
105
176
|
}
|
|
106
177
|
};
|
|
107
178
|
}
|
|
@@ -153,4 +224,50 @@ export class ZModal {
|
|
|
153
224
|
}
|
|
154
225
|
}];
|
|
155
226
|
}
|
|
227
|
+
static get methods() {
|
|
228
|
+
return {
|
|
229
|
+
"open": {
|
|
230
|
+
"complexType": {
|
|
231
|
+
"signature": "() => Promise<void>",
|
|
232
|
+
"parameters": [],
|
|
233
|
+
"references": {
|
|
234
|
+
"Promise": {
|
|
235
|
+
"location": "global"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"return": "Promise<void>"
|
|
239
|
+
},
|
|
240
|
+
"docs": {
|
|
241
|
+
"text": "open modal",
|
|
242
|
+
"tags": []
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"close": {
|
|
246
|
+
"complexType": {
|
|
247
|
+
"signature": "() => Promise<void>",
|
|
248
|
+
"parameters": [],
|
|
249
|
+
"references": {
|
|
250
|
+
"Promise": {
|
|
251
|
+
"location": "global"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"return": "Promise<void>"
|
|
255
|
+
},
|
|
256
|
+
"docs": {
|
|
257
|
+
"text": "close modal",
|
|
258
|
+
"tags": []
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
static get elementRef() { return "host"; }
|
|
264
|
+
static get listeners() {
|
|
265
|
+
return [{
|
|
266
|
+
"name": "keydown",
|
|
267
|
+
"method": "handleKeyDown",
|
|
268
|
+
"target": undefined,
|
|
269
|
+
"capture": false,
|
|
270
|
+
"passive": false
|
|
271
|
+
}];
|
|
272
|
+
}
|
|
156
273
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
position: fixed;
|
|
3
|
-
z-index: 1000;
|
|
4
|
-
top: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
display: flex;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
justify-content: center;
|
|
13
2
|
font-family: var(--font-family-sans);
|
|
14
3
|
font-weight: var(--font-rg);
|
|
15
4
|
}
|
|
16
5
|
|
|
6
|
+
:host > dialog {
|
|
7
|
+
padding: 0;
|
|
8
|
+
border: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host > dialog::backdrop {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
17
15
|
.modal-background {
|
|
18
16
|
position: fixed;
|
|
19
17
|
top: 0;
|
|
@@ -44,7 +44,7 @@ export class ZTable {
|
|
|
44
44
|
}
|
|
45
45
|
renderError(tableClass) {
|
|
46
46
|
const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
|
|
47
|
-
return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("
|
|
47
|
+
return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("span", { class: "body-3-sb error-message" }, this.errorMessage), h("slot", { name: "error-action" }))))));
|
|
48
48
|
}
|
|
49
49
|
renderEmpty(tableClass) {
|
|
50
50
|
const buttonSize = this.isMobile ? ButtonSize.SMALL : ButtonSize.BIG;
|
|
@@ -11,7 +11,7 @@ export class ZTableEmptyBox {
|
|
|
11
11
|
this.hasCta2Slot = !!this.hostElement.querySelector('[slot="cta2"]');
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, null, h("
|
|
14
|
+
return (h(Host, null, h("span", { class: "body-3-sb" }, this.message), h("br", null), !!this.subtitle && h("span", { class: "body-4" }, this.subtitle), (!!this.hasCta1Slot || !!this.hasCta2Slot) && (h("div", { class: {
|
|
15
15
|
"cta": true,
|
|
16
16
|
"has-2-cta": !!this.hasCta1Slot && !!this.hasCta2Slot,
|
|
17
17
|
} }, h("slot", { name: "cta1" }), h("slot", { name: "cta2" })))));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1892,10 +1892,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
switch(bundleId) {
|
|
1894
1894
|
|
|
1895
|
-
case 'z-app-
|
|
1895
|
+
case 'z-app-header_2':
|
|
1896
1896
|
return import(
|
|
1897
1897
|
/* webpackMode: "lazy" */
|
|
1898
|
-
'./z-app-
|
|
1898
|
+
'./z-app-header_2.entry.js').then(processMod, consoleError);
|
|
1899
1899
|
case 'z-anchor-navigation':
|
|
1900
1900
|
return import(
|
|
1901
1901
|
/* webpackMode: "lazy" */
|
|
@@ -1912,6 +1912,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1912
1912
|
return import(
|
|
1913
1913
|
/* webpackMode: "lazy" */
|
|
1914
1914
|
'./z-avatar.entry.js').then(processMod, consoleError);
|
|
1915
|
+
case 'z-body':
|
|
1916
|
+
return import(
|
|
1917
|
+
/* webpackMode: "lazy" */
|
|
1918
|
+
'./z-body.entry.js').then(processMod, consoleError);
|
|
1915
1919
|
case 'z-button-sort':
|
|
1916
1920
|
return import(
|
|
1917
1921
|
/* webpackMode: "lazy" */
|
|
@@ -1948,6 +1952,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1948
1952
|
return import(
|
|
1949
1953
|
/* webpackMode: "lazy" */
|
|
1950
1954
|
'./z-file-upload.entry.js').then(processMod, consoleError);
|
|
1955
|
+
case 'z-heading':
|
|
1956
|
+
return import(
|
|
1957
|
+
/* webpackMode: "lazy" */
|
|
1958
|
+
'./z-heading.entry.js').then(processMod, consoleError);
|
|
1951
1959
|
case 'z-info-box':
|
|
1952
1960
|
return import(
|
|
1953
1961
|
/* webpackMode: "lazy" */
|
|
@@ -2052,6 +2060,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2052
2060
|
return import(
|
|
2053
2061
|
/* webpackMode: "lazy" */
|
|
2054
2062
|
'./z-section-title.entry.js').then(processMod, consoleError);
|
|
2063
|
+
case 'z-select':
|
|
2064
|
+
return import(
|
|
2065
|
+
/* webpackMode: "lazy" */
|
|
2066
|
+
'./z-select.entry.js').then(processMod, consoleError);
|
|
2055
2067
|
case 'z-skip-to-content':
|
|
2056
2068
|
return import(
|
|
2057
2069
|
/* webpackMode: "lazy" */
|
|
@@ -2136,10 +2148,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2136
2148
|
return import(
|
|
2137
2149
|
/* webpackMode: "lazy" */
|
|
2138
2150
|
'./z-chip.entry.js').then(processMod, consoleError);
|
|
2139
|
-
case 'z-dragdrop-
|
|
2151
|
+
case 'z-dragdrop-area_2':
|
|
2140
2152
|
return import(
|
|
2141
2153
|
/* webpackMode: "lazy" */
|
|
2142
|
-
'./z-dragdrop-
|
|
2154
|
+
'./z-dragdrop-area_2.entry.js').then(processMod, consoleError);
|
|
2143
2155
|
case 'z-ghost-loading':
|
|
2144
2156
|
return import(
|
|
2145
2157
|
/* webpackMode: "lazy" */
|
|
@@ -2168,14 +2180,30 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2168
2180
|
return import(
|
|
2169
2181
|
/* webpackMode: "lazy" */
|
|
2170
2182
|
'./z-myz-list-item.entry.js').then(processMod, consoleError);
|
|
2183
|
+
case 'z-typography':
|
|
2184
|
+
return import(
|
|
2185
|
+
/* webpackMode: "lazy" */
|
|
2186
|
+
'./z-typography.entry.js').then(processMod, consoleError);
|
|
2171
2187
|
case 'z-link':
|
|
2172
2188
|
return import(
|
|
2173
2189
|
/* webpackMode: "lazy" */
|
|
2174
2190
|
'./z-link.entry.js').then(processMod, consoleError);
|
|
2191
|
+
case 'z-list_3':
|
|
2192
|
+
return import(
|
|
2193
|
+
/* webpackMode: "lazy" */
|
|
2194
|
+
'./z-list_3.entry.js').then(processMod, consoleError);
|
|
2195
|
+
case 'z-input_2':
|
|
2196
|
+
return import(
|
|
2197
|
+
/* webpackMode: "lazy" */
|
|
2198
|
+
'./z-input_2.entry.js').then(processMod, consoleError);
|
|
2175
2199
|
case 'z-popover':
|
|
2176
2200
|
return import(
|
|
2177
2201
|
/* webpackMode: "lazy" */
|
|
2178
2202
|
'./z-popover.entry.js').then(processMod, consoleError);
|
|
2203
|
+
case 'z-divider':
|
|
2204
|
+
return import(
|
|
2205
|
+
/* webpackMode: "lazy" */
|
|
2206
|
+
'./z-divider.entry.js').then(processMod, consoleError);
|
|
2179
2207
|
case 'z-button':
|
|
2180
2208
|
return import(
|
|
2181
2209
|
/* webpackMode: "lazy" */
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as colorFromId } from './utils-
|
|
1
|
+
import { c as colorFromId } from './utils-6cf7efe2.js';
|
|
2
2
|
export { n as AlertType, A as AvatarSize, c as ButtonSize, b as ButtonType, B as ButtonVariant, C as CardVariant, Q as CarouselArrowsPosition, R as CarouselProgressMode, M as CoverHeroContentPosition, J as CoverHeroVariant, o as Device, f as DividerOrientation, D as DividerSize, i as ExpandableListButtonAlign, E as ExpandableListStyle, H as InfoRevealPosition, d as InputStatus, I as InputType, e as KeyboardCode, K as KeyboardKeyCode, j as LabelPosition, L as LicenseType, k as ListDividerType, g as ListSize, l as ListType, N as NavigationTabsOrientation, a as NavigationTabsSize, m as NotificationType, O as OffCanvasVariant, p as PocketStatus, P as PopoverPosition, h as Size, S as SortDirection, T as ThemeVariant, q as ToastNotification, s as ToastNotificationPosition, r as ToastNotificationTransition, u as TransitionDirection, t as ZAriaAlertMode, w as ZChipType, y as ZDatePickerMode, z as ZDatePickerModeValue, F as ZDatePickerPosition, v as ZFileUploadType, G as ZRangePickerMode, x as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index-968a240f.js';
|
|
3
3
|
import './breakpoints-c386984e.js';
|
|
4
4
|
|