@nocios/crudify-ui 4.4.54 → 4.4.56
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/{CrudiaFileField-DyJ5U71w.d.ts → CrudiaMarkdownField-BB1lfJl2.d.ts} +38 -1
- package/dist/{CrudiaFileField-DJjiFRYH.d.mts → CrudiaMarkdownField-DolyQn1x.d.mts} +38 -1
- package/dist/{chunk-4YJC5SQU.js → chunk-7ICLHPYK.js} +1 -1
- package/dist/chunk-W46IJS4Y.mjs +1 -0
- package/dist/components.d.mts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +1 -1
- package/dist/components.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -1
- package/dist/chunk-5WCMQ22A.mjs +0 -1
|
@@ -234,4 +234,41 @@ interface CrudiaFileFieldProps {
|
|
|
234
234
|
*/
|
|
235
235
|
declare const CrudiaFileField: React.FC<CrudiaFileFieldProps>;
|
|
236
236
|
|
|
237
|
-
|
|
237
|
+
/**
|
|
238
|
+
* Markdown field component with rich text editing using MDXEditor
|
|
239
|
+
* - WYSIWYG markdown editing
|
|
240
|
+
* - Toolbar with formatting options
|
|
241
|
+
* - Saves content as markdown string
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Props del componente CrudiaMarkdownField
|
|
246
|
+
*/
|
|
247
|
+
interface CrudiaMarkdownFieldProps {
|
|
248
|
+
/** Label del campo */
|
|
249
|
+
label?: string;
|
|
250
|
+
/** Valor actual (markdown string) */
|
|
251
|
+
value?: string;
|
|
252
|
+
/** Callback cuando cambia el contenido */
|
|
253
|
+
onChange?: (value: string) => void;
|
|
254
|
+
/** Campo requerido */
|
|
255
|
+
required?: boolean;
|
|
256
|
+
/** Campo deshabilitado/solo lectura */
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
/** Error externo */
|
|
259
|
+
error?: boolean;
|
|
260
|
+
/** Texto de ayuda o error */
|
|
261
|
+
helperText?: string;
|
|
262
|
+
/** Texto placeholder */
|
|
263
|
+
placeholder?: string;
|
|
264
|
+
/** Altura mínima del editor en píxeles */
|
|
265
|
+
minHeight?: number;
|
|
266
|
+
/** Altura máxima del editor en píxeles (después se hace scroll) */
|
|
267
|
+
maxHeight?: number;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* CrudiaMarkdownField - Editor de Markdown con soporte completo de MDXEditor
|
|
271
|
+
*/
|
|
272
|
+
declare const CrudiaMarkdownField: React.FC<CrudiaMarkdownFieldProps>;
|
|
273
|
+
|
|
274
|
+
export { type BoxScreenType as B, CrudifyLogin as C, LoginComponent as L, Policies as P, SessionStatus as S, UserProfileDisplay as U, CrudiaAutoGenerate as a, CrudiaFileField as b, CrudiaMarkdownField as c, type CrudifyLoginConfig as d, type CrudifyLoginProps as e, type CrudifyLoginTranslations as f, type UserLoginData as g, type PolicyAction as h, type CrudiaAutoGenerateProps as i, type CrudiaFileFieldProps as j, type CrudiaMarkdownFieldProps as k, POLICY_ACTIONS as l, PREFERRED_POLICY_ORDER as m };
|
|
@@ -234,4 +234,41 @@ interface CrudiaFileFieldProps {
|
|
|
234
234
|
*/
|
|
235
235
|
declare const CrudiaFileField: React.FC<CrudiaFileFieldProps>;
|
|
236
236
|
|
|
237
|
-
|
|
237
|
+
/**
|
|
238
|
+
* Markdown field component with rich text editing using MDXEditor
|
|
239
|
+
* - WYSIWYG markdown editing
|
|
240
|
+
* - Toolbar with formatting options
|
|
241
|
+
* - Saves content as markdown string
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Props del componente CrudiaMarkdownField
|
|
246
|
+
*/
|
|
247
|
+
interface CrudiaMarkdownFieldProps {
|
|
248
|
+
/** Label del campo */
|
|
249
|
+
label?: string;
|
|
250
|
+
/** Valor actual (markdown string) */
|
|
251
|
+
value?: string;
|
|
252
|
+
/** Callback cuando cambia el contenido */
|
|
253
|
+
onChange?: (value: string) => void;
|
|
254
|
+
/** Campo requerido */
|
|
255
|
+
required?: boolean;
|
|
256
|
+
/** Campo deshabilitado/solo lectura */
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
/** Error externo */
|
|
259
|
+
error?: boolean;
|
|
260
|
+
/** Texto de ayuda o error */
|
|
261
|
+
helperText?: string;
|
|
262
|
+
/** Texto placeholder */
|
|
263
|
+
placeholder?: string;
|
|
264
|
+
/** Altura mínima del editor en píxeles */
|
|
265
|
+
minHeight?: number;
|
|
266
|
+
/** Altura máxima del editor en píxeles (después se hace scroll) */
|
|
267
|
+
maxHeight?: number;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* CrudiaMarkdownField - Editor de Markdown con soporte completo de MDXEditor
|
|
271
|
+
*/
|
|
272
|
+
declare const CrudiaMarkdownField: React.FC<CrudiaMarkdownFieldProps>;
|
|
273
|
+
|
|
274
|
+
export { type BoxScreenType as B, CrudifyLogin as C, LoginComponent as L, Policies as P, SessionStatus as S, UserProfileDisplay as U, CrudiaAutoGenerate as a, CrudiaFileField as b, CrudiaMarkdownField as c, type CrudifyLoginConfig as d, type CrudifyLoginProps as e, type CrudifyLoginTranslations as f, type UserLoginData as g, type PolicyAction as h, type CrudiaAutoGenerateProps as i, type CrudiaFileFieldProps as j, type CrudiaMarkdownFieldProps as k, POLICY_ACTIONS as l, PREFERRED_POLICY_ORDER as m };
|