quasar 1.16.2 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/dist/api/BottomSheet.json +2 -2
  2. package/dist/api/Loading.json +0 -2
  3. package/dist/api/LoadingBar.json +1 -1
  4. package/dist/api/Notify.json +25 -25
  5. package/dist/api/QAjaxBar.json +23 -4
  6. package/dist/api/QAvatar.json +1 -1
  7. package/dist/api/QBreadcrumbsEl.json +32 -11
  8. package/dist/api/QBtn.json +35 -14
  9. package/dist/api/QBtnDropdown.json +36 -15
  10. package/dist/api/QBtnToggle.json +1 -1
  11. package/dist/api/QCarousel.json +7 -7
  12. package/dist/api/QCarouselSlide.json +2 -2
  13. package/dist/api/QChatMessage.json +1 -5
  14. package/dist/api/QChip.json +4 -4
  15. package/dist/api/QColor.json +6 -0
  16. package/dist/api/QDialog.json +7 -1
  17. package/dist/api/QExpansionItem.json +34 -13
  18. package/dist/api/QFab.json +34 -2
  19. package/dist/api/QFabAction.json +9 -1
  20. package/dist/api/QField.json +80 -6
  21. package/dist/api/QFile.json +80 -6
  22. package/dist/api/QImg.json +2 -2
  23. package/dist/api/QInnerLoading.json +32 -0
  24. package/dist/api/QInput.json +82 -6
  25. package/dist/api/QItem.json +31 -10
  26. package/dist/api/QOptionGroup.json +58 -1
  27. package/dist/api/QPagination.json +4 -4
  28. package/dist/api/QParallax.json +1 -1
  29. package/dist/api/QPopupEdit.json +14 -7
  30. package/dist/api/QPullToRefresh.json +1 -1
  31. package/dist/api/QRange.json +581 -96
  32. package/dist/api/QRating.json +3 -3
  33. package/dist/api/QRouteTab.json +32 -12
  34. package/dist/api/QScrollArea.json +188 -20
  35. package/dist/api/QSelect.json +82 -10
  36. package/dist/api/QSeparator.json +1 -1
  37. package/dist/api/QSlider.json +499 -34
  38. package/dist/api/QStep.json +4 -4
  39. package/dist/api/QStepper.json +4 -4
  40. package/dist/api/QTab.json +1 -1
  41. package/dist/api/QTable.json +4 -4
  42. package/dist/api/QTabs.json +9 -0
  43. package/dist/api/QTimelineEntry.json +2 -2
  44. package/dist/api/QToggle.json +1 -1
  45. package/dist/api/QTree.json +7 -1
  46. package/dist/api/QVideo.json +10 -0
  47. package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
  48. package/dist/icon-set/eva-icons.umd.min.js +1 -1
  49. package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
  50. package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
  51. package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
  52. package/dist/icon-set/line-awesome.umd.min.js +1 -1
  53. package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
  54. package/dist/icon-set/material-icons-round.umd.min.js +1 -1
  55. package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
  56. package/dist/icon-set/material-icons.umd.min.js +1 -1
  57. package/dist/icon-set/mdi-v3.umd.min.js +1 -1
  58. package/dist/icon-set/mdi-v4.umd.min.js +1 -1
  59. package/dist/icon-set/mdi-v5.umd.min.js +1 -1
  60. package/dist/icon-set/mdi-v6.umd.min.js +1 -1
  61. package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
  62. package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
  63. package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
  64. package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
  65. package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
  66. package/dist/icon-set/svg-ionicons-v6.umd.min.js +6 -0
  67. package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
  68. package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
  69. package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
  70. package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
  71. package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
  72. package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
  73. package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
  74. package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
  75. package/dist/icon-set/svg-themify.umd.min.js +1 -1
  76. package/dist/icon-set/themify.umd.min.js +1 -1
  77. package/dist/lang/ar.umd.min.js +2 -2
  78. package/dist/lang/az-latn.umd.min.js +1 -1
  79. package/dist/lang/bg.umd.min.js +1 -1
  80. package/dist/lang/ca.umd.min.js +1 -1
  81. package/dist/lang/cs.umd.min.js +1 -1
  82. package/dist/lang/da.umd.min.js +1 -1
  83. package/dist/lang/de.umd.min.js +1 -1
  84. package/dist/lang/el.umd.min.js +1 -1
  85. package/dist/lang/en-gb.umd.min.js +1 -1
  86. package/dist/lang/en-us.umd.min.js +1 -1
  87. package/dist/lang/eo.umd.min.js +1 -1
  88. package/dist/lang/es.umd.min.js +1 -1
  89. package/dist/lang/et.umd.min.js +1 -1
  90. package/dist/lang/fa-ir.umd.min.js +1 -1
  91. package/dist/lang/fa.umd.min.js +1 -1
  92. package/dist/lang/fi.umd.min.js +1 -1
  93. package/dist/lang/fr.umd.min.js +2 -2
  94. package/dist/lang/gn.umd.min.js +1 -1
  95. package/dist/lang/he.umd.min.js +1 -1
  96. package/dist/lang/hr.umd.min.js +1 -1
  97. package/dist/lang/hu.umd.min.js +1 -1
  98. package/dist/lang/id.umd.min.js +1 -1
  99. package/dist/lang/is.umd.min.js +1 -1
  100. package/dist/lang/it.umd.min.js +1 -1
  101. package/dist/lang/ja.umd.min.js +1 -1
  102. package/dist/lang/km.umd.min.js +1 -1
  103. package/dist/lang/ko-kr.umd.min.js +1 -1
  104. package/dist/lang/kur-ckb.umd.min.js +1 -1
  105. package/dist/lang/lu.umd.min.js +1 -1
  106. package/dist/lang/lv.umd.min.js +1 -1
  107. package/dist/lang/ml.umd.min.js +1 -1
  108. package/dist/lang/ms.umd.min.js +1 -1
  109. package/dist/lang/nb-no.umd.min.js +1 -1
  110. package/dist/lang/nl.umd.min.js +1 -1
  111. package/dist/lang/pl.umd.min.js +1 -1
  112. package/dist/lang/pt-br.umd.min.js +1 -1
  113. package/dist/lang/pt.umd.min.js +1 -1
  114. package/dist/lang/ro.umd.min.js +1 -1
  115. package/dist/lang/ru.umd.min.js +1 -1
  116. package/dist/lang/sk.umd.min.js +1 -1
  117. package/dist/lang/sl.umd.min.js +1 -1
  118. package/dist/lang/sr.umd.min.js +2 -2
  119. package/dist/lang/sv.umd.min.js +1 -1
  120. package/dist/lang/ta.umd.min.js +1 -1
  121. package/dist/lang/th.umd.min.js +1 -1
  122. package/dist/lang/tr.umd.min.js +1 -1
  123. package/dist/lang/ug.umd.min.js +2 -2
  124. package/dist/lang/uk.umd.min.js +1 -1
  125. package/dist/lang/vi.umd.min.js +1 -1
  126. package/dist/lang/zh-hans.umd.min.js +2 -2
  127. package/dist/lang/zh-hant.umd.min.js +2 -2
  128. package/dist/quasar.addon.css +1 -1
  129. package/dist/quasar.addon.rtl.css +1 -1
  130. package/dist/quasar.common.js +2 -2
  131. package/dist/quasar.css +378 -226
  132. package/dist/quasar.esm.js +2 -2
  133. package/dist/quasar.ie.polyfills.js +1 -1
  134. package/dist/quasar.ie.polyfills.umd.min.js +1 -1
  135. package/dist/quasar.min.css +1 -1
  136. package/dist/quasar.rtl.css +510 -302
  137. package/dist/quasar.rtl.min.css +1 -1
  138. package/dist/quasar.sass +326 -211
  139. package/dist/quasar.styl +326 -209
  140. package/dist/quasar.umd.js +3240 -1889
  141. package/dist/quasar.umd.min.js +2 -2
  142. package/dist/quasar.umd.modern.js +3199 -1870
  143. package/dist/quasar.umd.modern.min.js +2 -2
  144. package/dist/transform-asset-urls.json +20 -0
  145. package/dist/types/index.d.ts +427 -105
  146. package/dist/types/utils/scroll.d.ts +1 -0
  147. package/dist/vetur/quasar-attributes.json +320 -92
  148. package/dist/vetur/quasar-tags.json +76 -19
  149. package/dist/web-types/web-types.json +1296 -257
  150. package/icon-set/svg-ionicons-v6.js +225 -0
  151. package/lang/ar.js +1 -1
  152. package/lang/fa-ir.js +3 -1
  153. package/lang/fa.js +3 -1
  154. package/lang/fr.js +1 -1
  155. package/lang/index.json +1 -1
  156. package/lang/kur-ckb.js +2 -2
  157. package/lang/sr.js +4 -4
  158. package/lang/ug.js +48 -46
  159. package/lang/zh-hans.js +1 -1
  160. package/lang/zh-hant.js +18 -18
  161. package/package.json +1 -1
  162. package/src/api.extends.json +1 -2
  163. package/src/components/ajax-bar/QAjaxBar.js +48 -26
  164. package/src/components/ajax-bar/QAjaxBar.json +22 -4
  165. package/src/components/breadcrumbs/QBreadcrumbs.js +15 -11
  166. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  167. package/src/components/breadcrumbs/QBreadcrumbs.styl +0 -3
  168. package/src/components/breadcrumbs/QBreadcrumbsEl.js +25 -9
  169. package/src/components/btn/QBtn.js +3 -3
  170. package/src/components/btn-dropdown/QBtnDropdown.sass +2 -0
  171. package/src/components/btn-dropdown/QBtnDropdown.styl +2 -0
  172. package/src/components/btn-toggle/QBtnToggle.js +4 -1
  173. package/src/components/carousel/QCarousel.js +6 -2
  174. package/src/components/carousel/QCarousel.json +9 -1
  175. package/src/components/carousel/QCarouselSlide.json +2 -2
  176. package/src/components/chat/QChatMessage.json +1 -1
  177. package/src/components/color/QColor.js +100 -85
  178. package/src/components/color/QColor.json +7 -0
  179. package/src/components/color/QColor.sass +14 -24
  180. package/src/components/color/QColor.styl +14 -24
  181. package/src/components/date/QDate.js +7 -1
  182. package/src/components/date/QDate.sass +2 -0
  183. package/src/components/date/QDate.styl +2 -0
  184. package/src/components/dialog/QDialog.js +8 -4
  185. package/src/components/dialog/QDialog.json +8 -1
  186. package/src/components/drawer/QDrawer.js +16 -15
  187. package/src/components/editor/QEditor.js +2 -2
  188. package/src/components/editor/QEditor.sass +13 -1
  189. package/src/components/editor/QEditor.styl +13 -1
  190. package/src/components/expansion-item/QExpansionItem.js +13 -11
  191. package/src/components/fab/QFab.js +20 -11
  192. package/src/components/fab/QFab.json +35 -0
  193. package/src/components/fab/QFabAction.js +16 -9
  194. package/src/components/fab/QFabAction.json +10 -0
  195. package/src/components/field/QField.js +28 -23
  196. package/src/components/field/__QField.json +72 -8
  197. package/src/components/file/QFile.js +12 -4
  198. package/src/components/file/QFile.sass +4 -3
  199. package/src/components/file/QFile.styl +4 -3
  200. package/src/components/footer/QFooter.js +1 -1
  201. package/src/components/form/QForm.js +1 -1
  202. package/src/components/header/QHeader.js +1 -1
  203. package/src/components/icon/QIcon.js +92 -75
  204. package/src/components/icon/QIcon.sass +0 -1
  205. package/src/components/icon/QIcon.styl +0 -1
  206. package/src/components/img/QImg.json +2 -2
  207. package/src/components/infinite-scroll/QInfiniteScroll.js +49 -36
  208. package/src/components/inner-loading/QInnerLoading.js +54 -22
  209. package/src/components/inner-loading/QInnerLoading.json +29 -0
  210. package/src/components/inner-loading/QInnerLoading.sass +3 -0
  211. package/src/components/inner-loading/QInnerLoading.styl +3 -0
  212. package/src/components/item/QItem.js +9 -15
  213. package/src/components/layout/QLayout.js +49 -0
  214. package/src/components/linear-progress/QLinearProgress.js +6 -2
  215. package/src/components/menu/QMenu.js +5 -1
  216. package/src/components/option-group/QOptionGroup.js +32 -22
  217. package/src/components/option-group/QOptionGroup.json +50 -1
  218. package/src/components/parallax/QParallax.js +3 -0
  219. package/src/components/parallax/QParallax.json +1 -1
  220. package/src/components/popup-edit/QPopupEdit.js +41 -16
  221. package/src/components/popup-edit/QPopupEdit.json +15 -8
  222. package/src/components/range/QRange.js +223 -278
  223. package/src/components/range/QRange.json +11 -122
  224. package/src/components/rating/QRating.js +56 -38
  225. package/src/components/rating/QRating.json +3 -3
  226. package/src/components/rating/QRating.sass +8 -6
  227. package/src/components/rating/QRating.styl +8 -6
  228. package/src/components/resize-observer/QResizeObserver.js +15 -10
  229. package/src/components/scroll-area/QScrollArea.js +342 -126
  230. package/src/components/scroll-area/QScrollArea.json +164 -20
  231. package/src/components/scroll-area/QScrollArea.sass +5 -0
  232. package/src/components/scroll-area/QScrollArea.styl +5 -0
  233. package/src/components/scroll-observer/QScrollObserver.js +9 -2
  234. package/src/components/select/QSelect.js +8 -2
  235. package/src/components/select/QSelect.json +1 -1
  236. package/src/components/separator/QSeparator.js +0 -1
  237. package/src/components/separator/QSeparator.json +1 -1
  238. package/src/components/slider/QSlider.js +97 -140
  239. package/src/components/slider/QSlider.json +1 -122
  240. package/src/components/slider/QSlider.sass +205 -139
  241. package/src/components/slider/QSlider.styl +205 -139
  242. package/src/components/slider/slider-utils.js +468 -123
  243. package/src/components/slider/slider-utils.json +546 -0
  244. package/src/components/stepper/QStepper.js +1 -1
  245. package/src/components/stepper/QStepper.sass +25 -26
  246. package/src/components/stepper/QStepper.styl +25 -26
  247. package/src/components/table/QTable.sass +3 -0
  248. package/src/components/table/QTable.styl +3 -0
  249. package/src/components/tabs/QRouteTab.js +13 -13
  250. package/src/components/tabs/QRouteTab.json +0 -7
  251. package/src/components/tabs/QTab.js +71 -20
  252. package/src/components/tabs/QTabs.js +237 -52
  253. package/src/components/tabs/QTabs.json +8 -0
  254. package/src/components/tabs/QTabs.sass +6 -6
  255. package/src/components/tabs/QTabs.styl +6 -6
  256. package/src/components/time/QTime.js +6 -2
  257. package/src/components/timeline/QTimeline.sass +1 -2
  258. package/src/components/timeline/QTimeline.styl +1 -2
  259. package/src/components/timeline/QTimelineEntry.json +1 -1
  260. package/src/components/tree/QTree.js +10 -6
  261. package/src/components/tree/QTree.json +5 -0
  262. package/src/components/tree/QTree.sass +58 -4
  263. package/src/components/tree/QTree.styl +58 -4
  264. package/src/components/uploader/QUploaderBase.js +15 -19
  265. package/src/components/video/QVideo.js +4 -1
  266. package/src/components/video/QVideo.json +11 -0
  267. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  268. package/src/components/virtual-scroll/QVirtualScroll.styl +1 -0
  269. package/src/css/core/helpers.sass +3 -0
  270. package/src/css/core/helpers.styl +3 -0
  271. package/src/css/core/positioning.sass +5 -0
  272. package/src/css/core/positioning.styl +5 -0
  273. package/src/css/normalize.sass +0 -7
  274. package/src/css/variables.sass +4 -6
  275. package/src/css/variables.styl +4 -6
  276. package/src/directives/Scroll.js +2 -2
  277. package/src/directives/ScrollFire.js +1 -0
  278. package/src/ie-compat/ie.js +13 -13
  279. package/src/install.js +1 -1
  280. package/src/lang.js +7 -4
  281. package/src/mixins/anchor.js +3 -13
  282. package/src/mixins/btn.js +33 -38
  283. package/src/mixins/btn.json +26 -11
  284. package/src/mixins/file.js +27 -5
  285. package/src/mixins/fullscreen.js +16 -4
  286. package/src/mixins/portal.js +10 -10
  287. package/src/mixins/router-link.js +88 -14
  288. package/src/mixins/router-link.json +26 -10
  289. package/src/mixins/validate.js +33 -15
  290. package/src/mixins/virtual-scroll.js +40 -42
  291. package/src/plugins/AppFullscreen.js +41 -16
  292. package/src/plugins/BottomSheet.json +1 -1
  293. package/src/plugins/Cookies.js +1 -1
  294. package/src/plugins/Loading.js +8 -0
  295. package/src/plugins/LoadingBar.js +9 -0
  296. package/src/plugins/LoadingBar.json +1 -1
  297. package/src/plugins/Notify.js +351 -333
  298. package/src/plugins/Notify.json +20 -20
  299. package/src/plugins/Notify.sass +9 -3
  300. package/src/plugins/Notify.styl +9 -3
  301. package/src/utils/clone.js +53 -4
  302. package/src/utils/date.js +134 -69
  303. package/src/utils/dom.js +28 -9
  304. package/src/utils/extend.js +2 -2
  305. package/src/utils/focus-manager.js +8 -10
  306. package/src/utils/global-dialog.js +18 -1
  307. package/src/utils/is.js +2 -2
  308. package/src/utils/morph.js +2 -12
  309. package/src/utils/scroll.js +71 -35
