@rahmatsaputra-my-id/react-js-library 0.0.75 → 0.0.76

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.
package/dist/index.es.js CHANGED
@@ -185671,7 +185671,7 @@ var styles$1 = {
185671
185671
  eye: {
185672
185672
  position: 'absolute',
185673
185673
  right: 10,
185674
- top: '50%',
185674
+ top: '45%',
185675
185675
  transform: 'translateY(-50%)',
185676
185676
  }
185677
185677
  };
@@ -185730,7 +185730,7 @@ var TextInput = function (_a) {
185730
185730
  : isInputRupiah || isInputNumber
185731
185731
  ? 'tel'
185732
185732
  : 'text';
185733
- return (jsxs(Fragment, { children: [jsxs(View, __assign({ style: styles$1.container }, { children: [jsxs(View, __assign({ style: __assign({ marginTop: top, marginRight: right, marginBottom: bottom, marginLeft: left, padding: padding }, style) }, { children: [label && (jsx(Text$1, { style: __assign(__assign({}, styles$1.label), styleLabel), children: label })), jsxs(View, { children: [multiline ? (jsx("textarea", __assign({ ref: textAreaRef, rows: rows, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }, props))) : (jsx("input", __assign({ type: inputType, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }, props))), isInputPaswword && (jsx(TouchableOpacity, __assign({ style: styles$1.eye, onPress: function () { return setShowPassword(function (prev) { return !prev; }); } }, { children: jsx(Icon, { size: 20, name: showPassword ? 'Eye' : 'EyeSlash' }) })))] }), labelError ? (jsx(Text$1, { style: styles$1.labelError, children: labelError })) : null] })), handleOnScanQr && (jsx(TouchableOpacity, __assign({ style: label
185733
+ return (jsxs(Fragment, { children: [jsxs(View, __assign({ style: styles$1.container }, { children: [jsxs(View, __assign({ style: __assign({ marginTop: top, marginRight: right, marginBottom: bottom, marginLeft: left, padding: padding }, style) }, { children: [label && (jsx(Text$1, { style: __assign(__assign({}, styles$1.label), styleLabel), children: label })), jsxs(View, { children: [multiline ? (jsx("textarea", __assign({}, props, { ref: textAreaRef, rows: rows, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }))) : (jsx("input", __assign({}, props, { type: inputType, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }))), isInputPaswword && (jsx(TouchableOpacity, __assign({ style: styles$1.eye, onPress: function () { return setShowPassword(function (prev) { return !prev; }); } }, { children: jsx(Icon, { size: 20, name: showPassword ? 'Eye' : 'EyeSlash' }) })))] }), labelError ? (jsx(Text$1, { style: styles$1.labelError, children: labelError })) : null] })), handleOnScanQr && (jsx(TouchableOpacity, __assign({ style: label
185734
185734
  ? styles$1.scanQrImageContainerWithLabel
185735
185735
  : styles$1.scanQrImageContainer, onPress: function () {
185736
185736
  handleOnScanQr();
package/dist/index.js CHANGED
@@ -185680,7 +185680,7 @@ var styles$1 = {
185680
185680
  eye: {
185681
185681
  position: 'absolute',
185682
185682
  right: 10,
185683
- top: '50%',
185683
+ top: '45%',
185684
185684
  transform: 'translateY(-50%)',
185685
185685
  }
185686
185686
  };
@@ -185739,7 +185739,7 @@ var TextInput = function (_a) {
185739
185739
  : isInputRupiah || isInputNumber
185740
185740
  ? 'tel'
185741
185741
  : 'text';
185742
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(View, __assign({ style: styles$1.container }, { children: [jsxRuntime.jsxs(View, __assign({ style: __assign({ marginTop: top, marginRight: right, marginBottom: bottom, marginLeft: left, padding: padding }, style) }, { children: [label && (jsxRuntime.jsx(Text$1, { style: __assign(__assign({}, styles$1.label), styleLabel), children: label })), jsxRuntime.jsxs(View, { children: [multiline ? (jsxRuntime.jsx("textarea", __assign({ ref: textAreaRef, rows: rows, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }, props))) : (jsxRuntime.jsx("input", __assign({ type: inputType, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }, props))), isInputPaswword && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$1.eye, onPress: function () { return setShowPassword(function (prev) { return !prev; }); } }, { children: jsxRuntime.jsx(Icon, { size: 20, name: showPassword ? 'Eye' : 'EyeSlash' }) })))] }), labelError ? (jsxRuntime.jsx(Text$1, { style: styles$1.labelError, children: labelError })) : null] })), handleOnScanQr && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: label
185742
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(View, __assign({ style: styles$1.container }, { children: [jsxRuntime.jsxs(View, __assign({ style: __assign({ marginTop: top, marginRight: right, marginBottom: bottom, marginLeft: left, padding: padding }, style) }, { children: [label && (jsxRuntime.jsx(Text$1, { style: __assign(__assign({}, styles$1.label), styleLabel), children: label })), jsxRuntime.jsxs(View, { children: [multiline ? (jsxRuntime.jsx("textarea", __assign({}, props, { ref: textAreaRef, rows: rows, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }))) : (jsxRuntime.jsx("input", __assign({}, props, { type: inputType, inputMode: isInputNumber ? 'numeric' : 'text', style: stylesTextInput, value: isInputRupiah ? formatRupiahDisplay(value) : (value !== null && value !== void 0 ? value : ''), onChange: handleChange }))), isInputPaswword && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$1.eye, onPress: function () { return setShowPassword(function (prev) { return !prev; }); } }, { children: jsxRuntime.jsx(Icon, { size: 20, name: showPassword ? 'Eye' : 'EyeSlash' }) })))] }), labelError ? (jsxRuntime.jsx(Text$1, { style: styles$1.labelError, children: labelError })) : null] })), handleOnScanQr && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: label
185743
185743
  ? styles$1.scanQrImageContainerWithLabel
185744
185744
  : styles$1.scanQrImageContainer, onPress: function () {
185745
185745
  handleOnScanQr();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rahmatsaputra-my-id/react-js-library",
3
- "version": "0.0.75",
3
+ "version": "0.0.76",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "private": false,