@livechat/design-system-react-components 2.17.0 → 2.18.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/dist/components/FormField/FormField.d.ts +4 -0
- package/dist/components/Stepper/Stepper.d.ts +3 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/types.d.ts +19 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1486 -1426
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -12,6 +12,10 @@ export interface FormFieldProps {
|
|
|
12
12
|
* Define to associate the label with the field
|
|
13
13
|
*/
|
|
14
14
|
labelFor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Makes the label text bold. Note: This prop should only be used together with PromoInput.
|
|
17
|
+
*/
|
|
18
|
+
boldLabel?: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* The CSS class for field container
|
|
17
21
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Current active step (1-based)
|
|
5
|
+
*/
|
|
6
|
+
activeStep: number;
|
|
7
|
+
/**
|
|
8
|
+
* Total number of steps
|
|
9
|
+
*/
|
|
10
|
+
steps: number;
|
|
11
|
+
/**
|
|
12
|
+
* Custom class name
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional test id for testing
|
|
17
|
+
*/
|
|
18
|
+
'data-testid'?: string;
|
|
19
|
+
}
|