@utrecht/component-library-css 3.0.1-alpha.21 → 3.0.1-alpha.23
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 +4 -1
- package/dist/index.css +84 -1
- package/package.json +1 -1
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));
|
|
@@ -1604,6 +1605,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1604
1605
|
font-weight: initial; /* harden */
|
|
1605
1606
|
inline-size: 100%;
|
|
1606
1607
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
1608
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1609
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
1607
1610
|
max-inline-size: var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
1608
1611
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
1609
1612
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
package/dist/index.css
CHANGED
|
@@ -4432,6 +4432,86 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4432
4432
|
margin-block-start: 0;
|
|
4433
4433
|
}
|
|
4434
4434
|
|
|
4435
|
+
/**
|
|
4436
|
+
* @license EUPL-1.2
|
|
4437
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4438
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4439
|
+
*/
|
|
4440
|
+
.utrecht-nav-bar {
|
|
4441
|
+
background-color: var(--utrecht-nav-bar-background-color);
|
|
4442
|
+
color: var(--utrecht-nav-bar-color);
|
|
4443
|
+
display: flex;
|
|
4444
|
+
justify-content: center;
|
|
4445
|
+
}
|
|
4446
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
4447
|
+
.utrecht-nav-bar {
|
|
4448
|
+
border-block-end-color: currentColor;
|
|
4449
|
+
border-block-end-style: solid;
|
|
4450
|
+
border-block-end-width: 1px;
|
|
4451
|
+
/* add `padding` in `forced-colors` mode to make room for contrasting focus ring */
|
|
4452
|
+
border-block-start-color: currentColor;
|
|
4453
|
+
border-block-start-style: solid;
|
|
4454
|
+
border-block-start-width: 1px;
|
|
4455
|
+
padding-block-end: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4456
|
+
padding-block-start: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
.utrecht-nav-bar__content {
|
|
4461
|
+
align-items: stretch;
|
|
4462
|
+
display: flex;
|
|
4463
|
+
flex-direction: row;
|
|
4464
|
+
flex-wrap: wrap;
|
|
4465
|
+
inline-size: 100%;
|
|
4466
|
+
justify-content: space-between;
|
|
4467
|
+
/* Wrap content to accomodate:
|
|
4468
|
+
* - 400% zoom
|
|
4469
|
+
* - longer text due to automatic translation
|
|
4470
|
+
* - longer text due to editorial content requirements
|
|
4471
|
+
*/
|
|
4472
|
+
max-inline-size: var(--utrecht-nav-bar-content-max-inline-size);
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* @license EUPL-1.2
|
|
4477
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4478
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4479
|
+
*/
|
|
4480
|
+
.utrecht-nav-list {
|
|
4481
|
+
margin-block-end: 0;
|
|
4482
|
+
margin-block-start: 0;
|
|
4483
|
+
margin-inline-end: 0;
|
|
4484
|
+
margin-inline-start: 0;
|
|
4485
|
+
padding-inline-start: 0;
|
|
4486
|
+
align-items: stretch;
|
|
4487
|
+
display: flex;
|
|
4488
|
+
flex-direction: row;
|
|
4489
|
+
flex-wrap: wrap;
|
|
4490
|
+
inline-size: 100%;
|
|
4491
|
+
justify-content: start;
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4494
|
+
.utrecht-nav-list--center > * {
|
|
4495
|
+
flex: 1 1 0;
|
|
4496
|
+
justify-content: center;
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
.utrecht-nav-list__item {
|
|
4500
|
+
list-style: none;
|
|
4501
|
+
display: inline-flex;
|
|
4502
|
+
}
|
|
4503
|
+
|
|
4504
|
+
/* Style for the navigation links */
|
|
4505
|
+
.utrecht-nav-list__link {
|
|
4506
|
+
font-weight: var(--utrecht-nav-list-link-font-weight);
|
|
4507
|
+
max-inline-size: var(--utrecht-nav-bar-link-max-inline-size, 30ch);
|
|
4508
|
+
padding-block-end: var(--utrecht-nav-bar-link-padding-block-end);
|
|
4509
|
+
padding-block-start: var(--utrecht-nav-bar-link-padding-block-start);
|
|
4510
|
+
padding-inline-end: var(--utrecht-nav-bar-link-padding-inline-end);
|
|
4511
|
+
padding-inline-start: var(--utrecht-nav-bar-link-padding-inline-start);
|
|
4512
|
+
text-decoration: none;
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4435
4515
|
/**
|
|
4436
4516
|
* @license EUPL-1.2
|
|
4437
4517
|
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
@@ -6223,7 +6303,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6223
6303
|
inline-size: 100%;
|
|
6224
6304
|
line-height: var(--utrecht-textarea-line-height, initial);
|
|
6225
6305
|
max-inline-size: var(--utrecht-textarea-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
6226
|
-
min-block-size: var(--utrecht-textarea-min-block-size);
|
|
6306
|
+
min-block-size: var(--utrecht-textarea-min-block-size, var(--utrecht-pointer-target-min-size, 44px));
|
|
6307
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6227
6308
|
padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6228
6309
|
padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
6229
6310
|
padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
@@ -6384,6 +6465,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
6384
6465
|
font-weight: initial; /* harden */
|
|
6385
6466
|
inline-size: 100%;
|
|
6386
6467
|
line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
|
|
6468
|
+
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6469
|
+
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
6387
6470
|
max-inline-size: var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size));
|
|
6388
6471
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
6389
6472
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
package/package.json
CHANGED