@okta/odyssey-react-mui 1.0.1 → 1.1.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/CHANGELOG.md +70 -0
- package/README.md +1 -1
- package/dist/Autocomplete.js +9 -3
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Banner.js +3 -1
- package/dist/Banner.js.map +1 -1
- package/dist/Box.js +8 -4
- package/dist/Box.js.map +1 -1
- package/dist/Button.js +3 -1
- package/dist/Button.js.map +1 -1
- package/dist/Callout.js +2 -0
- package/dist/Callout.js.map +1 -1
- package/dist/Checkbox.js +6 -2
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +5 -7
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +2 -0
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +2 -0
- package/dist/Dialog.js.map +1 -1
- package/dist/Field.js.map +1 -1
- package/dist/FieldError.js +2 -0
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +2 -0
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +3 -1
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +3 -1
- package/dist/Fieldset.js.map +1 -1
- package/dist/Form.js +5 -3
- package/dist/Form.js.map +1 -1
- package/dist/Link.js +3 -1
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +8 -2
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js +6 -2
- package/dist/MenuItem.js.map +1 -1
- package/dist/NativeSelect.js +3 -1
- package/dist/NativeSelect.js.map +1 -1
- package/dist/OdysseyI18n.js +2 -0
- package/dist/OdysseyI18n.js.map +1 -1
- package/dist/OdysseyProvider.js +7 -4
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/OdysseyThemeProvider.js +3 -6
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/OdysseyTranslationProvider.types.js +1 -1
- package/dist/OdysseyTranslationProvider.types.js.map +1 -1
- package/dist/PasswordField.js +9 -8
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +2 -0
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +5 -2
- package/dist/RadioGroup.js.map +1 -1
- package/dist/SearchField.js +11 -10
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +8 -5
- package/dist/Select.js.map +1 -1
- package/dist/SeleniumProps.js +2 -0
- package/dist/SeleniumProps.js.map +1 -0
- package/dist/Status.js +4 -2
- package/dist/Status.js.map +1 -1
- package/dist/Tabs.js +11 -4
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +4 -2
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js +3 -1
- package/dist/TagList.js.map +1 -1
- package/dist/TextField.js +6 -2
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +2 -0
- package/dist/Toast.js.map +1 -1
- package/dist/Tooltip.js +2 -0
- package/dist/Tooltip.js.map +1 -1
- package/dist/Typography.js +71 -37
- package/dist/Typography.js.map +1 -1
- package/dist/labs/DatePicker.js +4 -2
- package/dist/labs/DatePicker.js.map +1 -1
- package/dist/labs/PaginatedTable.js +6 -4
- package/dist/labs/PaginatedTable.js.map +1 -1
- package/dist/labs/StaticTable.js +9 -4
- package/dist/labs/StaticTable.js.map +1 -1
- package/dist/src/Autocomplete.d.ts +7 -2
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Banner.d.ts +3 -2
- package/dist/src/Banner.d.ts.map +1 -1
- package/dist/src/Box.d.ts +9 -2
- package/dist/src/Box.d.ts.map +1 -1
- package/dist/src/Button.d.ts +3 -2
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/Callout.d.ts +3 -2
- 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 -6
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/CircularProgress.d.ts +3 -2
- package/dist/src/CircularProgress.d.ts.map +1 -1
- package/dist/src/Dialog.d.ts +3 -2
- package/dist/src/Dialog.d.ts.map +1 -1
- package/dist/src/Field.d.ts +2 -1
- package/dist/src/Field.d.ts.map +1 -1
- package/dist/src/FieldError.d.ts +3 -2
- package/dist/src/FieldError.d.ts.map +1 -1
- package/dist/src/FieldHint.d.ts +3 -2
- package/dist/src/FieldHint.d.ts.map +1 -1
- package/dist/src/FieldLabel.d.ts +3 -2
- package/dist/src/FieldLabel.d.ts.map +1 -1
- package/dist/src/Fieldset.d.ts +3 -2
- package/dist/src/Fieldset.d.ts.map +1 -1
- package/dist/src/Form.d.ts +3 -2
- package/dist/src/Form.d.ts.map +1 -1
- package/dist/src/Link.d.ts +3 -2
- package/dist/src/Link.d.ts.map +1 -1
- package/dist/src/MenuButton.d.ts +12 -3
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuItem.d.ts +5 -4
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/NativeSelect.d.ts +56 -2
- package/dist/src/NativeSelect.d.ts.map +1 -1
- package/dist/src/OdysseyI18n.d.ts +15 -0
- package/dist/src/OdysseyI18n.d.ts.map +1 -1
- package/dist/src/OdysseyProvider.d.ts.map +1 -1
- package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.types.d.ts +1 -1
- package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +70 -2
- package/dist/src/PasswordField.d.ts.map +1 -1
- package/dist/src/Radio.d.ts +3 -2
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +8 -3
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +58 -2
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +60 -2
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/SeleniumProps.d.ts +20 -0
- package/dist/src/SeleniumProps.d.ts.map +1 -0
- package/dist/src/Status.d.ts +3 -2
- package/dist/src/Status.d.ts.map +1 -1
- package/dist/src/Tabs.d.ts +9 -3
- package/dist/src/Tabs.d.ts.map +1 -1
- package/dist/src/Tag.d.ts +3 -2
- package/dist/src/Tag.d.ts.map +1 -1
- package/dist/src/TagList.d.ts +3 -2
- package/dist/src/TagList.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +86 -2
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/Toast.d.ts +3 -2
- package/dist/src/Toast.d.ts.map +1 -1
- package/dist/src/Tooltip.d.ts +3 -2
- package/dist/src/Tooltip.d.ts.map +1 -1
- package/dist/src/Typography.d.ts +14 -45
- package/dist/src/Typography.d.ts.map +1 -1
- package/dist/src/labs/DatePicker.d.ts +5 -1
- package/dist/src/labs/DatePicker.d.ts.map +1 -1
- package/dist/src/labs/PaginatedTable.d.ts.map +1 -1
- package/dist/src/labs/StaticTable.d.ts.map +1 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +41 -13
- package/dist/theme/components.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +18 -9
- package/scripts/properties-to-ts.js +7 -7
- package/src/Autocomplete.tsx +13 -2
- package/src/Banner.tsx +11 -2
- package/src/Box.tsx +11 -5
- package/src/Button.tsx +6 -1
- package/src/Callout.tsx +5 -3
- package/src/Checkbox.tsx +14 -4
- package/src/CheckboxGroup.tsx +6 -10
- package/src/CircularProgress.tsx +5 -1
- package/src/Dialog.tsx +5 -2
- package/src/Field.tsx +2 -0
- package/src/FieldError.tsx +5 -3
- package/src/FieldHint.tsx +9 -3
- package/src/FieldLabel.tsx +5 -3
- package/src/Fieldset.tsx +4 -1
- package/src/Form.tsx +7 -4
- package/src/Link.tsx +18 -3
- package/src/MenuButton.tsx +33 -4
- package/src/MenuItem.tsx +11 -6
- package/src/NativeSelect.tsx +7 -2
- package/src/OdysseyI18n.ts +2 -0
- package/src/OdysseyProvider.tsx +9 -6
- package/src/OdysseyThemeProvider.tsx +4 -6
- package/src/OdysseyTranslationProvider.types.ts +1 -0
- package/src/PasswordField.tsx +18 -10
- package/src/Radio.tsx +5 -1
- package/src/RadioGroup.tsx +12 -4
- package/src/SearchField.tsx +23 -15
- package/src/Select.tsx +16 -6
- package/src/SeleniumProps.ts +20 -0
- package/src/Status.tsx +15 -3
- package/src/Tabs.tsx +18 -4
- package/src/Tag.tsx +12 -3
- package/src/TagList.tsx +4 -2
- package/src/TextField.tsx +14 -2
- package/src/Toast.tsx +4 -1
- package/src/Tooltip.tsx +4 -1
- package/src/Typography.tsx +76 -28
- package/src/labs/DatePicker.tsx +15 -7
- package/src/labs/PaginatedTable.tsx +12 -3
- package/src/labs/README.md +2 -2
- package/src/labs/StaticTable.tsx +13 -3
- package/src/theme/components.tsx +49 -14
package/dist/src/Select.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/// <reference types="react" />
|
|
13
13
|
import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type SelectOption = {
|
|
15
16
|
text: string;
|
|
16
17
|
type?: "heading" | "option";
|
|
@@ -45,6 +46,10 @@ export type SelectProps = {
|
|
|
45
46
|
* The label text for the Select
|
|
46
47
|
*/
|
|
47
48
|
label: string;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
48
53
|
/**
|
|
49
54
|
* Callback fired when the Select loses focus
|
|
50
55
|
*/
|
|
@@ -65,7 +70,60 @@ export type SelectProps = {
|
|
|
65
70
|
* The value or values selected in the Select
|
|
66
71
|
*/
|
|
67
72
|
value?: string | string[];
|
|
68
|
-
};
|
|
69
|
-
declare const MemoizedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
73
|
+
} & SeleniumProps;
|
|
74
|
+
declare const MemoizedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
75
|
+
/**
|
|
76
|
+
* The error message for the Select
|
|
77
|
+
*/
|
|
78
|
+
errorMessage?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The hint text for the Select
|
|
81
|
+
*/
|
|
82
|
+
hint?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The id attribute of the Select
|
|
85
|
+
*/
|
|
86
|
+
id?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* If `true`, the Select is disabled
|
|
89
|
+
*/
|
|
90
|
+
isDisabled?: boolean | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* If `true`, the Select allows multiple selections
|
|
93
|
+
*/
|
|
94
|
+
isMultiSelect?: boolean | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* If `true`, the Select is optional
|
|
97
|
+
*/
|
|
98
|
+
isOptional?: boolean | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The label text for the Select
|
|
101
|
+
*/
|
|
102
|
+
label: string;
|
|
103
|
+
/**
|
|
104
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
105
|
+
*/
|
|
106
|
+
name?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Callback fired when the Select loses focus
|
|
109
|
+
*/
|
|
110
|
+
onBlur?: MuiSelectProps["onBlur"];
|
|
111
|
+
/**
|
|
112
|
+
* Callback fired when the value of the Select changes
|
|
113
|
+
*/
|
|
114
|
+
onChange?: MuiSelectProps["onChange"];
|
|
115
|
+
/**
|
|
116
|
+
* Callback fired when the Select gains focus
|
|
117
|
+
*/
|
|
118
|
+
onFocus?: MuiSelectProps["onFocus"];
|
|
119
|
+
/**
|
|
120
|
+
* The options for the Select
|
|
121
|
+
*/
|
|
122
|
+
options: (string | SelectOption)[];
|
|
123
|
+
/**
|
|
124
|
+
* The value or values selected in the Select
|
|
125
|
+
*/
|
|
126
|
+
value?: string | string[] | undefined;
|
|
127
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLSelectElement>>>;
|
|
70
128
|
export { MemoizedSelect as Select };
|
|
71
129
|
//# 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;;;;;;;;;;GAUG;;AAYH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAyLlB,QAAA,MAAM,cAAc;IA7OlB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;aACM,cAAc,CAAC,QAAQ,CAAC;IACjC;;OAEG;eACQ,cAAc,CAAC,UAAU,CAAC;IACrC;;OAEG;cACO,cAAc,CAAC,SAAS,CAAC;IACnC;;OAEG;aACM,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE;IAClC;;OAEG;;sEA2L8B,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
export type SeleniumProps = {
|
|
13
|
+
/**
|
|
14
|
+
* This prop puts a `data` attribute on an HTML element in this component with the value provided.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated **WARNING:** You should be using Semantic Selectors instead of this property. This is a temporary measure for backwards compatibility with existing Selenium tests.
|
|
17
|
+
*/
|
|
18
|
+
testId?: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=SeleniumProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeleniumProps.d.ts","sourceRoot":"","sources":["../../src/SeleniumProps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
package/dist/src/Status.d.ts
CHANGED
|
@@ -9,6 +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 { SeleniumProps } from "./SeleniumProps";
|
|
12
13
|
export declare const statusSeverityValues: readonly ["default", "error", "success", "warning"];
|
|
13
14
|
export declare const statusVariantValues: readonly ["lamp", "pill"];
|
|
14
15
|
export type StatusProps = {
|
|
@@ -24,6 +25,6 @@ export type StatusProps = {
|
|
|
24
25
|
* The style of the Status indicator
|
|
25
26
|
*/
|
|
26
27
|
variant?: (typeof statusVariantValues)[number];
|
|
27
|
-
};
|
|
28
|
-
export declare const Status: ({ severity,
|
|
28
|
+
} & SeleniumProps;
|
|
29
|
+
export declare const Status: ({ label, severity, testId, variant, }: StatusProps) => JSX.Element;
|
|
29
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;
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,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,aAAa,CAAC;AAElB,eAAO,MAAM,MAAM,0CAKhB,WAAW,gBAYb,CAAC"}
|
package/dist/src/Tabs.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import React, { ReactElement, ReactNode } from "react";
|
|
13
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type TabItemProps = {
|
|
14
15
|
/**
|
|
15
16
|
* The content of the Tab itself
|
|
@@ -31,21 +32,26 @@ export type TabItemProps = {
|
|
|
31
32
|
* The value associated with the TabItem
|
|
32
33
|
*/
|
|
33
34
|
value?: string;
|
|
34
|
-
};
|
|
35
|
+
} & SeleniumProps;
|
|
35
36
|
export type TabsProps = {
|
|
36
37
|
/**
|
|
37
38
|
* The ARIA label for the full Tabs group
|
|
38
39
|
*/
|
|
39
40
|
ariaLabel?: string;
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* @deprecated please use the `value` prop instead
|
|
43
|
+
* When `value` is provided, `initialValue` isn't used.
|
|
42
44
|
*/
|
|
43
45
|
initialValue?: string;
|
|
44
46
|
/**
|
|
45
47
|
* The TabItems to be included in the Tabs group
|
|
46
48
|
*/
|
|
47
49
|
tabs: TabItemProps[];
|
|
50
|
+
/**
|
|
51
|
+
* Identifier for the selected tab.
|
|
52
|
+
*/
|
|
53
|
+
value?: string;
|
|
48
54
|
};
|
|
49
|
-
declare const MemoizedTabs: React.MemoExoticComponent<({ ariaLabel, initialValue, tabs }: TabsProps) => JSX.Element>;
|
|
55
|
+
declare const MemoizedTabs: React.MemoExoticComponent<({ ariaLabel, initialValue, tabs, value }: TabsProps) => JSX.Element>;
|
|
50
56
|
export { MemoizedTabs as Tabs };
|
|
51
57
|
//# sourceMappingURL=Tabs.d.ts.map
|
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,KAAK,EAAE,EACZ,YAAY,EACZ,SAAS,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EACZ,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAOf,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,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,aAAa,CAAC;AAElB,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;CAChB,CAAC;AA4CF,QAAA,MAAM,YAAY,uEA1CsC,SAAS,iBA0ClC,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/Tag.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChipProps as MuiChipProps } from "@mui/material";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TagProps = {
|
|
15
16
|
icon?: ReactElement;
|
|
16
17
|
isDisabled?: boolean;
|
|
@@ -26,7 +27,7 @@ export type TagProps = {
|
|
|
26
27
|
* Callback fired when the remove button of the Tag is clicked
|
|
27
28
|
*/
|
|
28
29
|
onRemove?: MuiChipProps["onDelete"];
|
|
29
|
-
};
|
|
30
|
-
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove }: TagProps) => JSX.Element>;
|
|
30
|
+
} & SeleniumProps;
|
|
31
|
+
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove, testId, }: TagProps) => JSX.Element>;
|
|
31
32
|
export { MemoizedTag as Tag };
|
|
32
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;
|
|
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,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,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,aAAa,CAAC;AAiClB,QAAA,MAAM,WAAW,gGAxBd,QAAQ,iBAwBkB,CAAC;AAG9B,OAAO,EAAE,WAAW,IAAI,GAAG,EAAE,CAAC"}
|
package/dist/src/TagList.d.ts
CHANGED
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Tag } from "./Tag";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TagListProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The Tag or array of Tags within the TagList
|
|
17
18
|
*/
|
|
18
19
|
children: ReactElement<typeof Tag> | Array<ReactElement<typeof Tag>>;
|
|
19
|
-
};
|
|
20
|
-
declare const MemoizedTagList: import("react").MemoExoticComponent<({ children }: TagListProps) => JSX.Element>;
|
|
20
|
+
} & SeleniumProps;
|
|
21
|
+
declare const MemoizedTagList: import("react").MemoExoticComponent<({ children, testId }: TagListProps) => JSX.Element>;
|
|
21
22
|
export { MemoizedTagList as TagList };
|
|
22
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;
|
|
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,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,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,aAAa,CAAC;AA4BlB,QAAA,MAAM,eAAe,6DA1BkB,YAAY,iBA0Bd,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
package/dist/src/TextField.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactElement } from "react";
|
|
13
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export declare const textFieldTypeValues: readonly ["email", "number", "tel", "text", "url"];
|
|
14
15
|
export type TextFieldProps = {
|
|
15
16
|
/**
|
|
@@ -58,6 +59,10 @@ export type TextFieldProps = {
|
|
|
58
59
|
* The label for the `input` element.
|
|
59
60
|
*/
|
|
60
61
|
label: string;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
64
|
+
*/
|
|
65
|
+
name?: string;
|
|
61
66
|
/**
|
|
62
67
|
* Callback fired when the `input` element loses focus.
|
|
63
68
|
*/
|
|
@@ -86,7 +91,86 @@ export type TextFieldProps = {
|
|
|
86
91
|
* The value of the `input` element, required for a controlled component.
|
|
87
92
|
*/
|
|
88
93
|
value?: string;
|
|
89
|
-
};
|
|
90
|
-
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
94
|
+
} & SeleniumProps;
|
|
95
|
+
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
96
|
+
/**
|
|
97
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
98
|
+
* The name can be confusing, as it's more like an autofill.
|
|
99
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
100
|
+
*/
|
|
101
|
+
autoCompleteType?: InputHTMLAttributes<HTMLInputElement>["autoComplete"];
|
|
102
|
+
/**
|
|
103
|
+
* End `InputAdornment` for this component.
|
|
104
|
+
*/
|
|
105
|
+
endAdornment?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* If `error` is not undefined, the `input` will indicate an error.
|
|
108
|
+
*/
|
|
109
|
+
errorMessage?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* If `true`, the component will receive focus automatically.
|
|
112
|
+
*/
|
|
113
|
+
hasInitialFocus?: boolean | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* The helper text content.
|
|
116
|
+
*/
|
|
117
|
+
hint?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* The id of the `input` element.
|
|
120
|
+
*/
|
|
121
|
+
id?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* If `true`, the component is disabled.
|
|
124
|
+
*/
|
|
125
|
+
isDisabled?: boolean | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
128
|
+
*/
|
|
129
|
+
isMultiline?: boolean | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* If `true`, the `input` element is not required.
|
|
132
|
+
*/
|
|
133
|
+
isOptional?: boolean | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* It prevents the user from changing the value of the field
|
|
136
|
+
*/
|
|
137
|
+
isReadOnly?: boolean | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The label for the `input` element.
|
|
140
|
+
*/
|
|
141
|
+
label: string;
|
|
142
|
+
/**
|
|
143
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
144
|
+
*/
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Callback fired when the `input` element loses focus.
|
|
148
|
+
*/
|
|
149
|
+
onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Callback fired when the value is changed.
|
|
152
|
+
*/
|
|
153
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Callback fired when the `input` element get focus.
|
|
156
|
+
*/
|
|
157
|
+
onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
160
|
+
*/
|
|
161
|
+
placeholder?: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Start `InputAdornment` for this component.
|
|
164
|
+
*/
|
|
165
|
+
startAdornment?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
168
|
+
*/
|
|
169
|
+
type?: "number" | "text" | "tel" | "url" | "email" | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* The value of the `input` element, required for a controlled component.
|
|
172
|
+
*/
|
|
173
|
+
value?: string | undefined;
|
|
174
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
91
175
|
export { MemoizedTextField as TextField };
|
|
92
176
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAEb,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAEb,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,mBAAmB,oDAMtB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,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,cAAc,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAgGlB,QAAA,MAAM,iBAAiB;IA9KrB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEAkGoC,CAAC;AAG1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
|
package/dist/src/Toast.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
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 { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export declare const toastRoleValues: readonly ["status", "alert"];
|
|
14
15
|
export declare const toastSeverityValues: readonly ["success", "info", "warning", "error"];
|
|
15
16
|
export type ToastProps = {
|
|
@@ -55,7 +56,7 @@ export type ToastProps = {
|
|
|
55
56
|
* The text content of the Toast
|
|
56
57
|
*/
|
|
57
58
|
text: string;
|
|
58
|
-
};
|
|
59
|
-
declare const MemoizedToast: import("react").MemoExoticComponent<({ autoHideDuration, isDismissable, linkText, linkUrl, isVisible: isVisibleProp, onHide: onHideProp, role, severity, text, }: ToastProps) => JSX.Element>;
|
|
59
|
+
} & SeleniumProps;
|
|
60
|
+
declare const MemoizedToast: import("react").MemoExoticComponent<({ autoHideDuration, isDismissable, linkText, linkUrl, isVisible: isVisibleProp, onHide: onHideProp, role, severity, testId, text, }: ToastProps) => JSX.Element>;
|
|
60
61
|
export { MemoizedToast as Toast };
|
|
61
62
|
//# sourceMappingURL=Toast.d.ts.map
|
package/dist/src/Toast.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AASH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,eAAe,8BAA+B,CAAC;AAC5D,eAAO,MAAM,mBAAmB,kDAKtB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAsElB,QAAA,MAAM,aAAa,4KAvDhB,UAAU,iBAuDoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|
package/dist/src/Tooltip.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { TooltipProps as MuiTooltipProps } from "@mui/material";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TooltipProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The type of ARIA attribute to use
|
|
@@ -28,6 +29,6 @@ export type TooltipProps = {
|
|
|
28
29
|
* The text to display in the Tooltip
|
|
29
30
|
*/
|
|
30
31
|
text: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const Tooltip: ({ ariaType, children, placement, text, }: TooltipProps) => JSX.Element;
|
|
32
|
+
} & SeleniumProps;
|
|
33
|
+
export declare const Tooltip: ({ ariaType, children, placement, testId, text, }: TooltipProps) => JSX.Element;
|
|
33
34
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAElB,eAAO,MAAM,OAAO,qDAMjB,YAAY,gBASd,CAAC"}
|
package/dist/src/Typography.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { TypographyProps as MuiTypographyProps } from "@mui/material";
|
|
13
13
|
import { ElementType, ReactNode } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TypographyVariantValue = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "subordinate" | "support" | "legend";
|
|
15
16
|
export declare const typographyVariantMapping: Record<TypographyVariantValue, MuiTypographyProps["variant"]>;
|
|
16
17
|
export declare const typographyColorValues: readonly ["primary", "textPrimary", "secondary", "textSecondary", "error"];
|
|
@@ -47,49 +48,17 @@ export type TypographyProps = {
|
|
|
47
48
|
* The variant of Typography to render.
|
|
48
49
|
*/
|
|
49
50
|
variant?: keyof typeof typographyVariantMapping;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
};
|
|
63
|
-
export declare const Heading3: {
|
|
64
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
65
|
-
displayName: string;
|
|
66
|
-
};
|
|
67
|
-
export declare const Heading4: {
|
|
68
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
69
|
-
displayName: string;
|
|
70
|
-
};
|
|
71
|
-
export declare const Heading5: {
|
|
72
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
73
|
-
displayName: string;
|
|
74
|
-
};
|
|
75
|
-
export declare const Heading6: {
|
|
76
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
77
|
-
displayName: string;
|
|
78
|
-
};
|
|
79
|
-
export declare const Paragraph: {
|
|
80
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
81
|
-
displayName: string;
|
|
82
|
-
};
|
|
83
|
-
export declare const Subordinate: {
|
|
84
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
87
|
-
export declare const Support: {
|
|
88
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
89
|
-
displayName: string;
|
|
90
|
-
};
|
|
91
|
-
export declare const Legend: {
|
|
92
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
93
|
-
displayName: string;
|
|
94
|
-
};
|
|
51
|
+
} & SeleniumProps;
|
|
52
|
+
declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component: componentProp, testId, variant, }: TypographyProps) => JSX.Element>;
|
|
53
|
+
declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
54
|
+
declare const MemoizedHeading2: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
55
|
+
declare const MemoizedHeading3: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
56
|
+
declare const MemoizedHeading4: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
57
|
+
declare const MemoizedHeading5: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
58
|
+
declare const MemoizedHeading6: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
59
|
+
declare const MemoizedParagraph: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
60
|
+
declare const MemoizedSubordinate: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
61
|
+
declare const MemoizedSupport: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
62
|
+
declare const MemoizedLegend: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
63
|
+
export { MemoizedTypography as Typography, MemoizedHeading1 as Heading1, MemoizedHeading2 as Heading2, MemoizedHeading3 as Heading3, MemoizedHeading4 as Heading4, MemoizedHeading5 as Heading5, MemoizedHeading6 as Heading6, MemoizedLegend as Legend, MemoizedParagraph as Paragraph, MemoizedSubordinate as Subordinate, MemoizedSupport as Support, };
|
|
95
64
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAiB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,aAAa,GACb,SAAS,GACT,QAAQ,CAAC;AAEb,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,sBAAsB,EACtB,kBAAkB,CAAC,SAAS,CAAC,CAYrB,CAAC;AAEX,eAAO,MAAM,qBAAqB,4EAMxB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,wBAAwB,CAAC;CACjD,GAAG,aAAa,CAAC;AAyClB,QAAA,MAAM,kBAAkB,6JA7BrB,eAAe,iBA6ByB,CAAC;AA0B5C,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,gBAAgB,qIAdnB,eAAe,iBAcqB,CAAC;AA0BxC,QAAA,MAAM,iBAAiB,qIAdpB,eAAe,iBAcuB,CAAC;AA0B1C,QAAA,MAAM,mBAAmB,qIAdtB,eAAe,iBAc2B,CAAC;AA0B9C,QAAA,MAAM,eAAe,qIAdlB,eAAe,iBAcmB,CAAC;AA0BtC,QAAA,MAAM,cAAc,qIAdjB,eAAe,iBAciB,CAAC;AAGpC,OAAO,EACL,kBAAkB,IAAI,UAAU,EAChC,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,cAAc,IAAI,MAAM,EACxB,iBAAiB,IAAI,SAAS,EAC9B,mBAAmB,IAAI,WAAW,EAClC,eAAe,IAAI,OAAO,GAC3B,CAAC"}
|
|
@@ -12,8 +12,12 @@
|
|
|
12
12
|
import { DatePickerProps as MuiDatePickerProps } from "@mui/x-date-pickers";
|
|
13
13
|
export type DatePickerProps<TInputDate, TDate> = {
|
|
14
14
|
label: MuiDatePickerProps<TInputDate, TDate>["label"];
|
|
15
|
+
/**
|
|
16
|
+
* If `true`, the `input` element is not required.
|
|
17
|
+
*/
|
|
18
|
+
isOptional?: boolean;
|
|
15
19
|
onChange: MuiDatePickerProps<TInputDate, TDate>["onChange"];
|
|
16
20
|
value: MuiDatePickerProps<TInputDate, TDate>["value"];
|
|
17
21
|
};
|
|
18
|
-
export declare const DatePicker: <TInputDate, TDate>({ label, onChange, value, }: DatePickerProps<TInputDate, TDate>) => JSX.Element;
|
|
22
|
+
export declare const DatePicker: <TInputDate, TDate>({ label, isOptional, onChange, value, }: DatePickerProps<TInputDate, TDate>) => JSX.Element;
|
|
19
23
|
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/labs/DatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,qBAAqB,CAAC;AAG7B,MAAM,MAAM,eAAe,CAAC,UAAU,EAAE,KAAK,IAAI;IAC/C,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IACtD,QAAQ,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IAC5D,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/labs/DatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,qBAAqB,CAAC;AAG7B,MAAM,MAAM,eAAe,CAAC,UAAU,EAAE,KAAK,IAAI;IAC/C,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IACtD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IAC5D,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,UAAU,iHA0BtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedTable.d.ts","sourceRoot":"","sources":["../../../src/labs/PaginatedTable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAA2B,EAIzB,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAOlB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,6BAA6B,IAAI;IAC7E,OAAO,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IACnD,IAAI,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,CAAC;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;IAC9E,kBAAkB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,oBAAoB,CAAC,CAAC;IAC1E,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,iBAAiB,CAChC;QAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;KAAE,GAAG,OAAO,CAC9C,CAAC;CACH,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginatedTable.d.ts","sourceRoot":"","sources":["../../../src/labs/PaginatedTable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAA2B,EAIzB,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAOlB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,6BAA6B,IAAI;IAC7E,OAAO,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IACnD,IAAI,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,CAAC;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;IAC9E,kBAAkB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,oBAAoB,CAAC,CAAC;IAC1E,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,iBAAiB,CAChC;QAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;KAAE,GAAG,OAAO,CAC9C,CAAC;CACH,CAAC;AA6NF,QAAA,MAAM,sBAAsB,0TAAgD,CAAC;AAK7E,OAAO,EAAE,sBAAsB,IAAI,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","sources":["../../../src/labs/StaticTable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAA2B,EAEzB,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,
|
|
1
|
+
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","sources":["../../../src/labs/StaticTable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAA2B,EAEzB,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAOlB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,gBAAgB,CAAC,KAAK,SAAS,6BAA6B,IAAI;IAC1E,OAAO,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IACnD,IAAI,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,CAAC;IAC9D,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;IAC9E,KAAK,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,iBAAiB,CAChC;QAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;KAAE,GAAG,OAAO,CAC9C,CAAC;CACH,CAAC;AAqFF,QAAA,MAAM,mBAAmB,0LAA0C,CAAC;AAEpE,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAsC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,eAAO,MAAM,UAAU,kBACN,YAAY,KAC1B,YAAY,CAAC,YAAY,CAwsE3B,CAAC"}
|