@itcenteratunihelsinki/huds-lib 0.6.9 → 0.7.1
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_83.cjs.entry.js +19 -1
- package/dist/cjs/hy-event-item.cjs.entry.js +40 -0
- package/dist/cjs/hy-events.cjs.entry.js +94 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/hy-event-item/hy-event-item.css +425 -0
- package/dist/collection/components/hy-event-item/hy-event-item.js +220 -0
- package/dist/collection/components/hy-events/hy-events.css +166 -0
- package/dist/collection/components/hy-events/hy-events.js +193 -0
- package/dist/collection/components/hy-general-list/hy-general-list.css +13 -54
- package/dist/collection/components/icon/icon.js +3 -0
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-accordion-container_83.entry.js +19 -1
- package/dist/esm/hy-event-item.entry.js +36 -0
- package/dist/esm/hy-events.entry.js +90 -0
- package/dist/esm/loader.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-46bf6c43.entry.js +1 -0
- package/dist/huds-lib/p-9b7c1051.entry.js +1 -0
- package/dist/huds-lib/{p-6ce21e3e.entry.js → p-a21478ea.entry.js} +3 -3
- package/dist/types/components/hy-event-item/hy-event-item.d.ts +15 -0
- package/dist/types/components/hy-events/hy-events.d.ts +13 -0
- package/dist/types/components.d.ts +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class HyEventItem {
|
|
2
|
+
el: HTMLElement;
|
|
3
|
+
eventTitle?: string;
|
|
4
|
+
eventDescription: string;
|
|
5
|
+
dateShort: string;
|
|
6
|
+
dateLong: string;
|
|
7
|
+
location: string;
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
styleGrid: boolean;
|
|
11
|
+
readMoreLabel: string;
|
|
12
|
+
isLong: boolean;
|
|
13
|
+
componentDidLoad(): void;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class HyEvents {
|
|
2
|
+
el: HTMLElement;
|
|
3
|
+
styleGrid: boolean;
|
|
4
|
+
viewAllUrl: string;
|
|
5
|
+
viewAllLabel: string;
|
|
6
|
+
scrollLeftLabel: string;
|
|
7
|
+
scrollRightLabel: string;
|
|
8
|
+
scrollable: boolean;
|
|
9
|
+
componentDidLoad(): void;
|
|
10
|
+
watchUrlHandler(newValue: any, oldValue: any): void;
|
|
11
|
+
checkScrollHidden(list: any, leftButton: any, rightButton: any): void;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -321,6 +321,24 @@ export namespace Components {
|
|
|
321
321
|
"dropdownItemValue": string | number;
|
|
322
322
|
"isLast"?: boolean;
|
|
323
323
|
}
|
|
324
|
+
interface HyEventItem {
|
|
325
|
+
"dateLong": string;
|
|
326
|
+
"dateShort": string;
|
|
327
|
+
"eventDescription": string;
|
|
328
|
+
"eventTitle"?: string;
|
|
329
|
+
"location": string;
|
|
330
|
+
"readMoreLabel": string;
|
|
331
|
+
"styleGrid": boolean;
|
|
332
|
+
"type": string;
|
|
333
|
+
"url": string;
|
|
334
|
+
}
|
|
335
|
+
interface HyEvents {
|
|
336
|
+
"scrollLeftLabel": string;
|
|
337
|
+
"scrollRightLabel": string;
|
|
338
|
+
"styleGrid": boolean;
|
|
339
|
+
"viewAllLabel": string;
|
|
340
|
+
"viewAllUrl": string;
|
|
341
|
+
}
|
|
324
342
|
interface HyFilterGroup {
|
|
325
343
|
"filterGroupFilters": IFilterGroupFilter[] | string;
|
|
326
344
|
"filterGroupLabel": string;
|
|
@@ -1074,6 +1092,18 @@ declare global {
|
|
|
1074
1092
|
prototype: HTMLHyDropdownPanelItemElement;
|
|
1075
1093
|
new (): HTMLHyDropdownPanelItemElement;
|
|
1076
1094
|
};
|
|
1095
|
+
interface HTMLHyEventItemElement extends Components.HyEventItem, HTMLStencilElement {
|
|
1096
|
+
}
|
|
1097
|
+
var HTMLHyEventItemElement: {
|
|
1098
|
+
prototype: HTMLHyEventItemElement;
|
|
1099
|
+
new (): HTMLHyEventItemElement;
|
|
1100
|
+
};
|
|
1101
|
+
interface HTMLHyEventsElement extends Components.HyEvents, HTMLStencilElement {
|
|
1102
|
+
}
|
|
1103
|
+
var HTMLHyEventsElement: {
|
|
1104
|
+
prototype: HTMLHyEventsElement;
|
|
1105
|
+
new (): HTMLHyEventsElement;
|
|
1106
|
+
};
|
|
1077
1107
|
interface HTMLHyFilterGroupElement extends Components.HyFilterGroup, HTMLStencilElement {
|
|
1078
1108
|
}
|
|
1079
1109
|
var HTMLHyFilterGroupElement: {
|
|
@@ -1506,6 +1536,8 @@ declare global {
|
|
|
1506
1536
|
"hy-dropdown": HTMLHyDropdownElement;
|
|
1507
1537
|
"hy-dropdown-panel": HTMLHyDropdownPanelElement;
|
|
1508
1538
|
"hy-dropdown-panel-item": HTMLHyDropdownPanelItemElement;
|
|
1539
|
+
"hy-event-item": HTMLHyEventItemElement;
|
|
1540
|
+
"hy-events": HTMLHyEventsElement;
|
|
1509
1541
|
"hy-filter-group": HTMLHyFilterGroupElement;
|
|
1510
1542
|
"hy-filter-group-item": HTMLHyFilterGroupItemElement;
|
|
1511
1543
|
"hy-filter-list-type": HTMLHyFilterListTypeElement;
|
|
@@ -1862,6 +1894,24 @@ declare namespace LocalJSX {
|
|
|
1862
1894
|
"dropdownItemValue"?: string | number;
|
|
1863
1895
|
"isLast"?: boolean;
|
|
1864
1896
|
}
|
|
1897
|
+
interface HyEventItem {
|
|
1898
|
+
"dateLong"?: string;
|
|
1899
|
+
"dateShort"?: string;
|
|
1900
|
+
"eventDescription"?: string;
|
|
1901
|
+
"eventTitle"?: string;
|
|
1902
|
+
"location"?: string;
|
|
1903
|
+
"readMoreLabel"?: string;
|
|
1904
|
+
"styleGrid"?: boolean;
|
|
1905
|
+
"type"?: string;
|
|
1906
|
+
"url"?: string;
|
|
1907
|
+
}
|
|
1908
|
+
interface HyEvents {
|
|
1909
|
+
"scrollLeftLabel"?: string;
|
|
1910
|
+
"scrollRightLabel"?: string;
|
|
1911
|
+
"styleGrid"?: boolean;
|
|
1912
|
+
"viewAllLabel"?: string;
|
|
1913
|
+
"viewAllUrl"?: string;
|
|
1914
|
+
}
|
|
1865
1915
|
interface HyFilterGroup {
|
|
1866
1916
|
"filterGroupFilters"?: IFilterGroupFilter[] | string;
|
|
1867
1917
|
"filterGroupLabel"?: string;
|
|
@@ -2507,6 +2557,8 @@ declare namespace LocalJSX {
|
|
|
2507
2557
|
"hy-dropdown": HyDropdown;
|
|
2508
2558
|
"hy-dropdown-panel": HyDropdownPanel;
|
|
2509
2559
|
"hy-dropdown-panel-item": HyDropdownPanelItem;
|
|
2560
|
+
"hy-event-item": HyEventItem;
|
|
2561
|
+
"hy-events": HyEvents;
|
|
2510
2562
|
"hy-filter-group": HyFilterGroup;
|
|
2511
2563
|
"hy-filter-group-item": HyFilterGroupItem;
|
|
2512
2564
|
"hy-filter-list-type": HyFilterListType;
|
|
@@ -2604,6 +2656,8 @@ declare module "@stencil/core" {
|
|
|
2604
2656
|
"hy-dropdown": LocalJSX.HyDropdown & JSXBase.HTMLAttributes<HTMLHyDropdownElement>;
|
|
2605
2657
|
"hy-dropdown-panel": LocalJSX.HyDropdownPanel & JSXBase.HTMLAttributes<HTMLHyDropdownPanelElement>;
|
|
2606
2658
|
"hy-dropdown-panel-item": LocalJSX.HyDropdownPanelItem & JSXBase.HTMLAttributes<HTMLHyDropdownPanelItemElement>;
|
|
2659
|
+
"hy-event-item": LocalJSX.HyEventItem & JSXBase.HTMLAttributes<HTMLHyEventItemElement>;
|
|
2660
|
+
"hy-events": LocalJSX.HyEvents & JSXBase.HTMLAttributes<HTMLHyEventsElement>;
|
|
2607
2661
|
"hy-filter-group": LocalJSX.HyFilterGroup & JSXBase.HTMLAttributes<HTMLHyFilterGroupElement>;
|
|
2608
2662
|
"hy-filter-group-item": LocalJSX.HyFilterGroupItem & JSXBase.HTMLAttributes<HTMLHyFilterGroupItemElement>;
|
|
2609
2663
|
"hy-filter-list-type": LocalJSX.HyFilterListType & JSXBase.HTMLAttributes<HTMLHyFilterListTypeElement>;
|