@purpurds/text-area 6.1.4 → 6.3.0

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/dist/LICENSE.txt CHANGED
@@ -1,19 +1,19 @@
1
1
  Name: @purpurds/field-error-text
2
- Version: 6.1.3
2
+ Version: 6.2.0
3
3
  License: AGPL-3.0-only
4
4
  Private: false
5
5
 
6
6
  ---
7
7
 
8
8
  Name: @purpurds/field-helper-text
9
- Version: 6.1.3
9
+ Version: 6.2.0
10
10
  License: AGPL-3.0-only
11
11
  Private: false
12
12
 
13
13
  ---
14
14
 
15
15
  Name: @purpurds/label
16
- Version: 6.1.3
16
+ Version: 6.2.0
17
17
  License: AGPL-3.0-only
18
18
  Private: false
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/text-area",
3
- "version": "6.1.4",
3
+ "version": "6.3.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/text-area.cjs.js",
6
6
  "types": "./dist/text-area.d.ts",
@@ -16,10 +16,10 @@
16
16
  "source": "src/text-area.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/tokens": "6.1.4",
20
- "@purpurds/label": "6.1.4",
21
- "@purpurds/field-helper-text": "6.1.4",
22
- "@purpurds/field-error-text": "6.1.4"
19
+ "@purpurds/tokens": "6.3.0",
20
+ "@purpurds/label": "6.3.0",
21
+ "@purpurds/field-error-text": "6.3.0",
22
+ "@purpurds/field-helper-text": "6.3.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@rushstack/eslint-patch": "~1.10.0",
@@ -27,21 +27,21 @@
27
27
  "@storybook/react": "^8.3.5",
28
28
  "@telia/base-rig": "~8.2.0",
29
29
  "@telia/react-rig": "~3.2.0",
30
- "@testing-library/dom": "~9.3.3",
30
+ "@testing-library/dom": "~10.4.0",
31
31
  "@testing-library/jest-dom": "~6.4.0",
32
- "@testing-library/react": "~14.3.0",
32
+ "@testing-library/react": "~ 16.2.0",
33
33
  "@types/fs-extra": "9",
34
34
  "@types/node": "20.12.12",
35
- "@types/react-dom": "^18.3.0",
36
- "@types/react": "^18.3.3",
35
+ "@types/react-dom": "^19.0.4",
36
+ "@types/react": "^19.0.10",
37
37
  "dedent": "~1.5.1",
38
38
  "eslint-plugin-testing-library": "~6.2.0",
39
39
  "eslint": "^8.57.0",
40
40
  "jsdom": "~22.1.0",
41
41
  "lint-staged": "~10.5.3",
42
42
  "prettier": "~2.8.8",
43
- "react-dom": "^18.3.1",
44
- "react": "^18.3.1",
43
+ "react-dom": "^19.0.0",
44
+ "react": "^19.0.0",
45
45
  "storybook": "^8.3.5",
46
46
  "tsx": "~4.7.0",
47
47
  "typescript": "^5.6.3",
@@ -49,6 +49,20 @@
49
49
  "vitest": "^2.1.2",
50
50
  "@purpurds/component-rig": "1.0.0"
51
51
  },
52
+ "peerDependencies": {
53
+ "@types/react": "^18 || ^19",
54
+ "@types/react-dom": "^18 || ^19",
55
+ "react": "^18 || ^19",
56
+ "react-dom": "^18 || ^19"
57
+ },
58
+ "peerDependenciesMeta": {
59
+ "@types/react": {
60
+ "optional": true
61
+ },
62
+ "@types/react-dom": {
63
+ "optional": true
64
+ }
65
+ },
52
66
  "scripts": {
53
67
  "build:dev": "rushx generate-assets && vite",
54
68
  "build:watch": "rushx generate-assets && vite build --watch",
@@ -1,8 +1,7 @@
1
1
  import { purpurColorTextMedium, purpurColorTextWeak } from "@purpurds/tokens";
2
-
2
+ import dedent from "dedent";
3
3
  import fs from "fs";
4
4
  import path from "path";
5
- import dedent from "dedent";
6
5
 
7
6
  const srcDir = path.join(process.cwd(), "src");
8
7
  const assetsDir = path.join(srcDir, "assets");