@mercurjs/dashboard-sdk 2.1.0 → 2.1.2-canary.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +19 -0
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -49,6 +49,25 @@ interface MercurConfig {
49
49
  SettingsSidebar?: string;
50
50
  TopbarActions?: string;
51
51
  StoreSetup?: string;
52
+ /**
53
+ * Component that injects additional fields into the vendor
54
+ * onboarding wizard's company step.
55
+ *
56
+ * The default export should be a React component that calls
57
+ * `useFormContext()` from react-hook-form and renders extra
58
+ * `<Form.Field />` entries. Values are forwarded to the
59
+ * create-seller mutation under the standard Medusa
60
+ * `additional_data` key.
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * components: {
65
+ * OnboardingCompanyExtraFields:
66
+ * 'components/onboarding/company-extra-fields',
67
+ * }
68
+ * ```
69
+ */
70
+ OnboardingCompanyExtraFields?: string;
52
71
  };
53
72
  /** Internationalization settings. */
54
73
  i18n?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/dashboard-sdk",
3
- "version": "2.1.0",
3
+ "version": "2.1.2-canary.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",