@voyantjs/distribution-react 0.106.0 → 0.107.1

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 (66) hide show
  1. package/README.md +56 -10
  2. package/dist/components/booking-link-detail-page.d.ts +10 -0
  3. package/dist/components/booking-link-detail-page.d.ts.map +1 -0
  4. package/dist/components/booking-link-detail-page.js +51 -0
  5. package/dist/components/channel-detail-page.d.ts +12 -0
  6. package/dist/components/channel-detail-page.d.ts.map +1 -0
  7. package/dist/components/channel-detail-page.js +41 -0
  8. package/dist/components/channel-sync-page.d.ts +8 -0
  9. package/dist/components/channel-sync-page.d.ts.map +1 -0
  10. package/dist/components/channel-sync-page.js +257 -0
  11. package/dist/components/channels-page.d.ts +6 -0
  12. package/dist/components/channels-page.d.ts.map +1 -0
  13. package/dist/components/channels-page.js +132 -0
  14. package/dist/components/commission-rule-detail-page.d.ts +10 -0
  15. package/dist/components/commission-rule-detail-page.d.ts.map +1 -0
  16. package/dist/components/commission-rule-detail-page.js +57 -0
  17. package/dist/components/contract-detail-page.d.ts +10 -0
  18. package/dist/components/contract-detail-page.d.ts.map +1 -0
  19. package/dist/components/contract-detail-page.js +64 -0
  20. package/dist/components/distribution-overview.d.ts +19 -0
  21. package/dist/components/distribution-overview.d.ts.map +1 -0
  22. package/dist/components/distribution-overview.js +13 -0
  23. package/dist/components/distribution-page.d.ts +26 -0
  24. package/dist/components/distribution-page.d.ts.map +1 -0
  25. package/dist/components/distribution-page.js +190 -0
  26. package/dist/components/distribution-section-header.d.ts +7 -0
  27. package/dist/components/distribution-section-header.d.ts.map +1 -0
  28. package/dist/components/distribution-section-header.js +6 -0
  29. package/dist/components/distribution-shared.d.ts +32 -0
  30. package/dist/components/distribution-shared.d.ts.map +1 -0
  31. package/dist/components/distribution-shared.js +246 -0
  32. package/dist/components/distribution-tabs-primary.d.ts +57 -0
  33. package/dist/components/distribution-tabs-primary.d.ts.map +1 -0
  34. package/dist/components/distribution-tabs-primary.js +89 -0
  35. package/dist/components/distribution-tabs-secondary.d.ts +58 -0
  36. package/dist/components/distribution-tabs-secondary.d.ts.map +1 -0
  37. package/dist/components/distribution-tabs-secondary.js +89 -0
  38. package/dist/components/mapping-detail-page.d.ts +10 -0
  39. package/dist/components/mapping-detail-page.d.ts.map +1 -0
  40. package/dist/components/mapping-detail-page.js +51 -0
  41. package/dist/components/webhook-event-detail-page.d.ts +9 -0
  42. package/dist/components/webhook-event-detail-page.d.ts.map +1 -0
  43. package/dist/components/webhook-event-detail-page.js +46 -0
  44. package/dist/i18n/en.d.ts +592 -0
  45. package/dist/i18n/en.d.ts.map +1 -0
  46. package/dist/i18n/en.js +561 -0
  47. package/dist/i18n/index.d.ts +5 -0
  48. package/dist/i18n/index.d.ts.map +1 -0
  49. package/dist/i18n/index.js +3 -0
  50. package/dist/i18n/messages.d.ts +409 -0
  51. package/dist/i18n/messages.d.ts.map +1 -0
  52. package/dist/i18n/messages.js +1 -0
  53. package/dist/i18n/provider.d.ts +1207 -0
  54. package/dist/i18n/provider.d.ts.map +1 -0
  55. package/dist/i18n/provider.js +44 -0
  56. package/dist/i18n/ro.d.ts +592 -0
  57. package/dist/i18n/ro.d.ts.map +1 -0
  58. package/dist/i18n/ro.js +561 -0
  59. package/dist/i18n/utils.d.ts +4 -0
  60. package/dist/i18n/utils.d.ts.map +1 -0
  61. package/dist/i18n/utils.js +8 -0
  62. package/dist/ui.d.ts +16 -0
  63. package/dist/ui.d.ts.map +1 -0
  64. package/dist/ui.js +14 -0
  65. package/package.json +53 -9
  66. package/src/styles.css +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/distribution-react",
