@yoobic/yobi 8.5.0-10 → 8.5.0-11

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.
Files changed (34) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/yoo-community-detail.cjs.entry.js +2 -2
  4. package/dist/cjs/yoo-context-dialog.cjs.entry.js +1 -1
  5. package/dist/cjs/yoo-course-summary.cjs.entry.js +2 -2
  6. package/dist/cjs/yoo-form-signature-pad-dialog.cjs.entry.js +2 -2
  7. package/dist/cjs/yoo-grid.cjs.entry.js +2 -0
  8. package/dist/collection/collection-manifest.json +0 -1
  9. package/dist/collection/components/2.molecules/context-dialog/context-dialog.css +1 -1
  10. package/dist/collection/components/grid/grid/grid.js +2 -0
  11. package/dist/collection/feature-communicate/feed/community-detail/community-detail.js +2 -2
  12. package/dist/collection/feature-learn/learning/course-summary/course-summary.css +1 -4
  13. package/dist/collection/feature-learn/learning/course-summary/course-summary.js +1 -1
  14. package/dist/design-system/design-system.esm.js +1 -1
  15. package/dist/design-system/yoo-community-detail.entry.js +2 -2
  16. package/dist/design-system/yoo-context-dialog.entry.js +1 -1
  17. package/dist/design-system/yoo-course-summary.entry.js +2 -2
  18. package/dist/design-system/yoo-form-signature-pad-dialog.entry.js +2 -2
  19. package/dist/design-system/yoo-grid.entry.js +2 -0
  20. package/dist/esm/design-system.js +1 -1
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/esm/yoo-community-detail.entry.js +2 -2
  23. package/dist/esm/yoo-context-dialog.entry.js +1 -1
  24. package/dist/esm/yoo-course-summary.entry.js +2 -2
  25. package/dist/esm/yoo-form-signature-pad-dialog.entry.js +2 -2
  26. package/dist/esm/yoo-grid.entry.js +2 -0
  27. package/dist/types/components.d.ts +0 -23
  28. package/package.json +1 -1
  29. package/dist/cjs/yoo-background.cjs.entry.js +0 -35
  30. package/dist/collection/components/1.atoms/background/background.css +0 -242
  31. package/dist/collection/components/1.atoms/background/background.js +0 -126
  32. package/dist/design-system/yoo-background.entry.js +0 -31
  33. package/dist/esm/yoo-background.entry.js +0 -31
  34. package/dist/types/components/1.atoms/background/background.d.ts +0 -15
@@ -51,11 +51,11 @@ const YooCommunityDetailComponent = class {
51
51
  }
52
52
  renderMobileHeader() {
53
53
  var _a, _b, _c;
54
- return index.h("div", { class: "top-container" }, index.h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } }), index.h("div", { class: "title-container" }, index.h("yoo-truncate", null, overlays.translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name))), index.h("div", { class: "members-container" }, overlays.pipes.number.transform((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) + ' ' + overlays.translate('MEMBERS')), index.h("div", { class: "bottom-overlay" }));
54
+ return index.h("div", { class: "top-container" }, index.h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } }), index.h("div", { class: "title-container" }, index.h("yoo-truncate", null, overlays.translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name))), index.h("div", { class: "members-container" }, overlays.pipes.number.transform(((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) || 0) + ' ' + overlays.translate('MEMBERS')), index.h("div", { class: "bottom-overlay" }));
55
55
  }
