@uniformdev/mesh-sdk-react 19.186.1 → 19.186.4-alpha.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/dist/index.esm.js CHANGED
@@ -5266,6 +5266,7 @@ function hasReferencedVariables2(value) {
5266
5266
 
5267
5267
  // src/components/Variables/VariablesList.tsx
5268
5268
  import { css as css27 } from "@emotion/react";
5269
+ import { CgTrash } from "@react-icons/all-files/cg/CgTrash";
5269
5270
  import {
5270
5271
  AddListButton,
5271
5272
  button,
@@ -5400,7 +5401,7 @@ function VariablesList() {
5400
5401
  ],
5401
5402
  "aria-controls": text,
5402
5403
  onClick: () => dispatch({ type: "remove", variable: name }),
5403
- children: /* @__PURE__ */ jsx44(Icon5, { icon: "trash", iconColor: "red" })
5404
+ children: /* @__PURE__ */ jsx44(Icon5, { icon: CgTrash, iconColor: "red" })
5404
5405
  }
5405
5406
  ) })
5406
5407
  ]
@@ -6323,7 +6324,7 @@ var DataRefreshButton = ({
6323
6324
  // src/components/ObjectSearch/ObjectSearchContainer.tsx
6324
6325
  import { css as css33 } from "@emotion/react";
6325
6326
  import { bindVariables } from "@uniformdev/canvas";
6326
- import { Callout as Callout5, Container, IconsProvider, ScrollableList, VerticalRhythm as VerticalRhythm3 } from "@uniformdev/design-system";
6327
+ import { Callout as Callout5, Container, ScrollableList, VerticalRhythm as VerticalRhythm3 } from "@uniformdev/design-system";
6327
6328
 
6328
6329
  // src/components/ObjectSearch/hooks/ObjectSearchContext.tsx
6329
6330
  import { bindVariablesToObject as bindVariablesToObject2 } from "@uniformdev/canvas";
@@ -6642,7 +6643,7 @@ var ObjectSearchContainer = ({
6642
6643
  }
6643
6644
  ]);
6644
6645
  };
