diff --git a/.changeset/brown-points-cross.md b/.changeset/brown-points-cross.md deleted file mode 100644 index d368c84a1..000000000 --- a/.changeset/brown-points-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -feat(date-textbox): localize date placeholders diff --git a/.changeset/chilled-fireants-roll.md b/.changeset/chilled-fireants-roll.md deleted file mode 100644 index 7db3ac2ec..000000000 --- a/.changeset/chilled-fireants-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -ebay-chips: changed a11yDeleteButton to a11yDeleteButtonText diff --git a/.changeset/early-zoos-poke.md b/.changeset/early-zoos-poke.md deleted file mode 100644 index 0e58184c2..000000000 --- a/.changeset/early-zoos-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -Add prefix and postfix to textbox diff --git a/.changeset/hungry-tomatoes-sniff.md b/.changeset/hungry-tomatoes-sniff.md deleted file mode 100644 index d3ad48367..000000000 --- a/.changeset/hungry-tomatoes-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -ebay-icon: synced with class changes diff --git a/.changeset/popular-chefs-admire.md b/.changeset/popular-chefs-admire.md deleted file mode 100644 index a9149a4e2..000000000 --- a/.changeset/popular-chefs-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -feat(toggle-button-group): removed columns and changed ul layout diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 07ef59090..000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "@ebay/ebayui-core": "13.5.2" - }, - "changesets": [ - "brown-points-cross", - "chilled-fireants-roll", - "early-zoos-poke", - "hungry-tomatoes-sniff", - "popular-chefs-admire", - "proud-dots-enjoy", - "shaggy-knives-brake", - "witty-deers-prove" - ] -} diff --git a/.changeset/proud-dots-enjoy.md b/.changeset/proud-dots-enjoy.md deleted file mode 100644 index cb576440c..000000000 --- a/.changeset/proud-dots-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -refactor(phone-input): use Intl for country names instead of hardcoding diff --git a/.changeset/shaggy-knives-brake.md b/.changeset/shaggy-knives-brake.md deleted file mode 100644 index 4be1695d2..000000000 --- a/.changeset/shaggy-knives-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -feat(listbox-button): added postfix-label diff --git a/.changeset/witty-deers-prove.md b/.changeset/witty-deers-prove.md deleted file mode 100644 index ef3796d39..000000000 --- a/.changeset/witty-deers-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": major ---- - -lightbox-dialog: added large/fullscreen size diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e987459c..80d2c060b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # eBayUI-Core Changelog +## 14.0.0 + +### Major Changes + +- [#2191](https://github.com/eBay/ebayui-core/pull/2191) [`1290638`](https://github.com/eBay/ebayui-core/commit/129063895b51d733417923db313975895e4ace60) Thanks [@LuLaValva](https://github.com/LuLaValva)! - feat(date-textbox): localize date placeholders + +- [#2196](https://github.com/eBay/ebayui-core/pull/2196) [`80f76ae`](https://github.com/eBay/ebayui-core/commit/80f76aeffe2a07e96b2c2c8b5eeedf43f80735ff) Thanks [@agliga](https://github.com/agliga)! - ebay-chips: changed a11yDeleteButton to a11yDeleteButtonText + +- [#2196](https://github.com/eBay/ebayui-core/pull/2196) [`e149501`](https://github.com/eBay/ebayui-core/commit/e149501f91213435644e3445d490d06ccb187ef0) Thanks [@agliga](https://github.com/agliga)! - ebay-icon: synced with class changes + +- [#2199](https://github.com/eBay/ebayui-core/pull/2199) [`80f7185`](https://github.com/eBay/ebayui-core/commit/80f71850ce3a0ea1f5e7d730e834e9ea2c8c2e39) Thanks [@agliga](https://github.com/agliga)! - feat(toggle-button-group): removed columns and changed ul layout + +- [#2193](https://github.com/eBay/ebayui-core/pull/2193) [`dac2644`](https://github.com/eBay/ebayui-core/commit/dac2644e6d5c8aa03816038fb735d220d38488f7) Thanks [@LuLaValva](https://github.com/LuLaValva)! - refactor(phone-input): use Intl for country names instead of hardcoding + +- [#2196](https://github.com/eBay/ebayui-core/pull/2196) [`9812150`](https://github.com/eBay/ebayui-core/commit/981215044603915b94ea8791bbd94d201c910b29) Thanks [@agliga](https://github.com/agliga)! - lightbox-dialog: added large/fullscreen size + +### Minor Changes + +- [#2200](https://github.com/eBay/ebayui-core/pull/2200) [`2cbba20`](https://github.com/eBay/ebayui-core/commit/2cbba205f7cee8432a8e6ca804d9464f662bdb6a) Thanks [@LuLaValva](https://github.com/LuLaValva)! - Add prefix and postfix to textbox + +- [#2202](https://github.com/eBay/ebayui-core/pull/2202) [`d535781`](https://github.com/eBay/ebayui-core/commit/d535781ac847d4909f65feeef17c7a5cc8083a01) Thanks [@agliga](https://github.com/agliga)! - feat(listbox-button): added postfix-label + ## 14.0.0-next.0 ### Major Changes diff --git a/docs/assets/3d-viewer.stories-Il5FkWDd.js b/docs/assets/3d-viewer.stories-DnpoBNEp.js similarity index 95% rename from docs/assets/3d-viewer.stories-Il5FkWDd.js rename to docs/assets/3d-viewer.stories-DnpoBNEp.js index 9edb514ad..da6eb5f30 100644 --- a/docs/assets/3d-viewer.stories-Il5FkWDd.js +++ b/docs/assets/3d-viewer.stories-DnpoBNEp.js @@ -1,4 +1,4 @@ -import{t as _}from"./index-CCz6reEH.js";import{a as x}from"./utils-DWCsNc5l.js";import{t as T,r as L,b as V,f as d,e as k,p as E,d as A}from"./registry-B-klnak9.js";import{_ as C,a as S}from"./index-DrsTyFc_.js";import{_ as n}from"./render-tag-BBOJ9dEX.js";import{_ as N}from"./index-CAVmWk6z.js";import{C as P}from"./index-Marf191J.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-CIM_zO8g.js";const R=`

+import{t as _}from"./index-CCz6reEH.js";import{a as x}from"./utils-DWCsNc5l.js";import{t as T,r as L,b as V,f as d,e as k,p as E,d as A}from"./registry-B-klnak9.js";import{_ as C,a as S}from"./index-BQLNeQ70.js";import{_ as n}from"./render-tag-BBOJ9dEX.js";import{_ as N}from"./index-5NFv2JwF.js";import{C as P}from"./index-Marf191J.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-DYoePqPO.js";const R=`

ebay-3d-viewer diff --git a/docs/assets/Color-PRSJMWNM-CZDuGoU4.js b/docs/assets/Color-PRSJMWNM-DiURJJNj.js similarity index 99% rename from docs/assets/Color-PRSJMWNM-CZDuGoU4.js rename to docs/assets/Color-PRSJMWNM-DiURJJNj.js index 5694ce225..46eb55aee 100644 --- a/docs/assets/Color-PRSJMWNM-CZDuGoU4.js +++ b/docs/assets/Color-PRSJMWNM-DiURJJNj.js @@ -1 +1 @@ -import{R as h,r as m,n as $,f as ue,T as Me,F as Ce,g as $e,h as Oe}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{g as fe}from"./_commonjsHelpers-Cpj98o6Y.js";import{_ as Ne,i as J,a as Ie}from"./index-ChWP2N81.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DrFu-skq.js";function N(){return(N=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,s.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=i.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(re(b),!function(k,O){return O&&!F(k)}(b,i.current)&&w)){if(F(b)){i.current=!0;var E=b.changedTouches||[];E.length&&(s.current=E[0].identifier)}w.focus(),a(ne(w,b,s.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),l({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[l,a]),d=c[0],f=c[1],g=c[2];return m.useEffect(function(){return g},[g]),h.createElement("div",N({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),H=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=H(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},Te=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),l=r*(1-n),s=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,s,l,l,i,r][c]),g:y(255*[i,r,r,s,l,l][c]),b:y(255*[l,l,i,r,r,s][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),l=a-Math.min(t,n,r),s=l?a===t?(n-r)/l:a===n?2+(r-t)/l:4+(t-n)/l:0;return{h:y(60*(s<0?s+6:s)),s:y(a?l/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=H(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],l=o[1],s=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},l(c)}},[t,e]),m.useEffect(function(){var c;ve(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},r(c))},[a,e,r]);var i=m.useCallback(function(c){l(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,N({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=H(["react-colorful__alpha",t]),l=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:R(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Te,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,N({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,N({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const z=Ye,ke={};for(const e of Object.keys(z))ke[z[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=a-o;let s,i;a===o?s=0:t===a?s=(n-r)/l:n===a?s=2+(r-t)/l:r===a&&(s=4+(t-n)/l),s=Math.min(s*60,360),s<0&&(s+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=l/(a+o):i=l/(2-a-o),[s,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),d=c-Math.min(l,s,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(l),n=f(s),r=f(i),l===c?o=r-n:s===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,l=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0;return[a*100,l*100,s*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(z)){const a=z[o],l=Je(e,a);l.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,l=t*.0193+n*.1192+r*.9505;return[o*100,a*100,l*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,l=500*(n-r),s=200*(r-o);return[a,l,s]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,l;if(n===0)return l=r*255,[l,l,l];r<.5?o=r*(1+n):o=r+n-r*n;const s=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(o-s)*6*a:2*a<1?l=o:3*a<2?l=s+(o-s)*(2/3-a)*6:l=s,i[c]=l*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const l=(r+n)/2,s=r===0?2*o/(a+o):2*n/(r+n);return[t,s*100,l*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),l=255*r*(1-n),s=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,l];case 1:return[s,r,l];case 2:return[l,r,i];case 3:return[l,s,r];case 4:return[i,l,r];case 5:return[r,l,s]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,l;l=(2-n)*r;const s=(2-n)*o;return a=n*o,a/=s<=1?s:2-s,a=a||0,l/=2,[t,a*100,l*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const l=Math.floor(6*t),s=1-r;a=6*t-l,l&1&&(a=1-a);const i=n+a*(s-n);let c,d,f;switch(l){default:case 6:case 0:c=s,d=i,f=n;break;case 1:c=i,d=s,f=n;break;case 2:c=n,d=s,f=i;break;case 3:c=n,d=i,f=s;break;case 4:c=i,d=n,f=s;break;case 5:c=s,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,n*(1-o)+o),s=1-Math.min(1,r*(1-o)+o);return[a*255,l*255,s*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,l;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,l=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[o*255,a*255,l*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),l=200*(n-r);return[o,a,l]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,l;a=(t+16)/116,o=n/500+a,l=a-r/200;const s=a**3,i=o**3,c=l**3;return a=s>.008856?s:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,l=c>.008856?c:(l-16/116)/7.787,o*=95.047,a*=100,l*=108.883,[o,a,l]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const l=Math.sqrt(n*n+r*r);return[t,l,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),l=n*Math.sin(o);return[t,a,l]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(l+=60),l};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,l=r&255;return[o,a,l]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),l=o-a;let s,i;return l<1?s=a/(1-l):s=0,l<=0?i=0:o===t?i=(n-r)/l%6:o===n?i=2+(r-t)/l:i=4+(t-n)/l,i/=6,i%=1,[i*360,l*100,s*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,l=a%1,s=1-l;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const W=_e;function Qe(){const e={},t=Object.keys(W);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function lt(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,l=0;l{I[e]={},Object.defineProperty(I[e],"channels",{value:U[e].channels}),Object.defineProperty(I[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];I[e][r]=lt(o),I[e][r].raw=at(o)})});var st=I;const _=fe(st);var it=Ne,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,le=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return le;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?le:+e}var Mt=Et,Ct=J,D=ut,se=Mt,$t="Expected a function",Ot=Math.max,Nt=Math.min;function It(e,t,n){var r,o,a,l,s,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,T=o;return r=o=void 0,c=v,l=e.apply(T,C),l}function j(v){return c=v,s=setTimeout(b,t),d?x(v):l}function M(v){var C=v-i,T=v-c,te=t-C;return f?Nt(te,a-T):te}function p(v){var C=v-i,T=v-c;return i===void 0||C>=t||C<0||f&&T>=a}function b(){var v=D();if(p(v))return w(v);s=setTimeout(b,M(v))}function w(v){return s=void 0,g&&r?x(v):(r=o=void 0,l)}function E(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0}function k(){return s===void 0?l:w(D())}function O(){var v=D(),C=p(v);if(r=arguments,o=this,i=v,C){if(s===void 0)return j(i);if(f)return clearTimeout(s),s=setTimeout(b,t),x(i)}return s===void 0&&(s=setTimeout(b,t)),l}return O.cancel=E,O.flush=k,O}var St=It,Rt=St,jt=J,Tt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Tt);return jt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Lt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),qt=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=$(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...n,style:{...t,backgroundImage:r}})},Kt=$(Ce.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=$($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.rgb.hsl([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([l,s,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${_.rgb.hex([l,s,i]).toLowerCase()}`}}if(Ut.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.hsl.rgb([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([l,s,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${_.hsl.hex([l,s,i]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,l]=r[1].split("");return`#${o}${o}${a}${a}${l}${l}`},Zt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[l,s]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),s((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=m.useMemo(()=>Qt(n,o,l).toLowerCase(),[n,o,l]),c=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),s(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(l)+1;f>=L.length&&(f=0),s(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,l,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:l,cycleColorSpace:d}},X=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(s=>typeof s=="string"?S(s):s.title?{...S(s.color),keyword:s.title}:S(s.color)).concat(r).filter(Boolean).slice(-27),[e,r]),l=m.useCallback(s=>{s!=null&&s.valid&&(a.some(i=>X(i[n])===X(s[n]))||o(i=>i.concat(s)))},[n,a]);return{presets:a,addPreset:l}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:l=!1,argType:s})=>{var E;let i=m.useCallback(Ht(n,200),[n]),{value:c,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Zt(t,i),{presets:M,addPreset:p}=en(a,g,x),b=Jt[x],w=!!((E=s==null?void 0:s.table)!=null&&E.readonly);return h.createElement(Pt,{"aria-readonly":w},h.createElement(Lt,{startOpen:l,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(qt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Wt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:k.keyword||k.value})},h.createElement(ie,{value:k[x],active:g&&X(k[x])===X(g[x]),onClick:()=>f(k.value)})))))},h.createElement(ie,{value:d,style:{margin:4}})),h.createElement(Kt,{id:Oe(e),value:c,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),c?h.createElement(Vt,{onClick:j}):null)},un=tn;export{tn as ColorControl,un as default}; +import{R as h,r as m,n as $,f as ue,T as Me,F as Ce,g as $e,h as Oe}from"./chunk-HLWAVYOI-uH84A_5y.js";import{g as fe}from"./_commonjsHelpers-Cpj98o6Y.js";import{_ as Ne,i as J,a as Ie}from"./index-ChWP2N81.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DrFu-skq.js";function N(){return(N=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,s.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=i.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(re(b),!function(k,O){return O&&!F(k)}(b,i.current)&&w)){if(F(b)){i.current=!0;var E=b.changedTouches||[];E.length&&(s.current=E[0].identifier)}w.focus(),a(ne(w,b,s.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),l({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[l,a]),d=c[0],f=c[1],g=c[2];return m.useEffect(function(){return g},[g]),h.createElement("div",N({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),H=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=H(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},Te=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),l=r*(1-n),s=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,s,l,l,i,r][c]),g:y(255*[i,r,r,s,l,l][c]),b:y(255*[l,l,i,r,r,s][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),l=a-Math.min(t,n,r),s=l?a===t?(n-r)/l:a===n?2+(r-t)/l:4+(t-n)/l:0;return{h:y(60*(s<0?s+6:s)),s:y(a?l/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=H(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],l=o[1],s=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},l(c)}},[t,e]),m.useEffect(function(){var c;ve(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},r(c))},[a,e,r]);var i=m.useCallback(function(c){l(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,N({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=H(["react-colorful__alpha",t]),l=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:R(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Te,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,N({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,N({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const z=Ye,ke={};for(const e of Object.keys(z))ke[z[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=a-o;let s,i;a===o?s=0:t===a?s=(n-r)/l:n===a?s=2+(r-t)/l:r===a&&(s=4+(t-n)/l),s=Math.min(s*60,360),s<0&&(s+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=l/(a+o):i=l/(2-a-o),[s,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),d=c-Math.min(l,s,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(l),n=f(s),r=f(i),l===c?o=r-n:s===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,l=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0;return[a*100,l*100,s*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(z)){const a=z[o],l=Je(e,a);l.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,l=t*.0193+n*.1192+r*.9505;return[o*100,a*100,l*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,l=500*(n-r),s=200*(r-o);return[a,l,s]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,l;if(n===0)return l=r*255,[l,l,l];r<.5?o=r*(1+n):o=r+n-r*n;const s=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(o-s)*6*a:2*a<1?l=o:3*a<2?l=s+(o-s)*(2/3-a)*6:l=s,i[c]=l*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const l=(r+n)/2,s=r===0?2*o/(a+o):2*n/(r+n);return[t,s*100,l*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),l=255*r*(1-n),s=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,l];case 1:return[s,r,l];case 2:return[l,r,i];case 3:return[l,s,r];case 4:return[i,l,r];case 5:return[r,l,s]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,l;l=(2-n)*r;const s=(2-n)*o;return a=n*o,a/=s<=1?s:2-s,a=a||0,l/=2,[t,a*100,l*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const l=Math.floor(6*t),s=1-r;a=6*t-l,l&1&&(a=1-a);const i=n+a*(s-n);let c,d,f;switch(l){default:case 6:case 0:c=s,d=i,f=n;break;case 1:c=i,d=s,f=n;break;case 2:c=n,d=s,f=i;break;case 3:c=n,d=i,f=s;break;case 4:c=i,d=n,f=s;break;case 5:c=s,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,n*(1-o)+o),s=1-Math.min(1,r*(1-o)+o);return[a*255,l*255,s*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,l;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,l=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[o*255,a*255,l*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),l=200*(n-r);return[o,a,l]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,l;a=(t+16)/116,o=n/500+a,l=a-r/200;const s=a**3,i=o**3,c=l**3;return a=s>.008856?s:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,l=c>.008856?c:(l-16/116)/7.787,o*=95.047,a*=100,l*=108.883,[o,a,l]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const l=Math.sqrt(n*n+r*r);return[t,l,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),l=n*Math.sin(o);return[t,a,l]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(l+=60),l};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,l=r&255;return[o,a,l]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),l=o-a;let s,i;return l<1?s=a/(1-l):s=0,l<=0?i=0:o===t?i=(n-r)/l%6:o===n?i=2+(r-t)/l:i=4+(t-n)/l,i/=6,i%=1,[i*360,l*100,s*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,l=a%1,s=1-l;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const W=_e;function Qe(){const e={},t=Object.keys(W);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function lt(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,l=0;l{I[e]={},Object.defineProperty(I[e],"channels",{value:U[e].channels}),Object.defineProperty(I[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];I[e][r]=lt(o),I[e][r].raw=at(o)})});var st=I;const _=fe(st);var it=Ne,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,le=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return le;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?le:+e}var Mt=Et,Ct=J,D=ut,se=Mt,$t="Expected a function",Ot=Math.max,Nt=Math.min;function It(e,t,n){var r,o,a,l,s,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,T=o;return r=o=void 0,c=v,l=e.apply(T,C),l}function j(v){return c=v,s=setTimeout(b,t),d?x(v):l}function M(v){var C=v-i,T=v-c,te=t-C;return f?Nt(te,a-T):te}function p(v){var C=v-i,T=v-c;return i===void 0||C>=t||C<0||f&&T>=a}function b(){var v=D();if(p(v))return w(v);s=setTimeout(b,M(v))}function w(v){return s=void 0,g&&r?x(v):(r=o=void 0,l)}function E(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0}function k(){return s===void 0?l:w(D())}function O(){var v=D(),C=p(v);if(r=arguments,o=this,i=v,C){if(s===void 0)return j(i);if(f)return clearTimeout(s),s=setTimeout(b,t),x(i)}return s===void 0&&(s=setTimeout(b,t)),l}return O.cancel=E,O.flush=k,O}var St=It,Rt=St,jt=J,Tt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Tt);return jt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Lt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),qt=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=$(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...n,style:{...t,backgroundImage:r}})},Kt=$(Ce.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=$($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.rgb.hsl([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([l,s,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${_.rgb.hex([l,s,i]).toLowerCase()}`}}if(Ut.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.hsl.rgb([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([l,s,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${_.hsl.hex([l,s,i]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,l]=r[1].split("");return`#${o}${o}${a}${a}${l}${l}`},Zt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[l,s]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),s((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=m.useMemo(()=>Qt(n,o,l).toLowerCase(),[n,o,l]),c=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),s(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(l)+1;f>=L.length&&(f=0),s(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,l,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:l,cycleColorSpace:d}},X=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(s=>typeof s=="string"?S(s):s.title?{...S(s.color),keyword:s.title}:S(s.color)).concat(r).filter(Boolean).slice(-27),[e,r]),l=m.useCallback(s=>{s!=null&&s.valid&&(a.some(i=>X(i[n])===X(s[n]))||o(i=>i.concat(s)))},[n,a]);return{presets:a,addPreset:l}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:l=!1,argType:s})=>{var E;let i=m.useCallback(Ht(n,200),[n]),{value:c,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Zt(t,i),{presets:M,addPreset:p}=en(a,g,x),b=Jt[x],w=!!((E=s==null?void 0:s.table)!=null&&E.readonly);return h.createElement(Pt,{"aria-readonly":w},h.createElement(Lt,{startOpen:l,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(qt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Wt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:k.keyword||k.value})},h.createElement(ie,{value:k[x],active:g&&X(k[x])===X(g[x]),onClick:()=>f(k.value)})))))},h.createElement(ie,{value:d,style:{margin:4}})),h.createElement(Kt,{id:Oe(e),value:c,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),c?h.createElement(Vt,{onClick:j}):null)},un=tn;export{tn as ColorControl,un as default}; diff --git a/docs/assets/DocsRenderer-K4EAMTCU-CvOqelRM.js b/docs/assets/DocsRenderer-K4EAMTCU-CoLEmrSY.js similarity index 58% rename from docs/assets/DocsRenderer-K4EAMTCU-CvOqelRM.js rename to docs/assets/DocsRenderer-K4EAMTCU-CoLEmrSY.js index cd8161fca..f8426aa17 100644 --- a/docs/assets/DocsRenderer-K4EAMTCU-CvOqelRM.js +++ b/docs/assets/DocsRenderer-K4EAMTCU-CoLEmrSY.js @@ -1 +1 @@ -import{D as a,d}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; +import{D as a,d}from"./chunk-HLWAVYOI-uH84A_5y.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/docs/assets/WithTooltip-KJL26V4Q-DZNYmY_Y.js b/docs/assets/WithTooltip-KJL26V4Q-BIs0JtpI.js similarity index 62% rename from docs/assets/WithTooltip-KJL26V4Q-DZNYmY_Y.js rename to docs/assets/WithTooltip-KJL26V4Q-BIs0JtpI.js index 5710e6a28..1fd5ec89a 100644 --- a/docs/assets/WithTooltip-KJL26V4Q-DZNYmY_Y.js +++ b/docs/assets/WithTooltip-KJL26V4Q-BIs0JtpI.js @@ -1 +1 @@ -import{W as T,W as e,b as h}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure}; +import{W as T,W as e,b as h}from"./chunk-HLWAVYOI-uH84A_5y.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure}; diff --git a/docs/assets/alert-dialog.stories-DIn4S2MK.js b/docs/assets/alert-dialog.stories-B5hBIvNZ.js similarity index 93% rename from docs/assets/alert-dialog.stories-DIn4S2MK.js rename to docs/assets/alert-dialog.stories-B5hBIvNZ.js index 325937307..15a721a23 100644 --- a/docs/assets/alert-dialog.stories-DIn4S2MK.js +++ b/docs/assets/alert-dialog.stories-B5hBIvNZ.js @@ -1,4 +1,4 @@ -import{a as V}from"./utils-DWCsNc5l.js";import{r as B,b as w,d as x,t as T}from"./registry-B-klnak9.js";import{_ as a}from"./dynamic-tag-DQCvkDdb.js";import{i as C,a as c}from"./attr-tag-DphMQldM.js";import{_ as K}from"./const-element-Usj7mXQw.js";import{_ as v}from"./index-BVSy80fu.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as P}from"./index-DX0IFE80.js";import{_ as Y}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const j=`

+import{a as V}from"./utils-DWCsNc5l.js";import{r as B,b as w,d as x,t as T}from"./registry-B-klnak9.js";import{_ as a}from"./dynamic-tag-DQCvkDdb.js";import{i as C,a as c}from"./attr-tag-DphMQldM.js";import{_ as K}from"./const-element-Usj7mXQw.js";import{_ as v}from"./index-BXYtdDDf.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as P}from"./index-DubLym3o.js";import{_ as Y}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";/* empty css */import"./index-A0egsrj7.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const j=`

ebay-alert-dialog diff --git a/docs/assets/avatar.stories-ur14otTB.js b/docs/assets/avatar.stories-B3OMY773.js similarity index 95% rename from docs/assets/avatar.stories-ur14otTB.js rename to docs/assets/avatar.stories-B3OMY773.js index 14dd8938c..a50155983 100644 --- a/docs/assets/avatar.stories-ur14otTB.js +++ b/docs/assets/avatar.stories-B3OMY773.js @@ -1,4 +1,4 @@ -import{t as D}from"./index-CCz6reEH.js";import{b as j,a as M}from"./utils-DWCsNc5l.js";import{t as $,r as E,b as z,e as Q,p as Y,f as q,h as G,d as B}from"./registry-B-klnak9.js";import{_ as J}from"./dynamic-tag-DQCvkDdb.js";import{_ as K}from"./index-BQTIZIsK.js";import{_ as I}from"./render-tag-BBOJ9dEX.js";import{i as L,a as N}from"./attr-tag-DphMQldM.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const b=["teal","light-teal","green","lime","yellow","orange","magenta","pink"];function P(e,a){if(a)return a;let t=0,o,n;if(e&&e.length>0)for(n=0;ni);const A={};i._=z(function(e,a,t,o,n,l){const{a11yText:p,class:H,size:u,color:U,img:y,username:g,renderBody:V,...W}=e;a.be("div",Q(Y(W),{role:"img","aria-label":p,class:q(["avatar",H,u&&`avatar--${u}`,`avatar--${P(g,U)}`])}),"0",o,null,4),y?a.e("img",G(y),"1",o,0,4):V?J(a,e,null,null,null,null,t,"2"):g?a.t(g.charAt(0).toUpperCase(),o):I(K,{},a,t,"3"),a.ee()},{t:d,i:!0},A);i.Component=B(A,i._);const X=`

+import{t as D}from"./index-CCz6reEH.js";import{b as j,a as M}from"./utils-DWCsNc5l.js";import{t as $,r as E,b as z,e as Q,p as Y,f as q,h as G,d as B}from"./registry-B-klnak9.js";import{_ as J}from"./dynamic-tag-DQCvkDdb.js";import{_ as K}from"./index-CirIKg0T.js";import{_ as I}from"./render-tag-BBOJ9dEX.js";import{i as L,a as N}from"./attr-tag-DphMQldM.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const b=["teal","light-teal","green","lime","yellow","orange","magenta","pink"];function P(e,a){if(a)return a;let t=0,o,n;if(e&&e.length>0)for(n=0;ni);const A={};i._=z(function(e,a,t,o,n,l){const{a11yText:p,class:H,size:u,color:U,img:y,username:g,renderBody:V,...W}=e;a.be("div",Q(Y(W),{role:"img","aria-label":p,class:q(["avatar",H,u&&`avatar--${u}`,`avatar--${P(g,U)}`])}),"0",o,null,4),y?a.e("img",G(y),"1",o,0,4):V?J(a,e,null,null,null,null,t,"2"):g?a.t(g.charAt(0).toUpperCase(),o):I(K,{},a,t,"3"),a.ee()},{t:d,i:!0},A);i.Component=B(A,i._);const X=`

ebay-avatar diff --git a/docs/assets/breadcrumbs-B1oTmqko.css b/docs/assets/breadcrumbs-B1oTmqko.css new file mode 100644 index 000000000..2b6a6142a --- /dev/null +++ b/docs/assets/breadcrumbs-B1oTmqko.css @@ -0,0 +1 @@ +nav.breadcrumbs{color:var( --breadcrumbs-item-foreground-color, var(--color-foreground-secondary) );font-size:var(--font-size-small);height:-moz-fit-content;height:fit-content;margin:8px 0;min-height:16px;overflow-x:scroll;padding:8px;scrollbar-width:none;white-space:nowrap}nav.breadcrumbs>ul{display:inline-block;margin:0;min-width:100%;padding:0;right:0}nav.breadcrumbs>ul>li{align-items:center;display:inline-flex;vertical-align:middle}nav.breadcrumbs>ul>li[hidden]{display:none}nav.breadcrumbs>ul>li svg{margin-left:3px;margin-right:3px}nav.breadcrumbs>ul>li svg.icon--12{margin-left:var(--spacing-75);margin-right:var(--spacing-75)}nav.breadcrumbs>ul>li>a{text-decoration:none}nav.breadcrumbs>ul>li>button{background:none;border:none;font-family:inherit;font-size:1em;margin:0;padding:0}nav.breadcrumbs>ul>li>a,nav.breadcrumbs>ul>li>button{color:inherit;max-width:168px;outline-offset:5px;overflow:hidden;text-overflow:ellipsis}nav.breadcrumbs>ul>li>a:focus,nav.breadcrumbs>ul>li>a:hover,nav.breadcrumbs>ul>li>button:focus,nav.breadcrumbs>ul>li>button:hover{text-decoration:underline}nav.breadcrumbs>ul>li>a[aria-current],nav.breadcrumbs>ul>li>button[aria-current]{color:var( --breadcrumbs-item-current-foreground-color, var(--color-foreground-primary) );text-decoration:none}nav.breadcrumbs>ul>li>a:focus:not(:focus-visible),nav.breadcrumbs>ul>li>button:focus:not(:focus-visible){outline:none}nav.breadcrumbs::-webkit-scrollbar{display:none}nav.breadcrumbs.breadcrumb--overflow{overflow-x:unset;scrollbar-width:unset}nav.breadcrumbs .fake-menu-button__button,nav.breadcrumbs .menu-button__button{background-color:var( --icon-button-background-color, var(--color-background-secondary) );height:var(--spacing-300);min-height:var(--spacing-300);min-width:var(--spacing-300);outline-offset:1px;width:var(--spacing-300)}nav.breadcrumbs .fake-menu-button__button svg.icon,nav.breadcrumbs .menu-button__button svg.icon{fill:var( --breadcrumbs-overflow-foreground-color, var(--color-foreground-secondary) )}nav.breadcrumbs .fake-menu-button__menu,nav.breadcrumbs .menu-button__menu{font-size:var(--font-size-default)}[dir=rtl] nav.breadcrumbs svg.icon--12{transform:rotate(180deg)}@media (min-width: 512px){nav.breadcrumbs{margin:16px 0}} diff --git a/docs/assets/breadcrumbs-Cv1lpa2T.css b/docs/assets/breadcrumbs-Cv1lpa2T.css deleted file mode 100644 index 80b7e0384..000000000 --- a/docs/assets/breadcrumbs-Cv1lpa2T.css +++ /dev/null @@ -1 +0,0 @@ -nav.breadcrumbs{color:var( --breadcrumbs-item-foreground-color, var(--color-foreground-secondary) );font-size:var(--font-size-small);height:-moz-fit-content;height:fit-content;margin:8px 0;min-height:16px;overflow-x:scroll;padding:8px;scrollbar-width:none;white-space:nowrap}nav.breadcrumbs>ul{display:inline-block;margin:0;min-width:100%;padding:0;right:0}nav.breadcrumbs>ul>li{align-items:center;display:inline-flex;vertical-align:middle}nav.breadcrumbs>ul>li[hidden]{display:none}nav.breadcrumbs>ul>li svg{margin-left:3px;margin-right:3px}nav.breadcrumbs>ul>li svg.icon--chevron-right-12{margin-left:var(--spacing-75);margin-right:var(--spacing-75)}nav.breadcrumbs>ul>li>a{text-decoration:none}nav.breadcrumbs>ul>li>button{background:none;border:none;font-family:inherit;font-size:1em;margin:0;padding:0}nav.breadcrumbs>ul>li>a,nav.breadcrumbs>ul>li>button{color:inherit;max-width:168px;outline-offset:5px;overflow:hidden;text-overflow:ellipsis}nav.breadcrumbs>ul>li>a:focus,nav.breadcrumbs>ul>li>a:hover,nav.breadcrumbs>ul>li>button:focus,nav.breadcrumbs>ul>li>button:hover{text-decoration:underline}nav.breadcrumbs>ul>li>a[aria-current],nav.breadcrumbs>ul>li>button[aria-current]{color:var( --breadcrumbs-item-current-foreground-color, var(--color-foreground-primary) );text-decoration:none}nav.breadcrumbs>ul>li>a:focus:not(:focus-visible),nav.breadcrumbs>ul>li>button:focus:not(:focus-visible){outline:none}nav.breadcrumbs::-webkit-scrollbar{display:none}nav.breadcrumbs.breadcrumb--overflow{overflow-x:unset;scrollbar-width:unset}nav.breadcrumbs .fake-menu-button__button,nav.breadcrumbs .menu-button__button{background-color:var( --icon-button-background-color, var(--color-background-secondary) );height:var(--spacing-300);min-height:var(--spacing-300);min-width:var(--spacing-300);outline-offset:1px;width:var(--spacing-300)}nav.breadcrumbs .fake-menu-button__button svg.icon,nav.breadcrumbs .menu-button__button svg.icon{fill:var( --breadcrumbs-overflow-foreground-color, var(--color-foreground-secondary) )}nav.breadcrumbs .fake-menu-button__menu,nav.breadcrumbs .menu-button__menu{font-size:var(--font-size-default)}[dir=rtl] nav.breadcrumbs svg.icon--chevron-right-12{transform:rotate(180deg)}@media (min-width: 512px){nav.breadcrumbs{margin:16px 0}} diff --git a/docs/assets/breadcrumbs.stories-57oof7y3.js b/docs/assets/breadcrumbs.stories-C3bEPzGI.js similarity index 94% rename from docs/assets/breadcrumbs.stories-57oof7y3.js rename to docs/assets/breadcrumbs.stories-C3bEPzGI.js index a3b2b9a7f..515d24a9a 100644 --- a/docs/assets/breadcrumbs.stories-57oof7y3.js +++ b/docs/assets/breadcrumbs.stories-C3bEPzGI.js @@ -1,4 +1,4 @@ -import{t as we}from"./index-CCz6reEH.js";import{a as fe}from"./utils-DWCsNc5l.js";import{t as A,r as C,b as T,e as G,p as V,f as _e,d as v}from"./registry-B-klnak9.js";import{g as Be}from"./index-C0MCsjbD.js";import{_ as Se,a as Q}from"./index-CRVfdcxC.js";import{_ as j}from"./dynamic-tag-DQCvkDdb.js";import{i as I,r as n}from"./attr-tag-DphMQldM.js";import{_ as We}from"./index-Dk4iJuw6.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{r as xe}from"./index-blmbJU0z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css *//* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-BVSy80fu.js";import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";import"./index-D9HHMyPY.js";import"./index-BJBnaEG2.js";import"./index-NxVnpuOT.js";/* empty css */import"./index-BHuZwrkj.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";class ke extends Marko.Component{handleClick(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.target})}handleMenuBreadcrumb(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.el})}onCreate(){this.state={hiddenIndex:[]}}onMount(){this._calculateMaxItems(),this.subscribeTo(xe).on("resize",this._calculateMaxItems.bind(this))}onInput(e){this.cachedWidths=[];const r=[],t=[...e.items??[]];if((t||[]).length>4)for(let s=1;s!o.type))return;const s=this.getEl("items"),h=Be(s),a=s.children.length-1,p=this._getItemWidths(s),$=r.hiddenIndex.length>0;let b=1;const H=a-1,R=H-2;let c=p[0]+p[a];$&&(c+=p[b],b++);const u=[];for(let o=H;o>=b;o--)c+=p[o],(c>h||R>=o)&&u.unshift($?o-1:o);r.hiddenIndex=u}}const K="$$yltIvm",B=A(K),P=B;C.r(K,()=>B);const le=ke;B._=T(function(i,e,r,t,s,h){const{a11yHeadingText:a,a11yHeadingTag:p,a11yMenuButtonText:$,class:b,items:H,...R}=i,c=[...H||[]];var u=(c||[]).some(y=>y.href!=null);e.be("nav",G(V(R),{"aria-labelledby":r.elId("breadcrumbs-heading"),class:_e(["breadcrumbs","breadcrumb--overflow",b]),role:"navigation"}),"@root",t,null,4),j(e,p||"h2",()=>({id:r.elId("breadcrumbs-heading"),class:"clipped"}),y=>{y.t(a,t)},null,null,r,"0"),e.be("ul",null,"@items",t,null,0);{let y=0;for(const O of c||[]){let M=y++;const m=`[${M}]`;var o=s.hiddenIndex.indexOf(M)>-1;s.hiddenIndex.length>0&&M===1&&(e.be("li",null,"1"+m,t,null,0),l(We,I(()=>{let z=0;for(const q of s.hiddenIndex||[]){const ye=`[${z+++m}]`;n("items",{type:u?"a":"button",...V(c[q]),renderBody:ge=>{j(ge,c[q].renderBody,null,null,null,null,r,"3"+ye)}})}},{variant:"icon",transparent:!0,icon:Se,collapseOnSelect:!0,a11yText:$}),e,r,"2"+m,[["select","handleMenuBreadcrumb",!1]]),l(Q,{},e,r,"4"+m),e.ee()),e.be("li",{hidden:o},"5"+m,t,null,0);{var J=M===c.length-1,Z=!O.href&&J;const z=u?"a":"button";e.be(z,G(V(O),{"aria-current":Z&&"location"}),"6"+m,t,null,4,{onclick:r.d("click",!Z&&"handleClick",!1)}),j(e,O.renderBody,null,null,null,null,r,"7"+m),e.ee(),J||l(Q,{},e,r,"8"+m)}e.ee()}}e.ee(),e.ee()},{t:K},le);B.Component=v(le,B._);const N="uHtlikpm",S=A(N);C.r(N,()=>S);const he={};S._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:N,i:!0},he);S.Component=v(he,S._);const U="KmtnZmYk",W=A(U);C.r(U,()=>W);const pe={};W._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Bands/182068/bn_16565906",renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:U,i:!0},pe);W.Component=v(pe,W._);const Y="zuWYRwOd",x=A(Y);C.r(Y,()=>x);const be={};x._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:Y,i:!0},be);x.Component=v(be,x._);const F="AJRRKpbk",k=A(F);C.r(F,()=>k);const ue={};k._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{renderBody:a=>{a.t("eBay",t)}}),n("items",{renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0",[["select","emit",!1,["select"]]])},{t:F},ue);k.Component=v(ue,k._);const Ae=` +import{t as we}from"./index-CCz6reEH.js";import{a as fe}from"./utils-DWCsNc5l.js";import{t as A,r as C,b as T,e as G,p as V,f as _e,d as v}from"./registry-B-klnak9.js";import{g as Be}from"./index-C0MCsjbD.js";import{_ as Se,a as Q}from"./index-DzSb-JGb.js";import{_ as j}from"./dynamic-tag-DQCvkDdb.js";import{i as I,r as n}from"./attr-tag-DphMQldM.js";import{_ as We}from"./index-Cmn-Eq35.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{r as xe}from"./index-blmbJU0z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css *//* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-BXYtdDDf.js";import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";import"./index-jqtmgouX.js";import"./index-BrKjH8jr.js";import"./index-Dm0pQJFf.js";/* empty css */import"./index-DO9To3q6.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";class ke extends Marko.Component{handleClick(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.target})}handleMenuBreadcrumb(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.el})}onCreate(){this.state={hiddenIndex:[]}}onMount(){this._calculateMaxItems(),this.subscribeTo(xe).on("resize",this._calculateMaxItems.bind(this))}onInput(e){this.cachedWidths=[];const r=[],t=[...e.items??[]];if((t||[]).length>4)for(let s=1;s!o.type))return;const s=this.getEl("items"),h=Be(s),a=s.children.length-1,p=this._getItemWidths(s),$=r.hiddenIndex.length>0;let b=1;const H=a-1,R=H-2;let c=p[0]+p[a];$&&(c+=p[b],b++);const u=[];for(let o=H;o>=b;o--)c+=p[o],(c>h||R>=o)&&u.unshift($?o-1:o);r.hiddenIndex=u}}const K="$$yltIvm",B=A(K),P=B;C.r(K,()=>B);const le=ke;B._=T(function(i,e,r,t,s,h){const{a11yHeadingText:a,a11yHeadingTag:p,a11yMenuButtonText:$,class:b,items:H,...R}=i,c=[...H||[]];var u=(c||[]).some(y=>y.href!=null);e.be("nav",G(V(R),{"aria-labelledby":r.elId("breadcrumbs-heading"),class:_e(["breadcrumbs","breadcrumb--overflow",b]),role:"navigation"}),"@root",t,null,4),j(e,p||"h2",()=>({id:r.elId("breadcrumbs-heading"),class:"clipped"}),y=>{y.t(a,t)},null,null,r,"0"),e.be("ul",null,"@items",t,null,0);{let y=0;for(const O of c||[]){let M=y++;const m=`[${M}]`;var o=s.hiddenIndex.indexOf(M)>-1;s.hiddenIndex.length>0&&M===1&&(e.be("li",null,"1"+m,t,null,0),l(We,I(()=>{let z=0;for(const q of s.hiddenIndex||[]){const ye=`[${z+++m}]`;n("items",{type:u?"a":"button",...V(c[q]),renderBody:ge=>{j(ge,c[q].renderBody,null,null,null,null,r,"3"+ye)}})}},{variant:"icon",transparent:!0,icon:Se,collapseOnSelect:!0,a11yText:$}),e,r,"2"+m,[["select","handleMenuBreadcrumb",!1]]),l(Q,{},e,r,"4"+m),e.ee()),e.be("li",{hidden:o},"5"+m,t,null,0);{var J=M===c.length-1,Z=!O.href&&J;const z=u?"a":"button";e.be(z,G(V(O),{"aria-current":Z&&"location"}),"6"+m,t,null,4,{onclick:r.d("click",!Z&&"handleClick",!1)}),j(e,O.renderBody,null,null,null,null,r,"7"+m),e.ee(),J||l(Q,{},e,r,"8"+m)}e.ee()}}e.ee(),e.ee()},{t:K},le);B.Component=v(le,B._);const N="uHtlikpm",S=A(N);C.r(N,()=>S);const he={};S._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:N,i:!0},he);S.Component=v(he,S._);const U="KmtnZmYk",W=A(U);C.r(U,()=>W);const pe={};W._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Bands/182068/bn_16565906",renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:U,i:!0},pe);W.Component=v(pe,W._);const Y="zuWYRwOd",x=A(Y);C.r(Y,()=>x);const be={};x._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{href:"http://www.ebay.com/",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("eBay",t)}}),n("items",{href:"https://www.ebay.com/rpp/cell-phone-pda",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0")},{t:Y,i:!0},be);x.Component=v(be,x._);const F="AJRRKpbk",k=A(F);C.r(F,()=>k);const ue={};k._=T(function(i,e,r,t,s,h){l(P,I(()=>{n("items",{renderBody:a=>{a.t("eBay",t)}}),n("items",{renderBody:a=>{a.t("Cell Phones, Smart Watches & Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Accessories",t)}}),n("items",{renderBody:a=>{a.t("Smart Watch Bands",t)}})},{a11yHeadingText:"Page navigation"}),e,r,"0",[["select","emit",!1,["select"]]])},{t:F},ue);k.Component=v(ue,k._);const Ae=` <@item href="http://www.ebay.com/">eBay <@item href="https://www.ebay.com/rpp/cell-phone-pda">Cell Phones, Smart Watches & Accessories <@item href="https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905">Smart Watch Accessories diff --git a/docs/assets/building-blocks-UNdB6A6e.js b/docs/assets/building-blocks-CgiNLpov.js similarity index 86% rename from docs/assets/building-blocks-UNdB6A6e.js rename to docs/assets/building-blocks-CgiNLpov.js index 450350de8..4497304ce 100644 --- a/docs/assets/building-blocks-UNdB6A6e.js +++ b/docs/assets/building-blocks-CgiNLpov.js @@ -1,3 +1,3 @@ -import{j as e,M as s}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const n={h1:"h1",p:"p",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"building blocks/Overview"}),` +import{j as e,M as s}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const n={h1:"h1",p:"p",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"building blocks/Overview"}),` `,e.jsx(n.h1,{id:"building-block-components",children:"Building Block Components"}),` `,e.jsx(n.p,{children:"These are components that were used as a part of larger, more complicated components. It is generally recommended to refrain from using these components and instead discover their fully built counterparts, but you may use these to build larger components if necessary."})]})}function h(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{h as default}; diff --git a/docs/assets/button-BSZQm0fk.css b/docs/assets/button-BSZQm0fk.css new file mode 100644 index 000000000..418b54289 --- /dev/null +++ b/docs/assets/button-BSZQm0fk.css @@ -0,0 +1 @@ +a.fake-btn,button.btn{background-color:initial;border:1px solid;border-radius:var(--btn-border-radius, 20px);box-sizing:border-box;color:inherit;display:inline-block;font-family:inherit;font-size:var(--font-size-default);margin:0;min-height:40px;min-width:88px;padding:9.5px 20px;text-align:center;text-decoration:none;vertical-align:bottom}a.fake-btn--fixed-height,a.fake-btn--truncated,button.btn--fixed-height,button.btn--truncated{height:40px}a.fake-btn:focus:not(:focus-visible),button.btn:focus:not(:focus-visible){outline:none}button.btn[aria-disabled=true],button.btn[disabled]{border-color:var( --expand-btn-disabled-border-color, var(--color-stroke-disabled) );color:var( --expand-btn-disabled-foreground-color, var(--color-foreground-disabled) )}a.fake-btn--borderless,button.btn--borderless{border-color:transparent;min-width:auto;padding-left:0;vertical-align:initial}a.fake-btn--borderless:focus,a.fake-btn--borderless:hover,button.btn--borderless:focus,button.btn--borderless:hover{background-color:initial;outline:none;text-decoration:underline}a.fake-btn--borderless[aria-disabled=true],a.fake-btn--borderless[disabled],button.btn--borderless[aria-disabled=true],button.btn--borderless[disabled]{border-color:transparent}a.fake-btn--borderless.btn--destructive,button.btn--borderless.btn--destructive{color:var( --btn-secondary-destructive-foreground-color, var(--color-foreground-attention) )}a.fake-btn--slim,button.btn--slim{height:40px;min-width:auto;padding-left:var(--spacing-100);padding-right:var(--spacing-100)}a.fake-btn:visited{color:inherit}a.fake-btn--fluid,button.btn--fluid{width:100%}.btn__cell,.fake-btn__cell{align-items:center;display:flex;justify-content:center;width:100%}.btn__cell--fixed-height,.fake-btn__cell--fixed-height{display:inline-flex}.btn__cell--fixed-height>svg,.fake-btn__cell--fixed-height>svg{align-self:baseline;max-width:calc(100% - 32px)}.btn__cell--truncated,.fake-btn__cell--truncated{display:inline-flex}.btn__cell--truncated>svg,.fake-btn__cell--truncated>svg{align-self:baseline;max-width:calc(100% - 32px)}a.fake-btn--borderless .fake-btn__cell,a.fake-btn--form .fake-btn__cell,button.btn--borderless .btn__cell,button.btn--form .btn__cell{justify-content:space-between}a.fake-btn svg.icon,button.btn svg.icon{align-self:center}a.fake-btn svg.icon:first-child,button.btn svg.icon:first-child{-webkit-margin-end:8px;margin-inline-end:8px}a.fake-btn svg.icon:last-child,button.btn svg.icon:last-child{-webkit-margin-start:8px;margin-inline-start:8px}a.fake-btn svg.icon:only-child,button.btn svg.icon:only-child{margin:0}a.fake-btn__cell--fixed-height svg.icon,button.btn__cell--fixed-height svg.icon{align-self:center;height:1rem;overflow:visible;width:1rem}a.fake-btn--primary,button.btn--primary{background-color:var( --btn-primary-background-color, var(--color-background-accent) );border-color:var(--btn-primary-border-color, var(--color-stroke-accent));color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) );font-weight:700}a.fake-btn--primary{outline-color:var(--color-foreground-primary)}a.fake-btn--primary:visited{color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) )}a.fake-btn--primary[href]:focus,a.fake-btn--primary[href]:hover,button.btn--primary:not([disabled],[aria-disabled=true]):focus,button.btn--primary:not([disabled],[aria-disabled=true]):hover{background-blend-mode:multiply;filter:brightness(96%)}a.fake-btn--primary[href]:active,button.btn--primary:not([disabled],[aria-disabled=true]):active{filter:brightness(92%)}a.fake-btn--primary.fake-btn--destructive,button.btn--primary.btn--destructive{background-color:var( --btn-primary-destructive-background-color, var(--color-background-attention) );border-color:var( --btn-primary-destructive-border-color, var(--color-stroke-attention) );color:var( --btn-primary-destructive-foreground-color, var(--color-foreground-on-attention) );font-weight:700}button.btn--primary.btn--destructive[aria-disabled=true],button.btn--primary.btn--destructive[disabled]{background-color:var( --btn-primary-destructive-disabled-background, var(--color-background-disabled) );border-color:var( --btn-primary-destructive-disabled-border, var(--color-stroke-disabled) )}a.fake-btn--primary.fake-btn--destructive[href]:focus,a.fake-btn--primary.fake-btn--destructive[href]:hover,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-attention-hover)}a.fake-btn--primary.fake-btn--destructive[href]:active,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-attention-active)}button.btn .progress-spinner{height:24px;margin:-4px 0;width:24px}button.btn--form .progress-spinner{margin-left:auto;margin-right:auto}button.btn--primary .progress-spinner{--color-spinner-icon-background: var(--color-background-primary);--color-spinner-icon-foreground: #8fa3f8}button.btn--primary.btn--destructive .progress-spinner{--color-spinner-icon-background: var(--color-foreground-on-accent);--color-spinner-icon-foreground: #ec7089}a.fake-btn[aria-expanded=true] svg.icon--12,button.btn[aria-expanded=true] svg.icon--12{transform:rotate(180deg)}a.fake-btn--large svg.icon,button.btn--large svg.icon{max-height:22px}a.fake-btn--small svg.icon,button.btn--small svg.icon{max-height:20px}button.btn--primary[aria-disabled=true],button.btn--primary[disabled]{background-color:var( --btn-primary-disabled-background-color, var(--color-foreground-disabled) );border-color:var( --btn-primary-disabled-border-color, var(--color-foreground-disabled) );color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) )}button.btn--primary[aria-disabled=true] svg.icon,button.btn--primary[disabled] svg.icon{fill:var( --btn-primary-disabled-foreground-color, var(--color-background-primary) )}a.fake-btn--primary:not([href]),a.fake-btn--primary[aria-disabled=true]{background-color:var( --btn-primary-disabled-background-color, var(--color-foreground-disabled) );border-color:var( --btn-primary-disabled-border-color, var(--color-foreground-disabled) )}a.fake-btn--secondary,button.btn--secondary{background-color:var(--btn-secondary-background-color, transparent);border-color:var(--btn-secondary-border-color, var(--color-stroke-accent));color:var( --btn-secondary-foreground-color, var(--color-foreground-accent) )}a.fake-btn--secondary:visited{color:var(--btn-secondary-foreground-color, var(--color-blue-4))}a.fake-btn--secondary[href]:active,button.btn--secondary:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active);border-color:var(--color-state-active-foreground-on-secondary);color:var(--color-state-active-foreground-on-secondary)}a.fake-btn--secondary[href]:focus,a.fake-btn--secondary[href]:hover,button.btn--secondary:not([disabled],[aria-disabled=true]):focus,button.btn--secondary:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-hover-foreground-on-secondary);color:var(--color-state-hover-foreground-on-secondary)}a.fake-btn--secondary.fake-btn--destructive,button.btn--secondary.btn--destructive{background-color:var( --btn-secondary-destructive-background-color, transparent );border-color:var( --btn-secondary-destructive-border-color, var(--color-stroke-attention) );color:var( --btn-secondary-destructive-foreground-color, var(--color-foreground-attention) )}a.fake-btn--secondary.fake-btn--destructive[href]:focus,a.fake-btn--secondary.fake-btn--destructive[href]:hover,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-hover-foreground-on-secondary-desctructive);color:var(--color-state-hover-foreground-on-secondary-desctructive)}a.fake-btn--secondary.fake-btn--destructive[href]:active,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active);border-color:var( --color-state-active-foreground-on-secondary-desctructive );color:var(--color-state-active-foreground-on-secondary-desctructive)}button.btn--secondary.btn--destructive .progress-spinner{--color-spinner-icon-background: #f39fb0;--color-spinner-icon-foreground: #e0103a}button.btn--secondary[aria-disabled=true],button.btn--secondary[disabled]{background-color:var( --btn-secondary-disabled-background-color, var(--color-background-primary) );border-color:var( --btn-secondary-disabled-border-color, var(--color-stroke-disabled) );color:var( --btn-secondary-disabled-foreground-color, var(--color-background-disabled) )}button.btn--secondary[aria-disabled=true] svg.icon,button.btn--secondary[disabled] svg.icon{fill:var( --btn-secondary-disabled-foreground-color, var(--color-foreground-disabled) )}a.fake-btn--secondary:not([href]),a.fake-btn--secondary[aria-disabled=true]{border-color:var( --btn-secondary-disabled-border-color, var(--color-background-disabled) );color:var( --btn-secondary-disabled-foreground-color, var(--color-background-disabled) )}a.fake-btn--tertiary,button.btn--tertiary{border-color:var(--btn-tertiary-border-color, var(--color-stroke-default))}a.fake-btn--tertiary[href]:focus,a.fake-btn--tertiary[href]:hover,button.btn--tertiary:not([disabled],[aria-disabled=true]):focus,button.btn--tertiary:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-secondary-hover)}a.fake-btn--tertiary[href]:active,button.btn--tertiary:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-secondary-active)}a.fake-btn--tertiary:not([href]),button.btn--tertiary[aria-disabled=true]:not([aria-live=polite][aria-disabled=true]),button.btn--tertiary[disabled]{color:var( --btn-tertiary-disabled-foreground-color, var(--color-background-disabled) )}a.fake-btn--tertiary.fake-btn--destructive,button.btn--tertiary.btn--destructive{border-color:var( --btn-tertiary-destructive-foreground-color, var(--color-stroke-subtle) )}a.fake-btn--tertiary.fake-btn--destructive[href]:focus,a.fake-btn--tertiary.fake-btn--destructive[href]:hover,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-secondary-hover)}a.fake-btn--tertiary.fake-btn--destructive[href]:active,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-secondary-active)}button.btn--tertiary.btn--destructive[aria-disabled=true],button.btn--tertiary.btn--destructive[disabled]{color:var( --btn-tertiary-destructive-disabled-foreground-color, var(--color-foreground-disabled) )}button.btn--tertiary.btn--destructive .progress-spinner{--color-spinner-icon-background: #ee9aab;--color-spinner-icon-foreground: #e0103a}a.fake-btn--large,button.btn--large{border-radius:var(--btn-border-radius, 24px);font-size:var(--font-size-medium);min-height:48px;padding:13px 20px}a.fake-btn--small,button.btn--small{border-radius:var(--btn-border-radius, 16px);font-size:var(--font-size-default);min-height:32px;padding:6px 16px}a.fake-btn--form,button.btn--form{border-color:inherit;border-radius:var(--expand-btn-border-radius, var(--border-radius-50));max-width:100%}a.fake-btn--form:not([href]):focus,a.fake-btn--form:not([href]):hover,button.btn--form:not([disabled],[aria-disabled=true]):focus,button.btn--form:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover)}a.fake-btn--form:not([href]):active,button.btn--form:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active)}button.btn--form.btn--large{padding:13px 20px}button.btn--form.btn--small{padding:6px 16px}a.fake-btn--transparent,a.fake-btn--transparent:focus,a.fake-btn--transparent:hover,button.btn--transparent,button.btn--transparent:focus,button.btn--transparent:hover{background-color:initial}a.fake-btn--fixed-height,button.btn--fixed-height{padding-top:calc(21.5px - .75em)}a.fake-btn--large-fixed-height,button.btn--large-fixed-height{height:48px;min-height:48px;padding-top:calc(27px - .75em)}a.fake-btn--truncated,a.fake-btn--truncated span,button.btn--truncated,button.btn--truncated span{line-height:1.4em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}a.fake-btn--large-truncated,button.btn--large-truncated{font-size:var(--font-size-medium);height:48px;min-height:48px;padding:13px 20px}a.fake-btn--large-truncated,a.fake-btn--large-truncated span,button.btn--large-truncated,button.btn--large-truncated span{line-height:1.4em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}a.fake-btn--split-start,button.btn--split-start{border-radius:24px 0 0 24px}a.fake-btn--split-end,button.btn--split-end{border-radius:0 24px 24px 0;margin-left:-1px;min-width:40px;padding-left:8px;padding-right:8px}a.fake-btn.fake-btn--tertiary.fake-btn--split-end,button.btn.btn--tertiary.btn--split-end{margin-left:-2px}a.fake-btn.fake-btn--primary.fake-btn--split-end,a.fake-btn.fake-btn--primary.fake-btn--split-end:focus,a.fake-btn.fake-btn--primary.fake-btn--split-end:hover,button.btn.btn--primary.btn--split-end,button.btn.btn--primary.btn--split-end:focus,button.btn.btn--primary.btn--split-end:hover{border-left-color:var( --btn-primary-border-split-color, var(--color-background-primary) )}button.btn--floating-label{padding-bottom:0;padding-top:0}button.btn--floating-label .btn__text{min-height:19px;padding-bottom:2px;padding-top:17px}button.btn--floating-label .btn__floating-label{align-self:flex-start;display:inline-block;overflow:hidden;padding-bottom:2px;padding-top:17px;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;transform:scale(.75) translateY(-18px);transform-origin:left;white-space:nowrap;width:calc(100% - 24px);z-index:1}button.btn--floating-label .btn__floating-label--animate{transition:transform .3s ease,bottom .3s ease}button.btn--floating-label .btn__floating-label--inline{font-size:.875rem;position:unset;transform:translateY(-6px)}[dir=rtl] a.fake-btn--split-start,[dir=rtl] button.btn--split-start{border-radius:0 24px 24px 0}[dir=rtl] a.fake-btn--split-end,[dir=rtl] button.btn--split-end{border-radius:24px 0 0 24px;margin-left:inherit;margin-right:-1px}[dir=rtl] a.fake-btn.fake-btn--tertiary.fake-btn--split-end,[dir=rtl] button.btn.btn--tertiary.btn--split-end{margin-right:-2px}[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end,[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end:focus,[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end:hover,[dir=rtl] button.btn.btn--primary.btn--split-end,[dir=rtl] button.btn.btn--primary.btn--split-end:focus,[dir=rtl] button.btn.btn--primary.btn--split-end:hover{border-left-color:var( --btn-primary-border-color, var(--color-stroke-accent) );border-right-color:var( --primary-border-split-color, var(--color-stroke-subtle) )} diff --git a/docs/assets/button-CyFj2bkT.css b/docs/assets/button-CyFj2bkT.css deleted file mode 100644 index 76a0d23bf..000000000 --- a/docs/assets/button-CyFj2bkT.css +++ /dev/null @@ -1 +0,0 @@ -a.fake-btn,button.btn{background-color:initial;border:1px solid;border-radius:var(--btn-border-radius, 20px);box-sizing:border-box;color:inherit;display:inline-block;font-family:inherit;font-size:var(--font-size-default);margin:0;min-height:40px;min-width:88px;padding:9.5px 20px;text-align:center;text-decoration:none;vertical-align:bottom}a.fake-btn--fixed-height,a.fake-btn--truncated,button.btn--fixed-height,button.btn--truncated{height:40px}a.fake-btn:focus:not(:focus-visible),button.btn:focus:not(:focus-visible){outline:none}button.btn[aria-disabled=true],button.btn[disabled]{border-color:var( --expand-btn-disabled-border-color, var(--color-stroke-disabled) );color:var( --expand-btn-disabled-foreground-color, var(--color-foreground-disabled) )}a.fake-btn--borderless,button.btn--borderless{border-color:transparent;min-width:auto;padding-left:0;vertical-align:initial}a.fake-btn--borderless:focus,a.fake-btn--borderless:hover,button.btn--borderless:focus,button.btn--borderless:hover{background-color:initial;outline:none;text-decoration:underline}a.fake-btn--borderless[aria-disabled=true],a.fake-btn--borderless[disabled],button.btn--borderless[aria-disabled=true],button.btn--borderless[disabled]{border-color:transparent}a.fake-btn--borderless.btn--destructive,button.btn--borderless.btn--destructive{color:var( --btn-secondary-destructive-foreground-color, var(--color-foreground-attention) )}a.fake-btn--slim,button.btn--slim{height:40px;min-width:auto;padding-left:var(--spacing-100);padding-right:var(--spacing-100)}a.fake-btn:visited{color:inherit}a.fake-btn--fluid,button.btn--fluid{width:100%}.btn__cell,.fake-btn__cell{align-items:center;display:flex;justify-content:center;width:100%}.btn__cell--fixed-height,.fake-btn__cell--fixed-height{display:inline-flex}.btn__cell--fixed-height>svg,.fake-btn__cell--fixed-height>svg{align-self:baseline;max-width:calc(100% - 32px)}.btn__cell--truncated,.fake-btn__cell--truncated{display:inline-flex}.btn__cell--truncated>svg,.fake-btn__cell--truncated>svg{align-self:baseline;max-width:calc(100% - 32px)}a.fake-btn--borderless .fake-btn__cell,a.fake-btn--form .fake-btn__cell,button.btn--borderless .btn__cell,button.btn--form .btn__cell{justify-content:space-between}a.fake-btn svg.icon,button.btn svg.icon{align-self:center}a.fake-btn svg.icon:first-child,button.btn svg.icon:first-child{-webkit-margin-end:8px;margin-inline-end:8px}a.fake-btn svg.icon:last-child,button.btn svg.icon:last-child{-webkit-margin-start:8px;margin-inline-start:8px}a.fake-btn svg.icon:only-child,button.btn svg.icon:only-child{margin:0}a.fake-btn__cell--fixed-height svg.icon,button.btn__cell--fixed-height svg.icon{align-self:center;height:1rem;overflow:visible;width:1rem}a.fake-btn--primary,button.btn--primary{background-color:var( --btn-primary-background-color, var(--color-background-accent) );border-color:var(--btn-primary-border-color, var(--color-stroke-accent));color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) );font-weight:700}a.fake-btn--primary{outline-color:var(--color-foreground-primary)}a.fake-btn--primary:visited{color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) )}a.fake-btn--primary[href]:focus,a.fake-btn--primary[href]:hover,button.btn--primary:not([disabled],[aria-disabled=true]):focus,button.btn--primary:not([disabled],[aria-disabled=true]):hover{background-blend-mode:multiply;filter:brightness(96%)}a.fake-btn--primary[href]:active,button.btn--primary:not([disabled],[aria-disabled=true]):active{filter:brightness(92%)}a.fake-btn--primary.fake-btn--destructive,button.btn--primary.btn--destructive{background-color:var( --btn-primary-destructive-background-color, var(--color-background-attention) );border-color:var( --btn-primary-destructive-border-color, var(--color-stroke-attention) );color:var( --btn-primary-destructive-foreground-color, var(--color-foreground-on-attention) );font-weight:700}button.btn--primary.btn--destructive[aria-disabled=true],button.btn--primary.btn--destructive[disabled]{background-color:var( --btn-primary-destructive-disabled-background, var(--color-background-disabled) );border-color:var( --btn-primary-destructive-disabled-border, var(--color-stroke-disabled) )}a.fake-btn--primary.fake-btn--destructive[href]:focus,a.fake-btn--primary.fake-btn--destructive[href]:hover,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-attention-hover)}a.fake-btn--primary.fake-btn--destructive[href]:active,button.btn--primary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-attention-active)}button.btn .progress-spinner{height:24px;margin:-4px 0;width:24px}button.btn--form .progress-spinner{margin-left:auto;margin-right:auto}button.btn--primary .progress-spinner{--color-spinner-icon-background: var(--color-background-primary);--color-spinner-icon-foreground: #8fa3f8}button.btn--primary.btn--destructive .progress-spinner{--color-spinner-icon-background: var(--color-foreground-on-accent);--color-spinner-icon-foreground: #ec7089}a.fake-btn[aria-expanded=true] svg.icon--chevron-down-12,button.btn[aria-expanded=true] svg.icon--chevron-down-12{transform:rotate(180deg)}a.fake-btn--large svg.icon,button.btn--large svg.icon{max-height:22px}a.fake-btn--small svg.icon,button.btn--small svg.icon{max-height:20px}button.btn--primary[aria-disabled=true],button.btn--primary[disabled]{background-color:var( --btn-primary-disabled-background-color, var(--color-foreground-disabled) );border-color:var( --btn-primary-disabled-border-color, var(--color-foreground-disabled) );color:var( --btn-primary-foreground-color, var(--color-foreground-on-accent) )}button.btn--primary[aria-disabled=true] svg.icon,button.btn--primary[disabled] svg.icon{fill:var( --btn-primary-disabled-foreground-color, var(--color-background-primary) )}a.fake-btn--primary:not([href]),a.fake-btn--primary[aria-disabled=true]{background-color:var( --btn-primary-disabled-background-color, var(--color-foreground-disabled) );border-color:var( --btn-primary-disabled-border-color, var(--color-foreground-disabled) )}a.fake-btn--secondary,button.btn--secondary{background-color:var(--btn-secondary-background-color, transparent);border-color:var(--btn-secondary-border-color, var(--color-stroke-accent));color:var( --btn-secondary-foreground-color, var(--color-foreground-accent) )}a.fake-btn--secondary:visited{color:var(--btn-secondary-foreground-color, var(--color-blue-4))}a.fake-btn--secondary[href]:active,button.btn--secondary:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active);border-color:var(--color-state-active-foreground-on-secondary);color:var(--color-state-active-foreground-on-secondary)}a.fake-btn--secondary[href]:focus,a.fake-btn--secondary[href]:hover,button.btn--secondary:not([disabled],[aria-disabled=true]):focus,button.btn--secondary:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-hover-foreground-on-secondary);color:var(--color-state-hover-foreground-on-secondary)}a.fake-btn--secondary.fake-btn--destructive,button.btn--secondary.btn--destructive{background-color:var( --btn-secondary-destructive-background-color, transparent );border-color:var( --btn-secondary-destructive-border-color, var(--color-stroke-attention) );color:var( --btn-secondary-destructive-foreground-color, var(--color-foreground-attention) )}a.fake-btn--secondary.fake-btn--destructive[href]:focus,a.fake-btn--secondary.fake-btn--destructive[href]:hover,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-hover-foreground-on-secondary-desctructive);color:var(--color-state-hover-foreground-on-secondary-desctructive)}a.fake-btn--secondary.fake-btn--destructive[href]:active,button.btn--secondary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active);border-color:var( --color-state-active-foreground-on-secondary-desctructive );color:var(--color-state-active-foreground-on-secondary-desctructive)}button.btn--secondary.btn--destructive .progress-spinner{--color-spinner-icon-background: #f39fb0;--color-spinner-icon-foreground: #e0103a}button.btn--secondary[aria-disabled=true],button.btn--secondary[disabled]{background-color:var( --btn-secondary-disabled-background-color, var(--color-background-primary) );border-color:var( --btn-secondary-disabled-border-color, var(--color-stroke-disabled) );color:var( --btn-secondary-disabled-foreground-color, var(--color-background-disabled) )}button.btn--secondary[aria-disabled=true] svg.icon,button.btn--secondary[disabled] svg.icon{fill:var( --btn-secondary-disabled-foreground-color, var(--color-foreground-disabled) )}a.fake-btn--secondary:not([href]),a.fake-btn--secondary[aria-disabled=true]{border-color:var( --btn-secondary-disabled-border-color, var(--color-background-disabled) );color:var( --btn-secondary-disabled-foreground-color, var(--color-background-disabled) )}a.fake-btn--tertiary,button.btn--tertiary{border-color:var(--btn-tertiary-border-color, var(--color-stroke-default))}a.fake-btn--tertiary[href]:focus,a.fake-btn--tertiary[href]:hover,button.btn--tertiary:not([disabled],[aria-disabled=true]):focus,button.btn--tertiary:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-secondary-hover)}a.fake-btn--tertiary[href]:active,button.btn--tertiary:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-secondary-active)}a.fake-btn--tertiary:not([href]),button.btn--tertiary[aria-disabled=true]:not([aria-live=polite][aria-disabled=true]),button.btn--tertiary[disabled]{color:var( --btn-tertiary-disabled-foreground-color, var(--color-background-disabled) )}a.fake-btn--tertiary.fake-btn--destructive,button.btn--tertiary.btn--destructive{border-color:var( --btn-tertiary-destructive-foreground-color, var(--color-stroke-subtle) )}a.fake-btn--tertiary.fake-btn--destructive[href]:focus,a.fake-btn--tertiary.fake-btn--destructive[href]:hover,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):focus,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-secondary-hover)}a.fake-btn--tertiary.fake-btn--destructive[href]:active,button.btn--tertiary.btn--destructive:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-secondary-active)}button.btn--tertiary.btn--destructive[aria-disabled=true],button.btn--tertiary.btn--destructive[disabled]{color:var( --btn-tertiary-destructive-disabled-foreground-color, var(--color-foreground-disabled) )}button.btn--tertiary.btn--destructive .progress-spinner{--color-spinner-icon-background: #ee9aab;--color-spinner-icon-foreground: #e0103a}a.fake-btn--large,button.btn--large{border-radius:var(--btn-border-radius, 24px);font-size:var(--font-size-medium);min-height:48px;padding:13px 20px}a.fake-btn--small,button.btn--small{border-radius:var(--btn-border-radius, 16px);font-size:var(--font-size-default);min-height:32px;padding:6px 16px}a.fake-btn--form,button.btn--form{border-color:inherit;border-radius:var(--expand-btn-border-radius, var(--border-radius-50));max-width:100%}a.fake-btn--form:not([href]):focus,a.fake-btn--form:not([href]):hover,button.btn--form:not([disabled],[aria-disabled=true]):focus,button.btn--form:not([disabled],[aria-disabled=true]):hover{background-color:var(--color-state-primary-hover)}a.fake-btn--form:not([href]):active,button.btn--form:not([disabled],[aria-disabled=true]):active{background-color:var(--color-state-primary-active)}button.btn--form.btn--large{padding:13px 20px}button.btn--form.btn--small{padding:6px 16px}a.fake-btn--transparent,a.fake-btn--transparent:focus,a.fake-btn--transparent:hover,button.btn--transparent,button.btn--transparent:focus,button.btn--transparent:hover{background-color:initial}a.fake-btn--fixed-height,button.btn--fixed-height{padding-top:calc(21.5px - .75em)}a.fake-btn--large-fixed-height,button.btn--large-fixed-height{height:48px;min-height:48px;padding-top:calc(27px - .75em)}a.fake-btn--truncated,a.fake-btn--truncated span,button.btn--truncated,button.btn--truncated span{line-height:1.4em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}a.fake-btn--large-truncated,button.btn--large-truncated{font-size:var(--font-size-medium);height:48px;min-height:48px;padding:13px 20px}a.fake-btn--large-truncated,a.fake-btn--large-truncated span,button.btn--large-truncated,button.btn--large-truncated span{line-height:1.4em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}a.fake-btn--split-start,button.btn--split-start{border-radius:24px 0 0 24px}a.fake-btn--split-end,button.btn--split-end{border-radius:0 24px 24px 0;margin-left:-1px;min-width:40px;padding-left:8px;padding-right:8px}a.fake-btn.fake-btn--tertiary.fake-btn--split-end,button.btn.btn--tertiary.btn--split-end{margin-left:-2px}a.fake-btn.fake-btn--primary.fake-btn--split-end,a.fake-btn.fake-btn--primary.fake-btn--split-end:focus,a.fake-btn.fake-btn--primary.fake-btn--split-end:hover,button.btn.btn--primary.btn--split-end,button.btn.btn--primary.btn--split-end:focus,button.btn.btn--primary.btn--split-end:hover{border-left-color:var( --btn-primary-border-split-color, var(--color-background-primary) )}button.btn--floating-label{padding-bottom:0;padding-top:0}button.btn--floating-label .btn__text{min-height:19px;padding-bottom:2px;padding-top:17px}button.btn--floating-label .btn__floating-label{align-self:flex-start;display:inline-block;overflow:hidden;padding-bottom:2px;padding-top:17px;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;transform:scale(.75) translateY(-18px);transform-origin:left;white-space:nowrap;width:calc(100% - 24px);z-index:1}button.btn--floating-label .btn__floating-label--animate{transition:transform .3s ease,bottom .3s ease}button.btn--floating-label .btn__floating-label--inline{font-size:.875rem;position:unset;transform:translateY(-6px)}[dir=rtl] a.fake-btn--split-start,[dir=rtl] button.btn--split-start{border-radius:0 24px 24px 0}[dir=rtl] a.fake-btn--split-end,[dir=rtl] button.btn--split-end{border-radius:24px 0 0 24px;margin-left:inherit;margin-right:-1px}[dir=rtl] a.fake-btn.fake-btn--tertiary.fake-btn--split-end,[dir=rtl] button.btn.btn--tertiary.btn--split-end{margin-right:-2px}[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end,[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end:focus,[dir=rtl] a.fake-btn.fake-btn--primary.fake-btn--split-end:hover,[dir=rtl] button.btn.btn--primary.btn--split-end,[dir=rtl] button.btn.btn--primary.btn--split-end:focus,[dir=rtl] button.btn.btn--primary.btn--split-end:hover{border-left-color:var( --btn-primary-border-color, var(--color-stroke-accent) );border-right-color:var( --primary-border-split-color, var(--color-stroke-subtle) )} diff --git a/docs/assets/button.stories-Zi7x7Vm7.js b/docs/assets/button.stories-BgTLqgxG.js similarity index 94% rename from docs/assets/button.stories-Zi7x7Vm7.js rename to docs/assets/button.stories-BgTLqgxG.js index 85b7e313f..de2cd27fd 100644 --- a/docs/assets/button.stories-Zi7x7Vm7.js +++ b/docs/assets/button.stories-BgTLqgxG.js @@ -1,4 +1,4 @@ -import{t as f}from"./index-CCz6reEH.js";import{b as h,a as x}from"./utils-DWCsNc5l.js";import{_ as u}from"./index-BVSy80fu.js";import{r as T,b as _,d as E,t as v}from"./registry-B-klnak9.js";import{_ as B}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const w=`

+import{t as f}from"./index-CCz6reEH.js";import{b as h,a as x}from"./utils-DWCsNc5l.js";import{_ as u}from"./index-BXYtdDDf.js";import{r as T,b as _,d as E,t as v}from"./registry-B-klnak9.js";import{_ as B}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-CL0domC_.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const w=`

ebay-button diff --git a/docs/assets/buttons-cS83sdcs.js b/docs/assets/buttons-CJNIlBu7.js similarity index 83% rename from docs/assets/buttons-cS83sdcs.js rename to docs/assets/buttons-CJNIlBu7.js index 80ca2fff8..1938b4ee0 100644 --- a/docs/assets/buttons-cS83sdcs.js +++ b/docs/assets/buttons-CJNIlBu7.js @@ -1,3 +1,3 @@ -import{j as t,M as i}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...r(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"buttons/Overview"}),` +import{j as t,M as i}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...r(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"buttons/Overview"}),` `,t.jsx(o.h1,{id:"button-components",children:"Button Components"}),` `,t.jsx(o.p,{children:"All components that are triggered by a button are contained within this category."})]})}function d(n={}){const{wrapper:o}={...r(),...n.components};return o?t.jsx(o,{...n,children:t.jsx(e,{...n})}):e(n)}export{d as default}; diff --git a/docs/assets/calendar.stories-BPCm-9o_.js b/docs/assets/calendar.stories-628pD_WG.js similarity index 96% rename from docs/assets/calendar.stories-BPCm-9o_.js rename to docs/assets/calendar.stories-628pD_WG.js index 97159a997..02f826c64 100644 --- a/docs/assets/calendar.stories-BPCm-9o_.js +++ b/docs/assets/calendar.stories-628pD_WG.js @@ -1,4 +1,4 @@ -import{b as k,a as B}from"./utils-DWCsNc5l.js";import{t as $}from"./index-CCz6reEH.js";import{_ as c,t as _}from"./index-7ZDkJHis.js";import{r as S,b as T,d as V,t as D}from"./registry-B-klnak9.js";import{_ as v}from"./render-tag-BBOJ9dEX.js";import{_ as I}from"./empty-component-BCB5DEsP.js";import"./index-D60qjx8S.js";import"./index-BymJntAB.js";import"./index-C98gAawF.js";/* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const M=`

+import{b as k,a as B}from"./utils-DWCsNc5l.js";import{t as $}from"./index-CCz6reEH.js";import{_ as c,t as _}from"./index-m-NM9nG-.js";import{r as S,b as T,d as V,t as D}from"./registry-B-klnak9.js";import{_ as v}from"./render-tag-BBOJ9dEX.js";import{_ as I}from"./empty-component-BCB5DEsP.js";import"./index-D60qjx8S.js";import"./index-Dm8ZZf1k.js";import"./index-Bd083XES.js";/* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const M=`

ebay-calendar diff --git a/docs/assets/carousel-4csfbim1.css b/docs/assets/carousel-4csfbim1.css deleted file mode 100644 index 8f8dabe9c..000000000 --- a/docs/assets/carousel-4csfbim1.css +++ /dev/null @@ -1 +0,0 @@ -.carousel{position:relative}.carousel__container{position:relative;white-space:nowrap;width:100%}.carousel__container--controls-disabled .carousel__control.carousel__control{display:none}.carousel__list{display:flex;margin:0;padding:0;position:relative;transition:transform .45s ease-in-out;width:100%}.carousel__list>li{display:inline-block;flex-shrink:0;list-style:none}.carousel__playback{background-color:#00000073;border:0;border-radius:50%;bottom:16px;box-sizing:border-box;color:var( --carousel-playback-foreground-color, var(--color-foreground-on-inverse) );height:40px;margin-bottom:19px;margin-right:19px;padding:0;position:absolute;right:0;text-align:center;width:40px;z-index:2}.carousel__playback svg{opacity:.75}.carousel__playback .icon--play{padding-left:1px}.carousel__list--image-treatment>li{align-items:center;border-radius:8px;display:flex;justify-content:center;overflow:hidden;position:relative}.carousel__list--image-treatment>li:after{background:#0000000d;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.carousel__list--image-treatment>li>img{display:inline-block;max-height:100%;max-width:100%;object-fit:contain}.carousel__list--image-treatment-large>li{align-items:center;border-radius:16px;display:flex;justify-content:center;overflow:hidden;position:relative}.carousel__list--image-treatment-large>li:after{background:#0000000d;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.carousel__list--image-treatment-large>li>img{display:inline-block;max-height:100%;max-width:100%;object-fit:contain}div.carousel{margin:16px 0}.carousel__control{align-items:center;background-color:var( --carousel-paddle-background-color, var(--color-background-primary) );border:1px solid;border-color:var( --carousel-paddle-border-color, var(--color-stroke-subtle) );border-radius:16px;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f;display:flex;font-size:18px;height:32px;justify-content:center;opacity:0;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .45s ease-in-out;width:32px;z-index:1}.carousel__control--prev{left:calc(var(--spacing-200) * -1)}.carousel__control--next{right:calc(var(--spacing-200) * -1)}.carousel__control .icon--chevron-right-12{-webkit-margin-start:1px;margin-inline-start:1px}.carousel__control .icon--chevron-left-12{-webkit-margin-end:1px;margin-inline-end:1px}.carousel__control svg{color:var( --carousel-paddle-foreground-color, var(--color-foreground-primary) )}.carousel__control:focus:not(:focus-visible){outline:none}@media (min-width: 512px){.carousel:focus-within .carousel__control{opacity:.92}.carousel:focus-within .carousel__control[aria-disabled=true]{opacity:.3}}@media (min-width: 512px) and (hover: hover){.carousel:hover .carousel__control{opacity:.92}.carousel:hover .carousel__control[aria-disabled=true]{opacity:.3}}.carousel__control--show,.carousel__control:focus{opacity:.92}.carousel__control--show[aria-disabled=true],.carousel__control:focus[aria-disabled=true]{opacity:.3}.carousel__control:hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-primary-hover)}.carousel__control:hover svg{color:var( --carousel-paddle-hover-foreground-color, var(--color-foreground-primary) )}.carousel__control:active{background-color:var(--color-state-primary-active)}.carousel__playback:focus:not(:focus-visible){outline:none}span.carousel,span.carousel__container{display:inline-block}.carousel__viewport--mask{-webkit-mask-image:linear-gradient(to right,var(--color-background-primary) 85%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to right,var(--color-background-primary) 85%,rgba(0,0,0,0) 100%)}[dir=rtl] .carousel__control--prev{left:unset;right:calc(var(--spacing-200) * -1)}[dir=rtl] .carousel__control--next{left:calc(var(--spacing-200) * -1);right:unset}[dir=rtl] .carousel__control .icon--chevron-left-12,[dir=rtl] .carousel__control .icon--chevron-right-12{transform:rotate(180deg)}@supports not ((-webkit-scroll-snap-coordinate: 0 0) or (-ms-scroll-snap-coordinate: 0 0) or (scroll-snap-coordinate: 0 0) or (scroll-snap-align: start)){.carousel:not(.carousel__autoplay) .carousel__control{opacity:.92}.carousel:not(.carousel__autoplay) .carousel__control[aria-disabled=true]{opacity:.3}}@supports (-webkit-scroll-snap-coordinate: 0 0) or (-ms-scroll-snap-coordinate: 0 0) or (scroll-snap-coordinate: 0 0) or (scroll-snap-align: start){.carousel:not(.carousel__autoplay){overflow:visible}.carousel:not(.carousel__autoplay) .carousel__control{margin-top:-5px}.carousel:not(.carousel__autoplay) .carousel__list{border-color:#0000;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;scroll-behavior:smooth;scroll-snap-type:proximity;scroll-snap-type:x proximity;scrollbar-color:rgba(0,0,0,0) rgba(0,0,0,0);scrollbar-width:thin;transition:border-color .5s,scrollbar-color .5s,transform .45s ease-in-out}.carousel:not(.carousel__autoplay) .carousel__list:hover{border-color:#0006;scrollbar-color:rgba(0,0,0,.4) rgba(0,0,0,0)}.carousel:not(.carousel__autoplay) .carousel__list::-webkit-scrollbar{height:5px}.carousel:not(.carousel__autoplay) .carousel__list::-webkit-scrollbar-thumb{border-color:inherit;border-radius:4px;border-right-style:inset;border-right-width:calc(100vw + 100vh)}.carousel__snap-point{scroll-snap-align:flex-start;scroll-snap-coordinate:0 0}@media (min-width: 512px){div.carousel{margin:16px 0}}}.carousel.carousel--hidden-scrollbar:not(.carousel__autoplay){overflow:hidden}.carousel--hidden-scrollbar .carousel__container{margin-bottom:-80px}.carousel--hidden-scrollbar .carousel__container .carousel__control{margin-top:-40px}.carousel--hidden-scrollbar .carousel__container .carousel__list{padding-bottom:80px}.carousel--hidden-scrollbar .carousel__control--prev{left:0}.carousel--hidden-scrollbar .carousel__control--next{right:0} diff --git a/docs/assets/carousel-bECv-Vbe.css b/docs/assets/carousel-bECv-Vbe.css new file mode 100644 index 000000000..dd7be19b7 --- /dev/null +++ b/docs/assets/carousel-bECv-Vbe.css @@ -0,0 +1 @@ +.carousel{position:relative}.carousel__container{position:relative;white-space:nowrap;width:100%}.carousel__container--controls-disabled .carousel__control.carousel__control{display:none}.carousel__list{display:flex;margin:0;padding:0;position:relative;transition:transform .45s ease-in-out;width:100%}.carousel__list>li{display:inline-block;flex-shrink:0;list-style:none}.carousel__playback{background-color:#00000073;border:0;border-radius:50%;bottom:16px;box-sizing:border-box;color:var( --carousel-playback-foreground-color, var(--color-foreground-on-inverse) );height:40px;margin-bottom:19px;margin-right:19px;padding:0;position:absolute;right:0;text-align:center;width:40px;z-index:2}.carousel__playback svg{opacity:.75}.carousel__playback .icon--play{padding-left:1px}.carousel__list--image-treatment>li{align-items:center;border-radius:8px;display:flex;justify-content:center;overflow:hidden;position:relative}.carousel__list--image-treatment>li:after{background:#0000000d;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.carousel__list--image-treatment>li>img{display:inline-block;max-height:100%;max-width:100%;object-fit:contain}.carousel__list--image-treatment-large>li{align-items:center;border-radius:16px;display:flex;justify-content:center;overflow:hidden;position:relative}.carousel__list--image-treatment-large>li:after{background:#0000000d;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.carousel__list--image-treatment-large>li>img{display:inline-block;max-height:100%;max-width:100%;object-fit:contain}div.carousel{margin:16px 0}.carousel__control{align-items:center;background-color:var( --carousel-paddle-background-color, var(--color-background-primary) );border:1px solid;border-color:var( --carousel-paddle-border-color, var(--color-stroke-subtle) );border-radius:16px;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f;display:flex;font-size:18px;height:32px;justify-content:center;opacity:0;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .45s ease-in-out;width:32px;z-index:1}.carousel__control--prev{left:calc(var(--spacing-200) * -1);-webkit-margin-end:1px;margin-inline-end:1px}.carousel__control--next{right:calc(var(--spacing-200) * -1);-webkit-margin-start:1px;margin-inline-start:1px}.carousel__control svg{color:var( --carousel-paddle-foreground-color, var(--color-foreground-primary) )}.carousel__control:focus:not(:focus-visible){outline:none}@media (min-width: 512px){.carousel:focus-within .carousel__control{opacity:.92}.carousel:focus-within .carousel__control[aria-disabled=true]{opacity:.3}}@media (min-width: 512px) and (hover: hover){.carousel:hover .carousel__control{opacity:.92}.carousel:hover .carousel__control[aria-disabled=true]{opacity:.3}}.carousel__control--show,.carousel__control:focus{opacity:.92}.carousel__control--show[aria-disabled=true],.carousel__control:focus[aria-disabled=true]{opacity:.3}.carousel__control:hover{background-color:var(--color-state-primary-hover);border-color:var(--color-state-primary-hover)}.carousel__control:hover svg{color:var( --carousel-paddle-hover-foreground-color, var(--color-foreground-primary) )}.carousel__control:active{background-color:var(--color-state-primary-active)}.carousel__playback:focus:not(:focus-visible){outline:none}span.carousel,span.carousel__container{display:inline-block}.carousel__viewport--mask{-webkit-mask-image:linear-gradient(to right,var(--color-background-primary) 85%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to right,var(--color-background-primary) 85%,rgba(0,0,0,0) 100%)}[dir=rtl] .carousel__control--prev{left:unset;right:calc(var(--spacing-200) * -1)}[dir=rtl] .carousel__control--next{left:calc(var(--spacing-200) * -1);right:unset}[dir=rtl] .carousel__control .icon--12{transform:rotate(180deg)}@supports not ((-webkit-scroll-snap-coordinate: 0 0) or (-ms-scroll-snap-coordinate: 0 0) or (scroll-snap-coordinate: 0 0) or (scroll-snap-align: start)){.carousel:not(.carousel__autoplay) .carousel__control{opacity:.92}.carousel:not(.carousel__autoplay) .carousel__control[aria-disabled=true]{opacity:.3}}@supports (-webkit-scroll-snap-coordinate: 0 0) or (-ms-scroll-snap-coordinate: 0 0) or (scroll-snap-coordinate: 0 0) or (scroll-snap-align: start){.carousel:not(.carousel__autoplay){overflow:visible}.carousel:not(.carousel__autoplay) .carousel__control{margin-top:-5px}.carousel:not(.carousel__autoplay) .carousel__list{border-color:#0000;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;scroll-behavior:smooth;scroll-snap-type:proximity;scroll-snap-type:x proximity;scrollbar-color:rgba(0,0,0,0) rgba(0,0,0,0);scrollbar-width:thin;transition:border-color .5s,scrollbar-color .5s,transform .45s ease-in-out}.carousel:not(.carousel__autoplay) .carousel__list:hover{border-color:#0006;scrollbar-color:rgba(0,0,0,.4) rgba(0,0,0,0)}.carousel:not(.carousel__autoplay) .carousel__list::-webkit-scrollbar{height:5px}.carousel:not(.carousel__autoplay) .carousel__list::-webkit-scrollbar-thumb{border-color:inherit;border-radius:4px;border-right-style:inset;border-right-width:calc(100vw + 100vh)}.carousel__snap-point{scroll-snap-align:flex-start;scroll-snap-coordinate:0 0}@media (min-width: 512px){div.carousel{margin:16px 0}}}.carousel.carousel--hidden-scrollbar:not(.carousel__autoplay){overflow:hidden}.carousel--hidden-scrollbar .carousel__container{margin-bottom:-80px}.carousel--hidden-scrollbar .carousel__container .carousel__control{margin-top:-40px}.carousel--hidden-scrollbar .carousel__container .carousel__list{padding-bottom:80px}.carousel--hidden-scrollbar .carousel__control--prev{left:0}.carousel--hidden-scrollbar .carousel__control--next{right:0} diff --git a/docs/assets/carousel.stories-D-SOwT-w.js b/docs/assets/carousel.stories-x-apL3uy.js similarity index 99% rename from docs/assets/carousel.stories-D-SOwT-w.js rename to docs/assets/carousel.stories-x-apL3uy.js index d99c00535..4be982b2d 100644 --- a/docs/assets/carousel.stories-D-SOwT-w.js +++ b/docs/assets/carousel.stories-x-apL3uy.js @@ -1,4 +1,4 @@ -import{b as S}from"./utils-DWCsNc5l.js";import{p as ie,t as v,r as w,b as C,e as ne,f as B,g as Z,d as T}from"./registry-B-klnak9.js";/* empty css */import{_ as ze}from"./index-PUyx66vy.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as Fe}from"./dynamic-tag-DQCvkDdb.js";import{_ as Ne}from"./preserve-tag-DbR6FWcg.js";import{_ as je,a as Le,b as Ve}from"./index-CPjbzSHA.js";import{s as Re}from"./index--35j0Bzx.js";import{r as We}from"./index-blmbJU0z.js";import{_ as h}from"./const-element-Usj7mXQw.js";import{i as I,r as n}from"./attr-tag-DphMQldM.js";import{_}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";const re={passive:!0};function De(r,a){let s;return t(),o;function t(){r.addEventListener("scroll",i,re)}function i(){e(),s=setTimeout(l,640)}function l(){a(),t()}function e(){r.removeEventListener("scroll",i,re)}function o(){e(),clearTimeout(s)}}function qe(r,a){let s,t,i;return function l(){const{scrollLeft:e}=r;if(i!==e){i=e,s=setTimeout(()=>{t=requestAnimationFrame(l)},90);return}a(i)}(),()=>{clearTimeout(s),cancelAnimationFrame(t)}}const Ue=typeof window<"u"&&"scrollBehavior"in document.documentElement.style;function H(r,a,s){if(Ue)return r.scrollTo({left:a}),qe(r,s);let t,i,l=requestAnimationFrame(y=>{const{scrollLeft:p}=r,u=a-p,b=450;(function x(P){const D=P-y;if(D>b)return r.scrollLeft=a,e(),s();r.scrollLeft=Ze(D/b)*u+p,l=requestAnimationFrame(x)})(y)});return r.addEventListener("touchstart",o),e;function e(){cancelAnimationFrame(l),t===void 0?c():(i&&i(),m())}function o(){e(),t=r.scrollLeft,r.addEventListener("touchend",d)}function d(){m(),t===r.scrollLeft&&(i=H(r,a,s))}function c(){r.removeEventListener("touchstart",o)}function m(){r.removeEventListener("touchend",d)}}function Ze(r){return r<.5?2*r*r:-1+(4-2*r)*r}const G=-1,X=1;class Ge extends Marko.Component{cleanupAsync(){clearTimeout(this.autoplayTimeout),cancelAnimationFrame(this.renderFrame),cancelAnimationFrame(this.focusFrame),this.cancelScrollTransition&&(this.cancelScrollTransition(),this.cancelScrollTransition=void 0)}emitUpdate(){const{config:a,items:s}=this.state;a.scrollTransitioning=!1,this.emit("move",{visibleIndexes:s.filter(({fullyVisible:t})=>t).map(t=>s.indexOf(t))})}handleScroll(a){const{state:s}=this,{config:t,items:i,gap:l}=s;let e;if(a>=this.getMaxOffset(s)-l)e=i.length-1;else{const o=s.itemsPerSlide||1,d=i.length;let c=0,m=Math.ceil(d/o)-1;for(;m-c>1;){const u=Math.floor((c+m)/2);a>i[u*o].left?c=u:m=u}const y=Math.abs(a-i[c*o].left),p=Math.abs(a-i[m*o].left);e=this.normalizeIndex(s,(y>p?m:c)*o)}s.index!==e&&(this.skipScrolling=!0,t.preserveItems=!0,this.setState("index",e),this.emit("scroll",{index:e}))}getOffset(a){const{items:s,index:t}=a;return s.length&&Math.min(s[t].left,this.getMaxOffset(a))||0}getMaxOffset({items:a,slideWidth:s}){return a.length&&Math.max(a[a.length-1].right-s,0)||0}getSlide({index:a,itemsPerSlide:s},t=a){if(s)return Math.ceil(t/s)}normalizeIndex({items:a,itemsPerSlide:s},t){if(t>0){let i=t;return i%=a.length||1,i-=i%(s||1),i=Math.abs(i),i}return 0}isAnimating(a){const{items:s,index:t}=a;if(!s.length)return!1;const i=s[t];return i.left===void 0||i.right===void 0}getNextIndex(a,s){const{index:t,items:i,slideWidth:l,itemsPerSlide:e}=a;let o=t,d;if(s===G&&o===0)o=i.length-1;else{do d=i[o+=s];while(d&&d.fullyVisible);if(s===G&&!e){const c=d.right-l;do d=i[--o];while(d&&d.left>=c);o+=1}}return this.normalizeIndex(a,o)}getTemplateData(a){const{config:s,autoplayInterval:t,items:i,itemsPerSlide:l,slideWidth:e,gap:o}=a,d=s.offsetOverride!==void 0,c=i.length<=l;a.index=this.normalizeIndex(a,a.index);const m=this.getOffset(a),y=c||!t&&m===0,p=c||!t&&m===this.getMaxOffset(a),u=this.isAnimating(a)?a.bothControlsDisabled:y&&p;let b,x,P;if(l){const f=l+a.peek;b=this.getSlide(a),x=`calc(${100/f}% - ${(f-1)*o/f}px)`,P=this.getSlide(a,i.length)}return i.forEach((f,Oe)=>{const{style:q,transform:U}=f,se=Oe!==i.length-1&&`${o}px`;typeof q=="string"?(f.style=`${q};flex-basis:${x};margin-right:${se};`,U&&(f.style+=`transform:${U}`)):f.style=Object.assign({},q,{width:x,"margin-right":se,transform:U}),f.fullyVisible=f.left===void 0||f.left-m>=-.01&&f.right-m<=e+.01}),Object.assign({},a,{items:i,slide:b,offset:d?s.offsetOverride:m,disableTransition:d,totalSlides:P,prevControlDisabled:y,nextControlDisabled:p,bothControlsDisabled:u})}move(a){const{state:s}=this,{index:t,items:i,itemsPerSlide:l,autoplayInterval:e,slideWidth:o,gap:d,peek:c,config:m}=s,y=this.getNextIndex(s,a);let p;if(m.preserveItems=!0,this.isMoving=!0,this.skipScrolling=!1,e){if(a===X&&yt){p=this.getMaxOffset(s)+o+d;for(let u=Math.ceil(l+c);u--;){const b=i[u];b.transform=`translateX(${this.getMaxOffset(s)+o+d}px)`}}m.offsetOverride=p}return this.setState("index",y),this.once("move",()=>{this.isMoving=!1,p!==void 0&&i.forEach(u=>{u.transform=void 0})}),y}handleMove(a,s){if(this.isMoving)return;const{state:t}=this,i=this.move(a),l=this.getSlide(t,i);this.emit("slide",{slide:l+1,originalEvent:s}),this.emit(`${a===1?"next":"previous"}`,{originalEvent:s})}handleStartInteraction(){this.setState("interacting",!0)}handleEndInteraction(){clearTimeout(this.interactionEndTimeout),this.isMoving?this.state.interacting&&(this.interactionEndTimeout=setTimeout(()=>{this.handleEndInteraction()},100)):this.setState("interacting",!1)}togglePlay(a){const{state:{config:s,paused:t}}=this;s.preserveItems=!0,this.setState("paused",!t),t&&!this.isMoving&&this.move(X),this.emit(`${t?"play":"pause"}`,{originalEvent:a})}onInput(a){var e;const s=parseInt(a.gap,10),t={htmlAttributes:ie(a,["class","style","index","type","slide","gap","autoplay","paused","itemsPerSlide","a11yPreviousText","a11yNextText","a11yPlayText","a11yPauseText","items","hiddenScrollbar"]),classes:["carousel",a.hiddenScrollbar&&"carousel--hidden-scrollbar",a.class],style:a.style,config:{},gap:isNaN(s)?16:s,index:parseInt(a.index,10)||0,itemsPerSlide:parseFloat(a.itemsPerSlide)||0,a11yPreviousText:a.a11yPreviousText||"Previous Slide",a11yNextText:a.a11yNextText||"Next Slide",a11yPauseText:a.a11yPauseText||"Pause",a11yPlayText:a.a11yPlayText||"Play",ariaRoleDescription:a["aria-roledescription"]||"Carousel",items:[],slideWidth:0,autoplayInterval:0,paused:!1,peek:0,interacting:!1,bothControlsDisabled:!1},i=["class","style","key"],{itemsPerSlide:l}=t;if(l&&(t.peek=l%1,t.itemsPerSlide=l-t.peek,t.classes.push("carousel--slides"),!t.peek&&!a.autoplay&&!a.noPeek&&(t.peek=.1),t.peek&&t.classes.push("carousel--peek"),a.autoplay)){const o=((e=a.items)==null?void 0:e.length)<=l;t.autoplayInterval=parseInt(a.autoplay,10)||4e3,t.classes.push("carousel__autoplay"),t.paused=!!(o||a.paused),t.interacting=!1}t.items=(a.items||[]).map((o,d)=>{const c=t.itemsPerSlide?d%t.itemsPerSlide===0:!0;return{htmlAttributes:ie(o,i),class:c?["carousel__snap-point",o.class]:o.class,key:o.key||d.toString(),style:o.style,renderBody:o.renderBody,left:0,right:0}}),this.state=t}onRender(){typeof window<"u"&&this.cleanupAsync()}onMount(){const{config:a}=this.state;this.listEl=this.getEl("list"),this.nextEl=this.getEl("next"),this.containerEl=this.getEl("container"),this.subscribeTo(We).on("resize",()=>{this.cleanupAsync(),this.onRenderLegacy()}),this.skipScrolling=!1,oe(this.listEl)?(a.nativeScrolling=!0,this.once("destroy",De(this.listEl,()=>{a.scrollTransitioning||this.handleScroll(this.listEl.scrollLeft)}))):this.subscribeTo(this.listEl).on("transitionend",({target:s})=>{s===this.listEl&&this.emitUpdate()}),this.onRenderLegacy()}onUpdate(){this.onRenderLegacy()}onDestroy(){this.cleanupAsync()}onRenderLegacy(){const{containerEl:a,listEl:s,state:t}=this,{config:i,items:l,autoplayInterval:e,paused:o,interacting:d}=t;if(l.length){if(i.offsetOverride){i.offsetOverride=void 0,this.renderFrame=requestAnimationFrame(()=>this.setStateDirty(void 0));return}if(i.preserveItems){if(i.preserveItems=!1,this.focusFrame=requestAnimationFrame(()=>{le(s,c=>{Re(c).forEach(c.getAttribute("aria-hidden")!=="true"?m=>m.hasAttribute("data-carousel-tabindex")?m.setAttribute("tabindex",m.getAttribute("data-carousel-tabindex")??"-1"):m.removeAttribute("tabindex"):m=>m.setAttribute("tabindex","-1"))})}),i.nativeScrolling)if(this.skipScrolling)this.emitUpdate();else{const c=this.getOffset(t);c!==s.scrollLeft?(i.scrollTransitioning=!0,this.cancelScrollTransition=H(s,c,this.emitUpdate.bind(this))):this.isMoving&&(i.scrollTransitioning=!0,this.cancelScrollTransition=H(s,this.getOffset(t),this.emitUpdate.bind(this)))}if(e&&!o&&!d){const c=this.move.bind(this,X);this.autoplayTimeout=setTimeout(()=>{if(this.isMoving)return this.once("move",c);c()},e)}return}this.renderFrame=requestAnimationFrame(()=>{const{width:c}=a.getBoundingClientRect(),{left:m}=s.firstElementChild.getBoundingClientRect();this.setStateDirty("slideWidth",c),i.preserveItems=!0,i.nativeScrolling=oe(s),le(s,(y,p)=>{const u=l[p],{left:b,right:x}=y.getBoundingClientRect();u.left=b-m,u.right=x-m})})}}}function oe(r){return getComputedStyle(r).overflowX!=="visible"}function le(r,a){let s=0,t=r.firstElementChild;for(;t;)a(t,s++),t=t.nextElementSibling}const J="UwAhZWoh",E=v(J),k=E;w.r(J,()=>E);const _e=Ge;E._=C(function(r,a,s,t,i,l){var e=t.getTemplateData(i),o=e.config;a.be("div",ne(e.htmlAttributes,{class:B(e.classes),style:Z(e.style),"aria-roledescription":e.ariaRoleDescription,role:"group"}),"0",t,null,4),a.be("div",{class:B(["carousel__container",e.bothControlsDisabled&&"carousel__container--controls-disabled"]),id:s.elId("container")},"@container",t,null,1,{onfocusin:s.d("focusin",!!e.autoplayInterval&&"handleStartInteraction",!1),ontouchstart:s.d("touchstart",!!e.autoplayInterval&&"handleStartInteraction",!1),onmouseover:s.d("mouseover",!!e.autoplayInterval&&"handleStartInteraction",!1),onfocusout:s.d("focusout",!!e.autoplayInterval&&"handleEndInteraction",!1),onmouseout:s.d("mouseout",!!e.autoplayInterval&&"handleEndInteraction",!1),ontouchend:s.d("touchend",!!e.autoplayInterval&&"handleEndInteraction",!1)}),a.be("button",{class:"carousel__control carousel__control--prev",type:"button","aria-label":e.a11yPreviousText,"aria-disabled":e.prevControlDisabled&&"true"},"1",t,null,0,{onclick:s.d("click",!e.prevControlDisabled&&"handleMove",!1,[-1])}),g(ze,{},a,s,"2"),a.ee(),a.be("div",{class:B(["carousel__viewport",!e.itemsPerSlide&&!e.nextControlDisabled&&!e.autoplayInterval&&"carousel__viewport--mask"])},"3",t,null,1),a.be("ul",{class:B(["carousel__list",r.imageTreatment==="matte"&&"carousel__list--image-treatment"]),style:Z(!o.nativeScrolling&&!!e.offset&&{transform:"translate3d("+e.offset*-1+"px,0,0)",transition:e.disableTransition?"none":void 0}),id:s.elId("list")},"@list",t,null,1);for(const d of e.items||[]){const c=`@${d.key}`,m=`[${c}]`;a.be("li",ne(d.htmlAttributes,{class:B(d.class),style:Z(d.style),"aria-hidden":!d.fullyVisible&&"true"}),c,t,null,4),g(Ne,{n:!0,b:!0,i:!!o.preserveItems,renderBody:y=>{Fe(y,d.renderBody,null,null,null,null,s,"4"+m)}},a,s,c),a.ee()}a.ee(),a.ee(),a.be("button",{class:"carousel__control carousel__control--next",type:"button","aria-label":e.a11yNextText,"aria-disabled":e.nextControlDisabled&&"true",id:s.elId("next")},"@next",t,null,0,{onclick:s.d("click",!e.nextControlDisabled&&"handleMove",!1,[1])}),g(je,{},a,s,"5"),a.ee(),e.autoplayInterval&&!e.bothControlsDisabled&&(a.be("button",{type:"button","aria-label":e.paused?e.a11yPlayText:e.a11yPauseText,class:"carousel__playback"},"6",t,null,0,{onclick:s.d("click","togglePlay",!1)}),e.paused?g(Le,{},a,s,"7"):g(Ve,{},a,s,"8"),a.ee()),a.ee(),a.ee()},{t:J},_e);E.Component=T(_e,E._);const Xe=`

+import{b as S}from"./utils-DWCsNc5l.js";import{p as ie,t as v,r as w,b as C,e as ne,f as B,g as Z,d as T}from"./registry-B-klnak9.js";/* empty css */import{_ as ze}from"./index-e6O6vD3k.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as Fe}from"./dynamic-tag-DQCvkDdb.js";import{_ as Ne}from"./preserve-tag-DbR6FWcg.js";import{_ as je,a as Le,b as Ve}from"./index-rUVBX3lJ.js";import{s as Re}from"./index--35j0Bzx.js";import{r as We}from"./index-blmbJU0z.js";import{_ as h}from"./const-element-Usj7mXQw.js";import{i as I,r as n}from"./attr-tag-DphMQldM.js";import{_}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";const re={passive:!0};function De(r,a){let s;return t(),o;function t(){r.addEventListener("scroll",i,re)}function i(){e(),s=setTimeout(l,640)}function l(){a(),t()}function e(){r.removeEventListener("scroll",i,re)}function o(){e(),clearTimeout(s)}}function qe(r,a){let s,t,i;return function l(){const{scrollLeft:e}=r;if(i!==e){i=e,s=setTimeout(()=>{t=requestAnimationFrame(l)},90);return}a(i)}(),()=>{clearTimeout(s),cancelAnimationFrame(t)}}const Ue=typeof window<"u"&&"scrollBehavior"in document.documentElement.style;function H(r,a,s){if(Ue)return r.scrollTo({left:a}),qe(r,s);let t,i,l=requestAnimationFrame(y=>{const{scrollLeft:p}=r,u=a-p,b=450;(function x(P){const D=P-y;if(D>b)return r.scrollLeft=a,e(),s();r.scrollLeft=Ze(D/b)*u+p,l=requestAnimationFrame(x)})(y)});return r.addEventListener("touchstart",o),e;function e(){cancelAnimationFrame(l),t===void 0?c():(i&&i(),m())}function o(){e(),t=r.scrollLeft,r.addEventListener("touchend",d)}function d(){m(),t===r.scrollLeft&&(i=H(r,a,s))}function c(){r.removeEventListener("touchstart",o)}function m(){r.removeEventListener("touchend",d)}}function Ze(r){return r<.5?2*r*r:-1+(4-2*r)*r}const G=-1,X=1;class Ge extends Marko.Component{cleanupAsync(){clearTimeout(this.autoplayTimeout),cancelAnimationFrame(this.renderFrame),cancelAnimationFrame(this.focusFrame),this.cancelScrollTransition&&(this.cancelScrollTransition(),this.cancelScrollTransition=void 0)}emitUpdate(){const{config:a,items:s}=this.state;a.scrollTransitioning=!1,this.emit("move",{visibleIndexes:s.filter(({fullyVisible:t})=>t).map(t=>s.indexOf(t))})}handleScroll(a){const{state:s}=this,{config:t,items:i,gap:l}=s;let e;if(a>=this.getMaxOffset(s)-l)e=i.length-1;else{const o=s.itemsPerSlide||1,d=i.length;let c=0,m=Math.ceil(d/o)-1;for(;m-c>1;){const u=Math.floor((c+m)/2);a>i[u*o].left?c=u:m=u}const y=Math.abs(a-i[c*o].left),p=Math.abs(a-i[m*o].left);e=this.normalizeIndex(s,(y>p?m:c)*o)}s.index!==e&&(this.skipScrolling=!0,t.preserveItems=!0,this.setState("index",e),this.emit("scroll",{index:e}))}getOffset(a){const{items:s,index:t}=a;return s.length&&Math.min(s[t].left,this.getMaxOffset(a))||0}getMaxOffset({items:a,slideWidth:s}){return a.length&&Math.max(a[a.length-1].right-s,0)||0}getSlide({index:a,itemsPerSlide:s},t=a){if(s)return Math.ceil(t/s)}normalizeIndex({items:a,itemsPerSlide:s},t){if(t>0){let i=t;return i%=a.length||1,i-=i%(s||1),i=Math.abs(i),i}return 0}isAnimating(a){const{items:s,index:t}=a;if(!s.length)return!1;const i=s[t];return i.left===void 0||i.right===void 0}getNextIndex(a,s){const{index:t,items:i,slideWidth:l,itemsPerSlide:e}=a;let o=t,d;if(s===G&&o===0)o=i.length-1;else{do d=i[o+=s];while(d&&d.fullyVisible);if(s===G&&!e){const c=d.right-l;do d=i[--o];while(d&&d.left>=c);o+=1}}return this.normalizeIndex(a,o)}getTemplateData(a){const{config:s,autoplayInterval:t,items:i,itemsPerSlide:l,slideWidth:e,gap:o}=a,d=s.offsetOverride!==void 0,c=i.length<=l;a.index=this.normalizeIndex(a,a.index);const m=this.getOffset(a),y=c||!t&&m===0,p=c||!t&&m===this.getMaxOffset(a),u=this.isAnimating(a)?a.bothControlsDisabled:y&&p;let b,x,P;if(l){const f=l+a.peek;b=this.getSlide(a),x=`calc(${100/f}% - ${(f-1)*o/f}px)`,P=this.getSlide(a,i.length)}return i.forEach((f,Oe)=>{const{style:q,transform:U}=f,se=Oe!==i.length-1&&`${o}px`;typeof q=="string"?(f.style=`${q};flex-basis:${x};margin-right:${se};`,U&&(f.style+=`transform:${U}`)):f.style=Object.assign({},q,{width:x,"margin-right":se,transform:U}),f.fullyVisible=f.left===void 0||f.left-m>=-.01&&f.right-m<=e+.01}),Object.assign({},a,{items:i,slide:b,offset:d?s.offsetOverride:m,disableTransition:d,totalSlides:P,prevControlDisabled:y,nextControlDisabled:p,bothControlsDisabled:u})}move(a){const{state:s}=this,{index:t,items:i,itemsPerSlide:l,autoplayInterval:e,slideWidth:o,gap:d,peek:c,config:m}=s,y=this.getNextIndex(s,a);let p;if(m.preserveItems=!0,this.isMoving=!0,this.skipScrolling=!1,e){if(a===X&&yt){p=this.getMaxOffset(s)+o+d;for(let u=Math.ceil(l+c);u--;){const b=i[u];b.transform=`translateX(${this.getMaxOffset(s)+o+d}px)`}}m.offsetOverride=p}return this.setState("index",y),this.once("move",()=>{this.isMoving=!1,p!==void 0&&i.forEach(u=>{u.transform=void 0})}),y}handleMove(a,s){if(this.isMoving)return;const{state:t}=this,i=this.move(a),l=this.getSlide(t,i);this.emit("slide",{slide:l+1,originalEvent:s}),this.emit(`${a===1?"next":"previous"}`,{originalEvent:s})}handleStartInteraction(){this.setState("interacting",!0)}handleEndInteraction(){clearTimeout(this.interactionEndTimeout),this.isMoving?this.state.interacting&&(this.interactionEndTimeout=setTimeout(()=>{this.handleEndInteraction()},100)):this.setState("interacting",!1)}togglePlay(a){const{state:{config:s,paused:t}}=this;s.preserveItems=!0,this.setState("paused",!t),t&&!this.isMoving&&this.move(X),this.emit(`${t?"play":"pause"}`,{originalEvent:a})}onInput(a){var e;const s=parseInt(a.gap,10),t={htmlAttributes:ie(a,["class","style","index","type","slide","gap","autoplay","paused","itemsPerSlide","a11yPreviousText","a11yNextText","a11yPlayText","a11yPauseText","items","hiddenScrollbar"]),classes:["carousel",a.hiddenScrollbar&&"carousel--hidden-scrollbar",a.class],style:a.style,config:{},gap:isNaN(s)?16:s,index:parseInt(a.index,10)||0,itemsPerSlide:parseFloat(a.itemsPerSlide)||0,a11yPreviousText:a.a11yPreviousText||"Previous Slide",a11yNextText:a.a11yNextText||"Next Slide",a11yPauseText:a.a11yPauseText||"Pause",a11yPlayText:a.a11yPlayText||"Play",ariaRoleDescription:a["aria-roledescription"]||"Carousel",items:[],slideWidth:0,autoplayInterval:0,paused:!1,peek:0,interacting:!1,bothControlsDisabled:!1},i=["class","style","key"],{itemsPerSlide:l}=t;if(l&&(t.peek=l%1,t.itemsPerSlide=l-t.peek,t.classes.push("carousel--slides"),!t.peek&&!a.autoplay&&!a.noPeek&&(t.peek=.1),t.peek&&t.classes.push("carousel--peek"),a.autoplay)){const o=((e=a.items)==null?void 0:e.length)<=l;t.autoplayInterval=parseInt(a.autoplay,10)||4e3,t.classes.push("carousel__autoplay"),t.paused=!!(o||a.paused),t.interacting=!1}t.items=(a.items||[]).map((o,d)=>{const c=t.itemsPerSlide?d%t.itemsPerSlide===0:!0;return{htmlAttributes:ie(o,i),class:c?["carousel__snap-point",o.class]:o.class,key:o.key||d.toString(),style:o.style,renderBody:o.renderBody,left:0,right:0}}),this.state=t}onRender(){typeof window<"u"&&this.cleanupAsync()}onMount(){const{config:a}=this.state;this.listEl=this.getEl("list"),this.nextEl=this.getEl("next"),this.containerEl=this.getEl("container"),this.subscribeTo(We).on("resize",()=>{this.cleanupAsync(),this.onRenderLegacy()}),this.skipScrolling=!1,oe(this.listEl)?(a.nativeScrolling=!0,this.once("destroy",De(this.listEl,()=>{a.scrollTransitioning||this.handleScroll(this.listEl.scrollLeft)}))):this.subscribeTo(this.listEl).on("transitionend",({target:s})=>{s===this.listEl&&this.emitUpdate()}),this.onRenderLegacy()}onUpdate(){this.onRenderLegacy()}onDestroy(){this.cleanupAsync()}onRenderLegacy(){const{containerEl:a,listEl:s,state:t}=this,{config:i,items:l,autoplayInterval:e,paused:o,interacting:d}=t;if(l.length){if(i.offsetOverride){i.offsetOverride=void 0,this.renderFrame=requestAnimationFrame(()=>this.setStateDirty(void 0));return}if(i.preserveItems){if(i.preserveItems=!1,this.focusFrame=requestAnimationFrame(()=>{le(s,c=>{Re(c).forEach(c.getAttribute("aria-hidden")!=="true"?m=>m.hasAttribute("data-carousel-tabindex")?m.setAttribute("tabindex",m.getAttribute("data-carousel-tabindex")??"-1"):m.removeAttribute("tabindex"):m=>m.setAttribute("tabindex","-1"))})}),i.nativeScrolling)if(this.skipScrolling)this.emitUpdate();else{const c=this.getOffset(t);c!==s.scrollLeft?(i.scrollTransitioning=!0,this.cancelScrollTransition=H(s,c,this.emitUpdate.bind(this))):this.isMoving&&(i.scrollTransitioning=!0,this.cancelScrollTransition=H(s,this.getOffset(t),this.emitUpdate.bind(this)))}if(e&&!o&&!d){const c=this.move.bind(this,X);this.autoplayTimeout=setTimeout(()=>{if(this.isMoving)return this.once("move",c);c()},e)}return}this.renderFrame=requestAnimationFrame(()=>{const{width:c}=a.getBoundingClientRect(),{left:m}=s.firstElementChild.getBoundingClientRect();this.setStateDirty("slideWidth",c),i.preserveItems=!0,i.nativeScrolling=oe(s),le(s,(y,p)=>{const u=l[p],{left:b,right:x}=y.getBoundingClientRect();u.left=b-m,u.right=x-m})})}}}function oe(r){return getComputedStyle(r).overflowX!=="visible"}function le(r,a){let s=0,t=r.firstElementChild;for(;t;)a(t,s++),t=t.nextElementSibling}const J="UwAhZWoh",E=v(J),k=E;w.r(J,()=>E);const _e=Ge;E._=C(function(r,a,s,t,i,l){var e=t.getTemplateData(i),o=e.config;a.be("div",ne(e.htmlAttributes,{class:B(e.classes),style:Z(e.style),"aria-roledescription":e.ariaRoleDescription,role:"group"}),"0",t,null,4),a.be("div",{class:B(["carousel__container",e.bothControlsDisabled&&"carousel__container--controls-disabled"]),id:s.elId("container")},"@container",t,null,1,{onfocusin:s.d("focusin",!!e.autoplayInterval&&"handleStartInteraction",!1),ontouchstart:s.d("touchstart",!!e.autoplayInterval&&"handleStartInteraction",!1),onmouseover:s.d("mouseover",!!e.autoplayInterval&&"handleStartInteraction",!1),onfocusout:s.d("focusout",!!e.autoplayInterval&&"handleEndInteraction",!1),onmouseout:s.d("mouseout",!!e.autoplayInterval&&"handleEndInteraction",!1),ontouchend:s.d("touchend",!!e.autoplayInterval&&"handleEndInteraction",!1)}),a.be("button",{class:"carousel__control carousel__control--prev",type:"button","aria-label":e.a11yPreviousText,"aria-disabled":e.prevControlDisabled&&"true"},"1",t,null,0,{onclick:s.d("click",!e.prevControlDisabled&&"handleMove",!1,[-1])}),g(ze,{},a,s,"2"),a.ee(),a.be("div",{class:B(["carousel__viewport",!e.itemsPerSlide&&!e.nextControlDisabled&&!e.autoplayInterval&&"carousel__viewport--mask"])},"3",t,null,1),a.be("ul",{class:B(["carousel__list",r.imageTreatment==="matte"&&"carousel__list--image-treatment"]),style:Z(!o.nativeScrolling&&!!e.offset&&{transform:"translate3d("+e.offset*-1+"px,0,0)",transition:e.disableTransition?"none":void 0}),id:s.elId("list")},"@list",t,null,1);for(const d of e.items||[]){const c=`@${d.key}`,m=`[${c}]`;a.be("li",ne(d.htmlAttributes,{class:B(d.class),style:Z(d.style),"aria-hidden":!d.fullyVisible&&"true"}),c,t,null,4),g(Ne,{n:!0,b:!0,i:!!o.preserveItems,renderBody:y=>{Fe(y,d.renderBody,null,null,null,null,s,"4"+m)}},a,s,c),a.ee()}a.ee(),a.ee(),a.be("button",{class:"carousel__control carousel__control--next",type:"button","aria-label":e.a11yNextText,"aria-disabled":e.nextControlDisabled&&"true",id:s.elId("next")},"@next",t,null,0,{onclick:s.d("click",!e.nextControlDisabled&&"handleMove",!1,[1])}),g(je,{},a,s,"5"),a.ee(),e.autoplayInterval&&!e.bothControlsDisabled&&(a.be("button",{type:"button","aria-label":e.paused?e.a11yPlayText:e.a11yPauseText,class:"carousel__playback"},"6",t,null,0,{onclick:s.d("click","togglePlay",!1)}),e.paused?g(Le,{},a,s,"7"):g(Ve,{},a,s,"8"),a.ee()),a.ee(),a.ee()},{t:J},_e);E.Component=T(_e,E._);const Xe=`

ebay-carousel diff --git a/docs/assets/character-count.stories-BrVViusA.js b/docs/assets/character-count.stories-CeyEUXuv.js similarity index 99% rename from docs/assets/character-count.stories-BrVViusA.js rename to docs/assets/character-count.stories-CeyEUXuv.js index 6154b609d..162b1e4f8 100644 --- a/docs/assets/character-count.stories-BrVViusA.js +++ b/docs/assets/character-count.stories-CeyEUXuv.js @@ -1,4 +1,4 @@ -import{b as S,a as O}from"./utils-DWCsNc5l.js";import{t as j}from"./index-CCz6reEH.js";import{t as b,r as g,b as _,h as z,p as U,d as y,f as W}from"./registry-B-klnak9.js";import{_ as Y}from"./dynamic-tag-DQCvkDdb.js";import{_ as f}from"./const-element-Usj7mXQw.js";import{C as D}from"./index-Q81l85Tz.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */const G=`

+import{b as S,a as O}from"./utils-DWCsNc5l.js";import{t as j}from"./index-CCz6reEH.js";import{t as b,r as g,b as _,h as z,p as U,d as y,f as W}from"./registry-B-klnak9.js";import{_ as Y}from"./dynamic-tag-DQCvkDdb.js";import{_ as f}from"./const-element-Usj7mXQw.js";import{C as D}from"./index-Bg1Oh5yv.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */const G=`

ebay-character-count diff --git a/docs/assets/checkbox.stories-8TbjfxFR.js b/docs/assets/checkbox.stories-BemY1PwC.js similarity index 98% rename from docs/assets/checkbox.stories-8TbjfxFR.js rename to docs/assets/checkbox.stories-BemY1PwC.js index e209a5caf..b13cbd7e4 100644 --- a/docs/assets/checkbox.stories-8TbjfxFR.js +++ b/docs/assets/checkbox.stories-BemY1PwC.js @@ -1,4 +1,4 @@ -import{t as H}from"./index-CCz6reEH.js";import{_ as m}from"./index-D11s4y-0.js";import{r as u,b as f,d as _,t as g}from"./registry-B-klnak9.js";import{_ as h}from"./const-element-Usj7mXQw.js";import{_ as k}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-Bgyy39_y.js";import"./index-C98gAawF.js";/* empty css */import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const K=`

+import{t as H}from"./index-CCz6reEH.js";import{_ as m}from"./index-CbaZ7o5m.js";import{r as u,b as f,d as _,t as g}from"./registry-B-klnak9.js";import{_ as h}from"./const-element-Usj7mXQw.js";import{_ as k}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-BQLO4xjX.js";import"./index-Bd083XES.js";/* empty css */import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const K=`

ebay-checkbox diff --git a/docs/assets/chip.stories-DLabUXub.js b/docs/assets/chip.stories-CvR3JuRW.js similarity index 91% rename from docs/assets/chip.stories-DLabUXub.js rename to docs/assets/chip.stories-CvR3JuRW.js index a8df55521..49b7a49a9 100644 --- a/docs/assets/chip.stories-DLabUXub.js +++ b/docs/assets/chip.stories-CvR3JuRW.js @@ -1,4 +1,4 @@ -import{t as p}from"./index-CCz6reEH.js";import{a as m}from"./utils-DWCsNc5l.js";import{_ as l}from"./index-CFv8pSY5.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-E-BXye7-.js";import"./index-C98gAawF.js";/* empty css */import"./render-tag-BBOJ9dEX.js";import"./empty-component-BCB5DEsP.js";const u=`

+import{t as p}from"./index-CCz6reEH.js";import{a as m}from"./utils-DWCsNc5l.js";import{_ as l}from"./index-bYbd3THS.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-D0vg5q8t.js";import"./index-Bd083XES.js";/* empty css */import"./render-tag-BBOJ9dEX.js";import"./empty-component-BCB5DEsP.js";const u=`

ebay-chip diff --git a/docs/assets/chips-combobox.stories-IVlh6RM4.js b/docs/assets/chips-combobox.stories-ukC5ohww.js similarity index 96% rename from docs/assets/chips-combobox.stories-IVlh6RM4.js rename to docs/assets/chips-combobox.stories-ukC5ohww.js index a4bd99b0b..b6a6c5396 100644 --- a/docs/assets/chips-combobox.stories-IVlh6RM4.js +++ b/docs/assets/chips-combobox.stories-ukC5ohww.js @@ -1,4 +1,4 @@ -import{b as z}from"./utils-DWCsNc5l.js";import{t as u,r as x,b as f,f as F,d as y}from"./registry-B-klnak9.js";import{_ as G}from"./index-CFv8pSY5.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{i as _,r as n}from"./attr-tag-DphMQldM.js";import{C as J}from"./index-BGEIR460.js";import{c as L}from"./index-blmbJU0z.js";import{_ as B}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-E-BXye7-.js";import"./index-C98gAawF.js";/* empty css *//* empty css */import"./index-htxwKVWG.js";import"./index-ClSYtjPE.js";import"./index-BJBnaEG2.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";const N=`

+import{b as z}from"./utils-DWCsNc5l.js";import{t as u,r as x,b as f,f as F,d as y}from"./registry-B-klnak9.js";import{_ as G}from"./index-bYbd3THS.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{i as _,r as n}from"./attr-tag-DphMQldM.js";import{C as J}from"./index-DM9aGRhG.js";import{c as L}from"./index-blmbJU0z.js";import{_ as B}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-D0vg5q8t.js";import"./index-Bd083XES.js";/* empty css *//* empty css */import"./index-htxwKVWG.js";import"./index-CL0domC_.js";import"./index-BrKjH8jr.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";const N=`

ebay-combobox diff --git a/docs/assets/chunk-HLWAVYOI-BpJ_6HfN.js b/docs/assets/chunk-HLWAVYOI-uH84A_5y.js similarity index 99% rename from docs/assets/chunk-HLWAVYOI-BpJ_6HfN.js rename to docs/assets/chunk-HLWAVYOI-uH84A_5y.js index 229d39659..7b056e8b9 100644 --- a/docs/assets/chunk-HLWAVYOI-BpJ_6HfN.js +++ b/docs/assets/chunk-HLWAVYOI-uH84A_5y.js @@ -1,5 +1,5 @@ -const __vite__fileDeps=["./syntaxhighlighter-BP7B2CQK-mNPC06KD.js","./iframe-C5f-bDcb.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js","./formatter-2WMMO6ZP-DV8-7Mbc.js","./WithTooltip-KJL26V4Q-DZNYmY_Y.js","./Color-PRSJMWNM-CZDuGoU4.js","./index-eT7HiqpQ.js","./index-ClCifLxd.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as ar}from"./iframe-C5f-bDcb.js";import{g as Zo}from"./_commonjsHelpers-Cpj98o6Y.js";import{c as Nl}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{b as ur,c as Dh,d as Q0,f as Hh,g as T3,h as Uh,j as J0,k as M3,l as L3,m as Cs,n as ed,i as wl,a as Vh,o as $3,p as P3,q as z3,r as N3,s as B3,t as F3,u as Wh,v as j3,w as D3,_ as H3,x as U3,y as V3,z as Gh,A as qh,B as Rf,S as hc}from"./index-ChWP2N81.js";import{d as W3}from"./index-DrFu-skq.js";function G3(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Kh={exports:{}},Rs={},Yh={exports:{}},X={};/** +const __vite__fileDeps=["./syntaxhighlighter-BP7B2CQK-CL11jmiR.js","./iframe-C-4hqhip.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js","./formatter-2WMMO6ZP-B1pc-0xA.js","./WithTooltip-KJL26V4Q-BIs0JtpI.js","./Color-PRSJMWNM-DiURJJNj.js","./index-D4_ppHOJ.js","./index-C0ZlcG9W.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as ar}from"./iframe-C-4hqhip.js";import{g as Zo}from"./_commonjsHelpers-Cpj98o6Y.js";import{c as Nl}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{b as ur,c as Dh,d as Q0,f as Hh,g as T3,h as Uh,j as J0,k as M3,l as L3,m as Cs,n as ed,i as wl,a as Vh,o as $3,p as P3,q as z3,r as N3,s as B3,t as F3,u as Wh,v as j3,w as D3,_ as H3,x as U3,y as V3,z as Gh,A as qh,B as Rf,S as hc}from"./index-ChWP2N81.js";import{d as W3}from"./index-DrFu-skq.js";function G3(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Kh={exports:{}},Rs={},Yh={exports:{}},X={};/** * @license React * react.production.min.js * @@ -448,9 +448,9 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function BA(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),l=1;l=0&&o<1?(s=a,c=l):o>=1&&o<2?(s=l,c=a):o>=2&&o<3?(c=a,u=l):o>=3&&o<4?(c=l,u=a):o>=4&&o<5?(s=l,u=a):o>=5&&o<6&&(s=a,u=l);var d=n-a/2,h=s+d,p=c+d,f=u+d;return r(h,p,f)}var P5={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function jA(e){if(typeof e!="string")return e;var t=e.toLowerCase();return P5[t]?"#"+P5[t]:e}var DA=/^#[a-fA-F0-9]{6}$/,HA=/^#[a-fA-F0-9]{8}$/,UA=/^#[a-fA-F0-9]{3}$/,VA=/^#[a-fA-F0-9]{4}$/,iu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,WA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,GA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,qA=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function B1(e){if(typeof e!="string")throw new cn(3);var t=jA(e);if(t.match(DA))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(HA)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(UA))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(VA)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=iu.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=WA.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=GA.exec(t);if(l){var s=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,u=parseInt(""+l[3],10)/100,d="rgb("+ml(s,c,u)+")",h=iu.exec(d);if(!h)throw new cn(4,t,d);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=qA.exec(t.substring(0,50));if(p){var f=parseInt(""+p[1],10),y=parseInt(""+p[2],10)/100,g=parseInt(""+p[3],10)/100,S="rgb("+ml(f,y,g)+")",b=iu.exec(S);if(!b)throw new cn(4,t,S);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new cn(5)}function KA(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),a=Math.min(t,n,r),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var s,c=o-a,u=l>.5?c/(2-o-a):c/(o+a);switch(o){case t:s=(n-r)/c+(n=1?ws(e,t,n):"rgba("+ml(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?ws(e.hue,e.saturation,e.lightness):"rgba("+ml(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new cn(2)}function N0(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return z0("#"+Rr(e)+Rr(t)+Rr(n));if(typeof e=="object"&&t===void 0&&n===void 0)return z0("#"+Rr(e.red)+Rr(e.green)+Rr(e.blue));throw new cn(6)}function bs(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var o=B1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?N0(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?N0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new cn(7)}var JA=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},eO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},tO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},nO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function h4(e){if(typeof e!="object")throw new cn(8);if(eO(e))return bs(e);if(JA(e))return N0(e);if(nO(e))return QA(e);if(tO(e))return ZA(e);throw new cn(8)}function m4(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):m4(e,t,r)}}function F1(e){return m4(e,e.length,[])}function j1(e,t,n){return Math.max(e,Math.min(t,n))}function rO(e,t){if(t==="transparent")return t;var n=p4(t);return h4(ne({},n,{lightness:j1(0,1,n.lightness-parseFloat(e))}))}var oO=F1(rO),Ro=oO;function aO(e,t){if(t==="transparent")return t;var n=p4(t);return h4(ne({},n,{lightness:j1(0,1,n.lightness+parseFloat(e))}))}var lO=F1(aO),z5=lO;function iO(e,t){if(t==="transparent")return t;var n=B1(t),r=typeof n.alpha=="number"?n.alpha:1,o=ne({},n,{alpha:j1(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return bs(o)}var sO=F1(iO),Et=sO,ra=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),$n=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Et(.1,e.color.defaultText):Et(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),ve=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Jr={margin:"16px 0"},cO=({href:e,...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,r=/^#.*/.test(e)?"_self":"_top";return m.createElement("a",{href:n,target:r,...t})},g4=k(cO)(ve,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),v4=k.blockquote(ve,Jr,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),uO=e=>typeof e=="string",dO=/[\n\r]/g,fO=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),$n),pO=k(g1)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),D1=({className:e,children:t,...n})=>{let r=(e||"").match(/lang-(\S+)/),o=i.Children.toArray(t);return o.filter(uO).some(a=>a.match(dO))?m.createElement(pO,{bordered:!0,copyable:!0,language:(r==null?void 0:r[1])??"text",format:!1,...n},t):m.createElement(fO,{...n,className:e},o)},y4=k.div(ve),w4=k.dl(ve,Jr,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),b4=k.h1(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),H1=k.h2(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),U1=k.h3(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),E4=k.h4(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),x4=k.h5(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),S4=k.h6(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),C4=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),R4=k.img({maxWidth:"100%"}),_4=k.li(ve,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":$n({theme:e})})),hO={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},k4=k.ol(ve,Jr,hO,{listStyle:"decimal"}),I4=k.p(ve,Jr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":$n({theme:e})})),A4=k.pre(ve,Jr,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),O4=k.span(ve,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),T4=k.table(ve,Jr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),M4=k.title($n),mO={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},L4=k.ul(ve,Jr,mO,{listStyle:"disc"}),V1=k.div(ve),$4={h1:e=>m.createElement(b4,{...fe(e,"h1")}),h2:e=>m.createElement(H1,{...fe(e,"h2")}),h3:e=>m.createElement(U1,{...fe(e,"h3")}),h4:e=>m.createElement(E4,{...fe(e,"h4")}),h5:e=>m.createElement(x4,{...fe(e,"h5")}),h6:e=>m.createElement(S4,{...fe(e,"h6")}),pre:e=>m.createElement(A4,{...fe(e,"pre")}),a:e=>m.createElement(g4,{...fe(e,"a")}),hr:e=>m.createElement(C4,{...fe(e,"hr")}),dl:e=>m.createElement(w4,{...fe(e,"dl")}),blockquote:e=>m.createElement(v4,{...fe(e,"blockquote")}),table:e=>m.createElement(T4,{...fe(e,"table")}),img:e=>m.createElement(R4,{...fe(e,"img")}),div:e=>m.createElement(y4,{...fe(e,"div")}),span:e=>m.createElement(O4,{...fe(e,"span")}),li:e=>m.createElement(_4,{...fe(e,"li")}),ul:e=>m.createElement(L4,{...fe(e,"ul")}),ol:e=>m.createElement(k4,{...fe(e,"ol")}),p:e=>m.createElement(I4,{...fe(e,"p")}),code:e=>m.createElement(D1,{...fe(e,"code")}),tt:e=>m.createElement(M4,{...fe(e,"tt")}),resetwrapper:e=>m.createElement(V1,{...fe(e,"resetwrapper")})},gO=k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.positiveText)}`:"none"};default:return{}}}),vO=({...e})=>m.createElement(gO,{...e}),yO=0,wO=e=>e.button===yO&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,bO=(e,t)=>{wO(e)&&(e.preventDefault(),t(e))},EO=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),xO=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Ro(.07,e.color.secondary),"svg path:not([fill])":{fill:Ro(.07,e.color.secondary)}},"&:active":{color:Ro(.1,e.color.secondary),"svg path:not([fill])":{fill:Ro(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let r;return t&&(r=[e.textMutedColor,e.color.dark,e.color.darker]),n&&(r=[e.color.dark,e.color.darkest,e.textMutedColor]),r?{color:r[0],"svg path:not([fill])":{fill:r[0]},"&:hover":{color:r[1],"svg path:not([fill])":{fill:r[1]}},"&:active":{color:r[2],"svg path:not([fill])":{fill:r[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Br=({cancel:e=!0,children:t,onClick:n=void 0,withArrow:r=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...s})=>m.createElement(xO,{...s,onClick:n&&e?c=>bO(c,n):n,className:a},m.createElement(EO,{withArrow:r,containsIcon:o},t,r&&m.createElement(C1,null))),SO=k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),Fr=[],Ko=null,CO=i.lazy(async()=>{let{SyntaxHighlighter:e}=await ar(()=>import("./syntaxhighlighter-BP7B2CQK-mNPC06KD.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return Fr.length>0&&(Fr.forEach(t=>{e.registerLanguage(...t)}),Fr=[]),Ko===null&&(Ko=e),{default:t=>m.createElement(e,{...t})}}),RO=i.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([ar(()=>import("./syntaxhighlighter-BP7B2CQK-mNPC06KD.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),ar(()=>import("./formatter-2WMMO6ZP-DV8-7Mbc.js"),__vite__mapDeps([6,1,2,3,4,5]),import.meta.url)]);return Fr.length>0&&(Fr.forEach(n=>{e.registerLanguage(...n)}),Fr=[]),Ko===null&&(Ko=e),{default:n=>m.createElement(e,{...n,formatter:t})}}),rc=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},e.format!==!1?m.createElement(RO,{...e}):m.createElement(CO,{...e}));rc.registerLanguage=(...e)=>{if(Ko!==null){Ko.registerLanguage(...e);return}Fr.push(e)};var P4={};Z8(P4,{Actions:()=>LO,CloseButton:()=>F4,Col:()=>D4,Container:()=>B4,Content:()=>AO,Description:()=>MO,Error:()=>$O,ErrorWrapper:()=>H4,Header:()=>OO,Overlay:()=>N4,Row:()=>j4,Title:()=>TO});var mr=i.forwardRef(({asChild:e=!1,animation:t="none",size:n="small",variant:r="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:s,...c},u)=>{let d="button";c.isLink&&(d="a"),e&&(d=kl);let h=r,p=n,[f,y]=i.useState(!1),g=S=>{s&&s(S),t!=="none"&&y(!0)};if(i.useEffect(()=>{let S=setTimeout(()=>{f&&y(!1)},1e3);return()=>clearTimeout(S)},[f]),c.primary&&(h="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(h="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let S=m.Children.toArray(c.children).filter(b=>typeof b=="string"&&b!=="");d4(`Use of deprecated props in the button ${S.length>0?`"${S.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return m.createElement(_O,{as:d,ref:u,variant:h,size:p,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...c})});mr.displayName="Button";var _O=k("button",{shouldForwardProp:e=>Zd(e)})(({theme:e,variant:t,size:n,disabled:r,active:o,animating:a,animation:l,padding:s})=>({border:0,cursor:r?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&n==="small"?"0 7px":s==="small"&&n==="medium"?"0 9px":n==="small"?"0 10px":n==="medium"?"0 12px":0,height:n==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:r?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Et(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Et(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Et(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${bs(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Et(.86,e.color.secondary):e.base==="light"?Ro(.02,c):z5(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Ro(.02,c):z5(.03,c)})()},"&:focus":{boxShadow:`${bs(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),or=i.forwardRef(({padding:e="small",variant:t="ghost",...n},r)=>m.createElement(mr,{padding:e,variant:t,ref:r,...n}));or.displayName="IconButton";var z4=Tn({from:{opacity:0},to:{opacity:1}}),kO=Tn({from:{maxHeight:0},to:{}}),IO=Tn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),N4=k.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${z4} 200ms`}),B4=k.div(({theme:e,width:t,height:n})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:n??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${IO} 200ms`,"&:focus-visible":{outline:"none"}})),F4=e=>m.createElement(i4,{asChild:!0},m.createElement(or,{...e},m.createElement(_2,null))),AO=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),j4=k.div({display:"flex",justifyContent:"space-between",gap:16}),D4=k.div({display:"flex",flexDirection:"column",gap:4}),OO=e=>m.createElement(j4,null,m.createElement(D4,{...e}),m.createElement(F4,null)),TO=k(a4)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),MO=k(l4)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),LO=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),H4=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${kO} 300ms, ${z4} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),$O=({children:e,...t})=>m.createElement(H4,{...t},m.createElement("div",null,e));function PO({children:e,width:t,height:n,onEscapeKeyDown:r,onInteractOutside:o=c=>c.preventDefault(),className:a,container:l,...s}){return m.createElement(t4,{...s},m.createElement(n4,{container:l},m.createElement(r4,{asChild:!0},m.createElement(N4,null)),m.createElement(o4,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:r},m.createElement(B4,{className:a,width:t,height:n},e))))}var zO=Object.assign(PO,P4,{Dialog:wA}),NO=e=>typeof e=="number"?e:Number(e),BO=k.div(({theme:e,col:t,row:n=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${R0}`]:{marginLeft:0}}:{"& > *":{marginTop:n*e.layoutMargin},[`& > *:first-child${R0}`]:{marginTop:0}},({theme:e,outer:t,col:n,row:r})=>{switch(!0){case!!(t&&n):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&r):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),FO=({col:e,row:t,outer:n,children:r,...o})=>{let a=NO(typeof n=="number"||!n?n:e||t);return m.createElement(BO,{col:e,row:t,outer:a,...o},r)},jO=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),DO=k.div(),HO=k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),UO=({children:e,...t})=>{let[n,r]=i.Children.toArray(e);return m.createElement(HO,{...t},m.createElement(jO,null,n),r&&m.createElement(DO,null,r))};function VO(e,t){var n=i.useRef(null),r=i.useRef(null);r.current=t;var o=i.useRef(null);i.useEffect(function(){a()});var a=i.useCallback(function(){var l=o.current,s=r.current,c=l||(s?s instanceof Element?s:s.current:null);n.current&&n.current.element===c&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return i.useEffect(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),i.useCallback(function(l){o.current=l,a()},[a])}function N5(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t==="contentBoxSize"?e.contentRect[n==="inlineSize"?"width":"height"]:void 0}function U4(e){e===void 0&&(e={});var t=e.onResize,n=i.useRef(void 0);n.current=t;var r=e.round||Math.round,o=i.useRef(),a=i.useState({width:void 0,height:void 0}),l=a[0],s=a[1],c=i.useRef(!1);i.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=i.useRef({width:void 0,height:void 0}),d=VO(i.useCallback(function(h){return(!o.current||o.current.box!==e.box||o.current.round!==r)&&(o.current={box:e.box,round:r,instance:new ResizeObserver(function(p){var f=p[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=N5(f,y,"inlineSize"),S=N5(f,y,"blockSize"),b=g?r(g):void 0,v=S?r(S):void 0;if(u.current.width!==b||u.current.height!==v){var w={width:b,height:v};u.current.width=b,u.current.height=v,n.current?n.current(w):c.current||s(w)}})}),o.current.instance.observe(h,{box:e.box}),function(){o.current&&o.current.instance.unobserve(h)}},[e.box,r]),e.ref);return i.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}var WO=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function GO({scale:e,children:t}){let n=i.useRef(null),[r,o]=i.useState(0),a=i.useCallback(({height:l})=>{l&&o(l/e)},[e]);return i.useEffect(()=>{n.current&&o(n.current.getBoundingClientRect().height)},[e]),U4({ref:n,onResize:a}),m.createElement(WO,{scale:e,elementHeight:r},m.createElement("div",{ref:n,className:"innerZoomElementWrapper"},t))}var qO=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:n}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),n!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return m.createElement(m.Fragment,null,e)}},V4={Element:GO,IFrame:qO},{document:KO}=MA,YO=k.strong(({theme:e})=>({color:e.color.orange})),XO=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),B5=k.em(({theme:e})=>({color:e.textMutedColor})),ZO=/(Error): (.*)\n/,QO=/at (?:(.*) )?\(?(.+)\)?/,JO=/([^@]+)?(?:\/<)?@(.+)?/,eT=/([^@]+)?@(.+)?/,W4=({error:e})=>{if(!e)return m.createElement(i.Fragment,null,"This error has no stack or message");if(!e.stack)return m.createElement(i.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +`};function BA(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),l=1;l=0&&o<1?(s=a,c=l):o>=1&&o<2?(s=l,c=a):o>=2&&o<3?(c=a,u=l):o>=3&&o<4?(c=l,u=a):o>=4&&o<5?(s=l,u=a):o>=5&&o<6&&(s=a,u=l);var d=n-a/2,h=s+d,p=c+d,f=u+d;return r(h,p,f)}var P5={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function jA(e){if(typeof e!="string")return e;var t=e.toLowerCase();return P5[t]?"#"+P5[t]:e}var DA=/^#[a-fA-F0-9]{6}$/,HA=/^#[a-fA-F0-9]{8}$/,UA=/^#[a-fA-F0-9]{3}$/,VA=/^#[a-fA-F0-9]{4}$/,iu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,WA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,GA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,qA=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function B1(e){if(typeof e!="string")throw new cn(3);var t=jA(e);if(t.match(DA))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(HA)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(UA))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(VA)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=iu.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=WA.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=GA.exec(t);if(l){var s=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,u=parseInt(""+l[3],10)/100,d="rgb("+ml(s,c,u)+")",h=iu.exec(d);if(!h)throw new cn(4,t,d);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=qA.exec(t.substring(0,50));if(p){var f=parseInt(""+p[1],10),y=parseInt(""+p[2],10)/100,g=parseInt(""+p[3],10)/100,S="rgb("+ml(f,y,g)+")",b=iu.exec(S);if(!b)throw new cn(4,t,S);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new cn(5)}function KA(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),a=Math.min(t,n,r),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var s,c=o-a,u=l>.5?c/(2-o-a):c/(o+a);switch(o){case t:s=(n-r)/c+(n=1?ws(e,t,n):"rgba("+ml(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?ws(e.hue,e.saturation,e.lightness):"rgba("+ml(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new cn(2)}function N0(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return z0("#"+Rr(e)+Rr(t)+Rr(n));if(typeof e=="object"&&t===void 0&&n===void 0)return z0("#"+Rr(e.red)+Rr(e.green)+Rr(e.blue));throw new cn(6)}function bs(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var o=B1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?N0(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?N0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new cn(7)}var JA=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},eO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},tO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},nO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function h4(e){if(typeof e!="object")throw new cn(8);if(eO(e))return bs(e);if(JA(e))return N0(e);if(nO(e))return QA(e);if(tO(e))return ZA(e);throw new cn(8)}function m4(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):m4(e,t,r)}}function F1(e){return m4(e,e.length,[])}function j1(e,t,n){return Math.max(e,Math.min(t,n))}function rO(e,t){if(t==="transparent")return t;var n=p4(t);return h4(ne({},n,{lightness:j1(0,1,n.lightness-parseFloat(e))}))}var oO=F1(rO),Ro=oO;function aO(e,t){if(t==="transparent")return t;var n=p4(t);return h4(ne({},n,{lightness:j1(0,1,n.lightness+parseFloat(e))}))}var lO=F1(aO),z5=lO;function iO(e,t){if(t==="transparent")return t;var n=B1(t),r=typeof n.alpha=="number"?n.alpha:1,o=ne({},n,{alpha:j1(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return bs(o)}var sO=F1(iO),Et=sO,ra=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),$n=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Et(.1,e.color.defaultText):Et(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),ve=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Jr={margin:"16px 0"},cO=({href:e,...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,r=/^#.*/.test(e)?"_self":"_top";return m.createElement("a",{href:n,target:r,...t})},g4=k(cO)(ve,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),v4=k.blockquote(ve,Jr,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),uO=e=>typeof e=="string",dO=/[\n\r]/g,fO=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),$n),pO=k(g1)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),D1=({className:e,children:t,...n})=>{let r=(e||"").match(/lang-(\S+)/),o=i.Children.toArray(t);return o.filter(uO).some(a=>a.match(dO))?m.createElement(pO,{bordered:!0,copyable:!0,language:(r==null?void 0:r[1])??"text",format:!1,...n},t):m.createElement(fO,{...n,className:e},o)},y4=k.div(ve),w4=k.dl(ve,Jr,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),b4=k.h1(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),H1=k.h2(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),U1=k.h3(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),E4=k.h4(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),x4=k.h5(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),S4=k.h6(ve,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),C4=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),R4=k.img({maxWidth:"100%"}),_4=k.li(ve,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":$n({theme:e})})),hO={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},k4=k.ol(ve,Jr,hO,{listStyle:"decimal"}),I4=k.p(ve,Jr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":$n({theme:e})})),A4=k.pre(ve,Jr,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),O4=k.span(ve,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),T4=k.table(ve,Jr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),M4=k.title($n),mO={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},L4=k.ul(ve,Jr,mO,{listStyle:"disc"}),V1=k.div(ve),$4={h1:e=>m.createElement(b4,{...fe(e,"h1")}),h2:e=>m.createElement(H1,{...fe(e,"h2")}),h3:e=>m.createElement(U1,{...fe(e,"h3")}),h4:e=>m.createElement(E4,{...fe(e,"h4")}),h5:e=>m.createElement(x4,{...fe(e,"h5")}),h6:e=>m.createElement(S4,{...fe(e,"h6")}),pre:e=>m.createElement(A4,{...fe(e,"pre")}),a:e=>m.createElement(g4,{...fe(e,"a")}),hr:e=>m.createElement(C4,{...fe(e,"hr")}),dl:e=>m.createElement(w4,{...fe(e,"dl")}),blockquote:e=>m.createElement(v4,{...fe(e,"blockquote")}),table:e=>m.createElement(T4,{...fe(e,"table")}),img:e=>m.createElement(R4,{...fe(e,"img")}),div:e=>m.createElement(y4,{...fe(e,"div")}),span:e=>m.createElement(O4,{...fe(e,"span")}),li:e=>m.createElement(_4,{...fe(e,"li")}),ul:e=>m.createElement(L4,{...fe(e,"ul")}),ol:e=>m.createElement(k4,{...fe(e,"ol")}),p:e=>m.createElement(I4,{...fe(e,"p")}),code:e=>m.createElement(D1,{...fe(e,"code")}),tt:e=>m.createElement(M4,{...fe(e,"tt")}),resetwrapper:e=>m.createElement(V1,{...fe(e,"resetwrapper")})},gO=k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Et(.9,e.color.positiveText)}`:"none"};default:return{}}}),vO=({...e})=>m.createElement(gO,{...e}),yO=0,wO=e=>e.button===yO&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,bO=(e,t)=>{wO(e)&&(e.preventDefault(),t(e))},EO=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),xO=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Ro(.07,e.color.secondary),"svg path:not([fill])":{fill:Ro(.07,e.color.secondary)}},"&:active":{color:Ro(.1,e.color.secondary),"svg path:not([fill])":{fill:Ro(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let r;return t&&(r=[e.textMutedColor,e.color.dark,e.color.darker]),n&&(r=[e.color.dark,e.color.darkest,e.textMutedColor]),r?{color:r[0],"svg path:not([fill])":{fill:r[0]},"&:hover":{color:r[1],"svg path:not([fill])":{fill:r[1]}},"&:active":{color:r[2],"svg path:not([fill])":{fill:r[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Br=({cancel:e=!0,children:t,onClick:n=void 0,withArrow:r=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...s})=>m.createElement(xO,{...s,onClick:n&&e?c=>bO(c,n):n,className:a},m.createElement(EO,{withArrow:r,containsIcon:o},t,r&&m.createElement(C1,null))),SO=k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),Fr=[],Ko=null,CO=i.lazy(async()=>{let{SyntaxHighlighter:e}=await ar(()=>import("./syntaxhighlighter-BP7B2CQK-CL11jmiR.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return Fr.length>0&&(Fr.forEach(t=>{e.registerLanguage(...t)}),Fr=[]),Ko===null&&(Ko=e),{default:t=>m.createElement(e,{...t})}}),RO=i.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([ar(()=>import("./syntaxhighlighter-BP7B2CQK-CL11jmiR.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),ar(()=>import("./formatter-2WMMO6ZP-B1pc-0xA.js"),__vite__mapDeps([6,1,2,3,4,5]),import.meta.url)]);return Fr.length>0&&(Fr.forEach(n=>{e.registerLanguage(...n)}),Fr=[]),Ko===null&&(Ko=e),{default:n=>m.createElement(e,{...n,formatter:t})}}),rc=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},e.format!==!1?m.createElement(RO,{...e}):m.createElement(CO,{...e}));rc.registerLanguage=(...e)=>{if(Ko!==null){Ko.registerLanguage(...e);return}Fr.push(e)};var P4={};Z8(P4,{Actions:()=>LO,CloseButton:()=>F4,Col:()=>D4,Container:()=>B4,Content:()=>AO,Description:()=>MO,Error:()=>$O,ErrorWrapper:()=>H4,Header:()=>OO,Overlay:()=>N4,Row:()=>j4,Title:()=>TO});var mr=i.forwardRef(({asChild:e=!1,animation:t="none",size:n="small",variant:r="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:s,...c},u)=>{let d="button";c.isLink&&(d="a"),e&&(d=kl);let h=r,p=n,[f,y]=i.useState(!1),g=S=>{s&&s(S),t!=="none"&&y(!0)};if(i.useEffect(()=>{let S=setTimeout(()=>{f&&y(!1)},1e3);return()=>clearTimeout(S)},[f]),c.primary&&(h="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(h="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let S=m.Children.toArray(c.children).filter(b=>typeof b=="string"&&b!=="");d4(`Use of deprecated props in the button ${S.length>0?`"${S.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return m.createElement(_O,{as:d,ref:u,variant:h,size:p,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...c})});mr.displayName="Button";var _O=k("button",{shouldForwardProp:e=>Zd(e)})(({theme:e,variant:t,size:n,disabled:r,active:o,animating:a,animation:l,padding:s})=>({border:0,cursor:r?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&n==="small"?"0 7px":s==="small"&&n==="medium"?"0 9px":n==="small"?"0 10px":n==="medium"?"0 12px":0,height:n==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:r?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Et(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Et(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Et(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${bs(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Et(.86,e.color.secondary):e.base==="light"?Ro(.02,c):z5(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Ro(.02,c):z5(.03,c)})()},"&:focus":{boxShadow:`${bs(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),or=i.forwardRef(({padding:e="small",variant:t="ghost",...n},r)=>m.createElement(mr,{padding:e,variant:t,ref:r,...n}));or.displayName="IconButton";var z4=Tn({from:{opacity:0},to:{opacity:1}}),kO=Tn({from:{maxHeight:0},to:{}}),IO=Tn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),N4=k.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${z4} 200ms`}),B4=k.div(({theme:e,width:t,height:n})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:n??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${IO} 200ms`,"&:focus-visible":{outline:"none"}})),F4=e=>m.createElement(i4,{asChild:!0},m.createElement(or,{...e},m.createElement(_2,null))),AO=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),j4=k.div({display:"flex",justifyContent:"space-between",gap:16}),D4=k.div({display:"flex",flexDirection:"column",gap:4}),OO=e=>m.createElement(j4,null,m.createElement(D4,{...e}),m.createElement(F4,null)),TO=k(a4)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),MO=k(l4)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),LO=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),H4=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${kO} 300ms, ${z4} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),$O=({children:e,...t})=>m.createElement(H4,{...t},m.createElement("div",null,e));function PO({children:e,width:t,height:n,onEscapeKeyDown:r,onInteractOutside:o=c=>c.preventDefault(),className:a,container:l,...s}){return m.createElement(t4,{...s},m.createElement(n4,{container:l},m.createElement(r4,{asChild:!0},m.createElement(N4,null)),m.createElement(o4,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:r},m.createElement(B4,{className:a,width:t,height:n},e))))}var zO=Object.assign(PO,P4,{Dialog:wA}),NO=e=>typeof e=="number"?e:Number(e),BO=k.div(({theme:e,col:t,row:n=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${R0}`]:{marginLeft:0}}:{"& > *":{marginTop:n*e.layoutMargin},[`& > *:first-child${R0}`]:{marginTop:0}},({theme:e,outer:t,col:n,row:r})=>{switch(!0){case!!(t&&n):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&r):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),FO=({col:e,row:t,outer:n,children:r,...o})=>{let a=NO(typeof n=="number"||!n?n:e||t);return m.createElement(BO,{col:e,row:t,outer:a,...o},r)},jO=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),DO=k.div(),HO=k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),UO=({children:e,...t})=>{let[n,r]=i.Children.toArray(e);return m.createElement(HO,{...t},m.createElement(jO,null,n),r&&m.createElement(DO,null,r))};function VO(e,t){var n=i.useRef(null),r=i.useRef(null);r.current=t;var o=i.useRef(null);i.useEffect(function(){a()});var a=i.useCallback(function(){var l=o.current,s=r.current,c=l||(s?s instanceof Element?s:s.current:null);n.current&&n.current.element===c&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return i.useEffect(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),i.useCallback(function(l){o.current=l,a()},[a])}function N5(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t==="contentBoxSize"?e.contentRect[n==="inlineSize"?"width":"height"]:void 0}function U4(e){e===void 0&&(e={});var t=e.onResize,n=i.useRef(void 0);n.current=t;var r=e.round||Math.round,o=i.useRef(),a=i.useState({width:void 0,height:void 0}),l=a[0],s=a[1],c=i.useRef(!1);i.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=i.useRef({width:void 0,height:void 0}),d=VO(i.useCallback(function(h){return(!o.current||o.current.box!==e.box||o.current.round!==r)&&(o.current={box:e.box,round:r,instance:new ResizeObserver(function(p){var f=p[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=N5(f,y,"inlineSize"),S=N5(f,y,"blockSize"),b=g?r(g):void 0,v=S?r(S):void 0;if(u.current.width!==b||u.current.height!==v){var w={width:b,height:v};u.current.width=b,u.current.height=v,n.current?n.current(w):c.current||s(w)}})}),o.current.instance.observe(h,{box:e.box}),function(){o.current&&o.current.instance.unobserve(h)}},[e.box,r]),e.ref);return i.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}var WO=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function GO({scale:e,children:t}){let n=i.useRef(null),[r,o]=i.useState(0),a=i.useCallback(({height:l})=>{l&&o(l/e)},[e]);return i.useEffect(()=>{n.current&&o(n.current.getBoundingClientRect().height)},[e]),U4({ref:n,onResize:a}),m.createElement(WO,{scale:e,elementHeight:r},m.createElement("div",{ref:n,className:"innerZoomElementWrapper"},t))}var qO=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:n}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),n!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return m.createElement(m.Fragment,null,e)}},V4={Element:GO,IFrame:qO},{document:KO}=MA,YO=k.strong(({theme:e})=>({color:e.color.orange})),XO=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),B5=k.em(({theme:e})=>({color:e.textMutedColor})),ZO=/(Error): (.*)\n/,QO=/at (?:(.*) )?\(?(.+)\)?/,JO=/([^@]+)?(?:\/<)?@(.+)?/,eT=/([^@]+)?@(.+)?/,W4=({error:e})=>{if(!e)return m.createElement(i.Fragment,null,"This error has no stack or message");if(!e.stack)return m.createElement(i.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let n=t.match(ZO);if(!n)return m.createElement(i.Fragment,null,t);let[,r,o]=n,a=t.split(/\n/).slice(1),[,...l]=a.map(s=>{let c=s.match(QO)||s.match(JO)||s.match(eT);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(KO.location.origin,"")}:null}).filter(Boolean);return m.createElement(i.Fragment,null,m.createElement("span",null,r),": ",m.createElement(YO,null,o),m.createElement("br",null),l.map((s,c)=>s.name?m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(XO,null,s.name)," (",m.createElement(B5,null,s.location),")",m.createElement("br",null)):m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(B5,null,s.location),m.createElement("br",null))))},tT=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),nT=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),rT=({label:e,children:t,...n})=>m.createElement(tT,{...n},e?m.createElement(nT,null,m.createElement("span",null,e)):null,t),oT=i.useLayoutEffect,aT=oT,lT=function(e){var t=i.useRef(e);return aT(function(){t.current=e}),t},F5=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},iT=function(e,t){var n=i.useRef();return i.useCallback(function(r){e.current=r,n.current&&F5(n.current,null),n.current=t,t&&F5(t,r)},[t])},sT=iT,j5={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},cT=function(e){Object.keys(j5).forEach(function(t){e.style.setProperty(t,j5[t],"important")})},D5=cT,Ge=null,H5=function(e,t){var n=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?n+t.borderSize:n-t.paddingSize};function uT(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),Ge||(Ge=document.createElement("textarea"),Ge.setAttribute("tabindex","-1"),Ge.setAttribute("aria-hidden","true"),D5(Ge)),Ge.parentNode===null&&document.body.appendChild(Ge);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,s=l.boxSizing;Object.keys(l).forEach(function(p){var f=p;Ge.style[f]=l[f]}),D5(Ge),Ge.value=t;var c=H5(Ge,e);Ge.value=t,c=H5(Ge,e),Ge.value="x";var u=Ge.scrollHeight-o,d=u*n;s==="border-box"&&(d=d+o+a),c=Math.max(d,c);var h=u*r;return s==="border-box"&&(h=h+o+a),c=Math.min(h,c),[c,u]}var U5=function(){},dT=function(e,t){return e.reduce(function(n,r){return n[r]=t[r],n},{})},fT=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],pT=!!document.documentElement.currentStyle,hT=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var n=dT(fT,t),r=n.boxSizing;if(r==="")return null;pT&&r==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),a=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:a}},mT=hT;function G4(e,t,n){var r=lT(n);i.useLayoutEffect(function(){var o=function(a){return r.current(a)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var gT=function(e){G4(window,"resize",e)},vT=function(e){G4(document.fonts,"loadingdone",e)},yT=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],wT=function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?U5:a,s=e.onHeightChange,c=s===void 0?U5:s,u=l1(e,yT),d=u.value!==void 0,h=i.useRef(null),p=sT(h,t),f=i.useRef(0),y=i.useRef(),g=function(){var b=h.current,v=n&&y.current?y.current:mT(b);if(v){y.current=v;var w=uT(v,b.value||b.placeholder||"x",o,r),E=w[0],x=w[1];f.current!==E&&(f.current=E,b.style.setProperty("height",E+"px","important"),c(E,{rowHeight:x}))}},S=function(b){d||g(),l(b)};return i.useLayoutEffect(g),gT(g),vT(g),i.createElement("textarea",ne({},u,{onChange:S,ref:p}))},bT=i.forwardRef(wT),ET={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},W1=({theme:e})=>({...ET,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),G1=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},q4=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},q1=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},xT=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement("input",{...r,ref:o})}))(W1,G1,q4,q1,{minHeight:32}),{displayName:"Input"}),ST=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement("select",{...r,ref:o})}))(W1,G1,q1,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),CT=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement(bT,{...r,ref:o})}))(W1,G1,q4,q1,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),oa=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:rT,Input:xT,Select:ST,Textarea:CT,Button:mr}),RT=i.lazy(()=>ar(()=>import("./WithTooltip-KJL26V4Q-DZNYmY_Y.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltip}))),_T=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(RT,{...e})),kT=i.lazy(()=>ar(()=>import("./WithTooltip-KJL26V4Q-DZNYmY_Y.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),K4=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(kT,{...e})),IT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),AT=k.span(),OT=k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),TT=k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),MT=k.div({padding:15,width:280,boxSizing:"border-box"}),LT=({title:e,desc:t,links:n})=>m.createElement(MT,null,m.createElement(TT,null,e&&m.createElement(IT,null,e),t&&m.createElement(AT,null,t)),n&&m.createElement(OT,null,n.map(({title:r,...o})=>m.createElement(Br,{...o,key:r},r)))),$T=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),PT=({note:e,...t})=>m.createElement($T,{...t},e),zT=k(({active:e,loading:t,disabled:n,...r})=>m.createElement("span",{...r}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Et(.7,t.color.defaultText)}:{}),NT=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),BT=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),FT=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),jT=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),DT=k.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),HT=Xr(100)((e,t,n)=>{let r={};return e&&Object.assign(r,{onClick:e}),t&&Object.assign(r,{href:t}),n&&t&&Object.assign(r,{to:t,as:n}),r}),UT=({loading:e=!1,title:t=m.createElement("span",null,"Loading state"),center:n=null,right:r=null,active:o=!1,disabled:a=!1,isIndented:l,href:s=null,onClick:c=null,icon:u,LinkWrapper:d=null,...h})=>{let p=HT(c,s,d),f={active:o,disabled:a};return m.createElement(DT,{...f,...h,...p},u&&m.createElement(jT,{...f},u),t||n?m.createElement(BT,{isIndented:!u&&l},t&&m.createElement(zT,{...f,loading:e},t),n&&m.createElement(FT,{...f},n)):null,r&&m.createElement(NT,{...f},r))},Y4=UT,VT=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),WT=e=>{let{LinkWrapper:t,onClick:n,id:r,isIndented:o,...a}=e,{title:l,href:s,active:c}=a,u=i.useCallback(h=>{n(h,a)},[n]),d=!!n;return m.createElement(Y4,{title:l,active:c,href:s,id:`list-item-${r}`,LinkWrapper:t,isIndented:o,...a,...d?{onClick:u}:{}})},X4=({links:e,LinkWrapper:t=null})=>{let n=e.some(r=>r.icon);return m.createElement(VT,null,e.map(({isGatsby:r,...o})=>m.createElement(WT,{key:o.id,LinkWrapper:r?t:null,isIndented:n,...o})))},GT=e=>typeof e.props.href=="string",qT=e=>typeof e.props.href!="string";function KT({children:e,...t},n){let r={props:t,ref:n};if(GT(r))return m.createElement("a",{ref:r.ref,...r.props},e);if(qT(r))return m.createElement("button",{ref:r.ref,type:"button",...r.props},e);throw new Error("invalid props")}var Z4=i.forwardRef(KT);Z4.displayName="ButtonOrLink";var Ml=k(Z4,{shouldForwardProp:Zd})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:n})=>e?{color:t||n.barSelectedColor,borderBottomColor:n.barSelectedColor}:{color:t||n.barTextColor,borderBottomColor:"transparent","&:hover":{color:n.barHoverColor}});Ml.displayName="TabButton";var YT=k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),XT=k.div(()=>({marginTop:6,padding:7,height:28})),ZT=()=>m.createElement(XT,null,m.createElement(YT,null)),B0=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});B0.displayName="Side";var QT=({children:e,className:t,scrollable:n})=>n?m.createElement(Js,{vertical:!1,className:t},e):m.createElement("div",{className:t},e),K1=k(QT)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});K1.displayName="Bar";var JT=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),oc=({children:e,backgroundColor:t,className:n,...r})=>{let[o,a]=i.Children.toArray(e);return m.createElement(K1,{className:`sb-bar ${n}`,...r},m.createElement(JT,{bgColor:t},m.createElement(B0,{scrollable:r.scrollable,left:!0},o),a?m.createElement(B0,{right:!0},a):null))};oc.displayName="FlexBar";var Q4=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),eM=e=>i.Children.toArray(e).map(({props:{title:t,id:n,color:r,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:n,...r?{color:r}:{},render:typeof a=="function"?a:({active:l})=>m.createElement(Q4,{active:l,role:"tabpanel"},a)}}),tM=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),nM=k(Ml)(({active:e,theme:t,preActive:n})=>` +${t}`);let n=t.match(ZO);if(!n)return m.createElement(i.Fragment,null,t);let[,r,o]=n,a=t.split(/\n/).slice(1),[,...l]=a.map(s=>{let c=s.match(QO)||s.match(JO)||s.match(eT);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(KO.location.origin,"")}:null}).filter(Boolean);return m.createElement(i.Fragment,null,m.createElement("span",null,r),": ",m.createElement(YO,null,o),m.createElement("br",null),l.map((s,c)=>s.name?m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(XO,null,s.name)," (",m.createElement(B5,null,s.location),")",m.createElement("br",null)):m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(B5,null,s.location),m.createElement("br",null))))},tT=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),nT=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),rT=({label:e,children:t,...n})=>m.createElement(tT,{...n},e?m.createElement(nT,null,m.createElement("span",null,e)):null,t),oT=i.useLayoutEffect,aT=oT,lT=function(e){var t=i.useRef(e);return aT(function(){t.current=e}),t},F5=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},iT=function(e,t){var n=i.useRef();return i.useCallback(function(r){e.current=r,n.current&&F5(n.current,null),n.current=t,t&&F5(t,r)},[t])},sT=iT,j5={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},cT=function(e){Object.keys(j5).forEach(function(t){e.style.setProperty(t,j5[t],"important")})},D5=cT,Ge=null,H5=function(e,t){var n=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?n+t.borderSize:n-t.paddingSize};function uT(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),Ge||(Ge=document.createElement("textarea"),Ge.setAttribute("tabindex","-1"),Ge.setAttribute("aria-hidden","true"),D5(Ge)),Ge.parentNode===null&&document.body.appendChild(Ge);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,s=l.boxSizing;Object.keys(l).forEach(function(p){var f=p;Ge.style[f]=l[f]}),D5(Ge),Ge.value=t;var c=H5(Ge,e);Ge.value=t,c=H5(Ge,e),Ge.value="x";var u=Ge.scrollHeight-o,d=u*n;s==="border-box"&&(d=d+o+a),c=Math.max(d,c);var h=u*r;return s==="border-box"&&(h=h+o+a),c=Math.min(h,c),[c,u]}var U5=function(){},dT=function(e,t){return e.reduce(function(n,r){return n[r]=t[r],n},{})},fT=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],pT=!!document.documentElement.currentStyle,hT=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var n=dT(fT,t),r=n.boxSizing;if(r==="")return null;pT&&r==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),a=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:a}},mT=hT;function G4(e,t,n){var r=lT(n);i.useLayoutEffect(function(){var o=function(a){return r.current(a)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var gT=function(e){G4(window,"resize",e)},vT=function(e){G4(document.fonts,"loadingdone",e)},yT=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],wT=function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?U5:a,s=e.onHeightChange,c=s===void 0?U5:s,u=l1(e,yT),d=u.value!==void 0,h=i.useRef(null),p=sT(h,t),f=i.useRef(0),y=i.useRef(),g=function(){var b=h.current,v=n&&y.current?y.current:mT(b);if(v){y.current=v;var w=uT(v,b.value||b.placeholder||"x",o,r),E=w[0],x=w[1];f.current!==E&&(f.current=E,b.style.setProperty("height",E+"px","important"),c(E,{rowHeight:x}))}},S=function(b){d||g(),l(b)};return i.useLayoutEffect(g),gT(g),vT(g),i.createElement("textarea",ne({},u,{onChange:S,ref:p}))},bT=i.forwardRef(wT),ET={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},W1=({theme:e})=>({...ET,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),G1=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},q4=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},q1=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},xT=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement("input",{...r,ref:o})}))(W1,G1,q4,q1,{minHeight:32}),{displayName:"Input"}),ST=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement("select",{...r,ref:o})}))(W1,G1,q1,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),CT=Object.assign(k(i.forwardRef(function({size:e,valid:t,align:n,...r},o){return m.createElement(bT,{...r,ref:o})}))(W1,G1,q4,q1,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),oa=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:rT,Input:xT,Select:ST,Textarea:CT,Button:mr}),RT=i.lazy(()=>ar(()=>import("./WithTooltip-KJL26V4Q-BIs0JtpI.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltip}))),_T=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(RT,{...e})),kT=i.lazy(()=>ar(()=>import("./WithTooltip-KJL26V4Q-BIs0JtpI.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),K4=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(kT,{...e})),IT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),AT=k.span(),OT=k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),TT=k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),MT=k.div({padding:15,width:280,boxSizing:"border-box"}),LT=({title:e,desc:t,links:n})=>m.createElement(MT,null,m.createElement(TT,null,e&&m.createElement(IT,null,e),t&&m.createElement(AT,null,t)),n&&m.createElement(OT,null,n.map(({title:r,...o})=>m.createElement(Br,{...o,key:r},r)))),$T=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),PT=({note:e,...t})=>m.createElement($T,{...t},e),zT=k(({active:e,loading:t,disabled:n,...r})=>m.createElement("span",{...r}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Et(.7,t.color.defaultText)}:{}),NT=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),BT=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),FT=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),jT=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),DT=k.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),HT=Xr(100)((e,t,n)=>{let r={};return e&&Object.assign(r,{onClick:e}),t&&Object.assign(r,{href:t}),n&&t&&Object.assign(r,{to:t,as:n}),r}),UT=({loading:e=!1,title:t=m.createElement("span",null,"Loading state"),center:n=null,right:r=null,active:o=!1,disabled:a=!1,isIndented:l,href:s=null,onClick:c=null,icon:u,LinkWrapper:d=null,...h})=>{let p=HT(c,s,d),f={active:o,disabled:a};return m.createElement(DT,{...f,...h,...p},u&&m.createElement(jT,{...f},u),t||n?m.createElement(BT,{isIndented:!u&&l},t&&m.createElement(zT,{...f,loading:e},t),n&&m.createElement(FT,{...f},n)):null,r&&m.createElement(NT,{...f},r))},Y4=UT,VT=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),WT=e=>{let{LinkWrapper:t,onClick:n,id:r,isIndented:o,...a}=e,{title:l,href:s,active:c}=a,u=i.useCallback(h=>{n(h,a)},[n]),d=!!n;return m.createElement(Y4,{title:l,active:c,href:s,id:`list-item-${r}`,LinkWrapper:t,isIndented:o,...a,...d?{onClick:u}:{}})},X4=({links:e,LinkWrapper:t=null})=>{let n=e.some(r=>r.icon);return m.createElement(VT,null,e.map(({isGatsby:r,...o})=>m.createElement(WT,{key:o.id,LinkWrapper:r?t:null,isIndented:n,...o})))},GT=e=>typeof e.props.href=="string",qT=e=>typeof e.props.href!="string";function KT({children:e,...t},n){let r={props:t,ref:n};if(GT(r))return m.createElement("a",{ref:r.ref,...r.props},e);if(qT(r))return m.createElement("button",{ref:r.ref,type:"button",...r.props},e);throw new Error("invalid props")}var Z4=i.forwardRef(KT);Z4.displayName="ButtonOrLink";var Ml=k(Z4,{shouldForwardProp:Zd})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:n})=>e?{color:t||n.barSelectedColor,borderBottomColor:n.barSelectedColor}:{color:t||n.barTextColor,borderBottomColor:"transparent","&:hover":{color:n.barHoverColor}});Ml.displayName="TabButton";var YT=k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),XT=k.div(()=>({marginTop:6,padding:7,height:28})),ZT=()=>m.createElement(XT,null,m.createElement(YT,null)),B0=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});B0.displayName="Side";var QT=({children:e,className:t,scrollable:n})=>n?m.createElement(Js,{vertical:!1,className:t},e):m.createElement("div",{className:t},e),K1=k(QT)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});K1.displayName="Bar";var JT=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),oc=({children:e,backgroundColor:t,className:n,...r})=>{let[o,a]=i.Children.toArray(e);return m.createElement(K1,{className:`sb-bar ${n}`,...r},m.createElement(JT,{bgColor:t},m.createElement(B0,{scrollable:r.scrollable,left:!0},o),a?m.createElement(B0,{right:!0},a):null))};oc.displayName="FlexBar";var Q4=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),eM=e=>i.Children.toArray(e).map(({props:{title:t,id:n,color:r,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:n,...r?{color:r}:{},render:typeof a=="function"?a:({active:l})=>m.createElement(Q4,{active:l,role:"tabpanel"},a)}}),tM=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),nM=k(Ml)(({active:e,theme:t,preActive:n})=>` color: ${n||e?t.barSelectedColor:t.barTextColor}; .addon-collapsible-icon { color: ${n||e?t.barSelectedColor:t.barTextColor}; @@ -541,7 +541,7 @@ ${t}`);let n=t.match(ZO);if(!n)return m.createElement(i.Fragment,null,t);let[,r, ${Jt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, ${kr(.02,e.input.background)} ${(r-t)/(n-t)*100}%, - ${kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${rn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),w3=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),BW=k(w3)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FW=k.div({display:"flex",alignItems:"center",width:"100%"});function jW(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var DW=({name:e,value:t,onChange:n,min:r=0,max:o=100,step:a=1,onBlur:l,onFocus:s,argType:c})=>{var f;let u=y=>{n(ZV(y.target.value))},d=t!==void 0,h=i.useMemo(()=>jW(a),[a]),p=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return m.createElement(FW,{"aria-readonly":p},m.createElement(w3,null,r),m.createElement(NW,{id:jt(e),type:"range",disabled:p,onChange:u,name:e,value:t,min:r,max:o,step:a,onFocus:s,onBlur:l}),m.createElement(BW,{numberOFDecimalsPlaces:h,max:o},d?t.toFixed(h):"--"," / ",o))},HW=k.label({display:"flex"}),UW=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),VW=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,maxLength:a,argType:l})=>{var f;let s=y=>{n(y.target.value)},c=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[u,d]=i.useState(!1),h=i.useCallback(()=>{n(""),d(!0)},[d]);if(t===void 0)return m.createElement(mr,{variant:"outline",size:"medium",disabled:c,id:Ds(e),onClick:h},"Set string");let p=typeof t=="string";return m.createElement(HW,null,m.createElement(oa.Textarea,{id:jt(e),maxLength:a,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:p?null:"error",name:e,value:p?t:"",onFocus:r,onBlur:o}),a&&m.createElement(UW,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},WW=k(oa.Input)({padding:10});function GW(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var qW=({onChange:e,name:t,accept:n="image/*",value:r,argType:o})=>{var c;let a=i.useRef(null),l=(c=o==null?void 0:o.control)==null?void 0:c.readOnly;function s(u){if(!u.target.files)return;let d=Array.from(u.target.files).map(h=>URL.createObjectURL(h));e(d),GW(r)}return i.useEffect(()=>{r==null&&a.current&&(a.current.value=null)},[r,t]),m.createElement(WW,{ref:a,id:jt(t),type:"file",name:t,multiple:!0,disabled:l,onChange:s,accept:n,size:"flex"})},KW=i.lazy(()=>ar(()=>import("./Color-PRSJMWNM-CZDuGoU4.js"),__vite__mapDeps([8,2,4,1,3,5]),import.meta.url)),YW=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(KW,{...e})),XW={array:Bh,object:Bh,boolean:UV,color:YW,date:YV,number:JV,check:uo,"inline-check":uo,radio:uo,"inline-radio":uo,select:uo,"multi-select":uo,range:DW,text:VW,file:qW},Fh=()=>m.createElement(m.Fragment,null,"-"),ZW=({row:e,arg:t,updateArgs:n,isHovered:r})=>{var g;let{key:o,control:a}=e,[l,s]=i.useState(!1),[c,u]=i.useState({value:t});i.useEffect(()=>{l||u({value:t})},[l,t]);let d=i.useCallback(S=>(u({value:S}),n({[o]:S}),S),[n,o]),h=i.useCallback(()=>s(!1),[]),p=i.useCallback(()=>s(!0),[]);if(!a||a.disable){let S=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return r&&S?m.createElement(Br,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(Fh,null)}let f={name:o,argType:e,value:c.value,onChange:d,onBlur:h,onFocus:p},y=XW[a.type]||Fh;return m.createElement(y,{...f,...a,controlType:a.type})},QW=k.span({fontWeight:"bold"}),JW=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),eG=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...$n({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),tG=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?4:0})),nG=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),rG=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),oG=e=>e&&{summary:typeof e=="string"?e:e.name},pi=e=>{var g;let[t,n]=i.useState(!1),{row:r,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:s}=e,{name:c,description:u}=r,d=r.table||{},h=d.type||oG(r.type),p=d.defaultValue||r.defaultValue,f=(g=r.type)==null?void 0:g.required,y=u!=null&&u!=="";return m.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},m.createElement(rG,{expandable:l},m.createElement(QW,null,c),f?m.createElement(JW,{title:"Required"},"*"):null),a?null:m.createElement("td",null,y&&m.createElement(eG,null,m.createElement(jy,null,u)),d.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(nG,{hasDescription:y},m.createElement(bu,{value:h,initialExpandedArgs:s})),m.createElement(OV,{tags:d.jsDocTags})):m.createElement(tG,{hasDescription:y},m.createElement(bu,{value:h,initialExpandedArgs:s}))),a?null:m.createElement("td",null,m.createElement(bu,{value:p,initialExpandedArgs:s})),o?m.createElement("td",null,m.createElement(ZW,{...e,isHovered:t})):null)},aG=k(O2)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),lG=k(C1)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),iG=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),sG=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),cG=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),uG=k.td(()=>({position:"relative"})),dG=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),jh=k.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),xu=({level:e="section",label:t,children:n,initialExpanded:r=!0,colSpan:o=3})=>{let[a,l]=i.useState(r),s=e==="subsection"?cG:sG,c=(n==null?void 0:n.length)||0,u=e==="subsection"?`${c} item${c!==1?"s":""}`:"",d=`${a?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(dG,{title:d},m.createElement(s,{colSpan:1},m.createElement(jh,{onClick:h=>l(!a),tabIndex:0},d),m.createElement(iG,null,a?m.createElement(aG,null):m.createElement(lG,null),t)),m.createElement(uG,{colSpan:o-1},m.createElement(jh,{onClick:h=>l(!a),tabIndex:-1,style:{outline:"none"}},d),a?null:u)),a?n:null)},hi=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Fe=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Ce=k.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),je=[2,4,2,2],fG=()=>m.createElement(m.Fragment,null,m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"})))),pG=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),hG=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),mG=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),gG=({inAddonPanel:e})=>{let[t,n]=i.useState(!0);return i.useEffect(()=>{let r=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(r)},[]),t?null:m.createElement(pG,{inAddonPanel:e},m.createElement(Y1,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:m.createElement(m.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:m.createElement(hG,null,e&&m.createElement(m.Fragment,null,m.createElement(Br,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement(R2,null)," Watch 5m video"),m.createElement(mG,null),m.createElement(Br,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(ms,null)," Read docs")),!e&&m.createElement(Br,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(ms,null)," Learn how to set that up"))}))},vG=k.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?de(.25,e.color.defaultText):de(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),yG=k(or)(({theme:e})=>({margin:"-4px -12px -4px 0"})),wG=k.span({display:"flex",justifyContent:"space-between"}),bG={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var n,r;return+!!((n=t.type)!=null&&n.required)-+!!((r=e.type)!=null&&r.required)||e.name.localeCompare(t.name)},none:void 0},EG=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([a,l])=>{let{category:s,subcategory:c}=(l==null?void 0:l.table)||{};if(s){let u=n.sections[s]||{ungrouped:[],subsections:{}};if(!c)u.ungrouped.push({key:a,...l});else{let d=u.subsections[c]||[];d.push({key:a,...l}),u.subsections[c]=d}n.sections[s]=u}else if(c){let u=n.ungroupedSubsections[c]||[];u.push({key:a,...l}),n.ungroupedSubsections[c]=u}else n.ungrouped.push({key:a,...l})});let r=bG[t],o=a=>r?Object.keys(a).reduce((l,s)=>({...l,[s]:a[s].sort(r)}),{}):a;return{ungrouped:n.ungrouped.sort(r),ungroupedSubsections:o(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((a,l)=>({...a,[l]:{ungrouped:n.sections[l].ungrouped.sort(r),subsections:o(n.sections[l].subsections)}}),{})}},xG=(e,t,n)=>{try{return OA(e,t,n)}catch(r){return JU.warn(r.message),!1}},Y0=e=>{let{updateArgs:t,resetArgs:n,compact:r,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:s}=e;if("error"in e){let{error:v}=e;return m.createElement(n3,null,v," ",m.createElement(Br,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement(ms,null)," Read the docs"))}if(s)return m.createElement(fG,null);let{rows:c,args:u,globals:d}="rows"in e&&e,h=EG(Jz(c,v=>{var w;return!((w=v==null?void 0:v.table)!=null&&w.disable)&&xG(v,u||{},d||{})}),l),p=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,y=Object.entries(h.ungroupedSubsections).length===0;if(p&&f&&y)return m.createElement(gG,{inAddonPanel:o});let g=1;t&&(g+=1),r||(g+=2);let S=Object.keys(h.sections).length>0,b={updateArgs:t,compact:r,inAddonPanel:o,initialExpandedArgs:a};return m.createElement(V1,null,m.createElement(vG,{compact:r,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},m.createElement("thead",{className:"docblock-argstable-head"},m.createElement("tr",null,m.createElement("th",null,m.createElement("span",null,"Name")),r?null:m.createElement("th",null,m.createElement("span",null,"Description")),r?null:m.createElement("th",null,m.createElement("span",null,"Default")),t?m.createElement("th",null,m.createElement(wG,null,"Control"," ",!s&&n&&m.createElement(yG,{onClick:()=>n(),title:"Reset controls"},m.createElement(M2,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(v=>m.createElement(pi,{key:v.key,row:v,arg:u&&u[v.key],...b})),Object.entries(h.ungroupedSubsections).map(([v,w])=>m.createElement(xu,{key:v,label:v,level:"subsection",colSpan:g},w.map(E=>m.createElement(pi,{key:E.key,row:E,arg:u&&u[E.key],expandable:S,...b})))),Object.entries(h.sections).map(([v,w])=>m.createElement(xu,{key:v,label:v,level:"section",colSpan:g},w.ungrouped.map(E=>m.createElement(pi,{key:E.key,row:E,arg:u&&u[E.key],...b})),Object.entries(w.subsections).map(([E,x])=>m.createElement(xu,{key:E,label:E,level:"subsection",colSpan:g},x.map(R=>m.createElement(pi,{key:R.key,row:R,arg:u&&u[R.key],expandable:S,...b})))))))))},SG=({tabs:e,...t})=>{let n=Object.entries(e);return n.length===1?m.createElement(Y0,{...n[0][1],...t}):m.createElement(Q1,null,n.map((r,o)=>{let[a,l]=r,s=`prop_table_div_${a}`,c="div",u=o===0?t:{sort:t.sort};return m.createElement(c,{key:s,id:s,title:a},({active:d})=>d?m.createElement(Y0,{key:`prop_table_${a}`,...l,...u}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(ve,({theme:e})=>({...uc(e),margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?de(.2,e.color.defaultText):de(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>({...uc(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>({...uc(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var CG=e=>`anchor--${e}`,b3=({storyId:e,children:t})=>m.createElement("div",{id:CG(e),className:"sb-anchor"},t);xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=i.createContext(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var Ht=xt?xt.__DOCS_CONTEXT__:i.createContext(null),eo=(e,t)=>i.useContext(Ht).resolveOf(e,t),RG=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),_G=e=>{if(e)return typeof e=="string"?e.includes("-")?RG(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function kG(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function E3(e){return DU(e,{allowFunction:!1})}var x3=i.createContext({sources:{}}),S3="--unknown--",IG=({children:e,channel:t})=>{let[n,r]=i.useState({});return i.useEffect(()=>{let o=(a,l=null,s=!1)=>{let{id:c,args:u=void 0,source:d,format:h}=typeof a=="string"?{id:a,source:l,format:s}:a,p=u?E3(u):S3;r(f=>({...f,[c]:{...f[c],[p]:{code:d,format:h}}}))};return t.on(Rf,o),()=>t.off(Rf,o)},[]),m.createElement(x3.Provider,{value:{sources:n}},e)},AG=(e,t,n)=>{let{sources:r}=n,o=r==null?void 0:r[e];return(o==null?void 0:o[E3(t)])||(o==null?void 0:o[S3])||{code:""}},OG=({snippet:e,storyContext:t,typeFromProps:n,transformFromProps:r})=>{var c,u;let{__isArgsStory:o}=t.parameters,a=((c=t.parameters.docs)==null?void 0:c.source)||{},l=n||a.type||hc.AUTO;if(a.code!==void 0)return a.code;let s=l===hc.DYNAMIC||l===hc.AUTO&&e&&o?e:a.originalSource||"";return((u=r??a.transform)==null?void 0:u(s,t))||s},TG=(e,t,n)=>{var f,y,g,S;let r,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)r=t.resolveOf(o,["story"]).story;else try{r=t.storyById()}catch{}let a=((y=(f=r==null?void 0:r.parameters)==null?void 0:f.docs)==null?void 0:y.source)||{},{code:l}=e,s=e.format??a.format,c=e.language??a.language??"jsx",u=e.dark??a.dark??!1;if(!l&&!r)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:s,language:c,dark:u};let d=t.getStoryContext(r),h=e.__forceInitialArgs?d.initialArgs:d.unmappedArgs,p=AG(r.id,h,n);return s=p.format??((S=(g=r.parameters.docs)==null?void 0:g.source)==null?void 0:S.format)??!1,{code:OG({snippet:p.code,storyContext:{...d,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:u}};function MG(e,t){let n=LG([e],t);return n&&n[0]}function LG(e,t){let[n,r]=i.useState({});return i.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);r(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(n[o])return n[o];try{return t.storyById(o)}catch{return null}})}var $G=(e,t)=>{let{of:n,meta:r}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return r&&t.referenceMeta(r,!1),t.resolveOf(n||"story",["story"]).story.id},PG=(e,t,n)=>{let{parameters:r={}}=t||{},{docs:o={}}=r,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let s=e.height??a.height,c=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:n.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},zG=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=i.useContext(Ht),n=$G(e,t),r=MG(n,t);if(!r)return m.createElement(a3,null);let o=PG(e,r,t);return o?m.createElement(xV,{...o}):null},NG=e=>{var p,f,y,g,S,b,v,w,E,x;let t=i.useContext(Ht),n=i.useContext(x3),{of:r,source:o}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=eo(r||"story",["story"]),l=TG({...o,...r&&{of:r}},t,n),s=e.layout??a.parameters.layout??((f=(p=a.parameters.docs)==null?void 0:p.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:g.withToolbar)??!1,u=e.additionalActions??((b=(S=a.parameters.docs)==null?void 0:S.canvas)==null?void 0:b.additionalActions),d=e.sourceState??((w=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:w.sourceState)??"hidden",h=e.className??((x=(E=a.parameters.docs)==null?void 0:E.canvas)==null?void 0:x.className);return m.createElement(l3,{withSource:d==="none"?void 0:l,isExpanded:d==="shown",withToolbar:c,additionalActions:u,className:h,layout:s},m.createElement(zG,{of:r||a.moduleExport,meta:e.meta,...e.story}))},BG=(e,t)=>{let n=t.getStoryContext(e),[r,o]=i.useState(n.globals);return i.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(kh,a),()=>t.channel.off(kh,a)},[t.channel]),[r]},FG=(e,t)=>{let n=jG(e,t);if(!n)throw new Error("No result when story was defined");return n},jG=(e,t)=>{let n=e?t.getStoryContext(e):{args:{}},{id:r}=e||{id:"none"},[o,a]=i.useState(n.args);i.useEffect(()=>{let c=u=>{u.storyId===r&&a(u.args)};return t.channel.on(Ih,c),()=>t.channel.off(Ih,c)},[r,t.channel]);let l=i.useCallback(c=>t.channel.emit(eV,{storyId:r,updatedArgs:c}),[r,t.channel]),s=i.useCallback(c=>t.channel.emit(tV,{storyId:r,argNames:c}),[r,t.channel]);return e&&[o,l,s]};function DG(e,t){let{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}var HG=e=>{var E;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=i.useContext(Ht),{story:r}=n.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:s}=r,c=((E=o.docs)==null?void 0:E.controls)||{},u=e.include??c.include,d=e.exclude??c.exclude,h=e.sort??c.sort,[p,f,y]=FG(r,n),[g]=BG(r,n),S=_h(a,u,d);if(!(s&&Object.keys(s).length>0))return Object.keys(S).length>0||Object.keys(p).length>0?m.createElement(Y0,{rows:S,sort:h,args:p,globals:g,updateArgs:f,resetArgs:y}):null;let b=_G(l),v=Object.fromEntries(Object.entries(s).map(([x,R])=>[x,{rows:_h(DG(R,o),u,d),sort:h}])),w={[b]:{rows:S,sort:h},...v};return m.createElement(SG,{tabs:w,sort:h,args:p,globals:g,updateArgs:f,resetArgs:y})},{document:C3}=xt,R3=({className:e,children:t,...n})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return m.createElement(D1,null,t);let r=e&&e.split("-");return m.createElement(r3,{language:r&&r[1]||"text",format:!1,code:t,...n})};function wf(e,t){e.channel.emit(nV,t)}var X0=ty.a,UG=({hash:e,children:t})=>{let n=i.useContext(Ht);return m.createElement(X0,{href:e,target:"_self",onClick:r=>{let o=e.substring(1);C3.getElementById(o)&&wf(n,e)}},t)},_3=e=>{let{href:t,target:n,children:r,...o}=e,a=i.useContext(Ht);return!t||n==="_blank"||/^https?:\/\//.test(t)?m.createElement(X0,{...e}):t.startsWith("#")?m.createElement(UG,{hash:t},r):m.createElement(X0,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),wf(a,l.currentTarget.getAttribute("href")))},target:n,...o},r)},k3=["h1","h2","h3","h4","h5","h6"],VG=k3.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),WG=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),GG=({as:e,id:t,children:n,...r})=>{let o=i.useContext(Ht),a=VG[e],l=`#${t}`;return m.createElement(a,{id:t,...r},m.createElement(WG,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:s=>{C3.getElementById(t)&&wf(o,l)}},m.createElement(A2,null)),n)},bf=e=>{let{as:t,id:n,children:r,...o}=e;if(n)return m.createElement(GG,{as:t,id:n,...o},r);let a=t,{as:l,...s}=e;return m.createElement(a,{...fe(s,t)})},I3=k3.reduce((e,t)=>({...e,[t]:n=>m.createElement(bf,{as:t,...n})}),{}),qG=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(W3`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + ${kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${rn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),w3=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),BW=k(w3)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FW=k.div({display:"flex",alignItems:"center",width:"100%"});function jW(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var DW=({name:e,value:t,onChange:n,min:r=0,max:o=100,step:a=1,onBlur:l,onFocus:s,argType:c})=>{var f;let u=y=>{n(ZV(y.target.value))},d=t!==void 0,h=i.useMemo(()=>jW(a),[a]),p=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return m.createElement(FW,{"aria-readonly":p},m.createElement(w3,null,r),m.createElement(NW,{id:jt(e),type:"range",disabled:p,onChange:u,name:e,value:t,min:r,max:o,step:a,onFocus:s,onBlur:l}),m.createElement(BW,{numberOFDecimalsPlaces:h,max:o},d?t.toFixed(h):"--"," / ",o))},HW=k.label({display:"flex"}),UW=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),VW=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,maxLength:a,argType:l})=>{var f;let s=y=>{n(y.target.value)},c=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[u,d]=i.useState(!1),h=i.useCallback(()=>{n(""),d(!0)},[d]);if(t===void 0)return m.createElement(mr,{variant:"outline",size:"medium",disabled:c,id:Ds(e),onClick:h},"Set string");let p=typeof t=="string";return m.createElement(HW,null,m.createElement(oa.Textarea,{id:jt(e),maxLength:a,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:p?null:"error",name:e,value:p?t:"",onFocus:r,onBlur:o}),a&&m.createElement(UW,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},WW=k(oa.Input)({padding:10});function GW(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var qW=({onChange:e,name:t,accept:n="image/*",value:r,argType:o})=>{var c;let a=i.useRef(null),l=(c=o==null?void 0:o.control)==null?void 0:c.readOnly;function s(u){if(!u.target.files)return;let d=Array.from(u.target.files).map(h=>URL.createObjectURL(h));e(d),GW(r)}return i.useEffect(()=>{r==null&&a.current&&(a.current.value=null)},[r,t]),m.createElement(WW,{ref:a,id:jt(t),type:"file",name:t,multiple:!0,disabled:l,onChange:s,accept:n,size:"flex"})},KW=i.lazy(()=>ar(()=>import("./Color-PRSJMWNM-DiURJJNj.js"),__vite__mapDeps([8,2,4,1,3,5]),import.meta.url)),YW=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(KW,{...e})),XW={array:Bh,object:Bh,boolean:UV,color:YW,date:YV,number:JV,check:uo,"inline-check":uo,radio:uo,"inline-radio":uo,select:uo,"multi-select":uo,range:DW,text:VW,file:qW},Fh=()=>m.createElement(m.Fragment,null,"-"),ZW=({row:e,arg:t,updateArgs:n,isHovered:r})=>{var g;let{key:o,control:a}=e,[l,s]=i.useState(!1),[c,u]=i.useState({value:t});i.useEffect(()=>{l||u({value:t})},[l,t]);let d=i.useCallback(S=>(u({value:S}),n({[o]:S}),S),[n,o]),h=i.useCallback(()=>s(!1),[]),p=i.useCallback(()=>s(!0),[]);if(!a||a.disable){let S=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return r&&S?m.createElement(Br,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(Fh,null)}let f={name:o,argType:e,value:c.value,onChange:d,onBlur:h,onFocus:p},y=XW[a.type]||Fh;return m.createElement(y,{...f,...a,controlType:a.type})},QW=k.span({fontWeight:"bold"}),JW=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),eG=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...$n({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),tG=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?4:0})),nG=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),rG=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),oG=e=>e&&{summary:typeof e=="string"?e:e.name},pi=e=>{var g;let[t,n]=i.useState(!1),{row:r,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:s}=e,{name:c,description:u}=r,d=r.table||{},h=d.type||oG(r.type),p=d.defaultValue||r.defaultValue,f=(g=r.type)==null?void 0:g.required,y=u!=null&&u!=="";return m.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},m.createElement(rG,{expandable:l},m.createElement(QW,null,c),f?m.createElement(JW,{title:"Required"},"*"):null),a?null:m.createElement("td",null,y&&m.createElement(eG,null,m.createElement(jy,null,u)),d.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(nG,{hasDescription:y},m.createElement(bu,{value:h,initialExpandedArgs:s})),m.createElement(OV,{tags:d.jsDocTags})):m.createElement(tG,{hasDescription:y},m.createElement(bu,{value:h,initialExpandedArgs:s}))),a?null:m.createElement("td",null,m.createElement(bu,{value:p,initialExpandedArgs:s})),o?m.createElement("td",null,m.createElement(ZW,{...e,isHovered:t})):null)},aG=k(O2)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),lG=k(C1)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),iG=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),sG=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),cG=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),uG=k.td(()=>({position:"relative"})),dG=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),jh=k.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),xu=({level:e="section",label:t,children:n,initialExpanded:r=!0,colSpan:o=3})=>{let[a,l]=i.useState(r),s=e==="subsection"?cG:sG,c=(n==null?void 0:n.length)||0,u=e==="subsection"?`${c} item${c!==1?"s":""}`:"",d=`${a?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(dG,{title:d},m.createElement(s,{colSpan:1},m.createElement(jh,{onClick:h=>l(!a),tabIndex:0},d),m.createElement(iG,null,a?m.createElement(aG,null):m.createElement(lG,null),t)),m.createElement(uG,{colSpan:o-1},m.createElement(jh,{onClick:h=>l(!a),tabIndex:-1,style:{outline:"none"}},d),a?null:u)),a?n:null)},hi=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Fe=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Ce=k.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),je=[2,4,2,2],fG=()=>m.createElement(m.Fragment,null,m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"}))),m.createElement(hi,null,m.createElement(Fe,{numColumn:je[0]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[1]},m.createElement(Ce,{width:"80%"}),m.createElement(Ce,{width:"30%"})),m.createElement(Fe,{numColumn:je[2]},m.createElement(Ce,{width:"60%"})),m.createElement(Fe,{numColumn:je[3]},m.createElement(Ce,{width:"60%"})))),pG=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),hG=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),mG=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),gG=({inAddonPanel:e})=>{let[t,n]=i.useState(!0);return i.useEffect(()=>{let r=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(r)},[]),t?null:m.createElement(pG,{inAddonPanel:e},m.createElement(Y1,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:m.createElement(m.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:m.createElement(hG,null,e&&m.createElement(m.Fragment,null,m.createElement(Br,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement(R2,null)," Watch 5m video"),m.createElement(mG,null),m.createElement(Br,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(ms,null)," Read docs")),!e&&m.createElement(Br,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(ms,null)," Learn how to set that up"))}))},vG=k.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?de(.25,e.color.defaultText):de(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),yG=k(or)(({theme:e})=>({margin:"-4px -12px -4px 0"})),wG=k.span({display:"flex",justifyContent:"space-between"}),bG={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var n,r;return+!!((n=t.type)!=null&&n.required)-+!!((r=e.type)!=null&&r.required)||e.name.localeCompare(t.name)},none:void 0},EG=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([a,l])=>{let{category:s,subcategory:c}=(l==null?void 0:l.table)||{};if(s){let u=n.sections[s]||{ungrouped:[],subsections:{}};if(!c)u.ungrouped.push({key:a,...l});else{let d=u.subsections[c]||[];d.push({key:a,...l}),u.subsections[c]=d}n.sections[s]=u}else if(c){let u=n.ungroupedSubsections[c]||[];u.push({key:a,...l}),n.ungroupedSubsections[c]=u}else n.ungrouped.push({key:a,...l})});let r=bG[t],o=a=>r?Object.keys(a).reduce((l,s)=>({...l,[s]:a[s].sort(r)}),{}):a;return{ungrouped:n.ungrouped.sort(r),ungroupedSubsections:o(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((a,l)=>({...a,[l]:{ungrouped:n.sections[l].ungrouped.sort(r),subsections:o(n.sections[l].subsections)}}),{})}},xG=(e,t,n)=>{try{return OA(e,t,n)}catch(r){return JU.warn(r.message),!1}},Y0=e=>{let{updateArgs:t,resetArgs:n,compact:r,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:s}=e;if("error"in e){let{error:v}=e;return m.createElement(n3,null,v," ",m.createElement(Br,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement(ms,null)," Read the docs"))}if(s)return m.createElement(fG,null);let{rows:c,args:u,globals:d}="rows"in e&&e,h=EG(Jz(c,v=>{var w;return!((w=v==null?void 0:v.table)!=null&&w.disable)&&xG(v,u||{},d||{})}),l),p=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,y=Object.entries(h.ungroupedSubsections).length===0;if(p&&f&&y)return m.createElement(gG,{inAddonPanel:o});let g=1;t&&(g+=1),r||(g+=2);let S=Object.keys(h.sections).length>0,b={updateArgs:t,compact:r,inAddonPanel:o,initialExpandedArgs:a};return m.createElement(V1,null,m.createElement(vG,{compact:r,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},m.createElement("thead",{className:"docblock-argstable-head"},m.createElement("tr",null,m.createElement("th",null,m.createElement("span",null,"Name")),r?null:m.createElement("th",null,m.createElement("span",null,"Description")),r?null:m.createElement("th",null,m.createElement("span",null,"Default")),t?m.createElement("th",null,m.createElement(wG,null,"Control"," ",!s&&n&&m.createElement(yG,{onClick:()=>n(),title:"Reset controls"},m.createElement(M2,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(v=>m.createElement(pi,{key:v.key,row:v,arg:u&&u[v.key],...b})),Object.entries(h.ungroupedSubsections).map(([v,w])=>m.createElement(xu,{key:v,label:v,level:"subsection",colSpan:g},w.map(E=>m.createElement(pi,{key:E.key,row:E,arg:u&&u[E.key],expandable:S,...b})))),Object.entries(h.sections).map(([v,w])=>m.createElement(xu,{key:v,label:v,level:"section",colSpan:g},w.ungrouped.map(E=>m.createElement(pi,{key:E.key,row:E,arg:u&&u[E.key],...b})),Object.entries(w.subsections).map(([E,x])=>m.createElement(xu,{key:E,label:E,level:"subsection",colSpan:g},x.map(R=>m.createElement(pi,{key:R.key,row:R,arg:u&&u[R.key],expandable:S,...b})))))))))},SG=({tabs:e,...t})=>{let n=Object.entries(e);return n.length===1?m.createElement(Y0,{...n[0][1],...t}):m.createElement(Q1,null,n.map((r,o)=>{let[a,l]=r,s=`prop_table_div_${a}`,c="div",u=o===0?t:{sort:t.sort};return m.createElement(c,{key:s,id:s,title:a},({active:d})=>d?m.createElement(Y0,{key:`prop_table_${a}`,...l,...u}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(ve,({theme:e})=>({...uc(e),margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?de(.2,e.color.defaultText):de(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>({...uc(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>({...uc(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var CG=e=>`anchor--${e}`,b3=({storyId:e,children:t})=>m.createElement("div",{id:CG(e),className:"sb-anchor"},t);xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=i.createContext(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var Ht=xt?xt.__DOCS_CONTEXT__:i.createContext(null),eo=(e,t)=>i.useContext(Ht).resolveOf(e,t),RG=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),_G=e=>{if(e)return typeof e=="string"?e.includes("-")?RG(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function kG(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function E3(e){return DU(e,{allowFunction:!1})}var x3=i.createContext({sources:{}}),S3="--unknown--",IG=({children:e,channel:t})=>{let[n,r]=i.useState({});return i.useEffect(()=>{let o=(a,l=null,s=!1)=>{let{id:c,args:u=void 0,source:d,format:h}=typeof a=="string"?{id:a,source:l,format:s}:a,p=u?E3(u):S3;r(f=>({...f,[c]:{...f[c],[p]:{code:d,format:h}}}))};return t.on(Rf,o),()=>t.off(Rf,o)},[]),m.createElement(x3.Provider,{value:{sources:n}},e)},AG=(e,t,n)=>{let{sources:r}=n,o=r==null?void 0:r[e];return(o==null?void 0:o[E3(t)])||(o==null?void 0:o[S3])||{code:""}},OG=({snippet:e,storyContext:t,typeFromProps:n,transformFromProps:r})=>{var c,u;let{__isArgsStory:o}=t.parameters,a=((c=t.parameters.docs)==null?void 0:c.source)||{},l=n||a.type||hc.AUTO;if(a.code!==void 0)return a.code;let s=l===hc.DYNAMIC||l===hc.AUTO&&e&&o?e:a.originalSource||"";return((u=r??a.transform)==null?void 0:u(s,t))||s},TG=(e,t,n)=>{var f,y,g,S;let r,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)r=t.resolveOf(o,["story"]).story;else try{r=t.storyById()}catch{}let a=((y=(f=r==null?void 0:r.parameters)==null?void 0:f.docs)==null?void 0:y.source)||{},{code:l}=e,s=e.format??a.format,c=e.language??a.language??"jsx",u=e.dark??a.dark??!1;if(!l&&!r)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:s,language:c,dark:u};let d=t.getStoryContext(r),h=e.__forceInitialArgs?d.initialArgs:d.unmappedArgs,p=AG(r.id,h,n);return s=p.format??((S=(g=r.parameters.docs)==null?void 0:g.source)==null?void 0:S.format)??!1,{code:OG({snippet:p.code,storyContext:{...d,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:u}};function MG(e,t){let n=LG([e],t);return n&&n[0]}function LG(e,t){let[n,r]=i.useState({});return i.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);r(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(n[o])return n[o];try{return t.storyById(o)}catch{return null}})}var $G=(e,t)=>{let{of:n,meta:r}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return r&&t.referenceMeta(r,!1),t.resolveOf(n||"story",["story"]).story.id},PG=(e,t,n)=>{let{parameters:r={}}=t||{},{docs:o={}}=r,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let s=e.height??a.height,c=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:n.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},zG=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=i.useContext(Ht),n=$G(e,t),r=MG(n,t);if(!r)return m.createElement(a3,null);let o=PG(e,r,t);return o?m.createElement(xV,{...o}):null},NG=e=>{var p,f,y,g,S,b,v,w,E,x;let t=i.useContext(Ht),n=i.useContext(x3),{of:r,source:o}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=eo(r||"story",["story"]),l=TG({...o,...r&&{of:r}},t,n),s=e.layout??a.parameters.layout??((f=(p=a.parameters.docs)==null?void 0:p.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:g.withToolbar)??!1,u=e.additionalActions??((b=(S=a.parameters.docs)==null?void 0:S.canvas)==null?void 0:b.additionalActions),d=e.sourceState??((w=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:w.sourceState)??"hidden",h=e.className??((x=(E=a.parameters.docs)==null?void 0:E.canvas)==null?void 0:x.className);return m.createElement(l3,{withSource:d==="none"?void 0:l,isExpanded:d==="shown",withToolbar:c,additionalActions:u,className:h,layout:s},m.createElement(zG,{of:r||a.moduleExport,meta:e.meta,...e.story}))},BG=(e,t)=>{let n=t.getStoryContext(e),[r,o]=i.useState(n.globals);return i.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(kh,a),()=>t.channel.off(kh,a)},[t.channel]),[r]},FG=(e,t)=>{let n=jG(e,t);if(!n)throw new Error("No result when story was defined");return n},jG=(e,t)=>{let n=e?t.getStoryContext(e):{args:{}},{id:r}=e||{id:"none"},[o,a]=i.useState(n.args);i.useEffect(()=>{let c=u=>{u.storyId===r&&a(u.args)};return t.channel.on(Ih,c),()=>t.channel.off(Ih,c)},[r,t.channel]);let l=i.useCallback(c=>t.channel.emit(eV,{storyId:r,updatedArgs:c}),[r,t.channel]),s=i.useCallback(c=>t.channel.emit(tV,{storyId:r,argNames:c}),[r,t.channel]);return e&&[o,l,s]};function DG(e,t){let{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}var HG=e=>{var E;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=i.useContext(Ht),{story:r}=n.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:s}=r,c=((E=o.docs)==null?void 0:E.controls)||{},u=e.include??c.include,d=e.exclude??c.exclude,h=e.sort??c.sort,[p,f,y]=FG(r,n),[g]=BG(r,n),S=_h(a,u,d);if(!(s&&Object.keys(s).length>0))return Object.keys(S).length>0||Object.keys(p).length>0?m.createElement(Y0,{rows:S,sort:h,args:p,globals:g,updateArgs:f,resetArgs:y}):null;let b=_G(l),v=Object.fromEntries(Object.entries(s).map(([x,R])=>[x,{rows:_h(DG(R,o),u,d),sort:h}])),w={[b]:{rows:S,sort:h},...v};return m.createElement(SG,{tabs:w,sort:h,args:p,globals:g,updateArgs:f,resetArgs:y})},{document:C3}=xt,R3=({className:e,children:t,...n})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return m.createElement(D1,null,t);let r=e&&e.split("-");return m.createElement(r3,{language:r&&r[1]||"text",format:!1,code:t,...n})};function wf(e,t){e.channel.emit(nV,t)}var X0=ty.a,UG=({hash:e,children:t})=>{let n=i.useContext(Ht);return m.createElement(X0,{href:e,target:"_self",onClick:r=>{let o=e.substring(1);C3.getElementById(o)&&wf(n,e)}},t)},_3=e=>{let{href:t,target:n,children:r,...o}=e,a=i.useContext(Ht);return!t||n==="_blank"||/^https?:\/\//.test(t)?m.createElement(X0,{...e}):t.startsWith("#")?m.createElement(UG,{hash:t},r):m.createElement(X0,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),wf(a,l.currentTarget.getAttribute("href")))},target:n,...o},r)},k3=["h1","h2","h3","h4","h5","h6"],VG=k3.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),WG=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),GG=({as:e,id:t,children:n,...r})=>{let o=i.useContext(Ht),a=VG[e],l=`#${t}`;return m.createElement(a,{id:t,...r},m.createElement(WG,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:s=>{C3.getElementById(t)&&wf(o,l)}},m.createElement(A2,null)),n)},bf=e=>{let{as:t,id:n,children:r,...o}=e;if(n)return m.createElement(GG,{as:t,id:n,...o},r);let a=t,{as:l,...s}=e;return m.createElement(a,{...fe(s,t)})},I3=k3.reduce((e,t)=>({...e,[t]:n=>m.createElement(bf,{as:t,...n})}),{}),qG=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(W3`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' This is often caused by not wrapping the child in a template string. This is invalid: @@ -557,4 +557,4 @@ ${t}`);let n=t.match(ZO);if(!n)return m.createElement(i.Fragment,null,t);let[,r, A paragraph \`} - `);return m.createElement(jy,{...e,options:{forceBlock:!0,overrides:{code:R3,a:_3,...I3,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},KG=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(KG||{}),YG=e=>{var t,n,r,o,a,l,s,c;switch(e.type){case"story":return((n=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:n.story)||null;case"meta":{let{parameters:u,component:d}=e.preparedMeta;return((o=(r=u.docs)==null?void 0:r.description)==null?void 0:o.component)||((l=(a=u.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,d,{component:d,parameters:u}))||null}case"component":{let{component:u,projectAnnotations:{parameters:d}}=e;return((c=(s=d.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,u,{component:u,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Z0=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=eo(t||"meta"),r=YG(n);return r?m.createElement(qG,null,r):null},XG=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ZG=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),QG=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),JG=({title:e})=>e===null?null:typeof e=="string"?m.createElement(QG,null,e):e,eq=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:o,unsafeTocbotOptions:a})=>(i.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:r??".sbdocs-content",headingSelector:n??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},s=setTimeout(()=>KU(l),100);return()=>{clearTimeout(s),e3()}},[t]),m.createElement(m.Fragment,null,m.createElement(XG,null,t?null:m.createElement(ZG,null,m.createElement(JG,{title:e||null}),m.createElement("div",{className:"toc-wrapper"}))))),{document:tq,window:nq}=xt,rq=({context:e,theme:t,children:n})=>{var o,a,l,s,c;let r;try{r=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{r=(c=(s=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return i.useEffect(()=>{let u;try{if(u=new URL(nq.parent.location.toString()),u.hash){let d=tq.getElementById(u.hash.substring(1));d&&setTimeout(()=>{kG(d)},200)}}catch{}}),m.createElement(Ht.Provider,{value:e},m.createElement(IG,{channel:e.channel},m.createElement(Ov,{theme:G8(t)},m.createElement(dV,{toc:r?m.createElement(eq,{className:"sbdocs sbdocs-toc--custom",...r}):null},n))))},oq=/\s*\/\s*/,aq=e=>{let t=e.trim().split(oq);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},lq=e=>{let{children:t,of:n}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r;try{r=eo(n||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||aq(r==null?void 0:r.title);return o?m.createElement(iV,{className:"sbdocs-title sb-unstyled"},o):null},iq="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",sq=e=>{let{of:t,children:n}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r;try{r=eo(t||"meta",["meta"]).preparedMeta}catch(s){if(n&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:o,docs:a}=(r==null?void 0:r.parameters)||{};o&&QU(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${iq}`);let l=n||(a==null?void 0:a.subtitle)||o;return l?m.createElement(sV,{className:"sbdocs-subtitle sb-unstyled"},l):null},cq=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return m.createElement(U1,null,e);let n=globalThis.encodeURIComponent(e.toLowerCase());return m.createElement(bf,{as:"h3",id:n},e)},A3=({of:e,expanded:t=!0,withToolbar:n=!1,__forceInitialArgs:r=!1,__primary:o=!1})=>{var s,c;let{story:a}=eo(e||"story",["story"]),l=((c=(s=a.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??n;return m.createElement(b3,{storyId:a.id},t&&m.createElement(m.Fragment,null,m.createElement(cq,null,a.name),m.createElement(Z0,{of:e})),m.createElement(NG,{of:e,withToolbar:l,story:{__forceInitialArgs:r,__primary:o},source:{__forceInitialArgs:r}}))},uq=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:n}=eo(t||"meta",["meta"]),r=i.useContext(Ht).componentStoriesFromCSFFile(n)[0];return r?m.createElement(A3,{of:r.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},dq=({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return m.createElement(H1,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return m.createElement(bf,{as:"h2",id:r,...n},e)},fq=k(dq)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),pq=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:n,projectAnnotations:r,getStoryContext:o}=i.useContext(Ht),a=n(),{stories:{filter:l}={filter:void 0}}=((s=r.parameters)==null?void 0:s.docs)||{};return l&&(a=a.filter(c=>l(c,o(c)))),a.some(c=>{var u;return(u=c.tags)==null?void 0:u.includes("autodocs")})&&(a=a.filter(c=>{var u;return(u=c.tags)==null?void 0:u.includes("autodocs")})),t||(a=a.slice(1)),!a||a.length===0?null:m.createElement(m.Fragment,null,m.createElement(fq,null,e),a.map(c=>c&&m.createElement(A3,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},hq=()=>{let e=eo("meta",["meta"]),{stories:t}=e.csfFile,n=Object.keys(t).length===1;return m.createElement(m.Fragment,null,m.createElement(lq,null),m.createElement(sq,null),m.createElement(Z0,{of:"meta"}),n?m.createElement(Z0,{of:"story"}):null,m.createElement(uq,null),m.createElement(HG,null),n?null:m.createElement(pq,null))};function mq({context:e,docsParameter:t}){let n=t.container||rq,r=t.page||hq;return m.createElement(n,{context:e,theme:t.theme},m.createElement(r,null))}var Iq=({of:e})=>{let t=i.useContext(Ht);e&&t.referenceMeta(e,!0);try{let n=t.storyById();return m.createElement(b3,{storyId:n.id})}catch{return null}},gq={code:R3,a:_3,...I3},vq=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:m.createElement(m.Fragment,null,t)}},Aq=class{constructor(){this.render=async(e,t,n)=>{let r={...gq,...t==null?void 0:t.components},o=mq;return new Promise((a,l)=>{ar(async()=>{const{MDXProvider:s}=await import("./index-eT7HiqpQ.js");return{MDXProvider:s}},__vite__mapDeps([9,10,1,2,3,4,5]),import.meta.url).then(({MDXProvider:s})=>w6(m.createElement(vq,{showException:l,key:Math.random()},m.createElement(s,{components:r},m.createElement(o,{context:e,docsParameter:t}))),n)).then(()=>a())})},this.unmount=e=>{b6(e)}}};export{Aq as D,oa as F,Iq as M,m as R,g1 as S,PT as T,US as W,p9 as a,HS as b,a2 as c,gq as d,qG as e,_T as f,LC as g,jt as h,Z as j,Xr as m,k as n,i as r,Cq as s}; + `);return m.createElement(jy,{...e,options:{forceBlock:!0,overrides:{code:R3,a:_3,...I3,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},KG=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(KG||{}),YG=e=>{var t,n,r,o,a,l,s,c;switch(e.type){case"story":return((n=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:n.story)||null;case"meta":{let{parameters:u,component:d}=e.preparedMeta;return((o=(r=u.docs)==null?void 0:r.description)==null?void 0:o.component)||((l=(a=u.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,d,{component:d,parameters:u}))||null}case"component":{let{component:u,projectAnnotations:{parameters:d}}=e;return((c=(s=d.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,u,{component:u,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Z0=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=eo(t||"meta"),r=YG(n);return r?m.createElement(qG,null,r):null},XG=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ZG=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),QG=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),JG=({title:e})=>e===null?null:typeof e=="string"?m.createElement(QG,null,e):e,eq=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:o,unsafeTocbotOptions:a})=>(i.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:r??".sbdocs-content",headingSelector:n??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},s=setTimeout(()=>KU(l),100);return()=>{clearTimeout(s),e3()}},[t]),m.createElement(m.Fragment,null,m.createElement(XG,null,t?null:m.createElement(ZG,null,m.createElement(JG,{title:e||null}),m.createElement("div",{className:"toc-wrapper"}))))),{document:tq,window:nq}=xt,rq=({context:e,theme:t,children:n})=>{var o,a,l,s,c;let r;try{r=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{r=(c=(s=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return i.useEffect(()=>{let u;try{if(u=new URL(nq.parent.location.toString()),u.hash){let d=tq.getElementById(u.hash.substring(1));d&&setTimeout(()=>{kG(d)},200)}}catch{}}),m.createElement(Ht.Provider,{value:e},m.createElement(IG,{channel:e.channel},m.createElement(Ov,{theme:G8(t)},m.createElement(dV,{toc:r?m.createElement(eq,{className:"sbdocs sbdocs-toc--custom",...r}):null},n))))},oq=/\s*\/\s*/,aq=e=>{let t=e.trim().split(oq);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},lq=e=>{let{children:t,of:n}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r;try{r=eo(n||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||aq(r==null?void 0:r.title);return o?m.createElement(iV,{className:"sbdocs-title sb-unstyled"},o):null},iq="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",sq=e=>{let{of:t,children:n}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r;try{r=eo(t||"meta",["meta"]).preparedMeta}catch(s){if(n&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:o,docs:a}=(r==null?void 0:r.parameters)||{};o&&QU(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${iq}`);let l=n||(a==null?void 0:a.subtitle)||o;return l?m.createElement(sV,{className:"sbdocs-subtitle sb-unstyled"},l):null},cq=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return m.createElement(U1,null,e);let n=globalThis.encodeURIComponent(e.toLowerCase());return m.createElement(bf,{as:"h3",id:n},e)},A3=({of:e,expanded:t=!0,withToolbar:n=!1,__forceInitialArgs:r=!1,__primary:o=!1})=>{var s,c;let{story:a}=eo(e||"story",["story"]),l=((c=(s=a.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??n;return m.createElement(b3,{storyId:a.id},t&&m.createElement(m.Fragment,null,m.createElement(cq,null,a.name),m.createElement(Z0,{of:e})),m.createElement(NG,{of:e,withToolbar:l,story:{__forceInitialArgs:r,__primary:o},source:{__forceInitialArgs:r}}))},uq=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:n}=eo(t||"meta",["meta"]),r=i.useContext(Ht).componentStoriesFromCSFFile(n)[0];return r?m.createElement(A3,{of:r.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},dq=({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return m.createElement(H1,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return m.createElement(bf,{as:"h2",id:r,...n},e)},fq=k(dq)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),pq=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:n,projectAnnotations:r,getStoryContext:o}=i.useContext(Ht),a=n(),{stories:{filter:l}={filter:void 0}}=((s=r.parameters)==null?void 0:s.docs)||{};return l&&(a=a.filter(c=>l(c,o(c)))),a.some(c=>{var u;return(u=c.tags)==null?void 0:u.includes("autodocs")})&&(a=a.filter(c=>{var u;return(u=c.tags)==null?void 0:u.includes("autodocs")})),t||(a=a.slice(1)),!a||a.length===0?null:m.createElement(m.Fragment,null,m.createElement(fq,null,e),a.map(c=>c&&m.createElement(A3,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},hq=()=>{let e=eo("meta",["meta"]),{stories:t}=e.csfFile,n=Object.keys(t).length===1;return m.createElement(m.Fragment,null,m.createElement(lq,null),m.createElement(sq,null),m.createElement(Z0,{of:"meta"}),n?m.createElement(Z0,{of:"story"}):null,m.createElement(uq,null),m.createElement(HG,null),n?null:m.createElement(pq,null))};function mq({context:e,docsParameter:t}){let n=t.container||rq,r=t.page||hq;return m.createElement(n,{context:e,theme:t.theme},m.createElement(r,null))}var Iq=({of:e})=>{let t=i.useContext(Ht);e&&t.referenceMeta(e,!0);try{let n=t.storyById();return m.createElement(b3,{storyId:n.id})}catch{return null}},gq={code:R3,a:_3,...I3},vq=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:m.createElement(m.Fragment,null,t)}},Aq=class{constructor(){this.render=async(e,t,n)=>{let r={...gq,...t==null?void 0:t.components},o=mq;return new Promise((a,l)=>{ar(async()=>{const{MDXProvider:s}=await import("./index-D4_ppHOJ.js");return{MDXProvider:s}},__vite__mapDeps([9,10,1,2,3,4,5]),import.meta.url).then(({MDXProvider:s})=>w6(m.createElement(vq,{showException:l,key:Math.random()},m.createElement(s,{components:r},m.createElement(o,{context:e,docsParameter:t}))),n)).then(()=>a())})},this.unmount=e=>{b6(e)}}};export{Aq as D,oa as F,Iq as M,m as R,g1 as S,PT as T,US as W,p9 as a,HS as b,a2 as c,gq as d,qG as e,_T as f,LC as g,jt as h,Z as j,Xr as m,k as n,i as r,Cq as s}; diff --git a/docs/assets/combobox.stories-CBPcssUB.js b/docs/assets/combobox.stories-DyaLClv4.js similarity index 98% rename from docs/assets/combobox.stories-CBPcssUB.js rename to docs/assets/combobox.stories-DyaLClv4.js index 59c56e522..0012afdad 100644 --- a/docs/assets/combobox.stories-CBPcssUB.js +++ b/docs/assets/combobox.stories-DyaLClv4.js @@ -1,4 +1,4 @@ -import{b as B,a as A}from"./utils-DWCsNc5l.js";import{t as x}from"./index-CCz6reEH.js";import{C as M}from"./index-BGEIR460.js";import{r as v,b as G,d as w,t as L}from"./registry-B-klnak9.js";import{i as E,r as N}from"./attr-tag-DphMQldM.js";import{_ as R}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-htxwKVWG.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-ClSYtjPE.js";import"./index-C98gAawF.js";/* empty css */import"./index-BJBnaEG2.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const P=`

+import{b as B,a as A}from"./utils-DWCsNc5l.js";import{t as x}from"./index-CCz6reEH.js";import{C as M}from"./index-DM9aGRhG.js";import{r as v,b as G,d as w,t as L}from"./registry-B-klnak9.js";import{i as E,r as N}from"./attr-tag-DphMQldM.js";import{_ as R}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-htxwKVWG.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-CL0domC_.js";import"./index-Bd083XES.js";/* empty css */import"./index-BrKjH8jr.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const P=`

ebay-combobox diff --git a/docs/assets/confirm-dialog.stories-DYnDMcBc.js b/docs/assets/confirm-dialog.stories-CbghC2Cx.js similarity index 94% rename from docs/assets/confirm-dialog.stories-DYnDMcBc.js rename to docs/assets/confirm-dialog.stories-CbghC2Cx.js index 5ce542d15..b37a6d7f8 100644 --- a/docs/assets/confirm-dialog.stories-DYnDMcBc.js +++ b/docs/assets/confirm-dialog.stories-CbghC2Cx.js @@ -1,4 +1,4 @@ -import{a as z}from"./utils-DWCsNc5l.js";import{r as I,b as w,d as x,t as T}from"./registry-B-klnak9.js";import{_ as t}from"./dynamic-tag-DQCvkDdb.js";import{i as $,a as y}from"./attr-tag-DphMQldM.js";import{_ as G}from"./const-element-Usj7mXQw.js";import{_ as b}from"./index-BVSy80fu.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as K}from"./index-DX0IFE80.js";import{_ as N}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const U=`

+import{a as z}from"./utils-DWCsNc5l.js";import{r as I,b as w,d as x,t as T}from"./registry-B-klnak9.js";import{_ as t}from"./dynamic-tag-DQCvkDdb.js";import{i as $,a as y}from"./attr-tag-DphMQldM.js";import{_ as G}from"./const-element-Usj7mXQw.js";import{_ as b}from"./index-BXYtdDDf.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as K}from"./index-DubLym3o.js";import{_ as N}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";/* empty css */import"./index-A0egsrj7.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const U=`

ebay-confirm-dialog diff --git a/docs/assets/contributing-CZmh6vxj.js b/docs/assets/contributing-D7X-yx2t.js similarity index 99% rename from docs/assets/contributing-CZmh6vxj.js rename to docs/assets/contributing-D7X-yx2t.js index 16e5770ba..47f924025 100644 --- a/docs/assets/contributing-CZmh6vxj.js +++ b/docs/assets/contributing-D7X-yx2t.js @@ -1,4 +1,4 @@ -import{j as e,M as a,e as s}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";const i=`# Contributing +import{j as e,M as a,e as s}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";const i=`# Contributing This page contains instructions and guidelines for anybody contributing code to the eBayUI project. diff --git a/docs/assets/cta-button.stories-DTmExRqz.js b/docs/assets/cta-button.stories-zHXO9DML.js similarity index 94% rename from docs/assets/cta-button.stories-DTmExRqz.js rename to docs/assets/cta-button.stories-zHXO9DML.js index c4f3fe5dc..815da364c 100644 --- a/docs/assets/cta-button.stories-DTmExRqz.js +++ b/docs/assets/cta-button.stories-zHXO9DML.js @@ -1,4 +1,4 @@ -import{t as y}from"./index-CCz6reEH.js";import{t as _,r as g,b as f,e as h,p as k,f as B,d as x}from"./registry-B-klnak9.js";import{_ as C}from"./dynamic-tag-DQCvkDdb.js";import{_ as S}from"./index-BRJKYh5S.js";import{_ as w}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const T=`

+import{t as y}from"./index-CCz6reEH.js";import{t as _,r as g,b as f,e as h,p as k,f as B,d as x}from"./registry-B-klnak9.js";import{_ as C}from"./dynamic-tag-DQCvkDdb.js";import{_ as S}from"./index-DrGqiT1g.js";import{_ as w}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const T=`

ebay-cta-button diff --git a/docs/assets/date-textbox.stories-CCn7bIxe.js b/docs/assets/date-textbox.stories-SnQghyoO.js similarity index 96% rename from docs/assets/date-textbox.stories-CCn7bIxe.js rename to docs/assets/date-textbox.stories-SnQghyoO.js index 5f2f4e053..84410d217 100644 --- a/docs/assets/date-textbox.stories-CCn7bIxe.js +++ b/docs/assets/date-textbox.stories-SnQghyoO.js @@ -1,4 +1,4 @@ -import{b as I,a as ne}from"./utils-DWCsNc5l.js";import{t as oe}from"./index-CCz6reEH.js";import{t as v,r as _,b as T,d as C}from"./registry-B-klnak9.js";import{p as re,g as le,a as se,f as ie}from"./index-D60qjx8S.js";import{C as L}from"./index-Q81l85Tz.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as de}from"./index-CZeCUh5D.js";import{i as E,a as g}from"./attr-tag-DphMQldM.js";import{_ as ce}from"./index-C_i8Cqa-.js";import{d as J,_ as pe}from"./index-7ZDkJHis.js";import{s as me}from"./index-D7B88Psz.js";import{_ as ue}from"./empty-component-BCB5DEsP.js";import{_ as be}from"./index-BVSy80fu.js";import{_ as he}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-C98gAawF.js";import"./index-BymJntAB.js";import"./index-Bs-h47tU.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const fe=`

+import{b as I,a as ne}from"./utils-DWCsNc5l.js";import{t as oe}from"./index-CCz6reEH.js";import{t as v,r as _,b as T,d as C}from"./registry-B-klnak9.js";import{p as re,g as le,a as se,f as ie}from"./index-D60qjx8S.js";import{C as L}from"./index-Bg1Oh5yv.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as de}from"./index-MdNKbsz5.js";import{i as E,a as g}from"./attr-tag-DphMQldM.js";import{_ as ce}from"./index-C_i8Cqa-.js";import{d as J,_ as pe}from"./index-m-NM9nG-.js";import{s as me}from"./index-D7B88Psz.js";import{_ as ue}from"./empty-component-BCB5DEsP.js";import{_ as be}from"./index-BXYtdDDf.js";import{_ as he}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-Bd083XES.js";import"./index-Dm8ZZf1k.js";import"./index-C4ES2whh.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const fe=`

ebay-date-textbox diff --git a/docs/assets/details.stories-DwxLvVTK.js b/docs/assets/details.stories-CGYmXH7n.js similarity index 96% rename from docs/assets/details.stories-DwxLvVTK.js rename to docs/assets/details.stories-CGYmXH7n.js index 01b07afdf..511614705 100644 --- a/docs/assets/details.stories-DwxLvVTK.js +++ b/docs/assets/details.stories-CGYmXH7n.js @@ -1,4 +1,4 @@ -import{t as v}from"./index-CCz6reEH.js";import{t as E,r as S,b as T,e as B,p as D,f as l,d as q}from"./registry-B-klnak9.js";import{_ as C}from"./index-BJBnaEG2.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{_ as r}from"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const z=`

+import{t as v}from"./index-CCz6reEH.js";import{t as E,r as S,b as T,e as B,p as D,f as l,d as q}from"./registry-B-klnak9.js";import{_ as C}from"./index-BrKjH8jr.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{_ as r}from"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const z=`

ebay-details diff --git a/docs/assets/dialogs-Dt8t0Cvv.js b/docs/assets/dialogs-B6YPgVVJ.js similarity index 84% rename from docs/assets/dialogs-Dt8t0Cvv.js rename to docs/assets/dialogs-B6YPgVVJ.js index 51d3eb055..b1b8fa52e 100644 --- a/docs/assets/dialogs-Dt8t0Cvv.js +++ b/docs/assets/dialogs-B6YPgVVJ.js @@ -1,3 +1,3 @@ -import{j as t,M as i}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...r(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"dialogs/Overview"}),` +import{j as t,M as i}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...r(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"dialogs/Overview"}),` `,t.jsx(o.h1,{id:"dialog-components",children:"Dialog Components"}),` `,t.jsx(o.p,{children:"Dialogs are components that demand attention from the user by obscuring their view until they are closed or an action is performed."})]})}function h(n={}){const{wrapper:o}={...r(),...n.components};return o?t.jsx(o,{...n,children:t.jsx(e,{...n})}):e(n)}export{h as default}; diff --git a/docs/assets/drawer-dialog.stories-DUd6X2_b.js b/docs/assets/drawer-dialog.stories-DepTCJtg.js similarity index 96% rename from docs/assets/drawer-dialog.stories-DUd6X2_b.js rename to docs/assets/drawer-dialog.stories-DepTCJtg.js index 6e3a9c35e..a549ca454 100644 --- a/docs/assets/drawer-dialog.stories-DUd6X2_b.js +++ b/docs/assets/drawer-dialog.stories-DepTCJtg.js @@ -1,4 +1,4 @@ -import{a as v}from"./utils-DWCsNc5l.js";import{r as y,b as g,d as f,t as x}from"./registry-B-klnak9.js";import{_ as b}from"./dynamic-tag-DQCvkDdb.js";import{i as S,a as $}from"./attr-tag-DphMQldM.js";import{_ as R}from"./index-DX0IFE80.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./index-BVSy80fu.js";import{_ as q}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const V=`

+import{a as v}from"./utils-DWCsNc5l.js";import{r as y,b as g,d as f,t as x}from"./registry-B-klnak9.js";import{_ as b}from"./dynamic-tag-DQCvkDdb.js";import{i as S,a as $}from"./attr-tag-DphMQldM.js";import{_ as R}from"./index-DubLym3o.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./index-BXYtdDDf.js";import{_ as q}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const V=`

ebay-drawer-dialog diff --git a/docs/assets/education-notice.stories-DNPzfdr9.js b/docs/assets/education-notice.stories-RlYXmca4.js similarity index 94% rename from docs/assets/education-notice.stories-DNPzfdr9.js rename to docs/assets/education-notice.stories-RlYXmca4.js index 56dc5bb98..f5c7edd02 100644 --- a/docs/assets/education-notice.stories-DNPzfdr9.js +++ b/docs/assets/education-notice.stories-RlYXmca4.js @@ -1,4 +1,4 @@ -import{t as nt}from"./index-CCz6reEH.js";import{b as $,a as it}from"./utils-DWCsNc5l.js";import{t as _,r as b,b as f,d as h}from"./registry-B-klnak9.js";/* empty css */import{_ as at}from"./index-DGqSaLp8.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as a}from"./const-element-Usj7mXQw.js";import{i as w,a as m}from"./attr-tag-DphMQldM.js";import{_ as st}from"./index-B3D3pI-7.js";import{_ as rt,a as ct}from"./index-CxC0bwrZ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-BEWuf5iQ.js";import"./index-C98gAawF.js";import"./index-HhsN8ych.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-Cm_Gb0Br.js";import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const mt=`

+import{t as nt}from"./index-CCz6reEH.js";import{b as $,a as it}from"./utils-DWCsNc5l.js";import{t as _,r as b,b as f,d as h}from"./registry-B-klnak9.js";/* empty css */import{_ as at}from"./index-DMrvDz2r.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as a}from"./const-element-Usj7mXQw.js";import{i as w,a as m}from"./attr-tag-DphMQldM.js";import{_ as st}from"./index-B3D3pI-7.js";import{_ as rt,a as ct}from"./index-CR9b14aq.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DYM8JJUZ.js";import"./index-Bd083XES.js";import"./index-Dm3YPrSu.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-A0egsrj7.js";import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const mt=`

ebay-education-notice diff --git a/docs/assets/eek.stories-C2zyg3-_.js b/docs/assets/eek.stories-Ys2p2Cxd.js similarity index 98% rename from docs/assets/eek.stories-C2zyg3-_.js rename to docs/assets/eek.stories-Ys2p2Cxd.js index f3502b746..87929f928 100644 --- a/docs/assets/eek.stories-C2zyg3-_.js +++ b/docs/assets/eek.stories-Ys2p2Cxd.js @@ -1,4 +1,4 @@ -import{t as Aa}from"./index-CCz6reEH.js";import{t as k,r as y,b as d,e as ga,p as xa,g as la,f as ba,d as c}from"./registry-B-klnak9.js";import{_ as ka,a as ya}from"./index-5UVztxxq.js";import{_ as e}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const da=`

+import{t as Aa}from"./index-CCz6reEH.js";import{t as k,r as y,b as d,e as ga,p as xa,g as la,f as ba,d as c}from"./registry-B-klnak9.js";import{_ as ka,a as ya}from"./index-C2jaGHEc.js";import{_ as e}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const da=`

ebay-eek diff --git a/docs/assets/fake-menu-button.stories-BaKYemdR.js b/docs/assets/fake-menu-button.stories-EwEBjSXb.js similarity index 94% rename from docs/assets/fake-menu-button.stories-BaKYemdR.js rename to docs/assets/fake-menu-button.stories-EwEBjSXb.js index d633cca19..1d315c174 100644 --- a/docs/assets/fake-menu-button.stories-BaKYemdR.js +++ b/docs/assets/fake-menu-button.stories-EwEBjSXb.js @@ -1,4 +1,4 @@ -import{t as A}from"./index-CCz6reEH.js";import{b as y,a as F}from"./utils-DWCsNc5l.js";import{r as h,b as f,d as g,t as x}from"./registry-B-klnak9.js";import{_ as H}from"./index-CylBVrvT.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";import{i as k,a as W,r as o}from"./attr-tag-DphMQldM.js";import{_ as b}from"./index-Dk4iJuw6.js";import{_ as O}from"./const-element-Usj7mXQw.js";import{_ as P}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css *//* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-BVSy80fu.js";import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";import"./index-D9HHMyPY.js";import"./index-BJBnaEG2.js";import"./index-NxVnpuOT.js";/* empty css */import"./index-BHuZwrkj.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const Z=`

+import{t as A}from"./index-CCz6reEH.js";import{b as y,a as F}from"./utils-DWCsNc5l.js";import{r as h,b as f,d as g,t as x}from"./registry-B-klnak9.js";import{_ as H}from"./index-59xVm8Y_.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";import{i as k,a as W,r as o}from"./attr-tag-DphMQldM.js";import{_ as b}from"./index-Cmn-Eq35.js";import{_ as O}from"./const-element-Usj7mXQw.js";import{_ as P}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css *//* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-BXYtdDDf.js";import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";import"./index-jqtmgouX.js";import"./index-BrKjH8jr.js";import"./index-Dm0pQJFf.js";/* empty css */import"./index-DO9To3q6.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const Z=`

ebay-fake-menu-button diff --git a/docs/assets/fake-menu.stories-BcG1RaIZ.js b/docs/assets/fake-menu.stories-Bz0UHlb0.js similarity index 98% rename from docs/assets/fake-menu.stories-BcG1RaIZ.js rename to docs/assets/fake-menu.stories-Bz0UHlb0.js index 6b63e44aa..a9bb613a6 100644 --- a/docs/assets/fake-menu.stories-BcG1RaIZ.js +++ b/docs/assets/fake-menu.stories-Bz0UHlb0.js @@ -1,4 +1,4 @@ -import{b as h,a as W}from"./utils-DWCsNc5l.js";import{t as q}from"./index-CCz6reEH.js";import{C as y}from"./index-NxVnpuOT.js";import{r as b,b as g,d as f,t as k}from"./registry-B-klnak9.js";import{i as _,r}from"./attr-tag-DphMQldM.js";import{_ as x}from"./render-tag-BBOJ9dEX.js";import{_ as n}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-BHuZwrkj.js";import"./index-C98gAawF.js";/* empty css */import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const G=`

+import{b as h,a as W}from"./utils-DWCsNc5l.js";import{t as q}from"./index-CCz6reEH.js";import{C as y}from"./index-Dm0pQJFf.js";import{r as b,b as g,d as f,t as k}from"./registry-B-klnak9.js";import{i as _,r}from"./attr-tag-DphMQldM.js";import{_ as x}from"./render-tag-BBOJ9dEX.js";import{_ as n}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-DO9To3q6.js";import"./index-Bd083XES.js";/* empty css */import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const G=`

ebay-fake-menu diff --git a/docs/assets/filter-menu-button-8dt_F16f.css b/docs/assets/filter-menu-button-8dt_F16f.css deleted file mode 100644 index ab20f77e1..000000000 --- a/docs/assets/filter-menu-button-8dt_F16f.css +++ /dev/null @@ -1 +0,0 @@ -:root{--bubble-shadow: 0 2px 7px rgba(0, 0, 0, .15), 0 5px 17px rgba(0, 0, 0, .2)}div.filter-group{display:flex;flex-wrap:wrap}span.filter-menu-button{display:inline-block;position:relative}span.filter-menu-button+span.filter-menu-button{margin-left:8px}button.filter-menu-button__button{align-items:center;background-color:var( --filter-button-background-color, var(--color-background-secondary) );border:1px solid transparent;border-color:var( --filter-button-selected-border-color, var(--color-stroke-default) );border-radius:16px;box-sizing:border-box;color:var( --filter-button-foreground-color, var(--color-foreground-primary) );display:inline-flex;flex:0 1 auto;flex-direction:column;font-family:inherit;font-size:var(--font-size-default);height:32px;justify-content:center;margin:0;max-width:280px;min-width:56px;padding:0 var(--spacing-200);text-align:center;text-decoration:none;vertical-align:bottom}button.filter-menu-button__button+button.filter-menu-button__button{margin-left:8px}button.filter-menu-button__button:active,button.filter-menu-button__button:focus,button.filter-menu-button__button:hover{background-color:var( --filter-button-background-color, var(--color-state-secondary-hover) )}.filter-menu-button__button-cell{display:flex}.filter-menu-button__button-cell svg.icon--chevron-down-12{align-self:center;color:var( --filter-menu-button-icon-color, var(--color-foreground-primary) );-webkit-margin-start:8px;margin-inline-start:8px}.filter-menu-button__button-text{display:inline-block;max-width:238px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-menu-button__button[aria-expanded=true] svg.icon{transform:rotate(180deg)}button.filter-menu-button__button[aria-pressed=true]{border-color:var( --filter-button-foreground-color, var(--color-stroke-strong) );font-weight:700}button.filter-menu-button__button[aria-disabled=true],button.filter-menu-button__button[aria-pressed=true][aria-disabled=true],button.filter-menu-button__button[aria-pressed=true][disabled],button.filter-menu-button__button[disabled]{color:var( --filter-button-disabled-foreground-color, var(--color-background-disabled) );font-weight:400}button.filter-menu-button__button[aria-disabled=true]:focus,button.filter-menu-button__button[aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:focus,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][disabled]:focus,button.filter-menu-button__button[aria-pressed=true][disabled]:hover,button.filter-menu-button__button[disabled]:focus,button.filter-menu-button__button[disabled]:hover{background-color:var( --filter-button-background-color, var(--color-background-secondary) );color:var( --filter-button-disabled-foreground-color, var(--color-background-disabled) )}button.filter-menu-button__button[aria-disabled=true] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[aria-pressed=true][disabled] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[disabled] .filter-menu-button__button-cell>svg.icon{color:var( --filter-button-disabled-foreground-color, var(--color-foreground-disabled) )}button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][disabled]:hover{background-color:var( --filter-button-selected-background-color, var(--color-background-secondary) )}.filter-menu-button__menu{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-radius:16px;box-shadow:var(--bubble-shadow);display:none;max-width:288px;min-width:144px;overflow:hidden;position:absolute;top:calc(100% + 8px);width:max-content;z-index:1}button.filter-menu-button__button[aria-expanded=true]+.filter-menu-button__menu{display:block}.filter-menu-button__items{margin-top:8px;max-height:calc(50vh - 40px);min-width:100%;overflow-y:auto;position:relative;transform:translateZ(0)}span.filter-menu-button__items{display:inline-block}span.filter-menu-button__checkbox,span.filter-menu-button__radio{display:block;flex-shrink:1;height:18px;min-width:18px;width:18px}span.filter-menu-button__checkbox svg.icon--checkbox-unchecked-18{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) );display:block;height:18px;width:18px}span.filter-menu-button__checkbox svg.icon--checkbox-checked-18{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) );display:none;height:18px;width:18px}span.filter-menu-button__radio svg.icon--radio-unchecked-18{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-primary) );display:block;height:18px;width:18px}span.filter-menu-button__radio svg.icon--radio-checked-18{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) );display:none;height:18px;width:18px}.filter-menu-button__item{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;outline-offset:-4px;padding:8px 16px;width:100%}.filter-menu-button__item:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}.filter-menu-button__item:disabled,.filter-menu-button__item[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}.filter-menu-button__item:disabled span>svg,.filter-menu-button__item[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}.filter-menu-button__item:disabled:hover,.filter-menu-button__item[aria-disabled=true]:hover{background-color:inherit}.filter-menu-button__item:hover{background-color:var(--color-state-primary-hover)}.filter-menu-button__item:last-child{margin-bottom:8px}.filter-menu-button__item span.checkbox,.filter-menu-button__item span.radio{align-items:flex-start;display:flex;flex-shrink:1;justify-content:center}.filter-menu-button__item svg.checkbox__unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) )}.filter-menu-button__item svg.checkbox__checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}.filter-menu-button__item svg.radio__unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) )}.filter-menu-button__item svg.radio__checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}span.filter-menu-button__item{display:block}button.filter-menu-button__footer{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-color:var(--filter-menu-border-color, var(--color-stroke-subtle));border-top-style:solid;border-top-width:1px;bottom:0;box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;outline-offset:-10;padding:16px;transform:translateZ(0);width:100%}button.filter-menu-button__footer:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}button.filter-menu-button__footer:disabled,button.filter-menu-button__footer[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-button__footer:disabled span>svg,button.filter-menu-button__footer[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-button__footer:disabled:hover,button.filter-menu-button__footer[aria-disabled=true]:hover{background-color:inherit}button.filter-menu-button__footer:focus,button.filter-menu-button__footer:hover{background-color:var(--color-state-primary-hover)}.filter-menu-button__text{flex-grow:1;margin-left:8px}.filter-menu-button__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checkbox-unchecked-18{display:none}.filter-menu-button__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checkbox-checked-18{display:block}.filter-menu-button__item[role=menuitemradio][aria-checked=true] svg.icon--radio-unchecked-18{display:none}.filter-menu-button__item[role=menuitemradio][aria-checked=true] svg.icon--radio-checked-18{display:block}div.filter-menu-button__item[role^=menuitem]:focus:not(:focus-visible){outline:none}[dir=rtl] .filter-menu-button__checkbox{margin-left:8px} diff --git a/docs/assets/filter-menu-button-B7WBh2AF.css b/docs/assets/filter-menu-button-B7WBh2AF.css new file mode 100644 index 000000000..cf80af5a9 --- /dev/null +++ b/docs/assets/filter-menu-button-B7WBh2AF.css @@ -0,0 +1 @@ +:root{--bubble-shadow: 0 2px 7px rgba(0, 0, 0, .15), 0 5px 17px rgba(0, 0, 0, .2)}div.filter-group{display:flex;flex-wrap:wrap}span.filter-menu-button{display:inline-block;position:relative}span.filter-menu-button+span.filter-menu-button{margin-left:8px}button.filter-menu-button__button{align-items:center;background-color:var( --filter-button-background-color, var(--color-background-secondary) );border:1px solid transparent;border-color:var( --filter-button-selected-border-color, var(--color-stroke-default) );border-radius:16px;box-sizing:border-box;color:var( --filter-button-foreground-color, var(--color-foreground-primary) );display:inline-flex;flex:0 1 auto;flex-direction:column;font-family:inherit;font-size:var(--font-size-default);height:32px;justify-content:center;margin:0;max-width:280px;min-width:56px;padding:0 var(--spacing-200);text-align:center;text-decoration:none;vertical-align:bottom}button.filter-menu-button__button+button.filter-menu-button__button{margin-left:8px}button.filter-menu-button__button:active,button.filter-menu-button__button:focus,button.filter-menu-button__button:hover{background-color:var( --filter-button-background-color, var(--color-state-secondary-hover) )}.filter-menu-button__button-cell{display:flex}.filter-menu-button__button-cell svg.icon--12{align-self:center;color:var( --filter-menu-button-icon-color, var(--color-foreground-primary) );-webkit-margin-start:8px;margin-inline-start:8px}.filter-menu-button__button-text{display:inline-block;max-width:238px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-menu-button__button[aria-expanded=true] svg.icon{transform:rotate(180deg)}button.filter-menu-button__button[aria-pressed=true]{border-color:var( --filter-button-foreground-color, var(--color-stroke-strong) );font-weight:700}button.filter-menu-button__button[aria-disabled=true],button.filter-menu-button__button[aria-pressed=true][aria-disabled=true],button.filter-menu-button__button[aria-pressed=true][disabled],button.filter-menu-button__button[disabled]{color:var( --filter-button-disabled-foreground-color, var(--color-background-disabled) );font-weight:400}button.filter-menu-button__button[aria-disabled=true]:focus,button.filter-menu-button__button[aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:focus,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][disabled]:focus,button.filter-menu-button__button[aria-pressed=true][disabled]:hover,button.filter-menu-button__button[disabled]:focus,button.filter-menu-button__button[disabled]:hover{background-color:var( --filter-button-background-color, var(--color-background-secondary) );color:var( --filter-button-disabled-foreground-color, var(--color-background-disabled) )}button.filter-menu-button__button[aria-disabled=true] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[aria-pressed=true][aria-disabled=true] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[aria-pressed=true][disabled] .filter-menu-button__button-cell>svg.icon,button.filter-menu-button__button[disabled] .filter-menu-button__button-cell>svg.icon{color:var( --filter-button-disabled-foreground-color, var(--color-foreground-disabled) )}button.filter-menu-button__button[aria-pressed=true][aria-disabled=true]:hover,button.filter-menu-button__button[aria-pressed=true][disabled]:hover{background-color:var( --filter-button-selected-background-color, var(--color-background-secondary) )}.filter-menu-button__menu{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-radius:16px;box-shadow:var(--bubble-shadow);display:none;max-width:288px;min-width:144px;overflow:hidden;position:absolute;top:calc(100% + 8px);width:max-content;z-index:1}button.filter-menu-button__button[aria-expanded=true]+.filter-menu-button__menu{display:block}.filter-menu-button__items{margin-top:8px;max-height:calc(50vh - 40px);min-width:100%;overflow-y:auto;position:relative;transform:translateZ(0)}span.filter-menu-button__items{display:inline-block}span.filter-menu-button__checkbox,span.filter-menu-button__radio{display:block;flex-shrink:1;height:18px;min-width:18px;width:18px}span.filter-menu-button__checkbox svg.icon--unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) );display:block;height:18px;width:18px}span.filter-menu-button__checkbox svg.icon--checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) );display:none;height:18px;width:18px}span.filter-menu-button__radio svg.icon--unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-primary) );display:block;height:18px;width:18px}span.filter-menu-button__radio svg.icon--checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) );display:none;height:18px;width:18px}.filter-menu-button__item{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;outline-offset:-4px;padding:8px 16px;width:100%}.filter-menu-button__item:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}.filter-menu-button__item:disabled,.filter-menu-button__item[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}.filter-menu-button__item:disabled span>svg,.filter-menu-button__item[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}.filter-menu-button__item:disabled:hover,.filter-menu-button__item[aria-disabled=true]:hover{background-color:inherit}.filter-menu-button__item:hover{background-color:var(--color-state-primary-hover)}.filter-menu-button__item:last-child{margin-bottom:8px}.filter-menu-button__item span.checkbox,.filter-menu-button__item span.radio{align-items:flex-start;display:flex;flex-shrink:1;justify-content:center}.filter-menu-button__item svg.checkbox__unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) )}.filter-menu-button__item svg.checkbox__checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}.filter-menu-button__item svg.radio__unchecked{color:var( --filter-menu-item-unchecked-color, var(--color-foreground-secondary) )}.filter-menu-button__item svg.radio__checked{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}span.filter-menu-button__item{display:block}button.filter-menu-button__footer{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-color:var(--filter-menu-border-color, var(--color-stroke-subtle));border-top-style:solid;border-top-width:1px;bottom:0;box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;outline-offset:-10;padding:16px;transform:translateZ(0);width:100%}button.filter-menu-button__footer:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}button.filter-menu-button__footer:disabled,button.filter-menu-button__footer[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-button__footer:disabled span>svg,button.filter-menu-button__footer[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-button__footer:disabled:hover,button.filter-menu-button__footer[aria-disabled=true]:hover{background-color:inherit}button.filter-menu-button__footer:focus,button.filter-menu-button__footer:hover{background-color:var(--color-state-primary-hover)}.filter-menu-button__text{flex-grow:1;margin-left:8px}.filter-menu-button__item[role=menuitemcheckbox][aria-checked=true] svg.icon--unchecked{display:none}.filter-menu-button__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checked{display:block}.filter-menu-button__item[role=menuitemradio][aria-checked=true] svg.icon--unchecked{display:none}.filter-menu-button__item[role=menuitemradio][aria-checked=true] svg.icon--checked{display:block}div.filter-menu-button__item[role^=menuitem]:focus:not(:focus-visible){outline:none}[dir=rtl] .filter-menu-button__checkbox{margin-left:8px} diff --git a/docs/assets/filter-menu-button.stories-kq68ZK75.js b/docs/assets/filter-menu-button.stories-C7wt8xm7.js similarity index 94% rename from docs/assets/filter-menu-button.stories-kq68ZK75.js rename to docs/assets/filter-menu-button.stories-C7wt8xm7.js index 6482b45dd..a29481c9e 100644 --- a/docs/assets/filter-menu-button.stories-kq68ZK75.js +++ b/docs/assets/filter-menu-button.stories-C7wt8xm7.js @@ -1,4 +1,4 @@ -import{t as E}from"./index-CCz6reEH.js";import{a as W}from"./utils-DWCsNc5l.js";import{t as $,r as z,b as I,e as O,p as j,f as H,d as P}from"./registry-B-klnak9.js";import{_ as Y}from"./index-BJBnaEG2.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import{i as q,r as G,a as y}from"./attr-tag-DphMQldM.js";import{_ as J}from"./dynamic-tag-DQCvkDdb.js";import{C as L}from"./index-DcNSdUWE.js";import{s as Q}from"./index-D7B88Psz.js";import{h as X}from"./index-blmbJU0z.js";import{M as Z,s as ee}from"./index-DYoOQ_vw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-DUtXOaCj.js";/* empty css */import"./index-0_n8TZiB.js";import"./index-D11s4y-0.js";import"./index-Bgyy39_y.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const te=`

+import{t as E}from"./index-CCz6reEH.js";import{a as W}from"./utils-DWCsNc5l.js";import{t as $,r as z,b as I,e as O,p as j,f as H,d as P}from"./registry-B-klnak9.js";import{_ as Y}from"./index-BrKjH8jr.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import{i as q,r as G,a as y}from"./attr-tag-DphMQldM.js";import{_ as J}from"./dynamic-tag-DQCvkDdb.js";import{C as L}from"./index-CvZgtOAC.js";import{s as Q}from"./index-D7B88Psz.js";import{h as X}from"./index-blmbJU0z.js";import{M as Z,s as ee}from"./index-DYoOQ_vw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-XDVM21hZ.js";/* empty css */import"./index-BHD_v1ay.js";import"./index-CbaZ7o5m.js";import"./index-BQLO4xjX.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const te=`

ebay-filter-menu-button diff --git a/docs/assets/filter-menu.stories-BIJ75IGS.js b/docs/assets/filter-menu.stories-BKZGCJVe.js similarity index 89% rename from docs/assets/filter-menu.stories-BIJ75IGS.js rename to docs/assets/filter-menu.stories-BKZGCJVe.js index 27617a40a..124a10b60 100644 --- a/docs/assets/filter-menu.stories-BIJ75IGS.js +++ b/docs/assets/filter-menu.stories-BKZGCJVe.js @@ -1,4 +1,4 @@ -import{t as n}from"./index-CCz6reEH.js";import{a}from"./utils-DWCsNc5l.js";import{C as s}from"./index-DcNSdUWE.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DUtXOaCj.js";/* empty css */import"./index-0_n8TZiB.js";import"./index-C98gAawF.js";/* empty css */import"./render-tag-BBOJ9dEX.js";import"./index-D11s4y-0.js";import"./index-Bgyy39_y.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";const c=`

+import{t as n}from"./index-CCz6reEH.js";import{a}from"./utils-DWCsNc5l.js";import{C as s}from"./index-CvZgtOAC.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-XDVM21hZ.js";/* empty css */import"./index-BHD_v1ay.js";import"./index-Bd083XES.js";/* empty css */import"./render-tag-BBOJ9dEX.js";import"./index-CbaZ7o5m.js";import"./index-BQLO4xjX.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";const c=`

ebay-filter-menu diff --git a/docs/assets/flag.stories-D13z8MuR.js b/docs/assets/flag.stories-NLyd2edY.js similarity index 99% rename from docs/assets/flag.stories-D13z8MuR.js rename to docs/assets/flag.stories-NLyd2edY.js index 4b2968893..83d0de576 100644 --- a/docs/assets/flag.stories-D13z8MuR.js +++ b/docs/assets/flag.stories-NLyd2edY.js @@ -1,4 +1,4 @@ -import{r as a,b as i,d as h,t as p}from"./registry-B-klnak9.js";import{_ as M}from"./index-C98gAawF.js";import{_ as e}from"./render-tag-BBOJ9dEX.js";import{_ as o}from"./const-element-Usj7mXQw.js";import{_ as Me}from"./index-CubThJkA.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */const oe=`

+import{r as a,b as i,d as h,t as p}from"./registry-B-klnak9.js";import{_ as M}from"./index-Bd083XES.js";import{_ as e}from"./render-tag-BBOJ9dEX.js";import{_ as o}from"./const-element-Usj7mXQw.js";import{_ as Me}from"./index-CubThJkA.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */const oe=`

ebay-flag-{country initials} diff --git a/docs/assets/form-input-CbHBHjwb.js b/docs/assets/form-input-DtEIYSCR.js similarity index 83% rename from docs/assets/form-input-CbHBHjwb.js rename to docs/assets/form-input-DtEIYSCR.js index 31fc6e9b9..14f40f1eb 100644 --- a/docs/assets/form-input-CbHBHjwb.js +++ b/docs/assets/form-input-DtEIYSCR.js @@ -1,3 +1,3 @@ -import{j as t,M as s}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(e){const n={h1:"h1",p:"p",...r(),...e.components};return t.jsxs(t.Fragment,{children:[t.jsx(s,{title:"form input/Overview"}),` +import{j as t,M as s}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(e){const n={h1:"h1",p:"p",...r(),...e.components};return t.jsxs(t.Fragment,{children:[t.jsx(s,{title:"form input/Overview"}),` `,t.jsx(n.h1,{id:"form-components",children:"Form Components"}),` `,t.jsx(n.p,{children:"These components are generally classified as fields that may be used as a part of a form."})]})}function l(e={}){const{wrapper:n}={...r(),...e.components};return n?t.jsx(n,{...e,children:t.jsx(o,{...e})}):o(e)}export{l as default}; diff --git a/docs/assets/formatter-2WMMO6ZP-DV8-7Mbc.js b/docs/assets/formatter-2WMMO6ZP-B1pc-0xA.js similarity index 99% rename from docs/assets/formatter-2WMMO6ZP-DV8-7Mbc.js rename to docs/assets/formatter-2WMMO6ZP-B1pc-0xA.js index a7d6f0f7e..6e0096f02 100644 --- a/docs/assets/formatter-2WMMO6ZP-DV8-7Mbc.js +++ b/docs/assets/formatter-2WMMO6ZP-B1pc-0xA.js @@ -1,4 +1,4 @@ -var Qi=Object.defineProperty;var Zi=(e,t,r)=>t in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>Zi(e,typeof t!="symbol"?t+"":t,r);import{m as ea}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +var Qi=Object.defineProperty;var Zi=(e,t,r)=>t in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>Zi(e,typeof t!="symbol"?t+"":t,r);import{m as ea}from"./chunk-HLWAVYOI-uH84A_5y.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', Expected it to be 'string' or 'object'.`;if(Ir(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=aa([...Du].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. Expected it to be ${n}.`}var oa=class extends Error{constructor(t){super(sa(t));_e(this,"name","InvalidDocError");this.doc=t}},fu=oa,la=()=>{},ca=la;function we(e){return{type:Bt,contents:e}}function mu(e,t){return{type:xt,contents:t,n:e}}function q(e,t={}){return ca(t.expandedStates),{type:Ye,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function pa(e){return mu(Number.NEGATIVE_INFINITY,e)}function ha(e){return mu({type:"root"},e)}function gu(e){return{type:Tt,parts:e}}function bt(e,t="",r={}){return{type:Lt,breakContents:e,flatContents:t,groupId:r.groupId}}function da(e,t){return{type:Nt,contents:e,groupId:t.groupId,negate:t.negate}}var Ze={type:qt},Da={type:be,hard:!0},fa={type:be,hard:!0,literal:!0},L={type:be},I={type:be,soft:!0},A=[Da,Ze],ma=[fa,Ze];function et(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Pt=ga;function Or(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(Ir(i)){case xr:return t(i.map(n));case Tt:return t({...i,parts:i.parts.map(n)});case Lt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case Ye:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case xt:case Bt:case Nt:case Pr:case Nr:return t({...i,contents:n(i.contents)});case Br:case Tr:case Lr:case qr:case be:case qt:return t(i);default:throw new fu(i)}}}function Ca(e){switch(Ir(e)){case Tt:if(e.parts.every(t=>t===""))return"";break;case Ye:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ye&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Bt:case Nt:case Nr:if(!e.contents)return"";break;case Lt:if(!e.flatContents&&!e.breakContents)return"";break;case xr:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Pt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Br:case Tr:case Lr:case qr:case be:case Pr:case qt:break;default:throw new fu(e)}return e}function Fa(e){return Or(e,t=>Ca(t))}function G(e,t=ma){return Or(e,r=>typeof r=="string"?et(t,r.split(` `)):r)}var va=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_e(this,"name","UnexpectedNodeError");this.node=t}},ya=va,lt="'",cn='"';function Ea(e,t){let r=t===!0||t===lt?lt:cn,n=r===lt?cn:lt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var ba=Ea;function wa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,Sa=class{constructor(e){ra(this,U,void 0),na(this,U,new Set(e))}getLeadingWhitespaceCount(e){let t=se(this,U),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return se(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return se(this,U).has(Pt(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${wa([...se(this,U)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=se(this,U);return Array.prototype.every.call(e,r=>t.has(r))}};U=new WeakMap;var Aa=Sa,ka=[" ",` diff --git a/docs/assets/fullsceen-dialog.stories-DkoxGiQw.js b/docs/assets/fullsceen-dialog.stories-BFTEt-nM.js similarity index 93% rename from docs/assets/fullsceen-dialog.stories-DkoxGiQw.js rename to docs/assets/fullsceen-dialog.stories-BFTEt-nM.js index e3d75ab48..82405b999 100644 --- a/docs/assets/fullsceen-dialog.stories-DkoxGiQw.js +++ b/docs/assets/fullsceen-dialog.stories-BFTEt-nM.js @@ -1,4 +1,4 @@ -import{a as T}from"./utils-DWCsNc5l.js";import{r as y,b as f,d as b,t as h}from"./registry-B-klnak9.js";import{_ as E}from"./dynamic-tag-DQCvkDdb.js";import{_ as F}from"./index-DX0IFE80.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as $}from"./empty-component-BCB5DEsP.js";import{_ as v}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const O=`

+import{a as T}from"./utils-DWCsNc5l.js";import{r as y,b as f,d as b,t as h}from"./registry-B-klnak9.js";import{_ as E}from"./dynamic-tag-DQCvkDdb.js";import{_ as F}from"./index-DubLym3o.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as $}from"./empty-component-BCB5DEsP.js";import{_ as v}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const O=`

ebay-fullscreen-dialog diff --git a/docs/assets/getting-started-CGIS43Vm.js b/docs/assets/getting-started-CltAlJNI.js similarity index 97% rename from docs/assets/getting-started-CGIS43Vm.js rename to docs/assets/getting-started-CltAlJNI.js index 12f9d5e5e..1ac01b9fa 100644 --- a/docs/assets/getting-started-CGIS43Vm.js +++ b/docs/assets/getting-started-CltAlJNI.js @@ -1,4 +1,4 @@ -import{j as e,M as o}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as s}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function a(n){const t={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",pre:"pre",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Getting Started"}),` +import{j as e,M as o}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as s}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function a(n){const t={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",pre:"pre",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Getting Started"}),` `,e.jsx(t.h1,{id:"getting-started",children:"Getting Started"}),` `,e.jsxs(t.p,{children:["The eBayUI core components are available as the ",e.jsx(t.code,{children:"@ebay/ebayui-core"})," package on ",e.jsx(t.a,{href:"https://www.npmjs.com/package/@ebay/ebayui-core",rel:"nofollow",children:"NPM"}),"."]}),` `,e.jsx(t.p,{children:"Use npm or yarn to add the package dependency to your project:"}),` diff --git a/docs/assets/graphics-and-icons-89JQZ9fx.js b/docs/assets/graphics-and-icons-DP_Cxs2c.js similarity index 83% rename from docs/assets/graphics-and-icons-89JQZ9fx.js rename to docs/assets/graphics-and-icons-DP_Cxs2c.js index bb9d6fb64..4c4d08824 100644 --- a/docs/assets/graphics-and-icons-89JQZ9fx.js +++ b/docs/assets/graphics-and-icons-DP_Cxs2c.js @@ -1,3 +1,3 @@ -import{j as n,M as i}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const e={h1:"h1",p:"p",...r(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(i,{title:"graphics & icons/Overview"}),` +import{j as n,M as i}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const e={h1:"h1",p:"p",...r(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(i,{title:"graphics & icons/Overview"}),` `,n.jsx(e.h1,{id:"graphical-components",children:"Graphical Components"}),` `,n.jsx(e.p,{children:"These components are used to communicate with the user in a visual manner."})]})}function l(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o(t)}export{l as default}; diff --git a/docs/assets/icon-C3VMX2it.css b/docs/assets/icon-BFm9PliQ.css similarity index 74% rename from docs/assets/icon-C3VMX2it.css rename to docs/assets/icon-BFm9PliQ.css index 60670110f..c5e1bd44e 100644 --- a/docs/assets/icon-C3VMX2it.css +++ b/docs/assets/icon-BFm9PliQ.css @@ -1 +1 @@ -svg.icon{display:inline-block;fill:currentColor;pointer-events:none;stroke:currentColor;stroke-width:0;vertical-align:middle}svg.icon--12{height:12px;width:12px}svg.icon--16{height:16px;width:16px}svg.icon--18{height:18px;width:18px}svg.icon--20{height:20px;width:20px}svg.icon--24{height:24px;width:24px}svg.icon--30{height:30px;width:30px}svg.icon--32{height:32px;width:32px}svg.icon--64{height:32px;width:64px}svg.icon--12-colored{height:12px}svg.icon--16-colored{height:16px}svg.icon--18-colored{height:18px}svg.icon--20-colored{height:20px}svg.icon--24-colored{height:24px}svg.icon--30-colored{height:30px}svg.icon--32-colored{height:32px}svg.icon--64-colored{height:64px}svg.icon--disabled{filter:var(--color-icon-disabled-filter)} +svg.icon{display:inline-block;fill:currentColor;pointer-events:none;stroke:currentColor;stroke-width:0;vertical-align:middle}svg.icon--12{height:12px;width:12px}svg.icon--16{height:16px;width:16px}svg.icon--18{height:18px;width:18px}svg.icon--20{height:20px;width:20px}svg.icon--24{height:24px;width:24px}svg.icon--30{height:30px;width:30px}svg.icon--32{height:32px;width:32px}svg.icon--64{height:32px;width:64px}svg.icon--12-colored{height:12px}svg.icon--16-colored{height:16px}svg.icon--18-colored{height:18px}svg.icon--20-colored{height:20px}svg.icon--24-colored{height:24px}svg.icon--30-colored{height:30px}svg.icon--32-colored{height:32px}svg.icon--64-colored{height:64px}svg.icon--disabled{filter:var(--color-icon-disabled-filter)}svg.icon--attention-filled{color:var(--color-foreground-attention)}svg.icon--confirmation-filled{color:var(--color-foreground-confirmation)}svg.icon--information-filled{color:var(--color-foreground-information)} diff --git a/docs/assets/icon-button.stories-D4RSb2Sj.js b/docs/assets/icon-button.stories-C0QzeKdH.js similarity index 95% rename from docs/assets/icon-button.stories-D4RSb2Sj.js rename to docs/assets/icon-button.stories-C0QzeKdH.js index ec3b4f497..b41672f62 100644 --- a/docs/assets/icon-button.stories-D4RSb2Sj.js +++ b/docs/assets/icon-button.stories-C0QzeKdH.js @@ -1,4 +1,4 @@ -import{a as u}from"./utils-DWCsNc5l.js";import{t as b,r as d,b as y,d as g}from"./registry-B-klnak9.js";import{_ as f}from"./index-BX5Uw3sZ.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./index-Bs-h47tU.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const a="LpCBApth",t=b(a),_=t;d.r(a,()=>t);const l={};t._=y(function(o,m,n,T,B,V){r(h,{...o,renderBody:p=>{r(f,{},p,n,"1")}},m,n,"0",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]])},{t:a},l);t.Component=g(l,t._);const k=`class {} +import{a as u}from"./utils-DWCsNc5l.js";import{t as b,r as d,b as y,d as g}from"./registry-B-klnak9.js";import{_ as f}from"./index-DXgqk0uU.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./index-C4ES2whh.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const a="LpCBApth",t=b(a),_=t;d.r(a,()=>t);const l={};t._=y(function(o,m,n,T,B,V){r(h,{...o,renderBody:p=>{r(f,{},p,n,"1")}},m,n,"0",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]])},{t:a},l);t.Component=g(l,t._);const k=`class {} +import{t as Yu}from"./index-CCz6reEH.js";import{r as s,b as o,d as i,t as r}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_ as n}from"./render-tag-BBOJ9dEX.js";import{_ as t}from"./const-element-Usj7mXQw.js";import{_ as Pu}from"./index-CjSCztMY.js";import{_ as Nu,b as Du,a as aH}from"./index-D8RRwKI0.js";import{_ as eH}from"./index-DrGqiT1g.js";import{_ as lH,a as nH}from"./index-BQLNeQ70.js";import{_ as cH}from"./index-Dm3YPrSu.js";import{a as tH,_ as sH,b as oH,c as iH,d as rH}from"./index-DyYw6M6s.js";import{a as mH,_ as hH}from"./index-CR9b14aq.js";import{_ as pH}from"./index-CirIKg0T.js";import{_ as _H}from"./index-MdNKbsz5.js";import{_ as dH}from"./index-DIATYkRw.js";import{c as bH,a as vH,b as yH,_ as ZH}from"./index-BQLO4xjX.js";import{a as kH,_ as $H}from"./index-MFibc1jG.js";import{_ as fH}from"./index-BrKjH8jr.js";import{_ as MH}from"./index-CL0domC_.js";import{_ as xH}from"./index-e6O6vD3k.js";import{_ as uH,a as HH}from"./index-Dm8ZZf1k.js";import{a as VH,_ as gH}from"./index-DzSb-JGb.js";import{_ as CH,b as wH,a as AH}from"./index-rUVBX3lJ.js";import{_ as zH}from"./index-D0vg5q8t.js";import{_ as TH}from"./index-A0egsrj7.js";import{_ as LH,b as FH,a as EH}from"./index-BNniq57Q.js";import{_ as BH,a as SH,b as jH}from"./index-DYM8JJUZ.js";import{a as OH,_ as UH}from"./index-C2jaGHEc.js";import{_ as KH}from"./index-DmgbYHgV.js";import{_ as XH,a as RH}from"./index-BD-Pnzly.js";import{_ as WH}from"./index-BXbxPOVo.js";import{_ as qH}from"./index-DXgqk0uU.js";import{_ as IH}from"./index-CwdE1cRz.js";import{_ as JH}from"./index-jqtmgouX.js";import{_ as QH,c as GH,a as YH,b as PH}from"./index-BHD_v1ay.js";import{_ as NH}from"./index-CrtedE3R.js";import{_ as DH}from"./index-59xVm8Y_.js";import{a as aV,b as eV,_ as lV}from"./index-DYoePqPO.js";import{_ as nV}from"./index-DMN8Tpap.js";import{a as cV,_ as tV,b as sV,c as oV}from"./index-BpEEqHm3.js";import{_ as iV}from"./index-DO9To3q6.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */const rV=`

ebay-{name}-icon diff --git a/docs/assets/iframe-C5f-bDcb.js b/docs/assets/iframe-C-4hqhip.js similarity index 59% rename from docs/assets/iframe-C5f-bDcb.js rename to docs/assets/iframe-C-4hqhip.js index 3d57be415..9f70f030f 100644 --- a/docs/assets/iframe-C5f-bDcb.js +++ b/docs/assets/iframe-C-4hqhip.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./building-blocks-UNdB6A6e.js","./chunk-HLWAVYOI-BpJ_6HfN.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js","./index-ClCifLxd.js","./buttons-cS83sdcs.js","./dialogs-Dt8t0Cvv.js","./form-input-CbHBHjwb.js","./graphics-and-icons-89JQZ9fx.js","./media-dhOAefM4.js","./navigation-and-disclosure-CPf4bOpq.js","./notices-and-tips-D-ixMYOY.js","./progress-BS4E9nAz.js","./contributing-CZmh6vxj.js","./getting-started-CGIS43Vm.js","./welcome-DWOHR_d0.js","./3d-viewer.stories-Il5FkWDd.js","./index-CCz6reEH.js","./utils-DWCsNc5l.js","./registry-B-klnak9.js","./index-DrsTyFc_.js","./index-C98gAawF.js","./index-MgHC5Vcg.css","./icon-C3VMX2it.css","./render-tag-BBOJ9dEX.js","./index-CAVmWk6z.js","./index-CIM_zO8g.js","./index-tcJUXJVY.css","./index-Marf191J.js","./3d-viewer-CHxBULOa.css","./alert-dialog.stories-DIn4S2MK.js","./dynamic-tag-DQCvkDdb.js","./attr-tag-DphMQldM.js","./const-element-Usj7mXQw.js","./index-BVSy80fu.js","./index-ClSYtjPE.js","./index-blmbJU0z.js","./button-CyFj2bkT.css","./index-DX0IFE80.js","./index-Cm_Gb0Br.js","./index-C_i8Cqa-.js","./index--35j0Bzx.js","./icon-button-CEOGfQmH.css","./empty-component-BCB5DEsP.js","./alert-dialog-BtrlOtBH.css","./avatar.stories-ur14otTB.js","./index-BQTIZIsK.js","./avatar-wJMWrdiB.css","./badge.stories-X_69AjNe.js","./index-B6IacUrT.js","./index-DPajsal0.css","./breadcrumbs.stories-57oof7y3.js","./index-C0MCsjbD.js","./index-IfXoN3pR.css","./index-CRVfdcxC.js","./index-Dk4iJuw6.js","./index-Bs-h47tU.js","./link-9LWxGVE-.css","./index-D9HHMyPY.js","./index-BJBnaEG2.js","./index-NxVnpuOT.js","./index-BHuZwrkj.js","./index-DYoOQ_vw.js","./menu-DCpFIemS.css","./index-D7B88Psz.js","./index-D7GlLQHj.js","./menu-button-CWqk-RkH.css","./breadcrumbs-Cv1lpa2T.css","./button.stories-Zi7x7Vm7.js","./calendar.stories-BPCm-9o_.js","./index-7ZDkJHis.js","./index-D60qjx8S.js","./index-BymJntAB.js","./index-D2ZzEeqD.css","./carousel.stories-D-SOwT-w.js","./index-PUyx66vy.js","./preserve-tag-DbR6FWcg.js","./index-CPjbzSHA.js","./carousel-4csfbim1.css","./character-count.stories-BrVViusA.js","./index-Q81l85Tz.js","./index-htxwKVWG.js","./index-BOk5vEkg.css","./index-D9peH9Ks.css","./checkbox.stories-8TbjfxFR.js","./index-D11s4y-0.js","./index-Bgyy39_y.js","./index-EV3YKuO5.css","./field-UNdCuPnk.css","./chip.stories-DLabUXub.js","./index-CFv8pSY5.js","./index-E-BXye7-.js","./index-D4xkDOg3.css","./chips-combobox.stories-IVlh6RM4.js","./index-BGEIR460.js","./index-0_D4u4b1.js","./index-DoeQzs2M.js","./index-DxsxZ0VW.css","./chips-combobox-BeTFWEoo.css","./combobox.stories-CBPcssUB.js","./confirm-dialog.stories-DYnDMcBc.js","./confirm-dialog-B9sR6tSh.css","./cta-button.stories-DTmExRqz.js","./index-BRJKYh5S.js","./cta-button-DJy7xNTg.css","./date-textbox.stories-CCn7bIxe.js","./index-CZeCUh5D.js","./date-textbox-CilD4T-k.css","./details.stories-DwxLvVTK.js","./details-CjjXekPT.css","./drawer-dialog.stories-DUd6X2_b.js","./drawer-dialog-XG_DVWTG.css","./education-notice.stories-DNPzfdr9.js","./index-DGqSaLp8.js","./index-BEWuf5iQ.js","./index-HhsN8ych.js","./index-B3D3pI-7.js","./index-CxC0bwrZ.js","./education-notice-DCUPDR-U.css","./eek.stories-C2zyg3-_.js","./index-5UVztxxq.js","./eek-CA1sKABR.css","./fake-link.stories-CBCGGOt5.js","./fake-menu-button.stories-BaKYemdR.js","./index-CylBVrvT.js","./fake-menu.stories-BcG1RaIZ.js","./fake-tabs.stories-Kfgxj6ul.js","./tabs-L-30VvCf.css","./filter-menu-button.stories-kq68ZK75.js","./index-DcNSdUWE.js","./index-DUtXOaCj.js","./index-0_n8TZiB.js","./index-CdFElAWM.css","./index-eGtaP7gF.js","./index-DSBRYoSW.js","./index-_rvoWsu4.css","./filter-menu-button-8dt_F16f.css","./filter-menu.stories-BIJ75IGS.js","./filter.stories-CIy8l4zm.js","./filter-DAy-QgG4.css","./flag.stories-D13z8MuR.js","./index-CubThJkA.js","./index-CnfdtbXX.css","./fullsceen-dialog.stories-DkoxGiQw.js","./fullsceen-dialog-CPfhJSmN.css","./icon-button.stories-D4RSb2Sj.js","./index-BX5Uw3sZ.js","./icon.stories-DDhknug0.js","./index-Don6OhkX.js","./index-DytIHQhe.js","./index-KP6N4H10.js","./index-CEIx_xnL.js","./index-BKL0XX-O.js","./index-W7tWgPwW.js","./index-BihjYMpj.js","./index-DQxTdvUO.js","./index-Cq6EH_VK.js","./index-BbpEJ8Sy.js","./index-CNZOdm0x.js","./index-Cas-8LG3.js","./index-U_1Hpq9w.js","./image-placeholder.stories-CJOl5n0E.js","./infotip.stories-CHzsZRdQ.js","./index-DiTsWp84.js","./index-CY_AuJ-_.js","./index-K3-QVZPL.css","./infotip-KVau2vnu.css","./inline-notice.stories-CshTVs3f.js","./inline-notice-jsx6lCCX.css","./lightbox-dialog.stories-rAqI2p9C.js","./line-chart.stories-luIO4phV.js","./line-chart-BOIAFxyG.css","./listbox-button.stories-CcnZs62b.js","./index-CpqkYYWb.js","./index-CJRseQ2S.js","./index-D52eSIAE.js","./index-B9laoDrR.css","./index-4MXDZbae.css","./listbox.stories-aPLw6fQM.js","./menu-button.stories-CLD7uvq8.js","./index-Da936fmF.js","./index-C6YqmUHN.js","./menu.stories-CFGsUggJ.js","./page-notice.stories-DyoS31TG.js","./page-notice-DTTh95lN.css","./pagination.stories-Bfcgblnl.js","./pagination-LbmdtYdf.css","./panel-dialog.stories-Lu4Y6pUz.js","./panel-dialog-DY71gYTP.css","./phone-input.stories-BCnDpmUk.js","./phone-input-mzD9WGZl.css","./progress-bar-expressive.stories-CKevzLn5.js","./progress-bar-expressive-BFLs5xY_.css","./progress-bar.stories-DyYmkVEB.js","./progress-bar-zqutacFL.css","./progress-spinner.stories-CTUi9Edz.js","./progress-stepper.stories-poMYIm_4.js","./progress-stepper-s-7utLnI.css","./radio.stories-BDJPp7X3.js","./section-notice.stories-B--T8axW.js","./section-notice-B7tsPx4G.css","./section-title.stories-8Tzhx7oP.js","./section-title-w0PBEO31.css","./segmented-buttons.stories-B0LjY9W8.js","./segmented-buttons-2hKi7rnw.css","./select.stories-CM9YoOo6.js","./select-DLam1IQ2.css","./signal.stories-BXwTdqC9.js","./signal-WAf_IAnL.css","./skeleton.stories-CYt_8p0A.js","./skeleton-Bb6DV9iZ.css","./snackbar-dialog.stories-D6UNYuj1.js","./snackbar-dialog-DC2uCGJ3.css","./split-button.stories-BB9RkHSE.js","./split-button-88WWVHoM.css","./star-rating-select.stories-B5gW2aYh.js","./star-rating-select-Ct0RbOiX.css","./star-rating.stories-Dwx-yWXU.js","./switch.stories-BOoMi69s.js","./switch-CR9ueRG9.css","./tabs.stories-D2D4ajJu.js","./textbox.stories-BRPigHZL.js","./toast-dialog.stories-Fm7GYUlQ.js","./toast-dialog-Cbp-7YQc.css","./toggle-button-group.stories-A9ivsOi0.js","./index-BZUg6Zq0.js","./index-LpqPeoQM.css","./toggle-button-group-Bh_IrF_K.css","./toggle-button.stories-CKom1j2I.js","./tooltip.stories-DKY71Ev4.js","./tooltip-hNpsfowZ.css","./tourtip.stories-BKos4uHy.js","./tourtip-DXmjB02W.css","./tri-state-checkbox.stories-CXsqVSuW.js","./video.stories-Czql8gX8.js","./video-CEwYcN_7.css","./entry-preview-docs-CSoLDZmb.js","./preview-CwqMn10d.js","./preview-BAz7FMXc.js","./preview-6-ZzJasl.js","./preview-BuBJYnYJ.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&m(s)}).observe(document,{childList:!0,subtree:!0});function a(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(o){if(o.ep)return;o.ep=!0;const r=a(o);fetch(o.href,r)}})();const b="modulepreload",O=function(e,i){return new URL(e,i).href},d={},t=function(i,a,m){let o=Promise.resolve();if(a&&a.length>0){const r=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),E=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(a.map(_=>{if(_=O(_,m),_ in d)return;d[_]=!0;const c=_.endsWith(".css"),y=c?'[rel="stylesheet"]':"";if(!!m)for(let p=r.length-1;p>=0;p--){const u=r[p];if(u.href===_&&(!c||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${y}`))return;const n=document.createElement("link");if(n.rel=c?"stylesheet":b,c||(n.as="script",n.crossOrigin=""),n.href=_,E&&n.setAttribute("nonce",E),document.head.appendChild(n),c)return new Promise((p,u)=>{n.addEventListener("load",p),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${_}`)))})}))}return o.then(()=>i()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:T}=__STORYBOOK_MODULE_PREVIEW_API__,l=R({page:"preview"});T.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./src/components/documentation/categories/building-blocks.mdx":async()=>t(()=>import("./building-blocks-UNdB6A6e.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/buttons.mdx":async()=>t(()=>import("./buttons-cS83sdcs.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/dialogs.mdx":async()=>t(()=>import("./dialogs-Dt8t0Cvv.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/form-input.mdx":async()=>t(()=>import("./form-input-CbHBHjwb.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/graphics-and-icons.mdx":async()=>t(()=>import("./graphics-and-icons-89JQZ9fx.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/media.mdx":async()=>t(()=>import("./media-dhOAefM4.js"),__vite__mapDeps([11,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/navigation-and-disclosure.mdx":async()=>t(()=>import("./navigation-and-disclosure-CPf4bOpq.js"),__vite__mapDeps([12,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/notices-and-tips.mdx":async()=>t(()=>import("./notices-and-tips-D-ixMYOY.js"),__vite__mapDeps([13,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/progress.mdx":async()=>t(()=>import("./progress-BS4E9nAz.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/contributing.mdx":async()=>t(()=>import("./contributing-CZmh6vxj.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/getting-started.mdx":async()=>t(()=>import("./getting-started-CGIS43Vm.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/welcome.mdx":async()=>t(()=>import("./welcome-DWOHR_d0.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url),"./src/components/ebay-3d-viewer/3d-viewer.stories.ts":async()=>t(()=>import("./3d-viewer.stories-Il5FkWDd.js"),__vite__mapDeps([18,19,20,21,2,3,22,23,24,25,26,27,28,29,30,31]),import.meta.url),"./src/components/ebay-alert-dialog/alert-dialog.stories.ts":async()=>t(()=>import("./alert-dialog.stories-DIn4S2MK.js"),__vite__mapDeps([32,20,21,2,3,33,34,35,36,27,28,23,24,25,26,29,37,38,39,40,41,42,43,44,45,46]),import.meta.url),"./src/components/ebay-avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-ur14otTB.js"),__vite__mapDeps([47,19,20,21,2,3,33,48,23,24,25,26,34,49]),import.meta.url),"./src/components/ebay-badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-X_69AjNe.js"),__vite__mapDeps([50,19,51,21,2,3,52]),import.meta.url),"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts":async()=>t(()=>import("./breadcrumbs.stories-57oof7y3.js"),__vite__mapDeps([53,19,20,21,2,3,54,55,56,23,24,25,26,33,34,57,58,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,69]),import.meta.url),"./src/components/ebay-button/button.stories.ts":async()=>t(()=>import("./button.stories-Zi7x7Vm7.js"),__vite__mapDeps([70,19,20,36,21,2,3,27,28,23,24,25,26,29,33,37,38,39]),import.meta.url),"./src/components/ebay-calendar/calendar.stories.ts":async()=>t(()=>import("./calendar.stories-BPCm-9o_.js"),__vite__mapDeps([71,20,19,72,21,2,3,73,74,23,24,25,26,58,33,51,52,38,44,39,59,75,45]),import.meta.url),"./src/components/ebay-carousel/carousel.stories.ts":async()=>t(()=>import("./carousel.stories-D-SOwT-w.js"),__vite__mapDeps([76,20,21,2,3,77,23,24,25,26,33,78,79,43,38,35,34,45,80]),import.meta.url),"./src/components/ebay-character-count/character-count.stories.ts":async()=>t(()=>import("./character-count.stories-BrVViusA.js"),__vite__mapDeps([81,20,19,21,2,3,33,35,82,83,84,85,25,44,26]),import.meta.url),"./src/components/ebay-checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-8TbjfxFR.js"),__vite__mapDeps([86,19,87,21,2,3,88,23,24,25,26,89,90,35]),import.meta.url),"./src/components/ebay-chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-DLabUXub.js"),__vite__mapDeps([91,19,20,92,21,2,3,33,93,23,24,25,26,45,94]),import.meta.url),"./src/components/ebay-chips-combobox/chips-combobox.stories.ts":async()=>t(()=>import("./chips-combobox.stories-IVlh6RM4.js"),__vite__mapDeps([95,20,21,2,3,92,33,93,23,24,25,26,45,94,34,96,83,84,37,61,97,98,67,66,43,38,99,44,100]),import.meta.url),"./src/components/ebay-combobox/combobox.stories.ts":async()=>t(()=>import("./combobox.stories-CBPcssUB.js"),__vite__mapDeps([101,20,19,96,21,2,3,83,84,33,37,23,24,25,26,61,97,98,67,66,43,38,99,44,34]),import.meta.url),"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts":async()=>t(()=>import("./confirm-dialog.stories-DYnDMcBc.js"),__vite__mapDeps([102,20,21,2,3,33,34,35,36,27,28,23,24,25,26,29,37,38,39,40,41,42,43,44,45,103]),import.meta.url),"./src/components/ebay-cta-button/cta-button.stories.ts":async()=>t(()=>import("./cta-button.stories-DTmExRqz.js"),__vite__mapDeps([104,19,21,2,3,33,105,23,24,25,26,106]),import.meta.url),"./src/components/ebay-date-textbox/date-textbox.stories.ts":async()=>t(()=>import("./date-textbox.stories-CCn7bIxe.js"),__vite__mapDeps([107,20,19,21,2,3,73,82,83,84,33,85,25,44,26,108,23,24,34,42,72,74,58,51,52,38,39,59,75,66,67,43,45,36,27,28,29,37,35,109]),import.meta.url),"./src/components/ebay-details/details.stories.ts":async()=>t(()=>import("./details.stories-DwxLvVTK.js"),__vite__mapDeps([110,19,21,2,3,61,23,24,25,26,33,111]),import.meta.url),"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts":async()=>t(()=>import("./drawer-dialog.stories-DUd6X2_b.js"),__vite__mapDeps([112,20,21,2,3,33,34,40,41,23,24,25,26,42,43,38,44,36,27,28,29,37,39,35,113]),import.meta.url),"./src/components/ebay-education-notice/education-notice.stories.ts":async()=>t(()=>import("./education-notice.stories-DNPzfdr9.js"),__vite__mapDeps([114,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,119,120]),import.meta.url),"./src/components/ebay-eek/eek.stories.ts":async()=>t(()=>import("./eek.stories-C2zyg3-_.js"),__vite__mapDeps([121,19,21,2,3,122,23,24,25,26,123]),import.meta.url),"./src/components/ebay-fake-link/fake-link.stories.ts":async()=>t(()=>import("./fake-link.stories-CBCGGOt5.js"),__vite__mapDeps([124,19,118,21,2,3,33,38,59]),import.meta.url),"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts":async()=>t(()=>import("./fake-menu-button.stories-BaKYemdR.js"),__vite__mapDeps([125,19,20,21,2,3,126,23,24,25,26,34,57,58,33,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,35,45]),import.meta.url),"./src/components/ebay-fake-menu/fake-menu.stories.ts":async()=>t(()=>import("./fake-menu.stories-BcG1RaIZ.js"),__vite__mapDeps([127,20,19,62,21,2,3,33,51,52,26,63,23,24,25,38,64,65,34,35]),import.meta.url),"./src/components/ebay-fake-tabs/fake-tabs.stories.ts":async()=>t(()=>import("./fake-tabs.stories-Kfgxj6ul.js"),__vite__mapDeps([128,20,19,21,2,3,33,129]),import.meta.url),"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts":async()=>t(()=>import("./filter-menu-button.stories-kq68ZK75.js"),__vite__mapDeps([130,19,20,21,2,3,61,23,24,25,26,34,33,131,132,133,134,90,87,88,89,135,136,98,67,38,64,137,66,43,138]),import.meta.url),"./src/components/ebay-filter-menu/filter-menu.stories.ts":async()=>t(()=>import("./filter-menu.stories-BIJ75IGS.js"),__vite__mapDeps([139,19,20,131,21,2,3,132,133,23,24,25,26,134,90,87,88,89,33,135,136,98,67,38,64,137]),import.meta.url),"./src/components/ebay-filter/filter.stories.ts":async()=>t(()=>import("./filter.stories-CIy8l4zm.js"),__vite__mapDeps([140,19,20,21,2,3,33,141]),import.meta.url),"./src/components/ebay-flag/flag.stories.ts":async()=>t(()=>import("./flag.stories-D13z8MuR.js"),__vite__mapDeps([142,21,2,3,23,24,25,26,35,143,144]),import.meta.url),"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts":async()=>t(()=>import("./fullsceen-dialog.stories-DkoxGiQw.js"),__vite__mapDeps([145,20,21,2,3,33,40,41,23,24,25,26,42,43,38,44,45,36,27,28,29,37,39,146]),import.meta.url),"./src/components/ebay-icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-D4RSb2Sj.js"),__vite__mapDeps([147,20,21,2,3,148,23,24,25,26,58,33,51,52,38,44,39,59]),import.meta.url),"./src/components/ebay-icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-DDhknug0.js"),__vite__mapDeps([149,19,21,2,3,23,24,25,26,35,150,151,105,22,117,152,119,48,108,153,88,154,61,37,77,74,56,79,93,41,155,116,122,156,157,158,148,159,60,133,160,126,28,161,162,63]),import.meta.url),"./src/components/ebay-image-placeholder/image-placeholder.stories.ts":async()=>t(()=>import("./image-placeholder.stories-CJOl5n0E.js"),__vite__mapDeps([163,20,21,2,3,23,24,25,26]),import.meta.url),"./src/components/ebay-infotip/infotip.stories.ts":async()=>t(()=>import("./infotip.stories-CHzsZRdQ.js"),__vite__mapDeps([164,20,21,2,3,33,158,23,24,25,26,165,41,66,67,43,34,166,40,42,38,44,167,35,45,168]),import.meta.url),"./src/components/ebay-inline-notice/inline-notice.stories.ts":async()=>t(()=>import("./inline-notice.stories-CshTVs3f.js"),__vite__mapDeps([169,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,170]),import.meta.url),"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts":async()=>t(()=>import("./lightbox-dialog.stories-rAqI2p9C.js"),__vite__mapDeps([171,20,21,2,3,33,34,35,166,40,41,23,24,25,26,42,43,38,44,167,36,27,28,29,37,39,77]),import.meta.url),"./src/components/ebay-line-chart/line-chart.stories.ts":async()=>t(()=>import("./line-chart.stories-luIO4phV.js"),__vite__mapDeps([172,19,20,21,2,3,30,38,35,173]),import.meta.url),"./src/components/ebay-listbox-button/listbox-button.stories.ts":async()=>t(()=>import("./listbox-button.stories-CcnZs62b.js"),__vite__mapDeps([174,19,20,175,21,2,3,33,37,23,24,25,26,34,176,63,97,98,67,177,38,178,66,43,135,179,39,45,117,35]),import.meta.url),"./src/components/ebay-listbox/listbox.stories.ts":async()=>t(()=>import("./listbox.stories-aPLw6fQM.js"),__vite__mapDeps([180,20,19,176,21,2,3,33,63,23,24,25,26,97,98,67,177,38,178,34]),import.meta.url),"./src/components/ebay-menu-button/menu-button.stories.ts":async()=>t(()=>import("./menu-button.stories-CLD7uvq8.js"),__vite__mapDeps([181,19,20,21,2,3,34,182,58,33,51,52,26,38,44,39,59,36,27,28,23,24,25,29,37,159,61,183,63,135,136,98,67,177,64,65,66,43,68,45,126,35]),import.meta.url),"./src/components/ebay-menu/menu.stories.ts":async()=>t(()=>import("./menu.stories-CFGsUggJ.js"),__vite__mapDeps([184,20,19,183,21,2,3,33,51,52,26,63,23,24,25,135,136,98,67,177,38,64,65,34,45,35]),import.meta.url),"./src/components/ebay-page-notice/page-notice.stories.ts":async()=>t(()=>import("./page-notice.stories-DyoS31TG.js"),__vite__mapDeps([185,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,186]),import.meta.url),"./src/components/ebay-pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-Bfcgblnl.js"),__vite__mapDeps([187,20,19,21,2,3,54,55,151,23,24,25,26,33,34,57,58,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,188]),import.meta.url),"./src/components/ebay-panel-dialog/panel-dialog.stories.ts":async()=>t(()=>import("./panel-dialog.stories-Lu4Y6pUz.js"),__vite__mapDeps([189,19,21,2,3,34,35,33,40,41,23,24,25,26,42,43,38,44,45,36,27,28,29,37,39,190]),import.meta.url),"./src/components/ebay-phone-input/phone-input.stories.ts":async()=>t(()=>import("./phone-input.stories-BCnDpmUk.js"),__vite__mapDeps([191,20,21,2,3,143,144,26,34,175,33,37,23,24,25,176,63,97,98,67,177,38,178,66,43,135,179,39,82,83,84,85,44,73,192]),import.meta.url),"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts":async()=>t(()=>import("./progress-bar-expressive.stories-CKevzLn5.js"),__vite__mapDeps([193,20,19,21,2,3,33,78,26,34,194]),import.meta.url),"./src/components/ebay-progress-bar/progress-bar.stories.ts":async()=>t(()=>import("./progress-bar.stories-DyYmkVEB.js"),__vite__mapDeps([195,19,21,2,3,196]),import.meta.url),"./src/components/ebay-progress-spinner/progress-spinner.stories.ts":async()=>t(()=>import("./progress-spinner.stories-CTUi9Edz.js"),__vite__mapDeps([197,19,27,21,2,3,28,23,24,25,26,29]),import.meta.url),"./src/components/ebay-progress-stepper/progress-stepper.stories.ts":async()=>t(()=>import("./progress-stepper.stories-poMYIm_4.js"),__vite__mapDeps([198,19,20,21,2,3,33,162,23,24,25,26,199]),import.meta.url),"./src/components/ebay-radio/radio.stories.ts":async()=>t(()=>import("./radio.stories-BDJPp7X3.js"),__vite__mapDeps([200,19,132,21,2,3,133,23,24,25,26,134,90,35]),import.meta.url),"./src/components/ebay-section-notice/section-notice.stories.ts":async()=>t(()=>import("./section-notice.stories-B--T8axW.js"),__vite__mapDeps([201,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,202]),import.meta.url),"./src/components/ebay-section-title/section-title.stories.ts":async()=>t(()=>import("./section-title.stories-8Tzhx7oP.js"),__vite__mapDeps([203,19,20,21,2,3,33,34,182,58,51,52,26,38,44,39,59,36,27,28,23,24,25,29,37,159,61,183,63,135,136,98,67,177,64,65,66,43,68,160,204]),import.meta.url),"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts":async()=>t(()=>import("./segmented-buttons.stories-B0LjY9W8.js"),__vite__mapDeps([205,19,20,21,2,3,33,157,23,24,25,26,34,45,206]),import.meta.url),"./src/components/ebay-select/select.stories.ts":async()=>t(()=>import("./select.stories-CM9YoOo6.js"),__vite__mapDeps([207,19,21,2,3,83,84,61,23,24,25,26,35,34,36,27,28,29,33,37,38,39,208]),import.meta.url),"./src/components/ebay-signal/signal.stories.ts":async()=>t(()=>import("./signal.stories-BXwTdqC9.js"),__vite__mapDeps([209,19,21,2,3,33,210]),import.meta.url),"./src/components/ebay-skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-CYt_8p0A.js"),__vite__mapDeps([211,19,20,21,2,3,33,26,35,36,27,28,23,24,25,29,37,38,39,212]),import.meta.url),"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts":async()=>t(()=>import("./snackbar-dialog.stories-D6UNYuj1.js"),__vite__mapDeps([213,21,2,3,33,118,38,59,26,34,40,41,23,24,25,42,43,44,20,36,27,28,29,37,39,214]),import.meta.url),"./src/components/ebay-split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-BB9RkHSE.js"),__vite__mapDeps([215,19,20,21,2,3,33,36,27,28,23,24,25,26,29,37,38,39,182,58,51,52,44,59,159,61,34,183,63,135,136,98,67,177,64,65,66,43,68,216]),import.meta.url),"./src/components/ebay-star-rating-select/star-rating-select.stories.ts":async()=>t(()=>import("./star-rating-select.stories-B5gW2aYh.js"),__vite__mapDeps([217,19,21,2,3,161,23,24,25,26,35,218]),import.meta.url),"./src/components/ebay-star-rating/star-rating.stories.ts":async()=>t(()=>import("./star-rating.stories-Dwx-yWXU.js"),__vite__mapDeps([219,19,21,2,3,23,24,25,26,35,161]),import.meta.url),"./src/components/ebay-switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-BOoMi69s.js"),__vite__mapDeps([220,19,21,2,3,35,26,221]),import.meta.url),"./src/components/ebay-tabs/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-D2D4ajJu.js"),__vite__mapDeps([222,20,19,21,2,3,33,136,98,67,38,129]),import.meta.url),"./src/components/ebay-textbox/textbox.stories.ts":async()=>t(()=>import("./textbox.stories-BRPigHZL.js"),__vite__mapDeps([223,19,82,21,2,3,83,84,33,85,25,44,35,26,45,155,23,24,34]),import.meta.url),"./src/components/ebay-toast-dialog/toast-dialog.stories.ts":async()=>t(()=>import("./toast-dialog.stories-Fm7GYUlQ.js"),__vite__mapDeps([224,21,2,3,34,36,27,28,23,24,25,26,29,33,37,38,39,35,40,41,42,43,44,45,225]),import.meta.url),"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts":async()=>t(()=>import("./toggle-button-group.stories-A9ivsOi0.js"),__vite__mapDeps([226,19,20,21,2,3,227,33,228,26,34,152,23,24,25,153,36,27,28,29,37,38,39,229]),import.meta.url),"./src/components/ebay-toggle-button/toggle-button.stories.ts":async()=>t(()=>import("./toggle-button.stories-CKom1j2I.js"),__vite__mapDeps([230,19,20,227,21,2,3,33,228,34,150,23,24,25,26,45,35]),import.meta.url),"./src/components/ebay-tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-DKY71Ev4.js"),__vite__mapDeps([231,19,20,21,2,3,42,26,33,165,41,23,24,25,66,67,43,38,153,34,35,232,44]),import.meta.url),"./src/components/ebay-tourtip/tourtip.stories.ts":async()=>t(()=>import("./tourtip.stories-BKos4uHy.js"),__vite__mapDeps([233,20,21,2,3,33,34,165,41,23,24,25,26,66,67,43,234,44]),import.meta.url),"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts":async()=>t(()=>import("./tri-state-checkbox.stories-CXsqVSuW.js"),__vite__mapDeps([235,19,21,2,3,87,88,23,24,25,26,89,90,154,35]),import.meta.url),"./src/components/ebay-video/video.stories.ts":async()=>t(()=>import("./video.stories-Czql8gX8.js"),__vite__mapDeps([236,19,21,2,3,42,26,78,22,23,24,25,27,28,29,156,30,237]),import.meta.url)};async function v(e){return L[e]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(e=[])=>{const i=await Promise.all([e.at(0)??t(()=>import("./entry-preview-CnmGQuWU.js"),[],import.meta.url),e.at(1)??t(()=>import("./entry-preview-docs-CSoLDZmb.js"),__vite__mapDeps([238,4,2]),import.meta.url),e.at(2)??t(()=>import("./preview-DWjxfmEU.js"),[],import.meta.url),e.at(3)??t(()=>import("./preview-Ct5NkTJf.js"),[],import.meta.url),e.at(4)??t(()=>import("./preview-CwqMn10d.js"),__vite__mapDeps([239,5]),import.meta.url),e.at(5)??t(()=>import("./preview-B4GcaC1c.js"),[],import.meta.url),e.at(6)??t(()=>import("./preview-Db4Idchh.js"),[],import.meta.url),e.at(7)??t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([240,5]),import.meta.url),e.at(8)??t(()=>import("./preview-BpcF_O6y.js"),[],import.meta.url),e.at(9)??t(()=>import("./preview-DdrZcoFD.js"),[],import.meta.url),e.at(10)??t(()=>import("./preview-6-ZzJasl.js"),__vite__mapDeps([241,242]),import.meta.url)]);return P(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(v,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__fileDeps=["./building-blocks-CgiNLpov.js","./chunk-HLWAVYOI-uH84A_5y.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js","./index-C0ZlcG9W.js","./buttons-CJNIlBu7.js","./dialogs-B6YPgVVJ.js","./form-input-DtEIYSCR.js","./graphics-and-icons-DP_Cxs2c.js","./media-DDi8DWC3.js","./navigation-and-disclosure-CU_EdiMb.js","./notices-and-tips-BAVA677o.js","./progress-CxsflI01.js","./contributing-D7X-yx2t.js","./getting-started-CltAlJNI.js","./welcome-DI7iIrvQ.js","./3d-viewer.stories-DnpoBNEp.js","./index-CCz6reEH.js","./utils-DWCsNc5l.js","./registry-B-klnak9.js","./index-BQLNeQ70.js","./index-Bd083XES.js","./index-MgHC5Vcg.css","./icon-BFm9PliQ.css","./render-tag-BBOJ9dEX.js","./index-5NFv2JwF.js","./index-DYoePqPO.js","./index-tcJUXJVY.css","./index-Marf191J.js","./3d-viewer-CHxBULOa.css","./alert-dialog.stories-B5hBIvNZ.js","./dynamic-tag-DQCvkDdb.js","./attr-tag-DphMQldM.js","./const-element-Usj7mXQw.js","./index-BXYtdDDf.js","./index-CL0domC_.js","./index-blmbJU0z.js","./button-BSZQm0fk.css","./index-DubLym3o.js","./index-A0egsrj7.js","./index-C_i8Cqa-.js","./index--35j0Bzx.js","./icon-button-CEOGfQmH.css","./empty-component-BCB5DEsP.js","./alert-dialog-BtrlOtBH.css","./avatar.stories-B3OMY773.js","./index-CirIKg0T.js","./avatar-wJMWrdiB.css","./badge.stories-X_69AjNe.js","./index-B6IacUrT.js","./index-DPajsal0.css","./breadcrumbs.stories-C3bEPzGI.js","./index-C0MCsjbD.js","./index-IfXoN3pR.css","./index-DzSb-JGb.js","./index-Cmn-Eq35.js","./index-C4ES2whh.js","./link-9LWxGVE-.css","./index-jqtmgouX.js","./index-BrKjH8jr.js","./index-Dm0pQJFf.js","./index-DO9To3q6.js","./index-DYoOQ_vw.js","./menu-DCpFIemS.css","./index-D7B88Psz.js","./index-D7GlLQHj.js","./menu-button-CWqk-RkH.css","./breadcrumbs-B1oTmqko.css","./button.stories-BgTLqgxG.js","./calendar.stories-628pD_WG.js","./index-m-NM9nG-.js","./index-D60qjx8S.js","./index-Dm8ZZf1k.js","./index-D2ZzEeqD.css","./carousel.stories-x-apL3uy.js","./index-e6O6vD3k.js","./preserve-tag-DbR6FWcg.js","./index-rUVBX3lJ.js","./carousel-bECv-Vbe.css","./character-count.stories-CeyEUXuv.js","./index-Bg1Oh5yv.js","./index-htxwKVWG.js","./index-BOk5vEkg.css","./index-D9peH9Ks.css","./checkbox.stories-BemY1PwC.js","./index-CbaZ7o5m.js","./index-BQLO4xjX.js","./index-EV3YKuO5.css","./field-UNdCuPnk.css","./chip.stories-CvR3JuRW.js","./index-bYbd3THS.js","./index-D0vg5q8t.js","./index-D4xkDOg3.css","./chips-combobox.stories-ukC5ohww.js","./index-DM9aGRhG.js","./index-0_D4u4b1.js","./index-DoeQzs2M.js","./index-B5OdA25b.css","./chips-combobox-BeTFWEoo.css","./combobox.stories-DyaLClv4.js","./confirm-dialog.stories-CbghC2Cx.js","./confirm-dialog-B9sR6tSh.css","./cta-button.stories-zHXO9DML.js","./index-DrGqiT1g.js","./cta-button-DJy7xNTg.css","./date-textbox.stories-SnQghyoO.js","./index-MdNKbsz5.js","./date-textbox-CilD4T-k.css","./details.stories-CGYmXH7n.js","./details-CjjXekPT.css","./drawer-dialog.stories-DepTCJtg.js","./drawer-dialog-XG_DVWTG.css","./education-notice.stories-RlYXmca4.js","./index-DMrvDz2r.js","./index-DYM8JJUZ.js","./index-Dm3YPrSu.js","./index-B3D3pI-7.js","./index-CR9b14aq.js","./education-notice-DCUPDR-U.css","./eek.stories-Ys2p2Cxd.js","./index-C2jaGHEc.js","./eek-CA1sKABR.css","./fake-link.stories-CBCGGOt5.js","./fake-menu-button.stories-EwEBjSXb.js","./index-59xVm8Y_.js","./fake-menu.stories-Bz0UHlb0.js","./fake-tabs.stories-Kfgxj6ul.js","./tabs-L-30VvCf.css","./filter-menu-button.stories-C7wt8xm7.js","./index-CvZgtOAC.js","./index-XDVM21hZ.js","./index-BHD_v1ay.js","./index-CdFElAWM.css","./index-eGtaP7gF.js","./index-DSBRYoSW.js","./index-C4DcTY_-.css","./filter-menu-button-B7WBh2AF.css","./filter-menu.stories-BKZGCJVe.js","./filter.stories-CIy8l4zm.js","./filter-DAy-QgG4.css","./flag.stories-NLyd2edY.js","./index-CubThJkA.js","./index-CnfdtbXX.css","./fullsceen-dialog.stories-BFTEt-nM.js","./fullsceen-dialog-CPfhJSmN.css","./icon-button.stories-C0QzeKdH.js","./index-DXgqk0uU.js","./icon.stories-CVLsx60J.js","./index-CjSCztMY.js","./index-D8RRwKI0.js","./index-DyYw6M6s.js","./index-DIATYkRw.js","./index-MFibc1jG.js","./index-BNniq57Q.js","./index-DmgbYHgV.js","./index-BD-Pnzly.js","./index-BXbxPOVo.js","./index-CwdE1cRz.js","./index-CrtedE3R.js","./index-DMN8Tpap.js","./index-BpEEqHm3.js","./image-placeholder.stories-DpOrVNTe.js","./infotip.stories-78n3Q0Hd.js","./index-DpkNtl2T.js","./index-BWfkz_xl.js","./index-DniO6JmG.css","./infotip-KVau2vnu.css","./inline-notice.stories-BXLDBPMw.js","./inline-notice-jsx6lCCX.css","./lightbox-dialog.stories-Jo8L-dSJ.js","./line-chart.stories-luIO4phV.js","./line-chart-BOIAFxyG.css","./listbox-button.stories-MBpt1JqT.js","./index-iDRTPR-o.js","./index-BBcDbpTN.js","./index-D52eSIAE.js","./index-B9laoDrR.css","./index-4MXDZbae.css","./listbox.stories-C28rQmnb.js","./menu-button.stories-tPzkhZUW.js","./index-mq5ZSGt9.js","./index-CGMjGv4Y.js","./menu.stories-DXHoH0P5.js","./page-notice.stories-BWQyc_Cj.js","./page-notice-DTTh95lN.css","./pagination.stories-CIU2VnqX.js","./pagination-LbmdtYdf.css","./panel-dialog.stories-C_09u98Z.js","./panel-dialog-DY71gYTP.css","./phone-input.stories-BA2Yddns.js","./phone-input-mzD9WGZl.css","./progress-bar-expressive.stories-CKevzLn5.js","./progress-bar-expressive-BFLs5xY_.css","./progress-bar.stories-DyYmkVEB.js","./progress-bar-zqutacFL.css","./progress-spinner.stories-C4b3diw2.js","./progress-stepper.stories-gzrOm2kE.js","./progress-stepper-s-7utLnI.css","./radio.stories-DheWTrhY.js","./section-notice.stories-DMDpiL4C.js","./section-notice-B7tsPx4G.css","./section-title.stories-DVoXC_SN.js","./section-title-w0PBEO31.css","./segmented-buttons.stories-CeurQMJN.js","./segmented-buttons-2hKi7rnw.css","./select.stories-wzpnkUYn.js","./select-Bou355gm.css","./signal.stories-BXwTdqC9.js","./signal-WAf_IAnL.css","./skeleton.stories-ichEIFsS.js","./skeleton-Bb6DV9iZ.css","./snackbar-dialog.stories-DBTnENie.js","./snackbar-dialog-DC2uCGJ3.css","./split-button.stories-DauCshoT.js","./split-button-88WWVHoM.css","./star-rating-select.stories-3P_nHzLa.js","./star-rating-select-Ct0RbOiX.css","./star-rating.stories-n27iTJrC.js","./switch.stories-BOoMi69s.js","./switch-CR9ueRG9.css","./tabs.stories-D2D4ajJu.js","./textbox.stories-CN4uOmwO.js","./toast-dialog.stories-Dk9Z5U3s.js","./toast-dialog-Cbp-7YQc.css","./toggle-button-group.stories-BK2hfGse.js","./index-BfEgRTc6.js","./index-C6n1BYul.css","./toggle-button-group-B02M9QWW.css","./toggle-button.stories-ikb7UPgQ.js","./tooltip.stories-ulSYlgZF.js","./tooltip-hNpsfowZ.css","./tourtip.stories-DlgEL4vs.js","./tourtip-DXmjB02W.css","./tri-state-checkbox.stories-B4oeEtwZ.js","./video.stories-BA4U4GMY.js","./video-CEwYcN_7.css","./entry-preview-docs-CSoLDZmb.js","./preview-CwqMn10d.js","./preview-BAz7FMXc.js","./preview-6-ZzJasl.js","./preview-BuBJYnYJ.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&m(s)}).observe(document,{childList:!0,subtree:!0});function a(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(o){if(o.ep)return;o.ep=!0;const r=a(o);fetch(o.href,r)}})();const b="modulepreload",O=function(e,i){return new URL(e,i).href},d={},t=function(i,a,m){let o=Promise.resolve();if(a&&a.length>0){const r=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),E=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(a.map(_=>{if(_=O(_,m),_ in d)return;d[_]=!0;const c=_.endsWith(".css"),y=c?'[rel="stylesheet"]':"";if(!!m)for(let p=r.length-1;p>=0;p--){const u=r[p];if(u.href===_&&(!c||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${y}`))return;const n=document.createElement("link");if(n.rel=c?"stylesheet":b,c||(n.as="script",n.crossOrigin=""),n.href=_,E&&n.setAttribute("nonce",E),document.head.appendChild(n),c)return new Promise((p,u)=>{n.addEventListener("load",p),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${_}`)))})}))}return o.then(()=>i()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:T}=__STORYBOOK_MODULE_PREVIEW_API__,l=R({page:"preview"});T.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./src/components/documentation/categories/building-blocks.mdx":async()=>t(()=>import("./building-blocks-CgiNLpov.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/buttons.mdx":async()=>t(()=>import("./buttons-CJNIlBu7.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/dialogs.mdx":async()=>t(()=>import("./dialogs-B6YPgVVJ.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/form-input.mdx":async()=>t(()=>import("./form-input-DtEIYSCR.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/graphics-and-icons.mdx":async()=>t(()=>import("./graphics-and-icons-DP_Cxs2c.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/media.mdx":async()=>t(()=>import("./media-DDi8DWC3.js"),__vite__mapDeps([11,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/navigation-and-disclosure.mdx":async()=>t(()=>import("./navigation-and-disclosure-CU_EdiMb.js"),__vite__mapDeps([12,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/notices-and-tips.mdx":async()=>t(()=>import("./notices-and-tips-BAVA677o.js"),__vite__mapDeps([13,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/categories/progress.mdx":async()=>t(()=>import("./progress-CxsflI01.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/contributing.mdx":async()=>t(()=>import("./contributing-D7X-yx2t.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/getting-started.mdx":async()=>t(()=>import("./getting-started-CltAlJNI.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url),"./src/components/documentation/welcome.mdx":async()=>t(()=>import("./welcome-DI7iIrvQ.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url),"./src/components/ebay-3d-viewer/3d-viewer.stories.ts":async()=>t(()=>import("./3d-viewer.stories-DnpoBNEp.js"),__vite__mapDeps([18,19,20,21,2,3,22,23,24,25,26,27,28,29,30,31]),import.meta.url),"./src/components/ebay-alert-dialog/alert-dialog.stories.ts":async()=>t(()=>import("./alert-dialog.stories-B5hBIvNZ.js"),__vite__mapDeps([32,20,21,2,3,33,34,35,36,27,28,23,24,25,26,29,37,38,39,40,41,42,43,44,45,46]),import.meta.url),"./src/components/ebay-avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-B3OMY773.js"),__vite__mapDeps([47,19,20,21,2,3,33,48,23,24,25,26,34,49]),import.meta.url),"./src/components/ebay-badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-X_69AjNe.js"),__vite__mapDeps([50,19,51,21,2,3,52]),import.meta.url),"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts":async()=>t(()=>import("./breadcrumbs.stories-C3bEPzGI.js"),__vite__mapDeps([53,19,20,21,2,3,54,55,56,23,24,25,26,33,34,57,58,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,69]),import.meta.url),"./src/components/ebay-button/button.stories.ts":async()=>t(()=>import("./button.stories-BgTLqgxG.js"),__vite__mapDeps([70,19,20,36,21,2,3,27,28,23,24,25,26,29,33,37,38,39]),import.meta.url),"./src/components/ebay-calendar/calendar.stories.ts":async()=>t(()=>import("./calendar.stories-628pD_WG.js"),__vite__mapDeps([71,20,19,72,21,2,3,73,74,23,24,25,26,58,33,51,52,38,44,39,59,75,45]),import.meta.url),"./src/components/ebay-carousel/carousel.stories.ts":async()=>t(()=>import("./carousel.stories-x-apL3uy.js"),__vite__mapDeps([76,20,21,2,3,77,23,24,25,26,33,78,79,43,38,35,34,45,80]),import.meta.url),"./src/components/ebay-character-count/character-count.stories.ts":async()=>t(()=>import("./character-count.stories-CeyEUXuv.js"),__vite__mapDeps([81,20,19,21,2,3,33,35,82,83,84,85,25,44,26]),import.meta.url),"./src/components/ebay-checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-BemY1PwC.js"),__vite__mapDeps([86,19,87,21,2,3,88,23,24,25,26,89,90,35]),import.meta.url),"./src/components/ebay-chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-CvR3JuRW.js"),__vite__mapDeps([91,19,20,92,21,2,3,33,93,23,24,25,26,45,94]),import.meta.url),"./src/components/ebay-chips-combobox/chips-combobox.stories.ts":async()=>t(()=>import("./chips-combobox.stories-ukC5ohww.js"),__vite__mapDeps([95,20,21,2,3,92,33,93,23,24,25,26,45,94,34,96,83,84,37,61,97,98,67,66,43,38,99,44,100]),import.meta.url),"./src/components/ebay-combobox/combobox.stories.ts":async()=>t(()=>import("./combobox.stories-DyaLClv4.js"),__vite__mapDeps([101,20,19,96,21,2,3,83,84,33,37,23,24,25,26,61,97,98,67,66,43,38,99,44,34]),import.meta.url),"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts":async()=>t(()=>import("./confirm-dialog.stories-CbghC2Cx.js"),__vite__mapDeps([102,20,21,2,3,33,34,35,36,27,28,23,24,25,26,29,37,38,39,40,41,42,43,44,45,103]),import.meta.url),"./src/components/ebay-cta-button/cta-button.stories.ts":async()=>t(()=>import("./cta-button.stories-zHXO9DML.js"),__vite__mapDeps([104,19,21,2,3,33,105,23,24,25,26,106]),import.meta.url),"./src/components/ebay-date-textbox/date-textbox.stories.ts":async()=>t(()=>import("./date-textbox.stories-SnQghyoO.js"),__vite__mapDeps([107,20,19,21,2,3,73,82,83,84,33,85,25,44,26,108,23,24,34,42,72,74,58,51,52,38,39,59,75,66,67,43,45,36,27,28,29,37,35,109]),import.meta.url),"./src/components/ebay-details/details.stories.ts":async()=>t(()=>import("./details.stories-CGYmXH7n.js"),__vite__mapDeps([110,19,21,2,3,61,23,24,25,26,33,111]),import.meta.url),"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts":async()=>t(()=>import("./drawer-dialog.stories-DepTCJtg.js"),__vite__mapDeps([112,20,21,2,3,33,34,40,41,23,24,25,26,42,43,38,44,36,27,28,29,37,39,35,113]),import.meta.url),"./src/components/ebay-education-notice/education-notice.stories.ts":async()=>t(()=>import("./education-notice.stories-RlYXmca4.js"),__vite__mapDeps([114,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,119,120]),import.meta.url),"./src/components/ebay-eek/eek.stories.ts":async()=>t(()=>import("./eek.stories-Ys2p2Cxd.js"),__vite__mapDeps([121,19,21,2,3,122,23,24,25,26,123]),import.meta.url),"./src/components/ebay-fake-link/fake-link.stories.ts":async()=>t(()=>import("./fake-link.stories-CBCGGOt5.js"),__vite__mapDeps([124,19,118,21,2,3,33,38,59]),import.meta.url),"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts":async()=>t(()=>import("./fake-menu-button.stories-EwEBjSXb.js"),__vite__mapDeps([125,19,20,21,2,3,126,23,24,25,26,34,57,58,33,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,35,45]),import.meta.url),"./src/components/ebay-fake-menu/fake-menu.stories.ts":async()=>t(()=>import("./fake-menu.stories-Bz0UHlb0.js"),__vite__mapDeps([127,20,19,62,21,2,3,33,51,52,26,63,23,24,25,38,64,65,34,35]),import.meta.url),"./src/components/ebay-fake-tabs/fake-tabs.stories.ts":async()=>t(()=>import("./fake-tabs.stories-Kfgxj6ul.js"),__vite__mapDeps([128,20,19,21,2,3,33,129]),import.meta.url),"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts":async()=>t(()=>import("./filter-menu-button.stories-C7wt8xm7.js"),__vite__mapDeps([130,19,20,21,2,3,61,23,24,25,26,34,33,131,132,133,134,90,87,88,89,135,136,98,67,38,64,137,66,43,138]),import.meta.url),"./src/components/ebay-filter-menu/filter-menu.stories.ts":async()=>t(()=>import("./filter-menu.stories-BKZGCJVe.js"),__vite__mapDeps([139,19,20,131,21,2,3,132,133,23,24,25,26,134,90,87,88,89,33,135,136,98,67,38,64,137]),import.meta.url),"./src/components/ebay-filter/filter.stories.ts":async()=>t(()=>import("./filter.stories-CIy8l4zm.js"),__vite__mapDeps([140,19,20,21,2,3,33,141]),import.meta.url),"./src/components/ebay-flag/flag.stories.ts":async()=>t(()=>import("./flag.stories-NLyd2edY.js"),__vite__mapDeps([142,21,2,3,23,24,25,26,35,143,144]),import.meta.url),"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts":async()=>t(()=>import("./fullsceen-dialog.stories-BFTEt-nM.js"),__vite__mapDeps([145,20,21,2,3,33,40,41,23,24,25,26,42,43,38,44,45,36,27,28,29,37,39,146]),import.meta.url),"./src/components/ebay-icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-C0QzeKdH.js"),__vite__mapDeps([147,20,21,2,3,148,23,24,25,26,58,33,51,52,38,44,39,59]),import.meta.url),"./src/components/ebay-icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-CVLsx60J.js"),__vite__mapDeps([149,19,21,2,3,23,24,25,26,35,150,151,105,22,117,152,119,48,108,153,88,154,61,37,77,74,56,79,93,41,155,116,122,156,157,158,148,159,60,133,160,126,28,161,162,63]),import.meta.url),"./src/components/ebay-image-placeholder/image-placeholder.stories.ts":async()=>t(()=>import("./image-placeholder.stories-DpOrVNTe.js"),__vite__mapDeps([163,20,21,2,3,23,24,25,26]),import.meta.url),"./src/components/ebay-infotip/infotip.stories.ts":async()=>t(()=>import("./infotip.stories-78n3Q0Hd.js"),__vite__mapDeps([164,20,21,2,3,33,158,23,24,25,26,165,41,66,67,43,34,166,40,42,38,44,167,35,45,168]),import.meta.url),"./src/components/ebay-inline-notice/inline-notice.stories.ts":async()=>t(()=>import("./inline-notice.stories-BXLDBPMw.js"),__vite__mapDeps([169,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,170]),import.meta.url),"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts":async()=>t(()=>import("./lightbox-dialog.stories-Jo8L-dSJ.js"),__vite__mapDeps([171,20,21,2,3,33,34,35,166,40,41,23,24,25,26,42,43,38,44,167,36,27,28,29,37,39,77]),import.meta.url),"./src/components/ebay-line-chart/line-chart.stories.ts":async()=>t(()=>import("./line-chart.stories-luIO4phV.js"),__vite__mapDeps([172,19,20,21,2,3,30,38,35,173]),import.meta.url),"./src/components/ebay-listbox-button/listbox-button.stories.ts":async()=>t(()=>import("./listbox-button.stories-MBpt1JqT.js"),__vite__mapDeps([174,19,20,175,21,2,3,33,37,23,24,25,26,34,176,63,97,98,67,177,38,178,66,43,135,179,39,45,117,35]),import.meta.url),"./src/components/ebay-listbox/listbox.stories.ts":async()=>t(()=>import("./listbox.stories-C28rQmnb.js"),__vite__mapDeps([180,20,19,176,21,2,3,33,63,23,24,25,26,97,98,67,177,38,178,34]),import.meta.url),"./src/components/ebay-menu-button/menu-button.stories.ts":async()=>t(()=>import("./menu-button.stories-tPzkhZUW.js"),__vite__mapDeps([181,19,20,21,2,3,34,182,58,33,51,52,26,38,44,39,59,36,27,28,23,24,25,29,37,159,61,183,63,135,136,98,67,177,64,65,66,43,68,45,126,35]),import.meta.url),"./src/components/ebay-menu/menu.stories.ts":async()=>t(()=>import("./menu.stories-DXHoH0P5.js"),__vite__mapDeps([184,20,19,183,21,2,3,33,51,52,26,63,23,24,25,135,136,98,67,177,38,64,65,34,45,35]),import.meta.url),"./src/components/ebay-page-notice/page-notice.stories.ts":async()=>t(()=>import("./page-notice.stories-BWQyc_Cj.js"),__vite__mapDeps([185,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,186]),import.meta.url),"./src/components/ebay-pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-CIU2VnqX.js"),__vite__mapDeps([187,20,19,21,2,3,54,55,151,23,24,25,26,33,34,57,58,51,52,38,44,39,59,36,27,28,29,37,60,61,62,63,64,65,66,67,43,68,188]),import.meta.url),"./src/components/ebay-panel-dialog/panel-dialog.stories.ts":async()=>t(()=>import("./panel-dialog.stories-C_09u98Z.js"),__vite__mapDeps([189,19,21,2,3,34,35,33,40,41,23,24,25,26,42,43,38,44,45,36,27,28,29,37,39,190]),import.meta.url),"./src/components/ebay-phone-input/phone-input.stories.ts":async()=>t(()=>import("./phone-input.stories-BA2Yddns.js"),__vite__mapDeps([191,20,21,2,3,143,144,26,34,175,33,37,23,24,25,176,63,97,98,67,177,38,178,66,43,135,179,39,82,83,84,85,44,73,192]),import.meta.url),"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts":async()=>t(()=>import("./progress-bar-expressive.stories-CKevzLn5.js"),__vite__mapDeps([193,20,19,21,2,3,33,78,26,34,194]),import.meta.url),"./src/components/ebay-progress-bar/progress-bar.stories.ts":async()=>t(()=>import("./progress-bar.stories-DyYmkVEB.js"),__vite__mapDeps([195,19,21,2,3,196]),import.meta.url),"./src/components/ebay-progress-spinner/progress-spinner.stories.ts":async()=>t(()=>import("./progress-spinner.stories-C4b3diw2.js"),__vite__mapDeps([197,19,27,21,2,3,28,23,24,25,26,29]),import.meta.url),"./src/components/ebay-progress-stepper/progress-stepper.stories.ts":async()=>t(()=>import("./progress-stepper.stories-gzrOm2kE.js"),__vite__mapDeps([198,19,20,21,2,3,33,162,23,24,25,26,199]),import.meta.url),"./src/components/ebay-radio/radio.stories.ts":async()=>t(()=>import("./radio.stories-DheWTrhY.js"),__vite__mapDeps([200,19,132,21,2,3,133,23,24,25,26,134,90,35]),import.meta.url),"./src/components/ebay-section-notice/section-notice.stories.ts":async()=>t(()=>import("./section-notice.stories-DMDpiL4C.js"),__vite__mapDeps([201,19,20,21,2,3,115,116,23,24,25,26,117,33,41,58,51,52,38,44,39,59,35,34,118,202]),import.meta.url),"./src/components/ebay-section-title/section-title.stories.ts":async()=>t(()=>import("./section-title.stories-DVoXC_SN.js"),__vite__mapDeps([203,19,20,21,2,3,33,34,182,58,51,52,26,38,44,39,59,36,27,28,23,24,25,29,37,159,61,183,63,135,136,98,67,177,64,65,66,43,68,160,204]),import.meta.url),"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts":async()=>t(()=>import("./segmented-buttons.stories-CeurQMJN.js"),__vite__mapDeps([205,19,20,21,2,3,33,157,23,24,25,26,34,45,206]),import.meta.url),"./src/components/ebay-select/select.stories.ts":async()=>t(()=>import("./select.stories-wzpnkUYn.js"),__vite__mapDeps([207,19,21,2,3,83,84,61,23,24,25,26,35,34,36,27,28,29,33,37,38,39,208]),import.meta.url),"./src/components/ebay-signal/signal.stories.ts":async()=>t(()=>import("./signal.stories-BXwTdqC9.js"),__vite__mapDeps([209,19,21,2,3,33,210]),import.meta.url),"./src/components/ebay-skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-ichEIFsS.js"),__vite__mapDeps([211,19,20,21,2,3,33,26,35,36,27,28,23,24,25,29,37,38,39,212]),import.meta.url),"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts":async()=>t(()=>import("./snackbar-dialog.stories-DBTnENie.js"),__vite__mapDeps([213,21,2,3,33,118,38,59,26,34,40,41,23,24,25,42,43,44,20,36,27,28,29,37,39,214]),import.meta.url),"./src/components/ebay-split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-DauCshoT.js"),__vite__mapDeps([215,19,20,21,2,3,33,36,27,28,23,24,25,26,29,37,38,39,182,58,51,52,44,59,159,61,34,183,63,135,136,98,67,177,64,65,66,43,68,216]),import.meta.url),"./src/components/ebay-star-rating-select/star-rating-select.stories.ts":async()=>t(()=>import("./star-rating-select.stories-3P_nHzLa.js"),__vite__mapDeps([217,19,21,2,3,161,23,24,25,26,35,218]),import.meta.url),"./src/components/ebay-star-rating/star-rating.stories.ts":async()=>t(()=>import("./star-rating.stories-n27iTJrC.js"),__vite__mapDeps([219,19,21,2,3,23,24,25,26,35,161]),import.meta.url),"./src/components/ebay-switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-BOoMi69s.js"),__vite__mapDeps([220,19,21,2,3,35,26,221]),import.meta.url),"./src/components/ebay-tabs/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-D2D4ajJu.js"),__vite__mapDeps([222,20,19,21,2,3,33,136,98,67,38,129]),import.meta.url),"./src/components/ebay-textbox/textbox.stories.ts":async()=>t(()=>import("./textbox.stories-CN4uOmwO.js"),__vite__mapDeps([223,19,82,21,2,3,83,84,33,85,25,44,35,26,45,155,23,24,34]),import.meta.url),"./src/components/ebay-toast-dialog/toast-dialog.stories.ts":async()=>t(()=>import("./toast-dialog.stories-Dk9Z5U3s.js"),__vite__mapDeps([224,21,2,3,34,36,27,28,23,24,25,26,29,33,37,38,39,35,40,41,42,43,44,45,225]),import.meta.url),"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts":async()=>t(()=>import("./toggle-button-group.stories-BK2hfGse.js"),__vite__mapDeps([226,19,20,21,2,3,227,33,228,26,34,152,23,24,25,153,36,27,28,29,37,38,39,229]),import.meta.url),"./src/components/ebay-toggle-button/toggle-button.stories.ts":async()=>t(()=>import("./toggle-button.stories-ikb7UPgQ.js"),__vite__mapDeps([230,19,20,227,21,2,3,33,228,34,150,23,24,25,26,45,35]),import.meta.url),"./src/components/ebay-tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-ulSYlgZF.js"),__vite__mapDeps([231,19,20,21,2,3,42,26,33,165,41,23,24,25,66,67,43,38,153,34,35,232,44]),import.meta.url),"./src/components/ebay-tourtip/tourtip.stories.ts":async()=>t(()=>import("./tourtip.stories-DlgEL4vs.js"),__vite__mapDeps([233,20,21,2,3,33,34,165,41,23,24,25,26,66,67,43,234,44]),import.meta.url),"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts":async()=>t(()=>import("./tri-state-checkbox.stories-B4oeEtwZ.js"),__vite__mapDeps([235,19,21,2,3,87,88,23,24,25,26,89,90,154,35]),import.meta.url),"./src/components/ebay-video/video.stories.ts":async()=>t(()=>import("./video.stories-BA4U4GMY.js"),__vite__mapDeps([236,19,21,2,3,42,26,78,22,23,24,25,27,28,29,156,30,237]),import.meta.url)};async function v(e){return L[e]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(e=[])=>{const i=await Promise.all([e.at(0)??t(()=>import("./entry-preview-CnmGQuWU.js"),[],import.meta.url),e.at(1)??t(()=>import("./entry-preview-docs-CSoLDZmb.js"),__vite__mapDeps([238,4,2]),import.meta.url),e.at(2)??t(()=>import("./preview-CuQOhUTO.js"),[],import.meta.url),e.at(3)??t(()=>import("./preview-Ct5NkTJf.js"),[],import.meta.url),e.at(4)??t(()=>import("./preview-CwqMn10d.js"),__vite__mapDeps([239,5]),import.meta.url),e.at(5)??t(()=>import("./preview-B4GcaC1c.js"),[],import.meta.url),e.at(6)??t(()=>import("./preview-Db4Idchh.js"),[],import.meta.url),e.at(7)??t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([240,5]),import.meta.url),e.at(8)??t(()=>import("./preview-BpcF_O6y.js"),[],import.meta.url),e.at(9)??t(()=>import("./preview-D8466X5v.js"),[],import.meta.url),e.at(10)??t(()=>import("./preview-6-ZzJasl.js"),__vite__mapDeps([241,242]),import.meta.url)]);return P(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(v,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/docs/assets/image-placeholder.stories-CJOl5n0E.js b/docs/assets/image-placeholder.stories-DpOrVNTe.js similarity index 98% rename from docs/assets/image-placeholder.stories-CJOl5n0E.js rename to docs/assets/image-placeholder.stories-DpOrVNTe.js index 43f6e3bf5..6e7cb5f88 100644 --- a/docs/assets/image-placeholder.stories-CJOl5n0E.js +++ b/docs/assets/image-placeholder.stories-DpOrVNTe.js @@ -1,4 +1,4 @@ -import{b as D}from"./utils-DWCsNc5l.js";import{t as m,r as i,b as c,d as l}from"./registry-B-klnak9.js";/* empty css */import{_ as E}from"./index-C98gAawF.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const S=`

+import{b as D}from"./utils-DWCsNc5l.js";import{t as m,r as i,b as c,d as l}from"./registry-B-klnak9.js";/* empty css */import{_ as E}from"./index-Bd083XES.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const S=`

ebay-image-placeholder diff --git a/docs/assets/index-CylBVrvT.js b/docs/assets/index-59xVm8Y_.js similarity index 97% rename from docs/assets/index-CylBVrvT.js rename to docs/assets/index-59xVm8Y_.js index bfd9dafc8..831f09170 100644 --- a/docs/assets/index-CylBVrvT.js +++ b/docs/assets/index-59xVm8Y_.js @@ -1 +1 @@ -import{r as c,b as n,d as r,t as _}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function p(){return''}const o="aIkFYFRc",a=_(o);c.r(o,()=>a);const l={};a._=n(function(t,e,m,k,b,f){i(s,{...t,_name:"settings-24",_size:"24",_type:"icon",_themes:p},e,m,"0")},{t:o,i:!0},l);a.Component=r(l,a._);export{a as _}; +import{r as c,b as n,d as r,t as _}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function p(){return''}const o="aIkFYFRc",a=_(o);c.r(o,()=>a);const l={};a._=n(function(t,e,m,k,b,f){i(s,{...t,_name:"settings-24",_size:"24",_type:"icon",_themes:p},e,m,"0")},{t:o,i:!0},l);a.Component=r(l,a._);export{a as _}; diff --git a/docs/assets/index-CAVmWk6z.js b/docs/assets/index-5NFv2JwF.js similarity index 76% rename from docs/assets/index-CAVmWk6z.js rename to docs/assets/index-5NFv2JwF.js index 32c35178d..de2479354 100644 --- a/docs/assets/index-CAVmWk6z.js +++ b/docs/assets/index-5NFv2JwF.js @@ -1 +1 @@ -import{t as i,r as g,b as k,e as c,p as b,f,d as $}from"./registry-B-klnak9.js";import{_ as d,a as y,b as C}from"./index-CIM_zO8g.js";import{_ as t}from"./render-tag-BBOJ9dEX.js";const m="EKXrptGh",e=i(m),E=e;g.r(m,()=>e);const o={};e._=k(function(_,r,s,l,h,u){const{class:n,size:a,...p}=_;r.be("span",c(b(p),{class:f(["progress-spinner",a==="large"&&"progress-spinner--large",n]),role:"img"}),"0",l,null,4),a==="large"?t(d,{},r,s,"1"):a==="small"?t(y,{},r,s,"2"):t(C,{},r,s,"3"),r.ee()},{t:m,i:!0},o);e.Component=$(o,e._);export{E as _}; +import{t as i,r as g,b as k,e as c,p as b,f,d as $}from"./registry-B-klnak9.js";import{_ as d,a as y,b as C}from"./index-DYoePqPO.js";import{_ as t}from"./render-tag-BBOJ9dEX.js";const m="EKXrptGh",e=i(m),E=e;g.r(m,()=>e);const o={};e._=k(function(_,r,s,l,h,u){const{class:n,size:a,...p}=_;r.be("span",c(b(p),{class:f(["progress-spinner",a==="large"&&"progress-spinner--large",n]),role:"img"}),"0",l,null,4),a==="large"?t(d,{},r,s,"1"):a==="small"?t(y,{},r,s,"2"):t(C,{},r,s,"3"),r.ee()},{t:m,i:!0},o);e.Component=$(o,e._);export{E as _}; diff --git a/docs/assets/index-Cm_Gb0Br.js b/docs/assets/index-A0egsrj7.js similarity index 89% rename from docs/assets/index-Cm_Gb0Br.js rename to docs/assets/index-A0egsrj7.js index b4d2ebecf..f32e96c87 100644 --- a/docs/assets/index-Cm_Gb0Br.js +++ b/docs/assets/index-A0egsrj7.js @@ -1 +1 @@ -import{r as _,b as n,d as s,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="K$LqrTPd",o=p(t);_.r(t,()=>o);const e={};o._=n(function(a,m,r,k,b,d){l(i,{...a,_name:"close-16",_size:"16",_type:"icon",_themes:c},m,r,"0")},{t,i:!0},e);o.Component=s(e,o._);export{o as _}; +import{r as _,b as n,d as s,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="K$LqrTPd",o=p(t);_.r(t,()=>o);const e={};o._=n(function(a,m,r,k,b,d){l(i,{...a,_name:"close-16",_size:"16",_type:"icon",_themes:c},m,r,"0")},{t,i:!0},e);o.Component=s(e,o._);export{o as _}; diff --git a/docs/assets/index-B5OdA25b.css b/docs/assets/index-B5OdA25b.css new file mode 100644 index 000000000..4cf2e7890 --- /dev/null +++ b/docs/assets/index-B5OdA25b.css @@ -0,0 +1 @@ +:root{--bubble-shadow: 0 2px 7px rgba(0, 0, 0, .15), 0 5px 17px rgba(0, 0, 0, .2)}.combobox{box-sizing:border-box;line-height:normal;position:relative}span.combobox{display:inline-block;vertical-align:bottom}.combobox__value{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combobox__options--fix-width[role=listbox]{width:100%}.combobox__listbox{background-color:var( --combobox-listbox-background-color, var(--color-background-elevated) );border-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );box-shadow:var(--bubble-shadow);box-sizing:border-box;display:none;left:0;max-height:400px;min-width:100%;overflow-y:auto;position:absolute;top:calc(100% + 4px);width:auto;z-index:2}.combobox__listbox--reverse,[dir=rtl] .combobox__listbox{left:unset;right:0}[dir=rtl] .combobox__listbox--reverse{left:0;right:unset}.combobox__control>button,.combobox__control>svg.icon{-webkit-margin-start:8px;margin-inline-start:8px}.combobox__option[role^=option]{background-color:initial;border-color:var( --listbox-option-border-color, var(--color-background-primary) );border-style:solid;border-width:1px;box-sizing:border-box;color:var( --listbox-option-foreground-color, var(--color-foreground-primary) );cursor:default;display:inline-grid;font-family:inherit;grid-template-columns:auto auto;justify-content:space-between;padding:8px 15px;position:relative;width:100%}.combobox__option[role^=option]:focus{outline-offset:-4px}.combobox__option[role^=option][hidden]{display:none}.combobox__option[role^=option]:hover{color:var( --listbox-option-hover-foreground-color, var(--color-foreground-primary) )}.combobox__option[role^=option]:active{font-weight:700}.combobox__option[role^=option]:disabled,.combobox__option[role^=option][aria-disabled=true]{background-color:unset;color:var( --listbox-option-disabled-foreground-color, var(--color-foreground-disabled) );font-weight:unset}.combobox__option[role^=option]:first-child{border-top-left-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );border-top-right-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) )}.combobox__option[role^=option]:last-child{border-bottom-left-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );border-bottom-right-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) )}.combobox__option[role^=option]:not(:last-child){margin-bottom:1px}.combobox__option[role^=option]:hover{background-color:var(--color-state-primary-hover)}.combobox__option[role^=option] svg.icon{align-self:center;fill:currentColor;margin:0 auto;opacity:0;stroke:currentColor;stroke-width:0}.combobox__option--active[role^=option]{background-color:var(--color-state-primary-active)}.combobox__option--active[role^=option] svg.icon{opacity:1}.combobox__control button.icon-btn{height:38px;padding:0;position:absolute;right:1px;top:1px;width:38px}.combobox__control button.icon-btn svg{left:0;margin:0;right:0}.combobox--expanded .combobox__listbox{display:block}.combobox--expanded svg.icon--12{transform:rotate(180deg)}.combobox__control>svg.icon--12{color:var(--combobox-textbox-icon-color, var(--color-foreground-primary));pointer-events:none;position:absolute;right:17px;top:calc(50% - 8px)}.combobox__control>input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var( --combobox-textbox-background-color, var(--color-background-secondary) );border-color:var( --combobox-textbox-border-color, var(--color-stroke-default) );border-radius:var( --combobox-textbox-border-radius, var(--border-radius-50) );border-style:solid;border-width:1px;box-sizing:border-box;color:var( --combobox-textbox-foreground-color, var(--color-foreground-on-secondary) );font-family:inherit;font-size:inherit;height:40px;margin-left:0;margin-right:0;padding:0 32px 0 16px}.combobox__control>input[readonly]{color:var( --combobox-textbox-foreground-color, var(--color-foreground-primary) );cursor:default;text-shadow:0 0 0 inherit;--webkit-user-select: none}.combobox__control>input[readonly]::-moz-selection,.combobox__control>input[readonly]::selection{background-color:var( --combobox-textbox-readonly-selection-background, var(--color-background-primary) )}.combobox__control>input[aria-disabled=true],.combobox__control>input[disabled]{border-color:var( --combobox-textbox-disabled-border-color, var(--color-background-disabled) );color:var( --combobox-textbox-disabled-foreground-color, var(--color-foreground-disabled) )}.combobox__control>input[aria-disabled=true][readonly],.combobox__control>input[disabled][readonly]{text-shadow:0 0 0 var(--color-foreground-disabled)}.combobox__control>input[aria-disabled=true]+svg,.combobox__control>input[disabled]+svg{opacity:.5}.combobox__control>input[aria-invalid=true]{border-color:var( --combobox-textbox-invalid-foreground-color, var(--color-stroke-attention) )}.combobox__control>input::-ms-clear{display:none}.combobox__control--borderless>input{background-color:initial;border-color:transparent;padding-left:0}.combobox__control>input:focus{background-color:var( --combobox-textbox-focus-background-color, var(--color-background-primary) );border-color:var( --combobox-textbox-focus-border-color, var(--color-foreground-primary) )}.combobox__control--borderless>input:focus{border-color:transparent;outline:none}.combobox--fluid,.combobox--fluid .combobox__control>input{width:100%}.combobox--large .combobox__control>input{font-size:var(--font-size-medium);height:48px}.combobox__control>input[disabled]{background-color:var( --combobox-textbox-disabled-background-color, var(--color-background-secondary) )}.combobox__option--active[role=option]{color:var( --combobox-listbox-option-hover-foreground-color, var(--color-foreground-primary) );font-weight:700}@media (-ms-high-contrast: active),all and (-ms-high-contrast: none){.combobox__value,::-ms-backdrop{min-width:100%}}[dir=rtl] .combobox__control>input{padding:0 16px 0 32px}[dir=rtl] .combobox__control>button,[dir=rtl] .combobox__control>svg.icon{right:unset}[dir=rtl] .combobox__control>svg.icon{left:16px;margin-top:1.3px}[dir=rtl] .combobox__control>button{left:0}[dir=rtl] .combobox__control button.icon-btn{left:1px;right:inherit} diff --git a/docs/assets/index-CJRseQ2S.js b/docs/assets/index-BBcDbpTN.js similarity index 98% rename from docs/assets/index-CJRseQ2S.js rename to docs/assets/index-BBcDbpTN.js index e1bb46044..7924cce49 100644 --- a/docs/assets/index-CJRseQ2S.js +++ b/docs/assets/index-BBcDbpTN.js @@ -1 +1 @@ -import{t as L,r as H,b as K,e as C,p as v,f as u,d as $}from"./registry-B-klnak9.js";import{_}from"./dynamic-tag-DQCvkDdb.js";import{_ as O}from"./index-BHuZwrkj.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{s as I,c as N}from"./index-0_D4u4b1.js";import{s as R}from"./index-D52eSIAE.js";import{h as U,a as G}from"./index-blmbJU0z.js";const P=1300;class Y extends Marko.Component{get isAutoSelection(){return this.input.listSelection==="auto"}elementScroll(){I(this.getEls("option")[this.state.selectedIndex])}handleChange(e,s){var t;if(this.state.selectedIndex!==e){const a=(t=this.input.options)==null?void 0:t[e];if(a.disabled)return;this.state.selectedIndex=e,this.once("update",()=>{this.emit("change",{index:e,wasClicked:s,selected:[a.value],el:this.getEls("option")[e]})})}}handleClick(e){this.handleChange(e,!0)}handleMouseDown(){this.wasClicked=!0}handleKeyDown(e){U(e,()=>{this.emit("escape")}),G(e,()=>this.handleChange(this._activeDescendant.index,!1));const s=this.getTypeaheadIndex(this.getEl("options").children,e.key,this.input.typeaheadTimeoutLength||P);if(s!==-1){this._activeDescendant.index=s;const t=this.getEl("options");t.scrollTop=this.getEls("option")[s].offsetTop-t.offsetHeight/2}}handleListboxChange(e){const s=parseInt(e.detail.toIndex,10),t=this.getEls("option")[s],a=this.wasClicked;I(t),this.wasClicked&&(this.wasClicked=!1),this.handleChange(s,a)}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:s}=this;e.options=e.options||[],s.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected))}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e,state:s}=this;if(e.options.length&&!e.disabled){const t=this.getEl("options"),a=this.getEl("options");this._activeDescendant=N(t,a,a,".listbox__option[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:s.selectedIndex,autoReset:null,autoScroll:!this.isAutoSelection});const{getIndex:f,destroy:d}=R();this.getTypeaheadIndex=f,this.destroyTypeahead=d}}_cleanupMakeup(){this._activeDescendant&&(this._activeDescendant.reset(),this._activeDescendant.destroy(),this._activeDescendant=void 0)}}const x="EvVdpTum",l=L(x),te=l;H.r(x,()=>l);const w=Y;l._=K(function(b,e,s,t,a,f){const{name:d,class:T,disabled:j,options:c,tabindex:E=0,typeaheadTimeoutLength:q,...M}=b;var k=c[a.selectedIndex];e.be("div",C(v(M),{role:"listbox",class:u(["listbox__options",T]),tabindex:E}),"@options",t,null,4,{pa:{tabindex:1},onactiveDescendantChange:s.d("activeDescendantChange",t.isAutoSelection?"handleListboxChange":void 0,!1),onkeydown:s.d("keydown",!t.isAutoSelection&&"handleKeyDown",!1)});{let h=0;for(const i of c||[]){let r=h++;const{value:z,class:S,text:p,selected:B,disabled:g,tabindex:A,icon:m,description:o,...D}=i,y="@option[]",n=`[${y}]`;e.be("div",C(v(D),{class:u(["listbox__option",S]),role:"option",tabindex:g?-1:A,"aria-disabled":g&&"true","aria-selected":k===i&&"true"}),y,t,null,4,{pa:{class:1},onclick:s.d("click",!t.isAutoSelection&&"handleClick",!1,[r]),onmousedown:s.d("mousedown",t.isAutoSelection&&"handleMouseDown",!1)}),m?(e.be("span",{class:"listbox__value"},"0"+n,t,null,1),_(e,m,null,null,null,null,s,"1"+n),p&&(e.be("span",null,"2"+n,t,null,0),e.t(p,t),e.ee()),o&&(e.be("span",null,"3"+n,t,null,0),_(e,o,null,null,null,null,s,"4"+n),e.ee()),e.ee()):(e.be("span",{class:"listbox__value"},"5"+n,t,null,1),e.t(p,t),e.ee(),o&&(e.be("span",{class:"listbox__description"},"6"+n,t,null,1),_(e,o,null,null,null,null,s,"7"+n),e.ee())),V(O,{},e,s,"8"+n),e.ee()}}e.ee(),e.be("select",{hidden:"",class:"listbox__native",name:d},"9",t,null,0);{let h=0;for(const i of c||[]){const r=`[${h++}]`;e.e("option",{value:i.value,selected:i===k,class:u(i.class)},"10"+r,t,0,0)}}e.ee()},{t:x},w);l.Component=$(w,l._);export{te as C}; +import{t as L,r as H,b as K,e as C,p as v,f as u,d as $}from"./registry-B-klnak9.js";import{_}from"./dynamic-tag-DQCvkDdb.js";import{_ as O}from"./index-DO9To3q6.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{s as I,c as N}from"./index-0_D4u4b1.js";import{s as R}from"./index-D52eSIAE.js";import{h as U,a as G}from"./index-blmbJU0z.js";const P=1300;class Y extends Marko.Component{get isAutoSelection(){return this.input.listSelection==="auto"}elementScroll(){I(this.getEls("option")[this.state.selectedIndex])}handleChange(e,s){var t;if(this.state.selectedIndex!==e){const a=(t=this.input.options)==null?void 0:t[e];if(a.disabled)return;this.state.selectedIndex=e,this.once("update",()=>{this.emit("change",{index:e,wasClicked:s,selected:[a.value],el:this.getEls("option")[e]})})}}handleClick(e){this.handleChange(e,!0)}handleMouseDown(){this.wasClicked=!0}handleKeyDown(e){U(e,()=>{this.emit("escape")}),G(e,()=>this.handleChange(this._activeDescendant.index,!1));const s=this.getTypeaheadIndex(this.getEl("options").children,e.key,this.input.typeaheadTimeoutLength||P);if(s!==-1){this._activeDescendant.index=s;const t=this.getEl("options");t.scrollTop=this.getEls("option")[s].offsetTop-t.offsetHeight/2}}handleListboxChange(e){const s=parseInt(e.detail.toIndex,10),t=this.getEls("option")[s],a=this.wasClicked;I(t),this.wasClicked&&(this.wasClicked=!1),this.handleChange(s,a)}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:s}=this;e.options=e.options||[],s.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected))}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e,state:s}=this;if(e.options.length&&!e.disabled){const t=this.getEl("options"),a=this.getEl("options");this._activeDescendant=N(t,a,a,".listbox__option[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:s.selectedIndex,autoReset:null,autoScroll:!this.isAutoSelection});const{getIndex:f,destroy:d}=R();this.getTypeaheadIndex=f,this.destroyTypeahead=d}}_cleanupMakeup(){this._activeDescendant&&(this._activeDescendant.reset(),this._activeDescendant.destroy(),this._activeDescendant=void 0)}}const x="EvVdpTum",l=L(x),te=l;H.r(x,()=>l);const w=Y;l._=K(function(b,e,s,t,a,f){const{name:d,class:T,disabled:j,options:c,tabindex:E=0,typeaheadTimeoutLength:q,...M}=b;var k=c[a.selectedIndex];e.be("div",C(v(M),{role:"listbox",class:u(["listbox__options",T]),tabindex:E}),"@options",t,null,4,{pa:{tabindex:1},onactiveDescendantChange:s.d("activeDescendantChange",t.isAutoSelection?"handleListboxChange":void 0,!1),onkeydown:s.d("keydown",!t.isAutoSelection&&"handleKeyDown",!1)});{let h=0;for(const i of c||[]){let r=h++;const{value:z,class:S,text:p,selected:B,disabled:g,tabindex:A,icon:m,description:o,...D}=i,y="@option[]",n=`[${y}]`;e.be("div",C(v(D),{class:u(["listbox__option",S]),role:"option",tabindex:g?-1:A,"aria-disabled":g&&"true","aria-selected":k===i&&"true"}),y,t,null,4,{pa:{class:1},onclick:s.d("click",!t.isAutoSelection&&"handleClick",!1,[r]),onmousedown:s.d("mousedown",t.isAutoSelection&&"handleMouseDown",!1)}),m?(e.be("span",{class:"listbox__value"},"0"+n,t,null,1),_(e,m,null,null,null,null,s,"1"+n),p&&(e.be("span",null,"2"+n,t,null,0),e.t(p,t),e.ee()),o&&(e.be("span",null,"3"+n,t,null,0),_(e,o,null,null,null,null,s,"4"+n),e.ee()),e.ee()):(e.be("span",{class:"listbox__value"},"5"+n,t,null,1),e.t(p,t),e.ee(),o&&(e.be("span",{class:"listbox__description"},"6"+n,t,null,1),_(e,o,null,null,null,null,s,"7"+n),e.ee())),V(O,{},e,s,"8"+n),e.ee()}}e.ee(),e.be("select",{hidden:"",class:"listbox__native",name:d},"9",t,null,0);{let h=0;for(const i of c||[]){const r=`[${h++}]`;e.e("option",{value:i.value,selected:i===k,class:u(i.class)},"10"+r,t,0,0)}}e.ee()},{t:x},w);l.Component=$(w,l._);export{te as C}; diff --git a/docs/assets/index-DQxTdvUO.js b/docs/assets/index-BD-Pnzly.js similarity index 94% rename from docs/assets/index-DQxTdvUO.js rename to docs/assets/index-BD-Pnzly.js index 269e882bb..981e0c2bf 100644 --- a/docs/assets/index-DQxTdvUO.js +++ b/docs/assets/index-BD-Pnzly.js @@ -1 +1 @@ -import{r,b as p,d as i,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function d(){return''}const n="FrzxokMd",o=s(n);r.r(n,()=>o);const h={};o._=p(function(t,e,m,k,u,y){c(l,{...t,_name:"full-view-24",_size:"24",_type:"icon",_themes:d},e,m,"0")},{t:n,i:!0},h);o.Component=i(h,o._);function f(){return''}const _="Qd_HuFbe",a=s(_);r.r(_,()=>a);const b={};a._=p(function(t,e,m,k,u,y){c(l,{...t,_name:"mobile-24",_size:"24",_type:"icon",_themes:f},e,m,"0")},{t:_,i:!0},b);a.Component=i(b,a._);export{o as _,a}; +import{r,b as p,d as i,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function d(){return''}const n="FrzxokMd",o=s(n);r.r(n,()=>o);const h={};o._=p(function(t,e,m,k,u,y){c(l,{...t,_name:"full-view-24",_size:"24",_type:"icon",_themes:d},e,m,"0")},{t:n,i:!0},h);o.Component=i(h,o._);function f(){return''}const _="Qd_HuFbe",a=s(_);r.r(_,()=>a);const b={};a._=p(function(t,e,m,k,u,y){c(l,{...t,_name:"mobile-24",_size:"24",_type:"icon",_themes:f},e,m,"0")},{t:_,i:!0},b);a.Component=i(b,a._);export{o as _,a}; diff --git a/docs/assets/index-0_n8TZiB.js b/docs/assets/index-BHD_v1ay.js similarity index 96% rename from docs/assets/index-0_n8TZiB.js rename to docs/assets/index-BHD_v1ay.js index e16fbb144..46358b0a0 100644 --- a/docs/assets/index-0_n8TZiB.js +++ b/docs/assets/index-BHD_v1ay.js @@ -1 +1 @@ -import{r as _,b as r,d as i,t as l}from"./registry-B-klnak9.js";import{_ as p}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function Z(){return''}const b="AonxKmQg",t=l(b);_.r(b,()=>t);const f={};t._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-unchecked-24",_size:"24",_type:"icon",_themes:Z},e,n,"0")},{t:b,i:!0},f);t.Component=i(f,t._);function x(){return''}const y="ydNYqKvj",m=l(y);_.r(y,()=>m);const v={};m._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-checked-24",_size:"24",_type:"icon",_themes:x},e,n,"0")},{t:y,i:!0},v);m.Component=i(v,m._);function A(){return''}const h="TnUlaTc",a=l(h);_.r(h,()=>a);const g={};a._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-unchecked-18",_size:"18",_type:"icon",_themes:A},e,n,"0")},{t:h,i:!0},g);a.Component=i(g,a._);function T(){return''}const $="aQeWZ$Fd",c=l($);_.r($,()=>c);const C={};c._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-checked-18",_size:"18",_type:"icon",_themes:T},e,n,"0")},{t:$,i:!0},C);c.Component=i(C,c._);export{c as _,a,t as b,m as c}; +import{r as _,b as r,d as i,t as l}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function Z(){return''}const b="AonxKmQg",t=l(b);_.r(b,()=>t);const f={};t._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-unchecked-24",_size:"24",_type:"icon",_themes:Z},e,n,"0")},{t:b,i:!0},f);t.Component=i(f,t._);function x(){return''}const y="ydNYqKvj",m=l(y);_.r(y,()=>m);const v={};m._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-checked-24",_size:"24",_type:"icon",_themes:x},e,n,"0")},{t:y,i:!0},v);m.Component=i(v,m._);function A(){return''}const h="TnUlaTc",a=l(h);_.r(h,()=>a);const g={};a._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-unchecked-18",_size:"18",_type:"icon",_themes:A},e,n,"0")},{t:h,i:!0},g);a.Component=i(g,a._);function T(){return''}const $="aQeWZ$Fd",c=l($);_.r($,()=>c);const C={};c._=r(function(o,e,n,d,u,k){s(p,{...o,_name:"radio-checked-18",_size:"18",_type:"icon",_themes:T},e,n,"0")},{t:$,i:!0},C);c.Component=i(C,c._);export{c as _,a,t as b,m as c}; diff --git a/docs/assets/index-W7tWgPwW.js b/docs/assets/index-BNniq57Q.js similarity index 96% rename from docs/assets/index-W7tWgPwW.js rename to docs/assets/index-BNniq57Q.js index 212f7d121..d822f7d4c 100644 --- a/docs/assets/index-W7tWgPwW.js +++ b/docs/assets/index-BNniq57Q.js @@ -1 +1 @@ -import{r as _,b as r,d as l,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function $(){return''}const c="pobrZUBm",n=p(c);_.r(c,()=>n);const h={};n._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"close-24",_size:"24",_type:"icon",_themes:$},e,t,"0")},{t:c,i:!0},h);n.Component=l(h,n._);function Z(){return''}const d="HImXdBpb",a=p(d);_.r(d,()=>a);const k={};a._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"mail-24",_size:"24",_type:"icon",_themes:Z},e,t,"0")},{t:d,i:!0},k);a.Component=l(k,a._);function C(){return''}const b="HcHOTKFm",m=p(b);_.r(b,()=>m);const v={};m._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"profile-24",_size:"24",_type:"icon",_themes:C},e,t,"0")},{t:b,i:!0},v);m.Component=l(v,m._);export{n as _,m as a,a as b}; +import{r as _,b as r,d as l,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function $(){return''}const c="pobrZUBm",n=p(c);_.r(c,()=>n);const h={};n._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"close-24",_size:"24",_type:"icon",_themes:$},e,t,"0")},{t:c,i:!0},h);n.Component=l(h,n._);function Z(){return''}const d="HImXdBpb",a=p(d);_.r(d,()=>a);const k={};a._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"mail-24",_size:"24",_type:"icon",_themes:Z},e,t,"0")},{t:d,i:!0},k);a.Component=l(k,a._);function C(){return''}const b="HcHOTKFm",m=p(b);_.r(b,()=>m);const v={};m._=r(function(o,e,t,u,y,f){s(i,{...o,_name:"profile-24",_size:"24",_type:"icon",_themes:C},e,t,"0")},{t:b,i:!0},v);m.Component=l(v,m._);export{n as _,m as a,a as b}; diff --git a/docs/assets/index-DrsTyFc_.js b/docs/assets/index-BQLNeQ70.js similarity index 94% rename from docs/assets/index-DrsTyFc_.js rename to docs/assets/index-BQLNeQ70.js index 82055addb..6e02084ce 100644 --- a/docs/assets/index-DrsTyFc_.js +++ b/docs/assets/index-BQLNeQ70.js @@ -1 +1 @@ -import{r as _,b as l,d as i,t as c}from"./registry-B-klnak9.js";import{_ as p}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function u(){return''}const a="aSlkNTzm",o=c(a);_.r(a,()=>o);const f={};o._=l(function(e,m,n,d,b,k){s(p,{...e,_name:"attention-24",_size:"24",_type:"icon",_themes:u},m,n,"0")},{t:a,i:!0},f);o.Component=i(f,o._);function $(){return''}const r="$xRKSymm",t=c(r);_.r(r,()=>t);const y={};t._=l(function(e,m,n,d,b,k){s(p,{...e,_name:"play-filled-64-colored",_size:"64-colored",_type:"icon",_themes:$},m,n,"0")},{t:r,i:!0},y);t.Component=i(y,t._);export{o as _,t as a}; +import{r as _,b as l,d as i,t as c}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function u(){return''}const a="aSlkNTzm",o=c(a);_.r(a,()=>o);const f={};o._=l(function(e,m,n,d,b,k){s(p,{...e,_name:"attention-24",_size:"24",_type:"icon",_themes:u},m,n,"0")},{t:a,i:!0},f);o.Component=i(f,o._);function $(){return''}const r="$xRKSymm",t=c(r);_.r(r,()=>t);const y={};t._=l(function(e,m,n,d,b,k){s(p,{...e,_name:"play-filled-64-colored",_size:"64-colored",_type:"icon",_themes:$},m,n,"0")},{t:r,i:!0},y);t.Component=i(y,t._);export{o as _,t as a}; diff --git a/docs/assets/index-Bgyy39_y.js b/docs/assets/index-BQLO4xjX.js similarity index 98% rename from docs/assets/index-Bgyy39_y.js rename to docs/assets/index-BQLO4xjX.js index 69a220e87..1b45288dd 100644 --- a/docs/assets/index-Bgyy39_y.js +++ b/docs/assets/index-BQLO4xjX.js @@ -1 +1 @@ -import{r as _,b as r,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";function Z(){return''}const d="OwrkMgO",t=s(d);_.r(d,()=>t);const $={};t._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-unchecked-24",_size:"24",_type:"icon",_themes:Z},e,c,"0")},{t:d,i:!0},$);t.Component=p($,t._);function g(){return''}const u="JUZAmcEi",n=s(u);_.r(u,()=>n);const f={};n._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-checked-24",_size:"24",_type:"icon",_themes:g},e,c,"0")},{t:u,i:!0},f);n.Component=p(f,n._);function H(){return''}const C="cQEzNQhf",a=s(C);_.r(C,()=>a);const x={};a._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-unchecked-18",_size:"18",_type:"icon",_themes:H},e,c,"0")},{t:C,i:!0},x);a.Component=p(x,a._);function M(){return''}const y="HNDFpken",m=s(y);_.r(y,()=>m);const v={};m._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-checked-18",_size:"18",_type:"icon",_themes:M},e,c,"0")},{t:y,i:!0},v);m.Component=p(v,m._);export{t as _,n as a,a as b,m as c}; +import{r as _,b as r,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";function Z(){return''}const d="OwrkMgO",t=s(d);_.r(d,()=>t);const $={};t._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-unchecked-24",_size:"24",_type:"icon",_themes:Z},e,c,"0")},{t:d,i:!0},$);t.Component=p($,t._);function g(){return''}const u="JUZAmcEi",n=s(u);_.r(u,()=>n);const f={};n._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-checked-24",_size:"24",_type:"icon",_themes:g},e,c,"0")},{t:u,i:!0},f);n.Component=p(f,n._);function H(){return''}const C="cQEzNQhf",a=s(C);_.r(C,()=>a);const x={};a._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-unchecked-18",_size:"18",_type:"icon",_themes:H},e,c,"0")},{t:C,i:!0},x);a.Component=p(x,a._);function M(){return''}const y="HNDFpken",m=s(y);_.r(y,()=>m);const v={};m._=r(function(o,e,c,l,k,b){h(i,{...o,_name:"checkbox-checked-18",_size:"18",_type:"icon",_themes:M},e,c,"0")},{t:y,i:!0},v);m.Component=p(v,m._);export{t as _,n as a,a as b,m as c}; diff --git a/docs/assets/index-CY_AuJ-_.js b/docs/assets/index-BWfkz_xl.js similarity index 97% rename from docs/assets/index-CY_AuJ-_.js rename to docs/assets/index-BWfkz_xl.js index afaf37a0d..30a6217d7 100644 --- a/docs/assets/index-CY_AuJ-_.js +++ b/docs/assets/index-BWfkz_xl.js @@ -1 +1 @@ -import{r as w,b as y,g as E,d as S,t as v}from"./registry-B-klnak9.js";import{i as C,a as M}from"./attr-tag-DphMQldM.js";import{_ as I}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-DX0IFE80.js";import{_ as B}from"./render-tag-BBOJ9dEX.js";class P extends Marko.Component{setExpandedState(t){t!==this.state.expanded&&(this.state.expanded=t,t?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(t){const e=t.changedTouches;this.touches=[];for(let a=0;ad.identifier===a.identifier),o=a.pageY-this.touches[i].pageY;o>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(t)):o<-30&&(this.setExpandedState(!0),this.handleTouchEnd(t))}}handleTouchEnd(t){for(let e=0;eo.identifier===a.identifier);i>-1&&this.touches.splice(i,1)}}onCreate(){this.state={expanded:!1}}onMount(){this.touches=[]}onInput(t){this.state={expanded:t.expanded||!1}}}const r="GQOchJVg",s=v(r),L=["wide","narrow","fullscreen","large"];w.r(r,()=>s);const u=P;s._=y(function(c,t,e,a,i,o){const{class:d,variant:g,buttonPosition:p="right",a11yMaximizeText:m="Maximize Lightbox Dialog",a11yMinimizeText:x="Minimize Lightbox Dialog",bannerImgSrc:l,bannerImgPosition:f,size:h,renderBody:_,...b}=c;var k=g==="_mini",T=i.expanded?x:m;B(z,C(()=>(M("top",{renderBody:n=>{n.e("button",{"aria-label":T,type:"button",class:"lightbox-dialog__handle"},"0",a,0,0,{onclick:e.d("click","handleExpand",!1),ontouchstart:e.d("touchstart","handleTouchStart",!1),ontouchmove:e.d("touchmove","handleTouchMove",!1),ontouchend:e.d("touchend","handleTouchEnd",!1),ontouchcancel:e.d("touchcancel","handleTouchEnd",!1)}),l&&n.e("div",{class:"lightbox-dialog__image",style:E({backgroundImage:`url(${l})`,backgroundPosition:f})},"1",a,0,1)}}),n=>{I(n,_,null,null,null,null,e,"2")}),{...b,classPrefix:"lightbox-dialog",buttonPosition:p,class:[d,"lightbox-dialog--mask-fade",l&&"lightbox-dialog--expressive",h&&L.includes(h)&&`lightbox-dialog--${h}`],windowClass:["lightbox-dialog__window--animate",k&&"lightbox-dialog__window--mini",i.expanded&&"lightbox-dialog__window--expanded"],top:void 0}),t,e,"@dialog",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["prevButtonClick","emit",!1,["prevButtonClick"]]])},{t:r},u);s.Component=S(u,s._);export{s as _}; +import{r as w,b as y,g as E,d as S,t as v}from"./registry-B-klnak9.js";import{i as C,a as M}from"./attr-tag-DphMQldM.js";import{_ as I}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-DubLym3o.js";import{_ as B}from"./render-tag-BBOJ9dEX.js";class P extends Marko.Component{setExpandedState(t){t!==this.state.expanded&&(this.state.expanded=t,t?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(t){const e=t.changedTouches;this.touches=[];for(let a=0;ad.identifier===a.identifier),o=a.pageY-this.touches[i].pageY;o>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(t)):o<-30&&(this.setExpandedState(!0),this.handleTouchEnd(t))}}handleTouchEnd(t){for(let e=0;eo.identifier===a.identifier);i>-1&&this.touches.splice(i,1)}}onCreate(){this.state={expanded:!1}}onMount(){this.touches=[]}onInput(t){this.state={expanded:t.expanded||!1}}}const r="GQOchJVg",s=v(r),L=["wide","narrow","fullscreen","large"];w.r(r,()=>s);const u=P;s._=y(function(c,t,e,a,i,o){const{class:d,variant:g,buttonPosition:p="right",a11yMaximizeText:m="Maximize Lightbox Dialog",a11yMinimizeText:x="Minimize Lightbox Dialog",bannerImgSrc:l,bannerImgPosition:f,size:h,renderBody:_,...b}=c;var k=g==="_mini",T=i.expanded?x:m;B(z,C(()=>(M("top",{renderBody:n=>{n.e("button",{"aria-label":T,type:"button",class:"lightbox-dialog__handle"},"0",a,0,0,{onclick:e.d("click","handleExpand",!1),ontouchstart:e.d("touchstart","handleTouchStart",!1),ontouchmove:e.d("touchmove","handleTouchMove",!1),ontouchend:e.d("touchend","handleTouchEnd",!1),ontouchcancel:e.d("touchcancel","handleTouchEnd",!1)}),l&&n.e("div",{class:"lightbox-dialog__image",style:E({backgroundImage:`url(${l})`,backgroundPosition:f})},"1",a,0,1)}}),n=>{I(n,_,null,null,null,null,e,"2")}),{...b,classPrefix:"lightbox-dialog",buttonPosition:p,class:[d,"lightbox-dialog--mask-fade",l&&"lightbox-dialog--expressive",h&&L.includes(h)&&`lightbox-dialog--${h}`],windowClass:["lightbox-dialog__window--animate",k&&"lightbox-dialog__window--mini",i.expanded&&"lightbox-dialog__window--expanded"],top:void 0}),t,e,"@dialog",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["prevButtonClick","emit",!1,["prevButtonClick"]]])},{t:r},u);s.Component=S(u,s._);export{s as _}; diff --git a/docs/assets/index-BVSy80fu.js b/docs/assets/index-BXYtdDDf.js similarity index 93% rename from docs/assets/index-BVSy80fu.js rename to docs/assets/index-BXYtdDDf.js index 140d8acfa..35766d06e 100644 --- a/docs/assets/index-BVSy80fu.js +++ b/docs/assets/index-BXYtdDDf.js @@ -1 +1 @@ -import{t as N,r as O,b as A,e as I,p as M,f as j,d as q}from"./registry-B-klnak9.js";/* empty css */import{_ as E}from"./index-CAVmWk6z.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{_ as G}from"./index-ClSYtjPE.js";import{h as Q}from"./index-blmbJU0z.js";class R extends Marko.Component{handleClick(a){this.input.disabled||this.emit("click",{originalEvent:a})}handleKeydown(a){Q(a,()=>{this.input.disabled||this.emit("escape",{originalEvent:a})})}handleFocus(a){this.emit("focus",{originalEvent:a})}handleBlur(a){this.emit("blur",{originalEvent:a})}}const c="rizTwSfh",t=N(c),ta=t,U=["large","small"];function V(){return{disabled:this.disabled}}var W=["primary","secondary","tertiary","delete"];O.r(c,()=>R);const C={};t._=A(function(i,a,s,r,X,Y){const{a11yText:$,ariaLabel:x,bodyState:n,borderless:m,class:S,fixedHeight:w,fluid:z,href:d,partiallyDisabled:B,priority:H,renderBody:p,size:o,split:_="none",transparent:K,truncate:P,type:T="button",variant:u="standard",...F}=i;i.toJSON=V;var h=o&&U.includes(o)?o:null,b=H||"secondary";(m||u==="form")&&(b="none");var e=d?"fake-btn":"btn",l=h&&e+"--"+h,f=P&&(l?l+"-truncated":e+"--truncated"),J=K?e+"--transparent":"",y=w&&(l?l+"-fixed-height":e+"--fixed-height"),L=u!=="standard"&&`${e}--${u}`,k=d?"a":"button";a.be(k,I(M(F),{class:j([S,e,z&&`${e}--fluid`,f,y,J,L,!f&&!y&&l,_!=="none"&&`${e}--split-${_}`,m&&`${e}--borderless`,W.includes(b)&&`${e}--${b}`]),href:d,"data-ebayui":"",type:k==="button"&&(T||"button"),"aria-disabled":B&&"true","aria-label":n==="loading"?$||"Loading...":x}),"0",r,null,4,{onclick:s.d("click","handleClick",!1),onkeydown:s.d("keydown","handleKeydown",!1),onfocus:s.d("focus","handleFocus",!1),onblur:s.d("blur","handleBlur",!1)}),n==="loading"?(a.be("span",{class:"btn__cell"},"1",r,null,1),g(E,{},a,s,"2"),a.ee()):n==="expand"?(a.be("span",{class:"btn__cell"},"3",r,null,1),a.be("span",{class:"btn__text"},"4",r,null,1),v(a,p,null,null,null,null,s,"5"),a.ee(),g(G,{},a,s,"6"),a.ee()):v(a,p,null,null,null,null,s,"7"),a.ee()},{t:c,s:!0},C);t.Component=q(C,t._);export{ta as _}; +import{t as N,r as O,b as A,e as I,p as M,f as j,d as q}from"./registry-B-klnak9.js";/* empty css */import{_ as E}from"./index-5NFv2JwF.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{_ as G}from"./index-CL0domC_.js";import{h as Q}from"./index-blmbJU0z.js";class R extends Marko.Component{handleClick(a){this.input.disabled||this.emit("click",{originalEvent:a})}handleKeydown(a){Q(a,()=>{this.input.disabled||this.emit("escape",{originalEvent:a})})}handleFocus(a){this.emit("focus",{originalEvent:a})}handleBlur(a){this.emit("blur",{originalEvent:a})}}const c="rizTwSfh",t=N(c),ta=t,U=["large","small"];function V(){return{disabled:this.disabled}}var W=["primary","secondary","tertiary","delete"];O.r(c,()=>R);const C={};t._=A(function(i,a,s,r,X,Y){const{a11yText:$,ariaLabel:x,bodyState:n,borderless:m,class:S,fixedHeight:w,fluid:z,href:d,partiallyDisabled:B,priority:H,renderBody:p,size:o,split:_="none",transparent:K,truncate:P,type:T="button",variant:u="standard",...F}=i;i.toJSON=V;var h=o&&U.includes(o)?o:null,b=H||"secondary";(m||u==="form")&&(b="none");var e=d?"fake-btn":"btn",l=h&&e+"--"+h,f=P&&(l?l+"-truncated":e+"--truncated"),J=K?e+"--transparent":"",y=w&&(l?l+"-fixed-height":e+"--fixed-height"),L=u!=="standard"&&`${e}--${u}`,k=d?"a":"button";a.be(k,I(M(F),{class:j([S,e,z&&`${e}--fluid`,f,y,J,L,!f&&!y&&l,_!=="none"&&`${e}--split-${_}`,m&&`${e}--borderless`,W.includes(b)&&`${e}--${b}`]),href:d,"data-ebayui":"",type:k==="button"&&(T||"button"),"aria-disabled":B&&"true","aria-label":n==="loading"?$||"Loading...":x}),"0",r,null,4,{onclick:s.d("click","handleClick",!1),onkeydown:s.d("keydown","handleKeydown",!1),onfocus:s.d("focus","handleFocus",!1),onblur:s.d("blur","handleBlur",!1)}),n==="loading"?(a.be("span",{class:"btn__cell"},"1",r,null,1),g(E,{},a,s,"2"),a.ee()):n==="expand"?(a.be("span",{class:"btn__cell"},"3",r,null,1),a.be("span",{class:"btn__text"},"4",r,null,1),v(a,p,null,null,null,null,s,"5"),a.ee(),g(G,{},a,s,"6"),a.ee()):v(a,p,null,null,null,null,s,"7"),a.ee()},{t:c,s:!0},C);t.Component=q(C,t._);export{ta as _}; diff --git a/docs/assets/index-Cq6EH_VK.js b/docs/assets/index-BXbxPOVo.js similarity index 89% rename from docs/assets/index-Cq6EH_VK.js rename to docs/assets/index-BXbxPOVo.js index 2be1a0460..33505f4b6 100644 --- a/docs/assets/index-Cq6EH_VK.js +++ b/docs/assets/index-BXbxPOVo.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function f(){return''}const t="QULjYPFl",o=p(t);r.r(t,()=>o);const a={};o._=_(function(m,e,n,l,k,b){c(s,{...m,_name:"information-16",_size:"16",_type:"icon",_themes:f},e,n,"0")},{t,i:!0},a);o.Component=i(a,o._);export{o as _}; +import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function f(){return''}const t="QULjYPFl",o=p(t);r.r(t,()=>o);const a={};o._=_(function(m,e,n,l,k,b){c(s,{...m,_name:"information-16",_size:"16",_type:"icon",_themes:f},e,n,"0")},{t,i:!0},a);o.Component=i(a,o._);export{o as _}; diff --git a/docs/assets/index-C98gAawF.js b/docs/assets/index-Bd083XES.js similarity index 100% rename from docs/assets/index-C98gAawF.js rename to docs/assets/index-Bd083XES.js diff --git a/docs/assets/index-BZUg6Zq0.js b/docs/assets/index-BfEgRTc6.js similarity index 100% rename from docs/assets/index-BZUg6Zq0.js rename to docs/assets/index-BfEgRTc6.js diff --git a/docs/assets/index-Q81l85Tz.js b/docs/assets/index-Bg1Oh5yv.js similarity index 100% rename from docs/assets/index-Q81l85Tz.js rename to docs/assets/index-Bg1Oh5yv.js diff --git a/docs/assets/index-U_1Hpq9w.js b/docs/assets/index-BpEEqHm3.js similarity index 97% rename from docs/assets/index-U_1Hpq9w.js rename to docs/assets/index-BpEEqHm3.js index f3e2b0cc7..f73b6c9e8 100644 --- a/docs/assets/index-U_1Hpq9w.js +++ b/docs/assets/index-BpEEqHm3.js @@ -1 +1 @@ -import{r as p,b as i,d as c,t as s}from"./registry-B-klnak9.js";import{_}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function z(){return''}const d="RjvFIrmf",n=s(d);p.r(d,()=>n);const C={};n._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-attention-24",_size:"24",_type:"icon",_themes:z},e,t,"0")},{t:d,i:!0},C);n.Component=c(C,n._);function M(){return''}const y="skZGCivj",r=s(y);p.r(y,()=>r);const g={};r._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-confirmation-24",_size:"24",_type:"icon",_themes:M},e,t,"0")},{t:y,i:!0},g);r.Component=c(g,r._);function Z(){return''}const k="UMyKPqdi",a=s(k);p.r(k,()=>a);const $={};a._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-current-24",_size:"24",_type:"icon",_themes:Z},e,t,"0")},{t:k,i:!0},$);a.Component=c($,a._);function x(){return''}const v="fhHHfGek",m=s(v);p.r(v,()=>m);const h={};m._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-upcoming-24",_size:"24",_type:"icon",_themes:x},e,t,"0")},{t:v,i:!0},h);m.Component=c(h,m._);export{r as _,n as a,a as b,m as c}; +import{r as p,b as i,d as c,t as s}from"./registry-B-klnak9.js";import{_}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function z(){return''}const d="RjvFIrmf",n=s(d);p.r(d,()=>n);const C={};n._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-attention-24",_size:"24",_type:"icon",_themes:z},e,t,"0")},{t:d,i:!0},C);n.Component=c(C,n._);function M(){return''}const y="skZGCivj",r=s(y);p.r(y,()=>r);const g={};r._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-confirmation-24",_size:"24",_type:"icon",_themes:M},e,t,"0")},{t:y,i:!0},g);r.Component=c(g,r._);function Z(){return''}const k="UMyKPqdi",a=s(k);p.r(k,()=>a);const $={};a._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-current-24",_size:"24",_type:"icon",_themes:Z},e,t,"0")},{t:k,i:!0},$);a.Component=c($,a._);function x(){return''}const v="fhHHfGek",m=s(v);p.r(v,()=>m);const h={};m._=i(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-upcoming-24",_size:"24",_type:"icon",_themes:x},e,t,"0")},{t:v,i:!0},h);m.Component=c(h,m._);export{r as _,n as a,a as b,m as c}; diff --git a/docs/assets/index-BJBnaEG2.js b/docs/assets/index-BrKjH8jr.js similarity index 90% rename from docs/assets/index-BJBnaEG2.js rename to docs/assets/index-BrKjH8jr.js index 33fa96ec6..f30de0316 100644 --- a/docs/assets/index-BJBnaEG2.js +++ b/docs/assets/index-BrKjH8jr.js @@ -1 +1 @@ -import{r as m,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as l}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="NnIcWuNf",o=i(e);m.r(e,()=>o);const n={};o._=_(function(t,r,a,d,f,k){s(l,{...t,_name:"chevron-down-12",_size:"12",_type:"icon",_themes:c},r,a,"0")},{t:e,i:!0},n);o.Component=p(n,o._);export{o as _}; +import{r as m,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as l}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="NnIcWuNf",o=i(e);m.r(e,()=>o);const n={};o._=_(function(t,r,a,d,f,k){s(l,{...t,_name:"chevron-down-12",_size:"12",_type:"icon",_themes:c},r,a,"0")},{t:e,i:!0},n);o.Component=p(n,o._);export{o as _}; diff --git a/docs/assets/index-ClCifLxd.js b/docs/assets/index-C0ZlcG9W.js similarity index 84% rename from docs/assets/index-ClCifLxd.js rename to docs/assets/index-C0ZlcG9W.js index bd6dcd19d..0f207a663 100644 --- a/docs/assets/index-ClCifLxd.js +++ b/docs/assets/index-C0ZlcG9W.js @@ -1 +1 @@ -import{R as e}from"./chunk-HLWAVYOI-BpJ_6HfN.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{a as M,u}; +import{R as e}from"./chunk-HLWAVYOI-uH84A_5y.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{a as M,u}; diff --git a/docs/assets/index-5UVztxxq.js b/docs/assets/index-C2jaGHEc.js similarity index 94% rename from docs/assets/index-5UVztxxq.js rename to docs/assets/index-C2jaGHEc.js index 62a814c05..b9fce0341 100644 --- a/docs/assets/index-5UVztxxq.js +++ b/docs/assets/index-C2jaGHEc.js @@ -1 +1 @@ -import{r as _,b as i,d as p,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function u(){return''}const a="dPHdjpzd",o=s(a);_.r(a,()=>o);const k={};o._=i(function(t,r,n,b,y,f){c(l,{...t,_name:"eek-range-arrow",_size:"",_type:"icon",_themes:u},r,n,"0")},{t:a,i:!0},k);o.Component=p(k,o._);function C(){return''}const m="NyiMmZmk",e=s(m);_.r(m,()=>e);const d={};e._=i(function(t,r,n,b,y,f){c(l,{...t,_name:"eek-arrow",_size:"",_type:"icon",_themes:C},r,n,"0")},{t:m,i:!0},d);e.Component=p(d,e._);export{o as _,e as a}; +import{r as _,b as i,d as p,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function u(){return''}const a="dPHdjpzd",o=s(a);_.r(a,()=>o);const k={};o._=i(function(t,r,n,b,y,f){c(l,{...t,_name:"eek-range-arrow",_size:"",_type:"icon",_themes:u},r,n,"0")},{t:a,i:!0},k);o.Component=p(k,o._);function C(){return''}const m="NyiMmZmk",e=s(m);_.r(m,()=>e);const d={};e._=i(function(t,r,n,b,y,f){c(l,{...t,_name:"eek-arrow",_size:"",_type:"icon",_themes:C},r,n,"0")},{t:m,i:!0},d);e.Component=p(d,e._);export{o as _,e as a}; diff --git a/docs/assets/index-_rvoWsu4.css b/docs/assets/index-C4DcTY_-.css similarity index 85% rename from docs/assets/index-_rvoWsu4.css rename to docs/assets/index-C4DcTY_-.css index cd6e4a965..2d85ffe64 100644 --- a/docs/assets/index-_rvoWsu4.css +++ b/docs/assets/index-C4DcTY_-.css @@ -1 +1 @@ -.filter-menu,.filter-menu-form{background-color:var( --filter-menu-item-background-color, var(--color-background-primary) );min-width:144px}span.filter-menu,span.filter-menu-form{display:inline-block}.filter-menu-form__items,.filter-menu__items{margin-top:8px;min-width:100%;position:relative}span.filter-menu-form__items,span.filter-menu__items[role=menu]{display:inline-block}span.filter-menu__checkbox,span.filter-menu__radio{display:block;flex-shrink:1;height:18px;min-width:18px;width:18px}span.filter-menu__checkbox svg,span.filter-menu__radio svg{color:var(--filter-menu-item-icon-color, var(--color-foreground-primary));height:18px;width:18px}.filter-menu-form__item span.checkbox,.filter-menu-form__item span.radio{align-items:flex-start;display:flex;flex-shrink:1;justify-content:center}.filter-menu-form__item span.checkbox .checkbox__icon>svg,.filter-menu-form__item span.radio .checkbox__icon>svg{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}span.filter-menu-form__item,span.filter-menu__item[role^=menuitem]{display:block}.filter-menu-form__item,.filter-menu__item[role^=menuitem]{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;padding:8px 16px;width:100%}.filter-menu-form__item:hover,.filter-menu__item[role^=menuitem]:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}.filter-menu-form__item:disabled,.filter-menu-form__item[aria-disabled=true],.filter-menu__item[role^=menuitem]:disabled,.filter-menu__item[role^=menuitem][aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}.filter-menu-form__item:disabled span>svg,.filter-menu-form__item[aria-disabled=true] span>svg,.filter-menu__item[role^=menuitem]:disabled span>svg,.filter-menu__item[role^=menuitem][aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}.filter-menu-form__item:disabled:hover,.filter-menu-form__item[aria-disabled=true]:hover,.filter-menu__item[role^=menuitem]:disabled:hover,.filter-menu__item[role^=menuitem][aria-disabled=true]:hover{background-color:inherit}.filter-menu-form__item:last-child,.filter-menu__item[role^=menuitem]:last-child{margin-bottom:8px}button.filter-menu-form__footer[type=submit],button.filter-menu__footer{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-color:var(--filter-menu-border-color, var(--color-stroke-subtle));border-top-style:solid;border-top-width:1px;bottom:0;box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;padding:16px;width:100%}button.filter-menu-form__footer[type=submit]:hover,button.filter-menu__footer:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}button.filter-menu-form__footer[type=submit]:disabled,button.filter-menu-form__footer[type=submit][aria-disabled=true],button.filter-menu__footer:disabled,button.filter-menu__footer[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-form__footer[type=submit]:disabled span>svg,button.filter-menu-form__footer[type=submit][aria-disabled=true] span>svg,button.filter-menu__footer:disabled span>svg,button.filter-menu__footer[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-form__footer[type=submit]:disabled:hover,button.filter-menu-form__footer[type=submit][aria-disabled=true]:hover,button.filter-menu__footer:disabled:hover,button.filter-menu__footer[aria-disabled=true]:hover{background-color:inherit}button.filter-menu-form__footer[type=submit]:hover,button.filter-menu__footer:hover{background-color:var(--color-state-primary-hover)}.filter-menu-form__text,.filter-menu__text{flex-grow:1;margin-left:8px}.filter-menu__item[role=menuitemcheckbox] svg.icon--checkbox-checked-18,.filter-menu__item[role=menuitemradio] svg.icon--radio-checked-18{display:none}.filter-menu__item[role=menuitemcheckbox] svg.icon--checkbox-unchecked-18,.filter-menu__item[role=menuitemradio] svg.icon--radio-unchecked-18{display:block}.filter-menu__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checkbox-unchecked-18,.filter-menu__item[role=menuitemradio][aria-checked=true] svg.icon--radio-unchecked-18{display:none}.filter-menu__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checkbox-checked-18,.filter-menu__item[role=menuitemradio][aria-checked=true] svg.icon--radio-checked-18{display:block}div.filter-menu__item[role^=menuitem]:focus:not(:focus-visible){outline:none} +.filter-menu,.filter-menu-form{background-color:var( --filter-menu-item-background-color, var(--color-background-primary) );min-width:144px}span.filter-menu,span.filter-menu-form{display:inline-block}.filter-menu-form__items,.filter-menu__items{margin-top:8px;min-width:100%;position:relative}span.filter-menu-form__items,span.filter-menu__items[role=menu]{display:inline-block}span.filter-menu__checkbox,span.filter-menu__radio{display:block;flex-shrink:1;height:18px;min-width:18px;width:18px}span.filter-menu__checkbox svg,span.filter-menu__radio svg{color:var(--filter-menu-item-icon-color, var(--color-foreground-primary));height:18px;width:18px}.filter-menu-form__item span.checkbox,.filter-menu-form__item span.radio{align-items:flex-start;display:flex;flex-shrink:1;justify-content:center}.filter-menu-form__item span.checkbox .checkbox__icon>svg,.filter-menu-form__item span.radio .checkbox__icon>svg{color:var( --filter-menu-item-checked-color, var(--color-foreground-primary) )}span.filter-menu-form__item,span.filter-menu__item[role^=menuitem]{display:block}.filter-menu-form__item,.filter-menu__item[role^=menuitem]{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;padding:8px 16px;width:100%}.filter-menu-form__item:hover,.filter-menu__item[role^=menuitem]:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}.filter-menu-form__item:disabled,.filter-menu-form__item[aria-disabled=true],.filter-menu__item[role^=menuitem]:disabled,.filter-menu__item[role^=menuitem][aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}.filter-menu-form__item:disabled span>svg,.filter-menu-form__item[aria-disabled=true] span>svg,.filter-menu__item[role^=menuitem]:disabled span>svg,.filter-menu__item[role^=menuitem][aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}.filter-menu-form__item:disabled:hover,.filter-menu-form__item[aria-disabled=true]:hover,.filter-menu__item[role^=menuitem]:disabled:hover,.filter-menu__item[role^=menuitem][aria-disabled=true]:hover{background-color:inherit}.filter-menu-form__item:last-child,.filter-menu__item[role^=menuitem]:last-child{margin-bottom:8px}button.filter-menu-form__footer[type=submit],button.filter-menu__footer{background-color:var( --filter-menu-item-background-color, var(--color-background-elevated) );border:none;border-color:var(--filter-menu-border-color, var(--color-stroke-subtle));border-top-style:solid;border-top-width:1px;bottom:0;box-sizing:border-box;color:var( --filter-menu-item-foreground-color, var(--color-foreground-primary) );display:flex;font-size:var(--font-size-default);justify-content:space-between;line-height:1.4em;margin:0;padding:16px;width:100%}button.filter-menu-form__footer[type=submit]:hover,button.filter-menu__footer:hover{background-color:var( --color-state-primary-hover, color-state-primary-hover )}button.filter-menu-form__footer[type=submit]:disabled,button.filter-menu-form__footer[type=submit][aria-disabled=true],button.filter-menu__footer:disabled,button.filter-menu__footer[aria-disabled=true]{color:var( --filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-form__footer[type=submit]:disabled span>svg,button.filter-menu-form__footer[type=submit][aria-disabled=true] span>svg,button.filter-menu__footer:disabled span>svg,button.filter-menu__footer[aria-disabled=true] span>svg{color:var( --filter-menu-item-icon-color-disabled, var(--color-foreground-disabled) )}button.filter-menu-form__footer[type=submit]:disabled:hover,button.filter-menu-form__footer[type=submit][aria-disabled=true]:hover,button.filter-menu__footer:disabled:hover,button.filter-menu__footer[aria-disabled=true]:hover{background-color:inherit}button.filter-menu-form__footer[type=submit]:hover,button.filter-menu__footer:hover{background-color:var(--color-state-primary-hover)}.filter-menu-form__text,.filter-menu__text{flex-grow:1;margin-left:8px}.filter-menu__item[role=menuitemcheckbox] svg.icon--checked,.filter-menu__item[role=menuitemradio] svg.icon--checked{display:none}.filter-menu__item[role=menuitemcheckbox] svg.icon--unchecked,.filter-menu__item[role=menuitemradio] svg.icon--unchecked{display:block}.filter-menu__item[role=menuitemcheckbox][aria-checked=true] svg.icon--unchecked,.filter-menu__item[role=menuitemradio][aria-checked=true] svg.icon--unchecked{display:none}.filter-menu__item[role=menuitemcheckbox][aria-checked=true] svg.icon--checked,.filter-menu__item[role=menuitemradio][aria-checked=true] svg.icon--checked{display:block}div.filter-menu__item[role^=menuitem]:focus:not(:focus-visible){outline:none} diff --git a/docs/assets/index-Bs-h47tU.js b/docs/assets/index-C4ES2whh.js similarity index 100% rename from docs/assets/index-Bs-h47tU.js rename to docs/assets/index-C4ES2whh.js diff --git a/docs/assets/index-LpqPeoQM.css b/docs/assets/index-C6n1BYul.css similarity index 73% rename from docs/assets/index-LpqPeoQM.css rename to docs/assets/index-C6n1BYul.css index baf6cdfd7..12624b718 100644 --- a/docs/assets/index-LpqPeoQM.css +++ b/docs/assets/index-C6n1BYul.css @@ -1 +1 @@ -:root{--toggle-button-height-min: 72px;--toggle-button-width-min: 72px;--toggle-button-width-max: 342px;--toggle-button-list-width-min: 224px;--toggle-button-list-width-max: 342px;--toggle-button-gallery-width-min: 168px;--toggle-button-gallery-width-max: 342px}.toggle-button{background-color:var(--color-background-primary);border:1px solid var(--color-stroke-default);border-radius:var(--spacing-100);box-shadow:0 0 0 1px transparent;color:var(--color-foreground-primary);display:inline-flex;font-size:var(--font-size-default);justify-content:center;margin-right:var(--spacing-100);margin-top:auto;max-width:var(--toggle-button-width-max);min-height:var(--toggle-button-height-min);min-width:var(--toggle-button-width-min);padding:0 var(--spacing-200);vertical-align:top}.toggle-button:focus-visible{outline-offset:1px;outline-style:outset;outline-width:2px}.toggle-button[aria-disabled=true],.toggle-button[disabled]{border-color:var(--color-stroke-disabled)}.toggle-button *{pointer-events:none}.toggle-button[aria-pressed=true]{background-color:var(--color-background-secondary);border:1px solid var(--color-stroke-strong);box-shadow:0 0 0 1px var(--color-stroke-strong);font-weight:700}.toggle-button[aria-disabled=true][aria-pressed=true],.toggle-button[disabled][aria-pressed=true]{border-color:var(--color-stroke-disabled);box-shadow:0 0 0 1px var(--color-stroke-disabled)}.toggle-button:not([aria-disabled=true],[disabled]):hover{background-color:var(--state-layer-hover)}.toggle-button:not([aria-disabled=true],[disabled]):active{background-color:var(--state-layer-pressed)}.toggle-button__content{align-self:center;display:flex;flex-direction:column;text-align:left}.toggle-button__icon,.toggle-button__image-container{margin-bottom:var(--spacing-200);margin-right:var(--spacing-200);margin-top:var(--spacing-200)}.toggle-button__image-container{align-self:center}.toggle-button__image-container svg.icon{height:100%}.toggle-button__image-container img{height:100%;max-height:56px;max-width:56px}.toggle-button__image{display:inline-block;height:56px;width:56px}.toggle-button__title{font-size:var(--font-size-medium);font-weight:700;line-height:var(--font-size-large-2);margin-bottom:var(--spacing-50);margin-top:var(--spacing-200)}.toggle-button__title:only-child{margin-bottom:var(--spacing-200)}.toggle-button[aria-disabled=true] .toggle-button__title,.toggle-button[disabled] .toggle-button__title{color:var(--color-foreground-disabled)}.toggle-button .toggle-button__content:only-child .toggle-button__title:only-child{font-weight:700;margin-bottom:auto;margin-top:auto;text-align:center;width:100%}.toggle-button:not([aria-pressed=true]) .toggle-button__content:only-child .toggle-button__title:only-child{font-weight:400}.toggle-button__subtitle{color:var(--color-foreground-secondary);line-height:var(--font-size-large-1);margin-bottom:var(--spacing-200)}.toggle-button[aria-disabled=true] .toggle-button__subtitle,.toggle-button[disabled] .toggle-button__subtitle{color:var(--color-foreground-disabled)}.toggle-button__subtitle p{margin:0}.toggle-button[aria-pressed=true] .toggle-button__subtitle{color:var(--color-foreground-primary);font-weight:400}.toggle-button[aria-disabled=true][aria-pressed=true] .toggle-button__subtitle,.toggle-button[disabled][aria-pressed=true] .toggle-button__subtitle{color:var(--color-foreground-disabled)}.toggle-button--list-layout{justify-content:left;max-width:var(--toggle-button-list-width-max);min-width:var(--toggle-button-list-width-min)}.toggle-button--list-layout .toggle-button__content,.toggle-button--list-layout .toggle-button__image-container{align-self:self-start}.toggle-button--gallery-layout{flex-direction:column;justify-content:left;max-width:var(--toggle-button-gallery-width-max);min-width:var(--toggle-button-gallery-width-min)}.toggle-button--gallery-layout .toggle-button__content{align-self:self-start}.toggle-button--gallery-layout .toggle-button__icon,.toggle-button--gallery-layout .toggle-button__image-container{margin-bottom:0;margin-right:0;text-align:left}.toggle-button--gallery-layout .toggle-button__image-container{padding-bottom:60%;position:relative;text-align:center;width:100%}.toggle-button--gallery-layout .toggle-button__image{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.toggle-button[aria-disabled=true] .toggle-button__icon,.toggle-button[aria-disabled=true] .toggle-button__image,.toggle-button[disabled] .toggle-button__icon,.toggle-button[disabled] .toggle-button__image{filter:grayscale(1);opacity:.5}.toggle-button--gallery-layout .toggle-button__image-container img{height:100%;max-height:200px;max-width:none}.toggle-button--gallery-layout .toggle-button__icon~.toggle-button__content{align-self:flex-start} +:root{--toggle-button-height-min: 72px;--toggle-button-width-min: 72px;--toggle-button-width-max: 342px;--toggle-button-list-width-min: 224px;--toggle-button-list-width-max: 342px;--toggle-button-gallery-width-min: 168px;--toggle-button-gallery-width-max: 342px}.toggle-button{background-color:var(--color-background-primary);border:1px solid var(--color-stroke-default);border-radius:var(--spacing-100);box-shadow:0 0 0 1px transparent;color:var(--color-foreground-primary);display:inline-flex;font-size:var(--font-size-default);justify-content:center;margin-right:var(--spacing-100);margin-top:auto;max-width:var(--toggle-button-width-max);min-height:var(--toggle-button-height-min);min-width:var(--toggle-button-width-min);padding:0 var(--spacing-200);vertical-align:top}.toggle-button:focus-visible{outline-offset:1px;outline-style:outset;outline-width:2px}.toggle-button[aria-disabled=true],.toggle-button[disabled]{border-color:var(--color-stroke-disabled)}.toggle-button *{pointer-events:none}.toggle-button[aria-pressed=true]{background-color:var(--color-background-secondary);border:1px solid var(--color-stroke-strong);box-shadow:0 0 0 1px var(--color-stroke-strong);font-weight:700}.toggle-button[aria-disabled=true][aria-pressed=true],.toggle-button[disabled][aria-pressed=true]{border-color:var(--color-stroke-disabled);box-shadow:0 0 0 1px var(--color-stroke-disabled)}.toggle-button:not([aria-disabled=true],[disabled]):hover{background-color:var(--state-layer-hover)}.toggle-button:not([aria-disabled=true],[disabled]):active{background-color:var(--state-layer-pressed)}.toggle-button__content{align-self:center;display:flex;flex-direction:column;text-align:left}.toggle-button__icon,.toggle-button__image-container{margin-bottom:var(--spacing-200);margin-right:var(--spacing-200);margin-top:var(--spacing-200)}.toggle-button__image-container{align-self:center}.toggle-button__image-container svg.icon{height:100%}.toggle-button__image-container img{height:100%;max-height:56px;max-width:56px}.toggle-button__image{display:inline-block;height:56px;width:56px}.toggle-button__title{font-size:var(--font-size-medium);font-weight:700;line-height:var(--font-size-large-2);margin-bottom:var(--spacing-50);margin-top:var(--spacing-200)}.toggle-button__title:only-child{margin-bottom:var(--spacing-200)}.toggle-button[aria-disabled=true] .toggle-button__title,.toggle-button[disabled] .toggle-button__title{color:var(--color-foreground-disabled)}.toggle-button .toggle-button__content:only-child .toggle-button__title:only-child{font-weight:700;margin-bottom:auto;margin-top:auto;text-align:center;width:100%}.toggle-button:not([aria-pressed=true]) .toggle-button__content:only-child .toggle-button__title:only-child{font-weight:400}.toggle-button__subtitle{color:var(--color-foreground-secondary);line-height:var(--font-size-large-1);margin-bottom:var(--spacing-200)}.toggle-button[aria-disabled=true] .toggle-button__subtitle,.toggle-button[disabled] .toggle-button__subtitle{color:var(--color-foreground-disabled)}.toggle-button__subtitle p{margin:0}.toggle-button[aria-pressed=true] .toggle-button__subtitle{color:var(--color-foreground-primary);font-weight:400}.toggle-button[aria-disabled=true][aria-pressed=true] .toggle-button__subtitle,.toggle-button[disabled][aria-pressed=true] .toggle-button__subtitle{color:var(--color-foreground-disabled)}.toggle-button--list-layout{justify-content:left;max-width:var(--toggle-button-list-width-max);min-width:var(--toggle-button-list-width-min)}.toggle-button--list-layout .toggle-button__content:not(:only-child),.toggle-button--list-layout .toggle-button__image-container{align-self:self-start}.toggle-button--gallery-layout{flex-direction:column;justify-content:left;max-width:var(--toggle-button-gallery-width-max);min-width:var(--toggle-button-gallery-width-min)}.toggle-button--gallery-layout .toggle-button__content{align-self:self-start}.toggle-button--gallery-layout .toggle-button__icon,.toggle-button--gallery-layout .toggle-button__image-container{margin-bottom:0;margin-right:0;text-align:left}.toggle-button--gallery-layout .toggle-button__image-container{padding-bottom:60%;position:relative;text-align:center;width:100%}.toggle-button--gallery-layout .toggle-button__image{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.toggle-button[aria-disabled=true] .toggle-button__icon,.toggle-button[aria-disabled=true] .toggle-button__image,.toggle-button[disabled] .toggle-button__icon,.toggle-button[disabled] .toggle-button__image{filter:grayscale(1);opacity:.5}.toggle-button--gallery-layout .toggle-button__image-container img{height:100%;max-height:200px;max-width:none}.toggle-button--gallery-layout .toggle-button__icon~.toggle-button__content{align-self:flex-start} diff --git a/docs/assets/index-C6YqmUHN.js b/docs/assets/index-CGMjGv4Y.js similarity index 98% rename from docs/assets/index-C6YqmUHN.js rename to docs/assets/index-CGMjGv4Y.js index 40c3d2987..61da94570 100644 --- a/docs/assets/index-C6YqmUHN.js +++ b/docs/assets/index-CGMjGv4Y.js @@ -1 +1 @@ -import{t as L,r as S,b as U,e as g,p as b,f as p,g as x,d as B}from"./registry-B-klnak9.js";/* empty css */import{_ as N}from"./dynamic-tag-DQCvkDdb.js";import{_ as q}from"./index-B6IacUrT.js";import{_ as f}from"./render-tag-BBOJ9dEX.js";import{_ as G}from"./index-BHuZwrkj.js";import{a as Q,r as W}from"./index-eGtaP7gF.js";import{c as Y}from"./index-DSBRYoSW.js";import{s as z}from"./index-D52eSIAE.js";import{h as F,a as J}from"./index-blmbJU0z.js";import{M as X,s as Z}from"./index-DYoOQ_vw.js";const D=1300;class ee extends X{onCreate(){Z(this)}toggleItemChecked(e,t,s){const a=this.isRadio()&&e!==this.state.checkedIndex;this.toggleChecked(e),a?this.emitComponentEvent({index:e,eventType:"change",el:s,originalEvent:t}):this.type!=="radio"&&this.emitComponentEvent({index:e,eventType:this.type?"change":"select",el:s,originalEvent:t}),this.rovingTabindex&&(this.tabindexPosition=this.rovingTabindex.items.findIndex(d=>d.tabIndex===0))}handleItemClick(e,t,s){this.toggleItemChecked(e,t,s)}handleItemKeydown(e,t,s){F(t,()=>{this.emitComponentEvent({eventType:"keydown",originalEvent:t,index:e})}),J(t,()=>this.toggleItemChecked(e,t,s))}handleItemKeypress({key:e}){const t=this.getTypeaheadIndex(this.getEl("menu").children,e,this.input.typeaheadTimeoutLength||D);t!==-1&&(this.tabindexPosition=this.rovingTabindex.index=t)}emitComponentEvent({eventType:e,el:t,originalEvent:s,index:a}){const d=this.getCheckedIndexes(),l=this.type==="checkbox",n={el:t,originalEvent:s};l&&d&&d.length>1?Object.assign(n,{index:a,indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):l||this.isRadio()?Object.assign(n,{index:a,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):Object.assign(n,{index:a,checked:[a]}),this.emit(`${e}`,n)}onInput(e){this.state=this.getInputState(e)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this.tabindexPosition=0,this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.contentEl=this.getEl("menu"),this.rovingTabindex=Y(this.contentEl,"div",{index:this.tabindexPosition,autoReset:null}),Q(this.contentEl);const{getIndex:e,destroy:t}=z();this.getTypeaheadIndex=e,this.destroyTypeahead=t}_cleanupMakeup(){this.rovingTabindex&&(this.rovingTabindex.destroy(),W(this.contentEl)),this.destroyTypeahead&&this.destroyTypeahead()}}const _="jqxpkQam",h=L(_),ue=h;S.r(_,()=>h);const C=ee;h._=U(function(k,e,t,s,a,d){const{class:l,style:n,classPrefix:y,type:m,reverse:I,fixWidth:v,items:te,...T}=k;var M=m==="radio",E=m==="checkbox",$=m==="checkbox"||m==="radio",i=y||"menu",w=s.getSeparatorMap(k);e.be("span",g(b(T),{class:p([y?`${i}__menu`:"menu",I&&`${i}__menu--reverse`,v&&`${i}__menu--fix-width`,l]),style:x(n)}),"0",s,null,4),e.be("div",{role:"menu",class:p(`${i}__items`),id:t.elId("menu")},"@menu",s,null,0);{let R=0;for(const j of s.items||[]){let o=R++;const r=`[${o}]`,{class:O,style:A,value:se,checked:ae,badgeNumber:u,disabled:c,renderBody:V,...H}=j;var K=M?"menuitemradio":E?"menuitemcheckbox":"menuitem",P=s.isChecked(o);w[o]&&e.e("hr",{class:p(`${i}__separator`),role:"separator"},"1"+r,s,0,0),e.be("div",g(b(H),{class:p([`${i}__item`,O,u!==void 0&&`${i}__item--badged`]),style:x(A),"aria-checked":$&&(P?"true":"false"),"aria-disabled":c&&"true",role:K}),"@item[]",s,null,4,{onclick:t.d("click",!c&&"handleItemClick",!1,[o]),onkeydown:t.d("keydown",!c&&"handleItemKeydown",!1,[o]),onkeypress:t.d("keypress",!c&&"handleItemKeypress",!1)}),e.be("span",null,"2"+r,s,null,0),N(e,V,null,null,null,null,t,"3"+r),u&&f(q,{type:"menu",number:u},e,t,"4"+r),e.ee(),f(G,{},e,t,"5"+r),e.ee()}}e.ee(),e.ee()},{t:_},C);h.Component=B(C,h._);export{ue as C}; +import{t as L,r as S,b as U,e as g,p as b,f as p,g as x,d as B}from"./registry-B-klnak9.js";/* empty css */import{_ as N}from"./dynamic-tag-DQCvkDdb.js";import{_ as q}from"./index-B6IacUrT.js";import{_ as f}from"./render-tag-BBOJ9dEX.js";import{_ as G}from"./index-DO9To3q6.js";import{a as Q,r as W}from"./index-eGtaP7gF.js";import{c as Y}from"./index-DSBRYoSW.js";import{s as z}from"./index-D52eSIAE.js";import{h as F,a as J}from"./index-blmbJU0z.js";import{M as X,s as Z}from"./index-DYoOQ_vw.js";const D=1300;class ee extends X{onCreate(){Z(this)}toggleItemChecked(e,t,s){const a=this.isRadio()&&e!==this.state.checkedIndex;this.toggleChecked(e),a?this.emitComponentEvent({index:e,eventType:"change",el:s,originalEvent:t}):this.type!=="radio"&&this.emitComponentEvent({index:e,eventType:this.type?"change":"select",el:s,originalEvent:t}),this.rovingTabindex&&(this.tabindexPosition=this.rovingTabindex.items.findIndex(d=>d.tabIndex===0))}handleItemClick(e,t,s){this.toggleItemChecked(e,t,s)}handleItemKeydown(e,t,s){F(t,()=>{this.emitComponentEvent({eventType:"keydown",originalEvent:t,index:e})}),J(t,()=>this.toggleItemChecked(e,t,s))}handleItemKeypress({key:e}){const t=this.getTypeaheadIndex(this.getEl("menu").children,e,this.input.typeaheadTimeoutLength||D);t!==-1&&(this.tabindexPosition=this.rovingTabindex.index=t)}emitComponentEvent({eventType:e,el:t,originalEvent:s,index:a}){const d=this.getCheckedIndexes(),l=this.type==="checkbox",n={el:t,originalEvent:s};l&&d&&d.length>1?Object.assign(n,{index:a,indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):l||this.isRadio()?Object.assign(n,{index:a,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):Object.assign(n,{index:a,checked:[a]}),this.emit(`${e}`,n)}onInput(e){this.state=this.getInputState(e)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this.tabindexPosition=0,this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.contentEl=this.getEl("menu"),this.rovingTabindex=Y(this.contentEl,"div",{index:this.tabindexPosition,autoReset:null}),Q(this.contentEl);const{getIndex:e,destroy:t}=z();this.getTypeaheadIndex=e,this.destroyTypeahead=t}_cleanupMakeup(){this.rovingTabindex&&(this.rovingTabindex.destroy(),W(this.contentEl)),this.destroyTypeahead&&this.destroyTypeahead()}}const _="jqxpkQam",h=L(_),ue=h;S.r(_,()=>h);const C=ee;h._=U(function(k,e,t,s,a,d){const{class:l,style:n,classPrefix:y,type:m,reverse:I,fixWidth:v,items:te,...T}=k;var M=m==="radio",E=m==="checkbox",$=m==="checkbox"||m==="radio",i=y||"menu",w=s.getSeparatorMap(k);e.be("span",g(b(T),{class:p([y?`${i}__menu`:"menu",I&&`${i}__menu--reverse`,v&&`${i}__menu--fix-width`,l]),style:x(n)}),"0",s,null,4),e.be("div",{role:"menu",class:p(`${i}__items`),id:t.elId("menu")},"@menu",s,null,0);{let R=0;for(const j of s.items||[]){let o=R++;const r=`[${o}]`,{class:O,style:A,value:se,checked:ae,badgeNumber:u,disabled:c,renderBody:V,...H}=j;var K=M?"menuitemradio":E?"menuitemcheckbox":"menuitem",P=s.isChecked(o);w[o]&&e.e("hr",{class:p(`${i}__separator`),role:"separator"},"1"+r,s,0,0),e.be("div",g(b(H),{class:p([`${i}__item`,O,u!==void 0&&`${i}__item--badged`]),style:x(A),"aria-checked":$&&(P?"true":"false"),"aria-disabled":c&&"true",role:K}),"@item[]",s,null,4,{onclick:t.d("click",!c&&"handleItemClick",!1,[o]),onkeydown:t.d("keydown",!c&&"handleItemKeydown",!1,[o]),onkeypress:t.d("keypress",!c&&"handleItemKeypress",!1)}),e.be("span",null,"2"+r,s,null,0),N(e,V,null,null,null,null,t,"3"+r),u&&f(q,{type:"menu",number:u},e,t,"4"+r),e.ee(),f(G,{},e,t,"5"+r),e.ee()}}e.ee(),e.ee()},{t:_},C);h.Component=B(C,h._);export{ue as C}; diff --git a/docs/assets/index-ClSYtjPE.js b/docs/assets/index-CL0domC_.js similarity index 88% rename from docs/assets/index-ClSYtjPE.js rename to docs/assets/index-CL0domC_.js index 7ee68dc8a..b3f8359ad 100644 --- a/docs/assets/index-ClSYtjPE.js +++ b/docs/assets/index-CL0domC_.js @@ -1 +1 @@ -import{r as _,b as a,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const t="WlWnv_jk",o=s(t);_.r(t,()=>o);const e={};o._=a(function(n,r,m,k,d,b){c(i,{...n,_name:"chevron-down-16",_size:"16",_type:"icon",_themes:l},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as _,b as a,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const t="WlWnv_jk",o=s(t);_.r(t,()=>o);const e={};o._=a(function(n,r,m,k,d,b){c(i,{...n,_name:"chevron-down-16",_size:"16",_type:"icon",_themes:l},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-CxC0bwrZ.js b/docs/assets/index-CR9b14aq.js similarity index 97% rename from docs/assets/index-CxC0bwrZ.js rename to docs/assets/index-CR9b14aq.js index 57ccd1329..b9329fce5 100644 --- a/docs/assets/index-CxC0bwrZ.js +++ b/docs/assets/index-CR9b14aq.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as c}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function b(){return''}const m="aZyViqge",a=p(m);r.r(m,()=>a);const d={};a._=_(function(t,o,n,h,y,v){s(c,{...t,_name:"the-ebay-vault-24",_size:"24",_type:"icon",_themes:b},o,n,"0")},{t:m,i:!0},d);a.Component=i(d,a._);function f(){return''}const l="FjaIyjKm",e=p(l);r.r(l,()=>e);const u={};e._=_(function(t,o,n,h,y,v){s(c,{...t,_name:"authenticity-guarantee-24",_size:"24",_type:"icon",_themes:f},o,n,"0")},{t:l,i:!0},u);e.Component=i(u,e._);export{a as _,e as a}; +import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as c}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function b(){return''}const m="aZyViqge",a=p(m);r.r(m,()=>a);const d={};a._=_(function(t,o,n,h,y,v){s(c,{...t,_name:"the-ebay-vault-24",_size:"24",_type:"icon",_themes:b},o,n,"0")},{t:m,i:!0},d);a.Component=i(d,a._);function f(){return''}const l="FjaIyjKm",e=p(l);r.r(l,()=>e);const u={};e._=_(function(t,o,n,h,y,v){s(c,{...t,_name:"authenticity-guarantee-24",_size:"24",_type:"icon",_themes:f},o,n,"0")},{t:l,i:!0},u);e.Component=i(u,e._);export{a as _,e as a}; diff --git a/docs/assets/index-D11s4y-0.js b/docs/assets/index-CbaZ7o5m.js similarity index 95% rename from docs/assets/index-D11s4y-0.js rename to docs/assets/index-CbaZ7o5m.js index 249ca5c33..71c0f8608 100644 --- a/docs/assets/index-D11s4y-0.js +++ b/docs/assets/index-CbaZ7o5m.js @@ -1 +1 @@ -import{t as b,r as f,b as h,f as p,g as u,e as x,p as y,d as C}from"./registry-B-klnak9.js";/* empty css */import{_ as g,a as v,b as w,c as S}from"./index-Bgyy39_y.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";class $ extends Marko.Component{forwardEvent(e,s,a){const r=a||this.el.querySelector("input"),k=r.value,t=r.checked;this.emit(`${e}`,{originalEvent:s,value:k,checked:t})}}const n="IJvdHPpd",o=b(n),A=o;function E(){}f.r(n,()=>$);const _={};o._=h(function(l,e,s,a,r,k){const{class:t,style:m,size:i,iconStyle:H,...d}=l;l.toJSON=E,e.be("span",{class:p(["checkbox",t]),style:u(m)},"0",a,null,1),e.e("input",x(y(d),{class:"checkbox__control",type:"checkbox"}),"1",a,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),e.be("span",{class:"checkbox__icon",hidden:""},"2",a,null,0),i==="large"?(c(g,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"3"),c(v,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"4")):(c(w,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"5"),c(S,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"6")),e.ee(),e.ee()},{t:n,s:!0},_);o.Component=C(_,o._);export{A as _}; +import{t as b,r as f,b as h,f as p,g as u,e as x,p as y,d as C}from"./registry-B-klnak9.js";/* empty css */import{_ as g,a as v,b as w,c as S}from"./index-BQLO4xjX.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";class $ extends Marko.Component{forwardEvent(e,s,a){const r=a||this.el.querySelector("input"),k=r.value,t=r.checked;this.emit(`${e}`,{originalEvent:s,value:k,checked:t})}}const n="IJvdHPpd",o=b(n),A=o;function E(){}f.r(n,()=>$);const _={};o._=h(function(l,e,s,a,r,k){const{class:t,style:m,size:i,iconStyle:H,...d}=l;l.toJSON=E,e.be("span",{class:p(["checkbox",t]),style:u(m)},"0",a,null,1),e.e("input",x(y(d),{class:"checkbox__control",type:"checkbox"}),"1",a,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),e.be("span",{class:"checkbox__icon",hidden:""},"2",a,null,0),i==="large"?(c(g,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"3"),c(v,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"4")):(c(w,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"5"),c(S,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"6")),e.ee(),e.ee()},{t:n,s:!0},_);o.Component=C(_,o._);export{A as _}; diff --git a/docs/assets/index-BQTIZIsK.js b/docs/assets/index-CirIKg0T.js similarity index 92% rename from docs/assets/index-BQTIZIsK.js rename to docs/assets/index-CirIKg0T.js index aa2a743b5..e3c0df523 100644 --- a/docs/assets/index-BQTIZIsK.js +++ b/docs/assets/index-CirIKg0T.js @@ -1 +1 @@ -import{r as c,b as m,d as _,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function p(){return''}const r="_vtCzpFi",o=i(r);c.r(r,()=>o);const e={};o._=m(function(a,t,n,d,f,y){l(s,{...a,_name:"avatar-signed-out",_size:"",_type:"icon",_themes:p},t,n,"0")},{t:r,i:!0},e);o.Component=_(e,o._);export{o as _}; +import{r as c,b as m,d as _,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function p(){return''}const r="_vtCzpFi",o=i(r);c.r(r,()=>o);const e={};o._=m(function(a,t,n,d,f,y){l(s,{...a,_name:"avatar-signed-out",_size:"",_type:"icon",_themes:p},t,n,"0")},{t:r,i:!0},e);o.Component=_(e,o._);export{o as _}; diff --git a/docs/assets/index-Don6OhkX.js b/docs/assets/index-CjSCztMY.js similarity index 90% rename from docs/assets/index-Don6OhkX.js rename to docs/assets/index-CjSCztMY.js index 220e73daf..498afa6cd 100644 --- a/docs/assets/index-Don6OhkX.js +++ b/docs/assets/index-CjSCztMY.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const a="OIOJCTLj",o=i(a);n.r(a,()=>o);const e={};o._=_(function(t,r,m,h,d,v){c(s,{...t,_name:"archive-24",_size:"24",_type:"icon",_themes:l},r,m,"0")},{t:a,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as n,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const a="OIOJCTLj",o=i(a);n.r(a,()=>o);const e={};o._=_(function(t,r,m,h,d,v){c(s,{...t,_name:"archive-24",_size:"24",_type:"icon",_themes:l},r,m,"0")},{t:a,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-Dk4iJuw6.js b/docs/assets/index-Cmn-Eq35.js similarity index 92% rename from docs/assets/index-Dk4iJuw6.js rename to docs/assets/index-Cmn-Eq35.js index 3f12c2110..5e7b7dbb0 100644 --- a/docs/assets/index-Dk4iJuw6.js +++ b/docs/assets/index-Cmn-Eq35.js @@ -1 +1 @@ -import{t as W,r as H,b as L,e as N,p as R,f as g,g as U,d as q}from"./registry-B-klnak9.js";/* empty css */import{_ as G}from"./index-Bs-h47tU.js";import{_ as J}from"./index-BVSy80fu.js";import{_ as Q}from"./index-D9HHMyPY.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as E}from"./dynamic-tag-DQCvkDdb.js";import{_ as X}from"./index-BJBnaEG2.js";import{i as Y,r as Z}from"./attr-tag-DphMQldM.js";import{C as D}from"./index-NxVnpuOT.js";import{s as ee}from"./index-D7B88Psz.js";import{a as te,h as ae}from"./index-blmbJU0z.js";class ne extends Marko.Component{handleMenuKeydown({el:t,originalEvent:e,index:n}){te(e,()=>{this.handleMenuSelect({index:n,originalEvent:e,el:t})}),ae(e,()=>{this.expander.expanded=!1,this.focus()})}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.emitComponentEvent({eventType:"collapse"})}handleMenuSelect({el:t,originalEvent:e,index:n}){this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:n})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:n,index:h}){let r={el:e,originalEvent:n,index:h};r=Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),this.emit(`${t}`,r)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ee(this.el,{hostSelector:".fake-menu-button__button",contentSelector:".fake-menu-button__menu",focusManagement:"interactive",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const _="isolDjTm",o=W(_),he=o;H.r(_,()=>o);const T=ne;o._=L(function(c,t,e,n,h,r){const{class:i,style:B,type:O,text:p,icon:d,a11yText:$,noToggleIcon:b,reverse:y,fixWidth:S,borderless:x,size:V,priority:j,disabled:F,variant:m,items:I=[],label:u,textAlign:K,transparent:A,...z}=c;var s=m==="overflow",P=m==="form",k=!0;x&&(s=!1);var v=null,f="expand-btn",M,w=m==="icon"||s,C=J;P?(f="btn",M="form"):w?(C=G,k=!1):(v=j||null,f="btn"),t.be("span",N(R(z),{class:g(["fake-menu-button",i]),style:U(B)}),"0",n,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)}),l(C,{class:["fake-menu-button__button"],size:V,borderless:x,priority:v,variant:M,transparent:w&&A,iconOnly:!p&&!d&&!s,ariaExpanded:"false",ariaLabel:$,disabled:F,noToggleIcon:b,renderBody:a=>{s?l(Q,{},a,e,"1"):(a.be("span",{class:g([`${f}__cell`,u&&"menu-button__control--custom-label",K==="center"&&"expand-btn__cell--center"])},"2",n,null,1),u?E(a,u.renderBody,null,null,null,null,e,"3"):(d&&E(a,d,null,null,null,null,e,"4"),p&&(a.be("span",null,"5",n,null,0),a.t(p,n),a.ee())),k&&!b&&l(X,{},a,e,"6"),a.ee())}},t,e,"@button",[["escape","handleButtonEscape",!1]]),l(D,Y(()=>{for(const a of I||[])Z("items",a)},{classPrefix:"fake-menu-button",type:O,reverse:s?!y:y,fixWidth:S,tabindex:-1}),t,e,"@content",[["keydown","handleMenuKeydown",!1],["select","handleMenuSelect",!1]]),t.ee()},{t:_},T);o.Component=q(T,o._);export{he as _}; +import{t as W,r as H,b as L,e as N,p as R,f as g,g as U,d as q}from"./registry-B-klnak9.js";/* empty css */import{_ as G}from"./index-C4ES2whh.js";import{_ as J}from"./index-BXYtdDDf.js";import{_ as Q}from"./index-jqtmgouX.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as E}from"./dynamic-tag-DQCvkDdb.js";import{_ as X}from"./index-BrKjH8jr.js";import{i as Y,r as Z}from"./attr-tag-DphMQldM.js";import{C as D}from"./index-Dm0pQJFf.js";import{s as ee}from"./index-D7B88Psz.js";import{a as te,h as ae}from"./index-blmbJU0z.js";class ne extends Marko.Component{handleMenuKeydown({el:t,originalEvent:e,index:n}){te(e,()=>{this.handleMenuSelect({index:n,originalEvent:e,el:t})}),ae(e,()=>{this.expander.expanded=!1,this.focus()})}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.emitComponentEvent({eventType:"collapse"})}handleMenuSelect({el:t,originalEvent:e,index:n}){this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:n})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:n,index:h}){let r={el:e,originalEvent:n,index:h};r=Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),this.emit(`${t}`,r)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ee(this.el,{hostSelector:".fake-menu-button__button",contentSelector:".fake-menu-button__menu",focusManagement:"interactive",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const _="isolDjTm",o=W(_),he=o;H.r(_,()=>o);const T=ne;o._=L(function(c,t,e,n,h,r){const{class:i,style:B,type:O,text:p,icon:d,a11yText:$,noToggleIcon:b,reverse:y,fixWidth:S,borderless:x,size:V,priority:j,disabled:F,variant:m,items:I=[],label:u,textAlign:K,transparent:A,...z}=c;var s=m==="overflow",P=m==="form",k=!0;x&&(s=!1);var v=null,f="expand-btn",M,w=m==="icon"||s,C=J;P?(f="btn",M="form"):w?(C=G,k=!1):(v=j||null,f="btn"),t.be("span",N(R(z),{class:g(["fake-menu-button",i]),style:U(B)}),"0",n,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)}),l(C,{class:["fake-menu-button__button"],size:V,borderless:x,priority:v,variant:M,transparent:w&&A,iconOnly:!p&&!d&&!s,ariaExpanded:"false",ariaLabel:$,disabled:F,noToggleIcon:b,renderBody:a=>{s?l(Q,{},a,e,"1"):(a.be("span",{class:g([`${f}__cell`,u&&"menu-button__control--custom-label",K==="center"&&"expand-btn__cell--center"])},"2",n,null,1),u?E(a,u.renderBody,null,null,null,null,e,"3"):(d&&E(a,d,null,null,null,null,e,"4"),p&&(a.be("span",null,"5",n,null,0),a.t(p,n),a.ee())),k&&!b&&l(X,{},a,e,"6"),a.ee())}},t,e,"@button",[["escape","handleButtonEscape",!1]]),l(D,Y(()=>{for(const a of I||[])Z("items",a)},{classPrefix:"fake-menu-button",type:O,reverse:s?!y:y,fixWidth:S,tabindex:-1}),t,e,"@content",[["keydown","handleMenuKeydown",!1],["select","handleMenuSelect",!1]]),t.ee()},{t:_},T);o.Component=q(T,o._);export{he as _}; diff --git a/docs/assets/index-CNZOdm0x.js b/docs/assets/index-CrtedE3R.js similarity index 95% rename from docs/assets/index-CNZOdm0x.js rename to docs/assets/index-CrtedE3R.js index 65ff3fc5c..7867735d5 100644 --- a/docs/assets/index-CNZOdm0x.js +++ b/docs/assets/index-CrtedE3R.js @@ -1 +1 @@ -import{r as n,b as _,d as c,t as s}from"./registry-B-klnak9.js";import{_ as p}from"./index-C98gAawF.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="rrrXGSPk",o=s(e);n.r(e,()=>o);const r={};o._=_(function(t,a,m,d,k,f){i(p,{...t,_name:"save-16",_size:"16",_type:"icon",_themes:l},a,m,"0")},{t:e,i:!0},r);o.Component=c(r,o._);export{o as _}; +import{r as n,b as _,d as c,t as s}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="rrrXGSPk",o=s(e);n.r(e,()=>o);const r={};o._=_(function(t,a,m,d,k,f){i(p,{...t,_name:"save-16",_size:"16",_type:"icon",_themes:l},a,m,"0")},{t:e,i:!0},r);o.Component=c(r,o._);export{o as _}; diff --git a/docs/assets/index-DcNSdUWE.js b/docs/assets/index-CvZgtOAC.js similarity index 95% rename from docs/assets/index-DcNSdUWE.js rename to docs/assets/index-CvZgtOAC.js index 748bbfe1e..60d3be661 100644 --- a/docs/assets/index-DcNSdUWE.js +++ b/docs/assets/index-CvZgtOAC.js @@ -1 +1 @@ -import{t as V,r as j,b as q,e as I,p as v,f as n,g as z,d as J}from"./registry-B-klnak9.js";import{C as O}from"./index-DUtXOaCj.js";import{_ as o}from"./render-tag-BBOJ9dEX.js";import{_ as Q}from"./index-D11s4y-0.js";import{_ as W,a as X}from"./index-0_n8TZiB.js";import{c as Y,b as Z}from"./index-Bgyy39_y.js";import{_ as T}from"./dynamic-tag-DQCvkDdb.js";import{a as D,r as ee}from"./index-eGtaP7gF.js";import{c as te}from"./index-DSBRYoSW.js";import{h as ae,a as ie}from"./index-blmbJU0z.js";import{M as se,s as le}from"./index-DYoOQ_vw.js";class re extends se{onCreate(){le(this)}resetIndex(){this._rovingTabIndex.index=0,this.lastTabIndexPosition=0}handleRadioClick(e,t,a){this._toggleItemChecked(e,t.originalEvent,a)}handleItemClick(e,t,a){const c=t.originalEvent||t;(this.input.variant!=="form"||c.target.tagName!=="INPUT")&&this._toggleItemChecked(e,t,a)}handleItemKeydown(e,t,a){ae(t,()=>{this._emitComponentEvent("keydown",t,{index:e})}),this.input.variant!=="form"&&ie(t,()=>{this._toggleItemChecked(e,t,a)})}handleFooterButtonClick(e){this._emitComponentEvent("footer-click",e)}handleFormSubmit(e){this._emitComponentEvent("form-submit",e)}onInput(e){this.state=super.getInputState(e)}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_toggleItemChecked(e,t,a){this.isDisabled(e)||(this.toggleChecked(e),this._emitComponentEvent("change",t,{el:a,index:e}))}_emitComponentEvent(e,t,a){const{el:c,index:h}=a||{},f=this.getCheckedValues(),_=this.getCheckedIndexes(),k=h===void 0?void 0:this.isChecked(h);this.emit(`${e}`,{el:c,checked:f,checkedIndex:_,originalEvent:t,index:h,currentChecked:k})}_setupMakeup(){this.input.variant!=="form"&&(this._rovingTabIndex=te(this.getEl("menu"),"div",{autoInit:this.lastTabIndexPosition||"interactive"}),D(this.getEl("container")))}_cleanupMakeup(){this._rovingTabIndex&&(this.lastTabIndexPosition=this._rovingTabIndex.index,this._rovingTabIndex.destroy(),this._rovingTabIndex=void 0,ee(this.getEl("container")))}}const y="U_tr$UGg",d=V(y),pe=d;j.r(y,()=>d);const E=re;d._=q(function(x,e,t,a,c,h){const{variant:f,footer:_,footerText:k,a11yFooterText:M,class:w,style:F,classPrefix:$,formName:N,formAction:B,formMethod:P,items:S,type:U,...K}=x;var b=U==="radio",u=b?"radio":"checkbox",l=$||"filter-menu",r=f==="form";e.be("span",I(v(K),{class:n([$?`${l}__menu`:l,w]),style:z(F)}),"@container",a,null,4);{const g=r&&"form";g?e.be(g,{name:N,action:B,method:P},"0",a,null,0,{onsubmit:t.d("submit","handleFormSubmit",!1)}):e.bf("f_0",a),e.be("div",{class:n(`${l}__items`),role:!r&&"menu"},"@menu",a,null,0);{let p=0;for(const C of S||[]){let s=p++;const i=`[${s}]`,{class:R,disabled:A,renderBody:G,value:ne,...H}=C;var m=a.isChecked(s);const L=r?"label":"div";e.be(L,I(v(H),{class:n([`${l}__item`,R]),role:b?"menuitemradio":"menuitemcheckbox","aria-checked":String(m),"aria-disabled":A&&"true",for:r&&a.elId(`${u}-${s}`)}),"1"+i,a,null,4,{onclick:t.d("click","handleItemClick",!1,[s]),onkeydown:t.d("keydown","handleItemKeydown",!1,[s])}),r?b?o(O,{id:t.elId(`${u}-${s}`),checked:m},e,t,"2"+i,[["change","handleRadioClick",!1,[s]]]):o(Q,{id:t.elId(`${u}-${s}`),checked:m},e,t,"3"+i):b?(e.be("span",{class:n(`${l}__radio`)},"4"+i,a,null,1),m?o(W,{},e,t,"5"+i):o(X,{},e,t,"6"+i),e.ee()):(e.be("span",{class:n(`${l}__checkbox`)},"7"+i,a,null,1),m?o(Y,{},e,t,"8"+i):o(Z,{},e,t,"9"+i),e.ee()),e.be("span",{class:n(`${l}__text`)},"10"+i,a,null,1),T(e,G,null,null,null,null,t,"11"+i),e.ee(),e.ee()}}if(e.ee(),k)e.be("button",{type:r?"submit":"button","aria-label":M,class:n(`${l}__footer`)},"12",a,null,0,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),e.t(k,a),e.ee();else if(_){const{renderBody:p,a11yFooterText:C,...s}=_;e.be("button",I(v(s),{type:r?"submit":"button","aria-label":C,class:n(`${l}__footer`)}),"13",a,null,4,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),T(e,p,null,null,null,null,t,"14"),e.ee()}g?e.ee():e.ef()}e.ee()},{t:y},E);d.Component=J(E,d._);export{pe as C}; +import{t as V,r as j,b as q,e as I,p as v,f as n,g as z,d as J}from"./registry-B-klnak9.js";import{C as O}from"./index-XDVM21hZ.js";import{_ as o}from"./render-tag-BBOJ9dEX.js";import{_ as Q}from"./index-CbaZ7o5m.js";import{_ as W,a as X}from"./index-BHD_v1ay.js";import{c as Y,b as Z}from"./index-BQLO4xjX.js";import{_ as T}from"./dynamic-tag-DQCvkDdb.js";import{a as D,r as ee}from"./index-eGtaP7gF.js";import{c as te}from"./index-DSBRYoSW.js";import{h as ae,a as ie}from"./index-blmbJU0z.js";import{M as se,s as le}from"./index-DYoOQ_vw.js";class re extends se{onCreate(){le(this)}resetIndex(){this._rovingTabIndex.index=0,this.lastTabIndexPosition=0}handleRadioClick(e,t,a){this._toggleItemChecked(e,t.originalEvent,a)}handleItemClick(e,t,a){const c=t.originalEvent||t;(this.input.variant!=="form"||c.target.tagName!=="INPUT")&&this._toggleItemChecked(e,t,a)}handleItemKeydown(e,t,a){ae(t,()=>{this._emitComponentEvent("keydown",t,{index:e})}),this.input.variant!=="form"&&ie(t,()=>{this._toggleItemChecked(e,t,a)})}handleFooterButtonClick(e){this._emitComponentEvent("footer-click",e)}handleFormSubmit(e){this._emitComponentEvent("form-submit",e)}onInput(e){this.state=super.getInputState(e)}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_toggleItemChecked(e,t,a){this.isDisabled(e)||(this.toggleChecked(e),this._emitComponentEvent("change",t,{el:a,index:e}))}_emitComponentEvent(e,t,a){const{el:c,index:h}=a||{},f=this.getCheckedValues(),_=this.getCheckedIndexes(),k=h===void 0?void 0:this.isChecked(h);this.emit(`${e}`,{el:c,checked:f,checkedIndex:_,originalEvent:t,index:h,currentChecked:k})}_setupMakeup(){this.input.variant!=="form"&&(this._rovingTabIndex=te(this.getEl("menu"),"div",{autoInit:this.lastTabIndexPosition||"interactive"}),D(this.getEl("container")))}_cleanupMakeup(){this._rovingTabIndex&&(this.lastTabIndexPosition=this._rovingTabIndex.index,this._rovingTabIndex.destroy(),this._rovingTabIndex=void 0,ee(this.getEl("container")))}}const y="U_tr$UGg",d=V(y),pe=d;j.r(y,()=>d);const E=re;d._=q(function(x,e,t,a,c,h){const{variant:f,footer:_,footerText:k,a11yFooterText:M,class:w,style:F,classPrefix:$,formName:N,formAction:B,formMethod:P,items:S,type:U,...K}=x;var b=U==="radio",u=b?"radio":"checkbox",l=$||"filter-menu",r=f==="form";e.be("span",I(v(K),{class:n([$?`${l}__menu`:l,w]),style:z(F)}),"@container",a,null,4);{const g=r&&"form";g?e.be(g,{name:N,action:B,method:P},"0",a,null,0,{onsubmit:t.d("submit","handleFormSubmit",!1)}):e.bf("f_0",a),e.be("div",{class:n(`${l}__items`),role:!r&&"menu"},"@menu",a,null,0);{let p=0;for(const C of S||[]){let s=p++;const i=`[${s}]`,{class:R,disabled:A,renderBody:G,value:ne,...H}=C;var m=a.isChecked(s);const L=r?"label":"div";e.be(L,I(v(H),{class:n([`${l}__item`,R]),role:b?"menuitemradio":"menuitemcheckbox","aria-checked":String(m),"aria-disabled":A&&"true",for:r&&a.elId(`${u}-${s}`)}),"1"+i,a,null,4,{onclick:t.d("click","handleItemClick",!1,[s]),onkeydown:t.d("keydown","handleItemKeydown",!1,[s])}),r?b?o(O,{id:t.elId(`${u}-${s}`),checked:m},e,t,"2"+i,[["change","handleRadioClick",!1,[s]]]):o(Q,{id:t.elId(`${u}-${s}`),checked:m},e,t,"3"+i):b?(e.be("span",{class:n(`${l}__radio`)},"4"+i,a,null,1),m?o(W,{},e,t,"5"+i):o(X,{},e,t,"6"+i),e.ee()):(e.be("span",{class:n(`${l}__checkbox`)},"7"+i,a,null,1),m?o(Y,{},e,t,"8"+i):o(Z,{},e,t,"9"+i),e.ee()),e.be("span",{class:n(`${l}__text`)},"10"+i,a,null,1),T(e,G,null,null,null,null,t,"11"+i),e.ee(),e.ee()}}if(e.ee(),k)e.be("button",{type:r?"submit":"button","aria-label":M,class:n(`${l}__footer`)},"12",a,null,0,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),e.t(k,a),e.ee();else if(_){const{renderBody:p,a11yFooterText:C,...s}=_;e.be("button",I(v(s),{type:r?"submit":"button","aria-label":C,class:n(`${l}__footer`)}),"13",a,null,4,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),T(e,p,null,null,null,null,t,"14"),e.ee()}g?e.ee():e.ef()}e.ee()},{t:y},E);d.Component=J(E,d._);export{pe as C}; diff --git a/docs/assets/index-BbpEJ8Sy.js b/docs/assets/index-CwdE1cRz.js similarity index 89% rename from docs/assets/index-BbpEJ8Sy.js rename to docs/assets/index-CwdE1cRz.js index 1771a9328..9c898baad 100644 --- a/docs/assets/index-BbpEJ8Sy.js +++ b/docs/assets/index-CwdE1cRz.js @@ -1 +1 @@ -import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="kdFuaIHe",o=p(e);_.r(e,()=>o);const t={};o._=n(function(r,a,m,f,k,b){c(s,{...r,_name:"overflow-vertical-16",_size:"16",_type:"icon",_themes:l},a,m,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; +import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="kdFuaIHe",o=p(e);_.r(e,()=>o);const t={};o._=n(function(r,a,m,f,k,b){c(s,{...r,_name:"overflow-vertical-16",_size:"16",_type:"icon",_themes:l},a,m,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; diff --git a/docs/assets/index-E-BXye7-.js b/docs/assets/index-D0vg5q8t.js similarity index 93% rename from docs/assets/index-E-BXye7-.js rename to docs/assets/index-D0vg5q8t.js index 88254ce54..ede5d154f 100644 --- a/docs/assets/index-E-BXye7-.js +++ b/docs/assets/index-D0vg5q8t.js @@ -1 +1 @@ -import{r as a,b as n,d as s,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function C(){return''}const t="zYxar$Hk",o=p(t);a.r(t,()=>o);const e={};o._=n(function(m,r,_,l,k,L){c(i,{...m,_name:"close-12",_size:"12",_type:"icon",_themes:C},r,_,"0")},{t,i:!0},e);o.Component=s(e,o._);export{o as _}; +import{r as a,b as n,d as s,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function C(){return''}const t="zYxar$Hk",o=p(t);a.r(t,()=>o);const e={};o._=n(function(m,r,_,l,k,L){c(i,{...m,_name:"close-12",_size:"12",_type:"icon",_themes:C},r,_,"0")},{t,i:!0},e);o.Component=s(e,o._);export{o as _}; diff --git a/docs/assets/index-eT7HiqpQ.js b/docs/assets/index-D4_ppHOJ.js similarity index 62% rename from docs/assets/index-eT7HiqpQ.js rename to docs/assets/index-D4_ppHOJ.js index c5578132d..55b63f97b 100644 --- a/docs/assets/index-eT7HiqpQ.js +++ b/docs/assets/index-D4_ppHOJ.js @@ -1 +1 @@ -import{M as a,u as n}from"./index-ClCifLxd.js";import"./chunk-HLWAVYOI-BpJ_6HfN.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{a as MDXProvider,n as useMDXComponents}; +import{M as a,u as n}from"./index-C0ZlcG9W.js";import"./chunk-HLWAVYOI-uH84A_5y.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{a as MDXProvider,n as useMDXComponents}; diff --git a/docs/assets/index-DytIHQhe.js b/docs/assets/index-D8RRwKI0.js similarity index 95% rename from docs/assets/index-DytIHQhe.js rename to docs/assets/index-D8RRwKI0.js index 4b0f3844c..0aa98c8d7 100644 --- a/docs/assets/index-DytIHQhe.js +++ b/docs/assets/index-D8RRwKI0.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function g(){return''}const c="h_vRvsKd",n=p(c);r.r(c,()=>n);const $={};n._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"arrow-left-16",_size:"16",_type:"icon",_themes:g},t,e,"0")},{t:c,i:!0},$);n.Component=i($,n._);function w(){return''}const b="omD$pXig",a=p(b);r.r(b,()=>a);const u={};a._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"arrow-right-16",_size:"16",_type:"icon",_themes:w},t,e,"0")},{t:b,i:!0},u);a.Component=i(u,a._);function v(){return''}const h="hFVqXngb",m=p(h);r.r(h,()=>m);const d={};m._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"overflow-horizontal-24",_size:"24",_type:"icon",_themes:v},t,e,"0")},{t:h,i:!0},d);m.Component=i(d,m._);export{n as _,m as a,a as b}; +import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function g(){return''}const c="h_vRvsKd",n=p(c);r.r(c,()=>n);const $={};n._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"arrow-left-16",_size:"16",_type:"icon",_themes:g},t,e,"0")},{t:c,i:!0},$);n.Component=i($,n._);function w(){return''}const b="omD$pXig",a=p(b);r.r(b,()=>a);const u={};a._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"arrow-right-16",_size:"16",_type:"icon",_themes:w},t,e,"0")},{t:b,i:!0},u);a.Component=i(u,a._);function v(){return''}const h="hFVqXngb",m=p(h);r.r(h,()=>m);const d={};m._=_(function(o,t,e,y,f,k){l(s,{...o,_name:"overflow-horizontal-24",_size:"24",_type:"icon",_themes:v},t,e,"0")},{t:h,i:!0},d);m.Component=i(d,m._);export{n as _,m as a,a as b}; diff --git a/docs/assets/index-DGqSaLp8.js b/docs/assets/index-DGqSaLp8.js deleted file mode 100644 index 1c48bc21f..000000000 --- a/docs/assets/index-DGqSaLp8.js +++ /dev/null @@ -1 +0,0 @@ -import{r as M,b as N,p as j,f as b,h as q,d as w,t as F}from"./registry-B-klnak9.js";import{_ as G,a as J,b as K}from"./index-BEWuf5iQ.js";import{_}from"./render-tag-BBOJ9dEX.js";import{_ as O}from"./index-HhsN8ych.js";import{_ as i}from"./dynamic-tag-DQCvkDdb.js";import{_ as h}from"./index-Cm_Gb0Br.js";import{_ as P}from"./index-Bs-h47tU.js";class Q extends Marko.Component{}const T="kfeEThgk",y=F(T);M.r(T,()=>y);const p=Q;y._=N(function($,g,l,t,S,U){const{status:n,a11yText:u,a11yIconText:o,icon:C,iconClass:k,class:v,root:I,headerRoot:B,a11yRoleDescription:R,prefixClass:s,title:e,footer:f,type:V,mainRoot:A,noA11yLabel:E,a11yDismissText:c,educationIcon:L,prominent:z,cta:x,...H}=$,m=s==="education-notice";i(g,I||"section",()=>({"aria-labelledby":!E&&t.elId("status"),"aria-roledescription":R,class:[s,v,n==="education"&&z&&`${s}--education`],...j(H)}),a=>{C!=="none"&&i(a,B||"div",()=>({class:`${s}__header`,id:l.elId("status")}),r=>{n==="confirmation"||n==="celebration"?_(G,{a11yText:o||u,a11yVariant:"label",class:k},r,l,"2"):n==="attention"?_(O,{a11yVariant:"label",a11yText:o||u,class:k},r,l,"3"):n==="information"?_(J,{a11yVariant:"label",a11yText:o||u,class:k},r,l,"4"):(m||n==="education"&&V==="section")&&i(r,L||K,()=>({"a11y-variant":"label","a11y-text":o||u,class:k}),null,null,null,l,"5"),m&&e&&(i(r,e.as||"h2",()=>({...e,class:[`${s}__title`,e.class]}),d=>{i(d,e,null,null,null,null,l,"7")},null,null,l,"6"),c&&_(P,{ariaLabel:`${c}`,size:"small",class:["fake-link",`${s}__dismiss`],renderBody:d=>{_(h,{},d,l,"9")}},r,l,"8",[["click","emit",!1,["dismiss"]]]))},null,null,l,"1"),i(a,A||"div",()=>({class:`${s}__main`}),r=>{!m&&e&&i(r,e.as||"h2",()=>({...e,class:[`${s}__title`,e.class]}),d=>{i(d,e,null,null,null,null,l,"12")},null,null,l,"11"),i(r,$.renderBody,null,null,null,null,l,"13")},null,null,l,"10"),x&&(a.be("p",{class:b(`${s}__cta`)},"14",t,null,1),a.be("a",q(x),"15",t,null,4),i(a,x,null,null,null,null,l,"16"),a.ee(),a.ee()),f&&(m||!c)&&(a.be("div",{class:b(`${s}__footer`)},"17",t,null,1),i(a,f,null,null,null,null,l,"18"),a.ee()),!m&&!f&&c&&(a.be("div",{class:b(`${s}__footer`)},"19",t,null,1),a.be("button",{"aria-label":`${c}`,class:b(["fake-link",`${s}__dismiss`])},"20",t,null,0,{onclick:l.d("click","emit",!1,["dismiss"])}),_(h,{class:"icon icon--close-16"},a,l,"21"),a.ee(),a.ee())},null,null,l,"0")},{t:T},p);y.Component=w(p,y._);export{y as _}; diff --git a/docs/assets/index-CEIx_xnL.js b/docs/assets/index-DIATYkRw.js similarity index 92% rename from docs/assets/index-CEIx_xnL.js rename to docs/assets/index-DIATYkRw.js index c406ba228..263bb93fb 100644 --- a/docs/assets/index-CEIx_xnL.js +++ b/docs/assets/index-DIATYkRw.js @@ -1 +1 @@ -import{r as _,b as n,d as p,t as l}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="UUAFC_Cl",o=l(t);_.r(t,()=>o);const e={};o._=n(function(a,r,m,d,h,f){s(i,{...a,_name:"cart-24",_size:"24",_type:"icon",_themes:c},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as _,b as n,d as p,t as l}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="UUAFC_Cl",o=l(t);_.r(t,()=>o);const e={};o._=n(function(a,r,m,d,h,f){s(i,{...a,_name:"cart-24",_size:"24",_type:"icon",_themes:c},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-BGEIR460.js b/docs/assets/index-DM9aGRhG.js similarity index 98% rename from docs/assets/index-BGEIR460.js rename to docs/assets/index-DM9aGRhG.js index d0691b122..3ecabdfec 100644 --- a/docs/assets/index-BGEIR460.js +++ b/docs/assets/index-DM9aGRhG.js @@ -1 +1 @@ -import{t as K,r as T,b as R,f as a,g as U,e as c,p as r,d as N}from"./registry-B-klnak9.js";/* empty css */import{s as q}from"./index-htxwKVWG.js";import{_ as z}from"./dynamic-tag-DQCvkDdb.js";import{_ as H}from"./index-ClSYtjPE.js";import{_ as C}from"./render-tag-BBOJ9dEX.js";import{_ as X}from"./index-BJBnaEG2.js";import{s as j,c as G}from"./index-0_D4u4b1.js";import{s as J}from"./index-D7B88Psz.js";import{b as P,c as Q,h as W,d as Y}from"./index-blmbJU0z.js";function Z(n=""){return new RegExp(n.trim().replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i")}let ee=class extends Marko.Component{focus(){this.getEl("combobox").focus()}handleFocus(){this._emitComboboxEvent("focus")}isExpanded(){return this.expander&&this.expander.expanded}isCollapsed(){return this.expander&&!this.expander.expanded}expand(){this.isCollapsed()&&(this.expander.expanded=!0)}collapse(){this.isExpanded()&&(this.expander.expanded=!1)}handleButtonClick(e){this.buttonClicked=!0,this.emit("button-click",{originalEvent:e})}handleActiveDescendantChange(e){if(this.listSelection==="automatic"){const t=this._getVisibleOptions()[e.detail.toIndex];this.getEl("combobox").value=t.text}}setSelectedView(){const e=this._getVisibleOptions().indexOf(this._getSelectedOption());this.activeDescendant.index=e;const t=this.getEls("options")[e];t&&j(t)}handleExpand(){this.state.viewAllOptions?this.setSelectedView():(this.state.viewAllOptions=!0,this.once("update",()=>{this.setSelectedView()})),this.emit("expand")}handleCollapse(){this.activeDescendant.reset(),this.emit("collapse")}handleComboboxClick(e){e.target===document.activeElement&&this.expand()}handleComboboxKeyDown(e){P(e,()=>{e.preventDefault(),this.expand()}),Q(e,()=>{if(this.isExpanded()){const t=this.activeDescendant.index;t!==-1&&this._setSelectedText(this._getVisibleOptions()[t].text),this.input.expanded!==!0&&this.collapse()}}),W(e,()=>{this.collapse()}),this.emit("keydown",e)}handleComboboxKeyUp(e){Y(e,()=>{this.state.currentValue=this.getEl("combobox").value,this.once("update",()=>{this.expand()}),this.state.viewAllOptions=!1,this._emitComboboxEvent("input-change")})}handleComboboxBlur(){const e=this.optionClicked;e&&this.focus(),!e&&!this.buttonClicked&&this.input.expanded!==!0&&this.collapse(),this.buttonClicked=!1;const t=this.getEl("combobox");this.listSelection==="automatic"&&t.value!==this.state.currentValue&&(this.state.currentValue=t.value),this.lastValue!==this.state.currentValue&&(this.lastValue=this.state.currentValue,this._emitComboboxEvent("change"))}handleSelectOption(e){this._setSelectedText(e),this.emit("option-click",e)}handleFloatingLabelInit(){this._emitComboboxEvent("floating-label-init")}onInput(e){this.autocomplete=e.autocomplete==="list"?"list":"none",this.listSelection=e.listSelection==="manual"?"manual":"automatic",this.lastValue=e.value,this.state={currentValue:this.lastValue,viewAllOptions:this.state&&this.state.viewAllOptions||!0},this.expander&&(this.expandedChange=e.expanded!==this.expanded,this.expandedChange&&(this.expander.expanded=e.expanded)),this.expanded=e.expanded}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupFloatingLabel(){this._floatingLabel?(this._floatingLabel.refresh(),this.handleFloatingLabelInit()):document.readyState==="complete"?this.el&&(this._floatingLabel=new q(this.el),this.handleFloatingLabelInit()):this.subscribeTo(window).once("load",()=>{this._setupFloatingLabel()})}_setupMakeup(){this._hasVisibleOptions()&&(this.activeDescendant||(this.activeDescendant=G(this.el,this.getEl("combobox"),this.getEl("listbox"),'[role="option"]',{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,axis:"y",autoScroll:!0})),this.expander||(this.expander=new J(this.el,{autoCollapse:!this.expanded,expandOnFocus:!0,collapseOnFocusOut:!this.expanded&&!this.input.button,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0})),this.expandedChange&&(this.expander.expanded=this.expanded,this.expandedChange=!1)),this.input.floatingLabel&&this._setupFloatingLabel()}_cleanupMakeup(){this.activeDescendant&&(this.activeDescendant.reset(),this.activeDescendant.destroy(),this.activeDescendant=null),this.expander&&(this.expander.destroy(),this.expander=null),this._floatingLabel&&(this._floatingLabel.destroy(),this._floatingLabel=null)}_setSelectedText(e){if(this.state.currentValue!==e){const t=this.getEl("combobox");this.state.currentValue=t.value=e,t.selectionStart=t.selectionEnd=e.length,t.focus(),this._emitComboboxEvent("select")}}_getSelectedOption(){return[...this.input.options??[]].find(e=>e.text===this.state.currentValue)}_getVisibleOptions(){var t;if(this.autocomplete==="none"||this.state.viewAllOptions)return[...this.input.options??[]];const e=Z((t=this.state.currentValue)==null?void 0:t.toString());return[...this.input.options??[]].filter(s=>e.test(s.text||"")||s.sticky)}_hasVisibleOptions(){return!this.input.disabled&&this._getVisibleOptions().length>0}_emitComboboxEvent(e){this.emit(`${e}`,{currentInputValue:this.state.currentValue,selectedOption:this._getSelectedOption(),options:this.input.options})}};const h="qXvwbDvk",l=K(h),me=l;T.r(h,()=>l);const k=ee;l._=R(function(n,e,t,s,p,te){const{class:v,id:w,button:u,disabled:b,style:y,borderless:V,autocomplete:se,options:ie,roledescription:O=`Use up and down arrow keys to navigate options.${s.autocomplete==="none"?"":" Options change based on text input"}`,floatingLabel:d,listSelection:ae,expanded:le,fluid:x,chevronSize:S,...E}=n,{class:L,renderBody:f,...I}=u||{};var m=!!u,A=x?"div":"span",_=w||s.getElId("input");e.be(A,{class:a(["combobox",d&&"floating-label",x&&"combobox--fluid",v]),style:U(y)},"0",s,null,1,{onactiveDescendantChange:t.d("activeDescendantChange","handleActiveDescendantChange",!1),"onexpander-expand":t.d("expander-expand","handleExpand",!1),"onexpander-collapse":t.d("expander-collapse","handleCollapse",!1)}),d&&(e.be("label",{for:_,class:a(["floating-label__label",b&&"floating-label__label--disabled"])},"1",s,null,0),e.t(d,s),e.ee()),e.be("span",{class:a(["combobox__control",m&&"combobox__control--actionable",V&&"combobox__control--borderless"])},"2",s,null,1);{e.e("input",c(r(E),{id:_,type:"text",role:"combobox",disabled:b,value:p.currentValue,"aria-autocomplete":s.autocomplete,"aria-roledescription":O,"aria-haspopup":"listbox",autocomplete:"off","aria-expanded":"false"}),"@combobox",s,0,4,{onblur:t.d("blur","handleComboboxBlur",!1),onclick:t.d("click","handleComboboxClick",!1),onfocus:t.d("focus","handleFocus",!1),onkeydown:t.d("keydown","handleComboboxKeyDown",!1),onkeyup:t.d("keyup","handleComboboxKeyUp",!1)});const i=m?"button":null;i?e.be(i,c(r(I),{class:a(["icon-btn","icon-btn--transparent",L])}),"@actionable",s,null,4,{onclick:t.d("click","handleButtonClick",!1)}):e.bf("f_@actionable",s),f?z(e,f,null,null,null,null,t,"3"):S==="large"?C(H,{},e,t,"4"):C(X,{},e,t,"5"),i?e.ee():e.ef()}if(e.ee(),s._hasVisibleOptions()){e.be("div",{role:"listbox",class:"combobox__listbox"},"@listbox",s,null,0);for(const i of s._getVisibleOptions()||[]){const{text:o,value:$,class:B,...M}=i;var F=($||o)===p.currentValue;const g="@options[]",D=`[${g}]`;e.be("div",c(r(M),{role:"option",class:a(["combobox__option",B]),tabindex:"-1","aria-selected":F&&"true"}),g,s,null,4,{pa:{class:1,tabindex:1},onclick:t.d("click","handleSelectOption",!1,[o]),onmousedown:t.d("mousedown","handleSelectOption",!1,[o])}),e.be("span",null,"6"+D,s,null,0),e.t(o,s),e.ee(),e.ee()}e.ee()}e.ee()},{t:h},k);l.Component=N(k,l._);export{me as C}; +import{t as K,r as T,b as R,f as a,g as U,e as c,p as r,d as N}from"./registry-B-klnak9.js";/* empty css */import{s as q}from"./index-htxwKVWG.js";import{_ as z}from"./dynamic-tag-DQCvkDdb.js";import{_ as H}from"./index-CL0domC_.js";import{_ as C}from"./render-tag-BBOJ9dEX.js";import{_ as X}from"./index-BrKjH8jr.js";import{s as j,c as G}from"./index-0_D4u4b1.js";import{s as J}from"./index-D7B88Psz.js";import{b as P,c as Q,h as W,d as Y}from"./index-blmbJU0z.js";function Z(n=""){return new RegExp(n.trim().replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i")}let ee=class extends Marko.Component{focus(){this.getEl("combobox").focus()}handleFocus(){this._emitComboboxEvent("focus")}isExpanded(){return this.expander&&this.expander.expanded}isCollapsed(){return this.expander&&!this.expander.expanded}expand(){this.isCollapsed()&&(this.expander.expanded=!0)}collapse(){this.isExpanded()&&(this.expander.expanded=!1)}handleButtonClick(e){this.buttonClicked=!0,this.emit("button-click",{originalEvent:e})}handleActiveDescendantChange(e){if(this.listSelection==="automatic"){const t=this._getVisibleOptions()[e.detail.toIndex];this.getEl("combobox").value=t.text}}setSelectedView(){const e=this._getVisibleOptions().indexOf(this._getSelectedOption());this.activeDescendant.index=e;const t=this.getEls("options")[e];t&&j(t)}handleExpand(){this.state.viewAllOptions?this.setSelectedView():(this.state.viewAllOptions=!0,this.once("update",()=>{this.setSelectedView()})),this.emit("expand")}handleCollapse(){this.activeDescendant.reset(),this.emit("collapse")}handleComboboxClick(e){e.target===document.activeElement&&this.expand()}handleComboboxKeyDown(e){P(e,()=>{e.preventDefault(),this.expand()}),Q(e,()=>{if(this.isExpanded()){const t=this.activeDescendant.index;t!==-1&&this._setSelectedText(this._getVisibleOptions()[t].text),this.input.expanded!==!0&&this.collapse()}}),W(e,()=>{this.collapse()}),this.emit("keydown",e)}handleComboboxKeyUp(e){Y(e,()=>{this.state.currentValue=this.getEl("combobox").value,this.once("update",()=>{this.expand()}),this.state.viewAllOptions=!1,this._emitComboboxEvent("input-change")})}handleComboboxBlur(){const e=this.optionClicked;e&&this.focus(),!e&&!this.buttonClicked&&this.input.expanded!==!0&&this.collapse(),this.buttonClicked=!1;const t=this.getEl("combobox");this.listSelection==="automatic"&&t.value!==this.state.currentValue&&(this.state.currentValue=t.value),this.lastValue!==this.state.currentValue&&(this.lastValue=this.state.currentValue,this._emitComboboxEvent("change"))}handleSelectOption(e){this._setSelectedText(e),this.emit("option-click",e)}handleFloatingLabelInit(){this._emitComboboxEvent("floating-label-init")}onInput(e){this.autocomplete=e.autocomplete==="list"?"list":"none",this.listSelection=e.listSelection==="manual"?"manual":"automatic",this.lastValue=e.value,this.state={currentValue:this.lastValue,viewAllOptions:this.state&&this.state.viewAllOptions||!0},this.expander&&(this.expandedChange=e.expanded!==this.expanded,this.expandedChange&&(this.expander.expanded=e.expanded)),this.expanded=e.expanded}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupFloatingLabel(){this._floatingLabel?(this._floatingLabel.refresh(),this.handleFloatingLabelInit()):document.readyState==="complete"?this.el&&(this._floatingLabel=new q(this.el),this.handleFloatingLabelInit()):this.subscribeTo(window).once("load",()=>{this._setupFloatingLabel()})}_setupMakeup(){this._hasVisibleOptions()&&(this.activeDescendant||(this.activeDescendant=G(this.el,this.getEl("combobox"),this.getEl("listbox"),'[role="option"]',{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,axis:"y",autoScroll:!0})),this.expander||(this.expander=new J(this.el,{autoCollapse:!this.expanded,expandOnFocus:!0,collapseOnFocusOut:!this.expanded&&!this.input.button,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0})),this.expandedChange&&(this.expander.expanded=this.expanded,this.expandedChange=!1)),this.input.floatingLabel&&this._setupFloatingLabel()}_cleanupMakeup(){this.activeDescendant&&(this.activeDescendant.reset(),this.activeDescendant.destroy(),this.activeDescendant=null),this.expander&&(this.expander.destroy(),this.expander=null),this._floatingLabel&&(this._floatingLabel.destroy(),this._floatingLabel=null)}_setSelectedText(e){if(this.state.currentValue!==e){const t=this.getEl("combobox");this.state.currentValue=t.value=e,t.selectionStart=t.selectionEnd=e.length,t.focus(),this._emitComboboxEvent("select")}}_getSelectedOption(){return[...this.input.options??[]].find(e=>e.text===this.state.currentValue)}_getVisibleOptions(){var t;if(this.autocomplete==="none"||this.state.viewAllOptions)return[...this.input.options??[]];const e=Z((t=this.state.currentValue)==null?void 0:t.toString());return[...this.input.options??[]].filter(s=>e.test(s.text||"")||s.sticky)}_hasVisibleOptions(){return!this.input.disabled&&this._getVisibleOptions().length>0}_emitComboboxEvent(e){this.emit(`${e}`,{currentInputValue:this.state.currentValue,selectedOption:this._getSelectedOption(),options:this.input.options})}};const h="qXvwbDvk",l=K(h),me=l;T.r(h,()=>l);const k=ee;l._=R(function(n,e,t,s,p,te){const{class:v,id:w,button:u,disabled:b,style:y,borderless:V,autocomplete:se,options:ie,roledescription:O=`Use up and down arrow keys to navigate options.${s.autocomplete==="none"?"":" Options change based on text input"}`,floatingLabel:d,listSelection:ae,expanded:le,fluid:x,chevronSize:S,...E}=n,{class:L,renderBody:f,...I}=u||{};var m=!!u,A=x?"div":"span",_=w||s.getElId("input");e.be(A,{class:a(["combobox",d&&"floating-label",x&&"combobox--fluid",v]),style:U(y)},"0",s,null,1,{onactiveDescendantChange:t.d("activeDescendantChange","handleActiveDescendantChange",!1),"onexpander-expand":t.d("expander-expand","handleExpand",!1),"onexpander-collapse":t.d("expander-collapse","handleCollapse",!1)}),d&&(e.be("label",{for:_,class:a(["floating-label__label",b&&"floating-label__label--disabled"])},"1",s,null,0),e.t(d,s),e.ee()),e.be("span",{class:a(["combobox__control",m&&"combobox__control--actionable",V&&"combobox__control--borderless"])},"2",s,null,1);{e.e("input",c(r(E),{id:_,type:"text",role:"combobox",disabled:b,value:p.currentValue,"aria-autocomplete":s.autocomplete,"aria-roledescription":O,"aria-haspopup":"listbox",autocomplete:"off","aria-expanded":"false"}),"@combobox",s,0,4,{onblur:t.d("blur","handleComboboxBlur",!1),onclick:t.d("click","handleComboboxClick",!1),onfocus:t.d("focus","handleFocus",!1),onkeydown:t.d("keydown","handleComboboxKeyDown",!1),onkeyup:t.d("keyup","handleComboboxKeyUp",!1)});const i=m?"button":null;i?e.be(i,c(r(I),{class:a(["icon-btn","icon-btn--transparent",L])}),"@actionable",s,null,4,{onclick:t.d("click","handleButtonClick",!1)}):e.bf("f_@actionable",s),f?z(e,f,null,null,null,null,t,"3"):S==="large"?C(H,{},e,t,"4"):C(X,{},e,t,"5"),i?e.ee():e.ef()}if(e.ee(),s._hasVisibleOptions()){e.be("div",{role:"listbox",class:"combobox__listbox"},"@listbox",s,null,0);for(const i of s._getVisibleOptions()||[]){const{text:o,value:$,class:B,...M}=i;var F=($||o)===p.currentValue;const g="@options[]",D=`[${g}]`;e.be("div",c(r(M),{role:"option",class:a(["combobox__option",B]),tabindex:"-1","aria-selected":F&&"true"}),g,s,null,4,{pa:{class:1,tabindex:1},onclick:t.d("click","handleSelectOption",!1,[o]),onmousedown:t.d("mousedown","handleSelectOption",!1,[o])}),e.be("span",null,"6"+D,s,null,0),e.t(o,s),e.ee(),e.ee()}e.ee()}e.ee()},{t:h},k);l.Component=N(k,l._);export{me as C}; diff --git a/docs/assets/index-Cas-8LG3.js b/docs/assets/index-DMN8Tpap.js similarity index 95% rename from docs/assets/index-Cas-8LG3.js rename to docs/assets/index-DMN8Tpap.js index 61bdb7d60..88c8956e1 100644 --- a/docs/assets/index-Cas-8LG3.js +++ b/docs/assets/index-DMN8Tpap.js @@ -1 +1 @@ -import{r as n,b as s,d as m,t as i}from"./registry-B-klnak9.js";import{_ as p}from"./index-C98gAawF.js";import{_}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="agLuAwx",a=i(t);n.r(t,()=>a);const r={};a._=s(function(o,l,e,f,k,d){_(p,{...o,_name:"star-dynamic",_size:"",_type:"icon",_themes:c},l,e,"0")},{t,i:!0},r);a.Component=m(r,a._);export{a as _}; +import{r as n,b as s,d as m,t as i}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="agLuAwx",a=i(t);n.r(t,()=>a);const r={};a._=s(function(o,l,e,f,k,d){_(p,{...o,_name:"star-dynamic",_size:"",_type:"icon",_themes:c},l,e,"0")},{t,i:!0},r);a.Component=m(r,a._);export{a as _}; diff --git a/docs/assets/index-DMrvDz2r.js b/docs/assets/index-DMrvDz2r.js new file mode 100644 index 000000000..17981c5fc --- /dev/null +++ b/docs/assets/index-DMrvDz2r.js @@ -0,0 +1 @@ +import{r as M,b as N,p as j,f as b,h as q,d as w,t as F}from"./registry-B-klnak9.js";import{_ as G,a as J,b as K}from"./index-DYM8JJUZ.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";import{_ as O}from"./index-Dm3YPrSu.js";import{_ as i}from"./dynamic-tag-DQCvkDdb.js";import{_ as h}from"./index-A0egsrj7.js";import{_ as P}from"./index-C4ES2whh.js";class Q extends Marko.Component{}const T="kfeEThgk",y=F(T);M.r(T,()=>y);const p=Q;y._=N(function(f,g,l,t,S,U){const{status:n,a11yText:d,a11yIconText:u,icon:C,iconClass:k,class:v,root:I,headerRoot:B,a11yRoleDescription:R,prefixClass:s,title:e,footer:$,type:V,mainRoot:A,noA11yLabel:E,a11yDismissText:m,educationIcon:L,prominent:z,cta:x,...H}=f,o=s==="education-notice";i(g,I||"section",()=>({"aria-labelledby":!E&&t.elId("status"),"aria-roledescription":R,class:[s,v,n==="education"&&z&&`${s}--education`],...j(H)}),a=>{C!=="none"&&i(a,B||"div",()=>({class:`${s}__header`,id:l.elId("status")}),r=>{n==="confirmation"||n==="celebration"?c(G,{a11yText:u||d,a11yVariant:"label",class:[k,"icon--confirmation-filled"]},r,l,"2"):n==="attention"?c(O,{a11yVariant:"label",a11yText:u||d,class:[k,"icon--attention-filled"]},r,l,"3"):n==="information"?c(J,{a11yVariant:"label",a11yText:u||d,class:[k,"icon--information-filled"]},r,l,"4"):(o||n==="education"&&V==="section")&&i(r,L||K,()=>({"a11y-variant":"label","a11y-text":u||d,class:k}),null,null,null,l,"5"),o&&e&&(i(r,e.as||"h2",()=>({...e,class:[`${s}__title`,e.class]}),_=>{i(_,e,null,null,null,null,l,"7")},null,null,l,"6"),m&&c(P,{ariaLabel:`${m}`,size:"small",class:["fake-link",`${s}__dismiss`],renderBody:_=>{c(h,{},_,l,"9")}},r,l,"8",[["click","emit",!1,["dismiss"]]]))},null,null,l,"1"),i(a,A||"div",()=>({class:`${s}__main`}),r=>{!o&&e&&i(r,e.as||"h2",()=>({...e,class:[`${s}__title`,e.class]}),_=>{i(_,e,null,null,null,null,l,"12")},null,null,l,"11"),i(r,f.renderBody,null,null,null,null,l,"13")},null,null,l,"10"),x&&(a.be("p",{class:b(`${s}__cta`)},"14",t,null,1),a.be("a",q(x),"15",t,null,4),i(a,x,null,null,null,null,l,"16"),a.ee(),a.ee()),$&&(o||!m)&&(a.be("div",{class:b(`${s}__footer`)},"17",t,null,1),i(a,$,null,null,null,null,l,"18"),a.ee()),!o&&!$&&m&&(a.be("div",{class:b(`${s}__footer`)},"19",t,null,1),a.be("button",{"aria-label":`${m}`,class:b(["fake-link",`${s}__dismiss`])},"20",t,null,0,{onclick:l.d("click","emit",!1,["dismiss"])}),c(h,{class:"icon icon--close-16"},a,l,"21"),a.ee(),a.ee())},null,null,l,"0")},{t:T},p);y.Component=w(p,y._);export{y as _}; diff --git a/docs/assets/index-BHuZwrkj.js b/docs/assets/index-DO9To3q6.js similarity index 89% rename from docs/assets/index-BHuZwrkj.js rename to docs/assets/index-DO9To3q6.js index 0220da3ae..667888033 100644 --- a/docs/assets/index-BHuZwrkj.js +++ b/docs/assets/index-DO9To3q6.js @@ -1 +1 @@ -import{r as a,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="JVY_JLTg",o=p(e);a.r(e,()=>o);const t={};o._=n(function(r,m,_,d,k,f){l(s,{...r,_name:"tick-16",_size:"16",_type:"icon",_themes:c},m,_,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; +import{r as a,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="JVY_JLTg",o=p(e);a.r(e,()=>o);const t={};o._=n(function(r,m,_,d,k,f){l(s,{...r,_name:"tick-16",_size:"16",_type:"icon",_themes:c},m,_,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; diff --git a/docs/assets/index-BX5Uw3sZ.js b/docs/assets/index-DXgqk0uU.js similarity index 88% rename from docs/assets/index-BX5Uw3sZ.js rename to docs/assets/index-DXgqk0uU.js index be99969f5..46d56b016 100644 --- a/docs/assets/index-BX5Uw3sZ.js +++ b/docs/assets/index-DXgqk0uU.js @@ -1 +1 @@ -import{r,b as _,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const t="FOZuAvvl",o=s(t);r.r(t,()=>o);const e={};o._=_(function(m,a,n,k,u,b){c(i,{...m,_name:"menu-24",_size:"24",_type:"icon",_themes:l},a,n,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r,b as _,d as p,t as s}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const t="FOZuAvvl",o=s(t);r.r(t,()=>o);const e={};o._=_(function(m,a,n,k,u,b){c(i,{...m,_name:"menu-24",_size:"24",_type:"icon",_themes:l},a,n,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-BEWuf5iQ.js b/docs/assets/index-DYM8JJUZ.js similarity index 96% rename from docs/assets/index-BEWuf5iQ.js rename to docs/assets/index-DYM8JJUZ.js index 1a77d608a..e14cd8b32 100644 --- a/docs/assets/index-BEWuf5iQ.js +++ b/docs/assets/index-DYM8JJUZ.js @@ -1 +1 @@ -import{r as _,b as i,d as l,t as r}from"./registry-B-klnak9.js";import{_ as c}from"./index-C98gAawF.js";import{_ as p}from"./render-tag-BBOJ9dEX.js";function g(){return''}const s="ORjfcPrm",n=r(s);_.r(s,()=>n);const h={};n._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"lightbulb-24",_size:"24",_type:"icon",_themes:g},t,e,"0")},{t:s,i:!0},h);n.Component=l(h,n._);function Z(){return''}const b="cLQkMseg",a=r(b);_.r(b,()=>a);const k={};a._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"confirmation-filled-16",_size:"16",_type:"icon",_themes:Z},t,e,"0")},{t:b,i:!0},k);a.Component=l(k,a._);function v(){return''}const f="tpXTC$tc",m=r(f);_.r(f,()=>m);const $={};m._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"information-filled-16",_size:"16",_type:"icon",_themes:v},t,e,"0")},{t:f,i:!0},$);m.Component=l($,m._);export{a as _,m as a,n as b}; +import{r as _,b as i,d as l,t as r}from"./registry-B-klnak9.js";import{_ as c}from"./index-Bd083XES.js";import{_ as p}from"./render-tag-BBOJ9dEX.js";function g(){return''}const s="ORjfcPrm",n=r(s);_.r(s,()=>n);const h={};n._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"lightbulb-24",_size:"24",_type:"icon",_themes:g},t,e,"0")},{t:s,i:!0},h);n.Component=l(h,n._);function Z(){return''}const b="cLQkMseg",a=r(b);_.r(b,()=>a);const k={};a._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"confirmation-filled-16",_size:"16",_type:"icon",_themes:Z},t,e,"0")},{t:b,i:!0},k);a.Component=l(k,a._);function v(){return''}const f="tpXTC$tc",m=r(f);_.r(f,()=>m);const $={};m._=i(function(o,t,e,d,u,y){p(c,{...o,_name:"information-filled-16",_size:"16",_type:"icon",_themes:v},t,e,"0")},{t:f,i:!0},$);m.Component=l($,m._);export{a as _,m as a,n as b}; diff --git a/docs/assets/index-CIM_zO8g.js b/docs/assets/index-DYoePqPO.js similarity index 97% rename from docs/assets/index-CIM_zO8g.js rename to docs/assets/index-DYoePqPO.js index 69f39fa42..1bcd73040 100644 --- a/docs/assets/index-CIM_zO8g.js +++ b/docs/assets/index-DYoePqPO.js @@ -1 +1 @@ -import{r as a,b as s,d as p,t as l}from"./registry-B-klnak9.js";import{_ as m}from"./index-C98gAawF.js";import{_}from"./render-tag-BBOJ9dEX.js";function v(){return''}const c="NejvKyDh",r=l(c);a.r(c,()=>r);const f={};r._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-30",_size:"30",_type:"icon",_themes:v},n,e,"0")},{t:c,i:!0},f);r.Component=p(f,r._);function g(){return''}const d="nNPFgezf",t=l(d);a.r(d,()=>t);const h={};t._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-20",_size:"20",_type:"icon",_themes:g},n,e,"0")},{t:d,i:!0},h);t.Component=p(h,t._);function $(){return''}const k="brWuxz_e",i=l(k);a.r(k,()=>i);const y={};i._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-24",_size:"24",_type:"icon",_themes:$},n,e,"0")},{t:k,i:!0},y);i.Component=p(y,i._);export{r as _,t as a,i as b}; +import{r as a,b as s,d as p,t as l}from"./registry-B-klnak9.js";import{_ as m}from"./index-Bd083XES.js";import{_}from"./render-tag-BBOJ9dEX.js";function v(){return''}const c="NejvKyDh",r=l(c);a.r(c,()=>r);const f={};r._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-30",_size:"30",_type:"icon",_themes:v},n,e,"0")},{t:c,i:!0},f);r.Component=p(f,r._);function g(){return''}const d="nNPFgezf",t=l(d);a.r(d,()=>t);const h={};t._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-20",_size:"20",_type:"icon",_themes:g},n,e,"0")},{t:d,i:!0},h);t.Component=p(h,t._);function $(){return''}const k="brWuxz_e",i=l(k);a.r(k,()=>i);const y={};i._=s(function(o,n,e,C,u,b){_(m,{...o,_name:"spinner-24",_size:"24",_type:"icon",_themes:$},n,e,"0")},{t:k,i:!0},y);i.Component=p(y,i._);export{r as _,t as a,i as b}; diff --git a/docs/assets/index-NxVnpuOT.js b/docs/assets/index-Dm0pQJFf.js similarity index 96% rename from docs/assets/index-NxVnpuOT.js rename to docs/assets/index-Dm0pQJFf.js index 612e85c7c..5951c8708 100644 --- a/docs/assets/index-NxVnpuOT.js +++ b/docs/assets/index-Dm0pQJFf.js @@ -1 +1 @@ -import{t as L,r as P,b as W,e as f,p as u,f as o,g as y,d as j}from"./registry-B-klnak9.js";/* empty css */import{_ as q}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-B6IacUrT.js";import{_ as b}from"./render-tag-BBOJ9dEX.js";import{_ as F}from"./index-BHuZwrkj.js";import{h as J}from"./index-blmbJU0z.js";import{M as O,s as Q}from"./index-DYoOQ_vw.js";class R extends O{onCreate(){Q(this)}handleItemClick(e,a,s){this.emitComponentEvent({eventType:"select",el:s,originalEvent:a,index:e})}handleItemKeydown(e,a,s){J(a,()=>{this.emitComponentEvent({eventType:"keydown",el:s,originalEvent:a,index:e})})}emitComponentEvent({eventType:e,...a}){this.emit(`${e}`,a)}onInput(e){this.items=(e.items||[]).filter(a=>!a.separator)}}const p="CGdLse_f",m=L(p),ie=m;P.r(p,()=>m);const h=R;m._=W(function(_,e,a,s,V,X){const{class:C,style:g,classPrefix:c,type:Y,reverse:v,fixWidth:$,items:Z,...x}=_;var r=c||"fake-menu",I=s.getSeparatorMap(_);e.be("span",f(u(x),{class:o([c?`${r}__menu`:"fake-menu",v&&`${r}__menu--reverse`,$&&`${r}__menu--fix-width`,C]),style:y(g)}),"0",s,null,4),e.be("ul",{class:"fake-menu__items",tabindex:"-1",id:a.elId("menu")},"@menu",s,null,0);{let M=0;for(const E of s.items||[]){let i=M++;const l=`[${i}]`,{class:K,style:T,type:d,value:B,checked:D,current:N,badgeNumber:k,itemMatchesUrl:S,href:U,renderBody:A,disabled:t,...G}=E;var w=S===!1?"true":"page";I[i]&&(e.be("li",null,"1"+l,s,null,0),e.e("hr",{class:o(`${r}__separator`),role:"separator"},"2"+l,s,0,0),e.ee()),e.be("li",null,"3"+l,s,null,0);{var n=d==="button"||d==="submit";const H=n?"button":"a";e.be(H,f(u(G),{class:o([`${r}__item`,K]),style:y(T),disabled:n&&t,"aria-disabled":!n&&t&&"true","aria-current":N?w:!1,href:t?null:U,type:n&&d}),"@item[]",s,null,4,{onkeydown:a.d("keydown",!t&&"handleItemKeydown",!1,[i]),onclick:a.d("click",!t&&"handleItemClick",!1,[i])}),e.be("span",null,"4"+l,s,null,0),q(e,A,null,null,null,null,a,"5"+l),e.ee(),k&&b(z,{type:"menu",number:k},e,a,"6"+l),b(F,{},e,a,"7"+l),e.ee()}e.ee()}}e.ee(),e.ee()},{t:p},h);m.Component=j(h,m._);export{ie as C}; +import{t as L,r as P,b as W,e as f,p as u,f as o,g as y,d as j}from"./registry-B-klnak9.js";/* empty css */import{_ as q}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-B6IacUrT.js";import{_ as b}from"./render-tag-BBOJ9dEX.js";import{_ as F}from"./index-DO9To3q6.js";import{h as J}from"./index-blmbJU0z.js";import{M as O,s as Q}from"./index-DYoOQ_vw.js";class R extends O{onCreate(){Q(this)}handleItemClick(e,a,s){this.emitComponentEvent({eventType:"select",el:s,originalEvent:a,index:e})}handleItemKeydown(e,a,s){J(a,()=>{this.emitComponentEvent({eventType:"keydown",el:s,originalEvent:a,index:e})})}emitComponentEvent({eventType:e,...a}){this.emit(`${e}`,a)}onInput(e){this.items=(e.items||[]).filter(a=>!a.separator)}}const p="CGdLse_f",m=L(p),ie=m;P.r(p,()=>m);const h=R;m._=W(function(_,e,a,s,V,X){const{class:C,style:g,classPrefix:c,type:Y,reverse:v,fixWidth:$,items:Z,...x}=_;var r=c||"fake-menu",I=s.getSeparatorMap(_);e.be("span",f(u(x),{class:o([c?`${r}__menu`:"fake-menu",v&&`${r}__menu--reverse`,$&&`${r}__menu--fix-width`,C]),style:y(g)}),"0",s,null,4),e.be("ul",{class:"fake-menu__items",tabindex:"-1",id:a.elId("menu")},"@menu",s,null,0);{let M=0;for(const E of s.items||[]){let i=M++;const l=`[${i}]`,{class:K,style:T,type:d,value:B,checked:D,current:N,badgeNumber:k,itemMatchesUrl:S,href:U,renderBody:A,disabled:t,...G}=E;var w=S===!1?"true":"page";I[i]&&(e.be("li",null,"1"+l,s,null,0),e.e("hr",{class:o(`${r}__separator`),role:"separator"},"2"+l,s,0,0),e.ee()),e.be("li",null,"3"+l,s,null,0);{var n=d==="button"||d==="submit";const H=n?"button":"a";e.be(H,f(u(G),{class:o([`${r}__item`,K]),style:y(T),disabled:n&&t,"aria-disabled":!n&&t&&"true","aria-current":N?w:!1,href:t?null:U,type:n&&d}),"@item[]",s,null,4,{onkeydown:a.d("keydown",!t&&"handleItemKeydown",!1,[i]),onclick:a.d("click",!t&&"handleItemClick",!1,[i])}),e.be("span",null,"4"+l,s,null,0),q(e,A,null,null,null,null,a,"5"+l),e.ee(),k&&b(z,{type:"menu",number:k},e,a,"6"+l),b(F,{},e,a,"7"+l),e.ee()}e.ee()}}e.ee(),e.ee()},{t:p},h);m.Component=j(h,m._);export{ie as C}; diff --git a/docs/assets/index-HhsN8ych.js b/docs/assets/index-Dm3YPrSu.js similarity index 88% rename from docs/assets/index-HhsN8ych.js rename to docs/assets/index-Dm3YPrSu.js index 0318b9d9c..26f44fb18 100644 --- a/docs/assets/index-HhsN8ych.js +++ b/docs/assets/index-Dm3YPrSu.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="fDhayLgl",o=p(t);r.r(t,()=>o);const e={};o._=_(function(a,m,n,f,d,k){l(s,{...a,_name:"attention-filled-16",_size:"16",_type:"icon",_themes:c},m,n,"0")},{t,i:!0},e);o.Component=i(e,o._);export{o as _}; +import{r,b as _,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="fDhayLgl",o=p(t);r.r(t,()=>o);const e={};o._=_(function(a,m,n,f,d,k){l(s,{...a,_name:"attention-filled-16",_size:"16",_type:"icon",_themes:c},m,n,"0")},{t,i:!0},e);o.Component=i(e,o._);export{o as _}; diff --git a/docs/assets/index-BymJntAB.js b/docs/assets/index-Dm8ZZf1k.js similarity index 93% rename from docs/assets/index-BymJntAB.js rename to docs/assets/index-Dm8ZZf1k.js index 12c3861c4..b2978bd97 100644 --- a/docs/assets/index-BymJntAB.js +++ b/docs/assets/index-Dm8ZZf1k.js @@ -1 +1 @@ -import{r as _,b as p,d as s,t as i}from"./registry-B-klnak9.js";import{_ as c}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function u(){return''}const m="ZLdZU$wk",o=i(m);_.r(m,()=>o);const h={};o._=p(function(e,n,a,b,y,f){l(c,{...e,_name:"chevron-left-24",_size:"24",_type:"icon",_themes:u},n,a,"0")},{t:m,i:!0},h);o.Component=s(h,o._);function d(){return''}const r="YaEXkuG",t=i(r);_.r(r,()=>t);const k={};t._=p(function(e,n,a,b,y,f){l(c,{...e,_name:"chevron-right-24",_size:"24",_type:"icon",_themes:d},n,a,"0")},{t:r,i:!0},k);t.Component=s(k,t._);export{o as _,t as a}; +import{r as _,b as p,d as s,t as i}from"./registry-B-klnak9.js";import{_ as c}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function u(){return''}const m="ZLdZU$wk",o=i(m);_.r(m,()=>o);const h={};o._=p(function(e,n,a,b,y,f){l(c,{...e,_name:"chevron-left-24",_size:"24",_type:"icon",_themes:u},n,a,"0")},{t:m,i:!0},h);o.Component=s(h,o._);function d(){return''}const r="YaEXkuG",t=i(r);_.r(r,()=>t);const k={};t._=p(function(e,n,a,b,y,f){l(c,{...e,_name:"chevron-right-24",_size:"24",_type:"icon",_themes:d},n,a,"0")},{t:r,i:!0},k);t.Component=s(k,t._);export{o as _,t as a}; diff --git a/docs/assets/index-BihjYMpj.js b/docs/assets/index-DmgbYHgV.js similarity index 90% rename from docs/assets/index-BihjYMpj.js rename to docs/assets/index-DmgbYHgV.js index 7c1525cd7..7e33880d1 100644 --- a/docs/assets/index-BihjYMpj.js +++ b/docs/assets/index-DmgbYHgV.js @@ -1 +1 @@ -import{r as n,b as _,d as l,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-C98gAawF.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="_Dbuuenl",o=p(e);n.r(e,()=>o);const t={};o._=_(function(a,r,m,d,f,u){s(i,{...a,_name:"flag-24",_size:"24",_type:"icon",_themes:c},r,m,"0")},{t:e,i:!0},t);o.Component=l(t,o._);export{o as _}; +import{r as n,b as _,d as l,t as p}from"./registry-B-klnak9.js";import{_ as i}from"./index-Bd083XES.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";function c(){return''}const e="_Dbuuenl",o=p(e);n.r(e,()=>o);const t={};o._=_(function(a,r,m,d,f,u){s(i,{...a,_name:"flag-24",_size:"24",_type:"icon",_themes:c},r,m,"0")},{t:e,i:!0},t);o.Component=l(t,o._);export{o as _}; diff --git a/docs/assets/index-K3-QVZPL.css b/docs/assets/index-DniO6JmG.css similarity index 76% rename from docs/assets/index-K3-QVZPL.css rename to docs/assets/index-DniO6JmG.css index 744710f01..ff772aac4 100644 --- a/docs/assets/index-K3-QVZPL.css +++ b/docs/assets/index-DniO6JmG.css @@ -1 +1 @@ -:root{--dialog-scrim-color-hide: rgba(17, 24, 32, 0);--dialog-scrim-color-show: rgba(17, 24, 32, .7);--dialog-lightbox-max-width: 616px;--dialog-lightbox-wide-max-width: 896px;--dialog-lightbox-narrow-max-width: 480px}.lightbox-dialog[role=dialog]{background-color:var(--dialog-scrim-color-show);bottom:0;left:0;-webkit-overflow-scrolling:touch;align-items:flex-start;justify-content:center;overflow-y:auto;position:fixed;right:0;top:0;will-change:background-color;z-index:100000}.lightbox-dialog[role=dialog]:not([hidden]){display:flex}.lightbox-dialog__window{background-color:var( --dialog-window-background-color, var(--color-background-primary) );border-radius:var(--lightbox-border-radius, var(--border-radius-150));display:flex;flex:1 0 auto;flex-direction:column;margin:auto auto 16px;max-height:90%;max-width:calc(100% - 32px);min-height:55px;min-width:208px;will-change:opacity,transform}.lightbox-dialog__header{display:flex;flex-shrink:0;margin:var(--spacing-200) var(--spacing-200) 0;position:relative}.lightbox-dialog__header h1,.lightbox-dialog__header h2,.lightbox-dialog__header h3,.lightbox-dialog__header h4,.lightbox-dialog__header h5,.lightbox-dialog__header h6{align-self:center;flex:1 1 auto;margin:0;overflow-wrap:anywhere}.lightbox-dialog__header>:last-child:not(:only-child){-webkit-margin-start:var(--spacing-200);margin-inline-start:var(--spacing-200)}.lightbox-dialog__main{box-sizing:border-box;flex:1 1 auto;min-height:18px;overflow:auto;padding:var(--spacing-200);position:relative}.lightbox-dialog__main>:first-child{margin-top:0}.lightbox-dialog__main>:last-child{margin-bottom:0}.lightbox-dialog__footer{display:flex;flex-direction:column;justify-content:center;padding:var(--spacing-200);position:relative}.lightbox-dialog__footer>:not(:first-child){margin-top:var(--spacing-200)}.lightbox-dialog__image{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:var(--border-radius-100) var(--border-radius-100) 0 0;height:218px;position:absolute;width:100%}.lightbox-dialog--expressive .lightbox-dialog__window{padding-bottom:var(--spacing-100)}.lightbox-dialog--expressive .lightbox-dialog__header>*{margin-top:218px}.lightbox-dialog--expressive .lightbox-dialog__header{margin:var(--spacing-300) var(--spacing-300) 0}.lightbox-dialog--expressive .lightbox-dialog__footer,.lightbox-dialog--expressive .lightbox-dialog__main{padding:var(--spacing-200) var(--spacing-300)}button.icon-btn.lightbox-dialog__close,button.icon-btn.lightbox-dialog__prev{align-self:flex-start;border:0;height:32px;min-width:32px;position:relative;width:32px;z-index:1}button.icon-btn.lightbox-dialog__prev{-webkit-margin-end:var(--spacing-200);margin-inline-end:var(--spacing-200)}.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__close,.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev{align-self:self-start;margin:0}.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev+*{margin-left:-32px}.lightbox-dialog__title:not(:first-child){margin-left:var(--spacing-200)}.lightbox-dialog__title--center{text-align:center}.lightbox-dialog--hide.lightbox-dialog--mask-fade,.lightbox-dialog--show.lightbox-dialog--mask-fade{transition:background-color .16s ease-out}.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show.lightbox-dialog--mask-fade-slow{transition:background-color .32s ease-out}.lightbox-dialog--hide .lightbox-dialog__window--fade,.lightbox-dialog--show .lightbox-dialog__window--fade{transition:opacity .16s ease-out}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate{transition:opacity .16s ease-out,transform .32s ease-out}.lightbox-dialog--hide.lightbox-dialog--hide,.lightbox-dialog--hide.lightbox-dialog--show-init,.lightbox-dialog--show-init.lightbox-dialog--hide,.lightbox-dialog--show-init.lightbox-dialog--show-init{display:flex}.lightbox-dialog--hide.lightbox-dialog--mask-fade,.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show-init.lightbox-dialog--mask-fade,.lightbox-dialog--show-init.lightbox-dialog--mask-fade-slow{background-color:var(--dialog-scrim-color-hide)}.lightbox-dialog--hide .lightbox-dialog__window--fade,.lightbox-dialog--show-init .lightbox-dialog__window--fade{opacity:0}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--show-init .lightbox-dialog__window--animate{opacity:0;transform:translateY(100%)}.lightbox-dialog--hide-init.lightbox-dialog--hide-init,.lightbox-dialog--hide-init.lightbox-dialog--show,.lightbox-dialog--show.lightbox-dialog--hide-init,.lightbox-dialog--show.lightbox-dialog--show{display:flex}.lightbox-dialog--hide-init.lightbox-dialog--mask-fade,.lightbox-dialog--hide-init.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show.lightbox-dialog--mask-fade,.lightbox-dialog--show.lightbox-dialog--mask-fade-slow{background-color:var(--dialog-scrim-color-show)}.lightbox-dialog--hide-init .lightbox-dialog__window--fade,.lightbox-dialog--show .lightbox-dialog__window--fade{opacity:1}.lightbox-dialog--hide-init .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate{opacity:1;transform:translateY(0)}.lightbox-dialog__handle{background-color:initial;border:none;left:0;margin:-11px auto;padding:8px;position:relative;right:0;top:11px;z-index:2}.lightbox-dialog__handle:after{background-color:var(--dialog-handle-color, var(--color-stroke-default));border-radius:3px;content:"";display:block;height:2px;width:24px}.lightbox-dialog__window--expanded{height:95%;max-height:95%}[dir=rtl] button.icon-btn.lightbox-dialog__prev .icon--chevron-left-16{transform:rotate(180deg)}.lightbox-dialog--fullscreen .lightbox-dialog__window,.lightbox-dialog--large .lightbox-dialog__window{align-self:center;height:70%;margin:var(--spacing-100);max-height:95%}@media (max-width: 512px){.lightbox-dialog--large .lightbox-dialog__window{height:95%;max-height:95%;width:100%}.lightbox-dialog--fullscreen .lightbox-dialog__window{border-radius:0;height:100%;margin:0;max-height:100%;max-width:100%;width:100%}.lightbox-dialog--fullscreen .lightbox-dialog__handle,.lightbox-dialog--large .lightbox-dialog__handle{display:none}}@media (min-width: 512px){.lightbox-dialog__window{border-radius:var(--lightbox-border-radius, var(--border-radius-100));margin:auto;max-width:calc(88% - var(--spacing-400))}.lightbox-dialog__handle{display:none}.lightbox-dialog--narrow .lightbox-dialog__window{max-width:var(--dialog-lightbox-narrow-max-width)}.lightbox-dialog__window .lightbox-dialog__footer{flex-direction:row;justify-content:flex-end;padding:0 var(--spacing-200) var(--spacing-200)}.lightbox-dialog__window .lightbox-dialog__footer>:not(:first-child){margin-left:var(--spacing-100);margin-top:0}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--hide-init .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate,.lightbox-dialog--show-init .lightbox-dialog__window--animate{transform:translateY(0)}}@media (min-width: 768px){.lightbox-dialog__window{max-width:var(--dialog-lightbox-max-width)}.lightbox-dialog--wide .lightbox-dialog__window{max-width:var(--dialog-lightbox-wide-max-width)}.lightbox-dialog--wide .lightbox-dialog__image{height:256px}.lightbox-dialog--wide.lightbox-dialog--expressive .lightbox-dialog__header>*{margin-top:256px}} +:root{--dialog-scrim-color-hide: rgba(17, 24, 32, 0);--dialog-scrim-color-show: rgba(17, 24, 32, .7);--dialog-lightbox-max-width: 616px;--dialog-lightbox-wide-max-width: 896px;--dialog-lightbox-narrow-max-width: 480px}.lightbox-dialog[role=dialog]{background-color:var(--dialog-scrim-color-show);bottom:0;left:0;-webkit-overflow-scrolling:touch;align-items:flex-start;justify-content:center;overflow-y:auto;position:fixed;right:0;top:0;will-change:background-color;z-index:100000}.lightbox-dialog[role=dialog]:not([hidden]){display:flex}.lightbox-dialog__window{background-color:var( --dialog-window-background-color, var(--color-background-primary) );border-radius:var(--lightbox-border-radius, var(--border-radius-150));display:flex;flex:1 0 auto;flex-direction:column;margin:auto auto 16px;max-height:90%;max-width:calc(100% - 32px);min-height:55px;min-width:208px;will-change:opacity,transform}.lightbox-dialog__header{display:flex;flex-shrink:0;margin:var(--spacing-200) var(--spacing-200) 0;position:relative}.lightbox-dialog__header h1,.lightbox-dialog__header h2,.lightbox-dialog__header h3,.lightbox-dialog__header h4,.lightbox-dialog__header h5,.lightbox-dialog__header h6{align-self:center;flex:1 1 auto;margin:0;overflow-wrap:anywhere}.lightbox-dialog__header>:last-child:not(:only-child){-webkit-margin-start:var(--spacing-200);margin-inline-start:var(--spacing-200)}.lightbox-dialog__main{box-sizing:border-box;flex:1 1 auto;min-height:18px;overflow:auto;padding:var(--spacing-200);position:relative}.lightbox-dialog__main>:first-child{margin-top:0}.lightbox-dialog__main>:last-child{margin-bottom:0}.lightbox-dialog__footer{display:flex;flex-direction:column;justify-content:center;padding:var(--spacing-200);position:relative}.lightbox-dialog__footer>:not(:first-child){margin-top:var(--spacing-200)}.lightbox-dialog__image{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:var(--border-radius-100) var(--border-radius-100) 0 0;height:218px;position:absolute;width:100%}.lightbox-dialog--expressive .lightbox-dialog__window{padding-bottom:var(--spacing-100)}.lightbox-dialog--expressive .lightbox-dialog__header>*{margin-top:218px}.lightbox-dialog--expressive .lightbox-dialog__header{margin:var(--spacing-300) var(--spacing-300) 0}.lightbox-dialog--expressive .lightbox-dialog__footer,.lightbox-dialog--expressive .lightbox-dialog__main{padding:var(--spacing-200) var(--spacing-300)}button.icon-btn.lightbox-dialog__close,button.icon-btn.lightbox-dialog__prev{align-self:flex-start;border:0;height:32px;min-width:32px;position:relative;width:32px;z-index:1}button.icon-btn.lightbox-dialog__prev{-webkit-margin-end:var(--spacing-200);margin-inline-end:var(--spacing-200)}.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__close,.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev{align-self:self-start;margin:0}.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev+*{margin-left:-32px}.lightbox-dialog__title:not(:first-child){margin-left:var(--spacing-200)}.lightbox-dialog__title--center{text-align:center}.lightbox-dialog--hide.lightbox-dialog--mask-fade,.lightbox-dialog--show.lightbox-dialog--mask-fade{transition:background-color .16s ease-out}.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show.lightbox-dialog--mask-fade-slow{transition:background-color .32s ease-out}.lightbox-dialog--hide .lightbox-dialog__window--fade,.lightbox-dialog--show .lightbox-dialog__window--fade{transition:opacity .16s ease-out}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate{transition:opacity .16s ease-out,transform .32s ease-out}.lightbox-dialog--hide.lightbox-dialog--hide,.lightbox-dialog--hide.lightbox-dialog--show-init,.lightbox-dialog--show-init.lightbox-dialog--hide,.lightbox-dialog--show-init.lightbox-dialog--show-init{display:flex}.lightbox-dialog--hide.lightbox-dialog--mask-fade,.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show-init.lightbox-dialog--mask-fade,.lightbox-dialog--show-init.lightbox-dialog--mask-fade-slow{background-color:var(--dialog-scrim-color-hide)}.lightbox-dialog--hide .lightbox-dialog__window--fade,.lightbox-dialog--show-init .lightbox-dialog__window--fade{opacity:0}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--show-init .lightbox-dialog__window--animate{opacity:0;transform:translateY(100%)}.lightbox-dialog--hide-init.lightbox-dialog--hide-init,.lightbox-dialog--hide-init.lightbox-dialog--show,.lightbox-dialog--show.lightbox-dialog--hide-init,.lightbox-dialog--show.lightbox-dialog--show{display:flex}.lightbox-dialog--hide-init.lightbox-dialog--mask-fade,.lightbox-dialog--hide-init.lightbox-dialog--mask-fade-slow,.lightbox-dialog--show.lightbox-dialog--mask-fade,.lightbox-dialog--show.lightbox-dialog--mask-fade-slow{background-color:var(--dialog-scrim-color-show)}.lightbox-dialog--hide-init .lightbox-dialog__window--fade,.lightbox-dialog--show .lightbox-dialog__window--fade{opacity:1}.lightbox-dialog--hide-init .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate{opacity:1;transform:translateY(0)}.lightbox-dialog__handle{background-color:initial;border:none;left:0;margin:-11px auto;padding:8px;position:relative;right:0;top:11px;z-index:2}.lightbox-dialog__handle:after{background-color:var(--dialog-handle-color, var(--color-stroke-default));border-radius:3px;content:"";display:block;height:2px;width:24px}.lightbox-dialog__window--expanded{height:95%;max-height:95%}[dir=rtl] button.icon-btn.lightbox-dialog__prev .icon--16{transform:rotate(180deg)}.lightbox-dialog--fullscreen .lightbox-dialog__window,.lightbox-dialog--large .lightbox-dialog__window{align-self:center;height:70%;margin:var(--spacing-100);max-height:95%}@media (max-width: 512px){.lightbox-dialog--large .lightbox-dialog__window{height:95%;max-height:95%;width:100%}.lightbox-dialog--fullscreen .lightbox-dialog__window{border-radius:0;height:100%;margin:0;max-height:100%;max-width:100%;width:100%}.lightbox-dialog--fullscreen .lightbox-dialog__handle,.lightbox-dialog--large .lightbox-dialog__handle{display:none}}@media (min-width: 512px){.lightbox-dialog__window{border-radius:var(--lightbox-border-radius, var(--border-radius-100));margin:auto;max-width:calc(88% - var(--spacing-400))}.lightbox-dialog__handle{display:none}.lightbox-dialog--narrow .lightbox-dialog__window{max-width:var(--dialog-lightbox-narrow-max-width)}.lightbox-dialog__window .lightbox-dialog__footer{flex-direction:row;justify-content:flex-end;padding:0 var(--spacing-200) var(--spacing-200)}.lightbox-dialog__window .lightbox-dialog__footer>:not(:first-child){margin-left:var(--spacing-100);margin-top:0}.lightbox-dialog--hide .lightbox-dialog__window--animate,.lightbox-dialog--hide-init .lightbox-dialog__window--animate,.lightbox-dialog--show .lightbox-dialog__window--animate,.lightbox-dialog--show-init .lightbox-dialog__window--animate{transform:translateY(0)}}@media (min-width: 768px){.lightbox-dialog__window{max-width:var(--dialog-lightbox-max-width)}.lightbox-dialog--wide .lightbox-dialog__window{max-width:var(--dialog-lightbox-wide-max-width)}.lightbox-dialog--wide .lightbox-dialog__image{height:256px}.lightbox-dialog--wide.lightbox-dialog--expressive .lightbox-dialog__header>*{margin-top:256px}} diff --git a/docs/assets/index-DiTsWp84.js b/docs/assets/index-DpkNtl2T.js similarity index 99% rename from docs/assets/index-DiTsWp84.js rename to docs/assets/index-DpkNtl2T.js index 7c286248f..16b03d706 100644 --- a/docs/assets/index-DiTsWp84.js +++ b/docs/assets/index-DpkNtl2T.js @@ -1 +1 @@ -import{r as At,b as Tt,f as Y,p as _t,h as jt,d as kt,t as St}from"./registry-B-klnak9.js";import{_ as tt}from"./dynamic-tag-DQCvkDdb.js";import{_ as Xt}from"./index-Cm_Gb0Br.js";import{_ as Yt}from"./render-tag-BBOJ9dEX.js";import{s as qt}from"./index-D7B88Psz.js";import{s as Jt}from"./index--35j0Bzx.js";const Ut={tourtip:"region",tooltip:"tooltip",infotip:"tooltip"};class Gt extends Marko.Component{handleCloseButton(e){this.emit("overlay-close",{originalEvent:e})}}const ht="DiXTGzNh",ft=St(ht);function Kt(){}At.r(ht,()=>Gt);const Lt={};ft._=Tt(function(t,e,o,n,i,s){t.toJSON=Kt;const{id:r,type:l,heading:c,content:a,footer:d,a11yCloseText:f}=t;if(e.be("span",{id:r,class:Y(`${l}__overlay`),role:Ut[l],"aria-labelledby":l==="tourtip"&&c&&n.elId("tourtip-label")},"0",n,null,0),e.e("span",{class:Y(`${l}__pointer`)},"1",n,0,1),e.be("span",{class:Y(`${l}__mask`)},"2",n,null,1),e.be("span",{class:Y(`${l}__cell`)},"3",n,null,1),e.be("span",{class:Y(`${l}__content`)},"4",n,null,1),c){const{as:p,class:u,renderBody:h,id:m,...g}=c;tt(e,p||"span",()=>({..._t(g),class:[`${l}__heading`,u],id:o.elId("tourtip-label")}),x=>{tt(x,h,null,null,null,null,o,"6")},null,null,o,"5")}if(a){const p=Object.keys(a).length>1&&"span";p?e.be(p,jt(_t(a)),"7",n,null,4):e.bf("f_7",n),tt(e,a.renderBody,null,null,null,null,o,"8"),p?e.ee():e.ef()}e.ee(),l!=="tooltip"&&(e.be("button",{"aria-label":f,class:Y(["icon-btn","icon-btn--transparent",`${l}__close`]),type:"button"},"9",n,null,0,{onclick:o.d("click","handleCloseButton",!1)}),Yt(Xt,{},e,o,"10"),e.ee()),d&&(e.be("span",{class:Y([`${l}__footer`,d.class])},"11",n,null,1),tt(e,d,null,null,null,null,o,"12"),e.ee()),e.ee(),e.ee(),e.ee()},{t:ht,s:!0},Lt);ft.Component=kt(Lt,ft._);const H=Math.min,P=Math.max,st=Math.round,it=Math.floor,z=t=>({x:t,y:t}),Qt={left:"right",right:"left",bottom:"top",top:"bottom"},Zt={start:"end",end:"start"};function ut(t,e,o){return P(t,H(e,o))}function Q(t,e){return typeof t=="function"?t(e):t}function V(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function $t(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}function q(t){return["top","bottom"].includes(V(t))?"y":"x"}function gt(t){return $t(q(t))}function te(t,e,o){o===void 0&&(o=!1);const n=nt(t),i=gt(t),s=mt(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=rt(r)),[r,rt(r)]}function ee(t){const e=rt(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>Zt[e])}function ne(t,e,o){const n=["left","right"],i=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?s:r;default:return[]}}function oe(t,e,o,n){const i=nt(t);let s=ne(V(t),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(dt)))),s}function rt(t){return t.replace(/left|right|bottom|top/g,e=>Qt[e])}function ie(t){return{top:0,right:0,bottom:0,left:0,...t}}function xt(t){return typeof t!="number"?ie(t):{top:t,right:t,bottom:t,left:t}}function G(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 Rt(t,e,o){let{reference:n,floating:i}=t;const s=q(e),r=gt(e),l=mt(r),c=V(e),a=s==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,p=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:d,y:n.y-i.height};break;case"bottom":u={x:d,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-i.width,y:f};break;default:u={x:n.x,y:n.y}}switch(nt(e)){case"start":u[r]-=p*(o&&a?-1:1);break;case"end":u[r]+=p*(o&&a?-1:1);break}return u}const se=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let a=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:f}=Rt(a,n,c),p=n,u={},h=0;for(let m=0;m({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=Q(t,e)||{};if(a==null)return{};const f=xt(d),p={x:o,y:n},u=gt(i),h=mt(u),m=await r.getDimensions(a),g=u==="y",x=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",v=s.reference[h]+s.reference[u]-p[u]-s.floating[h],b=p[u]-s.reference[u],C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let k=C?C[w]:0;(!k||!await(r.isElement==null?void 0:r.isElement(C)))&&(k=l.floating[w]||s.floating[h]);const X=v/2-b/2,M=k/2-m[h]/2-1,_=H(f[x],M),D=H(f[y],M),S=_,N=k-m[h]-D,R=k/2-m[h]/2+X,L=ut(S,R,N),O=!c.arrow&&nt(i)!=null&&R!==L&&s.reference[h]/2-(RR<=0)){var D,S;const R=(((D=s.flip)==null?void 0:D.index)||0)+1,L=k[R];if(L)return{data:{index:R,overflows:_},reset:{placement:L}};let O=(S=_.filter(A=>A.overflows[0]<=0).sort((A,$)=>A.overflows[1]-$.overflows[1])[0])==null?void 0:S.placement;if(!O)switch(u){case"bestFit":{var N;const A=(N=_.filter($=>{if(C){const I=q($.placement);return I===y||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,zt)=>I+zt,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:N[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(i!==O)return{reset:{placement:O}}}return{}}}};function Bt(t){const e=H(...t.map(s=>s.left)),o=H(...t.map(s=>s.top)),n=P(...t.map(s=>s.right)),i=P(...t.map(s=>s.bottom));return{x:e,y:o,width:n-e,height:i-o}}function ce(t){const e=t.slice().sort((i,s)=>i.y-s.y),o=[];let n=null;for(let i=0;in.height/2?o.push([s]):o[o.length-1].push(s),n=s}return o.map(i=>G(Bt(i)))}const ae=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:n,rects:i,platform:s,strategy:r}=e,{padding:l=2,x:c,y:a}=Q(t,e),d=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),f=ce(d),p=G(Bt(d)),u=xt(l);function h(){if(f.length===2&&f[0].left>f[1].right&&c!=null&&a!=null)return f.find(g=>c>g.left-u.left&&cg.top-u.top&&a=2){if(q(o)==="y"){const _=f[0],D=f[f.length-1],S=V(o)==="top",N=_.top,R=D.bottom,L=S?_.left:D.left,O=S?_.right:D.right,A=O-L,$=R-N;return{top:N,bottom:R,left:L,right:O,width:A,height:$,x:L,y:N}}const g=V(o)==="left",x=P(...f.map(_=>_.right)),y=H(...f.map(_=>_.left)),w=f.filter(_=>g?_.left===y:_.right===x),v=w[0].top,b=w[w.length-1].bottom,C=y,k=x,X=k-C,M=b-v;return{top:v,bottom:b,left:C,right:k,width:X,height:M,x:C,y:v}}return p}const m=await s.getElementRects({reference:{getBoundingClientRect:h},floating:n.floating,strategy:r});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};async function fe(t,e){const{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=V(o),l=nt(o),c=q(o)==="y",a=["left","top"].includes(r)?-1:1,d=s&&c?-1:1,f=Q(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(u=l==="end"?h*-1:h),c?{x:u*d,y:p*a}:{x:p*a,y:u*d}}const ue=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:s,placement:r,middlewareData:l}=e,c=await fe(e,t);return r===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},de=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x,y}=g;return{x,y}}},...c}=Q(t,e),a={x:o,y:n},d=await Pt(e,c),f=q(V(i)),p=$t(f);let u=a[p],h=a[f];if(s){const g=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=u+d[g],w=u-d[x];u=ut(y,u,w)}if(r){const g=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=h+d[g],w=h-d[x];h=ut(y,h,w)}const m=l.fn({...e,[p]:u,[f]:h});return{...m,data:{x:m.x-o,y:m.y-n}}}}};function Z(t){return Ft(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function W(t){var e;return(e=(Ft(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ft(t){return t instanceof Node||t instanceof E(t).Node}function B(t){return t instanceof Element||t instanceof E(t).Element}function F(t){return t instanceof HTMLElement||t instanceof E(t).HTMLElement}function Ct(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof E(t).ShadowRoot}function ot(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function pe(t){return["table","td","th"].includes(Z(t))}function lt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function yt(t){const e=wt(),o=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 he(t){let e=j(t);for(;F(e)&&!K(e);){if(lt(e))return null;if(yt(e))return e;e=j(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function K(t){return["html","body","#document"].includes(Z(t))}function T(t){return E(t).getComputedStyle(t)}function ct(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(t){if(Z(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ct(t)&&t.host||W(t);return Ct(e)?e.host:e}function Mt(t){const e=j(t);return K(e)?t.ownerDocument?t.ownerDocument.body:t.body:F(e)&&ot(e)?e:Mt(e)}function et(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Mt(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),r=E(i);return s?e.concat(r,r.visualViewport||[],ot(i)?i:[],r.frameElement&&o?et(r.frameElement):[]):e.concat(i,et(i,[],o))}function Dt(t){const e=T(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=F(t),s=i?t.offsetWidth:o,r=i?t.offsetHeight:n,l=st(o)!==s||st(n)!==r;return l&&(o=s,n=r),{width:o,height:n,$:l}}function bt(t){return B(t)?t:t.contextElement}function U(t){const e=bt(t);if(!F(e))return z(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:s}=Dt(e);let r=(s?st(o.width):o.width)/n,l=(s?st(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const me=z(0);function Nt(t){const e=E(t);return!wt()||!e.visualViewport?me:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ge(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==E(t)?!1:e}function J(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),s=bt(t);let r=z(1);e&&(n?B(n)&&(r=U(n)):r=U(t));const l=ge(s,o,n)?Nt(s):z(0);let c=(i.left+l.x)/r.x,a=(i.top+l.y)/r.y,d=i.width/r.x,f=i.height/r.y;if(s){const p=E(s),u=n&&B(n)?E(n):n;let h=p,m=h.frameElement;for(;m&&n&&u!==h;){const g=U(m),x=m.getBoundingClientRect(),y=T(m),w=x.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,v=x.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,a*=g.y,d*=g.x,f*=g.y,c+=w,a+=v,h=E(m),m=h.frameElement}}return G({width:d,height:f,x:c,y:a})}function xe(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const s=i==="fixed",r=W(n),l=e?lt(e.floating):!1;if(n===r||l&&s)return o;let c={scrollLeft:0,scrollTop:0},a=z(1);const d=z(0),f=F(n);if((f||!f&&!s)&&((Z(n)!=="body"||ot(r))&&(c=ct(n)),F(n))){const p=J(n);a=U(n),d.x=p.x+n.clientLeft,d.y=p.y+n.clientTop}return{width:o.width*a.x,height:o.height*a.y,x:o.x*a.x-c.scrollLeft*a.x+d.x,y:o.y*a.y-c.scrollTop*a.y+d.y}}function ye(t){return Array.from(t.getClientRects())}function Ht(t){return J(W(t)).left+ct(t).scrollLeft}function we(t){const e=W(t),o=ct(t),n=t.ownerDocument.body,i=P(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=P(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Ht(t);const l=-o.scrollTop;return T(n).direction==="rtl"&&(r+=P(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:l}}function be(t,e){const o=E(t),n=W(t),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,l=0,c=0;if(i){s=i.width,r=i.height;const a=wt();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:l,y:c}}function ve(t,e){const o=J(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=F(t)?U(t):z(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,a=n*s.y;return{width:r,height:l,x:c,y:a}}function Et(t,e,o){let n;if(e==="viewport")n=be(t,o);else if(e==="document")n=we(W(t));else if(B(e))n=ve(e,o);else{const i=Nt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return G(n)}function Vt(t,e){const o=j(t);return o===e||!B(o)||K(o)?!1:T(o).position==="fixed"||Vt(o,e)}function _e(t,e){const o=e.get(t);if(o)return o;let n=et(t,[],!1).filter(l=>B(l)&&Z(l)!=="body"),i=null;const s=T(t).position==="fixed";let r=s?j(t):t;for(;B(r)&&!K(r);){const l=T(r),c=yt(r);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ot(r)&&!c&&Vt(t,r))?n=n.filter(d=>d!==r):i=l,r=j(r)}return e.set(t,n),n}function Re(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?lt(e)?[]:_e(e,this._c):[].concat(o),n],l=r[0],c=r.reduce((a,d)=>{const f=Et(e,d,i);return a.top=P(f.top,a.top),a.right=H(f.right,a.right),a.bottom=H(f.bottom,a.bottom),a.left=P(f.left,a.left),a},Et(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ce(t){const{width:e,height:o}=Dt(t);return{width:e,height:o}}function Ee(t,e,o){const n=F(e),i=W(e),s=o==="fixed",r=J(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=z(0);if(n||!n&&!s)if((Z(e)!=="body"||ot(i))&&(l=ct(e)),n){const f=J(e,!0,s,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else i&&(c.x=Ht(i));const a=r.left+l.scrollLeft-c.x,d=r.top+l.scrollTop-c.y;return{x:a,y:d,width:r.width,height:r.height}}function at(t){return T(t).position==="static"}function Ot(t,e){return!F(t)||T(t).position==="fixed"?null:e?e(t):t.offsetParent}function Wt(t,e){const o=E(t);if(lt(t))return o;if(!F(t)){let i=j(t);for(;i&&!K(i);){if(B(i)&&!at(i))return i;i=j(i)}return o}let n=Ot(t,e);for(;n&&pe(n)&&at(n);)n=Ot(n,e);return n&&K(n)&&at(n)&&!yt(n)?o:n||he(t)||o}const Oe=async function(t){const e=this.getOffsetParent||Wt,o=this.getDimensions,n=await o(t.floating);return{reference:Ee(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ae(t){return T(t).direction==="rtl"}const Te={convertOffsetParentRelativeRectToViewportRelativeRect:xe,getDocumentElement:W,getClippingRect:Re,getOffsetParent:Wt,getElementRects:Oe,getClientRects:ye,getDimensions:Ce,getScale:U,isElement:B,isRTL:Ae};function ke(t,e){let o=null,n;const i=W(t);function s(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:a,top:d,width:f,height:p}=t.getBoundingClientRect();if(l||e(),!f||!p)return;const u=it(d),h=it(i.clientWidth-(a+f)),m=it(i.clientHeight-(d+p)),g=it(a),y={rootMargin:-u+"px "+-h+"px "+-m+"px "+-g+"px",threshold:P(0,H(1,c))||1};let w=!0;function v(b){const C=b[0].intersectionRatio;if(C!==c){if(!w)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(v,y)}o.observe(t)}return r(!0),s}function Se(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=bt(t),d=i||s?[...a?et(a):[],...et(e)]:[];d.forEach(x=>{i&&x.addEventListener("scroll",o,{passive:!0}),s&&x.addEventListener("resize",o)});const f=a&&l?ke(a,o):null;let p=-1,u=null;r&&(u=new ResizeObserver(x=>{let[y]=x;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),a&&!c&&u.observe(a),u.observe(e));let h,m=c?J(t):null;c&&g();function g(){const x=J(t);m&&(x.x!==m.x||x.y!==m.y||x.width!==m.width||x.height!==m.height)&&o(),m=x,h=requestAnimationFrame(g)}return o(),()=>{var x;d.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),f==null||f(),(x=u)==null||x.disconnect(),u=null,c&&cancelAnimationFrame(h)}}const Le=ue,$e=de,Pe=le,Be=re,Fe=ae,Me=(t,e,o)=>{const n=new Map,i={platform:Te,...o},s={...i.platform,_c:n};return se(t,e,{...i,platform:s})},De={left:"right","left-top":"right-start","left-bottom":"right-end",right:"left","right-top":"left-start","right-bottom":"left-end",top:"bottom","top-left":"bottom-start","top-right":"bottom-end","bottom-right":"top-end","bottom-left":"top-start",bottom:"top"};class Ne extends Marko.Component{handleExpand(){this.emit("base-expand"),this.hostEl&&this.overlayEl&&this.updateTip()}handleCollapse(){this.emit("base-collapse")}onMount(){this._setupBaseTooltip()}onUpdate(){this._setupBaseTooltip()}onInput(e){e.open===!0?this.action="expand":e.open===!1&&(this.action="collapse")}onRender(){typeof window<"u"&&this._cleanupMakeup()}collapse(){this._expander.expanded=!1}expand(){this._expander.expanded=!0}isExpanded(){return this._expander.expanded}onDestroy(){this._cleanupMakeup()}_setupExpander(e,o){const{input:n}=this,{type:i}=n,s=this.getEl("container"),r=i==="tooltip",l=i==="infotip",c=i==="tourtip",a=s==null?void 0:s.getElementsByClassName(i)[0];e&&!c&&(this._expander=new qt(a,{hostSelector:o,contentSelector:`.${i}__overlay`,expandedClass:`${i}--expanded`,focusManagement:null,expandOnFocus:r,expandOnHover:r&&!n.noHover,expandOnClick:l,autoCollapse:r}),r&&!e.hasAttribute("aria-describedby")&&e.setAttribute("aria-describedby",n.overlayId)),this.hostEl&&this.overlayEl&&(this.updateTip(),this.cleanup=Se(this.hostEl,this.overlayEl,this.update.bind(this)))}updateTip(){Me(this.hostEl,this.overlayEl,{placement:this.input.placement||De[this.input.pointer??"bottom"],middleware:[Le(this.input.offset||6),!this.input.notInline&&Fe(),!this.input.noFlip&&Pe(),!this.input.noShift&&$e(),Be({element:this.arrowEl,padding:20})]}).then(({x:e,y:o,placement:n,middlewareData:i})=>{var c,a,d,f;Object.assign(((c=this.overlayEl)==null?void 0:c.style)||{},{left:`${e}px`,top:`${o}px`});const s=(a=i.arrow)==null?void 0:a.x,r=(d=i.arrow)==null?void 0:d.y,l={top:"bottom",strategy:"fixed",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];Object.assign(((f=this.arrowEl)==null?void 0:f.style)||{},{left:s!=null?`${s}px`:"",top:r!=null?`${r}px`:"",right:"",bottom:"",[l||""]:"-4px"})})}_setupBaseTooltip(){var i,s,r;const{type:e}=this.input,n=`.${`${e}__host`}`;this.hostEl=((i=this.el)==null?void 0:i.querySelector(n))||null,this.overlayEl=((s=this.el)==null?void 0:s.querySelector(`.${e}__overlay`))||null,this.arrowEl=((r=this.el)==null?void 0:r.querySelector(`.${e}__pointer`))||null,this.input.type!=="dialog--mini"&&this._setupMakeup(),this.action&&this._expander&&(this.action==="expand"?this.expand():this.action==="collapse"&&this.collapse(),this.action=null)}_setupMakeup(){const{input:e}=this,{type:o}=e,n=this.getEl("container"),i=`${o}__host`,s=`.${i}`;let r=n==null?void 0:n.querySelector(s);r?this._setupExpander(r,s):(this.cancelFocus&&this.cancelFocus(),this.cancelFocus=Jt(n,!1,l=>{const c=l[0];c&&(r=c,c.classList.contains(i)||c.classList.add(i)),this._setupExpander(r,s)}))}_cleanupMakeup(){this.cancelFocus&&this.cancelFocus(),this._expander&&(this._expander.destroy(),this._expander=void 0),this.cleanup&&(this.cleanup(),this.cleanup=void 0)}}const vt="Ovr$fQ_i",pt=St(vt);function He(){return{type:this.type,noHover:this.noHover,overlayId:this.overlayId}}At.r(vt,()=>Ne);const It={};pt._=Tt(function(t,e,o,n,i,s){t.toJSON=He;const{overlayStyle:r,renderBody:l}=t;e.be("span",{"overlay-style":r},"@container",n,null,0,{"onexpander-expand":o.d("expander-expand","handleExpand",!1),"onexpander-collapse":o.d("expander-collapse","handleCollapse",!1)}),tt(e,l,null,null,null,null,o,"0"),e.ee()},{t:vt,s:!0},It);pt.Component=kt(It,pt._);export{pt as _,ft as a}; +import{r as At,b as Tt,f as Y,p as _t,h as jt,d as kt,t as St}from"./registry-B-klnak9.js";import{_ as tt}from"./dynamic-tag-DQCvkDdb.js";import{_ as Xt}from"./index-A0egsrj7.js";import{_ as Yt}from"./render-tag-BBOJ9dEX.js";import{s as qt}from"./index-D7B88Psz.js";import{s as Jt}from"./index--35j0Bzx.js";const Ut={tourtip:"region",tooltip:"tooltip",infotip:"tooltip"};class Gt extends Marko.Component{handleCloseButton(e){this.emit("overlay-close",{originalEvent:e})}}const ht="DiXTGzNh",ft=St(ht);function Kt(){}At.r(ht,()=>Gt);const Lt={};ft._=Tt(function(t,e,o,n,i,s){t.toJSON=Kt;const{id:r,type:l,heading:c,content:a,footer:d,a11yCloseText:f}=t;if(e.be("span",{id:r,class:Y(`${l}__overlay`),role:Ut[l],"aria-labelledby":l==="tourtip"&&c&&n.elId("tourtip-label")},"0",n,null,0),e.e("span",{class:Y(`${l}__pointer`)},"1",n,0,1),e.be("span",{class:Y(`${l}__mask`)},"2",n,null,1),e.be("span",{class:Y(`${l}__cell`)},"3",n,null,1),e.be("span",{class:Y(`${l}__content`)},"4",n,null,1),c){const{as:p,class:u,renderBody:h,id:m,...g}=c;tt(e,p||"span",()=>({..._t(g),class:[`${l}__heading`,u],id:o.elId("tourtip-label")}),x=>{tt(x,h,null,null,null,null,o,"6")},null,null,o,"5")}if(a){const p=Object.keys(a).length>1&&"span";p?e.be(p,jt(_t(a)),"7",n,null,4):e.bf("f_7",n),tt(e,a.renderBody,null,null,null,null,o,"8"),p?e.ee():e.ef()}e.ee(),l!=="tooltip"&&(e.be("button",{"aria-label":f,class:Y(["icon-btn","icon-btn--transparent",`${l}__close`]),type:"button"},"9",n,null,0,{onclick:o.d("click","handleCloseButton",!1)}),Yt(Xt,{},e,o,"10"),e.ee()),d&&(e.be("span",{class:Y([`${l}__footer`,d.class])},"11",n,null,1),tt(e,d,null,null,null,null,o,"12"),e.ee()),e.ee(),e.ee(),e.ee()},{t:ht,s:!0},Lt);ft.Component=kt(Lt,ft._);const H=Math.min,P=Math.max,st=Math.round,it=Math.floor,z=t=>({x:t,y:t}),Qt={left:"right",right:"left",bottom:"top",top:"bottom"},Zt={start:"end",end:"start"};function ut(t,e,o){return P(t,H(e,o))}function Q(t,e){return typeof t=="function"?t(e):t}function V(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function $t(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}function q(t){return["top","bottom"].includes(V(t))?"y":"x"}function gt(t){return $t(q(t))}function te(t,e,o){o===void 0&&(o=!1);const n=nt(t),i=gt(t),s=mt(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=rt(r)),[r,rt(r)]}function ee(t){const e=rt(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>Zt[e])}function ne(t,e,o){const n=["left","right"],i=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?s:r;default:return[]}}function oe(t,e,o,n){const i=nt(t);let s=ne(V(t),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(dt)))),s}function rt(t){return t.replace(/left|right|bottom|top/g,e=>Qt[e])}function ie(t){return{top:0,right:0,bottom:0,left:0,...t}}function xt(t){return typeof t!="number"?ie(t):{top:t,right:t,bottom:t,left:t}}function G(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 Rt(t,e,o){let{reference:n,floating:i}=t;const s=q(e),r=gt(e),l=mt(r),c=V(e),a=s==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,p=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:d,y:n.y-i.height};break;case"bottom":u={x:d,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-i.width,y:f};break;default:u={x:n.x,y:n.y}}switch(nt(e)){case"start":u[r]-=p*(o&&a?-1:1);break;case"end":u[r]+=p*(o&&a?-1:1);break}return u}const se=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let a=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:f}=Rt(a,n,c),p=n,u={},h=0;for(let m=0;m({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=Q(t,e)||{};if(a==null)return{};const f=xt(d),p={x:o,y:n},u=gt(i),h=mt(u),m=await r.getDimensions(a),g=u==="y",x=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",v=s.reference[h]+s.reference[u]-p[u]-s.floating[h],b=p[u]-s.reference[u],C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let k=C?C[w]:0;(!k||!await(r.isElement==null?void 0:r.isElement(C)))&&(k=l.floating[w]||s.floating[h]);const X=v/2-b/2,M=k/2-m[h]/2-1,_=H(f[x],M),D=H(f[y],M),S=_,N=k-m[h]-D,R=k/2-m[h]/2+X,L=ut(S,R,N),O=!c.arrow&&nt(i)!=null&&R!==L&&s.reference[h]/2-(RR<=0)){var D,S;const R=(((D=s.flip)==null?void 0:D.index)||0)+1,L=k[R];if(L)return{data:{index:R,overflows:_},reset:{placement:L}};let O=(S=_.filter(A=>A.overflows[0]<=0).sort((A,$)=>A.overflows[1]-$.overflows[1])[0])==null?void 0:S.placement;if(!O)switch(u){case"bestFit":{var N;const A=(N=_.filter($=>{if(C){const I=q($.placement);return I===y||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,zt)=>I+zt,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:N[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(i!==O)return{reset:{placement:O}}}return{}}}};function Bt(t){const e=H(...t.map(s=>s.left)),o=H(...t.map(s=>s.top)),n=P(...t.map(s=>s.right)),i=P(...t.map(s=>s.bottom));return{x:e,y:o,width:n-e,height:i-o}}function ce(t){const e=t.slice().sort((i,s)=>i.y-s.y),o=[];let n=null;for(let i=0;in.height/2?o.push([s]):o[o.length-1].push(s),n=s}return o.map(i=>G(Bt(i)))}const ae=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:n,rects:i,platform:s,strategy:r}=e,{padding:l=2,x:c,y:a}=Q(t,e),d=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),f=ce(d),p=G(Bt(d)),u=xt(l);function h(){if(f.length===2&&f[0].left>f[1].right&&c!=null&&a!=null)return f.find(g=>c>g.left-u.left&&cg.top-u.top&&a=2){if(q(o)==="y"){const _=f[0],D=f[f.length-1],S=V(o)==="top",N=_.top,R=D.bottom,L=S?_.left:D.left,O=S?_.right:D.right,A=O-L,$=R-N;return{top:N,bottom:R,left:L,right:O,width:A,height:$,x:L,y:N}}const g=V(o)==="left",x=P(...f.map(_=>_.right)),y=H(...f.map(_=>_.left)),w=f.filter(_=>g?_.left===y:_.right===x),v=w[0].top,b=w[w.length-1].bottom,C=y,k=x,X=k-C,M=b-v;return{top:v,bottom:b,left:C,right:k,width:X,height:M,x:C,y:v}}return p}const m=await s.getElementRects({reference:{getBoundingClientRect:h},floating:n.floating,strategy:r});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};async function fe(t,e){const{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=V(o),l=nt(o),c=q(o)==="y",a=["left","top"].includes(r)?-1:1,d=s&&c?-1:1,f=Q(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(u=l==="end"?h*-1:h),c?{x:u*d,y:p*a}:{x:p*a,y:u*d}}const ue=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:s,placement:r,middlewareData:l}=e,c=await fe(e,t);return r===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},de=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x,y}=g;return{x,y}}},...c}=Q(t,e),a={x:o,y:n},d=await Pt(e,c),f=q(V(i)),p=$t(f);let u=a[p],h=a[f];if(s){const g=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=u+d[g],w=u-d[x];u=ut(y,u,w)}if(r){const g=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=h+d[g],w=h-d[x];h=ut(y,h,w)}const m=l.fn({...e,[p]:u,[f]:h});return{...m,data:{x:m.x-o,y:m.y-n}}}}};function Z(t){return Ft(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function W(t){var e;return(e=(Ft(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ft(t){return t instanceof Node||t instanceof E(t).Node}function B(t){return t instanceof Element||t instanceof E(t).Element}function F(t){return t instanceof HTMLElement||t instanceof E(t).HTMLElement}function Ct(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof E(t).ShadowRoot}function ot(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function pe(t){return["table","td","th"].includes(Z(t))}function lt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function yt(t){const e=wt(),o=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 he(t){let e=j(t);for(;F(e)&&!K(e);){if(lt(e))return null;if(yt(e))return e;e=j(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function K(t){return["html","body","#document"].includes(Z(t))}function T(t){return E(t).getComputedStyle(t)}function ct(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(t){if(Z(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ct(t)&&t.host||W(t);return Ct(e)?e.host:e}function Mt(t){const e=j(t);return K(e)?t.ownerDocument?t.ownerDocument.body:t.body:F(e)&&ot(e)?e:Mt(e)}function et(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Mt(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),r=E(i);return s?e.concat(r,r.visualViewport||[],ot(i)?i:[],r.frameElement&&o?et(r.frameElement):[]):e.concat(i,et(i,[],o))}function Dt(t){const e=T(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=F(t),s=i?t.offsetWidth:o,r=i?t.offsetHeight:n,l=st(o)!==s||st(n)!==r;return l&&(o=s,n=r),{width:o,height:n,$:l}}function bt(t){return B(t)?t:t.contextElement}function U(t){const e=bt(t);if(!F(e))return z(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:s}=Dt(e);let r=(s?st(o.width):o.width)/n,l=(s?st(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const me=z(0);function Nt(t){const e=E(t);return!wt()||!e.visualViewport?me:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ge(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==E(t)?!1:e}function J(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),s=bt(t);let r=z(1);e&&(n?B(n)&&(r=U(n)):r=U(t));const l=ge(s,o,n)?Nt(s):z(0);let c=(i.left+l.x)/r.x,a=(i.top+l.y)/r.y,d=i.width/r.x,f=i.height/r.y;if(s){const p=E(s),u=n&&B(n)?E(n):n;let h=p,m=h.frameElement;for(;m&&n&&u!==h;){const g=U(m),x=m.getBoundingClientRect(),y=T(m),w=x.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,v=x.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,a*=g.y,d*=g.x,f*=g.y,c+=w,a+=v,h=E(m),m=h.frameElement}}return G({width:d,height:f,x:c,y:a})}function xe(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const s=i==="fixed",r=W(n),l=e?lt(e.floating):!1;if(n===r||l&&s)return o;let c={scrollLeft:0,scrollTop:0},a=z(1);const d=z(0),f=F(n);if((f||!f&&!s)&&((Z(n)!=="body"||ot(r))&&(c=ct(n)),F(n))){const p=J(n);a=U(n),d.x=p.x+n.clientLeft,d.y=p.y+n.clientTop}return{width:o.width*a.x,height:o.height*a.y,x:o.x*a.x-c.scrollLeft*a.x+d.x,y:o.y*a.y-c.scrollTop*a.y+d.y}}function ye(t){return Array.from(t.getClientRects())}function Ht(t){return J(W(t)).left+ct(t).scrollLeft}function we(t){const e=W(t),o=ct(t),n=t.ownerDocument.body,i=P(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=P(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Ht(t);const l=-o.scrollTop;return T(n).direction==="rtl"&&(r+=P(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:l}}function be(t,e){const o=E(t),n=W(t),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,l=0,c=0;if(i){s=i.width,r=i.height;const a=wt();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:l,y:c}}function ve(t,e){const o=J(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=F(t)?U(t):z(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,a=n*s.y;return{width:r,height:l,x:c,y:a}}function Et(t,e,o){let n;if(e==="viewport")n=be(t,o);else if(e==="document")n=we(W(t));else if(B(e))n=ve(e,o);else{const i=Nt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return G(n)}function Vt(t,e){const o=j(t);return o===e||!B(o)||K(o)?!1:T(o).position==="fixed"||Vt(o,e)}function _e(t,e){const o=e.get(t);if(o)return o;let n=et(t,[],!1).filter(l=>B(l)&&Z(l)!=="body"),i=null;const s=T(t).position==="fixed";let r=s?j(t):t;for(;B(r)&&!K(r);){const l=T(r),c=yt(r);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ot(r)&&!c&&Vt(t,r))?n=n.filter(d=>d!==r):i=l,r=j(r)}return e.set(t,n),n}function Re(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?lt(e)?[]:_e(e,this._c):[].concat(o),n],l=r[0],c=r.reduce((a,d)=>{const f=Et(e,d,i);return a.top=P(f.top,a.top),a.right=H(f.right,a.right),a.bottom=H(f.bottom,a.bottom),a.left=P(f.left,a.left),a},Et(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ce(t){const{width:e,height:o}=Dt(t);return{width:e,height:o}}function Ee(t,e,o){const n=F(e),i=W(e),s=o==="fixed",r=J(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=z(0);if(n||!n&&!s)if((Z(e)!=="body"||ot(i))&&(l=ct(e)),n){const f=J(e,!0,s,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else i&&(c.x=Ht(i));const a=r.left+l.scrollLeft-c.x,d=r.top+l.scrollTop-c.y;return{x:a,y:d,width:r.width,height:r.height}}function at(t){return T(t).position==="static"}function Ot(t,e){return!F(t)||T(t).position==="fixed"?null:e?e(t):t.offsetParent}function Wt(t,e){const o=E(t);if(lt(t))return o;if(!F(t)){let i=j(t);for(;i&&!K(i);){if(B(i)&&!at(i))return i;i=j(i)}return o}let n=Ot(t,e);for(;n&&pe(n)&&at(n);)n=Ot(n,e);return n&&K(n)&&at(n)&&!yt(n)?o:n||he(t)||o}const Oe=async function(t){const e=this.getOffsetParent||Wt,o=this.getDimensions,n=await o(t.floating);return{reference:Ee(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ae(t){return T(t).direction==="rtl"}const Te={convertOffsetParentRelativeRectToViewportRelativeRect:xe,getDocumentElement:W,getClippingRect:Re,getOffsetParent:Wt,getElementRects:Oe,getClientRects:ye,getDimensions:Ce,getScale:U,isElement:B,isRTL:Ae};function ke(t,e){let o=null,n;const i=W(t);function s(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:a,top:d,width:f,height:p}=t.getBoundingClientRect();if(l||e(),!f||!p)return;const u=it(d),h=it(i.clientWidth-(a+f)),m=it(i.clientHeight-(d+p)),g=it(a),y={rootMargin:-u+"px "+-h+"px "+-m+"px "+-g+"px",threshold:P(0,H(1,c))||1};let w=!0;function v(b){const C=b[0].intersectionRatio;if(C!==c){if(!w)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(v,y)}o.observe(t)}return r(!0),s}function Se(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=bt(t),d=i||s?[...a?et(a):[],...et(e)]:[];d.forEach(x=>{i&&x.addEventListener("scroll",o,{passive:!0}),s&&x.addEventListener("resize",o)});const f=a&&l?ke(a,o):null;let p=-1,u=null;r&&(u=new ResizeObserver(x=>{let[y]=x;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),a&&!c&&u.observe(a),u.observe(e));let h,m=c?J(t):null;c&&g();function g(){const x=J(t);m&&(x.x!==m.x||x.y!==m.y||x.width!==m.width||x.height!==m.height)&&o(),m=x,h=requestAnimationFrame(g)}return o(),()=>{var x;d.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),f==null||f(),(x=u)==null||x.disconnect(),u=null,c&&cancelAnimationFrame(h)}}const Le=ue,$e=de,Pe=le,Be=re,Fe=ae,Me=(t,e,o)=>{const n=new Map,i={platform:Te,...o},s={...i.platform,_c:n};return se(t,e,{...i,platform:s})},De={left:"right","left-top":"right-start","left-bottom":"right-end",right:"left","right-top":"left-start","right-bottom":"left-end",top:"bottom","top-left":"bottom-start","top-right":"bottom-end","bottom-right":"top-end","bottom-left":"top-start",bottom:"top"};class Ne extends Marko.Component{handleExpand(){this.emit("base-expand"),this.hostEl&&this.overlayEl&&this.updateTip()}handleCollapse(){this.emit("base-collapse")}onMount(){this._setupBaseTooltip()}onUpdate(){this._setupBaseTooltip()}onInput(e){e.open===!0?this.action="expand":e.open===!1&&(this.action="collapse")}onRender(){typeof window<"u"&&this._cleanupMakeup()}collapse(){this._expander.expanded=!1}expand(){this._expander.expanded=!0}isExpanded(){return this._expander.expanded}onDestroy(){this._cleanupMakeup()}_setupExpander(e,o){const{input:n}=this,{type:i}=n,s=this.getEl("container"),r=i==="tooltip",l=i==="infotip",c=i==="tourtip",a=s==null?void 0:s.getElementsByClassName(i)[0];e&&!c&&(this._expander=new qt(a,{hostSelector:o,contentSelector:`.${i}__overlay`,expandedClass:`${i}--expanded`,focusManagement:null,expandOnFocus:r,expandOnHover:r&&!n.noHover,expandOnClick:l,autoCollapse:r}),r&&!e.hasAttribute("aria-describedby")&&e.setAttribute("aria-describedby",n.overlayId)),this.hostEl&&this.overlayEl&&(this.updateTip(),this.cleanup=Se(this.hostEl,this.overlayEl,this.update.bind(this)))}updateTip(){Me(this.hostEl,this.overlayEl,{placement:this.input.placement||De[this.input.pointer??"bottom"],middleware:[Le(this.input.offset||6),!this.input.notInline&&Fe(),!this.input.noFlip&&Pe(),!this.input.noShift&&$e(),Be({element:this.arrowEl,padding:20})]}).then(({x:e,y:o,placement:n,middlewareData:i})=>{var c,a,d,f;Object.assign(((c=this.overlayEl)==null?void 0:c.style)||{},{left:`${e}px`,top:`${o}px`});const s=(a=i.arrow)==null?void 0:a.x,r=(d=i.arrow)==null?void 0:d.y,l={top:"bottom",strategy:"fixed",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];Object.assign(((f=this.arrowEl)==null?void 0:f.style)||{},{left:s!=null?`${s}px`:"",top:r!=null?`${r}px`:"",right:"",bottom:"",[l||""]:"-4px"})})}_setupBaseTooltip(){var i,s,r;const{type:e}=this.input,n=`.${`${e}__host`}`;this.hostEl=((i=this.el)==null?void 0:i.querySelector(n))||null,this.overlayEl=((s=this.el)==null?void 0:s.querySelector(`.${e}__overlay`))||null,this.arrowEl=((r=this.el)==null?void 0:r.querySelector(`.${e}__pointer`))||null,this.input.type!=="dialog--mini"&&this._setupMakeup(),this.action&&this._expander&&(this.action==="expand"?this.expand():this.action==="collapse"&&this.collapse(),this.action=null)}_setupMakeup(){const{input:e}=this,{type:o}=e,n=this.getEl("container"),i=`${o}__host`,s=`.${i}`;let r=n==null?void 0:n.querySelector(s);r?this._setupExpander(r,s):(this.cancelFocus&&this.cancelFocus(),this.cancelFocus=Jt(n,!1,l=>{const c=l[0];c&&(r=c,c.classList.contains(i)||c.classList.add(i)),this._setupExpander(r,s)}))}_cleanupMakeup(){this.cancelFocus&&this.cancelFocus(),this._expander&&(this._expander.destroy(),this._expander=void 0),this.cleanup&&(this.cleanup(),this.cleanup=void 0)}}const vt="Ovr$fQ_i",pt=St(vt);function He(){return{type:this.type,noHover:this.noHover,overlayId:this.overlayId}}At.r(vt,()=>Ne);const It={};pt._=Tt(function(t,e,o,n,i,s){t.toJSON=He;const{overlayStyle:r,renderBody:l}=t;e.be("span",{"overlay-style":r},"@container",n,null,0,{"onexpander-expand":o.d("expander-expand","handleExpand",!1),"onexpander-collapse":o.d("expander-collapse","handleCollapse",!1)}),tt(e,l,null,null,null,null,o,"0"),e.ee()},{t:vt,s:!0},It);pt.Component=kt(It,pt._);export{pt as _,ft as a}; diff --git a/docs/assets/index-BRJKYh5S.js b/docs/assets/index-DrGqiT1g.js similarity index 89% rename from docs/assets/index-BRJKYh5S.js rename to docs/assets/index-DrGqiT1g.js index d127477d1..1a706959a 100644 --- a/docs/assets/index-BRJKYh5S.js +++ b/docs/assets/index-DrGqiT1g.js @@ -1 +1 @@ -import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="HCNXX$Bi",o=p(t);_.r(t,()=>o);const r={};o._=n(function(a,e,m,k,b,f){l(s,{...a,_name:"arrow-right-24",_size:"24",_type:"icon",_themes:c},e,m,"0")},{t,i:!0},r);o.Component=i(r,o._);export{o as _}; +import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="HCNXX$Bi",o=p(t);_.r(t,()=>o);const r={};o._=n(function(a,e,m,k,b,f){l(s,{...a,_name:"arrow-right-24",_size:"24",_type:"icon",_themes:c},e,m,"0")},{t,i:!0},r);o.Component=i(r,o._);export{o as _}; diff --git a/docs/assets/index-DX0IFE80.js b/docs/assets/index-DubLym3o.js similarity index 99% rename from docs/assets/index-DX0IFE80.js rename to docs/assets/index-DubLym3o.js index edd38a36a..0b41f48a1 100644 --- a/docs/assets/index-DX0IFE80.js +++ b/docs/assets/index-DubLym3o.js @@ -1 +1 @@ -import{r as xe,b as He,p as U,f as b,e as Ie,d as Re,t as Me}from"./registry-B-klnak9.js";/* empty css */import{_ as d}from"./dynamic-tag-DQCvkDdb.js";import{_ as Ke}from"./index-Cm_Gb0Br.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{_ as O}from"./index-C_i8Cqa-.js";import{s as Ue}from"./index--35j0Bzx.js";import{r as ne,h as Ve}from"./index-blmbJU0z.js";let c,h,B,C,S,N,P,se,le;function qe(){const e=document.createElement("div");return e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","0"),e.className="keyboard-trap-boundary",e}function q(){se.focus()}function z(){le.focus()}function ze(){h=qe(),B=h.cloneNode(),C=h.cloneNode(),S=h.cloneNode(),N=h.cloneNode(),P=h.cloneNode(),h.addEventListener("focus",q),B.addEventListener("focus",q),C.addEventListener("focus",z),S.addEventListener("focus",q),N.addEventListener("focus",z),P.addEventListener("focus",z)}function re(){return c&&(h=w(h),B=w(B),C=w(C),S=w(S),N=w(N),P=w(P),c.classList.remove("keyboard-trap--active"),c.dispatchEvent(new CustomEvent("keyboardUntrap",{bubbles:!0})),c=null),c}function w(e){const t=e.parentNode;return t?t.removeChild(e):e}function Xe(e){h?re():ze(),c=e;const t=typeof document>"u"?null:document.body,i=Ue(c,!0);return se=i[0],le=i[i.length-1],t.insertBefore(h,t.childNodes[0]),c.parentNode.insertBefore(B,c),c.insertBefore(C,c.childNodes[0]),c.appendChild(S),c.parentNode.insertBefore(N,c.nextElementSibling),t.appendChild(P),c.dispatchEvent(new CustomEvent("keyboardTrap",{bubbles:!0})),c.classList.add("keyboard-trap--active"),c}const Ye=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="body"&&e.tagName.toLowerCase()!=="html",Ge=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="script",Je=(e,t)=>e.concat(t);function oe(e,t=[]){const i=e.previousSibling;return i?(t.push(i),oe(i,t)):t}function ae(e,t=[]){const i=e.nextSibling;return i?(t.push(i),ae(i,t)):t}function ce(e){return oe(e).concat(ae(e)).filter(Ge)}function ue(e,t=[]){const i=e.parentNode;return i?(t.push(i),ue(i,t)):t}function de(e){return ue(e).filter(Ye)}function Qe(e){return de(e).map(t=>ce(t)).reduce(Je,[])}let A,p,F;const j=e=>e.tagName.toLowerCase()!=="svg";function D(e,t){let i;return t===!1?i=$(e,"aria-hidden","false"):i=$(e,"hidden",!1),i}function ee(e,t){let i;return t===!1?i=$(e,"aria-hidden","true"):i=$(e,"hidden",!0),i}function $(e,t,i){const n=typeof i=="boolean";return{el:e,attributeName:t,cleanValue:n?e[t]:e.getAttribute(t),dirtyValue:i,isProperty:n}}function We(e){e.isProperty===!0?e.el[e.attributeName]=e.dirtyValue:e.el.setAttribute(e.attributeName,e.dirtyValue)}function Ze(e){e.cleanValue?e.isProperty===!0?e.el[e.attributeName]=e.cleanValue:e.el.setAttribute(e.attributeName,e.cleanValue):e.el.removeAttribute(e.attributeName)}function fe(){p&&(F.forEach(e=>Ze(e)),F=[],A&&A.setAttribute("role","main"),p.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),p=null)}const Oe={useHiddenProperty:!1};function je(e,t){fe();const i=Object.assign({},Oe,t);p=e,A=document.querySelector('main, [role="main"]'),A&&A.setAttribute("role","presentation");const n=de(p);let l=ce(p),o=Qe(p);i.useHiddenProperty===!0&&(l=l.filter(j),o=o.filter(j)),F=[D(p,i.useHiddenProperty)].concat(n.map(a=>D(a,i.useHiddenProperty))).concat(l.map(a=>ee(a,i.useHiddenProperty))).concat(o.map(a=>ee(a,i.useHiddenProperty))),F.forEach(a=>We(a)),p.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}let he,k,x=!1;function pe(){if(!x){const{body:e}=document,{pageXOffset:t,pageYOffset:i}=window,{width:n,height:l,marginTop:o,marginLeft:a}=getComputedStyle(e);let r="position:fixed;overflow:hidden;";he=[t,i],k=e.getAttribute("style"),r+=`height:${l};`,r+=`width:${n};`,i&&(r+=`margin-top:${-1*(i-parseInt(o,10))}px;`),t&&(r+=`margin-left:${-1*(t-parseInt(a,10))}px`),k&&(r=`${k};${r}`),e.setAttribute("style",r),ne.addEventListener("",ge),x=!0}}function me(){if(x){const{body:e}=document;k?e.setAttribute("style",k):e.removeAttribute("style"),window.scrollTo(...he),ne.removeEventListener("",ge),x=!1}}function ge(){me(),pe()}const X="transitionend",te=({el:e,className:t,waitFor:i},n)=>{let l,o=0;const a=i?i.length:0,r=e.classList,f=`${t}-init`;if(!("ontransitionend"in e)){const u=setTimeout(n,0);return()=>clearTimeout(u)}let g=De(()=>{g=void 0,r.add(t),r.remove(f),a?i.forEach(u=>u.addEventListener(X,m)):(v(),n&&n())});return r.add(f),v;function v(){if(!l){l=!0;for(let u=o;u{t=requestAnimationFrame(e)}),()=>{t&&(cancelAnimationFrame(t),t=0)}}class et extends Marko.Component{get useHiddenProperty(){return this.input.useHiddenProperty||!1}trackLastClick(t){if(t.defaultPrevented||t.metaKey||t.ctrlKey||t.shiftKey||t.button!==0)return;let i=t.target;for(;i!==null&&i.nodeName!=="BUTTON";)i=i.parentNode;this.clickTarget=i}getActiveElement(t){let i=null;t&&t.closeFocus&&(i=document.getElementById(t.closeFocus));const n=document.activeElement===document.body?this.clickTarget:document.activeElement;return i||n}handleStartClick({target:t}){this.startEl=t}handleScroll(){this.emit("scroll")}handleKeydown(t){Ve(t,()=>{this.state.open=!1,this.emit("escape")})}handleDialogClick({target:t,clientY:i}){const{closeEl:n,windowEl:l,startEl:o}=this;if(this.startEl=null,this.input.buttonPosition!=="hidden"&&!(l!=null&&l.contains(o??null))){if(!(n!=null&&n.contains(t))&&(l!=null&&l.contains(t))){const{bottom:a}=l.getBoundingClientRect(),{paddingBottom:r}=getComputedStyle(l),f=a-parseInt(r,10);if(i{}),this._trap({firstRender:!0})}onUpdate(){this._trap({firstRender:!1})}_triggerFocus(t){this.input.isModal&&t&&t.focus()}_triggerBodyScroll(t){this.input.isModal&&(t?pe():me())}onDestroy(){this._cancelAsync(),this._release(),this.isTrapped&&this._triggerBodyScroll(!1)}_getTrapCallback(t,i,n){const l=this.input.isModal&&(t||i&&!n),o=this.useHiddenProperty;return()=>{l&&(je(this.el,{useHiddenProperty:o}),o||Xe(this.windowEl))}}_trap(t){var g,v;const{isTrapped:i,restoreTrap:n}=this,l=this.isTrapped=this.state.open,o=t&&t.firstRender,a=l!==i,r=this.input.focus&&document.getElementById(this.input.focus)||this.closeEl,f=this._getTrapCallback(n??!1,l,i??!1);if(o&&this.input.isModal&&l&&(this._prevFocusEl=this.getActiveElement(this.input),r&&this._triggerFocus(r),this._triggerBodyScroll(!0)),a){this._cancelAsync();const m=()=>{var u,T,E;if(this.cancelTransition=void 0,f(),l)(u=this.rootEl)==null||u.removeAttribute("hidden"),this._triggerFocus(r),this.emit("open"),this.isAnimating=!1;else{this._triggerBodyScroll(!1);const _=this.getActiveElement(this.input);(T=this.rootEl)==null||T.setAttribute("hidden",""),this.emit("close"),this.isAnimating=!1,_===this.getActiveElement(this.input)&&document.documentElement.contains(this._prevFocusEl??null)&&((E=this._prevFocusEl)==null||E.focus()),this.cancelScrollReset=setTimeout(()=>{var I,L;(L=(I=this.rootEl)==null?void 0:I.parentNode)==null||L.replaceChild(this.rootEl,this.rootEl),this.cancelScrollReset=void 0},20)}};l?o?(this.isAnimating=!1,(g=this.rootEl)==null||g.removeAttribute("hidden"),f()):(this._prevFocusEl=this.getActiveElement(this.input),this._triggerBodyScroll(!0),this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--show`,waitFor:this.transitionEls??[]},m)):o?(this.isAnimating=!1,(v=this.rootEl)==null||v.setAttribute("hidden","")):(this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--hide`,waitFor:this.transitionEls??[]},m))}else n&&f()}_release(){this.isTrapped&&this.input.isModal?(this.restoreTrap=this.state.open,fe(this.el),this.useHiddenProperty||re(this.windowEl)):this.restoreTrap=!1}_cancelAsync(){this.cancelScrollReset&&(clearTimeout(this.cancelScrollReset),this.cancelScrollReset=void 0),this.cancelTransition&&(this.cancelTransition(),this.cancelTransition=void 0)}}const Y="HHbMDtkf",H=Me(Y),ie=typeof window<"u";xe.r(Y,()=>H);const Ee=et;H._=He(function(e,t,i,n,l,o){const{open:a,classPrefix:r,class:f,focus:g,closeFocus:v,a11yCloseText:m,windowClass:u,baseEl:T="div",header:E,footer:_,transitionEl:I,isModal:L,closeButton:G,closeButtonClass:ye,closeButtonText:R,ignoreEscape:be,windowType:J,mainId:ve,ariaLabelledby:we,buttonPosition:y="right",useHiddenProperty:tt,top:Q,action:M,prevButton:K,role:Te,renderBody:_e,...Ae}=e,{id:ke,as:Be,class:Ce,renderBody:Se,...Ne}=E||{},{id:it,class:Pe,a11yText:Le,renderBody:nt,...Fe}=K||{};function W(s){d(s,Be||"h2",()=>({class:[Ce,`${r}__title`],...U(Ne),id:ke||n.getElId("dialog-title")}),$e=>{d($e,Se,null,null,null,null,i,"2")},null,null,i,"1")}function Z(s){y!=="hidden"&&(s.be("button",{class:b([R?"fake-link":"icon-btn",ye,`${r}__close`]),type:"button","aria-label":m},"@close",n,null,0,{onclick:i.d("click","handleCloseButtonClick",!1)}),R?s.t(R,n):G?d(s,G,null,null,null,null,i,"4"):V(Ke,{},s,i,"5"),s.ee())}d(t,T,()=>({...U(Ae),"aria-labelledby":we||E&&n.getElId("dialog-title"),"aria-modal":"true",role:Te||"dialog",class:[r,f],hidden:!l.open,"aria-live":!L&&"polite"}),s=>{l.open&&ie&&!be&&V(O,{to:typeof window=="object"&&document,__events:["on","keydown"]},s,i,"7",[["keydown","handleKeydown",!1]]),!l.open&&ie&&V(O,{to:typeof window=="object"&&window,__events:["on","click"]},s,i,"8",[["click","trackLastClick",!1]]),s.be("div",{class:b([J?`${r}__${J}-window`:`${r}__window`,u])},"@window",n,null,1,{onmouseenter:i.d("mouseenter","emit",!1,["mouseEnter"]),onmouseleave:i.d("mouseleave","emit",!1,["mouseLeave"])}),Q&&d(s,Q.renderBody,null,null,null,null,i,"9"),s.be("div",{class:b(`${r}__header`)},"10",n,null,1),K&&(s.be("button",Ie(U(Fe),{class:b(["icon-btn","lightbox-dialog__prev",Pe]),type:"button","aria-label":Le}),"11",n,null,4,{onclick:i.d("click","emit",!1,["prevButtonClick"])}),d(s,K,null,null,null,null,i,"12"),s.ee()),E&&y==="right"&&d(s,W,null,null,null,null,i,"13"),y!=="bottom"&&d(s,Z,null,null,null,null,i,"14"),E&&(y==="left"||y==="hidden")&&d(s,W,null,null,null,null,i,"15"),s.ee(),s.be("div",{id:ve,class:b(`${r}__main`)},"@body",n,null,1,{onscroll:i.d("scroll","handleScroll",!1)}),d(s,_e,null,null,null,null,i,"16"),s.ee(),M&&(s.be("span",{class:b(`${r}__actions`)},"17",n,null,1),d(s,M&&M.renderBody,null,null,null,null,i,"18"),s.ee()),(_||y==="bottom")&&(s.be("div",{class:b(`${r}__footer`)},"19",n,null,1),d(s,_&&_.renderBody,null,null,null,null,i,"20"),y==="bottom"&&d(s,Z,null,null,null,null,i,"21"),s.ee()),s.ee()},null,{pa:{hidden:1}},i,"6",[["click","handleDialogClick",!1],["mousedown","handleStartClick",!1]])},{t:Y},Ee);H.Component=Re(Ee,H._);export{H as _}; +import{r as xe,b as He,p as U,f as b,e as Ie,d as Re,t as Me}from"./registry-B-klnak9.js";/* empty css */import{_ as d}from"./dynamic-tag-DQCvkDdb.js";import{_ as Ke}from"./index-A0egsrj7.js";import{_ as V}from"./render-tag-BBOJ9dEX.js";import{_ as O}from"./index-C_i8Cqa-.js";import{s as Ue}from"./index--35j0Bzx.js";import{r as ne,h as Ve}from"./index-blmbJU0z.js";let c,h,B,C,S,N,P,se,le;function qe(){const e=document.createElement("div");return e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","0"),e.className="keyboard-trap-boundary",e}function q(){se.focus()}function z(){le.focus()}function ze(){h=qe(),B=h.cloneNode(),C=h.cloneNode(),S=h.cloneNode(),N=h.cloneNode(),P=h.cloneNode(),h.addEventListener("focus",q),B.addEventListener("focus",q),C.addEventListener("focus",z),S.addEventListener("focus",q),N.addEventListener("focus",z),P.addEventListener("focus",z)}function re(){return c&&(h=w(h),B=w(B),C=w(C),S=w(S),N=w(N),P=w(P),c.classList.remove("keyboard-trap--active"),c.dispatchEvent(new CustomEvent("keyboardUntrap",{bubbles:!0})),c=null),c}function w(e){const t=e.parentNode;return t?t.removeChild(e):e}function Xe(e){h?re():ze(),c=e;const t=typeof document>"u"?null:document.body,i=Ue(c,!0);return se=i[0],le=i[i.length-1],t.insertBefore(h,t.childNodes[0]),c.parentNode.insertBefore(B,c),c.insertBefore(C,c.childNodes[0]),c.appendChild(S),c.parentNode.insertBefore(N,c.nextElementSibling),t.appendChild(P),c.dispatchEvent(new CustomEvent("keyboardTrap",{bubbles:!0})),c.classList.add("keyboard-trap--active"),c}const Ye=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="body"&&e.tagName.toLowerCase()!=="html",Ge=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="script",Je=(e,t)=>e.concat(t);function oe(e,t=[]){const i=e.previousSibling;return i?(t.push(i),oe(i,t)):t}function ae(e,t=[]){const i=e.nextSibling;return i?(t.push(i),ae(i,t)):t}function ce(e){return oe(e).concat(ae(e)).filter(Ge)}function ue(e,t=[]){const i=e.parentNode;return i?(t.push(i),ue(i,t)):t}function de(e){return ue(e).filter(Ye)}function Qe(e){return de(e).map(t=>ce(t)).reduce(Je,[])}let A,p,F;const j=e=>e.tagName.toLowerCase()!=="svg";function D(e,t){let i;return t===!1?i=$(e,"aria-hidden","false"):i=$(e,"hidden",!1),i}function ee(e,t){let i;return t===!1?i=$(e,"aria-hidden","true"):i=$(e,"hidden",!0),i}function $(e,t,i){const n=typeof i=="boolean";return{el:e,attributeName:t,cleanValue:n?e[t]:e.getAttribute(t),dirtyValue:i,isProperty:n}}function We(e){e.isProperty===!0?e.el[e.attributeName]=e.dirtyValue:e.el.setAttribute(e.attributeName,e.dirtyValue)}function Ze(e){e.cleanValue?e.isProperty===!0?e.el[e.attributeName]=e.cleanValue:e.el.setAttribute(e.attributeName,e.cleanValue):e.el.removeAttribute(e.attributeName)}function fe(){p&&(F.forEach(e=>Ze(e)),F=[],A&&A.setAttribute("role","main"),p.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),p=null)}const Oe={useHiddenProperty:!1};function je(e,t){fe();const i=Object.assign({},Oe,t);p=e,A=document.querySelector('main, [role="main"]'),A&&A.setAttribute("role","presentation");const n=de(p);let l=ce(p),o=Qe(p);i.useHiddenProperty===!0&&(l=l.filter(j),o=o.filter(j)),F=[D(p,i.useHiddenProperty)].concat(n.map(a=>D(a,i.useHiddenProperty))).concat(l.map(a=>ee(a,i.useHiddenProperty))).concat(o.map(a=>ee(a,i.useHiddenProperty))),F.forEach(a=>We(a)),p.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}let he,k,x=!1;function pe(){if(!x){const{body:e}=document,{pageXOffset:t,pageYOffset:i}=window,{width:n,height:l,marginTop:o,marginLeft:a}=getComputedStyle(e);let r="position:fixed;overflow:hidden;";he=[t,i],k=e.getAttribute("style"),r+=`height:${l};`,r+=`width:${n};`,i&&(r+=`margin-top:${-1*(i-parseInt(o,10))}px;`),t&&(r+=`margin-left:${-1*(t-parseInt(a,10))}px`),k&&(r=`${k};${r}`),e.setAttribute("style",r),ne.addEventListener("",ge),x=!0}}function me(){if(x){const{body:e}=document;k?e.setAttribute("style",k):e.removeAttribute("style"),window.scrollTo(...he),ne.removeEventListener("",ge),x=!1}}function ge(){me(),pe()}const X="transitionend",te=({el:e,className:t,waitFor:i},n)=>{let l,o=0;const a=i?i.length:0,r=e.classList,f=`${t}-init`;if(!("ontransitionend"in e)){const u=setTimeout(n,0);return()=>clearTimeout(u)}let g=De(()=>{g=void 0,r.add(t),r.remove(f),a?i.forEach(u=>u.addEventListener(X,m)):(v(),n&&n())});return r.add(f),v;function v(){if(!l){l=!0;for(let u=o;u{t=requestAnimationFrame(e)}),()=>{t&&(cancelAnimationFrame(t),t=0)}}class et extends Marko.Component{get useHiddenProperty(){return this.input.useHiddenProperty||!1}trackLastClick(t){if(t.defaultPrevented||t.metaKey||t.ctrlKey||t.shiftKey||t.button!==0)return;let i=t.target;for(;i!==null&&i.nodeName!=="BUTTON";)i=i.parentNode;this.clickTarget=i}getActiveElement(t){let i=null;t&&t.closeFocus&&(i=document.getElementById(t.closeFocus));const n=document.activeElement===document.body?this.clickTarget:document.activeElement;return i||n}handleStartClick({target:t}){this.startEl=t}handleScroll(){this.emit("scroll")}handleKeydown(t){Ve(t,()=>{this.state.open=!1,this.emit("escape")})}handleDialogClick({target:t,clientY:i}){const{closeEl:n,windowEl:l,startEl:o}=this;if(this.startEl=null,this.input.buttonPosition!=="hidden"&&!(l!=null&&l.contains(o??null))){if(!(n!=null&&n.contains(t))&&(l!=null&&l.contains(t))){const{bottom:a}=l.getBoundingClientRect(),{paddingBottom:r}=getComputedStyle(l),f=a-parseInt(r,10);if(i{}),this._trap({firstRender:!0})}onUpdate(){this._trap({firstRender:!1})}_triggerFocus(t){this.input.isModal&&t&&t.focus()}_triggerBodyScroll(t){this.input.isModal&&(t?pe():me())}onDestroy(){this._cancelAsync(),this._release(),this.isTrapped&&this._triggerBodyScroll(!1)}_getTrapCallback(t,i,n){const l=this.input.isModal&&(t||i&&!n),o=this.useHiddenProperty;return()=>{l&&(je(this.el,{useHiddenProperty:o}),o||Xe(this.windowEl))}}_trap(t){var g,v;const{isTrapped:i,restoreTrap:n}=this,l=this.isTrapped=this.state.open,o=t&&t.firstRender,a=l!==i,r=this.input.focus&&document.getElementById(this.input.focus)||this.closeEl,f=this._getTrapCallback(n??!1,l,i??!1);if(o&&this.input.isModal&&l&&(this._prevFocusEl=this.getActiveElement(this.input),r&&this._triggerFocus(r),this._triggerBodyScroll(!0)),a){this._cancelAsync();const m=()=>{var u,T,E;if(this.cancelTransition=void 0,f(),l)(u=this.rootEl)==null||u.removeAttribute("hidden"),this._triggerFocus(r),this.emit("open"),this.isAnimating=!1;else{this._triggerBodyScroll(!1);const _=this.getActiveElement(this.input);(T=this.rootEl)==null||T.setAttribute("hidden",""),this.emit("close"),this.isAnimating=!1,_===this.getActiveElement(this.input)&&document.documentElement.contains(this._prevFocusEl??null)&&((E=this._prevFocusEl)==null||E.focus()),this.cancelScrollReset=setTimeout(()=>{var I,L;(L=(I=this.rootEl)==null?void 0:I.parentNode)==null||L.replaceChild(this.rootEl,this.rootEl),this.cancelScrollReset=void 0},20)}};l?o?(this.isAnimating=!1,(g=this.rootEl)==null||g.removeAttribute("hidden"),f()):(this._prevFocusEl=this.getActiveElement(this.input),this._triggerBodyScroll(!0),this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--show`,waitFor:this.transitionEls??[]},m)):o?(this.isAnimating=!1,(v=this.rootEl)==null||v.setAttribute("hidden","")):(this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--hide`,waitFor:this.transitionEls??[]},m))}else n&&f()}_release(){this.isTrapped&&this.input.isModal?(this.restoreTrap=this.state.open,fe(this.el),this.useHiddenProperty||re(this.windowEl)):this.restoreTrap=!1}_cancelAsync(){this.cancelScrollReset&&(clearTimeout(this.cancelScrollReset),this.cancelScrollReset=void 0),this.cancelTransition&&(this.cancelTransition(),this.cancelTransition=void 0)}}const Y="HHbMDtkf",H=Me(Y),ie=typeof window<"u";xe.r(Y,()=>H);const Ee=et;H._=He(function(e,t,i,n,l,o){const{open:a,classPrefix:r,class:f,focus:g,closeFocus:v,a11yCloseText:m,windowClass:u,baseEl:T="div",header:E,footer:_,transitionEl:I,isModal:L,closeButton:G,closeButtonClass:ye,closeButtonText:R,ignoreEscape:be,windowType:J,mainId:ve,ariaLabelledby:we,buttonPosition:y="right",useHiddenProperty:tt,top:Q,action:M,prevButton:K,role:Te,renderBody:_e,...Ae}=e,{id:ke,as:Be,class:Ce,renderBody:Se,...Ne}=E||{},{id:it,class:Pe,a11yText:Le,renderBody:nt,...Fe}=K||{};function W(s){d(s,Be||"h2",()=>({class:[Ce,`${r}__title`],...U(Ne),id:ke||n.getElId("dialog-title")}),$e=>{d($e,Se,null,null,null,null,i,"2")},null,null,i,"1")}function Z(s){y!=="hidden"&&(s.be("button",{class:b([R?"fake-link":"icon-btn",ye,`${r}__close`]),type:"button","aria-label":m},"@close",n,null,0,{onclick:i.d("click","handleCloseButtonClick",!1)}),R?s.t(R,n):G?d(s,G,null,null,null,null,i,"4"):V(Ke,{},s,i,"5"),s.ee())}d(t,T,()=>({...U(Ae),"aria-labelledby":we||E&&n.getElId("dialog-title"),"aria-modal":"true",role:Te||"dialog",class:[r,f],hidden:!l.open,"aria-live":!L&&"polite"}),s=>{l.open&&ie&&!be&&V(O,{to:typeof window=="object"&&document,__events:["on","keydown"]},s,i,"7",[["keydown","handleKeydown",!1]]),!l.open&&ie&&V(O,{to:typeof window=="object"&&window,__events:["on","click"]},s,i,"8",[["click","trackLastClick",!1]]),s.be("div",{class:b([J?`${r}__${J}-window`:`${r}__window`,u])},"@window",n,null,1,{onmouseenter:i.d("mouseenter","emit",!1,["mouseEnter"]),onmouseleave:i.d("mouseleave","emit",!1,["mouseLeave"])}),Q&&d(s,Q.renderBody,null,null,null,null,i,"9"),s.be("div",{class:b(`${r}__header`)},"10",n,null,1),K&&(s.be("button",Ie(U(Fe),{class:b(["icon-btn","lightbox-dialog__prev",Pe]),type:"button","aria-label":Le}),"11",n,null,4,{onclick:i.d("click","emit",!1,["prevButtonClick"])}),d(s,K,null,null,null,null,i,"12"),s.ee()),E&&y==="right"&&d(s,W,null,null,null,null,i,"13"),y!=="bottom"&&d(s,Z,null,null,null,null,i,"14"),E&&(y==="left"||y==="hidden")&&d(s,W,null,null,null,null,i,"15"),s.ee(),s.be("div",{id:ve,class:b(`${r}__main`)},"@body",n,null,1,{onscroll:i.d("scroll","handleScroll",!1)}),d(s,_e,null,null,null,null,i,"16"),s.ee(),M&&(s.be("span",{class:b(`${r}__actions`)},"17",n,null,1),d(s,M&&M.renderBody,null,null,null,null,i,"18"),s.ee()),(_||y==="bottom")&&(s.be("div",{class:b(`${r}__footer`)},"19",n,null,1),d(s,_&&_.renderBody,null,null,null,null,i,"20"),y==="bottom"&&d(s,Z,null,null,null,null,i,"21"),s.ee()),s.ee()},null,{pa:{hidden:1}},i,"6",[["click","handleDialogClick",!1],["mousedown","handleStartClick",!1]])},{t:Y},Ee);H.Component=Re(Ee,H._);export{H as _}; diff --git a/docs/assets/index-DxsxZ0VW.css b/docs/assets/index-DxsxZ0VW.css deleted file mode 100644 index b316b7918..000000000 --- a/docs/assets/index-DxsxZ0VW.css +++ /dev/null @@ -1 +0,0 @@ -:root{--bubble-shadow: 0 2px 7px rgba(0, 0, 0, .15), 0 5px 17px rgba(0, 0, 0, .2)}.combobox{box-sizing:border-box;line-height:normal;position:relative}span.combobox{display:inline-block;vertical-align:bottom}.combobox__value{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combobox__options--fix-width[role=listbox]{width:100%}.combobox__listbox{background-color:var( --combobox-listbox-background-color, var(--color-background-elevated) );border-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );box-shadow:var(--bubble-shadow);box-sizing:border-box;display:none;left:0;max-height:400px;min-width:100%;overflow-y:auto;position:absolute;top:calc(100% + 4px);width:auto;z-index:2}.combobox__listbox--reverse,[dir=rtl] .combobox__listbox{left:unset;right:0}[dir=rtl] .combobox__listbox--reverse{left:0;right:unset}.combobox__control>button,.combobox__control>svg.icon{-webkit-margin-start:8px;margin-inline-start:8px}.combobox__option[role^=option]{background-color:initial;border-color:var( --listbox-option-border-color, var(--color-background-primary) );border-style:solid;border-width:1px;box-sizing:border-box;color:var( --listbox-option-foreground-color, var(--color-foreground-primary) );cursor:default;display:inline-grid;font-family:inherit;grid-template-columns:auto auto;justify-content:space-between;padding:8px 15px;position:relative;width:100%}.combobox__option[role^=option]:focus{outline-offset:-4px}.combobox__option[role^=option][hidden]{display:none}.combobox__option[role^=option]:hover{color:var( --listbox-option-hover-foreground-color, var(--color-foreground-primary) )}.combobox__option[role^=option]:active{font-weight:700}.combobox__option[role^=option]:disabled,.combobox__option[role^=option][aria-disabled=true]{background-color:unset;color:var( --listbox-option-disabled-foreground-color, var(--color-foreground-disabled) );font-weight:unset}.combobox__option[role^=option]:first-child{border-top-left-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );border-top-right-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) )}.combobox__option[role^=option]:last-child{border-bottom-left-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) );border-bottom-right-radius:var( --combobox-listbox-border-radius, var(--border-radius-50) )}.combobox__option[role^=option]:not(:last-child){margin-bottom:1px}.combobox__option[role^=option]:hover{background-color:var(--color-state-primary-hover)}.combobox__option[role^=option] svg.icon{align-self:center;fill:currentColor;margin:0 auto;opacity:0;stroke:currentColor;stroke-width:0}.combobox__option--active[role^=option]{background-color:var(--color-state-primary-active)}.combobox__option--active[role^=option] svg.icon{opacity:1}.combobox__control button.icon-btn{height:38px;padding:0;position:absolute;right:1px;top:1px;width:38px}.combobox__control button.icon-btn svg{left:0;margin:0;right:0}.combobox--expanded .combobox__listbox{display:block}.combobox--expanded svg.icon--chevron-down-12{transform:rotate(180deg)}.combobox__control>svg.icon--chevron-down-12{color:var(--combobox-textbox-icon-color, var(--color-foreground-primary));pointer-events:none;position:absolute;right:17px;top:calc(50% - 8px)}.combobox__control>input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var( --combobox-textbox-background-color, var(--color-background-secondary) );border-color:var( --combobox-textbox-border-color, var(--color-stroke-default) );border-radius:var( --combobox-textbox-border-radius, var(--border-radius-50) );border-style:solid;border-width:1px;box-sizing:border-box;color:var( --combobox-textbox-foreground-color, var(--color-foreground-on-secondary) );font-family:inherit;font-size:inherit;height:40px;margin-left:0;margin-right:0;padding:0 32px 0 16px}.combobox__control>input[readonly]{color:var( --combobox-textbox-foreground-color, var(--color-foreground-primary) );cursor:default;text-shadow:0 0 0 inherit;--webkit-user-select: none}.combobox__control>input[readonly]::-moz-selection,.combobox__control>input[readonly]::selection{background-color:var( --combobox-textbox-readonly-selection-background, var(--color-background-primary) )}.combobox__control>input[aria-disabled=true],.combobox__control>input[disabled]{border-color:var( --combobox-textbox-disabled-border-color, var(--color-background-disabled) );color:var( --combobox-textbox-disabled-foreground-color, var(--color-foreground-disabled) )}.combobox__control>input[aria-disabled=true][readonly],.combobox__control>input[disabled][readonly]{text-shadow:0 0 0 var(--color-foreground-disabled)}.combobox__control>input[aria-disabled=true]+svg,.combobox__control>input[disabled]+svg{opacity:.5}.combobox__control>input[aria-invalid=true]{border-color:var( --combobox-textbox-invalid-foreground-color, var(--color-stroke-attention) )}.combobox__control>input::-ms-clear{display:none}.combobox__control--borderless>input{background-color:initial;border-color:transparent;padding-left:0}.combobox__control>input:focus{background-color:var( --combobox-textbox-focus-background-color, var(--color-background-primary) );border-color:var( --combobox-textbox-focus-border-color, var(--color-foreground-primary) )}.combobox__control--borderless>input:focus{border-color:transparent;outline:none}.combobox--fluid,.combobox--fluid .combobox__control>input{width:100%}.combobox--large .combobox__control>input{font-size:var(--font-size-medium);height:48px}.combobox__control>input[disabled]{background-color:var( --combobox-textbox-disabled-background-color, var(--color-background-secondary) )}.combobox__option--active[role=option]{color:var( --combobox-listbox-option-hover-foreground-color, var(--color-foreground-primary) );font-weight:700}@media (-ms-high-contrast: active),all and (-ms-high-contrast: none){.combobox__value,::-ms-backdrop{min-width:100%}}[dir=rtl] .combobox__control>input{padding:0 16px 0 32px}[dir=rtl] .combobox__control>button,[dir=rtl] .combobox__control>svg.icon{right:unset}[dir=rtl] .combobox__control>svg.icon{left:16px;margin-top:1.3px}[dir=rtl] .combobox__control>button{left:0}[dir=rtl] .combobox__control button.icon-btn{left:1px;right:inherit} diff --git a/docs/assets/index-KP6N4H10.js b/docs/assets/index-DyYw6M6s.js similarity index 99% rename from docs/assets/index-KP6N4H10.js rename to docs/assets/index-DyYw6M6s.js index ace55b0cc..d7ab6b7f3 100644 --- a/docs/assets/index-KP6N4H10.js +++ b/docs/assets/index-DyYw6M6s.js @@ -1 +1 @@ -import{r as l,b as t,d as n,t as m}from"./registry-B-klnak9.js";import{_ as c}from"./index-C98gAawF.js";import{_}from"./render-tag-BBOJ9dEX.js";function C(){return''}const b="QMQTpui",i=m(b);l.r(b,()=>i);const $={};i._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"atv-24",_size:"24",_type:"icon",_themes:C},o,e,"0")},{t:b,i:!0},$);i.Component=n($,i._);function g(){return''}const y="xsjeEdBm",s=m(y);l.r(y,()=>s);const f={};s._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"car-24",_size:"24",_type:"icon",_themes:g},o,e,"0")},{t:y,i:!0},f);s.Component=n(f,s._);function w(){return''}const A="lNAOrKLi",d=m(A);l.r(A,()=>d);const H={};d._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"jet-ski-24",_size:"24",_type:"icon",_themes:w},o,e,"0")},{t:A,i:!0},H);d.Component=n(H,d._);function x(){return''}const Z="SceBfiHj",v=m(Z);l.r(Z,()=>v);const L={};v._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"motorcycle-24",_size:"24",_type:"icon",_themes:x},o,e,"0")},{t:Z,i:!0},L);v.Component=n(L,v._);function V(){return''}const k="hgpLEekk",u=m(k);l.r(k,()=>u);const M={};u._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"snowmobile-24",_size:"24",_type:"icon",_themes:V},o,e,"0")},{t:k,i:!0},M);u.Component=n(M,u._);export{s as _,i as a,d as b,v as c,u as d}; +import{r as l,b as t,d as n,t as m}from"./registry-B-klnak9.js";import{_ as c}from"./index-Bd083XES.js";import{_}from"./render-tag-BBOJ9dEX.js";function C(){return''}const b="QMQTpui",i=m(b);l.r(b,()=>i);const $={};i._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"atv-24",_size:"24",_type:"icon",_themes:C},o,e,"0")},{t:b,i:!0},$);i.Component=n($,i._);function g(){return''}const y="xsjeEdBm",s=m(y);l.r(y,()=>s);const f={};s._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"car-24",_size:"24",_type:"icon",_themes:g},o,e,"0")},{t:y,i:!0},f);s.Component=n(f,s._);function w(){return''}const A="lNAOrKLi",d=m(A);l.r(A,()=>d);const H={};d._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"jet-ski-24",_size:"24",_type:"icon",_themes:w},o,e,"0")},{t:A,i:!0},H);d.Component=n(H,d._);function x(){return''}const Z="SceBfiHj",v=m(Z);l.r(Z,()=>v);const L={};v._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"motorcycle-24",_size:"24",_type:"icon",_themes:x},o,e,"0")},{t:Z,i:!0},L);v.Component=n(L,v._);function V(){return''}const k="hgpLEekk",u=m(k);l.r(k,()=>u);const M={};u._=t(function(a,o,e,h,p,r){_(c,{...a,_name:"snowmobile-24",_size:"24",_type:"icon",_themes:V},o,e,"0")},{t:k,i:!0},M);u.Component=n(M,u._);export{s as _,i as a,d as b,v as c,u as d}; diff --git a/docs/assets/index-CRVfdcxC.js b/docs/assets/index-DzSb-JGb.js similarity index 94% rename from docs/assets/index-CRVfdcxC.js rename to docs/assets/index-DzSb-JGb.js index c55a774bf..9f2895c5a 100644 --- a/docs/assets/index-CRVfdcxC.js +++ b/docs/assets/index-DzSb-JGb.js @@ -1 +1 @@ -import{r as _,b as i,d as p,t as l}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function k(){return''}const a="ENAtSXDm",o=l(a);_.r(a,()=>o);const f={};o._=i(function(e,n,r,b,d,y){c(s,{...e,_name:"overflow-horizontal-16",_size:"16",_type:"icon",_themes:k},n,r,"0")},{t:a,i:!0},f);o.Component=p(f,o._);function u(){return''}const m="fXixrzcn",t=l(m);_.r(m,()=>t);const h={};t._=i(function(e,n,r,b,d,y){c(s,{...e,_name:"chevron-right-12",_size:"12",_type:"icon",_themes:u},n,r,"0")},{t:m,i:!0},h);t.Component=p(h,t._);export{o as _,t as a}; +import{r as _,b as i,d as p,t as l}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function k(){return''}const a="ENAtSXDm",o=l(a);_.r(a,()=>o);const f={};o._=i(function(e,n,r,b,d,y){c(s,{...e,_name:"overflow-horizontal-16",_size:"16",_type:"icon",_themes:k},n,r,"0")},{t:a,i:!0},f);o.Component=p(f,o._);function u(){return''}const m="fXixrzcn",t=l(m);_.r(m,()=>t);const h={};t._=i(function(e,n,r,b,d,y){c(s,{...e,_name:"chevron-right-12",_size:"12",_type:"icon",_themes:u},n,r,"0")},{t:m,i:!0},h);t.Component=p(h,t._);export{o as _,t as a}; diff --git a/docs/assets/index-BKL0XX-O.js b/docs/assets/index-MFibc1jG.js similarity index 93% rename from docs/assets/index-BKL0XX-O.js rename to docs/assets/index-MFibc1jG.js index 203a89fd3..bd7463739 100644 --- a/docs/assets/index-BKL0XX-O.js +++ b/docs/assets/index-MFibc1jG.js @@ -1 +1 @@ -import{r,b as i,d as c,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function x(){return''}const n="vtHWwYNk",o=p(n);r.r(n,()=>o);const d={};o._=i(function(t,a,m,h,k,u){l(s,{...t,_name:"checkbox-mixed-18",_size:"18",_type:"icon",_themes:x},a,m,"0")},{t:n,i:!0},d);o.Component=c(d,o._);function y(){return''}const _="DLPshYPb",e=p(_);r.r(_,()=>e);const b={};e._=i(function(t,a,m,h,k,u){l(s,{...t,_name:"checkbox-mixed-24",_size:"24",_type:"icon",_themes:y},a,m,"0")},{t:_,i:!0},b);e.Component=c(b,e._);export{e as _,o as a}; +import{r,b as i,d as c,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";function x(){return''}const n="vtHWwYNk",o=p(n);r.r(n,()=>o);const d={};o._=i(function(t,a,m,h,k,u){l(s,{...t,_name:"checkbox-mixed-18",_size:"18",_type:"icon",_themes:x},a,m,"0")},{t:n,i:!0},d);o.Component=c(d,o._);function y(){return''}const _="DLPshYPb",e=p(_);r.r(_,()=>e);const b={};e._=i(function(t,a,m,h,k,u){l(s,{...t,_name:"checkbox-mixed-24",_size:"24",_type:"icon",_themes:y},a,m,"0")},{t:_,i:!0},b);e.Component=c(b,e._);export{e as _,o as a}; diff --git a/docs/assets/index-CZeCUh5D.js b/docs/assets/index-MdNKbsz5.js similarity index 92% rename from docs/assets/index-CZeCUh5D.js rename to docs/assets/index-MdNKbsz5.js index 146610292..8cb0b9817 100644 --- a/docs/assets/index-CZeCUh5D.js +++ b/docs/assets/index-MdNKbsz5.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";function l(){return''}const o="EIwrRZZh",a=i(o);n.r(o,()=>a);const e={};a._=_(function(r,t,m,v,c,d){h(s,{...r,_name:"calendar-24",_size:"24",_type:"icon",_themes:l},t,m,"0")},{t:o,i:!0},e);a.Component=p(e,a._);export{a as _}; +import{r as n,b as _,d as p,t as i}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";function l(){return''}const o="EIwrRZZh",a=i(o);n.r(o,()=>a);const e={};a._=_(function(r,t,m,v,c,d){h(s,{...r,_name:"calendar-24",_size:"24",_type:"icon",_themes:l},t,m,"0")},{t:o,i:!0},e);a.Component=p(e,a._);export{a as _}; diff --git a/docs/assets/index-DUtXOaCj.js b/docs/assets/index-XDVM21hZ.js similarity index 94% rename from docs/assets/index-DUtXOaCj.js rename to docs/assets/index-XDVM21hZ.js index dbcd79ff0..554c8e77e 100644 --- a/docs/assets/index-DUtXOaCj.js +++ b/docs/assets/index-XDVM21hZ.js @@ -1 +1 @@ -import{t as f,r as p,b as u,f as y,g as b,e as C,p as g,d as h}from"./registry-B-klnak9.js";/* empty css */import{b as w,c as S,a as v,_ as $}from"./index-0_n8TZiB.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";class E extends Marko.Component{forwardEvent(a,s,e){var t,n;this.emit(a,{originalEvent:s,value:(n=e||((t=this.el)==null?void 0:t.querySelector("input")))==null?void 0:n.value},e)}}const _="yqeSNL_",o=f(_),H=o;function q(){}p.r(_,()=>E);const c={};o._=u(function(l,a,s,e,t,n){const{class:i,style:d,size:m,...k}=l;l.toJSON=q,a.be("span",{class:y(["radio",i]),style:b(d)},"0",e,null,1),a.e("input",C(g(k),{type:"radio",class:"radio__control"}),"1",e,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),a.be("span",{class:"radio__icon",hidden:""},"2",e,null,0),m==="large"?(r(w,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"3"),r(S,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"4")):(r(v,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"5"),r($,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"6")),a.ee(),a.ee()},{t:_,s:!0},c);o.Component=h(c,o._);export{H as C}; +import{t as f,r as p,b as u,f as y,g as b,e as C,p as g,d as h}from"./registry-B-klnak9.js";/* empty css */import{b as w,c as S,a as v,_ as $}from"./index-BHD_v1ay.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";class E extends Marko.Component{forwardEvent(a,s,e){var t,n;this.emit(a,{originalEvent:s,value:(n=e||((t=this.el)==null?void 0:t.querySelector("input")))==null?void 0:n.value},e)}}const _="yqeSNL_",o=f(_),H=o;function q(){}p.r(_,()=>E);const c={};o._=u(function(l,a,s,e,t,n){const{class:i,style:d,size:m,...k}=l;l.toJSON=q,a.be("span",{class:y(["radio",i]),style:b(d)},"0",e,null,1),a.e("input",C(g(k),{type:"radio",class:"radio__control"}),"1",e,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),a.be("span",{class:"radio__icon",hidden:""},"2",e,null,0),m==="large"?(r(w,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"3"),r(S,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"4")):(r(v,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"5"),r($,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"6")),a.ee(),a.ee()},{t:_,s:!0},c);o.Component=h(c,o._);export{H as C}; diff --git a/docs/assets/index-CFv8pSY5.js b/docs/assets/index-bYbd3THS.js similarity index 92% rename from docs/assets/index-CFv8pSY5.js rename to docs/assets/index-bYbd3THS.js index 4d0556e8f..c90cec278 100644 --- a/docs/assets/index-CFv8pSY5.js +++ b/docs/assets/index-bYbd3THS.js @@ -1 +1 @@ -import{t as p,r as d,b,e as c,p as k,d as u}from"./registry-B-klnak9.js";import{_ as y}from"./dynamic-tag-DQCvkDdb.js";import{_ as f}from"./index-E-BXye7-.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./empty-component-BCB5DEsP.js";const l="bZJbcQdl",t=p(l),H=t;d.r(l,()=>h);const _={};t._=b(function(m,e,a,r,x,C){const{renderBody:i,disabled:o,a11yDeleteButtonText:s,...n}=m;e.be("span",c({class:"chip"},k(n)),"0",r,null,4),e.be("span",{class:"chip__text",id:a.elId("text")},"1",r,null,1),y(e,i,null,null,null,null,a,"2"),e.ee(),s&&(e.be("button",{type:"button",class:"chip__button","aria-label":s,disabled:o,"aria-describedby":a.elId("text")},"3",r,null,0,{onclick:a.d("click","emit",!1,["delete"])}),g(f,{},e,a,"4"),e.ee()),e.ee()},{t:l,s:!0},_);t.Component=u(_,t._);export{H as _}; +import{t as p,r as d,b,e as c,p as k,d as u}from"./registry-B-klnak9.js";import{_ as y}from"./dynamic-tag-DQCvkDdb.js";import{_ as f}from"./index-D0vg5q8t.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import{_ as h}from"./empty-component-BCB5DEsP.js";const l="bZJbcQdl",t=p(l),H=t;d.r(l,()=>h);const _={};t._=b(function(m,e,a,r,x,C){const{renderBody:i,disabled:o,a11yDeleteButtonText:s,...n}=m;e.be("span",c({class:"chip"},k(n)),"0",r,null,4),e.be("span",{class:"chip__text",id:a.elId("text")},"1",r,null,1),y(e,i,null,null,null,null,a,"2"),e.ee(),s&&(e.be("button",{type:"button",class:"chip__button","aria-label":s,disabled:o,"aria-describedby":a.elId("text")},"3",r,null,0,{onclick:a.d("click","emit",!1,["delete"])}),g(f,{},e,a,"4"),e.ee()),e.ee()},{t:l,s:!0},_);t.Component=u(_,t._);export{H as _}; diff --git a/docs/assets/index-PUyx66vy.js b/docs/assets/index-e6O6vD3k.js similarity index 88% rename from docs/assets/index-PUyx66vy.js rename to docs/assets/index-e6O6vD3k.js index e7be28977..f0e60c57c 100644 --- a/docs/assets/index-PUyx66vy.js +++ b/docs/assets/index-e6O6vD3k.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-C98gAawF.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="lNHbhlub",o=s(t);n.r(t,()=>o);const e={};o._=_(function(r,m,a,b,f,k){i(l,{...r,_name:"chevron-left-16",_size:"16",_type:"icon",_themes:c},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as n,b as _,d as p,t as s}from"./registry-B-klnak9.js";import{_ as l}from"./index-Bd083XES.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function c(){return''}const t="lNHbhlub",o=s(t);n.r(t,()=>o);const e={};o._=_(function(r,m,a,b,f,k){i(l,{...r,_name:"chevron-left-16",_size:"16",_type:"icon",_themes:c},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-CpqkYYWb.js b/docs/assets/index-iDRTPR-o.js similarity index 94% rename from docs/assets/index-CpqkYYWb.js rename to docs/assets/index-iDRTPR-o.js index b5d2dd825..e1f3c8dff 100644 --- a/docs/assets/index-CpqkYYWb.js +++ b/docs/assets/index-iDRTPR-o.js @@ -1 +1 @@ -import{t as U,r as j,b as z,e as J,p as Q,f as c,d as V}from"./registry-B-klnak9.js";/* empty css */import{_ as r}from"./dynamic-tag-DQCvkDdb.js";import{_ as W}from"./index-ClSYtjPE.js";import{_ as I}from"./render-tag-BBOJ9dEX.js";import{i as X,r as Y}from"./attr-tag-DphMQldM.js";import{C as Z}from"./index-CJRseQ2S.js";import{s as D}from"./index-D7B88Psz.js";import{a as ee}from"./index-eGtaP7gF.js";class te extends Marko.Component{handleExpand(){this.getComponent("options").elementScroll(),this.emit("expand")}handleCollapse(){this.getEl("button").focus(),this.emit("collapse")}handleListboxChange(e){this.input.collapseOnSelect&&(this._expander.expanded=!1);const a=e.index;this.state.selectedIndex=a,this.emit("change",e)}handleListboxEscape(){this._expander.expanded=!1}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:a}=this;e.options=e.options||[],a.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected)),e.collapseOnSelect=e.collapseOnSelect!==!1}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e}=this;if(e.options.length&&!e.disabled){const a=this.getEl("container");this._expander=new D(a,{alwaysDoFocusManagement:!0,autoCollapse:!0,expandOnClick:!0,simulateSpacebarClick:!0,contentSelector:".listbox-button__listbox",hostSelector:".listbox-button__control",expandedClass:"listbox-button--expanded",focusManagement:"content"}),ee(this.getEl("button"))}}_cleanupMakeup(){this._expander&&(this._expander.destroy(),this._expander=void 0)}}const x="GDvMqdKc",n=U(x),xe=n;j.r(x,()=>n);const v=te;n._=z(function(u,e,a,t,M,ae){const{name:S,class:E,borderless:L,disabled:$,fluid:_,invalid:T,buttonName:w,options:f,truncate:h,prefixLabel:m,prefixId:g,postfixLabel:y,unselectedText:O="-",floatingLabel:d,collapseOnSelect:le,listSelection:B,variant:F,hasError:N,split:k="none",a11yIconPrefixText:q,ariaDescribedby:A,...G}=u;var s=f[M.selectedIndex],i=s&&s.text,b=s&&s.icon,C=b&&s&&s.text,o=g&&t.getElId("label"),H=i||O,K=F==="form";function p(l,{alwaysDisplay:R}){b?(l.be("span",{id:o,class:"btn__text"},"1",t,null,1),r(l,b,null,null,null,null,a,"2"),l.ee()):(i||R)&&(l.be("span",{id:o,class:"btn__text"},"3",t,null,1),l.t(H,t),y&&(l.be("span",{class:"btn__postfix-label"},"4",t,null,1),l.t(` ${y}`,t),l.ee()),l.ee())}const P=h&&!_?"div":"span";e.be(P,J(Q(G),{class:c(["listbox-button",E,_&&"listbox-button--fluid",K&&"listbox-button--form",N&&"listbox-button--error"])}),"@container",t,null,4,{"onexpander-expand":a.d("expander-expand","handleExpand",!1),"onexpander-collapse":a.d("expander-collapse","handleCollapse",!1)}),e.be("button",{class:c(["listbox-button__control","btn",k!=="none"&&`btn--split-${k}`,L?"btn--borderless":"btn--form",h&&"btn--truncated",d&&"btn--floating-label"]),"aria-label":C&&`${q}: ${C}`,value:i,type:"button",disabled:$,name:w,"aria-haspopup":"listbox","aria-describedby":A,"aria-labelledby":o&&`${g} ${o}`,"aria-invalid":T&&"true"},"@button",t,null,0),e.be("span",{class:"btn__cell"},"5",t,null,1),d?(e.be("span",{class:c(["btn__floating-label","btn__floating-label--animate",!i&&"btn__floating-label--inline"])},"6",t,null,1),e.t(d,t),e.ee(),r(e,p,null,null,null,null,a,"7")):m?(e.be("span",{class:"btn__label"},"8",t,null,1),e.t(m,t),e.ee(),r(e,p,()=>({"always-display":!0}),null,null,null,a,"9")):r(e,p,()=>({"always-display":!0}),null,null,null,a,"10"),I(W,{},e,a,"11"),e.ee(),e.ee(),I(Z,X(()=>{for(const l of f||[])Y("options",{...l,selected:s===l})},{class:"listbox-button__listbox",name:S,tabindex:-1,listSelection:B}),e,a,"@options",[["change","handleListboxChange",!1],["escape","handleListboxEscape",!1]]),e.ee()},{t:x},v);n.Component=V(v,n._);export{xe as _}; +import{t as U,r as j,b as z,e as J,p as Q,f as c,d as V}from"./registry-B-klnak9.js";/* empty css */import{_ as r}from"./dynamic-tag-DQCvkDdb.js";import{_ as W}from"./index-CL0domC_.js";import{_ as I}from"./render-tag-BBOJ9dEX.js";import{i as X,r as Y}from"./attr-tag-DphMQldM.js";import{C as Z}from"./index-BBcDbpTN.js";import{s as D}from"./index-D7B88Psz.js";import{a as ee}from"./index-eGtaP7gF.js";class te extends Marko.Component{handleExpand(){this.getComponent("options").elementScroll(),this.emit("expand")}handleCollapse(){this.getEl("button").focus(),this.emit("collapse")}handleListboxChange(e){this.input.collapseOnSelect&&(this._expander.expanded=!1);const a=e.index;this.state.selectedIndex=a,this.emit("change",e)}handleListboxEscape(){this._expander.expanded=!1}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:a}=this;e.options=e.options||[],a.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected)),e.collapseOnSelect=e.collapseOnSelect!==!1}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e}=this;if(e.options.length&&!e.disabled){const a=this.getEl("container");this._expander=new D(a,{alwaysDoFocusManagement:!0,autoCollapse:!0,expandOnClick:!0,simulateSpacebarClick:!0,contentSelector:".listbox-button__listbox",hostSelector:".listbox-button__control",expandedClass:"listbox-button--expanded",focusManagement:"content"}),ee(this.getEl("button"))}}_cleanupMakeup(){this._expander&&(this._expander.destroy(),this._expander=void 0)}}const x="GDvMqdKc",n=U(x),xe=n;j.r(x,()=>n);const v=te;n._=z(function(u,e,a,t,M,ae){const{name:S,class:E,borderless:L,disabled:$,fluid:_,invalid:T,buttonName:w,options:f,truncate:h,prefixLabel:m,prefixId:g,postfixLabel:y,unselectedText:O="-",floatingLabel:d,collapseOnSelect:le,listSelection:B,variant:F,hasError:N,split:k="none",a11yIconPrefixText:q,ariaDescribedby:A,...G}=u;var s=f[M.selectedIndex],i=s&&s.text,b=s&&s.icon,C=b&&s&&s.text,o=g&&t.getElId("label"),H=i||O,K=F==="form";function p(l,{alwaysDisplay:R}){b?(l.be("span",{id:o,class:"btn__text"},"1",t,null,1),r(l,b,null,null,null,null,a,"2"),l.ee()):(i||R)&&(l.be("span",{id:o,class:"btn__text"},"3",t,null,1),l.t(H,t),y&&(l.be("span",{class:"btn__postfix-label"},"4",t,null,1),l.t(` ${y}`,t),l.ee()),l.ee())}const P=h&&!_?"div":"span";e.be(P,J(Q(G),{class:c(["listbox-button",E,_&&"listbox-button--fluid",K&&"listbox-button--form",N&&"listbox-button--error"])}),"@container",t,null,4,{"onexpander-expand":a.d("expander-expand","handleExpand",!1),"onexpander-collapse":a.d("expander-collapse","handleCollapse",!1)}),e.be("button",{class:c(["listbox-button__control","btn",k!=="none"&&`btn--split-${k}`,L?"btn--borderless":"btn--form",h&&"btn--truncated",d&&"btn--floating-label"]),"aria-label":C&&`${q}: ${C}`,value:i,type:"button",disabled:$,name:w,"aria-haspopup":"listbox","aria-describedby":A,"aria-labelledby":o&&`${g} ${o}`,"aria-invalid":T&&"true"},"@button",t,null,0),e.be("span",{class:"btn__cell"},"5",t,null,1),d?(e.be("span",{class:c(["btn__floating-label","btn__floating-label--animate",!i&&"btn__floating-label--inline"])},"6",t,null,1),e.t(d,t),e.ee(),r(e,p,null,null,null,null,a,"7")):m?(e.be("span",{class:"btn__label"},"8",t,null,1),e.t(m,t),e.ee(),r(e,p,()=>({"always-display":!0}),null,null,null,a,"9")):r(e,p,()=>({"always-display":!0}),null,null,null,a,"10"),I(W,{},e,a,"11"),e.ee(),e.ee(),I(Z,X(()=>{for(const l of f||[])Y("options",{...l,selected:s===l})},{class:"listbox-button__listbox",name:S,tabindex:-1,listSelection:B}),e,a,"@options",[["change","handleListboxChange",!1],["escape","handleListboxEscape",!1]]),e.ee()},{t:x},v);n.Component=V(v,n._);export{xe as _}; diff --git a/docs/assets/index-D9HHMyPY.js b/docs/assets/index-jqtmgouX.js similarity index 89% rename from docs/assets/index-D9HHMyPY.js rename to docs/assets/index-jqtmgouX.js index 1f05842b9..e325706c4 100644 --- a/docs/assets/index-D9HHMyPY.js +++ b/docs/assets/index-jqtmgouX.js @@ -1 +1 @@ -import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-C98gAawF.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="rFxyvFEe",o=p(e);_.r(e,()=>o);const t={};o._=n(function(r,m,a,f,k,y){c(s,{...r,_name:"overflow-vertical-24",_size:"24",_type:"icon",_themes:l},m,a,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; +import{r as _,b as n,d as i,t as p}from"./registry-B-klnak9.js";import{_ as s}from"./index-Bd083XES.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";function l(){return''}const e="rFxyvFEe",o=p(e);_.r(e,()=>o);const t={};o._=n(function(r,m,a,f,k,y){c(s,{...r,_name:"overflow-vertical-24",_size:"24",_type:"icon",_themes:l},m,a,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; diff --git a/docs/assets/index-7ZDkJHis.js b/docs/assets/index-m-NM9nG-.js similarity index 98% rename from docs/assets/index-7ZDkJHis.js rename to docs/assets/index-m-NM9nG-.js index 96b035d72..bcec86798 100644 --- a/docs/assets/index-7ZDkJHis.js +++ b/docs/assets/index-m-NM9nG-.js @@ -1 +1 @@ -import{t as le,r as re,b as ne,f as Z,d as he}from"./registry-B-klnak9.js";import{g as de,l as ee}from"./index-D60qjx8S.js";import{_ as fe,a as oe}from"./index-BymJntAB.js";import{_ as D}from"./render-tag-BBOJ9dEX.js";import{_ as p}from"./index-Bs-h47tU.js";function N(i){i=ee(i);const s=de(i).w,t=new Intl.DateTimeFormat(i,{weekday:"short"}),a=new Date(2022,9,2+s),o=[...Array(7)].map(()=>{const f=t.format(a);return a.setDate(a.getDate()+1),f});return{firstDayOfWeek:s,weekdayLabels:o}}function B(i){if(!i)return;if(/^\d\d\d\d-\d\d-\d\d$/g.test(i))return i;const e=d(new Date(i));return/^\d\d\d\d-\d\d-\d\d$/g.test(e)?e:void 0}function d(i){return i.toISOString().slice(0,10)}function k(i){return new Date(i)}function $(i,e){const s=k(i);return s.setUTCDate(s.getUTCDate()+e),d(s)}const be={ArrowRight:1,ArrowLeft:-1,ArrowDown:7,ArrowUp:-7};class ce extends Marko.Component{onCreate(e){this.locale=e.locale;const{firstDayOfWeek:s,weekdayLabels:t}=N(e.locale),a=d(new Date);this.state={focusISO:null,baseISO:a,tabindexISO:a,todayISO:a,offset:0,firstDayOfWeek:s,weekdayLabels:t,rangeStart:null,rangeEnd:null,disableBefore:null,disableAfter:null,disableWeekdays:[],disableList:[]}}onInput(e){var s;if(e.locale!==this.locale){this.locale=e.locale;const{firstDayOfWeek:t,weekdayLabels:a}=N(e.locale);this.state.firstDayOfWeek=t,this.state.weekdayLabels=a}if(e.todayISO){const t=d(new Date(e.todayISO));this.state.todayISO=t,this.state.baseISO=t,this.state.tabindexISO=t}if(e.selected){const t=Array.isArray(e.selected)?e.selected:[e.selected],a=this.getFirstVisibleISO(),o=this.getLastVisibleISO(e);t.find(c=>c>=a&&c<=o)===void 0&&(this.state.baseISO=this.state.tabindexISO=t[0],this.state.offset=0)}if(this.calculateRangeDisplay(e),this.state.disableBefore=B(e.disableBefore),this.state.disableAfter=B(e.disableAfter),this.state.disableWeekdays=e.disableWeekdays??[],this.state.disableList=((s=e.disableList)==null?void 0:s.map(B))??[],this.isDisabled(this.state.tabindexISO)){const t=this.getFirstActiveISO(e);t?this.state.tabindexISO=t:this.state.disableBefore&&this.state.tabindexISOthis.state.disableAfter&&(this.state.baseISO=this.state.disableAfter,this.state.offset=0,this.state.tabindexISO=this.getFirstActiveISO(e)??this.state.disableAfter)}for(;this.state.disableAfter&&this.getMonthDate(this.state.offset+(e.numMonths||1)-1).toISOString()>this.state.disableAfter;)this.state.offset--}isDisabled(e){return this.state.disableBefore&&ethis.state.disableAfter||this.state.disableWeekdays.includes(k(e).getUTCDay())||this.state.disableList.includes(e)}onDaySelect(e){this.emit("select",{iso:e})}onDayFocus(e){this.state.focusISO=this.state.tabindexISO=e,this.calculateRangeDisplay()}onDayBlur(){this.state.focusISO=null,this.calculateRangeDisplay()}onKeyDown(e){const s=be[e.key];if(s){e.preventDefault();let t=7,a=this.state.tabindexISO;do a=$(a,s);while(t-- >0&&this.isDisabled(a));if(t>0){const o=this.getFirstVisibleISO(),f=this.getLastVisibleISO();af&&(this.input.navigable?this.nextMonth():a=f),this.setTabindexAndFocus(a),this.emit("focus",{iso:this.state.tabindexISO})}}else switch(e.key){case"PageUp":this.prevMonth(!0);break;case"PageDown":this.nextMonth(!0);break;case"Home":{const t=this.getFirstActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}case"End":{const t=this.getLastActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}}}getMonthDate(e){const s=k(this.state.baseISO);return new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+e))}getFirstVisibleISO(){return d(this.getMonthDate(this.state.offset))}getLastVisibleISO(e=this.input){const s=k(this.state.baseISO);return d(new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+this.state.offset+(e.numMonths||1),0)))}getFirstActiveISO(e=this.input){let s=this.getFirstVisibleISO();const t=this.getLastVisibleISO(e);for(;s<=t&&this.isDisabled(s);)s=$(s,1);return s>t?null:s}getLastActiveISO(e=this.input){let s=this.getLastVisibleISO(e);const t=this.getFirstVisibleISO();for(;s>=t&&this.isDisabled(s);)s=$(s,-1);return st&&(s=this.state.tabindexISO=t),e&&this.setTabindexAndFocus(s),this.emit("month-change",{iso:d(this.getMonthDate(this.state.offset))}),!0}nextMonth(e){if(this.state.disableAfter&&this.getLastVisibleISO()>=this.state.disableAfter)return!1;this.state.offset++;let s=this.state.tabindexISO;const t=this.getFirstActiveISO();return t&&this.state.tabindexISO{var s;return(s=this.getEl(e))==null?void 0:s.focus()})}calculateRangeDisplay(e=this.input){if(e.selected&&e.range){let s,t;Array.isArray(e.selected)?[s,t]=e.selected:this.state.focusISO&&(s=e.selected,t=this.state.focusISO),s&&t?sthis.state.rangeEnd)}}const E="LySjvpyj",I=le(E),ye=I;re.r(E,()=>I);const te=ce;I._=ne(function(i,e,s,t,a,o){const{numMonths:f=1,getA11yShowMonthText:c=b=>`Show ${b}`,a11ySelectedText:W="selected",a11yRangeStartText:Y="start of range",a11yInRangeText:R="in range",a11yRangeEndText:j="end of range",a11yTodayText:P="today",a11yDisabledText:K="inactive",a11ySeparator:z=" - ",navigable:se,selected:O,interactive:ae,linkBuilder:H}=i;var q=[...Array(f)].map((b,r)=>t.getMonthDate(a.offset+r));if(e.be("div",{class:"calendar"},"0",t,null,1),se){e.be("div",{class:"calendar__header"},"1",t,null,1),e.be("div",{class:"calendar__header--inner"},"2",t,null,1);{D(p,{transparent:!0,size:"small",disabled:a.disableBefore&&t.getFirstVisibleISO()<=a.disableBefore,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset-1))),renderBody:r=>{D(fe,{},r,s,"4")}},e,s,"3",[["click","prevMonth",!1,[!1]]]);let b=0;for(const r of q||[]){const h=`[${b++}]`;e.be("h3",null,"5"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee()}D(p,{transparent:!0,size:"small",disabled:a.disableAfter&&t.getLastVisibleISO()>=a.disableAfter,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset+f))),renderBody:r=>{D(oe,{},r,s,"7")}},e,s,"6",[["click","nextMonth",!1,[!1]]])}e.ee(),e.ee()}e.be("div",{class:"calendar__body"},"8",t,null,1);{let b=0;for(const r of q||[]){const h=`[${b++}]`;e.be("div",{class:"calendar__month"},"9"+h,t,null,1),e.be("table",null,"10"+h,t,null,0,{onkeydown:s.d("keydown","onKeyDown",!1)}),e.be("caption",null,"11"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee(),e.be("thead",null,"12"+h,t,null,0),e.be("tr",null,"13"+h,t,null,0);{let M=0;for(const g of a.weekdayLabels||[]){const S=`[${M+++h}]`;e.be("th",null,"14"+S,t,null,0),e.t(g,t),e.ee()}}e.ee(),e.ee(),e.be("tbody",null,"15"+h,t,null,0);var y=(r.getUTCDay()-a.firstDayOfWeek+7)%7,G=r.getUTCFullYear(),J=r.getUTCMonth(),w=new Date(G,J+1,0).getDate();for(let M=(Math.floor((y+w)/7)-0)/1,g=0;g<=M;g++){const S=0+g*1,V=`[${S+h}]`;e.be("tr",null,"16"+V,t,null,0);var A=S*7-y+1,x=A+6;S===0&&y!==0?(e.e("td",{colspan:y},"17"+V,t,0,0),A=1):x>w&&(x=w);for(let ie=(x-A)/1,C=0;C<=ie;C++){const u=A+C*1,_=`[${u+V}]`;var l=d(new Date(Date.UTC(G,J,u))),T=l===a.todayISO,F=Array.isArray(O)?O.some(U=>U===l):O&&O===l,m=l===a.rangeStart,Q=t.isInRange(l),L=l===a.rangeEnd,v=t.isDisabled(l),n=[""];if(W&&F&&n.push(W),Y&&m&&n.push(Y),R&&!m&&!L&&Q&&n.push(R),j&&L&&n.push(j),e.be("td",{class:Z({"calendar__cell--selected":F,"calendar__range--start":m,calendar__range:Q,"calendar__range--end":L})},"18"+_,t,null,1),ae)e.be("button",{disabled:v,"aria-label":n.length>1&&`${u}${n.join(z)}`,tabindex:a.tabindexISO!==l&&-1,"aria-current":T&&"date","aria-pressed":F&&"true"},`@${l}`,t,null,0,{onclick:s.d("click","onDaySelect",!1,[l]),onfocus:s.d("focus","onDayFocus",!1,[l]),onmouseover:s.d("mouseover","onDayFocus",!1,[l]),onblur:s.d("blur","onDayBlur",!1),onmouseout:s.d("mouseout","onDayBlur",!1)}),e.t(u,t),e.ee();else{P&&T&&n.push(P),K&&v&&n.push(K);var X=!v&&H&&H(l);const U=X?"a":"span";e.be(U,{class:Z({"calendar__cell--disabled":v,"calendar__cell--current":T}),href:X},"19"+_,t,null,0),e.t(u,t),n.length>1&&(e.be("span",{class:"clipped"},"20"+_,t,null,1),e.t(n.join(z),t),e.ee()),e.ee()}e.ee()}e.ee()}e.ee(),e.ee(),e.ee()}}e.ee(),e.ee()},{t:E},te);I.Component=he(te,I._);export{ye as _,B as d,d as t}; +import{t as le,r as re,b as ne,f as Z,d as he}from"./registry-B-klnak9.js";import{g as de,l as ee}from"./index-D60qjx8S.js";import{_ as fe,a as oe}from"./index-Dm8ZZf1k.js";import{_ as D}from"./render-tag-BBOJ9dEX.js";import{_ as p}from"./index-C4ES2whh.js";function N(i){i=ee(i);const s=de(i).w,t=new Intl.DateTimeFormat(i,{weekday:"short"}),a=new Date(2022,9,2+s),o=[...Array(7)].map(()=>{const f=t.format(a);return a.setDate(a.getDate()+1),f});return{firstDayOfWeek:s,weekdayLabels:o}}function B(i){if(!i)return;if(/^\d\d\d\d-\d\d-\d\d$/g.test(i))return i;const e=d(new Date(i));return/^\d\d\d\d-\d\d-\d\d$/g.test(e)?e:void 0}function d(i){return i.toISOString().slice(0,10)}function k(i){return new Date(i)}function $(i,e){const s=k(i);return s.setUTCDate(s.getUTCDate()+e),d(s)}const be={ArrowRight:1,ArrowLeft:-1,ArrowDown:7,ArrowUp:-7};class ce extends Marko.Component{onCreate(e){this.locale=e.locale;const{firstDayOfWeek:s,weekdayLabels:t}=N(e.locale),a=d(new Date);this.state={focusISO:null,baseISO:a,tabindexISO:a,todayISO:a,offset:0,firstDayOfWeek:s,weekdayLabels:t,rangeStart:null,rangeEnd:null,disableBefore:null,disableAfter:null,disableWeekdays:[],disableList:[]}}onInput(e){var s;if(e.locale!==this.locale){this.locale=e.locale;const{firstDayOfWeek:t,weekdayLabels:a}=N(e.locale);this.state.firstDayOfWeek=t,this.state.weekdayLabels=a}if(e.todayISO){const t=d(new Date(e.todayISO));this.state.todayISO=t,this.state.baseISO=t,this.state.tabindexISO=t}if(e.selected){const t=Array.isArray(e.selected)?e.selected:[e.selected],a=this.getFirstVisibleISO(),o=this.getLastVisibleISO(e);t.find(c=>c>=a&&c<=o)===void 0&&(this.state.baseISO=this.state.tabindexISO=t[0],this.state.offset=0)}if(this.calculateRangeDisplay(e),this.state.disableBefore=B(e.disableBefore),this.state.disableAfter=B(e.disableAfter),this.state.disableWeekdays=e.disableWeekdays??[],this.state.disableList=((s=e.disableList)==null?void 0:s.map(B))??[],this.isDisabled(this.state.tabindexISO)){const t=this.getFirstActiveISO(e);t?this.state.tabindexISO=t:this.state.disableBefore&&this.state.tabindexISOthis.state.disableAfter&&(this.state.baseISO=this.state.disableAfter,this.state.offset=0,this.state.tabindexISO=this.getFirstActiveISO(e)??this.state.disableAfter)}for(;this.state.disableAfter&&this.getMonthDate(this.state.offset+(e.numMonths||1)-1).toISOString()>this.state.disableAfter;)this.state.offset--}isDisabled(e){return this.state.disableBefore&&ethis.state.disableAfter||this.state.disableWeekdays.includes(k(e).getUTCDay())||this.state.disableList.includes(e)}onDaySelect(e){this.emit("select",{iso:e})}onDayFocus(e){this.state.focusISO=this.state.tabindexISO=e,this.calculateRangeDisplay()}onDayBlur(){this.state.focusISO=null,this.calculateRangeDisplay()}onKeyDown(e){const s=be[e.key];if(s){e.preventDefault();let t=7,a=this.state.tabindexISO;do a=$(a,s);while(t-- >0&&this.isDisabled(a));if(t>0){const o=this.getFirstVisibleISO(),f=this.getLastVisibleISO();af&&(this.input.navigable?this.nextMonth():a=f),this.setTabindexAndFocus(a),this.emit("focus",{iso:this.state.tabindexISO})}}else switch(e.key){case"PageUp":this.prevMonth(!0);break;case"PageDown":this.nextMonth(!0);break;case"Home":{const t=this.getFirstActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}case"End":{const t=this.getLastActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}}}getMonthDate(e){const s=k(this.state.baseISO);return new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+e))}getFirstVisibleISO(){return d(this.getMonthDate(this.state.offset))}getLastVisibleISO(e=this.input){const s=k(this.state.baseISO);return d(new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+this.state.offset+(e.numMonths||1),0)))}getFirstActiveISO(e=this.input){let s=this.getFirstVisibleISO();const t=this.getLastVisibleISO(e);for(;s<=t&&this.isDisabled(s);)s=$(s,1);return s>t?null:s}getLastActiveISO(e=this.input){let s=this.getLastVisibleISO(e);const t=this.getFirstVisibleISO();for(;s>=t&&this.isDisabled(s);)s=$(s,-1);return st&&(s=this.state.tabindexISO=t),e&&this.setTabindexAndFocus(s),this.emit("month-change",{iso:d(this.getMonthDate(this.state.offset))}),!0}nextMonth(e){if(this.state.disableAfter&&this.getLastVisibleISO()>=this.state.disableAfter)return!1;this.state.offset++;let s=this.state.tabindexISO;const t=this.getFirstActiveISO();return t&&this.state.tabindexISO{var s;return(s=this.getEl(e))==null?void 0:s.focus()})}calculateRangeDisplay(e=this.input){if(e.selected&&e.range){let s,t;Array.isArray(e.selected)?[s,t]=e.selected:this.state.focusISO&&(s=e.selected,t=this.state.focusISO),s&&t?sthis.state.rangeEnd)}}const E="LySjvpyj",I=le(E),ye=I;re.r(E,()=>I);const te=ce;I._=ne(function(i,e,s,t,a,o){const{numMonths:f=1,getA11yShowMonthText:c=b=>`Show ${b}`,a11ySelectedText:W="selected",a11yRangeStartText:Y="start of range",a11yInRangeText:R="in range",a11yRangeEndText:j="end of range",a11yTodayText:P="today",a11yDisabledText:K="inactive",a11ySeparator:z=" - ",navigable:se,selected:O,interactive:ae,linkBuilder:H}=i;var q=[...Array(f)].map((b,r)=>t.getMonthDate(a.offset+r));if(e.be("div",{class:"calendar"},"0",t,null,1),se){e.be("div",{class:"calendar__header"},"1",t,null,1),e.be("div",{class:"calendar__header--inner"},"2",t,null,1);{D(p,{transparent:!0,size:"small",disabled:a.disableBefore&&t.getFirstVisibleISO()<=a.disableBefore,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset-1))),renderBody:r=>{D(fe,{},r,s,"4")}},e,s,"3",[["click","prevMonth",!1,[!1]]]);let b=0;for(const r of q||[]){const h=`[${b++}]`;e.be("h3",null,"5"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee()}D(p,{transparent:!0,size:"small",disabled:a.disableAfter&&t.getLastVisibleISO()>=a.disableAfter,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset+f))),renderBody:r=>{D(oe,{},r,s,"7")}},e,s,"6",[["click","nextMonth",!1,[!1]]])}e.ee(),e.ee()}e.be("div",{class:"calendar__body"},"8",t,null,1);{let b=0;for(const r of q||[]){const h=`[${b++}]`;e.be("div",{class:"calendar__month"},"9"+h,t,null,1),e.be("table",null,"10"+h,t,null,0,{onkeydown:s.d("keydown","onKeyDown",!1)}),e.be("caption",null,"11"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee(),e.be("thead",null,"12"+h,t,null,0),e.be("tr",null,"13"+h,t,null,0);{let M=0;for(const g of a.weekdayLabels||[]){const S=`[${M+++h}]`;e.be("th",null,"14"+S,t,null,0),e.t(g,t),e.ee()}}e.ee(),e.ee(),e.be("tbody",null,"15"+h,t,null,0);var y=(r.getUTCDay()-a.firstDayOfWeek+7)%7,G=r.getUTCFullYear(),J=r.getUTCMonth(),w=new Date(G,J+1,0).getDate();for(let M=(Math.floor((y+w)/7)-0)/1,g=0;g<=M;g++){const S=0+g*1,V=`[${S+h}]`;e.be("tr",null,"16"+V,t,null,0);var A=S*7-y+1,x=A+6;S===0&&y!==0?(e.e("td",{colspan:y},"17"+V,t,0,0),A=1):x>w&&(x=w);for(let ie=(x-A)/1,C=0;C<=ie;C++){const u=A+C*1,_=`[${u+V}]`;var l=d(new Date(Date.UTC(G,J,u))),T=l===a.todayISO,F=Array.isArray(O)?O.some(U=>U===l):O&&O===l,m=l===a.rangeStart,Q=t.isInRange(l),L=l===a.rangeEnd,v=t.isDisabled(l),n=[""];if(W&&F&&n.push(W),Y&&m&&n.push(Y),R&&!m&&!L&&Q&&n.push(R),j&&L&&n.push(j),e.be("td",{class:Z({"calendar__cell--selected":F,"calendar__range--start":m,calendar__range:Q,"calendar__range--end":L})},"18"+_,t,null,1),ae)e.be("button",{disabled:v,"aria-label":n.length>1&&`${u}${n.join(z)}`,tabindex:a.tabindexISO!==l&&-1,"aria-current":T&&"date","aria-pressed":F&&"true"},`@${l}`,t,null,0,{onclick:s.d("click","onDaySelect",!1,[l]),onfocus:s.d("focus","onDayFocus",!1,[l]),onmouseover:s.d("mouseover","onDayFocus",!1,[l]),onblur:s.d("blur","onDayBlur",!1),onmouseout:s.d("mouseout","onDayBlur",!1)}),e.t(u,t),e.ee();else{P&&T&&n.push(P),K&&v&&n.push(K);var X=!v&&H&&H(l);const U=X?"a":"span";e.be(U,{class:Z({"calendar__cell--disabled":v,"calendar__cell--current":T}),href:X},"19"+_,t,null,0),e.t(u,t),n.length>1&&(e.be("span",{class:"clipped"},"20"+_,t,null,1),e.t(n.join(z),t),e.ee()),e.ee()}e.ee()}e.ee()}e.ee(),e.ee(),e.ee()}}e.ee(),e.ee()},{t:E},te);I.Component=he(te,I._);export{ye as _,B as d,d as t}; diff --git a/docs/assets/index-Da936fmF.js b/docs/assets/index-mq5ZSGt9.js similarity index 94% rename from docs/assets/index-Da936fmF.js rename to docs/assets/index-mq5ZSGt9.js index 103bf3bbc..21ada7636 100644 --- a/docs/assets/index-Da936fmF.js +++ b/docs/assets/index-mq5ZSGt9.js @@ -1 +1 @@ -import{t as N,r as q,b as G,e as Q,p as X,f as Y,g as Z,d as D}from"./registry-B-klnak9.js";/* empty css */import{_ as ee}from"./index-Bs-h47tU.js";import{_ as te}from"./index-BVSy80fu.js";import{_ as ae}from"./index-BbpEJ8Sy.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{_ as k}from"./dynamic-tag-DQCvkDdb.js";import{_ as se}from"./index-BJBnaEG2.js";import{i as ne,r as le}from"./attr-tag-DphMQldM.js";import{C as ie}from"./index-C6YqmUHN.js";import{s as re}from"./index-D7B88Psz.js";import{a as oe,h as de}from"./index-blmbJU0z.js";import{M as pe,s as he}from"./index-DYoOQ_vw.js";class ue extends pe{onCreate(){he(this)}toggleItemChecked(t,e,a){const n=this.isRadio()&&t!==this.state.checkedIndex;this.toggleChecked(t),n?(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:"change",el:e,originalEvent:a})):this.type!=="radio"&&(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:this.type?"change":"select",el:e,originalEvent:a}))}handleItemClick(t,e,a){this.toggleItemChecked(t,a,e)}handleMenuKeydown({el:t,originalEvent:e,index:a}){e!==void 0&&(oe(e,()=>{this.handleItemClick(a??0,e,t)}),de(e,()=>{this.expander.expanded=!1,this.focus()}))}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.input.disabled||this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.input.disabled||this.emitComponentEvent({eventType:"collapse"})}handleMenuChange({el:t,originalEvent:e,index:a}){this.toggleItemChecked(a??0,t,e)}handleMenuSelect({el:t,originalEvent:e,index:a}){this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:a})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:a,index:n}){const c=this.getCheckedIndexes(),r=this.type==="checkbox",l={el:e,originalEvent:a};r&&c&&c.length>1?Object.assign(l,{indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):r||this.isRadio()?Object.assign(l,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):t!=="expand"&&t!=="collapse"&&Object.assign(l,{index:n,checked:[n]}),this.emit(`${t}`,l)}onInput(t){this.state=this.getInputState(t)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new re(this.el,{hostSelector:".menu-button__button",contentSelector:".menu-button__menu",focusManagement:"focusable",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const b="puReAHJk",i=N(b),Ee=i;q.r(b,()=>i);const V=ue;i._=G(function(x,t,e,a,n,c){const{class:r,style:l,type:T,text:_,icon:y,a11yText:$,noToggleIcon:R,reverse:j,fixWidth:K,borderless:g,size:A,partiallyDisabled:H,priority:L,disabled:z,variant:m,items:F,label:f,prefixLabel:C,prefixId:v,split:P,collapseOnSelect:ce,transparent:U,...W}=x;var o=v&&a.getElId("label"),M=m==="form",I,d=m==="overflow",p=!1,w=null;g&&(d=!1,M=!1);var E=m==="icon"||d;h=te;var h;E?h=ee:M?(I="form",p=!0):(p=!0,w=L);var O=0;t.be("span",Q(X(W),{class:Y(["menu-button",r]),style:Z(l)}),"0",a,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{const B=s=>{d?u(ae,{},s,e,"1"):(f?C?(s.be("span",{class:"menu-button-prefix-label"},"2",a,null,1),s.t(C,a),s.ee(),k(s,f.renderBody,null,null,null,null,e,"3")):(s.be("span",{id:o},"4",a,null,1),k(s,f.renderBody,null,null,null,null,e,"5"),s.ee()):(y&&k(s,y,null,null,null,null,e,"6"),_&&(s.be("span",{id:o},"7",a,null,1),s.t(_,a),s.ee())),p&&!R&&u(se,{},s,e,"8"))};h?u(h,{class:["menu-button__button"],size:A,priority:w,borderless:g,variant:I,ariaExpanded:"false",ariaHaspopup:"true",transparent:E&&U,ariaLabel:$,ariaLabelledby:o&&`${v} ${o}`,split:p?P:void 0,disabled:z,partiallyDisabled:H,renderBody:B},t,e,"@button",[["escape","handleButtonEscape",!1]]):B(t),u(ie,ne(()=>{let s=0;for(const S of F||[]){let J=s++;S.separator&&O++,le("items",{...S,checked:a.isChecked(J-O)})}},{classPrefix:"menu-button",type:T,reverse:d!==!!j,fixWidth:K,tabindex:-1}),t,e,"@content",[["keydown","handleMenuKeydown",!1],["change","handleMenuChange",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:b},V);i.Component=D(V,i._);export{Ee as _}; +import{t as N,r as q,b as G,e as Q,p as X,f as Y,g as Z,d as D}from"./registry-B-klnak9.js";/* empty css */import{_ as ee}from"./index-C4ES2whh.js";import{_ as te}from"./index-BXYtdDDf.js";import{_ as ae}from"./index-CwdE1cRz.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{_ as k}from"./dynamic-tag-DQCvkDdb.js";import{_ as se}from"./index-BrKjH8jr.js";import{i as ne,r as le}from"./attr-tag-DphMQldM.js";import{C as ie}from"./index-CGMjGv4Y.js";import{s as re}from"./index-D7B88Psz.js";import{a as oe,h as de}from"./index-blmbJU0z.js";import{M as pe,s as he}from"./index-DYoOQ_vw.js";class ue extends pe{onCreate(){he(this)}toggleItemChecked(t,e,a){const n=this.isRadio()&&t!==this.state.checkedIndex;this.toggleChecked(t),n?(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:"change",el:e,originalEvent:a})):this.type!=="radio"&&(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:this.type?"change":"select",el:e,originalEvent:a}))}handleItemClick(t,e,a){this.toggleItemChecked(t,a,e)}handleMenuKeydown({el:t,originalEvent:e,index:a}){e!==void 0&&(oe(e,()=>{this.handleItemClick(a??0,e,t)}),de(e,()=>{this.expander.expanded=!1,this.focus()}))}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.input.disabled||this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.input.disabled||this.emitComponentEvent({eventType:"collapse"})}handleMenuChange({el:t,originalEvent:e,index:a}){this.toggleItemChecked(a??0,t,e)}handleMenuSelect({el:t,originalEvent:e,index:a}){this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:a})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:a,index:n}){const c=this.getCheckedIndexes(),r=this.type==="checkbox",l={el:e,originalEvent:a};r&&c&&c.length>1?Object.assign(l,{indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):r||this.isRadio()?Object.assign(l,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):t!=="expand"&&t!=="collapse"&&Object.assign(l,{index:n,checked:[n]}),this.emit(`${t}`,l)}onInput(t){this.state=this.getInputState(t)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new re(this.el,{hostSelector:".menu-button__button",contentSelector:".menu-button__menu",focusManagement:"focusable",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const b="puReAHJk",i=N(b),Ee=i;q.r(b,()=>i);const V=ue;i._=G(function(x,t,e,a,n,c){const{class:r,style:l,type:T,text:_,icon:y,a11yText:$,noToggleIcon:R,reverse:j,fixWidth:K,borderless:g,size:A,partiallyDisabled:H,priority:L,disabled:z,variant:m,items:F,label:f,prefixLabel:C,prefixId:v,split:P,collapseOnSelect:ce,transparent:U,...W}=x;var o=v&&a.getElId("label"),M=m==="form",I,d=m==="overflow",p=!1,w=null;g&&(d=!1,M=!1);var E=m==="icon"||d;h=te;var h;E?h=ee:M?(I="form",p=!0):(p=!0,w=L);var O=0;t.be("span",Q(X(W),{class:Y(["menu-button",r]),style:Z(l)}),"0",a,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{const B=s=>{d?u(ae,{},s,e,"1"):(f?C?(s.be("span",{class:"menu-button-prefix-label"},"2",a,null,1),s.t(C,a),s.ee(),k(s,f.renderBody,null,null,null,null,e,"3")):(s.be("span",{id:o},"4",a,null,1),k(s,f.renderBody,null,null,null,null,e,"5"),s.ee()):(y&&k(s,y,null,null,null,null,e,"6"),_&&(s.be("span",{id:o},"7",a,null,1),s.t(_,a),s.ee())),p&&!R&&u(se,{},s,e,"8"))};h?u(h,{class:["menu-button__button"],size:A,priority:w,borderless:g,variant:I,ariaExpanded:"false",ariaHaspopup:"true",transparent:E&&U,ariaLabel:$,ariaLabelledby:o&&`${v} ${o}`,split:p?P:void 0,disabled:z,partiallyDisabled:H,renderBody:B},t,e,"@button",[["escape","handleButtonEscape",!1]]):B(t),u(ie,ne(()=>{let s=0;for(const S of F||[]){let J=s++;S.separator&&O++,le("items",{...S,checked:a.isChecked(J-O)})}},{classPrefix:"menu-button",type:T,reverse:d!==!!j,fixWidth:K,tabindex:-1}),t,e,"@content",[["keydown","handleMenuKeydown",!1],["change","handleMenuChange",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:b},V);i.Component=D(V,i._);export{Ee as _}; diff --git a/docs/assets/index-CPjbzSHA.js b/docs/assets/index-rUVBX3lJ.js similarity index 95% rename from docs/assets/index-CPjbzSHA.js rename to docs/assets/index-rUVBX3lJ.js index 1f263d510..be582fd4a 100644 --- a/docs/assets/index-CPjbzSHA.js +++ b/docs/assets/index-rUVBX3lJ.js @@ -1 +1 @@ -import{r as _,b as r,d as p,t as s}from"./registry-B-klnak9.js";import{_ as c}from"./index-C98gAawF.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function v(){return''}const l="VRIWHgvb",n=s(l);_.r(l,()=>n);const $={};n._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"chevron-right-16",_size:"16",_type:"icon",_themes:v},t,e,"0")},{t:l,i:!0},$);n.Component=p($,n._);function g(){return''}const b="st$ewFAm",m=s(b);_.r(b,()=>m);const f={};m._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"play-24",_size:"24",_type:"icon",_themes:g},t,e,"0")},{t:b,i:!0},f);m.Component=p(f,m._);function C(){return''}const y="JaRvRXbj",a=s(y);_.r(y,()=>a);const d={};a._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"pause-24",_size:"24",_type:"icon",_themes:C},t,e,"0")},{t:y,i:!0},d);a.Component=p(d,a._);export{n as _,m as a,a as b}; +import{r as _,b as r,d as p,t as s}from"./registry-B-klnak9.js";import{_ as c}from"./index-Bd083XES.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";function v(){return''}const l="VRIWHgvb",n=s(l);_.r(l,()=>n);const $={};n._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"chevron-right-16",_size:"16",_type:"icon",_themes:v},t,e,"0")},{t:l,i:!0},$);n.Component=p($,n._);function g(){return''}const b="st$ewFAm",m=s(b);_.r(b,()=>m);const f={};m._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"play-24",_size:"24",_type:"icon",_themes:g},t,e,"0")},{t:b,i:!0},f);m.Component=p(f,m._);function C(){return''}const y="JaRvRXbj",a=s(y);_.r(y,()=>a);const d={};a._=r(function(o,t,e,u,h,k){i(c,{...o,_name:"pause-24",_size:"24",_type:"icon",_themes:C},t,e,"0")},{t:y,i:!0},d);a.Component=p(d,a._);export{n as _,m as a,a as b}; diff --git a/docs/assets/infotip.stories-CHzsZRdQ.js b/docs/assets/infotip.stories-78n3Q0Hd.js similarity index 95% rename from docs/assets/infotip.stories-CHzsZRdQ.js rename to docs/assets/infotip.stories-78n3Q0Hd.js index 8d366d30c..a2dbdc19a 100644 --- a/docs/assets/infotip.stories-CHzsZRdQ.js +++ b/docs/assets/infotip.stories-78n3Q0Hd.js @@ -1,4 +1,4 @@ -import{b as A}from"./utils-DWCsNc5l.js";import{t as h,r as _,b as g,e as Q,p as W,f as L,d as x}from"./registry-B-klnak9.js";/* empty css */import{_ as y}from"./dynamic-tag-DQCvkDdb.js";import{_ as X}from"./index-Cq6EH_VK.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as Y,a as Z}from"./index-DiTsWp84.js";import{i as C,a as r}from"./attr-tag-DphMQldM.js";import{_ as ee}from"./index-CY_AuJ-_.js";import{_ as j}from"./const-element-Usj7mXQw.js";import{_ as te}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";import"./index-DX0IFE80.js";import"./index-C_i8Cqa-.js";import"./index-blmbJU0z.js";const ne=`

+import{b as A}from"./utils-DWCsNc5l.js";import{t as h,r as _,b as g,e as Q,p as W,f as L,d as x}from"./registry-B-klnak9.js";/* empty css */import{_ as y}from"./dynamic-tag-DQCvkDdb.js";import{_ as X}from"./index-BXbxPOVo.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as Y,a as Z}from"./index-DpkNtl2T.js";import{i as C,a as r}from"./attr-tag-DphMQldM.js";import{_ as ee}from"./index-BWfkz_xl.js";import{_ as j}from"./const-element-Usj7mXQw.js";import{_ as te}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-A0egsrj7.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";import"./index-DubLym3o.js";import"./index-C_i8Cqa-.js";import"./index-blmbJU0z.js";const ne=`

ebay-infotip diff --git a/docs/assets/inline-notice.stories-CshTVs3f.js b/docs/assets/inline-notice.stories-BXLDBPMw.js similarity index 90% rename from docs/assets/inline-notice.stories-CshTVs3f.js rename to docs/assets/inline-notice.stories-BXLDBPMw.js index 480a237e8..0a3439915 100644 --- a/docs/assets/inline-notice.stories-CshTVs3f.js +++ b/docs/assets/inline-notice.stories-BXLDBPMw.js @@ -1,4 +1,4 @@ -import{b as $}from"./utils-DWCsNc5l.js";import{t as u,r as f,b as h,d as b}from"./registry-B-klnak9.js";import{_ as w}from"./index-DGqSaLp8.js";import{_}from"./render-tag-BBOJ9dEX.js";import{_ as y}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-BEWuf5iQ.js";import"./index-C98gAawF.js";/* empty css */import"./index-HhsN8ych.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-Cm_Gb0Br.js";import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const S=`

+import{b as $}from"./utils-DWCsNc5l.js";import{t as u,r as f,b as h,d as b}from"./registry-B-klnak9.js";import{_ as w}from"./index-DMrvDz2r.js";import{_}from"./render-tag-BBOJ9dEX.js";import{_ as y}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DYM8JJUZ.js";import"./index-Bd083XES.js";/* empty css */import"./index-Dm3YPrSu.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-A0egsrj7.js";import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const S=`

ebay-inline-notice diff --git a/docs/assets/lightbox-dialog.stories-rAqI2p9C.js b/docs/assets/lightbox-dialog.stories-Jo8L-dSJ.js similarity index 97% rename from docs/assets/lightbox-dialog.stories-rAqI2p9C.js rename to docs/assets/lightbox-dialog.stories-Jo8L-dSJ.js index 5ec411eab..4a00f70fc 100644 --- a/docs/assets/lightbox-dialog.stories-rAqI2p9C.js +++ b/docs/assets/lightbox-dialog.stories-Jo8L-dSJ.js @@ -1,4 +1,4 @@ -import{b as T,a as te}from"./utils-DWCsNc5l.js";import{t as w,r as v,b as k,d as D}from"./registry-B-klnak9.js";import{_ as ne}from"./dynamic-tag-DQCvkDdb.js";import{i as _,a as c}from"./attr-tag-DphMQldM.js";import{_ as l}from"./const-element-Usj7mXQw.js";import{_ as C}from"./index-CY_AuJ-_.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";import{_ as B}from"./index-BVSy80fu.js";import{_ as ae}from"./index-PUyx66vy.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DX0IFE80.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const ie=`

+import{b as T,a as te}from"./utils-DWCsNc5l.js";import{t as w,r as v,b as k,d as D}from"./registry-B-klnak9.js";import{_ as ne}from"./dynamic-tag-DQCvkDdb.js";import{i as _,a as c}from"./attr-tag-DphMQldM.js";import{_ as l}from"./const-element-Usj7mXQw.js";import{_ as C}from"./index-BWfkz_xl.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";import{_ as B}from"./index-BXYtdDDf.js";import{_ as ae}from"./index-e6O6vD3k.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DubLym3o.js";/* empty css */import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const ie=`

ebay-lightbox-dialog diff --git a/docs/assets/listbox-button.stories-CcnZs62b.js b/docs/assets/listbox-button.stories-MBpt1JqT.js similarity index 95% rename from docs/assets/listbox-button.stories-CcnZs62b.js rename to docs/assets/listbox-button.stories-MBpt1JqT.js index 1ae1cf791..2fe6680bc 100644 --- a/docs/assets/listbox-button.stories-CcnZs62b.js +++ b/docs/assets/listbox-button.stories-MBpt1JqT.js @@ -1,4 +1,4 @@ -import{t as N}from"./index-CCz6reEH.js";import{b as k,a as F}from"./utils-DWCsNc5l.js";import{_ as u}from"./index-CpqkYYWb.js";import{r as C,b as S,d as D,t as B}from"./registry-B-klnak9.js";import{i as r,r as i,a as m}from"./attr-tag-DphMQldM.js";import{_ as b}from"./render-tag-BBOJ9dEX.js";import{_ as V}from"./empty-component-BCB5DEsP.js";import{_ as R}from"./index-HhsN8ych.js";import{_ as z}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-ClSYtjPE.js";import"./index-C98gAawF.js";/* empty css */import"./index-CJRseQ2S.js";import"./index-BHuZwrkj.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-eGtaP7gF.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const M=`

+import{t as N}from"./index-CCz6reEH.js";import{b as k,a as F}from"./utils-DWCsNc5l.js";import{_ as u}from"./index-iDRTPR-o.js";import{r as C,b as S,d as D,t as B}from"./registry-B-klnak9.js";import{i as r,r as i,a as m}from"./attr-tag-DphMQldM.js";import{_ as b}from"./render-tag-BBOJ9dEX.js";import{_ as V}from"./empty-component-BCB5DEsP.js";import{_ as R}from"./index-Dm3YPrSu.js";import{_ as z}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-CL0domC_.js";import"./index-Bd083XES.js";/* empty css */import"./index-BBcDbpTN.js";import"./index-DO9To3q6.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-eGtaP7gF.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const M=`

ebay-listbox-button diff --git a/docs/assets/listbox.stories-aPLw6fQM.js b/docs/assets/listbox.stories-C28rQmnb.js similarity index 95% rename from docs/assets/listbox.stories-aPLw6fQM.js rename to docs/assets/listbox.stories-C28rQmnb.js index df3b730df..84a19e916 100644 --- a/docs/assets/listbox.stories-aPLw6fQM.js +++ b/docs/assets/listbox.stories-C28rQmnb.js @@ -1,4 +1,4 @@ -import{b as O,a as _}from"./utils-DWCsNc5l.js";import{t as k}from"./index-CCz6reEH.js";import{C as x}from"./index-CJRseQ2S.js";import{r as v,b as w,d as C,t as T}from"./registry-B-klnak9.js";import{i,r,a as s}from"./attr-tag-DphMQldM.js";import{_ as D}from"./render-tag-BBOJ9dEX.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-BHuZwrkj.js";import"./index-C98gAawF.js";/* empty css */import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const S=`

+import{b as O,a as _}from"./utils-DWCsNc5l.js";import{t as k}from"./index-CCz6reEH.js";import{C as x}from"./index-BBcDbpTN.js";import{r as v,b as w,d as C,t as T}from"./registry-B-klnak9.js";import{i,r,a as s}from"./attr-tag-DphMQldM.js";import{_ as D}from"./render-tag-BBOJ9dEX.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-DO9To3q6.js";import"./index-Bd083XES.js";/* empty css */import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const S=`

ebay-listbox diff --git a/docs/assets/media-dhOAefM4.js b/docs/assets/media-DDi8DWC3.js similarity index 82% rename from docs/assets/media-dhOAefM4.js rename to docs/assets/media-DDi8DWC3.js index 42396f2d5..0dc4e8e7c 100644 --- a/docs/assets/media-dhOAefM4.js +++ b/docs/assets/media-DDi8DWC3.js @@ -1,3 +1,3 @@ -import{j as e,M as r}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as s}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const n={h1:"h1",p:"p",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"media/Overview"}),` +import{j as e,M as r}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as s}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function o(t){const n={h1:"h1",p:"p",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"media/Overview"}),` `,e.jsx(n.h1,{id:"media-components",children:"Media Components"}),` `,e.jsx(n.p,{children:"These components are used to house media for the user, such as images and video."})]})}function x(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{x as default}; diff --git a/docs/assets/menu-button.stories-CLD7uvq8.js b/docs/assets/menu-button.stories-tPzkhZUW.js similarity index 96% rename from docs/assets/menu-button.stories-CLD7uvq8.js rename to docs/assets/menu-button.stories-tPzkhZUW.js index f30f98765..da94f20d7 100644 --- a/docs/assets/menu-button.stories-CLD7uvq8.js +++ b/docs/assets/menu-button.stories-tPzkhZUW.js @@ -1,4 +1,4 @@ -import{t as oe}from"./index-CCz6reEH.js";import{b as u,a as ie}from"./utils-DWCsNc5l.js";import{r as b,b as y,d as h,t as g}from"./registry-B-klnak9.js";import{i as x,r as n,a as X}from"./attr-tag-DphMQldM.js";import{_ as d}from"./index-Da936fmF.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import{_ as re}from"./index-CylBVrvT.js";import{_ as o}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-BVSy80fu.js";import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-BbpEJ8Sy.js";import"./index-BJBnaEG2.js";import"./index-C6YqmUHN.js";/* empty css */import"./index-BHuZwrkj.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";const se=`

+import{t as oe}from"./index-CCz6reEH.js";import{b as u,a as ie}from"./utils-DWCsNc5l.js";import{r as b,b as y,d as h,t as g}from"./registry-B-klnak9.js";import{i as x,r as n,a as X}from"./attr-tag-DphMQldM.js";import{_ as d}from"./index-mq5ZSGt9.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import{_ as re}from"./index-59xVm8Y_.js";import{_ as o}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";import"./index-BXYtdDDf.js";import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-CwdE1cRz.js";import"./index-BrKjH8jr.js";import"./index-CGMjGv4Y.js";/* empty css */import"./index-DO9To3q6.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";const se=`

ebay-menu-button diff --git a/docs/assets/menu.stories-CFGsUggJ.js b/docs/assets/menu.stories-DXHoH0P5.js similarity index 98% rename from docs/assets/menu.stories-CFGsUggJ.js rename to docs/assets/menu.stories-DXHoH0P5.js index 8bea016bc..58dc990df 100644 --- a/docs/assets/menu.stories-CFGsUggJ.js +++ b/docs/assets/menu.stories-DXHoH0P5.js @@ -1,4 +1,4 @@ -import{b,a as U}from"./utils-DWCsNc5l.js";import{t as X}from"./index-CCz6reEH.js";import{C as m}from"./index-C6YqmUHN.js";import{r as k,b as f,d as x,t as B}from"./registry-B-klnak9.js";import{i as _,r as n}from"./attr-tag-DphMQldM.js";import{_ as w}from"./render-tag-BBOJ9dEX.js";import{_ as T}from"./empty-component-BCB5DEsP.js";import{_ as r}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-BHuZwrkj.js";import"./index-C98gAawF.js";/* empty css */import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const Y=`

+import{b,a as U}from"./utils-DWCsNc5l.js";import{t as X}from"./index-CCz6reEH.js";import{C as m}from"./index-CGMjGv4Y.js";import{r as k,b as f,d as x,t as B}from"./registry-B-klnak9.js";import{i as _,r as n}from"./attr-tag-DphMQldM.js";import{_ as w}from"./render-tag-BBOJ9dEX.js";import{_ as T}from"./empty-component-BCB5DEsP.js";import{_ as r}from"./const-element-Usj7mXQw.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-B6IacUrT.js";import"./index-DO9To3q6.js";import"./index-Bd083XES.js";/* empty css */import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-DYoOQ_vw.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const Y=`

ebay-menu diff --git a/docs/assets/navigation-and-disclosure-CPf4bOpq.js b/docs/assets/navigation-and-disclosure-CU_EdiMb.js similarity index 85% rename from docs/assets/navigation-and-disclosure-CPf4bOpq.js rename to docs/assets/navigation-and-disclosure-CU_EdiMb.js index 754441afc..af1e0c227 100644 --- a/docs/assets/navigation-and-disclosure-CPf4bOpq.js +++ b/docs/assets/navigation-and-disclosure-CU_EdiMb.js @@ -1,3 +1,3 @@ -import{j as n,M as s}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as i}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(t){const o={h1:"h1",p:"p",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"navigation & disclosure/Overview"}),` +import{j as n,M as s}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as i}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(t){const o={h1:"h1",p:"p",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"navigation & disclosure/Overview"}),` `,n.jsx(o.h1,{id:"navigation-and-disclosure-components",children:"Navigation and Disclosure Components"}),` `,n.jsx(o.p,{children:"Navigation components bring the user to a new page, and disclosure components show information to the user that was originally hidden."})]})}function l(t={}){const{wrapper:o}={...i(),...t.components};return o?n.jsx(o,{...t,children:n.jsx(e,{...t})}):e(t)}export{l as default}; diff --git a/docs/assets/notices-and-tips-D-ixMYOY.js b/docs/assets/notices-and-tips-BAVA677o.js similarity index 84% rename from docs/assets/notices-and-tips-D-ixMYOY.js rename to docs/assets/notices-and-tips-BAVA677o.js index 2f6bddc55..2a72553bb 100644 --- a/docs/assets/notices-and-tips-D-ixMYOY.js +++ b/docs/assets/notices-and-tips-BAVA677o.js @@ -1,3 +1,3 @@ -import{j as t,M as r}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as i}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...i(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(r,{title:"notices & tips/Overview"}),` +import{j as t,M as r}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as i}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(n){const o={h1:"h1",p:"p",...i(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(r,{title:"notices & tips/Overview"}),` `,t.jsx(o.h1,{id:"notice-and-tip-components",children:"Notice and Tip Components"}),` `,t.jsx(o.p,{children:"These components are used to draw attention to certain pieces of information, or provide the user with clarification."})]})}function x(n={}){const{wrapper:o}={...i(),...n.components};return o?t.jsx(o,{...n,children:t.jsx(e,{...n})}):e(n)}export{x as default}; diff --git a/docs/assets/page-notice.stories-DyoS31TG.js b/docs/assets/page-notice.stories-BWQyc_Cj.js similarity index 95% rename from docs/assets/page-notice.stories-DyoS31TG.js rename to docs/assets/page-notice.stories-BWQyc_Cj.js index 6b66f3af1..6be91d51e 100644 --- a/docs/assets/page-notice.stories-DyoS31TG.js +++ b/docs/assets/page-notice.stories-BWQyc_Cj.js @@ -1,4 +1,4 @@ -import{t as V}from"./index-CCz6reEH.js";import{a as F}from"./utils-DWCsNc5l.js";import{t as g,r as f,b,d as _}from"./registry-B-klnak9.js";/* empty css */import{_ as U}from"./index-DGqSaLp8.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as c}from"./const-element-Usj7mXQw.js";import{i as P,a as u}from"./attr-tag-DphMQldM.js";import{_ as j}from"./index-B3D3pI-7.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-BEWuf5iQ.js";import"./index-C98gAawF.js";import"./index-HhsN8ych.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-Cm_Gb0Br.js";import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const z=`

+import{t as V}from"./index-CCz6reEH.js";import{a as F}from"./utils-DWCsNc5l.js";import{t as g,r as f,b,d as _}from"./registry-B-klnak9.js";/* empty css */import{_ as U}from"./index-DMrvDz2r.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as c}from"./const-element-Usj7mXQw.js";import{i as P,a as u}from"./attr-tag-DphMQldM.js";import{_ as j}from"./index-B3D3pI-7.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DYM8JJUZ.js";import"./index-Bd083XES.js";import"./index-Dm3YPrSu.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-A0egsrj7.js";import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const z=`

ebay-page-notice diff --git a/docs/assets/pagination.stories-Bfcgblnl.js b/docs/assets/pagination.stories-CIU2VnqX.js similarity index 94% rename from docs/assets/pagination.stories-Bfcgblnl.js rename to docs/assets/pagination.stories-CIU2VnqX.js index 21b9e5d48..b2392aa0a 100644 --- a/docs/assets/pagination.stories-Bfcgblnl.js +++ b/docs/assets/pagination.stories-CIU2VnqX.js @@ -1,4 +1,4 @@ -import{a as K}from"./utils-DWCsNc5l.js";import{t as Q}from"./index-CCz6reEH.js";import{t as Y,r as ee,b as te,e as ue,p as T,f as W,d as ae}from"./registry-B-klnak9.js";import{g as me}from"./index-C0MCsjbD.js";/* empty css *//* empty css */import{_ as pe,a as Z,b as he}from"./index-DytIHQhe.js";import{_ as P}from"./render-tag-BBOJ9dEX.js";import{_ as B}from"./dynamic-tag-DQCvkDdb.js";import{i as re,r as $}from"./attr-tag-DphMQldM.js";import{_ as ge}from"./index-Dk4iJuw6.js";import{r as be}from"./index-blmbJU0z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-BVSy80fu.js";import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";import"./index-D9HHMyPY.js";import"./index-BJBnaEG2.js";import"./index-NxVnpuOT.js";/* empty css */import"./index-BHuZwrkj.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const ye=`

+import{a as K}from"./utils-DWCsNc5l.js";import{t as Q}from"./index-CCz6reEH.js";import{t as Y,r as ee,b as te,e as ue,p as T,f as W,d as ae}from"./registry-B-klnak9.js";import{g as me}from"./index-C0MCsjbD.js";/* empty css *//* empty css */import{_ as pe,a as Z,b as he}from"./index-D8RRwKI0.js";import{_ as P}from"./render-tag-BBOJ9dEX.js";import{_ as B}from"./dynamic-tag-DQCvkDdb.js";import{i as re,r as $}from"./attr-tag-DphMQldM.js";import{_ as ge}from"./index-Cmn-Eq35.js";import{r as be}from"./index-blmbJU0z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-BXYtdDDf.js";import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";import"./index-jqtmgouX.js";import"./index-BrKjH8jr.js";import"./index-Dm0pQJFf.js";/* empty css */import"./index-DO9To3q6.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const ye=`

ebay-pagination diff --git a/docs/assets/panel-dialog.stories-Lu4Y6pUz.js b/docs/assets/panel-dialog.stories-C_09u98Z.js similarity index 91% rename from docs/assets/panel-dialog.stories-Lu4Y6pUz.js rename to docs/assets/panel-dialog.stories-C_09u98Z.js index fcb9b62ea..dc290b72e 100644 --- a/docs/assets/panel-dialog.stories-Lu4Y6pUz.js +++ b/docs/assets/panel-dialog.stories-C_09u98Z.js @@ -1,4 +1,4 @@ -import{t as T}from"./index-CCz6reEH.js";import{r as y,b as f,d as _,t as h}from"./registry-B-klnak9.js";import{i as v,a as E}from"./attr-tag-DphMQldM.js";import{_ as b}from"./const-element-Usj7mXQw.js";import{_ as $}from"./dynamic-tag-DQCvkDdb.js";import{_ as q}from"./index-DX0IFE80.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as S}from"./empty-component-BCB5DEsP.js";import{_ as A}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const O=`

+import{t as T}from"./index-CCz6reEH.js";import{r as y,b as f,d as _,t as h}from"./registry-B-klnak9.js";import{i as v,a as E}from"./attr-tag-DphMQldM.js";import{_ as b}from"./const-element-Usj7mXQw.js";import{_ as $}from"./dynamic-tag-DQCvkDdb.js";import{_ as q}from"./index-DubLym3o.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as S}from"./empty-component-BCB5DEsP.js";import{_ as A}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";import"./index-blmbJU0z.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const O=`

ebay-panel-dialog diff --git a/docs/assets/phone-input.stories-BCnDpmUk.js b/docs/assets/phone-input.stories-BA2Yddns.js similarity index 98% rename from docs/assets/phone-input.stories-BCnDpmUk.js rename to docs/assets/phone-input.stories-BA2Yddns.js index a86549022..488aa7947 100644 --- a/docs/assets/phone-input.stories-BCnDpmUk.js +++ b/docs/assets/phone-input.stories-BA2Yddns.js @@ -1,4 +1,4 @@ -import{b as O}from"./utils-DWCsNc5l.js";import{t as v,r as B,b as L,e as q,f as e0,p as o0,d as G}from"./registry-B-klnak9.js";import{_ as n0}from"./index-CubThJkA.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{i as M,r as a0,a as x}from"./attr-tag-DphMQldM.js";import{_ as t0}from"./index-CpqkYYWb.js";import{C as l0}from"./index-Q81l85Tz.js";import{l as c0}from"./index-D60qjx8S.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-ClSYtjPE.js";import"./index-C98gAawF.js";/* empty css */import"./index-CJRseQ2S.js";import"./index-BHuZwrkj.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-eGtaP7gF.js";import"./index-htxwKVWG.js";/* empty css */const b={AC:{countryCode:"AC",callingCode:"247",mask:"00000"},AD:{countryCode:"AD",callingCode:"376",mask:"000 000"},AE:{countryCode:"AE",callingCode:"971",mask:"000 000 0000"},AF:{countryCode:"AF",callingCode:"93",mask:"000 000 0000"},AG:{countryCode:"AG",callingCode:"1",mask:"(000) 000-0000"},AI:{countryCode:"AI",callingCode:"1",mask:"(000) 000-0000"},AL:{countryCode:"AL",callingCode:"355",mask:"000 000 0000"},AM:{countryCode:"AM",callingCode:"374",mask:"000 000000"},AO:{countryCode:"AO",callingCode:"244",mask:"000 000 000"},AR:{countryCode:"AR",callingCode:"54",mask:"000 00-0000-0000"},AS:{countryCode:"AS",callingCode:"1",mask:"(000) 000-0000"},AT:{countryCode:"AT",callingCode:"43",mask:"0000 000000"},AU:{countryCode:"AU",callingCode:"61",mask:"0000 000 000"},AW:{countryCode:"AW",callingCode:"297",mask:"000 0000"},AX:{countryCode:"AX",callingCode:"358",mask:"000 0000000"},AZ:{countryCode:"AZ",callingCode:"994",mask:"000 000 00 00"},BA:{countryCode:"BA",callingCode:"387",mask:"000 000 000"},BB:{countryCode:"BB",callingCode:"1",mask:"(000) 000-0000"},BD:{countryCode:"BD",callingCode:"880",mask:"00000-000000"},BE:{countryCode:"BE",callingCode:"32",mask:"0000 00 00 00"},BF:{countryCode:"BF",callingCode:"226",mask:"00 00 00 00"},BG:{countryCode:"BG",callingCode:"359",mask:"000 000 000"},BH:{countryCode:"BH",callingCode:"973",mask:"0000 0000"},BI:{countryCode:"BI",callingCode:"257",mask:"00 00 00 00"},BJ:{countryCode:"BJ",callingCode:"229",mask:"00 00 00 00"},BL:{countryCode:"BL",callingCode:"590",mask:"0000 00 00 00"},BM:{countryCode:"BM",callingCode:"1",mask:"(000) 000-0000"},BN:{countryCode:"BN",callingCode:"673",mask:"000 0000"},BO:{countryCode:"BO",callingCode:"591",mask:"00000000"},BQ:{countryCode:"BQ",callingCode:"599",mask:"000 0000"},BR:{countryCode:"BR",callingCode:"55",mask:"(00) 00000-0000"},BS:{countryCode:"BS",callingCode:"1",mask:"(000) 000-0000"},BT:{countryCode:"BT",callingCode:"975",mask:"00 00 00 00"},BW:{countryCode:"BW",callingCode:"267",mask:"00 000 000"},BY:{countryCode:"BY",callingCode:"375",mask:"0 000 000-00-00"},BZ:{countryCode:"BZ",callingCode:"501",mask:"000-0000"},CA:{countryCode:"CA",callingCode:"1",mask:"(000) 000-0000"},CC:{countryCode:"CC",callingCode:"61",mask:"0000 000 000"},CD:{countryCode:"CD",callingCode:"243",mask:"0000 000 000"},CF:{countryCode:"CF",callingCode:"236",mask:"00 00 00 00"},CG:{countryCode:"CG",callingCode:"242",mask:"00 000 0000"},CH:{countryCode:"CH",callingCode:"41",mask:"000 000 00 00"},CI:{countryCode:"CI",callingCode:"225",mask:"00 00 00 0000"},CK:{countryCode:"CK",callingCode:"682",mask:"00 000"},CL:{countryCode:"CL",callingCode:"56",mask:"(0) 0000 0000"},CM:{countryCode:"CM",callingCode:"237",mask:"0 00 00 00 00"},CN:{countryCode:"CN",callingCode:"86",mask:"000 0000 0000"},CO:{countryCode:"CO",callingCode:"57",mask:"000 0000000"},CR:{countryCode:"CR",callingCode:"506",mask:"0000 0000"},CU:{countryCode:"CU",callingCode:"53",mask:"00 0000000"},CV:{countryCode:"CV",callingCode:"238",mask:"000 00 00"},CW:{countryCode:"CW",callingCode:"599",mask:"0 000 0000"},CX:{countryCode:"CX",callingCode:"61",mask:"0000 000 000"},CY:{countryCode:"CY",callingCode:"357",mask:"00 000000"},CZ:{countryCode:"CZ",callingCode:"420",mask:"000 000 000"},DE:{countryCode:"DE",callingCode:"49",mask:"00000 0000000"},DJ:{countryCode:"DJ",callingCode:"253",mask:"00 00 00 00"},DK:{countryCode:"DK",callingCode:"45",mask:"00 00 00 00"},DM:{countryCode:"DM",callingCode:"1",mask:"(000) 000-0000"},DO:{countryCode:"DO",callingCode:"1",mask:"(000) 000-0000"},DZ:{countryCode:"DZ",callingCode:"213",mask:"0000 00 00 00"},EC:{countryCode:"EC",callingCode:"593",mask:"000 000 0000"},EE:{countryCode:"EE",callingCode:"372",mask:"0000 0000"},EG:{countryCode:"EG",callingCode:"20",mask:"000 00000000"},EH:{countryCode:"EH",callingCode:"212",mask:"0000-000000"},ER:{countryCode:"ER",callingCode:"291",mask:"00 000 000"},ES:{countryCode:"ES",callingCode:"34",mask:"000 00 00 00"},ET:{countryCode:"ET",callingCode:"251",mask:"000 000 0000"},FI:{countryCode:"FI",callingCode:"358",mask:"000 0000000"},FJ:{countryCode:"FJ",callingCode:"679",mask:"000 0000"},FK:{countryCode:"FK",callingCode:"500",mask:"00000"},FM:{countryCode:"FM",callingCode:"691",mask:"000 0000"},FO:{countryCode:"FO",callingCode:"298",mask:"000000"},FR:{countryCode:"FR",callingCode:"33",mask:"00 00 00 00 00"},GA:{countryCode:"GA",callingCode:"241",mask:"00 00 00 00"},GB:{countryCode:"GB",callingCode:"44",mask:"00000 000000"},GD:{countryCode:"GD",callingCode:"1",mask:"(000) 000-0000"},GE:{countryCode:"GE",callingCode:"995",mask:"000 00 00 00"},GF:{countryCode:"GF",callingCode:"594",mask:"0000 00 00 00"},GG:{countryCode:"GG",callingCode:"44",mask:"00000 000000"},GH:{countryCode:"GH",callingCode:"233",mask:"000 000 0000"},GI:{countryCode:"GI",callingCode:"350",mask:"00000000"},GL:{countryCode:"GL",callingCode:"299",mask:"00 00 00"},GM:{countryCode:"GM",callingCode:"220",mask:"000 0000"},GN:{countryCode:"GN",callingCode:"224",mask:"000 00 00 00"},GP:{countryCode:"GP",callingCode:"590",mask:"0000 00 00 00"},GQ:{countryCode:"GQ",callingCode:"240",mask:"000 000 000"},GR:{countryCode:"GR",callingCode:"30",mask:"000 000 0000"},GT:{countryCode:"GT",callingCode:"502",mask:"0000 0000"},GU:{countryCode:"GU",callingCode:"1",mask:"(000) 000-0000"},GW:{countryCode:"GW",callingCode:"245",mask:"000 000 000"},GY:{countryCode:"GY",callingCode:"592",mask:"000 0000"},HK:{countryCode:"HK",callingCode:"852",mask:"0000 0000"},HN:{countryCode:"HN",callingCode:"504",mask:"0000-0000"},HR:{countryCode:"HR",callingCode:"385",mask:"000 000 0000"},HT:{countryCode:"HT",callingCode:"509",mask:"00 00 0000"},HU:{countryCode:"HU",callingCode:"36",mask:"00 00 000 0000"},ID:{countryCode:"ID",callingCode:"62",mask:"0000-000-000"},IE:{countryCode:"IE",callingCode:"353",mask:"000 000 0000"},IL:{countryCode:"IL",callingCode:"972",mask:"000-000-0000"},IM:{countryCode:"IM",callingCode:"44",mask:"00000 000000"},IN:{countryCode:"IN",callingCode:"91",mask:"000000 00000"},IO:{countryCode:"IO",callingCode:"246",mask:"000 0000"},IQ:{countryCode:"IQ",callingCode:"964",mask:"0000 000 0000"},IR:{countryCode:"IR",callingCode:"98",mask:"0000 000 0000"},IS:{countryCode:"IS",callingCode:"354",mask:"000 0000"},IT:{countryCode:"IT",callingCode:"39",mask:"000 000 0000"},JE:{countryCode:"JE",callingCode:"44",mask:"00000 000000"},JM:{countryCode:"JM",callingCode:"1",mask:"(000) 000-0000"},JO:{countryCode:"JO",callingCode:"962",mask:"00 0000 0000"},JP:{countryCode:"JP",callingCode:"81",mask:"000-0000-0000"},KE:{countryCode:"KE",callingCode:"254",mask:"0000 000000"},KG:{countryCode:"KG",callingCode:"996",mask:"0000 000 000"},KH:{countryCode:"KH",callingCode:"855",mask:"000 000 000"},KI:{countryCode:"KI",callingCode:"686",mask:"00000000"},KM:{countryCode:"KM",callingCode:"269",mask:"000 00 00"},KN:{countryCode:"KN",callingCode:"1",mask:"(000) 000-0000"},KP:{countryCode:"KP",callingCode:"850",mask:"0000 000 0000"},KR:{countryCode:"KR",callingCode:"82",mask:"000-0000-0000"},KW:{countryCode:"KW",callingCode:"965",mask:"000 00000"},KY:{countryCode:"KY",callingCode:"1",mask:"(000) 000-0000"},KZ:{countryCode:"KZ",callingCode:"7",mask:"0 (000) 000 0000"},LA:{countryCode:"LA",callingCode:"856",mask:"000 00 000 000"},LB:{countryCode:"LB",callingCode:"961",mask:"00 000 000"},LC:{countryCode:"LC",callingCode:"1",mask:"(000) 000-0000"},LI:{countryCode:"LI",callingCode:"423",mask:"000 000 000"},LK:{countryCode:"LK",callingCode:"94",mask:"000 000 0000"},LR:{countryCode:"LR",callingCode:"231",mask:"000 000 0000"},LS:{countryCode:"LS",callingCode:"266",mask:"0000 0000"},LT:{countryCode:"LT",callingCode:"370",mask:"(0-000) 00000"},LU:{countryCode:"LU",callingCode:"352",mask:"000 000 000"},LV:{countryCode:"LV",callingCode:"371",mask:"00 000 000"},LY:{countryCode:"LY",callingCode:"218",mask:"000-0000000"},MA:{countryCode:"MA",callingCode:"212",mask:"0000-000000"},MC:{countryCode:"MC",callingCode:"377",mask:"00 00 00 00 00"},MD:{countryCode:"MD",callingCode:"373",mask:"0000 00 000"},ME:{countryCode:"ME",callingCode:"382",mask:"000 000 000"},MF:{countryCode:"MF",callingCode:"590",mask:"0000 00 00 00"},MG:{countryCode:"MG",callingCode:"261",mask:"000 00 000 00"},MH:{countryCode:"MH",callingCode:"692",mask:"000-0000"},MK:{countryCode:"MK",callingCode:"389",mask:"000 000 000"},ML:{countryCode:"ML",callingCode:"223",mask:"00 00 00 00"},MM:{countryCode:"MM",callingCode:"95",mask:"00 000 0000"},MN:{countryCode:"MN",callingCode:"976",mask:"0000 0000"},MO:{countryCode:"MO",callingCode:"853",mask:"0000 0000"},MP:{countryCode:"MP",callingCode:"1",mask:"(000) 000-0000"},MQ:{countryCode:"MQ",callingCode:"596",mask:"0000 00 00 00"},MR:{countryCode:"MR",callingCode:"222",mask:"00 00 00 00"},MS:{countryCode:"MS",callingCode:"1",mask:"(000) 000-0000"},MT:{countryCode:"MT",callingCode:"356",mask:"0000 0000"},MU:{countryCode:"MU",callingCode:"230",mask:"0000 0000"},MV:{countryCode:"MV",callingCode:"960",mask:"000-0000"},MW:{countryCode:"MW",callingCode:"265",mask:"0000 00 00 00"},MX:{countryCode:"MX",callingCode:"52",mask:"000 000 0000"},MY:{countryCode:"MY",callingCode:"60",mask:"000-000 0000"},MZ:{countryCode:"MZ",callingCode:"258",mask:"00 000 0000"},NA:{countryCode:"NA",callingCode:"264",mask:"000 000 0000"},NC:{countryCode:"NC",callingCode:"687",mask:"00.00.00"},NE:{countryCode:"NE",callingCode:"227",mask:"00 00 00 00"},NF:{countryCode:"NF",callingCode:"672",mask:"0 00000"},NG:{countryCode:"NG",callingCode:"234",mask:"0000 000 0000"},NI:{countryCode:"NI",callingCode:"505",mask:"0000 0000"},NL:{countryCode:"NL",callingCode:"31",mask:"00 00000000"},NO:{countryCode:"NO",callingCode:"47",mask:"00 00 00 00"},NP:{countryCode:"NP",callingCode:"977",mask:"000-0000000"},NR:{countryCode:"NR",callingCode:"674",mask:"000 0000"},NU:{countryCode:"NU",callingCode:"683",mask:"000 0000"},NZ:{countryCode:"NZ",callingCode:"64",mask:"000 000 0000"},OM:{countryCode:"OM",callingCode:"968",mask:"0000 0000"},PA:{countryCode:"PA",callingCode:"507",mask:"0000-0000"},PE:{countryCode:"PE",callingCode:"51",mask:"000 000 000"},PF:{countryCode:"PF",callingCode:"689",mask:"00 00 00 00"},PG:{countryCode:"PG",callingCode:"675",mask:"0000 0000"},PH:{countryCode:"PH",callingCode:"63",mask:"0000 000 0000"},PK:{countryCode:"PK",callingCode:"92",mask:"0000 0000000"},PL:{countryCode:"PL",callingCode:"48",mask:"000 000 000"},PM:{countryCode:"PM",callingCode:"508",mask:"000 00 00"},PR:{countryCode:"PR",callingCode:"1",mask:"(000) 000-0000"},PS:{countryCode:"PS",callingCode:"970",mask:"0000 000 000"},PT:{countryCode:"PT",callingCode:"351",mask:"000 000 000"},PW:{countryCode:"PW",callingCode:"680",mask:"000 0000"},PY:{countryCode:"PY",callingCode:"595",mask:"0000 000000"},QA:{countryCode:"QA",callingCode:"974",mask:"0000 0000"},RE:{countryCode:"RE",callingCode:"262",mask:"0000 00 00 00"},RO:{countryCode:"RO",callingCode:"40",mask:"0000 000 000"},RS:{countryCode:"RS",callingCode:"381",mask:"000 0000000"},RU:{countryCode:"RU",callingCode:"7",mask:"0 (000) 000-00-00"},RW:{countryCode:"RW",callingCode:"250",mask:"0000 000 000"},SA:{countryCode:"SA",callingCode:"966",mask:"000 000 0000"},SB:{countryCode:"SB",callingCode:"677",mask:"00 00000"},SC:{countryCode:"SC",callingCode:"248",mask:"0 000 000"},SD:{countryCode:"SD",callingCode:"249",mask:"000 000 0000"},SE:{countryCode:"SE",callingCode:"46",mask:"000-000 00 00"},SG:{countryCode:"SG",callingCode:"65",mask:"0000 0000"},SH:{countryCode:"SH",callingCode:"290",mask:"00000"},SI:{countryCode:"SI",callingCode:"386",mask:"000 000 000"},SJ:{countryCode:"SJ",callingCode:"47",mask:"00 00 00 00"},SK:{countryCode:"SK",callingCode:"421",mask:"0000 000 000"},SL:{countryCode:"SL",callingCode:"232",mask:"(000) 000000"},SM:{countryCode:"SM",callingCode:"378",mask:"00 00 00 00"},SN:{countryCode:"SN",callingCode:"221",mask:"00 000 00 00"},SO:{countryCode:"SO",callingCode:"252",mask:"0 0000000"},SR:{countryCode:"SR",callingCode:"597",mask:"000-0000"},SS:{countryCode:"SS",callingCode:"211",mask:"0000 000 000"},ST:{countryCode:"ST",callingCode:"239",mask:"000 0000"},SV:{countryCode:"SV",callingCode:"503",mask:"0000 0000"},SX:{countryCode:"SX",callingCode:"1",mask:"(000) 000-0000"},SY:{countryCode:"SY",callingCode:"963",mask:"0000 000 000"},SZ:{countryCode:"SZ",callingCode:"268",mask:"0000 0000"},TA:{countryCode:"TA",callingCode:"290",mask:"0000"},TC:{countryCode:"TC",callingCode:"1",mask:"(000) 000-0000"},TD:{countryCode:"TD",callingCode:"235",mask:"00 00 00 00"},TG:{countryCode:"TG",callingCode:"228",mask:"00 00 00 00"},TH:{countryCode:"TH",callingCode:"66",mask:"000 000 0000"},TJ:{countryCode:"TJ",callingCode:"992",mask:"00 000 0000"},TK:{countryCode:"TK",callingCode:"690",mask:"0000"},TL:{countryCode:"TL",callingCode:"670",mask:"0000 0000"},TM:{countryCode:"TM",callingCode:"993",mask:"0 00 000000"},TN:{countryCode:"TN",callingCode:"216",mask:"00 000 000"},TO:{countryCode:"TO",callingCode:"676",mask:"000 0000"},TR:{countryCode:"TR",callingCode:"90",mask:"0000 000 00 00"},TT:{countryCode:"TT",callingCode:"1",mask:"(000) 000-0000"},TV:{countryCode:"TV",callingCode:"688",mask:"00 0000"},TW:{countryCode:"TW",callingCode:"886",mask:"0000 000 000"},TZ:{countryCode:"TZ",callingCode:"255",mask:"0000 000 000"},UA:{countryCode:"UA",callingCode:"380",mask:"000 000 0000"},UG:{countryCode:"UG",callingCode:"256",mask:"0000 000000"},US:{countryCode:"US",callingCode:"1",mask:"(000) 000-0000"},UY:{countryCode:"UY",callingCode:"598",mask:"000 000 000"},UZ:{countryCode:"UZ",callingCode:"998",mask:"00 000 00 00"},VA:{countryCode:"VA",callingCode:"39",mask:"000 000 0000"},VC:{countryCode:"VC",callingCode:"1",mask:"(000) 000-0000"},VE:{countryCode:"VE",callingCode:"58",mask:"0000-0000000"},VG:{countryCode:"VG",callingCode:"1",mask:"(000) 000-0000"},VI:{countryCode:"VI",callingCode:"1",mask:"(000) 000-0000"},VN:{countryCode:"VN",callingCode:"84",mask:"0000 000 000"},VU:{countryCode:"VU",callingCode:"678",mask:"000 0000"},WF:{countryCode:"WF",callingCode:"681",mask:"00 00 00"},WS:{countryCode:"WS",callingCode:"685",mask:"00 00000"},XK:{countryCode:"XK",callingCode:"383",mask:"000 000 000"},YE:{countryCode:"YE",callingCode:"967",mask:"0000 000 000"},YT:{countryCode:"YT",callingCode:"262",mask:"0000 00 00 00"},ZA:{countryCode:"ZA",callingCode:"27",mask:"000 000 0000"},ZM:{countryCode:"ZM",callingCode:"260",mask:"000 0000000"},ZW:{countryCode:"ZW",callingCode:"263",mask:"000 000 0000"}};function d0(o,e){let a=e;const n=()=>{const{start:l,end:c}=H(o);o.value=m(o.value),o.setSelectionRange(l,c)},t=()=>{D(o,a,o.value)};return o.addEventListener("beforeinput",n),o.addEventListener("input",t),{update(l,c){a=c,D(o,a,l)},destroy(){o.removeEventListener("beforeinput",n),o.removeEventListener("input",t)},get value(){return o.value}}}function D(o,e,a){const{start:n,end:t}=H(o),l=s0(a,e),c=l.length;let r,i,s=0;for(let d=0;dn&&(r=d),s>t)){i=d;break}o.value=l,o.setSelectionRange(r??c,i??c)}function H(o){const e=o.selectionStart||0,a=o.selectionEnd||0,n=o.value,t=n.slice(0,e),l=m(t),c=t.length-l.length,r=n.slice(0,a),i=m(r),s=r.length-i.length;return{start:e-c,end:a-s}}function m(o){return o.replace(/\D+/g,"")}function s0(o,e){const a=m(o);let n="",t=0;if(a.length){for(const l of e)if(l==="0"){if(n+=a[t++],t===a.length)break}else n+=l;t[l,t.of(l)??""]).sort(([,l],[,c])=>l.localeCompare(c))}if(a){let t=this.state.countryNames.findIndex(([l])=>l===a.toUpperCase());t===-1&&(t=0),this.state.index=t}}handleCountryChange(e){this.state.index=e.index,this.once("update",()=>{this.forwardEvent("change",{originalEvent:e})})}forwardEvent(e,a){const n=this.getSelectedCountry();setTimeout(()=>{this.emit(e,{originalEvent:a.originalEvent,value:this.mask.value,rawValue:m(this.mask.value||""),callingCode:n.callingCode,countryCode:n.countryCode})})}_initializeMask(){const e=this.getSelectedCountry();this.mask=d0(this.getComponent("textbox").getEl("input"),e.mask)}onMount(){this._initializeMask()}onUpdate(){this.mask&&this.mask.update(this.getComponent("textbox").getEl("input").value,this.getSelectedCountry().mask)}onDestroy(){var e;(e=this.mask)==null||e.destroy()}}const A="ALXSspIe",y=v(A),N=y;B.r(A,()=>y);const Z=r0;y._=L(function(o,e,a,n,t,l){const{class:c,countryCode:r,value:i,a11yIconPrefixText:s="Country",disabled:d,renderBody:m0,locale:y0,floatingLabel:J,readonly:S,invalid:T,...z}=o,[X]=t.countryNames[t.index];e.be("span",q({class:e0(["phone-input",c,d&&"phone-input--disabled",S&&"phone-input--readonly",T&&"phone-input--error"])},o0(z)),"0",n,null,4),u(t0,M(()=>{let p=0;for(const[Q,$]of t.countryNames||[]){let V=p++;const j=`[${V}]`,E=b[Q]||{};a0("options",M(()=>{x("icon",{renderBody:C=>{u(n0,{flag:E.countryCode},C,a,"2"+j)}}),x("description",{renderBody:C=>{C.t("( + ",n),C.t(E.callingCode,n),C.t(" )",n)}})},{text:$,value:E.callingCode,selected:V===t.index}))}},{split:"start",disabled:S||d,invalid:T,a11yIconPrefixText:s}),e,a,"1",[["change","handleCountryChange",!1],["expand","emit",!1,["expand"]],["collapse","emit",!1,["collapse"]]]),u(l0,M(()=>{x("prefixText",{renderBody:p=>{p.t("+ ",n),p.t(b[X].callingCode,n)}})},{type:"tel",floatingLabelStatic:!0,value:i,disabled:d,floatingLabel:J,readonly:S,invalid:T}),e,a,"@textbox",[["blur","emit",!1,["blur"]],["focus","emit",!1,["focus"]],["keydown","forwardEvent",!1,["keydown"]],["keypress","forwardEvent",!1,["keypress"]],["keyup","forwardEvent",!1,["keyup"]],["change","forwardEvent",!1,["change"]],["input-change","forwardEvent",!1,["change"]]]),e.ee()},{t:A},Z);y.Component=G(Z,y._);const i0=`

+import{b as O}from"./utils-DWCsNc5l.js";import{t as v,r as B,b as L,e as q,f as e0,p as o0,d as G}from"./registry-B-klnak9.js";import{_ as n0}from"./index-CubThJkA.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{i as M,r as a0,a as x}from"./attr-tag-DphMQldM.js";import{_ as t0}from"./index-iDRTPR-o.js";import{C as l0}from"./index-Bg1Oh5yv.js";import{l as c0}from"./index-D60qjx8S.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./index-CL0domC_.js";import"./index-Bd083XES.js";/* empty css */import"./index-BBcDbpTN.js";import"./index-DO9To3q6.js";import"./index-0_D4u4b1.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-blmbJU0z.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";import"./index-eGtaP7gF.js";import"./index-htxwKVWG.js";/* empty css */const b={AC:{countryCode:"AC",callingCode:"247",mask:"00000"},AD:{countryCode:"AD",callingCode:"376",mask:"000 000"},AE:{countryCode:"AE",callingCode:"971",mask:"000 000 0000"},AF:{countryCode:"AF",callingCode:"93",mask:"000 000 0000"},AG:{countryCode:"AG",callingCode:"1",mask:"(000) 000-0000"},AI:{countryCode:"AI",callingCode:"1",mask:"(000) 000-0000"},AL:{countryCode:"AL",callingCode:"355",mask:"000 000 0000"},AM:{countryCode:"AM",callingCode:"374",mask:"000 000000"},AO:{countryCode:"AO",callingCode:"244",mask:"000 000 000"},AR:{countryCode:"AR",callingCode:"54",mask:"000 00-0000-0000"},AS:{countryCode:"AS",callingCode:"1",mask:"(000) 000-0000"},AT:{countryCode:"AT",callingCode:"43",mask:"0000 000000"},AU:{countryCode:"AU",callingCode:"61",mask:"0000 000 000"},AW:{countryCode:"AW",callingCode:"297",mask:"000 0000"},AX:{countryCode:"AX",callingCode:"358",mask:"000 0000000"},AZ:{countryCode:"AZ",callingCode:"994",mask:"000 000 00 00"},BA:{countryCode:"BA",callingCode:"387",mask:"000 000 000"},BB:{countryCode:"BB",callingCode:"1",mask:"(000) 000-0000"},BD:{countryCode:"BD",callingCode:"880",mask:"00000-000000"},BE:{countryCode:"BE",callingCode:"32",mask:"0000 00 00 00"},BF:{countryCode:"BF",callingCode:"226",mask:"00 00 00 00"},BG:{countryCode:"BG",callingCode:"359",mask:"000 000 000"},BH:{countryCode:"BH",callingCode:"973",mask:"0000 0000"},BI:{countryCode:"BI",callingCode:"257",mask:"00 00 00 00"},BJ:{countryCode:"BJ",callingCode:"229",mask:"00 00 00 00"},BL:{countryCode:"BL",callingCode:"590",mask:"0000 00 00 00"},BM:{countryCode:"BM",callingCode:"1",mask:"(000) 000-0000"},BN:{countryCode:"BN",callingCode:"673",mask:"000 0000"},BO:{countryCode:"BO",callingCode:"591",mask:"00000000"},BQ:{countryCode:"BQ",callingCode:"599",mask:"000 0000"},BR:{countryCode:"BR",callingCode:"55",mask:"(00) 00000-0000"},BS:{countryCode:"BS",callingCode:"1",mask:"(000) 000-0000"},BT:{countryCode:"BT",callingCode:"975",mask:"00 00 00 00"},BW:{countryCode:"BW",callingCode:"267",mask:"00 000 000"},BY:{countryCode:"BY",callingCode:"375",mask:"0 000 000-00-00"},BZ:{countryCode:"BZ",callingCode:"501",mask:"000-0000"},CA:{countryCode:"CA",callingCode:"1",mask:"(000) 000-0000"},CC:{countryCode:"CC",callingCode:"61",mask:"0000 000 000"},CD:{countryCode:"CD",callingCode:"243",mask:"0000 000 000"},CF:{countryCode:"CF",callingCode:"236",mask:"00 00 00 00"},CG:{countryCode:"CG",callingCode:"242",mask:"00 000 0000"},CH:{countryCode:"CH",callingCode:"41",mask:"000 000 00 00"},CI:{countryCode:"CI",callingCode:"225",mask:"00 00 00 0000"},CK:{countryCode:"CK",callingCode:"682",mask:"00 000"},CL:{countryCode:"CL",callingCode:"56",mask:"(0) 0000 0000"},CM:{countryCode:"CM",callingCode:"237",mask:"0 00 00 00 00"},CN:{countryCode:"CN",callingCode:"86",mask:"000 0000 0000"},CO:{countryCode:"CO",callingCode:"57",mask:"000 0000000"},CR:{countryCode:"CR",callingCode:"506",mask:"0000 0000"},CU:{countryCode:"CU",callingCode:"53",mask:"00 0000000"},CV:{countryCode:"CV",callingCode:"238",mask:"000 00 00"},CW:{countryCode:"CW",callingCode:"599",mask:"0 000 0000"},CX:{countryCode:"CX",callingCode:"61",mask:"0000 000 000"},CY:{countryCode:"CY",callingCode:"357",mask:"00 000000"},CZ:{countryCode:"CZ",callingCode:"420",mask:"000 000 000"},DE:{countryCode:"DE",callingCode:"49",mask:"00000 0000000"},DJ:{countryCode:"DJ",callingCode:"253",mask:"00 00 00 00"},DK:{countryCode:"DK",callingCode:"45",mask:"00 00 00 00"},DM:{countryCode:"DM",callingCode:"1",mask:"(000) 000-0000"},DO:{countryCode:"DO",callingCode:"1",mask:"(000) 000-0000"},DZ:{countryCode:"DZ",callingCode:"213",mask:"0000 00 00 00"},EC:{countryCode:"EC",callingCode:"593",mask:"000 000 0000"},EE:{countryCode:"EE",callingCode:"372",mask:"0000 0000"},EG:{countryCode:"EG",callingCode:"20",mask:"000 00000000"},EH:{countryCode:"EH",callingCode:"212",mask:"0000-000000"},ER:{countryCode:"ER",callingCode:"291",mask:"00 000 000"},ES:{countryCode:"ES",callingCode:"34",mask:"000 00 00 00"},ET:{countryCode:"ET",callingCode:"251",mask:"000 000 0000"},FI:{countryCode:"FI",callingCode:"358",mask:"000 0000000"},FJ:{countryCode:"FJ",callingCode:"679",mask:"000 0000"},FK:{countryCode:"FK",callingCode:"500",mask:"00000"},FM:{countryCode:"FM",callingCode:"691",mask:"000 0000"},FO:{countryCode:"FO",callingCode:"298",mask:"000000"},FR:{countryCode:"FR",callingCode:"33",mask:"00 00 00 00 00"},GA:{countryCode:"GA",callingCode:"241",mask:"00 00 00 00"},GB:{countryCode:"GB",callingCode:"44",mask:"00000 000000"},GD:{countryCode:"GD",callingCode:"1",mask:"(000) 000-0000"},GE:{countryCode:"GE",callingCode:"995",mask:"000 00 00 00"},GF:{countryCode:"GF",callingCode:"594",mask:"0000 00 00 00"},GG:{countryCode:"GG",callingCode:"44",mask:"00000 000000"},GH:{countryCode:"GH",callingCode:"233",mask:"000 000 0000"},GI:{countryCode:"GI",callingCode:"350",mask:"00000000"},GL:{countryCode:"GL",callingCode:"299",mask:"00 00 00"},GM:{countryCode:"GM",callingCode:"220",mask:"000 0000"},GN:{countryCode:"GN",callingCode:"224",mask:"000 00 00 00"},GP:{countryCode:"GP",callingCode:"590",mask:"0000 00 00 00"},GQ:{countryCode:"GQ",callingCode:"240",mask:"000 000 000"},GR:{countryCode:"GR",callingCode:"30",mask:"000 000 0000"},GT:{countryCode:"GT",callingCode:"502",mask:"0000 0000"},GU:{countryCode:"GU",callingCode:"1",mask:"(000) 000-0000"},GW:{countryCode:"GW",callingCode:"245",mask:"000 000 000"},GY:{countryCode:"GY",callingCode:"592",mask:"000 0000"},HK:{countryCode:"HK",callingCode:"852",mask:"0000 0000"},HN:{countryCode:"HN",callingCode:"504",mask:"0000-0000"},HR:{countryCode:"HR",callingCode:"385",mask:"000 000 0000"},HT:{countryCode:"HT",callingCode:"509",mask:"00 00 0000"},HU:{countryCode:"HU",callingCode:"36",mask:"00 00 000 0000"},ID:{countryCode:"ID",callingCode:"62",mask:"0000-000-000"},IE:{countryCode:"IE",callingCode:"353",mask:"000 000 0000"},IL:{countryCode:"IL",callingCode:"972",mask:"000-000-0000"},IM:{countryCode:"IM",callingCode:"44",mask:"00000 000000"},IN:{countryCode:"IN",callingCode:"91",mask:"000000 00000"},IO:{countryCode:"IO",callingCode:"246",mask:"000 0000"},IQ:{countryCode:"IQ",callingCode:"964",mask:"0000 000 0000"},IR:{countryCode:"IR",callingCode:"98",mask:"0000 000 0000"},IS:{countryCode:"IS",callingCode:"354",mask:"000 0000"},IT:{countryCode:"IT",callingCode:"39",mask:"000 000 0000"},JE:{countryCode:"JE",callingCode:"44",mask:"00000 000000"},JM:{countryCode:"JM",callingCode:"1",mask:"(000) 000-0000"},JO:{countryCode:"JO",callingCode:"962",mask:"00 0000 0000"},JP:{countryCode:"JP",callingCode:"81",mask:"000-0000-0000"},KE:{countryCode:"KE",callingCode:"254",mask:"0000 000000"},KG:{countryCode:"KG",callingCode:"996",mask:"0000 000 000"},KH:{countryCode:"KH",callingCode:"855",mask:"000 000 000"},KI:{countryCode:"KI",callingCode:"686",mask:"00000000"},KM:{countryCode:"KM",callingCode:"269",mask:"000 00 00"},KN:{countryCode:"KN",callingCode:"1",mask:"(000) 000-0000"},KP:{countryCode:"KP",callingCode:"850",mask:"0000 000 0000"},KR:{countryCode:"KR",callingCode:"82",mask:"000-0000-0000"},KW:{countryCode:"KW",callingCode:"965",mask:"000 00000"},KY:{countryCode:"KY",callingCode:"1",mask:"(000) 000-0000"},KZ:{countryCode:"KZ",callingCode:"7",mask:"0 (000) 000 0000"},LA:{countryCode:"LA",callingCode:"856",mask:"000 00 000 000"},LB:{countryCode:"LB",callingCode:"961",mask:"00 000 000"},LC:{countryCode:"LC",callingCode:"1",mask:"(000) 000-0000"},LI:{countryCode:"LI",callingCode:"423",mask:"000 000 000"},LK:{countryCode:"LK",callingCode:"94",mask:"000 000 0000"},LR:{countryCode:"LR",callingCode:"231",mask:"000 000 0000"},LS:{countryCode:"LS",callingCode:"266",mask:"0000 0000"},LT:{countryCode:"LT",callingCode:"370",mask:"(0-000) 00000"},LU:{countryCode:"LU",callingCode:"352",mask:"000 000 000"},LV:{countryCode:"LV",callingCode:"371",mask:"00 000 000"},LY:{countryCode:"LY",callingCode:"218",mask:"000-0000000"},MA:{countryCode:"MA",callingCode:"212",mask:"0000-000000"},MC:{countryCode:"MC",callingCode:"377",mask:"00 00 00 00 00"},MD:{countryCode:"MD",callingCode:"373",mask:"0000 00 000"},ME:{countryCode:"ME",callingCode:"382",mask:"000 000 000"},MF:{countryCode:"MF",callingCode:"590",mask:"0000 00 00 00"},MG:{countryCode:"MG",callingCode:"261",mask:"000 00 000 00"},MH:{countryCode:"MH",callingCode:"692",mask:"000-0000"},MK:{countryCode:"MK",callingCode:"389",mask:"000 000 000"},ML:{countryCode:"ML",callingCode:"223",mask:"00 00 00 00"},MM:{countryCode:"MM",callingCode:"95",mask:"00 000 0000"},MN:{countryCode:"MN",callingCode:"976",mask:"0000 0000"},MO:{countryCode:"MO",callingCode:"853",mask:"0000 0000"},MP:{countryCode:"MP",callingCode:"1",mask:"(000) 000-0000"},MQ:{countryCode:"MQ",callingCode:"596",mask:"0000 00 00 00"},MR:{countryCode:"MR",callingCode:"222",mask:"00 00 00 00"},MS:{countryCode:"MS",callingCode:"1",mask:"(000) 000-0000"},MT:{countryCode:"MT",callingCode:"356",mask:"0000 0000"},MU:{countryCode:"MU",callingCode:"230",mask:"0000 0000"},MV:{countryCode:"MV",callingCode:"960",mask:"000-0000"},MW:{countryCode:"MW",callingCode:"265",mask:"0000 00 00 00"},MX:{countryCode:"MX",callingCode:"52",mask:"000 000 0000"},MY:{countryCode:"MY",callingCode:"60",mask:"000-000 0000"},MZ:{countryCode:"MZ",callingCode:"258",mask:"00 000 0000"},NA:{countryCode:"NA",callingCode:"264",mask:"000 000 0000"},NC:{countryCode:"NC",callingCode:"687",mask:"00.00.00"},NE:{countryCode:"NE",callingCode:"227",mask:"00 00 00 00"},NF:{countryCode:"NF",callingCode:"672",mask:"0 00000"},NG:{countryCode:"NG",callingCode:"234",mask:"0000 000 0000"},NI:{countryCode:"NI",callingCode:"505",mask:"0000 0000"},NL:{countryCode:"NL",callingCode:"31",mask:"00 00000000"},NO:{countryCode:"NO",callingCode:"47",mask:"00 00 00 00"},NP:{countryCode:"NP",callingCode:"977",mask:"000-0000000"},NR:{countryCode:"NR",callingCode:"674",mask:"000 0000"},NU:{countryCode:"NU",callingCode:"683",mask:"000 0000"},NZ:{countryCode:"NZ",callingCode:"64",mask:"000 000 0000"},OM:{countryCode:"OM",callingCode:"968",mask:"0000 0000"},PA:{countryCode:"PA",callingCode:"507",mask:"0000-0000"},PE:{countryCode:"PE",callingCode:"51",mask:"000 000 000"},PF:{countryCode:"PF",callingCode:"689",mask:"00 00 00 00"},PG:{countryCode:"PG",callingCode:"675",mask:"0000 0000"},PH:{countryCode:"PH",callingCode:"63",mask:"0000 000 0000"},PK:{countryCode:"PK",callingCode:"92",mask:"0000 0000000"},PL:{countryCode:"PL",callingCode:"48",mask:"000 000 000"},PM:{countryCode:"PM",callingCode:"508",mask:"000 00 00"},PR:{countryCode:"PR",callingCode:"1",mask:"(000) 000-0000"},PS:{countryCode:"PS",callingCode:"970",mask:"0000 000 000"},PT:{countryCode:"PT",callingCode:"351",mask:"000 000 000"},PW:{countryCode:"PW",callingCode:"680",mask:"000 0000"},PY:{countryCode:"PY",callingCode:"595",mask:"0000 000000"},QA:{countryCode:"QA",callingCode:"974",mask:"0000 0000"},RE:{countryCode:"RE",callingCode:"262",mask:"0000 00 00 00"},RO:{countryCode:"RO",callingCode:"40",mask:"0000 000 000"},RS:{countryCode:"RS",callingCode:"381",mask:"000 0000000"},RU:{countryCode:"RU",callingCode:"7",mask:"0 (000) 000-00-00"},RW:{countryCode:"RW",callingCode:"250",mask:"0000 000 000"},SA:{countryCode:"SA",callingCode:"966",mask:"000 000 0000"},SB:{countryCode:"SB",callingCode:"677",mask:"00 00000"},SC:{countryCode:"SC",callingCode:"248",mask:"0 000 000"},SD:{countryCode:"SD",callingCode:"249",mask:"000 000 0000"},SE:{countryCode:"SE",callingCode:"46",mask:"000-000 00 00"},SG:{countryCode:"SG",callingCode:"65",mask:"0000 0000"},SH:{countryCode:"SH",callingCode:"290",mask:"00000"},SI:{countryCode:"SI",callingCode:"386",mask:"000 000 000"},SJ:{countryCode:"SJ",callingCode:"47",mask:"00 00 00 00"},SK:{countryCode:"SK",callingCode:"421",mask:"0000 000 000"},SL:{countryCode:"SL",callingCode:"232",mask:"(000) 000000"},SM:{countryCode:"SM",callingCode:"378",mask:"00 00 00 00"},SN:{countryCode:"SN",callingCode:"221",mask:"00 000 00 00"},SO:{countryCode:"SO",callingCode:"252",mask:"0 0000000"},SR:{countryCode:"SR",callingCode:"597",mask:"000-0000"},SS:{countryCode:"SS",callingCode:"211",mask:"0000 000 000"},ST:{countryCode:"ST",callingCode:"239",mask:"000 0000"},SV:{countryCode:"SV",callingCode:"503",mask:"0000 0000"},SX:{countryCode:"SX",callingCode:"1",mask:"(000) 000-0000"},SY:{countryCode:"SY",callingCode:"963",mask:"0000 000 000"},SZ:{countryCode:"SZ",callingCode:"268",mask:"0000 0000"},TA:{countryCode:"TA",callingCode:"290",mask:"0000"},TC:{countryCode:"TC",callingCode:"1",mask:"(000) 000-0000"},TD:{countryCode:"TD",callingCode:"235",mask:"00 00 00 00"},TG:{countryCode:"TG",callingCode:"228",mask:"00 00 00 00"},TH:{countryCode:"TH",callingCode:"66",mask:"000 000 0000"},TJ:{countryCode:"TJ",callingCode:"992",mask:"00 000 0000"},TK:{countryCode:"TK",callingCode:"690",mask:"0000"},TL:{countryCode:"TL",callingCode:"670",mask:"0000 0000"},TM:{countryCode:"TM",callingCode:"993",mask:"0 00 000000"},TN:{countryCode:"TN",callingCode:"216",mask:"00 000 000"},TO:{countryCode:"TO",callingCode:"676",mask:"000 0000"},TR:{countryCode:"TR",callingCode:"90",mask:"0000 000 00 00"},TT:{countryCode:"TT",callingCode:"1",mask:"(000) 000-0000"},TV:{countryCode:"TV",callingCode:"688",mask:"00 0000"},TW:{countryCode:"TW",callingCode:"886",mask:"0000 000 000"},TZ:{countryCode:"TZ",callingCode:"255",mask:"0000 000 000"},UA:{countryCode:"UA",callingCode:"380",mask:"000 000 0000"},UG:{countryCode:"UG",callingCode:"256",mask:"0000 000000"},US:{countryCode:"US",callingCode:"1",mask:"(000) 000-0000"},UY:{countryCode:"UY",callingCode:"598",mask:"000 000 000"},UZ:{countryCode:"UZ",callingCode:"998",mask:"00 000 00 00"},VA:{countryCode:"VA",callingCode:"39",mask:"000 000 0000"},VC:{countryCode:"VC",callingCode:"1",mask:"(000) 000-0000"},VE:{countryCode:"VE",callingCode:"58",mask:"0000-0000000"},VG:{countryCode:"VG",callingCode:"1",mask:"(000) 000-0000"},VI:{countryCode:"VI",callingCode:"1",mask:"(000) 000-0000"},VN:{countryCode:"VN",callingCode:"84",mask:"0000 000 000"},VU:{countryCode:"VU",callingCode:"678",mask:"000 0000"},WF:{countryCode:"WF",callingCode:"681",mask:"00 00 00"},WS:{countryCode:"WS",callingCode:"685",mask:"00 00000"},XK:{countryCode:"XK",callingCode:"383",mask:"000 000 000"},YE:{countryCode:"YE",callingCode:"967",mask:"0000 000 000"},YT:{countryCode:"YT",callingCode:"262",mask:"0000 00 00 00"},ZA:{countryCode:"ZA",callingCode:"27",mask:"000 000 0000"},ZM:{countryCode:"ZM",callingCode:"260",mask:"000 0000000"},ZW:{countryCode:"ZW",callingCode:"263",mask:"000 000 0000"}};function d0(o,e){let a=e;const n=()=>{const{start:l,end:c}=H(o);o.value=m(o.value),o.setSelectionRange(l,c)},t=()=>{D(o,a,o.value)};return o.addEventListener("beforeinput",n),o.addEventListener("input",t),{update(l,c){a=c,D(o,a,l)},destroy(){o.removeEventListener("beforeinput",n),o.removeEventListener("input",t)},get value(){return o.value}}}function D(o,e,a){const{start:n,end:t}=H(o),l=s0(a,e),c=l.length;let r,i,s=0;for(let d=0;dn&&(r=d),s>t)){i=d;break}o.value=l,o.setSelectionRange(r??c,i??c)}function H(o){const e=o.selectionStart||0,a=o.selectionEnd||0,n=o.value,t=n.slice(0,e),l=m(t),c=t.length-l.length,r=n.slice(0,a),i=m(r),s=r.length-i.length;return{start:e-c,end:a-s}}function m(o){return o.replace(/\D+/g,"")}function s0(o,e){const a=m(o);let n="",t=0;if(a.length){for(const l of e)if(l==="0"){if(n+=a[t++],t===a.length)break}else n+=l;t[l,t.of(l)??""]).sort(([,l],[,c])=>l.localeCompare(c))}if(a){let t=this.state.countryNames.findIndex(([l])=>l===a.toUpperCase());t===-1&&(t=0),this.state.index=t}}handleCountryChange(e){this.state.index=e.index,this.once("update",()=>{this.forwardEvent("change",{originalEvent:e})})}forwardEvent(e,a){const n=this.getSelectedCountry();setTimeout(()=>{this.emit(e,{originalEvent:a.originalEvent,value:this.mask.value,rawValue:m(this.mask.value||""),callingCode:n.callingCode,countryCode:n.countryCode})})}_initializeMask(){const e=this.getSelectedCountry();this.mask=d0(this.getComponent("textbox").getEl("input"),e.mask)}onMount(){this._initializeMask()}onUpdate(){this.mask&&this.mask.update(this.getComponent("textbox").getEl("input").value,this.getSelectedCountry().mask)}onDestroy(){var e;(e=this.mask)==null||e.destroy()}}const A="ALXSspIe",y=v(A),N=y;B.r(A,()=>y);const Z=r0;y._=L(function(o,e,a,n,t,l){const{class:c,countryCode:r,value:i,a11yIconPrefixText:s="Country",disabled:d,renderBody:m0,locale:y0,floatingLabel:J,readonly:S,invalid:T,...z}=o,[X]=t.countryNames[t.index];e.be("span",q({class:e0(["phone-input",c,d&&"phone-input--disabled",S&&"phone-input--readonly",T&&"phone-input--error"])},o0(z)),"0",n,null,4),u(t0,M(()=>{let p=0;for(const[Q,$]of t.countryNames||[]){let V=p++;const j=`[${V}]`,E=b[Q]||{};a0("options",M(()=>{x("icon",{renderBody:C=>{u(n0,{flag:E.countryCode},C,a,"2"+j)}}),x("description",{renderBody:C=>{C.t("( + ",n),C.t(E.callingCode,n),C.t(" )",n)}})},{text:$,value:E.callingCode,selected:V===t.index}))}},{split:"start",disabled:S||d,invalid:T,a11yIconPrefixText:s}),e,a,"1",[["change","handleCountryChange",!1],["expand","emit",!1,["expand"]],["collapse","emit",!1,["collapse"]]]),u(l0,M(()=>{x("prefixText",{renderBody:p=>{p.t("+ ",n),p.t(b[X].callingCode,n)}})},{type:"tel",floatingLabelStatic:!0,value:i,disabled:d,floatingLabel:J,readonly:S,invalid:T}),e,a,"@textbox",[["blur","emit",!1,["blur"]],["focus","emit",!1,["focus"]],["keydown","forwardEvent",!1,["keydown"]],["keypress","forwardEvent",!1,["keypress"]],["keyup","forwardEvent",!1,["keyup"]],["change","forwardEvent",!1,["change"]],["input-change","forwardEvent",!1,["change"]]]),e.ee()},{t:A},Z);y.Component=G(Z,y._);const i0=`

ebay-phone-input-button diff --git a/docs/assets/preview-DWjxfmEU.js b/docs/assets/preview-CuQOhUTO.js similarity index 69% rename from docs/assets/preview-DWjxfmEU.js rename to docs/assets/preview-CuQOhUTO.js index 8c656e6a0..f09f71401 100644 --- a/docs/assets/preview-DWjxfmEU.js +++ b/docs/assets/preview-CuQOhUTO.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./DocsRenderer-K4EAMTCU-CvOqelRM.js","./chunk-HLWAVYOI-BpJ_6HfN.js","./iframe-C5f-bDcb.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-K4EAMTCU-CvOqelRM.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; +const __vite__fileDeps=["./DocsRenderer-K4EAMTCU-CoLEmrSY.js","./chunk-HLWAVYOI-uH84A_5y.js","./iframe-C-4hqhip.js","./_commonjsHelpers-Cpj98o6Y.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./index-ChWP2N81.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as a}from"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-K4EAMTCU-CoLEmrSY.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/docs/assets/preview-DdrZcoFD.js b/docs/assets/preview-D8466X5v.js similarity index 93% rename from docs/assets/preview-DdrZcoFD.js rename to docs/assets/preview-D8466X5v.js index 3e1598bd1..bf84f6f0f 100644 --- a/docs/assets/preview-DdrZcoFD.js +++ b/docs/assets/preview-D8466X5v.js @@ -1,2 +1,2 @@ const __vite__fileDeps=["./axe-BmBZOpIU.js","./_commonjsHelpers-Cpj98o6Y.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as S}from"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";const{global:f}=__STORYBOOK_MODULE_GLOBAL__,{addons:U}=__STORYBOOK_MODULE_PREVIEW_API__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=f,a=U.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e=R)=>{e!=null&&e.manual||await i(n,e)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-BmBZOpIU.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); +import{_ as S}from"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";const{global:f}=__STORYBOOK_MODULE_GLOBAL__,{addons:U}=__STORYBOOK_MODULE_PREVIEW_API__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=f,a=U.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e=R)=>{e!=null&&e.manual||await i(n,e)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-BmBZOpIU.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); diff --git a/docs/assets/progress-BS4E9nAz.js b/docs/assets/progress-CxsflI01.js similarity index 84% rename from docs/assets/progress-BS4E9nAz.js rename to docs/assets/progress-CxsflI01.js index 59a7f4994..cd8c46020 100644 --- a/docs/assets/progress-BS4E9nAz.js +++ b/docs/assets/progress-CxsflI01.js @@ -1,3 +1,3 @@ -import{j as o,M as r}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as s}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(t){const n={h1:"h1",p:"p",...s(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(r,{title:"progress/Overview"}),` +import{j as o,M as r}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as s}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function e(t){const n={h1:"h1",p:"p",...s(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(r,{title:"progress/Overview"}),` `,o.jsx(n.h1,{id:"progress-components",children:"Progress Components"}),` `,o.jsx(n.p,{children:"Progress components indicate a portion of the page that is loading, or display information about a process such as a shipment."})]})}function x(t={}){const{wrapper:n}={...s(),...t.components};return n?o.jsx(n,{...t,children:o.jsx(e,{...t})}):e(t)}export{x as default}; diff --git a/docs/assets/progress-spinner.stories-CTUi9Edz.js b/docs/assets/progress-spinner.stories-C4b3diw2.js similarity index 90% rename from docs/assets/progress-spinner.stories-CTUi9Edz.js rename to docs/assets/progress-spinner.stories-C4b3diw2.js index 79501327d..2ba385ef9 100644 --- a/docs/assets/progress-spinner.stories-CTUi9Edz.js +++ b/docs/assets/progress-spinner.stories-C4b3diw2.js @@ -1,4 +1,4 @@ -import{t}from"./index-CCz6reEH.js";import{_ as p}from"./index-CAVmWk6z.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./render-tag-BBOJ9dEX.js";const i=`

+import{t}from"./index-CCz6reEH.js";import{_ as p}from"./index-5NFv2JwF.js";import"./registry-B-klnak9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./render-tag-BBOJ9dEX.js";const i=`

ebay-progress-spinner diff --git a/docs/assets/progress-stepper.stories-poMYIm_4.js b/docs/assets/progress-stepper.stories-gzrOm2kE.js similarity index 98% rename from docs/assets/progress-stepper.stories-poMYIm_4.js rename to docs/assets/progress-stepper.stories-gzrOm2kE.js index 088eaa5cf..0bb03c7f4 100644 --- a/docs/assets/progress-stepper.stories-poMYIm_4.js +++ b/docs/assets/progress-stepper.stories-gzrOm2kE.js @@ -1,4 +1,4 @@ -import{t as C}from"./index-CCz6reEH.js";import{a as K}from"./utils-DWCsNc5l.js";import{t as L,r as M,b as N,e as B,f as h,p as b,d as Q}from"./registry-B-klnak9.js";import{_ as u}from"./dynamic-tag-DQCvkDdb.js";import{_ as T,a as U,b as X,c as Y}from"./index-U_1Hpq9w.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const Z=`

+import{t as C}from"./index-CCz6reEH.js";import{a as K}from"./utils-DWCsNc5l.js";import{t as L,r as M,b as N,e as B,f as h,p as b,d as Q}from"./registry-B-klnak9.js";import{_ as u}from"./dynamic-tag-DQCvkDdb.js";import{_ as T,a as U,b as X,c as Y}from"./index-BpEEqHm3.js";import{_ as g}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const Z=`

ebay-progress-stepper diff --git a/docs/assets/radio.stories-BDJPp7X3.js b/docs/assets/radio.stories-DheWTrhY.js similarity index 98% rename from docs/assets/radio.stories-BDJPp7X3.js rename to docs/assets/radio.stories-DheWTrhY.js index 1864590ef..1834fa7d2 100644 --- a/docs/assets/radio.stories-BDJPp7X3.js +++ b/docs/assets/radio.stories-DheWTrhY.js @@ -1,4 +1,4 @@ -import{t as K}from"./index-CCz6reEH.js";import{C as p}from"./index-DUtXOaCj.js";import{r as f,b as _,d as b,t as g}from"./registry-B-klnak9.js";import{_ as y}from"./const-element-Usj7mXQw.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-0_n8TZiB.js";import"./index-C98gAawF.js";/* empty css */import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const q=`

+import{t as K}from"./index-CCz6reEH.js";import{C as p}from"./index-XDVM21hZ.js";import{r as f,b as _,d as b,t as g}from"./registry-B-klnak9.js";import{_ as y}from"./const-element-Usj7mXQw.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";/* empty css */import"./index-BHD_v1ay.js";import"./index-Bd083XES.js";/* empty css */import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const q=`

ebay-radio diff --git a/docs/assets/section-notice.stories-B--T8axW.js b/docs/assets/section-notice.stories-DMDpiL4C.js similarity index 95% rename from docs/assets/section-notice.stories-B--T8axW.js rename to docs/assets/section-notice.stories-DMDpiL4C.js index 2c86a581c..5748ea9d2 100644 --- a/docs/assets/section-notice.stories-B--T8axW.js +++ b/docs/assets/section-notice.stories-DMDpiL4C.js @@ -1,4 +1,4 @@ -import{t as F}from"./index-CCz6reEH.js";import{b as L,a as U}from"./utils-DWCsNc5l.js";import{t as b,r as g,b as _,d as k}from"./registry-B-klnak9.js";/* empty css */import{_ as q}from"./index-DGqSaLp8.js";import{_ as y}from"./render-tag-BBOJ9dEX.js";import{_ as r}from"./const-element-Usj7mXQw.js";import{i as M,a as h}from"./attr-tag-DphMQldM.js";import{_ as K}from"./index-B3D3pI-7.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-BEWuf5iQ.js";import"./index-C98gAawF.js";import"./index-HhsN8ych.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-Cm_Gb0Br.js";import"./index-Bs-h47tU.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const Q=`

+import{t as F}from"./index-CCz6reEH.js";import{b as L,a as U}from"./utils-DWCsNc5l.js";import{t as b,r as g,b as _,d as k}from"./registry-B-klnak9.js";/* empty css */import{_ as q}from"./index-DMrvDz2r.js";import{_ as y}from"./render-tag-BBOJ9dEX.js";import{_ as r}from"./const-element-Usj7mXQw.js";import{i as M,a as h}from"./attr-tag-DphMQldM.js";import{_ as K}from"./index-B3D3pI-7.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-DYM8JJUZ.js";import"./index-Bd083XES.js";import"./index-Dm3YPrSu.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-A0egsrj7.js";import"./index-C4ES2whh.js";/* empty css *//* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-blmbJU0z.js";const Q=`

ebay-section-notice diff --git a/docs/assets/section-title.stories-8Tzhx7oP.js b/docs/assets/section-title.stories-DVoXC_SN.js similarity index 92% rename from docs/assets/section-title.stories-8Tzhx7oP.js rename to docs/assets/section-title.stories-DVoXC_SN.js index cb11d5777..d16a90b80 100644 --- a/docs/assets/section-title.stories-8Tzhx7oP.js +++ b/docs/assets/section-title.stories-DVoXC_SN.js @@ -1,4 +1,4 @@ -import{t as N}from"./index-CCz6reEH.js";import{a as Q}from"./utils-DWCsNc5l.js";import{t as k,r as S,b as x,e as h,p as w,f as m,g as U,d as A}from"./registry-B-klnak9.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{i as T,a as s,r as B}from"./attr-tag-DphMQldM.js";import{_ as Y}from"./index-Da936fmF.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as Z}from"./index-CNZOdm0x.js";import{_ as ee}from"./index-Bs-h47tU.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-BVSy80fu.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";import"./index-BbpEJ8Sy.js";import"./index-BJBnaEG2.js";import"./index-C6YqmUHN.js";/* empty css */import"./index-B6IacUrT.js";import"./index-BHuZwrkj.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";/* empty css *//* empty css */const te=`

+import{t as N}from"./index-CCz6reEH.js";import{a as Q}from"./utils-DWCsNc5l.js";import{t as k,r as S,b as x,e as h,p as w,f as m,g as U,d as A}from"./registry-B-klnak9.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{i as T,a as s,r as B}from"./attr-tag-DphMQldM.js";import{_ as Y}from"./index-mq5ZSGt9.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as Z}from"./index-CrtedE3R.js";import{_ as ee}from"./index-C4ES2whh.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-BXYtdDDf.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";import"./index-CwdE1cRz.js";import"./index-BrKjH8jr.js";import"./index-CGMjGv4Y.js";/* empty css */import"./index-B6IacUrT.js";import"./index-DO9To3q6.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";/* empty css *//* empty css */const te=`

ebay-section-title diff --git a/docs/assets/segmented-buttons.stories-B0LjY9W8.js b/docs/assets/segmented-buttons.stories-CeurQMJN.js similarity index 95% rename from docs/assets/segmented-buttons.stories-B0LjY9W8.js rename to docs/assets/segmented-buttons.stories-CeurQMJN.js index fe345a9ed..19ac09e3a 100644 --- a/docs/assets/segmented-buttons.stories-B0LjY9W8.js +++ b/docs/assets/segmented-buttons.stories-CeurQMJN.js @@ -1,4 +1,4 @@ -import{t as Z}from"./index-CCz6reEH.js";import{b as F,a as G}from"./utils-DWCsNc5l.js";import{t as z,r as q,b as W,e as k,f as x,p as v,d as M}from"./registry-B-klnak9.js";import{_ as m}from"./dynamic-tag-DQCvkDdb.js";import{_ as J,a as K}from"./index-DQxTdvUO.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{i as b,r as B,a as I}from"./attr-tag-DphMQldM.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */class N extends Marko.Component{onCreate(){this.state={selectedIndex:0}}onInput(e){let t=(e.buttons||[]).findIndex(n=>n.selected);t===-1&&(t=0),this.state.selectedIndex=t}onButtonClick(e,t){e!==this.state.selectedIndex&&(this.state.selectedIndex=e,this.emit("change",{index:e,value:(this.input.buttons[e]||{}).value||void 0,originalEvent:t}))}}const p="PEDetnqc",l=z(p),O=l,U=["large"];q.r(p,()=>l);const Q=N;l._=W(function(s,e,t,n,y,D){let{size:o,class:te,buttons:ne,...R}=s;var h=o&&U.includes(o)?o:null;e.be("div",k({class:x(["segmented-buttons",h&&`segmented-buttons--${h}`,s.class])},v(R)),"0",n,null,4),e.be("ul",null,"1",n,null,0);{let j=0;for(const _ of s.buttons||[]){let c=j++;const a=`[${c}]`,{class:V,icon:f,renderBody:H,...P}=_;e.be("li",null,"2"+a,n,null,0),e.be("button",k({class:x(["segmented-buttons__button",V]),"aria-current":y.selectedIndex===c&&"true"},v(P)),"3"+a,n,null,4,{onclick:t.d("click","onButtonClick",!1,[c])}),f?(e.be("span",{class:"segmented-buttons__button-cell"},"4"+a,n,null,1),m(e,f,null,null,null,null,t,"5"+a),e.be("span",null,"6"+a,n,null,0),m(e,_,null,null,null,null,t,"7"+a),e.ee(),e.ee()):m(e,H,null,null,null,null,t,"8"+a),e.ee(),e.ee()}}e.ee(),e.ee()},{t:p},Q);l.Component=M(Q,l._);const X=`

+import{t as Z}from"./index-CCz6reEH.js";import{b as F,a as G}from"./utils-DWCsNc5l.js";import{t as z,r as q,b as W,e as k,f as x,p as v,d as M}from"./registry-B-klnak9.js";import{_ as m}from"./dynamic-tag-DQCvkDdb.js";import{_ as J,a as K}from"./index-BD-Pnzly.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{i as b,r as B,a as I}from"./attr-tag-DphMQldM.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */class N extends Marko.Component{onCreate(){this.state={selectedIndex:0}}onInput(e){let t=(e.buttons||[]).findIndex(n=>n.selected);t===-1&&(t=0),this.state.selectedIndex=t}onButtonClick(e,t){e!==this.state.selectedIndex&&(this.state.selectedIndex=e,this.emit("change",{index:e,value:(this.input.buttons[e]||{}).value||void 0,originalEvent:t}))}}const p="PEDetnqc",l=z(p),O=l,U=["large"];q.r(p,()=>l);const Q=N;l._=W(function(s,e,t,n,y,D){let{size:o,class:te,buttons:ne,...R}=s;var h=o&&U.includes(o)?o:null;e.be("div",k({class:x(["segmented-buttons",h&&`segmented-buttons--${h}`,s.class])},v(R)),"0",n,null,4),e.be("ul",null,"1",n,null,0);{let j=0;for(const _ of s.buttons||[]){let c=j++;const a=`[${c}]`,{class:V,icon:f,renderBody:H,...P}=_;e.be("li",null,"2"+a,n,null,0),e.be("button",k({class:x(["segmented-buttons__button",V]),"aria-current":y.selectedIndex===c&&"true"},v(P)),"3"+a,n,null,4,{onclick:t.d("click","onButtonClick",!1,[c])}),f?(e.be("span",{class:"segmented-buttons__button-cell"},"4"+a,n,null,1),m(e,f,null,null,null,null,t,"5"+a),e.be("span",null,"6"+a,n,null,0),m(e,_,null,null,null,null,t,"7"+a),e.ee(),e.ee()):m(e,H,null,null,null,null,t,"8"+a),e.ee(),e.ee()}}e.ee(),e.ee()},{t:p},Q);l.Component=M(Q,l._);const X=`

ebay-segmented-buttons diff --git a/docs/assets/select-Bou355gm.css b/docs/assets/select-Bou355gm.css new file mode 100644 index 000000000..f836db3a4 --- /dev/null +++ b/docs/assets/select-Bou355gm.css @@ -0,0 +1 @@ +.select{color:var(--select-foreground-color, var(--color-foreground-primary));font-size:var(--font-size-default);position:relative}span.select{display:inline-block}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var( --select-background-color, var(--color-background-secondary) );border-color:var(--select-border-color, var(--color-stroke-default));border-radius:var(--select-border-radius, var(--border-radius-50));border-style:solid;border-width:1px;color:inherit;font-family:inherit;font-size:1em;height:40px;padding:0 var(--spacing-400) 0 var(--spacing-200);vertical-align:middle}.select svg.icon--12{height:100%;pointer-events:none;position:absolute;right:16px;top:0}.select--large select{font-size:var(--font-size-medium);height:48px}.select--fluid,.select--fluid select{width:100%}.select--borderless select{background-color:initial;border:0;padding-left:0;width:auto}.select--borderless select:focus{background-color:initial;text-decoration:underline}.select select:focus{background-color:var( --select-focus-background-color, var(--color-background-primary) )}.select select:focus:not(:read-only){background-color:var( --select-focus-background-color, var(--color-background-primary) );border-color:var(--select-focus-border-color, var(--color-stroke-default));outline:0;text-decoration:underline}.select select::-ms-expand{display:none}.select select[disabled]{border-color:var( --textbox-disabled-border-color, var(--color-background-disabled) );color:var( --select-disabled-foregound-color, var(--color-foreground-disabled) );opacity:1}.select select[disabled]+svg{color:var( --select-disabled-foregound-color, var(--color-foreground-on-disabled) )}.select select[readonly]{background-color:initial;border:none}.select select[aria-invalid=true]{border-color:var( --select-invalid-border-color, var(--color-stroke-attention) );border-style:solid;border-width:1px}.select select[aria-invalid=true]:focus{background-color:var( --select-focus-background-color, var(--color-background-primary) );border-color:var(--select-focus-border-color, var(--color-stroke-default))}[dir=rtl] .select>select{padding-left:30px;padding-right:var(--spacing-200)}[dir=rtl] .select svg{left:16px;right:auto}[dir=rtl] .select--underline svg.icon{left:0;right:auto} diff --git a/docs/assets/select-DLam1IQ2.css b/docs/assets/select-DLam1IQ2.css deleted file mode 100644 index 0cbcb33dd..000000000 --- a/docs/assets/select-DLam1IQ2.css +++ /dev/null @@ -1 +0,0 @@ -.select{color:var(--select-foreground-color, var(--color-foreground-primary));font-size:var(--font-size-default);position:relative}span.select{display:inline-block}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var( --select-background-color, var(--color-background-secondary) );border-color:var(--select-border-color, var(--color-stroke-default));border-radius:var(--select-border-radius, var(--border-radius-50));border-style:solid;border-width:1px;color:inherit;font-family:inherit;font-size:1em;height:40px;padding:0 var(--spacing-400) 0 var(--spacing-200);vertical-align:middle}.select svg.icon--chevron-down-12{height:100%;pointer-events:none;position:absolute;right:16px;top:0}.select--large select{font-size:var(--font-size-medium);height:48px}.select--fluid,.select--fluid select{width:100%}.select--borderless select{background-color:initial;border:0;padding-left:0;width:auto}.select--borderless select:focus{background-color:initial;text-decoration:underline}.select select:focus{background-color:var( --select-focus-background-color, var(--color-background-primary) )}.select select:focus:not(:read-only){background-color:var( --select-focus-background-color, var(--color-background-primary) );border-color:var(--select-focus-border-color, var(--color-stroke-default));outline:0;text-decoration:underline}.select select::-ms-expand{display:none}.select select[disabled]{border-color:var( --textbox-disabled-border-color, var(--color-background-disabled) );color:var( --select-disabled-foregound-color, var(--color-foreground-disabled) );opacity:1}.select select[disabled]+svg{color:var( --select-disabled-foregound-color, var(--color-foreground-on-disabled) )}.select select[readonly]{background-color:initial;border:none}.select select[aria-invalid=true]{border-color:var( --select-invalid-border-color, var(--color-stroke-attention) );border-style:solid;border-width:1px}.select select[aria-invalid=true]:focus{background-color:var( --select-focus-background-color, var(--color-background-primary) );border-color:var(--select-focus-border-color, var(--color-stroke-default))}[dir=rtl] .select>select{padding-left:30px;padding-right:var(--spacing-200)}[dir=rtl] .select svg{left:16px;right:auto}[dir=rtl] .select--underline svg.icon{left:0;right:auto} diff --git a/docs/assets/select.stories-CM9YoOo6.js b/docs/assets/select.stories-wzpnkUYn.js similarity index 96% rename from docs/assets/select.stories-CM9YoOo6.js rename to docs/assets/select.stories-wzpnkUYn.js index 23a6d01ef..c12da6c9d 100644 --- a/docs/assets/select.stories-CM9YoOo6.js +++ b/docs/assets/select.stories-wzpnkUYn.js @@ -1,4 +1,4 @@ -import{t as be}from"./index-CCz6reEH.js";import{t as v,r as k,b as I,f as B,g as ue,e as E,p as M,d as C}from"./registry-B-klnak9.js";/* empty css */import{s as ge}from"./index-htxwKVWG.js";import{_ as he}from"./index-BJBnaEG2.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as se}from"./const-element-Usj7mXQw.js";import{i as N,r as i}from"./attr-tag-DphMQldM.js";import{_ as H}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";const fe=`

+import{t as be}from"./index-CCz6reEH.js";import{t as v,r as k,b as I,f as B,g as ue,e as E,p as M,d as C}from"./registry-B-klnak9.js";/* empty css */import{s as ge}from"./index-htxwKVWG.js";import{_ as he}from"./index-BrKjH8jr.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as se}from"./const-element-Usj7mXQw.js";import{i as N,r as i}from"./attr-tag-DphMQldM.js";import{_ as H}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-CL0domC_.js";import"./index-blmbJU0z.js";const fe=`

ebay-select diff --git a/docs/assets/skeleton.stories-CYt_8p0A.js b/docs/assets/skeleton.stories-ichEIFsS.js similarity index 98% rename from docs/assets/skeleton.stories-CYt_8p0A.js rename to docs/assets/skeleton.stories-ichEIFsS.js index 2bd1179df..d7a939715 100644 --- a/docs/assets/skeleton.stories-CYt_8p0A.js +++ b/docs/assets/skeleton.stories-ichEIFsS.js @@ -1,4 +1,4 @@ -import{t as st}from"./index-CCz6reEH.js";import{b,a as lt}from"./utils-DWCsNc5l.js";import{t as r,r as i,b as m,e as rt,f as it,p as T,d as c}from"./registry-B-klnak9.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as y}from"./const-element-Usj7mXQw.js";import{_ as mt}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";const Q="ObHapkzk",C=r(Q),_=C;i.r(Q,()=>C);const Ye={};C._=m(function(a,e,t,o,l,d){const{a11yText:n="Loading...",class:u,...p}=a;e.be("div",rt({role:"img","aria-label":n,class:it(["skeleton",u])},T(p)),"0",o,null,4),v(e,a.renderBody,null,null,null,null,t,"1"),e.ee()},{t:Q,i:!0},Ye);C.Component=c(Ye,C._);const ct=`

+import{t as st}from"./index-CCz6reEH.js";import{b,a as lt}from"./utils-DWCsNc5l.js";import{t as r,r as i,b as m,e as rt,f as it,p as T,d as c}from"./registry-B-klnak9.js";import{_ as v}from"./dynamic-tag-DQCvkDdb.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as y}from"./const-element-Usj7mXQw.js";import{_ as mt}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";const Q="ObHapkzk",C=r(Q),_=C;i.r(Q,()=>C);const Ye={};C._=m(function(a,e,t,o,l,d){const{a11yText:n="Loading...",class:u,...p}=a;e.be("div",rt({role:"img","aria-label":n,class:it(["skeleton",u])},T(p)),"0",o,null,4),v(e,a.renderBody,null,null,null,null,t,"1"),e.ee()},{t:Q,i:!0},Ye);C.Component=c(Ye,C._);const ct=`

ebay-skeleton diff --git a/docs/assets/snackbar-dialog.stories-D6UNYuj1.js b/docs/assets/snackbar-dialog.stories-DBTnENie.js similarity index 94% rename from docs/assets/snackbar-dialog.stories-D6UNYuj1.js rename to docs/assets/snackbar-dialog.stories-DBTnENie.js index c06901c5c..d0735e6dd 100644 --- a/docs/assets/snackbar-dialog.stories-D6UNYuj1.js +++ b/docs/assets/snackbar-dialog.stories-DBTnENie.js @@ -1,4 +1,4 @@ -import{t as b,r as f,b as y,d as k}from"./registry-B-klnak9.js";import{_ as w}from"./dynamic-tag-DQCvkDdb.js";import{_ as P}from"./index-B3D3pI-7.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{i as $,a as I}from"./attr-tag-DphMQldM.js";import{_ as R}from"./index-DX0IFE80.js";import{b as M}from"./utils-DWCsNc5l.js";import{_ as U}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-blmbJU0z.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";const W=`

+import{t as b,r as f,b as y,d as k}from"./registry-B-klnak9.js";import{_ as w}from"./dynamic-tag-DQCvkDdb.js";import{_ as P}from"./index-B3D3pI-7.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{i as $,a as I}from"./attr-tag-DphMQldM.js";import{_ as R}from"./index-DubLym3o.js";import{b as M}from"./utils-DWCsNc5l.js";import{_ as U}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-blmbJU0z.js";/* empty css */import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";const W=`

ebay-snackbar-dialog diff --git a/docs/assets/split-button.stories-BB9RkHSE.js b/docs/assets/split-button.stories-DauCshoT.js similarity index 89% rename from docs/assets/split-button.stories-BB9RkHSE.js rename to docs/assets/split-button.stories-DauCshoT.js index 6891d1f42..e5c16f293 100644 --- a/docs/assets/split-button.stories-BB9RkHSE.js +++ b/docs/assets/split-button.stories-DauCshoT.js @@ -1,4 +1,4 @@ -import{t as v}from"./index-CCz6reEH.js";import{a as E}from"./utils-DWCsNc5l.js";import{t as V,r as S,b as C,d as w}from"./registry-B-klnak9.js";import{_ as O}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-BVSy80fu.js";import{_ as m}from"./render-tag-BBOJ9dEX.js";import{_ as M}from"./index-Da936fmF.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";/* empty css */import"./index-Bs-h47tU.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-BbpEJ8Sy.js";import"./index-BJBnaEG2.js";import"./attr-tag-DphMQldM.js";import"./index-C6YqmUHN.js";/* empty css */import"./index-BHuZwrkj.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";class D extends Marko.Component{}const s="znm_gUjm",o=V(s),j=o;S.r(s,()=>o);const g=D;o._=C(function(a,n,r,i,A,F){const{a11yButtonLoadingText:f,a11yMenuText:h,a11yText:I,bodyState:x,disabled:l,href:k,partiallyDisabled:p,priority:c,renderBody:_,size:d,transparent:B,variant:U,...T}=a;n.be("span",{class:"split-button"},"0",i,null,1),m(z,{split:"start",type:"button",size:d,disabled:l,priority:c,bodyState:x,href:k,a11yText:f,partiallyDisabled:p,renderBody:t=>{t.be("span",{class:"btn__cell"},"2",i,null,1),t.be("span",{class:"btn__text"},"3",i,null,1),O(t,_,null,null,null,null,r,"4"),t.ee(),t.ee()}},n,r,"1",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]]),m(M,{a11yText:h,split:"end",size:d,disabled:l,priority:c,transparent:B,reverse:!0,variant:"button",partiallyDisabled:p,...T},n,r,"5",[["collapse","emit",!1,["collapse"]],["expand","emit",!1,["expand"]],["change","emit",!1,["change"]],["select","emit",!1,["select"]]]),n.ee()},{t:s},g);o.Component=w(g,o._);const R=`

+import{t as v}from"./index-CCz6reEH.js";import{a as E}from"./utils-DWCsNc5l.js";import{t as V,r as S,b as C,d as w}from"./registry-B-klnak9.js";import{_ as O}from"./dynamic-tag-DQCvkDdb.js";import{_ as z}from"./index-BXYtdDDf.js";import{_ as m}from"./render-tag-BBOJ9dEX.js";import{_ as M}from"./index-mq5ZSGt9.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";/* empty css */import"./index-C4ES2whh.js";/* empty css *//* empty css */import"./index-B6IacUrT.js";import"./index-CwdE1cRz.js";import"./index-BrKjH8jr.js";import"./attr-tag-DphMQldM.js";import"./index-CGMjGv4Y.js";/* empty css */import"./index-DO9To3q6.js";import"./index-eGtaP7gF.js";import"./index-DSBRYoSW.js";import"./index-DoeQzs2M.js";import"./index-D7GlLQHj.js";import"./index-D52eSIAE.js";import"./index-DYoOQ_vw.js";import"./index-D7B88Psz.js";import"./index--35j0Bzx.js";class D extends Marko.Component{}const s="znm_gUjm",o=V(s),j=o;S.r(s,()=>o);const g=D;o._=C(function(a,n,r,i,A,F){const{a11yButtonLoadingText:f,a11yMenuText:h,a11yText:I,bodyState:x,disabled:l,href:k,partiallyDisabled:p,priority:c,renderBody:_,size:d,transparent:B,variant:U,...T}=a;n.be("span",{class:"split-button"},"0",i,null,1),m(z,{split:"start",type:"button",size:d,disabled:l,priority:c,bodyState:x,href:k,a11yText:f,partiallyDisabled:p,renderBody:t=>{t.be("span",{class:"btn__cell"},"2",i,null,1),t.be("span",{class:"btn__text"},"3",i,null,1),O(t,_,null,null,null,null,r,"4"),t.ee(),t.ee()}},n,r,"1",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]]),m(M,{a11yText:h,split:"end",size:d,disabled:l,priority:c,transparent:B,reverse:!0,variant:"button",partiallyDisabled:p,...T},n,r,"5",[["collapse","emit",!1,["collapse"]],["expand","emit",!1,["expand"]],["change","emit",!1,["change"]],["select","emit",!1,["select"]]]),n.ee()},{t:s},g);o.Component=w(g,o._);const R=`

ebay-split-button diff --git a/docs/assets/star-rating-select.stories-B5gW2aYh.js b/docs/assets/star-rating-select.stories-3P_nHzLa.js similarity index 97% rename from docs/assets/star-rating-select.stories-B5gW2aYh.js rename to docs/assets/star-rating-select.stories-3P_nHzLa.js index 06fdd7253..850e8b62c 100644 --- a/docs/assets/star-rating-select.stories-B5gW2aYh.js +++ b/docs/assets/star-rating-select.stories-3P_nHzLa.js @@ -1,4 +1,4 @@ -import{t as A}from"./index-CCz6reEH.js";import{t as x,r as T,b as S,e as K,f as y,p as O,d as w}from"./registry-B-klnak9.js";import{_ as P}from"./index-Cas-8LG3.js";import{_ as E}from"./render-tag-BBOJ9dEX.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const q=`

+import{t as A}from"./index-CCz6reEH.js";import{t as x,r as T,b as S,e as K,f as y,p as O,d as w}from"./registry-B-klnak9.js";import{_ as P}from"./index-DMN8Tpap.js";import{_ as E}from"./render-tag-BBOJ9dEX.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const q=`

ebay-star-rating-select diff --git a/docs/assets/star-rating.stories-Dwx-yWXU.js b/docs/assets/star-rating.stories-n27iTJrC.js similarity index 99% rename from docs/assets/star-rating.stories-Dwx-yWXU.js rename to docs/assets/star-rating.stories-n27iTJrC.js index 66027e5fa..319d7e370 100644 --- a/docs/assets/star-rating.stories-Dwx-yWXU.js +++ b/docs/assets/star-rating.stories-n27iTJrC.js @@ -1,4 +1,4 @@ -import{t as N1}from"./index-CCz6reEH.js";import{r as s,b as r,d as i,t as o,e as U1,f as W1,p as G1}from"./registry-B-klnak9.js";import{_ as p}from"./index-C98gAawF.js";import{_ as t}from"./render-tag-BBOJ9dEX.js";import{_ as c}from"./const-element-Usj7mXQw.js";import{_ as Q1}from"./index-Cas-8LG3.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */const X1=`

+import{t as N1}from"./index-CCz6reEH.js";import{r as s,b as r,d as i,t as o,e as U1,f as W1,p as G1}from"./registry-B-klnak9.js";import{_ as p}from"./index-Bd083XES.js";import{_ as t}from"./render-tag-BBOJ9dEX.js";import{_ as c}from"./const-element-Usj7mXQw.js";import{_ as Q1}from"./index-DMN8Tpap.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */const X1=`

For full stars use (rating from 0-5): ebay-star-rating-{rating} diff --git a/docs/assets/syntaxhighlighter-BP7B2CQK-mNPC06KD.js b/docs/assets/syntaxhighlighter-BP7B2CQK-CL11jmiR.js similarity index 66% rename from docs/assets/syntaxhighlighter-BP7B2CQK-mNPC06KD.js rename to docs/assets/syntaxhighlighter-BP7B2CQK-CL11jmiR.js index a9ae7f6cb..3b7d50945 100644 --- a/docs/assets/syntaxhighlighter-BP7B2CQK-mNPC06KD.js +++ b/docs/assets/syntaxhighlighter-BP7B2CQK-CL11jmiR.js @@ -1 +1 @@ -import{S as s,c as g,s as n,a as u}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{s as SyntaxHighlighter,g as createCopyToClipboardFunction,n as default,u as supportedLanguages}; +import{S as s,c as g,s as n,a as u}from"./chunk-HLWAVYOI-uH84A_5y.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";export{s as SyntaxHighlighter,g as createCopyToClipboardFunction,n as default,u as supportedLanguages}; diff --git a/docs/assets/textbox.stories-BRPigHZL.js b/docs/assets/textbox.stories-CN4uOmwO.js similarity index 99% rename from docs/assets/textbox.stories-BRPigHZL.js rename to docs/assets/textbox.stories-CN4uOmwO.js index 061bf3102..f01fd5333 100644 --- a/docs/assets/textbox.stories-BRPigHZL.js +++ b/docs/assets/textbox.stories-CN4uOmwO.js @@ -1,4 +1,4 @@ -import{t as Te}from"./index-CCz6reEH.js";import{C as l}from"./index-Q81l85Tz.js";import{r as c,b as m,d as p,t as u}from"./registry-B-klnak9.js";import{_ as de}from"./const-element-Usj7mXQw.js";import{_ as o}from"./render-tag-BBOJ9dEX.js";import{_ as F}from"./empty-component-BCB5DEsP.js";import{_ as fe,a as ge,b as ye}from"./index-W7tWgPwW.js";import{i as S,a as r}from"./attr-tag-DphMQldM.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";const Ee=`

+import{t as Te}from"./index-CCz6reEH.js";import{C as l}from"./index-Bg1Oh5yv.js";import{r as c,b as m,d as p,t as u}from"./registry-B-klnak9.js";import{_ as de}from"./const-element-Usj7mXQw.js";import{_ as o}from"./render-tag-BBOJ9dEX.js";import{_ as F}from"./empty-component-BCB5DEsP.js";import{_ as fe,a as ge,b as ye}from"./index-BNniq57Q.js";import{i as S,a as r}from"./attr-tag-DphMQldM.js";/* empty css */import"./index-htxwKVWG.js";/* empty css */import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";const Ee=`

ebay-textbox diff --git a/docs/assets/toast-dialog.stories-Fm7GYUlQ.js b/docs/assets/toast-dialog.stories-Dk9Z5U3s.js similarity index 93% rename from docs/assets/toast-dialog.stories-Fm7GYUlQ.js rename to docs/assets/toast-dialog.stories-Dk9Z5U3s.js index 1b0a59e10..157486344 100644 --- a/docs/assets/toast-dialog.stories-Fm7GYUlQ.js +++ b/docs/assets/toast-dialog.stories-Dk9Z5U3s.js @@ -1,4 +1,4 @@ -import{r as _,b as f,d as k,t as T}from"./registry-B-klnak9.js";import{i as C,a as d}from"./attr-tag-DphMQldM.js";import{_ as u}from"./index-BVSy80fu.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";import{_ as w}from"./const-element-Usj7mXQw.js";import{_ as S}from"./dynamic-tag-DQCvkDdb.js";import{_ as D}from"./index-DX0IFE80.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-C98gAawF.js";/* empty css */import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";/* empty css */import"./index-Cm_Gb0Br.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const z=`

+import{r as _,b as f,d as k,t as T}from"./registry-B-klnak9.js";import{i as C,a as d}from"./attr-tag-DphMQldM.js";import{_ as u}from"./index-BXYtdDDf.js";import{_ as i}from"./render-tag-BBOJ9dEX.js";import{_ as w}from"./const-element-Usj7mXQw.js";import{_ as S}from"./dynamic-tag-DQCvkDdb.js";import{_ as D}from"./index-DubLym3o.js";import{_ as L}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-Bd083XES.js";/* empty css */import"./index-CL0domC_.js";import"./index-blmbJU0z.js";/* empty css */import"./index-A0egsrj7.js";import"./index-C_i8Cqa-.js";import"./index--35j0Bzx.js";const z=`

ebay-toast-dialog diff --git a/docs/assets/toggle-button-group-B02M9QWW.css b/docs/assets/toggle-button-group-B02M9QWW.css new file mode 100644 index 000000000..e7334155d --- /dev/null +++ b/docs/assets/toggle-button-group-B02M9QWW.css @@ -0,0 +1 @@ +:root{--row-min-toggle-buttons-min: 2;--row-min-toggle-buttons-xs: 4;--row-min-toggle-buttons-sm: 5;--row-min-toggle-buttons-md: 8;--row-min-toggle-buttons-xl: 12;--row-list-toggle-buttons-min: 1;--row-list-toggle-buttons-xs: 1;--row-list-toggle-buttons-sm: 2;--row-list-toggle-buttons-md: 3;--row-list-toggle-buttons-xl: 5;--row-gallery-toggle-buttons-min: 1;--row-gallery-toggle-buttons-xs: 2;--row-gallery-toggle-buttons-sm: 3;--row-gallery-toggle-buttons-md: 4;--row-gallery-toggle-buttons-xl: 6}.toggle-button-group{container:toggle-buttons-container/inline-size}.toggle-button-group ul{display:grid;gap:var(--spacing-100);grid-auto-rows:1fr;grid-template-columns:repeat(var(--row-min-toggle-buttons-min),1fr);list-style:none;margin:0;padding:0;width:100%}.toggle-button-group li{display:inline-block;min-height:var(--toggle-button-height-min);width:100%}.toggle-button-group .toggle-button{height:100%;margin:0;max-width:100%;width:100%}.toggle-button-group--list-layout .toggle-button{justify-content:left;max-width:100%;min-width:auto}.toggle-button-group--gallery-layout li{max-width:100%}.toggle-button-group--gallery-layout .toggle-button{flex-direction:column;max-width:100%;min-width:auto}.toggle-button-group--list-layout .toggle-button__content:not(:only-child),.toggle-button-group--list-layout .toggle-button__image-container{align-self:flex-start}.toggle-button-group--gallery-layout .toggle-button{justify-content:flex-start}.toggle-button-group--gallery-layout .toggle-button__icon,.toggle-button-group--gallery-layout .toggle-button__image{margin-bottom:0;margin-right:0}.toggle-button-group--gallery-layout .toggle-button__icon~.toggle-button__content,.toggle-button-group--gallery-layout .toggle-button__image-container~.toggle-button__content{align-self:flex-start}.toggle-button-group--gallery-layout .toggle-button__icon,.toggle-button-group--gallery-layout .toggle-button__image-container{margin-bottom:0;margin-right:0;text-align:left}.toggle-button-group--gallery-layout .toggle-button__image-container{padding-bottom:60%;position:relative;text-align:center;width:100%}.toggle-button-group--gallery-layout .toggle-button__image{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.toggle-button-group--gallery-layout .toggle-button__image-container img{height:100%;max-height:200px;max-width:none}@supports not (contain: inline-size){@media (min-width: 320px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xs),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xs),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xs),1fr)}.toggle-button-group[data-columns-xs="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xs="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xs="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xs="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xs="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xs="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xs="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xs="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xs="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xs="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xs="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xs="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xs="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xs="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xs="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xs="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 512px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-sm),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-sm),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-sm),1fr)}.toggle-button-group[data-columns-sm="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-sm="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-sm="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-sm="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-sm="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-sm="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-sm="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-sm="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-sm="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-sm="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-sm="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-sm="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-sm="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-sm="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-sm="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-sm="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 768px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-md),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-md),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-md),1fr)}.toggle-button-group[data-columns-md="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-md="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-md="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-md="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-md="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-md="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-md="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-md="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-md="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-md="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-md="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-md="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-md="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-md="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-md="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-md="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 1280px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xl),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xl),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xl),1fr)}.toggle-button-group[data-columns-xl="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xl="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xl="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xl="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xl="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xl="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xl="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xl="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xl="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xl="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xl="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xl="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xl="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xl="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xl="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xl="16"] ul{grid-template-columns:repeat(16,1fr)}}}@container toggle-buttons-container (inline-size >= 320px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xs),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xs),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xs),1fr)}.toggle-button-group[data-columns-xs="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xs="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xs="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xs="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xs="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xs="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xs="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xs="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xs="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xs="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xs="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xs="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xs="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xs="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xs="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xs="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 512px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-sm),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-sm),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-sm),1fr)}.toggle-button-group[data-columns-sm="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-sm="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-sm="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-sm="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-sm="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-sm="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-sm="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-sm="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-sm="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-sm="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-sm="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-sm="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-sm="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-sm="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-sm="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-sm="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 768px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-md),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-md),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-md),1fr)}.toggle-button-group[data-columns-md="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-md="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-md="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-md="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-md="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-md="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-md="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-md="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-md="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-md="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-md="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-md="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-md="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-md="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-md="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-md="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 1280px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xl),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xl),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xl),1fr)}.toggle-button-group[data-columns-xl="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xl="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xl="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xl="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xl="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xl="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xl="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xl="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xl="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xl="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xl="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xl="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xl="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xl="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xl="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xl="16"] ul{grid-template-columns:repeat(16,1fr)}} diff --git a/docs/assets/toggle-button-group-Bh_IrF_K.css b/docs/assets/toggle-button-group-Bh_IrF_K.css deleted file mode 100644 index 8552d8801..000000000 --- a/docs/assets/toggle-button-group-Bh_IrF_K.css +++ /dev/null @@ -1 +0,0 @@ -:root{--row-min-toggle-buttons-min: 2;--row-min-toggle-buttons-xs: 4;--row-min-toggle-buttons-sm: 5;--row-min-toggle-buttons-md: 8;--row-min-toggle-buttons-xl: 12;--row-list-toggle-buttons-min: 1;--row-list-toggle-buttons-xs: 1;--row-list-toggle-buttons-sm: 2;--row-list-toggle-buttons-md: 3;--row-list-toggle-buttons-xl: 5;--row-gallery-toggle-buttons-min: 1;--row-gallery-toggle-buttons-xs: 2;--row-gallery-toggle-buttons-sm: 3;--row-gallery-toggle-buttons-md: 4;--row-gallery-toggle-buttons-xl: 6}.toggle-button-group{container:toggle-buttons-container/inline-size}.toggle-button-group ul{display:grid;gap:var(--spacing-100);grid-auto-rows:1fr;grid-template-columns:repeat(var(--row-min-toggle-buttons-min),1fr);list-style:none;margin:0;padding:0;width:100%}.toggle-button-group li{display:inline-block;min-height:var(--toggle-button-height-min);width:100%}.toggle-button-group .toggle-button{height:100%;margin:0;max-width:100%;width:100%}.toggle-button-group--list-layout .toggle-button{justify-content:left;max-width:100%;min-width:auto}.toggle-button-group--gallery-layout li{max-width:100%}.toggle-button-group--gallery-layout .toggle-button{flex-direction:column;max-width:100%;min-width:auto}.toggle-button-group--list-layout .toggle-button__content,.toggle-button-group--list-layout .toggle-button__image-container{align-self:flex-start}.toggle-button-group--gallery-layout .toggle-button{justify-content:flex-start}.toggle-button-group--gallery-layout .toggle-button__icon,.toggle-button-group--gallery-layout .toggle-button__image{margin-bottom:0;margin-right:0}.toggle-button-group--gallery-layout .toggle-button__icon~.toggle-button__content,.toggle-button-group--gallery-layout .toggle-button__image-container~.toggle-button__content{align-self:flex-start}.toggle-button-group--gallery-layout .toggle-button__icon,.toggle-button-group--gallery-layout .toggle-button__image-container{margin-bottom:0;margin-right:0;text-align:left}.toggle-button-group--gallery-layout .toggle-button__image-container{padding-bottom:60%;position:relative;text-align:center;width:100%}.toggle-button-group--gallery-layout .toggle-button__image{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.toggle-button-group--gallery-layout .toggle-button__image-container img{height:100%;max-height:200px;max-width:none}@supports not (contain: inline-size){@media (min-width: 320px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xs),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xs),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xs),1fr)}.toggle-button-group[data-columns-xs="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xs="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xs="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xs="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xs="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xs="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xs="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xs="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xs="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xs="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xs="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xs="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xs="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xs="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xs="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xs="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 512px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-sm),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-sm),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-sm),1fr)}.toggle-button-group[data-columns-sm="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-sm="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-sm="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-sm="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-sm="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-sm="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-sm="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-sm="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-sm="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-sm="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-sm="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-sm="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-sm="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-sm="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-sm="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-sm="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 768px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-md),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-md),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-md),1fr)}.toggle-button-group[data-columns-md="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-md="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-md="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-md="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-md="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-md="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-md="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-md="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-md="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-md="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-md="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-md="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-md="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-md="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-md="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-md="16"] ul{grid-template-columns:repeat(16,1fr)}}@media (min-width: 1280px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xl),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xl),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xl),1fr)}.toggle-button-group[data-columns-xl="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xl="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xl="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xl="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xl="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xl="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xl="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xl="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xl="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xl="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xl="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xl="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xl="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xl="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xl="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xl="16"] ul{grid-template-columns:repeat(16,1fr)}}}@container toggle-buttons-container (inline-size >= 320px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xs),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xs),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xs),1fr)}.toggle-button-group[data-columns-xs="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xs="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xs="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xs="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xs="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xs="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xs="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xs="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xs="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xs="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xs="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xs="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xs="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xs="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xs="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xs="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 512px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-sm),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-sm),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-sm),1fr)}.toggle-button-group[data-columns-sm="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-sm="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-sm="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-sm="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-sm="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-sm="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-sm="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-sm="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-sm="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-sm="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-sm="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-sm="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-sm="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-sm="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-sm="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-sm="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 768px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-md),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-md),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-md),1fr)}.toggle-button-group[data-columns-md="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-md="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-md="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-md="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-md="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-md="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-md="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-md="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-md="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-md="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-md="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-md="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-md="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-md="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-md="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-md="16"] ul{grid-template-columns:repeat(16,1fr)}}@container toggle-buttons-container (inline-size >= 1280px){.toggle-button-group ul{grid-template-columns:repeat(var(--row-min-toggle-buttons-xl),1fr)}.toggle-button-group--list-layout ul{grid-template-columns:repeat(var(--row-list-toggle-buttons-xl),1fr)}.toggle-button-group--gallery-layout ul{grid-template-columns:repeat(var(--row-gallery-toggle-buttons-xl),1fr)}.toggle-button-group[data-columns-xl="1"] ul{grid-template-columns:repeat(1,1fr)}.toggle-button-group[data-columns-xl="2"] ul{grid-template-columns:repeat(2,1fr)}.toggle-button-group[data-columns-xl="3"] ul{grid-template-columns:repeat(3,1fr)}.toggle-button-group[data-columns-xl="4"] ul{grid-template-columns:repeat(4,1fr)}.toggle-button-group[data-columns-xl="5"] ul{grid-template-columns:repeat(5,1fr)}.toggle-button-group[data-columns-xl="6"] ul{grid-template-columns:repeat(6,1fr)}.toggle-button-group[data-columns-xl="7"] ul{grid-template-columns:repeat(7,1fr)}.toggle-button-group[data-columns-xl="8"] ul{grid-template-columns:repeat(8,1fr)}.toggle-button-group[data-columns-xl="9"] ul{grid-template-columns:repeat(9,1fr)}.toggle-button-group[data-columns-xl="10"] ul{grid-template-columns:repeat(10,1fr)}.toggle-button-group[data-columns-xl="11"] ul{grid-template-columns:repeat(11,1fr)}.toggle-button-group[data-columns-xl="12"] ul{grid-template-columns:repeat(12,1fr)}.toggle-button-group[data-columns-xl="13"] ul{grid-template-columns:repeat(13,1fr)}.toggle-button-group[data-columns-xl="14"] ul{grid-template-columns:repeat(14,1fr)}.toggle-button-group[data-columns-xl="15"] ul{grid-template-columns:repeat(15,1fr)}.toggle-button-group[data-columns-xl="16"] ul{grid-template-columns:repeat(16,1fr)}} diff --git a/docs/assets/toggle-button-group.stories-A9ivsOi0.js b/docs/assets/toggle-button-group.stories-BK2hfGse.js similarity index 62% rename from docs/assets/toggle-button-group.stories-A9ivsOi0.js rename to docs/assets/toggle-button-group.stories-BK2hfGse.js index 0ed2b982e..ddb11cf85 100644 --- a/docs/assets/toggle-button-group.stories-A9ivsOi0.js +++ b/docs/assets/toggle-button-group.stories-BK2hfGse.js @@ -1,4 +1,4 @@ -import{t as ft}from"./index-CCz6reEH.js";import{b as C,a as Bt}from"./utils-DWCsNc5l.js";import{t as b,r as m,b as p,e as Tt,f as St,p as kt,d as c}from"./registry-B-klnak9.js";import{c as Ct}from"./index-BZUg6Zq0.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{i as s,r,a as n}from"./attr-tag-DphMQldM.js";import{_ as Et,a as xt,b as $t,c as _t,d as wt}from"./index-KP6N4H10.js";import{_ as Ft}from"./index-CEIx_xnL.js";import{_ as vt}from"./index-BVSy80fu.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-C98gAawF.js";/* empty css *//* empty css */import"./index-CAVmWk6z.js";import"./index-CIM_zO8g.js";import"./index-ClSYtjPE.js";import"./index-blmbJU0z.js";const Pt=`

+import{t as ft}from"./index-CCz6reEH.js";import{b as C,a as Bt}from"./utils-DWCsNc5l.js";import{t as b,r as m,b as c,e as St,f as Tt,p as kt,d as p}from"./registry-B-klnak9.js";import{c as Ct}from"./index-BfEgRTc6.js";import{_ as u}from"./render-tag-BBOJ9dEX.js";import{i as s,r,a as n}from"./attr-tag-DphMQldM.js";import{_ as Et,a as xt,b as $t,c as wt,d as _t}from"./index-DyYw6M6s.js";import{_ as Ft}from"./index-DIATYkRw.js";import{_ as Pt}from"./index-BXYtdDDf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./dynamic-tag-DQCvkDdb.js";import"./index-Bd083XES.js";/* empty css *//* empty css */import"./index-5NFv2JwF.js";import"./index-DYoePqPO.js";import"./index-CL0domC_.js";import"./index-blmbJU0z.js";const Lt=`

ebay-toggle-button-group @@ -14,7 +14,7 @@ Group of toggle buttons. - [Storybook](https://ebay.github.io/ebayui-core/?path=/story/buttons-ebay-toggle-button-group) - [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/buttons-ebay-toggle-button-group) - [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-toggle-button-group/examples) -`;class Lt extends Marko.Component{onCreate(){this.state={pressed:{}}}onInput(o){this.state.pressed=Object.fromEntries([...o.buttons||[]].map(({pressed:a},e)=>[e,!!a]))}handleToggle(o,{originalEvent:a,pressed:e}){this.input.variant==="radio"?this.state.pressed={[o]:!0}:this.input.variant==="radio-toggle"?this.state.pressed={[o]:e}:this.state.pressed={...this.state.pressed,[o]:e},this.emit("change",{originalEvent:a,pressed:Object.keys(this.state.pressed).filter(i=>this.state.pressed[+i]).map(i=>+i)})}}const M="gg_eGpGf",I=b(M),y=I;m.r(M,()=>I);const rt=Lt;I._=p(function(l,o,a,e,i,g){const{class:t,layoutType:h,columnsXS:F,columnsSM:v,columnsMD:P,columnsXL:bt,a11yText:mt,a11yLabelId:pt,buttons:ct=[],...yt}=l;o.be("div",Tt({class:St(["toggle-button-group",t]),"data-columns-xs":F,"data-columns-sm":v,"data-columns-md":P,"data-columns-xl":bt},kt(yt)),"0",e,null,4),o.be("ul",{"aria-label":mt,"aria-labelledby":pt},"1",e,null,0);{let gt=0;for(const{layoutType:ht=h,pressed:Wt,...It}of ct||[]){let L=gt++;const W=`[${L}]`;o.be("li",null,"2"+W,e,null,0),u(Ct,{layoutType:ht,pressed:i.pressed[L],...It},o,a,"3"+W,[["toggle","handleToggle",!1,[L]]]),o.ee()}}o.ee(),o.ee()},{t:M},rt);I.Component=c(rt,I._);const O="yDE$nIIb",f=b(O);m.r(O,()=>f);const at={};f._=p(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Car",e)}}),n("icon",{renderBody:t=>{u(Et,{},t,a,"1")}}),t=>{t.t("Icon 1",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("ATV",e)}}),n("icon",{renderBody:t=>{u(xt,{},t,a,"2")}}),t=>{t.t("Icon 2",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Cart",e)}}),n("icon",{renderBody:t=>{u(Ft,{},t,a,"3")}}),t=>{t.t("Icon 3",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Jet Ski",e)}}),n("icon",{renderBody:t=>{u($t,{},t,a,"4")}}),t=>{t.t("Icon 4",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Motorcycle",e)}}),n("icon",{renderBody:t=>{u(_t,{},t,a,"5")}}),t=>{t.t("Icon 5",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Snowmobile",e)}}),n("icon",{renderBody:t=>{u(wt,{},t,a,"6")}}),t=>{t.t("Icon 6",e)})))},{layoutType:"list",...l,buttons:void 0}),o,a,"0")},{t:O,i:!0},at);f.Component=c(at,f._);const Mt=` +`;class Mt extends Marko.Component{onCreate(){this.state={pressed:{}}}onInput(o){this.state.pressed=Object.fromEntries([...o.buttons||[]].map(({pressed:a},e)=>[e,!!a]))}handleToggle(o,{originalEvent:a,pressed:e}){this.input.variant==="radio"?this.state.pressed={[o]:!0}:this.input.variant==="radio-toggle"?this.state.pressed={[o]:e}:this.state.pressed={...this.state.pressed,[o]:e},this.emit("change",{originalEvent:a,pressed:Object.keys(this.state.pressed).filter(i=>this.state.pressed[+i]).map(i=>+i)})}}const v="gg_eGpGf",I=b(v),y=I;m.r(v,()=>I);const rt=Mt;I._=c(function(l,o,a,e,i,g){const{class:t,layoutType:h,columnsXS:F,columnsSM:P,columnsMD:L,columnsXL:bt,a11yText:mt,a11yLabelId:ct,buttons:pt=[],...yt}=l;o.be("div",St({class:Tt(["toggle-button-group",t]),"data-columns-xs":F,"data-columns-sm":P,"data-columns-md":L,"data-columns-xl":bt},kt(yt)),"0",e,null,4),o.be("ul",{"aria-label":mt,"aria-labelledby":ct},"1",e,null,0);{let gt=0;for(const{layoutType:ht=h,pressed:Wt,...It}of pt||[]){let M=gt++;const W=`[${M}]`;o.be("li",null,"2"+W,e,null,0),u(Ct,{layoutType:ht,pressed:i.pressed[M],...It},o,a,"3"+W,[["toggle","handleToggle",!1,[M]]]),o.ee()}}o.ee(),o.ee()},{t:v},rt);I.Component=p(rt,I._);const X="yDE$nIIb",f=b(X);m.r(X,()=>f);const at={};f._=c(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Car",e)}}),n("icon",{renderBody:t=>{u(Et,{},t,a,"1")}}),t=>{t.t("Icon 1",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("ATV",e)}}),n("icon",{renderBody:t=>{u(xt,{},t,a,"2")}}),t=>{t.t("Icon 2",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Cart",e)}}),n("icon",{renderBody:t=>{u(Ft,{},t,a,"3")}}),t=>{t.t("Icon 3",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Jet Ski",e)}}),n("icon",{renderBody:t=>{u($t,{},t,a,"4")}}),t=>{t.t("Icon 4",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Motorcycle",e)}}),n("icon",{renderBody:t=>{u(wt,{},t,a,"5")}}),t=>{t.t("Icon 5",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Snowmobile",e)}}),n("icon",{renderBody:t=>{u(_t,{},t,a,"6")}}),t=>{t.t("Icon 6",e)})))},{layoutType:"list",...l,buttons:void 0}),o,a,"0")},{t:X,i:!0},at);f.Component=p(at,f._);const vt=` <@button> Icon 1 <@subtitle>Car @@ -58,7 +58,7 @@ Group of toggle buttons. -`,G="zOELqgad",B=b(G);m.r(G,()=>B);const lt={};B._=p(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{...l,buttons:void 0}),o,a,"0")},{t:G,i:!0},lt);B.Component=c(lt,B._);const Ot=` +`,O="zOELqgad",B=b(O);m.r(O,()=>B);const lt={};B._=c(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{...l,buttons:void 0}),o,a,"0")},{t:O,i:!0},lt);B.Component=p(lt,B._);const Xt=` <@button> First Item <@subtitle>Empty on load @@ -84,7 +84,7 @@ Group of toggle buttons. <@subtitle>Empty on load -`,X="ZZFEcZhb",T=b(X);m.r(X,()=>T);const ut={onCreate(){this.state={pressed:[]}},handleChange({pressed:l}){this.state.pressed=l},clearSelection(){this.state.pressed=[]}};T._=p(function(l,o,a,e,i,g){const t=["Option 1","Option 2","Option 3"];o.be("div",{style:"width:100%"},"0",e,null,1),u(vt,{renderBody:h=>{h.t("Clear Selection",e)}},o,a,"1",[["click","clearSelection",!1]]),u(y,s(()=>{let h=0;for(const F of t||[]){let v=h++;r("buttons",{pressed:i.pressed.includes(v),renderBody:P=>{P.t(F,e)}})}},{a11yText:"Toggle Button Group",...l,buttons:void 0}),o,a,"2",[["change","handleChange",!1]]),o.ee()},{t:X},ut);T.Component=c(ut,T._);const Gt=`$ const titles = ["Option 1", "Option 2", "Option 3"]; +`,D="ZZFEcZhb",S=b(D);m.r(D,()=>S);const ut={onCreate(){this.state={pressed:[]}},handleChange({pressed:l}){this.state.pressed=l},clearSelection(){this.state.pressed=[]}};S._=c(function(l,o,a,e,i,g){const t=["Option 1","Option 2","Option 3"];o.be("div",{style:"width:100%"},"0",e,null,1),u(Pt,{renderBody:h=>{h.t("Clear Selection",e)}},o,a,"1",[["click","clearSelection",!1]]),u(y,s(()=>{let h=0;for(const F of t||[]){let P=h++;r("buttons",{pressed:i.pressed.includes(P),renderBody:L=>{L.t(F,e)}})}},{a11yText:"Toggle Button Group",...l,buttons:void 0}),o,a,"2",[["change","handleChange",!1]]),o.ee()},{t:D},ut);S.Component=p(ut,S._);const Ot=`$ const titles = ["Option 1", "Option 2", "Option 3"];
@@ -112,7 +112,7 @@ class { this.state.pressed = []; } } -`,D="wDzlRFfh",S=b(D);m.r(D,()=>S);const it={};S._=p(function(l,o,a,e,i,g){o.be("h5",{id:a.elId("label")},"0",e,null,1),o.t("Select Items",e),o.ee(),u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{a11yLabelId:a.elId("label"),...l,buttons:void 0}),o,a,"1")},{t:D,i:!0},it);S.Component=c(it,S._);const Xt=`
Select Items
+`,G="wDzlRFfh",T=b(G);m.r(G,()=>T);const it={};T._=c(function(l,o,a,e,i,g){o.be("h5",{id:a.elId("label")},"0",e,null,1),o.t("Select Items",e),o.ee(),u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{a11yLabelId:a.elId("label"),...l,buttons:void 0}),o,a,"1")},{t:G,i:!0},it);T.Component=p(it,T._);const Dt=`
Select Items
<@button> First Item @@ -139,7 +139,7 @@ class { <@subtitle>Empty on load -`,R="BWksE$zf",k=b(R);m.r(R,()=>k);const dt={};k._=p(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{columnsSM:3,columnsXS:2,columnsMD:6,columnsXL:8,...l,buttons:void 0}),o,a,"0")},{t:R,i:!0},dt);k.Component=c(dt,k._);const Dt=` +`,R="BWksE$zf",k=b(R);m.r(R,()=>k);const dt={};k._=c(function(l,o,a,e,i,g){u(y,s(()=>{r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("First Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Second Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Third Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Fourth Item",e)}))),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Pressed on load",e)}}),t=>{t.t("Fifth Item",e)}),{pressed:!0})),r("buttons",s(()=>(n("subtitle",{renderBody:t=>{t.t("Empty on load",e)}}),t=>{t.t("Sixth Item",e)})))},{columnsSM:3,columnsXS:2,columnsMD:6,columnsXL:8,...l,buttons:void 0}),o,a,"0")},{t:R,i:!0},dt);k.Component=p(dt,k._);const Gt=` <@button> First Item <@subtitle>Empty on load @@ -165,6 +165,11 @@ class { <@subtitle>Empty on load -`,Rt=l=>({input:Bt(l)}),ae={title:"buttons/ebay-toggle-button-group",component:y,parameters:{docs:{description:{component:Pt}}},argTypes:{variant:{type:"string",control:{type:"select"},options:["checkbox","radio","radio-toggle"],description:'Selection type for the buttons in the group. May be `"checkbox"` (default), `"radio"`, or `"radio-toggle"` (same as radio but with the option to deselect)'},columnsXS:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns on extra small screens"},columnsSM:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns on small screens"},columnsMD:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns on medium screens"},columnsXL:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns on extra large screens"},a11yText:{type:"string",description:"Accessibility text for the group. Cannot be used together with `a11yLabelId`"},a11yLabelId:{type:"string",description:"Id of the element that labels the group. Required for a11y compliance. Cannot be used together with `a11yText`"},layoutType:{type:"string",control:{type:"select"},options:["minimal","list","gallery"],description:'Enforced layout type of all buttons. May be `"minimal"` (default), `"list"`, or `"gallery"`. Gallery layout may only be used when there is also an icon or an image, and minimal layout may **not** be used when there is an icon or an image'},buttons:{name:"@button",description:"Represents an `` to be used as part of the group",table:{category:"@attribute tags"}},onChange:{action:"on-change",description:"Triggered when the pressed state changes",table:{category:"Events",defaultValue:{summary:"{ originalEvent, pressed }"}}}}},d=Rt.bind({});d.args={a11yText:"Toggle Button Group",buttons:[{renderBody:"Button 1"},{renderBody:"Button 2"},{renderBody:"Button 3"},{renderBody:"Button 4"},{renderBody:"Button 5"},{renderBody:"Button 6"}]};d.parameters={docs:{source:{code:ft("ebay-toggle-button",d.args)}}};const E=C(f,Mt),x=C(B,Ot),$=C(S,Xt),_=C(T,Gt),w=C(k,Dt);var j,z,A;d.parameters={...d.parameters,docs:{...(j=d.parameters)==null?void 0:j.docs,source:{originalSource:`args => ({ +`,Rt=l=>({input:Bt(l)}),ae={title:"buttons/ebay-toggle-button-group",component:y,parameters:{docs:{description:{component:Lt}}},argTypes:{variant:{type:"string",control:{type:"select"},options:["checkbox","radio","radio-toggle"],description:'Selection type for the buttons in the group. May be `"checkbox"` (default), `"radio"`, or `"radio-toggle"` (same as radio but with the option to deselect)'},columnsXS:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns within extra small containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed."},columnsSM:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns within small containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed."},columnsMD:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns within medium containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed."},columnsXL:{type:"number",control:{type:"number"},description:"Preferred minimum number of columns within extra large containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed."},a11yText:{type:"string",description:"Accessibility text for the group. Cannot be used together with `a11yLabelId`"},a11yLabelId:{type:"string",description:"Id of the element that labels the group. Required for a11y compliance. Cannot be used together with `a11yText`"},layoutType:{type:"string",control:{type:"select"},options:["minimal","list","gallery"],description:'Enforced layout type of all buttons. May be `"minimal"` (default), `"list"`, or `"gallery"`. Gallery layout may only be used when there is also an icon or an image, and minimal layout may **not** be used when there is an icon or an image'},buttons:{name:"@button",description:"Represents an `` to be used as part of the group",table:{category:"@attribute tags"}},onChange:{action:"on-change",description:"Triggered when the pressed state changes",table:{category:"Events",defaultValue:{summary:"{ originalEvent, pressed }"}}}}},d=Rt.bind({});d.args={a11yText:"Toggle Button Group",buttons:[{renderBody:"Button 1"},{renderBody:"Button 2"},{renderBody:"Button 3"},{renderBody:"Button 4"},{renderBody:"Button 5"},{renderBody:"Button 6"}]};d.parameters={docs:{source:{code:ft("ebay-toggle-button",d.args)}}};const E=C(f,vt),x=C(B,Xt),$=C(T,Dt),w=C(S,Ot),_=C(k,Gt,{columnsSM:3,columnsXS:2,columnsMD:6,columnsXL:8});var j,z,A;d.parameters={...d.parameters,docs:{...(j=d.parameters)==null?void 0:j.docs,source:{originalSource:`args => ({ input: addRenderBodies(args) -})`,...(A=(z=d.parameters)==null?void 0:z.docs)==null?void 0:A.source}}};var V,Z,q;E.parameters={...E.parameters,docs:{...(V=E.parameters)==null?void 0:V.docs,source:{originalSource:"buildExtensionTemplate(withIconsTemplate, withIconsCode)",...(q=(Z=E.parameters)==null?void 0:Z.docs)==null?void 0:q.source}}};var J,H,K;x.parameters={...x.parameters,docs:{...(J=x.parameters)==null?void 0:J.docs,source:{originalSource:"buildExtensionTemplate(withDefaultTemplate, withDefaultCode)",...(K=(H=x.parameters)==null?void 0:H.docs)==null?void 0:K.source}}};var N,Q,U;$.parameters={...$.parameters,docs:{...(N=$.parameters)==null?void 0:N.docs,source:{originalSource:"buildExtensionTemplate(externalLabelTemplate, externalLabelCode)",...(U=(Q=$.parameters)==null?void 0:Q.docs)==null?void 0:U.source}}};var Y,tt,et;_.parameters={..._.parameters,docs:{...(Y=_.parameters)==null?void 0:Y.docs,source:{originalSource:"buildExtensionTemplate(controlledTemplate, controlledCode)",...(et=(tt=_.parameters)==null?void 0:tt.docs)==null?void 0:et.source}}};var nt,ot,st;w.parameters={...w.parameters,docs:{...(nt=w.parameters)==null?void 0:nt.docs,source:{originalSource:"buildExtensionTemplate(columnsTemplate, columnsCode)",...(st=(ot=w.parameters)==null?void 0:ot.docs)==null?void 0:st.source}}};const le=["Default","WithIcons","WithDefaultSelected","externalLabel","Controlled","Columns"];export{w as Columns,_ as Controlled,d as Default,x as WithDefaultSelected,E as WithIcons,le as __namedExportsOrder,ae as default,$ as externalLabel}; +})`,...(A=(z=d.parameters)==null?void 0:z.docs)==null?void 0:A.source}}};var V,Z,q;E.parameters={...E.parameters,docs:{...(V=E.parameters)==null?void 0:V.docs,source:{originalSource:"buildExtensionTemplate(withIconsTemplate, withIconsCode)",...(q=(Z=E.parameters)==null?void 0:Z.docs)==null?void 0:q.source}}};var J,H,K;x.parameters={...x.parameters,docs:{...(J=x.parameters)==null?void 0:J.docs,source:{originalSource:"buildExtensionTemplate(withDefaultTemplate, withDefaultCode)",...(K=(H=x.parameters)==null?void 0:H.docs)==null?void 0:K.source}}};var N,Q,U;$.parameters={...$.parameters,docs:{...(N=$.parameters)==null?void 0:N.docs,source:{originalSource:"buildExtensionTemplate(externalLabelTemplate, externalLabelCode)",...(U=(Q=$.parameters)==null?void 0:Q.docs)==null?void 0:U.source}}};var Y,tt,et;w.parameters={...w.parameters,docs:{...(Y=w.parameters)==null?void 0:Y.docs,source:{originalSource:"buildExtensionTemplate(controlledTemplate, controlledCode)",...(et=(tt=w.parameters)==null?void 0:tt.docs)==null?void 0:et.source}}};var nt,ot,st;_.parameters={..._.parameters,docs:{...(nt=_.parameters)==null?void 0:nt.docs,source:{originalSource:`buildExtensionTemplate(columnsTemplate, columnsCode, { + columnsSM: 3, + columnsXS: 2, + columnsMD: 6, + columnsXL: 8 +})`,...(st=(ot=_.parameters)==null?void 0:ot.docs)==null?void 0:st.source}}};const le=["Default","WithIcons","WithDefaultSelected","externalLabel","Controlled","PerferedColumns"];export{w as Controlled,d as Default,_ as PerferedColumns,x as WithDefaultSelected,E as WithIcons,le as __namedExportsOrder,ae as default,$ as externalLabel}; diff --git a/docs/assets/toggle-button.stories-CKom1j2I.js b/docs/assets/toggle-button.stories-ikb7UPgQ.js similarity index 97% rename from docs/assets/toggle-button.stories-CKom1j2I.js rename to docs/assets/toggle-button.stories-ikb7UPgQ.js index dc8a09bc7..09425e902 100644 --- a/docs/assets/toggle-button.stories-CKom1j2I.js +++ b/docs/assets/toggle-button.stories-ikb7UPgQ.js @@ -1,4 +1,4 @@ -import{t as Q}from"./index-CCz6reEH.js";import{a as V}from"./utils-DWCsNc5l.js";import{c as b}from"./index-BZUg6Zq0.js";import{r as y,b as h,d as f,t as _}from"./registry-B-klnak9.js";import{i as T,a as c}from"./attr-tag-DphMQldM.js";import{_ as Z}from"./index-Don6OhkX.js";import{_ as p}from"./render-tag-BBOJ9dEX.js";import{_ as S}from"./empty-component-BCB5DEsP.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const q=`

+import{t as Q}from"./index-CCz6reEH.js";import{a as V}from"./utils-DWCsNc5l.js";import{c as b}from"./index-BfEgRTc6.js";import{r as y,b as h,d as f,t as _}from"./registry-B-klnak9.js";import{i as T,a as c}from"./attr-tag-DphMQldM.js";import{_ as Z}from"./index-CjSCztMY.js";import{_ as p}from"./render-tag-BBOJ9dEX.js";import{_ as S}from"./empty-component-BCB5DEsP.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./dynamic-tag-DQCvkDdb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const q=`

ebay-toggle-button diff --git a/docs/assets/tooltip.stories-DKY71Ev4.js b/docs/assets/tooltip.stories-ulSYlgZF.js similarity index 96% rename from docs/assets/tooltip.stories-DKY71Ev4.js rename to docs/assets/tooltip.stories-ulSYlgZF.js index 1de4eca27..149decba1 100644 --- a/docs/assets/tooltip.stories-DKY71Ev4.js +++ b/docs/assets/tooltip.stories-ulSYlgZF.js @@ -1,4 +1,4 @@ -import{t as Y}from"./index-CCz6reEH.js";import{a as z}from"./utils-DWCsNc5l.js";import{t as k,r as v,b as x,e as N,p as O,d as S}from"./registry-B-klnak9.js";/* empty css */import{_ as P}from"./index-C_i8Cqa-.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as q}from"./dynamic-tag-DQCvkDdb.js";import{_ as G,a as J}from"./index-DiTsWp84.js";import{h as L}from"./index-blmbJU0z.js";import{_ as Q}from"./index-CEIx_xnL.js";import{i as W,a as h}from"./attr-tag-DphMQldM.js";import{_ as X}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const Z=`

+import{t as Y}from"./index-CCz6reEH.js";import{a as z}from"./utils-DWCsNc5l.js";import{t as k,r as v,b as x,e as N,p as O,d as S}from"./registry-B-klnak9.js";/* empty css */import{_ as P}from"./index-C_i8Cqa-.js";import{_ as r}from"./render-tag-BBOJ9dEX.js";import{_ as q}from"./dynamic-tag-DQCvkDdb.js";import{_ as G,a as J}from"./index-DpkNtl2T.js";import{h as L}from"./index-blmbJU0z.js";import{_ as Q}from"./index-DIATYkRw.js";import{i as W,a as h}from"./attr-tag-DphMQldM.js";import{_ as X}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const Z=`

ebay-tooltip diff --git a/docs/assets/tourtip.stories-BKos4uHy.js b/docs/assets/tourtip.stories-DlgEL4vs.js similarity index 98% rename from docs/assets/tourtip.stories-BKos4uHy.js rename to docs/assets/tourtip.stories-DlgEL4vs.js index bc8e30a74..2f0cd37b1 100644 --- a/docs/assets/tourtip.stories-BKos4uHy.js +++ b/docs/assets/tourtip.stories-DlgEL4vs.js @@ -1,4 +1,4 @@ -import{a as E}from"./utils-DWCsNc5l.js";import{t as F,r as N,b as V,e as c,p as m,f as b,d as P}from"./registry-B-klnak9.js";/* empty css */import{_ as f}from"./dynamic-tag-DQCvkDdb.js";import{i as $,a as A}from"./attr-tag-DphMQldM.js";import{_ as K,a as j}from"./index-DiTsWp84.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Cm_Gb0Br.js";import"./index-C98gAawF.js";/* empty css */import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const z=`

+import{a as E}from"./utils-DWCsNc5l.js";import{t as F,r as N,b as V,e as c,p as m,f as b,d as P}from"./registry-B-klnak9.js";/* empty css */import{_ as f}from"./dynamic-tag-DQCvkDdb.js";import{i as $,a as A}from"./attr-tag-DphMQldM.js";import{_ as K,a as j}from"./index-DpkNtl2T.js";import{_ as h}from"./render-tag-BBOJ9dEX.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-A0egsrj7.js";import"./index-Bd083XES.js";/* empty css */import"./index-D7B88Psz.js";import"./index-D7GlLQHj.js";import"./index--35j0Bzx.js";const z=`

ebay-tourtip diff --git a/docs/assets/tri-state-checkbox.stories-CXsqVSuW.js b/docs/assets/tri-state-checkbox.stories-B4oeEtwZ.js similarity index 96% rename from docs/assets/tri-state-checkbox.stories-CXsqVSuW.js rename to docs/assets/tri-state-checkbox.stories-B4oeEtwZ.js index 0466458b3..068e96e13 100644 --- a/docs/assets/tri-state-checkbox.stories-CXsqVSuW.js +++ b/docs/assets/tri-state-checkbox.stories-B4oeEtwZ.js @@ -1,4 +1,4 @@ -import{t as Q}from"./index-CCz6reEH.js";import{t as g,r as _,b as y,g as X,f as G,e as J,p as Y,d as x}from"./registry-B-klnak9.js";import{_ as Z}from"./index-D11s4y-0.js";/* empty css */import{_ as D,a as ee}from"./index-BKL0XX-O.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";import{a as te,c as ae,_ as se,b as ne}from"./index-Bgyy39_y.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */const ce=`

+import{t as Q}from"./index-CCz6reEH.js";import{t as g,r as _,b as y,g as X,f as G,e as J,p as Y,d as x}from"./registry-B-klnak9.js";import{_ as Z}from"./index-CbaZ7o5m.js";/* empty css */import{_ as D,a as ee}from"./index-MFibc1jG.js";import{_ as c}from"./render-tag-BBOJ9dEX.js";import{a as te,c as ae,_ as se,b as ne}from"./index-BQLO4xjX.js";import{_ as U}from"./const-element-Usj7mXQw.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */const ce=`

ebay-tri-state-checkbox diff --git a/docs/assets/video.stories-Czql8gX8.js b/docs/assets/video.stories-BA4U4GMY.js similarity index 97% rename from docs/assets/video.stories-Czql8gX8.js rename to docs/assets/video.stories-BA4U4GMY.js index e1b043abb..a2a1801fe 100644 --- a/docs/assets/video.stories-Czql8gX8.js +++ b/docs/assets/video.stories-BA4U4GMY.js @@ -1,4 +1,4 @@ -import{t as g}from"./index-CCz6reEH.js";import{t as O,r as j,b as q,f as m,g as W,e as H,p as G,h as E,d as J}from"./registry-B-klnak9.js";import{_ as K}from"./index-C_i8Cqa-.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as Q}from"./preserve-tag-DbR6FWcg.js";import{_ as X,a as w}from"./index-DrsTyFc_.js";import{_ as Y}from"./index-CAVmWk6z.js";import{_ as Z}from"./index-BihjYMpj.js";import{C as ee}from"./index-Marf191J.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-C98gAawF.js";/* empty css */import"./index-CIM_zO8g.js";const te=`

+import{t as g}from"./index-CCz6reEH.js";import{t as O,r as j,b as q,f as m,g as W,e as H,p as G,h as E,d as J}from"./registry-B-klnak9.js";import{_ as K}from"./index-C_i8Cqa-.js";import{_ as l}from"./render-tag-BBOJ9dEX.js";import{_ as Q}from"./preserve-tag-DbR6FWcg.js";import{_ as X,a as w}from"./index-BQLNeQ70.js";import{_ as Y}from"./index-5NFv2JwF.js";import{_ as Z}from"./index-DmgbYHgV.js";import{C as ee}from"./index-Marf191J.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-Bd083XES.js";/* empty css */import"./index-DYoePqPO.js";const te=`

ebay-video diff --git a/docs/assets/welcome-DWOHR_d0.js b/docs/assets/welcome-DI7iIrvQ.js similarity index 98% rename from docs/assets/welcome-DWOHR_d0.js rename to docs/assets/welcome-DI7iIrvQ.js index 6161da91e..8f1d9de7e 100644 --- a/docs/assets/welcome-DWOHR_d0.js +++ b/docs/assets/welcome-DI7iIrvQ.js @@ -1,4 +1,4 @@ -import{j as e,M as o}from"./chunk-HLWAVYOI-BpJ_6HfN.js";import{u as r}from"./index-ClCifLxd.js";import"./iframe-C5f-bDcb.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Welcome"}),` +import{j as e,M as o}from"./chunk-HLWAVYOI-uH84A_5y.js";import{u as r}from"./index-C0ZlcG9W.js";import"./iframe-C-4hqhip.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-ChWP2N81.js";import"./index-DrFu-skq.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Welcome"}),` `,e.jsx(n.h1,{id:"ebayui-core",children:"eBayUI Core"}),` `,e.jsxs(n.blockquote,{children:[` `,e.jsx(n.p,{children:"Collection of Marko widgets; considered to be the core building blocks for all eBay components, pages & apps."}),` diff --git a/docs/iframe.html b/docs/iframe.html index 8d68b5195..79964f32a 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -505,7 +505,7 @@ } - + diff --git a/docs/index.json b/docs/index.json index 0217adc7b..3a234561d 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1 +1 @@ -{"v":5,"entries":{"welcome--documentation":{"id":"welcome--documentation","title":"Welcome","name":"Documentation","importPath":"./src/components/documentation/welcome.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"getting-started--documentation":{"id":"getting-started--documentation","title":"Getting Started","name":"Documentation","importPath":"./src/components/documentation/getting-started.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing--documentation":{"id":"contributing--documentation","title":"Contributing","name":"Documentation","importPath":"./src/components/documentation/contributing.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"buttons-overview--documentation":{"id":"buttons-overview--documentation","title":"buttons/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/buttons.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"buttons-ebay-button--documentation":{"id":"buttons-ebay-button--documentation","title":"buttons/ebay-button","name":"Documentation","importPath":"./src/components/ebay-button/button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-button--standard":{"type":"story","id":"buttons-ebay-button--standard","name":"Standard","title":"buttons/ebay-button","importPath":"./src/components/ebay-button/button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-button--expand-button":{"type":"story","id":"buttons-ebay-button--expand-button","name":"Expand Button","title":"buttons/ebay-button","importPath":"./src/components/ebay-button/button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-cta-button--documentation":{"id":"buttons-ebay-cta-button--documentation","title":"buttons/ebay-cta-button","name":"Documentation","importPath":"./src/components/ebay-cta-button/cta-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-cta-button--standard":{"type":"story","id":"buttons-ebay-cta-button--standard","name":"Standard","title":"buttons/ebay-cta-button","importPath":"./src/components/ebay-cta-button/cta-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-link--documentation":{"id":"buttons-ebay-fake-link--documentation","title":"buttons/ebay-fake-link","name":"Documentation","importPath":"./src/components/ebay-fake-link/fake-link.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-fake-link--standard":{"type":"story","id":"buttons-ebay-fake-link--standard","name":"Standard","title":"buttons/ebay-fake-link","importPath":"./src/components/ebay-fake-link/fake-link.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--documentation":{"id":"buttons-ebay-fake-menu-button--documentation","title":"buttons/ebay-fake-menu-button","name":"Documentation","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-fake-menu-button--standard":{"type":"story","id":"buttons-ebay-fake-menu-button--standard","name":"Standard","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--icon-text":{"type":"story","id":"buttons-ebay-fake-menu-button--icon-text","name":"Icon Text","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--custom-label-text":{"type":"story","id":"buttons-ebay-fake-menu-button--custom-label-text","name":"Custom Label Text","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--separator":{"type":"story","id":"buttons-ebay-fake-menu-button--separator","name":"Separator","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-filter-menu-button--documentation":{"id":"buttons-ebay-filter-menu-button--documentation","title":"buttons/ebay-filter-menu-button","name":"Documentation","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-filter-menu-button--default":{"type":"story","id":"buttons-ebay-filter-menu-button--default","name":"Default","title":"buttons/ebay-filter-menu-button","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-filter-menu-button--with-footer":{"type":"story","id":"buttons-ebay-filter-menu-button--with-footer","name":"With Footer","title":"buttons/ebay-filter-menu-button","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-icon-button--documentation":{"id":"buttons-ebay-icon-button--documentation","title":"buttons/ebay-icon-button","name":"Documentation","importPath":"./src/components/ebay-icon-button/icon-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-icon-button--default":{"type":"story","id":"buttons-ebay-icon-button--default","name":"Default","title":"buttons/ebay-icon-button","importPath":"./src/components/ebay-icon-button/icon-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-infotip--documentation":{"id":"buttons-ebay-infotip--documentation","title":"buttons/ebay-infotip","name":"Documentation","importPath":"./src/components/ebay-infotip/infotip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-infotip--default":{"type":"story","id":"buttons-ebay-infotip--default","name":"Default","title":"buttons/ebay-infotip","importPath":"./src/components/ebay-infotip/infotip.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-infotip--open-on-render":{"type":"story","id":"buttons-ebay-infotip--open-on-render","name":"Open On Render","title":"buttons/ebay-infotip","importPath":"./src/components/ebay-infotip/infotip.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--documentation":{"id":"buttons-ebay-listbox-button--documentation","title":"buttons/ebay-listbox-button","name":"Documentation","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-listbox-button--default":{"type":"story","id":"buttons-ebay-listbox-button--default","name":"Default","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--with-description":{"type":"story","id":"buttons-ebay-listbox-button--with-description","name":"With Description","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--with-error":{"type":"story","id":"buttons-ebay-listbox-button--with-error","name":"With Error","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--documentation":{"id":"buttons-ebay-menu-button--documentation","title":"buttons/ebay-menu-button","name":"Documentation","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-menu-button--default":{"type":"story","id":"buttons-ebay-menu-button--default","name":"Default","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--icon-text":{"type":"story","id":"buttons-ebay-menu-button--icon-text","name":"Icon Text","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--separator":{"type":"story","id":"buttons-ebay-menu-button--separator","name":"Separator","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--typeahead":{"type":"story","id":"buttons-ebay-menu-button--typeahead","name":"Typeahead","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--badged":{"type":"story","id":"buttons-ebay-menu-button--badged","name":"Badged","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--prefix-label":{"type":"story","id":"buttons-ebay-menu-button--prefix-label","name":"Prefix Label","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-segmented-buttons--documentation":{"id":"buttons-ebay-segmented-buttons--documentation","title":"buttons/ebay-segmented-buttons","name":"Documentation","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-segmented-buttons--default":{"type":"story","id":"buttons-ebay-segmented-buttons--default","name":"Default","title":"buttons/ebay-segmented-buttons","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-segmented-buttons--with-icons":{"type":"story","id":"buttons-ebay-segmented-buttons--with-icons","name":"With Icons","title":"buttons/ebay-segmented-buttons","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-split-button--documentation":{"id":"buttons-ebay-split-button--documentation","title":"buttons/ebay-split-button","name":"Documentation","importPath":"./src/components/ebay-split-button/split-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-split-button--standard":{"type":"story","id":"buttons-ebay-split-button--standard","name":"Standard","title":"buttons/ebay-split-button","importPath":"./src/components/ebay-split-button/split-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--documentation":{"id":"buttons-ebay-toggle-button-group--documentation","title":"buttons/ebay-toggle-button-group","name":"Documentation","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-toggle-button-group--default":{"type":"story","id":"buttons-ebay-toggle-button-group--default","name":"Default","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--with-icons":{"type":"story","id":"buttons-ebay-toggle-button-group--with-icons","name":"With Icons","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--with-default-selected":{"type":"story","id":"buttons-ebay-toggle-button-group--with-default-selected","name":"With Default Selected","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--external-label":{"type":"story","id":"buttons-ebay-toggle-button-group--external-label","name":"External Label","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--controlled":{"type":"story","id":"buttons-ebay-toggle-button-group--controlled","name":"Controlled","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--columns":{"type":"story","id":"buttons-ebay-toggle-button-group--columns","name":"Columns","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--documentation":{"id":"buttons-ebay-toggle-button--documentation","title":"buttons/ebay-toggle-button","name":"Documentation","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-toggle-button--default":{"type":"story","id":"buttons-ebay-toggle-button--default","name":"Default","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--with-icon":{"type":"story","id":"buttons-ebay-toggle-button--with-icon","name":"With Icon","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--with-image":{"type":"story","id":"buttons-ebay-toggle-button--with-image","name":"With Image","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--multiline-subtitle":{"type":"story","id":"buttons-ebay-toggle-button--multiline-subtitle","name":"Multiline Subtitle","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"dialogs-overview--documentation":{"id":"dialogs-overview--documentation","title":"dialogs/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/dialogs.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"dialogs-ebay-alert-dialog--documentation":{"id":"dialogs-ebay-alert-dialog--documentation","title":"dialogs/ebay-alert-dialog","name":"Documentation","importPath":"./src/components/ebay-alert-dialog/alert-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-alert-dialog--default":{"type":"story","id":"dialogs-ebay-alert-dialog--default","name":"Default","title":"dialogs/ebay-alert-dialog","importPath":"./src/components/ebay-alert-dialog/alert-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-confirm-dialog--documentation":{"id":"dialogs-ebay-confirm-dialog--documentation","title":"dialogs/ebay-confirm-dialog","name":"Documentation","importPath":"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-confirm-dialog--default":{"type":"story","id":"dialogs-ebay-confirm-dialog--default","name":"Default","title":"dialogs/ebay-confirm-dialog","importPath":"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-drawer-dialog--documentation":{"id":"dialogs-ebay-drawer-dialog--documentation","title":"dialogs/ebay-drawer-dialog","name":"Documentation","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-drawer-dialog--standard":{"type":"story","id":"dialogs-ebay-drawer-dialog--standard","name":"Standard","title":"dialogs/ebay-drawer-dialog","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-drawer-dialog--with-footer":{"type":"story","id":"dialogs-ebay-drawer-dialog--with-footer","name":"With Footer","title":"dialogs/ebay-drawer-dialog","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-fullscreen-dialog--documentation":{"id":"dialogs-ebay-fullscreen-dialog--documentation","title":"dialogs/ebay-fullscreen-dialog","name":"Documentation","importPath":"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-fullscreen-dialog--default":{"type":"story","id":"dialogs-ebay-fullscreen-dialog--default","name":"Default","title":"dialogs/ebay-fullscreen-dialog","importPath":"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--documentation":{"id":"dialogs-ebay-lightbox-dialog--documentation","title":"dialogs/ebay-lightbox-dialog","name":"Documentation","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-lightbox-dialog--default":{"type":"story","id":"dialogs-ebay-lightbox-dialog--default","name":"Default","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--scrolling":{"type":"story","id":"dialogs-ebay-lightbox-dialog--scrolling","name":"Scrolling","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--expressive":{"type":"story","id":"dialogs-ebay-lightbox-dialog--expressive","name":"Expressive","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--with-prev-button":{"type":"story","id":"dialogs-ebay-lightbox-dialog--with-prev-button","name":"With Prev Button","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--with-footer":{"type":"story","id":"dialogs-ebay-lightbox-dialog--with-footer","name":"With Footer","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-panel-dialog--documentation":{"id":"dialogs-ebay-panel-dialog--documentation","title":"dialogs/ebay-panel-dialog","name":"Documentation","importPath":"./src/components/ebay-panel-dialog/panel-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-panel-dialog--default":{"type":"story","id":"dialogs-ebay-panel-dialog--default","name":"Default","title":"dialogs/ebay-panel-dialog","importPath":"./src/components/ebay-panel-dialog/panel-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-snackbar-dialog--documentation":{"id":"dialogs-ebay-snackbar-dialog--documentation","title":"dialogs/ebay-snackbar-dialog","name":"Documentation","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-snackbar-dialog--default":{"type":"story","id":"dialogs-ebay-snackbar-dialog--default","name":"Default","title":"dialogs/ebay-snackbar-dialog","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-snackbar-dialog--with-action":{"type":"story","id":"dialogs-ebay-snackbar-dialog--with-action","name":"With Action","title":"dialogs/ebay-snackbar-dialog","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-toast-dialog--documentation":{"id":"dialogs-ebay-toast-dialog--documentation","title":"dialogs/ebay-toast-dialog","name":"Documentation","importPath":"./src/components/ebay-toast-dialog/toast-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-toast-dialog--default":{"type":"story","id":"dialogs-ebay-toast-dialog--default","name":"Default","title":"dialogs/ebay-toast-dialog","importPath":"./src/components/ebay-toast-dialog/toast-dialog.stories.ts","tags":["dev","test","autodocs"]},"form-input-overview--documentation":{"id":"form-input-overview--documentation","title":"form input/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/form-input.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"form-input-ebay-checkbox--documentation":{"id":"form-input-ebay-checkbox--documentation","title":"form input/ebay-checkbox","name":"Documentation","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-checkbox--with-label":{"type":"story","id":"form-input-ebay-checkbox--with-label","name":"With Label","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--disabled":{"type":"story","id":"form-input-ebay-checkbox--disabled","name":"Disabled","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--group":{"type":"story","id":"form-input-ebay-checkbox--group","name":"Group","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--isolated":{"type":"story","id":"form-input-ebay-checkbox--isolated","name":"Isolated","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-chips-combobox--documentation":{"id":"form-input-ebay-chips-combobox--documentation","title":"form input/ebay-chips-combobox","name":"Documentation","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-chips-combobox--default":{"type":"story","id":"form-input-ebay-chips-combobox--default","name":"Default","title":"form input/ebay-chips-combobox","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-chips-combobox--selected":{"type":"story","id":"form-input-ebay-chips-combobox--selected","name":"Selected","title":"form input/ebay-chips-combobox","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--documentation":{"id":"form-input-ebay-combobox--documentation","title":"form input/ebay-combobox","name":"Documentation","importPath":"./src/components/ebay-combobox/combobox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-combobox--floating-label":{"type":"story","id":"form-input-ebay-combobox--floating-label","name":"Floating Label","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--isolated":{"type":"story","id":"form-input-ebay-combobox--isolated","name":"Isolated","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--search-filtering":{"type":"story","id":"form-input-ebay-combobox--search-filtering","name":"Search Filtering","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--documentation":{"id":"form-input-ebay-date-textbox--documentation","title":"form input/ebay-date-textbox","name":"Documentation","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-date-textbox--default":{"type":"story","id":"form-input-ebay-date-textbox--default","name":"Default","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--localized":{"type":"story","id":"form-input-ebay-date-textbox--localized","name":"Localized","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--with-clear":{"type":"story","id":"form-input-ebay-date-textbox--with-clear","name":"With Clear","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--in-field-example":{"type":"story","id":"form-input-ebay-date-textbox--in-field-example","name":"In Field Example","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-phone-input--documentation":{"id":"form-input-ebay-phone-input--documentation","title":"form input/ebay-phone-input","name":"Documentation","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-phone-input--default":{"type":"story","id":"form-input-ebay-phone-input--default","name":"Default","title":"form input/ebay-phone-input","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-phone-input--localization":{"type":"story","id":"form-input-ebay-phone-input--localization","name":"Localization","title":"form input/ebay-phone-input","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--documentation":{"id":"form-input-ebay-radio--documentation","title":"form input/ebay-radio","name":"Documentation","importPath":"./src/components/ebay-radio/radio.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-radio--with-label":{"type":"story","id":"form-input-ebay-radio--with-label","name":"With Label","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--disabled":{"type":"story","id":"form-input-ebay-radio--disabled","name":"Disabled","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--group":{"type":"story","id":"form-input-ebay-radio--group","name":"Group","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--isolated":{"type":"story","id":"form-input-ebay-radio--isolated","name":"Isolated","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--documentation":{"id":"form-input-ebay-select--documentation","title":"form input/ebay-select","name":"Documentation","importPath":"./src/components/ebay-select/select.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-select--floating":{"type":"story","id":"form-input-ebay-select--floating","name":"Floating","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--external-label":{"type":"story","id":"form-input-ebay-select--external-label","name":"External Label","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--disabled":{"type":"story","id":"form-input-ebay-select--disabled","name":"Disabled","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--in-form":{"type":"story","id":"form-input-ebay-select--in-form","name":"In Form","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-star-rating-select--documentation":{"id":"form-input-ebay-star-rating-select--documentation","title":"form input/ebay-star-rating-select","name":"Documentation","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-star-rating-select--isolated":{"type":"story","id":"form-input-ebay-star-rating-select--isolated","name":"Isolated","title":"form input/ebay-star-rating-select","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-star-rating-select--fieldset":{"type":"story","id":"form-input-ebay-star-rating-select--fieldset","name":"Fieldset","title":"form input/ebay-star-rating-select","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--documentation":{"id":"form-input-ebay-switch--documentation","title":"form input/ebay-switch","name":"Documentation","importPath":"./src/components/ebay-switch/switch.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-switch--with-label":{"type":"story","id":"form-input-ebay-switch--with-label","name":"With Label","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--disabled":{"type":"story","id":"form-input-ebay-switch--disabled","name":"Disabled","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--isolated":{"type":"story","id":"form-input-ebay-switch--isolated","name":"Isolated","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--documentation":{"id":"form-input-ebay-textbox--documentation","title":"form input/ebay-textbox","name":"Documentation","importPath":"./src/components/ebay-textbox/textbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-textbox--with-label":{"type":"story","id":"form-input-ebay-textbox--with-label","name":"With Label","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--disabled":{"type":"story","id":"form-input-ebay-textbox--disabled","name":"Disabled","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--floating-label":{"type":"story","id":"form-input-ebay-textbox--floating-label","name":"Floating Label","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--floating-label-autocomplete":{"type":"story","id":"form-input-ebay-textbox--floating-label-autocomplete","name":"Floating Label Autocomplete","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--isolated":{"type":"story","id":"form-input-ebay-textbox--isolated","name":"Isolated","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--prefix-icon":{"type":"story","id":"form-input-ebay-textbox--prefix-icon","name":"Prefix Icon","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--postfix-icon":{"type":"story","id":"form-input-ebay-textbox--postfix-icon","name":"Postfix Icon","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--both-icons":{"type":"story","id":"form-input-ebay-textbox--both-icons","name":"Both Icons","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--fully-decorated":{"type":"story","id":"form-input-ebay-textbox--fully-decorated","name":"Fully Decorated","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--documentation":{"id":"form-input-ebay-tri-state-checkbox--documentation","title":"form input/ebay-tri-state-checkbox","name":"Documentation","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-tri-state-checkbox--with-label":{"type":"story","id":"form-input-ebay-tri-state-checkbox--with-label","name":"With Label","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--disabled":{"type":"story","id":"form-input-ebay-tri-state-checkbox--disabled","name":"Disabled","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--mixed-implementation":{"type":"story","id":"form-input-ebay-tri-state-checkbox--mixed-implementation","name":"Mixed Implementation","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--isolated":{"type":"story","id":"form-input-ebay-tri-state-checkbox--isolated","name":"Isolated","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-overview--documentation":{"id":"graphics-icons-overview--documentation","title":"graphics & icons/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/graphics-and-icons.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"graphics-icons-ebay-avatar--documentation":{"id":"graphics-icons-ebay-avatar--documentation","title":"graphics & icons/ebay-avatar","name":"Documentation","importPath":"./src/components/ebay-avatar/avatar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-avatar--default":{"type":"story","id":"graphics-icons-ebay-avatar--default","name":"Default","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-avatar--with-image":{"type":"story","id":"graphics-icons-ebay-avatar--with-image","name":"With Image","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-avatar--signed-out":{"type":"story","id":"graphics-icons-ebay-avatar--signed-out","name":"Signed Out","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-badge--documentation":{"id":"graphics-icons-ebay-badge--documentation","title":"graphics & icons/ebay-badge","name":"Documentation","importPath":"./src/components/ebay-badge/badge.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-badge--standard":{"type":"story","id":"graphics-icons-ebay-badge--standard","name":"Standard","title":"graphics & icons/ebay-badge","importPath":"./src/components/ebay-badge/badge.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--documentation":{"id":"graphics-icons-ebay-eek--documentation","title":"graphics & icons/ebay-eek","name":"Documentation","importPath":"./src/components/ebay-eek/eek.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-eek--default":{"type":"story","id":"graphics-icons-ebay-eek--default","name":"Default","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-one":{"type":"story","id":"graphics-icons-ebay-eek--example-one","name":"A+++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-two":{"type":"story","id":"graphics-icons-ebay-eek--example-two","name":"A++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-three":{"type":"story","id":"graphics-icons-ebay-eek--example-three","name":"A++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-four":{"type":"story","id":"graphics-icons-ebay-eek--example-four","name":"A","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--invalid-combinations":{"type":"story","id":"graphics-icons-ebay-eek--invalid-combinations","name":"Invalid Combinations","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-flag--documentation":{"id":"graphics-icons-ebay-flag--documentation","title":"graphics & icons/ebay-flag","name":"Documentation","importPath":"./src/components/ebay-flag/flag.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-flag--default":{"type":"story","id":"graphics-icons-ebay-flag--default","name":"Default","title":"graphics & icons/ebay-flag","importPath":"./src/components/ebay-flag/flag.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-icon--documentation":{"id":"graphics-icons-ebay-icon--documentation","title":"graphics & icons/ebay-icon","name":"Documentation","importPath":"./src/components/ebay-icon/icon.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-icon--default":{"type":"story","id":"graphics-icons-ebay-icon--default","name":"Default","title":"graphics & icons/ebay-icon","importPath":"./src/components/ebay-icon/icon.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-image-placeholder--documentation":{"id":"graphics-icons-ebay-image-placeholder--documentation","title":"graphics & icons/ebay-image-placeholder","name":"Documentation","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-image-placeholder--default":{"type":"story","id":"graphics-icons-ebay-image-placeholder--default","name":"Default","title":"graphics & icons/ebay-image-placeholder","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-image-placeholder--resized":{"type":"story","id":"graphics-icons-ebay-image-placeholder--resized","name":"Resized","title":"graphics & icons/ebay-image-placeholder","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-signal--documentation":{"id":"graphics-icons-ebay-signal--documentation","title":"graphics & icons/ebay-signal","name":"Documentation","importPath":"./src/components/ebay-signal/signal.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-signal--standard":{"type":"story","id":"graphics-icons-ebay-signal--standard","name":"Standard","title":"graphics & icons/ebay-signal","importPath":"./src/components/ebay-signal/signal.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-star-rating--documentation":{"id":"graphics-icons-ebay-star-rating--documentation","title":"graphics & icons/ebay-star-rating","name":"Documentation","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-star-rating--dynamic-stars":{"type":"story","id":"graphics-icons-ebay-star-rating--dynamic-stars","name":"Dynamic Stars","title":"graphics & icons/ebay-star-rating","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-star-rating--fixed-stars":{"type":"story","id":"graphics-icons-ebay-star-rating--fixed-stars","name":"Fixed Stars","title":"graphics & icons/ebay-star-rating","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","tags":["dev","test","autodocs"]},"media-overview--documentation":{"id":"media-overview--documentation","title":"media/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/media.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"media-ebay-3d-viewer--documentation":{"id":"media-ebay-3d-viewer--documentation","title":"media/ebay-3d-viewer","name":"Documentation","importPath":"./src/components/ebay-3d-viewer/3d-viewer.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"media-ebay-3d-viewer--default":{"type":"story","id":"media-ebay-3d-viewer--default","name":"Default","title":"media/ebay-3d-viewer","importPath":"./src/components/ebay-3d-viewer/3d-viewer.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--documentation":{"id":"media-ebay-video--documentation","title":"media/ebay-video","name":"Documentation","importPath":"./src/components/ebay-video/video.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"media-ebay-video--standard":{"type":"story","id":"media-ebay-video--standard","name":"Standard","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--ios":{"type":"story","id":"media-ebay-video--ios","name":"ios","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--mp-4":{"type":"story","id":"media-ebay-video--mp-4","name":"mp4","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-overview--documentation":{"id":"navigation-disclosure-overview--documentation","title":"navigation & disclosure/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/navigation-and-disclosure.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"navigation-disclosure-ebay-breadcrumbs--documentation":{"id":"navigation-disclosure-ebay-breadcrumbs--documentation","title":"navigation & disclosure/ebay-breadcrumbs","name":"Documentation","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-breadcrumbs--heading":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--heading","name":"Heading","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--last-page-current":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--last-page-current","name":"Last Page Current","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--last-page-parent":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--last-page-parent","name":"Last Page Parent","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--page-custom-attribute":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--page-custom-attribute","name":"Page Custom Attribute","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--buttons":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--buttons","name":"Buttons","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--documentation":{"id":"navigation-disclosure-ebay-carousel--documentation","title":"navigation & disclosure/ebay-carousel","name":"Documentation","importPath":"./src/components/ebay-carousel/carousel.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-carousel--continuous":{"type":"story","id":"navigation-disclosure-ebay-carousel--continuous","name":"Continuous","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--continuous-image-treatment":{"type":"story","id":"navigation-disclosure-ebay-carousel--continuous-image-treatment","name":"Continuous Image Treatment","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--discrete":{"type":"story","id":"navigation-disclosure-ebay-carousel--discrete","name":"Discrete","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--autoplay":{"type":"story","id":"navigation-disclosure-ebay-carousel--autoplay","name":"Autoplay","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--preserve-tabindex":{"type":"story","id":"navigation-disclosure-ebay-carousel--preserve-tabindex","name":"Preserve Tabindex","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--variable-sizes":{"type":"story","id":"navigation-disclosure-ebay-carousel--variable-sizes","name":"Variable Sizes","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-details--documentation":{"id":"navigation-disclosure-ebay-details--documentation","title":"navigation & disclosure/ebay-details","name":"Documentation","importPath":"./src/components/ebay-details/details.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-details--standard":{"type":"story","id":"navigation-disclosure-ebay-details--standard","name":"Standard","title":"navigation & disclosure/ebay-details","importPath":"./src/components/ebay-details/details.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-fake-tabs--documentation":{"id":"navigation-disclosure-ebay-fake-tabs--documentation","title":"navigation & disclosure/ebay-fake-tabs","name":"Documentation","importPath":"./src/components/ebay-fake-tabs/fake-tabs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-fake-tabs--standard":{"type":"story","id":"navigation-disclosure-ebay-fake-tabs--standard","name":"Standard","title":"navigation & disclosure/ebay-fake-tabs","importPath":"./src/components/ebay-fake-tabs/fake-tabs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--documentation":{"id":"navigation-disclosure-ebay-pagination--documentation","title":"navigation & disclosure/ebay-pagination","name":"Documentation","importPath":"./src/components/ebay-pagination/pagination.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-pagination--links":{"type":"story","id":"navigation-disclosure-ebay-pagination--links","name":"Links","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--buttons":{"type":"story","id":"navigation-disclosure-ebay-pagination--buttons","name":"Buttons","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--interactive":{"type":"story","id":"navigation-disclosure-ebay-pagination--interactive","name":"Interactive","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--documentation":{"id":"navigation-disclosure-ebay-section-title--documentation","title":"navigation & disclosure/ebay-section-title","name":"Documentation","importPath":"./src/components/ebay-section-title/section-title.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-section-title--standard":{"type":"story","id":"navigation-disclosure-ebay-section-title--standard","name":"Standard","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--icon-and-see-all":{"type":"story","id":"navigation-disclosure-ebay-section-title--icon-and-see-all","name":"Icon And See All","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--with-overflow":{"type":"story","id":"navigation-disclosure-ebay-section-title--with-overflow","name":"With Overflow","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-tabs--documentation":{"id":"navigation-disclosure-ebay-tabs--documentation","title":"navigation & disclosure/ebay-tabs","name":"Documentation","importPath":"./src/components/ebay-tabs/tabs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-tabs--standard":{"type":"story","id":"navigation-disclosure-ebay-tabs--standard","name":"Standard","title":"navigation & disclosure/ebay-tabs","importPath":"./src/components/ebay-tabs/tabs.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-overview--documentation":{"id":"notices-tips-overview--documentation","title":"notices & tips/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/notices-and-tips.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"notices-tips-ebay-education-notice--documentation":{"id":"notices-tips-ebay-education-notice--documentation","title":"notices & tips/ebay-education-notice","name":"Documentation","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-education-notice--default":{"type":"story","id":"notices-tips-ebay-education-notice--default","name":"Default","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--prominent":{"type":"story","id":"notices-tips-ebay-education-notice--prominent","name":"Prominent","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--prominent-icon":{"type":"story","id":"notices-tips-ebay-education-notice--prominent-icon","name":"Prominent Icon","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-education-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--with-footer":{"type":"story","id":"notices-tips-ebay-education-notice--with-footer","name":"With Footer","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-inline-notice--documentation":{"id":"notices-tips-ebay-inline-notice--documentation","title":"notices & tips/ebay-inline-notice","name":"Documentation","importPath":"./src/components/ebay-inline-notice/inline-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-inline-notice--default":{"type":"story","id":"notices-tips-ebay-inline-notice--default","name":"Default","title":"notices & tips/ebay-inline-notice","importPath":"./src/components/ebay-inline-notice/inline-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--documentation":{"id":"notices-tips-ebay-page-notice--documentation","title":"notices & tips/ebay-page-notice","name":"Documentation","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-page-notice--basic":{"type":"story","id":"notices-tips-ebay-page-notice--basic","name":"Basic","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--with-action":{"type":"story","id":"notices-tips-ebay-page-notice--with-action","name":"With Action","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-page-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--documentation":{"id":"notices-tips-ebay-section-notice--documentation","title":"notices & tips/ebay-section-notice","name":"Documentation","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-section-notice--basic":{"type":"story","id":"notices-tips-ebay-section-notice--basic","name":"Basic","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-title":{"type":"story","id":"notices-tips-ebay-section-notice--with-title","name":"With Title","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-action":{"type":"story","id":"notices-tips-ebay-section-notice--with-action","name":"With Action","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-section-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tooltip--documentation":{"id":"notices-tips-ebay-tooltip--documentation","title":"notices & tips/ebay-tooltip","name":"Documentation","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-tooltip--standard":{"type":"story","id":"notices-tips-ebay-tooltip--standard","name":"Standard","title":"notices & tips/ebay-tooltip","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tooltip--button-host":{"type":"story","id":"notices-tips-ebay-tooltip--button-host","name":"Button Host","title":"notices & tips/ebay-tooltip","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tourtip--documentation":{"id":"notices-tips-ebay-tourtip--documentation","title":"notices & tips/ebay-tourtip","name":"Documentation","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-tourtip--standard":{"type":"story","id":"notices-tips-ebay-tourtip--standard","name":"Standard","title":"notices & tips/ebay-tourtip","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tourtip--with-footer":{"type":"story","id":"notices-tips-ebay-tourtip--with-footer","name":"With Footer","title":"notices & tips/ebay-tourtip","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","tags":["dev","test","autodocs"]},"progress-overview--documentation":{"id":"progress-overview--documentation","title":"progress/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/progress.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"progress-ebay-progress-bar-expressive--documentation":{"id":"progress-ebay-progress-bar-expressive--documentation","title":"progress/ebay-progress-bar-expressive","name":"Documentation","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-bar-expressive--default":{"type":"story","id":"progress-ebay-progress-bar-expressive--default","name":"Default","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-single-message":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-single-message","name":"With Single Message","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-messages":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-messages","name":"With Messages","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-long-message":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-long-message","name":"With Long Message","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-custom-timing":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-custom-timing","name":"With Custom Timing","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--localized":{"type":"story","id":"progress-ebay-progress-bar-expressive--localized","name":"Localized","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--medium-size":{"type":"story","id":"progress-ebay-progress-bar-expressive--medium-size","name":"Medium Size","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar--documentation":{"id":"progress-ebay-progress-bar--documentation","title":"progress/ebay-progress-bar","name":"Documentation","importPath":"./src/components/ebay-progress-bar/progress-bar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-bar--standard":{"type":"story","id":"progress-ebay-progress-bar--standard","name":"Standard","title":"progress/ebay-progress-bar","importPath":"./src/components/ebay-progress-bar/progress-bar.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-spinner--documentation":{"id":"progress-ebay-progress-spinner--documentation","title":"progress/ebay-progress-spinner","name":"Documentation","importPath":"./src/components/ebay-progress-spinner/progress-spinner.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-spinner--loading":{"type":"story","id":"progress-ebay-progress-spinner--loading","name":"Loading","title":"progress/ebay-progress-spinner","importPath":"./src/components/ebay-progress-spinner/progress-spinner.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-stepper--documentation":{"id":"progress-ebay-progress-stepper--documentation","title":"progress/ebay-progress-stepper","name":"Documentation","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-stepper--in-progress":{"type":"story","id":"progress-ebay-progress-stepper--in-progress","name":"In Progress","title":"progress/ebay-progress-stepper","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-stepper--blocked":{"type":"story","id":"progress-ebay-progress-stepper--blocked","name":"Blocked","title":"progress/ebay-progress-stepper","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-overview--documentation":{"id":"building-blocks-overview--documentation","title":"building blocks/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/building-blocks.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"building-blocks-ebay-calendar--documentation":{"id":"building-blocks-ebay-calendar--documentation","title":"building blocks/ebay-calendar","name":"Documentation","importPath":"./src/components/ebay-calendar/calendar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-calendar--default":{"type":"story","id":"building-blocks-ebay-calendar--default","name":"Default","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-calendar--with-links":{"type":"story","id":"building-blocks-ebay-calendar--with-links","name":"With Links","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-calendar--with-specific-links":{"type":"story","id":"building-blocks-ebay-calendar--with-specific-links","name":"With Specific Links","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--documentation":{"id":"building-blocks-ebay-character-count--documentation","title":"building blocks/ebay-character-count","name":"Documentation","importPath":"./src/components/ebay-character-count/character-count.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-character-count--default":{"type":"story","id":"building-blocks-ebay-character-count--default","name":"Default","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--in-field":{"type":"story","id":"building-blocks-ebay-character-count--in-field","name":"In Field","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--custom-text":{"type":"story","id":"building-blocks-ebay-character-count--custom-text","name":"Custom Text","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-chip--documentation":{"id":"building-blocks-ebay-chip--documentation","title":"building blocks/ebay-chip","name":"Documentation","importPath":"./src/components/ebay-chip/chip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-chip--default":{"type":"story","id":"building-blocks-ebay-chip--default","name":"Default","title":"building blocks/ebay-chip","importPath":"./src/components/ebay-chip/chip.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-chip--with-delete":{"type":"story","id":"building-blocks-ebay-chip--with-delete","name":"With Delete","title":"building blocks/ebay-chip","importPath":"./src/components/ebay-chip/chip.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--documentation":{"id":"building-blocks-ebay-fake-menu--documentation","title":"building blocks/ebay-fake-menu","name":"Documentation","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-fake-menu--standard":{"type":"story","id":"building-blocks-ebay-fake-menu--standard","name":"Standard","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--item-matches":{"type":"story","id":"building-blocks-ebay-fake-menu--item-matches","name":"Item Matches","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--sprites":{"type":"story","id":"building-blocks-ebay-fake-menu--sprites","name":"Sprites","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--separator":{"type":"story","id":"building-blocks-ebay-fake-menu--separator","name":"Separator","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-filter-menu--documentation":{"id":"building-blocks-ebay-filter-menu--documentation","title":"building blocks/ebay-filter-menu","name":"Documentation","importPath":"./src/components/ebay-filter-menu/filter-menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-filter-menu--standard":{"type":"story","id":"building-blocks-ebay-filter-menu--standard","name":"Standard","title":"building blocks/ebay-filter-menu","importPath":"./src/components/ebay-filter-menu/filter-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-filter--documentation":{"id":"building-blocks-ebay-filter--documentation","title":"building blocks/ebay-filter","name":"Documentation","importPath":"./src/components/ebay-filter/filter.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-filter--standard":{"type":"story","id":"building-blocks-ebay-filter--standard","name":"Standard","title":"building blocks/ebay-filter","importPath":"./src/components/ebay-filter/filter.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-listbox--documentation":{"id":"building-blocks-ebay-listbox--documentation","title":"building blocks/ebay-listbox","name":"Documentation","importPath":"./src/components/ebay-listbox/listbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-listbox--standard":{"type":"story","id":"building-blocks-ebay-listbox--standard","name":"Standard","title":"building blocks/ebay-listbox","importPath":"./src/components/ebay-listbox/listbox.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-listbox--with-description":{"type":"story","id":"building-blocks-ebay-listbox--with-description","name":"With Description","title":"building blocks/ebay-listbox","importPath":"./src/components/ebay-listbox/listbox.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--documentation":{"id":"building-blocks-ebay-menu--documentation","title":"building blocks/ebay-menu","name":"Documentation","importPath":"./src/components/ebay-menu/menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-menu--default":{"type":"story","id":"building-blocks-ebay-menu--default","name":"Default","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--typeahead":{"type":"story","id":"building-blocks-ebay-menu--typeahead","name":"Typeahead","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--badged":{"type":"story","id":"building-blocks-ebay-menu--badged","name":"Badged","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--sprites":{"type":"story","id":"building-blocks-ebay-menu--sprites","name":"Sprites","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--separator":{"type":"story","id":"building-blocks-ebay-menu--separator","name":"Separator","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--documentation":{"id":"building-blocks-ebay-skeleton--documentation","title":"building blocks/ebay-skeleton","name":"Documentation","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-skeleton--default":{"type":"story","id":"building-blocks-ebay-skeleton--default","name":"Default","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--avatar":{"type":"story","id":"building-blocks-ebay-skeleton--avatar","name":"Avatar","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--button":{"type":"story","id":"building-blocks-ebay-skeleton--button","name":"Button","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--button-small":{"type":"story","id":"building-blocks-ebay-skeleton--button-small","name":"Button Small","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text":{"type":"story","id":"building-blocks-ebay-skeleton--text","name":"Text","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text-multi-line":{"type":"story","id":"building-blocks-ebay-skeleton--text-multi-line","name":"Text Multi Line","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text-box":{"type":"story","id":"building-blocks-ebay-skeleton--text-box","name":"Text Box","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--image":{"type":"story","id":"building-blocks-ebay-skeleton--image","name":"Image","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--tile":{"type":"story","id":"building-blocks-ebay-skeleton--tile","name":"Tile","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--composite":{"type":"story","id":"building-blocks-ebay-skeleton--composite","name":"Composite","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--with-content":{"type":"story","id":"building-blocks-ebay-skeleton--with-content","name":"With Content","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--documentation":{"id":"charts-ebay-line-chart--documentation","title":"charts/ebay-line-chart","name":"Documentation","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"charts-ebay-line-chart--standard":{"type":"story","id":"charts-ebay-line-chart--standard","name":"Standard","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-auto-positive":{"type":"story","id":"charts-ebay-line-chart--trend-auto-positive","name":"Trend Auto Positive","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-positive":{"type":"story","id":"charts-ebay-line-chart--trend-set-positive","name":"Trend Set Positive","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-auto-negative":{"type":"story","id":"charts-ebay-line-chart--trend-auto-negative","name":"Trend Auto Negative","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-negative":{"type":"story","id":"charts-ebay-line-chart--trend-set-negative","name":"Trend Set Negative","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-neutral":{"type":"story","id":"charts-ebay-line-chart--trend-set-neutral","name":"Trend Set Neutral","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--two-series":{"type":"story","id":"charts-ebay-line-chart--two-series","name":"Two Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--two-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--two-series-with-plot-points","name":"Two Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--three-series":{"type":"story","id":"charts-ebay-line-chart--three-series","name":"Three Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--three-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--three-series-with-plot-points","name":"Three Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--four-series":{"type":"story","id":"charts-ebay-line-chart--four-series","name":"Four Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--four-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--four-series-with-plot-points","name":"Four Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--five-series":{"type":"story","id":"charts-ebay-line-chart--five-series","name":"Five Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--five-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--five-series-with-plot-points","name":"Five Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]}}} +{"v":5,"entries":{"welcome--documentation":{"id":"welcome--documentation","title":"Welcome","name":"Documentation","importPath":"./src/components/documentation/welcome.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"getting-started--documentation":{"id":"getting-started--documentation","title":"Getting Started","name":"Documentation","importPath":"./src/components/documentation/getting-started.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing--documentation":{"id":"contributing--documentation","title":"Contributing","name":"Documentation","importPath":"./src/components/documentation/contributing.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"buttons-overview--documentation":{"id":"buttons-overview--documentation","title":"buttons/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/buttons.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"buttons-ebay-button--documentation":{"id":"buttons-ebay-button--documentation","title":"buttons/ebay-button","name":"Documentation","importPath":"./src/components/ebay-button/button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-button--standard":{"type":"story","id":"buttons-ebay-button--standard","name":"Standard","title":"buttons/ebay-button","importPath":"./src/components/ebay-button/button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-button--expand-button":{"type":"story","id":"buttons-ebay-button--expand-button","name":"Expand Button","title":"buttons/ebay-button","importPath":"./src/components/ebay-button/button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-cta-button--documentation":{"id":"buttons-ebay-cta-button--documentation","title":"buttons/ebay-cta-button","name":"Documentation","importPath":"./src/components/ebay-cta-button/cta-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-cta-button--standard":{"type":"story","id":"buttons-ebay-cta-button--standard","name":"Standard","title":"buttons/ebay-cta-button","importPath":"./src/components/ebay-cta-button/cta-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-link--documentation":{"id":"buttons-ebay-fake-link--documentation","title":"buttons/ebay-fake-link","name":"Documentation","importPath":"./src/components/ebay-fake-link/fake-link.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-fake-link--standard":{"type":"story","id":"buttons-ebay-fake-link--standard","name":"Standard","title":"buttons/ebay-fake-link","importPath":"./src/components/ebay-fake-link/fake-link.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--documentation":{"id":"buttons-ebay-fake-menu-button--documentation","title":"buttons/ebay-fake-menu-button","name":"Documentation","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-fake-menu-button--standard":{"type":"story","id":"buttons-ebay-fake-menu-button--standard","name":"Standard","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--icon-text":{"type":"story","id":"buttons-ebay-fake-menu-button--icon-text","name":"Icon Text","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--custom-label-text":{"type":"story","id":"buttons-ebay-fake-menu-button--custom-label-text","name":"Custom Label Text","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-fake-menu-button--separator":{"type":"story","id":"buttons-ebay-fake-menu-button--separator","name":"Separator","title":"buttons/ebay-fake-menu-button","importPath":"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-filter-menu-button--documentation":{"id":"buttons-ebay-filter-menu-button--documentation","title":"buttons/ebay-filter-menu-button","name":"Documentation","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-filter-menu-button--default":{"type":"story","id":"buttons-ebay-filter-menu-button--default","name":"Default","title":"buttons/ebay-filter-menu-button","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-filter-menu-button--with-footer":{"type":"story","id":"buttons-ebay-filter-menu-button--with-footer","name":"With Footer","title":"buttons/ebay-filter-menu-button","importPath":"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-icon-button--documentation":{"id":"buttons-ebay-icon-button--documentation","title":"buttons/ebay-icon-button","name":"Documentation","importPath":"./src/components/ebay-icon-button/icon-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-icon-button--default":{"type":"story","id":"buttons-ebay-icon-button--default","name":"Default","title":"buttons/ebay-icon-button","importPath":"./src/components/ebay-icon-button/icon-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-infotip--documentation":{"id":"buttons-ebay-infotip--documentation","title":"buttons/ebay-infotip","name":"Documentation","importPath":"./src/components/ebay-infotip/infotip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-infotip--default":{"type":"story","id":"buttons-ebay-infotip--default","name":"Default","title":"buttons/ebay-infotip","importPath":"./src/components/ebay-infotip/infotip.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-infotip--open-on-render":{"type":"story","id":"buttons-ebay-infotip--open-on-render","name":"Open On Render","title":"buttons/ebay-infotip","importPath":"./src/components/ebay-infotip/infotip.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--documentation":{"id":"buttons-ebay-listbox-button--documentation","title":"buttons/ebay-listbox-button","name":"Documentation","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-listbox-button--default":{"type":"story","id":"buttons-ebay-listbox-button--default","name":"Default","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--with-description":{"type":"story","id":"buttons-ebay-listbox-button--with-description","name":"With Description","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-listbox-button--with-error":{"type":"story","id":"buttons-ebay-listbox-button--with-error","name":"With Error","title":"buttons/ebay-listbox-button","importPath":"./src/components/ebay-listbox-button/listbox-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--documentation":{"id":"buttons-ebay-menu-button--documentation","title":"buttons/ebay-menu-button","name":"Documentation","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-menu-button--default":{"type":"story","id":"buttons-ebay-menu-button--default","name":"Default","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--icon-text":{"type":"story","id":"buttons-ebay-menu-button--icon-text","name":"Icon Text","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--separator":{"type":"story","id":"buttons-ebay-menu-button--separator","name":"Separator","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--typeahead":{"type":"story","id":"buttons-ebay-menu-button--typeahead","name":"Typeahead","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--badged":{"type":"story","id":"buttons-ebay-menu-button--badged","name":"Badged","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-menu-button--prefix-label":{"type":"story","id":"buttons-ebay-menu-button--prefix-label","name":"Prefix Label","title":"buttons/ebay-menu-button","importPath":"./src/components/ebay-menu-button/menu-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-segmented-buttons--documentation":{"id":"buttons-ebay-segmented-buttons--documentation","title":"buttons/ebay-segmented-buttons","name":"Documentation","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-segmented-buttons--default":{"type":"story","id":"buttons-ebay-segmented-buttons--default","name":"Default","title":"buttons/ebay-segmented-buttons","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-segmented-buttons--with-icons":{"type":"story","id":"buttons-ebay-segmented-buttons--with-icons","name":"With Icons","title":"buttons/ebay-segmented-buttons","importPath":"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-split-button--documentation":{"id":"buttons-ebay-split-button--documentation","title":"buttons/ebay-split-button","name":"Documentation","importPath":"./src/components/ebay-split-button/split-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-split-button--standard":{"type":"story","id":"buttons-ebay-split-button--standard","name":"Standard","title":"buttons/ebay-split-button","importPath":"./src/components/ebay-split-button/split-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--documentation":{"id":"buttons-ebay-toggle-button-group--documentation","title":"buttons/ebay-toggle-button-group","name":"Documentation","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-toggle-button-group--default":{"type":"story","id":"buttons-ebay-toggle-button-group--default","name":"Default","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--with-icons":{"type":"story","id":"buttons-ebay-toggle-button-group--with-icons","name":"With Icons","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--with-default-selected":{"type":"story","id":"buttons-ebay-toggle-button-group--with-default-selected","name":"With Default Selected","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--external-label":{"type":"story","id":"buttons-ebay-toggle-button-group--external-label","name":"External Label","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--controlled":{"type":"story","id":"buttons-ebay-toggle-button-group--controlled","name":"Controlled","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button-group--perfered-columns":{"type":"story","id":"buttons-ebay-toggle-button-group--perfered-columns","name":"Perfered Columns","title":"buttons/ebay-toggle-button-group","importPath":"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--documentation":{"id":"buttons-ebay-toggle-button--documentation","title":"buttons/ebay-toggle-button","name":"Documentation","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"buttons-ebay-toggle-button--default":{"type":"story","id":"buttons-ebay-toggle-button--default","name":"Default","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--with-icon":{"type":"story","id":"buttons-ebay-toggle-button--with-icon","name":"With Icon","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--with-image":{"type":"story","id":"buttons-ebay-toggle-button--with-image","name":"With Image","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"buttons-ebay-toggle-button--multiline-subtitle":{"type":"story","id":"buttons-ebay-toggle-button--multiline-subtitle","name":"Multiline Subtitle","title":"buttons/ebay-toggle-button","importPath":"./src/components/ebay-toggle-button/toggle-button.stories.ts","tags":["dev","test","autodocs"]},"dialogs-overview--documentation":{"id":"dialogs-overview--documentation","title":"dialogs/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/dialogs.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"dialogs-ebay-alert-dialog--documentation":{"id":"dialogs-ebay-alert-dialog--documentation","title":"dialogs/ebay-alert-dialog","name":"Documentation","importPath":"./src/components/ebay-alert-dialog/alert-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-alert-dialog--default":{"type":"story","id":"dialogs-ebay-alert-dialog--default","name":"Default","title":"dialogs/ebay-alert-dialog","importPath":"./src/components/ebay-alert-dialog/alert-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-confirm-dialog--documentation":{"id":"dialogs-ebay-confirm-dialog--documentation","title":"dialogs/ebay-confirm-dialog","name":"Documentation","importPath":"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-confirm-dialog--default":{"type":"story","id":"dialogs-ebay-confirm-dialog--default","name":"Default","title":"dialogs/ebay-confirm-dialog","importPath":"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-drawer-dialog--documentation":{"id":"dialogs-ebay-drawer-dialog--documentation","title":"dialogs/ebay-drawer-dialog","name":"Documentation","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-drawer-dialog--standard":{"type":"story","id":"dialogs-ebay-drawer-dialog--standard","name":"Standard","title":"dialogs/ebay-drawer-dialog","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-drawer-dialog--with-footer":{"type":"story","id":"dialogs-ebay-drawer-dialog--with-footer","name":"With Footer","title":"dialogs/ebay-drawer-dialog","importPath":"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-fullscreen-dialog--documentation":{"id":"dialogs-ebay-fullscreen-dialog--documentation","title":"dialogs/ebay-fullscreen-dialog","name":"Documentation","importPath":"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-fullscreen-dialog--default":{"type":"story","id":"dialogs-ebay-fullscreen-dialog--default","name":"Default","title":"dialogs/ebay-fullscreen-dialog","importPath":"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--documentation":{"id":"dialogs-ebay-lightbox-dialog--documentation","title":"dialogs/ebay-lightbox-dialog","name":"Documentation","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-lightbox-dialog--default":{"type":"story","id":"dialogs-ebay-lightbox-dialog--default","name":"Default","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--scrolling":{"type":"story","id":"dialogs-ebay-lightbox-dialog--scrolling","name":"Scrolling","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--expressive":{"type":"story","id":"dialogs-ebay-lightbox-dialog--expressive","name":"Expressive","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--with-prev-button":{"type":"story","id":"dialogs-ebay-lightbox-dialog--with-prev-button","name":"With Prev Button","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-lightbox-dialog--with-footer":{"type":"story","id":"dialogs-ebay-lightbox-dialog--with-footer","name":"With Footer","title":"dialogs/ebay-lightbox-dialog","importPath":"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-panel-dialog--documentation":{"id":"dialogs-ebay-panel-dialog--documentation","title":"dialogs/ebay-panel-dialog","name":"Documentation","importPath":"./src/components/ebay-panel-dialog/panel-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-panel-dialog--default":{"type":"story","id":"dialogs-ebay-panel-dialog--default","name":"Default","title":"dialogs/ebay-panel-dialog","importPath":"./src/components/ebay-panel-dialog/panel-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-snackbar-dialog--documentation":{"id":"dialogs-ebay-snackbar-dialog--documentation","title":"dialogs/ebay-snackbar-dialog","name":"Documentation","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-snackbar-dialog--default":{"type":"story","id":"dialogs-ebay-snackbar-dialog--default","name":"Default","title":"dialogs/ebay-snackbar-dialog","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-snackbar-dialog--with-action":{"type":"story","id":"dialogs-ebay-snackbar-dialog--with-action","name":"With Action","title":"dialogs/ebay-snackbar-dialog","importPath":"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts","tags":["dev","test","autodocs"]},"dialogs-ebay-toast-dialog--documentation":{"id":"dialogs-ebay-toast-dialog--documentation","title":"dialogs/ebay-toast-dialog","name":"Documentation","importPath":"./src/components/ebay-toast-dialog/toast-dialog.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"dialogs-ebay-toast-dialog--default":{"type":"story","id":"dialogs-ebay-toast-dialog--default","name":"Default","title":"dialogs/ebay-toast-dialog","importPath":"./src/components/ebay-toast-dialog/toast-dialog.stories.ts","tags":["dev","test","autodocs"]},"form-input-overview--documentation":{"id":"form-input-overview--documentation","title":"form input/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/form-input.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"form-input-ebay-checkbox--documentation":{"id":"form-input-ebay-checkbox--documentation","title":"form input/ebay-checkbox","name":"Documentation","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-checkbox--with-label":{"type":"story","id":"form-input-ebay-checkbox--with-label","name":"With Label","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--disabled":{"type":"story","id":"form-input-ebay-checkbox--disabled","name":"Disabled","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--group":{"type":"story","id":"form-input-ebay-checkbox--group","name":"Group","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-checkbox--isolated":{"type":"story","id":"form-input-ebay-checkbox--isolated","name":"Isolated","title":"form input/ebay-checkbox","importPath":"./src/components/ebay-checkbox/checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-chips-combobox--documentation":{"id":"form-input-ebay-chips-combobox--documentation","title":"form input/ebay-chips-combobox","name":"Documentation","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-chips-combobox--default":{"type":"story","id":"form-input-ebay-chips-combobox--default","name":"Default","title":"form input/ebay-chips-combobox","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-chips-combobox--selected":{"type":"story","id":"form-input-ebay-chips-combobox--selected","name":"Selected","title":"form input/ebay-chips-combobox","importPath":"./src/components/ebay-chips-combobox/chips-combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--documentation":{"id":"form-input-ebay-combobox--documentation","title":"form input/ebay-combobox","name":"Documentation","importPath":"./src/components/ebay-combobox/combobox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-combobox--floating-label":{"type":"story","id":"form-input-ebay-combobox--floating-label","name":"Floating Label","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--isolated":{"type":"story","id":"form-input-ebay-combobox--isolated","name":"Isolated","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-combobox--search-filtering":{"type":"story","id":"form-input-ebay-combobox--search-filtering","name":"Search Filtering","title":"form input/ebay-combobox","importPath":"./src/components/ebay-combobox/combobox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--documentation":{"id":"form-input-ebay-date-textbox--documentation","title":"form input/ebay-date-textbox","name":"Documentation","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-date-textbox--default":{"type":"story","id":"form-input-ebay-date-textbox--default","name":"Default","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--localized":{"type":"story","id":"form-input-ebay-date-textbox--localized","name":"Localized","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--with-clear":{"type":"story","id":"form-input-ebay-date-textbox--with-clear","name":"With Clear","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-date-textbox--in-field-example":{"type":"story","id":"form-input-ebay-date-textbox--in-field-example","name":"In Field Example","title":"form input/ebay-date-textbox","importPath":"./src/components/ebay-date-textbox/date-textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-phone-input--documentation":{"id":"form-input-ebay-phone-input--documentation","title":"form input/ebay-phone-input","name":"Documentation","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-phone-input--default":{"type":"story","id":"form-input-ebay-phone-input--default","name":"Default","title":"form input/ebay-phone-input","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-phone-input--localization":{"type":"story","id":"form-input-ebay-phone-input--localization","name":"Localization","title":"form input/ebay-phone-input","importPath":"./src/components/ebay-phone-input/phone-input.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--documentation":{"id":"form-input-ebay-radio--documentation","title":"form input/ebay-radio","name":"Documentation","importPath":"./src/components/ebay-radio/radio.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-radio--with-label":{"type":"story","id":"form-input-ebay-radio--with-label","name":"With Label","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--disabled":{"type":"story","id":"form-input-ebay-radio--disabled","name":"Disabled","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--group":{"type":"story","id":"form-input-ebay-radio--group","name":"Group","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-radio--isolated":{"type":"story","id":"form-input-ebay-radio--isolated","name":"Isolated","title":"form input/ebay-radio","importPath":"./src/components/ebay-radio/radio.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--documentation":{"id":"form-input-ebay-select--documentation","title":"form input/ebay-select","name":"Documentation","importPath":"./src/components/ebay-select/select.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-select--floating":{"type":"story","id":"form-input-ebay-select--floating","name":"Floating","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--external-label":{"type":"story","id":"form-input-ebay-select--external-label","name":"External Label","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--disabled":{"type":"story","id":"form-input-ebay-select--disabled","name":"Disabled","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-select--in-form":{"type":"story","id":"form-input-ebay-select--in-form","name":"In Form","title":"form input/ebay-select","importPath":"./src/components/ebay-select/select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-star-rating-select--documentation":{"id":"form-input-ebay-star-rating-select--documentation","title":"form input/ebay-star-rating-select","name":"Documentation","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-star-rating-select--isolated":{"type":"story","id":"form-input-ebay-star-rating-select--isolated","name":"Isolated","title":"form input/ebay-star-rating-select","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-star-rating-select--fieldset":{"type":"story","id":"form-input-ebay-star-rating-select--fieldset","name":"Fieldset","title":"form input/ebay-star-rating-select","importPath":"./src/components/ebay-star-rating-select/star-rating-select.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--documentation":{"id":"form-input-ebay-switch--documentation","title":"form input/ebay-switch","name":"Documentation","importPath":"./src/components/ebay-switch/switch.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-switch--with-label":{"type":"story","id":"form-input-ebay-switch--with-label","name":"With Label","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--disabled":{"type":"story","id":"form-input-ebay-switch--disabled","name":"Disabled","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-switch--isolated":{"type":"story","id":"form-input-ebay-switch--isolated","name":"Isolated","title":"form input/ebay-switch","importPath":"./src/components/ebay-switch/switch.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--documentation":{"id":"form-input-ebay-textbox--documentation","title":"form input/ebay-textbox","name":"Documentation","importPath":"./src/components/ebay-textbox/textbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-textbox--with-label":{"type":"story","id":"form-input-ebay-textbox--with-label","name":"With Label","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--disabled":{"type":"story","id":"form-input-ebay-textbox--disabled","name":"Disabled","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--floating-label":{"type":"story","id":"form-input-ebay-textbox--floating-label","name":"Floating Label","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--floating-label-autocomplete":{"type":"story","id":"form-input-ebay-textbox--floating-label-autocomplete","name":"Floating Label Autocomplete","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--isolated":{"type":"story","id":"form-input-ebay-textbox--isolated","name":"Isolated","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--prefix-icon":{"type":"story","id":"form-input-ebay-textbox--prefix-icon","name":"Prefix Icon","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--postfix-icon":{"type":"story","id":"form-input-ebay-textbox--postfix-icon","name":"Postfix Icon","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--both-icons":{"type":"story","id":"form-input-ebay-textbox--both-icons","name":"Both Icons","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-textbox--fully-decorated":{"type":"story","id":"form-input-ebay-textbox--fully-decorated","name":"Fully Decorated","title":"form input/ebay-textbox","importPath":"./src/components/ebay-textbox/textbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--documentation":{"id":"form-input-ebay-tri-state-checkbox--documentation","title":"form input/ebay-tri-state-checkbox","name":"Documentation","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"form-input-ebay-tri-state-checkbox--with-label":{"type":"story","id":"form-input-ebay-tri-state-checkbox--with-label","name":"With Label","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--disabled":{"type":"story","id":"form-input-ebay-tri-state-checkbox--disabled","name":"Disabled","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--mixed-implementation":{"type":"story","id":"form-input-ebay-tri-state-checkbox--mixed-implementation","name":"Mixed Implementation","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"form-input-ebay-tri-state-checkbox--isolated":{"type":"story","id":"form-input-ebay-tri-state-checkbox--isolated","name":"Isolated","title":"form input/ebay-tri-state-checkbox","importPath":"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-overview--documentation":{"id":"graphics-icons-overview--documentation","title":"graphics & icons/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/graphics-and-icons.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"graphics-icons-ebay-avatar--documentation":{"id":"graphics-icons-ebay-avatar--documentation","title":"graphics & icons/ebay-avatar","name":"Documentation","importPath":"./src/components/ebay-avatar/avatar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-avatar--default":{"type":"story","id":"graphics-icons-ebay-avatar--default","name":"Default","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-avatar--with-image":{"type":"story","id":"graphics-icons-ebay-avatar--with-image","name":"With Image","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-avatar--signed-out":{"type":"story","id":"graphics-icons-ebay-avatar--signed-out","name":"Signed Out","title":"graphics & icons/ebay-avatar","importPath":"./src/components/ebay-avatar/avatar.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-badge--documentation":{"id":"graphics-icons-ebay-badge--documentation","title":"graphics & icons/ebay-badge","name":"Documentation","importPath":"./src/components/ebay-badge/badge.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-badge--standard":{"type":"story","id":"graphics-icons-ebay-badge--standard","name":"Standard","title":"graphics & icons/ebay-badge","importPath":"./src/components/ebay-badge/badge.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--documentation":{"id":"graphics-icons-ebay-eek--documentation","title":"graphics & icons/ebay-eek","name":"Documentation","importPath":"./src/components/ebay-eek/eek.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-eek--default":{"type":"story","id":"graphics-icons-ebay-eek--default","name":"Default","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-one":{"type":"story","id":"graphics-icons-ebay-eek--example-one","name":"A+++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-two":{"type":"story","id":"graphics-icons-ebay-eek--example-two","name":"A++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-three":{"type":"story","id":"graphics-icons-ebay-eek--example-three","name":"A++","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--example-four":{"type":"story","id":"graphics-icons-ebay-eek--example-four","name":"A","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-eek--invalid-combinations":{"type":"story","id":"graphics-icons-ebay-eek--invalid-combinations","name":"Invalid Combinations","title":"graphics & icons/ebay-eek","importPath":"./src/components/ebay-eek/eek.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-flag--documentation":{"id":"graphics-icons-ebay-flag--documentation","title":"graphics & icons/ebay-flag","name":"Documentation","importPath":"./src/components/ebay-flag/flag.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-flag--default":{"type":"story","id":"graphics-icons-ebay-flag--default","name":"Default","title":"graphics & icons/ebay-flag","importPath":"./src/components/ebay-flag/flag.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-icon--documentation":{"id":"graphics-icons-ebay-icon--documentation","title":"graphics & icons/ebay-icon","name":"Documentation","importPath":"./src/components/ebay-icon/icon.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-icon--default":{"type":"story","id":"graphics-icons-ebay-icon--default","name":"Default","title":"graphics & icons/ebay-icon","importPath":"./src/components/ebay-icon/icon.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-image-placeholder--documentation":{"id":"graphics-icons-ebay-image-placeholder--documentation","title":"graphics & icons/ebay-image-placeholder","name":"Documentation","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-image-placeholder--default":{"type":"story","id":"graphics-icons-ebay-image-placeholder--default","name":"Default","title":"graphics & icons/ebay-image-placeholder","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-image-placeholder--resized":{"type":"story","id":"graphics-icons-ebay-image-placeholder--resized","name":"Resized","title":"graphics & icons/ebay-image-placeholder","importPath":"./src/components/ebay-image-placeholder/image-placeholder.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-signal--documentation":{"id":"graphics-icons-ebay-signal--documentation","title":"graphics & icons/ebay-signal","name":"Documentation","importPath":"./src/components/ebay-signal/signal.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-signal--standard":{"type":"story","id":"graphics-icons-ebay-signal--standard","name":"Standard","title":"graphics & icons/ebay-signal","importPath":"./src/components/ebay-signal/signal.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-star-rating--documentation":{"id":"graphics-icons-ebay-star-rating--documentation","title":"graphics & icons/ebay-star-rating","name":"Documentation","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"graphics-icons-ebay-star-rating--dynamic-stars":{"type":"story","id":"graphics-icons-ebay-star-rating--dynamic-stars","name":"Dynamic Stars","title":"graphics & icons/ebay-star-rating","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","tags":["dev","test","autodocs"]},"graphics-icons-ebay-star-rating--fixed-stars":{"type":"story","id":"graphics-icons-ebay-star-rating--fixed-stars","name":"Fixed Stars","title":"graphics & icons/ebay-star-rating","importPath":"./src/components/ebay-star-rating/star-rating.stories.ts","tags":["dev","test","autodocs"]},"media-overview--documentation":{"id":"media-overview--documentation","title":"media/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/media.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"media-ebay-3d-viewer--documentation":{"id":"media-ebay-3d-viewer--documentation","title":"media/ebay-3d-viewer","name":"Documentation","importPath":"./src/components/ebay-3d-viewer/3d-viewer.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"media-ebay-3d-viewer--default":{"type":"story","id":"media-ebay-3d-viewer--default","name":"Default","title":"media/ebay-3d-viewer","importPath":"./src/components/ebay-3d-viewer/3d-viewer.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--documentation":{"id":"media-ebay-video--documentation","title":"media/ebay-video","name":"Documentation","importPath":"./src/components/ebay-video/video.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"media-ebay-video--standard":{"type":"story","id":"media-ebay-video--standard","name":"Standard","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--ios":{"type":"story","id":"media-ebay-video--ios","name":"ios","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"media-ebay-video--mp-4":{"type":"story","id":"media-ebay-video--mp-4","name":"mp4","title":"media/ebay-video","importPath":"./src/components/ebay-video/video.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-overview--documentation":{"id":"navigation-disclosure-overview--documentation","title":"navigation & disclosure/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/navigation-and-disclosure.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"navigation-disclosure-ebay-breadcrumbs--documentation":{"id":"navigation-disclosure-ebay-breadcrumbs--documentation","title":"navigation & disclosure/ebay-breadcrumbs","name":"Documentation","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-breadcrumbs--heading":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--heading","name":"Heading","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--last-page-current":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--last-page-current","name":"Last Page Current","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--last-page-parent":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--last-page-parent","name":"Last Page Parent","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--page-custom-attribute":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--page-custom-attribute","name":"Page Custom Attribute","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-breadcrumbs--buttons":{"type":"story","id":"navigation-disclosure-ebay-breadcrumbs--buttons","name":"Buttons","title":"navigation & disclosure/ebay-breadcrumbs","importPath":"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--documentation":{"id":"navigation-disclosure-ebay-carousel--documentation","title":"navigation & disclosure/ebay-carousel","name":"Documentation","importPath":"./src/components/ebay-carousel/carousel.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-carousel--continuous":{"type":"story","id":"navigation-disclosure-ebay-carousel--continuous","name":"Continuous","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--continuous-image-treatment":{"type":"story","id":"navigation-disclosure-ebay-carousel--continuous-image-treatment","name":"Continuous Image Treatment","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--discrete":{"type":"story","id":"navigation-disclosure-ebay-carousel--discrete","name":"Discrete","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--autoplay":{"type":"story","id":"navigation-disclosure-ebay-carousel--autoplay","name":"Autoplay","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--preserve-tabindex":{"type":"story","id":"navigation-disclosure-ebay-carousel--preserve-tabindex","name":"Preserve Tabindex","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-carousel--variable-sizes":{"type":"story","id":"navigation-disclosure-ebay-carousel--variable-sizes","name":"Variable Sizes","title":"navigation & disclosure/ebay-carousel","importPath":"./src/components/ebay-carousel/carousel.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-details--documentation":{"id":"navigation-disclosure-ebay-details--documentation","title":"navigation & disclosure/ebay-details","name":"Documentation","importPath":"./src/components/ebay-details/details.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-details--standard":{"type":"story","id":"navigation-disclosure-ebay-details--standard","name":"Standard","title":"navigation & disclosure/ebay-details","importPath":"./src/components/ebay-details/details.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-fake-tabs--documentation":{"id":"navigation-disclosure-ebay-fake-tabs--documentation","title":"navigation & disclosure/ebay-fake-tabs","name":"Documentation","importPath":"./src/components/ebay-fake-tabs/fake-tabs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-fake-tabs--standard":{"type":"story","id":"navigation-disclosure-ebay-fake-tabs--standard","name":"Standard","title":"navigation & disclosure/ebay-fake-tabs","importPath":"./src/components/ebay-fake-tabs/fake-tabs.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--documentation":{"id":"navigation-disclosure-ebay-pagination--documentation","title":"navigation & disclosure/ebay-pagination","name":"Documentation","importPath":"./src/components/ebay-pagination/pagination.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-pagination--links":{"type":"story","id":"navigation-disclosure-ebay-pagination--links","name":"Links","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--buttons":{"type":"story","id":"navigation-disclosure-ebay-pagination--buttons","name":"Buttons","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-pagination--interactive":{"type":"story","id":"navigation-disclosure-ebay-pagination--interactive","name":"Interactive","title":"navigation & disclosure/ebay-pagination","importPath":"./src/components/ebay-pagination/pagination.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--documentation":{"id":"navigation-disclosure-ebay-section-title--documentation","title":"navigation & disclosure/ebay-section-title","name":"Documentation","importPath":"./src/components/ebay-section-title/section-title.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-section-title--standard":{"type":"story","id":"navigation-disclosure-ebay-section-title--standard","name":"Standard","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--icon-and-see-all":{"type":"story","id":"navigation-disclosure-ebay-section-title--icon-and-see-all","name":"Icon And See All","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-section-title--with-overflow":{"type":"story","id":"navigation-disclosure-ebay-section-title--with-overflow","name":"With Overflow","title":"navigation & disclosure/ebay-section-title","importPath":"./src/components/ebay-section-title/section-title.stories.ts","tags":["dev","test","autodocs"]},"navigation-disclosure-ebay-tabs--documentation":{"id":"navigation-disclosure-ebay-tabs--documentation","title":"navigation & disclosure/ebay-tabs","name":"Documentation","importPath":"./src/components/ebay-tabs/tabs.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"navigation-disclosure-ebay-tabs--standard":{"type":"story","id":"navigation-disclosure-ebay-tabs--standard","name":"Standard","title":"navigation & disclosure/ebay-tabs","importPath":"./src/components/ebay-tabs/tabs.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-overview--documentation":{"id":"notices-tips-overview--documentation","title":"notices & tips/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/notices-and-tips.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"notices-tips-ebay-education-notice--documentation":{"id":"notices-tips-ebay-education-notice--documentation","title":"notices & tips/ebay-education-notice","name":"Documentation","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-education-notice--default":{"type":"story","id":"notices-tips-ebay-education-notice--default","name":"Default","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--prominent":{"type":"story","id":"notices-tips-ebay-education-notice--prominent","name":"Prominent","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--prominent-icon":{"type":"story","id":"notices-tips-ebay-education-notice--prominent-icon","name":"Prominent Icon","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-education-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-education-notice--with-footer":{"type":"story","id":"notices-tips-ebay-education-notice--with-footer","name":"With Footer","title":"notices & tips/ebay-education-notice","importPath":"./src/components/ebay-education-notice/education-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-inline-notice--documentation":{"id":"notices-tips-ebay-inline-notice--documentation","title":"notices & tips/ebay-inline-notice","name":"Documentation","importPath":"./src/components/ebay-inline-notice/inline-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-inline-notice--default":{"type":"story","id":"notices-tips-ebay-inline-notice--default","name":"Default","title":"notices & tips/ebay-inline-notice","importPath":"./src/components/ebay-inline-notice/inline-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--documentation":{"id":"notices-tips-ebay-page-notice--documentation","title":"notices & tips/ebay-page-notice","name":"Documentation","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-page-notice--basic":{"type":"story","id":"notices-tips-ebay-page-notice--basic","name":"Basic","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--with-action":{"type":"story","id":"notices-tips-ebay-page-notice--with-action","name":"With Action","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-page-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-page-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-page-notice","importPath":"./src/components/ebay-page-notice/page-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--documentation":{"id":"notices-tips-ebay-section-notice--documentation","title":"notices & tips/ebay-section-notice","name":"Documentation","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-section-notice--basic":{"type":"story","id":"notices-tips-ebay-section-notice--basic","name":"Basic","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-title":{"type":"story","id":"notices-tips-ebay-section-notice--with-title","name":"With Title","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-action":{"type":"story","id":"notices-tips-ebay-section-notice--with-action","name":"With Action","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-section-notice--with-dismiss":{"type":"story","id":"notices-tips-ebay-section-notice--with-dismiss","name":"With Dismiss","title":"notices & tips/ebay-section-notice","importPath":"./src/components/ebay-section-notice/section-notice.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tooltip--documentation":{"id":"notices-tips-ebay-tooltip--documentation","title":"notices & tips/ebay-tooltip","name":"Documentation","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-tooltip--standard":{"type":"story","id":"notices-tips-ebay-tooltip--standard","name":"Standard","title":"notices & tips/ebay-tooltip","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tooltip--button-host":{"type":"story","id":"notices-tips-ebay-tooltip--button-host","name":"Button Host","title":"notices & tips/ebay-tooltip","importPath":"./src/components/ebay-tooltip/tooltip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tourtip--documentation":{"id":"notices-tips-ebay-tourtip--documentation","title":"notices & tips/ebay-tourtip","name":"Documentation","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"notices-tips-ebay-tourtip--standard":{"type":"story","id":"notices-tips-ebay-tourtip--standard","name":"Standard","title":"notices & tips/ebay-tourtip","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","tags":["dev","test","autodocs"]},"notices-tips-ebay-tourtip--with-footer":{"type":"story","id":"notices-tips-ebay-tourtip--with-footer","name":"With Footer","title":"notices & tips/ebay-tourtip","importPath":"./src/components/ebay-tourtip/tourtip.stories.ts","tags":["dev","test","autodocs"]},"progress-overview--documentation":{"id":"progress-overview--documentation","title":"progress/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/progress.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"progress-ebay-progress-bar-expressive--documentation":{"id":"progress-ebay-progress-bar-expressive--documentation","title":"progress/ebay-progress-bar-expressive","name":"Documentation","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-bar-expressive--default":{"type":"story","id":"progress-ebay-progress-bar-expressive--default","name":"Default","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-single-message":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-single-message","name":"With Single Message","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-messages":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-messages","name":"With Messages","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-long-message":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-long-message","name":"With Long Message","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--with-custom-timing":{"type":"story","id":"progress-ebay-progress-bar-expressive--with-custom-timing","name":"With Custom Timing","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--localized":{"type":"story","id":"progress-ebay-progress-bar-expressive--localized","name":"Localized","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar-expressive--medium-size":{"type":"story","id":"progress-ebay-progress-bar-expressive--medium-size","name":"Medium Size","title":"progress/ebay-progress-bar-expressive","importPath":"./src/components/ebay-progress-bar-expressive/progress-bar-expressive.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-bar--documentation":{"id":"progress-ebay-progress-bar--documentation","title":"progress/ebay-progress-bar","name":"Documentation","importPath":"./src/components/ebay-progress-bar/progress-bar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-bar--standard":{"type":"story","id":"progress-ebay-progress-bar--standard","name":"Standard","title":"progress/ebay-progress-bar","importPath":"./src/components/ebay-progress-bar/progress-bar.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-spinner--documentation":{"id":"progress-ebay-progress-spinner--documentation","title":"progress/ebay-progress-spinner","name":"Documentation","importPath":"./src/components/ebay-progress-spinner/progress-spinner.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-spinner--loading":{"type":"story","id":"progress-ebay-progress-spinner--loading","name":"Loading","title":"progress/ebay-progress-spinner","importPath":"./src/components/ebay-progress-spinner/progress-spinner.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-stepper--documentation":{"id":"progress-ebay-progress-stepper--documentation","title":"progress/ebay-progress-stepper","name":"Documentation","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"progress-ebay-progress-stepper--in-progress":{"type":"story","id":"progress-ebay-progress-stepper--in-progress","name":"In Progress","title":"progress/ebay-progress-stepper","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","tags":["dev","test","autodocs"]},"progress-ebay-progress-stepper--blocked":{"type":"story","id":"progress-ebay-progress-stepper--blocked","name":"Blocked","title":"progress/ebay-progress-stepper","importPath":"./src/components/ebay-progress-stepper/progress-stepper.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-overview--documentation":{"id":"building-blocks-overview--documentation","title":"building blocks/Overview","name":"Documentation","importPath":"./src/components/documentation/categories/building-blocks.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"building-blocks-ebay-calendar--documentation":{"id":"building-blocks-ebay-calendar--documentation","title":"building blocks/ebay-calendar","name":"Documentation","importPath":"./src/components/ebay-calendar/calendar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-calendar--default":{"type":"story","id":"building-blocks-ebay-calendar--default","name":"Default","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-calendar--with-links":{"type":"story","id":"building-blocks-ebay-calendar--with-links","name":"With Links","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-calendar--with-specific-links":{"type":"story","id":"building-blocks-ebay-calendar--with-specific-links","name":"With Specific Links","title":"building blocks/ebay-calendar","importPath":"./src/components/ebay-calendar/calendar.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--documentation":{"id":"building-blocks-ebay-character-count--documentation","title":"building blocks/ebay-character-count","name":"Documentation","importPath":"./src/components/ebay-character-count/character-count.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-character-count--default":{"type":"story","id":"building-blocks-ebay-character-count--default","name":"Default","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--in-field":{"type":"story","id":"building-blocks-ebay-character-count--in-field","name":"In Field","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-character-count--custom-text":{"type":"story","id":"building-blocks-ebay-character-count--custom-text","name":"Custom Text","title":"building blocks/ebay-character-count","importPath":"./src/components/ebay-character-count/character-count.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-chip--documentation":{"id":"building-blocks-ebay-chip--documentation","title":"building blocks/ebay-chip","name":"Documentation","importPath":"./src/components/ebay-chip/chip.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-chip--default":{"type":"story","id":"building-blocks-ebay-chip--default","name":"Default","title":"building blocks/ebay-chip","importPath":"./src/components/ebay-chip/chip.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-chip--with-delete":{"type":"story","id":"building-blocks-ebay-chip--with-delete","name":"With Delete","title":"building blocks/ebay-chip","importPath":"./src/components/ebay-chip/chip.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--documentation":{"id":"building-blocks-ebay-fake-menu--documentation","title":"building blocks/ebay-fake-menu","name":"Documentation","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-fake-menu--standard":{"type":"story","id":"building-blocks-ebay-fake-menu--standard","name":"Standard","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--item-matches":{"type":"story","id":"building-blocks-ebay-fake-menu--item-matches","name":"Item Matches","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--sprites":{"type":"story","id":"building-blocks-ebay-fake-menu--sprites","name":"Sprites","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-fake-menu--separator":{"type":"story","id":"building-blocks-ebay-fake-menu--separator","name":"Separator","title":"building blocks/ebay-fake-menu","importPath":"./src/components/ebay-fake-menu/fake-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-filter-menu--documentation":{"id":"building-blocks-ebay-filter-menu--documentation","title":"building blocks/ebay-filter-menu","name":"Documentation","importPath":"./src/components/ebay-filter-menu/filter-menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-filter-menu--standard":{"type":"story","id":"building-blocks-ebay-filter-menu--standard","name":"Standard","title":"building blocks/ebay-filter-menu","importPath":"./src/components/ebay-filter-menu/filter-menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-filter--documentation":{"id":"building-blocks-ebay-filter--documentation","title":"building blocks/ebay-filter","name":"Documentation","importPath":"./src/components/ebay-filter/filter.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-filter--standard":{"type":"story","id":"building-blocks-ebay-filter--standard","name":"Standard","title":"building blocks/ebay-filter","importPath":"./src/components/ebay-filter/filter.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-listbox--documentation":{"id":"building-blocks-ebay-listbox--documentation","title":"building blocks/ebay-listbox","name":"Documentation","importPath":"./src/components/ebay-listbox/listbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-listbox--standard":{"type":"story","id":"building-blocks-ebay-listbox--standard","name":"Standard","title":"building blocks/ebay-listbox","importPath":"./src/components/ebay-listbox/listbox.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-listbox--with-description":{"type":"story","id":"building-blocks-ebay-listbox--with-description","name":"With Description","title":"building blocks/ebay-listbox","importPath":"./src/components/ebay-listbox/listbox.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--documentation":{"id":"building-blocks-ebay-menu--documentation","title":"building blocks/ebay-menu","name":"Documentation","importPath":"./src/components/ebay-menu/menu.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-menu--default":{"type":"story","id":"building-blocks-ebay-menu--default","name":"Default","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--typeahead":{"type":"story","id":"building-blocks-ebay-menu--typeahead","name":"Typeahead","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--badged":{"type":"story","id":"building-blocks-ebay-menu--badged","name":"Badged","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--sprites":{"type":"story","id":"building-blocks-ebay-menu--sprites","name":"Sprites","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-menu--separator":{"type":"story","id":"building-blocks-ebay-menu--separator","name":"Separator","title":"building blocks/ebay-menu","importPath":"./src/components/ebay-menu/menu.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--documentation":{"id":"building-blocks-ebay-skeleton--documentation","title":"building blocks/ebay-skeleton","name":"Documentation","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"building-blocks-ebay-skeleton--default":{"type":"story","id":"building-blocks-ebay-skeleton--default","name":"Default","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--avatar":{"type":"story","id":"building-blocks-ebay-skeleton--avatar","name":"Avatar","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--button":{"type":"story","id":"building-blocks-ebay-skeleton--button","name":"Button","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--button-small":{"type":"story","id":"building-blocks-ebay-skeleton--button-small","name":"Button Small","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text":{"type":"story","id":"building-blocks-ebay-skeleton--text","name":"Text","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text-multi-line":{"type":"story","id":"building-blocks-ebay-skeleton--text-multi-line","name":"Text Multi Line","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--text-box":{"type":"story","id":"building-blocks-ebay-skeleton--text-box","name":"Text Box","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--image":{"type":"story","id":"building-blocks-ebay-skeleton--image","name":"Image","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--tile":{"type":"story","id":"building-blocks-ebay-skeleton--tile","name":"Tile","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--composite":{"type":"story","id":"building-blocks-ebay-skeleton--composite","name":"Composite","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"building-blocks-ebay-skeleton--with-content":{"type":"story","id":"building-blocks-ebay-skeleton--with-content","name":"With Content","title":"building blocks/ebay-skeleton","importPath":"./src/components/ebay-skeleton/skeleton.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--documentation":{"id":"charts-ebay-line-chart--documentation","title":"charts/ebay-line-chart","name":"Documentation","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"charts-ebay-line-chart--standard":{"type":"story","id":"charts-ebay-line-chart--standard","name":"Standard","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-auto-positive":{"type":"story","id":"charts-ebay-line-chart--trend-auto-positive","name":"Trend Auto Positive","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-positive":{"type":"story","id":"charts-ebay-line-chart--trend-set-positive","name":"Trend Set Positive","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-auto-negative":{"type":"story","id":"charts-ebay-line-chart--trend-auto-negative","name":"Trend Auto Negative","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-negative":{"type":"story","id":"charts-ebay-line-chart--trend-set-negative","name":"Trend Set Negative","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--trend-set-neutral":{"type":"story","id":"charts-ebay-line-chart--trend-set-neutral","name":"Trend Set Neutral","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--two-series":{"type":"story","id":"charts-ebay-line-chart--two-series","name":"Two Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--two-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--two-series-with-plot-points","name":"Two Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--three-series":{"type":"story","id":"charts-ebay-line-chart--three-series","name":"Three Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--three-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--three-series-with-plot-points","name":"Three Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--four-series":{"type":"story","id":"charts-ebay-line-chart--four-series","name":"Four Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--four-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--four-series-with-plot-points","name":"Four Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--five-series":{"type":"story","id":"charts-ebay-line-chart--five-series","name":"Five Series","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]},"charts-ebay-line-chart--five-series-with-plot-points":{"type":"story","id":"charts-ebay-line-chart--five-series-with-plot-points","name":"Five Series With Plot Points","title":"charts/ebay-line-chart","importPath":"./src/components/ebay-line-chart/line-chart.stories.ts","tags":["dev","test","autodocs"]}}} diff --git a/docs/project.json b/docs/project.json index e30f38f27..f08fd275d 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1719416745439,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@marko/testing-library":null,"@sinonjs/fake-timers":"11.2.2","@wdio/browserstack-service":"7.37.1","chai":"4.3.10","chai-dom":"1.12.0","sinon":"17.0.1","wdio-chromedriver-service":null},"packageManager":{"type":"npm","version":"10.7.0"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/marko-vite","options":{}},"builder":"@storybook/builder-vite","language":"javascript","storybookPackages":{"@storybook/addon-docs":{"version":"8.1.10"},"@storybook/addon-links":{"version":"8.1.10"},"@storybook/addon-storysource":{"version":"8.1.10"},"@storybook/builder-webpack5":{"version":"8.1.10"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/marko":{"version":"9.0.2"},"@storybook/marko-vite":{"version":"2.0.2"},"@storybook/mdx2-csf":{"version":"1.1.0"},"storybook":{"version":"8.1.10"}},"addons":{"@storybook/addon-essentials":{"version":"8.1.10"},"@storybook/addon-a11y":{"version":"8.1.10"}}} +{"generatedAt":1719589766142,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@marko/testing-library":null,"@sinonjs/fake-timers":"11.2.2","@wdio/browserstack-service":"7.37.1","chai":"4.3.10","chai-dom":"1.12.0","sinon":"17.0.1","wdio-chromedriver-service":null},"packageManager":{"type":"npm","version":"10.7.0"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/marko-vite","options":{}},"builder":"@storybook/builder-vite","language":"javascript","storybookPackages":{"@storybook/addon-docs":{"version":"8.1.10"},"@storybook/addon-links":{"version":"8.1.10"},"@storybook/addon-storysource":{"version":"8.1.10"},"@storybook/builder-webpack5":{"version":"8.1.10"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/marko":{"version":"9.0.2"},"@storybook/marko-vite":{"version":"2.0.2"},"@storybook/mdx2-csf":{"version":"1.1.0"},"storybook":{"version":"8.1.10"}},"addons":{"@storybook/addon-essentials":{"version":"8.1.10"},"@storybook/addon-a11y":{"version":"8.1.10"}}} diff --git a/package-lock.json b/package-lock.json index fe2cf5fba..47df8f074 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ebay/ebayui-core", - "version": "14.0.0-next.0", + "version": "14.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ebay/ebayui-core", - "version": "14.0.0-next.0", + "version": "14.0.0", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.6.6", diff --git a/package.json b/package.json index 0d9628fc1..0d499f149 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebay/ebayui-core", - "version": "14.0.0-next.0", + "version": "14.0.0", "description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.", "scripts": { "installMarkoV5": "npm i marko@5 @marko/compiler@5 --force", diff --git a/src/components/ebay-toggle-button-group/toggle-button-group.stories.ts b/src/components/ebay-toggle-button-group/toggle-button-group.stories.ts index bd5be85d4..2d864a79d 100644 --- a/src/components/ebay-toggle-button-group/toggle-button-group.stories.ts +++ b/src/components/ebay-toggle-button-group/toggle-button-group.stories.ts @@ -47,17 +47,20 @@ export default { columnsSM: { type: "number", control: { type: "number" }, - description: "Preferred minimum number of columns within small containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", + description: + "Preferred minimum number of columns within small containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", }, columnsMD: { type: "number", control: { type: "number" }, - description: "Preferred minimum number of columns within medium containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", + description: + "Preferred minimum number of columns within medium containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", }, columnsXL: { type: "number", control: { type: "number" }, - description: "Preferred minimum number of columns within extra large containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", + description: + "Preferred minimum number of columns within extra large containers. If this is not set will do an automatic layout. It is recommended to not set this unless needed.", }, a11yText: { type: "string",