genesys-spark-components 3.0.4 → 3.0.5

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 (214) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/{usage-tracking-9e010c9a.js → usage-tracking-e91c896e.js} +1 -1
  70. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  71. package/dist/deploy-info.json +3 -3
  72. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  73. package/dist/esm/gux-accordion.entry.js +1 -1
  74. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  75. package/dist/esm/gux-action-button.entry.js +1 -1
  76. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  77. package/dist/esm/gux-action-toast.entry.js +1 -1
  78. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  79. package/dist/esm/gux-badge-beta.entry.js +1 -1
  80. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  81. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  82. package/dist/esm/gux-button-multi.entry.js +1 -1
  83. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  84. package/dist/esm/gux-button.entry.js +1 -1
  85. package/dist/esm/gux-calendar.entry.js +2 -2
  86. package/dist/esm/gux-card-beta.entry.js +1 -1
  87. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  88. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  89. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  90. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  91. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  92. package/dist/esm/gux-content-search.entry.js +1 -1
  93. package/dist/esm/gux-datepicker.entry.js +1 -1
  94. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  95. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  96. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  97. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  98. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  99. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  100. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  101. package/dist/esm/gux-form-field-color.entry.js +1 -1
  102. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  103. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  104. package/dist/esm/gux-form-field-number.entry.js +1 -1
  105. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  106. package/dist/esm/gux-form-field-range.entry.js +1 -1
  107. package/dist/esm/gux-form-field-search.entry.js +1 -1
  108. package/dist/esm/gux-form-field-select.entry.js +1 -1
  109. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  110. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  111. package/dist/esm/gux-icon.entry.js +1 -1
  112. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  113. package/dist/esm/gux-list.entry.js +1 -1
  114. package/dist/esm/gux-modal.entry.js +1 -1
  115. package/dist/esm/gux-notification-toast.entry.js +1 -1
  116. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  117. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  118. package/dist/esm/gux-pagination.entry.js +1 -1
  119. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  120. package/dist/esm/gux-popover-list.entry.js +1 -1
  121. package/dist/esm/gux-popover.entry.js +1 -1
  122. package/dist/esm/gux-radial-loading.entry.js +1 -1
  123. package/dist/esm/gux-radial-progress.entry.js +1 -1
  124. package/dist/esm/gux-rating.entry.js +1 -1
  125. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  126. package/dist/esm/gux-simple-toast.entry.js +1 -1
  127. package/dist/esm/gux-switch.entry.js +1 -1
  128. package/dist/esm/gux-table-beta.entry.js +1 -1
  129. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  130. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  131. package/dist/esm/gux-tabs.entry.js +1 -1
  132. package/dist/esm/gux-tag-beta.entry.js +1 -1
  133. package/dist/esm/gux-text-highlight.entry.js +1 -1
  134. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  135. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  136. package/dist/esm/gux-toggle.entry.js +1 -1
  137. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  138. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  139. package/dist/esm/{usage-tracking-6ddafc64.js → usage-tracking-01120286.js} +1 -1
  140. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  141. package/dist/genesys-webcomponents/{p-c997c8bb.entry.js → p-0d1f4da1.entry.js} +1 -1
  142. package/dist/genesys-webcomponents/{p-66a54ca3.entry.js → p-10dac608.entry.js} +1 -1
  143. package/dist/genesys-webcomponents/{p-9790e524.entry.js → p-16166b00.entry.js} +1 -1
  144. package/dist/genesys-webcomponents/{p-b098f8f2.entry.js → p-1b0895a0.entry.js} +1 -1
  145. package/dist/genesys-webcomponents/{p-fa02c816.entry.js → p-1b5fa4d1.entry.js} +1 -1
  146. package/dist/genesys-webcomponents/{p-c0034e0f.entry.js → p-1d7e655a.entry.js} +1 -1
  147. package/dist/genesys-webcomponents/{p-36a867ff.entry.js → p-1dbe2cd2.entry.js} +1 -1
  148. package/dist/genesys-webcomponents/{p-4c844e7c.entry.js → p-2059bbb7.entry.js} +1 -1
  149. package/dist/genesys-webcomponents/{p-20bea411.entry.js → p-259304db.entry.js} +1 -1
  150. package/dist/genesys-webcomponents/{p-6bec978b.entry.js → p-2938f992.entry.js} +1 -1
  151. package/dist/genesys-webcomponents/{p-11771a00.entry.js → p-2d4af87b.entry.js} +1 -1
  152. package/dist/genesys-webcomponents/{p-e8575927.entry.js → p-37d1336d.entry.js} +1 -1
  153. package/dist/genesys-webcomponents/p-3bbe65c4.entry.js +1 -0
  154. package/dist/genesys-webcomponents/{p-18b17395.entry.js → p-456a71ee.entry.js} +1 -1
  155. package/dist/genesys-webcomponents/{p-5ee76e0b.entry.js → p-4c2c312e.entry.js} +1 -1
  156. package/dist/genesys-webcomponents/{p-5b77ebde.entry.js → p-5295a8b1.entry.js} +1 -1
  157. package/dist/genesys-webcomponents/{p-c4803efd.entry.js → p-52fdbbe7.entry.js} +1 -1
  158. package/dist/genesys-webcomponents/{p-982346f4.entry.js → p-59f4f878.entry.js} +1 -1
  159. package/dist/genesys-webcomponents/{p-d278418a.entry.js → p-60b614e4.entry.js} +1 -1
  160. package/dist/genesys-webcomponents/{p-cb8d1400.entry.js → p-60d14389.entry.js} +1 -1
  161. package/dist/genesys-webcomponents/{p-aa3bc92a.entry.js → p-62c4cff2.entry.js} +1 -1
  162. package/dist/genesys-webcomponents/{p-b7d1b487.entry.js → p-63ec21b3.entry.js} +1 -1
  163. package/dist/genesys-webcomponents/{p-c46e62fb.entry.js → p-72295996.entry.js} +1 -1
  164. package/dist/genesys-webcomponents/{p-9464ab13.entry.js → p-77c2cb13.entry.js} +1 -1
  165. package/dist/genesys-webcomponents/{p-389e4032.entry.js → p-782d092f.entry.js} +1 -1
  166. package/dist/genesys-webcomponents/{p-799f716f.entry.js → p-7b37d263.entry.js} +1 -1
  167. package/dist/genesys-webcomponents/{p-89089118.entry.js → p-82204450.entry.js} +1 -1
  168. package/dist/genesys-webcomponents/p-82c7e368.entry.js +1 -0
  169. package/dist/genesys-webcomponents/p-8438a56e.entry.js +1 -0
  170. package/dist/genesys-webcomponents/{p-64dc3874.entry.js → p-8d7c89c3.entry.js} +1 -1
  171. package/dist/genesys-webcomponents/p-8e62c924.entry.js +1 -0
  172. package/dist/genesys-webcomponents/{p-5ae6f5ec.entry.js → p-93107049.entry.js} +1 -1
  173. package/dist/genesys-webcomponents/{p-4b91c1d5.entry.js → p-95bd196d.entry.js} +1 -1
  174. package/dist/genesys-webcomponents/{p-0fa23d44.entry.js → p-974b6198.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-bcf3a8ff.entry.js → p-97b4bd64.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-9a1f4e47.entry.js → p-97c3def7.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-024b2030.entry.js → p-9c9ad2e3.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/{p-f26f1e97.entry.js → p-9ea2b705.entry.js} +1 -1
  179. package/dist/genesys-webcomponents/{p-d42fb8c6.entry.js → p-a0967b23.entry.js} +1 -1
  180. package/dist/genesys-webcomponents/{p-234d4c6f.entry.js → p-a1bdbe70.entry.js} +1 -1
  181. package/dist/genesys-webcomponents/{p-773bd020.entry.js → p-a58ff1bb.entry.js} +1 -1
  182. package/dist/genesys-webcomponents/{p-346efed0.entry.js → p-a9e1113e.entry.js} +1 -1
  183. package/dist/genesys-webcomponents/{p-dc8a9ae8.entry.js → p-acc66165.entry.js} +1 -1
  184. package/dist/genesys-webcomponents/{p-52bb08bb.entry.js → p-aceb8c5e.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-d1e1f6e5.entry.js → p-addba060.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-33f56024.entry.js → p-b1b0841b.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-eb5bfa21.entry.js → p-b6ddfd06.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-af2d26a6.js → p-b7e7ebb0.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-04943f0e.entry.js → p-b95c9db4.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-97c5d318.entry.js → p-b99de1ce.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-1311a4fd.entry.js → p-bc8c5549.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-5dfcc782.entry.js → p-bde6d035.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-c6bec912.entry.js → p-c28f88f2.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-c090ac76.entry.js → p-c3ecaa6f.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-14743c18.entry.js → p-c67307ae.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-c09d28cb.entry.js → p-c9b6184b.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-9ae93b11.entry.js → p-cba4d9ad.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-b214da38.entry.js → p-d4acf339.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-207f6a9d.entry.js → p-d52aeb48.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-475837a3.entry.js → p-db13b2a7.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-635cda37.entry.js → p-db26537e.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-4f78b5c2.entry.js → p-e3823bce.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-63809dc8.entry.js → p-e6e8f50f.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-6c23d6d0.entry.js → p-efcb7e5e.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-2b788bb8.entry.js → p-f4fb1789.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-1e4ac684.entry.js → p-fac4902c.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-d079c5dd.entry.js → p-ff47619c.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-e5185981.entry.js → p-ff4e26cf.entry.js} +1 -1
  209. package/dist/stencil-wrapper.js +1 -1
  210. package/package.json +1 -1
  211. package/dist/genesys-webcomponents/p-005f5166.entry.js +0 -1
  212. package/dist/genesys-webcomponents/p-4a2ecf50.entry.js +0 -1
  213. package/dist/genesys-webcomponents/p-5c6e3dfa.entry.js +0 -1
  214. package/dist/genesys-webcomponents/p-9ed2cc81.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as o,h as i,H as e,g as s}from"./p-767fc0c6.js";import{t as n}from"./p-af2d26a6.js";const a=class{constructor(i){t(this,i),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return i(e,null,i("div",{class:`gux-icon gux-${this.accent}`},i("slot",{name:"icon"})),i("div",{class:"gux-content"},i("div",{class:"gux-title"},i("slot",{name:"title"})),i("div",{class:"gux-message"},i("slot",{name:"message"}))),i("gux-dismiss-button",{onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};a.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";export{a as gux_notification_toast}
1
+ import{r as t,c as o,h as i,H as e,g as s}from"./p-767fc0c6.js";import{t as n}from"./p-b7e7ebb0.js";const l=class{constructor(i){t(this,i),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return i(e,null,i("div",{class:`gux-icon gux-${this.accent}`},i("slot",{name:"icon"})),i("div",{class:"gux-content"},i("div",{class:"gux-title"},i("slot",{name:"title"})),i("div",{class:"gux-message"},i("slot",{name:"message"}))),i("gux-dismiss-button",{onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};l.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";export{l as gux_notification_toast}
@@ -1 +1 @@
1
- import{r as t,h as i,g as e}from"./p-767fc0c6.js";import{O as o}from"./p-17fc6962.js";import{o as r,a as n}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{t as s}from"./p-af2d26a6.js";import{G as l,a as d}from"./p-0074384c.js";import{h as u,G as p,v as h,g as x}from"./p-24946167.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const f=class{constructor(i){t(this,i),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=u(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root),s(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return i(d,{labelPosition:this.computedLabelPosition},i(l,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{ref:t=>this.textareaContainerElement=t,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},i("slot",{name:"input"})),i(p,{hasError:this.hasError},i("slot",{name:"error"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${t}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),a(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=n(this.input,(t=>{this.required=t})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}updateHeight(t,i,e){"auto"===e&&t&&(t.dataset.replicatedValue=i.value,t.style.maxHeight=i.style.maxHeight)}get root(){return e(this)}};(function(t,i,e,o){var r,n=arguments.length,a=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(i,e,a):r(i,e))||a);n>3&&a&&Object.defineProperty(i,e,a)})([o({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}";export{f as gux_form_field_textarea}
1
+ import{r as t,h as e,g as i}from"./p-767fc0c6.js";import{O as o}from"./p-17fc6962.js";import{o as r,a as n}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{t as s}from"./p-b7e7ebb0.js";import{G as l,a as d}from"./p-0074384c.js";import{h as u,G as p,v as h,g as x}from"./p-24946167.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const g=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=u(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root),s(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(d,{labelPosition:this.computedLabelPosition},e(l,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{ref:t=>this.textareaContainerElement=t,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},e("slot",{name:"input"})),e(p,{hasError:this.hasError},e("slot",{name:"error"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${t}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),a(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=n(this.input,(t=>{this.required=t})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}updateHeight(t,e,i){"auto"===i&&t&&(t.dataset.replicatedValue=e.value,t.style.maxHeight=e.style.maxHeight)}get root(){return i(this)}};(function(t,e,i,o){var r,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,i,a):r(e,i))||a);n>3&&a&&Object.defineProperty(e,i,a)})([o({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}";export{g as gux_form_field_textarea}
@@ -1 +1 @@
1
- import{r as t,c as s,h as a,H as i,g as h}from"./p-767fc0c6.js";import{t as c}from"./p-af2d26a6.js";const n=class{constructor(a){t(this,a),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,a){this.activeTab=t||s.querySelector("gux-tab-advanced").getAttribute("tab-id"),s.guxSetActive(this.activeTab),a.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return a(i,null,a("div",{class:"gux-tabs"},a("slot",{name:"tab-list"}),a("div",null,a("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};n.style="gux-tabs-advanced{-custom-noop:noop}";export{n as gux_tabs_advanced}
1
+ import{r as t,c as s,h as a,H as i,g as h}from"./p-767fc0c6.js";import{t as c}from"./p-b7e7ebb0.js";const e=class{constructor(a){t(this,a),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,a){this.activeTab=t||s.querySelector("gux-tab-advanced").getAttribute("tab-id"),s.guxSetActive(this.activeTab),a.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return a(i,null,a("div",{class:"gux-tabs"},a("slot",{name:"tab-list"}),a("div",null,a("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};e.style="gux-tabs-advanced{-custom-noop:noop}";export{e as gux_tabs_advanced}
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { defineCustomElements } from '../dist/loader';
8
8
  // Value templated out during build process (see scripts/wrap-stencil.js)
9
- const CDN_URL = '/spark-components/build-assets/3.0.3-18/';
9
+ const CDN_URL = '/spark-components/build-assets/3.0.4-20/';
10
10
  export function registerElements() {
11
11
  if (CDN_URL) {
12
12
  defineCustomElements(window, { resourcesUrl: CDN_URL });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -1 +0,0 @@
1
- import{r,h as s,g as t}from"./p-767fc0c6.js";import{t as a}from"./p-af2d26a6.js";const e=class{constructor(s){r(this,s)}componentWillLoad(){a(this.root)}render(){return s("gux-radial-loading",{class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return t(this)}};e.style=":host{display:flex}.gux-spinner{margin:auto}";export{e as gux_page_loading_spinner}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as o}from"./p-767fc0c6.js";import{O as i}from"./p-17fc6962.js";import{o as n,a as r}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{t as s}from"./p-af2d26a6.js";import{G as p,a as l}from"./p-0074384c.js";import{h as u,G as c,v as x,g as d}from"./p-24946167.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const f=class{constructor(t){e(this,t),this.computedLabelPosition="above",this.hasError=!1}onMutation(){this.hasError=u(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(l,{labelPosition:this.computedLabelPosition},t(p,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",{name:"input"}),t("gux-icon",{"icon-name":"ic-dropdown-arrow",decorative:!0}))),t(c,{hasError:this.hasError},t("slot",{name:"error"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=r(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return o(this)}};(function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);r>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(select){flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted(select)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:#2a60c8}.gux-input-and-error-container .gux-input .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{f as gux_form_field_select}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-767fc0c6.js";import{t as o}from"./p-af2d26a6.js";import{b as n}from"./p-e983e68c.js";import"./p-8a133b9b.js";const a={previous:"Previous",next:"Next"},r=class{constructor(s){t(this,s),this.guxPaginationCursorchange=i(this,"guxPaginationCursorchange",7),this.hasPrevious=!1,this.hasNext=!1}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,a)}render(){return[s("gux-button-slot-beta",{accent:"secondary"},s("button",{type:"button",title:this.i18n("previous"),disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},s("gux-icon",{decorative:!0,iconName:"ic-chevron-small-left"}))),s("gux-button-slot-beta",{accent:"secondary"},s("button",{type:"button",title:this.i18n("next"),disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},s("gux-icon",{decorative:!0,iconName:"ic-chevron-small-right"})))]}get root(){return e(this)}};r.style=":host{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:space-between}";export{r as gux_pagination_cursor}
@@ -1 +0,0 @@
1
- import{r as o,c as t,h as a,g}from"./p-767fc0c6.js";import{b as e}from"./p-e983e68c.js";import{t as r}from"./p-af2d26a6.js";import"./p-8a133b9b.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},l=class{constructor(a){o(this,a),this.guxdelete=t(this,"guxdelete",7),this.color="default",this.disabled=!1,this.removable=!1}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit(this.value)}onSlotChange(o){const t=o.composedPath()[0].assignedNodes();this.label=t.map((o=>o.textContent)).join("")}renderTagTitle(){return a("gux-tooltip-title",null,a("span",null,a("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return a("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await e(this.root,u)}render(){return a("div",{class:{"gux-tag":!0,[`gux-${this.color}`]:!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return g(this)}};l.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;padding:2px 8px;font-size:12px;font-weight:bold;color:#fdfdfd;background-color:#2e394c;border-radius:4px}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){height:20px;font-size:16px}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;align-content:center;align-items:center;justify-content:center;margin-left:8px}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:16px;height:16px;border-radius:25%}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:none;box-shadow:0 0 0 1px transparent, 0 0 0 2px #aac9ff}.gux-tag.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default{background-color:#2e394c}.gux-tag.gux-default.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default-subtle{color:#2e394c;background-color:#e2e6ee}.gux-tag.gux-default-subtle.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}.gux-tag.gux-navy{background-color:#203b73}.gux-tag.gux-navy.gux-disabled{background-color:rgba(32, 59, 115, 0.5)}.gux-tag.gux-blue{color:#2e394c;background-color:#75a8ff}.gux-tag.gux-blue.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(117, 168, 255, 0.5)}.gux-tag.gux-electric-purple{background-color:#8452cf}.gux-tag.gux-electric-purple.gux-disabled{background-color:rgba(132, 82, 207, 0.5)}.gux-tag.gux-aqua-green{color:#202937;background-color:#1da8b3}.gux-tag.gux-aqua-green.gux-disabled{color:rgba(32, 41, 55, 0.5);background-color:rgba(29, 168, 179, 0.5)}.gux-tag.gux-fuscha{color:#000000;background-color:#cc3ebe}.gux-tag.gux-fuscha.gux-disabled{color:rgba(0, 0, 0, 0.5);background-color:rgba(204, 62, 190, 0.5)}.gux-tag.gux-dark-purple{background-color:#5e5782}.gux-tag.gux-dark-purple.gux-disabled{background-color:rgba(94, 87, 130, 0.5)}.gux-tag.gux-bubblegum-pink{color:#2e394c;background-color:#ff8fdd}.gux-tag.gux-bubblegum-pink.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(255, 143, 221, 0.5)}.gux-tag.gux-olive-green{color:#151d28;background-color:#868c1e}.gux-tag.gux-olive-green.gux-disabled{color:rgba(21, 29, 40, 0.5);background-color:rgba(134, 140, 30, 0.5)}.gux-tag.gux-lilac{color:#2e394c;background-color:#b5b5eb}.gux-tag.gux-lilac.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(181, 181, 235, 0.5)}.gux-tag.gux-alert-yellow-green{color:#2e394c;background-color:#ddd933}.gux-tag.gux-alert-yellow-green.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(221, 217, 51, 0.5)}";export{l as gux_tag_beta}