@code-coaching/vuetiful 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/README.md +47 -55
  2. package/dist/css/animations.css +2 -0
  3. package/{src → dist}/css/overrides/quasar.css +73 -58
  4. package/{src/styles → dist/css}/transitions/slide.css +6 -0
  5. package/dist/favicon.ico +0 -0
  6. package/dist/types/components/atoms/VAvatar.vue.d.ts +39 -90
  7. package/dist/types/components/atoms/VBadge.vue.d.ts +34 -21
  8. package/dist/types/components/atoms/VButton.vue.d.ts +42 -48
  9. package/dist/types/components/atoms/VChip.vue.d.ts +33 -21
  10. package/dist/types/components/atoms/VLightSwitch.vue.d.ts +5 -5
  11. package/dist/types/components/atoms/VRadio/VRadioDescription.vue.d.ts +7 -12
  12. package/dist/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +53 -83
  13. package/dist/types/components/atoms/VRadio/VRadioItem.vue.d.ts +46 -12
  14. package/dist/types/components/atoms/VRadio/VRadioLabel.vue.d.ts +7 -12
  15. package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +51 -72
  16. package/dist/types/components/atoms/VSwitch/VSwitchDescription.vue.d.ts +32 -11
  17. package/dist/types/components/atoms/VSwitch/VSwitchGroup.vue.d.ts +32 -11
  18. package/dist/types/components/atoms/VSwitch/VSwitchLabel.vue.d.ts +33 -20
  19. package/dist/types/components/molecules/VAccordion/VAccordion.vue.d.ts +39 -28
  20. package/dist/types/components/molecules/VAccordion/VAccordionItem.vue.d.ts +35 -19
  21. package/dist/types/components/molecules/VAlert.vue.d.ts +50 -73
  22. package/dist/types/components/molecules/VCard/VCard.vue.d.ts +37 -48
  23. package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +33 -12
  24. package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +36 -20
  25. package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +36 -20
  26. package/dist/types/components/molecules/VCodeBlock.vue.d.ts +15 -16
  27. package/dist/types/components/molecules/VDrawer.vue.d.ts +13 -7
  28. package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +54 -132
  29. package/dist/types/components/molecules/VListbox/VListboxButton.vue.d.ts +22 -21
  30. package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +22 -19
  31. package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +19 -30
  32. package/dist/types/components/molecules/VListbox/VListboxLabel.vue.d.ts +7 -12
  33. package/dist/types/components/molecules/VPreview.vue.d.ts +57 -74
  34. package/dist/types/components/molecules/VRail/VRail.vue.d.ts +28 -13
  35. package/dist/types/components/molecules/VRail/VRailTile.vue.d.ts +49 -16
  36. package/dist/types/components/molecules/VShell.vue.d.ts +76 -44
  37. package/dist/types/components/molecules/VShellConfigurator.vue.d.ts +99 -0
  38. package/dist/types/components/molecules/VTabs/VTab.vue.d.ts +52 -20
  39. package/dist/types/components/molecules/VTabs/VTabPanel.vue.d.ts +8 -1
  40. package/dist/types/components/molecules/VTabs/VTabs.vue.d.ts +43 -101
  41. package/dist/types/components/molecules/Vuetiful.vue.d.ts +22 -0
  42. package/dist/types/components/molecules/index.d.ts +3 -4
  43. package/dist/types/directives/click-outside-group.d.ts +1 -1
  44. package/dist/types/directives/click-outside.d.ts +1 -1
  45. package/dist/types/directives/clipboard.d.ts +1 -1
  46. package/dist/types/index.d.ts +1 -8
  47. package/dist/types/props/props.d.ts +1 -14
  48. package/dist/types/services/dark-mode.service.d.ts +1 -1
  49. package/dist/types/services/drawer.service.d.ts +3 -3
  50. package/dist/types/services/index.d.ts +2 -2
  51. package/dist/types/utils/id-generator.d.ts +1 -0
  52. package/dist/types/utils/index.d.ts +3 -4
  53. package/dist/types/utils/tailwind-merge.d.ts +1 -0
  54. package/dist/types/utils/theme/rocket.theme.d.ts +223 -0
  55. package/dist/types/utils/theme/theme-switcher.vue.d.ts +14 -5
  56. package/dist/types/utils/theme/theme.service.d.ts +6 -9
  57. package/dist/types/utils/theme/themes.d.ts +3 -39
  58. package/dist/types/utils/theme/vuetiful.theme.d.ts +224 -0
  59. package/dist/vuetiful.es.mjs +54831 -49535
  60. package/dist/vuetiful.umd.cjs +189 -0
  61. package/package.json +53 -37
  62. package/dist/style.css +0 -10
  63. package/dist/types/components/VBootstrap.vue.d.ts +0 -15
  64. package/dist/types/components/atoms/VAvatar.test.d.ts +0 -1
  65. package/dist/types/components/atoms/VBadge.test.d.ts +0 -1
  66. package/dist/types/components/atoms/VButton.test.d.ts +0 -1
  67. package/dist/types/components/atoms/VChip.test.d.ts +0 -1
  68. package/dist/types/components/atoms/VLightSwitch.test.d.ts +0 -1
  69. package/dist/types/components/atoms/VRadio/VRadioDescription.test.d.ts +0 -1
  70. package/dist/types/components/atoms/VRadio/VRadioGroup.test.d.ts +0 -1
  71. package/dist/types/components/atoms/VRadio/VRadioItem.test.d.ts +0 -1
  72. package/dist/types/components/atoms/VRadio/VRadioLabel.test.d.ts +0 -1
  73. package/dist/types/components/atoms/VSwitch/VSwitch.test.d.ts +0 -1
  74. package/dist/types/components/atoms/VSwitch/VSwitchDescription.test.d.ts +0 -1
  75. package/dist/types/components/atoms/VSwitch/VSwitchGroup.test.d.ts +0 -1
  76. package/dist/types/components/atoms/VSwitch/VSwitchLabel.test.d.ts +0 -1
  77. package/dist/types/components/molecules/VAccordion/VAccordion.test.d.ts +0 -1
  78. package/dist/types/components/molecules/VAccordion/VAccordionItem.test.d.ts +0 -1
  79. package/dist/types/components/molecules/VAlert.test.d.ts +0 -1
  80. package/dist/types/components/molecules/VCard/VCard.test.d.ts +0 -1
  81. package/dist/types/components/molecules/VCard/VCardBody.test.d.ts +0 -1
  82. package/dist/types/components/molecules/VCard/VCardFooter.test.d.ts +0 -1
  83. package/dist/types/components/molecules/VCard/VCardHeader.test.d.ts +0 -1
  84. package/dist/types/components/molecules/VCodeBlock.test.d.ts +0 -1
  85. package/dist/types/components/molecules/VDrawer.test.d.ts +0 -1
  86. package/dist/types/components/molecules/VListbox/VListbox.test.d.ts +0 -1
  87. package/dist/types/components/molecules/VListbox/VListboxButton.test.d.ts +0 -1
  88. package/dist/types/components/molecules/VListbox/VListboxItem.test.d.ts +0 -1
  89. package/dist/types/components/molecules/VListbox/VListboxItems.test.d.ts +0 -1
  90. package/dist/types/components/molecules/VListbox/VListboxLabel.test.d.ts +0 -1
  91. package/dist/types/components/molecules/VPreview.test.d.ts +0 -1
  92. package/dist/types/components/molecules/VRail/VRail.test.d.ts +0 -1
  93. package/dist/types/components/molecules/VRail/VRailTile.test.d.ts +0 -1
  94. package/dist/types/components/molecules/VShell.test.d.ts +0 -1
  95. package/dist/types/components/molecules/VTabs/VTab.test.d.ts +0 -1
  96. package/dist/types/components/molecules/VTabs/VTabPanel.test.d.ts +0 -1
  97. package/dist/types/components/molecules/VTabs/VTabs.test.d.ts +0 -1
  98. package/dist/types/directives/click-outside-group.test.d.ts +0 -1
  99. package/dist/types/directives/click-outside.test.d.ts +0 -1
  100. package/dist/types/directives/clipboard.test.d.ts +0 -1
  101. package/dist/types/services/dark-mode.service.test.d.ts +0 -1
  102. package/dist/types/services/drawer.service.test.d.ts +0 -1
  103. package/dist/types/services/highlight.service.test.d.ts +0 -1
  104. package/dist/types/services/rail.service.test.d.ts +0 -1
  105. package/dist/types/services/settings.service.test.d.ts +0 -1
  106. package/dist/types/types/index.d.ts +0 -54
  107. package/dist/types/types/tailwind.d.ts +0 -4
  108. package/dist/types/utils/colors/colors.service.d.ts +0 -69
  109. package/dist/types/utils/platform/platform.service.test.d.ts +0 -1
  110. package/dist/types/utils/theme/callback.test.d.ts +0 -1
  111. package/dist/types/utils/theme/remove.test.d.ts +0 -1
  112. package/dist/types/utils/theme/theme.service.test.d.ts +0 -1
  113. package/dist/vuetiful.umd.js +0 -99
  114. package/src/assets/fonts/myfont.woff +0 -0
  115. package/src/assets/main.css +0 -17
  116. package/src/components/VBootstrap.vue +0 -62
  117. package/src/components/atoms/VAvatar.test.ts +0 -175
  118. package/src/components/atoms/VAvatar.vue +0 -89
  119. package/src/components/atoms/VBadge.test.ts +0 -28
  120. package/src/components/atoms/VBadge.vue +0 -17
  121. package/src/components/atoms/VButton.test.ts +0 -180
  122. package/src/components/atoms/VButton.vue +0 -76
  123. package/src/components/atoms/VChip.test.ts +0 -33
  124. package/src/components/atoms/VChip.vue +0 -17
  125. package/src/components/atoms/VLightSwitch.test.ts +0 -69
  126. package/src/components/atoms/VLightSwitch.vue +0 -121
  127. package/src/components/atoms/VRadio/VRadioDescription.test.ts +0 -55
  128. package/src/components/atoms/VRadio/VRadioDescription.vue +0 -14
  129. package/src/components/atoms/VRadio/VRadioGroup.test.ts +0 -81
  130. package/src/components/atoms/VRadio/VRadioGroup.vue +0 -88
  131. package/src/components/atoms/VRadio/VRadioItem.test.ts +0 -183
  132. package/src/components/atoms/VRadio/VRadioItem.vue +0 -36
  133. package/src/components/atoms/VRadio/VRadioLabel.test.ts +0 -55
  134. package/src/components/atoms/VRadio/VRadioLabel.vue +0 -16
  135. package/src/components/atoms/VSwitch/VSwitch.test.ts +0 -100
  136. package/src/components/atoms/VSwitch/VSwitch.vue +0 -106
  137. package/src/components/atoms/VSwitch/VSwitchDescription.test.ts +0 -55
  138. package/src/components/atoms/VSwitch/VSwitchDescription.vue +0 -16
  139. package/src/components/atoms/VSwitch/VSwitchGroup.test.ts +0 -26
  140. package/src/components/atoms/VSwitch/VSwitchGroup.vue +0 -16
  141. package/src/components/atoms/VSwitch/VSwitchLabel.test.ts +0 -89
  142. package/src/components/atoms/VSwitch/VSwitchLabel.vue +0 -20
  143. package/src/components/atoms/index.ts +0 -31
  144. package/src/components/index.ts +0 -2
  145. package/src/components/molecules/VAccordion/VAccordion.test.ts +0 -27
  146. package/src/components/molecules/VAccordion/VAccordion.vue +0 -32
  147. package/src/components/molecules/VAccordion/VAccordionItem.test.ts +0 -134
  148. package/src/components/molecules/VAccordion/VAccordionItem.vue +0 -68
  149. package/src/components/molecules/VAlert.test.ts +0 -100
  150. package/src/components/molecules/VAlert.vue +0 -137
  151. package/src/components/molecules/VCard/VCard.test.ts +0 -47
  152. package/src/components/molecules/VCard/VCard.vue +0 -74
  153. package/src/components/molecules/VCard/VCardBody.test.ts +0 -39
  154. package/src/components/molecules/VCard/VCardBody.vue +0 -16
  155. package/src/components/molecules/VCard/VCardFooter.test.ts +0 -63
  156. package/src/components/molecules/VCard/VCardFooter.vue +0 -31
  157. package/src/components/molecules/VCard/VCardHeader.test.ts +0 -86
  158. package/src/components/molecules/VCard/VCardHeader.vue +0 -53
  159. package/src/components/molecules/VCodeBlock.test.ts +0 -133
  160. package/src/components/molecules/VCodeBlock.vue +0 -113
  161. package/src/components/molecules/VDrawer.test.ts +0 -14
  162. package/src/components/molecules/VDrawer.vue +0 -87
  163. package/src/components/molecules/VListbox/VListbox.test.ts +0 -146
  164. package/src/components/molecules/VListbox/VListbox.vue +0 -149
  165. package/src/components/molecules/VListbox/VListboxButton.test.ts +0 -66
  166. package/src/components/molecules/VListbox/VListboxButton.vue +0 -57
  167. package/src/components/molecules/VListbox/VListboxItem.test.ts +0 -51
  168. package/src/components/molecules/VListbox/VListboxItem.vue +0 -39
  169. package/src/components/molecules/VListbox/VListboxItems.test.ts +0 -44
  170. package/src/components/molecules/VListbox/VListboxItems.vue +0 -42
  171. package/src/components/molecules/VListbox/VListboxLabel.test.ts +0 -30
  172. package/src/components/molecules/VListbox/VListboxLabel.vue +0 -14
  173. package/src/components/molecules/VPreview.test.ts +0 -73
  174. package/src/components/molecules/VPreview.vue +0 -230
  175. package/src/components/molecules/VRail/VRail.test.ts +0 -14
  176. package/src/components/molecules/VRail/VRail.vue +0 -33
  177. package/src/components/molecules/VRail/VRailTile.test.ts +0 -97
  178. package/src/components/molecules/VRail/VRailTile.vue +0 -49
  179. package/src/components/molecules/VShell.test.ts +0 -14
  180. package/src/components/molecules/VShell.vue +0 -63
  181. package/src/components/molecules/VTabs/VTab.test.ts +0 -143
  182. package/src/components/molecules/VTabs/VTab.vue +0 -50
  183. package/src/components/molecules/VTabs/VTabPanel.test.ts +0 -24
  184. package/src/components/molecules/VTabs/VTabPanel.vue +0 -9
  185. package/src/components/molecules/VTabs/VTabs.test.ts +0 -92
  186. package/src/components/molecules/VTabs/VTabs.vue +0 -104
  187. package/src/components/molecules/index.ts +0 -51
  188. package/src/directives/click-outside-group.test.ts +0 -44
  189. package/src/directives/click-outside-group.ts +0 -39
  190. package/src/directives/click-outside.test.ts +0 -38
  191. package/src/directives/click-outside.ts +0 -28
  192. package/src/directives/clipboard.test.ts +0 -26
  193. package/src/directives/clipboard.ts +0 -9
  194. package/src/directives/index.ts +0 -5
  195. package/src/env.d.ts +0 -8
  196. package/src/index.ts +0 -21
  197. package/src/props/index.ts +0 -1
  198. package/src/props/props.ts +0 -62
  199. package/src/services/dark-mode.service.test.ts +0 -104
  200. package/src/services/dark-mode.service.ts +0 -75
  201. package/src/services/drawer.service.test.ts +0 -45
  202. package/src/services/drawer.service.ts +0 -46
  203. package/src/services/highlight.service.test.ts +0 -24
  204. package/src/services/highlight.service.ts +0 -19
  205. package/src/services/index.ts +0 -8
  206. package/src/services/rail.service.test.ts +0 -13
  207. package/src/services/rail.service.ts +0 -11
  208. package/src/services/settings.service.test.ts +0 -17
  209. package/src/services/settings.service.ts +0 -136
  210. package/src/styles/all.css +0 -24
  211. package/src/styles/core.css +0 -66
  212. package/src/styles/elements/alerts.css +0 -17
  213. package/src/styles/elements/badges.css +0 -31
  214. package/src/styles/elements/breadcrumbs.css +0 -26
  215. package/src/styles/elements/buttons.css +0 -103
  216. package/src/styles/elements/cards.css +0 -32
  217. package/src/styles/elements/chips.css +0 -22
  218. package/src/styles/elements/forms.css +0 -269
  219. package/src/styles/elements/lists.css +0 -48
  220. package/src/styles/elements/logo-clouds.css +0 -29
  221. package/src/styles/elements/modals.css +0 -15
  222. package/src/styles/elements/placeholders.css +0 -17
  223. package/src/styles/elements/popups.css +0 -16
  224. package/src/styles/elements/tables.css +0 -102
  225. package/src/styles/elements.css +0 -19
  226. package/src/styles/highlight-js.css +0 -116
  227. package/src/styles/tailwind.css +0 -16
  228. package/src/styles/transitions.css +0 -2
  229. package/src/styles/typography.css +0 -101
  230. package/src/styles/variants.css +0 -156
  231. package/src/tailwind/core.cjs +0 -37
  232. package/src/tailwind/generated/intellisense-classes.cjs +0 -558
  233. package/src/tailwind/intellisense.cjs +0 -21
  234. package/src/tailwind/settings.cjs +0 -20
  235. package/src/tailwind/theme/colors.cjs +0 -20
  236. package/src/tailwind/tokens/backgrounds.cjs +0 -48
  237. package/src/tailwind/tokens/border-radius.cjs +0 -21
  238. package/src/tailwind/tokens/borders.cjs +0 -24
  239. package/src/tailwind/tokens/fills.cjs +0 -20
  240. package/src/tailwind/tokens/rings.cjs +0 -50
  241. package/src/tailwind/tokens/text.cjs +0 -35
  242. package/src/tailwind/vuetiful.cjs +0 -19
  243. package/src/themes/theme-rocket.css +0 -119
  244. package/src/themes/theme-sahara.css +0 -128
  245. package/src/themes/theme-seafoam.css +0 -120
  246. package/src/themes/theme-seasonal.css +0 -115
  247. package/src/themes/theme-skeleton.css +0 -115
  248. package/src/themes/theme-vintage.css +0 -125
  249. package/src/themes/theme-vuetiful.css +0 -136
  250. package/src/types/index.ts +0 -59
  251. package/src/types/tailwind.ts +0 -7
  252. package/src/utils/colors/colors.service.ts +0 -293
  253. package/src/utils/index.ts +0 -8
  254. package/src/utils/platform/platform.service.test.ts +0 -19
  255. package/src/utils/platform/platform.service.ts +0 -8
  256. package/src/utils/theme/callback.test.ts +0 -28
  257. package/src/utils/theme/remove.test.ts +0 -27
  258. package/src/utils/theme/theme-switcher.vue +0 -78
  259. package/src/utils/theme/theme.service.test.ts +0 -269
  260. package/src/utils/theme/theme.service.ts +0 -173
  261. package/src/utils/theme/themes.ts +0 -282
  262. /package/{src/styles → dist/css}/transitions/fade.css +0 -0
