@haus-storefront-react/shared-types 0.0.16 → 0.0.18
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 +19 -0
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 0.0.17 (2025-08-21)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- enhance form handling and component props across various modules ([21edaa1](https://github.com/WeAreHausTech/haus-storefront-components/commit/21edaa1))
|
|
6
|
+
- add discount management components and hooks ([#33](https://github.com/WeAreHausTech/haus-storefront-components/pull/33))
|
|
7
|
+
- add ProductBadge component for enhanced product presentation ([#26](https://github.com/WeAreHausTech/haus-storefront-components/pull/26))
|
|
8
|
+
- add filters component for product listing ([d780517](https://github.com/WeAreHausTech/haus-storefront-components/commit/d780517))
|
|
9
|
+
- add ProductListPrice component to handle pricing details ([4f53f48](https://github.com/WeAreHausTech/haus-storefront-components/commit/4f53f48))
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Johanna Bertils @johannabertils
|
|
14
|
+
- Mathias Saxenstrand
|
|
15
|
+
|
|
16
|
+
## 0.0.16 (2025-08-14)
|
|
17
|
+
|
|
18
|
+
This was a version bump only for shared/types to align it with other projects, there were no code changes.
|
|
19
|
+
|
|
1
20
|
## 0.0.15 (2025-08-14)
|
|
2
21
|
|
|
3
22
|
### 🚀 Features
|
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;
|