@telia-ace/knowledge-widget-ui 1.3.41-rc.1 → 1.3.41

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.
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { LinkProps } from '../missing-type-exports';
3
+
4
+ export type Props = Merge<LinkProps, {
5
+ parent: {
6
+ id: string;
7
+ title: string;
8
+ };
9
+ type: 'guide' | 'link' | 'default';
10
+ connection?: string;
11
+ connectionKey?: string;
12
+ }>;
13
+ declare const DialogLink: React.FC<Props>;
14
+ export default DialogLink;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { DrawerProps, ItemListProps } from '../missing-type-exports';
3
+
4
+ type Props = Merge<ItemListProps, DrawerProps>;
5
+ declare const DrawerList: React.FC<Props>;
6
+ export default DrawerList;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { DropdownProps, ItemListProps } from '../missing-type-exports';
3
+
4
+ export type Props = Merge<DropdownProps, ItemListProps>;
5
+ declare const DropdownList: React.FC<Props>;
6
+ export default DropdownList;
@@ -40,8 +40,8 @@ export declare const AccordionListItem: React.ForwardRefExoticComponent<{
40
40
  title: string;
41
41
  id: string;
42
42
  route: string;
43
- symbolSize?: number | undefined;
44
- collapseUri?: string | undefined;
43
+ symbolSize?: number;
44
+ collapseUri?: string;
45
45
  children?: React.ReactNode;
46
46
  } & React.RefAttributes<HTMLLIElement>>;
47
47
  declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -4,8 +4,8 @@ type Props = {
4
4
  loading: boolean | undefined;
5
5
  };
6
6
  export declare const Wrapper: import('@emotion/styled').StyledComponent<{
7
- theme?: import('@emotion/react').Theme | undefined;
8
- as?: React.ElementType<any> | undefined;
7
+ theme?: import('@emotion/react').Theme;
8
+ as?: React.ElementType;
9
9
  } & {
10
10
  'data-loading': boolean;
11
11
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,2 @@
1
- declare const _default: () => [
2
- boolean,
3
- React.MutableRefObject<HTMLElement | undefined>
4
- ];
1
+ declare const _default: () => [boolean, React.MutableRefObject<HTMLElement | undefined>];
5
2
  export default _default;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as p, Fragment as ne } from "react/jsx-runtime";
2
- import { useRouteData as ie, Link as je, Icon as I, List as Y, list as ae, invertedHoverButton as oe, ItemList as C, itemList as D, Drawer as Re, Dropdown as se, headingElement as _, Text as re, Button as O, paddedBorderTabStyle as q, Confirm as We, SymbolBadge as S, StyledText as R, convertToStringAttributes as le, useKeyPress as T, useContainer as ce, useEventListener as J, Timestamp as de, DateFormats as me, TextLink as W, useIsTabbing as Ee, getHumanyIsTabbing as Ye, setHumanyIsTabbing as _e, borderTabStyle as E, Paragraph as Oe, genericHtml as Ge, AnchorLink as Ke, WidgetLink as Ue } from "@telia-ace/widget-ui";
2
+ import { useRouteData as ie, Link as je, Icon as I, list as ae, invertedHoverButton as oe, List as Y, itemList as C, ItemList as D, Drawer as Re, Dropdown as se, headingElement as _, Text as re, paddedBorderTabStyle as q, Button as O, Confirm as We, SymbolBadge as S, StyledText as R, convertToStringAttributes as le, useKeyPress as T, useContainer as ce, useEventListener as J, Timestamp as de, DateFormats as me, TextLink as W, useIsTabbing as Ee, getHumanyIsTabbing as Ye, setHumanyIsTabbing as _e, borderTabStyle as E, genericHtml as Oe, Paragraph as Ge, AnchorLink as Ke, WidgetLink as Ue } from "@telia-ace/widget-ui";
3
3
  export * from "@telia-ace/widget-ui";
4
4
  import { createParams as F, formatUrl as Q, appendClassNames as w } from "@telia-ace/widget-utilities";
5
5
  import c from "@emotion/styled";
@@ -102,8 +102,8 @@ const ue = ({
102
102
  closeButtonAriaLabel: l,
103
103
  children: /* @__PURE__ */ a(Qe, { ...d, children: r })
104
104
  }
105
- ), Qe = c(C)`
106
- ${D}
105
+ ), Qe = c(D)`
106
+ ${C}
107
107
  font-family: ${(t) => {
108
108
  var e;
109
109
  return (e = t.theme.fonts) == null ? void 0 : e.type;
@@ -224,8 +224,8 @@ const ue = ({
224
224
  trigger: t,
225
225
  children: /* @__PURE__ */ a(tt, { ...o, children: n })
226
226
  }
227
- ), tt = c(C)`
228
- ${D}
227
+ ), tt = c(D)`
228
+ ${C}
229
229
  font-family: ${(t) => {
230
230
  var e;
231
231
  return (e = t.theme.fonts) == null ? void 0 : e.type;
@@ -855,8 +855,8 @@ const ue = ({
855
855
  }
856
856
  );
857
857
  }
858
- ), mt = c(C)`
859
- ${D}
858
+ ), mt = c(D)`
859
+ ${C}
860
860
  padding: ${(t) => {
861
861
  var e;
862
862
  return (e = t.theme.sizes) == null ? void 0 : e.large;
@@ -1233,9 +1233,9 @@ const ue = ({
1233
1233
  text-decoration: underline;
1234
1234
  }
1235
1235
  }
1236
- `, kt = c(C)`
1236
+ `, kt = c(D)`
1237
1237
  ${nt}
1238
- ${D}
1238
+ ${C}
1239
1239
  overflow: hidden;
1240
1240
  justify-content: flex-start;
1241
1241
  padding: ${(t) => {
@@ -1258,8 +1258,8 @@ const ue = ({
1258
1258
  text-decoration: underline;
1259
1259
  }
1260
1260
  }
1261
- `, te = c(Oe)`
1262
- ${Ge}
1261
+ `, te = c(Ge)`
1262
+ ${Oe}
1263
1263
  font-weight: 300;
1264
1264
 
1265
1265
  p {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-ui",
3
- "version": "1.3.41-rc.1",
3
+ "version": "1.3.41",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -10,9 +10,9 @@
10
10
  }
11
11
  },
12
12
  "dependencies": {
13
- "@telia-ace/knowledge-widget-core": "^1.3.41-rc.1",
14
- "@telia-ace/widget-ui": "^1.3.41-rc.1",
15
- "@telia-ace/widget-utilities": "^1.3.41-rc.1",
13
+ "@telia-ace/knowledge-widget-core": "^1.3.41",
14
+ "@telia-ace/widget-ui": "^1.3.41",
15
+ "@telia-ace/widget-utilities": "^1.3.41",
16
16
  "@webprovisions/platform": "^1.1.4"
17
17
  },
18
18
  "peerDependencies": {
package/styles.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export declare const loadingOpacity: (p: {
2
- 'data-loading': boolean;
2
+ "data-loading": boolean;
3
3
  }) => import('@emotion/react').SerializedStyles;
4
4
  export declare const SmallCaret: import('@emotion/styled').StyledComponent<any, {}, {
5
5
  ref?: import('react').Ref<any> | undefined;