@quidgest/ui 0.31.2 → 0.32.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 (507) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/json/api.json +1278 -324
  3. package/dist/manifest/components.json +1 -0
  4. package/dist/ui.css +1183 -428
  5. package/dist/ui.esm.js +1640 -1393
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.scss +1354 -386
  8. package/lib/components/QAccordion/QAccordion.d.ts +1 -1
  9. package/lib/components/QAccordion/QAccordion.d.ts.map +1 -1
  10. package/lib/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  11. package/lib/components/QAccordion/QAccordionItem.vue.js +5 -5
  12. package/lib/components/QAccordion/index.d.ts +6 -6
  13. package/lib/components/QAccordion/types.d.ts +2 -2
  14. package/lib/components/QAccordion/types.d.ts.map +1 -1
  15. package/lib/components/QAlert/QAlert.d.ts +1 -1
  16. package/lib/components/QAlert/QAlert.d.ts.map +1 -1
  17. package/lib/components/QAlert/QAlert.vue.js +87 -73
  18. package/lib/components/QAlert/index.d.ts +3 -3
  19. package/lib/components/QAlert/types.d.ts +32 -2
  20. package/lib/components/QAlert/types.d.ts.map +1 -1
  21. package/lib/components/QAvatar/QAvatar.d.ts +1 -1
  22. package/lib/components/QAvatar/index.d.ts +3 -3
  23. package/lib/components/QBadge/QBadge.d.ts +1 -1
  24. package/lib/components/QBadge/QBadge.d.ts.map +1 -1
  25. package/lib/components/QBadge/QBadge.vue.js +72 -55
  26. package/lib/components/QBadge/index.d.ts +3 -3
  27. package/lib/components/QBadge/types.d.ts +13 -2
  28. package/lib/components/QBadge/types.d.ts.map +1 -1
  29. package/lib/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -3
  30. package/lib/components/QBreadcrumbs/QBreadcrumb.d.ts +6 -6
  31. package/lib/components/QBreadcrumbs/QBreadcrumb.vue.js +3 -3
  32. package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts +1 -1
  33. package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
  34. package/lib/components/QBreadcrumbs/QBreadcrumbs.vue.js +31 -31
  35. package/lib/components/QBreadcrumbs/context.d.ts +2 -1
  36. package/lib/components/QBreadcrumbs/context.d.ts.map +1 -1
  37. package/lib/components/QBreadcrumbs/index.d.ts +9 -9
  38. package/lib/components/QBreadcrumbs/types.d.ts +2 -2
  39. package/lib/components/QBreadcrumbs/types.d.ts.map +1 -1
  40. package/lib/components/QButton/QButton.d.ts +2 -2
  41. package/lib/components/QButton/QButton.d.ts.map +1 -1
  42. package/lib/components/QButton/QButton.vue.js +53 -49
  43. package/lib/components/QButton/index.d.ts +6 -6
  44. package/lib/components/QButton/types.d.ts +2 -2
  45. package/lib/components/QButton/types.d.ts.map +1 -1
  46. package/lib/components/QCard/QCard.vue.js +9 -20
  47. package/lib/components/QCarousel/QCarousel.d.ts +4 -4
  48. package/lib/components/QCarousel/QCarousel.d.ts.map +1 -1
  49. package/lib/components/QCarousel/QCarousel.vue.js +10 -16
  50. package/lib/components/QCarousel/index.d.ts +14 -14
  51. package/lib/components/QCarousel/types.d.ts +2 -2
  52. package/lib/components/QCarousel/types.d.ts.map +1 -1
  53. package/lib/components/QCheckbox/QCheckbox.d.ts +3 -22
  54. package/lib/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  55. package/lib/components/QCheckbox/QCheckbox.vue.js +98 -100
  56. package/lib/components/QCheckbox/constants.d.ts +9 -0
  57. package/lib/components/QCheckbox/constants.d.ts.map +1 -1
  58. package/lib/components/QCheckbox/constants.js +4 -4
  59. package/lib/components/QCheckbox/index.d.ts +10 -72
  60. package/lib/components/QCheckbox/index.d.ts.map +1 -1
  61. package/lib/components/QCheckbox/types.d.ts +2 -8
  62. package/lib/components/QCheckbox/types.d.ts.map +1 -1
  63. package/lib/components/QCollapsible/QCollapsible.d.ts +1 -1
  64. package/lib/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  65. package/lib/components/QCollapsible/QCollapsible.vue.js +20 -27
  66. package/lib/components/QCollapsible/index.d.ts +6 -6
  67. package/lib/components/QCollapsible/types.d.ts +2 -2
  68. package/lib/components/QCollapsible/types.d.ts.map +1 -1
  69. package/lib/components/QColorPicker/QColorPicker.d.ts +4 -18
  70. package/lib/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  71. package/lib/components/QColorPicker/QColorPicker.vue.js +52 -35
  72. package/lib/components/QColorPicker/constants.d.ts +4 -0
  73. package/lib/components/QColorPicker/constants.d.ts.map +1 -1
  74. package/lib/components/QColorPicker/index.d.ts +13 -57
  75. package/lib/components/QColorPicker/index.d.ts.map +1 -1
  76. package/lib/components/QColorPicker/types.d.ts +2 -2
  77. package/lib/components/QColorPicker/types.d.ts.map +1 -1
  78. package/lib/components/QCombobox/QCombobox.d.ts +355 -299
  79. package/lib/components/QCombobox/QCombobox.d.ts.map +1 -1
  80. package/lib/components/QCombobox/QCombobox.vue.js +236 -190
  81. package/lib/components/QCombobox/constants.d.ts +5 -0
  82. package/lib/components/QCombobox/constants.d.ts.map +1 -1
  83. package/lib/components/QCombobox/constants.js +1 -0
  84. package/lib/components/QCombobox/index.d.ts +265 -424
  85. package/lib/components/QCombobox/index.d.ts.map +1 -1
  86. package/lib/components/QCombobox/types.d.ts +2 -2
  87. package/lib/components/QCombobox/types.d.ts.map +1 -1
  88. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts +106 -229
  89. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  90. package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +894 -765
  91. package/lib/components/QDateTimePicker/constants.d.ts +6 -1
  92. package/lib/components/QDateTimePicker/constants.d.ts.map +1 -1
  93. package/lib/components/QDateTimePicker/constants.js +2 -1
  94. package/lib/components/QDateTimePicker/index.d.ts +73 -229
  95. package/lib/components/QDateTimePicker/index.d.ts.map +1 -1
  96. package/lib/components/QDateTimePicker/types.d.ts +2 -1
  97. package/lib/components/QDateTimePicker/types.d.ts.map +1 -1
  98. package/lib/components/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
  99. package/lib/components/QDefaultsProvider/types.d.ts +10 -0
  100. package/lib/components/QDefaultsProvider/types.d.ts.map +1 -1
  101. package/lib/components/QDialog/QDialog.d.ts +22 -10
  102. package/lib/components/QDialog/QDialog.d.ts.map +1 -1
  103. package/lib/components/QDialog/QDialog.vue.js +143 -108
  104. package/lib/components/QDialog/QDialogProvider.d.ts.map +1 -1
  105. package/lib/components/QDialog/QDialogProvider.vue.js +8 -3
  106. package/lib/components/QDialog/constants.d.ts +19 -1
  107. package/lib/components/QDialog/constants.d.ts.map +1 -1
  108. package/lib/components/QDialog/constants.js +16 -11
  109. package/lib/components/QDialog/index.d.ts +39 -23
  110. package/lib/components/QDialog/index.d.ts.map +1 -1
  111. package/lib/components/QDialog/types.d.ts +24 -13
  112. package/lib/components/QDialog/types.d.ts.map +1 -1
  113. package/lib/components/QDivider/QDivider.d.ts.map +1 -1
  114. package/lib/components/QDivider/QDivider.vue.js +23 -13
  115. package/lib/components/QDivider/types.d.ts +9 -0
  116. package/lib/components/QDivider/types.d.ts.map +1 -1
  117. package/lib/components/QDrawer/QDrawer.d.ts +71 -0
  118. package/lib/components/QDrawer/QDrawer.d.ts.map +1 -0
  119. package/lib/components/QDrawer/QDrawer.vue.js +461 -0
  120. package/lib/components/QDrawer/QDrawer2.vue.js +5 -0
  121. package/lib/components/QDrawer/constants.d.ts +22 -0
  122. package/lib/components/QDrawer/constants.d.ts.map +1 -0
  123. package/lib/components/QDrawer/constants.js +14 -0
  124. package/lib/components/QDrawer/index.d.ts +214 -0
  125. package/lib/components/QDrawer/index.d.ts.map +1 -0
  126. package/lib/components/QDrawer/index.js +6 -0
  127. package/lib/components/QDrawer/types.d.ts +221 -0
  128. package/lib/components/QDrawer/types.d.ts.map +1 -0
  129. package/lib/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
  130. package/lib/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  131. package/lib/components/QDropdownMenu/QDropdownMenu.vue.js +59 -52
  132. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts +118 -42
  133. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  134. package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +235 -195
  135. package/lib/components/QDropdownMenu/ids.d.ts +6 -0
  136. package/lib/components/QDropdownMenu/ids.d.ts.map +1 -1
  137. package/lib/components/QDropdownMenu/ids.js +4 -1
  138. package/lib/components/QDropdownMenu/index.d.ts +6 -6
  139. package/lib/components/QDropdownMenu/types.d.ts +6 -4
  140. package/lib/components/QDropdownMenu/types.d.ts.map +1 -1
  141. package/lib/components/QField/QField.d.ts +18 -17
  142. package/lib/components/QField/QField.d.ts.map +1 -1
  143. package/lib/components/QField/QField.vue.js +65 -50
  144. package/lib/components/QField/constants.d.ts +10 -3
  145. package/lib/components/QField/constants.d.ts.map +1 -1
  146. package/lib/components/QField/constants.js +4 -2
  147. package/lib/components/QField/index.d.ts +12 -11
  148. package/lib/components/QField/index.d.ts.map +1 -1
  149. package/lib/components/QField/types.d.ts +10 -9
  150. package/lib/components/QField/types.d.ts.map +1 -1
  151. package/lib/components/QFileUpload/QFileUpload.d.ts +28 -54
  152. package/lib/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  153. package/lib/components/QFileUpload/QFileUpload.vue.js +43 -39
  154. package/lib/components/QFileUpload/constants.d.ts +4 -0
  155. package/lib/components/QFileUpload/constants.d.ts.map +1 -1
  156. package/lib/components/QFileUpload/index.d.ts +25 -105
  157. package/lib/components/QFileUpload/index.d.ts.map +1 -1
  158. package/lib/components/QFileUpload/types.d.ts +2 -1
  159. package/lib/components/QFileUpload/types.d.ts.map +1 -1
  160. package/lib/components/QFocusWrap/QFocusWrap.d.ts +1 -0
  161. package/lib/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  162. package/lib/components/QFocusWrap/QFocusWrap.vue.js +60 -41
  163. package/lib/components/QFocusWrap/index.d.ts +3 -0
  164. package/lib/components/QFocusWrap/index.d.ts.map +1 -1
  165. package/lib/components/QFocusWrap/stack.d.ts +15 -0
  166. package/lib/components/QFocusWrap/stack.d.ts.map +1 -0
  167. package/lib/components/QFocusWrap/stack.js +11 -0
  168. package/lib/components/QFocusWrap/types.d.ts +8 -0
  169. package/lib/components/QFocusWrap/types.d.ts.map +1 -1
  170. package/lib/components/QGauge/QGauge.d.ts.map +1 -1
  171. package/lib/components/QGauge/QGauge.vue.js +153 -124
  172. package/lib/components/QGauge/types.d.ts +16 -1
  173. package/lib/components/QGauge/types.d.ts.map +1 -1
  174. package/lib/components/QGrid/QRow.d.ts +1 -1
  175. package/lib/components/QGrid/index.d.ts +3 -3
  176. package/lib/components/QIcon/QSvgSymbol.d.ts +1 -1
  177. package/lib/components/QIcon/QSvgSymbol.d.ts.map +1 -1
  178. package/lib/components/QIcon/QSvgSymbol.vue.js +31 -31
  179. package/lib/components/QIcon/utils/svgSource.d.ts +2 -2
  180. package/lib/components/QIcon/utils/svgSource.d.ts.map +1 -1
  181. package/lib/components/QInputGroup/QInputGroup.d.ts +35 -31
  182. package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  183. package/lib/components/QInputGroup/QInputGroup.vue.js +96 -49
  184. package/lib/components/QInputGroup/index.d.ts +14 -12
  185. package/lib/components/QInputGroup/index.d.ts.map +1 -1
  186. package/lib/components/QLabel/QLabel.d.ts.map +1 -1
  187. package/lib/components/QLabel/QLabel.vue.js +2 -2
  188. package/lib/components/QList/QList.d.ts +46 -17
  189. package/lib/components/QList/QList.d.ts.map +1 -1
  190. package/lib/components/QList/QList.vue.js +470 -195
  191. package/lib/components/QList/QListItem.d.ts +1 -1
  192. package/lib/components/QList/QListItem.d.ts.map +1 -1
  193. package/lib/components/QList/QListItem.vue.js +51 -43
  194. package/lib/components/QList/QListItemGroup.vue.js +1 -1
  195. package/lib/components/QList/constants.d.ts +26 -0
  196. package/lib/components/QList/constants.d.ts.map +1 -1
  197. package/lib/components/QList/context.d.ts +12 -1
  198. package/lib/components/QList/context.d.ts.map +1 -1
  199. package/lib/components/QList/context.js +2 -2
  200. package/lib/components/QList/index.d.ts +79 -22
  201. package/lib/components/QList/index.d.ts.map +1 -1
  202. package/lib/components/QList/types.d.ts +11 -9
  203. package/lib/components/QList/types.d.ts.map +1 -1
  204. package/lib/components/QMeter/QMeter.d.ts.map +1 -1
  205. package/lib/components/QMeter/QMeter.vue.js +27 -26
  206. package/lib/components/QMeter/types.d.ts +3 -0
  207. package/lib/components/QMeter/types.d.ts.map +1 -1
  208. package/lib/components/QObfuscation/QObfuscation.d.ts +8 -26
  209. package/lib/components/QObfuscation/QObfuscation.d.ts.map +1 -1
  210. package/lib/components/QObfuscation/QObfuscation.vue.js +137 -113
  211. package/lib/components/QObfuscation/constants.d.ts +4 -0
  212. package/lib/components/QObfuscation/constants.d.ts.map +1 -1
  213. package/lib/components/QObfuscation/index.d.ts +26 -81
  214. package/lib/components/QObfuscation/index.d.ts.map +1 -1
  215. package/lib/components/QObfuscation/types.d.ts +10 -1
  216. package/lib/components/QObfuscation/types.d.ts.map +1 -1
  217. package/lib/components/QOverflow/QOverflow.d.ts +7 -3
  218. package/lib/components/QOverflow/QOverflow.d.ts.map +1 -1
  219. package/lib/components/QOverflow/QOverflow.vue.js +131 -108
  220. package/lib/components/QOverflow/constants.d.ts +4 -1
  221. package/lib/components/QOverflow/constants.d.ts.map +1 -1
  222. package/lib/components/QOverflow/index.d.ts +3 -3
  223. package/lib/components/QOverflow/types.d.ts +7 -4
  224. package/lib/components/QOverflow/types.d.ts.map +1 -1
  225. package/lib/components/QOverlay/QOverlay.d.ts +14 -5
  226. package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
  227. package/lib/components/QOverlay/QOverlay.vue.js +194 -166
  228. package/lib/components/QOverlay/index.d.ts +105 -13
  229. package/lib/components/QOverlay/index.d.ts.map +1 -1
  230. package/lib/components/QOverlay/layers.d.ts +21 -0
  231. package/lib/components/QOverlay/layers.d.ts.map +1 -0
  232. package/lib/components/QOverlay/layers.js +11 -0
  233. package/lib/components/QOverlay/types.d.ts +0 -6
  234. package/lib/components/QOverlay/types.d.ts.map +1 -1
  235. package/lib/components/QPasswordField/QPasswordField.d.ts +52 -170
  236. package/lib/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  237. package/lib/components/QPasswordField/QPasswordField.vue.js +8 -3
  238. package/lib/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +2 -3
  239. package/lib/components/QPasswordField/constants.d.ts +4 -0
  240. package/lib/components/QPasswordField/constants.d.ts.map +1 -1
  241. package/lib/components/QPasswordField/index.d.ts +29 -170
  242. package/lib/components/QPasswordField/index.d.ts.map +1 -1
  243. package/lib/components/QPasswordField/types.d.ts +2 -1
  244. package/lib/components/QPasswordField/types.d.ts.map +1 -1
  245. package/lib/components/QPhoneField/QPhoneField.d.ts +491 -622
  246. package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  247. package/lib/components/QPhoneField/QPhoneField.vue.js +21 -14
  248. package/lib/components/QPhoneField/constants.d.ts +4 -0
  249. package/lib/components/QPhoneField/constants.d.ts.map +1 -1
  250. package/lib/components/QPhoneField/index.d.ts +260 -393
  251. package/lib/components/QPhoneField/index.d.ts.map +1 -1
  252. package/lib/components/QPhoneField/types.d.ts +5 -2
  253. package/lib/components/QPhoneField/types.d.ts.map +1 -1
  254. package/lib/components/QPopover/QPopover.d.ts +1 -1
  255. package/lib/components/QPopover/QPopover.d.ts.map +1 -1
  256. package/lib/components/QPopover/QPopover.vue.js +64 -42
  257. package/lib/components/QPopover/index.d.ts +3 -3
  258. package/lib/components/QPopover/types.d.ts +7 -2
  259. package/lib/components/QPopover/types.d.ts.map +1 -1
  260. package/lib/components/QProgress/QProgress.d.ts.map +1 -1
  261. package/lib/components/QProgress/QProgress.vue.js +66 -46
  262. package/lib/components/QProgress/types.d.ts +3 -0
  263. package/lib/components/QProgress/types.d.ts.map +1 -1
  264. package/lib/components/QPropertyList/QPropertyList.d.ts +1 -1
  265. package/lib/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  266. package/lib/components/QPropertyList/QPropertyList.vue.js +3 -3
  267. package/lib/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
  268. package/lib/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  269. package/lib/components/QPropertyList/QPropertyListRow.d.ts +1 -1
  270. package/lib/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  271. package/lib/components/QPropertyList/QPropertyListRow.vue.js +59 -44
  272. package/lib/components/QPropertyList/index.d.ts +8 -8
  273. package/lib/components/QPropertyList/index.d.ts.map +1 -1
  274. package/lib/components/QPropertyList/types.d.ts +3 -3
  275. package/lib/components/QPropertyList/types.d.ts.map +1 -1
  276. package/lib/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
  277. package/lib/components/QRadioGroup/QRadioButton.vue.js +5 -2
  278. package/lib/components/QRadioGroup/QRadioGroup.d.ts +2 -2
  279. package/lib/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  280. package/lib/components/QRadioGroup/QRadioGroup.vue.js +19 -18
  281. package/lib/components/QRadioGroup/index.d.ts +4 -9
  282. package/lib/components/QRadioGroup/index.d.ts.map +1 -1
  283. package/lib/components/QRadioGroup/types.d.ts +0 -6
  284. package/lib/components/QRadioGroup/types.d.ts.map +1 -1
  285. package/lib/components/QSection/QSection.d.ts +3 -3
  286. package/lib/components/QSection/QSection.d.ts.map +1 -1
  287. package/lib/components/QSection/QSection.vue.js +52 -45
  288. package/lib/components/QSection/index.d.ts +4 -4
  289. package/lib/components/QSection/types.d.ts +10 -2
  290. package/lib/components/QSection/types.d.ts.map +1 -1
  291. package/lib/components/QSelect/QSelect.d.ts +312 -114
  292. package/lib/components/QSelect/QSelect.d.ts.map +1 -1
  293. package/lib/components/QSelect/QSelect.vue.js +274 -250
  294. package/lib/components/QSelect/constants.d.ts +4 -0
  295. package/lib/components/QSelect/constants.d.ts.map +1 -1
  296. package/lib/components/QSelect/index.d.ts +176 -144
  297. package/lib/components/QSelect/index.d.ts.map +1 -1
  298. package/lib/components/QSelect/types.d.ts +4 -2
  299. package/lib/components/QSelect/types.d.ts.map +1 -1
  300. package/lib/components/QSidebar/QSidebar.d.ts +9 -9
  301. package/lib/components/QSidebar/QSidebar.d.ts.map +1 -1
  302. package/lib/components/QSidebar/QSidebar.vue.js +2 -2
  303. package/lib/components/QSidebar/QSidebarAnchor.d.ts +1 -1
  304. package/lib/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
  305. package/lib/components/QSidebar/QSidebarAnchor.vue.js +4 -4
  306. package/lib/components/QSidebar/QSidebarItem.d.ts +7 -7
  307. package/lib/components/QSidebar/QSidebarItem.vue.js +3 -3
  308. package/lib/components/QSidebar/QSidebarPanel.d.ts +3 -3
  309. package/lib/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  310. package/lib/components/QSidebar/QSidebarPanel.vue.js +81 -140
  311. package/lib/components/QSidebar/constants.d.ts.map +1 -1
  312. package/lib/components/QSidebar/constants.js +4 -5
  313. package/lib/components/QSidebar/index.d.ts +24 -24
  314. package/lib/components/QSidebar/types.d.ts +7 -6
  315. package/lib/components/QSidebar/types.d.ts.map +1 -1
  316. package/lib/components/QSteps/QStepHeader.d.ts +2 -1
  317. package/lib/components/QSteps/QStepHeader.d.ts.map +1 -1
  318. package/lib/components/QSteps/QStepHeader.vue.js +3 -4
  319. package/lib/components/QSteps/QSteps.d.ts +8 -8
  320. package/lib/components/QSteps/QSteps.d.ts.map +1 -1
  321. package/lib/components/QSteps/QSteps.vue.js +9 -6
  322. package/lib/components/QSteps/QStepsNav.d.ts +2 -1
  323. package/lib/components/QSteps/QStepsNav.d.ts.map +1 -1
  324. package/lib/components/QSteps/index.d.ts +12 -12
  325. package/lib/components/QSteps/types.d.ts +2 -2
  326. package/lib/components/QSteps/types.d.ts.map +1 -1
  327. package/lib/components/QSwitch/QSwitch.d.ts +39 -26
  328. package/lib/components/QSwitch/QSwitch.d.ts.map +1 -1
  329. package/lib/components/QSwitch/QSwitch.vue.js +64 -58
  330. package/lib/components/QSwitch/constants.d.ts +20 -0
  331. package/lib/components/QSwitch/constants.d.ts.map +1 -0
  332. package/lib/components/QSwitch/constants.js +9 -0
  333. package/lib/components/QSwitch/index.d.ts +56 -18
  334. package/lib/components/QSwitch/index.d.ts.map +1 -1
  335. package/lib/components/QSwitch/types.d.ts +21 -3
  336. package/lib/components/QSwitch/types.d.ts.map +1 -1
  337. package/lib/components/QTabs/QTab.d.ts +12 -12
  338. package/lib/components/QTabs/QTab.vue.js +3 -3
  339. package/lib/components/QTabs/QTabs.d.ts +9 -9
  340. package/lib/components/QTabs/QTabs.d.ts.map +1 -1
  341. package/lib/components/QTabs/QTabs.vue.js +92 -80
  342. package/lib/components/QTabs/index.d.ts +16 -16
  343. package/lib/components/QTabs/types.d.ts +2 -2
  344. package/lib/components/QTabs/types.d.ts.map +1 -1
  345. package/lib/components/QTextArea/QTextArea.d.ts +1 -0
  346. package/lib/components/QTextArea/QTextArea.d.ts.map +1 -1
  347. package/lib/components/QTextArea/QTextArea.vue.js +6 -1
  348. package/lib/components/QTextArea/index.d.ts +1 -0
  349. package/lib/components/QTextArea/index.d.ts.map +1 -1
  350. package/lib/components/QTextField/QTextField.d.ts +30 -42
  351. package/lib/components/QTextField/QTextField.d.ts.map +1 -1
  352. package/lib/components/QTextField/QTextField.vue.js +7 -2
  353. package/lib/components/QTextField/constants.d.ts +4 -0
  354. package/lib/components/QTextField/constants.d.ts.map +1 -1
  355. package/lib/components/QTextField/index.d.ts +26 -69
  356. package/lib/components/QTextField/index.d.ts.map +1 -1
  357. package/lib/components/QTextField/types.d.ts +2 -1
  358. package/lib/components/QTextField/types.d.ts.map +1 -1
  359. package/lib/components/QToast/QToast.d.ts +1 -1
  360. package/lib/components/QToast/QToast.d.ts.map +1 -1
  361. package/lib/components/QToast/QToast.vue.js +148 -134
  362. package/lib/components/QToast/QToaster.d.ts +3 -1
  363. package/lib/components/QToast/QToaster.d.ts.map +1 -1
  364. package/lib/components/QToast/QToaster.vue.js +78 -47
  365. package/lib/components/QToast/index.d.ts +9 -7
  366. package/lib/components/QToast/index.d.ts.map +1 -1
  367. package/lib/components/QToast/types.d.ts +2 -2
  368. package/lib/components/QToast/types.d.ts.map +1 -1
  369. package/lib/components/QToggle/QToggle.d.ts.map +1 -1
  370. package/lib/components/QToggle/QToggle.vue.js +2 -0
  371. package/lib/components/QToggle/index.d.ts +3 -3
  372. package/lib/components/QToggleGroup/QToggleGroupItem.d.ts +8 -1
  373. package/lib/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
  374. package/lib/components/QToggleGroup/QToggleGroupItem.vue.js +67 -16
  375. package/lib/components/QToggleGroup/index.d.ts +24 -3
  376. package/lib/components/QToggleGroup/index.d.ts.map +1 -1
  377. package/lib/components/QTooltip/QTooltip.d.ts +1 -1
  378. package/lib/components/QTooltip/QTooltip.vue.js +1 -1
  379. package/lib/components/QTooltip/index.d.ts +3 -3
  380. package/lib/components/__internal__/QChevron/QChevron.d.ts +1 -1
  381. package/lib/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
  382. package/lib/components/__internal__/QChevron/index.d.ts +3 -3
  383. package/lib/components/__internal__/QChevron/types.d.ts +2 -2
  384. package/lib/components/__internal__/QChevron/types.d.ts.map +1 -1
  385. package/lib/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
  386. package/lib/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
  387. package/lib/components/__internal__/QClearButton/index.d.ts +1 -1
  388. package/lib/components/__internal__/QClearButton/types.d.ts +2 -2
  389. package/lib/components/__internal__/QClearButton/types.d.ts.map +1 -1
  390. package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts +7 -7
  391. package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -1
  392. package/lib/components/__internal__/QHelpPopover/QHelpPopover.vue.js +3 -6
  393. package/lib/components/__internal__/QHelpPopover/index.d.ts +7 -7
  394. package/lib/components/__internal__/QHelpPopover/types.d.ts +2 -2
  395. package/lib/components/__internal__/QHelpPopover/types.d.ts.map +1 -1
  396. package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts +34 -0
  397. package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts.map +1 -0
  398. package/lib/components/__internal__/QListboxPanel/QListboxPanel.vue.js +76 -0
  399. package/lib/components/__internal__/QListboxPanel/QListboxPanel2.vue.js +5 -0
  400. package/lib/components/__internal__/QListboxPanel/constants.d.ts +17 -0
  401. package/lib/components/__internal__/QListboxPanel/constants.d.ts.map +1 -0
  402. package/lib/components/__internal__/QListboxPanel/constants.js +4 -0
  403. package/lib/components/__internal__/QListboxPanel/index.d.ts +52 -0
  404. package/lib/components/__internal__/QListboxPanel/index.d.ts.map +1 -0
  405. package/lib/components/__internal__/QListboxPanel/index.js +7 -0
  406. package/lib/components/__internal__/QListboxPanel/types.d.ts +50 -0
  407. package/lib/components/__internal__/QListboxPanel/types.d.ts.map +1 -0
  408. package/lib/components/__internal__/QListboxPanel/utils.d.ts +4 -0
  409. package/lib/components/__internal__/QListboxPanel/utils.d.ts.map +1 -0
  410. package/lib/components/__internal__/QListboxPanel/utils.js +6 -0
  411. package/lib/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +1 -1
  412. package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts +16 -0
  413. package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts.map +1 -0
  414. package/lib/components/__internal__/QResizeHandle/QResizeButtons.vue.js +72 -0
  415. package/lib/components/__internal__/QResizeHandle/QResizeButtons2.vue.js +5 -0
  416. package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts +15 -0
  417. package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts.map +1 -0
  418. package/lib/components/__internal__/QResizeHandle/QResizeHandle.vue.js +74 -0
  419. package/lib/components/__internal__/QResizeHandle/QResizeHandle2.vue.js +5 -0
  420. package/lib/components/__internal__/QResizeHandle/constants.d.ts +22 -0
  421. package/lib/components/__internal__/QResizeHandle/constants.d.ts.map +1 -0
  422. package/lib/components/__internal__/QResizeHandle/constants.js +10 -0
  423. package/lib/components/__internal__/QResizeHandle/index.d.ts +28 -0
  424. package/lib/components/__internal__/QResizeHandle/index.d.ts.map +1 -0
  425. package/lib/components/__internal__/QResizeHandle/index.js +7 -0
  426. package/lib/components/__internal__/QResizeHandle/types.d.ts +107 -0
  427. package/lib/components/__internal__/QResizeHandle/types.d.ts.map +1 -0
  428. package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts +42 -0
  429. package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts.map +1 -0
  430. package/lib/components/__internal__/QResizeHandle/useEdgeResize.js +36 -0
  431. package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts +39 -0
  432. package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts.map +1 -0
  433. package/lib/components/__internal__/QResizeHandle/useResizePane.js +22 -0
  434. package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
  435. package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +1 -1
  436. package/lib/components/__internal__/QSafeTriangle/index.d.ts +2 -2
  437. package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts +24 -0
  438. package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts.map +1 -0
  439. package/lib/components/__internal__/QSeverityContent/QSeverityContent.vue.js +58 -0
  440. package/lib/components/__internal__/QSeverityContent/QSeverityContent2.vue.js +5 -0
  441. package/lib/components/__internal__/QSeverityContent/index.d.ts +31 -0
  442. package/lib/components/__internal__/QSeverityContent/index.d.ts.map +1 -0
  443. package/lib/components/__internal__/QSeverityContent/index.js +6 -0
  444. package/lib/components/__internal__/QSeverityContent/types.d.ts +67 -0
  445. package/lib/components/__internal__/QSeverityContent/types.d.ts.map +1 -0
  446. package/lib/components/index.d.ts +1 -0
  447. package/lib/components/index.d.ts.map +1 -1
  448. package/lib/components/index.js +72 -70
  449. package/lib/composables/defaults.d.ts +25 -1
  450. package/lib/composables/defaults.d.ts.map +1 -1
  451. package/lib/composables/defaults.js +15 -7
  452. package/lib/composables/useColor/index.d.ts +9 -3
  453. package/lib/composables/useColor/index.d.ts.map +1 -1
  454. package/lib/composables/useColor/index.js +50 -42
  455. package/lib/composables/useColor/types.d.ts +17 -4
  456. package/lib/composables/useColor/types.d.ts.map +1 -1
  457. package/lib/composables/useDialog/_internal.js +1 -1
  458. package/lib/composables/useDialog/types.d.ts +6 -2
  459. package/lib/composables/useDialog/types.d.ts.map +1 -1
  460. package/lib/composables/useScrollTabStop/index.d.ts +17 -0
  461. package/lib/composables/useScrollTabStop/index.d.ts.map +1 -0
  462. package/lib/composables/useScrollTabStop/index.js +45 -0
  463. package/lib/composables/useVirtualList/index.d.ts +73 -0
  464. package/lib/composables/useVirtualList/index.d.ts.map +1 -0
  465. package/lib/composables/useVirtualList/index.js +83 -0
  466. package/lib/index.d.ts +2 -1
  467. package/lib/index.d.ts.map +1 -1
  468. package/lib/types/component.d.ts +12 -5
  469. package/lib/types/component.d.ts.map +1 -1
  470. package/lib/types/index.d.ts +1 -1
  471. package/lib/types/index.d.ts.map +1 -1
  472. package/lib/utils/bidi.d.ts +27 -0
  473. package/lib/utils/bidi.d.ts.map +1 -0
  474. package/lib/utils/bidi.js +15 -0
  475. package/lib/utils/boundedValue.d.ts +20 -0
  476. package/lib/utils/boundedValue.d.ts.map +1 -0
  477. package/lib/utils/boundedValue.js +9 -0
  478. package/lib/utils/color/blend.d.ts +13 -0
  479. package/lib/utils/color/blend.d.ts.map +1 -1
  480. package/lib/utils/color/blend.js +6 -3
  481. package/lib/utils/color/contrast.d.ts +19 -0
  482. package/lib/utils/color/contrast.d.ts.map +1 -1
  483. package/lib/utils/color/contrast.js +26 -11
  484. package/lib/utils/color/index.d.ts +1 -1
  485. package/lib/utils/color/index.d.ts.map +1 -1
  486. package/lib/utils/date.d.ts +18 -8
  487. package/lib/utils/date.d.ts.map +1 -1
  488. package/lib/utils/date.js +26 -14
  489. package/lib/utils/index.js +14 -13
  490. package/lib/utils/overlay.d.ts +6 -0
  491. package/lib/utils/overlay.d.ts.map +1 -1
  492. package/lib/utils/overlay.js +10 -10
  493. package/lib/utils/popupLabel.d.ts +15 -0
  494. package/lib/utils/popupLabel.d.ts.map +1 -0
  495. package/lib/utils/popupLabel.js +6 -0
  496. package/lib/utils/railWidth.d.ts +15 -0
  497. package/lib/utils/railWidth.d.ts.map +1 -0
  498. package/lib/utils/railWidth.js +4 -0
  499. package/lib/utils/safeTriangle.d.ts +4 -4
  500. package/lib/utils/safeTriangle.d.ts.map +1 -1
  501. package/lib/utils/slots.d.ts +11 -2
  502. package/lib/utils/slots.d.ts.map +1 -1
  503. package/lib/utils/slots.js +7 -4
  504. package/lib/utils/theme.d.ts +3 -3
  505. package/lib/utils/theme.d.ts.map +1 -1
  506. package/lib/utils/theme.js +31 -31
  507. package/package.json +1 -1
