@veeqo/ui 5.1.3 → 6.0.0-beta.2
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/AnimatedDropdown/AnimatedDropdown.d.ts +1 -1
- package/dist/components/AnimatedDropdown/components/Dropdown.d.ts +3 -0
- package/dist/components/AnimatedDropdown/components/styled.d.ts +14 -1
- package/dist/components/AnimatedDropdown/styled.d.ts +1 -9
- package/dist/components/AnimatedDropdown/types.d.ts +8 -6
- package/dist/components/FilterTag/FilterTag.d.ts +1 -1
- package/dist/components/FilterTag/types.d.ts +0 -2
- package/dist/components/PaginationRange/Items/Item/styled.d.ts +5 -1
- package/dist/components/PaginationRange/PaginationRange.d.ts +3 -9
- package/dist/components/PaginationRange/styled.d.ts +1 -5
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/types.d.ts +1 -0
- package/dist/components/ViewTab/ViewTab.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/AnimatedDropdown/components/BasicDropdown.d.ts +0 -6
- package/dist/components/ViewsContainer/hooks/mockUseRef.d.ts +0 -10
- /package/dist/components/AnimatedDropdown/components/{BasicDropdown.test.d.ts → Dropdown.test.d.ts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnimatedDropdownProps } from './types';
|
|
3
|
-
export declare const AnimatedDropdown: ({ cta, shouldShowDropdown, children, className, reversed,
|
|
3
|
+
export declare const AnimatedDropdown: ({ id, cta, shouldShowDropdown, children, className, reversed, placement, onShouldClose, onClick, onMouseEnter, onMouseLeave, useAnchorWidth, rootElementRef, }: AnimatedDropdownProps) => React.JSX.Element;
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DropdownContainer: import("styled-components").StyledComponent<import("framer-motion").CustomDomComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
10
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
+
}>, any, {
|
|
12
|
+
reversed?: boolean | undefined;
|
|
13
|
+
useAnchorWidth?: boolean | undefined;
|
|
14
|
+
}, never>;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
2
|
declare const Wrap: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
|
|
5
|
-
className?: string | undefined;
|
|
6
|
-
children: import("react").ReactNode;
|
|
7
|
-
role?: import("react").AriaRole | undefined;
|
|
8
|
-
} & import("react").RefAttributes<HTMLDivElement>>, any, {
|
|
9
|
-
reversed?: boolean | undefined;
|
|
10
|
-
}, never>;
|
|
11
|
-
export { Wrap, Dropdown, Container };
|
|
3
|
+
export { Wrap, Container };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { EventHandlerProps } from '../types';
|
|
3
|
-
|
|
3
|
+
import { PopoverProps } from '../Popover/types';
|
|
4
|
+
export type BasicDropdownProps = {
|
|
4
5
|
className?: string;
|
|
5
6
|
children: ReactNode;
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
export type AnimatedDropdownProps = BasicDropdownProps & {
|
|
7
|
+
reversed?: boolean;
|
|
8
|
+
} & PopoverProps;
|
|
9
|
+
export type AnimatedDropdownProps = EventHandlerProps & Pick<BasicDropdownProps, 'children' | 'className' | 'placement' | 'useAnchorWidth' | 'rootElementRef'> & {
|
|
10
|
+
id?: string;
|
|
9
11
|
cta?: ReactNode;
|
|
10
12
|
shouldShowDropdown: boolean;
|
|
11
13
|
timeout?: number;
|
|
12
14
|
transitionClassnames?: string;
|
|
13
|
-
onClickAway?: (event: Event) => void;
|
|
14
15
|
reversed?: boolean;
|
|
16
|
+
onShouldClose: () => void;
|
|
15
17
|
};
|
|
@@ -5,4 +5,4 @@ export interface ClassNamesReturnPayload {
|
|
|
5
5
|
container?: string;
|
|
6
6
|
cross?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const FilterTag: ({ className, e2eClassName, label, text, iconSlot, fill, content, footer,
|
|
8
|
+
export declare const FilterTag: ({ className, e2eClassName, label, text, iconSlot, fill, content, footer, onClick, }: FilterTagProps) => React.JSX.Element;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
onKeyDown: (e: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
3
|
+
tabIndex: 0;
|
|
4
|
+
role: "option";
|
|
5
|
+
}, "tabIndex" | "role" | "onKeyDown">;
|
|
2
6
|
declare const StyledText: import("styled-components").StyledComponent<"span", any, {} & import("../../../Text/types").TextProps, never>;
|
|
3
7
|
export { StyledText as Text, Container };
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
3
|
-
export declare
|
|
4
|
-
constructor(props: PaginationRangeProps);
|
|
5
|
-
handleRangeListChange: (item: PaginationRangeOption) => void;
|
|
6
|
-
setDropdownValue: (currentValue: PaginationRangeOption) => void;
|
|
7
|
-
toggleShouldShow: () => void;
|
|
8
|
-
render(): React.JSX.Element;
|
|
9
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PaginationRangeProps } from './types';
|
|
3
|
+
export declare const PaginationRange: ({ className, paginationRange, reversedDropdown, onPaginationRangeChange, dropdownValue: parentValue, }: PaginationRangeProps) => React.JSX.Element;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Text } from '../Text';
|
|
3
1
|
declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
|
|
5
|
-
declare const Button: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
6
|
-
export { Container, Dropdown, Button, Text };
|
|
2
|
+
export { Container };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PopoverProps } from './types';
|
|
3
|
-
export declare const Popover: ({ id: passedId, children, zIndex, placement, anchorElement, rootElementRef, onShouldClose, style, disableFocusLock, ...dialogProps }: PopoverProps) => React.JSX.Element;
|
|
3
|
+
export declare const Popover: ({ id: passedId, children, zIndex, placement, anchorElement, rootElementRef, onShouldClose, style, disableFocusLock, useAnchorWidth, ...dialogProps }: PopoverProps) => React.JSX.Element;
|
|
@@ -14,6 +14,7 @@ export type PopoverProps = DialogHTMLAttributes<HTMLDialogElement> & {
|
|
|
14
14
|
* When background is clicked, or ESC key is pressed we call this to close the popover.
|
|
15
15
|
*/
|
|
16
16
|
onShouldClose: () => void;
|
|
17
|
+
useAnchorWidth?: boolean;
|
|
17
18
|
};
|
|
18
19
|
export type BackdropProps = {
|
|
19
20
|
zIndex: number;
|
|
@@ -7,4 +7,4 @@ export interface ClassNamesReturnPayload {
|
|
|
7
7
|
active?: string;
|
|
8
8
|
counter?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const ViewTab: React.ForwardRefExoticComponent<ViewTabProps & React.RefAttributes<
|
|
10
|
+
export declare const ViewTab: React.ForwardRefExoticComponent<ViewTabProps & React.RefAttributes<HTMLElement>>;
|