@planningcenter/tapestry-react 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../src/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAET,EAAE,EACF,UAAU,EACV,aAAa,EACd,MAAM,OAAO,CAAA;AAGd,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGtC,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,OAAO,CAAA;IAKnB,WAAW,CAAC,EAAE,OAAO,CAAA;IAKrB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAMhC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IAKtB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAKrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAErB,cAAc,CAAC,EAAE,OAAO,CAAA;IAKxB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAQ5D,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAE1C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAK5D,GAAG,CAAC,EAAE,MAAM,CAAA;IAKZ,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,IAAI,CAAC,EAAE,GAAG,CAAA;IAMV,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,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IAE5C,cAAc,cAAe,MAAM,UACU;IAE7C,aAAa,UACJ,cAAc,gBAAgB,CAAC,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,UAsBtE;IAED,WAAW,UACF,cAAc,gBAAgB,CAAC,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,UAwCtE;IAED,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAYxC,WAAW,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAoC1C,uBAAuB,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAmCtD,MAAM;CAuBP;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__extends as e,__assign as r,__rest as t}from'./../ext/tslib/tslib.es6.js';import a,{createElement as n,Component as o}from"react";import{Button as i}from"../Button/Button.js";import l from"../Input/InputField.js";import{StackView as u}from"../StackView/StackView.js";import{padNumber as p,getTabbableSiblings as s}from"../utils.js";var c=-1/0,d=1/0,
|
|
1
|
+
import{__extends as e,__assign as r,__rest as t}from'./../ext/tslib/tslib.es6.js';import a,{createElement as n,Component as o}from"react";import{Button as i}from"../Button/Button.js";import l from"../Input/InputField.js";import{StackView as u}from"../StackView/StackView.js";import{padNumber as p,getTabbableSiblings as s}from"../utils.js";var c=-1/0,d=1/0,f=["Backspace","Delete","Tab","Enter","Home","End","ArrowLeft","ArrowRight","-",".","ArrowUp","ArrowDown"];var m=function(o){function m(){var e=null!==o&&o.apply(this,arguments)||this;return Object.defineProperty(e,"firstTouch",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(e,"getParsedValues",{enumerable:!0,configurable:!0,writable:!0,value:function(r){return{maxValue:Number.parseFloat("".concat(e.props.max)),minValue:Number.parseFloat("".concat(e.props.min)),value:"string"==typeof r?Number.parseFloat(r):r}}}),Object.defineProperty(e,"clampValue",{enumerable:!0,configurable:!0,writable:!0,value:function(r){var t=e.getParsedValues(r),a=t.value,n=t.minValue;return isNaN(a)?n===c?0:n:a}}),Object.defineProperty(e,"isValueValid",{enumerable:!0,configurable:!0,writable:!0,value:function(r){var t=e.getParsedValues(r),a=t.value,n=t.minValue,o=t.maxValue;return a>=n&&a<=o}}),Object.defineProperty(e,"changeIfValid",{enumerable:!0,configurable:!0,writable:!0,value:function(r){e.isValueValid(r)&&e.onChange(r)}}),Object.defineProperty(e,"onChange",{enumerable:!0,configurable:!0,writable:!0,value:function(r){e.props.onChange(r)}}),Object.defineProperty(e,"handleBlur",{enumerable:!0,configurable:!0,writable:!0,value:function(r){var t=e.getParsedValues(r.target.value),a=t.minValue,n=t.maxValue,o=Number.parseFloat(r.target.value);o<a?e.onChange(a.toString()):o>n?e.onChange(n.toString()):isNaN(o)&&e.onChange(e.clampValue(o)),e.props.onBlur&&e.props.onBlur(r),e.firstTouch=!0}}),Object.defineProperty(e,"stepValue",{enumerable:!0,configurable:!0,writable:!0,value:function(r,t){var a=t,n=e.clampValue(r+a),o=r.toString().indexOf(".")>-1?Number.parseFloat(n.toFixed(2)):n;e.isValueValid(o)&&e.onChange(o)}}),Object.defineProperty(e,"incrementValue",{enumerable:!0,configurable:!0,writable:!0,value:function(r){return e.stepValue(r,e.props.step)}}),Object.defineProperty(e,"decrementValue",{enumerable:!0,configurable:!0,writable:!0,value:function(r){return e.stepValue(r,-e.props.step)}}),Object.defineProperty(e,"handleKeyDown",{enumerable:!0,configurable:!0,writable:!0,value:function(r){if(!e.props.ignoredKeys.includes(r.key)){var t=e.props.pad,a=e.getParsedValues(r.target.value).value;(function(e){return!e.metaKey&&"v"!==e.key&&isNaN(parseInt(e.key,10))&&-1===f.indexOf(e.key)}(r)||t&&("ArrowLeft"===r.key||"ArrowRight"===r.key))&&r.preventDefault(),e.props.onKeyDown&&e.props.onKeyDown(r),r.defaultPrevented||("ArrowUp"===r.key?e.incrementValue(a):"ArrowDown"===r.key&&e.decrementValue(a))}}}),Object.defineProperty(e,"handleInput",{enumerable:!0,configurable:!0,writable:!0,value:function(r){var t=e.getParsedValues(r.target.value).maxValue;if(e.props.pad){var a=""===r.target.value,n=a?r.target.value:parseFloat(r.target.value);if(a){var o="".concat(e.props.value).slice(0,-1);e.onChange(p(o,e.props.pad))}else{o=e.clampValue(n);var i=parseFloat("".concat(e.props.value).concat(n));if(e.firstTouch||isNaN("string"==typeof n?parseFloat(n):n)||!e.isValueValid(i)||(o=i),e.firstTouch=!1,e.props.moveFocusOnMax&&o/t>.1){var l=s(r.target).next;l&&setTimeout((function(){return l.focus()}))}e.changeIfValid(o)}}else e.onChange(r.target.value)}}),e}return e(m,o),Object.defineProperty(m.prototype,"getAutoWidthValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var r=this.props,t=r.autoWidth,a=r.pad,n=r.placeholder,o=""===e;return t||(a&&o?function(e){for(var r="",t=0;t<e;t++)r+="0";return r}(a):o&&void 0!==n?n:e)}}),Object.defineProperty(m.prototype,"renderInput",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.props,a=t.as,o=t.highlightOnInteraction,i=void 0!==o&&o,l=t.pad,u=t.value,s=this.getParsedValues(u),f=null===u?"":u;return l&&""!==f&&(f=p(f,l)),s.minValue!==c&&(e.min=this.props.min),s.maxValue!==d&&(e.max=this.props.max),!1!==this.props.autoWidth&&(e.autoWidth=this.getAutoWidthValue(f),void 0===e.autoWidth&&(e.autoWidth=!0)),n(a,r(r({},e),{autoComplete:"off",highlightOnInteraction:i||l,onBlur:this.handleBlur,onInput:this.handleInput,onKeyDown:this.handleKeyDown,textOverflow:void 0,value:f}))}}),Object.defineProperty(m.prototype,"renderInputWithControls",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var r=this,t=this.renderInput(e);return this.props.hasControls?a.createElement(a.Fragment,null,t,a.createElement(u,{marginRight:-1,marginLeft:1},a.createElement(i,{icon:{name:"general.upCaret"},hover:{backgroundColor:"grey-1"},minHeight:1,onClick:function(){return r.incrementValue(r.props.value)},paddingVertical:.25,size:"xs",title:"Increment by ".concat(this.props.step),variant:"naked"}),a.createElement(i,{icon:{name:"general.downCaret"},hover:{backgroundColor:"grey-1"},minHeight:1,onClick:function(){return r.decrementValue(r.props.value)},paddingVertical:.25,size:"xs",title:"Decrement by ".concat(this.props.step),variant:"naked"}))):t}}),Object.defineProperty(m.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props;e.autoWidth,e.as,e.hasControls,e.highlightOnInteraction,e.ignoredKeys,e.min,e.max,e.moveFocusOnMax,e.onChange,e.onBlur,e.onInput,e.onKeyDown,e.pad,e.value;var r=t(e,["autoWidth","as","hasControls","highlightOnInteraction","ignoredKeys","min","max","moveFocusOnMax","onChange","onBlur","onInput","onKeyDown","pad","value"]);return this.props.hasControls?this.renderInputWithControls(r):this.renderInput(r)}}),Object.defineProperty(m,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{as:l,hasControls:!1,ignoredKeys:[],max:d,min:c,moveFocusOnMax:!1,step:1}}),m}(o);export{m as default};
|
|
2
2
|
//# sourceMappingURL=NumberField.js.map
|
|
@@ -8,7 +8,6 @@ type TimeFieldProps = ComponentProps<typeof Input> & ComponentProps<typeof Input
|
|
|
8
8
|
interval?: number;
|
|
9
9
|
isIOS?: boolean;
|
|
10
10
|
max?: number;
|
|
11
|
-
meridiemOffset?: number;
|
|
12
11
|
min?: number;
|
|
13
12
|
onChange: (hoursAndMinutes: [number, number]) => void;
|
|
14
13
|
twelveHourClock?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../src/TimeField/TimeField.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,cAAc,EAKf,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,MAAM,gBAAgB,CAAA;AAClC,OAAO,QAAQ,MAAM,mBAAmB,CAAA;AAIxC,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CA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
import{__rest as e,__assign as n}from'./../ext/tslib/tslib.es6.js';import
|
|
1
|
+
import{__rest as e,__assign as n}from'./../ext/tslib/tslib.es6.js';import t,{useState as r,useRef as o,useMemo as a}from"react";import{Box as i}from"../Box/Box.js";import u from"../Input/Input.js";import l from"../Input/InputBox.js";import c from"../Input/InputField.js";import d from"../NumberField/NumberField.js";import{padNumber as s,noop as m}from"../utils.js";import{addHoursToTime as v,addMinutesToTime as f,addTimeToDate as p,getTimeFromDate as w}from"./utils.js";var g="undefined"!=typeof window&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),h=function(r){var o=r.twelveHourClock,a=void 0===o||o,i=r.controlled,u=void 0!==i&&i,l=e(r,["twelveHourClock","controlled"]);return u?t.createElement(k,n({twelveHourClock:a},l)):t.createElement(y,n({twelveHourClock:a},l))};h.addHoursToTime=v,h.addMinutesToTime=f,h.addTimeToDate=p,h.getTimeFromDate=w;var y=function(o){var a=o.value,i=e(o,["value"]),u=r(a),l=u[0],c=u[1];return t.createElement(k,n({},i,{onChange:function(e){c(e),i.onChange&&i.onChange(e)},value:l}))},k=function(r){var v=r.ignoredKeys;r.interval;var f=r.isIOS,p=void 0!==f&&f;r.max,r.min;var w=r.onChange,h=r.twelveHourClock,y=r.value,k=e(r,["ignoredKeys","interval","isIOS","max","min","onChange","twelveHourClock","value"]),A=o(null),C=y[0],b=y[1],M=a((function(){return C<12?"AM":"PM"}),[C]),x=a((function(){return h?0===C?12:C>12?C-12:C:C}),[C]),D=function(e){var n=C-e;return n<0?23:n},I=function(e){return(C+e)%24};return g||p?t.createElement(u,n({},k,{type:"time",autoWidth:"".concat(C,":").concat(s(b,2)," ").concat(M),value:"".concat(s(C,2),":").concat(s(b,2)),onChange:function(e){var n=e.target.value.split(":"),t=n[0],r=n[1];w(t||r?[parseInt(t,10),parseInt(r,10)]:[0,0])}})):t.createElement(l,n({ref:A,inline:!0},k),t.createElement(d,{"aria-label":"Hours",autoWidth:!1,fontVariantNumeric:"tabular-nums",grow:0,max:h?12:23,min:0,moveFocusOnMax:!0,onChange:function(e){var n=function(e){var n=e.hours,t=e.twelveHourClock,r=e.meridiem;return t?"PM"===r&&n<12?n+12:"AM"===r&&12===n?0:n:n}({hours:"string"==typeof e?parseInt(e,10):e,meridiem:M,twelveHourClock:h});w([n,b])},onKeyDown:function(e){var n;v&&v.includes(e.key)||("Backspace"===e.key&&e.preventDefault(),"ArrowRight"===e.key&&(null===(n=A.current)||void 0===n?void 0:n.node.children[2]).focus(),"ArrowUp"===e.key&&(w([I(1),b]),e.preventDefault()),"ArrowDown"===e.key&&(!function(e){w([D(e),b])}(1),e.preventDefault()))},pad:2,textAlign:"center",value:x,width:"2ch",disabled:k.disabled,ignoredKeys:v}),t.createElement(i,{as:"span",width:.5,textAlign:"center",userSelect:"none"},":"),t.createElement(d,{"aria-label":"Minutes",autoWidth:!1,fontVariantNumeric:"tabular-nums",grow:0,max:59,min:0,moveFocusOnMax:!0,onChange:function(e){return w([C,"string"==typeof e?parseInt(e,10):e])},onKeyDown:function(e){var n,t,r;"ArrowLeft"===e.key&&(null===(n=A.current)||void 0===n?void 0:n.node.children[0]).focus(),"ArrowRight"===e.key&&(null===(t=A.current)||void 0===t?void 0:t.node.children[3]).focus(),"ArrowUp"===e.key&&(w((r=b+1)<=59?[C,r]:[I(1),0]),e.preventDefault()),"ArrowDown"===e.key&&(!function(e){var n=b-e;w(n>=0?[C,n]:[D(1),59])}(1),e.preventDefault())},pad:2,textAlign:"center",value:b,width:"2ch",disabled:k.disabled,ignoredKeys:v}),h&&t.createElement(c,{"aria-label":"AM/PM",grow:0,highlightOnInteraction:!0,onChange:m,onKeyDown:function(e){var n;v&&v.includes(e.key)||("Tab"===e.key||e.metaKey&&"r"===e.key||e.preventDefault(),"ArrowLeft"===e.key&&(null===(n=A.current)||void 0===n?void 0:n.node.children[2]).focus(),("a"===e.key.toLowerCase()&&"PM"===M||"p"===e.key.toLowerCase()&&"AM"===M||"ArrowUp"===e.key||"ArrowDown"===e.key)&&w("AM"===M?[C+12,b]:[C-12,b]))},textAlign:"center",value:M,width:"2em",disabled:k.disabled}))};export{h as default};
|
|
2
2
|
//# sourceMappingURL=TimeField.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-react",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.3",
|
|
4
4
|
"description": "A collection of flexible React components to help you build resilient, accessible user interfaces quickly and effectively.",
|
|
5
5
|
"author": "Front End Systems Engineering <frontend@pco.bz>",
|
|
6
6
|
"main": "./dist/index.js",
|