@sebgroup/green-core 1.0.0 → 1.0.1

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/index.js CHANGED
@@ -143,7 +143,7 @@ function watchMediaQuery(q) {
143
143
  // libs/core/src/utils/helpers/custom-element-scoping.ts
144
144
  import { html as litHtml } from "lit";
145
145
  import { customElement } from "lit/decorators.js";
146
- var VER_SUFFIX = "-b7215a";
146
+ var VER_SUFFIX = "-e53cc1";
147
147
  var elementLookupTable = /* @__PURE__ */ new Map();
148
148
  var gdsCustomElement = (tagName) => {
149
149
  if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1755,14 +1755,14 @@ a.button.tertiary.danger:focus-visible {
1755
1755
  background: var(--gds-ref-pallet-base800);
1756
1756
  }
1757
1757
 
1758
- :host(:hover) {
1758
+ :host(:hover),
1759
+ :host(:focus) {
1759
1760
  background-color: var(--gds-ref-pallet-base300);
1760
1761
  }
1761
1762
 
1762
1763
  :host(:focus) {
1763
- background: var(--gds-ref-pallet-base800);
1764
- color: #fff;
1765
- outline: 2px solid;
1764
+ outline-color: #000;
1765
+ outline-offset: -0.25rem;
1766
1766
  }
1767
1767
 
1768
1768
  :host([aria-hidden=true]) {
@@ -3605,7 +3605,7 @@ dialog {
3605
3605
  visibility: hidden;
3606
3606
  z-index: var(--z-index);
3607
3607
  border-width: 0;
3608
- overflow: hidden;
3608
+ overflow: visible;
3609
3609
  padding: 0;
3610
3610
  right: 0;
3611
3611
  }
@@ -5792,7 +5792,7 @@ function register3() {
5792
5792
  // libs/core/src/utils/helpers/custom-element-scoping.ts
5793
5793
  import { html as litHtml } from "lit";
5794
5794
  import { customElement } from "lit/decorators.js";
5795
- var VER_SUFFIX = "-b7215a";
5795
+ var VER_SUFFIX = "-e53cc1";
5796
5796
  var elementLookupTable = /* @__PURE__ */ new Map();
5797
5797
  var templateCache = /* @__PURE__ */ new WeakMap();
5798
5798
  function applyElementScoping(strings, ...values) {