Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/icon-object

atlassian71.2kApache-2.07.3.0TypeScript support: included

An object icon is used to represent an Atlassian-specific content type.

atlaskit, ui

readme

changelog

@atlaskit/icon-object

7.3.0

Minor Changes

  • e1c9823b0b420 - ## Deprecated

    Icon object has been marked as deprecated, and has been replaced by Object (@atlaskit/object).

    To migrate automatically, use the codemod:

    npx @atlaskit/codemod-cli -n migrate-icon-object-to-object --extensions tsx,ts,js --parser tsx <your-path>

Patch Changes

  • Updated dependencies

7.2.3

Patch Changes

  • 5aee08c7c27e4 - We are testing a change behind a feature flag. All exports of @atlaskit/icon-object will be swapped to display equivalents from the new replacement package, @atlaskit/object. 16px icon objects will be replaced with unbounded objects, and 24px icon objects will be replaced with object tiles. If this change is successful it will be available in a later release.

7.2.2

Patch Changes

  • 23bcc5bbc9cee - Internal changes to how border radius is applied.
  • Updated dependencies

7.2.1

Patch Changes

  • 2705f4174191e - Icons will no longer switch to the new icons via theplatform-visual-refresh-icons-legacy-facade feature flag
  • Updated dependencies

7.2.0

Minor Changes

  • #195926 14604c78868cc - [ux] Icon Object now displays new design behind same feature flag as @atlaskit/icon

7.1.4

Patch Changes

  • #193863 ddb17aca8f0c7 - Disabling icon facade where old icons displayed new icons in prepartion for removal
  • Updated dependencies

7.1.3

Patch Changes

  • Updated dependencies

7.1.2

Patch Changes

7.1.1

Patch Changes

  • Updated dependencies

7.1.0

Minor Changes

  • #140619 2bec7ec581881 - This release updates icons in @atlaskit/icon-object.

    Updated: @atlaskit/icon-object

    • PageLiveDoc16Icon
    • PageLiveDoc24Icon

7.0.2

Patch Changes

7.0.1

Patch Changes

  • Updated dependencies

7.0.0

Major Changes

Patch Changes

  • Updated dependencies

6.11.1

Patch Changes

6.11.0

Minor Changes

  • #113741 bb699da066ffc - [ux] This release adds icons in @atlaskit/icon-object.

    @atlaskit/icon-object

    • LiveDoc16Icon
    • LiveDoc24Icon

6.10.1

Patch Changes

  • Updated dependencies

6.10.0

Minor Changes

Patch Changes

  • Updated dependencies

6.9.0

Minor Changes

  • #171994 be58e4bb2e387 - Re-building the icons due to UNSAFE types and entrypoints being renamed in the @atlaskit/icon package.

Patch Changes

  • Updated dependencies

6.8.0

Minor Changes

  • #169436 571aeaa4c8c45 - Migrate to new icons and icon-tile, behind a feature flag. Icon tile components have also been updated to use the standard export process for @atlaskit components, with optimised exports for cjs, es2019 and esm.

Patch Changes

  • Updated dependencies

6.7.1

Patch Changes

  • #166026 962b5e77810fb - Adds side-effect config to support Compiled css extraction in third-party apps

6.7.0

Minor Changes

Patch Changes

  • Updated dependencies

6.6.0

Minor Changes

Patch Changes

  • Updated dependencies

6.5.0

Minor Changes

  • #127511 db30e29344013 - Widening range of react and react-dom peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0 to the wider range of ^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).

    This change has been done to enable usage of `react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platform` packages.

Patch Changes

  • Updated dependencies

6.4.0

Minor Changes

6.3.9

Patch Changes

  • #64934 532734a858a1 - Update to internal metadata order, following update of @atlaskit/icon-build-process

6.3.8

Patch Changes

  • Updated dependencies

6.3.7

Patch Changes

  • #41725 8d838ab41ed - Removed all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only affects the examples and some tests in each component. No internal component logic contained legacy theming.

6.3.6

Patch Changes

6.3.5

Patch Changes

6.3.4

Patch Changes

6.3.3

Patch Changes

  • #32935 b1bdec7cce2 - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.

6.3.2

Patch Changes

6.3.1

Patch Changes

6.3.0

Minor Changes

Patch Changes

  • Updated dependencies

6.2.9

Patch Changes

  • #32424 2e01c9c74b5 - DUMMY remove before merging to master; dupe adf-schema via adf-utils

6.2.8

Patch Changes

6.2.7

Patch Changes

6.2.6

Patch Changes

  • #20033 b3e5a62a9e3 - Adds static techstack to package, enforcing stricter style linting. In this case the package already satisfied this requirement so there have been no changes to styles.

6.2.5

Patch Changes

6.2.4

Patch Changes

6.2.3

Patch Changes

6.2.2

Patch Changes

6.2.1

Patch Changes

  • #9083 469f36d9629 - Icon build tooling has been updated.
  • 3de10e7652e - Documentation updates and fixes to types for all icon packages.
  • d98f1bb1169 - Local build tooling improvements.
  • 3f36b048938 - The color props have been removed from the TypeScript type definitions. The behavior has never worked with the glyphs but was included in the type definitions incorrectly.
  • Updated dependencies

