@veeqo/ui 6.0.0-beta.2 → 6.0.0-beta.3
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/components/Dropdown.d.ts +1 -1
- package/dist/components/PaginationRange/Items/Item/styled.d.ts +4 -6
- package/dist/components/ViewTab/ViewTab.d.ts +1 -1
- package/dist/components/ViewsContainer/hooks/mockUseRef.d.ts +10 -0
- 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
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BasicDropdownProps } from '../types';
|
|
3
|
-
export declare const Dropdown: ({ children, placement, className, reversed, anchorElement, useAnchorWidth, onShouldClose, rootElementRef, }: BasicDropdownProps) => React.JSX.Element;
|
|
3
|
+
export declare const Dropdown: ({ id, children, placement, className, reversed, anchorElement, useAnchorWidth, onShouldClose, rootElementRef, }: BasicDropdownProps) => React.JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
role: "option";
|
|
5
|
-
}, "tabIndex" | "role" | "onKeyDown">;
|
|
1
|
+
declare const ItemButton: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
as: string;
|
|
3
|
+
}, "as">;
|
|
6
4
|
declare const StyledText: import("styled-components").StyledComponent<"span", any, {} & import("../../../Text/types").TextProps, never>;
|
|
7
|
-
export { StyledText as Text,
|
|
5
|
+
export { StyledText as Text, ItemButton };
|
|
@@ -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<HTMLButtonElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type NodeWidth = Partial<HTMLElement>;
|
|
2
|
+
/**
|
|
3
|
+
* Mocks ref for testing properties such as client width of a container
|
|
4
|
+
*
|
|
5
|
+
* @param node parameters
|
|
6
|
+
*
|
|
7
|
+
* @example mockClientWidth({ clientWidth: 200 })
|
|
8
|
+
*/
|
|
9
|
+
export declare const mockUseRef: (node: NodeWidth) => void;
|
|
10
|
+
export {};
|