@atlaskit/icon 28.2.1 → 28.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-dev-agents/tsconfig.json +3 -0
  4. package/afm-jira/tsconfig.json +3 -0
  5. package/afm-passionfruit/tsconfig.json +3 -0
  6. package/afm-post-office/tsconfig.json +3 -0
  7. package/afm-rovo-extension/tsconfig.json +3 -0
  8. package/afm-townsquare/tsconfig.json +3 -0
  9. package/build/index.tsx +1 -1
  10. package/core/chart-pie.js +2 -2
  11. package/dist/cjs/components/icon-new.js +1 -1
  12. package/dist/cjs/components/icon-tile/icon-tile-new.compiled.css +12 -0
  13. package/dist/cjs/components/icon-tile/icon-tile-new.js +103 -0
  14. package/dist/cjs/components/{icon-tile.compiled.css → icon-tile/icon-tile-old.compiled.css} +2 -0
  15. package/dist/cjs/components/{icon-tile.js → icon-tile/icon-tile-old.js} +27 -25
  16. package/dist/cjs/components/icon-tile/index.js +85 -0
  17. package/dist/cjs/components/icon.js +1 -1
  18. package/dist/cjs/components/skeleton.js +1 -1
  19. package/dist/cjs/components/svg.js +1 -1
  20. package/dist/cjs/metadata-core.js +14 -14
  21. package/dist/cjs/metadata.js +1 -1
  22. package/dist/es2019/components/icon-new.js +1 -1
  23. package/dist/es2019/components/icon-tile/icon-tile-new.compiled.css +12 -0
  24. package/dist/es2019/components/icon-tile/icon-tile-new.js +95 -0
  25. package/dist/{esm/components/icon-tile.compiled.css → es2019/components/icon-tile/icon-tile-old.compiled.css} +2 -0
  26. package/dist/es2019/components/{icon-tile.js → icon-tile/icon-tile-old.js} +27 -25
  27. package/dist/es2019/components/icon-tile/index.js +79 -0
  28. package/dist/es2019/components/icon.js +1 -1
  29. package/dist/es2019/components/skeleton.js +1 -1
  30. package/dist/es2019/components/svg.js +1 -1
  31. package/dist/es2019/metadata-core.js +14 -14
  32. package/dist/es2019/metadata.js +1 -1
  33. package/dist/esm/components/icon-new.js +1 -1
  34. package/dist/esm/components/icon-tile/icon-tile-new.compiled.css +12 -0
  35. package/dist/esm/components/icon-tile/icon-tile-new.js +94 -0
  36. package/dist/{es2019/components/icon-tile.compiled.css → esm/components/icon-tile/icon-tile-old.compiled.css} +2 -0
  37. package/dist/esm/components/{icon-tile.js → icon-tile/icon-tile-old.js} +27 -25
  38. package/dist/esm/components/icon-tile/index.js +78 -0
  39. package/dist/esm/components/icon.js +1 -1
  40. package/dist/esm/components/skeleton.js +1 -1
  41. package/dist/esm/components/svg.js +1 -1
  42. package/dist/esm/metadata-core.js +14 -14
  43. package/dist/esm/metadata.js +1 -1
  44. package/dist/types/components/icon-tile/icon-tile-new.d.ts +7 -0
  45. package/dist/types/components/icon-tile/icon-tile-old.d.ts +7 -0
  46. package/dist/types/components/icon-tile/index.d.ts +8 -0
  47. package/dist/types/entry-points/types.d.ts +1 -1
  48. package/dist/types/metadata-core.d.ts +1 -1
  49. package/dist/types/metadata.d.ts +2 -8
  50. package/dist/types/types.d.ts +26 -3
  51. package/dist/types-ts4.5/components/icon-tile/icon-tile-new.d.ts +7 -0
  52. package/dist/types-ts4.5/components/icon-tile/icon-tile-old.d.ts +7 -0
  53. package/dist/types-ts4.5/components/icon-tile/index.d.ts +8 -0
  54. package/dist/types-ts4.5/entry-points/types.d.ts +1 -1
  55. package/dist/types-ts4.5/metadata-core.d.ts +1 -1
  56. package/dist/types-ts4.5/metadata.d.ts +2 -8
  57. package/dist/types-ts4.5/types.d.ts +26 -3
  58. package/docs/ai/icon-instructions.md +556 -6
  59. package/package.json +18 -10
  60. package/svgs/core/chart-pie.svg +1 -1
  61. package/utils/logo-icons.tsx +65 -49
  62. package/utils/synonyms.tsx +301 -300
  63. package/dist/types/components/icon-tile.d.ts +0 -11
  64. package/dist/types-ts4.5/components/icon-tile.d.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "28.2.1",
3
+ "version": "28.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/"
@@ -46,7 +46,7 @@
46
46
  "id": "icon-tile",
