q2-tecton-elements 1.50.1 → 1.50.2

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 (417) hide show
  1. package/dist/cjs/click-elsewhere_2.cjs.entry.js +73 -70
  2. package/dist/cjs/click-elsewhere_2.cjs.entry.js.map +1 -1
  3. package/dist/cjs/{index-64d8b839.js → index-799a5634.js} +1 -21
  4. package/dist/cjs/index-799a5634.js.map +1 -0
  5. package/dist/cjs/{index-43010ce4.js → index-f69742cf.js} +1 -1
  6. package/dist/cjs/{index-43010ce4.js.map → index-f69742cf.js.map} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
  9. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-badge_7.cjs.entry.js +4 -4
  11. package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
  12. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  14. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
  16. package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
  17. package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
  18. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  21. package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  23. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  24. package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-item.cjs.entry.js +2 -2
  27. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-list.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-loc.cjs.entry.js +2 -2
  30. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  31. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  32. package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
  33. package/dist/cjs/q2-option-list.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
  36. package/dist/cjs/q2-pill.cjs.entry.js +2 -2
  37. package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
  38. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
  40. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  41. package/dist/cjs/q2-select.cjs.entry.js +97 -19
  42. package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
  43. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  44. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  45. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  46. package/dist/cjs/q2-tag.cjs.entry.js +2 -2
  47. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  48. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  49. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  50. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  51. package/dist/collection/components/click-elsewhere/click-elsewhere.js.map +1 -1
  52. package/dist/collection/components/click-elsewhere/test/click-elsewhere-test.e2e.js.map +1 -1
  53. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
  54. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js.map +1 -1
  55. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.e2e.js.map +1 -1
  56. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  57. package/dist/collection/components/q2-avatar/q2-avatar.js.map +1 -1
  58. package/dist/collection/components/q2-avatar/test/q2-avatar-test.e2e.js.map +1 -1
  59. package/dist/collection/components/q2-badge/q2-badge.js.map +1 -1
  60. package/dist/collection/components/q2-badge/test/q2-badge-test.e2e.js.map +1 -1
  61. package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
  62. package/dist/collection/components/q2-btn/test/q2-btn-test.e2e.js.map +1 -1
  63. package/dist/collection/components/q2-calendar/q2-calendar-helpers.js.map +1 -1
  64. package/dist/collection/components/q2-calendar/q2-calendar-types.js.map +1 -1
  65. package/dist/collection/components/q2-calendar/q2-calendar-validation.js.map +1 -1
  66. package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
  67. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  68. package/dist/collection/components/q2-calendar/q2-month-picker.js.map +1 -1
  69. package/dist/collection/components/q2-calendar/test/helpers-test.e2e.js.map +1 -1
  70. package/dist/collection/components/q2-calendar/test/q2-calendar-month-picker-test.e2e.js.map +1 -1
  71. package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js +2 -2
  72. package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +1 -1
  73. package/dist/collection/components/q2-calendar/test/validation-test.e2e.js.map +1 -1
  74. package/dist/collection/components/q2-card/q2-card.js.map +1 -1
  75. package/dist/collection/components/q2-card/test/q2-card-test.e2e.js.map +1 -1
  76. package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
  77. package/dist/collection/components/q2-carousel/test/q2-carousel-test.e2e.js.map +1 -1
  78. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  79. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js.map +1 -1
  80. package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.e2e.js.map +1 -1
  81. package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.spec.js.map +1 -1
  82. package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
  83. package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
  84. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.e2e.js.map +1 -1
  85. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
  86. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
  87. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.e2e.js.map +1 -1
  88. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
  89. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
  90. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.e2e.js.map +1 -1
  91. package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
  92. package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.e2e.js.map +1 -1
  93. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js.map +1 -1
  94. package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.e2e.js.map +1 -1
  95. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  96. package/dist/collection/components/q2-currency/q2-currency.js.map +1 -1
  97. package/dist/collection/components/q2-currency/test/q2-currency-test.e2e.js.map +1 -1
  98. package/dist/collection/components/q2-data-table/q2-data-table.js +7 -7
  99. package/dist/collection/components/q2-data-table/q2-data-table.js.map +1 -1
  100. package/dist/collection/components/q2-data-table/test/q2-data-table-test.e2e.js.map +1 -1
  101. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  102. package/dist/collection/components/q2-detail/q2-detail.js.map +1 -1
  103. package/dist/collection/components/q2-detail/test/q2-detail-test.e2e.js.map +1 -1
  104. package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
  105. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js +1 -13
  106. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js.map +1 -1
  107. package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.js.map +1 -1
  108. package/dist/collection/components/q2-dropdown-item/test/q2-dropdown-item-test.e2e.js.map +1 -1
  109. package/dist/collection/components/q2-editable-field/q2-editable-field.js.map +1 -1
  110. package/dist/collection/components/q2-editable-field/test/q2-editable-field-test.e2e.js.map +1 -1
  111. package/dist/collection/components/q2-icon/q2-icon-types.js.map +1 -1
  112. package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
  113. package/dist/collection/components/q2-icon/test/q2-icon-test.e2e.js.map +1 -1
  114. package/dist/collection/components/q2-input/formatting/alpha.js.map +1 -1
  115. package/dist/collection/components/q2-input/formatting/alphanumeric.js.map +1 -1
  116. package/dist/collection/components/q2-input/formatting/credit-card.js.map +1 -1
  117. package/dist/collection/components/q2-input/formatting/credit-card.spec.js.map +1 -1
  118. package/dist/collection/components/q2-input/formatting/currency.js.map +1 -1
  119. package/dist/collection/components/q2-input/formatting/date.js.map +1 -1
  120. package/dist/collection/components/q2-input/formatting/generic.js.map +1 -1
  121. package/dist/collection/components/q2-input/formatting/number.js.map +1 -1
  122. package/dist/collection/components/q2-input/formatting/numeric.js.map +1 -1
  123. package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
  124. package/dist/collection/components/q2-input/formatting/postal.js.map +1 -1
  125. package/dist/collection/components/q2-input/formatting/ssn.js.map +1 -1
  126. package/dist/collection/components/q2-input/formatting/tin.js.map +1 -1
  127. package/dist/collection/components/q2-input/q2-input-types.js.map +1 -1
  128. package/dist/collection/components/q2-input/q2-input.js +2 -2
  129. package/dist/collection/components/q2-input/q2-input.js.map +1 -1
  130. package/dist/collection/components/q2-input/test/q2-input-credit-card-test.e2e.js.map +1 -1
  131. package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
  132. package/dist/collection/components/q2-item/q2-item.js +1 -1
  133. package/dist/collection/components/q2-item/q2-item.js.map +1 -1
  134. package/dist/collection/components/q2-item/test/q2-item-test.e2e.js.map +1 -1
  135. package/dist/collection/components/q2-item/test/q2-item-test.spec.js.map +1 -1
  136. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  137. package/dist/collection/components/q2-legend/q2-legend.js.map +1 -1
  138. package/dist/collection/components/q2-legend/test/q2-legend-test.e2e.js.map +1 -1
  139. package/dist/collection/components/q2-legend/test/q2-legend-test.spec.js.map +1 -1
  140. package/dist/collection/components/q2-list/q2-list.js +1 -1
  141. package/dist/collection/components/q2-list/q2-list.js.map +1 -1
  142. package/dist/collection/components/q2-list/test/q2-list-test.e2e.js.map +1 -1
  143. package/dist/collection/components/q2-loading/q2-loading.js.map +1 -1
  144. package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js.map +1 -1
  145. package/dist/collection/components/q2-loading/skeleton/shapes.js.map +1 -1
  146. package/dist/collection/components/q2-loading/test/q2-loading-element-test.e2e.js.map +1 -1
  147. package/dist/collection/components/q2-loading/test/q2-loading-test.e2e.js.map +1 -1
  148. package/dist/collection/components/q2-loc/q2-loc.js +1 -1
  149. package/dist/collection/components/q2-loc/q2-loc.js.map +1 -1
  150. package/dist/collection/components/q2-loc/test/q2-loc-test.e2e.js.map +1 -1
  151. package/dist/collection/components/q2-message/q2-message.js +1 -1
  152. package/dist/collection/components/q2-message/q2-message.js.map +1 -1
  153. package/dist/collection/components/q2-message/test/q2-message-test.e2e.js.map +1 -1
  154. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  155. package/dist/collection/components/q2-optgroup/q2-optgroup.js.map +1 -1
  156. package/dist/collection/components/q2-optgroup/test/q2-optgroup-test.e2e.js.map +1 -1
  157. package/dist/collection/components/q2-option/q2-option.js +1 -1
  158. package/dist/collection/components/q2-option/q2-option.js.map +1 -1
  159. package/dist/collection/components/q2-option/test/q2-option-test.e2e.js.map +1 -1
  160. package/dist/collection/components/q2-option-list/q2-option-list.js +2 -2
  161. package/dist/collection/components/q2-option-list/q2-option-list.js.map +1 -1
  162. package/dist/collection/components/q2-option-list/test/q2-option-list-test.e2e.js.map +1 -1
  163. package/dist/collection/components/q2-pagination/q2-pagination.js +2 -2
  164. package/dist/collection/components/q2-pagination/q2-pagination.js.map +1 -1
  165. package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js +1 -0
  166. package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js.map +1 -1
  167. package/dist/collection/components/q2-pill/q2-pill.js +1 -1
  168. package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
  169. package/dist/collection/components/q2-pill/test/q2-pill-test.e2e.js +1 -1
  170. package/dist/collection/components/q2-pill/test/q2-pill-test.e2e.js.map +1 -1
  171. package/dist/collection/components/q2-popover/q2-popover.css +18 -10
  172. package/dist/collection/components/q2-popover/q2-popover.js +73 -69
  173. package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
  174. package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js +1 -34
  175. package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js.map +1 -1
  176. package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +743 -435
  177. package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
  178. package/dist/collection/components/q2-radio/q2-radio.js.map +1 -1
  179. package/dist/collection/components/q2-radio/test/q2-radio-test.e2e.js.map +1 -1
  180. package/dist/collection/components/q2-radio-group/q2-radio-group.js.map +1 -1
  181. package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.e2e.js.map +1 -1
  182. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  183. package/dist/collection/components/q2-relative-time/q2-relative-time.js.map +1 -1
  184. package/dist/collection/components/q2-relative-time/test/q2-relative-time-test.e2e.js.map +1 -1
  185. package/dist/collection/components/q2-section/q2-section.js +2 -2
  186. package/dist/collection/components/q2-section/q2-section.js.map +1 -1
  187. package/dist/collection/components/q2-section/test/q2-section-test.e2e.js.map +1 -1
  188. package/dist/collection/components/q2-select/q2-select.js +135 -21
  189. package/dist/collection/components/q2-select/q2-select.js.map +1 -1
  190. package/dist/collection/components/q2-select/test/q2-select-test.e2e.js +1 -1
  191. package/dist/collection/components/q2-select/test/q2-select-test.e2e.js.map +1 -1
  192. package/dist/collection/components/q2-select/test/q2-select-test.spec.js +412 -0
  193. package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -0
  194. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  195. package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
  196. package/dist/collection/components/q2-stepper/test/q2-stepper-test.e2e.js.map +1 -1
  197. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +2 -2
  198. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js.map +1 -1
  199. package/dist/collection/components/q2-stepper-pane/test/q2-stepper-pane-test.e2e.js.map +1 -1
  200. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  201. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js.map +1 -1
  202. package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.e2e.js.map +1 -1
  203. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  204. package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
  205. package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.e2e.js.map +1 -1
  206. package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.spec.js.map +1 -1
  207. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  208. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js.map +1 -1
  209. package/dist/collection/components/q2-tab-pane/test/q2-tab-pane-test.e2e.js.map +1 -1
  210. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  211. package/dist/collection/components/q2-tag/q2-tag.js.map +1 -1
  212. package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js +6 -1
  213. package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js.map +1 -1
  214. package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
  215. package/dist/collection/components/q2-textarea/q2-textarea.js.map +1 -1
  216. package/dist/collection/components/q2-textarea/test/q2-textarea-test.e2e.js.map +1 -1
  217. package/dist/collection/components/q2-tooltip/q2-tooltip.js.map +1 -1
  218. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.e2e.js.map +1 -1
  219. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane-types.js.map +1 -1
  220. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  221. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js.map +1 -1
  222. package/dist/collection/components/tecton-tab-pane/test/tecton-tab-pane-test.e2e.js.map +1 -1
  223. package/dist/collection/index.js.map +1 -1
  224. package/dist/collection/utils/action-sheet.js.map +1 -1
  225. package/dist/collection/utils/charting.js.map +1 -1
  226. package/dist/collection/utils/helpers.js.map +1 -1
  227. package/dist/collection/utils/index.js.map +1 -1
  228. package/dist/collection/utils/test/action-sheet-test.e2e.js.map +1 -1
  229. package/dist/collection/utils/test/index.spec.js.map +1 -1
  230. package/dist/components/index2.js +1 -20
  231. package/dist/components/index2.js.map +1 -1
  232. package/dist/components/q2-action-sheet.js +1 -1
  233. package/dist/components/q2-avatar2.js +1 -1
  234. package/dist/components/q2-carousel-pane.js +2 -2
  235. package/dist/components/q2-chart-area.js +1 -1
  236. package/dist/components/q2-chart-bar.js +1 -1
  237. package/dist/components/q2-chart-donut.js +1 -1
  238. package/dist/components/q2-currency.js +1 -1
  239. package/dist/components/q2-detail.js +1 -1
  240. package/dist/components/q2-input2.js +1 -1
  241. package/dist/components/q2-item.js +1 -1
  242. package/dist/components/q2-legend2.js +1 -1
  243. package/dist/components/q2-list.js +1 -1
  244. package/dist/components/q2-loc.js +1 -1
  245. package/dist/components/q2-message2.js +1 -1
  246. package/dist/components/q2-month-picker.js +2 -2
  247. package/dist/components/q2-optgroup2.js +1 -1
  248. package/dist/components/q2-option2.js +1 -1
  249. package/dist/components/q2-pagination.js +2 -2
  250. package/dist/components/q2-pill.js +1 -1
  251. package/dist/components/q2-popover2.js +72 -69
  252. package/dist/components/q2-popover2.js.map +1 -1
  253. package/dist/components/q2-relative-time.js +1 -1
  254. package/dist/components/q2-section.js +2 -2
  255. package/dist/components/q2-select2.js +101 -22
  256. package/dist/components/q2-select2.js.map +1 -1
  257. package/dist/components/q2-stepper-vertical.js +1 -1
  258. package/dist/components/q2-stepper.js +1 -1
  259. package/dist/components/q2-tab-container.js +1 -1
  260. package/dist/components/q2-tab-pane.js +1 -1
  261. package/dist/components/q2-tag.js +1 -1
  262. package/dist/components/q2-textarea.js +1 -1
  263. package/dist/components/tecton-tab-pane.js +2 -2
  264. package/dist/esm/click-elsewhere_2.entry.js +73 -70
  265. package/dist/esm/click-elsewhere_2.entry.js.map +1 -1
  266. package/dist/esm/{index-c6d74f10.js → index-3184c760.js} +1 -1
  267. package/dist/esm/{index-c6d74f10.js.map → index-3184c760.js.map} +1 -1
  268. package/dist/esm/{index-4a80972c.js → index-c774e1e4.js} +2 -21
  269. package/dist/esm/index-c774e1e4.js.map +1 -0
  270. package/dist/esm/loader.js +1 -1
  271. package/dist/esm/q2-action-sheet.entry.js +2 -2
  272. package/dist/esm/q2-avatar.entry.js +1 -1
  273. package/dist/esm/q2-badge_7.entry.js +4 -4
  274. package/dist/esm/q2-calendar.entry.js +2 -2
  275. package/dist/esm/q2-card.entry.js +1 -1
  276. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  277. package/dist/esm/q2-carousel.entry.js +1 -1
  278. package/dist/esm/q2-chart-area.entry.js +2 -2
  279. package/dist/esm/q2-chart-bar.entry.js +2 -2
  280. package/dist/esm/q2-chart-donut.entry.js +2 -2
  281. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  282. package/dist/esm/q2-checkbox.entry.js +1 -1
  283. package/dist/esm/q2-currency.entry.js +1 -1
  284. package/dist/esm/q2-data-table.entry.js +1 -1
  285. package/dist/esm/q2-detail.entry.js +2 -2
  286. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  287. package/dist/esm/q2-dropdown.entry.js +1 -1
  288. package/dist/esm/q2-editable-field.entry.js +1 -1
  289. package/dist/esm/q2-item.entry.js +2 -2
  290. package/dist/esm/q2-legend.entry.js +1 -1
  291. package/dist/esm/q2-list.entry.js +2 -2
  292. package/dist/esm/q2-loc.entry.js +2 -2
  293. package/dist/esm/q2-message.entry.js +2 -2
  294. package/dist/esm/q2-month-picker.entry.js +3 -3
  295. package/dist/esm/q2-optgroup.entry.js +2 -2
  296. package/dist/esm/q2-option-list.entry.js +1 -1
  297. package/dist/esm/q2-option.entry.js +1 -1
  298. package/dist/esm/q2-pagination.entry.js +3 -3
  299. package/dist/esm/q2-pill.entry.js +2 -2
  300. package/dist/esm/q2-radio-group.entry.js +1 -1
  301. package/dist/esm/q2-radio.entry.js +1 -1
  302. package/dist/esm/q2-relative-time.entry.js +3 -3
  303. package/dist/esm/q2-section.entry.js +3 -3
  304. package/dist/esm/q2-select.entry.js +98 -20
  305. package/dist/esm/q2-select.entry.js.map +1 -1
  306. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  307. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  308. package/dist/esm/q2-stepper.entry.js +2 -2
  309. package/dist/esm/q2-tag.entry.js +2 -2
  310. package/dist/esm/q2-tecton-elements.js +1 -1
  311. package/dist/esm/q2-textarea.entry.js +2 -2
  312. package/dist/esm/q2-tooltip.entry.js +1 -1
  313. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  314. package/dist/jest.setup.js +22 -0
  315. package/dist/jest.setup.js.map +1 -0
  316. package/dist/q2-tecton-elements/{p-77272c4c.entry.js → p-0106e160.entry.js} +2 -2
  317. package/dist/q2-tecton-elements/{p-cb3f48de.entry.js → p-17a925c1.entry.js} +2 -2
  318. package/dist/q2-tecton-elements/{p-9a1a4bc0.js → p-19784a09.js} +2 -2
  319. package/dist/q2-tecton-elements/p-19784a09.js.map +1 -0
  320. package/dist/q2-tecton-elements/{p-34856c71.entry.js → p-1d38ba53.entry.js} +2 -2
  321. package/dist/q2-tecton-elements/{p-b72fd065.entry.js → p-2e26e06d.entry.js} +2 -2
  322. package/dist/q2-tecton-elements/{p-661ed976.entry.js → p-42e791cd.entry.js} +2 -2
  323. package/dist/q2-tecton-elements/{p-6e6d9793.entry.js → p-4498cd2f.entry.js} +2 -2
  324. package/dist/q2-tecton-elements/{p-376a0589.entry.js → p-531c96c8.entry.js} +2 -2
  325. package/dist/q2-tecton-elements/{p-395904b4.entry.js → p-68810402.entry.js} +2 -2
  326. package/dist/q2-tecton-elements/{p-6b7c53a8.entry.js → p-73cbf3bd.entry.js} +2 -2
  327. package/dist/q2-tecton-elements/{p-34696e3f.entry.js → p-7a5f1418.entry.js} +2 -2
  328. package/dist/q2-tecton-elements/{p-5d936af5.entry.js → p-80d6991d.entry.js} +2 -2
  329. package/dist/q2-tecton-elements/{p-2fcaf2d6.entry.js → p-810edec0.entry.js} +2 -2
  330. package/dist/q2-tecton-elements/{p-4116579f.entry.js → p-87b84009.entry.js} +2 -2
  331. package/dist/q2-tecton-elements/{p-8a4b106d.entry.js → p-8cb85069.entry.js} +2 -2
  332. package/dist/q2-tecton-elements/{p-2ca6d44f.entry.js → p-9ffc7859.entry.js} +2 -2
  333. package/dist/q2-tecton-elements/{p-074ae80c.entry.js → p-a41da37c.entry.js} +2 -2
  334. package/dist/q2-tecton-elements/{p-2c26295e.entry.js → p-ab35aa27.entry.js} +2 -2
  335. package/dist/q2-tecton-elements/{p-d2e1631a.entry.js → p-acba752c.entry.js} +2 -2
  336. package/dist/q2-tecton-elements/{p-0a3a804a.entry.js → p-b0ef6f43.entry.js} +2 -2
  337. package/dist/q2-tecton-elements/{p-403bf3d4.entry.js → p-b18c846d.entry.js} +2 -2
  338. package/dist/q2-tecton-elements/{p-c81d299a.entry.js → p-b22410f6.entry.js} +2 -2
  339. package/dist/q2-tecton-elements/{p-ce4e6b41.entry.js → p-b8aa76a0.entry.js} +2 -2
  340. package/dist/q2-tecton-elements/{p-ad998f71.entry.js → p-ba25f9a1.entry.js} +2 -2
  341. package/dist/q2-tecton-elements/{p-cf966a0f.entry.js → p-bed61b18.entry.js} +2 -2
  342. package/dist/q2-tecton-elements/{p-6237c775.entry.js → p-c0e76a27.entry.js} +2 -2
  343. package/dist/q2-tecton-elements/{p-58cafc0d.entry.js → p-c1790396.entry.js} +2 -2
  344. package/dist/q2-tecton-elements/{p-adec9275.entry.js → p-c59ad989.entry.js} +2 -2
  345. package/dist/q2-tecton-elements/{p-3c7be0bb.entry.js → p-cbb02f6f.entry.js} +2 -2
  346. package/dist/q2-tecton-elements/{p-c0c658d1.entry.js → p-cd460504.entry.js} +2 -2
  347. package/dist/q2-tecton-elements/p-d34fff19.entry.js +2 -0
  348. package/dist/q2-tecton-elements/p-d34fff19.entry.js.map +1 -0
  349. package/dist/q2-tecton-elements/{p-0a1dff75.entry.js → p-d3f700fe.entry.js} +2 -2
  350. package/dist/q2-tecton-elements/{p-3b0d3cd4.entry.js → p-d5a11ae4.entry.js} +2 -2
  351. package/dist/q2-tecton-elements/p-e0675a03.entry.js +2 -0
  352. package/dist/q2-tecton-elements/p-e0675a03.entry.js.map +1 -0
  353. package/dist/q2-tecton-elements/{p-072c5877.entry.js → p-e098781c.entry.js} +2 -2
  354. package/dist/q2-tecton-elements/{p-fffb54e9.entry.js → p-ec86e604.entry.js} +2 -2
  355. package/dist/q2-tecton-elements/{p-77a0cc0c.entry.js → p-f0aca80a.entry.js} +2 -2
  356. package/dist/q2-tecton-elements/{p-721365be.js → p-f1e887f5.js} +1 -1
  357. package/dist/q2-tecton-elements/{p-8111547c.entry.js → p-f321dc16.entry.js} +2 -2
  358. package/dist/q2-tecton-elements/{p-45407ecc.entry.js → p-f409b668.entry.js} +2 -2
  359. package/dist/q2-tecton-elements/{p-adf0a7c9.entry.js → p-fb65b8f3.entry.js} +2 -2
  360. package/dist/q2-tecton-elements/{p-a7a0b8aa.entry.js → p-fb72d692.entry.js} +2 -2
  361. package/dist/q2-tecton-elements/{p-259b728a.entry.js → p-fcb11cea.entry.js} +2 -2
  362. package/dist/q2-tecton-elements/{p-cf32b5db.entry.js → p-fe61cc4c.entry.js} +2 -2
  363. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  364. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
  365. package/dist/types/builds/q2e/development/tecton/tecton/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +1 -0
  366. package/dist/types/components/q2-popover/q2-popover.d.ts +5 -5
  367. package/dist/types/components/q2-select/q2-select.d.ts +24 -0
  368. package/dist/types/components.d.ts +8 -0
  369. package/package.json +3 -3
  370. package/dist/cjs/index-64d8b839.js.map +0 -1
  371. package/dist/esm/index-4a80972c.js.map +0 -1
  372. package/dist/q2-tecton-elements/p-9a1a4bc0.js.map +0 -1
  373. package/dist/q2-tecton-elements/p-aa57b657.entry.js +0 -2
  374. package/dist/q2-tecton-elements/p-aa57b657.entry.js.map +0 -1
  375. package/dist/q2-tecton-elements/p-dc77bf66.entry.js +0 -2
  376. package/dist/q2-tecton-elements/p-dc77bf66.entry.js.map +0 -1
  377. /package/dist/q2-tecton-elements/{p-77272c4c.entry.js.map → p-0106e160.entry.js.map} +0 -0
  378. /package/dist/q2-tecton-elements/{p-cb3f48de.entry.js.map → p-17a925c1.entry.js.map} +0 -0
  379. /package/dist/q2-tecton-elements/{p-34856c71.entry.js.map → p-1d38ba53.entry.js.map} +0 -0
  380. /package/dist/q2-tecton-elements/{p-b72fd065.entry.js.map → p-2e26e06d.entry.js.map} +0 -0
  381. /package/dist/q2-tecton-elements/{p-661ed976.entry.js.map → p-42e791cd.entry.js.map} +0 -0
  382. /package/dist/q2-tecton-elements/{p-6e6d9793.entry.js.map → p-4498cd2f.entry.js.map} +0 -0
  383. /package/dist/q2-tecton-elements/{p-376a0589.entry.js.map → p-531c96c8.entry.js.map} +0 -0
  384. /package/dist/q2-tecton-elements/{p-395904b4.entry.js.map → p-68810402.entry.js.map} +0 -0
  385. /package/dist/q2-tecton-elements/{p-6b7c53a8.entry.js.map → p-73cbf3bd.entry.js.map} +0 -0
  386. /package/dist/q2-tecton-elements/{p-34696e3f.entry.js.map → p-7a5f1418.entry.js.map} +0 -0
  387. /package/dist/q2-tecton-elements/{p-5d936af5.entry.js.map → p-80d6991d.entry.js.map} +0 -0
  388. /package/dist/q2-tecton-elements/{p-2fcaf2d6.entry.js.map → p-810edec0.entry.js.map} +0 -0
  389. /package/dist/q2-tecton-elements/{p-4116579f.entry.js.map → p-87b84009.entry.js.map} +0 -0
  390. /package/dist/q2-tecton-elements/{p-8a4b106d.entry.js.map → p-8cb85069.entry.js.map} +0 -0
  391. /package/dist/q2-tecton-elements/{p-2ca6d44f.entry.js.map → p-9ffc7859.entry.js.map} +0 -0
  392. /package/dist/q2-tecton-elements/{p-074ae80c.entry.js.map → p-a41da37c.entry.js.map} +0 -0
  393. /package/dist/q2-tecton-elements/{p-2c26295e.entry.js.map → p-ab35aa27.entry.js.map} +0 -0
  394. /package/dist/q2-tecton-elements/{p-d2e1631a.entry.js.map → p-acba752c.entry.js.map} +0 -0
  395. /package/dist/q2-tecton-elements/{p-0a3a804a.entry.js.map → p-b0ef6f43.entry.js.map} +0 -0
  396. /package/dist/q2-tecton-elements/{p-403bf3d4.entry.js.map → p-b18c846d.entry.js.map} +0 -0
  397. /package/dist/q2-tecton-elements/{p-c81d299a.entry.js.map → p-b22410f6.entry.js.map} +0 -0
  398. /package/dist/q2-tecton-elements/{p-ce4e6b41.entry.js.map → p-b8aa76a0.entry.js.map} +0 -0
  399. /package/dist/q2-tecton-elements/{p-ad998f71.entry.js.map → p-ba25f9a1.entry.js.map} +0 -0
  400. /package/dist/q2-tecton-elements/{p-cf966a0f.entry.js.map → p-bed61b18.entry.js.map} +0 -0
  401. /package/dist/q2-tecton-elements/{p-6237c775.entry.js.map → p-c0e76a27.entry.js.map} +0 -0
  402. /package/dist/q2-tecton-elements/{p-58cafc0d.entry.js.map → p-c1790396.entry.js.map} +0 -0
  403. /package/dist/q2-tecton-elements/{p-adec9275.entry.js.map → p-c59ad989.entry.js.map} +0 -0
  404. /package/dist/q2-tecton-elements/{p-3c7be0bb.entry.js.map → p-cbb02f6f.entry.js.map} +0 -0
  405. /package/dist/q2-tecton-elements/{p-c0c658d1.entry.js.map → p-cd460504.entry.js.map} +0 -0
  406. /package/dist/q2-tecton-elements/{p-0a1dff75.entry.js.map → p-d3f700fe.entry.js.map} +0 -0
  407. /package/dist/q2-tecton-elements/{p-3b0d3cd4.entry.js.map → p-d5a11ae4.entry.js.map} +0 -0
  408. /package/dist/q2-tecton-elements/{p-072c5877.entry.js.map → p-e098781c.entry.js.map} +0 -0
  409. /package/dist/q2-tecton-elements/{p-fffb54e9.entry.js.map → p-ec86e604.entry.js.map} +0 -0
  410. /package/dist/q2-tecton-elements/{p-77a0cc0c.entry.js.map → p-f0aca80a.entry.js.map} +0 -0
  411. /package/dist/q2-tecton-elements/{p-721365be.js.map → p-f1e887f5.js.map} +0 -0
  412. /package/dist/q2-tecton-elements/{p-8111547c.entry.js.map → p-f321dc16.entry.js.map} +0 -0
  413. /package/dist/q2-tecton-elements/{p-45407ecc.entry.js.map → p-f409b668.entry.js.map} +0 -0
  414. /package/dist/q2-tecton-elements/{p-adf0a7c9.entry.js.map → p-fb65b8f3.entry.js.map} +0 -0
  415. /package/dist/q2-tecton-elements/{p-a7a0b8aa.entry.js.map → p-fb72d692.entry.js.map} +0 -0
  416. /package/dist/q2-tecton-elements/{p-259b728a.entry.js.map → p-fcb11cea.entry.js.map} +0 -0
  417. /package/dist/q2-tecton-elements/{p-cf32b5db.entry.js.map → p-fe61cc4c.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"action-sheet-test.e2e.js","sourceRoot":"","sources":["../../../src/utils/test/action-sheet-test.e2e.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEvE,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;QACnC,MAAM,qBAAqB,GAAG,GA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gBAC/B,UAAU,EAAE;oBACR,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,EAAE;iBACH;gBAC5B,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;gBAC7B,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,IAAI;gBACd,eAAe,EAAE,EAAE;aACtB,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;YACpD,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC;gBAC/B,UAAU,EAAE;oBACR,eAAe,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;oBAC7D,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,EAAE;iBACH;gBAC5B,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;gBAC7B,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,KAAK;gBACf,eAAe,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;aAChE,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["import { ActionSheetListOptgroup } from 'q2-tecton-common/lib/utility/action-sheet';\nimport { shouldShowActionSheet, buildListData } from '../action-sheet';\n\ndescribe('utils: action-sheet', () => {\n describe('shouldShowActionSheet', () => {\n const defineShowActionSheet = () => {\n (window as any).TectonElements = {\n showActionSheet: async () => ({\n selectedOptions: [],\n type: 'confirm',\n }),\n };\n };\n const originalCreateElement = document.createElement;\n const setDialogCompatibility = (enabled: boolean) => {\n document.createElement = jest.fn().mockImplementation(tagName => {\n return tagName === 'dialog' && enabled ? { open: true } : {};\n });\n };\n const newKeyboardEvent = (key: string) => new KeyboardEvent('keydown', { key });\n\n describe(\"when component's hoist prop is true\", () => {\n afterEach(() => {\n document.createElement = originalCreateElement;\n });\n\n it('returns false when dialog is not supported', async () => {\n setDialogCompatibility(false);\n expect(shouldShowActionSheet({ hoist: true })).toBe(false);\n });\n\n describe('when dialog is supported', () => {\n beforeEach(() => {\n setDialogCompatibility(true);\n });\n\n it('returns false when showActionSheet is undefined', async () => {\n expect(shouldShowActionSheet({ hoist: true })).toBe(false);\n });\n\n describe('when showActionSheet is defined', () => {\n beforeEach(() => {\n defineShowActionSheet();\n });\n\n it('returns true', async () => {\n expect(shouldShowActionSheet({ hoist: true })).toBe(true);\n });\n\n describe('when event is defined', () => {\n describe('when event is a KeyboardEvent', () => {\n it('returns true on ArrowDown', async () => {\n expect(shouldShowActionSheet({ hoist: true }, newKeyboardEvent('ArrowDown'))).toBe(\n true\n );\n });\n\n it('returns false on the letter \"S\"', async () => {\n expect(shouldShowActionSheet({ hoist: true }, newKeyboardEvent('S'))).toBe(false);\n });\n });\n\n describe('when event is a MouseEvent', () => {\n it(\"returns true when event's type is click\", async () => {\n expect(shouldShowActionSheet({ hoist: true }, new MouseEvent('click'))).toBe(true);\n });\n it(\"returns false when event's type is mousedown\", async () => {\n expect(shouldShowActionSheet({ hoist: true }, new MouseEvent('mousedown'))).toBe(false);\n });\n });\n });\n });\n });\n });\n });\n describe('buildListData', () => {\n beforeEach(() => {\n document.body.innerHTML = `\n <q2-option value=\"option-1\">Option 1</q2-option>\n <q2-option value=\"option-2\">Option 2</q2-option>\n <q2-option value=\"option-3\">Option 3</q2-option>\n <q2-option value=\"option-4\">Option 4</q2-option>\n `;\n });\n afterEach(() => {\n document.body.innerHTML = '';\n });\n\n it('serializes basic options', async () => {\n const result = await buildListData({\n optionList: {\n getContents: async () => Array.from(document.body.children),\n } as HTMLQ2OptionListElement,\n label: 'Test',\n });\n\n expect(result.title).toEqual('Test');\n expect(result.options).toHaveLength(4);\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: false,\n selectedOptions: [],\n });\n });\n\n it('serializes groups of options', async () => {\n document.body.innerHTML = `\n <q2-optgroup label=\"Group 1\">\n <q2-option value=\"option-1\">Option 1</q2-option>\n <q2-option value=\"option-2\">Option 2</q2-option>\n <q2-option value=\"option-3\">Option 3</q2-option>\n </q2-optgroup>\n <q2-optgroup label=\"Group 2\">\n <q2-option value=\"option-4\">Option 4</q2-option>\n </q2-optgroup>\n `;\n const result = await buildListData({\n optionList: {\n getContents: async () => Array.from(document.body.children),\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.options).toHaveLength(2);\n expect((result.options[0] as ActionSheetListOptgroup).options).toHaveLength(3);\n expect((result.options[1] as ActionSheetListOptgroup).options).toHaveLength(1);\n });\n\n it('sets listProps.multiple to true', async () => {\n const result = await buildListData({\n optionList: {\n multiple: true,\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: true,\n noSelect: false,\n selectedOptions: [],\n });\n });\n\n it('sets listProps.noSelect to true', async () => {\n const result = await buildListData({\n optionList: {\n noSelect: true,\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: true,\n selectedOptions: [],\n });\n });\n\n it('sets listProps.selectedOptions to true', async () => {\n const result = await buildListData({\n optionList: {\n selectedOptions: [{ value: 'option-1', display: 'Option 1' }],\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: false,\n selectedOptions: [{ value: 'option-1', display: 'Option 1' }],\n });\n });\n });\n});\n"]}
1
+ {"version":3,"file":"action-sheet-test.e2e.js","sourceRoot":"","sources":["../../../../src/utils/test/action-sheet-test.e2e.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,iBAAiB,C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AC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;YAC7C,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC;gBAC/B,UAAU,EAAE;oBACR,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,EAAE;iBACH;gBAC5B,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;gBAC7B,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,IAAI;gBACd,eAAe,EAAE,EAAE;aACtB,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;YACpD,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC;gBAC/B,UAAU,EAAE;oBACR,eAAe,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;oBAC7D,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,EAAE;iBACH;gBAC5B,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;gBAC7B,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,KAAK;gBACf,eAAe,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;aAChE,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["import { ActionSheetListOptgroup } from 'q2-tecton-common/lib/utility/action-sheet';\nimport { shouldShowActionSheet, buildListData } from '../action-sheet';\n\ndescribe('utils: action-sheet', () => {\n describe('shouldShowActionSheet', () => {\n const defineShowActionSheet = () => {\n (window as any).TectonElements = {\n showActionSheet: async () => ({\n selectedOptions: [],\n type: 'confirm',\n }),\n };\n };\n const originalCreateElement = document.createElement;\n const setDialogCompatibility = (enabled: boolean) => {\n document.createElement = jest.fn().mockImplementation(tagName => {\n return tagName === 'dialog' && enabled ? { open: true } : {};\n });\n };\n const newKeyboardEvent = (key: string) => new KeyboardEvent('keydown', { key });\n\n describe(\"when component's hoist prop is true\", () => {\n afterEach(() => {\n document.createElement = originalCreateElement;\n });\n\n it('returns false when dialog is not supported', async () => {\n setDialogCompatibility(false);\n expect(shouldShowActionSheet({ hoist: true })).toBe(false);\n });\n\n describe('when dialog is supported', () => {\n beforeEach(() => {\n setDialogCompatibility(true);\n });\n\n it('returns false when showActionSheet is undefined', async () => {\n expect(shouldShowActionSheet({ hoist: true })).toBe(false);\n });\n\n describe('when showActionSheet is defined', () => {\n beforeEach(() => {\n defineShowActionSheet();\n });\n\n it('returns true', async () => {\n expect(shouldShowActionSheet({ hoist: true })).toBe(true);\n });\n\n describe('when event is defined', () => {\n describe('when event is a KeyboardEvent', () => {\n it('returns true on ArrowDown', async () => {\n expect(shouldShowActionSheet({ hoist: true }, newKeyboardEvent('ArrowDown'))).toBe(\n true\n );\n });\n\n it('returns false on the letter \"S\"', async () => {\n expect(shouldShowActionSheet({ hoist: true }, newKeyboardEvent('S'))).toBe(false);\n });\n });\n\n describe('when event is a MouseEvent', () => {\n it(\"returns true when event's type is click\", async () => {\n expect(shouldShowActionSheet({ hoist: true }, new MouseEvent('click'))).toBe(true);\n });\n it(\"returns false when event's type is mousedown\", async () => {\n expect(shouldShowActionSheet({ hoist: true }, new MouseEvent('mousedown'))).toBe(false);\n });\n });\n });\n });\n });\n });\n });\n describe('buildListData', () => {\n beforeEach(() => {\n document.body.innerHTML = `\n <q2-option value=\"option-1\">Option 1</q2-option>\n <q2-option value=\"option-2\">Option 2</q2-option>\n <q2-option value=\"option-3\">Option 3</q2-option>\n <q2-option value=\"option-4\">Option 4</q2-option>\n `;\n });\n afterEach(() => {\n document.body.innerHTML = '';\n });\n\n it('serializes basic options', async () => {\n const result = await buildListData({\n optionList: {\n getContents: async () => Array.from(document.body.children),\n } as HTMLQ2OptionListElement,\n label: 'Test',\n });\n\n expect(result.title).toEqual('Test');\n expect(result.options).toHaveLength(4);\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: false,\n selectedOptions: [],\n });\n });\n\n it('serializes groups of options', async () => {\n document.body.innerHTML = `\n <q2-optgroup label=\"Group 1\">\n <q2-option value=\"option-1\">Option 1</q2-option>\n <q2-option value=\"option-2\">Option 2</q2-option>\n <q2-option value=\"option-3\">Option 3</q2-option>\n </q2-optgroup>\n <q2-optgroup label=\"Group 2\">\n <q2-option value=\"option-4\">Option 4</q2-option>\n </q2-optgroup>\n `;\n const result = await buildListData({\n optionList: {\n getContents: async () => Array.from(document.body.children),\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.options).toHaveLength(2);\n expect((result.options[0] as ActionSheetListOptgroup).options).toHaveLength(3);\n expect((result.options[1] as ActionSheetListOptgroup).options).toHaveLength(1);\n });\n\n it('sets listProps.multiple to true', async () => {\n const result = await buildListData({\n optionList: {\n multiple: true,\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: true,\n noSelect: false,\n selectedOptions: [],\n });\n });\n\n it('sets listProps.noSelect to true', async () => {\n const result = await buildListData({\n optionList: {\n noSelect: true,\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: true,\n selectedOptions: [],\n });\n });\n\n it('sets listProps.selectedOptions to true', async () => {\n const result = await buildListData({\n optionList: {\n selectedOptions: [{ value: 'option-1', display: 'Option 1' }],\n getContents: async () => [],\n } as HTMLQ2OptionListElement,\n label: '',\n });\n\n expect(result.listProps).toEqual({\n multiple: false,\n noSelect: false,\n selectedOptions: [{ value: 'option-1', display: 'Option 1' }],\n });\n });\n });\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../src/utils/test/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAClC,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;YACtD,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,qFAAqF,EAAE,GAAG,EAAE;YAC3F,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,sFAAsF,EAAE,GAAG,EAAE;YAC5F,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChE,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;YACvD,MAAM,CAAC,oBAAoB,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC5E,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["import { getAriaValueFromProp } from '../index';\n\ndescribe('General Utils', () => {\n describe('getAriaValueFromProp', () => {\n it('return `undefined` value when `prop` undefined', () => {\n expect(getAriaValueFromProp(undefined)).toEqual(undefined);\n });\n it('return `prop` value when `validValues` undefined and `prop` not equal to \"Symbol()\"', () => {\n expect(getAriaValueFromProp('test')).toEqual('test');\n });\n it('return `undefined` value when `validValues` undefined and `prop` equal to \"Symbol()\"', () => {\n expect(getAriaValueFromProp('Symbol()')).toEqual(undefined);\n });\n it('return `prop` value when in `validValues` array', () => {\n expect(getAriaValueFromProp('test', ['test', 'test2'])).toEqual('test');\n });\n });\n});\n"]}
1
+ {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../src/utils/test/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAClC,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;YACtD,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,qFAAqF,EAAE,GAAG,EAAE;YAC3F,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,sFAAsF,EAAE,GAAG,EAAE;YAC5F,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChE,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;YACvD,MAAM,CAAC,oBAAoB,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC5E,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["import { getAriaValueFromProp } from '../index';\n\ndescribe('General Utils', () => {\n describe('getAriaValueFromProp', () => {\n it('return `undefined` value when `prop` undefined', () => {\n expect(getAriaValueFromProp(undefined)).toEqual(undefined);\n });\n it('return `prop` value when `validValues` undefined and `prop` not equal to \"Symbol()\"', () => {\n expect(getAriaValueFromProp('test')).toEqual('test');\n });\n it('return `undefined` value when `validValues` undefined and `prop` equal to \"Symbol()\"', () => {\n expect(getAriaValueFromProp('Symbol()')).toEqual(undefined);\n });\n it('return `prop` value when in `validValues` array', () => {\n expect(getAriaValueFromProp('test', ['test', 'test2'])).toEqual('test');\n });\n });\n});\n"]}
@@ -1349,25 +1349,6 @@ const DOMPurify = purify.exports;
1349
1349
  function isMobile() {
1350
1350
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|IEMobile|Windows Phone|Opera Mini/i.test(navigator.userAgent);
1351
1351
  }
1352
- function isHostLosingFocus(event, hostElement) {
1353
- const type = event.type;
1354
- const focusInTypes = ['focusin', 'focus'];
1355
- const isFocusIn = focusInTypes.includes(type);
1356
- // on focusin: `target` is element losing focus, `relatedTarget` is element gaining focus
1357
- // on focusout: `target` is element gaining focus, `relatedTarget` is element losing focus
1358
- const elementGainingFocus = isFocusIn ? event.target : event.relatedTarget;
1359
- const isElementNestedInHostElement = (element) => {
1360
- if (element === hostElement)
1361
- return true;
1362
- if (element.parentElement) {
1363
- return isElementNestedInHostElement(element.parentElement);
1364
- }
1365
- return false;
1366
- };
1367
- if (!(elementGainingFocus instanceof HTMLElement))
1368
- return true;
1369
- return !isElementNestedInHostElement(elementGainingFocus);
1370
- }
1371
1352
  function isRelatedTargetWithinHost(event, element) {
1372
1353
  return event.relatedTarget !== element && !element.contains(event.relatedTarget);
1373
1354
  }
@@ -1551,6 +1532,6 @@ const handleColor = (target) => {
1551
1532
  }
1552
1533
  };
1553
1534
 
1554
- export { handleRenamedProp as a, isTouchDevice as b, createGuid as c, isMobile as d, labelDOM as e, hasSlotContent as f, setMessageHeight as g, handleAriaLabel as h, isEventFromElement as i, handleDeprecationWarning as j, handleColor as k, loc as l, messagesDOM as m, nextPaint as n, overrideFocus as o, getAriaValueFromProp as p, isFirefox as q, resizeIframe as r, sanitizeHTMLString as s, isVisible as t, isRelatedTargetWithinHost as u, isHostLosingFocus as v, waitForNextPaint as w };
1535
+ export { handleRenamedProp as a, isTouchDevice as b, createGuid as c, isMobile as d, labelDOM as e, hasSlotContent as f, setMessageHeight as g, handleAriaLabel as h, isEventFromElement as i, handleDeprecationWarning as j, handleColor as k, loc as l, messagesDOM as m, nextPaint as n, overrideFocus as o, getAriaValueFromProp as p, isFirefox as q, resizeIframe as r, sanitizeHTMLString as s, isVisible as t, isRelatedTargetWithinHost as u, waitForNextPaint as w };
1555
1536
 
1556
1537
  //# sourceMappingURL=index2.js.map