@utrecht/component-library-css 3.0.1-alpha.9 → 3.1.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 +8 -0
- package/dist/html.css +40 -11
- package/dist/index.css +218 -38
- package/package.json +1 -1
- package/LICENSE.txt +0 -287
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @utrecht/component-library-css
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f9c23c6: Add `utrecht-accordion__button--utrecht` class name.
|
|
8
|
+
Add `utrecht-accordion__button-icon` class name.
|
|
9
|
+
- f9c23c6: Add `utrecht.accordion.button.icon.gap` design token.
|
|
10
|
+
|
|
3
11
|
## 3.0.0
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
package/dist/html.css
CHANGED
|
@@ -810,10 +810,11 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
810
810
|
}
|
|
811
811
|
.utrecht-html code {
|
|
812
812
|
/* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
|
|
813
|
+
/* Use `inherit` as font-size, to override interfering CSS such as: `code { font-size: 16px }` */
|
|
813
814
|
background-color: var(--utrecht-code-background-color);
|
|
814
815
|
color: var(--utrecht-code-color);
|
|
815
816
|
font-family: var(--utrecht-code-font-family, monospace), monospace;
|
|
816
|
-
font-size: var(--utrecht-code-font-size);
|
|
817
|
+
font-size: var(--utrecht-code-font-size, inherit);
|
|
817
818
|
font-variant-ligatures: none;
|
|
818
819
|
line-height: var(--utrecht-code-line-height);
|
|
819
820
|
}
|
|
@@ -1104,10 +1105,11 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1104
1105
|
}
|
|
1105
1106
|
.utrecht-html pre:has(> code:only-child) {
|
|
1106
1107
|
/* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
|
|
1108
|
+
/* Use `inherit` as font-size, to override interfering CSS such as: `code { font-size: 16px }` */
|
|
1107
1109
|
background-color: var(--utrecht-code-background-color);
|
|
1108
1110
|
color: var(--utrecht-code-color);
|
|
1109
1111
|
font-family: var(--utrecht-code-font-family, monospace), monospace;
|
|
1110
|
-
font-size: var(--utrecht-code-font-size);
|
|
1112
|
+
font-size: var(--utrecht-code-font-size, inherit);
|
|
1111
1113
|
font-variant-ligatures: none;
|
|
1112
1114
|
line-height: var(--utrecht-code-line-height);
|
|
1113
1115
|
--utrecht-code-color: var(--utrecht-code-block-color, inherit);
|
|
@@ -1117,7 +1119,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1117
1119
|
--utrecht-code-font-family: var(--utrecht-code-block-font-family, monospace);
|
|
1118
1120
|
background-color: var(--utrecht-code-block-background-color);
|
|
1119
1121
|
display: block;
|
|
1120
|
-
font-size: var(--utrecht-code-block-font-size, var(--utrecht-code-font-size));
|
|
1122
|
+
font-size: var(--utrecht-code-block-font-size, var(--utrecht-code-font-size, inherit));
|
|
1121
1123
|
line-height: var(--utrecht-code-block-line-height, var(--utrecht-code-line-height));
|
|
1122
1124
|
margin-block-end: var(--utrecht-code-block-margin-block-end);
|
|
1123
1125
|
margin-block-start: var(--utrecht-code-block-margin-block-start);
|
|
@@ -1324,6 +1326,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1324
1326
|
font-family: var(--utrecht-select-font-family, var(--utrecht-form-control-font-family));
|
|
1325
1327
|
font-size: var(--utrecht-select-font-size, var(--utrecht-form-control-font-size));
|
|
1326
1328
|
inline-size: 100%;
|
|
1329
|
+
min-block-size: var(--utrecht-select-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
1330
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1327
1331
|
max-inline-size: var(--utrecht-select-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
1328
1332
|
padding-block-end: var(--utrecht-select-padding-block-end, var(--utrecht-form-control-padding-block-end));
|
|
1329
1333
|
padding-block-start: var(--utrecht-select-padding-block-start, var(--utrecht-form-control-padding-block-start));
|
|
@@ -1512,7 +1516,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1512
1516
|
inline-size: 100%;
|
|
1513
1517
|
line-height: var(--utrecht-textarea-line-height, initial);
|
|
1514
1518
|
max-inline-size: var(--utrecht-textarea-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
1515
|
-
min-block-size: var(--utrecht-textarea-min-block-size);
|
|
1519
|
+
min-block-size: var(--utrecht-textarea-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
1520
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1516
1521
|
padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
1517
1522
|
padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
1518
1523
|
padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -1590,6 +1595,28 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1590
1595
|
.utrecht-html input[type=time i],
|
|
1591
1596
|
.utrecht-html input[type=url i],
|
|
1592
1597
|
.utrecht-html input[type=week i] {
|
|
1598
|
+
/* The average character inline-size is an approximation, with a default that works for Dutch text.
|
|
1599
|
+
* The average might need to be configured specifically, for other scripts (CJK characters)
|
|
1600
|
+
* and very wide or very narrow fonts.
|
|
1601
|
+
* For monospace fonts it can be set to `1ch`.
|
|
1602
|
+
*/
|
|
1603
|
+
--_utrecht-textbox-value-char: 0.667em + 0.334ch;
|
|
1604
|
+
/* Because this element uses `border-box` box-sizing, we need to manually add up the
|
|
1605
|
+
* border width, padding width and the content width.
|
|
1606
|
+
*
|
|
1607
|
+
* Browsers and browser addons can add buttons inside the content box, for example
|
|
1608
|
+
* for autocomplete. To avoid overlap between the UI and the text, we reserve
|
|
1609
|
+
* some additional pixels to make space. We use 44px in accordance with the WCAG target size.
|
|
1610
|
+
*
|
|
1611
|
+
* When you are certain an element has no such UI, you can set the `autocomplete-ui-size` to `0px` (not to `0`).
|
|
1612
|
+
*/
|
|
1613
|
+
--_utrecht-textbox-max-inline-size: calc(
|
|
1614
|
+
calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) +
|
|
1615
|
+
var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) +
|
|
1616
|
+
var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) +
|
|
1617
|
+
var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) +
|
|
1618
|
+
var(--utrecht-textbox-autocomplete-ui-size, 44px)
|
|
1619
|
+
);
|
|
1593
1620
|
background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));
|
|
1594
1621
|
block-size: initial; /* harden */
|
|
1595
1622
|
border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));
|
|
@@ -1604,7 +1631,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1604
1631
|
font-weight: initial; /* harden */
|
|
1605
1632
|
inline-size: 100%;
|
|
1606
1633
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
1607
|
-
|
|
1634
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1635
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1636
|
+
max-inline-size: min(var(--_utrecht-textbox-max-inline-size, 100%), var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));
|
|
1608
1637
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
1609
1638
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
1610
1639
|
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -1629,9 +1658,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1629
1658
|
.utrecht-html input[type=time i]:focus,
|
|
1630
1659
|
.utrecht-html input[type=url i]:focus,
|
|
1631
1660
|
.utrecht-html input[type=week i]:focus {
|
|
1632
|
-
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-
|
|
1633
|
-
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-
|
|
1634
|
-
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-
|
|
1661
|
+
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
1662
|
+
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
1663
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
1635
1664
|
/* - The browser default focus ring should apply when these CSS custom properties are not set.
|
|
1636
1665
|
* - Make the `box-shadow` value available, so components that have their own `box-shadow`
|
|
1637
1666
|
* can combine it with the focus ring box shadow.
|
|
@@ -1729,9 +1758,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1729
1758
|
.utrecht-html input[type=time i]:disabled,
|
|
1730
1759
|
.utrecht-html input[type=url i]:disabled,
|
|
1731
1760
|
.utrecht-html input[type=week i]:disabled {
|
|
1732
|
-
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-
|
|
1733
|
-
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-
|
|
1734
|
-
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-
|
|
1761
|
+
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
1762
|
+
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
1763
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
1735
1764
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
1736
1765
|
}
|
|
1737
1766
|
.utrecht-html input:not([type])::placeholder,
|
package/dist/index.css
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
--utrecht-button-focus-scale: 1;
|
|
51
51
|
--utrecht-button-hover-scale: 1;
|
|
52
52
|
--utrecht-button-inline-size: 100%;
|
|
53
|
+
--utrecht-button-min-inline-size: 100%;
|
|
53
54
|
--utrecht-button-subtle-background-color: var(--utrecht-accordion-button-background-color);
|
|
54
55
|
--utrecht-button-subtle-padding-inline-start: var(--utrecht-accordion-button-padding-inline-start);
|
|
55
56
|
--utrecht-button-subtle-padding-inline-end: var(--utrecht-accordion-button-padding-inline-end);
|
|
@@ -67,11 +68,15 @@
|
|
|
67
68
|
--utrecht-button-subtle-focus-color: var(--utrecht-accordion-button-focus-color);
|
|
68
69
|
--utrecht-button-subtle-border-color: var(--utrecht-accordion-button-border-color);
|
|
69
70
|
--utrecht-button-subtle-border-width: var(--utrecht-accordion-button-border-width);
|
|
71
|
+
--utrecht-button-icon-gap: var(--utrecht-accordion-button-gap, var(--utrecht-space-text-xs));
|
|
72
|
+
align-items: baseline;
|
|
70
73
|
justify-content: start !important;
|
|
71
74
|
position: relative;
|
|
75
|
+
text-align: start;
|
|
72
76
|
}
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
|
|
78
|
+
.utrecht-accordion__button--utrecht[aria-expanded]::after {
|
|
79
|
+
background-color: var(--utrecht-accordion-button-icon-utrecht-background-color);
|
|
75
80
|
background-position: center;
|
|
76
81
|
background-repeat: no-repeat;
|
|
77
82
|
block-size: var(--utrecht-accordion-button-icon-size);
|
|
@@ -81,16 +86,23 @@
|
|
|
81
86
|
inset-inline-end: 0;
|
|
82
87
|
position: absolute;
|
|
83
88
|
}
|
|
84
|
-
.utrecht-accordion__button[aria-expanded=false]::after {
|
|
85
|
-
background-image: var(--utrecht-accordion-icon-arrow-down, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.39' height='14.39'%3E%3Cpath fill='none' stroke='%231D1D1D' stroke-width='3' stroke-miterlimit='10' d='M15.866 4.135l-5.32 5.322-5.322-5.322'/%3E%3C/svg%3E"));
|
|
89
|
+
.utrecht-accordion__button--utrecht[aria-expanded=false]::after {
|
|
90
|
+
background-image: var(--utrecht-accordion-icon-utrecht-arrow-down, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.39' height='14.39'%3E%3Cpath fill='none' stroke='%231D1D1D' stroke-width='3' stroke-miterlimit='10' d='M15.866 4.135l-5.32 5.322-5.322-5.322'/%3E%3C/svg%3E"));
|
|
86
91
|
}
|
|
87
|
-
.utrecht-accordion__button[aria-expanded=true]::after {
|
|
88
|
-
background-image: var(--utrecht-accordion-icon-arrow-up, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.39' height='14.39'%3E%3Cpath fill='none' stroke='%231D1D1D' stroke-width='3' stroke-miterlimit='10' d='M5.223 9.457l5.32-5.322 5.322 5.322'/%3E%3C/svg%3E"));
|
|
92
|
+
.utrecht-accordion__button--utrecht[aria-expanded=true]::after {
|
|
93
|
+
background-image: var(--utrecht-accordion-icon-utrecht-arrow-up, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.39' height='14.39'%3E%3Cpath fill='none' stroke='%231D1D1D' stroke-width='3' stroke-miterlimit='10' d='M5.223 9.457l5.32-5.322 5.322 5.322'/%3E%3C/svg%3E"));
|
|
89
94
|
background-position: center;
|
|
90
95
|
background-repeat: no-repeat;
|
|
91
96
|
content: "";
|
|
92
97
|
}
|
|
93
98
|
|
|
99
|
+
.utrecht-accordion__button-icon {
|
|
100
|
+
display: flex;
|
|
101
|
+
}
|
|
102
|
+
.utrecht-accordion__button[aria-expanded=true] .utrecht-accordion__button-icon {
|
|
103
|
+
transform: rotate(180deg);
|
|
104
|
+
}
|
|
105
|
+
|
|
94
106
|
.utrecht-accordion__panel {
|
|
95
107
|
border-block-start: none;
|
|
96
108
|
border-color: var(--utrecht-accordion-panel-border-color);
|
|
@@ -381,8 +393,8 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
381
393
|
border-radius: var(--utrecht-badge-counter-border-radius, var(--utrecht-badge-border-radius, 0.5ch));
|
|
382
394
|
color: var(--utrecht-badge-counter-color, var(--utrecht-badge-color, hsl(0, 0%, 100%)));
|
|
383
395
|
display: inline-block;
|
|
384
|
-
font-family: var(--utrecht-document-font-family, sans-serif);
|
|
385
|
-
font-size: var(--utrecht-badge-counter-font-size);
|
|
396
|
+
font-family: var(--utrecht-badge-counter-font-family, var(--utrecht-badge-font-family, var(--utrecht-document-font-family, sans-serif)));
|
|
397
|
+
font-size: var(--utrecht-badge-counter-font-size, var(--utrecht-badge-font-size));
|
|
386
398
|
font-style: var(--utrecht-badge-counter-font-style, normal); /* no inheritance */
|
|
387
399
|
font-weight: var(--utrecht-badge-counter-font-weight, var(--utrecht-badge-font-weight, bold)); /* no inheritance */
|
|
388
400
|
line-height: 1;
|
|
@@ -748,24 +760,23 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
748
760
|
padding-inline-start: var(--utrecht-breadcrumb-nav-item-padding-inline-start, 8px);
|
|
749
761
|
}
|
|
750
762
|
|
|
763
|
+
.utrecht-breadcrumb-nav__link--current {
|
|
764
|
+
--utrecht-link-current-font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
765
|
+
/* configure the `current` `cursor` only when the current state is applied */
|
|
766
|
+
--_utrecht-breadcrumb-nav-link-current-cursor: var(--utrecht-action-inert-cursor, default);
|
|
767
|
+
font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
768
|
+
}
|
|
769
|
+
|
|
751
770
|
.utrecht-breadcrumb-nav__link--disabled {
|
|
752
771
|
--utrecht-link-placeholder-color: var(
|
|
753
772
|
--utrecht-breadcrumb-nav-link-disabled-color,
|
|
754
773
|
var(--utrecht-breadcrumb-nav-link-color)
|
|
755
774
|
);
|
|
775
|
+
/* configure the `disabled` `cursor` only when the current state is applied */
|
|
776
|
+
--_utrecht-breadcrumb-nav-link-disabled-cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
756
777
|
background-color: var(--utrecht-breadcrumb-nav-link-disabled-background-color, var(--utrecht-breadcrumb-nav-link-background-color));
|
|
757
|
-
|
|
758
|
-
cursor: var(--
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.utrecht-breadcrumb-nav__link--current {
|
|
762
|
-
/*
|
|
763
|
-
* `current` should apply to `disabled` links too, and it should override `disabled`.
|
|
764
|
-
* The override is the reason why this selector is not ordered alphabetically.
|
|
765
|
-
*/
|
|
766
|
-
--utrecht-link-current-font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
767
|
-
cursor: var(--utrecht-action-inert-cursor, default);
|
|
768
|
-
font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
778
|
+
/* Use the `current` cursor when available, otherwise use the `disabled` cursor */
|
|
779
|
+
cursor: var(--_utrecht-breadcrumb-nav-link-current-cursor, var(--_utrecht-breadcrumb-nav-link-disabled-cursor));
|
|
769
780
|
}
|
|
770
781
|
|
|
771
782
|
/* stylelint-disable-next-line block-no-empty */
|
|
@@ -1726,10 +1737,11 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
1726
1737
|
*/
|
|
1727
1738
|
.utrecht-code {
|
|
1728
1739
|
/* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
|
|
1740
|
+
/* Use `inherit` as font-size, to override interfering CSS such as: `code { font-size: 16px }` */
|
|
1729
1741
|
background-color: var(--utrecht-code-background-color);
|
|
1730
1742
|
color: var(--utrecht-code-color);
|
|
1731
1743
|
font-family: var(--utrecht-code-font-family, monospace), monospace;
|
|
1732
|
-
font-size: var(--utrecht-code-font-size);
|
|
1744
|
+
font-size: var(--utrecht-code-font-size, inherit);
|
|
1733
1745
|
font-variant-ligatures: none;
|
|
1734
1746
|
line-height: var(--utrecht-code-line-height);
|
|
1735
1747
|
}
|
|
@@ -1751,10 +1763,11 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
1751
1763
|
*/
|
|
1752
1764
|
.utrecht-code-block {
|
|
1753
1765
|
/* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
|
|
1766
|
+
/* Use `inherit` as font-size, to override interfering CSS such as: `code { font-size: 16px }` */
|
|
1754
1767
|
background-color: var(--utrecht-code-background-color);
|
|
1755
1768
|
color: var(--utrecht-code-color);
|
|
1756
1769
|
font-family: var(--utrecht-code-font-family, monospace), monospace;
|
|
1757
|
-
font-size: var(--utrecht-code-font-size);
|
|
1770
|
+
font-size: var(--utrecht-code-font-size, inherit);
|
|
1758
1771
|
font-variant-ligatures: none;
|
|
1759
1772
|
line-height: var(--utrecht-code-line-height);
|
|
1760
1773
|
--utrecht-code-color: var(--utrecht-code-block-color, inherit);
|
|
@@ -1764,7 +1777,7 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
1764
1777
|
--utrecht-code-font-family: var(--utrecht-code-block-font-family, monospace);
|
|
1765
1778
|
background-color: var(--utrecht-code-block-background-color);
|
|
1766
1779
|
display: block;
|
|
1767
|
-
font-size: var(--utrecht-code-block-font-size, var(--utrecht-code-font-size));
|
|
1780
|
+
font-size: var(--utrecht-code-block-font-size, var(--utrecht-code-font-size, inherit));
|
|
1768
1781
|
line-height: var(--utrecht-code-block-line-height, var(--utrecht-code-line-height));
|
|
1769
1782
|
margin-block-end: var(--utrecht-code-block-margin-block-end);
|
|
1770
1783
|
margin-block-start: var(--utrecht-code-block-margin-block-start);
|
|
@@ -3111,8 +3124,8 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
3111
3124
|
}
|
|
3112
3125
|
|
|
3113
3126
|
.utrecht-form-label--disabled {
|
|
3127
|
+
color: var(--utrecht-form-label-disabled-color, var(--utrecht-form-label-color));
|
|
3114
3128
|
cursor: var(--utrecht-action-disabled-cursor, revert);
|
|
3115
|
-
font-weight: var(--utrecht-form-label-disabled-color, var(--utrecht-form-label-color));
|
|
3116
3129
|
}
|
|
3117
3130
|
|
|
3118
3131
|
.utrecht-form-label--radio {
|
|
@@ -3229,6 +3242,10 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
3229
3242
|
inline-size: 100%;
|
|
3230
3243
|
}
|
|
3231
3244
|
|
|
3245
|
+
.utrecht-form-toggle__track--html-label {
|
|
3246
|
+
cursor: inherit;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3232
3249
|
.utrecht-form-toggle__track--checked, .utrecht-form-toggle--html-checkbox .utrecht-form-toggle__checkbox:checked ~ .utrecht-form-toggle__track {
|
|
3233
3250
|
background-color: var(--utrecht-form-toggle-checked-accent-color, var(--utrecht-form-toggle-accent-color));
|
|
3234
3251
|
}
|
|
@@ -4431,6 +4448,86 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4431
4448
|
margin-block-start: 0;
|
|
4432
4449
|
}
|
|
4433
4450
|
|
|
4451
|
+
/**
|
|
4452
|
+
* @license EUPL-1.2
|
|
4453
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4454
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4455
|
+
*/
|
|
4456
|
+
.utrecht-nav-bar {
|
|
4457
|
+
background-color: var(--utrecht-nav-bar-background-color);
|
|
4458
|
+
color: var(--utrecht-nav-bar-color);
|
|
4459
|
+
display: flex;
|
|
4460
|
+
justify-content: center;
|
|
4461
|
+
}
|
|
4462
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
4463
|
+
.utrecht-nav-bar {
|
|
4464
|
+
border-block-end-color: currentColor;
|
|
4465
|
+
border-block-end-style: solid;
|
|
4466
|
+
border-block-end-width: 1px;
|
|
4467
|
+
/* add `padding` in `forced-colors` mode to make room for contrasting focus ring */
|
|
4468
|
+
border-block-start-color: currentColor;
|
|
4469
|
+
border-block-start-style: solid;
|
|
4470
|
+
border-block-start-width: 1px;
|
|
4471
|
+
padding-block-end: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4472
|
+
padding-block-start: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4473
|
+
}
|
|
4474
|
+
}
|
|
4475
|
+
|
|
4476
|
+
.utrecht-nav-bar__content {
|
|
4477
|
+
align-items: stretch;
|
|
4478
|
+
display: flex;
|
|
4479
|
+
flex-direction: row;
|
|
4480
|
+
flex-wrap: wrap;
|
|
4481
|
+
inline-size: 100%;
|
|
4482
|
+
justify-content: space-between;
|
|
4483
|
+
/* Wrap content to accomodate:
|
|
4484
|
+
* - 400% zoom
|
|
4485
|
+
* - longer text due to automatic translation
|
|
4486
|
+
* - longer text due to editorial content requirements
|
|
4487
|
+
*/
|
|
4488
|
+
max-inline-size: var(--utrecht-nav-bar-content-max-inline-size);
|
|
4489
|
+
}
|
|
4490
|
+
|
|
4491
|
+
/**
|
|
4492
|
+
* @license EUPL-1.2
|
|
4493
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4494
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4495
|
+
*/
|
|
4496
|
+
.utrecht-nav-list {
|
|
4497
|
+
margin-block-end: 0;
|
|
4498
|
+
margin-block-start: 0;
|
|
4499
|
+
margin-inline-end: 0;
|
|
4500
|
+
margin-inline-start: 0;
|
|
4501
|
+
padding-inline-start: 0;
|
|
4502
|
+
align-items: stretch;
|
|
4503
|
+
display: flex;
|
|
4504
|
+
flex-direction: row;
|
|
4505
|
+
flex-wrap: wrap;
|
|
4506
|
+
inline-size: 100%;
|
|
4507
|
+
justify-content: start;
|
|
4508
|
+
}
|
|
4509
|
+
|
|
4510
|
+
.utrecht-nav-list--center > * {
|
|
4511
|
+
flex: 1 1 0;
|
|
4512
|
+
justify-content: center;
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4515
|
+
.utrecht-nav-list__item {
|
|
4516
|
+
list-style: none;
|
|
4517
|
+
display: inline-flex;
|
|
4518
|
+
}
|
|
4519
|
+
|
|
4520
|
+
/* Style for the navigation links */
|
|
4521
|
+
.utrecht-nav-list__link {
|
|
4522
|
+
font-weight: var(--utrecht-nav-list-link-font-weight);
|
|
4523
|
+
max-inline-size: var(--utrecht-nav-bar-link-max-inline-size, 30ch);
|
|
4524
|
+
padding-block-end: var(--utrecht-nav-bar-link-padding-block-end);
|
|
4525
|
+
padding-block-start: var(--utrecht-nav-bar-link-padding-block-start);
|
|
4526
|
+
padding-inline-end: var(--utrecht-nav-bar-link-padding-inline-end);
|
|
4527
|
+
padding-inline-start: var(--utrecht-nav-bar-link-padding-inline-start);
|
|
4528
|
+
text-decoration: none;
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4434
4531
|
/**
|
|
4435
4532
|
* @license EUPL-1.2
|
|
4436
4533
|
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
@@ -5595,6 +5692,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5595
5692
|
font-family: var(--utrecht-select-font-family, var(--utrecht-form-control-font-family));
|
|
5596
5693
|
font-size: var(--utrecht-select-font-size, var(--utrecht-form-control-font-size));
|
|
5597
5694
|
inline-size: 100%;
|
|
5695
|
+
min-block-size: var(--utrecht-select-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
5696
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
5598
5697
|
max-inline-size: var(--utrecht-select-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
5599
5698
|
padding-block-end: var(--utrecht-select-padding-block-end, var(--utrecht-form-control-padding-block-end));
|
|
5600
5699
|
padding-block-start: var(--utrecht-select-padding-block-start, var(--utrecht-form-control-padding-block-start));
|
|
@@ -5873,6 +5972,15 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5873
5972
|
*/
|
|
5874
5973
|
/* stylelint-disable-next-line block-no-empty */
|
|
5875
5974
|
/* stylelint-disable-next-line block-no-empty */
|
|
5975
|
+
.utrecht-table-container--overflow-inline {
|
|
5976
|
+
background-attachment: local, local, scroll, scroll;
|
|
5977
|
+
background-image: linear-gradient(to right, white, white), linear-gradient(to right, white, white), linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0));
|
|
5978
|
+
background-position: left center, right center, left center, right center;
|
|
5979
|
+
background-repeat: no-repeat;
|
|
5980
|
+
background-size: 20px 100%, 20px 100%, 10px 100%, 10px 100%;
|
|
5981
|
+
overflow: auto;
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5876
5984
|
.utrecht-table {
|
|
5877
5985
|
/* `border-collapse: collapse` results in a broken border for sticky header and sticky footer.
|
|
5878
5986
|
* Therefore we need to use `border-collapse: separate` instead.
|
|
@@ -6222,7 +6330,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6222
6330
|
inline-size: 100%;
|
|
6223
6331
|
line-height: var(--utrecht-textarea-line-height, initial);
|
|
6224
6332
|
max-inline-size: var(--utrecht-textarea-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
6225
|
-
min-block-size: var(--utrecht-textarea-min-block-size);
|
|
6333
|
+
min-block-size: var(--utrecht-textarea-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
6334
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6226
6335
|
padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6227
6336
|
padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
6228
6337
|
padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -6369,6 +6478,28 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6369
6478
|
* https://github.com/hudochenkov/stylelint-order/pull/162 */
|
|
6370
6479
|
/* stylelint-disable order/properties-alphabetical-order */
|
|
6371
6480
|
.utrecht-textbox {
|
|
6481
|
+
/* The average character inline-size is an approximation, with a default that works for Dutch text.
|
|
6482
|
+
* The average might need to be configured specifically, for other scripts (CJK characters)
|
|
6483
|
+
* and very wide or very narrow fonts.
|
|
6484
|
+
* For monospace fonts it can be set to `1ch`.
|
|
6485
|
+
*/
|
|
6486
|
+
--_utrecht-textbox-value-char: 0.667em + 0.334ch;
|
|
6487
|
+
/* Because this element uses `border-box` box-sizing, we need to manually add up the
|
|
6488
|
+
* border width, padding width and the content width.
|
|
6489
|
+
*
|
|
6490
|
+
* Browsers and browser addons can add buttons inside the content box, for example
|
|
6491
|
+
* for autocomplete. To avoid overlap between the UI and the text, we reserve
|
|
6492
|
+
* some additional pixels to make space. We use 44px in accordance with the WCAG target size.
|
|
6493
|
+
*
|
|
6494
|
+
* When you are certain an element has no such UI, you can set the `autocomplete-ui-size` to `0px` (not to `0`).
|
|
6495
|
+
*/
|
|
6496
|
+
--_utrecht-textbox-max-inline-size: calc(
|
|
6497
|
+
calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) +
|
|
6498
|
+
var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) +
|
|
6499
|
+
var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) +
|
|
6500
|
+
var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) +
|
|
6501
|
+
var(--utrecht-textbox-autocomplete-ui-size, 44px)
|
|
6502
|
+
);
|
|
6372
6503
|
background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));
|
|
6373
6504
|
block-size: initial; /* harden */
|
|
6374
6505
|
border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));
|
|
@@ -6383,7 +6514,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6383
6514
|
font-weight: initial; /* harden */
|
|
6384
6515
|
inline-size: 100%;
|
|
6385
6516
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
6386
|
-
|
|
6517
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6518
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6519
|
+
max-inline-size: min(var(--_utrecht-textbox-max-inline-size, 100%), var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));
|
|
6387
6520
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6388
6521
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
6389
6522
|
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -6406,16 +6539,16 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6406
6539
|
}
|
|
6407
6540
|
|
|
6408
6541
|
.utrecht-textbox--disabled {
|
|
6409
|
-
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-
|
|
6410
|
-
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-
|
|
6411
|
-
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-
|
|
6542
|
+
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
6543
|
+
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
6544
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6412
6545
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
6413
6546
|
}
|
|
6414
6547
|
|
|
6415
6548
|
.utrecht-textbox--focus {
|
|
6416
|
-
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-
|
|
6417
|
-
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-
|
|
6418
|
-
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-
|
|
6549
|
+
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
6550
|
+
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
6551
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6419
6552
|
}
|
|
6420
6553
|
|
|
6421
6554
|
.utrecht-textbox--focus-visible {
|
|
@@ -6454,6 +6587,53 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6454
6587
|
font-variant-numeric: slashed-zero;
|
|
6455
6588
|
}
|
|
6456
6589
|
|
|
6590
|
+
.utrecht-textbox--postal-code-nl-size {
|
|
6591
|
+
/* Dutch postal code: 4 numbers, 1 space and 2 letters */
|
|
6592
|
+
--utrecht-textbox-value-max-length: 7;
|
|
6593
|
+
}
|
|
6594
|
+
|
|
6595
|
+
.utrecht-textbox--house-number-size {
|
|
6596
|
+
/* Dutch house number is 99999 at most: 5 numbers */
|
|
6597
|
+
--utrecht-textbox-value-max-length: 5;
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
.utrecht-textbox--house-letter-size {
|
|
6601
|
+
/* Dutch house letter is 1 letter */
|
|
6602
|
+
--utrecht-textbox-value-max-length: 1;
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6605
|
+
.utrecht-textbox--house-addition-size {
|
|
6606
|
+
/* Dutch house addition is optional, between 1 and 4 alphanumeric characters */
|
|
6607
|
+
--utrecht-textbox-value-max-length: 4;
|
|
6608
|
+
}
|
|
6609
|
+
|
|
6610
|
+
.utrecht-textbox--voorvoegsel-size {
|
|
6611
|
+
/* "Tabel 36 Voorvoegselstabel" by "Rijksdienst voor Identiteitsgegevens" has a list
|
|
6612
|
+
* of all allowed values. The longest value is 10 characters.
|
|
6613
|
+
* The class name is in Dutch because it is a Dutch concept. */
|
|
6614
|
+
--utrecht-textbox-value-max-length: 10;
|
|
6615
|
+
}
|
|
6616
|
+
|
|
6617
|
+
.utrecht-textbox--tel-size {
|
|
6618
|
+
/* International telephone number standard E.164 allows 15 numbers, with optional space for 4 spaces */
|
|
6619
|
+
--utrecht-textbox-value-max-length: 19;
|
|
6620
|
+
}
|
|
6621
|
+
|
|
6622
|
+
.utrecht-textbox--tel-nl-size {
|
|
6623
|
+
/* Dutch telephone number: 10 number, typically with at most 3 spaces */
|
|
6624
|
+
--utrecht-textbox-value-max-length: 13;
|
|
6625
|
+
}
|
|
6626
|
+
|
|
6627
|
+
.utrecht-textbox--iban-size {
|
|
6628
|
+
/* Maximum IBAN: 33 characters, plus 8 spaces (one space after every 4 characters) */
|
|
6629
|
+
--utrecht-textbox-value-max-length: 41;
|
|
6630
|
+
}
|
|
6631
|
+
|
|
6632
|
+
.utrecht-textbox--iban-nl-size {
|
|
6633
|
+
/* Dutch IBAN: 18 characters, plus 4 spaces (one space after every 4 characters) */
|
|
6634
|
+
--utrecht-textbox-value-max-length: 22;
|
|
6635
|
+
}
|
|
6636
|
+
|
|
6457
6637
|
/**
|
|
6458
6638
|
* This class name is experimental.
|
|
6459
6639
|
*/
|
|
@@ -6485,9 +6665,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6485
6665
|
*/
|
|
6486
6666
|
}
|
|
6487
6667
|
.utrecht-textbox--html-input:focus {
|
|
6488
|
-
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-
|
|
6489
|
-
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-
|
|
6490
|
-
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-
|
|
6668
|
+
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
6669
|
+
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
6670
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6491
6671
|
/* - The browser default focus ring should apply when these CSS custom properties are not set.
|
|
6492
6672
|
* - Make the `box-shadow` value available, so components that have their own `box-shadow`
|
|
6493
6673
|
* can combine it with the focus ring box shadow.
|
|
@@ -6525,9 +6705,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6525
6705
|
color: var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6526
6706
|
}
|
|
6527
6707
|
.utrecht-textbox--html-input:disabled {
|
|
6528
|
-
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-
|
|
6529
|
-
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-
|
|
6530
|
-
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-
|
|
6708
|
+
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
6709
|
+
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
6710
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6531
6711
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
6532
6712
|
}
|
|
6533
6713
|
.utrecht-textbox--html-input::placeholder {
|
package/package.json
CHANGED
package/LICENSE.txt
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
EUROPEAN UNION PUBLIC LICENCE v. 1.2
|
|
2
|
-
EUPL © the European Union 2007, 2016
|
|
3
|
-
|
|
4
|
-
This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined
|
|
5
|
-
below) which is provided under the terms of this Licence. Any use of the Work,
|
|
6
|
-
other than as authorised under this Licence is prohibited (to the extent such
|
|
7
|
-
use is covered by a right of the copyright holder of the Work).
|
|
8
|
-
|
|
9
|
-
The Work is provided under the terms of this Licence when the Licensor (as
|
|
10
|
-
defined below) has placed the following notice immediately following the
|
|
11
|
-
copyright notice for the Work:
|
|
12
|
-
|
|
13
|
-
Licensed under the EUPL
|
|
14
|
-
|
|
15
|
-
or has expressed by any other means his willingness to license under the EUPL.
|
|
16
|
-
|
|
17
|
-
1. Definitions
|
|
18
|
-
|
|
19
|
-
In this Licence, the following terms have the following meaning:
|
|
20
|
-
|
|
21
|
-
- ‘The Licence’: this Licence.
|
|
22
|
-
|
|
23
|
-
- ‘The Original Work’: the work or software distributed or communicated by the
|
|
24
|
-
Licensor under this Licence, available as Source Code and also as Executable
|
|
25
|
-
Code as the case may be.
|
|
26
|
-
|
|
27
|
-
- ‘Derivative Works’: the works or software that could be created by the
|
|
28
|
-
Licensee, based upon the Original Work or modifications thereof. This Licence
|
|
29
|
-
does not define the extent of modification or dependence on the Original Work
|
|
30
|
-
required in order to classify a work as a Derivative Work; this extent is
|
|
31
|
-
determined by copyright law applicable in the country mentioned in Article 15.
|
|
32
|
-
|
|
33
|
-
- ‘The Work’: the Original Work or its Derivative Works.
|
|
34
|
-
|
|
35
|
-
- ‘The Source Code’: the human-readable form of the Work which is the most
|
|
36
|
-
convenient for people to study and modify.
|
|
37
|
-
|
|
38
|
-
- ‘The Executable Code’: any code which has generally been compiled and which is
|
|
39
|
-
meant to be interpreted by a computer as a program.
|
|
40
|
-
|
|
41
|
-
- ‘The Licensor’: the natural or legal person that distributes or communicates
|
|
42
|
-
the Work under the Licence.
|
|
43
|
-
|
|
44
|
-
- ‘Contributor(s)’: any natural or legal person who modifies the Work under the
|
|
45
|
-
Licence, or otherwise contributes to the creation of a Derivative Work.
|
|
46
|
-
|
|
47
|
-
- ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
|
|
48
|
-
the Work under the terms of the Licence.
|
|
49
|
-
|
|
50
|
-
- ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
|
|
51
|
-
renting, distributing, communicating, transmitting, or otherwise making
|
|
52
|
-
available, online or offline, copies of the Work or providing access to its
|
|
53
|
-
essential functionalities at the disposal of any other natural or legal
|
|
54
|
-
person.
|
|
55
|
-
|
|
56
|
-
2. Scope of the rights granted by the Licence
|
|
57
|
-
|
|
58
|
-
The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
|
59
|
-
sublicensable licence to do the following, for the duration of copyright vested
|
|
60
|
-
in the Original Work:
|
|
61
|
-
|
|
62
|
-
- use the Work in any circumstance and for all usage,
|
|
63
|
-
- reproduce the Work,
|
|
64
|
-
- modify the Work, and make Derivative Works based upon the Work,
|
|
65
|
-
- communicate to the public, including the right to make available or display
|
|
66
|
-
the Work or copies thereof to the public and perform publicly, as the case may
|
|
67
|
-
be, the Work,
|
|
68
|
-
- distribute the Work or copies thereof,
|
|
69
|
-
- lend and rent the Work or copies thereof,
|
|
70
|
-
- sublicense rights in the Work or copies thereof.
|
|
71
|
-
|
|
72
|
-
Those rights can be exercised on any media, supports and formats, whether now
|
|
73
|
-
known or later invented, as far as the applicable law permits so.
|
|
74
|
-
|
|
75
|
-
In the countries where moral rights apply, the Licensor waives his right to
|
|
76
|
-
exercise his moral right to the extent allowed by law in order to make effective
|
|
77
|
-
the licence of the economic rights here above listed.
|
|
78
|
-
|
|
79
|
-
The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to
|
|
80
|
-
any patents held by the Licensor, to the extent necessary to make use of the
|
|
81
|
-
rights granted on the Work under this Licence.
|
|
82
|
-
|
|
83
|
-
3. Communication of the Source Code
|
|
84
|
-
|
|
85
|
-
The Licensor may provide the Work either in its Source Code form, or as
|
|
86
|
-
Executable Code. If the Work is provided as Executable Code, the Licensor
|
|
87
|
-
provides in addition a machine-readable copy of the Source Code of the Work
|
|
88
|
-
along with each copy of the Work that the Licensor distributes or indicates, in
|
|
89
|
-
a notice following the copyright notice attached to the Work, a repository where
|
|
90
|
-
the Source Code is easily and freely accessible for as long as the Licensor
|
|
91
|
-
continues to distribute or communicate the Work.
|
|
92
|
-
|
|
93
|
-
4. Limitations on copyright
|
|
94
|
-
|
|
95
|
-
Nothing in this Licence is intended to deprive the Licensee of the benefits from
|
|
96
|
-
any exception or limitation to the exclusive rights of the rights owners in the
|
|
97
|
-
Work, of the exhaustion of those rights or of other applicable limitations
|
|
98
|
-
thereto.
|
|
99
|
-
|
|
100
|
-
5. Obligations of the Licensee
|
|
101
|
-
|
|
102
|
-
The grant of the rights mentioned above is subject to some restrictions and
|
|
103
|
-
obligations imposed on the Licensee. Those obligations are the following:
|
|
104
|
-
|
|
105
|
-
Attribution right: The Licensee shall keep intact all copyright, patent or
|
|
106
|
-
trademarks notices and all notices that refer to the Licence and to the
|
|
107
|
-
disclaimer of warranties. The Licensee must include a copy of such notices and a
|
|
108
|
-
copy of the Licence with every copy of the Work he/she distributes or
|
|
109
|
-
communicates. The Licensee must cause any Derivative Work to carry prominent
|
|
110
|
-
notices stating that the Work has been modified and the date of modification.
|
|
111
|
-
|
|
112
|
-
Copyleft clause: If the Licensee distributes or communicates copies of the
|
|
113
|
-
Original Works or Derivative Works, this Distribution or Communication will be
|
|
114
|
-
done under the terms of this Licence or of a later version of this Licence
|
|
115
|
-
unless the Original Work is expressly distributed only under this version of the
|
|
116
|
-
Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
|
|
117
|
-
(becoming Licensor) cannot offer or impose any additional terms or conditions on
|
|
118
|
-
the Work or Derivative Work that alter or restrict the terms of the Licence.
|
|
119
|
-
|
|
120
|
-
Compatibility clause: If the Licensee Distributes or Communicates Derivative
|
|
121
|
-
Works or copies thereof based upon both the Work and another work licensed under
|
|
122
|
-
a Compatible Licence, this Distribution or Communication can be done under the
|
|
123
|
-
terms of this Compatible Licence. For the sake of this clause, ‘Compatible
|
|
124
|
-
Licence’ refers to the licences listed in the appendix attached to this Licence.
|
|
125
|
-
Should the Licensee's obligations under the Compatible Licence conflict with
|
|
126
|
-
his/her obligations under this Licence, the obligations of the Compatible
|
|
127
|
-
Licence shall prevail.
|
|
128
|
-
|
|
129
|
-
Provision of Source Code: When distributing or communicating copies of the Work,
|
|
130
|
-
the Licensee will provide a machine-readable copy of the Source Code or indicate
|
|
131
|
-
a repository where this Source will be easily and freely available for as long
|
|
132
|
-
as the Licensee continues to distribute or communicate the Work.
|
|
133
|
-
|
|
134
|
-
Legal Protection: This Licence does not grant permission to use the trade names,
|
|
135
|
-
trademarks, service marks, or names of the Licensor, except as required for
|
|
136
|
-
reasonable and customary use in describing the origin of the Work and
|
|
137
|
-
reproducing the content of the copyright notice.
|
|
138
|
-
|
|
139
|
-
6. Chain of Authorship
|
|
140
|
-
|
|
141
|
-
The original Licensor warrants that the copyright in the Original Work granted
|
|
142
|
-
hereunder is owned by him/her or licensed to him/her and that he/she has the
|
|
143
|
-
power and authority to grant the Licence.
|
|
144
|
-
|
|
145
|
-
Each Contributor warrants that the copyright in the modifications he/she brings
|
|
146
|
-
to the Work are owned by him/her or licensed to him/her and that he/she has the
|
|
147
|
-
power and authority to grant the Licence.
|
|
148
|
-
|
|
149
|
-
Each time You accept the Licence, the original Licensor and subsequent
|
|
150
|
-
Contributors grant You a licence to their contributions to the Work, under the
|
|
151
|
-
terms of this Licence.
|
|
152
|
-
|
|
153
|
-
7. Disclaimer of Warranty
|
|
154
|
-
|
|
155
|
-
The Work is a work in progress, which is continuously improved by numerous
|
|
156
|
-
Contributors. It is not a finished work and may therefore contain defects or
|
|
157
|
-
‘bugs’ inherent to this type of development.
|
|
158
|
-
|
|
159
|
-
For the above reason, the Work is provided under the Licence on an ‘as is’ basis
|
|
160
|
-
and without warranties of any kind concerning the Work, including without
|
|
161
|
-
limitation merchantability, fitness for a particular purpose, absence of defects
|
|
162
|
-
or errors, accuracy, non-infringement of intellectual property rights other than
|
|
163
|
-
copyright as stated in Article 6 of this Licence.
|
|
164
|
-
|
|
165
|
-
This disclaimer of warranty is an essential part of the Licence and a condition
|
|
166
|
-
for the grant of any rights to the Work.
|
|
167
|
-
|
|
168
|
-
8. Disclaimer of Liability
|
|
169
|
-
|
|
170
|
-
Except in the cases of wilful misconduct or damages directly caused to natural
|
|
171
|
-
persons, the Licensor will in no event be liable for any direct or indirect,
|
|
172
|
-
material or moral, damages of any kind, arising out of the Licence or of the use
|
|
173
|
-
of the Work, including without limitation, damages for loss of goodwill, work
|
|
174
|
-
stoppage, computer failure or malfunction, loss of data or any commercial
|
|
175
|
-
damage, even if the Licensor has been advised of the possibility of such damage.
|
|
176
|
-
However, the Licensor will be liable under statutory product liability laws as
|
|
177
|
-
far such laws apply to the Work.
|
|
178
|
-
|
|
179
|
-
9. Additional agreements
|
|
180
|
-
|
|
181
|
-
While distributing the Work, You may choose to conclude an additional agreement,
|
|
182
|
-
defining obligations or services consistent with this Licence. However, if
|
|
183
|
-
accepting obligations, You may act only on your own behalf and on your sole
|
|
184
|
-
responsibility, not on behalf of the original Licensor or any other Contributor,
|
|
185
|
-
and only if You agree to indemnify, defend, and hold each Contributor harmless
|
|
186
|
-
for any liability incurred by, or claims asserted against such Contributor by
|
|
187
|
-
the fact You have accepted any warranty or additional liability.
|
|
188
|
-
|
|
189
|
-
10. Acceptance of the Licence
|
|
190
|
-
|
|
191
|
-
The provisions of this Licence can be accepted by clicking on an icon ‘I agree’
|
|
192
|
-
placed under the bottom of a window displaying the text of this Licence or by
|
|
193
|
-
affirming consent in any other similar way, in accordance with the rules of
|
|
194
|
-
applicable law. Clicking on that icon indicates your clear and irrevocable
|
|
195
|
-
acceptance of this Licence and all of its terms and conditions.
|
|
196
|
-
|
|
197
|
-
Similarly, you irrevocably accept this Licence and all of its terms and
|
|
198
|
-
conditions by exercising any rights granted to You by Article 2 of this Licence,
|
|
199
|
-
such as the use of the Work, the creation by You of a Derivative Work or the
|
|
200
|
-
Distribution or Communication by You of the Work or copies thereof.
|
|
201
|
-
|
|
202
|
-
11. Information to the public
|
|
203
|
-
|
|
204
|
-
In case of any Distribution or Communication of the Work by means of electronic
|
|
205
|
-
communication by You (for example, by offering to download the Work from a
|
|
206
|
-
remote location) the distribution channel or media (for example, a website) must
|
|
207
|
-
at least provide to the public the information requested by the applicable law
|
|
208
|
-
regarding the Licensor, the Licence and the way it may be accessible, concluded,
|
|
209
|
-
stored and reproduced by the Licensee.
|
|
210
|
-
|
|
211
|
-
12. Termination of the Licence
|
|
212
|
-
|
|
213
|
-
The Licence and the rights granted hereunder will terminate automatically upon
|
|
214
|
-
any breach by the Licensee of the terms of the Licence.
|
|
215
|
-
|
|
216
|
-
Such a termination will not terminate the licences of any person who has
|
|
217
|
-
received the Work from the Licensee under the Licence, provided such persons
|
|
218
|
-
remain in full compliance with the Licence.
|
|
219
|
-
|
|
220
|
-
13. Miscellaneous
|
|
221
|
-
|
|
222
|
-
Without prejudice of Article 9 above, the Licence represents the complete
|
|
223
|
-
agreement between the Parties as to the Work.
|
|
224
|
-
|
|
225
|
-
If any provision of the Licence is invalid or unenforceable under applicable
|
|
226
|
-
law, this will not affect the validity or enforceability of the Licence as a
|
|
227
|
-
whole. Such provision will be construed or reformed so as necessary to make it
|
|
228
|
-
valid and enforceable.
|
|
229
|
-
|
|
230
|
-
The European Commission may publish other linguistic versions or new versions of
|
|
231
|
-
this Licence or updated versions of the Appendix, so far this is required and
|
|
232
|
-
reasonable, without reducing the scope of the rights granted by the Licence. New
|
|
233
|
-
versions of the Licence will be published with a unique version number.
|
|
234
|
-
|
|
235
|
-
All linguistic versions of this Licence, approved by the European Commission,
|
|
236
|
-
have identical value. Parties can take advantage of the linguistic version of
|
|
237
|
-
their choice.
|
|
238
|
-
|
|
239
|
-
14. Jurisdiction
|
|
240
|
-
|
|
241
|
-
Without prejudice to specific agreement between parties,
|
|
242
|
-
|
|
243
|
-
- any litigation resulting from the interpretation of this License, arising
|
|
244
|
-
between the European Union institutions, bodies, offices or agencies, as a
|
|
245
|
-
Licensor, and any Licensee, will be subject to the jurisdiction of the Court
|
|
246
|
-
of Justice of the European Union, as laid down in article 272 of the Treaty on
|
|
247
|
-
the Functioning of the European Union,
|
|
248
|
-
|
|
249
|
-
- any litigation arising between other parties and resulting from the
|
|
250
|
-
interpretation of this License, will be subject to the exclusive jurisdiction
|
|
251
|
-
of the competent court where the Licensor resides or conducts its primary
|
|
252
|
-
business.
|
|
253
|
-
|
|
254
|
-
15. Applicable Law
|
|
255
|
-
|
|
256
|
-
Without prejudice to specific agreement between parties,
|
|
257
|
-
|
|
258
|
-
- this Licence shall be governed by the law of the European Union Member State
|
|
259
|
-
where the Licensor has his seat, resides or has his registered office,
|
|
260
|
-
|
|
261
|
-
- this licence shall be governed by Belgian law if the Licensor has no seat,
|
|
262
|
-
residence or registered office inside a European Union Member State.
|
|
263
|
-
|
|
264
|
-
Appendix
|
|
265
|
-
|
|
266
|
-
‘Compatible Licences’ according to Article 5 EUPL are:
|
|
267
|
-
|
|
268
|
-
- GNU General Public License (GPL) v. 2, v. 3
|
|
269
|
-
- GNU Affero General Public License (AGPL) v. 3
|
|
270
|
-
- Open Software License (OSL) v. 2.1, v. 3.0
|
|
271
|
-
- Eclipse Public License (EPL) v. 1.0
|
|
272
|
-
- CeCILL v. 2.0, v. 2.1
|
|
273
|
-
- Mozilla Public Licence (MPL) v. 2
|
|
274
|
-
- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
|
|
275
|
-
- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
|
|
276
|
-
works other than software
|
|
277
|
-
- European Union Public Licence (EUPL) v. 1.1, v. 1.2
|
|
278
|
-
- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong
|
|
279
|
-
Reciprocity (LiLiQ-R+).
|
|
280
|
-
|
|
281
|
-
The European Commission may update this Appendix to later versions of the above
|
|
282
|
-
licences without producing a new version of the EUPL, as long as they provide
|
|
283
|
-
the rights granted in Article 2 of this Licence and protect the covered Source
|
|
284
|
-
Code from exclusive appropriation.
|
|
285
|
-
|
|
286
|
-
All other changes or additions to this Appendix require the production of a new
|
|
287
|
-
EUPL version.
|