quasar 2.12.7 → 2.13.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 (210) hide show
  1. package/dist/api/BottomSheet.json +7 -2
  2. package/dist/api/Dialog.json +7 -2
  3. package/dist/api/QBanner.json +7 -2
  4. package/dist/api/QBar.json +7 -2
  5. package/dist/api/QBtn.json +7 -2
  6. package/dist/api/QBtnDropdown.json +7 -2
  7. package/dist/api/QCard.json +7 -2
  8. package/dist/api/QCarousel.json +7 -2
  9. package/dist/api/QCheckbox.json +8 -3
  10. package/dist/api/QChip.json +13 -3
  11. package/dist/api/QColor.json +7 -2
  12. package/dist/api/QDate.json +7 -2
  13. package/dist/api/QDrawer.json +7 -2
  14. package/dist/api/QEditor.json +7 -2
  15. package/dist/api/QExpansionItem.json +7 -2
  16. package/dist/api/QFab.json +7 -2
  17. package/dist/api/QFabAction.json +7 -2
  18. package/dist/api/QField.json +28 -7
  19. package/dist/api/QFile.json +14 -4
  20. package/dist/api/QImg.json +1 -1
  21. package/dist/api/QInnerLoading.json +7 -2
  22. package/dist/api/QInput.json +16 -5
  23. package/dist/api/QIntersection.json +7 -2
  24. package/dist/api/QItem.json +12 -4
  25. package/dist/api/QLinearProgress.json +7 -2
  26. package/dist/api/QList.json +7 -2
  27. package/dist/api/QMarkupTable.json +7 -2
  28. package/dist/api/QMenu.json +21 -6
  29. package/dist/api/QOptionGroup.json +7 -2
  30. package/dist/api/QPagination.json +37 -11
  31. package/dist/api/QRadio.json +7 -2
  32. package/dist/api/QRange.json +7 -2
  33. package/dist/api/QScrollArea.json +14 -4
  34. package/dist/api/QSelect.json +24 -8
  35. package/dist/api/QSeparator.json +7 -2
  36. package/dist/api/QSkeleton.json +7 -2
  37. package/dist/api/QSlideItem.json +7 -2
  38. package/dist/api/QSlider.json +7 -2
  39. package/dist/api/QStepper.json +7 -2
  40. package/dist/api/QTabPanel.json +7 -2
  41. package/dist/api/QTable.json +124 -21
  42. package/dist/api/QTime.json +17 -6
  43. package/dist/api/QTimeline.json +7 -2
  44. package/dist/api/QToggle.json +8 -3
  45. package/dist/api/QTooltip.json +14 -4
  46. package/dist/api/QTree.json +7 -2
  47. package/dist/api/QUploader.json +7 -2
  48. package/dist/api/QVirtualScroll.json +2 -1
  49. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  50. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  51. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  52. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  53. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  54. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  55. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  56. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  57. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  58. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  59. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  60. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  61. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  62. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  63. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  64. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  65. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  66. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  67. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  68. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  69. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  70. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  71. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  72. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  73. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  74. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  75. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  76. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  77. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +2 -2
  78. package/dist/icon-set/svg-material-icons-round.umd.prod.js +2 -2
  79. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +2 -2
  80. package/dist/icon-set/svg-material-icons.umd.prod.js +2 -2
  81. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +2 -2
  82. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
  83. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
  84. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  85. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  86. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  87. package/dist/icon-set/themify.umd.prod.js +1 -1
  88. package/dist/lang/ar-TN.umd.prod.js +1 -1
  89. package/dist/lang/ar.umd.prod.js +1 -1
  90. package/dist/lang/az-Latn.umd.prod.js +1 -1
  91. package/dist/lang/bg.umd.prod.js +1 -1
  92. package/dist/lang/bn.umd.prod.js +1 -1
  93. package/dist/lang/ca.umd.prod.js +1 -1
  94. package/dist/lang/cs.umd.prod.js +1 -1
  95. package/dist/lang/da.umd.prod.js +1 -1
  96. package/dist/lang/de-CH.umd.prod.js +6 -0
  97. package/dist/lang/de-DE.umd.prod.js +6 -0
  98. package/dist/lang/de.umd.prod.js +1 -1
  99. package/dist/lang/el.umd.prod.js +1 -1
  100. package/dist/lang/en-GB.umd.prod.js +1 -1
  101. package/dist/lang/en-US.umd.prod.js +1 -1
  102. package/dist/lang/eo.umd.prod.js +1 -1
  103. package/dist/lang/es.umd.prod.js +1 -1
  104. package/dist/lang/et.umd.prod.js +1 -1
  105. package/dist/lang/eu.umd.prod.js +1 -1
  106. package/dist/lang/fa-IR.umd.prod.js +1 -1
  107. package/dist/lang/fa.umd.prod.js +1 -1
  108. package/dist/lang/fi.umd.prod.js +1 -1
  109. package/dist/lang/fr.umd.prod.js +1 -1
  110. package/dist/lang/gn.umd.prod.js +1 -1
  111. package/dist/lang/he.umd.prod.js +1 -1
  112. package/dist/lang/hi.umd.prod.js +1 -1
  113. package/dist/lang/hr.umd.prod.js +1 -1
  114. package/dist/lang/hu.umd.prod.js +1 -1
  115. package/dist/lang/id.umd.prod.js +1 -1
  116. package/dist/lang/is.umd.prod.js +1 -1
  117. package/dist/lang/it.umd.prod.js +1 -1
  118. package/dist/lang/ja.umd.prod.js +1 -1
  119. package/dist/lang/kk.umd.prod.js +1 -1
  120. package/dist/lang/km.umd.prod.js +1 -1
  121. package/dist/lang/ko-KR.umd.prod.js +1 -1
  122. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  123. package/dist/lang/lt.umd.prod.js +1 -1
  124. package/dist/lang/lu.umd.prod.js +1 -1
  125. package/dist/lang/lv.umd.prod.js +1 -1
  126. package/dist/lang/mk.umd.prod.js +2 -2
  127. package/dist/lang/ml.umd.prod.js +1 -1
  128. package/dist/lang/mm.umd.prod.js +1 -1
  129. package/dist/lang/ms.umd.prod.js +1 -1
  130. package/dist/lang/my.umd.prod.js +1 -1
  131. package/dist/lang/nb-NO.umd.prod.js +1 -1
  132. package/dist/lang/nl.umd.prod.js +1 -1
  133. package/dist/lang/pl.umd.prod.js +1 -1
  134. package/dist/lang/pt-BR.umd.prod.js +1 -1
  135. package/dist/lang/pt.umd.prod.js +1 -1
  136. package/dist/lang/ro.umd.prod.js +1 -1
  137. package/dist/lang/ru.umd.prod.js +1 -1
  138. package/dist/lang/sk.umd.prod.js +1 -1
  139. package/dist/lang/sl.umd.prod.js +1 -1
  140. package/dist/lang/sm.umd.prod.js +1 -1
  141. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  142. package/dist/lang/sr.umd.prod.js +1 -1
  143. package/dist/lang/sv.umd.prod.js +1 -1
  144. package/dist/lang/ta.umd.prod.js +1 -1
  145. package/dist/lang/th.umd.prod.js +1 -1
  146. package/dist/lang/tr.umd.prod.js +1 -1
  147. package/dist/lang/ug.umd.prod.js +1 -1
  148. package/dist/lang/uk.umd.prod.js +1 -1
  149. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  150. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  151. package/dist/lang/vi.umd.prod.js +1 -1
  152. package/dist/lang/zh-CN.umd.prod.js +1 -1
  153. package/dist/lang/zh-TW.umd.prod.js +1 -1
  154. package/dist/quasar.addon.prod.css +1 -1
  155. package/dist/quasar.addon.rtl.prod.css +1 -1
  156. package/dist/quasar.cjs.prod.js +2 -2
  157. package/dist/quasar.esm.js +136 -43
  158. package/dist/quasar.esm.prod.js +2 -2
  159. package/dist/quasar.prod.css +1 -1
  160. package/dist/quasar.rtl.prod.css +1 -1
  161. package/dist/quasar.sass +1 -1
  162. package/dist/quasar.umd.js +136 -43
  163. package/dist/quasar.umd.prod.js +2 -2
  164. package/dist/types/api/qtree.d.ts +115 -21
  165. package/dist/types/index.d.ts +98 -83
  166. package/dist/vetur/quasar-attributes.json +70 -66
  167. package/dist/vetur/quasar-tags.json +2 -1
  168. package/dist/web-types/web-types.json +134 -184
  169. package/lang/de-CH.js +98 -0
  170. package/lang/de-CH.mjs +93 -0
  171. package/lang/de-DE.js +98 -0
  172. package/lang/de-DE.mjs +93 -0
  173. package/lang/index.json +8 -0
  174. package/lang/mk.js +4 -4
  175. package/lang/mk.mjs +4 -4
  176. package/package.json +4 -3
  177. package/src/api.extends.json +2 -1
  178. package/src/components/btn/use-btn.json +2 -1
  179. package/src/components/checkbox/use-checkbox.json +1 -1
  180. package/src/components/chip/QChip.json +2 -1
  181. package/src/components/date/QDate.js +4 -4
  182. package/src/components/fab/use-fab.json +2 -1
  183. package/src/components/field/QField.js +14 -2
  184. package/src/components/field/QField.json +7 -0
  185. package/src/components/field/__tests__/QField.cy.js +156 -0
  186. package/src/components/img/QImg.json +1 -1
  187. package/src/components/input/QInput.json +2 -1
  188. package/src/components/input/use-mask.js +6 -1
  189. package/src/components/intersection/QIntersection.json +2 -1
  190. package/src/components/item/QItem.js +1 -1
  191. package/src/components/item/QItem.json +3 -3
  192. package/src/components/menu/QMenu.json +4 -0
  193. package/src/components/pagination/QPagination.json +9 -5
  194. package/src/components/scroll-area/QScrollArea.js +16 -1
  195. package/src/components/scroll-area/QScrollArea.json +2 -1
  196. package/src/components/select/QSelect.js +42 -17
  197. package/src/components/select/QSelect.json +3 -2
  198. package/src/components/select/__tests__/QSelect.cy.js +2 -1
  199. package/src/components/table/QTable.json +38 -1
  200. package/src/components/table/table-sort.js +5 -0
  201. package/src/components/time/QTime.js +16 -3
  202. package/src/components/time/QTime.json +4 -3
  203. package/src/components/tooltip/QTooltip.json +4 -0
  204. package/src/components/tree/QTree.js +8 -3
  205. package/src/components/virtual-scroll/use-virtual-scroll.json +1 -1
  206. package/src/composables/private/__tests__/FieldWrapper.vue +17 -2
  207. package/src/composables/private/__tests__/use-field.cy.js +334 -137
  208. package/src/composables/private/__tests__/use-validate.cy.js +162 -15
  209. package/src/composables/private/use-field.js +21 -8
  210. package/src/composables/private/use-validate.json +2 -1
