From e36ab2c220bf40de205253312b77a014616c8bea Mon Sep 17 00:00:00 2001 From: Dziad Borowy Date: Wed, 27 Sep 2023 16:36:42 +0100 Subject: [PATCH] changelog update --- CHANGELOG.md | 2 +- docs-src/pages/changelog.svelte | 2 +- docs/docs.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad1d0a27..af5e47e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ Changelog ========= -## v9.1.0 *(2023-09-26)* +## v9.1.0 *(2023-09-27)* - New components: `InputRating`, `Tag`, `InputTag`, `InputTime`. - Add `hideTip` and more, to `Popover`. - Add `useNativeOnMobile` to `InputDate`. diff --git a/docs-src/pages/changelog.svelte b/docs-src/pages/changelog.svelte index e0df83a1..06928cd4 100644 --- a/docs-src/pages/changelog.svelte +++ b/docs-src/pages/changelog.svelte @@ -1,5 +1,5 @@

Changelog

-

v9.1.0 (2023-09-26)

+

v9.1.0 (2023-09-27)

`,H(i,"class","logo"),Lp(i.src,o="logo.svg")||H(i,"src",o),H(i,"alt","Logo"),H(u,"class","logotype"),H(n,"href","https://ui.perfectthings.dev"),H(e,"class","banner"),H(h,"class","sticky-block"),H($,"class","sticky-block"),H(y,"class","sticky-block"),H(I,"class","sticky-block")},m(A,E){l(A,e,E),N(e,n),N(n,i),N(n,r),N(n,u),N(u,a),N(u,c),N(u,f),l(A,d,E),l(A,b,E),l(A,g,E),l(A,h,E),l(A,_,E),l(A,$,E),l(A,k,E),l(A,y,E),l(A,M,E),l(A,I,E)},p:Le,i:Le,o:Le,d(A){A&&(s(e),s(d),s(b),s(g),s(h),s(_),s($),s(k),s(y),s(M),s(I))}}}var zm=class extends se{constructor(e){super(),ae(this,e,null,Pv,le,{})}},B1=zm;function Nv(t){let e,n,i,o,r,u,a,c,f,d,b,g,h,_,$,k,y,M,I,A,E,T,D,P,x,F,B,z,W,Y,q,O,Z,R,K,J,ee,j,X,ge,Se,G,te,oe,he,ke,be,ue,ne,de,fe,ce,me,Ae,_e,xe,we,re,Ie,Ue,it,ot,ft,Ee,Fe,ut,bt,Me,ct,pt,kt,at,Te,Ne,jt,mt,Ft,Pt,xt,Oe,Xe,Yt,Kt,Gt,Xt,Rt,on,zt,Zt,ye,He,an,Wt,_n,ti,Ce,et,un,On,fn,xn,cn,Mn,mn,En,dn,vn,ve,Pe,ni,Hn,ii,Pn,oi,Nn,si,Fn,li,qn,ri,Bn,ai,Rn,ui,zn,fi,jn,ci,Wn,mi,Vn,di,Un,pi,zi,ea,os,ta,ss,na,ls,ia,oa,sa,rs,la,as,ra,us,aa,fs,ua,cs,fa,ms,ca,ds,ma,ps,da,hs,pa,gs,ha,bs,ga,_s,ba,vs,_a,$s,va,ws,$a,ys,wa,ks,ya,Ts,ka,Ms,Ta,Es,Ma,Cs,Ea,Ss,Ca,Ls,Sa,Ds,La,As,Da,Is,Aa,Os,Ia,xs,Oa,Hs,xa,Ps,Ha,Ns,Pa,Fs,Na,qs,Fa,Bs,qa,Rs,Ba,zs,Ra,js,za,Ws,ja,Vs,Wa,Us,Va,Ys,Ua,Gs,Ya,Ks,Ga,Xs,Ka,Zs,Xa,Js,Za,Qs,Ja,el,Qa,tl,eu,nl,tu,il,nu,ol,iu,sl,ou,ll,su,rl,lu,al,ru,ul,au,fl,uu,cl,fu,ml,cu,dl,mu,pl,du,hl,pu,gl,hu,bl,gu,_l,bu,vl,_u,$l,vu,wl,$u,yl,wu,kl,yu,Tl,ku,Ml,Tu,El,Mu,Cl,Eu,Sl,Cu,Su,Lu,Ll,Du,Dl,Au,Al,Iu,Il,Ou,Ol,xu,xl,Hu,Hl,Pu,Pl,Nu,Nl,Fu,Fl,qu,ql,Bu,Bl,Ru,Rl,zu,zl,ju,jl,Wu,Wl,Vu,Vl,Uu,Ul,Yu,Yl,Gu,Gl,Ku,Xu,Zu,Kl,Ju,Xl,Qu,ef,tf,Zl,nf,Jl,of,Ql,sf,er,lf,tr,rf,nr,af,ir,uf,or,ff,sr,cf,lr,mf,df,pf,rr,hf,ar,gf,bf,_f,ur;return{c(){e=p("h1"),e.textContent="Changelog",n=m(),i=p("h2"),i.innerHTML="v9.1.0 (2023-09-27)",o=m(),r=p("ul"),r.innerHTML="
  • New components: InputRating, Tag, InputTag, InputTime.
  • Add hideTip and more, to Popover.
  • Add useNativeOnMobile to InputDate.
  • Many other smaller bugfixes and improvements.
  • ",u=m(),a=p("h2"),a.innerHTML="v9.0.5 (2023-09-22)",c=m(),f=p("ul"),f.innerHTML="
  • Reduce Dialog's z-index so that the popups from the dialog show up on top of it.
  • ",d=m(),b=p("h2"),b.innerHTML="v9.0.4, v9.0.3, v9.0.2, v9.0.1 (2023-09-16)",g=m(),h=p("ul"),h.innerHTML="
  • Make title optional for Panel.
  • Add ANIMATION_SPEED to utils/properties.
  • Correct FOCUSABLE_SELECTOR (it's a constant, not a svelte store).
  • ",_=m(),$=p("h2"),$.innerHTML="v9.0.0 (2023-09-09)",k=m(),y=p("ul"),y.innerHTML="
  • New: added Utils page in the docs with APIs to the utility functions exposed by the library.
  • Tooltip was simplified and now the positioning ensures that the tooltip is always visible on the screen.
  • Popover will now update its position when the window is resized.
  • The tip of the Tooltip and Popover will now try to be centered on the target element (if the box was offset from the screen edge).
  • Improved keyboard focus for notifications: when a notification is dismissed from the keyboard (Escape) the focus will be moved to the next available notification.
  • Improved & standardised z-index throughout the components.
  • Tweaked Menu positioning to update on window resize.
  • Tweaked MenuItem for responsiveness (e.g. add ellipsis if the text is too long).
  • ",M=m(),I=p("h3"),I.textContent="Breaking changes",A=m(),E=p("ul"),E.innerHTML="
  • The events property was dropped from the Tooltip, leaving hover and focus events as the default. For use cases when the click was needed, Popover should be used instead.
  • z-index value of the Popover and Tooltip has been reduced from 9999 to 99, so that it's closer to the content it describes. Ideally tooltips should slide under some other floating elements of the UI (like toolbars or drawers), while remaining above the content layer. This can be o overriden in the app's own css if needed.
  • ",T=m(),D=p("hr"),P=m(),x=p("h2"),x.innerHTML="v8.4.5, v8.4.4 (2023-08-26)",F=m(),B=p("ul"),B.innerHTML="
  • Standardise InputSearch UX: clear button and Escape-to-clear behaviour now works the same in different browsers.
  • Enhance Popover so that it updates its position after it detects a content change.
  • Expose Popover's updatePosition function.
  • Tweak the dropdown-align function for popover.
  • ",z=m(),W=p("h2"),W.innerHTML="v8.4.3 (2023-08-25)",Y=m(),q=p("ul"),q.innerHTML="
  • Fix InputRadio group block padding.
  • ",O=m(),Z=p("h2"),Z.innerHTML="v8.4.2, v8.4.1, v8.4.0 (2023-08-24)",R=m(),K=p("ul"),K.innerHTML="
  • New: Popover component. If a Dialog and Tooltip had a child - this would be it. It's a container that can be opened like a dialog, but will be attached to the target element (like a tooltip). It's a great way to display additional information or actions for a specific element on the page. It can contain other components (e.g. buttons) and can serve as a free-form menu.
  • Fix popover above the target styling.
  • Simplify & refactor Tooltip to share more code with Popover. Styling and core functionality is now almost the same, while the UX and usage remains a bit different.
  • ",J=m(),ee=p("h2"),ee.innerHTML="v8.3.3 (2023-08-19)",j=m(),X=p("ul"),X.innerHTML="
  • Inputs with dropdowns (e.g. Combobox and InputDate) will not trigger page scroll on focus (in mobile Safari).
  • Combobox dropdown will now auto-adjust its position when the virtual keyboard opens (in mobile Safari).
  • :focus has been updated to :focus-visible for non-input elements, for a better look.
  • ",ge=m(),Se=p("h2"),Se.innerHTML="v8.3.2 (2023-08-18)",G=m(),te=p("ul"),te.innerHTML="
  • Improve InputRadio styling to look more like the rest of the inputs (e.g. checkbox).
  • Standardise font sizes into css variables: --ui-font-xs=14px, --ui-font-s=15px, --ui-font-m=16px, --ui-font-l=17px, --ui-font-xl=22px
  • Correct the symbol for Return (\u23CE) in Menu.
  • Menu can now be centered with the target button (using align attribute).
  • Context Menu will now open above the long-pressed spot on mobile (by default).
  • Pressing the same letter key, with the Menu open will now cycle through the items starting with that letter.
  • Pressing space with the Menu open, while typing something quickly, will not trigger the click event on the currently selected item. This allows to type-to-highlight elements that contain space in the text. Pressing space standalone (while not typing), will trigger the click event.
  • ",oe=m(),he=p("h2"),he.innerHTML="v8.3.1 (2023-08-14)",ke=m(),be=p("ul"),be.innerHTML="
  • Removed --ui-margin-xl and --ui-margin-xxl as they were not used.
  • Merged --ui-border-radius-s with --ui-border-radius and changed to a rem value that calculates to the whole pixel (so that browsers would render it better).
  • Fixed the NotificationCenter issue, where toasts would not close if navigated away from the page that initialises the component.
  • Tweaked dialog border-radius to render a bit better (for dialog's header and footer).
  • Aligned components heights (Menu, Combobox, and InputRadio items).
  • Fixed Menu's longpress event to not triger when moving the finger (touchmove should stop longpress).
  • Improve navigation swipe event (swiping can now be triggered by any element that is not scrollable and has no scrollable ancestors).
  • Increased Menu font size slightly, while decreasing it for everything (102% -> 100% on body).
  • ",ue=m(),ne=p("h2"),ne.innerHTML="v8.3.0 (2023-08-11)",de=m(),fe=p("ul"),fe.innerHTML="
  • New: InputSearch component. Not much more than InputText, except the search icon and (depending on the browser) - the clear button.
  • Fixed a weird and edge-case issue with Menu on mobile Safari (#119).
  • ",ce=m(),me=p("h2"),me.innerHTML="v8.2.0 (2023-08-08)",Ae=m(),_e=p("ul"),_e.innerHTML="
  • data attribute in Combobox is deprecated. It will be removed in the next major version. Use items instead.
  • Combobox and Menu now use the same align function (for consistency and performance) and there's no need to add elevate attribute to either of them, as both popups are rendered inside the body element and are only added to the DOM, when they are opened (to avoid polluting the DOM with unnecessary elements).
  • ",xe=m(),we=p("h2"),we.innerHTML="v8.1.4 (2023-07-31)",re=m(),Ie=p("ul"),Ie.innerHTML="
  • Improved PushButton pressed styling.
  • Some buttons should now react faster on mobile (touch-action added to notification buttons and all inputs, selects and textareas).
  • ",Ue=m(),it=p("h2"),it.innerHTML="v8.1.3 (2023-07-30)",ot=m(),ft=p("ul"),ft.innerHTML="
  • PushButton now has better contrast (when pressed).
  • Fixed showMessage style for long messages on mobile.
  • Fixed password strength popup style.
  • Docs: fancy font should be applied do docs only, not to the components.
  • Docs: try swipeRight on mobile to open sidebar.
  • Added touch-action: manipulation to Label and some other missing places.
  • ",Ee=m(),Fe=p("h2"),Fe.innerHTML="v8.1.2 (2023-07-29)",ut=m(),bt=p("ul"),bt.innerHTML="
  • Small table style tweaks
  • Docs improvements
  • ",Me=m(),ct=p("h2"),ct.innerHTML="v8.1.1 (2023-07-28)",pt=m(),kt=p("ul"),kt.innerHTML="
  • Bring back --ui-color-accent-semi and --ui-color-highlight-semi colors.
  • Combobox and InputDate buttons should not be tabbable.
  • Combobox and InputDate buttons should toggle the dropdown on click.
  • ",at=m(),Te=p("h2"),Te.innerHTML="v8.1.0 (2023-07-28)",Ne=m(),jt=p("ul"),jt.innerHTML="
  • New: All inputs have a new attribute labelOnTheLeft which allows to move the label to the left of the input.
  • ",mt=m(),Ft=p("h2"),Ft.innerHTML="v8.0.1 (2023-07-26)",Pt=m(),xt=p("ul"),xt.innerHTML="
  • New: Check the platform on load and add a mobile or desktop class to the html element.
  • Fixed: Menu separator is now aligned with menu items.
  • Fixed: Notifications Archive "Clear all" button is now back to normal.
  • ",Oe=m(),Xe=p("h2"),Xe.innerHTML="v8.0.0 (2023-07-25)",Yt=m(),Kt=p("ul"),Kt.innerHTML="
  • New: Label component.
  • New icons: sun and moon for the dark-theme switchers.
  • Improvement: info, error and label attributes are now supported on other inputs (Combobox, InputDate, Select, ButtonToggle, and Toggle).
  • Improvement: all components now expose element and inputElement (if there is one (and only one)). The exceptions are NotificationCenter and MessageBox, due to their implementation.
  • Added title attribute to ButtonToggle.
  • Added success type for MessageBox.
  • Fixed selectable=false not working on Table.
  • Improved styling for Dialog and MessageBox.
  • ",Gt=m(),Xt=p("h3"),Xt.textContent="Breaking changes",Rt=m(),on=p("ul"),on.innerHTML="
  • Color palette has been completely revamped for better accessibility (more contrast), consistency and simplicity (fewer colors and css variables).
  • Autocomplete has been renamed to Combobox as this is what it really is.
  • Datepicker has been renamed to InputDate.
  • Toaster component has been removed. Use NotificationCenter instead.
  • Select - HTML structure has changed: .select-wrap select --> .select .input-inner .input-row select
  • Table - CSS classes have changed from .table-wrapper table.table --> .table table
  • Toggle - HTML structure has changed from .toggle .toggle-inner .toggle-scroller input --> .toggle .toggle-inner .toggle-label .toggle-scroller input
  • drawBorders attribute has been removed from Dialog, while header and footer styling has been improved for all dialogs.
  • These components previously exposed _this, which is now called element: Button, Checkbox, InputMath, PushButton, Table
  • ",zt=m(),Zt=p("h3"),Zt.textContent="Color palette - mapping from v7 to v8 colors:",ye=m(),He=p("ul"),He.innerHTML="
  • --ui-color-text-dark-1 --> --ui-color-text-1
  • --ui-color-text-dark-2 --> --ui-color-text-2
  • --ui-color-border-dark-1 --> --ui-color-border-1
  • --ui-color-border-dark-2 --> --ui-color-border-2
  • --ui-color-background-light-2 --> --ui-color-background-1
  • --ui-color-background-dark-2 --> --ui-color-background-2
  • --ui-color-highlight-dark-2 --> --ui-color-highlight-1
  • ",an=m(),Wt=p("p"),Wt.innerHTML="Other (not mentioned above) color variations, (i.e. -light- and -dark-) have been removed.",_n=m(),ti=p("hr"),Ce=m(),et=p("h2"),et.innerHTML="v7.1.2 (2023-07-05)",un=m(),On=p("ul"),On.innerHTML="
  • Fix Checkbox label (don't render empty label if no label attribute was passed).
  • ",fn=m(),xn=p("h2"),xn.innerHTML="v7.1.1 (2023-07-01)",cn=m(),Mn=p("ul"),Mn.innerHTML="
  • Fixed some NotificationCenter bugs.
  • ",mn=m(),En=p("h2"),En.innerHTML="v7.1.0 (2023-06-30)",dn=m(),vn=p("ul"),vn.innerHTML="
  • Improve Panel component with new properties: collapsible (it's not collapsible by default), and disabled.
  • ",ve=m(),Pe=p("h2"),Pe.innerHTML="v7.0.2 (2023-06-29)",ni=m(),Hn=p("ul"),Hn.innerHTML="
  • Add success to the InfoBar component.
  • Behind the scenes refactoring and improvements.
  • ",ii=m(),Pn=p("h2"),Pn.innerHTML="v7.0.1 (2023-06-28)",oi=m(),Nn=p("ul"),Nn.innerHTML="
  • Textarea component now follows all basic inputs and support error, info, and label properties.
  • Notifications are now centered on mobile screen sizes.
  • ",si=m(),Fn=p("h2"),Fn.innerHTML="v7.0.0 (2023-06-28)",li=m(),qn=p("ul"),qn.innerHTML='
  • New: InfoBar component.
  • New: InputText, InputNumber, and Radio components.
  • New: info, error and label attributes are now supported on all basic inputs (InputText, InputNumber, InputMath, InputPassword, Radio, and Checkbox).
  • Improved: InputMath component: support for () characters, to allow for more complex expressions.
  • ',ri=m(),Bn=p("h3"),Bn.textContent="Breaking changes",ai=m(),Rn=p("h4"),Rn.textContent="Checkbox",ui=m(),zn=p("ul"),zn.innerHTML="
  • HTML structure changed input --> .checkbox .checkbox-row input
  • on:change is called with a svelte event instead of the native one, so: e.target.checked is now e.detail.checked
  • ",fi=m(),jn=p("h4"),jn.textContent="InputMath",ci=m(),Wn=p("ul"),Wn.innerHTML="
  • HTML structure changed .input-math-wrapper input --> .input-math .input-inner .input-math-row input
  • ",mi=m(),Vn=p("h4"),Vn.textContent="InputNumber:",di=m(),Un=p("ul"),Un.innerHTML="
  • HTML structure changed: input --> .input-number .input-inner input
  • ",pi=m(),zi=p("h4"),zi.textContent="InputPassword",ea=m(),os=p("ul"),os.innerHTML="
  • HTML structure changed: .input-password-wrapper .input-password-row input --> .input-password .input-inner .input-password-row input
  • ",ta=m(),ss=p("h4"),ss.textContent="CSS variables changed:",na=m(),ls=p("ul"),ls.innerHTML="
  • --ui-shadow-invalid --> --ui-shadow-danger
  • ",ia=m(),oa=p("hr"),sa=m(),rs=p("h2"),rs.innerHTML="v6.8.2, v6.8.1 (2023-06-21)",la=m(),as=p("ul"),as.innerHTML="
  • Allow HTML in MessageBox.
  • Improve styling for multi-line messages in MessageBox.
  • ",ra=m(),us=p("h2"),us.innerHTML="v6.8.0 (2023-06-17)",aa=m(),fs=p("ul"),fs.innerHTML="
  • New: MessageBox component for displaying quick info/warning/error messages or confirmation dialogs (replacement for browser's native alert and confirm).
  • ",ua=m(),cs=p("h2"),cs.innerHTML="v6.7.1 (2023-06-13)",fa=m(),ms=p("ul"),ms.innerHTML="
  • Fix Menu show and hide events and clearing the highlight on mouse out.
  • ",ca=m(),ds=p("h2"),ds.innerHTML="v6.7.0 (2023-06-13)",ma=m(),ps=p("ul"),ps.innerHTML="
  • New: NotificationCenter component. This will eventually replace Toaster, as it's more accessible and powerful.
  • Toaster component is now deprecated and will be removed in the next major version.
  • PushButton changes:
  • ",da=m(),hs=p("h2"),hs.innerHTML="v6.6.8 (2023-06-07)",pa=m(),gs=p("ul"),gs.innerHTML="
  • Menu improvements:
  • ",ha=m(),bs=p("h2"),bs.innerHTML="v6.6.7 (2023-06-01)",ga=m(),_s=p("ul"),_s.innerHTML="
  • Toaster enhancements:
  • ",ba=m(),vs=p("h2"),vs.innerHTML="v6.6.6 (2023-05-31)",_a=m(),$s=p("ul"),$s.innerHTML="
  • Fix button-toggle not working on mobile.
  • ",va=m(),ws=p("h2"),ws.innerHTML="v6.6.4, v6.6.5 (2023-05-12)",$a=m(),ys=p("ul"),ys.innerHTML="
  • Bring back --ui-shadow-small property.
  • Menu performance improvements: menu will not be rendered until it's opened.
  • ",wa=m(),ks=p("h2"),ks.innerHTML="v6.6.3, v6.6.2, v6.6.1, v6.6.0, (2023-05-11)",ya=m(),Ts=p("ul"),Ts.innerHTML="
  • Select now also accepts an array of strings for items.
  • ButtonToggle now also accepts an array of strings for items.
  • em to rem, as it's more consistent and predictable.
  • ",ka=m(),Ms=p("h2"),Ms.innerHTML="v6.5.5, v6.5.4, v6.5.3 (2023-05-09)",Ta=m(),Es=p("ul"),Es.innerHTML="
  • Standardise button height to match all the other controls.
  • Standardise placeholder and input-icon colours.
  • Enhance Autocomplete's and DatePicker's input-icon click experience.
  • Size the icons in em not px.
  • ",Ma=m(),Cs=p("h2"),Cs.innerHTML="v6.5.2 (2023-05-08)",Ea=m(),Ss=p("ul"),Ss.innerHTML="
  • Maintenance update: upgrade dependencies, remove yet another useless a11y warning from svelte zealots.
  • ",Ca=m(),Ls=p("h2"),Ls.innerHTML="v6.5.1 (2023-05-07)",Sa=m(),Ds=p("ul"),Ds.innerHTML="
  • Menu highlighting upgrade: ArrowDown on the last item will highlight the first item, ArrowUp on the first item will highlight the last item.
  • ",La=m(),As=p("h2"),As.innerHTML="v6.5.0 (2023-04-28)",Da=m(),Is=p("ul"),Is.innerHTML="
  • Change the default color for a secondary button.
  • Add info type to Button component (that takes the colour of the previous default).
  • Fix round button (with text) aspect-ratio lock.
  • ",Aa=m(),Os=p("h2"),Os.innerHTML="v6.4.3 (2023-04-27)",Ia=m(),xs=p("ul"),xs.innerHTML="
  • Improve <InputPassword/> component: don't rerender when eye button is clicked, minor alignment style tweak.
  • Autocomplete keyboard scrolling alignment fix (highlighted item was partially cropped).
  • ",Oa=m(),Hs=p("h2"),Hs.innerHTML="v6.4.2, v6.4.1 (2023-04-22)",xa=m(),Ps=p("ul"),Ps.innerHTML="
  • Remove the need to inline svg icons in the consumer's build.
  • Add addIcon function to allow adding custom icons.
  • Fix menu.open issue when event was not passed.
  • ",Ha=m(),Ns=p("h2"),Ns.innerHTML="v6.4.0 (2023-04-20)",Pa=m(),Fs=p("ul"),Fs.innerHTML="
  • Tweaks to allow it to be used with SvelteKit.
  • ",Na=m(),qs=p("h2"),qs.innerHTML="v6.3.16, v6.3.15 (2023-04-15)",Fa=m(),Bs=p("ul"),Bs.innerHTML="
  • New icons: undo and redo.
  • Fix ButtonGroup styling for other button types.
  • ",qa=m(),Rs=p("h2"),Rs.innerHTML="v6.3.14, v6.3.13 (2023-04-12)",Ba=m(),zs=p("ul"),zs.innerHTML="
  • Tooltip style tweaks, so it's finally perfect.
  • Minor fix in Tooltip.
  • ",Ra=m(),js=p("h2"),js.innerHTML="v6.3.12 (2023-04-09)",za=m(),Ws=p("ul"),Ws.innerHTML="
  • Cleanup.
  • ",ja=m(),Vs=p("h2"),Vs.innerHTML="v6.3.12, v6.3.11, v6.3.10, v6.3.9 (2023-04-07)",Wa=m(),Us=p("ul"),Us.innerHTML="
  • Menu on-close should resolve instantly, when the menu is already closed.
  • Menu new attribute align allows to align the menu to the right with the target.
  • ",Va=m(),Ys=p("h2"),Ys.innerHTML="v6.3.8, v6.3.7, v6.3.6, v6.3.5, v6.3.4 (2023-04-06)",Ua=m(),Gs=p("ul"),Gs.innerHTML="
  • Handle svelte's newest a11y warnings.
  • Tweak media query notation.
  • Remove menu of type='input'.
  • Allow data- attributes on Button and MenuItem.
  • Fix Menu target button's aria-expanded attribute (wasn't set to false on menu close).
  • ",Ya=m(),Ks=p("h2"),Ks.innerHTML="v6.3.3 (2023-04-05)",Ga=m(),Xs=p("ul"),Xs.innerHTML="
  • Tooltip tip was upgraded to take advantage of the new clip-path property.
  • Tooltip tip was enhanced with color variations: success, warning and danger.
  • ",Ka=m(),Zs=p("h2"),Zs.innerHTML="v6.3.2 (2023-03-30)",Xa=m(),Js=p("ul"),Js.innerHTML="
  • Table will not listen to events when it's not the target.
  • Dialog buttons can now be navigated with left & right arrow keys for convenience.
  • ",Za=m(),Qs=p("h2"),Qs.innerHTML="v6.3.1 (2023-03-26)",Ja=m(),el=p("ul"),el.innerHTML="
  • ButtonGroup styling tweaks (edge buttons padding alignment)
  • ",Qa=m(),tl=p("h2"),tl.innerHTML="v6.3.0 (2023-03-26)",eu=m(),nl=p("ul"),nl.innerHTML="
  • enhance MenuItem component (add props: class, disabled, icon, success, warning, danger)
  • ",tu=m(),il=p("h2"),il.innerHTML="v6.2.10 (2023-03-25)",nu=m(),ol=p("ul"),ol.innerHTML="
  • Also pass event target in menu on:close event.
  • ",iu=m(),sl=p("h2"),sl.innerHTML="v6.2.9 (2023-03-25)",ou=m(),ll=p("ul"),ll.innerHTML="
  • Fix: menu on:open event was missing.
  • ",su=m(),rl=p("h2"),rl.innerHTML="v6.2.8 (2023-03-24)",lu=m(),al=p("ul"),al.innerHTML="
  • move tooltip custom class attribute to the tooltip itself, not the content (so that it can easily overwrite the background color).
  • ",ru=m(),ul=p("h2"),ul.innerHTML="v6.2.7 (2023-03-24)",au=m(),fl=p("ul"),fl.innerHTML="
  • revert some tooltip changes (events prop is actually useful)
  • ",uu=m(),cl=p("h2"),cl.innerHTML="v6.2.6 (2023-03-24)",fu=m(),ml=p("ul"),ml.innerHTML="
  • simplify tooltip (change bg color to accent, drop events prop and default to focus + hover)
  • ",cu=m(),dl=p("h2"),dl.innerHTML="v6.2.5 (2023-03-24)",mu=m(),pl=p("ul"),pl.innerHTML='
  • disable svelte false-positive a11y warnings. See svelte#8402
  • ',du=m(),hl=p("h2"),hl.innerHTML="v6.2.4 (2023-03-24)",pu=m(),gl=p("ul"),gl.innerHTML="
  • update table docs (missing data prop)
  • change button's active class to touching for touch events (to not conflict with popular active class name that may be used by consumers)
  • ",hu=m(),bl=p("h2"),bl.innerHTML="v6.2.3, v6.2.2 (2023-03-24)",gu=m(),_l=p("ul"),_l.innerHTML="
  • Fix issue where a selectable table would become non-selectable if another table on the same page was destroyed.
  • ",bu=m(),vl=p("h2"),vl.innerHTML="v6.2.1 (2023-03-23)",_u=m(),$l=p("ul"),$l.innerHTML="
  • Datepicker should stopPropagation on Escape, when the calendar is open.
  • ",vu=m(),wl=p("h2"),wl.innerHTML="v6.2.0 (2023-03-20)",$u=m(),yl=p("ul"),yl.innerHTML="
  • Review accessibility of all components (added aria- roles and attributes where necessary).
  • Tweaked some components (e.g. close Tooltip on Escape)
  • Added unit tests for all components.
  • Docs pages style tweaks (e.g. color palette)
  • ",wu=m(),kl=p("h2"),kl.innerHTML="v6.1.1 (2023-03-15)",yu=m(),Tl=p("ul"),Tl.innerHTML="
  • Remove coverage folder from the npm package.
  • ",ku=m(),Ml=p("h2"),Ml.innerHTML="v6.1.0 (2023-03-15)",Tu=m(),El=p("ul"),El.innerHTML="
  • Toggle component has been completely rewritten to make it more flexible and perfect.
  • ",Mu=m(),Cl=p("h2"),Cl.innerHTML="v6.0.2, v6.0.1, v6.0.0 (2023-03-13)",Eu=m(),Sl=p("ul"),Sl.innerHTML="
  • rebrand simple-ui-components-in-svelte to @perfectthings/ui
  • ",Cu=m(),Su=p("hr"),Lu=m(),Ll=p("h2"),Ll.innerHTML="v5.1.0 (2023-03-12)",Du=m(),Dl=p("ul"),Dl.innerHTML="
  • Better Menu highlighting (doesn't hl first item on open, mouseout removes the highlighting), inline with how native menus work on MacOS
  • Mobile friendlier buttons (touchstart invokes :active styling)
  • unit tests for some components
  • ",Au=m(),Al=p("h2"),Al.innerHTML="v5.0.8 (2023-03-03)",Iu=m(),Il=p("ul"),Il.innerHTML="
  • Tooltip offset parameter
  • ",Ou=m(),Ol=p("h2"),Ol.innerHTML="v5.0.7 (2023-03-03)",xu=m(),xl=p("ul"),xl.innerHTML="
  • PushButton fix (pushed class was not applied)
  • ",Hu=m(),Hl=p("h2"),Hl.innerHTML="v5.0.6 (2023-03-02)",Pu=m(),Pl=p("ul"),Pl.innerHTML="
  • Add back form property to a button
  • ",Nu=m(),Nl=p("h2"),Nl.innerHTML="v5.0.5 (2023-03-02)",Fu=m(),Fl=p("ul"),Fl.innerHTML="
  • Reduce memory footprint (removed some of the transform props that were no longer necessary)
  • ",qu=m(),ql=p("h2"),ql.innerHTML="v5.0.4 (2023-03-02)",Bu=m(),Bl=p("ul"),Bl.innerHTML="
  • esbuild replaced rollup for speed and simplicity
  • cleanup & refactoring
  • ",Ru=m(),Rl=p("h2"),Rl.innerHTML="v5.0.3 (2023-03-01)",zu=m(),zl=p("ul"),zl.innerHTML="
  • Tooltip hiding fix (wasn't hiding when hovering target)
  • ",ju=m(),jl=p("h2"),jl.innerHTML="v5.0.2 (2023-03-01)",Wu=m(),Wl=p("ul"),Wl.innerHTML="
  • Toaster import fix
  • Tooltip fix (some console errors were popping up)
  • ",Vu=m(),Vl=p("h2"),Vl.innerHTML="v5.0.1 (2023-02-28)",Uu=m(),Ul=p("ul"),Ul.innerHTML="
  • Bring back button-outline.css (it was accidentally deleted in v5.0.0)
  • ",Yu=m(),Yl=p("h2"),Yl.innerHTML="v5.0.0 (2023-02-28)",Gu=m(),Gl=p("ul"),Gl.innerHTML="
  • Breaking change: renamed props for all components: className -> class (as it turns out it is possible to use class as a prop name in svelte)
  • Almost all components now have a class prop, which can be used to add custom classes to the component
  • Updated docs to reflect the above changes
  • Docs API table is now alphabetically sorted
  • Components don't use $$props anymore, as it was causing issues with the class prop. Instead, the props are now explicitly passed down to the component. This is a good thing to do, as it makes the components more explicit and easier to understand.
  • ",Ku=m(),Xu=p("hr"),Zu=m(),Kl=p("h2"),Kl.innerHTML="v4.0.0 (2023-02-28)",Ju=m(),Xl=p("ul"),Xl.innerHTML="
  • Breaking change: renamed components: Item -> MenuItem, Separator -> MenuSeparator
  • Refactored the folder structure
  • ",Qu=m(),ef=p("hr"),tf=m(),Zl=p("h2"),Zl.innerHTML="v3.1.2 (2023-01-04)",nf=m(),Jl=p("ul"),Jl.innerHTML="
  • Toggle's innerWidth function was somehow overwriting window.innerWidth property (maybe a compiler issue?)
  • ",of=m(),Ql=p("h2"),Ql.innerHTML="v3.1.1 (2023-01-04)",sf=m(),er=p("ul"),er.innerHTML="
  • Fix input-number (could not enter decimals)
  • Fix input-math (math didn't work)
  • ",lf=m(),tr=p("h2"),tr.innerHTML="v3.1.0 (2023-01-03)",rf=m(),nr=p("ul"),nr.innerHTML="
  • UX change: autocomplete will not close on scroll or resize events from now on (it can be changed using new properties hideOnScroll and hideOnResize).
  • fixed: autocomplete issue, where clicking on a filtered list would not select.
  • tweak: autocomplete will now show "create new item" always (when enabled), not only when the query did not match anything. Except when the query matches an item exactly.
  • ",af=m(),ir=p("h2"),ir.innerHTML="v3.0.1 (2022-12-30)",uf=m(),or=p("ul"),or.innerHTML="
  • autocomplete should revert when entered value is not on the list
  • ",ff=m(),sr=p("h2"),sr.innerHTML="v3.0.0 (2022-12-28)",cf=m(),lr=p("ul"),lr.innerHTML="
  • breaking change: cssClass property available on some components has been renamed to className (to be more aligned with the standard workaround in other libs/frameworks).
  • some components (where possible) are now using $$props to pass-through the properties of the instance down to the component.
  • ",mf=m(),df=p("hr"),pf=m(),rr=p("h2"),rr.innerHTML="v2.1.1 (2022-12-24)",hf=m(),ar=p("ul"),ar.innerHTML="
  • breaking change: dist folder has been renamed to docs, as this is the only allowed name for a GH pages folder so that the GH pages is published automatically (without writing a GH action specifically for this).
  • ",gf=m(),bf=p("hr"),_f=m(),ur=p("h2"),ur.innerHTML="v1.7.12 (2022)"},m(V,U){l(V,e,U),l(V,n,U),l(V,i,U),l(V,o,U),l(V,r,U),l(V,u,U),l(V,a,U),l(V,c,U),l(V,f,U),l(V,d,U),l(V,b,U),l(V,g,U),l(V,h,U),l(V,_,U),l(V,$,U),l(V,k,U),l(V,y,U),l(V,M,U),l(V,I,U),l(V,A,U),l(V,E,U),l(V,T,U),l(V,D,U),l(V,P,U),l(V,x,U),l(V,F,U),l(V,B,U),l(V,z,U),l(V,W,U),l(V,Y,U),l(V,q,U),l(V,O,U),l(V,Z,U),l(V,R,U),l(V,K,U),l(V,J,U),l(V,ee,U),l(V,j,U),l(V,X,U),l(V,ge,U),l(V,Se,U),l(V,G,U),l(V,te,U),l(V,oe,U),l(V,he,U),l(V,ke,U),l(V,be,U),l(V,ue,U),l(V,ne,U),l(V,de,U),l(V,fe,U),l(V,ce,U),l(V,me,U),l(V,Ae,U),l(V,_e,U),l(V,xe,U),l(V,we,U),l(V,re,U),l(V,Ie,U),l(V,Ue,U),l(V,it,U),l(V,ot,U),l(V,ft,U),l(V,Ee,U),l(V,Fe,U),l(V,ut,U),l(V,bt,U),l(V,Me,U),l(V,ct,U),l(V,pt,U),l(V,kt,U),l(V,at,U),l(V,Te,U),l(V,Ne,U),l(V,jt,U),l(V,mt,U),l(V,Ft,U),l(V,Pt,U),l(V,xt,U),l(V,Oe,U),l(V,Xe,U),l(V,Yt,U),l(V,Kt,U),l(V,Gt,U),l(V,Xt,U),l(V,Rt,U),l(V,on,U),l(V,zt,U),l(V,Zt,U),l(V,ye,U),l(V,He,U),l(V,an,U),l(V,Wt,U),l(V,_n,U),l(V,ti,U),l(V,Ce,U),l(V,et,U),l(V,un,U),l(V,On,U),l(V,fn,U),l(V,xn,U),l(V,cn,U),l(V,Mn,U),l(V,mn,U),l(V,En,U),l(V,dn,U),l(V,vn,U),l(V,ve,U),l(V,Pe,U),l(V,ni,U),l(V,Hn,U),l(V,ii,U),l(V,Pn,U),l(V,oi,U),l(V,Nn,U),l(V,si,U),l(V,Fn,U),l(V,li,U),l(V,qn,U),l(V,ri,U),l(V,Bn,U),l(V,ai,U),l(V,Rn,U),l(V,ui,U),l(V,zn,U),l(V,fi,U),l(V,jn,U),l(V,ci,U),l(V,Wn,U),l(V,mi,U),l(V,Vn,U),l(V,di,U),l(V,Un,U),l(V,pi,U),l(V,zi,U),l(V,ea,U),l(V,os,U),l(V,ta,U),l(V,ss,U),l(V,na,U),l(V,ls,U),l(V,ia,U),l(V,oa,U),l(V,sa,U),l(V,rs,U),l(V,la,U),l(V,as,U),l(V,ra,U),l(V,us,U),l(V,aa,U),l(V,fs,U),l(V,ua,U),l(V,cs,U),l(V,fa,U),l(V,ms,U),l(V,ca,U),l(V,ds,U),l(V,ma,U),l(V,ps,U),l(V,da,U),l(V,hs,U),l(V,pa,U),l(V,gs,U),l(V,ha,U),l(V,bs,U),l(V,ga,U),l(V,_s,U),l(V,ba,U),l(V,vs,U),l(V,_a,U),l(V,$s,U),l(V,va,U),l(V,ws,U),l(V,$a,U),l(V,ys,U),l(V,wa,U),l(V,ks,U),l(V,ya,U),l(V,Ts,U),l(V,ka,U),l(V,Ms,U),l(V,Ta,U),l(V,Es,U),l(V,Ma,U),l(V,Cs,U),l(V,Ea,U),l(V,Ss,U),l(V,Ca,U),l(V,Ls,U),l(V,Sa,U),l(V,Ds,U),l(V,La,U),l(V,As,U),l(V,Da,U),l(V,Is,U),l(V,Aa,U),l(V,Os,U),l(V,Ia,U),l(V,xs,U),l(V,Oa,U),l(V,Hs,U),l(V,xa,U),l(V,Ps,U),l(V,Ha,U),l(V,Ns,U),l(V,Pa,U),l(V,Fs,U),l(V,Na,U),l(V,qs,U),l(V,Fa,U),l(V,Bs,U),l(V,qa,U),l(V,Rs,U),l(V,Ba,U),l(V,zs,U),l(V,Ra,U),l(V,js,U),l(V,za,U),l(V,Ws,U),l(V,ja,U),l(V,Vs,U),l(V,Wa,U),l(V,Us,U),l(V,Va,U),l(V,Ys,U),l(V,Ua,U),l(V,Gs,U),l(V,Ya,U),l(V,Ks,U),l(V,Ga,U),l(V,Xs,U),l(V,Ka,U),l(V,Zs,U),l(V,Xa,U),l(V,Js,U),l(V,Za,U),l(V,Qs,U),l(V,Ja,U),l(V,el,U),l(V,Qa,U),l(V,tl,U),l(V,eu,U),l(V,nl,U),l(V,tu,U),l(V,il,U),l(V,nu,U),l(V,ol,U),l(V,iu,U),l(V,sl,U),l(V,ou,U),l(V,ll,U),l(V,su,U),l(V,rl,U),l(V,lu,U),l(V,al,U),l(V,ru,U),l(V,ul,U),l(V,au,U),l(V,fl,U),l(V,uu,U),l(V,cl,U),l(V,fu,U),l(V,ml,U),l(V,cu,U),l(V,dl,U),l(V,mu,U),l(V,pl,U),l(V,du,U),l(V,hl,U),l(V,pu,U),l(V,gl,U),l(V,hu,U),l(V,bl,U),l(V,gu,U),l(V,_l,U),l(V,bu,U),l(V,vl,U),l(V,_u,U),l(V,$l,U),l(V,vu,U),l(V,wl,U),l(V,$u,U),l(V,yl,U),l(V,wu,U),l(V,kl,U),l(V,yu,U),l(V,Tl,U),l(V,ku,U),l(V,Ml,U),l(V,Tu,U),l(V,El,U),l(V,Mu,U),l(V,Cl,U),l(V,Eu,U),l(V,Sl,U),l(V,Cu,U),l(V,Su,U),l(V,Lu,U),l(V,Ll,U),l(V,Du,U),l(V,Dl,U),l(V,Au,U),l(V,Al,U),l(V,Iu,U),l(V,Il,U),l(V,Ou,U),l(V,Ol,U),l(V,xu,U),l(V,xl,U),l(V,Hu,U),l(V,Hl,U),l(V,Pu,U),l(V,Pl,U),l(V,Nu,U),l(V,Nl,U),l(V,Fu,U),l(V,Fl,U),l(V,qu,U),l(V,ql,U),l(V,Bu,U),l(V,Bl,U),l(V,Ru,U),l(V,Rl,U),l(V,zu,U),l(V,zl,U),l(V,ju,U),l(V,jl,U),l(V,Wu,U),l(V,Wl,U),l(V,Vu,U),l(V,Vl,U),l(V,Uu,U),l(V,Ul,U),l(V,Yu,U),l(V,Yl,U),l(V,Gu,U),l(V,Gl,U),l(V,Ku,U),l(V,Xu,U),l(V,Zu,U),l(V,Kl,U),l(V,Ju,U),l(V,Xl,U),l(V,Qu,U),l(V,ef,U),l(V,tf,U),l(V,Zl,U),l(V,nf,U),l(V,Jl,U),l(V,of,U),l(V,Ql,U),l(V,sf,U),l(V,er,U),l(V,lf,U),l(V,tr,U),l(V,rf,U),l(V,nr,U),l(V,af,U),l(V,ir,U),l(V,uf,U),l(V,or,U),l(V,ff,U),l(V,sr,U),l(V,cf,U),l(V,lr,U),l(V,mf,U),l(V,df,U),l(V,pf,U),l(V,rr,U),l(V,hf,U),l(V,ar,U),l(V,gf,U),l(V,bf,U),l(V,_f,U),l(V,ur,U)},p:Le,i:Le,o:Le,d(V){V&&(s(e),s(n),s(i),s(o),s(r),s(u),s(a),s(c),s(f),s(d),s(b),s(g),s(h),s(_),s($),s(k),s(y),s(M),s(I),s(A),s(E),s(T),s(D),s(P),s(x),s(F),s(B),s(z),s(W),s(Y),s(q),s(O),s(Z),s(R),s(K),s(J),s(ee),s(j),s(X),s(ge),s(Se),s(G),s(te),s(oe),s(he),s(ke),s(be),s(ue),s(ne),s(de),s(fe),s(ce),s(me),s(Ae),s(_e),s(xe),s(we),s(re),s(Ie),s(Ue),s(it),s(ot),s(ft),s(Ee),s(Fe),s(ut),s(bt),s(Me),s(ct),s(pt),s(kt),s(at),s(Te),s(Ne),s(jt),s(mt),s(Ft),s(Pt),s(xt),s(Oe),s(Xe),s(Yt),s(Kt),s(Gt),s(Xt),s(Rt),s(on),s(zt),s(Zt),s(ye),s(He),s(an),s(Wt),s(_n),s(ti),s(Ce),s(et),s(un),s(On),s(fn),s(xn),s(cn),s(Mn),s(mn),s(En),s(dn),s(vn),s(ve),s(Pe),s(ni),s(Hn),s(ii),s(Pn),s(oi),s(Nn),s(si),s(Fn),s(li),s(qn),s(ri),s(Bn),s(ai),s(Rn),s(ui),s(zn),s(fi),s(jn),s(ci),s(Wn),s(mi),s(Vn),s(di),s(Un),s(pi),s(zi),s(ea),s(os),s(ta),s(ss),s(na),s(ls),s(ia),s(oa),s(sa),s(rs),s(la),s(as),s(ra),s(us),s(aa),s(fs),s(ua),s(cs),s(fa),s(ms),s(ca),s(ds),s(ma),s(ps),s(da),s(hs),s(pa),s(gs),s(ha),s(bs),s(ga),s(_s),s(ba),s(vs),s(_a),s($s),s(va),s(ws),s($a),s(ys),s(wa),s(ks),s(ya),s(Ts),s(ka),s(Ms),s(Ta),s(Es),s(Ma),s(Cs),s(Ea),s(Ss),s(Ca),s(Ls),s(Sa),s(Ds),s(La),s(As),s(Da),s(Is),s(Aa),s(Os),s(Ia),s(xs),s(Oa),s(Hs),s(xa),s(Ps),s(Ha),s(Ns),s(Pa),s(Fs),s(Na),s(qs),s(Fa),s(Bs),s(qa),s(Rs),s(Ba),s(zs),s(Ra),s(js),s(za),s(Ws),s(ja),s(Vs),s(Wa),s(Us),s(Va),s(Ys),s(Ua),s(Gs),s(Ya),s(Ks),s(Ga),s(Xs),s(Ka),s(Zs),s(Xa),s(Js),s(Za),s(Qs),s(Ja),s(el),s(Qa),s(tl),s(eu),s(nl),s(tu),s(il),s(nu),s(ol),s(iu),s(sl),s(ou),s(ll),s(su),s(rl),s(lu),s(al),s(ru),s(ul),s(au),s(fl),s(uu),s(cl),s(fu),s(ml),s(cu),s(dl),s(mu),s(pl),s(du),s(hl),s(pu),s(gl),s(hu),s(bl),s(gu),s(_l),s(bu),s(vl),s(_u),s($l),s(vu),s(wl),s($u),s(yl),s(wu),s(kl),s(yu),s(Tl),s(ku),s(Ml),s(Tu),s(El),s(Mu),s(Cl),s(Eu),s(Sl),s(Cu),s(Su),s(Lu),s(Ll),s(Du),s(Dl),s(Au),s(Al),s(Iu),s(Il),s(Ou),s(Ol),s(xu),s(xl),s(Hu),s(Hl),s(Pu),s(Pl),s(Nu),s(Nl),s(Fu),s(Fl),s(qu),s(ql),s(Bu),s(Bl),s(Ru),s(Rl),s(zu),s(zl),s(ju),s(jl),s(Wu),s(Wl),s(Vu),s(Vl),s(Uu),s(Ul),s(Yu),s(Yl),s(Gu),s(Gl),s(Ku),s(Xu),s(Zu),s(Kl),s(Ju),s(Xl),s(Qu),s(ef),s(tf),s(Zl),s(nf),s(Jl),s(of),s(Ql),s(sf),s(er),s(lf),s(tr),s(rf),s(nr),s(af),s(ir),s(uf),s(or),s(ff),s(sr),s(cf),s(lr),s(mf),s(df),s(pf),s(rr),s(hf),s(ar),s(gf),s(bf),s(_f),s(ur))}}}var jm=class extends se{constructor(e){super(),ae(this,e,null,Nv,le,{})}},R1=jm;var $p={};$f($p,{Button:()=>Km,ButtonGroup:()=>Qm,ButtonToggle:()=>K1,Checkbox:()=>X1,ColorPalette:()=>vp,Combobox:()=>Z1,Dialog:()=>Ed,Drawer:()=>Sd,Icon:()=>Rd,InfoBar:()=>_d,InputDate:()=>J1,InputMath:()=>Q1,InputNumber:()=>eb,InputPassword:()=>tb,InputRating:()=>nb,InputSearch:()=>ob,InputTag:()=>sb,InputText:()=>ab,InputTime:()=>lb,Menu:()=>qd,MessageBox:()=>yd,NotificationCenter:()=>$d,Panel:()=>Dd,Popover:()=>Id,PushButton:()=>Zm,Radio:()=>fb,Select:()=>cb,Splitter:()=>gp,Table:()=>xd,Tag:()=>jd,Textarea:()=>mb,Toggle:()=>db,Tooltip:()=>Td,Tree:()=>Pd,Utils:()=>pp});function z1(t,e,n){let i=t.slice();return i[3]=e[n],i}function j1(t){let e;return{c(){e=p("p")},m(n,i){l(n,e,i),e.innerHTML=t[1]},p(n,i){i&2&&(e.innerHTML=n[1])},d(n){n&&s(e)}}}function W1(t){let e,n,i=t[3].name+"",o,r,u,a=V1(t[3])+"",c,f,d=t[3].description+"",b;return{c(){e=p("tr"),n=p("td"),o=Q(i),r=m(),u=p("td"),c=m(),f=p("td"),b=m()},m(g,h){l(g,e,h),N(e,n),N(n,o),N(e,r),N(e,u),u.innerHTML=a,N(e,c),N(e,f),f.innerHTML=d,N(e,b)},p(g,h){h&4&&i!==(i=g[3].name+"")&&ze(o,i),h&4&&a!==(a=V1(g[3])+"")&&(u.innerHTML=a),h&4&&d!==(d=g[3].description+"")&&(f.innerHTML=d)},d(g){g&&s(e)}}}function Fv(t){let e,n,i,o=Ze(t[2]),r=[];for(let u=0;uAttributeType/ValueDescription",n=m(),i=p("tbody");for(let u=0;u`${i}`);return e.push(n.join(" | ")),typeof t.required<"u"&&e.push("required"),typeof t.default<"u"&&e.push(`
    (defaults to ${t.default})`),e.join(" ")}function Bv(t,e,n){let{title:i="API"}=e,{description:o=""}=e,{props:r=[{name:"id",type:"string",defalut:"",required:!0,description:"assign ID to the underlying component"}]}=e;return t.$$set=u=>{"title"in u&&n(0,i=u.title),"description"in u&&n(1,o=u.description),"props"in u&&n(2,r=u.props)},[i,o,r]}var Wm=class extends se{constructor(e){super(),ae(this,e,Bv,qv,le,{title:0,description:1,props:2})}},qe=Wm;function U1(t){let e,n,i=t[2]===void 0&&Y1(t);return{c(){i&&i.c(),e=m(),n=p("h3"),n.textContent="Example"},m(o,r){i&&i.m(o,r),l(o,e,r),l(o,n,r)},p(o,r){o[2]===void 0?i||(i=Y1(o),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(o){o&&(s(e),s(n)),i&&i.d(o)}}}function Y1(t){let e;return{c(){e=p("hr")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function Rv(t){let e,n,i,o,r,u=G1(t[0])+"",a,c=!t[1]&&U1(t);return{c(){c&&c.c(),e=m(),n=p("pre"),i=p("code"),o=Q(` `),r=new Yn(!1),a=Q(` `),r.a=a,H(i,"class","language-svelte")},m(f,d){c&&c.m(f,d),l(f,e,d),l(f,n,d),N(n,i),N(i,o),r.m(u,i),N(i,a)},p(f,[d]){f[1]?c&&(c.d(1),c=null):c?c.p(f,d):(c=U1(f),c.c(),c.m(e.parentNode,e)),d&1&&u!==(u=G1(f[0])+"")&&r.p(u)},i:Le,o:Le,d(f){f&&(s(e),s(n)),c&&c.d(f)}}}function G1(t){return t.replace(/{/gim,"{").replace(/}/gim,"}").replace(//gim,">").replace(/\t/gim," ").trim()}function zv(t,e,n){let{html:i=""}=e,{notitle:o=!1}=e,{nohr:r=void 0}=e;return t.$$set=u=>{"html"in u&&n(0,i=u.html),"notitle"in u&&n(1,o=u.notitle),"nohr"in u&&n(2,r=u.nohr)},[i,o,r]}var Vm=class extends se{constructor(e){super(),ae(this,e,zv,Rv,le,{html:0,notitle:1,nohr:2})}},je=Vm;function jv(t){let e,n;return{c(){e=p("pre"),n=p("code"),H(n,"class","language-")},m(i,o){l(i,e,o),N(e,n),n.innerHTML=t[0]},p(i,[o]){o&1&&(n.innerHTML=i[0])},i:Le,o:Le,d(i){i&&s(e)}}}function Wv(t,e,n){let{tag:i="div"}=e,{props:o={}}=e,{text:r=""}=e,u="";bi(()=>{requestAnimationFrame(a)});function a(){n(0,u=window.Prism.highlight(c(),window.Prism.languages.svelte,"svelte"))}function c(){let f={};for(let b in o)o[b]!==!1&&o[b]!==""&&(f[b]=o[b]);let d=JSON.stringify(f).replace(/"([^"]+)":/g,"$1:").replace(/(:)/g,"=").replace(/,/g," ").replace(/({|}|=true|default)/g,"").trim();return d&&(d=" "+d),r?`<${i}${d}>${r}`:`<${i}${d}/>`}return t.$$set=f=>{"tag"in f&&n(1,i=f.tag),"props"in f&&n(2,o=f.props),"text"in f&&n(3,r=f.text)},[u,i,o,r]}var Um=class extends se{constructor(e){super(),ae(this,e,Wv,jv,le,{tag:1,props:2,text:3})}},Ym=Um;function Vv(t){let e,n,i=[t[0]],o={};for(let r=0;rGe(_,"value",J)),y=new Vt({props:{label:"Style",items:t[3],value:""}}),y.$on("change",t[6]),I=new Vt({props:{label:"Type",items:t[4],value:""}}),I.$on("change",t[7]),E=new Vt({props:{label:"Icon",items:t[5],value:""}}),E.$on("change",t[8]);function j(G){t[10](G)}let X={label:"Round"};t[0].round!==void 0&&(X.value=t[0].round),D=new rn({props:X}),pe.push(()=>Ge(D,"value",j));function ge(G){t[11](G)}let Se={label:"Disabled"};return t[0].disabled!==void 0&&(Se.value=t[0].disabled),F=new rn({props:Se}),pe.push(()=>Ge(F,"value",ge)),q=new qe({props:{props:t[2]}}),{c(){e=p("h2"),e.textContent="Button",n=m(),i=p("h3"),i.textContent="Live demo",o=m(),r=p("div"),a.c(),c=m(),L(f.$$.fragment),d=m(),b=p("hr"),g=m(),h=p("div"),L(_.$$.fragment),k=m(),L(y.$$.fragment),M=m(),L(I.$$.fragment),A=m(),L(E.$$.fragment),T=m(),L(D.$$.fragment),x=m(),L(F.$$.fragment),z=m(),W=p("hr"),Y=m(),L(q.$$.fragment),H(r,"class","docs-buttons-row"),tn(r,"height","3rem"),H(h,"class","button-demo-props")},m(G,te){l(G,e,te),l(G,n,te),l(G,i,te),l(G,o,te),l(G,r,te),R[u].m(r,null),l(G,c,te),C(f,G,te),l(G,d,te),l(G,b,te),l(G,g,te),l(G,h,te),C(_,h,null),N(h,k),C(y,h,null),N(h,M),C(I,h,null),N(h,A),C(E,h,null),N(h,T),C(D,h,null),N(h,x),C(F,h,null),l(G,z,te),l(G,W,te),l(G,Y,te),C(q,G,te),O=!0},p(G,[te]){let oe=u;u=K(G,te),u===oe?R[u].p(G,te):(We(),w(R[oe],1,1,()=>{R[oe]=null}),Ve(),a=R[u],a?a.p(G,te):(a=R[u]=Z[u](G),a.c()),v(a,1),a.m(r,null));let he={};te&2&&(he.text=G[1]),te&1&&(he.props=G[0]),f.$set(he);let ke={};!$&&te&2&&($=!0,ke.value=G[1],Ye(()=>$=!1)),_.$set(ke);let be={};!P&&te&1&&(P=!0,be.value=G[0].round,Ye(()=>P=!1)),D.$set(be);let ue={};!B&&te&1&&(B=!0,ue.value=G[0].disabled,Ye(()=>B=!1)),F.$set(ue)},i(G){O||(v(a),v(f.$$.fragment,G),v(_.$$.fragment,G),v(y.$$.fragment,G),v(I.$$.fragment,G),v(E.$$.fragment,G),v(D.$$.fragment,G),v(F.$$.fragment,G),v(q.$$.fragment,G),O=!0)},o(G){w(a),w(f.$$.fragment,G),w(_.$$.fragment,G),w(y.$$.fragment,G),w(I.$$.fragment,G),w(E.$$.fragment,G),w(D.$$.fragment,G),w(F.$$.fragment,G),w(q.$$.fragment,G),O=!1},d(G){G&&(s(e),s(n),s(i),s(o),s(r),s(c),s(d),s(b),s(g),s(h),s(z),s(W),s(Y)),R[u].d(),S(f,G),S(_),S(y),S(I),S(E),S(D),S(F),S(q,G)}}}function Kv(t,e,n){let i=[{name:"class",type:"string",description:"Additional css class name to be added to the component."},{name:"danger",description:"Button type: danger"},{name:"data-",description:"Dataset attribute allows to pass some data of a primitive type (string, number, boolean), which will be accessible in the on:click event listener, via button reference."},{name:"disabled",description:"Makes the button disabled"},{name:"icon",type:"string",description:'Adds an icon, with this name, to the button (see icons section for icon names)'},{name:"id",type:"string",description:"Assign ID to the underlying button"},{name:"info",description:"Button type: info"},{name:"link",description:"Button style: link"},{name:"outline",description:"Button style: outline"},{name:"round",description:"Makes the button round"},{name:"submit",type:["true","false"],default:"false",description:"If true button type is set to submit, otherwise it's button"},{name:"success",description:"Button type: success"},{name:"text",description:"Button style: text"},{name:"title",type:"string",description:"Assign title to the underlying button"},{name:"warning",description:"Button type: warning"},{name:"bind:element",type:"element",description:"Exposes the HTML element of the component."},{name:"on:click",type:"function",description:"Triggered when the button is clicked."}],o={},r="Demo button",u=[{name:"Normal",value:""},{name:"Outline",value:"outline"},{name:"Text",value:"text"},{name:"Link",value:"link"}],a=[{name:"Default",value:""},{name:"Info",value:"info"},{name:"Success",value:"success"},{name:"Warning",value:"warning"},{name:"Danger",value:"danger"}],c=[{name:"none",value:""},{name:"info",value:"info"},{name:"check",value:"check"},{name:"alert",value:"alert"},{name:"trash",value:"trash"}];function f(k){n(0,o.outline=!1,o),n(0,o.text=!1,o),n(0,o.link=!1,o),g(k.detail,!0)}function d(k){n(0,o.info=!1,o),n(0,o.success=!1,o),n(0,o.warning=!1,o),n(0,o.danger=!1,o),g(k.detail,!0)}function b(k){g("icon",k.detail)}function g(k,y){!k||typeof y>"u"||n(0,o[k]=y,o)}function h(k){r=k,n(1,r)}function _(k){t.$$.not_equal(o.round,k)&&(o.round=k,n(0,o))}function $(k){t.$$.not_equal(o.disabled,k)&&(o.disabled=k,n(0,o))}return[o,r,i,u,a,c,f,d,b,h,_,$]}var Gm=class extends se{constructor(e){super(),ae(this,e,Kv,Gv,le,{})}},Km=Gm;function Xv(t){let e;return{c(){e=Q("Hello")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function Zv(t){let e;return{c(){e=Q("Info")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function Jv(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function Qv(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function e$(t){let e;return{c(){e=Q("Danger")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function t$(t){let e;return{c(){e=Q("Hello")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function n$(t){let e;return{c(){e=Q("Info")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function i$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function o$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function s$(t){let e;return{c(){e=Q("Danger")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function l$(t){let e;return{c(){e=Q("Hello")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function r$(t){let e;return{c(){e=Q("Info")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function a$(t){let e;return{c(){e=Q("Success")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function u$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function f$(t){let e;return{c(){e=Q("Danger")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function c$(t){let e;return{c(){e=Q("Help")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function m$(t){let e;return{c(){e=Q("Info")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function d$(t){let e;return{c(){e=Q("Success")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function p$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function h$(t){let e;return{c(){e=Q("Delete")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function g$(t){let e;return{c(){e=Q("Hello")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function b$(t){let e;return{c(){e=Q("Info")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function _$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function v$(t){let e;return{c(){e=Q("Warning")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function $$(t){let e;return{c(){e=Q("Danger")},m(n,i){l(n,e,i)},d(n){n&&s(e)}}}function w$(t){let e,n,i,o,r,u,a,c,f,d,b,g,h,_,$,k,y,M,I,A,E,T,D,P,x,F,B,z,W,Y,q,O,Z,R,K,J,ee,j,X,ge,Se,G,te,oe,he,ke,be,ue,ne,de,fe,ce,me,Ae,_e,xe,we,re,Ie,Ue,it,ot,ft,Ee,Fe,ut,bt,Me,ct,pt,kt,at,Te,Ne,jt,mt,Ft,Pt,xt,Oe,Xe,Yt,Kt,Gt,Xt,Rt,on,zt,Zt,ye,He,an,Wt,_n,ti,Ce,et,un,On,fn,xn,cn,Mn,mn,En,dn,vn;return c=new rt({props:{$$slots:{default:[Xv]},$$scope:{ctx:t}}}),d=new rt({props:{info:!0,$$slots:{default:[Zv]},$$scope:{ctx:t}}}),g=new rt({props:{success:!0,$$slots:{default:[Jv]},$$scope:{ctx:t}}}),_=new rt({props:{warning:!0,$$slots:{default:[Qv]},$$scope:{ctx:t}}}),k=new rt({props:{danger:!0,$$slots:{default:[e$]},$$scope:{ctx:t}}}),E=new rt({props:{pressed:!0,$$slots:{default:[t$]},$$scope:{ctx:t}}}),D=new rt({props:{pressed:!0,info:!0,$$slots:{default:[n$]},$$scope:{ctx:t}}}),x=new rt({props:{pressed:!0,success:!0,$$slots:{default:[i$]},$$scope:{ctx:t}}}),B=new rt({props:{pressed:!0,warning:!0,$$slots:{default:[o$]},$$scope:{ctx:t}}}),W=new rt({props:{pressed:!0,danger:!0,$$slots:{default:[s$]},$$scope:{ctx:t}}}),R=new rt({props:{pressed:!0,disabled:!0,$$slots:{default:[l$]},$$scope:{ctx:t}}}),J=new rt({props:{pressed:!0,disabled:!0,info:!0,$$slots:{default:[r$]},$$scope:{ctx:t}}}),j=new rt({props:{pressed:!0,disabled:!0,success:!0,$$slots:{default:[a$]},$$scope:{ctx:t}}}),ge=new rt({props:{pressed:!0,disabled:!0,warning:!0,$$slots:{default:[u$]},$$scope:{ctx:t}}}),G=new rt({props:{pressed:!0,disabled:!0,danger:!0,$$slots:{default:[f$]},$$scope:{ctx:t}}}),be=new rt({props:{icon:"help",$$slots:{default:[c$]},$$scope:{ctx:t}}}),ne=new rt({props:{icon:"info",info:!0,$$slots:{default:[m$]},$$scope:{ctx:t}}}),fe=new rt({props:{icon:"check",success:!0,$$slots:{default:[d$]},$$scope:{ctx:t}}}),me=new rt({props:{icon:"alert",warning:!0,$$slots:{default:[p$]},$$scope:{ctx:t}}}),_e=new rt({props:{icon:"trash",danger:!0,$$slots:{default:[h$]},$$scope:{ctx:t}}}),Ue=new rt({props:{outline:!0,$$slots:{default:[g$]},$$scope:{ctx:t}}}),ot=new rt({props:{outline:!0,info:!0,$$slots:{default:[b$]},$$scope:{ctx:t}}}),Ee=new rt({props:{outline:!0,success:!0,$$slots:{default:[_$]},$$scope:{ctx:t}}}),ut=new rt({props:{outline:!0,warning:!0,$$slots:{default:[v$]},$$scope:{ctx:t}}}),Me=new rt({props:{outline:!0,danger:!0,$$slots:{default:[$$]},$$scope:{ctx:t}}}),Ft=new rt({props:{icon:"help"}}),xt=new rt({props:{icon:"info",info:!0}}),Xe=new rt({props:{icon:"check",success:!0}}),Kt=new rt({props:{icon:"alert",warning:!0}}),Xt=new rt({props:{icon:"trash",danger:!0}}),_n=new rt({props:{round:!0,icon:"help"}}),Ce=new rt({props:{round:!0,icon:"info",info:!0}}),un=new rt({props:{round:!0,icon:"check",success:!0}}),fn=new rt({props:{round:!0,icon:"alert",warning:!0}}),cn=new rt({props:{round:!0,icon:"trash",danger:!0}}),mn=new je({props:{html:t[1]}}),dn=new qe({props:{props:t[0]}}),{c(){e=p("h2"),e.textContent="Push Button",n=m(),i=p("h3"),i.textContent="Normal",o=m(),r=p("h4"),r.textContent="Default",u=m(),a=p("div"),L(c.$$.fragment),f=m(),L(d.$$.fragment),b=m(),L(g.$$.fragment),h=m(),L(_.$$.fragment),$=m(),L(k.$$.fragment),y=m(),M=p("h4"),M.textContent="Pressed",I=m(),A=p("div"),L(E.$$.fragment),T=m(),L(D.$$.fragment),P=m(),L(x.$$.fragment),F=m(),L(B.$$.fragment),z=m(),L(W.$$.fragment),Y=m(),q=p("h4"),q.textContent="Disabled",O=m(),Z=p("div"),L(R.$$.fragment),K=m(),L(J.$$.fragment),ee=m(),L(j.$$.fragment),X=m(),L(ge.$$.fragment),Se=m(),L(G.$$.fragment),te=m(),oe=p("h4"),oe.textContent="With icon",he=m(),ke=p("div"),L(be.$$.fragment),ue=m(),L(ne.$$.fragment),de=m(),L(fe.$$.fragment),ce=m(),L(me.$$.fragment),Ae=m(),L(_e.$$.fragment),xe=m(),we=p("h4"),we.textContent="Outline",re=m(),Ie=p("div"),L(Ue.$$.fragment),it=m(),L(ot.$$.fragment),ft=m(),L(Ee.$$.fragment),Fe=m(),L(ut.$$.fragment),bt=m(),L(Me.$$.fragment),ct=m(),pt=p("hr"),kt=m(),at=p("h3"),at.textContent="Icon only buttons",Te=m(),Ne=p("h4"),Ne.textContent="Default",jt=m(),mt=p("div"),L(Ft.$$.fragment),Pt=m(),L(xt.$$.fragment),Oe=m(),L(Xe.$$.fragment),Yt=m(),L(Kt.$$.fragment),Gt=m(),L(Xt.$$.fragment),Rt=m(),on=p("hr"),zt=m(),Zt=p("h3"),Zt.textContent="Icon only, and round",ye=m(),He=p("h4"),He.textContent="Default",an=m(),Wt=p("div"),L(_n.$$.fragment),ti=m(),L(Ce.$$.fragment),et=m(),L(un.$$.fragment),On=m(),L(fn.$$.fragment),xn=m(),L(cn.$$.fragment),Mn=m(),L(mn.$$.fragment),En=m(),L(dn.$$.fragment),H(a,"class","docs-buttons-row"),H(A,"class","docs-buttons-row"),H(Z,"class","docs-buttons-row"),H(ke,"class","docs-buttons-row"),H(Ie,"class","docs-buttons-row"),H(mt,"class","docs-buttons-row"),H(Wt,"class","docs-buttons-row")},m(ve,Pe){l(ve,e,Pe),l(ve,n,Pe),l(ve,i,Pe),l(ve,o,Pe),l(ve,r,Pe),l(ve,u,Pe),l(ve,a,Pe),C(c,a,null),N(a,f),C(d,a,null),N(a,b),C(g,a,null),N(a,h),C(_,a,null),N(a,$),C(k,a,null),l(ve,y,Pe),l(ve,M,Pe),l(ve,I,Pe),l(ve,A,Pe),C(E,A,null),N(A,T),C(D,A,null),N(A,P),C(x,A,null),N(A,F),C(B,A,null),N(A,z),C(W,A,null),l(ve,Y,Pe),l(ve,q,Pe),l(ve,O,Pe),l(ve,Z,Pe),C(R,Z,null),N(Z,K),C(J,Z,null),N(Z,ee),C(j,Z,null),N(Z,X),C(ge,Z,null),N(Z,Se),C(G,Z,null),l(ve,te,Pe),l(ve,oe,Pe),l(ve,he,Pe),l(ve,ke,Pe),C(be,ke,null),N(ke,ue),C(ne,ke,null),N(ke,de),C(fe,ke,null),N(ke,ce),C(me,ke,null),N(ke,Ae),C(_e,ke,null),l(ve,xe,Pe),l(ve,we,Pe),l(ve,re,Pe),l(ve,Ie,Pe),C(Ue,Ie,null),N(Ie,it),C(ot,Ie,null),N(Ie,ft),C(Ee,Ie,null),N(Ie,Fe),C(ut,Ie,null),N(Ie,bt),C(Me,Ie,null),l(ve,ct,Pe),l(ve,pt,Pe),l(ve,kt,Pe),l(ve,at,Pe),l(ve,Te,Pe),l(ve,Ne,Pe),l(ve,jt,Pe),l(ve,mt,Pe),C(Ft,mt,null),N(mt,Pt),C(xt,mt,null),N(mt,Oe),C(Xe,mt,null),N(mt,Yt),C(Kt,mt,null),N(mt,Gt),C(Xt,mt,null),l(ve,Rt,Pe),l(ve,on,Pe),l(ve,zt,Pe),l(ve,Zt,Pe),l(ve,ye,Pe),l(ve,He,Pe),l(ve,an,Pe),l(ve,Wt,Pe),C(_n,Wt,null),N(Wt,ti),C(Ce,Wt,null),N(Wt,et),C(un,Wt,null),N(Wt,On),C(fn,Wt,null),N(Wt,xn),C(cn,Wt,null),l(ve,Mn,Pe),C(mn,ve,Pe),l(ve,En,Pe),C(dn,ve,Pe),vn=!0},p(ve,[Pe]){let ni={};Pe&4&&(ni.$$scope={dirty:Pe,ctx:ve}),c.$set(ni);let Hn={};Pe&4&&(Hn.$$scope={dirty:Pe,ctx:ve}),d.$set(Hn);let ii={};Pe&4&&(ii.$$scope={dirty:Pe,ctx:ve}),g.$set(ii);let Pn={};Pe&4&&(Pn.$$scope={dirty:Pe,ctx:ve}),_.$set(Pn);let oi={};Pe&4&&(oi.$$scope={dirty:Pe,ctx:ve}),k.$set(oi);let Nn={};Pe&4&&(Nn.$$scope={dirty:Pe,ctx:ve}),E.$set(Nn);let si={};Pe&4&&(si.$$scope={dirty:Pe,ctx:ve}),D.$set(si);let Fn={};Pe&4&&(Fn.$$scope={dirty:Pe,ctx:ve}),x.$set(Fn);let li={};Pe&4&&(li.$$scope={dirty:Pe,ctx:ve}),B.$set(li);let qn={};Pe&4&&(qn.$$scope={dirty:Pe,ctx:ve}),W.$set(qn);let ri={};Pe&4&&(ri.$$scope={dirty:Pe,ctx:ve}),R.$set(ri);let Bn={};Pe&4&&(Bn.$$scope={dirty:Pe,ctx:ve}),J.$set(Bn);let ai={};Pe&4&&(ai.$$scope={dirty:Pe,ctx:ve}),j.$set(ai);let Rn={};Pe&4&&(Rn.$$scope={dirty:Pe,ctx:ve}),ge.$set(Rn);let ui={};Pe&4&&(ui.$$scope={dirty:Pe,ctx:ve}),G.$set(ui);let zn={};Pe&4&&(zn.$$scope={dirty:Pe,ctx:ve}),be.$set(zn);let fi={};Pe&4&&(fi.$$scope={dirty:Pe,ctx:ve}),ne.$set(fi);let jn={};Pe&4&&(jn.$$scope={dirty:Pe,ctx:ve}),fe.$set(jn);let ci={};Pe&4&&(ci.$$scope={dirty:Pe,ctx:ve}),me.$set(ci);let Wn={};Pe&4&&(Wn.$$scope={dirty:Pe,ctx:ve}),_e.$set(Wn);let mi={};Pe&4&&(mi.$$scope={dirty:Pe,ctx:ve}),Ue.$set(mi);let Vn={};Pe&4&&(Vn.$$scope={dirty:Pe,ctx:ve}),ot.$set(Vn);let di={};Pe&4&&(di.$$scope={dirty:Pe,ctx:ve}),Ee.$set(di);let Un={};Pe&4&&(Un.$$scope={dirty:Pe,ctx:ve}),ut.$set(Un);let pi={};Pe&4&&(pi.$$scope={dirty:Pe,ctx:ve}),Me.$set(pi)},i(ve){vn||(v(c.$$.fragment,ve),v(d.$$.fragment,ve),v(g.$$.fragment,ve),v(_.$$.fragment,ve),v(k.$$.fragment,ve),v(E.$$.fragment,ve),v(D.$$.fragment,ve),v(x.$$.fragment,ve),v(B.$$.fragment,ve),v(W.$$.fragment,ve),v(R.$$.fragment,ve),v(J.$$.fragment,ve),v(j.$$.fragment,ve),v(ge.$$.fragment,ve),v(G.$$.fragment,ve),v(be.$$.fragment,ve),v(ne.$$.fragment,ve),v(fe.$$.fragment,ve),v(me.$$.fragment,ve),v(_e.$$.fragment,ve),v(Ue.$$.fragment,ve),v(ot.$$.fragment,ve),v(Ee.$$.fragment,ve),v(ut.$$.fragment,ve),v(Me.$$.fragment,ve),v(Ft.$$.fragment,ve),v(xt.$$.fragment,ve),v(Xe.$$.fragment,ve),v(Kt.$$.fragment,ve),v(Xt.$$.fragment,ve),v(_n.$$.fragment,ve),v(Ce.$$.fragment,ve),v(un.$$.fragment,ve),v(fn.$$.fragment,ve),v(cn.$$.fragment,ve),v(mn.$$.fragment,ve),v(dn.$$.fragment,ve),vn=!0)},o(ve){w(c.$$.fragment,ve),w(d.$$.fragment,ve),w(g.$$.fragment,ve),w(_.$$.fragment,ve),w(k.$$.fragment,ve),w(E.$$.fragment,ve),w(D.$$.fragment,ve),w(x.$$.fragment,ve),w(B.$$.fragment,ve),w(W.$$.fragment,ve),w(R.$$.fragment,ve),w(J.$$.fragment,ve),w(j.$$.fragment,ve),w(ge.$$.fragment,ve),w(G.$$.fragment,ve),w(be.$$.fragment,ve),w(ne.$$.fragment,ve),w(fe.$$.fragment,ve),w(me.$$.fragment,ve),w(_e.$$.fragment,ve),w(Ue.$$.fragment,ve),w(ot.$$.fragment,ve),w(Ee.$$.fragment,ve),w(ut.$$.fragment,ve),w(Me.$$.fragment,ve),w(Ft.$$.fragment,ve),w(xt.$$.fragment,ve),w(Xe.$$.fragment,ve),w(Kt.$$.fragment,ve),w(Xt.$$.fragment,ve),w(_n.$$.fragment,ve),w(Ce.$$.fragment,ve),w(un.$$.fragment,ve),w(fn.$$.fragment,ve),w(cn.$$.fragment,ve),w(mn.$$.fragment,ve),w(dn.$$.fragment,ve),vn=!1},d(ve){ve&&(s(e),s(n),s(i),s(o),s(r),s(u),s(a),s(y),s(M),s(I),s(A),s(Y),s(q),s(O),s(Z),s(te),s(oe),s(he),s(ke),s(xe),s(we),s(re),s(Ie),s(ct),s(pt),s(kt),s(at),s(Te),s(Ne),s(jt),s(mt),s(Rt),s(on),s(zt),s(Zt),s(ye),s(He),s(an),s(Wt),s(Mn),s(En)),S(c),S(d),S(g),S(_),S(k),S(E),S(D),S(x),S(B),S(W),S(R),S(J),S(j),S(ge),S(G),S(be),S(ne),S(fe),S(me),S(_e),S(Ue),S(ot),S(Ee),S(ut),S(Me),S(Ft),S(xt),S(Xe),S(Kt),S(Xt),S(_n),S(Ce),S(un),S(fn),S(cn),S(mn,ve),S(dn,ve)}}}function y$(t){return[[{name:"class",type:"string",description:"Additional css class name to be added to the component."},{name:"danger",description:"Button type: danger"},{name:"disabled",description:"Makes the button disabled"},{name:"icon",type:"string",description:'Adds an icon, with this name, to the button (see icons section for icon names)'},{name:"id",type:"string",description:"Assign ID to the underlying button"},{name:"outline",description:"Button style: outline"},{name:"pressed",type:["true","false"],default:"false",description:"Initial pressed state of the button."},{name:"round",description:"Makes the button round"},{name:"submit",type:["true","false"],default:"false",description:"If true button type is set to submit, otherwise it's button"},{name:"success",description:"Button type: success"},{name:"title",type:"string",description:"Assign title to the underlying button"},{name:"warning",description:"Button type: warning"},{name:"bind:element",type:"element",description:"Exposes the HTML element of the component."},{name:"on:click",type:"function",description:"Triggered when the button is clicked."}],`