@sebgroup/green-core 1.1.0 → 1.1.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 = "-0863bc";
146
+ var VER_SUFFIX = "-2ca105";
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.1.0",
4
+ "version": "1.1.1",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -5602,6 +5602,17 @@ input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner
5602
5602
  clip-path: inset(1px 0 0 0);
5603
5603
  }
5604
5604
 
5605
+ ::slotted([slot=trigger]) {
5606
+ overflow: hidden;
5607
+ }
5608
+
5609
+ slot[name=trigger] > span {
5610
+ display: block;
5611
+ overflow: hidden;
5612
+ text-overflow: ellipsis;
5613
+ text-wrap: nowrap;
5614
+ }
5615
+
5605
5616
  .form-info {
5606
5617
  color: var(--text-primary-color);
5607
5618
  display: block;
@@ -5797,7 +5808,7 @@ function register3() {
5797
5808
  // libs/core/src/utils/helpers/custom-element-scoping.ts
5798
5809
  import { html as litHtml } from "lit";
5799
5810
  import { customElement } from "lit/decorators.js";
5800
- var VER_SUFFIX = "-0863bc";
5811
+ var VER_SUFFIX = "-2ca105";
5801
5812
  var elementLookupTable = /* @__PURE__ */ new Map();
5802
5813
  var templateCache = /* @__PURE__ */ new WeakMap();
5803
5814
  function applyElementScoping(strings, ...values) {
@@ -71,9 +71,7 @@ export declare const VER_SUFFIX = "-gdsvsuffix";
71
71
  * @category Decorator
72
72
  * @param tagName The tag name of the custom element to define.
73
73
  */
74
- export declare const gdsCustomElement: (tagName: string) => (classOrDescriptor: {
75
- prototype: HTMLElement;
76
- } | import("@lit/reactive-element/decorators/base").ClassDescriptor) => any;
74
+ export declare const gdsCustomElement: (tagName: string) => import("lit/decorators.js").CustomElementDecorator;
77
75
  /**
78
76
  * Template tag factory that creates a new template tag, which rewrites all custom element names from the
79
77
  * lookup table to include the version suffix, and then passes the template on to the provided template tag.