@stenajs-webui/core 15.4.0 → 15.4.1

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,15 @@
1
+ # v15.4.1 (Tue Apr 05 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Task 90903: Drawer slide from top and bottom (AB#90903) [#446](https://github.com/StenaIT/stenajs-webui/pull/446) ([@mattias800](https://github.com/mattias800))
6
+
7
+ #### Authors: 1
8
+
9
+ - Mattias Andersson ([@mattias800](https://github.com/mattias800))
10
+
11
+ ---
12
+
1
13
  # v15.3.0 (Tue Mar 01 2022)
2
14
 
3
15
  #### 🚀 Enhancement
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from "./components/deprecated-text/HeaderText";
18
18
  export * from "./components/heading/Heading";
19
19
  export * from "./types/ElementProps";
20
20
  export * from "./types/DeepPartial";
21
+ export * from "./types/FlattenUnion";
21
22
  export * from "./types/Omit";
22
23
  export * from "./types/PickByValue";
23
24
  export * from "./hooks/UseArraySet";
@@ -0,0 +1,5 @@
1
+ declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
2
+ export declare type FlattenUnion<T> = {
3
+ [K in keyof UnionToIntersection<T>]: K extends keyof T ? T[K] extends any[] ? T[K] : T[K] extends object ? FlattenUnion<T[K]> : T[K] : UnionToIntersection<T>[K] | undefined;
4
+ };
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stenajs-webui/core",
3
- "version": "15.4.0",
3
+ "version": "15.4.1",
4
4
  "description": "",
5
5
  "author": "mattias800",
6
6
  "license": "MIT",
@@ -60,10 +60,10 @@
60
60
  "files": [
61
61
  "dist"
62
62
  ],
63
- "gitHead": "3e4955c1bfbcf6ea141174e0b478282e72cd92dd",
63
+ "gitHead": "4711d4f6fef0e25c2ce095937f9e169577565ab8",
64
64
  "dependencies": {
65
65
  "@emotion/is-prop-valid": "^1.1.0",
66
- "@stenajs-webui/theme": "15.4.0",
66
+ "@stenajs-webui/theme": "15.4.1",
67
67
  "classnames": "^2.3.1"
68
68
  }
69
69
  }