@@ -129,9 +129,14 @@
129
129
  "desc": "Display actions as a grid instead of as a list"
130
130
  },
131
131
  "dark": {
132
- "type": "Boolean",
132
+ "type": [
133
+ "Boolean",
134
+ "null"
135
+ ],
136
+ "default": null,
133
137
  "desc": "Apply dark mode",
134
- "category": "style"
138
+ "category": "style",
139
+ "required": false
135
140
  },
136
141
  "seamless": {
137
142
  "type": "Boolean",
@@ -281,9 +281,14 @@
281
281
  "category": "style"
282
282
  },
283
283
  "dark": {
284
- "type": "Boolean",
284
+ "type": [
285
+ "Boolean",
286
+ "null"
287
+ ],
288
+ "default": null,
285
289
  "desc": "Apply dark mode",
286
- "category": "style"
290
+ "category": "style",
291
+ "required": false
287
292
  },
288
293
  "persistent": {
289
294
  "type": "Boolean",
@@ -20,9 +20,14 @@
20
20
  "category": "style"
21
21
  },
22
22
  "dark": {
23
- "type": "Boolean",
23
+ "type": [
24
+ "Boolean",
25
+ "null"
26
+ ],
27
+ "default": null,
24
28
  "desc": "Notify the component that the background is a dark color",
25
- "category": "style"
29
+ "category": "style",
30
+ "required": false
26
31
  }
