q2-tecton-elements 1.72.0 → 1.73.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 (392) hide show
  1. package/dist/bundle-report.json +39545 -34361
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
  4. package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
  5. package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
  6. package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
  14. package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  17. package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
  18. package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
  19. package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
  20. package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
  21. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
  23. package/dist/cjs/q2-context.cjs.entry.js +4 -4
  24. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
  26. package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
  27. package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
  28. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-item.cjs.entry.js +20 -2
  38. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-message.cjs.entry.js +3 -3
  42. package/dist/cjs/q2-meter.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
  49. package/dist/cjs/q2-pill.cjs.entry.js +8 -5
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-search.cjs.entry.js +3 -3
  55. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-select.cjs.entry.js +8 -4
  57. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  58. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  60. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  61. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  62. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  63. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  64. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  65. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
  68. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
  74. package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
  75. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  76. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  77. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  78. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  79. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  80. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  81. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  82. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  83. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  84. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  86. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  87. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  89. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  90. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  91. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  92. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  93. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  94. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  95. package/dist/collection/components/q2-context/q2-context.js +3 -3
  96. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  97. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  98. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  99. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  100. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  102. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  103. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  105. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  106. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  107. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  108. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  109. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  110. package/dist/collection/components/q2-example/q2-example.js +1 -1
  111. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  112. package/dist/collection/components/q2-form/q2-form.js +1 -1
  113. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  114. package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
  115. package/dist/collection/components/q2-input/q2-input.js +6 -3
  116. package/dist/collection/components/q2-item/q2-item.js +19 -1
  117. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  118. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  119. package/dist/collection/components/q2-list/q2-list.js +1 -1
  120. package/dist/collection/components/q2-message/q2-message.css +1 -1
  121. package/dist/collection/components/q2-message/q2-message.js +1 -1
  122. package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
  123. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  124. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  125. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  126. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  127. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  128. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  129. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  130. package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
  131. package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
  132. package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
  133. package/dist/collection/components/q2-pill/q2-pill.css +14 -10
  134. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  135. package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
  136. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  137. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  138. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  139. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  140. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  141. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  142. package/dist/collection/components/q2-search/q2-search.js +6 -3
  143. package/dist/collection/components/q2-section/q2-section.js +2 -2
  144. package/dist/collection/components/q2-select/q2-select.js +12 -5
  145. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  146. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  147. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  148. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  149. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  150. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  151. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  152. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  153. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  154. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  155. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  156. package/dist/collection/utils/chart-keyboard.js +76 -0
  157. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  158. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  159. package/dist/collection/utils/index.js +1 -1
  160. package/dist/components/charting.js +1603 -1532
  161. package/dist/components/dataSample.js +7 -7
  162. package/dist/components/index.js +57 -53
  163. package/dist/components/index2.js +2 -2
  164. package/dist/components/q2-action-sheet.js +224 -103
  165. package/dist/components/q2-avatar2.js +41 -27
  166. package/dist/components/q2-btn2.js +2 -2
  167. package/dist/components/q2-calendar.js +6 -3
  168. package/dist/components/q2-card-image.js +2 -2
  169. package/dist/components/q2-carousel-pane2.js +3 -3
  170. package/dist/components/q2-carousel.js +37 -24
  171. package/dist/components/q2-chart-area.js +415 -369
  172. package/dist/components/q2-chart-bar.js +193 -148
  173. package/dist/components/q2-chart-donut.js +185 -158
  174. package/dist/components/q2-checkbox-group.js +6 -6
  175. package/dist/components/q2-checkbox2.js +11 -11
  176. package/dist/components/q2-context.js +20 -20
  177. package/dist/components/q2-currency.js +9 -9
  178. package/dist/components/q2-data-table.js +111 -111
  179. package/dist/components/q2-date-calendar.d.ts +11 -0
  180. package/dist/components/q2-date-calendar.js +5 -0
  181. package/dist/components/q2-date-calendar2.js +678 -0
  182. package/dist/components/q2-date-picker.d.ts +11 -0
  183. package/dist/components/q2-date-picker.js +5 -0
  184. package/dist/components/q2-date-picker2.js +875 -0
  185. package/dist/components/q2-detail.js +3 -3
  186. package/dist/components/q2-dropdown.js +17 -17
  187. package/dist/components/q2-editable-field.js +16 -5
  188. package/dist/components/q2-example.js +11 -11
  189. package/dist/components/q2-file-picker.js +1 -1
  190. package/dist/components/q2-form.js +6 -6
  191. package/dist/components/q2-formatted-text.js +2 -2
  192. package/dist/components/q2-input2.js +6 -6
  193. package/dist/components/q2-item2.js +32 -22
  194. package/dist/components/q2-legend2.js +7 -7
  195. package/dist/components/q2-list2.js +6 -6
  196. package/dist/components/q2-message2.js +10 -10
  197. package/dist/components/q2-meter.js +7 -7
  198. package/dist/components/q2-modal.js +22 -22
  199. package/dist/components/q2-month-picker.js +17 -17
  200. package/dist/components/q2-mutation-observer.js +1 -1
  201. package/dist/components/q2-optgroup2.js +7 -7
  202. package/dist/components/q2-option-list2.js +55 -34
  203. package/dist/components/q2-otp.js +8 -8
  204. package/dist/components/q2-pagination.js +70 -68
  205. package/dist/components/q2-pill.js +51 -46
  206. package/dist/components/q2-popover2.js +70 -49
  207. package/dist/components/q2-radio-group.js +7 -7
  208. package/dist/components/q2-radio.js +6 -6
  209. package/dist/components/q2-relative-time.js +1 -1
  210. package/dist/components/q2-resize-observer2.js +1 -1
  211. package/dist/components/q2-search.js +5 -5
  212. package/dist/components/q2-section.js +17 -17
  213. package/dist/components/q2-select2.js +2 -2
  214. package/dist/components/q2-stepper-pane.js +29 -29
  215. package/dist/components/q2-stepper-vertical.js +4 -4
  216. package/dist/components/q2-stepper.js +57 -57
  217. package/dist/components/q2-surface.js +3 -3
  218. package/dist/components/q2-tab-container.js +21 -21
  219. package/dist/components/q2-tab-pane.js +6 -6
  220. package/dist/components/q2-tag2.js +8 -6
  221. package/dist/components/q2-textarea.js +3 -3
  222. package/dist/components/sectorHelper.js +78 -78
  223. package/dist/components/tecton-tab-pane.js +10 -10
  224. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  225. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  226. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  227. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  228. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  229. package/dist/esm/loader.js +1 -1
  230. package/dist/esm/q2-action-group.entry.js +1 -1
  231. package/dist/esm/q2-action-sheet.entry.js +99 -19
  232. package/dist/esm/q2-avatar.entry.js +34 -1
  233. package/dist/esm/q2-badge_2.entry.js +3 -3
  234. package/dist/esm/q2-btn_2.entry.js +2 -2
  235. package/dist/esm/q2-calendar.entry.js +9 -4
  236. package/dist/esm/q2-card-image.entry.js +3 -3
  237. package/dist/esm/q2-card.entry.js +1 -1
  238. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  239. package/dist/esm/q2-carousel.entry.js +20 -6
  240. package/dist/esm/q2-chart-area.entry.js +38 -7
  241. package/dist/esm/q2-chart-bar.entry.js +39 -8
  242. package/dist/esm/q2-chart-donut.entry.js +31 -13
  243. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  244. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  245. package/dist/esm/q2-context.entry.js +4 -4
  246. package/dist/esm/q2-currency.entry.js +1 -1
  247. package/dist/esm/q2-data-table.entry.js +7 -7
  248. package/dist/esm/q2-date-calendar.entry.js +450 -0
  249. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  250. package/dist/esm/q2-detail.entry.js +2 -2
  251. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  252. package/dist/esm/q2-dropdown.entry.js +3 -3
  253. package/dist/esm/q2-editable-field.entry.js +20 -7
  254. package/dist/esm/q2-example.entry.js +1 -1
  255. package/dist/esm/q2-file-picker.entry.js +2 -2
  256. package/dist/esm/q2-form.entry.js +1 -1
  257. package/dist/esm/q2-formatted-text.entry.js +1 -1
  258. package/dist/esm/q2-icon.entry.js +1 -1
  259. package/dist/esm/q2-item.entry.js +20 -2
  260. package/dist/esm/q2-legend.entry.js +1 -1
  261. package/dist/esm/q2-link_2.entry.js +2 -2
  262. package/dist/esm/q2-loc.entry.js +1 -1
  263. package/dist/esm/q2-message.entry.js +3 -3
  264. package/dist/esm/q2-meter.entry.js +2 -2
  265. package/dist/esm/q2-modal.entry.js +2 -2
  266. package/dist/esm/q2-month-picker.entry.js +3 -3
  267. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  268. package/dist/esm/q2-option.entry.js +1 -1
  269. package/dist/esm/q2-otp.entry.js +5 -5
  270. package/dist/esm/q2-pagination.entry.js +12 -6
  271. package/dist/esm/q2-pill.entry.js +8 -5
  272. package/dist/esm/q2-radio-group.entry.js +2 -2
  273. package/dist/esm/q2-radio.entry.js +2 -2
  274. package/dist/esm/q2-relative-time.entry.js +2 -2
  275. package/dist/esm/q2-resize-observer.entry.js +1 -1
  276. package/dist/esm/q2-search.entry.js +3 -3
  277. package/dist/esm/q2-section.entry.js +3 -3
  278. package/dist/esm/q2-select.entry.js +8 -4
  279. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  280. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  281. package/dist/esm/q2-stepper.entry.js +2 -2
  282. package/dist/esm/q2-surface.entry.js +1 -1
  283. package/dist/esm/q2-tab-container.entry.js +2 -2
  284. package/dist/esm/q2-tab-pane.entry.js +1 -1
  285. package/dist/esm/q2-tecton-elements.js +1 -1
  286. package/dist/esm/q2-textarea.entry.js +2 -2
  287. package/dist/esm/q2-toast.entry.js +1 -1
  288. package/dist/esm/q2-tooltip.entry.js +1 -1
  289. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  290. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  291. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  292. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  293. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  294. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  295. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  296. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  297. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  298. package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
  299. package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
  300. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  301. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  302. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  303. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  304. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  305. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  306. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  307. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  308. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  309. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  310. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  311. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  312. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  313. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  314. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  315. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  316. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  317. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  318. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  319. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  320. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  322. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  323. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  324. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  325. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  326. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  327. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  328. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  329. package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
  330. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  332. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  333. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  334. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  335. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  336. package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
  337. package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
  338. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  339. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  340. package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
  341. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  342. package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
  343. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  344. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
  346. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  347. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  348. package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
  349. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  350. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
  351. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  352. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  353. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  354. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  355. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  356. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
  357. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  358. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  359. package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
  360. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  361. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  362. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  363. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  364. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  365. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  366. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  367. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  368. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  369. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  370. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  371. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  372. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  373. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  374. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  375. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  376. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  377. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  378. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  379. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  380. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  381. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  382. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  383. package/dist/types/components.d.ts +858 -49
  384. package/dist/types/global.d.ts +1 -0
  385. package/dist/types/index.d.ts +1 -0
  386. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  387. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  388. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  389. package/package.json +3 -3
  390. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  391. package/dist/esm/q2-optgroup.entry.js +0 -68
  392. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -76,16 +76,16 @@ const r = t(class extends e {
76
76
  // #region Render Methods
77
77
  render() {
78
78
  return i("div", {
79
- key: "0f3654772fe3929f6bf7294f454c774b495a6b62",
79
+ key: "18da4ca97fe076c40a3d6ef95b73b570cee07649",
80
80
  class: this.detailClasses
81
81
  }, this.hasLabel && i("div", {
82
- key: "3d0507462b8cb995a3f19dccd8bcede903a99800",
82
+ key: "7b88ffdd3e42abb1313d729874d198642a83e66d",
83
83
  class: this.labelClasses,
84
84
  "aria-describedby": this.description ? "label-description" : void 0
85
85
  }, this.label ? o(this.label) : this.hasLabelSlotContent ? i("slot", {
86
86
  name: "label"
87
87
  }) : ""), this.hasDescripiton && i("div", {
88
- key: "bef3f201c69fdee763fc302aecc15a28fd9940be",
88
+ key: "9eecdbf3aa2519da9508f1c210d3b3a9129824ce",
89
89
  id: "label-description",
90
90
  class: this.descriptionClasses
91
91
  }, this.description ? o(this.description) : this.hasDefaultSlotContent ? i("slot", null) : ""));
@@ -2,7 +2,7 @@ import { proxyCustomElement as t, HTMLElement as e, h as o, Fragment as i, trans
2
2
 
3
3
  import { s, a } from "./action-sheet.js";
4
4
 
5
- import { o as r, i as d, w as l, a as p, h as c, l as h } from "./index2.js";
5
+ import { o as r, i as l, w as d, a as p, h, l as c } from "./index2.js";
6
6
 
7
7
  import { d as m } from "./click-elsewhere2.js";
8
8
 
@@ -81,7 +81,7 @@ const y = t(class extends e {
81
81
  // #endregion
82
82
  // #region Listeners
83
83
  delegateFocus(t) {
84
- d(t, this.hostElement) && this.focusToggle();
84
+ l(t, this.hostElement) && this.focusToggle();
85
85
  }
86
86
  popoverStateChangeHandler({detail: {open: t}}) {
87
87
  var e;
@@ -128,7 +128,7 @@ const y = t(class extends e {
128
128
  var e;
129
129
  const o = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`), i = this.hostElement.querySelector(`${this.optionSelector}[value="${t}"]`), n = null == o ? void 0 : o.shadowRoot.querySelector(".dropdown-item"), s = o ? n : i;
130
130
  s && !this.disabled && (this.open || (null === (e = this.controlElement) || void 0 === e || e.click(),
131
- await l()), s.click(), await l());
131
+ await d()), s.click(), await d());
132
132
  }
133
133
  /**
134
134
  * Emulates opening the dropdown and selecting a
@@ -149,7 +149,7 @@ const y = t(class extends e {
149
149
  var e;
150
150
  const o = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`), i = null == o ? void 0 : o.shadowRoot.querySelector(".remove-dropdown-item");
151
151
  o && i && !this.disabled && (this.open || (null === (e = this.controlElement) || void 0 === e || e.click(),
152
- await l()), i.click(), await l());
152
+ await d()), i.click(), await d());
153
153
  }
154
154
  // #endregion
155
155
  // #region Watchers
@@ -160,7 +160,7 @@ const y = t(class extends e {
160
160
  p(this, "alignment", "popoverAlignment");
161
161
  }
162
162
  ariaLabelHandler() {
163
- c(this);
163
+ h(this);
164
164
  }
165
165
  contextHandler() {
166
166
  this.orchestrateResolvedMenuItems();
@@ -188,7 +188,7 @@ const y = t(class extends e {
188
188
  get toggleButtonProps() {
189
189
  const t = [ "primary", "secondary", "neutral" ], e = [ "icon", "fab", "custom", ...t ].includes(this.type) ? this.type : "", o = "icon" === e, i = "fab" === e, n = "custom" === e;
190
190
  let s;
191
- t.includes(e) && (s = "neutral" === e ? e : "workflow-" + e);
191
+ t.includes(e) && (s = e);
192
192
  return {
193
193
  icon: o,
194
194
  fab: i,
@@ -264,12 +264,12 @@ const y = t(class extends e {
264
264
  render() {
265
265
  const t = this.toggleButtonProps;
266
266
  return o("click-elsewhere", {
267
- key: "b71837747b991c78e7ec76cc781dc46b69f15ceb",
267
+ key: "45129d88765c097736a818c203418921bc669d2f",
268
268
  class: this.open ? "dropdown-open" : "",
269
269
  onChange: this.onClickElsewhere,
270
270
  "test-id": "dropdownContainer"
271
271
  }, o("q2-btn", {
272
- key: "82fe12ed6bc51dd731cd1ff30d315f5bd795ef45",
272
+ key: "cb76fe56a37af0909e06f267969c0f6605be318d",
273
273
  tabIndex: 0,
274
274
  ref: t => this.controlElement = t,
275
275
  class: t.className,
@@ -281,12 +281,12 @@ const y = t(class extends e {
281
281
  active: t.active,
282
282
  disabled: t.disabled,
283
283
  ariaExpanded: "" + !!t.ariaExpanded,
284
- label: this.hideLabel && this.label ? h(this.label) : void 0,
284
+ label: this.hideLabel && this.label ? c(this.label) : void 0,
285
285
  hideLabel: this.hideLabel,
286
286
  ariaHasPopup: "menu",
287
287
  "test-id": "dropdownButton",
288
288
  block: this.block,
289
- description: h("tecton.element.dropdown.itemCount", [ this.determineDropdownItemCount ])
289
+ description: c("tecton.element.dropdown.itemCount", [ this.determineDropdownItemCount ])
290
290
  }, this.hasCustomControl ? o("div", {
291
291
  "test-id": "dropdownControl",
292
292
  class: t.custom ? "" : "hidden"
@@ -294,10 +294,10 @@ const y = t(class extends e {
294
294
  name: "control"
295
295
  })) : o(i, null, this.label && !this.hideLabel && o("span", {
296
296
  class: "dropdown-button-text"
297
- }, h(this.label)), this.icon ? o("q2-icon", {
297
+ }, c(this.label)), this.icon ? o("q2-icon", {
298
298
  type: this.icon
299
299
  }) : " ")), o("q2-popover", {
300
- key: "b4da967caa9cd12e397b5320c055b3a62b2926ec",
300
+ key: "73bb8792c03313ae6074299d431d913435e95707",
301
301
  ref: t => this.popoverElement = t,
302
302
  controlElement: this.controlElement,
303
303
  open: this.open,
@@ -309,20 +309,20 @@ const y = t(class extends e {
309
309
  mode: this.popoverMode || void 0,
310
310
  block: this.block
311
311
  }, o("slot", {
312
- key: "f7a490170ad9429ead0d611adb78dd8272deaaa2",
312
+ key: "05fa5e37195ce747ac4e801e1decf55838d9c752",
313
313
  name: "popover-top"
314
314
  }), o("q2-option-list", {
315
- key: "87eafcc44a7b5deca4dabd6bc3a3ae04517a5917",
315
+ key: "534b2dfaf2616937933aa2377d1a647688c679c9",
316
316
  onPopoverState: this.onPopoverState,
317
317
  id: "option-list",
318
318
  ref: t => this.optionList = t,
319
319
  type: "menu",
320
- label: h("tecton.element.optionList.label", [ this.optionListLabel ]),
320
+ label: c("tecton.element.optionList.label", [ this.optionListLabel ]),
321
321
  "no-select": !0
322
322
  }, o("slot", {
323
- key: "394a44b4490f2b6aff52a8262c5ec3ecc54e9111"
323
+ key: "686b6b14ebc67aad7707e6dc0c0170b117afde4e"
324
324
  })), o("slot", {
325
- key: "6e84bdcae4daf64aded5fadcc185dbfab889626e",
325
+ key: "43b916294d33ac547efc6eeed2b2fc1c87085ad3",
326
326
  name: "popover-bottom"
327
327
  })));
328
328
  }
@@ -24,6 +24,8 @@ const f = t(class extends e {
24
24
  /**
25
25
  * The visible descriptor for the element.
26
26
  * Serves as the input label while in the edit state and as a decorative label for the read state when `persistentLabel` is `true`.
27
+ * @warning
28
+ * Required for screen reader compliance even when `hideLabel` is `true`.
27
29
  * @localizable
28
30
  */
29
31
  this.label = "",
@@ -35,9 +37,7 @@ const f = t(class extends e {
35
37
  name: "cancel"
36
38
  });
37
39
  queueMicrotask((() => {
38
- this.isDefaultPrevented(e) || (this.innerValue = void 0, this.formattedValue = void 0,
39
- this.inputElement.value = "", this.inputElement.value = this.defaultValue, this.inputElement.value = this.value,
40
- this.editing = !1);
40
+ this.isDefaultPrevented(e) || (this.editing = !1);
41
41
  }));
42
42
  }, this.editClick = t => {
43
43
  null == t || t.stopPropagation();
@@ -136,7 +136,7 @@ const f = t(class extends e {
136
136
  n(this);
137
137
  }
138
138
  observesEditing(t, e) {
139
- t !== e && this.scheduledAfterRender.push(this.hostElement.focus);
139
+ t !== e && (t || this.discardDraft(), this.scheduledAfterRender.push(this.hostElement.focus));
140
140
  }
141
141
  errorsObserver() {
142
142
  const {editing: t, hasErrors: e} = this, i = this.hostElement.shadowRoot.activeElement;
@@ -159,6 +159,17 @@ const f = t(class extends e {
159
159
  get wrapperClass() {
160
160
  return "q2-editable-field-wrapper " + (this.editing ? "editing" : "");
161
161
  }
162
+ /**
163
+ * Drops the in-progress draft and re-syncs the input and the read state display from `value`.
164
+ *
165
+ * Runs whenever the field leaves the edit state, including when a consumer drives `editing` itself, so the
166
+ * read state never renders a discarded draft.
167
+ */ discardDraft() {
168
+ this.innerValue = void 0, this.formattedValue = void 0,
169
+ // `q2-input` only drops its own draft when its `value` prop actually changes, so bounce through a
170
+ // throwaway value that is guaranteed to differ from `value` before restoring it.
171
+ this.inputElement.value = "" === this.value ? " " : "", this.inputElement.value = this.value;
172
+ }
162
173
  emitChangeEvents(t) {
163
174
  return [ this.change.emit(t), this.tctChange.emit(t) ];
164
175
  }
@@ -251,7 +262,7 @@ const f = t(class extends e {
251
262
  // #region Render Methods
252
263
  render() {
253
264
  return s("div", {
254
- key: "73dfc2198007dc7366243914bb055db3f8ebda3a"
265
+ key: "38f7c5b55e8b6f0590c72ab81a4bb26c93506249"
255
266
  }, this.generateEditStateDOM(), this.generateReadStateDOM());
256
267
  }
257
268
  get hostElement() {
@@ -1,9 +1,9 @@
1
- import { proxyCustomElement as t, HTMLElement as n, createEvent as e, h as i, Fragment as o, Host as a, transformTag as r } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as t, HTMLElement as e, createEvent as n, h as i, Fragment as o, Host as a, transformTag as r } from "@stencil/core/internal/client";
2
2
 
3
- const s = t(class extends n {
3
+ const s = t(class extends e {
4
4
  constructor(t) {
5
- super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctClick = e(this, "tctClick", 7),
6
- this.tctDrag = e(this, "tctDrag", 7), this.tctOpen = e(this, "tctOpen", 7), this.someText = "default",
5
+ super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctClick = n(this, "tctClick", 7),
6
+ this.tctDrag = n(this, "tctDrag", 7), this.tctOpen = n(this, "tctOpen", 7), this.someText = "default",
7
7
  this.status = 0,
8
8
  /**
9
9
  * Specifies the menu type.
@@ -20,8 +20,8 @@ const s = t(class extends n {
20
20
  disconnectedCallback() {}
21
21
  componentWillLoad() {}
22
22
  componentDidLoad() {}
23
- componentShouldUpdate(t, n, e) {
24
- return "content" === e && t !== n;
23
+ componentShouldUpdate(t, e, n) {
24
+ return "content" === n && t !== e;
25
25
  }
26
26
  componentWillUpdate() {}
27
27
  componentDidUpdate() {}
@@ -71,11 +71,11 @@ const s = t(class extends n {
71
71
  * Methods that are called when a property is updated as specified via
72
72
  * the @Watch() decorator. List in alphabetical order of the property.
73
73
  */
74
- contentChanged(t, n) {
75
- t !== n && this.updateState();
74
+ contentChanged(t, e) {
75
+ t !== e && this.updateState();
76
76
  }
77
- statusChanged(t, n) {
78
- t !== n && this.updateState();
77
+ statusChanged(t, e) {
78
+ t !== e && this.updateState();
79
79
  }
80
80
  // #endregion
81
81
  // #region Local Methods
@@ -117,7 +117,7 @@ const s = t(class extends n {
117
117
  }
118
118
  render() {
119
119
  return i(a, {
120
- key: "7878622b0f2a455617e109b9aa32290bffc00a92",
120
+ key: "e7adf64d703f0226f4ee5f5038ddbcda28b27ed2",
121
121
  attribute: "navigation"
122
122
  }, this.renderMenuInner());
123
123
  }
@@ -142,7 +142,7 @@ const m = t(class extends e {
142
142
  }, r("q2-btn", {
143
143
  block: this.isMobileViewport,
144
144
  disabled: t || this.areFilesUploading,
145
- intent: "workflow-primary",
145
+ intent: "primary",
146
146
  loading: this.areFilesUploading,
147
147
  onClick: () => this.launchFileBrowser(),
148
148
  size: this.actualButtonSize,
@@ -1,6 +1,6 @@
1
- import { proxyCustomElement as t, HTMLElement as n, h as o, transformTag as a } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as t, HTMLElement as n, h as o, transformTag as i } from "@stencil/core/internal/client";
2
2
 
3
- const i = t(class extends n {
3
+ const a = t(class extends n {
4
4
  constructor(t) {
5
5
  super(), !1 !== t && this.__registerHost(), this.__attachShadow(),
6
6
  // #region Public Property API
@@ -11,10 +11,10 @@ const i = t(class extends n {
11
11
  // #region Render Methods
12
12
  render() {
13
13
  return o("div", {
14
- key: "b01b965b3fc436b4155245fa747e4c8922304114",
14
+ key: "e4a4cee5eb8e69c9fe81423d3942a6299b4d1462",
15
15
  class: "container"
16
16
  }, o("slot", {
17
- key: "039fd27f2a80825f14a6247eb330eac983638389"
17
+ key: "1d729b1c93148f0a12954688cd33266b24f40f67"
18
18
  }));
19
19
  }
20
20
  static get style() {
@@ -24,10 +24,10 @@ const i = t(class extends n {
24
24
  spacing: [ 513 ]
25
25
  } ]);
26
26
 
27
- const e = i, defineCustomElement = function() {
27
+ const e = a, defineCustomElement = function() {
28
28
  if ("undefined" == typeof customElements) return;
29
29
  [ "q2-form" ].forEach((t => {
30
- if ("q2-form" === t) customElements.get(a(t)) || customElements.define(a(t), i);
30
+ if ("q2-form" === t) customElements.get(i(t)) || customElements.define(i(t), a);
31
31
  }));
32
32
  };
33
33
 
@@ -63,11 +63,11 @@ const r = t(class extends e {
63
63
  render() {
64
64
  const {formattedTextClasses: t} = this;
65
65
  return i("div", {
66
- key: "9345b2829e7ac6dd1e5e308e1b840dcb298dbc0d",
66
+ key: "bb6f08a7fd5801e7527624b766061019ce931ac5",
67
67
  class: t,
68
68
  "aria-label": this.formattedValue
69
69
  }, i("span", {
70
- key: "4687a60218658aeced2507ffd9f5eef6c5c9b40e"
70
+ key: "44808806b71f4b3783fa38806789bbc91956bdcd"
71
71
  }, this.formattedValue));
72
72
  }
73
73
  static get watchers() {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement as t, HTMLElement as r, createEvent as a, h as i, Fragment as e, Host as s, transformTag as o } from "@stencil/core/internal/client";
2
2
 
3
- import { c as n, d as p, s as c, h as l, o as d, i as u, l as f, m, b as h, n as x, r as v, g as b } from "./index2.js";
3
+ import { c as n, d as p, s as c, h as l, o as d, i as u, l as f, m, b as h, n as x, r as v, j as b } from "./index2.js";
4
4
 
5
5
  import { m as g } from "./mirror-emit.js";
6
6
 
@@ -1872,7 +1872,7 @@ function formatCurrency(t, r = "USD", a = !1) {
1872
1872
  prefix: "+44 "
1873
1873
  },
1874
1874
  IN: {
1875
- mask: "###### #####",
1875
+ mask: "##### #####?",
1876
1876
  prefix: "+91 "
1877
1877
  },
1878
1878
  IO: {
@@ -3670,19 +3670,19 @@ const F = {
3670
3670
  render() {
3671
3671
  const {ariaControls: t, ariaExpanded: r} = this.ariaAttributes;
3672
3672
  return i(s, {
3673
- key: "aea772f2158fa032157fcbb26bb49a97dc2e5a1b",
3673
+ key: "5cce451eef90d5ef5cef8020105b725d76265eeb",
3674
3674
  role: this._role,
3675
3675
  "aria-controls": t,
3676
3676
  "aria-expanded": r
3677
3677
  }, i("div", {
3678
- key: "6b0cdf179216c359cb2db01176f563d77c19780e",
3678
+ key: "6c014e6884ceabb3a0ceb7d667d7a9496221419c",
3679
3679
  class: this.wrapperClasses
3680
3680
  }, this._ariaDescription && i("span", {
3681
- key: "816be1dac83810f66ee0204a5be1a8421833e20b",
3681
+ key: "0a4eba6052c45e24e6babcfa9abbe587c46484c4",
3682
3682
  id: `${this.inputId}-aria-description`,
3683
3683
  class: "sr"
3684
3684
  }, this._ariaDescription), i("div", {
3685
- key: "1e4fd3b4bbe5103b7bad2af07ebfecb36c3d1743",
3685
+ key: "d93a7a1e3b0f8638c23f2922429b458d5b249e9f",
3686
3686
  class: "label-wrapper"
3687
3687
  }, v(this), this.renderCountDOM()), this.renderInputContainerDOM(), b(this)));
3688
3688
  }
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement as t, HTMLElement as e, h as o, transformTag as i } from "@stencil/core/internal/client";
2
2
 
3
- import { o as r, b as a } from "./index2.js";
3
+ import { o as a, b as r } from "./index2.js";
4
4
 
5
5
  const n = t(class extends e {
6
6
  constructor(t) {
@@ -9,7 +9,12 @@ const n = t(class extends e {
9
9
  // #region State Properties
10
10
  this.renderTrigger = 0,
11
11
  /** Controls the vertical alignment of the item decorator and single content slot. */
12
- this.verticalAlign = "top";
12
+ this.verticalAlign = "top", this.handleKeydown = t => {
13
+ this.clickable && t.target === this.itemElement && ("Enter" === t.key || this.isSpaceKey(t)) && t.preventDefault();
14
+ }, this.handleKeyup = t => {
15
+ this.clickable && t.target === this.itemElement && ("Enter" === t.key || this.isSpaceKey(t)) && (t.preventDefault(),
16
+ this.itemElement.click());
17
+ };
13
18
  }
14
19
  // #endregion
15
20
  // #region Component Lifecycle Events
@@ -22,7 +27,7 @@ const n = t(class extends e {
22
27
  attributes: !0
23
28
  }), this.mutationObserver = t;
24
29
  }
25
- r(this.hostElement);
30
+ a(this.hostElement);
26
31
  }
27
32
  // #endregion
28
33
  // #region Listeners
@@ -49,19 +54,19 @@ const n = t(class extends e {
49
54
  t.join(" ");
50
55
  }
51
56
  get hasActionSlotContent() {
52
- return a(this.hostElement, "action");
57
+ return r(this.hostElement, "action");
53
58
  }
54
59
  get hasBodySlotContent() {
55
- return a(this.hostElement, "body");
60
+ return r(this.hostElement, "body");
56
61
  }
57
62
  get hasDecoratorSlotContent() {
58
- return a(this.hostElement, "decorator") || a(this.hostElement, "bullet");
63
+ return r(this.hostElement, "decorator") || r(this.hostElement, "bullet");
59
64
  }
60
65
  get hasFooterSlotContent() {
61
- return a(this.hostElement, "footer");
66
+ return r(this.hostElement, "footer");
62
67
  }
63
68
  get hasHeaderSlotContent() {
64
- return a(this.hostElement, "header");
69
+ return r(this.hostElement, "header");
65
70
  }
66
71
  get itemClasses() {
67
72
  const t = [ "item" ];
@@ -79,52 +84,57 @@ const n = t(class extends e {
79
84
  const t = [ this.hasHeaderSlotContent, this.hasBodySlotContent, this.hasFooterSlotContent ].filter(Boolean).length;
80
85
  return "top" !== this.verticalAlign && 1 === t;
81
86
  }
87
+ isSpaceKey(t) {
88
+ return "Space" === t.code || " " === t.key || "Space" === t.key || "Spacebar" === t.key;
89
+ }
82
90
  // #endregion
83
91
  // #region Render Methods
84
92
  render() {
85
93
  const {clickable: t} = this;
86
94
  return o("div", {
87
- key: "24235dc76b675062e0edbc9ffea84598e82d67a3",
95
+ key: "42ea022dfbebe50fc94e275c95f83f7cc3bbc3fd",
88
96
  "test-id": "itemContainer",
89
97
  class: this.itemClasses,
90
98
  ref: t => this.itemElement = t,
91
99
  role: t ? "button" : void 0,
92
- tabIndex: t ? 0 : void 0
100
+ tabIndex: t ? 0 : void 0,
101
+ onKeyDown: this.handleKeydown,
102
+ onKeyUp: this.handleKeyup
93
103
  }, this.hasDecoratorSlotContent && o("div", {
94
- key: "9ed941f454d1948fb1a62f730eb87744b8be5fad",
104
+ key: "5ea5749d40d3fe53b28278272160e093cab9a7f6",
95
105
  class: this.decoratorClasses
96
106
  }, o("slot", {
97
- key: "90edead9ce02a3c85687bd93e7865e962524654e",
107
+ key: "f69f67d5fd71dc36fab1e9a7014dd05c89a4250f",
98
108
  name: "decorator"
99
109
  }, o("slot", {
100
- key: "86940492d2fec1d9a90ea240f526b4dc162505af",
110
+ key: "12e97e5492803c40e7e56785f69e18e8d27aa099",
101
111
  name: "bullet"
102
112
  }))), o("div", {
103
- key: "b59a55f029809e8ce20f6744a7fc4c5f9519510e",
113
+ key: "6a58cdcfba08332b36317fa072be51f90a24b03b",
104
114
  class: this.mainClasses
105
115
  }, this.hasHeaderSlotContent && o("div", {
106
- key: "9c70de9396f7c07856e4f107081475a317b05146",
116
+ key: "557085b4064d2ef20db3cb0f91388feb5737f83a",
107
117
  class: "header"
108
118
  }, o("slot", {
109
- key: "275e7d844ae6c6d5e44067f96bcf9d4ccd54fe95",
119
+ key: "455ae71c71174ff1591e7ce5e83c1c6104261e81",
110
120
  name: "header"
111
121
  })), this.hasBodySlotContent && o("div", {
112
- key: "6d70457c273c01f2637618b4345ff8f0bb871ab3",
122
+ key: "e003fa668b6640cebd7c0faaca2eb740a77944fc",
113
123
  class: "body"
114
124
  }, o("slot", {
115
- key: "0014ace81da43f6619280117d799848885fd4371",
125
+ key: "aa0d5b552db0d4e3ca1692c7798feade76e0e89d",
116
126
  name: "body"
117
127
  }))), this.hasActionSlotContent && o("div", {
118
- key: "81cb41dd1e02030dfd2ef5d1eaec3931ce069480",
128
+ key: "7c606e2cb0593b03844e2ddb48cbd9c4225f4d8d",
119
129
  class: this.actionClasses
120
130
  }, o("slot", {
121
- key: "74b48e8223f25e6169f5efc0b6beda2523a2a88b",
131
+ key: "9fb61fea2a775d011c3185d403a19877e8b558ba",
122
132
  name: "action"
123
133
  })), this.hasFooterSlotContent && o("div", {
124
- key: "28e282068bb76cebce130a61bc27ade04fcbd399",
134
+ key: "2cab76f4d546f73365dcc7e1a5ea773b933e355e",
125
135
  class: this.footerClasses
126
136
  }, o("slot", {
127
- key: "684f5086b8e7aa7649907788d9c6af38f4b0c2c5",
137
+ key: "c7b603097d0272199604ec53dce5c99caf37a3d5",
128
138
  name: "footer"
129
139
  })));
130
140
  }
@@ -2,9 +2,9 @@ import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as n, tr
2
2
 
3
3
  import { m as o } from "./mirror-emit.js";
4
4
 
5
- import { d as a } from "./click-elsewhere2.js";
5
+ import { d as r } from "./click-elsewhere2.js";
6
6
 
7
- const r = t(class extends e {
7
+ const a = t(class extends e {
8
8
  constructor(t) {
9
9
  super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.click = i(this, "click", 7),
10
10
  this.mouseenter = i(this, "mouseenter", 7), this.mouseleave = i(this, "mouseleave", 7),
@@ -93,10 +93,10 @@ const r = t(class extends e {
93
93
  // #region Render Methods
94
94
  render() {
95
95
  return n("click-elsewhere", {
96
- key: "32d4b5a9adfdd824fba84233dd1647236a80d2e7",
96
+ key: "4072c6510e6d0820051d31eb2e031f05b6f4b71e",
97
97
  onChange: () => this.onClickElsewhere(this)
98
98
  }, n("ul", {
99
- key: "2842a006e6aab9d478bf900e13e0f45c14ec4a67"
99
+ key: "d823017f42f22efe3fdedbb1484b0a7f749022ae"
100
100
  }, this.dataWithClasses.map((t => n("li", {
101
101
  class: "item"
102
102
  }, n("button", {
@@ -157,13 +157,13 @@ function defineCustomElement() {
157
157
  [ "q2-legend", "click-elsewhere" ].forEach((t => {
158
158
  switch (t) {
159
159
  case "q2-legend":
160
- customElements.get(s(t)) || customElements.define(s(t), r);
160
+ customElements.get(s(t)) || customElements.define(s(t), a);
161
161
  break;
162
162
 
163
163
  case "click-elsewhere":
164
- customElements.get(s(t)) || a();
164
+ customElements.get(s(t)) || r();
165
165
  }
166
166
  }));
167
167
  }
168
168
 
169
- export { r as Q, defineCustomElement as d }
169
+ export { a as Q, defineCustomElement as d }
@@ -52,23 +52,23 @@ const o = t(class extends e {
52
52
  // #region Render Methods
53
53
  render() {
54
54
  return i("div", {
55
- key: "03d753b9d45921c1660ca81e92612dd742aeb694",
55
+ key: "83755626545a0f51c29343772b4ac3bfe3affb44",
56
56
  class: this.listClasses,
57
57
  ref: t => this.listElement = t
58
58
  }, (this.hasFilterSlot || this.hasLabelContent) && i("div", {
59
- key: "43124c37dde7bf8079171325c1592f84a9b86d7b",
59
+ key: "ac297dfd9016aa8c7e3ee7664cf82bfbdbb1a18c",
60
60
  class: this.headerClasses
61
61
  }, i("div", {
62
- key: "34005b2b72a15103698731b5bd0076c53410dc90",
62
+ key: "bce3d15f585ce2ab6d1db0d1e17d95018dc237cd",
63
63
  class: "label"
64
64
  }, this.label), this.hasFilterSlot && i("slot", {
65
- key: "a6a1e1a921aec21da718cac10a1e4643578cc53f",
65
+ key: "373811d46b5adbc711017b816147c12008f142d4",
66
66
  name: "filter"
67
67
  })), i("div", {
68
- key: "8031cab7c441c8dde9102af20ed34c106e83e2a2",
68
+ key: "47818e442a69e5d3af55730b51c8aa2d73cc26b8",
69
69
  role: "list"
70
70
  }, i("slot", {
71
- key: "4eacfb475f1f8f7d74210afb5c505282afb0ed13"
71
+ key: "b0061fb86511665ecf5217f817135bc1533608ae"
72
72
  })));
73
73
  }
74
74
  get hostElement() {
@@ -4,7 +4,7 @@ import { o as s, i as r, n as i, p as c, l as n } from "./index2.js";
4
4
 
5
5
  import { d as p } from "./q2-icon2.js";
6
6
 
7
- const m = e(class extends a {
7
+ const d = e(class extends a {
8
8
  constructor(e) {
9
9
  super(), !1 !== e && this.__registerHost(), this.__attachShadow(),
10
10
  // #endregion
@@ -60,7 +60,7 @@ const m = e(class extends a {
60
60
  render() {
61
61
  const {isFirefox: e} = this, a = e && this.presentToggle, o = !e && this.presentToggle, {description: s} = this, r = n(`tecton.element.message.type.${this.type ? this.type : "info"}`);
62
62
  return t("div", {
63
- key: "e6d294a3ad21e83f33d2e0202e74b66b5d61984f",
63
+ key: "eb6b6c3d9ae10d3f87a9c7be63780f582216ded1",
64
64
  tabindex: "-1",
65
65
  class: "message",
66
66
  role: s ? void 0 : "alert",
@@ -69,28 +69,28 @@ const m = e(class extends a {
69
69
  "aria-relevant": s && a ? void 0 : "all",
70
70
  "test-id": "messageContainer"
71
71
  }, t("div", {
72
- key: "c8cad3b93d2d501513d951b0850bf920cfdd2dc8",
72
+ key: "e2dc68dc1da013553997ee459dede038f773a5e6",
73
73
  class: "bar",
74
74
  "test-id": "bar"
75
75
  }), "standard" === this.appearance ? this.messageIcon(this.type) : "", o && t("div", {
76
- key: "48222cb290731c76a3f68b48c01fcaff5b0fea2a",
76
+ key: "cc73afe11cda6117a222a15f3977152e2d22228e",
77
77
  class: "sr"
78
78
  }), t("div", {
79
- key: "2f67a189f90d66ec9478926984cb4e3f97808658",
79
+ key: "e92d1fff9c917176b2aded0fc9198fe819e4496c",
80
80
  class: "sr message-label"
81
81
  }, r), t("div", {
82
- key: "f41dd21efa6c822a436328bf4bbf756eec8714fd",
82
+ key: "f5ee65aa207ccf68b7cb3abda8ffed78b39937f8",
83
83
  class: "message-content",
84
84
  "aria-hidden": a ? "true" : void 0
85
85
  }, t("slot", {
86
- key: "5668fbb085bfc8403062710a60238ba71c05e7ab"
86
+ key: "493608040edc25dbccfe63c2907a42dc43c023a9"
87
87
  })));
88
88
  }
89
89
  get hostElement() {
90
90
  return this;
91
91
  }
92
92
  static get style() {
93
- return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:block}:host([hidden]){display:none}.message{--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));border-width:var(--tct-message-border-width, 0);border-style:var(--tct-message-border-style, solid);border-color:var(--tct-message-border-color, transparent);position:relative;display:grid;gap:var(--tct-message-gap, 8px);align-items:flex-start;background:var(--comp-message-background);color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, var(--app-shadow-1, inherit)));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, var(--app-border-radius-1, inherit)))}.message:focus{box-shadow:var(--const-global-focus)}.bar{position:absolute;left:0;top:0;bottom:0;height:100%;background:var(--comp-bar-color);width:var(--tct-message-bar-width, var(--t-message-bar-width, 4px));border-radius:var(--tct-message-bar-border-radius, var(--app-border-radius-1) 0 0 var(--app-border-radius-1))}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;line-height:var(--comp-line-height);font-size:var(--tct-message-font-size, inherit)}::slotted(ul){--comp-list-default-padding:0 0 0 var(--app-scale-3x, 15px);padding:var(--tct-message-list-padding, var(--comp-list-default-padding))}:host(:not([appearance])),:host([appearance=standard]){--comp-default-margin:var(--app-scale-3x, 5px) 0;margin:var(--tct-message-margin, var(--comp-default-margin))}:host(:not([appearance])) .message,:host([appearance=standard]) .message{--comp-icon-size:var(--tct-message-icon-size, var(--t-message-icon-size, 24px));--comp-padding:var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3x, 15px)));grid-template-columns:var(--comp-icon-size) 1fr;padding:var(--comp-padding);padding-bottom:calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1x, 5px)))}:host(:not([appearance])) ::slotted(ul),:host([appearance=standard]) ::slotted(ul){--comp-list-default-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-message-list-margin, var(--comp-list-default-margin))}:host([appearance=minimal]){margin:0}:host([appearance=minimal]) .message{padding:var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2x, 10px)));grid-template-columns:1fr}:host([appearance=minimal]) ::slotted(ul){margin:var(--tct-scale-1, var(--app-scale-1x, 5px)) 0}:host(:not([type])),:host([type=info]){--comp-info-color:#0079c1;--comp-bar-color:var(--tct-message-info-bar-color, var(--const-stoplight-info, var(--comp-info-color)));--comp-message-background:var(--tct-message-info-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host(:not([type])) .message-icon,:host([type=info]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)))}:host([type=success]){--comp-success-color:#0e8a00;--comp-bar-color:var(--tct-message-success-bar-color, var(--const-stoplight-success, var(--comp-success-color)));--comp-message-background:var(--tct-message-success-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=success]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)))}:host([type=warning]){--comp-warning-color:#c35500;--comp-bar-color:var(--tct-message-warning-bar-color, var(--const-stoplight-warning, var(--comp-warning-color)));--comp-message-background:var(--tct-message-warning-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=warning]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)))}:host([type=error]),:host([type=danger]){--comp-error-color:#d20a0a;--comp-bar-color:var(--tct-message-error-bar-color, var(--const-stoplight-alert, var(--comp-error-color)));--comp-message-background:var(--tct-message-error-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=error]) .message-icon,:host([type=danger]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)))}';
93
+ return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:block}:host([hidden]){display:none}.message{--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));border-width:var(--tct-message-border-width, 0);border-style:var(--tct-message-border-style, solid);border-color:var(--tct-message-border-color, transparent);position:relative;display:grid;gap:var(--tct-message-gap, 8px);align-items:flex-start;background:var(--comp-message-background);color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, var(--app-shadow-1, inherit)));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, var(--app-border-radius-1, inherit)))}.message:focus{box-shadow:var(--const-global-focus)}.bar{position:absolute;left:0;top:0;bottom:0;height:100%;background:var(--comp-bar-color);width:var(--tct-message-bar-width, var(--t-message-bar-width, 4px));border-radius:var(--tct-message-bar-border-radius, var(--app-border-radius-1) 0 0 var(--app-border-radius-1))}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;font-size:var(--tct-message-font-size, inherit);line-height:max(1.2em, var(--comp-line-height))}::slotted(ul){--comp-list-default-padding:0 0 0 var(--app-scale-3x, 15px);padding:var(--tct-message-list-padding, var(--comp-list-default-padding))}:host(:not([appearance])),:host([appearance=standard]){--comp-default-margin:var(--app-scale-3x, 5px) 0;margin:var(--tct-message-margin, var(--comp-default-margin))}:host(:not([appearance])) .message,:host([appearance=standard]) .message{--comp-icon-size:var(--tct-message-icon-size, var(--t-message-icon-size, 24px));--comp-padding:var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3x, 15px)));grid-template-columns:var(--comp-icon-size) 1fr;padding:var(--comp-padding);padding-bottom:calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1x, 5px)))}:host(:not([appearance])) ::slotted(ul),:host([appearance=standard]) ::slotted(ul){--comp-list-default-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-message-list-margin, var(--comp-list-default-margin))}:host([appearance=minimal]){margin:0}:host([appearance=minimal]) .message{padding:var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2x, 10px)));grid-template-columns:1fr}:host([appearance=minimal]) ::slotted(ul){margin:var(--tct-scale-1, var(--app-scale-1x, 5px)) 0}:host(:not([type])),:host([type=info]){--comp-info-color:#0079c1;--comp-bar-color:var(--tct-message-info-bar-color, var(--const-stoplight-info, var(--comp-info-color)));--comp-message-background:var(--tct-message-info-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host(:not([type])) .message-icon,:host([type=info]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)))}:host([type=success]){--comp-success-color:#0e8a00;--comp-bar-color:var(--tct-message-success-bar-color, var(--const-stoplight-success, var(--comp-success-color)));--comp-message-background:var(--tct-message-success-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=success]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)))}:host([type=warning]){--comp-warning-color:#c35500;--comp-bar-color:var(--tct-message-warning-bar-color, var(--const-stoplight-warning, var(--comp-warning-color)));--comp-message-background:var(--tct-message-warning-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=warning]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)))}:host([type=error]),:host([type=danger]){--comp-error-color:#d20a0a;--comp-bar-color:var(--tct-message-error-bar-color, var(--const-stoplight-alert, var(--comp-error-color)));--comp-message-background:var(--tct-message-error-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=error]) .message-icon,:host([type=danger]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)))}';
94
94
  }
95
95
  }, [ 257, "q2-message", {
96
96
  appearance: [ 513 ],
@@ -105,7 +105,7 @@ function defineCustomElement() {
105
105
  [ "q2-message", "q2-icon" ].forEach((e => {
106
106
  switch (e) {
107
107
  case "q2-message":
108
- customElements.get(o(e)) || customElements.define(o(e), m);
108
+ customElements.get(o(e)) || customElements.define(o(e), d);
109
109
  break;
110
110
 
111
111
  case "q2-icon":
@@ -114,4 +114,4 @@ function defineCustomElement() {
114
114
  }));
115
115
  }
116
116
 
117
- export { m as Q, defineCustomElement as d }
117
+ export { d as Q, defineCustomElement as d }