dhre-ui-kit 2.0.14 → 2.0.15
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 +2 -0
- package/lib/index.js +5 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +4 -4
package/lib/index.mjs
CHANGED
|
@@ -9319,7 +9319,9 @@ const ScrollableList = ({
|
|
|
9319
9319
|
defaultItemTextColor = "CONTENT_SECONDRY",
|
|
9320
9320
|
activeTab,
|
|
9321
9321
|
errorStyle,
|
|
9322
|
+
inActiveErrorStyle,
|
|
9322
9323
|
errorTextStyle,
|
|
9324
|
+
inActiveErrorTextStyle,
|
|
9323
9325
|
activeTextStyle,
|
|
9324
9326
|
enableTextWrap,
|
|
9325
9327
|
inActiveTextStyle
|
|
@@ -9365,15 +9367,15 @@ const ScrollableList = ({
|
|
|
9365
9367
|
style: (activeTab ?? selectedItem) === item.name ? activeTextStyle ? activeTextStyle : {} : inActiveTextStyle ? inActiveTextStyle : {}
|
|
9366
9368
|
}
|
|
9367
9369
|
)),
|
|
9368
|
-
item?.isError ? /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React.createElement(
|
|
9370
|
+
item?.isError ? /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle, errorStyle, (activeTab ?? selectedItem) !== item.name && inActiveErrorStyle] }, item?.errorText ? /* @__PURE__ */ React.createElement(
|
|
9369
9371
|
CustomText$1,
|
|
9370
9372
|
{
|
|
9371
9373
|
text: item?.errorText,
|
|
9372
9374
|
variant: FontStyle.L2_REGULAR,
|
|
9373
9375
|
textColor: Theme.CONTENT_PRIMARY,
|
|
9374
|
-
style: [styles.errorTextStyle, errorTextStyle]
|
|
9376
|
+
style: [styles.errorTextStyle, errorTextStyle, (activeTab ?? selectedItem) !== item.name && inActiveErrorTextStyle]
|
|
9375
9377
|
}
|
|
9376
|
-
) :
|
|
9378
|
+
) : null) : null
|
|
9377
9379
|
))
|
|
9378
9380
|
));
|
|
9379
9381
|
};
|