nanosplash 3.1.0 → 3.1.1
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/.github/workflows/ci.yml +51 -49
- package/.github/workflows/vitepress.yml +52 -52
- package/README.md +22 -2
- package/dist/cjs/ns.cjs +1 -1
- package/dist/es/ns.js +40 -40
- package/dist/iife/ns.iife.js +1 -1
- package/docs/.vitepress/theme/vue/Exe.vue +65 -61
- package/docs/api/start/customize.md +1 -1
- package/package.json +90 -91
- package/src/ts/Nanosplash.ts +58 -58
- package/tests/Nanosplash.spec.ts +7 -5
- package/bun.lockb +0 -0
- package/docs/.vitepress/.temp/@localSearchIndexroot.Ba2B1gNE.js +0 -4
- package/docs/.vitepress/.temp/Card.Ce4dbGEn.js +0 -30
- package/docs/.vitepress/.temp/VPLocalSearchBox.DV6bivXX.js +0 -382
- package/docs/.vitepress/.temp/api_doc_hide.md.js +0 -25
- package/docs/.vitepress/.temp/api_doc_show.md.js +0 -25
- package/docs/.vitepress/.temp/api_start_customize.md.js +0 -42
- package/docs/.vitepress/.temp/api_start_features.md.js +0 -19
- package/docs/.vitepress/.temp/api_start_install.md.js +0 -35
- package/docs/.vitepress/.temp/api_start_playground.md.js +0 -213
- package/docs/.vitepress/.temp/api_start_usage.md.js +0 -36
- package/docs/.vitepress/.temp/app.js +0 -5090
- package/docs/.vitepress/.temp/assets/style.lcyfX_uc.css +0 -5374
- package/docs/.vitepress/.temp/index.md.js +0 -19
- package/docs/.vitepress/.temp/macos.jpg +0 -0
- package/docs/.vitepress/.temp/package.json +0 -1
- package/docs/.vitepress/.temp/plugin-vue_export-helper.1tPrXgE0.js +0 -10
- /package/docs/.vitepress/{config.mts → config.ts} +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ssrRenderAttrs } from "vue/server-renderer";
|
|
2
|
-
import { useSSRContext } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./plugin-vue_export-helper.1tPrXgE0.js";
|
|
4
|
-
const __pageData = JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Nanosplash","text":"","tagline":"The tiny loading screen for web artisans","actions":[{"theme":"brand","text":"Get started","link":"/api/start/install.md"},{"theme":"alt","text":"Playground","link":"/api/start/playground.md"},{"theme":"alt","text":"API Documentation","link":"/api/doc/show.md"}]},"features":[{"title":"✨ Tiny","details":"Less than 2KB minified and gzipped.","link":"/api/start/features#small-bundle-size"},{"title":"✌️ 2 Function API","details":"Start using Nanosplash in seconds.","link":"/api/start/features#simple-api"},{"title":"🪴 Spawning","details":"Spawn a splash element anywhere in your DOM.","link":"/api/start/features#spawning"},{"title":"🚀 Node recycling","details":"Nanosplash will recycle existing elements.","link":"/api/start/features#element-recycling"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}');
|
|
5
|
-
const _sfc_main = { name: "index.md" };
|
|
6
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
7
|
-
_push(`<div${ssrRenderAttrs(_attrs)}></div>`);
|
|
8
|
-
}
|
|
9
|
-
const _sfc_setup = _sfc_main.setup;
|
|
10
|
-
_sfc_main.setup = (props, ctx) => {
|
|
11
|
-
const ssrContext = useSSRContext();
|
|
12
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("index.md");
|
|
13
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
14
|
-
};
|
|
15
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
16
|
-
export {
|
|
17
|
-
__pageData,
|
|
18
|
-
index as default
|
|
19
|
-
};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "private": true, "type": "module" }
|
|
File without changes
|