package/README.md CHANGED
@@ -1,73 +1,65 @@
1
- # Vuetiful
1
+ # vuetiful
2
2
 
3
- A Vite based Vue3 component library - utilizing TailwindCSS.
3
+ ## Recommended IDE Setup
4
4
 
5
- TailwindCSS is added as a dependency in the consuming app, but is not mandatory to use.
5
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
6
6
 
7
- # Compatability
7
+ ## Type Support for `.vue` Imports in TS
8
8
 
9
- - Vite based Vue3 apps
10
- - Vite based Quasar apps
9
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
11
10
 
12
- # Features
11
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
13
12
 
14
- ## Components
13
+ 1. Disable the built-in TypeScript Extension
14
+ 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
15
+ 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
16
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
15
17
 
16
- ### Atoms
18
+ ## Project Setup
17
19
 
18
- - [x] Avatar
19
- - [x] Badge
20
- - [x] Button
21
- - [ ] Conic Gradients
22
- - [x] Chip
23
- - [ ] File Button
24
- - [ ] File Dropzone
25
- - [ ] Input Chip
26
- - [x] Lightswitch (dark mode)
27
- - [ ] Placeholder
28
- - [ ] Progress Bar
29
- - [ ] Progress Radial
30
- - [x] Radio (group, item, label, description)
31
- - [ ] Range Slider
32
- - [x] Switch
20
+ ```sh
21
+ pnpm install
22
+ ```
33
23
 
