@okta/odyssey-react-mui 1.6.1 → 1.6.2
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 +4 -0
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Checkbox.js +3 -2
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/FieldComponentProps.js +2 -0
- package/dist/FieldComponentProps.js.map +1 -0
- package/dist/NativeSelect.js.map +1 -1
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js.map +1 -1
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js.map +1 -1
- package/dist/TextField.js +1 -0
- package/dist/TextField.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/Autocomplete.d.ts +2 -21
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Checkbox.d.ts +2 -13
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +2 -13
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/FieldComponentProps.d.ts +42 -0
- package/dist/src/FieldComponentProps.d.ts.map +1 -0
- package/dist/src/NativeSelect.d.ts +3 -42
- package/dist/src/NativeSelect.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +3 -58
- package/dist/src/PasswordField.d.ts.map +1 -1
- package/dist/src/Radio.d.ts +2 -9
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +2 -21
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +3 -26
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +2 -25
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +3 -58
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +75 -58
- package/dist/theme/components.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/Autocomplete.tsx +6 -21
- package/src/Checkbox.tsx +6 -16
- package/src/CheckboxGroup.tsx +3 -13
- package/src/FieldComponentProps.ts +42 -0
- package/src/NativeSelect.tsx +6 -22
- package/src/PasswordField.tsx +3 -29
- package/src/Radio.tsx +3 -9
- package/src/RadioGroup.tsx +6 -21
- package/src/SearchField.tsx +3 -13
- package/src/Select.tsx +8 -26
- package/src/TextField.tsx +4 -30
- package/src/index.ts +1 -0
- package/src/theme/components.tsx +18 -2
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 { FieldComponentProps } from "./FieldComponentProps";
|
|
13
14
|
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export declare const textFieldTypeValues: readonly ["email", "number", "tel", "text", "url"];
|
|
15
16
|
export type TextFieldProps = {
|
|
@@ -23,46 +24,18 @@ export type TextFieldProps = {
|
|
|
23
24
|
* End `InputAdornment` for this component.
|
|
24
25
|
*/
|
|
25
26
|
endAdornment?: string | ReactElement;
|
|
26
|
-
/**
|
|
27
|
-
* If `error` is not undefined, the `input` will indicate an error.
|
|
28
|
-
*/
|
|
29
|
-
errorMessage?: string;
|
|
30
27
|
/**
|
|
31
28
|
* If `true`, the component will receive focus automatically.
|
|
32
29
|
*/
|
|
33
30
|
hasInitialFocus?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The helper text content.
|
|
36
|
-
*/
|
|
37
|
-
hint?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The id of the `input` element.
|
|
40
|
-
*/
|
|
41
|
-
id?: string;
|
|
42
|
-
/**
|
|
43
|
-
* If `true`, the component is disabled.
|
|
44
|
-
*/
|
|
45
|
-
isDisabled?: boolean;
|
|
46
31
|
/**
|
|
47
32
|
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
48
33
|
*/
|
|
49
34
|
isMultiline?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* If `true`, the `input` element is not required.
|
|
52
|
-
*/
|
|
53
|
-
isOptional?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* It prevents the user from changing the value of the field
|
|
56
|
-
*/
|
|
57
|
-
isReadOnly?: boolean;
|
|
58
35
|
/**
|
|
59
36
|
* The label for the `input` element.
|
|
60
37
|
*/
|
|
61
38
|
label: string;
|
|
62
|
-
/**
|
|
63
|
-
* The name of the `input` element. Defaults to the `id` if not set.
|
|
64
|
-
*/
|
|
65
|
-
name?: string;
|
|
66
39
|
/**
|
|
67
40
|
* Callback fired when the `input` element loses focus.
|
|
68
41
|
*/
|
|
@@ -91,7 +64,7 @@ export type TextFieldProps = {
|
|
|
91
64
|
* The value of the `input` element, required for a controlled component.
|
|
92
65
|
*/
|
|
93
66
|
value?: string;
|
|
94
|
-
} & SeleniumProps;
|
|
67
|
+
} & FieldComponentProps & SeleniumProps;
|
|
95
68
|
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
96
69
|
/**
|
|
97
70
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -103,46 +76,18 @@ declare const MemoizedTextField: import("react").MemoExoticComponent<import("rea
|
|
|
103
76
|
* End `InputAdornment` for this component.
|
|
104
77
|
*/
|
|
105
78
|
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
79
|
/**
|
|
111
80
|
* If `true`, the component will receive focus automatically.
|
|
112
81
|
*/
|
|
113
82
|
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
83
|
/**
|
|
127
84
|
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
128
85
|
*/
|
|
129
86
|
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
87
|
/**
|
|
139
88
|
* The label for the `input` element.
|
|
140
89
|
*/
|
|
141
90
|
label: string;
|
|
142
|
-
/**
|
|
143
|
-
* The name of the `input` element. Defaults to the `id` if not set.
|
|
144
|
-
*/
|
|
145
|
-
name?: string | undefined;
|
|
146
91
|
/**
|
|
147
92
|
* Callback fired when the `input` element loses focus.
|
|
148
93
|
*/
|
|
@@ -171,6 +116,6 @@ declare const MemoizedTextField: import("react").MemoExoticComponent<import("rea
|
|
|
171
116
|
* The value of the `input` element, required for a controlled component.
|
|
172
117
|
*/
|
|
173
118
|
value?: string | undefined;
|
|
174
|
-
} & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
119
|
+
} & FieldComponentProps & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
175
120
|
export { MemoizedTextField as TextField };
|
|
176
121
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
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,EAEb,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,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,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;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,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,mBAAmB,GACrB,aAAa,CAAC;AAoGhB,QAAA,MAAM,iBAAiB;IAvJrB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;2FAuGoC,CAAC;AAG1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from "./createShadowRootElement";
|
|
|
49
49
|
export * from "./createUniqueId";
|
|
50
50
|
export * from "./Dialog";
|
|
51
51
|
export * from "./Fieldset";
|
|
52
|
+
export * from "./FieldComponentProps";
|
|
52
53
|
export * from "./Form";
|
|
53
54
|
export * from "./Link";
|
|
54
55
|
export * from "./MenuButton";
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACL,WAAW;AACX,4FAA4F;AAC5F,WAAW;AACX,4FAA4F;AAC5F,iBAAiB;AACjB,4FAA4F;AAC5F,OAAO;AACP,4FAA4F;AAC5F,cAAc;AACd,4FAA4F;AAC5F,SAAS;AACT,4FAA4F;AAC5F,YAAY;AACZ,4FAA4F;AAC5F,YAAY;AACZ,4FAA4F;AAC5F,aAAa;AACb,4FAA4F;AAC5F,QAAQ;AACR,4FAA4F;AAC5F,KAAK;AACL,4FAA4F;AAC5F,iBAAiB,EACjB,aAAa,GACd,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,YAAY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C;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,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;AAsC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,eAAO,MAAM,UAAU;mBAIN,YAAY;;MAEzB,YAAY,CAAC,YAAY,
|
|
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;mBAIN,YAAY;;MAEzB,YAAY,CAAC,YAAY,CAq5E5B,CAAC"}
|
package/dist/theme/components.js
CHANGED
|
@@ -274,16 +274,33 @@ export const components = _ref => {
|
|
|
274
274
|
},
|
|
275
275
|
MuiAlertTitle: {
|
|
276
276
|
styleOverrides: {
|
|
277
|
-
root: {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
277
|
+
root: _ref6 => {
|
|
278
|
+
let {
|
|
279
|
+
ownerState
|
|
280
|
+
} = _ref6;
|
|
281
|
+
return {
|
|
282
|
+
marginBlockStart: 0,
|
|
283
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
284
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading6,
|
|
285
|
+
fontSize: odysseyTokens.TypographySizeHeading6,
|
|
286
|
+
fontWeight: odysseyTokens.TypographyWeightHeading,
|
|
287
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
288
|
+
...(ownerState.severity === "info" && {
|
|
289
|
+
color: odysseyTokens.PalettePrimaryDark
|
|
290
|
+
}),
|
|
291
|
+
...(ownerState.severity === "error" && {
|
|
292
|
+
color: odysseyTokens.PaletteDangerDarker
|
|
293
|
+
}),
|
|
294
|
+
...(ownerState.severity === "success" && {
|
|
295
|
+
color: odysseyTokens.PaletteSuccessDarker
|
|
296
|
+
}),
|
|
297
|
+
...(ownerState.severity === "warning" && {
|
|
298
|
+
color: odysseyTokens.PaletteWarningDarker
|
|
299
|
+
}),
|
|
300
|
+
[`&:last-child`]: {
|
|
301
|
+
marginBlockEnd: 0
|
|
302
|
+
}
|
|
303
|
+
};
|
|
287
304
|
}
|
|
288
305
|
}
|
|
289
306
|
},
|
|
@@ -317,10 +334,10 @@ export const components = _ref => {
|
|
|
317
334
|
marginRight: "unset",
|
|
318
335
|
padding: odysseyTokens.Spacing1
|
|
319
336
|
},
|
|
320
|
-
endAdornment:
|
|
337
|
+
endAdornment: _ref7 => {
|
|
321
338
|
let {
|
|
322
339
|
ownerState
|
|
323
|
-
} =
|
|
340
|
+
} = _ref7;
|
|
324
341
|
return {
|
|
325
342
|
display: "flex",
|
|
326
343
|
gap: odysseyTokens.Spacing1,
|
|
@@ -382,10 +399,10 @@ export const components = _ref => {
|
|
|
382
399
|
background: "transparent",
|
|
383
400
|
paddingBlockStart: odysseyTokens.Spacing1
|
|
384
401
|
},
|
|
385
|
-
inputRoot:
|
|
402
|
+
inputRoot: _ref8 => {
|
|
386
403
|
let {
|
|
387
404
|
ownerState
|
|
388
|
-
} =
|
|
405
|
+
} = _ref8;
|
|
389
406
|
return {
|
|
390
407
|
...(ownerState.readOnly === true && {
|
|
391
408
|
backgroundColor: odysseyTokens.HueNeutral50,
|
|
@@ -399,10 +416,10 @@ export const components = _ref => {
|
|
|
399
416
|
},
|
|
400
417
|
MuiBackdrop: {
|
|
401
418
|
styleOverrides: {
|
|
402
|
-
root:
|
|
419
|
+
root: _ref9 => {
|
|
403
420
|
let {
|
|
404
421
|
ownerState
|
|
405
|
-
} =
|
|
422
|
+
} = _ref9;
|
|
406
423
|
return {
|
|
407
424
|
backgroundColor: "rgba(29,29,33,0.75)",
|
|
408
425
|
...(ownerState.invisible === true && {
|
|
@@ -449,10 +466,10 @@ export const components = _ref => {
|
|
|
449
466
|
disableElevation: true
|
|
450
467
|
},
|
|
451
468
|
styleOverrides: {
|
|
452
|
-
root:
|
|
469
|
+
root: _ref10 => {
|
|
453
470
|
let {
|
|
454
471
|
ownerState
|
|
455
|
-
} =
|
|
472
|
+
} = _ref10;
|
|
456
473
|
return {
|
|
457
474
|
minWidth: "unset",
|
|
458
475
|
paddingBlock: odysseyTokens.Spacing3,
|
|
@@ -598,10 +615,10 @@ export const components = _ref => {
|
|
|
598
615
|
})
|
|
599
616
|
};
|
|
600
617
|
},
|
|
601
|
-
endIcon:
|
|
618
|
+
endIcon: _ref11 => {
|
|
602
619
|
let {
|
|
603
620
|
ownerState
|
|
604
|
-
} =
|
|
621
|
+
} = _ref11;
|
|
605
622
|
return {
|
|
606
623
|
display: "inline-flex",
|
|
607
624
|
margin: 0,
|
|
@@ -611,10 +628,10 @@ export const components = _ref => {
|
|
|
611
628
|
})
|
|
612
629
|
};
|
|
613
630
|
},
|
|
614
|
-
startIcon:
|
|
631
|
+
startIcon: _ref12 => {
|
|
615
632
|
let {
|
|
616
633
|
ownerState
|
|
617
|
-
} =
|
|
634
|
+
} = _ref12;
|
|
618
635
|
return {
|
|
619
636
|
display: "inline-flex",
|
|
620
637
|
margin: 0,
|
|
@@ -639,10 +656,10 @@ export const components = _ref => {
|
|
|
639
656
|
indeterminateIcon: _jsx(SubtractIcon, {})
|
|
640
657
|
},
|
|
641
658
|
styleOverrides: {
|
|
642
|
-
root:
|
|
659
|
+
root: _ref13 => {
|
|
643
660
|
let {
|
|
644
661
|
theme
|
|
645
|
-
} =
|
|
662
|
+
} = _ref13;
|
|
646
663
|
return {
|
|
647
664
|
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
648
665
|
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
@@ -716,10 +733,10 @@ export const components = _ref => {
|
|
|
716
733
|
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
717
734
|
},
|
|
718
735
|
styleOverrides: {
|
|
719
|
-
root:
|
|
736
|
+
root: _ref14 => {
|
|
720
737
|
let {
|
|
721
738
|
ownerState
|
|
722
|
-
} =
|
|
739
|
+
} = _ref14;
|
|
723
740
|
return {
|
|
724
741
|
height: "auto",
|
|
725
742
|
paddingBlock: `calc(${odysseyTokens.Spacing2} - ${odysseyTokens.BorderWidthMain})`,
|
|
@@ -872,20 +889,20 @@ export const components = _ref => {
|
|
|
872
889
|
variant: "indeterminate"
|
|
873
890
|
},
|
|
874
891
|
styleOverrides: {
|
|
875
|
-
root:
|
|
892
|
+
root: _ref15 => {
|
|
876
893
|
let {
|
|
877
894
|
ownerState
|
|
878
|
-
} =
|
|
895
|
+
} = _ref15;
|
|
879
896
|
return {
|
|
880
897
|
...(ownerState.color !== "inherit" && {
|
|
881
898
|
color: odysseyTokens.PalettePrimaryDark
|
|
882
899
|
})
|
|
883
900
|
};
|
|
884
901
|
},
|
|
885
|
-
circle:
|
|
902
|
+
circle: _ref16 => {
|
|
886
903
|
let {
|
|
887
904
|
ownerState
|
|
888
|
-
} =
|
|
905
|
+
} = _ref16;
|
|
889
906
|
return {
|
|
890
907
|
...(ownerState.variant === "indeterminate" && {
|
|
891
908
|
strokeDasharray: "160%, 360%"
|
|
@@ -1214,10 +1231,10 @@ export const components = _ref => {
|
|
|
1214
1231
|
},
|
|
1215
1232
|
MuiDialogContent: {
|
|
1216
1233
|
styleOverrides: {
|
|
1217
|
-
root:
|
|
1234
|
+
root: _ref17 => {
|
|
1218
1235
|
let {
|
|
1219
1236
|
ownerState
|
|
1220
|
-
} =
|
|
1237
|
+
} = _ref17;
|
|
1221
1238
|
return {
|
|
1222
1239
|
paddingBlock: 0,
|
|
1223
1240
|
paddingInline: odysseyTokens.Spacing6,
|
|
@@ -1270,10 +1287,10 @@ export const components = _ref => {
|
|
|
1270
1287
|
margin: "normal"
|
|
1271
1288
|
},
|
|
1272
1289
|
styleOverrides: {
|
|
1273
|
-
root:
|
|
1290
|
+
root: _ref18 => {
|
|
1274
1291
|
let {
|
|
1275
1292
|
ownerState
|
|
1276
|
-
} =
|
|
1293
|
+
} = _ref18;
|
|
1277
1294
|
return {
|
|
1278
1295
|
width: "100%",
|
|
1279
1296
|
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
@@ -1300,10 +1317,10 @@ export const components = _ref => {
|
|
|
1300
1317
|
},
|
|
1301
1318
|
MuiFormControlLabel: {
|
|
1302
1319
|
styleOverrides: {
|
|
1303
|
-
root:
|
|
1320
|
+
root: _ref19 => {
|
|
1304
1321
|
let {
|
|
1305
1322
|
ownerState
|
|
1306
|
-
} =
|
|
1323
|
+
} = _ref19;
|
|
1307
1324
|
return {
|
|
1308
1325
|
gap: odysseyTokens.Spacing2,
|
|
1309
1326
|
marginInlineStart: 0,
|
|
@@ -1408,10 +1425,10 @@ export const components = _ref => {
|
|
|
1408
1425
|
},
|
|
1409
1426
|
MuiInputAdornment: {
|
|
1410
1427
|
styleOverrides: {
|
|
1411
|
-
root:
|
|
1428
|
+
root: _ref20 => {
|
|
1412
1429
|
let {
|
|
1413
1430
|
ownerState
|
|
1414
|
-
} =
|
|
1431
|
+
} = _ref20;
|
|
1415
1432
|
return {
|
|
1416
1433
|
display: "flex",
|
|
1417
1434
|
minWidth: "1.25em",
|
|
@@ -1438,11 +1455,11 @@ export const components = _ref => {
|
|
|
1438
1455
|
minRows: 3
|
|
1439
1456
|
},
|
|
1440
1457
|
styleOverrides: {
|
|
1441
|
-
root:
|
|
1458
|
+
root: _ref21 => {
|
|
1442
1459
|
let {
|
|
1443
1460
|
ownerState,
|
|
1444
1461
|
theme
|
|
1445
|
-
} =
|
|
1462
|
+
} = _ref21;
|
|
1446
1463
|
return {
|
|
1447
1464
|
...theme.typography.body1,
|
|
1448
1465
|
flex: "1",
|
|
@@ -1533,10 +1550,10 @@ export const components = _ref => {
|
|
|
1533
1550
|
shrink: false
|
|
1534
1551
|
},
|
|
1535
1552
|
styleOverrides: {
|
|
1536
|
-
root:
|
|
1553
|
+
root: _ref22 => {
|
|
1537
1554
|
let {
|
|
1538
1555
|
ownerState
|
|
1539
|
-
} =
|
|
1556
|
+
} = _ref22;
|
|
1540
1557
|
return {
|
|
1541
1558
|
display: "flex",
|
|
1542
1559
|
justifyContent: "space-between",
|
|
@@ -1658,10 +1675,10 @@ export const components = _ref => {
|
|
|
1658
1675
|
},
|
|
1659
1676
|
MuiMenuItem: {
|
|
1660
1677
|
styleOverrides: {
|
|
1661
|
-
root:
|
|
1678
|
+
root: _ref23 => {
|
|
1662
1679
|
let {
|
|
1663
1680
|
ownerState
|
|
1664
|
-
} =
|
|
1681
|
+
} = _ref23;
|
|
1665
1682
|
return {
|
|
1666
1683
|
gap: odysseyTokens.Spacing2,
|
|
1667
1684
|
minHeight: "unset",
|
|
@@ -1784,10 +1801,10 @@ export const components = _ref => {
|
|
|
1784
1801
|
checkedIcon: _jsx(_Fragment, {})
|
|
1785
1802
|
},
|
|
1786
1803
|
styleOverrides: {
|
|
1787
|
-
root:
|
|
1804
|
+
root: _ref24 => {
|
|
1788
1805
|
let {
|
|
1789
1806
|
theme
|
|
1790
|
-
} =
|
|
1807
|
+
} = _ref24;
|
|
1791
1808
|
return {
|
|
1792
1809
|
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1793
1810
|
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
@@ -1910,10 +1927,10 @@ export const components = _ref => {
|
|
|
1910
1927
|
color: "inherit"
|
|
1911
1928
|
},
|
|
1912
1929
|
styleOverrides: {
|
|
1913
|
-
root:
|
|
1930
|
+
root: _ref25 => {
|
|
1914
1931
|
let {
|
|
1915
1932
|
ownerState
|
|
1916
|
-
} =
|
|
1933
|
+
} = _ref25;
|
|
1917
1934
|
return {
|
|
1918
1935
|
fontSize: `${odysseyTokens.TypographyLineHeightUi}rem`,
|
|
1919
1936
|
...(ownerState.fontSize === "small" && {
|
|
@@ -1931,10 +1948,10 @@ export const components = _ref => {
|
|
|
1931
1948
|
iconPosition: "start"
|
|
1932
1949
|
},
|
|
1933
1950
|
styleOverrides: {
|
|
1934
|
-
root:
|
|
1951
|
+
root: _ref26 => {
|
|
1935
1952
|
let {
|
|
1936
1953
|
ownerState
|
|
1937
|
-
} =
|
|
1954
|
+
} = _ref26;
|
|
1938
1955
|
return {
|
|
1939
1956
|
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
1940
1957
|
minWidth: "unset",
|
|
@@ -1988,10 +2005,10 @@ export const components = _ref => {
|
|
|
1988
2005
|
},
|
|
1989
2006
|
MuiTable: {
|
|
1990
2007
|
styleOverrides: {
|
|
1991
|
-
root:
|
|
2008
|
+
root: _ref27 => {
|
|
1992
2009
|
let {
|
|
1993
2010
|
ownerState
|
|
1994
|
-
} =
|
|
2011
|
+
} = _ref27;
|
|
1995
2012
|
return {
|
|
1996
2013
|
display: "table",
|
|
1997
2014
|
width: "auto",
|
|
@@ -2023,11 +2040,11 @@ export const components = _ref => {
|
|
|
2023
2040
|
},
|
|
2024
2041
|
MuiTableCell: {
|
|
2025
2042
|
styleOverrides: {
|
|
2026
|
-
root:
|
|
2043
|
+
root: _ref28 => {
|
|
2027
2044
|
let {
|
|
2028
2045
|
theme,
|
|
2029
2046
|
ownerState
|
|
2030
|
-
} =
|
|
2047
|
+
} = _ref28;
|
|
2031
2048
|
return {
|
|
2032
2049
|
...theme.typography.body1,
|
|
2033
2050
|
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
@@ -2168,11 +2185,11 @@ export const components = _ref => {
|
|
|
2168
2185
|
}
|
|
2169
2186
|
}
|
|
2170
2187
|
},
|
|
2171
|
-
icon:
|
|
2188
|
+
icon: _ref29 => {
|
|
2172
2189
|
let {
|
|
2173
2190
|
theme,
|
|
2174
2191
|
ownerState
|
|
2175
|
-
} =
|
|
2192
|
+
} = _ref29;
|
|
2176
2193
|
return {
|
|
2177
2194
|
fontSize: "inherit",
|
|
2178
2195
|
marginInlineEnd: 0,
|
|
@@ -2222,10 +2239,10 @@ export const components = _ref => {
|
|
|
2222
2239
|
placement: "top"
|
|
2223
2240
|
},
|
|
2224
2241
|
styleOverrides: {
|
|
2225
|
-
tooltip:
|
|
2242
|
+
tooltip: _ref30 => {
|
|
2226
2243
|
let {
|
|
2227
2244
|
ownerState
|
|
2228
|
-
} =
|
|
2245
|
+
} = _ref30;
|
|
2229
2246
|
return {
|
|
2230
2247
|
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
2231
2248
|
paddingBlock: odysseyTokens.Spacing2,
|