@calmdown/pyxis 1.0.0-rc.2 → 1.0.0-rc.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.
@@ -1,4 +1,4 @@
1
- import type { Component, Fragment, JsxResult, PropsType } from "@calmdown/pyxis/core";
1
+ import type { Component, Fragment, JsxResult, PropsType } from "@calmdown/pyxis";
2
2
 
3
3
  export interface DevSourceInfo {
4
4
  readonly fileName: string;
@@ -1,10 +1,8 @@
1
- import { Fragment, jsx, jsxs } from "@calmdown/pyxis/core";
2
-
3
- const S_DEV_INFO = Symbol.for("pyxis:devInfo");
1
+ import { Fragment, jsx, jsxs, S_DEV_INFO } from "@calmdown/pyxis/dev";
4
2
 
5
3
  function jsxDEV(componentOrTagName, props, key, isStaticChildren, source) {
6
4
  props[S_DEV_INFO] = source;
7
5
  return (isStaticChildren ? jsxs : jsx)(componentOrTagName, props, key);
8
6
  }
9
7
 
10
- export { Fragment, jsxDEV, S_DEV_INFO };
8
+ export { Fragment, jsxDEV };
@@ -1 +1 @@
1
- export { Fragment, jsx, jsxs } from "@calmdown/pyxis/core";
1
+ export { Fragment, jsx, jsxs } from "@calmdown/pyxis";
@@ -1 +1 @@
1
- export { Fragment, jsx, jsxs } from "@calmdown/pyxis/core";
1
+ export { Fragment, jsx, jsxs } from "@calmdown/pyxis";
package/package.json CHANGED
@@ -1,18 +1,14 @@
1
1
  {
2
2
  "name": "@calmdown/pyxis",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.4",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
8
- "import": "./dist/main.js",
9
- "types": "./dist/main.d.ts"
10
- },
11
- "./core": {
12
8
  "import": "./dist/core.js",
13
9
  "types": "./dist/core.d.ts"
14
10
  },
15
- "./core-dev": {
11
+ "./dev": {
16
12
  "import": "./dist/core-dev.js",
17
13
  "types": "./dist/core-dev.d.ts"
18
14
  },
package/dist/main.d.ts DELETED
@@ -1,67 +0,0 @@
1
- export {
2
- ChangeKind,
3
- Fragment,
4
- Iterator,
5
- RefExtension,
6
- Show,
7
- atomOf,
8
- component,
9
- consumerOf,
10
- createContext,
11
- derived,
12
- effect,
13
- host,
14
- isAtom,
15
- listOf,
16
- mounted,
17
- noEffect,
18
- peek,
19
- peeks,
20
- pyxis,
21
- read,
22
- reads,
23
- sync,
24
- tick,
25
- tock,
26
- unmounted,
27
- update,
28
- write,
29
- type Adapter,
30
- type Atom,
31
- type Component,
32
- type Context,
33
- type DataTemplate,
34
- type Derivation,
35
- type EffectBlock,
36
- type ElementsOf,
37
- type Equals,
38
- type Extension,
39
- type FragmentProps,
40
- type JsxChildren,
41
- type JsxProps,
42
- type JsxResult,
43
- type List,
44
- type ListChange,
45
- type ListCleared,
46
- type ListDelta,
47
- type ListItemChanged,
48
- type ListItemInserted,
49
- type ListItemRemoved,
50
- type MaybeAtom,
51
- type MaybeReadAtom,
52
- type MountBlock,
53
- type PropsOf,
54
- type PropsType,
55
- type Proxied,
56
- type ProxyAtom,
57
- type ProxyIteratorProps,
58
- type PyxisBuilder,
59
- type ReadAtom,
60
- type ReadonlyList,
61
- type RefExtensionType,
62
- type RefFn,
63
- type RemountIteratorProps,
64
- type ShowProps,
65
- type UnmountBlock,
66
- type WithChildren,
67
- } from "@calmdown/pyxis/core";
package/dist/main.js DELETED
@@ -1,29 +0,0 @@
1
- export {
2
- ChangeKind,
3
- Fragment,
4
- Iterator,
5
- RefExtension,
6
- Show,
7
- atomOf,
8
- component,
9
- consumerOf,
10
- createContext,
11
- derived,
12
- effect,
13
- host,
14
- isAtom,
15
- listOf,
16
- mounted,
17
- noEffect,
18
- peek,
19
- peeks,
20
- pyxis,
21
- read,
22
- reads,
23
- sync,
24
- tick,
25
- tock,
26
- unmounted,
27
- update,
28
- write
29
- } from "@calmdown/pyxis/core";