@majoo-ui/react 1.49.3 → 1.50.0
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/components/form/components/InputCounter/InputCounter.d.ts +34 -0
- package/components/form/components/InputCounter/index.d.ts +2 -0
- package/components/form/components/index.d.ts +1 -0
- package/components/stepWizard/index.d.ts +2 -0
- package/index.esm.js +407 -237
- package/index.umd.js +408 -235
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSS } from '../../../../config/stitches.config';
|
|
3
|
+
interface CounterProps {
|
|
4
|
+
/**
|
|
5
|
+
* Counter value.
|
|
6
|
+
*/
|
|
7
|
+
value?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Change event handler.
|
|
10
|
+
*/
|
|
11
|
+
onChange?: (e: number) => void;
|
|
12
|
+
/**
|
|
13
|
+
* minimum value of a counter.
|
|
14
|
+
*/
|
|
15
|
+
min?: number;
|
|
16
|
+
/**
|
|
17
|
+
* maximum value of a counter.
|
|
18
|
+
*/
|
|
19
|
+
max?: number;
|
|
20
|
+
/**
|
|
21
|
+
* allow counter to return negative value.
|
|
22
|
+
*/
|
|
23
|
+
allowNegative?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* disabled state of a counter.
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Additional css style.
|
|
30
|
+
*/
|
|
31
|
+
css?: CSS;
|
|
32
|
+
}
|
|
33
|
+
declare const InputCounter: React.ForwardRefExoticComponent<CounterProps & React.RefAttributes<unknown>>;
|
|
34
|
+
export default InputCounter;
|
|
@@ -27,6 +27,8 @@ interface IStepWizardProps {
|
|
|
27
27
|
setSw: () => void;
|
|
28
28
|
scrollTop?: boolean;
|
|
29
29
|
forbidClickNav: boolean;
|
|
30
|
+
hide?: boolean;
|
|
31
|
+
onChangeVisibility?: (isHide: boolean) => void;
|
|
30
32
|
}
|
|
31
33
|
declare const StepWizard: (props: IStepWizardProps) => JSX.Element;
|
|
32
34
|
export default StepWizard;
|