@utrecht/heading-3-css 1.1.0 → 1.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 ADDED
@@ -0,0 +1,25 @@
1
+ # @utrecht/heading-3-css
2
+
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e497b08: Export CSS string as default export in `dist/index.mjs`.
8
+
9
+ ## 1.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - c022510: Added metadata for heading 1 to 6 tokens.
14
+
15
+ ## 1.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 62f1157: Add SCSS files to `src/` directory of CSS component packages.
20
+
21
+ ## 1.0.0
22
+
23
+ ### Major Changes
24
+
25
+ - 856d996: Switch from alpha releases to semantic versioning.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
1
  <!-- @license CC0-1.0 -->
2
2
 
3
3
  # Heading 3
4
+
5
+ Koptekst die in de koppenstructuur op het derde niveau staat.
package/dist/index.css CHANGED
@@ -1,21 +1,12 @@
1
1
  /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2021 Gemeente Utrecht
4
- * Copyright (c) 2021 Robbert Broersma
5
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
6
- */
7
- /**
8
- * @license EUPL-1.2
9
- * Copyright (c) 2021 Gemeente Utrecht
10
- * Copyright (c) 2021 Robbert Broersma
11
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
12
- */
13
- /**
14
- * @license EUPL-1.2
15
- * Copyright (c) 2021-2022 Frameless B.V.
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
16
5
  */
6
+
17
7
  .utrecht-heading-3 {
18
8
  break-inside: avoid-column;
9
+ page-break-after: avoid;
19
10
  page-break-inside: avoid;
20
11
  color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
21
12
  font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
@@ -0,0 +1 @@
1
+ .utrecht-heading-3{break-inside:avoid-column;color:var(--utrecht-heading-3-color,var(--utrecht-heading-color,var(--utrecht-document-color,inherit)));font-family:var(--utrecht-heading-3-font-family,var(--utrecht-heading-font-family,var(--utrecht-document-font-family)));font-size:var(--utrecht-heading-3-font-size,revert);font-weight:var(--utrecht-heading-3-font-weight,var(--utrecht-heading-font-weight,bold));line-height:var(--utrecht-heading-3-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-heading-3-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-heading-3-margin-block-start, 0));page-break-after:avoid;page-break-inside:avoid}.utrecht-heading-3--distanced{--utrecht-space-around:1}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export default ".utrecht-heading-3{break-inside:avoid-column;color:var(--utrecht-heading-3-color,var(--utrecht-heading-color,var(--utrecht-document-color,inherit)));font-family:var(--utrecht-heading-3-font-family,var(--utrecht-heading-font-family,var(--utrecht-document-font-family)));font-size:var(--utrecht-heading-3-font-size,revert);font-weight:var(--utrecht-heading-3-font-weight,var(--utrecht-heading-font-weight,bold));line-height:var(--utrecht-heading-3-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-heading-3-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-heading-3-margin-block-start, 0));page-break-after:avoid;page-break-inside:avoid}.utrecht-heading-3--distanced{--utrecht-space-around:1}";
@@ -0,0 +1,2 @@
1
+ declare const css: string;
2
+ export default css;
@@ -0,0 +1,11 @@
1
+ <!-- @license CC0-1.0 -->
2
+
3
+ # PDF
4
+
5
+ Heading 3 moet gemaakt zijn met de `<H3>` tag.
6
+
7
+ ```text
8
+ <H3> {
9
+ "Koptekst"
10
+ }
11
+ ```
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.3.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Heading 3 component for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
6
6
  "name": "@utrecht/heading-3-css",
7
7
  "files": [
8
8
  "dist/",
9
- "src/"
9
+ "docs/",
10
+ "src/",
11
+ "*.md"
10
12
  ],
11
13
  "main": "dist/index.css",
12
14
  "devDependencies": {
13
- "rollup": "3.29.4",
14
- "@utrecht/heading-css": "1.1.0"
15
+ "@utrecht/heading-css": "1.3.0",
16
+ "@utrecht/build-utils-css": "0.0.1"
15
17
  },