@@ -60,7 +60,7 @@
60
60
  "map",
61
61
  "ion-add",
62
62
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
63
- "img:statics/path/to/some_image.png"
63
+ "img:path/to/some_image.png"
64
64
  ],
65
65
  "category": "content"
66
66
  },
@@ -74,7 +74,7 @@
74
74
  "map",
75
75
  "ion-add",
76
76
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
77
- "img:statics/path/to/some_image.png"
77
+ "img:path/to/some_image.png"
78
78
  ],
79
79
  "category": "content",
80
80
  "addedIn": "v1.1.0"
@@ -89,7 +89,7 @@
89
89
  "map",
90
90
  "ion-add",
91
91
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
92
- "img:statics/path/to/some_image.png"
92
+ "img:path/to/some_image.png"
93
93
  ],
94
94
  "category": "content",
95
95
  "addedIn": "v1.7.4"
@@ -14,28 +14,27 @@
14
14
  "String",
15
15
  "Object"
16
16
  ],
17
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
17
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
18
18
  "examples": [
19
19
  "/home/dashboard",
20
20
  ":to=\"{ name: 'my-route-name' }\""
21
21
  ],
22
- "category": "general",
23
- "required": true
22
+ "category": "navigation"
24
23
  },
25
24
  "exact": {
26
25
  "type": "Boolean",
27
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
28
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
29
28
  },
