@utrecht/digid-button-css 1.0.0 → 1.2.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 ADDED
@@ -0,0 +1,23 @@
1
+ # @utrecht/digid-button-css
2
+
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 708a0f9: Added metadata for digid-button tokens.
8
+
9
+ ### Patch Changes
10
+
11
+ - 4b8969f: Changed min block size value from 50 to 44px.
12
+
13
+ ## 1.1.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 62f1157: Add SCSS files to `src/` directory of CSS component packages.
18
+
19
+ ## 1.0.0
20
+
21
+ ### Major Changes
22
+
23
+ - 856d996: Switch from alpha releases to semantic versioning.
package/dist/index.css ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ .utrecht-digid-button {
6
+ --utrecht-button-min-block-size: var(--utrecht-digid-button-block-size, 44px);
7
+ --utrecht-logo-max-block-size: var(--utrecht-digid-button-block-size, 50px);
8
+ --utrecht-logo-max-inline-size: var(--utrecht-digid-button-block-size, 50px);
9
+ block-size: var(--utrecht-digid-button-block-size, 50px);
10
+ display: inline-flex;
11
+ gap: var(--utrecht-space-inline-sm);
12
+ }
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ var undefined$1 = undefined;export{undefined$1 as default};
package/package.json CHANGED
@@ -1,18 +1,32 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.2.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "DigiD button component for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
6
6
  "name": "@utrecht/digid-button-css",
7
7
  "files": [
8
- "dist/"
8
+ "dist/",
9
+ "docs/",
10
+ "src/",
11
+ "*.md"
9
12
  ],
10
- "devDependencies": {},
13
+ "main": "dist/index.css",
14
+ "devDependencies": {
15
+ "rollup": "4.18.0"
16
+ },
11
17
  "keywords": [
12
18
  "nl-design-system"
13
19
  ],
14
20
  "publishConfig": {
15
21
  "access": "public"
16
22
  },
17
- "scripts": {}
23
+ "repository": {
24
+ "type": "git+ssh",
25
+ "url": "git@github.com:nl-design-system/utrecht.git",
26
+ "directory": "components/digid-button"
27
+ },
28
+ "scripts": {
29
+ "build": "rollup -c ../rollup.config.mjs",
30
+ "clean": "rimraf dist"
31
+ }
18
32
  }
package/src/index.scss ADDED
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ .utrecht-digid-button {
7
+ --utrecht-button-min-block-size: var(--utrecht-digid-button-block-size, 44px);
8
+ --utrecht-logo-max-block-size: var(--utrecht-digid-button-block-size, 50px);
9
+ --utrecht-logo-max-inline-size: var(--utrecht-digid-button-block-size, 50px);
10
+
11
+ block-size: var(--utrecht-digid-button-block-size, 50px);
12
+ display: inline-flex;
13
+ gap: var(--utrecht-space-inline-sm);
14
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "utrecht": {
3
+ "digid-button": {
4
+ "block-size": {
5
+ "$extensions": {
6
+ "nl.nldesignsystem.css.property": {
7
+ "syntax": "<length>",
8
+ "inherits": true
9
+ },
10
+ "nl.nldesignsystem.figma.supports-token": false
11
+ },
12
+ "type": "sizing"
13
+ }
14
+ }
15
+ }
16
+ }