{props.children};
13 | };
14 |
15 | export default CodePrimitive;
16 |
--------------------------------------------------------------------------------
/packages/bounds/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "composite": true,
5 | "outDir": "dist",
6 | "rootDir": "src"
7 | },
8 | "references": [
9 | {
10 | "path": "../event-listener"
11 | },
12 | {
13 | "path": "../resize-observer"
14 | },
15 | {
16 | "path": "../static-store"
17 | },
18 | {
19 | "path": "../utils"
20 | }
21 | ],
22 | "include": [
23 | "src"
24 | ]
25 | }
--------------------------------------------------------------------------------
/packages/spring/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # @solid-primitives/spring
2 |
3 | ## 0.1.2
4 |
5 | ### Patch Changes
6 |
7 | - 396812d: Enable verbatimModuleSyntax -> add `type` keyword to all type imports.
8 |
9 | ## 0.1.1
10 |
11 | ### Patch Changes
12 |
13 | - 53f08cc: fix: Move `"@solid-primitives/source"` export condition under import in package.json
14 | (Fixes #774, Fixes #749)
15 |
16 | ## 0.1.0
17 |
18 | ### Minor Changes
19 |
20 | - ea09f71: Remove CJS support. The package is ESM only now.
21 |
--------------------------------------------------------------------------------
/packages/resize-observer/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "composite": true,
5 | "outDir": "dist",
6 | "rootDir": "src"
7 | },
8 | "references": [
9 | {
10 | "path": "../event-listener"
11 | },
12 | {
13 | "path": "../rootless"
14 | },
15 | {
16 | "path": "../static-store"
17 | },
18 | {
19 | "path": "../utils"
20 | }
21 | ],
22 | "include": [
23 | "src"
24 | ]
25 | }
--------------------------------------------------------------------------------
/packages/storage/tauri-storage/README.md:
--------------------------------------------------------------------------------
1 | # tauriStorage Demo
2 |
3 | This is a demo application for tauriStorage from @solid-primitives/storage.
4 |
5 | > **Warning:** installing/running this locally requires the use of a package manager different than pnpm, since otherwise there will be a conflict with the workspace.
6 |
7 | ## Setup:
8 |
9 | ```bash
10 | npm i
11 | ```
12 |
13 | ## Run
14 |
15 | ```bash
16 | # web version
17 | npm run dev
18 | # tauri version
19 | npm run tauri dev
20 | ```
21 |
--------------------------------------------------------------------------------
/assets/img/solid-blocks-heading-mid-block-shadow.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/styles/dev/index.tsx:
--------------------------------------------------------------------------------
1 | import { type Component } from "solid-js";
2 |
3 | import { createRemSize } from "../src/index.js";
4 |
5 | const App: Component = () => {
6 | const remSize = createRemSize();
7 |
8 | return (
9 | 8 | {k}:{" "} 9 | {() => { 10 | const val = access(props.record[k]); 11 | return typeof val === "number" ? parseInt(val as any) : String(val); 12 | }} 13 |
14 | )} 15 |8 | {k}:{" "} 9 | {(() => { 10 | const val = access(props.record[k]); 11 | return typeof val === "number" ? parseInt(val as any) : String(val); 12 | })()} 13 |
14 | )} 15 |it's very important...
12 | 15 |it's very important...
12 | 15 |it's very important...
12 | {/* */} 15 |Try to change the value and reload the page - it is persisted in localStorage.
13 |
2 |
3 |
ID: {id()}
20 | 23 |