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 CHANGED
@@ -491,7 +491,7 @@ interface OurOfficesButtonProps$1 {
491
491
  subTitle?: string;
492
492
  containterStyle?: ViewStyle;
493
493
  time?: string;
494
- subTitleStyle: TextStyle;
494
+ subTitleStyle?: TextStyle;
495
495
  }
496
496
  declare const _default$9: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
497
497
 
package/lib/index.js CHANGED
@@ -2251,21 +2251,14 @@ const styles$l = reactNative.StyleSheet.create({
2251
2251
  swippableContainer: { paddingVertical: verticalScale(16) },
2252
2252
  actionButton: {
2253
2253
  justifyContent: "center",
2254
- alignItems: "center"
2254
+ alignItems: "center",
2255
+ paddingHorizontal: horizontalScale(24)
2255
2256
  },
2256
2257
  titleStyle: {
2257
2258
  color: "#fff"
2258
2259
  },
2259
- leftActions: {
2260
- flexDirection: "row",
2261
- justifyContent: "center",
2262
- alignItems: "center",
2263
- width: horizontalScale(150),
2264
- gap: horizontalScale(24)
2265
- },
2266
- rightActions: {
2267
- flexDirection: "row",
2268
- paddingHorizontal: horizontalScale(24)
2260
+ actionBtn: {
2261
+ flexDirection: "row"
2269
2262
  },
2270
2263
  seprator: {
2271
2264
  height: verticalScale(16)
@@ -2317,7 +2310,7 @@ const SwipableList = (props) => {
2317
2310
  }
2318
2311
  )
2319
2312
  );
2320
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2313
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$l.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2321
2314
  ActionButton,
2322
2315
  {
2323
2316
  icon: leftPrimaryActionIcon,
@@ -2336,7 +2329,7 @@ const SwipableList = (props) => {
2336
2329
  testID: `${testId}-LEFT-SECONDARY-${item.id}`
2337
2330
  }
2338
2331
  ));
2339
- const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2332
+ const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2340
2333
  ActionButton,
2341
2334
  {
2342
2335
  icon: rightPrimaryActionIcon,
@@ -2484,7 +2477,7 @@ const Topic = ({
2484
2477
  CustomText$1,
2485
2478
  {
2486
2479
  text: title,
2487
- variant: FontStyle.B3_REGULAR,
2480
+ variant: FontStyle.L1_REGULAR,
2488
2481
  textColor: Theme.CONTENT_PRIMARY
2489
2482
  }
2490
2483
  ))