27
32
  },
28
33
  "slots": {
@@ -10,9 +10,14 @@
10
10
  "category": "style"
11
11
  },
12
12
  "dark": {
13
- "type": "Boolean",
13
+ "type": [
14
+ "Boolean",
15
+ "null"
16
+ ],
17
+ "default": null,
14
18
  "desc": "The component background color lights up the parent's background (as opposed to default behavior which is to darken it); Works unless you specify a CSS background color for it",
15
- "category": "style"
19
+ "category": "style",
20
+ "required": false
16
21
  }
17
22
  },
18
23
  "slots": {
@@ -250,9 +250,14 @@
250
250
  "category": "content"
251
251
  },
252
252
  "loading": {
253
- "type": "Boolean",
253
+ "type": [
254
+ "Boolean",
255
+ "null"
256
+ ],
257
+ "default": null,
254
258
  "desc": "Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)",
255
- "category": "behavior|state"
259
+ "category": "behavior|state",
260
+ "required": false
256
261
  },
257
262
  "disable": {
258
263
  "type": "Boolean",
@@ -292,9 +292,14 @@
292
292
  "category": "content"
293
293
  },
294
294
  "loading": {
295
- "type": "Boolean",
295
+ "type": [
296
+ "Boolean",
297
+ "null"
298
+ ],
299
+ "default": null,
296
300
  "desc": "Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)",
297
- "category": "behavior|state"
301
+ "category": "behavior|state",
302
+ "required": false
298
303
  },
