@commercetools-frontend/assets 20.12.3 → 21.8.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @commercetools-frontend/assets
2
2
 
3
+ ## 21.8.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2661](https://github.com/commercetools/merchant-center-application-kit/pull/2661) [`43a9df21`](https://github.com/commercetools/merchant-center-application-kit/commit/43a9df2193000b49a0299c02d5218c50d71567ed) Thanks [@emmenko](https://github.com/emmenko)! - Drop the copyright year from the license files
8
+
9
+ * [#2613](https://github.com/commercetools/merchant-center-application-kit/pull/2613) [`20e648d2`](https://github.com/commercetools/merchant-center-application-kit/commit/20e648d2d69ac9b909ae90946c4fe2274cdf7332) Thanks [@emmenko](https://github.com/emmenko)! - Convert entry point to typescript
10
+
11
+ ## 21.0.0
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2430](https://github.com/commercetools/merchant-center-application-kit/pull/2430) [`bb1f7d75`](https://github.com/commercetools/merchant-center-application-kit/commit/bb1f7d75ff54f7fef05c4d2b3328b88e400b4867) Thanks [@emmenko](https://github.com/emmenko)! - Update readme
16
+
17
+ ## 21.0.0-rc.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [#2430](https://github.com/commercetools/merchant-center-application-kit/pull/2430) [`1bee4f25`](https://github.com/commercetools/merchant-center-application-kit/commit/1bee4f25043af3e6408f624fa3e632bd7e39a587) Thanks [@emmenko](https://github.com/emmenko)! - Update readme
22
+
3
23
  ## 20.12.3
4
24
 
5
25
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 commercetools GmbH
3
+ Copyright (c) commercetools GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -4,9 +4,17 @@
4
4
  <a href="https://www.npmjs.com/package/@commercetools-frontend/assets"><img src="https://badgen.net/npm/v/@commercetools-frontend/assets" alt="Latest release (latest dist-tag)" /></a> <a href="https://www.npmjs.com/package/@commercetools-frontend/assets"><img src="https://badgen.net/npm/v/@commercetools-frontend/assets/next" alt="Latest release (next dist-tag)" /></a> <a href="https://bundlephobia.com/result?p=@commercetools-frontend/assets"><img src="https://badgen.net/bundlephobia/minzip/@commercetools-frontend/assets" alt="Minified + GZipped size" /></a> <a href="https://github.com/commercetools/merchant-center-application-kit/blob/main/LICENSE"><img src="https://badgen.net/github/license/commercetools/merchant-center-application-kit" alt="GitHub license" /></a>
5
5
  </p>
6
6
 
7
- This package contains image assets that can be used in the creation of Merchant Center applications. These are used within the package `application-shell`. The images can be used directly, from the `images` folder.
7
+ This package contains various assets that can be used in Merchant Center Custom Applications.
8
8
 
9
- ## Usage
9
+ ## Install
10
+
11
+ ```bash
12
+ $ npm install --save @commercetools-frontend/assets
13
+ ```
14
+
15
+ ## Using SVG images
16
+
17
+ The `images` folder contains SVG images to be imported and used as `<img src>` URLs.
10
18
 
11
19
  ```js
12
20
  import React from 'react';
@@ -19,9 +27,3 @@ const Component = () => (
19
27
  </div>
20
28
  );
21
29
  ```
22
-
23
- ## Install
24
-
25
- ```bash
26
- $ npm install --save @commercetools-frontend/assets
27
- ```
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const packageLocation: string;
2
+ export { packageLocation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/assets",
3
- "version": "20.12.3",
3
+ "version": "21.8.0",
4
4
  "description": "Assets for building mc apps",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {