@okta/odyssey-react-mui 1.9.10 → 1.9.12
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/CHANGELOG.md +8 -0
- package/dist/@types/react-augment.d.js.map +1 -1
- package/dist/Accordion.js +3 -1
- package/dist/Accordion.js.map +1 -1
- package/dist/AllowedProps.js +2 -0
- package/dist/AllowedProps.js.map +1 -0
- package/dist/Autocomplete.js +4 -2
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Badge.js +4 -0
- package/dist/Badge.js.map +1 -1
- package/dist/Banner.js +5 -1
- package/dist/Banner.js.map +1 -1
- package/dist/Box.js +4 -2
- package/dist/Box.js.map +1 -1
- package/dist/Breadcrumbs.js +5 -1
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/Button.js +15 -2
- package/dist/Button.js.map +1 -1
- package/dist/Callout.js +4 -1
- package/dist/Callout.js.map +1 -1
- package/dist/Checkbox.js +17 -3
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +4 -2
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +2 -0
- package/dist/Dialog.js.map +1 -1
- package/dist/FieldError.js +4 -1
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +3 -1
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +4 -1
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +4 -1
- package/dist/Fieldset.js.map +1 -1
- package/dist/Form.js +4 -1
- package/dist/Form.js.map +1 -1
- package/dist/Link.js +14 -1
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +3 -1
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js.map +1 -1
- package/dist/NativeSelect.js +4 -2
- package/dist/NativeSelect.js.map +1 -1
- package/dist/PasswordField.js +15 -2
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +14 -1
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +3 -1
- package/dist/RadioGroup.js.map +1 -1
- package/dist/ScreenReaderText.js +3 -1
- package/dist/ScreenReaderText.js.map +1 -1
- package/dist/SearchField.js +3 -1
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +16 -3
- package/dist/Select.js.map +1 -1
- package/dist/Status.js +2 -0
- package/dist/Status.js.map +1 -1
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +5 -3
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js.map +1 -1
- package/dist/TextField.js +18 -3
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +4 -1
- package/dist/Toast.js.map +1 -1
- package/dist/Tooltip.js +3 -1
- package/dist/Tooltip.js.map +1 -1
- package/dist/Typography.js +45 -11
- package/dist/Typography.js.map +1 -1
- package/dist/labs/Switch.js.map +1 -1
- package/dist/labs/VirtualizedAutocomplete.js +4 -2
- package/dist/labs/VirtualizedAutocomplete.js.map +1 -1
- package/dist/src/Accordion.d.ts +3 -3
- package/dist/src/Accordion.d.ts.map +1 -1
- package/dist/src/{SeleniumProps.d.ts → AllowedProps.d.ts} +6 -2
- package/dist/src/AllowedProps.d.ts.map +1 -0
- package/dist/src/Autocomplete.d.ts +3 -3
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Badge.d.ts +3 -3
- package/dist/src/Badge.d.ts.map +1 -1
- package/dist/src/Banner.d.ts +3 -3
- package/dist/src/Banner.d.ts.map +1 -1
- package/dist/src/Box.d.ts +3 -3
- package/dist/src/Box.d.ts.map +1 -1
- package/dist/src/Breadcrumbs.d.ts +3 -2
- package/dist/src/Breadcrumbs.d.ts.map +1 -1
- package/dist/src/Button.d.ts +8 -3
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/Callout.d.ts +3 -3
- package/dist/src/Callout.d.ts.map +1 -1
- package/dist/src/Checkbox.d.ts +8 -3
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +3 -3
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/CircularProgress.d.ts +2 -2
- package/dist/src/CircularProgress.d.ts.map +1 -1
- package/dist/src/Dialog.d.ts +3 -3
- package/dist/src/Dialog.d.ts.map +1 -1
- package/dist/src/FieldError.d.ts +3 -3
- package/dist/src/FieldError.d.ts.map +1 -1
- package/dist/src/FieldHint.d.ts +3 -3
- package/dist/src/FieldHint.d.ts.map +1 -1
- package/dist/src/FieldLabel.d.ts +3 -3
- package/dist/src/FieldLabel.d.ts.map +1 -1
- package/dist/src/Fieldset.d.ts +3 -3
- package/dist/src/Fieldset.d.ts.map +1 -1
- package/dist/src/Form.d.ts +3 -3
- package/dist/src/Form.d.ts.map +1 -1
- package/dist/src/Link.d.ts +8 -3
- package/dist/src/Link.d.ts.map +1 -1
- package/dist/src/MenuButton.d.ts +3 -3
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuItem.d.ts +2 -2
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/NativeSelect.d.ts +2 -2
- package/dist/src/NativeSelect.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +12 -3
- package/dist/src/PasswordField.d.ts.map +1 -1
- package/dist/src/Radio.d.ts +8 -3
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +3 -3
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/ScreenReaderText.d.ts +3 -2
- package/dist/src/ScreenReaderText.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +3 -3
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +8 -3
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/Status.d.ts +3 -3
- package/dist/src/Status.d.ts.map +1 -1
- package/dist/src/Tabs.d.ts +2 -2
- package/dist/src/Tabs.d.ts.map +1 -1
- package/dist/src/Tag.d.ts +3 -3
- package/dist/src/Tag.d.ts.map +1 -1
- package/dist/src/TagList.d.ts +2 -2
- package/dist/src/TagList.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +12 -3
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/Toast.d.ts +3 -3
- package/dist/src/Toast.d.ts.map +1 -1
- package/dist/src/Tooltip.d.ts +3 -3
- package/dist/src/Tooltip.d.ts.map +1 -1
- package/dist/src/Typography.d.ts +18 -13
- package/dist/src/Typography.d.ts.map +1 -1
- package/dist/src/labs/Switch.d.ts +2 -2
- package/dist/src/labs/Switch.d.ts.map +1 -1
- package/dist/src/labs/VirtualizedAutocomplete.d.ts +3 -3
- package/dist/src/labs/VirtualizedAutocomplete.d.ts.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/@types/react-augment.d.ts +4 -0
- package/src/Accordion.tsx +6 -3
- package/src/{SeleniumProps.ts → AllowedProps.ts} +5 -1
- package/src/Autocomplete.tsx +4 -2
- package/src/Badge.tsx +9 -3
- package/src/Banner.tsx +8 -5
- package/src/Box.tsx +4 -3
- package/src/Breadcrumbs.tsx +6 -1
- package/src/Button.tsx +33 -3
- package/src/Callout.tsx +14 -5
- package/src/Checkbox.tsx +28 -5
- package/src/CheckboxGroup.tsx +5 -3
- package/src/CircularProgress.tsx +2 -2
- package/src/Dialog.tsx +4 -3
- package/src/FieldError.tsx +5 -5
- package/src/FieldHint.tsx +10 -4
- package/src/FieldLabel.tsx +11 -5
- package/src/Fieldset.tsx +5 -4
- package/src/Form.tsx +9 -4
- package/src/Link.tsx +46 -21
- package/src/MenuButton.tsx +4 -2
- package/src/MenuItem.tsx +2 -2
- package/src/NativeSelect.tsx +5 -2
- package/src/PasswordField.tsx +27 -2
- package/src/Radio.tsx +26 -4
- package/src/RadioGroup.tsx +5 -3
- package/src/ScreenReaderText.tsx +4 -3
- package/src/SearchField.tsx +5 -2
- package/src/Select.tsx +35 -3
- package/src/Status.tsx +4 -2
- package/src/Tabs.tsx +2 -2
- package/src/Tag.tsx +14 -3
- package/src/TagList.tsx +2 -2
- package/src/TextField.tsx +33 -4
- package/src/Toast.tsx +5 -4
- package/src/Tooltip.tsx +4 -2
- package/src/Typography.tsx +54 -3
- package/src/labs/Switch.tsx +2 -2
- package/src/labs/VirtualizedAutocomplete.tsx +4 -2
- package/dist/SeleniumProps.js +0 -2
- package/dist/SeleniumProps.js.map +0 -1
- package/dist/src/SeleniumProps.d.ts.map +0 -1
package/dist/src/FieldLabel.d.ts
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
/// <reference types="react" />
|
|
13
|
-
import type {
|
|
13
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
14
14
|
export type FieldLabelProps = {
|
|
15
15
|
hasVisibleLabel: boolean;
|
|
16
16
|
id: string;
|
|
17
17
|
inputId: string;
|
|
18
18
|
isOptional: boolean;
|
|
19
19
|
text: string;
|
|
20
|
-
} &
|
|
21
|
-
declare const MemoizedFieldLabel: import("react").MemoExoticComponent<({ hasVisibleLabel, id, inputId, isOptional, testId, text, }: FieldLabelProps) => JSX.Element>;
|
|
20
|
+
} & AllowedProps;
|
|
21
|
+
declare const MemoizedFieldLabel: import("react").MemoExoticComponent<({ hasVisibleLabel, id, inputId, isOptional, testId, translate, text, }: FieldLabelProps) => JSX.Element>;
|
|
22
22
|
export { MemoizedFieldLabel as FieldLabel };
|
|
23
23
|
//# sourceMappingURL=FieldLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../src/FieldLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../src/FieldLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,YAAY,CAAC;AAqCjB,QAAA,MAAM,kBAAkB,+GA3BrB,eAAe,iBA2ByB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
package/dist/src/Fieldset.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
13
|
import { Callout } from "./Callout";
|
|
14
|
-
import type {
|
|
14
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type FieldsetProps = {
|
|
16
16
|
/**
|
|
17
17
|
* A Callout indicating a Fieldset-wide error or status update.
|
|
@@ -41,7 +41,7 @@ export type FieldsetProps = {
|
|
|
41
41
|
* The name associated with the group.
|
|
42
42
|
*/
|
|
43
43
|
name?: string;
|
|
44
|
-
} &
|
|
45
|
-
declare const MemoizedFieldset: import("react").MemoExoticComponent<({ alert, children, description, id: idOverride, isDisabled, legend, name, testId, }: FieldsetProps) => JSX.Element>;
|
|
44
|
+
} & AllowedProps;
|
|
45
|
+
declare const MemoizedFieldset: import("react").MemoExoticComponent<({ alert, children, description, id: idOverride, isDisabled, legend, name, testId, translate, }: FieldsetProps) => JSX.Element>;
|
|
46
46
|
export { MemoizedFieldset as Fieldset };
|
|
47
47
|
//# sourceMappingURL=Fieldset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../src/Fieldset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../src/Fieldset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,YAAY,CAAC;AAuDjB,QAAA,MAAM,gBAAgB,uIA3CnB,aAAa,iBA2CuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
|
package/dist/src/Form.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
13
|
import { Button } from "./Button";
|
|
14
14
|
import { Callout } from "./Callout";
|
|
15
|
-
import type {
|
|
15
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
16
16
|
export declare const formEncodingTypeValues: readonly ["application/x-www-form-urlencoded", "application/json", "multipart/form-data", "text/plain"];
|
|
17
17
|
export declare const formAutoCompleteTypeValues: readonly ["on", "off"];
|
|
18
18
|
export declare const formMethodValues: readonly ["post", "get", "dialog"];
|
|
@@ -71,7 +71,7 @@ export type FormProps = {
|
|
|
71
71
|
* The title of the Form
|
|
72
72
|
*/
|
|
73
73
|
title?: string;
|
|
74
|
-
} &
|
|
75
|
-
declare const MemoizedForm: import("react").MemoExoticComponent<({ alert, autoCompleteType, children, description, encodingType, formActions, id: idOverride, method, name, noValidate, target, testId, title, }: FormProps) => JSX.Element>;
|
|
74
|
+
} & AllowedProps;
|
|
75
|
+
declare const MemoizedForm: import("react").MemoExoticComponent<({ alert, autoCompleteType, children, description, encodingType, formActions, id: idOverride, method, name, noValidate, target, testId, title, translate, }: FormProps) => JSX.Element>;
|
|
76
76
|
export { MemoizedForm as Form };
|
|
77
77
|
//# sourceMappingURL=Form.d.ts.map
|
package/dist/src/Form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,yGAKzB,CAAC;AACX,eAAO,MAAM,0BAA0B,wBAAyB,CAAC;AACjE,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AAEnE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;IACrC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EACR,YAAY,CAAC,OAAO,MAAM,CAAC,GAC3B,KAAK,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,YAAY,CAAC;AAqEjB,QAAA,MAAM,YAAY,mMApDf,SAAS,iBAoDmB,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/Link.d.ts
CHANGED
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
|
-
import type {
|
|
13
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
14
14
|
import { LinkProps as MuiLinkProps } from "@mui/material";
|
|
15
|
+
import { FocusHandle } from "./@types/react-augment";
|
|
15
16
|
export declare const linkVariantValues: readonly ["default", "monochrome"];
|
|
16
17
|
export type LinkProps = {
|
|
17
18
|
/**
|
|
@@ -26,6 +27,10 @@ export type LinkProps = {
|
|
|
26
27
|
* An optional Icon component at the start of the Link
|
|
27
28
|
*/
|
|
28
29
|
icon?: ReactElement;
|
|
30
|
+
/**
|
|
31
|
+
* The ref forwarded to the TextField to expose focus()
|
|
32
|
+
*/
|
|
33
|
+
linkFocusRef?: React.RefObject<FocusHandle>;
|
|
29
34
|
/**
|
|
30
35
|
* The click event handler for the Link
|
|
31
36
|
*/
|
|
@@ -42,7 +47,7 @@ export type LinkProps = {
|
|
|
42
47
|
* The visual presentation of the Link (default or monochrome)
|
|
43
48
|
*/
|
|
44
49
|
variant?: (typeof linkVariantValues)[number];
|
|
45
|
-
} &
|
|
46
|
-
declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, rel, target, testId, variant, onClick, }: LinkProps) => JSX.Element>;
|
|
50
|
+
} & AllowedProps;
|
|
51
|
+
declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, linkFocusRef, rel, target, testId, translate, variant, onClick, }: LinkProps) => JSX.Element>;
|
|
47
52
|
export { MemoizedLink as Link };
|
|
48
53
|
//# sourceMappingURL=Link.d.ts.map
|
package/dist/src/Link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAA+B,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,iBAAiB,oCAAqC,CAAC;AAEpE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC5C;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAClC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EACH,OAAO,GACP,QAAQ,GACR,SAAS,GACT,MAAM,GACN,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9C,GAAG,YAAY,CAAC;AAoDjB,QAAA,MAAM,YAAY,kIAvCf,SAAS,iBAuCmB,CAAC;AAIhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/MenuButton.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { buttonSizeValues, buttonVariantValues, MenuItem } from "./";
|
|
|
13
13
|
import { Divider, ListSubheader } from "@mui/material";
|
|
14
14
|
import { type ReactElement } from "react";
|
|
15
15
|
import { NullElement } from "./NullElement";
|
|
16
|
-
import type {
|
|
16
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
17
17
|
export declare const menuAlignmentValues: readonly ["left", "right"];
|
|
18
18
|
export type MenuButtonProps = {
|
|
19
19
|
/**
|
|
@@ -81,7 +81,7 @@ export type MenuButtonProps = {
|
|
|
81
81
|
ariaLabel?: string;
|
|
82
82
|
ariaLabelledBy: string;
|
|
83
83
|
buttonLabel?: undefined | "";
|
|
84
|
-
}) &
|
|
85
|
-
declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, shouldCloseOnSelect, endIcon: endIconProp, id: idOverride, isOverflow, menuAlignment, size, testId, tooltipText, }: MenuButtonProps) => JSX.Element>;
|
|
84
|
+
}) & AllowedProps;
|
|
85
|
+
declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, shouldCloseOnSelect, endIcon: endIconProp, id: idOverride, isOverflow, menuAlignment, size, testId, tooltipText, translate, }: MenuButtonProps) => JSX.Element>;
|
|
86
86
|
export { MemoizedMenuButton as MenuButton };
|
|
87
87
|
//# sourceMappingURL=MenuButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EAET,MAAM,IAAI,CAAC;AACZ,OAAO,EACL,OAAO,EACP,aAAa,EAGd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAQ,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EAET,MAAM,IAAI,CAAC;AACZ,OAAO,EACL,OAAO,EACP,aAAa,EAGd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAQ,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAC;AA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,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,SAAS,GAAG,EAAE,CAAC;CAC9B,GACD;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,GAAG,EAAE,CAAC;CAC9B,CACJ,GACC,YAAY,CAAC;AA8Gf,QAAA,MAAM,kBAAkB,0PA5FrB,eAAe,iBA4FyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
package/dist/src/MenuItem.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { MenuItemProps as MuiMenuItemProps } from "@mui/material";
|
|
13
13
|
import { type ReactNode } from "react";
|
|
14
|
-
import type {
|
|
14
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type MenuItemProps = {
|
|
16
16
|
/**
|
|
17
17
|
* The content of the menu item.
|
|
@@ -43,7 +43,7 @@ export type MenuItemProps = {
|
|
|
43
43
|
* - "destructive": A variant indicating a destructive action.
|
|
44
44
|
*/
|
|
45
45
|
variant?: "default" | "destructive";
|
|
46
|
-
} &
|
|
46
|
+
} & AllowedProps;
|
|
47
47
|
declare const MemoizedMenuItem: import("react").MemoExoticComponent<({ children, hasInitialFocus, isSelected, isDisabled, onClick: onClickProp, testId, value, variant, }: MenuItemProps) => JSX.Element>;
|
|
48
48
|
export { MemoizedMenuItem as MenuItem };
|
|
49
49
|
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC,GAAG,YAAY,CAAC;AA4CjB,QAAA,MAAM,gBAAgB,6IAjCnB,aAAa,iBAiCuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import React, { ReactElement } from "react";
|
|
13
13
|
import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
14
14
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
15
|
-
import type {
|
|
15
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
16
16
|
import { ForwardRefWithType } from "./@types/react-augment";
|
|
17
17
|
export type NativeSelectOption = {
|
|
18
18
|
text: string;
|
|
@@ -59,7 +59,7 @@ export type NativeSelectProps<Value extends NativeSelectValueType<HasMultipleCho
|
|
|
59
59
|
* The value or values selected in the NativeSelect. Use when component is controlled
|
|
60
60
|
*/
|
|
61
61
|
value?: Value;
|
|
62
|
-
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "isFullWidth" | "isOptional"> &
|
|
62
|
+
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "isFullWidth" | "isOptional"> & AllowedProps;
|
|
63
63
|
declare const MemoizedNativeSelect: React.MemoExoticComponent<ForwardRefWithType>;
|
|
64
64
|
export { MemoizedNativeSelect as NativeSelect };
|
|
65
65
|
//# sourceMappingURL=NativeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../src/NativeSelect.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EACZ,YAAY,EAMb,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,WAAW,IAAI,cAAc,EAC9B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../src/NativeSelect.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EACZ,YAAY,EAMb,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,WAAW,IAAI,cAAc,EAC9B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,I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
13
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
14
|
-
import type {
|
|
14
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
15
|
+
import { FocusHandle } from "./@types/react-augment";
|
|
15
16
|
export type PasswordFieldProps = {
|
|
16
17
|
/**
|
|
17
18
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -31,6 +32,10 @@ export type PasswordFieldProps = {
|
|
|
31
32
|
* If `true`, the show/hide icon is not shown to the user
|
|
32
33
|
*/
|
|
33
34
|
hasShowPassword?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The ref forwarded to the TextField to expose focus()
|
|
37
|
+
*/
|
|
38
|
+
inputFocusRef?: React.RefObject<FocusHandle>;
|
|
34
39
|
/**
|
|
35
40
|
* The label for the `input` element.
|
|
36
41
|
*/
|
|
@@ -55,7 +60,7 @@ export type PasswordFieldProps = {
|
|
|
55
60
|
* The value of the `input` element. Use when component is controlled.
|
|
56
61
|
*/
|
|
57
62
|
value?: string;
|
|
58
|
-
} & FieldComponentProps &
|
|
63
|
+
} & FieldComponentProps & AllowedProps;
|
|
59
64
|
declare const MemoizedPasswordField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
60
65
|
/**
|
|
61
66
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -75,6 +80,10 @@ declare const MemoizedPasswordField: import("react").MemoExoticComponent<import(
|
|
|
75
80
|
* If `true`, the show/hide icon is not shown to the user
|
|
76
81
|
*/
|
|
77
82
|
hasShowPassword?: boolean | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The ref forwarded to the TextField to expose focus()
|
|
85
|
+
*/
|
|
86
|
+
inputFocusRef?: import("react").RefObject<FocusHandle> | undefined;
|
|
78
87
|
/**
|
|
79
88
|
* The label for the `input` element.
|
|
80
89
|
*/
|
|
@@ -99,6 +108,6 @@ declare const MemoizedPasswordField: import("react").MemoExoticComponent<import(
|
|
|
99
108
|
* The value of the `input` element. Use when component is controlled.
|
|
100
109
|
*/
|
|
101
110
|
value?: string | undefined;
|
|
102
|
-
} & FieldComponentProps &
|
|
111
|
+
} & FieldComponentProps & AllowedProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
103
112
|
export { MemoizedPasswordField as PasswordField };
|
|
104
113
|
//# sourceMappingURL=PasswordField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAOlB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,cAAc,CAAC;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,mBAAmB,GACrB,YAAY,CAAC;AA4Jf,QAAA,MAAM,qBAAqB;IA3MzB;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;0FA+J4C,CAAC;AAGlD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
|
package/dist/src/Radio.d.ts
CHANGED
|
@@ -12,8 +12,13 @@
|
|
|
12
12
|
/// <reference types="react" />
|
|
13
13
|
import { FormControlLabelProps as MuiFormControlLabelProps, RadioProps as MuiRadioProps } from "@mui/material";
|
|
14
14
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
15
|
-
import type {
|
|
15
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
16
|
+
import { FocusHandle } from "./@types/react-augment";
|
|
16
17
|
export type RadioProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The ref forwarded to the Radio to expose focus()
|
|
20
|
+
*/
|
|
21
|
+
inputFocusRef?: React.RefObject<FocusHandle>;
|
|
17
22
|
/**
|
|
18
23
|
* If `true`, the Radio is selected
|
|
19
24
|
*/
|
|
@@ -38,7 +43,7 @@ export type RadioProps = {
|
|
|
38
43
|
* Callback fired when the blur event happens. Provides event value.
|
|
39
44
|
*/
|
|
40
45
|
onBlur?: MuiFormControlLabelProps["onBlur"];
|
|
41
|
-
} & Pick<FieldComponentProps, "isDisabled" | "name"> &
|
|
42
|
-
declare const MemoizedRadio: import("react").MemoExoticComponent<({ isChecked, isDisabled, isInvalid, label, name, testId, value, onChange: onChangeProp, onBlur: onBlurProp, }: RadioProps) => JSX.Element>;
|
|
46
|
+
} & Pick<FieldComponentProps, "isDisabled" | "name"> & AllowedProps;
|
|
47
|
+
declare const MemoizedRadio: import("react").MemoExoticComponent<({ inputFocusRef, isChecked, isDisabled, isInvalid, label, name, testId, translate, value, onChange: onChangeProp, onBlur: onBlurProp, }: RadioProps) => JSX.Element>;
|
|
43
48
|
export { MemoizedRadio as Radio };
|
|
44
49
|
//# sourceMappingURL=Radio.d.ts.map
|
package/dist/src/Radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAEH,OAAO,EAEL,qBAAqB,IAAI,wBAAwB,EAEjD,UAAU,IAAI,aAAa,EAC5B,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAEH,OAAO,EAEL,qBAAqB,IAAI,wBAAwB,EAEjD,UAAU,IAAI,aAAa,EAC5B,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,wBAAwB,CAAC,QAAQ,CAAC,CAAC;CAC7C,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,CAAC,GAClD,YAAY,CAAC;AA2Df,QAAA,MAAM,aAAa,gLA7ChB,UAAU,iBA6CoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|
package/dist/src/RadioGroup.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { type RadioGroupProps as MuiRadioGroupProps } from "@mui/material";
|
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
14
|
import { Radio, RadioProps } from "./Radio";
|
|
15
15
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
16
|
-
import type {
|
|
16
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
17
17
|
export type RadioGroupProps = {
|
|
18
18
|
/**
|
|
19
19
|
* The Radio components within the group. Must include two or more.
|
|
@@ -35,7 +35,7 @@ export type RadioGroupProps = {
|
|
|
35
35
|
* The `value` on the selected Radio
|
|
36
36
|
*/
|
|
37
37
|
value?: RadioProps["value"];
|
|
38
|
-
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "name"> &
|
|
39
|
-
declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, HintLinkComponent, id: idOverride, isDisabled, label, name: nameOverride, onChange: onChangeProp, testId, value, }: RadioGroupProps) => JSX.Element>;
|
|
38
|
+
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "name"> & AllowedProps;
|
|
39
|
+
declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, HintLinkComponent, id: idOverride, isDisabled, label, name: nameOverride, onChange: onChangeProp, testId, translate, value, }: RadioGroupProps) => JSX.Element>;
|
|
40
40
|
export { MemoizedRadioGroup as RadioGroup };
|
|
41
41
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,KAAK,eAAe,IAAI,kBAAkB,EAC3C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAQ,YAAY,EAAuB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,KAAK,eAAe,IAAI,kBAAkB,EAC3C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAQ,YAAY,EAAuB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B,GAAG,IAAI,CACN,mBAAmB,EACnB,cAAc,GAAG,MAAM,GAAG,mBAAmB,GAAG,IAAI,GAAG,YAAY,GAAG,MAAM,CAC7E,GACC,YAAY,CAAC;AAkEf,QAAA,MAAM,kBAAkB,oNAlDrB,eAAe,iBAkDyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { ReactNode } from "react";
|
|
13
|
+
import { AllowedProps } from "./AllowedProps";
|
|
13
14
|
export type ScreenReaderTextProps = {
|
|
14
15
|
/**
|
|
15
16
|
* The visually-hidden text.
|
|
16
17
|
*/
|
|
17
18
|
children: ReactNode;
|
|
18
|
-
};
|
|
19
|
-
declare const MemoizedScreenReaderText: import("react").MemoExoticComponent<({ children }: ScreenReaderTextProps) => JSX.Element>;
|
|
19
|
+
} & AllowedProps;
|
|
20
|
+
declare const MemoizedScreenReaderText: import("react").MemoExoticComponent<({ children, translate }: ScreenReaderTextProps) => JSX.Element>;
|
|
20
21
|
export { MemoizedScreenReaderText as ScreenReaderText };
|
|
21
22
|
//# sourceMappingURL=ScreenReaderText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenReaderText.d.ts","sourceRoot":"","sources":["../../src/ScreenReaderText.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScreenReaderText.d.ts","sourceRoot":"","sources":["../../src/ScreenReaderText.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,YAAY,CAAC;AAejB,QAAA,MAAM,wBAAwB,gEANqB,qBAAqB,iBAMjB,CAAC;AAGxD,OAAO,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes } from "react";
|
|
13
13
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
14
|
-
import type {
|
|
14
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type SearchFieldProps = {
|
|
16
16
|
/**
|
|
17
17
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -63,7 +63,7 @@ export type SearchFieldProps = {
|
|
|
63
63
|
* The value of the `input` element, to use when controlled.
|
|
64
64
|
*/
|
|
65
65
|
value?: string;
|
|
66
|
-
} & Pick<FieldComponentProps, "id" | "isDisabled" | "name" | "isFullWidth"> &
|
|
66
|
+
} & Pick<FieldComponentProps, "id" | "isDisabled" | "name" | "isFullWidth"> & AllowedProps;
|
|
67
67
|
declare const MemoizedSearchField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
68
68
|
/**
|
|
69
69
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -115,6 +115,6 @@ declare const MemoizedSearchField: import("react").MemoExoticComponent<import("r
|
|
|
115
115
|
* The value of the `input` element, to use when controlled.
|
|
116
116
|
*/
|
|
117
117
|
value?: string | undefined;
|
|
118
|
-
} & Pick<FieldComponentProps, "id" | "name" | "isDisabled" | "isFullWidth"> &
|
|
118
|
+
} & Pick<FieldComponentProps, "id" | "name" | "isDisabled" | "isFullWidth"> & AllowedProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
119
119
|
export { MemoizedSearchField as SearchField };
|
|
120
120
|
//# sourceMappingURL=SearchField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAIpB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAIpB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACnE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,YAAY,GAAG,MAAM,GAAG,aAAa,CAAC,GACzE,YAAY,CAAC;AAwHf,QAAA,MAAM,mBAAmB;IA3KvB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;qBACa,IAAI;IACpB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;8IA2HwC,CAAC;AAG9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
|
package/dist/src/Select.d.ts
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
/// <reference types="react" />
|
|
13
13
|
import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
14
14
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
15
|
-
import type {
|
|
15
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
16
|
+
import { FocusHandle } from "./@types/react-augment";
|
|
16
17
|
export type SelectOption = {
|
|
17
18
|
text: string;
|
|
18
19
|
type?: "heading" | "option";
|
|
@@ -28,6 +29,10 @@ export type SelectProps<Value extends SelectValueType<HasMultipleChoices>, HasMu
|
|
|
28
29
|
* If `true`, the Select allows multiple selections
|
|
29
30
|
*/
|
|
30
31
|
hasMultipleChoices?: HasMultipleChoices;
|
|
32
|
+
/**
|
|
33
|
+
* The ref forwarded to the Select to expose focus()
|
|
34
|
+
*/
|
|
35
|
+
inputFocusRef?: React.RefObject<FocusHandle>;
|
|
31
36
|
/**
|
|
32
37
|
* @deprecated Use `hasMultipleChoices` instead.
|
|
33
38
|
*/
|
|
@@ -57,7 +62,7 @@ export type SelectProps<Value extends SelectValueType<HasMultipleChoices>, HasMu
|
|
|
57
62
|
* The value or values selected in the Select
|
|
58
63
|
*/
|
|
59
64
|
value?: Value;
|
|
60
|
-
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "isFullWidth" | "isOptional" | "name"> &
|
|
61
|
-
declare const MemoizedSelect: import("react").MemoExoticComponent<(<Value extends SelectValueType<HasMultipleChoices>, HasMultipleChoices extends boolean>({ defaultValue, errorMessage, hasMultipleChoices: hasMultipleChoicesProp, hint, HintLinkComponent, id: idOverride, isDisabled, isFullWidth, isMultiSelect, isOptional, label, name: nameOverride, onBlur, onChange: onChangeProp, onFocus, options, testId, value, }: SelectProps<Value, HasMultipleChoices>) => JSX.Element)>;
|
|
65
|
+
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "isFullWidth" | "isOptional" | "name"> & AllowedProps;
|
|
66
|
+
declare const MemoizedSelect: import("react").MemoExoticComponent<(<Value extends SelectValueType<HasMultipleChoices>, HasMultipleChoices extends boolean>({ defaultValue, errorMessage, hasMultipleChoices: hasMultipleChoicesProp, hint, HintLinkComponent, id: idOverride, inputFocusRef, isDisabled, isFullWidth, isMultiSelect, isOptional, label, name: nameOverride, onBlur, onChange: onChangeProp, onFocus, options, testId, translate, value, }: SelectProps<Value, HasMultipleChoices>) => JSX.Element)>;
|
|
62
67
|
export { MemoizedSelect as Select };
|
|
63
68
|
//# sourceMappingURL=Select.d.ts.map
|
package/dist/src/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;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AY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,IAAI,CACN,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,IAAI,GACJ,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,MAAM,CACT,GACC,YAAY,CAAC;AAkOf,QAAA,MAAM,cAAc,udAAe,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
package/dist/src/Status.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AllowedProps } from "./AllowedProps";
|
|
13
13
|
export declare const statusSeverityValues: readonly ["default", "error", "success", "warning"];
|
|
14
14
|
export declare const statusVariantValues: readonly ["lamp", "pill"];
|
|
15
15
|
export type StatusProps = {
|
|
@@ -25,6 +25,6 @@ export type StatusProps = {
|
|
|
25
25
|
* The style of the Status indicator
|
|
26
26
|
*/
|
|
27
27
|
variant?: (typeof statusVariantValues)[number];
|
|
28
|
-
} &
|
|
29
|
-
export declare const Status: ({ label, severity, testId, variant, }: StatusProps) => JSX.Element;
|
|
28
|
+
} & AllowedProps;
|
|
29
|
+
export declare const Status: ({ label, severity, testId, translate, variant, }: StatusProps) => JSX.Element;
|
|
30
30
|
//# sourceMappingURL=Status.d.ts.map
|
package/dist/src/Status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,oBAAoB,qDAKvB,CAAC;AACX,eAAO,MAAM,mBAAmB,2BAA4B,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;CAChD,GAAG,YAAY,CAAC;AAEjB,eAAO,MAAM,MAAM,qDAMhB,WAAW,gBAab,CAAC"}
|
package/dist/src/Tabs.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { TabListProps as MuiTabListProps } from "@mui/lab";
|
|
13
13
|
import { ReactElement, ReactNode } from "react";
|
|
14
|
-
import {
|
|
14
|
+
import { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type TabItemProps = {
|
|
16
16
|
/**
|
|
17
17
|
* The content of the Tab itself
|
|
@@ -33,7 +33,7 @@ export type TabItemProps = {
|
|
|
33
33
|
* The value associated with the TabItem
|
|
34
34
|
*/
|
|
35
35
|
value?: string;
|
|
36
|
-
} &
|
|
36
|
+
} & AllowedProps;
|
|
37
37
|
export type TabsProps = {
|
|
38
38
|
/**
|
|
39
39
|
* The ARIA label for the full Tabs group
|
package/dist/src/Tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAGL,YAAY,IAAI,eAAe,EAEhC,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAGL,YAAY,IAAI,eAAe,EAEhC,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,YAAY,CAAC;AAEjB,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACxC,CAAC;AAmDF,QAAA,MAAM,YAAY,0GA3Cf,SAAS,iBA2CmB,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/Tag.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChipProps as MuiChipProps } from "@mui/material";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
-
import {
|
|
14
|
+
import { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type TagProps = {
|
|
16
16
|
icon?: ReactElement;
|
|
17
17
|
isDisabled?: boolean;
|
|
@@ -27,7 +27,7 @@ export type TagProps = {
|
|
|
27
27
|
* Callback fired when the remove button of the Tag is clicked
|
|
28
28
|
*/
|
|
29
29
|
onRemove?: MuiChipProps["onDelete"];
|
|
30
|
-
} &
|
|
31
|
-
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove, testId, }: TagProps) => JSX.Element>;
|
|
30
|
+
} & AllowedProps;
|
|
31
|
+
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove, testId, translate, }: TagProps) => JSX.Element>;
|
|
32
32
|
export { MemoizedTag as Tag };
|
|
33
33
|
//# sourceMappingURL=Tag.d.ts.map
|
package/dist/src/Tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/Tag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAQ,YAAY,EAA2B,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/Tag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAQ,YAAY,EAA2B,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;CACrC,GAAG,YAAY,CAAC;AA4CjB,QAAA,MAAM,WAAW,2GAlCd,QAAQ,iBAkCkB,CAAC;AAG9B,OAAO,EAAE,WAAW,IAAI,GAAG,EAAE,CAAC"}
|
package/dist/src/TagList.d.ts
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Tag } from "./Tag";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
-
import {
|
|
14
|
+
import { AllowedProps } from "./AllowedProps";
|
|
15
15
|
export type TagListProps = {
|
|
16
16
|
/**
|
|
17
17
|
* The Tag or array of Tags within the TagList
|
|
18
18
|
*/
|
|
19
19
|
children: ReactElement<typeof Tag> | Array<ReactElement<typeof Tag>>;
|
|
20
|
-
} &
|
|
20
|
+
} & AllowedProps;
|
|
21
21
|
declare const MemoizedTagList: import("react").MemoExoticComponent<({ children, testId }: TagListProps) => JSX.Element>;
|
|
22
22
|
export { MemoizedTagList as TagList };
|
|
23
23
|
//# sourceMappingURL=TagList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.d.ts","sourceRoot":"","sources":["../../src/TagList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TagList.d.ts","sourceRoot":"","sources":["../../src/TagList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;CACtE,GAAG,YAAY,CAAC;AA4BjB,QAAA,MAAM,eAAe,6DA1BkB,YAAY,iBA0Bd,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
package/dist/src/TextField.d.ts
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactElement } from "react";
|
|
13
13
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
14
|
-
import {
|
|
14
|
+
import { AllowedProps } from "./AllowedProps";
|
|
15
|
+
import { FocusHandle } from "./@types/react-augment";
|
|
15
16
|
export declare const textFieldTypeValues: readonly ["email", "number", "tel", "text", "url"];
|
|
16
17
|
export type TextFieldProps = {
|
|
17
18
|
/**
|
|
@@ -32,6 +33,10 @@ export type TextFieldProps = {
|
|
|
32
33
|
* If `true`, the component will receive focus automatically.
|
|
33
34
|
*/
|
|
34
35
|
hasInitialFocus?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The ref forwarded to the TextField to expose focus()
|
|
38
|
+
*/
|
|
39
|
+
inputFocusRef?: React.RefObject<FocusHandle>;
|
|
35
40
|
/**
|
|
36
41
|
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
37
42
|
*/
|
|
@@ -68,7 +73,7 @@ export type TextFieldProps = {
|
|
|
68
73
|
* The value of the `input` element, required for a controlled component.
|
|
69
74
|
*/
|
|
70
75
|
value?: string;
|
|
71
|
-
} & FieldComponentProps &
|
|
76
|
+
} & FieldComponentProps & AllowedProps;
|
|
72
77
|
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
73
78
|
/**
|
|
74
79
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -88,6 +93,10 @@ declare const MemoizedTextField: import("react").MemoExoticComponent<import("rea
|
|
|
88
93
|
* If `true`, the component will receive focus automatically.
|
|
89
94
|
*/
|
|
90
95
|
hasInitialFocus?: boolean | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* The ref forwarded to the TextField to expose focus()
|
|
98
|
+
*/
|
|
99
|
+
inputFocusRef?: import("react").RefObject<FocusHandle> | undefined;
|
|
91
100
|
/**
|
|
92
101
|
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
93
102
|
*/
|
|
@@ -124,6 +133,6 @@ declare const MemoizedTextField: import("react").MemoExoticComponent<import("rea
|
|
|
124
133
|
* The value of the `input` element, required for a controlled component.
|
|
125
134
|
*/
|
|
126
135
|
value?: string | undefined;
|
|
127
|
-
} & FieldComponentProps &
|
|
136
|
+
} & FieldComponentProps & AllowedProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
128
137
|
export { MemoizedTextField as TextField };
|
|
129
138
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAIb,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,mBAAmB,oDAMtB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,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