@zanichelli/albe-web-components 6.0.1 → 6.0.3
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 +27 -0
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +2 -0
- package/dist/cjs/z-button.cjs.entry.js +2 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -0
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -0
- package/dist/collection/components/buttons/z-button/index.js +5 -2
- package/dist/collection/components/date-picker/z-date-picker/index.js +5 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +3 -3
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/inputs/z-input/index.js +11 -3
- package/dist/collection/components/inputs/z-select/index.js +5 -2
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -2
- package/dist/collection/components/navigation/z-app-header/index.js +1 -1
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +5 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +5 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +5 -2
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +2 -0
- package/dist/esm/z-button.entry.js +2 -0
- package/dist/esm/z-date-picker.entry.js +2 -0
- package/dist/esm/z-file-upload.entry.js +3 -3
- package/dist/esm/z-input-deprecated.entry.js +2 -0
- package/dist/esm/z-input-label_2.entry.js +2 -0
- package/dist/esm/z-myz-card-icon.entry.js +2 -0
- package/dist/esm/z-pagination-page.entry.js +2 -0
- package/dist/types/components/buttons/z-button/index.d.ts +1 -1
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +1 -2
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +1 -1
- package/dist/types/components/file-upload/z-file/index.d.ts +1 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input/index.d.ts +1 -1
- package/dist/types/components/inputs/z-input-message/index.d.ts +1 -2
- package/dist/types/components/inputs/z-select/index.d.ts +1 -1
- package/dist/types/components/list/z-list/index.d.ts +1 -2
- package/dist/types/components/list/z-list-element/index.d.ts +1 -2
- package/dist/types/components/list/z-list-group/index.d.ts +1 -2
- package/dist/types/components/logo/z-logo/index.d.ts +1 -2
- package/dist/types/components/modal/z-modal/index.d.ts +1 -2
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +1 -2
- package/dist/types/components/navigation/z-app-header/index.d.ts +1 -2
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +1 -2
- package/dist/types/components/navigation/z-menu/index.d.ts +1 -2
- package/dist/types/components/navigation/z-menu-section/index.d.ts +1 -2
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +1 -2
- package/dist/types/components/notification/z-notification/index.d.ts +1 -2
- package/dist/types/components/notification/z-toast-notification/index.d.ts +1 -2
- package/dist/types/components/typography/z-typography/index.d.ts +1 -2
- package/dist/types/components/z-aria-alert/index.d.ts +1 -2
- package/dist/types/components/z-avatar/index.d.ts +1 -2
- package/dist/types/components/z-card/index.d.ts +1 -2
- package/dist/types/components/z-carousel/index.d.ts +1 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +1 -2
- package/dist/types/components/z-cover-hero/index.d.ts +1 -2
- package/dist/types/components/z-divider/index.d.ts +1 -2
- package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
- package/dist/types/components/z-info-reveal/index.d.ts +1 -2
- package/dist/types/components/z-offcanvas/index.d.ts +1 -2
- package/dist/types/components/z-pagination/index.d.ts +1 -2
- package/dist/types/components/z-section-title/index.d.ts +1 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +1 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +1 -2
- package/dist/types/components/z-tag/index.d.ts +1 -2
- package/dist/types/components.d.ts +8 -8
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +1 -2
- package/dist/types/deprecated/z-status-tag/index.d.ts +1 -2
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-2d0cb337.entry.js +1 -0
- package/dist/web-components-library/p-4d093e07.entry.js +1 -0
- package/dist/web-components-library/p-5f3baf14.entry.js +1 -0
- package/dist/web-components-library/p-bb95b82f.entry.js +1 -0
- package/dist/web-components-library/p-c2d1785b.entry.js +1 -0
- package/dist/web-components-library/p-d3733579.entry.js +1 -0
- package/dist/web-components-library/p-edf0195b.entry.js +1 -0
- package/dist/web-components-library/p-f7c1eb3f.entry.js +16 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-e9b0bd13.js → p-0134d685.js} +1 -1
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-2d0cb337.entry.js +1 -0
- package/www/build/p-4d093e07.entry.js +1 -0
- package/www/build/p-5f3baf14.entry.js +1 -0
- package/www/build/p-bb95b82f.entry.js +1 -0
- package/www/build/p-c2d1785b.entry.js +1 -0
- package/www/build/p-d3733579.entry.js +1 -0
- package/www/build/p-edf0195b.entry.js +1 -0
- package/www/build/p-f7c1eb3f.entry.js +16 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-40729225.entry.js +0 -1
- package/dist/web-components-library/p-4df05ebe.entry.js +0 -1
- package/dist/web-components-library/p-75b7e931.entry.js +0 -1
- package/dist/web-components-library/p-93da92c0.entry.js +0 -1
- package/dist/web-components-library/p-99f0b6cc.entry.js +0 -1
- package/dist/web-components-library/p-9e2c836b.entry.js +0 -1
- package/dist/web-components-library/p-b780dfc8.entry.js +0 -1
- package/dist/web-components-library/p-e71132fc.entry.js +0 -16
- package/dist/web-components-library/p-ffe15448.entry.js +0 -1
- package/www/build/p-40729225.entry.js +0 -1
- package/www/build/p-4df05ebe.entry.js +0 -1
- package/www/build/p-75b7e931.entry.js +0 -1
- package/www/build/p-93da92c0.entry.js +0 -1
- package/www/build/p-99f0b6cc.entry.js +0 -1
- package/www/build/p-9e2c836b.entry.js +0 -1
- package/www/build/p-b780dfc8.entry.js +0 -1
- package/www/build/p-e71132fc.entry.js +0 -16
- package/www/build/p-ffe15448.entry.js +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
import { ListSize } from "../../../beans";
|
|
3
2
|
export declare class ZList {
|
|
4
3
|
host: HTMLZListElement;
|
|
@@ -8,5 +7,5 @@ export declare class ZList {
|
|
|
8
7
|
size?: ListSize;
|
|
9
8
|
private setChildrenSizeType;
|
|
10
9
|
componentDidLoad(): void;
|
|
11
|
-
render():
|
|
10
|
+
render(): HTMLZListElement;
|
|
12
11
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
import { DividerSize, ExpandableListButtonAlign, ExpandableListStyle, ListDividerType, ListSize } from "../../../beans";
|
|
4
3
|
export declare class ZListElement {
|
|
5
4
|
host: HTMLZListElementElement;
|
|
@@ -79,5 +78,5 @@ export declare class ZListElement {
|
|
|
79
78
|
* @returns expanded content
|
|
80
79
|
*/
|
|
81
80
|
private renderExpandedContent;
|
|
82
|
-
render():
|
|
81
|
+
render(): HTMLZListElementElement;
|
|
83
82
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
import { DividerSize, ListSize, ListDividerType } from "../../../beans";
|
|
3
2
|
export declare class ZListGroup {
|
|
4
3
|
host: HTMLZListGroupElement;
|
|
@@ -21,5 +20,5 @@ export declare class ZListGroup {
|
|
|
21
20
|
private hasHeader;
|
|
22
21
|
componentDidLoad(): void;
|
|
23
22
|
componentWillLoad(): void;
|
|
24
|
-
render():
|
|
23
|
+
render(): HTMLZListGroupElement;
|
|
25
24
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
export declare class ZLogo {
|
|
3
2
|
/** image width */
|
|
4
3
|
width?: number;
|
|
@@ -12,5 +11,5 @@ export declare class ZLogo {
|
|
|
12
11
|
targetBlank?: boolean;
|
|
13
12
|
/** if true, the mobile logo is displayed, otherwise the desktop one */
|
|
14
13
|
mobileLogo?: boolean;
|
|
15
|
-
render():
|
|
14
|
+
render(): HTMLZLogoElement;
|
|
16
15
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* @slot modalContent - set the content of the modal
|
|
5
4
|
* @slot modalCloseButton - accept custom close button
|
|
@@ -22,5 +21,5 @@ export declare class ZModal {
|
|
|
22
21
|
/** emitted on background click, returns modalid */
|
|
23
22
|
modalBackgroundClick: EventEmitter;
|
|
24
23
|
private emitBackgroundClick;
|
|
25
|
-
render():
|
|
24
|
+
render(): HTMLZModalElement;
|
|
26
25
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../../stencil-public-runtime";
|
|
2
1
|
import { NavigationTabsSize, NavigationTabsOrientation } from "../../../../beans";
|
|
3
2
|
/**
|
|
4
3
|
* Navigation tabs component.
|
|
@@ -67,5 +66,5 @@ export declare class ZNavigationTabs {
|
|
|
67
66
|
*/
|
|
68
67
|
private navigateForward;
|
|
69
68
|
componentDidRender(): void;
|
|
70
|
-
render():
|
|
69
|
+
render(): HTMLZNavigationTabsElement;
|
|
71
70
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* @slot title
|
|
5
4
|
* @slot subtitle
|
|
@@ -64,7 +63,7 @@ export declare class ZAppHeader {
|
|
|
64
63
|
private disableStuckMode;
|
|
65
64
|
onStucked(): void;
|
|
66
65
|
setMenuFloatingMode(): void;
|
|
67
|
-
render():
|
|
66
|
+
render(): HTMLZAppHeaderElement;
|
|
68
67
|
private openDrawer;
|
|
69
68
|
private closeDrawer;
|
|
70
69
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
import { MenuItem, ThemeVariant } from "../../../beans";
|
|
3
2
|
export declare class ZAppTopbar {
|
|
4
3
|
/** theme variant, default 'dark' */
|
|
@@ -17,5 +16,5 @@ export declare class ZAppTopbar {
|
|
|
17
16
|
componentWillLoad(): void;
|
|
18
17
|
componentWillRender(): void;
|
|
19
18
|
private renderTopbarLinks;
|
|
20
|
-
render():
|
|
19
|
+
render(): HTMLZAppTopbarElement;
|
|
21
20
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* @slot - Menu label
|
|
5
4
|
* @slot header - Header to display as the first entry of the open menu.
|
|
@@ -49,5 +48,5 @@ export declare class ZMenu {
|
|
|
49
48
|
*/
|
|
50
49
|
private onItemsChange;
|
|
51
50
|
private renderMenuLabel;
|
|
52
|
-
render():
|
|
51
|
+
render(): HTMLZMenuElement;
|
|
53
52
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* @slot - Menu section label
|
|
5
4
|
* @slot item - Single entry of the section. Can be slotted multiple times to insert items.
|
|
@@ -22,5 +21,5 @@ export declare class ZMenuSection {
|
|
|
22
21
|
*/
|
|
23
22
|
private checkContent;
|
|
24
23
|
componentWillLoad(): void;
|
|
25
|
-
render():
|
|
24
|
+
render(): HTMLZMenuSectionElement;
|
|
26
25
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
import { MenuItem } from "../../../beans";
|
|
4
3
|
export declare class ZUserDropdown {
|
|
5
4
|
/** logged status flag */
|
|
@@ -36,5 +35,5 @@ export declare class ZUserDropdown {
|
|
|
36
35
|
private renderLoggedButton;
|
|
37
36
|
private getZLinkTextcolor;
|
|
38
37
|
private renderDropdownMenu;
|
|
39
|
-
render():
|
|
38
|
+
render(): HTMLZUserDropdownElement;
|
|
40
39
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
import { NotificationType } from "../../../beans";
|
|
4
3
|
/**
|
|
5
4
|
* Notification bar component.
|
|
@@ -29,5 +28,5 @@ export declare class ZNotification {
|
|
|
29
28
|
notificationClose: EventEmitter;
|
|
30
29
|
private handleCloseButtonClick;
|
|
31
30
|
constructor();
|
|
32
|
-
render():
|
|
31
|
+
render(): HTMLZNotificationElement;
|
|
33
32
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
2
|
import { ToastNotificationTransition, ToastNotification } from "../../../beans";
|
|
3
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
4
3
|
export declare class ZToastNotification {
|
|
5
4
|
hostElement: HTMLZToastNotificationElement;
|
|
6
5
|
/** toast notification's title */
|
|
@@ -53,5 +52,5 @@ export declare class ZToastNotification {
|
|
|
53
52
|
private renderCloseIcon;
|
|
54
53
|
private renderContainer;
|
|
55
54
|
private renderMobileContainer;
|
|
56
|
-
render():
|
|
55
|
+
render(): HTMLZToastNotificationElement;
|
|
57
56
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
export declare type ZTypographyLevels = "h1" | "h2" | "h3" | "h4" | "b1" | "b2" | "b3" | "b4" | "b5";
|
|
3
2
|
export declare class ZTypography {
|
|
4
3
|
hostElement: HTMLZTypographyElement;
|
|
@@ -8,5 +7,5 @@ export declare class ZTypography {
|
|
|
8
7
|
variant: "regular" | "semibold" | "light";
|
|
9
8
|
/** HTML tag to use to wrap slotted content */
|
|
10
9
|
component: string;
|
|
11
|
-
render():
|
|
10
|
+
render(): HTMLZTypographyElement;
|
|
12
11
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
import { AvatarSize } from "../../beans";
|
|
3
2
|
export declare class ZAvatar {
|
|
4
3
|
/** [optional] Avatar size */
|
|
@@ -13,5 +12,5 @@ export declare class ZAvatar {
|
|
|
13
12
|
image?: string;
|
|
14
13
|
constructor();
|
|
15
14
|
private getTextSize;
|
|
16
|
-
render():
|
|
15
|
+
render(): HTMLZAvatarElement;
|
|
17
16
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { CardVariant } from "../../beans";
|
|
4
3
|
export declare class ZCard {
|
|
5
4
|
/**
|
|
@@ -32,5 +31,5 @@ export declare class ZCard {
|
|
|
32
31
|
* Template for the content div.
|
|
33
32
|
*/
|
|
34
33
|
private renderContentDiv;
|
|
35
|
-
render():
|
|
34
|
+
render(): HTMLZCardElement;
|
|
36
35
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { CarouselArrowsPosition, CarouselProgressMode } from "../../beans";
|
|
4
3
|
/**
|
|
5
4
|
* ZCarousel component.
|
|
@@ -52,5 +51,5 @@ export declare class ZCarousel {
|
|
|
52
51
|
* @returns {void}
|
|
53
52
|
*/
|
|
54
53
|
private goTo;
|
|
55
|
-
render():
|
|
54
|
+
render(): HTMLZCarouselElement;
|
|
56
55
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { PopoverPositions } from "../../beans";
|
|
4
3
|
export declare class ZContextualMenu {
|
|
5
4
|
/**
|
|
@@ -23,5 +22,5 @@ export declare class ZContextualMenu {
|
|
|
23
22
|
componentDidLoad(): void;
|
|
24
23
|
private showIcon;
|
|
25
24
|
private togglePopover;
|
|
26
|
-
render():
|
|
25
|
+
render(): HTMLZContextualMenuElement;
|
|
27
26
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
import { CoverHeroVariant, CoverHeroContentPosition } from "../../beans";
|
|
3
2
|
/**
|
|
4
3
|
* Cover hero component.
|
|
@@ -26,5 +25,5 @@ export declare class ZCoverHero {
|
|
|
26
25
|
* Template for the content.
|
|
27
26
|
*/
|
|
28
27
|
private renderContent;
|
|
29
|
-
render():
|
|
28
|
+
render(): HTMLZCoverHeroElement;
|
|
30
29
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
import { DividerSize, DividerOrientation } from "../../beans";
|
|
3
2
|
export declare class ZDivider {
|
|
4
3
|
/** [optional] Divider size */
|
|
@@ -7,5 +6,5 @@ export declare class ZDivider {
|
|
|
7
6
|
color?: string;
|
|
8
7
|
/** [optional] Divider orintation */
|
|
9
8
|
orientation?: DividerOrientation;
|
|
10
|
-
render():
|
|
9
|
+
render(): HTMLZDividerElement;
|
|
11
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
import { InfoRevealPosition } from "../../beans";
|
|
3
2
|
export declare class ZInfoReveal {
|
|
4
3
|
el: HTMLZInfoRevealElement;
|
|
@@ -26,5 +25,5 @@ export declare class ZInfoReveal {
|
|
|
26
25
|
* It closes the info box after the last info has been navigated.
|
|
27
26
|
*/
|
|
28
27
|
private next;
|
|
29
|
-
render():
|
|
28
|
+
render(): HTMLZInfoRevealElement;
|
|
30
29
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { OffCanvasVariant, TransitionDirection } from "../../beans";
|
|
4
3
|
/**
|
|
5
4
|
* @slot canvasContent - set the content of the canvas
|
|
@@ -22,5 +21,5 @@ export declare class ZOffcanvas {
|
|
|
22
21
|
onOpenChanged(): void;
|
|
23
22
|
private handleOpenStatus;
|
|
24
23
|
private handleAnimationEnd;
|
|
25
|
-
render():
|
|
24
|
+
render(): HTMLZOffcanvasElement;
|
|
26
25
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Pagination bar component.
|
|
5
4
|
*/
|
|
@@ -106,5 +105,5 @@ export declare class ZPagination {
|
|
|
106
105
|
private renderMobile;
|
|
107
106
|
componentDidLoad(): void;
|
|
108
107
|
componentDidRender(): void;
|
|
109
|
-
render():
|
|
108
|
+
render(): HTMLZPaginationElement;
|
|
110
109
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
import { ZSectionTitleDividerPosition } from "../../beans";
|
|
3
2
|
/**
|
|
4
3
|
* Section title component.
|
|
@@ -22,5 +21,5 @@ export declare class ZSectionTitle {
|
|
|
22
21
|
host: HTMLZSectionTitleElement;
|
|
23
22
|
private hasSecondaryTitle;
|
|
24
23
|
componentWillRender(): void;
|
|
25
|
-
render():
|
|
24
|
+
render(): HTMLZSectionTitleElement;
|
|
26
25
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ThemeVariant, SkipToContentLink } from "../../beans";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Component short description.
|
|
5
4
|
*/
|
|
@@ -18,5 +17,5 @@ export declare class ZSkipToContent {
|
|
|
18
17
|
private isInSkipToContent;
|
|
19
18
|
private showFirstChild;
|
|
20
19
|
private handleLinkClick;
|
|
21
|
-
render():
|
|
20
|
+
render(): HTMLZSkipToContentElement;
|
|
22
21
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* @slot - table elements
|
|
5
4
|
* @slot sticky-footer - set the content of the sticky footer
|
|
@@ -45,5 +44,5 @@ export declare class ZTable {
|
|
|
45
44
|
componentWillRender(): void;
|
|
46
45
|
private renderError;
|
|
47
46
|
private renderEmpty;
|
|
48
|
-
render():
|
|
47
|
+
render(): HTMLZTableElement;
|
|
49
48
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Size } from "../../../beans";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
export declare class ZTableCell {
|
|
4
3
|
host: HTMLZTableCellElement;
|
|
5
4
|
/** [Optional] Show contextual menu button */
|
|
@@ -9,5 +8,5 @@ export declare class ZTableCell {
|
|
|
9
8
|
isMenuOpened: boolean;
|
|
10
9
|
private handleMenu;
|
|
11
10
|
componentWillRender(): void;
|
|
12
|
-
render():
|
|
11
|
+
render(): HTMLZTableCellElement;
|
|
13
12
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
2
1
|
export declare class ZTableEmptyBox {
|
|
3
2
|
hostElement: HTMLZTableEmptyBoxElement;
|
|
4
3
|
/** Sets main title message*/
|
|
@@ -9,5 +8,5 @@ export declare class ZTableEmptyBox {
|
|
|
9
8
|
private hasCta1Slot;
|
|
10
9
|
private hasCta2Slot;
|
|
11
10
|
componentWillLoad(): void;
|
|
12
|
-
render():
|
|
11
|
+
render(): HTMLZTableEmptyBoxElement;
|
|
13
12
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
import { Size, SortDirection } from "../../../beans";
|
|
4
3
|
export declare class ZTableHeader {
|
|
5
4
|
host: HTMLZTableHeaderElement;
|
|
@@ -26,5 +25,5 @@ export declare class ZTableHeader {
|
|
|
26
25
|
handleOutsideClick(e: MouseEvent): void;
|
|
27
26
|
handleClickHeaders(e: MouseEvent): void;
|
|
28
27
|
componentWillRender(): void;
|
|
29
|
-
render():
|
|
28
|
+
render(): HTMLZTableHeaderElement;
|
|
30
29
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../../stencil-public-runtime";
|
|
3
2
|
import { ZTableRowExpandedType } from "../../../beans";
|
|
4
3
|
export declare class ZTableRow {
|
|
5
4
|
/** Table row expanded type */
|
|
@@ -10,5 +9,5 @@ export declare class ZTableRow {
|
|
|
10
9
|
private emitOnExpand;
|
|
11
10
|
private handleExpand;
|
|
12
11
|
private renderExpandButton;
|
|
13
|
-
render():
|
|
12
|
+
render(): HTMLZTableRowElement;
|
|
14
13
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
2
1
|
/**
|
|
3
2
|
* Ztag component.
|
|
4
3
|
* @slot - The text of the z-tag.
|
|
@@ -10,5 +9,5 @@ export declare class ZTag {
|
|
|
10
9
|
icon?: string;
|
|
11
10
|
/** [optional] Hide the text and show it on hover*/
|
|
12
11
|
expandable?: boolean;
|
|
13
|
-
render():
|
|
12
|
+
render(): HTMLZTagElement;
|
|
14
13
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertType, LicenseType, MenuItem as MenuItem1, PopoverPositions as PopoverPositions1 } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InfoRevealPosition, InputStatus, InputType, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariant, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositions, PopoverShadow, SelectItem, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ToastNotification, ToastNotificationPosition, ToastNotificationTransition, TransitionDirection, ZAriaAlertMode, ZChipType, ZDatePickerMode, ZFileUploadType, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
9
|
+
import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InfoRevealPosition, InputStatus, InputType, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariant, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositions, PopoverShadow, SelectItem, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ToastNotification, ToastNotificationPosition, ToastNotificationTransition, TransitionDirection, ZAriaAlertMode, ZChipType, ZDatePickerMode, ZFileUploadType, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
10
10
|
import { ListItem } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -112,7 +112,7 @@ export namespace Components {
|
|
|
112
112
|
/**
|
|
113
113
|
* defines a string value that labels an interactive element, used for accessibility.
|
|
114
114
|
*/
|
|
115
|
-
"ariaLabel"
|
|
115
|
+
"ariaLabel": string;
|
|
116
116
|
/**
|
|
117
117
|
* HTML button disabled attribute.
|
|
118
118
|
*/
|
|
@@ -423,7 +423,7 @@ export namespace Components {
|
|
|
423
423
|
/**
|
|
424
424
|
* z-input aria label
|
|
425
425
|
*/
|
|
426
|
-
"ariaLabel"
|
|
426
|
+
"ariaLabel": string;
|
|
427
427
|
/**
|
|
428
428
|
* unique id
|
|
429
429
|
*/
|
|
@@ -613,7 +613,7 @@ export namespace Components {
|
|
|
613
613
|
/**
|
|
614
614
|
* the input aria-label
|
|
615
615
|
*/
|
|
616
|
-
"ariaLabel"
|
|
616
|
+
"ariaLabel": string;
|
|
617
617
|
/**
|
|
618
618
|
* the input has autocomplete option (optional): available for text, password, number, email
|
|
619
619
|
*/
|
|
@@ -707,7 +707,7 @@ export namespace Components {
|
|
|
707
707
|
/**
|
|
708
708
|
* the input aria-label
|
|
709
709
|
*/
|
|
710
|
-
"ariaLabel"
|
|
710
|
+
"ariaLabel": string;
|
|
711
711
|
/**
|
|
712
712
|
* the input has autocomplete option (optional): available for select, input
|
|
713
713
|
*/
|
|
@@ -1201,7 +1201,7 @@ export namespace Components {
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* description of the icon
|
|
1203
1203
|
*/
|
|
1204
|
-
"ariaLabel"
|
|
1204
|
+
"ariaLabel": string;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* icon name
|
|
1207
1207
|
*/
|
|
@@ -1506,7 +1506,7 @@ export namespace Components {
|
|
|
1506
1506
|
/**
|
|
1507
1507
|
* aria-label string
|
|
1508
1508
|
*/
|
|
1509
|
-
"ariaLabel"
|
|
1509
|
+
"ariaLabel": string;
|
|
1510
1510
|
/**
|
|
1511
1511
|
* disabled status flag
|
|
1512
1512
|
*/
|
|
@@ -1694,7 +1694,7 @@ export namespace Components {
|
|
|
1694
1694
|
/**
|
|
1695
1695
|
* the input aria-label
|
|
1696
1696
|
*/
|
|
1697
|
-
"ariaLabel"
|
|
1697
|
+
"ariaLabel": string;
|
|
1698
1698
|
/**
|
|
1699
1699
|
* the input has autocomplete option
|
|
1700
1700
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { PopoverPosition, PopoverBorderRadius, PopoverShadow } from "../../beans";
|
|
4
3
|
export declare class ZPopoverDeprecated {
|
|
5
4
|
/** [optional] Popover position */
|
|
@@ -30,5 +29,5 @@ export declare class ZPopoverDeprecated {
|
|
|
30
29
|
private handleClick;
|
|
31
30
|
private handleKeyDown;
|
|
32
31
|
handleOutsideClick(e: MouseEvent): void;
|
|
33
|
-
render():
|
|
32
|
+
render(): HTMLZPopoverDeprecatedElement;
|
|
34
33
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StatusTagStatus, ThemeVariant } from "../../beans";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
export declare class ZStatusTag {
|
|
4
3
|
/** [optional] Status tag icon */
|
|
5
4
|
icon?: string;
|
|
@@ -12,5 +11,5 @@ export declare class ZStatusTag {
|
|
|
12
11
|
/** [optional] Status tag style */
|
|
13
12
|
variant?: ThemeVariant;
|
|
14
13
|
constructor();
|
|
15
|
-
render():
|
|
14
|
+
render(): HTMLZStatusTagElement;
|
|
16
15
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { HostElement } from "../../stencil-public-runtime";
|
|
3
2
|
import { PopoverPositions } from "../../beans/index";
|
|
4
3
|
export declare class ZTooltipDeprecated {
|
|
5
4
|
/** Content text.
|
|
@@ -38,5 +37,5 @@ export declare class ZTooltipDeprecated {
|
|
|
38
37
|
*/
|
|
39
38
|
private setPosition;
|
|
40
39
|
componentWillLoad(): void;
|
|
41
|
-
render():
|
|
40
|
+
render(): HTMLZTooltipDeprecatedElement;
|
|
42
41
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o}from"./p-d17ebc2f.js";const a=class{constructor(o){r(this,o),this.isdisabled=!1,this.ariaLabel=""}render(){return o("button",{disabled:this.isdisabled,"aria-label":this.ariaLabel},o("span",null,o("z-icon",{name:this.icon,width:16,height:16})))}};a.style="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}";export{a as z_myz_card_icon}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,H as n,g as s}from"./p-d17ebc2f.js";import{x as r,q as a,D as l}from"./p-9f80c0b8.js";import{g as o}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const c=class{constructor(e){t(this,e),this.fileInput=i(this,"fileInput",7),this.type=r.DEFAULT,this.files=[],this.inputAttributes={type:"file",id:"file-elem",multiple:!0}}removeFileListener(t){const i=this.files,e=i.find((i=>i.name===t.detail.fileName));if(e){const t=i.indexOf(e);t>=0&&(i.splice(t,1),this.files=[...i])}}fileDroppedListener(t){this.input.files=t.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map}componentWillRender(){this.type===r.DRAGDROP&&o()!==a.DESKTOP&&(this.type=r.DEFAULT)}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}async getFiles(){return this.files}handleAccessibility(){const t=this.el.querySelector("z-file:last-child z-chip button");this.files.length>0&&t?t.focus():this.type===r.DEFAULT?this.button.querySelector("button").focus():this.uploadLink.focus()}checkFiles(t){const i=new Map,e=`supera i ${this.fileMaxSize}MB`;return t.forEach((t=>{const n=t.size/1024/1024,s=this.acceptedFormat.split(",").some((i=>t.name.toLowerCase().endsWith(i.trim()))),r=n<=this.fileMaxSize;r&&s?this.files.find((i=>i.name===t.name))||(this.files.push(t),this.fileInput.emit(t),this.input.value=""):(i.set(t.name,[]),r||i.get(t.name).push(e),s||i.get(t.name).push(" ha un'estensione non prevista"))})),i}renderTitle(){return e("z-heading",{id:"title",variant:"semibold",level:2},this.mainTitle)}renderDescription(t,i){return e("z-body",{variant:t,level:i},this.description)}renderAllowedFileExtensions(){let t="",i="";return this.acceptedFormat&&(t=` nei formati ${this.acceptedFormat.split(", ").map((t=>t.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`),e("z-body",{level:3},t||i?`Puoi allegare file${t}${i}.`:null)}renderFileSection(){return e("section",{class:"files-container "+(this.files.length?"":"hidden")},e("z-heading",{variant:"semibold",level:4},"File appena caricati"),e("div",{class:"files-wrapper"},e("slot",{name:"files"})),e("z-divider",{size:l.MEDIUM}))}renderInput(){return e("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:t=>this.input=t}))}renderUploadButton(){return[this.renderInput(),e("z-button",{onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:t=>this.button=t},"Allega")]}renderUploadLink(){return[this.renderInput(),e("z-body",{class:"upload-link-text",variant:"regular",level:1},"Trascinalo qui o"," ",e("z-body",{tabIndex:0,class:"upload-link",onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},variant:"semibold",level:1,ref:t=>this.uploadLink=t},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("semibold",3),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),e("z-dragdrop-area",null,e("div",{class:"text-container"},this.renderDescription("regular",1),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(t,i){var e,n;return`Il file ${t} ${null!==(e=i[0])&&void 0!==e?e:""}${i[0]&&i[1]?", ":""} ${null!==(n=i[1])&&void 0!==n?n:""} e non può quindi essere caricato.`}handleErrorModalContent(){return e("div",{slot:"modalContent"},e("div",{class:"modal-wrapper"},e("div",{class:"files"},Array.from(this.invalidFiles).map((([t,i])=>e("z-body",{variant:"regular",level:3},this.formatErrorString(t,i)))))))}render(){return e(n,null,e("div",{tabIndex:0,class:`container ${this.type}`},this.renderTitle(),this.type==r.DEFAULT?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&e("z-modal",{tabIndex:0,ref:t=>this.errorModal=t,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent()))}get el(){return s(this)}};c.style=":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container z-body{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>z-heading{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";export{c as z_file_upload}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,g as t}from"./p-d17ebc2f.js";import{b as a,B as n,c}from"./p-9f80c0b8.js";const e=class{constructor(r){o(this,r),this.ariaLabel="",this.disabled=!1,this.type=a.BUTTON,this.variant=n.PRIMARY,this.size=c.BIG}getAttributes(){return{id:this.htmlid,class:{"z-button--container":!0,"z-button--has-text":!!this.hostElement.textContent.trim()}}}render(){return this.href?r("a",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,href:this.href,target:this.target}),this.icon&&r("z-icon",{name:this.icon,width:16,height:16}),r("slot",null)):r("button",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,name:this.name,type:this.type,disabled:this.disabled}),this.icon&&r("z-icon",{name:this.icon,width:16,height:16}),r("slot",null))}get hostElement(){return t(this)}};e.style='.sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled="false"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size="big"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size="small"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size="x-small"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant="primary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant="secondary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant="tertiary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}';export{e as z_button}
|