30
29
  "append": {
31
30
  "type": "Boolean",
32
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
33
- "category": "behavior"
31
+ "desc": "Equivalent to Vue Router <router-link> 'append' property; Superseeded by 'href' prop if used",
32
+ "category": "navigation"
34
33
  },
35
34
  "replace": {
36
35
  "type": "Boolean",
37
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
38
- "category": "behavior"
36
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
37
+ "category": "navigation"
39
38
  },
40
39
  "active-class": {
41
40
  "type": "String",
@@ -43,7 +42,7 @@
43
42
  "examples": [
44
43
  "my-active-class"
45
44
  ],
46
- "category": "behavior"
45
+ "category": "navigation"
47
46
  },
48
47
  "exact-active-class": {
49
48
  "type": "String",
@@ -51,7 +50,28 @@
51
50
  "examples": [
52
51
  "my-exact-active-class"
53
52
  ],
54
- "category": "behavior"
53
+ "category": "navigation"
54
+ },
55
+ "href": {
56
+ "type": "String",
57
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace' props",
58
+ "examples": [
59
+ "http://quasar.dev"
60
+ ],
61
+ "category": "navigation",
62
+ "addedIn": "v1.17"
63
+ },
64
+ "target": {
65
+ "type": "String",
66
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace' props",
67
+ "examples": [
68
+ "_blank",
69
+ "_self",
70
+ "_parent",
71
+ "_top"
72
+ ],
73
+ "category": "navigation",
74
+ "addedIn": "v1.17"
55
75
  },
