@utrecht/component-library-css 1.0.0-alpha.301 → 1.0.0-alpha.304
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/dist/index.css +109 -10
- package/package.json +3 -3
- package/src/index.scss +2 -0
package/dist/index.css
CHANGED
|
@@ -1215,6 +1215,69 @@ ol.utrecht-breadcrumb__list {
|
|
|
1215
1215
|
color: var(--utrecht-custom-radio-button-checked-color, var(--utrecht-custom-radio-button-color));
|
|
1216
1216
|
}
|
|
1217
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* @license EUPL-1.2
|
|
1220
|
+
* Copyright (c) 2021-2022 Gemeente Utrecht
|
|
1221
|
+
* Copyright (c) 2021-2022 Frameless B.V.
|
|
1222
|
+
*/
|
|
1223
|
+
/**
|
|
1224
|
+
* @license EUPL-1.2
|
|
1225
|
+
* Copyright (c) 2021-2022 Gemeente Utrecht
|
|
1226
|
+
* Copyright (c) 2021-2022 Frameless B.V.
|
|
1227
|
+
*/
|
|
1228
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
1229
|
+
.utrecht-data-list {
|
|
1230
|
+
/* also set `margin-block` to reset browser styling of <dl> */
|
|
1231
|
+
display: block;
|
|
1232
|
+
margin-block-end: calc(var(--utrecht-distance, 0) * var(--utrecht-data-list-margin-block-end));
|
|
1233
|
+
margin-block-start: calc(var(--utrecht-distance, 0) * var(--utrecht-data-list-margin-block-start));
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
.utrecht-data-list__item-key {
|
|
1237
|
+
color: var(--utrecht-data-list-item-key-color);
|
|
1238
|
+
font-size: var(--utrecht-data-list-item-key-font-size);
|
|
1239
|
+
font-weight: var(--utrecht-data-list-item-key-font-weight);
|
|
1240
|
+
grid-area: label;
|
|
1241
|
+
line-height: var(--utrecht-data-list-item-key-line-height);
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.utrecht-data-list__item-value {
|
|
1245
|
+
/* configure `min-block-size` in case the value is empty */
|
|
1246
|
+
color: var(--utrecht-data-list-label-color);
|
|
1247
|
+
font-size: var(--utrecht-data-list-item-value-font-size);
|
|
1248
|
+
font-weight: var(--utrecht-data-list-item-value-font-weight);
|
|
1249
|
+
grid-area: value;
|
|
1250
|
+
line-height: var(--utrecht-data-list-label-line-height);
|
|
1251
|
+
min-block-size: var(--utrecht-data-list-label-line-height);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.utrecht-data-list__actions--html-dd,
|
|
1255
|
+
.utrecht-data-list__item-value--html-dd {
|
|
1256
|
+
/* reset browser styling of <dd> */
|
|
1257
|
+
margin-inline-start: 0;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
.utrecht-data-list__item-value--multiline {
|
|
1261
|
+
white-space: pre-line;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.utrecht-data-list--rows .utrecht-data-list__actions {
|
|
1265
|
+
align-items: last baseline;
|
|
1266
|
+
display: flex;
|
|
1267
|
+
justify-content: flex-end;
|
|
1268
|
+
}
|
|
1269
|
+
.utrecht-data-list--rows .utrecht-data-list__item {
|
|
1270
|
+
display: grid;
|
|
1271
|
+
grid-template-areas: "label actions" "value value";
|
|
1272
|
+
margin-block-start: var(--utrecht-data-list-rows-item-margin-block-start);
|
|
1273
|
+
}
|
|
1274
|
+
.utrecht-data-list--rows .utrecht-data-list__item:first-of-type {
|
|
1275
|
+
margin-block-start: 0;
|
|
1276
|
+
}
|
|
1277
|
+
.utrecht-data-list--rows .utrecht-data-list__item-value {
|
|
1278
|
+
margin-block-start: var(--utrecht-data-list-rows-item-value-margin-block-start);
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1218
1281
|
/**
|
|
1219
1282
|
* @license EUPL-1.2
|
|
1220
1283
|
* Copyright (c) 2021 Robbert Broersma
|
|
@@ -1955,6 +2018,12 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1955
2018
|
/* stylelint-disable-next-line block-no-empty */
|
|
1956
2019
|
/* stylelint-disable-next-line block-no-empty */
|
|
1957
2020
|
/* stylelint-disable-next-line block-no-empty */
|
|
2021
|
+
/**
|
|
2022
|
+
* @license EUPL-1.2
|
|
2023
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
2024
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
2025
|
+
*/
|
|
2026
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
1958
2027
|
.utrecht-link-button {
|
|
1959
2028
|
color: var(--utrecht-link-color, blue);
|
|
1960
2029
|
text-decoration: var(--utrecht-link-text-decoration, underline);
|
|
@@ -1978,13 +2047,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1978
2047
|
user-select: none;
|
|
1979
2048
|
}
|
|
1980
2049
|
|
|
1981
|
-
.utrecht-link-button--html-button {
|
|
1982
|
-
background-color: transparent;
|
|
1983
|
-
/* reset <button> styling */
|
|
1984
|
-
border-width: 0;
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
.utrecht-link-button--hover {
|
|
2050
|
+
.utrecht-link-button--hover, .utrecht-link-button--html-button:hover {
|
|
1988
2051
|
color: var(--utrecht-link-hover-color, var(--utrecht-link-color));
|
|
1989
2052
|
text-decoration: var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline));
|
|
1990
2053
|
text-decoration-skip: none;
|
|
@@ -1992,11 +2055,11 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1992
2055
|
text-decoration-thickness: max(var(--utrecht-link-hover-text-decoration-thickness, var(--utrecht-link-text-decoration-thickness)), 1px);
|
|
1993
2056
|
}
|
|
1994
2057
|
|
|
1995
|
-
.utrecht-link-button--active {
|
|
2058
|
+
.utrecht-link-button--active, .utrecht-link-button--html-button:active {
|
|
1996
2059
|
color: var(--utrecht-link-active-color, var(--utrecht-link-color));
|
|
1997
2060
|
}
|
|
1998
2061
|
|
|
1999
|
-
.utrecht-link-button--focus {
|
|
2062
|
+
.utrecht-link-button--focus, .utrecht-link-button--html-button:focus {
|
|
2000
2063
|
background-color: var(--utrecht-link-focus-background-color, transparent);
|
|
2001
2064
|
color: var(--utrecht-link-focus-color, var(--utrecht-link-color));
|
|
2002
2065
|
text-decoration: var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline));
|
|
@@ -2005,7 +2068,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
2005
2068
|
text-decoration-thickness: max(var(--utrecht-link-focus-text-decoration-thickness, var(--utrecht-link-text-decoration-thickness)), 1px);
|
|
2006
2069
|
}
|
|
2007
2070
|
|
|
2008
|
-
.utrecht-link-button--focus-visible {
|
|
2071
|
+
.utrecht-link-button--focus-visible, .utrecht-link-button--html-button:focus-visible {
|
|
2009
2072
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
2010
2073
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
2011
2074
|
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
@@ -2013,6 +2076,20 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
2013
2076
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
2014
2077
|
}
|
|
2015
2078
|
|
|
2079
|
+
.utrecht-link-button--inline {
|
|
2080
|
+
min-block-size: auto;
|
|
2081
|
+
min-inline-size: auto;
|
|
2082
|
+
padding-block-end: 0;
|
|
2083
|
+
padding-block-start: 0;
|
|
2084
|
+
padding-inline-end: 0;
|
|
2085
|
+
padding-inline-start: 0;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
.utrecht-link-button--html-button {
|
|
2089
|
+
background-color: transparent;
|
|
2090
|
+
/* reset <button> styling */
|
|
2091
|
+
border-width: 0;
|
|
2092
|
+
}
|
|
2016
2093
|
/**
|
|
2017
2094
|
* @license EUPL-1.2
|
|
2018
2095
|
* Copyright (c) 2021 Gemeente Utrecht
|
|
@@ -3610,3 +3687,25 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
3610
3687
|
.utrecht-url {
|
|
3611
3688
|
font-variant-ligatures: none;
|
|
3612
3689
|
}
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* @license EUPL-1.2
|
|
3693
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
3694
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
3695
|
+
*/
|
|
3696
|
+
/**
|
|
3697
|
+
* @license EUPL-1.2
|
|
3698
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
3699
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
3700
|
+
*/
|
|
3701
|
+
.utrecht-value-number {
|
|
3702
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
.utrecht-value-number--positive {
|
|
3706
|
+
color: var(--utrecht-value-number-positive-color);
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
.utrecht-value-number--negative {
|
|
3710
|
+
color: var(--utrecht-value-number-negative-color);
|
|
3711
|
+
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-alpha.
|
|
2
|
+
"version": "1.0.0-alpha.304",
|
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "git@github.com:nl-design-system/utrecht.git"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@utrecht/design-tokens": "1.0.0-alpha.
|
|
19
|
+
"@utrecht/design-tokens": "1.0.0-alpha.297",
|
|
20
20
|
"node-sass-package-importer": "5.3.2",
|
|
21
21
|
"rimraf": "3.0.2",
|
|
22
22
|
"sass": "1.54.0"
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"clean": "rimraf dist/"
|
|
28
28
|
},
|
|
29
29
|
"main": "dist/index.css",
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "5e0eb8b75ca23c2063867f7396e6a6a5e50e0ba9"
|
|
31
31
|
}
|
package/src/index.scss
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
@import "../../../components/checkbox/css";
|
|
30
30
|
@import "../../../components/custom-checkbox/css";
|
|
31
31
|
@import "../../../components/custom-radio-button/css";
|
|
32
|
+
@import "../../../components/data-list/css";
|
|
32
33
|
@import "../../../components/digid-button/css";
|
|
33
34
|
@import "../../../components/document/css";
|
|
34
35
|
@import "../../../components/emphasis/css";
|
|
@@ -76,3 +77,4 @@
|
|
|
76
77
|
@import "../../../components/textbox/css";
|
|
77
78
|
@import "../../../components/unordered-list/css";
|
|
78
79
|
@import "../../../components/url/css";
|
|
80
|
+
@import "../../../components/value-number/css";
|