@@ -6,19 +6,19 @@ import { ensureContrast as f, getComplementaryColor as p, getContrastRatio as m,
6
6
  import { mergeColorSchemes as _ } from "./color/merge.js";
7
7
  import { THEME_COLOR_KEYS as v, isThemeColor as y, isUnsupportedColor as b } from "./color/theme-colors.js";
8
8
  import { hasSlotContent as x } from "./slots.js";
9
- import { addDays as S, addMonths as C, advancePastFormatLiteral as w, clampDayByMonthYear as T, clampNumericSegments as E, completePartialDateInput as D, convertDatePatternToMask as O, formatDate as k, formatUsesSeconds as A, formatUsesTime as j, getDaysInMonth as M, getEndOfDay as N, getFirstDayOfMonth as P, getFirstDayOfWeek as F, getLastDayOfMonth as I, getStartOfDay as L, inputIncludesTimePortion as R, isBetween as z, isLeapYear as B, isSameDay as V, isTimeOnlyFormat as H, normalizeNumericToken as U, padNumber as W, parseDate as G, parseDateWithCompletion as K, parseIsoDate as q, uses12HourFormat as J } from "./date.js";
10
- import { applyMask as Y } from "./mask.js";
11
- import { DENSITIES as X, getGlobalDensity as Z, setGlobalDensity as Q } from "./density.js";
9
+ import { addDays as S, addMonths as C, advancePastFormatLiteral as w, clampDayByMonthYear as T, clampNumericSegments as E, completePartialDateInput as D, convertDatePatternToMask as O, formatDate as k, formatUsesSeconds as A, formatUsesTime as j, getDaysInMonth as M, getEndOfDay as N, getFirstDayOfMonth as P, getFirstDayOfWeek as F, getLastDayOfMonth as I, getStartOfDay as L, inputIncludesTimePortion as R, isBetween as z, isLeapYear as B, isSameDay as V, isTimeOnlyFormat as H, normalizeNumericToken as U, padNumber as W, padNumericSegments as G, parseDate as K, parseDateWithCompletion as q, parseIsoDate as J, uses12HourFormat as Y } from "./date.js";
10
+ import { applyMask as X } from "./mask.js";
11
+ import { DENSITIES as Z, getGlobalDensity as Q, setGlobalDensity as $ } from "./density.js";
12
12
  //#region src/utils/index.ts
13
- var $ = /* @__PURE__ */ e({
13
+ var ee = /* @__PURE__ */ e({
14
14
  COLOR_SCHEME_DARKEN_AMOUNT: () => 40,
15
15
  COLOR_SCHEME_LIGHTEN_AMOUNT: () => 75,
16
- DENSITIES: () => X,
16
+ DENSITIES: () => Z,
17
17
  THEME_COLOR_KEYS: () => v,
18
18
  addDays: () => S,
19
19
  addMonths: () => C,
20
20
  advancePastFormatLiteral: () => w,
21
- applyMask: () => Y,
21
+ applyMask: () => X,
22
22
  clampDayByMonthYear: () => T,
23
23
  clampNumericSegments: () => E,
24
24
  completePartialDateInput: () => D,
@@ -35,7 +35,7 @@ var $ = /* @__PURE__ */ e({
35
35
  getEndOfDay: () => N,
36
36
  getFirstDayOfMonth: () => P,
37
37
  getFirstDayOfWeek: () => F,
38
- getGlobalDensity: () => Z,
38
+ getGlobalDensity: () => Q,
39
39
  getLastDayOfMonth: () => I,
40
40
  getRelativeLuminance: () => g,
41
41
  getStartOfDay: () => L,
@@ -54,17 +54,18 @@ var $ = /* @__PURE__ */ e({
54
54
  mergeColorSchemes: () => _,
55
55
  normalizeNumericToken: () => U,
56
56
  padNumber: () => W,
57
+ padNumericSegments: () => G,
57
58
  parseColor: () => l,
58
- parseDate: () => G,
59
- parseDateWithCompletion: () => K,
60
- parseIsoDate: () => q,
59
+ parseDate: () => K,
60
+ parseDateWithCompletion: () => q,
61
+ parseIsoDate: () => J,
61
62
  rgbToHex: () => r,
62
63
  rgbToHsl: () => i,
63
64
  rgbToVariableString: () => a,
64
- setGlobalDensity: () => Q,
65
+ setGlobalDensity: () => $,
65
66
  tryParseColor: () => u,
66
67
  tryParseRgb: () => d,
67
- uses12HourFormat: () => J
68
+ uses12HourFormat: () => Y
68
69
  });
69
70
  //#endregion
70
- export { X as DENSITIES, v as THEME_COLOR_KEYS, S as addDays, C as addMonths, w as advancePastFormatLiteral, Y as applyMask, T as clampDayByMonthYear, E as clampNumericSegments, D as completePartialDateInput, O as convertDatePatternToMask, o as darken, f as ensureContrast, k as formatDate, A as formatUsesSeconds, j as formatUsesTime, p as getComplementaryColor, m as getContrastRatio, h as getContrastingColor, M as getDaysInMonth, N as getEndOfDay, P as getFirstDayOfMonth, F as getFirstDayOfWeek, Z as getGlobalDensity, I as getLastDayOfMonth, g as getRelativeLuminance, L as getStartOfDay, x as hasSlotContent, t as hslToRgb, n as hueToRgb, R as inputIncludesTimePortion, z as isBetween, B as isLeapYear, V as isSameDay, y as isThemeColor, H as isTimeOnlyFormat, b as isUnsupportedColor, c as isValidHex, s as lighten, _ as mergeColorSchemes, U as normalizeNumericToken, W as padNumber, l as parseColor, G as parseDate, K as parseDateWithCompletion, q as parseIsoDate, r as rgbToHex, i as rgbToHsl, a as rgbToVariableString, Q as setGlobalDensity, u as tryParseColor, d as tryParseRgb, J as uses12HourFormat, $ as utils_exports };
71
+ export { Z as DENSITIES, v as THEME_COLOR_KEYS, S as addDays, C as addMonths, w as advancePastFormatLiteral, X as applyMask, T as clampDayByMonthYear, E as clampNumericSegments, D as completePartialDateInput, O as convertDatePatternToMask, o as darken, f as ensureContrast, k as formatDate, A as formatUsesSeconds, j as formatUsesTime, p as getComplementaryColor, m as getContrastRatio, h as getContrastingColor, M as getDaysInMonth, N as getEndOfDay, P as getFirstDayOfMonth, F as getFirstDayOfWeek, Q as getGlobalDensity, I as getLastDayOfMonth, g as getRelativeLuminance, L as getStartOfDay, x as hasSlotContent, t as hslToRgb, n as hueToRgb, R as inputIncludesTimePortion, z as isBetween, B as isLeapYear, V as isSameDay, y as isThemeColor, H as isTimeOnlyFormat, b as isUnsupportedColor, c as isValidHex, s as lighten, _ as mergeColorSchemes, U as normalizeNumericToken, W as padNumber, G as padNumericSegments, l as parseColor, K as parseDate, q as parseDateWithCompletion, J as parseIsoDate, r as rgbToHex, i as rgbToHsl, a as rgbToVariableString, $ as setGlobalDensity, u as tryParseColor, d as tryParseRgb, Y as uses12HourFormat, ee as utils_exports };
@@ -58,6 +58,12 @@ export type ComputePositionOptions = {
58
58
  * Whether to compute the position of the overlay arrow.
59
59
  */
60
60
  arrow?: boolean;
61
+ /**
62
+ * The narrowest the overlay can be without scrolling sideways, such as the minimum width of a
63
+ * menu. Beside its anchor (`left` or `right`), an overlay with less room than that goes over
64
+ * the anchor instead of shrinking to scroll sideways. Defaults to 0.
65
+ */
66
+ minWidth?: number;
61
67
  };
62
68
  /**
63
69
  * Result of computing the position of the overlay.
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/utils/overlay.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAA;AAE/C;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;AAElD;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,GAAG,GAAG,GAAG,CAAA;AAE5B;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAEvC;;;;GAIG;AACH,MAAM,MAA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,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAC5B,MAAM,CAcR"}
@@ -1,21 +1,21 @@
1
1
  //#region src/utils/overlay.ts
2
2
  var e = 8;
3
3
  function t(t, u, p, m) {
4
- let g = m?.offset ?? 0, _ = m?.crossOffset ?? 0, v = m?.placement ?? "bottom", y = t.getBoundingClientRect(), b = u.getBoundingClientRect(), x = p?.getBoundingClientRect(), S = n(y, b, v, g), C = d(S) === "y" ? "height" : "width", w = l(y, b, S, g), T = b[C] + w - e, E = h(w) && T <= 0, D;
5
- h(w) ? E || (D = T) : D = b[C];
6
- let O = i(b, S, D), k = O ? {
7
- width: Math.min(b.width, O.width),
8
- height: Math.min(b.height, O.height)
9
- } : b, A = r(o(a(c(y, k, S), S, g), S, _), k, E ? ["x", "y"] : [f(S)]), j;
4
+ let g = m?.offset ?? 0, _ = m?.crossOffset ?? 0, v = m?.placement ?? "bottom", y = t.getBoundingClientRect(), b = u.getBoundingClientRect(), x = p?.getBoundingClientRect(), S = n(y, b, v, g), C = d(S) === "y" ? "height" : "width", w = l(y, b, S, g), T = b[C] + w - e, E = C === "width" ? m?.minWidth ?? 0 : 0, D = h(w) && (T <= 0 || T < E), O;
5
+ h(w) ? D || (O = T) : O = b[C];
6
+ let k = i(b, S, O), A = k ? {
7
+ width: Math.min(b.width, k.width),
8
+ height: Math.min(b.height, k.height)
9
+ } : b, j = r(o(a(c(y, A, S), S, g), S, _), A, D ? ["x", "y"] : [f(S)]), M;
10
10
  if (m?.arrow) {
11
11
  if (!x) throw Error("[Quidgest UI] The arrow element must exist to compute its position");
12
- E || (j = s(A, y, k, x, S));
12
+ D || (M = s(j, y, A, x, S));
13
13
  }
14
14
  return {
15
- overlayCoords: A,
16
- arrowCoords: j,
15
+ overlayCoords: j,
16
+ arrowCoords: M,
17
17
  placement: S,
18
- maxSize: O
18
+ maxSize: k
19
19
  };
20
20
  }
21
21
  function n(e, t, n, r) {
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The accessible name of a combobox's popup, which takes the combobox's name: the `aria-label`
3
+ * the app gives the component, or else the text of the `<label>` elements that point at its
4
+ * input. That is the field's own label, or one outside it, such as a `QPropertyList` row label.
5
+ * An `aria-labelledby` on the component names both the combobox and the popup, so the component
6
+ * passes it to the popup as it is. A popup with no name fails WCAG 4.1.2.
7
+ *
8
+ * Call it in the render that opening the popup causes, so the labels are those on the page then.
9
+ *
10
+ * @param ariaLabel - The `aria-label` the app gave the component, from its attrs.
11
+ * @param input - The input of the combobox.
12
+ * @returns The name, or `undefined` when the combobox has none.
13
+ */
14
+ export declare function getPopupLabel(ariaLabel: unknown, input: HTMLInputElement | null | undefined): string | undefined;
15
+ //# sourceMappingURL=popupLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popupLabel.d.ts","sourceRoot":"","sources":["../../src/utils/popupLabel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAC5B,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GACxC,MAAM,GAAG,SAAS,CAMpB"}
@@ -0,0 +1,6 @@
1
+ //#region src/utils/popupLabel.ts
2
+ function e(e, t) {
3
+ return typeof e == "string" ? e : Array.from(t?.labels ?? []).map((e) => e.textContent?.trim()).filter(Boolean).join(" ") || void 0;
4
+ }
5
+ //#endregion
6
+ export { e as getPopupLabel };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Default rail (mini) width as a CSS length.
3
+ *
4
+ * Reads `--q-rail-width` when the app sets it, otherwise the spacing-scale
5
+ * expression. Shared by `QDrawer` (`railWidth` default) and `.q-sidebar-anchor`
6
+ * so both stay aligned when the token changes.
7
+ */
8
+ export declare const DEFAULT_RAIL_WIDTH = "var(--q-rail-width, calc(var(--q-space-1) * 12.5))";
9
+ /**
10
+ * Regular-density CSS-pixel equivalent of the fallback inside
11
+ * {@link DEFAULT_RAIL_WIDTH} at a 16px root (`0.25rem × 12.5` → 50). For clamp
12
+ * math such as `QDrawer`'s `minWidth` (does not read a live CSS variable).
13
+ */
14
+ export declare const DEFAULT_RAIL_WIDTH_PX = 50;
15
+ //# sourceMappingURL=railWidth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"railWidth.d.ts","sourceRoot":"","sources":["../../src/utils/railWidth.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,uDAAuD,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,KAAK,CAAA"}
@@ -0,0 +1,4 @@
1
+ //#region src/utils/railWidth.ts
2
+ var e = "var(--q-rail-width, calc(var(--q-space-1) * 12.5))";
3
+ //#endregion
4
+ export { e as DEFAULT_RAIL_WIDTH };
@@ -1,12 +1,12 @@
1
1
  import { Placement } from './overlay';
2
- export type SafeTriangleGeometry = {
2
+ export type QSafeTriangleGeometry = {
3
3
  left: number;
4
4
  top: number;
5
5
  width: number;
6
6
  height: number;
7
7
  path: string;
8
8
  };
9
- export type SafeTriangleVertices = {
9
+ export type QSafeTriangleVertices = {
10
10
  a: {
11
11
  x: number;
12
12
  y: number;
@@ -49,11 +49,11 @@ export declare function resolveSafeTrianglePlacement(preferred: Placement, paren
49
49
  /**
50
50
  * Builds safe triangle vertices for a submenu placement.
51
51
  */
52
- export declare function getSafeTriangleVertices(placement: Placement, contentRect: DOMRect, cursorX: number, cursorY: number): SafeTriangleVertices | null;
52
+ export declare function getSafeTriangleVertices(placement: Placement, contentRect: DOMRect, cursorX: number, cursorY: number): QSafeTriangleVertices | null;
53
53
  /**
54
54
  * Builds SVG geometry for the safe triangle overlay.
55
55
  */
56
- export declare function getSafeTriangleGeometry(placement: Placement, contentRect: DOMRect, cursorX: number, cursorY: number): SafeTriangleGeometry | null;
56
+ export declare function getSafeTriangleGeometry(placement: Placement, contentRect: DOMRect, cursorX: number, cursorY: number): QSafeTriangleGeometry | null;
57
57
  /**
58
58
  * Returns whether the pointer is inside any submenu body nested under a menu panel.
59
59
  */
@@ -1 +1 @@
1
- {"version":3,"file":"safeTriangle.d.ts","sourceRoot":"","sources":["../../src/utils/safeTriangle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAClC,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3B,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3B,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IACnB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACT,CAAA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAE1E;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAChC,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3B,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3B,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAA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AI,CAmB9B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,OAAO,EACpB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACb,qBAAqB,GAAG,IAAI,CA4C9B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,WAAW,GAAG,IAAI,GAC7B,OAAO,CAMT;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC3C,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,OAAO,GAAG,IAAI,EAC1B,WAAW,EAAE,OAAO,GAAG,IAAI,EAC3B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,KAAK,GAAG,IAAI,EAClB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,GAC9B,OAAO,CAYT"}
@@ -15,6 +15,14 @@ export type QHasSlotContentOptions = {
15
15
  * that content in place of an empty slot, or the check and the page disagree.
16
16
  */
17
17
  ignoreBlankText?: boolean;
18
+ /**
19
+ * Whether only text counts as content: text that is not blank, on its own or inside an
20
+ * element or a fragment. What a component renders, such as a `QIcon`, is not looked into, so
21
+ * a slot with only an icon has no text. Use it where text in a slot is another way to set a
22
+ * label, such as `<q-button><q-icon icon="content-copy" /> Copy</q-button>`. Blank text never
23
+ * counts, whatever `ignoreBlankText` says. Defaults to `false`.
24
+ */
25
+ textOnly?: boolean;
18
26
  };
19
27
  /**
20
28
  * Whether a slot renders anything: a node that is not a comment, looking inside fragments.
@@ -23,7 +31,7 @@ export type QHasSlotContentOptions = {
23
31
  * false `v-if`, which Vue renders as a comment. `$slots.name` is set all the same, so a wrapper
24
32
  * shown on it would render empty. By default this is exactly the rule Vue uses to show a slot's
25
33
  * fallback content (`ensureValidVNode`), so a check and a fallback never disagree. Only
26
- * `ignoreBlankText` departs from it.
34
+ * `ignoreBlankText` and `textOnly` depart from it.
27
35
  *
28
36
  * Call it while rendering, in the template or a function the template calls, never in a
29
37
  * `computed`: the slots object is not reactive, so a computed keeps its first answer.
@@ -36,7 +44,8 @@ export type QHasSlotContentOptions = {
36
44
  * ```
37
45
  *
38
46
  * @param slot - The slot, from `$slots` or `useSlots()`. Its props type does not matter.
39
- * @param options - The props to pass to a scoped slot, and whether blank text counts.
47
+ * @param options - The props to pass to a scoped slot, whether blank text counts, and whether
48
+ * only text does.
40
49
  * @returns Whether the slot renders content.
41
50
  */
42
51
  export declare function hasSlotContent(slot: ((props: never) => unknown) | undefined, options?: QHasSlotContentOptions): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/utils/slots.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,0CAA0C;AAC1C,MAAM,MAAM,sBAAsB,GAAG;IACpC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE/B;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAC7B,IAAI,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,GAAG,SAAS,EAC7C,OAAO,GAAE,sBAA2B,GAClC,OAAO,CAQT"}
1
+ {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/utils/slots.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,0CAA0C;AAC1C,MAAM,MAAM,sBAAsB,GAAG;IACpC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE/B;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,cAAc,CAC7B,IAAI,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,GAAG,SAAS,EAC7C,OAAO,GAAE,sBAA2B,GAClC,OAAO,CAST"}
@@ -3,12 +3,15 @@ import { Comment as e, Fragment as t, Text as n, isVNode as r } from "vue";
3
3
  function i(e, t = {}) {
4
4
  if (e === void 0) return !1;
5
5
  let n = e(t.props ?? {});
6
- return a(Array.isArray(n) ? n : [n], t.ignoreBlankText ?? !1);
6
+ return t.textOnly ? o(n) : a(Array.isArray(n) ? n : [n], t.ignoreBlankText ?? !1);
7
7
  }
8
- function a(i, s) {
9
- return i.some((i) => r(i) ? i.type === e ? !1 : i.type === t ? Array.isArray(i.children) && a(i.children, s) : i.type === n ? !(s && o(i.children)) : !0 : !(s && o(i)));
8
+ function a(i, o) {
9
+ return i.some((i) => r(i) ? i.type === e ? !1 : i.type === t ? Array.isArray(i.children) && a(i.children, o) : i.type === n ? !(o && s(i.children)) : !0 : !(o && s(i)));
10
10
  }
11
- function o(e) {
11
+ function o(i) {
12
+ return typeof i == "string" ? !s(i) : typeof i == "number" ? !0 : Array.isArray(i) ? i.some(o) : !r(i) || i.type === e ? !1 : (typeof i.type == "string" || i.type === n || i.type === t) && o(i.children);
13
+ }
14
+ function s(e) {
12
15
  return typeof e == "string" && e.trim() === "";
13
16
  }
14
17
  //#endregion
@@ -13,9 +13,9 @@ declare const TINTED_COLORS: readonly ["primary", "info", "success", "warning",
13
13
  * Derives the focus ring color of a scheme: `primary`, darkened or lightened on the same
14
14
  * hue until it clears {@link FOCUS_RING_MINIMUM_RATIO} against the surfaces focusable
15
15
  * elements sit on: `background`, `container`, and the 12% tonal tints of `primary`, `info`,
16
- * `success`, `warning` and `danger` over the background (the darkest of them on a light
17
- * theme). A `primary` that already passes is used as is, so the ring keeps the brand color
18
- * wherever the theme allows it.
16
+ * `success`, `warning` and `danger` over the background, as the browser paints them (the
17
+ * darkest of them on a light theme). A `primary` that already passes is used as is, so the
18
+ * ring keeps the brand color wherever the theme allows it.
19
19
  *
20
20
  * The surfaces are expected to sit on the same side of the scale (all light or all dark),
21
21
  * as in every built-in theme; a 12% tint stays on the background's side. A light background
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/utils/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,aAAa,YAAY,CAAA;AAEtC;;;GAGG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAA;AAEzC,iGAAiG;AACjG,QAAA,MAAM,aAAa,8DAA+D,CAAA;AAElF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,CAAC,GACjE,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAC1D,MAAM,CAcR;AAED;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,gBAAgB,CAY/C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,UAwBvD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,QAM3D;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,UAOvC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EACjB,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,gBAAgB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;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,UAEzC"}
@@ -1,53 +1,53 @@
1
1
  import { rgbToHex as e } from "./color/conversion.js";
2
2
  import { parseColor as t } from "./color/parse.js";
3
3
  import { ensureContrast as n } from "./color/contrast.js";
4
- import { TONAL_SURFACE_ALPHA as r, blendOver as i } from "./color/blend.js";
5
- import { toKebabCase as a } from "./string.js";
6
- import { computed as o } from "vue";
4
+ import { TONAL_SURFACE_ALPHA as r, blendOver as i, paintedAlpha as a } from "./color/blend.js";
5
+ import { toKebabCase as o } from "./string.js";
6
+ import { computed as s } from "vue";
7
7
  //#region src/utils/theme.ts
8
- var s = "q-theme", c = [
8
+ var c = "q-theme", l = [
9
9
  "primary",
10
10
  "info",
11
11
  "success",
12
12
  "warning",
13
13
  "danger"
14
14
  ];
15
- function l(a) {
16
- let o = t(a.background), s = c.flatMap((n) => {
17
- let s = a[n];
18
- return s ? [e(i(t(s), o, r))] : [];
15
+ function u(o) {
16
+ let s = t(o.background), c = l.flatMap((n) => {
17
+ let c = o[n];
18
+ return c ? [e(i(t(c), s, a(r)))] : [];
19
19
  });
20
20
  return [
21
- a.background,
22
- a.container,
23
- ...s
24
- ].reduce((e, t) => n(e, t, 3), a.primary);
21
+ o.background,
22
+ o.container,
23
+ ...c
24
+ ].reduce((e, t) => n(e, t, 3), o.primary);
25
25
  }
26
- function u() {
27
- let e = document.getElementById(s);
28
- return e || (e = document.createElement("style"), e.id = s, document.head.appendChild(e)), e;
26
+ function d() {
27
+ let e = document.getElementById(c);
28
+ return e || (e = document.createElement("style"), e.id = c, document.head.appendChild(e)), e;
29
29
  }
30
- function d(e) {
31
- let n = `.${h(e.name)} {\n`, r = e.scheme, i;
30
+ function f(e) {
31
+ let n = `.${g(e.name)} {\n`, r = e.scheme, i;
32
32
  for (i in r) {
33
33
  let e = r[i];
34
34
  if (e) {
35
- n += ` ${p(i)}: ${e};\n`;
35
+ n += ` ${m(i)}: ${e};\n`;
36
36
  let r = t(e);
37
- n += ` ${p(i)}-rgb: ${r.r} ${r.g} ${r.b};\n`;
37
+ n += ` ${m(i)}-rgb: ${r.r} ${r.g} ${r.b};\n`;
38
38
  }
39
39
  }
40
- return r.primary && r.background && r.container && (n += ` ${p("focusRing")}: ${l(r)};\n`), n += "}\n", n;
40
+ return r.primary && r.background && r.container && (n += ` ${m("focusRing")}: ${u(r)};\n`), n += "}\n", n;
41
41
  }
42
- function f(e) {
43
- let t = e.map(d).join("\n"), n = u();
42
+ function p(e) {
43
+ let t = e.map(f).join("\n"), n = d();
44
44
  n.textContent = t;
45
45
  }
46
- function p(e) {
47
- return e ? `--q-theme-${a(e)}` : "";
46
+ function m(e) {
47
+ return e ? `--q-theme-${o(e)}` : "";
48
48
  }
49
- function m(e, t) {
50
- let n = o(() => {
49
+ function h(e, t) {
50
+ let n = s(() => {
51
51
  let n = t.value.find((t) => t.name === e.value);
52
52
  if (!n) throw Error(`[Quidgest UI] Theme "${e.value}" not found`);
53
53
  return n;
@@ -56,12 +56,12 @@ function m(e, t) {
56
56
  name: e,
57
57
  current: n,
58
58
  themes: t,
59
- class: o(() => h(n.value.name)),
60
- css: o(() => d(n.value))
59
+ class: s(() => g(n.value.name)),
60
+ css: s(() => f(n.value))
61
61
  };
62
62
  }
63
- function h(e) {
64
- return `q-theme--${a(e)}`;
63
+ function g(e) {
64
+ return `q-theme--${o(e)}`;
65
65
  }
66
66
  //#endregion
67
- export { s as THEME_NODE_ID, m as createThemeInstance, f as generateRootStyle, d as generateThemeCss, l as getFocusRingColor, h as getThemeClass, u as getThemeNode, p as toProperty };
67
+ export { c as THEME_NODE_ID, h as createThemeInstance, p as generateRootStyle, f as generateThemeCss, u as getFocusRingColor, g as getThemeClass, d as getThemeNode, m as toProperty };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.31.2",
4
+ "version": "0.32.1",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",