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

Package detail

@commercetools-frontend/assets

commercetools20.9kMIT24.5.0TypeScript support: included

Assets for building mc apps

javascript, frontend, react, toolkit

readme

@commercetools-frontend/assets

Latest release (latest dist-tag) Latest release (next dist-tag) Minified + GZipped size GitHub license

This package contains various assets that can be used in Merchant Center Custom Applications.

Install

$ npm install --save @commercetools-frontend/assets

Using SVG images

The images folder contains SVG images to be imported and used as <img src> URLs.

import React from 'react';
// Import requires a bundler to deal with SVG files
import HourglassIllustration from '@commercetools-frontend/assets/images/hourglass.svg';

const Component = () => (
  <div>
    <img src={HourglassIllustration} />
  </div>
);

changelog

@commercetools-frontend/assets

24.5.0

24.4.0

24.3.0

24.2.1

24.2.0

24.1.0

24.0.0

Major Changes

  • #3687 552de5e Thanks @kark! - Upgrade UI Kit to React 19.

    From this version onwards, this is the minimum version an application using this library should be depending on.

23.4.0

23.3.0

23.2.3

23.2.2

23.2.1

23.2.0

23.1.0

23.0.0

22.42.1

22.42.0

22.41.0

22.40.0

22.39.1

22.39.0

22.38.3

22.38.2

22.38.1

22.38.0

22.37.0

22.36.0

22.35.1

22.35.0

22.34.0

22.33.0

22.32.2

22.32.1

Patch Changes

22.32.0

Minor Changes

  • #3596 6fc21a8 Thanks @jocelyn-dunkley! - Added a gradient background and smaller commercetools logo to the public-page-layout component as part of an ongoing feature effort

22.31.0

22.30.3

22.30.2

22.30.1

22.30.0

22.29.0

22.28.0

22.27.0

22.26.0

Patch Changes

22.25.1

22.25.0

Patch Changes

  • #3497 a4cfaf1 Thanks @chloe0592! - Remove the old theme from all App-Kit components and update UI-Kit dependencies to the newest version.

22.24.0

Patch Changes

22.23.3

22.23.2

22.23.1

22.23.0

22.22.0

22.21.0

Minor Changes

22.20.0

22.19.0

Patch Changes

22.18.0

22.17.2

22.17.1

Patch Changes

22.17.0

Minor Changes

22.16.0

22.15.1

22.15.0

22.14.3

22.14.2

22.14.1

22.14.0

22.13.2

22.13.1

22.13.0

22.12.0

22.11.0

22.10.0

22.9.1

22.9.0

22.8.4

22.8.3

22.8.2

22.8.1

22.8.0

Patch Changes

22.7.1

22.7.0

22.6.0

22.5.0

22.4.0

22.3.4

22.3.3

22.3.2

22.3.1

Patch Changes

22.3.0

22.2.1

22.2.0

22.1.0

Minor Changes

  • #3065 0df1cb8e1 Thanks @ddouglasz! - Users can now see a dialog on notifying them on new design release. upon closing of the information dialog notification, the message should not be seen again when the user comes back to the site.

22.0.1

22.0.0

21.25.2

21.25.1

21.25.0

21.24.3

Patch Changes

  • #3017 dbacb0541 Thanks @chloe0592! - Update illustrations. Illustrations that are being depricated - desert-fox.svg and icecream.svg.

21.24.2

21.24.1

Patch Changes

21.24.0

Patch Changes

21.23.10

21.23.9

21.23.8

21.23.7

21.23.6

21.23.5

Patch Changes

21.23.4

21.23.3

21.23.2

Patch Changes

21.23.1

Patch Changes

21.23.0

21.22.1

21.22.0

Patch Changes

21.21.2

21.21.1

21.21.0

21.20.5

21.20.4

21.20.3

21.20.2

21.20.1

21.20.0

21.19.0

21.18.1

21.18.0

21.17.0

21.16.0

21.15.0

21.14.3

21.14.2

21.14.1

21.14.0

21.13.1

Patch Changes

  • 482ad98ee Thanks @emmenko! - Nothing changed, the previous release 21.13.0 had an issue publishing to NPM so we're bumping versions to trigger a new release.

21.13.0

21.12.0

21.11.0

21.10.0

21.9.0

21.8.1

21.8.0

Patch Changes

21.0.0

Patch Changes

21.0.0-rc.1

Patch Changes

20.12.3

Patch Changes

20.12.1

Patch Changes

20.12.0

Minor Changes

  • #2416 f549637b Thanks @emmenko! - Add new SVG icons for Custom Applications. Test icon colors with VRT.

20.10.6

Patch Changes

20.10.1

Patch Changes

20.8.0

Minor Changes

18.5.4

Patch Changes

18.1.0

Patch Changes

17.3.0

Patch Changes

17.2.0

Patch Changes

16.15.3

Patch Changes

16.9.1

Patch Changes

16.8.6

Patch Changes