6645
- return /* @__PURE__ */ jsx61(IconsProvider, { children: /* @__PURE__ */ jsxs35(VerticalRhythm3, { children: [
6646
+ return /* @__PURE__ */ jsxs35(VerticalRhythm3, { children: [
6646
6647
  /* @__PURE__ */ jsx61(Container, { backgroundColor: "gray-50", padding: "var(--spacing-base)", border: true, children: label ? /* @__PURE__ */ jsx61(
6647
6648
  InputVariables,
6648
6649
  {
@@ -6659,7 +6660,7 @@ var ObjectSearchContainer = ({
6659
6660
  }
6660
6661
  ) : body }),
6661
6662
  children
6662
- ] }) });
6663
+ ] });
6663
6664
  };
6664
6665
  var DefaultResultList = () => {
6665
6666
  var _a;
@@ -8323,7 +8324,7 @@ var TextMultiChoiceEditor = ({
8323
8324
  };
8324
8325
 
8325
8326
  // src/components/SearchAndFilter/FilterButton.tsx
8326
- import { Counter as Counter2, Icon as Icon6 } from "@uniformdev/design-system";
8327
+ import { Counter as Counter2, customIcons, Icon as Icon6 } from "@uniformdev/design-system";
8327
8328
 
8328
8329
  // src/components/SearchAndFilter/styles/SearchAndFilter.styles.ts
8329
8330
  import { css as css38 } from "@emotion/react";
@@ -8579,7 +8580,7 @@ var SearchAndFilterButtonGroup = css38`
8579
8580
  import { jsx as jsx81, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
8580
8581
  var FilterButton2 = ({
8581
8582
  text = "Filters",
8582
- icon = "filter-add",
8583
+ icon = customIcons["filter-add"],
8583
8584
  filterCount,
8584
8585
  hasSelectedValue,
8585
8586
  dataTestId,
@@ -8906,6 +8907,7 @@ var FilterControls = ({
8906
8907
  };
8907
8908
 
8908
8909
  // src/components/SearchAndFilter/FilterItem.tsx
8910
+ import { CgTrash as CgTrash2 } from "@react-icons/all-files/cg/CgTrash";
8909
8911
  import { Icon as Icon8, InputComboBox as InputComboBox5 } from "@uniformdev/design-system";
8910
8912
  import { useMemo as useMemo23 } from "react";
8911
8913
 
@@ -9051,7 +9053,7 @@ var FilterItem = ({
9051
9053
  css: IconBtn,
9052
9054
  "data-testid": "delete-filter",
9053
9055
  disabled: filters.length === 1,
9054
- children: /* @__PURE__ */ jsx85(Icon8, { icon: "trash", iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9056
+ children: /* @__PURE__ */ jsx85(Icon8, { icon: CgTrash2, iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9055
9057
  }
9056
9058
  )
9057
9059
  ] })
@@ -9059,6 +9061,7 @@ var FilterItem = ({
9059
9061
  };
9060
9062
 
9061
9063
  // src/components/SearchAndFilter/FilterItems.tsx
9064
+ import { CgMathPlus } from "@react-icons/all-files/cg/CgMathPlus";
9062
9065
  import { Icon as Icon9 } from "@uniformdev/design-system";
9063
9066
 
9064
9067
  // src/components/SearchAndFilter/FilterMenu.tsx
@@ -9271,7 +9274,7 @@ var FilterItems = ({
9271
9274
  onClick: handleAddFilter,
9272
9275
  "data-testid": "add-filter",
9273
9276
  children: [
9274
- /* @__PURE__ */ jsx87(Icon9, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
9277
+ /* @__PURE__ */ jsx87(Icon9, { icon: CgMathPlus, iconColor: "currentColor", size: "1rem" }),
9275
9278
  addButtonText
9276
9279
  ]
9277
9280
  }
package/dist/index.js CHANGED
@@ -5461,6 +5461,7 @@ function hasReferencedVariables2(value) {
5461
5461
 
5462
5462
  // src/components/Variables/VariablesList.tsx
5463
5463
  var import_react58 = require("@emotion/react");
5464
+ var import_CgTrash = require("@react-icons/all-files/cg/CgTrash");
5464
5465
  var import_design_system25 = require("@uniformdev/design-system");
5465
5466
  var import_react_beautiful_dnd3 = require("react-beautiful-dnd");
5466
5467
 
@@ -5585,7 +5586,7 @@ function VariablesList() {
5585
5586
  ],
5586
5587
  "aria-controls": text,
5587
5588
  onClick: () => dispatch({ type: "remove", variable: name }),
5588
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_design_system25.Icon, { icon: "trash", iconColor: "red" })
5589
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_design_system25.Icon, { icon: import_CgTrash.CgTrash, iconColor: "red" })
5589
5590
  }
5590
5591
  ) })
5591
5592
  ]
@@ -6800,7 +6801,7 @@ var ObjectSearchContainer = ({
6800
6801
  }
6801
6802
  ]);
6802
6803
  };
6803
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_design_system35.IconsProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_design_system35.VerticalRhythm, { children: [
6804
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_design_system35.VerticalRhythm, { children: [
6804
6805
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_design_system35.Container, { backgroundColor: "gray-50", padding: "var(--spacing-base)", border: true, children: label ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6805
6806
  InputVariables,
6806
6807
  {
@@ -6817,7 +6818,7 @@ var ObjectSearchContainer = ({
6817
6818
  }
6818
6819
  ) : body }),
6819
6820
  children
6820
- ] }) });
6821
+ ] });
6821
6822
  };
6822
6823
  var DefaultResultList = () => {
6823
6824
  var _a;
@@ -8719,7 +8720,7 @@ var SearchAndFilterButtonGroup = import_react86.css`
8719
8720
  var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
8720
8721
  var FilterButton2 = ({
8721
8722
  text = "Filters",
8722
- icon = "filter-add",
8723
+ icon = import_design_system54.customIcons["filter-add"],
8723
8724
  filterCount,
8724
8725
  hasSelectedValue,
8725
8726
  dataTestId,
@@ -9038,6 +9039,7 @@ var FilterControls = ({
9038
9039
  };
9039
9040
 
9040
9041
  // src/components/SearchAndFilter/FilterItem.tsx
9042
+ var import_CgTrash2 = require("@react-icons/all-files/cg/CgTrash");
9041
9043
  var import_design_system57 = require("@uniformdev/design-system");
9042
9044
  var import_react89 = require("react");
9043
9045
 
@@ -9183,7 +9185,7 @@ var FilterItem = ({
9183
9185
  css: IconBtn,
9184
9186
  "data-testid": "delete-filter",
9185
9187
  disabled: filters.length === 1,
9186
- children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_design_system57.Icon, { icon: "trash", iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9188
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_design_system57.Icon, { icon: import_CgTrash2.CgTrash, iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9187
9189
  }
9188
9190
  )
9189
9191
  ] })
@@ -9191,6 +9193,7 @@ var FilterItem = ({
9191
9193
  };
9192
9194
 
9193
9195
  // src/components/SearchAndFilter/FilterItems.tsx
9196
+ var import_CgMathPlus = require("@react-icons/all-files/cg/CgMathPlus");
9194
9197
  var import_design_system59 = require("@uniformdev/design-system");
9195
9198
 
9196
9199
  // src/components/SearchAndFilter/FilterMenu.tsx
@@ -9403,7 +9406,7 @@ var FilterItems = ({
9403
9406
  onClick: handleAddFilter,
9404
9407
  "data-testid": "add-filter",
9405
9408
  children: [
9406
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_design_system59.Icon, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
9409
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_design_system59.Icon, { icon: import_CgMathPlus.CgMathPlus, iconColor: "currentColor", size: "1rem" }),
9407
9410
  addButtonText
9408
9411
  ]
9409
9412
  }
package/dist/index.mjs CHANGED
@@ -5266,6 +5266,7 @@ function hasReferencedVariables2(value) {
5266
5266
 
5267
5267
  // src/components/Variables/VariablesList.tsx
5268
5268
  import { css as css27 } from "@emotion/react";
5269
+ import { CgTrash } from "@react-icons/all-files/cg/CgTrash";
5269
5270
  import {
5270
5271
  AddListButton,
5271
5272
  button,
@@ -5400,7 +5401,7 @@ function VariablesList() {
5400
5401
  ],
5401
5402
  "aria-controls": text,
5402
5403
  onClick: () => dispatch({ type: "remove", variable: name }),
5403
- children: /* @__PURE__ */ jsx44(Icon5, { icon: "trash", iconColor: "red" })
5404
+ children: /* @__PURE__ */ jsx44(Icon5, { icon: CgTrash, iconColor: "red" })
5404
5405
  }
5405
5406
  ) })
5406
5407
  ]
@@ -6323,7 +6324,7 @@ var DataRefreshButton = ({
6323
6324
  // src/components/ObjectSearch/ObjectSearchContainer.tsx
6324
6325
  import { css as css33 } from "@emotion/react";
6325
6326
  import { bindVariables } from "@uniformdev/canvas";
6326
- import { Callout as Callout5, Container, IconsProvider, ScrollableList, VerticalRhythm as VerticalRhythm3 } from "@uniformdev/design-system";
6327
+ import { Callout as Callout5, Container, ScrollableList, VerticalRhythm as VerticalRhythm3 } from "@uniformdev/design-system";
6327
6328
 
6328
6329
  // src/components/ObjectSearch/hooks/ObjectSearchContext.tsx
6329
6330
  import { bindVariablesToObject as bindVariablesToObject2 } from "@uniformdev/canvas";
@@ -6642,7 +6643,7 @@ var ObjectSearchContainer = ({
6642
6643
  }
6643
6644
  ]);
6644
6645
  };
6645
- return /* @__PURE__ */ jsx61(IconsProvider, { children: /* @__PURE__ */ jsxs35(VerticalRhythm3, { children: [
6646
+ return /* @__PURE__ */ jsxs35(VerticalRhythm3, { children: [
6646
6647
  /* @__PURE__ */ jsx61(Container, { backgroundColor: "gray-50", padding: "var(--spacing-base)", border: true, children: label ? /* @__PURE__ */ jsx61(
6647
6648
  InputVariables,
6648
6649
  {
@@ -6659,7 +6660,7 @@ var ObjectSearchContainer = ({
6659
6660
  }
6660
6661
  ) : body }),
6661
6662
  children
6662
- ] }) });
6663
+ ] });
6663
6664
  };
6664
6665
  var DefaultResultList = () => {
6665
6666
  var _a;
@@ -8323,7 +8324,7 @@ var TextMultiChoiceEditor = ({
8323
8324
  };
8324
8325
 
8325
8326
  // src/components/SearchAndFilter/FilterButton.tsx
8326
- import { Counter as Counter2, Icon as Icon6 } from "@uniformdev/design-system";
8327
+ import { Counter as Counter2, customIcons, Icon as Icon6 } from "@uniformdev/design-system";
8327
8328
 
8328
8329
  // src/components/SearchAndFilter/styles/SearchAndFilter.styles.ts
8329
8330
  import { css as css38 } from "@emotion/react";
@@ -8579,7 +8580,7 @@ var SearchAndFilterButtonGroup = css38`
8579
8580
  import { jsx as jsx81, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
8580
8581
  var FilterButton2 = ({
8581
8582
  text = "Filters",
8582
- icon = "filter-add",
8583
+ icon = customIcons["filter-add"],
8583
8584
  filterCount,
8584
8585
  hasSelectedValue,
8585
8586
  dataTestId,
@@ -8906,6 +8907,7 @@ var FilterControls = ({
8906
8907
  };
8907
8908
 
8908
8909
  // src/components/SearchAndFilter/FilterItem.tsx
8910
+ import { CgTrash as CgTrash2 } from "@react-icons/all-files/cg/CgTrash";
8909
8911
  import { Icon as Icon8, InputComboBox as InputComboBox5 } from "@uniformdev/design-system";
8910
8912
  import { useMemo as useMemo23 } from "react";
8911
8913
 
@@ -9051,7 +9053,7 @@ var FilterItem = ({
9051
9053
  css: IconBtn,
9052
9054
  "data-testid": "delete-filter",
9053
9055
  disabled: filters.length === 1,
9054
- children: /* @__PURE__ */ jsx85(Icon8, { icon: "trash", iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9056
+ children: /* @__PURE__ */ jsx85(Icon8, { icon: CgTrash2, iconColor: filters.length === 1 ? "gray" : "red", size: "1rem" })
9055
9057
  }
9056
9058
  )
9057
9059
  ] })
@@ -9059,6 +9061,7 @@ var FilterItem = ({
9059
9061
  };
9060
9062
 
9061
9063
  // src/components/SearchAndFilter/FilterItems.tsx
9064
+ import { CgMathPlus } from "@react-icons/all-files/cg/CgMathPlus";
9062
9065
  import { Icon as Icon9 } from "@uniformdev/design-system";
9063
9066
 
9064
9067
  // src/components/SearchAndFilter/FilterMenu.tsx
@@ -9271,7 +9274,7 @@ var FilterItems = ({
9271
9274
  onClick: handleAddFilter,
9272
9275
  "data-testid": "add-filter",
9273
9276
  children: [
9274
- /* @__PURE__ */ jsx87(Icon9, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
9277
+ /* @__PURE__ */ jsx87(Icon9, { icon: CgMathPlus, iconColor: "currentColor", size: "1rem" }),
9275
9278
  addButtonText
9276
9279
  ]
9277
9280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.186.1",
3
+ "version": "19.186.4-alpha.3+59de2f77b6",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "@lexical/selection": "0.17.1",
51
51
  "@lexical/utils": "0.17.1",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.2.1/react-icons-all-files-5.2.1.tgz",
53
- "@uniformdev/canvas": "19.186.1",
54
- "@uniformdev/design-system": "19.186.1",
55
- "@uniformdev/mesh-sdk": "19.186.1",
56
- "@uniformdev/richtext": "19.186.1",
53
+ "@uniformdev/canvas": "19.186.4-alpha.3+59de2f77b6",
54
+ "@uniformdev/design-system": "19.186.4-alpha.3+59de2f77b6",
55
+ "@uniformdev/mesh-sdk": "19.186.4-alpha.3+59de2f77b6",
56
+ "@uniformdev/richtext": "19.186.4-alpha.3+59de2f77b6",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.17.1",
59
59
  "mitt": "3.0.1",
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "12ca61d140d99b4f2de67428425076cecbc6577b"
90
+ "gitHead": "59de2f77b6270e36c6a5e95b0bd6b1756c4dcdf0"
91
91
  }