@ncino/web-components 2.0.0-preview.7 → 2.0.0-preview.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/assets/index-chunk13.js +1 -1
  2. package/dist/assets/index-chunk14.js +1 -0
  3. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  4. package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
  5. package/dist/components/alert/gator/title/alert-title.gator.js +2 -2
  6. package/dist/components/boolean/boolean.gator.js +2 -2
  7. package/dist/components/boolean/index.js +1 -1
  8. package/dist/components/card/gator/content/card-content.gator.js +2 -2
  9. package/dist/components/card/gator/footer/card-footer.gator.js +2 -2
  10. package/dist/components/checkbox/checkbox.gator.js +2 -2
  11. package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
  12. package/dist/components/checkbox-group/index.js +1 -1
  13. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +12 -0
  14. package/dist/components/display-card/gator/display-card.gator.js +2 -2
  15. package/dist/components/fab/gator/fab.gator.js +2 -2
  16. package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
  17. package/dist/components/input/base/input-base.gator.js +16 -10
  18. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +72 -0
  19. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  20. package/dist/components/input/gator/input-label/input-label.gator.js +11 -6
  21. package/dist/components/input/gator/input-text/input-text.gator.js +10 -8
  22. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +2 -2
  23. package/dist/components/input/index.js +1 -1
  24. package/dist/components/list/gator/list/list.gator.js +3 -2
  25. package/dist/components/list/gator/list-item/list-item.gator.js +13 -13
  26. package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
  27. package/dist/components/page-header/gator/page-header.gator.js +1 -1
  28. package/dist/components/radio-group/index.js +1 -1
  29. package/dist/components/radio-group/radio-group.gator.js +2 -2
  30. package/dist/components/selection-box-group/index.js +1 -1
  31. package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
  32. package/dist/components/selector/gator/selector.gator.js +15 -0
  33. package/dist/components/text-detail/gator/text-detail.gator.js +3 -3
  34. package/dist/components/text-link/gator/text-link.gator.js +2 -2
  35. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
  36. package/dist/components/tooltip/gator/tooltip.gator.js +3 -3
  37. package/dist/components/tooltip/index.js +1 -1
  38. package/dist/components/tooltip/slds/tooltip.slds.js +2 -2
  39. package/dist/index.gator.js +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/index.slds.js +1 -1
  42. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.d.ts +37 -0
  43. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.test.d.ts +0 -0
  44. package/dist/types/components/input/base/input-base.gator.d.ts +12 -3
  45. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +32 -0
  46. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.test.d.ts +0 -0
  47. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +2 -12
  48. package/dist/types/components/selector/gator/selector.gator.d.ts +42 -0
  49. package/dist/types/components/selector/gator/selector.gator.test.d.ts +0 -0
  50. package/dist/types/utils/vitest-utils.d.ts +1 -1
  51. package/package.json +28 -28
  52. package/web-types.json +224 -11
  53. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +0 -18
