@sula-tech/webcomponents 0.22.0 → 0.23.1

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 (117) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/sula-avatar_32.cjs.entry.js +124 -78
  3. package/dist/cjs/sula-avatar_32.cjs.entry.js.map +1 -1
  4. package/dist/cjs/sula-toast-stack.cjs.entry.js +4 -4
  5. package/dist/cjs/sula-toast.cjs.entry.js +2 -2
  6. package/dist/cjs/webcomponents.cjs.js +1 -1
  7. package/dist/collection/components/sula-calendar/sula-calendar.css +1 -1
  8. package/dist/collection/components/sula-calendar/sula-calendar.js +56 -17
  9. package/dist/collection/components/sula-calendar/sula-calendar.js.map +1 -1
  10. package/dist/collection/components/sula-calendar/sula-calendar.stories.js +16 -1
  11. package/dist/collection/components/sula-calendar/sula-calendar.stories.js.map +1 -1
  12. package/dist/collection/components/sula-chip/sula-chip.css +1 -1
  13. package/dist/collection/components/sula-chip/sula-chip.js +30 -4
  14. package/dist/collection/components/sula-chip/sula-chip.js.map +1 -1
  15. package/dist/collection/components/sula-chip/sula-chip.stories.js +55 -0
  16. package/dist/collection/components/sula-chip/sula-chip.stories.js.map +1 -1
  17. package/dist/collection/components/sula-dropdown/sula-dropdown.js +3 -3
  18. package/dist/collection/components/sula-icon/sula-icon.css +1 -1
  19. package/dist/collection/components/sula-icon/sula-icon.js +1 -1
  20. package/dist/collection/components/sula-icon-picker/sula-icon-picker.js +2 -2
  21. package/dist/collection/components/sula-loader/sula-loader.js +1 -1
  22. package/dist/collection/components/sula-menu/sula-menu.js +8 -8
  23. package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.css +1 -1
  24. package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.js +1 -1
  25. package/dist/collection/components/sula-progress-bar/sula-progress-bar.js +2 -2
  26. package/dist/collection/components/sula-radio-button/sula-radio-button.js +2 -2
  27. package/dist/collection/components/sula-search-bar/sula-search-bar.js +2 -2
  28. package/dist/collection/components/sula-segmented-control/sula-segmented-control.js +1 -1
  29. package/dist/collection/components/sula-switch/sula-switch.js +4 -4
  30. package/dist/collection/components/sula-table/sula-table.js +3 -3
  31. package/dist/collection/components/sula-table-body/sula-table-body.js +1 -1
  32. package/dist/collection/components/sula-table-cell/sula-table-cell.js +2 -2
  33. package/dist/collection/components/sula-table-head-cell/sula-table-head-cell.js +2 -2
  34. package/dist/collection/components/sula-table-header/sula-table-header.js +1 -1
  35. package/dist/collection/components/sula-table-row/sula-table-row.js +1 -1
  36. package/dist/collection/components/sula-tag/sula-tag.js +3 -3
  37. package/dist/collection/components/sula-textarea/sula-textarea.js +6 -6
  38. package/dist/collection/components/sula-textfield/sula-textfield.css +1 -1
  39. package/dist/collection/components/sula-textfield/sula-textfield.js +2 -2
  40. package/dist/collection/components/sula-tiles/sula-tiles.js +1 -1
  41. package/dist/collection/components/sula-timeline-list/sula-timeline-list.js +1 -1
  42. package/dist/collection/components/sula-toast/sula-toast.js +2 -2
  43. package/dist/collection/components/sula-toast-stack/sula-toast-stack.js +4 -4
  44. package/dist/collection/components/sula-toggle/sula-toggle.js +1 -1
  45. package/dist/collection/components/sula-tooltip/sula-tooltip.js +1 -1
  46. package/dist/components/{p-MPkJUrNl.js → p-BORy1230.js} +3 -3
  47. package/dist/components/{p-MPkJUrNl.js.map → p-BORy1230.js.map} +1 -1
  48. package/dist/components/{p-DwyYG9oc.js → p-BhhQBGyJ.js} +5 -5
  49. package/dist/components/{p-DwyYG9oc.js.map → p-BhhQBGyJ.js.map} +1 -1
  50. package/dist/components/{p-D5G0T47I.js → p-DRskhGOW.js} +5 -5
  51. package/dist/components/{p-D5G0T47I.js.map → p-DRskhGOW.js.map} +1 -1
  52. package/dist/components/{p-jplrktAF.js → p-DjPqgTzy.js} +4 -4
  53. package/dist/components/{p-jplrktAF.js.map → p-DjPqgTzy.js.map} +1 -1
  54. package/dist/components/{p-t7f_qmad.js → p-Dl7qXhBf.js} +7 -7
  55. package/dist/components/{p-t7f_qmad.js.map → p-Dl7qXhBf.js.map} +1 -1
  56. package/dist/components/{p-DGAtNvje.js → p-DzGiAQVF.js} +6 -6
  57. package/dist/components/{p-DGAtNvje.js.map → p-DzGiAQVF.js.map} +1 -1
  58. package/dist/components/{p-CXm0qTFO.js → p-V9D4rqf7.js} +4 -4
  59. package/dist/components/{p-CXm0qTFO.js.map → p-V9D4rqf7.js.map} +1 -1
  60. package/dist/components/{p-fAOl4EhI.js → p-jsqtM3Ie.js} +5 -5
  61. package/dist/components/{p-fAOl4EhI.js.map → p-jsqtM3Ie.js.map} +1 -1
  62. package/dist/components/sula-avatar.js +1 -1
  63. package/dist/components/sula-badge.js +1 -1
  64. package/dist/components/sula-breadcrumb.js +1 -1
  65. package/dist/components/sula-button.js +1 -1
  66. package/dist/components/sula-calendar.js +59 -20
  67. package/dist/components/sula-calendar.js.map +1 -1
  68. package/dist/components/sula-checkbox.js +1 -1
  69. package/dist/components/sula-chip.js +15 -7
  70. package/dist/components/sula-chip.js.map +1 -1
  71. package/dist/components/sula-dropdown.js +1 -1
  72. package/dist/components/sula-icon-picker.js +6 -6
  73. package/dist/components/sula-icon.js +1 -1
  74. package/dist/components/sula-loader.js +1 -1
  75. package/dist/components/sula-menu-select-list.js +1 -1
  76. package/dist/components/sula-menu.js +9 -9
  77. package/dist/components/sula-modal.js +3 -3
  78. package/dist/components/sula-progress-bar.js +3 -3
  79. package/dist/components/sula-radio-button.js +2 -2
  80. package/dist/components/sula-search-bar.js +1 -1
  81. package/dist/components/sula-segmented-control.js +2 -2
  82. package/dist/components/sula-switch.js +4 -4
  83. package/dist/components/sula-table-body.js +1 -1
  84. package/dist/components/sula-table-cell.js +2 -2
  85. package/dist/components/sula-table-head-cell.js +2 -2
  86. package/dist/components/sula-table-header.js +1 -1
  87. package/dist/components/sula-table-row.js +1 -1
  88. package/dist/components/sula-table.js +3 -3
  89. package/dist/components/sula-tag.js +4 -4
  90. package/dist/components/sula-textarea.js +6 -6
  91. package/dist/components/sula-textfield.js +1 -1
  92. package/dist/components/sula-tiles.js +2 -2
  93. package/dist/components/sula-timeline-list.js +2 -2
  94. package/dist/components/sula-toast-stack.js +6 -6
  95. package/dist/components/sula-toast.js +1 -1
  96. package/dist/components/sula-toggle.js +2 -2
  97. package/dist/components/sula-tooltip.js +2 -2
  98. package/dist/esm/loader.js +1 -1
  99. package/dist/esm/sula-avatar_32.entry.js +124 -78
  100. package/dist/esm/sula-avatar_32.entry.js.map +1 -1
  101. package/dist/esm/sula-toast-stack.entry.js +4 -4
  102. package/dist/esm/sula-toast.entry.js +2 -2
  103. package/dist/esm/webcomponents.js +1 -1
  104. package/dist/types/components/sula-calendar/sula-calendar.d.ts +9 -3
  105. package/dist/types/components/sula-calendar/sula-calendar.stories.d.ts +1 -0
  106. package/dist/types/components/sula-chip/sula-chip.d.ts +5 -0
  107. package/dist/types/components/sula-chip/sula-chip.stories.d.ts +12 -0
  108. package/dist/types/components.d.ts +8 -0
  109. package/dist/webcomponents/{p-df271629.entry.js → p-18c84807.entry.js} +6 -6
  110. package/dist/webcomponents/{p-22b10b91.entry.js → p-20b3135d.entry.js} +399 -315
  111. package/dist/webcomponents/p-20b3135d.entry.js.map +1 -0
  112. package/dist/webcomponents/{p-c552c435.entry.js → p-705e2424.entry.js} +16 -16
  113. package/dist/webcomponents/webcomponents.esm.js +4 -3
  114. package/package.json +1 -1
  115. package/dist/webcomponents/p-22b10b91.entry.js.map +0 -1
  116. /package/dist/webcomponents/{p-df271629.entry.js.map → p-18c84807.entry.js.map} +0 -0
  117. /package/dist/webcomponents/{p-c552c435.entry.js.map → p-705e2424.entry.js.map} +0 -0
