@atlaskit/icon 28.5.4 → 29.0.1
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 +20 -0
- package/afm-jira/tsconfig.json +1 -1
- package/dist/cjs/components/icon-new.js +13 -38
- package/dist/cjs/components/icon-tile/icon-tile-new.compiled.css +6 -6
- package/dist/cjs/components/icon-tile/icon-tile-new.js +13 -13
- package/dist/cjs/components/icon-tile/icon-tile-old.compiled.css +13 -13
- package/dist/cjs/components/icon-tile/icon-tile-old.js +9 -9
- package/dist/cjs/components/icon-tile/index.js +8 -8
- package/dist/cjs/entry-points/deprecated-map.js +1 -8
- package/dist/cjs/entry-points/metadata.js +1 -8
- package/dist/cjs/metadata-core.js +1 -378
- package/dist/cjs/migration-map.js +0 -332
- package/dist/es2019/components/icon-new.js +13 -38
- package/dist/es2019/components/icon-tile/icon-tile-new.compiled.css +6 -6
- package/dist/es2019/components/icon-tile/icon-tile-new.js +13 -13
- package/dist/es2019/components/icon-tile/icon-tile-old.compiled.css +13 -13
- package/dist/es2019/components/icon-tile/icon-tile-old.js +9 -9
- package/dist/es2019/components/icon-tile/index.js +8 -8
- package/dist/es2019/entry-points/deprecated-map.js +1 -2
- package/dist/es2019/entry-points/metadata.js +1 -2
- package/dist/es2019/metadata-core.js +1 -378
- package/dist/es2019/migration-map.js +0 -332
- package/dist/esm/components/icon-new.js +13 -38
- package/dist/esm/components/icon-tile/icon-tile-new.compiled.css +6 -6
- package/dist/esm/components/icon-tile/icon-tile-new.js +13 -13
- package/dist/esm/components/icon-tile/icon-tile-old.compiled.css +13 -13
- package/dist/esm/components/icon-tile/icon-tile-old.js +9 -9
- package/dist/esm/components/icon-tile/index.js +8 -8
- package/dist/esm/entry-points/deprecated-map.js +1 -2
- package/dist/esm/entry-points/metadata.js +1 -2
- package/dist/esm/metadata-core.js +1 -378
- package/dist/esm/migration-map.js +0 -332
- package/dist/types/components/icon-new.d.ts +1 -1
- package/dist/types/entry-points/base-new.d.ts +1 -1
- package/dist/types/entry-points/deprecated-map.d.ts +0 -1
- package/dist/types/entry-points/metadata.d.ts +0 -1
- package/dist/types/entry-points/types.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/metadata-core.d.ts +2 -8
- package/dist/types/types.d.ts +4 -27
- package/dist/types-ts4.5/components/icon-new.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/base-new.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/deprecated-map.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/metadata.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/metadata-core.d.ts +2 -8
- package/dist/types-ts4.5/types.d.ts +4 -27
- package/package.json +9 -12
- package/dist/cjs/deprecated-utility.js +0 -177
- package/dist/cjs/metadata-utility.js +0 -483
- package/dist/es2019/deprecated-utility.js +0 -171
- package/dist/es2019/metadata-utility.js +0 -477
- package/dist/esm/deprecated-utility.js +0 -171
- package/dist/esm/metadata-utility.js +0 -477
- package/dist/types/deprecated-utility.d.ts +0 -13
- package/dist/types/metadata-utility.d.ts +0 -67
- package/dist/types-ts4.5/deprecated-utility.d.ts +0 -13
- package/dist/types-ts4.5/metadata-utility.d.ts +0 -67
- package/svgs/utility/add.svg +0 -1
- package/svgs/utility/arrow-down.svg +0 -1
- package/svgs/utility/arrow-left.svg +0 -1
- package/svgs/utility/arrow-right.svg +0 -1
- package/svgs/utility/arrow-up.svg +0 -1
- package/svgs/utility/check-circle.svg +0 -1
- package/svgs/utility/check-mark.svg +0 -1
- package/svgs/utility/chevron-double-left.svg +0 -1
- package/svgs/utility/chevron-double-right.svg +0 -1
- package/svgs/utility/chevron-down.svg +0 -1
- package/svgs/utility/chevron-left.svg +0 -1
- package/svgs/utility/chevron-right.svg +0 -1
- package/svgs/utility/chevron-up.svg +0 -1
- package/svgs/utility/cross-circle.svg +0 -1
- package/svgs/utility/cross.svg +0 -1
- package/svgs/utility/drag-handle-horizontal.svg +0 -1
- package/svgs/utility/drag-handle-vertical.svg +0 -1
- package/svgs/utility/drag-handle.svg +0 -1
- package/svgs/utility/error.svg +0 -1
- package/svgs/utility/information.svg +0 -1
- package/svgs/utility/link-external.svg +0 -1
- package/svgs/utility/lock-locked.svg +0 -1
- package/svgs/utility/lock-unlocked.svg +0 -1
- package/svgs/utility/show-more-horizontal.svg +0 -1
- package/svgs/utility/show-more-vertical.svg +0 -1
- package/svgs/utility/star-starred.svg +0 -1
- package/svgs/utility/star-unstarred.svg +0 -1
- package/svgs/utility/success.svg +0 -1
- package/svgs/utility/warning.svg +0 -1
- package/utility/add.d.ts +0 -16
- package/utility/add.js +0 -30
- package/utility/arrow-down.d.ts +0 -16
- package/utility/arrow-down.js +0 -30
- package/utility/arrow-left.d.ts +0 -16
- package/utility/arrow-left.js +0 -30
- package/utility/arrow-right.d.ts +0 -16
- package/utility/arrow-right.js +0 -30
- package/utility/arrow-up.d.ts +0 -16
- package/utility/arrow-up.js +0 -30
- package/utility/check-circle.d.ts +0 -16
- package/utility/check-circle.js +0 -30
- package/utility/check-mark.d.ts +0 -16
- package/utility/check-mark.js +0 -30
- package/utility/chevron-double-left.d.ts +0 -16
- package/utility/chevron-double-left.js +0 -30
- package/utility/chevron-double-right.d.ts +0 -16
- package/utility/chevron-double-right.js +0 -30
- package/utility/chevron-down.d.ts +0 -16
- package/utility/chevron-down.js +0 -30
- package/utility/chevron-left.d.ts +0 -16
- package/utility/chevron-left.js +0 -30
- package/utility/chevron-right.d.ts +0 -16
- package/utility/chevron-right.js +0 -30
- package/utility/chevron-up.d.ts +0 -16
- package/utility/chevron-up.js +0 -30
- package/utility/cross-circle.d.ts +0 -16
- package/utility/cross-circle.js +0 -30
- package/utility/cross.d.ts +0 -16
- package/utility/cross.js +0 -30
- package/utility/drag-handle-horizontal.d.ts +0 -16
- package/utility/drag-handle-horizontal.js +0 -30
- package/utility/drag-handle-vertical.d.ts +0 -16
- package/utility/drag-handle-vertical.js +0 -30
- package/utility/drag-handle.d.ts +0 -16
- package/utility/drag-handle.js +0 -30
- package/utility/error.d.ts +0 -16
- package/utility/error.js +0 -30
- package/utility/information.d.ts +0 -16
- package/utility/information.js +0 -30
- package/utility/link-external.d.ts +0 -16
- package/utility/link-external.js +0 -30
- package/utility/lock-locked.d.ts +0 -16
- package/utility/lock-locked.js +0 -30
- package/utility/lock-unlocked.d.ts +0 -16
- package/utility/lock-unlocked.js +0 -30
- package/utility/migration/add--add-circle.d.ts +0 -15
- package/utility/migration/add--add-circle.js +0 -32
- package/utility/migration/add--editor-add.d.ts +0 -15
- package/utility/migration/add--editor-add.js +0 -32
- package/utility/migration/add--emoji-custom.d.ts +0 -15
- package/utility/migration/add--emoji-custom.js +0 -32
- package/utility/migration/add.d.ts +0 -15
- package/utility/migration/add.js +0 -32
- package/utility/migration/arrow-down--arrow-down-circle.d.ts +0 -15
- package/utility/migration/arrow-down--arrow-down-circle.js +0 -32
- package/utility/migration/arrow-down.d.ts +0 -15
- package/utility/migration/arrow-down.js +0 -32
- package/utility/migration/arrow-left--arrow-left-circle.d.ts +0 -15
- package/utility/migration/arrow-left--arrow-left-circle.js +0 -32
- package/utility/migration/arrow-left.d.ts +0 -15
- package/utility/migration/arrow-left.js +0 -32
- package/utility/migration/arrow-right--arrow-right-circle.d.ts +0 -15
- package/utility/migration/arrow-right--arrow-right-circle.js +0 -32
- package/utility/migration/arrow-right.d.ts +0 -15
- package/utility/migration/arrow-right.js +0 -32
- package/utility/migration/arrow-up--arrow-up-circle.d.ts +0 -15
- package/utility/migration/arrow-up--arrow-up-circle.js +0 -32
- package/utility/migration/arrow-up.d.ts +0 -15
- package/utility/migration/arrow-up.js +0 -32
- package/utility/migration/check-circle--check-circle-outline.d.ts +0 -15
- package/utility/migration/check-circle--check-circle-outline.js +0 -32
- package/utility/migration/check-circle--emoji-productivity.d.ts +0 -15
- package/utility/migration/check-circle--emoji-productivity.js +0 -32
- package/utility/migration/check-circle.d.ts +0 -15
- package/utility/migration/check-circle.js +0 -32
- package/utility/migration/check-mark--check.d.ts +0 -15
- package/utility/migration/check-mark--check.js +0 -32
- package/utility/migration/check-mark--editor-done.d.ts +0 -15
- package/utility/migration/check-mark--editor-done.js +0 -32
- package/utility/migration/chevron-down--chevron-down-circle.d.ts +0 -15
- package/utility/migration/chevron-down--chevron-down-circle.js +0 -32
- package/utility/migration/chevron-down--hipchat-chevron-down.d.ts +0 -15
- package/utility/migration/chevron-down--hipchat-chevron-down.js +0 -32
- package/utility/migration/chevron-down.d.ts +0 -15
- package/utility/migration/chevron-down.js +0 -32
- package/utility/migration/chevron-left--chevron-left-circle.d.ts +0 -15
- package/utility/migration/chevron-left--chevron-left-circle.js +0 -32
- package/utility/migration/chevron-left--chevron-left-large.d.ts +0 -15
- package/utility/migration/chevron-left--chevron-left-large.js +0 -32
- package/utility/migration/chevron-left.d.ts +0 -15
- package/utility/migration/chevron-left.js +0 -32
- package/utility/migration/chevron-right--chevron-right-circle.d.ts +0 -15
- package/utility/migration/chevron-right--chevron-right-circle.js +0 -32
- package/utility/migration/chevron-right--chevron-right-large.d.ts +0 -15
- package/utility/migration/chevron-right--chevron-right-large.js +0 -32
- package/utility/migration/chevron-right.d.ts +0 -15
- package/utility/migration/chevron-right.js +0 -32
- package/utility/migration/chevron-up--chevron-up-circle.d.ts +0 -15
- package/utility/migration/chevron-up--chevron-up-circle.js +0 -32
- package/utility/migration/chevron-up--hipchat-chevron-up.d.ts +0 -15
- package/utility/migration/chevron-up--hipchat-chevron-up.js +0 -32
- package/utility/migration/chevron-up.d.ts +0 -15
- package/utility/migration/chevron-up.js +0 -32
- package/utility/migration/cross--editor-close.d.ts +0 -15
- package/utility/migration/cross--editor-close.js +0 -32
- package/utility/migration/cross-circle--editor-error.d.ts +0 -15
- package/utility/migration/cross-circle--editor-error.js +0 -32
- package/utility/migration/cross-circle--select-clear.d.ts +0 -15
- package/utility/migration/cross-circle--select-clear.js +0 -32
- package/utility/migration/cross-circle.d.ts +0 -15
- package/utility/migration/cross-circle.js +0 -32
- package/utility/migration/cross.d.ts +0 -15
- package/utility/migration/cross.js +0 -32
- package/utility/migration/drag-handle--drag-handler.d.ts +0 -15
- package/utility/migration/drag-handle--drag-handler.js +0 -32
- package/utility/migration/drag-handle-vertical--drag-handler.d.ts +0 -15
- package/utility/migration/drag-handle-vertical--drag-handler.js +0 -32
- package/utility/migration/error.d.ts +0 -15
- package/utility/migration/error.js +0 -32
- package/utility/migration/information--editor-info.d.ts +0 -15
- package/utility/migration/information--editor-info.js +0 -32
- package/utility/migration/information--editor-panel.d.ts +0 -15
- package/utility/migration/information--editor-panel.js +0 -32
- package/utility/migration/information--info.d.ts +0 -15
- package/utility/migration/information--info.js +0 -32
- package/utility/migration/link-external--shortcut.d.ts +0 -15
- package/utility/migration/link-external--shortcut.js +0 -32
- package/utility/migration/lock-locked--lock-circle.d.ts +0 -15
- package/utility/migration/lock-locked--lock-circle.js +0 -32
- package/utility/migration/lock-locked--lock-filled.d.ts +0 -15
- package/utility/migration/lock-locked--lock-filled.js +0 -32
- package/utility/migration/lock-locked--lock.d.ts +0 -15
- package/utility/migration/lock-locked--lock.js +0 -32
- package/utility/migration/lock-locked--unlock-circle.d.ts +0 -15
- package/utility/migration/lock-locked--unlock-circle.js +0 -32
- package/utility/migration/lock-unlocked--unlock-filled.d.ts +0 -15
- package/utility/migration/lock-unlocked--unlock-filled.js +0 -32
- package/utility/migration/lock-unlocked--unlock.d.ts +0 -15
- package/utility/migration/lock-unlocked--unlock.js +0 -32
- package/utility/migration/show-more-horizontal--editor-more.d.ts +0 -15
- package/utility/migration/show-more-horizontal--editor-more.js +0 -32
- package/utility/migration/show-more-horizontal--more.d.ts +0 -15
- package/utility/migration/show-more-horizontal--more.js +0 -32
- package/utility/migration/show-more-vertical--more-vertical.d.ts +0 -15
- package/utility/migration/show-more-vertical--more-vertical.js +0 -32
- package/utility/migration/star-starred--star-filled.d.ts +0 -15
- package/utility/migration/star-starred--star-filled.js +0 -32
- package/utility/migration/star-unstarred--star-large.d.ts +0 -15
- package/utility/migration/star-unstarred--star-large.js +0 -32
- package/utility/migration/star-unstarred--star.d.ts +0 -15
- package/utility/migration/star-unstarred--star.js +0 -32
- package/utility/migration/success--check-circle.d.ts +0 -15
- package/utility/migration/success--check-circle.js +0 -32
- package/utility/migration/success--editor-success.d.ts +0 -15
- package/utility/migration/success--editor-success.js +0 -32
- package/utility/migration/warning--editor-warning.d.ts +0 -15
- package/utility/migration/warning--editor-warning.js +0 -32
- package/utility/migration/warning.d.ts +0 -15
- package/utility/migration/warning.js +0 -32
- package/utility/show-more-horizontal.d.ts +0 -16
- package/utility/show-more-horizontal.js +0 -30
- package/utility/show-more-vertical.d.ts +0 -16
- package/utility/show-more-vertical.js +0 -30
- package/utility/star-starred.d.ts +0 -16
- package/utility/star-starred.js +0 -30
- package/utility/star-unstarred.d.ts +0 -16
- package/utility/star-unstarred.js +0 -30
- package/utility/success.d.ts +0 -16
- package/utility/success.js +0 -30
- package/utility/warning.d.ts +0 -16
- package/utility/warning.js +0 -30
|
@@ -18,5 +18,5 @@ export type InternalIconPropsNew = UNSAFE_NewGlyphProps & {
|
|
|
18
18
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
19
19
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
20
20
|
*/
|
|
21
|
-
export declare const Icon: import("react").NamedExoticComponent<
|
|
21
|
+
export declare const Icon: import("react").NamedExoticComponent<import("../types").UNSAFE_NewCoreGlyphProps>;
|
|
22
22
|
export default Icon;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default, Icon } from '../components/icon-new';
|
|
2
|
-
export type { NewIconProps, NewCoreIconProps
|
|
2
|
+
export type { NewIconProps, NewCoreIconProps } from '../types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { CustomGlyphProps, GlyphProps, IconProps, Size, SkeletonProps, SVGProps, NewIconProps, NewGlyphColorProps,
|
|
1
|
+
export type { CustomGlyphProps, GlyphProps, IconProps, Size, SkeletonProps, SVGProps, NewIconProps, NewGlyphColorProps, NewCoreIconProps, IconMigrationMap, IconSpacing, IconTileProps, } from '../types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { default as SVG } from './components/svg';
|
|
|
4
4
|
export { sizeMap as size, sizes } from './constants';
|
|
5
5
|
export { default as Skeleton } from './components/skeleton';
|
|
6
6
|
export { default as IconTile } from './components/icon-tile';
|
|
7
|
-
export type { Size,
|
|
7
|
+
export type { Size, IconSize, SkeletonProps, IconProps, GlyphProps, CustomGlyphProps, SVGProps, NewIconProps, NewCoreIconProps, IconMigrationMap, IconTileProps, } from './types';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5b8f207efd0b698d67177c14ac7a5c63>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -19,13 +19,8 @@ interface metadata {
|
|
|
19
19
|
* The category of the icon:
|
|
20
20
|
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
21
|
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
-
* - 'utility' icons are used for utility purposes
|
|
23
22
|
*/
|
|
24
|
-
categorization: 'single-purpose' | 'multi-purpose'
|
|
25
|
-
/**
|
|
26
|
-
* The type of the icon - either a 16px 'core' icon, or a 12px 'utility' icon
|
|
27
|
-
*/
|
|
28
|
-
type: 'core' | 'utility';
|
|
23
|
+
categorization: 'single-purpose' | 'multi-purpose';
|
|
29
24
|
/**
|
|
30
25
|
* Usage guidelines for the icon. For single-purpose icons,
|
|
31
26
|
*/
|
|
@@ -55,7 +50,6 @@ interface metadata {
|
|
|
55
50
|
*/
|
|
56
51
|
replacement?: {
|
|
57
52
|
name: string;
|
|
58
|
-
type: 'core' | 'utility';
|
|
59
53
|
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
54
|
};
|
|
61
55
|
/**
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, ReactElement, ReactNode, SVGProps as ReactSVGProps } from 'react';
|
|
2
2
|
import type { IconColor, IconColorPressed, TextColor, TextColorPressed } from '@atlaskit/tokens/css-type-schema';
|
|
3
3
|
export type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
|
-
export type NewCoreIconSize = 'small' | 'medium';
|
|
5
4
|
export type IconSpacing = 'none' | 'spacious' | 'compact';
|
|
6
5
|
export type IconSize = 'small' | 'medium';
|
|
7
6
|
export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
@@ -59,15 +58,6 @@ interface NewCoreGlyphSpacingProps {
|
|
|
59
58
|
*/
|
|
60
59
|
spacing?: IconSpacing;
|
|
61
60
|
}
|
|
62
|
-
interface NewUtilityGlyphSpacingProps {
|
|
63
|
-
/**
|
|
64
|
-
* Utility Icons have only one available size, but can be displayed with additional spacing.
|
|
65
|
-
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
66
|
-
* "compact" provides accessible compact spacing between the icon and other elements.
|
|
67
|
-
* "spacious" provides accessible spacing between the icon and other elements.
|
|
68
|
-
*/
|
|
69
|
-
spacing?: IconSpacing;
|
|
70
|
-
}
|
|
71
61
|
interface NewCoreGlyphSizeProps {
|
|
72
62
|
/**
|
|
73
63
|
* There are two icon sizes available:
|
|
@@ -130,8 +120,6 @@ export interface GlyphProps extends LegacyOtherGlyphProps, GlyphSizeProps, Glyph
|
|
|
130
120
|
}
|
|
131
121
|
interface NewCoreGlyphProps extends OtherGlyphProps, NewCoreGlyphSpacingProps, NewCoreGlyphSizeProps, NewGlyphColorProps {
|
|
132
122
|
}
|
|
133
|
-
interface NewUtilityGlyphProps extends OtherGlyphProps, NewUtilityGlyphSpacingProps, NewCoreGlyphSizeProps, NewGlyphColorProps {
|
|
134
|
-
}
|
|
135
123
|
export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
136
124
|
/**
|
|
137
125
|
* Custom icon component that returns an SVG element with set `viewBox`,
|
|
@@ -164,24 +152,15 @@ interface BaseNewIconProps {
|
|
|
164
152
|
LEGACY_margin?: string;
|
|
165
153
|
}
|
|
166
154
|
export interface UNSAFE_NewCoreGlyphProps extends BaseNewIconProps, NewCoreGlyphProps, IconInternalGlyphProps {
|
|
167
|
-
type?: 'core';
|
|
168
155
|
shouldRecommendSmallIcon?: boolean;
|
|
169
156
|
/**
|
|
170
157
|
* Display name of the icon.
|
|
171
158
|
*/
|
|
172
159
|
name?: string;
|
|
173
160
|
}
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
* Display name of the icon.
|
|
178
|
-
*/
|
|
179
|
-
name?: string;
|
|
180
|
-
}
|
|
181
|
-
export type NewCoreIconProps = Omit<UNSAFE_NewCoreGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
182
|
-
export type NewUtilityIconProps = Omit<UNSAFE_NewUtilityGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
183
|
-
export type UNSAFE_NewGlyphProps = UNSAFE_NewUtilityGlyphProps | UNSAFE_NewCoreGlyphProps;
|
|
184
|
-
export type NewIconProps = Omit<UNSAFE_NewGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
161
|
+
export type NewCoreIconProps = Omit<UNSAFE_NewCoreGlyphProps, 'dangerouslySetGlyph'>;
|
|
162
|
+
export type UNSAFE_NewGlyphProps = UNSAFE_NewCoreGlyphProps;
|
|
163
|
+
export type NewIconProps = Omit<UNSAFE_NewGlyphProps, 'dangerouslySetGlyph'>;
|
|
185
164
|
export type IconTileAppearance = 'gray' | 'blue' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange' | 'red' | 'magenta' | 'purple' | 'grayBold' | 'blueBold' | 'tealBold' | 'greenBold' | 'limeBold' | 'yellowBold' | 'orangeBold' | 'redBold' | 'magentaBold' | 'purpleBold';
|
|
186
165
|
export type NewIconTileSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
187
166
|
export type LegacyIconTileSize = '16' | '24' | '32' | '40' | '48';
|
|
@@ -190,7 +169,7 @@ export interface IconTileProps {
|
|
|
190
169
|
/**
|
|
191
170
|
* The icon to display
|
|
192
171
|
*/
|
|
193
|
-
icon: ComponentType<
|
|
172
|
+
icon: ComponentType<NewCoreIconProps>;
|
|
194
173
|
/**
|
|
195
174
|
* The label for the icon
|
|
196
175
|
*/
|
|
@@ -264,7 +243,6 @@ type IconMigrationResult = {
|
|
|
264
243
|
*/
|
|
265
244
|
newIcon?: {
|
|
266
245
|
name: string;
|
|
267
|
-
type: string;
|
|
268
246
|
package: string;
|
|
269
247
|
isMigrationUnsafe?: boolean;
|
|
270
248
|
/**
|
|
@@ -281,7 +259,6 @@ type IconMigrationResult = {
|
|
|
281
259
|
*/
|
|
282
260
|
additionalIcons?: {
|
|
283
261
|
name: string;
|
|
284
|
-
type: string;
|
|
285
262
|
package: string;
|
|
286
263
|
}[];
|
|
287
264
|
/**
|
|
@@ -18,5 +18,5 @@ export type InternalIconPropsNew = UNSAFE_NewGlyphProps & {
|
|
|
18
18
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
19
19
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
20
20
|
*/
|
|
21
|
-
export declare const Icon: import("react").NamedExoticComponent<
|
|
21
|
+
export declare const Icon: import("react").NamedExoticComponent<import("../types").UNSAFE_NewCoreGlyphProps>;
|
|
22
22
|
export default Icon;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default, Icon } from '../components/icon-new';
|
|
2
|
-
export type { NewIconProps, NewCoreIconProps
|
|
2
|
+
export type { NewIconProps, NewCoreIconProps } from '../types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { CustomGlyphProps, GlyphProps, IconProps, Size, SkeletonProps, SVGProps, NewIconProps, NewGlyphColorProps,
|
|
1
|
+
export type { CustomGlyphProps, GlyphProps, IconProps, Size, SkeletonProps, SVGProps, NewIconProps, NewGlyphColorProps, NewCoreIconProps, IconMigrationMap, IconSpacing, IconTileProps, } from '../types';
|
|
@@ -4,4 +4,4 @@ export { default as SVG } from './components/svg';
|
|
|
4
4
|
export { sizeMap as size, sizes } from './constants';
|
|
5
5
|
export { default as Skeleton } from './components/skeleton';
|
|
6
6
|
export { default as IconTile } from './components/icon-tile';
|
|
7
|
-
export type { Size,
|
|
7
|
+
export type { Size, IconSize, SkeletonProps, IconProps, GlyphProps, CustomGlyphProps, SVGProps, NewIconProps, NewCoreIconProps, IconMigrationMap, IconTileProps, } from './types';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5b8f207efd0b698d67177c14ac7a5c63>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -19,13 +19,8 @@ interface metadata {
|
|
|
19
19
|
* The category of the icon:
|
|
20
20
|
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
21
|
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
-
* - 'utility' icons are used for utility purposes
|
|
23
22
|
*/
|
|
24
|
-
categorization: 'single-purpose' | 'multi-purpose'
|
|
25
|
-
/**
|
|
26
|
-
* The type of the icon - either a 16px 'core' icon, or a 12px 'utility' icon
|
|
27
|
-
*/
|
|
28
|
-
type: 'core' | 'utility';
|
|
23
|
+
categorization: 'single-purpose' | 'multi-purpose';
|
|
29
24
|
/**
|
|
30
25
|
* Usage guidelines for the icon. For single-purpose icons,
|
|
31
26
|
*/
|
|
@@ -55,7 +50,6 @@ interface metadata {
|
|
|
55
50
|
*/
|
|
56
51
|
replacement?: {
|
|
57
52
|
name: string;
|
|
58
|
-
type: 'core' | 'utility';
|
|
59
53
|
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
54
|
};
|
|
61
55
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, ReactElement, ReactNode, SVGProps as ReactSVGProps } from 'react';
|
|
2
2
|
import type { IconColor, IconColorPressed, TextColor, TextColorPressed } from '@atlaskit/tokens/css-type-schema';
|
|
3
3
|
export type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
|
-
export type NewCoreIconSize = 'small' | 'medium';
|
|
5
4
|
export type IconSpacing = 'none' | 'spacious' | 'compact';
|
|
6
5
|
export type IconSize = 'small' | 'medium';
|
|
7
6
|
export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
@@ -59,15 +58,6 @@ interface NewCoreGlyphSpacingProps {
|
|
|
59
58
|
*/
|
|
60
59
|
spacing?: IconSpacing;
|
|
61
60
|
}
|
|
62
|
-
interface NewUtilityGlyphSpacingProps {
|
|
63
|
-
/**
|
|
64
|
-
* Utility Icons have only one available size, but can be displayed with additional spacing.
|
|
65
|
-
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
66
|
-
* "compact" provides accessible compact spacing between the icon and other elements.
|
|
67
|
-
* "spacious" provides accessible spacing between the icon and other elements.
|
|
68
|
-
*/
|
|
69
|
-
spacing?: IconSpacing;
|
|
70
|
-
}
|
|
71
61
|
interface NewCoreGlyphSizeProps {
|
|
72
62
|
/**
|
|
73
63
|
* There are two icon sizes available:
|
|
@@ -130,8 +120,6 @@ export interface GlyphProps extends LegacyOtherGlyphProps, GlyphSizeProps, Glyph
|
|
|
130
120
|
}
|
|
131
121
|
interface NewCoreGlyphProps extends OtherGlyphProps, NewCoreGlyphSpacingProps, NewCoreGlyphSizeProps, NewGlyphColorProps {
|
|
132
122
|
}
|
|
133
|
-
interface NewUtilityGlyphProps extends OtherGlyphProps, NewUtilityGlyphSpacingProps, NewCoreGlyphSizeProps, NewGlyphColorProps {
|
|
134
|
-
}
|
|
135
123
|
export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
136
124
|
/**
|
|
137
125
|
* Custom icon component that returns an SVG element with set `viewBox`,
|
|
@@ -164,24 +152,15 @@ interface BaseNewIconProps {
|
|
|
164
152
|
LEGACY_margin?: string;
|
|
165
153
|
}
|
|
166
154
|
export interface UNSAFE_NewCoreGlyphProps extends BaseNewIconProps, NewCoreGlyphProps, IconInternalGlyphProps {
|
|
167
|
-
type?: 'core';
|
|
168
155
|
shouldRecommendSmallIcon?: boolean;
|
|
169
156
|
/**
|
|
170
157
|
* Display name of the icon.
|
|
171
158
|
*/
|
|
172
159
|
name?: string;
|
|
173
160
|
}
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
* Display name of the icon.
|
|
178
|
-
*/
|
|
179
|
-
name?: string;
|
|
180
|
-
}
|
|
181
|
-
export type NewCoreIconProps = Omit<UNSAFE_NewCoreGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
182
|
-
export type NewUtilityIconProps = Omit<UNSAFE_NewUtilityGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
183
|
-
export type UNSAFE_NewGlyphProps = UNSAFE_NewUtilityGlyphProps | UNSAFE_NewCoreGlyphProps;
|
|
184
|
-
export type NewIconProps = Omit<UNSAFE_NewGlyphProps, 'dangerouslySetGlyph' | 'type' | 'name'>;
|
|
161
|
+
export type NewCoreIconProps = Omit<UNSAFE_NewCoreGlyphProps, 'dangerouslySetGlyph'>;
|
|
162
|
+
export type UNSAFE_NewGlyphProps = UNSAFE_NewCoreGlyphProps;
|
|
163
|
+
export type NewIconProps = Omit<UNSAFE_NewGlyphProps, 'dangerouslySetGlyph'>;
|
|
185
164
|
export type IconTileAppearance = 'gray' | 'blue' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange' | 'red' | 'magenta' | 'purple' | 'grayBold' | 'blueBold' | 'tealBold' | 'greenBold' | 'limeBold' | 'yellowBold' | 'orangeBold' | 'redBold' | 'magentaBold' | 'purpleBold';
|
|
186
165
|
export type NewIconTileSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
187
166
|
export type LegacyIconTileSize = '16' | '24' | '32' | '40' | '48';
|
|
@@ -190,7 +169,7 @@ export interface IconTileProps {
|
|
|
190
169
|
/**
|
|
191
170
|
* The icon to display
|
|
192
171
|
*/
|
|
193
|
-
icon: ComponentType<
|
|
172
|
+
icon: ComponentType<NewCoreIconProps>;
|
|
194
173
|
/**
|
|
195
174
|
* The label for the icon
|
|
196
175
|
*/
|
|
@@ -264,7 +243,6 @@ type IconMigrationResult = {
|
|
|
264
243
|
*/
|
|
265
244
|
newIcon?: {
|
|
266
245
|
name: string;
|
|
267
|
-
type: string;
|
|
268
246
|
package: string;
|
|
269
247
|
isMigrationUnsafe?: boolean;
|
|
270
248
|
/**
|
|
@@ -281,7 +259,6 @@ type IconMigrationResult = {
|
|
|
281
259
|
*/
|
|
282
260
|
additionalIcons?: {
|
|
283
261
|
name: string;
|
|
284
|
-
type: string;
|
|
285
262
|
package: string;
|
|
286
263
|
}[];
|
|
287
264
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.1",
|
|
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/"
|
|
@@ -93,8 +93,7 @@
|
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
95
95
|
"@atlaskit/tile": "^1.0.0",
|
|
96
|
-
"@atlaskit/tokens": "^8.
|
|
97
|
-
"@babel/register": "^7.25.9",
|
|
96
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
98
97
|
"@babel/runtime": "^7.0.0",
|
|
99
98
|
"@compiled/react": "^0.18.6"
|
|
100
99
|
},
|
|
@@ -108,26 +107,26 @@
|
|
|
108
107
|
"@af/visual-regression": "workspace:^",
|
|
109
108
|
"@atlaskit/button": "^23.6.0",
|
|
110
109
|
"@atlaskit/code": "^17.3.0",
|
|
111
|
-
"@atlaskit/css": "^0.
|
|
110
|
+
"@atlaskit/css": "^0.17.0",
|
|
112
111
|
"@atlaskit/docs": "^11.2.0",
|
|
113
|
-
"@atlaskit/
|
|
114
|
-
"@atlaskit/form": "^14.2.0",
|
|
112
|
+
"@atlaskit/form": "^14.3.0",
|
|
115
113
|
"@atlaskit/heading": "^5.2.0",
|
|
116
114
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
117
115
|
"@atlaskit/icon-object": "^7.3.0",
|
|
118
116
|
"@atlaskit/link": "^3.2.0",
|
|
119
117
|
"@atlaskit/logo": "^19.9.0",
|
|
120
118
|
"@atlaskit/menu": "^8.4.0",
|
|
121
|
-
"@atlaskit/modal-dialog": "^14.
|
|
122
|
-
"@atlaskit/primitives": "^16.
|
|
119
|
+
"@atlaskit/modal-dialog": "^14.7.0",
|
|
120
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
123
121
|
"@atlaskit/section-message": "^8.9.0",
|
|
124
|
-
"@atlaskit/textfield": "^8.
|
|
122
|
+
"@atlaskit/textfield": "^8.1.0",
|
|
125
123
|
"@atlaskit/theme": "^21.0.0",
|
|
126
124
|
"@atlaskit/toggle": "^15.1.0",
|
|
127
|
-
"@atlaskit/tooltip": "^20.
|
|
125
|
+
"@atlaskit/tooltip": "^20.11.0",
|
|
128
126
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
129
127
|
"@atlassian/ssr-tests": "workspace:^",
|
|
130
128
|
"@babel/core": "7.24.9",
|
|
129
|
+
"@babel/register": "^7.25.9",
|
|
131
130
|
"@codeshift/utils": "^0.2.4",
|
|
132
131
|
"@testing-library/react": "^13.4.0",
|
|
133
132
|
"fs-extra": "^4.0.2",
|
|
@@ -180,8 +179,6 @@
|
|
|
180
179
|
"./glyph": "./glyph",
|
|
181
180
|
"./core": "./core",
|
|
182
181
|
"./core/migration": "./core/migration",
|
|
183
|
-
"./utility": "./utility",
|
|
184
|
-
"./utility/migration": "./utility/migration",
|
|
185
182
|
".": "./src/index.tsx"
|
|
186
183
|
},
|
|
187
184
|
"platform-feature-flags": {
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
*
|
|
10
|
-
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
11
|
-
*
|
|
12
|
-
* @codegen <<SignedSource::56892aca4678057bf1259d468dd867f8>>
|
|
13
|
-
* @codegenCommand yarn build:icon-glyphs
|
|
14
|
-
*/
|
|
15
|
-
var deprecatedIcons = {
|
|
16
|
-
'@atlaskit/icon/utility/add': {
|
|
17
|
-
message: 'The icon "add" is deprecated in favour of "add" from “@atlaskit/icon/core”'
|
|
18
|
-
},
|
|
19
|
-
'@atlaskit/icon/utility/arrow-down': {
|
|
20
|
-
message: 'The icon "arrow-down" is deprecated in favour of "arrow-down" from “@atlaskit/icon/core”'
|
|
21
|
-
},
|
|
22
|
-
'@atlaskit/icon/utility/arrow-left': {
|
|
23
|
-
message: 'The icon "arrow-left" is deprecated in favour of "arrow-left" from “@atlaskit/icon/core”'
|
|
24
|
-
},
|
|
25
|
-
'@atlaskit/icon/utility/arrow-right': {
|
|
26
|
-
message: 'The icon "arrow-right" is deprecated in favour of "arrow-right" from “@atlaskit/icon/core”'
|
|
27
|
-
},
|
|
28
|
-
'@atlaskit/icon/utility/arrow-up': {
|
|
29
|
-
message: 'The icon "arrow-up" is deprecated in favour of "arrow-up" from “@atlaskit/icon/core”'
|
|
30
|
-
},
|
|
31
|
-
'@atlaskit/icon/utility/check-circle': {
|
|
32
|
-
message: 'The icon "check-circle" is deprecated in favour of "check-circle" from “@atlaskit/icon/core”'
|
|
33
|
-
},
|
|
34
|
-
'@atlaskit/icon/utility/check-mark': {
|
|
35
|
-
message: 'The icon "check-mark" is deprecated in favour of "check-mark" from “@atlaskit/icon/core”'
|
|
36
|
-
},
|
|
37
|
-
'@atlaskit/icon/utility/chevron-double-left': {
|
|
38
|
-
message: 'The icon "chevron-double-left" is deprecated in favour of "chevron-double-left" from “@atlaskit/icon/core”'
|
|
39
|
-
},
|
|
40
|
-
'@atlaskit/icon/utility/chevron-double-right': {
|
|
41
|
-
message: 'The icon "chevron-double-right" is deprecated in favour of "chevron-double-right" from “@atlaskit/icon/core”'
|
|
42
|
-
},
|
|
43
|
-
'@atlaskit/icon/utility/chevron-down': {
|
|
44
|
-
message: 'The icon "chevron-down" is deprecated in favour of "chevron-down" from “@atlaskit/icon/core”'
|
|
45
|
-
},
|
|
46
|
-
'@atlaskit/icon/utility/chevron-left': {
|
|
47
|
-
message: 'The icon "chevron-left" is deprecated in favour of "chevron-left" from “@atlaskit/icon/core”'
|
|
48
|
-
},
|
|
49
|
-
'@atlaskit/icon/utility/chevron-right': {
|
|
50
|
-
message: 'The icon "chevron-right" is deprecated in favour of "chevron-right" from “@atlaskit/icon/core”'
|
|
51
|
-
},
|
|
52
|
-
'@atlaskit/icon/utility/chevron-up': {
|
|
53
|
-
message: 'The icon "chevron-up" is deprecated in favour of "chevron-up" from “@atlaskit/icon/core”'
|
|
54
|
-
},
|
|
55
|
-
'@atlaskit/icon/utility/cross': {
|
|
56
|
-
message: 'The icon "cross" is deprecated in favour of "cross" from “@atlaskit/icon/core”'
|
|
57
|
-
},
|
|
58
|
-
'@atlaskit/icon/utility/cross-circle': {
|
|
59
|
-
message: 'The icon "cross-circle" is deprecated in favour of "cross-circle" from “@atlaskit/icon/core”'
|
|
60
|
-
},
|
|
61
|
-
'@atlaskit/icon/utility/drag-handle': {
|
|
62
|
-
message: 'The icon "drag-handle" is deprecated in favour of "drag-handle-vertical" from “@atlaskit/icon/core”'
|
|
63
|
-
},
|
|
64
|
-
'@atlaskit/icon/utility/drag-handle-horizontal': {
|
|
65
|
-
message: 'The icon "drag-handle-horizontal" is deprecated in favour of "drag-handle-horizontal" from “@atlaskit/icon/core”'
|
|
66
|
-
},
|
|
67
|
-
'@atlaskit/icon/utility/drag-handle-vertical': {
|
|
68
|
-
message: 'The icon "drag-handle-vertical" is deprecated in favour of "drag-handle-vertical" from “@atlaskit/icon/core”'
|
|
69
|
-
},
|
|
70
|
-
'@atlaskit/icon/utility/error': {
|
|
71
|
-
message: 'The icon "error" is deprecated in favour of "status-error" from “@atlaskit/icon/core”'
|
|
72
|
-
},
|
|
73
|
-
'@atlaskit/icon/utility/information': {
|
|
74
|
-
message: 'The icon "information" is deprecated in favour of "status-information" from “@atlaskit/icon/core”'
|
|
75
|
-
},
|
|
76
|
-
'@atlaskit/icon/utility/link-external': {
|
|
77
|
-
message: 'The icon "link-external" is deprecated in favour of "link-external" from “@atlaskit/icon/core”'
|
|
78
|
-
},
|
|
79
|
-
'@atlaskit/icon/utility/lock-locked': {
|
|
80
|
-
message: 'The icon "lock-locked" is deprecated in favour of "lock-locked" from “@atlaskit/icon/core”'
|
|
81
|
-
},
|
|
82
|
-
'@atlaskit/icon/utility/lock-unlocked': {
|
|
83
|
-
message: 'The icon "lock-unlocked" is deprecated in favour of "lock-unlocked" from “@atlaskit/icon/core”'
|
|
84
|
-
},
|
|
85
|
-
'@atlaskit/icon/utility/show-more-horizontal': {
|
|
86
|
-
message: 'The icon "show-more-horizontal" is deprecated in favour of "show-more-horizontal" from “@atlaskit/icon/core”'
|
|
87
|
-
},
|
|
88
|
-
'@atlaskit/icon/utility/show-more-vertical': {
|
|
89
|
-
message: 'The icon "show-more-vertical" is deprecated in favour of "show-more-vertical" from “@atlaskit/icon/core”'
|
|
90
|
-
},
|
|
91
|
-
'@atlaskit/icon/utility/star-starred': {
|
|
92
|
-
message: 'The icon "star-starred" is deprecated in favour of "star-starred" from “@atlaskit/icon/core”'
|
|
93
|
-
},
|
|
94
|
-
'@atlaskit/icon/utility/star-unstarred': {
|
|
95
|
-
message: 'The icon "star-unstarred" is deprecated in favour of "star-unstarred" from “@atlaskit/icon/core”'
|
|
96
|
-
},
|
|
97
|
-
'@atlaskit/icon/utility/success': {
|
|
98
|
-
message: 'The icon "success" is deprecated in favour of "status-success" from “@atlaskit/icon/core”'
|
|
99
|
-
},
|
|
100
|
-
'@atlaskit/icon/utility/warning': {
|
|
101
|
-
message: 'The icon "warning" is deprecated in favour of "status-warning" from “@atlaskit/icon/core”'
|
|
102
|
-
},
|
|
103
|
-
'@atlaskit/icon/utility/migration/check-circle': {
|
|
104
|
-
message: 'The icon "check-circle" is deprecated, Please refer to the changelog for guidance on how to migrate. https://atlassian.design/components/icon/changelog',
|
|
105
|
-
unfixable: true
|
|
106
|
-
},
|
|
107
|
-
'@atlaskit/icon/utility/migration/check-mark--editor-done': {
|
|
108
|
-
message: 'The icon "check-mark--editor-done" is deprecated in favour of "check-mark--editor-done" from “@atlaskit/icon/core/migration”'
|
|
109
|
-
},
|
|
110
|
-
'@atlaskit/icon/utility/migration/chevron-down': {
|
|
111
|
-
message: 'The icon "chevron-down" is deprecated in favour of "chevron-down" from “@atlaskit/icon/core/migration”'
|
|
112
|
-
},
|
|
113
|
-
'@atlaskit/icon/utility/migration/chevron-down--chevron-down-circle': {
|
|
114
|
-
message: 'The icon "chevron-down--chevron-down-circle" is deprecated in favour of "chevron-down--chevron-down-circle" from “@atlaskit/icon/core/migration”'
|
|
115
|
-
},
|
|
116
|
-
'@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down': {
|
|
117
|
-
message: 'The icon "chevron-down--hipchat-chevron-down" is deprecated in favour of "chevron-down--hipchat-chevron-down" from “@atlaskit/icon/core/migration”'
|
|
118
|
-
},
|
|
119
|
-
'@atlaskit/icon/utility/migration/chevron-left--chevron-left-circle': {
|
|
120
|
-
message: 'The icon "chevron-left--chevron-left-circle" is deprecated in favour of "chevron-left--chevron-left-circle" from “@atlaskit/icon/core/migration”'
|
|
121
|
-
},
|
|
122
|
-
'@atlaskit/icon/utility/migration/chevron-left': {
|
|
123
|
-
message: 'The icon "chevron-left" is deprecated in favour of "chevron-left" from “@atlaskit/icon/core/migration”'
|
|
124
|
-
},
|
|
125
|
-
'@atlaskit/icon/utility/migration/chevron-left--chevron-left-large': {
|
|
126
|
-
message: 'The icon "chevron-left--chevron-left-large" is deprecated in favour of "chevron-left--chevron-left-large" from “@atlaskit/icon/core/migration”'
|
|
127
|
-
},
|
|
128
|
-
'@atlaskit/icon/utility/migration/chevron-right--chevron-right-circle': {
|
|
129
|
-
message: 'The icon "chevron-right--chevron-right-circle" is deprecated in favour of "chevron-right--chevron-right-circle" from “@atlaskit/icon/core/migration”'
|
|
130
|
-
},
|
|
131
|
-
'@atlaskit/icon/utility/migration/chevron-right': {
|
|
132
|
-
message: 'The icon "chevron-right" is deprecated in favour of "chevron-right" from “@atlaskit/icon/core/migration”'
|
|
133
|
-
},
|
|
134
|
-
'@atlaskit/icon/utility/migration/chevron-right--chevron-right-large': {
|
|
135
|
-
message: 'The icon "chevron-right--chevron-right-large" is deprecated in favour of "chevron-right--chevron-right-large" from “@atlaskit/icon/core/migration”'
|
|
136
|
-
},
|
|
137
|
-
'@atlaskit/icon/utility/migration/chevron-up--chevron-up-circle': {
|
|
138
|
-
message: 'The icon "chevron-up--chevron-up-circle" is deprecated in favour of "chevron-up--chevron-up-circle" from “@atlaskit/icon/core/migration”'
|
|
139
|
-
},
|
|
140
|
-
'@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up': {
|
|
141
|
-
message: 'The icon "chevron-up--hipchat-chevron-up" is deprecated in favour of "chevron-up--hipchat-chevron-up" from “@atlaskit/icon/core/migration”'
|
|
142
|
-
},
|
|
143
|
-
'@atlaskit/icon/utility/migration/chevron-up': {
|
|
144
|
-
message: 'The icon "chevron-up" is deprecated in favour of "chevron-up" from “@atlaskit/icon/core/migration”'
|
|
145
|
-
},
|
|
146
|
-
'@atlaskit/icon/utility/migration/cross--editor-close': {
|
|
147
|
-
message: 'The icon "cross--editor-close" is deprecated in favour of "cross--editor-close" from “@atlaskit/icon/core/migration”'
|
|
148
|
-
},
|
|
149
|
-
'@atlaskit/icon/core/migration/drag-handle--drag-handler': {
|
|
150
|
-
message: 'The icon "drag-handle--drag-handler" is deprecated in favour of "drag-handle-vertical--drag-handler" from “@atlaskit/icon/core/migration”'
|
|
151
|
-
},
|
|
152
|
-
'@atlaskit/icon/core/migration/error': {
|
|
153
|
-
message: 'The icon "error" is deprecated in favour of "status-error--error" from “@atlaskit/icon/core/migration”'
|
|
154
|
-
},
|
|
155
|
-
'@atlaskit/icon/core/migration/information--editor-info': {
|
|
156
|
-
message: 'The icon "information--editor-info" is deprecated in favour of "status-information--editor-info" from “@atlaskit/icon/core/migration”'
|
|
157
|
-
},
|
|
158
|
-
'@atlaskit/icon/core/migration/information--editor-panel': {
|
|
159
|
-
message: 'The icon "information--editor-panel" is deprecated in favour of "status-information--editor-panel" from “@atlaskit/icon/core/migration”'
|
|
160
|
-
},
|
|
161
|
-
'@atlaskit/icon/core/migration/information--info': {
|
|
162
|
-
message: 'The icon "information--info" is deprecated in favour of "status-information--info" from “@atlaskit/icon/core/migration”'
|
|
163
|
-
},
|
|
164
|
-
'@atlaskit/icon/core/migration/success--check-circle': {
|
|
165
|
-
message: 'The icon "success--check-circle" is deprecated in favour of "status-success--check-circle" from “@atlaskit/icon/core/migration”'
|
|
166
|
-
},
|
|
167
|
-
'@atlaskit/icon/core/migration/success--editor-success': {
|
|
168
|
-
message: 'The icon "success--editor-success" is deprecated in favour of "status-success--editor-success" from “@atlaskit/icon/core/migration”'
|
|
169
|
-
},
|
|
170
|
-
'@atlaskit/icon/core/migration/warning--editor-warning': {
|
|
171
|
-
message: 'The icon "warning--editor-warning" is deprecated in favour of "status-warning--editor-warning" from “@atlaskit/icon/core/migration”'
|
|
172
|
-
},
|
|
173
|
-
'@atlaskit/icon/core/migration/warning': {
|
|
174
|
-
message: 'The icon "warning" is deprecated in favour of "status-warning--warning" from “@atlaskit/icon/core/migration”'
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
var _default = exports.default = deprecatedIcons;
|