@amsterdam/design-system-assets 0.2.0 → 0.2.2

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
@@ -3,8 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.2.0](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.1.8...design-system-assets-v0.2.0) (2024-03-12)
6
+ ## [0.2.2](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.2.1...design-system-assets-v0.2.2) (2024-10-25)
7
+
8
+ ### Features
9
+
10
+ * Use inline SVG icon for Radio button ([#1460](https://github.com/Amsterdam/design-system/issues/1460)) ([c19055b](https://github.com/Amsterdam/design-system/commit/c19055bd6453ce40ca43b31d599f14ec65d6037a))
11
+
12
+ ## [0.2.1](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.2.0...design-system-assets-v0.2.1) (2024-06-05)
7
13
 
14
+ ### Features
15
+
16
+ * favicon, app icons and optional Web Manifest ([#1205](https://github.com/Amsterdam/design-system/issues/1205)) ([5513961](https://github.com/Amsterdam/design-system/commit/55139617966514207402f791a5b4e9778d059946))
17
+
18
+ ## [0.2.0](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.1.8...design-system-assets-v0.2.0) (2024-03-12)
8
19
 
9
20
  ### ⚠ BREAKING CHANGES
10
21
 
@@ -16,7 +27,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
16
27
 
17
28
  ## [0.1.8](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.1.7...design-system-assets-v0.1.8) (2024-03-08)
18
29
 
19
-
20
30
  ### Features
21
31
 
22
32
  * Logo Museum Weesp ([#1088](https://github.com/Amsterdam/design-system/issues/1088)) ([da1b780](https://github.com/Amsterdam/design-system/commit/da1b7808b5bcf17acb93fe46531a9722814e9256))
package/README.md CHANGED
@@ -1,5 +1,63 @@
1
1
  <!-- @license CC0-1.0 -->
2
2
 
3
- # Assets
3
+ # Amsterdam Design System: Assets
4
4
 
5
- Assets for the City of Amsterdam
5
+ This package provides all assets from the [Amsterdam Design System](https://designsystem.amsterdam).
6
+ Use it to include the correct fonts, icons or logos in your website or application.
7
+
8
+ ## Installation
9
+
10
+ Install this package by itself if you want or need to reference assets directly in your project.
11
+
12
+ Note that our [React components](https://www.npmjs.com/package/@amsterdam/design-system-react) provide more functionality for some of the assets and use them automatically.
13
+ You should use that package if your application uses React.
14
+
15
+ ```sh
16
+ npm install @amsterdam/design-system-assets
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ### Application icons
22
+
23
+ The Design System handbook helps using [a favicon](https://designsystem.amsterdam/?path=/docs/brand-assets-favicon--docs) or [a web manifest and application icons](https://designsystem.amsterdam/?path=/docs/docs-developer-guide-web-app--docs) for home screens of devices in your website or application.
24
+
25
+ ### Font files
26
+
27
+ The package contains our Amsterdam Sans font in OpenType format (.otf) and Web Open Format Font (.woff).
28
+ Import our stylesheet to make all of them available to your project.
29
+
30
+ <!-- prettier-ignore -->
31
+ ```ts
32
+ import "@amsterdam/design-system-assets/font/index.css"
33
+ ```
34
+
35
+ The Design System Handbook offers [more guidance in using the font](https://designsystem.amsterdam/?path=/docs/brand-assets-font--docs).
36
+
37
+ Note that the font is proprietary. Using it requires [a license](https://designsystem.amsterdam/?path=/docs/docs-terms-of-use-copyright--docs).
38
+
39
+ ### Icons
40
+
41
+ The Design System Handbook offers an [overview of our icon library](https://designsystem.amsterdam/?path=/docs/brand-assets-icons--docs).
42
+
43
+ You can import the SVG files to use icons in your website or application.
44
+
45
+ In a React project, use the [Icon component](https://designsystem.amsterdam/?path=/docs/components-media-icon--docs) instead.
46
+ It offers a convenient API for using the icons and streamlines alignment with text.
47
+
48
+ ### Logos
49
+
50
+ The logo of the City of Amsterdam is available as an SVG image, as well as logos for various departments and services.
51
+
52
+ In a React project, use the [Logo component](https://designsystem.amsterdam/?path=/docs/components-media-logo--docs) instead.
53
+
54
+ ## Updating
55
+
56
+ We follow semantic versioning and publish a [change log](https://github.com/Amsterdam/design-system/blob/main/proprietary/assets/CHANGELOG.md) to guide you through updates.
57
+ The assets are a public API of the design system.
58
+ Note that detecting changed or deleted assets is still a manual process.
59
+
60
+ ## Support
61
+
62
+ Contact us if you have a question, find an issue, or want to contribute.
63
+ Find ways to reach us on [designsystem.amsterdam](https://designsystem.amsterdam/?path=/docs/docs-introduction--docs#send-a-message).
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none"><g clip-path="url(#a)" transform="translate(0 -.64)"><path fill="#fff" d="M64 .64H0v64h64z"/><path fill="#ec0000" d="m24.22 54.47 4.36-4.36-4.36-4.36 2.91-2.91 4.36 4.36 4.36-4.36 2.91 2.91-4.36 4.36 4.36 4.36-2.91 2.91-4.36-4.36-4.36 4.36zm0-17.44 4.36-4.36-4.36-4.37 2.91-2.9 4.36 4.36 4.36-4.36 2.91 2.9-4.36 4.37 4.36 4.36-2.91 2.9-4.36-4.36-4.36 4.36zm0-17.48 4.36-4.36-4.36-4.36 2.91-2.91 4.36 4.36 4.36-4.36 2.91 2.91-4.36 4.36 4.36 4.36-2.91 2.91-4.36-4.36-4.36 4.36z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'><circle class="ams-radio__circle" r='14' cx='16' cy='16' /><circle class="ams-radio__checked-indicator" r='10' cx='16' cy='16' /></svg>
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "APP_NAME_FULL",
3
+ "short_name": "APP_NAME",
4
+ "icons": [
5
+ {
6
+ "src": "app-icons/icon-192.png",
7
+ "type": "image/png",
8
+ "sizes": "192x192"
9
+ },
10
+ {
11
+ "src": "app-icons/icon-512.png",
12
+ "type": "image/png",
13
+ "sizes": "512x512"
14
+ }
15
+ ]
16
+ }
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
- "version": "0.2.0",
3
- "author": "Community for NL Design System",
4
- "description": "Assets for the City of Amsterdam",
2
+ "version": "0.2.2",
3
+ "author": "Design System Team, City of Amsterdam <designsystem@amsterdam.nl>",
4
+ "description": "All assets from the Amsterdam Design System. Use it to include the correct fonts, icons or logos in your website or application.",
5
+ "homepage": "https://designsystem.amsterdam/",
5
6
  "license": "SEE LICENSE IN LICENSE.md",
6
7
  "name": "@amsterdam/design-system-assets",
7
8
  "keywords": [
9
+ "amsterdam",
10
+ "amsterdam-design-system",
11
+ "assets",
12
+ "design-system",
8
13
  "nl-design-system"
9
14
  ],
10
15
  "private": false,
@@ -17,7 +22,7 @@
17
22
  "directory": "proprietary/assets"
18
23
  },
19
24
  "devDependencies": {
20
- "svgo": "3.2.0"
25
+ "svgo": "3.3.2"
21
26
  },
22
27
  "scripts": {
23
28
  "optimize-icons": "svgo -f icons"
package/favicon.ico DELETED
Binary file