vitrify 0.17.5 → 0.17.7

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/plugins/quasar/unocss/components/QAjaxBar.unocss.js +8 -4
  2. package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +4 -2
  3. package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +8 -4
  4. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +6 -3
  5. package/dist/plugins/quasar/unocss/components/QBar.unocss.js +6 -3
  6. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +26 -13
  7. package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +4 -2
  8. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +10 -5
  9. package/dist/plugins/quasar/unocss/components/QCard.unocss.js +14 -7
  10. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +38 -19
  11. package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +14 -7
  12. package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +16 -8
  13. package/dist/plugins/quasar/unocss/components/QChip.unocss.js +25 -47
  14. package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +4 -2
  15. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +46 -102
  16. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +54 -27
  17. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +24 -12
  18. package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +28 -25
  19. package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +10 -5
  20. package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +16 -8
  21. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +46 -23
  22. package/dist/plugins/quasar/unocss/components/QField.unocss.js +60 -30
  23. package/dist/plugins/quasar/unocss/components/QFile.unocss.js +6 -3
  24. package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +4 -2
  25. package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +4 -2
  26. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +12 -6
  27. package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +2 -1
  28. package/dist/plugins/quasar/unocss/components/QInput.unocss.js +4 -18
  29. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +32 -16
  30. package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +5 -6
  31. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +6 -3
  32. package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +23 -12
  33. package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +4 -2
  34. package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +2 -1
  35. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +6 -3
  36. package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +4 -2
  37. package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +2 -1
  38. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +4 -2
  39. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +29 -15
  40. package/dist/plugins/quasar/unocss/components/QRating.unocss.js +8 -4
  41. package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +4 -2
  42. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +10 -5
  43. package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +14 -7
  44. package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +9 -5
  45. package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +67 -42
  46. package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +10 -5
  47. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +70 -35
  48. package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +2 -1
  49. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +18 -16
  50. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +54 -38
  51. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +101 -55
  52. package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +67 -44
  53. package/dist/plugins/quasar/unocss/components/QTime.unocss.js +167 -65
  54. package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +41 -30
  55. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +23 -18
  56. package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +4 -2
  57. package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +4 -2
  58. package/dist/plugins/quasar/unocss/components/QTree.unocss.js +54 -27
  59. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +37 -25
  60. package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +4 -2
  61. package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +6 -3
  62. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +59 -56
  63. package/dist/plugins/quasar/unocss/core/flex.unocss.js +16 -29
  64. package/dist/plugins/quasar/unocss/index.js +18 -6
  65. package/dist/plugins/quasar/unocss/theme.js +300 -426
  66. package/dist/plugins/quasar.js +18 -101
  67. package/dist/types/plugins/quasar/unocss/index.d.ts +2 -5
  68. package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
  69. package/dist/types/plugins/quasar.d.ts +3 -2
  70. package/package.json +2 -1
  71. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
  72. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
  73. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
  74. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
  75. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
  76. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
  77. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
  78. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
  79. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
  80. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
  81. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
  82. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
  83. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
  84. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
  85. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
  86. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
  87. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
  88. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
  89. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
  90. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
  91. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
  92. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
  93. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
  94. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
  95. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
  96. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
  97. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
  98. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
  99. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
  100. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
  101. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
  102. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
  103. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
  104. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
  105. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
  106. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
  107. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
  108. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
  109. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
  110. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
  111. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
  112. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
  113. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
  114. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
  115. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
  116. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
  117. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
  118. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
  119. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
  120. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
  121. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
  122. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
  123. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
  124. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
  125. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
  126. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
  127. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
  128. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
  129. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
  130. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
  131. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
  132. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
  133. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +13 -32
  134. package/src/node/plugins/quasar/unocss/index.ts +25 -10
  135. package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
  136. package/src/node/plugins/quasar.ts +30 -111
