vitrify 0.17.4 → 0.17.6

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 (133) 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/index.js +147 -7
  64. package/dist/plugins/quasar/unocss/theme.js +300 -426
  65. package/dist/types/plugins/quasar/unocss/index.d.ts +2 -0
  66. package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
  67. package/dist/types/plugins/quasar.d.ts +6 -8
  68. package/package.json +1 -1
  69. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
  70. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
  71. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
  72. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
  73. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
  74. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
  75. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
  76. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
  77. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
  78. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
  79. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
  80. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
  81. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
  82. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
  83. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
  84. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
  85. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
  86. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
  87. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
  88. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
  89. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
  90. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
  91. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
  92. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
  93. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
  94. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
  95. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
  96. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
  97. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
  98. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
  99. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
  100. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
  101. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
  102. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
  103. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
  104. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
  105. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
  106. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
  107. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
  108. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
  109. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
  110. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
  111. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
  112. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
  113. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
  114. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
  115. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
  116. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
  117. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
  118. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
  119. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
  120. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
  121. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
  122. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
  123. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
  124. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
  125. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
  126. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
  127. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
  128. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
  129. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
  130. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
  131. package/src/node/plugins/quasar/unocss/index.ts +150 -7
  132. package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
  133. package/src/node/plugins/quasar.ts +12 -9
