quasar 2.17.0 → 2.17.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 (136) hide show
  1. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  2. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  3. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  4. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  7. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  8. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  9. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  10. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  13. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  14. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  15. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  16. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  17. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  18. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  19. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  20. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  21. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  22. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  39. package/dist/icon-set/themify.umd.prod.js +1 -1
  40. package/dist/lang/ar-TN.umd.prod.js +1 -1
  41. package/dist/lang/ar.umd.prod.js +1 -1
  42. package/dist/lang/az-Latn.umd.prod.js +1 -1
  43. package/dist/lang/bg.umd.prod.js +1 -1
  44. package/dist/lang/bn.umd.prod.js +1 -1
  45. package/dist/lang/bs-BA.umd.prod.js +1 -1
  46. package/dist/lang/ca.umd.prod.js +1 -1
  47. package/dist/lang/cs.umd.prod.js +1 -1
  48. package/dist/lang/da.umd.prod.js +1 -1
  49. package/dist/lang/de-CH.umd.prod.js +1 -1
  50. package/dist/lang/de-DE.umd.prod.js +1 -1
  51. package/dist/lang/de.umd.prod.js +1 -1
  52. package/dist/lang/el.umd.prod.js +1 -1
  53. package/dist/lang/en-GB.umd.prod.js +1 -1
  54. package/dist/lang/en-US.umd.prod.js +1 -1
  55. package/dist/lang/eo.umd.prod.js +1 -1
  56. package/dist/lang/es.umd.prod.js +1 -1
  57. package/dist/lang/et.umd.prod.js +1 -1
  58. package/dist/lang/eu.umd.prod.js +1 -1
  59. package/dist/lang/fa-IR.umd.prod.js +1 -1
  60. package/dist/lang/fa.umd.prod.js +1 -1
  61. package/dist/lang/fi.umd.prod.js +1 -1
  62. package/dist/lang/fr.umd.prod.js +1 -1
  63. package/dist/lang/gn.umd.prod.js +1 -1
  64. package/dist/lang/he.umd.prod.js +1 -1
  65. package/dist/lang/hi.umd.prod.js +1 -1
  66. package/dist/lang/hr.umd.prod.js +1 -1
  67. package/dist/lang/hu.umd.prod.js +1 -1
  68. package/dist/lang/id.umd.prod.js +1 -1
  69. package/dist/lang/is.umd.prod.js +1 -1
  70. package/dist/lang/it.umd.prod.js +1 -1
  71. package/dist/lang/ja.umd.prod.js +1 -1
  72. package/dist/lang/kk.umd.prod.js +1 -1
  73. package/dist/lang/km.umd.prod.js +1 -1
  74. package/dist/lang/ko-KR.umd.prod.js +1 -1
  75. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  76. package/dist/lang/lt.umd.prod.js +1 -1
  77. package/dist/lang/lu.umd.prod.js +1 -1
  78. package/dist/lang/lv.umd.prod.js +1 -1
  79. package/dist/lang/mk.umd.prod.js +1 -1
  80. package/dist/lang/ml.umd.prod.js +1 -1
  81. package/dist/lang/mm.umd.prod.js +1 -1
  82. package/dist/lang/ms-MY.umd.prod.js +1 -1
  83. package/dist/lang/ms.umd.prod.js +1 -1
  84. package/dist/lang/my.umd.prod.js +1 -1
  85. package/dist/lang/nb-NO.umd.prod.js +1 -1
  86. package/dist/lang/nl.umd.prod.js +1 -1
  87. package/dist/lang/pl.umd.prod.js +1 -1
  88. package/dist/lang/pt-BR.umd.prod.js +1 -1
  89. package/dist/lang/pt.umd.prod.js +1 -1
  90. package/dist/lang/ro.umd.prod.js +1 -1
  91. package/dist/lang/ru.umd.prod.js +1 -1
  92. package/dist/lang/sk.umd.prod.js +1 -1
  93. package/dist/lang/sl.umd.prod.js +1 -1
  94. package/dist/lang/sm.umd.prod.js +1 -1
  95. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  96. package/dist/lang/sr.umd.prod.js +1 -1
  97. package/dist/lang/sv.umd.prod.js +1 -1
  98. package/dist/lang/ta.umd.prod.js +1 -1
  99. package/dist/lang/th.umd.prod.js +1 -1
  100. package/dist/lang/tl.umd.prod.js +1 -1
  101. package/dist/lang/tr.umd.prod.js +1 -1
  102. package/dist/lang/ug.umd.prod.js +1 -1
  103. package/dist/lang/uk.umd.prod.js +1 -1
  104. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  105. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  106. package/dist/lang/vi.umd.prod.js +1 -1
  107. package/dist/lang/zh-CN.umd.prod.js +1 -1
  108. package/dist/lang/zh-TW.umd.prod.js +1 -1
  109. package/dist/quasar.client.js +14 -9
  110. package/dist/quasar.css +3 -3
  111. package/dist/quasar.prod.css +1 -1
  112. package/dist/quasar.rtl.css +3 -3
  113. package/dist/quasar.rtl.prod.css +1 -1
  114. package/dist/quasar.sass +60 -60
  115. package/dist/quasar.server.prod.cjs +8 -8
  116. package/dist/quasar.server.prod.js +13 -13
  117. package/dist/quasar.umd.js +14 -9
  118. package/dist/quasar.umd.prod.js +16 -16
  119. package/dist/types/api/slider.d.ts +2 -1
  120. package/dist/types/extras/icon-set.d.ts +11 -6
  121. package/dist/types/index.d.ts +152 -152
  122. package/dist/types/plugin.d.ts +7 -7
  123. package/dist/web-types/web-types.json +1 -1
  124. package/package.json +3 -3
  125. package/src/components/time/QTime.sass +5 -5
  126. package/src/composables/private.use-key-composition/use-key-composition.js +19 -2
  127. package/src/css/core/elevation.sass +6 -4
  128. package/src/css/core/flex.sass +5 -6
  129. package/src/css/core/size.sass +20 -18
  130. package/src/css/core/typography.sass +11 -9
  131. package/src/css/core/visibility.sass +2 -2
  132. package/src/css/flex-addon.sass +22 -20
  133. package/src/css/helpers/math.sass +1 -1
  134. package/src/css/helpers/string.sass +7 -4
  135. package/src/css/variables.sass +11 -9
  136. package/src/utils/private.config/nodes.js +1 -3
