@zanichelli/albe-web-components 19.2.6 → 19.2.7
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 +10 -0
- package/dist/cjs/index-D_S5lGcb.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +126 -198
- package/dist/cjs/z-combobox.cjs.entry.js +5 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +3 -3
- package/dist/cjs/z-th.cjs.entry.js +5 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tool.cjs.entry.js +2 -2
- package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
- package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
- package/dist/collection/components/table/cells/z-td/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/styles.css +0 -72
- package/dist/collection/components/z-combobox/index.js +3 -3
- package/dist/collection/components/z-combobox/styles.css +0 -12
- package/dist/collection/components/z-input/index.js +3 -3
- package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
- package/dist/collection/components/z-input/styles-general.css +166 -0
- package/dist/collection/components/z-input/styles-text.css +87 -0
- package/dist/collection/components/z-input/styles-textarea.css +19 -0
- package/dist/collection/components/z-searchbar/index.js +111 -193
- package/dist/collection/components/z-searchbar/index.stories.js +3 -16
- package/dist/collection/components/z-searchbar/styles.css +87 -201
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +2 -2
- package/dist/collection/components/z-toolbar/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/components/index13.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index25.js +1 -1
- package/dist/components/index26.js +1 -1
- package/dist/components/index27.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-otp.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +1 -1
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-tool.js +1 -1
- package/dist/components/z-toolbar.js +1 -1
- package/dist/esm/index-DPdXlnVe.js +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-0PByxJyN.js → utils-DYd3kO0P.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +128 -200
- package/dist/esm/z-book-card-deprecated.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +1 -1
- package/dist/esm/z-color-picker.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +6 -4
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +4 -4
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-td.entry.js +3 -3
- package/dist/esm/z-th.entry.js +5 -3
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +3 -3
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +4 -4
- package/dist/esm/z-tool.entry.js +3 -3
- package/dist/esm/z-toolbar.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +1 -1
- package/dist/types/components/z-searchbar/index.d.ts +24 -28
- package/dist/types/components.d.ts +14 -14
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
- package/dist/web-components-library/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
- package/dist/web-components-library/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
- package/dist/web-components-library/{p-eed4e897.entry.js → p-1d023220.entry.js} +1 -1
- package/{www/build/p-de0b7109.entry.js → dist/web-components-library/p-299f0f85.entry.js} +1 -1
- package/dist/web-components-library/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
- package/dist/web-components-library/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
- package/dist/web-components-library/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
- package/dist/web-components-library/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
- package/dist/web-components-library/p-41584e90.entry.js +1 -0
- package/dist/web-components-library/p-53670be4.entry.js +1 -0
- package/dist/web-components-library/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
- package/dist/web-components-library/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
- package/dist/web-components-library/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
- package/dist/web-components-library/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
- package/dist/web-components-library/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
- package/{www/build/p-4ae7df7f.entry.js → dist/web-components-library/p-83da1031.entry.js} +1 -1
- package/{www/build/p-c6920758.entry.js → dist/web-components-library/p-85cac60d.entry.js} +1 -1
- package/dist/web-components-library/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
- package/dist/web-components-library/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
- package/dist/web-components-library/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
- package/dist/web-components-library/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
- package/dist/web-components-library/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
- package/dist/web-components-library/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
- package/dist/web-components-library/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
- package/dist/web-components-library/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
- package/dist/web-components-library/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
- package/{www/build/p-eadf2552.entry.js → dist/web-components-library/p-c4e7bd16.entry.js} +1 -1
- package/dist/web-components-library/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
- package/dist/web-components-library/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
- package/dist/web-components-library/p-d10e6b1a.entry.js +1 -0
- package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
- package/dist/web-components-library/p-e48497f0.entry.js +1 -0
- package/{www/build/p-19d3a16b.entry.js → dist/web-components-library/p-eddc2d19.entry.js} +1 -1
- package/dist/web-components-library/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
- package/dist/web-components-library/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
- package/www/build/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
- package/www/build/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
- package/www/build/{p-eed4e897.entry.js → p-1d023220.entry.js} +1 -1
- package/www/build/{p-804ab9a4.js → p-23143b48.js} +1 -1
- package/{dist/web-components-library/p-de0b7109.entry.js → www/build/p-299f0f85.entry.js} +1 -1
- package/www/build/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
- package/www/build/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
- package/www/build/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
- package/www/build/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
- package/www/build/p-41584e90.entry.js +1 -0
- package/www/build/p-53670be4.entry.js +1 -0
- package/www/build/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
- package/www/build/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
- package/www/build/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
- package/www/build/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
- package/www/build/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
- package/{dist/web-components-library/p-4ae7df7f.entry.js → www/build/p-83da1031.entry.js} +1 -1
- package/{dist/web-components-library/p-c6920758.entry.js → www/build/p-85cac60d.entry.js} +1 -1
- package/www/build/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
- package/www/build/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
- package/www/build/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
- package/www/build/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
- package/www/build/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
- package/www/build/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
- package/www/build/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
- package/www/build/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
- package/www/build/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
- package/{dist/web-components-library/p-eadf2552.entry.js → www/build/p-c4e7bd16.entry.js} +1 -1
- package/www/build/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
- package/www/build/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
- package/www/build/p-d10e6b1a.entry.js +1 -0
- package/www/build/p-dc5ab2cc.entry.js +1 -0
- package/www/build/p-e48497f0.entry.js +1 -0
- package/{dist/web-components-library/p-19d3a16b.entry.js → www/build/p-eddc2d19.entry.js} +1 -1
- package/www/build/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
- package/www/build/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/collection/components/z-input/styles.css +0 -406
- package/dist/web-components-library/p-32440f4c.entry.js +0 -1
- package/dist/web-components-library/p-a9f848ef.entry.js +0 -1
- package/dist/web-components-library/p-ae69bb7d.entry.js +0 -1
- package/dist/web-components-library/p-f3436721.entry.js +0 -1
- package/dist/web-components-library/p-fc15a666.entry.js +0 -1
- package/www/build/p-32440f4c.entry.js +0 -1
- package/www/build/p-a9f848ef.entry.js +0 -1
- package/www/build/p-ae69bb7d.entry.js +0 -1
- package/www/build/p-f3436721.entry.js +0 -1
- package/www/build/p-fc15a666.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
--z-searchbar-tag-text-color: var(--color-primary03);
|
|
3
3
|
--z-searchbar-tag-bg: var(--color-hover-primary);
|
|
4
|
-
--z-searchbar-item-height:
|
|
4
|
+
--z-searchbar-item-height: 2.75rem;
|
|
5
5
|
|
|
6
6
|
z-index: 15;
|
|
7
7
|
display: flex;
|
|
@@ -11,16 +11,12 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
:host,
|
|
14
|
-
|
|
14
|
+
*,
|
|
15
|
+
::after,
|
|
16
|
+
::before {
|
|
15
17
|
box-sizing: border-box;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
:host::part(list-item-container) {
|
|
19
|
-
display: block;
|
|
20
|
-
min-height: unset;
|
|
21
|
-
padding: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
20
|
.input-container {
|
|
25
21
|
position: relative;
|
|
26
22
|
display: flex;
|
|
@@ -28,199 +24,151 @@
|
|
|
28
24
|
flex-direction: column;
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
.
|
|
32
|
-
|
|
33
|
-
top: calc(100% - 1px);
|
|
34
|
-
left: 0;
|
|
35
|
-
width: 100%;
|
|
36
|
-
padding: calc(var(--space-unit) / 4);
|
|
37
|
-
border: var(--border-size-small) solid var(--color-surface03);
|
|
38
|
-
border-top: none;
|
|
39
|
-
background: var(--color-surface01);
|
|
27
|
+
.input-container z-input {
|
|
28
|
+
z-index: 1;
|
|
40
29
|
}
|
|
41
30
|
|
|
42
31
|
.results {
|
|
32
|
+
--item-icon-size: 1rem;
|
|
33
|
+
--z-icon-height: var(--item-icon-size);
|
|
34
|
+
--z-icon-width: var(--item-icon-size);
|
|
35
|
+
--item-inline-padding: calc(var(--space-unit) * 1.5);
|
|
36
|
+
--item-col-gap: var(--space-unit);
|
|
37
|
+
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: calc(100% - 1px);
|
|
40
|
+
left: 0;
|
|
43
41
|
overflow: auto;
|
|
42
|
+
width: 100%;
|
|
44
43
|
max-height: var(--z-searchbar-results-height, 540px);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
.results::-webkit-scrollbar {
|
|
49
|
-
width: 6px;
|
|
50
|
-
background: linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.results::-webkit-scrollbar-thumb {
|
|
54
|
-
background-color: var(--color-primary01);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.results::-webkit-scrollbar-thumb:hover {
|
|
58
|
-
background-color: var(--color-hover-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* Firefox scrollbar */
|
|
62
|
-
@supports not selector(.results::-webkit-scrollbar-track) {
|
|
63
|
-
.results {
|
|
64
|
-
scrollbar-color: var(--color-primary01) transparent;
|
|
65
|
-
}
|
|
44
|
+
border: var(--border-size-small) solid var(--color-form-surface03);
|
|
45
|
+
border-top: none;
|
|
46
|
+
background: var(--color-form-background);
|
|
66
47
|
}
|
|
67
48
|
|
|
68
|
-
.results
|
|
69
|
-
|
|
70
|
-
font-size: var(--font-size-2);
|
|
71
|
-
font-weight: var(--font-rg);
|
|
72
|
-
line-height: var(--font-size-3);
|
|
73
|
-
}
|
|
49
|
+
.results z-list-element {
|
|
50
|
+
--background-color-list-element: var(--color-form-background);
|
|
74
51
|
|
|
75
|
-
|
|
52
|
+
position: relative;
|
|
76
53
|
display: block;
|
|
77
54
|
}
|
|
78
55
|
|
|
79
|
-
.results
|
|
80
|
-
|
|
81
|
-
font-style: italic;
|
|
56
|
+
.results > z-list > z-list-element::part(list-item-container) {
|
|
57
|
+
padding: 0 var(--item-inline-padding);
|
|
82
58
|
}
|
|
83
59
|
|
|
84
|
-
.results
|
|
85
|
-
margin-top: var(--space-unit);
|
|
86
|
-
color: var(--color-default-text);
|
|
87
|
-
text-transform: uppercase;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.results z-list-element {
|
|
60
|
+
.results z-list-element > .list-item {
|
|
91
61
|
position: relative;
|
|
92
|
-
display:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
padding: calc(var(--space-unit) * 1.25) calc(var(--space-unit) / 4);
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
color: var(--color-form-default-text);
|
|
67
|
+
fill: var(--color-form-default-icon);
|
|
68
|
+
gap: var(--item-col-gap);
|
|
97
69
|
}
|
|
98
70
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
z-index: 100;
|
|
102
|
-
top: 5px;
|
|
103
|
-
left: -20px;
|
|
104
|
-
width: 8px;
|
|
105
|
-
height: 1em;
|
|
106
|
-
border-bottom: 1px solid var(--color-disabled01-icon);
|
|
107
|
-
border-left: 1px solid var(--color-disabled01-icon);
|
|
108
|
-
content: "";
|
|
71
|
+
.results z-list-element > .list-item:hover {
|
|
72
|
+
background-color: var(--gray100); /* TODO: use correct form-related token when available */
|
|
109
73
|
cursor: pointer;
|
|
110
74
|
}
|
|
111
75
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
left: -20px;
|
|
117
|
-
width: 8px;
|
|
118
|
-
height: 100%;
|
|
119
|
-
border-left: 1px solid var(--color-disabled01-icon);
|
|
120
|
-
content: "";
|
|
121
|
-
cursor: pointer;
|
|
76
|
+
.results z-list-element > .list-item:focus-visible {
|
|
77
|
+
z-index: 1;
|
|
78
|
+
box-shadow: var(--shadow-focus-primary);
|
|
79
|
+
outline: none;
|
|
122
80
|
}
|
|
123
81
|
|
|
124
|
-
|
|
125
|
-
|
|
82
|
+
/* list elements separator */
|
|
83
|
+
.results > z-list > z-list-element:not(:last-child) > .list-item,
|
|
84
|
+
.results z-list-group:not(:last-child) > z-list-element:not(.category-heading) {
|
|
85
|
+
border-bottom: 1px solid var(--color-form-surface03);
|
|
126
86
|
}
|
|
127
87
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
z-list > z-list-group > z-list-element::before,
|
|
131
|
-
z-list > z-list-group > z-list-element::after {
|
|
132
|
-
display: none;
|
|
88
|
+
.results z-list-group {
|
|
89
|
+
padding: 0 var(--item-inline-padding);
|
|
133
90
|
}
|
|
134
91
|
|
|
135
|
-
z-list >
|
|
136
|
-
padding
|
|
92
|
+
.results z-list-group > z-list-element::part(list-item-container) {
|
|
93
|
+
padding: 0;
|
|
137
94
|
}
|
|
138
95
|
|
|
139
|
-
.results
|
|
140
|
-
|
|
141
|
-
justify-content: space-between;
|
|
142
|
-
padding: calc(var(--space-unit) * 1.25) 0;
|
|
143
|
-
cursor: pointer;
|
|
96
|
+
.results .sub-list {
|
|
97
|
+
padding-left: calc(var(--item-icon-size) + var(--item-col-gap));
|
|
144
98
|
}
|
|
145
99
|
|
|
146
|
-
.results z-list-element
|
|
147
|
-
|
|
148
|
-
outline: none;
|
|
100
|
+
.results .sub-list z-list-element::part(list-item-container) {
|
|
101
|
+
padding: 0;
|
|
149
102
|
}
|
|
150
103
|
|
|
151
|
-
.results z-list-element > .list-
|
|
152
|
-
|
|
104
|
+
.results .sub-list z-list-element > .list-item {
|
|
105
|
+
position: relative;
|
|
153
106
|
}
|
|
154
107
|
|
|
155
|
-
|
|
108
|
+
/* tree indicators */
|
|
109
|
+
.results .sub-list > z-list-element:not(:last-child)::before,
|
|
110
|
+
.results .sub-list > z-list-element > .list-item::before {
|
|
156
111
|
position: absolute;
|
|
157
112
|
top: 0;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
width: 100%;
|
|
161
|
-
height: 44px;
|
|
113
|
+
left: calc(0px - var(--item-col-gap) - var(--item-icon-size) / 2 + 1px);
|
|
114
|
+
border-left: 1px solid var(--color-form-surface03);
|
|
162
115
|
content: "";
|
|
163
|
-
transform: translateX(-100%);
|
|
164
116
|
}
|
|
165
117
|
|
|
166
|
-
|
|
167
|
-
|
|
118
|
+
/* "|" tree indicator */
|
|
119
|
+
.results .sub-list > z-list-element:not(:last-child)::before {
|
|
120
|
+
top: -4px;
|
|
121
|
+
height: calc(100% + 4px);
|
|
168
122
|
}
|
|
169
123
|
|
|
170
|
-
|
|
171
|
-
.results z-list-element > .list-
|
|
172
|
-
|
|
173
|
-
|
|
124
|
+
/* "—" tree indicator */
|
|
125
|
+
.results .sub-list z-list-element > .list-item::before {
|
|
126
|
+
width: 14px;
|
|
127
|
+
height: calc(var(--z-searchbar-item-height) / 2);
|
|
128
|
+
border-bottom: 1px solid var(--color-form-surface03);
|
|
174
129
|
}
|
|
175
130
|
|
|
176
|
-
.results
|
|
177
|
-
|
|
178
|
-
font-size: var(--font-size-1);
|
|
179
|
-
font-weight: var(--font-sb);
|
|
180
|
-
|
|
181
|
-
--z-tag-bg: var(--z-searchbar-tag-bg);
|
|
182
|
-
--z-tag-text-color: var(--z-searchbar-tag-text-color);
|
|
131
|
+
.results .category-heading > .category {
|
|
132
|
+
font-style: italic;
|
|
183
133
|
}
|
|
184
134
|
|
|
185
|
-
.results .
|
|
186
|
-
|
|
187
|
-
|
|
135
|
+
.results .category-heading > .subcategory {
|
|
136
|
+
text-transform: uppercase;
|
|
137
|
+
}
|
|
188
138
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
align-items: center;
|
|
192
|
-
justify-content: flex-start;
|
|
193
|
-
color: var(--color-default-text);
|
|
194
|
-
column-gap: calc(var(--space-unit) * 1.5);
|
|
195
|
-
fill: var(--color-default-icon);
|
|
196
|
-
font-size: var(--font-size-2);
|
|
197
|
-
line-height: var(--font-size-6);
|
|
139
|
+
.results z-list-element > .list-item .ellipsis {
|
|
140
|
+
overflow: hidden;
|
|
198
141
|
}
|
|
199
142
|
|
|
200
|
-
.results .
|
|
143
|
+
.results .ellipsis > .item-label {
|
|
201
144
|
overflow: hidden;
|
|
202
145
|
text-overflow: ellipsis;
|
|
203
146
|
white-space: nowrap;
|
|
204
147
|
}
|
|
205
148
|
|
|
206
|
-
.results .item
|
|
149
|
+
.results .item-label mark {
|
|
207
150
|
background: var(--color-primary03);
|
|
151
|
+
color: var(--color-default-text);
|
|
208
152
|
}
|
|
209
153
|
|
|
210
|
-
.results .item
|
|
211
|
-
--z-
|
|
212
|
-
--z-
|
|
154
|
+
.results .list-item > z-tag {
|
|
155
|
+
--z-tag-bg: var(--z-searchbar-tag-bg);
|
|
156
|
+
--z-tag-text-color: var(--z-searchbar-tag-text-color);
|
|
157
|
+
|
|
158
|
+
margin-left: auto;
|
|
159
|
+
white-space: nowrap;
|
|
213
160
|
}
|
|
214
161
|
|
|
215
162
|
.results .item-show-all {
|
|
163
|
+
width: 100%;
|
|
164
|
+
color: var(--color-primary01);
|
|
165
|
+
cursor: pointer;
|
|
216
166
|
text-align: center;
|
|
217
167
|
}
|
|
218
168
|
|
|
219
169
|
.results .item-no-results {
|
|
220
170
|
display: block;
|
|
221
|
-
font-size: var(--font-size-2);
|
|
222
171
|
font-style: italic;
|
|
223
|
-
line-height: var(--font-size-5);
|
|
224
172
|
}
|
|
225
173
|
|
|
226
174
|
.results .item-no-results > ul {
|
|
@@ -228,70 +176,8 @@ z-list > div.children-node {
|
|
|
228
176
|
margin: var(--space-unit);
|
|
229
177
|
}
|
|
230
178
|
|
|
231
|
-
/* Tablet breakpoint */
|
|
232
179
|
@media (min-width: 768px) {
|
|
233
|
-
.results
|
|
234
|
-
|
|
235
|
-
line-height: var(--font-size-6);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.results .item {
|
|
239
|
-
font-size: var(--font-size-3);
|
|
240
|
-
line-height: var(--font-size-6);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.results .item.item-search {
|
|
244
|
-
--z-icon-height: 18px;
|
|
245
|
-
--z-icon-width: 18px;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.results .item.ellipsis > .item-label {
|
|
249
|
-
height: 1.5rem;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.results z-list-element > .list-element > z-tag {
|
|
253
|
-
min-width: max-content;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/* Desktop breakpoint */
|
|
258
|
-
@media (min-width: 1152px) {
|
|
259
|
-
.results .item {
|
|
260
|
-
cursor: pointer;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.results .item-no-results {
|
|
264
|
-
cursor: default;
|
|
265
|
-
font-size: var(--font-size-3);
|
|
266
|
-
line-height: var(--font-size-6);
|
|
180
|
+
.results {
|
|
181
|
+
--item-icon-size: 1.125rem;
|
|
267
182
|
}
|
|
268
183
|
}
|
|
269
|
-
|
|
270
|
-
:host([size="small"]) .results :is(.item, .category-heading),
|
|
271
|
-
:host([size="x-small"]) .results :is(.item, .category-heading) {
|
|
272
|
-
font-size: var(--font-size-2);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
:host([size="small"]) .results .item:not(.has-category),
|
|
276
|
-
:host([size="x-small"]) .results .item:not(.has-category) {
|
|
277
|
-
--z-icon-height: 16px;
|
|
278
|
-
--z-icon-width: 16px;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
:host([size="small"]) z-list-element > .list-element,
|
|
282
|
-
:host([size="small"]) z-list-element > .item-search {
|
|
283
|
-
padding: calc(var(--space-unit) * 0.75) 0;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
:host([size="x-small"]) z-list-element > .list-element,
|
|
287
|
-
:host([size="x-small"]) z-list-element > .item-search {
|
|
288
|
-
padding: calc(var(--space-unit) / 2) 0;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
:host([size="small"]) z-list-element .list-element::after {
|
|
292
|
-
height: 36px;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
:host([size="x-small"]) z-list-element .list-element::after {
|
|
296
|
-
height: 32px;
|
|
297
|
-
}
|
|
@@ -45,7 +45,7 @@ export class ZSkipToContent {
|
|
|
45
45
|
this.visible = false;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'b0c2efcd257373ca8473d2f8135dc5c5d69e6d8f', class: {
|
|
49
49
|
[this.variant]: true,
|
|
50
50
|
"skip-to-content-visible": this.visible,
|
|
51
51
|
} }, this.links.map((link, i) => {
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ZStepper {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '31e5a5533c2aa92a12e0799f0fe576eb0e22d75e', role: "navigation" }, h("slot", { key: '7851acea6ba207cec933a7565542c5793104ece2' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "z-stepper"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class ZStepperItem {
|
|
|
8
8
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '0cb2bcffcfb910b70307e5a7b04492e7203887f9', role: "listitem" }, h("button", Object.assign({ key: '01af9b8559a9fb830cb4ff5e9b5af414c518e720', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '94ef13762bc9ce63b8bfdb98c39a720a2037efa7', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '2bb267586d494bf4dcecdcfe3efd11586a3457b3' }, h("slot", { key: 'f8b3457eeb4addc3188c09e3b6fdd4817064158b' })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "z-stepper-item"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -151,19 +151,19 @@ export class ZToastNotification {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '6d582aa79426417081842e17e0ccb61fffec81a0', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
|
|
155
155
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
156
156
|
this.startClosingTimeout(this.autoclose);
|
|
157
157
|
}
|
|
158
158
|
if (e.animationName.includes("slideout")) {
|
|
159
159
|
this.hostElement.parentNode.removeChild(this.hostElement);
|
|
160
160
|
}
|
|
161
|
-
} }, h("div", { key: '
|
|
161
|
+
} }, h("div", { key: '3b509ad43470b3bd5ceec401d28ce887a7f1de10', class: "toast-notification-container" }, h("div", { key: '7caaa8f330f15214c827eb89666ea2fdbbde3920', class: "toast-notification-content" }, h("div", { key: '49ad47ccf665b0bbcdbf94430cc2dab1e05219ab', class: "toast-notification-text" }, this.heading && h("span", { key: 'c2ea1e161d8c6bbefc9cff2ff27eadc713f5c133', class: "title" }, this.heading), h("span", { key: 'f93072a79ae141440445746ad654de84b50d2441', class: "message" }, h("slot", { key: '09d8108c415599d93b67925496fd52416fac4907', name: "message" }, this.message && h("span", { key: '011e00ae54cee5a33059cef9760576781c63f737', innerHTML: DOMPurify.sanitize(this.message) })))), h("div", { key: '67bde6f049f31a6b4e7d84c720b036f974bedba7', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: 'c92a7087e89012ee690c8e41577ccee412be112f', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: '41198c2a426c339046948b8969d3002aee7607c3', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
|
|
162
162
|
if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
|
|
163
163
|
e.preventDefault();
|
|
164
164
|
this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true);
|
|
165
165
|
}
|
|
166
|
-
} }, h("z-icon", { key: '
|
|
166
|
+
} }, h("z-icon", { key: '3316d0e9e999039cd99eb96faa37c81219e5617b', name: "multiply-circled" }))))));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "z-toast-notification"; }
|
|
169
169
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class ZToastNotificationList {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return h("slot", { key: '
|
|
42
|
+
return h("slot", { key: '8219e6e96e73aee72df4e2d8d2e0e9155e8f7a2e', name: "toasts" });
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "z-toast-notification-list"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,10 +16,10 @@ export class ZToggleButton {
|
|
|
16
16
|
this.toggleClick.emit(this.opened);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("button", { key: '
|
|
19
|
+
return (h("button", { key: '3448d665412b78c55f77951e408df8abaa158803', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
20
20
|
"isopen": this.opened,
|
|
21
21
|
"avoid-clicks": this.avoidclick,
|
|
22
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '
|
|
22
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '4514f07522fc6ecfced03793a5bc58e7c8f185e8', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "z-toggle-button"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,14 +26,14 @@ export class ZToggleSwitch {
|
|
|
26
26
|
this.emitToggleClick();
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'd31f156ba646f113f8f2509afdaee3e79fdb33f7' }, h("input", { key: '48a3963dd555c00867816af0169ed677dc4ccc68', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '3872377775f759727b62288794555cd84e60b12c', htmlFor: this.htmlid, class: {
|
|
30
30
|
[this.labelPosition]: true,
|
|
31
31
|
disabled: this.disabled,
|
|
32
|
-
} }, h("span", { key: '
|
|
32
|
+
} }, h("span", { key: 'b46cb8e359cdb11e696a116661659c9872d49a1e' }, h("slot", { key: '42fc26c0ced09c5fdda062735fe543b8cb57a658' })), h("span", { key: 'b55f0fbd2ff23f01c1ac0b845c6af5571d81c13f', class: {
|
|
33
33
|
container: true,
|
|
34
34
|
disabled: this.disabled,
|
|
35
35
|
checked: this.checked,
|
|
36
|
-
} }, h("span", { key: '
|
|
36
|
+
} }, h("span", { key: '87bc69be905d84458fec5384f756348a94e446fe', class: "circle" }, this.checked && (h("z-icon", { key: '4464b2bf8aa91a7c0c5c9e2bff26e84ff7c34be2', width: 12, height: 12, name: "checkmark" })))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "z-toggle-switch"; }
|
|
39
39
|
static get encapsulation() { return "scoped"; }
|
|
@@ -182,10 +182,10 @@ export class ZTool {
|
|
|
182
182
|
(_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: 'f5da5cd309607dc94dd12a28596b2ea02d28ba4c', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: 'be63d078b5035ba1f08c480c8c08f365b3115191', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: 'a08b5432871a1522374633050a835bb18001a6d6', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: '9e0fa11a43662f333404543e315b097aa96ab08c', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: 'bfc2be83824830ed05b70f423e9f044015624f49', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: '717697756e5333f066f96c96695cd9741b006e93', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
|
|
186
186
|
/* disable auto-close to prevent unwanted close behaviors on mobile,
|
|
187
187
|
when the bound element is the main toolbar */
|
|
188
|
-
closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: '
|
|
188
|
+
closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'd151d02e38fb7a0941012ec969b6cea647721846' })))));
|
|
189
189
|
}
|
|
190
190
|
static get is() { return "z-tool"; }
|
|
191
191
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,7 +133,7 @@ export class ZToolbar {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '9f77e33a2a5e3566137ca23c4a41526b58b46515', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: 'a62af35ef54781baee92f865a969a8642ce58703', onSlotchange: () => {
|
|
137
137
|
this.collectToolItems();
|
|
138
138
|
this.updateTabIndexes();
|
|
139
139
|
} })));
|
|
@@ -29,7 +29,7 @@ export class ZTooltip {
|
|
|
29
29
|
this.open = this.popoverEl.open;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("z-popover", { key: '
|
|
32
|
+
return (h("z-popover", { key: '0cc1e8ea0e6896f5031309a5984c09df4b095d8b', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: 'a0548343b099fe7986066d821a455f1092428b38' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "z-tooltip"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class ZMyzCardComponent {
|
|
|
33
33
|
return elemClasses;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'b67a08f3b64765de8616a71391a1b6ca8c12b6a9', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: '9b5002efd87f6f829578802ebd4dfcf57a69e02f' })));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "z-myz-card"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class ZMyzCardAlert {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: '4ca682b49ae42f644338b19e8e49e2f292c47d23', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: 'afcae73ad5db966ad66569171879d7f9c66bddbd', type: this.getAlertType() }, h("div", { key: '8f4afab9559bb5f792796c8ea1907148811890a9', class: "relative-container" }, h("z-icon", { key: '8070aad90c809d35822898c444fd5f81c1ac9146', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'eb0ea9fe673d279a5eead6568331a31eb91302e2', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'daae97d1758c457bb1f8c2143ac2c6efe999a7f9', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
|
|
44
44
|
this.handleActionButtonClick(e);
|
|
45
45
|
}, onKeyPress: (e) => {
|
|
46
46
|
this.handleSpaceKeyPress(e);
|
|
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZMyzCardBody {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '95ef1a2e8d5babdef3f5d89b532b6916cd1e2e4c' }, h("slot", { key: '96616fcb612f3ae7f1db129d50e5dbd0497870a9', name: "alert" }), h("slot", { key: '327613cfcfe1a9f96e66531629d0591b90717569', name: "cover" })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-myz-card-body"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class ZMyzCardCover {
|
|
|
4
4
|
this.img = this.defaultimg;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("img", { key: '
|
|
7
|
+
return (h("img", { key: '13e827933bb784fbe1e00c690048e2e9c3699313', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "z-myz-card-cover"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class ZMyzCardDictionary {
|
|
|
23
23
|
this.cardFlipped.emit(showBack);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'fe6d9d8cc73aa0135e2874d0bee4b996cf83dc64' }, h("z-myz-card", { key: 'eee9c5a48f74a1bb5fb36ed0952a84260c37b79e' }, h("z-myz-card-header", { key: '0665c976a9a81efcc14f531585aeb01e29526896', titolo: this.name }), h("div", { key: 'c7ab52b273bdda1f32e016f0117844507159699e', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'c7b2b5cc7253ba6c73033afc1dfa375ed281fae2', class: "front" }, h("z-myz-card-body", { key: '954bc5ad14a460c65ab58a85b1e6f6d9568a76ab' }, h("z-myz-card-cover", { key: 'ce0762910761111896f04d2a8071910b556d9471', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: '385a8b63d361e250c2c3331e9e5222a2cd708ffe', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '115dfdbc6c12edbab647c0f8e1e16b197a0066fd', class: "back" }, h("slot", { key: '947dbf7463e16a9e1664df2390ec714a77d3b46a', name: "info" }))), h("slot", { key: 'bd851dc63c9a852237063f48b0c558363f1dd3f6' }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "z-myz-card-dictionary"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class ZMyzCardFooter {
|
|
|
56
56
|
return this.host.querySelector("[slot=list] > li a");
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: '0836e7e0d6c360721019bc7674466345e3eaab74', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '0771eca0b6c8267a612f95800fc807096efd19eb', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'e9ca8f43d386ae14914d192a428698ecd9ee1082', class: "toggle" }, h("slot", { key: '4ffe0ee9635d343821a20d572217fd7f971a781f', name: "toggle" })), this.titolo && h("p", { key: '352cff28af1654d0676dcf0c184f42a5158bbbbe', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'a76925042afd579c30fc82faf96146718dd497c9', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: 'a3f2391f91e996b06d00a725a1b010f0df352551' }, h("p", { key: '4dfcf2de83492dd502eb69cc2525769c04430744', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: 'b0f06c214c88f38e477a0aacc824441160bf38fb', title: this.getTitleAuthors() }, h("span", { key: '6343877f00355d614d4a263d3615b5d6222ba795', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'b1f88556f9e2493e9070e71c72cc760f2f52738d', class: "year-isbn" }, h("span", { key: 'a934207b2ae734db3deca9d5a2544d86cb011117', class: "isbn" }, h("span", { key: '4a2d0fa9a603e63aa3443934d58f5df9350fbdf3' }, h("span", { key: '2668d24fe56de6eb660fc56a540347070ade4d92', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '6310cdec45297752f3035d975c3073acce3e2076', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: 'f949fe923fa112d79c6cf4fa7490dd03e7f9c772', name: "list" })))), this.customContent && h("slot", { key: 'b0479a7f0e890c03dfbdced57aa6162d38981eb9', name: "content" })));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "z-myz-card-footer"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZMyzCardFooterSections {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'e03532734334f374789a31da73f15e32ee8c1679' }, h("footer", { key: '36bbfc8363d00503545aa9a1dd4de0e8b036c0e2' }, h("div", { key: '159b35a78ec38d541d6016fa4724effa00a66dd6', class: "top" }, h("slot", { key: '25c311436a817abf5d0d961a6e2f699fcea6f331', name: "top" })), h("div", { key: '248485fc69ef0c7c76ca086a86a5971ae3e3876f', class: "bottom" }, h("slot", { key: 'fe1b0f89936780d822328e13ce94564838f3c0d7', name: "bottom" })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-myz-card-footer-sections"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class ZMyzCardHeader {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("header", { key: '
|
|
30
|
+
return (h("header", { key: '671c26a2953f4ca84e9c0bc3b84e8f6cf3d442f7', class: this.retrieveClass() }, h("slot", { key: 'd59992fbe354f2c6c4934613ed8597e3673fa49b', name: "aria-heading" }), h("span", { key: 'b58bfc5c6ab9993c33b4e8fcfde411a537c5d0f3', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '3928815f962ffd84793775a964a2303a901eed06', name: "icon" })));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "z-myz-card-header"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|