@@ -26,31 +26,38 @@ body.platform-ios:not(.native-mobile) .q-dialog__inner--top .q-select__dialog--f
26
26
  const shortcuts = [
27
27
  [
28
28
  /^q-select--without-input$/,
29
- ([, c], { theme }) => `[&_.q-field\\_\\_control]:(cursor-pointer)`
29
+ ([, c], { theme }) => theme.quasar?.components?.['q-select--without-input'] ??
30
+ `[&_.q-field\\_\\_control]:(cursor-pointer)`
30
31
  ],
31
32
  [
32
33
  /^q-select--with-input$/,
33
- ([, c], { theme }) => `[&_.q-field\\_\\_control]:(cursor-text)`
34
+ ([, c], { theme }) => theme.quasar?.components?.['q-select--with-input'] ??
35
+ `[&_.q-field\\_\\_control]:(cursor-text)`
34
36
  ],
35
37
  [
36
38
  /^q-select$/,
37
- ([, c], { theme }) => `[&_.q-field\\_\\_input]:(!min-w-[50px] cursor-text) [&_.q-field\\_\\_input--padding]:(pl-[4px])`
39
+ ([, c], { theme }) => theme.quasar?.components?.['q-select'] ??
40
+ `[&_.q-field\\_\\_input]:(!min-w-[50px] cursor-text) [&_.q-field\\_\\_input--padding]:(pl-[4px])`
38
41
  ],
39
42
  [
40
43
  /^q-select__focus-target$/,
41
- ([, c], { theme }) => `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
44
+ ([, c], { theme }) => theme.quasar?.components?.['q-select__focus-target'] ??
45
+ `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
42
46
  ],
43
47
  [
44
48
  /^q-select__autocomplete-input$/,
45
- ([, c], { theme }) => `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
49
+ ([, c], { theme }) => theme.quasar?.components?.['q-select__autocomplete-input'] ??
50
+ `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
46
51
  ],
47
52
  [
48
53
  /^q-select__dropdown-icon$/,
49
- ([, c], { theme }) => `cursor-pointer [transition:transform_0.28s]`
54
+ ([, c], { theme }) => theme.quasar?.components?.['q-select__dropdown-icon'] ??
55
+ `cursor-pointer [transition:transform_0.28s]`
50
56
  ],
51
57
  [
52
58
  /^q-select__dialog$/,
53
- ([, c], { theme }) => `!w-[90vw] !max-w-[90vw] !max-h-[calc(100vh-70px)] bg-[#fff] flex flex-col [&_>_.scroll]:(relative [background:inherit])`
59
+ ([, c], { theme }) => theme.quasar?.components?.['q-select__dialog'] ??
60
+ `!w-[90vw] !max-w-[90vw] !max-h-[calc(100vh-70px)] bg-[#fff] flex flex-col [&_>_.scroll]:(relative [background:inherit])`
54
61
  ]
55
62
  ];
56
63
  export { preflights, shortcuts };
@@ -1,24 +1,28 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-separator$/,
4
- ([, c], { theme }) => `border-0 bg-[rgba(0,_0,_0,_0.12)] m-0 [transition:background_0.3s,_opacity_0.3s] flex-shrink-0`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-separator'] ??
5
+ `border-0 bg-[rgba(0,_0,_0,_0.12)] m-0 [transition:background_0.3s,_opacity_0.3s] flex-shrink-0`
5
6
  ],
6
7
  [
7
8
  /^q-separator--dark$/,
8
- ([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.28)]`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-separator--dark'] ??
10
+ `bg-[rgba(255,_255,_255,_0.28)]`
9
11
  ],
10
12
  [/^q-separator--horizontal$/, ([, c], { theme }) => `block h-px`],
11
13
  [
12
14
  /^q-separator--horizontal-inset$/,
13
- ([, c], { theme }) => `ml-[16px] mr-[16px]`
15
+ ([, c], { theme }) => theme.quasar?.components?.['q-separator--horizontal-inset'] ??
16
+ `ml-[16px] mr-[16px]`
14
17
  ],
15
18
  [
16
19
  /^q-separator--horizontal-item-inset$/,
17
- ([, c], { theme }) => `ml-[72px] mr-0`
20
+ ([, c], { theme }) => theme.quasar?.components?.['q-separator--horizontal-item-inset'] ??
21
+ `ml-[72px] mr-0`
18
22
  ],
19
23
  [
20
24
  /^q-separator--horizontal-item-thumbnail-inset$/,
21
- ([, c], { theme }) => `ml-[116px] mr-0`
25
+ ([, c], { theme }) => theme.quasar?.components?.['q-separator--horizontal-item-thumbnail-inset'] ?? `ml-[116px] mr-0`
22
26
  ],
23
27
  [/^q-separator--vertical$/, ([, c], { theme }) => `w-px h-auto self-stretch`],
24
28
  [/^q-separator--vertical-inset$/, ([, c], { theme }) => `mt-[8px] mb-[8px]`]
@@ -58,96 +58,121 @@ const preflights = [
58
58
  const shortcuts = [
59
59
  [
60
60
  /^q-skeleton$/,
61
- ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.12)] rounded-[4px] box-border`
61
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton'] ??
62
+ `bg-[rgba(0,_0,_0,_0.12)] rounded-[4px] box-border [&:before]:(content-['_'])`
63
+ ],
64
+ [
65
+ /^q-skeleton--anim$/,
66
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim'] ?? `cursor-wait`
62
67
  ],
63
- [/^q-skeleton--anim$/, ([, c], { theme }) => `cursor-wait`],
64
- [/^q-skeleton:before$/, ([, c], { theme }) => `content-['_']`],
65
68
  [
66
69
  /^q-skeleton--type-text$/,
67
- ([, c], { theme }) => `scale-x-100 scale-y-[0.5]`
70
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-text'] ??
71
+ `scale-x-100 scale-y-[0.5]`
68
72
  ],
