gd-bs 6.0.3 → 6.0.5
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/build/bs.js +1 -1
- package/build/components/modal/templates.js +1 -1
- package/build/components/offcanvas/templates.js +1 -1
- package/build/components/popover/index.js +10 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +292 -268
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.js.LICENSE.txt +287 -263
- package/dist/gd-bs.min.js +1 -1
- package/package.json +15 -15
- package/pnpm-lock.yaml +630 -643
- package/src/components/common.ts +1 -1
- package/src/components/modal/templates.ts +1 -1
- package/src/components/offcanvas/templates.ts +1 -1
- package/src/components/popover/index.ts +10 -1
package/src/components/common.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const appendContent = (elParent: Element, content: string | Element | Fun
|
|
|
8
8
|
elParent.innerHTML = content;
|
|
9
9
|
} else {
|
|
10
10
|
// Append the content
|
|
11
|
-
elParent.appendChild(typeof (content) === "function" ? content() : content);
|
|
11
|
+
elParent.appendChild(typeof (content) === "function" ? (content as any)() : content);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -3,7 +3,7 @@ export const HTML = `
|
|
|
3
3
|
<div class="modal-dialog">
|
|
4
4
|
<div class="modal-content">
|
|
5
5
|
<div class="modal-header">
|
|
6
|
-
<
|
|
6
|
+
<div class="modal-title fs-5"></div>
|
|
7
7
|
<button type="button" class="btn-close" data-bs-dismiss="modal" area-label="Close"></button>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="modal-body"></div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const HTML = `
|
|
2
2
|
<div class="offcanvas" tabindex="-1">
|
|
3
3
|
<div class="offcanvas-header">
|
|
4
|
-
<div></div>
|
|
4
|
+
<div class="fs-5"></div>
|
|
5
5
|
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="offcanvas-body"></div>
|
|
@@ -186,7 +186,16 @@ class _Popover extends Base<IPopoverProps> implements IPopover {
|
|
|
186
186
|
interactive: true,
|
|
187
187
|
placement,
|
|
188
188
|
plugins: [animateFill, followCursor, inlinePositioning, sticky],
|
|
189
|
-
theme
|
|
189
|
+
theme,
|
|
190
|
+
popperOptions: {
|
|
191
|
+
modifiers: [{
|
|
192
|
+
name: "preventOverflow",
|
|
193
|
+
options: {
|
|
194
|
+
altAxis: true,
|
|
195
|
+
tether: false
|
|
196
|
+
}
|
|
197
|
+
}]
|
|
198
|
+
}
|
|
190
199
|
},
|
|
191
200
|
...this.props.options
|
|
192
201
|
};
|