56
56
  renderWebHeader() {
57
57
  var _a, _b, _c;
58
- return index.h("div", { class: "top-container", ref: (el) => this.topContainerElement = el }, index.h("div", { class: "image-container" }, index.h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } })), index.h("div", { class: "information-container" }, index.h("div", { class: "title-container" }, overlays.translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name), index.h("div", { class: "more-container" }, index.h("slot", { name: "action-slot" }), index.h("slot", { name: "more-action" }))), index.h("div", { class: "members-container" }, overlays.pipes.number.transform((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) + ' ' + overlays.translate('MEMBERS')), this.renderDescriptionContainer()));
58
+ return index.h("div", { class: "top-container", ref: (el) => this.topContainerElement = el }, index.h("div", { class: "image-container" }, index.h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } })), index.h("div", { class: "information-container" }, index.h("div", { class: "title-container" }, overlays.translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name), index.h("div", { class: "more-container" }, index.h("slot", { name: "action-slot" }), index.h("slot", { name: "more-action" }))), index.h("div", { class: "members-container" }, overlays.pipes.number.transform(((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) || 0) + ' ' + overlays.translate('MEMBERS')), this.renderDescriptionContainer()));
59
59
  }
60
60
  renderTabSelection() {
61
61
  return (index.h("div", { class: { 'tab-outer-container': true, 'collapsed': this.hideMembersList } }, index.h("div", { class: "tab-container" }, index.h("div", { class: "collapsible-icon-container", onClick: () => { this.toggleList(); } }, index.h("yoo-icon", { size: "medium", name: "sidebar-right", color: this.hideMembersList ? 'app-color' : 'stable' })), !this.hideMembersList && index.h("yoo-tabs", { class: "no-margin", tabs: this.tabs, onTabSelected: (ev) => this.membersListChanged.emit({ manager: ev.detail.nextIndex === 1 }) })), !this.hideMembersList && index.h("slot", { name: "members-grid" })));
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7319daa9.js');
6
6
 
7
- const contextDialogCss = "svg:not(:root){overflow:hidden}:host{--basic-transitions:opacity .3s ease-in-out, margin .3s ease-in-out;z-index:10000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;background:var(--light, #ffffff);border-radius:var(--border-radius-04, 0.25rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));-webkit-transition:var(--basic-transitions), height 0s ease-in-out;transition:var(--basic-transitions), height 0s ease-in-out}:host([hidden]){height:0 !important;margin:0 !important;opacity:0;-webkit-transition:var(--basic-transitions), height 0s ease-in-out 0.3s;transition:var(--basic-transitions), height 0s ease-in-out 0.3s}:host(.absolute){position:absolute}:host(.fixed){position:fixed}";
7
+ const contextDialogCss = "svg:not(:root){overflow:hidden}:host{--basic-transitions:opacity .3s ease-in-out, margin .3s ease-in-out;z-index:21000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;background:var(--light, #ffffff);border-radius:var(--border-radius-04, 0.25rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));-webkit-transition:var(--basic-transitions), height 0s ease-in-out;transition:var(--basic-transitions), height 0s ease-in-out}:host([hidden]){height:0 !important;margin:0 !important;opacity:0;-webkit-transition:var(--basic-transitions), height 0s ease-in-out 0.3s;transition:var(--basic-transitions), height 0s ease-in-out 0.3s}:host(.absolute){position:absolute}:host(.fixed){position:fixed}";
8
8
 
9
9
  const YooContextDialogComponent = class {
10
10
  constructor(hostRef) {
@@ -10,7 +10,7 @@ const overlays = require('./overlays-a6fd4072.js');
10
10
  require('./index-f08462bf.js');
11
11
  require('./_commonjsHelpers-94df2ea7.js');
12
12
 
13
- const courseSummaryCss = "svg:not(:root){overflow:hidden}:host{display:block}:host .course-info-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .course-info-container .info-sub-container{padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem)}:host .course-info-container .info-sub-container yoo-collapsible{background:transparent}:host .course-info-container .info-sub-container yoo-collapsible div[slot=title]{padding-left:0;color:var(--dark, #000000);font-weight:var(--font-weight-700, 700);font-size:var(--font-size-18, 1.125rem)}:host .course-info-container .info-sub-container yoo-collapsible .details-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--spacing-08, 0.5rem);-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing-08, 0.5rem)}:host .course-info-container .info-sub-container .button-container{padding-top:var(--spacing-08, 0.5rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .course-info-container yoo-background{display:block}:host .course-info-container yoo-background.hidden{display:none}:host .course-info-container .course-description{padding-bottom:var(--spacing-08, 0.5rem);font-size:var(--font-size-14, 0.875rem)}:host .course-info-container .progress-bar-container{display:-ms-flexbox;display:flex;padding-bottom:var(--spacing-08, 0.5rem);font-size:var(--font-size-14, 0.875rem)}:host .course-info-container .progress-bar-container yoo-progress-bar{margin-right:var(--spacing-04, 0.25rem);--progress-bar-color:var(--app-color, #5a30f4)}:host(.web:not(.force-mobile)) .full-width-view{width:35%}:host(.mobile) .course-info-container{border:none}:host(.mobile) .course-info-container .course-title{margin:0;font-weight:var(--font-weight-700, 700);font-size:var(--font-size-24, 1.5rem);line-height:normal}:host(.mobile) .course-info-container .course-info{margin-top:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-info yoo-tag{font-size:var(--font-size-16, 1rem)}:host(.mobile) .course-info-container .course-points{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-points yoo-tag{padding-right:var(--spacing-08, 0.5rem);padding-bottom:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-points .badges-container{display:-ms-flexbox;display:flex}:host(.mobile) .course-info-container .course-points .badges-container yoo-tag{padding-right:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .progress-bar-container{height:1.25rem;margin-top:var(--spacing-16, 1rem);padding:0}:host(.mobile) .course-info-container .course-description{margin-top:var(--spacing-16, 1rem);padding:0;color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem)}:host(.web) yoo-progress-bar{--progress-value-font-size:var(--font-size-14, 0.875rem)}";
13
+ const courseSummaryCss = "svg:not(:root){overflow:hidden}:host{display:block}:host .course-info-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .course-info-container .info-sub-container{padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem)}:host .course-info-container .info-sub-container yoo-collapsible{background:transparent}:host .course-info-container .info-sub-container yoo-collapsible div[slot=title]{padding-left:0;color:var(--dark, #000000);font-weight:var(--font-weight-700, 700);font-size:var(--font-size-18, 1.125rem)}:host .course-info-container .info-sub-container yoo-collapsible .details-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--spacing-08, 0.5rem);-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing-08, 0.5rem)}:host .course-info-container .info-sub-container .button-container{padding-top:var(--spacing-08, 0.5rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .course-info-container yoo-img[hidden]{display:none}:host .course-info-container .course-description{padding-bottom:var(--spacing-08, 0.5rem);font-size:var(--font-size-14, 0.875rem)}:host .course-info-container .progress-bar-container{display:-ms-flexbox;display:flex;padding-bottom:var(--spacing-08, 0.5rem);font-size:var(--font-size-14, 0.875rem)}:host .course-info-container .progress-bar-container yoo-progress-bar{margin-right:var(--spacing-04, 0.25rem);--progress-bar-color:var(--app-color, #5a30f4)}:host(.web:not(.force-mobile)) .full-width-view{width:35%}:host(.mobile) .course-info-container{border:none}:host(.mobile) .course-info-container .course-title{margin:0;font-weight:var(--font-weight-700, 700);font-size:var(--font-size-24, 1.5rem);line-height:normal}:host(.mobile) .course-info-container .course-info{margin-top:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-info yoo-tag{font-size:var(--font-size-16, 1rem)}:host(.mobile) .course-info-container .course-points{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-points yoo-tag{padding-right:var(--spacing-08, 0.5rem);padding-bottom:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .course-points .badges-container{display:-ms-flexbox;display:flex}:host(.mobile) .course-info-container .course-points .badges-container yoo-tag{padding-right:var(--spacing-08, 0.5rem)}:host(.mobile) .course-info-container .progress-bar-container{height:1.25rem;margin-top:var(--spacing-16, 1rem);padding:0}:host(.mobile) .course-info-container .course-description{margin-top:var(--spacing-16, 1rem);padding:0;color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem)}:host(.web) yoo-progress-bar{--progress-value-font-size:var(--font-size-14, 0.875rem)}";
14
14
 
15
15
  const YooCourseSummaryComponent = class {
16
16
  constructor(hostRef) {
@@ -134,7 +134,7 @@ const YooCourseSummaryComponent = class {
134
134
  }
135
135
  renderWeb() {
136
136
  var _a;
137
- return (index.h("div", { class: "course-info-container" }, !this.forceMobile && index.h("yoo-background", { class: { 'course-summary': true, 'hidden': this.isHidden }, forceMobile: this.forceMobile, imgUrl: this.getCourseImage(), imgHeight: this.imageHeight, imgWidth: this.imageWidth }), index.h("div", { class: "info-sub-container" }, index.h("yoo-collapsible", { class: "lesson-detail no-padding", slotHeader: true, iconSize: "medium", collapsed: false, onContentShown: ev => this.onCollapsibleToggled(ev.detail) }, index.h("div", { slot: "title" }, overlays.translateMulti((_a = this.actualPlan) === null || _a === void 0 ? void 0 : _a.title)), this.renderProgress(), index.h("div", { class: "details-container" }, this.availablePoints > 0 && this.renderCoursePoints(), this.renderCompetency(), this.renderDueDate(), this.badges > 0 && index.h("yoo-tooltip", { placement: "top", content: `<yoo-tag color="text-color-20" icon="lock" icon-only-color="light" size="small"></yoo-tag> ${this.badges} ${overlays.translate('BADGESAVAILABLE')}` }, index.h("yoo-icon", { name: "badge", size: "small" }))), this.renderDescription(), this.renderRatingButton()))));
137
+ return (index.h("div", { class: "course-info-container" }, !this.forceMobile && index.h("yoo-img", { ignoreHeight: true, ignoreWidth: true, hidden: this.isHidden, src: this.getCourseImage() }), index.h("div", { class: "info-sub-container" }, index.h("yoo-collapsible", { class: "lesson-detail no-padding", slotHeader: true, iconSize: "medium", collapsed: false, onContentShown: ev => this.onCollapsibleToggled(ev.detail) }, index.h("div", { slot: "title" }, overlays.translateMulti((_a = this.actualPlan) === null || _a === void 0 ? void 0 : _a.title)), this.renderProgress(), index.h("div", { class: "details-container" }, this.availablePoints > 0 && this.renderCoursePoints(), this.renderCompetency(), this.renderDueDate(), this.badges > 0 && index.h("yoo-tooltip", { placement: "top", content: `<yoo-tag color="text-color-20" icon="lock" icon-only-color="light" size="small"></yoo-tag> ${this.badges} ${overlays.translate('BADGESAVAILABLE')}` }, index.h("yoo-icon", { name: "badge", size: "small" }))), this.renderDescription(), this.renderRatingButton()))));
138
138
  }
139
139
  render() {
140
140
  return (index.h(index.Host, { class: {
@@ -11,7 +11,7 @@ require('./index-f08462bf.js');
11
11
  require('./_commonjsHelpers-94df2ea7.js');
12
12
 
13
13
  /*!
14
- * Signature Pad v4.0.7 | https://github.com/szimek/signature_pad
14
+ * Signature Pad v4.0.8 | https://github.com/szimek/signature_pad
15
15
  * (c) 2022 Szymon Nowak | Released under the MIT license
16
16
  */
17
17
 
@@ -559,7 +559,7 @@ class SignaturePad extends SignatureEventTarget {
559
559
  const header = '<svg' +
560
560
  ' xmlns="http://www.w3.org/2000/svg"' +
561
561
  ' xmlns:xlink="http://www.w3.org/1999/xlink"' +
562
- ` viewBox="${minX} ${minY} ${this.canvas.width} ${this.canvas.height}"` +
562
+ ` viewBox="${minX} ${minY} ${maxX} ${maxY}"` +
563
563
  ` width="${maxX}"` +
564
564
  ` height="${maxY}"` +
565
565
  '>';
@@ -1414,6 +1414,8 @@ const YooGridComponent = class {
1414
1414
  else if (!this.disconnected) {
1415
1415
  this.setFormFieldValue();
1416
1416
  }
1417
+ this.searchText = '';
1418
+ this.onFetchData();
1417
1419
  }
1418
1420
  setFormFieldValue() {
1419
1421
  if (this.isFormField && this.returnQuery) {
@@ -8,7 +8,6 @@
8
8
  "./components/1.atoms/icon/icon.js",
9
9
  "./components/1.atoms/avatar/avatar.js",
10
10
  "./components/1.atoms/avatars/avatars.js",
11
- "./components/1.atoms/background/background.js",
12
11
  "./components/1.atoms/badge/badge.js",
13
12
  "./components/1.atoms/breadcrumbs/breadcrumbs.js",
14
13
  "./components/1.atoms/button/button.js",
@@ -207,7 +207,7 @@ svg:not(:root) {
207
207
 
208
208
  :host {
209
209
  --basic-transitions: opacity .3s ease-in-out, margin .3s ease-in-out;
210
- z-index: 10000;
210
+ z-index: 21000;
211
211
  display: flex;
212
212
  flex-direction: column;
213
213
  overflow: hidden;
@@ -1331,6 +1331,8 @@ export class YooGridComponent {
1331
1331
  else if (!this.disconnected) {
1332
1332
  this.setFormFieldValue();
1333
1333
  }
1334
+ this.searchText = '';
1335
+ this.onFetchData();
1334
1336
  }
1335
1337
  setFormFieldValue() {
1336
1338
  if (this.isFormField && this.returnQuery) {
@@ -37,11 +37,11 @@ export class YooCommunityDetailComponent {
37
37
  }
38
38
  renderMobileHeader() {
39
39
  var _a, _b, _c;
40
- return h("div", { class: "top-container" }, h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } }), h("div", { class: "title-container" }, h("yoo-truncate", null, translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name))), h("div", { class: "members-container" }, pipes.number.transform((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) + ' ' + translate('MEMBERS')), h("div", { class: "bottom-overlay" }));
40
+ return h("div", { class: "top-container" }, h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } }), h("div", { class: "title-container" }, h("yoo-truncate", null, translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name))), h("div", { class: "members-container" }, pipes.number.transform(((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) || 0) + ' ' + translate('MEMBERS')), h("div", { class: "bottom-overlay" }));
41
41
  }
42
42
  renderWebHeader() {
43
43
  var _a, _b, _c;
44
- return h("div", { class: "top-container", ref: (el) => this.topContainerElement = el }, h("div", { class: "image-container" }, h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } })), h("div", { class: "information-container" }, h("div", { class: "title-container" }, translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name), h("div", { class: "more-container" }, h("slot", { name: "action-slot" }), h("slot", { name: "more-action" }))), h("div", { class: "members-container" }, pipes.number.transform((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) + ' ' + translate('MEMBERS')), this.renderDescriptionContainer()));
44
+ return h("div", { class: "top-container", ref: (el) => this.topContainerElement = el }, h("div", { class: "image-container" }, h("yoo-img", { src: (_a = this.community) === null || _a === void 0 ? void 0 : _a.covers, fallbackIcon: { name: 'community', color: 'light' } })), h("div", { class: "information-container" }, h("div", { class: "title-container" }, translateMulti((_b = this.community) === null || _b === void 0 ? void 0 : _b.name), h("div", { class: "more-container" }, h("slot", { name: "action-slot" }), h("slot", { name: "more-action" }))), h("div", { class: "members-container" }, pipes.number.transform(((_c = this.community) === null || _c === void 0 ? void 0 : _c.numberOfMembers) || 0) + ' ' + translate('MEMBERS')), this.renderDescriptionContainer()));
45
45
  }
46
46
  renderTabSelection() {
47
47
  return (h("div", { class: { 'tab-outer-container': true, 'collapsed': this.hideMembersList } }, h("div", { class: "tab-container" }, h("div", { class: "collapsible-icon-container", onClick: () => { this.toggleList(); } }, h("yoo-icon", { size: "medium", name: "sidebar-right", color: this.hideMembersList ? 'app-color' : 'stable' })), !this.hideMembersList && h("yoo-tabs", { class: "no-margin", tabs: this.tabs, onTabSelected: (ev) => this.membersListChanged.emit({ manager: ev.detail.nextIndex === 1 }) })), !this.hideMembersList && h("slot", { name: "members-grid" })));
@@ -237,10 +237,7 @@ svg:not(:root) {
237
237
  padding-top: var(--spacing-08, 0.5rem);
238
238
  border-top: var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1);
239
239
  }
240
- :host .course-info-container yoo-background {
241
- display: block;
242
- }
243
- :host .course-info-container yoo-background.hidden {
240
+ :host .course-info-container yoo-img[hidden] {
244
241
  display: none;
245
242
  }
246
243
  :host .course-info-container .course-description {
@@ -122,7 +122,7 @@ export class YooCourseSummaryComponent {
122
122
  }
123
123
  renderWeb() {
124
124
  var _a;
125
- return (h("div", { class: "course-info-container" }, !this.forceMobile && h("yoo-background", { class: { 'course-summary': true, 'hidden': this.isHidden }, forceMobile: this.forceMobile, imgUrl: this.getCourseImage(), imgHeight: this.imageHeight, imgWidth: this.imageWidth }), h("div", { class: "info-sub-container" }, h("yoo-collapsible", { class: "lesson-detail no-padding", slotHeader: true, iconSize: "medium", collapsed: false, onContentShown: ev => this.onCollapsibleToggled(ev.detail) }, h("div", { slot: "title" }, translateMulti((_a = this.actualPlan) === null || _a === void 0 ? void 0 : _a.title)), this.renderProgress(), h("div", { class: "details-container" }, this.availablePoints > 0 && this.renderCoursePoints(), this.renderCompetency(), this.renderDueDate(), this.badges > 0 && h("yoo-tooltip", { placement: "top", content: `<yoo-tag color="text-color-20" icon="lock" icon-only-color="light" size="small"></yoo-tag> ${this.badges} ${translate('BADGESAVAILABLE')}` }, h("yoo-icon", { name: "badge", size: "small" }))), this.renderDescription(), this.renderRatingButton()))));
125
+ return (h("div", { class: "course-info-container" }, !this.forceMobile && h("yoo-img", { ignoreHeight: true, ignoreWidth: true, hidden: this.isHidden, src: this.getCourseImage() }), h("div", { class: "info-sub-container" }, h("yoo-collapsible", { class: "lesson-detail no-padding", slotHeader: true, iconSize: "medium", collapsed: false, onContentShown: ev => this.onCollapsibleToggled(ev.detail) }, h("div", { slot: "title" }, translateMulti((_a = this.actualPlan) === null || _a === void 0 ? void 0 : _a.title)), this.renderProgress(), h("div", { class: "details-container" }, this.availablePoints > 0 && this.renderCoursePoints(), this.renderCompetency(), this.renderDueDate(), this.badges > 0 && h("yoo-tooltip", { placement: "top", content: `<yoo-tag color="text-color-20" icon="lock" icon-only-color="light" size="small"></yoo-tag> ${this.badges} ${translate('BADGESAVAILABLE')}` }, h("yoo-icon", { name: "badge", size: "small" }))), this.renderDescription(), this.renderRatingButton()))));
126
126
  }
127
127
  render() {
128
128
  return (h(Host, { class: {