@zanichelli/albe-web-components 7.2.0-offcanvas-RC2 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/cjs/index-e3299e0a.js +10 -6
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/web-components-library.cjs.js +1 -1
  4. package/dist/cjs/z-app-header_2.cjs.entry.js +152 -0
  5. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  6. package/dist/cjs/z-button.cjs.entry.js +43 -0
  7. package/dist/cjs/z-card.cjs.entry.js +1 -1
  8. package/dist/cjs/z-chip.cjs.entry.js +6 -3
  9. package/dist/cjs/z-myz-card-footer.cjs.entry.js +13 -1
  10. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  12. package/dist/cjs/z-offcanvas.cjs.entry.js +57 -0
  13. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  14. package/dist/cjs/z-toggle-button.cjs.entry.js +4 -2
  15. package/dist/collection/components/buttons/z-button-sort/index.js +2 -2
  16. package/dist/collection/components/buttons/z-button-sort/styles.css +1 -1
  17. package/dist/collection/components/buttons/z-chip/index.js +25 -3
  18. package/dist/collection/components/buttons/z-chip/styles.css +28 -21
  19. package/dist/collection/components/buttons/z-toggle-button/index.js +21 -1
  20. package/dist/collection/components/buttons/z-toggle-button/styles.css +1 -3
  21. package/dist/collection/components/indicators/z-stepper-item/styles.css +1 -1
  22. package/dist/collection/components/notification/z-toast-notification/index.js +1 -1
  23. package/dist/collection/components/z-card/index.js +9 -0
  24. package/dist/collection/components/z-card/styles.css +1 -1
  25. package/dist/collection/components/z-offcanvas/index.js +5 -4
  26. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +13 -1
  27. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  28. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +12 -0
  29. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +1 -1
  30. package/dist/collection/utils/storybook-utils.js +1 -1
  31. package/dist/esm/index-a2ca4b97.js +10 -6
  32. package/dist/esm/loader.js +1 -1
  33. package/dist/esm/web-components-library.js +1 -1
  34. package/dist/esm/z-app-header_2.entry.js +147 -0
  35. package/dist/esm/z-button-sort.entry.js +1 -1
  36. package/dist/esm/z-button.entry.js +39 -0
  37. package/dist/esm/z-card.entry.js +1 -1
  38. package/dist/esm/z-chip.entry.js +7 -4
  39. package/dist/esm/z-myz-card-footer.entry.js +14 -2
  40. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  41. package/dist/esm/z-myz-card_4.entry.js +2 -2
  42. package/dist/esm/z-offcanvas.entry.js +53 -0
  43. package/dist/esm/z-stepper-item.entry.js +1 -1
  44. package/dist/esm/z-toggle-button.entry.js +4 -2
  45. package/dist/types/components/buttons/z-button-sort/index.d.ts +2 -2
  46. package/dist/types/components/buttons/z-chip/index.d.ts +2 -0
  47. package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -0
  48. package/dist/types/components/notification/z-toast-notification/index.d.ts +1 -1
  49. package/dist/types/components/z-card/index.d.ts +9 -0
  50. package/dist/types/components/z-offcanvas/index.d.ts +4 -3
  51. package/dist/types/components.d.ts +22 -6
  52. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +2 -0
  53. package/dist/web-components-library/p-068951a7.entry.js +1 -0
  54. package/dist/web-components-library/p-06b7dad4.entry.js +1 -0
  55. package/dist/web-components-library/{p-417b1b6c.entry.js → p-10adc1fa.entry.js} +1 -1
  56. package/dist/web-components-library/p-1570917d.entry.js +1 -0
  57. package/dist/web-components-library/p-157aea3b.entry.js +1 -0
  58. package/dist/web-components-library/p-20682781.entry.js +1 -0
  59. package/dist/web-components-library/{p-ede9fbf5.entry.js → p-6736e894.entry.js} +1 -1
  60. package/dist/web-components-library/{p-810bd730.entry.js → p-9db2bf11.entry.js} +1 -1
  61. package/dist/web-components-library/p-c722c5a4.entry.js +1 -0
  62. package/dist/web-components-library/{p-05ced71c.entry.js → p-f5a99b28.entry.js} +1 -1
  63. package/dist/web-components-library/{p-c081e1f4.entry.js → p-f9f42d17.entry.js} +1 -1
  64. package/dist/web-components-library/web-components-library.esm.js +1 -1
  65. package/package.json +2 -3
  66. package/readme.md +0 -1
  67. package/www/build/p-068951a7.entry.js +1 -0
  68. package/www/build/p-06b7dad4.entry.js +1 -0
  69. package/www/build/{p-417b1b6c.entry.js → p-10adc1fa.entry.js} +1 -1
  70. package/www/build/p-1570917d.entry.js +1 -0
  71. package/www/build/p-157aea3b.entry.js +1 -0
  72. package/www/build/p-20682781.entry.js +1 -0
  73. package/www/build/{p-ede9fbf5.entry.js → p-6736e894.entry.js} +1 -1
  74. package/www/build/p-77d28b14.js +1 -0
  75. package/www/build/{p-810bd730.entry.js → p-9db2bf11.entry.js} +1 -1
  76. package/www/build/p-c722c5a4.entry.js +1 -0
  77. package/www/build/{p-05ced71c.entry.js → p-f5a99b28.entry.js} +1 -1
  78. package/www/build/{p-c081e1f4.entry.js → p-f9f42d17.entry.js} +1 -1
  79. package/www/build/web-components-library.esm.js +1 -1
  80. package/www/index.html +1 -40
  81. package/CHANGELOG.md +0 -2389
  82. package/dist/cjs/z-app-header.cjs.entry.js +0 -132
  83. package/dist/cjs/z-button_3.cjs.entry.js +0 -113
  84. package/dist/esm/z-app-header.entry.js +0 -128
  85. package/dist/esm/z-button_3.entry.js +0 -107
  86. package/dist/web-components-library/p-0446752e.entry.js +0 -1
  87. package/dist/web-components-library/p-19ca449e.entry.js +0 -1
  88. package/dist/web-components-library/p-26b39ec3.entry.js +0 -1
  89. package/dist/web-components-library/p-3a9cc467.entry.js +0 -1
  90. package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
  91. package/src-react/index.ts +0 -1
  92. package/www/build/p-0446752e.entry.js +0 -1
  93. package/www/build/p-19ca449e.entry.js +0 -1
  94. package/www/build/p-26b39ec3.entry.js +0 -1
  95. package/www/build/p-3a9cc467.entry.js +0 -1
  96. package/www/build/p-9bc44095.js +0 -1
  97. package/www/build/p-9d03a7d6.entry.js +0 -1
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e3299e0a.js');
6
6
 
