@itcenteratunihelsinki/huds-lib 0.6.6 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/{hy-accordion-container_89.cjs.entry.js → hy-accordion-container_83.cjs.entry.js} +611 -1315
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -12
- package/dist/collection/components/hy-video/hy-video.css +16 -2
- package/dist/collection/components/hy-video/hy-video.js +46 -3
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +20 -1
- package/dist/collection/components/site-header/site-header.css +18 -1
- package/dist/collection/components/site-header/site-header.js +15 -37
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/{hy-accordion-container_89.entry.js → hy-accordion-container_83.entry.js} +613 -1311
- package/dist/esm/loader.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-e39d3bcc.entry.js +86 -0
- package/dist/types/components/hy-video/hy-video.d.ts +4 -0
- package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -0
- package/dist/types/components/site-header/site-header.d.ts +0 -1
- package/dist/types/components.d.ts +19 -212
- package/package.json +1 -1
- package/dist/collection/components/navigation/menu/menu.css +0 -262
- package/dist/collection/components/navigation/menu/menu.js +0 -431
- package/dist/collection/components/navigation/menu-item/menu-item.css +0 -348
- package/dist/collection/components/navigation/menu-item/menu-item.js +0 -557
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -129
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +0 -300
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +0 -90
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.js +0 -151
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.css +0 -140
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.js +0 -68
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +0 -469
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +0 -482
- package/dist/huds-lib/p-f28263c0.entry.js +0 -86
- package/dist/types/components/navigation/menu/menu.d.ts +0 -30
- package/dist/types/components/navigation/menu-item/menu-item.d.ts +0 -31
- package/dist/types/components/navigation/menu-level-container/menu-level-container.d.ts +0 -27
- package/dist/types/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.d.ts +0 -12
- package/dist/types/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.d.ts +0 -13
- package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +0 -60
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { MenuType } from '../../../utils/utils';
|
|
3
|
-
export declare class Menu {
|
|
4
|
-
el: HTMLElement;
|
|
5
|
-
menuContainerToggled: EventEmitter;
|
|
6
|
-
dataMenuDonate: string;
|
|
7
|
-
dataMenuLanguage: string;
|
|
8
|
-
isGroup: boolean;
|
|
9
|
-
isDemo: boolean;
|
|
10
|
-
labelFrontPage: string;
|
|
11
|
-
logoUrl: string;
|
|
12
|
-
logoLabel: string;
|
|
13
|
-
menuIsOpen: boolean;
|
|
14
|
-
menuType: MenuType;
|
|
15
|
-
menuButtonSubmenuExpand: string;
|
|
16
|
-
menuButtonBreadcrumbReturn: string;
|
|
17
|
-
menuButtonBreadcrumbHome: string;
|
|
18
|
-
menuButtonBreadcrumbMain: string;
|
|
19
|
-
menuButtonBreadcrumbLogourl: string;
|
|
20
|
-
dataSiteHeaderLabels: string;
|
|
21
|
-
breadcrumbs: any;
|
|
22
|
-
private donateLink;
|
|
23
|
-
removeBreadcrumb(data: any): Promise<void>;
|
|
24
|
-
addBreadcrumb(event: any): void;
|
|
25
|
-
componentWillLoad(): Promise<void>;
|
|
26
|
-
disconnectedCallback(): void;
|
|
27
|
-
componentWillUpdate(): void;
|
|
28
|
-
componentWillRender(): void;
|
|
29
|
-
render(): any;
|
|
30
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { MenuType } from '../../../utils/utils';
|
|
3
|
-
export declare class MenuItem {
|
|
4
|
-
el: HTMLElement;
|
|
5
|
-
addBreadcrumb: EventEmitter;
|
|
6
|
-
menuContainerActiveTrail: EventEmitter;
|
|
7
|
-
menuContainerToggled: EventEmitter;
|
|
8
|
-
routeClicked: EventEmitter;
|
|
9
|
-
inActiveTrail: boolean;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
isActiveChild?: boolean;
|
|
12
|
-
isHeading: boolean;
|
|
13
|
-
isParent: boolean;
|
|
14
|
-
isDemo: boolean;
|
|
15
|
-
isExternal: boolean;
|
|
16
|
-
menuItemAlternative: boolean;
|
|
17
|
-
menuLinkId: string;
|
|
18
|
-
menuType: MenuType;
|
|
19
|
-
menuButtonSubmenuExpand?: string;
|
|
20
|
-
menuButtonBreadcrumbMain?: string;
|
|
21
|
-
ariaExpanded: boolean;
|
|
22
|
-
depth: number;
|
|
23
|
-
hasChildren: boolean;
|
|
24
|
-
label: string;
|
|
25
|
-
parentAsHeading: string;
|
|
26
|
-
parentExpanded: boolean;
|
|
27
|
-
url: string;
|
|
28
|
-
handleClick(): void;
|
|
29
|
-
componentWillLoad(): void;
|
|
30
|
-
render(): any;
|
|
31
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { MenuType } from '../../../utils/utils';
|
|
2
|
-
export declare class MenuLevelContainer {
|
|
3
|
-
el: HTMLElement;
|
|
4
|
-
labelFrontPage?: string;
|
|
5
|
-
menuButtonSubmenuExpand?: string;
|
|
6
|
-
menuLevel: number;
|
|
7
|
-
menuType: MenuType;
|
|
8
|
-
activeTrailTriggered: boolean;
|
|
9
|
-
depth: number;
|
|
10
|
-
headingItem: any;
|
|
11
|
-
triggerItem: string;
|
|
12
|
-
/**
|
|
13
|
-
* Url to front page for panel first parent
|
|
14
|
-
*/
|
|
15
|
-
frontUrl: string;
|
|
16
|
-
/**
|
|
17
|
-
* label for front page for panel first parent
|
|
18
|
-
*/
|
|
19
|
-
frontLabel: string;
|
|
20
|
-
menuIsOpen: boolean;
|
|
21
|
-
assignMenuItemClass(parentMenu: Element, type: string): void;
|
|
22
|
-
menuContainerActiveTrail(data: any): void;
|
|
23
|
-
menuContainerToggled(data: any): void;
|
|
24
|
-
componentWillUpdate(): void;
|
|
25
|
-
componentWillLoad(): void;
|
|
26
|
-
render(): any;
|
|
27
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class MenuMobileBreadcrumb {
|
|
3
|
-
removeBreadcrumb: EventEmitter;
|
|
4
|
-
bid: string;
|
|
5
|
-
isFirst: boolean;
|
|
6
|
-
label: string;
|
|
7
|
-
labelBack: string;
|
|
8
|
-
labelFrontPage: string;
|
|
9
|
-
logoUrl?: string;
|
|
10
|
-
handleClick(): void;
|
|
11
|
-
render(): any;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface ShortcutLinks {
|
|
2
|
-
title: string;
|
|
3
|
-
url: string;
|
|
4
|
-
is_external: string;
|
|
5
|
-
aria_label: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class HyMobileMenuShortcuts {
|
|
8
|
-
shortcutsLabel: string;
|
|
9
|
-
dataShortcutLinks: ShortcutLinks[] | string;
|
|
10
|
-
private _dataShortcutLinks;
|
|
11
|
-
componentWillLoad(): Promise<void>;
|
|
12
|
-
render(): any;
|
|
13
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export interface ShortcutLinks {
|
|
2
|
-
shortcut_title: string;
|
|
3
|
-
shortcut_url: string;
|
|
4
|
-
shortcut_is_external: string;
|
|
5
|
-
shortcut_aria_label: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DesktopLinks {
|
|
8
|
-
label: string;
|
|
9
|
-
labelExtra: string;
|
|
10
|
-
url: string;
|
|
11
|
-
description: string;
|
|
12
|
-
toggleOff: boolean;
|
|
13
|
-
menuLinkId: string;
|
|
14
|
-
isExternal: string;
|
|
15
|
-
isActive: string;
|
|
16
|
-
shortcutsTitle: string;
|
|
17
|
-
closeButtonTitle: string;
|
|
18
|
-
items: Array<DesktopLinks>;
|
|
19
|
-
shortcuts: Array<ShortcutLinks>;
|
|
20
|
-
}
|
|
21
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
22
|
-
export declare class HyDesktopMenuLinks {
|
|
23
|
-
el: HTMLElement;
|
|
24
|
-
isGroup?: boolean;
|
|
25
|
-
isDropdown?: boolean;
|
|
26
|
-
dataDesktopLinks: DesktopLinks[] | string;
|
|
27
|
-
private _dataDesktopLinks;
|
|
28
|
-
firstLevelLinksList: Array<object>;
|
|
29
|
-
menuLinkItems: Array<object>;
|
|
30
|
-
hasToolbar: boolean;
|
|
31
|
-
isDesktopMenuOpen: boolean;
|
|
32
|
-
currenOpenMenuId: number;
|
|
33
|
-
isNewMenuIdOnHover: boolean;
|
|
34
|
-
menuDesktopToggled: EventEmitter;
|
|
35
|
-
private _headerBorderOffset;
|
|
36
|
-
private _hoverTimer;
|
|
37
|
-
private _fadeOutTimer;
|
|
38
|
-
private _mouseEnter;
|
|
39
|
-
private _mouseLeave;
|
|
40
|
-
private ro;
|
|
41
|
-
componentWillLoad(): Promise<void>;
|
|
42
|
-
disconnectedCallback(): void;
|
|
43
|
-
removeBackdropShadow(size: number): void;
|
|
44
|
-
showBackdropShadow(state?: string, top?: number): void;
|
|
45
|
-
showPanel(id: any): void;
|
|
46
|
-
closePanel(fadeOut?: boolean): void;
|
|
47
|
-
clearPanelItemsStatus(fadeOut?: boolean): void;
|
|
48
|
-
handleDesktopMenuClose(event: any): void;
|
|
49
|
-
menuLanguageToggled(): void;
|
|
50
|
-
universityMainMenuPanelToggled(): void;
|
|
51
|
-
searchPanelToggled(): void;
|
|
52
|
-
headerScrollUp(): void;
|
|
53
|
-
handleDesktopMenuEnter(event: any, id: any): void;
|
|
54
|
-
handleDesktopMenuLeave(): void;
|
|
55
|
-
handleWindowClick(event: any): void;
|
|
56
|
-
handleDesktopMenuClick(event: any, id: any): void;
|
|
57
|
-
handleKeyDown(event: KeyboardEvent, id: any): void;
|
|
58
|
-
componentDidLoad(): void;
|
|
59
|
-
render(): any;
|
|
60
|
-
}
|