dhre-ui-kit 0.0.225 → 0.0.227

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/lib/index.d.ts CHANGED
@@ -304,6 +304,7 @@ interface CustomProgressBarProps {
304
304
  interval?: number;
305
305
  percentageText?: string;
306
306
  valueTextStyle?: TextStyle;
307
+ percentageTextStyle?: TextStyle;
307
308
  }
308
309
  declare const CustomProgressBar: React$1.FC<CustomProgressBarProps>;
309
310
 
package/lib/index.js CHANGED
@@ -1592,7 +1592,8 @@ const CustomProgressBar = ({
1592
1592
  interval = 100,
1593
1593
  // Default interval to 100ms
1594
1594
  percentageText,
1595
- valueTextStyle
1595
+ valueTextStyle,
1596
+ percentageTextStyle
1596
1597
  }) => {
1597
1598
  React.useEffect(() => {
1598
1599
  const progressInterval = setInterval(() => {
@@ -1618,7 +1619,8 @@ const CustomProgressBar = ({
1618
1619
  {
1619
1620
  text: percentageText,
1620
1621
  variant: "L3_REGULAR",
1621
- textColor: "CONTENT_PRIMARY"
1622
+ textColor: "CONTENT_PRIMARY",
1623
+ style: percentageTextStyle
1622
1624
  }
1623
1625
  ) : null);
1624
1626
  };
@@ -3429,6 +3431,10 @@ const CommonTextInput = (props) => {
3429
3431
  reactNativePaper.TextInput,
3430
3432
  {
3431
3433
  mode: "outlined",
3434
+ underlineColor: "transparent",
3435
+ underlineColorAndroid: "transparent",
3436
+ spellCheck: false,
3437
+ autoCorrect: false,
3432
3438
  outlineStyle: {
3433
3439
  ...styles$9.outlineStyle,
3434
3440
  borderColor: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length ? activeBorderColor : inactiveBorderColor