299
304
  "disable": {
300
305
  "type": "Boolean",
@@ -5,9 +5,14 @@
5
5
  },
6
6
  "props": {
7
7
  "dark": {
8
- "type": "Boolean",
8
+ "type": [
9
+ "Boolean",
10
+ "null"
11
+ ],
12
+ "default": null,
9
13
  "desc": "Notify the component that the background is a dark color",
10
- "category": "style"
14
+ "category": "style",
15
+ "required": false
11
16
  },
12
17
  "square": {
13
18
  "type": "Boolean",
@@ -119,9 +119,14 @@
119
119
  "required": false
120
120
  },
121
121
  "dark": {
122
- "type": "Boolean",
122
+ "type": [
123
+ "Boolean",
124
+ "null"
125
+ ],
126
+ "default": null,
123
127
  "desc": "Notify the component that the background is a dark color",
124
- "category": "style"
128
+ "category": "style",
129
+ "required": false
125
130
  },
126
131
  "height": {
127
132
  "type": "String",
@@ -73,7 +73,7 @@
73
73
  0,
74
74
  "not_answered"
75
75
  ],
76
- "category": "behavior",
76
+ "category": "model",
77
77
  "required": false
78
78
  },
79
79
  "toggle-order": {
@@ -149,9 +149,14 @@
149
149
  "category": "behavior"
150
150
  },
151
151
  "dark": {
152
- "type": "Boolean",
152
+ "type": [
153
+ "Boolean",
154
+ "null"
155
+ ],
156
+ "default": null,
153
157
  "desc": "Notify the component that the background is a dark color",
154
- "category": "style"
158
+ "category": "style",
159
+ "required": false
155
160
  },
156
161
  "dense": {
157
162
  "type": "Boolean",
@@ -24,9 +24,14 @@
24
24
  "category": "style"
25
25
  },
26
26
  "dark": {
27
- "type": "Boolean",
27
+ "type": [
28
+ "Boolean",
29
+ "null"
30
+ ],
31
+ "default": null,
28
32
  "desc": "Notify the component that the background is a dark color",
29
- "category": "style"
33
+ "category": "style",
34
+ "required": false
30
35
  },
31
36
  "icon": {
32
37
  "type": "String",
@@ -115,13 +120,18 @@
115
120
  "default": true
116
121
  },
117
122
  "selected": {
118
- "type": "Boolean",
123
+ "type": [
124
+ "Boolean",
125
+ "null"
126
+ ],
127
+ "default": null,
119
128
  "sync": true,
120
129
  "desc": "Model for QChip if it's selected or not",
121
130
  "examples": [
122
131
  "v-model:selected=\"myState\""
123
132
  ],
124
133
  "category": "model",
134
+ "required": false,
125
135
  "syncable": true
126
136
  },
