@atlaskit/icon 27.2.1 → 27.4.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 +29 -0
- package/afm-dev-agents/tsconfig.json +27 -0
- package/afm-rovo-extension/tsconfig.json +27 -0
- package/afm-volt/tsconfig.json +27 -0
- 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 +5 -1
- package/dist/cjs/migration-map.js +47 -8
- package/dist/es2019/deprecated-utility.js +1 -1
- package/dist/es2019/metadata-core.js +5 -1
- package/dist/es2019/migration-map.js +47 -8
- package/dist/esm/deprecated-utility.js +1 -1
- package/dist/esm/metadata-core.js +5 -1
- 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 +23 -12
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.4.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/"
|
|
@@ -25,7 +25,21 @@
|
|
|
25
25
|
{
|
|
26
26
|
"title": "Icon (legacy)",
|
|
27
27
|
"id": "icon-legacy",
|
|
28
|
-
"sortKey": 1
|
|
28
|
+
"sortKey": 1,
|
|
29
|
+
"status": {
|
|
30
|
+
"type": "intent-to-deprecate",
|
|
31
|
+
"description": "Legacy icons (`@atlaskit/icon/glyph`) are deprecated. We recommend migrating to our new iconography system.",
|
|
32
|
+
"actions": [
|
|
33
|
+
{
|
|
34
|
+
"text": "View new icons",
|
|
35
|
+
"href": "/components/icon/"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"text": "Migration Guide",
|
|
39
|
+
"href": "/components/icon/migration-guide/"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
29
43
|
},
|
|
30
44
|
{
|
|
31
45
|
"title": "Icon tile",
|
|
@@ -74,15 +88,14 @@
|
|
|
74
88
|
}
|
|
75
89
|
}
|
|
76
90
|
]
|
|
77
|
-
}
|
|
78
|
-
"runReact18": true
|
|
91
|
+
}
|
|
79
92
|
},
|
|
80
93
|
"scripts": {
|
|
81
94
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
82
95
|
},
|
|
83
96
|
"dependencies": {
|
|
84
97
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
85
|
-
"@atlaskit/tokens": "^5.
|
|
98
|
+
"@atlaskit/tokens": "^5.5.0",
|
|
86
99
|
"@babel/register": "^7.25.9",
|
|
87
100
|
"@babel/runtime": "^7.0.0",
|
|
88
101
|
"@compiled/react": "^0.18.3"
|
|
@@ -99,19 +112,19 @@
|
|
|
99
112
|
"@atlaskit/code": "^17.2.0",
|
|
100
113
|
"@atlaskit/css": "^0.12.0",
|
|
101
114
|
"@atlaskit/docs": "^11.0.0",
|
|
102
|
-
"@atlaskit/ds-lib": "^4.
|
|
115
|
+
"@atlaskit/ds-lib": "^4.1.0",
|
|
103
116
|
"@atlaskit/form": "^12.0.0",
|
|
104
117
|
"@atlaskit/heading": "^5.2.0",
|
|
105
118
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
106
119
|
"@atlaskit/icon-object": "^7.1.0",
|
|
107
120
|
"@atlaskit/link": "^3.2.0",
|
|
108
|
-
"@atlaskit/logo": "^19.
|
|
121
|
+
"@atlaskit/logo": "^19.5.0",
|
|
109
122
|
"@atlaskit/menu": "^8.0.0",
|
|
110
123
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
111
124
|
"@atlaskit/primitives": "^14.10.0",
|
|
112
125
|
"@atlaskit/section-message": "^8.2.0",
|
|
113
126
|
"@atlaskit/textfield": "^8.0.0",
|
|
114
|
-
"@atlaskit/theme": "^
|
|
127
|
+
"@atlaskit/theme": "^19.0.0",
|
|
115
128
|
"@atlaskit/toggle": "^15.0.0",
|
|
116
129
|
"@atlaskit/tooltip": "^20.3.0",
|
|
117
130
|
"@atlaskit/visual-regression": "workspace:^",
|
|
@@ -175,12 +188,10 @@
|
|
|
175
188
|
},
|
|
176
189
|
"platform-feature-flags": {
|
|
177
190
|
"platform-visual-refresh-icons": {
|
|
178
|
-
"type": "boolean"
|
|
179
|
-
"showOnWebsiteForTransitiveDependencies": true
|
|
191
|
+
"type": "boolean"
|
|
180
192
|
},
|
|
181
193
|
"platform-visual-refresh-icons-legacy-facade": {
|
|
182
|
-
"type": "boolean"
|
|
183
|
-
"showOnWebsiteForTransitiveDependencies": true
|
|
194
|
+
"type": "boolean"
|
|
184
195
|
},
|
|
185
196
|
"platform-visual-refresh-icons-facade-button-fix": {
|
|
186
197
|
"type": "boolean"
|