@typed/ui 1.0.0-beta.10 → 1.0.0-beta.12

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 (2) hide show
  1. package/dist/Form.js +1 -1
  2. package/package.json +16 -13
package/dist/Form.js CHANGED
@@ -418,7 +418,7 @@ export function mask(...parts) {
418
418
  const valueSchema = Schema.declare((value) => typeof value === "object" &&
419
419
  value !== null &&
420
420
  parts.every((part) => typeof part === "string" || Reflect.has(value, part.name)));
421
- const codec = Schema.String.pipe(Schema.decodeTo(valueSchema, SchemaTransformation.transformOrFail({
421
+ const codec = Schema.String.pipe(Schema.decodeTo(valueSchema, SchemaTransformation.transformEffect({
422
422
  decode: (display, options) => decodeMask(parts, display, options),
423
423
  encode: (value, options) => encodeMask(parts, value, options),
424
424
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed/ui",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.12",
4
4
  "description": "Web integration for Typed routing, templates, and Effect HTTP.",
5
5
  "homepage": "https://github.com/TylorS/typed/tree/development/packages/ui#readme",
6
6
  "bugs": "https://github.com/TylorS/typed/issues",
@@ -29,28 +29,31 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@typed/fx": "2.0.0-beta.10",
33
- "@typed/id": "1.0.0-beta.10",
34
- "@typed/navigation": "1.0.0-beta.10",
35
- "@typed/router": "1.0.0-beta.10",
36
- "@typed/template": "1.0.0-beta.10",
37
- "effect": "4.0.0-rc.112"
32
+ "@typed/fx": "2.0.0-beta.12",
33
+ "@typed/id": "1.0.0-beta.12",
34
+ "@typed/navigation": "1.0.0-beta.12",
35
+ "@typed/router": "1.0.0-beta.12",
36
+ "@typed/template": "1.0.0-beta.12"
38
37
  },
39
38
  "devDependencies": {
40
- "@effect/platform-node": "4.0.0-rc.112",
39
+ "@effect/platform-node": "4.0.0-rc.115",
41
40
  "@storybook/addon-a11y": "10.6.0",
42
41
  "@storybook/addon-vitest": "10.6.0",
43
42
  "@storybook/html-vite": "10.6.0",
44
43
  "@tailwindcss/vite": "^4.3.3",
45
- "@vitest/browser-playwright": "5.0.0",
46
- "@vitest/coverage-v8": "5.0.0",
47
- "daisyui": "^5.7.28",
48
- "happy-dom": "20.14.0",
44
+ "@vitest/browser-playwright": "5.0.1",
45
+ "@vitest/coverage-v8": "5.0.1",
46
+ "daisyui": "^5.7.38",
47
+ "effect": "4.0.0-rc.115",
48
+ "happy-dom": "20.14.5",
49
49
  "playwright": "^1.63.0",
50
50
  "storybook": "10.6.0",
51
51
  "tailwindcss": "^4.3.3",
52
52
  "typescript": "7.0.2",
53
- "vitest": "5.0.0"
53
+ "vitest": "5.0.1"
54
+ },
55
+ "peerDependencies": {
56
+ "effect": "*"
54
57
  },
55
58
  "scripts": {
56
59
  "build": "node -e \"const fs=require('node:fs'); fs.rmSync('dist',{recursive:true,force:true}); fs.rmSync('tsconfig.tsbuildinfo',{force:true})\" && tsc",