react-crud-mobile 1.3.535 → 1.3.541
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.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +68 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UIIcon.tsx +12 -1
package/dist/index.js
CHANGED
|
@@ -354,6 +354,13 @@ function UIIcon({ scope }) {
|
|
|
354
354
|
material: import_vector_icons.MaterialCommunityIcons
|
|
355
355
|
};
|
|
356
356
|
let library = import_react_crud_utils4.Utils.nvl(scope.original.library, "ion");
|
|
357
|
+
let icon = name.trim();
|
|
358
|
+
if (icon) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
|
|
359
|
+
if (name.includes(" ")) {
|
|
360
|
+
let split = name.split(/\s+/);
|
|
361
|
+
library = split[0];
|
|
362
|
+
icon = split[1];
|
|
363
|
+
}
|
|
357
364
|
let Aux = libs[library];
|
|
358
365
|
let css = scope.getStyle("icon");
|
|
359
366
|
let fontSize = scope.part("size", void 0);
|