react-smart-copy 1.0.0 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-smart-copy",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Headless, type-safe clipboard interactions for React: copy and paste text, rich HTML and images, coordinated copy groups, SVG/DOM capture, honest error states, retry, reveal-on-interaction and screen-reader announcements.",
5
5
  "keywords": [
6
6
  "react",
@@ -102,7 +102,7 @@
102
102
  "verify": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run lint:package && npm run size",
103
103
  "changeset": "changeset",
104
104
  "release": "npm run verify && changeset publish",
105
- "site:build": "npm run build && node -e \"require('fs').copyFileSync('dist/core.js','site/core.js')\"",
105
+ "site:build": "npm run build && node -e \"require('fs').copyFileSync('dist/core.js','site/core.js')\" && node scripts/build-changelog.js",
106
106
  "site:preview": "npm run site:build && npx --yes serve site",
107
107
  "test:coverage": "vitest run --coverage"
108
108
  },
@@ -125,6 +125,12 @@
125
125
  "import": "{ CopyField, CopyGroup }",
126
126
  "limit": "5.4 kB"
127
127
  },
128
+ {
129
+ "name": "PasteField (everything paste, React)",
130
+ "path": "dist/index.js",
131
+ "import": "{ PasteField }",
132
+ "limit": "5.4 kB"
133
+ },
128
134
  {
129
135
  "name": "core, all exports (framework-agnostic)",
130
136
  "path": "dist/core.js",
@@ -147,6 +153,7 @@
147
153
  "@size-limit/preset-small-lib": "^14.0.0",
148
154
  "@testing-library/dom": "^10.4.2",
149
155
  "@testing-library/react": "^16.3.3",
156
+ "@types/node": "^22.20.5",
150
157
  "@types/react": "^19.3.0",
151
158
  "@types/react-dom": "^19.3.0",
152
159
  "@vitest/coverage-v8": "^5.0.1",