34
- ### Molecules
24
+ ### Compile and Hot-Reload for Development
35
25
 
36
- - [x] Accordion
37
- - [x] Alert
38
- - [ ] Autocomplete
39
- - [x] Code Block (with syntax highlighting and copy to clipboard)
40
- - [ ] Breadcrumb
41
- - [ ] Card
42
- - [x] Drawer
43
- - [ ] List
44
- - [x] Listbox
45
- - [ ] Modal
46
- - [ ] Paginator
47
- - [ ] Popup
48
- - [x] Preview
49
- - [x] Rail (rail, rail tile)
50
- - [x] Shell
51
- - [ ] Stepper
52
- - [x] Tabs
53
- - [ ] Table
54
- - [ ] Table of Contents
55
- - [ ] Toast
56
- - [x] Themes
57
- - TODO - move from utils to molecules
26
+ ```sh
27
+ pnpm dev
28
+ ```
58
29
 
59
- ## Directives
30
+ ### Type-Check, Compile and Minify for Production
60
31
 
61
- - [x] Clipboard
32
+ ```sh
33
+ pnpm build
34
+ ```
62
35
 
63
- ## Utilities
36
+ ### Run Unit Tests with [Vitest](https://vitest.dev/)
64
37
 
65
- - [x] Platform (detects if SSR or Browser)
38
+ ```sh
39
+ pnpm test:unit
40
+ ```
66
41
 
