@roadtrip/components 3.45.1 → 3.45.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/dist/cjs/index-0e4df560.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +3 -3
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/icon/svg/filter-particle-specific-color.svg +1 -0
- package/dist/collection/components/icon/svg/filter-particle-specific-outline.svg +1 -0
- package/dist/esm/index-6de77b28.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +3 -3
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -0
- package/dist/roadtrip/{p-bb1aeca6.entry.js → p-246ff4b4.entry.js} +2 -2
- package/dist/roadtrip/p-246ff4b4.entry.js.map +1 -0
- package/dist/roadtrip/p-55a946f4.js.map +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/svg/filter-particle-specific-color.svg +1 -0
- package/dist/roadtrip/svg/filter-particle-specific-outline.svg +1 -0
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +2 -0
- package/icons/index.js +2 -0
- package/package.json +1 -1
- package/dist/roadtrip/p-bb1aeca6.entry.js.map +0 -1
|
@@ -1976,10 +1976,10 @@ const Drawer = class {
|
|
|
1976
1976
|
handleFocusTrapProp(value) {
|
|
1977
1977
|
var _a, _b;
|
|
1978
1978
|
if (value) {
|
|
1979
|
-
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.
|
|
1979
|
+
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.unpause();
|
|
1980
1980
|
}
|
|
1981
1981
|
else {
|
|
1982
|
-
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.
|
|
1982
|
+
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.pause();
|
|
1983
1983
|
}
|
|
1984
1984
|
}
|
|
1985
1985
|
// @Watch('isOpen')
|
|
@@ -2061,7 +2061,7 @@ const Drawer = class {
|
|
|
2061
2061
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
2062
2062
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
2063
2063
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
2064
|
-
return (index.h(index.Host, { key: '
|
|
2064
|
+
return (index.h(index.Host, { key: '7af3b4a88f0a363c855326f7d16dd3ad61e33f77', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, index.h("div", { key: '8e53b924d59c397e1e00ab08fa4db306d5922add', class: "road-drawer-wrapper" }, index.h("div", { key: '860bc071a169c65f2e0b3887126c6107b77e37d1', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), index.h("div", { key: 'c3fbf6f148733f1f52fcae529b1080c1dbd28840', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document" }, index.h("div", { key: '0edcecc7ab673fe11a1378860396c6c6c5ee7612', class: "drawer-content" }, index.h("header", { key: '39b86a4cb7bfbe7ec148ca2a54b8ca2f238a8a03', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (index.h("h2", { class: "drawer-title" }, this.drawerTitle)) : (index.h("div", { class: "drawer-title" }, index.h("slot", { name: "title" }))), closeIconElement), index.h("div", { key: '323e24993c0c3a136e38bf4878f1b0813cfa7c25', class: `drawer-body ${removePaddingClass}` }, index.h("slot", { key: 'd99631b6d2635dbc5e73f30c2ff1617ee198fd23' })), index.h("footer", { key: 'c900c6d0f86425c86e8c877e9312f294228c98e2', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, index.h("slot", { key: '5a582bb9cb0035f35f7040d664305735f8ae933f', name: "footer" })))))));
|
|
2065
2065
|
}
|
|
2066
2066
|
get el() { return index.getElement(this); }
|
|
2067
2067
|
static get watchers() { return {
|