@elliemae/ds-accessibility 2.0.0-alpha.3 → 2.0.0-alpha.7
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/cjs/skip-to/DSSkipTo.js +1 -1
- package/cjs/skip-to/styles.js +1 -1
- package/package.json +1 -1
package/cjs/skip-to/DSSkipTo.js
CHANGED
|
@@ -20,7 +20,7 @@ const DSSkipTo = props => {
|
|
|
20
20
|
const handleOnClick = react.useCallback(() => {
|
|
21
21
|
document.getElementById(goTo).focus();
|
|
22
22
|
}, [goTo]);
|
|
23
|
-
return /*#__PURE__*/_jsx__default[
|
|
23
|
+
return /*#__PURE__*/_jsx__default["default"](styles.StyledButton, {
|
|
24
24
|
onClick: handleOnClick
|
|
25
25
|
}, void 0, message);
|
|
26
26
|
};
|
package/cjs/skip-to/styles.js
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
10
10
|
|
|
11
|
-
const StyledButton = /*#__PURE__*/styled__default[
|
|
11
|
+
const StyledButton = /*#__PURE__*/styled__default["default"].button.withConfig({
|
|
12
12
|
componentId: "sc-17k27fy-0"
|
|
13
13
|
})(["left:-999px;outline:none;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999;&:focus,&:active{color:", ";background-color:", ";text-decoration:underline;left:0;top:0;height:auto;cursor:pointer;width:fit-content;padding:", ";border-radius:2px;border:2px solid ", ";text-align:center;z-index:999;overflow:auto;}"], ({
|
|
14
14
|
theme
|