@blockscout/ui-toolkit 2.8.1-alpha.1 → 2.8.1
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/table.d.ts +0 -3
- package/dist/components/forms/fields/FormFieldAddress.d.ts +1 -1
- package/dist/components/forms/fields/FormFieldEmail.d.ts +1 -1
- package/dist/components/forms/fields/FormFieldRadio.d.ts +1 -1
- package/dist/components/forms/fields/FormFieldUrl.d.ts +1 -3
- package/dist/components/forms/validators/url.d.ts +1 -1
- package/dist/components/truncation/TruncatedText.d.ts +1 -1
- package/dist/components/truncation/TruncatedTextTooltip.d.ts +1 -1
- package/dist/index.js +2705 -2699
- package/dist/package/src/index.d.ts +1 -1
- package/dist/theme/foundations/borders.d.ts +1 -1
- package/dist/theme/foundations/durations.d.ts +1 -1
- package/dist/theme/foundations/shadows.d.ts +1 -1
- package/dist/theme/foundations/typography.d.ts +1 -1
- package/dist/theme/recipes/index.d.ts +2 -5
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/theme/recipes/table.recipe.d.ts +1 -4
- package/dist/utils/url.d.ts +0 -1
- package/package.json +3 -3
- package/dist/components/buttons/ArrayButton.d.ts +0 -8
|
@@ -62,7 +62,7 @@ export * as file from '../../utils/file';
|
|
|
62
62
|
export * from '../../utils/url';
|
|
63
63
|
export * from '../../utils/isBrowser';
|
|
64
64
|
export { useClipboard } from '../../hooks/useClipboard';
|
|
65
|
-
export
|
|
65
|
+
export { useDisclosure } from '../../hooks/useDisclosure';
|
|
66
66
|
export { useUpdateEffect } from '../../hooks/useUpdateEffect';
|
|
67
67
|
export { useFirstMountState } from '../../hooks/useFirstMountState';
|
|
68
68
|
export { useIsSticky } from '../../hooks/useIsSticky';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemingConfig } from '@chakra-ui/react';
|
|
2
|
-
import { ExcludeUndefined } from '../../../
|
|
2
|
+
import { ExcludeUndefined } from '../../../types/utils';
|
|
3
3
|
declare const durations: ExcludeUndefined<ThemingConfig['tokens']>['durations'];
|
|
4
4
|
export default durations;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemingConfig } from '@chakra-ui/react';
|
|
2
|
-
import { ExcludeUndefined } from '../../../
|
|
2
|
+
import { ExcludeUndefined } from '../../../types/utils';
|
|
3
3
|
declare const shadows: ExcludeUndefined<ThemingConfig['tokens']>['shadows'];
|
|
4
4
|
export default shadows;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemingConfig } from '@chakra-ui/react';
|
|
2
|
-
import { ExcludeUndefined } from '../../../
|
|
2
|
+
import { ExcludeUndefined } from '../../../types/utils';
|
|
3
3
|
export declare const BODY_TYPEFACE: string;
|
|
4
4
|
export declare const HEADING_TYPEFACE: string;
|
|
5
5
|
export declare const fonts: ExcludeUndefined<ThemingConfig['tokens']>['fonts'];
|
|
@@ -1786,7 +1786,7 @@ export declare const slotRecipes: {
|
|
|
1786
1786
|
};
|
|
1787
1787
|
};
|
|
1788
1788
|
}>;
|
|
1789
|
-
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "
|
|
1789
|
+
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "positioner" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
1790
1790
|
variant: {
|
|
1791
1791
|
outline: {
|
|
1792
1792
|
trigger: {
|
|
@@ -2083,10 +2083,7 @@ export declare const slotRecipes: {
|
|
|
2083
2083
|
};
|
|
2084
2084
|
cell: {
|
|
2085
2085
|
px: "6px";
|
|
2086
|
-
py:
|
|
2087
|
-
base: number;
|
|
2088
|
-
lg: number;
|
|
2089
|
-
};
|
|
2086
|
+
py: number;
|
|
2090
2087
|
_first: {
|
|
2091
2088
|
pl: number;
|
|
2092
2089
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "
|
|
1
|
+
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "positioner" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
2
2
|
variant: {
|
|
3
3
|
outline: {
|
|
4
4
|
trigger: {
|
package/dist/utils/url.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const stripTrailingSlash: (str: string) => string;
|
|
2
2
|
export declare const stripLeadingSlash: (str: string) => string;
|
|
3
|
-
export declare const addLeadingSlash: (str: string) => string;
|
|
4
3
|
export declare function makePrettyLink(url: string | undefined): {
|
|
5
4
|
href: string;
|
|
6
5
|
domain: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockscout/ui-toolkit",
|
|
3
|
-
"version": "2.8.1
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "https://github.com/blockscout/frontend.git",
|
|
14
|
-
"directory": "
|
|
14
|
+
"directory": "toolkit/package"
|
|
15
15
|
},
|
|
16
|
-
"homepage": "https://github.com/blockscout/frontend/tree/main/
|
|
16
|
+
"homepage": "https://github.com/blockscout/frontend/tree/main/toolkit/package",
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/blockscout/frontend/issues"
|
|
19
19
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IconButtonProps } from '../../chakra/icon-button';
|
|
3
|
-
interface Props extends Omit<IconButtonProps, 'type'> {
|
|
4
|
-
index: number;
|
|
5
|
-
type: 'add' | 'remove';
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ type, index, onClick, ...props }: Props) => React.JSX.Element>;
|
|
8
|
-
export default _default;
|