@byline/ui 1.1.0 → 1.2.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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "1.1.0",
6
+ "version": "1.2.1",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -25,20 +25,11 @@
25
25
  "sideEffects": [
26
26
  "**/*.css"
27
27
  ],
28
- "types": "./dist/react.d.ts",
29
- "module": "./dist/react.js",
30
- "main": "./dist/react.js",
31
28
  "files": [
32
29
  "dist/",
33
30
  "src/"
34
31
  ],
35
32
  "exports": {
36
- ".": {
37
- "types": "./dist/react.d.ts",
38
- "import": "./dist/react.js",
39
- "main": "./dist/react.js",
40
- "default": "./dist/react.js"
41
- },
42
33
  "./react": {
43
34
  "types": "./dist/react.d.ts",
44
35
  "import": "./dist/react.js",
@@ -74,9 +65,9 @@
74
65
  "react-diff-viewer-continued": "^4.2.2",
75
66
  "zod": "^4.4.2",
76
67
  "zod-form-data": "^3.0.1",
77
- "@byline/admin": "1.1.0",
78
- "@byline/client": "1.1.0",
79
- "@byline/core": "1.1.0"
68
+ "@byline/client": "1.2.1",
69
+ "@byline/core": "1.2.1",
70
+ "@byline/admin": "1.2.1"
80
71
  },
81
72
  "peerDependencies": {
82
73
  "react": "^19.0.0",
@@ -13,7 +13,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
13
13
 
14
14
  // Lightweight uikit stubs — we don't care about the visual rendering, only
15
15
  // that the Input forwards props and the Label renders its htmlFor.
16
- vi.mock('@byline/ui', () => ({
16
+ vi.mock('@byline/ui/react', () => ({
17
17
  Label: ({ id, htmlFor, label }: { id?: string; htmlFor?: string; label?: string }) => (
18
18
  <label id={id} htmlFor={htmlFor}>
19
19
  {label}