globuswebcomponents 0.8.6 → 0.8.7

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 (32) hide show
  1. package/dist/cjs/gb-avatar_39.cjs.entry.js +3 -3
  2. package/dist/cjs/gb-avatar_39.cjs.entry.js.map +1 -1
  3. package/dist/cjs/globuscomponents.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +24 -3
  6. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
  7. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  8. package/dist/components/gb-input-dropdown.js +1 -1
  9. package/dist/components/gb-input-field.js +1 -1
  10. package/dist/components/gb-pagination.js +2 -2
  11. package/dist/components/gb-rich-text.js +3 -3
  12. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  13. package/dist/components/{p-260fe4d2.js → p-0f63c8d7.js} +6 -5
  14. package/dist/components/p-0f63c8d7.js.map +1 -0
  15. package/dist/components/{p-8c57e5da.js → p-37b17646.js} +2 -2
  16. package/dist/components/{p-8c57e5da.js.map → p-37b17646.js.map} +1 -1
  17. package/dist/components/{p-8e94ef1f.js → p-3f6049f7.js} +3 -3
  18. package/dist/components/{p-8e94ef1f.js.map → p-3f6049f7.js.map} +1 -1
  19. package/dist/components/test-input-tag.js +1 -1
  20. package/dist/esm/gb-avatar_39.entry.js +3 -3
  21. package/dist/esm/gb-avatar_39.entry.js.map +1 -1
  22. package/dist/esm/globuscomponents.js +1 -1
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  25. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  26. package/dist/globuscomponents/{p-109a1a02.entry.js → p-66e2d9e8.entry.js} +2 -2
  27. package/dist/globuscomponents/p-66e2d9e8.entry.js.map +1 -0
  28. package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +1 -1
  29. package/dist/types/components.d.ts +1 -0
  30. package/package.json +1 -1
  31. package/dist/components/p-260fe4d2.js.map +0 -1
  32. package/dist/globuscomponents/p-109a1a02.entry.js.map +0 -1
@@ -1052,19 +1052,19 @@ const GbInputDropdownMenuItem = class {
1052
1052
  supportingTextSlot.classList.add('text-sm-regular');
1053
1053
  }
1054
1054
  }
1055
- handleClick() {
1055
+ async handleClick() {
1056
1056
  this.dropdownItemClicked.emit();
1057
1057
  }
1058
1058
  render() {
1059
1059
  return (
1060
1060
  // <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
1061
- index.h("div", { key: '7eb046e52a4b268416c78b4e6dc8e3f4637b2144', class: "dropdown-container", onClick: () => this.handleClick() }, index.h("div", { key: '8be94f3e141263da5d976e53e0f5d6bc5aa14103', class: {
1061
+ index.h("div", { key: '6be7aa542af6d27813ada1cf5c9c2423e53e4173', class: "dropdown-container", onClick: () => this.handleClick() }, index.h("div", { key: '6fc4c8bb8cc0b71c43f536f61b83eeda7c6c6f57', class: {
1062
1062
  'dropdown-item': true,
1063
1063
  'selected': this.selected,
1064
1064
  'disabled': this.state === 'disabled',
1065
1065
  'checkbox': this.type === 'checkbox',
1066
1066
  [this.type]: true,
1067
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, index.h("div", { key: '52ed13d21563f0e68a5a30dac4d7c42929ee0ebb', class: "content" }, this.type === 'icon_leading' && (index.h("svg", { key: 'e2ca8d4c1d02ead0ecbf51a59fa30fa631d38be0', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, index.h("path", { key: '7a978b7ffb78be3fbc9d393ebd6649e5241d8c49', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), index.h("path", { key: 'f770b55abf3a015856592c2ca3c644a235f3464d', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (index.h("gb-avatar", { key: '99f45d2918d54a851992aab087db3c3f66eb0cb9', class: "avatar-icon", size: "xs", color: this.color, text: true }, index.h("slot", { key: '3f0733e8b93fbc142e0b6070937d4408e96aac7c', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (index.h(index.Fragment, null, this.state === 'default' ? (index.h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, index.h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, index.h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && index.h("gb-checkbox", { key: 'e066bd2a4f65233a6c3b7de3e4b76cc0961d1a73', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), index.h("slot", { key: '4295ff3db413eae2dca031c382f206d5f6f8a268', name: "name" }), this.supportingText && (index.h("span", { key: '2580e4f1c2a0e625e8d26916e5f48402ec897681' }, index.h("slot", { key: '3dff37b8d5bca7a234c4a88811cd24bcac260a0e', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (index.h("div", { key: 'baa6d9b0991f7bce9ece61676aee6940384209f0', class: `tick` }, this.state !== 'disabled' ? (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `tick ${this.state}` }, index.h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, index.h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
1067
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, index.h("div", { key: '4cd819e144b05592ef3efe8896ff4d5c6c574025', class: "content" }, this.type === 'icon_leading' && (index.h("svg", { key: '18d1100f5baf56dd80403058d0be26f4344fa29f', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, index.h("path", { key: 'c4d9641acafa696c0f23f447f593eaa6eb34e679', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), index.h("path", { key: 'fde4f2650612db80d9264b4c5ce4acb531ceec24', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (index.h("gb-avatar", { key: 'fe348d225925b03db17a3ad892296b555f7ecb6b', class: "avatar-icon", size: "xs", color: this.color, text: true }, index.h("slot", { key: '6c92d5dea83d2e164c2988e9b8267dbcb64e66a2', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (index.h(index.Fragment, null, this.state === 'default' ? (index.h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, index.h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, index.h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && index.h("gb-checkbox", { key: '9d6e1a041f977e6cd17c22934100905a85a5c72d', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), index.h("slot", { key: 'ec107f8fe703fda1289c79da2d27e051b361be12', name: "name" }), this.supportingText && (index.h("span", { key: '6005c83c134f056caadeaee345cc79307d8c42ec' }, index.h("slot", { key: '848e58c23c0a79b7ab7531955fadd7ec1b0e5085', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (index.h("div", { key: '2186768fd493c517cd26f7956a49b2575b877caf', class: `tick` }, this.state !== 'disabled' ? (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `tick ${this.state}` }, index.h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, index.h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
1068
1068
  }
1069
1069
  get el() { return index.getElement(this); }
1070
1070
  };