quasar 2.3.2 → 2.4.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 (311) hide show
  1. package/dist/api/AppFullscreen.json +15 -8
  2. package/dist/api/BottomSheet.json +6 -0
  3. package/dist/api/Cookies.json +4 -3
  4. package/dist/api/Dialog.json +24 -10
  5. package/dist/api/Loading.json +0 -2
  6. package/dist/api/LoadingBar.json +8 -3
  7. package/dist/api/Morph.json +14 -7
  8. package/dist/api/Mutation.json +1 -1
  9. package/dist/api/Notify.json +41 -27
  10. package/dist/api/QAjaxBar.json +6 -3
  11. package/dist/api/QBreadcrumbs.json +8 -4
  12. package/dist/api/QBreadcrumbsEl.json +35 -12
  13. package/dist/api/QBtn.json +36 -17
  14. package/dist/api/QBtnDropdown.json +41 -20
  15. package/dist/api/QBtnToggle.json +7 -2
  16. package/dist/api/QCard.json +2 -1
  17. package/dist/api/QCardActions.json +2 -1
  18. package/dist/api/QCardSection.json +2 -1
  19. package/dist/api/QCarousel.json +10 -5
  20. package/dist/api/QCarouselControl.json +4 -2
  21. package/dist/api/QChatMessage.json +0 -4
  22. package/dist/api/QCheckbox.json +8 -4
  23. package/dist/api/QChip.json +2 -1
  24. package/dist/api/QCircularProgress.json +14 -7
  25. package/dist/api/QColor.json +6 -3
  26. package/dist/api/QDate.json +33 -5
  27. package/dist/api/QDialog.json +8 -4
  28. package/dist/api/QDrawer.json +10 -5
  29. package/dist/api/QEditor.json +10 -5
  30. package/dist/api/QExpansionItem.json +36 -13
  31. package/dist/api/QFab.json +41 -6
  32. package/dist/api/QFabAction.json +12 -2
  33. package/dist/api/QField.json +3 -1
  34. package/dist/api/QFile.json +8 -2
  35. package/dist/api/QFooter.json +2 -1
  36. package/dist/api/QForm.json +1 -1
  37. package/dist/api/QHeader.json +4 -2
  38. package/dist/api/QIcon.json +2 -1
  39. package/dist/api/QImg.json +8 -4
  40. package/dist/api/QInfiniteScroll.json +6 -3
  41. package/dist/api/QInnerLoading.json +8 -4
  42. package/dist/api/QInput.json +3 -1
  43. package/dist/api/QIntersection.json +4 -2
  44. package/dist/api/QItem.json +33 -11
  45. package/dist/api/QKnob.json +8 -4
  46. package/dist/api/QLayout.json +9 -1
  47. package/dist/api/QLinearProgress.json +4 -2
  48. package/dist/api/QMarkupTable.json +2 -1
  49. package/dist/api/QMenu.json +8 -4
  50. package/dist/api/QNoSsr.json +2 -1
  51. package/dist/api/QOptionGroup.json +76 -5
  52. package/dist/api/QPage.json +2 -1
  53. package/dist/api/QPageScroller.json +8 -4
  54. package/dist/api/QPageSticky.json +2 -1
  55. package/dist/api/QPagination.json +10 -6
  56. package/dist/api/QParallax.json +2 -1
  57. package/dist/api/QPopupEdit.json +5 -2
  58. package/dist/api/QPopupProxy.json +7 -4
  59. package/dist/api/QRange.json +600 -111
  60. package/dist/api/QRating.json +5 -2
  61. package/dist/api/QResizeObserver.json +4 -1
  62. package/dist/api/QRouteTab.json +35 -13
  63. package/dist/api/QScrollArea.json +29 -6
  64. package/dist/api/QScrollObserver.json +13 -1
  65. package/dist/api/QSelect.json +76 -47
  66. package/dist/api/QSeparator.json +2 -1
  67. package/dist/api/QSkeleton.json +8 -4
  68. package/dist/api/QSlideItem.json +9 -0
  69. package/dist/api/QSlideTransition.json +2 -1
  70. package/dist/api/QSlider.json +512 -43
  71. package/dist/api/QSpinner.json +2 -1
  72. package/dist/api/QSplitter.json +4 -2
  73. package/dist/api/QStep.json +2 -1
  74. package/dist/api/QStepper.json +6 -3
  75. package/dist/api/QTab.json +4 -2
  76. package/dist/api/QTabPanels.json +6 -3
  77. package/dist/api/QTable.json +154 -88
  78. package/dist/api/QTabs.json +4 -2
  79. package/dist/api/QTime.json +16 -4
  80. package/dist/api/QTimeline.json +4 -2
  81. package/dist/api/QTimelineEntry.json +4 -2
  82. package/dist/api/QToggle.json +8 -4
  83. package/dist/api/QTooltip.json +18 -9
  84. package/dist/api/QTree.json +34 -19
  85. package/dist/api/QUploader.json +28 -6
  86. package/dist/api/QVirtualScroll.json +26 -11
  87. package/dist/api/ScrollFire.json +1 -1
  88. package/dist/api/TouchHold.json +2 -1
  89. package/dist/api/TouchRepeat.json +2 -1
  90. package/dist/api/TouchSwipe.json +2 -1
  91. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  94. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  95. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  96. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  97. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  98. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  101. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  102. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  111. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  112. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  113. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  120. package/dist/icon-set/themify.umd.prod.js +1 -1
  121. package/dist/lang/ar.umd.prod.js +1 -1
  122. package/dist/lang/az-Latn.umd.prod.js +1 -1
  123. package/dist/lang/bg.umd.prod.js +1 -1
  124. package/dist/lang/bn.umd.prod.js +1 -1
  125. package/dist/lang/ca.umd.prod.js +1 -1
  126. package/dist/lang/cs.umd.prod.js +1 -1
  127. package/dist/lang/da.umd.prod.js +1 -1
  128. package/dist/lang/de.umd.prod.js +1 -1
  129. package/dist/lang/el.umd.prod.js +1 -1
  130. package/dist/lang/en-GB.umd.prod.js +1 -1
  131. package/dist/lang/en-US.umd.prod.js +1 -1
  132. package/dist/lang/eo.umd.prod.js +1 -1
  133. package/dist/lang/es.umd.prod.js +1 -1
  134. package/dist/lang/et.umd.prod.js +1 -1
  135. package/dist/lang/fa-IR.umd.prod.js +1 -1
  136. package/dist/lang/fa.umd.prod.js +1 -1
  137. package/dist/lang/fi.umd.prod.js +1 -1
  138. package/dist/lang/fr.umd.prod.js +1 -1
  139. package/dist/lang/gn.umd.prod.js +1 -1
  140. package/dist/lang/he.umd.prod.js +1 -1
  141. package/dist/lang/hr.umd.prod.js +1 -1
  142. package/dist/lang/hu.umd.prod.js +1 -1
  143. package/dist/lang/id.umd.prod.js +1 -1
  144. package/dist/lang/is.umd.prod.js +1 -1
  145. package/dist/lang/it.umd.prod.js +1 -1
  146. package/dist/lang/ja.umd.prod.js +1 -1
  147. package/dist/lang/km.umd.prod.js +1 -1
  148. package/dist/lang/ko-KR.umd.prod.js +1 -1
  149. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  150. package/dist/lang/lt.umd.prod.js +1 -1
  151. package/dist/lang/lu.umd.prod.js +1 -1
  152. package/dist/lang/lv.umd.prod.js +1 -1
  153. package/dist/lang/ml.umd.prod.js +1 -1
  154. package/dist/lang/ms.umd.prod.js +1 -1
  155. package/dist/lang/nb-NO.umd.prod.js +1 -1
  156. package/dist/lang/nl.umd.prod.js +1 -1
  157. package/dist/lang/pl.umd.prod.js +1 -1
  158. package/dist/lang/pt-BR.umd.prod.js +1 -1
  159. package/dist/lang/pt.umd.prod.js +1 -1
  160. package/dist/lang/ro.umd.prod.js +1 -1
  161. package/dist/lang/ru.umd.prod.js +1 -1
  162. package/dist/lang/sk.umd.prod.js +1 -1
  163. package/dist/lang/sl.umd.prod.js +1 -1
  164. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  165. package/dist/lang/sr.umd.prod.js +1 -1
  166. package/dist/lang/sv.umd.prod.js +1 -1
  167. package/dist/lang/ta.umd.prod.js +1 -1
  168. package/dist/lang/th.umd.prod.js +1 -1
  169. package/dist/lang/tr.umd.prod.js +1 -1
  170. package/dist/lang/ug.umd.prod.js +1 -1
  171. package/dist/lang/uk.umd.prod.js +1 -1
  172. package/dist/lang/vi.umd.prod.js +1 -1
  173. package/dist/lang/zh-CN.umd.prod.js +1 -1
  174. package/dist/lang/zh-TW.umd.prod.js +1 -1
  175. package/dist/quasar.cjs.prod.js +2 -2
  176. package/dist/quasar.css +268 -184
  177. package/dist/quasar.esm.prod.js +2 -2
  178. package/dist/quasar.prod.css +1 -1
  179. package/dist/quasar.rtl.css +340 -263
  180. package/dist/quasar.rtl.prod.css +1 -1
  181. package/dist/quasar.sass +272 -212
  182. package/dist/quasar.umd.js +16522 -16213
  183. package/dist/quasar.umd.prod.js +2 -2
  184. package/dist/ssr-directives/Morph.js +1 -1
  185. package/dist/transforms/loader-asset-urls.json +20 -0
  186. package/dist/types/api/cookies.d.ts +1 -1
  187. package/dist/types/api/slider.d.ts +46 -0
  188. package/dist/types/api/validation.d.ts +4 -0
  189. package/dist/types/api.d.ts +2 -0
  190. package/dist/types/composables.d.ts +3 -3
  191. package/dist/types/index.d.ts +759 -177
  192. package/dist/vetur/quasar-attributes.json +251 -83
  193. package/dist/vetur/quasar-tags.json +59 -17
  194. package/dist/web-types/web-types.json +587 -155
  195. package/package.json +1 -1
  196. package/src/api.extends.json +0 -1
  197. package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
  198. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  199. package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
  200. package/src/components/btn/QBtn.js +6 -5
  201. package/src/components/btn/use-btn.js +21 -21
  202. package/src/components/btn/use-btn.json +22 -13
  203. package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
  204. package/src/components/btn-toggle/QBtnToggle.json +3 -0
  205. package/src/components/checkbox/use-checkbox.js +1 -1
  206. package/src/components/chip/QChip.json +1 -2
  207. package/src/components/color/QColor.js +32 -26
  208. package/src/components/color/QColor.sass +10 -23
  209. package/src/components/date/QDate.json +25 -1
  210. package/src/components/date/QDate.sass +2 -0
  211. package/src/components/drawer/QDrawer.js +18 -15
  212. package/src/components/editor/QEditor.js +1 -1
  213. package/src/components/editor/QEditor.sass +10 -1
  214. package/src/components/expansion-item/QExpansionItem.js +4 -1
  215. package/src/components/expansion-item/QExpansionItem.json +2 -1
  216. package/src/components/fab/QFab.js +18 -12
  217. package/src/components/fab/QFab.json +36 -1
  218. package/src/components/fab/QFab.sass +1 -1
  219. package/src/components/fab/QFabAction.js +14 -7
  220. package/src/components/fab/QFabAction.json +10 -0
  221. package/src/components/field/QField.json +3 -3
  222. package/src/components/file/QFile.js +12 -5
  223. package/src/components/file/QFile.json +9 -6
  224. package/src/components/file/QFile.sass +4 -2
  225. package/src/components/footer/QFooter.js +1 -1
  226. package/src/components/form/QForm.json +2 -3
  227. package/src/components/header/QHeader.js +1 -1
  228. package/src/components/icon/QIcon.js +2 -2
  229. package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
  230. package/src/components/item/QItem.js +2 -3
  231. package/src/components/layout/QLayout.json +8 -1
  232. package/src/components/linear-progress/QLinearProgress.js +3 -2
  233. package/src/components/linear-progress/QLinearProgress.sass +1 -1
  234. package/src/components/option-group/QOptionGroup.js +3 -0
  235. package/src/components/option-group/QOptionGroup.json +48 -2
  236. package/src/components/pagination/QPagination.json +0 -1
  237. package/src/components/parallax/QParallax.js +4 -2
  238. package/src/components/popup-edit/QPopupEdit.js +2 -5
  239. package/src/components/popup-edit/QPopupEdit.json +1 -0
  240. package/src/components/popup-proxy/QPopupProxy.json +2 -1
  241. package/src/components/radio/QRadio.js +2 -7
  242. package/src/components/range/QRange.js +103 -222
  243. package/src/components/range/QRange.json +11 -121
  244. package/src/components/rating/QRating.json +1 -1
  245. package/src/components/resize-observer/QResizeObserver.json +2 -0
  246. package/src/components/scroll-area/QScrollArea.js +10 -13
  247. package/src/components/scroll-area/QScrollArea.json +29 -9
  248. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  249. package/src/components/select/QSelect.json +41 -15
  250. package/src/components/slide-item/QSlideItem.json +9 -0
  251. package/src/components/slider/QSlider.js +46 -132
  252. package/src/components/slider/QSlider.json +1 -121
  253. package/src/components/slider/QSlider.sass +198 -132
  254. package/src/components/slider/use-slider.js +453 -109
  255. package/src/components/slider/use-slider.json +546 -0
  256. package/src/components/stepper/QStepper.js +3 -3
  257. package/src/components/stepper/QStepper.sass +24 -26
  258. package/src/components/table/QTable.js +27 -47
  259. package/src/components/table/QTable.json +104 -55
  260. package/src/components/table/table-pagination.js +4 -0
  261. package/src/components/tabs/QRouteTab.js +1 -2
  262. package/src/components/tabs/QRouteTab.json +0 -7
  263. package/src/components/tabs/QTabs.js +71 -20
  264. package/src/components/tabs/use-tab.js +26 -13
  265. package/src/components/time/QTime.json +8 -0
  266. package/src/components/tree/QTree.js +14 -12
  267. package/src/components/tree/QTree.json +26 -21
  268. package/src/components/tree/QTree.sass +45 -41
  269. package/src/components/uploader/QUploader.json +14 -2
  270. package/src/components/uploader/uploader-core.js +16 -9
  271. package/src/components/uploader/xhr-uploader-plugin.json +8 -3
  272. package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
  273. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  274. package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
  275. package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
  276. package/src/composables/private/use-field.js +5 -5
  277. package/src/composables/private/use-file.js +20 -5
  278. package/src/composables/private/use-form.js +2 -3
  279. package/src/composables/private/use-fullscreen.js +15 -4
  280. package/src/composables/private/use-router-link.js +44 -23
  281. package/src/composables/private/use-router-link.json +26 -10
  282. package/src/composables/private/use-split-attrs.js +7 -10
  283. package/src/composables/private/use-validate.js +21 -15
  284. package/src/composables/private/use-validate.json +1 -0
  285. package/src/css/core/helpers.sass +3 -0
  286. package/src/css/core/positioning.sass +5 -0
  287. package/src/directives/Mutation.json +2 -3
  288. package/src/directives/ScrollFire.js +1 -0
  289. package/src/directives/ScrollFire.json +2 -3
  290. package/src/icon-set.js +2 -4
  291. package/src/plugins/AppFullscreen.js +70 -53
  292. package/src/plugins/AppFullscreen.json +8 -8
  293. package/src/plugins/AppVisibility.js +2 -3
  294. package/src/plugins/BottomSheet.js +3 -5
  295. package/src/plugins/Cookies.json +2 -2
  296. package/src/plugins/Dialog.js +3 -5
  297. package/src/plugins/Dialog.json +6 -5
  298. package/src/plugins/LoadingBar.js +17 -18
  299. package/src/plugins/LoadingBar.json +4 -3
  300. package/src/plugins/Notify.js +296 -295
  301. package/src/plugins/Notify.json +13 -19
  302. package/src/plugins/Platform.js +14 -14
  303. package/src/utils/date.js +4 -4
  304. package/src/utils/dom.js +2 -2
  305. package/src/utils/open-url.js +2 -2
  306. package/src/utils/patterns.js +1 -0
  307. package/src/utils/private/define-reactive-plugin.js +10 -8
  308. package/src/utils/private/global-dialog.js +6 -8
  309. package/src/utils/private/global-dialog.json +6 -0
  310. package/src/utils/private/inject-obj-prop.js +13 -0
  311. package/src/utils/private/is.js +2 -2
