@nnc-digital/nnc-design-system 0.4.33 → 0.4.34

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.
@@ -67,4 +67,12 @@ export interface AutocompleteProps {
67
67
  * Callback function for when input value changes
68
68
  */
69
69
  onChange?: (inputValue: string) => void;
70
+ /**
71
+ * Is the field required?
72
+ */
73
+ required?: boolean;
74
+ /**
75
+ * Is the autocomplete on a light background?
76
+ */
77
+ hasLightBackground?: boolean;
70
78
  }
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { SearchbarProps } from "./Searchbar.types";
1
+ import React from 'react';
2
+ import { SearchbarProps } from './Searchbar.types';
3
3
  declare const Searchbar: React.FunctionComponent<SearchbarProps>;
4
4
  export default Searchbar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnc-digital/nnc-design-system",
3
- "version": "0.4.33",
3
+ "version": "0.4.34",
4
4
  "description": "Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
5
5
  "main": "build/index.js",
6
6
  "repository": {