67
- # Docs
42
+ ### Run End-to-End Tests with [Playwright](https://playwright.dev)
68
43
 
69
- [Vuetiful Docs](https://vuetiful.dev)
44
+ ```sh
45
+ # Install browsers for the first run
46
+ npx playwright install
70
47
 
71
- # Credits
48
+ # When testing on CI, must build the project first
49
+ pnpm build
72
50
 
73
- Inspiration for this project comes from [Skeleton](https://skeleton.dev) - a UI Toolkit for SvelteKit. If you are looking for a SvelteKit UI Toolkit, I highly recommend it.
51
+ # Runs the end-to-end tests
52
+ pnpm test:e2e
53
+ # Runs the tests only on Chromium
54
+ pnpm test:e2e -- --project=chromium
55
+ # Runs the tests of a specific file
56
+ pnpm test:e2e -- tests/example.spec.ts
57
+ # Runs the tests in debug mode
58
+ pnpm test:e2e -- --debug
59
+ ```
60
+
61
+ ### Lint with [ESLint](https://eslint.org/)
62
+
63
+ ```sh
64
+ pnpm lint
65
+ ```
@@ -0,0 +1,2 @@
1
+ @import './transitions/slide.css';
2
+ @import './transitions/fade.css';
@@ -24,14 +24,14 @@ body,
24
24
  /*
25
25
  * This is done to prevent double scrollbars
26
26
  */
27
- height: 100%;
28
- overflow: hidden;
27
+ /* height: 100%; */
28
+ /* overflow: hidden; */
29
29
 
30
30
  /*
31
31
  * Reset several font properties to browser defaults
32
32
  */
33
33
  font-size: 16px;
34
- font-family: var(--theme-font-family-base), sans-serif;
34
+ font-family: var(--base-font-family), sans-serif;
35
35
  -moz-osx-font-smoothing: auto;
36
36
  }