69
73
  [
70
74
  /^q-skeleton--type-circle$/,
71
- ([, c], { theme }) => `h-[48px] w-[48px] rounded-[50%]`
75
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-circle'] ??
76
+ `h-[48px] w-[48px] rounded-[50%]`
72
77
  ],
73
78
  [
74
79
  /^q-skeleton--type-QAvatar$/,
75
- ([, c], { theme }) => `h-[48px] w-[48px] rounded-[50%]`
80
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QAvatar'] ??
81
+ `h-[48px] w-[48px] rounded-[50%]`
82
+ ],
83
+ [
84
+ /^q-skeleton--type-QBtn$/,
85
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QBtn'] ?? `w-[90px] h-[36px]`
86
+ ],
87
+ [
88
+ /^q-skeleton--type-QBadge$/,
89
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QBadge'] ??
90
+ `w-[70px] h-[16px]`
76
91
  ],
77
- [/^q-skeleton--type-QBtn$/, ([, c], { theme }) => `w-[90px] h-[36px]`],
78
- [/^q-skeleton--type-QBadge$/, ([, c], { theme }) => `w-[70px] h-[16px]`],
79
92
  [
80
93
  /^q-skeleton--type-QChip$/,
81
- ([, c], { theme }) => `w-[90px] h-[28px] rounded-[16px]`
94
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QChip'] ??
95
+ `w-[90px] h-[28px] rounded-[16px]`
96
+ ],
97
+ [
98
+ /^q-skeleton--type-QToolbar$/,
99
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QToolbar'] ?? `h-[50px]`
82
100
  ],
83
- [/^q-skeleton--type-QToolbar$/, ([, c], { theme }) => `h-[50px]`],
84
101
  [
85
102
  /^q-skeleton--type-QCheckbox$/,
86
- ([, c], { theme }) => `w-[40px] h-[40px] rounded-[50%]`
103
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QCheckbox'] ??
104
+ `w-[40px] h-[40px] rounded-[50%]`
87
105
  ],
88
106
  [
89
107
  /^q-skeleton--type-QRadio$/,
90
- ([, c], { theme }) => `w-[40px] h-[40px] rounded-[50%]`
108
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QRadio'] ??
109
+ `w-[40px] h-[40px] rounded-[50%]`
91
110
  ],
92
111
  [
93
112
  /^q-skeleton--type-QToggle$/,
94
- ([, c], { theme }) => `w-[56px] h-[40px] rounded-[7px]`
113
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QToggle'] ??
114
+ `w-[56px] h-[40px] rounded-[7px]`
115
+ ],
116
+ [
117
+ /^q-skeleton--type-QSlider$/,
118
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QSlider'] ?? `h-[40px]`
119
+ ],
120
+ [
121
+ /^q-skeleton--type-QRange$/,
122
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QRange'] ?? `h-[40px]`
123
+ ],
124
+ [
125
+ /^q-skeleton--type-QInput$/,
126
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--type-QInput'] ?? `h-[56px]`
95
127
  ],
