@aragon/gov-ui-kit 2.0.1 → 2.2.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/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/.storybook/components/styleBlock/index.d.ts +1 -1
- package/dist/types/.storybook/theme.d.ts +1 -1
- package/dist/types/jest.config.d.ts +3 -0
- package/dist/types/postcss.config.d.ts +3 -0
- package/dist/types/src/core/components/alerts/alertCard/alertCard.d.ts +1 -1
- package/dist/types/src/core/components/alerts/alertInline/alertInline.d.ts +1 -1
- package/dist/types/src/core/components/avatars/avatar/avatar.d.ts +1 -1
- package/dist/types/src/core/components/avatars/avatarIcon/avatarIcon.d.ts +2 -2
- package/dist/types/src/core/components/cards/cardSummary/index.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/collapsible.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/index.d.ts +1 -1
- package/dist/types/src/core/components/dataList/dataListContext/index.d.ts +1 -1
- package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +1 -1
- package/dist/types/src/core/components/definitionList/definitionListContainer/definitionListContainer.d.ts +1 -1
- package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogContent/dialogContent.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogHeader/dialogHeader.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/dialogAlertContent.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContext/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/checkboxCard/checkboxCard.d.ts +1 -1
- package/dist/types/src/core/components/forms/hooks/index.d.ts +2 -2
- package/dist/types/src/core/components/forms/inputDate/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputFileAvatar/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.api.d.ts +2 -2
- package/dist/types/src/core/components/forms/inputNumber/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputNumberMax/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputSearch/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputText/inputText.api.d.ts +9 -0
- package/dist/types/src/core/components/forms/inputTime/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radio/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radioCard/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radioGroup/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/switch/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/textArea/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/textAreaRichText/index.d.ts +1 -1
- package/dist/types/src/core/components/gukCoreProvider/index.d.ts +1 -1
- package/dist/types/src/core/components/icon/icon.d.ts +1 -1
- package/dist/types/src/core/components/icon/iconList.d.ts +1 -1
- package/dist/types/src/core/components/icon/iconType.d.ts +9 -1
- package/dist/types/src/core/components/icon/index.d.ts +1 -1
- package/dist/types/src/core/components/illustrations/illustrationHuman/index.d.ts +1 -1
- package/dist/types/src/core/components/illustrations/illustrationObject/index.d.ts +1 -1
- package/dist/types/src/core/components/link/link/index.d.ts +1 -1
- package/dist/types/src/core/components/link/linkBase/index.d.ts +1 -1
- package/dist/types/src/core/components/progress/progress.api.d.ts +2 -2
- package/dist/types/src/core/components/rerender/index.d.ts +1 -1
- package/dist/types/src/core/components/spinner/index.d.ts +1 -1
- package/dist/types/src/core/components/spinner/spinner.d.ts +1 -1
- package/dist/types/src/core/components/states/statePingAnimation/index.d.ts +1 -1
- package/dist/types/src/core/components/states/statePingAnimation/statePingAnimation.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonBar/index.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonBar/stateSkeletonBar.d.ts +2 -2
- package/dist/types/src/core/components/states/stateSkeletonCircular/index.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsContent/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsContent/tabsContent.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsList/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsRoot/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsTrigger/index.d.ts +1 -1
- package/dist/types/src/core/components/tag/index.d.ts +1 -1
- package/dist/types/src/core/components/toggles/toggle/index.d.ts +1 -1
- package/dist/types/src/core/components/toggles/toggleGroup/index.d.ts +1 -1
- package/dist/types/src/core/components/tooltip/index.d.ts +1 -1
- package/dist/types/src/core/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/src/core/hooks/useCopy/index.d.ts +1 -1
- package/dist/types/src/core/hooks/useDebouncedValue/index.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/formatterUtils.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/formatterUtilsDefinitions.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/index.d.ts +1 -1
- package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +1 -1
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +1 -1
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/assetTransferAddress.d.ts +1 -1
- package/dist/types/src/modules/components/gukModulesProvider/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberAvatar/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/proposalDataListItemStatus.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.api.d.ts +2 -2
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/proposalVotingContainer.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStatus/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts +1 -1
- package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +2 -2
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/voteDataListItemStructure.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteUtils.d.ts +1 -1
- package/dist/types/src/modules/components/wallet/index.d.ts +1 -1
- package/dist/types/src/modules/components/wallet/wallet.d.ts +1 -1
- package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -1
- package/index.css +1 -1
- package/package.json +47 -58
- package/src/core/components/avatars/avatar/index.css +2 -2
- package/src/core/components/avatars/index.css +1 -1
- package/src/core/components/collapsible/index.css +2 -2
- package/src/core/components/dialogs/dialog/dialogRoot/index.css +4 -4
- package/src/core/components/dialogs/dialog/index.css +1 -1
- package/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.css +4 -4
- package/src/core/components/dialogs/dialogAlert/index.css +1 -1
- package/src/core/components/dialogs/index.css +2 -2
- package/src/core/components/dropdown/dropdownContainer/index.css +2 -2
- package/src/core/components/dropdown/index.css +1 -1
- package/src/core/components/forms/index.css +1 -1
- package/src/core/components/forms/textAreaRichText/index.css +2 -2
- package/src/core/components/illustrations/index.css +4 -4
- package/src/core/components/index.css +6 -6
- package/src/core/index.css +1 -1
- package/src/index.css +2 -2
- package/src/theme/index.css +2 -2
- package/src/theme/tokens/index.css +1 -1
- package/src/theme/tokens/primitives/borderRadius.css +8 -8
- package/src/theme/tokens/primitives/breakpoints.css +11 -11
- package/src/theme/tokens/primitives/colors.css +68 -68
- package/src/theme/tokens/primitives/focusRing.css +34 -34
- package/src/theme/tokens/primitives/shadows.css +93 -45
- package/src/theme/tokens/primitives/spacing.css +1 -1
- package/src/theme/tokens/primitives/typography.css +28 -28
- package/src/theme/utils/animations.css +19 -19
- package/src/theme/utils/prose.css +65 -65
- package/src/theme/utils/pseudoElements.css +17 -17
- package/dist/types/node_modules/.pnpm/events@3.3.0/node_modules/events/events.d.ts +0 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ICustomisationDoc, StyleBlock } from './styleBlock';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("storybook/
|
|
1
|
+
declare const _default: import("storybook/theming").ThemeVars;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { ResponsiveAttribute } from '../../../types';
|
|
4
4
|
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
5
|
export interface IAvatarProps extends ComponentPropsWithoutRef<'img'> {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { HTMLAttributes } from 'react';
|
|
3
|
+
import type { ResponsiveAttribute } from '../../../types';
|
|
4
4
|
import { type IconType } from '../../icon';
|
|
5
5
|
export type AvatarIconSize = 'sm' | 'md' | 'lg';
|
|
6
6
|
export type AvatarIconVariant = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'critical';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { CardSummary } from './cardSummary';
|
|
2
|
-
export {
|
|
2
|
+
export type { ICardSummaryAction, ICardSummaryProps } from './cardSummary.api';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Collapsible } from './collapsible';
|
|
2
|
-
export {
|
|
2
|
+
export type { ICollapsibleProps } from './collapsible.api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DataListContextProvider, dataListContext,
|
|
1
|
+
export { DataListContextProvider, dataListContext, type IDataListContext, useDataListContext } from './dataListContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export interface IDefinitionListContainerProps extends ComponentPropsWithoutRef<'dl'> {
|
|
3
3
|
}
|
|
4
4
|
export declare const DefinitionListContainer: React.FC<IDefinitionListContainerProps>;
|
package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentPropsWithRef } from 'react';
|
|
2
2
|
import { type IDefinitionListItemContentProps } from './definitionListItemContent';
|
|
3
3
|
export interface IDefinitionListItemProps extends ComponentPropsWithRef<'div'>, Pick<IDefinitionListItemContentProps, 'link'> {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
export interface IDialogContentProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
5
5
|
* Optional description of the dialog.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export interface IDialogHeaderProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
/**
|
|
4
4
|
* Title of the dialog displayed on the header and used as the dialog's accessible name.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DialogRoot } from './dialogRoot';
|
|
2
|
-
export {
|
|
2
|
+
export type { DialogSize, IDialogRootProps } from './dialogRoot.api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
export interface IDialogAlertContentProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
5
5
|
* Removes the default paddings when set to true.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DialogAlertContextProvider,
|
|
1
|
+
export { DialogAlertContextProvider, type IDialogAlertContext, useDialogAlertContext } from './dialogAlertContext';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
2
|
import { type ITagProps } from '../../tag';
|
|
3
|
-
import {
|
|
3
|
+
import type { CheckboxState } from '../checkbox/checkbox';
|
|
4
4
|
export interface ICheckboxCardProps extends ComponentProps<'button'> {
|
|
5
5
|
/**
|
|
6
6
|
* Avatar of the checkbox card.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { type IUseInputPropsResult, useInputProps } from './useInputProps';
|
|
2
|
+
export { type IUseNumberMaskProps, type IUseNumberMaskResult, useNumberMask } from './useNumberMask';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IInputDateProps, InputDate } from './inputDate';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { InputFileAvatar } from './inputFileAvatar';
|
|
2
|
-
export {
|
|
2
|
+
export { type IInputFileAvatarProps, type IInputFileAvatarValue, InputFileAvatarError } from './inputFileAvatar.api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Accept } from 'react-dropzone';
|
|
2
|
+
import type { IInputContainerBaseProps } from '../inputContainer';
|
|
3
3
|
export declare enum InputFileAvatarError {
|
|
4
4
|
SQUARE_ONLY = "square-only",
|
|
5
5
|
WRONG_DIMENSION = "wrong-dimension",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IInputNumberProps, InputNumber } from './inputNumber';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IInputNumberMaxProps, InputNumberMax } from './inputNumberMax';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IInputSearchProps, InputSearch } from './inputSearch';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IconType } from '../../icon';
|
|
1
2
|
import type { IInputComponentProps } from '../inputContainer';
|
|
2
3
|
export interface IInputTextProps extends IInputComponentProps {
|
|
3
4
|
/**
|
|
@@ -9,4 +10,12 @@ export interface IInputTextProps extends IInputComponentProps {
|
|
|
9
10
|
* @default 'left'
|
|
10
11
|
*/
|
|
11
12
|
addonPosition?: 'left' | 'right';
|
|
13
|
+
/**
|
|
14
|
+
* Icon to be rendered on the left side of the input field.
|
|
15
|
+
*/
|
|
16
|
+
iconLeft?: IconType;
|
|
17
|
+
/**
|
|
18
|
+
* Icon to be rendered on the right side of the input field.
|
|
19
|
+
*/
|
|
20
|
+
iconRight?: IconType;
|
|
12
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IInputTimeProps, InputTime } from './inputTime';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IRadioProps, Radio } from './radio';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IRadioCardProps, RadioCard } from './radioCard';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IRadioGroupProps, RadioGroup } from './radioGroup';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ISwitchProps, Switch } from './switch';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITextAreaProps, TextArea } from './textArea';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITextAreaRichTextProps, TextAreaRichText } from './textAreaRichText';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GukCoreProvider,
|
|
1
|
+
export { GukCoreProvider, type IGukCoreContext, type IGukCoreProviderProps, useGukCoreContext, } from './gukCoreProvider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ResponsiveAttribute } from '../../types';
|
|
3
3
|
import type { IconType } from './iconType';
|
|
4
4
|
export type IconSize = 'sm' | 'md' | 'lg';
|
|
5
5
|
export interface IIconProps extends SVGProps<SVGSVGElement> {
|
|
@@ -2,6 +2,7 @@ export declare enum IconType {
|
|
|
2
2
|
APP_ASSETS = "APP_ASSETS",
|
|
3
3
|
APP_DASHBOARD = "APP_DASHBOARD",
|
|
4
4
|
APP_EXPLORE = "APP_EXPLORE",
|
|
5
|
+
APP_GAUGE = "APP_GAUGE",
|
|
5
6
|
APP_MEMBERS = "APP_MEMBERS",
|
|
6
7
|
APP_PROPOSALS = "APP_PROPOSALS",
|
|
7
8
|
APP_TRANSACTIONS = "APP_TRANSACTIONS",
|
|
@@ -41,6 +42,7 @@ export declare enum IconType {
|
|
|
41
42
|
LOGOUT = "LOGOUT",
|
|
42
43
|
MENU = "MENU",
|
|
43
44
|
MINUS = "MINUS",
|
|
45
|
+
PEN = "PEN",
|
|
44
46
|
PERSON = "PERSON",
|
|
45
47
|
PLUS = "PLUS",
|
|
46
48
|
RADIO = "RADIO",
|
|
@@ -63,5 +65,11 @@ export declare enum IconType {
|
|
|
63
65
|
SORT_DESC = "SORT_DESC",
|
|
64
66
|
SUCCESS = "SUCCESS",
|
|
65
67
|
WARNING = "WARNING",
|
|
66
|
-
WITHDRAW = "WITHDRAW"
|
|
68
|
+
WITHDRAW = "WITHDRAW",
|
|
69
|
+
SOCIAL_X = "SOCIAL_X",
|
|
70
|
+
SOCIAL_DISCORD = "SOCIAL_DISCORD",
|
|
71
|
+
SOCIAL_GITHUB = "SOCIAL_GITHUB",
|
|
72
|
+
SOCIAL_TELEGRAM = "SOCIAL_TELEGRAM",
|
|
73
|
+
SOCIAL_EMAIL = "SOCIAL_EMAIL",
|
|
74
|
+
SOCIAL_WEBSITE = "SOCIAL_WEBSITE"
|
|
67
75
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Icon, type
|
|
1
|
+
export { Icon, type IconSize, type IIconProps } from './icon';
|
|
2
2
|
export { IconType } from './iconType';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IIllustrationHumanProps, IllustrationHuman } from './illustrationHuman';
|
|
2
2
|
export type { IllustrationHumanAccessory, IllustrationHumanBody, IllustrationHumanExpression, IllustrationHumanHairs, IllustrationHumanSunglasses, } from './illustrationHumanType';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IIllustrationObjectProps, IllustrationObject } from './illustrationObject';
|
|
2
2
|
export type { IllustrationObjectType } from './illustrationObjectType';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Link } from './link';
|
|
2
|
-
export {
|
|
2
|
+
export type { ILinkProps, LinkVariant } from './link.api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ILinkBaseProps, LinkBase } from './linkBase';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import type { ResponsiveAttribute } from '../../types';
|
|
3
3
|
export type ProgressSize = 'sm' | 'md';
|
|
4
4
|
export type ProgressVariant = 'primary' | 'neutral' | 'success' | 'critical';
|
|
5
5
|
export interface IProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IRerenderProps, Rerender } from './rerender';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ISpinnerProps, Spinner, type SpinnerSize, type SpinnerVariant } from './spinner';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ResponsiveAttribute } from '../../types';
|
|
3
3
|
export type SpinnerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type SpinnerVariant = 'neutral' | 'primary' | 'primaryInverted' | 'success' | 'warning' | 'critical';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IStatePingAnimationProps, StatePingAnimation, type StatePingAnimationVariant, } from './statePingAnimation';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
export type StatePingAnimationVariant = 'primary' | 'info' | 'success' | 'warning' | 'critical';
|
|
4
4
|
export interface IStatePingAnimationProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IStateSkeletonBarProps, StateSkeletonBar, type StateSkeletonBarSize } from './stateSkeletonBar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import {
|
|
1
|
+
import { type ComponentPropsWithoutRef, type CSSProperties } from 'react';
|
|
2
|
+
import type { ResponsiveAttribute } from '../../../types';
|
|
3
3
|
export type StateSkeletonBarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
export interface IStateSkeletonBarProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IStateSkeletonCircularProps, StateSkeletonCircular, type StateSkeletonCircularSize, } from './stateSkeletonCircular';
|
package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ResponsiveAttribute } from '../../../types';
|
|
3
3
|
export type StateSkeletonCircularSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
export interface IStateSkeletonCircularProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITabsContentProps, TabsContent } from './tabsContent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITabsListProps, TabsList } from './tabsList';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITabsContext, type ITabsRootProps, TabsContext, TabsRoot } from './tabsRoot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITabsTriggerProps, TabsTrigger } from './tabsTrigger';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITagProps, Tag, type TagVariant } from './tag';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IToggleProps, Toggle } from './toggle';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IToggleGroupProps, ToggleGroup, type ToggleGroupValue } from './toggleGroup';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITooltipProps, Tooltip, type TooltipVariant } from './tooltip';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IUseCopyReturn, useCopy } from './useCopy';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IUseDebouncedValueParams, type IUseDebouncedValueResult, useDebouncedValue } from './useDebouncedValue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
|
-
import { DateFormat,
|
|
2
|
+
import { DateFormat, type INumberFormat, NumberFormat } from './formatterUtilsDefinitions';
|
|
3
3
|
export interface IFormatNumberOptions extends INumberFormat {
|
|
4
4
|
/**
|
|
5
5
|
* Number format to use.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { formatterUtils, type IFormatDateOptions, type IFormatNumberOptions } from './formatterUtils';
|
|
2
|
-
export { DateFormat,
|
|
2
|
+
export { DateFormat, dateFormats, type IDateFormat, type INumberFormat, NumberFormat, numberFormats, } from './formatterUtilsDefinitions';
|
|
@@ -172,7 +172,7 @@ export declare const modulesCopy: {
|
|
|
172
172
|
expired: string;
|
|
173
173
|
unreached: string;
|
|
174
174
|
vetoed: string;
|
|
175
|
-
advanceable: (canAdvance?: boolean, isShortWindow?: boolean) => "
|
|
175
|
+
advanceable: (canAdvance?: boolean, isShortWindow?: boolean) => "left to advance" | "is" | "until advanceable";
|
|
176
176
|
};
|
|
177
177
|
status: {
|
|
178
178
|
accepted: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GukModulesProvider,
|
|
1
|
+
export { GukModulesProvider, type IGukModulesContext, type IGukModulesProviderProps, useGukModulesContext, } from './gukModulesProvider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IMemberAvatarProps, MemberAvatar } from './memberAvatar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IMemberDataListItemSkeletonProps, MemberDataListItemSkeleton } from './memberDataListItemSkeleton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IMemberDataListItemProps, MemberDataListItemStructure } from './memberDataListItemStructure';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalActionsContainerProps, ProposalActionsContainer } from './proposalActionsContainer';
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProposalActionsContextProvider, proposalActionsContext, useProposalActionsContext,
|
|
1
|
+
export { type IProposalActionsContext, ProposalActionsContextProvider, proposalActionsContext, useProposalActionsContext, } from './proposalActionsContext';
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ProposalActionsDecoder } from './proposalActionsDecoder';
|
|
2
|
-
export { ProposalActionsDecoderMode, ProposalActionsDecoderView,
|
|
2
|
+
export { type IProposalActionsDecoderProps, ProposalActionsDecoderMode, ProposalActionsDecoderView, } from './proposalActionsDecoder.api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalActionsDecoderFieldProps, ProposalActionsDecoderField } from './proposalActionsDecoderField';
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface IProposalActionInputDataParameter {
|
|
|
40
40
|
/**
|
|
41
41
|
* Array of parameters for "tuple" type.
|
|
42
42
|
*/
|
|
43
|
-
components?:
|
|
43
|
+
components?: Omit<IProposalActionInputDataParameter, 'value'>[];
|
|
44
44
|
}
|
|
45
45
|
export interface IProposalActionInputData {
|
|
46
46
|
/**
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalActionsFooterDropdownItem, type IProposalActionsFooterProps, ProposalActionsFooter, } from './proposalActionsFooter';
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalActionsRootProps, ProposalActionsRoot } from './proposalActionsRoot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalDataListItemSkeletonProps, ProposalDataListItemSkeleton } from './proposalDataListItemSkeleton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalDataListItemStatusProps, ProposalDataListItemStatus } from './proposalDataListItemStatus';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IProposalDataListItemStructureProps } from '../proposalDataListItemStructure';
|
|
2
2
|
export interface IProposalDataListItemStatusProps extends Pick<IProposalDataListItemStructureProps, 'date' | 'status' | 'voted' | 'statusContext'> {
|
|
3
3
|
}
|
|
4
4
|
export declare const ProposalDataListItemStatus: React.FC<IProposalDataListItemStatusProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IDataListItemProps } from '../../../../../core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ICompositeAddress, IWeb3ComponentProps } from '../../../../types';
|
|
3
|
+
import type { ProposalStatus } from '../../proposalUtils';
|
|
4
4
|
export type IProposalDataListItemStructureProps = IDataListItemProps & Omit<IWeb3ComponentProps, 'chainId'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Proposal id
|