@lindaui/blocks 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/dist/list-pane.js +2 -2
  2. package/package.json +26 -25
package/dist/list-pane.js CHANGED
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
- import React from 'react';
3
+ import React__default from 'react';
4
4
  import { AlertCircle, RotateCcw, FileText } from 'lucide-react';
5
5
  import { Button } from '@lindaui/ui/button';
6
6
  import { SearchField } from '@lindaui/ui/search-field';
7
7
  import { Skeleton } from '@lindaui/ui/skeleton';
8
8
 
9
9
  function ListPane({ filters, activeFilter, onFilterChange, searchValue = "", onSearchChange, searchPlaceholder = "Buscar", searchLabel = "Buscar", loading = false, error = null, onRetry, errorTitle = "No se pudieron cargar los datos", retryLabel = "Reintentar", isEmpty, emptyTitle = "Sin resultados", emptyDescription, emptyIcon, children }) {
10
- const showEmpty = !loading && !error && (isEmpty !== undefined ? isEmpty : React.Children.count(children) === 0);
10
+ const showEmpty = !loading && !error && (isEmpty !== undefined ? isEmpty : React__default.Children.count(children) === 0);
11
11
  return /*#__PURE__*/ jsxs("div", {
12
12
  className: "flex h-full min-h-0 flex-col bg-background",
13
13
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lindaui/blocks",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Composed UI sections (auth, lists, master-detail, charts) built on @lindaui/ui — importable npm package, not a copy-paste registry.",
5
5
  "author": "Franco Carballar <francocarballar@gmail.com>",
6
6
  "license": "MIT",
@@ -196,35 +196,36 @@
196
196
  "llms.txt"
197
197
  ],
198
198
  "peerDependencies": {
199
+ "@lindaui/tokens": ">=0.2.0",
200
+ "@lindaui/ui": ">=0.2.0",
201
+ "lucide-react": ">=0.4",
199
202
  "react": ">=19",
200
203
  "react-dom": ">=19",
201
204
  "react-hook-form": ">=7",
202
- "lucide-react": ">=0.4",
203
- "recharts": ">=3",
204
- "@lindaui/ui": ">=0.2.0",
205
- "@lindaui/tokens": ">=0.2.0"
205
+ "recharts": ">=3"
206
206
  },
207
207
  "devDependencies": {
208
- "bunchee": "^6.0.0",
209
- "vitest": "^4.1.10",
210
- "vite": "^6.4.3",
211
- "@vitejs/plugin-react": "^4.3.0",
212
- "@testing-library/react": "^16.0.0",
213
- "@testing-library/user-event": "^14.5.0",
214
- "@testing-library/jest-dom": "^6.4.0",
215
- "jsdom": "^24.0.0",
216
- "react": "^19.0.0",
217
- "react-dom": "^19.0.0",
218
- "@types/react": "^19.0.0",
219
- "@types/react-dom": "^19.0.0",
220
- "react-hook-form": "^7.81.0",
221
- "lucide-react": "^1.23.0",
222
- "recharts": "^3.9.2",
223
- "zod": "^4.4.3",
224
- "@hookform/resolvers": "^5.4.0",
225
- "typescript": "^6.0.3",
226
- "@lindaui/tokens": "0.3.0",
227
- "@lindaui/ui": "0.4.0"
208
+ "@hookform/resolvers": "^5.9.1",
209
+ "@testing-library/jest-dom": "^7.0.1",
210
+ "@testing-library/react": "^16.3.3",
211
+ "@testing-library/user-event": "^14.6.7",
212
+ "@types/react": "^19.3.0",
213
+ "@types/react-dom": "^19.3.0",
214
+ "@typescript/typescript6": "^6.0.2",
215
+ "@vitejs/plugin-react": "^6.1.2",
216
+ "bunchee": "^7.0.1",
217
+ "jsdom": "^30.1.2",
218
+ "lucide-react": "^1.54.0",
219
+ "react": "^19.3.0",
220
+ "react-dom": "^19.3.0",
221
+ "react-hook-form": "^7.89.0",
222
+ "recharts": "^3.10.1",
223
+ "typescript": "^7.0.2",
224
+ "vite": "^8.3.4",
225
+ "vitest": "^5.0.3",
226
+ "zod": "^4.6.5",
227
+ "@lindaui/tokens": "0.3.1",
228
+ "@lindaui/ui": "0.4.1"
228
229
  },
229
230
  "scripts": {
230
231
  "build": "bunchee --no-dts && tsc -p tsconfig.build.json",