q2-tecton-elements 1.71.1 → 1.72.0

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 (267) hide show
  1. package/dist/bundle-report.json +1282 -594
  2. package/dist/cjs/click-elsewhere_3.cjs.entry.js +10 -9
  3. package/dist/cjs/{index-SpDCZABA.js → index-BY3aao8R.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{q2-action-group_2.cjs.entry.js → q2-action-group.cjs.entry.js} +1 -89
  6. package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-badge_2.cjs.entry.js +113 -12
  8. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  9. package/dist/cjs/q2-calendar.cjs.entry.js +7 -5
  10. package/dist/cjs/q2-card-image.cjs.entry.js +4 -4
  11. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  14. package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  18. package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
  19. package/dist/cjs/q2-context.cjs.entry.js +4 -3
  20. package/dist/cjs/q2-data-table.cjs.entry.js +2 -2
  21. package/dist/cjs/q2-detail.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  24. package/dist/cjs/q2-editable-field.cjs.entry.js +38 -37
  25. package/dist/cjs/q2-file-picker.cjs.entry.js +60 -4
  26. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-item.cjs.entry.js +2 -2
  28. package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
  29. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  31. package/dist/cjs/q2-meter.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-modal.cjs.entry.js +59 -17
  33. package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-otp.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
  38. package/dist/cjs/q2-pill.cjs.entry.js +2 -2
  39. package/dist/cjs/q2-radio-group.cjs.entry.js +22 -4
  40. package/dist/cjs/q2-radio.cjs.entry.js +3 -3
  41. package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
  42. package/dist/cjs/q2-resize-observer.cjs.entry.js +92 -0
  43. package/dist/cjs/q2-search.cjs.entry.js +13 -4
  44. package/dist/cjs/q2-section.cjs.entry.js +7 -7
  45. package/dist/cjs/q2-select.cjs.entry.js +39 -20
  46. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  47. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  48. package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
  49. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  50. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  52. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  53. package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  55. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  56. package/dist/cjs/tecton-tab-pane.cjs.entry.js +5 -3
  57. package/dist/collection/components/q2-btn/q2-btn.css +79 -21
  58. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +156 -3
  59. package/dist/collection/components/q2-calendar/q2-calendar.css +3 -0
  60. package/dist/collection/components/q2-calendar/q2-calendar.js +5 -3
  61. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +23 -2
  62. package/dist/collection/components/q2-card/test/q2-card-test.vr.js +4 -0
  63. package/dist/collection/components/q2-card-image/q2-card-image.css +89 -134
  64. package/dist/collection/components/q2-card-image/q2-card-image.js +4 -4
  65. package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +4 -0
  66. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +13 -0
  67. package/dist/collection/components/q2-checkbox/q2-checkbox.css +2 -2
  68. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +2 -0
  69. package/dist/collection/components/q2-context/q2-context.css +5 -0
  70. package/dist/collection/components/q2-context/q2-context.js +2 -1
  71. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +11 -1
  72. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  73. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +5 -0
  74. package/dist/collection/components/q2-dropdown/q2-dropdown.css +2 -0
  75. package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
  76. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.vr.js +30 -0
  77. package/dist/collection/components/q2-editable-field/q2-editable-field.css +2 -0
  78. package/dist/collection/components/q2-editable-field/q2-editable-field.js +38 -43
  79. package/dist/collection/components/q2-file-picker/q2-file-picker.css +27 -0
  80. package/dist/collection/components/q2-file-picker/q2-file-picker.js +98 -2
  81. package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +22 -0
  82. package/dist/collection/components/q2-input/q2-input.css +67 -1
  83. package/dist/collection/components/q2-input/q2-input.js +155 -13
  84. package/dist/collection/components/q2-input/test/q2-input-test.vr.js +35 -0
  85. package/dist/collection/components/q2-item/q2-item.css +3 -1
  86. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +6 -0
  87. package/dist/collection/components/q2-message/q2-message.css +5 -5
  88. package/dist/collection/components/q2-modal/q2-modal.css +40 -3
  89. package/dist/collection/components/q2-modal/q2-modal.js +100 -16
  90. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +25 -0
  91. package/dist/collection/components/q2-pill/q2-pill.css +2 -2
  92. package/dist/collection/components/q2-popover/q2-popover.css +3 -2
  93. package/dist/collection/components/q2-popover/q2-popover.js +8 -7
  94. package/dist/collection/components/q2-radio/q2-radio.css +158 -104
  95. package/dist/collection/components/q2-radio/q2-radio.js +1 -1
  96. package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +25 -2
  97. package/dist/collection/components/q2-radio-group/q2-radio-group.css +39 -2
  98. package/dist/collection/components/q2-radio-group/q2-radio-group.js +68 -2
  99. package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +43 -1
  100. package/dist/collection/components/q2-relative-time/q2-relative-time.js +2 -2
  101. package/dist/collection/components/q2-search/q2-search.css +2 -0
  102. package/dist/collection/components/q2-search/q2-search.js +11 -2
  103. package/dist/collection/components/q2-section/q2-section.css +2 -0
  104. package/dist/collection/components/q2-section/q2-section.js +6 -6
  105. package/dist/collection/components/q2-select/q2-select.css +3 -0
  106. package/dist/collection/components/q2-select/q2-select.js +41 -19
  107. package/dist/collection/components/q2-select/test/q2-select-test.vr.js +13 -0
  108. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  109. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  110. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  111. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  112. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  113. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  114. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +5 -3
  115. package/dist/collection/utils/index.js +1 -1
  116. package/dist/collection/utils/test/vr-helpers.js +16 -2
  117. package/dist/components/index2.js +1 -1
  118. package/dist/components/q2-btn2.js +1 -1
  119. package/dist/components/q2-calendar.js +11 -9
  120. package/dist/components/q2-card-image.js +24 -24
  121. package/dist/components/q2-checkbox-group.js +6 -6
  122. package/dist/components/q2-checkbox2.js +1 -1
  123. package/dist/components/q2-context.js +27 -26
  124. package/dist/components/q2-data-table.js +1 -1
  125. package/dist/components/q2-dropdown.js +21 -21
  126. package/dist/components/q2-editable-field.js +33 -35
  127. package/dist/components/q2-file-picker.js +70 -10
  128. package/dist/components/q2-input2.js +268 -163
  129. package/dist/components/q2-item2.js +1 -1
  130. package/dist/components/q2-message2.js +24 -24
  131. package/dist/components/q2-modal.js +96 -78
  132. package/dist/components/q2-pill.js +1 -1
  133. package/dist/components/q2-popover2.js +29 -26
  134. package/dist/components/q2-radio-group.js +70 -40
  135. package/dist/components/q2-radio.js +40 -55
  136. package/dist/components/q2-relative-time.js +5 -5
  137. package/dist/components/q2-search.js +17 -12
  138. package/dist/components/q2-section.js +33 -33
  139. package/dist/components/q2-select2.js +49 -42
  140. package/dist/components/q2-stepper-pane.js +15 -11
  141. package/dist/components/q2-stepper-vertical.js +4 -4
  142. package/dist/components/q2-surface.js +3 -3
  143. package/dist/components/q2-tab-container.js +21 -21
  144. package/dist/components/q2-tab-pane.js +2 -2
  145. package/dist/components/q2-tag2.js +5 -5
  146. package/dist/components/tecton-tab-pane.js +8 -7
  147. package/dist/esm/click-elsewhere_3.entry.js +10 -9
  148. package/dist/esm/{index-Cps4jSQM.js → index-DJw6Feh0.js} +1 -1
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/{q2-action-group_2.entry.js → q2-action-group.entry.js} +3 -90
  151. package/dist/esm/q2-action-sheet.entry.js +1 -1
  152. package/dist/esm/q2-badge_2.entry.js +113 -12
  153. package/dist/esm/q2-btn_2.entry.js +2 -2
  154. package/dist/esm/q2-calendar.entry.js +7 -5
  155. package/dist/esm/q2-card-image.entry.js +4 -4
  156. package/dist/esm/q2-card.entry.js +1 -1
  157. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  158. package/dist/esm/q2-carousel.entry.js +1 -1
  159. package/dist/esm/q2-chart-area.entry.js +1 -1
  160. package/dist/esm/q2-chart-bar.entry.js +1 -1
  161. package/dist/esm/q2-chart-donut.entry.js +1 -1
  162. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  163. package/dist/esm/q2-checkbox_2.entry.js +3 -3
  164. package/dist/esm/q2-context.entry.js +4 -3
  165. package/dist/esm/q2-data-table.entry.js +2 -2
  166. package/dist/esm/q2-detail.entry.js +1 -1
  167. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  168. package/dist/esm/q2-dropdown.entry.js +3 -3
  169. package/dist/esm/q2-editable-field.entry.js +38 -37
  170. package/dist/esm/q2-file-picker.entry.js +60 -4
  171. package/dist/esm/q2-icon.entry.js +1 -1
  172. package/dist/esm/q2-item.entry.js +2 -2
  173. package/dist/esm/q2-link_2.entry.js +1 -1
  174. package/dist/esm/q2-loc.entry.js +1 -1
  175. package/dist/esm/q2-message.entry.js +2 -2
  176. package/dist/esm/q2-meter.entry.js +1 -1
  177. package/dist/esm/q2-modal.entry.js +59 -17
  178. package/dist/esm/q2-month-picker.entry.js +1 -1
  179. package/dist/esm/q2-optgroup.entry.js +1 -1
  180. package/dist/esm/q2-option.entry.js +1 -1
  181. package/dist/esm/q2-otp.entry.js +1 -1
  182. package/dist/esm/q2-pagination.entry.js +1 -1
  183. package/dist/esm/q2-pill.entry.js +2 -2
  184. package/dist/esm/q2-radio-group.entry.js +22 -4
  185. package/dist/esm/q2-radio.entry.js +3 -3
  186. package/dist/esm/q2-relative-time.entry.js +3 -3
  187. package/dist/esm/q2-resize-observer.entry.js +90 -0
  188. package/dist/esm/q2-search.entry.js +13 -4
  189. package/dist/esm/q2-section.entry.js +7 -7
  190. package/dist/esm/q2-select.entry.js +39 -20
  191. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  192. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  193. package/dist/esm/q2-stepper.entry.js +1 -1
  194. package/dist/esm/q2-surface.entry.js +1 -1
  195. package/dist/esm/q2-tab-container.entry.js +2 -2
  196. package/dist/esm/q2-tab-pane.entry.js +1 -1
  197. package/dist/esm/q2-tecton-elements.js +1 -1
  198. package/dist/esm/q2-textarea.entry.js +1 -1
  199. package/dist/esm/q2-toast.entry.js +1 -1
  200. package/dist/esm/q2-tooltip.entry.js +1 -1
  201. package/dist/esm/tecton-tab-pane.entry.js +5 -3
  202. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +32 -29
  203. package/dist/q2-tecton-elements/{index-Cps4jSQM.js → index-DJw6Feh0.js} +1 -1
  204. package/dist/q2-tecton-elements/{q2-action-group_2.entry.js → q2-action-group.entry.js} +35 -113
  205. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +1 -1
  206. package/dist/q2-tecton-elements/q2-badge_2.entry.js +240 -140
  207. package/dist/q2-tecton-elements/q2-btn_2.entry.js +2 -2
  208. package/dist/q2-tecton-elements/q2-calendar.entry.js +14 -12
  209. package/dist/q2-tecton-elements/q2-card-image.entry.js +9 -9
  210. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  211. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +1 -1
  212. package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
  213. package/dist/q2-tecton-elements/q2-chart-area.entry.js +31 -31
  214. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +16 -16
  215. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
  216. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +2 -2
  217. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
  218. package/dist/q2-tecton-elements/q2-context.entry.js +22 -21
  219. package/dist/q2-tecton-elements/q2-data-table.entry.js +34 -34
  220. package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
  221. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  222. package/dist/q2-tecton-elements/q2-dropdown.entry.js +15 -15
  223. package/dist/q2-tecton-elements/q2-editable-field.entry.js +38 -40
  224. package/dist/q2-tecton-elements/q2-file-picker.entry.js +61 -6
  225. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  226. package/dist/q2-tecton-elements/q2-item.entry.js +2 -2
  227. package/dist/q2-tecton-elements/q2-link_2.entry.js +1 -1
  228. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  229. package/dist/q2-tecton-elements/q2-message.entry.js +24 -24
  230. package/dist/q2-tecton-elements/q2-meter.entry.js +1 -1
  231. package/dist/q2-tecton-elements/q2-modal.entry.js +61 -45
  232. package/dist/q2-tecton-elements/q2-month-picker.entry.js +1 -1
  233. package/dist/q2-tecton-elements/q2-optgroup.entry.js +11 -11
  234. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  235. package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
  236. package/dist/q2-tecton-elements/q2-pagination.entry.js +1 -1
  237. package/dist/q2-tecton-elements/q2-pill.entry.js +2 -2
  238. package/dist/q2-tecton-elements/q2-radio-group.entry.js +55 -34
  239. package/dist/q2-tecton-elements/q2-radio.entry.js +38 -53
  240. package/dist/q2-tecton-elements/q2-relative-time.entry.js +12 -12
  241. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +81 -0
  242. package/dist/q2-tecton-elements/q2-search.entry.js +23 -18
  243. package/dist/q2-tecton-elements/q2-section.entry.js +33 -33
  244. package/dist/q2-tecton-elements/q2-select.entry.js +30 -23
  245. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +20 -16
  246. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +5 -5
  247. package/dist/q2-tecton-elements/q2-stepper.entry.js +1 -1
  248. package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
  249. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  250. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +4 -4
  251. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  252. package/dist/q2-tecton-elements/q2-textarea.entry.js +1 -1
  253. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  254. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  255. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +8 -7
  256. package/dist/types/components/q2-card-image/q2-card-image.d.ts +1 -1
  257. package/dist/types/components/q2-dropdown/test/q2-dropdown-test.vr.d.ts +1 -0
  258. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +6 -1
  259. package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +20 -0
  260. package/dist/types/components/q2-input/q2-input.d.ts +28 -2
  261. package/dist/types/components/q2-modal/q2-modal.d.ts +10 -1
  262. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +14 -0
  263. package/dist/types/components/q2-search/q2-search.d.ts +1 -0
  264. package/dist/types/components/q2-select/q2-select.d.ts +8 -2
  265. package/dist/types/components.d.ts +119 -11
  266. package/dist/types/utils/test/vr-helpers.d.ts +2 -0
  267. package/package.json +3 -3
@@ -2,7 +2,7 @@ import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as s, Ho
2
2
 
3
3
  import { b as r } from "./component.js";
4
4
 
5
- import { c, n as h, l as d } from "./index2.js";
5
+ import { c as d, n as c, l as h } from "./index2.js";
6
6
 
7
7
  import { m as l } from "./mirror-emit.js";
8
8
 
@@ -18,7 +18,7 @@ const p = t(class extends e {
18
18
  // #endregion
19
19
  // #region Component Lifecycle Events
20
20
  connectedCallback() {
21
- this.hostElement.id || (this.hostElement.id = "step-" + c());
21
+ this.hostElement.id || (this.hostElement.id = "step-" + d());
22
22
  }
23
23
  disconnectedCallback() {
24
24
  var t;
@@ -51,7 +51,7 @@ const p = t(class extends e {
51
51
  });
52
52
  }
53
53
  checkForActiveChildren() {
54
- this.showWithChildren && h((() => {
54
+ this.showWithChildren && c((() => {
55
55
  setTimeout((() => {
56
56
  this.isChildActive = !!this.hostElement.querySelector("[slot='children'] > q2-stepper-pane[is-active]");
57
57
  }));
@@ -75,25 +75,29 @@ const p = t(class extends e {
75
75
  }, s(a, {
76
76
  key: "0241a9ad68973eea81c961070d6171dab3241f79"
77
77
  }, s("div", {
78
- key: "25e9a406b8c0672eec836920706d44ed53906e1d",
79
- "aria-label": t && d(t),
78
+ key: "6678cb4a7e65a3a4341ff552682c1011c588108b",
79
+ role: "group",
80
+ "aria-labelledby": "pane-label",
80
81
  tabindex: "0",
81
82
  hidden: !(e || this.isChildActive && this.showWithChildren)
82
83
  }, s("slot", {
83
- key: "00f456ab21d2ecf58946de5df397bb3c81c2a749"
84
+ key: "0f8d339f894bdaa55bd5bdf94b1220da7a083dde"
84
85
  })), s("div", {
85
- key: "bdac4c2caf9b9bf5a6280258475afa552e578e7e",
86
+ key: "51e3934ad791e45486360ab8c6509b68e3a15d9d",
86
87
  hidden: !0
88
+ }, s("span", {
89
+ key: "96fe08c826d87f86559fe2dbb586914b4065eb40",
90
+ id: "pane-label"
87
91
  }, s("slot", {
88
- key: "2ede75ad70c10eda1f8c6de4556bccc9c66e8b97",
92
+ key: "b4cab1594ae047f032fbaa67f75167e31cc4cdf7",
89
93
  name: "label",
90
94
  onSlotchange: () => this.contentChange.emit()
91
- }), s("slot", {
92
- key: "990f2d44a0f9cb0437b63f3570a94874752a94da",
95
+ }, t && h(t))), s("slot", {
96
+ key: "473cf6b9bc3ef5995d11e46502db1321d59baa5e",
93
97
  name: "description",
94
98
  onSlotchange: () => this.contentChange.emit()
95
99
  })), s("slot", {
96
- key: "1f12d65608f73a3737abb7f987cab300ec1c9856",
100
+ key: "76cb24680ed1ec8a49956f888accf3fd07da7fa0",
97
101
  name: "children"
98
102
  })));
99
103
  }
@@ -301,15 +301,15 @@ const v = t(class extends e {
301
301
  }
302
302
  render() {
303
303
  return r(i, {
304
- key: "eab8d8816aebfb5aa104a17b75dc0e8b4ed4ce68"
304
+ key: "9d40414e7b510493b0236568c4d6231eeacdbd80"
305
305
  }, r("ul", {
306
- key: "f155624641313e8375e6ee448fed150ae0c62cf1",
306
+ key: "b3a444833439d59be874a2bf04833f8df0ff107f",
307
307
  role: "tablist"
308
308
  }, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), r("div", {
309
- key: "1ff078e00dcb1e4c861bc691ccc31ec5c1436fac",
309
+ key: "34f3841d0eb0c5fe96670ac3d5e87244682ace74",
310
310
  role: "list"
311
311
  }, r("slot", {
312
- key: "adf07ae0725ccc7c1ce149052f2325e6bfc01677"
312
+ key: "e224e413162cb28eab4ec0e8b51367ed3b83fa0b"
313
313
  })));
314
314
  }
315
315
  get hostElement() {
@@ -69,14 +69,14 @@ const n = r(class extends a {
69
69
  // #region Render Methods
70
70
  render() {
71
71
  return t(o, {
72
- key: "992667ac1d625dff77a01d06d058865f99d8d190"
72
+ key: "8dd96991bc74e2157dc256f21eb4953eaeffdd46"
73
73
  }, t("div", {
74
- key: "d58162c346c58a2cc21a4334c08b6cc4a53ed2e0",
74
+ key: "a5b315fd3e6dd999cd704b3fd2c9de5ffb139033",
75
75
  class: "container",
76
76
  role: this.clickable ? "button" : void 0,
77
77
  tabIndex: this.clickable ? 0 : void 0
78
78
  }, t("slot", {
79
- key: "b70930390799484c71da93d1f801ecc681d168c6"
79
+ key: "4897bfe06a95bf14eddf2bb964bf4a27ed96798a"
80
80
  })));
81
81
  }
82
82
  get hostElement() {
@@ -2,9 +2,9 @@ import { proxyCustomElement as t, HTMLElement as a, createEvent as e, h as i, Fr
2
2
 
3
3
  import { c as n, l as s, o as c, i as l } from "./index2.js";
4
4
 
5
- import { m as b } from "./mirror-emit.js";
5
+ import { m as d } from "./mirror-emit.js";
6
6
 
7
- import { h, f as d } from "./component.js";
7
+ import { h as b, f as h } from "./component.js";
8
8
 
9
9
  import { d as v } from "./q2-badge2.js";
10
10
 
@@ -14,7 +14,7 @@ import { d as g } from "./q2-icon2.js";
14
14
 
15
15
  import { d as u } from "./q2-loading2.js";
16
16
 
17
- const m = t(class extends a {
17
+ const f = t(class extends a {
18
18
  constructor(t) {
19
19
  super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.change = e(this, "change", 7),
20
20
  this.settled = e(this, "settled", 7), this.tctChange = e(this, "tctChange", 7),
@@ -103,7 +103,7 @@ const m = t(class extends a {
103
103
  this.checkScrollState();
104
104
  }, this.onTabClick = t => {
105
105
  const a = t.target.closest('button[role="tab"]').dataset.value;
106
- this.value === a || b(this, [ "change", "tctChange" ], {
106
+ this.value === a || d(this, [ "change", "tctChange" ], {
107
107
  value: a
108
108
  });
109
109
  }, this.onTabKeyDown = t => {
@@ -139,7 +139,7 @@ const m = t(class extends a {
139
139
 
140
140
  case "Space":
141
141
  case "Enter":
142
- t.preventDefault(), b(this, [ "change", "tctChange" ], {
142
+ t.preventDefault(), d(this, [ "change", "tctChange" ], {
143
143
  value: a
144
144
  });
145
145
  }
@@ -174,7 +174,7 @@ const m = t(class extends a {
174
174
  this.narrowViewportMedia && this.narrowViewportListener && this.narrowViewportMedia.removeEventListener("change", this.narrowViewportListener);
175
175
  }
176
176
  componentWillLoad() {
177
- h(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]) || d(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]);
177
+ b(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]) || h(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]);
178
178
  const t = new MutationObserver((() => this.updateTabs()));
179
179
  t.observe(this.hostElement, {
180
180
  childList: !0,
@@ -287,50 +287,50 @@ const m = t(class extends a {
287
287
  render() {
288
288
  const t = "vertical" === this.computedOrientation;
289
289
  return i(r, {
290
- key: "710b889bd81a28f6ba7c0deb43abe49a269baec4"
290
+ key: "684e234955e0d7f9b929a1e80e323ba62db4d066"
291
291
  }, i("div", {
292
- key: "444efee6412d2440c99bd1e9b123fe385f2453a5",
292
+ key: "92ea060ada2cc956817f4eb9cb97d0f110c5032a",
293
293
  class: "tab-container"
294
294
  }, this.scrollEnabled && i(r, {
295
- key: "56c9916fb99dd3434a8305721d03e85c0f5fb370"
295
+ key: "b43a4ff0510de5adfefde8f5184ab5f3f1d95563"
296
296
  }, i("div", {
297
- key: "c506eb6690b60194b50171ad5139cc65b4fabedd",
297
+ key: "3daed974f567574741534b4c39c6fa0ddb1c7f58",
298
298
  class: "gradient-left",
299
299
  hidden: !this.showScrollBack
300
300
  }), i("div", {
301
- key: "7af01eb18190e0af6fb80364fb73dcf6145d979d",
301
+ key: "36266d6970a75fff03e538c12951a530220b2756",
302
302
  class: "gradient-right",
303
303
  hidden: !this.showScrollForward
304
304
  }), i("q2-btn", {
305
- key: "8cb5f49e48c119d32b196e3ecc7e8a018acc7aa0",
305
+ key: "7c5b35fee0bbd981520f55fe99fc53143be7376c",
306
306
  class: "btn-left",
307
307
  hidden: !this.showScrollBack,
308
308
  onTctClick: () => this.onScrollBtnClick("back")
309
309
  }, i("q2-icon", {
310
- key: "65f3caea2251c7ce96861718df064f230ec6e02e",
310
+ key: "0759d5d77d603074acc21bd9a29e4db50f0474a2",
311
311
  type: t ? "chevron-up" : "chevron-left",
312
312
  label: t ? "scroll up" : "scroll left"
313
313
  })), i("q2-btn", {
314
- key: "07b833fe0e6b3030255374e4dd323fc99379a293",
314
+ key: "419c43832886d9aae9b63eba545ffb8122f862b6",
315
315
  class: "btn-right",
316
316
  hidden: !this.showScrollForward,
317
317
  onTctClick: () => this.onScrollBtnClick("forward")
318
318
  }, i("q2-icon", {
319
- key: "e446b55822239e657ab10c50694a9756ec8b030b",
319
+ key: "4148a86411c5859b0253da31439ff90ad78490b3",
320
320
  type: t ? "chevron-down" : "chevron-right",
321
321
  label: t ? "scroll down" : "scroll right"
322
322
  }))), i("ul", {
323
- key: "20d4f371b80b2515b762e80b88574938783e9252",
323
+ key: "fdd72d9ba1d932497b5d7cd9e14d926fe1e92f72",
324
324
  onScroll: this.checkScrollState,
325
325
  ref: t => this.listElement = t,
326
326
  class: this.noPrint ? "no-print" : null,
327
327
  role: "tablist",
328
328
  "aria-orientation": this.computedOrientation
329
329
  }, this.tabs.map(((t, a) => this.renderTab(t, a))))), i("div", {
330
- key: "9eaba5d408629dc548a9c57428b801293f642172",
330
+ key: "e9d90030fcc43f17a43aa2e4a306e3489b4c4110",
331
331
  class: "tab-content"
332
332
  }, i("slot", {
333
- key: "811737fa0e22c994299c9164a6401209e6ecf418",
333
+ key: "130ddf5f14ec801e09471b9cf4ab080e4bf5fc27",
334
334
  onSlotchange: () => this.onSlotChange()
335
335
  })));
336
336
  }
@@ -374,12 +374,12 @@ const m = t(class extends a {
374
374
  } ]
375
375
  } ]);
376
376
 
377
- const f = m, defineCustomElement = function() {
377
+ const m = f, defineCustomElement = function() {
378
378
  if ("undefined" == typeof customElements) return;
379
379
  [ "q2-tab-container", "q2-badge", "q2-btn", "q2-icon", "q2-loading" ].forEach((t => {
380
380
  switch (t) {
381
381
  case "q2-tab-container":
382
- customElements.get(o(t)) || customElements.define(o(t), m);
382
+ customElements.get(o(t)) || customElements.define(o(t), f);
383
383
  break;
384
384
 
385
385
  case "q2-badge":
@@ -400,4 +400,4 @@ const f = m, defineCustomElement = function() {
400
400
  }));
401
401
  };
402
402
 
403
- export { f as Q2TabContainer, defineCustomElement }
403
+ export { m as Q2TabContainer, defineCustomElement }
@@ -20,7 +20,7 @@ const r = e(class extends t {
20
20
  // #region Render Methods
21
21
  render() {
22
22
  return i("div", {
23
- key: "1957cbeca0ca1f0b5f840701286ebeb6b69565ce",
23
+ key: "2ff20db182ab3bf252df52bbcb7be2b39893d17c",
24
24
  id: `tab-pane-${this.guid}-${this.index}`,
25
25
  class: "tab-pane" + (this.selected ? "" : " hidden"),
26
26
  role: "tabpanel",
@@ -28,7 +28,7 @@ const r = e(class extends t {
28
28
  "aria-hidden": "" + !this.selected,
29
29
  "aria-labelledby": `tab-${this.guid}-${this.index}`
30
30
  }, i("slot", {
31
- key: "6772ac75d219ebc30209907468a9fb801cd5db0d"
31
+ key: "871922c3065609934e6a6a8c62000c84551a612a"
32
32
  }));
33
33
  }
34
34
  get hostElement() {
@@ -151,9 +151,9 @@ const f = t(class extends o {
151
151
  this.optionCount && o.push("has-options");
152
152
  const e = this.optionCount > 0;
153
153
  return r(i, {
154
- key: "b7b199109ef756942f6cf76aff904a21ba406998"
154
+ key: "da6dc23ff4f250b18242a49db02eccc16210b043"
155
155
  }, r("click-elsewhere", {
156
- key: "f4a5ec911c582d480e5d7d91638d681ba6c054c8",
156
+ key: "ee1da442ffd5aa53e55ae95f95b3ac51e2f5c71e",
157
157
  onChange: this.onClickElsewhere
158
158
  }, e ? r(a, null, r("button", {
159
159
  class: "tag-wrapper",
@@ -180,7 +180,7 @@ const f = t(class extends o {
180
180
  }, r("slot", {
181
181
  name: "decorator"
182
182
  }), l(this.label))), e && r("q2-popover", {
183
- key: "046a9aae077ed9800b081ce70aa5d03f0d919cff",
183
+ key: "578989b60b19f6f5e01c1cbc49a83e87fc74c5a9",
184
184
  ref: t => this.popoverElement = t,
185
185
  controlElement: this.dropdownBtn,
186
186
  open: this.open,
@@ -189,7 +189,7 @@ const f = t(class extends o {
189
189
  direction: this.popoverDirection,
190
190
  align: this.popoverAlignment
191
191
  }, r("q2-option-list", {
192
- key: "63899f97a13db69ed8776214ca6670e825663c5a",
192
+ key: "d21abcd1fe11241e14b4f411d9559c12c139c18a",
193
193
  id: "option-list",
194
194
  ref: t => this.optionList = t,
195
195
  onChange: this.handleChange,
@@ -198,7 +198,7 @@ const f = t(class extends o {
198
198
  label: l("tecton.element.optionList.label", [ this.optionListLabel ]),
199
199
  "no-select": !0
200
200
  }, r("slot", {
201
- key: "40fa7c27a8b27ae2c5f894bbe1ae6e51ab1b55f0"
201
+ key: "d46ec7dad47e40cec883205d6fb2424abcdd1038"
202
202
  })))));
203
203
  }
204
204
  get hostElement() {
@@ -15,7 +15,8 @@ const a = e(class extends t {
15
15
  }
16
16
  componentWillRender() {
17
17
  const e = this.hostElement.shadowRoot.querySelector(".loading-wrapper");
18
- /* istanbul ignore next */ e && (e.style.minHeight = this.minHeight, e.hidden = !this.selected);
18
+ /* istanbul ignore next */ e && (e.querySelector(".q2-row") && (e.style.minHeight = this.minHeight),
19
+ e.hidden = !this.selected);
19
20
  }
20
21
  componentDidRender() {
21
22
  const e = this.hostElement.shadowRoot.querySelector("form");
@@ -41,7 +42,7 @@ const a = e(class extends t {
41
42
  // #region Render Methods
42
43
  render() {
43
44
  return n("div", {
44
- key: "68c7250777ec0c700107df4997634d4aee8f8e91",
45
+ key: "6c0524ab1981900cc7a37803fd9426c6397049c4",
45
46
  id: `tab-pane-${this.guid}-${this.index}`,
46
47
  class: "tab-pane" + (this.selected ? "" : " hidden"),
47
48
  role: "tabpanel",
@@ -49,12 +50,12 @@ const a = e(class extends t {
49
50
  "aria-hidden": "" + !this.selected,
50
51
  "aria-labelledby": `tab-${this.guid}-${this.index}`
51
52
  }, this.selected && void 0 !== this.provided && !this.provided && n("div", {
52
- key: "7b8c74b691fc1c599766900125e09afe79e53859"
53
+ key: "10cc2712e1ccefa6a9bb3b657830636da4d81980"
53
54
  }, n("slot", {
54
- key: "bbf7c58bef21ab334059655e958e976b9bdf327e",
55
+ key: "cde7112d4035c6f118e9c50b0fe5d9d91c70ee7d",
55
56
  name: "loading-wrapper"
56
57
  }), n("iframe", {
57
- key: "6a262f757dd78294fcf49242b337b02c13842ee8",
58
+ key: "851972991feb3b8f6c7f569e92ff2e624d94e221",
58
59
  hidden: !0,
59
60
  name: this.moduleId,
60
61
  scrolling: "no",
@@ -77,11 +78,11 @@ const a = e(class extends t {
77
78
  value: e.value,
78
79
  name: e.key
79
80
  })))) : ""), n("div", {
80
- key: "d9be64623c99011b7f30256d0abfaeab23f72c00",
81
+ key: "741c6f2c89dc15493f165428929f589425aa4d75",
81
82
  class: "slot-wrapper",
82
83
  hidden: this.selected && void 0 !== this.provided && !this.provided
83
84
  }, n("slot", {
84
- key: "a1a3a9772b2875c7d4ab510e9014d99b6e036ad3"
85
+ key: "17100ec2dc0ea2d1e27628d36e9e6e1139f293a9"
85
86
  })));
86
87
  }
87
88
  get hostElement() {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-Cqkz7Bnm.js';
2
2
  import { m as mirrorEmit } from './mirror-emit-DUjY_ucm.js';
3
3
  import { b as hasValidAncestor } from './component-DaQM9u3s.js';
4
- import { l as loc, n as nextPaint, o as overrideFocus, i as isEventFromElement, w as waitForNextPaint, v as isVisible, q as handleDeprecationWarning, x as isInFixedPositionContext, y as isInScrollableContainer, g as isMobile } from './index-Cps4jSQM.js';
4
+ import { l as loc, n as nextPaint, o as overrideFocus, i as isEventFromElement, w as waitForNextPaint, v as isVisible, q as handleDeprecationWarning, x as isInFixedPositionContext, y as isInScrollableContainer, g as isMobile } from './index-DJw6Feh0.js';
5
5
 
6
6
  const ClickElsewhere = class {
7
7
  constructor(hostRef) {
@@ -693,7 +693,7 @@ const Q2OptionList = class {
693
693
  };
694
694
  Q2OptionList.style = q2OptionListCss();
695
695
 
696
- const q2PopoverCss = () => `*{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}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:unset;bottom:var(--comp-pop-bottom)}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}`;
696
+ const q2PopoverCss = () => `*{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}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:var(--comp-pop-top);bottom:unset;translate:0 calc(-100% - var(--app-scale-2x, 10px))}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}`;
697
697
 
698
698
  const Q2Popover = class {
699
699
  constructor(hostRef) {
@@ -782,10 +782,10 @@ const Q2Popover = class {
782
782
  const isScrollableIframe = isModule && isInScrollableContainer(this.hostElement);
783
783
  if (currentDirection === 'up') {
784
784
  if (isModule && !isScrollableIframe) {
785
- containerElement.style.setProperty('--comp-pop-bottom', `${window.innerHeight - controlTop}px`);
785
+ containerElement.style.setProperty('--comp-pop-top', `${controlTop}px`);
786
786
  }
787
787
  else {
788
- containerElement.style.setProperty('--comp-pop-bottom', `${window.innerHeight - controlTop - scrollY}px`);
788
+ containerElement.style.setProperty('--comp-pop-top', `${controlTop + scrollY}px`);
789
789
  }
790
790
  }
791
791
  if (currentDirection === 'down') {
@@ -952,7 +952,7 @@ const Q2Popover = class {
952
952
  this.containerElement.style.removeProperty('--comp-pop-position');
953
953
  }
954
954
  async determinePopDirection() {
955
- var _a, _b, _c;
955
+ var _a, _b, _c, _d;
956
956
  const { containerElement, controlElement, providedDirection, displayBuffer } = this;
957
957
  if (containerElement)
958
958
  containerElement.style.maxHeight = null;
@@ -985,9 +985,10 @@ const Q2Popover = class {
985
985
  : viewableSpaceBelow - displayBuffer;
986
986
  }
987
987
  else {
988
- windowHeight = window.innerHeight;
989
- maxSpaceAbove = controlTop - displayBuffer;
990
- maxSpaceBelow = windowHeight - controlBottom - displayBuffer;
988
+ const { height = window.innerHeight, offsetTop = 0 } = (_d = window.visualViewport) !== null && _d !== void 0 ? _d : {};
989
+ windowHeight = height;
990
+ maxSpaceAbove = controlTop - offsetTop - displayBuffer;
991
+ maxSpaceBelow = offsetTop + windowHeight - controlBottom - displayBuffer;
991
992
  }
992
993
  const directionWithMostSpace = maxSpaceAbove > maxSpaceBelow ? 'up' : 'down';
993
994
  // We do not want to update the max height once the popover is open unless the page orientation shifts (resize or mobile use cases)
@@ -1055,7 +1056,7 @@ const Q2Popover = class {
1055
1056
  containerClasses.push('animating-open');
1056
1057
  if (this.animationState === 'closing')
1057
1058
  containerClasses.push('animating-close');
1058
- return (h("div", { key: '4fe0c06793144eb83fe53cfc568af81226f78345', ref: el => (this.containerElement = el), class: containerClasses.join(' '), "test-id": "outerContainer", tabIndex: -1, popover: "manual" }, h("div", { key: 'ed5d7c9f5efba8b129d580e68ab6692849332cf4', ref: el => (this.contentElement = el), class: "content" }, h("slot", { key: '4c5d5b9682014b2e94b153ca33a3e0c4dd58d6bb' }))));
1059
+ return (h("div", { key: '680ad8a90ef98d3a8c2c1f5ba2284d7cdfc3d2a6', ref: el => (this.containerElement = el), class: containerClasses.join(' '), "test-id": "outerContainer", tabIndex: -1, popover: "manual" }, h("div", { key: 'dfe4d6f72df0dfa029d9296e27ceb60a75131d83', ref: el => (this.contentElement = el), class: "content" }, h("slot", { key: '22144006d226160fe790d156255d54e24bcad8ce' }))));
1059
1060
  }
1060
1061
  get hostElement() { return getElement(this); }
1061
1062
  static get watchers() { return {
@@ -200,7 +200,7 @@ function renderLabel(target) {
200
200
  return (h("label", { htmlFor: target.inputId, class: labelClasses.join(' ') }, h("slot", { name: "label" }, label ? loc(label) : undefined, helpText)));
201
201
  }
202
202
  function hasSlotContent(target, slotName) {
203
- return target.querySelector(`[slot="${slotName}"]`) !== null;
203
+ return Array.from(target.children).some(child => child.getAttribute('slot') === slotName);
204
204
  }
205
205
  function handleAriaLabel(target) {
206
206
  const { ariaLabel } = target;