@sebgroup/green-core 1.32.0 → 1.33.0
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/chunks/{chunk.BEYBLGU3.js → chunk.6GPKW7CQ.js} +4 -4
- package/chunks/{chunk.X32AG3RQ.js → chunk.B4PJKZ3W.js} +4 -4
- package/chunks/{chunk.UOT5KPZH.js → chunk.DD3PZZQL.js} +1 -1
- package/chunks/chunk.EN4BB5CC.js +336 -0
- package/chunks/{chunk.CIWHLTEC.js → chunk.EONTEKQO.js} +1 -1
- package/chunks/{chunk.YDZD6ZMG.js → chunk.FOBESBRV.js} +1 -1
- package/chunks/{chunk.YRDSZC4U.js → chunk.G47WF6H3.js} +1 -1
- package/chunks/{chunk.3NWU65G2.js → chunk.LIKF5UOW.js} +4 -4
- package/chunks/{chunk.2HUICVEB.js → chunk.NF5O27GG.js} +6 -6
- package/chunks/{chunk.DH47VYYQ.js → chunk.NIRW5HCW.js} +1 -1
- package/chunks/{chunk.Y4GPJIXU.js → chunk.PMHM3R2E.js} +5 -5
- package/chunks/{chunk.MR6N3VAU.js → chunk.RICFAZT4.js} +1 -1
- package/chunks/{chunk.SIAKY7DM.js → chunk.RR57EBDU.js} +2 -2
- package/chunks/{chunk.432YVDHB.js → chunk.SPY75SQX.js} +1 -1
- package/chunks/{chunk.2YZSLAXQ.js → chunk.SZIIPFWH.js} +4 -4
- package/chunks/{chunk.CF2FHRNR.js → chunk.T2IMBVU6.js} +1 -1
- package/chunks/{chunk.RALLT724.js → chunk.TAUCOID4.js} +3 -3
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.QVRZK3CQ.js → chunk.XMGKJ4R2.js} +1 -1
- package/chunks/{chunk.KJKUEZ33.js → chunk.Z27WVNGN.js} +1 -1
- package/components/button/button.js +5 -5
- package/components/button/index.js +5 -5
- package/components/calendar/calendar.js +2 -2
- package/components/calendar/index.js +2 -2
- package/components/coachmark/coachmark.d.ts +46 -0
- package/components/coachmark/coachmark.js +11 -0
- package/components/coachmark/coachmark.styles.d.ts +2 -0
- package/components/coachmark/index.d.ts +1 -0
- package/components/coachmark/index.js +11 -0
- package/components/content/divider/divider.js +4 -4
- package/components/content/divider/index.js +4 -4
- package/components/content/spacer/index.js +3 -3
- package/components/content/spacer/spacer.js +3 -3
- package/components/content/text/index.js +4 -4
- package/components/content/text/text.js +4 -4
- package/components/context-menu/context-menu.js +2 -2
- package/components/context-menu/index.js +5 -5
- package/components/datepicker/datepicker.js +13 -13
- package/components/datepicker/index.js +13 -13
- package/components/dropdown/dropdown.js +6 -6
- package/components/dropdown/index.js +9 -9
- package/components/filter-chips/filter-chip/filter-chip.js +5 -5
- package/components/filter-chips/filter-chip/index.js +5 -5
- package/components/filter-chips/filter-chips.js +7 -7
- package/components/filter-chips/index.js +7 -7
- package/components/form/form-control.js +2 -2
- package/components/form/index.js +7 -7
- package/components/form/summary/index.js +7 -7
- package/components/form/summary/summary.js +7 -7
- package/components/icon/icons/index.js +128 -128
- package/components/index.d.ts +1 -0
- package/components/index.js +68 -64
- package/components/layout/card/card.js +5 -5
- package/components/layout/card/index.js +5 -5
- package/components/layout/container/container.js +3 -3
- package/components/layout/container/index.js +3 -3
- package/components/layout/flex/flex.js +4 -4
- package/components/layout/flex/index.js +4 -4
- package/components/layout/grid/grid.js +3 -3
- package/components/layout/grid/index.js +3 -3
- package/components/media/img/img.js +3 -3
- package/components/media/img/index.js +3 -3
- package/components/media/video/index.js +3 -3
- package/components/media/video/video.js +3 -3
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/index.js +2 -2
- package/components/popover/popover.js +2 -2
- package/components/segmented-control/index.js +5 -5
- package/components/segmented-control/segment/index.js +2 -2
- package/components/segmented-control/segment/segment.js +2 -2
- package/components/segmented-control/segmented-control.js +5 -5
- package/index.js +68 -64
- package/package.json +1 -1
- package/primitives/listbox/index.js +3 -3
- package/primitives/listbox/listbox.js +3 -3
- package/primitives/listbox/option.js +2 -2
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/chunks/{chunk.YT5MTXP5.js → chunk.2BMJPIND.js} +3 -3
- package/chunks/{chunk.BTI3F6RY.js → chunk.2RSV625P.js} +0 -0
- package/chunks/{chunk.VGYE44DX.js → chunk.5E3XX4UM.js} +3 -3
- package/chunks/{chunk.DCXVWTKS.js → chunk.7NXTH3UK.js} +3 -3
- package/chunks/{chunk.WZUFNAAA.js → chunk.BX2ZVTGR.js} +3 -3
- package/chunks/{chunk.ZUYZBLHW.js → chunk.WE2J4MJA.js} +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GdsContainer
|
|
3
|
-
} from "./chunk.CIWHLTEC.js";
|
|
4
1
|
import {
|
|
5
2
|
card_style_css_default
|
|
6
3
|
} from "./chunk.3ULLOORV.js";
|
|
4
|
+
import {
|
|
5
|
+
GdsContainer
|
|
6
|
+
} from "./chunk.EONTEKQO.js";
|
|
7
7
|
import {
|
|
8
8
|
styleExpressionProperty
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.PMHM3R2E.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
divider_style_css_default
|
|
3
|
+
} from "./chunk.VS5JKIZQ.js";
|
|
1
4
|
import {
|
|
2
5
|
styleExpressionProperty
|
|
3
6
|
} from "./chunk.ADPMTWTS.js";
|
|
4
7
|
import {
|
|
5
8
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.PMHM3R2E.js";
|
|
7
10
|
import {
|
|
8
11
|
GdsElement
|
|
9
12
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
gdsCustomElement,
|
|
12
15
|
html
|
|
13
16
|
} from "./chunk.VOYMQ322.js";
|
|
14
|
-
import {
|
|
15
|
-
divider_style_css_default
|
|
16
|
-
} from "./chunk.VS5JKIZQ.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.5VURDMKE.js";
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsElement
|
|
3
|
+
} from "./chunk.ZQ4D5K7J.js";
|
|
4
|
+
import {
|
|
5
|
+
gdsCustomElement,
|
|
6
|
+
html
|
|
7
|
+
} from "./chunk.VOYMQ322.js";
|
|
8
|
+
import {
|
|
9
|
+
__decorateClass,
|
|
10
|
+
__privateAdd,
|
|
11
|
+
__privateGet,
|
|
12
|
+
__privateMethod,
|
|
13
|
+
__privateSet
|
|
14
|
+
} from "./chunk.5VURDMKE.js";
|
|
15
|
+
|
|
16
|
+
// libs/core/src/components/coachmark/coachmark.ts
|
|
17
|
+
import { property, state } from "lit/decorators.js";
|
|
18
|
+
import {
|
|
19
|
+
computePosition,
|
|
20
|
+
detectOverflow,
|
|
21
|
+
arrow,
|
|
22
|
+
shift,
|
|
23
|
+
offset,
|
|
24
|
+
hide,
|
|
25
|
+
flip,
|
|
26
|
+
autoUpdate
|
|
27
|
+
} from "@floating-ui/dom";
|
|
28
|
+
import { ref, createRef } from "lit/directives/ref.js";
|
|
29
|
+
|
|
30
|
+
// libs/core/src/components/coachmark/coachmark.styles.ts
|
|
31
|
+
import { css } from "lit";
|
|
32
|
+
var style = css`
|
|
33
|
+
.gds-coachmark {
|
|
34
|
+
visibility: hidden;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 1060;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
padding: 1rem;
|
|
39
|
+
width: 20rem;
|
|
40
|
+
border-radius: 0.25rem;
|
|
41
|
+
background-color: #222;
|
|
42
|
+
color: #fff;
|
|
43
|
+
opacity: 0;
|
|
44
|
+
transition: opacity 0.3s;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#gds-arrow {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
z-index: -1;
|
|
50
|
+
position: absolute;
|
|
51
|
+
height: 1rem;
|
|
52
|
+
width: 1rem;
|
|
53
|
+
background-color: #222;
|
|
54
|
+
transform: rotate(45deg);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.arrow-top,
|
|
58
|
+
.arrow-top-start,
|
|
59
|
+
.arrow-top-end {
|
|
60
|
+
bottom: -0.5rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.arrow-bottom,
|
|
64
|
+
.arrow-bottom-start,
|
|
65
|
+
.arrow-bottom-end {
|
|
66
|
+
top: -0.5rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.arrow-left,
|
|
70
|
+
.arrow-left-start,
|
|
71
|
+
.arrow-left-end {
|
|
72
|
+
right: -0.5rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.arrow-right,
|
|
76
|
+
.arrow-right-start,
|
|
77
|
+
.arrow-right-end {
|
|
78
|
+
left: -0.5rem;
|
|
79
|
+
}
|
|
80
|
+
`;
|
|
81
|
+
var coachmark_styles_default = style;
|
|
82
|
+
|
|
83
|
+
// libs/core/src/components/coachmark/coachmark.ts
|
|
84
|
+
import { when } from "lit/directives/when.js";
|
|
85
|
+
var _cardRef, _arrowRef, _targetedElement, _autoUpdateCleanupFn, _closeCoachMark, closeCoachMark_fn, _findTarget, findTarget_fn, _checkBoundingRect, checkBoundingRect_fn, _checkOverlap, checkOverlap_fn, _isElementOutsideView, isElementOutsideView_fn, _computeTooltipPosition, computeTooltipPosition_fn, _shouldTooltipBeVisible, shouldTooltipBeVisible_fn, _updateCoachmarks, updateCoachmarks_fn;
|
|
86
|
+
var GdsCoachmark = class extends GdsElement {
|
|
87
|
+
constructor() {
|
|
88
|
+
super(...arguments);
|
|
89
|
+
__privateAdd(this, _closeCoachMark);
|
|
90
|
+
__privateAdd(this, _findTarget);
|
|
91
|
+
__privateAdd(this, _checkBoundingRect);
|
|
92
|
+
__privateAdd(this, _checkOverlap);
|
|
93
|
+
__privateAdd(this, _isElementOutsideView);
|
|
94
|
+
__privateAdd(this, _computeTooltipPosition);
|
|
95
|
+
__privateAdd(this, _shouldTooltipBeVisible);
|
|
96
|
+
__privateAdd(this, _updateCoachmarks);
|
|
97
|
+
__privateAdd(this, _cardRef, createRef());
|
|
98
|
+
__privateAdd(this, _arrowRef, createRef());
|
|
99
|
+
__privateAdd(this, _targetedElement, void 0);
|
|
100
|
+
__privateAdd(this, _autoUpdateCleanupFn, void 0);
|
|
101
|
+
this._isVisible = false;
|
|
102
|
+
this._preventClose = false;
|
|
103
|
+
this.placement = "bottom";
|
|
104
|
+
this.overlappedBy = [];
|
|
105
|
+
this.target = [];
|
|
106
|
+
}
|
|
107
|
+
connectedCallback() {
|
|
108
|
+
super.connectedCallback();
|
|
109
|
+
document.addEventListener("click", () => {
|
|
110
|
+
setTimeout(() => {
|
|
111
|
+
__privateMethod(this, _updateCoachmarks, updateCoachmarks_fn).call(this);
|
|
112
|
+
__privateMethod(this, _closeCoachMark, closeCoachMark_fn).call(this);
|
|
113
|
+
}, 400);
|
|
114
|
+
});
|
|
115
|
+
document.addEventListener("keydown", (event) => {
|
|
116
|
+
if (event.key === "Escape" && this._isVisible) {
|
|
117
|
+
__privateMethod(this, _closeCoachMark, closeCoachMark_fn).call(this);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
disconnectedCallback() {
|
|
122
|
+
super.disconnectedCallback();
|
|
123
|
+
document.removeEventListener("click", __privateMethod(this, _closeCoachMark, closeCoachMark_fn));
|
|
124
|
+
document.removeEventListener("keydown", (event) => {
|
|
125
|
+
if (event.key === "Escape" && this._isVisible) {
|
|
126
|
+
__privateMethod(this, _closeCoachMark, closeCoachMark_fn).call(this);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
firstUpdated() {
|
|
131
|
+
if (this.target.length > 0) {
|
|
132
|
+
__privateSet(this, _targetedElement, __privateMethod(this, _findTarget, findTarget_fn).call(this, this.target));
|
|
133
|
+
__privateMethod(this, _updateCoachmarks, updateCoachmarks_fn).call(this);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
setPreventClose(preventClose) {
|
|
137
|
+
this._preventClose = preventClose;
|
|
138
|
+
}
|
|
139
|
+
render() {
|
|
140
|
+
return html`${when(
|
|
141
|
+
this.target.length > 0,
|
|
142
|
+
() => html`
|
|
143
|
+
<div
|
|
144
|
+
role="dialog"
|
|
145
|
+
class="gds-coachmark"
|
|
146
|
+
aria-label="Coachmark"
|
|
147
|
+
${ref(__privateGet(this, _cardRef))}
|
|
148
|
+
>
|
|
149
|
+
<slot></slot>
|
|
150
|
+
<div id="gds-arrow" ${ref(__privateGet(this, _arrowRef))}></div>
|
|
151
|
+
</div>
|
|
152
|
+
`,
|
|
153
|
+
() => html``
|
|
154
|
+
)}`;
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
_cardRef = new WeakMap();
|
|
158
|
+
_arrowRef = new WeakMap();
|
|
159
|
+
_targetedElement = new WeakMap();
|
|
160
|
+
_autoUpdateCleanupFn = new WeakMap();
|
|
161
|
+
_closeCoachMark = new WeakSet();
|
|
162
|
+
closeCoachMark_fn = function() {
|
|
163
|
+
var _a, _b;
|
|
164
|
+
if (!this._isVisible)
|
|
165
|
+
return;
|
|
166
|
+
this._isVisible = false;
|
|
167
|
+
(_a = __privateGet(this, _cardRef).value) == null ? void 0 : _a.remove();
|
|
168
|
+
(_b = __privateGet(this, _autoUpdateCleanupFn)) == null ? void 0 : _b.call(this);
|
|
169
|
+
window.dispatchEvent(new CustomEvent("tooltipClosed"));
|
|
170
|
+
};
|
|
171
|
+
_findTarget = new WeakSet();
|
|
172
|
+
findTarget_fn = function(selectors) {
|
|
173
|
+
let shadow = false;
|
|
174
|
+
let el = void 0;
|
|
175
|
+
for (const selector of selectors) {
|
|
176
|
+
if (selector === "shadowRoot") {
|
|
177
|
+
shadow = true;
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
if (!el) {
|
|
181
|
+
el = document.querySelector(selector);
|
|
182
|
+
} else if (shadow && el.shadowRoot) {
|
|
183
|
+
el = el.shadowRoot.querySelector(selector);
|
|
184
|
+
shadow = false;
|
|
185
|
+
} else {
|
|
186
|
+
el = el.querySelector(selector);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
return el;
|
|
190
|
+
};
|
|
191
|
+
_checkBoundingRect = new WeakSet();
|
|
192
|
+
checkBoundingRect_fn = function(element, overlappedElement) {
|
|
193
|
+
if (element == overlappedElement)
|
|
194
|
+
return;
|
|
195
|
+
const elementRect = element.getBoundingClientRect();
|
|
196
|
+
const overlappedElementRect = overlappedElement.getBoundingClientRect();
|
|
197
|
+
return elementRect.top < overlappedElementRect.bottom && elementRect.bottom > overlappedElementRect.top && elementRect.left < overlappedElementRect.right && elementRect.right > overlappedElementRect.left;
|
|
198
|
+
};
|
|
199
|
+
_checkOverlap = new WeakSet();
|
|
200
|
+
checkOverlap_fn = function(selectors) {
|
|
201
|
+
if (!selectors)
|
|
202
|
+
return false;
|
|
203
|
+
for (const selector of selectors) {
|
|
204
|
+
const el = document.querySelector(selector);
|
|
205
|
+
if (!el || getComputedStyle(el).visibility === "hidden")
|
|
206
|
+
continue;
|
|
207
|
+
if (__privateMethod(this, _checkBoundingRect, checkBoundingRect_fn).call(this, __privateGet(this, _targetedElement), el)) {
|
|
208
|
+
return true;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return false;
|
|
212
|
+
};
|
|
213
|
+
_isElementOutsideView = new WeakSet();
|
|
214
|
+
isElementOutsideView_fn = function(element) {
|
|
215
|
+
const elementRect = element.getBoundingClientRect();
|
|
216
|
+
const windowHeight = window.innerHeight || document.documentElement.clientHeight;
|
|
217
|
+
const windowWidth = window.innerWidth || document.documentElement.clientWidth;
|
|
218
|
+
return elementRect.top + elementRect.height < 0 || elementRect.top > windowHeight || elementRect.left + elementRect.width < 0 || elementRect.left > windowWidth;
|
|
219
|
+
};
|
|
220
|
+
_computeTooltipPosition = new WeakSet();
|
|
221
|
+
computeTooltipPosition_fn = async function(targetedEl, componentEl, arrowEl) {
|
|
222
|
+
return computePosition(targetedEl, componentEl, {
|
|
223
|
+
placement: this.placement,
|
|
224
|
+
middleware: [
|
|
225
|
+
offset(() => ({
|
|
226
|
+
mainAxis: 16,
|
|
227
|
+
alignmentAxis: 16
|
|
228
|
+
})),
|
|
229
|
+
{
|
|
230
|
+
name: "detectOverflow",
|
|
231
|
+
async fn(positionState) {
|
|
232
|
+
const overflow = await detectOverflow(positionState, {
|
|
233
|
+
boundary: document.querySelector("main"),
|
|
234
|
+
rootBoundary: "document",
|
|
235
|
+
altBoundary: true,
|
|
236
|
+
padding: {
|
|
237
|
+
top: 167,
|
|
238
|
+
left: 20
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
return {
|
|
242
|
+
data: overflow
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
shift({ padding: 16 }),
|
|
247
|
+
flip(),
|
|
248
|
+
hide(),
|
|
249
|
+
arrow({
|
|
250
|
+
padding: 16,
|
|
251
|
+
element: arrowEl
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
_shouldTooltipBeVisible = new WeakSet();
|
|
257
|
+
shouldTooltipBeVisible_fn = function() {
|
|
258
|
+
if (!__privateGet(this, _targetedElement))
|
|
259
|
+
return false;
|
|
260
|
+
const isOutOfBound = __privateMethod(this, _isElementOutsideView, isElementOutsideView_fn).call(this, __privateGet(this, _targetedElement));
|
|
261
|
+
const isVisible = __privateGet(this, _targetedElement).checkVisibility();
|
|
262
|
+
const isOverlapping = this.overlappedBy.length === 0 ? false : __privateMethod(this, _checkOverlap, checkOverlap_fn).call(this, this.overlappedBy);
|
|
263
|
+
return !isOverlapping && !isOutOfBound && isVisible && window.innerWidth > 580;
|
|
264
|
+
};
|
|
265
|
+
_updateCoachmarks = new WeakSet();
|
|
266
|
+
updateCoachmarks_fn = async function() {
|
|
267
|
+
const targetEl = __privateGet(this, _targetedElement);
|
|
268
|
+
const componentEl = __privateGet(this, _cardRef).value;
|
|
269
|
+
const arrowEl = __privateGet(this, _arrowRef).value;
|
|
270
|
+
if (!targetEl || !componentEl || !arrowEl)
|
|
271
|
+
return;
|
|
272
|
+
try {
|
|
273
|
+
__privateSet(this, _autoUpdateCleanupFn, autoUpdate(targetEl, componentEl, () => {
|
|
274
|
+
__privateMethod(this, _computeTooltipPosition, computeTooltipPosition_fn).call(this, targetEl, componentEl, arrowEl).then(
|
|
275
|
+
({ x, y, middlewareData, placement }) => {
|
|
276
|
+
if (__privateMethod(this, _shouldTooltipBeVisible, shouldTooltipBeVisible_fn).call(this)) {
|
|
277
|
+
this._isVisible = true;
|
|
278
|
+
Object.assign(componentEl.style, {
|
|
279
|
+
visibility: "visible",
|
|
280
|
+
opacity: 1,
|
|
281
|
+
left: `${x}px`,
|
|
282
|
+
top: `${y}px`
|
|
283
|
+
});
|
|
284
|
+
if (middlewareData.arrow) {
|
|
285
|
+
const { x: x2, y: y2 } = middlewareData.arrow;
|
|
286
|
+
arrowEl.removeAttribute("class");
|
|
287
|
+
arrowEl.classList.add("arrow-" + placement);
|
|
288
|
+
Object.assign(arrowEl.style, {
|
|
289
|
+
left: x2 != null ? `${x2}px` : "",
|
|
290
|
+
top: y2 != null ? `${y2}px` : ""
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
} else {
|
|
294
|
+
this._isVisible = false;
|
|
295
|
+
Object.assign(componentEl.style, {
|
|
296
|
+
visibility: "hidden",
|
|
297
|
+
opacity: 0
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
);
|
|
302
|
+
}));
|
|
303
|
+
} catch (error) {
|
|
304
|
+
console.warn("failed to render tooltips");
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
GdsCoachmark.styles = coachmark_styles_default;
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
GdsCoachmark.shadowRootOptions = {
|
|
312
|
+
mode: "open",
|
|
313
|
+
delegatesFocus: true
|
|
314
|
+
};
|
|
315
|
+
__decorateClass([
|
|
316
|
+
state()
|
|
317
|
+
], GdsCoachmark.prototype, "_isVisible", 2);
|
|
318
|
+
__decorateClass([
|
|
319
|
+
state()
|
|
320
|
+
], GdsCoachmark.prototype, "_preventClose", 2);
|
|
321
|
+
__decorateClass([
|
|
322
|
+
property()
|
|
323
|
+
], GdsCoachmark.prototype, "placement", 2);
|
|
324
|
+
__decorateClass([
|
|
325
|
+
property({ attribute: false })
|
|
326
|
+
], GdsCoachmark.prototype, "overlappedBy", 2);
|
|
327
|
+
__decorateClass([
|
|
328
|
+
property({ attribute: false })
|
|
329
|
+
], GdsCoachmark.prototype, "target", 2);
|
|
330
|
+
GdsCoachmark = __decorateClass([
|
|
331
|
+
gdsCustomElement("gds-coachmark")
|
|
332
|
+
], GdsCoachmark);
|
|
333
|
+
|
|
334
|
+
export {
|
|
335
|
+
GdsCoachmark
|
|
336
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFormControlElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2BMJPIND.js";
|
|
4
4
|
import {
|
|
5
5
|
constrainSlots
|
|
6
6
|
} from "./chunk.KBYQYDL3.js";
|
|
7
|
+
import {
|
|
8
|
+
tokens
|
|
9
|
+
} from "./chunk.PMHM3R2E.js";
|
|
7
10
|
import {
|
|
8
11
|
TransitionalStyles
|
|
9
12
|
} from "./chunk.UZLOEUQK.js";
|
|
10
|
-
import {
|
|
11
|
-
tokens
|
|
12
|
-
} from "./chunk.Y4GPJIXU.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TAUCOID4.js";
|
|
4
4
|
import {
|
|
5
5
|
resizeObserver
|
|
6
6
|
} from "./chunk.VHN4JEZC.js";
|
|
7
|
+
import {
|
|
8
|
+
tokens
|
|
9
|
+
} from "./chunk.PMHM3R2E.js";
|
|
7
10
|
import {
|
|
8
11
|
TransitionalStyles
|
|
9
12
|
} from "./chunk.UZLOEUQK.js";
|
|
10
13
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk.
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.2WO4NHJ2.js";
|
|
13
16
|
import {
|
|
14
17
|
GdsElement
|
|
15
18
|
} from "./chunk.ZQ4D5K7J.js";
|
|
16
|
-
import {
|
|
17
|
-
watch
|
|
18
|
-
} from "./chunk.2WO4NHJ2.js";
|
|
19
19
|
import {
|
|
20
20
|
gdsCustomElement,
|
|
21
21
|
html
|
|
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
|
|
|
4
4
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
5
5
|
var pallet_default = `/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Mon, 12 Aug 2024 11:14:26 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:host {
|
|
@@ -165,7 +165,7 @@ var pallet_default = `/**
|
|
|
165
165
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
166
166
|
var light_default = `/**
|
|
167
167
|
* Do not edit directly
|
|
168
|
-
* Generated on
|
|
168
|
+
* Generated on Mon, 12 Aug 2024 11:14:26 GMT
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
:host {
|
|
@@ -286,7 +286,7 @@ var light_default = `/**
|
|
|
286
286
|
// dist/libs/tokens/internal/size.css?inline
|
|
287
287
|
var size_default = `/**
|
|
288
288
|
* Do not edit directly
|
|
289
|
-
* Generated on
|
|
289
|
+
* Generated on Mon, 12 Aug 2024 11:14:26 GMT
|
|
290
290
|
*/
|
|
291
291
|
|
|
292
292
|
:host {
|
|
@@ -313,7 +313,7 @@ var size_default = `/**
|
|
|
313
313
|
// dist/libs/tokens/internal/text.css?inline
|
|
314
314
|
var text_default = `/**
|
|
315
315
|
* Do not edit directly
|
|
316
|
-
* Generated on
|
|
316
|
+
* Generated on Mon, 12 Aug 2024 11:14:26 GMT
|
|
317
317
|
*/
|
|
318
318
|
|
|
319
319
|
:host {
|
|
@@ -368,7 +368,7 @@ var text_default = `/**
|
|
|
368
368
|
// dist/libs/tokens/internal/motion.css?inline
|
|
369
369
|
var motion_default = `/**
|
|
370
370
|
* Do not edit directly
|
|
371
|
-
* Generated on
|
|
371
|
+
* Generated on Mon, 12 Aug 2024 11:14:26 GMT
|
|
372
372
|
*/
|
|
373
373
|
|
|
374
374
|
:host {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EONTEKQO.js";
|
|
4
4
|
import {
|
|
5
5
|
flex_style_css_default
|
|
6
6
|
} from "./chunk.54252E4T.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.PMHM3R2E.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
text_style_css_default
|
|
3
|
-
} from "./chunk.KK4QVD34.js";
|
|
4
1
|
import {
|
|
5
2
|
styleExpressionProperty
|
|
6
3
|
} from "./chunk.ADPMTWTS.js";
|
|
4
|
+
import {
|
|
5
|
+
text_style_css_default
|
|
6
|
+
} from "./chunk.KK4QVD34.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.PMHM3R2E.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.ZQ4D5K7J.js";
|
package/chunks/chunk.VOYMQ322.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
2
2
|
import { html as litHtml } from "lit";
|
|
3
3
|
import { customElement } from "lit/decorators.js";
|
|
4
|
-
var VER_SUFFIX = "-
|
|
4
|
+
var VER_SUFFIX = "-12bcb1";
|
|
5
5
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
6
6
|
var gdsCustomElement = (tagName) => {
|
|
7
7
|
if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.LIKF5UOW.js";
|
|
4
4
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.G47WF6H3.js";
|
|
6
|
+
import "../../chunks/chunk.2BMJPIND.js";
|
|
7
7
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
8
8
|
import "../../chunks/chunk.KBYQYDL3.js";
|
|
9
|
+
import "../../chunks/chunk.PMHM3R2E.js";
|
|
9
10
|
import "../../chunks/chunk.UZLOEUQK.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
11
12
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
12
13
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
13
|
-
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
14
14
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
15
15
|
import "../../chunks/chunk.VOYMQ322.js";
|
|
16
16
|
import "../../chunks/chunk.5VURDMKE.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsButton
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.LIKF5UOW.js";
|
|
5
5
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.G47WF6H3.js";
|
|
7
|
+
import "../../chunks/chunk.2BMJPIND.js";
|
|
8
8
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
9
|
import "../../chunks/chunk.KBYQYDL3.js";
|
|
10
|
+
import "../../chunks/chunk.PMHM3R2E.js";
|
|
10
11
|
import "../../chunks/chunk.UZLOEUQK.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
12
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
12
13
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
13
14
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
14
|
-
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
15
15
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
16
16
|
import "../../chunks/chunk.VOYMQ322.js";
|
|
17
17
|
import "../../chunks/chunk.5VURDMKE.js";
|