@amsterdam/design-system-assets 0.2.2 → 0.3.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
@@ -3,6 +3,17 @@
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.3.0](https://github.com/Amsterdam/design-system/compare/design-system-assets-v0.2.2...design-system-assets-v0.3.0) (2025-01-10)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * Delete Radio icon from assets ([#1696](https://github.com/Amsterdam/design-system/issues/1696))
11
+
12
+ ### Features
13
+
14
+ * Make border of Radio thicker when hovering ([#1696](https://github.com/Amsterdam/design-system/issues/1696)) ([8839012](https://github.com/Amsterdam/design-system/commit/88390124aa5197f6c784dae4fc2a7c3e18d75ca6))
15
+ * Change SVGO config ([#1671](https://github.com/Amsterdam/design-system/issues/1671)) ([7b79ade](https://github.com/Amsterdam/design-system/commit/7b79adef8b2ff7977e5af7cc6f329191f1dfff3f))
16
+
6
17
  ## [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
18
 
8
19
  ### Features
@@ -0,0 +1,18 @@
1
+ <!-- @license CC0-1.0 -->
2
+
3
+ # Contributing Guidelines
4
+
5
+ ## Importing icons from Figma
6
+
7
+ We create and update icons in Figma, then import them into this package for distribution.
8
+
9
+ **Important**: Only export icons from Figma for use in this package. Do not use these icons directly in an application.
10
+
11
+ To export all icons from [the Figma file](https://www.figma.com/design/9IGm6IdPUYizBNGsUnueBd/Amsterdam-Design-System?node-id=6852-5124), use Figma's built-in SVG export feature.
12
+ Select the frame containing all the icon shapes, press `Enter` to select direct children and then press `Enter` again to select all icon components.
13
+ In the right-hand sidebar, click the plus sign next to Export. Choose SVG and export.
14
+ Copy these files over to the `icons` folder and run the following command to optimize them:
15
+
16
+ ```sh
17
+ npm run optimize-icons
18
+ ```
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.2",
2
+ "version": "0.3.0",
3
3
  "author": "Design System Team, City of Amsterdam <designsystem@amsterdam.nl>",
4
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
5
  "homepage": "https://designsystem.amsterdam/",
package/svgo.config.js ADDED
@@ -0,0 +1,13 @@
1
+ /* eslint-disable no-undef */
2
+ module.exports = {
3
+ plugins: [
4
+ 'removeDimensions',
5
+ 'removeUselessStrokeAndFill',
6
+ {
7
+ name: 'removeAttrs',
8
+ params: {
9
+ attrs: '(fill|stroke)',
10
+ },
11
+ },
12
+ ],
13
+ }
package/icons/Radio.svg DELETED
@@ -1 +0,0 @@
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>