react-magma-dom 5.0.1-rc.2 → 5.1.0-rc.3
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/Checkbox/index.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/esm/index.js +21 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +36 -0
- package/dist/react-magma-dom.cjs.development.js +21 -18
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -68,6 +68,10 @@ export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElemen
|
|
|
68
68
|
* @internal
|
|
69
69
|
*/
|
|
70
70
|
hideFocus?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Text for aria-label attribute for the checkbox.
|
|
73
|
+
*/
|
|
74
|
+
ariaLabel?: string;
|
|
71
75
|
}
|
|
72
76
|
export declare const HiddenLabelText: import("@emotion/styled").StyledComponent<{
|
|
73
77
|
theme?: import("@emotion/react").Theme;
|
|
@@ -102,5 +102,9 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
102
102
|
* @internal
|
|
103
103
|
*/
|
|
104
104
|
hasDrawerAnimation?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Number to indicate which level heading will render (e.g. h1, h2 etc.)
|
|
107
|
+
*/
|
|
108
|
+
headerLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
105
109
|
}
|
|
106
110
|
export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|