@hashrytech/quick-components-kit 0.16.2 → 0.16.3

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,5 +1,11 @@
1
1
  # @hashrytech/quick-components-kit
2
2
 
3
+ ## 0.16.3
4
+
5
+ ### Patch Changes
6
+
7
+ - rename: portal action to portalAction
8
+
3
9
  ## 0.16.2
4
10
 
5
11
  ### Patch Changes
@@ -2,6 +2,6 @@ export type PortalOptions = {
2
2
  target?: HTMLElement;
3
3
  prepend?: boolean;
4
4
  };
5
- export declare function portal(node: HTMLElement, { target, prepend }?: PortalOptions): {
5
+ export declare function portalAction(node: HTMLElement, { target, prepend }?: PortalOptions): {
6
6
  destroy(): void;
7
7
  };
@@ -24,7 +24,7 @@
24
24
  * - `prepend`: Whether to insert at the beginning instead of appending (default: true)
25
25
  */
26
26
  import { browser } from '$app/environment';
27
- export function portal(node, { target = browser ? document.body : undefined, prepend = true } = {}) {
27
+ export function portalAction(node, { target = browser ? document.body : undefined, prepend = true } = {}) {
28
28
  if (prepend) {
29
29
  target?.prepend(node);
30
30
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hashrytech/quick-components-kit.git"
7
7
  },
8
- "version": "0.16.2",
8
+ "version": "0.16.3",
9
9
  "license": "MIT",
10
10
  "author": "Hashry Tech",
11
11
  "files": [