127
137
  "square": {
@@ -112,9 +112,14 @@
112
112
  "category": "state"
113
113
  },
114
114
  "dark": {
115
- "type": "Boolean",
115
+ "type": [
116
+ "Boolean",
117
+ "null"
118
+ ],
119
+ "default": null,
116
120
  "desc": "Notify the component that the background is a dark color",
117
- "category": "style"
121
+ "category": "style",
122
+ "required": false
118
123
  }
119
124
  },
120
125
  "events": {
@@ -101,9 +101,14 @@
101
101
  "category": "style"
102
102
  },
103
103
  "dark": {
104
- "type": "Boolean",
104
+ "type": [
105
+ "Boolean",
106
+ "null"
107
+ ],
108
+ "default": null,
105
109
  "desc": "Notify the component that the background is a dark color",
106
- "category": "style"
110
+ "category": "style",
111
+ "required": false
107
112
  },
108
113
  "square": {
109
114
  "type": "Boolean",
@@ -62,9 +62,14 @@
62
62
  "addedIn": "v2.12.0"
63
63
  },
64
64
  "dark": {
65
- "type": "Boolean",
65
+ "type": [
66
+ "Boolean",
67
+ "null"
68
+ ],
69
+ "default": null,
66
70
  "desc": "Notify the component that the background is a dark color",
67
- "category": "style"
71
+ "category": "style",
72
+ "required": false
68
73
  },
69
74
  "breakpoint": {
70
75
  "type": "Number",
@@ -50,9 +50,14 @@
50
50
  "category": "style"
51
51
  },
52
52
  "dark": {
53
- "type": "Boolean",
53
+ "type": [
54
+ "Boolean",
55
+ "null"
56
+ ],
57
+ "default": null,
54
58
  "desc": "Notify the component that the background is a dark color",
55
- "category": "style"
59
+ "category": "style",
60
+ "required": false
56
61
  },
57
62
  "disable": {
58
63
  "type": "Boolean",
@@ -173,9 +173,14 @@
173
173
  "category": "content"
174
174
  },
175
175
  "dark": {
176
- "type": "Boolean",
176
+ "type": [
177
+ "Boolean",
178
+ "null"
179
+ ],
180
+ "default": null,
177
181
  "desc": "Notify the component that the background is a dark color",
178
- "category": "style"
182
+ "category": "style",
183
+ "required": false
179
184
  },
180
185
  "dense": {
181
186
  "type": "Boolean",
@@ -104,9 +104,14 @@
104
104
  "category": "style|content"
105
105
  },
106
106
  "hide-label": {
107
- "type": "Boolean",
107
+ "type": [
108
+ "Boolean",
109
+ "null"
110
+ ],
111
+ "default": null,
108
112
  "desc": "Hide the label; Useful for animation purposes where you toggle the visibility of the label",
109
- "category": "style|content"
113
+ "category": "style|content",
114
+ "required": false
110
115
  },
111
116
  "label-class": {
112
117
  "type": [
@@ -104,9 +104,14 @@
104
104
  "category": "style|content"
105
105
  },
106
106
  "hide-label": {
107
- "type": "Boolean",
107
+ "type": [
108
+ "Boolean",
109
+ "null"
110
+ ],
111
+ "default": null,
108
112
  "desc": "Hide the label; Useful for animation purposes where you toggle the visibility of the label",
109
- "category": "style|content"
113
+ "category": "style|content",
114
+ "required": false
110
115
  },
111
116
  "label-class": {
112
117
  "type": [
@@ -10,9 +10,14 @@
10
10
  "category": "model"
11
11
  },
12
12
  "error": {
13
- "type": "Boolean",
13
+ "type": [
14
+ "Boolean",
15
+ "null"
16
+ ],
17
+ "default": null,
14
18
  "desc": "Does field have validation errors?",
15
- "category": "behavior"
19
+ "category": "behavior",
20
+ "required": false
16
21
  },
17
22
  "error-message": {
18
23
  "type": "String",
@@ -132,9 +137,14 @@
132
137
  "category": "style"
133
138
  },
134
139
  "dark": {
135
- "type": "Boolean",
140
+ "type": [
141
+ "Boolean",
142
+ "null"
143
+ ],
144
+ "default": null,
136
145
  "desc": "Notify the component that the background is a dark color",
137
- "category": "style"
146
+ "category": "style",
147
+ "required": false
138
148
  },
139
149
  "loading": {
140
150
  "type": "Boolean",
@@ -259,6 +269,20 @@
259
269
  ],
260
270
  "desc": "Specify a max length of model",
261
271
  "category": "model"
272
+ },
273
+ "tag": {
274
+ "type": "String",
275
+ "desc": "HTML tag to use",
276
+ "examples": [
277
+ "div",
278
+ "span",
279
+ "div",
280
+ "label"
281
+ ],
282
+ "category": "content",
283
+ "default": "label",
284
+ "addedIn": "v2.13.1",
285
+ "required": false
262
286
  }
263
287
  },
