@blockscout/ui-toolkit 2.8.0-alpha.5 → 2.8.1-alpha.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/components/buttons/ArrayButton.d.ts +8 -0
- 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/truncation/TruncatedText.d.ts +1 -1
- package/dist/components/truncation/TruncatedTextTooltip.d.ts +1 -1
- package/dist/index.js +1602 -1589
- 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 +1 -1
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/utils/url.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FieldValues } from 'react-hook-form';
|
|
3
3
|
import { FormFieldPropsBase } from './types';
|
|
4
|
-
import { PartialBy } from '../../../../types/utils';
|
|
4
|
+
import { PartialBy } from '../../../../client/shared/types/utils';
|
|
5
5
|
declare const FormFieldAddressContent: <FormFields extends FieldValues>(props: PartialBy<FormFieldPropsBase<FormFields>, "placeholder">) => React.JSX.Element;
|
|
6
6
|
export declare const FormFieldAddress: typeof FormFieldAddressContent;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FieldValues } from 'react-hook-form';
|
|
3
3
|
import { FormFieldPropsBase } from './types';
|
|
4
|
-
import { PartialBy } from '../../../../types/utils';
|
|
4
|
+
import { PartialBy } from '../../../../client/shared/types/utils';
|
|
5
5
|
declare const FormFieldEmailContent: <FormFields extends FieldValues>(props: PartialBy<FormFieldPropsBase<FormFields>, "placeholder">) => React.JSX.Element;
|
|
6
6
|
export declare const FormFieldEmail: typeof FormFieldEmailContent;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FieldValues, Path } from 'react-hook-form';
|
|
3
3
|
import { FormFieldPropsBase } from './types';
|
|
4
|
-
import { ExcludeUndefined } from '../../../../types/utils';
|
|
4
|
+
import { ExcludeUndefined } from '../../../../client/shared/types/utils';
|
|
5
5
|
import { RadioGroupProps, RadioProps } from '../../../chakra/radio';
|
|
6
6
|
export interface FormFieldRadioProps<FormFields extends FieldValues, Name extends Path<FormFields>> extends Pick<FormFieldPropsBase<FormFields>, 'rules' | 'controllerProps'>, RadioGroupProps {
|
|
7
7
|
name: Name;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ExcludeUndefined } from '../../../types/utils';
|
|
2
|
+
import { ExcludeUndefined } from '../../../client/shared/types/utils';
|
|
3
3
|
import { SkeletonTextProps } from '../../chakra/skeleton';
|
|
4
4
|
import { TooltipProps } from '../../chakra/tooltip';
|
|
5
5
|
export interface TruncatedTextProps extends Omit<SkeletonTextProps, 'loading'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ExcludeUndefined } from '../../../types/utils';
|
|
2
|
+
import { ExcludeUndefined } from '../../../client/shared/types/utils';
|
|
3
3
|
import { TooltipProps } from '../../chakra/tooltip';
|
|
4
4
|
export interface TruncatedTextTooltipProps {
|
|
5
5
|
children: React.ReactNode;
|