96
- [/^q-skeleton--type-QSlider$/, ([, c], { theme }) => `h-[40px]`],
97
- [/^q-skeleton--type-QRange$/, ([, c], { theme }) => `h-[40px]`],
98
- [/^q-skeleton--type-QInput$/, ([, c], { theme }) => `h-[56px]`],
99
128
  [
100
129
  /^q-skeleton--bordered$/,
101
- ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.05)]`
130
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--bordered'] ??
131
+ `border-[1px] border-solid border-[rgba(0,0,0,0.05)]`
132
+ ],
133
+ [
134
+ /^q-skeleton--square$/,
135
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--square'] ?? `rounded-none`
102
136
  ],
103
- [/^q-skeleton--square$/, ([, c], { theme }) => `rounded-none`],
104
137
  [
105
138
  /^q-skeleton--anim-fade$/,
106
- ([, c], { theme }) => `animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite]`
139
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-fade'] ??
140
+ `animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite]`
107
141
  ],
108
142
  [
109
143
  /^q-skeleton--anim-pulse$/,
110
- ([, c], { theme }) => `animate-[q-skeleton--pulse_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
144
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-pulse'] ??
145
+ `animate-[q-skeleton--pulse_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
111
146
  ],
112
147
  [
113
148
  /^q-skeleton--anim-pulse-x$/,
114
- ([, c], { theme }) => `animate-[q-skeleton--pulse-x_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
149
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-pulse-x'] ??
150
+ `animate-[q-skeleton--pulse-x_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
115
151
  ],
116
152
  [
117
153
  /^q-skeleton--anim-pulse-y$/,
118
- ([, c], { theme }) => `animate-[q-skeleton--pulse-y_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
154
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-pulse-y'] ??
155
+ `animate-[q-skeleton--pulse-y_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
119
156
  ],
120
157
  [
121
158
  /^q-skeleton--anim-wave$/,
122
- ([, c], { theme }) => `relative overflow-hidden z-1
123
- [&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0 bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.5),_rgba(255,_255,_255,_0)_)] animate-[q-skeleton--wave_var(--q-skeleton-speed)_linear_0.5s_infinite] z-0)
124
- `
159
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-wave'] ??
160
+ `relative overflow-hidden [&:after]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] z-0) [&:after]:(bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.5),_rgba(255,_255,_255,_0)_)] animate-[q-skeleton--wave_var(--q-skeleton-speed)_linear_0.5s_infinite])`
125
161
  ],
126
162
  [
127
163
  /^q-skeleton--anim-blink$/,
128
- ([, c], { theme }) => `relative overflow-hidden z-1
129
- [&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0 bg-[rgba(255,_255,_255,_0.7)] animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite] z-0)`
164
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-blink'] ??
165
+ `relative overflow-hidden [&:after]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] z-0) [&:after]:(bg-[rgba(255,_255,_255,_0.7)] animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite])`
130
166
  ],
131
167
  [
132
168
  /^q-skeleton--anim-pop$/,
133
- ([, c], { theme }) => `relative overflow-hidden z-1
134
- [&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0)`
169
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--anim-pop'] ??
170
+ `relative overflow-hidden [&:after]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] z-0)`
135
171
  ],
136
172
  [
137
173
  /^q-skeleton--dark$/,
138
- ([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.05)]`
139
- ],
140
- [
141
- /^q-skeleton--dark.q-skeleton--bordered$/,
142
- ([, c], { theme }) => `border-[1px] border-solid border-[rgba(255,255,255,0.25)]`
143
- ],
144
- [
145
- /^q-skeleton--dark.q-skeleton--anim-wave:after$/,
146
- ([, c], { theme }) => `bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.1),_rgba(255,_255,_255,_0)_)]`
147
- ],
148
- [
149
- /^q-skeleton--dark.q-skeleton--anim-blink:after$/,
150
- ([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.2)]`
174
+ ([, c], { theme }) => theme.quasar?.components?.['q-skeleton--dark'] ??
175
+ `bg-[rgba(255,_255,_255,_0.05)] [&.q-skeleton--bordered]:(border-[1px] border-solid border-[rgba(255,255,255,0.25)]) [&.q-skeleton--anim-wave:after]:(bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.1),_rgba(255,_255,_255,_0)_)]) [&.q-skeleton--anim-blink:after]:(bg-[rgba(255,_255,_255,_0.2)])`
151
176
  ]
152
177
  ];
153
178
  export { preflights, shortcuts };
@@ -2,23 +2,28 @@ const shortcuts = [
2
2
  [/^q-slide-item$/, ([, c], { theme }) => `relative bg-[white]`],
3
3
  [
4
4
  /^q-slide-item__left$/,
5
- ([, c], { theme }) => `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#4caf50] px-[16px] py-[8px] [&_>_div]:(origin-[left_center])`
5
+ ([, c], { theme }) => theme.quasar?.components?.['q-slide-item__left'] ??
6
+ `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#4caf50] px-[16px] py-[8px] [&_>_div]:(origin-[left_center])`
6
7
  ],
7
8
  [
8
9
  /^q-slide-item__right$/,
9
- ([, c], { theme }) => `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#ff9800] px-[16px] py-[8px] [&_>_div]:(origin-[right_center])`
10
+ ([, c], { theme }) => theme.quasar?.components?.['q-slide-item__right'] ??
11
+ `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#ff9800] px-[16px] py-[8px] [&_>_div]:(origin-[right_center])`
10
12
  ],
11
13
  [
12
14
  /^q-slide-item__top$/,
13
- ([, c], { theme }) => `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#2196f3] px-[8px] py-[16px] [&_>_div]:(origin-[top_center])`
15
+ ([, c], { theme }) => theme.quasar?.components?.['q-slide-item__top'] ??
16
+ `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#2196f3] px-[8px] py-[16px] [&_>_div]:(origin-[top_center])`
14
17
  ],
15
18
  [
16
19
  /^q-slide-item__bottom$/,
17
- ([, c], { theme }) => `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#9c27b0] px-[8px] py-[16px] [&_>_div]:(origin-[bottom_center])`
20
+ ([, c], { theme }) => theme.quasar?.components?.['q-slide-item__bottom'] ??
21
+ `invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#9c27b0] px-[8px] py-[16px] [&_>_div]:(origin-[bottom_center])`
18
22
  ],
19
23
  [
20
24
  /^q-slide-item__content$/,
21
- ([, c], { theme }) => `[background:inherit] [transition:transform_0.2s_ease-in] select-none cursor-pointer`
25
+ ([, c], { theme }) => theme.quasar?.components?.['q-slide-item__content'] ??
26
+ `[background:inherit] [transition:transform_0.2s_ease-in] select-none cursor-pointer`
22
27
  ]
23
28
  ];
