@timeax/form-palette 0.0.12 → 0.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.d.mts CHANGED
@@ -3638,13 +3638,14 @@ interface InputFieldBaseProps<TValue = unknown> {
3638
3638
  * NOTE: this is a type alias (not an interface) so we can safely intersect
3639
3639
  * unions coming from VariantPropsFor<K> / VariantValueFor<K>.
3640
3640
  */
3641
- type InputFieldProps<K extends VariantKey = VariantKey, H = unknown> = InputFieldBaseProps<VariantValueFor<K, H>> & VariantPropsFor<K, H> & InputFieldClassNameProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & {
3641
+ type InputFieldProps<K extends VariantKey = VariantKey, H = unknown> = InputFieldBaseProps<VariantValueFor<K, H>> & VariantPropsFor<K, H> & InputFieldClassNameProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | 'defaultValue'> & {
3642
3642
  variant: K;
3643
3643
  /**
3644
3644
  * @deprecated Use the specific *ClassName props instead
3645
3645
  * (className, labelClassName, errorClassName, etc.).
3646
3646
  */
3647
3647
  classes?: Partial<InputFieldClassNames>;
3648
+ defaultValue?: any;
3648
3649
  };
3649
3650
  interface InputFieldClassNameProps {
3650
3651
  /** Root comes from `className` on HTMLDivElement */
package/dist/index.d.ts CHANGED
@@ -3638,13 +3638,14 @@ interface InputFieldBaseProps<TValue = unknown> {
3638
3638
  * NOTE: this is a type alias (not an interface) so we can safely intersect
3639
3639
  * unions coming from VariantPropsFor<K> / VariantValueFor<K>.
3640
3640
  */
3641
- type InputFieldProps<K extends VariantKey = VariantKey, H = unknown> = InputFieldBaseProps<VariantValueFor<K, H>> & VariantPropsFor<K, H> & InputFieldClassNameProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & {
3641
+ type InputFieldProps<K extends VariantKey = VariantKey, H = unknown> = InputFieldBaseProps<VariantValueFor<K, H>> & VariantPropsFor<K, H> & InputFieldClassNameProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | 'defaultValue'> & {
3642
3642
  variant: K;
3643
3643
  /**
3644
3644
  * @deprecated Use the specific *ClassName props instead
3645
3645
  * (className, labelClassName, errorClassName, etc.).
3646
3646
  */
3647
3647
  classes?: Partial<InputFieldClassNames>;
3648
+ defaultValue?: any;
3648
3649
  };
3649
3650
  interface InputFieldClassNameProps {
3650
3651
  /** Root comes from `className` on HTMLDivElement */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timeax/form-palette",
3
3
  "private": false,
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "description": "This package extracts and standardizes the **form + input + variant system** from an existing Laravel/Inertia/React project into a **reusable, framework-friendly** library",
6
6
  "keywords": [
7
7
  "Form",