Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-core-ts

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-core-ts - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/utilities/tooltip.d.ts

6

dist/AutoComplete.js

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

Object.defineProperty(exports, "__esModule", { value: true });
var tooltip_1 = __importDefault(require("./utilities/tooltip"));
var react_1 = __importStar(require("react"));

@@ -81,3 +82,2 @@ var autosuggestions_1 = require("./utilities/autosuggestions");

var icons_1 = require("./utilities/icons");
var tootltip_1 = __importDefault(require("./utilities/tootltip"));
var AutoComplete = (0, react_1.forwardRef)(function (_a, ref) {

@@ -274,7 +274,7 @@ var _b, _c, _d, _e, _f, _g;

react_1.default.createElement("div", { key: selectedItems[0].id, className: "selected-item" },
react_1.default.createElement(tootltip_1.default, { title: (_b = selectedItems[0]) === null || _b === void 0 ? void 0 : _b[desc] }, ((_d = (_c = selectedItems[0]) === null || _c === void 0 ? void 0 : _c[desc]) === null || _d === void 0 ? void 0 : _d.length) > 8
react_1.default.createElement(tooltip_1.default, { title: (_b = selectedItems[0]) === null || _b === void 0 ? void 0 : _b[desc] }, ((_d = (_c = selectedItems[0]) === null || _c === void 0 ? void 0 : _c[desc]) === null || _d === void 0 ? void 0 : _d.length) > 8
? "".concat((_e = selectedItems[0]) === null || _e === void 0 ? void 0 : _e[desc].substring(0, 8), "...")
: (_f = selectedItems[0]) === null || _f === void 0 ? void 0 : _f[desc]),
react_1.default.createElement("button", { onClick: function () { return handleRemoveSelectedItem(0); }, className: "remove-item-btn", "aria-label": "Remove ".concat((_g = selectedItems[0]) === null || _g === void 0 ? void 0 : _g[desc]) }, "X")),
react_1.default.createElement(tootltip_1.default, { title: tooltipContent }, (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) > 1 && (react_1.default.createElement("div", { className: "selected-item-more" },
react_1.default.createElement(tooltip_1.default, { title: tooltipContent }, (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) > 1 && (react_1.default.createElement("div", { className: "selected-item-more" },
"+",

@@ -281,0 +281,0 @@ (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) - 1,

{
"name": "react-core-ts",
"version": "1.0.1",
"version": "1.0.2",
"description": "React Components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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