@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
|
@@ -1972,10 +1972,10 @@ const Drawer = class {
|
|
|
1972
1972
|
handleFocusTrapProp(value) {
|
|
1973
1973
|
var _a, _b;
|
|
1974
1974
|
if (value) {
|
|
1975
|
-
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.
|
|
1975
|
+
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.unpause();
|
|
1976
1976
|
}
|
|
1977
1977
|
else {
|
|
1978
|
-
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.
|
|
1978
|
+
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.pause();
|
|
1979
1979
|
}
|
|
1980
1980
|
}
|
|
1981
1981
|
// @Watch('isOpen')
|
|
@@ -2057,7 +2057,7 @@ const Drawer = class {
|
|
|
2057
2057
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
2058
2058
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
2059
2059
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
2060
|
-
return (h(Host, { key: '
|
|
2060
|
+
return (h(Host, { key: '7af3b4a88f0a363c855326f7d16dd3ad61e33f77', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, h("div", { key: '8e53b924d59c397e1e00ab08fa4db306d5922add', class: "road-drawer-wrapper" }, h("div", { key: '860bc071a169c65f2e0b3887126c6107b77e37d1', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { key: 'c3fbf6f148733f1f52fcae529b1080c1dbd28840', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document" }, h("div", { key: '0edcecc7ab673fe11a1378860396c6c6c5ee7612', class: "drawer-content" }, h("header", { key: '39b86a4cb7bfbe7ec148ca2a54b8ca2f238a8a03', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (h("h2", { class: "drawer-title" }, this.drawerTitle)) : (h("div", { class: "drawer-title" }, h("slot", { name: "title" }))), closeIconElement), h("div", { key: '323e24993c0c3a136e38bf4878f1b0813cfa7c25', class: `drawer-body ${removePaddingClass}` }, h("slot", { key: 'd99631b6d2635dbc5e73f30c2ff1617ee198fd23' })), h("footer", { key: 'c900c6d0f86425c86e8c877e9312f294228c98e2', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, h("slot", { key: '5a582bb9cb0035f35f7040d664305735f8ae933f', name: "footer" })))))));
|
|
2061
2061
|
}
|
|
2062
2062
|
get el() { return getElement(this); }
|
|
2063
2063
|
static get watchers() { return {
|