@sebgroup/green-core 1.9.1 → 1.9.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
@@ -144,7 +144,7 @@ function watchMediaQuery(q) {
144
144
  // libs/core/src/utils/helpers/custom-element-scoping.ts
145
145
  import { html as litHtml } from "lit";
146
146
  import { customElement } from "lit/decorators.js";
147
- var VER_SUFFIX = "-260c87";
147
+ var VER_SUFFIX = "-2d68d7";
148
148
  var elementLookupTable = /* @__PURE__ */ new Map();
149
149
  var gdsCustomElement = (tagName) => {
150
150
  if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
@@ -1315,7 +1315,7 @@ var GdsDropdown = class extends GdsFormControlElement {
1315
1315
  this._handleValueChange();
1316
1316
  return;
1317
1317
  }
1318
- if (!this.value) {
1318
+ if (this.value === void 0) {
1319
1319
  if (this.placeholder)
1320
1320
  this.value = this.placeholder.value;
1321
1321
  else
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.9.1",
4
+ "version": "1.9.2",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -662,6 +662,7 @@ button[type=button]:where(:not(.primary,
662
662
  button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled,
663
663
  button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled,
664
664
  button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true] {
665
+ background: var(--sg-form-control-bg-disabled) !important;
665
666
  color: var(--text-disabled-color) !important;
666
667
  border-color: var(--border-disabled-color) !important;
667
668
  cursor: not-allowed;
@@ -1000,6 +1001,7 @@ button.tertiary[aria-disabled=true],
1000
1001
  a.button.tertiary:disabled,
1001
1002
  a.button.tertiary.disabled,
1002
1003
  a.button.tertiary[aria-disabled=true] {
1004
+ background: var(--sg-form-control-bg-disabled) !important;
1003
1005
  color: var(--text-disabled-color) !important;
1004
1006
  border-color: var(--border-disabled-color) !important;
1005
1007
  cursor: not-allowed;
@@ -2577,6 +2579,7 @@ var dropdown_trans_styles_default = `/**
2577
2579
  border-color: rgb(0, 122, 199);
2578
2580
  }
2579
2581
  button:disabled, button.disabled, button[aria-disabled=true] {
2582
+ background: var(--sg-form-control-bg-disabled) !important;
2580
2583
  color: var(--text-disabled-color) !important;
2581
2584
  border-color: var(--border-disabled-color) !important;
2582
2585
  cursor: not-allowed;
@@ -3355,7 +3358,7 @@ function register7() {
3355
3358
  // libs/core/src/utils/helpers/custom-element-scoping.ts
3356
3359
  import { html as litHtml } from "lit";
3357
3360
  import { customElement } from "lit/decorators.js";
3358
- var VER_SUFFIX = "-260c87";
3361
+ var VER_SUFFIX = "-2d68d7";
3359
3362
  var elementLookupTable = /* @__PURE__ */ new Map();
3360
3363
  var templateCache = /* @__PURE__ */ new WeakMap();
3361
3364
  function applyElementScoping(strings, ...values) {