56
76
  "disable": {
57
77
  "type": "Boolean",
@@ -78,7 +98,7 @@
78
98
  "map",
79
99
  "ion-add",
80
100
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
81
- "img:statics/path/to/some_image.png"
101
+ "img:path/to/some_image.png"
82
102
  ],
83
103
  "category": "content"
84
104
  },
@@ -16,21 +16,65 @@
16
16
  "String",
17
17
  "Object"
18
18
  ],
19
- "desc": "Object with CSS properties and values for styling the custom scrollbar",
19
+ "desc": "Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)",
20
20
  "examples": [
21
- ":bar-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
21
+ ":bar-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\""
22
22
  ],
23
23
  "category": "style",
24
24
  "addedIn": "v1.5.0"
25
25
  },
26
+ "vertical-bar-style": {
27
+ "type": [
28
+ "Array",
29
+ "String",
30
+ "Object"
31
+ ],
32
+ "desc": "Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop",
33
+ "examples": [
34
+ ":bar-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
35
+ ],
36
+ "category": "style",
37
+ "addedIn": "v1.17"
38
+ },
39
+ "horizontal-bar-style": {
40
+ "type": [
41
+ "Array",
42
+ "String",
43
+ "Object"
44
+ ],
45
+ "desc": "Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop",
46
+ "examples": [
47
+ ":bar-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
48
+ ],
49
+ "category": "style",
50
+ "addedIn": "v1.17"
51
+ },
26
52
  "thumb-style": {
27
53
  "type": "Object",
28
- "desc": "Object with CSS properties and values for styling the thumb of custom scrollbar",
54
+ "desc": "Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)",
29
55
  "examples": [
30
- ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
56
+ ":thumb-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\""
31
57
  ],
32
58
  "category": "style"
33
59
  },
