From 40e78d5eb88f8fa670ec492658663b4a5fad403d Mon Sep 17 00:00:00 2001 From: Marc Khouri Date: Fri, 1 Dec 2023 16:27:53 -0500 Subject: [PATCH] Release 0.3.0 Feat: Added track width as optional props (#34) Fix: fire `onControlFinished` for touch drags (#35) --- docs/main.bundle.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/main.bundle.js b/docs/main.bundle.js index 7f0bf0d..fa81bee 100644 --- a/docs/main.bundle.js +++ b/docs/main.bundle.js @@ -1,2 +1,2 @@ /*! For license information please see main.bundle.js.LICENSE.txt */ -(()=>{var e={851:(e,n)=>{"use strict";n.Q=function(e){for(var n,t=[],r=String(e||""),a=r.indexOf(","),l=0,o=!1;!o;)-1===a&&(a=r.length,o=!0),!(n=r.slice(l,a).trim())&&o||t.push(n),l=a+1,a=r.indexOf(",",l);return t}},892:e=>{"use strict";e.exports=function(e,t){for(var r,a,l,o=e||"",i=t||"div",u={},c=0;c{"use strict";var r=t(560),a=t(632),l=t(892),o=t(582).Q,i=t(851).Q;e.exports=function(e,n,t){var a=t?function(e){for(var n,t=e.length,r=-1,a={};++r{"use strict";var r=t(247),a=t(502)(r,"div");a.displayName="html",e.exports=a},742:(e,n,t)=>{"use strict";e.exports=t(579)},260:e=>{"use strict";e.exports=function(e){var n="string"==typeof e?e.charCodeAt(0):e;return n>=97&&n<=122||n>=65&&n<=90}},961:(e,n,t)=>{"use strict";var r=t(260),a=t(195);e.exports=function(e){return r(e)||a(e)}},195:e=>{"use strict";e.exports=function(e){var n="string"==typeof e?e.charCodeAt(0):e;return n>=48&&n<=57}},480:e=>{"use strict";e.exports=function(e){var n="string"==typeof e?e.charCodeAt(0):e;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}},435:e=>{"use strict";var n;e.exports=function(e){var t,r="&"+e+";";return(n=n||document.createElement("i")).innerHTML=r,(59!==(t=n.textContent).charCodeAt(t.length-1)||"semi"===e)&&(t!==r&&t)}},574:(e,n,t)=>{"use strict";var r=t(452),a=t(580),l=t(195),o=t(480),i=t(961),u=t(435);e.exports=function(e,n){var t,l,o={};for(l in n||(n={}),d)t=n[l],o[l]=null==t?d[l]:t;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,n){var t,l,o,d,w,k,S,x,E,C,P,_,N,F,L,z,O,A,T,M,R=n.additional,D=n.nonTerminated,j=n.text,I=n.reference,$=n.warning,V=n.textContext,U=n.referenceContext,B=n.warningContext,H=n.position,W=n.indent||[],Q=e.length,q=0,K=-1,Y=H.column||1,G=H.line||1,X="",Z=[];for("string"==typeof R&&(R=R.charCodeAt(0)),z=J(),x=$?function(e,n){var t=J();t.column+=n,t.offset+=n,$.call(B,y[e],t,e)}:f,q--,Q++;++q=55296&&M<=57343||M>1114111?(x(7,A),k=s(65533)):k in a?(x(6,A),k=a[k]):(C="",b(k)&&x(6,A),k>65535&&(C+=s((k-=65536)>>>10|55296),k=56320|1023&k),k=C+s(k))):F!==p&&x(4,A)),k?(ee(),z=J(),q=T-1,Y+=T-N+1,Z.push(k),(O=J()).offset++,I&&I.call(U,k,{start:z,end:O},e.slice(N-1,T)),z=O):(d=e.slice(N-1,T),X+=d,Y+=d.length,q=T-1)}else 10===w&&(G++,K++,Y=0),w==w?(X+=s(w),Y++):ee();return Z.join("");function J(){return{line:G,column:Y,offset:q+(H.offset||0)}}function ee(){X&&(Z.push(X),j&&j.call(V,X,{start:z,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,s=String.fromCharCode,f=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",g="hexadecimal",h="decimal",m={hexadecimal:16,decimal:10},v={};v.named=i,v[h]=l,v[g]=o;var y={};function b(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},560:(e,n,t)=>{"use strict";var r=t(632),a=t(805),l=t(643),o="data";e.exports=function(e,n){var t=r(n),d=n,p=l;return t in e.normal?e.property[e.normal[t]]:(t.length>4&&t.slice(0,4)===o&&i.test(n)&&("-"===n.charAt(4)?d=function(e){var n=e.slice(5).replace(u,f);return o+n.charAt(0).toUpperCase()+n.slice(1)}(n):n=function(e){var n=e.slice(4);return u.test(n)?e:("-"!==(n=n.replace(c,s)).charAt(0)&&(n="-"+n),o+n)}(n),p=a),new p(d,n))};var i=/^data[-\w.:]+$/i,u=/-[a-z]/g,c=/[A-Z]/g;function s(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},247:(e,n,t)=>{"use strict";var r=t(940),a=t(289),l=t(812),o=t(397),i=t(716),u=t(54);e.exports=r([l,a,o,i,u])},716:(e,n,t)=>{"use strict";var r=t(0),a=t(596),l=r.booleanish,o=r.number,i=r.spaceSeparated;e.exports=a({transform:function(e,n){return"role"===n?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:l,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:i,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:l,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},54:(e,n,t)=>{"use strict";var r=t(0),a=t(596),l=t(855),o=r.boolean,i=r.overloadedBoolean,u=r.booleanish,c=r.number,s=r.spaceSeparated,f=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:s,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:s,cols:c,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:s,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:s,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:s,itemRef:s,itemScope:o,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:s,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:s,required:o,reversed:o,rows:c,rowSpan:c,sandbox:s,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:c,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},855:(e,n,t)=>{"use strict";var r=t(740);e.exports=function(e,n){return r(e,n.toLowerCase())}},740:e=>{"use strict";e.exports=function(e,n){return n in e?e[n]:n}},596:(e,n,t)=>{"use strict";var r=t(632),a=t(607),l=t(805);e.exports=function(e){var n,t,o=e.space,i=e.mustUseProperty||[],u=e.attributes||{},c=e.properties,s=e.transform,f={},d={};for(n in c)t=new l(n,s(u,n),c[n],o),-1!==i.indexOf(n)&&(t.mustUseProperty=!0),f[n]=t,d[r(n)]=n,d[r(t.attribute)]=n;return new a(f,d,o)}},805:(e,n,t)=>{"use strict";var r=t(643),a=t(0);e.exports=i,i.prototype=new r,i.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=l.length;function i(e,n,t,i){var c,s=-1;for(u(this,"space",i),r.call(this,e,n);++s{"use strict";e.exports=t;var n=t.prototype;function t(e,n){this.property=e,this.attribute=n}n.space=null,n.attribute=null,n.property=null,n.boolean=!1,n.booleanish=!1,n.overloadedBoolean=!1,n.number=!1,n.commaSeparated=!1,n.spaceSeparated=!1,n.commaOrSpaceSeparated=!1,n.mustUseProperty=!1,n.defined=!1},940:(e,n,t)=>{"use strict";var r=t(529),a=t(607);e.exports=function(e){for(var n,t,l=e.length,o=[],i=[],u=-1;++u{"use strict";e.exports=t;var n=t.prototype;function t(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}n.space=null,n.normal={},n.property={}},0:(e,n)=>{"use strict";var t=0;function r(){return Math.pow(2,++t)}n.boolean=r(),n.booleanish=r(),n.overloadedBoolean=r(),n.number=r(),n.spaceSeparated=r(),n.commaSeparated=r(),n.commaOrSpaceSeparated=r()},289:(e,n,t)=>{"use strict";var r=t(596);e.exports=r({space:"xlink",transform:function(e,n){return"xlink:"+n.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},812:(e,n,t)=>{"use strict";var r=t(596);e.exports=r({space:"xml",transform:function(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},397:(e,n,t)=>{"use strict";var r=t(596),a=t(855);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})},632:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},448:(e,n,t)=>{"use strict";var r=t(294),a=t(840);function l(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t