@sebgroup/green-core 1.0.0 → 1.0.2

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 = "-59cf5d";
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.2",
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]) {
@@ -5611,13 +5611,17 @@ input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner
5611
5611
  }
5612
5612
 
5613
5613
  input[type=text] {
5614
- border-radius: 0;
5614
+ border-bottom-left-radius: 0;
5615
+ border-bottom-right-radius: 0;
5615
5616
  font-size: 1rem;
5616
5617
  line-height: 1;
5617
5618
  margin: -1px;
5618
5619
  min-height: auto;
5619
5620
  padding: 0.75rem;
5620
5621
  }
5622
+ input[type=text]:focus {
5623
+ outline-offset: -0.25rem;
5624
+ }
5621
5625
 
5622
5626
  button {
5623
5627
  background-color: transparent;
@@ -5792,7 +5796,7 @@ function register3() {
5792
5796
  // libs/core/src/utils/helpers/custom-element-scoping.ts
5793
5797
  import { html as litHtml } from "lit";
5794
5798
  import { customElement } from "lit/decorators.js";
5795
- var VER_SUFFIX = "-b7215a";
5799
+ var VER_SUFFIX = "-59cf5d";
5796
5800
  var elementLookupTable = /* @__PURE__ */ new Map();
5797
5801
  var templateCache = /* @__PURE__ */ new WeakMap();
5798
5802
  function applyElementScoping(strings, ...values) {