package/dist/quasar.sass CHANGED
@@ -1,15 +1,17 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.1
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
6
- @use 'sass:math'
7
-
6
+ @use 'sass:list'
7
+ @use 'sass:string'
8
+ @use 'sass:math'
9
+ @use 'sass:map'
8
10
  @function str-replace($string, $search, $replace: '')
9
- $index: str-index($string, $search)
11
+ $index: string.index($string, $search)
10
12
  @if $index
11
- $start: str-slice($string, 1, $index - 1)
12
- $end: str-replace(str-slice($string, $index + str-length($search)), $search, $replace)
13
+ $start: string.slice($string, 1, $index - 1)
14
+ $end: str-replace(string.slice($string, $index + string.length($search)), $search, $replace)
13
15
  @return $start + $replace + $end
14
16
  @return $string
15
17
  @function str-fr($selector, $name, $i: '')
@@ -17,8 +19,7 @@
17
19
  @function str-fe($selector, $name, $noProc, $i: '')
18
20
  @if $noProc
19
21
  @return str-fr($selector, $name, $i)
20
- @return join(str-fr($selector, '', $i), str-fr($selector, $name, $i), $separator: comma)
21
-
22
+ @return list.join(str-fr($selector, '', $i), str-fr($selector, $name, $i), $separator: comma)
22
23
  $PI: 3.14159265359
23
24
  @function pow($number, $exp)
24
25
  $value: 1
@@ -36,7 +37,7 @@ $PI: 3.14159265359
36
37
  $value: $value * $i
37
38
  @return $value
38
39
  @function toFixed($number, $power)
39
- @return math.div(round($number * $power), $power)
40
+ @return math.div(math.round($number * $power), $power)
40
41
  @function sin($angle)
41
42
  $sin: 0
42
43
 
@@ -80,14 +81,14 @@ $body-font-size : 14px !default
80
81
  $body-line-height : 1.5 !default
