@utrecht/component-library-css 1.0.0-alpha.535 → 1.0.0-alpha.536

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.
Files changed (2) hide show
  1. package/dist/index.css +27 -0
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -2932,6 +2932,20 @@ ol.utrecht-breadcrumb__list {
2932
2932
  color: var(--utrecht-form-toggle-disabled-color, black);
2933
2933
  }
2934
2934
 
2935
+ .utrecht-form-toggle__track--focus-visible {
2936
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
2937
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
2938
+ * can combine it with the focus ring box shadow.
2939
+ */
2940
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
2941
+ var(--utrecht-focus-inverse-outline-color, transparent);
2942
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
2943
+ outline-color: var(--utrecht-focus-outline-color, revert);
2944
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
2945
+ outline-style: var(--utrecht-focus-outline-style, revert);
2946
+ outline-width: var(--utrecht-focus-outline-width, revert);
2947
+ }
2948
+
2935
2949
  .utrecht-form-toggle--html-checkbox .utrecht-form-toggle__checkbox {
2936
2950
  /* Source: https://kittygiraudel.com/snippets/sr-only-class/ */
2937
2951
  block-size: 1px !important;
@@ -2948,6 +2962,19 @@ ol.utrecht-breadcrumb__list {
2948
2962
  position: absolute !important;
2949
2963
  white-space: nowrap !important;
2950
2964
  }
2965
+ .utrecht-form-toggle--html-checkbox .utrecht-form-toggle__checkbox:focus-visible ~ .utrecht-form-toggle__track {
2966
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
2967
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
2968
+ * can combine it with the focus ring box shadow.
2969
+ */
2970
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
2971
+ var(--utrecht-focus-inverse-outline-color, transparent);
2972
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
2973
+ outline-color: var(--utrecht-focus-outline-color, revert);
2974
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
2975
+ outline-style: var(--utrecht-focus-outline-style, revert);
2976
+ outline-width: var(--utrecht-focus-outline-width, revert);
2977
+ }
2951
2978
  /**
2952
2979
  * @license EUPL-1.2
2953
2980
  * Copyright (c) 2021 Gemeente Utrecht
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.535",
2
+ "version": "1.0.0-alpha.536",
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",
@@ -26,5 +26,5 @@
26
26
  "clean": "rimraf dist/"
27
27
  },
28
28
  "main": "dist/index.css",
29
- "gitHead": "9a262273ce5029dca33700b49b79b79d9c0eca36"
29
+ "gitHead": "adbf19be0b3de5a03decbfb977e9807fb3616d51"
30
30
  }