@telia-ace/widget-ui 1.0.23-next.7 → 1.0.23-next.8
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/dist/components/grid.d.ts +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/link.d.ts +3 -2
- package/dist/components/loader.d.ts +5 -2
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/route-link.d.ts +3 -2
- package/dist/components/text-link.d.ts +1 -1
- package/dist/components/widget-link.d.ts +1 -1
- package/dist/index.js +517 -543
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +33 -13
- package/dist/utils/animations.d.ts +3 -4
- package/dist/utils/filter-css-props.d.ts +1 -1
- package/dist/utils/heading-styles.d.ts +4 -1
- package/package.json +10 -9
|
@@ -3,5 +3,5 @@ export declare type Props = Merge<React.ComponentProps<'div'>, {
|
|
|
3
3
|
columns: number;
|
|
4
4
|
gap: string;
|
|
5
5
|
}>;
|
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "columns" | "gap" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export declare 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, "form" | "slot" | "style" | "title" | "pattern" | "
|
|
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" | "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" | "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>>;
|
|
10
10
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
2
|
export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
routeName?: string;
|
|
@@ -6,6 +6,7 @@ export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
to?: string;
|
|
9
|
+
as?: ElementType<any>;
|
|
9
10
|
}>;
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
12
|
export default _default;
|
|
@@ -3,8 +3,11 @@ declare type Props = {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
loading: boolean | undefined;
|
|
5
5
|
};
|
|
6
|
-
export declare const Wrapper: import("styled
|
|
6
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: React.ElementType<any> | undefined;
|
|
9
|
+
} & {
|
|
7
10
|
'data-loading': boolean;
|
|
8
|
-
},
|
|
11
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
12
|
declare const Loader: React.FC<Props>;
|
|
10
13
|
export default Loader;
|
|
@@ -6,5 +6,5 @@ export declare 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" |
|
|
9
|
+
declare const Modal: React.ForwardRefExoticComponent<Pick<Props, "key" | "close" | "trigger" | keyof React.HTMLAttributes<HTMLDivElement> | "onOverlayClick"> & React.RefAttributes<any>>;
|
|
10
10
|
export default Modal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
2
|
export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
name?: string;
|
|
@@ -6,6 +6,7 @@ export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
to?: string;
|
|
9
|
+
as?: ElementType<any>;
|
|
9
10
|
}>;
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "name" | "
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "name" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "params" | "as"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
12
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare type Props = Merge<LinkProps, {
|
|
|
4
4
|
text: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
}>;
|
|
7
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "text" | "
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "text" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as" | "description"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
8
8
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export declare type Props = Merge<LinkProps, {
|
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
}>;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "to" | "routeName" | "params" | "as" | "widgetName" | "activationOptions"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
10
|
export default _default;
|