81
82
  $flex-gutter: ('none': 0, 'xs': $flex-gutter-xs, 'sm': $flex-gutter-sm, 'md': $flex-gutter-md, 'lg': $flex-gutter-lg, 'xl': $flex-gutter-xl) !default
82
83
  $sizes: ('xs': 0, 'sm': ($breakpoint-xs + 1), 'md': ($breakpoint-sm + 1), 'lg': ($breakpoint-md + 1), 'xl': ($breakpoint-lg + 1)) !default
83
- $breakpoint-xs-max: (map-get($sizes, "sm") - 0.02) !default
84
- $breakpoint-sm-min: map-get($sizes, "sm") !default
85
- $breakpoint-sm-max: (map-get($sizes, "md") - 0.02) !default
86
- $breakpoint-md-min: map-get($sizes, "md") !default
87
- $breakpoint-md-max: (map-get($sizes, "lg") - 0.02) !default
88
- $breakpoint-lg-min: map-get($sizes, "lg") !default
89
- $breakpoint-lg-max: (map-get($sizes, "xl") - 0.02) !default
90
- $breakpoint-xl-min: map-get($sizes, "xl") !default
84
+ $breakpoint-xs-max: (map.get($sizes, "sm") - 0.02) !default
85
+ $breakpoint-sm-min: map.get($sizes, "sm") !default
86
+ $breakpoint-sm-max: (map.get($sizes, "md") - 0.02) !default
87
+ $breakpoint-md-min: map.get($sizes, "md") !default
88
+ $breakpoint-md-max: (map.get($sizes, "lg") - 0.02) !default
89
+ $breakpoint-lg-min: map.get($sizes, "lg") !default
90
+ $breakpoint-lg-max: (map.get($sizes, "xl") - 0.02) !default
91
+ $breakpoint-xl-min: map.get($sizes, "xl") !default
91
92
  $h1: (size: 6rem, line-height: 6rem, letter-spacing: -.01562em, weight: 300) !default
92
93
  $h2: (size: 3.75rem, line-height: 3.75rem, letter-spacing: -.00833em, weight: 300) !default
93
94
  $h3: (size: 3rem, line-height: 3.125rem, letter-spacing: normal, weight: 400) !default