@@ -1 +1 @@
1
- const St="div[role=tooltip]{position:absolute;width:max-content;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s}#floating{position:absolute;width:max-content;top:0;left:0}",$=Math.min,D=Math.max,M=Math.round,H=Math.floor,T=t=>({x:t,y:t});function Z(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function ut(t){return t==="x"?"y":"x"}function at(t){return t==="y"?"height":"width"}function tt(t){return["top","bottom"].includes(Z(t))?"y":"x"}function dt(t){return ut(tt(t))}function et(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function K(t,e,o){let{reference:n,floating:i}=t;const c=tt(e),r=dt(e),s=at(r),f=Z(e),l=c==="y",a=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,g=n[s]/2-i[s]/2;let u;switch(f){case"top":u={x:a,y:n.y-i.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-i.width,y:d};break;default:u={x:n.x,y:n.y}}switch(ft(e)){case"start":u[r]-=g*(o&&l?-1:1);break;case"end":u[r]+=g*(o&&l?-1:1);break}return u}const ht=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:r}=o,s=c.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:d}=K(l,n,f),g=n,u={},x=0;for(let h=0;h<s.length;h++){const{name:m,fn:p}=s[h],{x:w,y:R,data:F,reset:L}=await p({x:a,y:d,initialPlacement:n,placement:g,strategy:i,middlewareData:u,rects:l,platform:r,elements:{reference:t,floating:e}});a=w??a,d=R??d,u={...u,[m]:{...u[m],...F}},L&&x<=50&&(x++,typeof L=="object"&&(L.placement&&(g=L.placement),L.rects&&(l=L.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):L.rects),{x:a,y:d}=K(l,g,f)),h=-1)}return{x:a,y:d,placement:g,strategy:i,middlewareData:u}};function V(){return typeof window<"u"}function W(t){return nt(t)?(t.nodeName||"").toLowerCase():"#document"}function y(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function E(t){var e;return(e=(nt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nt(t){return V()?t instanceof Node||t instanceof y(t).Node:!1}function v(t){return V()?t instanceof Element||t instanceof y(t).Element:!1}function C(t){return V()?t instanceof HTMLElement||t instanceof y(t).HTMLElement:!1}function G(t){return!V()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof y(t).ShadowRoot}function k(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=b(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function gt(t){return["table","td","th"].includes(W(t))}function z(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function X(t){const e=j(),o=v(t)?b(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function pt(t){let e=O(t);for(;C(e)&&!N(e);){if(X(e))return e;if(z(e))return null;e=O(e)}return null}function j(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function N(t){return["html","body","#document"].includes(W(t))}function b(t){return y(t).getComputedStyle(t)}function _(t){return v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function O(t){if(W(t)==="html")return t;const e=t.assignedSlot||t.parentNode||G(t)&&t.host||E(t);return G(e)?e.host:e}function ot(t){const e=O(t);return N(e)?t.ownerDocument?t.ownerDocument.body:t.body:C(e)&&k(e)?e:ot(e)}function B(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=ot(t),c=i===((n=t.ownerDocument)==null?void 0:n.body),r=y(i);if(c){const s=Y(r);return e.concat(r,r.visualViewport||[],k(i)?i:[],s&&o?B(s):[])}return e.concat(i,B(i,[],o))}function Y(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function it(t){const e=b(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=C(t),c=i?t.offsetWidth:o,r=i?t.offsetHeight:n,s=M(o)!==c||M(n)!==r;return s&&(o=c,n=r),{width:o,height:n,$:s}}function q(t){return v(t)?t:t.contextElement}function S(t){const e=q(t);if(!C(e))return T(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:c}=it(e);let r=(c?M(o.width):o.width)/n,s=(c?M(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!s||!Number.isFinite(s))&&(s=1),{x:r,y:s}}const mt=T(0);function rt(t){const e=y(t);return!j()||!e.visualViewport?mt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wt(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==y(t)?!1:e}function A(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),c=q(t);let r=T(1);e&&(n?v(n)&&(r=S(n)):r=S(t));const s=wt(c,o,n)?rt(c):T(0);let f=(i.left+s.x)/r.x,l=(i.top+s.y)/r.y,a=i.width/r.x,d=i.height/r.y;if(c){const g=y(c),u=n&&v(n)?y(n):n;let x=g,h=Y(x);for(;h&&n&&u!==x;){const m=S(h),p=h.getBoundingClientRect(),w=b(h),R=p.left+(h.clientLeft+parseFloat(w.paddingLeft))*m.x,F=p.top+(h.clientTop+parseFloat(w.paddingTop))*m.y;f*=m.x,l*=m.y,a*=m.x,d*=m.y,f+=R,l+=F,x=y(h),h=Y(x)}}return et({width:a,height:d,x:f,y:l})}function U(t,e){const o=_(t).scrollLeft;return e?e.left+o:A(E(t)).left+o}function st(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(o?0:U(t,n)),c=n.top+e.scrollTop;return{x:i,y:c}}function yt(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const c=i==="fixed",r=E(n),s=e?z(e.floating):!1;if(n===r||s&&c)return o;let f={scrollLeft:0,scrollTop:0},l=T(1);const a=T(0),d=C(n);if((d||!d&&!c)&&((W(n)!=="body"||k(r))&&(f=_(n)),C(n))){const u=A(n);l=S(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}const g=r&&!d&&!c?st(r,f,!0):T(0);return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-f.scrollLeft*l.x+a.x+g.x,y:o.y*l.y-f.scrollTop*l.y+a.y+g.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){const e=E(t),o=_(t),n=t.ownerDocument.body,i=D(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=D(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+U(t);const s=-o.scrollTop;return b(n).direction==="rtl"&&(r+=D(e.clientWidth,n.clientWidth)-i),{width:i,height:c,x:r,y:s}}function bt(t,e){const o=y(t),n=E(t),i=o.visualViewport;let c=n.clientWidth,r=n.clientHeight,s=0,f=0;if(i){c=i.width,r=i.height;const l=j();(!l||l&&e==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:c,height:r,x:s,y:f}}function Rt(t,e){const o=A(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,c=C(t)?S(t):T(1),r=t.clientWidth*c.x,s=t.clientHeight*c.y,f=i*c.x,l=n*c.y;return{width:r,height:s,x:f,y:l}}function J(t,e,o){let n;if(e==="viewport")n=bt(t,o);else if(e==="document")n=vt(E(t));else if(v(e))n=Rt(e,o);else{const i=rt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return et(n)}function ct(t,e){const o=O(t);return o===e||!v(o)||N(o)?!1:b(o).position==="fixed"||ct(o,e)}function Lt(t,e){const o=e.get(t);if(o)return o;let n=B(t,[],!1).filter(s=>v(s)&&W(s)!=="body"),i=null;const c=b(t).position==="fixed";let r=c?O(t):t;for(;v(r)&&!N(r);){const s=b(r),f=X(r);!f&&s.position==="fixed"&&(i=null),(c?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||k(r)&&!f&&ct(t,r))?n=n.filter(a=>a!==r):i=s,r=O(r)}return e.set(t,n),n}function Tt(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?z(e)?[]:Lt(e,this._c):[].concat(o),n],s=r[0],f=r.reduce((l,a)=>{const d=J(e,a,i);return l.top=D(d.top,l.top),l.right=$(d.right,l.right),l.bottom=$(d.bottom,l.bottom),l.left=D(d.left,l.left),l},J(e,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ct(t){const{width:e,height:o}=it(t);return{width:e,height:o}}function Et(t,e,o){const n=C(e),i=E(e),c=o==="fixed",r=A(t,!0,c,e);let s={scrollLeft:0,scrollTop:0};const f=T(0);if(n||!n&&!c)if((W(e)!=="body"||k(i))&&(s=_(e)),n){const g=A(e,!0,c,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else i&&(f.x=U(i));const l=i&&!n&&!c?st(i,s):T(0),a=r.left+s.scrollLeft-f.x-l.x,d=r.top+s.scrollTop-f.y-l.y;return{x:a,y:d,width:r.width,height:r.height}}function P(t){return b(t).position==="static"}function Q(t,e){if(!C(t)||b(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return E(t)===o&&(o=o.ownerDocument.body),o}function lt(t,e){const o=y(t);if(z(t))return o;if(!C(t)){let i=O(t);for(;i&&!N(i);){if(v(i)&&!P(i))return i;i=O(i)}return o}let n=Q(t,e);for(;n&&gt(n)&&P(n);)n=Q(n,e);return n&&N(n)&&P(n)&&!X(n)?o:n||pt(t)||o}const Ot=async function(t){const e=this.getOffsetParent||lt,o=this.getDimensions,n=await o(t.floating);return{reference:Et(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function At(t){return b(t).direction==="rtl"}const Ft={convertOffsetParentRelativeRectToViewportRelativeRect:yt,getDocumentElement:E,getClippingRect:Tt,getOffsetParent:lt,getElementRects:Ot,getClientRects:xt,getDimensions:Ct,getScale:S,isElement:v,isRTL:At};function Dt(t,e){let o=null,n;const i=E(t);function c(){var s;clearTimeout(n),(s=o)==null||s.disconnect(),o=null}function r(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),c();const{left:l,top:a,width:d,height:g}=t.getBoundingClientRect();if(s||e(),!d||!g)return;const u=H(a),x=H(i.clientWidth-(l+d)),h=H(i.clientHeight-(a+g)),m=H(l),w={rootMargin:-u+"px "+-x+"px "+-h+"px "+-m+"px",threshold:D(0,$(1,f))||1};let R=!0;function F(L){const I=L[0].intersectionRatio;if(I!==f){if(!R)return r();I?r(!1,I):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R=!1}try{o=new IntersectionObserver(F,{...w,root:i.ownerDocument})}catch{o=new IntersectionObserver(F,w)}o.observe(t)}return r(!0),c}function Nt(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:c=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,l=q(t),a=i||c?[...l?B(l):[],...B(e)]:[];a.forEach(p=>{i&&p.addEventListener("scroll",o,{passive:!0}),c&&p.addEventListener("resize",o)});const d=l&&s?Dt(l,o):null;let g=-1,u=null;r&&(u=new ResizeObserver(p=>{let[w]=p;w&&w.target===l&&u&&(u.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var R;(R=u)==null||R.observe(e)})),o()}),l&&!f&&u.observe(l),u.observe(e));let x,h=f?A(t):null;f&&m();function m(){const p=A(t);h&&(p.x!==h.x||p.y!==h.y||p.width!==h.width||p.height!==h.height)&&o(),h=p,x=requestAnimationFrame(m)}return o(),()=>{var p;a.forEach(w=>{i&&w.removeEventListener("scroll",o),c&&w.removeEventListener("resize",o)}),d==null||d(),(p=u)==null||p.disconnect(),u=null,f&&cancelAnimationFrame(x)}}const Wt=(t,e,o)=>{const n=new Map,i={platform:Ft,...o},c={...i.platform,_c:n};return ht(t,e,{...i,platform:c})};export{Nt as a,Wt as c,St as t};
1
+ const t="div[role=tooltip]{position:absolute;width:max-content;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s}#floating{position:absolute;width:max-content;top:0;left:0}";export{t};
@@ -0,0 +1 @@
1
+ const Ot=["top","right","bottom","left"],nt=["start","end"],ot=Ot.reduce((t,e)=>t.concat(e,e+"-"+nt[0],e+"-"+nt[1]),[]),K=Math.min,B=Math.max,z=Math.round,$=Math.floor,C=t=>({x:t,y:t}),Et={left:"right",right:"left",bottom:"top",top:"bottom"},Tt={start:"end",end:"start"};function ft(t,e){return typeof t=="function"?t(e):t}function j(t){return t.split("-")[0]}function D(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function ut(t){return t==="y"?"height":"width"}function at(t){return["top","bottom"].includes(j(t))?"y":"x"}function dt(t){return Ct(at(t))}function Lt(t,e,n){n===void 0&&(n=!1);const o=D(t),i=dt(t),s=ut(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=it(r)),[r,it(r)]}function At(t){return t.replace(/start|end/g,e=>Tt[e])}function it(t){return t.replace(/left|right|bottom|top/g,e=>Et[e])}function St(t){return{top:0,right:0,bottom:0,left:0,...t}}function Pt(t){return typeof t!="number"?St(t):{top:t,right:t,bottom:t,left:t}}function I(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function rt(t,e,n){let{reference:o,floating:i}=t;const s=at(e),r=dt(e),c=ut(r),f=j(e),l=s==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let a;switch(f){case"top":a={x:d,y:o.y-i.height};break;case"bottom":a={x:d,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:u};break;case"left":a={x:o.x-i.width,y:u};break;default:a={x:o.x,y:o.y}}switch(D(e)){case"start":a[r]-=h*(n&&l?-1:1);break;case"end":a[r]+=h*(n&&l?-1:1);break}return a}const Dt=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,c=s.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=rt(l,o,f),h=o,a={},y=0;for(let m=0;m<c.length;m++){const{name:p,fn:g}=c[m],{x:w,y:v,data:b,reset:x}=await g({x:d,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:a,rects:l,platform:r,elements:{reference:t,floating:e}});d=w??d,u=v??u,a={...a,[p]:{...a[p],...b}},x&&y<=50&&(y++,typeof x=="object"&&(x.placement&&(h=x.placement),x.rects&&(l=x.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:d,y:u}=rt(l,h,f)),m=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:a}};async function Ft(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:a=0}=ft(e,t),y=Pt(a),p=c[h?u==="floating"?"reference":"floating":u],g=I(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:f})),w=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},x=I(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:v,strategy:f}):w);return{top:(g.top-x.top+y.top)/b.y,bottom:(x.bottom-g.bottom+y.bottom)/b.y,left:(g.left-x.left+y.left)/b.x,right:(x.right-g.right+y.right)/b.x}}function Bt(t,e,n){return(t?[...n.filter(i=>D(i)===t),...n.filter(i=>D(i)!==t)]:n.filter(i=>j(i)===i)).filter(i=>t?D(i)===t||(e?At(i)!==i:!1):!0)}const Nt=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;const{rects:s,middlewareData:r,placement:c,platform:f,elements:l}=e,{crossAxis:d=!1,alignment:u,allowedPlacements:h=ot,autoAlignment:a=!0,...y}=ft(t,e),m=u!==void 0||h===ot?Bt(u||null,a,h):h,p=await Ft(e,y),g=((n=r.autoPlacement)==null?void 0:n.index)||0,w=m[g];if(w==null)return{};const v=Lt(w,s,await(f.isRTL==null?void 0:f.isRTL(l.floating)));if(c!==w)return{reset:{placement:m[0]}};const b=[p[j(w)],p[v[0]],p[v[1]]],x=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:w,overflows:b}],V=m[g+1];if(V)return{data:{index:g+1,overflows:x},reset:{placement:V}};const P=x.map(T=>{const k=D(T.placement);return[T.placement,k&&d?T.overflows.slice(0,2).reduce((bt,Rt)=>bt+Rt,0):T.overflows[0],T.overflows]}).sort((T,k)=>T[1]-k[1]),et=((i=P.filter(T=>T[2].slice(0,D(T[0])?2:3).every(k=>k<=0))[0])==null?void 0:i[0])||P[0][0];return et!==c?{data:{index:g+1,overflows:x},reset:{placement:et}}:{}}}};function Y(){return typeof window<"u"}function M(t){return ht(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function A(t){var e;return(e=(ht(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ht(t){return Y()?t instanceof Node||t instanceof R(t).Node:!1}function O(t){return Y()?t instanceof Element||t instanceof R(t).Element:!1}function L(t){return Y()?t instanceof HTMLElement||t instanceof R(t).HTMLElement:!1}function st(t){return!Y()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof R(t).ShadowRoot}function _(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=E(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Wt(t){return["table","td","th"].includes(M(t))}function q(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function J(t){const e=Q(),n=O(t)?E(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Mt(t){let e=S(t);for(;L(e)&&!W(e);){if(J(e))return e;if(q(e))return null;e=S(e)}return null}function Q(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function W(t){return["html","body","#document"].includes(M(t))}function E(t){return R(t).getComputedStyle(t)}function X(t){return O(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function S(t){if(M(t)==="html")return t;const e=t.assignedSlot||t.parentNode||st(t)&&t.host||A(t);return st(e)?e.host:e}function gt(t){const e=S(t);return W(e)?t.ownerDocument?t.ownerDocument.body:t.body:L(e)&&_(e)?e:gt(e)}function H(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=gt(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=R(i);if(s){const c=G(r);return e.concat(r,r.visualViewport||[],_(i)?i:[],c&&n?H(c):[])}return e.concat(i,H(i,[],n))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=E(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=L(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,c=z(n)!==s||z(o)!==r;return c&&(n=s,o=r),{width:n,height:o,$:c}}function Z(t){return O(t)?t:t.contextElement}function N(t){const e=Z(t);if(!L(e))return C(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=mt(e);let r=(s?z(n.width):n.width)/o,c=(s?z(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const Vt=C(0);function pt(t){const e=R(t);return!Q()||!e.visualViewport?Vt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function kt(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==R(t)?!1:e}function F(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=Z(t);let r=C(1);e&&(o?O(o)&&(r=N(o)):r=N(t));const c=kt(s,n,o)?pt(s):C(0);let f=(i.left+c.x)/r.x,l=(i.top+c.y)/r.y,d=i.width/r.x,u=i.height/r.y;if(s){const h=R(s),a=o&&O(o)?R(o):o;let y=h,m=G(y);for(;m&&o&&a!==y;){const p=N(m),g=m.getBoundingClientRect(),w=E(m),v=g.left+(m.clientLeft+parseFloat(w.paddingLeft))*p.x,b=g.top+(m.clientTop+parseFloat(w.paddingTop))*p.y;f*=p.x,l*=p.y,d*=p.x,u*=p.y,f+=v,l+=b,y=R(m),m=G(y)}}return I({width:d,height:u,x:f,y:l})}function tt(t,e){const n=X(t).scrollLeft;return e?e.left+n:F(A(t)).left+n}function wt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:tt(t,o)),s=o.top+e.scrollTop;return{x:i,y:s}}function Ht(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=A(o),c=e?q(e.floating):!1;if(o===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},l=C(1);const d=C(0),u=L(o);if((u||!u&&!s)&&((M(o)!=="body"||_(r))&&(f=X(o)),L(o))){const a=F(o);l=N(o),d.x=a.x+o.clientLeft,d.y=a.y+o.clientTop}const h=r&&!u&&!s?wt(r,f,!0):C(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-f.scrollLeft*l.x+d.x+h.x,y:n.y*l.y-f.scrollTop*l.y+d.y+h.y}}function _t(t){return Array.from(t.getClientRects())}function $t(t){const e=A(t),n=X(t),o=t.ownerDocument.body,i=B(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=B(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+tt(t);const c=-n.scrollTop;return E(o).direction==="rtl"&&(r+=B(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:c}}function zt(t,e){const n=R(t),o=A(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,c=0,f=0;if(i){s=i.width,r=i.height;const l=Q();(!l||l&&e==="fixed")&&(c=i.offsetLeft,f=i.offsetTop)}return{width:s,height:r,x:c,y:f}}function It(t,e){const n=F(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=L(t)?N(t):C(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=i*s.x,l=o*s.y;return{width:r,height:c,x:f,y:l}}function ct(t,e,n){let o;if(e==="viewport")o=zt(t,n);else if(e==="document")o=$t(A(t));else if(O(e))o=It(e,n);else{const i=pt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return I(o)}function yt(t,e){const n=S(t);return n===e||!O(n)||W(n)?!1:E(n).position==="fixed"||yt(n,e)}function jt(t,e){const n=e.get(t);if(n)return n;let o=H(t,[],!1).filter(c=>O(c)&&M(c)!=="body"),i=null;const s=E(t).position==="fixed";let r=s?S(t):t;for(;O(r)&&!W(r);){const c=E(r),f=J(r);!f&&c.position==="fixed"&&(i=null),(s?!f&&!i:!f&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_(r)&&!f&&yt(t,r))?o=o.filter(d=>d!==r):i=c,r=S(r)}return e.set(t,o),o}function Yt(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?q(e)?[]:jt(e,this._c):[].concat(n),o],c=r[0],f=r.reduce((l,d)=>{const u=ct(e,d,i);return l.top=B(u.top,l.top),l.right=K(u.right,l.right),l.bottom=K(u.bottom,l.bottom),l.left=B(u.left,l.left),l},ct(e,c,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function qt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Xt(t,e,n){const o=L(e),i=A(e),s=n==="fixed",r=F(t,!0,s,e);let c={scrollLeft:0,scrollTop:0};const f=C(0);if(o||!o&&!s)if((M(e)!=="body"||_(i))&&(c=X(e)),o){const h=F(e,!0,s,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else i&&(f.x=tt(i));const l=i&&!o&&!s?wt(i,c):C(0),d=r.left+c.scrollLeft-f.x-l.x,u=r.top+c.scrollTop-f.y-l.y;return{x:d,y:u,width:r.width,height:r.height}}function U(t){return E(t).position==="static"}function lt(t,e){if(!L(t)||E(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return A(t)===n&&(n=n.ownerDocument.body),n}function xt(t,e){const n=R(t);if(q(t))return n;if(!L(t)){let i=S(t);for(;i&&!W(i);){if(O(i)&&!U(i))return i;i=S(i)}return n}let o=lt(t,e);for(;o&&Wt(o)&&U(o);)o=lt(o,e);return o&&W(o)&&U(o)&&!J(o)?n:o||Mt(t)||n}const Ut=async function(t){const e=this.getOffsetParent||xt,n=this.getDimensions,o=await n(t.floating);return{reference:Xt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Kt(t){return E(t).direction==="rtl"}const Gt={convertOffsetParentRelativeRectToViewportRelativeRect:Ht,getDocumentElement:A,getClippingRect:Yt,getOffsetParent:xt,getElementRects:Ut,getClientRects:_t,getDimensions:qt,getScale:N,isElement:O,isRTL:Kt};function vt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Jt(t,e){let n=null,o;const i=A(t);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();const l=t.getBoundingClientRect(),{left:d,top:u,width:h,height:a}=l;if(c||e(),!h||!a)return;const y=$(u),m=$(i.clientWidth-(d+h)),p=$(i.clientHeight-(u+a)),g=$(d),v={rootMargin:-y+"px "+-m+"px "+-p+"px "+-g+"px",threshold:B(0,K(1,f))||1};let b=!0;function x(V){const P=V[0].intersectionRatio;if(P!==f){if(!b)return r();P?r(!1,P):o=setTimeout(()=>{r(!1,1e-7)},1e3)}P===1&&!vt(l,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(x,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(x,v)}n.observe(t)}return r(!0),s}function Zt(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=o,l=Z(t),d=i||s?[...l?H(l):[],...H(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const u=l&&c?Jt(l,n):null;let h=-1,a=null;r&&(a=new ResizeObserver(g=>{let[w]=g;w&&w.target===l&&a&&(a.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=a)==null||v.observe(e)})),n()}),l&&!f&&a.observe(l),a.observe(e));let y,m=f?F(t):null;f&&p();function p(){const g=F(t);m&&!vt(m,g)&&n(),m=g,y=requestAnimationFrame(p)}return n(),()=>{var g;d.forEach(w=>{i&&w.removeEventListener("scroll",n),s&&w.removeEventListener("resize",n)}),u==null||u(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(y)}}const te=Nt,ee=(t,e,n)=>{const o=new Map,i={platform:Gt,...n},s={...i.platform,_c:o};return Dt(t,e,{...i,platform:s})};export{Zt as a,te as b,ee as c};
@@ -1,4 +1,4 @@
1
- import{N as p}from"../../accordion.js";import{a as t,x as l}from"../../../../assets/index-chunk2.js";import{t as g}from"../../../../assets/index-chunk3.js";import{r as m}from"../../../../assets/index-chunk11.js";import{p as v}from"../../../../assets/index-chunk4.js";import{s as u}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../../../text-detail/gator/text-detail.gator.js";import{i as b}from"../../../../utils/string-utils.js";import{o as s}from"../../../../assets/index-chunk9.js";import"../../../../assets/index-chunk.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../icon/icon-registry.js";import"../../../card/gator/content/card-content.gator.js";import"../../../card/gator/footer/card-footer.gator.js";import"../../../text-detail/text-detail.js";import"../../../chip/gator/chip.gator.js";import"../../../chip/chip.js";import"../../../card/card.js";import"../../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk8.js";const f=".accordion-container{font-family:var(--ngc-font-family-body);font-style:normal;font-weight:400;border-bottom:var(--ngc-accordion-border-bottom);width:var(--ngc-accordion-width)}.accordion-header{display:flex;align-items:flex-start;width:100%;border:none;background:none;justify-content:space-between;padding:var(--ngc-accordion-header-padding);gap:1rem}.accordion-text-container{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;flex:1 0 0;letter-spacing:var(--text-letter-spacing-default, 0rem)}.accordion-title{color:var(--ngc-accordion-title-text-color);font-size:var(--ngc-accordion-title-font-size);line-height:var(--ngc-accordion-title-line-height)}.accordion-text-content{color:var(--ngc-accordion-subtitle-text-color);font-size:var(--ngc-accordion-subtitle-font-size);line-height:var(--ngc-accordion-subtitle-line-height)}.accordion-content{padding:var(--ngc-accordion-content-padding)}.hidden{display:none}.accordion-header:hover{background:var(--ngc-accordion-header-background-color-hover)}.accordion-header:active{border:var(--ngc-accordion-header-border-active)}.accordion-header:active.accordion-header_inside-card-expanded{border-radius:var(--ngc-card-border-radius, .5rem) var(--ngc-card-border-radius, .5rem) 0 0}.accordion-header:active.accordion-header_inside-card{border-radius:var(--ngc-card-border-radius, .5rem)}.accordion-header:focus-visible{outline:none;border:var(--ngc-accordion-header-border-focus);background:var(--ngc-accordion-header-background-color-focus)}.accordion-header:focus-visible.accordion-header_inside-card-expanded{border-radius:var(--ngc-card-border-radius, .5rem) var(--ngc-card-border-radius, .5rem) 0 0}.accordion-header:focus-visible.accordion-header_inside-card{border-radius:var(--ngc-card-border-radius, .5rem)}",x=":host,:root{--ngc-accordion-title-text-color: var(--primary-01-placeholder, var(--color-grey-50, #6D6D6D));--ngc-accordion-subtitle-text-color: var(--primary-03-base, var(--color-grey-70, #1F1F1F));--ngc-accordion-header-background-color-hover: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-background-color-focus: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-border-color-active: var(--color-stroke-brand, #11395B);--ngc-accordion-header-border-color-focus: var(--color-stroke-brand, #11395B);--ngc-accordion-border-bottom: none;--ngc-accordion-header-border-active: 1px solid var(--ngc-accordion-header-border-color-active);--ngc-accordion-header-border-focus: 2px solid var(--ngc-accordion-header-border-color-focus);--ngc-accordion-width: 25.25rem;--ngc-accordion-header-padding: var(--spacing-gap-16, 1rem);--ngc-accordion-content-padding: var(--spacing-gap-16, 1rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-24, 1.5rem) var(--spacing-padding-margin-16, 1rem);--ngc-accordion-title-font-size: var(--text-size-caption, .8125rem);--ngc-accordion-subtitle-font-size: var(--text-size-body-1, 1.0625rem);--ngc-accordion-title-line-height: var(--text-line-height-caption, 1.125rem);--ngc-accordion-subtitle-line-height: var(--text-line-height-body-1, 1.5rem)}";var y=Object.defineProperty,_=Object.getOwnPropertyDescriptor,h=(o,r,c,i)=>{for(var e=i>1?void 0:i?_(r,c):r,n=o.length-1,d;n>=0;n--)(d=o[n])&&(e=(i?d(r,c,e):d(e))||e);return i&&e&&y(r,c,e),e};let a=class extends p{constructor(){var o;super(),this._insideCard=!1,this._insideCard=((o=this.parentElement)==null?void 0:o.tagName)==="NGC-CARD"}render(){return l`
1
+ import{N as p}from"../../accordion.js";import{a as t,x as l}from"../../../../assets/index-chunk2.js";import{t as g}from"../../../../assets/index-chunk3.js";import{r as m}from"../../../../assets/index-chunk11.js";import{p as v}from"../../../../assets/index-chunk4.js";import{s as u}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../../../text-detail/gator/text-detail.gator.js";import{i as b}from"../../../../utils/string-utils.js";import{o as s}from"../../../../assets/index-chunk9.js";import"../../../../assets/index-chunk.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../icon/icon-registry.js";import"../../../card/gator/content/card-content.gator.js";import"../../../card/gator/footer/card-footer.gator.js";import"../../../text-detail/text-detail.js";import"../../../chip/gator/chip.gator.js";import"../../../chip/chip.js";import"../../../card/card.js";import"../../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk8.js";const f=".accordion-container{font-family:var(--ngc-font-family-body);font-style:normal;font-weight:400;border-bottom:var(--ngc-accordion-border-bottom);width:var(--ngc-accordion-width)}.accordion-header{display:flex;align-items:flex-start;width:100%;border:none;background:none;justify-content:space-between;padding:var(--ngc-accordion-header-padding);gap:1rem}.accordion-text-container{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;flex:1 0 0;letter-spacing:var(--text-letter-spacing-default, 0rem)}.accordion-title{color:var(--ngc-accordion-title-text-color);font-size:var(--ngc-accordion-title-font-size);line-height:var(--ngc-accordion-title-line-height)}.accordion-text-content{color:var(--ngc-accordion-subtitle-text-color);font-size:var(--ngc-accordion-subtitle-font-size);line-height:var(--ngc-accordion-subtitle-line-height)}.accordion-content{padding:var(--ngc-accordion-content-padding)}.hidden{display:none}.accordion-header:hover{background:var(--ngc-accordion-header-background-color-hover)}.accordion-header:active{border:var(--ngc-accordion-header-border-active)}.accordion-header:active.accordion-header_inside-card-expanded{border-radius:var(--ngc-card-border-radius, .5rem) var(--ngc-card-border-radius, .5rem) 0 0}.accordion-header:active.accordion-header_inside-card{border-radius:var(--ngc-card-border-radius, .5rem)}.accordion-header:focus-visible{outline:none;border:var(--ngc-accordion-header-border-focus);background:var(--ngc-accordion-header-background-color-focus)}.accordion-header:focus-visible.accordion-header_inside-card-expanded{border-radius:var(--ngc-card-border-radius, .5rem) var(--ngc-card-border-radius, .5rem) 0 0}.accordion-header:focus-visible.accordion-header_inside-card{border-radius:var(--ngc-card-border-radius, .5rem)}",x=":host,:root{--ngc-accordion-title-text-color: var(--primary-01-placeholder, var(--color-grey-50, #6D6D6D));--ngc-accordion-subtitle-text-color: var(--primary-03-base, var(--color-grey-70, #1F1F1F));--ngc-accordion-header-background-color-hover: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-background-color-focus: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-border-color-active: var(--color-stroke-brand, #11395B);--ngc-accordion-header-border-color-focus: var(--color-stroke-brand, #11395B);--ngc-accordion-border-bottom: none;--ngc-accordion-header-border-active: 1px solid var(--ngc-accordion-header-border-color-active);--ngc-accordion-header-border-focus: 2px solid var(--ngc-accordion-header-border-color-focus);--ngc-accordion-width: 25.25rem;--ngc-accordion-header-padding: var(--spacing-gap-16, 1rem);--ngc-accordion-content-padding: var(--spacing-gap-16, 1rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-24, 1.5rem) var(--spacing-padding-margin-16, 1rem);--ngc-accordion-title-font-size: var(--text-size-caption, .8125rem);--ngc-accordion-subtitle-font-size: var(--text-size-body-1, 1.0625rem);--ngc-accordion-title-line-height: var(--text-line-height-caption, 1.125rem);--ngc-accordion-subtitle-line-height: var(--text-line-height-body-1, 1.5rem)}";var y=Object.defineProperty,_=Object.getOwnPropertyDescriptor,h=(o,r,c,i)=>{for(var e=i>1?void 0:i?_(r,c):r,d=o.length-1,n;d>=0;d--)(n=o[d])&&(e=(i?n(r,c,e):n(e))||e);return i&&e&&y(r,c,e),e};let a=class extends p{constructor(){var o;super(),this._insideCard=!1,this._insideCard=((o=this.parentElement)==null?void 0:o.tagName)==="NGC-CARD"}render(){return l`
2
2
  <div class="accordion-container">
3
3
  <div class="accordion-header-container">
4
4
  <button id="${this.headerId}"
@@ -1,5 +1,5 @@
1
- import"../base/accordion.gator.js";import{N as s}from"../../accordion.js";import{a as c,x as l}from"../../../../assets/index-chunk2.js";import{t as g}from"../../../../assets/index-chunk3.js";import{n as m}from"../../../../assets/index-chunk.js";import{p as h}from"../../../../assets/index-chunk4.js";import{s as u}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import{i as v}from"../../../../utils/string-utils.js";import"../../../../assets/index-chunk11.js";import"../../../text-detail/gator/text-detail.gator.js";import"../../../card/gator/content/card-content.gator.js";import"../../../card/gator/footer/card-footer.gator.js";import"../../../text-detail/text-detail.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../chip/gator/chip.gator.js";import"../../../chip/chip.js";import"../../../card/card.js";import"../../../../assets/index-chunk9.js";import"../../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk8.js";import"../../../icon/icon-registry.js";const f=".accordion-group ::slotted(ngc-accordion:not(:last-child)){--ngc-accordion-border-bottom: var(--ngc-accordion-group-divider) }",y=":host,:root{--ngc-accordion-group-divider-color: var(--color-stroke-primary);--ngc-accordion-group-divider: 1px solid var(--ngc-accordion-group-divider-color)}";var x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,a=(o,r,i,p)=>{for(var t=p>1?void 0:p?E(r,i):r,n=o.length-1,d;n>=0;n--)(d=o[n])&&(t=(p?d(r,i,t):d(t))||t);return p&&t&&x(r,i,t),t};let e=class extends s{constructor(){super(...arguments),this.multiple=!1,this.headingLevel=""}firstUpdated(){this.addEventListener("accordion-expanded",this.handleExpanded)}updated(){v(this.headingLevel)&&this.querySelectorAll("ngc-accordion").forEach(o=>{o.headingLevel=this.headingLevel}),this.dataTestid&&this.querySelectorAll("ngc-accordion").forEach((o,r)=>{o.dataTestid=`${this.dataTestid}-accordion-${r}`})}render(){return l`
1
+ import"../base/accordion.gator.js";import{N as s}from"../../accordion.js";import{a as c,x as l}from"../../../../assets/index-chunk2.js";import{t as g}from"../../../../assets/index-chunk3.js";import{n}from"../../../../assets/index-chunk.js";import{p as h}from"../../../../assets/index-chunk4.js";import{s as u}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import{i as v}from"../../../../utils/string-utils.js";import"../../../../assets/index-chunk11.js";import"../../../text-detail/gator/text-detail.gator.js";import"../../../card/gator/content/card-content.gator.js";import"../../../card/gator/footer/card-footer.gator.js";import"../../../text-detail/text-detail.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../chip/gator/chip.gator.js";import"../../../chip/chip.js";import"../../../card/card.js";import"../../../../assets/index-chunk9.js";import"../../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk8.js";import"../../../icon/icon-registry.js";const f=".accordion-group ::slotted(ngc-accordion:not(:last-child)){--ngc-accordion-border-bottom: var(--ngc-accordion-group-divider) }",y=":host,:root{--ngc-accordion-group-divider-color: var(--color-stroke-primary);--ngc-accordion-group-divider: 1px solid var(--ngc-accordion-group-divider-color)}";var x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,m=(o,r,i,p)=>{for(var t=p>1?void 0:p?E(r,i):r,d=o.length-1,a;d>=0;d--)(a=o[d])&&(t=(p?a(r,i,t):a(t))||t);return p&&t&&x(r,i,t),t};let e=class extends s{constructor(){super(...arguments),this.multiple=!1,this.headingLevel=""}firstUpdated(){this.addEventListener("accordion-expanded",this.handleExpanded)}updated(){v(this.headingLevel)&&this.querySelectorAll("ngc-accordion").forEach(o=>{o.headingLevel=this.headingLevel}),this.dataTestid&&this.querySelectorAll("ngc-accordion").forEach((o,r)=>{o.dataTestid=`${this.dataTestid}-accordion-${r}`})}render(){return l`
2
2
  <div class="accordion-group">
3
3
  <slot></slot>
4
4
  </div>
5
- `}handleExpanded(o){if(this.multiple)return;this.querySelectorAll("ngc-accordion").forEach(i=>{i!==o.target&&i.isExpanded&&i.toggleAccordion()})}};e.styles=[c(f),c(y),c(h),c(u)];a([m({type:Boolean})],e.prototype,"multiple",2);a([m({type:String})],e.prototype,"headingLevel",2);e=a([g("ngc-accordion-group")],e);
5
+ `}handleExpanded(o){if(this.multiple)return;this.querySelectorAll("ngc-accordion").forEach(i=>{i!==o.target&&i.isExpanded&&i.toggleAccordion()})}};e.styles=[c(f),c(y),c(h),c(u)];m([n({type:Boolean})],e.prototype,"multiple",2);m([n({type:String})],e.prototype,"headingLevel",2);e=m([g("ngc-accordion-group")],e);
@@ -1,5 +1,5 @@
1
- import{N as m}from"../../alert.js";import{a as f,x as n}from"../../../../assets/index-chunk2.js";import{t as p}from"../../../../assets/index-chunk3.js";import{p as c}from"../../../../assets/index-chunk4.js";import"../../../../assets/index-chunk.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";const v='.gator-alert-title{color:var(--color-text-primary-base, #1F1F1F);font-family:var(--ngc-font-family-body),"Open Sans",sans-serif;font-size:1.5rem;font-weight:700}';var g=Object.defineProperty,y=Object.getOwnPropertyDescriptor,_=(a,t,o,e)=>{for(var r=e>1?void 0:e?y(t,o):t,l=a.length-1,s;l>=0;l--)(s=a[l])&&(r=(e?s(t,o,r):s(r))||r);return e&&r&&g(t,o,r),r};let i=class extends m{render(){return n`
1
+ import{N as m}from"../../alert.js";import{a as f,x as p}from"../../../../assets/index-chunk2.js";import{t as n}from"../../../../assets/index-chunk3.js";import{p as c}from"../../../../assets/index-chunk4.js";import"../../../../assets/index-chunk.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";const v='.gator-alert-title{color:var(--color-text-primary-base, #1F1F1F);font-family:var(--ngc-font-family-body),"Open Sans",sans-serif;font-size:1.5rem;font-weight:700}';var g=Object.defineProperty,y=Object.getOwnPropertyDescriptor,_=(a,t,o,e)=>{for(var r=e>1?void 0:e?y(t,o):t,l=a.length-1,s;l>=0;l--)(s=a[l])&&(r=(e?s(t,o,r):s(r))||r);return e&&r&&g(t,o,r),r};let i=class extends m{render(){return p`
2
2
  <div class="gator-alert-title">
3
3
  <slot></slot>
4
4
  </div>
5
- `}};i.styles=[f(c),f(v)];i=_([p("ngc-alert-title")],i);
5
+ `}};i.styles=[f(c),f(v)];i=_([n("ngc-alert-title")],i);
@@ -1,4 +1,4 @@
1
- import{r as p,a as i,x as b}from"../../assets/index-chunk2.js";import{t as g}from"../../assets/index-chunk3.js";import{n as t}from"../../assets/index-chunk.js";import{p as u}from"../../assets/index-chunk4.js";import{s as h}from"../../assets/index-chunk5.js";import{g as m,a as v}from"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/lightdom-utils.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";const f=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}:hover:not(.gator-boolean_disabled){z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}:hover:not(.gator-boolean_disabled):not(.gator-boolean_error) ngc-radio:hover{border:var(--ngc-boolean-border-hover)}.gator-boolean_disabled ngc-radio{cursor:not-allowed}ngc-radio:focus-within{z-index:1;border:var(--ngc-boolean-border-focus);outline:var(--ngc-boolean-outline-focus);outline-offset:1px;--ngc-radio-focus-border: none}.gator-boolean_error ngc-radio{border:var(--ngc-boolean-border-error);--ngc-radio-icon-color-error: var(--color-neutral-40)}",x=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-blue-10, #F3F5F7);--ngc-boolean-border-color: var(--color-neutral-40, #BFBFBF);--ngc-boolean-border-color-selected: var(--color-blue-30, #11395B);--ngc-boolean-border-color-hover: var(--color-blue-30, #11395B);--ngc-boolean-border-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-outline-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error-strong);--ngc-boolean-border: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color);--ngc-boolean-border-selected: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-selected);--ngc-boolean-border-hover: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-hover);--ngc-boolean-border-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus);--ngc-boolean-border-error: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error);--ngc-boolean-outline-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus);--ngc-boolean-box-shadow-hover: 0px 5px 10px 0px rgba(31, 31, 31, .1), 0px 7px 14px 0px rgba(31, 31, 31, .08), 0px 3px 6px 0px rgba(31, 31, 31, .08);--ngc-boolean-outer-border-radius: .125rem}";var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(o,r,l,s)=>{for(var n=s>1?void 0:s?w(r,l):r,d=o.length-1,c;d>=0;d--)(c=o[d])&&(n=(s?c(r,l,n):c(n))||n);return s&&n&&y(r,l,n),n};let e=class extends p{constructor(){super(...arguments),this.id="",this.options=[],this.disabled=!1,this.value="",this.label="",this.helpText="",this.hasError=!1,this.errorMessage="",this._randomId=m()}firstUpdated(){this.handleResize(),window.addEventListener("resize",()=>this.handleResize())}render(){return b`
1
+ import{r as p,a as i,x as b}from"../../assets/index-chunk2.js";import{t as g}from"../../assets/index-chunk3.js";import{n as a}from"../../assets/index-chunk.js";import{p as u}from"../../assets/index-chunk4.js";import{s as h}from"../../assets/index-chunk5.js";import{g as m,a as v}from"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/lightdom-utils.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/mixins/attribute-deletion.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";const f=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}:hover:not(.gator-boolean_disabled){z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}:hover:not(.gator-boolean_disabled):not(.gator-boolean_error) ngc-radio:hover{border:var(--ngc-boolean-border-hover)}.gator-boolean_disabled ngc-radio{cursor:not-allowed}ngc-radio:focus-within{z-index:1;border:var(--ngc-boolean-border-focus);outline:var(--ngc-boolean-outline-focus);outline-offset:1px;--ngc-radio-focus-border: none}.gator-boolean_error ngc-radio{border:var(--ngc-boolean-border-error);--ngc-radio-icon-color-error: var(--color-neutral-40)}",x=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-blue-10, #F3F5F7);--ngc-boolean-border-color: var(--color-neutral-40, #BFBFBF);--ngc-boolean-border-color-selected: var(--color-blue-30, #11395B);--ngc-boolean-border-color-hover: var(--color-blue-30, #11395B);--ngc-boolean-border-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-outline-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error-strong);--ngc-boolean-border: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color);--ngc-boolean-border-selected: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-selected);--ngc-boolean-border-hover: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-hover);--ngc-boolean-border-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus);--ngc-boolean-border-error: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error);--ngc-boolean-outline-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus);--ngc-boolean-box-shadow-hover: 0px 5px 10px 0px rgba(31, 31, 31, .1), 0px 7px 14px 0px rgba(31, 31, 31, .08), 0px 3px 6px 0px rgba(31, 31, 31, .08);--ngc-boolean-outer-border-radius: .125rem}";var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,t=(o,r,l,s)=>{for(var n=s>1?void 0:s?w(r,l):r,d=o.length-1,c;d>=0;d--)(c=o[d])&&(n=(s?c(r,l,n):c(n))||n);return s&&n&&y(r,l,n),n};let e=class extends p{constructor(){super(...arguments),this.id="",this.options=[],this.disabled=!1,this.value="",this.label="",this.helpText="",this.hasError=!1,this.errorMessage="",this._randomId=m()}firstUpdated(){this.handleResize(),window.addEventListener("resize",()=>this.handleResize())}render(){return b`
2
2
  <ngc-radio-group
3
3
  class=${this.booleanClasses}
4
4
  id=${this.elementId}
@@ -18,4 +18,4 @@ import{r as p,a as i,x as b}from"../../assets/index-chunk2.js";import{t as g}fro
18
18
  value=${r.value}
19
19
  title-text=${r.label}
20
20
  ></ngc-radio>
21
- `);return b`${o}`}get isWrapped(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelectorAll("ngc-radio");return o&&o.length>1?o[0].offsetTop<o[1].offsetTop:window.innerWidth<475}handleChange(o){const r=o;r.stopImmediatePropagation(),this.value=r.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}handleResize(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector("ngc-radio-group");this.isWrapped?o==null||o.classList.add("gator-boolean_wrapped"):o==null||o.classList.remove("gator-boolean_wrapped")}selectedClass(o){return this.value===o.value?" gator-boolean-option_selected":""}};e.shadowRootOptions={...p.shadowRootOptions,delegatesFocus:!0};e.styles=[i(f),i(x),i(u),i(h)];a([t({type:String})],e.prototype,"id",2);a([t({type:Array})],e.prototype,"options",2);a([t({type:Boolean})],e.prototype,"disabled",2);a([t({type:String})],e.prototype,"value",2);a([t({type:String})],e.prototype,"label",2);a([t({type:String,attribute:"help-text"})],e.prototype,"helpText",2);a([t({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);a([t({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2);e=a([g("ngc-boolean")],e);
21
+ `);return b`${o}`}get isWrapped(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelectorAll("ngc-radio");return o&&o.length>1?o[0].offsetTop<o[1].offsetTop:window.innerWidth<475}handleChange(o){const r=o;r.stopImmediatePropagation(),this.value=r.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}handleResize(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector("ngc-radio-group");this.isWrapped?o==null||o.classList.add("gator-boolean_wrapped"):o==null||o.classList.remove("gator-boolean_wrapped")}selectedClass(o){return this.value===o.value?" gator-boolean-option_selected":""}};e.shadowRootOptions={...p.shadowRootOptions,delegatesFocus:!0};e.styles=[i(f),i(x),i(u),i(h)];t([a({type:String})],e.prototype,"id",2);t([a({type:Array})],e.prototype,"options",2);t([a({type:Boolean})],e.prototype,"disabled",2);t([a({type:String})],e.prototype,"value",2);t([a({type:String})],e.prototype,"label",2);t([a({type:String,attribute:"help-text"})],e.prototype,"helpText",2);t([a({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);t([a({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2);e=t([g("ngc-boolean")],e);
@@ -1 +1 @@
1
- import"./boolean.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/lightdom-utils.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";
1
+ import"./boolean.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/lightdom-utils.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/mixins/attribute-deletion.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";
@@ -1,5 +1,5 @@
1
- import{a,r as l,x as p}from"../../../../assets/index-chunk2.js";import{p as m}from"../../../../assets/index-chunk4.js";import{s as v}from"../../../../assets/index-chunk5.js";import{t as f}from"../../../../assets/index-chunk3.js";const d=".gator-card-content{padding:var(--spacing-6);font-size:.9375rem;color:var(--color-neutral-70)}";var g=Object.defineProperty,_=Object.getOwnPropertyDescriptor,u=(i,t,o,e)=>{for(var r=e>1?void 0:e?_(t,o):t,s=i.length-1,n;s>=0;s--)(n=i[s])&&(r=(e?n(t,o,r):n(r))||r);return e&&r&&g(t,o,r),r};let c=class extends l{render(){return p`
1
+ import{a as n,r as l,x as p}from"../../../../assets/index-chunk2.js";import{p as m}from"../../../../assets/index-chunk4.js";import{s as v}from"../../../../assets/index-chunk5.js";import{t as f}from"../../../../assets/index-chunk3.js";const d=".gator-card-content{padding:var(--spacing-6);font-size:.9375rem;color:var(--color-neutral-70)}";var g=Object.defineProperty,_=Object.getOwnPropertyDescriptor,u=(i,t,e,s)=>{for(var r=s>1?void 0:s?_(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(r=(s?a(t,e,r):a(r))||r);return s&&r&&g(t,e,r),r};let c=class extends l{render(){return p`
2
2
  <div class="gator-card-content">
3
3
  <slot></slot>
4
4
  </div>
5
- `}};c.styles=[a(d),a(m),a(v)];c=u([f("ngc-card-content")],c);
5
+ `}};c.styles=[n(d),n(m),n(v)];c=u([f("ngc-card-content")],c);
@@ -1,5 +1,5 @@
1
- import{a as l,r as n,x as p}from"../../../../assets/index-chunk2.js";import{p as d}from"../../../../assets/index-chunk4.js";import{s as f}from"../../../../assets/index-chunk5.js";import{t as m}from"../../../../assets/index-chunk3.js";const v=".gator-card-footer{background:var(--color-blue-10);font-size:.9375rem;padding:var(--spacing-4);color:var(--color-neutral-70);border-top:.5px solid var(--color-blue-25, #C3CDD6);border-radius:0 0 .5rem .5rem}";var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,g=(i,o,s,e)=>{for(var r=e>1?void 0:e?b(o,s):o,t=i.length-1,a;t>=0;t--)(a=i[t])&&(r=(e?a(o,s,r):a(r))||r);return e&&r&&u(o,s,r),r};let c=class extends n{render(){return p`
1
+ import{a as l,r as p,x as d}from"../../../../assets/index-chunk2.js";import{p as f}from"../../../../assets/index-chunk4.js";import{s as m}from"../../../../assets/index-chunk5.js";import{t as n}from"../../../../assets/index-chunk3.js";const v=".gator-card-footer{background:var(--color-blue-10);font-size:.9375rem;padding:var(--spacing-4);color:var(--color-neutral-70);border-top:.5px solid var(--color-blue-25, #C3CDD6);border-radius:0 0 .5rem .5rem}";var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,g=(i,o,s,e)=>{for(var r=e>1?void 0:e?b(o,s):o,t=i.length-1,a;t>=0;t--)(a=i[t])&&(r=(e?a(o,s,r):a(r))||r);return e&&r&&u(o,s,r),r};let c=class extends p{render(){return d`
2
2
  <div class="gator-card-footer">
3
3
  <slot></slot>
4
4
  </div>
5
- `}};c.styles=[l(v),l(d),l(f)];c=g([m("ngc-card-footer")],c);
5
+ `}};c.styles=[l(v),l(f),l(m)];c=g([n("ngc-card-footer")],c);
@@ -1,4 +1,4 @@
1
- import{t as h}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk.js";import{g as b,a as d}from"../../utils/string-utils.js";import{c as g}from"../../utils/lightdom-utils.js";import{p as x}from"../../assets/index-chunk4.js";import{s as p}from"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import{T as k}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{r as m,x as f}from"../../assets/index-chunk2.js";import"../icon/icon-registry.js";const v=":root,:host{--ngc-checkbox-title-color-default: var(--color-text-primary-base);--ngc-checkbox-title-color-disabled: var(--color-text-disabled);--ngc-checkbox-icon-color-focus: var(--color-icon-brand);--ngc-checkbox-icon-color-hover: var(--color-icon-brand);--ngc-checkbox-icon-color-selected: var(--color-icon-brand);--ngc-checkbox-icon-color-unselected: var(--color-neutral-40);--ngc-checkbox-icon-color-disabled: var(--color-icon-disabled);--ngc-checkbox-icon-color-error: var(--color-icon-error);--ngc-checkbox-focus-border-color: var(--color-icon-brand);--ngc-checkbox-focus-border: var(--size-stroke-1, 1px) solid var(--ngc-checkbox-focus-border-color);--ngc-checkbox-icon-spacing: var(--spacing-padding-margin-4);--ngc-checkbox-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-checkbox-title-line-height: var(--text-line-height-body-1, 1.5rem)}",u='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center}.gator-checkbox-icon{display:flex;flex-direction:column;justify-content:center;margin-right:var(--ngc-checkbox-icon-spacing);color:var(--ngc-checkbox-icon-color-unselected)}.gator-checkbox-icon ngc-icon{--ngc-icon-display: flex}.gator-checkbox-title{font-feature-settings:"liga" off,"clig" off;font-style:normal;font-weight:400;font-family:var(--text-family-sans-serif, "Open Sans");color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox:focus-visible{outline:none}.gator-checkbox:focus-visible ngc-icon{color:var(--ngc-checkbox-icon-color-focus);border:var(--ngc-checkbox-focus-border);border-radius:.25rem}.gator-checkbox:hover:not(.gator-checkbox_disabled){cursor:pointer}.gator-checkbox:hover:not(.gator-checkbox_disabled) ngc-icon{color:var(--ngc-checkbox-icon-color-hover)}.gator-checkbox-title:hover{cursor:inherit}.gator-checkbox_disabled{cursor:not-allowed}.gator-checkbox_disabled ngc-icon{color:var(--ngc-checkbox-icon-color-disabled)}.gator-checkbox_disabled .gator-checkbox-title{color:var(--ngc-checkbox-title-color-disabled)}.gator-checkbox:is([aria-checked=true]):not(.gator-checkbox_disabled):not(.gator-checkbox_error) ngc-icon{color:var(--ngc-checkbox-icon-color-selected)}.gator-checkbox_error ngc-icon{color:var(--ngc-checkbox-icon-color-error)}';var y=Object.defineProperty,_=Object.getOwnPropertyDescriptor,c=(o,i,n,l)=>{for(var t=l>1?void 0:l?_(i,n):i,a=o.length-1,s;a>=0;a--)(s=o[a])&&(t=(l?s(i,n,t):s(t))||t);return l&&t&&y(i,n,t),t};let e=class extends k{constructor(){super(),this.id="",this.titleText="",this.value="",this.selected=!1,this.disabled=!1,this.hasError=!1,this._randomId=b(),this._labelSlot=null,this.addEventListener("click",this.handleClick)}render(){const o=this.elementId;return f`
1
+ import{t as h}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk.js";import{g as b,a as d}from"../../utils/string-utils.js";import{c as g}from"../../utils/lightdom-utils.js";import{p as x}from"../../assets/index-chunk4.js";import{s as p}from"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import{T as m}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{r as k,x as f}from"../../assets/index-chunk2.js";import"../icon/icon-registry.js";const v=":root,:host{--ngc-checkbox-title-color-default: var(--color-text-primary-base);--ngc-checkbox-title-color-disabled: var(--color-text-disabled);--ngc-checkbox-icon-color-focus: var(--color-icon-brand);--ngc-checkbox-icon-color-hover: var(--color-icon-brand);--ngc-checkbox-icon-color-selected: var(--color-icon-brand);--ngc-checkbox-icon-color-unselected: var(--color-neutral-40);--ngc-checkbox-icon-color-disabled: var(--color-icon-disabled);--ngc-checkbox-icon-color-error: var(--color-icon-error);--ngc-checkbox-focus-border-color: var(--color-icon-brand);--ngc-checkbox-focus-border: var(--size-stroke-1, 1px) solid var(--ngc-checkbox-focus-border-color);--ngc-checkbox-icon-spacing: var(--spacing-padding-margin-4);--ngc-checkbox-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-checkbox-title-line-height: var(--text-line-height-body-1, 1.5rem)}",u='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center}.gator-checkbox-icon{display:flex;flex-direction:column;justify-content:center;margin-right:var(--ngc-checkbox-icon-spacing);color:var(--ngc-checkbox-icon-color-unselected)}.gator-checkbox-icon ngc-icon{--ngc-icon-display: flex}.gator-checkbox-title{font-feature-settings:"liga" off,"clig" off;font-style:normal;font-weight:400;font-family:var(--text-family-sans-serif, "Open Sans");color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox:focus-visible{outline:none}.gator-checkbox:focus-visible ngc-icon{color:var(--ngc-checkbox-icon-color-focus);border:var(--ngc-checkbox-focus-border);border-radius:.25rem}.gator-checkbox:hover:not(.gator-checkbox_disabled){cursor:pointer}.gator-checkbox:hover:not(.gator-checkbox_disabled) ngc-icon{color:var(--ngc-checkbox-icon-color-hover)}.gator-checkbox-title:hover{cursor:inherit}.gator-checkbox_disabled{cursor:not-allowed}.gator-checkbox_disabled ngc-icon{color:var(--ngc-checkbox-icon-color-disabled)}.gator-checkbox_disabled .gator-checkbox-title{color:var(--ngc-checkbox-title-color-disabled)}.gator-checkbox:is([aria-checked=true]):not(.gator-checkbox_disabled):not(.gator-checkbox_error) ngc-icon{color:var(--ngc-checkbox-icon-color-selected)}.gator-checkbox_error ngc-icon{color:var(--ngc-checkbox-icon-color-error)}';var y=Object.defineProperty,_=Object.getOwnPropertyDescriptor,c=(o,i,n,l)=>{for(var t=l>1?void 0:l?_(i,n):i,a=o.length-1,s;a>=0;a--)(s=o[a])&&(t=(l?s(i,n,t):s(t))||t);return l&&t&&y(i,n,t),t};let e=class extends m{constructor(){super(),this.id="",this.titleText="",this.value="",this.selected=!1,this.disabled=!1,this.hasError=!1,this._randomId=b(),this._labelSlot=null,this.addEventListener("click",this.handleClick)}render(){const o=this.elementId;return f`
2
2
  <style>${v}</style>
3
3
  <style>${u}</style>
4
4
  <style>${x}</style>
@@ -17,4 +17,4 @@ import{t as h}from"../../assets/index-chunk3.js";import{n as r}from"../../assets
17
17
  ></ngc-icon>
18
18
  <label class="gator-checkbox-title">${this.labelContent}</label>
19
19
  </div>
20
- `}get elementId(){return d(this.id,this._randomId)}get labelContent(){if(this._labelSlot)return this._labelSlot;const o=g(this,"label");return o?(this._labelSlot=o,this._labelSlot):this.titleText}handleClick(o){o.preventDefault(),!this.disabled&&(this.selected=!this.selected,this.focus(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value,selected:this.selected}})))}handleKeyDown(o){o.key===" "&&this.handleClick(o)}};e.shadowRootOptions={...m.shadowRootOptions,delegatesFocus:!0,mode:"open"};c([r({type:String})],e.prototype,"id",2);c([r({type:String,attribute:"title-text"})],e.prototype,"titleText",2);c([r({type:String})],e.prototype,"value",2);c([r({type:Boolean})],e.prototype,"selected",2);c([r({type:Boolean})],e.prototype,"disabled",2);c([r({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);e=c([h("ngc-checkbox")],e);
20
+ `}get elementId(){return d(this.id,this._randomId)}get labelContent(){if(this._labelSlot)return this._labelSlot;const o=g(this,"label");return o?(this._labelSlot=o,this._labelSlot):this.titleText}handleClick(o){o.preventDefault(),!this.disabled&&(this.selected=!this.selected,this.focus(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value,selected:this.selected}})))}handleKeyDown(o){o.key===" "&&this.handleClick(o)}};e.shadowRootOptions={...k.shadowRootOptions,delegatesFocus:!0,mode:"open"};c([r({type:String})],e.prototype,"id",2);c([r({type:String,attribute:"title-text"})],e.prototype,"titleText",2);c([r({type:String})],e.prototype,"value",2);c([r({type:Boolean})],e.prototype,"selected",2);c([r({type:Boolean})],e.prototype,"disabled",2);c([r({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);e=c([h("ngc-checkbox")],e);
@@ -1,4 +1,4 @@
1
- import{a as c,x as n}from"../../assets/index-chunk2.js";import{t as m}from"../../assets/index-chunk3.js";import{n as p}from"../../assets/index-chunk.js";import{g,a as u}from"../../utils/string-utils.js";import{p as b}from"../../assets/index-chunk4.js";import{s as x}from"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import{h as y}from"../../utils/datatestid-utils.js";import{T as f}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{o as d}from"../../assets/index-chunk9.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";const v=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}";var $=Object.defineProperty,k=Object.getOwnPropertyDescriptor,l=(e,t,r,o)=>{for(var i=o>1?void 0:o?k(t,r):t,a=e.length-1,h;a>=0;a--)(h=e[a])&&(i=(o?h(t,r,i):h(i))||i);return o&&i&&$(t,r,i),i};let s=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=g()}render(){const e=this.elementId;return n`
1
+ import{a as c,x as n}from"../../assets/index-chunk2.js";import{t as m}from"../../assets/index-chunk3.js";import{n as p}from"../../assets/index-chunk.js";import{g,a as u}from"../../utils/string-utils.js";import{p as b}from"../../assets/index-chunk4.js";import{s as x}from"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import{h as y}from"../../utils/datatestid-utils.js";import{T as f}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{o as d}from"../../assets/index-chunk9.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/mixins/attribute-deletion.js";const v=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}";var $=Object.defineProperty,E=Object.getOwnPropertyDescriptor,l=(e,t,r,o)=>{for(var i=o>1?void 0:o?E(t,r):t,a=e.length-1,h;a>=0;a--)(h=e[a])&&(i=(o?h(t,r,i):h(i))||i);return o&&i&&$(t,r,i),i};let s=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=g()}render(){const e=this.elementId;return n`
2
2
  <div class="gator-checkbox-group-container">
3
3
  ${this.label?n`<ngc-input-label id="${e}-label" data-testid=${d(this.labelDataTestid)}>${this.label}</ngc-input-label>`:null}
4
4
  <div id="${e}-group"
@@ -1 +1 @@
1
- import"./checkbox-group.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";
1
+ import"./checkbox-group.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-left.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/mixins/attribute-deletion.js";import"../input/gator/help-text/help-text.gator.js";import"../../utils/datatestid-utils.js";import"../../assets/index-chunk9.js";
@@ -0,0 +1,12 @@
1
+ import{r as b,a as c,x as p}from"../../../assets/index-chunk2.js";import{p as u}from"../../../assets/index-chunk4.js";import{s as m}from"../../../assets/index-chunk5.js";import{t as g}from"../../../assets/index-chunk3.js";import{n as l}from"../../../assets/index-chunk.js";import{T as y}from"../../../utils/components/testable-lit-element/testable-lit-element.js";import{K as h}from"../../../consts/key-constants.js";const v='.gator-year-month-selector{color:var(--text-color-primary-base, #1F1F1F);text-align:center;font-family:var(--text-family-body, "Open Sans");font-size:var(--text-size-body-2, .9375rem);line-height:var(--text-line-height-body-2, 1.375rem);letter-spacing:var(--text-letter-spacing-default, 0rem);display:flex;padding:var(--spacing-gap-12, .75rem) var(--spacing-gap-16, 1rem);justify-content:center;align-items:center;gap:.5rem;box-sizing:border-box;width:100%;height:100%;border-radius:var(--radius-input, .125rem)}.gator-year-month-selector-text{width:2.5rem}:hover{cursor:pointer;background:var(--color-surface-brand-hover, #E4ECF2)}:active{background:var(--color-surface-brand, #E4ECF2)}:focus-visible{outline:none;border:2px solid var(--color-stroke-brand, #11395B)}.gator-year-month-selector_disabled{color:var(--text-color-loading, #BFBFBF);pointer-events:none}.gator-year-month-selector_selected{font-weight:700}.gator-year-month-selector_selected:not(.gator-year-month-selector_disabled,:focus-visible,:hover){background:var(--color-surface-brand-secondary, #C3CDD6)}.gator-year-month-selector_selected.gator-year-month-selector_disabled{background:var(--color-surface-brand, #E4ECF2)}.gator-year-month-selector_current{border:1px solid var(--color-stroke-brand, #11395B)}';var f=Object.defineProperty,x=Object.getOwnPropertyDescriptor,s=(e,r,i,a)=>{for(var o=a>1?void 0:a?x(r,i):r,n=e.length-1,d;n>=0;n--)(d=e[n])&&(o=(a?d(r,i,o):d(o))||o);return a&&o&&f(r,i,o),o};let t=class extends y{constructor(){super(...arguments),this.selected=!1,this.disabled=!1,this.current=!1,this.tabindex=0}render(){return p`
2
+ <div class="gator-year-month-selector ${this.selectedClass} ${this.disabledClass} ${this.currentClass}"
3
+ tabindex=${this.disabled?"-1":this.tabindex}
4
+ aria-selected=${this.selected}
5
+ aria-disabled=${this.disabled}
6
+ @keydown=${this.handleKeydown}
7
+ @click=${this.handleClick}>
8
+ <span class="gator-year-month-selector-text">
9
+ <slot></slot>
10
+ </span>
11
+ </div>
12
+ `}get selectedClass(){return this.selected?"gator-year-month-selector_selected":""}get disabledClass(){return this.disabled?"gator-year-month-selector_disabled":""}get currentClass(){return this.current?"gator-year-month-selector_current":""}handleKeydown(e){if(e.key===h.ENTER||e.key===h.SPACE){e.preventDefault(),this.handleClick(e);return}}handleClick(e){var r;e.preventDefault(),e.stopPropagation(),!this.disabled&&this.dispatchEvent(new CustomEvent("selectorclick",{bubbles:!0,detail:{value:(r=this.textContent)==null?void 0:r.trim(),selected:this.selected}}))}};t.shadowRootOptions={...b.shadowRootOptions,delegatesFocus:!0};t.styles=[c(v),c(u),c(m)];s([l({type:Boolean,attribute:"selected"})],t.prototype,"selected",2);s([l({type:Boolean,attribute:"disabled"})],t.prototype,"disabled",2);s([l({type:Boolean,attribute:"current"})],t.prototype,"current",2);s([l({type:Number,attribute:"tabindex"})],t.prototype,"tabindex",2);t=s([g("ngc-year-month-selector")],t);
@@ -1,4 +1,4 @@
1
- import{N as p}from"../display-card.js";import{b as m}from"../../text-detail/gator/text-detail.gator.js";import{a as i,x as r}from"../../../assets/index-chunk2.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as h}from"../../../assets/index-chunk5.js";import{c as u}from"../../../assets/index-chunk10.js";import{t as f}from"../../../assets/index-chunk3.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/eye-crossed.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/link.js";import"../../icon/gator/templates/overflow-menu.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import"../../button/gator/button.gator.js";import{o as d}from"../../../assets/index-chunk9.js";import"../../card/card.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../card/gator/content/card-content.gator.js";import"../../card/gator/footer/card-footer.gator.js";import"../../text-detail/text-detail.js";import"../../chip/gator/chip.gator.js";import"../../chip/chip.js";import"../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../assets/index-chunk7.js";import"../../../assets/index-chunk8.js";import"../../icon/icon-registry.js";import"../../button/button.js";import"../../../utils/mixins/attribute-deletion.js";import"../../loading-spinner/gator/loading-spinner.gator.js";import"../../loading-spinner/loading-spinner.js";const v=".gator-display-card{display:flex;align-content:center;flex-direction:column;position:relative;font-family:var(--ngc-font-family-body),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);--ngc-card-max-width: 654px;word-break:break-word}.gator-display-card ngc-card-header{width:100%}.gator-display-card-content{padding:var(--spacing-6);display:flex;flex-direction:column;justify-content:center}.gator-display-card-content-header ngc-card-header{--ngc-card-header-padding: 0}.gator-display-card-slot-content{padding:var(--spacing-6) 0 0 0}.gator-display-card-title,.gator-display-card-subtitle{display:flex}.gator-display-card-justify-content-center{justify-content:center}.gator-display-card-actions{padding:var(--spacing-4, 1rem);background:var(--color-blue-10, #F3F5F7);display:flex;flex-direction:row;justify-content:center;align-items:center}.gator-display-card-actions ngc-button{--ngc-button-font-size: var(--text-size-button-large, 1.0625rem)}.gator-display-card-actions ngc-icon{margin-left:8px;--ngc-icon-display: flex}";var y=Object.defineProperty,b=Object.getOwnPropertyDescriptor,k=(l,a,e,o)=>{for(var t=o>1?void 0:o?b(a,e):a,s=l.length-1,n;s>=0;s--)(n=l[s])&&(t=(o?n(a,e,t):n(t))||t);return o&&t&&y(a,e,t),t};let c=class extends p{render(){return r`
1
+ import{N as p}from"../display-card.js";import{b as m}from"../../text-detail/gator/text-detail.gator.js";import{a as i,x as r}from"../../../assets/index-chunk2.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as h}from"../../../assets/index-chunk5.js";import{c as u}from"../../../assets/index-chunk10.js";import{t as f}from"../../../assets/index-chunk3.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/eye-crossed.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/link.js";import"../../icon/gator/templates/overflow-menu.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import"../../button/gator/button.gator.js";import{o as d}from"../../../assets/index-chunk9.js";import"../../card/card.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../card/gator/content/card-content.gator.js";import"../../card/gator/footer/card-footer.gator.js";import"../../text-detail/text-detail.js";import"../../chip/gator/chip.gator.js";import"../../chip/chip.js";import"../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../assets/index-chunk7.js";import"../../../assets/index-chunk8.js";import"../../icon/icon-registry.js";import"../../button/button.js";import"../../../utils/mixins/attribute-deletion.js";import"../../loading-spinner/gator/loading-spinner.gator.js";import"../../loading-spinner/loading-spinner.js";const v=".gator-display-card{display:flex;align-content:center;flex-direction:column;position:relative;font-family:var(--ngc-font-family-body),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);--ngc-card-max-width: 654px;word-break:break-word}.gator-display-card ngc-card-header{width:100%}.gator-display-card-content{padding:var(--spacing-6);display:flex;flex-direction:column;justify-content:center}.gator-display-card-content-header ngc-card-header{--ngc-card-header-padding: 0}.gator-display-card-slot-content{padding:var(--spacing-6) 0 0 0}.gator-display-card-title,.gator-display-card-subtitle{display:flex}.gator-display-card-justify-content-center{justify-content:center}.gator-display-card-actions{padding:var(--spacing-4, 1rem);background:var(--color-blue-10, #F3F5F7);display:flex;flex-direction:row;justify-content:center;align-items:center}.gator-display-card-actions ngc-button{--ngc-button-font-size: var(--text-size-button-large, 1.0625rem)}.gator-display-card-actions ngc-icon{margin-left:8px;--ngc-icon-display: flex}";var y=Object.defineProperty,b=Object.getOwnPropertyDescriptor,x=(l,a,e,o)=>{for(var t=o>1?void 0:o?b(a,e):a,s=l.length-1,n;s>=0;s--)(n=l[s])&&(t=(o?n(a,e,t):n(t))||t);return o&&t&&y(a,e,t),t};let c=class extends p{render(){return r`
2
2
  <div class="gator-display-card ${this.elevatedClass} ${this.outlinedClass}">
3
3
  <div class="gator-display-card-content">
4
4
  <div class="gator-display-card-content-header">
@@ -22,4 +22,4 @@ import{N as p}from"../display-card.js";import{b as m}from"../../text-detail/gato
22
22
  `}
23
23
  </div>
24
24
  `}get elevatedClass(){return this.elevated?"gator-card_elevated":""}get outlinedClass(){return this.outlined?"gator-card_outlined":""}get slotMarkup(){return this.skeleton?r`<ngc-skeleton-loader full-width height="36" radius="100"></ngc-skeleton-loader>`:r`<slot></slot>`}get footerActionsMarkup(){return this.skeleton?r`<ngc-skeleton-loader width="115" height="36" radius="2"></ngc-skeleton-loader>`:r`<ngc-button @click="${()=>this.handleActionClick()}" variant="base" data-testid=${d(this.dataTestid)}-action-button>${this.actionButtonText}</ngc-button>
25
- <ngc-icon name="arrow-right"></ngc-icon>`}handleActionClick(){this.dispatchEvent(new CustomEvent("action-click",{bubbles:!0}))}};c.styles=[i(v),i(g),i(m),i(h),i(u)];c=k([f("ngc-display-card")],c);
25
+ <ngc-icon name="arrow-right"></ngc-icon>`}handleActionClick(){this.dispatchEvent(new CustomEvent("action-click",{bubbles:!0}))}};c.styles=[i(v),i(g),i(m),i(h),i(u)];c=x([f("ngc-display-card")],c);
@@ -1,4 +1,4 @@
1
- import{a as l,x as d,E as g}from"../../../assets/index-chunk2.js";import{t as b}from"../../../assets/index-chunk3.js";import{p as h}from"../../../assets/index-chunk4.js";import{s as u}from"../../../assets/index-chunk5.js";import{N as c}from"../fab.js";import"../../loading-spinner/gator/loading-spinner.gator.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../utils/mixins/attribute-deletion.js";import"../../loading-spinner/loading-spinner.js";const f=".gator-fab{display:flex;align-items:center;justify-content:center;background-color:var(--ngc-fab-background-color, var(--color-primary-03-base));color:var(--ngc-fab-color, var(--color-text-inverse));padding:var(--spacing-4);border-radius:50%;transition:box-shadow .3s;border:none;box-shadow:var(--ngc-fab-box-shadow, 0 1px 1.5px 0 rgba(31, 31, 31, .04), 0 2px 5px 0 rgba(31, 31, 31, .1), 0 3px 9px 6px rgba(31, 31, 31, .05))}.gator-fab-loader{display:flex;align-items:center;justify-content:center}.gator-fab:not([disabled]):not(.gator-fab_loading):hover{background-color:var(--ngc-fab-hover-background-color, var(--color-primary-03-base));box-shadow:var(--ngc-fab-hover-box-shadow, 0 5px 10px 0 rgba(31, 31, 31, .1), 0 7px 14px 0 rgba(31, 31, 31, .08), 0 3px 6px 0 rgba(31, 31, 31, .08));cursor:pointer}.gator-fab:focus-visible{outline:2px solid var(--ngc-fab-focus-outline-color, var(--color-focus-border));outline-offset:2px}.gator-fab:not([disabled]):not(.gator-fab_loading):active{background-color:var(--ngc-fab-pressed-background-color, var(--color-button-pressed, #404040))}.gator-fab:disabled{background-color:var(--ngc-fab-disabled-background-color, var(--color-neutral-40, #BFBFBF));cursor:not-allowed}.gator-fab_loading{background-color:var(--ngc-fab-loading-background-color, var(--color-button-disabled));cursor:not-allowed}";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,v=(a,o,t,r)=>{for(var e=r>1?void 0:r?m(o,t):o,s=a.length-1,n;s>=0;s--)(n=a[s])&&(e=(r?n(o,t,e):n(e))||e);return r&&e&&p(o,t,e),e};let i=class extends c{render(){return d`
1
+ import{a as l,x as d,E as g}from"../../../assets/index-chunk2.js";import{t as b}from"../../../assets/index-chunk3.js";import{p as h}from"../../../assets/index-chunk4.js";import{s as u}from"../../../assets/index-chunk5.js";import{N as c}from"../fab.js";import"../../loading-spinner/gator/loading-spinner.gator.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../utils/mixins/attribute-deletion.js";import"../../loading-spinner/loading-spinner.js";const f=".gator-fab{display:flex;align-items:center;justify-content:center;background-color:var(--ngc-fab-background-color, var(--color-primary-03-base));color:var(--ngc-fab-color, var(--color-text-inverse));padding:var(--spacing-4);border-radius:50%;transition:box-shadow .3s;border:none;box-shadow:var(--ngc-fab-box-shadow, 0 1px 1.5px 0 rgba(31, 31, 31, .04), 0 2px 5px 0 rgba(31, 31, 31, .1), 0 3px 9px 6px rgba(31, 31, 31, .05))}.gator-fab-loader{display:flex;align-items:center;justify-content:center}.gator-fab:not([disabled]):not(.gator-fab_loading):hover{background-color:var(--ngc-fab-hover-background-color, var(--color-primary-03-base));box-shadow:var(--ngc-fab-hover-box-shadow, 0 5px 10px 0 rgba(31, 31, 31, .1), 0 7px 14px 0 rgba(31, 31, 31, .08), 0 3px 6px 0 rgba(31, 31, 31, .08));cursor:pointer}.gator-fab:focus-visible{outline:2px solid var(--ngc-fab-focus-outline-color, var(--color-focus-border));outline-offset:2px}.gator-fab:not([disabled]):not(.gator-fab_loading):active{background-color:var(--ngc-fab-pressed-background-color, var(--color-button-pressed, #404040))}.gator-fab:disabled{background-color:var(--ngc-fab-disabled-background-color, var(--color-neutral-40, #BFBFBF));cursor:not-allowed}.gator-fab_loading{background-color:var(--ngc-fab-loading-background-color, var(--color-button-disabled));cursor:not-allowed}";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,v=(a,t,o,r)=>{for(var e=r>1?void 0:r?m(t,o):t,s=a.length-1,n;s>=0;s--)(n=a[s])&&(e=(r?n(t,o,e):n(e))||e);return r&&e&&p(t,o,e),e};let i=class extends c{render(){return d`
2
2
  <button
3
3
  aria-label=${this.buttonAriaLabel}
4
4
  class="gator-fab ${this.sizeClass} ${this.loadingClass}"
@@ -8,7 +8,7 @@ import{a as l,x as d,E as g}from"../../../assets/index-chunk2.js";import{t as b}
8
8
  >
9
9
  ${this.loading?this.loadingMarkup:d`<slot @slotchange="${this.handleSlotChange}"></slot>`}
10
10
  </button>
11
- `}updated(){this.setIconSizes()}handleSlotChange(a){const t=a.target.assignedElements();for(let r of t)r.tagName.toLowerCase()==="ngc-icon"&&(this._iconElement=r,this.setIconSizes())}handleClick(a){a.preventDefault(),a.stopPropagation(),!(this.disabled||this.loading)&&this.dispatchEvent(new CustomEvent("click",{bubbles:!0,composed:!0}))}setIconSizes(){this._iconElement&&(this._iconElement.height=this.heightAndWidthForSize,this._iconElement.width=this.heightAndWidthForSize)}get buttonAriaLabel(){return this.loading?this.loadingAriaLabel:this.dataset.ariaLabel?this.dataset.ariaLabel:this.ariaLabel?this.ariaLabel:g}get loadingClass(){return this.loading?"gator-fab_loading":null}get heightAndWidthForSize(){switch(this.size){case"medium":return"24";case"large":return"36";case"xlarge":return"40";case"small":default:return"18"}}get sizeClass(){switch(this.size){case"medium":return"gator-fab_medium";case"large":return"gator-fab_large";case"xlarge":return"gator-fab_xlarge";case"small":default:return"gator-fab_small"}}get loadingMarkup(){let a;switch(this.size){case"small":case"medium":a="medium";break;case"large":a="large";break;case"xlarge":a="xlarge";break;default:a="small";break}return d`
11
+ `}updated(){this.setIconSizes()}handleSlotChange(a){const o=a.target.assignedElements();for(let r of o)r.tagName.toLowerCase()==="ngc-icon"&&(this._iconElement=r,this.setIconSizes())}handleClick(a){a.preventDefault(),a.stopPropagation(),!(this.disabled||this.loading)&&this.dispatchEvent(new CustomEvent("click",{bubbles:!0,composed:!0}))}setIconSizes(){this._iconElement&&(this._iconElement.height=this.heightAndWidthForSize,this._iconElement.width=this.heightAndWidthForSize)}get buttonAriaLabel(){return this.loading?this.loadingAriaLabel:this.dataset.ariaLabel?this.dataset.ariaLabel:this.ariaLabel?this.ariaLabel:g}get loadingClass(){return this.loading?"gator-fab_loading":null}get heightAndWidthForSize(){switch(this.size){case"medium":return"24";case"large":return"36";case"xlarge":return"40";case"small":default:return"18"}}get sizeClass(){switch(this.size){case"medium":return"gator-fab_medium";case"large":return"gator-fab_large";case"xlarge":return"gator-fab_xlarge";case"small":default:return"gator-fab_small"}}get loadingMarkup(){let a;switch(this.size){case"small":case"medium":a="medium";break;case"large":a="large";break;case"xlarge":a="xlarge";break;default:a="small";break}return d`
12
12
  <div
13
13
  class="gator-fab-loader"
14
14
  style="width: ${this.heightAndWidthForSize}px; height: ${this.heightAndWidthForSize}px"
@@ -1,4 +1,4 @@
1
- import{N as h}from"../headline-card.js";import{b as g}from"../../text-detail/gator/text-detail.gator.js";import{a as i,x as o}from"../../../assets/index-chunk2.js";import{p}from"../../../assets/index-chunk4.js";import{s as u}from"../../../assets/index-chunk5.js";import{c as m}from"../../../assets/index-chunk10.js";import{t as f}from"../../../assets/index-chunk3.js";import{r as v}from"../../../assets/index-chunk11.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/eye-crossed.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/link.js";import"../../icon/gator/templates/overflow-menu.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{e as x,n as b}from"../../../assets/index-chunk7.js";import"../../card/card.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../card/gator/content/card-content.gator.js";import"../../card/gator/footer/card-footer.gator.js";import"../../text-detail/text-detail.js";import"../../chip/gator/chip.gator.js";import"../../chip/chip.js";import"../../../assets/index-chunk9.js";import"../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../assets/index-chunk8.js";import"../../icon/icon-registry.js";const _=".gator-headline-card{display:flex;align-content:center;flex-direction:row;position:relative;font-family:var(--ngc-font-family-body),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);padding:var(--spacing-6);--ngc-card-max-width: 100%;overflow:hidden}.gator-headline-card ngc-card-header{--ngc-card-header-padding: 0;--ngc-card-header-title-font-size: var(--text-size-heading-4, 1.375rem);--ngc-card-header-title-line-height: var(--text-line-height-heading-4, 2rem)}.gator-headline-card-background-circle{position:absolute;width:280px;height:300%;left:-144px;bottom:-100px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-background-circle_vertical{position:absolute;width:1150px;height:350px;top:-300px;left:-240px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-content{display:flex;flex-direction:column;justify-content:center;width:100%}.gator-headline-card-content_vertical{padding:var(--spacing-6) 0}.gator-headline-card_vertical{--ngc-card-max-width: 600px;flex-direction:column;justify-content:center}.gator-headline-card-illustration{display:flex;align-items:center;margin-right:var(--spacing-6)}.gator-headline-card-illustration ngc-icon{--ngc-icon-width: 96px;--ngc-icon-height: 76.8px;--ngc-icon-display: flex}.gator-headline-card-illustration ngc-skeleton-loader{margin-right:var(--spacing-6)}.gator-headline-card-title,.gator-headline-card-subtitle{display:flex}.gator-headline-card-justify-content-center{justify-content:center}";var C=Object.defineProperty,k=Object.getOwnPropertyDescriptor,c=(r,t,d,a)=>{for(var e=a>1?void 0:a?k(t,d):t,l=r.length-1,s;l>=0;l--)(s=r[l])&&(e=(a?s(t,d,e):s(e))||e);return a&&e&&C(t,d,e),e};let n=class extends h{constructor(){super(...arguments),this._shouldBeVertical=!1,this.containerRef=x()}firstUpdated(){this._shouldBeVertical=this.shouldBeVertical,window.addEventListener("resize",()=>{this._shouldBeVertical=this.shouldBeVertical})}updated(){this._shouldBeVertical=this.shouldBeVertical}render(){return o`
1
+ import{N as h}from"../headline-card.js";import{b as g}from"../../text-detail/gator/text-detail.gator.js";import{a as i,x as o}from"../../../assets/index-chunk2.js";import{p}from"../../../assets/index-chunk4.js";import{s as u}from"../../../assets/index-chunk5.js";import{c as m}from"../../../assets/index-chunk10.js";import{t as f}from"../../../assets/index-chunk3.js";import{r as v}from"../../../assets/index-chunk11.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/eye-crossed.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/link.js";import"../../icon/gator/templates/overflow-menu.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{e as x,n as b}from"../../../assets/index-chunk7.js";import"../../card/card.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../card/gator/content/card-content.gator.js";import"../../card/gator/footer/card-footer.gator.js";import"../../text-detail/text-detail.js";import"../../chip/gator/chip.gator.js";import"../../chip/chip.js";import"../../../assets/index-chunk9.js";import"../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../assets/index-chunk8.js";import"../../icon/icon-registry.js";const _=".gator-headline-card{display:flex;align-content:center;flex-direction:row;position:relative;font-family:var(--ngc-font-family-body),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);padding:var(--spacing-6);--ngc-card-max-width: 100%;overflow:hidden}.gator-headline-card ngc-card-header{--ngc-card-header-padding: 0;--ngc-card-header-title-font-size: var(--text-size-heading-4, 1.375rem);--ngc-card-header-title-line-height: var(--text-line-height-heading-4, 2rem)}.gator-headline-card-background-circle{position:absolute;width:280px;height:300%;left:-144px;bottom:-100px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-background-circle_vertical{position:absolute;width:1150px;height:350px;top:-300px;left:-240px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-content{display:flex;flex-direction:column;justify-content:center;width:100%}.gator-headline-card-content_vertical{padding:var(--spacing-6) 0}.gator-headline-card_vertical{--ngc-card-max-width: 600px;flex-direction:column;justify-content:center}.gator-headline-card-illustration{display:flex;align-items:center;margin-right:var(--spacing-6)}.gator-headline-card-illustration ngc-icon{--ngc-icon-width: 96px;--ngc-icon-height: 76.8px;--ngc-icon-display: flex}.gator-headline-card-illustration ngc-skeleton-loader{margin-right:var(--spacing-6)}.gator-headline-card-title,.gator-headline-card-subtitle{display:flex}.gator-headline-card-justify-content-center{justify-content:center}";var C=Object.defineProperty,y=Object.getOwnPropertyDescriptor,c=(r,t,d,a)=>{for(var e=a>1?void 0:a?y(t,d):t,l=r.length-1,s;l>=0;l--)(s=r[l])&&(e=(a?s(t,d,e):s(e))||e);return a&&e&&C(t,d,e),e};let n=class extends h{constructor(){super(...arguments),this._shouldBeVertical=!1,this.containerRef=x()}firstUpdated(){this._shouldBeVertical=this.shouldBeVertical,window.addEventListener("resize",()=>{this._shouldBeVertical=this.shouldBeVertical})}updated(){this._shouldBeVertical=this.shouldBeVertical}render(){return o`
2
2
  <div ${b(this.containerRef)} class="gator-headline-card ${this.orientationClass} ${this.elevatedClass} ${this.outlinedClass}">
3
3
  ${this.backgroundMarkup}
4
4
  <div class="gator-headline-card-illustration ${this.justifyCenterClass}">
@@ -1,11 +1,17 @@
1
- import{x as e}from"../../../assets/index-chunk2.js";import{I as t}from"./input-base.js";import"../../../assets/index-chunk.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";class h extends t{get labelMarkup(){return this.label?e`
2
- <ngc-input-label
3
- .for="${this.id}"
4
- .required="${this.required}"
5
- >
6
- ${this.label}
7
- </ngc-input-label>`:null}get bottomText(){return e`
1
+ import{a as o,x as r}from"../../../assets/index-chunk2.js";import"../gator/input-label/input-label.gator.js";import"../gator/help-text/help-text.gator.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/eye-crossed.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/link.js";import"../../icon/gator/templates/overflow-menu.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{s as i}from"../../../assets/index-chunk5.js";import{p as a}from"../../../assets/index-chunk4.js";import{I as p}from"./input-base.js";import{e as s}from"../../../assets/index-chunk7.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk.js";import"../../../utils/mixins/attribute-deletion.js";import"../../icon/icon-registry.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../assets/index-chunk8.js";const l='input,textarea{border:none}input:focus,textarea:focus{outline:none}.gator-form-element-control:focus-within{outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-form-element{display:block;margin-bottom:1rem}.gator-form-element-control{padding:var(--ngc-input-padding);display:flex;flex-direction:column}.gator-input,.gator-faux-input{display:flex;width:100%;height:100%;font-size:var(--ngc-input-font-size, 1.0625rem);font-family:var(--text-family-sans-serif, "Open Sans", sans-serif)}.gator-form-element-control{margin:.5rem 0;border:1px solid var(--ngc-input-border-color, #BFBFBF);border-radius:var(--ngc-input-border-radius, 2px);flex:1}.gator-form-element-control:hover:not(.gator-disabled){border:1px solid var(--ngc-input-border-color-hovered, #1F1F1F);outline:none}.gator-has-error{border-color:var(--ngc-input-error-border)!important}.gator-disabled{background:var(--color-surface-secondary, #F7F7F7);border:none;cursor:not-allowed}.gator-disabled input,.gator-disabled textarea{background-color:transparent;cursor:not-allowed}.gator-form-element-control-icon-right{display:flex;align-items:center}.gator-input-container{max-width:var(--ngc-input-max-width, 200px);display:flex;align-items:center;position:relative}.gator-input-start,.gator-input-end{display:flex;align-items:center}.gator-input-start{margin-right:.5rem}.gator-cursor-pointer{cursor:pointer}',c=":root,:host{--ngc-input-error-border: var(--color-error, #D0021B);--ngc-input-border-color: var(--color-grey-40, #BFBFBF);--ngc-input-border-color-focused: var(--color-stroke-brand, #1F1F1F);--ngc-input-border-color-hovered: var(--color-stroke-interactive, #0052CC);--ngc-input-min-width: 200px;--ngc-input-padding: var(--spacing-3, .75rem) var(--spacing-4, 1rem);--ngc-input-border-radius: var(--radius-sm, .125rem);--ngc-input-max-width: 100%;--ngc-input-font-size: 17px}",e=class e extends p{constructor(){super(...arguments),this.controlRef=s()}get shouldHaveStartMarkup(){return this.startIcon}get shouldHaveEndMarkup(){return this.endIcon||this.type==="password"}get startIconMarkup(){return this.startIcon?r`<ngc-icon .name="${this.startIcon}"></ngc-icon>`:null}get endIconMarkup(){return this.endIcon?r`
2
+ <ngc-icon .name="${this.endIcon}"></ngc-icon>`:null}get labelMarkup(){return r`
3
+ <ngc-input-label
4
+ .for="${this.id}"
5
+ .required="${this.required}"
6
+ >
7
+ ${this.label}
8
+ </ngc-input-label>`}get helpTextMarkup(){return this.helpText?r`
9
+ <ngc-help-text icon="info">
10
+ ${this.helpText}
11
+ </ngc-help-text>`:null}get bottomText(){return r`
12
+ ${this.helpTextMarkup}
8
13
  ${this.errorTextMarkup}
9
- ${this.helpTextMarkup}`}get errorTextMarkup(){return this.errorText?e`
10
- <ngc-help-text icon error>${this.errorText}</ngc-help-text>`:null}get helpTextMarkup(){return this.helpText?e`
11
- <ngc-help-text>${this.helpText}</ngc-help-text>`:null}}export{h as N};
14
+ `}get errorTextMarkup(){return this.errorText?r`
15
+ <ngc-help-text icon="warning" error>
16
+ ${this.errorText}
17
+ </ngc-help-text>`:null}handleInputFocusIn(){var t;(t=this.controlRef.value)==null||t.classList.add("gator-input-has-focus")}handleInputFocusOut(){var t;(t=this.controlRef.value)==null||t.classList.remove("gator-input-has-focus")}};e.styles=[o(l),o(i),o(a),o(c)];let n=e;export{n as N,c as g,l as i};
@@ -0,0 +1,72 @@
1
+ import{a as v,x as d}from"../../../../assets/index-chunk2.js";import"../input-label/input-label.gator.js";import"../help-text/help-text.gator.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../../../list/gator/list/list.gator.js";import"../../../list/gator/list-item/list-item.gator.js";import{t as f}from"../../../../assets/index-chunk3.js";import{n as m}from"../../../../assets/index-chunk.js";import{r as u}from"../../../../assets/index-chunk11.js";import{e as h,n as c}from"../../../../assets/index-chunk7.js";import{a as x,c as b,b as w}from"../../../../assets/index-chunk14.js";import{K as s}from"../../../../consts/key-constants.js";import{N as g}from"../../base/input-base.gator.js";import"../../../../assets/index-chunk4.js";import"../../../../assets/index-chunk5.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../icon/icon-registry.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../divider/gator/divider.gator.js";import"../../../divider/divider.js";import"../../../../assets/index-chunk9.js";import"../../../../assets/index-chunk8.js";import"../../base/input-base.js";const y=".gator-dropdown-listbox{position:absolute;width:max-content;top:0;left:0;display:none;border-radius:var(--radius-card-medium, .5rem);padding:var(--spacing-padding-margin-8, .5rem) 0;background:var(--color-surface-primary-white, #FFF);box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-1-y-offset, 7px) var(--shadow-shadow-3-dropdown-property-1-blur, 12px) var(--shadow-shadow-3-dropdown-property-1-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-2-y-offset, 8px) var(--shadow-shadow-3-dropdown-property-2-blur, 16px) var(--shadow-shadow-3-dropdown-property-2-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-3-y-offset, 9px) var(--shadow-shadow-3-dropdown-property-3-blur, 18px) var(--shadow-shadow-3-dropdown-property-3-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08))}.gator-form-element-control:focus{outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-dropdown-listbox_expanded{display:block}";var _=Object.defineProperty,$=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,D=Reflect.get,l=(t,e,i,o)=>{for(var a=o>1?void 0:o?$(e,i):e,n=t.length-1,p;n>=0;n--)(p=t[n])&&(a=(o?p(e,i,a):p(a))||a);return o&&a&&_(e,i,a),a},A=(t,e,i)=>D(R(t),i,e);let r=class extends g{constructor(){super(...arguments),this.options=[],this._expanded=!1,this.listboxRef=h(),this.listRef=h()}render(){return d`
2
+ <div class="gator-form-element">
3
+ ${this.label?this.labelMarkup:null}
4
+ <div
5
+ ${c(this.controlRef)}
6
+ class="gator-form-element-control ${this.errorClass} gator-cursor-pointer"
7
+ aria-controls="listbox-${this.id}"
8
+ aria-expanded="${this._expanded}"
9
+ aria-haspopup="listbox"
10
+ aria-labelledby="dropdown-label-${this.id}"
11
+ id="listbox-control-${this.id}"
12
+ tabindex="0"
13
+ role="combobox"
14
+ title="${this.id}"
15
+ @click="${this.toggleListbox}"
16
+ @keydown="${this.handleComboboxKeydown}"
17
+ @focusout="${()=>this._expanded=!1}"
18
+ >
19
+ <div class="gator-input-container">
20
+ ${this.shouldHaveStartMarkup?d`
21
+ <div class="gator-input-start">
22
+ ${this.startIconMarkup}
23
+ </div>`:null}
24
+
25
+ <div class="gator-faux-input">
26
+ ${this.value}
27
+ </div>
28
+
29
+ <div class="gator-input-end">
30
+ ${this.endIconMarkup}
31
+ </div>
32
+ </div>
33
+ </div>
34
+
35
+ ${this.bottomText}
36
+ </div>
37
+
38
+ ${this.listboxMarkup}
39
+ </div>
40
+ `}firstUpdated(){this._expanded&&this.toggleListbox(s.ENTER,!0)}updated(){var t,e,i,o;this._expanded&&this.value&&((t=this.controlRef.value)==null||t.setAttribute("aria-activedescendant",this.replacedActiveDescendant)),this._expanded&&!this.value&&(this._activeDescendant=(i=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null?void 0:i.id,(o=this.controlRef.value)==null||o.setAttribute("aria-activedescendant",this.replacedActiveDescendant))}get replacedActiveDescendant(){return this._activeDescendant?this._activeDescendant.replace(" ",""):""}get listboxMarkup(){return d`
41
+ <div
42
+ ${c(this.listboxRef)}
43
+ class="gator-dropdown-listbox ${this._expanded?"gator-dropdown-listbox_expanded":""}"
44
+ >
45
+ <ngc-list
46
+ .id="listbox-${this.id}"
47
+ ${c(this.listRef)}
48
+ selectable
49
+ @selected="${this.handleSelected}"
50
+ faux-focus
51
+ .title="${this.id}-list"
52
+ .aria-labelledby="dropdown-label-${this.id}"
53
+ >
54
+ ${this.options.map(t=>d`
55
+ <ngc-list-item
56
+ text="${t.label}"
57
+ value="${t.value}"
58
+ ?selected="${t.value===this.value}"
59
+ .id="${this.id}-${t.value}"
60
+ faux-focus
61
+ ></ngc-list-item>
62
+ `)}
63
+ </ngc-list>
64
+ </div>
65
+ `}handleSelected(){var t;this._expanded=!1,this._activeDescendant=void 0,(t=this.controlRef.value)==null||t.removeAttribute("aria-activedescendant")}handleComboboxKeydown(t){var e,i;!this._expanded&&(t.key===s.ENTER||t.key===s.SPACE||t.key===s.DOWN)?this.toggleListbox(t.key,!1):this._expanded&&this.listRef.value&&((t.key===s.ENTER||t.key===s.SPACE)&&this.listRef.value.selectFalseFocusedItem(),t.key===s.DOWN&&(this._activeDescendant=this.listRef.value.falseFocusNextItem(),(e=this.controlRef.value)==null||e.setAttribute("aria-activedescendant",this.replacedActiveDescendant)),t.key===s.UP&&(this._activeDescendant=this.listRef.value.falseFocusPreviousItem(),(i=this.controlRef.value)==null||i.setAttribute("aria-activedescendant",this.replacedActiveDescendant))),t.key===s.ESCAPE&&(this._expanded=!1)}get errorClass(){return this.errorText?"gator-has-error":""}get labelMarkup(){return d`
66
+ <ngc-input-label
67
+ .for="dropdown-label-${this.id}"
68
+ .required="${this.required}"
69
+ type="div"
70
+ >
71
+ ${this.label}
72
+ </ngc-input-label>`}toggleListbox(t,e){var i;e||(this._expanded=!this._expanded),setTimeout(()=>{var o;this.assignPosition(),this.listRef.value&&(t==s.DOWN||!this.value)?this._activeDescendant=this.listRef.value.falseFocusFirstItem():this.value&&this.listRef.value&&(this._activeDescendant=this.listRef.value.setFalseFocusToValue(this.value)),this._expanded&&((o=this.controlRef.value)==null||o.setAttribute("aria-activedescendant",this.replacedActiveDescendant))}),this._expanded||(this._activeDescendant=void 0,(i=this.controlRef.value)==null||i.removeAttribute("aria-activedescendant"))}get endIconMarkup(){return d`<ngc-icon .name="${this.endIcon||"chevron-down"}"></ngc-icon>`}assignPosition(){const t=this.controlRef.value;!this.listboxRef||!this.listboxRef.value||!t||(this._cleanup=x(t,this.listboxRef.value,async()=>{if(!this.listboxRef||!this.listboxRef.value||!t)return;const{x:e,y:i,placement:o}=await b(t,this.listboxRef.value,{placement:"bottom",middleware:[w()]});let a=o==="bottom"?4:-4;Object.assign(this.listboxRef.value.style,{left:`${e}px`,top:`${i+a}px`,width:`${t.clientWidth}px`})}))}};r.styles=[...A(r,r,"styles"),v(y)];l([m({type:Array})],r.prototype,"options",2);l([u()],r.prototype,"_activeDescendant",2);l([u()],r.prototype,"_expanded",2);r=l([f("ngc-input-dropdown")],r);