24
29
  export { shortcuts };
@@ -4,120 +4,147 @@ const shortcuts = [
4
4
  [/^q-slider--v$/, ([, c], { theme }) => `h-[200px]`],
5
5
  [
6
6
  /^q-slider--editable$/,
7
- ([, c], { theme }) => `[&_.q-slider\\_\\_track-container]:()`
7
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--editable'] ??
8
+ `[&_.q-slider\\_\\_track-container]:()`
8
9
  ],
9
10
  [/^q-slider__track-container$/, ([, c], { theme }) => `outline-0`],
10
11
  [
11
12
  /^q-slider__track-container--h$/,
12
- ([, c], { theme }) => `w-full px-[0] py-[12px] [&_.q-slider\\_\\_selection]:()`
13
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__track-container--h'] ??
14
+ `w-full px-[0] py-[12px] [&_.q-slider\\_\\_selection]:()`
13
15
  ],
14
16
  [
15
17
  /^q-slider__track-container--v$/,
16
- ([, c], { theme }) => `h-full px-[12px] py-[0] [&_.q-slider\\_\\_selection]:()`
18
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__track-container--v'] ??
19
+ `h-full px-[12px] py-[0] [&_.q-slider\\_\\_selection]:()`
17
20
  ],
18
21
  [
19
22
  /^q-slider__track$/,
20
- ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.1)] rounded-[4px] [width:inherit] [height:inherit] text-primary`
23
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__track'] ??
24
+ `bg-[rgba(0,_0,_0,_0.1)] rounded-[4px] [width:inherit] [height:inherit] text-primary`
21
25
  ],
22
26
  [
23
27
  /^q-slider__inner$/,
24
- ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.1)] [border-radius:inherit] w-full h-full`
28
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__inner'] ??
29
+ `bg-[rgba(0,_0,_0,_0.1)] [border-radius:inherit] w-full h-full`
25
30
  ],
26
31
  [
27
32
  /^q-slider__selection$/,
28
- ([, c], { theme }) => `bg-current [border-radius:inherit] w-full h-full`
33
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__selection'] ??
34
+ `bg-current [border-radius:inherit] w-full h-full`
29
35
  ],
30
36
  [
31
37
  /^q-slider__markers$/,
32
- ([, c], { theme }) => `text-[rgba(0,_0,_0,_0.3)] [border-radius:inherit] w-full h-full [&:after]:(content-empty absolute bg-current)`
38
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__markers'] ??
39
+ `text-[rgba(0,_0,_0,_0.3)] [border-radius:inherit] w-full h-full [&:after]:(content-empty absolute bg-current)`
33
40
  ],
34
41
  [
35
42
  /^q-slider__markers--h$/,
36
- ([, c], { theme }) => `bg-[repeating-linear-gradient(_to_right,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(h-full w-[2px] top-0 right-0)`
43
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__markers--h'] ??
44
+ `bg-[repeating-linear-gradient(_to_right,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(h-full w-[2px] top-0 right-0)`
37
45
  ],
38
46
  [
39
47
  /^q-slider__markers--v$/,
40
- ([, c], { theme }) => `bg-[repeating-linear-gradient(_to_bottom,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(w-full h-[2px] left-0 bottom-0)`
48
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__markers--v'] ??
49
+ `bg-[repeating-linear-gradient(_to_bottom,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(w-full h-[2px] left-0 bottom-0)`
41
50
  ],
42
51
  [
43
52
  /^q-slider__marker-labels-container$/,
44
- ([, c], { theme }) => `relative w-full h-full min-h-[24px] min-w-[24px]`
53
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__marker-labels-container'] ??
54
+ `relative w-full h-full min-h-[24px] min-w-[24px]`
45
55
  ],
46
56
  [/^q-slider__marker-labels$/, ([, c], { theme }) => `absolute`],
47
57
  [/^q-slider__marker-labels--h-standard$/, ([, c], { theme }) => `top-0`],
48
58
  [/^q-slider__marker-labels--h-switched$/, ([, c], { theme }) => `bottom-0`],
49
59
  [
50
60
  /^q-slider__marker-labels--h-ltr$/,
51
- ([, c], { theme }) => `-translate-x-1/2`
61
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__marker-labels--h-ltr'] ??
62
+ `-translate-x-1/2`
52
63
  ],
53
64
  [/^q-slider__marker-labels--h-rtl$/, ([, c], { theme }) => `translate-x-1/2`],
54
65
  [/^q-slider__marker-labels--v-standard$/, ([, c], { theme }) => `left-[4px]`],
55
66
  [
56
67
  /^q-slider__marker-labels--v-switched$/,
57
- ([, c], { theme }) => `right-[4px]`
68
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__marker-labels--v-switched'] ??
69
+ `right-[4px]`
58
70
  ],
