gd-bs 6.6.49 → 6.6.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.49",
3
+ "version": "6.6.50",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  import { ICardAction, ICardBody } from "./types";
2
- import { appendContent } from "../common";
2
+ import { appendContent, setClassNames } from "../common";
3
3
  import { CardAction } from "./action";
4
4
  import { HTMLItem } from "./templates";
5
5
 
@@ -31,7 +31,8 @@ export class CardBody {
31
31
  private configure() {
32
32
  // Set the class names
33
33
  if (this._props.className) {
34
- this._el.classList.add(this._props.className);
34
+ // Set the class names
35
+ setClassNames(this._el, this._props.className);
35
36
  }
36
37
 
37
38
  // Update the title