@utrecht/component-library-css 3.2.0 → 4.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/CHANGELOG.md +18 -0
- package/dist/index.css +20 -20
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @utrecht/component-library-css
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 14c8559: Replace `utrecht.link-list.item.margin-block-start` design token with `utrecht.link-list.row-gap`.
|
|
8
|
+
- 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.
|
|
9
|
+
|
|
10
|
+
- Rename `utrecht.link-list.item.font-weight` to `utrecht.link-list.link.font-weight`.
|
|
11
|
+
- Rename `utrecht.link-list.item.column-gap` to `utrecht.link-list.link.column-gap`.
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 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.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 0e2e4da: Fix rendering of the checkbox component in the combined indeterminate and checked state, to have an indeterminate icon instead of a checked icon.'
|
|
20
|
+
|
|
3
21
|
## 3.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/index.css
CHANGED
|
@@ -2553,8 +2553,9 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
2553
2553
|
border-color: var(--utrecht-checkbox-checked-border-color, var(--utrecht-checkbox-border-color));
|
|
2554
2554
|
border-width: var(--utrecht-checkbox-checked-border-width, var(--utrecht-checkbox-border-width));
|
|
2555
2555
|
}
|
|
2556
|
-
.utrecht-checkbox--custom.utrecht-checkbox--html-input:indeterminate,
|
|
2557
|
-
.utrecht-custom-checkbox--html-input:indeterminate
|
|
2556
|
+
.utrecht-checkbox--custom.utrecht-checkbox--html-input:indeterminate, .utrecht-checkbox--custom.utrecht-checkbox--html-input:checked:indeterminate,
|
|
2557
|
+
.utrecht-custom-checkbox--html-input:indeterminate,
|
|
2558
|
+
.utrecht-custom-checkbox--html-input:checked:indeterminate {
|
|
2558
2559
|
background-color: var(--utrecht-checkbox-indeterminate-background-color, var(--utrecht-checkbox-background-color));
|
|
2559
2560
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
|
|
2560
2561
|
border-color: var(--utrecht-checkbox-indeterminate-border-color, var(--utrecht-checkbox-border-color));
|
|
@@ -3903,13 +3904,17 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
3903
3904
|
/* reset <button> styling */
|
|
3904
3905
|
border-width: 0;
|
|
3905
3906
|
}
|
|
3907
|
+
/**
|
|
3908
|
+
* @license EUPL-1.2
|
|
3909
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
3910
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
3911
|
+
*/
|
|
3906
3912
|
/**
|
|
3907
3913
|
* @license EUPL-1.2
|
|
3908
3914
|
* Copyright (c) 2021 Gemeente Utrecht
|
|
3909
3915
|
* Copyright (c) 2021 Robbert Broersma
|
|
3910
3916
|
*/
|
|
3911
3917
|
/* reset before other stylesheets */
|
|
3912
|
-
.utrecht-link-list,
|
|
3913
3918
|
.utrecht-link-list--html-ul {
|
|
3914
3919
|
margin-block-end: 0;
|
|
3915
3920
|
margin-block-start: 0;
|
|
@@ -3917,39 +3922,34 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
3917
3922
|
margin-inline-start: 0;
|
|
3918
3923
|
padding-inline-start: 0;
|
|
3919
3924
|
}
|
|
3920
|
-
.utrecht-link-list > li,
|
|
3921
3925
|
.utrecht-link-list--html-ul > li {
|
|
3922
3926
|
list-style: none;
|
|
3923
3927
|
}
|
|
3924
3928
|
|
|
3925
3929
|
.utrecht-link-list {
|
|
3926
|
-
--utrecht-link-text-decoration
|
|
3927
|
-
|
|
3928
|
-
|
|
3930
|
+
/* TODO: I wish we could make `--utrecht-link-text-decoration` fall back to `var(--utrecht-link-text-decoration)`
|
|
3931
|
+
* when `var(--utrecht-link-list-text-decoration)` is not set.
|
|
3932
|
+
*/
|
|
3933
|
+
--utrecht-icon-inset-block-start: var(--utrecht-link-list-icon-inset-block-start);
|
|
3934
|
+
--utrecht-icon-size: var(--utrecht-link-list-icon-size);
|
|
3935
|
+
--utrecht-link-icon-size: var(--utrecht-link-list-icon-size);
|
|
3936
|
+
--utrecht-link-text-decoration: var(--utrecht-link-list-link-text-decoration, none);
|
|
3937
|
+
display: flex;
|
|
3938
|
+
flex-direction: column;
|
|
3929
3939
|
margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-link-list-margin-block-end, 0));
|
|
3930
3940
|
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-link-list-margin-block-start, 0));
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
.utrecht-link-list--distanced {
|
|
3934
|
-
--utrecht-space-around: 1;
|
|
3941
|
+
row-gap: var(--utrecht-link-list-row-gap);
|
|
3935
3942
|
}
|
|
3936
3943
|
|
|
3937
3944
|
.utrecht-link-list__item {
|
|
3938
|
-
--utrecht-icon-size: var(--utrecht-link-list-icon-size);
|
|
3939
|
-
--utrecht-link-icon-size: var(--utrecht-link-list-icon-size);
|
|
3940
|
-
--utrecht-icon-inset-block-start: var(--utrecht-link-list-icon-inset-block-start);
|
|
3941
3945
|
display: block;
|
|
3942
|
-
font-weight: var(--utrecht-link-list-item-font-weight);
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
|
-
.utrecht-link-list__item + .utrecht-link-list__item {
|
|
3946
|
-
margin-block-start: var(--utrecht-link-list-item-margin-block-start);
|
|
3947
3946
|
}
|
|
3948
3947
|
|
|
3949
3948
|
.utrecht-link-list__link {
|
|
3950
3949
|
align-items: baseline;
|
|
3951
|
-
column-gap: var(--utrecht-link-list-
|
|
3950
|
+
column-gap: var(--utrecht-link-list-link-column-gap);
|
|
3952
3951
|
display: inline-flex;
|
|
3952
|
+
font-weight: var(--utrecht-link-list-link-font-weight);
|
|
3953
3953
|
}
|
|
3954
3954
|
|
|
3955
3955
|
/**
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "4.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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"rimraf": "3.0.2",
|
|
21
21
|
"rollup": "3.29.4",
|
|
22
22
|
"rollup-plugin-postcss": "4.0.2",
|
|
23
|
-
"@utrecht/components": "
|
|
23
|
+
"@utrecht/components": "6.0.0",
|
|
24
24
|
"@utrecht/html-content-css": "1.1.0"
|
|
25
25
|
},
|
|
26
26
|
"main": "dist/index.css",
|