@@ -9,38 +9,59 @@
9
9
  "String",
10
10
  "Object"
11
11
  ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
12
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
13
13
  "examples": [
14
14
  "/home/dashboard",
15
15
  ":to=\"{ name: 'my-route-name' }\""
16
16
  ],
17
- "category": "behavior"
17
+ "category": "navigation"
18
18
  },
19
19
  "exact": {
20
20
  "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
22
- "category": "behavior"
21
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
22
+ "category": "navigation"
23
23
  },
24
24
  "replace": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "active-class": {
30
30
  "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
31
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
32
32
  "examples": [
33
33
  "my-active-class"
34
34
  ],
35
- "category": "behavior"
35
+ "category": "navigation"
36
36
  },
37
37
  "exact-active-class": {
38
38
  "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
39
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
40
40
  "examples": [
41
41
  "my-exact-active-class"
42
42
  ],
43
- "category": "behavior"
43
+ "category": "navigation"
44
+ },
45
+ "href": {
46
+ "type": "String",
47
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
+ "examples": [
49
+ "http://quasar.dev"
50
+ ],
51
+ "category": "navigation",
52
+ "addedIn": "v2.4"
53
+ },
54
+ "target": {
55
+ "type": "String",
56
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
57
+ "examples": [
58
+ "_blank",
59
+ "_self",
60
+ "_parent",
61
+ "_top"
62
+ ],
63
+ "category": "navigation",
64
+ "addedIn": "v2.4"
44
65
  },
45
66
  "disable": {
46
67
  "type": "Boolean",
@@ -77,7 +98,8 @@
77
98
  "span"
78
99
  ],
79
100
  "category": "content",
80
- "default": "span"
101
+ "default": "span",
102
+ "required": false
81
103
  },
82
104
  "ripple": {
83
105
  "type": [
@@ -90,7 +112,8 @@
90
112
  false,
91
113
  "{ early: true, center: true, color: 'teal', keyCodes: [] }"
92
114
  ],
93
- "category": "style"
115
+ "category": "style",
116
+ "required": false
94
117
  }
95
118
  },
96
119
  "slots": {
@@ -17,40 +17,57 @@
17
17
  },
18
18
  "type": {
19
19
  "type": "String",
20
- "desc": "Define the button HTML DOM type",
20
+ "desc": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag",
21
21
  "default": "button",
22
- "values": [
22
+ "examples": [
23
23
  "a",
24
24
  "submit",
25
25
  "button",
26
- "reset"
27
- ],
28
- "examples": [
29
- "type=\"a\" href=\"http://some-site.net\" target=\"__blank\""
26
+ "reset",
27
+ "image/png",
28
+ "href=\"https://quasar.dev\" target=\"_blank\""
30
29
  ],
31
- "category": "general"
30
+ "category": "general",
31
+ "required": false
32
32
  },
33
33
  "to": {
34
34
  "type": [
35
35
  "String",
36
36
  "Object"
37
37
  ],
38
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
38
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
39
39
  "examples": [
40
40
  "/home/dashboard",
41
41
  ":to=\"{ name: 'my-route-name' }\""
42
42
  ],
43
- "category": "router"
43
+ "category": "navigation"
44
44
  },
45
45
  "replace": {
46
46
  "type": "Boolean",
47
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
48
- "category": "router"
47
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
48
+ "category": "navigation"
49
49
  },
50
- "append": {
51
- "type": "Boolean",
52
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
53
- "category": "router"
50
+ "href": {
51
+ "type": "String",
52
+ "desc": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props",
53
+ "examples": [
54
+ "http://quasar.dev",
55
+ "href=\"https://quasar.dev\" target=\"_blank\""
56
+ ],
57
+ "category": "navigation",
58
+ "addedIn": "v2.4"
59
+ },
60
+ "target": {
61
+ "type": "String",
62
+ "desc": "Native <a> link target attribute; Use it only with 'to' or 'href' props",
63
+ "examples": [
64
+ "_blank",
65
+ "_self",
66
+ "_parent",
67
+ "_top"
68
+ ],
69
+ "category": "navigation",
70
+ "addedIn": "v2.4"
54
71
  },
55
72
  "label": {
56
73
  "type": [
@@ -182,7 +199,8 @@
182
199
  false,
183
200
  "{ early: true, center: true, color: 'teal', keyCodes: [] }"
184
201
  ],
185
- "category": "style"
202
+ "category": "style",
203
+ "required": false
186
204
  },
187
205
  "tabindex": {
188
206
  "type": [
@@ -208,7 +226,8 @@
208
226
  "between",
209
227
  "evenly"
210
228
  ],
211
- "category": "content"
229
+ "category": "content",
230
+ "required": false
212
231
  },
213
232
  "stack": {
214
233
  "type": "Boolean",
@@ -6,7 +6,7 @@
6
6
  "props": {
7
7
  "model-value": {
8
8
  "desc": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
9
- "required": true,
9
+ "required": false,
10
10
  "category": "model",
11
11
  "type": "Boolean",
12
12
  "examples": [
@@ -26,40 +26,57 @@
26
26
  },
27
27
  "type": {
28
28
  "type": "String",
29
- "desc": "Define the button HTML DOM type",
29
+ "desc": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag",
30
30
  "default": "button",
31
- "values": [
31
+ "examples": [
32
32
  "a",
33
33
  "submit",
34
34
  "button",
35
- "reset"
35
+ "reset",
36
+ "image/png",
37
+ "href=\"https://quasar.dev\" target=\"_blank\""
36
38
  ],
37
- "examples": [
38
- "type=\"a\" href=\"http://some-site.net\" target=\"__blank\""
39
- ],
40
- "category": "general"
39
+ "category": "general",
40
+ "required": false
41
41
  },
42
42
  "to": {
43
43
  "type": [
44
44
  "String",
45
45
  "Object"
46
46
  ],
47
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
47
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
48
48
  "examples": [
49
49
  "/home/dashboard",
50
50
  ":to=\"{ name: 'my-route-name' }\""
51
51
  ],
52
- "category": "router"
52
+ "category": "navigation"
53
53
  },
54
54
  "replace": {
55
55
  "type": "Boolean",
56
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
57
- "category": "router"
56
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
57
+ "category": "navigation"
58
58
  },
59
- "append": {
60
- "type": "Boolean",
61
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
62
- "category": "router"
59
+ "href": {
60
+ "type": "String",
61
+ "desc": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props",
62
+ "examples": [
63
+ "http://quasar.dev",
64
+ "href=\"https://quasar.dev\" target=\"_blank\""
65
+ ],
66
+ "category": "navigation",
67
+ "addedIn": "v2.4"
68
+ },
69
+ "target": {
70
+ "type": "String",
71
+ "desc": "Native <a> link target attribute; Use it only with 'to' or 'href' props",
72
+ "examples": [
73
+ "_blank",
74
+ "_self",
75
+ "_parent",
76
+ "_top"
77
+ ],
78
+ "category": "navigation",
79
+ "addedIn": "v2.4"
63
80
  },
64
81
  "label": {
65
82
  "type": [
@@ -191,7 +208,8 @@
191
208
  false,
192
209
  "{ early: true, center: true, color: 'teal', keyCodes: [] }"
193
210
  ],
194
- "category": "style"
211
+ "category": "style",
212
+ "required": false
195
213
  },
196
214
  "tabindex": {
197
215
  "type": [
@@ -217,7 +235,8 @@
217
235
  "between",
218
236
  "evenly"
219
237
  ],
220
- "category": "content"
238
+ "category": "content",
239
+ "required": false
221
240
  },
222
241
  "stack": {
223
242
  "type": "Boolean",
@@ -341,7 +360,8 @@
341
360
  "top right",
342
361
  "bottom end"
343
362
  ],
344
- "category": "position"
363
+ "category": "position",
364
+ "required": false
345
365
  },
346
366
  "menu-self": {
347
367
  "type": "String",
@@ -368,7 +388,8 @@
368
388
  "top right",
369
389
  "bottom end"
370
390
  ],
371
- "category": "position"
391
+ "category": "position",
392
+ "required": false
372
393
  },
373
394
  "menu-offset": {
374
395
  "type": "Array",
@@ -99,7 +99,8 @@
99
99
  "teal-10"
100
100
  ],
101
101
  "category": "style",
102
- "default": "primary"
102
+ "default": "primary",
103
+ "required": false
103
104
  },
104
105
  "toggle-text-color": {
105
106
  "type": "String",
@@ -193,7 +194,8 @@
193
194
  false,
194
195
  "{ early: true, center: true, color: 'teal', keyCodes: [] }"
195
196
  ],
196
- "category": "style"
197
+ "category": "style",
198
+ "required": false
197
199
  },
198
200
  "dense": {
199
201
  "type": "Boolean",
@@ -229,6 +231,9 @@
229
231
  "slots": {
230
232
  "default": {
231
233
  "desc": "Suggestions: QTooltip, QBadge"
234
+ },
235
+ "...": {
236
+ "desc": "Any other dynamic slots to be used with 'slot' property of the 'options' prop"
232
237
  }
233
238
  },
234
239
  "events": {
@@ -34,7 +34,8 @@
34
34
  "form"
35
35
  ],
36
36
  "category": "content",
37
- "default": "div"
37
+ "default": "div",
38
+ "required": false
38
39
  }
39
40
  },
40
41
  "slots": {
@@ -17,7 +17,8 @@
17
17
  "evenly",
18
18
  "stretch"
19
19
  ],
20
- "category": "content"
20
+ "category": "content",
21
+ "required": false
21
22
  },
22
23
  "vertical": {
23
24
  "type": "Boolean",
@@ -19,7 +19,8 @@
19
19
  "form"
20
20
  ],
21
21
  "category": "content",
22
- "default": "div"
22
+ "default": "div",
23
+ "required": false
23
24
  }
24
25
  },
25
26
  "slots": {
@@ -95,7 +95,8 @@
95
95
  "slide-down"
96
96
  ],
97
97
  "category": "transition",
98
- "default": "fade"
98
+ "default": "fade",
99
+ "required": false
99
100
  },
100
101
  "transition-next": {
101
102
  "type": "String",
@@ -105,7 +106,8 @@
105
106
  "slide-down"
106
107
  ],
107
108
  "category": "transition",
108
- "default": "fade"
109
+ "default": "fade",
110
+ "required": false
109
111
  },
110
112
  "transition-duration": {
111
113
  "type": [
@@ -119,7 +121,8 @@
119
121
  "1200"
120
122
  ],
121
123
  "category": "transition",
122
- "addedIn": "v2.2"
124
+ "addedIn": "v2.2",
125
+ "required": false
123
126
  },
124
127
  "dark": {
125
128
  "type": "Boolean",
@@ -182,7 +185,8 @@
182
185
  true,
183
186
  false
184
187
  ],
185
- "category": "behavior"
188
+ "category": "behavior",
189
+ "required": false
186
190
  },
187
191
  "arrows": {
188
192
  "type": "Boolean",
@@ -229,7 +233,8 @@
229
233
  "examples": [
230
234
  "left"
231
235
  ],
232
- "category": "content"
236
+ "category": "content",
237
+ "required": false
233
238
  },
234
239
  "navigation-icon": {
235
240
  "type": "String",
@@ -21,7 +21,8 @@
21
21
  "examples": [
22
22
  "top-right"
23
23
  ],
24
- "category": "position"
24
+ "category": "position",
25
+ "required": false
25
26
  },
26
27
  "offset": {
27
28
  "type": "Array",
@@ -31,7 +32,8 @@
31
32
  "[8, 8]",
32
33
  "[5, 10]"
33
34
  ],
34
- "category": "position"
35
+ "category": "position",
36
+ "required": false
35
37
  }
36
38
  },
37
39
  "slots": {
@@ -85,25 +85,21 @@
85
85
  },
86
86
  "label-html": {
87
87
  "type": "Boolean",
88
- "default": "false",
89
88
  "desc": "Render the label as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
90
89
  "category": "behavior"
91
90
  },
92
91
  "name-html": {
93
92
  "type": "Boolean",
94
- "default": "false",
95
93
  "desc": "Render the name as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
96
94
  "category": "behavior"
97
95
  },
98
96
  "text-html": {
99
97
  "type": "Boolean",
100
- "default": "false",
101
98
  "desc": "Render the text as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
102
99
  "category": "behavior"
103
100
  },
104
101
  "stamp-html": {
105
102
  "type": "Boolean",
106
- "default": "false",
107
103
  "desc": "Render the stamp as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
108
104
  "category": "behavior"
109
105
  }
@@ -51,7 +51,8 @@
51
51
  "examples": [
52
52
  "Agreed"
53
53
  ],
54
- "category": "model"
54
+ "category": "model",
55
+ "required": false
55
56
  },
56
57
  "false-value": {
57
58
  "type": "Any",
@@ -60,7 +61,8 @@
60
61
  "examples": [
61
62
  "Disagree"
62
63
  ],
63
- "category": "model"
64
+ "category": "model",
65
+ "required": false
64
66
  },
65
67
  "indeterminate-value": {
66
68
  "type": "Any",
@@ -70,7 +72,8 @@
70
72
  0,
71
73
  "not_answered"
72
74
  ],
73
- "category": "behavior"
75
+ "category": "behavior",
76
+ "required": false
74
77
  },
75
78
  "toggle-order": {
76
79
  "type": "String",
@@ -80,7 +83,8 @@
80
83
  "tf",
81
84
  "ft"
82
85
  ],
83
- "category": "behavior"
86
+ "category": "behavior",
87
+ "required": false
84
88
  },
85
89
  "toggle-indeterminate": {
86
90
  "type": "Boolean",
@@ -149,7 +149,8 @@
149
149
  false,
150
150
  "{ early: true, center: true, color: 'teal', keyCodes: [] }"
151
151
  ],
