@ncino/web-components 1.2.0-preview.2 → 1.2.0-preview.3

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 (50) hide show
  1. package/dist/assets/index-chunk14.js +1 -1
  2. package/dist/assets/index-chunk5.js +1 -1
  3. package/dist/assets/input-rich-text.css +1 -1
  4. package/dist/components/badge/badge.js +1 -1
  5. package/dist/components/badge/gator/badge.gator.js +2 -2
  6. package/dist/components/badge/index.js +1 -1
  7. package/dist/components/badge/slds/badge.slds.js +2 -2
  8. package/dist/components/icon/gator/icon.gator.js +1 -1
  9. package/dist/components/icon/gator/templates/arrow-left.js +1 -1
  10. package/dist/components/icon/gator/templates/arrow-right.js +1 -1
  11. package/dist/components/icon/gator/templates/balloons.js +1 -1
  12. package/dist/components/icon/gator/templates/check-circle.js +1 -1
  13. package/dist/components/icon/gator/templates/checkbox-selected.js +1 -1
  14. package/dist/components/icon/gator/templates/checkbox.js +1 -1
  15. package/dist/components/icon/gator/templates/chevron-down.js +1 -1
  16. package/dist/components/icon/gator/templates/chevron-right.js +1 -1
  17. package/dist/components/icon/gator/templates/chevron-up.js +1 -1
  18. package/dist/components/icon/gator/templates/exit-circle.js +1 -1
  19. package/dist/components/icon/gator/templates/exit.js +1 -1
  20. package/dist/components/icon/gator/templates/eye-crossed.js +1 -1
  21. package/dist/components/icon/gator/templates/info.js +1 -1
  22. package/dist/components/icon/gator/templates/picture.js +1 -1
  23. package/dist/components/icon/gator/templates/radio-selected.js +1 -1
  24. package/dist/components/icon/gator/templates/radio.js +1 -1
  25. package/dist/components/icon/gator/templates/restricted.js +1 -1
  26. package/dist/components/icon/gator/templates/warning.js +1 -1
  27. package/dist/components/icon/icon-registry.js +1 -1
  28. package/dist/components/input-rich-text/ckeditor-config.js +156 -156
  29. package/dist/components/tabs/gator/tab/tab.gator.js +3 -0
  30. package/dist/components/tabs/gator/tabset/tabset.gator.js +35 -0
  31. package/dist/components/tabs/index.js +1 -0
  32. package/dist/consts/key-constants.js +1 -1
  33. package/dist/index.gator.js +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/index.slds.js +1 -1
  36. package/dist/types/components/badge/badge.d.ts +2 -2
  37. package/dist/types/components/table/gator/table.gator.d.ts +5 -0
  38. package/dist/types/components/tabs/gator/tab/tab.gator.d.ts +13 -0
  39. package/dist/types/components/tabs/gator/tab/tab.gator.test.d.ts +0 -0
  40. package/dist/types/components/tabs/gator/tabset/tabset.gator.d.ts +30 -0
  41. package/dist/types/components/tabs/gator/tabset/tabset.gator.test.d.ts +0 -0
  42. package/dist/types/components/tabs/index.d.ts +1 -0
  43. package/dist/types/consts/key-constants.d.ts +2 -0
  44. package/dist/types/index.d.ts +1 -0
  45. package/dist/types/index.gator.d.ts +2 -1
  46. package/dist/utils/components/icon-list/icon-list.gator.js +10 -0
  47. package/package.json +23 -23
  48. package/web-types.json +87 -11
  49. package/dist/components/icon/icon-list.gator.js +0 -10
  50. /package/dist/types/{components/icon → utils/components/icon-list}/icon-list.gator.d.ts +0 -0
