@blockscout/ui-toolkit 0.0.1-alpha.4 → 2.0.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/dist/chakra/select.d.ts +1 -0
- package/dist/components/AdaptiveTabs/AdaptiveTabsList.d.ts +2 -0
- package/dist/components/Hint/Hint.d.ts +1 -1
- package/dist/components/RoutedTabs/index.d.ts +0 -1
- package/dist/components/buttons/BackToButton.d.ts +1 -1
- package/dist/components/truncation/TruncatedTextTooltip.d.ts +2 -1
- package/dist/index.js +2529 -2536
- package/dist/theme/foundations/zIndex.d.ts +4 -7
- package/dist/theme/recipes/button.recipe.d.ts +30 -15
- package/dist/theme/recipes/index.d.ts +30 -15
- package/package.json +1 -1
- package/dist/components/RoutedTabs/RoutedTabsSkeleton.d.ts +0 -9
package/dist/chakra/select.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface SelectProps extends SelectRootProps {
|
|
|
44
44
|
portalled?: boolean;
|
|
45
45
|
loading?: boolean;
|
|
46
46
|
errorText?: string;
|
|
47
|
+
contentProps?: SelectContentProps;
|
|
47
48
|
}
|
|
48
49
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
50
|
export interface SelectAsyncProps extends Omit<SelectProps, 'collection'> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { TabItemRegular } from './types';
|
|
4
|
+
import { TabsProps } from '../../chakra/tabs';
|
|
4
5
|
export interface SlotProps extends HTMLChakraProps<'div'> {
|
|
5
6
|
widthAllocation?: 'available' | 'fixed';
|
|
6
7
|
}
|
|
@@ -19,6 +20,7 @@ export interface BaseProps {
|
|
|
19
20
|
}
|
|
20
21
|
interface Props extends BaseProps {
|
|
21
22
|
activeTab: string;
|
|
23
|
+
variant: TabsProps['variant'];
|
|
22
24
|
}
|
|
23
25
|
declare const _default: React.MemoExoticComponent<(props: Props) => React.JSX.Element>;
|
|
24
26
|
export default _default;
|
|
@@ -7,5 +7,5 @@ interface Props extends IconButtonProps {
|
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
as?: React.ElementType;
|
|
9
9
|
}
|
|
10
|
-
export declare const Hint: React.MemoExoticComponent<({ label, tooltipProps, isLoading, ...rest }: Props) => React.JSX.Element>;
|
|
10
|
+
export declare const Hint: React.MemoExoticComponent<({ label, tooltipProps, isLoading, boxSize, ...rest }: Props) => React.JSX.Element>;
|
|
11
11
|
export {};
|
|
@@ -4,4 +4,4 @@ export interface BackToButtonProps extends IconButtonProps {
|
|
|
4
4
|
href?: string;
|
|
5
5
|
hint?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const BackToButton: ({ href, hint, ...rest }: BackToButtonProps) => React.JSX.Element;
|
|
7
|
+
export declare const BackToButton: ({ href, hint, boxSize, ...rest }: BackToButtonProps) => React.JSX.Element;
|
|
@@ -4,5 +4,6 @@ export interface TruncatedTextTooltipProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
label: React.ReactNode;
|
|
6
6
|
placement?: Placement;
|
|
7
|
+
interactive?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const TruncatedTextTooltip: React.MemoExoticComponent<({ children, label, placement }: TruncatedTextTooltipProps) => React.JSX.Element>;
|
|
9
|
+
export declare const TruncatedTextTooltip: React.MemoExoticComponent<({ children, label, placement, interactive }: TruncatedTextTooltipProps) => React.JSX.Element>;
|