37
37
 
@@ -58,81 +58,90 @@ body,
58
58
  /* app global css */
59
59
  .q-avatar,
60
60
  .q-chip .q-avatar {
61
- @apply rounded-token;
61
+ @apply rounded;
62
62
  @apply transition-all;
63
63
  }
64
64
 
65
65
  .q-badge {
66
- @apply rounded-token;
66
+ @apply rounded;
67
67
 
68
68
  @apply transition-all;
69
69
  }
70
70
 
71
71
  .q-banner {
72
- @apply rounded-container-token;
72
+ @apply rounded-container;
73
73
  @apply transition-all;
74
74
  }
75
75
 
76
76
  .q-btn {
77
- @apply rounded-token;
77
+ @apply rounded;
78
78
  @apply transition-all;
79
79
  }
80
80
 
81
81
  .q-btn-group {
82
- @apply rounded-token;
82
+ @apply rounded;
83
83
  @apply transition-all;
84
84
 
85
85
  width: fit-content;
86
86
  }
87
87
 
88
88
  .q-btn-dropdown {
89
- @apply rounded-token;
89
+ @apply rounded;
90
90
  @apply transition-all;
91
91
  }
92
92
 
93
93
  .q-menu {
94
- @apply bg-surface-100-800-token;
95
- @apply text-surface-900-50-token;
94
+ @apply bg-surface-100-900;
95
+ @apply text-surface-950-50;
96
96
 
97
- @apply rounded-container-token;
97
+ @apply rounded-container;
98
98
  @apply transition-all;
99
99
  }
