@okta/odyssey-react-mui 1.13.3 → 1.13.5
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/Accordion.js +11 -12
- package/dist/Accordion.js.map +1 -1
- package/dist/Autocomplete.js +63 -70
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Badge.js +7 -8
- package/dist/Badge.js.map +1 -1
- package/dist/Banner.js +10 -11
- package/dist/Banner.js.map +1 -1
- package/dist/Box.js +16 -19
- package/dist/Box.js.map +1 -1
- package/dist/Breadcrumbs.js +12 -14
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/Button.js +20 -21
- package/dist/Button.js.map +1 -1
- package/dist/Callout.js +11 -12
- package/dist/Callout.js.map +1 -1
- package/dist/Checkbox.js +20 -21
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +27 -31
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +10 -13
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +11 -12
- package/dist/Dialog.js.map +1 -1
- package/dist/ErrorMessageList.js +3 -4
- package/dist/ErrorMessageList.js.map +1 -1
- package/dist/Field.js +16 -17
- package/dist/Field.js.map +1 -1
- package/dist/FieldError.js +7 -8
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +7 -8
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +9 -10
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +11 -12
- package/dist/Fieldset.js.map +1 -1
- package/dist/Form.js +16 -17
- package/dist/Form.js.map +1 -1
- package/dist/Link.js +13 -14
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +18 -19
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js +10 -11
- package/dist/MenuItem.js.map +1 -1
- package/dist/MuiPropsChild.js +4 -5
- package/dist/MuiPropsChild.js.map +1 -1
- package/dist/NativeSelect.js +49 -53
- package/dist/NativeSelect.js.map +1 -1
- package/dist/OdysseyCacheProvider.js +6 -7
- package/dist/OdysseyCacheProvider.js.map +1 -1
- package/dist/OdysseyProvider.js +26 -29
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/OdysseyThemeProvider.js +8 -9
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/OdysseyTranslationProvider.js +5 -6
- package/dist/OdysseyTranslationProvider.js.map +1 -1
- package/dist/PasswordField.js +64 -68
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +13 -14
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +34 -38
- package/dist/RadioGroup.js.map +1 -1
- package/dist/ScreenReaderText.js +9 -12
- package/dist/ScreenReaderText.js.map +1 -1
- package/dist/SearchField.js +56 -60
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +50 -54
- package/dist/Select.js.map +1 -1
- package/dist/Status.js +6 -7
- package/dist/Status.js.map +1 -1
- package/dist/Tabs.js +14 -16
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +9 -10
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js +4 -5
- package/dist/TagList.js.map +1 -1
- package/dist/TextField.js +70 -74
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +13 -14
- package/dist/Toast.js.map +1 -1
- package/dist/ToastStack.js +3 -4
- package/dist/ToastStack.js.map +1 -1
- package/dist/Tooltip.js +17 -20
- package/dist/Tooltip.js.map +1 -1
- package/dist/Typography.js +212 -243
- package/dist/Typography.js.map +1 -1
- package/dist/i18n.js +1 -2
- package/dist/i18n.js.map +1 -1
- package/dist/inputUtils.js +9 -11
- package/dist/inputUtils.js.map +1 -1
- package/dist/labs/DataFilters.js +18 -22
- package/dist/labs/DataFilters.js.map +1 -1
- package/dist/labs/DataTable.js +78 -92
- package/dist/labs/DataTable.js.map +1 -1
- package/dist/labs/DataTablePagination.js +9 -10
- package/dist/labs/DataTablePagination.js.map +1 -1
- package/dist/labs/DatePicker.js +10 -12
- package/dist/labs/DatePicker.js.map +1 -1
- package/dist/labs/GroupPicker.js +37 -44
- package/dist/labs/GroupPicker.js.map +1 -1
- package/dist/labs/PaginatedTable.js +23 -27
- package/dist/labs/PaginatedTable.js.map +1 -1
- package/dist/labs/StaticTable.js +17 -21
- package/dist/labs/StaticTable.js.map +1 -1
- package/dist/labs/Switch.js +25 -23
- package/dist/labs/Switch.js.map +1 -1
- package/dist/labs/VirtualizedAutocomplete.js +61 -68
- package/dist/labs/VirtualizedAutocomplete.js.map +1 -1
- package/dist/labs/datePickerTheme.js +266 -350
- package/dist/labs/datePickerTheme.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui.js +2 -0
- package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
- package/dist/src/i18n.d.ts +1 -1
- package/dist/src/i18n.d.ts.map +1 -1
- package/dist/src/labs/Switch.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/theme/components.js +1104 -1198
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/createOdysseyMuiTheme.js +22 -25
- package/dist/theme/createOdysseyMuiTheme.js.map +1 -1
- package/dist/theme/mixins.js +3 -4
- package/dist/theme/mixins.js.map +1 -1
- package/dist/theme/palette.js +3 -4
- package/dist/theme/palette.js.map +1 -1
- package/dist/theme/shape.js +3 -4
- package/dist/theme/shape.js.map +1 -1
- package/dist/theme/spacing.js +3 -4
- package/dist/theme/spacing.js.map +1 -1
- package/dist/theme/typography.js +3 -4
- package/dist/theme/typography.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/useNormalizedKey.js +1 -4
- package/dist/useNormalizedKey.js.map +1 -1
- package/package.json +3 -3
- package/src/i18n.ts +1 -1
- package/src/labs/Switch.tsx +3 -1
- package/src/properties/odyssey-react-mui.properties +2 -0
- package/src/properties/ts/odyssey-react-mui.ts +1 -1
package/dist/theme/components.js
CHANGED
|
@@ -36,11 +36,10 @@ import { typographyClasses } from "@mui/material/Typography";
|
|
|
36
36
|
import { CheckCircleFilledIcon, CheckIcon, ChevronDownIcon, CloseCircleFilledIcon, CloseIcon, DangerDiamondFilledIcon, InformationCircleFilledIcon, SubtractIcon, WarningFilledIcon } from "../icons.generated/index.js";
|
|
37
37
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
38
38
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
39
|
-
export const components =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} = _ref;
|
|
39
|
+
export const components = ({
|
|
40
|
+
odysseyTokens,
|
|
41
|
+
shadowDomElement
|
|
42
|
+
}) => {
|
|
44
43
|
return {
|
|
45
44
|
MuiAccordion: {
|
|
46
45
|
styleOverrides: {
|
|
@@ -132,203 +131,188 @@ export const components = _ref => {
|
|
|
132
131
|
}
|
|
133
132
|
},
|
|
134
133
|
styleOverrides: {
|
|
135
|
-
root:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
134
|
+
root: ({
|
|
135
|
+
ownerState
|
|
136
|
+
}) => ({
|
|
137
|
+
padding: odysseyTokens.Spacing4,
|
|
138
|
+
gap: odysseyTokens.Spacing4,
|
|
139
|
+
color: odysseyTokens.TypographyColorBody,
|
|
140
|
+
border: 0,
|
|
141
|
+
...(ownerState.severity === "success" && {
|
|
142
|
+
backgroundColor: odysseyTokens.HueGreen100,
|
|
143
|
+
...(ownerState.variant === "toast" && {
|
|
144
|
+
backgroundColor: odysseyTokens.HueGreen100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
145
|
+
})
|
|
146
|
+
}),
|
|
147
|
+
...(ownerState.severity === "info" && {
|
|
148
|
+
backgroundColor: odysseyTokens.HueBlue100,
|
|
149
|
+
...(ownerState.variant === "toast" && {
|
|
150
|
+
backgroundColor: odysseyTokens.HueBlue100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
151
|
+
})
|
|
152
|
+
}),
|
|
153
|
+
...(ownerState.severity === "error" && {
|
|
154
|
+
backgroundColor: odysseyTokens.HueRed100,
|
|
155
|
+
...(ownerState.variant === "toast" && {
|
|
156
|
+
backgroundColor: odysseyTokens.HueRed100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
157
|
+
})
|
|
158
|
+
}),
|
|
159
|
+
...(ownerState.severity === "warning" && {
|
|
160
|
+
backgroundColor: odysseyTokens.HueYellow100,
|
|
161
|
+
...(ownerState.variant === "toast" && {
|
|
162
|
+
backgroundColor: odysseyTokens.HueYellow100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
163
|
+
})
|
|
164
|
+
}),
|
|
165
|
+
[`& .${alertTitleClasses.root}`]: {
|
|
144
166
|
...(ownerState.severity === "success" && {
|
|
145
|
-
|
|
146
|
-
...(ownerState.variant === "toast" && {
|
|
147
|
-
backgroundColor: odysseyTokens.HueGreen100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
148
|
-
})
|
|
167
|
+
color: odysseyTokens.PaletteSuccessHeading
|
|
149
168
|
}),
|
|
150
169
|
...(ownerState.severity === "info" && {
|
|
151
|
-
|
|
152
|
-
...(ownerState.variant === "toast" && {
|
|
153
|
-
backgroundColor: odysseyTokens.HueBlue100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
154
|
-
})
|
|
170
|
+
color: odysseyTokens.PalettePrimaryHeading
|
|
155
171
|
}),
|
|
156
172
|
...(ownerState.severity === "error" && {
|
|
157
|
-
|
|
158
|
-
...(ownerState.variant === "toast" && {
|
|
159
|
-
backgroundColor: odysseyTokens.HueRed100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
160
|
-
})
|
|
173
|
+
color: odysseyTokens.PaletteDangerHeading
|
|
161
174
|
}),
|
|
162
175
|
...(ownerState.severity === "warning" && {
|
|
163
|
-
|
|
164
|
-
...(ownerState.variant === "toast" && {
|
|
165
|
-
backgroundColor: odysseyTokens.HueYellow100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
166
|
-
})
|
|
176
|
+
color: odysseyTokens.PaletteWarningHeading
|
|
167
177
|
}),
|
|
168
|
-
[`& .${alertTitleClasses.root}`]: {
|
|
169
|
-
...(ownerState.severity === "success" && {
|
|
170
|
-
color: odysseyTokens.PaletteSuccessHeading
|
|
171
|
-
}),
|
|
172
|
-
...(ownerState.severity === "info" && {
|
|
173
|
-
color: odysseyTokens.PalettePrimaryHeading
|
|
174
|
-
}),
|
|
175
|
-
...(ownerState.severity === "error" && {
|
|
176
|
-
color: odysseyTokens.PaletteDangerHeading
|
|
177
|
-
}),
|
|
178
|
-
...(ownerState.severity === "warning" && {
|
|
179
|
-
color: odysseyTokens.PaletteWarningHeading
|
|
180
|
-
}),
|
|
181
|
-
...(ownerState.variant === "banner" && {
|
|
182
|
-
marginBlockEnd: 0
|
|
183
|
-
}),
|
|
184
|
-
...(ownerState.variant === "callout" && {
|
|
185
|
-
fontSize: odysseyTokens.TypographySizeHeading5,
|
|
186
|
-
lineHeight: odysseyTokens.TypographyLineHeightHeading5
|
|
187
|
-
})
|
|
188
|
-
},
|
|
189
178
|
...(ownerState.variant === "banner" && {
|
|
190
|
-
|
|
191
|
-
justifyContent: "center",
|
|
192
|
-
alignItems: "center",
|
|
193
|
-
borderRadius: 0,
|
|
194
|
-
...(ownerState.onClose !== undefined && {
|
|
195
|
-
paddingInline: odysseyTokens.Spacing6
|
|
196
|
-
})
|
|
179
|
+
marginBlockEnd: 0
|
|
197
180
|
}),
|
|
198
181
|
...(ownerState.variant === "callout" && {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
"&:not(:last-child)": {
|
|
202
|
-
marginBottom: odysseyTokens.Spacing6
|
|
203
|
-
}
|
|
204
|
-
}),
|
|
205
|
-
...(ownerState.variant === "toast" && {
|
|
206
|
-
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
207
|
-
borderRadius: odysseyTokens.BorderRadiusOuter,
|
|
208
|
-
position: "relative",
|
|
209
|
-
paddingInlineStart: odysseyTokens.Spacing5,
|
|
210
|
-
paddingInlineEnd: odysseyTokens.Spacing4,
|
|
211
|
-
paddingBlock: odysseyTokens.Spacing3,
|
|
212
|
-
alignItems: "flex-start",
|
|
213
|
-
backdropFilter: "blur(10px)"
|
|
182
|
+
fontSize: odysseyTokens.TypographySizeHeading5,
|
|
183
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading5
|
|
214
184
|
})
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
padding: 0,
|
|
224
|
-
marginInlineEnd: 0,
|
|
225
|
-
insetBlockStart: "50%",
|
|
226
|
-
insetInlineEnd: odysseyTokens.Spacing2,
|
|
227
|
-
position: "absolute",
|
|
228
|
-
transform: "translateY(-50%)"
|
|
229
|
-
}),
|
|
230
|
-
...(ownerState.variant === "toast" && {
|
|
231
|
-
padding: 0,
|
|
232
|
-
marginInline: 0,
|
|
233
|
-
marginBlock: 1,
|
|
234
|
-
[`& .${buttonClasses.root}`]: {
|
|
235
|
-
"&:hover, &:focus": {
|
|
236
|
-
backgroundColor: odysseyTokens.PaletteNeutralDark.concat("11")
|
|
237
|
-
},
|
|
238
|
-
"&:active": {
|
|
239
|
-
backgroundColor: odysseyTokens.PaletteNeutralDark.concat("22")
|
|
240
|
-
}
|
|
241
|
-
}
|
|
185
|
+
},
|
|
186
|
+
...(ownerState.variant === "banner" && {
|
|
187
|
+
position: "relative",
|
|
188
|
+
justifyContent: "center",
|
|
189
|
+
alignItems: "center",
|
|
190
|
+
borderRadius: 0,
|
|
191
|
+
...(ownerState.onClose !== undefined && {
|
|
192
|
+
paddingInline: odysseyTokens.Spacing6
|
|
242
193
|
})
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
return {
|
|
250
|
-
marginInlineEnd: 0,
|
|
251
|
-
padding: 0,
|
|
252
|
-
height: `calc(${odysseyTokens.TypographySizeHeading6} * ${odysseyTokens.TypographyLineHeightHeading6})`,
|
|
253
|
-
opacity: 1,
|
|
254
|
-
...(ownerState.severity === "info" && {
|
|
255
|
-
color: odysseyTokens.PalettePrimaryMain
|
|
256
|
-
}),
|
|
257
|
-
...(ownerState.severity === "error" && {
|
|
258
|
-
color: odysseyTokens.PaletteDangerMain
|
|
259
|
-
}),
|
|
260
|
-
...(ownerState.severity === "success" && {
|
|
261
|
-
color: odysseyTokens.PaletteSuccessMain
|
|
262
|
-
}),
|
|
263
|
-
...(ownerState.severity === "warning" && {
|
|
264
|
-
color: odysseyTokens.HueYellow400
|
|
265
|
-
}),
|
|
266
|
-
...(ownerState.variant === "toast" && {
|
|
267
|
-
marginBlock: odysseyTokens.Spacing2
|
|
268
|
-
}),
|
|
269
|
-
...(ownerState.variant === "callout" && {
|
|
270
|
-
marginBlock: 1.5
|
|
271
|
-
}),
|
|
272
|
-
[`& .${svgIconClasses.root}`]: {
|
|
273
|
-
alignSelf: "center",
|
|
274
|
-
fontSize: odysseyTokens.TypographySizeHeading6
|
|
194
|
+
}),
|
|
195
|
+
...(ownerState.variant === "callout" && {
|
|
196
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
197
|
+
padding: odysseyTokens.Spacing5,
|
|
198
|
+
"&:not(:last-child)": {
|
|
199
|
+
marginBottom: odysseyTokens.Spacing6
|
|
275
200
|
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
201
|
+
}),
|
|
202
|
+
...(ownerState.variant === "toast" && {
|
|
203
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
204
|
+
borderRadius: odysseyTokens.BorderRadiusOuter,
|
|
205
|
+
position: "relative",
|
|
206
|
+
paddingInlineStart: odysseyTokens.Spacing5,
|
|
207
|
+
paddingInlineEnd: odysseyTokens.Spacing4,
|
|
208
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
209
|
+
alignItems: "flex-start",
|
|
210
|
+
backdropFilter: "blur(10px)"
|
|
211
|
+
})
|
|
212
|
+
}),
|
|
213
|
+
action: ({
|
|
214
|
+
ownerState
|
|
215
|
+
}) => ({
|
|
216
|
+
...(ownerState.variant === "banner" && {
|
|
283
217
|
padding: 0,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
[`& .${
|
|
295
|
-
|
|
296
|
-
|
|
218
|
+
marginInlineEnd: 0,
|
|
219
|
+
insetBlockStart: "50%",
|
|
220
|
+
insetInlineEnd: odysseyTokens.Spacing2,
|
|
221
|
+
position: "absolute",
|
|
222
|
+
transform: "translateY(-50%)"
|
|
223
|
+
}),
|
|
224
|
+
...(ownerState.variant === "toast" && {
|
|
225
|
+
padding: 0,
|
|
226
|
+
marginInline: 0,
|
|
227
|
+
marginBlock: 1,
|
|
228
|
+
[`& .${buttonClasses.root}`]: {
|
|
229
|
+
"&:hover, &:focus": {
|
|
230
|
+
backgroundColor: odysseyTokens.PaletteNeutralDark.concat("11")
|
|
231
|
+
},
|
|
232
|
+
"&:active": {
|
|
233
|
+
backgroundColor: odysseyTokens.PaletteNeutralDark.concat("22")
|
|
234
|
+
}
|
|
297
235
|
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
236
|
+
})
|
|
237
|
+
}),
|
|
238
|
+
icon: ({
|
|
239
|
+
ownerState
|
|
240
|
+
}) => ({
|
|
241
|
+
marginInlineEnd: 0,
|
|
242
|
+
padding: 0,
|
|
243
|
+
height: `calc(${odysseyTokens.TypographySizeHeading6} * ${odysseyTokens.TypographyLineHeightHeading6})`,
|
|
244
|
+
opacity: 1,
|
|
245
|
+
...(ownerState.severity === "info" && {
|
|
246
|
+
color: odysseyTokens.PalettePrimaryMain
|
|
247
|
+
}),
|
|
248
|
+
...(ownerState.severity === "error" && {
|
|
249
|
+
color: odysseyTokens.PaletteDangerMain
|
|
250
|
+
}),
|
|
251
|
+
...(ownerState.severity === "success" && {
|
|
252
|
+
color: odysseyTokens.PaletteSuccessMain
|
|
253
|
+
}),
|
|
254
|
+
...(ownerState.severity === "warning" && {
|
|
255
|
+
color: odysseyTokens.HueYellow400
|
|
256
|
+
}),
|
|
257
|
+
...(ownerState.variant === "toast" && {
|
|
258
|
+
marginBlock: odysseyTokens.Spacing2
|
|
259
|
+
}),
|
|
260
|
+
...(ownerState.variant === "callout" && {
|
|
261
|
+
marginBlock: 1.5
|
|
262
|
+
}),
|
|
263
|
+
[`& .${svgIconClasses.root}`]: {
|
|
264
|
+
alignSelf: "center",
|
|
265
|
+
fontSize: odysseyTokens.TypographySizeHeading6
|
|
266
|
+
}
|
|
267
|
+
}),
|
|
268
|
+
message: ({
|
|
269
|
+
ownerState
|
|
270
|
+
}) => ({
|
|
271
|
+
padding: 0,
|
|
272
|
+
overflow: "visible",
|
|
273
|
+
...(ownerState.variant === "banner" && {
|
|
274
|
+
display: "flex",
|
|
275
|
+
justifyContent: "space-between",
|
|
276
|
+
gap: odysseyTokens.Spacing4
|
|
277
|
+
}),
|
|
278
|
+
...(ownerState.variant === "toast" && {
|
|
279
|
+
flexGrow: 1,
|
|
280
|
+
marginBlock: odysseyTokens.Spacing2
|
|
281
|
+
}),
|
|
282
|
+
[`& .${linkClasses.root}`]: {
|
|
283
|
+
display: "inline-block",
|
|
284
|
+
marginTop: odysseyTokens.Spacing5
|
|
285
|
+
}
|
|
286
|
+
})
|
|
300
287
|
}
|
|
301
288
|
},
|
|
302
289
|
MuiAlertTitle: {
|
|
303
290
|
styleOverrides: {
|
|
304
|
-
root:
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
}
|
|
291
|
+
root: ({
|
|
292
|
+
ownerState
|
|
293
|
+
}) => ({
|
|
294
|
+
marginBlockStart: 0,
|
|
295
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
296
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading6,
|
|
297
|
+
fontSize: odysseyTokens.TypographySizeHeading6,
|
|
298
|
+
fontWeight: odysseyTokens.TypographyWeightHeading,
|
|
299
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
300
|
+
...(ownerState.severity === "info" && {
|
|
301
|
+
color: odysseyTokens.PalettePrimaryDark
|
|
302
|
+
}),
|
|
303
|
+
...(ownerState.severity === "error" && {
|
|
304
|
+
color: odysseyTokens.PaletteDangerDarker
|
|
305
|
+
}),
|
|
306
|
+
...(ownerState.severity === "success" && {
|
|
307
|
+
color: odysseyTokens.PaletteSuccessDarker
|
|
308
|
+
}),
|
|
309
|
+
...(ownerState.severity === "warning" && {
|
|
310
|
+
color: odysseyTokens.PaletteWarningDarker
|
|
311
|
+
}),
|
|
312
|
+
[`&:last-child`]: {
|
|
313
|
+
marginBlockEnd: 0
|
|
314
|
+
}
|
|
315
|
+
})
|
|
332
316
|
}
|
|
333
317
|
},
|
|
334
318
|
MuiAutocomplete: {
|
|
@@ -361,29 +345,26 @@ export const components = _ref => {
|
|
|
361
345
|
marginRight: "unset",
|
|
362
346
|
padding: odysseyTokens.Spacing1
|
|
363
347
|
},
|
|
364
|
-
endAdornment:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
})
|
|
385
|
-
};
|
|
386
|
-
},
|
|
348
|
+
endAdornment: ({
|
|
349
|
+
ownerState
|
|
350
|
+
}) => ({
|
|
351
|
+
display: "flex",
|
|
352
|
+
gap: odysseyTokens.Spacing1,
|
|
353
|
+
top: "unset",
|
|
354
|
+
right: "unset",
|
|
355
|
+
insetBlockStart: odysseyTokens.Spacing2,
|
|
356
|
+
insetInlineEnd: odysseyTokens.Spacing2,
|
|
357
|
+
maxHeight: "unset",
|
|
358
|
+
alignItems: "center",
|
|
359
|
+
whiteSpace: "nowrap",
|
|
360
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
361
|
+
...(ownerState.disabled === true && {
|
|
362
|
+
display: "none"
|
|
363
|
+
}),
|
|
364
|
+
...(ownerState.readOnly === true && {
|
|
365
|
+
display: "none"
|
|
366
|
+
})
|
|
367
|
+
}),
|
|
387
368
|
listbox: {
|
|
388
369
|
borderWidth: odysseyTokens.BorderWidthMain,
|
|
389
370
|
borderStyle: odysseyTokens.BorderStyleMain,
|
|
@@ -426,34 +407,28 @@ export const components = _ref => {
|
|
|
426
407
|
background: "transparent",
|
|
427
408
|
paddingBlockStart: odysseyTokens.Spacing1
|
|
428
409
|
},
|
|
429
|
-
inputRoot:
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
})
|
|
440
|
-
};
|
|
441
|
-
}
|
|
410
|
+
inputRoot: ({
|
|
411
|
+
ownerState
|
|
412
|
+
}) => ({
|
|
413
|
+
...(ownerState.readOnly === true && {
|
|
414
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
415
|
+
[`&:not(:hover)`]: {
|
|
416
|
+
borderColor: "transparent"
|
|
417
|
+
}
|
|
418
|
+
})
|
|
419
|
+
})
|
|
442
420
|
}
|
|
443
421
|
},
|
|
444
422
|
MuiBackdrop: {
|
|
445
423
|
styleOverrides: {
|
|
446
|
-
root:
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
backgroundColor: "
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
})
|
|
455
|
-
};
|
|
456
|
-
}
|
|
424
|
+
root: ({
|
|
425
|
+
ownerState
|
|
426
|
+
}) => ({
|
|
427
|
+
backgroundColor: "rgba(29,29,33,0.75)",
|
|
428
|
+
...(ownerState.invisible === true && {
|
|
429
|
+
backgroundColor: "transparent"
|
|
430
|
+
})
|
|
431
|
+
})
|
|
457
432
|
}
|
|
458
433
|
},
|
|
459
434
|
MuiBreadcrumbs: {
|
|
@@ -503,181 +478,172 @@ export const components = _ref => {
|
|
|
503
478
|
disableElevation: true
|
|
504
479
|
},
|
|
505
480
|
styleOverrides: {
|
|
506
|
-
root:
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
481
|
+
root: ({
|
|
482
|
+
ownerState
|
|
483
|
+
}) => ({
|
|
484
|
+
minWidth: "unset",
|
|
485
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
486
|
+
paddingInline: odysseyTokens.Spacing4,
|
|
487
|
+
display: "inline-flex",
|
|
488
|
+
position: "relative",
|
|
489
|
+
marginBlock: "0",
|
|
490
|
+
marginInline: "0",
|
|
491
|
+
transitionProperty: "color, background-color, border-color, box-shadow",
|
|
492
|
+
transitionDuration: "100ms",
|
|
493
|
+
transitionTimingFunction: "linear",
|
|
494
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
495
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
496
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
497
|
+
borderColor: "transparent",
|
|
498
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
499
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
500
|
+
fontFamily: odysseyTokens.TypographyFamilyButton,
|
|
501
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
502
|
+
whiteSpace: "nowrap",
|
|
503
|
+
[`.${buttonClasses.root} + &`]: {
|
|
504
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
505
|
+
},
|
|
506
|
+
"&:focus-visible": {
|
|
507
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
508
|
+
outline: "2px solid transparent",
|
|
509
|
+
outlineOffset: "1px"
|
|
510
|
+
},
|
|
511
|
+
"&:disabled": {
|
|
512
|
+
pointerEvents: "none"
|
|
513
|
+
},
|
|
514
|
+
[`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
|
|
515
|
+
"& > *:nth-of-type(1)": {
|
|
516
|
+
fontSize: `${odysseyTokens.TypographyLineHeightUi}em`
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
...(ownerState.variant === "primary" && {
|
|
520
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
521
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
522
|
+
"&:hover": {
|
|
523
|
+
backgroundColor: odysseyTokens.PalettePrimaryDark
|
|
532
524
|
},
|
|
533
|
-
"&:
|
|
534
|
-
|
|
535
|
-
outline: "2px solid transparent",
|
|
536
|
-
outlineOffset: "1px"
|
|
525
|
+
"&:active": {
|
|
526
|
+
backgroundColor: odysseyTokens.PalettePrimaryDarker
|
|
537
527
|
},
|
|
538
528
|
"&:disabled": {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
529
|
+
color: odysseyTokens.PalettePrimaryLight,
|
|
530
|
+
backgroundColor: odysseyTokens.HueBlue100
|
|
531
|
+
}
|
|
532
|
+
}),
|
|
533
|
+
...(ownerState.variant === "secondary" && {
|
|
534
|
+
backgroundColor: "transparent",
|
|
535
|
+
borderColor: odysseyTokens.HueNeutral300,
|
|
536
|
+
color: odysseyTokens.TypographyColorBody,
|
|
537
|
+
"&:hover": {
|
|
538
|
+
backgroundColor: odysseyTokens.HueNeutral100
|
|
545
539
|
},
|
|
546
|
-
|
|
547
|
-
color: odysseyTokens.HueNeutralWhite,
|
|
548
|
-
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
549
|
-
"&:hover": {
|
|
550
|
-
backgroundColor: odysseyTokens.PalettePrimaryDark
|
|
551
|
-
},
|
|
552
|
-
"&:active": {
|
|
553
|
-
backgroundColor: odysseyTokens.PalettePrimaryDarker
|
|
554
|
-
},
|
|
555
|
-
"&:disabled": {
|
|
556
|
-
color: odysseyTokens.PalettePrimaryLight,
|
|
557
|
-
backgroundColor: odysseyTokens.HueBlue100
|
|
558
|
-
}
|
|
559
|
-
}),
|
|
560
|
-
...(ownerState.variant === "secondary" && {
|
|
540
|
+
"&:active": {
|
|
561
541
|
backgroundColor: "transparent",
|
|
562
|
-
borderColor: odysseyTokens.
|
|
563
|
-
color: odysseyTokens.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
},
|
|
567
|
-
"&:active": {
|
|
568
|
-
backgroundColor: "transparent",
|
|
569
|
-
borderColor: odysseyTokens.BorderColorPrimaryControl,
|
|
570
|
-
color: odysseyTokens.TypographyColorAction
|
|
571
|
-
},
|
|
572
|
-
"&:disabled": {
|
|
573
|
-
backgroundColor: odysseyTokens.HueNeutral100,
|
|
574
|
-
borderColor: "transparent",
|
|
575
|
-
color: odysseyTokens.TypographyColorDisabled
|
|
576
|
-
}
|
|
577
|
-
}),
|
|
578
|
-
...(ownerState.variant === "tertiary" && {
|
|
542
|
+
borderColor: odysseyTokens.BorderColorPrimaryControl,
|
|
543
|
+
color: odysseyTokens.TypographyColorAction
|
|
544
|
+
},
|
|
545
|
+
"&:disabled": {
|
|
579
546
|
backgroundColor: odysseyTokens.HueNeutral100,
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
547
|
+
borderColor: "transparent",
|
|
548
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
549
|
+
}
|
|
550
|
+
}),
|
|
551
|
+
...(ownerState.variant === "tertiary" && {
|
|
552
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
553
|
+
color: odysseyTokens.HueNeutral700,
|
|
554
|
+
"&:hover": {
|
|
555
|
+
backgroundColor: odysseyTokens.HueNeutral200,
|
|
556
|
+
color: odysseyTokens.HueNeutral800
|
|
557
|
+
},
|
|
558
|
+
"&:active": {
|
|
559
|
+
backgroundColor: odysseyTokens.HueNeutral300,
|
|
560
|
+
color: odysseyTokens.HueNeutral800
|
|
561
|
+
},
|
|
562
|
+
"&:disabled": {
|
|
563
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
564
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
565
|
+
}
|
|
566
|
+
}),
|
|
567
|
+
...(ownerState.variant === "danger" && {
|
|
568
|
+
backgroundColor: odysseyTokens.PaletteDangerMain,
|
|
569
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
570
|
+
"&:hover": {
|
|
571
|
+
backgroundColor: odysseyTokens.PaletteDangerDark
|
|
572
|
+
},
|
|
573
|
+
"&:focus-visible": {
|
|
574
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
575
|
+
},
|
|
576
|
+
"&:active": {
|
|
577
|
+
backgroundColor: odysseyTokens.PaletteDangerDarker
|
|
578
|
+
},
|
|
579
|
+
"&:disabled": {
|
|
580
|
+
color: odysseyTokens.PaletteDangerLight,
|
|
581
|
+
backgroundColor: odysseyTokens.HueRed100
|
|
582
|
+
}
|
|
583
|
+
}),
|
|
584
|
+
...(ownerState.variant === "floating" && {
|
|
585
|
+
backgroundColor: "transparent",
|
|
586
|
+
color: odysseyTokens.TypographyColorBody,
|
|
587
|
+
"&:hover": {
|
|
588
|
+
backgroundColor: odysseyTokens.HueNeutral100
|
|
589
|
+
},
|
|
590
|
+
"&:active": {
|
|
591
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
592
|
+
},
|
|
593
|
+
"&:disabled": {
|
|
612
594
|
backgroundColor: "transparent",
|
|
613
|
-
color: odysseyTokens.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
595
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
596
|
+
}
|
|
597
|
+
}),
|
|
598
|
+
...(ownerState.size === "small" && {
|
|
599
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
600
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
601
|
+
fontSize: odysseyTokens.TypographySizeBody
|
|
602
|
+
}),
|
|
603
|
+
...(ownerState.size === "large" && {
|
|
604
|
+
paddingBlock: odysseyTokens.Spacing4,
|
|
605
|
+
paddingInline: odysseyTokens.Spacing4
|
|
606
|
+
}),
|
|
607
|
+
...(ownerState.fullWidth === true && {
|
|
608
|
+
display: "block",
|
|
609
|
+
width: "100%",
|
|
610
|
+
marginBlock: "0",
|
|
611
|
+
marginInline: "0",
|
|
612
|
+
"&:not(:last-child)": {
|
|
613
|
+
marginBlockEnd: odysseyTokens.Spacing4
|
|
614
|
+
}
|
|
615
|
+
}),
|
|
616
|
+
...(ownerState.children === "" && {
|
|
617
|
+
minWidth: "auto",
|
|
618
|
+
padding: odysseyTokens.Spacing3,
|
|
619
|
+
[`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: {
|
|
620
|
+
margin: "0"
|
|
621
|
+
},
|
|
625
622
|
...(ownerState.size === "small" && {
|
|
626
|
-
|
|
627
|
-
paddingInline: odysseyTokens.Spacing3,
|
|
628
|
-
fontSize: odysseyTokens.TypographySizeBody
|
|
629
|
-
}),
|
|
630
|
-
...(ownerState.size === "large" && {
|
|
631
|
-
paddingBlock: odysseyTokens.Spacing4,
|
|
632
|
-
paddingInline: odysseyTokens.Spacing4
|
|
633
|
-
}),
|
|
634
|
-
...(ownerState.fullWidth === true && {
|
|
635
|
-
display: "block",
|
|
636
|
-
width: "100%",
|
|
637
|
-
marginBlock: "0",
|
|
638
|
-
marginInline: "0",
|
|
639
|
-
"&:not(:last-child)": {
|
|
640
|
-
marginBlockEnd: odysseyTokens.Spacing4
|
|
641
|
-
}
|
|
642
|
-
}),
|
|
643
|
-
...(ownerState.children === "" && {
|
|
644
|
-
minWidth: "auto",
|
|
645
|
-
padding: odysseyTokens.Spacing3,
|
|
646
|
-
[`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: {
|
|
647
|
-
margin: "0"
|
|
648
|
-
},
|
|
649
|
-
...(ownerState.size === "small" && {
|
|
650
|
-
padding: odysseyTokens.Spacing2
|
|
651
|
-
})
|
|
652
|
-
})
|
|
653
|
-
};
|
|
654
|
-
},
|
|
655
|
-
endIcon: _ref11 => {
|
|
656
|
-
let {
|
|
657
|
-
ownerState
|
|
658
|
-
} = _ref11;
|
|
659
|
-
return {
|
|
660
|
-
display: "inline-flex",
|
|
661
|
-
margin: 0,
|
|
662
|
-
marginInlineStart: odysseyTokens.Spacing2,
|
|
663
|
-
...(ownerState.children === undefined && {
|
|
664
|
-
marginInlineStart: 0
|
|
665
|
-
})
|
|
666
|
-
};
|
|
667
|
-
},
|
|
668
|
-
startIcon: _ref12 => {
|
|
669
|
-
let {
|
|
670
|
-
ownerState
|
|
671
|
-
} = _ref12;
|
|
672
|
-
return {
|
|
673
|
-
display: "inline-flex",
|
|
674
|
-
margin: 0,
|
|
675
|
-
marginInlineEnd: odysseyTokens.Spacing2,
|
|
676
|
-
...(ownerState.children === undefined && {
|
|
677
|
-
marginInlineEnd: 0
|
|
623
|
+
padding: odysseyTokens.Spacing2
|
|
678
624
|
})
|
|
679
|
-
}
|
|
680
|
-
}
|
|
625
|
+
})
|
|
626
|
+
}),
|
|
627
|
+
endIcon: ({
|
|
628
|
+
ownerState
|
|
629
|
+
}) => ({
|
|
630
|
+
display: "inline-flex",
|
|
631
|
+
margin: 0,
|
|
632
|
+
marginInlineStart: odysseyTokens.Spacing2,
|
|
633
|
+
...(ownerState.children === undefined && {
|
|
634
|
+
marginInlineStart: 0
|
|
635
|
+
})
|
|
636
|
+
}),
|
|
637
|
+
startIcon: ({
|
|
638
|
+
ownerState
|
|
639
|
+
}) => ({
|
|
640
|
+
display: "inline-flex",
|
|
641
|
+
margin: 0,
|
|
642
|
+
marginInlineEnd: odysseyTokens.Spacing2,
|
|
643
|
+
...(ownerState.children === undefined && {
|
|
644
|
+
marginInlineEnd: 0
|
|
645
|
+
})
|
|
646
|
+
})
|
|
681
647
|
}
|
|
682
648
|
},
|
|
683
649
|
MuiButtonBase: {
|
|
@@ -693,77 +659,74 @@ export const components = _ref => {
|
|
|
693
659
|
indeterminateIcon: _jsx(SubtractIcon, {})
|
|
694
660
|
},
|
|
695
661
|
styleOverrides: {
|
|
696
|
-
root:
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
662
|
+
root: ({
|
|
663
|
+
theme
|
|
664
|
+
}) => ({
|
|
665
|
+
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
666
|
+
minWidth: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
667
|
+
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
668
|
+
borderRadius: odysseyTokens.BorderRadiusTight,
|
|
669
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
670
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
671
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
672
|
+
padding: 0,
|
|
673
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
674
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
675
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
676
|
+
}),
|
|
677
|
+
[`.${svgIconClasses.root}`]: {
|
|
678
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
679
|
+
transition: theme.transitions.create(["color"], {
|
|
711
680
|
duration: odysseyTokens.TransitionDurationMain
|
|
712
|
-
})
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
})
|
|
718
|
-
},
|
|
719
|
-
"&.Mui-checked": {
|
|
720
|
-
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
721
|
-
borderColor: odysseyTokens.PalettePrimaryMain,
|
|
722
|
-
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
723
|
-
backgroundColor: odysseyTokens.PalettePrimaryDark,
|
|
724
|
-
borderColor: odysseyTokens.PalettePrimaryDark
|
|
725
|
-
}
|
|
726
|
-
},
|
|
681
|
+
})
|
|
682
|
+
},
|
|
683
|
+
"&.Mui-checked": {
|
|
684
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
685
|
+
borderColor: odysseyTokens.PalettePrimaryMain,
|
|
727
686
|
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
728
|
-
backgroundColor:
|
|
729
|
-
borderColor: odysseyTokens.
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
"
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
687
|
+
backgroundColor: odysseyTokens.PalettePrimaryDark,
|
|
688
|
+
borderColor: odysseyTokens.PalettePrimaryDark
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
692
|
+
backgroundColor: "transparent",
|
|
693
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
694
|
+
},
|
|
695
|
+
".Mui-error:not(.Mui-valid):hover > &": {
|
|
696
|
+
borderColor: odysseyTokens.BorderColorDangerDark,
|
|
697
|
+
"&.Mui-checked": {
|
|
698
|
+
backgroundColor: odysseyTokens.PaletteDangerDark,
|
|
699
|
+
borderColor: odysseyTokens.BorderColorDangerDark
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
".Mui-error:not(.Mui-valid) > &": {
|
|
703
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
704
|
+
"&.Mui-checked": {
|
|
705
|
+
backgroundColor: odysseyTokens.PaletteDangerMain,
|
|
706
|
+
borderColor: odysseyTokens.BorderColorDangerControl
|
|
747
707
|
},
|
|
748
708
|
"&.Mui-focusVisible": {
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
709
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"&.Mui-focusVisible": {
|
|
713
|
+
borderColor: odysseyTokens.HueNeutral900,
|
|
714
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
715
|
+
outline: "2px solid transparent",
|
|
716
|
+
outlineOffset: "1px"
|
|
717
|
+
},
|
|
718
|
+
"&.Mui-disabled": {
|
|
719
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
720
|
+
borderColor: odysseyTokens.HueNeutral300,
|
|
721
|
+
".Mui-error:not(.Mui-valid) > &": {
|
|
755
722
|
backgroundColor: odysseyTokens.HueNeutral50,
|
|
756
|
-
borderColor: odysseyTokens.HueNeutral300
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
},
|
|
761
|
-
[`.${svgIconClasses.root}`]: {
|
|
762
|
-
color: odysseyTokens.HueNeutral300
|
|
763
|
-
}
|
|
723
|
+
borderColor: odysseyTokens.HueNeutral300
|
|
724
|
+
},
|
|
725
|
+
[`.${svgIconClasses.root}`]: {
|
|
726
|
+
color: odysseyTokens.HueNeutral300
|
|
764
727
|
}
|
|
765
|
-
}
|
|
766
|
-
}
|
|
728
|
+
}
|
|
729
|
+
})
|
|
767
730
|
}
|
|
768
731
|
},
|
|
769
732
|
MuiChip: {
|
|
@@ -771,100 +734,97 @@ export const components = _ref => {
|
|
|
771
734
|
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
772
735
|
},
|
|
773
736
|
styleOverrides: {
|
|
774
|
-
root:
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
color: odysseyTokens.
|
|
798
|
-
|
|
799
|
-
|
|
737
|
+
root: ({
|
|
738
|
+
ownerState
|
|
739
|
+
}) => ({
|
|
740
|
+
height: "auto",
|
|
741
|
+
paddingBlock: `calc(${odysseyTokens.Spacing2} - ${odysseyTokens.BorderWidthMain})`,
|
|
742
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
743
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
744
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
745
|
+
borderRadius: odysseyTokens.BorderRadiusRound,
|
|
746
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
747
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
748
|
+
borderColor: odysseyTokens.HueNeutral200,
|
|
749
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
750
|
+
color: odysseyTokens.HueNeutral700,
|
|
751
|
+
...(ownerState.onDelete && {
|
|
752
|
+
paddingInlineEnd: odysseyTokens.Spacing2
|
|
753
|
+
}),
|
|
754
|
+
[`&.${chipClasses.disabled}`]: {
|
|
755
|
+
opacity: 1,
|
|
756
|
+
pointerEvents: "none",
|
|
757
|
+
borderColor: odysseyTokens.BorderColorDisabled,
|
|
758
|
+
color: odysseyTokens.TypographyColorDisabled,
|
|
759
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
760
|
+
color: odysseyTokens.HueNeutral300
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
...(ownerState.clickable && {
|
|
764
|
+
"&:hover": {
|
|
765
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
766
|
+
},
|
|
767
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
768
|
+
backgroundColor: odysseyTokens.HueNeutral200,
|
|
769
|
+
outlineColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
770
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetTight,
|
|
771
|
+
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
772
|
+
outlineWidth: odysseyTokens.FocusOutlineWidthMain
|
|
773
|
+
},
|
|
774
|
+
"&:active": {
|
|
775
|
+
boxShadow: "none",
|
|
776
|
+
backgroundColor: odysseyTokens.HueNeutral300
|
|
777
|
+
}
|
|
778
|
+
}),
|
|
779
|
+
[`& .${chipClasses.icon}`]: {
|
|
780
|
+
margin: 0,
|
|
781
|
+
marginInlineEnd: odysseyTokens.Spacing1
|
|
782
|
+
},
|
|
783
|
+
...(ownerState.variant === "pill" && {
|
|
784
|
+
paddingBlock: odysseyTokens.Spacing1,
|
|
785
|
+
paddingInline: odysseyTokens.Spacing2,
|
|
786
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
787
|
+
border: 0,
|
|
788
|
+
fontWeight: odysseyTokens.TypographyWeightHeadingBold,
|
|
789
|
+
lineHeight: odysseyTokens.TypographyLineHeightOverline,
|
|
790
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
791
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
792
|
+
fontSize: "0.71428571rem",
|
|
793
|
+
textTransform: "uppercase",
|
|
794
|
+
"&::before": {
|
|
795
|
+
content: "''",
|
|
796
|
+
width: "0.42857143rem",
|
|
797
|
+
height: "0.42857143rem",
|
|
798
|
+
marginInlineEnd: odysseyTokens.Spacing2,
|
|
799
|
+
borderRadius: "100%",
|
|
800
|
+
backgroundColor: odysseyTokens.HueNeutral400
|
|
801
|
+
},
|
|
802
|
+
[`&.${chipClasses.colorError}`]: {
|
|
803
|
+
backgroundColor: odysseyTokens.PaletteDangerLighter,
|
|
804
|
+
color: odysseyTokens.TypographyColorDanger,
|
|
805
|
+
"&::before": {
|
|
806
|
+
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
800
807
|
}
|
|
801
808
|
},
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
backgroundColor: odysseyTokens.HueNeutral200,
|
|
808
|
-
outlineColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
809
|
-
outlineOffset: odysseyTokens.FocusOutlineOffsetTight,
|
|
810
|
-
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
811
|
-
outlineWidth: odysseyTokens.FocusOutlineWidthMain
|
|
812
|
-
},
|
|
813
|
-
"&:active": {
|
|
814
|
-
boxShadow: "none",
|
|
815
|
-
backgroundColor: odysseyTokens.HueNeutral300
|
|
809
|
+
[`&.${chipClasses.colorSuccess}`]: {
|
|
810
|
+
backgroundColor: odysseyTokens.PaletteSuccessLighter,
|
|
811
|
+
color: odysseyTokens.TypographyColorSuccess,
|
|
812
|
+
"&::before": {
|
|
813
|
+
backgroundColor: odysseyTokens.PaletteSuccessMain
|
|
816
814
|
}
|
|
817
|
-
}),
|
|
818
|
-
[`& .${chipClasses.icon}`]: {
|
|
819
|
-
margin: 0,
|
|
820
|
-
marginInlineEnd: odysseyTokens.Spacing1
|
|
821
815
|
},
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
826
|
-
border: 0,
|
|
827
|
-
fontWeight: odysseyTokens.TypographyWeightHeadingBold,
|
|
828
|
-
lineHeight: odysseyTokens.TypographyLineHeightOverline,
|
|
829
|
-
backgroundColor: odysseyTokens.HueNeutral50,
|
|
830
|
-
color: odysseyTokens.TypographyColorSubordinate,
|
|
831
|
-
fontSize: "0.71428571rem",
|
|
832
|
-
textTransform: "uppercase",
|
|
816
|
+
[`&.${chipClasses.colorWarning}`]: {
|
|
817
|
+
backgroundColor: odysseyTokens.PaletteWarningLighter,
|
|
818
|
+
color: odysseyTokens.TypographyColorWarning,
|
|
833
819
|
"&::before": {
|
|
834
|
-
|
|
835
|
-
width: "0.42857143rem",
|
|
836
|
-
height: "0.42857143rem",
|
|
837
|
-
marginInlineEnd: odysseyTokens.Spacing2,
|
|
838
|
-
borderRadius: "100%",
|
|
839
|
-
backgroundColor: odysseyTokens.HueNeutral400
|
|
840
|
-
},
|
|
841
|
-
[`&.${chipClasses.colorError}`]: {
|
|
842
|
-
backgroundColor: odysseyTokens.PaletteDangerLighter,
|
|
843
|
-
color: odysseyTokens.TypographyColorDanger,
|
|
844
|
-
"&::before": {
|
|
845
|
-
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
[`&.${chipClasses.colorSuccess}`]: {
|
|
849
|
-
backgroundColor: odysseyTokens.PaletteSuccessLighter,
|
|
850
|
-
color: odysseyTokens.TypographyColorSuccess,
|
|
851
|
-
"&::before": {
|
|
852
|
-
backgroundColor: odysseyTokens.PaletteSuccessMain
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
[`&.${chipClasses.colorWarning}`]: {
|
|
856
|
-
backgroundColor: odysseyTokens.PaletteWarningLighter,
|
|
857
|
-
color: odysseyTokens.TypographyColorWarning,
|
|
858
|
-
"&::before": {
|
|
859
|
-
backgroundColor: odysseyTokens.HueYellow200
|
|
860
|
-
}
|
|
820
|
+
backgroundColor: odysseyTokens.HueYellow200
|
|
861
821
|
}
|
|
862
|
-
}),
|
|
863
|
-
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
864
|
-
backgroundColor: odysseyTokens.HueNeutral200
|
|
865
822
|
}
|
|
866
|
-
}
|
|
867
|
-
|
|
823
|
+
}),
|
|
824
|
+
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
825
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
826
|
+
}
|
|
827
|
+
}),
|
|
868
828
|
label: {
|
|
869
829
|
padding: 0,
|
|
870
830
|
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
@@ -897,26 +857,20 @@ export const components = _ref => {
|
|
|
897
857
|
variant: "indeterminate"
|
|
898
858
|
},
|
|
899
859
|
styleOverrides: {
|
|
900
|
-
root:
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
return {
|
|
915
|
-
...(ownerState.variant === "indeterminate" && {
|
|
916
|
-
strokeDasharray: "160%, 360%"
|
|
917
|
-
})
|
|
918
|
-
};
|
|
919
|
-
}
|
|
860
|
+
root: ({
|
|
861
|
+
ownerState
|
|
862
|
+
}) => ({
|
|
863
|
+
...(ownerState.color !== "inherit" && {
|
|
864
|
+
color: odysseyTokens.PalettePrimaryMain
|
|
865
|
+
})
|
|
866
|
+
}),
|
|
867
|
+
circle: ({
|
|
868
|
+
ownerState
|
|
869
|
+
}) => ({
|
|
870
|
+
...(ownerState.variant === "indeterminate" && {
|
|
871
|
+
strokeDasharray: "160%, 360%"
|
|
872
|
+
})
|
|
873
|
+
})
|
|
920
874
|
}
|
|
921
875
|
},
|
|
922
876
|
MuiCssBaseline: {
|
|
@@ -1245,50 +1199,44 @@ export const components = _ref => {
|
|
|
1245
1199
|
height: odysseyTokens.Spacing5,
|
|
1246
1200
|
overflow: "visible"
|
|
1247
1201
|
},
|
|
1248
|
-
switchBase:
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1202
|
+
switchBase: ({
|
|
1203
|
+
ownerState
|
|
1204
|
+
}) => ({
|
|
1205
|
+
top: odysseyTokens.Spacing1,
|
|
1206
|
+
left: odysseyTokens.Spacing1,
|
|
1207
|
+
padding: `${odysseyTokens.Spacing0} 0`,
|
|
1208
|
+
...(ownerState.checked === true && {
|
|
1209
|
+
color: `${odysseyTokens.HueNeutralWhite} !important`,
|
|
1210
|
+
transform: `translateX(${odysseyTokens.Spacing4}) !important`
|
|
1211
|
+
}),
|
|
1212
|
+
"&:hover": {
|
|
1213
|
+
backgroundColor: "transparent",
|
|
1256
1214
|
...(ownerState.checked === true && {
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
backgroundColor: "transparent !important"
|
|
1264
|
-
})
|
|
1265
|
-
},
|
|
1266
|
-
"&.Mui-focusVisible": {
|
|
1267
|
-
" + .MuiSwitch-track": {
|
|
1268
|
-
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`
|
|
1269
|
-
}
|
|
1215
|
+
backgroundColor: "transparent !important"
|
|
1216
|
+
})
|
|
1217
|
+
},
|
|
1218
|
+
"&.Mui-focusVisible": {
|
|
1219
|
+
" + .MuiSwitch-track": {
|
|
1220
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`
|
|
1270
1221
|
}
|
|
1271
|
-
}
|
|
1272
|
-
},
|
|
1222
|
+
}
|
|
1223
|
+
}),
|
|
1273
1224
|
thumb: {
|
|
1274
1225
|
width: odysseyTokens.Spacing4,
|
|
1275
1226
|
height: odysseyTokens.Spacing4,
|
|
1276
1227
|
boxShadow: "none"
|
|
1277
1228
|
},
|
|
1278
|
-
track:
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
opacity: 1,
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
})
|
|
1290
|
-
};
|
|
1291
|
-
},
|
|
1229
|
+
track: ({
|
|
1230
|
+
ownerState
|
|
1231
|
+
}) => ({
|
|
1232
|
+
borderRadius: odysseyTokens.BorderRadiusRound,
|
|
1233
|
+
backgroundColor: `${odysseyTokens.HueNeutral300}`,
|
|
1234
|
+
opacity: 1,
|
|
1235
|
+
...(ownerState.checked === true && {
|
|
1236
|
+
opacity: "1 !important",
|
|
1237
|
+
backgroundColor: `${odysseyTokens.PaletteSuccessLight} !important`
|
|
1238
|
+
})
|
|
1239
|
+
}),
|
|
1292
1240
|
input: {
|
|
1293
1241
|
height: "44px",
|
|
1294
1242
|
top: "-14px"
|
|
@@ -1324,22 +1272,19 @@ export const components = _ref => {
|
|
|
1324
1272
|
},
|
|
1325
1273
|
MuiDialogContent: {
|
|
1326
1274
|
styleOverrides: {
|
|
1327
|
-
root:
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
}
|
|
1275
|
+
root: ({
|
|
1276
|
+
ownerState
|
|
1277
|
+
}) => ({
|
|
1278
|
+
paddingBlock: 0,
|
|
1279
|
+
paddingInline: odysseyTokens.Spacing6,
|
|
1280
|
+
...(ownerState.dividers === true && {
|
|
1281
|
+
paddingBlock: odysseyTokens.Spacing6,
|
|
1282
|
+
color: odysseyTokens.HueNeutral600
|
|
1283
|
+
}),
|
|
1284
|
+
["&:last-child"]: {
|
|
1285
|
+
paddingBlockEnd: odysseyTokens.Spacing6
|
|
1286
|
+
}
|
|
1287
|
+
})
|
|
1343
1288
|
}
|
|
1344
1289
|
},
|
|
1345
1290
|
MuiDialogContentText: {
|
|
@@ -1380,83 +1325,77 @@ export const components = _ref => {
|
|
|
1380
1325
|
margin: "normal"
|
|
1381
1326
|
},
|
|
1382
1327
|
styleOverrides: {
|
|
1383
|
-
root:
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
marginBottom:
|
|
1393
|
-
"&:last-child": {
|
|
1394
|
-
marginBottom: 0
|
|
1395
|
-
}
|
|
1396
|
-
}),
|
|
1397
|
-
...(ownerState.margin === "dense" && {
|
|
1398
|
-
marginTop: 0,
|
|
1399
|
-
marginBottom: odysseyTokens.Spacing5,
|
|
1400
|
-
"&:last-child": {
|
|
1401
|
-
marginBottom: 0
|
|
1402
|
-
}
|
|
1403
|
-
}),
|
|
1404
|
-
...(ownerState.fullWidth && {
|
|
1405
|
-
maxWidth: "100%"
|
|
1406
|
-
}),
|
|
1407
|
-
[`& .${formGroupClasses.root}`]: {
|
|
1408
|
-
marginBlockStart: odysseyTokens.Spacing1
|
|
1328
|
+
root: ({
|
|
1329
|
+
ownerState
|
|
1330
|
+
}) => ({
|
|
1331
|
+
width: "100%",
|
|
1332
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
1333
|
+
...(ownerState.margin === "normal" && {
|
|
1334
|
+
marginTop: 0,
|
|
1335
|
+
marginBottom: odysseyTokens.Spacing4,
|
|
1336
|
+
"&:last-child": {
|
|
1337
|
+
marginBottom: 0
|
|
1409
1338
|
}
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1339
|
+
}),
|
|
1340
|
+
...(ownerState.margin === "dense" && {
|
|
1341
|
+
marginTop: 0,
|
|
1342
|
+
marginBottom: odysseyTokens.Spacing5,
|
|
1343
|
+
"&:last-child": {
|
|
1344
|
+
marginBottom: 0
|
|
1345
|
+
}
|
|
1346
|
+
}),
|
|
1347
|
+
...(ownerState.fullWidth && {
|
|
1348
|
+
maxWidth: "100%"
|
|
1349
|
+
}),
|
|
1350
|
+
[`& .${formGroupClasses.root}`]: {
|
|
1351
|
+
marginBlockStart: odysseyTokens.Spacing1
|
|
1352
|
+
}
|
|
1353
|
+
})
|
|
1412
1354
|
}
|
|
1413
1355
|
},
|
|
1414
1356
|
MuiFormControlLabel: {
|
|
1415
1357
|
styleOverrides: {
|
|
1416
|
-
root:
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1358
|
+
root: ({
|
|
1359
|
+
ownerState
|
|
1360
|
+
}) => ({
|
|
1361
|
+
gap: odysseyTokens.Spacing2,
|
|
1362
|
+
marginInlineStart: 0,
|
|
1363
|
+
marginInlineEnd: 0,
|
|
1364
|
+
...(ownerState.labelPlacement === "start" && {
|
|
1422
1365
|
marginInlineStart: 0,
|
|
1423
|
-
marginInlineEnd: 0
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
color: odysseyTokens.PaletteDangerDark
|
|
1457
|
-
}
|
|
1458
|
-
};
|
|
1459
|
-
},
|
|
1366
|
+
marginInlineEnd: 0
|
|
1367
|
+
}),
|
|
1368
|
+
...(ownerState.labelPlacement === "top" && {
|
|
1369
|
+
marginInlineStart: 0
|
|
1370
|
+
}),
|
|
1371
|
+
...(ownerState.labelPlacement === "bottom" && {
|
|
1372
|
+
marginInlineStart: 0
|
|
1373
|
+
}),
|
|
1374
|
+
"&:not(:last-child)": {
|
|
1375
|
+
marginBottom: odysseyTokens.Spacing2
|
|
1376
|
+
},
|
|
1377
|
+
"&.Mui-disabled": {
|
|
1378
|
+
pointerEvents: "none"
|
|
1379
|
+
},
|
|
1380
|
+
[`:has(> .${radioClasses.root})`]: {
|
|
1381
|
+
alignItems: "flex-start"
|
|
1382
|
+
},
|
|
1383
|
+
[`& .${checkboxClasses.root}`]: {
|
|
1384
|
+
marginBlockStart: 0
|
|
1385
|
+
},
|
|
1386
|
+
[`&:hover .${radioClasses.root}, &:hover .${checkboxClasses.root}`]: {
|
|
1387
|
+
color: odysseyTokens.TypographyColorBody
|
|
1388
|
+
},
|
|
1389
|
+
[`&:hover .${radioClasses.root}.Mui-checked, &:hover .${checkboxClasses.root}.Mui-checked`]: {
|
|
1390
|
+
color: odysseyTokens.PalettePrimaryDark
|
|
1391
|
+
},
|
|
1392
|
+
[`&.Mui-error:hover .${radioClasses.root}, &.Mui-error:hover .${checkboxClasses.root}`]: {
|
|
1393
|
+
color: odysseyTokens.PaletteDangerDark
|
|
1394
|
+
},
|
|
1395
|
+
[`&.Mui-error:hover .${radioClasses.root}.Mui-checked, &.Mui-error:hover .${checkboxClasses.root}.Mui-checked`]: {
|
|
1396
|
+
color: odysseyTokens.PaletteDangerDark
|
|
1397
|
+
}
|
|
1398
|
+
}),
|
|
1460
1399
|
label: {
|
|
1461
1400
|
gap: odysseyTokens.Spacing1,
|
|
1462
1401
|
lineHeight: odysseyTokens.TypographyLineHeightUi
|
|
@@ -1534,29 +1473,26 @@ export const components = _ref => {
|
|
|
1534
1473
|
},
|
|
1535
1474
|
MuiInputAdornment: {
|
|
1536
1475
|
styleOverrides: {
|
|
1537
|
-
root:
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
})
|
|
1558
|
-
};
|
|
1559
|
-
}
|
|
1476
|
+
root: ({
|
|
1477
|
+
ownerState
|
|
1478
|
+
}) => ({
|
|
1479
|
+
display: "flex",
|
|
1480
|
+
minWidth: "1.25em",
|
|
1481
|
+
maxHeight: "unset",
|
|
1482
|
+
margin: 0,
|
|
1483
|
+
alignItems: "center",
|
|
1484
|
+
whiteSpace: "nowrap",
|
|
1485
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
1486
|
+
...(ownerState.position === "start" && {
|
|
1487
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
1488
|
+
}),
|
|
1489
|
+
...(ownerState.position === "end" && {
|
|
1490
|
+
marginInlineEnd: odysseyTokens.Spacing2
|
|
1491
|
+
}),
|
|
1492
|
+
...(ownerState.disablePointerEvents === true && {
|
|
1493
|
+
pointerEvents: "none"
|
|
1494
|
+
})
|
|
1495
|
+
})
|
|
1560
1496
|
}
|
|
1561
1497
|
},
|
|
1562
1498
|
MuiInputBase: {
|
|
@@ -1564,61 +1500,58 @@ export const components = _ref => {
|
|
|
1564
1500
|
minRows: 3
|
|
1565
1501
|
},
|
|
1566
1502
|
styleOverrides: {
|
|
1567
|
-
root:
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
}
|
|
1620
|
-
};
|
|
1621
|
-
},
|
|
1503
|
+
root: ({
|
|
1504
|
+
ownerState,
|
|
1505
|
+
theme
|
|
1506
|
+
}) => ({
|
|
1507
|
+
...theme.typography.body1,
|
|
1508
|
+
flex: "1",
|
|
1509
|
+
width: "auto",
|
|
1510
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1511
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1512
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1513
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1514
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
1515
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
1516
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
1517
|
+
backgroundColor: odysseyTokens.HueNeutralWhite,
|
|
1518
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
1519
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1520
|
+
}),
|
|
1521
|
+
...(ownerState.fullWidth && {
|
|
1522
|
+
width: "100%"
|
|
1523
|
+
}),
|
|
1524
|
+
...(ownerState.readOnly === true && {
|
|
1525
|
+
borderColor: "transparent",
|
|
1526
|
+
backgroundColor: odysseyTokens.HueNeutral50
|
|
1527
|
+
}),
|
|
1528
|
+
[`&:hover`]: {
|
|
1529
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
1530
|
+
},
|
|
1531
|
+
[`&.${inputBaseClasses.focused}`]: {
|
|
1532
|
+
borderColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
1533
|
+
boxShadow: `0 0 0 1px ${odysseyTokens.FocusOutlineColorPrimary}`,
|
|
1534
|
+
outline: `${odysseyTokens.FocusOutlineWidthMain} ${odysseyTokens.FocusOutlineStyle} transparent`,
|
|
1535
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetTight
|
|
1536
|
+
},
|
|
1537
|
+
[`&.${inputBaseClasses.error}`]: {
|
|
1538
|
+
borderColor: odysseyTokens.BorderColorDangerControl
|
|
1539
|
+
},
|
|
1540
|
+
[`&.${inputBaseClasses.error}:hover`]: {
|
|
1541
|
+
borderColor: odysseyTokens.BorderColorDangerDark
|
|
1542
|
+
},
|
|
1543
|
+
[`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
|
|
1544
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
1545
|
+
boxShadow: `0 0 0 1px ${odysseyTokens.PaletteDangerMain}`
|
|
1546
|
+
},
|
|
1547
|
+
[`&.${inputBaseClasses.disabled}`]: {
|
|
1548
|
+
color: odysseyTokens.TypographyColorDisabled,
|
|
1549
|
+
borderColor: odysseyTokens.BorderColorDisabled,
|
|
1550
|
+
pointerEvents: "auto",
|
|
1551
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
1552
|
+
cursor: "not-allowed"
|
|
1553
|
+
}
|
|
1554
|
+
}),
|
|
1622
1555
|
input: {
|
|
1623
1556
|
boxSizing: "border-box",
|
|
1624
1557
|
height: "auto",
|
|
@@ -1659,32 +1592,29 @@ export const components = _ref => {
|
|
|
1659
1592
|
shrink: false
|
|
1660
1593
|
},
|
|
1661
1594
|
styleOverrides: {
|
|
1662
|
-
root:
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
}
|
|
1686
|
-
};
|
|
1687
|
-
}
|
|
1595
|
+
root: ({
|
|
1596
|
+
ownerState
|
|
1597
|
+
}) => ({
|
|
1598
|
+
display: "flex",
|
|
1599
|
+
justifyContent: "space-between",
|
|
1600
|
+
overflow: "unset",
|
|
1601
|
+
whiteSpace: "unset",
|
|
1602
|
+
...(ownerState.formControl && {
|
|
1603
|
+
position: "initial",
|
|
1604
|
+
transform: "none"
|
|
1605
|
+
}),
|
|
1606
|
+
...(ownerState.variant === "outlined" && {
|
|
1607
|
+
pointerEvents: "initial",
|
|
1608
|
+
transform: "none",
|
|
1609
|
+
maxWidth: "100%",
|
|
1610
|
+
...(ownerState.size === "small" && {
|
|
1611
|
+
transform: "none"
|
|
1612
|
+
})
|
|
1613
|
+
}),
|
|
1614
|
+
[`& > .${typographyClasses.root}`]: {
|
|
1615
|
+
lineHeight: "unset"
|
|
1616
|
+
}
|
|
1617
|
+
})
|
|
1688
1618
|
}
|
|
1689
1619
|
},
|
|
1690
1620
|
MuiLink: {
|
|
@@ -1791,69 +1721,66 @@ export const components = _ref => {
|
|
|
1791
1721
|
},
|
|
1792
1722
|
MuiMenuItem: {
|
|
1793
1723
|
styleOverrides: {
|
|
1794
|
-
root:
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1724
|
+
root: ({
|
|
1725
|
+
ownerState
|
|
1726
|
+
}) => ({
|
|
1727
|
+
gap: odysseyTokens.Spacing2,
|
|
1728
|
+
minHeight: "unset",
|
|
1729
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
1730
|
+
paddingInline: odysseyTokens.Spacing4,
|
|
1731
|
+
borderRadius: odysseyTokens.BorderRadiusTight,
|
|
1732
|
+
[`& .${formControlLabelClasses.root}`]: {
|
|
1733
|
+
gap: "unset"
|
|
1734
|
+
},
|
|
1735
|
+
"&:hover": {
|
|
1736
|
+
textDecoration: "none",
|
|
1737
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
1738
|
+
"@media (hover: none)": {
|
|
1739
|
+
backgroundColor: "transparent"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
[`:focus-visible`]: {
|
|
1743
|
+
backgroundColor: odysseyTokens.HueNeutral100
|
|
1744
|
+
},
|
|
1745
|
+
[`&.${menuItemClasses.root}-destructive`]: {
|
|
1746
|
+
color: odysseyTokens.TypographyColorDanger,
|
|
1747
|
+
[`.${typographyClasses.root}`]: {
|
|
1748
|
+
color: "inherit"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
[`&.${menuItemClasses.selected}`]: {
|
|
1752
|
+
backgroundColor: "transparent",
|
|
1753
|
+
color: odysseyTokens.TypographyColorAction,
|
|
1807
1754
|
"&:hover": {
|
|
1808
|
-
|
|
1809
|
-
backgroundColor: odysseyTokens.HueNeutral100,
|
|
1755
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter,
|
|
1810
1756
|
"@media (hover: none)": {
|
|
1811
|
-
backgroundColor:
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
[`:focus-visible`]: {
|
|
1815
|
-
backgroundColor: odysseyTokens.HueNeutral100
|
|
1816
|
-
},
|
|
1817
|
-
[`&.${menuItemClasses.root}-destructive`]: {
|
|
1818
|
-
color: odysseyTokens.TypographyColorDanger,
|
|
1819
|
-
[`.${typographyClasses.root}`]: {
|
|
1820
|
-
color: "inherit"
|
|
1821
|
-
}
|
|
1822
|
-
},
|
|
1823
|
-
[`&.${menuItemClasses.selected}`]: {
|
|
1824
|
-
backgroundColor: "transparent",
|
|
1825
|
-
color: odysseyTokens.TypographyColorAction,
|
|
1826
|
-
"&:hover": {
|
|
1827
|
-
backgroundColor: odysseyTokens.PalettePrimaryLighter,
|
|
1828
|
-
"@media (hover: none)": {
|
|
1829
|
-
backgroundColor: odysseyTokens.PalettePrimaryLighter
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
...(!ownerState.disableGutters && {
|
|
1834
|
-
paddingInline: odysseyTokens.Spacing4
|
|
1835
|
-
}),
|
|
1836
|
-
...(ownerState.divider && {
|
|
1837
|
-
borderBlockEnd: `1px solid ${odysseyTokens.BorderColorDisplay}`
|
|
1838
|
-
}),
|
|
1839
|
-
[`&.${menuItemClasses.disabled}`]: {
|
|
1840
|
-
opacity: 1,
|
|
1841
|
-
color: odysseyTokens.TypographyColorDisabled,
|
|
1842
|
-
[`.${typographyClasses.root}`]: {
|
|
1843
|
-
color: "inherit"
|
|
1757
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter
|
|
1844
1758
|
}
|
|
1845
|
-
},
|
|
1846
|
-
[`& + .${dividerClasses.root}`]: {
|
|
1847
|
-
marginBlock: odysseyTokens.Spacing1
|
|
1848
|
-
},
|
|
1849
|
-
[`& .${listItemTextClasses.root}`]: {
|
|
1850
|
-
marginBlock: 0
|
|
1851
|
-
},
|
|
1852
|
-
[`& .${listItemIconClasses.root}`]: {
|
|
1853
|
-
minWidth: "unset"
|
|
1854
1759
|
}
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1760
|
+
},
|
|
1761
|
+
...(!ownerState.disableGutters && {
|
|
1762
|
+
paddingInline: odysseyTokens.Spacing4
|
|
1763
|
+
}),
|
|
1764
|
+
...(ownerState.divider && {
|
|
1765
|
+
borderBlockEnd: `1px solid ${odysseyTokens.BorderColorDisplay}`
|
|
1766
|
+
}),
|
|
1767
|
+
[`&.${menuItemClasses.disabled}`]: {
|
|
1768
|
+
opacity: 1,
|
|
1769
|
+
color: odysseyTokens.TypographyColorDisabled,
|
|
1770
|
+
[`.${typographyClasses.root}`]: {
|
|
1771
|
+
color: "inherit"
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
[`& + .${dividerClasses.root}`]: {
|
|
1775
|
+
marginBlock: odysseyTokens.Spacing1
|
|
1776
|
+
},
|
|
1777
|
+
[`& .${listItemTextClasses.root}`]: {
|
|
1778
|
+
marginBlock: 0
|
|
1779
|
+
},
|
|
1780
|
+
[`& .${listItemIconClasses.root}`]: {
|
|
1781
|
+
minWidth: "unset"
|
|
1782
|
+
}
|
|
1783
|
+
})
|
|
1857
1784
|
}
|
|
1858
1785
|
},
|
|
1859
1786
|
MuiListItemSecondaryAction: {
|
|
@@ -1923,75 +1850,72 @@ export const components = _ref => {
|
|
|
1923
1850
|
checkedIcon: _jsx(_Fragment, {})
|
|
1924
1851
|
},
|
|
1925
1852
|
styleOverrides: {
|
|
1926
|
-
root:
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1853
|
+
root: ({
|
|
1854
|
+
theme
|
|
1855
|
+
}) => ({
|
|
1856
|
+
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1857
|
+
minWidth: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1858
|
+
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1859
|
+
borderRadius: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1860
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1861
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1862
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
1863
|
+
padding: 0,
|
|
1864
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
1865
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
1866
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1867
|
+
}),
|
|
1868
|
+
"&::before": {
|
|
1869
|
+
content: "''",
|
|
1870
|
+
position: "absolute",
|
|
1871
|
+
width: odysseyTokens.Spacing2,
|
|
1872
|
+
height: odysseyTokens.Spacing2,
|
|
1873
|
+
borderRadius: "50%",
|
|
1874
|
+
backgroundColor: "transparent",
|
|
1875
|
+
transition: theme.transitions.create(["background-color"], {
|
|
1941
1876
|
duration: odysseyTokens.TransitionDurationMain
|
|
1942
|
-
})
|
|
1877
|
+
})
|
|
1878
|
+
},
|
|
1879
|
+
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
1880
|
+
backgroundColor: "transparent",
|
|
1881
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
1882
|
+
},
|
|
1883
|
+
".Mui-error:hover > &": {
|
|
1884
|
+
backgroundColor: "transparent",
|
|
1885
|
+
borderColor: odysseyTokens.BorderColorDangerDark,
|
|
1943
1886
|
"&::before": {
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
backgroundColor: "transparent",
|
|
1950
|
-
transition: theme.transitions.create(["background-color"], {
|
|
1951
|
-
duration: odysseyTokens.TransitionDurationMain
|
|
1952
|
-
})
|
|
1953
|
-
},
|
|
1954
|
-
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
1955
|
-
backgroundColor: "transparent",
|
|
1956
|
-
borderColor: odysseyTokens.HueNeutral900
|
|
1957
|
-
},
|
|
1958
|
-
".Mui-error:hover > &": {
|
|
1959
|
-
backgroundColor: "transparent",
|
|
1960
|
-
borderColor: odysseyTokens.BorderColorDangerDark,
|
|
1961
|
-
"&::before": {
|
|
1962
|
-
backgroundColor: odysseyTokens.PaletteDangerDark
|
|
1963
|
-
}
|
|
1964
|
-
},
|
|
1965
|
-
".Mui-error > &": {
|
|
1966
|
-
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
1967
|
-
"&.Mui-focusVisible": {
|
|
1968
|
-
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
1969
|
-
}
|
|
1970
|
-
},
|
|
1887
|
+
backgroundColor: odysseyTokens.PaletteDangerDark
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
".Mui-error > &": {
|
|
1891
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
1971
1892
|
"&.Mui-focusVisible": {
|
|
1972
|
-
|
|
1973
|
-
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
1974
|
-
outline: "2px solid transparent",
|
|
1975
|
-
outlineOffset: "1px"
|
|
1976
|
-
},
|
|
1977
|
-
"&.Mui-checked": {
|
|
1978
|
-
position: "relative",
|
|
1979
|
-
"&::before": {
|
|
1980
|
-
backgroundColor: odysseyTokens.PalettePrimaryMain
|
|
1981
|
-
}
|
|
1982
|
-
},
|
|
1983
|
-
".Mui-error > &.Mui-checked::before": {
|
|
1984
|
-
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
1985
|
-
},
|
|
1986
|
-
"&.Mui-disabled": {
|
|
1987
|
-
backgroundColor: odysseyTokens.HueNeutral50,
|
|
1988
|
-
borderColor: odysseyTokens.BorderColorDisabled,
|
|
1989
|
-
"&.Mui-checked::before": {
|
|
1990
|
-
backgroundColor: odysseyTokens.BorderColorDisabled
|
|
1991
|
-
}
|
|
1893
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
1992
1894
|
}
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1895
|
+
},
|
|
1896
|
+
"&.Mui-focusVisible": {
|
|
1897
|
+
borderColor: odysseyTokens.HueNeutral900,
|
|
1898
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
1899
|
+
outline: "2px solid transparent",
|
|
1900
|
+
outlineOffset: "1px"
|
|
1901
|
+
},
|
|
1902
|
+
"&.Mui-checked": {
|
|
1903
|
+
position: "relative",
|
|
1904
|
+
"&::before": {
|
|
1905
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
".Mui-error > &.Mui-checked::before": {
|
|
1909
|
+
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
1910
|
+
},
|
|
1911
|
+
"&.Mui-disabled": {
|
|
1912
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
1913
|
+
borderColor: odysseyTokens.BorderColorDisabled,
|
|
1914
|
+
"&.Mui-checked::before": {
|
|
1915
|
+
backgroundColor: odysseyTokens.BorderColorDisabled
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
})
|
|
1995
1919
|
}
|
|
1996
1920
|
},
|
|
1997
1921
|
MuiSnackbar: {
|
|
@@ -2050,20 +1974,17 @@ export const components = _ref => {
|
|
|
2050
1974
|
color: "inherit"
|
|
2051
1975
|
},
|
|
2052
1976
|
styleOverrides: {
|
|
2053
|
-
root:
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
}
|
|
2057
|
-
|
|
2058
|
-
fontSize: `${odysseyTokens.TypographyLineHeightUi}rem
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
})
|
|
2065
|
-
};
|
|
2066
|
-
}
|
|
1977
|
+
root: ({
|
|
1978
|
+
ownerState
|
|
1979
|
+
}) => ({
|
|
1980
|
+
fontSize: `${odysseyTokens.TypographyLineHeightUi}rem`,
|
|
1981
|
+
...(ownerState.fontSize === "small" && {
|
|
1982
|
+
fontSize: `${Number(odysseyTokens.TypographyLineHeightUi) * 0.75}rem`
|
|
1983
|
+
}),
|
|
1984
|
+
...(ownerState.fontSize === "large" && {
|
|
1985
|
+
fontSize: `${Number(odysseyTokens.TypographyLineHeightUi) * 1.25}rem`
|
|
1986
|
+
})
|
|
1987
|
+
})
|
|
2067
1988
|
}
|
|
2068
1989
|
},
|
|
2069
1990
|
MuiTab: {
|
|
@@ -2071,53 +1992,50 @@ export const components = _ref => {
|
|
|
2071
1992
|
iconPosition: "start"
|
|
2072
1993
|
},
|
|
2073
1994
|
styleOverrides: {
|
|
2074
|
-
root:
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
"
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
}
|
|
2119
|
-
};
|
|
2120
|
-
}
|
|
1995
|
+
root: ({
|
|
1996
|
+
ownerState
|
|
1997
|
+
}) => ({
|
|
1998
|
+
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
1999
|
+
minWidth: "unset",
|
|
2000
|
+
minHeight: odysseyTokens.Spacing9,
|
|
2001
|
+
padding: `${odysseyTokens.Spacing4} ${odysseyTokens.Spacing1}`,
|
|
2002
|
+
fontSize: odysseyTokens.TypographySizeHeading6,
|
|
2003
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
2004
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
2005
|
+
overflow: "visible",
|
|
2006
|
+
color: odysseyTokens.HueNeutral600,
|
|
2007
|
+
opacity: 1,
|
|
2008
|
+
...(ownerState.selected == true && {
|
|
2009
|
+
color: odysseyTokens.TypographyColorAction,
|
|
2010
|
+
fontWeight: odysseyTokens.TypographyWeightHeading
|
|
2011
|
+
}),
|
|
2012
|
+
...(ownerState.disabled && {
|
|
2013
|
+
color: odysseyTokens.TypographyColorDisabled,
|
|
2014
|
+
opacity: "1 !important"
|
|
2015
|
+
}),
|
|
2016
|
+
...(ownerState.wrapped && {
|
|
2017
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2018
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody
|
|
2019
|
+
}),
|
|
2020
|
+
"&:hover": {
|
|
2021
|
+
color: odysseyTokens.TypographyColorAction
|
|
2022
|
+
},
|
|
2023
|
+
"&:focus-visible::before, &.Mui-focusVisible::before": {
|
|
2024
|
+
content: "''",
|
|
2025
|
+
position: "absolute",
|
|
2026
|
+
insetBlockStart: odysseyTokens.Spacing4,
|
|
2027
|
+
insetInlineEnd: `calc(-1 * ${odysseyTokens.Spacing2})`,
|
|
2028
|
+
insetBlockEnd: odysseyTokens.Spacing4,
|
|
2029
|
+
insetInlineStart: `calc(-1 * ${odysseyTokens.Spacing2})`,
|
|
2030
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
2031
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
2032
|
+
borderColor: odysseyTokens.PalettePrimaryMain,
|
|
2033
|
+
borderRadius: odysseyTokens.BorderRadiusMain
|
|
2034
|
+
},
|
|
2035
|
+
"& .MuiTab-iconWrapper": {
|
|
2036
|
+
marginInlineEnd: odysseyTokens.Spacing1
|
|
2037
|
+
}
|
|
2038
|
+
})
|
|
2121
2039
|
}
|
|
2122
2040
|
},
|
|
2123
2041
|
MuiTabPanel: {
|
|
@@ -2172,154 +2090,148 @@ export const components = _ref => {
|
|
|
2172
2090
|
},
|
|
2173
2091
|
MuiTable: {
|
|
2174
2092
|
styleOverrides: {
|
|
2175
|
-
root:
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
"
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
}
|
|
2093
|
+
root: ({
|
|
2094
|
+
ownerState
|
|
2095
|
+
}) => ({
|
|
2096
|
+
display: "table",
|
|
2097
|
+
width: "auto",
|
|
2098
|
+
borderCollapse: "separate",
|
|
2099
|
+
borderSpacing: 0,
|
|
2100
|
+
marginBlock: odysseyTokens.Spacing0,
|
|
2101
|
+
marginInline: odysseyTokens.Spacing0,
|
|
2102
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
2103
|
+
"&.narrow": {
|
|
2104
|
+
width: "100%",
|
|
2105
|
+
tableLayout: "fixed"
|
|
2106
|
+
},
|
|
2107
|
+
"&:only-child": {
|
|
2108
|
+
marginBlockEnd: 0
|
|
2109
|
+
},
|
|
2110
|
+
...(ownerState.stickyHeader && {
|
|
2111
|
+
borderCollapse: "separate"
|
|
2112
|
+
}),
|
|
2113
|
+
caption: {
|
|
2114
|
+
clip: "rect(0 0 0 0)",
|
|
2115
|
+
clipPath: "inset(50%)",
|
|
2116
|
+
height: "1px",
|
|
2117
|
+
overflow: "hidden",
|
|
2118
|
+
position: "absolute",
|
|
2119
|
+
whiteSpace: "nowrap",
|
|
2120
|
+
width: "1px"
|
|
2121
|
+
}
|
|
2122
|
+
})
|
|
2208
2123
|
}
|
|
2209
2124
|
},
|
|
2210
2125
|
MuiTableCell: {
|
|
2211
2126
|
styleOverrides: {
|
|
2212
|
-
root:
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
}
|
|
2321
|
-
};
|
|
2322
|
-
}
|
|
2127
|
+
root: ({
|
|
2128
|
+
theme,
|
|
2129
|
+
ownerState
|
|
2130
|
+
}) => ({
|
|
2131
|
+
...theme.typography.body1,
|
|
2132
|
+
borderBottom: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.HueNeutral100}`,
|
|
2133
|
+
textAlign: "start",
|
|
2134
|
+
verticalAlign: "baseline",
|
|
2135
|
+
padding: odysseyTokens.Spacing3,
|
|
2136
|
+
overflowWrap: "break-word",
|
|
2137
|
+
[`.MuiTable-root.narrow &:last-child`]: {
|
|
2138
|
+
width: "auto"
|
|
2139
|
+
},
|
|
2140
|
+
[`.${tableRowClasses.root}:hover &[rowspan]`]: {
|
|
2141
|
+
backgroundColor: odysseyTokens.HueNeutralWhite
|
|
2142
|
+
},
|
|
2143
|
+
[`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]: {
|
|
2144
|
+
borderBottom: 0
|
|
2145
|
+
},
|
|
2146
|
+
[`.${tableBodyClasses.root} .${tableRowClasses.root}:first-of-type &`]: {
|
|
2147
|
+
borderTopColor: odysseyTokens.HueNeutralWhite,
|
|
2148
|
+
borderTopStyle: "solid",
|
|
2149
|
+
borderTopWidth: odysseyTokens.BorderWidthMain
|
|
2150
|
+
},
|
|
2151
|
+
[`.${tableRowClasses.selected} &`]: {
|
|
2152
|
+
borderBottomColor: odysseyTokens.PalettePrimaryLight
|
|
2153
|
+
},
|
|
2154
|
+
[`.${tableRowClasses.selected}:hover &`]: {
|
|
2155
|
+
borderBottomColor: odysseyTokens.PalettePrimaryMain
|
|
2156
|
+
},
|
|
2157
|
+
...(ownerState.variant === "action" && {
|
|
2158
|
+
paddingBlock: 0
|
|
2159
|
+
}),
|
|
2160
|
+
...(ownerState.variant === "body" && {
|
|
2161
|
+
color: odysseyTokens.TypographyColorBody
|
|
2162
|
+
}),
|
|
2163
|
+
...(ownerState.variant === "date" && {
|
|
2164
|
+
whiteSpace: "nowrap"
|
|
2165
|
+
}),
|
|
2166
|
+
...(ownerState.variant === "footer" && {
|
|
2167
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
2168
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2169
|
+
fontSize: odysseyTokens.TypographySizeBody
|
|
2170
|
+
}),
|
|
2171
|
+
[`.${tableHeadClasses.root} &`]: {
|
|
2172
|
+
color: odysseyTokens.TypographyColorHeading,
|
|
2173
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2174
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2175
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
2176
|
+
textTransform: "uppercase",
|
|
2177
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
2178
|
+
borderBottom: 0
|
|
2179
|
+
},
|
|
2180
|
+
[`.${tableHeadClasses.root} &:first-of-type`]: {
|
|
2181
|
+
borderTopLeftRadius: odysseyTokens.Spacing2,
|
|
2182
|
+
borderBottomLeftRadius: odysseyTokens.Spacing2
|
|
2183
|
+
},
|
|
2184
|
+
[`.${tableHeadClasses.root} &:last-of-type`]: {
|
|
2185
|
+
borderTopRightRadius: odysseyTokens.Spacing2,
|
|
2186
|
+
borderBottomRightRadius: odysseyTokens.Spacing2
|
|
2187
|
+
},
|
|
2188
|
+
...(ownerState.variant === "head" && {
|
|
2189
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2190
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
2191
|
+
}),
|
|
2192
|
+
...(ownerState.variant === "number" && {
|
|
2193
|
+
textAlign: "end",
|
|
2194
|
+
fontFeatureSettings: '"lnum", "tnum"'
|
|
2195
|
+
}),
|
|
2196
|
+
...(ownerState.padding === "checkbox" && {
|
|
2197
|
+
width: 48,
|
|
2198
|
+
padding: "0 0 0 4px"
|
|
2199
|
+
}),
|
|
2200
|
+
...(ownerState.padding === "none" && {
|
|
2201
|
+
padding: 0
|
|
2202
|
+
}),
|
|
2203
|
+
...(ownerState.align === "left" && {
|
|
2204
|
+
textAlign: "start"
|
|
2205
|
+
}),
|
|
2206
|
+
...(ownerState.align === "center" && {
|
|
2207
|
+
textAlign: "center"
|
|
2208
|
+
}),
|
|
2209
|
+
...(ownerState.align === "right" && {
|
|
2210
|
+
textAlign: "end",
|
|
2211
|
+
flexDirection: "row-reverse"
|
|
2212
|
+
}),
|
|
2213
|
+
...(ownerState.align === "justify" && {
|
|
2214
|
+
textAlign: "justify"
|
|
2215
|
+
}),
|
|
2216
|
+
["&.MuiTableCell-compact"]: {
|
|
2217
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2218
|
+
padding: odysseyTokens.Spacing2
|
|
2219
|
+
},
|
|
2220
|
+
["&.MuiTableCell-spacious"]: {
|
|
2221
|
+
padding: odysseyTokens.Spacing4
|
|
2222
|
+
},
|
|
2223
|
+
[`& .${checkboxClasses.root}`]: {
|
|
2224
|
+
width: `${odysseyTokens.TypographyLineHeightUi}rem`,
|
|
2225
|
+
height: `${odysseyTokens.TypographyLineHeightUi}rem`,
|
|
2226
|
+
margin: 0
|
|
2227
|
+
},
|
|
2228
|
+
[`& .${dividerClasses.vertical}`]: {
|
|
2229
|
+
borderStyle: "none none none dotted",
|
|
2230
|
+
borderWidth: 2,
|
|
2231
|
+
borderRadius: 0,
|
|
2232
|
+
marginRight: 2
|
|
2233
|
+
}
|
|
2234
|
+
})
|
|
2323
2235
|
}
|
|
2324
2236
|
},
|
|
2325
2237
|
MuiTableContainer: {
|
|
@@ -2429,28 +2341,25 @@ export const components = _ref => {
|
|
|
2429
2341
|
color: odysseyTokens.TypographyColorBody
|
|
2430
2342
|
}
|
|
2431
2343
|
},
|
|
2432
|
-
icon:
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
"
|
|
2444
|
-
opacity: "
|
|
2445
|
-
"&:hover, &:focus": {
|
|
2446
|
-
opacity: "1 !important"
|
|
2447
|
-
}
|
|
2448
|
-
},
|
|
2449
|
-
".isSorted &": {
|
|
2450
|
-
opacity: 1
|
|
2344
|
+
icon: ({
|
|
2345
|
+
ownerState
|
|
2346
|
+
}) => ({
|
|
2347
|
+
...(ownerState.direction === "asc" && {
|
|
2348
|
+
transform: "rotate(180deg) !important"
|
|
2349
|
+
}),
|
|
2350
|
+
".isUnsorted &": {
|
|
2351
|
+
opacity: "0 !important"
|
|
2352
|
+
},
|
|
2353
|
+
".isUnsorted:hover &, .isUnsorted:focus &": {
|
|
2354
|
+
opacity: "0.5 !important",
|
|
2355
|
+
"&:hover, &:focus": {
|
|
2356
|
+
opacity: "1 !important"
|
|
2451
2357
|
}
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2358
|
+
},
|
|
2359
|
+
".isSorted &": {
|
|
2360
|
+
opacity: 1
|
|
2361
|
+
}
|
|
2362
|
+
})
|
|
2454
2363
|
}
|
|
2455
2364
|
},
|
|
2456
2365
|
MuiTooltip: {
|
|
@@ -2461,69 +2370,66 @@ export const components = _ref => {
|
|
|
2461
2370
|
placement: "top"
|
|
2462
2371
|
},
|
|
2463
2372
|
styleOverrides: {
|
|
2464
|
-
tooltip:
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
|
|
2373
|
+
tooltip: ({
|
|
2374
|
+
ownerState
|
|
2375
|
+
}) => ({
|
|
2376
|
+
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
2377
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
2378
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
2379
|
+
backgroundColor: odysseyTokens.HueNeutral900,
|
|
2380
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
2381
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2382
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2383
|
+
...(ownerState.touch === true && {
|
|
2470
2384
|
paddingBlock: odysseyTokens.Spacing2,
|
|
2471
2385
|
paddingInline: odysseyTokens.Spacing3,
|
|
2472
|
-
backgroundColor: odysseyTokens.HueNeutral900,
|
|
2473
|
-
color: odysseyTokens.HueNeutralWhite,
|
|
2474
2386
|
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2475
2387
|
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
transformOrigin: "right center",
|
|
2485
|
-
...(ownerState.isRtl ? {
|
|
2486
|
-
marginInlineStart: odysseyTokens.Spacing3,
|
|
2487
|
-
...(ownerState.touch === true && {
|
|
2488
|
-
marginInlineStart: odysseyTokens.Spacing4
|
|
2489
|
-
})
|
|
2490
|
-
} : {
|
|
2491
|
-
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2492
|
-
...(ownerState.touch === true && {
|
|
2493
|
-
marginInlineEnd: odysseyTokens.Spacing4
|
|
2494
|
-
})
|
|
2388
|
+
fontWeight: odysseyTokens.TypographyWeightBody
|
|
2389
|
+
}),
|
|
2390
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
|
|
2391
|
+
transformOrigin: "right center",
|
|
2392
|
+
...(ownerState.isRtl ? {
|
|
2393
|
+
marginInlineStart: odysseyTokens.Spacing3,
|
|
2394
|
+
...(ownerState.touch === true && {
|
|
2395
|
+
marginInlineStart: odysseyTokens.Spacing4
|
|
2495
2396
|
})
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2501
|
-
...(ownerState.touch === true && {
|
|
2502
|
-
marginInlineEnd: odysseyTokens.Spacing4
|
|
2503
|
-
})
|
|
2504
|
-
} : {
|
|
2505
|
-
marginInlineStart: odysseyTokens.Spacing3,
|
|
2506
|
-
...(ownerState.touch === true && {
|
|
2507
|
-
marginInlineStart: odysseyTokens.Spacing4
|
|
2508
|
-
})
|
|
2397
|
+
} : {
|
|
2398
|
+
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2399
|
+
...(ownerState.touch === true && {
|
|
2400
|
+
marginInlineEnd: odysseyTokens.Spacing4
|
|
2509
2401
|
})
|
|
2510
|
-
}
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2402
|
+
})
|
|
2403
|
+
},
|
|
2404
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
|
|
2405
|
+
transformOrigin: "left center",
|
|
2406
|
+
...(ownerState.isRtl ? {
|
|
2407
|
+
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2514
2408
|
...(ownerState.touch === true && {
|
|
2515
|
-
|
|
2409
|
+
marginInlineEnd: odysseyTokens.Spacing4
|
|
2516
2410
|
})
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
|
-
transformOrigin: "center top",
|
|
2520
|
-
marginTop: odysseyTokens.Spacing3,
|
|
2411
|
+
} : {
|
|
2412
|
+
marginInlineStart: odysseyTokens.Spacing3,
|
|
2521
2413
|
...(ownerState.touch === true && {
|
|
2522
|
-
|
|
2414
|
+
marginInlineStart: odysseyTokens.Spacing4
|
|
2523
2415
|
})
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2416
|
+
})
|
|
2417
|
+
},
|
|
2418
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
|
|
2419
|
+
transformOrigin: "center bottom",
|
|
2420
|
+
marginBottom: odysseyTokens.Spacing3,
|
|
2421
|
+
...(ownerState.touch === true && {
|
|
2422
|
+
marginBottom: odysseyTokens.Spacing4
|
|
2423
|
+
})
|
|
2424
|
+
},
|
|
2425
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
|
|
2426
|
+
transformOrigin: "center top",
|
|
2427
|
+
marginTop: odysseyTokens.Spacing3,
|
|
2428
|
+
...(ownerState.touch === true && {
|
|
2429
|
+
marginTop: odysseyTokens.Spacing4
|
|
2430
|
+
})
|
|
2431
|
+
}
|
|
2432
|
+
}),
|
|
2527
2433
|
arrow: {
|
|
2528
2434
|
color: odysseyTokens.HueNeutral900,
|
|
2529
2435
|
"&::before": {
|