@telia-ace/widget-ui 1.0.28-experimental.9 → 1.0.28
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/dist/index.d.ts +0 -6
- package/dist/index.js +1475 -2148
- package/dist/index.js.map +1 -1
- package/package.json +6 -16
- package/dist/components/ui-typography.d.ts +0 -12
- package/dist/controllers/index.d.ts +0 -1
- package/dist/controllers/node-connector.d.ts +0 -8
- package/dist/create-web-component.d.ts +0 -4
- package/dist/mixins/context.d.ts +0 -9
- package/dist/mixins/index.d.ts +0 -5
- package/dist/mixins/pending-state.d.ts +0 -6
- package/dist/mixins/provider.d.ts +0 -7
- package/dist/mixins/requester.d.ts +0 -7
- package/dist/mixins/widget-component.d.ts +0 -8
- package/dist/utils/map-context-style.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-ui",
|
|
3
|
-
"version": "1.0.28
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "UI components used by ACE Widgets.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -9,13 +9,6 @@
|
|
|
9
9
|
],
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"sourceMain": "src/index.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./src/index.ts",
|
|
14
|
-
"./mixins.scss": {
|
|
15
|
-
"import": "./src/styles/mixins.scss",
|
|
16
|
-
"require": "./src/styles/mixins.scss"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
12
|
"type": "module",
|
|
20
13
|
"types": "dist/index.d.ts",
|
|
21
14
|
"files": [
|
|
@@ -28,17 +21,15 @@
|
|
|
28
21
|
},
|
|
29
22
|
"sideEffects": false,
|
|
30
23
|
"dependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@telia-ace/widget-
|
|
33
|
-
"@telia-ace/widget-
|
|
34
|
-
"@telia-ace/widget-utilities": "1.0.10-experimental.9",
|
|
24
|
+
"@telia-ace/widget-core": "1.0.21",
|
|
25
|
+
"@telia-ace/widget-routing": "1.0.22",
|
|
26
|
+
"@telia-ace/widget-utilities": "1.0.10",
|
|
35
27
|
"@webprovisions/platform": "^1.1.2",
|
|
36
28
|
"htmr": "1.0.2"
|
|
37
29
|
},
|
|
38
30
|
"peerDependencies": {
|
|
39
31
|
"@emotion/react": "^11.10.5",
|
|
40
32
|
"@emotion/styled": "^11.10.5",
|
|
41
|
-
"lit": "^2.6.0",
|
|
42
33
|
"react": "^18.2.0",
|
|
43
34
|
"react-dom": "^18.2.0",
|
|
44
35
|
"react-router-dom": "^5.3.4",
|
|
@@ -47,12 +38,11 @@
|
|
|
47
38
|
"devDependencies": {
|
|
48
39
|
"@emotion/react": "^11.10.5",
|
|
49
40
|
"@emotion/styled": "^11.10.5",
|
|
50
|
-
"@telia-ace/widget-developer-tools": "1.0.16
|
|
51
|
-
"@types/react": "^18.0.
|
|
41
|
+
"@telia-ace/widget-developer-tools": "1.0.16",
|
|
42
|
+
"@types/react": "^18.0.27",
|
|
52
43
|
"@types/react-dom": "^18.0.10",
|
|
53
44
|
"@types/react-router-dom": "^5.3.3",
|
|
54
45
|
"@types/react-transition-group": "^4.4.5",
|
|
55
|
-
"lit": "^2.6.0",
|
|
56
46
|
"react": "^18.2.0",
|
|
57
47
|
"react-dom": "^18.2.0",
|
|
58
48
|
"react-router-dom": "^5.3.4",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Typography extends LitElement {
|
|
3
|
-
static styles: import("lit").CSSResult[];
|
|
4
|
-
variant: string;
|
|
5
|
-
private _getTag;
|
|
6
|
-
render(): import("lit").TemplateResult<1 | 2>;
|
|
7
|
-
}
|
|
8
|
-
declare global {
|
|
9
|
-
interface HTMLElementTagNameMap {
|
|
10
|
-
'ui-typography': Typography;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NodeConnector } from './node-connector';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
-
export declare class NodeConnector implements ReactiveController {
|
|
3
|
-
host: ReactiveControllerHost;
|
|
4
|
-
constructor(host: ReactiveControllerHost);
|
|
5
|
-
propertyChangeHandler(event: any): void;
|
|
6
|
-
hostConnected(): void;
|
|
7
|
-
hostDisconnected(): void;
|
|
8
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ExtendComponentHandler, ExtendComponentOptions } from '@telia-ace/widget-core';
|
|
2
|
-
import { Container } from '@webprovisions/platform';
|
|
3
|
-
declare const createWebComponent: (container: Container, type: string, registerComponent: any, fn?: ExtendComponentHandler, options?: ExtendComponentOptions) => Promise<void>;
|
|
4
|
-
export default createWebComponent;
|
package/dist/mixins/context.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class ConsumerInterface {
|
|
3
|
-
}
|
|
4
|
-
export declare class ContextProviderInterface {
|
|
5
|
-
}
|
|
6
|
-
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
7
|
-
export declare const ConsumerMixin: <T extends Constructor<LitElement>>(Base: T) => Constructor<ConsumerInterface> & T;
|
|
8
|
-
export declare const ContextProviderMixin: <T extends Constructor<LitElement>>(Base: T) => Constructor<ContextProviderInterface> & T;
|
|
9
|
-
export {};
|
package/dist/mixins/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { ConsumerMixin } from './context';
|
|
2
|
-
export { PendingState } from './pending-state';
|
|
3
|
-
export { Provider as ProviderMixin } from './provider';
|
|
4
|
-
export { Requester } from './requester';
|
|
5
|
-
export { WidgetComponent as WidgetComponentMixin } from './widget-component';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class PendingStateInterface {
|
|
3
|
-
}
|
|
4
|
-
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
5
|
-
export declare const PendingState: <T extends Constructor<LitElement>>(Base: T) => Constructor<PendingStateInterface> & T;
|
|
6
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class ProviderInterface {
|
|
3
|
-
provideInstance(key: string, instance: any): void;
|
|
4
|
-
}
|
|
5
|
-
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
6
|
-
export declare const Provider: <T extends Constructor<LitElement>>(Base: T) => Constructor<ProviderInterface> & T;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class RequesterInterface {
|
|
3
|
-
requestInstance(key: string): any;
|
|
4
|
-
}
|
|
5
|
-
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
6
|
-
export declare const Requester: <T extends Constructor<LitElement>>(Base: T) => Constructor<RequesterInterface> & T;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class WidgetComponentInterface {
|
|
3
|
-
requestInstance(key: string): any;
|
|
4
|
-
nodeId: string;
|
|
5
|
-
}
|
|
6
|
-
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
7
|
-
export declare const WidgetComponent: <T extends Constructor<LitElement>>(Base: T) => Constructor<WidgetComponentInterface> & T;
|
|
8
|
-
export {};
|