@purpurds/badge 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.
package/dist/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Name: @purpurds/icon
2
- Version: 3.5.0
2
+ Version: 3.5.1
3
3
  License: AGPL-3.0-only
4
4
  Private: false
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/badge",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/badge.cjs.js",
6
6
  "types": "./dist/badge.d.ts",
@@ -16,8 +16,8 @@
16
16
  "source": "src/badge.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/icon": "3.5.1",
20
- "@purpurds/tokens": "3.5.1"
19
+ "@purpurds/tokens": "3.6.0",
20
+ "@purpurds/icon": "3.6.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rushstack/eslint-patch": "~1.7.0",
@@ -38,8 +38,8 @@
38
38
  "prettier": "~2.8.8",
39
39
  "react-dom": "~18.2.0",
40
40
  "react": "~18.2.0",
41
- "typescript": "~5.2.2",
42
- "vite": "~5.1.0",
41
+ "typescript": "~5.4.2",
42
+ "vite": "~5.2.2",
43
43
  "vitest": "~1.4.0",
44
44
  "@purpurds/component-rig": "1.0.0"
45
45
  },
package/readme.mdx CHANGED
@@ -21,30 +21,18 @@ import packageInfo from "./package.json";
21
21
 
22
22
  #### Via NPM, in the monorepo
23
23
 
24
- Add the dependency to your consumer app like `"@purpurds/badge": "x.y.z"`
25
-
26
- ### Via NPM, outside the monorepo (build-time)
27
-
28
- To install this package, you need to setup access to the new 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).
29
-
30
- ---
24
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
31
25
 
32
26
  In MyApp.tsx
33
27
 
34
28
  ```tsx
35
- import "@purpurds/badge/styles";
36
- ```
37
-
38
- and
39
-
40
- ```tsx
41
- import "@purpurds/badge/styles";
29
+ import "@purpurds/purpur/styles";
42
30
  ```
43
31
 
44
32
  In MyComponent.tsx
45
33
 
46
34
  ```tsx
47
- import { Badge } from "@purpurds/badge";
35
+ import { Badge } from "@purpurds/purpur";
48
36
 
49
37
  export const MyComponent = () => {
50
38
  return (