@purpurds/grid 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/package.json +4 -4
- package/readme.mdx +3 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpurds/grid",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"main": "./dist/grid.cjs.js",
|
|
6
6
|
"types": "./dist/grid.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"source": "src/grid.tsx",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"classnames": "~2.5.0",
|
|
19
|
-
"@purpurds/tokens": "3.
|
|
19
|
+
"@purpurds/tokens": "3.7.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@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.
|
|
42
|
-
"vite": "~5.
|
|
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
|
@@ -33,30 +33,18 @@ import packageInfo from "./package.json";
|
|
|
33
33
|
|
|
34
34
|
#### Via NPM
|
|
35
35
|
|
|
36
|
-
Add the dependency to your consumer app like `"
|
|
37
|
-
|
|
38
|
-
#### From outside the monorepo (build-time)
|
|
39
|
-
|
|
40
|
-
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).
|
|
41
|
-
|
|
42
|
-
---
|
|
36
|
+
Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
|
|
43
37
|
|
|
44
38
|
In MyApp.tsx
|
|
45
39
|
|
|
46
40
|
```tsx
|
|
47
|
-
import "@purpurds/
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
and
|
|
51
|
-
|
|
52
|
-
```tsx
|
|
53
|
-
import "@purpurds/grid/styles";
|
|
41
|
+
import "@purpurds/purpur/styles";
|
|
54
42
|
```
|
|
55
43
|
|
|
56
44
|
In MyComponent.tsx
|
|
57
45
|
|
|
58
46
|
```tsx
|
|
59
|
-
import { Grid } from "@purpurds/
|
|
47
|
+
import { Grid } from "@purpurds/purpur";
|
|
60
48
|
|
|
61
49
|
export const MyComponent = () => {
|
|
62
50
|
return (
|