@md-plugins/quasar-app-extension-q-press 0.1.0-beta.21 → 0.1.0-beta.22

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 (30) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +1 -1
  3. package/dist/install.js +1 -1
  4. package/dist/templates/init/src/_q-press/components/MarkdownApi.vue +1 -1
  5. package/dist/templates/init/src/_q-press/css/app.scss +73 -0
  6. package/dist/templates/init/src/_q-press/css/themes/newspaper.scss +4 -4
  7. package/dist/templates/init/src/components/LandingPage/LandingPage.vue +1068 -225
  8. package/dist/templates/init/src/markdown/other/upgrade-guide.md +8 -7
  9. package/dist/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
  10. package/dist/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
  11. package/dist/templates/init/src/pages/Error404.vue +19 -0
  12. package/dist/templates/init/src/pages/ErrorNotFound.vue +19 -0
  13. package/dist/templates/update/src/_q-press/components/MarkdownApi.vue +1 -1
  14. package/dist/templates/update/src/_q-press/css/app.scss +73 -0
  15. package/dist/templates/update/src/_q-press/css/themes/newspaper.scss +4 -4
  16. package/package.json +17 -17
  17. package/src/index.ts +1 -1
  18. package/src/install.ts +1 -1
  19. package/src/templates/init/src/_q-press/components/MarkdownApi.vue +1 -1
  20. package/src/templates/init/src/_q-press/css/app.scss +73 -0
  21. package/src/templates/init/src/_q-press/css/themes/newspaper.scss +4 -4
  22. package/src/templates/init/src/components/LandingPage/LandingPage.vue +1068 -225
  23. package/src/templates/init/src/markdown/other/upgrade-guide.md +8 -7
  24. package/src/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
  25. package/src/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
  26. package/src/templates/init/src/pages/Error404.vue +19 -0
  27. package/src/templates/init/src/pages/ErrorNotFound.vue +19 -0
  28. package/src/templates/update/src/_q-press/components/MarkdownApi.vue +1 -1
  29. package/src/templates/update/src/_q-press/css/app.scss +73 -0
  30. package/src/templates/update/src/_q-press/css/themes/newspaper.scss +4 -4
@@ -8,10 +8,10 @@ related:
8
8
  - vite-plugins/vite-md-plugin/overview
9
9
  ---
10
10
 
11
- The `0.1.0` beta line moves the Quasar app extensions, including Q-Press, to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.33`.
11
+ The `0.1.0` beta line moves the Quasar app extensions, including Q-Press, to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.36`.
12
12
 
13
13
  ::: warning
14
- Q-Press and the Quasar app extension packages now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.33`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
14
+ Q-Press and the Quasar app extension packages now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.36`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
15
15
  :::
16
16
 
17
17
  ::: tip
@@ -21,7 +21,7 @@ The core Markdown-it plugins and direct Vite plugins are not Quasar-only. You ca
21
21
  ## Before You Upgrade
22
22
 
23
23
  - For Q-Press or the Quasar app extensions, make sure your app is already on a Quasar Vite setup.
24
- - For Q-Press or the Quasar app extensions, upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.33`.
24
+ - For Q-Press or the Quasar app extensions, upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.36`.
25
25
  - Use TypeScript in the consuming Quasar project when using the Quasar app extensions.
26
26
  - Import `defineConfig` in `quasar.config.ts` directly from `@quasar/app-vite`.
27
27
  - Use `/// <reference types="@quasar/app-vite/client" />` in `src/env.d.ts`.
@@ -69,13 +69,14 @@ Q-Press applications should not install or import `@md-plugins/shared` directly.
69
69
 
70
70
  If your project has this dependency, remove it from the consuming app:
71
71
 
72
- ```bash
72
+ ```tabs
73
+ <<| bash pnpm |>>
73
74
  pnpm remove @md-plugins/shared
74
- # or
75
+ <<| bash npm |>>
75
76
  npm uninstall @md-plugins/shared
76
- # or
77
+ <<| bash yarn |>>
77
78
  yarn remove @md-plugins/shared
78
- # or
79
+ <<| bash bun |>>
79
80
  bun remove @md-plugins/shared
