@nnc-digital/nnc-design-system 0.4.19 → 0.4.21

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.
@@ -21,13 +21,13 @@ export interface BinCollectionProps {
21
21
  * graphqlApiEndpoint of the Drupal application API
22
22
  */
23
23
  graphqlApiEndpoint?: string;
24
- isLoading: boolean;
25
- errorText: string;
26
- addressOptions: AddressOption[];
27
- calendarEvents: Record<string, Date[]>;
28
- onAddressChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
29
- onFormSubmit: (e: React.FormEvent<HTMLFormElement>) => void;
30
- resetForm: () => void;
24
+ isLoading?: boolean;
25
+ errorText?: string;
26
+ addressOptions?: AddressOption[];
27
+ calendarEvents?: Record<string, Date[]>;
28
+ onAddressChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
29
+ onFormSubmit?: (e: React.FormEvent<HTMLFormElement>) => void;
30
+ resetForm?: () => void;
31
31
  }
32
32
  export interface AddressOption {
33
33
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnc-digital/nnc-design-system",
3
- "version": "0.4.19",
3
+ "version": "0.4.21",
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": {
@@ -106,6 +106,7 @@
106
106
  "webpack": "^5.69.0"
107
107
  },
108
108
  "dependencies": {
109
+ "@nnc-digital/nnc-design-system": "file:.yalc/@nnc-digital/nnc-design-system",
109
110
  "core-js": "^3.20.2",
110
111
  "downshift": "^6.1.7",
111
112
  "html-react-parser": "^1.4.5",