@utrecht/component-library-css 3.0.1-alpha.4 → 3.0.1-alpha.40
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/html.css +33 -8
- package/dist/index.css +197 -29
- package/package.json +1 -2
- package/LICENSE.txt +0 -287
package/dist/html.css
CHANGED
|
@@ -1512,7 +1512,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1512
1512
|
inline-size: 100%;
|
|
1513
1513
|
line-height: var(--utrecht-textarea-line-height, initial);
|
|
1514
1514
|
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);
|
|
1515
|
+
min-block-size: var(--utrecht-textarea-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
1516
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1516
1517
|
padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
1517
1518
|
padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
1518
1519
|
padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -1590,6 +1591,28 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1590
1591
|
.utrecht-html input[type=time i],
|
|
1591
1592
|
.utrecht-html input[type=url i],
|
|
1592
1593
|
.utrecht-html input[type=week i] {
|
|
1594
|
+
/* The average character inline-size is an approximation, with a default that works for Dutch text.
|
|
1595
|
+
* The average might need to be configured specifically, for other scripts (CJK characters)
|
|
1596
|
+
* and very wide or very narrow fonts.
|
|
1597
|
+
* For monospace fonts it can be set to `1ch`.
|
|
1598
|
+
*/
|
|
1599
|
+
--_utrecht-textbox-value-char: 0.667em + 0.334ch;
|
|
1600
|
+
/* Because this element uses `border-box` box-sizing, we need to manually add up the
|
|
1601
|
+
* border width, padding width and the content width.
|
|
1602
|
+
*
|
|
1603
|
+
* Browsers and browser addons can add buttons inside the content box, for example
|
|
1604
|
+
* for autocomplete. To avoid overlap between the UI and the text, we reserve
|
|
1605
|
+
* some additional pixels to make space. We use 44px in accordance with the WCAG target size.
|
|
1606
|
+
*
|
|
1607
|
+
* When you are certain an element has no such UI, you can set the `autocomplete-ui-size` to `0px` (not to `0`).
|
|
1608
|
+
*/
|
|
1609
|
+
--_utrecht-textbox-max-inline-size: calc(
|
|
1610
|
+
calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) +
|
|
1611
|
+
var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) +
|
|
1612
|
+
var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) +
|
|
1613
|
+
var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) +
|
|
1614
|
+
var(--utrecht-textbox-autocomplete-ui-size, 44px)
|
|
1615
|
+
);
|
|
1593
1616
|
background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));
|
|
1594
1617
|
block-size: initial; /* harden */
|
|
1595
1618
|
border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));
|
|
@@ -1604,7 +1627,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1604
1627
|
font-weight: initial; /* harden */
|
|
1605
1628
|
inline-size: 100%;
|
|
1606
1629
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
1607
|
-
|
|
1630
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1631
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1632
|
+
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
1633
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
1609
1634
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
1610
1635
|
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -1629,9 +1654,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1629
1654
|
.utrecht-html input[type=time i]:focus,
|
|
1630
1655
|
.utrecht-html input[type=url i]:focus,
|
|
1631
1656
|
.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-
|
|
1657
|
+
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))));
|
|
1658
|
+
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))));
|
|
1659
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
1635
1660
|
/* - The browser default focus ring should apply when these CSS custom properties are not set.
|
|
1636
1661
|
* - Make the `box-shadow` value available, so components that have their own `box-shadow`
|
|
1637
1662
|
* can combine it with the focus ring box shadow.
|
|
@@ -1729,9 +1754,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1729
1754
|
.utrecht-html input[type=time i]:disabled,
|
|
1730
1755
|
.utrecht-html input[type=url i]:disabled,
|
|
1731
1756
|
.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-
|
|
1757
|
+
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))));
|
|
1758
|
+
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))));
|
|
1759
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
1735
1760
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
1736
1761
|
}
|
|
1737
1762
|
.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);
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
--utrecht-button-subtle-border-width: var(--utrecht-accordion-button-border-width);
|
|
70
71
|
justify-content: start !important;
|
|
71
72
|
position: relative;
|
|
73
|
+
text-align: start;
|
|
72
74
|
}
|
|
73
75
|
.utrecht-accordion__button[aria-expanded]::after {
|
|
74
76
|
background-color: var(--utrecht-accordion-button-icon-background-color);
|
|
@@ -381,8 +383,8 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
381
383
|
border-radius: var(--utrecht-badge-counter-border-radius, var(--utrecht-badge-border-radius, 0.5ch));
|
|
382
384
|
color: var(--utrecht-badge-counter-color, var(--utrecht-badge-color, hsl(0, 0%, 100%)));
|
|
383
385
|
display: inline-block;
|
|
384
|
-
font-family: var(--utrecht-document-font-family, sans-serif);
|
|
385
|
-
font-size: var(--utrecht-badge-counter-font-size);
|
|
386
|
+
font-family: var(--utrecht-badge-counter-font-family, var(--utrecht-badge-font-family, var(--utrecht-document-font-family, sans-serif)));
|
|
387
|
+
font-size: var(--utrecht-badge-counter-font-size, var(--utrecht-badge-font-size));
|
|
386
388
|
font-style: var(--utrecht-badge-counter-font-style, normal); /* no inheritance */
|
|
387
389
|
font-weight: var(--utrecht-badge-counter-font-weight, var(--utrecht-badge-font-weight, bold)); /* no inheritance */
|
|
388
390
|
line-height: 1;
|
|
@@ -748,24 +750,23 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
748
750
|
padding-inline-start: var(--utrecht-breadcrumb-nav-item-padding-inline-start, 8px);
|
|
749
751
|
}
|
|
750
752
|
|
|
753
|
+
.utrecht-breadcrumb-nav__link--current {
|
|
754
|
+
--utrecht-link-current-font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
755
|
+
/* configure the `current` `cursor` only when the current state is applied */
|
|
756
|
+
--_utrecht-breadcrumb-nav-link-current-cursor: var(--utrecht-action-inert-cursor, default);
|
|
757
|
+
font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
758
|
+
}
|
|
759
|
+
|
|
751
760
|
.utrecht-breadcrumb-nav__link--disabled {
|
|
752
761
|
--utrecht-link-placeholder-color: var(
|
|
753
762
|
--utrecht-breadcrumb-nav-link-disabled-color,
|
|
754
763
|
var(--utrecht-breadcrumb-nav-link-color)
|
|
755
764
|
);
|
|
765
|
+
/* configure the `disabled` `cursor` only when the current state is applied */
|
|
766
|
+
--_utrecht-breadcrumb-nav-link-disabled-cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
756
767
|
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);
|
|
768
|
+
/* Use the `current` cursor when available, otherwise use the `disabled` cursor */
|
|
769
|
+
cursor: var(--_utrecht-breadcrumb-nav-link-current-cursor, var(--_utrecht-breadcrumb-nav-link-disabled-cursor));
|
|
769
770
|
}
|
|
770
771
|
|
|
771
772
|
/* stylelint-disable-next-line block-no-empty */
|
|
@@ -2377,6 +2378,7 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
2377
2378
|
background-size: contain;
|
|
2378
2379
|
block-size: var(--utrecht-checkbox-size, 1em);
|
|
2379
2380
|
border-color: var(--utrecht-checkbox-border-color);
|
|
2381
|
+
border-radius: var(--utrecht-checkbox-border-radius, 0);
|
|
2380
2382
|
border-style: solid;
|
|
2381
2383
|
border-width: var(--utrecht-checkbox-border-width);
|
|
2382
2384
|
cursor: var(--utrecht-action-activate-cursor, revert);
|
|
@@ -3110,8 +3112,8 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
3110
3112
|
}
|
|
3111
3113
|
|
|
3112
3114
|
.utrecht-form-label--disabled {
|
|
3115
|
+
color: var(--utrecht-form-label-disabled-color, var(--utrecht-form-label-color));
|
|
3113
3116
|
cursor: var(--utrecht-action-disabled-cursor, revert);
|
|
3114
|
-
font-weight: var(--utrecht-form-label-disabled-color, var(--utrecht-form-label-color));
|
|
3115
3117
|
}
|
|
3116
3118
|
|
|
3117
3119
|
.utrecht-form-label--radio {
|
|
@@ -3228,6 +3230,10 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
3228
3230
|
inline-size: 100%;
|
|
3229
3231
|
}
|
|
3230
3232
|
|
|
3233
|
+
.utrecht-form-toggle__track--html-label {
|
|
3234
|
+
cursor: inherit;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3231
3237
|
.utrecht-form-toggle__track--checked, .utrecht-form-toggle--html-checkbox .utrecht-form-toggle__checkbox:checked ~ .utrecht-form-toggle__track {
|
|
3232
3238
|
background-color: var(--utrecht-form-toggle-checked-accent-color, var(--utrecht-form-toggle-accent-color));
|
|
3233
3239
|
}
|
|
@@ -3624,6 +3630,7 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
3624
3630
|
.utrecht-link-list__item {
|
|
3625
3631
|
--utrecht-icon-size: var(--utrecht-link-list-icon-size);
|
|
3626
3632
|
--utrecht-link-icon-size: var(--utrecht-link-list-icon-size);
|
|
3633
|
+
--utrecht-icon-inset-block-start: var(--utrecht-link-list-icon-inset-block-start);
|
|
3627
3634
|
display: block;
|
|
3628
3635
|
font-weight: var(--utrecht-link-list-item-font-weight);
|
|
3629
3636
|
}
|
|
@@ -4429,6 +4436,86 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4429
4436
|
margin-block-start: 0;
|
|
4430
4437
|
}
|
|
4431
4438
|
|
|
4439
|
+
/**
|
|
4440
|
+
* @license EUPL-1.2
|
|
4441
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4442
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4443
|
+
*/
|
|
4444
|
+
.utrecht-nav-bar {
|
|
4445
|
+
background-color: var(--utrecht-nav-bar-background-color);
|
|
4446
|
+
color: var(--utrecht-nav-bar-color);
|
|
4447
|
+
display: flex;
|
|
4448
|
+
justify-content: center;
|
|
4449
|
+
}
|
|
4450
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
4451
|
+
.utrecht-nav-bar {
|
|
4452
|
+
border-block-end-color: currentColor;
|
|
4453
|
+
border-block-end-style: solid;
|
|
4454
|
+
border-block-end-width: 1px;
|
|
4455
|
+
/* add `padding` in `forced-colors` mode to make room for contrasting focus ring */
|
|
4456
|
+
border-block-start-color: currentColor;
|
|
4457
|
+
border-block-start-style: solid;
|
|
4458
|
+
border-block-start-width: 1px;
|
|
4459
|
+
padding-block-end: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4460
|
+
padding-block-start: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4461
|
+
}
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
.utrecht-nav-bar__content {
|
|
4465
|
+
align-items: stretch;
|
|
4466
|
+
display: flex;
|
|
4467
|
+
flex-direction: row;
|
|
4468
|
+
flex-wrap: wrap;
|
|
4469
|
+
inline-size: 100%;
|
|
4470
|
+
justify-content: space-between;
|
|
4471
|
+
/* Wrap content to accomodate:
|
|
4472
|
+
* - 400% zoom
|
|
4473
|
+
* - longer text due to automatic translation
|
|
4474
|
+
* - longer text due to editorial content requirements
|
|
4475
|
+
*/
|
|
4476
|
+
max-inline-size: var(--utrecht-nav-bar-content-max-inline-size);
|
|
4477
|
+
}
|
|
4478
|
+
|
|
4479
|
+
/**
|
|
4480
|
+
* @license EUPL-1.2
|
|
4481
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4482
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4483
|
+
*/
|
|
4484
|
+
.utrecht-nav-list {
|
|
4485
|
+
margin-block-end: 0;
|
|
4486
|
+
margin-block-start: 0;
|
|
4487
|
+
margin-inline-end: 0;
|
|
4488
|
+
margin-inline-start: 0;
|
|
4489
|
+
padding-inline-start: 0;
|
|
4490
|
+
align-items: stretch;
|
|
4491
|
+
display: flex;
|
|
4492
|
+
flex-direction: row;
|
|
4493
|
+
flex-wrap: wrap;
|
|
4494
|
+
inline-size: 100%;
|
|
4495
|
+
justify-content: start;
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
.utrecht-nav-list--center > * {
|
|
4499
|
+
flex: 1 1 0;
|
|
4500
|
+
justify-content: center;
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
.utrecht-nav-list__item {
|
|
4504
|
+
list-style: none;
|
|
4505
|
+
display: inline-flex;
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4508
|
+
/* Style for the navigation links */
|
|
4509
|
+
.utrecht-nav-list__link {
|
|
4510
|
+
font-weight: var(--utrecht-nav-list-link-font-weight);
|
|
4511
|
+
max-inline-size: var(--utrecht-nav-bar-link-max-inline-size, 30ch);
|
|
4512
|
+
padding-block-end: var(--utrecht-nav-bar-link-padding-block-end);
|
|
4513
|
+
padding-block-start: var(--utrecht-nav-bar-link-padding-block-start);
|
|
4514
|
+
padding-inline-end: var(--utrecht-nav-bar-link-padding-inline-end);
|
|
4515
|
+
padding-inline-start: var(--utrecht-nav-bar-link-padding-inline-start);
|
|
4516
|
+
text-decoration: none;
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4432
4519
|
/**
|
|
4433
4520
|
* @license EUPL-1.2
|
|
4434
4521
|
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
@@ -5871,6 +5958,15 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5871
5958
|
*/
|
|
5872
5959
|
/* stylelint-disable-next-line block-no-empty */
|
|
5873
5960
|
/* stylelint-disable-next-line block-no-empty */
|
|
5961
|
+
.utrecht-table-container--overflow-inline {
|
|
5962
|
+
background-attachment: local, local, scroll, scroll;
|
|
5963
|
+
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));
|
|
5964
|
+
background-position: left center, right center, left center, right center;
|
|
5965
|
+
background-repeat: no-repeat;
|
|
5966
|
+
background-size: 20px 100%, 20px 100%, 10px 100%, 10px 100%;
|
|
5967
|
+
overflow: auto;
|
|
5968
|
+
}
|
|
5969
|
+
|
|
5874
5970
|
.utrecht-table {
|
|
5875
5971
|
/* `border-collapse: collapse` results in a broken border for sticky header and sticky footer.
|
|
5876
5972
|
* Therefore we need to use `border-collapse: separate` instead.
|
|
@@ -6220,7 +6316,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6220
6316
|
inline-size: 100%;
|
|
6221
6317
|
line-height: var(--utrecht-textarea-line-height, initial);
|
|
6222
6318
|
max-inline-size: var(--utrecht-textarea-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
6223
|
-
min-block-size: var(--utrecht-textarea-min-block-size);
|
|
6319
|
+
min-block-size: var(--utrecht-textarea-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
6320
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6224
6321
|
padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6225
6322
|
padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
6226
6323
|
padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -6367,6 +6464,28 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6367
6464
|
* https://github.com/hudochenkov/stylelint-order/pull/162 */
|
|
6368
6465
|
/* stylelint-disable order/properties-alphabetical-order */
|
|
6369
6466
|
.utrecht-textbox {
|
|
6467
|
+
/* The average character inline-size is an approximation, with a default that works for Dutch text.
|
|
6468
|
+
* The average might need to be configured specifically, for other scripts (CJK characters)
|
|
6469
|
+
* and very wide or very narrow fonts.
|
|
6470
|
+
* For monospace fonts it can be set to `1ch`.
|
|
6471
|
+
*/
|
|
6472
|
+
--_utrecht-textbox-value-char: 0.667em + 0.334ch;
|
|
6473
|
+
/* Because this element uses `border-box` box-sizing, we need to manually add up the
|
|
6474
|
+
* border width, padding width and the content width.
|
|
6475
|
+
*
|
|
6476
|
+
* Browsers and browser addons can add buttons inside the content box, for example
|
|
6477
|
+
* for autocomplete. To avoid overlap between the UI and the text, we reserve
|
|
6478
|
+
* some additional pixels to make space. We use 44px in accordance with the WCAG target size.
|
|
6479
|
+
*
|
|
6480
|
+
* When you are certain an element has no such UI, you can set the `autocomplete-ui-size` to `0px` (not to `0`).
|
|
6481
|
+
*/
|
|
6482
|
+
--_utrecht-textbox-max-inline-size: calc(
|
|
6483
|
+
calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) +
|
|
6484
|
+
var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) +
|
|
6485
|
+
var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) +
|
|
6486
|
+
var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) +
|
|
6487
|
+
var(--utrecht-textbox-autocomplete-ui-size, 44px)
|
|
6488
|
+
);
|
|
6370
6489
|
background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));
|
|
6371
6490
|
block-size: initial; /* harden */
|
|
6372
6491
|
border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));
|
|
@@ -6381,7 +6500,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6381
6500
|
font-weight: initial; /* harden */
|
|
6382
6501
|
inline-size: 100%;
|
|
6383
6502
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
6384
|
-
|
|
6503
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6504
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6505
|
+
max-inline-size: min(var(--_utrecht-textbox-max-inline-size, 100%), var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));
|
|
6385
6506
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6386
6507
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
6387
6508
|
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -6404,16 +6525,16 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6404
6525
|
}
|
|
6405
6526
|
|
|
6406
6527
|
.utrecht-textbox--disabled {
|
|
6407
|
-
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-
|
|
6408
|
-
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-
|
|
6409
|
-
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-
|
|
6528
|
+
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))));
|
|
6529
|
+
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))));
|
|
6530
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6410
6531
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
6411
6532
|
}
|
|
6412
6533
|
|
|
6413
6534
|
.utrecht-textbox--focus {
|
|
6414
|
-
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-
|
|
6415
|
-
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-
|
|
6416
|
-
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-
|
|
6535
|
+
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))));
|
|
6536
|
+
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))));
|
|
6537
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6417
6538
|
}
|
|
6418
6539
|
|
|
6419
6540
|
.utrecht-textbox--focus-visible {
|
|
@@ -6452,6 +6573,53 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6452
6573
|
font-variant-numeric: slashed-zero;
|
|
6453
6574
|
}
|
|
6454
6575
|
|
|
6576
|
+
.utrecht-textbox--postal-code-nl-size {
|
|
6577
|
+
/* Dutch postal code: 4 numbers, 1 space and 2 letters */
|
|
6578
|
+
--utrecht-textbox-value-max-length: 7;
|
|
6579
|
+
}
|
|
6580
|
+
|
|
6581
|
+
.utrecht-textbox--house-number-size {
|
|
6582
|
+
/* Dutch house number is 99999 at most: 5 numbers */
|
|
6583
|
+
--utrecht-textbox-value-max-length: 5;
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6586
|
+
.utrecht-textbox--house-letter-size {
|
|
6587
|
+
/* Dutch house letter is 1 letter */
|
|
6588
|
+
--utrecht-textbox-value-max-length: 1;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
.utrecht-textbox--house-addition-size {
|
|
6592
|
+
/* Dutch house addition is optional, between 1 and 4 alphanumeric characters */
|
|
6593
|
+
--utrecht-textbox-value-max-length: 4;
|
|
6594
|
+
}
|
|
6595
|
+
|
|
6596
|
+
.utrecht-textbox--voorvoegsel-size {
|
|
6597
|
+
/* "Tabel 36 Voorvoegselstabel" by "Rijksdienst voor Identiteitsgegevens" has a list
|
|
6598
|
+
* of all allowed values. The longest value is 10 characters.
|
|
6599
|
+
* The class name is in Dutch because it is a Dutch concept. */
|
|
6600
|
+
--utrecht-textbox-value-max-length: 10;
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6603
|
+
.utrecht-textbox--tel-size {
|
|
6604
|
+
/* International telephone number standard E.164 allows 15 numbers, with optional space for 4 spaces */
|
|
6605
|
+
--utrecht-textbox-value-max-length: 19;
|
|
6606
|
+
}
|
|
6607
|
+
|
|
6608
|
+
.utrecht-textbox--tel-nl-size {
|
|
6609
|
+
/* Dutch telephone number: 10 number, typically with at most 3 spaces */
|
|
6610
|
+
--utrecht-textbox-value-max-length: 13;
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6613
|
+
.utrecht-textbox--iban-size {
|
|
6614
|
+
/* Maximum IBAN: 33 characters, plus 8 spaces (one space after every 4 characters) */
|
|
6615
|
+
--utrecht-textbox-value-max-length: 41;
|
|
6616
|
+
}
|
|
6617
|
+
|
|
6618
|
+
.utrecht-textbox--iban-nl-size {
|
|
6619
|
+
/* Dutch IBAN: 18 characters, plus 4 spaces (one space after every 4 characters) */
|
|
6620
|
+
--utrecht-textbox-value-max-length: 22;
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6455
6623
|
/**
|
|
6456
6624
|
* This class name is experimental.
|
|
6457
6625
|
*/
|
|
@@ -6483,9 +6651,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6483
6651
|
*/
|
|
6484
6652
|
}
|
|
6485
6653
|
.utrecht-textbox--html-input:focus {
|
|
6486
|
-
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-
|
|
6487
|
-
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-
|
|
6488
|
-
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-
|
|
6654
|
+
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))));
|
|
6655
|
+
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))));
|
|
6656
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6489
6657
|
/* - The browser default focus ring should apply when these CSS custom properties are not set.
|
|
6490
6658
|
* - Make the `box-shadow` value available, so components that have their own `box-shadow`
|
|
6491
6659
|
* can combine it with the focus ring box shadow.
|
|
@@ -6523,9 +6691,9 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6523
6691
|
color: var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6524
6692
|
}
|
|
6525
6693
|
.utrecht-textbox--html-input:disabled {
|
|
6526
|
-
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-
|
|
6527
|
-
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-
|
|
6528
|
-
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-
|
|
6694
|
+
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))));
|
|
6695
|
+
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))));
|
|
6696
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
6529
6697
|
cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
6530
6698
|
}
|
|
6531
6699
|
.utrecht-textbox--html-input::placeholder {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.0.1-alpha.
|
|
2
|
+
"version": "3.0.1-alpha.40",
|
|
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",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
},
|
|
23
23
|
"main": "dist/index.css",
|
|
24
24
|
"scripts": {
|
|
25
|
-
"prebuild": "npm run clean",
|
|
26
25
|
"build": "sass src/:dist/ --load-path=../../node_modules/ --no-source-map",
|
|
27
26
|
"clean": "rimraf dist/"
|
|
28
27
|
}
|
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.
|