100
100
 
101
101
  .q-menu--dark {
102
- 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);
102
+ box-shadow:
103
+ 0 1px 5px rgba(0, 0, 0, 0.2),
104
+ 0 2px 2px rgba(0, 0, 0, 0.14),
105
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12);
103
106
  }
104
107
 
105
108
  .q-card {
106
- @apply rounded-container-token;
109
+ @apply rounded-container;
107
110
  @apply transition-all;
108
111
  }
109
112
 
110
113
  /* Overwrite the white shadow with the normal shadow */
111
114
  .q-card--dark {
112
- 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);
115
+ box-shadow:
116
+ 0 1px 5px rgba(0, 0, 0, 0.2),
117
+ 0 2px 2px rgba(0, 0, 0, 0.14),
118
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12);
113
119
  }
114
120
 
115
121
  .q-chip {
116
- @apply rounded-token;
122
+ @apply rounded;
117
123
  @apply transition-all;
118
124
  }
119
125
 
120
126
  .q-color-picker {
121
- @apply rounded-container-token;
127
+ @apply rounded-container;
122
128
  @apply transition-all;
123
129
  }
124
130
 
125
131
  .q-color-picker--dark {
126
- 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);
132
+ box-shadow:
133
+ 0 1px 5px rgba(0, 0, 0, 0.2),
134
+ 0 2px 2px rgba(0, 0, 0, 0.14),
135
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12);
127
136
  }
128
137
 
129
138
  .q-color-picker__header-bg {
130
- @apply rounded-tl-container-token;
131
- @apply rounded-tr-container-token;
139
+ @apply rounded-tl-container;
140
+ @apply rounded-tr-container;
132
141
  }
133
142
 
134
143
  .q-editor {
135
- @apply rounded-container-token;
144
+ @apply rounded-container;
136
145
  @apply transition-all;
137
146
  }
138
147
 
@@ -166,31 +175,31 @@ body,
166
175
  * the background and text color need to be set here
167
176
  */
168
177
  .q-list {
169
- @apply bg-surface-100-800-token;
170
- @apply text-surface-900-50-token;
178
+ @apply bg-surface-100-900;
179
+ @apply text-surface-950-50;
171
180
 
172
- @apply rounded-container-token;
181
+ @apply rounded-container;
173
182
  @apply transition-all;
174
183
  }
175
184
 
176
185
  .q-list .q-card {
177
- @apply bg-surface-100-800-token;
178
- @apply text-surface-900-50-token;
186
+ @apply bg-surface-100-900;
187
+ @apply text-surface-950-50;
179
188
  }
180
189
 
181
190
  .q-list > .q-expansion-item:first-child .q-focus-helper {
182
- @apply rounded-tl-container-token;
183
- @apply rounded-tr-container-token;
191
+ @apply rounded-tl-container;
192
+ @apply rounded-tr-container;
184
193
  }
185
194
 
186
195
  .q-list > .q-expansion-item:last-child .q-focus-helper {
187
- @apply rounded-bl-container-token;
188
- @apply rounded-br-container-token;
196
+ @apply rounded-bl-container;
197
+ @apply rounded-br-container;
189
198
  }
190
199
 
191
200
  .q-list > .q-expansion-item:last-child .q-card {
192
- @apply rounded-bl-container-token;
193
- @apply rounded-br-container-token;
201
+ @apply rounded-bl-container;
202
+ @apply rounded-br-container;
194
203
  }
195
204
 
196
205
  .q-drawer .q-list {
@@ -199,23 +208,23 @@ body,
199
208
  }
200
209
 
201
210
  .q-input {
202
- @apply rounded-container-token;
211
+ @apply rounded-container;
203
212
  @apply transition-all;
204
213
  }
205
214
 
206
215
  .q-field__control::before {
207
- @apply rounded-container-token;
216
+ @apply rounded-container;
208
217
  }
209
218
 
210
219
  .q-field--outlined .q-field__control::after {
211
- @apply rounded-container-token;
220
+ @apply rounded-container;
212
221
  }
213
222
 
214
223
  .q-input,
215
224
  .q-select,
216
225
  .q-file,
217
226
  .q-time {
218
- @apply rounded-container-token;
227
+ @apply rounded-container;
219
228
  }
220
229
 
221
230
  .q-item--dark {
@@ -228,43 +237,49 @@ body,
228
237
  }
229
238
 
230
239
  .q-time {
231
- 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);
240
+ box-shadow:
241
+ 0 1px 5px rgba(0, 0, 0, 0.2),
242
+ 0 2px 2px rgba(0, 0, 0, 0.14),
243
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12);
232
244
 
233
- @apply bg-surface-100-800-token;
234
- @apply text-surface-900-50-token;
245
+ @apply bg-surface-100-900;
246
+ @apply text-surface-950-50;
235
247
 
236
- @apply rounded-tl-container-token;
237
- @apply rounded-tr-container-token;
248
+ @apply rounded-tl-container;
249
+ @apply rounded-tr-container;
238
250
  }
239
251
 
240
252
  .q-time__header {
241
- @apply bg-surface-300-600-token;
242
- @apply text-surface-900-50-token;
253
+ @apply bg-surface-300-700;
254
+ @apply text-surface-950-50;
243
255
 
244
- @apply rounded-tl-container-token;
245
- @apply rounded-tr-container-token;
256
+ @apply rounded-tl-container;
257
+ @apply rounded-tr-container;
246
258
  }
247
259
 
248
260
  .q-time__clock-position--active,
249
261
  .q-time__clock-pointer {
250
- @apply bg-surface-900-50-token;
251
- @apply text-surface-50-900-token;
262
+ @apply bg-surface-900-100;
263
+ @apply text-surface-50-950;
252
264
  }
253
265
 
