@mercurjs/dashboard-shared 2.2.0-rc.1 → 2.2.0-rc.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -39
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -9868,39 +9868,6 @@ var require_offer2 = __commonJS({
9868
9868
  }
9869
9869
  });
9870
9870
 
9871
- // ../types/dist/search/common.js
9872
- var require_common41 = __commonJS({
9873
- "../types/dist/search/common.js"(exports) {
9874
- "use strict";
9875
- Object.defineProperty(exports, "__esModule", { value: true });
9876
- }
9877
- });
9878
-
9879
- // ../types/dist/search/index.js
9880
- var require_search2 = __commonJS({
9881
- "../types/dist/search/index.js"(exports) {
9882
- "use strict";
9883
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
9884
- if (k2 === void 0) k2 = k;
9885
- var desc = Object.getOwnPropertyDescriptor(m, k);
9886
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9887
- desc = { enumerable: true, get: function() {
9888
- return m[k];
9889
- } };
9890
- }
9891
- Object.defineProperty(o, k2, desc);
9892
- }) : (function(o, m, k, k2) {
9893
- if (k2 === void 0) k2 = k;
9894
- o[k2] = m[k];
9895
- }));
9896
- var __exportStar = exports && exports.__exportStar || function(m, exports2) {
9897
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
9898
- };
9899
- Object.defineProperty(exports, "__esModule", { value: true });
9900
- __exportStar(require_common41(), exports);
9901
- }
9902
- });
9903
-
9904
9871
  // ../types/dist/product/status.js
9905
9872
  var require_status = __commonJS({
9906
9873
  "../types/dist/product/status.js"(exports) {
@@ -9917,7 +9884,7 @@ var require_status = __commonJS({
9917
9884
  });
9918
9885
 
9919
9886
  // ../types/dist/product/common.js
9920
- var require_common42 = __commonJS({
9887
+ var require_common41 = __commonJS({
9921
9888
  "../types/dist/product/common.js"(exports) {
9922
9889
  "use strict";
9923
9890
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -9983,7 +9950,7 @@ var require_product5 = __commonJS({
9983
9950
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
9984
9951
  };
9985
9952
  Object.defineProperty(exports, "__esModule", { value: true });
9986
- __exportStar(require_common42(), exports);
9953
+ __exportStar(require_common41(), exports);
9987
9954
  __exportStar(require_mutations26(), exports);
9988
9955
  }
9989
9956
  });
@@ -10095,7 +10062,6 @@ var require_dist2 = __commonJS({
10095
10062
  exports.HttpTypes = __importStar(require_http3());
10096
10063
  __exportStar(require_payout2(), exports);
10097
10064
  __exportStar(require_offer2(), exports);
10098
- __exportStar(require_search2(), exports);
10099
10065
  var status_1 = require_status();
10100
10066
  Object.defineProperty(exports, "ProductStatus", { enumerable: true, get: function() {
10101
10067
  return status_1.ProductStatus;
@@ -21889,7 +21855,7 @@ var InnerForm = ({
21889
21855
  "aria-labelledby": METADATA_KEY_LABEL_ID,
21890
21856
  ...field2,
21891
21857
  disabled: isDisabled,
21892
- placeholder: "Key"
21858
+ placeholder: t2("metadata.edit.labels.key")
21893
21859
  }
21894
21860
  ) }) });
21895
21861
  }
@@ -21908,7 +21874,7 @@ var InnerForm = ({
21908
21874
  ...field2,
21909
21875
  value: isDisabled ? placeholder : value,
21910
21876
  disabled: isDisabled,
21911
- placeholder: "Value"
21877
+ placeholder: t2("metadata.edit.labels.value")
21912
21878
  }
21913
21879
  ) }) });
21914
21880
  }
@@ -23357,7 +23323,7 @@ var SelectFilter = ({
23357
23323
  value: search,
23358
23324
  onValueChange: setSearch,
23359
23325
  className: "txt-compact-small placeholder:text-ui-fg-muted bg-transparent outline-none",
23360
- placeholder: "Search"
23326
+ placeholder: t2("general.search")
23361
23327
  }
23362
23328
  ),
23363
23329
  /* @__PURE__ */ jsx72("div", { className: "flex h-5 w-5 items-center justify-center", children: /* @__PURE__ */ jsx72(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/dashboard-shared",
3
- "version": "2.2.0-rc.1",
3
+ "version": "2.2.0-rc.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",
@@ -23,7 +23,7 @@
23
23
  "build": "tsup"
24
24
  },
25
25
  "dependencies": {
26
- "@mercurjs/client": "2.2.0-rc.1",
26
+ "@mercurjs/client": "2.2.0-rc.3",
27
27
  "@ariakit/react": "^0.4.15",
28
28
  "@babel/runtime": "^7.26.10",
29
29
  "@dnd-kit/core": "^6.1.0",
@@ -35,7 +35,7 @@
35
35
  "@medusajs/dashboard": "2.17.2",
36
36
  "@medusajs/icons": "2.17.2",
37
37
  "@medusajs/ui": "4.1.19",
38
- "@radix-ui/react-dialog": "1.1.4",
38
+ "@radix-ui/react-dialog": "1.1.19",
39
39
  "@radix-ui/react-dismissable-layer": "1.1.4",
40
40
  "@tanstack/react-query": "5.64.2",
41
41
  "@tanstack/react-table": "8.20.5",
@@ -44,7 +44,7 @@
44
44
  "cmdk": "^0.2.0",
45
45
  "copy-to-clipboard": "^4.0.2",
46
46
  "date-fns": "^3.6.0",
47
- "i18next": "23.7.11",
47
+ "i18next": "26.3.5",
48
48
  "i18next-browser-languagedetector": "7.2.0",
49
49
  "i18next-http-backend": "2.4.2",
50
50
  "lodash.debounce": "^4.0.8",
@@ -57,15 +57,15 @@
57
57
  "react-currency-input-field": "^3.6.11",
58
58
  "react-helmet-async": "^2.0.5",
59
59
  "react-hook-form": "7.49.1",
60
- "react-i18next": "13.5.0",
60
+ "react-i18next": "17.0.8",
61
61
  "react-jwt": "^1.2.0",
62
- "react-router-dom": "6.30.3",
62
+ "react-router-dom": "7.18.1",
63
63
  "zod": "4.4.3"
64
64
  },
65
65
  "devDependencies": {
66
- "@mercurjs/types": "2.2.0-rc.1",
67
- "@mercurjs/core": "2.2.0-rc.1",
68
- "@mercurjs/dashboard-sdk": "2.2.0-rc.1",
66
+ "@mercurjs/types": "2.2.0-rc.3",
67
+ "@mercurjs/core": "2.2.0-rc.3",
68
+ "@mercurjs/dashboard-sdk": "2.2.0-rc.3",
69
69
  "tsup": "^8.0.2",
70
70
  "typescript": "5.9.3",
71
71
  "@types/lodash.debounce": "^4.0.8",