@utrecht/component-library-css 4.1.0 → 5.0.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/README.md +8 -0
- package/dist/html.css +17 -520
- package/dist/index.css +144 -1924
- package/dist/prince-xml.css +8539 -0
- package/package.json +7 -2
- package/CHANGELOG.md +0 -72
- package/dist/html.js +0 -1
- package/dist/index.js +0 -1
- package/html-component.md +0 -25
- package/project.json +0 -18
- package/rollup.config.mjs +0 -37
- package/src/html.scss +0 -8
- package/src/index.scss +0 -19
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "5.0.0",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
6
6
|
"name": "@utrecht/component-library-css",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/*.css"
|
|
9
|
+
],
|
|
7
10
|
"keywords": [
|
|
8
11
|
"nl-design-system"
|
|
9
12
|
],
|
|
@@ -17,11 +20,13 @@
|
|
|
17
20
|
"directory": "packages/component-library-css"
|
|
18
21
|
},
|
|
19
22
|
"devDependencies": {
|
|
23
|
+
"postcss": "8.4.38",
|
|
20
24
|
"postcss-discard-duplicates": "7.0.0",
|
|
25
|
+
"postcss-logical": "7.0.1",
|
|
21
26
|
"rimraf": "5.0.7",
|
|
22
27
|
"rollup": "4.18.0",
|
|
23
28
|
"rollup-plugin-postcss": "4.0.2",
|
|
24
|
-
"@utrecht/components": "
|
|
29
|
+
"@utrecht/components": "7.0.0",
|
|
25
30
|
"@utrecht/html-content-css": "1.1.0"
|
|
26
31
|
},
|
|
27
32
|
"main": "dist/index.css",
|
package/CHANGELOG.md
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# @utrecht/component-library-css
|
|
2
|
-
|
|
3
|
-
## 4.1.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- c5a7e71: Add margin tokens to the Accordion component:
|
|
8
|
-
|
|
9
|
-
- `utrecht.accordion.margin-block-end`
|
|
10
|
-
- `utrecht.accordion.margin-block-start`
|
|
11
|
-
|
|
12
|
-
## 4.0.0
|
|
13
|
-
|
|
14
|
-
### Major Changes
|
|
15
|
-
|
|
16
|
-
- 14c8559: Replace `utrecht.link-list.item.margin-block-start` design token with `utrecht.link-list.row-gap`.
|
|
17
|
-
- bd0514c: Rename tokens in the Link list component, because they should be on `link` instead of on `item`. "Item" currently only exists in CSS, but is not necessary to build the Link list in Figma.
|
|
18
|
-
|
|
19
|
-
- Rename `utrecht.link-list.item.font-weight` to `utrecht.link-list.link.font-weight`.
|
|
20
|
-
- Rename `utrecht.link-list.item.column-gap` to `utrecht.link-list.link.column-gap`.
|
|
21
|
-
|
|
22
|
-
### Minor Changes
|
|
23
|
-
|
|
24
|
-
- e2b188d: Add design token to Link list component: `utrecht.link-list.link.text-decoration`, so you can enable or disable the underline. By default the links have no underline.
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- 0e2e4da: Fix rendering of the checkbox component in the combined indeterminate and checked state, to have an indeterminate icon instead of a checked icon.'
|
|
29
|
-
|
|
30
|
-
## 3.2.0
|
|
31
|
-
|
|
32
|
-
### Minor Changes
|
|
33
|
-
|
|
34
|
-
- 8d8babe: Add 5 missing CSS components to CSS component library bundle.
|
|
35
|
-
|
|
36
|
-
- `utrecht-combobox`
|
|
37
|
-
- `utrecht-currency-data`
|
|
38
|
-
- `utrecht-data-placeholder`
|
|
39
|
-
- `utrecht-listbox`
|
|
40
|
-
- `utrecht-logo-image`
|
|
41
|
-
- `utrecht-preserve-data`
|
|
42
|
-
|
|
43
|
-
## 3.1.0
|
|
44
|
-
|
|
45
|
-
### Minor Changes
|
|
46
|
-
|
|
47
|
-
- f9c23c6: Add `utrecht-accordion__button--utrecht` class name.
|
|
48
|
-
Add `utrecht-accordion__button-icon` class name.
|
|
49
|
-
- f9c23c6: Add `utrecht.accordion.button.icon.gap` design token.
|
|
50
|
-
|
|
51
|
-
## 3.0.0
|
|
52
|
-
|
|
53
|
-
### Major Changes
|
|
54
|
-
|
|
55
|
-
- af24025682: rename `utrecht-button-group--vertical` mixin and class name to `utrecht-button-group--column`'
|
|
56
|
-
|
|
57
|
-
### Patch Changes
|
|
58
|
-
|
|
59
|
-
- af24025682: inline button link component no longer automatically stretches to match size of button group
|
|
60
|
-
|
|
61
|
-
## 1.0.1
|
|
62
|
-
|
|
63
|
-
### Patch Changes
|
|
64
|
-
|
|
65
|
-
- 0e434e0a19: fix rendering glitch in Firefox when hovering over a button
|
|
66
|
-
|
|
67
|
-
## 1.0.0
|
|
68
|
-
|
|
69
|
-
### Patch Changes
|
|
70
|
-
|
|
71
|
-
- c7cae76a0d: allow word wrap for URL data, so it is fully readable in print and on screen
|
|
72
|
-
- 28a3ef848a: Support rendering of `<select>` element with multiple attribute.
|
package/dist/html.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var undefined$1 = undefined;export{undefined$1 as default};
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var undefined$1 = undefined;export{undefined$1 as default};
|
package/html-component.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<!-- @license CC0-1.0 -->
|
|
2
|
-
|
|
3
|
-
# HTML Components
|
|
4
|
-
|
|
5
|
-
HTML components contain a small subset of the CSS components, for components that occur in regular HTML pages with semantic HTML. You can apply the `utrecht-html` class name to your page, and any semantic HTML will be styled automatically. This can be helpful to style HTML content from a CMS, for example.
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
npm install --save-dev --save-exact @utrecht/component-library-css
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Include the CSS in your HTML page like so:
|
|
12
|
-
|
|
13
|
-
```html
|
|
14
|
-
<!DOCTYPE html>
|
|
15
|
-
<html lang="en" class="utrecht-html">
|
|
16
|
-
<head>
|
|
17
|
-
<title>Example page</title>
|
|
18
|
-
<link rel="stylesheet" href="node_modules/@utrecht/component-library-css/dist/html.css" />
|
|
19
|
-
</head>
|
|
20
|
-
<body>
|
|
21
|
-
<h1>Home</h1>
|
|
22
|
-
<p>Hello, world!</p>
|
|
23
|
-
</body>
|
|
24
|
-
</html>
|
|
25
|
-
```
|
package/project.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
3
|
-
"root": "{workspaceRoot}/packages/component-library-css",
|
|
4
|
-
"sourceRoot": "{projectRoot}",
|
|
5
|
-
"projectType": "library",
|
|
6
|
-
"targets": {
|
|
7
|
-
"build": {
|
|
8
|
-
"executor": "@nrwl/workspace:run-commands",
|
|
9
|
-
"outputs": ["{projectRoot}/dist"],
|
|
10
|
-
"options": {
|
|
11
|
-
"command": "npm run build",
|
|
12
|
-
"cwd": "packages/component-library-css",
|
|
13
|
-
"outputPath": "packages/component-library-css/dist"
|
|
14
|
-
},
|
|
15
|
-
"dependsOn": ["^build"]
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
package/rollup.config.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import postcss from 'rollup-plugin-postcss';
|
|
2
|
-
import discardDuplicates from 'postcss-discard-duplicates';
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
{
|
|
6
|
-
input: 'src/index.scss',
|
|
7
|
-
output: {
|
|
8
|
-
dir: './dist',
|
|
9
|
-
sourcemap: false,
|
|
10
|
-
format: 'esm',
|
|
11
|
-
compact: true,
|
|
12
|
-
},
|
|
13
|
-
plugins: [
|
|
14
|
-
postcss({
|
|
15
|
-
extensions: ['.css', '.scss'],
|
|
16
|
-
plugins: [discardDuplicates()],
|
|
17
|
-
extract: true,
|
|
18
|
-
}),
|
|
19
|
-
],
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
input: 'src/html.scss',
|
|
23
|
-
output: {
|
|
24
|
-
dir: './dist',
|
|
25
|
-
sourcemap: false,
|
|
26
|
-
format: 'esm',
|
|
27
|
-
compact: true,
|
|
28
|
-
},
|
|
29
|
-
plugins: [
|
|
30
|
-
postcss({
|
|
31
|
-
extensions: ['.css', '.scss'],
|
|
32
|
-
plugins: [discardDuplicates()],
|
|
33
|
-
extract: true,
|
|
34
|
-
}),
|
|
35
|
-
],
|
|
36
|
-
},
|
|
37
|
-
];
|
package/src/html.scss
DELETED
package/src/index.scss
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/* Collection of all BEM class names in the component library */
|
|
7
|
-
|
|
8
|
-
/*
|
|
9
|
-
* TODO: Once every component is a separate npm package, these imports should
|
|
10
|
-
* be updated to use a package reference instead of a relative path.
|
|
11
|
-
*
|
|
12
|
-
* For example:
|
|
13
|
-
* @import "../../blockquote/index";
|
|
14
|
-
*
|
|
15
|
-
* Will become:
|
|
16
|
-
* @import "@utrecht/blockquote/index";
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
@import "~@utrecht/components/index";
|