@auth0/quantum-product 1.11.0 → 1.12.0
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/breadcrumbs/breadcrumbs-overrides.d.ts +2 -2
- package/breadcrumbs/breadcrumbs-overrides.js +17 -1
- package/button/button-overrides.js +16 -2
- package/card/card-header/card-header.js +1 -1
- package/card/card.js +1 -1
- package/checkbox/checkbox-overrides.js +1 -1
- package/chip/chip-overrides.js +1 -5
- package/chip/chip.js +1 -7
- package/dialog/dialog-title/dialog-title.d.ts +1 -1
- package/esm/breadcrumbs/breadcrumbs-overrides.js +17 -1
- package/esm/button/button-overrides.js +16 -2
- package/esm/card/card-header/card-header.js +1 -1
- package/esm/card/card.js +1 -1
- package/esm/checkbox/checkbox-overrides.js +1 -1
- package/esm/chip/chip-overrides.js +1 -5
- package/esm/chip/chip.js +1 -7
- package/esm/icon-button/icon-button-overrides.js +54 -24
- package/esm/icon-button/icon-button.js +14 -5
- package/esm/input/outlined-input-overrides.js +11 -16
- package/esm/label/label.js +21 -3
- package/esm/radio/radio-overrides.js +1 -1
- package/esm/switch/switch-overrides.js +12 -1
- package/esm/tabs/tab/tab-override.js +4 -13
- package/esm/theme/create-mixins.js +4 -5
- package/icon/index.d.ts +343 -343
- package/icon-button/icon-button-overrides.js +54 -24
- package/icon-button/icon-button.d.ts +0 -1
- package/icon-button/icon-button.js +15 -6
- package/input/outlined-input-overrides.js +11 -16
- package/label/label.d.ts +1 -0
- package/label/label.js +21 -3
- package/package.json +2 -2
- package/radio/radio-overrides.js +1 -1
- package/switch/switch-overrides.js +12 -1
- package/tabs/tab/tab-override.js +4 -13
- package/theme/create-mixins.js +3 -4
- package/esm/pagination/pager/pager.test.js +0 -47
- package/esm/test-utils.js +0 -68
- package/pagination/pager/pager.test.d.ts +0 -1
- package/pagination/pager/pager.test.js +0 -72
- package/test-utils.d.ts +0 -14
- package/test-utils.js +0 -100
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BreadcrumbsProps } from '@mui/material
|
|
2
|
-
export declare const createMuiBreadcrumbsOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<BreadcrumbsProps<"nav", {}>, keyof import("@mui/material
|
|
1
|
+
import { BreadcrumbsProps } from '@mui/material';
|
|
2
|
+
export declare const createMuiBreadcrumbsOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<BreadcrumbsProps<"nav", {}>, keyof import("@mui/material").BreadcrumbsClasses>;
|
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.createMuiBreadcrumbsOverrides = void 0;
|
|
15
|
+
var material_1 = require("@mui/material");
|
|
4
16
|
var create_component_overrides_1 = require("../theme/create-component-overrides");
|
|
5
17
|
exports.createMuiBreadcrumbsOverrides = (0, create_component_overrides_1.createComponentOverrides)(function (_a) {
|
|
6
|
-
var
|
|
18
|
+
var _b;
|
|
19
|
+
var mixins = _a.mixins, tokens = _a.tokens;
|
|
7
20
|
return ({
|
|
8
21
|
styleOverrides: {
|
|
9
22
|
separator: {
|
|
10
23
|
color: tokens.color_fg_decorative,
|
|
11
24
|
fontSize: '0.875rem',
|
|
12
25
|
},
|
|
26
|
+
root: (_b = {},
|
|
27
|
+
_b["& .".concat(material_1.buttonBaseClasses.root, ":focus")] = __assign({ outlineOffset: 2 }, mixins.focusRing()),
|
|
28
|
+
_b),
|
|
13
29
|
},
|
|
14
30
|
});
|
|
15
31
|
});
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.createMuiButtonOverrides = void 0;
|
|
4
15
|
var Button_1 = require("@mui/material/Button");
|
|
@@ -210,9 +221,9 @@ exports.createMuiButtonOverrides = (0, create_component_overrides_1.createCompon
|
|
|
210
221
|
{
|
|
211
222
|
props: { color: 'danger' },
|
|
212
223
|
style: (_b = {},
|
|
213
|
-
_b["&:focus,&.".concat(Button_1.buttonClasses.focusVisible)] = mixins.focusRing({
|
|
224
|
+
_b["&:focus,&.".concat(Button_1.buttonClasses.focusVisible)] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
214
225
|
color: tokens.color_border_focus_state_danger,
|
|
215
|
-
}),
|
|
226
|
+
})),
|
|
216
227
|
_b),
|
|
217
228
|
},
|
|
218
229
|
],
|
|
@@ -227,6 +238,9 @@ exports.createMuiButtonOverrides = (0, create_component_overrides_1.createCompon
|
|
|
227
238
|
backgroundColor: tokens.color_bg_button_disabled,
|
|
228
239
|
borderColor: tokens.color_border_disabled,
|
|
229
240
|
},
|
|
241
|
+
_c["&:focus,&.".concat(Button_1.buttonClasses.focusVisible)] = {
|
|
242
|
+
outlineOffset: 2,
|
|
243
|
+
},
|
|
230
244
|
_c),
|
|
231
245
|
fullWidth: {
|
|
232
246
|
width: '100%',
|
|
@@ -91,5 +91,5 @@ exports.CardHeader = React.forwardRef(function (props, ref) {
|
|
|
91
91
|
action: classes.action,
|
|
92
92
|
avatar: classes.avatar,
|
|
93
93
|
content: classes.content,
|
|
94
|
-
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: '
|
|
94
|
+
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: 'p' }, { role: "heading", display: "block" }, titleTypographyProps, { className: (0, clsx_1.default)(classes.title, titleTypographyProps.className), ownerState: { size: size } }), title), subheader: subheader ? (React.createElement(text_1.Text, __assign({ variant: "body2", color: "textSecondary", component: "p" }, subheaderTypographyProps, { className: (0, clsx_1.default)(classes.subheader, subheaderTypographyProps.className) }), subheader)) : null }, cardProps, { disableTypography: true })));
|
|
95
95
|
});
|
package/card/card.js
CHANGED
|
@@ -98,7 +98,7 @@ var Root = (0, styled_1.styled)(Card_1.default, {
|
|
|
98
98
|
backgroundColor: (0, color_manipulator_1.fade)(theme.palette.action.hoverBackground, 0.1),
|
|
99
99
|
boxShadow: theme.shadows[1],
|
|
100
100
|
},
|
|
101
|
-
'&:focus': __assign({
|
|
101
|
+
'&:focus': __assign({ outlineOffset: 2 }, theme.mixins.focusRing()),
|
|
102
102
|
}))), (ownerState.selectableButton && {
|
|
103
103
|
cursor: 'pointer',
|
|
104
104
|
transition: theme.transitions.create(['box-shadow', 'border-color'], {
|
|
@@ -27,7 +27,7 @@ var createMuiCheckboxOverrides = function (_a) {
|
|
|
27
27
|
duration: transitions.duration.short,
|
|
28
28
|
}),
|
|
29
29
|
color: tokens.color_border_input,
|
|
30
|
-
'&:focus-within svg': __assign({ borderRadius: 4 }, mixins.focusRing()),
|
|
30
|
+
'&:focus-within svg': __assign({ borderRadius: 4, outlineOffset: 2 }, mixins.focusRing()),
|
|
31
31
|
},
|
|
32
32
|
colorPrimary: (_b = {
|
|
33
33
|
'&:hover,': {
|
package/chip/chip-overrides.js
CHANGED
|
@@ -40,11 +40,7 @@ exports.createMuiChipOverrides = (0, create_component_overrides_1.createComponen
|
|
|
40
40
|
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
41
41
|
backgroundColor: tokens.color_bg_link_hover,
|
|
42
42
|
},
|
|
43
|
-
'&:focus,&.Mui-focusVisible': {
|
|
44
|
-
cursor: 'pointer',
|
|
45
|
-
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
46
|
-
backgroundColor: tokens.color_bg_link_hover,
|
|
47
|
-
}
|
|
43
|
+
'&:focus,&.Mui-focusVisible': __assign({ cursor: 'pointer', boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button), backgroundColor: tokens.color_bg_link_hover, outlineOffset: 2 }, mixins.focusRing())
|
|
48
44
|
},
|
|
49
45
|
_c["&.".concat(Chip_1.chipClasses.disabled)] = {
|
|
50
46
|
opacity: 1,
|
package/chip/chip.js
CHANGED
|
@@ -74,13 +74,7 @@ var Root = (0, styled_1.styled)(Chip_1.default, { name: exports.chipComponentNam
|
|
|
74
74
|
boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
75
75
|
backgroundColor: theme.tokens.color_bg_selected_subtle_pressed,
|
|
76
76
|
},
|
|
77
|
-
_b["&:focus:not(&.".concat(Chip_1.chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(Chip_1.chipClasses.disabled, ")")] = {
|
|
78
|
-
backgroundColor: theme.tokens.color_bg_selected_subtle_hover,
|
|
79
|
-
boxShadow: [
|
|
80
|
-
theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
81
|
-
theme.mixins.focusRing().boxShadow,
|
|
82
|
-
],
|
|
83
|
-
},
|
|
77
|
+
_b["&:focus:not(&.".concat(Chip_1.chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(Chip_1.chipClasses.disabled, ")")] = __assign({ backgroundColor: theme.tokens.color_bg_selected_subtle_hover, boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2) }, theme.mixins.focusRing()),
|
|
84
78
|
_b[".".concat(Checkbox_1.checkboxClasses.colorPrimary, ".").concat(Checkbox_1.checkboxClasses.checked, ":not(.").concat(Checkbox_1.checkboxClasses.disabled, ")")] = {
|
|
85
79
|
color: theme.tokens.color_bg_selected,
|
|
86
80
|
},
|
|
@@ -6,4 +6,4 @@ export interface IDialogTitleProps extends Omit<DialogTitleProps, 'classes'> {
|
|
|
6
6
|
onClose?(event: {}, reason: 'closeClick'): void;
|
|
7
7
|
classes?: Partial<DialogTitleClasses>;
|
|
8
8
|
}
|
|
9
|
-
export declare const DialogTitle: React.ForwardRefExoticComponent<Pick<IDialogTitleProps, "p" | "slot" | "style" | "title" | "color" | "border" | "
|
|
9
|
+
export declare const DialogTitle: React.ForwardRefExoticComponent<Pick<IDialogTitleProps, "p" | "slot" | "style" | "title" | "color" | "border" | "hidden" | "left" | "right" | "bottom" | "top" | "flex" | "position" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "className" | "classes" | "children" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disableTypography" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "component" | "onClose"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,28 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { buttonBaseClasses } from '@mui/material';
|
|
1
13
|
import { createComponentOverrides } from '../theme/create-component-overrides';
|
|
2
14
|
export var createMuiBreadcrumbsOverrides = createComponentOverrides(function (_a) {
|
|
3
|
-
var
|
|
15
|
+
var _b;
|
|
16
|
+
var mixins = _a.mixins, tokens = _a.tokens;
|
|
4
17
|
return ({
|
|
5
18
|
styleOverrides: {
|
|
6
19
|
separator: {
|
|
7
20
|
color: tokens.color_fg_decorative,
|
|
8
21
|
fontSize: '0.875rem',
|
|
9
22
|
},
|
|
23
|
+
root: (_b = {},
|
|
24
|
+
_b["& .".concat(buttonBaseClasses.root, ":focus")] = __assign({ outlineOffset: 2 }, mixins.focusRing()),
|
|
25
|
+
_b),
|
|
10
26
|
},
|
|
11
27
|
});
|
|
12
28
|
});
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import { buttonClasses } from '@mui/material/Button';
|
|
2
13
|
import { createComponentOverrides } from '../theme/create-component-overrides';
|
|
3
14
|
export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
@@ -207,9 +218,9 @@ export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
|
207
218
|
{
|
|
208
219
|
props: { color: 'danger' },
|
|
209
220
|
style: (_b = {},
|
|
210
|
-
_b["&:focus,&.".concat(buttonClasses.focusVisible)] = mixins.focusRing({
|
|
221
|
+
_b["&:focus,&.".concat(buttonClasses.focusVisible)] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
211
222
|
color: tokens.color_border_focus_state_danger,
|
|
212
|
-
}),
|
|
223
|
+
})),
|
|
213
224
|
_b),
|
|
214
225
|
},
|
|
215
226
|
],
|
|
@@ -224,6 +235,9 @@ export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
|
224
235
|
backgroundColor: tokens.color_bg_button_disabled,
|
|
225
236
|
borderColor: tokens.color_border_disabled,
|
|
226
237
|
},
|
|
238
|
+
_c["&:focus,&.".concat(buttonClasses.focusVisible)] = {
|
|
239
|
+
outlineOffset: 2,
|
|
240
|
+
},
|
|
227
241
|
_c),
|
|
228
242
|
fullWidth: {
|
|
229
243
|
width: '100%',
|
|
@@ -62,5 +62,5 @@ export var CardHeader = React.forwardRef(function (props, ref) {
|
|
|
62
62
|
action: classes.action,
|
|
63
63
|
avatar: classes.avatar,
|
|
64
64
|
content: classes.content,
|
|
65
|
-
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: '
|
|
65
|
+
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: 'p' }, { role: "heading", display: "block" }, titleTypographyProps, { className: clsx(classes.title, titleTypographyProps.className), ownerState: { size: size } }), title), subheader: subheader ? (React.createElement(Text, __assign({ variant: "body2", color: "textSecondary", component: "p" }, subheaderTypographyProps, { className: clsx(classes.subheader, subheaderTypographyProps.className) }), subheader)) : null }, cardProps, { disableTypography: true })));
|
|
66
66
|
});
|
package/esm/card/card.js
CHANGED
|
@@ -69,7 +69,7 @@ var Root = styled(MuiCard, {
|
|
|
69
69
|
backgroundColor: fade(theme.palette.action.hoverBackground, 0.1),
|
|
70
70
|
boxShadow: theme.shadows[1],
|
|
71
71
|
},
|
|
72
|
-
'&:focus': __assign({
|
|
72
|
+
'&:focus': __assign({ outlineOffset: 2 }, theme.mixins.focusRing()),
|
|
73
73
|
}))), (ownerState.selectableButton && {
|
|
74
74
|
cursor: 'pointer',
|
|
75
75
|
transition: theme.transitions.create(['box-shadow', 'border-color'], {
|
|
@@ -24,7 +24,7 @@ export var createMuiCheckboxOverrides = function (_a) {
|
|
|
24
24
|
duration: transitions.duration.short,
|
|
25
25
|
}),
|
|
26
26
|
color: tokens.color_border_input,
|
|
27
|
-
'&:focus-within svg': __assign({ borderRadius: 4 }, mixins.focusRing()),
|
|
27
|
+
'&:focus-within svg': __assign({ borderRadius: 4, outlineOffset: 2 }, mixins.focusRing()),
|
|
28
28
|
},
|
|
29
29
|
colorPrimary: (_b = {
|
|
30
30
|
'&:hover,': {
|
|
@@ -37,11 +37,7 @@ export var createMuiChipOverrides = createComponentOverrides(function (_a) {
|
|
|
37
37
|
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
38
38
|
backgroundColor: tokens.color_bg_link_hover,
|
|
39
39
|
},
|
|
40
|
-
'&:focus,&.Mui-focusVisible': {
|
|
41
|
-
cursor: 'pointer',
|
|
42
|
-
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
43
|
-
backgroundColor: tokens.color_bg_link_hover,
|
|
44
|
-
}
|
|
40
|
+
'&:focus,&.Mui-focusVisible': __assign({ cursor: 'pointer', boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button), backgroundColor: tokens.color_bg_link_hover, outlineOffset: 2 }, mixins.focusRing())
|
|
45
41
|
},
|
|
46
42
|
_c["&.".concat(chipClasses.disabled)] = {
|
|
47
43
|
opacity: 1,
|
package/esm/chip/chip.js
CHANGED
|
@@ -48,13 +48,7 @@ var Root = styled(MuiChip, { name: chipComponentName, slot: 'Root' })(function (
|
|
|
48
48
|
boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
49
49
|
backgroundColor: theme.tokens.color_bg_selected_subtle_pressed,
|
|
50
50
|
},
|
|
51
|
-
_b["&:focus:not(&.".concat(chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(chipClasses.disabled, ")")] = {
|
|
52
|
-
backgroundColor: theme.tokens.color_bg_selected_subtle_hover,
|
|
53
|
-
boxShadow: [
|
|
54
|
-
theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
55
|
-
theme.mixins.focusRing().boxShadow,
|
|
56
|
-
],
|
|
57
|
-
},
|
|
51
|
+
_b["&:focus:not(&.".concat(chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(chipClasses.disabled, ")")] = __assign({ backgroundColor: theme.tokens.color_bg_selected_subtle_hover, boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2) }, theme.mixins.focusRing()),
|
|
58
52
|
_b[".".concat(checkboxClasses.colorPrimary, ".").concat(checkboxClasses.checked, ":not(.").concat(checkboxClasses.disabled, ")")] = {
|
|
59
53
|
color: theme.tokens.color_bg_selected,
|
|
60
54
|
},
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import { createComponentOverrides } from '../theme/create-component-overrides';
|
|
2
13
|
import { iconButtonClasses } from '@mui/material/IconButton';
|
|
3
14
|
export var createMuiIconButtonOverrides = createComponentOverrides(function (_a) {
|
|
4
|
-
var _b;
|
|
5
|
-
var typography = _a.typography, tokens = _a.tokens;
|
|
15
|
+
var _b, _c, _d, _e;
|
|
16
|
+
var mixins = _a.mixins, typography = _a.typography, tokens = _a.tokens;
|
|
6
17
|
return {
|
|
7
18
|
defaultProps: {},
|
|
8
19
|
styleOverrides: {
|
|
@@ -12,6 +23,9 @@ export var createMuiIconButtonOverrides = createComponentOverrides(function (_a)
|
|
|
12
23
|
backgroundColor: tokens.color_bg_button_disabled,
|
|
13
24
|
borderColor: tokens.color_border_disabled,
|
|
14
25
|
},
|
|
26
|
+
_b["&:focus,&.Mui-focusVisible"] = {
|
|
27
|
+
outlineOffset: 2,
|
|
28
|
+
},
|
|
15
29
|
_b),
|
|
16
30
|
},
|
|
17
31
|
variants: [
|
|
@@ -66,17 +80,21 @@ export var createMuiIconButtonOverrides = createComponentOverrides(function (_a)
|
|
|
66
80
|
},
|
|
67
81
|
{
|
|
68
82
|
props: { color: 'danger' },
|
|
69
|
-
style: {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
83
|
+
style: (_c = {
|
|
84
|
+
color: tokens.color_fg_link_danger,
|
|
85
|
+
'&:hover,&.Mui-hover': {
|
|
86
|
+
color: tokens.color_fg_link_danger_hover,
|
|
87
|
+
backgroundColor: tokens.color_bg_link_danger_hover,
|
|
88
|
+
},
|
|
89
|
+
'&:active,&.Mui-active': {
|
|
90
|
+
color: tokens.color_fg_link_danger_pressed,
|
|
91
|
+
backgroundColor: tokens.color_bg_link_danger_pressed,
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
_c["&:focus,&.Mui-focusVisible"] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
95
|
+
color: tokens.color_border_focus_state_danger,
|
|
96
|
+
})),
|
|
97
|
+
_c),
|
|
80
98
|
},
|
|
81
99
|
{
|
|
82
100
|
props: { variant: 'contained', color: 'primary' },
|
|
@@ -95,18 +113,22 @@ export var createMuiIconButtonOverrides = createComponentOverrides(function (_a)
|
|
|
95
113
|
},
|
|
96
114
|
{
|
|
97
115
|
props: { variant: 'contained', color: 'danger' },
|
|
98
|
-
style: {
|
|
99
|
-
|
|
100
|
-
color: tokens.color_fg_on_button_danger,
|
|
101
|
-
'&:hover,&.Mui-hover': {
|
|
102
|
-
color: tokens.color_fg_on_button_danger,
|
|
103
|
-
backgroundColor: tokens.color_bg_button_danger_hover,
|
|
104
|
-
},
|
|
105
|
-
'&:active,&.Mui-active': {
|
|
116
|
+
style: (_d = {
|
|
117
|
+
backgroundColor: tokens.color_bg_button_danger,
|
|
106
118
|
color: tokens.color_fg_on_button_danger,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
119
|
+
'&:hover,&.Mui-hover': {
|
|
120
|
+
color: tokens.color_fg_on_button_danger,
|
|
121
|
+
backgroundColor: tokens.color_bg_button_danger_hover,
|
|
122
|
+
},
|
|
123
|
+
'&:active,&.Mui-active': {
|
|
124
|
+
color: tokens.color_fg_on_button_danger,
|
|
125
|
+
backgroundColor: tokens.color_bg_button_danger_pressed,
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
_d["&:focus,&.Mui-focusVisible"] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
129
|
+
color: tokens.color_border_focus_state_danger,
|
|
130
|
+
})),
|
|
131
|
+
_d),
|
|
110
132
|
},
|
|
111
133
|
{
|
|
112
134
|
props: { variant: 'contained', color: 'default' },
|
|
@@ -162,6 +184,14 @@ export var createMuiIconButtonOverrides = createComponentOverrides(function (_a)
|
|
|
162
184
|
},
|
|
163
185
|
},
|
|
164
186
|
},
|
|
187
|
+
{
|
|
188
|
+
props: { variant: 'outlined', color: 'danger' },
|
|
189
|
+
style: (_e = {},
|
|
190
|
+
_e["&:focus,&.Mui-focusVisible"] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
191
|
+
color: tokens.color_border_focus_state_danger,
|
|
192
|
+
})),
|
|
193
|
+
_e),
|
|
194
|
+
},
|
|
165
195
|
{
|
|
166
196
|
props: { variant: 'link', color: 'default' },
|
|
167
197
|
style: {
|
|
@@ -26,13 +26,12 @@ import { styled } from '../styled';
|
|
|
26
26
|
import { useIconButtonContext } from './icon-button-context';
|
|
27
27
|
import { Tooltip } from '../tooltip';
|
|
28
28
|
export var IconButtonComponentName = 'QuantumIconButton';
|
|
29
|
-
export var IconButtonTooltipComponentName = 'QuantumIconTooltip';
|
|
30
29
|
export { iconButtonClasses };
|
|
31
|
-
var Root = styled(Tooltip, { name:
|
|
30
|
+
var Root = styled(Tooltip, { name: IconButtonComponentName, slot: 'Tooltip' })({});
|
|
32
31
|
// using any here to work arround TS perf issues with OverrideableComponent and styled
|
|
33
32
|
var StyledIconButton = styled(MuiIconButton, {
|
|
34
33
|
name: IconButtonComponentName,
|
|
35
|
-
slot: '
|
|
34
|
+
slot: 'Root',
|
|
36
35
|
})(function (_a) {
|
|
37
36
|
var _b;
|
|
38
37
|
var theme = _a.theme, edge = _a.edge, ownerState = _a.ownerState, color = _a.color;
|
|
@@ -50,10 +49,20 @@ var StyledIconButton = styled(MuiIconButton, {
|
|
|
50
49
|
borderRadius: '50%',
|
|
51
50
|
})));
|
|
52
51
|
});
|
|
52
|
+
var DisabledWrapper = styled('span', {
|
|
53
|
+
name: IconButtonComponentName,
|
|
54
|
+
slot: 'DisabledWrapper',
|
|
55
|
+
// doing this prevents the label from being applied to the span. Instead it is applied to the IconButton
|
|
56
|
+
shouldForwardProp: function (prop) { return prop !== 'aria-label' && prop !== 'title'; },
|
|
57
|
+
})({
|
|
58
|
+
display: 'inline-flex',
|
|
59
|
+
flex: 0,
|
|
60
|
+
width: 'max-content',
|
|
61
|
+
});
|
|
53
62
|
export var IconButton = React.forwardRef(function (props, ref) {
|
|
54
63
|
var iconButtonContext = useIconButtonContext();
|
|
55
64
|
var children = props.children, label = props.label, _a = props.color, color = _a === void 0 ? 'default' : _a, _b = props.variant, variant = _b === void 0 ? 'link' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, edgeProp = props.edge, _d = props.shape, shape = _d === void 0 ? 'default' : _d, tooltipPlacement = props.tooltipPlacement, onTooltipClose = props.onTooltipClose, iconButtonProps = __rest(props, ["children", "label", "color", "variant", "size", "disabled", "edge", "shape", "tooltipPlacement", "onTooltipClose"]);
|
|
56
65
|
var edge = edgeProp != null ? edgeProp : iconButtonContext.edge;
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
var button = (React.createElement(StyledIconButton, __assign({ color: color, ref: ref, edge: edge, disabled: disabled, size: size, variant: variant, ownerState: { shape: shape }, "aria-label": label }, iconButtonProps), children));
|
|
67
|
+
return (React.createElement(Root, { title: label, placement: tooltipPlacement, onClose: onTooltipClose }, disabled ? React.createElement(DisabledWrapper, null, button) : button));
|
|
59
68
|
});
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { outlinedInputClasses } from '@mui/material/OutlinedInput';
|
|
13
2
|
export var createMuiOutlinedInputOverrides = function (_a) {
|
|
14
3
|
var _b, _c, _d, _e;
|
|
15
|
-
var spacing = _a.spacing, transitions = _a.transitions,
|
|
4
|
+
var spacing = _a.spacing, transitions = _a.transitions, tokens = _a.tokens;
|
|
16
5
|
return {
|
|
17
6
|
defaultProps: {
|
|
18
7
|
color: 'primary',
|
|
@@ -37,13 +26,19 @@ export var createMuiOutlinedInputOverrides = function (_a) {
|
|
|
37
26
|
_b["&:hover .".concat(outlinedInputClasses.notchedOutline)] = {
|
|
38
27
|
borderColor: tokens.color_border_input_hover,
|
|
39
28
|
},
|
|
40
|
-
_b["&.".concat(outlinedInputClasses.focused, " .").concat(outlinedInputClasses.notchedOutline)] =
|
|
41
|
-
|
|
29
|
+
_b["&.".concat(outlinedInputClasses.focused, " .").concat(outlinedInputClasses.notchedOutline)] = {
|
|
30
|
+
borderWidth: 2,
|
|
31
|
+
borderColor: tokens.color_border_focus,
|
|
32
|
+
},
|
|
33
|
+
_b["&.".concat(outlinedInputClasses.focused, ":hover .").concat(outlinedInputClasses.notchedOutline)] = {
|
|
34
|
+
borderColor: tokens.color_border_focus,
|
|
35
|
+
},
|
|
42
36
|
_b["&.".concat(outlinedInputClasses.error, " .").concat(outlinedInputClasses.notchedOutline)] = {
|
|
43
37
|
borderColor: tokens.color_border_state_danger,
|
|
44
|
-
borderWidth: 2,
|
|
45
38
|
},
|
|
46
|
-
_b["&.".concat(outlinedInputClasses.error, "&.").concat(outlinedInputClasses.focused, " .").concat(outlinedInputClasses.notchedOutline)] =
|
|
39
|
+
_b["&.".concat(outlinedInputClasses.error, "&.").concat(outlinedInputClasses.focused, " .").concat(outlinedInputClasses.notchedOutline)] = {
|
|
40
|
+
borderColor: tokens.color_border_focus_state_danger,
|
|
41
|
+
},
|
|
47
42
|
_b),
|
|
48
43
|
notchedOutline: {
|
|
49
44
|
top: 0,
|
package/esm/label/label.js
CHANGED
|
@@ -9,6 +9,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
12
23
|
import * as React from 'react';
|
|
13
24
|
import { rootShouldForwardProp, styled } from '../styled';
|
|
14
25
|
export var labelComponentName = 'QuantumLabel';
|
|
@@ -46,7 +57,7 @@ var StyledLabel = styled('span', {
|
|
|
46
57
|
slot: 'Root',
|
|
47
58
|
shouldForwardProp: function (prop) { return rootShouldForwardProp(prop) && prop !== 'color' && prop !== 'variant'; },
|
|
48
59
|
})(function (_a) {
|
|
49
|
-
var theme = _a.theme, _b = _a.color, color =
|
|
60
|
+
var theme = _a.theme, _b = _a.ownerState, _c = _b.color, color = _c === void 0 ? 'default' : _c, _d = _b.variant, variant = _d === void 0 ? 'default' : _d;
|
|
50
61
|
return (__assign(__assign(__assign(__assign(__assign({}, theme.typography.overline), { padding: theme.spacing(0.25, 0.75), borderRadius: 4, display: 'inline-block', verticalAlign: 'middle' }), (variant === 'default' && __assign(__assign(__assign(__assign(__assign(__assign({}, (color === 'default' && {
|
|
51
62
|
background: theme.tokens.color_bg_state_neutral_subtle,
|
|
52
63
|
color: theme.tokens.color_fg_on_state_neutral_subtle,
|
|
@@ -98,6 +109,13 @@ var StyledLabel = styled('span', {
|
|
|
98
109
|
})))));
|
|
99
110
|
});
|
|
100
111
|
export var Label = React.forwardRef(function (props, ref) {
|
|
101
|
-
var productReleaseStage = props.productReleaseStage, _a = props.productReleaseStageAbbr, productReleaseStageAbbr = _a === void 0 ? true : _a;
|
|
102
|
-
|
|
112
|
+
var productReleaseStage = props.productReleaseStage, _a = props.productReleaseStageAbbr, productReleaseStageAbbr = _a === void 0 ? true : _a, children = props.children, color = props.color, variant = props.variant, rootProps = __rest(props, ["productReleaseStage", "productReleaseStageAbbr", "children", "color", "variant"]);
|
|
113
|
+
var ownerState = productReleaseStage
|
|
114
|
+
? getReleaseStageLabelProps(productReleaseStage, productReleaseStageAbbr)
|
|
115
|
+
: {
|
|
116
|
+
color: color,
|
|
117
|
+
variant: variant,
|
|
118
|
+
children: children,
|
|
119
|
+
};
|
|
120
|
+
return (React.createElement(StyledLabel, __assign({ ref: ref, ownerState: ownerState }, rootProps), ownerState.children));
|
|
103
121
|
});
|
|
@@ -24,7 +24,7 @@ export var createMuiRadioOverrides = function (_a) {
|
|
|
24
24
|
duration: transitions.duration.short,
|
|
25
25
|
}),
|
|
26
26
|
color: tokens.color_border_input,
|
|
27
|
-
'&:focus-within svg': __assign({ borderRadius: '50%' }, mixins.focusRing()),
|
|
27
|
+
'&:focus-within svg': __assign({ borderRadius: '50%', outlineOffset: 2 }, mixins.focusRing()),
|
|
28
28
|
// switch base is overriding this. Resetting it here.
|
|
29
29
|
'&&': {
|
|
30
30
|
padding: 0,
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import { switchClasses } from '@mui/material/Switch';
|
|
2
13
|
var SWITCH_DIMENSIONS = {
|
|
3
14
|
heightPx: 24,
|
|
@@ -19,7 +30,7 @@ export var createMuiSwitchOverrides = function (_a) {
|
|
|
19
30
|
padding: 0,
|
|
20
31
|
overflow: 'visible',
|
|
21
32
|
'&:focus-within,&.Mui-focused': (_b = {},
|
|
22
|
-
_b["& .".concat(switchClasses.track)] = mixins.focusRing(),
|
|
33
|
+
_b["& .".concat(switchClasses.track)] = __assign({ outlineOffset: 2 }, mixins.focusRing()),
|
|
23
34
|
_b),
|
|
24
35
|
},
|
|
25
36
|
colorPrimary: (_c = {
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { tabClasses } from '@mui/material/Tab';
|
|
13
2
|
export var createMuiTabOverrides = function (_a) {
|
|
14
3
|
var _b, _c;
|
|
15
|
-
var tokens = _a.tokens, spacing = _a.spacing, breakpoints = _a.breakpoints, typography = _a.typography
|
|
4
|
+
var tokens = _a.tokens, spacing = _a.spacing, breakpoints = _a.breakpoints, typography = _a.typography;
|
|
16
5
|
return {
|
|
17
6
|
variants: [
|
|
18
7
|
{
|
|
@@ -45,7 +34,9 @@ export var createMuiTabOverrides = function (_a) {
|
|
|
45
34
|
_c['&:hover'] = {
|
|
46
35
|
color: tokens.color_fg_selected,
|
|
47
36
|
},
|
|
48
|
-
_c['&:focus-visible'] =
|
|
37
|
+
_c['&:focus-visible'] = {
|
|
38
|
+
boxShadow: "0 0 0 2px ".concat(tokens.color_border_focus, " inset"),
|
|
39
|
+
},
|
|
49
40
|
_c.color = tokens.color_fg_link_subtle,
|
|
50
41
|
_c.fontWeight = typography.fontWeightRegular,
|
|
51
42
|
_c),
|