@sebgroup/green-core 1.2.1 → 1.2.3
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/components/context-menu/context-menu.d.ts +1 -1
- package/index.js +4 -4
- package/package.json +3 -3
- package/primitives/listbox/listbox.d.ts +1 -1
- package/primitives/listbox/option.d.ts +1 -1
- package/primitives/menu/menu.d.ts +1 -1
- package/primitives/popover/popover.d.ts +1 -1
- package/transitional-styles.js +1 -1
- package/utils/helpers/custom-element-scoping.d.ts +3 -1
package/index.js
CHANGED
|
@@ -139,7 +139,7 @@ function watchMediaQuery(q) {
|
|
|
139
139
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
140
140
|
import { html as litHtml } from "lit";
|
|
141
141
|
import { customElement } from "lit/decorators.js";
|
|
142
|
-
var VER_SUFFIX = "-
|
|
142
|
+
var VER_SUFFIX = "-b059fe";
|
|
143
143
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
144
144
|
var gdsCustomElement = (tagName) => {
|
|
145
145
|
if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
|
|
@@ -583,7 +583,7 @@ GdsOption = __decorateClass([
|
|
|
583
583
|
], GdsOption);
|
|
584
584
|
|
|
585
585
|
// libs/core/src/primitives/popover/popover.ts
|
|
586
|
-
import { LitElement as LitElement3, html as html3, unsafeCSS
|
|
586
|
+
import { LitElement as LitElement3, html as html3, unsafeCSS } from "lit";
|
|
587
587
|
import { property as property3, state } from "lit/decorators.js";
|
|
588
588
|
import { msg } from "@lit/localize";
|
|
589
589
|
import { createRef as createRef2, ref as ref2 } from "lit/directives/ref.js";
|
|
@@ -939,7 +939,7 @@ registerAutoPositioning_fn = function() {
|
|
|
939
939
|
_triggerKeyDownListener = new WeakMap();
|
|
940
940
|
_focusFirstSlottedChild = new WeakMap();
|
|
941
941
|
_clickOutsideListener = new WeakMap();
|
|
942
|
-
GdsPopover.styles =
|
|
942
|
+
GdsPopover.styles = unsafeCSS(popover_styles_default);
|
|
943
943
|
__decorateClass([
|
|
944
944
|
property3({ type: Boolean, reflect: true })
|
|
945
945
|
], GdsPopover.prototype, "open", 2);
|
|
@@ -1394,7 +1394,7 @@ GdsDropdown = __decorateClass([
|
|
|
1394
1394
|
], GdsDropdown);
|
|
1395
1395
|
|
|
1396
1396
|
// libs/core/src/components/context-menu/context-menu.ts
|
|
1397
|
-
import { LitElement as LitElement6 } from "lit
|
|
1397
|
+
import { LitElement as LitElement6 } from "lit";
|
|
1398
1398
|
import { msg as msg3 } from "@lit/localize";
|
|
1399
1399
|
import { classMap as classMap2 } from "lit-html/directives/class-map.js";
|
|
1400
1400
|
import { property as property6, queryAsync as queryAsync2 } from "lit/decorators.js";
|
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.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@floating-ui/dom": "^1.5.3",
|
|
25
|
-
"@lit/localize": "
|
|
26
|
-
"lit": "^
|
|
25
|
+
"@lit/localize": "0.11.4",
|
|
26
|
+
"lit": "^2.8.0",
|
|
27
27
|
"reflect-metadata": "^0.1.13"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { GdsOption, OptionsContainer } from './option';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
|
-
import { ListboxKbNavigation } from '
|
|
4
|
+
import { ListboxKbNavigation } from '../../controllers/listbox-kb-nav-controller';
|
|
5
5
|
/**
|
|
6
6
|
* @element gds-listbox
|
|
7
7
|
* @internal
|
|
@@ -48,6 +48,6 @@ export declare class GdsOption extends GdsOption_base {
|
|
|
48
48
|
connectedCallback(): void;
|
|
49
49
|
get parentElement(): OptionsContainer;
|
|
50
50
|
handlePlaceholderStatusChange(): void;
|
|
51
|
-
render(): import("lit
|
|
51
|
+
render(): import("lit").TemplateResult<1>;
|
|
52
52
|
}
|
|
53
53
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import { ListboxKbNavigation } from '
|
|
2
|
+
import { ListboxKbNavigation } from '../../controllers/listbox-kb-nav-controller';
|
|
3
3
|
import { GdsMenuItem } from './menu-item';
|
|
4
4
|
/**
|
|
5
5
|
* @element gds-menu
|
|
@@ -38,7 +38,7 @@ export declare class GdsPopover extends LitElement {
|
|
|
38
38
|
private _handleTriggerChanged;
|
|
39
39
|
connectedCallback(): void;
|
|
40
40
|
disconnectedCallback(): void;
|
|
41
|
-
render(): import("lit
|
|
41
|
+
render(): import("lit").TemplateResult<1>;
|
|
42
42
|
private _handleOpenChange;
|
|
43
43
|
private _handleMobileLayout;
|
|
44
44
|
}
|
package/transitional-styles.js
CHANGED
|
@@ -6347,7 +6347,7 @@ function register4() {
|
|
|
6347
6347
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
6348
6348
|
import { html as litHtml } from "lit";
|
|
6349
6349
|
import { customElement } from "lit/decorators.js";
|
|
6350
|
-
var VER_SUFFIX = "-
|
|
6350
|
+
var VER_SUFFIX = "-b059fe";
|
|
6351
6351
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
6352
6352
|
var templateCache = /* @__PURE__ */ new WeakMap();
|
|
6353
6353
|
function applyElementScoping(strings, ...values) {
|
|
@@ -71,7 +71,9 @@ 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) =>
|
|
74
|
+
export declare const gdsCustomElement: (tagName: string) => (classOrDescriptor: {
|
|
75
|
+
prototype: HTMLElement;
|
|
76
|
+
} | import("@lit/reactive-element/decorators/base").ClassDescriptor) => any;
|
|
75
77
|
/**
|
|
76
78
|
* Template tag factory that creates a new template tag, which rewrites all custom element names from the
|
|
77
79
|
* lookup table to include the version suffix, and then passes the template on to the provided template tag.
|