dhre-ui-kit 0.0.131 → 0.0.133
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 -1
- package/lib/index.js +10 -16
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -16
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2218,21 +2218,14 @@ const styles$l = StyleSheet.create({
|
|
|
2218
2218
|
swippableContainer: { paddingVertical: verticalScale(16) },
|
|
2219
2219
|
actionButton: {
|
|
2220
2220
|
justifyContent: "center",
|
|
2221
|
-
alignItems: "center"
|
|
2221
|
+
alignItems: "center",
|
|
2222
|
+
paddingHorizontal: horizontalScale(24)
|
|
2222
2223
|
},
|
|
2223
2224
|
titleStyle: {
|
|
2224
2225
|
color: "#fff"
|
|
2225
2226
|
},
|
|
2226
|
-
|
|
2227
|
-
flexDirection: "row"
|
|
2228
|
-
justifyContent: "center",
|
|
2229
|
-
alignItems: "center",
|
|
2230
|
-
width: horizontalScale(150),
|
|
2231
|
-
gap: horizontalScale(24)
|
|
2232
|
-
},
|
|
2233
|
-
rightActions: {
|
|
2234
|
-
flexDirection: "row",
|
|
2235
|
-
paddingHorizontal: horizontalScale(24)
|
|
2227
|
+
actionBtn: {
|
|
2228
|
+
flexDirection: "row"
|
|
2236
2229
|
},
|
|
2237
2230
|
seprator: {
|
|
2238
2231
|
height: verticalScale(16)
|
|
@@ -2284,7 +2277,7 @@ const SwipableList = (props) => {
|
|
|
2284
2277
|
}
|
|
2285
2278
|
)
|
|
2286
2279
|
);
|
|
2287
|
-
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style:
|
|
2280
|
+
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$l.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
|
|
2288
2281
|
ActionButton,
|
|
2289
2282
|
{
|
|
2290
2283
|
icon: leftPrimaryActionIcon,
|
|
@@ -2303,7 +2296,7 @@ const SwipableList = (props) => {
|
|
|
2303
2296
|
testID: `${testId}-LEFT-SECONDARY-${item.id}`
|
|
2304
2297
|
}
|
|
2305
2298
|
));
|
|
2306
|
-
const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$l.
|
|
2299
|
+
const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$l.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
|
|
2307
2300
|
ActionButton,
|
|
2308
2301
|
{
|
|
2309
2302
|
icon: rightPrimaryActionIcon,
|
|
@@ -2423,7 +2416,8 @@ const Topic = ({
|
|
|
2423
2416
|
onPress,
|
|
2424
2417
|
title,
|
|
2425
2418
|
subTitle,
|
|
2426
|
-
containterStyle
|
|
2419
|
+
containterStyle,
|
|
2420
|
+
subTitleStyle
|
|
2427
2421
|
}) => {
|
|
2428
2422
|
const { theme } = useTheme();
|
|
2429
2423
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -2441,7 +2435,7 @@ const Topic = ({
|
|
|
2441
2435
|
/* @__PURE__ */ React.createElement(View, { style: styles$h.textContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$h.paymentView }, statusImage && /* @__PURE__ */ React.createElement(View, null, React.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React.createElement(
|
|
2442
2436
|
CustomText$1,
|
|
2443
2437
|
{
|
|
2444
|
-
style: styles$h.subTitle,
|
|
2438
|
+
style: [styles$h.subTitle, subTitleStyle],
|
|
2445
2439
|
text: subTitle,
|
|
2446
2440
|
variant: FontStyle.L2_REGULAR,
|
|
2447
2441
|
textColor: Theme.CONTENT_PRIMARY
|
|
@@ -2450,7 +2444,7 @@ const Topic = ({
|
|
|
2450
2444
|
CustomText$1,
|
|
2451
2445
|
{
|
|
2452
2446
|
text: title,
|
|
2453
|
-
variant: FontStyle.
|
|
2447
|
+
variant: FontStyle.L1_REGULAR,
|
|
2454
2448
|
textColor: Theme.CONTENT_PRIMARY
|
|
2455
2449
|
}
|
|
2456
2450
|
))
|