@atlaskit/smart-card 34.6.5 → 34.7.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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.js +59 -63
- package/dist/cjs/view/EmbedCard/components/ErrorFrameOld.js +100 -0
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +24 -10
- package/dist/cjs/view/EmbedCard/components/ExpandedFrameOld.js +114 -0
- package/dist/cjs/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/cjs/view/EmbedCard/components/Frame.js +23 -23
- package/dist/cjs/view/EmbedCard/components/FrameOld.js +144 -0
- package/dist/cjs/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/cjs/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/cjs/view/EmbedCard/components/styled.js +197 -234
- package/dist/cjs/view/EmbedCard/components/styledOld.js +261 -0
- package/dist/cjs/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +30 -38
- package/dist/cjs/view/EmbedCard/views/ErroredViewOld.js +69 -0
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +19 -13
- package/dist/cjs/view/EmbedCard/views/ResolvedViewOld.js +82 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +129 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +36 -55
- package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.compiled.css +5 -2
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +4 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/resolving/index.compiled.css +5 -2
- package/dist/cjs/view/HoverCard/components/views/resolving/index.js +1 -1
- package/dist/cjs/view/InlineCard/ErroredView/index.js +10 -3
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +31 -7
- package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +3 -2
- package/dist/cjs/view/InlineCard/Frame/styled.js +7 -4
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -0
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +162 -32
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +24 -17
- package/dist/cjs/view/InlineCard/ResolvedView/index.js +3 -1
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +10 -5
- package/dist/cjs/view/InlineCard/ResolvingView/styled.js +5 -4
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +16 -4
- package/dist/cjs/view/InlineCard/common/action-button/index.js +61 -0
- package/dist/cjs/view/InlineCard/styled.js +4 -3
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.js +48 -61
- package/dist/es2019/view/EmbedCard/components/ErrorFrameOld.js +91 -0
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +48 -32
- package/dist/es2019/view/EmbedCard/components/ExpandedFrameOld.js +96 -0
- package/dist/es2019/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/es2019/view/EmbedCard/components/Frame.js +23 -22
- package/dist/es2019/view/EmbedCard/components/FrameOld.js +114 -0
- package/dist/es2019/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/es2019/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/es2019/view/EmbedCard/components/styled.js +192 -343
- package/dist/es2019/view/EmbedCard/components/styledOld.js +362 -0
- package/dist/es2019/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +27 -37
- package/dist/es2019/view/EmbedCard/views/ErroredViewOld.js +58 -0
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +19 -12
- package/dist/es2019/view/EmbedCard/views/ResolvedViewOld.js +72 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +119 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +35 -53
- package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/es2019/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.compiled.css +5 -2
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +4 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/es2019/view/HoverCard/components/views/resolving/index.compiled.css +5 -2
- package/dist/es2019/view/HoverCard/components/views/resolving/index.js +1 -1
- package/dist/es2019/view/InlineCard/ErroredView/index.js +12 -5
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +34 -10
- package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +3 -2
- package/dist/es2019/view/InlineCard/Frame/styled.js +7 -4
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -0
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +162 -32
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +23 -16
- package/dist/es2019/view/InlineCard/ResolvedView/index.js +4 -2
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +13 -8
- package/dist/es2019/view/InlineCard/ResolvingView/styled.js +5 -4
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +18 -6
- package/dist/es2019/view/InlineCard/common/action-button/index.js +50 -0
- package/dist/es2019/view/InlineCard/styled.js +3 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/esm/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/esm/view/EmbedCard/components/ErrorFrame.js +59 -62
- package/dist/esm/view/EmbedCard/components/ErrorFrameOld.js +92 -0
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +13 -2
- package/dist/esm/view/EmbedCard/components/ExpandedFrameOld.js +104 -0
- package/dist/esm/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/esm/view/EmbedCard/components/Frame.js +23 -22
- package/dist/esm/view/EmbedCard/components/FrameOld.js +133 -0
- package/dist/esm/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/esm/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/esm/view/EmbedCard/components/styled.js +197 -234
- package/dist/esm/view/EmbedCard/components/styledOld.js +252 -0
- package/dist/esm/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/esm/view/EmbedCard/views/ErroredView.js +27 -37
- package/dist/esm/view/EmbedCard/views/ErroredViewOld.js +61 -0
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +19 -12
- package/dist/esm/view/EmbedCard/views/ResolvedViewOld.js +74 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +118 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +35 -53
- package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/esm/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.compiled.css +5 -2
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +4 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/esm/view/HoverCard/components/views/resolving/index.compiled.css +5 -2
- package/dist/esm/view/HoverCard/components/views/resolving/index.js +1 -1
- package/dist/esm/view/InlineCard/ErroredView/index.js +12 -5
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +34 -10
- package/dist/esm/view/InlineCard/Frame/styled.compiled.css +3 -2
- package/dist/esm/view/InlineCard/Frame/styled.js +7 -4
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -0
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +162 -32
- package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +23 -16
- package/dist/esm/view/InlineCard/ResolvedView/index.js +4 -2
- package/dist/esm/view/InlineCard/ResolvingView/index.js +13 -8
- package/dist/esm/view/InlineCard/ResolvingView/styled.js +5 -4
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +18 -6
- package/dist/esm/view/InlineCard/common/action-button/index.js +51 -0
- package/dist/esm/view/InlineCard/styled.js +3 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/view/EmbedCard/components/ErrorFrame.d.ts +3 -4
- package/dist/types/view/EmbedCard/components/ErrorFrameOld.d.ts +19 -0
- package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/ExpandedFrameOld.d.ts +40 -0
- package/dist/types/view/EmbedCard/components/FrameOld.d.ts +14 -0
- package/dist/types/view/EmbedCard/components/styled.d.ts +15 -77
- package/dist/types/view/EmbedCard/components/styledOld.d.ts +109 -0
- package/dist/types/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/ErroredViewOld.d.ts +12 -0
- package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +0 -4
- package/dist/types/view/EmbedCard/views/ResolvedViewOld.d.ts +36 -0
- package/dist/types/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.d.ts +4 -0
- package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +3 -3
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +10 -2
- package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -8
- package/dist/types/view/InlineCard/ResolvingView/styled.d.ts +1 -1
- package/dist/types/view/InlineCard/common/action-button/index.d.ts +19 -0
- package/dist/types/view/InlineCard/styled.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrame.d.ts +3 -4
- package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrameOld.d.ts +19 -0
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrameOld.d.ts +40 -0
- package/dist/types-ts4.5/view/EmbedCard/components/FrameOld.d.ts +14 -0
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +15 -77
- package/dist/types-ts4.5/view/EmbedCard/components/styledOld.d.ts +109 -0
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredViewOld.d.ts +12 -0
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedViewOld.d.ts +36 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.d.ts +4 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +10 -2
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -8
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +19 -0
- package/dist/types-ts4.5/view/InlineCard/styled.d.ts +1 -1
- package/package.json +6 -3
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
6
|
export interface FrameProps {
|
|
8
7
|
children?: React.ReactNode;
|
|
9
8
|
compact?: boolean;
|
|
@@ -14,6 +13,6 @@ export interface FrameProps {
|
|
|
14
13
|
className?: string;
|
|
15
14
|
inheritDimensions?: boolean;
|
|
16
15
|
}
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
16
|
+
export declare const ExpandedFrame: (props: FrameProps) => JSX.Element;
|
|
17
|
+
export declare const CompactFrame: (props: FrameProps) => JSX.Element;
|
|
18
|
+
export declare const Frame: (props: FrameProps) => JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
export interface FrameProps {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
compact?: boolean;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
isHoverable?: boolean;
|
|
12
|
+
isFluidHeight?: boolean;
|
|
13
|
+
testId?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
inheritDimensions?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const FrameOld: (props?: FrameProps) => jsx.JSX.Element;
|
|
18
|
+
export declare const ExpandedFrameOld: ({ children, isSelected, isHoverable, testId, className, isFluidHeight, }: FrameProps) => jsx.JSX.Element;
|
|
19
|
+
export declare const CompactFrameOld: ({ children, isHoverable, isSelected, testId, className, inheritDimensions, }: FrameProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type FrameStyle } from '../types';
|
|
3
3
|
export interface ExpandedFrameProps {
|
|
4
4
|
isPlaceholder?: boolean;
|
|
@@ -37,4 +37,4 @@ export interface ExpandedFrameProps {
|
|
|
37
37
|
*/
|
|
38
38
|
setOverflow?: boolean;
|
|
39
39
|
}
|
|
40
|
-
export declare const ExpandedFrame: (
|
|
40
|
+
export declare const ExpandedFrame: (props: ExpandedFrameProps) => JSX.Element;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type FrameStyle } from '../types';
|
|
3
|
+
export interface ExpandedFrameProps {
|
|
4
|
+
isPlaceholder?: boolean;
|
|
5
|
+
href?: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
text?: React.ReactNode;
|
|
8
|
+
minWidth?: number;
|
|
9
|
+
maxWidth?: number;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** A flag that determines whether the card is selected in edit mode. */
|
|
12
|
+
isSelected?: boolean;
|
|
13
|
+
/** A prop that determines the style of a frame: whether to show it, hide it or only show it when a user hovers over embed */
|
|
14
|
+
frameStyle?: FrameStyle;
|
|
15
|
+
/** The optional click handler */
|
|
16
|
+
onClick?: (evt: React.MouseEvent) => void;
|
|
17
|
+
/** For testing purposes only */
|
|
18
|
+
testId?: string;
|
|
19
|
+
/** If dimensions of the card are to be inherited from the parent */
|
|
20
|
+
inheritDimensions?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* To enable scrolling in use cases where the content will not have it's own scrollbar.
|
|
23
|
+
*
|
|
24
|
+
* Requires `setOverflow` to be set to true.
|
|
25
|
+
*
|
|
26
|
+
* Always enable this when when the card is not resolved so the connect account button is not hiddden.
|
|
27
|
+
*/
|
|
28
|
+
allowScrollBar?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Should the CSS `overflow` property be set to hidden or auto (clipping or
|
|
31
|
+
* supporting a scroll bar), or left out altogether.
|
|
32
|
+
*
|
|
33
|
+
* Set to true when embed is unresolved to prevent account connection button being unreachable.
|
|
34
|
+
*
|
|
35
|
+
* Set to false when the card is resolved to mitigate blurry embed card issue (EDM-7188).
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
setOverflow?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare const ExpandedFrameOld: ({ isPlaceholder, children, onClick, icon, text, isSelected, frameStyle, href, minWidth, maxWidth, testId, inheritDimensions, allowScrollBar, setOverflow, }: ExpandedFrameProps) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
export interface FrameProps {
|
|
7
|
+
url?: string;
|
|
8
|
+
isTrusted?: boolean;
|
|
9
|
+
testId?: string;
|
|
10
|
+
onIframeDwell?: (dwellTime: number, dwellPercentVisible: number) => void;
|
|
11
|
+
onIframeFocus?: () => void;
|
|
12
|
+
title?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const FrameOld: React.ForwardRefExoticComponent<FrameProps & React.RefAttributes<HTMLIFrameElement>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import type { FrameStyle } from '../types';
|
|
3
3
|
export declare const className = "media-card-frame";
|
|
4
|
+
export declare const embedHeaderHeight = 32;
|
|
4
5
|
export interface WrapperProps {
|
|
5
6
|
minWidth?: number;
|
|
6
7
|
maxWidth?: number;
|
|
@@ -8,41 +9,11 @@ export interface WrapperProps {
|
|
|
8
9
|
isSelected?: boolean;
|
|
9
10
|
frameStyle?: FrameStyle;
|
|
10
11
|
inheritDimensions?: boolean;
|
|
12
|
+
className?: string;
|
|
11
13
|
}
|
|
12
|
-
export declare const borderRadius: string;
|
|
13
|
-
export declare const ellipsis: (maxWidth?: string | number) => string;
|
|
14
|
-
export declare const csssize: (value?: string | number) => string;
|
|
15
|
-
export declare const LinkWrapper: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
-
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
-
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
14
|
export interface HeaderProps {
|
|
24
15
|
frameStyle?: FrameStyle;
|
|
25
16
|
}
|
|
26
|
-
export declare const embedHeaderHeight = 32;
|
|
27
|
-
export declare const Header: import("@emotion/styled").StyledComponent<{
|
|
28
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
-
as?: import("react").ElementType<any> | undefined;
|
|
30
|
-
} & HeaderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
31
|
-
export interface PlaceholderProps {
|
|
32
|
-
isPlaceholder: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
35
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
-
as?: import("react").ElementType<any> | undefined;
|
|
37
|
-
} & PlaceholderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
|
-
export declare const TextWrapper: import("@emotion/styled").StyledComponent<{
|
|
39
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
-
as?: import("react").ElementType<any> | undefined;
|
|
41
|
-
} & PlaceholderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
|
-
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
43
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
44
|
-
as?: import("react").ElementType<any> | undefined;
|
|
45
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
17
|
export interface ContentProps {
|
|
47
18
|
isInteractive: boolean;
|
|
48
19
|
/**
|
|
@@ -56,54 +27,21 @@ export interface ContentProps {
|
|
|
56
27
|
removeOverflow?: boolean;
|
|
57
28
|
frameStyle?: FrameStyle;
|
|
58
29
|
}
|
|
59
|
-
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
60
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
61
|
-
as?: import("react").ElementType<any> | undefined;
|
|
62
|
-
} & ContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
30
|
export interface ImageProps {
|
|
64
31
|
size: number;
|
|
65
32
|
}
|
|
66
|
-
export declare const Image: import("@emotion/styled").StyledComponent<{
|
|
67
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
68
|
-
as?: import("react").ElementType<any> | undefined;
|
|
69
|
-
} & ImageProps, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
70
|
-
export declare const maxAvatarCount = 6;
|
|
71
|
-
export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
72
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
73
|
-
as?: import("react").ElementType<any> | undefined;
|
|
74
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
75
|
-
export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
76
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
77
|
-
as?: import("react").ElementType<any> | undefined;
|
|
78
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
79
|
-
export declare const Byline: import("@emotion/styled").StyledComponent<{
|
|
80
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
81
|
-
as?: import("react").ElementType<any> | undefined;
|
|
82
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
83
|
-
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
84
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
85
|
-
as?: import("react").ElementType<any> | undefined;
|
|
86
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
87
|
-
export declare const ResolvedViewIconWrapper: import("@emotion/styled").StyledComponent<{
|
|
88
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
89
|
-
as?: import("react").ElementType<any> | undefined;
|
|
90
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
91
33
|
export interface ThumbnailProps {
|
|
92
34
|
src: string;
|
|
93
35
|
}
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export declare const
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
export declare const
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export declare const AlertWrapper: import("@emotion/styled").StyledComponent<{
|
|
107
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
108
|
-
as?: import("react").ElementType<any> | undefined;
|
|
109
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
36
|
+
export interface PlaceholderProps {
|
|
37
|
+
isPlaceholder: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare const LinkWrapper: import("react").ComponentType<WrapperProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
40
|
+
export declare const Wrapper: import("react").ComponentType<WrapperProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
41
|
+
export declare const Header: import("react").ComponentType<HeaderProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
42
|
+
export declare const IconWrapper: import("react").ComponentType<PlaceholderProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
43
|
+
export declare const TextWrapper: import("react").ComponentType<PlaceholderProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
44
|
+
export declare const TooltipWrapper: import("react").ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
45
|
+
export declare const Content: import("react").ComponentType<ContentProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
46
|
+
export declare const Image: import("react").ComponentType<ImageProps & import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & import("@compiled/react").StyledProps>;
|
|
47
|
+
export declare const Thumbnail: import("react").ComponentType<ThumbnailProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type FrameStyle } from '../types';
|
|
3
|
+
export declare const className = "media-card-frame";
|
|
4
|
+
export interface WrapperProps {
|
|
5
|
+
minWidth?: number;
|
|
6
|
+
maxWidth?: number;
|
|
7
|
+
isInteractive?: boolean;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
frameStyle?: FrameStyle;
|
|
10
|
+
inheritDimensions?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const borderRadius: string;
|
|
13
|
+
export declare const ellipsis: (maxWidth?: string | number) => string;
|
|
14
|
+
export declare const csssize: (value?: string | number) => string;
|
|
15
|
+
export declare const LinkWrapper: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
20
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
+
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
+
export interface HeaderProps {
|
|
24
|
+
frameStyle?: FrameStyle;
|
|
25
|
+
}
|
|
26
|
+
export declare const embedHeaderHeight = 32;
|
|
27
|
+
export declare const Header: import("@emotion/styled").StyledComponent<{
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
as?: import("react").ElementType<any> | undefined;
|
|
30
|
+
} & HeaderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
31
|
+
export interface PlaceholderProps {
|
|
32
|
+
isPlaceholder: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any> | undefined;
|
|
37
|
+
} & PlaceholderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
|
+
export declare const TextWrapper: import("@emotion/styled").StyledComponent<{
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any> | undefined;
|
|
41
|
+
} & PlaceholderProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
|
+
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
43
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
44
|
+
as?: import("react").ElementType<any> | undefined;
|
|
45
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
|
+
export interface ContentProps {
|
|
47
|
+
isInteractive: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to show a scroll bar (use overflow: auto) or hide overflow (overflow:hidden).
|
|
50
|
+
* Always set to true for unresolved embeds, otherwise the connect account button may be hidden and unreachable.
|
|
51
|
+
*/
|
|
52
|
+
allowScrollBar: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Remove the overflow: ... CSS property altogether.
|
|
55
|
+
*/
|
|
56
|
+
removeOverflow?: boolean;
|
|
57
|
+
frameStyle?: FrameStyle;
|
|
58
|
+
}
|
|
59
|
+
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
60
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
61
|
+
as?: import("react").ElementType<any> | undefined;
|
|
62
|
+
} & ContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
|
+
export interface ImageProps {
|
|
64
|
+
size: number;
|
|
65
|
+
}
|
|
66
|
+
export declare const Image: import("@emotion/styled").StyledComponent<{
|
|
67
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
68
|
+
as?: import("react").ElementType<any> | undefined;
|
|
69
|
+
} & ImageProps, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
70
|
+
export declare const maxAvatarCount = 6;
|
|
71
|
+
export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
72
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
73
|
+
as?: import("react").ElementType<any> | undefined;
|
|
74
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
75
|
+
export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
76
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
77
|
+
as?: import("react").ElementType<any> | undefined;
|
|
78
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
79
|
+
export declare const Byline: import("@emotion/styled").StyledComponent<{
|
|
80
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
81
|
+
as?: import("react").ElementType<any> | undefined;
|
|
82
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
83
|
+
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
84
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
85
|
+
as?: import("react").ElementType<any> | undefined;
|
|
86
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
87
|
+
export declare const ResolvedViewIconWrapper: import("@emotion/styled").StyledComponent<{
|
|
88
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
89
|
+
as?: import("react").ElementType<any> | undefined;
|
|
90
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
91
|
+
export interface ThumbnailProps {
|
|
92
|
+
src: string;
|
|
93
|
+
}
|
|
94
|
+
export declare const Thumbnail: import("@emotion/styled").StyledComponent<{
|
|
95
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
96
|
+
as?: import("react").ElementType<any> | undefined;
|
|
97
|
+
} & ThumbnailProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
98
|
+
export declare const UsersWrapper: import("@emotion/styled").StyledComponent<{
|
|
99
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
100
|
+
as?: import("react").ElementType<any> | undefined;
|
|
101
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
102
|
+
export declare const ActionsWrapper: import("@emotion/styled").StyledComponent<{
|
|
103
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
104
|
+
as?: import("react").ElementType<any> | undefined;
|
|
105
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
106
|
+
export declare const AlertWrapper: import("@emotion/styled").StyledComponent<{
|
|
107
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
108
|
+
as?: import("react").ElementType<any> | undefined;
|
|
109
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/// <reference types="react" />
|
|
6
6
|
export interface ErroredViewProps {
|
|
7
7
|
onRetry?: (val: any) => void;
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
testId?: string;
|
|
10
10
|
inheritDimensions?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const EmbedCardErroredView: (
|
|
12
|
+
export declare const EmbedCardErroredView: (props: ErroredViewProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
|
+
export interface ErroredViewProps {
|
|
7
|
+
onRetry?: (val: any) => void;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
testId?: string;
|
|
10
|
+
inheritDimensions?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const EmbedCardErroredViewOld: ({ onRetry, isSelected, testId, inheritDimensions, }: ErroredViewProps) => jsx.JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type ContextViewModel, type FrameStyle } from '../types';
|
|
7
|
+
export interface EmbedCardResolvedViewProps {
|
|
8
|
+
/** The title of the link */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** The context view model */
|
|
11
|
+
context?: ContextViewModel;
|
|
12
|
+
/** The link to display */
|
|
13
|
+
link: string;
|
|
14
|
+
/** A flag that determines whether the card is selected in edit mode. */
|
|
15
|
+
isSelected?: boolean;
|
|
16
|
+
/** A prop that determines the style of a frame: whether to show it, hide it or only show it when a user hovers over embed */
|
|
17
|
+
frameStyle?: FrameStyle;
|
|
18
|
+
/** The src to be used for the `iframe` */
|
|
19
|
+
preview?: {
|
|
20
|
+
src: string;
|
|
21
|
+
aspectRatio?: number;
|
|
22
|
+
};
|
|
23
|
+
/** A flag that determines whether link source can be trusted in iframe **/
|
|
24
|
+
isTrusted?: boolean;
|
|
25
|
+
/** The optional click handler */
|
|
26
|
+
onClick?: (evt: React.MouseEvent) => void;
|
|
27
|
+
/** For testing purposes only. */
|
|
28
|
+
testId?: string;
|
|
29
|
+
isSupportTheming?: boolean;
|
|
30
|
+
inheritDimensions?: boolean;
|
|
31
|
+
/** Optional callback for when user dwells cursor over iframe - for analytics **/
|
|
32
|
+
onIframeDwell?: (dwellTime: number, dwellPercentVisible: number) => void;
|
|
33
|
+
/** Optional callback for when user navigates into an iframe - for analytics **/
|
|
34
|
+
onIframeFocus?: () => void;
|
|
35
|
+
}
|
|
36
|
+
export declare const EmbedCardResolvedViewOld: React.ForwardRefExoticComponent<EmbedCardResolvedViewProps & React.RefAttributes<HTMLIFrameElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
import type { UnresolvedViewProps } from './types';
|
|
3
|
+
declare const UnresolvedViewOld: ({ button, description, frameStyle, icon: iconUrlOrElement, image: imageUrlOrElement, inheritDimensions, isSelected, onClick, testId, text, title, url, }: UnresolvedViewProps) => jsx.JSX.Element;
|
|
4
|
+
export default UnresolvedViewOld;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { UnresolvedViewProps } from './types';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
export declare const UnresolvedViewExported: (props: UnresolvedViewProps) => JSX.Element;
|
|
4
|
+
export default UnresolvedViewExported;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxFrag
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
6
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
7
|
+
import { Box } from '@atlaskit/primitives';
|
|
2
8
|
export interface IconAndTitleLayoutProps {
|
|
3
9
|
emoji?: React.ReactNode;
|
|
4
10
|
icon?: React.ReactNode;
|
|
@@ -21,8 +27,10 @@ export declare class IconAndTitleLayout extends React.Component<IconAndTitleLayo
|
|
|
21
27
|
private renderAtlaskitIcon;
|
|
22
28
|
private renderImageIcon;
|
|
23
29
|
private renderIconPlaceholder;
|
|
24
|
-
renderIcon(testId: string):
|
|
30
|
+
renderIcon(testId: string): {};
|
|
25
31
|
handleClick: (event: React.MouseEvent) => void;
|
|
26
32
|
handleKeyPress: (event: React.KeyboardEvent<HTMLAnchorElement>) => void;
|
|
27
33
|
render(): JSX.Element;
|
|
28
34
|
}
|
|
35
|
+
export declare const IconTitleWrapper: (props: ComponentPropsWithoutRef<typeof Box>) => JSX.Element;
|
|
36
|
+
export declare const LozengeWrapper: (props: ComponentPropsWithoutRef<typeof Box>) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
2
|
+
export declare const IconWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
3
|
+
export declare const EmojiWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
4
|
+
export declare const IconTitleWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
5
|
+
export declare const LozengeWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
6
6
|
export declare const RightIconPositionWrapper: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
7
|
+
export declare const IconPositionWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
8
|
+
export declare const IconEmptyWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
9
|
+
export declare const TitleWrapperClassNameOldVisualRefresh = "smart-link-title-wrapper";
|
|
10
|
+
export declare const TitleWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const SpinnerWrapperOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Action button has to be a span for the overflow to work correctly
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionButton: React.ForwardRefExoticComponent<Pick<Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> | React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement> | React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement> | React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement> | React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement> | React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement> | React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement> | React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement> | React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement> | React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement> | React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement> | React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement> | React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement> | React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement> | React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement> | React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement> | React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement> | React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement> | React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement> | React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> | React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement> | React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement> | React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> | React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement> | React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement> | React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement> | React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement> | React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement> | React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement> | React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement> | React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement> | React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement> | React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement> | React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement> | React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement> | React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement> | React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> | React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement> | React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement> | React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement> | React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> | React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "color" | "translate" | "slot" | "style" | "title" | "hidden" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "children" | "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">, "className" | "as"> & import("packages/design-system/primitives/dist/types/components/types").BasePrimitiveProps & import("packages/design-system/primitives/dist/types/components/types").StyleProp & {
|
|
6
|
+
as?: ("object" | "head" | "link" | "source" | "body" | "ruby" | "table" | "map" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "br" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview") | undefined;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
backgroundColor?: "color.background.accent.lime.subtlest" | "color.background.accent.lime.subtlest.hovered" | "color.background.accent.lime.subtlest.pressed" | "color.background.accent.lime.subtler" | "color.background.accent.lime.subtler.hovered" | "color.background.accent.lime.subtler.pressed" | "color.background.accent.lime.subtle" | "color.background.accent.lime.subtle.hovered" | "color.background.accent.lime.subtle.pressed" | "color.background.accent.lime.bolder" | "color.background.accent.lime.bolder.hovered" | "color.background.accent.lime.bolder.pressed" | "color.background.accent.red.subtlest" | "color.background.accent.red.subtlest.hovered" | "color.background.accent.red.subtlest.pressed" | "color.background.accent.red.subtler" | "color.background.accent.red.subtler.hovered" | "color.background.accent.red.subtler.pressed" | "color.background.accent.red.subtle" | "color.background.accent.red.subtle.hovered" | "color.background.accent.red.subtle.pressed" | "color.background.accent.red.bolder" | "color.background.accent.red.bolder.hovered" | "color.background.accent.red.bolder.pressed" | "color.background.accent.orange.subtlest" | "color.background.accent.orange.subtlest.hovered" | "color.background.accent.orange.subtlest.pressed" | "color.background.accent.orange.subtler" | "color.background.accent.orange.subtler.hovered" | "color.background.accent.orange.subtler.pressed" | "color.background.accent.orange.subtle" | "color.background.accent.orange.subtle.hovered" | "color.background.accent.orange.subtle.pressed" | "color.background.accent.orange.bolder" | "color.background.accent.orange.bolder.hovered" | "color.background.accent.orange.bolder.pressed" | "color.background.accent.yellow.subtlest" | "color.background.accent.yellow.subtlest.hovered" | "color.background.accent.yellow.subtlest.pressed" | "color.background.accent.yellow.subtler" | "color.background.accent.yellow.subtler.hovered" | "color.background.accent.yellow.subtler.pressed" | "color.background.accent.yellow.subtle" | "color.background.accent.yellow.subtle.hovered" | "color.background.accent.yellow.subtle.pressed" | "color.background.accent.yellow.bolder" | "color.background.accent.yellow.bolder.hovered" | "color.background.accent.yellow.bolder.pressed" | "color.background.accent.green.subtlest" | "color.background.accent.green.subtlest.hovered" | "color.background.accent.green.subtlest.pressed" | "color.background.accent.green.subtler" | "color.background.accent.green.subtler.hovered" | "color.background.accent.green.subtler.pressed" | "color.background.accent.green.subtle" | "color.background.accent.green.subtle.hovered" | "color.background.accent.green.subtle.pressed" | "color.background.accent.green.bolder" | "color.background.accent.green.bolder.hovered" | "color.background.accent.green.bolder.pressed" | "color.background.accent.teal.subtlest" | "color.background.accent.teal.subtlest.hovered" | "color.background.accent.teal.subtlest.pressed" | "color.background.accent.teal.subtler" | "color.background.accent.teal.subtler.hovered" | "color.background.accent.teal.subtler.pressed" | "color.background.accent.teal.subtle" | "color.background.accent.teal.subtle.hovered" | "color.background.accent.teal.subtle.pressed" | "color.background.accent.teal.bolder" | "color.background.accent.teal.bolder.hovered" | "color.background.accent.teal.bolder.pressed" | "color.background.accent.blue.subtlest" | "color.background.accent.blue.subtlest.hovered" | "color.background.accent.blue.subtlest.pressed" | "color.background.accent.blue.subtler" | "color.background.accent.blue.subtler.hovered" | "color.background.accent.blue.subtler.pressed" | "color.background.accent.blue.subtle" | "color.background.accent.blue.subtle.hovered" | "color.background.accent.blue.subtle.pressed" | "color.background.accent.blue.bolder" | "color.background.accent.blue.bolder.hovered" | "color.background.accent.blue.bolder.pressed" | "color.background.accent.purple.subtlest" | "color.background.accent.purple.subtlest.hovered" | "color.background.accent.purple.subtlest.pressed" | "color.background.accent.purple.subtler" | "color.background.accent.purple.subtler.hovered" | "color.background.accent.purple.subtler.pressed" | "color.background.accent.purple.subtle" | "color.background.accent.purple.subtle.hovered" | "color.background.accent.purple.subtle.pressed" | "color.background.accent.purple.bolder" | "color.background.accent.purple.bolder.hovered" | "color.background.accent.purple.bolder.pressed" | "color.background.accent.magenta.subtlest" | "color.background.accent.magenta.subtlest.hovered" | "color.background.accent.magenta.subtlest.pressed" | "color.background.accent.magenta.subtler" | "color.background.accent.magenta.subtler.hovered" | "color.background.accent.magenta.subtler.pressed" | "color.background.accent.magenta.subtle" | "color.background.accent.magenta.subtle.hovered" | "color.background.accent.magenta.subtle.pressed" | "color.background.accent.magenta.bolder" | "color.background.accent.magenta.bolder.hovered" | "color.background.accent.magenta.bolder.pressed" | "color.background.accent.gray.subtlest" | "color.background.accent.gray.subtlest.hovered" | "color.background.accent.gray.subtlest.pressed" | "color.background.accent.gray.subtler" | "color.background.accent.gray.subtler.hovered" | "color.background.accent.gray.subtler.pressed" | "color.background.accent.gray.subtle" | "color.background.accent.gray.subtle.hovered" | "color.background.accent.gray.subtle.pressed" | "color.background.accent.gray.bolder" | "color.background.accent.gray.bolder.hovered" | "color.background.accent.gray.bolder.pressed" | "color.background.disabled" | "color.background.input" | "color.background.input.hovered" | "color.background.input.pressed" | "color.background.inverse.subtle" | "color.background.inverse.subtle.hovered" | "color.background.inverse.subtle.pressed" | "color.background.neutral" | "color.background.neutral.hovered" | "color.background.neutral.pressed" | "color.background.neutral.subtle" | "color.background.neutral.subtle.hovered" | "color.background.neutral.subtle.pressed" | "color.background.neutral.bold" | "color.background.neutral.bold.hovered" | "color.background.neutral.bold.pressed" | "color.background.selected" | "color.background.selected.hovered" | "color.background.selected.pressed" | "color.background.selected.bold" | "color.background.selected.bold.hovered" | "color.background.selected.bold.pressed" | "color.background.brand.subtlest" | "color.background.brand.subtlest.hovered" | "color.background.brand.subtlest.pressed" | "color.background.brand.bold" | "color.background.brand.bold.hovered" | "color.background.brand.bold.pressed" | "color.background.brand.boldest" | "color.background.brand.boldest.hovered" | "color.background.brand.boldest.pressed" | "color.background.danger" | "color.background.danger.hovered" | "color.background.danger.pressed" | "color.background.danger.bold" | "color.background.danger.bold.hovered" | "color.background.danger.bold.pressed" | "color.background.warning" | "color.background.warning.hovered" | "color.background.warning.pressed" | "color.background.warning.bold" | "color.background.warning.bold.hovered" | "color.background.warning.bold.pressed" | "color.background.success" | "color.background.success.hovered" | "color.background.success.pressed" | "color.background.success.bold" | "color.background.success.bold.hovered" | "color.background.success.bold.pressed" | "color.background.discovery" | "color.background.discovery.hovered" | "color.background.discovery.pressed" | "color.background.discovery.bold" | "color.background.discovery.bold.hovered" | "color.background.discovery.bold.pressed" | "color.background.information" | "color.background.information.hovered" | "color.background.information.pressed" | "color.background.information.bold" | "color.background.information.bold.hovered" | "color.background.information.bold.pressed" | "color.blanket" | "color.blanket.selected" | "color.blanket.danger" | "color.skeleton" | "color.skeleton.subtle" | "elevation.surface" | "elevation.surface.hovered" | "elevation.surface.pressed" | "elevation.surface.overlay" | "elevation.surface.overlay.hovered" | "elevation.surface.overlay.pressed" | "elevation.surface.raised" | "elevation.surface.raised.hovered" | "elevation.surface.raised.pressed" | "elevation.surface.sunken" | "utility.elevation.surface.current" | undefined;
|
|
9
|
+
padding?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
10
|
+
paddingBlock?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
11
|
+
paddingBlockStart?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
12
|
+
paddingBlockEnd?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
13
|
+
paddingInline?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
14
|
+
paddingInlineStart?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
15
|
+
paddingInlineEnd?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
16
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | ((instance: HTMLImageElement | null) => void) | React.RefObject<HTMLImageElement> | ((instance: HTMLIFrameElement | null) => void) | React.RefObject<HTMLIFrameElement> | ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | ((instance: HTMLObjectElement | null) => void) | React.RefObject<HTMLObjectElement> | ((instance: HTMLHeadElement | null) => void) | React.RefObject<HTMLHeadElement> | ((instance: HTMLLinkElement | null) => void) | React.RefObject<HTMLLinkElement> | ((instance: HTMLSourceElement | null) => void) | React.RefObject<HTMLSourceElement> | ((instance: HTMLBodyElement | null) => void) | React.RefObject<HTMLBodyElement> | ((instance: HTMLElement | null) => void) | React.RefObject<HTMLElement> | ((instance: HTMLTableElement | null) => void) | React.RefObject<HTMLTableElement> | ((instance: HTMLMapElement | null) => void) | React.RefObject<HTMLMapElement> | ((instance: HTMLAreaElement | null) => void) | React.RefObject<HTMLAreaElement> | ((instance: HTMLAudioElement | null) => void) | React.RefObject<HTMLAudioElement> | ((instance: HTMLBaseElement | null) => void) | React.RefObject<HTMLBaseElement> | ((instance: HTMLBRElement | null) => void) | React.RefObject<HTMLBRElement> | ((instance: HTMLCanvasElement | null) => void) | React.RefObject<HTMLCanvasElement> | ((instance: HTMLTableColElement | null) => void) | React.RefObject<HTMLTableColElement> | ((instance: HTMLDataElement | null) => void) | React.RefObject<HTMLDataElement> | ((instance: HTMLDataListElement | null) => void) | React.RefObject<HTMLDataListElement> | ((instance: HTMLDialogElement | null) => void) | React.RefObject<HTMLDialogElement> | ((instance: HTMLDListElement | null) => void) | React.RefObject<HTMLDListElement> | ((instance: HTMLEmbedElement | null) => void) | React.RefObject<HTMLEmbedElement> | ((instance: HTMLFieldSetElement | null) => void) | React.RefObject<HTMLFieldSetElement> | ((instance: HTMLFormElement | null) => void) | React.RefObject<HTMLFormElement> | ((instance: HTMLHeadingElement | null) => void) | React.RefObject<HTMLHeadingElement> | ((instance: HTMLHRElement | null) => void) | React.RefObject<HTMLHRElement> | ((instance: HTMLHtmlElement | null) => void) | React.RefObject<HTMLHtmlElement> | ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | ((instance: HTMLModElement | null) => void) | React.RefObject<HTMLModElement> | ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | ((instance: HTMLLegendElement | null) => void) | React.RefObject<HTMLLegendElement> | ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | ((instance: HTMLMetaElement | null) => void) | React.RefObject<HTMLMetaElement> | ((instance: HTMLOListElement | null) => void) | React.RefObject<HTMLOListElement> | ((instance: HTMLOptGroupElement | null) => void) | React.RefObject<HTMLOptGroupElement> | ((instance: HTMLOptionElement | null) => void) | React.RefObject<HTMLOptionElement> | ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | ((instance: HTMLParamElement | null) => void) | React.RefObject<HTMLParamElement> | ((instance: HTMLPreElement | null) => void) | React.RefObject<HTMLPreElement> | ((instance: HTMLProgressElement | null) => void) | React.RefObject<HTMLProgressElement> | ((instance: HTMLQuoteElement | null) => void) | React.RefObject<HTMLQuoteElement> | ((instance: HTMLSlotElement | null) => void) | React.RefObject<HTMLSlotElement> | ((instance: HTMLScriptElement | null) => void) | React.RefObject<HTMLScriptElement> | ((instance: HTMLSelectElement | null) => void) | React.RefObject<HTMLSelectElement> | ((instance: HTMLStyleElement | null) => void) | React.RefObject<HTMLStyleElement> | ((instance: HTMLTemplateElement | null) => void) | React.RefObject<HTMLTemplateElement> | ((instance: HTMLTableSectionElement | null) => void) | React.RefObject<HTMLTableSectionElement> | ((instance: HTMLTableDataCellElement | null) => void) | React.RefObject<HTMLTableDataCellElement> | ((instance: HTMLTextAreaElement | null) => void) | React.RefObject<HTMLTextAreaElement> | ((instance: HTMLTableHeaderCellElement | null) => void) | React.RefObject<HTMLTableHeaderCellElement> | ((instance: HTMLTitleElement | null) => void) | React.RefObject<HTMLTitleElement> | ((instance: HTMLTableRowElement | null) => void) | React.RefObject<HTMLTableRowElement> | ((instance: HTMLTrackElement | null) => void) | React.RefObject<HTMLTrackElement> | ((instance: HTMLUListElement | null) => void) | React.RefObject<HTMLUListElement> | ((instance: HTMLVideoElement | null) => void) | React.RefObject<HTMLVideoElement> | ((instance: HTMLWebViewElement | null) => void) | React.RefObject<HTMLWebViewElement> | null | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
}, "backgroundColor" | "color" | "paddingBlockEnd" | "paddingBlockStart" | "paddingInlineEnd" | "paddingInlineStart" | "translate" | "padding" | "paddingBlock" | "paddingInline" | "slot" | "style" | "title" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "children" | "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" | "as" | keyof import("packages/design-system/primitives/dist/types/components/types").BasePrimitiveProps> & React.RefAttributes<HTMLWebViewElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const IconStyledButtonOldVisualRefresh: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|