@xaypay/tui 0.2.18 → 0.2.19

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
@@ -597,6 +597,7 @@ var packageResult = {
597
597
  }
598
598
  },
599
599
  tel: {
600
+ className: 'tel-code',
600
601
  display: 'flex',
601
602
  alignItems: 'center',
602
603
  justifyContent: 'center',
@@ -4542,6 +4543,7 @@ const TelInput = ({
4542
4543
  radius,
4543
4544
  isHover,
4544
4545
  disabled,
4546
+ telClass,
4545
4547
  inpStyles,
4546
4548
  errorColor,
4547
4549
  inputChange,
@@ -4573,6 +4575,7 @@ const TelInput = ({
4573
4575
  setInnerValue(() => newValue);
4574
4576
  }, [value]);
4575
4577
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
4578
+ className: telClass,
4576
4579
  style: {
4577
4580
  ...inpStyles,
4578
4581
  width: 'auto',
@@ -4874,6 +4877,7 @@ const Input = ({
4874
4877
  family,
4875
4878
  padding,
4876
4879
  tooltip,
4880
+ telClass,
4877
4881
  leftIcon,
4878
4882
  required,
4879
4883
  disabled,
@@ -5109,6 +5113,7 @@ const Input = ({
5109
5113
  inpStyles: inpStyles,
5110
5114
  inpAttributes: inpAttributes,
5111
5115
  radius: radius ?? configStyles.INPUT.radius,
5116
+ telClass: telClass ?? configStyles.INPUT.tel.className,
5112
5117
  phoneDisplay: phoneDisplay ?? configStyles.INPUT.tel.display,
5113
5118
  phoneAlignItems: phoneAlignItems ?? configStyles.INPUT.tel.alignItems,
5114
5119
  phoneJustifyContent: phoneJustifyContent ?? configStyles.INPUT.tel.justifyContent,
@@ -5296,6 +5301,7 @@ Input.propTypes = {
5296
5301
  regexpErrorMessage: PropTypes.string,
5297
5302
  regexp: PropTypes.instanceOf(RegExp),
5298
5303
  fireInputInsideError: PropTypes.func,
5304
+ telClass: PropTypes.string,
5299
5305
  telBorderRightWidth: PropTypes.string,
5300
5306
  telBorderRightStyle: PropTypes.string,
5301
5307
  telBorderRightColor: PropTypes.string,
package/dist/index.js CHANGED
@@ -628,6 +628,7 @@ var packageResult = {
628
628
  }
629
629
  },
630
630
  tel: {
631
+ className: 'tel-code',
631
632
  display: 'flex',
632
633
  alignItems: 'center',
633
634
  justifyContent: 'center',
@@ -4573,6 +4574,7 @@ const TelInput = ({
4573
4574
  radius,
4574
4575
  isHover,
4575
4576
  disabled,
4577
+ telClass,
4576
4578
  inpStyles,
4577
4579
  errorColor,
4578
4580
  inputChange,
@@ -4604,6 +4606,7 @@ const TelInput = ({
4604
4606
  setInnerValue(() => newValue);
4605
4607
  }, [value]);
4606
4608
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
4609
+ className: telClass,
4607
4610
  style: {
4608
4611
  ...inpStyles,
4609
4612
  width: 'auto',
@@ -4905,6 +4908,7 @@ const Input = ({
4905
4908
  family,
4906
4909
  padding,
4907
4910
  tooltip,
4911
+ telClass,
4908
4912
  leftIcon,
4909
4913
  required,
4910
4914
  disabled,
@@ -5140,6 +5144,7 @@ const Input = ({
5140
5144
  inpStyles: inpStyles,
5141
5145
  inpAttributes: inpAttributes,
5142
5146
  radius: radius ?? configStyles.INPUT.radius,
5147
+ telClass: telClass ?? configStyles.INPUT.tel.className,
5143
5148
  phoneDisplay: phoneDisplay ?? configStyles.INPUT.tel.display,
5144
5149
  phoneAlignItems: phoneAlignItems ?? configStyles.INPUT.tel.alignItems,
5145
5150
  phoneJustifyContent: phoneJustifyContent ?? configStyles.INPUT.tel.justifyContent,
@@ -5327,6 +5332,7 @@ Input.propTypes = {
5327
5332
  regexpErrorMessage: PropTypes__default["default"].string,
5328
5333
  regexp: PropTypes__default["default"].instanceOf(RegExp),
5329
5334
  fireInputInsideError: PropTypes__default["default"].func,
5335
+ telClass: PropTypes__default["default"].string,
5330
5336
  telBorderRightWidth: PropTypes__default["default"].string,
5331
5337
  telBorderRightStyle: PropTypes__default["default"].string,
5332
5338
  telBorderRightColor: PropTypes__default["default"].string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaypay/tui",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
package/tui.config.js CHANGED
@@ -141,6 +141,7 @@ export default {
141
141
  },
142
142
 
143
143
  tel: {
144
+ className: 'tel-code',
144
145
  display: 'flex',
145
146
  alignItems: 'center',
146
147
  justifyContent: 'center',