59
71
  [
60
72
  /^q-slider__marker-labels--v-ltr$/,
61
- ([, c], { theme }) => `-translate-y-1/2`
73
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__marker-labels--v-ltr'] ??
74
+ `-translate-y-1/2`
62
75
  ],
63
76
  [/^q-slider__marker-labels--v-rtl$/, ([, c], { theme }) => `translate-y-1/2`],
64
77
  [
65
78
  /^q-slider__thumb$/,
66
- ([, c], { theme }) => `outline-0 [transition:transform_0.18s_ease-out,_fill_0.18s_ease-out,_stroke_0.18s_ease-out] text-primary`
79
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb'] ??
80
+ `outline-0 [transition:transform_0.18s_ease-out,_fill_0.18s_ease-out,_stroke_0.18s_ease-out] text-primary`
67
81
  ],
68
82
  [/^q-slider__thumb--h$/, ([, c], { theme }) => `top-2/4`],
69
83
  [
70
84
  /^q-slider__thumb--h-ltr$/,
71
- ([, c], { theme }) => `scale-100 -translate-x-1/2 -translate-y-1/2`
85
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb--h-ltr'] ??
86
+ `scale-100 -translate-x-1/2 -translate-y-1/2`
72
87
  ],
73
88
  [
74
89
  /^q-slider__thumb--h-rtl$/,
75
- ([, c], { theme }) => `scale-100 translate-x-1/2 -translate-y-1/2`
90
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb--h-rtl'] ??
91
+ `scale-100 translate-x-1/2 -translate-y-1/2`
76
92
  ],
77
93
  [/^q-slider__thumb--v$/, ([, c], { theme }) => `left-2/4`],
78
94
  [
79
95
  /^q-slider__thumb--v-ltr$/,
80
- ([, c], { theme }) => `scale-100 -translate-x-1/2 -translate-y-1/2`
96
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb--v-ltr'] ??
97
+ `scale-100 -translate-x-1/2 -translate-y-1/2`
81
98
  ],
82
99
  [
83
100
  /^q-slider__thumb--v-rtl$/,
84
- ([, c], { theme }) => `scale-100 -translate-x-1/2 translate-y-1/2`
101
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb--v-rtl'] ??
102
+ `scale-100 -translate-x-1/2 translate-y-1/2`
85
103
  ],
86
104
  [
87
105
  /^q-slider__thumb-shape$/,
88
- ([, c], { theme }) => `top-0 left-0 stroke-[3.5] stroke-current [transition:transform_0.28s] [&_path]:(stroke-current fill-current)`
106
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__thumb-shape'] ??
107
+ `top-0 left-0 stroke-[3.5] stroke-current [transition:transform_0.28s] [&_path]:(stroke-current fill-current)`
89
108
  ],
90
109
  [
91
110
  /^q-slider__focus-ring$/,
92
- ([, c], { theme }) => `rounded-[50%] opacity-0 [transition:transform_266.67ms_ease-out,_opacity_266.67ms_ease-out,_background-color_266.67ms_ease-out] delay-[140ms]`
111
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__focus-ring'] ??
112
+ `rounded-[50%] opacity-0 [transition:transform_266.67ms_ease-out,_opacity_266.67ms_ease-out,_background-color_266.67ms_ease-out] delay-[140ms]`
93
113
  ],
94
114
  [
95
115
  /^q-slider__pin$/,
96
- ([, c], { theme }) => `opacity-0 whitespace-nowrap [transition:opacity_0.28s_ease-out] delay-[140ms] [&:before]:(content-empty w-[0] h-[0] absolute)`
116
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin'] ??
117
+ `opacity-0 whitespace-nowrap [transition:opacity_0.28s_ease-out] delay-[140ms] [&:before]:(content-empty w-[0] h-[0] absolute)`
97
118
  ],
98
119
  [
99
120
  /^q-slider__pin--h$/,
100
- ([, c], { theme }) => `[&:before]:([border-left:6px_solid_transparent] [border-right:6px_solid_transparent] left-2/4 -translate-x-1/2)`
121
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--h'] ??
122
+ `[&:before]:([border-left:6px_solid_transparent] [border-right:6px_solid_transparent] left-2/4 -translate-x-1/2)`
101
123
  ],
102
124
  [
103
125
  /^q-slider__pin--h-standard$/,
104
- ([, c], { theme }) => `bottom-full [&:before]:(bottom-[2px] [border-top:6px_solid_currentColor])`
126
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--h-standard'] ??
127
+ `bottom-full [&:before]:(bottom-[2px] [border-top:6px_solid_currentColor])`
105
128
  ],
106
129
  [
107
130
  /^q-slider__pin--h-switched$/,
108
- ([, c], { theme }) => `top-full [&:before]:(top-[2px] [border-bottom:6px_solid_currentColor])`
131
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--h-switched'] ??
132
+ `top-full [&:before]:(top-[2px] [border-bottom:6px_solid_currentColor])`
109
133
  ],
