dhre-ui-kit 2.0.12 → 2.0.13

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.mjs CHANGED
@@ -15,7 +15,6 @@ import { TextInput as TextInput$1, MD3LightTheme } from 'react-native-paper';
15
15
  import { Dropdown } from 'react-native-element-dropdown';
16
16
  import DocumentPicker from 'react-native-document-picker';
17
17
  import RNFS from 'react-native-fs';
18
- import Svg, { Line as Line$1 } from 'react-native-svg';
19
18
 
20
19
  var ShapeType = /* @__PURE__ */ ((ShapeType2) => {
21
20
  ShapeType2["LINE"] = "line";
@@ -8947,24 +8946,9 @@ const Stepper = ({
8947
8946
  return { borderColor: theme.CONTENT_SECONDRY };
8948
8947
  }
8949
8948
  };
8950
- const Divider = ({ status }) => {
8951
- const style = renderDividerStyle(status);
8952
- const dashed = status !== Status.Completed;
8953
- return /* @__PURE__ */ React.createElement(Svg, { height: 1, width: "100%" }, /* @__PURE__ */ React.createElement(
8954
- Line$1,
8955
- {
8956
- x1: "0",
8957
- y1: "0",
8958
- x2: "90%",
8959
- y2: "0",
8960
- stroke: style.borderColor,
8961
- strokeWidth: 1,
8962
- strokeDasharray: dashed ? "4,4" : void 0
8963
- }
8964
- ));
8965
- };
8966
8949
  return /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
8967
8950
  const stepCircleStyle = renderCircleStyle(item?.status);
8951
+ const dividerStyle = renderDividerStyle(item?.status);
8968
8952
  const labelStyle = renderLableStyle(item?.status);
8969
8953
  const lastViewStyle = index === data?.length - 1 ? styles$4.lastStepWrapper : null;
8970
8954
  return /* @__PURE__ */ React.createElement(
@@ -8982,7 +8966,7 @@ const Stepper = ({
8982
8966
  color: theme.CONTENT_PRIMARY
8983
8967
  }
8984
8968
  }
8985
- ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: styles$4.newDividerStyle }, /* @__PURE__ */ React.createElement(Divider, { status: item.status }))),
8969
+ ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.separator, ...dividerStyle } })),
8986
8970
  /* @__PURE__ */ React.createElement(View, { style: styles$4.lableContainer }, /* @__PURE__ */ React.createElement(
8987
8971
  CustomTypography,
8988
8972
  {