quasar 2.10.0 → 2.10.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 (319) hide show
  1. package/dist/api/Dialog.json +28 -69
  2. package/dist/api/Intersection.json +25 -100
  3. package/dist/api/Loading.json +5 -20
  4. package/dist/api/LoadingBar.json +1 -7
  5. package/dist/api/LocalStorage.json +4 -16
  6. package/dist/api/Morph.json +2 -14
  7. package/dist/api/Notify.json +0 -3
  8. package/dist/api/Platform.json +1 -4
  9. package/dist/api/QAjaxBar.json +1 -11
  10. package/dist/api/QBreadcrumbs.json +0 -8
  11. package/dist/api/QBtn.json +0 -3
  12. package/dist/api/QBtnDropdown.json +0 -12
  13. package/dist/api/QCarousel.json +0 -10
  14. package/dist/api/QCarouselControl.json +0 -3
  15. package/dist/api/QCircularProgress.json +0 -23
  16. package/dist/api/QColor.json +0 -3
  17. package/dist/api/QDialog.json +18 -9
  18. package/dist/api/QDrawer.json +0 -6
  19. package/dist/api/QExpansionItem.json +0 -3
  20. package/dist/api/QFab.json +1 -6
  21. package/dist/api/QFabAction.json +1 -3
  22. package/dist/api/QField.json +1 -6
  23. package/dist/api/QFile.json +12 -29
  24. package/dist/api/QFooter.json +0 -3
  25. package/dist/api/QHeader.json +0 -6
  26. package/dist/api/QInfiniteScroll.json +9 -16
  27. package/dist/api/QInnerLoading.json +0 -4
  28. package/dist/api/QInput.json +8 -15
  29. package/dist/api/QIntersection.json +0 -4
  30. package/dist/api/QItemLabel.json +0 -5
  31. package/dist/api/QKnob.json +3 -36
  32. package/dist/api/QLayout.json +6 -24
  33. package/dist/api/QLinearProgress.json +0 -6
  34. package/dist/api/QList.json +15 -0
  35. package/dist/api/QMenu.json +7 -12
  36. package/dist/api/QOptionGroup.json +0 -3
  37. package/dist/api/QPage.json +2 -8
  38. package/dist/api/QPageScroller.json +0 -9
  39. package/dist/api/QPageSticky.json +0 -3
  40. package/dist/api/QPagination.json +4 -25
  41. package/dist/api/QParallax.json +2 -14
  42. package/dist/api/QPopupEdit.json +0 -8
  43. package/dist/api/QPopupProxy.json +21 -4
  44. package/dist/api/QRange.json +5 -32
  45. package/dist/api/QRating.json +0 -4
  46. package/dist/api/QResizeObserver.json +2 -8
  47. package/dist/api/QScrollArea.json +8 -36
  48. package/dist/api/QScrollObserver.json +6 -24
  49. package/dist/api/QSelect.json +18 -108
  50. package/dist/api/QSlideItem.json +1 -6
  51. package/dist/api/QSlideTransition.json +0 -4
  52. package/dist/api/QSlider.json +3 -24
  53. package/dist/api/QSpinner.json +0 -4
  54. package/dist/api/QSplitter.json +1 -4
  55. package/dist/api/QStepper.json +0 -7
  56. package/dist/api/QTabPanels.json +0 -7
  57. package/dist/api/QTable.json +43 -191
  58. package/dist/api/QTabs.json +0 -6
  59. package/dist/api/QTime.json +3 -12
  60. package/dist/api/QTooltip.json +7 -18
  61. package/dist/api/QTree.json +0 -3
  62. package/dist/api/QUploader.json +5 -16
  63. package/dist/api/QVirtualScroll.json +11 -56
  64. package/dist/api/Screen.json +9 -36
  65. package/dist/api/Scroll.json +2 -8
  66. package/dist/api/SessionStorage.json +4 -16
  67. package/dist/api/TouchHold.json +3 -12
  68. package/dist/api/TouchPan.json +7 -28
  69. package/dist/api/TouchRepeat.json +6 -24
  70. package/dist/api/TouchSwipe.json +3 -12
  71. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  72. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  73. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  74. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  75. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  76. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  77. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  78. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  79. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  80. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  81. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  82. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  83. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  84. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  85. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  86. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  87. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  88. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  89. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  90. package/dist/icon-set/mdi-v7.umd.prod.js +6 -0
  91. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  94. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  95. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  96. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  97. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  98. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  99. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  100. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  101. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  102. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  103. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  104. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-mdi-v7.umd.prod.js +6 -0
  108. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  109. package/dist/icon-set/themify.umd.prod.js +1 -1
  110. package/dist/lang/ar-TN.umd.prod.js +1 -1
  111. package/dist/lang/ar.umd.prod.js +1 -1
  112. package/dist/lang/az-Latn.umd.prod.js +1 -1
  113. package/dist/lang/bg.umd.prod.js +1 -1
  114. package/dist/lang/bn.umd.prod.js +1 -1
  115. package/dist/lang/ca.umd.prod.js +1 -1
  116. package/dist/lang/cs.umd.prod.js +1 -1
  117. package/dist/lang/da.umd.prod.js +1 -1
  118. package/dist/lang/de.umd.prod.js +1 -1
  119. package/dist/lang/el.umd.prod.js +1 -1
  120. package/dist/lang/en-GB.umd.prod.js +1 -1
  121. package/dist/lang/en-US.umd.prod.js +1 -1
  122. package/dist/lang/eo.umd.prod.js +1 -1
  123. package/dist/lang/es.umd.prod.js +1 -1
  124. package/dist/lang/et.umd.prod.js +1 -1
  125. package/dist/lang/eu.umd.prod.js +1 -1
  126. package/dist/lang/fa-IR.umd.prod.js +1 -1
  127. package/dist/lang/fa.umd.prod.js +1 -1
  128. package/dist/lang/fi.umd.prod.js +1 -1
  129. package/dist/lang/fr.umd.prod.js +1 -1
  130. package/dist/lang/gn.umd.prod.js +1 -1
  131. package/dist/lang/he.umd.prod.js +1 -1
  132. package/dist/lang/hr.umd.prod.js +1 -1
  133. package/dist/lang/hu.umd.prod.js +1 -1
  134. package/dist/lang/id.umd.prod.js +1 -1
  135. package/dist/lang/is.umd.prod.js +1 -1
  136. package/dist/lang/it.umd.prod.js +1 -1
  137. package/dist/lang/ja.umd.prod.js +1 -1
  138. package/dist/lang/km.umd.prod.js +1 -1
  139. package/dist/lang/ko-KR.umd.prod.js +1 -1
  140. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  141. package/dist/lang/kz.umd.prod.js +1 -1
  142. package/dist/lang/lt.umd.prod.js +1 -1
  143. package/dist/lang/lu.umd.prod.js +1 -1
  144. package/dist/lang/lv.umd.prod.js +1 -1
  145. package/dist/lang/ml.umd.prod.js +1 -1
  146. package/dist/lang/mm.umd.prod.js +1 -1
  147. package/dist/lang/ms.umd.prod.js +1 -1
  148. package/dist/lang/my.umd.prod.js +1 -1
  149. package/dist/lang/nb-NO.umd.prod.js +1 -1
  150. package/dist/lang/nl.umd.prod.js +1 -1
  151. package/dist/lang/pl.umd.prod.js +1 -1
  152. package/dist/lang/pt-BR.umd.prod.js +1 -1
  153. package/dist/lang/pt.umd.prod.js +1 -1
  154. package/dist/lang/ro.umd.prod.js +1 -1
  155. package/dist/lang/ru.umd.prod.js +1 -1
  156. package/dist/lang/sk.umd.prod.js +1 -1
  157. package/dist/lang/sl.umd.prod.js +1 -1
  158. package/dist/lang/sm.umd.prod.js +1 -1
  159. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  160. package/dist/lang/sr.umd.prod.js +1 -1
  161. package/dist/lang/sv.umd.prod.js +1 -1
  162. package/dist/lang/ta.umd.prod.js +1 -1
  163. package/dist/lang/th.umd.prod.js +1 -1
  164. package/dist/lang/tr.umd.prod.js +1 -1
  165. package/dist/lang/ug.umd.prod.js +1 -1
  166. package/dist/lang/uk.umd.prod.js +1 -1
  167. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  168. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  169. package/dist/lang/vi.umd.prod.js +1 -1
  170. package/dist/lang/zh-CN.umd.prod.js +1 -1
  171. package/dist/lang/zh-TW.umd.prod.js +1 -1
  172. package/dist/quasar.cjs.prod.js +2 -2
  173. package/dist/quasar.css +3 -3
  174. package/dist/quasar.esm.js +223 -192
  175. package/dist/quasar.esm.prod.js +2 -2
  176. package/dist/quasar.prod.css +1 -1
  177. package/dist/quasar.rtl.css +10 -3
  178. package/dist/quasar.rtl.prod.css +1 -1
  179. package/dist/quasar.sass +5 -4
  180. package/dist/quasar.umd.js +222 -191
  181. package/dist/quasar.umd.prod.js +2 -2
  182. package/dist/types/api/dialog.d.ts +101 -0
  183. package/dist/types/api/qpopupproxy.d.ts +3 -0
  184. package/dist/types/api.d.ts +2 -0
  185. package/dist/types/index.d.ts +56 -97
  186. package/dist/vetur/quasar-attributes.json +4 -0
  187. package/dist/vetur/quasar-tags.json +2 -1
  188. package/dist/web-types/web-types.json +142 -132
  189. package/icon-set/mdi-v7.js +146 -0
  190. package/icon-set/mdi-v7.mjs +141 -0
  191. package/icon-set/svg-mdi-v7.js +224 -0
  192. package/icon-set/svg-mdi-v7.mjs +224 -0
  193. package/package.json +4 -4
  194. package/src/api.extends.json +1 -2
  195. package/src/components/ajax-bar/QAjaxBar.json +5 -11
  196. package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
  197. package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -2
  198. package/src/components/btn/QBtn.json +1 -3
  199. package/src/components/btn/__tests__/QBtn.spec.js +87 -14
  200. package/src/components/btn/__tests__/use-btn.spec.js +385 -58
  201. package/src/components/btn-dropdown/QBtnDropdown.js +4 -12
  202. package/src/components/btn-dropdown/QBtnDropdown.json +0 -2
  203. package/src/components/btn-toggle/QBtnToggle.json +2 -4
  204. package/src/components/carousel/QCarousel.json +4 -9
  205. package/src/components/carousel/QCarouselControl.json +0 -1
  206. package/src/components/checkbox/use-checkbox.json +1 -2
  207. package/src/components/circular-progress/QCircularProgress.json +0 -5
  208. package/src/components/color/QColor.json +0 -1
  209. package/src/components/date/QDate.js +6 -4
  210. package/src/components/date/QDate.json +28 -56
  211. package/src/components/dialog/QDialog.js +34 -41
  212. package/src/components/dialog/QDialog.json +9 -2
  213. package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -2
  214. package/src/components/dialog-plugin/DialogPlugin.js +4 -4
  215. package/src/components/drawer/QDrawer.js +5 -5
  216. package/src/components/drawer/QDrawer.json +0 -4
  217. package/src/components/editor/QEditor.json +3 -6
  218. package/src/components/expansion-item/QExpansionItem.js +3 -4
  219. package/src/components/expansion-item/QExpansionItem.json +3 -8
  220. package/src/components/fab/QFab.js +3 -6
  221. package/src/components/fab/QFab.json +0 -1
  222. package/src/components/fab/QFab.sass +2 -1
  223. package/src/components/fab/use-fab.json +0 -1
  224. package/src/components/field/QField.json +0 -1
  225. package/src/components/file/QFile.js +4 -1
  226. package/src/components/file/QFile.json +19 -20
  227. package/src/components/footer/QFooter.json +0 -1
  228. package/src/components/form/QForm.js +5 -3
  229. package/src/components/form/QForm.json +2 -4
  230. package/src/components/header/QHeader.json +0 -4
  231. package/src/components/img/QImg.js +20 -19
  232. package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
  233. package/src/components/inner-loading/QInnerLoading.js +2 -5
  234. package/src/components/input/QInput.js +12 -3
  235. package/src/components/input/QInput.json +11 -7
  236. package/src/components/input/use-mask.js +3 -1
  237. package/src/components/intersection/QIntersection.json +0 -1
  238. package/src/components/item/QItem.json +1 -2
  239. package/src/components/item/QItemLabel.json +0 -1
  240. package/src/components/item/QList.js +7 -2
  241. package/src/components/item/QList.json +7 -0
  242. package/src/components/knob/QKnob.js +3 -3
  243. package/src/components/knob/QKnob.json +3 -12
  244. package/src/components/layout/QLayout.js +1 -1
  245. package/src/components/layout/QLayout.json +6 -12
  246. package/src/components/linear-progress/QLinearProgress.json +0 -2
  247. package/src/components/menu/QMenu.js +12 -6
  248. package/src/components/menu/QMenu.json +0 -2
  249. package/src/components/option-group/QOptionGroup.json +2 -5
  250. package/src/components/page/QPage.json +3 -6
  251. package/src/components/page-scroller/QPageScroller.json +0 -2
  252. package/src/components/page-sticky/QPageSticky.json +0 -1
  253. package/src/components/pagination/QPagination.json +5 -13
  254. package/src/components/parallax/QParallax.json +2 -6
  255. package/src/components/popup-edit/QPopupEdit.js +3 -3
  256. package/src/components/popup-edit/QPopupEdit.json +4 -10
  257. package/src/components/popup-proxy/QPopupProxy.js +6 -0
  258. package/src/components/popup-proxy/QPopupProxy.json +19 -1
  259. package/src/components/radio/QRadio.json +1 -2
  260. package/src/components/range/QRange.json +2 -4
  261. package/src/components/rating/QRating.json +0 -1
  262. package/src/components/resize-observer/QResizeObserver.json +2 -4
  263. package/src/components/scroll-area/QScrollArea.js +15 -4
  264. package/src/components/scroll-area/QScrollArea.json +24 -50
  265. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  266. package/src/components/scroll-observer/QScrollObserver.json +6 -12
  267. package/src/components/select/QSelect.js +28 -27
  268. package/src/components/select/QSelect.json +30 -65
  269. package/src/components/select/QSelect.sass +2 -2
  270. package/src/components/slide-item/QSlideItem.json +1 -2
  271. package/src/components/slide-transition/QSlideTransition.json +0 -1
  272. package/src/components/slider/use-slider.json +33 -70
  273. package/src/components/spinner/QSpinner.json +0 -1
  274. package/src/components/splitter/QSplitter.json +1 -2
  275. package/src/components/table/QTable.js +3 -3
  276. package/src/components/table/QTable.json +118 -239
  277. package/src/components/tabs/QRouteTab.json +0 -1
  278. package/src/components/tabs/QTabs.json +0 -2
  279. package/src/components/time/QTime.json +10 -20
  280. package/src/components/tooltip/QTooltip.js +2 -5
  281. package/src/components/tooltip/QTooltip.json +0 -4
  282. package/src/components/tree/QTree.js +6 -6
  283. package/src/components/tree/QTree.json +15 -31
  284. package/src/components/uploader/QUploader.json +13 -22
  285. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  286. package/src/components/uploader/xhr-uploader-plugin.json +25 -50
  287. package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
  288. package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
  289. package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
  290. package/src/composables/private/use-field.js +1 -1
  291. package/src/composables/private/use-field.json +2 -3
  292. package/src/composables/private/use-file.json +4 -13
  293. package/src/composables/private/use-model-toggle.js +3 -3
  294. package/src/composables/private/use-panel.js +2 -2
  295. package/src/composables/private/use-panel.json +0 -2
  296. package/src/composables/private/use-portal.js +5 -1
  297. package/src/composables/private/use-portal.json +7 -1
  298. package/src/composables/private/use-transition.js +17 -11
  299. package/src/composables/private/use-transition.json +0 -1
  300. package/src/composables/private/use-validate.json +1 -3
  301. package/src/directives/Intersection.json +26 -53
  302. package/src/directives/Morph.json +4 -8
  303. package/src/directives/Mutation.json +6 -12
  304. package/src/directives/Scroll.json +2 -4
  305. package/src/directives/TouchHold.json +3 -6
  306. package/src/directives/TouchPan.json +7 -14
  307. package/src/directives/TouchRepeat.json +6 -12
  308. package/src/directives/TouchSwipe.json +3 -6
  309. package/src/plugins/BottomSheet.json +1 -2
  310. package/src/plugins/Cookies.json +2 -4
  311. package/src/plugins/Dialog.json +35 -73
  312. package/src/plugins/Loading.json +6 -11
  313. package/src/plugins/LoadingBar.json +3 -6
  314. package/src/plugins/Notify.json +4 -5
  315. package/src/plugins/Platform.json +3 -6
  316. package/src/plugins/Screen.json +9 -18
  317. package/src/utils/private/global-dialog.json +6 -12
  318. package/src/utils/private/portal.js +4 -4
  319. package/src/utils/private/web-storage.json +6 -10
@@ -18,9 +18,6 @@
18
18
  "bottom",
19
19
  "left"
20
20
  ],
21
- "examples": [
22
- "top-right"
23
- ],
24
21
  "category": "position",
25
22
  "required": false
26
23
  },
@@ -19,11 +19,6 @@
19
19
  "type": "Number",
20
20
  "default": 0,
21
21
  "desc": "Current progress (must be between min/max)",
22
- "examples": [
23
- 0,
24
- 100,
25
- 52.32
26
- ],
27
22
  "category": "model",
28
23
  "required": false
29
24
  },
@@ -31,11 +26,6 @@
31
26
  "type": "Number",
32
27
  "default": 0,
33
28
  "desc": "Minimum value defining 'no progress' (must be lower than 'max')",
34
- "examples": [
35
- 0,
36
- 100,
37
- 52.32
38
- ],
39
29
  "category": "model",
40
30
  "required": false
41
31
  },
@@ -43,10 +33,6 @@
43
33
  "type": "Number",
44
34
  "default": 100,
45
35
  "desc": "Maximum value defining 100% progress made (must be higher than 'min')",
46
- "examples": [
47
- 100,
48
- 52.32
49
- ],
50
36
  "category": "model",
51
37
  "required": false
52
38
  },
@@ -99,10 +85,6 @@
99
85
  "type": "Number",
100
86
  "default": 0.2,
101
87
  "desc": "Thickness of progress arc as a ratio (0.0 < x < 1.0) of component size",
102
- "examples": [
103
- 1,
104
- 0.3
105
- ],
106
88
  "category": "style",
107
89
  "required": false
108
90
  },
@@ -110,11 +92,6 @@
110
92
  "type": "Number",
111
93
  "desc": "Angle to rotate progress arc by",
112
94
  "default": 0,
113
- "examples": [
114
- 0,
115
- 40,
116
- 90
117
- ],
118
95
  "category": "content",
119
96
  "required": false
120
97
  },
@@ -57,9 +57,6 @@
57
57
  "hexa",
58
58
  "rgba"
59
59
  ],
60
- "examples": [
61
- "hex"
62
- ],
63
60
  "category": "model",
64
61
  "required": false
65
62
  },
@@ -33,10 +33,6 @@
33
33
  ],
34
34
  "desc": "Transition duration (in milliseconds, without unit)",
35
35
  "default": 300,
36
- "examples": [
37
- 500,
38
- "1200"
39
- ],
40
36
  "category": "transition",
41
37
  "required": false
42
38
  },
@@ -101,10 +97,6 @@
101
97
  "bottom",
102
98
  "left"
103
99
  ],
104
- "examples": [
105
- "top",
106
- "right"
107
- ],
108
100
  "category": "content",
109
101
  "required": false
110
102
  },
@@ -244,7 +236,24 @@
244
236
  }
245
237
  },
246
238
  "shake": {
247
- "desc": "Shakes dialog"
239
+ "desc": "Shakes dialog",
240
+ "params": {
241
+ "focusTarget": {
242
+ "type": "Element",
243
+ "desc": "Optional DOM Element to be focused after shake",
244
+ "examples": [
245
+ "document.getElementById('example')"
246
+ ],
247
+ "addedIn": "v2.10.1"
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "computedProps": {
253
+ "contentEl": {
254
+ "type": "Element",
255
+ "desc": "The DOM Element of the rendered content",
256
+ "addedIn": "v2.10.1"
248
257
  }
249
258
  }
250
259
  }
@@ -17,9 +17,6 @@
17
17
  "right"
18
18
  ],
19
19
  "default": "left",
20
- "examples": [
21
- "right"
22
- ],
23
20
  "category": "behavior",
24
21
  "required": false
25
22
  },
@@ -83,9 +80,6 @@
83
80
  "mobile"
84
81
  ],
85
82
  "default": "default",
86
- "examples": [
87
- "mobile"
88
- ],
89
83
  "category": "behavior",
90
84
  "required": false
91
85
  },
@@ -186,9 +186,6 @@
186
186
  "type": "Number",
187
187
  "desc": "Animation duration (in milliseconds)",
188
188
  "default": 300,
189
- "examples": [
190
- ":duration=\"1000\""
191
- ],
192
189
  "category": "behavior",
193
190
  "required": false
194
191
  },
@@ -83,12 +83,10 @@
83
83
  "Number"
84
84
  ],
85
85
  "desc": "The label that will be shown when Fab is extended",
86
- "default": "",
87
86
  "examples": [
88
87
  "Button Label"
89
88
  ],
90
- "category": "content",
91
- "required": false
89
+ "category": "content"
92
90
  },
93
91
  "label-position": {
94
92
  "type": "String",
@@ -200,9 +198,6 @@
200
198
  "down",
201
199
  "left"
202
200
  ],
203
- "examples": [
204
- "down"
205
- ],
206
201
  "category": "behavior",
207
202
  "required": false
208
203
  },
@@ -83,12 +83,10 @@
83
83
  "Number"
84
84
  ],
85
85
  "desc": "The label that will be shown when Fab is extended",
86
- "default": "",
87
86
  "examples": [
88
87
  "Button Label"
89
88
  ],
90
- "category": "content",
91
- "required": false
89
+ "category": "content"
92
90
  },
93
91
  "label-position": {
94
92
  "type": "String",
@@ -252,9 +252,6 @@
252
252
  "Number"
253
253
  ],
254
254
  "desc": "Specify a max length of model",
255
- "examples": [
256
- "12"
257
- ],
258
255
  "category": "model"
259
256
  }
260
257
  },
@@ -350,9 +347,7 @@
350
347
  "desc": "When using the 'clearable' property, this event is emitted when the clear icon is clicked",
351
348
  "params": {
352
349
  "value": {
353
- "type": [
354
- "Any"
355
- ],
350
+ "type": "Any",
356
351
  "desc": "The previous value before clearing it"
357
352
  }
358
353
  }
@@ -54,10 +54,6 @@
54
54
  "String"
55
55
  ],
56
56
  "desc": "Maximum size of all files combined in bytes",
57
- "examples": [
58
- 1024,
59
- 1048576
60
- ],
61
57
  "category": "behavior"
62
58
  },
63
59
  "max-files": {
@@ -66,10 +62,6 @@
66
62
  "String"
67
63
  ],
68
64
  "desc": "Maximum number of files to contain",
69
- "examples": [
70
- ":max-files=\"5\"",
71
- "10"
72
- ],
73
65
  "category": "behavior"
74
66
  },
75
67
  "filter": {
@@ -378,10 +370,7 @@
378
370
  "filesNumber": {
379
371
  "type": "Number",
380
372
  "required": true,
381
- "desc": "Number of picked files",
382
- "examples": [
383
- 5
384
- ]
373
+ "desc": "Number of picked files"
385
374
  },
386
375
  "maxFiles": {
387
376
  "type": [
@@ -389,10 +378,7 @@
389
378
  "String"
390
379
  ],
391
380
  "required": true,
392
- "desc": "Maximum number of files (same as 'max-files' prop, if specified); When 'max-files' is not specified, this has 'void 0' as value",
393
- "examples": [
394
- 5
395
- ]
381
+ "desc": "Maximum number of files (same as 'max-files' prop, if specified); When 'max-files' is not specified, this has 'void 0' as value"
396
382
  }
397
383
  }
398
384
  }
@@ -483,10 +469,7 @@
483
469
  "scope": {
484
470
  "index": {
485
471
  "type": "Number",
486
- "desc": "Selection index",
487
- "examples": [
488
- 0
489
- ]
472
+ "desc": "Selection index"
490
473
  },
491
474
  "file": {
492
475
  "type": "File",
@@ -532,9 +515,7 @@
532
515
  "desc": "When using the 'clearable' property, this event is emitted when the clear icon is clicked",
533
516
  "params": {
534
517
  "value": {
535
- "type": [
536
- "Any"
537
- ],
518
+ "type": "Any",
538
519
  "desc": "The previous value before clearing it"
539
520
  }
540
521
  }
@@ -608,10 +589,7 @@
608
589
  "index": {
609
590
  "type": "Number",
610
591
  "desc": "Index at which to remove selection",
611
- "required": true,
612
- "examples": [
613
- 0
614
- ]
592
+ "required": true
615
593
  }
616
594
  }
617
595
  },
@@ -626,9 +604,9 @@
626
604
  }
627
605
  },
628
606
  "getNativeElement": {
629
- "desc": "Get the native input DOM Element",
607
+ "desc": "DEPRECATED; Access 'nativeEl' directly; Gets the native input DOM Element",
630
608
  "returns": {
631
- "type": "Object",
609
+ "type": "Element",
632
610
  "desc": "The underlying native input DOM Element"
633
611
  }
634
612
  }
@@ -637,6 +615,11 @@
637
615
  "hasError": {
638
616
  "type": "Boolean",
639
617
  "desc": "Whether the component is in error state"
618
+ },
619
+ "nativeEl": {
620
+ "type": "Element",
621
+ "desc": "The native input DOM Element",
622
+ "addedIn": "v2.10.1"
640
623
  }
641
624
  }
642
625
  }
@@ -37,9 +37,6 @@
37
37
  ],
38
38
  "desc": "When using SSR, you can optionally hint of the height (in pixels) of the QFooter",
39
39
  "default": 50,
40
- "examples": [
41
- "150"
42
- ],
43
40
  "category": "behavior",
44
41
  "required": false
45
42
  }
@@ -24,9 +24,6 @@
24
24
  "type": "Number",
25
25
  "desc": "Amount of scroll (in pixels) that should trigger a 'reveal' state change",
26
26
  "default": 250,
27
- "examples": [
28
- ":reveal-offset=\"500\""
29
- ],
30
27
  "category": "behavior",
31
28
  "required": false
32
29
  },
@@ -47,9 +44,6 @@
47
44
  ],
48
45
  "desc": "When using SSR, you can optionally hint of the height (in pixels) of the QHeader",
49
46
  "default": 50,
50
- "examples": [
51
- "150"
52
- ],
53
47
  "category": "behavior",
54
48
  "required": false
55
49
  }
@@ -8,9 +8,6 @@
8
8
  "type": "Number",
9
9
  "desc": "Offset (pixels) to bottom of Infinite Scroll container from which the component should start loading more content in advance",
10
10
  "default": 500,
11
- "examples": [
12
- ":offset=\"250\""
13
- ],
14
11
  "category": "behavior",
15
12
  "required": false
16
13
  },
@@ -21,10 +18,6 @@
21
18
  ],
22
19
  "desc": "Debounce amount (in milliseconds)",
23
20
  "default": 100,
24
- "examples": [
25
- "0",
26
- "530"
27
- ],
28
21
  "category": "behavior",
29
22
  "required": false
30
23
  },
@@ -32,10 +25,6 @@
32
25
  "type": "Number",
33
26
  "desc": "Initialize the pagination index (used for the @load event)",
34
27
  "default": 0,
35
- "examples": [
36
- 2,
37
- 3
38
- ],
39
28
  "category": "behavior",
40
29
  "required": false
41
30
  },
@@ -78,10 +67,7 @@
78
67
  "params": {
79
68
  "index": {
80
69
  "type": "Number",
81
- "desc": "The index parameter can be used to make some sort of pagination on the content you load. It takes numeric values starting with 1 and incrementing with each call",
82
- "examples": [
83
- 12
84
- ]
70
+ "desc": "The index parameter can be used to make some sort of pagination on the content you load. It takes numeric values starting with 1 and incrementing with each call"
85
71
  },
86
72
  "done": {
87
73
  "type": "Function",
@@ -114,7 +100,14 @@
114
100
  "desc": "Starts working. Checks scroll position upon call and if trigger is hit, it loads more content"
115
101
  },
116
102
  "setIndex": {
117
- "desc": "Overwrite the current pagination index"
103
+ "desc": "Overwrite the current pagination index",
104
+ "params": {
105
+ "newIndex": {
106
+ "type": "Number",
107
+ "desc": "New pagination index",
108
+ "required": true
109
+ }
110
+ }
118
111
  },
119
112
  "updateScrollTarget": {
120
113
  "desc": "Updates the scroll target; Useful when the parent elements change so that the scrolling target also changes"
@@ -33,10 +33,6 @@
33
33
  ],
34
34
  "desc": "Transition duration (in milliseconds, without unit)",
35
35
  "default": 300,
36
- "examples": [
37
- 500,
38
- "1200"
39
- ],
40
36
  "category": "transition",
41
37
  "required": false
42
38
  },
@@ -319,9 +319,6 @@
319
319
  "time",
320
320
  "date"
321
321
  ],
322
- "examples": [
323
- "password"
324
- ],
325
322
  "category": "general",
326
323
  "required": false
327
324
  },
@@ -331,10 +328,6 @@
331
328
  "Number"
332
329
  ],
333
330
  "desc": "Debounce amount (in milliseconds) when updating model",
334
- "examples": [
335
- "0",
336
- "530"
337
- ],
338
331
  "category": "model"
339
332
  },
340
333
  "maxlength": {
@@ -343,9 +336,6 @@
343
336
  "Number"
344
337
  ],
345
338
  "desc": "Specify a max length of model",
346
- "examples": [
347
- "12"
348
- ],
349
339
  "category": "model"
350
340
  },
351
341
  "autogrow": {
@@ -419,9 +409,7 @@
419
409
  "desc": "When using the 'clearable' property, this event is emitted when the clear icon is clicked",
420
410
  "params": {
421
411
  "value": {
422
- "type": [
423
- "Any"
424
- ],
412
+ "type": "Any",
425
413
  "desc": "The previous value before clearing it"
426
414
  }
427
415
  }
@@ -493,9 +481,9 @@
493
481
  "desc": "Select input text"
494
482
  },
495
483
  "getNativeElement": {
496
- "desc": "Get the native input/textarea DOM Element",
484
+ "desc": "DEPRECATED; Access 'nativeEl' directly instead; Get the native input/textarea DOM Element",
497
485
  "returns": {
498
- "type": "Object",
486
+ "type": "Element",
499
487
  "desc": "The underlying native input/textarea DOM Element"
500
488
  }
501
489
  }
@@ -504,6 +492,11 @@
504
492
  "hasError": {
505
493
  "type": "Boolean",
506
494
  "desc": "Whether the component is in error state"
495
+ },
496
+ "nativeEl": {
497
+ "type": "Element",
498
+ "desc": "The native input/textarea DOM Element",
499
+ "addedIn": "v2.10.1"
507
500
  }
508
501
  }
509
502
  }
@@ -74,10 +74,6 @@
74
74
  ],
75
75
  "desc": "Transition duration (in milliseconds, without unit)",
76
76
  "default": 300,
77
- "examples": [
78
- 500,
79
- "1200"
80
- ],
81
77
  "category": "behavior",
82
78
  "addedIn": "v2.3.1",
83
79
  "required": false
@@ -25,11 +25,6 @@
25
25
  "String"
26
26
  ],
27
27
  "desc": "Apply ellipsis when there's not enough space to render on the specified number of lines;",
28
- "examples": [
29
- "1",
30
- "3",
31
- ":lines=\"2\""
32
- ],
33
28
  "category": "content|behavior"
34
29
  }
35
30
  },
@@ -36,47 +36,29 @@
36
36
  "min": {
37
37
  "type": "Number",
38
38
  "desc": "The minimum value that the model (the knob value) should start at",
39
- "examples": [
40
- "20",
41
- "5"
42
- ],
43
39
  "category": "model"
44
40
  },
45
41
  "max": {
46
42
  "type": "Number",
47
43
  "desc": "The maximum value that the model (the knob value) should go to",
48
- "examples": [
49
- "100",
50
- "50"
51
- ],
52
44
  "category": "model"
53
45
  },
54
46
  "inner-min": {
55
47
  "type": "Number",
56
48
  "desc": "Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop",
57
- "examples": [
58
- ":inner-min=\"0\""
59
- ],
60
49
  "category": "model",
61
50
  "addedIn": "v2.5.4"
62
51
  },
63
52
  "inner-max": {
64
53
  "type": "Number",
65
54
  "desc": "Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop",
66
- "examples": [
67
- ":inner-max=\"100\""
68
- ],
69
55
  "category": "model",
70
56
  "addedIn": "v2.5.4"
71
57
  },
72
58
  "step": {
73
59
  "type": "Number",
74
- "default": "1",
60
+ "default": 1,
75
61
  "desc": "A number representing steps in the value of the model, while adjusting the knob",
76
- "examples": [
77
- "1",
78
- "5"
79
- ],
80
62
  "category": "model",
81
63
  "required": false
82
64
  },
@@ -133,10 +115,6 @@
133
115
  "type": "Number",
134
116
  "default": 0.2,
135
117
  "desc": "Thickness of progress arc as a ratio (0.0 < x < 1.0) of component size",
136
- "examples": [
137
- 1,
138
- 0.3
139
- ],
140
118
  "category": "style",
141
119
  "required": false
142
120
  },
@@ -144,11 +122,6 @@
144
122
  "type": "Number",
145
123
  "desc": "Angle to rotate progress arc by",
146
124
  "default": 0,
147
- "examples": [
148
- 0,
149
- 40,
150
- 90
151
- ],
152
125
  "category": "content",
153
126
  "required": false
154
127
  },
@@ -201,10 +174,7 @@
201
174
  "params": {
202
175
  "value": {
203
176
  "type": "Number",
204
- "desc": "New model value",
205
- "examples": [
206
- 12
207
- ]
177
+ "desc": "New model value"
208
178
  }
209
179
  }
210
180
  },
@@ -213,10 +183,7 @@
213
183
  "params": {
214
184
  "value": {
215
185
  "type": "Number",
216
- "desc": "New model value",
217
- "examples": [
218
- 12
219
- ]
186
+ "desc": "New model value"
220
187
  }
221
188
  }
222
189
  }
@@ -36,18 +36,12 @@
36
36
  "height": {
37
37
  "type": "Number",
38
38
  "required": true,
39
- "desc": "Layout height",
40
- "examples": [
41
- 575
42
- ]
39
+ "desc": "Layout height"
43
40
  },
44
41
  "width": {
45
42
  "type": "Number",
46
43
  "required": true,
47
- "desc": "Layout height",
48
- "examples": [
49
- 575
50
- ]
44
+ "desc": "Layout height"
51
45
  }
52
46
  }
53
47
  }
@@ -63,10 +57,7 @@
63
57
  "position": {
64
58
  "type": "Number",
65
59
  "required": true,
66
- "desc": "Scroll offset from top (vertical)",
67
- "examples": [
68
- 120
69
- ]
60
+ "desc": "Scroll offset from top (vertical)"
70
61
  },
71
62
  "direction": {
72
63
  "type": "String",
@@ -85,18 +76,12 @@
85
76
  "delta": {
86
77
  "type": "Number",
87
78
  "required": true,
88
- "desc": "Vertical delta distance since event was last emitted",
89
- "examples": [
90
- 120
91
- ]
79
+ "desc": "Vertical delta distance since event was last emitted"
92
80
  },
93
81
  "inflectionPoint": {
94
82
  "type": "Number",
95
83
  "required": true,
96
- "desc": "Scroll offset from top (vertical)",
97
- "examples": [
98
- 120
99
- ]
84
+ "desc": "Scroll offset from top (vertical)"
100
85
  }
101
86
  }
102
87
  }
@@ -107,10 +92,7 @@
107
92
  "params": {
108
93
  "height": {
109
94
  "type": "Number",
110
- "desc": "New scroll height of layout",
111
- "examples": [
112
- 1442
113
- ]
95
+ "desc": "New scroll height of layout"
114
96
  }
115
97
  }
116
98
  }