@telia-ace/knowledge-widget-ui 1.0.49 → 1.1.1-rc.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.
Files changed (30) hide show
  1. package/index.js +1322 -0
  2. package/index.mjs +10211 -0
  3. package/package.json +14 -45
  4. package/{dist/utils → utils}/embedded-link-mapper.d.ts +1 -2
  5. package/{dist/utils → utils}/guide-render-instructions.d.ts +1 -2
  6. package/LICENSE.txt +0 -6
  7. package/README.md +0 -3
  8. package/dist/index.js +0 -1389
  9. package/dist/index.js.map +0 -1
  10. /package/{dist/components → components}/dialog-link.d.ts +0 -0
  11. /package/{dist/components → components}/dialog-list.d.ts +0 -0
  12. /package/{dist/components → components}/drawer-list.d.ts +0 -0
  13. /package/{dist/components → components}/dropdown-actions.d.ts +0 -0
  14. /package/{dist/components → components}/dropdown-list.d.ts +0 -0
  15. /package/{dist/components → components}/favorite-button.d.ts +0 -0
  16. /package/{dist/components → components}/feedback.d.ts +0 -0
  17. /package/{dist/components → components}/guide-list.d.ts +0 -0
  18. /package/{dist/components → components}/index.d.ts +0 -0
  19. /package/{dist/components → components}/loader.d.ts +0 -0
  20. /package/{dist/components → components}/metadata.d.ts +0 -0
  21. /package/{dist/components → components}/notification-list.d.ts +0 -0
  22. /package/{dist/hooks → hooks}/index.d.ts +0 -0
  23. /package/{dist/hooks → hooks}/use-arrow-keys.d.ts +0 -0
  24. /package/{dist/hooks → hooks}/use-debounce.d.ts +0 -0
  25. /package/{dist/hooks → hooks}/use-favorites.d.ts +0 -0
  26. /package/{dist/hooks → hooks}/use-hover.d.ts +0 -0
  27. /package/{dist/index.d.ts → index.d.ts} +0 -0
  28. /package/{dist/missing-type-exports.d.ts → missing-type-exports.d.ts} +0 -0
  29. /package/{dist/styles.d.ts → styles.d.ts} +0 -0
  30. /package/{dist/utils → utils}/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,54 +1,23 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-ui",
3
- "version": "1.0.49",
4
- "description": "UI components used by ACE Knowledge Widgets.",
5
- "license": "SEE LICENSE IN LICENSE.txt",
6
- "author": "Telia Company AB",
7
- "keywords": [
8
- "telia"
9
- ],
10
- "main": "dist/index.js",
11
- "sourceMain": "src/index.ts",
12
- "type": "module",
13
- "types": "dist/index.d.ts",
14
- "files": [
15
- "LICENSE.txt",
16
- "README.md",
17
- "dist/"
18
- ],
19
- "publishConfig": {
20
- "access": "public"
3
+ "version": "1.1.1-rc.0",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./index.mjs",
9
+ "require": "./index.js"
10
+ }
21
11
  },
22
- "sideEffects": false,
23
12
  "dependencies": {
24
- "@telia-ace/knowledge-widget-core": "1.0.43",
25
- "@telia-ace/widget-routing": "^1.0.29",
26
- "@telia-ace/widget-ui": "^1.0.35",
27
- "@telia-ace/widget-utilities": "^1.0.17",
13
+ "@telia-ace/knowledge-widget-core": "^1.1.1-rc.0",
14
+ "@telia-ace/widget-ui": "^1.1.1-rc.0",
15
+ "@telia-ace/widget-utilities": "^1.1.1-rc.0",
28
16
  "@webprovisions/platform": "^1.1.4"
29
17
  },
30
18
  "peerDependencies": {
31
- "@emotion/react": "^11.10.5",
32
- "@emotion/styled": "^11.10.5",
33
- "react": "^18.2.0",
34
- "react-dom": "^18.2.0",
35
- "react-router-dom": "^5.3.4",
36
- "react-transition-group": "^4.4.5"
37
- },
38
- "devDependencies": {
39
- "@emotion/react": "^11.11.1",
40
- "@emotion/styled": "^11.11.0",
41
- "@types/react": "^18.2.22",
42
- "@types/react-dom": "^18.2.7",
43
- "@types/react-router-dom": "^5.3.3",
44
- "@types/react-transition-group": "^4.4.6",
45
- "react": "^18.2.0",
46
- "react-dom": "^18.2.0",
47
- "react-router-dom": "^5.3.4",
48
- "react-transition-group": "^4.4.5"
49
- },
50
- "scripts": {
51
- "clean": "rimraf ./dist",
52
- "build": "rimraf ./dist && tsc -emitDeclarationOnly && vite build"
19
+ "react": "18.2.0",
20
+ "@emotion/styled": "11.11.0",
21
+ "@emotion/react": "11.11.1"
53
22
  }
54
23
  }
@@ -1,4 +1,3 @@
1
1
  import { Container } from '@webprovisions/platform';
2
- import React from 'react';
3
- declare const embeddedLinkMapper: (container: Container) => ({ children, ...props }: any) => React.JSX.Element;
2
+ declare const embeddedLinkMapper: (container: Container) => ({ children, ...props }: any) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
4
3
  export default embeddedLinkMapper;
@@ -1,8 +1,7 @@
1
1
  import { Container } from '@webprovisions/platform';
2
- import React from 'react';
3
2
  declare const guideRenderInstructions: (container: Container, dialog?: any[]) => {
4
3
  transform: {
5
- a: (attr: any) => React.JSX.Element;
4
+ a: (attr: any) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
5
  };
7
6
  };
8
7
  export default guideRenderInstructions;
package/LICENSE.txt DELETED
@@ -1,6 +0,0 @@
1
- Copyright © 2021, Telia Company AB. All rights reserved.
2
-
3
- THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
4
- THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
5
- AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
6
- http://www.humany.com/legal
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # `@telia-ace/knowledge-widget-ui`
2
-
3
- Generic UI components for ACE knowledge widgets.