47
47
  "status": {
48
48
  "type": "open-alpha",
49
- "description": "This is an experiment. We may make frequent breaking changes with limited notice."
49
+ "description": "This is an experiment. We are in the process of making breaking changes."
50
50
  },
51
51
  "sortKey": 2
52
52
  },
@@ -96,7 +96,8 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@atlaskit/platform-feature-flags": "^1.1.0",
99
- "@atlaskit/tokens": "^6.3.0",
99
+ "@atlaskit/tile": "^0.1.0",
100
+ "@atlaskit/tokens": "^6.4.0",
100
101
  "@babel/register": "^7.25.9",
101
102
  "@babel/runtime": "^7.0.0",
102
103
  "@compiled/react": "^0.18.3"
@@ -109,25 +110,26 @@
109
110
  "@af/icon-build-process": "workspace:^",
110
111
  "@af/integration-testing": "workspace:^",
111
112
  "@af/visual-regression": "workspace:^",
112
- "@atlaskit/button": "^23.4.0",
113
+ "@atlaskit/button": "^23.5.0",
113
114
  "@atlaskit/code": "^17.2.0",
114
115
  "@atlaskit/css": "^0.14.0",
115
116
  "@atlaskit/docs": "^11.1.0",
116
- "@atlaskit/ds-lib": "^5.0.0",
117
- "@atlaskit/form": "^12.7.0",
117
+ "@atlaskit/ds-lib": "^5.1.0",
118
+ "@atlaskit/form": "^14.2.0",
118
119
  "@atlaskit/heading": "^5.2.0",
119
120
  "@atlaskit/icon-file-type": "^7.0.0",
120
121
  "@atlaskit/icon-object": "^7.2.0",
121
122
  "@atlaskit/link": "^3.2.0",
122
- "@atlaskit/logo": "^19.7.0",
123
+ "@atlaskit/logo": "^19.8.0",
123
124
  "@atlaskit/menu": "^8.4.0",
124
- "@atlaskit/modal-dialog": "^14.3.0",
125
- "@atlaskit/primitives": "^14.14.0",
125
+ "@atlaskit/modal-dialog": "^14.4.0",
126
+ "@atlaskit/primitives": "^14.15.0",
126
127
  "@atlaskit/section-message": "^8.7.0",
127
128
  "@atlaskit/textfield": "^8.0.0",
128
129
  "@atlaskit/theme": "^21.0.0",
129
130
  "@atlaskit/toggle": "^15.1.0",
130
- "@atlaskit/tooltip": "^20.4.0",
131
+ "@atlaskit/tooltip": "^20.5.0",
132
+ "@atlassian/feature-flags-test-utils": "^0.3.0",
131
133
  "@atlassian/ssr-tests": "^0.3.0",
132
134
  "@babel/core": "7.24.9",
133
135
  "@codeshift/utils": "^0.2.4",
@@ -192,6 +194,12 @@
192
194
  },
193
195
  "platform-visual-refresh-icons-facade-button-fix": {
194
196
  "type": "boolean"
197
+ },
198
+ "platform_dst_new_icon_tile": {
199
+ "type": "boolean"
200
+ },
201
+ "platform_dst_icon_tile_circle_replacement": {
202
+ "type": "boolean"
195
203
  }
196
204
  }
197
205
  }
@@ -1 +1 @@
1
- <svg width="16" height="16" fill="none" viewBox="0 0 16 16"><mask id="mask0_55124_7686" width="16" height="16" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="currentcolor" d="M5.106 0C5.04.239 5 .49 5 .75v7.5a2.75 2.75 0 0 0 3.462 2.656l7.246-1.941q.15-.04.292-.098V16H0V0zm5.672 4.59-.278.076v-.29q.143.102.278.215M16 2.17A10.3 10.3 0 0 0 13.831 0H16z"/></mask><g mask="url(#mask0_55124_7686)"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M1.75 8a6.25 6.25 0 1 0 12.5 0 6.25 6.25 0 0 0-12.5 0Z"/></g><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25V.75c3.47 0 6.39 2.357 7.246 5.558z"/></svg>
1
+ <svg width="16" height="16" fill="none" viewBox="0 0 16 16"><mask id="mask0_56173_3412" width="16" height="16" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="currentcolor" d="M5.106 0C5.04.239 5 .49 5 .75v7.5a2.75 2.75 0 0 0 3.462 2.656l7.246-1.941q.15-.04.292-.098V16H0V0zm5.672 4.59-.278.076v-.29q.143.102.278.215M16 2.17A10.3 10.3 0 0 0 13.831 0H16z"/></mask><g mask="url(#mask0_56173_3412)"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M1.75 8a6.25 6.25 0 1 0 12.5 0 6.25 6.25 0 0 0-12.5 0Z"/></g><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25V.75c3.47 0 6.39 2.357 7.246 5.558z"/></svg>
@@ -3,55 +3,71 @@ Unlike its sister icon info files, this one is manually curated
3
3
  */
