@purpurds/text-field 3.5.1 → 3.7.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,33 +1,33 @@
1
1
  Name: @purpurds/field-error-text
2
- Version: 3.5.0
2
+ Version: 3.6.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: 3.5.0
9
+ Version: 3.6.0
10
10
  License: AGPL-3.0-only
11
11
  Private: false
12
12
 
13
13
  ---
14
14
 
15
15
  Name: @purpurds/icon
16
- Version: 3.5.0
16
+ Version: 3.6.0
17
17
  License: AGPL-3.0-only
18
18
  Private: false
19
19
 
20
20
  ---
21
21
 
22
22
  Name: @purpurds/label
23
- Version: 3.5.0
23
+ Version: 3.6.0
24
24
  License: AGPL-3.0-only
25
25
  Private: false
26
26
 
27
27
  ---
28
28
 
29
29
  Name: @purpurds/spinner
30
- Version: 3.5.0
30
+ Version: 3.6.0
31
31
  License: AGPL-3.0-only
32
32
  Private: false
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/text-field",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/text-field.cjs.js",
6
6
  "types": "./dist/text-field.d.ts",
@@ -16,12 +16,12 @@
16
16
  "source": "src/text-field.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/field-error-text": "3.5.1",
20
- "@purpurds/icon": "3.5.1",
21
- "@purpurds/label": "3.5.1",
22
- "@purpurds/spinner": "3.5.1",
23
- "@purpurds/field-helper-text": "3.5.1",
24
- "@purpurds/tokens": "3.5.1"
19
+ "@purpurds/field-error-text": "3.7.0",
20
+ "@purpurds/field-helper-text": "3.7.0",
21
+ "@purpurds/icon": "3.7.0",
22
+ "@purpurds/spinner": "3.7.0",
23
+ "@purpurds/label": "3.7.0",
24
+ "@purpurds/tokens": "3.7.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@rushstack/eslint-patch": "~1.7.0",
@@ -43,8 +43,8 @@
43
43
  "prettier": "~2.8.8",
44
44
  "react-dom": "~18.2.0",
45
45
  "react": "~18.2.0",
46
- "typescript": "~5.2.2",
47
- "vite": "~5.1.0",
46
+ "typescript": "~5.4.2",
47
+ "vite": "~5.2.2",
48
48
  "vitest": "~1.4.0",
49
49
  "@purpurds/component-rig": "1.0.0"
50
50
  },
package/readme.mdx CHANGED
@@ -26,30 +26,18 @@ Except for the props below, [all "native" input attributs](https://developer.moz
26
26
 
27
27
  #### Via NPM
28
28
 
29
- Add the dependency to your consumer app like `"@purpurds/text-field": "x.y.z"`
30
-
31
- #### From outside the monorepo (build-time)
32
-
33
- To install this package, you need to setup access to the artifactory. [Click here to go to the guide on how to do that](https://github.com/telia-company/jfrog-documentation/blob/main/doc/JFrog/JFrog_Onboarding.md#getting-access-to-artifactory-and-other-jfrog-applications).
34
-
35
- ---
29
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
36
30
 
37
31
  In MyApp.tsx
38
32
 
39
33
  ```tsx
40
- import "@purpurds/tokens/index.css";
41
- ```
42
-
43
- and
44
-
45
- ```tsx
46
- import "@purpurds/text-field/styles";
34
+ import "@purpurds/purpur/styles";
47
35
  ```
48
36
 
49
37
  In MyComponent.tsx
50
38
 
51
39
  ```tsx
52
- import { TextField } from "@purpurds/text-field";
40
+ import { TextField } from "@purpurds/purpur";
53
41
 
54
42
  export const MyComponent = () => {
55
43
  return (