@frontfactory/vitepress-theme 1.9.0 → 1.10.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.
- package/CHANGELOG.md +11 -0
- package/README.md +11 -404
- package/config.js +7 -10
- package/dist/style.css +1 -1
- package/node/banner.d.ts +3 -0
- package/node/banner.js +14 -0
- package/node/blog.d.ts +8 -0
- package/node/blog.js +44 -0
- package/node/options.d.ts +1 -0
- package/node/options.js +17 -0
- package/node/page-actions.d.ts +12 -0
- package/node/page-actions.js +34 -0
- package/node/pages.js +20 -8
- package/node/rss.js +10 -15
- package/package.json +1 -1
- package/src/blog/posts.data.ts +5 -3
- package/src/components/FfBackToTop.vue +5 -35
- package/src/components/FfBanner.vue +3 -2
- package/src/components/FfCopyStatus.vue +6 -14
- package/src/components/FfDocMeta.vue +8 -16
- package/src/components/FfFeedback.vue +4 -9
- package/src/components/FfPost.vue +2 -1
- package/src/components/FfProgress.vue +6 -40
- package/src/composables/blog.ts +8 -14
- package/src/composables/copy.ts +4 -11
- package/src/composables/frame.ts +50 -0
- package/src/composables/transient.ts +27 -0
- package/src/styles/_code.scss +6 -8
- package/src/styles/_doc.scss +12 -1
- package/src/styles/_home.scss +20 -12
- package/src/styles/_mixins.scss +24 -0
- package/src/types.ts +3 -2
- package/types/composables/blog.d.ts +3 -4
- package/types/composables/frame.d.ts +6 -0
- package/types/composables/transient.d.ts +6 -0
- package/types/types.d.ts +3 -2
package/types/types.d.ts
CHANGED
|
@@ -221,8 +221,9 @@ export interface ThemeOptions {
|
|
|
221
221
|
*/
|
|
222
222
|
feedback?: boolean | FeedbackConfig;
|
|
223
223
|
/**
|
|
224
|
-
* Menu in the page kicker with page actions.
|
|
225
|
-
*
|
|
224
|
+
* Menu in the page kicker with page actions. By default only "Copy link" is on; `true` turns on
|
|
225
|
+
* every action and `false` turns the menu off.
|
|
226
|
+
* The Markdown source is injected by `ffTransformPageData`, which a site defining its own
|
|
226
227
|
* `transformPageData` must call from it. Mastodon has no universal share intent, so its link
|
|
227
228
|
* targets `mastodonInstance` (defaults to `mastodon.social`).
|
|
228
229
|
*/
|