@design-system-rte/react 2.4.0 → 2.4.1
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/README.md +1 -1
- package/dist/components/pickers/baseInputPicker/BaseInputPicker.d.ts +3 -1
- package/dist/components/stepper/stepperItem/StepperItem.d.ts +1 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +4362 -4319
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ npm install @design-system-rte/react
|
|
|
45
45
|
|
|
46
46
|
4. **Use Components:**
|
|
47
47
|
|
|
48
|
-
Implement the different components as documented
|
|
48
|
+
Implement the different components as documented on [Zeroheight](https://zeroheight.com/687a5ae28/p/59e89d-------button/b/941d67).
|
|
49
49
|
|
|
50
50
|
### Routing / SPA navigation
|
|
51
51
|
|
|
@@ -5,6 +5,7 @@ export interface BaseInputPickerProps extends BaseInputProps<string> {
|
|
|
5
5
|
isFocused?: boolean;
|
|
6
6
|
pickerInputRef?: React.RefObject<HTMLInputElement> | ((element: HTMLInputElement) => void);
|
|
7
7
|
pickerRef?: React.RefObject<HTMLDivElement>;
|
|
8
|
+
openButtonRef?: React.RefObject<HTMLButtonElement>;
|
|
8
9
|
onFocus?: () => void;
|
|
9
10
|
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
10
11
|
onMouseUp?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
@@ -15,6 +16,7 @@ export interface BaseInputPickerProps extends BaseInputProps<string> {
|
|
|
15
16
|
ariaDescribedBy?: string;
|
|
16
17
|
openButtonAriaLabel?: string;
|
|
17
18
|
fixedWidth?: boolean;
|
|
19
|
+
required?: boolean;
|
|
18
20
|
}
|
|
19
|
-
declare const BaseInputPicker: ({ id, value, readOnly, icon, onChange, onFocus, onKeyDown, onMouseUp, onMouseDown, onOpenPicker, onBlur, isFocused, pickerInputRef, pickerRef, ariaLabelledBy, ariaDescribedBy, isError, disabled, openButtonAriaLabel, fixedWidth, }: BaseInputPickerProps) => import("react").JSX.Element;
|
|
21
|
+
declare const BaseInputPicker: ({ id, value, readOnly, icon, onChange, onFocus, onKeyDown, onMouseUp, onMouseDown, onOpenPicker, onBlur, isFocused, pickerInputRef, pickerRef, openButtonRef, ariaLabelledBy, ariaDescribedBy, isError, disabled, openButtonAriaLabel, fixedWidth, required, }: BaseInputPickerProps) => import("react").JSX.Element;
|
|
20
22
|
export default BaseInputPicker;
|
|
@@ -2,5 +2,5 @@ import { StepperItemProps as coreStepperItemProps } from '../../../../../core/co
|
|
|
2
2
|
export interface StepperItemProps extends coreStepperItemProps, Omit<React.HTMLAttributes<HTMLLIElement>, "onClick" | "id"> {
|
|
3
3
|
onClick?: () => void;
|
|
4
4
|
}
|
|
5
|
-
declare const StepperItem: ({ number, name, completionState, orientation, onClick, clickableCompleteStep, isActive, ...props }: StepperItemProps) => import("react").JSX.Element;
|
|
5
|
+
declare const StepperItem: ({ number, name, completionState, orientation, onClick, clickableCompleteStep, isActive, children, ...props }: StepperItemProps) => import("react").JSX.Element;
|
|
6
6
|
export default StepperItem;
|