152
- "category": "style"
152
+ "category": "style",
153
+ "required": false
153
154
  },
154
155
  "tabindex": {
155
156
  "type": [
@@ -24,7 +24,8 @@
24
24
  100,
25
25
  52.32
26
26
  ],
27
- "category": "model"
27
+ "category": "model",
28
+ "required": false
28
29
  },
29
30
  "min": {
30
31
  "type": "Number",
@@ -35,7 +36,8 @@
35
36
  100,
36
37
  52.32
37
38
  ],
38
- "category": "model"
39
+ "category": "model",
40
+ "required": false
39
41
  },
40
42
  "max": {
41
43
  "type": "Number",
@@ -45,7 +47,8 @@
45
47
  100,
46
48
  52.32
47
49
  ],
48
- "category": "model"
50
+ "category": "model",
51
+ "required": false
49
52
  },
50
53
  "color": {
51
54
  "type": "String",
@@ -83,7 +86,8 @@
83
86
  "16px",
84
87
  "2rem"
85
88
  ],
86
- "category": "style"
89
+ "category": "style",
90
+ "required": false
87
91
  },
88
92
  "thickness": {
89
93
  "type": "Number",
@@ -93,7 +97,8 @@
93
97
  1,
94
98
  0.3
95
99
  ],
96
- "category": "style"
100
+ "category": "style",
101
+ "required": false
97
102
  },
