@utrecht/component-library-css 1.0.0-alpha.315 → 1.0.0-alpha.318
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 +79 -1
- package/package.json +2 -3
- package/project.json +17 -0
- package/src/index.scss +1 -0
package/dist/index.css
CHANGED
|
@@ -2785,7 +2785,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
2785
2785
|
|
|
2786
2786
|
/**
|
|
2787
2787
|
* @license EUPL-1.2
|
|
2788
|
-
* Copyright (c)
|
|
2788
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
2789
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
2789
2790
|
*/
|
|
2790
2791
|
/**
|
|
2791
2792
|
* @license EUPL-1.2
|
|
@@ -3402,6 +3403,83 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
3402
3403
|
--utrecht-space-around: 1;
|
|
3403
3404
|
}
|
|
3404
3405
|
|
|
3406
|
+
/**
|
|
3407
|
+
* @license EUPL-1.2
|
|
3408
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
3409
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
3410
|
+
*/
|
|
3411
|
+
/**
|
|
3412
|
+
* @license EUPL-1.2
|
|
3413
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
3414
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
3415
|
+
*/
|
|
3416
|
+
/**
|
|
3417
|
+
* @license EUPL-1.2
|
|
3418
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
3419
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
3420
|
+
*/
|
|
3421
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
3422
|
+
.utrecht-skip-link {
|
|
3423
|
+
align-items: center;
|
|
3424
|
+
background-color: var(--utrecht-skip-link-background-color);
|
|
3425
|
+
box-sizing: border-box;
|
|
3426
|
+
color: var(--utrecht-skip-link-color);
|
|
3427
|
+
display: inline-flex;
|
|
3428
|
+
justify-content: center;
|
|
3429
|
+
min-block-size: var(--utrecht-skip-link-min-block-size, 44px);
|
|
3430
|
+
min-inline-size: var(--utrecht-skip-link-min-inline-size, 44px);
|
|
3431
|
+
padding-block-end: var(--utrecht-skip-link-padding-block-end);
|
|
3432
|
+
padding-block-start: var(--utrecht-skip-link-padding-block-start);
|
|
3433
|
+
padding-inline-end: var(--utrecht-skip-link-padding-inline-end);
|
|
3434
|
+
padding-inline-start: var(--utrecht-skip-link-padding-inline-start);
|
|
3435
|
+
text-decoration: var(--utrecht-skip-link-text-decoration);
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
.utrecht-skip-link--hidden {
|
|
3439
|
+
inset-block-start: -200%;
|
|
3440
|
+
position: fixed;
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3443
|
+
.utrecht-skip-link--visible-on-focus {
|
|
3444
|
+
inset-block-start: -200%;
|
|
3445
|
+
position: fixed;
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
.utrecht-skip-link--visible-on-focus:focus {
|
|
3449
|
+
/**
|
|
3450
|
+
* WCAG 2.2 / 2.4.12: "No part of the focus indicator is hidden by author-created content".
|
|
3451
|
+
* To go the extra mile, ensure the focus indicator is inside the viewport.
|
|
3452
|
+
* */
|
|
3453
|
+
--_utrecht-skip-link-inset: calc(var(--utrecht-focus-outline-width, 0px) + var(--utrecht-focus-outline-offset, 0px));
|
|
3454
|
+
inset-block-start: var(--_utrecht-skip-link-inset, 0);
|
|
3455
|
+
inset-inline-start: var(--_utrecht-skip-link-inset, 0);
|
|
3456
|
+
position: fixed;
|
|
3457
|
+
z-index: var(--utrecht-skip-link-z-index, var(--utrecht-layer-focus-z-index));
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
.utrecht-skip-link--visible {
|
|
3461
|
+
/**
|
|
3462
|
+
* WCAG 2.2 / 2.4.12: "No part of the focus indicator is hidden by author-created content".
|
|
3463
|
+
* To go the extra mile, ensure the focus indicator is inside the viewport.
|
|
3464
|
+
* */
|
|
3465
|
+
--_utrecht-skip-link-inset: calc(var(--utrecht-focus-outline-width, 0px) + var(--utrecht-focus-outline-offset, 0px));
|
|
3466
|
+
inset-block-start: var(--_utrecht-skip-link-inset, 0);
|
|
3467
|
+
inset-inline-start: var(--_utrecht-skip-link-inset, 0);
|
|
3468
|
+
position: fixed;
|
|
3469
|
+
z-index: var(--utrecht-skip-link-z-index, var(--utrecht-layer-focus-z-index));
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
.utrecht-skip-link--focus,
|
|
3473
|
+
.utrecht-skip-link:focus,
|
|
3474
|
+
.utrecht-skip-link:focus-visible {
|
|
3475
|
+
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
3476
|
+
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
3477
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
3478
|
+
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
3479
|
+
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
3480
|
+
text-decoration: var(--utrecht-skip-link-focus-text-decoration);
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3405
3483
|
/**
|
|
3406
3484
|
* @license EUPL-1.2
|
|
3407
3485
|
* Copyright (c) 2021 Robbert Broersma
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-alpha.
|
|
2
|
+
"version": "1.0.0-alpha.318",
|
|
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.308",
|
|
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": "
|
|
29
|
+
"gitHead": "40f94d1ad0325a155b00186d2844b30cf98e7169"
|
|
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";
|