@dipusevilla/componentes-iu 1.0.11 → 1.0.13
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.
- package/dist/index.cjs.js +10 -10
- package/dist/index.css +1 -1
- package/dist/index.es.js +850 -847
- package/dist/index.umd.js +12 -12
- package/dist/types/components/Select.d.ts +2 -0
- package/dist/types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -11,6 +11,8 @@ export interface SelectProps {
|
|
|
11
11
|
options?: Option[];
|
|
12
12
|
/** Función asíncrona para cargar opciones */
|
|
13
13
|
loadOptions?: () => Promise<Option[]>;
|
|
14
|
+
/** Lista de campos que al cambiar volverán a disparar el loadOptions */
|
|
15
|
+
reloadDeps?: any[];
|
|
14
16
|
/** Para uso “no-RHF” */
|
|
15
17
|
value?: string | number;
|
|
16
18
|
onChange?: (value: any) => void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -56,4 +56,8 @@ export { ToastProvider, useToast } from './components/ToastContainer';
|
|
|
56
56
|
export { ToggleSwitch } from './components/ToggleSwitch';
|
|
57
57
|
export type { ToggleSwitchProps } from './components/ToggleSwitch';
|
|
58
58
|
export type { FormSchema, ButtonField, FieldSchema, FieldType, InputGroupField, LayoutNode, Option, SectionBlock, SectionColumn, SectionRow, SectionRowObject } from './types/FormTypes';
|
|
59
|
+
export { Checkbox } from './components/Checkbox';
|
|
60
|
+
export type { CheckboxProps } from './components/Checkbox';
|
|
61
|
+
export { SearchField } from './components/SearchField';
|
|
62
|
+
export type { SearchFieldProps } from './components/SearchField';
|
|
59
63
|
import './styles/index.css';
|