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
|
@@ -13,78 +13,56 @@ body.desktop.body--dark .q-chip--clickable:focus {
|
|
|
13
13
|
const shortcuts = [
|
|
14
14
|
[
|
|
15
15
|
/^q-chip$/,
|
|
16
|
-
([, c], { theme }) =>
|
|
17
|
-
|
|
18
|
-
`
|
|
16
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip'] ??
|
|
17
|
+
`align-middle rounded-[16px] outline-[0] relative h-[2em] max-w-full m-[4px] bg-[#e0e0e0] text-[rgba(0,_0,_0,_0.87)] text-[14px] px-[0.9em] py-[0.5em] [&_.q-avatar]:(text-[2em] -ml-[0.45em] mr-[0.2em] rounded-[16px])`
|
|
19
18
|
],
|
|
20
19
|
[
|
|
21
20
|
/^q-chip--colored$/,
|
|
22
|
-
([, c], { theme }) =>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--colored'] ??
|
|
22
|
+
`[&_.q-chip\\_\\_icon]:([color:inherit])`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-chip--dark$/,
|
|
26
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--dark'] ??
|
|
27
|
+
`[&_.q-chip\\_\\_icon]:([color:inherit])`
|
|
26
28
|
],
|
|
27
29
|
[
|
|
28
30
|
/^q-chip--outline$/,
|
|
29
|
-
([, c], { theme }) =>
|
|
30
|
-
|
|
31
|
-
[&_.q-chip--dark_.q-chip\\_\\_icon]:(text-inherit)
|
|
32
|
-
`
|
|
31
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--outline'] ??
|
|
32
|
+
`!bg-transparent border-[1px] border-solid border-[currentColor]`
|
|
33
33
|
],
|
|
34
34
|
[
|
|
35
35
|
/^q-chip--selected$/,
|
|
36
|
-
([, c], { theme }) => `
|
|
37
|
-
hidden
|
|
38
|
-
`
|
|
36
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--selected'] ?? `[&_.q-avatar]:(hidden)`
|
|
39
37
|
],
|
|
40
38
|
[
|
|
41
39
|
/^q-chip__icon$/,
|
|
42
|
-
([, c], { theme }) =>
|
|
43
|
-
|
|
44
|
-
`
|
|
40
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip__icon'] ??
|
|
41
|
+
`text-[rgba(0,_0,_0,_0.54)] text-[1.5em] -m-[0.2em]`
|
|
45
42
|
],
|
|
46
43
|
[
|
|
47
44
|
/^q-chip__icon--left$/,
|
|
48
|
-
([, c], { theme }) => `
|
|
49
|
-
mr-0.2em
|
|
50
|
-
`
|
|
45
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip__icon--left'] ?? `mr-[0.2em]`
|
|
51
46
|
],
|
|
52
47
|
[
|
|
53
48
|
/^q-chip__icon--right$/,
|
|
54
|
-
([, c], { theme }) => `
|
|
55
|
-
ml-0.2em
|
|
56
|
-
`
|
|
49
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip__icon--right'] ?? `ml-[0.2em]`
|
|
57
50
|
],
|
|
58
51
|
[
|
|
59
52
|
/^q-chip__icon--remove$/,
|
|
60
|
-
([, c], { theme }) =>
|
|
61
|
-
|
|
62
|
-
[&:hover]:(op-100)
|
|
63
|
-
[&:focus]:(op-100)
|
|
64
|
-
`
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
/^q-chip__icon--content$/,
|
|
68
|
-
([, c], { theme }) => `
|
|
69
|
-
whitespace-nowrap
|
|
70
|
-
`
|
|
53
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip__icon--remove'] ??
|
|
54
|
+
`ml-[0.1em] -mr-[0.5em] opacity-60 outline-[0] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
71
55
|
],
|
|
56
|
+
[/^q-chip__content$/, ([, c], { theme }) => `whitespace-nowrap`],
|
|
72
57
|
[
|
|
73
|
-
/^q-
|
|
74
|
-
([, c], { theme }) =>
|
|
75
|
-
|
|
76
|
-
[&_.q-avatar]:(text-1.5em ml--0.27em mr-0.1em border-rd-12px)
|
|
77
|
-
[&._q-chip\\_\\_icon]:(text-1.25em)
|
|
78
|
-
[&._q-chip\\_\\_icon--left]:(mr-0.195em)
|
|
79
|
-
[&._q-chip\\_\\_icon--remove]:(mr--0.25em)
|
|
80
|
-
`
|
|
58
|
+
/^q-chip--dense$/,
|
|
59
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--dense'] ??
|
|
60
|
+
`rounded-[12px] px-[0.4em] py-[0] h-[1.5em] [&_.q-avatar]:(text-[1.5em] -ml-[0.27em] mr-[0.1em] rounded-[12px]) [&_.q-chip\\_\\_icon]:(text-[1.25em]) [&_.q-chip\\_\\_icon--left]:(mr-[0.195em]) [&_.q-chip\\_\\_icon--remove]:(-mr-[0.25em])`
|
|
81
61
|
],
|
|
82
62
|
[
|
|
83
|
-
/^q-
|
|
84
|
-
([, c], { theme }) =>
|
|
85
|
-
|
|
86
|
-
[&_q-avatar]:(border-rd-tl-3px border-rd-br-3px border-rd-tr-0 border-rd-bl-0)
|
|
87
|
-
`
|
|
63
|
+
/^q-chip--square$/,
|
|
64
|
+
([, c], { theme }) => theme.quasar?.components?.['q-chip--square'] ??
|
|
65
|
+
`rounded-[4px] [&_.q-avatar]:(rounded-tl-[3px] rounded-br-[0] rounded-tr-[0] rounded-bl-[3px])`
|
|
88
66
|
]
|
|
89
67
|
];
|
|
90
68
|
export { preflights, shortcuts };
|
|
@@ -20,13 +20,15 @@ const preflights = [
|
|
|
20
20
|
const shortcuts = [
|
|
21
21
|
[
|
|
22
22
|
/^q-circular-progress$/,
|
|
23
|
-
([, c], { theme }) =>
|
|
23
|
+
([, c], { theme }) => theme.quasar?.components?.['q-circular-progress'] ??
|
|
24
|
+
`inline-block relative align-middle w-[1em] h-[1em] leading-none`
|
|
24
25
|
],
|
|
25
26
|
[/^q-circular-progress__svg$/, ([, c], { theme }) => `w-full h-full`],
|
|
26
27
|
[/^q-circular-progress__text$/, ([, c], { theme }) => `text-[0.25em]`],
|
|
27
28
|
[
|
|
28
29
|
/^q-circular-progress--indeterminate$/,
|
|
29
|
-
([, c], { theme }) =>
|
|
30
|
+
([, c], { theme }) => theme.quasar?.components?.['q-circular-progress--indeterminate'] ??
|
|
31
|
+
`[&_.q-circular-progress\\_\\_svg]:(origin-[50%_50%] animate-[q-spin_2s_linear_infinite]) [&_.q-circular-progress\\_\\_circle]:(animate-[q-circular-progress-circle_1.5s_ease-in-out_infinite])`
|
|
30
32
|
]
|
|
31
33
|
];
|
|
32
34
|
export { preflights, shortcuts };
|
|
@@ -1,174 +1,118 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-color-picker$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
5
|
-
|
|
6
|
-
shadow-sm
|
|
7
|
-
[&.q-tab]:(p-0!)
|
|
8
|
-
[&_input]:(text-inherit bg-transparent outline-0 text-center)
|
|
9
|
-
[&_.q-tabs]:(overflow-hidden)
|
|
10
|
-
[&_.q-tab--active]:(shadow-sm)
|
|
11
|
-
[&_.q-tab--active_.q-focus-helper]:(hidden)
|
|
12
|
-
[&_q-tab\\_\\_indicator]:(hidden)
|
|
13
|
-
[&_q-tab-panels]:(bg-inherit)
|
|
14
|
-
`
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker'] ??
|
|
5
|
+
`overflow-hidden bg-[#fff] max-w-[350px] align-top min-w-[180px] 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-tab]:(!p-0) [&_input]:([color:inherit] bg-transparent outline-[0] text-center) [&_.q-tabs]:(overflow-hidden) [&_.q-tab--active]:([box-shadow:0_0_14px_3px_rgba(0,_0,_0,_0.2)]) [&_.q-tab--active_.q-focus-helper]:(hidden) [&_.q-tab\\_\\_indicator]:(hidden) [&_.q-tab-panels]:([background:inherit])`
|
|
15
6
|
],
|
|
16
7
|
[
|
|
17
8
|
/^q-color-picker--bordered$/,
|
|
18
|
-
([, c], { theme }) =>
|
|
19
|
-
|
|
20
|
-
`
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker--bordered'] ??
|
|
10
|
+
`border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
21
11
|
],
|
|
22
12
|
[
|
|
23
13
|
/^q-color-picker__header-tabs$/,
|
|
24
|
-
([, c], { theme }) => `
|
|
25
|
-
h-32px
|
|
26
|
-
`
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-tabs'] ?? `h-[32px]`
|
|
27
15
|
],
|
|
28
16
|
[
|
|
29
17
|
/^q-color-picker__header-banner$/,
|
|
30
|
-
([, c], { theme }) =>
|
|
31
|
-
|
|
32
|
-
`
|
|
18
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-banner'] ??
|
|
19
|
+
`h-[36px] h-[36px]`
|
|
33
20
|
],
|
|
34
21
|
[
|
|
35
22
|
/^q-color-picker__header$/,
|
|
36
|
-
([, c], { theme }) =>
|
|
37
|
-
|
|
38
|
-
[&_.q-tab]:(min-h-32px! h-32px!)
|
|
39
|
-
[&_.q-tab--inactive]:(bg-gradient-linear from-black/30 via-black/15 to-black/10)
|
|
40
|
-
`
|
|
23
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header'] ??
|
|
24
|
+
`[&_input]:(leading-[24px] border-[0]) [&_.q-tab]:(!min-h-[32px] !h-[32px]) [&_.q-tab--inactive]:(bg-[linear-gradient(_to_top,_rgba(0,_0,_0,_0.3)_0%,_rgba(0,_0,_0,_0.15)_25%,_rgba(0,_0,_0,_0.1)_)])`
|
|
41
25
|
],
|
|
42
26
|
[
|
|
43
27
|
/^q-color-picker__error-icon$/,
|
|
44
|
-
([, c], { theme }) =>
|
|
45
|
-
|
|
46
|
-
`
|
|
28
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__error-icon'] ??
|
|
29
|
+
`bottom-[2px] right-[2px] text-[24px] opacity-0 [transition:opacity_0.3s_ease-in]`
|
|
47
30
|
],
|
|
48
31
|
[
|
|
49
32
|
/^q-color-picker__header-content$/,
|
|
50
|
-
([, c], { theme }) =>
|
|
51
|
-
|
|
52
|
-
`
|
|
33
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-content'] ??
|
|
34
|
+
`relative bg-[#fff]`
|
|
53
35
|
],
|
|
54
36
|
[
|
|
55
37
|
/^q-color-picker__header-content--light$/,
|
|
56
|
-
([, c], { theme }) =>
|
|
57
|
-
|
|
58
|
-
`
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-content--light'] ??
|
|
39
|
+
`text-[#000]`
|
|
59
40
|
],
|
|
60
41
|
[
|
|
61
42
|
/^q-color-picker__header-content--dark$/,
|
|
62
|
-
([, c], { theme }) =>
|
|
63
|
-
|
|
64
|
-
[&_.q-tab--inactive:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 bg-white bg-op-200)
|
|
65
|
-
`
|
|
66
|
-
],
|
|
67
|
-
[
|
|
68
|
-
/^q-color-picker__header-banner$/,
|
|
69
|
-
([, c], { theme }) => `
|
|
70
|
-
h-36px
|
|
71
|
-
`
|
|
43
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-content--dark'] ??
|
|
44
|
+
`text-[#fff] [&_.q-tab--inactive:before]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] bg-[rgba(255,_255,_255,_0.2)])`
|
|
72
45
|
],
|
|
73
46
|
[
|
|
74
47
|
/^q-color-picker__header-bg$/,
|
|
75
|
-
([, c], { theme }) =>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
`
|
|
48
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-bg'] ??
|
|
49
|
+
`bg-[#fff] bg-[url('data:image/png]`
|
|
79
50
|
],
|
|
80
51
|
[
|
|
81
52
|
/^q-color-picker__footer$/,
|
|
82
|
-
([, c], { theme }) =>
|
|
83
|
-
|
|
84
|
-
[&_.q-tab]:(min-h-36px! h-36px!)
|
|
85
|
-
[&_.q-tab--inactive]:(bg-gradient-to-b from-black/0.3 via-black/0.15 to-black/0.1)
|
|
86
|
-
`
|
|
53
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__footer'] ??
|
|
54
|
+
`h-[36px] [&_.q-tab]:(!min-h-[36px] !h-[36px]) [&_.q-tab--inactive]:(bg-[linear-gradient(_to_bottom,_rgba(0,_0,_0,_0.3)_0%,_rgba(0,_0,_0,_0.15)_25%,_rgba(0,_0,_0,_0.1)_)])`
|
|
87
55
|
],
|
|
88
56
|
[
|
|
89
57
|
/^q-color-picker__spectrum$/,
|
|
90
|
-
([, c], { theme }) => `
|
|
91
|
-
h-full w-full
|
|
92
|
-
`
|
|
58
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__spectrum'] ?? `w-full h-full`
|
|
93
59
|
],
|
|
94
60
|
[
|
|
95
61
|
/^q-color-picker__spectrum-tab$/,
|
|
96
|
-
([, c], { theme }) => `
|
|
97
|
-
p-0!
|
|
98
|
-
`
|
|
62
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__spectrum-tab'] ?? `!p-0`
|
|
99
63
|
],
|
|
100
64
|
[
|
|
101
|
-
/^q-color-picker__spectrum
|
|
102
|
-
([, c], { theme }) =>
|
|
103
|
-
|
|
104
|
-
`
|
|
65
|
+
/^q-color-picker__spectrum-white$/,
|
|
66
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__spectrum-white'] ??
|
|
67
|
+
`bg-[linear-gradient(to_right,_#fff,_rgba(255,_255,_255,_0))]`
|
|
105
68
|
],
|
|
106
69
|
[
|
|
107
|
-
/^q-color-picker__spectrum
|
|
108
|
-
([, c], { theme }) =>
|
|
109
|
-
|
|
110
|
-
`
|
|
70
|
+
/^q-color-picker__spectrum-black$/,
|
|
71
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__spectrum-black'] ??
|
|
72
|
+
`bg-[linear-gradient(to_top,_#000,_rgba(0,_0,_0,_0))]`
|
|
111
73
|
],
|
|
112
74
|
[
|
|
113
|
-
/^q-color-picker__spectrum
|
|
114
|
-
([, c], { theme }) =>
|
|
115
|
-
|
|
116
|
-
`
|
|
75
|
+
/^q-color-picker__spectrum-circle$/,
|
|
76
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__spectrum-circle'] ??
|
|
77
|
+
`w-[10px] h-[10px] [box-shadow:0_0_0_1.5px_#fff,_inset_0_0_1px_1px_rgba(0,_0,_0,_0.3),_0_0_1px_2px_rgba(0,_0,_0,_0.4)] rounded-[50%] -translate-x-[5px] -translate-y-[5px]`
|
|
117
78
|
],
|
|
118
79
|
[
|
|
119
80
|
/^q-color-picker__hue$/,
|
|
120
|
-
([, c], { theme }) =>
|
|
121
|
-
|
|
122
|
-
`
|
|
81
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__hue'] ??
|
|
82
|
+
`[&_.q-slider\\_\\_track]:(!bg-[linear-gradient(_to_right,_#f00_0%,_#ff0_17%,_#0f0_33%,_#0ff_50%,_#00f_67%,_#f0f_83%,_#f00_100%_)] opacity-100)`
|
|
123
83
|
],
|
|
124
84
|
[
|
|
125
85
|
/^q-color-picker__alpha$/,
|
|
126
|
-
([, c], { theme }) =>
|
|
127
|
-
|
|
128
|
-
[&_.q-slider\\_\\_track:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 border-rd-inherit bg-gradient-to-r from-black to-[#757575])
|
|
129
|
-
`
|
|
86
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__alpha'] ??
|
|
87
|
+
`[&_.q-slider\\_\\_track-container]:(pt-0) [&_.q-slider\\_\\_track:before]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] [border-radius:inherit] bg-[linear-gradient(90deg,_rgba(255,_255,_255,_0),_#757575)])`
|
|
130
88
|
],
|
|
131
89
|
[
|
|
132
90
|
/^q-color-picker__sliders$/,
|
|
133
|
-
([, c], { theme }) =>
|
|
134
|
-
|
|
135
|
-
[&_.q-slider\\_\\_thumb]:(text-[#424242])
|
|
136
|
-
[&_.q-slider\\_\\_thumb_path]:(stroke-2px fill-transparent)
|
|
137
|
-
[&_.q-slider--active_path]:(stroke-3px)
|
|
138
|
-
`
|
|
91
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__sliders'] ??
|
|
92
|
+
`px-[16px] py-[0] [&_.q-slider\\_\\_thumb]:(text-[#424242]) [&_.q-slider\\_\\_thumb_path]:(stroke-[2px] fill-[transparent]) [&_.q-slider--active_path]:(stroke-[3px])`
|
|
139
93
|
],
|
|
140
94
|
[
|
|
141
95
|
/^q-color-picker__tune-tab$/,
|
|
142
|
-
([, c], { theme }) =>
|
|
143
|
-
|
|
144
|
-
[&_input]:(text-11px border-solid border-1 border-color-[#e0e0e0] border-rd-4px w-3.5em)
|
|
145
|
-
`
|
|
96
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__tune-tab'] ??
|
|
97
|
+
`[&_.q-slider]:(ml-[18px] mr-[18px]) [&_input]:(text-[11px] border-[1px] border-solid border-[#e0e0e0] rounded-[4px] w-[3.5em])`
|
|
146
98
|
],
|
|
147
99
|
[
|
|
148
100
|
/^q-color-picker__palette-tab$/,
|
|
149
|
-
([, c], { theme }) => `
|
|
150
|
-
p-0!
|
|
151
|
-
`
|
|
101
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__palette-tab'] ?? `!p-0`
|
|
152
102
|
],
|
|
153
103
|
[
|
|
154
104
|
/^q-color-picker__palette-rows--editable$/,
|
|
155
|
-
([, c], { theme }) =>
|
|
156
|
-
|
|
157
|
-
`
|
|
105
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__palette-rows--editable'] ??
|
|
106
|
+
`[&_.q-color-picker\\_\\_cube]:(cursor-pointer)`
|
|
158
107
|
],
|
|
159
108
|
[
|
|
160
109
|
/^q-color-picker__cube$/,
|
|
161
|
-
([, c], { theme }) => `
|
|
162
|
-
pb-10% w-10%!
|
|
163
|
-
`
|
|
110
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__cube'] ?? `pb-[10%] !w-[10%]`
|
|
164
111
|
],
|
|
165
112
|
[
|
|
166
113
|
/^q-color-picker--dark$/,
|
|
167
|
-
([, c], { theme }) =>
|
|
168
|
-
|
|
169
|
-
[&_.q-color-picker\\_\\_tune-tab_input]:(border-solid border-1px border-black border-op-30)
|
|
170
|
-
[&_.q-slider__thumb]:(text-[#fafafa])
|
|
171
|
-
`
|
|
114
|
+
([, c], { theme }) => theme.quasar?.components?.['q-color-picker--dark'] ??
|
|
115
|
+
`[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-color-picker\\_\\_tune-tab_input]:(border-[1px] border-solid border-[rgba(255,255,255,0.3)]) [&_.q-slider\\_\\_thumb]:(text-[#fafafa])`
|
|
172
116
|
]
|
|
173
117
|
];
|
|
174
118
|
export { shortcuts };
|
|
@@ -1,122 +1,149 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-date$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date'] ??
|
|
5
|
+
`inline-flex [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] w-[290px] min-w-[290px] max-w-full`
|
|
5
6
|
],
|
|
6
7
|
[
|
|
7
8
|
/^q-date--bordered$/,
|
|
8
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--bordered'] ??
|
|
10
|
+
`border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
9
11
|
],
|
|
10
12
|
[
|
|
11
13
|
/^q-date__header$/,
|
|
12
|
-
([, c], { theme }) =>
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__header'] ??
|
|
15
|
+
`[border-top-left-radius:inherit] text-[#fff] p-[16px] bg-primary`
|
|
13
16
|
],
|
|
14
17
|
[/^q-date__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
|
|
15
18
|
[
|
|
16
19
|
/^q-date__content$/,
|
|
17
|
-
([, c], { theme }) =>
|
|
20
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__content'] ??
|
|
21
|
+
`outline-0 [&_.q-btn]:(font-normal)`
|
|
18
22
|
],
|
|
19
23
|
[/^q-date__main$/, ([, c], { theme }) => `outline-0`],
|
|
20
24
|
[
|
|
21
25
|
/^q-date__header-link$/,
|
|
22
|
-
([, c], { theme }) =>
|
|
26
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__header-link'] ??
|
|
27
|
+
`opacity-[0.64] outline-0 [transition:opacity_0.3s_ease-out] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
23
28
|
],
|
|
24
29
|
[/^q-date__header-link--active$/, ([, c], { theme }) => `opacity-100`],
|
|
25
30
|
[
|
|
26
31
|
/^q-date__header-subtitle$/,
|
|
27
|
-
([, c], { theme }) =>
|
|
32
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__header-subtitle'] ??
|
|
33
|
+
`text-[14px] leading-[1.75] tracking-[0.00938em]`
|
|
28
34
|
],
|
|
29
35
|
[
|
|
30
36
|
/^q-date__header-title-label$/,
|
|
31
|
-
([, c], { theme }) =>
|
|
37
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__header-title-label'] ??
|
|
38
|
+
`text-[24px] leading-[1.2] tracking-[0.00735em]`
|
|
32
39
|
],
|
|
33
40
|
[
|
|
34
41
|
/^q-date__view$/,
|
|
35
|
-
([, c], { theme }) =>
|
|
42
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__view'] ??
|
|
43
|
+
`h-full w-full min-h-[290px] p-[16px]`
|
|
36
44
|
],
|
|
37
45
|
[
|
|
38
46
|
/^q-date__navigation$/,
|
|
39
|
-
([, c], { theme }) =>
|
|
47
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__navigation'] ??
|
|
48
|
+
`h-[12.5%] [&_>_div:first-child]:(w-[8%] min-w-[24px] justify-end) [&_>_div:last-child]:(w-[8%] min-w-[24px] justify-start)`
|
|
40
49
|
],
|
|
41
50
|
[
|
|
42
51
|
/^q-date__calendar-weekdays$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__calendar-weekdays'] ??
|
|
53
|
+
`h-[12.5%] [&_>_div]:(opacity-[0.38] text-[12px])`
|
|
44
54
|
],
|
|
45
55
|
[
|
|
46
56
|
/^q-date__calendar-item$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__calendar-item'] ??
|
|
58
|
+
`inline-flex items-center justify-center align-middle !w-[14.285%] !h-[12.5%] relative p-px [&:after]:(content-empty absolute pointer-events-none top-px right-0 bottom-px left-0 border-dashed border-transparent border) [&_>_div]:(w-[30px] h-[30px] rounded-[50%]) [&_button]:(w-[30px] h-[30px] rounded-[50%]) [&_>_div]:(leading-[30px] text-center) [&_>_button]:(leading-[22px])`
|
|
48
59
|
],
|
|
49
60
|
[/^q-date__calendar-item--out$/, ([, c], { theme }) => `opacity-[0.18]`],
|
|
50
61
|
[/^q-date__calendar-item--fill$/, ([, c], { theme }) => `invisible`],
|
|
51
62
|
[
|
|
52
63
|
/^q-date__range$/,
|
|
53
|
-
([, c], { theme }) =>
|
|
64
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__range'] ??
|
|
65
|
+
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none)`
|
|
54
66
|
],
|
|
55
67
|
[
|
|
56
68
|
/^q-date__range-from$/,
|
|
57
|
-
([, c], { theme }) =>
|
|
69
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__range-from'] ??
|
|
70
|
+
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(left-2/4)`
|
|
58
71
|
],
|
|
59
72
|
[
|
|
60
73
|
/^q-date__range-to$/,
|
|
61
|
-
([, c], { theme }) =>
|
|
74
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__range-to'] ??
|
|
75
|
+
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(right-2/4)`
|
|
62
76
|
],
|
|
63
77
|
[
|
|
64
78
|
/^q-date__edit-range$/,
|
|
65
|
-
([, c], { theme }) =>
|
|
79
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__edit-range'] ??
|
|
80
|
+
`[&:after]:() [&:nth-child(7n-6):after]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):after]:(rounded-tr-none rounded-br-none)`
|
|
66
81
|
],
|
|
67
82
|
[
|
|
68
83
|
/^q-date__edit-range-from$/,
|
|
69
|
-
([, c], { theme }) =>
|
|
84
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__edit-range-from'] ??
|
|
85
|
+
`[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px])`
|
|
70
86
|
],
|
|
71
87
|
[
|
|
72
88
|
/^q-date__edit-range-from-to$/,
|
|
73
|
-
([, c], { theme }) =>
|
|
89
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__edit-range-from-to'] ??
|
|
90
|
+
`[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px]) [&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
|
|
74
91
|
],
|
|
75
92
|
[
|
|
76
93
|
/^q-date__edit-range-to$/,
|
|
77
|
-
([, c], { theme }) =>
|
|
94
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__edit-range-to'] ??
|
|
95
|
+
`[&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
|
|
78
96
|
],
|
|
79
97
|
[
|
|
80
98
|
/^q-date__calendar-days-container$/,
|
|
81
|
-
([, c], { theme }) =>
|
|
99
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__calendar-days-container'] ??
|
|
100
|
+
`h-3/4 min-h-[192px]`
|
|
82
101
|
],
|
|
83
102
|
[/^q-date__calendar-days$/, ([, c], { theme }) => `[&_>_div]:(!h-1/6)`],
|
|
84
103
|
[
|
|
85
104
|
/^q-date__event$/,
|
|
86
|
-
([, c], { theme }) =>
|
|
105
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__event'] ??
|
|
106
|
+
`absolute bottom-[2px] left-2/4 h-[5px] w-[8px] rounded-[5px] [transform:translate3d(-50%,_0,_0)] bg-primary`
|
|
87
107
|
],
|
|
88
108
|
[
|
|
89
109
|
/^q-date__today$/,
|
|
90
|
-
([, c], { theme }) =>
|
|
110
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date__today'] ??
|
|
111
|
+
`[box-shadow:0_0_1px_0_currentColor]`
|
|
91
112
|
],
|
|
92
113
|
[/^q-date__years-content$/, ([, c], { theme }) => `px-[8px] py-[0]`],
|
|
93
114
|
[/^q-date__years-item$/, ([, c], { theme }) => `flex-[0_0_33.3333%]`],
|
|
94
115
|
[/^q-date__months-item$/, ([, c], { theme }) => `flex-[0_0_33.3333%]`],
|
|
95
116
|
[
|
|
96
117
|
/^q-date--readonly$/,
|
|
97
|
-
([, c], { theme }) =>
|
|
118
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--readonly'] ??
|
|
119
|
+
`[&_.q-date\\_\\_header]:(pointer-events-none) [&_.q-date\\_\\_content]:(pointer-events-none) [&_.q-date\\_\\_navigation]:(hidden)`
|
|
98
120
|
],
|
|
99
121
|
[/^q-date--portrait$/, ([, c], { theme }) => `flex-col`],
|
|
100
122
|
[
|
|
101
123
|
/^q-date--portrait-standard$/,
|
|
102
|
-
([, c], { theme }) =>
|
|
124
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--portrait-standard'] ??
|
|
125
|
+
`[&_.q-date\\_\\_content]:(h-[calc(100% - 86px)]) [&_.q-date\\_\\_header]:([border-top-right-radius:inherit] h-[86px]) [&_.q-date\\_\\_header-title]:(items-center h-[30px])`
|
|
103
126
|
],
|
|
104
127
|
[
|
|
105
128
|
/^q-date--portrait-minimal$/,
|
|
106
|
-
([, c], { theme }) =>
|
|
129
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--portrait-minimal'] ??
|
|
130
|
+
`[&_.q-date\\_\\_content]:(h-full)`
|
|
107
131
|
],
|
|
108
132
|
[
|
|
109
133
|
/^q-date--landscape$/,
|
|
110
|
-
([, c], { theme }) =>
|
|
134
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--landscape'] ??
|
|
135
|
+
`flex-row items-stretch min-w-[420px] [&_>_div]:(flex flex-col) [&_.q-date\\_\\_content]:(h-full)`
|
|
111
136
|
],
|
|
112
137
|
[
|
|
113
138
|
/^q-date--landscape-standard$/,
|
|
114
|
-
([, c], { theme }) =>
|
|
139
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--landscape-standard'] ??
|
|
140
|
+
`min-w-[420px] [&_.q-date\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[110px] w-[110px]) [&_.q-date\\_\\_header-title]:(flex-col) [&_.q-date\\_\\_header-today]:(mt-[12px] -ml-[8px])`
|
|
115
141
|
],
|
|
116
142
|
[/^q-date--landscape-minimal$/, ([, c], { theme }) => `w-[310px]`],
|
|
117
143
|
[
|
|
118
144
|
/^q-date--dark$/,
|
|
119
|
-
([, c], { theme }) =>
|
|
145
|
+
([, c], { theme }) => theme.quasar?.components?.['q-date--dark'] ??
|
|
146
|
+
`[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)]`
|
|
120
147
|
]
|
|
121
148
|
];
|
|
122
149
|
export { shortcuts };
|
|
@@ -35,24 +35,28 @@ const shortcuts = [
|
|
|
35
35
|
[/^q-dialog$/, ([, c], { theme }) => ``],
|
|
36
36
|
[
|
|
37
37
|
/^q-dialog__title$/,
|
|
38
|
-
([, c], { theme }) =>
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__title'] ??
|
|
39
|
+
`text-1.25rem font-500 lh-1.6 tracking-0.0125em`
|
|
39
40
|
],
|
|
40
41
|
[/^q-dialog__progress$/, ([, c], { theme }) => `text-4rem`],
|
|
41
42
|
[
|
|
42
43
|
/^q-dialog__inner$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
44
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner'] ??
|
|
45
|
+
`outline-0
|
|
44
46
|
[&>div]:(pointer-events-auto overflow-auto border-rd-4px)
|
|
45
47
|
[&>.q-card>.q-card\\_\\_actions_.q-btn--rectangle]:(min-w-64px)
|
|
46
48
|
`
|
|
47
49
|
],
|
|
48
50
|
[
|
|
49
51
|
/^q-dialog__inner--square$/,
|
|
50
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--square'] ??
|
|
53
|
+
`[&>div]:(border-rd-0!)
|
|
51
54
|
`
|
|
52
55
|
],
|
|
53
56
|
[
|
|
54
57
|
/^q-dialog__inner--minimized$/,
|
|
55
|
-
([, c], { theme }) =>
|
|
58
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--minimized'] ??
|
|
59
|
+
`p-24px
|
|
56
60
|
[&>div]:(max-h-[calc(100vh-48px)])
|
|
57
61
|
`
|
|
58
62
|
],
|
|
@@ -63,47 +67,55 @@ const shortcuts = [
|
|
|
63
67
|
],
|
|
64
68
|
[
|
|
65
69
|
/^q-dialog__inner--top$/,
|
|
66
|
-
([, c], { theme }) =>
|
|
70
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--top'] ??
|
|
71
|
+
`pt-0! pb-0!
|
|
67
72
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-tr-none)
|
|
68
73
|
|
|
69
74
|
`
|
|
70
75
|
],
|
|
71
76
|
[
|
|
72
77
|
/^q-dialog__inner--bottom$/,
|
|
73
|
-
([, c], { theme }) =>
|
|
78
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--bottom'] ??
|
|
79
|
+
`pt-0! pb-0!
|
|
74
80
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-bl-none rounded-br-none)
|
|
75
81
|
`
|
|
76
82
|
],
|
|
77
83
|
[
|
|
78
84
|
/^q-dialog__inner--left$/,
|
|
79
|
-
([, c], { theme }) =>
|
|
85
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--left'] ??
|
|
86
|
+
`pt-0! pb-0!
|
|
80
87
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-bl-none)
|
|
81
88
|
`
|
|
82
89
|
],
|
|
83
90
|
[
|
|
84
91
|
/^q-dialog__inner--right$/,
|
|
85
|
-
([, c], { theme }) =>
|
|
92
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--right'] ??
|
|
93
|
+
`pt-0! pb-0!
|
|
86
94
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tr-none rounded-br-none)
|
|
87
95
|
`
|
|
88
96
|
],
|
|
89
97
|
[
|
|
90
98
|
/^q-dialog__inner--fullwidth$/,
|
|
91
|
-
([, c], { theme }) =>
|
|
99
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--fullwidth'] ??
|
|
100
|
+
`[&>div]:(w-full! max-w-full!)
|
|
92
101
|
`
|
|
93
102
|
],
|
|
94
103
|
[
|
|
95
104
|
/^q-dialog__inner--fullheight$/,
|
|
96
|
-
([, c], { theme }) =>
|
|
105
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__inner--fullheight'] ??
|
|
106
|
+
`[&>div]:(h-full! max-h-full!)
|
|
97
107
|
`
|
|
98
108
|
],
|
|
99
109
|
[
|
|
100
110
|
/^q-dialog__backdrop$/,
|
|
101
|
-
([, c], { theme }) =>
|
|
111
|
+
([, c], { theme }) => theme.quasar?.components?.['q-dialog__backdrop'] ??
|
|
112
|
+
`-z-1 pointer-events-auto outline-0 bg-black bg-op-40
|
|
102
113
|
`
|
|
103
114
|
],
|
|
104
115
|
[
|
|
105
116
|
/^q-body--dialog$/,
|
|
106
|
-
([, c], { theme }) =>
|
|
117
|
+
([, c], { theme }) => theme.quasar?.components?.['q-body--dialog'] ??
|
|
118
|
+
`overflow-hidden
|
|
107
119
|
`
|
|
108
120
|
]
|
|
109
121
|
];
|