@voyant-travel/quotes-react 0.119.2
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/LICENSE +201 -0
- package/README.md +39 -0
- package/dist/client.d.ts +31 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +71 -0
- package/dist/components/create-quote-dialog.d.ts +10 -0
- package/dist/components/create-quote-dialog.d.ts.map +1 -0
- package/dist/components/create-quote-dialog.js +45 -0
- package/dist/components/create-quote-version-dialog.d.ts +9 -0
- package/dist/components/create-quote-version-dialog.d.ts.map +1 -0
- package/dist/components/create-quote-version-dialog.js +108 -0
- package/dist/components/crm-format.d.ts +7 -0
- package/dist/components/crm-format.d.ts.map +1 -0
- package/dist/components/crm-format.js +40 -0
- package/dist/components/inline-currency-field.d.ts +12 -0
- package/dist/components/inline-currency-field.d.ts.map +1 -0
- package/dist/components/inline-currency-field.js +46 -0
- package/dist/components/inline-field.d.ts +16 -0
- package/dist/components/inline-field.d.ts.map +1 -0
- package/dist/components/inline-field.js +45 -0
- package/dist/components/inline-language-field.d.ts +12 -0
- package/dist/components/inline-language-field.d.ts.map +1 -0
- package/dist/components/inline-language-field.js +46 -0
- package/dist/components/inline-number-field.d.ts +15 -0
- package/dist/components/inline-number-field.d.ts.map +1 -0
- package/dist/components/inline-number-field.js +58 -0
- package/dist/components/inline-select-field.d.ts +19 -0
- package/dist/components/inline-select-field.d.ts.map +1 -0
- package/dist/components/inline-select-field.js +34 -0
- package/dist/components/quote-summary-card.d.ts +11 -0
- package/dist/components/quote-summary-card.d.ts.map +1 -0
- package/dist/components/quote-summary-card.js +11 -0
- package/dist/components/quote-version-detail-sections.d.ts +22 -0
- package/dist/components/quote-version-detail-sections.d.ts.map +1 -0
- package/dist/components/quote-version-detail-sections.js +87 -0
- package/dist/components/quote-versions-page.d.ts +8 -0
- package/dist/components/quote-versions-page.d.ts.map +1 -0
- package/dist/components/quote-versions-page.js +30 -0
- package/dist/components/quotes-board.d.ts +8 -0
- package/dist/components/quotes-board.d.ts.map +1 -0
- package/dist/components/quotes-board.js +24 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +9 -0
- package/dist/hooks/use-pipeline-mutation.d.ts +76 -0
- package/dist/hooks/use-pipeline-mutation.d.ts.map +1 -0
- package/dist/hooks/use-pipeline-mutation.js +76 -0
- package/dist/hooks/use-pipelines.d.ts +31 -0
- package/dist/hooks/use-pipelines.d.ts.map +1 -0
- package/dist/hooks/use-pipelines.js +42 -0
- package/dist/hooks/use-quote-mutation.d.ts +72 -0
- package/dist/hooks/use-quote-mutation.d.ts.map +1 -0
- package/dist/hooks/use-quote-mutation.js +50 -0
- package/dist/hooks/use-quote-version-mutation.d.ts +272 -0
- package/dist/hooks/use-quote-version-mutation.d.ts.map +1 -0
- package/dist/hooks/use-quote-version-mutation.js +164 -0
- package/dist/hooks/use-quote-version.d.ts +37 -0
- package/dist/hooks/use-quote-version.d.ts.map +1 -0
- package/dist/hooks/use-quote-version.js +34 -0
- package/dist/hooks/use-quote-versions.d.ts +30 -0
- package/dist/hooks/use-quote-versions.d.ts.map +1 -0
- package/dist/hooks/use-quote-versions.js +27 -0
- package/dist/hooks/use-quote.d.ts +26 -0
- package/dist/hooks/use-quote.d.ts.map +1 -0
- package/dist/hooks/use-quote.js +23 -0
- package/dist/hooks/use-quotes.d.ts +36 -0
- package/dist/hooks/use-quotes.d.ts.map +1 -0
- package/dist/hooks/use-quotes.js +44 -0
- package/dist/hooks/use-stages.d.ts +37 -0
- package/dist/hooks/use-stages.d.ts.map +1 -0
- package/dist/hooks/use-stages.js +45 -0
- package/dist/i18n/en/base.d.ts +189 -0
- package/dist/i18n/en/base.d.ts.map +1 -0
- package/dist/i18n/en/base.js +188 -0
- package/dist/i18n/en/commerce.d.ts +133 -0
- package/dist/i18n/en/commerce.d.ts.map +1 -0
- package/dist/i18n/en/commerce.js +132 -0
- package/dist/i18n/en/detail.d.ts +211 -0
- package/dist/i18n/en/detail.d.ts.map +1 -0
- package/dist/i18n/en/detail.js +210 -0
- package/dist/i18n/en/lists.d.ts +75 -0
- package/dist/i18n/en/lists.d.ts.map +1 -0
- package/dist/i18n/en/lists.js +74 -0
- package/dist/i18n/en.d.ts +599 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +10 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/messages.d.ts +577 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +15 -0
- package/dist/i18n/provider.d.ts +1220 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +44 -0
- package/dist/i18n/ro/base.d.ts +189 -0
- package/dist/i18n/ro/base.d.ts.map +1 -0
- package/dist/i18n/ro/base.js +188 -0
- package/dist/i18n/ro/commerce.d.ts +133 -0
- package/dist/i18n/ro/commerce.d.ts.map +1 -0
- package/dist/i18n/ro/commerce.js +132 -0
- package/dist/i18n/ro/detail.d.ts +211 -0
- package/dist/i18n/ro/detail.d.ts.map +1 -0
- package/dist/i18n/ro/detail.js +210 -0
- package/dist/i18n/ro/lists.d.ts +75 -0
- package/dist/i18n/ro/lists.d.ts.map +1 -0
- package/dist/i18n/ro/lists.js +74 -0
- package/dist/i18n/ro.d.ts +599 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +10 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/provider.d.ts +2 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +1 -0
- package/dist/query-keys.d.ts +44 -0
- package/dist/query-keys.d.ts.map +1 -0
- package/dist/query-keys.js +16 -0
- package/dist/query-options.d.ts +678 -0
- package/dist/query-options.d.ts.map +1 -0
- package/dist/query-options.js +160 -0
- package/dist/schemas.d.ts +348 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +101 -0
- package/dist/ui.d.ts +8 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +7 -0
- package/package.json +117 -0
- package/src/styles.css +11 -0
package/package.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@voyant-travel/quotes-react",
|
|
3
|
+
"version": "0.119.2",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/voyant-travel/voyant.git",
|
|
8
|
+
"directory": "packages/quotes-react"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./provider": {
|
|
19
|
+
"types": "./dist/provider.d.ts",
|
|
20
|
+
"import": "./dist/provider.js",
|
|
21
|
+
"default": "./dist/provider.js"
|
|
22
|
+
},
|
|
23
|
+
"./hooks": {
|
|
24
|
+
"types": "./dist/hooks/index.d.ts",
|
|
25
|
+
"import": "./dist/hooks/index.js",
|
|
26
|
+
"default": "./dist/hooks/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./client": {
|
|
29
|
+
"types": "./dist/client.d.ts",
|
|
30
|
+
"import": "./dist/client.js",
|
|
31
|
+
"default": "./dist/client.js"
|
|
32
|
+
},
|
|
33
|
+
"./query-keys": {
|
|
34
|
+
"types": "./dist/query-keys.d.ts",
|
|
35
|
+
"import": "./dist/query-keys.js",
|
|
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"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@tanstack/react-query": "^5.0.0",
|
|
69
|
+
"react": "^19.0.0",
|
|
70
|
+
"react-dom": "^19.0.0",
|
|
71
|
+
"zod": "^4.0.0",
|
|
72
|
+
"@voyant-travel/quotes": "^0.119.2",
|
|
73
|
+
"@voyant-travel/ui": "^0.106.1"
|
|
74
|
+
},
|
|
75
|
+
"peerDependenciesMeta": {
|
|
76
|
+
"@voyant-travel/ui": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"@voyant-travel/i18n": "^0.106.1",
|
|
82
|
+
"@voyant-travel/react": "^0.104.1",
|
|
83
|
+
"@voyant-travel/utils": "^0.105.1"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@tanstack/react-query": "^5.100.11",
|
|
87
|
+
"@types/react": "^19.2.14",
|
|
88
|
+
"@types/react-dom": "^19.2.3",
|
|
89
|
+
"lucide-react": "^0.475.0",
|
|
90
|
+
"react": "^19.2.4",
|
|
91
|
+
"react-dom": "^19.2.4",
|
|
92
|
+
"typescript": "^6.0.2",
|
|
93
|
+
"vitest": "^4.1.2",
|
|
94
|
+
"zod": "^4.3.6",
|
|
95
|
+
"@voyant-travel/i18n": "^0.106.1",
|
|
96
|
+
"@voyant-travel/quotes": "^0.119.2",
|
|
97
|
+
"@voyant-travel/ui": "^0.106.1",
|
|
98
|
+
"@voyant-travel/react": "^0.104.1",
|
|
99
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
100
|
+
},
|
|
101
|
+
"files": [
|
|
102
|
+
"dist",
|
|
103
|
+
"src/styles.css"
|
|
104
|
+
],
|
|
105
|
+
"publishConfig": {
|
|
106
|
+
"access": "public"
|
|
107
|
+
},
|
|
108
|
+
"scripts": {
|
|
109
|
+
"build": "tsc -p tsconfig.build.json",
|
|
110
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
|
|
111
|
+
"typecheck": "tsc --noEmit",
|
|
112
|
+
"lint": "biome check src/",
|
|
113
|
+
"test": "vitest run --passWithNoTests"
|
|
114
|
+
},
|
|
115
|
+
"main": "./dist/index.js",
|
|
116
|
+
"types": "./dist/index.d.ts"
|
|
117
|
+
}
|
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 "@voyant-travel/<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}";
|