110
134
  [
111
135
  /^q-slider__pin--v$/,
112
- ([, c], { theme }) => `top-0 [&:before]:(top-2/4 -translate-y-1/2 [border-top:6px_solid_transparent] [border-bottom:6px_solid_transparent])`
136
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--v'] ??
137
+ `top-0 [&:before]:(top-2/4 -translate-y-1/2 [border-top:6px_solid_transparent] [border-bottom:6px_solid_transparent])`
113
138
  ],
114
139
  [
115
140
  /^q-slider__pin--v-standard$/,
116
- ([, c], { theme }) => `left-full [&:before]:(left-[2px] [border-right:6px_solid_currentColor])`
141
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--v-standard'] ??
142
+ `left-full [&:before]:(left-[2px] [border-right:6px_solid_currentColor])`
117
143
  ],
118
144
  [
119
145
  /^q-slider__pin--v-switched$/,
120
- ([, c], { theme }) => `right-full [&:before]:(right-[2px] [border-left:6px_solid_currentColor])`
146
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__pin--v-switched'] ??
147
+ `right-full [&:before]:(right-[2px] [border-left:6px_solid_currentColor])`
121
148
  ],
122
149
  [/^q-slider__label$/, ([, c], { theme }) => `whitespace-nowrap absolute`],
123
150
  [/^q-slider__label--h$/, ([, c], { theme }) => `left-2/4 -translate-x-1/2`],
@@ -128,36 +155,44 @@ const shortcuts = [
128
155
  [/^q-slider__label--v-switched$/, ([, c], { theme }) => `right-[7px]`],
129
156
  [
130
157
  /^q-slider__text-container$/,
131
- ([, c], { theme }) => `min-h-[25px] px-[8px] py-[2px] rounded-[4px] bg-current relative text-center`
158
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider__text-container'] ??
159
+ `min-h-[25px] px-[8px] py-[2px] rounded-[4px] bg-current relative text-center`
132
160
  ],
133
161
  [/^q-slider__text$/, ([, c], { theme }) => `text-[#fff] text-[12px]`],
134
162
  [
135
163
  /^q-slider--no-value$/,
136
- ([, c], { theme }) => `[&_.q-slider\\_\\_thumb]:(opacity-0) [&_.q-slider\\_\\_inner]:(opacity-0) [&_.q-slider\\_\\_selection]:(opacity-0)`
164
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--no-value'] ??
165
+ `[&_.q-slider\\_\\_thumb]:(opacity-0) [&_.q-slider\\_\\_inner]:(opacity-0) [&_.q-slider\\_\\_selection]:(opacity-0)`
137
166
  ],
138
167
  [
139
168
  /^q-slider--focus$/,
140
- ([, c], { theme }) => `[&_.q-slider\\_\\_focus-ring]:(bg-current [transform:scale3d(1.55,_1.55,_1)] opacity-25) [&_.q-slider\\_\\_thumb]:(opacity-100) [&_.q-slider\\_\\_inner]:(opacity-100) [&_.q-slider\\_\\_selection]:(opacity-100)`
169
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--focus'] ??
170
+ `[&_.q-slider\\_\\_focus-ring]:(bg-current [transform:scale3d(1.55,_1.55,_1)] opacity-25) [&_.q-slider\\_\\_thumb]:(opacity-100) [&_.q-slider\\_\\_inner]:(opacity-100) [&_.q-slider\\_\\_selection]:(opacity-100)`
141
171
  ],
142
172
  [
143
173
  /^q-slider--inactive$/,
144
- ([, c], { theme }) => `[&_.q-slider\\_\\_thumb--h]:([transition:left_0.28s,_right_0.28s]) [&_.q-slider\\_\\_thumb--v]:([transition:top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_selection]:([transition:width_0.28s,_left_0.28s,_right_0.28s,_height_0.28s,_top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_text-container]:([transition:transform_0.28s])`
174
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--inactive'] ??
175
+ `[&_.q-slider\\_\\_thumb--h]:([transition:left_0.28s,_right_0.28s]) [&_.q-slider\\_\\_thumb--v]:([transition:top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_selection]:([transition:width_0.28s,_left_0.28s,_right_0.28s,_height_0.28s,_top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_text-container]:([transition:transform_0.28s])`
145
176
  ],
146
177
  [
147
178
  /^q-slider--active$/,
148
- ([, c], { theme }) => ` [&_.q-slider\\_\\_thumb-shape]:(scale-150) [&_.q-slider\\_\\_focus-ring]:(!scale-0)`
179
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--active'] ??
180
+ ` [&_.q-slider\\_\\_thumb-shape]:(scale-150) [&_.q-slider\\_\\_focus-ring]:(!scale-0)`
149
181
  ],
150
182
  [
151
183
  /^q-slider--label$/,
152
- ([, c], { theme }) => `[&_.q-slider--focus_.q-slider\\_\\_pin]:(opacity-100)`
184
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--label'] ??
185
+ `[&_.q-slider--focus_.q-slider\\_\\_pin]:(opacity-100)`
153
186
  ],
154
187
  [
155
188
  /^q-slider--dark$/,
156
- ([, c], { theme }) => `[&_.q-slider\\_\\_track]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_inner]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_markers]:(text-[rgba(255,_255,_255,_0.3)])`
189
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--dark'] ??
190
+ `[&_.q-slider\\_\\_track]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_inner]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_markers]:(text-[rgba(255,_255,_255,_0.3)])`
157
191
  ],
158
192
  [
159
193
  /^q-slider--dense$/,
160
- ([, c], { theme }) => `[&_.q-slider\\_\\_track-container--h]:(px-[0] py-[6px]) [&_.q-slider\\_\\_track-container--v]:(px-[6px] py-[0])`
194
+ ([, c], { theme }) => theme.quasar?.components?.['q-slider--dense'] ??
195
+ `[&_.q-slider\\_\\_track-container--h]:(px-[0] py-[6px]) [&_.q-slider\\_\\_track-container--v]:(px-[6px] py-[0])`
161
196
  ]
162
197
  ];