@@ -1,102 +1,118 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-stepper$/,
4
- ([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] bg-[#fff]`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper'] ??
5
+ `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] bg-[#fff]`
5
6
  ],
6
7
  [
7
8
  /^q-stepper__title$/,
8
- ([, c], { theme }) => `text-[14px] leading-[1.285714] tracking-[0.1px]`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__title'] ??
10
+ `text-[14px] leading-[1.285714] tracking-[0.1px]`
9
11
  ],
10
12
  [
11
13
  /^q-stepper__caption$/,
12
- ([, c], { theme }) => `text-[12px] leading-[1.16667]`
14
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__caption'] ??
15
+ `text-[12px] leading-[1.16667]`
13
16
  ],
14
17
  [
15
18
  /^q-stepper__dot$/,
16
- ([, c], { theme }) => `mr-[8px] text-[14px] w-[24px] min-w-[24px] h-[24px] rounded-[50%] bg-current [&_span]:(text-[#fff])`
19
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__dot'] ??
20
+ `mr-[8px] text-[14px] w-[24px] min-w-[24px] h-[24px] rounded-[50%] bg-current [&_span]:(text-[#fff])`
17
21
  ],
18
22
  [
19
23
  /^q-stepper__tab$/,
20
- ([, c], { theme }) => `px-[24px] py-[8px] text-[14px] text-[#9e9e9e] flex-row`
24
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab'] ??
25
+ `px-[24px] py-[8px] text-[14px] text-[#9e9e9e] flex-row`
21
26
  ],
22
27
  [
23
28
  /^q-stepper--dark$/,
24
- ([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] [&_.q-stepper\\_\\_dot_span]:(text-[#000]) [&_.q-stepper\\_\\_header--border]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled]:(text-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_dot]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_label]:(text-[rgba(255,_255,_255,_0.54)])`
29
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper--dark'] ??
30
+ `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] [&_.q-stepper\\_\\_dot_span]:(text-[#000]) [&.q-stepper--bordered]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_header--border]:(border-[rgba(255,_255,_255,_0.28)]) [&.q-stepper--horizontal_.q-stepper\\_\\_line:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&.q-stepper--horizontal_.q-stepper\\_\\_line:after]:(bg-[rgba(255,_255,_255,_0.28)]) [&.q-stepper--vertical_.q-stepper\\_\\_dot:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&.q-stepper--vertical_.q-stepper\\_\\_dot:after]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled]:(text-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_dot]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_label]:(text-[rgba(255,_255,_255,_0.54)])`
25
31
  ],
26
32
  [
27
33
  /^q-stepper__tab--navigation$/,
28
- ([, c], { theme }) => `select-none cursor-pointer`
34
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--navigation'] ??
35
+ `select-none cursor-pointer`
29
36
  ],
30
37
  [
31
38
  /^q-stepper__tab--active$/,
32
- ([, c], { theme }) => ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
39
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--active'] ??
40
+ ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor])`
33
41
  ],
34
42
  [
35
43
  /^q-stepper__tab--done$/,
36
- ([, c], { theme }) => ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
44
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--done'] ??
45
+ ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor])`
37
46
  ],
38
47
  [
39
48
  /^q-stepper__tab--disabled$/,
40
- ([, c], { theme }) => `[&_.q-stepper\\_\\_dot]:(bg-[rgba(0,_0,_0,_0.22)]) [&_.q-stepper\\_\\_label]:(text-[rgba(0,_0,_0,_0.32)])`
49
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--disabled'] ??
50
+ `[&_.q-stepper\\_\\_dot]:(bg-[rgba(0,_0,_0,_0.22)]) [&_.q-stepper\\_\\_label]:(text-[rgba(0,_0,_0,_0.32)])`
51
+ ],
52
+ [
53
+ /^q-stepper__tab--error$/,
54
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--error'] ?? ``
41
55
  ],
42
- [/^q-stepper__tab--error$/, ([, c], { theme }) => `text-negative`],
43
56
  [
44
57
  /^q-stepper__tab--error-with-icon$/,
45
- ([, c], { theme }) => `[&_.q-stepper\\_\\_dot]:(!bg-transparent) [&_.q-stepper\\_\\_dot_span]:(text-current text-[24px])`
58
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__tab--error-with-icon'] ??
59
+ `[&_.q-stepper\\_\\_dot]:(!bg-transparent) [&_.q-stepper\\_\\_dot_span]:(text-current text-[24px])`
46
60
  ],
47
61
  [
48
62
  /^q-stepper__header$/,
49
- ([, c], { theme }) => `[border-top-left-radius:inherit] [border-top-right-radius:inherit]`
63
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header'] ??
64
+ `[border-top-left-radius:inherit] [border-top-right-radius:inherit]`
50
65
  ],
51
66
  [
52
67
  /^q-stepper__header--border$/,
53
- ([, c], { theme }) => `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
68
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header--border'] ??
69
+ `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
54
70
  ],
55
71
  [
56
72
  /^q-stepper__header--standard-labels$/,
57
- ([, c], { theme }) => `[&_.q-stepper\\_\\_tab]:(min-h-[72px] justify-center) [&_.q-stepper\\_\\_tab:first-child]:(justify-start) [&_.q-stepper\\_\\_tab:last-child]:(justify-end) [&_.q-stepper\\_\\_tab:only-child]:(justify-center) [&_.q-stepper\\_\\_dot:after]:(hidden)`
73
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header--standard-labels'] ??
74
+ `[&_.q-stepper\\_\\_tab]:(min-h-[72px] justify-center) [&_.q-stepper\\_\\_tab:first-child]:(justify-start) [&_.q-stepper\\_\\_tab:last-child]:(justify-end) [&_.q-stepper\\_\\_tab:only-child]:(justify-center) [&_.q-stepper\\_\\_dot:after]:(hidden)`
58
75
  ],
59
76
  [
60
77
  /^q-stepper__header--alternative-labels$/,
61
- ([, c], { theme }) => `[&_.q-stepper\\_\\_tab]:(min-h-[104px] px-[32px] py-[24px] flex-col justify-start) [&_.q-stepper\\_\\_dot]:(mr-0) [&_.q-stepper\\_\\_label]:(mt-[8px] text-center) [&_.q-stepper\\_\\_label:before]:(hidden) [&_.q-stepper\\_\\_label:after]:(hidden)`
78
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header--alternative-labels'] ??
79
+ `[&_.q-stepper\\_\\_tab]:(min-h-[104px] px-[32px] py-[24px] flex-col justify-start) [&_.q-stepper\\_\\_dot]:(mr-0) [&_.q-stepper\\_\\_label]:(mt-[8px] text-center) [&_.q-stepper\\_\\_label:before]:(hidden) [&_.q-stepper\\_\\_label:after]:(hidden)`
62
80
  ],
63
81
  [
64
82
  /^q-stepper__header--contracted$/,
65
- ([, c], { theme }) => `min-h-[72px] [&_.q-stepper\\_\\_tab]:(px-[0] py-[24px]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot]:(translate-x-[24px]) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot]:(-translate-x-[24px]) [&_.q-stepper\\_\\_dot]:(m-0) [&_.q-stepper\\_\\_label]:(hidden)`
66
- ],
67
- [
68
- /^q-stepper__header--contracted.q-stepper__header--alternative-labels$/,
69
- ([, c], { theme }) => `[&__.q-stepper\\_\\_tab]:(min-h-[72px]) [&__.q-stepper\\_\\_tab:first-child]:(items-start) [&__.q-stepper\\_\\_tab:last-child]:(items-end)`
83
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header--contracted'] ??
84
+ `min-h-[72px] [&.q-stepper__header--alternative-labels
85
+ __.q-stepper\\_\\_tab]:(min-h-[72px]) [&.q-stepper__header--alternative-labels
86
+ __.q-stepper\\_\\_tab:first-child]:(items-start) [&.q-stepper__header--alternative-labels
87
+ __.q-stepper\\_\\_tab:last-child]:(items-end) [&_.q-stepper\\_\\_tab]:(px-[0] py-[24px]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot]:(translate-x-[24px]) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot]:(-translate-x-[24px]) [&_.q-stepper\\_\\_dot]:(m-0) [&_.q-stepper\\_\\_label]:(hidden)`
70
88
  ],
71
89
  [
72
90
  /^q-stepper__header--contracted$/,
73
- ([, c], { theme }) => `[&__.q-stepper\\_\\_tab:not(:last-child)__.q-stepper\\_\\_dot:after]:(!block)`
74
- ],
75
- [/^q-stepper__nav$/, ([, c], { theme }) => `pt-[24px]`],
76
- [/^q-stepper--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
77
- [
78
- /^q-stepper--bordered$/,
79
- ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
91
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__header--contracted'] ??
92
+ `[&__.q-stepper\\_\\_tab:not(:last-child)__.q-stepper\\_\\_dot:after]:(!block)`
80
93
  ],
81
94
  [
82
- /^q-stepper--horizontal$/,
83
- ([, c], { theme }) => `[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:() [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-empty right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
95
+ /^q-stepper__nav$/,
96
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper__nav'] ?? `pt-[24px]`
84
97
  ],
85
98
  [
86
- /^q-stepper--vertical$/,
87
- ([, c], { theme }) => `px-[0] py-[16px] [&_.q-stepper\\_\\_tab]:(px-[24px] py-[12px]) [&_.q-stepper\\_\\_title]:(leading-[18px]) [&_.q-stepper\\_\\_step-inner]:(pt-[0] pr-[24px] pb-[32px] pl-[60px]) [&_>_.q-stepper\\_\\_nav]:(pt-[24px] px-[24px] pb-[0]) [&_.q-stepper\\_\\_step]:(overflow-hidden) [&_.q-stepper\\_\\_dot]:(mr-[12px]) [&_.q-stepper\\_\\_dot:before]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:after]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:before]:(bottom-full mb-[8px]) [&_.q-stepper\\_\\_dot:after]:(top-full mt-[8px]) [&_.q-stepper\\_\\_step:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_step-inner]:(pb-[8px])`
99
+ /^q-stepper--flat$/,
100
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper--flat'] ?? `[box-shadow:none]`
88
101
  ],
89
102
  [
90
- /^q-stepper--dark.q-stepper--bordered$/,
91
- ([, c], { theme }) => `border-[rgba(255,_255,_255,_0.28)]`
103
+ /^q-stepper--bordered$/,
104
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper--bordered'] ??
105
+ `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
92
106
  ],
93
107
  [
94
- /^q-stepper--dark.q-stepper--horizontal$/,
95
- ([, c], { theme }) => `[&_.q-stepper\\_\\_line:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_line:after]:(bg-[rgba(255,_255,_255,_0.28)])`
108
+ /^q-stepper--horizontal$/,
109
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper--horizontal'] ??
110
+ `[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:() [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-[''] right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
96
111
  ],
97
112
  [
98
- /^q-stepper--dark.q-stepper--vertical$/,
99
- ([, c], { theme }) => `[&_.q-stepper\\_\\_dot:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_dot:after]:(bg-[rgba(255,_255,_255,_0.28)])`
113
+ /^q-stepper--vertical$/,
114
+ ([, c], { theme }) => theme.quasar?.components?.['q-stepper--vertical'] ??
115
+ `px-[0] py-[16px] [&_.q-stepper\\_\\_tab]:(px-[24px] py-[12px]) [&_.q-stepper\\_\\_title]:(leading-[18px]) [&_.q-stepper\\_\\_step-inner]:(pt-[0] pr-[24px] pb-[32px] pl-[60px]) [&_>_.q-stepper\\_\\_nav]:(pt-[24px] px-[24px] pb-[0]) [&_.q-stepper\\_\\_step]:(overflow-hidden) [&_.q-stepper\\_\\_dot]:(mr-[12px]) [&_.q-stepper\\_\\_dot:before]:(content-[''] absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:after]:(content-[''] absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:before]:(bottom-full mb-[8px]) [&_.q-stepper\\_\\_dot:after]:(top-full mt-[8px]) [&_.q-stepper\\_\\_step:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_step-inner]:(pb-[8px])`
100
116
  ]
101
117
  ];
102
118
  export { shortcuts };
@@ -7,126 +7,172 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
7
7
  }
8
8
  ];
9
9
  const shortcuts = [
10
- [/^q-markup-table$/, ([, c], { theme }) => `overflow-auto bg-[#fff]`],
10
+ [
11
+ /^q-markup-table$/,
12
+ ([, c], { theme }) => theme.quasar?.components?.['q-markup-table'] ?? `overflow-auto bg-[#fff]`
13
+ ],
11
14
  [
12
15
  /^q-table$/,
13
- ([, c], { theme }) => `w-full max-w-full border-separate [border-spacing:0] [&_thead_tr]:(h-[48px]) [&_tbody_td]:(h-[48px]) [&_th]:(font-medium text-[12px] select-none) [&_th.sortable]:(cursor-pointer) [&_th.sortable:hover_.q-table\\_\\_sort-icon]:(opacity-[0.64]) [&_th.sorted_.q-table\\_\\_sort-icon]:(!opacity-[0.86]) [&_th.sort-desc_.q-table\\_\\_sort-icon]:(rotate-180) [&_th]:(px-[16px] py-[7px] [background-color:inherit]) [&_td]:(px-[16px] py-[7px] [background-color:inherit]) [&_thead]:(border-solid border-0) [&_td]:(border-solid border-0) [&_th]:(border-solid border-0) [&_tbody_td]:(text-[13px]) [&_thead]:(border-[rgba(0,_0,_0,_0.12)]) [&_tr]:(border-[rgba(0,_0,_0,_0.12)]) [&_th]:(border-[rgba(0,_0,_0,_0.12)]) [&_td]:(border-[rgba(0,_0,_0,_0.12)]) [&_tbody_td]:(relative) [&_tbody_td:before]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:after]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:before]:(bg-[rgba(0,_0,_0,_0.03)]) [&_tbody_td:after]:(bg-[rgba(0,_0,_0,_0.06)]) [&_tbody_tr.selected_td:after]:(content-empty) [&_.q-virtual-scroll\\_\\_padding_tr]:(!h-[0]) [&_.q-virtual-scroll\\_\\_padding_td]:(!p-0)
14
- [&_.q-virtual-scroll\\_\\_padding_tr]:(h-0!)
15
- [&_.q-virtual-scroll\\_\\_padding_td]:(p-0!)`
16
+ ([, c], { theme }) => theme.quasar?.components?.['q-table'] ??
17
+ `w-full max-w-full border-separate [border-spacing:0] [&_thead_tr]:(h-[48px]) [&_tbody_td]:(h-[48px]) [&_th]:(font-medium text-[12px] select-none) [&_th.sortable]:(cursor-pointer) [&_th.sortable:hover_.q-table\\_\\_sort-icon]:(opacity-[0.64]) [&_th.sorted_.q-table\\_\\_sort-icon]:(!opacity-[0.86]) [&_th.sort-desc_.q-table\\_\\_sort-icon]:(rotate-180) [&_th]:(px-[16px] py-[7px] [background-color:inherit]) [&_td]:(px-[16px] py-[7px] [background-color:inherit]) [&_thead]:(border-solid border-[0]) [&_td]:(border-solid border-[0]) [&_th]:(border-solid border-[0]) [&_tbody_td]:(text-[13px]) [&_thead]:(border-[rgba(0,_0,_0,_0.12)]) [&_tr]:(border-[rgba(0,_0,_0,_0.12)]) [&_th]:(border-[rgba(0,_0,_0,_0.12)]) [&_td]:(border-[rgba(0,_0,_0,_0.12)]) [&_tbody_td]:(relative) [&_tbody_td:before]:(absolute top-[0] left-[0] right-[0] bottom-[0] pointer-events-none) [&_tbody_td:after]:(absolute top-[0] left-[0] right-[0] bottom-[0] pointer-events-none) [&_tbody_td:before]:(bg-[rgba(0,_0,_0,_0.03)]) [&_tbody_td:after]:(bg-[rgba(0,_0,_0,_0.06)]) [&_tbody_tr.selected_td:after]:(content-['']) [&_.q-virtual-scroll\\_\\_padding_tr]:(!h-[0]) [&_.q-virtual-scroll\\_\\_padding_td]:(!p-0)`
16
18
  ],
17
19
  [
18
20
  /^q-table__card$/,
19
- ([, c], { theme }) => `text-[#000] bg-[#fff] rounded-[4px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] [&_.q-table\\_\\_middle]:(flex-auto) [&_.q-table\\_\\_top]:(flex-[0_0_auto]) [&_.q-table\\_\\_bottom]:(flex-[0_0_auto])`
21
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__card'] ??
22
+ `text-[#000] bg-[#fff] rounded-[4px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] [&_.q-table\\_\\_middle]:(flex-auto) [&_.q-table\\_\\_top]:(flex-[0_0_auto]) [&_.q-table\\_\\_bottom]:(flex-[0_0_auto])`
20
23
  ],
21
24
  [
22
25
  /^q-table__container$/,
23
- ([, c], { theme }) => `relative [&_>_div:first-child]:([border-top-left-radius:inherit] [border-top-right-radius:inherit]) [&_>_div:last-child]:([border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-inner-loading]:([border-radius:inherit!important])`
26
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__container'] ??
27
+ `relative [&_>_div:first-child]:([border-top-left-radius:inherit] [border-top-right-radius:inherit]) [&_>_div:last-child]:([border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-inner-loading]:([border-radius:inherit!important])`
24
28
  ],
25
29
  [
26
30
  /^q-table__top$/,
27
- ([, c], { theme }) => `px-[16px] py-[12px] [&_.q-table\\_\\_control]:(flex-wrap)`
31
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__top'] ??
32
+ `px-[16px] py-[12px] [&_.q-table\\_\\_control]:(flex-wrap)`
28
33
  ],
29
34
  [
30
35
  /^q-table__title$/,
31
- ([, c], { theme }) => `text-[20px] tracking-[0.005em] font-normal`
36
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__title'] ??
37
+ `text-[20px] tracking-[0.005em] font-normal`
38
+ ],
39
+ [
40
+ /^q-table__separator$/,
41
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__separator'] ?? `!min-w-[8px]`
32
42
  ],
33
- [/^q-table__separator$/, ([, c], { theme }) => `!min-w-[8px]`],
34
43
  [
35
44
  /^q-table__progress$/,
36
- ([, c], { theme }) => `!h-[0] [&_th]:(!p-0 !border-0) [&_.q-linear-progress]:(absolute bottom-0)`
45
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__progress'] ??
46
+ `!h-[0] [&_th]:(!p-0 !border-[0]) [&_.q-linear-progress]:(absolute bottom-[0])`
47
+ ],
48
+ [
49
+ /^q-table__middle$/,
50
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__middle'] ?? `max-w-full`
37
51
  ],
38
- [/^q-table__middle$/, ([, c], { theme }) => `max-w-full`],
39
52
  [
40
53
  /^q-table__bottom$/,
41
- ([, c], { theme }) => `min-h-[50px] pl-[16px] pr-[14px] py-[4px] text-[12px] [&_.q-table\\_\\_control]:(min-h-[24px]) [border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
54
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__bottom'] ??
55
+ `min-h-[50px] pl-[16px] pr-[14px] py-[4px] text-[12px] [&_.q-table\\_\\_control]:(min-h-[24px]) [border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
42
56
  ],
43
57
  [
44
58
  /^q-table__bottom-nodata-icon$/,
45
- ([, c], { theme }) => `text-[200%] mr-[8px]`
59
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__bottom-nodata-icon'] ??
60
+ `text-[200%] mr-[8px]`
61
+ ],
62
+ [
63
+ /^q-table__bottom-item$/,
64
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__bottom-item'] ?? `mr-[16px]`
65
+ ],
66
+ [
67
+ /^q-table__control$/,
68
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__control'] ?? `flex items-center`
46
69
  ],
47
- [/^q-table__bottom-item$/, ([, c], { theme }) => `mr-[16px]`],
48
- [/^q-table__control$/, ([, c], { theme }) => `flex items-center`],
49
70
  [
50
71
  /^q-table__sort-icon$/,
51
- ([, c], { theme }) => `[transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)] opacity-0 text-[120%]`
72
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__sort-icon'] ??
73
+ `[transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)] opacity-0 text-[120%]`
74
+ ],
75
+ [
76
+ /^q-table__sort-icon--left$/,
77
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__sort-icon--left'] ?? `ml-[4px]`
78
+ ],
79
+ [
80
+ /^q-table__sort-icon--center$/,
81
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__sort-icon--center'] ?? `ml-[4px]`
82
+ ],
83
+ [
84
+ /^q-table__sort-icon--right$/,
85
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__sort-icon--right'] ?? `mr-[4px]`
86
+ ],
87
+ [
88
+ /^q-table--col-auto-width$/,
89
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--col-auto-width'] ?? `w-px`
52
90
  ],
53
- [/^q-table__sort-icon--left$/, ([, c], { theme }) => `ml-[4px]`],
54
- [/^q-table__sort-icon--center$/, ([, c], { theme }) => `ml-[4px]`],
55
- [/^q-table__sort-icon--right$/, ([, c], { theme }) => `mr-[4px]`],
56
- [/^q-table--col-auto-width$/, ([, c], { theme }) => `w-px`],
57
91
  [
58
92
  /^q-table__card--dark$/,
59
- ([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)]`
93
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__card--dark'] ??
94
+ `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)]`
60
95
  ],
61
96
  [
62
97
  /^q-table--dark$/,
63
- ([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)] [&_.q-table\\_\\_bottom]:(border-[rgba(255,_255,_255,_0.28)]) [&_thead]:(border-[rgba(255,_255,_255,_0.28)]) [&_tr]:(border-[rgba(255,_255,_255,_0.28)]) [&_th]:(border-[rgba(255,_255,_255,_0.28)]) [&_td]:(border-[rgba(255,_255,_255,_0.28)]) [&_tbody_td:before]:(bg-[rgba(255,_255,_255,_0.07)]) [&_tbody_td:after]:(bg-[rgba(255,_255,_255,_0.1)])`
98
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--dark'] ??
99
+ `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)] [&_.q-table\\_\\_bottom]:(border-[rgba(255,_255,_255,_0.28)]) [&_thead]:(border-[rgba(255,_255,_255,_0.28)]) [&_tr]:(border-[rgba(255,_255,_255,_0.28)]) [&_th]:(border-[rgba(255,_255,_255,_0.28)]) [&_td]:(border-[rgba(255,_255,_255,_0.28)]) [&_tbody_td:before]:(bg-[rgba(255,_255,_255,_0.07)]) [&_tbody_td:after]:(bg-[rgba(255,_255,_255,_0.1)]) [&.q-table--vertical-separator_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)]) [&.q-table--cell-separator_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
100
+ ],
101
+ [
102
+ /^q-table--flat$/,
103
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--flat'] ?? `[box-shadow:none]`
64
104
  ],
65
- [/^q-table--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
66
105
  [
67
106
  /^q-table--bordered$/,
68
- ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
107
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--bordered'] ??
108
+ `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
109
+ ],
110
+ [
111
+ /^q-table--square$/,
112
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--square'] ?? `rounded-none`
113
+ ],
114
+ [
115
+ /^q-table__linear-progress$/,
116
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__linear-progress'] ?? `h-[2px]`
69
117
  ],
70
- [/^q-table--square$/, ([, c], { theme }) => `rounded-none`],
71
- [/^q-table__linear-progress$/, ([, c], { theme }) => `h-[2px]`],
72
118
  [
73
119
  /^q-table--no-wrap$/,
74
- ([, c], { theme }) => `[&_th]:(whitespace-nowrap) [&_td]:(whitespace-nowrap)`
120
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--no-wrap'] ??
121
+ `[&_th]:(whitespace-nowrap) [&_td]:(whitespace-nowrap)`
75
122
  ],
76
123
  [
77
124
  /^q-table--grid$/,
78
- ([, c], { theme }) => `[box-shadow:none] rounded-[4px] [&_.q-table\\_\\_top]:(pb-[4px]) [&_.q-table\\_\\_middle]:(min-h-[2px] mb-[4px]) [&_.q-table\\_\\_middle_thead]:(!border-0) [&_.q-table\\_\\_middle_thead_th]:(!border-0) [&_.q-table\\_\\_linear-progress]:(bottom-0) [&_.q-table\\_\\_bottom]:([border-top:0]) [&_.q-table\\_\\_grid-content]:(flex-auto)`
125
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--grid'] ??
126
+ `[box-shadow:none] rounded-[4px] [&_.q-table\\_\\_top]:(pb-[4px]) [&_.q-table\\_\\_middle]:(min-h-[2px] mb-[4px]) [&_.q-table\\_\\_middle_thead]:(!border-[0]) [&_.q-table\\_\\_middle_thead_th]:(!border-[0]) [&_.q-table\\_\\_linear-progress]:(bottom-[0]) [&_.q-table\\_\\_bottom]:([border-top:0]) [&_.q-table\\_\\_grid-content]:(flex-auto) [&.fullscreen]:([background:inherit])`
79
127
  ],
80
- [/^q-table--grid.fullscreen$/, ([, c], { theme }) => `[background:inherit]`],
81
128
  [
82
129
  /^q-table__grid-item-card$/,
83
- ([, c], { theme }) => `align-top p-[12px] [&_.q-separator]:(mx-[0] my-[12px])`
130
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item-card'] ??
131
+ `align-top p-[12px] [&_.q-separator]:(mx-[0] my-[12px])`
84
132
  ],
85
133
  [
86
134
  /^q-table__grid-item-row$/,
87
- ([, c], { theme }) => `[&_+_.q-table\\_\\_grid-item-row]:(mt-[8px])`
135
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item-row'] ??
136
+ `[&_+_.q-table\\_\\_grid-item-row]:(mt-[8px])`
88
137
  ],
89
138
  [
90
139
  /^q-table__grid-item-title$/,
91
- ([, c], { theme }) => `opacity-[0.54] font-medium text-[12px]`
140
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item-title'] ??
141
+ `opacity-[0.54] font-medium text-[12px]`
92
142
  ],
93
- [/^q-table__grid-item-value$/, ([, c], { theme }) => `text-[13px]`],
94
143
  [
95
- /^q-table__grid-item$/,
96
- ([, c], { theme }) => `p-[4px] [transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]`
144
+ /^q-table__grid-item-value$/,
145
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item-value'] ?? `text-[13px]`
97
146
  ],
98
- [/^q-table__grid-item--selected$/, ([, c], { theme }) => `scale-[0.95]`],
99
147
  [
100
- /^q-table--horizontal-separator$/,
101
- ([, c], { theme }) => `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b)`
148
+ /^q-table__grid-item$/,
149
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item'] ??
150
+ `p-[4px] [transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]`
102
151
  ],
103
152
  [
104
- /^q-table--cell-separator$/,
105
- ([, c], { theme }) => `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b) [&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
153
+ /^q-table__grid-item--selected$/,
154
+ ([, c], { theme }) => theme.quasar?.components?.['q-table__grid-item--selected'] ??
155
+ `scale-[0.95]`
106
156
  ],
107
157
  [
108
- /^q-table--vertical-separator$/,
109
- ([, c], { theme }) => `[&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
158
+ /^q-table--horizontal-separator$/,
159
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--horizontal-separator'] ??
160
+ `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b)`
110
161
  ],
111
162
  [
112
- /^q-table--vertical-separator.q-table--loading$/,
113
- ([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
163
+ /^q-table--cell-separator$/,
164
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--cell-separator'] ??
165
+ `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b) [&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&.q-table--loading_tr:nth-last-child(2)_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
114
166
  ],
115
167
  [
116
- /^q-table--cell-separator.q-table--loading$/,
117
- ([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
168
+ /^q-table--vertical-separator$/,
169
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--vertical-separator'] ??
170
+ `[&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&.q-table--loading_tr:nth-last-child(2)_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
118
171
  ],
119
172
  [
120
173
  /^q-table--dense$/,
121
- ([, c], { theme }) => `[&_.q-table\\_\\_top]:(px-[16px] py-[6px]) [&_.q-table\\_\\_bottom]:(min-h-[33px]) [&_.q-table\\_\\_sort-icon]:(text-[110%]) [&_.q-table_th]:(px-[8px] py-[4px]) [&_.q-table_td]:(px-[8px] py-[4px]) [&_.q-table_thead_tr]:(h-[28px]) [&_.q-table_tbody_tr]:(h-[28px]) [&_.q-table_tbody_td]:(h-[28px]) [&_.q-table_th:first-child]:(pl-[16px]) [&_.q-table_td:first-child]:(pl-[16px]) [&_.q-table_th:last-child]:(pr-[16px]) [&_.q-table_td:last-child]:(pr-[16px]) [&_.q-table\\_\\_bottom-item]:(mr-[8px]) [&_.q-table\\_\\_select_.q-field\\_\\_control]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_native]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_marginal]:(h-[24px])`
122
- ],
123
- [
124
- /^q-table--dark.q-table--vertical-separator$/,
125
- ([, c], { theme }) => `[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
126
- ],
127
- [
128
- /^q-table--dark.q-table--cell-separator$/,
129
- ([, c], { theme }) => `[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
174
+ ([, c], { theme }) => theme.quasar?.components?.['q-table--dense'] ??
175
+ `[&_.q-table\\_\\_top]:(px-[16px] py-[6px]) [&_.q-table\\_\\_bottom]:(min-h-[33px]) [&_.q-table\\_\\_sort-icon]:(text-[110%]) [&_.q-table_th]:(px-[8px] py-[4px]) [&_.q-table_td]:(px-[8px] py-[4px]) [&_.q-table_thead_tr]:(h-[28px]) [&_.q-table_tbody_tr]:(h-[28px]) [&_.q-table_tbody_td]:(h-[28px]) [&_.q-table_th:first-child]:(pl-[16px]) [&_.q-table_td:first-child]:(pl-[16px]) [&_.q-table_th:last-child]:(pr-[16px]) [&_.q-table_td:last-child]:(pr-[16px]) [&_.q-table\\_\\_bottom-item]:(mr-[8px]) [&_.q-table\\_\\_select_.q-field\\_\\_control]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_native]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_marginal]:(h-[24px])`
130
176
  ]
131
177
  ];
132
178
  export { preflights, shortcuts };
@@ -1,96 +1,119 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-tab$/,
4
- ([, c], { theme }) => `px-[16px] py-[0] min-h-[48px] [transition:color_0.3s,_background-color_0.3s] uppercase whitespace-nowrap [color:inherit] no-underline [&_.q-badge]:(top-[3px] -right-[12px])`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab'] ??
5
+ `px-[16px] py-[0] min-h-[48px] [transition:color_0.3s,_background-color_0.3s] uppercase whitespace-nowrap [color:inherit] no-underline [&_.q-badge]:(top-[3px] -right-[12px])`
6
+ ],
7
+ [
8
+ /^q-tab--full$/,
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab--full'] ?? `min-h-[72px]`
10
+ ],
11
+ [
12
+ /^q-tab--no-caps$/,
13
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab--no-caps'] ?? `normal-case`
5
14
  ],
6
- [/^q-tab--full$/, ([, c], { theme }) => `min-h-[72px]`],
7
- [/^q-tab--no-caps$/, ([, c], { theme }) => `normal-case`],
8
15
  [
9
16
  /^q-tab__content$/,
10
- ([, c], { theme }) => `[height:inherit] px-[0] py-[4px] min-w-[40px] [&_.q-chip--floating]:(top-0 -right-[16px])`
17
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__content'] ??
18
+ `[height:inherit] px-[0] py-[4px] min-w-[40px] [&_.q-chip--floating]:(top-[0] -right-[16px])`
11
19
  ],
12
20
  [
13
21
  /^q-tab__content--inline$/,
14
- ([, c], { theme }) => `[&_.q-tab\\_\\_icon_+_.q-tab\\_\\_label]:(pl-[8px])`
22
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__content--inline'] ??
23
+ `[&_.q-tab\\_\\_icon_+_.q-tab\\_\\_label]:(pl-[8px])`
24
+ ],
25
+ [
26
+ /^q-tab__icon$/,
27
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__icon'] ??
28
+ `w-[24px] h-[24px] text-[24px]`
15
29
  ],
16
- [/^q-tab__icon$/, ([, c], { theme }) => `w-[24px] h-[24px] text-[24px]`],
17
30
  [
18
31
  /^q-tab__label$/,
19
- ([, c], { theme }) => `text-[14px] leading-[1.715em] font-medium`
32
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__label'] ??
33
+ `text-[14px] leading-[1.715em] font-medium`
20
34
  ],
21
35
  [
22
36
  /^q-tab__alert$/,
23
- ([, c], { theme }) => `absolute top-[7px] -right-[9px] h-[10px] w-[10px] rounded-[50%] bg-current`
37
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__alert'] ??
38
+ `absolute top-[7px] -right-[9px] h-[10px] w-[10px] rounded-[50%] bg-current`
24
39
  ],
25
40
  [
26
41
  /^q-tab__alert-icon$/,
27
- ([, c], { theme }) => `absolute top-[2px] -right-[12px] text-[18px]`
42
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__alert-icon'] ??
43
+ `absolute top-[2px] -right-[12px] text-[18px]`
28
44
  ],
29
- [/^q-tab__indicator$/, ([, c], { theme }) => `opacity-0 h-[2px] bg-current`],
30
45
  [
31
- /^q-tab--active$/,
32
- ([, c], { theme }) => `[&_.q-tab\\_\\_indicator]:(opacity-100 origin-left)`
46
+ /^q-tab__indicator$/,
47
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab__indicator'] ??
48
+ `opacity-0 h-[2px] bg-current`
33
49
  ],
34
- [/^q-tab--inactive$/, ([, c], { theme }) => `opacity-[0.85]`],
35
50
  [
36
- /^q-tabs$/,
37
- ([, c], { theme }) => `relative [transition:color_0.3s,_background-color_0.3s]`
51
+ /^q-tab--active$/,
52
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab--active'] ??
53
+ `[&_.q-tab\\_\\_indicator]:(opacity-100 origin-left)`
38
54
  ],
39
55
  [
40
- /^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--horizontal$/,
41
- ([, c], { theme }) => `pl-[36px] pr-[36px]`
56
+ /^q-tab--inactive$/,
57
+ ([, c], { theme }) => theme.quasar?.components?.['q-tab--inactive'] ?? `opacity-[0.85]`
42
58
  ],
43
59
  [
44
- /^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--vertical$/,
45
- ([, c], { theme }) => `pt-[36px] pb-[36px]`
60
+ /^q-tabs$/,
61
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs'] ??
62
+ `relative [transition:color_0.3s,_background-color_0.3s]`
46
63
  ],
47
64
  [
48
- /^q-tabs--scrollable.q-tabs__arrows--outside$/,
49
- ([, c], { theme }) => `[&_.q-tabs\\_\\_arrow--faded]:(opacity-30 pointer-events-none)`
65
+ /^q-tabs--scrollable$/,
66
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs--scrollable'] ??
67
+ `[&.q-tabs__arrows--outside.q-tabs--horizontal]:(pl-[36px] pr-[36px]) [&.q-tabs__arrows--outside.q-tabs--vertical]:(pt-[36px] pb-[36px]) [&.q-tabs__arrows--outside_.q-tabs\\_\\_arrow--faded]:(opacity-30 pointer-events-none) [&.q-tabs__arrows--inside_.q-tabs\\_\\_arrow--faded]:(hidden)`
50
68
  ],
51
69
  [
52
- /^q-tabs--scrollable.q-tabs__arrows--inside$/,
53
- ([, c], { theme }) => `[&_.q-tabs\\_\\_arrow--faded]:(hidden)`
70
+ /^q-tabs--not-scrollable$/,
71
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs--not-scrollable'] ??
72
+ `[&.q-tabs__arrows--outside]:(pl-0 pr-0) [&_.q-tabs\\_\\_arrow]:(hidden) [&_.q-tabs\\_\\_content]:([border-radius:inherit])`
54
73
  ],
55
74
  [
56
- /^q-tabs--not-scrollable.q-tabs__arrows--outside$/,
57
- ([, c], { theme }) => `pl-0 pr-0`
75
+ /^q-tabs__arrow$/,
76
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__arrow'] ??
77
+ `cursor-pointer text-[32px] min-w-[36px] [text-shadow:0_0_3px_#fff,_0_0_1px_#fff,_0_0_1px_#000] [transition:opacity_0.3s]`
58
78
  ],
59
79
  [
60
- /^q-tabs--not-scrollable$/,
61
- ([, c], { theme }) => `[&_.q-tabs\\_\\_arrow]:(hidden) [&_.q-tabs\\_\\_content]:([border-radius:inherit])`
80
+ /^q-tabs__content$/,
81
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__content'] ??
82
+ `overflow-hidden flex-auto`
62
83
  ],
63
84
  [
64
- /^q-tabs__arrow$/,
65
- ([, c], { theme }) => `cursor-pointer text-[32px] min-w-[36px] [text-shadow:0_0_3px_#fff,_0_0_1px_#fff,_0_0_1px_#000] [transition:opacity_0.3s]`
85
+ /^q-tabs__content--align-center$/,
86
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__content--align-center'] ??
87
+ `justify-center`
66
88
  ],
67
- [/^q-tabs__content$/, ([, c], { theme }) => `overflow-hidden flex-auto`],
68
- [/^q-tabs__content--align-center$/, ([, c], { theme }) => `justify-center`],
69
- [/^q-tabs__content--align-right$/, ([, c], { theme }) => `justify-end`],
70
89
  [
71
- /^q-tabs__content--align-justify$/,
72
- ([, c], { theme }) => `[&_.q-tab]:(flex-auto)`
90
+ /^q-tabs__content--align-right$/,
91
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__content--align-right'] ??
92
+ `justify-end`
73
93
  ],
74
- [/^q-tabs__offset$/, ([, c], { theme }) => `hidden`],
75
94
  [
76
- /^q-tabs--horizontal$/,
77
- ([, c], { theme }) => `[&_.q-tabs\\_\\_arrow]:(h-full) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 bottom-0) [&_.q-tabs\\_\\_arrow--right]:(top-0 right-0 bottom-0)`
95
+ /^q-tabs__content--align-justify$/,
96
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__content--align-justify'] ??
97
+ `[&_.q-tab]:(flex-auto)`
78
98
  ],
79
99
  [
80
- /^q-tabs--vertical$/,
81
- ([, c], { theme }) => `!block h-full [&_.q-tabs\\_\\_content]:(!block h-full) [&_.q-tabs\\_\\_arrow]:(w-full h-[36px] text-center) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 right-0) [&_.q-tabs\\_\\_arrow--right]:(left-0 right-0 bottom-0) [&_.q-tab]:(px-[8px] py-[0]) [&_.q-tab\\_\\_indicator]:(h-[unset] w-[2px])`
100
+ /^q-tabs__offset$/,
101
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs__offset'] ?? `hidden`
82
102
  ],
83
103
  [
84
- /^q-tabs--vertical.q-tabs--not-scrollable$/,
85
- ([, c], { theme }) => `[&_.q-tabs\\_\\_content]:(h-full)`
104
+ /^q-tabs--horizontal$/,
105
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs--horizontal'] ??
106
+ `[&_.q-tabs\\_\\_arrow]:(h-full) [&_.q-tabs\\_\\_arrow--left]:(top-[0] left-[0] bottom-[0]) [&_.q-tabs\\_\\_arrow--right]:(top-[0] right-[0] bottom-[0])`
86
107
  ],
87
108
  [
88
- /^q-tabs--vertical.q-tabs--dense$/,
89
- ([, c], { theme }) => `[&_.q-tab\\_\\_content]:(min-w-[24px])`
109
+ /^q-tabs--vertical$/,
110
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs--vertical'] ??
111
+ `!block h-full [&_.q-tabs\\_\\_content]:(!block h-full) [&_.q-tabs\\_\\_arrow]:(w-full h-[36px] text-center) [&_.q-tabs\\_\\_arrow--left]:(top-[0] left-[0] right-[0]) [&_.q-tabs\\_\\_arrow--right]:(left-[0] right-[0] bottom-[0]) [&_.q-tab]:(px-[8px] py-[0]) [&_.q-tab\\_\\_indicator]:(h-[unset] w-[2px]) [&.q-tabs--not-scrollable_.q-tabs\\_\\_content]:(h-full) [&.q-tabs--dense_.q-tab\\_\\_content]:(min-w-[24px])`
90
112
  ],
91
113
  [
92
114
  /^q-tabs--dense$/,
93
- ([, c], { theme }) => `[&_.q-tab]:(min-h-[36px]) [&_.q-tab--full]:(min-h-[52px])`
115
+ ([, c], { theme }) => theme.quasar?.components?.['q-tabs--dense'] ??
116
+ `[&_.q-tab]:(min-h-[36px]) [&_.q-tab--full]:(min-h-[52px])`
94
117
  ]
95
118
  ];
96
119
  export { shortcuts };