1mpacto-react-ui 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/dist/assets/style.css +1 -1
- package/dist/index.cjs +65 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3922 -3906
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/Step/Step.d.ts +1 -1
- package/dist/src/interfaces/components/Step/index.d.ts +16 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import { IStep } from '../../interfaces/components/Step';
|
2
2
|
|
3
|
-
declare const Step: ({ activeStep, stepList, widthLine, classNameContainer, classNameContent, classNameDesc, onChange, }: IStep) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Step: ({ activeStep, stepList, widthLine, classNameContainer, classNameContent, classNameDesc, onChange, afterActiveType, beforeActiveType, colorActive, colorInactive, }: IStep) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Step;
|
@@ -1,6 +1,9 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
|
1
3
|
export interface IDataStepList {
|
2
4
|
step: number;
|
3
|
-
value?: string | number;
|
5
|
+
value?: string | number | React.ReactNode | React.ReactNode[];
|
6
|
+
valueDone?: string | number | React.ReactNode | React.ReactNode[];
|
4
7
|
desc?: string;
|
5
8
|
className?: string;
|
6
9
|
[key: string]: unknown;
|
@@ -13,6 +16,18 @@ export interface IStep {
|
|
13
16
|
classNameContent?: string;
|
14
17
|
classNameDesc?: string;
|
15
18
|
onChange?: (e: IDataStepList) => void;
|
19
|
+
beforeActiveType?: 'solid' | 'dashed';
|
20
|
+
afterActiveType?: 'solid' | 'dashed';
|
21
|
+
colorActive?: string;
|
22
|
+
colorInactive?: string;
|
23
|
+
}
|
24
|
+
export interface IStepLineDashed {
|
25
|
+
widthLine: number;
|
26
|
+
color: string;
|
27
|
+
}
|
28
|
+
export interface IStepLineSolid {
|
29
|
+
widthLine: number;
|
30
|
+
color: string;
|
16
31
|
}
|
17
32
|
export interface IStepIndicator {
|
18
33
|
activeStep: number;
|
package/package.json
CHANGED