@yamada-ui/editable 0.3.19 → 0.3.21

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.
@@ -82,20 +82,20 @@ type EditableOptions = {
82
82
  /**
83
83
  * The border color when the input is focused.
84
84
  */
85
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
85
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
86
86
  /**
87
87
  * The border color when the input is invalid.
88
88
  */
89
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
90
- children?: ReactNode | ((props: Pick<UseEditableReturn, 'isEditing' | 'onSubmit' | 'onCancel' | 'onEdit'>) => ReactNode);
89
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
90
+ children?: ReactNode | ((props: Pick<UseEditableReturn, "isEditing" | "onSubmit" | "onCancel" | "onEdit">) => ReactNode);
91
91
  };
92
- type EditableProps = Omit<HTMLUIProps<'div'>, 'onChange' | 'value' | 'defaultValue' | 'onSubmit' | 'children'> & ThemeProps<'Editable'> & UseEditableProps & EditableOptions;
92
+ type EditableProps = Omit<HTMLUIProps<"div">, "onChange" | "value" | "defaultValue" | "onSubmit" | "children"> & ThemeProps<"Editable"> & UseEditableProps & EditableOptions;
93
93
  declare const Editable: _yamada_ui_core.Component<"div", EditableProps>;
94
- type EditablePreviewProps = HTMLUIProps<'span'>;
94
+ type EditablePreviewProps = HTMLUIProps<"span">;
95
95
  declare const EditablePreview: _yamada_ui_core.Component<"span", EditablePreviewProps>;
96
- type EditableInputProps = HTMLUIProps<'input'>;
96
+ type EditableInputProps = HTMLUIProps<"input">;
97
97
  declare const EditableInput: _yamada_ui_core.Component<"input", EditableInputProps>;
98
- type EditableTextareaProps = HTMLUIProps<'textarea'>;
98
+ type EditableTextareaProps = HTMLUIProps<"textarea">;
99
99
  declare const EditableTextarea: _yamada_ui_core.Component<"textarea", EditableTextareaProps>;
100
100
 
101
101
  export { Editable, EditableInput, EditableInputProps, EditablePreview, EditablePreviewProps, EditableProps, EditableTextarea, EditableTextareaProps, UseEditableProps, UseEditableReturn, useEditable, useEditableControl };
@@ -82,20 +82,20 @@ type EditableOptions = {
82
82
  /**
83
83
  * The border color when the input is focused.
84
84
  */
85
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
85
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
86
86
  /**
87
87
  * The border color when the input is invalid.
88
88
  */
89
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
90
- children?: ReactNode | ((props: Pick<UseEditableReturn, 'isEditing' | 'onSubmit' | 'onCancel' | 'onEdit'>) => ReactNode);
89
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
90
+ children?: ReactNode | ((props: Pick<UseEditableReturn, "isEditing" | "onSubmit" | "onCancel" | "onEdit">) => ReactNode);
91
91
  };
92
- type EditableProps = Omit<HTMLUIProps<'div'>, 'onChange' | 'value' | 'defaultValue' | 'onSubmit' | 'children'> & ThemeProps<'Editable'> & UseEditableProps & EditableOptions;
92
+ type EditableProps = Omit<HTMLUIProps<"div">, "onChange" | "value" | "defaultValue" | "onSubmit" | "children"> & ThemeProps<"Editable"> & UseEditableProps & EditableOptions;
93
93
  declare const Editable: _yamada_ui_core.Component<"div", EditableProps>;
94
- type EditablePreviewProps = HTMLUIProps<'span'>;
94
+ type EditablePreviewProps = HTMLUIProps<"span">;
95
95
  declare const EditablePreview: _yamada_ui_core.Component<"span", EditablePreviewProps>;
96
- type EditableInputProps = HTMLUIProps<'input'>;
96
+ type EditableInputProps = HTMLUIProps<"input">;
97
97
  declare const EditableInput: _yamada_ui_core.Component<"input", EditableInputProps>;
98
- type EditableTextareaProps = HTMLUIProps<'textarea'>;
98
+ type EditableTextareaProps = HTMLUIProps<"textarea">;
99
99
  declare const EditableTextarea: _yamada_ui_core.Component<"textarea", EditableTextareaProps>;
100
100
 
101
101
  export { Editable, EditableInput, EditableInputProps, EditablePreview, EditablePreviewProps, EditableProps, EditableTextarea, EditableTextareaProps, UseEditableProps, UseEditableReturn, useEditable, useEditableControl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/editable",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "description": "Yamada UI editable component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,10 +35,10 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.12.5",
38
+ "@yamada-ui/core": "0.12.6",
39
39
  "@yamada-ui/utils": "0.3.3",
40
- "@yamada-ui/form-control": "0.3.18",
41
- "@yamada-ui/use-controllable-state": "0.3.0",
40
+ "@yamada-ui/form-control": "0.3.19",
41
+ "@yamada-ui/use-controllable-state": "0.3.1",
42
42
  "@yamada-ui/use-focus": "0.2.5"
43
43
  },
44
44
  "devDependencies": {