7
- const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 2px 2px var(--accent-dark)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
7
+ const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
8
8
 
9
9
  const ZMyzCardIcon = class {
10
10
  constructor(hostRef) {
@@ -70,7 +70,7 @@ const ZMyzCardCover = class {
70
70
  };
71
71
  ZMyzCardCover.style = stylesCss$1;
72
72
 
73
- const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
73
+ const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name=\"aria-heading\"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
74
74
 
75
75
  const ZMyzCardHeader = class {
76
76
  constructor(hostRef) {
@@ -97,7 +97,7 @@ const ZMyzCardHeader = class {
97
97
  };
98
98
  }
99
99
  render() {
100
- return (index.h("header", { class: this.retrieveClass() }, index.h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
100
+ return (index.h("header", { class: this.retrieveClass() }, index.h("slot", { name: "aria-heading" }), index.h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
101
101
  }
102
102
  };
103
103
  ZMyzCardHeader.style = stylesCss;
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-e3299e0a.js');
6
+ const index$1 = require('./index-7a9a8430.js');
7
+
8
+ const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;min-width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg);visibility:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01)}[variant=\"pushcontent\"].sc-z-offcanvas-h{display:none}[open].sc-z-offcanvas-h{display:flex;visibility:visible}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;display:flex;height:calc(100% - var(--z-offcanvas--top-space))}[variant=\"overlay\"][transitiondirection=\"left\"].sc-z-offcanvas-h{justify-content:end}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (max-width: 768px){[open][transitiondirection=\"left\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection=\"right\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]:not(.skip-animation){width:auto;animation:grow 0.4s ease-out}}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open][variant=\"overlay\"][transitiondirection=\"left\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection=\"right\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{transform:translateX(-100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"left\"]>.canvas-container.sc-z-offcanvas{transform:translateX(100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"] .canvas-background.sc-z-offcanvas{transition:visibility 0.4s ease-out;visibility:hidden}";
9
+
10
+ const ZOffcanvas = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.canvasOpenStatusChanged = index.createEvent(this, "canvasOpenStatusChanged", 7);
14
+ /**
15
+ * Offcanvas variant.
16
+ * Can be one of "overlay", "pushcontent"
17
+ * Default variant: pushcontent
18
+ */
19
+ this.variant = index$1.OffCanvasVariant.PUSHCONTENT;
20
+ /** open component. Default: false */
21
+ this.open = false;
22
+ /** open content transitioning in a specified direction left | right. Default: left */
23
+ this.transitiondirection = index$1.TransitionDirection.LEFT;
24
+ /** manages the skip for the entry animation*/
25
+ this.skipanimationonload = false;
26
+ }
27
+ /** this method allows you to skip the page loading animation, to be used with the prop set to true */
28
+ async setSkipAanimationOnLoad(value) {
29
+ this.skipanimationonload = value;
30
+ }
31
+ onOpenChanged() {
32
+ if (!this.open && this.skipanimationonload) {
33
+ this.skipanimationonload = false;
34
+ }
35
+ if (this.open) {
36
+ this.handleOverflowProperty();
37
+ }
38
+ this.canvasOpenStatusChanged.emit(this.open);
39
+ }
40
+ handleOverflowProperty() {
41
+ const overflow = this.variant === index$1.OffCanvasVariant.OVERLAY ? "overflow-y" : "overflow-x";
42
+ document.body.style[overflow] = this.open ? "hidden" : "";
43
+ }
44
+ handledTransitionEnd() {
45
+ this.handleOverflowProperty();
46
+ }
47
+ render() {
48
+ return (index.h(index.Host, { class: { "skip-animation": this.skipanimationonload } }, index.h("div", { role: "presentation", class: "canvas-container", onTransitionEnd: () => this.handledTransitionEnd() }, index.h("div", { role: "presentation", class: "canvas-content" }, index.h("slot", { name: "canvasContent" }))), this.variant == index$1.OffCanvasVariant.OVERLAY && (index.h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => (this.open = false) }))));
49
+ }
50
+ get hostElement() { return index.getElement(this); }
51
+ static get watchers() { return {
52
+ "open": ["onOpenChanged"]
53
+ }; }
54
+ };
55
+ ZOffcanvas.style = stylesCss;
56
+
57
+ exports.z_offcanvas = ZOffcanvas;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e3299e0a.js');
6
6
 