60
+ "vertical-thumb-style": {
61
+ "type": "Object",
62
+ "desc": "Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop",
63
+ "examples": [
64
+ ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
65
+ ],
66
+ "category": "style",
67
+ "addedIn": "v1.17"
68
+ },
69
+ "horizontal-thumb-style": {
70
+ "type": "Object",
71
+ "desc": "Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop",
72
+ "examples": [
73
+ ":thumb-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
74
+ ],
75
+ "category": "style",
76
+ "addedIn": "v1.17"
77
+ },
34
78
  "content-style": {
35
79
  "type": [
36
80
  "Array",
@@ -76,7 +120,7 @@
76
120
  },
77
121
  "horizontal": {
78
122
  "type": "Boolean",
79
- "desc": "Register for horizontal scroll instead of vertical (which is default)",
123
+ "desc": "Changes the default axis to horizontal instead of vertical (which is default) for getScrollPosition, getScrollPercentage, setScrollPosition, and setScrollPercentage",
80
124
  "category": "behavior"
81
125
  },
82
126
  "tabindex": {
@@ -111,35 +155,35 @@
111
155
  },
112
156
  "verticalPosition": {
113
157
  "type": "Number",
114
- "desc": "Vertical scroll position (in px); available only if QScrollArea is NOT in horizontal mode"
158
+ "desc": "Vertical scroll position (in px)"
115
159
  },
116
160
  "verticalPercentage": {
117
161
  "type": "Number",
118
- "desc": "Vertical scroll percentage (0.0 < x < 1.0); available only if QScrollArea is NOT in horizontal mode"
162
+ "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
119
163
  },
120
164
  "verticalSize": {
121
165
  "type": "Number",
122
- "desc": "Vertical scroll size (in px); available only if QScrollArea is NOT in horizontal mode"
166
+ "desc": "Vertical scroll size (in px)"
123
167
  },
124
168
  "verticalContainerSize": {
125
169
  "type": "Number",
126
- "desc": "Height of the container (in px); available only if QScrollArea is NOT in horizontal mode"
170
+ "desc": "Height of the container (in px)"
127
171
  },
128
172
  "horizontalPosition": {
129
173
  "type": "Number",
130
- "desc": "Horizontal scroll position (in px); available only if QScrollArea is in horizontal mode"
174
+ "desc": "Horizontal scroll position (in px)"
131
175
  },
132
176
  "horizontalPercentage": {
133
177
  "type": "Number",
134
- "desc": "Horizontal scroll percentage (0.0 < x < 1.0); available only if QScrollArea is in horizontal mode"
178
+ "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
135
179
  },
136
180
  "horizontalSize": {
137
181
  "type": "Number",
138
- "desc": "Horizontal scroll size (in px); available only if QScrollArea is in horizontal mode"
182
+ "desc": "Horizontal scroll size (in px)"
139
183
  },
140
184
  "horizontalContainerSize": {
141
185
  "type": "Number",
142
- "desc": "Width of the container (in px); available only if QScrollArea is in horizontal mode"
186
+ "desc": "Width of the container (in px)"
143
187
  }
144
188
  }
