dhre-ui-kit 0.0.224 → 0.0.226
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 +1 -0
- package/lib/index.js +7 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -3090,7 +3090,8 @@ const ScrollableList = ({
|
|
|
3090
3090
|
selectedItemStyle,
|
|
3091
3091
|
selectedItemTextColor = "CONTENT_PRIMARY",
|
|
3092
3092
|
defaultItemTextColor = "CONTENT_SECONDRY",
|
|
3093
|
-
activeTab
|
|
3093
|
+
activeTab,
|
|
3094
|
+
errorStyle
|
|
3094
3095
|
}) => {
|
|
3095
3096
|
const [selectedItem, setSelectedItem] = React.useState(
|
|
3096
3097
|
data && data.length > 0 ? data[0].name : null
|
|
@@ -3132,7 +3133,7 @@ const ScrollableList = ({
|
|
|
3132
3133
|
textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
|
|
3133
3134
|
}
|
|
3134
3135
|
),
|
|
3135
|
-
item?.isError && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles.errorViewStyle] })
|
|
3136
|
+
item?.isError && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles.errorViewStyle, errorStyle] })
|
|
3136
3137
|
))
|
|
3137
3138
|
));
|
|
3138
3139
|
};
|
|
@@ -3428,6 +3429,10 @@ const CommonTextInput = (props) => {
|
|
|
3428
3429
|
reactNativePaper.TextInput,
|
|
3429
3430
|
{
|
|
3430
3431
|
mode: "outlined",
|
|
3432
|
+
underlineColor: "transparent",
|
|
3433
|
+
underlineColorAndroid: "transparent",
|
|
3434
|
+
spellCheck: false,
|
|
3435
|
+
autoCorrect: false,
|
|
3431
3436
|
outlineStyle: {
|
|
3432
3437
|
...styles$9.outlineStyle,
|
|
3433
3438
|
borderColor: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length ? activeBorderColor : inactiveBorderColor
|