@multivendorx/zyra 1.0.12
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/README.md +25 -0
- package/package.json +71 -0
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# zyra
|
|
2
|
+
|
|
3
|
+
This package re-exports every `@zyra/*` package (and inlines their CSS) as a single installable bundle, published to npm as `zyra`. It exists for external consumers (multivendorx, catalogx, moowoodle, notifima) that want one dependency instead of eight.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add zyra@workspace:*
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Import the bundled styles once, in your app's entry point:
|
|
14
|
+
|
|
15
|
+
```jsx
|
|
16
|
+
import 'zyra/build/index.css';
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then import components:
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import { ProPopup } from 'zyra';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you only need a subset of Zyra, prefer depending on the individual `@zyra/*` package directly instead of this bundle.
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@multivendorx/zyra",
|
|
3
|
+
"version": "1.0.12",
|
|
4
|
+
"description": "Component library for WordPress plugins. Aggregates every @zyra/* package into a single installable/importable bundle for external consumers. Styles are injected at runtime on import (no separate CSS import required).",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/multivendorx/zyra.git",
|
|
8
|
+
"directory": "packages/bundle"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"main": "./build/index.js",
|
|
14
|
+
"module": "./build/index.js",
|
|
15
|
+
"types": "./build/index.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"build"
|
|
18
|
+
],
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./build/index.d.ts",
|
|
22
|
+
"import": "./build/index.js",
|
|
23
|
+
"require": "./build/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@react-pdf/renderer": "^4.5.1",
|
|
28
|
+
"axios": "^1.16.1",
|
|
29
|
+
"zustand": "^5.0.13"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"@emotion/react": "^11.14.0",
|
|
33
|
+
"@emotion/styled": "^11.14.0",
|
|
34
|
+
"@reactour/tour": "^3.7.0",
|
|
35
|
+
"@tinymce/tinymce-react": "^6.3.0",
|
|
36
|
+
"google-map-react": "^2.2.1",
|
|
37
|
+
"react": "19.2.x",
|
|
38
|
+
"react-dom": "19.2.x",
|
|
39
|
+
"react-drag-listview": "^2.0.0",
|
|
40
|
+
"react-draggable": "^4.4.6",
|
|
41
|
+
"react-multi-date-picker": "^4.5.2",
|
|
42
|
+
"react-router-dom": "^7.15.1",
|
|
43
|
+
"react-select": "^5.10.2",
|
|
44
|
+
"react-sortablejs": "^6.1.4",
|
|
45
|
+
"sortablejs": "^1.15.6"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^25.9.1",
|
|
49
|
+
"@types/react": "^19.2.15",
|
|
50
|
+
"@types/react-dom": "^19.2.3",
|
|
51
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
52
|
+
"sass": "^1.100.0",
|
|
53
|
+
"tsup": "^8.5.1",
|
|
54
|
+
"@zyra/inputs": "1.0.0",
|
|
55
|
+
"@zyra/components": "1.0.0",
|
|
56
|
+
"@zyra/table": "1.0.0",
|
|
57
|
+
"@zyra/builders": "1.0.0",
|
|
58
|
+
"@zyra/core": "1.0.0",
|
|
59
|
+
"@zyra/theme": "1.0.0"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "tsup --config ../../tsup.config.ts",
|
|
63
|
+
"dev": "tsup --watch --config ../../tsup.config.ts",
|
|
64
|
+
"lint": "pnpm run lint:js && pnpm run lint:css",
|
|
65
|
+
"fix": "pnpm run fix:js && pnpm run fix:css",
|
|
66
|
+
"lint:js": "eslint . --ext .js,.jsx,.ts,.tsx,.mjs",
|
|
67
|
+
"fix:js": "eslint . --ext .js,.jsx,.ts,.tsx,.mjs --fix",
|
|
68
|
+
"lint:css": "stylelint \"**/*.{css,scss}\"",
|
|
69
|
+
"fix:css": "stylelint \"**/*.{css,scss}\" --fix"
|
|
70
|
+
}
|
|
71
|
+
}
|