145
189
  }
@@ -155,19 +199,134 @@
155
199
  "desc": "DOM element upon which scrolling takes place"
156
200
  }
157
201
  },
202
+ "getScroll": {
203
+ "desc": "Get the current scroll information",
204
+ "returns": {
205
+ "type": "Object",
206
+ "desc": "Scroll information",
207
+ "definition": {
208
+ "verticalPosition": {
209
+ "type": "Number",
210
+ "desc": "Vertical scroll position (in px)"
211
+ },
212
+ "verticalPercentage": {
213
+ "type": "Number",
214
+ "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
215
+ },
216
+ "verticalSize": {
217
+ "type": "Number",
218
+ "desc": "Vertical scroll size (in px)"
219
+ },
220
+ "verticalContainerSize": {
221
+ "type": "Number",
222
+ "desc": "Height of the container (in px)"
223
+ },
224
+ "horizontalPosition": {
225
+ "type": "Number",
226
+ "desc": "Horizontal scroll position (in px)"
227
+ },
228
+ "horizontalPercentage": {
229
+ "type": "Number",
230
+ "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
231
+ },
232
+ "horizontalSize": {
233
+ "type": "Number",
234
+ "desc": "Horizontal scroll size (in px)"
235
+ },
236
+ "horizontalContainerSize": {
237
+ "type": "Number",
238
+ "desc": "Width of the container (in px)"
239
+ }
240
+ }
241
+ },
242
+ "addedIn": "v1.17"
243
+ },
158
244
  "getScrollPosition": {
159
245
  "desc": "Get current scroll position",
246
+ "params": {
247
+ "axis": {
248
+ "type": "String",
249
+ "desc": "Scroll axis - defaults to 'vertical' (or to 'horizontal' if horizontal prop is set)",
250
+ "values": [
251
+ "vertical",
252
+ "horizontal",
253
+ "both"
254
+ ]
255
+ }
256
+ },
160
257
  "returns": {
161
- "type": "Number",
162
- "desc": "Scroll position offset from top (in pixels)",
258
+ "type": "Object",
259
+ "definition": {
260
+ "top": {
261
+ "type": "Number",
262
+ "desc": "Scroll offset from top (vertical)",
263
+ "examples": [
264
+ 120
265
+ ]
266
+ },
267
+ "left": {
268
+ "type": "Number",
269
+ "desc": "Scroll offset from left (horizontal)",
270
+ "examples": [
271
+ 10
272
+ ]
273
+ }
274
+ },
163
275
  "examples": [
164
- 110
276
+ "{ top: 10, left: 0 }"
165
277
  ]
166
- }
278
+ },
279
+ "addedIn": "v1.17"
280
+ },
281
+ "getScrollPercentage": {
282
+ "desc": "Get current scroll position in percentage (0.0 <= x <= 1.0)",
283
+ "params": {
284
+ "axis": {
285
+ "type": "String",
286
+ "desc": "Scroll axis - defaults to 'vertical' (or to 'horizontal' if horizontal prop is set)",
287
+ "values": [
288
+ "vertical",
289
+ "horizontal",
290
+ "both"
291
+ ]
292
+ }
293
+ },
294
+ "returns": {
295
+ "type": "Object",
296
+ "definition": {
297
+ "top": {
298
+ "type": "Number",
299
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
300
+ "examples": [
301
+ 0.12
302
+ ]
303
+ },
304
+ "left": {
305
+ "type": "Number",
306
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
307
+ "examples": [
308
+ 0.92
309
+ ]
310
+ }
311
+ },
312
+ "examples": [
313
+ "{ top: 0.212, left: 0 }"
314
+ ]
315
+ },
316
+ "addedIn": "v1.17"
167
317
  },
