@nimbus-ds/patterns 1.7.5-rc.4 → 1.7.6-rc.1

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/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  Nimbus is an open-source Design System created by Tiendanube / Nuvesmhop’s team to empower and enhance more stories every day, with simplicity, accessibility, consistency and performance.
4
4
 
5
- ## 2023-12-22 `1.7.6`
5
+ ## 2024-01-04 `1.7.6`
6
+
7
+ #### 🐛 Bug fixes
8
+
9
+ - Explicitly export type for `FormFieldInput` component. ([#92](https://github.com/TiendaNube/nimbus-patterns/pull/92) by [@juanchigallego](https://github.com/juanchigallego))
10
+ - Explicitly export type for `FormFieldSelect` component. ([#92](https://github.com/TiendaNube/nimbus-patterns/pull/92) by [@juanchigallego](https://github.com/juanchigallego))
11
+ - Explicitly export type for `FormFieldTextarea` component. ([#92](https://github.com/TiendaNube/nimbus-patterns/pull/92) by [@juanchigallego](https://github.com/juanchigallego))
6
12
 
7
13
  #### 🎉 New features
8
14
 
package/dist/index.d.ts CHANGED
@@ -247,12 +247,15 @@ export declare const EmptyMessage: React.FC<EmptyMessageProps>;
247
247
  export type FormFieldSelectProperties = Omit<FormFieldProperties, "children"> & Omit<SelectProperties, "appearance">;
248
248
  export type FormFieldSelectBaseProps = FormFieldSelectProperties & Omit<SelectProps, "appearance"> & HTMLAttributes<HTMLElement>;
249
249
  declare const FormFieldSelect: React.ForwardRefExoticComponent<Pick<FormFieldSelectBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "appearance" | "helpText" | "helpIcon" | "showHelpText"> & React.RefAttributes<HTMLSelectElement>>;
250
+ export type FormFieldSelectProps = ComponentPropsWithRef<typeof FormField.Select>;
250
251
  export type FormFieldTextareaProperties = Omit<FormFieldProperties, "children"> & Omit<TextareaProperties, "appearance">;
251
252
  export type FormFieldTextareaBaseProps = FormFieldTextareaProperties & Omit<TextareaProps, "appearance"> & HTMLAttributes<HTMLElement>;
252
253
  declare const FormFieldTextarea: React.ForwardRefExoticComponent<Pick<FormFieldTextareaBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "cols" | "dirName" | "rows" | "wrap" | "appearance" | "helpText" | "helpIcon" | "showHelpText" | "lines"> & React.RefAttributes<HTMLTextAreaElement>>;
254
+ export type FormFieldTextareaProps = ComponentPropsWithRef<typeof FormField.Textarea>;
253
255
  export type FormFieldInputProperties = Omit<FormFieldProperties, "children"> & Omit<InputProperties, "appearance">;
254
256
  export type FormFieldInputBaseProps = FormFieldInputProperties & Omit<InputProps, "appearance"> & HTMLAttributes<HTMLElement>;
255
257
  declare const FormFieldInput: React.ForwardRefExoticComponent<Pick<FormFieldInputBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "appearance" | "data-testid" | "helpText" | "helpIcon" | "showHelpText" | "appendPosition" | "append"> & React.RefAttributes<HTMLInputElement>>;
258
+ export type FormFieldInputProps = ComponentPropsWithRef<typeof FormField.Input>;
256
259
  export interface FormFieldComponents {
257
260
  Select: typeof FormFieldSelect;
258
261
  Textarea: typeof FormFieldTextarea;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/patterns",
3
- "version": "1.7.5-rc.4",
3
+ "version": "1.7.6-rc.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "react-day-picker": "^8.8.2"
23
23
  },
24
24
  "peerDependencies": {
25
- "@nimbus-ds/components": "^5.3.2-rc.3",
25
+ "@nimbus-ds/components": "^5",
26
26
  "@nimbus-ds/icons": "^1",
27
27
  "react": "^16.8 || ^17.0 || ^18.0",
28
28
  "react-dom": "^16.8 || ^17.0 || ^18.0"
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/TiendaNube/nimbus-patterns/issues"
37
37
  },
38
- "stableVersion": "1.7.4"
38
+ "stableVersion": "1.7.5"
39
39
  }