@atlaskit/dropdown-menu 12.8.0 → 12.8.2
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 +12 -0
- package/dist/cjs/internal/components/checkbox-icon.js +1 -1
- package/dist/cjs/internal/components/radio-icon.js +1 -1
- package/dist/es2019/internal/components/checkbox-icon.js +1 -1
- package/dist/es2019/internal/components/radio-icon.js +1 -1
- package/dist/esm/internal/components/checkbox-icon.js +1 -1
- package/dist/esm/internal/components/radio-icon.js +1 -1
- package/dist/types/internal/components/context.d.ts +2 -2
- package/dist/types-ts4.5/internal/components/context.d.ts +2 -2
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/dropdown-menu
|
|
2
2
|
|
|
3
|
+
## 12.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - Revert input border change from the previous version
|
|
8
|
+
|
|
9
|
+
## 12.8.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
|
|
14
|
+
|
|
3
15
|
## 12.8.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -33,7 +33,7 @@ var CheckboxIcon = function CheckboxIcon(_ref) {
|
|
|
33
33
|
height: "12",
|
|
34
34
|
rx: "2",
|
|
35
35
|
stroke: checked ? "var(--ds-border-selected, ".concat(_colors.B400, ")") : "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")"),
|
|
36
|
-
strokeWidth: 1
|
|
36
|
+
strokeWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
37
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
38
38
|
d: "M9.707 11.293a1 1 0 10-1.414 1.414l2 2a1 1 0 001.414 0l4-4a1 1 0 10-1.414-1.414L11 12.586l-1.293-1.293z",
|
|
39
39
|
fill: "inherit"
|
|
@@ -31,7 +31,7 @@ var RadioIcon = function RadioIcon(_ref) {
|
|
|
31
31
|
cy: "12",
|
|
32
32
|
r: "6",
|
|
33
33
|
stroke: checked ? "var(--ds-border-selected, ".concat(_colors.B400, ")") : "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")"),
|
|
34
|
-
strokeWidth: 1
|
|
34
|
+
strokeWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
35
35
|
}), /*#__PURE__*/_react.default.createElement("circle", {
|
|
36
36
|
fill: "inherit",
|
|
37
37
|
cx: "12",
|
|
@@ -27,7 +27,7 @@ const CheckboxIcon = ({
|
|
|
27
27
|
height: "12",
|
|
28
28
|
rx: "2",
|
|
29
29
|
stroke: checked ? `var(--ds-border-selected, ${B400})` : `var(--ds-border-input, ${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40})`,
|
|
30
|
-
strokeWidth: 1
|
|
30
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
31
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
32
32
|
d: "M9.707 11.293a1 1 0 10-1.414 1.414l2 2a1 1 0 001.414 0l4-4a1 1 0 10-1.414-1.414L11 12.586l-1.293-1.293z",
|
|
33
33
|
fill: "inherit"
|
|
@@ -25,7 +25,7 @@ const RadioIcon = ({
|
|
|
25
25
|
cy: "12",
|
|
26
26
|
r: "6",
|
|
27
27
|
stroke: checked ? `var(--ds-border-selected, ${B400})` : `var(--ds-border-input, ${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40})`,
|
|
28
|
-
strokeWidth: 1
|
|
28
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
29
29
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
30
30
|
fill: "inherit",
|
|
31
31
|
cx: "12",
|
|
@@ -26,7 +26,7 @@ var CheckboxIcon = function CheckboxIcon(_ref) {
|
|
|
26
26
|
height: "12",
|
|
27
27
|
rx: "2",
|
|
28
28
|
stroke: checked ? "var(--ds-border-selected, ".concat(B400, ")") : "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40, ")"),
|
|
29
|
-
strokeWidth: 1
|
|
29
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
30
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
31
|
d: "M9.707 11.293a1 1 0 10-1.414 1.414l2 2a1 1 0 001.414 0l4-4a1 1 0 10-1.414-1.414L11 12.586l-1.293-1.293z",
|
|
32
32
|
fill: "inherit"
|
|
@@ -24,7 +24,7 @@ var RadioIcon = function RadioIcon(_ref) {
|
|
|
24
24
|
cy: "12",
|
|
25
25
|
r: "6",
|
|
26
26
|
stroke: checked ? "var(--ds-border-selected, ".concat(B400, ")") : "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40, ")"),
|
|
27
|
-
strokeWidth: 1
|
|
27
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : 2
|
|
28
28
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
29
29
|
fill: "inherit",
|
|
30
30
|
cx: "12",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { MutableRefObject, PropsWithChildren } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* @internal
|
|
@@ -24,4 +24,4 @@ export declare const TrackMaxLevelContext: React.Context<{
|
|
|
24
24
|
* Context provider which maintains the maximun level of dropdown menu if it is nested
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
export declare const TrackLevelProvider:
|
|
27
|
+
export declare const TrackLevelProvider: ({ children }: PropsWithChildren<{}>) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { MutableRefObject, PropsWithChildren } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* @internal
|
|
@@ -24,4 +24,4 @@ export declare const TrackMaxLevelContext: React.Context<{
|
|
|
24
24
|
* Context provider which maintains the maximun level of dropdown menu if it is nested
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
export declare const TrackLevelProvider:
|
|
27
|
+
export declare const TrackLevelProvider: ({ children }: PropsWithChildren<{}>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "12.8.
|
|
3
|
+
"version": "12.8.2",
|
|
4
4
|
"description": "A dropdown menu displays a list of actions or options to a user.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/menu": "^2.1.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^0.2.2",
|
|
36
36
|
"@atlaskit/popup": "^1.13.0",
|
|
37
|
-
"@atlaskit/primitives": "^4.
|
|
37
|
+
"@atlaskit/primitives": "^4.1.0",
|
|
38
38
|
"@atlaskit/spinner": "^16.0.0",
|
|
39
39
|
"@atlaskit/theme": "^12.6.0",
|
|
40
40
|
"@atlaskit/tokens": "^1.41.0",
|
|
@@ -109,6 +109,9 @@
|
|
|
109
109
|
"platform.design-system-team.border-checkbox_nyoiu": {
|
|
110
110
|
"type": "boolean"
|
|
111
111
|
},
|
|
112
|
+
"platform.design-system-team.update-input-border-wdith_5abwv": {
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
112
115
|
"platform.design-system-team.disable-focus-lock-in-popup_7kb4d": {
|
|
113
116
|
"type": "boolean"
|
|
114
117
|
}
|