@telia-ace/widget-ui 1.0.36-next.0 → 1.0.36

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.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export type Props = React.ComponentProps<'button'>;
3
- declare const _default: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & React.RefAttributes<HTMLButtonElement>>;
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
4
  export default _default;
@@ -3,5 +3,5 @@ export type Props = Merge<React.ComponentProps<'div'>, {
3
3
  columns: number;
4
4
  gap: string;
5
5
  }>;
6
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "columns" | "gap" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
  export default _default;
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'div'>, {
8
8
  html: string;
9
9
  htmlParseInstruction?: HtmlParseInstruction;
10
10
  }>;
11
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "html" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & React.RefAttributes<HTMLDivElement>>;
11
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
12
  export default _default;
@@ -6,5 +6,5 @@ export type Props = Merge<React.ComponentProps<'input'>, {
6
6
  onFocusChange?: (focused: boolean) => void;
7
7
  selectAllOnFocus?: boolean;
8
8
  }>;
9
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "color" | "height" | "translate" | "width" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "key" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "list" | "step" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "src" | "onEnter" | "onEscape" | "onFocusChange" | "selectAllOnFocus"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
9
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
10
10
  export default _default;
@@ -6,5 +6,5 @@ export type ItemListProps = {
6
6
  ulProps?: any;
7
7
  };
8
8
  export type Props = Merge<ListProps, ParagraphProps> & ItemListProps;
9
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "symbol" | "header" | "html" | "text" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction" | "renderItem" | "items" | "renderLi" | keyof ItemListProps> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
10
  export default _default;
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'a'>, {
8
8
  to?: string;
9
9
  as?: ElementType<any>;
10
10
  }>;
11
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as"> & React.RefAttributes<HTMLAnchorElement>>;
11
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
12
12
  export default _default;
@@ -5,5 +5,5 @@ export type Props = Merge<React.ComponentProps<'ul'>, {
5
5
  items: any[];
6
6
  renderLi?: boolean;
7
7
  }>;
8
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLUListElement> | "renderItem" | "items" | "renderLi"> & React.RefAttributes<HTMLUListElement>>;
8
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLUListElement>>;
9
9
  export default _default;
@@ -6,5 +6,5 @@ export type Props = Merge<{
6
6
  close?: boolean;
7
7
  children?: React.ReactNode;
8
8
  }, React.ComponentProps<'div'>>;
9
- declare const Modal: React.ForwardRefExoticComponent<Pick<Props, "key" | "close" | "trigger" | keyof React.HTMLAttributes<HTMLDivElement> | "onOverlayClick"> & React.RefAttributes<any>>;
9
+ declare const Modal: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<any>>;
10
10
  export default Modal;
@@ -7,5 +7,5 @@ export type Props = Merge<HtmlProps, {
7
7
  header?: string;
8
8
  symbol?: Symbol;
9
9
  }>;
10
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "symbol" | "header" | "html" | "text" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
11
  export default _default;
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'a'>, {
8
8
  to?: string;
9
9
  as?: ElementType<any>;
10
10
  }>;
11
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "name" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "params" | "as"> & React.RefAttributes<HTMLAnchorElement>>;
11
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
12
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
- import { Component } from 'react';
2
+ import React, { Component } from 'react';
3
3
  export type Props = {
4
4
  container: Container;
5
5
  };
@@ -13,6 +13,6 @@ declare class TabStop extends Component<Props, State> {
13
13
  componentWillMount(): void;
14
14
  componentDidMount(): void;
15
15
  componentWillUnmount(): void;
16
- render(): JSX.Element | null;
16
+ render(): React.JSX.Element | null;
17
17
  }
18
18
  export default TabStop;
@@ -4,5 +4,5 @@ export type Props = Merge<LinkProps, {
4
4
  text: string;
5
5
  description?: string;
6
6
  }>;
7
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "text" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as" | "description"> & React.RefAttributes<HTMLAnchorElement>>;
7
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
8
8
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export type Props = React.ComponentProps<'span'>;
3
- declare const Text: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & React.RefAttributes<HTMLSpanElement>>;
3
+ declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
4
  export default Text;
@@ -6,5 +6,5 @@ export type Props = Merge<LinkProps, {
6
6
  [key: string]: any;
7
7
  };
8
8
  }>;
9
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as" | "widgetName" | "activationOptions"> & React.RefAttributes<HTMLAnchorElement>>;
9
+ declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
10
10
  export default _default;
package/dist/index.js CHANGED
@@ -1539,22 +1539,10 @@ const Dn = 300, Bn = ({
1539
1539
  height: 0;
1540
1540
  }
1541
1541
  `, In = {
1542
- [
1543
- "slide-in-bottom"
1544
- /* SlideInBottom */
1545
- ]: Nn,
1546
- [
1547
- "slide-in-right"
1548
- /* SlideInRight */
1549
- ]: Vn,
1550
- [
1551
- "slide-in-left"
1552
- /* SlideInLeft */
1553
- ]: Wn,
1554
- [
1555
- "slide-in-top"
1556
- /* SlideInTop */
1557
- ]: Zn
1542
+ "slide-in-bottom": Nn,
1543
+ "slide-in-right": Vn,
1544
+ "slide-in-left": Wn,
1545
+ "slide-in-top": Zn
1558
1546
  }, On = (e, t, n) => {
1559
1547
  const [o, s] = $(0), [i, a] = $(0), l = T(
1560
1548
  (u, c) => {