@itcenteratunihelsinki/huds-lib 0.5.46 → 0.6.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.
- package/dist/cjs/color-box_8.cjs.entry.js +1 -1
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/{hy-accordion-container_91.cjs.entry.js → hy-accordion-container_89.cjs.entry.js} +3 -492
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-eeb7b089.js → utils-00f72b1e.js} +0 -2
- package/dist/collection/collection-manifest.json +0 -4
- package/dist/collection/components/hy-main/hy-main.css +3 -2
- package/dist/collection/components/navigation/menu/menu.js +1 -1
- package/dist/collection/components/navigation/menu-item/menu-item.js +1 -17
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -236
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +1 -48
- package/dist/collection/components/site-header/site-header.js +1 -1
- package/dist/collection/utils/utils.js +0 -2
- package/dist/esm/color-box_8.entry.js +1 -1
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/{hy-accordion-container_91.entry.js → hy-accordion-container_89.entry.js} +4 -491
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-966ffdb5.js → utils-159098a4.js} +0 -2
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/{p-77f7df4b.entry.js → p-152d3e8d.entry.js} +54 -54
- package/dist/huds-lib/{p-d3ced29c.entry.js → p-2efc8ca0.entry.js} +1 -1
- package/dist/huds-lib/{p-cd2316f0.js → p-d9dc337b.js} +1 -1
- package/dist/types/components.d.ts +0 -200
- package/dist/types/utils/utils.d.ts +0 -2
- package/package.json +1 -1
- package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.css +0 -399
- package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.js +0 -580
- package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.css +0 -337
- package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +0 -677
- package/dist/types/components/navigation/menu-item-sidebar/menu-item-sidebar.d.ts +0 -34
- package/dist/types/components/navigation/menu-sidebar/menu-sidebar.d.ts +0 -90
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { MenuType } from '../../../utils/utils';
|
|
3
|
-
export declare class MenuItemSidebar {
|
|
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
|
-
menuItemAlternative: boolean;
|
|
16
|
-
menuLinkId: string;
|
|
17
|
-
menuType: MenuType;
|
|
18
|
-
pageSize: MenuType;
|
|
19
|
-
menuButtonSubmenuExpand?: string;
|
|
20
|
-
menuIsOpen: boolean;
|
|
21
|
-
ariaExpanded: boolean;
|
|
22
|
-
depth: number;
|
|
23
|
-
hasChildren: boolean;
|
|
24
|
-
label: string;
|
|
25
|
-
parentAsHeading: string;
|
|
26
|
-
parentExpanded: boolean;
|
|
27
|
-
url: string;
|
|
28
|
-
private ro;
|
|
29
|
-
sidebarTopLevelToggle(e: any): void;
|
|
30
|
-
componentWillLoad(): Promise<void>;
|
|
31
|
-
applySize(size: number): void;
|
|
32
|
-
componentWillRender(): void;
|
|
33
|
-
render(): any;
|
|
34
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { MenuType, SiteLogoSize } from '../../../utils/utils';
|
|
2
|
-
export declare class MenuSidebar {
|
|
3
|
-
el: HTMLElement;
|
|
4
|
-
/**
|
|
5
|
-
* Is menu open boolean.
|
|
6
|
-
*/
|
|
7
|
-
menuIsOpen: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Menu type. Defaults to sidenav.
|
|
10
|
-
*/
|
|
11
|
-
menuType: MenuType;
|
|
12
|
-
pageSize: MenuType;
|
|
13
|
-
/**
|
|
14
|
-
* Upper menus panel boolean.
|
|
15
|
-
*/
|
|
16
|
-
panelOpen: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Label for panel toggle button.
|
|
19
|
-
*/
|
|
20
|
-
panelToggleLabel?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Label for panel toggle button.
|
|
23
|
-
*/
|
|
24
|
-
panelToggleAriaLabel?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Label for panel toggle button.
|
|
27
|
-
*/
|
|
28
|
-
panelToggleCloseLabel?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Label for panel toggle button.
|
|
31
|
-
*/
|
|
32
|
-
panelToggleCloseAriaLabel?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Url for logo.
|
|
35
|
-
*/
|
|
36
|
-
logoUrl?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Logo label
|
|
39
|
-
*/
|
|
40
|
-
logoLabel?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Logo size
|
|
43
|
-
*/
|
|
44
|
-
size: SiteLogoSize;
|
|
45
|
-
/**
|
|
46
|
-
* Isdemo
|
|
47
|
-
*/
|
|
48
|
-
isDemo: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Should have link to front page or show full menu button
|
|
51
|
-
*/
|
|
52
|
-
noChildren: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Url to frontpage
|
|
55
|
-
*/
|
|
56
|
-
frontUrl: string;
|
|
57
|
-
/**
|
|
58
|
-
* Label for frontpage
|
|
59
|
-
*/
|
|
60
|
-
frontLabel: string;
|
|
61
|
-
/**
|
|
62
|
-
* IsResearchGroup
|
|
63
|
-
*/
|
|
64
|
-
isResearchGroup: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* is Active helps to define how to render Research Group link.
|
|
67
|
-
*/
|
|
68
|
-
isActive: boolean;
|
|
69
|
-
minHeight: any;
|
|
70
|
-
/**
|
|
71
|
-
* Previous panel to be toggled to keep track.
|
|
72
|
-
*/
|
|
73
|
-
previousPanel: HTMLElement;
|
|
74
|
-
/**
|
|
75
|
-
* Previous item to be toggle to keep track.
|
|
76
|
-
*/
|
|
77
|
-
previousItem: any;
|
|
78
|
-
private ro;
|
|
79
|
-
panelToggle(e: any): void;
|
|
80
|
-
componentWillLoad(): Promise<void>;
|
|
81
|
-
componentDidLoad(): void;
|
|
82
|
-
applySize(size: number): void;
|
|
83
|
-
handlePanel(e: any): void;
|
|
84
|
-
updatePrevious(panel: any, item: any): void;
|
|
85
|
-
closeWholeTree(): void;
|
|
86
|
-
togglePanel(menuItem: any, panel: any, shouldClose?: boolean): void;
|
|
87
|
-
closeChildren(menuItem: any): void;
|
|
88
|
-
toggleSidebarBg(): void;
|
|
89
|
-
render(): any;
|
|
90
|
-
}
|