264
288
  "slots": {
@@ -343,9 +367,6 @@
343
367
  "returns": null
344
368
  }
345
369
  }
346
- },
347
- "rawControl": {
348
- "internal": true
349
370
  }
350
371
  },
351
372
  "events": {
@@ -102,9 +102,14 @@
102
102
  ]
103
103
  },
104
104
  "error": {
105
- "type": "Boolean",
105
+ "type": [
106
+ "Boolean",
107
+ "null"
108
+ ],
109
+ "default": null,
106
110
  "desc": "Does field have validation errors?",
107
- "category": "behavior"
111
+ "category": "behavior",
112
+ "required": false
108
113
  },
109
114
  "error-message": {
110
115
  "type": "String",
@@ -224,9 +229,14 @@
224
229
  "category": "style"
225
230
  },
226
231
  "dark": {
227
- "type": "Boolean",
232
+ "type": [
233
+ "Boolean",
234
+ "null"
235
+ ],
236
+ "default": null,
228
237
  "desc": "Notify the component that the background is a dark color",
229
- "category": "style"
238
+ "category": "style",
239
+ "required": false
230
240
  },
231
241
  "loading": {
232
242
  "type": "Boolean",
@@ -269,7 +269,7 @@
269
269
  "error": {
270
270
  "desc": "Emitted when browser could not load the image",
271
271
  "params": {
272
- "src": {
272
+ "err": {
273
273
  "type": "Error",
274
274
  "desc": "JS Error object"
275
275
  }
@@ -99,9 +99,14 @@
99
99
  "addedIn": "v2.2"
100
100
  },
101
101
  "dark": {
102
- "type": "Boolean",
102
+ "type": [
103
+ "Boolean",
104
+ "null"
105
+ ],
106
+ "default": null,
103
107
  "desc": "Notify the component that the background is a dark color",
104
- "category": "style"
108
+ "category": "style",
109
+ "required": false
105
110
  }
106
111
  },
107
112
  "slots": {
@@ -66,9 +66,14 @@
66
66
  ]
67
67
  },
68
68
  "error": {
69
- "type": "Boolean",
69
+ "type": [
70
+ "Boolean",
71
+ "null"
72
+ ],
73
+ "default": null,
70
74
  "desc": "Does field have validation errors?",
71
- "category": "behavior"
75
+ "category": "behavior",
76
+ "required": false
72
77
  },
73
78
  "error-message": {
74
79
  "type": "String",
@@ -188,9 +193,14 @@
188
193
  "category": "style"
189
194
  },
190
195
  "dark": {
191
- "type": "Boolean",
196
+ "type": [
197
+ "Boolean",
198
+ "null"
199
+ ],
200
+ "default": null,
192
201
  "desc": "Notify the component that the background is a dark color",
193
- "category": "style"
202
+ "category": "style",
203
+ "required": false
194
204
  },
195
205
  "loading": {
196
206
  "type": "Boolean",
@@ -323,7 +333,8 @@
323
333
  "number",
324
334
  "url",
325
335
  "time",
326
- "date"
336
+ "date",
337
+ "datetime-local"
327
338
  ],
328
339
  "category": "general",
329
340
  "required": false
@@ -29,13 +29,18 @@
29
29
  "category": "behavior"
30
30
  },
