@utrecht/heading-3-css 1.2.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @utrecht/heading-3-css
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e497b08: Export CSS string as default export in `dist/index.mjs`.
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  ### Minor Changes
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,5 +1,5 @@
1
1
  {
2
- "version": "1.2.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",
@@ -12,8 +12,8 @@
12
12
  ],
13
13
  "main": "dist/index.css",
14
14
  "devDependencies": {
15
- "rollup": "4.18.0",
16
- "@utrecht/heading-css": "1.2.0"
15
+ "@utrecht/heading-css": "1.3.0",
16
+ "@utrecht/build-utils-css": "0.0.1"
17
17
  },
18
18
  "keywords": [
19
19
  "nl-design-system"
@@ -27,7 +27,7 @@
27
27
  "directory": "components/heading-3"
28
28
  },
29
29
  "scripts": {
30
- "build": "rollup -c ../rollup.config.mjs",
30
+ "build": "build-css-package",
31
31
  "clean": "rimraf dist"
32
32
  }
33
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/dist/index.js DELETED
@@ -1 +0,0 @@
1
- var undefined$1 = undefined;export{undefined$1 as default};