q2-tecton-elements 1.72.0 → 1.73.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 (383) hide show
  1. package/dist/bundle-report.json +38990 -33801
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
  4. package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
  5. package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
  6. package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +2 -2
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
  14. package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  17. package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
  18. package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
  19. package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
  20. package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
  21. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
  23. package/dist/cjs/q2-context.cjs.entry.js +4 -4
  24. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
  26. package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
  27. package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
  28. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-item.cjs.entry.js +20 -2
  38. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  42. package/dist/cjs/q2-meter.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
  49. package/dist/cjs/q2-pill.cjs.entry.js +7 -4
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-search.cjs.entry.js +3 -3
  55. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-select.cjs.entry.js +8 -4
  57. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  58. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  60. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  61. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  62. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  63. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  64. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  65. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
  68. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  74. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  75. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  76. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  77. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  78. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  79. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  80. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  81. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  82. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  83. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  84. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  86. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  87. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  89. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  90. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  91. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  92. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  93. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  94. package/dist/collection/components/q2-context/q2-context.js +3 -3
  95. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  96. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  97. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  98. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  99. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  100. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  102. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  103. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  105. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  106. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  107. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  108. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  109. package/dist/collection/components/q2-example/q2-example.js +1 -1
  110. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  111. package/dist/collection/components/q2-form/q2-form.js +1 -1
  112. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  113. package/dist/collection/components/q2-input/q2-input.js +6 -3
  114. package/dist/collection/components/q2-item/q2-item.js +19 -1
  115. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  116. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  117. package/dist/collection/components/q2-list/q2-list.js +1 -1
  118. package/dist/collection/components/q2-message/q2-message.js +1 -1
  119. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  120. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  121. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  122. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  123. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  124. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  125. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  126. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  127. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  128. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  129. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  130. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  131. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  132. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  133. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  134. package/dist/collection/components/q2-search/q2-search.js +6 -3
  135. package/dist/collection/components/q2-section/q2-section.js +2 -2
  136. package/dist/collection/components/q2-select/q2-select.js +12 -5
  137. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  138. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  139. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  140. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  141. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  142. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  143. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  144. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  145. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  146. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  147. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  148. package/dist/collection/utils/chart-keyboard.js +76 -0
  149. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  150. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  151. package/dist/collection/utils/index.js +1 -1
  152. package/dist/components/charting.js +1603 -1532
  153. package/dist/components/dataSample.js +7 -7
  154. package/dist/components/index.js +57 -53
  155. package/dist/components/index2.js +2 -2
  156. package/dist/components/q2-action-sheet.js +224 -103
  157. package/dist/components/q2-avatar2.js +8 -8
  158. package/dist/components/q2-btn2.js +2 -2
  159. package/dist/components/q2-calendar.js +6 -3
  160. package/dist/components/q2-card-image.js +2 -2
  161. package/dist/components/q2-carousel-pane2.js +3 -3
  162. package/dist/components/q2-carousel.js +37 -24
  163. package/dist/components/q2-chart-area.js +415 -369
  164. package/dist/components/q2-chart-bar.js +193 -148
  165. package/dist/components/q2-chart-donut.js +185 -158
  166. package/dist/components/q2-checkbox-group.js +6 -6
  167. package/dist/components/q2-checkbox2.js +11 -11
  168. package/dist/components/q2-context.js +20 -20
  169. package/dist/components/q2-currency.js +9 -9
  170. package/dist/components/q2-data-table.js +111 -111
  171. package/dist/components/q2-date-calendar.d.ts +11 -0
  172. package/dist/components/q2-date-calendar.js +5 -0
  173. package/dist/components/q2-date-calendar2.js +678 -0
  174. package/dist/components/q2-date-picker.d.ts +11 -0
  175. package/dist/components/q2-date-picker.js +5 -0
  176. package/dist/components/q2-date-picker2.js +875 -0
  177. package/dist/components/q2-detail.js +3 -3
  178. package/dist/components/q2-dropdown.js +17 -17
  179. package/dist/components/q2-editable-field.js +16 -5
  180. package/dist/components/q2-example.js +11 -11
  181. package/dist/components/q2-file-picker.js +1 -1
  182. package/dist/components/q2-form.js +6 -6
  183. package/dist/components/q2-formatted-text.js +2 -2
  184. package/dist/components/q2-input2.js +5 -5
  185. package/dist/components/q2-item2.js +32 -22
  186. package/dist/components/q2-legend2.js +7 -7
  187. package/dist/components/q2-list2.js +6 -6
  188. package/dist/components/q2-message2.js +9 -9
  189. package/dist/components/q2-meter.js +7 -7
  190. package/dist/components/q2-modal.js +22 -22
  191. package/dist/components/q2-month-picker.js +17 -17
  192. package/dist/components/q2-mutation-observer.js +1 -1
  193. package/dist/components/q2-optgroup2.js +7 -7
  194. package/dist/components/q2-option-list2.js +55 -34
  195. package/dist/components/q2-otp.js +8 -8
  196. package/dist/components/q2-pagination.js +67 -67
  197. package/dist/components/q2-pill.js +16 -14
  198. package/dist/components/q2-popover2.js +70 -49
  199. package/dist/components/q2-radio-group.js +7 -7
  200. package/dist/components/q2-radio.js +6 -6
  201. package/dist/components/q2-relative-time.js +1 -1
  202. package/dist/components/q2-resize-observer2.js +23 -23
  203. package/dist/components/q2-search.js +5 -5
  204. package/dist/components/q2-section.js +19 -19
  205. package/dist/components/q2-select2.js +2 -2
  206. package/dist/components/q2-stepper-pane.js +9 -9
  207. package/dist/components/q2-stepper-vertical.js +4 -4
  208. package/dist/components/q2-stepper.js +57 -57
  209. package/dist/components/q2-surface.js +3 -3
  210. package/dist/components/q2-tab-container.js +17 -17
  211. package/dist/components/q2-tab-pane.js +2 -2
  212. package/dist/components/q2-tag2.js +8 -6
  213. package/dist/components/q2-textarea.js +3 -3
  214. package/dist/components/sectorHelper.js +78 -78
  215. package/dist/components/tecton-tab-pane.js +10 -10
  216. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  217. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  218. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  219. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  220. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  221. package/dist/esm/loader.js +1 -1
  222. package/dist/esm/q2-action-group.entry.js +1 -1
  223. package/dist/esm/q2-action-sheet.entry.js +99 -19
  224. package/dist/esm/q2-avatar.entry.js +1 -1
  225. package/dist/esm/q2-badge_2.entry.js +2 -2
  226. package/dist/esm/q2-btn_2.entry.js +2 -2
  227. package/dist/esm/q2-calendar.entry.js +9 -4
  228. package/dist/esm/q2-card-image.entry.js +3 -3
  229. package/dist/esm/q2-card.entry.js +1 -1
  230. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  231. package/dist/esm/q2-carousel.entry.js +20 -6
  232. package/dist/esm/q2-chart-area.entry.js +38 -7
  233. package/dist/esm/q2-chart-bar.entry.js +39 -8
  234. package/dist/esm/q2-chart-donut.entry.js +31 -13
  235. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  236. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  237. package/dist/esm/q2-context.entry.js +4 -4
  238. package/dist/esm/q2-currency.entry.js +1 -1
  239. package/dist/esm/q2-data-table.entry.js +7 -7
  240. package/dist/esm/q2-date-calendar.entry.js +450 -0
  241. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  242. package/dist/esm/q2-detail.entry.js +2 -2
  243. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  244. package/dist/esm/q2-dropdown.entry.js +3 -3
  245. package/dist/esm/q2-editable-field.entry.js +20 -7
  246. package/dist/esm/q2-example.entry.js +1 -1
  247. package/dist/esm/q2-file-picker.entry.js +2 -2
  248. package/dist/esm/q2-form.entry.js +1 -1
  249. package/dist/esm/q2-formatted-text.entry.js +1 -1
  250. package/dist/esm/q2-icon.entry.js +1 -1
  251. package/dist/esm/q2-item.entry.js +20 -2
  252. package/dist/esm/q2-legend.entry.js +1 -1
  253. package/dist/esm/q2-link_2.entry.js +2 -2
  254. package/dist/esm/q2-loc.entry.js +1 -1
  255. package/dist/esm/q2-message.entry.js +2 -2
  256. package/dist/esm/q2-meter.entry.js +2 -2
  257. package/dist/esm/q2-modal.entry.js +2 -2
  258. package/dist/esm/q2-month-picker.entry.js +3 -3
  259. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  260. package/dist/esm/q2-option.entry.js +1 -1
  261. package/dist/esm/q2-otp.entry.js +5 -5
  262. package/dist/esm/q2-pagination.entry.js +4 -4
  263. package/dist/esm/q2-pill.entry.js +7 -4
  264. package/dist/esm/q2-radio-group.entry.js +2 -2
  265. package/dist/esm/q2-radio.entry.js +2 -2
  266. package/dist/esm/q2-relative-time.entry.js +2 -2
  267. package/dist/esm/q2-resize-observer.entry.js +1 -1
  268. package/dist/esm/q2-search.entry.js +3 -3
  269. package/dist/esm/q2-section.entry.js +3 -3
  270. package/dist/esm/q2-select.entry.js +8 -4
  271. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  272. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  273. package/dist/esm/q2-stepper.entry.js +2 -2
  274. package/dist/esm/q2-surface.entry.js +1 -1
  275. package/dist/esm/q2-tab-container.entry.js +2 -2
  276. package/dist/esm/q2-tab-pane.entry.js +1 -1
  277. package/dist/esm/q2-tecton-elements.js +1 -1
  278. package/dist/esm/q2-textarea.entry.js +2 -2
  279. package/dist/esm/q2-toast.entry.js +1 -1
  280. package/dist/esm/q2-tooltip.entry.js +1 -1
  281. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  282. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  283. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  284. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  285. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  286. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  287. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  288. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  289. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  290. package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
  291. package/dist/q2-tecton-elements/q2-badge_2.entry.js +5 -5
  292. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  293. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  294. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  295. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  296. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  297. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  298. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  299. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  300. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  301. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  302. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  303. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  304. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  305. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  306. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  307. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  308. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  309. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  310. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  311. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  312. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  313. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  314. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  315. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  316. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  317. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  318. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  319. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  320. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
  322. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  323. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  324. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  325. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  326. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  327. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  328. package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
  329. package/dist/q2-tecton-elements/q2-pill.entry.js +42 -40
  330. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  332. package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
  333. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  334. package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
  335. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  336. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  337. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
  338. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  339. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  340. package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
  341. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  342. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
  343. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  344. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  346. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  347. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  348. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
  349. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  350. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  351. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  352. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  353. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  354. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  355. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  356. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  357. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  358. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  359. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  360. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  361. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  362. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  363. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  364. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  365. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  366. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  367. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  368. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  369. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  370. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  371. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  372. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  373. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  374. package/dist/types/components.d.ts +858 -49
  375. package/dist/types/global.d.ts +1 -0
  376. package/dist/types/index.d.ts +1 -0
  377. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  378. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  379. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  380. package/package.json +3 -3
  381. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  382. package/dist/esm/q2-optgroup.entry.js +0 -68
  383. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -140,7 +140,7 @@ export class Q2Currency {
140
140
  // #region Render Methods
141
141
  render() {
142
142
  const { hasPlusMinusSign, plusMinusSign, currencyIsFront, currencySymbol, shouldSuperscriptSymbol, amountCore, fraction, shouldSuperscriptFraction, readableCurrency, currencyClasses, signDisplay, isNegativeAmount, } = this;
143
- return (h(Host, { key: 'a576a3f4ca36965ccefcfb9abc1c81641a362c7e', "aria-label": readableCurrency }, h("div", { key: 'c581dde68e18c2650dd9e33d4e5e565b93507427', "test-id": "q2CurrencyInner", class: currencyClasses }, signDisplay === 'accounting' && isNegativeAmount && h("span", { key: 'fefb53c6e9f5db35c10bcc55ba5760da94b0ea68' }, '('), hasPlusMinusSign && h("span", { key: '2b36de58383ae1a7eaf3f6b6de861dc6fdb0815e' }, plusMinusSign), currencyIsFront && (h("span", { key: '3acafded5362df3cf2edba4864954c8030f55c55', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol)), h("span", { key: 'c9913f6c82c5b7ab79bee6dc67b79cbe27590c1f' }, amountCore), h("span", { key: '285450be0de2b04b4a5bb9d6545c36c6707d7827', class: shouldSuperscriptFraction ? 'superscript' : '' }, fraction), !currencyIsFront && (h("span", { key: '5c47212d26728d9eb8464c0deee67aff208faf31', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol)), signDisplay === 'accounting' && isNegativeAmount && h("span", { key: '590bb81a846efb52ff7364bb9b00e8a3526d3fc5' }, ')'))));
143
+ return (h(Host, { key: 'dc225537aa8381682126282c8dea3bf7bc2be7a6', "aria-label": readableCurrency }, h("div", { key: '31ca488c6a335c42b31c951d6ceb3439dc27ce86', "test-id": "q2CurrencyInner", class: currencyClasses }, signDisplay === 'accounting' && isNegativeAmount && h("span", { key: '90a699153c62af8aae0711bd499c05c1f61fb6ee' }, '('), hasPlusMinusSign && h("span", { key: '1dfb9e14cadced2f39554c686a118a875e217774' }, plusMinusSign), currencyIsFront && (h("span", { key: '8a96680d29c2c6bc22b5288f47a796ad9e249ea2', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol)), h("span", { key: '227f6cd00c1c78aecc6f81d1d8b14979c2cfe6f4' }, amountCore), h("span", { key: 'ab392edfa8d9937509999e8e2b9505a067187c3e', class: shouldSuperscriptFraction ? 'superscript' : '' }, fraction), !currencyIsFront && (h("span", { key: 'da99205474d1b0a56b99e5ec7e22f5e9de83eb7b', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol)), signDisplay === 'accounting' && isNegativeAmount && h("span", { key: '106370ac78e71e829b94b85989bbcab42c356eef' }, ')'))));
144
144
  }
145
145
  static get is() { return "q2-currency"; }
146
146
  static get encapsulation() { return "shadow"; }
@@ -210,7 +210,10 @@ thead {
210
210
  :host([sticky]:not([sticky=false])) thead {
211
211
  position: sticky;
212
212
  top: var(--tct-data-table-sticky-header-top, 0px);
213
+ z-index: 1;
214
+ border-color: transparent;
213
215
  background: var(--tct-data-table-sticky-header-background, var(--tct-table-background, var(--t-base, #ffffff)));
216
+ box-shadow: 0 var(--tct-data-table-sticky-header-border-bottom-width, 1px) 0 var(--tct-data-table-header-border-color, var(--tct-table-header-border-color, var(--t-gray-9, #999999)));
214
217
  }
215
218
 
216
219
  col.status-column {
@@ -290,7 +290,7 @@ export class Q2DataTable {
290
290
  };
291
291
  // tracks if the select-all checkbox should be visually updated as the `rows` are built
292
292
  let isAllSelected = true;
293
- let isIndeterminate = false;
293
+ let hasSelectedRows = false;
294
294
  let hasStatusRows = false;
295
295
  const serializedRows = rows.map(({ id, cells, selected, expanded, disabled, selectAriaLabel, status }) => {
296
296
  const serializedCells = Object.entries(cells).reduce((accum, [cellKey, cellData]) => {
@@ -315,8 +315,8 @@ export class Q2DataTable {
315
315
  }, {});
316
316
  if (isAllSelected && !selected)
317
317
  isAllSelected = false;
318
- if (!isAllSelected && selected)
319
- isIndeterminate = true;
318
+ if (!hasSelectedRows && selected)
319
+ hasSelectedRows = true;
320
320
  if (!hasStatusRows && status)
321
321
  hasStatusRows = true;
322
322
  return {
@@ -335,7 +335,7 @@ export class Q2DataTable {
335
335
  this.hasRowData = !!rows.length;
336
336
  this.hasStatusRows = hasStatusRows;
337
337
  this.allRowsSelected = this.hasRowData && isAllSelected;
338
- this.someRowsSelected = this.hasRowData && isIndeterminate;
338
+ this.someRowsSelected = this.hasRowData && hasSelectedRows && !isAllSelected;
339
339
  this.serializedRows = !!shouldAutoSort ? this.sortRows(serializedRows, sortedHeader) : serializedRows;
340
340
  this.checkSlots();
341
341
  }
@@ -419,7 +419,7 @@ export class Q2DataTable {
419
419
  // #region Render Methods
420
420
  render() {
421
421
  const { caption } = this;
422
- return (h("div", { key: '9f2281aae60f873a2755db7ed67aaab73c79f499', class: "container" }, h("table", { key: '2d057320dad36ea04d1037546ef2b9a8135b0a08' }, caption && h("caption", { key: '2b4ae6daf2d2f3c75e1819166cf758b5ff5f3ab4', class: this.hideCaption ? 'sr' : undefined }, caption), this.renderTableColGroup(), this.renderTableHeader(), this.renderEmptyState(), this.renderTableRows())));
422
+ return (h("div", { key: '27c557740e997910e039e20af6d1e889583e798a', class: "container" }, h("table", { key: '54b876b023eab141fa8be8627e2b025590c0026d' }, caption && h("caption", { key: '6e0fdc0524ff1645b6ebd16ada5f86e5197cc475', class: this.hideCaption ? 'sr' : undefined }, caption), this.renderTableColGroup(), this.renderTableHeader(), this.renderEmptyState(), this.renderTableRows())));
423
423
  }
424
424
  renderCellContent(cell) {
425
425
  if (!cell)
@@ -11,6 +11,13 @@ const ROWS_JSON = JSON.stringify([
11
11
  { id: 2, cells: { day: 'Tuesday', sales: 127, revenue: '$6,350' } },
12
12
  { id: 3, cells: { day: 'Wednesday', sales: 121, revenue: '$6,050' } },
13
13
  ]);
14
+ const STICKY_ROWS_JSON = JSON.stringify([
15
+ { id: 1, cells: { day: 'Monday', sales: 93, revenue: '$4,650' } },
16
+ { id: 2, cells: { day: 'Tuesday', sales: 127, revenue: '$6,350' } },
17
+ { id: 3, cells: { day: 'Wednesday', sales: 121, revenue: '$6,050' } },
18
+ { id: 4, cells: { day: 'Thursday', sales: 140, revenue: '$7,000' } },
19
+ { id: 5, cells: { day: 'Friday', sales: 83, revenue: '$4,150' } },
20
+ ]);
14
21
  const buildHtml = (variant) => {
15
22
  var _a, _b;
16
23
  return `
@@ -26,6 +33,19 @@ const buildHtml = (variant) => {
26
33
  </script>
27
34
  `;
28
35
  };
36
+ const buildStickyHtml = () => `
37
+ <div id="scroll-container" style="height: 180px; overflow: auto">
38
+ <q2-data-table id="dt" caption="Recent Sales" sticky>
39
+ </q2-data-table>
40
+ </div>
41
+ <script>
42
+ (function () {
43
+ var t = document.getElementById('dt');
44
+ t.headers = ${HEADERS_JSON};
45
+ t.rows = ${STICKY_ROWS_JSON};
46
+ })();
47
+ </script>
48
+ `;
29
49
  const VARIANTS = [
30
50
  { name: 'default', attrs: '' },
31
51
  { name: 'bordered-true', attrs: 'bordered' },
@@ -38,6 +58,16 @@ const VARIANTS = [
38
58
  { name: 'clickable', attrs: 'clickable' },
39
59
  { name: 'clickable-hide-clickable', attrs: 'clickable hide-clickable' },
40
60
  { name: 'selectable-multiple-left', attrs: 'selectable select-mode="multiple"' },
61
+ {
62
+ name: 'selectable-multiple-indeterminate',
63
+ attrs: 'selectable select-mode="multiple"',
64
+ rowsJson: JSON.stringify([
65
+ { id: 1, cells: { day: 'Monday', sales: 93, revenue: '$4,650' }, selected: true },
66
+ { id: 2, cells: { day: 'Tuesday', sales: 127, revenue: '$6,350' } },
67
+ { id: 3, cells: { day: 'Wednesday', sales: 121, revenue: '$6,050' } },
68
+ ]),
69
+ waitForIndeterminate: true,
70
+ },
41
71
  { name: 'selectable-multiple-right', attrs: 'selectable select-mode="multiple" select-align="right"' },
42
72
  { name: 'selectable-single', attrs: 'selectable select-mode="single"' },
43
73
  { name: 'loading', attrs: 'loading' },
@@ -84,6 +114,12 @@ const SELECTABLE_MULTIPLE_LEFT_VARIANT = VARIANTS.find(v => v.name === 'selectab
84
114
  const restingCase = (variant, theme) => {
85
115
  test(`q2-data-table--${variant.name}--resting — ${theme}`, async ({ page }) => {
86
116
  await setupPage(page, buildHtml(variant), { theme, setupLoc: true });
117
+ if (variant.waitForIndeterminate) {
118
+ await page.locator('#dt').evaluate((table, rowsJson) => {
119
+ table.rows = JSON.parse(rowsJson);
120
+ }, variant.rowsJson);
121
+ await expect(page.locator('q2-data-table q2-checkbox[test-id="select-all-rows-control"]')).toHaveAttribute('indeterminate', '');
122
+ }
87
123
  await expect(page).toHaveScreenshot(`q2-data-table--${variant.name}--resting--${theme}.png`);
88
124
  });
89
125
  };
@@ -125,3 +161,14 @@ test.describe(`q2-data-table — scaled font size × themes`, () => {
125
161
  });
126
162
  }
127
163
  });
164
+ test.describe('q2-data-table — sticky header × themes', () => {
165
+ for (const theme of THEMES) {
166
+ test(`q2-data-table--sticky-header--scrolled — ${theme}`, async ({ page }) => {
167
+ await setupPage(page, buildStickyHtml(), { theme, setupLoc: true });
168
+ await page.locator('#scroll-container').evaluate(element => {
169
+ element.scrollTop = 100;
170
+ });
171
+ await expect(page).toHaveScreenshot(`q2-data-table--sticky-header--scrolled--${theme}.png`);
172
+ });
173
+ }
174
+ });
@@ -0,0 +1,393 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ *:active {
6
+ outline: none;
7
+ }
8
+
9
+ *:focus-visible {
10
+ outline: none;
11
+ box-shadow: var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc);
12
+ }
13
+
14
+ :host {
15
+ box-shadow: none !important;
16
+ }
17
+
18
+ ::-moz-focus-inner {
19
+ border: none;
20
+ }
21
+
22
+ input,
23
+ textarea,
24
+ button {
25
+ font-family: inherit;
26
+ font-size: inherit;
27
+ font-stretch: inherit;
28
+ }
29
+
30
+ :host(.sr),
31
+ :host(.sr) button {
32
+ border: 0;
33
+ clip: rect(0 0 0 0);
34
+ height: 1px;
35
+ margin: -1px;
36
+ overflow: hidden;
37
+ padding: 0;
38
+ position: absolute;
39
+ width: 1px;
40
+ white-space: nowrap;
41
+ }
42
+
43
+ .sr,
44
+ .sr button {
45
+ border: 0;
46
+ clip: rect(0 0 0 0);
47
+ height: 1px;
48
+ margin: -1px;
49
+ overflow: hidden;
50
+ padding: 0;
51
+ position: absolute;
52
+ width: 1px;
53
+ white-space: nowrap;
54
+ }
55
+
56
+ .hidden {
57
+ display: none;
58
+ }
59
+
60
+ :host([hidden]) {
61
+ display: none;
62
+ }
63
+
64
+ .invisible {
65
+ visibility: hidden;
66
+ }
67
+
68
+ @container style(--t-prefers-motion: "reduced") {
69
+ *,
70
+ *::before,
71
+ *::after {
72
+ animation-duration: 0.01ms !important;
73
+ transition-duration: 0.01ms !important;
74
+ animation-delay: 0ms !important;
75
+ transition-delay: 0ms !important;
76
+ }
77
+ }
78
+ @container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")) {
79
+ @media (prefers-reduced-motion: reduce) {
80
+ *,
81
+ *::before,
82
+ *::after {
83
+ animation-duration: 0.01ms !important;
84
+ transition-duration: 0.01ms !important;
85
+ animation-delay: 0ms !important;
86
+ transition-delay: 0ms !important;
87
+ }
88
+ }
89
+ }
90
+ /**
91
+ * @prop --tct-date-calendar-background: (<color>) Controls the calendar panel background and focused day background.
92
+ * @prop --tct-date-calendar-border-radius: (<length-percentage>) Controls the calendar panel corner radius.
93
+ * @prop --tct-date-calendar-box-shadow: (*) Controls the calendar panel shadow.
94
+ * @prop --tct-date-calendar-day-border-radius: (<length-percentage>) Controls day cell and focus ring corner radii.
95
+ * @prop --tct-date-calendar-day-disabled-font-color: (<color>) Controls disabled day text color.
96
+ * @prop --tct-date-calendar-day-focus-ring: (*) Controls the keyboard focus shadow around a day.
97
+ * @prop --tct-date-calendar-day-font-color: (<color>) Controls day text color.
98
+ * @prop --tct-date-calendar-day-font-size: (<length-percentage>) Controls day text size.
99
+ * @prop --tct-date-calendar-day-heading-font-color: (<color>) Controls weekday heading text color.
100
+ * @prop --tct-date-calendar-day-heading-font-size: (<length-percentage>) Controls weekday heading text size.
101
+ * @prop --tct-date-calendar-day-heading-font-weight: (<number>) Controls weekday heading font weight.
102
+ * @prop --tct-date-calendar-day-height: (<length-percentage>) Controls desktop day cell height.
103
+ * @prop --tct-date-calendar-day-hover-background: (<color>) Controls the background of hovered unselected days.
104
+ * @prop --tct-date-calendar-day-outside-font-color: (<color>) Controls text color for days outside the displayed month.
105
+ * @prop --tct-date-calendar-day-selected-background: (<color>) Controls selected day background.
106
+ * @prop --tct-date-calendar-day-selected-border-radius: (<length-percentage>) Controls selected day and range endpoint corner radii.
107
+ * @prop --tct-date-calendar-day-selected-font-color: (<color>) Controls selected day text color.
108
+ * @prop --tct-date-calendar-day-selected-font-weight: (<number>) Controls selected day font weight.
109
+ * @prop --tct-date-calendar-disclaimer-border-color: (<color>) Controls the divider above the disclaimer.
110
+ * @prop --tct-date-calendar-disclaimer-font-color: (<color>) Controls disclaimer text color.
111
+ * @prop --tct-date-calendar-disclaimer-font-size: (<length-percentage>) Controls disclaimer text size.
112
+ * @prop --tct-date-calendar-disclaimer-margin-top: (<length-percentage>) Controls space above the disclaimer divider.
113
+ * @prop --tct-date-calendar-disclaimer-padding-top: (<length-percentage>) Controls space between the disclaimer divider and text.
114
+ * @prop --tct-date-calendar-footer-action-gap: (<length-percentage>) Controls space between footer buttons.
115
+ * @prop --tct-date-calendar-footer-action-padding: (<length-percentage>+) Controls padding around footer buttons and their focus rings.
116
+ * @prop --tct-date-calendar-footer-border-color: (<color>) Controls the divider above the footer.
117
+ * @prop --tct-date-calendar-footer-font-color: (<color>) Controls footer summary text color.
118
+ * @prop --tct-date-calendar-footer-font-size: (<length-percentage>) Controls footer summary text size.
119
+ * @prop --tct-date-calendar-footer-font-weight: (<number>) Controls footer summary font weight.
120
+ * @prop --tct-date-calendar-footer-gap: (<length-percentage>) Controls space between footer summary and actions.
121
+ * @prop --tct-date-calendar-footer-margin-top: (<length-percentage>) Controls space above the footer divider.
122
+ * @prop --tct-date-calendar-footer-padding-top: (<length-percentage>) Controls space below the footer divider.
123
+ * @prop --tct-date-calendar-grid-gap: (<length-percentage>) Controls spacing between calendar rows and columns.
124
+ * @prop --tct-date-calendar-label-font-color: (<color>) Controls calendar label text color.
125
+ * @prop --tct-date-calendar-label-font-size: (<length-percentage>) Controls calendar label text size.
126
+ * @prop --tct-date-calendar-label-font-weight: (<number>) Controls calendar label font weight.
127
+ * @prop --tct-date-calendar-label-margin-bottom: (<length-percentage>) Controls space below the calendar label.
128
+ * @prop --tct-date-calendar-mobile-gutter: (<length-percentage>) Controls the inline gutter on each side of the mobile calendar.
129
+ * @prop --tct-date-calendar-mobile-max-width: (<length-percentage>) Controls the maximum mobile calendar width.
130
+ * @prop --tct-date-calendar-mobile-navigation-button-height: (<length-percentage>) Controls navigation button height on narrow screens.
131
+ * @prop --tct-date-calendar-month-font-color: (<color>) Controls month heading text color.
132
+ * @prop --tct-date-calendar-month-font-size: (<length-percentage>) Controls month heading text size.
133
+ * @prop --tct-date-calendar-month-font-weight: (<number>) Controls month heading font weight.
134
+ * @prop --tct-date-calendar-navigation-button-border-radius: (<length-percentage>) Controls navigation button and focus ring corner radii.
135
+ * @prop --tct-date-calendar-navigation-button-height: (<length-percentage>) Controls navigation button height.
136
+ * @prop --tct-date-calendar-navigation-button-width: (<length-percentage>) Controls navigation button width.
137
+ * @prop --tct-date-calendar-navigation-gap: (<length-percentage>) Controls space between navigation buttons.
138
+ * @prop --tct-date-calendar-navigation-icon-size: (<length-percentage>) Controls navigation icon size.
139
+ * @prop --tct-date-calendar-navigation-margin-bottom: (<length-percentage>) Controls space below navigation in a downward panel.
140
+ * @prop --tct-date-calendar-navigation-margin-top: (<length-percentage>) Controls space above navigation in an upward panel.
141
+ * @prop --tct-date-calendar-padding: (<length-percentage>+) Controls calendar panel padding outside action sheets.
142
+ * @prop --tct-date-calendar-range-background: (<color>) Controls selected range background.
143
+ * @prop --tct-date-calendar-range-disabled-background: (<color>) Controls unavailable dates within a selected range.
144
+ * @prop --tct-date-calendar-range-font-color: (<color>) Controls text color within a selected range.
145
+ * @prop --tct-date-calendar-today-color: (<color>) Controls today's text and inset outline color.
146
+ * @prop --tct-date-calendar-today-font-weight: (<number>) Controls today's font weight.
147
+ * @prop --tct-date-calendar-weekday-padding: (<length-percentage>+) Controls weekday heading padding.
148
+ * @prop --tct-date-calendar-width: (<length-percentage>) Controls standalone desktop calendar width.
149
+ */
150
+ :host {
151
+ box-sizing: border-box;
152
+ display: block;
153
+ }
154
+
155
+ :host[hidden] {
156
+ display: none;
157
+ }
158
+
159
+ .cal-panel {
160
+ box-sizing: border-box;
161
+ width: var(--comp-date-calendar-width, var(--tct-date-calendar-width, 360px));
162
+ min-width: 0;
163
+ padding: var(--tct-date-calendar-padding, var(--app-scale-4x, 20px));
164
+ border-radius: var(--tct-date-calendar-border-radius, var(--app-border-radius-1, 4px));
165
+ background: var(--tct-date-calendar-background, var(--t-base, #ffffff));
166
+ box-shadow: var(--tct-date-calendar-box-shadow, var(--app-shadow-3));
167
+ }
168
+
169
+ .cal-panel.is-action-sheet {
170
+ width: 100%;
171
+ padding: 0;
172
+ border-radius: 0;
173
+ background: transparent;
174
+ box-shadow: none;
175
+ }
176
+
177
+ .calendar-label {
178
+ margin: 0 0 var(--tct-date-calendar-label-margin-bottom, var(--tct-scale-2, var(--app-scale-2x, 10px)));
179
+ color: var(--tct-date-calendar-label-font-color, var(--tct-text, var(--t-text, #4d4d4d)));
180
+ font-size: var(--tct-date-calendar-label-font-size, var(--tct-font-size, var(--app-font-size, var(--const-px-14, 14px))));
181
+ font-weight: var(--tct-date-calendar-label-font-weight, var(--tct-font-weight-semibold, 600));
182
+ }
183
+
184
+ .cal-nav {
185
+ display: grid;
186
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
187
+ align-items: center;
188
+ margin-bottom: var(--tct-date-calendar-navigation-margin-bottom, var(--app-scale-3x, 15px));
189
+ }
190
+
191
+ .cal-nav-controls {
192
+ display: flex;
193
+ gap: var(--tct-date-calendar-navigation-gap, 2px);
194
+ }
195
+
196
+ .cal-nav-controls-left {
197
+ justify-self: start;
198
+ }
199
+
200
+ .cal-nav-controls-right {
201
+ justify-self: end;
202
+ }
203
+
204
+ .cal-panel.direction-up .cal-nav {
205
+ margin-top: var(--tct-date-calendar-navigation-margin-top, var(--app-scale-3x, 15px));
206
+ margin-bottom: 0;
207
+ }
208
+
209
+ .cal-nav-btn {
210
+ width: var(--tct-date-calendar-navigation-button-width, 40px);
211
+ height: var(--tct-date-calendar-navigation-button-height, 40px);
212
+ margin: 0;
213
+ --tct-btn-icon-width: var(--tct-date-calendar-navigation-button-width, 40px);
214
+ --tct-btn-icon-height: var(--tct-date-calendar-navigation-button-height, 40px);
215
+ --tct-btn-icon-size: var(--tct-date-calendar-navigation-icon-size, 22px);
216
+ --tct-btn-icon-border-radius: var(--tct-date-calendar-navigation-button-border-radius, var(--app-border-radius-1, 4px));
217
+ }
218
+
219
+ .cal-nav-btn q2-icon {
220
+ width: var(--tct-date-calendar-navigation-icon-size, 22px);
221
+ min-width: var(--tct-date-calendar-navigation-icon-size, 22px);
222
+ height: var(--tct-date-calendar-navigation-icon-size, 22px);
223
+ }
224
+
225
+ .cal-nav-title {
226
+ overflow: hidden;
227
+ color: var(--tct-date-calendar-month-font-color, var(--tct-text, var(--t-text, #4d4d4d)));
228
+ font-size: var(--tct-date-calendar-month-font-size, var(--const-px-15, 15px));
229
+ font-weight: var(--tct-date-calendar-month-font-weight, 700);
230
+ text-align: center;
231
+ text-overflow: ellipsis;
232
+ white-space: nowrap;
233
+ }
234
+
235
+ .cal-row {
236
+ display: grid;
237
+ grid-template-columns: repeat(7, 44px);
238
+ gap: var(--tct-date-calendar-grid-gap, 2px);
239
+ justify-content: center;
240
+ }
241
+
242
+ .cal-days {
243
+ display: flex;
244
+ flex-direction: column;
245
+ gap: var(--tct-date-calendar-grid-gap, 2px);
246
+ }
247
+
248
+ .cal-dow {
249
+ padding: var(--tct-date-calendar-weekday-padding, 6px 0 10px);
250
+ color: var(--tct-date-calendar-day-heading-font-color, var(--tct-gray-8, var(--t-gray-8, #747474)));
251
+ font-size: var(--tct-date-calendar-day-heading-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));
252
+ font-weight: var(--tct-date-calendar-day-heading-font-weight, 600);
253
+ text-align: center;
254
+ }
255
+
256
+ [role=gridcell] {
257
+ min-width: 0;
258
+ }
259
+
260
+ .cal-day {
261
+ box-sizing: border-box;
262
+ display: flex;
263
+ width: 100%;
264
+ height: var(--tct-date-calendar-day-height, 44px);
265
+ padding: 0;
266
+ align-items: center;
267
+ justify-content: center;
268
+ border: 0;
269
+ border-radius: var(--tct-date-calendar-day-border-radius, var(--app-border-radius-2, 8px));
270
+ background: transparent;
271
+ color: var(--tct-date-calendar-day-font-color, var(--t-gray-1, #0d0d0d));
272
+ cursor: pointer;
273
+ font: inherit;
274
+ font-size: var(--tct-date-calendar-day-font-size, var(--app-font-size, var(--const-px-14, 14px)));
275
+ }
276
+ .cal-day:hover:not(:disabled):not(.is-selected) {
277
+ background: var(--tct-date-calendar-day-hover-background, var(--t-gray-14, #f2f2f2));
278
+ }
279
+ .cal-day:focus-visible {
280
+ background: var(--tct-date-calendar-background, var(--t-base, #ffffff));
281
+ outline: 0;
282
+ box-shadow: var(--tct-date-calendar-day-focus-ring, var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc));
283
+ }
284
+ .cal-day.is-outside {
285
+ color: var(--tct-date-calendar-day-outside-font-color, var(--t-gray-8, #747474));
286
+ }
287
+ .cal-day:disabled {
288
+ color: var(--tct-date-calendar-day-disabled-font-color, var(--t-gray-11, #cccccc));
289
+ cursor: not-allowed;
290
+ }
291
+ .cal-day.is-today {
292
+ color: var(--tct-date-calendar-today-color, var(--t-primary, #6a4a9e));
293
+ font-weight: var(--tct-date-calendar-today-font-weight, 600);
294
+ box-shadow: inset 0 0 0 2px var(--tct-date-calendar-today-color, var(--t-primary, #6a4a9e));
295
+ }
296
+ .cal-day.is-selected {
297
+ border-radius: var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px));
298
+ background: var(--tct-date-calendar-day-selected-background, var(--t-primary, #6a4a9e));
299
+ color: var(--tct-date-calendar-day-selected-font-color, var(--t-primary-text, #ffffff));
300
+ font-weight: var(--tct-date-calendar-day-selected-font-weight, 700);
301
+ box-shadow: none;
302
+ }
303
+ .cal-day.in-range {
304
+ border-radius: 0;
305
+ background: var(--tct-date-calendar-range-background, var(--t-primary-t4, #eee8f5));
306
+ color: var(--tct-date-calendar-range-font-color, var(--t-primary, #6a4a9e));
307
+ }
308
+ .cal-day.in-range.is-disabled {
309
+ background: var(--tct-date-calendar-range-disabled-background, var(--const-stoplight-alert, #d20a0a));
310
+ color: var(--t-base, #ffffff);
311
+ }
312
+ .cal-day.range-start {
313
+ border-radius: var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px)) 0 0 var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px));
314
+ }
315
+ .cal-day.range-end {
316
+ border-radius: 0 var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px)) var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px)) 0;
317
+ }
318
+ .cal-day.range-start.range-end {
319
+ border-radius: var(--tct-date-calendar-day-selected-border-radius, var(--app-border-radius-1, 4px));
320
+ }
321
+
322
+ .calendar-disclaimer {
323
+ margin-top: var(--tct-date-calendar-disclaimer-margin-top, var(--app-scale-3x, 15px));
324
+ padding-top: var(--tct-date-calendar-disclaimer-padding-top, var(--app-scale-2x, 10px));
325
+ border-top: 1px solid var(--tct-date-calendar-disclaimer-border-color, var(--t-gray-13, #e6e6e6));
326
+ color: var(--tct-date-calendar-disclaimer-font-color, var(--t-text, #4d4d4d));
327
+ font-size: var(--tct-date-calendar-disclaimer-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));
328
+ }
329
+
330
+ .cal-footer {
331
+ display: grid;
332
+ gap: var(--tct-date-calendar-footer-gap, var(--app-scale-2x, 10px));
333
+ margin-top: var(--tct-date-calendar-footer-margin-top, var(--app-scale-3x, 15px));
334
+ padding-top: var(--tct-date-calendar-footer-padding-top, var(--app-scale-3x, 15px));
335
+ border-top: 1px solid var(--tct-date-calendar-footer-border-color, var(--t-gray-13, #e6e6e6));
336
+ }
337
+
338
+ .cal-footer-summary {
339
+ display: grid;
340
+ color: var(--tct-date-calendar-footer-font-color, var(--t-primary, #6a4a9e));
341
+ font-size: var(--tct-date-calendar-footer-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));
342
+ font-weight: var(--tct-date-calendar-footer-font-weight, 600);
343
+ }
344
+ .cal-footer-summary > * {
345
+ grid-area: 1/1;
346
+ }
347
+ .cal-footer-summary q2-message {
348
+ color: var(--t-text, #4d4d4d);
349
+ }
350
+ .cal-footer-summary > span {
351
+ display: flex;
352
+ align-items: center;
353
+ }
354
+ .cal-footer-summary q2-message.is-placeholder {
355
+ visibility: hidden;
356
+ pointer-events: none;
357
+ }
358
+
359
+ .cal-footer-actions {
360
+ display: flex;
361
+ flex-wrap: nowrap;
362
+ align-items: center;
363
+ justify-content: flex-end;
364
+ gap: var(--tct-date-calendar-footer-action-gap, var(--app-scale-1x, 5px));
365
+ padding: var(--tct-date-calendar-footer-action-padding, var(--app-scale-1x, 5px));
366
+ }
367
+ .cal-footer-actions q2-btn {
368
+ flex: 0 0 auto;
369
+ width: auto;
370
+ }
371
+
372
+ @media (max-width: 768px) {
373
+ :host {
374
+ max-width: none;
375
+ }
376
+ .cal-panel {
377
+ width: var(--comp-date-calendar-width, min(100%, 100vw - var(--tct-date-calendar-mobile-gutter, 24px) - var(--tct-date-calendar-mobile-gutter, 24px), var(--tct-date-calendar-mobile-max-width, 420px)));
378
+ min-width: 0;
379
+ }
380
+ .cal-row {
381
+ grid-template-columns: repeat(7, minmax(44px, 1fr));
382
+ }
383
+ .cal-day {
384
+ height: auto;
385
+ aspect-ratio: 1;
386
+ }
387
+ }
388
+ @media (max-width: 360px) {
389
+ .cal-nav-btn {
390
+ height: var(--tct-date-calendar-mobile-navigation-button-height, 32px);
391
+ --tct-btn-icon-height: var(--tct-date-calendar-mobile-navigation-button-height, 32px);
392
+ }
393
+ }