@atlaskit/icon 34.6.0 → 35.0.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 (2) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 35.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`2b84ca637685f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b84ca637685f) -
8
+ [ux] Cleans up the `IconTile` API following the rollout of `platform_dst_new_icon_tile` and
9
+ `platform_dst_new_icon_tile_stage2` flags.
10
+
11
+ ### Breaking changes
12
+ - **`size="16"` removed** — Migrate to direct icon glyph usage (e.g. `<MyIcon label="..." />`), or
13
+ use `size="xsmall"` for the smallest tile (20px).
14
+ - **Pixel number sizes removed** — `size` values `"24"`, `"32"`, `"40"`, `"48"` have been removed.
15
+ Migrate to t-shirt sizes:
16
+ - `"small"` (replaces `"24"`)
17
+ - `"medium"` (replaces `"32"`)
18
+ - `"large"` (replaces `"40"`)
19
+ - `"xlarge"` (replaces `"48"`)
20
+ - **`LegacyIconTileSize` and `NewIconTileSize` types removed** — Use `IconTileSize` directly.
21
+ - Icon tile defaults to size `medium` (previously - `small`).
22
+ - `UNSAFE_circleReplacementComponent` is required if `shape='circle'` is passed in.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 34.6.0
4
29
 
5
30
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "34.6.0",
3
+ "version": "35.0.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/"
@@ -76,7 +76,7 @@
76
76
  "@atlassian/react-compiler-gating": "workspace:^",
77
77
  "@atlassian/ssr-tests": "workspace:^",
78
78
  "@atlassian/structured-docs-types": "workspace:^",
79
- "@atlassian/testing-library": "^0.5.0",
79
+ "@atlassian/testing-library": "^0.6.0",
80
80
  "@babel/core": "7.24.9",
81
81
  "@babel/register": "^7.25.9",
82
82
  "@codeshift/utils": "^0.2.4",