@momo-kits/step 0.77.8-beta.1 → 0.77.8

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/StepsVertical.tsx CHANGED
@@ -16,7 +16,7 @@ const StepsVertical: FC<StepsProps> = ({steps, activeIndex, size}) => {
16
16
 
17
17
  const {backgroundColor, borderColor} = stepStyle;
18
18
  const lineColor =
19
- activeIndex > ii
19
+ activeIndex >= ii
20
20
  ? theme.colors.secondary
21
21
  : theme.colors.background.default;
22
22
  return (
package/index.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, {FC} from 'react';
2
2
  import {View} from 'react-native';
3
- import {StepsProps, Step} from './types';
3
+ import {StepsProps} from './types';
4
4
  import StepsHorizontal from './StepsHorizontal';
5
5
  import StepsVertical from './StepsVertical';
6
6
 
@@ -17,4 +17,3 @@ const Steps: FC<StepsProps> = ({horizontal = false, ...props}) => {
17
17
  };
18
18
 
19
19
  export default Steps;
20
- export type {StepsProps, Step};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/step",
3
- "version": "0.77.8-beta.01",
3
+ "version": "0.77.8",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "dependencies": {},