4
4
 
5
5
  import {
6
- AtlassianIcon,
7
- BitbucketIcon,
8
- ConfluenceIcon,
9
- JiraSoftwareIcon,
10
- JiraIcon,
11
- StatuspageIcon,
6
+ AtlassianIcon,
7
+ BitbucketIcon,
8
+ ConfluenceIcon,
9
+ JiraSoftwareIcon,
10
+ JiraIcon,
11
+ StatuspageIcon,
12
12
  } from '@atlaskit/logo';
13
13
 
14
- export default {
15
- AtlassianIcon: {
16
- componentName: 'AtlassianIcon',
17
- isNamedImport: true,
18
- component: AtlassianIcon,
19
- keywords: ['product', 'logo', 'atlassian'],
20
- package: '@atlaskit/logo',
21
- },
22
- BitbucketIcon: {
23
- componentName: 'BitbucketIcon',
24
- isNamedImport: true,
25
- component: BitbucketIcon,
26
- keywords: ['product', 'logo', 'bitbucket'],
27
- package: '@atlaskit/logo',
28
- },
29
- ConfluenceIcon: {
30
- componentName: 'ConfluenceIcon',
31
- isNamedImport: true,
32
- component: ConfluenceIcon,
33
- keywords: ['product', 'logo', 'confluence'],
34
- package: '@atlaskit/logo',
35
- },
36
- JiraSoftwareIcon: {
37
- componentName: 'JiraSoftwareIcon',
38
- isNamedImport: true,
39
- component: JiraSoftwareIcon,
40
- keywords: ['product', 'logo', 'jira', 'software'],
41
- package: '@atlaskit/logo',
42
- },
43
- JiraIcon: {
44
- componentName: 'JiraIcon',
45
- isNamedImport: true,
46
- component: JiraIcon,
47
- keywords: ['product', 'logo', 'jira'],
48
- package: '@atlaskit/logo',
49
- },
50
- StatuspageIcon: {
51
- componentName: 'StatuspageIcon',
52
- isNamedImport: true,
53
- component: StatuspageIcon,
54
- keywords: ['product', 'logo', 'statuspage'],
55
- package: '@atlaskit/logo',
56
- },
14
+ type IconInfo = {
15
+ componentName: string;
16
+ isNamedImport: boolean;
17
+ component: any;
18
+ keywords: string[];
19
+ package: string;
57
20
  };
21
+
22
+ const LogoIcons: {
23
+ AtlassianIcon: IconInfo;
24
+ BitbucketIcon: IconInfo;
25
+ ConfluenceIcon: IconInfo;
26
+ JiraSoftwareIcon: IconInfo;
27
+ JiraIcon: IconInfo;
28
+ StatuspageIcon: IconInfo;
29
+ } = {
30
+ AtlassianIcon: {
31
+ componentName: 'AtlassianIcon',
32
+ isNamedImport: true,
33
+ component: AtlassianIcon,
34
+ keywords: ['product', 'app', 'logo', 'atlassian'],
35
+ package: '@atlaskit/logo',
36
+ },
37
+ BitbucketIcon: {
38
+ componentName: 'BitbucketIcon',
39
+ isNamedImport: true,
40
+ component: BitbucketIcon,
41
+ keywords: ['product', 'app', 'logo', 'bitbucket'],
42
+ package: '@atlaskit/logo',
43
+ },
44
+ ConfluenceIcon: {
45
+ componentName: 'ConfluenceIcon',
46
+ isNamedImport: true,
47
+ component: ConfluenceIcon,
48
+ keywords: ['product', 'app', 'logo', 'confluence'],
49
+ package: '@atlaskit/logo',
50
+ },
51
+ JiraSoftwareIcon: {
52
+ componentName: 'JiraSoftwareIcon',
53
+ isNamedImport: true,
54
+ component: JiraSoftwareIcon,
55
+ keywords: ['product', 'app', 'logo', 'jira', 'software'],
56
+ package: '@atlaskit/logo',
57
+ },
58
+ JiraIcon: {
59
+ componentName: 'JiraIcon',
60
+ isNamedImport: true,
61
+ component: JiraIcon,
62
+ keywords: ['product', 'app', 'logo', 'jira'],
63
+ package: '@atlaskit/logo',
64
+ },
65
+ StatuspageIcon: {
66
+ componentName: 'StatuspageIcon',
67
+ isNamedImport: true,
68
+ component: StatuspageIcon,
69
+ keywords: ['product', 'app', 'logo', 'statuspage'],
70
+ package: '@atlaskit/logo',
71
+ },
72
+ };
73
+ export default LogoIcons;