@@ -1 +1 @@
1
- const Ft="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}",P=Math.min,F=Math.max,H=Math.round,V=Math.floor,E=t=>({x:t,y:t});function Z(t){return t.split("-")[0]}function lt(t){return t.split("-")[1]}function ft(t){return t==="x"?"y":"x"}function ut(t){return t==="y"?"height":"width"}function tt(t){return["top","bottom"].includes(Z(t))?"y":"x"}function at(t){return ft(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 l=tt(e),r=at(e),s=ut(r),f=Z(e),c=l==="y",a=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,p=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(lt(e)){case"start":u[r]-=p*(o&&c?-1:1);break;case"end":u[r]+=p*(o&&c?-1:1);break}return u}const dt=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:l=[],platform:r}=o,s=l.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let c=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:d}=K(c,n,f),p=n,u={},x=0;for(let h=0;h<s.length;h++){const{name:m,fn:g}=s[h],{x:w,y:R,data:S,reset:L}=await g({x:a,y:d,initialPlacement:n,placement:p,strategy:i,middlewareData:u,rects:c,platform:r,elements:{reference:t,floating:e}});a=w??a,d=R??d,u={...u,[m]:{...u[m],...S}},L&&x<=50&&(x++,typeof L=="object"&&(L.placement&&(p=L.placement),L.rects&&(c=L.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):L.rects),{x:a,y:d}=K(c,p,f)),h=-1)}return{x:a,y:d,placement:p,strategy:i,middlewareData:u}};function M(){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 T(t){var e;return(e=(nt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nt(t){return M()?t instanceof Node||t instanceof y(t).Node:!1}function b(t){return M()?t instanceof Element||t instanceof y(t).Element:!1}function C(t){return M()?t instanceof HTMLElement||t instanceof y(t).HTMLElement:!1}function G(t){return!M()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof y(t).ShadowRoot}function k(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=v(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ht(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 j(t){const e=q(),o=b(t)?v(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(j(e))return e;if(z(e))return null;e=O(e)}return null}function q(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function N(t){return["html","body","#document"].includes(W(t))}function v(t){return y(t).getComputedStyle(t)}function _(t){return b(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||T(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),l=i===((n=t.ownerDocument)==null?void 0:n.body),r=y(i);if(l){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=v(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=C(t),l=i?t.offsetWidth:o,r=i?t.offsetHeight:n,s=H(o)!==l||H(n)!==r;return s&&(o=l,n=r),{width:o,height:n,$:s}}function U(t){return b(t)?t:t.contextElement}function D(t){const e=U(t);if(!C(e))return E(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:l}=it(e);let r=(l?H(o.width):o.width)/n,s=(l?H(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!s||!Number.isFinite(s))&&(s=1),{x:r,y:s}}const gt=E(0);function rt(t){const e=y(t);return!q()||!e.visualViewport?gt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function mt(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(),l=U(t);let r=E(1);e&&(n?b(n)&&(r=D(n)):r=D(t));const s=mt(l,o,n)?rt(l):E(0);let f=(i.left+s.x)/r.x,c=(i.top+s.y)/r.y,a=i.width/r.x,d=i.height/r.y;if(l){const p=y(l),u=n&&b(n)?y(n):n;let x=p,h=Y(x);for(;h&&n&&u!==x;){const m=D(h),g=h.getBoundingClientRect(),w=v(h),R=g.left+(h.clientLeft+parseFloat(w.paddingLeft))*m.x,S=g.top+(h.clientTop+parseFloat(w.paddingTop))*m.y;f*=m.x,c*=m.y,a*=m.x,d*=m.y,f+=R,c+=S,x=y(h),h=Y(x)}}return et({width:a,height:d,x:f,y:c})}function wt(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const l=i==="fixed",r=T(n),s=e?z(e.floating):!1;if(n===r||s&&l)return o;let f={scrollLeft:0,scrollTop:0},c=E(1);const a=E(0),d=C(n);if((d||!d&&!l)&&((W(n)!=="body"||k(r))&&(f=_(n)),C(n))){const p=A(n);c=D(n),a.x=p.x+n.clientLeft,a.y=p.y+n.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-f.scrollLeft*c.x+a.x,y:o.y*c.y-f.scrollTop*c.y+a.y}}function yt(t){return Array.from(t.getClientRects())}function $(t,e){const o=_(t).scrollLeft;return e?e.left+o:A(T(t)).left+o}function xt(t){const e=T(t),o=_(t),n=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=F(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+$(t);const s=-o.scrollTop;return v(n).direction==="rtl"&&(r+=F(e.clientWidth,n.clientWidth)-i),{width:i,height:l,x:r,y:s}}function bt(t,e){const o=y(t),n=T(t),i=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,s=0,f=0;if(i){l=i.width,r=i.height;const c=q();(!c||c&&e==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:l,height:r,x:s,y:f}}function vt(t,e){const o=A(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,l=C(t)?D(t):E(1),r=t.clientWidth*l.x,s=t.clientHeight*l.y,f=i*l.x,c=n*l.y;return{width:r,height:s,x:f,y:c}}function J(t,e,o){let n;if(e==="viewport")n=bt(t,o);else if(e==="document")n=xt(T(t));else if(b(e))n=vt(e,o);else{const i=rt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return et(n)}function st(t,e){const o=O(t);return o===e||!b(o)||N(o)?!1:v(o).position==="fixed"||st(o,e)}function Rt(t,e){const o=e.get(t);if(o)return o;let n=B(t,[],!1).filter(s=>b(s)&&W(s)!=="body"),i=null;const l=v(t).position==="fixed";let r=l?O(t):t;for(;b(r)&&!N(r);){const s=v(r),f=j(r);!f&&s.position==="fixed"&&(i=null),(l?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||k(r)&&!f&&st(t,r))?n=n.filter(a=>a!==r):i=s,r=O(r)}return e.set(t,n),n}function Lt(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?z(e)?[]:Rt(e,this._c):[].concat(o),n],s=r[0],f=r.reduce((c,a)=>{const d=J(e,a,i);return c.top=F(d.top,c.top),c.right=P(d.right,c.right),c.bottom=P(d.bottom,c.bottom),c.left=F(d.left,c.left),c},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 Tt(t,e,o){const n=C(e),i=T(e),l=o==="fixed",r=A(t,!0,l,e);let s={scrollLeft:0,scrollTop:0};const f=E(0);if(n||!n&&!l)if((W(e)!=="body"||k(i))&&(s=_(e)),n){const u=A(e,!0,l,e);f.x=u.x+e.clientLeft,f.y=u.y+e.clientTop}else i&&(f.x=$(i));let c=0,a=0;if(i&&!n&&!l){const u=i.getBoundingClientRect();a=u.top+s.scrollTop,c=u.left+s.scrollLeft-$(i,u)}const d=r.left+s.scrollLeft-f.x-c,p=r.top+s.scrollTop-f.y-a;return{x:d,y:p,width:r.width,height:r.height}}function X(t){return v(t).position==="static"}function Q(t,e){if(!C(t)||v(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return T(t)===o&&(o=o.ownerDocument.body),o}function ct(t,e){const o=y(t);if(z(t))return o;if(!C(t)){let i=O(t);for(;i&&!N(i);){if(b(i)&&!X(i))return i;i=O(i)}return o}let n=Q(t,e);for(;n&&ht(n)&&X(n);)n=Q(n,e);return n&&N(n)&&X(n)&&!j(n)?o:n||pt(t)||o}const Et=async function(t){const e=this.getOffsetParent||ct,o=this.getDimensions,n=await o(t.floating);return{reference:Tt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ot(t){return v(t).direction==="rtl"}const At={convertOffsetParentRelativeRectToViewportRelativeRect:wt,getDocumentElement:T,getClippingRect:Lt,getOffsetParent:ct,getElementRects:Et,getClientRects:yt,getDimensions:Ct,getScale:D,isElement:b,isRTL:Ot};function St(t,e){let o=null,n;const i=T(t);function l(){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),l();const{left:c,top:a,width:d,height:p}=t.getBoundingClientRect();if(s||e(),!d||!p)return;const u=V(a),x=V(i.clientWidth-(c+d)),h=V(i.clientHeight-(a+p)),m=V(c),w={rootMargin:-u+"px "+-x+"px "+-h+"px "+-m+"px",threshold:F(0,P(1,f))||1};let R=!0;function S(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(S,{...w,root:i.ownerDocument})}catch{o=new IntersectionObserver(S,w)}o.observe(t)}return r(!0),l}function Dt(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,c=U(t),a=i||l?[...c?B(c):[],...B(e)]:[];a.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),l&&g.addEventListener("resize",o)});const d=c&&s?St(c,o):null;let p=-1,u=null;r&&(u=new ResizeObserver(g=>{let[w]=g;w&&w.target===c&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var R;(R=u)==null||R.observe(e)})),o()}),c&&!f&&u.observe(c),u.observe(e));let x,h=f?A(t):null;f&&m();function m(){const g=A(t);h&&(g.x!==h.x||g.y!==h.y||g.width!==h.width||g.height!==h.height)&&o(),h=g,x=requestAnimationFrame(m)}return o(),()=>{var g;a.forEach(w=>{i&&w.removeEventListener("scroll",o),l&&w.removeEventListener("resize",o)}),d==null||d(),(g=u)==null||g.disconnect(),u=null,f&&cancelAnimationFrame(x)}}const Nt=(t,e,o)=>{const n=new Map,i={platform:At,...o},l={...i.platform,_c:n};return dt(t,e,{...i,platform:l})};export{Dt as a,Nt as c,Ft as t};
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 +1 @@
1
- const r=':host,:root{--color-background-primary: var(--color-blue-10, #F3F5F7);--color-stroke-brand: var(--color-blue-30, #11395B);--color-stroke-primary: var(--color-neutral-40);--color-stroke-success: var(--color-green-20);--color-stroke-warning: var(--color-orange-20);--color-stroke-error-weak: var(--color-red-20);--color-stroke-error-strong: var(--color-red-30);--color-text-primary-base: var(--color-neutral-70, #1F1F1F);--color-text-secondary: var(--color-neutral-50, #6D6D6D);--color-text-brand: var(--color-blue-30, #11395B);--color-text-placeholder: var(--color-neutral-50, #6D6D6D);--color-text-error: var(--color-red-40, #AA330E);--color-text-disabled: var(--color-neutral-40, #BFBFBF);--color-text-inverse: var(--color-neutral-0, #FFFFFF);--color-surface-primary: var(--color-neutral-0, #FFFFFF);--color-surface-brand: var(--color-blue-10, #F3F5F7);--color-surface-brand-secondary: var(--color-blue-20, #C3CDD6);--color-surface-secondary: var(--color-neutral-10);--color-surface-error: var(--color-red-10);--color-surface-success: var(--color-green-10);--color-surface-warning: var(--color-orange-10);--color-surface-badge: var(--color-red-30);--color-icon-error: var(--color-red-30);--color-icon-success: var(--color-green-30);--color-icon-warning: var(--color-orange-30);--color-icon-disabled: var(--color-neutral-40, #BFBFBF);--color-icon-brand: var(--color-blue-30);--color-primary-03-base: var(--color-neutral-70, #1F1F1F);--color-primary-01-placeholder: var(--color-neutral-50, #6D6D6D);--color-underline-primary: var(--color-neutral-40, #BFBFBF);--color-button-pressed: var(--color-neutral-60, #404040);--color-focus-gap: var(--color-neutral-0, #FFFFFF);--color-focus-border: var(--color-blue-30, #11395B);--size-stroke-1: 1px;--text-size-body-1: 1.0625rem;--text-size-body-2: .9375rem;--text-line-height-body-1: 1.5rem;--text-size-button-small: .8125rem;--text-size-button-large: 1.0625rem;--text-family-sans-serif: "Open Sans", sans-serif;--spacing-padding-margin-16: 1rem;--spacing-padding-margin-4: .25rem;--spacing-gap-8: .5rem}';export{r as s};
1
+ const r=':host,:root{--color-background-primary: var(--color-blue-10, #F3F5F7);--color-stroke-brand: var(--color-blue-30, #11395B);--color-stroke-primary: var(--color-neutral-40);--color-stroke-success: var(--color-green-20);--color-stroke-warning: var(--color-orange-20);--color-stroke-error-weak: var(--color-red-20);--color-stroke-error-strong: var(--color-red-30);--color-text-primary-base: var(--color-neutral-70, #1F1F1F);--color-text-secondary: var(--color-neutral-50, #6D6D6D);--color-text-brand: var(--color-blue-30, #11395B);--color-text-placeholder: var(--color-neutral-50, #6D6D6D);--color-text-error: var(--color-red-40, #AA330E);--color-text-disabled: var(--color-neutral-40, #BFBFBF);--color-text-inverse: var(--color-neutral-0, #FFFFFF);--color-surface-primary: var(--color-neutral-0, #FFFFFF);--color-surface-brand: var(--color-blue-10, #F3F5F7);--color-surface-brand-secondary: var(--color-blue-20, #C3CDD6);--color-surface-secondary: var(--color-neutral-10);--color-surface-error: var(--color-red-10);--color-surface-success: var(--color-green-10);--color-surface-warning: var(--color-orange-10);--color-surface-badge: var(--color-red-30);--color-surface-hover: var(--color-neutral-10, #F7F7F7);--color-icon-error: var(--color-red-30);--color-icon-success: var(--color-green-30);--color-icon-warning: var(--color-orange-30);--color-icon-disabled: var(--color-neutral-40, #BFBFBF);--color-icon-brand: var(--color-blue-30);--color-primary-03-base: var(--color-neutral-70, #1F1F1F);--color-primary-01-placeholder: var(--color-neutral-50, #6D6D6D);--color-underline-primary: var(--color-neutral-40, #BFBFBF);--color-button-pressed: var(--color-neutral-60, #404040);--color-focus-gap: var(--color-neutral-0, #FFFFFF);--color-focus-border: var(--color-blue-30, #11395B);--size-stroke-1: 1px;--text-size-body-1: 1.0625rem;--text-size-body-2: .9375rem;--text-line-height-body-1: 1.5rem;--text-size-button-small: .8125rem;--text-size-button-large: 1.0625rem;--text-family-sans-serif: "Open Sans", sans-serif;--spacing-padding-margin-16: 1rem;--spacing-padding-margin-4: .25rem;--spacing-gap-4: .25rem;--spacing-gap-8: .5rem;--spacing-gap-12: .75rem}';export{r as s};