168
318
  "setScrollPosition": {
169
319
  "desc": "Set scroll position to an offset; If a duration (in milliseconds) is specified then the scroll is animated",
170
320
  "params": {
321
+ "axis": {
322
+ "type": "String",
323
+ "desc": "Scroll axis",
324
+ "values": [
325
+ "vertical",
326
+ "horizontal"
327
+ ],
328
+ "required": true
329
+ },
171
330
  "offset": {
172
331
  "type": "Number",
173
332
  "desc": "Scroll position offset from top (in pixels)",
@@ -186,11 +345,20 @@
186
345
  }
187
346
  },
188
347
  "setScrollPercentage": {
189
- "desc": "Set scroll position to a percentage (0.0 < x < 1.0) of the total scrolling size; If a duration (in milliseconds) is specified then the scroll is animated",
348
+ "desc": "Set scroll position to a percentage (0.0 <= x <= 1.0) of the total scrolling size; If a duration (in milliseconds) is specified then the scroll is animated",
190
349
  "params": {
350
+ "axis": {
351
+ "type": "String",
352
+ "desc": "Scroll axis",
353
+ "values": [
354
+ "vertical",
355
+ "horizontal"
356
+ ],
357
+ "required": true
358
+ },
191
359
  "offset": {
192
360
  "type": "Number",
193
- "desc": "Scroll percentage (0.0 < x < 1.0) of the total scrolling size",
361
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) of the total scrolling size",
194
362
  "required": true,
195
363
  "examples": [
196
364
  220
@@ -204,7 +372,7 @@
204
372
  ]
205
373
  }
206
374
  },
207
- "addedIn": "v1.13.2"
375
+ "addedIn": "v1.17"
208
376
  }
209
377
  }
210
378
  }
@@ -367,7 +367,6 @@
367
367
  },