163
198
  export { shortcuts };
@@ -38,7 +38,8 @@ const shortcuts = [
38
38
  [/^q-spinner$/, ([, c], { theme }) => `align-middle`],
39
39
  [
40
40
  /^q-spinner-mat$/,
41
- ([, c], { theme }) => `animate-[q-spin_2s_linear_infinite] origin-[center_center] [&_.path]:(animate-[q-mat-dash_1.5s_ease-in-out_infinite])`
41
+ ([, c], { theme }) => theme.quasar?.components?.['q-spinner-mat'] ??
42
+ `animate-[q-spin_2s_linear_infinite] origin-[center_center] [&_.path]:(animate-[q-mat-dash_1.5s_ease-in-out_infinite])`
42
43
  ]
43
44
  ];
44
45
  export { preflights, shortcuts };
@@ -1,39 +1,41 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-splitter__panel$/,
4
- ([, c], { theme }) => `relative z-0 [&_>_.q-splitter]:(w-full h-full)`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter__panel'] ??
5
+ `relative z-0 [&_>_.q-splitter]:(w-full h-full)`
5
6
  ],
6
7
  [
7
8
  /^q-splitter__separator$/,
8
- ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.12)] select-none relative`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter__separator'] ??
10
+ `bg-[rgba(0,_0,_0,_0.12)] select-none relative`
9
11
  ],
10
12
  [
11
13
  /^q-splitter__separator-area$/,
12
- ([, c], { theme }) => `[&_>_*]:(absolute top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2)`
14
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter__separator-area'] ??
15
+ `[&_>_*]:(absolute top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2)`
13
16
  ],
14
17
  [
15
18
  /^q-splitter--dark$/,
16
- ([, c], { theme }) => `[&_.q-splitter\\_\\_separator]:(bg-[rgba(255,_255,_255,_0.28)])`
19
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter--dark'] ??
20
+ `[&_.q-splitter\\_\\_separator]:(bg-[rgba(255,_255,_255,_0.28)])`
17
21
  ],
18
22
  [
19
23
  /^q-splitter--vertical$/,
20
- ([, c], { theme }) => `[&_>_.q-splitter\\_\\_panel]:(h-full) [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px])`
21
- ],
22
- [/^q-splitter--vertical.q-splitter--active$/, ([, c], { theme }) => ``],
23
- [
24
- /^q-splitter--vertical.q-splitter--workable$/,
25
- ([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
24
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter--vertical'] ??
25
+ `[&_>_.q-splitter\\_\\_panel]:(h-full) [&.q-splitter--active]:() [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:()`
26
26
  ],
27
27
  [
28
28
  /^q-splitter--horizontal$/,
29
- ([, c], { theme }) => `[&_>_.q-splitter\\_\\_panel]:(w-full) [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px])`
29
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter--horizontal'] ??
30
+ `[&_>_.q-splitter\\_\\_panel]:(w-full) [&.q-splitter--active]:() [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:()`
30
31
  ],
31
- [/^q-splitter--horizontal.q-splitter--active$/, ([, c], { theme }) => ``],
32
32
  [
33
- /^q-splitter--horizontal.q-splitter--workable$/,
34
- ([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
33
+ /^q-splitter__before$/,
34
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter__before'] ?? `overflow-auto`
35
35
  ],
36
- [/^q-splitter__before$/, ([, c], { theme }) => `overflow-auto`],
37
- [/^q-splitter__after$/, ([, c], { theme }) => `overflow-auto`]
36
+ [
37
+ /^q-splitter__after$/,
38
+ ([, c], { theme }) => theme.quasar?.components?.['q-splitter__after'] ?? `overflow-auto`
39
+ ]
38
40
  ];
39
41
  export { shortcuts };