31
31
  "root": {
32
- "type": "Element",
32
+ "type": [
33
+ "Element",
34
+ "null"
35
+ ],
36
+ "default": null,
33
37
  "desc": "[Intersection API root prop] Lets you define an alternative to the viewport as your root (through its DOM element); It is important to keep in mind that root needs to be an ancestor of the observed element",
34
38
  "examples": [
35
39
  "$refs.myTable.$el",
36
40
  "getElementById(\"myTable\")"
37
41
  ],
38
- "category": "behavior"
42
+ "category": "behavior",
43
+ "required": false
39
44
  },
40
45
  "margin": {
41
46
  "type": "String",
@@ -69,16 +69,24 @@
69
69
  "category": "state"
70
70
  },
71
71
  "active": {
72
- "type": "Boolean",
72
+ "type": [
73
+ "Boolean",
74
+ "null"
75
+ ],
76
+ "default": null,
73
77
  "desc": "Put item into 'active' state",
74
78
  "category": "state",
75
- "default": null,
76
79
  "required": false
77
80
  },
78
81
  "dark": {
79
- "type": "Boolean",
82
+ "type": [
83
+ "Boolean",
84
+ "null"
85
+ ],
86
+ "default": null,
80
87
  "desc": "Notify the component that the background is a dark color",
81
- "category": "style"
88
+ "category": "style",
89
+ "required": false
82
90
  },
83
91
  "clickable": {
84
92
  "type": "Boolean",
@@ -50,9 +50,14 @@
50
50
  "category": "style"
51
51
  },
52
52
  "dark": {
53
- "type": "Boolean",
53
+ "type": [
54
+ "Boolean",
55
+ "null"
56
+ ],
57
+ "default": null,
54
58
  "desc": "Notify the component that the background is a dark color",
55
- "category": "style"
59
+ "category": "style",
60
+ "required": false
56
61
  },
57
62
  "reverse": {
58
63
  "type": "Boolean",
@@ -20,9 +20,14 @@
20
20
  "category": "content"
21
21
  },
22
22
  "dark": {
23
- "type": "Boolean",
23
+ "type": [
24
+ "Boolean",
25
+ "null"
26
+ ],
27
+ "default": null,
24
28
  "desc": "Notify the component that the background is a dark color",
25
- "category": "style"
29
+ "category": "style",
30
+ "required": false
26
31
  },
27
32
  "padding": {
28
33
  "type": "Boolean",
@@ -10,9 +10,14 @@
10
10
  "category": "style"
11
11
  },
12
12
  "dark": {
13
- "type": "Boolean",
13
+ "type": [
14
+ "Boolean",
15
+ "null"
16
+ ],
17
+ "default": null,
14
18
  "desc": "Notify the component that the background is a dark color",
15
- "category": "style"
19
+ "category": "style",
20
+ "required": false
16
21
  },
17
22
  "flat": {
18
23
  "type": "Boolean",
@@ -75,9 +75,14 @@
75
75
  "category": "model"
76
76
  },
77
77
  "dark": {
78
- "type": "Boolean",
78
+ "type": [
79
+ "Boolean",
80
+ "null"
81
+ ],
82
+ "default": null,
79
83
  "desc": "Notify the component that the background is a dark color",
80
- "category": "style"
84
+ "category": "style",
85
+ "required": false
81
86
  },
82
87
  "fit": {
83
88
  "type": "Boolean",
@@ -197,22 +202,32 @@
197
202
  "category": "behavior"
198
203
  },
199
204
  "max-height": {
200
- "type": "String",
205
+ "type": [
206
+ "String",
207
+ "null"
208
+ ],
201
209
  "desc": "The maximum height of the menu; Size in CSS units, including unit name",
202
210
  "examples": [
203
211
  "16px",
204
212
  "2rem"
205
213
  ],
206
- "category": "style"
214
+ "category": "style",
215
+ "default": null,
216
+ "required": false
207
217
  },
208
218
  "max-width": {
209
- "type": "String",
219
+ "type": [
220
+ "String",
221
+ "null"
222
+ ],
210
223
  "desc": "The maximum width of the menu; Size in CSS units, including unit name",
211
224
  "examples": [
212
225
  "16px",
213
226
  "2rem"
214
227
  ],
215
- "category": "style"
228
+ "category": "style",
229
+ "default": null,
230
+ "required": false
216
231
  }
217
232
  },
218
233
  "slots": {