rizzo-css 0.0.6 → 0.0.7
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/bin/rizzo-css.js +12 -0
- package/package.json +1 -1
- package/scaffold/astro-app/package.json +1 -13
- package/scaffold/svelte-app/package.json +13 -11
- package/scaffold/svelte-app/src/app.html +0 -1
- package/scaffold/svelte-app/src/routes/+layout.svelte +5 -0
- package/scaffold/svelte-app/static/robots.txt +3 -0
- package/scaffold/svelte-app/svelte.config.js +6 -4
- package/scaffold/svelte-app/tsconfig.json +19 -13
- /package/scaffold/svelte-app/{static → src/lib/assets}/favicon.svg +0 -0
package/bin/rizzo-css.js
CHANGED
|
@@ -232,6 +232,18 @@ function multiSelectMenu(options, title) {
|
|
|
232
232
|
render(false);
|
|
233
233
|
return;
|
|
234
234
|
}
|
|
235
|
+
if (ch === 'a' || ch === 'A') {
|
|
236
|
+
buf = '';
|
|
237
|
+
for (let i = 0; i < items.length; i++) selected.add(i);
|
|
238
|
+
render(false);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
if (ch === 'n' || ch === 'N') {
|
|
242
|
+
buf = '';
|
|
243
|
+
selected.clear();
|
|
244
|
+
render(false);
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
235
247
|
buf += ch;
|
|
236
248
|
const isUp = buf === '\u001b[A' || buf === '\u001bOA' || (buf.length >= 2 && buf.endsWith('A') && buf.startsWith('\u001b'));
|
|
237
249
|
const isDown = buf === '\u001b[B' || buf === '\u001bOB' || (buf.length >= 2 && buf.endsWith('B') && buf.startsWith('\u001b'));
|
package/package.json
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{PROJECT_NAME}}",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
7
|
-
"build": "astro build",
|
|
8
|
-
"preview": "astro preview"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"astro": "^5.0.0"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
{"name":"{{PROJECT_NAME}}","type":"module","version":"0.0.1","scripts":{"dev":"astro dev","build":"astro build","preview":"astro preview"},"devDependencies":{"astro":"^5.0.0"}}
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
"dev": "vite dev",
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"preview": "vite preview",
|
|
9
|
+
"prepare": "svelte-kit sync || echo ''",
|
|
10
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
11
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
"@sveltejs/adapter-auto": "^7.0.0",
|
|
15
|
+
"@sveltejs/kit": "^2.50.2",
|
|
16
|
+
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
17
|
+
"svelte": "^5.49.2",
|
|
18
|
+
"svelte-check": "^4.3.6",
|
|
19
|
+
"typescript": "^5.9.3",
|
|
20
|
+
"vite": "^7.3.1"
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
7
6
|
<!-- Rizzo CSS: full bundle (reset + base + components + themes) -->
|
|
8
7
|
<link rel="stylesheet" href="/css/rizzo.min.css" />
|
|
9
8
|
%sveltekit.head%
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
// @ts-check
|
|
2
1
|
import adapter from '@sveltejs/adapter-auto';
|
|
3
2
|
|
|
4
3
|
/** @type {import('@sveltejs/kit').Config} */
|
|
5
4
|
const config = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
kit: {
|
|
6
|
+
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
|
7
|
+
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
|
8
|
+
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
|
9
|
+
adapter: adapter()
|
|
10
|
+
}
|
|
9
11
|
};
|
|
10
12
|
|
|
11
13
|
export default config;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"extends": "./.svelte-kit/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rewriteRelativeImportExtensions": true,
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"checkJs": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"module": "ESNext",
|
|
14
|
+
"moduleResolution": "bundler"
|
|
15
|
+
}
|
|
16
|
+
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
|
17
|
+
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
|
18
|
+
//
|
|
19
|
+
// To make changes to top-level options such as include and exclude, we recommend extending
|
|
20
|
+
// the generated config; see https://svelte.dev/docs/kit/configuration#typescript
|
|
15
21
|
}
|
|
File without changes
|