@spree/seller-dashboard 1.0.0-beta.2 → 1.0.0-beta.3
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 +3 -3
- package/src/index.ts +20 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spree/seller-dashboard",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Spree marketplace seller panel — the seller-facing counterpart to the admin dashboard.",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"react-hook-form": "^7.65.0",
|
|
50
50
|
"react-i18next": "^17.0.8",
|
|
51
51
|
"zod": "^4.4.3",
|
|
52
|
-
"@spree/dashboard-core": "1.0.0-beta.
|
|
52
|
+
"@spree/dashboard-core": "1.0.0-beta.3",
|
|
53
53
|
"@spree/seller-sdk": "1.0.0-beta.2",
|
|
54
|
-
"@spree/dashboard-ui": "1.0.0-beta.
|
|
54
|
+
"@spree/dashboard-ui": "1.0.0-beta.3"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": "^19.0.0",
|
package/src/index.ts
CHANGED
|
@@ -9,11 +9,26 @@ import './i18n'
|
|
|
9
9
|
import './nav/default'
|
|
10
10
|
import './nav/settings'
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
export * from '@spree/dashboard-core'
|
|
13
|
+
export {
|
|
14
|
+
type DateRange,
|
|
15
|
+
ResourceCombobox,
|
|
16
|
+
type ResourceComboboxProps,
|
|
17
|
+
ResourceMultiAutocomplete,
|
|
18
|
+
type ResourceMultiAutocompleteProps,
|
|
19
|
+
Slot,
|
|
20
|
+
StatusCard,
|
|
21
|
+
} from '@spree/dashboard-core'
|
|
22
|
+
// The single import a marketplace needs: the framework
|
|
23
|
+
// (`@spree/dashboard-core`) and the design system (`@spree/dashboard-ui`),
|
|
24
|
+
// re-exported so a host writing its own pages never has to work out which
|
|
25
|
+
// package an export lives in. Both stay importable directly.
|
|
26
|
+
//
|
|
27
|
+
// `export *` from two modules that both declare a name is an error (TS2308),
|
|
28
|
+
// resolved by naming the winner explicitly above. The framework's version
|
|
29
|
+
// wins: it fetches its own data, where the design system's takes everything
|
|
30
|
+
// as props. Import from `@spree/dashboard-ui` for the presentational half.
|
|
31
|
+
export * from '@spree/dashboard-ui'
|
|
17
32
|
|
|
18
33
|
export {
|
|
19
34
|
createSellerApiClient,
|