@ariakit/solid-core 0.1.2 → 0.1.4

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,14 @@
1
1
  # @ariakit/solid-core
2
2
 
3
+ ## 0.1.4
4
+
5
+ - Updated dependencies: `@ariakit/core@0.4.18`
6
+
7
+ ## 0.1.3
8
+
9
+ - Updated packages to target ES2018 (previously ES2017).
10
+ - Updated dependencies: `@ariakit/core@0.4.17`
11
+
3
12
  ## 0.1.2
4
13
 
5
14
  - Updated dependencies: `@ariakit/core@0.4.16`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ariakit/solid-core",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Ariakit Solid core",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "core"
38
38
  ],
39
39
  "dependencies": {
40
- "@ariakit/core": "0.4.16",
40
+ "@ariakit/core": "0.4.18",
41
41
  "@solid-primitives/props": "3.2.2",
42
42
  "@solid-primitives/utils": "6.3.2"
43
43
  },
@@ -7,23 +7,23 @@ import { Dynamic } from "solid-js/web";
7
7
  var cache = /* @__PURE__ */ new Map();
8
8
  var As = new Proxy(
9
9
  function As2(props) {
10
- return (parentProps) => (
10
+ return ((parentProps) => (
11
11
  // TODO: replace with LazyDynamic
12
12
  <Dynamic
13
13
  {...mergeProps(parentProps, props)}
14
14
  component={props.component}
15
15
  />
16
- );
16
+ ));
17
17
  },
18
18
  {
19
19
  get: (_, key) => {
20
20
  let component = cache.get(key);
21
21
  if (!component) {
22
22
  component = function AsElement(props) {
23
- return (parentProps) => (
23
+ return ((parentProps) => (
24
24
  // TODO: replace with LazyDynamic
25
25
  <Dynamic {...mergeProps(parentProps, props)} component={key} />
26
- );
26
+ ));
27
27
  };
28
28
  cache.set(key, component);
29
29
  }
package/solid/as/as.jsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  As
3
- } from "../__chunks/HUX7TBVM.jsx";
3
+ } from "../__chunks/Q6BUFAC7.jsx";
4
4
  import "../__chunks/ALJQAVR2.jsx";
5
5
  export {
6
6
  As
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  As
3
- } from "../__chunks/HUX7TBVM.jsx";
3
+ } from "../__chunks/Q6BUFAC7.jsx";
4
4
  import {
5
5
  createHook,
6
6
  createInstance,