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.
- package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +26 -13
- package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +38 -19
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +25 -47
- package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +46 -102
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +24 -12
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +28 -25
- package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +46 -23
- package/dist/plugins/quasar/unocss/components/QField.unocss.js +60 -30
- package/dist/plugins/quasar/unocss/components/QFile.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +12 -6
- package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QInput.unocss.js +4 -18
- package/dist/plugins/quasar/unocss/components/QItem.unocss.js +32 -16
- package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +5 -6
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +23 -12
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +29 -15
- package/dist/plugins/quasar/unocss/components/QRating.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +9 -5
- package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +67 -42
- package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +70 -35
- package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +18 -16
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +54 -38
- package/dist/plugins/quasar/unocss/components/QTable.unocss.js +101 -55
- package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +67 -44
- package/dist/plugins/quasar/unocss/components/QTime.unocss.js +167 -65
- package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +41 -30
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +23 -18
- package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTree.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +37 -25
- package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +59 -56
- package/dist/plugins/quasar/unocss/index.js +147 -7
- package/dist/plugins/quasar/unocss/theme.js +300 -426
- package/dist/types/plugins/quasar/unocss/index.d.ts +2 -0
- package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
- package/dist/types/plugins/quasar.d.ts +6 -8
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
- package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
- package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
- package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
- package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
- package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
- package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
- package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
- package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
- package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
- package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
- package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
- package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
- package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
- package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
- package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
- package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
- package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
- package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
- package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
- package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
- package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
- package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
- package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
- package/src/node/plugins/quasar/unocss/index.ts +150 -7
- package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
- 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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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 }) =>
|
|
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-
|
|
83
|
-
([, c], { theme }) =>
|
|
95
|
+
/^q-stepper__nav$/,
|
|
96
|
+
([, c], { theme }) => theme.quasar?.components?.['q-stepper__nav'] ?? `pt-[24px]`
|
|
84
97
|
],
|
|
85
98
|
[
|
|
86
|
-
/^q-stepper--
|
|
87
|
-
([, c], { theme }) =>
|
|
99
|
+
/^q-stepper--flat$/,
|
|
100
|
+
([, c], { theme }) => theme.quasar?.components?.['q-stepper--flat'] ?? `[box-shadow:none]`
|
|
88
101
|
],
|
|
89
102
|
[
|
|
90
|
-
/^q-stepper--
|
|
91
|
-
([, c], { theme }) =>
|
|
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--
|
|
95
|
-
([, c], { theme }) =>
|
|
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--
|
|
99
|
-
([, c], { theme }) =>
|
|
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
|
-
[
|
|
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 }) =>
|
|
14
|
-
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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-
|
|
101
|
-
([, c], { theme }) =>
|
|
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-
|
|
105
|
-
([, c], { theme }) =>
|
|
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--
|
|
109
|
-
([, c], { theme }) =>
|
|
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--
|
|
113
|
-
([, c], { theme }) =>
|
|
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--
|
|
117
|
-
([, c], { theme }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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 }) =>
|
|
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-
|
|
32
|
-
([, c], { theme }) =>
|
|
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-
|
|
37
|
-
([, c], { theme }) =>
|
|
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-
|
|
41
|
-
([, c], { theme }) =>
|
|
56
|
+
/^q-tab--inactive$/,
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-tab--inactive'] ?? `opacity-[0.85]`
|
|
42
58
|
],
|
|
43
59
|
[
|
|
44
|
-
/^q-tabs
|
|
45
|
-
([, c], { theme }) =>
|
|
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
|
|
49
|
-
([, c], { theme }) =>
|
|
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
|
|
53
|
-
([, c], { theme }) =>
|
|
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-
|
|
57
|
-
([, c], { theme }) =>
|
|
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-
|
|
61
|
-
([, c], { theme }) =>
|
|
80
|
+
/^q-tabs__content$/,
|
|
81
|
+
([, c], { theme }) => theme.quasar?.components?.['q-tabs__content'] ??
|
|
82
|
+
`overflow-hidden flex-auto`
|
|
62
83
|
],
|
|
63
84
|
[
|
|
64
|
-
/^q-
|
|
65
|
-
([, c], { theme }) =>
|
|
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-
|
|
72
|
-
([, c], { theme }) =>
|
|
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-
|
|
77
|
-
([, c], { theme }) =>
|
|
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-
|
|
81
|
-
([, c], { theme }) =>
|
|
100
|
+
/^q-tabs__offset$/,
|
|
101
|
+
([, c], { theme }) => theme.quasar?.components?.['q-tabs__offset'] ?? `hidden`
|
|
82
102
|
],
|
|
83
103
|
[
|
|
84
|
-
/^q-tabs--
|
|
85
|
-
([, c], { theme }) =>
|
|
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
|
|
89
|
-
([, c], { theme }) =>
|
|
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 }) =>
|
|
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 };
|