@elliemae/ds-accessibility 2.0.0-next.7 → 2.0.0-rc.10

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.
@@ -10,14 +10,26 @@ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
10
10
 
11
11
  const StyledButton = /*#__PURE__*/styled__default["default"].button.withConfig({
12
12
  componentId: "sc-17k27fy-0"
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
- theme
15
- }) => theme.colors.brand[600], ({
16
- theme
17
- }) => theme.colors.neutral['000'], ({
18
- theme
19
- }) => "".concat(theme.space.xxxs, " ").concat(theme.space.xxs), ({
20
- theme
21
- }) => theme.colors.brand[700]);
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;}"], _ref => {
14
+ let {
15
+ theme
16
+ } = _ref;
17
+ return theme.colors.brand[600];
18
+ }, _ref2 => {
19
+ let {
20
+ theme
21
+ } = _ref2;
22
+ return theme.colors.neutral['000'];
23
+ }, _ref3 => {
24
+ let {
25
+ theme
26
+ } = _ref3;
27
+ return "".concat(theme.space.xxxs, " ").concat(theme.space.xxs);
28
+ }, _ref4 => {
29
+ let {
30
+ theme
31
+ } = _ref4;
32
+ return theme.colors.brand[700];
33
+ });
22
34
 
23
35
  exports.StyledButton = StyledButton;
@@ -2,14 +2,26 @@ import styled from 'styled-components';
2
2
 
3
3
  const StyledButton = /*#__PURE__*/styled.button.withConfig({
4
4
  componentId: "sc-17k27fy-0"
5
- })(["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;}"], ({
6
- theme
7
- }) => theme.colors.brand[600], ({
8
- theme
9
- }) => theme.colors.neutral['000'], ({
10
- theme
11
- }) => "".concat(theme.space.xxxs, " ").concat(theme.space.xxs), ({
12
- theme
13
- }) => theme.colors.brand[700]);
5
+ })(["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;}"], _ref => {
6
+ let {
7
+ theme
8
+ } = _ref;
9
+ return theme.colors.brand[600];
10
+ }, _ref2 => {
11
+ let {
12
+ theme
13
+ } = _ref2;
14
+ return theme.colors.neutral['000'];
15
+ }, _ref3 => {
16
+ let {
17
+ theme
18
+ } = _ref3;
19
+ return "".concat(theme.space.xxxs, " ").concat(theme.space.xxs);
20
+ }, _ref4 => {
21
+ let {
22
+ theme
23
+ } = _ref4;
24
+ return theme.colors.brand[700];
25
+ });
14
26
 
15
27
  export { StyledButton };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-accessibility",
3
- "version": "2.0.0-next.7",
3
+ "version": "2.0.0-rc.10",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Accessibility",
6
6
  "module": "./esm/index.js",
@@ -50,9 +50,13 @@
50
50
  "dependencies": {
51
51
  "react-desc": "^4.1.3"
52
52
  },
53
+ "devDependencies": {
54
+ "styled-components": "~5.3.3"
55
+ },
53
56
  "peerDependencies": {
54
57
  "react": "^17.0.2",
55
- "react-dom": "^17.0.2"
58
+ "react-dom": "^17.0.2",
59
+ "styled-components": "^5.3.3"
56
60
  },
57
61
  "publishConfig": {
58
62
  "access": "public",
@@ -1,11 +1,21 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import type { DSSkipToPropsT as Props } from './index.d';
3
4
  declare const DSSkipTo: {
4
5
  (props: Props): JSX.Element;
5
6
  propTypes: {
6
7
  goTo: any;
7
- message: any;
8
+ message: {
9
+ defaultValue<T = unknown>(arg: T): {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ isRequired: import("react-desc").PropTypesDescValidator;
13
+ };
8
14
  };
9
15
  };
10
- declare const DSSkipToWithSchema: any;
16
+ declare const DSSkipToWithSchema: {
17
+ (props?: Props | undefined): JSX.Element;
18
+ propTypes: unknown;
19
+ toTypescript: () => import("react-desc").TypescriptSchema;
20
+ };
11
21
  export { DSSkipTo, DSSkipToWithSchema };
@@ -1,4 +1,10 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
3
  goTo: any;
3
- message: any;
4
+ message: {
5
+ defaultValue<T = unknown>(arg: T): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValidator;
9
+ };
4
10
  };
@@ -1 +1 @@
1
- export declare const StyledButton: import("styled-components").StyledComponent<"button", any, {}, never>;
1
+ export declare const StyledButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;