@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 +14 -0
- package/index.d.ts +1 -1
- package/package.json +1 -1
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;
|