quasar 2.4.0 → 2.4.4

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 (167) hide show
  1. package/dist/api/BottomSheet.json +6 -2
  2. package/dist/api/Notify.json +25 -25
  3. package/dist/api/QAvatar.json +1 -1
  4. package/dist/api/QBreadcrumbsEl.json +1 -1
  5. package/dist/api/QBtn.json +2 -2
  6. package/dist/api/QBtnDropdown.json +3 -3
  7. package/dist/api/QBtnToggle.json +1 -1
  8. package/dist/api/QCarousel.json +4 -4
  9. package/dist/api/QCarouselSlide.json +2 -2
  10. package/dist/api/QChatMessage.json +1 -1
  11. package/dist/api/QChip.json +4 -4
  12. package/dist/api/QExpansionItem.json +3 -3
  13. package/dist/api/QFab.json +2 -2
  14. package/dist/api/QFabAction.json +1 -1
  15. package/dist/api/QImg.json +2 -2
  16. package/dist/api/QLinearProgress.json +1 -1
  17. package/dist/api/QPagination.json +4 -4
  18. package/dist/api/QParallax.json +1 -1
  19. package/dist/api/QPullToRefresh.json +1 -1
  20. package/dist/api/QRating.json +3 -3
  21. package/dist/api/QRouteTab.json +1 -1
  22. package/dist/api/QSelect.json +2 -2
  23. package/dist/api/QStep.json +4 -4
  24. package/dist/api/QStepper.json +4 -4
  25. package/dist/api/QTab.json +1 -1
  26. package/dist/api/QTable.json +4 -4
  27. package/dist/api/QTimelineEntry.json +2 -2
  28. package/dist/api/QToggle.json +1 -1
  29. package/dist/api/QTree.json +1 -1
  30. package/dist/api/QVideo.json +11 -1
  31. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  32. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  33. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  34. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  35. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  36. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  37. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  38. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  39. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  40. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  41. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  42. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  43. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  44. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  54. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  55. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  56. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  57. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  58. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  59. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  60. package/dist/icon-set/themify.umd.prod.js +1 -1
  61. package/dist/lang/ar.umd.prod.js +1 -1
  62. package/dist/lang/az-Latn.umd.prod.js +1 -1
  63. package/dist/lang/bg.umd.prod.js +1 -1
  64. package/dist/lang/bn.umd.prod.js +1 -1
  65. package/dist/lang/ca.umd.prod.js +1 -1
  66. package/dist/lang/cs.umd.prod.js +1 -1
  67. package/dist/lang/da.umd.prod.js +1 -1
  68. package/dist/lang/de.umd.prod.js +1 -1
  69. package/dist/lang/el.umd.prod.js +1 -1
  70. package/dist/lang/en-GB.umd.prod.js +1 -1
  71. package/dist/lang/en-US.umd.prod.js +1 -1
  72. package/dist/lang/eo.umd.prod.js +1 -1
  73. package/dist/lang/es.umd.prod.js +1 -1
  74. package/dist/lang/et.umd.prod.js +1 -1
  75. package/dist/lang/fa-IR.umd.prod.js +1 -1
  76. package/dist/lang/fa.umd.prod.js +1 -1
  77. package/dist/lang/fi.umd.prod.js +1 -1
  78. package/dist/lang/fr.umd.prod.js +1 -1
  79. package/dist/lang/gn.umd.prod.js +1 -1
  80. package/dist/lang/he.umd.prod.js +1 -1
  81. package/dist/lang/hr.umd.prod.js +1 -1
  82. package/dist/lang/hu.umd.prod.js +1 -1
  83. package/dist/lang/id.umd.prod.js +1 -1
  84. package/dist/lang/is.umd.prod.js +1 -1
  85. package/dist/lang/it.umd.prod.js +1 -1
  86. package/dist/lang/ja.umd.prod.js +1 -1
  87. package/dist/lang/km.umd.prod.js +1 -1
  88. package/dist/lang/ko-KR.umd.prod.js +1 -1
  89. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  90. package/dist/lang/lt.umd.prod.js +1 -1
  91. package/dist/lang/lu.umd.prod.js +1 -1
  92. package/dist/lang/lv.umd.prod.js +1 -1
  93. package/dist/lang/ml.umd.prod.js +1 -1
  94. package/dist/lang/ms.umd.prod.js +1 -1
  95. package/dist/lang/nb-NO.umd.prod.js +1 -1
  96. package/dist/lang/nl.umd.prod.js +1 -1
  97. package/dist/lang/pl.umd.prod.js +1 -1
  98. package/dist/lang/pt-BR.umd.prod.js +1 -1
  99. package/dist/lang/pt.umd.prod.js +1 -1
  100. package/dist/lang/ro.umd.prod.js +1 -1
  101. package/dist/lang/ru.umd.prod.js +1 -1
  102. package/dist/lang/sk.umd.prod.js +1 -1
  103. package/dist/lang/sl.umd.prod.js +1 -1
  104. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  105. package/dist/lang/sr.umd.prod.js +1 -1
  106. package/dist/lang/sv.umd.prod.js +1 -1
  107. package/dist/lang/ta.umd.prod.js +1 -1
  108. package/dist/lang/th.umd.prod.js +1 -1
  109. package/dist/lang/tr.umd.prod.js +1 -1
  110. package/dist/lang/ug.umd.prod.js +1 -1
  111. package/dist/lang/uk.umd.prod.js +1 -1
  112. package/dist/lang/vi.umd.prod.js +1 -1
  113. package/dist/lang/zh-CN.umd.prod.js +1 -1
  114. package/dist/lang/zh-TW.umd.prod.js +1 -1
  115. package/dist/quasar.cjs.prod.js +2 -2
  116. package/dist/quasar.css +15 -14
  117. package/dist/quasar.esm.prod.js +2 -2
  118. package/dist/quasar.prod.css +1 -1
  119. package/dist/quasar.rtl.css +15 -14
  120. package/dist/quasar.rtl.prod.css +1 -1
  121. package/dist/quasar.sass +11 -13
  122. package/dist/quasar.umd.js +279 -209
  123. package/dist/quasar.umd.prod.js +2 -2
  124. package/dist/ssr-directives/Morph.js +1 -1
  125. package/dist/types/api/slider.d.ts +6 -6
  126. package/dist/types/index.d.ts +20 -8
  127. package/dist/types/utils/date.d.ts +2 -1
  128. package/dist/vetur/quasar-attributes.json +5 -1
  129. package/dist/vetur/quasar-tags.json +2 -1
  130. package/dist/web-types/web-types.json +66 -57
  131. package/package.json +1 -1
  132. package/src/api.extends.json +1 -1
  133. package/src/components/btn/use-btn.js +5 -2
  134. package/src/components/btn-toggle/QBtnToggle.js +2 -0
  135. package/src/components/carousel/QCarouselSlide.json +2 -2
  136. package/src/components/chat/QChatMessage.json +1 -1
  137. package/src/components/dialog/QDialog.js +7 -5
  138. package/src/components/img/QImg.json +2 -2
  139. package/src/components/linear-progress/QLinearProgress.json +1 -1
  140. package/src/components/menu/QMenu.js +6 -2
  141. package/src/components/parallax/QParallax.json +1 -1
  142. package/src/components/range/QRange.js +67 -89
  143. package/src/components/rating/QRating.json +3 -3
  144. package/src/components/resize-observer/QResizeObserver.js +11 -10
  145. package/src/components/scroll-area/QScrollArea.js +5 -1
  146. package/src/components/scroll-area/QScrollArea.sass +1 -0
  147. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  148. package/src/components/select/QSelect.js +4 -1
  149. package/src/components/select/QSelect.json +1 -1
  150. package/src/components/slider/QSlider.js +20 -10
  151. package/src/components/slider/QSlider.sass +5 -6
  152. package/src/components/slider/use-slider.js +19 -16
  153. package/src/components/tabs/QTabs.js +27 -11
  154. package/src/components/timeline/QTimeline.sass +1 -2
  155. package/src/components/timeline/QTimelineEntry.json +1 -1
  156. package/src/components/tooltip/QTooltip.js +1 -2
  157. package/src/components/video/QVideo.js +4 -1
  158. package/src/components/video/QVideo.json +12 -1
  159. package/src/composables/private/use-field.js +13 -15
  160. package/src/composables/private/use-model-toggle.js +1 -1
  161. package/src/composables/private/use-portal.js +9 -7
  162. package/src/composables/private/use-tick.js +7 -14
  163. package/src/css/variables.sass +4 -6
  164. package/src/plugins/BottomSheet.json +7 -1
  165. package/src/plugins/Notify.json +22 -22
  166. package/src/utils/clone.js +53 -4
  167. package/src/utils/private/focus-manager.js +8 -10
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.4.0
2
+ * Quasar Framework v2.4.4
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -5,19 +5,19 @@
5
5
  interface SliderMarkerLabelPartialDefinition {
6
6
  label?: number | string;
7
7
  style?: Partial<CSSStyleDeclaration>;
8
- };
8
+ }
9
9
 
