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,123 +1,225 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-time$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time'] ??
|
|
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] outline-[0] w-[290px] min-w-[290px] max-w-full [&.disabled_.q-time\\_\\_header-ampm]:(pointer-events-none) [&.disabled_.q-time\\_\\_content]:(pointer-events-none)`
|
|
5
6
|
],
|
|
6
7
|
[
|
|
7
8
|
/^q-time--bordered$/,
|
|
8
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time--bordered'] ??
|
|
10
|
+
`border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
9
11
|
],
|
|
10
12
|
[
|
|
11
13
|
/^q-time__header$/,
|
|
12
|
-
([, c], { theme }) =>
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__header'] ??
|
|
15
|
+
`[border-top-left-radius:inherit] text-[#fff] p-[16px] font-light`
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
/^q-time__actions$/,
|
|
19
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__actions'] ??
|
|
20
|
+
`pt-[0] px-[16px] pb-[16px]`
|
|
13
21
|
],
|
|
14
|
-
[/^q-time__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
|
|
15
22
|
[
|
|
16
23
|
/^q-time__header-label$/,
|
|
17
|
-
([, c], { theme }) =>
|
|
24
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__header-label'] ??
|
|
25
|
+
`text-[28px] leading-none tracking-[-0.00833em] [&_>_div_+_div]:(ml-[4px])`
|
|
18
26
|
],
|
|
19
27
|
[
|
|
20
28
|
/^q-time__link$/,
|
|
21
|
-
([, c], { theme }) =>
|
|
29
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__link'] ??
|
|
30
|
+
`opacity-[0.56] outline-[0] [transition:opacity_0.3s_ease-out] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
/^q-time__link--active$/,
|
|
34
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__link--active'] ?? `opacity-100`
|
|
22
35
|
],
|
|
23
|
-
[/^q-time__link--active$/, ([, c], { theme }) => `opacity-100`],
|
|
24
|
-
[/^q-time__link:hover$/, ([, c], { theme }) => `hover:opacity-100`],
|
|
25
|
-
[/^q-time__link:focus$/, ([, c], { theme }) => `focus:opacity-100`],
|
|
26
36
|
[
|
|
27
37
|
/^q-time__header-ampm$/,
|
|
28
|
-
([, c], { theme }) =>
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__header-ampm'] ??
|
|
39
|
+
`text-[16px] tracking-widest`
|
|
29
40
|
],
|
|
30
|
-
[/^q-time__content$/, ([, c], { theme }) => `p-[16px]`],
|
|
31
41
|
[
|
|
32
|
-
/^q-time__content
|
|
33
|
-
([, c], { theme }) =>
|
|
42
|
+
/^q-time__content$/,
|
|
43
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__content'] ??
|
|
44
|
+
`p-[16px] [&:before]:(content-[''] block pb-[100%])`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
/^q-time__container-parent$/,
|
|
48
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__container-parent'] ?? `p-[16px]`
|
|
34
49
|
],
|
|
35
|
-
[/^q-time__container-parent$/, ([, c], { theme }) => `p-[16px]`],
|
|
36
50
|
[
|
|
37
51
|
/^q-time__container-child$/,
|
|
38
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__container-child'] ??
|
|
53
|
+
`rounded-[50%] bg-[rgba(0,_0,_0,_0.12)]`
|
|
39
54
|
],
|
|
40
55
|
[
|
|
41
56
|
/^q-time__clock$/,
|
|
42
|
-
([, c], { theme }) =>
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock'] ??
|
|
58
|
+
`p-[24px] w-full h-full max-w-full max-h-full text-[14px]`
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
/^q-time__clock-circle$/,
|
|
62
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-circle'] ?? `relative`
|
|
43
63
|
],
|
|
44
|
-
[/^q-time__clock-circle$/, ([, c], { theme }) => `relative`],
|
|
45
64
|
[
|
|
46
65
|
/^q-time__clock-center$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
66
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-center'] ??
|
|
67
|
+
`h-[6px] w-[6px] m-auto rounded-[50%] min-h-[0] bg-current`
|
|
48
68
|
],
|
|
49
69
|
[
|
|
50
70
|
/^q-time__clock-pointer$/,
|
|
51
|
-
([, c], { theme }) =>
|
|
71
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pointer'] ??
|
|
72
|
+
`w-[2px] h-1/2 origin-[0_0] min-h-[0] absolute left-2/4 right-[0] bottom-[0] bg-current -translate-x-1/2 [&:before]:(content-[''] absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2) [&:after]:(content-[''] absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2) [&:before]:(-bottom-[4px] w-[8px] h-[8px]) [&:after]:(-top-[3px] h-[6px] w-[6px])`
|
|
52
73
|
],
|
|
53
74
|
[
|
|
54
|
-
/^q-time__clock-
|
|
55
|
-
([, c], { theme }) =>
|
|
75
|
+
/^q-time__clock-position$/,
|
|
76
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position'] ??
|
|
77
|
+
`absolute min-h-[32px] w-[32px] h-[32px] text-[12px] leading-[32px] m-0 p-0 -translate-x-1/2 -translate-y-1/2 rounded-[50%]`
|
|
56
78
|
],
|
|
57
79
|
[
|
|
58
|
-
/^q-time__clock-
|
|
59
|
-
([, c], { theme }) =>
|
|
80
|
+
/^q-time__clock-position--disable$/,
|
|
81
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position--disable'] ??
|
|
82
|
+
`opacity-40`
|
|
60
83
|
],
|
|
61
84
|
[
|
|
62
|
-
/^q-time__clock-position$/,
|
|
63
|
-
([, c], { theme }) =>
|
|
85
|
+
/^q-time__clock-position--active$/,
|
|
86
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position--active'] ??
|
|
87
|
+
`text-[#fff]`
|
|
64
88
|
],
|
|
65
|
-
[/^q-time__clock-position--disable$/, ([, c], { theme }) => `opacity-40`],
|
|
66
89
|
[
|
|
67
|
-
/^q-time__clock-
|
|
68
|
-
([, c], { theme }) => `
|
|
69
|
-
],
|
|
70
|
-
[/^q-time__clock-pos-0$/, ([, c], { theme }) => `top-[0%] left-2/4`],
|
|
71
|
-
[/^q-time__clock-pos-1$/, ([, c], { theme }) => `top-[6.7%] left-3/4`],
|
|
72
|
-
[/^q-time__clock-pos-2$/, ([, c], { theme }) => `top-1/4 left-[93.3%]`],
|
|
73
|
-
[/^q-time__clock-pos-3$/, ([, c], { theme }) => `top-2/4 left-full`],
|
|
74
|
-
[/^q-time__clock-pos-4$/, ([, c], { theme }) => `top-3/4 left-[93.3%]`],
|
|
75
|
-
[/^q-time__clock-pos-5$/, ([, c], { theme }) => `top-[93.3%] left-3/4`],
|
|
76
|
-
[/^q-time__clock-pos-6$/, ([, c], { theme }) => `top-full left-2/4`],
|
|
77
|
-
[/^q-time__clock-pos-7$/, ([, c], { theme }) => `top-[93.3%] left-1/4`],
|
|
78
|
-
[/^q-time__clock-pos-8$/, ([, c], { theme }) => `top-3/4 left-[6.7%]`],
|
|
79
|
-
[/^q-time__clock-pos-9$/, ([, c], { theme }) => `top-2/4 left-[0%]`],
|
|
80
|
-
[/^q-time__clock-pos-10$/, ([, c], { theme }) => `top-1/4 left-[6.7%]`],
|
|
81
|
-
[/^q-time__clock-pos-11$/, ([, c], { theme }) => `top-[6.7%] left-1/4`],
|
|
82
|
-
[/^q-time__clock-pos-12$/, ([, c], { theme }) => `top-[15%] left-2/4`],
|
|
83
|
-
[/^q-time__clock-pos-13$/, ([, c], { theme }) => `top-[19.69%] left-[67.5%]`],
|
|
84
|
-
[/^q-time__clock-pos-14$/, ([, c], { theme }) => `top-[32.5%] left-[80.31%]`],
|
|
85
|
-
[/^q-time__clock-pos-15$/, ([, c], { theme }) => `top-2/4 left-[85%]`],
|
|
86
|
-
[/^q-time__clock-pos-16$/, ([, c], { theme }) => `top-[67.5%] left-[80.31%]`],
|
|
87
|
-
[/^q-time__clock-pos-17$/, ([, c], { theme }) => `top-[80.31%] left-[67.5%]`],
|
|
88
|
-
[/^q-time__clock-pos-18$/, ([, c], { theme }) => `top-[85%] left-2/4`],
|
|
89
|
-
[/^q-time__clock-pos-19$/, ([, c], { theme }) => `top-[80.31%] left-[32.5%]`],
|
|
90
|
-
[/^q-time__clock-pos-20$/, ([, c], { theme }) => `top-[67.5%] left-[19.69%]`],
|
|
91
|
-
[/^q-time__clock-pos-21$/, ([, c], { theme }) => `top-2/4 left-[15%]`],
|
|
92
|
-
[/^q-time__clock-pos-22$/, ([, c], { theme }) => `top-[32.5%] left-[19.69%]`],
|
|
93
|
-
[/^q-time__clock-pos-23$/, ([, c], { theme }) => `top-[19.69%] left-[32.5%]`],
|
|
90
|
+
/^q-time__clock-pos-0$/,
|
|
91
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-0'] ?? `top-[0%] left-2/4`
|
|
92
|
+
],
|
|
94
93
|
[
|
|
95
|
-
/^q-
|
|
96
|
-
([, c], { theme }) =>
|
|
94
|
+
/^q-time__clock-pos-1$/,
|
|
95
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-1'] ?? `top-[6.7%] left-3/4`
|
|
97
96
|
],
|
|
98
97
|
[
|
|
99
|
-
/^q-
|
|
100
|
-
([, c], { theme }) =>
|
|
98
|
+
/^q-time__clock-pos-2$/,
|
|
99
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-2'] ??
|
|
100
|
+
`top-1/4 left-[93.3%]`
|
|
101
101
|
],
|
|
102
102
|
[
|
|
103
|
-
/^q-
|
|
104
|
-
([, c], { theme }) =>
|
|
103
|
+
/^q-time__clock-pos-3$/,
|
|
104
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-3'] ?? `top-2/4 left-full`
|
|
105
105
|
],
|
|
106
106
|
[
|
|
107
|
-
/^q-
|
|
108
|
-
([, c], { theme }) =>
|
|
107
|
+
/^q-time__clock-pos-4$/,
|
|
108
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-4'] ??
|
|
109
|
+
`top-3/4 left-[93.3%]`
|
|
109
110
|
],
|
|
110
111
|
[
|
|
111
|
-
/^q-
|
|
112
|
-
([, c], { theme }) =>
|
|
112
|
+
/^q-time__clock-pos-5$/,
|
|
113
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-5'] ??
|
|
114
|
+
`top-[93.3%] left-3/4`
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
/^q-time__clock-pos-6$/,
|
|
118
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-6'] ?? `top-full left-2/4`
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
/^q-time__clock-pos-7$/,
|
|
122
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-7'] ??
|
|
123
|
+
`top-[93.3%] left-1/4`
|
|
124
|
+
],
|
|
125
|
+
[
|
|
126
|
+
/^q-time__clock-pos-8$/,
|
|
127
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-8'] ?? `top-3/4 left-[6.7%]`
|
|
128
|
+
],
|
|
129
|
+
[
|
|
130
|
+
/^q-time__clock-pos-9$/,
|
|
131
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-9'] ?? `top-2/4 left-[0%]`
|
|
132
|
+
],
|
|
133
|
+
[
|
|
134
|
+
/^q-time__clock-pos-10$/,
|
|
135
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-10'] ??
|
|
136
|
+
`top-1/4 left-[6.7%]`
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
/^q-time__clock-pos-11$/,
|
|
140
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-11'] ??
|
|
141
|
+
`top-[6.7%] left-1/4`
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
/^q-time__clock-pos-12$/,
|
|
145
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-12'] ?? `top-[15%] left-2/4`
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
/^q-time__clock-pos-13$/,
|
|
149
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-13'] ??
|
|
150
|
+
`top-[19.69%] left-[67.5%]`
|
|
151
|
+
],
|
|
152
|
+
[
|
|
153
|
+
/^q-time__clock-pos-14$/,
|
|
154
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-14'] ??
|
|
155
|
+
`top-[32.5%] left-[80.31%]`
|
|
156
|
+
],
|
|
157
|
+
[
|
|
158
|
+
/^q-time__clock-pos-15$/,
|
|
159
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-15'] ?? `top-2/4 left-[85%]`
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
/^q-time__clock-pos-16$/,
|
|
163
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-16'] ??
|
|
164
|
+
`top-[67.5%] left-[80.31%]`
|
|
165
|
+
],
|
|
166
|
+
[
|
|
167
|
+
/^q-time__clock-pos-17$/,
|
|
168
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-17'] ??
|
|
169
|
+
`top-[80.31%] left-[67.5%]`
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
/^q-time__clock-pos-18$/,
|
|
173
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-18'] ?? `top-[85%] left-2/4`
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
/^q-time__clock-pos-19$/,
|
|
177
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-19'] ??
|
|
178
|
+
`top-[80.31%] left-[32.5%]`
|
|
179
|
+
],
|
|
180
|
+
[
|
|
181
|
+
/^q-time__clock-pos-20$/,
|
|
182
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-20'] ??
|
|
183
|
+
`top-[67.5%] left-[19.69%]`
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
/^q-time__clock-pos-21$/,
|
|
187
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-21'] ?? `top-2/4 left-[15%]`
|
|
188
|
+
],
|
|
189
|
+
[
|
|
190
|
+
/^q-time__clock-pos-22$/,
|
|
191
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-22'] ??
|
|
192
|
+
`top-[32.5%] left-[19.69%]`
|
|
193
|
+
],
|
|
194
|
+
[
|
|
195
|
+
/^q-time__clock-pos-23$/,
|
|
196
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-23'] ??
|
|
197
|
+
`top-[19.69%] left-[32.5%]`
|
|
198
|
+
],
|
|
199
|
+
[
|
|
200
|
+
/^q-time__now-button$/,
|
|
201
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time__now-button'] ??
|
|
202
|
+
`text-[#fff] top-[12px] right-[12px]`
|
|
203
|
+
],
|
|
204
|
+
[
|
|
205
|
+
/^q-time--readonly$/,
|
|
206
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time--readonly'] ??
|
|
207
|
+
`[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
|
|
208
|
+
],
|
|
209
|
+
[
|
|
210
|
+
/^q-time--portrait$/,
|
|
211
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time--portrait'] ??
|
|
212
|
+
`inline-flex flex-col [&_.q-time\\_\\_header]:([border-top-right-radius:inherit] min-h-[86px]) [&_.q-time\\_\\_header-ampm]:(ml-[12px]) [&.q-time--bordered_.q-time\\_\\_content]:(mx-[0] my-px)`
|
|
113
213
|
],
|
|
114
214
|
[
|
|
115
215
|
/^q-time--landscape$/,
|
|
116
|
-
([, c], { theme }) =>
|
|
216
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time--landscape'] ??
|
|
217
|
+
`inline-flex items-stretch min-w-[420px] [&_>_div]:(flex flex-col justify-center) [&_.q-time\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[156px]) [&_.q-time\\_\\_header-ampm]:(mt-[12px])`
|
|
117
218
|
],
|
|
118
219
|
[
|
|
119
220
|
/^q-time--dark$/,
|
|
120
|
-
([, c], { theme }) =>
|
|
221
|
+
([, c], { theme }) => theme.quasar?.components?.['q-time--dark'] ??
|
|
222
|
+
`border-[rgba(255,_255,_255,_0.28)] [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)]`
|
|
121
223
|
]
|
|
122
224
|
];
|
|
123
225
|
export { shortcuts };
|
|
@@ -1,80 +1,91 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-timeline$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline'] ??
|
|
5
|
+
`p-0 w-full [list-style:none] [&_h6]:([line-height:inherit])`
|
|
5
6
|
],
|
|
6
7
|
[
|
|
7
8
|
/^q-timeline--dark$/,
|
|
8
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--dark'] ??
|
|
10
|
+
`text-[#fff] [&_.q-timeline\\_\\_subtitle]:(opacity-70)`
|
|
9
11
|
],
|
|
10
|
-
[/^q-timeline__content$/, ([, c], { theme }) => `pb-[24px]`],
|
|
11
|
-
[/^q-timeline__title$/, ([, c], { theme }) => `mt-0 mb-[16px]`],
|
|
12
12
|
[
|
|
13
|
-
/^q-
|
|
14
|
-
([, c], { theme }) =>
|
|
13
|
+
/^q-timeline__content$/,
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__content'] ?? `pb-[24px]`
|
|
15
15
|
],
|
|
16
16
|
[
|
|
17
|
-
/^q-
|
|
18
|
-
([, c], { theme }) =>
|
|
17
|
+
/^q-timeline__title$/,
|
|
18
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__title'] ?? `mt-0 mb-[16px]`
|
|
19
19
|
],
|
|
20
20
|
[
|
|
21
|
-
/^q-
|
|
22
|
-
([, c], { theme }) =>
|
|
21
|
+
/^q-timeline__subtitle$/,
|
|
22
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__subtitle'] ??
|
|
23
|
+
`text-[12px] mb-[8px] opacity-60 uppercase tracking-[1px] font-bold`
|
|
23
24
|
],
|
|
24
25
|
[
|
|
25
|
-
/^q-timeline__dot
|
|
26
|
-
([, c], { theme }) =>
|
|
26
|
+
/^q-timeline__dot$/,
|
|
27
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__dot'] ??
|
|
28
|
+
`absolute top-[0] bottom-[0] w-[15px] [&:before]:(content-[''] bg-current block absolute) [&:after]:(content-[''] bg-current block absolute) [&:before]:(border-[3px] border-solid border-[transparent] rounded-[100%] h-[15px] w-[15px] top-[4px] left-[0] [transition:background_0.3s_ease-in-out,_border_0.3s_ease-in-out]) [&:after]:(w-[3px] opacity-40 top-[24px] bottom-[0] left-[6px]) [&_.q-icon]:(absolute top-[0] left-[0] right-[0] text-[16px] h-[38px] leading-[38px] w-full text-[#fff]) [&_.q-icon_>_svg]:(w-[1em] h-[1em]) [&_.q-icon_>_img]:(w-[1em] h-[1em])`
|
|
27
29
|
],
|
|
28
30
|
[
|
|
29
31
|
/^q-timeline__dot-img$/,
|
|
30
|
-
([, c], { theme }) =>
|
|
32
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__dot-img'] ??
|
|
33
|
+
`absolute top-[4px] left-[0] right-[0] h-[31px] w-[31px] bg-current rounded-[50%]`
|
|
31
34
|
],
|
|
32
|
-
[/^q-timeline__heading$/, ([, c], { theme }) => `relative`],
|
|
33
35
|
[
|
|
34
|
-
/^q-timeline__heading
|
|
35
|
-
([, c], { theme }) =>
|
|
36
|
+
/^q-timeline__heading$/,
|
|
37
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__heading'] ??
|
|
38
|
+
`relative [&:first-child_.q-timeline\\_\\_heading-title]:(pt-0) [&:last-child_.q-timeline\\_\\_heading-title]:(pb-0)`
|
|
36
39
|
],
|
|
37
40
|
[
|
|
38
|
-
/^q-timeline__heading
|
|
39
|
-
([, c], { theme }) =>
|
|
41
|
+
/^q-timeline__heading-title$/,
|
|
42
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__heading-title'] ??
|
|
43
|
+
`px-[0] py-[32px] m-0`
|
|
40
44
|
],
|
|
41
|
-
[/^q-timeline__heading-title$/, ([, c], { theme }) => `px-[0] py-[32px] m-0`],
|
|
42
|
-
[/^q-timeline__entry$/, ([, c], { theme }) => `relative leading-[22px]`],
|
|
43
45
|
[
|
|
44
|
-
/^q-timeline__entry
|
|
45
|
-
([, c], { theme }) =>
|
|
46
|
+
/^q-timeline__entry$/,
|
|
47
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__entry'] ??
|
|
48
|
+
`relative leading-[22px] [&:last-child]:(!pb-0) [&:last-child_.q-timeline\\_\\_dot:after]:(content-[none])`
|
|
46
49
|
],
|
|
47
50
|
[
|
|
48
51
|
/^q-timeline__entry--icon$/,
|
|
49
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline__entry--icon'] ??
|
|
53
|
+
`[&_.q-timeline\\_\\_dot]:(w-[31px]) [&_.q-timeline\\_\\_dot:before]:(h-[31px] w-[31px]) [&_.q-timeline\\_\\_dot:after]:(top-[41px] left-[14px]) [&_.q-timeline\\_\\_subtitle]:(pt-[8px])`
|
|
50
54
|
],
|
|
51
55
|
[
|
|
52
56
|
/^q-timeline--dense--right$/,
|
|
53
|
-
([, c], { theme }) =>
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--dense--right'] ??
|
|
58
|
+
`[&_.q-timeline\\_\\_entry]:(pl-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px]) [&_.q-timeline\\_\\_dot]:(left-[0])`
|
|
54
59
|
],
|
|
55
60
|
[
|
|
56
61
|
/^q-timeline--dense--left$/,
|
|
57
|
-
([, c], { theme }) =>
|
|
62
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--dense--left'] ??
|
|
63
|
+
`[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_entry]:(pr-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-right-[8px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_subtitle]:(text-right) [&_.q-timeline\\_\\_dot]:(right-[0])`
|
|
58
64
|
],
|
|
59
65
|
[
|
|
60
66
|
/^q-timeline--comfortable$/,
|
|
61
|
-
([, c], { theme }) =>
|
|
67
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable'] ??
|
|
68
|
+
`table [&_.q-timeline\\_\\_heading]:(table-row text-[200%]) [&_.q-timeline\\_\\_heading_>_div]:(table-cell) [&_.q-timeline\\_\\_entry]:(table-row p-0) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_subtitle]:(table-cell align-top) [&_.q-timeline\\_\\_dot]:(table-cell align-top) [&_.q-timeline\\_\\_content]:(table-cell align-top) [&_.q-timeline\\_\\_subtitle]:(w-[35%]) [&_.q-timeline\\_\\_dot]:(relative min-w-[31px])`
|
|
62
69
|
],
|
|
63
70
|
[
|
|
64
71
|
/^q-timeline--comfortable--right$/,
|
|
65
|
-
([, c], { theme }) =>
|
|
72
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--right'] ??
|
|
73
|
+
`[&__.q-timeline\\_\\_heading__.q-timeline\\_\\_heading-title]:(-ml-[50px])`
|
|
66
74
|
],
|
|
67
75
|
[
|
|
68
76
|
/^q-timeline--comfortable--right$/,
|
|
69
|
-
([, c], { theme }) =>
|
|
77
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--right'] ??
|
|
78
|
+
`[&_.q-timeline\\_\\_subtitle]:(text-right pr-[30px]) [&_.q-timeline\\_\\_content]:(pl-[30px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px])`
|
|
70
79
|
],
|
|
71
80
|
[
|
|
72
81
|
/^q-timeline--comfortable--left$/,
|
|
73
|
-
([, c], { theme }) =>
|
|
82
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--left'] ??
|
|
83
|
+
`[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_heading_.q-timeline\\_\\_heading-title]:(-mr-[50px]) [&_.q-timeline\\_\\_subtitle]:(pl-[30px]) [&_.q-timeline\\_\\_content]:(pr-[30px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(right-[0]) [&_.q-timeline\\_\\_dot]:(-right-[8px])`
|
|
74
84
|
],
|
|
75
85
|
[
|
|
76
86
|
/^q-timeline--loose$/,
|
|
77
|
-
([, c], { theme }) =>
|
|
87
|
+
([, c], { theme }) => theme.quasar?.components?.['q-timeline--loose'] ??
|
|
88
|
+
`[&_.q-timeline\\_\\_heading-title]:(text-center ml-0) [&_.q-timeline\\_\\_entry]:(block m-0 p-0) [&_.q-timeline\\_\\_subtitle]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(block m-0 p-0) [&_.q-timeline\\_\\_content]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(absolute left-2/4 -ml-[7.15px]) [&_.q-timeline\\_\\_entry]:(pb-[24px] overflow-hidden) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-ml-[15px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_subtitle]:(leading-[38px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_content]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_subtitle]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_subtitle]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_content]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_subtitle]:(w-1/2) [&_.q-timeline\\_\\_content]:(w-1/2)`
|
|
78
89
|
]
|
|
79
90
|
];
|
|
80
91
|
export { shortcuts };
|
|
@@ -24,44 +24,49 @@ body.desktop .q-toggle--dense:not(.disabled):focus .q-toggle__thumb:before, body
|
|
|
24
24
|
}
|
|
25
25
|
];
|
|
26
26
|
const shortcuts = [
|
|
27
|
-
[/^q-toggle$/, ([, c], { theme }) => `align-middle`],
|
|
28
|
-
[/^q-toggle__native$/, ([, c], { theme }) => `w-px h-px`],
|
|
29
27
|
[
|
|
30
|
-
/^q-
|
|
31
|
-
([, c], { theme }) =>
|
|
28
|
+
/^q-toggle$/,
|
|
29
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle'] ??
|
|
30
|
+
`align-middle [&.disabled]:(!opacity-75)`
|
|
32
31
|
],
|
|
33
32
|
[
|
|
34
|
-
/^q-
|
|
35
|
-
([, c], { theme }) =>
|
|
33
|
+
/^q-toggle__native$/,
|
|
34
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__native'] ?? `w-px h-px`
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
/^q-toggle__track$/,
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__track'] ??
|
|
39
|
+
`h-[0.35em] rounded-[0.175em] opacity-[0.38] bg-current`
|
|
36
40
|
],
|
|
37
41
|
[
|
|
38
|
-
/^q-toggle__thumb
|
|
39
|
-
([, c], { theme }) =>
|
|
42
|
+
/^q-toggle__thumb$/,
|
|
43
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__thumb'] ??
|
|
44
|
+
`top-[0.25em] left-[0.25em] w-[0.5em] h-[0.5em] [transition:left_0.22s_cubic-bezier(0.4,_0,_0.2,_1)] select-none z-0 [&:after]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] rounded-[50%] bg-[#fff] [box-shadow:0_3px_1px_-2px_rgba(0,_0,_0,_0.2),_0_2px_2px_0_rgba(0,_0,_0,_0.14),_0_1px_5px_0_rgba(0,_0,_0,_0.12)]) [&_.q-icon]:(text-[0.3em] min-w-[1em] text-[#000] opacity-[0.54])`
|
|
40
45
|
],
|
|
41
46
|
[
|
|
42
47
|
/^q-toggle__inner$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
48
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner'] ??
|
|
49
|
+
`text-[40px] w-[1.4em] min-w-[1.4em] h-[1em] px-[0.3em] py-[0.325em]`
|
|
44
50
|
],
|
|
45
51
|
[
|
|
46
52
|
/^q-toggle__inner--indet$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
53
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner--indet'] ??
|
|
54
|
+
`[&_.q-toggle\\_\\_thumb]:(left-[0.45em])`
|
|
48
55
|
],
|
|
49
56
|
[
|
|
50
57
|
/^q-toggle__inner--truthy$/,
|
|
51
|
-
([, c], { theme }) =>
|
|
58
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner--truthy'] ??
|
|
59
|
+
` [&_.q-toggle\\_\\_track]:(opacity-[0.54]) [&_.q-toggle\\_\\_thumb]:(left-[0.65em]) [&_.q-toggle\\_\\_thumb:after]:(bg-current) [&_.q-toggle\\_\\_thumb_.q-icon]:(text-[#fff] opacity-100)`
|
|
52
60
|
],
|
|
53
|
-
[/^q-toggle.disabled$/, ([, c], { theme }) => `!opacity-75`],
|
|
54
61
|
[
|
|
55
62
|
/^q-toggle--dark$/,
|
|
56
|
-
([, c], { theme }) =>
|
|
63
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle--dark'] ??
|
|
64
|
+
`[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:() [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
|
|
57
65
|
],
|
|
58
66
|
[
|
|
59
67
|
/^q-toggle--dense$/,
|
|
60
|
-
([, c], { theme }) =>
|
|
61
|
-
|
|
62
|
-
[
|
|
63
|
-
/^q-toggle--dense.reverse$/,
|
|
64
|
-
([, c], { theme }) => `[&_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
|
|
68
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toggle--dense'] ??
|
|
69
|
+
`[&_.q-toggle\\_\\_inner]:(w-[0.8em] min-w-[0.8em] h-[0.5em] px-[0] py-[0.07625em]) [&_.q-toggle\\_\\_thumb]:(top-[0] left-[0]) [&_.q-toggle\\_\\_inner--indet_.q-toggle\\_\\_thumb]:(left-[0.15em]) [&_.q-toggle\\_\\_inner--truthy_.q-toggle\\_\\_thumb]:(left-[0.3em]) [&_.q-toggle\\_\\_label]:(pl-[0.5em]) [&.reverse_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
|
|
65
70
|
]
|
|
66
71
|
];
|
|
67
72
|
export { preflights, shortcuts };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-toolbar$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toolbar'] ??
|
|
5
|
+
`relative px-[12px] py-[0] min-h-[50px] [&_.q-avatar]:(text-[38px])
|
|
5
6
|
`
|
|
6
7
|
// w-full
|
|
7
8
|
],
|
|
8
9
|
[/^q-toolbar--inset$/, ([, c], { theme }) => `pl-[58px]`],
|
|
9
10
|
[
|
|
10
11
|
/^q-toolbar__title$/,
|
|
11
|
-
([, c], { theme }) =>
|
|
12
|
+
([, c], { theme }) => theme.quasar?.components?.['q-toolbar__title'] ??
|
|
13
|
+
`flex-1 min-w-[1px] max-w-full text-[21px] font-normal tracking-[0.01em] px-[12px] py-[0] [&:first-child]:(pl-0) [&:last-child]:(pr-0)`
|
|
12
14
|
]
|
|
13
15
|
];
|
|
14
16
|
export { shortcuts };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-tooltip--style$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-tooltip--style'] ??
|
|
5
|
+
`text-[10px] text-[#fafafa] bg-[#757575] rounded-[4px] normal-case font-normal`
|
|
5
6
|
],
|
|
6
7
|
[
|
|
7
8
|
/^q-tooltip$/,
|
|
8
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-tooltip'] ??
|
|
10
|
+
`z-9000 !fixed overflow-y-auto overflow-x-hidden px-[10px] py-[6px] max-w-[95vw] max-h-[65vh] sm:(text-14px pt-8px pb-8px pl-16px pr-16px)`
|
|
9
11
|
]
|
|
10
12
|
];
|
|
11
13
|
export { shortcuts };
|