@@ -101,7 +102,7 @@ $body2: (size: .875rem, line-height: 1.25rem, letter-spacing: .01786em, w
101
102
  $overline: (size: .75rem, line-height: 2rem, letter-spacing: .16667em, weight: 500) !default
102
103
  $caption: (size: .75rem, line-height: 1.25rem, letter-spacing: .03333em, weight: 400) !default
103
104
  $headings: ('h1': $h1, 'h2': $h2, 'h3': $h3, 'h4': $h4, 'h5': $h5, 'h6': $h6, 'subtitle1': $subtitle1, 'subtitle2': $subtitle2, 'body1': $body1, 'body2': $body2, 'overline': $overline, 'caption': $caption) !default
104
- $h-tags: (h1: map-get($headings, "h1"), h2: map-get($headings, "h2"), h3: map-get($headings, "h3"), h4: map-get($headings, "h4"), h5: map-get($headings, "h5"), h6: map-get($headings, "h6")) !default
105
+ $h-tags: (h1: map.get($headings, "h1"), h2: map.get($headings, "h2"), h3: map.get($headings, "h3"), h4: map.get($headings, "h4"), h5: map.get($headings, "h5"), h6: map.get($headings, "h6")) !default
105
106
  $text-weights: (thin: 100, light: 300, regular: 400, medium: 500, bold: 700, bolder: 900) !default
106
107
  $primary : #1976D2 !default
107
108
  $secondary : #26A69A !default
@@ -4664,15 +4665,15 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
4664
4665
  $top: (1 + sin($angle))
4665
4666
  $left: (1 + cos($angle))
4666
4667
  &__clock-pos-#{$pos}
4667
- top: toFixed(percentage($top * 0.5), 100)
4668
- left: toFixed(percentage($left * 0.5), 100) #{"/* rtl:ignore */"}
4668
+ top: toFixed(math.percentage($top * 0.5), 100)
4669
+ left: toFixed(math.percentage($left * 0.5), 100) #{"/* rtl:ignore */"}
4669
4670
  @for $pos from 12 through 23
4670
4671
  $angle: (270 + 30 * $pos)
4671
4672
  $top: (1 + sin($angle))
4672
4673
  $left: (1 + cos($angle))
4673
4674
  &__clock-pos-#{$pos}
4674
- top: toFixed(percentage(.15 + $top * .35), 100)
4675
- left: toFixed(percentage(.15 + $left * .35), 100) #{"/* rtl:ignore */"}
4675
+ top: toFixed(math.percentage(.15 + $top * .35), 100)
4676
+ left: toFixed(math.percentage(.15 + $left * .35), 100) #{"/* rtl:ignore */"}
4676
4677
  &__now-button
4677
4678
  background-color: var(--q-primary)
4678
4679
  color: #fff
@@ -6900,9 +6901,9 @@ body.q-ios-padding .q-notifications__list
6900
6901
  transition: $shadow-transition !important
6901
6902
  @for $z from 1 through 24
6902
6903
  .shadow-#{$z}
6903
- box-shadow: nth($shadows, $z)
6904
+ box-shadow: list.nth($shadows, $z)
6904
6905
  .shadow-up-#{$z}
6905
- box-shadow: nth($shadows-up, $z)
6906
+ box-shadow: list.nth($shadows-up, $z)
6906
6907
  .inset-shadow
6907
6908
  box-shadow: $inset-shadow
6908
6909
  .inset-shadow-down
@@ -6910,9 +6911,9 @@ body.q-ios-padding .q-notifications__list
6910
6911
  body.body--dark
6911
6912
  @for $z from 1 through 24
6912
6913
  .shadow-#{$z}
6913
- box-shadow: nth($dark-shadows, $z)
6914
+ box-shadow: list.nth($dark-shadows, $z)
6914
6915
  .shadow-up-#{$z}
6915
- box-shadow: nth($dark-shadows-up, $z)
6916
+ box-shadow: list.nth($dark-shadows-up, $z)
6916
6917
  .inset-shadow
6917
6918
  box-shadow: $inset-dark-shadow
6918
6919
  .inset-shadow-down
@@ -6927,7 +6928,6 @@ body.body--dark
6927
6928
  z-index: $z-fullscreen
6928
6929
  .z-inherit
6929
6930
  z-index: inherit !important
6930
-
6931
6931
  @mixin fg($name, $size)
6932
6932
  $noProcNotZero: $size > 0
6933
6933
  @media (min-width: $size)
@@ -6950,19 +6950,19 @@ body.body--dark
6950
6950
  &-shrink
6951
6951
  flex: 0 1 auto
6952
6952
  @for $i from 0 through $flex-cols
6953
- $ic: quote('' + $i)
6953
+ $ic: string.quote('' + $i)
6954
6954
  #{str-fe('.col<name>-<i>', $name, $noProcNotZero, $ic)}
6955
6955
  @extend .col#{$name}-auto
6956
6956
  .row
6957
6957
  #{str-fe('> .col<name>-<i>', $name, $noProcNotZero, $ic)}
6958
6958
  height: auto
6959
- width: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6959
+ width: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6960
6960
  @if $i != 0 or $name != ''
6961
6961
  #{str-fe('> .offset<name>-<i>', $name, $noProcNotZero, $ic)}
6962
- margin-left: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6962
+ margin-left: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6963
6963
  .column
6964
6964
  #{str-fe('> .col<name>-<i>', $name, $noProcNotZero, $ic)}
6965
- height: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6965
+ height: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6966
6966
  width: auto
6967
6967
  @if $size == 0 and $i == $flex-cols
6968
6968
  .row > .col-all
@@ -7295,37 +7295,37 @@ body.q-ios-padding .fullscreen
7295
7295
  display: inline-block !important
7296
7296
  @each $space, $value in $spaces
7297
7297
  .q-pa-#{$space}
7298
- padding: map-get($value, "y") map-get($value, "x")
7298
+ padding: map.get($value, "y") map.get($value, "x")
7299
7299
  .q-pl-#{$space}
7300
- padding-left: map-get($value, "x")
7300
+ padding-left: map.get($value, "x")
7301
7301
  .q-pr-#{$space}
7302
- padding-right: map-get($value, "x")
7302
+ padding-right: map.get($value, "x")
7303
7303
  .q-pt-#{$space}
7304
- padding-top: map-get($value, "y")
7304
+ padding-top: map.get($value, "y")
7305
7305
  .q-pb-#{$space}
7306
- padding-bottom: map-get($value, "y")
7306
+ padding-bottom: map.get($value, "y")
7307
7307
  .q-px-#{$space}
7308
- padding-left: map-get($value, "x")
7309
- padding-right: map-get($value, "x")
7308
+ padding-left: map.get($value, "x")
7309
+ padding-right: map.get($value, "x")
7310
7310
  .q-py-#{$space}
7311
- padding-top: map-get($value, "y")
7312
- padding-bottom: map-get($value, "y")
7311
+ padding-top: map.get($value, "y")
7312
+ padding-bottom: map.get($value, "y")
7313
7313
  .q-ma-#{$space}
7314
- margin: map-get($value, "y") map-get($value, "x")
7314
+ margin: map.get($value, "y") map.get($value, "x")
7315
7315
  .q-ml-#{$space}
7316
- margin-left: map-get($value, "x")
7316
+ margin-left: map.get($value, "x")
7317
7317
  .q-mr-#{$space}
7318
- margin-right: map-get($value, "x")
7318
+ margin-right: map.get($value, "x")
7319
7319
  .q-mt-#{$space}
7320
- margin-top: map-get($value, "y")
7320
+ margin-top: map.get($value, "y")
7321
7321
  .q-mb-#{$space}
7322
- margin-bottom: map-get($value, "y")
7322
+ margin-bottom: map.get($value, "y")
7323
7323
  .q-mx-#{$space}
7324
- margin-left: map-get($value, "x")
7325
- margin-right: map-get($value, "x")
7324
+ margin-left: map.get($value, "x")
7325
+ margin-right: map.get($value, "x")
7326
7326
  .q-my-#{$space}
7327
- margin-top: map-get($value, "y")
7328
- margin-bottom: map-get($value, "y")
7327
+ margin-top: map.get($value, "y")
7328
+ margin-bottom: map.get($value, "y")
7329
7329
  .q-mt-auto, .q-my-auto
7330
7330
  margin-top: auto
7331
7331
  .q-ml-auto
@@ -7492,19 +7492,19 @@ body
7492
7492
  font-size: $body-font-size
7493
7493
  @each $heading, $value in $h-tags
7494
7494
  #{$heading}
7495
- font-size: map-get($value, "size")
7496
- font-weight: map-get($value, "weight")
7497
- line-height: map-get($value, "line-height")
7498
- letter-spacing: map-get($value, "letter-spacing")
7495
+ font-size: map.get($value, "size")
7496
+ font-weight: map.get($value, "weight")
7497
+ line-height: map.get($value, "line-height")
7498
+ letter-spacing: map.get($value, "letter-spacing")
7499
7499
  p
7500
- margin: 0 0 map-get(map-get($spaces, "md"), "y")
7500
+ margin: 0 0 map.get(map.get($spaces, "md"), "y")
7501
7501
  .text-
7502
7502
  @each $heading, $value in $headings
7503
7503
  &#{$heading}
7504
- font-size: map-get($value, "size")
7505
- font-weight: map-get($value, "weight")
7506
- line-height: map-get($value, "line-height")
7507
- letter-spacing: map-get($value, "letter-spacing")
7504
+ font-size: map.get($value, "size")
7505
+ font-weight: map.get($value, "weight")
7506
+ line-height: map.get($value, "line-height")
7507
+ letter-spacing: map.get($value, "letter-spacing")
7508
7508
  &uppercase
7509
7509
  text-transform: uppercase
7510
7510
  &lowercase
@@ -7565,12 +7565,12 @@ sup
7565
7565
  -webkit-line-clamp: 3
7566
7566
  .readonly
7567
7567
  cursor: default !important
7568
- .disabled, [disabled]
7568
+ .disabled, [disabled]:not([disabled=false])
7569
7569
  &,
7570
7570
  *
7571
7571
  outline: 0 !important
7572
7572
  cursor: not-allowed !important
7573
- .disabled, [disabled]
7573
+ .disabled, [disabled]:not([disabled=false])
7574
7574
  opacity: .6 !important
7575
7575
  .hidden
7576
7576
  display: none !important