@utrecht/digid-button-css 1.2.0 → 1.4.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
@@ -1,5 +1,17 @@
1
1
  # @utrecht/digid-button-css
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 725617a: Add `tokens.mjs` and `tokens.d.mts` files to CSS packages.
8
+
9
+ ## 1.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - e497b08: Export CSS string as default export in `dist/index.mjs`.
14
+
3
15
  ## 1.2.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.css CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
4
5
  */
5
6
  .utrecht-digid-button {
6
7
  --utrecht-button-min-block-size: var(--utrecht-digid-button-block-size, 44px);
@@ -0,0 +1 @@
1
+ .utrecht-digid-button{--utrecht-button-min-block-size:var(--utrecht-digid-button-block-size,44px);--utrecht-logo-max-block-size:var(--utrecht-digid-button-block-size,50px);--utrecht-logo-max-inline-size:var(--utrecht-digid-button-block-size,50px);block-size:var(--utrecht-digid-button-block-size,50px);display:inline-flex;gap:var(--utrecht-space-inline-sm)}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export default ".utrecht-digid-button{--utrecht-button-min-block-size:var(--utrecht-digid-button-block-size,44px);--utrecht-logo-max-block-size:var(--utrecht-digid-button-block-size,50px);--utrecht-logo-max-inline-size:var(--utrecht-digid-button-block-size,50px);block-size:var(--utrecht-digid-button-block-size,50px);display:inline-flex;gap:var(--utrecht-space-inline-sm)}";
@@ -0,0 +1,2 @@
1
+ declare const css: string;
2
+ export default css;
@@ -0,0 +1,4 @@
1
+
2
+ declare const tokens: any;
3
+
4
+ export default tokens;
@@ -0,0 +1,16 @@
1
+ export default {
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
+ };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0",
2
+ "version": "1.4.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",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "main": "dist/index.css",
14
14
  "devDependencies": {
15
- "rollup": "4.18.0"
15
+ "@utrecht/build-utils-css": "0.0.1"
16
16
  },
17
17
  "keywords": [
18
18
  "nl-design-system"
@@ -26,7 +26,7 @@
26
26
  "directory": "components/digid-button"
27
27
  },
28
28
  "scripts": {
29
- "build": "rollup -c ../rollup.config.mjs",
29
+ "build": "build-css-package",
30
30
  "clean": "rimraf dist"
31
31
  }
32
32
  }
package/src/index.scss CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
4
5
  */
5
6
 
6
7
  .utrecht-digid-button {
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- var undefined$1 = undefined;export{undefined$1 as default};