lawgic-dev-kit 0.15.4 → 0.15.7

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.
@@ -1,4 +1,4 @@
1
- import { __module as e } from "../../../../_virtual/index6.js";
1
+ import { __module as e } from "../../../../_virtual/index7.js";
2
2
  import { __require as o } from "./cjs/react-is.production.min.js";
3
3
  import { __require as t } from "./cjs/react-is.development.js";
4
4
  var r;
@@ -1,4 +1,4 @@
1
- import { __module as w } from "../../_virtual/index7.js";
1
+ import { __module as w } from "../../_virtual/index6.js";
2
2
  var p;
3
3
  function x() {
4
4
  if (p) return w.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lawgic-dev-kit",
3
- "version": "0.15.4",
3
+ "version": "0.15.7",
4
4
  "description": "Componentes de UI para Lawgic",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- interface Option {
3
- label: string | React.ReactNode;
4
- value: number | string;
5
- }
6
- interface UncontrolledSelectorProps {
7
- value: number | string;
8
- onChange: (value: number | string) => void;
9
- options: Option[];
10
- placeholder?: string;
11
- label?: string;
12
- error?: string;
13
- disabled?: boolean;
14
- className?: string;
15
- allowSearch?: boolean;
16
- }
17
- declare const UncontrolledSelector: React.FC<UncontrolledSelectorProps>;
18
- export default UncontrolledSelector;
@@ -1,34 +0,0 @@
1
- export interface UploadContainerProps {
2
- /**
3
- * Título que se muestra en el área de carga
4
- * @default 'drag_and_drop_your_files_here'
5
- */
6
- title?: string;
7
- /**
8
- * Subtítulo opcional para mostrar información adicional
9
- * @default null
10
- */
11
- subtitle?: string | null;
12
- /**
13
- * Texto del botón de selección de archivos
14
- * @default 'choose_files'
15
- */
16
- buttonTitle?: string;
17
- /**
18
- * Función que se ejecuta cuando se cargan archivos válidos
19
- * @param files Array de objetos File seleccionados
20
- */
21
- onUpload?: (files: File[]) => void;
22
- /**
23
- * Lista de extensiones de archivo permitidas
24
- * @default ['pdf', 'png', 'jpg', 'jpeg', 'svg', 'docx', 'doc', 'xls', 'xlsx']
25
- */
26
- acceptedExtensions?: string[];
27
- /**
28
- * Tamaño máximo de archivo en KB
29
- * @default 1024
30
- */
31
- maxSize?: number;
32
- loading?: boolean;
33
- loadingDuration?: number;
34
- }