6.2.0

Minor Changes

  • #8644 ea014ce1369 - Icon object now ships with cjs, esm, and es2019 bundles for exported components and utils. Glyphs unfortunately aren't included and still only export cjs bundles.
  • 7a309444ca0 - Icon object now utilises the base icon from @atlaskit/icon.

Patch Changes

  • 79c23df6340 - Use injected package name and version for analytics instead of version.json.
  • 21d5d7e39d9 - Previously icon object glyphs had a size prop available on the type definitions that did not do anything. This prop has now been removed.
  • f922302ad53 - Icons no longer ship with the focusable attribute in their glyph exports. This attribute was only required for IE11 support. This is purely a build change and has no effect on user API.
  • Updated dependencies

6.1.4

Patch Changes

  • #8178 0741b1556f6 - All icon glpyhs are now built without inline extends helpers, reducing their bundlesize.
  • 8d6c79b9055 - Typedefs of glyphs have been updated to reflect an API change that occured in version 15. For context, onClick was removed as a functional prop but it was still supported by the types. This may have resulted in a confusing developer experience although the fundamental behaviour has been consistent since version 15.

6.1.3

Patch Changes

  • #7425 b9f0d16300 - Re-generated icons using a newer version of the build process

6.1.2

Patch Changes

  • #7589 c65f28c058 - Change codemod to return raw source if it is not transforming a file.

    Otherwise it would run prettier which can lead to some invalid syntax outputted in edge cases. This is likely due to an issue in either codemod-cli or jscodeshift.

6.1.1

Patch Changes

  • #7458 8990bf36a9 - Add a missing codemod for the entrypoint change in 6.1.0


    Running the codemod cli

    To run the codemod: You first need to have the latest version installed before you can run the codemod

    yarn upgrade @atlaskit/PACKAGE@^VERSION

    Once upgraded, use the Atlaskit codemod-cli;

    npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]

    Or run npx @atlaskit/codemod-cli -h for more details on usage. For Atlassians, refer to this doc for more details on the codemod CLI.

6.1.0

Minor Changes

  • #7170 fbdf356800 - Remove undocumented metadata export from main entry point. To import metadata instead do it from the /metadata entrypoint.

6.0.5

Patch Changes

  • Updated dependencies

6.0.4

Patch Changes

  • #4649 d6ff4c7dce - Removes unused (and incorrect) es2019 key in package.json

6.0.3

Patch Changes

  • #4682 f51e6ff443 - License updated to Apache 2.0 (previously under the ADG license)

6.0.2

Patch Changes

  • #3885 6c525a8229 - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0

    Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.

6.0.1

Patch Changes

6.0.0

Major Changes

Patch Changes

  • Updated dependencies

5.0.3

Patch Changes

5.0.2

Patch Changes

5.0.1

Patch Changes

5.0.0

Major Changes

  • [major]f9b5e24662:

    @atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide static typing. Flow types are no longer provided. No API or bahavioural changes.

4.0.10

Patch Changes

  • [patch]4dd459fc56:

    Dependency 'uuid' is unused in package.jon.

4.0.9

Patch Changes

  • [patch]097b696613:

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

4.0.8

Patch Changes

4.0.7

Patch Changes

  • [patch]708028db86:

    Change all the imports to theme in Core to use multi entry points

4.0.6

Patch Changes

  • [patch]de35ce8c67:

    Updates component maintainers

4.0.5

Patch Changes

  • [patch]9885da7ac4:

    Adding missing Atlassian / ADG License.

4.0.4

Patch Changes

  • [patch]4615439434:

    index.ts will now be ignored when publishing to npm

4.0.3

4.0.2

  • [patch]b0ef06c685:

    • This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details

4.0.1

4.0.0

  • [major]7c17b35107:

    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

3.0.8

3.0.7

3.0.6

  • [patch]98e11001ff:

    • Removes duplicate babel-runtime dependency

3.0.5

3.0.4

3.0.3

  • [patch]1d1f6d1:

    • Make icon glyphs not import metadata

3.0.2

3.0.1

3.0.0

  • [major]ab9b69c:

    • Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a Button or a Link component.

2.0.1

2.0.0

  • [patch]29b160f:

    • Simplify the icons build process

    Icons no longer need a custom build step to be accurate on npm. This has come about by renaming the es5 folder to cjs. If you weren't reaching into our package's internals, you shouldn't notice.

  • [major]80304f0:

    NOTE Unless you are using the iconsInfo export, this change is not breaking.

    • Rename iconsInfo to metadata to more accurately reflect its role

    This change comes with rethinking what is exported from this object, which no longer includes copies of the icons. If you need to rely on the metadata to get the packages, each should be required by your own code.

    The icon-explorer has an example of how to do this.

  • Updated dependencies b29bec1:

1.0.4

  • [patch] Update to use babel-7 for build processes e7bb74d

1.0.3

  • [patch] Adds missing implicit @babel/runtime dependency b71751b

1.0.2

  • [patch] Publish utils folder 272208b

1.0.1

  • [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist 0823d35

1.0.0

  • [major] Release icon-object and icon-file-type 709b239