98
103
  "angle": {
99
104
  "type": "Number",
@@ -104,7 +109,8 @@
104
109
  40,
105
110
  90
106
111
  ],
107
- "category": "content"
112
+ "category": "content",
113
+ "required": false
108
114
  },
109
115
  "indeterminate": {
110
116
  "type": "Boolean",
@@ -138,7 +144,8 @@
138
144
  ],
139
145
  "category": "style",
140
146
  "default": 600,
141
- "addedIn": "v2.3"
147
+ "addedIn": "v2.3",
148
+ "required": false
142
149
  }
143
150
  },
144
151
  "slots": {
@@ -42,7 +42,8 @@
42
42
  "tune",
43
43
  "palette"
44
44
  ],
45
- "category": "behavior"
45
+ "category": "behavior",
46
+ "required": false
46
47
  },
47
48
  "format-model": {
48
49
  "type": "String",
@@ -58,7 +59,8 @@
58
59
  "examples": [
59
60
  "hex"
60
61
  ],
61
- "category": "model"
62
+ "category": "model",
63
+ "required": false
62
64
  },
63
65
  "palette": {
64
66
  "type": "Array",
@@ -67,7 +69,8 @@
67
69
  "examples": [
68
70
  ":palette=\"[ '#019A9D', '#D9B801', 'rgb(23,120,0)', '#B2028A' ]\""
69
71
  ],
70
- "category": "content"
72
+ "category": "content",
73
+ "required": false
71
74
  },
72
75
  "square": {
73
76
  "type": "Boolean",