q2-tecton-elements 1.57.2 → 1.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/bundle-report.json +68 -70
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
  4. package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
  5. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.cjs.js.map +1 -1
  7. package/dist/cjs/q2-badge_7.cjs.entry.js +14 -12
  8. package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
  9. package/dist/cjs/q2-calendar.cjs.entry.js +35 -33
  10. package/dist/cjs/q2-calendar.cjs.entry.js.map +1 -1
  11. package/dist/cjs/q2-calendar.entry.cjs.js.map +1 -1
  12. package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
  14. package/dist/cjs/q2-carousel.cjs.entry.js.map +1 -1
  15. package/dist/cjs/q2-carousel.entry.cjs.js.map +1 -1
  16. package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/q2-checkbox.entry.cjs.js.map +1 -1
  22. package/dist/cjs/q2-context.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  24. package/dist/cjs/q2-detail.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-file-picker.cjs.entry.js +21 -13
  27. package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
  28. package/dist/cjs/q2-file-picker.entry.cjs.js.map +1 -1
  29. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  31. package/dist/cjs/q2-item.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-loading-element.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-loading-element.cjs.entry.js.map +1 -1
  36. package/dist/cjs/q2-loading-element.entry.cjs.js.map +1 -1
  37. package/dist/cjs/q2-message.cjs.entry.js +7 -7
  38. package/dist/cjs/q2-message.cjs.entry.js.map +1 -1
  39. package/dist/cjs/q2-message.entry.cjs.js.map +1 -1
  40. package/dist/cjs/q2-modal.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
  42. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  43. package/dist/cjs/q2-option-list.q2-popover.entry.cjs.js.map +1 -1
  44. package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
  45. package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
  46. package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
  47. package/dist/cjs/q2-pill.cjs.entry.js +1 -1
  48. package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
  49. package/dist/cjs/q2-section.cjs.entry.js +2 -2
  50. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
  51. package/dist/cjs/q2-stepper.cjs.entry.js +35 -15
  52. package/dist/cjs/q2-stepper.cjs.entry.js.map +1 -1
  53. package/dist/cjs/q2-stepper.entry.cjs.js.map +1 -1
  54. package/dist/cjs/q2-tag.cjs.entry.js +1 -1
  55. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  56. package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
  57. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  58. package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
  59. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
  60. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  61. package/dist/collection/components/q2-calendar/q2-calendar.css +2 -2
  62. package/dist/collection/components/q2-calendar/q2-calendar.js +34 -32
  63. package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
  64. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  65. package/dist/collection/components/q2-carousel/q2-carousel.js +2 -2
  66. package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
  67. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  68. package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
  69. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
  70. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
  71. package/dist/collection/components/q2-checkbox/q2-checkbox.css +3 -3
  72. package/dist/collection/components/q2-context/q2-context.js +1 -1
  73. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  74. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  75. package/dist/collection/components/q2-example/q2-example.js +1 -1
  76. package/dist/collection/components/q2-file-picker/q2-file-picker.js +31 -23
  77. package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
  78. package/dist/collection/components/q2-form/q2-form.js +1 -1
  79. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  80. package/dist/collection/components/q2-input/formatting/phone.js +1 -1
  81. package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
  82. package/dist/collection/components/q2-input/q2-input.css +1 -1
  83. package/dist/collection/components/q2-input/q2-input.js +10 -8
  84. package/dist/collection/components/q2-input/q2-input.js.map +1 -1
  85. package/dist/collection/components/q2-item/q2-item.js +1 -1
  86. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  87. package/dist/collection/components/q2-list/q2-list.js +1 -1
  88. package/dist/collection/components/q2-loading/q2-loading.css +10 -0
  89. package/dist/collection/components/q2-loading/skeleton/q2-loading-element/styles.css +1 -0
  90. package/dist/collection/components/q2-message/q2-message.css +30 -17
  91. package/dist/collection/components/q2-message/q2-message.js +6 -6
  92. package/dist/collection/components/q2-message/q2-message.js.map +1 -1
  93. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  94. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  95. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  96. package/dist/collection/components/q2-pill/q2-pill.js +1 -1
  97. package/dist/collection/components/q2-popover/q2-popover.js +8 -4
  98. package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
  99. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  100. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  101. package/dist/collection/components/q2-section/q2-section.js +2 -2
  102. package/dist/collection/components/q2-stepper/q2-stepper.css +4 -4
  103. package/dist/collection/components/q2-stepper/q2-stepper.js +40 -16
  104. package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
  105. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  106. package/dist/collection/components/q2-tab-container/q2-tab-container.js +2 -2
  107. package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
  108. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  109. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  110. package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
  111. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  112. package/dist/components/q2-action-group2.js +1 -1
  113. package/dist/components/q2-action-sheet.js +1 -1
  114. package/dist/components/q2-avatar2.js +1 -1
  115. package/dist/components/q2-calendar.js +35 -33
  116. package/dist/components/q2-calendar.js.map +1 -1
  117. package/dist/components/q2-carousel-pane.js +2 -2
  118. package/dist/components/q2-carousel.js +2 -2
  119. package/dist/components/q2-carousel.js.map +1 -1
  120. package/dist/components/q2-chart-area.js +1 -1
  121. package/dist/components/q2-chart-bar.js +1 -1
  122. package/dist/components/q2-chart-donut.js +1 -1
  123. package/dist/components/q2-checkbox2.js +1 -1
  124. package/dist/components/q2-checkbox2.js.map +1 -1
  125. package/dist/components/q2-context.js +1 -1
  126. package/dist/components/q2-currency.js +1 -1
  127. package/dist/components/q2-detail.js +1 -1
  128. package/dist/components/q2-example.js +1 -1
  129. package/dist/components/q2-file-picker.js +21 -13
  130. package/dist/components/q2-file-picker.js.map +1 -1
  131. package/dist/components/q2-form.js +1 -1
  132. package/dist/components/q2-formatted-text.js +1 -1
  133. package/dist/components/q2-input2.js +12 -10
  134. package/dist/components/q2-input2.js.map +1 -1
  135. package/dist/components/q2-item2.js +1 -1
  136. package/dist/components/q2-legend2.js +1 -1
  137. package/dist/components/q2-list2.js +1 -1
  138. package/dist/components/q2-loading-element.js +1 -1
  139. package/dist/components/q2-loading-element.js.map +1 -1
  140. package/dist/components/q2-loading2.js +1 -1
  141. package/dist/components/q2-loading2.js.map +1 -1
  142. package/dist/components/q2-message2.js +7 -7
  143. package/dist/components/q2-message2.js.map +1 -1
  144. package/dist/components/q2-modal.js +1 -1
  145. package/dist/components/q2-month-picker.js +2 -2
  146. package/dist/components/q2-optgroup2.js +1 -1
  147. package/dist/components/q2-pagination.js +3 -3
  148. package/dist/components/q2-pill.js +1 -1
  149. package/dist/components/q2-popover2.js +2 -2
  150. package/dist/components/q2-popover2.js.map +1 -1
  151. package/dist/components/q2-relative-time.js +1 -1
  152. package/dist/components/q2-resize-observer2.js +1 -1
  153. package/dist/components/q2-section.js +2 -2
  154. package/dist/components/q2-stepper-vertical.js +1 -1
  155. package/dist/components/q2-stepper.js +38 -17
  156. package/dist/components/q2-stepper.js.map +1 -1
  157. package/dist/components/q2-tab-container.js +2 -2
  158. package/dist/components/q2-tab-container.js.map +1 -1
  159. package/dist/components/q2-tab-pane.js +1 -1
  160. package/dist/components/q2-tag.js +1 -1
  161. package/dist/components/q2-textarea.js +1 -1
  162. package/dist/components/tecton-tab-pane.js +2 -2
  163. package/dist/esm/loader.js +1 -1
  164. package/dist/esm/q2-action-group_2.entry.js +2 -2
  165. package/dist/esm/q2-action-sheet.entry.js +1 -1
  166. package/dist/esm/q2-avatar.entry.js +1 -1
  167. package/dist/esm/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.js.map +1 -1
  168. package/dist/esm/q2-badge_7.entry.js +16 -14
  169. package/dist/esm/q2-badge_7.entry.js.map +1 -1
  170. package/dist/esm/q2-calendar.entry.js +35 -33
  171. package/dist/esm/q2-calendar.entry.js.map +1 -1
  172. package/dist/esm/q2-carousel-pane.entry.js +2 -2
  173. package/dist/esm/q2-carousel.entry.js +2 -2
  174. package/dist/esm/q2-carousel.entry.js.map +1 -1
  175. package/dist/esm/q2-chart-area.entry.js +1 -1
  176. package/dist/esm/q2-chart-bar.entry.js +1 -1
  177. package/dist/esm/q2-chart-donut.entry.js +1 -1
  178. package/dist/esm/q2-checkbox.entry.js +1 -1
  179. package/dist/esm/q2-checkbox.entry.js.map +1 -1
  180. package/dist/esm/q2-context.entry.js +1 -1
  181. package/dist/esm/q2-currency.entry.js +1 -1
  182. package/dist/esm/q2-detail.entry.js +1 -1
  183. package/dist/esm/q2-example.entry.js +1 -1
  184. package/dist/esm/q2-file-picker.entry.js +21 -13
  185. package/dist/esm/q2-file-picker.entry.js.map +1 -1
  186. package/dist/esm/q2-form.entry.js +1 -1
  187. package/dist/esm/q2-formatted-text.entry.js +1 -1
  188. package/dist/esm/q2-item.entry.js +1 -1
  189. package/dist/esm/q2-legend.entry.js +1 -1
  190. package/dist/esm/q2-link_2.entry.js +1 -1
  191. package/dist/esm/q2-loading-element.entry.js +1 -1
  192. package/dist/esm/q2-loading-element.entry.js.map +1 -1
  193. package/dist/esm/q2-message.entry.js +7 -7
  194. package/dist/esm/q2-message.entry.js.map +1 -1
  195. package/dist/esm/q2-modal.entry.js +1 -1
  196. package/dist/esm/q2-month-picker.entry.js +2 -2
  197. package/dist/esm/q2-optgroup.entry.js +1 -1
  198. package/dist/esm/q2-option-list.q2-popover.entry.js.map +1 -1
  199. package/dist/esm/q2-option-list_2.entry.js +2 -2
  200. package/dist/esm/q2-option-list_2.entry.js.map +1 -1
  201. package/dist/esm/q2-pagination.entry.js +3 -3
  202. package/dist/esm/q2-pill.entry.js +1 -1
  203. package/dist/esm/q2-relative-time.entry.js +1 -1
  204. package/dist/esm/q2-section.entry.js +2 -2
  205. package/dist/esm/q2-stepper-vertical.entry.js +1 -1
  206. package/dist/esm/q2-stepper.entry.js +35 -15
  207. package/dist/esm/q2-stepper.entry.js.map +1 -1
  208. package/dist/esm/q2-tag.entry.js +1 -1
  209. package/dist/esm/q2-tecton-elements.js +1 -1
  210. package/dist/esm/q2-textarea.entry.js +1 -1
  211. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  212. package/dist/jest.setup.js +7 -0
  213. package/dist/jest.setup.js.map +1 -1
  214. package/dist/q2-tecton-elements/q2-action-group_2.entry.js +7 -7
  215. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
  216. package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
  217. package/dist/q2-tecton-elements/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.esm.js.map +1 -1
  218. package/dist/q2-tecton-elements/q2-badge_7.entry.js +319 -314
  219. package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
  220. package/dist/q2-tecton-elements/q2-calendar.entry.esm.js.map +1 -1
  221. package/dist/q2-tecton-elements/q2-calendar.entry.js +151 -146
  222. package/dist/q2-tecton-elements/q2-calendar.entry.js.map +1 -1
  223. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
  224. package/dist/q2-tecton-elements/q2-carousel.entry.esm.js.map +1 -1
  225. package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
  226. package/dist/q2-tecton-elements/q2-carousel.entry.js.map +1 -1
  227. package/dist/q2-tecton-elements/q2-chart-area.entry.js +4 -4
  228. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
  229. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +63 -63
  230. package/dist/q2-tecton-elements/q2-checkbox.entry.esm.js.map +1 -1
  231. package/dist/q2-tecton-elements/q2-checkbox.entry.js +33 -33
  232. package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
  233. package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
  234. package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
  235. package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
  236. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  237. package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
  238. package/dist/q2-tecton-elements/q2-file-picker.entry.js +21 -13
  239. package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
  240. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  241. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  242. package/dist/q2-tecton-elements/q2-item.entry.js +12 -12
  243. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  244. package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
  245. package/dist/q2-tecton-elements/q2-loading-element.entry.esm.js.map +1 -1
  246. package/dist/q2-tecton-elements/q2-loading-element.entry.js +1 -1
  247. package/dist/q2-tecton-elements/q2-message.entry.esm.js.map +1 -1
  248. package/dist/q2-tecton-elements/q2-message.entry.js +32 -32
  249. package/dist/q2-tecton-elements/q2-message.entry.js.map +1 -1
  250. package/dist/q2-tecton-elements/q2-modal.entry.js +21 -21
  251. package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
  252. package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
  253. package/dist/q2-tecton-elements/q2-option-list.q2-popover.entry.esm.js.map +1 -1
  254. package/dist/q2-tecton-elements/q2-option-list_2.entry.js +16 -16
  255. package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
  256. package/dist/q2-tecton-elements/q2-pagination.entry.js +24 -24
  257. package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
  258. package/dist/q2-tecton-elements/q2-relative-time.entry.js +4 -4
  259. package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
  260. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
  261. package/dist/q2-tecton-elements/q2-stepper.entry.esm.js.map +1 -1
  262. package/dist/q2-tecton-elements/q2-stepper.entry.js +77 -59
  263. package/dist/q2-tecton-elements/q2-stepper.entry.js.map +1 -1
  264. package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
  265. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  266. package/dist/q2-tecton-elements/q2-textarea.entry.js +5 -5
  267. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
  268. package/dist/types/components/q2-calendar/q2-calendar.d.ts +1 -1
  269. package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +48 -24
  270. package/dist/types/components/q2-input/q2-input.d.ts +4 -3
  271. package/dist/types/components/q2-popover/q2-popover.d.ts +6 -2
  272. package/dist/types/components/q2-stepper/q2-stepper.d.ts +2 -0
  273. package/dist/types/components.d.ts +33 -20
  274. package/package.json +3 -3
