@itcenteratunihelsinki/huds-lib 0.6.5 → 0.6.7

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 (38) hide show
  1. package/dist/cjs/huds-lib.cjs.js +1 -1
  2. package/dist/cjs/{hy-accordion-container_89.cjs.entry.js → hy-accordion-container_83.cjs.entry.js} +610 -1317
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/collection-manifest.json +0 -12
  5. package/dist/collection/components/cta-button/cta-button.js +26 -5
  6. package/dist/collection/components/hy-dropdown/hy-dropdown.js +2 -2
  7. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +20 -1
  8. package/dist/collection/components/site-header/site-header.css +16 -1
  9. package/dist/collection/components/site-header/site-header.js +15 -37
  10. package/dist/esm/huds-lib.js +1 -1
  11. package/dist/esm/{hy-accordion-container_89.entry.js → hy-accordion-container_83.entry.js} +612 -1313
  12. package/dist/esm/loader.js +1 -1
  13. package/dist/huds-lib/huds-lib.esm.js +1 -1
  14. package/dist/huds-lib/p-f86741ed.entry.js +86 -0
  15. package/dist/types/components/cta-button/cta-button.d.ts +1 -0
  16. package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -0
  17. package/dist/types/components/site-header/site-header.d.ts +0 -1
  18. package/dist/types/components.d.ts +5 -212
  19. package/package.json +1 -1
  20. package/dist/collection/components/navigation/menu/menu.css +0 -262
  21. package/dist/collection/components/navigation/menu/menu.js +0 -431
  22. package/dist/collection/components/navigation/menu-item/menu-item.css +0 -348
  23. package/dist/collection/components/navigation/menu-item/menu-item.js +0 -557
  24. package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -129
  25. package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +0 -300
  26. package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +0 -90
  27. package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.js +0 -151
  28. package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.css +0 -140
  29. package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.js +0 -68
  30. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +0 -469
  31. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +0 -482
  32. package/dist/huds-lib/p-fd0fd0ea.entry.js +0 -86
  33. package/dist/types/components/navigation/menu/menu.d.ts +0 -30
  34. package/dist/types/components/navigation/menu-item/menu-item.d.ts +0 -31
  35. package/dist/types/components/navigation/menu-level-container/menu-level-container.d.ts +0 -27
  36. package/dist/types/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.d.ts +0 -12
  37. package/dist/types/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.d.ts +0 -13
  38. package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +0 -60