7
- const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:solid 2px var(--bg-grey-700);margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:2px solid var(--myz-blue);margin:calc(var(--space-unit) * 2);background:var(--bg-white);border-radius:50%;color:var(--myz-blue);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--myz-blue-dark);background:var(--myz-blue-dark);color:var(--text-white)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0 0 2px 2px var(--accent-dark)}:host([disabled]) .indicator{border-color:currentcolor;background:var(--bg-grey-200);color:var(--text-grey-700)}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
7
+ const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:solid 2px var(--bg-grey-700);margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:2px solid var(--myz-blue);margin:calc(var(--space-unit) * 2);background:var(--bg-white);border-radius:50%;color:var(--myz-blue);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--myz-blue-dark);background:var(--myz-blue-dark);color:var(--text-white)}:host(:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([disabled]) .indicator{border-color:currentcolor;background:var(--bg-grey-200);color:var(--text-grey-700)}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
8
8
 
9
9
  const ZStepperItem = class {
10
10
  constructor(hostRef) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e3299e0a.js');
6
6
 
7
- const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase;transition:all 200ms linear}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
7
+ const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{box-shadow:var(--shadow-focus-primary);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
8
8
 
9
9
  const ZToggleButton = class {
10
10
  constructor(hostRef) {
@@ -14,6 +14,8 @@ const ZToggleButton = class {
14
14
  this.isdisabled = false;
15
15
  /** open by default (optional) */
16
16
  this.opened = false;
17
+ /** aria-label for the button */
18
+ this.ariaLabel = "";
17
19
  }
18
20
  emitToggleClick() {
19
21
  if (this.isdisabled) {
@@ -26,7 +28,7 @@ const ZToggleButton = class {
26
28
  return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: {
27
29
  "isopen": this.opened,
28
30
  "avoid-clicks": this.avoidclick,
29
- }, disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
30
32
  }
31
33
  };
32
34
  ZToggleButton.style = stylesCss;
@@ -115,7 +115,7 @@ export class ZButtonSort {
115
115
  "optional": true,
116
116
  "docs": {
117
117
  "tags": [],
118
- "text": "occurrencies counter (optional)"
118
+ "text": "occurrences counter (optional)"
119
119
  },
120
120
  "attribute": "counter",
121
121
  "reflect": false
@@ -208,7 +208,7 @@ export class ZButtonSort {
208
208
  "composed": true,
209
209
  "docs": {
210
210
  "tags": [],
211
- "text": "sorting direction click event, returns buttonid and sortAsc"
211
+ "text": "sorting direction click event, returns `buttonid` and `sortAsc`"
212
212
  },
213
213
  "complexType": {
214
214
  "original": "any",
@@ -27,7 +27,7 @@ button:hover {
27
27
 
28
28
  button:focus {
29
29
  border-color: var(--myz-blue);
30
- box-shadow: 0 0 2px 2px var(--accent-dark);
30
+ box-shadow: var(--shadow-focus-primary);
31
31
  color: var(--myz-blue);
32
32
  fill: var(--myz-blue);
33
33
  }
@@ -1,12 +1,14 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { Device, ZChipType } from "../../../beans";
3
- import { getDevice, handleKeyboardSubmit } from "../../../utils/utils";
3
+ import { getDevice } from "../../../utils/utils";
4
4
  export class ZChip {
5
5
  constructor() {
6
6
  /** z-chip size type, can be default, medium or small */
7
7
  this.type = ZChipType.DEFAULT;
8
8
  /** set z-chip as disabled */
9
9
  this.disabled = false;
10
+ /** z-chip aria-label string */
11
+ this.ariaLabel = "";
10
12
  }
11
13
  emitinteractiveIconClick() {
12
14
  this.interactiveIconClick.emit();
@@ -16,9 +18,11 @@ export class ZChip {
16
18
  }
17
19
  render() {
18
20
  if (this.interactiveIcon) {
19
- return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0", type: "button" }, this.icon && (h("z-icon", { class: "icon-sx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("z-icon", { tabIndex: this.disabled ? -1 : 0, onClick: () => this.emitinteractiveIconClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.emitinteractiveIconClick.bind(this)), name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() })));
21
+ return (h("div", { class: `z-chip-container ${this.type}`, "aria-disabled": this.disabled }, this.icon && (h("z-icon", { class: "icon-sx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("button", { type: "button", onClick: () => this.emitinteractiveIconClick(), onKeyUp: () => {
22
+ () => this.emitinteractiveIconClick();
23
+ }, "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() }))));
20
24
  }
21
- return (h("div", { class: `${this.type}`, tabindex: "0" }, this.icon && (h("z-icon", { name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null)));
25
+ return (h("div", { class: `${this.type}` }, this.icon && (h("z-icon", { name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null)));
22
26
  }
23
27
  static get is() { return "z-chip"; }
24
28
  static get encapsulation() { return "scoped"; }
@@ -108,6 +112,24 @@ export class ZChip {
108
112
  "attribute": "disabled",
109
113
  "reflect": true,
110
114
  "defaultValue": "false"
115
+ },
116
+ "ariaLabel": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "string",
121
+ "resolved": "string",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": "z-chip aria-label string"
129
+ },
130
+ "attribute": "aria-label",
131
+ "reflect": false,
132
+ "defaultValue": "\"\""
111
133
  }
112
134
  };
113
135
  }
@@ -1,4 +1,4 @@
1
- :host > button {
1
+ :host > .z-chip-container {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  padding: 0 calc(var(--space-unit) * 1.5);
@@ -12,46 +12,53 @@
12
12
  font-weight: var(--font-sb);
13
13
  }
14
14
 
15
- :host > button:not(:disabled) > z-icon:last-child:hover {
15
+ :host > .z-chip-container:not([aria-disabled]) button > z-icon:last-child:hover {
16
16
  color: var(--color-hover-primary);
17
17
  fill: var(--color-hover-primary);
18
18
  }
19
19
 
20
- :host > button:hover:not(:disabled) > z-icon:first-child {
20
+ :host > .z-chip-container:hover:not([aria-disabled]) > z-icon:first-child {
21
21
  fill: var(--color-icon02);
22
22
  }
23
23
 
24
- :host > button > z-icon.icon-sx {
24
+ :host > .z-chip-container > button {
25
+ padding: 0;
26
+ border: none;
27
+ margin-left: var(--space-unit);
28
+ background-color: transparent;
29
+ cursor: pointer;
30
+ }
31
+
32
+ :host > .z-chip-container > z-icon.icon-sx {
25
33
  margin-right: calc(var(--space-unit) / 2);
26
34
  }
27
35
 
28
- :host > button > z-icon:last-child {
29
- margin-left: var(--space-unit);
30
- cursor: pointer;
36
+ :host > .z-chip-container > button > z-icon:last-child {
31
37
  fill: var(--color-primary01);
32
38
  }
33
39
 
34
- :host > button:disabled,
35
- :host > button:disabled > z-icon {
40
+ :host > .z-chip-container[aria-disabled],
41
+ :host > .z-chip-container[aria-disabled] > z-icon,
42
+ :host > .z-chip-container[aria-disabled] > button > z-icon {
36
43
  color: var(--color-disabled03);
37
44
  fill: var(--color-disabled03);
38
45
  }
39
46
 
40
- :host > button:disabled > z-icon {
47
+ :host > .z-chip-container[aria-disabled] > button > z-icon {
41
48
  cursor: auto;
42
49
  }
43
50
 
44
- :host > button:disabled {
51
+ :host > .z-chip-container[aria-disabled] {
45
52
  border: var(--border-size-small) solid var(--color-disabled01);
46
53
  }
47
54
 
48
- :host > button:focus:focus-visible,
49
- :host > div:focus:focus-visible {
55
+ :host > .z-chip-container > button:focus:focus-visible {
56
+ border-radius: 100%;
50
57
  box-shadow: var(--shadow-focus-primary);
51
58
  outline: none;
52
59
  }
53
60
 
54
- :host > button:hover:not(:disabled):active:hover > z-icon:last-child {
61
+ :host > button:hover:not(:disabled):active:hover > button > z-icon:last-child {
55
62
  color: var(--color-primary01);
56
63
  fill: var(--color-primary01);
57
64
  }
@@ -76,21 +83,21 @@
76
83
  }
77
84
 
78
85
  /* :host type */
79
- :host > button.default,
86
+ :host > .z-chip-container.default,
80
87
  :host > div.default {
81
88
  min-height: 44px;
82
89
  border-radius: 22px;
83
90
  line-height: 44px;
84
91
  }
85
92
 
86
- :host > button.medium,
93
+ :host > .z-chip-container.medium,
87
94
  :host > div.medium {
88
95
  min-height: 40px;
89
96
  border-radius: 22px;
90
97
  line-height: 40px;
91
98
  }
92
99
 
93
- :host > button.small,
100
+ :host > .z-chip-container.small,
94
101
  :host > div.small {
95
102
  min-height: 36px;
96
103
  border-radius: 22px;
@@ -99,7 +106,7 @@
99
106
 
100
107
  /* Desktop breakpoint */
101
108
  @media only screen and (min-width: 1152px) {
102
- :host > button {
109
+ :host > .z-chip-container {
103
110
  font-size: 12px;
104
111
  }
105
112
 
@@ -108,21 +115,21 @@
108
115
  }
109
116
 
110
117
  /* :host type */
111
- :host > button.default,
118
+ :host > .z-chip-container.default,
112
119
  :host > div.default {
113
120
  min-height: 32px;
114
121
  border-radius: 16px;
115
122
  line-height: 32px;
116
123
  }
117
124
 
118
- :host > button.medium,
125
+ :host > .z-chip-container.medium,
119
126
  :host > div.medium {
120
127
  min-height: 28px;
121
128
  border-radius: 16px;
122
129
  line-height: 28px;
123
130
  }
124
131
 
125
- :host > button.small,
132
+ :host > .z-chip-container.small,
126
133
  :host > div.small {
127
134
  min-height: 24px;
128
135
  border-radius: 16px;
@@ -5,6 +5,8 @@ export class ZToggleButton {
5
5
  this.isdisabled = false;
6
6
  /** open by default (optional) */
7
7
  this.opened = false;
8
+ /** aria-label for the button */
9
+ this.ariaLabel = "";
8
10
  }
9
11
  emitToggleClick() {
10
12
  if (this.isdisabled) {
@@ -17,7 +19,7 @@ export class ZToggleButton {
17
19
  return (h("button", { tabindex: this.avoidclick ? "-1" : "0", class: {
18
20
  "isopen": this.opened,
19
21
  "avoid-clicks": this.avoidclick,
20
- }, disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
22
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
21
23
  }
22
24
  static get is() { return "z-toggle-button"; }
23
25
  static get encapsulation() { return "shadow"; }
@@ -102,6 +104,24 @@ export class ZToggleButton {
102
104
  "attribute": "opened",
103
105
  "reflect": false,
104
106
  "defaultValue": "false"
107
+ },
108
+ "ariaLabel": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "string",
113
+ "resolved": "string",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "aria-label for the button"
121
+ },
122
+ "attribute": "aria-label",
123
+ "reflect": false,
124
+ "defaultValue": "\"\""
105
125
  }
106
126
  };
107
127
  }
@@ -15,7 +15,6 @@ button {
15
15
  font-weight: var(--font-sb);
16
16
  outline: none;
17
17
  text-transform: uppercase;
18
- transition: all 200ms linear;
19
18
  }
20
19
 
21
20
  button::-moz-focus-inner {
@@ -28,8 +27,7 @@ button:hover {
28
27
  }
29
28
 
30
29
  button:focus {
31
- border-color: var(--myz-blue);
32
- box-shadow: 0 0 2px 2px var(--accent-dark);
30
+ box-shadow: var(--shadow-focus-primary);
33
31
  color: var(--myz-blue);
34
32
  fill: var(--myz-blue);
35
33
  }
@@ -78,7 +78,7 @@
78
78
  }
79
79
 
80
80
  :host(:not([disabled]):focus-within) .indicator {
81
- box-shadow: 0 0 2px 2px var(--accent-dark);
81
+ box-shadow: var(--shadow-focus-primary);
82
82
  }
83
83
 
84
84
  :host([disabled]) .indicator {
@@ -295,7 +295,7 @@ export class ZToastNotification {
295
295
  "optional": true,
296
296
  "docs": {
297
297
  "tags": [],
298
- "text": "toast notification type: dark, light, accent, error, success, warning"
298
+ "text": "toast notification type: dark, light, accent, error, success, warning"
299
299
  },
300
300
  "attribute": "type",
301
301
  "reflect": false
@@ -1,5 +1,14 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { CardVariant } from "../../beans";
3
+ /**
4
+ * ZCard component.
5
+ * @cssprop --aspect-ratio - Cover aspect ratio. Default: `1.62`
6
+ * @cssprop --z-card--border-color - Default: `var(--gray200)`
7
+ * @cssprop --z-card--color-cover-background - Cover color. Default: `var(--color-surface01)`
8
+ * @cssprop --z-card--text-background - Background color for the `text` variant. Default: `var(--color-surface01)`
9
+ * @cssprop --z-card--text-border-radius - Default: `none`
10
+ * @cssprop --z-card--text-border - Configure CSS `border`. Default: `none`
11
+ */
3
12
  export class ZCard {
4
13
  constructor() {
5
14
  /** Enable click interactions on the card. Default: false */
@@ -183,7 +183,7 @@ Unfortunately the `aspect-ratio` property is still experimental */
183
183
 
184
184
  :host([variant="shadow"][clickable]:focus:focus-visible),
185
185
  :host([clickable][showshadow]:focus:focus-visible) {
186
- box-shadow: var(--shadow-4);
186
+ box-shadow: var(--shadow-focus-primary);
187
187
  }
188
188
 
189
189
  :host([variant="shadow"][clickable]:active),
@@ -2,6 +2,7 @@ import { h, Host } from "@stencil/core";
2
2
  import { OffCanvasVariant, TransitionDirection } from "../../beans";
3
3
  /**
4
4
  * @slot canvasContent - set the content of the canvas
5
+ * @method setSkipAanimationOnLoad - set skipAnimation
5
6
  */
6
7
  export class ZOffcanvas {
7
8
  constructor() {
@@ -13,12 +14,12 @@ export class ZOffcanvas {
13
14
  this.variant = OffCanvasVariant.PUSHCONTENT;
14
15
  /** open component. Default: false */
15
16
  this.open = false;
16
- /** allows you to skip the entry animation on page load, to be used with the open prop at true */
17
- this.skipanimationonload = false;
18
17
  /** open content transitioning in a specified direction left | right. Default: left */
19
18
  this.transitiondirection = TransitionDirection.LEFT;
19
+ /** manages the skip for the entry animation*/
20
+ this.skipanimationonload = false;
20
21
  }
21
- /** set skipAnimation */
22
+ /** this method allows you to skip the page loading animation, to be used with the prop set to true */
22
23
  async setSkipAanimationOnLoad(value) {
23
24
  this.skipanimationonload = value;
24
25
  }
@@ -161,7 +162,7 @@ export class ZOffcanvas {
161
162
  "return": "Promise<void>"
162
163
  },
163
164
  "docs": {
164
- "text": "set skipAnimation",
165
+ "text": "this method allows you to skip the page loading animation, to be used with the prop set to true",
165
166
  "tags": []
166
167
  }
167
168
  }
@@ -15,6 +15,14 @@ export class ZMyzCardFooter {
15
15
  }
16
16
  handleToggle() {
17
17
  this.isOpen = !this.isOpen;
18
+ if (this.isOpen) {
19
+ const firstElem = this.getFirstListItem();
20
+ if (firstElem) {
21
+ requestAnimationFrame(() => {
22
+ firstElem.focus();
23
+ });
24
+ }
25
+ }
18
26
  }
19
27
  getTitleAuthors() {
20
28
  return this.allowTooltipAuthors ? this.autori : "";
@@ -44,8 +52,11 @@ export class ZMyzCardFooter {
44
52
  this.elementsEllipsis();
45
53
  }
46
54
  }
55
+ getFirstListItem() {
56
+ return this.host.querySelector("[slot=list] > li a");
57
+ }
47
58
  render() {
48
- return (h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { class: "toggle" }, h("slot", { name: "toggle" })), this.titolo && h("p", { class: { "custom-content": this.customContent } }, this.titolo), h("div", { class: { "content": true, "custom-content": this.customContent } }, h("div", null, h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { title: this.getTitleAuthors() }, h("span", { class: "bold" }, this.autori))), h("p", { class: "year-isbn" }, h("span", { class: "isbn" }, h("span", null, h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { name: "list" })))), this.customContent && h("slot", { name: "content" })));
59
+ return (h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { class: "toggle" }, h("slot", { name: "toggle" })), this.titolo && h("p", { class: { "custom-content": this.customContent } }, this.titolo), h("div", { class: { "content": true, "custom-content": this.customContent } }, h("div", null, h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { title: this.getTitleAuthors() }, h("span", { "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { class: "year-isbn" }, h("span", { class: "isbn" }, h("span", null, h("span", { "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { name: "list" })))), this.customContent && h("slot", { name: "content" })));
49
60
  }
50
61
  static get is() { return "z-myz-card-footer"; }
51
62
  static get encapsulation() { return "shadow"; }
@@ -195,6 +206,7 @@ export class ZMyzCardFooter {
195
206
  "allowTooltipAuthors": {}
196
207
  };
197
208
  }
209
+ static get elementRef() { return "host"; }
198
210
  static get listeners() {
199
211
  return [{
200
212
  "name": "toggleClick",
@@ -27,7 +27,7 @@ export class ZMyzCardHeader {
27
27
  };
28
28
  }
29
29
  render() {
30
- return (h("header", { class: this.retrieveClass() }, h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { name: "icon" })));
30
+ return (h("header", { class: this.retrieveClass() }, h("slot", { name: "aria-heading" }), h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { name: "icon" })));
31
31
  }
32
32
  static get is() { return "z-myz-card-header"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -11,6 +11,18 @@ header {
11
11
  border-radius: var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius);
12
12
  }
13
13
 
14
+ slot[name="aria-heading"]::slotted(*) {
15
+ position: absolute;
16
+ overflow: hidden !important;
17
+ width: 1px !important;
18
+ height: 1px !important;
19
+ padding: 0 !important;
20
+ border: 0 none !important;
21
+ margin: -1px !important;
22
+ clip: rect(0, 0, 0, 0) !important;
23
+ white-space: nowrap !important;
24
+ }
25
+
14
26
  header.real,
15
27
  header.trial,
16
28
  header.temp {
@@ -41,7 +41,7 @@ button:hover > span {
41
41
  button:focus > span {
42
42
  background: var(--color-surface01);
43
43
  border-radius: var(--border-radius);
44
- box-shadow: 0 0 2px 2px var(--accent-dark);
44
+ box-shadow: var(--shadow-focus-primary);
45
45
  }
46
46
 
47
47
  button:active > span {
@@ -18,8 +18,8 @@ function getRootCssProperties() {
18
18
  * @example ```
19
19
  * argTypes={{
20
20
  * "--z-component--background-color": {
21
+ * control: { type: "select" },
21
22
  * options: getColorTokens(),
22
- * control: { type: "select" }
23
23
  * }
24
24
  * }}```
25
25
  *
@@ -1892,18 +1892,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1892
1892
  }
1893
1893
  switch(bundleId) {
1894
1894
 
1895
- case 'z-button_3':
1895
+ case 'z-app-header_2':
1896
1896
  return import(
1897
1897
  /* webpackMode: "lazy" */
1898
- './z-button_3.entry.js').then(processMod, consoleError);
1898
+ './z-app-header_2.entry.js').then(processMod, consoleError);
1899
1899
  case 'z-anchor-navigation':
1900
1900
  return import(
1901
1901
  /* webpackMode: "lazy" */
1902
1902
  './z-anchor-navigation.entry.js').then(processMod, consoleError);
1903
- case 'z-app-header':
1904
- return import(
1905
- /* webpackMode: "lazy" */
1906
- './z-app-header.entry.js').then(processMod, consoleError);
1907
1903
  case 'z-aria-alert':
1908
1904
  return import(
1909
1905
  /* webpackMode: "lazy" */
@@ -2028,6 +2024,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2028
2024
  return import(
2029
2025
  /* webpackMode: "lazy" */
2030
2026
  './z-notification.entry.js').then(processMod, consoleError);
2027
+ case 'z-offcanvas':
2028
+ return import(
2029
+ /* webpackMode: "lazy" */
2030
+ './z-offcanvas.entry.js').then(processMod, consoleError);
2031
2031
  case 'z-otp':
2032
2032
  return import(
2033
2033
  /* webpackMode: "lazy" */
@@ -2200,6 +2200,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2200
2200
  return import(
2201
2201
  /* webpackMode: "lazy" */
2202
2202
  './z-divider.entry.js').then(processMod, consoleError);
2203
+ case 'z-button':
2204
+ return import(
2205
+ /* webpackMode: "lazy" */
2206
+ './z-button.entry.js').then(processMod, consoleError);
2203
2207
  }
2204
2208
  }
2205
2209
  return import(