@atlaskit/icon 27.3.0 → 27.5.0
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 +43 -0
- package/afm-dev-agents/tsconfig.json +27 -0
- package/afm-rovo-extension/tsconfig.json +27 -0
- package/core/ai-chat.js +3 -3
- package/core/collapse-horizontal.js +2 -2
- package/core/collapse-vertical.js +2 -2
- package/core/expand-horizontal.js +2 -2
- package/core/expand-vertical.js +2 -2
- package/core/migration/status-error--error.d.ts +15 -0
- package/core/migration/status-error--error.js +32 -0
- package/core/migration/status-information--editor-info.d.ts +15 -0
- package/core/migration/status-information--editor-info.js +33 -0
- package/core/migration/status-information--editor-panel.d.ts +15 -0
- package/core/migration/status-information--editor-panel.js +33 -0
- package/core/migration/status-information--info.d.ts +15 -0
- package/core/migration/status-information--info.js +33 -0
- package/core/migration/status-success--check-circle.d.ts +15 -0
- package/core/migration/status-success--check-circle.js +31 -0
- package/core/migration/status-success--editor-success.d.ts +15 -0
- package/core/migration/status-success--editor-success.js +31 -0
- package/core/migration/status-warning--editor-warning.d.ts +15 -0
- package/core/migration/status-warning--editor-warning.js +32 -0
- package/core/migration/status-warning--warning.d.ts +15 -0
- package/core/migration/status-warning--warning.js +32 -0
- package/dist/cjs/deprecated-utility.js +1 -1
- package/dist/cjs/metadata-core.js +8 -4
- package/dist/cjs/migration-map.js +47 -8
- package/dist/es2019/deprecated-utility.js +1 -1
- package/dist/es2019/metadata-core.js +8 -4
- package/dist/es2019/migration-map.js +47 -8
- package/dist/esm/deprecated-utility.js +1 -1
- package/dist/esm/metadata-core.js +8 -4
- package/dist/esm/migration-map.js +47 -8
- package/dist/types/deprecated-utility.d.ts +1 -1
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/deprecated-utility.d.ts +1 -1
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/glyph/check-circle.js +2 -2
- package/glyph/editor/info.js +2 -2
- package/glyph/editor/panel.js +2 -2
- package/glyph/editor/success.js +2 -2
- package/glyph/editor/warning.js +2 -2
- package/glyph/error.js +2 -2
- package/glyph/info.js +2 -2
- package/glyph/warning.js +2 -2
- package/package.json +5 -5
- package/svgs/core/ai-chat.svg +1 -1
- package/svgs/core/collapse-horizontal.svg +1 -1
- package/svgs/core/collapse-vertical.svg +1 -1
- package/svgs/core/expand-horizontal.svg +1 -1
- package/svgs/core/expand-vertical.svg +1 -1
package/glyph/editor/panel.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const EditorPanelIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M12 19a7 7 0 1 1 0-14 7 7 0 0 1 0 14m0-1.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m0-6a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1m0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusInformation.default
|
|
15
15
|
}));
|
|
16
16
|
EditorPanelIcon.displayName = 'EditorPanelIcon';
|
|
17
17
|
var _default = exports.default = EditorPanelIcon;
|
package/glyph/editor/success.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const EditorSuccessIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M12 20a8 8 0 1 1 0-16 8 8 0 0 1 0 16m1.364-10.964-2.152 4.11-1.543-1.39a1 1 0 1 0-1.338 1.487l2.5 2.25a1 1 0 0 0 1.555-.279l2.75-5.25a1 1 0 0 0-1.772-.928"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusSuccess.default
|
|
15
15
|
}));
|
|
16
16
|
EditorSuccessIcon.displayName = 'EditorSuccessIcon';
|
|
17
17
|
var _default = exports.default = EditorSuccessIcon;
|
package/glyph/editor/warning.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const EditorWarningIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="m13.31 5.343 7.359 13.17A1 1 0 0 1 19.796 20H4.204a1 1 0 0 1-.873-1.488l7.36-13.169a1.5 1.5 0 0 1 2.618 0M12 8.5a1.09 1.09 0 0 0-1.081 1.239l.513 3.766a.573.573 0 0 0 1.136 0l.513-3.766A1.09 1.09 0 0 0 12 8.5m0 8.63a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusWarning.default
|
|
15
15
|
}));
|
|
16
16
|
EditorWarningIcon.displayName = 'EditorWarningIcon';
|
|
17
17
|
var _default = exports.default = EditorWarningIcon;
|
package/glyph/error.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const ErrorIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M13.416 4.417a2 2 0 0 0-2.832 0l-6.168 6.167a2 2 0 0 0 0 2.833l6.168 6.167a2 2 0 0 0 2.832 0l6.168-6.167a2 2 0 0 0 0-2.833z"/><path fill="inherit" d="M12 14a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1m0 3a1 1 0 0 1 0-2 1 1 0 0 1 0 2"/></g></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusError.default
|
|
15
15
|
}));
|
|
16
16
|
ErrorIcon.displayName = 'ErrorIcon';
|
|
17
17
|
var _default = exports.default = ErrorIcon;
|
package/glyph/info.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const InfoIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2 2 6.477 2 12"/><rect width="2" height="7" x="11" y="10" fill="inherit" rx="1"/><circle cx="12" cy="8" r="1" fill="inherit"/></g></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusInformation.default
|
|
15
15
|
}));
|
|
16
16
|
InfoIcon.displayName = 'InfoIcon';
|
|
17
17
|
var _default = exports.default = InfoIcon;
|
package/glyph/warning.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const WarningIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M12.938 4.967c-.518-.978-1.36-.974-1.876 0L3.938 18.425c-.518.978-.045 1.771 1.057 1.771h14.01c1.102 0 1.573-.797 1.057-1.771z"/><path fill="inherit" d="M12 15a1 1 0 0 1-1-1V9a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1m0 3a1 1 0 0 1 0-2 1 1 0 0 1 0 2"/></g></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _statusWarning.default
|
|
15
15
|
}));
|
|
16
16
|
WarningIcon.displayName = 'WarningIcon';
|
|
17
17
|
var _default = exports.default = WarningIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.5.0",
|
|
4
4
|
"description": "An icon is a symbol representing a command, device, directory, or common action.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
98
|
-
"@atlaskit/tokens": "^5.
|
|
98
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
99
99
|
"@babel/register": "^7.25.9",
|
|
100
100
|
"@babel/runtime": "^7.0.0",
|
|
101
101
|
"@compiled/react": "^0.18.3"
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@atlaskit/code": "^17.2.0",
|
|
113
113
|
"@atlaskit/css": "^0.12.0",
|
|
114
114
|
"@atlaskit/docs": "^11.0.0",
|
|
115
|
-
"@atlaskit/ds-lib": "^4.
|
|
115
|
+
"@atlaskit/ds-lib": "^4.1.0",
|
|
116
116
|
"@atlaskit/form": "^12.0.0",
|
|
117
117
|
"@atlaskit/heading": "^5.2.0",
|
|
118
118
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
@@ -120,11 +120,11 @@
|
|
|
120
120
|
"@atlaskit/link": "^3.2.0",
|
|
121
121
|
"@atlaskit/logo": "^19.5.0",
|
|
122
122
|
"@atlaskit/menu": "^8.0.0",
|
|
123
|
-
"@atlaskit/modal-dialog": "^14.
|
|
123
|
+
"@atlaskit/modal-dialog": "^14.3.0",
|
|
124
124
|
"@atlaskit/primitives": "^14.10.0",
|
|
125
125
|
"@atlaskit/section-message": "^8.2.0",
|
|
126
126
|
"@atlaskit/textfield": "^8.0.0",
|
|
127
|
-
"@atlaskit/theme": "^
|
|
127
|
+
"@atlaskit/theme": "^19.0.0",
|
|
128
128
|
"@atlaskit/toggle": "^15.0.0",
|
|
129
129
|
"@atlaskit/tooltip": "^20.3.0",
|
|
130
130
|
"@atlaskit/visual-regression": "workspace:^",
|
package/svgs/core/ai-chat.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor"
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M0 3.125A2.625 2.625 0 0 1 2.625.5H8V2H2.625C2.004 2 1.5 2.504 1.5 3.125v10.832L4.05 12.5h9.325c.621 0 1.125-.504 1.125-1.125V8.5H16v2.875A2.625 2.625 0 0 1 13.375 14H4.449l-3.327 1.901A.75.75 0 0 1 0 15.25z"/><path fill="currentcolor" d="M12.616.509a.75.75 0 0 1 .59.484l.613 1.687 1.688.615A.75.75 0 0 1 16 4l-.009.116a.75.75 0 0 1-.484.59l-1.688.613-.614 1.688a.75.75 0 0 1-.589.484L12.5 7.5a.75.75 0 0 1-.705-.493l-.615-1.688-1.687-.614a.75.75 0 0 1-.484-.589L9 4a.75.75 0 0 1 .493-.705l1.687-.615.615-1.687a.75.75 0 0 1 .589-.484L12.5.5z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor"
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M7.25 0v16h1.5V0zm2.72 7.47a.75.75 0 0 0 0 1.06l3.25 3.25 1.06-1.06-1.97-1.97H16v-1.5h-3.69l1.97-1.97-1.06-1.06zM1.72 5.28l1.97 1.97H0v1.5h3.69l-1.97 1.97 1.06 1.06 3.25-3.25a.75.75 0 0 0 0-1.06L2.78 4.22z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor"
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M0 7.25h16v1.5H0zm7.47 2.72a.75.75 0 0 1 1.06 0l3.25 3.25-1.06 1.06-1.97-1.97V16h-1.5v-3.69l-1.97 1.97-1.06-1.06zM5.28 1.72l1.97 1.97V0h1.5v3.69l1.97-1.97 1.06 1.06-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 2.78z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor"
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M1.5 1v14H0V1zM16 1v14h-1.5V1zm-1.72 6.47a.75.75 0 0 1 0 1.06l-3.25 3.25-1.06-1.06 1.97-1.97H4.06l1.97 1.97-1.06 1.06-3.25-3.25a.75.75 0 0 1 0-1.06l3.25-3.25 1.06 1.06-1.97 1.97h7.88L9.97 5.28l1.06-1.06z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor"
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M1 1.5h14V0H1zM1 16h14v-1.5H1zm6.47-1.72a.75.75 0 0 0 1.06 0l3.25-3.25-1.06-1.06-1.97 1.97V4.06l1.97 1.97 1.06-1.06-3.25-3.25a.75.75 0 0 0-1.06 0L4.22 4.97l1.06 1.06 1.97-1.97v7.88L5.28 9.97l-1.06 1.06z"/></svg>
|