@utrecht/digid-button-css 1.0.0 → 1.1.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/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, 50px);
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,25 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.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
+ "src/"
9
10
  ],
10
- "devDependencies": {},
11
+ "main": "dist/index.css",
12
+ "devDependencies": {
13
+ "rollup": "3.29.4"
14
+ },
11
15
  "keywords": [
12
16
  "nl-design-system"
13
17
  ],
14
18
  "publishConfig": {
15
19
  "access": "public"
16
20
  },
17
- "scripts": {}
21
+ "scripts": {
22
+ "build": "rollup -c ../rollup.config.mjs",
23
+ "clean": "rimraf dist"
24
+ }
18
25
  }
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, 50px);
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,14 @@
1
+ {
2
+ "utrecht": {
3
+ "digid-button": {
4
+ "block-size": {
5
+ "$extensions": {
6
+ "nl.nldesignsystem.css.property": {
7
+ "syntax": "<length>",
8
+ "inherits": true
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }
14
+ }