@@ -37,7 +37,7 @@ export class SulaTimelineList {
37
37
  return iconByStatus[status];
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '320e2e53baa2a44b8950af2b4bb0550155745087' }, h("div", { key: 'd6da8f7f1c82c0f385e6c50a1f96e0cc3e8cf00d', class: "flex flex-col bg-surface-on-body px-24 py-32 w-fit rounded-md" }, this.sulaTimelineList.map((item, index) => {
40
+ return (h(Host, { key: 'a915cb5598fcda55d5be011f56bcc2249369883c' }, h("div", { key: '46621aa7b649672e5d6103d05b6f56dcb5e08fb5', class: "flex flex-col bg-surface-on-body px-24 py-32 w-fit rounded-md" }, this.sulaTimelineList.map((item, index) => {
41
41
  const isLastItem = index === this.sulaTimelineList.length - 1;
42
42
  return (h("div", { class: {
43
43
  'relative timeline-item': true,
@@ -171,10 +171,10 @@ export class SulaToast {
171
171
  }
172
172
  render() {
173
173
  const intent = this.intent;
174
- return (h(Host, { key: 'be9ec64bd756310cbc5a41d218ff47c53f04de54', onMouseEnter: () => this.setHover(true), onMouseLeave: () => this.setHover(false), onFocusin: () => {
174
+ return (h(Host, { key: '50370f6063bd87ddcbfefc45987c04eb602ab9ea', onMouseEnter: () => this.setHover(true), onMouseLeave: () => this.setHover(false), onFocusin: () => {
175
175
  this.focused = true;
176
176
  this.updateTimeout();
177
- }, onFocusout: this.handleFocusOut }, h("div", { key: '712abcedfd6615db3de20ac66acd872f34db2737', part: "container", class: `toast-surface relative isolate box-border flex items-center w-full p-16 gap-12 rounded-sm border bg-opacity-toast ${intent.border} ${this.animated ? 'toast-surface--animated' : ''}`, style: { '--toast-border-color': intent.borderColor } }, this.icon && (h("div", { key: '656903d50bf672c3058c1ff1aa564a8f25ec4a71', part: "icon", "aria-hidden": "true", class: `flex shrink-0 items-center justify-center w-44 h-44 rounded-xxl ${intent.background}` }, h("sula-icon", { key: '649ec85c3ffe3c1d8ba49301df36dafcef68df19', icon: this.icon, customClass: `text-2xl ${intent.color}`, class: "flex leading-none" }))), h("div", { key: '7c0259e7e101e37f740fc44f56ed6b8aba89ebce', part: "content", class: `flex min-w-0 flex-1 flex-col gap-8 ${this.closable ? 'pr-48' : ''}` }, h("div", { key: 'a8d4be58976ba60577b72fb18cf5adde5302e4a9', class: "flex flex-col gap-4" }, this.toastTitle && (h("p", { key: 'a68c9bef629be007bf7e8e2fe9e171103f0da293', class: "toast-copy toast-title text-label-medium-bold text-text-primary", title: this.toastTitle }, this.toastTitle)), this.message && (h("p", { key: 'fd3df25e0dbb73a322e55f5464699c6b36dc558c', class: "toast-copy toast-message text-label-medium-regular text-text-secondary", title: this.message }, this.message))), this.actionText && (h("button", { key: 'a64c83ed689f099928ed8e89ddfbd1a29f9d7d37', type: "button", class: `toast-copy toast-action self-start text-left text-label-medium-bold text-text-link underline rounded ${FOCUS_RING_CLASSES}`, title: this.actionText, onClick: () => this.toastAction.emit() }, this.actionText))), this.closable && (h("button", { key: 'ec4cb316444689bc05aa176f86b51c1b6d5e88af', part: "close-button", type: "button", "aria-label": this.closeLabel, class: `absolute top-16 right-16 flex items-center justify-center w-24 h-24 rounded ${intent.color} ${FOCUS_RING_CLASSES}`, onClick: () => this.toastDismissRequested.emit({ reason: 'close' }) }, h("sula-icon", { key: '9be25e6384c6a154a359a15ab2ec0d732befe282', "aria-hidden": "true", icon: "ph ph-x", customClass: "text-2xl", class: "flex leading-none" }))), h("svg", { key: '8996d6309d39d79e5db7671fcbd8c1b6cbfeda5c', class: "toast-border", "aria-hidden": "true", focusable: "false" }, h("rect", { key: '141c0776c32283daef59b261b04e4059beee3aca', class: "toast-border__path", pathLength: "1" }))), h("div", { key: '318987642827371f72b5754827c8019a6a1b968a', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement === 'polite' ? this.announcedText : ''), h("div", { key: '6c1e12a9c15f11afb7f517d911441a868978c2ba', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement === 'assertive' ? this.announcedText : '')));
177
+ }, onFocusout: this.handleFocusOut }, h("div", { key: '4334d01b1188afc4663ebadc48a84dcb4d393c99', part: "container", class: `toast-surface relative isolate box-border flex items-center w-full p-16 gap-12 rounded-sm border bg-opacity-toast ${intent.border} ${this.animated ? 'toast-surface--animated' : ''}`, style: { '--toast-border-color': intent.borderColor } }, this.icon && (h("div", { key: 'b87bf80bd8932414ae5d709e2be0d5feaefd3a8e', part: "icon", "aria-hidden": "true", class: `flex shrink-0 items-center justify-center w-44 h-44 rounded-xxl ${intent.background}` }, h("sula-icon", { key: 'b6f18a65ceab18e373f1fda59142b0eab3c575cf', icon: this.icon, customClass: `text-2xl ${intent.color}`, class: "flex leading-none" }))), h("div", { key: 'bff56cc0964d97824221c48d91e876ac6110df47', part: "content", class: `flex min-w-0 flex-1 flex-col gap-8 ${this.closable ? 'pr-48' : ''}` }, h("div", { key: 'c6d1d46a7f255cfda53e4883c6164370bee8a534', class: "flex flex-col gap-4" }, this.toastTitle && (h("p", { key: '110d11cb987cca1f426adb43b411ad20ba95a21d', class: "toast-copy toast-title text-label-medium-bold text-text-primary", title: this.toastTitle }, this.toastTitle)), this.message && (h("p", { key: 'afd5df30339ed228d417cbee8b3795077d5c9b69', class: "toast-copy toast-message text-label-medium-regular text-text-secondary", title: this.message }, this.message))), this.actionText && (h("button", { key: '4a332f3df90a682960f7569e42d4be89d897b429', type: "button", class: `toast-copy toast-action self-start text-left text-label-medium-bold text-text-link underline rounded ${FOCUS_RING_CLASSES}`, title: this.actionText, onClick: () => this.toastAction.emit() }, this.actionText))), this.closable && (h("button", { key: '927e70871fc1c94404dddfb33095e7713870d18a', part: "close-button", type: "button", "aria-label": this.closeLabel, class: `absolute top-16 right-16 flex items-center justify-center w-24 h-24 rounded ${intent.color} ${FOCUS_RING_CLASSES}`, onClick: () => this.toastDismissRequested.emit({ reason: 'close' }) }, h("sula-icon", { key: '4e0a9b4ad00ab928eb470b09dec7dc0793706a81', "aria-hidden": "true", icon: "ph ph-x", customClass: "text-2xl", class: "flex leading-none" }))), h("svg", { key: '328c4ab25330dd17918b1cad64eb05ab1feb8546', class: "toast-border", "aria-hidden": "true", focusable: "false" }, h("rect", { key: '6896a2bb9f74b96faef4d0e12c01d537f61fc36c', class: "toast-border__path", pathLength: "1" }))), h("div", { key: '13b17899ac49ffae21d73155b691a13e3b5e2f5f', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement === 'polite' ? this.announcedText : ''), h("div", { key: '589a7c8956b6952b55cc5383a74cf339db86ad19', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement === 'assertive' ? this.announcedText : '')));
178
178
  }
179
179
  static get is() { return "sula-toast"; }
180
180
  static get encapsulation() { return "shadow"; }
@@ -198,7 +198,7 @@ export class SulaToastStack {
198
198
  render() {
199
199
  const expanded = this.expanded;
200
200
  const visibleItems = this.visibleItems;
201
- return (h(Host, { key: 'f80b3b3f370e40ba87a261825af7ee9f55fe99dc' }, h("section", { key: 'd5a233e0b204060a1bde1bb09eac204a5c8f5ca7', ref: el => (this.region = el), role: "region", "aria-label": "Notifica\u00E7\u00F5es", tabIndex: 0, class: "toast-region w-full rounded-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-feedback-informational focus-visible:outline-offset-2", onMouseEnter: () => {
201
+ return (h(Host, { key: 'c02d5830981122b0267e560f911ee98cdd726bd7' }, h("section", { key: 'cbfa6dcdd964fc1d42546a43e5980dc49e84b30f', ref: el => (this.region = el), role: "region", "aria-label": "Notifica\u00E7\u00F5es", tabIndex: 0, class: "toast-region w-full rounded-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-feedback-informational focus-visible:outline-offset-2", onMouseEnter: () => {
202
202
  if (!this.noHover)
203
203
  this.hovering = true;
204
204
  }, onMouseLeave: () => (this.hovering = false), onPointerDown: () => {
@@ -207,7 +207,7 @@ export class SulaToastStack {
207
207
  }, onKeyDown: () => {
208
208
  this.keyboardInteraction = true;
209
209
  this.stopRetainingPointerExpansion();
210
- }, onFocusin: () => (this.focused = true), onFocusout: this.handleFocusOut }, h("div", { key: 'e409f3009f2c19839304f06b05b0409d9cc6a819', ref: el => (this.list = el), class: { 'toast-list relative flex flex-col gap-12': true, 'toast-list--collapsed': !expanded }, style: {
210
+ }, onFocusin: () => (this.focused = true), onFocusout: this.handleFocusOut }, h("div", { key: 'ee70118013b6e5e3313db30c27571bf3cc3009af', ref: el => (this.list = el), class: { 'toast-list relative flex flex-col gap-12': true, 'toast-list--collapsed': !expanded }, style: {
211
211
  '--toast-layer-offset': `${Math.max(0, visibleItems.length - 1) * LAYER_OFFSET}px`,
212
212
  } }, visibleItems.map((item, index) => {
213
213
  var _a, _b, _c, _d;
@@ -221,9 +221,9 @@ export class SulaToastStack {
221
221
  '--toast-depth': String(depth),
222
222
  '--toast-width': `${100 - Math.min(depth, MAX_VISIBLE_LAYERS - 1) * LAYER_WIDTH_STEP}%`,
223
223
  } }, h("sula-toast", { toastTitle: item.title, message: (_a = item.message) !== null && _a !== void 0 ? _a : '', type: item.type, icon: item.icon, actionText: (_b = item.actionText) !== null && _b !== void 0 ? _b : '', closable: (_c = item.closable) !== null && _c !== void 0 ? _c : true, duration: item.duration, closeLabel: (_d = item.closeLabel) !== null && _d !== void 0 ? _d : 'Fechar notificação', paused: covered || this.hovering || this.focused || this.retainingPointerExpansion, announcement: "off", animated: depth === 0, onToastDismissRequested: event => this.dismiss(event, item.id), onToastAction: event => this.action(event, item.id) })));
224
- }))), h("div", { key: '2b2eadddfde8a784d9c2f1c7f431d82619eb57dc', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
224
+ }))), h("div", { key: '37091de2d263942ad15dbdc52cd229b98a8f7c1c', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
225
225
  .filter(record => record.priority === 'polite')
226
- .map(record => (h("p", { key: record.version }, record.text)))), h("div", { key: '0207426e568669405be5a1d99c47338d72607bdf', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
226
+ .map(record => (h("p", { key: record.version }, record.text)))), h("div", { key: 'a5bc35d0759a6a71cb9b7d9ad76cfd3ce9fee9b6', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
227
227
  .filter(record => record.priority === 'assertive')
228
228
  .map(record => (h("p", { key: record.version }, record.text))))));
229
229
  }
@@ -38,7 +38,7 @@ export class SulaToggle {
38
38
  return `${base} bg-surface-on-body hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed`;
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '49e43cc70eb68ed63e95a32cd05c5445c0b0719e' }, h("button", { key: '231af18443534dd1d0535292dab82d1eb2607568', id: "favorite-button", class: this.getButtonClass(), disabled: this.buttonDisabled, onClick: this.handleClick, "aria-pressed": this.selected ? 'true' : 'false', "aria-label": this.selected ? 'Remover dos favoritos' : 'Adicionar aos favoritos' }, h("sula-icon", { key: '810ba49b419929b57c2ac5f09035517fbc48cfd8', icon: this.getIconName(), customClass: `text-2xl ${this.getIconColorClass()} ${!this.buttonDisabled && !this.selected ? 'active:text-feedback-error' : ''}`, class: "flex leading-6" }))));
41
+ return (h(Host, { key: '9932a2f2ed794a43616d04ceb53a10603588c285' }, h("button", { key: '3b32faebf54a67b32980cffa332d948b71305c3f', id: "favorite-button", class: this.getButtonClass(), disabled: this.buttonDisabled, onClick: this.handleClick, "aria-pressed": this.selected ? 'true' : 'false', "aria-label": this.selected ? 'Remover dos favoritos' : 'Adicionar aos favoritos' }, h("sula-icon", { key: 'c18f0ab25acf0b5a4e46e4220a6f3d23adc7bff1', icon: this.getIconName(), customClass: `text-2xl ${this.getIconColorClass()} ${!this.buttonDisabled && !this.selected ? 'active:text-feedback-error' : ''}`, class: "flex leading-6" }))));
42
42
  }
43
43
  static get is() { return "sula-toggle"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -190,7 +190,7 @@ export class SulaTooltip {
190
190
  const hostClass = isParentMode
191
191
  ? 'absolute inset-0 pointer-events-none overflow-visible'
192
192
  : 'inline-block relative';
193
- return (h(Host, { key: '08533232d11bb6c8f72283530b79b576b1339322', class: hostClass }, !isParentMode && (h("div", { key: '706860c8db53f5edc5e327a7a227790427caf71a', class: this.getIconClasses(), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, role: "button", "aria-label": "Tooltip trigger", ref: (el) => (this.triggerEl = el) }, h("sula-icon", { key: 'ab27deaa97b845e92bc0b4da6ec93467dafddc29', class: "flex leading-[0]", icon: this.icon, customClass: this.iconClass }))), !this.appendToBody && this.displayText && (h("div", { key: '4ad2b7dffb9122736e418acf7a07e58187b265c1', class: this.getHintClasses(), role: "tooltip", ref: (el) => (this.hintEl = el) }, this.displayText, h("div", { key: '525c0a2409a715531d98940797f0d86d8568d176', class: "tooltip-arrow", "data-popper-arrow": true, ref: (el) => (this.arrowEl = el) })))));
193
+ return (h(Host, { key: '88acf87157002b05c31b841ccffcd0e6a8eae66f', class: hostClass }, !isParentMode && (h("div", { key: 'cad7b81dae803913cfb6692a32c990860aee4107', class: this.getIconClasses(), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, role: "button", "aria-label": "Tooltip trigger", ref: (el) => (this.triggerEl = el) }, h("sula-icon", { key: '5daf27b3c8d0bd818c6f7245c29d05125da98759', class: "flex leading-[0]", icon: this.icon, customClass: this.iconClass }))), !this.appendToBody && this.displayText && (h("div", { key: 'cd5a954318cfcfc39438a256ce4f2b0ed1c183a1', class: this.getHintClasses(), role: "tooltip", ref: (el) => (this.hintEl = el) }, this.displayText, h("div", { key: '26c294248c595dd90053bfa2d1ef5cbd8fb4f4cc', class: "tooltip-arrow", "data-popper-arrow": true, ref: (el) => (this.arrowEl = el) })))));
194
194
  }
195
195
  static get is() { return "sula-tooltip"; }
196
196
  static get encapsulation() { return "shadow"; }
@@ -27109,7 +27109,7 @@ const SulaLoader = /*@__PURE__*/ proxyCustomElement(class SulaLoader extends H {
27109
27109
  }
27110
27110
  render() {
27111
27111
  const { width, height } = this.getDimensions();
27112
- return (h$1(Host, { key: 'c04822772791982fcc453e27caa7cb092efb5475' }, h$1("div", { key: '00aff0e78c61795d5ade08c7bacfde10b77bfbd2', ref: el => (this.containerRef = el), style: {
27112
+ return (h$1(Host, { key: 'beccc30ff4b8f8eff308f964b8bb68218c7594d7' }, h$1("div", { key: 'c80294a47001a1693182e6ec413449d1a466f99a', ref: el => (this.containerRef = el), style: {
27113
27113
  width: width,
27114
27114
  height: height,
27115
27115
  } })));
@@ -27136,6 +27136,6 @@ function defineCustomElement() {
27136
27136
  defineCustomElement();
27137
27137
 
27138
27138
  export { SulaLoader as S, SulaLoaderSize as a, defineCustomElement as d };
27139
- //# sourceMappingURL=p-MPkJUrNl.js.map
27139
+ //# sourceMappingURL=p-BORy1230.js.map
27140
27140
 
27141
- //# sourceMappingURL=p-MPkJUrNl.js.map
27141
+ //# sourceMappingURL=p-BORy1230.js.map