@haus-storefront-react/shared-types 0.0.15 → 0.0.17

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,3 +1,17 @@
1
+ ## 0.0.16 (2025-08-14)
2
+
3
+ This was a version bump only for shared/types to align it with other projects, there were no code changes.
4
+
5
+ ## 0.0.15 (2025-08-14)
6
+
7
+ ### 🚀 Features
8
+
9
+ - add discount management components and hooks ([#33](https://github.com/WeAreHausTech/haus-storefront-components/pull/33))
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - Johanna Bertils @johannabertils
14
+
1
15
  ## 0.0.14 (2025-07-11)
2
16
 
3
17
  This was a version bump only for shared/types to align it with other projects, there were no code changes.
package/index.d.ts CHANGED
@@ -207,7 +207,7 @@ export type NumberOperators = {
207
207
  type LoadingKey = string | number | symbol;
208
208
  type LoadingMap = Record<LoadingKey, boolean>;
209
209
  export type Loading<T extends keyof LoadingMap> = Record<T, boolean>;
210
- export type ChildrenProps<ChildProps = object> = ((props: ChildProps) => ReactNode | JSX.Element) | ReactNode | JSX.Element;
210
+ export type ChildrenProps<ChildProps = object | null | undefined> = ((props: ChildProps) => ReactNode | JSX.Element) | ReactNode | JSX.Element;
211
211
  export type CustomHTMLElement<T = HTMLOrSVGElement, U = object> = Omit<HTMLAttributes<T>, 'children'> & {
212
212
  wrapperTag?: keyof JSX.IntrinsicElements | typeof React.Fragment;
213
213
  } & U;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haus-storefront-react/shared-types",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {