@amsterdam/design-system-assets 0.2.1 → 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 +6 -3
- package/README.md +58 -4
- package/icons/Radio.svg +1 -0
- package/package.json +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,8 +3,13 @@
|
|
|
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.
|
|
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
|
|
7
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)
|
|
8
13
|
|
|
9
14
|
### Features
|
|
10
15
|
|
|
@@ -12,7 +17,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
12
17
|
|
|
13
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)
|
|
14
19
|
|
|
15
|
-
|
|
16
20
|
### ⚠ BREAKING CHANGES
|
|
17
21
|
|
|
18
22
|
* Shorten namespaces in theme and tokens ([#1125](https://github.com/Amsterdam/design-system/issues/1125))
|
|
@@ -23,7 +27,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
23
27
|
|
|
24
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)
|
|
25
29
|
|
|
26
|
-
|
|
27
30
|
### Features
|
|
28
31
|
|
|
29
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,9 +1,63 @@
|
|
|
1
1
|
<!-- @license CC0-1.0 -->
|
|
2
2
|
|
|
3
|
-
# Assets
|
|
3
|
+
# Amsterdam Design System: Assets
|
|
4
4
|
|
|
5
|
-
|
|
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.
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
+
## Installation
|
|
8
9
|
|
|
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).
|
package/icons/Radio.svg
ADDED
|
@@ -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>
|
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.2.
|
|
3
|
-
"author": "
|
|
4
|
-
"description": "
|
|
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,
|