@riverty/web-components 6.2.1 → 6.3.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/CHANGELOG.md +30 -0
- package/README.md +78 -0
- package/custom-elements.json +4 -0
- package/dist/cjs/index-BnETQtSf.js +16 -16
- package/dist/cjs/index.cjs.js +35 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/r-alert.cjs.entry.js +1 -1
- package/dist/cjs/r-badge.cjs.entry.js +3 -2
- package/dist/cjs/r-button.cjs.entry.js +1 -1
- package/dist/cjs/r-checkbox-group.cjs.entry.js +5 -0
- package/dist/cjs/r-checkbox.cjs.entry.js +9 -4
- package/dist/cjs/r-dialog.cjs.entry.js +2 -2
- package/dist/cjs/r-hint_2.cjs.entry.js +4 -4
- package/dist/cjs/r-icon-button_2.cjs.entry.js +43 -18
- package/dist/cjs/r-input-code.cjs.entry.js +11 -6
- package/dist/cjs/r-input-date.cjs.entry.js +11 -6
- package/dist/cjs/r-input-password.cjs.entry.js +8 -3
- package/dist/cjs/r-input-phone-number.cjs.entry.js +6 -6
- package/dist/cjs/r-input.cjs.entry.js +249 -33
- package/dist/cjs/r-pagination.cjs.entry.js +9 -3
- package/dist/cjs/r-panel.cjs.entry.js +2 -2
- package/dist/cjs/r-popover-action.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-content.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-headline.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-trigger.cjs.entry.js +1 -1
- package/dist/cjs/r-popover.cjs.entry.js +2 -2
- package/dist/cjs/r-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-description.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-title.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/r-radio-group.cjs.entry.js +8 -5
- package/dist/cjs/r-select-option.cjs.entry.js +1 -1
- package/dist/cjs/r-select.cjs.entry.js +10 -4
- package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
- package/dist/cjs/r-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/r-stepper.cjs.entry.js +1 -1
- package/dist/cjs/r-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/r-tab.cjs.entry.js +2 -2
- package/dist/cjs/r-tabs-list.cjs.entry.js +3 -3
- package/dist/cjs/r-tabs.cjs.entry.js +1 -1
- package/dist/cjs/r-toast-group.cjs.entry.js +1 -1
- package/dist/cjs/r-toast.cjs.entry.js +17 -9
- package/dist/cjs/web-components.cjs.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -0
- package/dist/collection/components/badge/badge.css +10 -0
- package/dist/collection/components/badge/badge.js +5 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +30 -4
- package/dist/collection/components/checkbox-group/checkbox-group.js +26 -0
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/hint/hint.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js +3 -3
- package/dist/collection/components/input/exports.js +46 -0
- package/dist/collection/components/input/input.css +6 -0
- package/dist/collection/components/input/input.js +321 -32
- package/dist/collection/components/input-code/input-code.js +32 -6
- package/dist/collection/components/input-date/input-date.js +32 -6
- package/dist/collection/components/input-password/input-password.js +29 -3
- package/dist/collection/components/input-phone-number/input-phone-number.js +25 -6
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/pagination/pagination.js +18 -3
- package/dist/collection/components/panel/panel.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/popover-action/popover-action.js +1 -1
- package/dist/collection/components/popover-content/popover-content.js +1 -1
- package/dist/collection/components/popover-headline/popover-headline.js +1 -1
- package/dist/collection/components/popover-trigger/popover-trigger.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +5 -5
- package/dist/collection/components/radio-button-description/radio-button-description.js +1 -1
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +1 -1
- package/dist/collection/components/radio-button-title/radio-button-title.js +1 -1
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +8 -5
- package/dist/collection/components/select/select.js +31 -4
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/skip-link/skip-link.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tabs-list/tabs-list.js +3 -3
- package/dist/collection/components/toast/toast.js +17 -9
- package/dist/collection/components/toast-group/toast-group.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +34 -63
- package/dist/collection/components/tooltip/tooltip.js +39 -14
- package/dist/collection/index.js +2 -1
- package/dist/collection/utils/version-checker.js +33 -0
- package/dist/esm/index-CTxpqopm.js +16 -16
- package/dist/esm/index.js +34 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/r-alert.entry.js +1 -1
- package/dist/esm/r-badge.entry.js +3 -2
- package/dist/esm/r-button.entry.js +1 -1
- package/dist/esm/r-checkbox-group.entry.js +5 -0
- package/dist/esm/r-checkbox.entry.js +9 -4
- package/dist/esm/r-dialog.entry.js +2 -2
- package/dist/esm/r-hint_2.entry.js +4 -4
- package/dist/esm/r-icon-button_2.entry.js +43 -18
- package/dist/esm/r-input-code.entry.js +11 -6
- package/dist/esm/r-input-date.entry.js +11 -6
- package/dist/esm/r-input-password.entry.js +8 -3
- package/dist/esm/r-input-phone-number.entry.js +6 -6
- package/dist/esm/r-input.entry.js +249 -33
- package/dist/esm/r-pagination.entry.js +9 -3
- package/dist/esm/r-panel.entry.js +2 -2
- package/dist/esm/r-popover-action.entry.js +1 -1
- package/dist/esm/r-popover-content.entry.js +1 -1
- package/dist/esm/r-popover-headline.entry.js +1 -1
- package/dist/esm/r-popover-trigger.entry.js +1 -1
- package/dist/esm/r-popover.entry.js +2 -2
- package/dist/esm/r-progress-bar.entry.js +1 -1
- package/dist/esm/r-radio-button-description.entry.js +1 -1
- package/dist/esm/r-radio-button-leading.entry.js +1 -1
- package/dist/esm/r-radio-button-title.entry.js +1 -1
- package/dist/esm/r-radio-button-trailing.entry.js +1 -1
- package/dist/esm/r-radio-button.entry.js +5 -5
- package/dist/esm/r-radio-group.entry.js +8 -5
- package/dist/esm/r-select-option.entry.js +1 -1
- package/dist/esm/r-select.entry.js +10 -4
- package/dist/esm/r-skip-link.entry.js +1 -1
- package/dist/esm/r-stepper-item.entry.js +2 -2
- package/dist/esm/r-stepper.entry.js +1 -1
- package/dist/esm/r-tab-panel.entry.js +1 -1
- package/dist/esm/r-tab.entry.js +2 -2
- package/dist/esm/r-tabs-list.entry.js +3 -3
- package/dist/esm/r-tabs.entry.js +1 -1
- package/dist/esm/r-toast-group.entry.js +1 -1
- package/dist/esm/r-toast.entry.js +17 -9
- package/dist/esm/web-components.js +1 -1
- package/dist/types/components/badge/badge.d.ts +3 -0
- package/dist/types/components/checkbox/checkbox.d.ts +2 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +2 -0
- package/dist/types/components/input/exports.d.ts +45 -0
- package/dist/types/components/input/input.d.ts +66 -1
- package/dist/types/components/input-code/input-code.d.ts +2 -0
- package/dist/types/components/input-date/input-date.d.ts +2 -0
- package/dist/types/components/input-password/input-password.d.ts +2 -0
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +2 -0
- package/dist/types/components/pagination/pagination.d.ts +1 -1
- package/dist/types/components/radio-group/radio-group.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +2 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +63 -2
- package/dist/types/utils/version-checker.d.ts +1 -0
- package/dist/web-components/index.esm.js +1 -0
- package/dist/web-components/{p-253068b9.entry.js → p-01aefcf0.entry.js} +1 -1
- package/dist/web-components/p-05cb55db.entry.js +1 -0
- package/dist/web-components/{p-477614c5.entry.js → p-11b22309.entry.js} +1 -1
- package/dist/web-components/{p-562051aa.entry.js → p-2d878934.entry.js} +1 -1
- package/dist/web-components/p-325dbedf.entry.js +1 -0
- package/dist/web-components/{p-10cc9983.entry.js → p-34b9457b.entry.js} +1 -1
- package/dist/web-components/{p-e5b943a2.entry.js → p-36abd05a.entry.js} +1 -1
- package/dist/web-components/{p-d2447e30.entry.js → p-386d1ef9.entry.js} +1 -1
- package/dist/web-components/{p-4de76291.entry.js → p-3d67b77b.entry.js} +1 -1
- package/dist/web-components/{p-93435fcd.entry.js → p-4b12fbc0.entry.js} +1 -1
- package/dist/web-components/p-52f7b505.entry.js +1 -0
- package/dist/web-components/{p-bfc7e6c0.entry.js → p-57ebc474.entry.js} +1 -1
- package/dist/web-components/{p-a1086abe.entry.js → p-57edf7f4.entry.js} +1 -1
- package/dist/web-components/{p-cc363c3d.entry.js → p-69a24fe2.entry.js} +1 -1
- package/dist/web-components/{p-e67b13df.entry.js → p-6d92648c.entry.js} +1 -1
- package/dist/web-components/p-75052597.entry.js +1 -0
- package/dist/web-components/{p-9de3a1a5.entry.js → p-7b2c5b63.entry.js} +1 -1
- package/dist/web-components/p-7bf463ff.entry.js +1 -0
- package/dist/web-components/{p-8e125826.entry.js → p-838e43d4.entry.js} +1 -1
- package/dist/web-components/p-8c16d038.entry.js +1 -0
- package/dist/web-components/{p-075a8dc8.entry.js → p-8f8313de.entry.js} +1 -1
- package/dist/web-components/{p-3beacdab.entry.js → p-9026d5a2.entry.js} +1 -1
- package/dist/web-components/p-9c31c7c4.entry.js +1 -0
- package/dist/web-components/p-9c415b9c.entry.js +1 -0
- package/dist/web-components/p-b303b2cc.entry.js +1 -0
- package/dist/web-components/p-b8df041d.entry.js +1 -0
- package/dist/web-components/p-bc30844f.entry.js +1 -0
- package/dist/web-components/{p-bde44ec4.entry.js → p-c4a77a65.entry.js} +1 -1
- package/dist/web-components/{p-d0310ed4.entry.js → p-c549addf.entry.js} +1 -1
- package/dist/web-components/p-c65df19f.entry.js +1 -0
- package/dist/web-components/p-cf3f044d.entry.js +1 -0
- package/dist/web-components/p-d9778cfa.entry.js +1 -0
- package/dist/web-components/{p-44f87e16.entry.js → p-dbe4ccb8.entry.js} +1 -1
- package/dist/web-components/p-ded50850.entry.js +1 -0
- package/dist/web-components/{p-02b22f8e.entry.js → p-e5be895b.entry.js} +1 -1
- package/dist/web-components/{p-495ba3d2.entry.js → p-e6b34c1e.entry.js} +1 -1
- package/dist/web-components/p-ec3c4800.entry.js +1 -0
- package/dist/web-components/p-f670fd87.entry.js +1 -0
- package/dist/web-components/web-components.esm.js +1 -1
- package/package.json +3 -2
- package/dist/web-components/p-3b8c8951.entry.js +0 -1
- package/dist/web-components/p-4214867d.entry.js +0 -1
- package/dist/web-components/p-42c857e9.entry.js +0 -1
- package/dist/web-components/p-5b850e0f.entry.js +0 -1
- package/dist/web-components/p-6013dfc8.entry.js +0 -1
- package/dist/web-components/p-62e7ae04.entry.js +0 -1
- package/dist/web-components/p-71519d37.entry.js +0 -1
- package/dist/web-components/p-88f7b47f.entry.js +0 -1
- package/dist/web-components/p-8975a6a3.entry.js +0 -1
- package/dist/web-components/p-91cc0bde.entry.js +0 -1
- package/dist/web-components/p-947969d7.entry.js +0 -1
- package/dist/web-components/p-bbba6d79.entry.js +0 -1
- package/dist/web-components/p-c1030394.entry.js +0 -1
- package/dist/web-components/p-caf8f067.entry.js +0 -1
- package/dist/web-components/p-cf4ff357.entry.js +0 -1
- package/dist/web-components/p-dc9cca06.entry.js +0 -1
- package/dist/web-components/p-efec231a.entry.js +0 -1
|
@@ -261,7 +261,7 @@ export class RTabs {
|
|
|
261
261
|
this._changeFocusTab(e.target, e.detail.keycode);
|
|
262
262
|
}
|
|
263
263
|
render() {
|
|
264
|
-
return (h(Host, { key: '
|
|
264
|
+
return (h(Host, { key: 'a1ff15e7b90774486932acd7035839fc8794e10b', class: "r-tabs" }, h("slot", { key: '4d8a00d7344c8cbc69896b43da740009fa54cab9' })));
|
|
265
265
|
}
|
|
266
266
|
static get is() { return "r-tabs"; }
|
|
267
267
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,9 +158,9 @@ export class RTabsList {
|
|
|
158
158
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
|
-
return (h(Host, { key: '
|
|
162
|
-
h("div", { key: '
|
|
163
|
-
h("div", { key: '
|
|
161
|
+
return (h(Host, { key: '3a43356d4178acc008f6213b4f27488740582497', scrollable: `${this.scrollable}`, role: "tablist" }, h("div", { key: 'aa5fdb9a8e8445b083a9ac17d0b6c72f8693e181', class: "r-tabs-list" }, this.scrollable &&
|
|
162
|
+
h("div", { key: '2ba0a3eeae8fd073016af13c9781a20b3c1078cd', "aria-hidden": "true", class: "r-tabs-list--scroll-button-container" }, this.renderScrollButton('left', this.firstItemVisible, this.scrollLeft, this.scrollLeftTooltip), !this.firstItemVisible && h("div", { key: '132141c530c86a0cb5abb48ae5ab55fe00c33444', class: "r-tabs-list--scroll-indicator" })), h("div", { key: 'bbad4d5cf268fa5e15f2e83050ab4f40ec284cbc', class: "r-tabs-list--tabs-container", ref: (el) => this.containerRef = el, onScroll: this.updateScrollState }, h("slot", { key: '8531037917ff783f4467e232ffafff4f2fd0be1f' })), this.scrollable &&
|
|
163
|
+
h("div", { key: 'e39465fadb91478adf2f2ed529a89038ff6695c3', "aria-hidden": "true", class: "r-tabs-list--scroll-button-container" }, !this.lastItemVisible && h("div", { key: 'a4d5660cde041b1ab6ef77c8498e74a85fb79289', class: "r-tabs-list--scroll-indicator" }), this.renderScrollButton('right', this.lastItemVisible, this.scrollRight, this.scrollRightTooltip)))));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "r-tabs-list"; }
|
|
166
166
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,7 +94,10 @@ export class Toast {
|
|
|
94
94
|
// This captures the current natural height for the animation
|
|
95
95
|
this.updateHeightVariable();
|
|
96
96
|
this.isOpen = false;
|
|
97
|
-
|
|
97
|
+
// Only emit if still connected to DOM
|
|
98
|
+
if (this.host.isConnected) {
|
|
99
|
+
this.toastDismiss.emit();
|
|
100
|
+
}
|
|
98
101
|
this.animationCompleted = false;
|
|
99
102
|
if (this.removalTimer)
|
|
100
103
|
clearTimeout(this.removalTimer);
|
|
@@ -259,6 +262,11 @@ export class Toast {
|
|
|
259
262
|
}
|
|
260
263
|
disconnectedCallback() {
|
|
261
264
|
this.host.removeEventListener('animationend', this.handleAnimationEnd);
|
|
265
|
+
// Clear pending timers to prevent events from firing after component is removed
|
|
266
|
+
if (this.delayTimer)
|
|
267
|
+
clearTimeout(this.delayTimer);
|
|
268
|
+
if (this.removalTimer)
|
|
269
|
+
clearTimeout(this.removalTimer);
|
|
262
270
|
}
|
|
263
271
|
render() {
|
|
264
272
|
const { headline, href, action, target, trailingIcon } = this;
|
|
@@ -278,14 +286,14 @@ export class Toast {
|
|
|
278
286
|
name: trailingIcon,
|
|
279
287
|
size: 'm'
|
|
280
288
|
};
|
|
281
|
-
return (h(Host, Object.assign({ key: '
|
|
282
|
-
h("div", { key: '
|
|
283
|
-
h("h2", { key: '
|
|
284
|
-
h("div", { key: '
|
|
285
|
-
h("div", { key: '
|
|
286
|
-
h("r-button", Object.assign({ key: '
|
|
287
|
-
h("div", { key: '
|
|
288
|
-
h("r-icon-button", Object.assign({ key: '
|
|
289
|
+
return (h(Host, Object.assign({ key: '011a8bc8e8a873265a9f239290f479d37c01bedf' }, hostAttrs, { id: this.uniqueId, "data-visually-hidden": `${this.isOpen ? 'false' : 'true'}`, style: { visibility: this.isOpen ? 'visible' : 'hidden' } }), h("div", { key: '04b15f304e0870df9d420f838463d23a5b44e0c8', class: "r-toast" }, this.hasLeading &&
|
|
290
|
+
h("div", { key: '1f093aa61c368f7cfaf250c1c67e9cdeeffc004f', class: "r-toast--leading" }, this.hasLeadingSlot && h("slot", { key: 'a60995cbcae0f7f89698696f8430e70905ffab52', name: "leading" }), this.leadingIconVisible && h("r-icon", Object.assign({ key: '4828bd01672cade715b713b9ae0fc711c4e3ae28', class: "r-toast--leading-icon" }, leadingIconAttrs))), h("div", { key: 'ff6be09bfb6c97c00fda03fe8b87cd41e7d6b5e3', class: "r-toast--main" }, this.hasHeadline &&
|
|
291
|
+
h("h2", { key: 'd127a98f7f215a490df84131fc213f83badce1ab', class: "r-toast--headline" }, h("slot", { key: 'b848f1596357d6806ca557b86bf18a7d476d7d61', name: "headline" }, headline)), this.hasContent &&
|
|
292
|
+
h("div", { key: 'a54472f865378dc9c0b387e3bd0b844bcef3e270', class: "r-toast--content r-typography" }, h("slot", { key: 'e5451f47f218f8c40c99acddbec8c36d683d00ca', onSlotchange: this.handleSlotChange })), this.hasAction &&
|
|
293
|
+
h("div", { key: 'da37911c654dd01adc69dbcb7e26fd06b29fef6d', class: "r-toast--action" }, h("slot", { key: 'b0a1aa508b2d9de350a1faa7ef7667c088f801fe', name: "action" }, this.hasActionLink &&
|
|
294
|
+
h("r-button", Object.assign({ key: 'b0473bb3b8d24ccd2b26a3e588ae58c21e026b59', class: "r-toast--action-link", variant: "text-inline", size: "small" }, actionAttrs), action)))), this.hasTrailing &&
|
|
295
|
+
h("div", { key: '69711c390acb6ca35f2ddfd350910f1e6c080f69', class: "r-toast--trailing" }, this.hasTrailingSlot && h("slot", { key: 'f5a1da0280b06c562c4b4c26a7d505c2cbf80903', name: "trailing" }), this.isDismissManual &&
|
|
296
|
+
h("r-icon-button", Object.assign({ key: '53f5d398b82066da7ebfba497efcc42845134e3c' }, trailingIconAttrs, { class: "r-toast--trailing-button", onClick: this.handleTrailingButtonClick, label: this.dismissLabel }), h("slot", { key: '0fa33220eff7b05ff9580bd62a658ee67b70c09e', name: "dismiss" }))))));
|
|
289
297
|
}
|
|
290
298
|
static get is() { return "r-toast"; }
|
|
291
299
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class ToastGroup {
|
|
|
31
31
|
this.observeSlotContentChange();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '9924942e0ad98ba7e26b0b816bc79546c43c6064' }, h("div", { key: 'ea11ad2d95cb84e15773ab1278ae2229a6fda25d', class: "r-toast-group" }, h("slot", { key: '047c070360fe1649a96b867456228892fa75cd26' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "r-toast-group"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,36 +1,5 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: inline-block;
|
|
3
|
-
--r-tooltip--position: relative;
|
|
4
|
-
--r-tooltip--content--position: fixed;
|
|
5
|
-
--r-tooltip--content--display: none;
|
|
6
|
-
--r-tooltip--content--color: var(--r-text-inverse);
|
|
7
|
-
--r-tooltip--content--background-color: var(--r-background-inverse);
|
|
8
|
-
--r-tooltip--content--font-family: var(--r-font-family-text);
|
|
9
|
-
--r-tooltip--content--font-weight: var(--r-font-weight-regular);
|
|
10
|
-
--r-tooltip--content--font-size: var(--r-font-size-200);
|
|
11
|
-
--r-tooltip--content--line-height: var(--r-line-height-s);
|
|
12
|
-
--r-tooltip--content--min-width: 32px;
|
|
13
|
-
--r-tooltip--content--max-width: 300px;
|
|
14
|
-
--r-tooltip--content--min-height: 32px;
|
|
15
|
-
--r-tooltip--content--padding: var(--r-spacing-050) var(--r-spacing-100);
|
|
16
|
-
--r-tooltip--content--width: max-width;
|
|
17
|
-
--r-tooltip--content--word-break: break-word;
|
|
18
|
-
--r-tooltip--content--box-sizing: border-box;
|
|
19
|
-
--r-tooltip--content--justify-content: center;
|
|
20
|
-
--r-tooltip--content--align-items: center;
|
|
21
|
-
--r-tooltip--content--z-index: 0;
|
|
22
|
-
--r-tooltip--arrow--display: none;
|
|
23
|
-
--r-tooltip--arrow--position: fixed;
|
|
24
|
-
--r-tooltip--arrow--width: 12px;
|
|
25
|
-
--r-tooltip--arrow--height: 12px;
|
|
26
|
-
--r-tooltip--arrow--transform: rotate(180deg);
|
|
27
|
-
--r-tooltip--arrow--inner-content: "";
|
|
28
|
-
--r-tooltip--arrow--inner--width: 12px;
|
|
29
|
-
--r-tooltip--arrow--inner--height: 6px;
|
|
30
|
-
--r-tooltip--arrow--inner--background-color: var(--r-tooltip--content--background-color);
|
|
31
|
-
--r-tooltip--arrow--inner--clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
|
32
|
-
--r-tooltip--arrow--inner--border-radius: 0;
|
|
33
|
-
--r-tooltip--arrow--inner--align-self: flex-end;
|
|
34
3
|
}
|
|
35
4
|
:host slot {
|
|
36
5
|
display: contents;
|
|
@@ -49,14 +18,12 @@
|
|
|
49
18
|
}
|
|
50
19
|
|
|
51
20
|
.r-tooltip {
|
|
52
|
-
position: var(--r-tooltip--position);
|
|
21
|
+
position: var(--r-tooltip--position, relative);
|
|
53
22
|
}
|
|
54
23
|
.r-tooltip:has(.r-tooltip--content--visible) {
|
|
55
|
-
--r-tooltip--content--width: max-content;
|
|
56
24
|
--r-tooltip--content--display: flex;
|
|
57
25
|
--r-tooltip--content--z-index: 1060;
|
|
58
26
|
--r-tooltip--arrow--display: flex;
|
|
59
|
-
--r-tooltip--arrow--inner--display: block;
|
|
60
27
|
}
|
|
61
28
|
.r-tooltip--trigger {
|
|
62
29
|
color: var(--r-tooltip--trigger--color, inherit);
|
|
@@ -70,37 +37,41 @@
|
|
|
70
37
|
--r-tooltip--trigger--outline-offset: 2px;
|
|
71
38
|
}
|
|
72
39
|
.r-tooltip--content {
|
|
73
|
-
position: var(--r-tooltip--content--position);
|
|
74
|
-
display: var(--r-tooltip--content--display);
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
font-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
min-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
40
|
+
position: var(--r-tooltip--content--position, fixed);
|
|
41
|
+
display: var(--r-tooltip--content--display, none);
|
|
42
|
+
justify-content: var(--r-tooltip--content--justify-content, center);
|
|
43
|
+
align-items: var(--r-tooltip--content--align-items, center);
|
|
44
|
+
color: var(--r-tooltip--content--color, var(--r-text-inverse));
|
|
45
|
+
background-color: var(--r-tooltip--content--background-color, var(--r-background-inverse));
|
|
46
|
+
font-family: var(--r-tooltip--content--font-family, var(--r-font-family-text));
|
|
47
|
+
font-weight: var(--r-tooltip--content--font-weight, var(--r-font-weight-regular));
|
|
48
|
+
font-size: var(--r-tooltip--content--font-size, var(--r-font-size-200));
|
|
49
|
+
line-height: var(--r-tooltip--content--line-height, var(--r-line-height-s));
|
|
50
|
+
min-width: var(--r-tooltip--content--min-width, 32px);
|
|
51
|
+
max-width: var(--r-tooltip--content--max-width, 300px);
|
|
52
|
+
min-height: var(--r-tooltip--content--min-height, 32px);
|
|
53
|
+
padding: var(--r-tooltip--content--padding, var(--r-spacing-050) var(--r-spacing-100));
|
|
54
|
+
width: var(--r-tooltip--content--width, max-content);
|
|
55
|
+
word-break: var(--r-tooltip--content--word-break, break-word);
|
|
56
|
+
box-sizing: var(--r-tooltip--content--box-sizing, border-box);
|
|
57
|
+
z-index: var(--r-tooltip--content--z-index, 0);
|
|
58
|
+
white-space: var(--r-tooltip--content--white-space, normal);
|
|
89
59
|
}
|
|
90
60
|
.r-tooltip--arrow {
|
|
91
|
-
display: var(--r-tooltip--arrow--display);
|
|
92
|
-
position: var(--r-tooltip--arrow--position);
|
|
93
|
-
width: var(--r-tooltip--arrow--width);
|
|
94
|
-
height: var(--r-tooltip--arrow--height);
|
|
95
|
-
transform: var(--r-tooltip--arrow--transform);
|
|
61
|
+
display: var(--r-tooltip--arrow--display, none);
|
|
62
|
+
position: var(--r-tooltip--arrow--position, fixed);
|
|
63
|
+
width: var(--r-tooltip--arrow--width, 12px);
|
|
64
|
+
height: var(--r-tooltip--arrow--height, 12px);
|
|
65
|
+
transform: var(--r-tooltip--arrow--transform, rotate(180deg));
|
|
66
|
+
z-index: var(--r-tooltip--content--z-index);
|
|
96
67
|
}
|
|
97
68
|
.r-tooltip--arrow:after {
|
|
98
|
-
content: var(--r-tooltip--arrow--inner-content);
|
|
99
|
-
display: var(--r-tooltip--arrow--inner--display);
|
|
100
|
-
width: var(--r-tooltip--arrow--inner--width);
|
|
101
|
-
height: var(--r-tooltip--arrow--inner--height);
|
|
102
|
-
background-color: var(--r-tooltip--arrow--inner--background-color);
|
|
103
|
-
clip-path: var(--r-tooltip--arrow--inner--clip-path);
|
|
104
|
-
border-radius: var(--r-tooltip--arrow--inner--border-radius);
|
|
105
|
-
align-self: var(--r-tooltip--arrow--inner--align-self);
|
|
69
|
+
content: var(--r-tooltip--arrow--inner-content, "");
|
|
70
|
+
display: var(--r-tooltip--arrow--inner--display, block);
|
|
71
|
+
width: var(--r-tooltip--arrow--inner--width, 12px);
|
|
72
|
+
height: var(--r-tooltip--arrow--inner--height, 6px);
|
|
73
|
+
background-color: var(--r-tooltip--arrow--inner--background-color, var(--r-background-inverse));
|
|
74
|
+
clip-path: var(--r-tooltip--arrow--inner--clip-path, polygon(50% 0%, 0% 100%, 100% 100%));
|
|
75
|
+
border-radius: var(--r-tooltip--arrow--inner--border-radius, 0);
|
|
76
|
+
align-self: var(--r-tooltip--arrow--inner--align-self, flex-end);
|
|
106
77
|
}
|
|
@@ -22,11 +22,11 @@ export class Tooltip {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
this.alignTooltipPosition = () => {
|
|
25
|
-
var _a, _b
|
|
26
|
-
const
|
|
25
|
+
var _a, _b;
|
|
26
|
+
const elementRect = (_a = this.element) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
27
|
+
const tooltipRect = (_b = this.tooltip) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
|
|
27
28
|
const offsetLeft = this.getOffsetLeft(this.arrowPositionState);
|
|
28
|
-
const hostHeight = (
|
|
29
|
-
const hostWidth = ((_g = (_f = this.element) === null || _f === void 0 ? void 0 : _f.getBoundingClientRect()) === null || _g === void 0 ? void 0 : _g.width) + this.arrowWidth || 0;
|
|
29
|
+
const hostHeight = (elementRect === null || elementRect === void 0 ? void 0 : elementRect.height) + this.arrowHeight || 0;
|
|
30
30
|
switch (this.positionState) {
|
|
31
31
|
case 'top':
|
|
32
32
|
this.alignPosition(this.tooltip, -offsetLeft, -this.tooltipContainerHeight);
|
|
@@ -35,21 +35,24 @@ export class Tooltip {
|
|
|
35
35
|
this.alignPosition(this.tooltip, -offsetLeft, hostHeight);
|
|
36
36
|
break;
|
|
37
37
|
case 'left':
|
|
38
|
-
this.
|
|
38
|
+
this.tooltip.style.left = `${elementRect.left - tooltipRect.width - this.arrowWidth}px`;
|
|
39
|
+
this.tooltip.style.top = `${elementRect.top + elementRect.height / 2 - tooltipRect.height / 2}px`;
|
|
39
40
|
break;
|
|
40
41
|
case 'right':
|
|
41
|
-
this.
|
|
42
|
+
this.tooltip.style.left = `${elementRect.left + elementRect.width + this.arrowWidth}px`;
|
|
43
|
+
this.tooltip.style.top = `${elementRect.top + elementRect.height / 2 - tooltipRect.height / 2}px`;
|
|
42
44
|
break;
|
|
43
45
|
default:
|
|
44
46
|
break;
|
|
45
47
|
}
|
|
46
48
|
};
|
|
47
49
|
this.alignArrowPosition = () => {
|
|
48
|
-
var _a, _b, _c, _d
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const hostHeight = (
|
|
52
|
-
const
|
|
50
|
+
var _a, _b, _c, _d;
|
|
51
|
+
const elementRect = (_a = this.element) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
52
|
+
const tooltipRect = (_b = this.tooltip) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
|
|
53
|
+
const hostHeight = (elementRect === null || elementRect === void 0 ? void 0 : elementRect.height) || 0;
|
|
54
|
+
const offsetLeft = Math.abs((elementRect === null || elementRect === void 0 ? void 0 : elementRect.width) - ((_d = (_c = this.arrow) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect()) === null || _d === void 0 ? void 0 : _d.width)) / 2;
|
|
55
|
+
const arrowCenterY = (elementRect === null || elementRect === void 0 ? void 0 : elementRect.top) + elementRect.height / 2 - this.arrowHeight / 2;
|
|
53
56
|
switch (this.positionState) {
|
|
54
57
|
case 'top':
|
|
55
58
|
this.alignPosition(this.arrow, offsetLeft, -this.arrowHeight);
|
|
@@ -58,10 +61,12 @@ export class Tooltip {
|
|
|
58
61
|
this.alignPosition(this.arrow, offsetLeft, hostHeight);
|
|
59
62
|
break;
|
|
60
63
|
case 'left':
|
|
61
|
-
this.
|
|
64
|
+
this.arrow.style.left = `${tooltipRect.left + tooltipRect.width}px`;
|
|
65
|
+
this.arrow.style.top = `${arrowCenterY}px`;
|
|
62
66
|
break;
|
|
63
67
|
case 'right':
|
|
64
|
-
this.
|
|
68
|
+
this.arrow.style.left = `${tooltipRect.left - this.arrowWidth}px`;
|
|
69
|
+
this.arrow.style.top = `${arrowCenterY}px`;
|
|
65
70
|
break;
|
|
66
71
|
default:
|
|
67
72
|
break;
|
|
@@ -97,12 +102,15 @@ export class Tooltip {
|
|
|
97
102
|
var _a;
|
|
98
103
|
this.isShown = true;
|
|
99
104
|
this.tooltip.classList.add('r-tooltip--content--visible');
|
|
105
|
+
this.updateZIndex();
|
|
100
106
|
const interactiveElement = this.getInteractiveElement(this.activeElement);
|
|
101
107
|
interactiveElement === null || interactiveElement === void 0 ? void 0 : interactiveElement.setAttribute('aria-description', (_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.innerText);
|
|
102
108
|
};
|
|
103
109
|
this.removeTooltip = () => {
|
|
104
110
|
this.isShown = false;
|
|
105
111
|
this.tooltip.style.width = 'max-content';
|
|
112
|
+
this.tooltip.style.zIndex = '';
|
|
113
|
+
this.arrow.style.zIndex = '';
|
|
106
114
|
this.tooltip.classList.remove('r-tooltip--content--visible');
|
|
107
115
|
const interactiveElement = this.getInteractiveElement(this.activeElement);
|
|
108
116
|
interactiveElement === null || interactiveElement === void 0 ? void 0 : interactiveElement.removeAttribute('aria-description');
|
|
@@ -359,6 +367,23 @@ export class Tooltip {
|
|
|
359
367
|
this.arrowPositionState = 'right';
|
|
360
368
|
}
|
|
361
369
|
}
|
|
370
|
+
updateZIndex() {
|
|
371
|
+
const dialogs = document.querySelectorAll('dialog[open]');
|
|
372
|
+
let highestZIndex = 0;
|
|
373
|
+
dialogs.forEach((dialog) => {
|
|
374
|
+
const htmlDialog = dialog;
|
|
375
|
+
if (htmlDialog.open) {
|
|
376
|
+
const style = getComputedStyle(htmlDialog);
|
|
377
|
+
const zIndex = parseInt(style.zIndex, 10);
|
|
378
|
+
if (!isNaN(zIndex) && zIndex > highestZIndex) {
|
|
379
|
+
highestZIndex = zIndex;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
const tooltipZIndex = highestZIndex > 0 ? highestZIndex + 10 : 1060;
|
|
384
|
+
this.tooltip.style.zIndex = `${tooltipZIndex}`;
|
|
385
|
+
this.arrow.style.zIndex = `${tooltipZIndex}`;
|
|
386
|
+
}
|
|
362
387
|
render() {
|
|
363
388
|
const { text, arrowPositionState, positionState, isShown, uniqueId } = this;
|
|
364
389
|
const hostAttrs = {
|
|
@@ -375,7 +400,7 @@ export class Tooltip {
|
|
|
375
400
|
role: 'tooltip',
|
|
376
401
|
'aria-hidden': `${!isShown}`
|
|
377
402
|
};
|
|
378
|
-
return (h(Host, Object.assign({ key: '
|
|
403
|
+
return (h(Host, Object.assign({ key: '19155344b057a413834706bf19dd5a1bc082549d' }, hostAttrs, { onMouseenter: this.handleHover, onMouseleave: this.removeTooltip }), h("div", { key: '298c77b5c9611aba36d3df450f2c4ebda728113a', class: "r-tooltip" }, h("div", Object.assign({ key: 'e97a5fb30b6b67cde30734b02acdd1f354d58219', class: "r-tooltip--trigger", onFocus: this.handleFocus, onBlur: this.removeTooltip }, triggerAttrs), h("slot", { key: '3ad175db2674badbe9e022f52794a6f16afee7f5' })), h("div", Object.assign({ key: '6ed4995a7765422ff604e8da0797f651c12b1e8a', class: "r-tooltip--content", ref: (el) => this.tooltip = el }, contentAttrs), text), h("div", { key: '98e5991e801b1e54138c2a5156061237cafa2459', ref: (el) => this.arrow = el, class: "r-tooltip--arrow" }))));
|
|
379
404
|
}
|
|
380
405
|
static get is() { return "r-tooltip"; }
|
|
381
406
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { checkForUpdates } from "./utils/version-checker";
|
|
2
|
+
checkForUpdates('@riverty/web-components', '6.2.1');
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export async function checkForUpdates(packageName, currentVersion) {
|
|
2
|
+
if (typeof window === 'undefined' || !window.localStorage)
|
|
3
|
+
return;
|
|
4
|
+
const storageKey = `riverty-version-check:${packageName}`;
|
|
5
|
+
const lastCheck = localStorage.getItem(storageKey);
|
|
6
|
+
const oneDay = 24 * 60 * 60 * 1000;
|
|
7
|
+
if (lastCheck && Date.now() - parseInt(lastCheck, 10) < oneDay) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
localStorage.setItem(storageKey, Date.now().toString());
|
|
11
|
+
const registryUrl = 'https://registry.npmjs.org';
|
|
12
|
+
try {
|
|
13
|
+
const response = await fetch(`${registryUrl}/${packageName}/latest`, {
|
|
14
|
+
signal: AbortSignal.timeout(5000)
|
|
15
|
+
});
|
|
16
|
+
if (!response.ok)
|
|
17
|
+
return;
|
|
18
|
+
const data = await response.json();
|
|
19
|
+
const latestVersion = data.version;
|
|
20
|
+
if (!latestVersion || latestVersion === currentVersion)
|
|
21
|
+
return;
|
|
22
|
+
const currentParts = currentVersion.split('.').map(Number);
|
|
23
|
+
const latestParts = latestVersion.split('.').map(Number);
|
|
24
|
+
const isMajorUpdate = latestParts[0] > currentParts[0];
|
|
25
|
+
console.warn(`%c⚠️ ${packageName} update available\n` +
|
|
26
|
+
`%c Current: ${currentVersion} → Latest: ${latestVersion}\n` +
|
|
27
|
+
(isMajorUpdate ? `%c ⚠️ This is a MAJOR version with breaking changes!\n` : '') +
|
|
28
|
+
`%c Run: npm install ${packageName}@latest`, 'color: #f59e0b; font-weight: bold; font-size: 14px;', 'color: #6b7280;', isMajorUpdate ? 'color: #ef4444; font-weight: bold;' : '', 'color: #3b82f6;');
|
|
29
|
+
}
|
|
30
|
+
catch (_a) {
|
|
31
|
+
// Silently fail - version check is non-critical
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -68,10 +68,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
68
68
|
}
|
|
69
69
|
switch(bundleId) {
|
|
70
70
|
|
|
71
|
-
case 'r-design-system-devtools':
|
|
72
|
-
return import(
|
|
73
|
-
/* webpackMode: "lazy" */
|
|
74
|
-
'./r-design-system-devtools.entry.js').then(processMod, consoleError);
|
|
75
71
|
case 'r-accordion':
|
|
76
72
|
return import(
|
|
77
73
|
/* webpackMode: "lazy" */
|
|
@@ -100,18 +96,34 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
100
96
|
return import(
|
|
101
97
|
/* webpackMode: "lazy" */
|
|
102
98
|
'./r-checkbox-group.entry.js').then(processMod, consoleError);
|
|
99
|
+
case 'r-design-system-devtools':
|
|
100
|
+
return import(
|
|
101
|
+
/* webpackMode: "lazy" */
|
|
102
|
+
'./r-design-system-devtools.entry.js').then(processMod, consoleError);
|
|
103
103
|
case 'r-dialog':
|
|
104
104
|
return import(
|
|
105
105
|
/* webpackMode: "lazy" */
|
|
106
106
|
'./r-dialog.entry.js').then(processMod, consoleError);
|
|
107
|
+
case 'r-illustration':
|
|
108
|
+
return import(
|
|
109
|
+
/* webpackMode: "lazy" */
|
|
110
|
+
'./r-illustration.entry.js').then(processMod, consoleError);
|
|
107
111
|
case 'r-input-code':
|
|
108
112
|
return import(
|
|
109
113
|
/* webpackMode: "lazy" */
|
|
110
114
|
'./r-input-code.entry.js').then(processMod, consoleError);
|
|
115
|
+
case 'r-input-date':
|
|
116
|
+
return import(
|
|
117
|
+
/* webpackMode: "lazy" */
|
|
118
|
+
'./r-input-date.entry.js').then(processMod, consoleError);
|
|
111
119
|
case 'r-input-password':
|
|
112
120
|
return import(
|
|
113
121
|
/* webpackMode: "lazy" */
|
|
114
122
|
'./r-input-password.entry.js').then(processMod, consoleError);
|
|
123
|
+
case 'r-input-phone-number':
|
|
124
|
+
return import(
|
|
125
|
+
/* webpackMode: "lazy" */
|
|
126
|
+
'./r-input-phone-number.entry.js').then(processMod, consoleError);
|
|
115
127
|
case 'r-list-item':
|
|
116
128
|
return import(
|
|
117
129
|
/* webpackMode: "lazy" */
|
|
@@ -232,10 +244,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
232
244
|
return import(
|
|
233
245
|
/* webpackMode: "lazy" */
|
|
234
246
|
'./r-button.entry.js').then(processMod, consoleError);
|
|
235
|
-
case 'r-illustration':
|
|
236
|
-
return import(
|
|
237
|
-
/* webpackMode: "lazy" */
|
|
238
|
-
'./r-illustration.entry.js').then(processMod, consoleError);
|
|
239
247
|
case 'r-icon-button_2':
|
|
240
248
|
return import(
|
|
241
249
|
/* webpackMode: "lazy" */
|
|
@@ -248,14 +256,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
248
256
|
return import(
|
|
249
257
|
/* webpackMode: "lazy" */
|
|
250
258
|
'./r-icon.entry.js').then(processMod, consoleError);
|
|
251
|
-
case 'r-input-date':
|
|
252
|
-
return import(
|
|
253
|
-
/* webpackMode: "lazy" */
|
|
254
|
-
'./r-input-date.entry.js').then(processMod, consoleError);
|
|
255
|
-
case 'r-input-phone-number':
|
|
256
|
-
return import(
|
|
257
|
-
/* webpackMode: "lazy" */
|
|
258
|
-
'./r-input-phone-number.entry.js').then(processMod, consoleError);
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
return import(
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1,35 @@
|
|
|
1
|
+
async function checkForUpdates(packageName, currentVersion) {
|
|
2
|
+
if (typeof window === 'undefined' || !window.localStorage)
|
|
3
|
+
return;
|
|
4
|
+
const storageKey = `riverty-version-check:${packageName}`;
|
|
5
|
+
const lastCheck = localStorage.getItem(storageKey);
|
|
6
|
+
const oneDay = 24 * 60 * 60 * 1000;
|
|
7
|
+
if (lastCheck && Date.now() - parseInt(lastCheck, 10) < oneDay) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
localStorage.setItem(storageKey, Date.now().toString());
|
|
11
|
+
const registryUrl = 'https://registry.npmjs.org';
|
|
12
|
+
try {
|
|
13
|
+
const response = await fetch(`${registryUrl}/${packageName}/latest`, {
|
|
14
|
+
signal: AbortSignal.timeout(5000)
|
|
15
|
+
});
|
|
16
|
+
if (!response.ok)
|
|
17
|
+
return;
|
|
18
|
+
const data = await response.json();
|
|
19
|
+
const latestVersion = data.version;
|
|
20
|
+
if (!latestVersion || latestVersion === currentVersion)
|
|
21
|
+
return;
|
|
22
|
+
const currentParts = currentVersion.split('.').map(Number);
|
|
23
|
+
const latestParts = latestVersion.split('.').map(Number);
|
|
24
|
+
const isMajorUpdate = latestParts[0] > currentParts[0];
|
|
25
|
+
console.warn(`%c⚠️ ${packageName} update available\n` +
|
|
26
|
+
`%c Current: ${currentVersion} → Latest: ${latestVersion}\n` +
|
|
27
|
+
(isMajorUpdate ? `%c ⚠️ This is a MAJOR version with breaking changes!\n` : '') +
|
|
28
|
+
`%c Run: npm install ${packageName}@latest`, 'color: #f59e0b; font-weight: bold; font-size: 14px;', 'color: #6b7280;', isMajorUpdate ? 'color: #ef4444; font-weight: bold;' : '', 'color: #3b82f6;');
|
|
29
|
+
}
|
|
30
|
+
catch (_a) {
|
|
31
|
+
// Silently fail - version check is non-critical
|
|
32
|
+
}
|
|
33
|
+
}
|
|
1
34
|
|
|
35
|
+
checkForUpdates('@riverty/web-components', '6.2.1');
|