@utrecht/component-library-css 1.0.0-alpha.314 → 1.0.0-alpha.317

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -3402,6 +3402,83 @@ however browsers don't seem to have implemented great looking supixel tweening y
3402
3402
  --utrecht-space-around: 1;
3403
3403
  }
3404
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
+
3405
3482
  /**
3406
3483
  * @license EUPL-1.2
3407
3484
  * Copyright (c) 2021 Robbert Broersma
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.314",
2
+ "version": "1.0.0-alpha.317",
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,6 @@
16
16
  "url": "git@github.com:nl-design-system/utrecht.git"
17
17
  },
18
18
  "devDependencies": {
19
- "@utrecht/design-tokens": "1.0.0-alpha.307",
20
19
  "node-sass-package-importer": "5.3.2",
21
20
  "rimraf": "3.0.2",
22
21
  "sass": "1.54.0"
@@ -27,5 +26,5 @@
27
26
  "clean": "rimraf dist/"
28
27
  },
29
28
  "main": "dist/index.css",
30
- "gitHead": "e40a8bfda3393a7bf1322997d42486e122d6db01"
29
+ "gitHead": "7924812476e4f47fc63b99a34e913d790d38a080"
31
30
  }
package/project.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
3
+ "root": "{workspaceRoot}/packages/component-library-css",
4
+ "sourceRoot": "{projectRoot}",
5
+ "projectType": "library",
6
+ "targets": {
7
+ "build": {
8
+ "executor": "@nrwl/workspace:run-commands",
9
+ "outputs": ["{projectRoot}/dist"],
10
+ "options": {
11
+ "command": "npm run build",
12
+ "cwd": "packages/component-library-css"
13
+ },
14
+ "dependsOn": ["^build"]
15
+ }
16
+ }
17
+ }
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";