New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mindinventory/mi-react-icon-picker

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mindinventory/mi-react-icon-picker - npm Package Compare versions

Comparing version 1.0.22 to 1.0.23

15

lib/IconPicker.js

@@ -27,2 +27,3 @@ "use strict";

var IconPicker = function IconPicker(_ref) {
var _selectedIcons$, _selectedIcons$2;
var _ref$value = _ref.value,

@@ -241,3 +242,3 @@ value = _ref$value === void 0 ? "" : _ref$value,

// Debugging
console.log("Extracted Icons with Paths:", icons);
// console.log("Extracted Icons with Paths:", icons);
}, 1000); // Delay to ensure stylesheets are loaded

@@ -321,3 +322,3 @@ }, []);

disabled: currentPage === totalPages,
className: "border-none bg-transparent text-gray-600 rounded cursor-pointer px-2 py-1 transition-colors duration-300 hover:bg-gray-200 disabled:opacity-50 outline-none",
className: "border-none bg-gray-200 text-gray-600 rounded cursor-pointer px-2 py-1 transition-colors duration-300 hover:bg-gray-200 disabled:opacity-50 outline-none",
type: "button"

@@ -366,5 +367,9 @@ }, /*#__PURE__*/_react["default"].createElement("span", {

type: "button"
}, selectedIcons.length && selectedIcons[0] ? /*#__PURE__*/_react["default"].createElement("span", {
className: selectedIcons[0].name + " text-xl"
}) : /*#__PURE__*/_react["default"].createElement("span", {
}, selectedIcons && selectedIcons[0] ? /*#__PURE__*/_react["default"].createElement("span", {
className: selectedIcons[0].hasOwnProperty("name") ? (_selectedIcons$ = selectedIcons[0]) === null || _selectedIcons$ === void 0 ? void 0 : _selectedIcons$.name : selectedIcons[0] + " text-xl"
}, selectedIcons[0].hasOwnProperty("paths") && ((_selectedIcons$2 = selectedIcons[0]) === null || _selectedIcons$2 === void 0 ? void 0 : _selectedIcons$2.paths.length) > 0 && selectedIcons[0].paths.map(function (path) {
return /*#__PURE__*/_react["default"].createElement("span", {
className: path.className
});
})) : /*#__PURE__*/_react["default"].createElement("span", {
className: "mi-icon-square text-xl"

@@ -371,0 +376,0 @@ })), isPopupVisible && /*#__PURE__*/_reactDom["default"].createPortal(renderPopup(), document.body));

{
"name": "@mindinventory/mi-react-icon-picker",
"version": "1.0.22",
"version": "1.0.23",
"main": "lib/IconPicker.js",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc