@youversion/design-system-components 0.13.2 → 0.13.4

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
@@ -1,5 +1,18 @@
1
1
  # @youversion/design-system-components
2
2
 
3
+ ## 0.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c96420c]
8
+ - @youversion/design-system-icons@0.2.0
9
+
10
+ ## 0.13.3
11
+
12
+ ### Patch Changes
13
+
14
+ - f8c52da: Added clearSelection method to the AutocompleteSelect component ref
15
+
3
16
  ## 0.13.2
4
17
 
5
18
  ### Patch Changes
@@ -24,6 +24,10 @@ export interface AutocompleteSelectProps extends Omit<React.InputHTMLAttributes<
24
24
  /** The value of the component. */
25
25
  value: string;
26
26
  }
27
+ export type AutocompleteSelectRef = Partial<HTMLInputElement> & {
28
+ /** Clears the selected value. */
29
+ clearSelection: VoidFunction;
30
+ };
27
31
  /**
28
32
  * The **AutocompleteSelect** component is used to allow the user to search and select into a form.
29
33
  *
@@ -50,5 +54,5 @@ export interface AutocompleteSelectProps extends Omit<React.InputHTMLAttributes<
50
54
  * }
51
55
  * ```
52
56
  */
53
- export declare const AutocompleteSelect: import("react").ForwardRefExoticComponent<AutocompleteSelectProps & import("react").RefAttributes<HTMLInputElement>>;
57
+ export declare const AutocompleteSelect: import("react").ForwardRefExoticComponent<AutocompleteSelectProps & import("react").RefAttributes<AutocompleteSelectRef>>;
54
58
  //# sourceMappingURL=AutocompleteSelect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutocompleteSelect.d.ts","sourceRoot":"","sources":["../../../src/AutocompleteSelect/AutocompleteSelect.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,MAAM,WAAW,uBACf,SAAQ,IAAI,CACV,KAAK,CAAC,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