@yoobic/yobi 8.5.0-10 → 8.5.0-12

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 (40) 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-announcement-heading.cjs.entry.js +1 -1
  4. package/dist/cjs/yoo-community-detail.cjs.entry.js +2 -2
  5. package/dist/cjs/yoo-context-dialog.cjs.entry.js +1 -1
  6. package/dist/cjs/yoo-course-summary.cjs.entry.js +2 -2
  7. package/dist/cjs/yoo-form-signature-pad-dialog.cjs.entry.js +2 -2
  8. package/dist/cjs/yoo-grid.cjs.entry.js +3 -1
  9. package/dist/collection/collection-manifest.json +0 -1
  10. package/dist/collection/components/2.molecules/context-dialog/context-dialog.css +1 -1
  11. package/dist/collection/components/grid/grid/grid.css +1 -0
  12. package/dist/collection/components/grid/grid/grid.js +2 -0
  13. package/dist/collection/feature-communicate/feed/community-detail/community-detail.js +2 -2
  14. package/dist/collection/feature-learn/learning/course-summary/course-summary.css +1 -4
  15. package/dist/collection/feature-learn/learning/course-summary/course-summary.js +1 -1
  16. package/dist/collection/feature-operate/mission/announcement-heading/announcement-heading.js +1 -1
  17. package/dist/design-system/design-system.esm.js +1 -1
  18. package/dist/design-system/yoo-announcement-heading.entry.js +1 -1
  19. package/dist/design-system/yoo-community-detail.entry.js +2 -2
  20. package/dist/design-system/yoo-context-dialog.entry.js +1 -1
  21. package/dist/design-system/yoo-course-summary.entry.js +2 -2
  22. package/dist/design-system/yoo-form-signature-pad-dialog.entry.js +2 -2
  23. package/dist/design-system/yoo-grid.entry.js +3 -1
  24. package/dist/esm/design-system.js +1 -1
  25. package/dist/esm/loader.js +1 -1
  26. package/dist/esm/yoo-announcement-heading.entry.js +1 -1
  27. package/dist/esm/yoo-community-detail.entry.js +2 -2
  28. package/dist/esm/yoo-context-dialog.entry.js +1 -1
  29. package/dist/esm/yoo-course-summary.entry.js +2 -2
  30. package/dist/esm/yoo-form-signature-pad-dialog.entry.js +2 -2
  31. package/dist/esm/yoo-grid.entry.js +3 -1
  32. package/dist/types/components.d.ts +0 -23
  33. package/package.json +1 -1
  34. package/dist/cjs/yoo-background.cjs.entry.js +0 -35
  35. package/dist/collection/components/1.atoms/background/background.css +0 -242
  36. package/dist/collection/components/1.atoms/background/background.js +0 -126
  37. package/dist/design-system/yoo-background.entry.js +0 -31
  38. package/dist/esm/yoo-background.entry.js +0 -31
  39. package/dist/types/components/1.atoms/background/background.d.ts +0 -15
  40. package/dist/types/components/form/image-cropper-dialog/pintura/pintura.d.ts +0 -1236
@@ -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;
@@ -3800,6 +3800,7 @@ svg:not(:root) {
3800
3800
  position: sticky;
3801
3801
  top: 0;
3802
3802
  z-index: 2;
3803
+ background: var(--light, #ffffff);
3803
3804
  }
3804
3805
  :host(.autocomplete) .container-base .dropdown-header yoo-empty-state {
3805
3806
  height: var(--empty-state-height);
@@ -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: {
@@ -110,7 +110,7 @@ export class YooAnnouncementHeadingComponent {
110
110
  h("yoo-form-carousel", { maxHeight: 370, paginationType: "progressbar", ...this.carouselAttributes }, this.renderContent()),
111
111
  !this.hasPhotos &&
112
112
  this.renderContent(),
113
- h("div", { class: "action", onClick: (ev) => execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
113
+ h("div", { class: "action", onClick: (ev) => this.viewAllHandler && execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
114
114
  ];
115
115
  }
116
116
  render() {