10
10
  interface SliderMarkerLabelDefinition extends SliderMarkerLabelPartialDefinition {
11
11
  value?: number;
12
- };
12
+ }
13
13
 
14
14
  interface SliderMarkerLabelDefinitionRequiredValue extends SliderMarkerLabelPartialDefinition {
15
15
  value: number;
16
- };
16
+ }
17
17
 
18
18
  interface SliderMarkerLabelObjectDefinition {
19
19
  [value: number]: string | SliderMarkerLabelDefinition;
20
- };
20
+ }
21
21
 
22
22
  declare function SliderMarkerLabelFunctionDefinition(
23
23
  value: number
@@ -41,6 +41,6 @@ export type SliderMarkerLabelConfig = {
41
41
 
42
42
  export type SliderMarkerLabelArrayConfig = SliderMarkerLabelConfig[];
43
43
 
44
- interface SliderMarkerLabelObjectConfig {
44
+ export interface SliderMarkerLabelObjectConfig {
45
45
  [value: number]: SliderMarkerLabelConfig;
46
- };
46
+ }
@@ -101,6 +101,10 @@ export interface BottomSheet {
101
101
  * Action label
102
102
  */
103
103
  label?: string | number;
104
+ /**
105
+ * Any other custom props
106
+ */
107
+ [key: string]: any;
104
108
  }[];
105
109
  /**
106
110
  * Display actions as a grid instead of as a list
@@ -469,7 +473,7 @@ export interface Notify {
469
473
  */
470
474
  icon?: string;
471
475
  /**
472
- * URL to an avatar/image; Suggestion: use statics folder
476
+ * URL to an avatar/image; Suggestion: public folder
473
477
  */
474
478
  avatar?: string;
475
479
  /**
@@ -593,7 +597,7 @@ export interface Notify {
593
597
  */
594
598
  icon?: string;
595
599
  /**
596
- * URL to an avatar/image; Suggestion: use statics folder
600
+ * URL to an avatar/image; Suggestion: use public folder
597
601
  */
598
602
  avatar?: string;
599
603
  /**
@@ -676,7 +680,7 @@ export interface Notify {
676
680
  */
677
681
  icon?: string;
678
682
  /**
679
- * URL to an avatar/image; Suggestion: use statics folder
683
+ * URL to an avatar/image; Suggestion: use public folder
680
684
  */
681
685
  avatar?: string;
682
686
  /**
@@ -793,7 +797,7 @@ export interface Notify {
793
797
  */
794
798
  icon?: string;
795
799
  /**
796
- * URL to an avatar/image; Suggestion: use statics folder
800
+ * URL to an avatar/image; Suggestion: use public folder
797
801
  */
798
802
  avatar?: string;
799
803
  /**
@@ -2442,7 +2446,7 @@ export interface QCarouselSlideProps {
2442
2446
  */
2443
2447
  disable?: boolean | undefined;
2444
2448
  /**
2445
- * URL pointing to a slide background image (use statics folder)
2449
+ * URL pointing to a slide background image (use public folder)
2446
2450
  */
2447
2451
  imgSrc?: string | undefined;
2448
2452
  }
@@ -6122,7 +6126,7 @@ export interface QLinearProgressProps {
6122
6126
  instantFeedback?: boolean | undefined;
6123
6127
  /**
6124
6128
  * Animation speed (in milliseconds, without unit)
6125
- * Default value: 300
6129
+ * Default value: 2100
6126
6130
  */
6127
6131
  animationSpeed?: string | number | undefined;
6128
6132
  }
@@ -13117,6 +13121,10 @@ export interface QVideoProps {
13117
13121
  * The source url to display in an iframe
13118
13122
  */
13119
13123
  src: string;
13124
+ /**
13125
+ * (Accessibility) Set the native 'title' attribute value of the inner iframe being used
13126
+ */
13127
+ title?: string | undefined;
13120
13128
  }
13121
13129
 
13122
13130
  export interface QVideoSlots {}
@@ -13681,6 +13689,10 @@ declare module "./globals" {
13681
13689
  * Action label
13682
13690
  */
13683
13691
  label?: string | number;
13692
+ /**
13693
+ * Any other custom props
13694
+ */
13695
+ [key: string]: any;
13684
13696
  }[];
13685
13697
  /**
13686
13698
  * Display actions as a grid instead of as a list
@@ -13747,7 +13759,7 @@ declare module "./globals" {
13747
13759
  */
13748
13760
  icon?: string;
13749
13761
  /**
13750
- * URL to an avatar/image; Suggestion: use statics folder
13762
+ * URL to an avatar/image; Suggestion: public folder
13751
13763
  */
13752
13764
  avatar?: string;
13753
13765
  /**
@@ -13871,7 +13883,7 @@ declare module "./globals" {
13871
13883
  */
13872
13884
  icon?: string;
13873
13885
  /**
13874
- * URL to an avatar/image; Suggestion: use statics folder
13886
+ * URL to an avatar/image; Suggestion: use public folder
13875
13887
  */
13876
13888
  avatar?: string;
13877
13889
  /**
@@ -39,7 +39,8 @@ export namespace date {
39
39
  function endOfDate(date: Date | number | string, option: DateUnitOptions, utc?: boolean): Date;
40
40
  function getMaxDate(date: Date | number | string, ...args: (Date | number | string)[]): Date;
41
41
  function getMinDate(date: Date | number | string, ...args: (Date | number | string)[]): Date;
42
- function getDateDiff(date: Date | number | string, subtract: Date | number | string, unit?: string): number;
42
+ // TODO: (Qv3) uniform "unit" to `DateUnitOptions` interface
43
+ function getDateDiff(date: Date | number | string, subtract: Date | number | string, unit?: `${DateUnitOptions}s`): number;
43
44
  function getDayOfYear(date: Date | number | string): number;
44
45
  function inferDateFormat(date: Date | number | string): "date" | "number" | "string";
45
46
  function getDateBetween(date: Date | number | string, min?: Date | number | string, max?: Date | number | string): Date;
@@ -789,7 +789,7 @@
789
789
  },
790
790
  "q-carousel-slide/img-src": {
791
791
  "type": "string",
792
- "description": "URL pointing to a slide background image (use statics folder)"
792
+ "description": "URL pointing to a slide background image (use public folder)"
793
793
  },
794
794
  "q-chat-message/sent": {
795
795
  "type": "boolean",
@@ -5703,6 +5703,10 @@
5703
5703
  "type": "string",
5704
5704
  "description": "The source url to display in an iframe"
5705
5705
  },
5706
+ "q-video/title": {
5707
+ "type": "string",
5708
+ "description": "(Accessibility) Set the native 'title' attribute value of the inner iframe being used"
5709
+ },
5706
5710
  "q-virtual-scroll/virtual-scroll-horizontal": {
5707
5711
  "type": "boolean",
5708
5712
  "description": "Make virtual list work in horizontal mode"
@@ -2026,7 +2026,8 @@
2026
2026
  "q-video": {
2027
2027
  "attributes": [
2028
2028
  "ratio",
2029
- "src"
2029
+ "src",
2030
+ "title"
2030
2031
  ],
2031
2032
  "description": ""
2032
2033
  },