3
- "version": "0.106.0",
3
+ "version": "0.107.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,40 +34,84 @@
34
34
  "types": "./dist/query-keys.d.ts",
35
35
  "import": "./dist/query-keys.js",
36
36
  "default": "./dist/query-keys.js"
37
+ },
38
+ "./ui": {
39
+ "types": "./dist/ui.d.ts",
40
+ "import": "./dist/ui.js",
41
+ "default": "./dist/ui.js"
42
+ },
43
+ "./styles.css": {
44
+ "default": "./src/styles.css"
45
+ },
46
+ "./i18n": {
47
+ "types": "./dist/i18n/index.d.ts",
48
+ "import": "./dist/i18n/index.js",
49
+ "default": "./dist/i18n/index.js"
50
+ },
51
+ "./i18n/en": {
52
+ "types": "./dist/i18n/en.d.ts",
53
+ "import": "./dist/i18n/en.js",
54
+ "default": "./dist/i18n/en.js"
55
+ },
56
+ "./i18n/ro": {
57
+ "types": "./dist/i18n/ro.d.ts",
58
+ "import": "./dist/i18n/ro.js",
59
+ "default": "./dist/i18n/ro.js"
60
+ },
61
+ "./components/*": {
62
+ "types": "./dist/components/*.d.ts",
63
+ "import": "./dist/components/*.js",
64
+ "default": "./dist/components/*.js"
37
65
  }
38
66
  },
39
67
  "peerDependencies": {
40
68
  "@tanstack/react-query": "^5.0.0",
69
+ "@tanstack/react-table": "^8.0.0",
41
70
  "react": "^19.0.0",
42
71
  "react-dom": "^19.0.0",
43
72
  "zod": "^4.0.0",
44
- "@voyantjs/distribution": "^0.106.0"
73
+ "@voyantjs/distribution": "^0.107.1",
74
+ "@voyantjs/ui": "^0.106.0"
75
+ },
76
+ "peerDependenciesMeta": {
77
+ "@tanstack/react-table": {
78
+ "optional": true
79
+ },
80
+ "@voyantjs/ui": {
81
+ "optional": true
82
+ }
83
+ },
84
+ "dependencies": {
85
+ "@voyantjs/i18n": "^0.106.0",
86
+ "@voyantjs/react": "^0.104.1"
45
87
  },
46
88
  "devDependencies": {
47
89
  "@tanstack/react-query": "^5.100.11",
90
+ "@tanstack/react-table": "^8.21.3",
48
91
  "@types/react": "^19.2.14",
49
92
  "@types/react-dom": "^19.2.3",
93
+ "lucide-react": "^0.475.0",
50
94
  "react": "^19.2.4",
51
95
  "react-dom": "^19.2.4",
52
96
  "typescript": "^6.0.2",
53
97
  "vitest": "^4.1.2",
54
98
  "zod": "^4.3.6",
55
- "@voyantjs/distribution": "^0.106.0",
99
+ "@voyantjs/distribution": "^0.107.1",
100
+ "@voyantjs/i18n": "^0.106.0",
56
101
  "@voyantjs/react": "^0.104.1",
102
+ "@voyantjs/ui": "^0.106.0",
57
103
  "@voyantjs/voyant-typescript-config": "^0.1.0"
58
104
  },
59
- "dependencies": {
60
- "@voyantjs/react": "^0.104.1"
61
- },
62
105
  "files": [
63
- "dist"
106
+ "dist",
107
+ "src/styles.css"
64
108
  ],
65
109
  "publishConfig": {
66
110
  "access": "public"
67
111
  },
68
112
  "scripts": {
69
- "build": "tsc -p tsconfig.json",
70
- "clean": "rm -rf dist tsconfig.tsbuildinfo",
113
+ "build": "tsc -p tsconfig.build.json",
114
+ "clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
71
115
  "typecheck": "tsc --noEmit",
72
116
  "lint": "biome check src/",
73
117
  "test": "vitest run --passWithNoTests"
package/src/styles.css ADDED
@@ -0,0 +1,11 @@
1
+ /* Tailwind v4 source-detection helper.
2
+ *
3
+ * Templates that consume this package should `@import` this CSS so Tailwind
4
+ * scans these component files for utility classes:
5
+ *
6
+ * @import "@voyantjs/<domain>-ui/styles.css";
7
+ *
8
+ * Without it, classes that only appear inside this package (e.g. data-attr
9
+ * variants on primitives) won't be compiled into the final bundle.
10
+ */
11
+ @source "./components/**/*.{ts,tsx}";