@houssemdi2000/design-system 1.4.6 → 1.4.8

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.
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./EditableText.css";
3
+ export interface EditableFieldProps {
4
+ label?: string | React.ReactNode;
5
+ error?: string;
6
+ value: string | number;
7
+ editable?: boolean;
8
+ icon?: React.ReactNode;
9
+ onSave: (value: string | number) => void;
10
+ renderValue?: (value: string | number) => React.ReactNode;
11
+ fullWidth?: boolean;
12
+ isDarkMode?: boolean;
13
+ borderColor?: string;
14
+ focusBorder?: string;
15
+ focusShadow?: string;
16
+ style?: React.CSSProperties;
17
+ }
18
+ declare const EditableField: React.FC<EditableFieldProps>;
19
+ export default EditableField;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: import("react").FC<import("./EditableField").EditableFieldProps>;
4
+ };
5
+ export default _default;
6
+ export declare const Default: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './EditableField';
@@ -36,4 +36,4 @@ export * from './QuicklyLogin';
36
36
  export * from './Form';
37
37
  export * from './CardSheet';
38
38
  export * from './Accordion';
39
- export * from './EditableText';
39
+ export * from './EditableField';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houssemdi2000/design-system",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "Mon système de design React",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",