@telia-ace/widget-core 1.0.14 → 1.0.16-next.0
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/LICENSE.txt +5 -5
- package/README.md +3 -3
- package/dist/action-resolver.d.ts +8 -8
- package/dist/component-platform/actions-controller.d.ts +40 -40
- package/dist/component-platform/changeset-provider.d.ts +8 -8
- package/dist/component-platform/component-configuration-api.d.ts +2 -2
- package/dist/component-platform/component-controller.d.ts +38 -38
- package/dist/component-platform/component-node-collection.d.ts +18 -18
- package/dist/component-platform/component-node.d.ts +63 -63
- package/dist/component-platform/component-platform.d.ts +54 -54
- package/dist/component-platform/component-query.d.ts +16 -16
- package/dist/component-platform/create-component-model.d.ts +36 -36
- package/dist/component-platform/custom-component-handler.d.ts +21 -21
- package/dist/component-platform/descriptor.d.ts +8 -8
- package/dist/component-platform/extend-component.d.ts +8 -8
- package/dist/component-platform/index.d.ts +18 -18
- package/dist/component-platform/queries.d.ts +6 -6
- package/dist/component-platform/state-processor.d.ts +12 -12
- package/dist/component-resolver.d.ts +14 -14
- package/dist/event-subscriber.d.ts +7 -7
- package/dist/index.d.ts +8 -8
- package/dist/index.js +303 -191
- package/dist/index.js.map +1 -1
- package/dist/types/configuration.d.ts +86 -86
- package/dist/types/index.d.ts +2 -2
- package/dist/types/ui.d.ts +53 -54
- package/package.json +5 -5
package/dist/types/ui.d.ts
CHANGED
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
border: string;
|
|
6
|
-
colors: {
|
|
7
|
-
inactiveText: string;
|
|
8
|
-
activeText: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
border: string;
|
|
12
|
-
borderRadius: string;
|
|
13
|
-
boxShadow: string;
|
|
14
|
-
inputBorder: string;
|
|
15
|
-
colors: {
|
|
16
|
-
warning: string;
|
|
17
|
-
accent: string;
|
|
18
|
-
link: string;
|
|
19
|
-
primary: string;
|
|
20
|
-
text: string;
|
|
21
|
-
textLight: string;
|
|
22
|
-
};
|
|
23
|
-
fonts: {
|
|
24
|
-
type: string;
|
|
25
|
-
base: string;
|
|
26
|
-
small: string;
|
|
27
|
-
normal: string;
|
|
28
|
-
medium: string;
|
|
29
|
-
large: string;
|
|
30
|
-
huge: string;
|
|
31
|
-
};
|
|
32
|
-
sizes: {
|
|
33
|
-
cardinal: number;
|
|
34
|
-
small: string;
|
|
35
|
-
normal: string;
|
|
36
|
-
medium: string;
|
|
37
|
-
large: string;
|
|
38
|
-
};
|
|
39
|
-
typographyVariantMapping?: {
|
|
40
|
-
h1: 'h1';
|
|
41
|
-
h2: 'h2';
|
|
42
|
-
h3: 'h3';
|
|
43
|
-
h4: 'h4';
|
|
44
|
-
h5: 'h5';
|
|
45
|
-
h6: 'h6';
|
|
46
|
-
p: 'p';
|
|
47
|
-
span: 'span';
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare type ModeWrapper = React.FC<{
|
|
51
|
-
className: string;
|
|
52
|
-
route: string;
|
|
53
|
-
|
|
54
|
-
}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type Theme = {
|
|
3
|
+
gap: string;
|
|
4
|
+
accessibility: {
|
|
5
|
+
border: string;
|
|
6
|
+
colors: {
|
|
7
|
+
inactiveText: string;
|
|
8
|
+
activeText: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
border: string;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
boxShadow: string;
|
|
14
|
+
inputBorder: string;
|
|
15
|
+
colors: {
|
|
16
|
+
warning: string;
|
|
17
|
+
accent: string;
|
|
18
|
+
link: string;
|
|
19
|
+
primary: string;
|
|
20
|
+
text: string;
|
|
21
|
+
textLight: string;
|
|
22
|
+
};
|
|
23
|
+
fonts: {
|
|
24
|
+
type: string;
|
|
25
|
+
base: string;
|
|
26
|
+
small: string;
|
|
27
|
+
normal: string;
|
|
28
|
+
medium: string;
|
|
29
|
+
large: string;
|
|
30
|
+
huge: string;
|
|
31
|
+
};
|
|
32
|
+
sizes: {
|
|
33
|
+
cardinal: number;
|
|
34
|
+
small: string;
|
|
35
|
+
normal: string;
|
|
36
|
+
medium: string;
|
|
37
|
+
large: string;
|
|
38
|
+
};
|
|
39
|
+
typographyVariantMapping?: {
|
|
40
|
+
h1: 'h1';
|
|
41
|
+
h2: 'h2';
|
|
42
|
+
h3: 'h3';
|
|
43
|
+
h4: 'h4';
|
|
44
|
+
h5: 'h5';
|
|
45
|
+
h6: 'h6';
|
|
46
|
+
p: 'p';
|
|
47
|
+
span: 'span';
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare type ModeWrapper = React.FC<{
|
|
51
|
+
className: string;
|
|
52
|
+
route: string;
|
|
53
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16-next.0",
|
|
4
4
|
"description": "Core framework for ACE widgets.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"telia"
|
|
9
9
|
],
|
|
10
10
|
"main": "dist/index.js",
|
|
11
|
+
"sourceMain": "src/index.ts",
|
|
11
12
|
"type": "module",
|
|
12
13
|
"types": "dist/index.d.ts",
|
|
13
14
|
"files": [
|
|
@@ -21,14 +22,13 @@
|
|
|
21
22
|
"scripts": {
|
|
22
23
|
"clean": "rimraf ./dist",
|
|
23
24
|
"precompile": "tsc -emitDeclarationOnly",
|
|
24
|
-
"compile": "vite build"
|
|
25
|
-
"postcompile": "node scripts/print-version.js"
|
|
25
|
+
"compile": "vite build"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@telia-ace/widget-utilities": "^1.0.
|
|
29
|
+
"@telia-ace/widget-utilities": "^1.0.4",
|
|
30
30
|
"@webprovisions/bootstrapping": "^1.0.12",
|
|
31
31
|
"@webprovisions/platform": "^1.1.2"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "e783dc2d2efafddafb638fb68d0b6842a204ca59"
|
|
34
34
|
}
|