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

avine-react-components

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avine-react-components - npm Package Compare versions

Comparing version 0.1.53 to 0.1.54

dist/utils/date-to-input-date-string.d.mts

14

dist/components/table/table.js

@@ -497,9 +497,11 @@ "use strict";

const handleFilterData = (data2, search) => {
const length = data2.length;
const dataLength = data2.length;
const results = [];
search = search.toLowerCase().trim();
for (let i = 0; i < length; i++) {
const values = Object.values(data2[i]).join(" ").toLowerCase();
if (values.includes(search))
results.push(data2[i]);
for (let i = 0; i < dataLength; i++) {
for (let j = 0; j < innerColumns.length; j++) {
const values = getNestedValues(innerColumns[j].key, data2[i]).toString().toLowerCase();
if (values.includes(search))
results.push(data2[i]);
}
}

@@ -530,3 +532,3 @@ const sortedColumn = innerColumns.find((x) => x.sortableOrder);

import_xlsx.utils.book_append_sheet(workbook, worksheet, "test");
(0, import_xlsx.writeFileXLSX)(workbook, "export.xlsx");
(0, import_xlsx.writeFileXLSX)(workbook, `export_${(/* @__PURE__ */ new Date()).toISOString().replace(/([A-Z]?(\:?\.?\-?)?)/gi, "")}.xlsx`);
};

@@ -533,0 +535,0 @@ (0, import_react5.useEffect)(() => setInnerColumns(columns), [columns]);

@@ -13,4 +13,3 @@ export { ETableColumnOrder, Table, TableColumn, TableProps } from './components/table/table.js';

export { usePagination } from './hooks/use-pagination.js';
export { UTCDateToLocalDateString, dateToInputDateString, formatCpfCnpj } from './utils.js';
export { NotificationContext, NotificationProvider } from './contexts/notification-context.js';
import 'react';
{
"name": "avine-react-components",
"version": "0.1.53",
"version": "0.1.54",
"license": "MIT",

@@ -24,2 +24,6 @@ "description": "",

"author": "Carlos Daniel",
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
},
"devDependencies": {

@@ -26,0 +30,0 @@ "@storybook/addon-essentials": "^8.0.0",

@@ -17,4 +17,6 @@ export * from './components/table/table';

export * from './utils';
export * from './utils/date-to-input-date-string';
export * from './utils/format-cpf-cnpj';
export * from './utils/utc-date-to-local-date-string';
export * from './contexts/notification-context';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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