254
266
  .q-date {
255
- 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);
267
+ box-shadow:
268
+ 0 1px 5px rgba(0, 0, 0, 0.2),
269
+ 0 2px 2px rgba(0, 0, 0, 0.14),
270
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12);
256
271
 
257
- @apply bg-surface-100-800-token;
258
- @apply text-surface-900-50-token;
272
+ @apply bg-surface-100-900;
273
+ @apply text-surface-950-50;
259
274
 
260
- @apply rounded-container-token;
275
+ @apply rounded-container;
261
276
  }
262
277
 
263
278
  .q-date__calendar-item .q-btn {
264
- @apply bg-surface-100-800-token;
265
- @apply text-surface-900-50-token;
279
+ @apply bg-surface-100-900;
280
+ @apply text-surface-950-50;
266
281
 
267
- @apply rounded-token;
282
+ @apply rounded;
268
283
  }
269
284
 
270
285
  .q-date__calendar-item .q-btn--unelevated {
@@ -274,14 +289,14 @@ body,
274
289
 
275
290
  .q-date__navigation .q-btn {
276
291
  @apply bg-transparent;
277
- @apply text-surface-900-50-token;
292
+ @apply text-surface-950-50;
278
293
 
279
- @apply rounded-token;
294
+ @apply rounded;
280
295
  }
281
296
 
282
297
  .q-date__header {
283
- @apply bg-surface-300-600-token;
284
- @apply text-surface-900-50-token;
298
+ @apply bg-surface-300-700;
299
+ @apply text-surface-950-50;
285
300
  }
286
301
 
287
302
  .q-date__months {
@@ -10,6 +10,12 @@
10
10
  .slide-left-300-leave-active {
11
11
  animation: slide-left 300ms reverse;
12
12
  }
13
+ .slide-left-900-enter-active {
14
+ animation: slide-left 900ms;
15
+ }
16
+ .slide-left-900-leave-active {
17
+ animation: slide-left 900ms reverse;
18
+ }
13
19
  @keyframes slide-left {
14
20
  0% {
15
21
  transform: translateX(-100%);
Binary file
@@ -1,96 +1,45 @@
1
- import { CssClasses } from '@/index';
2
- declare const _default: import("vue").DefineComponent<{
3
- initials: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- fill: {
8
- type: () => CssClasses;
9
- default: string;
10
- };
11
- classInitials: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- src: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- alt: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- fallback: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- classImage: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- size: {
32
- type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
33
- default: string;
34
- };
35
- variant: {
36
- type: import("vue").PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
37
- default: string;
38
- };
39
- unstyled: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
- initials: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- fill: {
49
- type: () => CssClasses;
50
- default: string;
51
- };
52
- classInitials: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- src: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- alt: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- fallback: {
65
- type: StringConstructor;
66
- default: string;
67
- };
68
- classImage: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- size: {
73
- type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
74
- default: string;
75
- };
76
- variant: {
77
- type: import("vue").PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
78
- default: string;
79
- };
80
- unstyled: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- }>>, {
85
- variant: "" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface";
86
- unstyled: boolean;
87
- fill: string;
88
- size: "xs" | "sm" | "md" | "lg" | "xl";
1
+ type AvatarProps = {
2
+ class?: string;
3
+ initials?: string;
4
+ src?: string;
5
+ alt?: string;
6
+ fallback?: string;
7
+ classImage?: string;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
10
+ src: string;
11
+ alt: string;
12
+ fallback: string;
13
+ classImage: string;
14
+ initials: string;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
16
+ src: string;
17
+ alt: string;
18
+ fallback: string;
19
+ classImage: string;
20
+ initials: string;
21
+ }>>>, {
89
22
  initials: string;
90
- classInitials: string;
91
23
  src: string;
92
24
  alt: string;
93
25
  fallback: string;
94
26
  classImage: string;
95
- }>;
27
+ }, {}>;
96
28
  export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -1,23 +1,36 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- variant: {
3
- type: import("vue").PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
4
- default: string;
5
- };
6
- unstyled: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- variant: {
12
- type: import("vue").PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
13
- default: string;
14
- };
15
- unstyled: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- }>>, {
20
- variant: "" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface";
21
- unstyled: boolean;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ class?: string | undefined;
3
+ }>, {
4
+ class: string;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ class?: string | undefined;
7
+ }>, {
8
+ class: string;
9
+ }>>>, {
10
+ class: string;
11
+ }, {}>, {
12
+ default?(_: {}): any;
22
13
  }>;
23
14
  export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };