@purpurds/label 3.5.1 → 3.6.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/readme.mdx +3 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/label",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/label.cjs.js",
6
6
  "types": "./dist/label.d.ts",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "@radix-ui/react-label": "~2.0.2",
19
19
  "classnames": "~2.5.0",
20
- "@purpurds/icon": "3.5.1",
21
- "@purpurds/tokens": "3.5.1"
20
+ "@purpurds/tokens": "3.6.0",
21
+ "@purpurds/icon": "3.6.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@rushstack/eslint-patch": "~1.7.0",
@@ -39,8 +39,8 @@
39
39
  "prettier": "~2.8.8",
40
40
  "react-dom": "~18.2.0",
41
41
  "react": "~18.2.0",
42
- "typescript": "~5.2.2",
43
- "vite": "~5.1.0",
42
+ "typescript": "~5.4.2",
43
+ "vite": "~5.2.2",
44
44
  "vitest": "~1.4.0",
45
45
  "@purpurds/component-rig": "1.0.0"
46
46
  },
package/readme.mdx CHANGED
@@ -22,30 +22,18 @@ import packageInfo from "./package.json";
22
22
 
23
23
  #### Via NPM
24
24
 
25
- Add the dependency to your consumer app like `"label": "x.y.z"`
26
-
27
- #### From outside the monorepo (build-time)
28
-
29
- 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).
30
-
31
- ---
25
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
32
26
 
33
27
  In MyApp.tsx
34
28
 
35
29
  ```tsx
36
- import "@purpurds/tokens/index.css";
37
- ```
38
-
39
- and
40
-
41
- ```tsx
42
- import "@purpurds/label/styles";
30
+ import "@purpurds/purpur/styles";
43
31
  ```
44
32
 
45
33
  In MyComponent.tsx
46
34
 
47
35
  ```tsx
48
- import { Label } from "@purpurds/label";
36
+ import { Label } from "@purpurds/purpur";
49
37
 
50
38
  export const MyComponent = () => {
51
39
  return (