@harpercollins/harpercollins-design-system 1.8.64 → 1.8.66

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.
@@ -1 +1 @@
1
- export declare const NULL_DISPLAY_VALUE = "-";
1
+ export declare const NULL_DISPLAY_VALUE: string;
@@ -2,7 +2,7 @@
2
2
  * Format date to locale
3
3
  * @param dateString - The date string to format
4
4
  * @param format - The format to display the date in. Default is "dd MMM yyyy"
5
- * @returns - The formatted date
5
+ * @returns The formatted date
6
6
  */
7
7
  export declare const formatDate: (dateString: string | null | undefined, format?: string) => string;
8
8
  /**
package/dist/index.d.ts CHANGED
@@ -299,7 +299,7 @@ declare const useFetch: <T = unknown>(url: string, options?: RequestInit, deboun
299
299
  * Format date to locale
300
300
  * @param dateString - The date string to format
301
301
  * @param format - The format to display the date in. Default is "dd MMM yyyy"
302
- * @returns - The formatted date
302
+ * @returns The formatted date
303
303
  */
304
304
  declare const formatDate: (dateString: string | null | undefined, format?: string) => string;
305
305
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harpercollins/harpercollins-design-system",
3
- "version": "1.8.64",
3
+ "version": "1.8.66",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@ssh.dev.azure.com:v3/HarperCollinsUK/HCDesignSystem/HCDesignSystem"
@@ -85,6 +85,7 @@
85
85
  "@storybook/react-vite": "^8.1.4",
86
86
  "@storybook/test-runner": "^0.18.1",
87
87
  "@storybook/theming": "^8.1.4",
88
+ "@types/jest": "^29.5.12",
88
89
  "@types/node": "^20.12.3",
89
90
  "@types/react": "^18.2.66",
90
91
  "@types/react-dom": "^18.2.22",