@atlaskit/pragmatic-drag-and-drop-react-accessibility 2.1.5 → 2.1.6
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
CHANGED
|
@@ -21,7 +21,7 @@ var _excluded = ["children", "isSelected", "testId", "appearance", "type"];
|
|
|
21
21
|
* which prevents dragging.
|
|
22
22
|
*/
|
|
23
23
|
var buttonStyles = (0, _react2.css)({
|
|
24
|
-
color: "var(--ds-text, #
|
|
24
|
+
color: "var(--ds-text, #292A2E)",
|
|
25
25
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
26
26
|
padding: "var(--ds-space-0, 0px)",
|
|
27
27
|
width: 'max-content',
|
|
@@ -31,26 +31,26 @@ var buttonStyles = (0, _react2.css)({
|
|
|
31
31
|
});
|
|
32
32
|
var buttonAppearanceStyles = {
|
|
33
33
|
default: (0, _react2.css)({
|
|
34
|
-
backgroundColor: "var(--ds-background-neutral, #
|
|
34
|
+
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
35
35
|
'&:hover': {
|
|
36
|
-
backgroundColor: "var(--ds-background-neutral-hovered, #
|
|
36
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
|
|
37
37
|
},
|
|
38
38
|
'&:active': {
|
|
39
|
-
backgroundColor: "var(--ds-background-neutral-pressed, #
|
|
39
|
+
backgroundColor: "var(--ds-background-neutral-pressed, #080F214A)"
|
|
40
40
|
}
|
|
41
41
|
}),
|
|
42
42
|
subtle: (0, _react2.css)({
|
|
43
43
|
backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
|
|
44
44
|
'&:hover': {
|
|
45
|
-
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #
|
|
45
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
46
46
|
},
|
|
47
47
|
'&:active': {
|
|
48
|
-
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #
|
|
48
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)"
|
|
49
49
|
}
|
|
50
50
|
}),
|
|
51
51
|
selected: (0, _react2.css)({
|
|
52
|
-
backgroundColor: "var(--ds-background-selected, #
|
|
53
|
-
color: "var(--ds-text-selected, #
|
|
52
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)",
|
|
53
|
+
color: "var(--ds-text-selected, #1868DB)"
|
|
54
54
|
})
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -14,7 +14,7 @@ import FocusRing from '@atlaskit/focus-ring';
|
|
|
14
14
|
* which prevents dragging.
|
|
15
15
|
*/
|
|
16
16
|
const buttonStyles = css({
|
|
17
|
-
color: "var(--ds-text, #
|
|
17
|
+
color: "var(--ds-text, #292A2E)",
|
|
18
18
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
19
19
|
padding: "var(--ds-space-0, 0px)",
|
|
20
20
|
width: 'max-content',
|
|
@@ -24,26 +24,26 @@ const buttonStyles = css({
|
|
|
24
24
|
});
|
|
25
25
|
const buttonAppearanceStyles = {
|
|
26
26
|
default: css({
|
|
27
|
-
backgroundColor: "var(--ds-background-neutral, #
|
|
27
|
+
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
28
28
|
'&:hover': {
|
|
29
|
-
backgroundColor: "var(--ds-background-neutral-hovered, #
|
|
29
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
|
|
30
30
|
},
|
|
31
31
|
'&:active': {
|
|
32
|
-
backgroundColor: "var(--ds-background-neutral-pressed, #
|
|
32
|
+
backgroundColor: "var(--ds-background-neutral-pressed, #080F214A)"
|
|
33
33
|
}
|
|
34
34
|
}),
|
|
35
35
|
subtle: css({
|
|
36
36
|
backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
|
|
37
37
|
'&:hover': {
|
|
38
|
-
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #
|
|
38
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
39
39
|
},
|
|
40
40
|
'&:active': {
|
|
41
|
-
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #
|
|
41
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)"
|
|
42
42
|
}
|
|
43
43
|
}),
|
|
44
44
|
selected: css({
|
|
45
|
-
backgroundColor: "var(--ds-background-selected, #
|
|
46
|
-
color: "var(--ds-text-selected, #
|
|
45
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)",
|
|
46
|
+
color: "var(--ds-text-selected, #1868DB)"
|
|
47
47
|
})
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -16,7 +16,7 @@ import FocusRing from '@atlaskit/focus-ring';
|
|
|
16
16
|
* which prevents dragging.
|
|
17
17
|
*/
|
|
18
18
|
var buttonStyles = css({
|
|
19
|
-
color: "var(--ds-text, #
|
|
19
|
+
color: "var(--ds-text, #292A2E)",
|
|
20
20
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
21
21
|
padding: "var(--ds-space-0, 0px)",
|
|
22
22
|
width: 'max-content',
|
|
@@ -26,26 +26,26 @@ var buttonStyles = css({
|
|
|
26
26
|
});
|
|
27
27
|
var buttonAppearanceStyles = {
|
|
28
28
|
default: css({
|
|
29
|
-
backgroundColor: "var(--ds-background-neutral, #
|
|
29
|
+
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
30
30
|
'&:hover': {
|
|
31
|
-
backgroundColor: "var(--ds-background-neutral-hovered, #
|
|
31
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
|
|
32
32
|
},
|
|
33
33
|
'&:active': {
|
|
34
|
-
backgroundColor: "var(--ds-background-neutral-pressed, #
|
|
34
|
+
backgroundColor: "var(--ds-background-neutral-pressed, #080F214A)"
|
|
35
35
|
}
|
|
36
36
|
}),
|
|
37
37
|
subtle: css({
|
|
38
38
|
backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
|
|
39
39
|
'&:hover': {
|
|
40
|
-
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #
|
|
40
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
41
41
|
},
|
|
42
42
|
'&:active': {
|
|
43
|
-
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #
|
|
43
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)"
|
|
44
44
|
}
|
|
45
45
|
}),
|
|
46
46
|
selected: css({
|
|
47
|
-
backgroundColor: "var(--ds-background-selected, #
|
|
48
|
-
color: "var(--ds-text-selected, #
|
|
47
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)",
|
|
48
|
+
color: "var(--ds-text-selected, #1868DB)"
|
|
49
49
|
})
|
|
50
50
|
};
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pragmatic-drag-and-drop-react-accessibility",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "An optional package for Pragmatic drag and drop containing react components to assist with setting up accessible experiences",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"atlaskit:src": "src/index.tsx",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
37
|
-
"@atlaskit/icon": "^
|
|
37
|
+
"@atlaskit/icon": "^29.0.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/primitives": "^16.1.0",
|
|
40
40
|
"@atlaskit/tokens": "^8.0.0",
|