@illinois-toolkit/ilw-header-megamenu 1.0.0 → 1.0.2
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/README.md +1 -1
- package/builder/ilw-header-megamenu.json +19 -10
- package/builder/versions/ilw-header-megamenu.1.0.json +63 -67
- package/dist/MegaMenuSection.d.ts +1 -0
- package/dist/MegaMenuSection.d.ts.map +1 -1
- package/dist/cdn/ilw-header-megamenu.css +1 -1
- package/dist/cdn/ilw-header-megamenu.js +41 -37
- package/dist/ilw-header-megamenu.css +1 -1
- package/dist/ilw-header-megamenu.js +15 -11
- package/package.json +1 -1
- package/src/MegaMenuSection.css +8 -10
- package/src/MegaMenuSection.styles.css +6 -6
- package/src/MegaMenuSection.ts +13 -1
- package/builder/versions/ilw-header-megamenu.1.0-alpha.json +0 -70
- package/builder/versions/ilw-header-megamenu.2.0-alpha.json +0 -76
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ Optional action-left and action-right slots can contain:
|
|
|
47
47
|
<ilw-header-megamenu-section class="solo-list">
|
|
48
48
|
<span slot="label">Single Unordered List</span>
|
|
49
49
|
<ul>
|
|
50
|
-
<li><a href="/">
|
|
50
|
+
<li><a href="/">Web Implementation Guidelines Group</a></li>
|
|
51
51
|
<li><a href="/">Graduate Admissions</a></li>
|
|
52
52
|
<li><a href="/">International Admissions</a></li>
|
|
53
53
|
<li><a href="/">Degrees</a></li>
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"title": "Header Mega Menu",
|
|
3
|
+
"id": "ilw-header-megamenu",
|
|
4
|
+
"type": "Web Component",
|
|
5
|
+
"repository-name": "ilw-header-megamenu",
|
|
6
|
+
"description": "Build a spacious, multi-column navigation menu for sites with many top-level links and grouped destinations.",
|
|
7
|
+
"purpose": "Build a mega menu navigation",
|
|
8
|
+
"customtemplates": [],
|
|
9
|
+
"versions": [
|
|
10
|
+
{
|
|
11
|
+
"name": "1.0",
|
|
12
|
+
"notes": "",
|
|
13
|
+
"template": "1.0"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "1.0.2",
|
|
17
|
+
"notes": "The 1.0.2 release includes minor updates and fixes for long link titles layouts and browser compatibility.",
|
|
18
|
+
"template": "1.0"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
12
21
|
}
|
|
@@ -1,70 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"template": "1.0",
|
|
3
|
+
"id": "ilw-header-megamenu",
|
|
4
|
+
"notes": "",
|
|
5
|
+
"usejs": true,
|
|
6
|
+
"usecss": true,
|
|
7
|
+
"builder-information": {
|
|
6
8
|
"element-name": "ilw-header-megamenu",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"description": "Allows a secondary item to fill up three columns at a time",
|
|
65
|
-
"deprecated": false
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"css-variables": [
|
|
69
|
-
]
|
|
9
|
+
"addon-html": "",
|
|
10
|
+
"parent-style": ""
|
|
11
|
+
},
|
|
12
|
+
"added-components": [],
|
|
13
|
+
"samples": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Default",
|
|
16
|
+
"description": "Default Links",
|
|
17
|
+
"text": "<ul> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>About</span> <ul> <li><a href='/'>Directory</a></li> <li><a href='/'>Departments</a></li> <li><a href='/'>News</a></li> <li><a href='/'>Events</a></li> <li><a href='/'>Careers</a></li> <li><a href='/'>Contact</a></li> <li><a href='/'>Visit</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Admissions</span> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>International Admissions</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Academics</span> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Honors Programs</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Academic Calendar</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Research</span> <ul> <li><a href='/'>Research Centers</a></li> <li><a href='/'>History</a></li> <li><a href='/'>Resources</a> </ul> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Community</span> <ul> <li><a href='/'>Visit</a></li> <li><a href='/'>Student Life</a></li> <li><a href='/'>Public Events</a></li> <li><a href='/'>First-Gen Services</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Alumni</span> <ul> <li><a href='/'>Get Involved</a></li> <li><a href='/'>Awards</a></li> <li><a href='/'>Give</a></li> <li><a href='/'>Events</a></li> </ul> </ilw-header-megamenu-section> </li> </ul>"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "All Variations",
|
|
21
|
+
"description": "Includes every variation of the mega menu settings",
|
|
22
|
+
"text": "<ul> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Single Unordered List</span> <ul> <li><a href='/'>Undergrad Admissions and a very long title to see the bug fixes for very long titles</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Distinct Columns</span> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>International Admissions</a></li> </ul> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Decorative Image</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <span slot='action-left' class='span-3'> <img src='https://fastly.picsum.photos/id/1025/500/400.jpg?hmac=MPFZjsU2UG1Mr3SjMkYP2F9jnhQWyatt6soxbOj0TN4' alt=''> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>CTA with image</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action-left' class=''> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> <img src='https://picsum.photos/id/37/300/300' alt=''> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Plain CTA</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action-right' class='span-2'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> </span> <span slot='action-left' class='span-2'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> </span> </ilw-header-megamenu-section> </li> </ul>"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"attributes-fixed": [],
|
|
26
|
+
"attributes-text": [],
|
|
27
|
+
"attributes": [
|
|
28
|
+
{
|
|
29
|
+
"name": "compact",
|
|
30
|
+
"description": "Whether or not it is compact",
|
|
31
|
+
"deprecated": false,
|
|
32
|
+
"values": [
|
|
33
|
+
"",
|
|
34
|
+
"true"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "width",
|
|
39
|
+
"description": "The width it switches to compact, in pixels. Must be a number. Default is 990.",
|
|
40
|
+
"deprecated": false,
|
|
41
|
+
"values": [
|
|
42
|
+
"",
|
|
43
|
+
"990"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"classes-fixed": [],
|
|
48
|
+
"classes": [
|
|
49
|
+
{
|
|
50
|
+
"name": "align-left",
|
|
51
|
+
"description": "forces a secondary item to go to the left-most column of the menu dropdown",
|
|
52
|
+
"deprecated": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "span-2",
|
|
56
|
+
"description": "Allows a secondary item to fill up two columns at a time",
|
|
57
|
+
"deprecated": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "span-3",
|
|
61
|
+
"description": "Allows a secondary item to fill up three columns at a time",
|
|
62
|
+
"deprecated": false
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"css-variables": []
|
|
70
66
|
}
|
|
@@ -16,6 +16,7 @@ export default class MegaMenuSection extends LitElement {
|
|
|
16
16
|
getSections(): NodeListOf<MegaMenuSection>;
|
|
17
17
|
closeAllExceptOneSections(target: EventTarget | null): void;
|
|
18
18
|
private hasSlotContent;
|
|
19
|
+
private limitSoloListItems;
|
|
19
20
|
render(): import('lit-html').TemplateResult<1>;
|
|
20
21
|
}
|
|
21
22
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MegaMenuSection.d.ts","sourceRoot":"","sources":["../src/MegaMenuSection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGlD,OAAO,uBAAuB,CAAC;AAI/B,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IAKnD,OAAO,UAAS;IAKhB,OAAO,UAAS;IAKhB,QAAQ,UAAS;IAKjB,SAAS,UAAS;IAElB,MAAM,KAAK,MAAM,4BAEhB;IAGD,iBAAiB,CAAC,GAAG,EAAE,KAAK;IAK5B,mBAAmB,CAAC,GAAG,EAAE,aAAa;IAuBvC,QAAQ;IASP,cAAc;IAyBd,kBAAkB;IAqBlB,WAAW;IAMT,eAAe;IAIf,kCAAkC,CAAC,GAAG,EAAE,WAAW;IAKrD,WAAW;IAIX,yBAAyB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAIpD,OAAO,CAAC,cAAc;IAMtB,MAAM;CAoET;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,6BAA6B,EAAE,eAAe,CAAC;KAClD;CACJ"}
|
|
1
|
+
{"version":3,"file":"MegaMenuSection.d.ts","sourceRoot":"","sources":["../src/MegaMenuSection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGlD,OAAO,uBAAuB,CAAC;AAI/B,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IAKnD,OAAO,UAAS;IAKhB,OAAO,UAAS;IAKhB,QAAQ,UAAS;IAKjB,SAAS,UAAS;IAElB,MAAM,KAAK,MAAM,4BAEhB;IAGD,iBAAiB,CAAC,GAAG,EAAE,KAAK;IAK5B,mBAAmB,CAAC,GAAG,EAAE,aAAa;IAuBvC,QAAQ;IASP,cAAc;IAyBd,kBAAkB;IAqBlB,WAAW;IAMT,eAAe;IAIf,kCAAkC,CAAC,GAAG,EAAE,WAAW;IAKrD,WAAW;IAIX,yBAAyB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAIpD,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,kBAAkB,CAUzB;IAED,MAAM;CAoET;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,6BAA6B,EAAE,eAAe,CAAC;KAClD;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
ilw-header-megamenu[compact]{--ilw-header-megamenu--background: #e8e9eb;--ilw-header-megamenu--flex-direction: column;--ilw-header-megamenu--items--position: relative;--ilw-header-megamenu--items--border: none;--ilw-header-megamenu--items--box-shadow: none;--ilw-header-megamenu--items--width: 100%;--ilw-header-megamenu--font: 600 18px / 28px var(--il-font-sans);--ilw-header-megamenu--grid-template-columns: auto 52px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: none;--ilw-header-megamenu--link-border-bottom-highlight--hover: none;--ilw-header-megamenu--link-border-bottom-highlight--focus: none;--ilw-header-megamenu--items--position: initial;--ilw-header-megamenu-section--grid-template-columns--header: auto 22px;--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul{all:initial;display:flex;flex-direction:var(--ilw-header-megamenu--flex-direction)}ilw-header-megamenu>ul>li{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul>li>a{all:initial;box-sizing:border-box;height:100%;display:flex;align-items:center;position:relative;padding:6px 20px;font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-width:0 0 3px 0;border-style:solid;border-color:transparent;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}ilw-header-megamenu>ul>li>a[aria-current=true],ilw-header-megamenu>ul>li>a[aria-current=page]{border-color:var(--il-blue)}ilw-header-megamenu>ul>li>a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);border-left:var(--ilw-header-megamenu--link-border-left-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu>ul>li>a:focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact]>ul>li>a{border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu-section img{display:none}ilw-header-megamenu-section span[slot=action-right],ilw-header-megamenu-section span[slot=action-left]{position:relative}ilw-header-megamenu-section span[slot=action-right] img,ilw-header-megamenu-section span[slot=action-left] img{display:inline;margin:36px;object-fit:cover;border-radius:30px;width:calc(100% - 72px);height:auto}ilw-header-megamenu-section span[slot=action-right]:has(p+button) img,ilw-header-megamenu-section span[slot=action-left]:has(p+button) img{display:block;position:absolute;top:0;left:0;margin:36px;height:calc(100% - 72px);width:calc(100% - 72px);object-fit:cover}ilw-header-megamenu-section span[slot=action-right] p:first-of-type,ilw-header-megamenu-section span[slot=action-left] p:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:21px;font-weight:700;color:var(--il-blue);font-family:Source Sans,sans-serif;margin-top:-30px;width:50%;z-index:1}ilw-header-megamenu-section span[slot=action-right] button:first-of-type,ilw-header-megamenu-section span[slot=action-left] button:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;margin-top:30px}ilw-header-megamenu-section ul{list-style:none;margin:30px 0;padding-left:0;border-right:solid 2px var(--il-storm-85, #d5d3d3)}ilw-header-megamenu-section ul li{list-style:none;padding-left:30px}ilw-header-megamenu-section ul li span{display:inline-block;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent)}ilw-header-megamenu-section ul li ul{display:inherit;margin:0;border:none}ilw-header-megamenu-section ul li ul a{font-weight:400}ilw-header-megamenu-section ul li ul:nth-of-type(4n){border-right:none!important}ilw-header-megamenu-section ul li a{--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: 4px solid transparent;all:initial;box-sizing:border-box;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent);display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);font-weight:700;background:transparent;color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-top:var(--ilw-header-megamenu-section--anchor--border);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight)}ilw-header-megamenu-section ul li a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-bottom:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu-section ilw-header-megamenu-section{--ilw-header-megamenu--items--top: 0;--ilw-header-megamenu--items--left: 250px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: initial;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--grid-template-columns: auto 55px;--ilw-header-megamenu-section--transform: rotate(270deg);--ilw-header-megamenu-section--transform--selected: rotate(90deg)}ilw-header-megamenu[compact] ilw-header-megamenu-section{display:block;border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu[compact] ilw-header-megamenu-section a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-left],ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-right]{display:block;min-height:250px}ilw-header-megamenu[compact] ilw-header-megamenu-section div{display:block}ilw-header-megamenu[compact] ilw-header-megamenu-section ul{display:inherit;padding:0;margin:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li{--ilw-header-megamenu-section--anchor--text-indent: 20px;border-top:1px solid var(--il-storm-lighter-3);background:var(--il-storm-lighter-4);padding-left:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a{border-left:var(--ilw-header-megamenu--link-border-left-highlight);border-bottom:none}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);border-bottom:none;color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li ul li a{padding-left:45px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section{border-bottom:none;--ilw-header-megamenu-section--transform: none;--ilw-header-megamenu-section--transform--selected: rotate(180deg);--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul a,ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul button{--ilw-header-megamenu-section--anchor--text-indent: 40px}
|
|
1
|
+
ilw-header-megamenu[compact]{--ilw-header-megamenu--background: #e8e9eb;--ilw-header-megamenu--flex-direction: column;--ilw-header-megamenu--items--position: relative;--ilw-header-megamenu--items--border: none;--ilw-header-megamenu--items--box-shadow: none;--ilw-header-megamenu--items--width: 100%;--ilw-header-megamenu--font: 600 18px / 28px var(--il-font-sans);--ilw-header-megamenu--grid-template-columns: auto 52px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: none;--ilw-header-megamenu--link-border-bottom-highlight--hover: none;--ilw-header-megamenu--link-border-bottom-highlight--focus: none;--ilw-header-megamenu--items--position: initial;--ilw-header-megamenu-section--grid-template-columns--header: auto 22px;--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul{all:initial;display:flex;flex-direction:var(--ilw-header-megamenu--flex-direction)}ilw-header-megamenu>ul>li{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul>li>a{all:initial;box-sizing:border-box;height:100%;display:flex;align-items:center;position:relative;padding:6px 20px;font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-width:0 0 3px 0;border-style:solid;border-color:transparent;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}ilw-header-megamenu>ul>li>a[aria-current=true],ilw-header-megamenu>ul>li>a[aria-current=page]{border-color:var(--il-blue)}ilw-header-megamenu>ul>li>a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);border-left:var(--ilw-header-megamenu--link-border-left-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu>ul>li>a:focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact]>ul>li>a{border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu-section img{display:none}ilw-header-megamenu-section span[slot=action-right],ilw-header-megamenu-section span[slot=action-left]{position:relative}ilw-header-megamenu-section span[slot=action-right] img,ilw-header-megamenu-section span[slot=action-left] img{display:inline;margin:36px;object-fit:cover;border-radius:30px;width:calc(100% - 72px);height:auto}ilw-header-megamenu-section span[slot=action-right]:has(p+button) img,ilw-header-megamenu-section span[slot=action-left]:has(p+button) img{display:block;position:absolute;top:0;left:0;margin:36px;height:calc(100% - 72px);width:calc(100% - 72px);object-fit:cover}ilw-header-megamenu-section span[slot=action-right] p:first-of-type,ilw-header-megamenu-section span[slot=action-left] p:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:21px;font-weight:700;color:var(--il-blue);font-family:Source Sans,sans-serif;margin-top:-30px;width:50%;z-index:1}ilw-header-megamenu-section span[slot=action-right] button:first-of-type,ilw-header-megamenu-section span[slot=action-left] button:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;margin-top:30px}ilw-header-megamenu-section ul{list-style:none;margin:30px 0;padding-left:0;border-right:solid 2px var(--il-storm-85, #d5d3d3)}ilw-header-megamenu-section ul li{list-style:none;padding-left:30px}ilw-header-megamenu-section ul li span{display:inline-block;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent)}ilw-header-megamenu-section ul li ul{display:inherit;margin:0;border:none}ilw-header-megamenu-section ul li ul a{font-weight:400}ilw-header-megamenu-section ul li ul:nth-of-type(4n){border-right:none!important}ilw-header-megamenu-section ul li a{--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: 4px solid transparent;all:initial;box-sizing:border-box;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent);display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);font-weight:700;background:transparent;color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-top:var(--ilw-header-megamenu-section--anchor--border);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight)}ilw-header-megamenu-section ul li a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-bottom:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu-section li>img{display:none}ilw-header-megamenu-section .no-border{border:none}ilw-header-megamenu-section ilw-header-megamenu-section{--ilw-header-megamenu--items--top: 0;--ilw-header-megamenu--items--left: 250px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: initial;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--grid-template-columns: auto 55px;--ilw-header-megamenu-section--transform: rotate(270deg);--ilw-header-megamenu-section--transform--selected: rotate(90deg)}ilw-header-megamenu[compact] ilw-header-megamenu-section{display:block;border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu[compact] ilw-header-megamenu-section a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-left],ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-right]{display:block;min-height:250px}ilw-header-megamenu[compact] ilw-header-megamenu-section div{display:block}ilw-header-megamenu[compact] ilw-header-megamenu-section ul{display:inherit;padding:0;margin:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li{--ilw-header-megamenu-section--anchor--text-indent: 20px;border-top:1px solid var(--il-storm-lighter-3);background:var(--il-storm-lighter-4);padding-left:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a{border-left:var(--ilw-header-megamenu--link-border-left-highlight);border-bottom:none}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);border-bottom:none;color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li ul li a{padding-left:45px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section{border-bottom:none;--ilw-header-megamenu-section--transform: none;--ilw-header-megamenu-section--transform--selected: rotate(180deg);--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul a,ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul button{--ilw-header-megamenu-section--anchor--text-indent: 40px}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const N = globalThis, D = N.ShadowRoot && (N.ShadyCSS === void 0 || N.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = /* @__PURE__ */ Symbol(), Z = /* @__PURE__ */ new WeakMap();
|
|
2
2
|
let ce = class {
|
|
3
3
|
constructor(e, t, i) {
|
|
4
4
|
if (this._$cssResult$ = !0, i !== ne) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -7,7 +7,7 @@ let ce = class {
|
|
|
7
7
|
get styleSheet() {
|
|
8
8
|
let e = this.o;
|
|
9
9
|
const t = this.t;
|
|
10
|
-
if (
|
|
10
|
+
if (D && e === void 0) {
|
|
11
11
|
const i = t !== void 0 && t.length === 1;
|
|
12
12
|
i && (e = Z.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Z.set(t, e));
|
|
13
13
|
}
|
|
@@ -18,17 +18,17 @@ let ce = class {
|
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
const j = (s) => new ce(typeof s == "string" ? s : s + "", void 0, ne), de = (s, e) => {
|
|
21
|
-
if (
|
|
21
|
+
if (D) s.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
|
|
22
22
|
else for (const t of e) {
|
|
23
|
-
const i = document.createElement("style"), n =
|
|
23
|
+
const i = document.createElement("style"), n = N.litNonce;
|
|
24
24
|
n !== void 0 && i.setAttribute("nonce", n), i.textContent = t.cssText, s.appendChild(i);
|
|
25
25
|
}
|
|
26
|
-
}, G =
|
|
26
|
+
}, G = D ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
|
|
27
27
|
let t = "";
|
|
28
28
|
for (const i of e.cssRules) t += i.cssText;
|
|
29
29
|
return j(t);
|
|
30
30
|
})(s) : s;
|
|
31
|
-
const { is: ue, defineProperty: pe, getOwnPropertyDescriptor: me, getOwnPropertyNames: ge, getOwnPropertySymbols: fe, getPrototypeOf: ve } = Object, W = globalThis, J = W.trustedTypes, be = J ? J.emptyScript : "", $e = W.reactiveElementPolyfillSupport, k = (s, e) => s,
|
|
31
|
+
const { is: ue, defineProperty: pe, getOwnPropertyDescriptor: me, getOwnPropertyNames: ge, getOwnPropertySymbols: fe, getPrototypeOf: ve } = Object, W = globalThis, J = W.trustedTypes, be = J ? J.emptyScript : "", $e = W.reactiveElementPolyfillSupport, k = (s, e) => s, L = { toAttribute(s, e) {
|
|
32
32
|
switch (e) {
|
|
33
33
|
case Boolean:
|
|
34
34
|
s = s ? be : null;
|
|
@@ -56,8 +56,8 @@ const { is: ue, defineProperty: pe, getOwnPropertyDescriptor: me, getOwnProperty
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
return t;
|
|
59
|
-
} }, q = (s, e) => !ue(s, e), Q = { attribute: !0, type: String, converter:
|
|
60
|
-
Symbol.metadata ??= Symbol("metadata"), W.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
59
|
+
} }, q = (s, e) => !ue(s, e), Q = { attribute: !0, type: String, converter: L, reflect: !1, useDefault: !1, hasChanged: q };
|
|
60
|
+
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), W.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
61
61
|
let $ = class extends HTMLElement {
|
|
62
62
|
static addInitializer(e) {
|
|
63
63
|
this._$Ei(), (this.l ??= []).push(e);
|
|
@@ -67,7 +67,7 @@ let $ = class extends HTMLElement {
|
|
|
67
67
|
}
|
|
68
68
|
static createProperty(e, t = Q) {
|
|
69
69
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
70
|
-
const i = Symbol(), n = this.getPropertyDescriptor(e, i, t);
|
|
70
|
+
const i = /* @__PURE__ */ Symbol(), n = this.getPropertyDescriptor(e, i, t);
|
|
71
71
|
n !== void 0 && pe(this.prototype, e, n);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -155,14 +155,14 @@ let $ = class extends HTMLElement {
|
|
|
155
155
|
_$ET(e, t) {
|
|
156
156
|
const i = this.constructor.elementProperties.get(e), n = this.constructor._$Eu(e, i);
|
|
157
157
|
if (n !== void 0 && i.reflect === !0) {
|
|
158
|
-
const o = (i.converter?.toAttribute !== void 0 ? i.converter :
|
|
158
|
+
const o = (i.converter?.toAttribute !== void 0 ? i.converter : L).toAttribute(t, i.type);
|
|
159
159
|
this._$Em = e, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
_$AK(e, t) {
|
|
163
163
|
const i = this.constructor, n = i._$Eh.get(e);
|
|
164
164
|
if (n !== void 0 && this._$Em !== n) {
|
|
165
|
-
const o = i.getPropertyOptions(n), r = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter :
|
|
165
|
+
const o = i.getPropertyOptions(n), r = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : L;
|
|
166
166
|
this._$Em = n;
|
|
167
167
|
const l = r.fromAttribute(t, o.type);
|
|
168
168
|
this[n] = l ?? this._$Ej?.get(n) ?? l, this._$Em = null;
|
|
@@ -240,9 +240,9 @@ let $ = class extends HTMLElement {
|
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
$.elementStyles = [], $.shadowRootOptions = { mode: "open" }, $[k("elementProperties")] = /* @__PURE__ */ new Map(), $[k("finalized")] = /* @__PURE__ */ new Map(), $e?.({ ReactiveElement: $ }), (W.reactiveElementVersions ??= []).push("2.1.1");
|
|
243
|
-
const B = globalThis,
|
|
244
|
-
\f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, ee = />/g, f = RegExp(`>|${
|
|
245
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), te = /'/g, ie = /"/g, ae = /^(?:script|style|textarea|title)$/i, _e = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), S = _e(1), y = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), se = /* @__PURE__ */ new WeakMap(), v = b.createTreeWalker(b, 129);
|
|
243
|
+
const B = globalThis, R = B.trustedTypes, X = R ? R.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, oe = "$lit$", g = `lit$${Math.random().toFixed(9).slice(2)}$`, re = "?" + g, we = `<${re}>`, b = document, C = () => b.createComment(""), P = (s) => s === null || typeof s != "object" && typeof s != "function", F = Array.isArray, ye = (s) => F(s) || typeof s?.[Symbol.iterator] == "function", z = `[
|
|
244
|
+
\f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, ee = />/g, f = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
|
|
245
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), te = /'/g, ie = /"/g, ae = /^(?:script|style|textarea|title)$/i, _e = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), S = _e(1), y = /* @__PURE__ */ Symbol.for("lit-noChange"), u = /* @__PURE__ */ Symbol.for("lit-nothing"), se = /* @__PURE__ */ new WeakMap(), v = b.createTreeWalker(b, 129);
|
|
246
246
|
function le(s, e) {
|
|
247
247
|
if (!F(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
248
248
|
return X !== void 0 ? X.createHTML(e) : e;
|
|
@@ -272,13 +272,13 @@ class O {
|
|
|
272
272
|
for (; (n = v.nextNode()) !== null && a.length < l; ) {
|
|
273
273
|
if (n.nodeType === 1) {
|
|
274
274
|
if (n.hasAttributes()) for (const h of n.getAttributeNames()) if (h.endsWith(oe)) {
|
|
275
|
-
const p = d[r++], m = n.getAttribute(h).split(g),
|
|
276
|
-
a.push({ type: 1, index: o, name:
|
|
275
|
+
const p = d[r++], m = n.getAttribute(h).split(g), U = /([.?@])?(.*)/.exec(p);
|
|
276
|
+
a.push({ type: 1, index: o, name: U[2], strings: m, ctor: U[1] === "." ? Ee : U[1] === "?" ? Se : U[1] === "@" ? ke : I }), n.removeAttribute(h);
|
|
277
277
|
} else h.startsWith(g) && (a.push({ type: 6, index: o }), n.removeAttribute(h));
|
|
278
278
|
if (ae.test(n.tagName)) {
|
|
279
279
|
const h = n.textContent.split(g), p = h.length - 1;
|
|
280
280
|
if (p > 0) {
|
|
281
|
-
n.textContent =
|
|
281
|
+
n.textContent = R ? R.emptyScript : "";
|
|
282
282
|
for (let m = 0; m < p; m++) n.append(h[m], C()), v.nextNode(), a.push({ type: 2, index: ++o });
|
|
283
283
|
n.append(h[p], C());
|
|
284
284
|
}
|
|
@@ -389,7 +389,7 @@ class M {
|
|
|
389
389
|
this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
class
|
|
392
|
+
class I {
|
|
393
393
|
get tagName() {
|
|
394
394
|
return this.element.tagName;
|
|
395
395
|
}
|
|
@@ -414,7 +414,7 @@ class z {
|
|
|
414
414
|
e === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
class Ee extends
|
|
417
|
+
class Ee extends I {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(...arguments), this.type = 3;
|
|
420
420
|
}
|
|
@@ -422,7 +422,7 @@ class Ee extends z {
|
|
|
422
422
|
this.element[this.name] = e === u ? void 0 : e;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
class Se extends
|
|
425
|
+
class Se extends I {
|
|
426
426
|
constructor() {
|
|
427
427
|
super(...arguments), this.type = 4;
|
|
428
428
|
}
|
|
@@ -430,7 +430,7 @@ class Se extends z {
|
|
|
430
430
|
this.element.toggleAttribute(this.name, !!e && e !== u);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
class ke extends
|
|
433
|
+
class ke extends I {
|
|
434
434
|
constructor(e, t, i, n, o) {
|
|
435
435
|
super(e, t, i, n, o), this.type = 5;
|
|
436
436
|
}
|
|
@@ -498,7 +498,7 @@ const he = (s) => (e, t) => {
|
|
|
498
498
|
customElements.define(s, e);
|
|
499
499
|
})) : customElements.define(s, e);
|
|
500
500
|
};
|
|
501
|
-
const
|
|
501
|
+
const Ue = { attribute: !0, type: String, converter: L, reflect: !1, hasChanged: q }, Ne = (s = Ue, e, t) => {
|
|
502
502
|
const { kind: i, metadata: n } = t;
|
|
503
503
|
let o = globalThis.litPropertyMetadata.get(n);
|
|
504
504
|
if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), i === "setter" && ((s = Object.create(s)).wrapped = !0), o.set(t.name, s), i === "accessor") {
|
|
@@ -520,17 +520,17 @@ const Ne = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged:
|
|
|
520
520
|
throw Error("Unsupported decorator location: " + i);
|
|
521
521
|
};
|
|
522
522
|
function x(s) {
|
|
523
|
-
return (e, t) => typeof t == "object" ?
|
|
523
|
+
return (e, t) => typeof t == "object" ? Ne(s, e, t) : ((i, n, o) => {
|
|
524
524
|
const r = n.hasOwnProperty(o);
|
|
525
525
|
return n.constructor.createProperty(o, i), r ? Object.getOwnPropertyDescriptor(n, o) : void 0;
|
|
526
526
|
})(s, e, t);
|
|
527
527
|
}
|
|
528
|
-
var
|
|
529
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
528
|
+
var Le = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, K = (s, e, t, i) => {
|
|
529
|
+
for (var n = i > 1 ? void 0 : i ? Re(e, t) : e, o = s.length - 1, r; o >= 0; o--)
|
|
530
530
|
(r = s[o]) && (n = (i ? r(e, t, n) : r(n)) || n);
|
|
531
|
-
return i && n &&
|
|
531
|
+
return i && n && Le(e, t, n), n;
|
|
532
532
|
};
|
|
533
|
-
let
|
|
533
|
+
let H = class extends w {
|
|
534
534
|
constructor() {
|
|
535
535
|
super(), this.compact = !1, this.width = 990, this.addEventListener("keydown", this.handleWindowKeydown.bind(this)), this.handleWindowResize = this.handleWindowResize.bind(this), this.handleWindowClick = this.handleWindowClick.bind(this);
|
|
536
536
|
}
|
|
@@ -616,27 +616,31 @@ K([
|
|
|
616
616
|
type: Boolean,
|
|
617
617
|
reflect: !0
|
|
618
618
|
})
|
|
619
|
-
],
|
|
619
|
+
], H.prototype, "compact", 2);
|
|
620
620
|
K([
|
|
621
621
|
x({
|
|
622
622
|
type: Number
|
|
623
623
|
})
|
|
624
|
-
],
|
|
625
|
-
|
|
624
|
+
], H.prototype, "width", 2);
|
|
625
|
+
H = K([
|
|
626
626
|
he("ilw-header-megamenu")
|
|
627
|
-
],
|
|
628
|
-
const
|
|
629
|
-
var We = Object.defineProperty,
|
|
630
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
627
|
+
], H);
|
|
628
|
+
const He = '#items{display:none}#items.expanded{all:initial;box-sizing:border-box;flex-direction:column;border:var(--ilw-header-megamenu--items--border);box-shadow:var(--ilw-header-megamenu--items--box-shadow);width:var(--ilw-header-megamenu--items--width);max-width:100vw + 39px;position:var(--ilw-header-megamenu--items--position);display:grid;left:var(--ilw-header-megamenu--items--left);top:var(--ilw-header-megamenu--items--top);z-index:100;background:#fff}.parent{height:100%}button,.link{all:initial;box-sizing:border-box;display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);fill:var(--ilw-header-megamenu--link-color);border-width:0 0 3px 0;border-style:solid;border-color:transparent;outline:0;cursor:pointer;height:100%;width:100%;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}:is(button,.link) svg{padding:2px;transform:var(--ilw-header-megamenu-section--transform)}:is(button,.link).current{border-color:var(--il-blue)}:is(button,.link):hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);fill:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}:is(button,.link):hover svg{outline:2px dotted var(--il-altgeld)}:is(button,.link):focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus);fill:var(--ilw-header-megamenu--link-color--focus);outline:0}:is(button,.link):focus:hover svg{outline:2px dotted var(--il-blue)}button[aria-expanded=true]{text-decoration:underline;color:var(--ilw-header-megamenu--link-color--hover);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true]:focus{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover)}button[aria-expanded=true] svg{fill:var(--ilw-header-megamenu--link-color--hover);transform:var(--ilw-header-megamenu-section--transform--selected);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true] svg:focus{background:var(--ilw-header-megamenu--link-background--hover);color:var(--il-blue)}.header{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu-section--grid-template-columns--header);grid-template-areas:"label icon";grid-gap:4px}.header-link.current button{border-color:var(--il-blue)}.header-link{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu--grid-template-columns);grid-template-areas:"label icon";align-items:center;height:100%}.header-link.highlighted{background:var(--ilw-header-megamenu--link-background--hover)}.header-link .link{padding:6px 0 6px 20px}.header-link button{padding:6px 20px 6px 6px}.label,.link{box-sizing:border-box;display:block;position:relative;grid-area:label}.icon,.header-link button{align-self:center;align-items:center;justify-content:center;grid-area:icon}.icon{display:flex}.arrow{display:block;height:14px;width:14px}.submenu.parent button:hover .label ::slotted(span[slot="label"]),.submenu.parent button:focus .label ::slotted(span[slot="label"]){text-decoration:underline}.menu.parent .header-link.highlighted button,.menu.parent .header-link.highlighted ::slotted(a[slot="link"]){border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus)!important}.submenu.parent button.arrow-only:hover,.submenu.parent button.arrow-only:focus{border-left:4px solid transparent!important;color:var(--il-blue)}.menu.parent .compact button.arrow-only:hover,.menu.parent .compact button.arrow-only:focus{border-left:4px solid var(--il-blue)!important;color:var(--il-blue)}:host(.solo-list) ::slotted(ul){columns:4;break-inside:avoid;max-width:100vw}div.list-wrapper{display:grid;grid-template-columns:repeat(4,minmax(0,320px));max-width:100vw;overflow:hidden}@media(max-width:989px){div.list-wrapper{all:unset}}::slotted(ul:last-of-type){border:none!important}::slotted([slot="action-right"]){grid-column:4}::slotted([slot="action-right"].span-2){grid-column:3 / span 2;justify-self:auto}::slotted([slot="action-right"].span-3){grid-column:2 / span 3;justify-self:auto}::slotted([slot="action-left"]){grid-column:1}::slotted([slot="action-left"].span-2){grid-column:1 / span 2}::slotted([slot="action-left"].span-3){grid-column:1 / span 3}.hidden{display:none}';
|
|
629
|
+
var We = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, T = (s, e, t, i) => {
|
|
630
|
+
for (var n = i > 1 ? void 0 : i ? Ie(e, t) : e, o = s.length - 1, r; o >= 0; o--)
|
|
631
631
|
(r = s[o]) && (n = (i ? r(e, t, n) : r(n)) || n);
|
|
632
632
|
return i && n && We(e, t, n), n;
|
|
633
633
|
};
|
|
634
634
|
let A = class extends w {
|
|
635
635
|
constructor() {
|
|
636
|
-
super(...arguments), this.current = !1, this.compact = !1, this.expanded = !1, this.mouseover = !1
|
|
636
|
+
super(...arguments), this.current = !1, this.compact = !1, this.expanded = !1, this.mouseover = !1, this.limitSoloListItems = (s) => {
|
|
637
|
+
s.currentTarget.assignedElements({ flatten: !0 }).filter((i) => i instanceof HTMLUListElement).flatMap((i) => Array.from(i.children).filter((n) => n instanceof HTMLLIElement)).slice(20).forEach((i) => {
|
|
638
|
+
i.hidden = !0;
|
|
639
|
+
});
|
|
640
|
+
};
|
|
637
641
|
}
|
|
638
642
|
static get styles() {
|
|
639
|
-
return j(
|
|
643
|
+
return j(He);
|
|
640
644
|
}
|
|
641
645
|
handleToggleClick(s) {
|
|
642
646
|
this.expanded = !this.expanded, this.dispatchEvent(new CustomEvent("ilw-header-megamenu-section-expanded", { detail: !this.expanded, bubbles: !0, composed: !0 }));
|
|
@@ -729,7 +733,7 @@ let A = class extends w {
|
|
|
729
733
|
<slot id="list-slot"></slot>
|
|
730
734
|
<slot name="action-right"></slot>
|
|
731
735
|
</div>
|
|
732
|
-
` : S`<slot id="list-slot"></slot>`}
|
|
736
|
+
` : S`<slot id="list-slot" @slotchange=${this.limitSoloListItems}></slot>`}
|
|
733
737
|
</div>
|
|
734
738
|
</div>
|
|
735
739
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
ilw-header-megamenu[compact]{--ilw-header-megamenu--background: #e8e9eb;--ilw-header-megamenu--flex-direction: column;--ilw-header-megamenu--items--position: relative;--ilw-header-megamenu--items--border: none;--ilw-header-megamenu--items--box-shadow: none;--ilw-header-megamenu--items--width: 100%;--ilw-header-megamenu--font: 600 18px / 28px var(--il-font-sans);--ilw-header-megamenu--grid-template-columns: auto 52px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: none;--ilw-header-megamenu--link-border-bottom-highlight--hover: none;--ilw-header-megamenu--link-border-bottom-highlight--focus: none;--ilw-header-megamenu--items--position: initial;--ilw-header-megamenu-section--grid-template-columns--header: auto 22px;--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul{all:initial;display:flex;flex-direction:var(--ilw-header-megamenu--flex-direction)}ilw-header-megamenu>ul>li{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul>li>a{all:initial;box-sizing:border-box;height:100%;display:flex;align-items:center;position:relative;padding:6px 20px;font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-width:0 0 3px 0;border-style:solid;border-color:transparent;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}ilw-header-megamenu>ul>li>a[aria-current=true],ilw-header-megamenu>ul>li>a[aria-current=page]{border-color:var(--il-blue)}ilw-header-megamenu>ul>li>a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);border-left:var(--ilw-header-megamenu--link-border-left-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu>ul>li>a:focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact]>ul>li>a{border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu-section img{display:none}ilw-header-megamenu-section span[slot=action-right],ilw-header-megamenu-section span[slot=action-left]{position:relative}ilw-header-megamenu-section span[slot=action-right] img,ilw-header-megamenu-section span[slot=action-left] img{display:inline;margin:36px;object-fit:cover;border-radius:30px;width:calc(100% - 72px);height:auto}ilw-header-megamenu-section span[slot=action-right]:has(p+button) img,ilw-header-megamenu-section span[slot=action-left]:has(p+button) img{display:block;position:absolute;top:0;left:0;margin:36px;height:calc(100% - 72px);width:calc(100% - 72px);object-fit:cover}ilw-header-megamenu-section span[slot=action-right] p:first-of-type,ilw-header-megamenu-section span[slot=action-left] p:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:21px;font-weight:700;color:var(--il-blue);font-family:Source Sans,sans-serif;margin-top:-30px;width:50%;z-index:1}ilw-header-megamenu-section span[slot=action-right] button:first-of-type,ilw-header-megamenu-section span[slot=action-left] button:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;margin-top:30px}ilw-header-megamenu-section ul{list-style:none;margin:30px 0;padding-left:0;border-right:solid 2px var(--il-storm-85, #d5d3d3)}ilw-header-megamenu-section ul li{list-style:none;padding-left:30px}ilw-header-megamenu-section ul li span{display:inline-block;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent)}ilw-header-megamenu-section ul li ul{display:inherit;margin:0;border:none}ilw-header-megamenu-section ul li ul a{font-weight:400}ilw-header-megamenu-section ul li ul:nth-of-type(4n){border-right:none!important}ilw-header-megamenu-section ul li a{--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: 4px solid transparent;all:initial;box-sizing:border-box;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent);display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);font-weight:700;background:transparent;color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-top:var(--ilw-header-megamenu-section--anchor--border);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight)}ilw-header-megamenu-section ul li a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-bottom:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu-section ilw-header-megamenu-section{--ilw-header-megamenu--items--top: 0;--ilw-header-megamenu--items--left: 250px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: initial;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--grid-template-columns: auto 55px;--ilw-header-megamenu-section--transform: rotate(270deg);--ilw-header-megamenu-section--transform--selected: rotate(90deg)}ilw-header-megamenu[compact] ilw-header-megamenu-section{display:block;border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu[compact] ilw-header-megamenu-section a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-left],ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-right]{display:block;min-height:250px}ilw-header-megamenu[compact] ilw-header-megamenu-section div{display:block}ilw-header-megamenu[compact] ilw-header-megamenu-section ul{display:inherit;padding:0;margin:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li{--ilw-header-megamenu-section--anchor--text-indent: 20px;border-top:1px solid var(--il-storm-lighter-3);background:var(--il-storm-lighter-4);padding-left:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a{border-left:var(--ilw-header-megamenu--link-border-left-highlight);border-bottom:none}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);border-bottom:none;color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li ul li a{padding-left:45px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section{border-bottom:none;--ilw-header-megamenu-section--transform: none;--ilw-header-megamenu-section--transform--selected: rotate(180deg);--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul a,ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul button{--ilw-header-megamenu-section--anchor--text-indent: 40px}
|
|
1
|
+
ilw-header-megamenu[compact]{--ilw-header-megamenu--background: #e8e9eb;--ilw-header-megamenu--flex-direction: column;--ilw-header-megamenu--items--position: relative;--ilw-header-megamenu--items--border: none;--ilw-header-megamenu--items--box-shadow: none;--ilw-header-megamenu--items--width: 100%;--ilw-header-megamenu--font: 600 18px / 28px var(--il-font-sans);--ilw-header-megamenu--grid-template-columns: auto 52px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: none;--ilw-header-megamenu--link-border-bottom-highlight--hover: none;--ilw-header-megamenu--link-border-bottom-highlight--focus: none;--ilw-header-megamenu--items--position: initial;--ilw-header-megamenu-section--grid-template-columns--header: auto 22px;--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul{all:initial;display:flex;flex-direction:var(--ilw-header-megamenu--flex-direction)}ilw-header-megamenu>ul>li{all:initial;display:block;background:var(--ilw-header-megamenu--background)}ilw-header-megamenu>ul>li>a{all:initial;box-sizing:border-box;height:100%;display:flex;align-items:center;position:relative;padding:6px 20px;font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-width:0 0 3px 0;border-style:solid;border-color:transparent;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}ilw-header-megamenu>ul>li>a[aria-current=true],ilw-header-megamenu>ul>li>a[aria-current=page]{border-color:var(--il-blue)}ilw-header-megamenu>ul>li>a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);border-left:var(--ilw-header-megamenu--link-border-left-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu>ul>li>a:focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact]>ul>li>a{border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu-section img{display:none}ilw-header-megamenu-section span[slot=action-right],ilw-header-megamenu-section span[slot=action-left]{position:relative}ilw-header-megamenu-section span[slot=action-right] img,ilw-header-megamenu-section span[slot=action-left] img{display:inline;margin:36px;object-fit:cover;border-radius:30px;width:calc(100% - 72px);height:auto}ilw-header-megamenu-section span[slot=action-right]:has(p+button) img,ilw-header-megamenu-section span[slot=action-left]:has(p+button) img{display:block;position:absolute;top:0;left:0;margin:36px;height:calc(100% - 72px);width:calc(100% - 72px);object-fit:cover}ilw-header-megamenu-section span[slot=action-right] p:first-of-type,ilw-header-megamenu-section span[slot=action-left] p:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:21px;font-weight:700;color:var(--il-blue);font-family:Source Sans,sans-serif;margin-top:-30px;width:50%;z-index:1}ilw-header-megamenu-section span[slot=action-right] button:first-of-type,ilw-header-megamenu-section span[slot=action-left] button:first-of-type{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;margin-top:30px}ilw-header-megamenu-section ul{list-style:none;margin:30px 0;padding-left:0;border-right:solid 2px var(--il-storm-85, #d5d3d3)}ilw-header-megamenu-section ul li{list-style:none;padding-left:30px}ilw-header-megamenu-section ul li span{display:inline-block;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent)}ilw-header-megamenu-section ul li ul{display:inherit;margin:0;border:none}ilw-header-megamenu-section ul li ul a{font-weight:400}ilw-header-megamenu-section ul li ul:nth-of-type(4n){border-right:none!important}ilw-header-megamenu-section ul li a{--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: 4px solid transparent;all:initial;box-sizing:border-box;text-indent:var(--ilw-header-megamenu-section--anchor--text-indent);display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);font-weight:700;background:transparent;color:var(--ilw-header-megamenu--link-color);outline:0;cursor:pointer;border-top:var(--ilw-header-megamenu-section--anchor--border);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight)}ilw-header-megamenu-section ul li a:hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-bottom:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu-section li>img{display:none}ilw-header-megamenu-section .no-border{border:none}ilw-header-megamenu-section ilw-header-megamenu-section{--ilw-header-megamenu--items--top: 0;--ilw-header-megamenu--items--left: 250px;--ilw-header-megamenu--link-border-left-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-left-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-left-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: initial;--ilw-header-megamenu--link-border-bottom-highlight--hover: initial;--ilw-header-megamenu--link-border-bottom-highlight--focus: initial;--ilw-header-megamenu--grid-template-columns: auto 55px;--ilw-header-megamenu-section--transform: rotate(270deg);--ilw-header-megamenu-section--transform--selected: rotate(90deg)}ilw-header-megamenu[compact] ilw-header-megamenu-section{display:block;border-bottom:1px solid var(--il-storm-lighter-3)}ilw-header-megamenu[compact] ilw-header-megamenu-section a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-left],ilw-header-megamenu[compact] ilw-header-megamenu-section span[slot=action-right]{display:block;min-height:250px}ilw-header-megamenu[compact] ilw-header-megamenu-section div{display:block}ilw-header-megamenu[compact] ilw-header-megamenu-section ul{display:inherit;padding:0;margin:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li{--ilw-header-megamenu-section--anchor--text-indent: 20px;border-top:1px solid var(--il-storm-lighter-3);background:var(--il-storm-lighter-4);padding-left:0}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a{border-left:var(--ilw-header-megamenu--link-border-left-highlight);border-bottom:none}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li a:focus{background:var(--ilw-header-megamenu--link-background--sub--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);border-bottom:none;color:var(--ilw-header-megamenu--link-color--focus)}ilw-header-megamenu[compact] ilw-header-megamenu-section ul li ul li a{padding-left:45px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section{border-bottom:none;--ilw-header-megamenu-section--transform: none;--ilw-header-megamenu-section--transform--selected: rotate(180deg);--ilw-header-megamenu--grid-template-columns: auto 51px}ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul a,ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-section ul button{--ilw-header-megamenu-section--anchor--text-indent: 40px}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement as
|
|
1
|
+
import { LitElement as w, unsafeCSS as v, html as c } from "lit";
|
|
2
2
|
import { property as d, customElement as x } from "lit/decorators.js";
|
|
3
3
|
const k = "@layer base{:host{--ilw-header-megamenu--link-color: var(--il-blue);--ilw-header-megamenu--link-color--hover: var(--il-altgeld);--ilw-header-megamenu--link-background: transparent;--ilw-header-megamenu--link-background--hover: white;--ilw-header-megamenu--link-background--focus: var(--ilw-color--focus--background);--ilw-header-megamenu--link-background--sub--focus: var(--ilw-color--focus--background);--ilw-header-megamenu--link-color--focus: var(--il-blue);--ilw-header-megamenu--link-border-bottom-highlight: 4px solid transparent;--ilw-header-megamenu--link-border-bottom-highlight--hover: 4px solid var(--il-orange);--ilw-header-megamenu--link-border-bottom-highlight--focus: 4px solid var(--il-blue);--ilw-header-megamenu--link-border-left-highlight: none;--ilw-header-megamenu--link-border-left-highlight--focus: none;--ilw-header-megamenu--background: #E8E9EB;--ilw-header-megamenu--flex-direction: row;--ilw-header-megamenu--items--position: absolute;--ilw-header-megamenu--items--border: 1px solid rgb(0, 0, 0, .01);--ilw-header-megamenu--items--box-shadow: 0 0 4px #00000040;--ilw-header-megamenu--items--width: 1270px;--ilw-header-megamenu--items--top: initial;--ilw-header-megamenu--items--left: calc(var(--ilw-margin--side) - 39px);--ilw-header-megamenu--font: 700 16px/22px var(--il-font-sans);--ilw-header-megamenu--grid-template-columns: auto auto;--ilw-header-megamenu-section--grid-template-columns--header: auto 24px;--ilw-header-megamenu-section--anchor--padding: 6px 20px;--ilw-header-megamenu-section--anchor--border: none;--ilw-header-megamenu-section--anchor--text-indent: 0;--ilw-header-megamenu-section--transform: none;--ilw-header-megamenu-section--transform--selected: rotate(180deg)}}div.parent.full{padding-top:6px;margin:0 calc(var(--ilw-margin--side) - 9px)}";
|
|
4
4
|
var y = Object.defineProperty, E = Object.getOwnPropertyDescriptor, p = (e, i, o, n) => {
|
|
@@ -6,7 +6,7 @@ var y = Object.defineProperty, E = Object.getOwnPropertyDescriptor, p = (e, i, o
|
|
|
6
6
|
(r = e[l]) && (t = (n ? r(i, o, t) : r(t)) || t);
|
|
7
7
|
return n && t && y(i, o, t), t;
|
|
8
8
|
};
|
|
9
|
-
let m = class extends
|
|
9
|
+
let m = class extends w {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(), this.compact = !1, this.width = 990, this.addEventListener("keydown", this.handleWindowKeydown.bind(this)), this.handleWindowResize = this.handleWindowResize.bind(this), this.handleWindowClick = this.handleWindowClick.bind(this);
|
|
12
12
|
}
|
|
@@ -101,15 +101,19 @@ p([
|
|
|
101
101
|
m = p([
|
|
102
102
|
x("ilw-header-megamenu")
|
|
103
103
|
], m);
|
|
104
|
-
const S = '#items{display:none}#items.expanded{all:initial;box-sizing:border-box;flex-direction:column;border:var(--ilw-header-megamenu--items--border);box-shadow:var(--ilw-header-megamenu--items--box-shadow);width:var(--ilw-header-megamenu--items--width);max-width:100vw + 39px;position:var(--ilw-header-megamenu--items--position);display:grid;left:var(--ilw-header-megamenu--items--left);top:var(--ilw-header-megamenu--items--top);z-index:100;background:#fff}.parent{height:100%}button,.link{all:initial;box-sizing:border-box;display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);fill:var(--ilw-header-megamenu--link-color);border-width:0 0 3px 0;border-style:solid;border-color:transparent;outline:0;cursor:pointer;height:100%;width:100%;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}:is(button,.link) svg{padding:2px;transform:var(--ilw-header-megamenu-section--transform)}:is(button,.link).current{border-color:var(--il-blue)}:is(button,.link):hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);fill:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}:is(button,.link):hover svg{outline:2px dotted var(--il-altgeld)}:is(button,.link):focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus);fill:var(--ilw-header-megamenu--link-color--focus);outline:0}:is(button,.link):focus:hover svg{outline:2px dotted var(--il-blue)}button[aria-expanded=true]{text-decoration:underline;color:var(--ilw-header-megamenu--link-color--hover);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true]:focus{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover)}button[aria-expanded=true] svg{fill:var(--ilw-header-megamenu--link-color--hover);transform:var(--ilw-header-megamenu-section--transform--selected);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true] svg:focus{background:var(--ilw-header-megamenu--link-background--hover);color:var(--il-blue)}.header{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu-section--grid-template-columns--header);grid-template-areas:"label icon";grid-gap:4px}.header-link.current button{border-color:var(--il-blue)}.header-link{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu--grid-template-columns);grid-template-areas:"label icon";align-items:center;height:100%}.header-link.highlighted{background:var(--ilw-header-megamenu--link-background--hover)}.header-link .link{padding:6px 0 6px 20px}.header-link button{padding:6px 20px 6px 6px}.label,.link{box-sizing:border-box;display:block;position:relative;grid-area:label}.icon,.header-link button{align-self:center;align-items:center;justify-content:center;grid-area:icon}.icon{display:flex}.arrow{display:block;height:14px;width:14px}.submenu.parent button:hover .label ::slotted(span[slot="label"]),.submenu.parent button:focus .label ::slotted(span[slot="label"]){text-decoration:underline}.menu.parent .header-link.highlighted button,.menu.parent .header-link.highlighted ::slotted(a[slot="link"]){border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus)!important}.submenu.parent button.arrow-only:hover,.submenu.parent button.arrow-only:focus{border-left:4px solid transparent!important;color:var(--il-blue)}.menu.parent .compact button.arrow-only:hover,.menu.parent .compact button.arrow-only:focus{border-left:4px solid var(--il-blue)!important;color:var(--il-blue)}:host(.solo-list) ::slotted(ul){
|
|
105
|
-
var A = Object.defineProperty,
|
|
106
|
-
for (var t = n > 1 ? void 0 : n ?
|
|
104
|
+
const S = '#items{display:none}#items.expanded{all:initial;box-sizing:border-box;flex-direction:column;border:var(--ilw-header-megamenu--items--border);box-shadow:var(--ilw-header-megamenu--items--box-shadow);width:var(--ilw-header-megamenu--items--width);max-width:100vw + 39px;position:var(--ilw-header-megamenu--items--position);display:grid;left:var(--ilw-header-megamenu--items--left);top:var(--ilw-header-megamenu--items--top);z-index:100;background:#fff}.parent{height:100%}button,.link{all:initial;box-sizing:border-box;display:block;position:relative;padding:var(--ilw-header-megamenu-section--anchor--padding);font:var(--ilw-header-megamenu--font);background:var(--ilw-header-megamenu--link-background);color:var(--ilw-header-megamenu--link-color);fill:var(--ilw-header-megamenu--link-color);border-width:0 0 3px 0;border-style:solid;border-color:transparent;outline:0;cursor:pointer;height:100%;width:100%;border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight);border-left:var(--ilw-header-megamenu--link-border-left-highlight)}:is(button,.link) svg{padding:2px;transform:var(--ilw-header-megamenu-section--transform)}:is(button,.link).current{border-color:var(--il-blue)}:is(button,.link):hover{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover);color:var(--ilw-header-megamenu--link-color--hover);fill:var(--ilw-header-megamenu--link-color--hover);text-decoration:underline}:is(button,.link):hover svg{outline:2px dotted var(--il-altgeld)}:is(button,.link):focus{background:var(--ilw-header-megamenu--link-background--focus);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus);border-left:var(--ilw-header-megamenu--link-border-left-highlight--focus);color:var(--ilw-header-megamenu--link-color--focus);fill:var(--ilw-header-megamenu--link-color--focus);outline:0}:is(button,.link):focus:hover svg{outline:2px dotted var(--il-blue)}button[aria-expanded=true]{text-decoration:underline;color:var(--ilw-header-megamenu--link-color--hover);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true]:focus{background:var(--ilw-header-megamenu--link-background--hover);border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--hover)}button[aria-expanded=true] svg{fill:var(--ilw-header-megamenu--link-color--hover);transform:var(--ilw-header-megamenu-section--transform--selected);background:var(--ilw-header-megamenu--link-background--hover)}button[aria-expanded=true] svg:focus{background:var(--ilw-header-megamenu--link-background--hover);color:var(--il-blue)}.header{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu-section--grid-template-columns--header);grid-template-areas:"label icon";grid-gap:4px}.header-link.current button{border-color:var(--il-blue)}.header-link{position:relative;display:grid;grid-template-columns:var(--ilw-header-megamenu--grid-template-columns);grid-template-areas:"label icon";align-items:center;height:100%}.header-link.highlighted{background:var(--ilw-header-megamenu--link-background--hover)}.header-link .link{padding:6px 0 6px 20px}.header-link button{padding:6px 20px 6px 6px}.label,.link{box-sizing:border-box;display:block;position:relative;grid-area:label}.icon,.header-link button{align-self:center;align-items:center;justify-content:center;grid-area:icon}.icon{display:flex}.arrow{display:block;height:14px;width:14px}.submenu.parent button:hover .label ::slotted(span[slot="label"]),.submenu.parent button:focus .label ::slotted(span[slot="label"]){text-decoration:underline}.menu.parent .header-link.highlighted button,.menu.parent .header-link.highlighted ::slotted(a[slot="link"]){border-bottom:var(--ilw-header-megamenu--link-border-bottom-highlight--focus)!important}.submenu.parent button.arrow-only:hover,.submenu.parent button.arrow-only:focus{border-left:4px solid transparent!important;color:var(--il-blue)}.menu.parent .compact button.arrow-only:hover,.menu.parent .compact button.arrow-only:focus{border-left:4px solid var(--il-blue)!important;color:var(--il-blue)}:host(.solo-list) ::slotted(ul){columns:4;break-inside:avoid;max-width:100vw}div.list-wrapper{display:grid;grid-template-columns:repeat(4,minmax(0,320px));max-width:100vw;overflow:hidden}@media(max-width:989px){div.list-wrapper{all:unset}}::slotted(ul:last-of-type){border:none!important}::slotted([slot="action-right"]){grid-column:4}::slotted([slot="action-right"].span-2){grid-column:3 / span 2;justify-self:auto}::slotted([slot="action-right"].span-3){grid-column:2 / span 3;justify-self:auto}::slotted([slot="action-left"]){grid-column:1}::slotted([slot="action-left"].span-2){grid-column:1 / span 2}::slotted([slot="action-left"].span-3){grid-column:1 / span 3}.hidden{display:none}';
|
|
105
|
+
var A = Object.defineProperty, L = Object.getOwnPropertyDescriptor, u = (e, i, o, n) => {
|
|
106
|
+
for (var t = n > 1 ? void 0 : n ? L(i, o) : i, l = e.length - 1, r; l >= 0; l--)
|
|
107
107
|
(r = e[l]) && (t = (n ? r(i, o, t) : r(t)) || t);
|
|
108
108
|
return n && t && A(i, o, t), t;
|
|
109
109
|
};
|
|
110
|
-
let s = class extends
|
|
110
|
+
let s = class extends w {
|
|
111
111
|
constructor() {
|
|
112
|
-
super(...arguments), this.current = !1, this.compact = !1, this.expanded = !1, this.mouseover = !1
|
|
112
|
+
super(...arguments), this.current = !1, this.compact = !1, this.expanded = !1, this.mouseover = !1, this.limitSoloListItems = (e) => {
|
|
113
|
+
e.currentTarget.assignedElements({ flatten: !0 }).filter((n) => n instanceof HTMLUListElement).flatMap((n) => Array.from(n.children).filter((t) => t instanceof HTMLLIElement)).slice(20).forEach((n) => {
|
|
114
|
+
n.hidden = !0;
|
|
115
|
+
});
|
|
116
|
+
};
|
|
113
117
|
}
|
|
114
118
|
static get styles() {
|
|
115
119
|
return v(S);
|
|
@@ -177,14 +181,14 @@ let s = class extends f {
|
|
|
177
181
|
document.querySelectorAll("ilw-header-megamenu-section").forEach((r) => {
|
|
178
182
|
const a = r.querySelectorAll("ilw-header-megamenu-section.solo-list > ul > li"), b = a.length;
|
|
179
183
|
if (b === 5) {
|
|
180
|
-
a.forEach((h,
|
|
184
|
+
a.forEach((h, f) => {
|
|
181
185
|
h.style.borderRight = "none";
|
|
182
186
|
});
|
|
183
187
|
return;
|
|
184
188
|
}
|
|
185
189
|
let g = Math.floor(b / 5) * 5;
|
|
186
|
-
g = Math.min(g, 15), a.forEach((h,
|
|
187
|
-
|
|
190
|
+
g = Math.min(g, 15), a.forEach((h, f) => {
|
|
191
|
+
f + 1 <= g ? h.style.borderRight = "solid 2px var(--il-storm-85, #d5d3d3)" : h.style.borderRight = "none";
|
|
188
192
|
});
|
|
189
193
|
});
|
|
190
194
|
let n = this.parentElement != null && this.parentElement.closest("ilw-header-megamenu-section") != null;
|
|
@@ -205,7 +209,7 @@ let s = class extends f {
|
|
|
205
209
|
<slot id="list-slot"></slot>
|
|
206
210
|
<slot name="action-right"></slot>
|
|
207
211
|
</div>
|
|
208
|
-
` : c`<slot id="list-slot"></slot>`}
|
|
212
|
+
` : c`<slot id="list-slot" @slotchange=${this.limitSoloListItems}></slot>`}
|
|
209
213
|
</div>
|
|
210
214
|
</div>
|
|
211
215
|
`;
|
package/package.json
CHANGED
package/src/MegaMenuSection.css
CHANGED
|
@@ -135,6 +135,14 @@ ilw-header-megamenu-section {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
li>img {
|
|
139
|
+
display: none
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.no-border {
|
|
143
|
+
border: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
138
146
|
}
|
|
139
147
|
|
|
140
148
|
|
|
@@ -220,14 +228,4 @@ ilw-header-megamenu[compact] ilw-header-megamenu-section ilw-header-megamenu-sec
|
|
|
220
228
|
ul button {
|
|
221
229
|
--ilw-header-megamenu-section--anchor--text-indent: 40px;
|
|
222
230
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
ul>img,
|
|
226
|
-
li>img,
|
|
227
|
-
ul li:nth-child(n+21) {
|
|
228
|
-
display: none
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.no-border {
|
|
232
|
-
border: none;
|
|
233
231
|
}
|
|
@@ -188,10 +188,8 @@ button[aria-expanded="true"] {
|
|
|
188
188
|
/* make single ul list */
|
|
189
189
|
|
|
190
190
|
:host(.solo-list) ::slotted(ul) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
grid-template-rows: repeat(5, 34px);
|
|
194
|
-
grid-auto-flow: column;
|
|
191
|
+
columns: 4;
|
|
192
|
+
break-inside: avoid;
|
|
195
193
|
max-width: 100vw;
|
|
196
194
|
}
|
|
197
195
|
|
|
@@ -204,8 +202,10 @@ div.list-wrapper {
|
|
|
204
202
|
overflow: hidden;
|
|
205
203
|
}
|
|
206
204
|
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
@media (max-width: 989px) {
|
|
206
|
+
div.list-wrapper {
|
|
207
|
+
all: unset;
|
|
208
|
+
}
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
::slotted(ul:last-of-type) {
|
package/src/MegaMenuSection.ts
CHANGED
|
@@ -144,6 +144,18 @@ export default class MegaMenuSection extends LitElement {
|
|
|
144
144
|
return slot.assignedNodes({ flatten: true }).length > 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
private limitSoloListItems = (event: Event) => {
|
|
148
|
+
const slot = event.currentTarget as HTMLSlotElement;
|
|
149
|
+
const items = slot.assignedElements({ flatten: true })
|
|
150
|
+
.filter((element): element is HTMLUListElement => element instanceof HTMLUListElement)
|
|
151
|
+
.flatMap(ul => Array.from(ul.children)
|
|
152
|
+
.filter((child): child is HTMLLIElement => child instanceof HTMLLIElement));
|
|
153
|
+
|
|
154
|
+
items.slice(20).forEach(item => {
|
|
155
|
+
item.hidden = true;
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
|
|
147
159
|
render() {
|
|
148
160
|
const actionSpan = this.querySelector('span[slot="action-left"], span[slot="action-right"]');
|
|
149
161
|
let actionId: string | null = null;
|
|
@@ -207,7 +219,7 @@ export default class MegaMenuSection extends LitElement {
|
|
|
207
219
|
<slot name="action-right"></slot>
|
|
208
220
|
</div>
|
|
209
221
|
`
|
|
210
|
-
: html`<slot id="list-slot"></slot>`}
|
|
222
|
+
: html`<slot id="list-slot" @slotchange=${this.limitSoloListItems}></slot>`}
|
|
211
223
|
</div>
|
|
212
224
|
</div>
|
|
213
225
|
`;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Header Mega Menu",
|
|
3
|
-
"tag": "ilw-header-megamenu",
|
|
4
|
-
"github": "https://github.com/web-illinois/ilw-header-megamenu/",
|
|
5
|
-
"type": "web component",
|
|
6
|
-
"element-name": "ilw-header-megamenu",
|
|
7
|
-
"description": "Mega Menu for the top of the page.",
|
|
8
|
-
"builder-version": "1.0.1-alpha",
|
|
9
|
-
"version": "1.0.1-alpha",
|
|
10
|
-
"date": "11/06/2025",
|
|
11
|
-
"css": "https://cdn.toolkit.illinois.edu/ilw-header-megamenu/1.0.1-alpha/ilw-header-megamenu.css",
|
|
12
|
-
"js": "https://cdn.toolkit.illinois.edu/ilw-header-megamenu/1.0.1-alpha/ilw-header-megamenu.js",
|
|
13
|
-
"production": false,
|
|
14
|
-
"notes": "",
|
|
15
|
-
"parent-style": "",
|
|
16
|
-
"samples": [
|
|
17
|
-
{
|
|
18
|
-
"name": "Default",
|
|
19
|
-
"description": "Default Links",
|
|
20
|
-
"text": "<ul> <li> <ilw-header-megamenu-section linked='true'> <a slot='link' href='/'>About</a> <ul> <li><a href='/'>Directory</a></li> <li><a href='/'>Departments</a></li> <li><a href='/'>News</a></li> <li><a href='/'>Events</a></li> <li><a href='/'>Careers</a></li> <li><a href='/'>Contact</a></li> <li><a href='/'>Visit</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Admissions</span> <div> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>International Admissions</a></li> </ul> </div> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Academics</span> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Honors Programs</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Academic Calendar</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Research</span> <ul> <li><a href='/'>Research Centers</a></li> <li><a href='/'>History</a></li> <li><a href='/'>Resources</a> </ul> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Community</span> <ul> <li><a href='/'>Visit</a></li> <li><a href='/'>Student Life</a></li> <li><a href='/'>Public Events</a></li> <li><a href='/'>First-Gen Services</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Alumni</span> <ul> <li><a href='/'>Get Involved</a></li> <li><a href='/'>Awards</a></li> <li><a href='/'>Give</a></li> <li><a href='/'>Events</a></li> </ul> </ilw-header-megamenu-section> </li> </ul>"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "All Variations",
|
|
24
|
-
"description": "Includes every variation of the mega menu settings",
|
|
25
|
-
"text": "<ul> <li> <ilw-header-megamenu-section linked='true'> <a slot='link' href='/'>Basic top links, no groups or nesting</a> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Four columns, destinct groups with some nesting and a vanilla image</span> <div> <!-- column 1 --> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>International Admissions</a></li> </ul> <!-- column 1 --> <!-- column 2 --> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> </ul> <!-- column 2 --> <!-- column 3 --> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <!-- column 3 --> <!-- column 4 --> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> </ul> <!-- column 4 --> </div> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Links, with decorative image aligned left</span> <div> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <img class='align-left' src='https://fastly.picsum.photos/id/1025/500/400.jpg?hmac=MPFZjsU2UG1Mr3SjMkYP2F9jnhQWyatt6soxbOj0TN4'> </div> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Links with image call to action</span> <div> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action' class='span-3'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-2'>Link 2</button> <img src='https://picsum.photos/id/37/300/300'> </span> </div> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Links with plain call to action</span> <div> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action' class='span-2 align-left'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-2'>Link 2</button> </span> </div> </ilw-header-megamenu-section> </li> </ul>"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"attributes-fixed": [],
|
|
29
|
-
"attributes-text": [],
|
|
30
|
-
"attributes": [
|
|
31
|
-
{
|
|
32
|
-
"name": "compact",
|
|
33
|
-
"description": "Whether or not it is compact",
|
|
34
|
-
"deprecated": false,
|
|
35
|
-
"values": [
|
|
36
|
-
"",
|
|
37
|
-
"true"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "width",
|
|
42
|
-
"description": "The width it switches to compact, in pixels. Must be a number. Default is 990.",
|
|
43
|
-
"deprecated": false,
|
|
44
|
-
"values": [
|
|
45
|
-
"",
|
|
46
|
-
"990"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"classes-fixed": [],
|
|
51
|
-
"classes": [
|
|
52
|
-
{
|
|
53
|
-
"name": "align-left",
|
|
54
|
-
"description": "forces a secondary item to go to the left-most column of the menu dropdown",
|
|
55
|
-
"deprecated": false
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "span-2",
|
|
59
|
-
"description": "Allows a secondary item to fill up two columns at a time",
|
|
60
|
-
"deprecated": false
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "span-3",
|
|
64
|
-
"description": "Allows a secondary item to fill up three columns at a time",
|
|
65
|
-
"deprecated": false
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"css-variables": [
|
|
69
|
-
]
|
|
70
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Header Mega Menu",
|
|
3
|
-
"tag": "ilw-header-megamenu",
|
|
4
|
-
"github": "https://github.com/web-illinois/ilw-header-megamenu/",
|
|
5
|
-
"type": "web component",
|
|
6
|
-
"element-name": "ilw-header-megamenu",
|
|
7
|
-
"description": "Mega Menu for the top of the page.",
|
|
8
|
-
"builder-version": "latest",
|
|
9
|
-
"version": "2.0-alpha",
|
|
10
|
-
"date": "06/12/2026",
|
|
11
|
-
"css": "https://dev.toolkit.illinois.edu/ilw-header-megamenu/latest/ilw-header-megamenu.css",
|
|
12
|
-
"js": "https://dev.toolkit.illinois.edu/ilw-header-megamenu/latest/ilw-header-megamenu.js",
|
|
13
|
-
"production": false,
|
|
14
|
-
"notes": "",
|
|
15
|
-
"parent-style": "",
|
|
16
|
-
"samples": [
|
|
17
|
-
{
|
|
18
|
-
"name": "Default",
|
|
19
|
-
"description": "Default Links",
|
|
20
|
-
"text": "<ul> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>About</span> <ul> <li><a href='/'>Directory</a></li> <li><a href='/'>Departments</a></li> <li><a href='/'>News</a></li> <li><a href='/'>Events</a></li> <li><a href='/'>Careers</a></li> <li><a href='/'>Contact</a></li> <li><a href='/'>Visit</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Admissions</span> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> </ul> <ul> <li><a href='/'>International Admissions</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Academics</span> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Honors Programs</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Academic Calendar</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Research</span> <ul> <li><a href='/'>Research Centers</a></li> <li><a href='/'>History</a></li> <li><a href='/'>Resources</a> </ul> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Community</span> <ul> <li><a href='/'>Visit</a></li> <li><a href='/'>Student Life</a></li> <li><a href='/'>Public Events</a></li> <li><a href='/'>First-Gen Services</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Alumni</span> <ul> <li><a href='/'>Get Involved</a></li> <li><a href='/'>Awards</a></li> <li><a href='/'>Give</a></li> <li><a href='/'>Events</a></li> </ul> </ilw-header-megamenu-section> </li> </ul>"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "All Variations",
|
|
24
|
-
"description": "Includes every variation of the mega menu settings",
|
|
25
|
-
"text": "<ul> <li> <ilw-header-megamenu-section class='solo-list'> <span slot='label'>Single Unordered List</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Distinct Columns</span> <ul> <li><a href='/'>Undergrad Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>Graduate Admissions</a> <ul> <li><a href='/'>Apply</a></li> <li><a href='/'>Majors</a></li> <li><a href='/'>Cost and Aid</a></li> </ul> </li> <li><a href='/'>International Admissions</a></li> </ul> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> </ul> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Decorative Image</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <span slot='action-left' class='span-3'> <img src='https://fastly.picsum.photos/id/1025/500/400.jpg?hmac=MPFZjsU2UG1Mr3SjMkYP2F9jnhQWyatt6soxbOj0TN4' alt=''> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>CTA with image</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action-left' class=''> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> <img src='https://picsum.photos/id/37/300/300' alt=''> </span> </ilw-header-megamenu-section> </li> <li> <ilw-header-megamenu-section> <span slot='label'>Plain CTA</span> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a></li> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> </ul> <ul> <li><a href='/'>Undergrad Admissions</a></li> <li><a href='/'>Graduate Admissions</a></li> <li><a href='/'>International Admissions</a> <ul> <li><a href='/'>Degrees</a></li> <li><a href='/'>Certificates</a></li> <li><a href='/'>Online Programs</a></li> <li><a href='/'>Research Focus Areas</a></li> </ul> </li> <li><a href='/'>Find a mentor</a></li> <li><a href='/'>Student Handbook</a></li> </ul> <span slot='action-right' class='span-2'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> </span> <span slot='action-left' class='span-2'> <p> Prospective students </p> <button class='ilw-button ilw-theme-orange-1'>Link 2</button> </span> </ilw-header-megamenu-section> </li> </ul>"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"attributes-fixed": [],
|
|
29
|
-
"attributes-text": [],
|
|
30
|
-
"attributes": [
|
|
31
|
-
{
|
|
32
|
-
"name": "compact",
|
|
33
|
-
"description": "Whether or not it is compact",
|
|
34
|
-
"deprecated": false,
|
|
35
|
-
"values": [
|
|
36
|
-
"",
|
|
37
|
-
"true"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "width",
|
|
42
|
-
"description": "The width it switches to compact, in pixels. Must be a number. Default is 990.",
|
|
43
|
-
"deprecated": false,
|
|
44
|
-
"values": [
|
|
45
|
-
"",
|
|
46
|
-
"990"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"classes-fixed": [
|
|
51
|
-
{
|
|
52
|
-
"name": "wrapper-list",
|
|
53
|
-
"description": "allows you to break mulitple uls within a slot into a 4 column grid",
|
|
54
|
-
"deprecated": false
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"classes": [
|
|
58
|
-
{
|
|
59
|
-
"name": "solo-list",
|
|
60
|
-
"description": "allows you to have a single list with a fixed background height and fills up the 4 columns, maxing out at 20 items with no nesting",
|
|
61
|
-
"deprecated": false
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "span-2",
|
|
65
|
-
"description": "Allows a secondary item to fill up two columns at a time",
|
|
66
|
-
"deprecated": false
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "span-3",
|
|
70
|
-
"description": "Allows a secondary item to fill up three columns at a time",
|
|
71
|
-
"deprecated": false
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"css-variables": [
|
|
75
|
-
]
|
|
76
|
-
}
|