@atlaskit/navigation-system 5.32.0 → 5.32.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 5.32.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`20e1df968ddc7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20e1df968ddc7) -
|
|
8
|
+
Clean up feature gate platform-dst-buttonmenuitem-selected-state-support
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 5.32.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 5.32.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -43,6 +43,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
43
43
|
*
|
|
44
44
|
* It removes the props which apply styles.
|
|
45
45
|
*/
|
|
46
|
+
// eslint-disable no-unused-vars
|
|
46
47
|
function getPrimitiveSpreadProps(_ref) {
|
|
47
48
|
var style = _ref.style,
|
|
48
49
|
xcss = _ref.xcss,
|
|
@@ -57,6 +58,7 @@ function getPrimitiveSpreadProps(_ref) {
|
|
|
57
58
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
58
59
|
return props;
|
|
59
60
|
}
|
|
61
|
+
// eslint-enable no-unused-vars
|
|
60
62
|
|
|
61
63
|
/**
|
|
62
64
|
* Props present in underlying primitives but we want to override,
|
|
@@ -201,16 +203,20 @@ function ThemedLinkButtonFn(_ref5, ref) {
|
|
|
201
203
|
var IconBefore = _ref5.iconBefore,
|
|
202
204
|
children = _ref5.children,
|
|
203
205
|
props = (0, _objectWithoutProperties2.default)(_ref5, _excluded5);
|
|
204
|
-
return
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
return (
|
|
207
|
+
/*#__PURE__*/
|
|
208
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
209
|
+
_react.default.createElement(ThemedAnchor, (0, _extends2.default)({}, props, {
|
|
210
|
+
ref: ref
|
|
211
|
+
}), IconBefore && /*#__PURE__*/_react.default.createElement("span", {
|
|
212
|
+
className: (0, _runtime.ax)([textButtonStyles.iconBefore])
|
|
213
|
+
}, /*#__PURE__*/_react.default.createElement(IconBefore, {
|
|
214
|
+
label: "",
|
|
215
|
+
color: "currentColor"
|
|
216
|
+
})), /*#__PURE__*/_react.default.createElement("span", {
|
|
217
|
+
className: (0, _runtime.ax)([textButtonStyles.text])
|
|
218
|
+
}, children))
|
|
219
|
+
);
|
|
214
220
|
}
|
|
215
221
|
/**
|
|
216
222
|
* __Themed link button__
|
|
@@ -27,6 +27,7 @@ import IconRenderer from '../icon-renderer';
|
|
|
27
27
|
*
|
|
28
28
|
* It removes the props which apply styles.
|
|
29
29
|
*/
|
|
30
|
+
// eslint-disable no-unused-vars
|
|
30
31
|
function getPrimitiveSpreadProps({
|
|
31
32
|
style,
|
|
32
33
|
xcss,
|
|
@@ -42,6 +43,7 @@ function getPrimitiveSpreadProps({
|
|
|
42
43
|
}) {
|
|
43
44
|
return props;
|
|
44
45
|
}
|
|
46
|
+
// eslint-enable no-unused-vars
|
|
45
47
|
|
|
46
48
|
/**
|
|
47
49
|
* Props present in underlying primitives but we want to override,
|
|
@@ -186,16 +188,20 @@ function ThemedLinkButtonFn({
|
|
|
186
188
|
children,
|
|
187
189
|
...props
|
|
188
190
|
}, ref) {
|
|
189
|
-
return
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
191
|
+
return (
|
|
192
|
+
/*#__PURE__*/
|
|
193
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
194
|
+
React.createElement(ThemedAnchor, _extends({}, props, {
|
|
195
|
+
ref: ref
|
|
196
|
+
}), IconBefore && /*#__PURE__*/React.createElement("span", {
|
|
197
|
+
className: ax([textButtonStyles.iconBefore])
|
|
198
|
+
}, /*#__PURE__*/React.createElement(IconBefore, {
|
|
199
|
+
label: "",
|
|
200
|
+
color: "currentColor"
|
|
201
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
202
|
+
className: ax([textButtonStyles.text])
|
|
203
|
+
}, children))
|
|
204
|
+
);
|
|
199
205
|
}
|
|
200
206
|
/**
|
|
201
207
|
* __Themed link button__
|
|
@@ -35,6 +35,7 @@ import IconRenderer from '../icon-renderer';
|
|
|
35
35
|
*
|
|
36
36
|
* It removes the props which apply styles.
|
|
37
37
|
*/
|
|
38
|
+
// eslint-disable no-unused-vars
|
|
38
39
|
function getPrimitiveSpreadProps(_ref) {
|
|
39
40
|
var style = _ref.style,
|
|
40
41
|
xcss = _ref.xcss,
|
|
@@ -49,6 +50,7 @@ function getPrimitiveSpreadProps(_ref) {
|
|
|
49
50
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
50
51
|
return props;
|
|
51
52
|
}
|
|
53
|
+
// eslint-enable no-unused-vars
|
|
52
54
|
|
|
53
55
|
/**
|
|
54
56
|
* Props present in underlying primitives but we want to override,
|
|
@@ -193,16 +195,20 @@ function ThemedLinkButtonFn(_ref5, ref) {
|
|
|
193
195
|
var IconBefore = _ref5.iconBefore,
|
|
194
196
|
children = _ref5.children,
|
|
195
197
|
props = _objectWithoutProperties(_ref5, _excluded5);
|
|
196
|
-
return
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
198
|
+
return (
|
|
199
|
+
/*#__PURE__*/
|
|
200
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
201
|
+
React.createElement(ThemedAnchor, _extends({}, props, {
|
|
202
|
+
ref: ref
|
|
203
|
+
}), IconBefore && /*#__PURE__*/React.createElement("span", {
|
|
204
|
+
className: ax([textButtonStyles.iconBefore])
|
|
205
|
+
}, /*#__PURE__*/React.createElement(IconBefore, {
|
|
206
|
+
label: "",
|
|
207
|
+
color: "currentColor"
|
|
208
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
209
|
+
className: ax([textButtonStyles.text])
|
|
210
|
+
}, children))
|
|
211
|
+
);
|
|
206
212
|
}
|
|
207
213
|
/**
|
|
208
214
|
* __Themed link button__
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "5.32.
|
|
3
|
+
"version": "5.32.2",
|
|
4
4
|
"description": "The latest navigation system for Atlassian apps.",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
6
6
|
"author": "Atlassian Pty Ltd",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
78
78
|
"@atlaskit/popup": "^4.13.0",
|
|
79
79
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
80
|
-
"@atlaskit/primitives": "^
|
|
80
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
81
81
|
"@atlaskit/side-nav-items": "^1.4.0",
|
|
82
|
-
"@atlaskit/tokens": "^
|
|
82
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
83
83
|
"@atlaskit/tooltip": "^20.14.0",
|
|
84
84
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
85
85
|
"@babel/runtime": "^7.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@af/accessibility-testing": "workspace:^",
|
|
97
97
|
"@af/integration-testing": "workspace:^",
|
|
98
98
|
"@af/visual-regression": "workspace:^",
|
|
99
|
-
"@atlaskit/app-provider": "^
|
|
99
|
+
"@atlaskit/app-provider": "^4.0.0",
|
|
100
100
|
"@atlaskit/badge": "^18.3.0",
|
|
101
101
|
"@atlaskit/banner": "^14.0.0",
|
|
102
102
|
"@atlaskit/breadcrumbs": "^15.3.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@atlaskit/form": "^15.3.0",
|
|
105
105
|
"@atlaskit/heading": "^5.2.0",
|
|
106
106
|
"@atlaskit/link": "^3.3.0",
|
|
107
|
-
"@atlaskit/lozenge": "^13.
|
|
107
|
+
"@atlaskit/lozenge": "^13.4.0",
|
|
108
108
|
"@atlaskit/menu": "^8.4.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
110
|
"@atlaskit/onboarding": "^14.5.0",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"@atlaskit/skeleton": "^2.1.0",
|
|
116
116
|
"@atlaskit/textfield": "^8.2.0",
|
|
117
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
118
|
-
"@atlassian/gemini": "^1.
|
|
119
|
-
"@atlassian/search-dialog": "^9.
|
|
118
|
+
"@atlassian/gemini": "^1.31.0",
|
|
119
|
+
"@atlassian/search-dialog": "^9.13.0",
|
|
120
120
|
"@atlassian/ssr-tests": "workspace:^",
|
|
121
121
|
"@atlassian/test-utils": "^1.0.0",
|
|
122
122
|
"@atlassian/testing-library": "^0.4.0",
|
|
@@ -168,9 +168,6 @@
|
|
|
168
168
|
"platform_dst_button_chevron_sizing": {
|
|
169
169
|
"type": "boolean"
|
|
170
170
|
},
|
|
171
|
-
"platform-dst-buttonmenuitem-selected-state-support": {
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
171
|
"platform-dst-nav-app-icon-height-fix": {
|
|
175
172
|
"type": "boolean"
|
|
176
173
|
},
|