@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
|
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import {
|
|
12
|
+
import { getContrastRatio } from '../styles/color-manipulator';
|
|
13
13
|
import { shadeMap } from './colors';
|
|
14
14
|
export var createMixins = function (_a) {
|
|
15
15
|
var palette = _a.palette, tokens = _a.tokens, _b = _a.overrides, overrides = _b === void 0 ? {} : _b;
|
|
@@ -37,10 +37,9 @@ export var createMixins = function (_a) {
|
|
|
37
37
|
};
|
|
38
38
|
var focusRing = function (options) {
|
|
39
39
|
if (options === void 0) { options = {}; }
|
|
40
|
-
var _a = options.color, color = _a === void 0 ? tokens.
|
|
41
|
-
var shadow = "".concat(opacity === 1 ? color : alpha(color, opacity), " 0px 0px 0px 0.25em");
|
|
40
|
+
var _a = options.color, color = _a === void 0 ? tokens.color_border_focus : _a;
|
|
42
41
|
return {
|
|
43
|
-
|
|
42
|
+
outline: "2px solid ".concat(color),
|
|
44
43
|
};
|
|
45
44
|
};
|
|
46
45
|
var borderAsBoxShadow = function (color, width) {
|
|
@@ -58,7 +57,7 @@ export var createMixins = function (_a) {
|
|
|
58
57
|
},
|
|
59
58
|
hover: hoverStyles,
|
|
60
59
|
active: hoverStyles,
|
|
61
|
-
focus: __assign({ color: tokens.color_fg_inverse_static }, focusRing({ color: tokens.color_border_focus_inverse_static
|
|
60
|
+
focus: __assign({ color: tokens.color_fg_inverse_static }, focusRing({ color: tokens.color_border_focus_inverse_static })),
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
63
|
var getColorModeValue = function (_a) {
|