@voyantjs/allocation-ui 0.37.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.
@@ -0,0 +1,3 @@
1
+ export { SlotAllocationPage, type SlotAllocationPageProps, } from "./components/slot-allocation-page.js";
2
+ export { type AllocationUiMessageOverrides, type AllocationUiMessages, AllocationUiMessagesProvider, allocationUiEn, allocationUiMessageDefinitions, allocationUiRo, getAllocationUiI18n, resolveAllocationUiMessages, useAllocationUiI18n, useAllocationUiI18nOrDefault, useAllocationUiMessages, useAllocationUiMessagesOrDefault, } from "./i18n/index.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,4BAA4B,EAC5B,cAAc,EACd,8BAA8B,EAC9B,cAAc,EACd,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,4BAA4B,EAC5B,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,iBAAiB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { SlotAllocationPage, } from "./components/slot-allocation-page.js";
2
+ export { AllocationUiMessagesProvider, allocationUiEn, allocationUiMessageDefinitions, allocationUiRo, getAllocationUiI18n, resolveAllocationUiMessages, useAllocationUiI18n, useAllocationUiI18nOrDefault, useAllocationUiMessages, useAllocationUiMessagesOrDefault, } from "./i18n/index.js";
package/package.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "@voyantjs/allocation-ui",
3
+ "version": "0.37.0",
4
+ "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/voyantjs/voyant.git",
8
+ "directory": "packages/allocation-ui"
9
+ },
10
+ "type": "module",
11
+ "sideEffects": false,
12
+ "exports": {
13
+ ".": "./src/index.ts",
14
+ "./i18n": "./src/i18n/index.ts",
15
+ "./styles.css": "./src/styles.css",
16
+ "./components/*": "./src/components/*.tsx"
17
+ },
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.build.json",
20
+ "clean": "rm -rf dist tsconfig.tsbuildinfo",
21
+ "prepack": "pnpm run build",
22
+ "typecheck": "tsc --noEmit",
23
+ "lint": "biome check src/",
24
+ "test": "vitest run --passWithNoTests"
25
+ },
26
+ "peerDependencies": {
27
+ "@tanstack/react-query": "^5.90.12",
28
+ "@voyantjs/availability-react": "workspace:*",
29
+ "@voyantjs/i18n": "workspace:*",
30
+ "@voyantjs/ui": "workspace:*",
31
+ "lucide-react": "^0.475.0",
32
+ "react": "^19.0.0",
33
+ "react-dom": "^19.0.0"
34
+ },
35
+ "devDependencies": {
36
+ "@tanstack/react-query": "^5.90.12",
37
+ "@types/react": "^19.2.14",
38
+ "@types/react-dom": "^19.2.3",
39
+ "@voyantjs/availability-react": "workspace:*",
40
+ "@voyantjs/i18n": "workspace:*",
41
+ "@voyantjs/ui": "workspace:*",
42
+ "@voyantjs/voyant-typescript-config": "workspace:*",
43
+ "lucide-react": "^1.7.0",
44
+ "react": "^19.2.4",
45
+ "react-dom": "^19.2.4",
46
+ "typescript": "^6.0.2",
47
+ "vitest": "^4.1.2"
48
+ },
49
+ "files": [
50
+ "dist",
51
+ "src/styles.css"
52
+ ],
53
+ "publishConfig": {
54
+ "access": "public",
55
+ "exports": {
56
+ ".": {
57
+ "types": "./dist/index.d.ts",
58
+ "import": "./dist/index.js",
59
+ "default": "./dist/index.js"
60
+ },
61
+ "./i18n": {
62
+ "types": "./dist/i18n/index.d.ts",
63
+ "import": "./dist/i18n/index.js",
64
+ "default": "./dist/i18n/index.js"
65
+ },
66
+ "./styles.css": {
67
+ "default": "./src/styles.css"
68
+ },
69
+ "./components/*": {
70
+ "types": "./dist/components/*.d.ts",
71
+ "import": "./dist/components/*.js",
72
+ "default": "./dist/components/*.js"
73
+ }
74
+ },
75
+ "main": "./dist/index.js",
76
+ "types": "./dist/index.d.ts"
77
+ }
78
+ }
package/src/styles.css ADDED
@@ -0,0 +1,6 @@
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
+ @source "./components/**/*.{ts,tsx}";