@@ -3,6 +3,7 @@ import { CtaLinkButtonVariants } from '../../utils/utils';
3
3
  export declare class CtaButton implements ComponentInterface {
4
4
  variant: CtaLinkButtonVariants;
5
5
  linkContent: string;
6
+ typeButton: boolean;
6
7
  url?: string;
7
8
  scLabel?: string;
8
9
  isExternal: boolean;
@@ -11,6 +11,7 @@ import { EventEmitter } from '../../../stencil-public-runtime';
11
11
  export declare class HyMenuMainGroup {
12
12
  el: HTMLElement;
13
13
  menuLabel: string;
14
+ menuLabelClose: string;
14
15
  dataMainMenu: MainMenu[] | string;
15
16
  isMobile: boolean;
16
17
  logoUrl?: string;
@@ -37,7 +37,6 @@ export declare class SiteHeader {
37
37
  menuLabelOpen?: string;
38
38
  menuLabelClose?: string;
39
39
  menuType: MenuType;
40
- dataDesktopLinks: DesktopLinks[] | string;
41
40
  dataMainMenuLinks: DesktopLinks[] | string;
42
41
  dataSearchTools: DesktopLinks[] | string;
43
42
  isMobile: boolean;
@@ -10,7 +10,6 @@ import { ImageSrcSet } from "./components/adjacent-image-text/adjacent-image-tex
10
10
  import { AnchorItem } from "./components/hy-anchor-link-list/hy-anchor-link-list";
11
11
  import { Breadcrumb } from "./components/hy-breadcrumbs/hy-breadcrumbs";
12
12
  import { TagValue } from "./components/courses/hy-content-list-item/hy-content-list-item";
13
- import { DesktopLinks } from "./components/site-header/hy-desktop-menu-links/hy-desktop-menu-links";
14
13
  import { IDropdownItem } from "./components/hy-dropdown/hy-dropdown";
15
14
  import { IFilterGroupFilter } from "./components/hy-filter-group/hy-filter-group";
16
15
  import { FooterBaseLinks, FooterBaseSome } from "./components/footer/hy-footer-base/hy-footer-base";
@@ -30,13 +29,12 @@ import { AdditionalInfo, ImageSrcSet as ImageSrcSet5, RelatedLink } from "./comp
30
29
  import { MenuLanguage } from "./components/navigation/menu-language/menu-language";
31
30
  import { ComponentLabels } from "./components/site-header/site-header";
32
31
  import { DonateLink, MainMenu } from "./components/navigation/hy-menu-main-group/hy-menu-main-group";
33
- import { ShortcutLinks } from "./components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts";
34
32
  import { items } from "./components/hy-opening-hours-content/hy-opening-hours-content";
35
33
  import { personProfileListingItems } from "./components/person-profile/person-profile-listing/person-profile.listing";
36
34
  import { ProcessFlowBoxValue } from "./components/process/process";
37
35
  import { ImageSrcSet as ImageSrcSet6 } from "./components/hy-prominent-image/hy-prominent-image";
38
36
  import { ShortcutLinkValue } from "./components/hy-shortcuts/hy-shortcuts";
39
- import { DesktopLinks as DesktopLinks1 } from "./components/site-header/site-header";
37
+ import { DesktopLinks } from "./components/site-header/site-header";
40
38
  export namespace Components {
41
39
  interface ColorBox {
42
40
  }
@@ -293,6 +291,7 @@ export namespace Components {
293
291
  "isExternal": boolean;
294
292
  "linkContent": string;
295
293
  "scLabel"?: string;
294
+ "typeButton": boolean;
296
295
  "url"?: string;
297
296
  "variant": CtaLinkButtonVariants;
298
297
  }
@@ -303,11 +302,6 @@ export namespace Components {
303
302
  "url"?: string;
304
303
  "variant": CtaLinkVariants;
305
304
  }
306
- interface HyDesktopMenuLinks {
307
- "dataDesktopLinks": DesktopLinks[] | string;
308
- "isDropdown"?: boolean;
309
- "isGroup"?: boolean;
310
- }
311
305
  interface HyDocsContainer {
312
306
  }
313
307
  interface HyDropdown {
@@ -634,44 +628,6 @@ export namespace Components {
634
628
  }
635
629
  interface HyMainContentWrapper {
636
630
  }
637
- interface HyMenu {
638
- "dataMenuDonate": string;
639
- "dataMenuLanguage": string;
640
- "dataSiteHeaderLabels": string;
641
- "isDemo": boolean;
642
- "isGroup": boolean;
643
- "labelFrontPage": string;
644
- "logoLabel": string;
645
- "logoUrl": string;
646
- "menuButtonBreadcrumbHome": string;
647
- "menuButtonBreadcrumbLogourl": string;
648
- "menuButtonBreadcrumbMain": string;
649
- "menuButtonBreadcrumbReturn": string;
650
- "menuButtonSubmenuExpand": string;
651
- "menuIsOpen": boolean;
652
- "menuType": MenuType;
653
- }
654
- interface HyMenuItem {
655
- "ariaExpanded": boolean;
656
- "depth": number;
657
- "hasChildren": boolean;
658
- "inActiveTrail": boolean;
659
- "isActive": boolean;
660
- "isActiveChild"?: boolean;
661
- "isDemo": boolean;
662
- "isExternal": boolean;
663
- "isHeading": boolean;
664
- "isParent": boolean;
665
- "label": string;
666
- "menuButtonBreadcrumbMain"?: string;
667
- "menuButtonSubmenuExpand"?: string;
668
- "menuItemAlternative": boolean;
669
- "menuLinkId": string;
670
- "menuType": MenuType;
671
- "parentAsHeading": string;
672
- "parentExpanded": boolean;
673
- "url": string;
674
- }
675
631
  interface HyMenuLanguage {
676
632
  "dataMenuLanguage": MenuLanguage[] | string;
677
633
  "isGroup": boolean;
@@ -685,24 +641,6 @@ export namespace Components {
685
641
  "langCode": string;
686
642
  "url": string;
687
643
  }
688
- interface HyMenuLevelContainer {
689
- "activeTrailTriggered": boolean;
690
- "depth": number;
691
- /**
692
- * label for front page for panel first parent
693
- */
694
- "frontLabel": string;
695
- /**
696
- * Url to front page for panel first parent
697
- */
698
- "frontUrl": string;
699
- "headingItem": any;
700
- "labelFrontPage"?: string;
701
- "menuButtonSubmenuExpand"?: string;
702
- "menuLevel": number;
703
- "menuType": MenuType;
704
- "triggerItem": string;
705
- }
706
644
  interface HyMenuMainGroup {
707
645
  "dataMainMenu": MainMenu[] | string;
708
646
  "donate": DonateLink[];
@@ -710,21 +648,10 @@ export namespace Components {
710
648
  "logoLabel"?: string;
711
649
  "logoUrl"?: string;
712
650
  "menuLabel": string;
651
+ "menuLabelClose": string;
713
652
  "siteLabel"?: string;
714
653
  "siteUrl"?: string;
715
654
  }
716
- interface HyMenuMobileBreadcrumb {
717
- "bid": string;
718
- "isFirst": boolean;
719
- "label": string;
720
- "labelBack": string;
721
- "labelFrontPage": string;
722
- "logoUrl"?: string;
723
- }
724
- interface HyMobileMenuShortcuts {
725
- "dataShortcutLinks": ShortcutLinks[] | string;
726
- "shortcutsLabel": string;
727
- }
728
655
  interface HyOpeningHours {
729
656
  "blockId"?: string;
730
657
  "blockTitle": string;
@@ -857,7 +784,6 @@ export namespace Components {
857
784
  "listHeading": string;
858
785
  }
859
786
  interface HySiteHeader {
860
- "dataDesktopLinks": DesktopLinks[] | string;
861
787
  "dataMainMenuLinks": DesktopLinks[] | string;
862
788
  "dataMenuDonate": string;
863
789
  "dataMenuLanguage": string;
@@ -1116,12 +1042,6 @@ declare global {
1116
1042
  prototype: HTMLHyCtaLinkElement;
1117
1043
  new (): HTMLHyCtaLinkElement;
1118
1044
  };
1119
- interface HTMLHyDesktopMenuLinksElement extends Components.HyDesktopMenuLinks, HTMLStencilElement {
1120
- }
1121
- var HTMLHyDesktopMenuLinksElement: {
1122
- prototype: HTMLHyDesktopMenuLinksElement;
1123
- new (): HTMLHyDesktopMenuLinksElement;
1124
- };
1125
1045
  interface HTMLHyDocsContainerElement extends Components.HyDocsContainer, HTMLStencilElement {
1126
1046
  }
1127
1047
  var HTMLHyDocsContainerElement: {
@@ -1368,18 +1288,6 @@ declare global {
1368
1288
  prototype: HTMLHyMainContentWrapperElement;
1369
1289
  new (): HTMLHyMainContentWrapperElement;
1370
1290
  };
1371
- interface HTMLHyMenuElement extends Components.HyMenu, HTMLStencilElement {
1372
- }
1373
- var HTMLHyMenuElement: {
1374
- prototype: HTMLHyMenuElement;
1375
- new (): HTMLHyMenuElement;
1376
- };
1377
- interface HTMLHyMenuItemElement extends Components.HyMenuItem, HTMLStencilElement {
1378
- }
1379
- var HTMLHyMenuItemElement: {
1380
- prototype: HTMLHyMenuItemElement;
1381
- new (): HTMLHyMenuItemElement;
1382
- };
1383
1291
  interface HTMLHyMenuLanguageElement extends Components.HyMenuLanguage, HTMLStencilElement {
1384
1292
  }
1385
1293
  var HTMLHyMenuLanguageElement: {
@@ -1392,30 +1300,12 @@ declare global {
1392
1300
  prototype: HTMLHyMenuLanguageItemElement;
1393
1301
  new (): HTMLHyMenuLanguageItemElement;
1394
1302
  };
1395
- interface HTMLHyMenuLevelContainerElement extends Components.HyMenuLevelContainer, HTMLStencilElement {
1396
- }
1397
- var HTMLHyMenuLevelContainerElement: {
1398
- prototype: HTMLHyMenuLevelContainerElement;
1399
- new (): HTMLHyMenuLevelContainerElement;
1400
- };
1401
1303
  interface HTMLHyMenuMainGroupElement extends Components.HyMenuMainGroup, HTMLStencilElement {
1402
1304
  }
1403
1305
  var HTMLHyMenuMainGroupElement: {
1404
1306
  prototype: HTMLHyMenuMainGroupElement;
1405
1307
  new (): HTMLHyMenuMainGroupElement;
1406
1308
  };
1407
- interface HTMLHyMenuMobileBreadcrumbElement extends Components.HyMenuMobileBreadcrumb, HTMLStencilElement {
1408
- }
1409
- var HTMLHyMenuMobileBreadcrumbElement: {
1410
- prototype: HTMLHyMenuMobileBreadcrumbElement;
1411
- new (): HTMLHyMenuMobileBreadcrumbElement;
1412
- };
1413
- interface HTMLHyMobileMenuShortcutsElement extends Components.HyMobileMenuShortcuts, HTMLStencilElement {
1414
- }
1415
- var HTMLHyMobileMenuShortcutsElement: {
1416
- prototype: HTMLHyMobileMenuShortcutsElement;
1417
- new (): HTMLHyMobileMenuShortcutsElement;
1418
- };
1419
1309
  interface HTMLHyOpeningHoursElement extends Components.HyOpeningHours, HTMLStencilElement {
1420
1310
  }
1421
1311
  var HTMLHyOpeningHoursElement: {
@@ -1604,7 +1494,6 @@ declare global {
1604
1494
  "hy-crisis-banner": HTMLHyCrisisBannerElement;
1605
1495
  "hy-cta-button": HTMLHyCtaButtonElement;
1606
1496
  "hy-cta-link": HTMLHyCtaLinkElement;
1607
- "hy-desktop-menu-links": HTMLHyDesktopMenuLinksElement;
1608
1497
  "hy-docs-container": HTMLHyDocsContainerElement;
1609
1498
  "hy-dropdown": HTMLHyDropdownElement;
1610
1499
  "hy-dropdown-panel": HTMLHyDropdownPanelElement;
@@ -1646,14 +1535,9 @@ declare global {
1646
1535
  "hy-logo-grid-item": HTMLHyLogoGridItemElement;
1647
1536
  "hy-main": HTMLHyMainElement;
1648
1537
  "hy-main-content-wrapper": HTMLHyMainContentWrapperElement;
1649
- "hy-menu": HTMLHyMenuElement;
1650
- "hy-menu-item": HTMLHyMenuItemElement;
1651
1538
  "hy-menu-language": HTMLHyMenuLanguageElement;
1652
1539
  "hy-menu-language-item": HTMLHyMenuLanguageItemElement;
1653
- "hy-menu-level-container": HTMLHyMenuLevelContainerElement;
1654
1540
  "hy-menu-main-group": HTMLHyMenuMainGroupElement;
1655
- "hy-menu-mobile-breadcrumb": HTMLHyMenuMobileBreadcrumbElement;
1656
- "hy-mobile-menu-shortcuts": HTMLHyMobileMenuShortcutsElement;
1657
1541
  "hy-opening-hours": HTMLHyOpeningHoursElement;
1658
1542
  "hy-opening-hours-content": HTMLHyOpeningHoursContentElement;
1659
1543
  "hy-pager": HTMLHyPagerElement;
@@ -1940,6 +1824,7 @@ declare namespace LocalJSX {
1940
1824
  "isExternal"?: boolean;
1941
1825
  "linkContent"?: string;
1942
1826
  "scLabel"?: string;
1827
+ "typeButton"?: boolean;
1943
1828
  "url"?: string;
1944
1829
  "variant"?: CtaLinkButtonVariants;
1945
1830
  }
@@ -1950,12 +1835,6 @@ declare namespace LocalJSX {
1950
1835
  "url"?: string;
1951
1836
  "variant"?: CtaLinkVariants;
1952
1837
  }
1953
- interface HyDesktopMenuLinks {
1954
- "dataDesktopLinks"?: DesktopLinks[] | string;
1955
- "isDropdown"?: boolean;
1956
- "isGroup"?: boolean;
1957
- "onMenuDesktopToggled"?: (event: CustomEvent<any>) => void;
1958
- }
1959
1838
  interface HyDocsContainer {
1960
1839
  }
1961
1840
  interface HyDropdown {
@@ -2282,49 +2161,6 @@ declare namespace LocalJSX {
2282
2161
  }
2283
2162
  interface HyMainContentWrapper {
2284
2163
  }
2285
- interface HyMenu {
2286
- "dataMenuDonate"?: string;
2287
- "dataMenuLanguage"?: string;
2288
- "dataSiteHeaderLabels"?: string;
2289
- "isDemo"?: boolean;
2290
- "isGroup"?: boolean;
2291
- "labelFrontPage"?: string;
2292
- "logoLabel"?: string;
2293
- "logoUrl"?: string;
2294
- "menuButtonBreadcrumbHome"?: string;
2295
- "menuButtonBreadcrumbLogourl"?: string;
2296
- "menuButtonBreadcrumbMain"?: string;
2297
- "menuButtonBreadcrumbReturn"?: string;
2298
- "menuButtonSubmenuExpand"?: string;
2299
- "menuIsOpen"?: boolean;
2300
- "menuType"?: MenuType;
2301
- "onMenuContainerToggled"?: (event: CustomEvent<any>) => void;
2302
- }
2303
- interface HyMenuItem {
2304
- "ariaExpanded"?: boolean;
2305
- "depth"?: number;
2306
- "hasChildren"?: boolean;
2307
- "inActiveTrail"?: boolean;
2308
- "isActive"?: boolean;
2309
- "isActiveChild"?: boolean;
2310
- "isDemo"?: boolean;
2311
- "isExternal"?: boolean;
2312
- "isHeading"?: boolean;
2313
- "isParent"?: boolean;
2314
- "label"?: string;
2315
- "menuButtonBreadcrumbMain"?: string;
2316
- "menuButtonSubmenuExpand"?: string;
2317
- "menuItemAlternative"?: boolean;
2318
- "menuLinkId"?: string;
2319
- "menuType"?: MenuType;
2320
- "onAddBreadcrumb"?: (event: CustomEvent<any>) => void;
2321
- "onMenuContainerActiveTrail"?: (event: CustomEvent<any>) => void;
2322
- "onMenuContainerToggled"?: (event: CustomEvent<any>) => void;
2323
- "onRouteClicked"?: (event: CustomEvent<any>) => void;
2324
- "parentAsHeading"?: string;
2325
- "parentExpanded"?: boolean;
2326
- "url"?: string;
2327
- }
2328
2164
  interface HyMenuLanguage {
2329
2165
  "dataMenuLanguage"?: MenuLanguage[] | string;
2330
2166
  "isGroup"?: boolean;
@@ -2339,24 +2175,6 @@ declare namespace LocalJSX {
2339
2175
  "langCode"?: string;
2340
2176
  "url"?: string;
2341
2177
  }
2342
- interface HyMenuLevelContainer {
2343
- "activeTrailTriggered"?: boolean;
2344
- "depth"?: number;
2345
- /**
2346
- * label for front page for panel first parent
2347
- */
2348
- "frontLabel"?: string;
2349
- /**
2350
- * Url to front page for panel first parent
2351
- */
2352
- "frontUrl"?: string;
2353
- "headingItem"?: any;
2354
- "labelFrontPage"?: string;
2355
- "menuButtonSubmenuExpand"?: string;
2356
- "menuLevel"?: number;
2357
- "menuType"?: MenuType;
2358
- "triggerItem"?: string;
2359
- }
2360
2178
  interface HyMenuMainGroup {
2361
2179
  "dataMainMenu"?: MainMenu[] | string;
2362
2180
  "donate"?: DonateLink[];
@@ -2364,24 +2182,12 @@ declare namespace LocalJSX {
2364
2182
  "logoLabel"?: string;
2365
2183
  "logoUrl"?: string;
2366
2184
  "menuLabel"?: string;
2185
+ "menuLabelClose"?: string;
2367
2186
  "onMobileMenuTopToggle"?: (event: CustomEvent<any>) => void;
2368
2187
  "onUniversityMainMenuToggled"?: (event: CustomEvent<any>) => void;
2369
2188
  "siteLabel"?: string;
2370
2189
  "siteUrl"?: string;
2371
2190
  }
2372
- interface HyMenuMobileBreadcrumb {
2373
- "bid"?: string;
2374
- "isFirst"?: boolean;
2375
- "label"?: string;
2376
- "labelBack"?: string;
2377
- "labelFrontPage"?: string;
2378
- "logoUrl"?: string;
2379
- "onRemoveBreadcrumb"?: (event: CustomEvent<any>) => void;
2380
- }
2381
- interface HyMobileMenuShortcuts {
2382
- "dataShortcutLinks"?: ShortcutLinks[] | string;
2383
- "shortcutsLabel"?: string;
2384
- }
2385
2191
  interface HyOpeningHours {
2386
2192
  "blockId"?: string;
2387
2193
  "blockTitle"?: string;
@@ -2514,7 +2320,6 @@ declare namespace LocalJSX {
2514
2320
  "listHeading"?: string;
2515
2321
  }
2516
2322
  interface HySiteHeader {
2517
- "dataDesktopLinks"?: DesktopLinks[] | string;
2518
2323
  "dataMainMenuLinks"?: DesktopLinks[] | string;
2519
2324
  "dataMenuDonate"?: string;
2520
2325
  "dataMenuLanguage"?: string;
@@ -2682,7 +2487,6 @@ declare namespace LocalJSX {
2682
2487
  "hy-crisis-banner": HyCrisisBanner;
2683
2488
  "hy-cta-button": HyCtaButton;
2684
2489
  "hy-cta-link": HyCtaLink;
2685
- "hy-desktop-menu-links": HyDesktopMenuLinks;
2686
2490
  "hy-docs-container": HyDocsContainer;
2687
2491
  "hy-dropdown": HyDropdown;
2688
2492
  "hy-dropdown-panel": HyDropdownPanel;
@@ -2724,14 +2528,9 @@ declare namespace LocalJSX {
2724
2528
  "hy-logo-grid-item": HyLogoGridItem;
2725
2529
  "hy-main": HyMain;
2726
2530
  "hy-main-content-wrapper": HyMainContentWrapper;
2727
- "hy-menu": HyMenu;
2728
- "hy-menu-item": HyMenuItem;
2729
2531
  "hy-menu-language": HyMenuLanguage;
2730
2532
  "hy-menu-language-item": HyMenuLanguageItem;
2731
- "hy-menu-level-container": HyMenuLevelContainer;
2732
2533
  "hy-menu-main-group": HyMenuMainGroup;
2733
- "hy-menu-mobile-breadcrumb": HyMenuMobileBreadcrumb;
2734
- "hy-mobile-menu-shortcuts": HyMobileMenuShortcuts;
2735
2534
  "hy-opening-hours": HyOpeningHours;
2736
2535
  "hy-opening-hours-content": HyOpeningHoursContent;
2737
2536
  "hy-pager": HyPager;
@@ -2785,7 +2584,6 @@ declare module "@stencil/core" {
2785
2584
  "hy-crisis-banner": LocalJSX.HyCrisisBanner & JSXBase.HTMLAttributes<HTMLHyCrisisBannerElement>;
2786
2585
  "hy-cta-button": LocalJSX.HyCtaButton & JSXBase.HTMLAttributes<HTMLHyCtaButtonElement>;
2787
2586
  "hy-cta-link": LocalJSX.HyCtaLink & JSXBase.HTMLAttributes<HTMLHyCtaLinkElement>;
2788
- "hy-desktop-menu-links": LocalJSX.HyDesktopMenuLinks & JSXBase.HTMLAttributes<HTMLHyDesktopMenuLinksElement>;
2789
2587
  "hy-docs-container": LocalJSX.HyDocsContainer & JSXBase.HTMLAttributes<HTMLHyDocsContainerElement>;
2790
2588
  "hy-dropdown": LocalJSX.HyDropdown & JSXBase.HTMLAttributes<HTMLHyDropdownElement>;
2791
2589
  "hy-dropdown-panel": LocalJSX.HyDropdownPanel & JSXBase.HTMLAttributes<HTMLHyDropdownPanelElement>;
@@ -2827,14 +2625,9 @@ declare module "@stencil/core" {
2827
2625
  "hy-logo-grid-item": LocalJSX.HyLogoGridItem & JSXBase.HTMLAttributes<HTMLHyLogoGridItemElement>;
2828
2626
  "hy-main": LocalJSX.HyMain & JSXBase.HTMLAttributes<HTMLHyMainElement>;
2829
2627
  "hy-main-content-wrapper": LocalJSX.HyMainContentWrapper & JSXBase.HTMLAttributes<HTMLHyMainContentWrapperElement>;
2830
- "hy-menu": LocalJSX.HyMenu & JSXBase.HTMLAttributes<HTMLHyMenuElement>;
2831
- "hy-menu-item": LocalJSX.HyMenuItem & JSXBase.HTMLAttributes<HTMLHyMenuItemElement>;
2832
2628
  "hy-menu-language": LocalJSX.HyMenuLanguage & JSXBase.HTMLAttributes<HTMLHyMenuLanguageElement>;
2833
2629
  "hy-menu-language-item": LocalJSX.HyMenuLanguageItem & JSXBase.HTMLAttributes<HTMLHyMenuLanguageItemElement>;
2834
- "hy-menu-level-container": LocalJSX.HyMenuLevelContainer & JSXBase.HTMLAttributes<HTMLHyMenuLevelContainerElement>;
2835
2630
  "hy-menu-main-group": LocalJSX.HyMenuMainGroup & JSXBase.HTMLAttributes<HTMLHyMenuMainGroupElement>;
2836
- "hy-menu-mobile-breadcrumb": LocalJSX.HyMenuMobileBreadcrumb & JSXBase.HTMLAttributes<HTMLHyMenuMobileBreadcrumbElement>;
2837
- "hy-mobile-menu-shortcuts": LocalJSX.HyMobileMenuShortcuts & JSXBase.HTMLAttributes<HTMLHyMobileMenuShortcutsElement>;
2838
2631
  "hy-opening-hours": LocalJSX.HyOpeningHours & JSXBase.HTMLAttributes<HTMLHyOpeningHoursElement>;
2839
2632
  "hy-opening-hours-content": LocalJSX.HyOpeningHoursContent & JSXBase.HTMLAttributes<HTMLHyOpeningHoursContentElement>;
2840
2633
  "hy-pager": LocalJSX.HyPager & JSXBase.HTMLAttributes<HTMLHyPagerElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcenteratunihelsinki/huds-lib",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Helsinki University Design System library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,262 +0,0 @@
1
- :root {
2
- --brand-main: #0e688b;
3
- --brand-main-soft: #b1e7ff;
4
- --brand-main-bright: #48c5f8;
5
- --brand-main-light: #107eab;
6
- --brand-main-active: #005379;
7
- --brand-main-dark: #003146;
8
- --brand-main-nearly-black: #000222;
9
- --link-blue: #0479a4;
10
- --link-disabled: #767676;
11
- --grayscale-white: #fff;
12
- --grayscale-slightly-gray: #fefefe;
13
- --grayscale-light: #f8f8f8;
14
- --grayscale-medium: #d2d2d2;
15
- --grayscale-background-box: #f5f5f5;
16
- --grayscale-tabs-border: #e6e6e6;
17
- --grayscale-background-arrow: #dfdfdf;
18
- --grayscale-medium-dark: #979797;
19
- --grayscale-dark: #555555;
20
- --grayscale-dark-text: #222222;
21
- --grayscale-black: #000000;
22
- --additional-red-light: #e5053a;
23
- --additional-red-dark: #a31621;
24
- --additional-purple-light: #420039;
25
- --additional-yellow: #f9a21a;
26
- --additional-skyblue: #48c5f8;
27
- --additional-orange: #d14600;
28
- --additional-green-light: #96ba3c;
29
- --additional-green-dark: #006400;
30
- --hover-gray: #eaeaea;
31
- }
32
-
33
- * {
34
- -webkit-box-sizing: border-box;
35
- box-sizing: border-box;
36
- }
37
-
38
- :root {
39
- --gutter-mobile: 16px;
40
- --gutter-narrow: 24px;
41
- --gutter-medium: 24px;
42
- --gutter-wide: 24px;
43
- --gutter-extrawide: 32px;
44
- }
45
-
46
- /**
47
- * Mixin for fluid type.
48
- * Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
49
- */
50
-
51
- :root {
52
- --breakpoint-extrawide: 75.0625rem;
53
- --breakpoint-max-width: 75.0625rem;
54
- --breakpoint-medium: 48rem;
55
- --breakpoint-narrow: 30rem;
56
- --breakpoint-wide: 60rem;
57
- }
58
-
59
- :host {
60
- margin: 0;
61
- padding: 0;
62
- }
63
-
64
- .hy-mobile-menu__header {
65
- display: grid;
66
- grid-template-columns: 1fr auto;
67
- padding: 12px 16px;
68
- gap: 16px;
69
- -webkit-box-align: center;
70
- -ms-flex-align: center;
71
- align-items: center;
72
- }
73
-
74
- .hy-mobile-menu__menu-close-button {
75
- font-size: 1rem;
76
- line-height: 18px;
77
- font-weight: 700;
78
- -webkit-box-align: center;
79
- -ms-flex-align: center;
80
- align-items: center;
81
- background-color: transparent;
82
- border: none;
83
- color: var(--brand-main);
84
- display: -webkit-inline-box;
85
- display: -ms-inline-flexbox;
86
- display: inline-flex;
87
- font-family: var(--main-font-family);
88
- letter-spacing: -0.3px;
89
- padding: 16px;
90
- margin-left: auto;
91
- margin-right: -16px;
92
- pointer-events: none;
93
- visibility: hidden;
94
- }
95
-
96
- .hy-mobile-menu__menu-close-button:hover {
97
- cursor: pointer;
98
- }
99
-
100
- .hy-mobile-menu__menu-close-button hy-icon {
101
- margin-left: 8px;
102
- }
103
-
104
- .hy-mobile-menu__menu-close-button hy-icon svg {
105
- fill: var(--brand-main);
106
- }
107
-
108
- .hy-menu-wrapper--mobile {
109
- -webkit-box-align: stretch;
110
- -ms-flex-align: stretch;
111
- align-items: stretch;
112
- bottom: 0;
113
- display: -webkit-box;
114
- display: -ms-flexbox;
115
- display: flex;
116
- -webkit-box-orient: vertical;
117
- -webkit-box-direction: normal;
118
- -ms-flex-flow: column;
119
- flex-flow: column;
120
- justify-items: stretch;
121
- left: 0;
122
- position: absolute;
123
- right: 0;
124
- top: 0;
125
- z-index: 99;
126
- }
127
-
128
- .hy-menu-wrapper--mobile.is-open {
129
- z-index: 101;
130
- }
131
-
132
- .hy-menu-wrapper--desktop {
133
- padding: 0;
134
- }
135
-
136
- .hy-menu-wrapper--sidenav {
137
- display: none;
138
- }
139
-
140
- .hy-menu-wrapper--sidenav.is-demo {
141
- display: block;
142
- }
143
-
144
- @media (min-width: 30rem) {
145
- .hy-menu-wrapper--sidenav {
146
- display: block;
147
- }
148
- }
149
-
150
- .hy-mobile-menu__menu-container {
151
- min-height: calc(100vh - 126px);
152
- overflow-x: hidden;
153
- overflow-y: visible;
154
- }
155
-
156
- .hy-menu--mobile {
157
- -webkit-overflow-scrolling: touch;
158
- -webkit-box-orient: vertical;
159
- -webkit-box-direction: normal;
160
- -ms-flex-flow: column;
161
- flex-flow: column;
162
- -webkit-transform: translateX(100%);
163
- transform: translateX(100%);
164
- -webkit-transition: 0.45s;
165
- transition: 0.45s;
166
- width: 100%;
167
- z-index: 100;
168
- }
169
-
170
- @media (min-width: 75.0625rem) {
171
- .hy-menu--mobile:not(.is-demo) {
172
- min-height: 0;
173
- -webkit-transform: translateX(0);
174
- transform: translateX(0);
175
- visibility: visible;
176
- }
177
- }
178
-
179
- .hy-menu--mobile.is-open {
180
- -webkit-transform: translateX(0);
181
- transform: translateX(0);
182
- -webkit-transition: -webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);
183
- transition: -webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);
184
- transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1);
185
- transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);
186
- }
187
-
188
- .hy-menu--mobile.is-open::after {
189
- opacity: 1;
190
- visibility: visible;
191
- }
192
-
193
- .hy-menu-breadcrumb-container {
194
- display: -webkit-box;
195
- display: -ms-flexbox;
196
- display: flex;
197
- -webkit-box-orient: vertical;
198
- -webkit-box-direction: normal;
199
- -ms-flex-flow: column;
200
- flex-flow: column;
201
- }
202
-
203
- .hy-menu__logo-container {
204
- display: inline-block;
205
- padding: 16px;
206
- z-index: 100;
207
- }
208
-
209
- @media (min-width: 30rem) {
210
- .hy-menu__logo-container {
211
- padding: 16px 28px;
212
- }
213
- }
214
-
215
- .hy-mobile-menu__donate {
216
- background-color: var(--grayscale-white);
217
- bottom: 0;
218
- -webkit-box-shadow: rgba(14, 104, 139, 0.2) 0px -20px 20px -20px;
219
- box-shadow: rgba(14, 104, 139, 0.2) 0px -20px 20px -20px;
220
- position: sticky;
221
- z-index: 102;
222
- }
223
-
224
- .hy-mobile-menu__donate a {
225
- font-size: 1rem;
226
- line-height: 16px;
227
- font-weight: 600;
228
- -webkit-box-align: center;
229
- -ms-flex-align: center;
230
- align-items: center;
231
- background-color: var(--grayscale-white);
232
- color: var(--grayscale-black);
233
- display: block;
234
- display: -webkit-box;
235
- display: -ms-flexbox;
236
- display: flex;
237
- font-family: var(--main-font-family);
238
- -webkit-box-pack: center;
239
- -ms-flex-pack: center;
240
- justify-content: center;
241
- letter-spacing: -0.4px;
242
- padding: 20px 0 16px;
243
- text-align: center;
244
- text-decoration: none;
245
- }
246
-
247
- .hy-mobile-menu__donate a:focus {
248
- outline: solid 2px var(--additional-yellow);
249
- }
250
-
251
- .hy-mobile-menu__donate a svg {
252
- margin-right: 5px;
253
- }
254
-
255
- .hy-menu__breadcrumbs {
256
- display: block;
257
- position: relative;
258
- }
259
-
260
- .hy-menu__breadcrumbs.is-empty {
261
- min-height: 35px;
262
- }