368
368
  "display-value-sanitize": {
369
369
  "type": "Boolean",
370
- "default": "false",
371
370
  "desc": "Force use of textContent instead of innerHTML to render selected option(s); Use it when the selected option(s) might be unsafe (from user input); Does NOT apply when using 'selected' or 'selected-item' slots!",
372
371
  "category": "selection"
373
372
  },
@@ -437,7 +436,7 @@
437
436
  "map",
438
437
  "ion-add",
439
438
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
440
- "img:statics/path/to/some_image.png"
439
+ "img:path/to/some_image.png"
441
440
  ],
442
441
  "category": "content"
443
442
  },
@@ -472,7 +471,6 @@
472
471
  },
473
472
  "options-sanitize": {
474
473
  "type": "Boolean",
475
- "default": "false",
476
474
  "desc": "Force use of textContent instead of innerHTML to render options; Use it when the options might be unsafe (from user input); Does NOT apply when using 'option' slot!",
477
475
  "category": "options"
478
476
  },
@@ -568,7 +566,7 @@
568
566
  "desc": "Style definitions to be attributed to the popup content",
569
567
  "examples": [
570
568
  "background-color: #ff0000",
571
- ":content-style=\"{ backgroundColor: '#ff0000' }\""
569
+ ":popup-content-style=\"{ backgroundColor: '#ff0000' }\""
572
570
  ],
573
571
  "category": "style"
574
572
  },
@@ -721,12 +719,6 @@
721
719
  "desc": "Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored",
722
720
  "addedIn": "v1.12.9"
723
721
  },
724
- "error": {
725
- "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
726
- },
727
- "hint": {
728
- "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
729
- },
730
722
  "counter": {
731
723
  "desc": "Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
732
724
  },
@@ -746,6 +738,86 @@
746
738
  }
747
739
  },
748
740
  "scopedSlots": {
741
+ "error": {
742
+ "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
743
+ "scope": {
744
+ "id": {
745
+ "type": "String",
746
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
747
+ "examples": [
748
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
749
+ ]
750
+ },
751
+ "field": {
752
+ "type": "Object",
753
+ "desc": "DOM element of the field"
754
+ },
755
+ "editable": {
756
+ "type": "Boolean",
757
+ "desc": "Field is editable"
758
+ },
759
+ "focused": {
760
+ "type": "Boolean",
761
+ "desc": "Field has focus"
762
+ },
763
+ "value": {
764
+ "type": "Any",
765
+ "desc": "Field's value",
766
+ "examples": [
767
+ 0.241,
768
+ "Text"
769
+ ]
770
+ },
771
+ "errorMessage": {
772
+ "type": "String",
773
+ "desc": "Error message (from errorMessage prop or generated by rules)",
774
+ "examples": [
775
+ "The field is required"
776
+ ]
777
+ }
778
+ },
779
+ "addedIn": "v1.17"
780
+ },
781
+ "hint": {
782
+ "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
783
+ "scope": {
784
+ "id": {
785
+ "type": "String",
786
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
787
+ "examples": [
788
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
789
+ ]
790
+ },
791
+ "field": {
792
+ "type": "Object",
793
+ "desc": "DOM element of the field"
794
+ },
795
+ "editable": {
796
+ "type": "Boolean",
797
+ "desc": "Field is editable"
798
+ },
799
+ "focused": {
800
+ "type": "Boolean",
801
+ "desc": "Field has focus"
802
+ },
803
+ "value": {
804
+ "type": "Any",
805
+ "desc": "Field's value",
806
+ "examples": [
807
+ 0.241,
808
+ "Text"
809
+ ]
810
+ },
811
+ "errorMessage": {
812
+ "type": "String",
813
+ "desc": "Error message (from errorMessage prop or generated by rules)",
814
+ "examples": [
815
+ "The field is required"
816
+ ]
817
+ }
818
+ },
819
+ "addedIn": "v1.17"
820
+ },
749
821
  "no-option": {
750
822
  "desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
751
823
  "scope": {
@@ -33,7 +33,7 @@
33
33
  "Boolean",
34
34
  "String"
35
35
  ],
36
- "desc": "if set to true, the left and right margins will be set to 16px. If set to item, the left and right margins will be set to 72px. If set to item-thumbnail, the left margin is set to 116px and right margin is set to 0px",
36
+ "desc": "If set to Boolean true, the left and right margins will be set to 16px. If set to 'item' then it will match a QItem's design. If set to 'item-thumbnail' then it will match the design of a QItem with a thumbnail on the left side",
37
37
  "examples": [
38
38
  "item",
39
39
  "item-thumbnail"