dhre-ui-kit 0.0.132 → 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 +1 -1
- package/lib/index.js +7 -14
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -14
- 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,
|
|
@@ -2451,7 +2444,7 @@ const Topic = ({
|
|
|
2451
2444
|
CustomText$1,
|
|
2452
2445
|
{
|
|
2453
2446
|
text: title,
|
|
2454
|
-
variant: FontStyle.
|
|
2447
|
+
variant: FontStyle.L1_REGULAR,
|
|
2455
2448
|
textColor: Theme.CONTENT_PRIMARY
|
|
2456
2449
|
}
|
|
2457
2450
|
))
|