@symbiotejs/symbiote 2.0.0-alpha.21 → 2.0.0-alpha.22
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/core/index.js +5 -1
- package/package.json +1 -1
- package/types/symbiote.d.ts +4 -2
package/core/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import Symbiote from './Symbiote.js';
|
|
2
|
+
|
|
1
3
|
// Core modules:
|
|
2
|
-
export { Symbiote }
|
|
4
|
+
export { Symbiote };
|
|
3
5
|
export { html } from './html.js';
|
|
4
6
|
export { css } from './css.js';
|
|
5
7
|
export { PubSub } from './PubSub.js';
|
|
@@ -12,3 +14,5 @@ export { applyStyles } from '../utils/dom-helpers.js';
|
|
|
12
14
|
export { applyAttributes } from '../utils/dom-helpers.js';
|
|
13
15
|
export { create } from '../utils/dom-helpers.js';
|
|
14
16
|
export { kebabToCamel } from '../utils/kebabToCamel.js';
|
|
17
|
+
|
|
18
|
+
export default Symbiote;
|
package/package.json
CHANGED
package/types/symbiote.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ declare module "core/AppRouter" {
|
|
|
181
181
|
}): void;
|
|
182
182
|
static setSeparator(char: string): void;
|
|
183
183
|
static get separator(): string;
|
|
184
|
-
static
|
|
184
|
+
static initRoutingCtx(ctxName: string, routingMap: {
|
|
185
185
|
[x: string]: {};
|
|
186
186
|
}): PubSub<any>;
|
|
187
187
|
static initPopstateListener(): void;
|
|
@@ -225,7 +225,7 @@ declare module "utils/kebabToCamel" {
|
|
|
225
225
|
export function kebabToCamel(string: string): string;
|
|
226
226
|
}
|
|
227
227
|
declare module "core/index" {
|
|
228
|
-
export { Symbiote }
|
|
228
|
+
export { Symbiote };
|
|
229
229
|
export { html } from "./html.js";
|
|
230
230
|
export { css } from "./css.js";
|
|
231
231
|
export { PubSub } from "./PubSub.js";
|
|
@@ -233,6 +233,8 @@ declare module "core/index" {
|
|
|
233
233
|
export { UID } from "../utils/UID.js";
|
|
234
234
|
export { setNestedProp } from "../utils/setNestedProp.js";
|
|
235
235
|
export { kebabToCamel } from "../utils/kebabToCamel.js";
|
|
236
|
+
export default Symbiote;
|
|
237
|
+
import Symbiote from "core/Symbiote";
|
|
236
238
|
export { applyStyles, applyAttributes, create } from "../utils/dom-helpers.js";
|
|
237
239
|
}
|
|
238
240
|
declare module "core/slotProcessor" {
|