@telia-ace/knowledge-widget-ui 0.0.1
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/components/dialog-list.d.ts +4 -0
- package/components/dropdown-actions.d.ts +13 -0
- package/components/favorite-button.d.ts +18 -0
- package/components/feedback.d.ts +12 -0
- package/components/guide-list.d.ts +47 -0
- package/components/index.d.ts +11 -0
- package/components/loader.d.ts +13 -0
- package/components/metadata.d.ts +18 -0
- package/components/notification-list.d.ts +20 -0
- package/hooks/index.d.ts +5 -0
- package/hooks/use-arrow-keys.d.ts +3 -0
- package/hooks/use-debounce.d.ts +2 -0
- package/hooks/use-favorites.d.ts +8 -0
- package/hooks/use-hover.d.ts +5 -0
- package/index.d.ts +8 -0
- package/index.js +546 -0
- package/index.mjs +1364 -0
- package/package.json +23 -0
- package/styles.d.ts +12 -0
- package/utils/embedded-link-mapper.d.ts +4 -0
- package/utils/guide-render-instructions.d.ts +8 -0
- package/utils/index.d.ts +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@telia-ace/knowledge-widget-ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "./index.js",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./index.mjs",
|
|
9
|
+
"require": "./index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@telia-ace/knowledge-widget-core": "*",
|
|
14
|
+
"@telia-ace/widget-ui": "*",
|
|
15
|
+
"@telia-ace/widget-utilities": "*",
|
|
16
|
+
"@webprovisions/platform": "^1.1.4"
|
|
17
|
+
},
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"react": "18.2.0",
|
|
20
|
+
"@emotion/styled": "11.11.0",
|
|
21
|
+
"@emotion/react": "11.11.1"
|
|
22
|
+
}
|
|
23
|
+
}
|
package/styles.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const loadingOpacity: (p: {
|
|
2
|
+
'data-loading': boolean;
|
|
3
|
+
}) => import('@emotion/react').SerializedStyles;
|
|
4
|
+
export declare const SmallCaret: import('@emotion/styled').StyledComponent<any, {}, {
|
|
5
|
+
ref?: import('react').Ref<any> | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const StyledHeaderText: import('@emotion/styled').StyledComponent<any, {}, {
|
|
8
|
+
ref?: import('react').Ref<any> | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const StyledListButton: import('@emotion/styled').StyledComponent<any, {}, {
|
|
11
|
+
ref?: import('react').Ref<any> | undefined;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
|
|
3
|
+
declare const guideRenderInstructions: (container: Container, dialog?: any[]) => {
|
|
4
|
+
transform: {
|
|
5
|
+
a: (attr: any) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default guideRenderInstructions;
|
package/utils/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as guideRenderInstructions } from './guide-render-instructions';
|