@utrecht/component-library-css 1.0.0-alpha.313 → 1.0.0-alpha.316

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 CHANGED
@@ -668,6 +668,7 @@
668
668
  --utrecht-space-around: 1;
669
669
  }
670
670
  .utrecht-html a:link {
671
+ --utrecht-icon-size: var(--utrecht-link-icon-size, 1em);
671
672
  color: var(--utrecht-link-color, blue);
672
673
  text-decoration: var(--utrecht-link-text-decoration, underline);
673
674
  text-decoration-skip-ink: all;
package/dist/index.css CHANGED
@@ -1364,14 +1364,6 @@ ol.utrecht-breadcrumb__list {
1364
1364
  gap: var(--utrecht-space-inline-sm);
1365
1365
  }
1366
1366
 
1367
- .utrecht-digid-button__logo {
1368
- order: 1;
1369
- }
1370
-
1371
- .utrecht-digid-button__button {
1372
- order: 2;
1373
- }
1374
-
1375
1367
  /**
1376
1368
  * @license EUPL-1.2
1377
1369
  * Copyright (c) 2021 Robbert Broersma
@@ -2160,6 +2152,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
2160
2152
  */
2161
2153
  /* stylelint-disable-next-line block-no-empty */
2162
2154
  .utrecht-link-button {
2155
+ --utrecht-icon-size: var(--utrecht-link-icon-size, 1em);
2163
2156
  color: var(--utrecht-link-color, blue);
2164
2157
  text-decoration: var(--utrecht-link-text-decoration, underline);
2165
2158
  text-decoration-skip-ink: all;
@@ -2344,6 +2337,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
2344
2337
  * Changing `display: inline` to `inline-block` ensures the focus outline is rendered around the entire box.
2345
2338
  */
2346
2339
  .utrecht-link {
2340
+ --utrecht-icon-size: var(--utrecht-link-icon-size, 1em);
2347
2341
  color: var(--utrecht-link-color, blue);
2348
2342
  text-decoration: var(--utrecht-link-text-decoration, underline);
2349
2343
  text-decoration-skip-ink: all;
@@ -3408,6 +3402,83 @@ however browsers don't seem to have implemented great looking supixel tweening y
3408
3402
  --utrecht-space-around: 1;
3409
3403
  }
3410
3404
 
3405
+ /**
3406
+ * @license EUPL-1.2
3407
+ * Copyright (c) 2020-2022 Gemeente Utrecht
3408
+ * Copyright (c) 2020-2022 Frameless B.V.
3409
+ */
3410
+ /**
3411
+ * @license EUPL-1.2
3412
+ * Copyright (c) 2020-2022 Gemeente Utrecht
3413
+ * Copyright (c) 2020-2022 Frameless B.V.
3414
+ */
3415
+ /**
3416
+ * @license EUPL-1.2
3417
+ * Copyright (c) 2021 Gemeente Utrecht
3418
+ * Copyright (c) 2021 Robbert Broersma
3419
+ */
3420
+ /* stylelint-disable-next-line block-no-empty */
3421
+ .utrecht-skip-link {
3422
+ align-items: center;
3423
+ background-color: var(--utrecht-skip-link-background-color);
3424
+ box-sizing: border-box;
3425
+ color: var(--utrecht-skip-link-color);
3426
+ display: inline-flex;
3427
+ justify-content: center;
3428
+ min-block-size: var(--utrecht-skip-link-min-block-size, 44px);
3429
+ min-inline-size: var(--utrecht-skip-link-min-inline-size, 44px);
3430
+ padding-block-end: var(--utrecht-skip-link-padding-block-end);
3431
+ padding-block-start: var(--utrecht-skip-link-padding-block-start);
3432
+ padding-inline-end: var(--utrecht-skip-link-padding-inline-end);
3433
+ padding-inline-start: var(--utrecht-skip-link-padding-inline-start);
3434
+ text-decoration: var(--utrecht-skip-link-text-decoration);
3435
+ }
3436
+
3437
+ .utrecht-skip-link--hidden {
3438
+ inset-block-start: -200%;
3439
+ position: fixed;
3440
+ }
3441
+
3442
+ .utrecht-skip-link--visible-on-focus {
3443
+ inset-block-start: -200%;
3444
+ position: fixed;
3445
+ }
3446
+
3447
+ .utrecht-skip-link--visible-on-focus:focus {
3448
+ /**
3449
+ * WCAG 2.2 / 2.4.12: "No part of the focus indicator is hidden by author-created content".
3450
+ * To go the extra mile, ensure the focus indicator is inside the viewport.
3451
+ * */
3452
+ --_utrecht-skip-link-inset: calc(var(--utrecht-focus-outline-width, 0px) + var(--utrecht-focus-outline-offset, 0px));
3453
+ inset-block-start: var(--_utrecht-skip-link-inset, 0);
3454
+ inset-inline-start: var(--_utrecht-skip-link-inset, 0);
3455
+ position: fixed;
3456
+ z-index: var(--utrecht-skip-link-z-index, var(--utrecht-layer-focus-z-index));
3457
+ }
3458
+
3459
+ .utrecht-skip-link--visible {
3460
+ /**
3461
+ * WCAG 2.2 / 2.4.12: "No part of the focus indicator is hidden by author-created content".
3462
+ * To go the extra mile, ensure the focus indicator is inside the viewport.
3463
+ * */
3464
+ --_utrecht-skip-link-inset: calc(var(--utrecht-focus-outline-width, 0px) + var(--utrecht-focus-outline-offset, 0px));
3465
+ inset-block-start: var(--_utrecht-skip-link-inset, 0);
3466
+ inset-inline-start: var(--_utrecht-skip-link-inset, 0);
3467
+ position: fixed;
3468
+ z-index: var(--utrecht-skip-link-z-index, var(--utrecht-layer-focus-z-index));
3469
+ }
3470
+
3471
+ .utrecht-skip-link--focus,
3472
+ .utrecht-skip-link:focus,
3473
+ .utrecht-skip-link:focus-visible {
3474
+ box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
3475
+ outline-color: var(--utrecht-focus-outline-color, transparent);
3476
+ outline-offset: var(--utrecht-focus-outline-offset, 0);
3477
+ outline-style: var(--utrecht-focus-outline-style, solid);
3478
+ outline-width: var(--utrecht-focus-outline-width, 0);
3479
+ text-decoration: var(--utrecht-skip-link-focus-text-decoration);
3480
+ }
3481
+
3411
3482
  /**
3412
3483
  * @license EUPL-1.2
3413
3484
  * Copyright (c) 2021 Robbert Broersma
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.313",
2
+ "version": "1.0.0-alpha.316",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -16,7 +16,7 @@
16
16
  "url": "git@github.com:nl-design-system/utrecht.git"
17
17
  },
18
18
  "devDependencies": {
19
- "@utrecht/design-tokens": "1.0.0-alpha.306",
19
+ "@utrecht/design-tokens": "1.0.0-alpha.309",
20
20
  "node-sass-package-importer": "5.3.2",
21
21
  "rimraf": "3.0.2",
22
22
  "sass": "1.54.0"
@@ -27,5 +27,5 @@
27
27
  "clean": "rimraf dist/"
28
28
  },
29
29
  "main": "dist/index.css",
30
- "gitHead": "f49b8678328b2c3ad2b3878e5df0ea4a2ea8658a"
30
+ "gitHead": "552fc2fe6aa787d06d6e5d291432abca4d3c205c"
31
31
  }
package/src/index.scss CHANGED
@@ -73,6 +73,7 @@
73
73
  @import "../../../components/search-bar/css";
74
74
  @import "../../../components/select/css";
75
75
  @import "../../../components/separator/css";
76
+ @import "../../../components/skip-link/css";
76
77
  @import "../../../components/surface/css";
77
78
  @import "../../../components/table/css";
78
79
  @import "../../../components/textarea/css";