@@ -2,21 +2,22 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
2
  type DisplayedFile = {
3
3
  file: File;
4
4
  message?: string;
5
- status: FileStatus;
5
+ status: ValidFileStatusType | InvalidFileStatusType;
6
6
  toBeRemoved?: boolean;
7
7
  };
8
- type UploadFileStatus = 'in-progress' | 'failed' | 'uploaded';
9
- type FileStatus = UploadFileStatus | 'invalid-type' | 'over-size-limit' | 'over-max-files-limit';
10
- export type StatusFile = {
8
+ type ValidFileStatusType = 'in-progress' | 'failed' | 'uploaded';
9
+ type InvalidFileStatusType = 'invalid-type' | 'over-size-limit' | 'over-max-files-limit';
10
+ export type ValidFileStatus = {
11
11
  name: string;
12
- status: UploadFileStatus;
12
+ status: ValidFileStatusType;
13
13
  message?: string;
14
14
  };
15
+ export type InvalidFileStatus = {
16
+ file: File;
17
+ status: InvalidFileStatusType;
18
+ };
15
19
  export type FilesObject = {
16
- invalidFiles: {
17
- file: File;
18
- status: 'invalid-type' | 'over-size-limit' | 'over-max-files-limit' | 'in-progress' | 'failed' | 'uploaded';
19
- }[];
20
+ invalidFiles: InvalidFileStatus[];
20
21
  validFiles: File[];
21
22
  };
22
23
  /**
@@ -34,7 +35,7 @@ export declare class Q2FilePicker implements ComponentInterface {
34
35
  isDropZoneHighlighted: boolean;
35
36
  refreshCounter: number;
36
37
  /**
37
- * The size of the browse button. Can be 'none', 'small', 'medium', or 'large'.
38
+ * The size of the browse button.
38
39
  */
39
40
  buttonSize: 'none' | 'small' | 'medium' | 'large';
40
41
  /**
@@ -63,22 +64,30 @@ export declare class Q2FilePicker implements ComponentInterface {
63
64
  */
64
65
  maxFileSize: number;
65
66
  /**
66
- * An array of objects representing the status of the files being uploaded.
67
- * Each object should have a `name` property (the file name), a `status`
68
- * property (the status of the file) that equals either 'in-progress',
69
- * 'failed', or 'uploaded', and an optional `message` property.
70
- *
71
- * Custom messages provided in the `message` property will only be used for
72
- * failed uploads (`status: 'failed'`). This allows for more specific error
73
- * messages in failure scenarios, while ensuring that all other file status
74
- * messages remain consistent and aligned with approved design/UX standards.
75
- * Custom messages for failed uploads are limited to a single line.
67
+ * An array of `ValidFileStatus` objects representing the upload status of
68
+ * files. Each `ValidFileStatus` object contains the following properties:
69
+ * - `name`: The file name.
70
+ * - `status`: The upload status, either `"failed"` or `"uploaded"`.
71
+ * - `message`: (Optional) A custom status message, used only when `status`
72
+ * is `"failed"`. This allows developers to provide more detail about
73
+ * upload failures while ensuring all other file status messages remain
74
+ * consistent with approved design/UX standards. Custom failure messages
75
+ * are limited to a single line.
76
76
  * @localizable
77
77
  */
78
- status: StatusFile[];
78
+ status: ValidFileStatus[];
79
79
  /**
80
- * Returns an array of File objects representing the files selected by the
81
- * user. If no files are selected, the value is an empty array.
80
+ * Returns an object representing the selected files with two properties:
81
+ * - `invalidFiles`: An array of `InvalidFileStatus` objects representing
82
+ * files that failed validation.
83
+ * - `validFiles`: An array of `File` objects representing files that passed
84
+ * validation.
85
+ *
86
+ * Each `InvalidFileStatus` object includes the following properties:
87
+ * - `file`: The `File` object.
88
+ * - `status`: The validation status, which can be `"invalid-type"` (invalid file
89
+ * type), `"over-size-limit"` (file exceeds the size limit), or
90
+ * `"over-max-files-limit"` (total exceeds the max files limit).
82
91
  * @readonly
83
92
  */
84
93
  value: FilesObject;
@@ -87,8 +96,23 @@ export declare class Q2FilePicker implements ComponentInterface {
87
96
  * browse link.
88
97
  */
89
98
  variant: 'browse' | 'browse-drop';
99
+ /**
100
+ * Custom event dispatched when the user selects files. The event detail
101
+ * contains an object representing the selected files with two
102
+ * properties:
103
+ * - `invalidFiles`: An array of `InvalidFileStatus` objects representing
104
+ * files that failed validation.
105
+ * - `validFiles`: An array of `File` objects representing files that passed
106
+ * validation.
107
+ *
108
+ * Each `InvalidFileStatus` object includes the following properties:
109
+ * - `file`: The `File` object.
110
+ * - `status`: The validation status, which can be `"invalid-type"` (invalid file
111
+ * type), `"over-size-limit"` (file exceeds the size limit), or
112
+ * `"over-max-files-limit"` (total exceeds the max files limit).
113
+ */
90
114
  tctChange: EventEmitter<FilesObject>;
91
- updateFileList(newValue: StatusFile[]): void;
115
+ updateFileList(newValue: ValidFileStatus[]): void;
92
116
  get actualButtonSize(): "small" | "medium" | "large";
93
117
  get dropZoneClasses(): string;
94
118
  get fileTypesArray(): string[];
@@ -295,10 +295,11 @@ export declare class Q2Input {
295
295
  typeObserver(): void;
296
296
  valueObserver(): void;
297
297
  get ariaAttributes(): {
298
- ariaOwns: string;
299
- ariaHaspopup: string;
300
- ariaExpanded: string;
301
298
  ariaActivedescendant: string;
299
+ ariaControls: string;
300
+ ariaExpanded: string;
301
+ ariaHaspopup: string;
302
+ ariaOwns: string;
302
303
  };
303
304
  get canSetSelection(): boolean;
304
305
  get clearClasses(): string[];
@@ -8,8 +8,12 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
8
8
  * Each of the following Scenarios must be tested on each Device, in each Environment.
9
9
  *
10
10
  * Scenarios:
11
- * - Q2 Select non-typeable
12
- * - Q2 Select typeable
11
+ * - Q2 Select searchable
12
+ * - Q2 Select non-searchable
13
+ *
14
+ * Orientations:
15
+ * - Portrait
16
+ * - Landscape
13
17
  *
14
18
  * Devices:
15
19
  * - iOS Safari
@@ -43,12 +43,14 @@ export declare class Q2Stepper implements ComponentInterface {
43
43
  * @testOnly
44
44
  */
45
45
  selectStep(value: number | string): Promise<void>;
46
+ lastEnabledStepChanged(): void;
46
47
  currentStepChanged(stepNumber: number): void;
47
48
  get allPanes(): HTMLQ2StepperPaneElement[];
48
49
  checkForPanes: () => void;
49
50
  checkScrollState: () => void;
50
51
  focusStep(stepNumber: number, scrollIntoView?: boolean, forceFocus?: boolean): void;
51
52
  getPaneSlotOrProperty(pane: HTMLQ2StepperPaneElement, slotName: 'description' | 'label'): string;
53
+ handleUndefinedStepProperties(): void;
52
54
  onScrollBtnClick: (direction: "left" | "right") => void;
53
55
  onSlotChange: () => void;
54
56
  onStepClick: (event: any, selectedStep: number) => void;
@@ -9,7 +9,7 @@ import { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/
9
9
  import { IChartData, IDonutChartData } from "q2-tecton-common/lib/types/element-types";
10
10
  import { Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow } from "./components/q2-data-table/q2-data-table";
11
11
  import { Q2Input } from "./components/q2-input/q2-input";
12
- import { FilesObject, StatusFile } from "./components/q2-file-picker/q2-file-picker";
12
+ import { FilesObject, ValidFileStatus } from "./components/q2-file-picker/q2-file-picker";
13
13
  import { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
14
14
  import { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
15
15
  import { Q2Badge } from "./components/q2-badge/q2-badge";
@@ -24,7 +24,7 @@ export { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/
24
24
  export { IChartData, IDonutChartData } from "q2-tecton-common/lib/types/element-types";
25
25
  export { Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow } from "./components/q2-data-table/q2-data-table";
26
26
  export { Q2Input } from "./components/q2-input/q2-input";
27
- export { FilesObject, StatusFile } from "./components/q2-file-picker/q2-file-picker";
27
+ export { FilesObject, ValidFileStatus } from "./components/q2-file-picker/q2-file-picker";
28
28
  export { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
29
29
  export { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
30
30
  export { Q2Badge } from "./components/q2-badge/q2-badge";
@@ -1300,7 +1300,7 @@ export namespace Components {
1300
1300
  }
1301
1301
  interface Q2FilePicker {
1302
1302
  /**
1303
- * The size of the browse button. Can be 'none', 'small', 'medium', or 'large'.
1303
+ * The size of the browse button.
1304
1304
  * @default 'medium'
1305
1305
  */
1306
1306
  "buttonSize": 'none' | 'small' | 'medium' | 'large';
@@ -1330,13 +1330,13 @@ export namespace Components {
1330
1330
  */
1331
1331
  "maxFiles": number;
1332
1332
  /**
1333
- * An array of objects representing the status of the files being uploaded. Each object should have a `name` property (the file name), a `status` property (the status of the file) that equals either 'in-progress', 'failed', or 'uploaded', and an optional `message` property. Custom messages provided in the `message` property will only be used for failed uploads (`status: 'failed'`). This allows for more specific error messages in failure scenarios, while ensuring that all other file status messages remain consistent and aligned with approved design/UX standards. Custom messages for failed uploads are limited to a single line.
1333
+ * An array of `ValidFileStatus` objects representing the upload status of files. Each `ValidFileStatus` object contains the following properties: - `name`: The file name. - `status`: The upload status, either `"failed"` or `"uploaded"`. - `message`: (Optional) A custom status message, used only when `status` is `"failed"`. This allows developers to provide more detail about upload failures while ensuring all other file status messages remain consistent with approved design/UX standards. Custom failure messages are limited to a single line.
1334
1334
  * @localizable
1335
1335
  * @default []
1336
1336
  */
1337
- "status": StatusFile[];
1337
+ "status": ValidFileStatus[];
1338
1338
  /**
1339
- * Returns an array of File objects representing the files selected by the user. If no files are selected, the value is an empty array.
1339
+ * Returns an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
1340
1340
  * @readonly
1341
1341
  * @default { invalidFiles: [], validFiles: [] }
1342
1342
  */
@@ -2380,8 +2380,11 @@ export namespace Components {
2380
2380
  * Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
2381
2381
  * Each of the following Scenarios must be tested on each Device, in each Environment.
2382
2382
  * Scenarios:
2383
- * - Q2 Select non-typeable
2384
- * - Q2 Select typeable
2383
+ * - Q2 Select searchable
2384
+ * - Q2 Select non-searchable
2385
+ * Orientations:
2386
+ * - Portrait
2387
+ * - Landscape
2385
2388
  * Devices:
2386
2389
  * - iOS Safari
2387
2390
  * - Android Chrome
@@ -2765,7 +2768,6 @@ export namespace Components {
2765
2768
  interface Q2Stepper {
2766
2769
  /**
2767
2770
  * The currently selected step.
2768
- * @default 1
2769
2771
  */
2770
2772
  "currentStep": number;
2771
2773
  /**
@@ -3827,8 +3829,11 @@ declare global {
3827
3829
  * Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
3828
3830
  * Each of the following Scenarios must be tested on each Device, in each Environment.
3829
3831
  * Scenarios:
3830
- * - Q2 Select non-typeable
3831
- * - Q2 Select typeable
3832
+ * - Q2 Select searchable
3833
+ * - Q2 Select non-searchable
3834
+ * Orientations:
3835
+ * - Portrait
3836
+ * - Landscape
3832
3837
  * Devices:
3833
3838
  * - iOS Safari
3834
3839
  * - Android Chrome
@@ -5392,7 +5397,7 @@ declare namespace LocalJSX {
5392
5397
  }
5393
5398
  interface Q2FilePicker {
5394
5399
  /**
5395
- * The size of the browse button. Can be 'none', 'small', 'medium', or 'large'.
5400
+ * The size of the browse button.
5396
5401
  * @default 'medium'
5397
5402
  */
5398
5403
  "buttonSize"?: 'none' | 'small' | 'medium' | 'large';
@@ -5421,15 +5426,18 @@ declare namespace LocalJSX {
5421
5426
  * @default Infinity
5422
5427
  */
5423
5428
  "maxFiles"?: number;
5429
+ /**
5430
+ * Custom event dispatched when the user selects files. The event detail contains an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
5431
+ */
5424
5432
  "onTctChange"?: (event: Q2FilePickerCustomEvent<FilesObject>) => void;
5425
5433
  /**
5426
- * An array of objects representing the status of the files being uploaded. Each object should have a `name` property (the file name), a `status` property (the status of the file) that equals either 'in-progress', 'failed', or 'uploaded', and an optional `message` property. Custom messages provided in the `message` property will only be used for failed uploads (`status: 'failed'`). This allows for more specific error messages in failure scenarios, while ensuring that all other file status messages remain consistent and aligned with approved design/UX standards. Custom messages for failed uploads are limited to a single line.
5434
+ * An array of `ValidFileStatus` objects representing the upload status of files. Each `ValidFileStatus` object contains the following properties: - `name`: The file name. - `status`: The upload status, either `"failed"` or `"uploaded"`. - `message`: (Optional) A custom status message, used only when `status` is `"failed"`. This allows developers to provide more detail about upload failures while ensuring all other file status messages remain consistent with approved design/UX standards. Custom failure messages are limited to a single line.
5427
5435
  * @localizable
5428
5436
  * @default []
5429
5437
  */
5430
- "status"?: StatusFile[];
5438
+ "status"?: ValidFileStatus[];
5431
5439
  /**
5432
- * Returns an array of File objects representing the files selected by the user. If no files are selected, the value is an empty array.
5440
+ * Returns an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
5433
5441
  * @readonly
5434
5442
  * @default { invalidFiles: [], validFiles: [] }
5435
5443
  */
@@ -6480,8 +6488,11 @@ declare namespace LocalJSX {
6480
6488
  * Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
6481
6489
  * Each of the following Scenarios must be tested on each Device, in each Environment.
6482
6490
  * Scenarios:
6483
- * - Q2 Select non-typeable
6484
- * - Q2 Select typeable
6491
+ * - Q2 Select searchable
6492
+ * - Q2 Select non-searchable
6493
+ * Orientations:
6494
+ * - Portrait
6495
+ * - Landscape
6485
6496
  * Devices:
6486
6497
  * - iOS Safari
6487
6498
  * - Android Chrome
@@ -6842,7 +6853,6 @@ declare namespace LocalJSX {
6842
6853
  interface Q2Stepper {
6843
6854
  /**
6844
6855
  * The currently selected step.
6845
- * @default 1
6846
6856
  */
6847
6857
  "currentStep"?: number;
6848
6858
  /**
@@ -7309,8 +7319,11 @@ declare module "@stencil/core" {
7309
7319
  * Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
7310
7320
  * Each of the following Scenarios must be tested on each Device, in each Environment.
7311
7321
  * Scenarios:
7312
- * - Q2 Select non-typeable
7313
- * - Q2 Select typeable
7322
+ * - Q2 Select searchable
7323
+ * - Q2 Select non-searchable
7324
+ * Orientations:
7325
+ * - Portrait
7326
+ * - Landscape
7314
7327
  * Devices:
7315
7328
  * - iOS Safari
7316
7329
  * - Android Chrome
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q2-tecton-elements",
3
- "version": "1.57.2",
3
+ "version": "1.58.1",
4
4
  "description": "Q2 Tecton Custom Elements",
5
5
  "license": "MIT",
6
6
  "author": "Q2 Tecton Team",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@stencil/core": "4.35.0",
40
- "q2-tecton-common": "1.57.2",
40
+ "q2-tecton-common": "1.58.1",
41
41
  "swiper": "8.4.4"
42
42
  },
43
43
  "devDependencies": {
@@ -62,5 +62,5 @@
62
62
  "typescript": "5.4.5",
63
63
  "typescript-eslint": "^7.11.0"
64
64
  },
65
- "gitHead": "81c2e9e33603646cbafa899613923929ab8358bb"
65
+ "gitHead": "19ed17d99f238aeeeeea432aab6283fbf9736fcc"
66
66
  }