80
81
  ```
81
82
 
@@ -6,7 +6,7 @@ desc: Q-Press App-Extension for Quasar.
6
6
  The Q-Press App Extension is a powerful tool for Quasar developers that simplifies the integration of Markdown content into Quasar applications. It leverages the capabilities of Vite and various Markdown plugins to transform Markdown files into Vue components, enabling a seamless and efficient workflow for content management.
7
7
 
8
8
  ::: warning
9
- Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.33` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
9
+ Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.36` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
10
10
  :::
11
11
 
12
12
  ::: tip
@@ -9,7 +9,7 @@ related:
9
9
  The `viteMdPluginAppExt` is a [Quasar App Extension](https://quasar.dev/app-extensions/introduction) that integrates the `viteMdPlugin` into your Quasar project. This extension allows you to use Markdown files as Vue components, enabling a seamless integration of Markdown content into your Quasar application.
10
10
 
11
11
  ::: warning
12
- This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.33`.
12
+ This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.36`.
13
13
  :::
14
14
 
15
15
  ## Key Features
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <div class="qpress-error-page markdown-technical fullscreen text-center q-pa-xl flex flex-center">
3
+ <section class="qpress-error-page__content" aria-labelledby="qpress-error-title">
4
+ <p class="qpress-error-page__eyebrow">Page Not Found</p>
5
+
6
+ <h1 id="qpress-error-title" class="qpress-error-page__code">404</h1>
7
+
8
+ <p class="qpress-error-page__message">
9
+ The page you are looking for is not available in these docs.
10
+ </p>
11
+
12
+ <q-btn class="qpress-error-page__button q-mt-xl" unelevated to="/" label="Go Home" no-caps />
13
+ </section>
14
+ </div>
15
+ </template>
16
+
17
+ <script setup lang="ts">
18
+ defineOptions({ name: 'Error404' })
19
+ </script>
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <div class="qpress-error-page markdown-technical fullscreen text-center q-pa-xl flex flex-center">
3
+ <section class="qpress-error-page__content" aria-labelledby="qpress-error-title">
4
+ <p class="qpress-error-page__eyebrow">Page Not Found</p>
5
+
6
+ <h1 id="qpress-error-title" class="qpress-error-page__code">404</h1>
7
+
8
+ <p class="qpress-error-page__message">
9
+ The page you are looking for is not available in these docs.
10
+ </p>
11
+
12
+ <q-btn class="qpress-error-page__button q-mt-xl" unelevated to="/" label="Go Home" no-caps />
13
+ </section>
14
+ </div>
15
+ </template>
16
+
17
+ <script setup lang="ts">
18
+ defineOptions({ name: 'ErrorNotFound' })
19
+ </script>
@@ -663,7 +663,7 @@ body.body--light {
663
663
 
664
664
  body.body--dark {
665
665
  .markdown-api .q-badge {
666
- color: $brand-dark;
666
+ color: $brand-dark-text;
667
667
  background-color: $brand-primary;
668
668
  }
669
669
 
@@ -693,3 +693,76 @@ body.body--dark .markdown-card-title {
693
693
  border-top-color: color.scale($brand-secondary, $lightness: -30%);
694
694
  }
695
695
  }
696
+
697
+ .qpress-error-page {
698
+ overflow: hidden;
699
+ color: $brand-light-text;
700
+ background:
701
+ radial-gradient(circle at top right, rgba($brand-primary, 0.24), transparent 34rem),
702
+ linear-gradient(135deg, color.scale($light-bg, $lightness: 8%), $light-bg);
703
+
704
+ &__content {
705
+ width: min(680px, 100%);
706
+ }
707
+
708
+ &__eyebrow {
709
+ margin: 0 0 10px;
710
+ color: $brand-secondary;
711
+ font-family: $font-family-brand;
712
+ font-size: 0.85rem;
713
+ font-weight: 700;
714
+ letter-spacing: 0.18em;
715
+ text-transform: uppercase;
716
+ }
717
+
718
+ &__code {
719
+ margin: 0;
720
+ color: $brand-primary;
721
+ font-family: $font-family-brand;
722
+ font-size: clamp(6rem, 24vw, 18rem);
723
+ font-weight: 800;
724
+ line-height: 0.85;
725
+ text-shadow: 0 20px 52px rgba($brand-primary, 0.22);
726
+ }
727
+
728
+ &__message {
729
+ max-width: 34rem;
730
+ margin: 24px auto 0;
731
+ color: rgba($brand-light-text, 0.78);
732
+ font-size: clamp(1.25rem, 3vw, 2rem);
733
+ line-height: 1.35;
734
+ }
735
+
736
+ &__button {
737
+ color: $brand-light-bg !important;
738
+ background: $brand-primary !important;
739
+ border: 1px solid rgba($brand-primary, 0.45);
740
+ box-shadow: $shadow--small;
741
+ }
742
+ }
743
+
744
+ body.body--dark .qpress-error-page {
745
+ color: $brand-dark-text;
746
+ background:
747
+ radial-gradient(circle at top right, rgba($brand-accent, 0.18), transparent 34rem),
748
+ linear-gradient(135deg, color.scale($brand-dark-bg, $lightness: 8%), $brand-dark-bg);
749
+
750
+ .qpress-error-page__eyebrow {
751
+ color: $brand-accent;
752
+ }
753
+
754
+ .qpress-error-page__code {
755
+ color: $brand-accent;
756
+ text-shadow: 0 20px 52px rgba($brand-accent, 0.26);
757
+ }
758
+
759
+ .qpress-error-page__message {
760
+ color: rgba($brand-dark-text, 0.78);
761
+ }
762
+
763
+ .qpress-error-page__button {
764
+ color: $brand-dark-bg !important;
765
+ background: $brand-accent !important;
766
+ border-color: rgba($brand-accent, 0.5);
767
+ }
768
+ }
@@ -25,10 +25,10 @@ $brand-light-codeblock-text: #333333;
25
25
  $brand-dark-codeblock-bg: #1a1a1a;
26
26
  $brand-dark-codeblock-text: #e6e6e6;
27
27
 
28
- $header-btn-color--light: #4d4d4d;
29
- $header-btn-hover-color--light: #1a1a1a;
30
- $header-btn-color--dark: #999999;
31
- $header-btn-hover-color--dark: #cccccc;
28
+ $header-btn-color--light: #747efc;
29
+ $header-btn-hover-color--light: #5a63dc;
30
+ $header-btn-color--dark: #aeb6ff;
31
+ $header-btn-hover-color--dark: #d8dcff;
32
32
 
33
33
  $light-pill: $brand-light;
34
34
  $light-text: $brand-light-text;