@ukic/web-components 2.30.0 → 2.32.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +5 -1
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +3 -2
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +3 -2
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +11 -10
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +53 -3
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +8 -8
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +8 -5
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +2 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +16 -0
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +217 -0
- package/dist/collection/components/ic-button/ic-button.js +5 -1
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +4 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +3 -2
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.js +3 -2
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +50 -17
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +3 -2
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +57 -6
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +12 -0
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +25 -12
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +8 -5
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +3 -3
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +2 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.css +1 -0
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +17 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +1 -0
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/components/ic-button2.js +5 -1
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +2 -2
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +3 -2
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +13 -12
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +3 -2
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +3 -2
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +56 -5
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-popover-menu.js +8 -8
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +9 -6
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-tab-context.js +2 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +1 -1
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +17 -1
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/core/ag-theme-icds.css +217 -0
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-a75f3c4d.entry.js → p-0677ee1e.entry.js} +2 -2
- package/dist/core/p-0677ee1e.entry.js.map +1 -0
- package/dist/core/{p-a6ff78aa.entry.js → p-07514ea0.entry.js} +2 -2
- package/dist/core/p-07514ea0.entry.js.map +1 -0
- package/dist/core/p-0a20131b.entry.js +2 -0
- package/dist/core/p-0a20131b.entry.js.map +1 -0
- package/dist/core/{p-836e71de.entry.js → p-0aed0cee.entry.js} +2 -2
- package/dist/core/p-0aed0cee.entry.js.map +1 -0
- package/dist/core/{p-cbd4caf5.entry.js → p-2c587c73.entry.js} +2 -2
- package/dist/core/p-2c587c73.entry.js.map +1 -0
- package/dist/core/p-5fad22f1.entry.js +2 -0
- package/dist/core/p-5fad22f1.entry.js.map +1 -0
- package/dist/core/{p-1ae6aadb.entry.js → p-74a7b421.entry.js} +2 -2
- package/dist/core/p-74a7b421.entry.js.map +1 -0
- package/dist/core/{p-bb963aa4.entry.js → p-77d49138.entry.js} +2 -2
- package/dist/core/p-77d49138.entry.js.map +1 -0
- package/dist/core/p-81deed36.entry.js.map +1 -1
- package/dist/core/p-94d5aa77.entry.js.map +1 -1
- package/dist/core/{p-b4da66f0.entry.js → p-9feec47e.entry.js} +2 -2
- package/dist/core/p-9feec47e.entry.js.map +1 -0
- package/dist/core/{p-1d648b98.entry.js → p-c1a74ee4.entry.js} +2 -2
- package/dist/core/p-c1a74ee4.entry.js.map +1 -0
- package/dist/core/{p-b47021d8.entry.js → p-cdf6e902.entry.js} +2 -2
- package/dist/core/p-cdf6e902.entry.js.map +1 -0
- package/dist/core/p-d638d75d.entry.js.map +1 -1
- package/dist/core/{p-e7fa6804.entry.js → p-e1def80b.entry.js} +2 -2
- package/dist/core/p-e1def80b.entry.js.map +1 -0
- package/dist/core/{p-72b350bc.entry.js → p-ee6aa6a1.entry.js} +2 -2
- package/dist/core/p-ee6aa6a1.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-button_3.entry.js +5 -1
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +3 -2
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +3 -2
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +11 -10
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +3 -2
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +55 -5
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +8 -8
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +9 -6
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +2 -1
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +17 -1
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +1 -1
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +10 -4
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +7 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +3 -6
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +3 -0
- package/dist/types/components.d.ts +22 -8
- package/hydrate/index.js +111 -41
- package/package.json +2 -2
- package/vscode-data.json +5 -1
- package/dist/core/p-1ae6aadb.entry.js.map +0 -1
- package/dist/core/p-1d648b98.entry.js.map +0 -1
- package/dist/core/p-72b350bc.entry.js.map +0 -1
- package/dist/core/p-836e71de.entry.js.map +0 -1
- package/dist/core/p-936ab032.entry.js +0 -2
- package/dist/core/p-936ab032.entry.js.map +0 -1
- package/dist/core/p-a6ff78aa.entry.js.map +0 -1
- package/dist/core/p-a75f3c4d.entry.js.map +0 -1
- package/dist/core/p-b47021d8.entry.js.map +0 -1
- package/dist/core/p-b4da66f0.entry.js.map +0 -1
- package/dist/core/p-bb963aa4.entry.js.map +0 -1
- package/dist/core/p-cbd4caf5.entry.js.map +0 -1
- package/dist/core/p-e6bad80b.entry.js +0 -2
- package/dist/core/p-e6bad80b.entry.js.map +0 -1
- package/dist/core/p-e7fa6804.entry.js.map +0 -1
package/hydrate/index.js
CHANGED
@@ -9144,7 +9144,7 @@ class Button {
|
|
9144
9144
|
};
|
9145
9145
|
// triggered when attributes of host element change
|
9146
9146
|
this.hostMutationCallback = (mutationList) => {
|
9147
|
-
mutationList.forEach(({ attributeName }) => {
|
9147
|
+
mutationList.forEach(({ attributeName, type }) => {
|
9148
9148
|
const attribute = this.el.getAttribute(attributeName);
|
9149
9149
|
if (attributeName === "title")
|
9150
9150
|
this.title = attribute;
|
@@ -9250,6 +9250,7 @@ class Button {
|
|
9250
9250
|
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
9251
9251
|
this.hostMutationObserver.observe(this.el, {
|
9252
9252
|
attributes: true,
|
9253
|
+
childList: true,
|
9253
9254
|
});
|
9254
9255
|
}
|
9255
9256
|
}
|
@@ -10837,7 +10838,7 @@ class FooterLink {
|
|
10837
10838
|
}; }
|
10838
10839
|
}
|
10839
10840
|
|
10840
|
-
const icFooterLinkGroupCss = "/*!@html*/html.sc-ic-footer-link-group{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-footer-link-group{margin:0}/*!@main*/main.sc-ic-footer-link-group{display:block}/*!@h1*/h1.sc-ic-footer-link-group{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-footer-link-group{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-footer-link-group{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-footer-link-group{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-footer-link-group{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-footer-link-group,strong.sc-ic-footer-link-group{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-footer-link-group,kbd.sc-ic-footer-link-group,samp.sc-ic-footer-link-group{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-footer-link-group{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-footer-link-group,sup.sc-ic-footer-link-group{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-footer-link-group{bottom:-0.25em}/*!@sup*/sup.sc-ic-footer-link-group{top:-0.5em}/*!@img*/img.sc-ic-footer-link-group{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-footer-link-group,input.sc-ic-footer-link-group,optgroup.sc-ic-footer-link-group,select.sc-ic-footer-link-group,textarea.sc-ic-footer-link-group{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-footer-link-group,input.sc-ic-footer-link-group{overflow:visible}/*!@button,\nselect*/button.sc-ic-footer-link-group,select.sc-ic-footer-link-group{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-footer-link-group,[type=\"button\"].sc-ic-footer-link-group,[type=\"reset\"].sc-ic-footer-link-group,[type=\"submit\"].sc-ic-footer-link-group{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-footer-link-group::-moz-focus-inner,[type=\"button\"].sc-ic-footer-link-group::-moz-focus-inner,[type=\"reset\"].sc-ic-footer-link-group::-moz-focus-inner,[type=\"submit\"].sc-ic-footer-link-group::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-footer-link-group:-moz-focusring,[type=\"button\"].sc-ic-footer-link-group:-moz-focusring,[type=\"reset\"].sc-ic-footer-link-group:-moz-focusring,[type=\"submit\"].sc-ic-footer-link-group:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-footer-link-group{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-footer-link-group{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-footer-link-group{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-footer-link-group{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-footer-link-group,[type=\"radio\"].sc-ic-footer-link-group{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-footer-link-group::-webkit-inner-spin-button,[type=\"number\"].sc-ic-footer-link-group::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-footer-link-group{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-footer-link-group::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-footer-link-group::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-footer-link-group{display:block}/*!@summary*/summary.sc-ic-footer-link-group{display:list-item}/*!@template*/template.sc-ic-footer-link-group{display:none}/*!@[hidden]*/[hidden].sc-ic-footer-link-group{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-footer-link-group,body.sc-ic-footer-link-group,div.sc-ic-footer-link-group,span.sc-ic-footer-link-group,applet.sc-ic-footer-link-group,object.sc-ic-footer-link-group,iframe.sc-ic-footer-link-group,h1.sc-ic-footer-link-group,h2.sc-ic-footer-link-group,h3.sc-ic-footer-link-group,h4.sc-ic-footer-link-group,h5.sc-ic-footer-link-group,h6.sc-ic-footer-link-group,p.sc-ic-footer-link-group,blockquote.sc-ic-footer-link-group,pre.sc-ic-footer-link-group,a.sc-ic-footer-link-group,abbr.sc-ic-footer-link-group,acronym.sc-ic-footer-link-group,address.sc-ic-footer-link-group,big.sc-ic-footer-link-group,cite.sc-ic-footer-link-group,code.sc-ic-footer-link-group,del.sc-ic-footer-link-group,dfn.sc-ic-footer-link-group,em.sc-ic-footer-link-group,img.sc-ic-footer-link-group,ins.sc-ic-footer-link-group,kbd.sc-ic-footer-link-group,q.sc-ic-footer-link-group,s.sc-ic-footer-link-group,samp.sc-ic-footer-link-group,small.sc-ic-footer-link-group,strike.sc-ic-footer-link-group,strong.sc-ic-footer-link-group,sub.sc-ic-footer-link-group,sup.sc-ic-footer-link-group,tt.sc-ic-footer-link-group,var.sc-ic-footer-link-group,b.sc-ic-footer-link-group,u.sc-ic-footer-link-group,i.sc-ic-footer-link-group,center.sc-ic-footer-link-group,dl.sc-ic-footer-link-group,dt.sc-ic-footer-link-group,dd.sc-ic-footer-link-group,ol.sc-ic-footer-link-group,ul.sc-ic-footer-link-group,li.sc-ic-footer-link-group,fieldset.sc-ic-footer-link-group,form.sc-ic-footer-link-group,label.sc-ic-footer-link-group,legend.sc-ic-footer-link-group,table.sc-ic-footer-link-group,caption.sc-ic-footer-link-group,tbody.sc-ic-footer-link-group,tfoot.sc-ic-footer-link-group,thead.sc-ic-footer-link-group,tr.sc-ic-footer-link-group,th.sc-ic-footer-link-group,td.sc-ic-footer-link-group,article.sc-ic-footer-link-group,aside.sc-ic-footer-link-group,canvas.sc-ic-footer-link-group,details.sc-ic-footer-link-group,embed.sc-ic-footer-link-group,figure.sc-ic-footer-link-group,figcaption.sc-ic-footer-link-group,footer.sc-ic-footer-link-group,header.sc-ic-footer-link-group,hgroup.sc-ic-footer-link-group,menu.sc-ic-footer-link-group,nav.sc-ic-footer-link-group,output.sc-ic-footer-link-group,ruby.sc-ic-footer-link-group,section.sc-ic-footer-link-group,summary.sc-ic-footer-link-group,time.sc-ic-footer-link-group,mark.sc-ic-footer-link-group,audio.sc-ic-footer-link-group,video.sc-ic-footer-link-group{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.footer-link-group-sparse)*/.footer-link-group-sparse.sc-ic-footer-link-group-h{--footer-link-group-margin-right:5.938rem;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}/*!@:host(.footer-link-group-small)*/.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}/*!@:host(.footer-link-group-light.footer-link-group-small)*/.footer-link-group-light.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-border-bottom:var(--ic-keyline-lighten)}/*!@:host(.footer-link-group-dark.footer-link-group-small)*/.footer-link-group-dark.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-border-bottom:var(--ic-keyline-darken)}/*!@:host(.footer-link-group)*/.footer-link-group.sc-ic-footer-link-group-h{margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}/*!@:host(.footer-link-group-small.footer-link-group-light:hover)*/.footer-link-group-small.footer-link-group-light.sc-ic-footer-link-group-h:hover{background-color:var(--ic-action-light-bg-hover);cursor:pointer}/*!@:host(.footer-link-group-small.footer-link-group-dark:hover)*/.footer-link-group-small.footer-link-group-dark.sc-ic-footer-link-group-h:hover{background-color:var(--ic-action-dark-bg-hover);cursor:pointer}/*!@:host(.footer-link-group-sparse:focus)*/.footer-link-group-sparse.sc-ic-footer-link-group-h:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}/*!@:host(.footer-link-group-small:focus)*/.footer-link-group-small.sc-ic-footer-link-group-h:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}/*!@:host(.footer-link-group-small.footer-link-group-light:active)*/.footer-link-group-small.footer-link-group-light.sc-ic-footer-link-group-h:active{background-color:var(--ic-action-light-bg-active)}/*!@:host(.footer-link-group-small.footer-link-group-dark:active)*/.footer-link-group-small.footer-link-group-dark.sc-ic-footer-link-group-h:active{background-color:var(--ic-action-dark-bg-active)}/*!@.footer-link-group-title*/.footer-link-group-title.sc-ic-footer-link-group{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}/*!@.footer-link-group-toggle*/.footer-link-group-toggle.sc-ic-footer-link-group{fill:white !important}/*!@.footer-link-group-links*/.footer-link-group-links.sc-ic-footer-link-group{display:flex;flex-direction:column}/*!@.footer-link-group-header*/.footer-link-group-header.sc-ic-footer-link-group{display:flex;align-items:center}";
|
10841
|
+
const icFooterLinkGroupCss = "/*!@html*/html.sc-ic-footer-link-group{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-footer-link-group{margin:0}/*!@main*/main.sc-ic-footer-link-group{display:block}/*!@h1*/h1.sc-ic-footer-link-group{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-footer-link-group{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-footer-link-group{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-footer-link-group{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-footer-link-group{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-footer-link-group,strong.sc-ic-footer-link-group{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-footer-link-group,kbd.sc-ic-footer-link-group,samp.sc-ic-footer-link-group{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-footer-link-group{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-footer-link-group,sup.sc-ic-footer-link-group{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-footer-link-group{bottom:-0.25em}/*!@sup*/sup.sc-ic-footer-link-group{top:-0.5em}/*!@img*/img.sc-ic-footer-link-group{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-footer-link-group,input.sc-ic-footer-link-group,optgroup.sc-ic-footer-link-group,select.sc-ic-footer-link-group,textarea.sc-ic-footer-link-group{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-footer-link-group,input.sc-ic-footer-link-group{overflow:visible}/*!@button,\nselect*/button.sc-ic-footer-link-group,select.sc-ic-footer-link-group{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-footer-link-group,[type=\"button\"].sc-ic-footer-link-group,[type=\"reset\"].sc-ic-footer-link-group,[type=\"submit\"].sc-ic-footer-link-group{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-footer-link-group::-moz-focus-inner,[type=\"button\"].sc-ic-footer-link-group::-moz-focus-inner,[type=\"reset\"].sc-ic-footer-link-group::-moz-focus-inner,[type=\"submit\"].sc-ic-footer-link-group::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-footer-link-group:-moz-focusring,[type=\"button\"].sc-ic-footer-link-group:-moz-focusring,[type=\"reset\"].sc-ic-footer-link-group:-moz-focusring,[type=\"submit\"].sc-ic-footer-link-group:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-footer-link-group{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-footer-link-group{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-footer-link-group{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-footer-link-group{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-footer-link-group,[type=\"radio\"].sc-ic-footer-link-group{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-footer-link-group::-webkit-inner-spin-button,[type=\"number\"].sc-ic-footer-link-group::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-footer-link-group{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-footer-link-group::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-footer-link-group::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-footer-link-group{display:block}/*!@summary*/summary.sc-ic-footer-link-group{display:list-item}/*!@template*/template.sc-ic-footer-link-group{display:none}/*!@[hidden]*/[hidden].sc-ic-footer-link-group{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-footer-link-group,body.sc-ic-footer-link-group,div.sc-ic-footer-link-group,span.sc-ic-footer-link-group,applet.sc-ic-footer-link-group,object.sc-ic-footer-link-group,iframe.sc-ic-footer-link-group,h1.sc-ic-footer-link-group,h2.sc-ic-footer-link-group,h3.sc-ic-footer-link-group,h4.sc-ic-footer-link-group,h5.sc-ic-footer-link-group,h6.sc-ic-footer-link-group,p.sc-ic-footer-link-group,blockquote.sc-ic-footer-link-group,pre.sc-ic-footer-link-group,a.sc-ic-footer-link-group,abbr.sc-ic-footer-link-group,acronym.sc-ic-footer-link-group,address.sc-ic-footer-link-group,big.sc-ic-footer-link-group,cite.sc-ic-footer-link-group,code.sc-ic-footer-link-group,del.sc-ic-footer-link-group,dfn.sc-ic-footer-link-group,em.sc-ic-footer-link-group,img.sc-ic-footer-link-group,ins.sc-ic-footer-link-group,kbd.sc-ic-footer-link-group,q.sc-ic-footer-link-group,s.sc-ic-footer-link-group,samp.sc-ic-footer-link-group,small.sc-ic-footer-link-group,strike.sc-ic-footer-link-group,strong.sc-ic-footer-link-group,sub.sc-ic-footer-link-group,sup.sc-ic-footer-link-group,tt.sc-ic-footer-link-group,var.sc-ic-footer-link-group,b.sc-ic-footer-link-group,u.sc-ic-footer-link-group,i.sc-ic-footer-link-group,center.sc-ic-footer-link-group,dl.sc-ic-footer-link-group,dt.sc-ic-footer-link-group,dd.sc-ic-footer-link-group,ol.sc-ic-footer-link-group,ul.sc-ic-footer-link-group,li.sc-ic-footer-link-group,fieldset.sc-ic-footer-link-group,form.sc-ic-footer-link-group,label.sc-ic-footer-link-group,legend.sc-ic-footer-link-group,table.sc-ic-footer-link-group,caption.sc-ic-footer-link-group,tbody.sc-ic-footer-link-group,tfoot.sc-ic-footer-link-group,thead.sc-ic-footer-link-group,tr.sc-ic-footer-link-group,th.sc-ic-footer-link-group,td.sc-ic-footer-link-group,article.sc-ic-footer-link-group,aside.sc-ic-footer-link-group,canvas.sc-ic-footer-link-group,details.sc-ic-footer-link-group,embed.sc-ic-footer-link-group,figure.sc-ic-footer-link-group,figcaption.sc-ic-footer-link-group,footer.sc-ic-footer-link-group,header.sc-ic-footer-link-group,hgroup.sc-ic-footer-link-group,menu.sc-ic-footer-link-group,nav.sc-ic-footer-link-group,output.sc-ic-footer-link-group,ruby.sc-ic-footer-link-group,section.sc-ic-footer-link-group,summary.sc-ic-footer-link-group,time.sc-ic-footer-link-group,mark.sc-ic-footer-link-group,audio.sc-ic-footer-link-group,video.sc-ic-footer-link-group{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.footer-link-group-sparse)*/.footer-link-group-sparse.sc-ic-footer-link-group-h{--footer-link-group-margin-right:5.938rem;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}/*!@:host(.footer-link-group-small)*/.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}/*!@:host(.footer-link-group-light.footer-link-group-small)*/.footer-link-group-light.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-border-bottom:var(--ic-keyline-lighten)}/*!@:host(.footer-link-group-dark.footer-link-group-small)*/.footer-link-group-dark.footer-link-group-small.sc-ic-footer-link-group-h{--footer-link-group-border-bottom:var(--ic-keyline-darken)}/*!@:host(.footer-link-group)*/.footer-link-group.sc-ic-footer-link-group-h{margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}/*!@:host(.footer-link-group-small.footer-link-group-light:hover)*/.footer-link-group-small.footer-link-group-light.sc-ic-footer-link-group-h:hover{background-color:var(--ic-action-light-bg-hover);cursor:pointer}/*!@:host(.footer-link-group-small.footer-link-group-dark:hover)*/.footer-link-group-small.footer-link-group-dark.sc-ic-footer-link-group-h:hover{background-color:var(--ic-action-dark-bg-hover);cursor:pointer}/*!@:host(.footer-link-group-sparse:focus)*/.footer-link-group-sparse.sc-ic-footer-link-group-h:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}/*!@:host(.footer-link-group-small:focus)*/.footer-link-group-small.sc-ic-footer-link-group-h:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}/*!@:host(.footer-link-group-small.footer-link-group-light:active)*/.footer-link-group-small.footer-link-group-light.sc-ic-footer-link-group-h:active{background-color:var(--ic-action-light-bg-active)}/*!@:host(.footer-link-group-small.footer-link-group-dark:active)*/.footer-link-group-small.footer-link-group-dark.sc-ic-footer-link-group-h:active{background-color:var(--ic-action-dark-bg-active)}/*!@:host ic-section-container*/.sc-ic-footer-link-group-h ic-section-container.sc-ic-footer-link-group{outline:none}/*!@.footer-link-group-title*/.footer-link-group-title.sc-ic-footer-link-group{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}/*!@.footer-link-group-toggle*/.footer-link-group-toggle.sc-ic-footer-link-group{fill:white !important}/*!@.footer-link-group-links*/.footer-link-group-links.sc-ic-footer-link-group{display:flex;flex-direction:column}/*!@.footer-link-group-header*/.footer-link-group-header.sc-ic-footer-link-group{display:flex;align-items:center}";
|
10841
10842
|
|
10842
10843
|
class FooterLinkGroup {
|
10843
10844
|
constructor(hostRef) {
|
@@ -10890,7 +10891,7 @@ class FooterLinkGroup {
|
|
10890
10891
|
}, role: "listitem" }, hAsync("div", { class: "footer-link-group-title" }, hAsync("ic-typography", { variant: "subtitle-small" }, groupTitle)), hAsync("div", { class: "footer-link-group-links", role: "list" }, hAsync("slot", null)))) : (hAsync(Host, { class: {
|
10891
10892
|
["footer-link-group footer-link-group-small"]: true,
|
10892
10893
|
[`footer-link-group-${this.dropdownIconStyle}`]: true,
|
10893
|
-
},
|
10894
|
+
}, onClick: this.toggleExpanded, onKeydown: this.handleKeydown, "aria-expanded": this.expanded, role: "listitem" }, hAsync("ic-section-container", { tabindex: "0", fullHeight: true }, hAsync("div", { class: "footer-link-group-header" }, hAsync("div", { class: "footer-link-group-title" }, hAsync("ic-typography", { variant: "label" }, groupTitle)), this.expanded ? (hAsync("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, hAsync("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))) : (hAsync("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, hAsync("g", { transform: "translate(0 1200) scale(1 -1)" }, hAsync("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))))), this.expanded && (hAsync("div", { class: "footer-link-group-links", role: "list" }, hAsync("slot", null))))));
|
10894
10895
|
}
|
10895
10896
|
static get delegatesFocus() { return true; }
|
10896
10897
|
get el() { return getElement(this); }
|
@@ -11137,6 +11138,7 @@ class HorizontalScroll {
|
|
11137
11138
|
});
|
11138
11139
|
}
|
11139
11140
|
disconnectedCallback() {
|
11141
|
+
var _a, _b;
|
11140
11142
|
if (this.resizeObserver !== undefined) {
|
11141
11143
|
this.resizeObserver.disconnect();
|
11142
11144
|
}
|
@@ -11144,12 +11146,12 @@ class HorizontalScroll {
|
|
11144
11146
|
["mouseup", "mouseleave"].forEach((event) => {
|
11145
11147
|
scrollArrows.forEach((arrow) => arrow.removeEventListener(event, this.arrowMouseUpHandler));
|
11146
11148
|
});
|
11147
|
-
this.items.forEach((item) => {
|
11149
|
+
(_a = this.items) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
11148
11150
|
if (item.removeEventListener) {
|
11149
11151
|
item.removeEventListener(this.focusTrigger, this.focusHandler);
|
11150
11152
|
}
|
11151
11153
|
});
|
11152
|
-
this.itemsContainerEl.removeEventListener("scroll", this.scrollHandler);
|
11154
|
+
(_b = this.itemsContainerEl) === null || _b === void 0 ? void 0 : _b.removeEventListener("scroll", this.scrollHandler);
|
11153
11155
|
}
|
11154
11156
|
/**
|
11155
11157
|
* @internal if side scrolling enabled, scrolls the specified item into view.
|
@@ -14006,11 +14008,12 @@ class Menu {
|
|
14006
14008
|
}
|
14007
14009
|
}
|
14008
14010
|
disconnectedCallback() {
|
14011
|
+
var _a, _b;
|
14009
14012
|
if (this.popperInstance) {
|
14010
14013
|
this.popperInstance.destroy();
|
14011
14014
|
}
|
14012
|
-
this.parentEl.removeEventListener("icClear", this.handleClearListener);
|
14013
|
-
this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
|
14015
|
+
(_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("icClear", this.handleClearListener);
|
14016
|
+
(_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
|
14014
14017
|
}
|
14015
14018
|
componentWillLoad() {
|
14016
14019
|
var _a, _b;
|
@@ -14210,7 +14213,7 @@ class MenuGroup {
|
|
14210
14213
|
}
|
14211
14214
|
render() {
|
14212
14215
|
const parentMenu = this.el.closest("ic-popover-menu");
|
14213
|
-
return (hAsync(Host, { "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (hAsync("ic-typography", { variant: "subtitle-small" }, this.label)), hAsync("
|
14216
|
+
return (hAsync(Host, { role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (hAsync("ic-typography", { variant: "subtitle-small" }, this.label)), hAsync("span", { class: "menu-items-wrapper" }, hAsync("slot", null)), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (hAsync("hr", null))));
|
14214
14217
|
}
|
14215
14218
|
get el() { return getElement(this); }
|
14216
14219
|
static get style() { return icMenuGroupCss; }
|
@@ -14236,6 +14239,7 @@ class MenuItem {
|
|
14236
14239
|
registerInstance(this, hostRef);
|
14237
14240
|
this.childBlur = createEvent(this, "childBlur", 7);
|
14238
14241
|
this.handleMenuItemClick = createEvent(this, "handleMenuItemClick", 7);
|
14242
|
+
this.icToggleChecked = createEvent(this, "icToggleChecked", 7);
|
14239
14243
|
this.triggerPopoverMenuInstance = createEvent(this, "triggerPopoverMenuInstance", 7);
|
14240
14244
|
this.handleClick = (e) => {
|
14241
14245
|
if (isPropDefined(this.submenuTriggerFor)) {
|
@@ -14244,11 +14248,11 @@ class MenuItem {
|
|
14244
14248
|
else if (this.variant === "toggle") {
|
14245
14249
|
e.preventDefault();
|
14246
14250
|
this.toggleChecked = !this.toggleChecked;
|
14251
|
+
this.icToggleChecked.emit({
|
14252
|
+
checked: this.toggleChecked,
|
14253
|
+
});
|
14247
14254
|
}
|
14248
|
-
this.handleMenuItemClick.emit(
|
14249
|
-
label: this.label,
|
14250
|
-
hasSubMenu: !!this.el.submenuTriggerFor,
|
14251
|
-
});
|
14255
|
+
this.handleMenuItemClick.emit(this.el);
|
14252
14256
|
};
|
14253
14257
|
this.getMenuItemAriaLabel = () => {
|
14254
14258
|
let ariaLabel = this.label;
|
@@ -14276,7 +14280,6 @@ class MenuItem {
|
|
14276
14280
|
return ariaLabel;
|
14277
14281
|
}
|
14278
14282
|
};
|
14279
|
-
this.toggleChecked = false;
|
14280
14283
|
this.description = undefined;
|
14281
14284
|
this.disabled = false;
|
14282
14285
|
this.href = undefined;
|
@@ -14287,6 +14290,7 @@ class MenuItem {
|
|
14287
14290
|
this.rel = undefined;
|
14288
14291
|
this.submenuTriggerFor = undefined;
|
14289
14292
|
this.target = undefined;
|
14293
|
+
this.toggleChecked = false;
|
14290
14294
|
this.variant = "default";
|
14291
14295
|
}
|
14292
14296
|
componentWillLoad() {
|
@@ -14311,13 +14315,13 @@ class MenuItem {
|
|
14311
14315
|
};
|
14312
14316
|
return (hAsync(Host, { class: {
|
14313
14317
|
["disabled"]: this.disabled,
|
14314
|
-
} }, hAsync("li", { role: this.variant === "toggle" ? "menuitemcheckbox" : "menuitem", "aria-disabled": `${this.disabled}`, "aria-checked": this.variant === "toggle"
|
14315
|
-
?
|
14316
|
-
|
14318
|
+
} }, hAsync("li", { role: this.variant === "toggle" ? "menuitemcheckbox" : "menuitem", "aria-disabled": `${this.disabled}`, "aria-checked": this.variant === "toggle"
|
14319
|
+
? this.toggleChecked
|
14320
|
+
? "true"
|
14321
|
+
: "false"
|
14322
|
+
: undefined }, hAsync("ic-button", { fullWidth: true, variant: "tertiary", onClick: this.handleClick, href: isPropDefined(this.href), hreflang: isPropDefined(this.hreflang), target: isPropDefined(this.target), rel: isPropDefined(this.rel), referrerpolicy: this.referrerpolicy !== undefined ? this.referrerpolicy : null, "aria-disabled": `${this.disabled}`, "aria-label": this.getMenuItemAriaLabel(), "aria-haspopup": isPropDefined(this.submenuTriggerFor) ||
|
14317
14323
|
this.el.classList.contains("ic-popover-submenu-back-button")
|
14318
14324
|
? "menu"
|
14319
|
-
: false, ariaOwnsId: isPropDefined(this.submenuTriggerFor)
|
14320
|
-
? `ic-popover-submenu-${this.submenuTriggerFor}`
|
14321
14325
|
: false }, hAsync("div", { class: "focus-border" }, isSlotUsed(this.el, "icon") && (hAsync("span", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync(MenuItemInformation, null), this.variant === "toggle" && (hAsync("span", { class: {
|
14322
14326
|
["check-icon"]: true,
|
14323
14327
|
["hide"]: !this.toggleChecked,
|
@@ -14340,12 +14344,12 @@ class MenuItem {
|
|
14340
14344
|
"rel": [1],
|
14341
14345
|
"submenuTriggerFor": [1, "submenu-trigger-for"],
|
14342
14346
|
"target": [1],
|
14343
|
-
"
|
14344
|
-
"
|
14347
|
+
"toggleChecked": [1540, "toggle-checked"],
|
14348
|
+
"variant": [1537]
|
14345
14349
|
},
|
14346
14350
|
"$listeners$": [[2, "click", "handleHostClick"]],
|
14347
14351
|
"$lazyBundleId$": "-",
|
14348
|
-
"$attrsToReflect$": [["variant", "variant"]]
|
14352
|
+
"$attrsToReflect$": [["toggleChecked", "toggle-checked"], ["variant", "variant"]]
|
14349
14353
|
}; }
|
14350
14354
|
}
|
14351
14355
|
|
@@ -14682,11 +14686,12 @@ class NavigationGroup {
|
|
14682
14686
|
this.label = undefined;
|
14683
14687
|
}
|
14684
14688
|
disconnectedCallback() {
|
14689
|
+
var _a, _b;
|
14685
14690
|
if (this.navigationType === "side") {
|
14686
|
-
this.parentEl.removeEventListener("sideNavExpanded", this.sideNavExpandHandler);
|
14691
|
+
(_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("sideNavExpanded", this.sideNavExpandHandler);
|
14687
14692
|
}
|
14688
14693
|
else if (this.navigationType === "top") {
|
14689
|
-
this.parentEl.removeEventListener("topNavResized", this.topNavResizedHandler);
|
14694
|
+
(_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.removeEventListener("topNavResized", this.topNavResizedHandler);
|
14690
14695
|
}
|
14691
14696
|
}
|
14692
14697
|
componentWillLoad() {
|
@@ -14805,12 +14810,15 @@ class NavigationItem {
|
|
14805
14810
|
this.childBlur = createEvent(this, "childBlur", 7);
|
14806
14811
|
this.navItemClicked = createEvent(this, "navItemClicked", 7);
|
14807
14812
|
this.isInitialRender = true;
|
14813
|
+
this.hostMutationObserver = null;
|
14814
|
+
this.ANIMATION_DURATION = parseInt(getCssProperty("--ic-transition-duration-slow")) || 0;
|
14815
|
+
this.ARIA_LABEL_STRING = "aria-label";
|
14808
14816
|
this.displayDefaultNavigationItem = (href, hreflang, target, rel, referrerpolicy, download, label) => {
|
14809
14817
|
const variant = this.isTopNavChild || this.inTopNavSideMenu ? "body" : "label";
|
14810
14818
|
const ChevronIconComponent = this.expandable && (hAsync("div", { class: { svg: true }, innerHTML: chevronIcon }));
|
14811
14819
|
const IconComponent = this.el.querySelector('[slot="icon"]') && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" })));
|
14812
14820
|
if (href !== "") {
|
14813
|
-
return (hAsync("a", { href: href, target: target, rel: rel, hreflang: hreflang, referrerPolicy: referrerpolicy, download: download !== false ? download : null, class: "link", ref: (el) => (this.itemEl = el), part: "link" }, IconComponent, hAsync("ic-typography", { variant: variant }, label), hAsync("div", { class: "chevron-container" }, ChevronIconComponent), target === "_blank" && (hAsync("span", { class: "open-in-new-icon", innerHTML: OpenInNew }))));
|
14821
|
+
return (hAsync("a", { href: href, target: target, rel: rel, hreflang: hreflang, referrerPolicy: referrerpolicy, download: download !== false ? download : null, class: "link", ref: (el) => (this.itemEl = el), part: "link", "aria-label": this.ariaLabel ? this.ariaLabel : null }, IconComponent, hAsync("ic-typography", { variant: variant }, label), hAsync("div", { class: "chevron-container" }, ChevronIconComponent), target === "_blank" && (hAsync("span", { class: "open-in-new-icon", innerHTML: OpenInNew }))));
|
14814
14822
|
}
|
14815
14823
|
return (hAsync("div", { tabindex: "0", class: "link", ref: (el) => (this.itemEl = el) }, IconComponent, hAsync("ic-typography", { variant: variant }, label), ChevronIconComponent));
|
14816
14824
|
};
|
@@ -14828,6 +14836,7 @@ class NavigationItem {
|
|
14828
14836
|
const { sideNavExpanded, sideNavMobile } = detail;
|
14829
14837
|
this.sideNavExpanded = sideNavExpanded;
|
14830
14838
|
this.isSideNavMobile = sideNavMobile;
|
14839
|
+
this.sideNavToggleTooltip(!(sideNavExpanded || sideNavMobile));
|
14831
14840
|
};
|
14832
14841
|
this.handleBlur = ({ relatedTarget }) => {
|
14833
14842
|
if (relatedTarget === null ||
|
@@ -14838,6 +14847,14 @@ class NavigationItem {
|
|
14838
14847
|
this.handleClick = () => {
|
14839
14848
|
this.navItemClicked.emit();
|
14840
14849
|
};
|
14850
|
+
// triggered when attributes of host element change
|
14851
|
+
this.hostMutationCallback = (mutationList) => {
|
14852
|
+
mutationList.forEach(({ attributeName }) => {
|
14853
|
+
if (attributeName === this.ARIA_LABEL_STRING) {
|
14854
|
+
this.ariaLabel = this.el.getAttribute(attributeName);
|
14855
|
+
}
|
14856
|
+
});
|
14857
|
+
};
|
14841
14858
|
this.generateTooltipLabel = () => {
|
14842
14859
|
if (this.label) {
|
14843
14860
|
return this.label;
|
@@ -14859,6 +14876,24 @@ class NavigationItem {
|
|
14859
14876
|
}
|
14860
14877
|
return hAsync("slot", null);
|
14861
14878
|
};
|
14879
|
+
// Displays tooltip only once the collapsing animation is finished
|
14880
|
+
this.sideNavToggleTooltip = (showTooltip) => {
|
14881
|
+
const tooltip = this.el.shadowRoot.querySelector("ic-tooltip");
|
14882
|
+
const collapsedClass = "tooltip-navigation-item-side-nav-collapsed";
|
14883
|
+
let timer;
|
14884
|
+
if (tooltip) {
|
14885
|
+
if (showTooltip) {
|
14886
|
+
tooltip.displayTooltip(false); // Hides tooltip for when mouse is hovering over icon
|
14887
|
+
timer = setTimeout(() => {
|
14888
|
+
tooltip.classList.add(collapsedClass);
|
14889
|
+
}, this.ANIMATION_DURATION);
|
14890
|
+
}
|
14891
|
+
else {
|
14892
|
+
clearTimeout(timer);
|
14893
|
+
tooltip.classList.remove(collapsedClass);
|
14894
|
+
}
|
14895
|
+
}
|
14896
|
+
};
|
14862
14897
|
this.deviceSize = DEVICE_SIZES.XL;
|
14863
14898
|
this.focusStyle = getThemeForegroundColor();
|
14864
14899
|
this.inTopNavSideMenu = false;
|
@@ -14867,6 +14902,7 @@ class NavigationItem {
|
|
14867
14902
|
this.navigationType = undefined;
|
14868
14903
|
this.parentEl = undefined;
|
14869
14904
|
this.sideNavExpanded = false;
|
14905
|
+
this.ariaLabel = "";
|
14870
14906
|
this.collapsedIconLabel = false;
|
14871
14907
|
this.displayNavigationTooltip = false;
|
14872
14908
|
this.download = false;
|
@@ -14880,18 +14916,24 @@ class NavigationItem {
|
|
14880
14916
|
this.target = undefined;
|
14881
14917
|
}
|
14882
14918
|
disconnectedCallback() {
|
14919
|
+
var _a;
|
14883
14920
|
if (this.navigationType === "side") {
|
14884
14921
|
this.parentEl.removeEventListener("sideNavExpanded", this.sideNavExpandHandler);
|
14885
14922
|
}
|
14886
14923
|
else if (this.navigationType === "top") {
|
14887
14924
|
this.parentEl.removeEventListener("topNavResized", this.topNavResizedHandler);
|
14888
14925
|
}
|
14926
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
14889
14927
|
}
|
14890
14928
|
componentWillLoad() {
|
14929
|
+
var _a, _b;
|
14891
14930
|
const { navType, parent } = getNavItemParentDetails(this.el);
|
14892
14931
|
this.navigationType = navType;
|
14893
14932
|
this.parentEl = parent;
|
14894
14933
|
this.deviceSize = getCurrentDeviceSize();
|
14934
|
+
this.sideNavExpanded =
|
14935
|
+
((_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.classList.contains("sm-expanded")) ||
|
14936
|
+
((_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.classList.contains("xs-menu-open"));
|
14895
14937
|
if (this.navigationType === "side") {
|
14896
14938
|
this.parentEl.addEventListener("sideNavExpanded", this.sideNavExpandHandler);
|
14897
14939
|
}
|
@@ -14907,6 +14949,15 @@ class NavigationItem {
|
|
14907
14949
|
if (this.navigationSlot) {
|
14908
14950
|
this.navigationSlot.ariaLabel = this.navigationSlot.textContent.trim();
|
14909
14951
|
}
|
14952
|
+
if (this.el.hasAttribute(this.ARIA_LABEL_STRING)) {
|
14953
|
+
this.ariaLabel = this.el.getAttribute(this.ARIA_LABEL_STRING);
|
14954
|
+
}
|
14955
|
+
}
|
14956
|
+
componentDidLoad() {
|
14957
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
14958
|
+
this.hostMutationObserver.observe(this.el, {
|
14959
|
+
attributes: true,
|
14960
|
+
});
|
14910
14961
|
}
|
14911
14962
|
componentDidUpdate() {
|
14912
14963
|
this.isInitialRender = false;
|
@@ -14945,8 +14996,7 @@ class NavigationItem {
|
|
14945
14996
|
["expandable"]: this.expandable,
|
14946
14997
|
}, onBlur: isTopNavChild && !inTopNavSideMenu ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { label: this.generateTooltipLabel(), target: "navigation-item", placement: "right", class: {
|
14947
14998
|
["tooltip-navigation-item"]: true,
|
14948
|
-
["tooltip-navigation-item-side-nav-collapsed"]:
|
14949
|
-
this.navigationType === "side",
|
14999
|
+
["tooltip-navigation-item-side-nav-collapsed"]: this.displayNavigationTooltip && this.navigationType === "side",
|
14950
15000
|
["tooltip-long-label-navigation-item-side-nav-expanded"]: this.el.hasAttribute("[display-navigation-tooltip = 'true']"),
|
14951
15001
|
} }, this.renderNavigationItemContent())));
|
14952
15002
|
}
|
@@ -14976,6 +15026,7 @@ class NavigationItem {
|
|
14976
15026
|
"navigationType": [32],
|
14977
15027
|
"parentEl": [32],
|
14978
15028
|
"sideNavExpanded": [32],
|
15029
|
+
"ariaLabel": [32],
|
14979
15030
|
"setFocus": [64]
|
14980
15031
|
},
|
14981
15032
|
"$listeners$": [[4, "themeChange", "themeChangeHandler"]],
|
@@ -15628,7 +15679,7 @@ class PopoverMenu {
|
|
15628
15679
|
this.popoverMenuEls.push(el);
|
15629
15680
|
}
|
15630
15681
|
else if (el.tagName === "IC-MENU-GROUP") {
|
15631
|
-
const groupSlotWrapper = el.shadowRoot.querySelector("
|
15682
|
+
const groupSlotWrapper = el.shadowRoot.querySelector(".menu-items-wrapper");
|
15632
15683
|
const menuGroupElements = getSlotElements(groupSlotWrapper);
|
15633
15684
|
this.addMenuItems(menuGroupElements);
|
15634
15685
|
}
|
@@ -15717,8 +15768,8 @@ class PopoverMenu {
|
|
15717
15768
|
}
|
15718
15769
|
}
|
15719
15770
|
handleMenuItemClick(ev) {
|
15720
|
-
if (!ev.detail.
|
15721
|
-
this.closeMenu();
|
15771
|
+
if (!ev.detail.submenuTriggerFor && ev.detail.label !== "Back") {
|
15772
|
+
this.closeMenu(false, ev.detail);
|
15722
15773
|
}
|
15723
15774
|
}
|
15724
15775
|
// This is listening for the event emitted when a menu item is acting as a trigger button
|
@@ -15792,17 +15843,17 @@ class PopoverMenu {
|
|
15792
15843
|
* @internal Close the menu, emit icPopoverClosed of the root popover
|
15793
15844
|
* @param setFocusToAnchor when true return focus to anchor element when menu is closed
|
15794
15845
|
*/
|
15795
|
-
async closeMenu(setFocusToAnchor = false) {
|
15846
|
+
async closeMenu(setFocusToAnchor = false, menuElement) {
|
15796
15847
|
var _a;
|
15797
15848
|
this.open = false;
|
15798
15849
|
if (this.parentPopover) {
|
15799
|
-
this.parentPopover.closeMenu(setFocusToAnchor);
|
15850
|
+
this.parentPopover.closeMenu(setFocusToAnchor, menuElement);
|
15800
15851
|
}
|
15801
15852
|
else {
|
15802
15853
|
if (setFocusToAnchor) {
|
15803
15854
|
(_a = this.anchorEl) === null || _a === void 0 ? void 0 : _a.focus();
|
15804
15855
|
}
|
15805
|
-
this.icPopoverClosed.emit();
|
15856
|
+
this.icPopoverClosed.emit(menuElement);
|
15806
15857
|
}
|
15807
15858
|
}
|
15808
15859
|
render() {
|
@@ -15810,10 +15861,10 @@ class PopoverMenu {
|
|
15810
15861
|
? `ic-popover-submenu-${this.submenuId}`
|
15811
15862
|
: "", class: {
|
15812
15863
|
menu: true,
|
15813
|
-
}, tabindex: open ? "0" : "-1" }, hAsync("
|
15864
|
+
}, tabindex: open ? "0" : "-1" }, hAsync("span", { class: {
|
15814
15865
|
"opening-from-parent": this.openingFromParent,
|
15815
15866
|
"opening-from-child": this.openingFromChild,
|
15816
|
-
} }, isPropDefined(this.submenuId) && (hAsync("
|
15867
|
+
} }, isPropDefined(this.submenuId) && (hAsync("span", null, hAsync("span", { role: "menu" }, hAsync("ic-menu-item", { class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, hAsync("svg", { slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("ul", { class: "button", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", null))))));
|
15817
15868
|
}
|
15818
15869
|
static get delegatesFocus() { return true; }
|
15819
15870
|
get el() { return getElement(this); }
|
@@ -17653,8 +17704,10 @@ class SideNavigation {
|
|
17653
17704
|
appTitle.classList.remove("ic-typography-no-wrap");
|
17654
17705
|
}, this.ANIMATION_DURATION);
|
17655
17706
|
};
|
17656
|
-
this.toggleMenuExpanded = () => {
|
17657
|
-
this.
|
17707
|
+
this.toggleMenuExpanded = (expanded) => {
|
17708
|
+
if (this.deviceSize > DEVICE_SIZES.S) {
|
17709
|
+
this.menuExpanded = expanded;
|
17710
|
+
}
|
17658
17711
|
if (this.menuExpanded) {
|
17659
17712
|
this.setAndRemoveNoWrapAfterMenuExpanded();
|
17660
17713
|
this.el.shadowRoot
|
@@ -17936,7 +17989,7 @@ class SideNavigation {
|
|
17936
17989
|
this.version = undefined;
|
17937
17990
|
}
|
17938
17991
|
watchExpandedHandler() {
|
17939
|
-
this.
|
17992
|
+
this.toggleMenuExpanded(this.expanded);
|
17940
17993
|
}
|
17941
17994
|
componentWillLoad() {
|
17942
17995
|
this.setMenuExpanded(this.expanded);
|
@@ -17959,10 +18012,11 @@ class SideNavigation {
|
|
17959
18012
|
onComponentRequiredPropUndefined([{ prop: this.appTitle, propName: "app-title" }], "Side Navigation");
|
17960
18013
|
}
|
17961
18014
|
disconnectedCallback() {
|
18015
|
+
var _a;
|
17962
18016
|
if (this.resizeObserver !== null) {
|
17963
18017
|
this.resizeObserver.disconnect();
|
17964
18018
|
}
|
17965
|
-
this.el.removeEventListener("transitionend", this.transitionEndHandler);
|
18019
|
+
(_a = this.el) === null || _a === void 0 ? void 0 : _a.removeEventListener("transitionend", this.transitionEndHandler);
|
17966
18020
|
}
|
17967
18021
|
themeChangeHandler({ detail }) {
|
17968
18022
|
this.foregroundColor = detail.mode;
|
@@ -17994,7 +18048,7 @@ class SideNavigation {
|
|
17994
18048
|
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "primary-navigation" }))))), hAsync("div", { class: {
|
17995
18049
|
["bottom-wrapper"]: true,
|
17996
18050
|
["classification-spacing"]: hasClassificationBanner(),
|
17997
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "secondary-navigation" })))), hAsync("div", { class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", null), displayExpandBtn && (hAsync("button", { class: "menu-expand-button", innerHTML: chevronIcon, onClick: this.toggleMenuExpanded, "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { class: "app-status-wrapper" }, status !== "" && (hAsync("div", { class: {
|
18051
|
+
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "secondary-navigation" })))), hAsync("div", { class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", null), displayExpandBtn && (hAsync("button", { class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { class: "app-status-wrapper" }, status !== "" && (hAsync("div", { class: {
|
17998
18052
|
["app-status"]: true,
|
17999
18053
|
} }, hAsync("ic-typography", { "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version !== "" && (hAsync("ic-typography", { variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
18000
18054
|
}
|
@@ -18904,7 +18958,8 @@ class TabContext {
|
|
18904
18958
|
this.configureTabs();
|
18905
18959
|
}
|
18906
18960
|
disconnectedCallback() {
|
18907
|
-
|
18961
|
+
var _a;
|
18962
|
+
(_a = this.tabGroup) === null || _a === void 0 ? void 0 : _a.removeEventListener("keydown", this.keydownHandler);
|
18908
18963
|
}
|
18909
18964
|
tabClickHandler(event) {
|
18910
18965
|
if (this.selectedTabIndex === undefined &&
|
@@ -19676,6 +19731,9 @@ class ToggleButton {
|
|
19676
19731
|
constructor(hostRef) {
|
19677
19732
|
registerInstance(this, hostRef);
|
19678
19733
|
this.icToggleChecked = createEvent(this, "icToggleChecked", 7);
|
19734
|
+
this.hostMutationObserver = null;
|
19735
|
+
this.hostMutationCallback = () => {
|
19736
|
+
};
|
19679
19737
|
this.handleFocus = (ev) => {
|
19680
19738
|
ev.stopImmediatePropagation();
|
19681
19739
|
};
|
@@ -19709,6 +19767,18 @@ class ToggleButton {
|
|
19709
19767
|
propName: this.variant === "icon" ? "accessible-label" : "label",
|
19710
19768
|
},
|
19711
19769
|
], "Toggle button");
|
19770
|
+
if (typeof MutationObserver !== "undefined") {
|
19771
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
19772
|
+
this.hostMutationObserver.observe(this.el, {
|
19773
|
+
childList: true,
|
19774
|
+
});
|
19775
|
+
}
|
19776
|
+
}
|
19777
|
+
disconnectedCallback() {
|
19778
|
+
if (this.hostMutationObserver !== null &&
|
19779
|
+
this.hostMutationObserver !== undefined) {
|
19780
|
+
this.hostMutationObserver.disconnect();
|
19781
|
+
}
|
19712
19782
|
}
|
19713
19783
|
handleHostClick(e) {
|
19714
19784
|
if (this.disabled) {
|
@@ -19900,7 +19970,7 @@ class ToggleButtonGroup {
|
|
19900
19970
|
});
|
19901
19971
|
}
|
19902
19972
|
disconnectedCallback() {
|
19903
|
-
document.removeEventListener("keydown", this.keyListener);
|
19973
|
+
document === null || document === void 0 ? void 0 : document.removeEventListener("keydown", this.keyListener);
|
19904
19974
|
}
|
19905
19975
|
// trigger selectHandler when unable to add 'target'
|
19906
19976
|
proxySelectHandler(toggle) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ukic/web-components",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.32.0",
|
4
4
|
"description": "A web component UI library compiled with StencilJS",
|
5
5
|
"author": "mi6",
|
6
6
|
"bugs": {
|
@@ -96,5 +96,5 @@
|
|
96
96
|
"webpack": "^5.76.0"
|
97
97
|
},
|
98
98
|
"license": "MIT",
|
99
|
-
"gitHead": "
|
99
|
+
"gitHead": "aff793113e94a59e56cc50e22325beb68593192a"
|
100
100
|
}
|
package/vscode-data.json
CHANGED
@@ -656,7 +656,7 @@
|
|
656
656
|
},
|
657
657
|
{
|
658
658
|
"name": "checked",
|
659
|
-
"description": "If `true`, the checkbox will be set to the checked state."
|
659
|
+
"description": "If `true`, the checkbox will be set to the checked state. This is only the initial state and will be updated to unchecked if the checkbox is clicked."
|
660
660
|
},
|
661
661
|
{
|
662
662
|
"name": "disabled",
|
@@ -1899,6 +1899,10 @@
|
|
1899
1899
|
"name": "target",
|
1900
1900
|
"description": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
|
1901
1901
|
},
|
1902
|
+
{
|
1903
|
+
"name": "toggle-checked",
|
1904
|
+
"description": "If `true`, the menu item will be in a checked state. This is only applicable when variant is set to `toggle`."
|
1905
|
+
},
|
1902
1906
|
{
|
1903
1907
|
"name": "variant",
|
1904
1908
|
"description": "The variant of the menu item.",
|