16
18
  "keywords": [
17
19
  "nl-design-system"
@@ -19,8 +21,13 @@
19
21
  "publishConfig": {
20
22
  "access": "public"
21
23
  },
24
+ "repository": {
25
+ "type": "git+ssh",
26
+ "url": "git@github.com:nl-design-system/utrecht.git",
27
+ "directory": "components/heading-3"
28
+ },
22
29
  "scripts": {
23
- "build": "rollup -c ../rollup.config.mjs",
30
+ "build": "build-css-package",
24
31
  "clean": "rimraf dist"
25
32
  }
26
33
  }
package/src/_mixin.scss CHANGED
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2021 Gemeente Utrecht
4
- * Copyright (c) 2021 Robbert Broersma
5
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
6
5
  */
7
6
 
8
7
  @import "~@utrecht/heading-css/src/mixin";
@@ -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
  @import "../mixin";
@@ -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
  @import "./mixin";
package/src/index.scss CHANGED
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2021 Gemeente Utrecht
4
- * Copyright (c) 2021 Robbert Broersma
5
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
6
5
  */
7
6
 
8
7
  @import "./mixin";
@@ -1,7 +1,7 @@
1
- /*
1
+ /**
2
2
  * @license EUPL-1.2
3
- * Copyright (c) 2020-2022 Gemeente Utrecht
4
- * Copyright (c) 2020-2022 Frameless B.V.
3
+ * Copyright (c) 2020-2024 Frameless B.V.
4
+ * Copyright (c) 2021-2024 Gemeente Utrecht
5
5
  */
6
6
 
7
7
  import clsx from 'clsx';
package/src/tokens.json CHANGED
@@ -7,7 +7,8 @@
7
7
  "syntax": "<color>",
8
8
  "inherits": true
9
9
  },
10
- "nl.nldesignsystem.fallback": ["utrecht.heading.color", "utrecht.document.color"]
10
+ "nl.nldesignsystem.fallback": ["utrecht.heading.color", "utrecht.document.color"],
11
+ "nl.nldesignsystem.figma.supports-token": true
11
12
  },
12
13
  "type": "color"
13
14
  },
@@ -17,7 +18,8 @@
17
18
  "syntax": "*",
18
19
  "inherits": true
19
20
  },
20
- "nl.nldesignsystem.fallback": ["utrecht.heading.font-family", "utrecht.document.font-family"]
21
+ "nl.nldesignsystem.fallback": ["utrecht.heading.font-family", "utrecht.document.font-family"],
22
+ "nl.nldesignsystem.figma.supports-token": true
21
23
  },
22
24
  "type": "fontFamilies"
23
25
  },
@@ -26,7 +28,8 @@
26
28
  "nl.nldesignsystem.css.property": {
27
29
  "syntax": "<length>",
28
30
  "inherits": true
29
- }
31
+ },
32
+ "nl.nldesignsystem.figma.supports-token": true
30
33
  },
31
34
  "type": "fontSizes"
32
35
  },
@@ -36,16 +39,18 @@
36
39
  "syntax": "<number>",
37
40
  "inherits": true
38
41
  },
39
- "nl.nldesignsystem.fallback": ["utrecht.heading.font-weight"]
42
+ "nl.nldesignsystem.fallback": ["utrecht.heading.font-weight"],
43
+ "nl.nldesignsystem.figma.supports-token": true
40
44
  },
41
45
  "type": "fontWeights"
42
46
  },
43
47
  "line-height": {
44
48
  "$extensions": {
45
49
  "nl.nldesignsystem.css.property": {
46
- "syntax": "<length>",
50
+ "syntax": ["<length>", "<number>"],
47
51
  "inherits": true
48
- }
52
+ },
53
+ "nl.nldesignsystem.figma.supports-token": true
49
54
  },
50
55
  "type": "lineHeights"
51
56
  },
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- var undefined$1 = undefined;export{undefined$1 as default};