@mirohq/design-system-base-form 0.3.5-new-focus-keyboard.0 → 0.3.5-sync-design-tokens.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +4 -4
  2. package/package.json +5 -5
package/dist/types.d.ts CHANGED
@@ -14,7 +14,7 @@ declare const StyledFloatingLabel: React.ForwardRefExoticComponent<Omit<Omit<_mi
14
14
  visuallyHidden?: boolean | "true" | undefined;
15
15
  size?: "medium" | "large" | "x-large" | undefined;
16
16
  }, {}>;
17
- declare type StyledFloatingLabelProps = ComponentPropsWithRef<typeof StyledFloatingLabel>;
17
+ type StyledFloatingLabelProps = ComponentPropsWithRef<typeof StyledFloatingLabel>;
18
18
 
19
19
  interface FloatingLabelProps extends Omit<StyledFloatingLabelProps, 'visuallyHidden'> {
20
20
  }
@@ -27,9 +27,9 @@ declare const FORM_FIELD_STATUS: Readonly<{
27
27
  pristine: "pristine";
28
28
  touched: "touched";
29
29
  }>;
30
- declare type FormFieldStatus = keyof typeof FORM_FIELD_STATUS;
30
+ type FormFieldStatus = keyof typeof FORM_FIELD_STATUS;
31
31
 
32
- declare type FormElements = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;
32
+ type FormElements = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;
33
33
  interface FormFieldProps {
34
34
  /**
35
35
  * Field status
@@ -70,7 +70,7 @@ interface FormFieldContextProps<FormElementRef extends FormElements> extends For
70
70
  ariaInvalid: AriaAttributes['aria-invalid'];
71
71
  valid: boolean | undefined;
72
72
  }
73
- declare type FormFieldProviderProps = FormFieldProps;
73
+ type FormFieldProviderProps = FormFieldProps;
74
74
  declare const FormFieldProvider: ({ children, status: customStatus, id: customId, ...restProps }: PropsWithChildren<FormFieldProviderProps>) => JSX.Element;
75
75
  declare const useFormFieldContext: <T extends FormElements>() => FormFieldContextProps<T>;
76
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-base-form",
3
- "version": "0.3.5-new-focus-keyboard.0",
3
+ "version": "0.3.5-sync-design-tokens.0",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,12 +26,12 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-base-text-field": "^0.3.0-new-focus-keyboard.0",
30
- "@mirohq/design-system-use-id": "^0.1.2",
29
+ "@mirohq/design-system-base-text-field": "^0.2.4-sync-design-tokens.0",
31
30
  "@mirohq/design-system-primitive": "^1.1.2",
31
+ "@mirohq/design-system-stitches": "^2.6.31-sync-design-tokens.0",
32
32
  "@mirohq/design-system-types": "^0.10.0",
33
- "@mirohq/design-system-stitches": "^2.6.31-new-focus-keyboard.0",
34
- "@mirohq/design-system-utils": "^0.15.5"
33
+ "@mirohq/design-system-utils": "^0.15.5",
34
+ "@mirohq/design-system-use-id": "^0.1.2"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "rollup -c ../../../../rollup.config.js",