@aragon/gov-ui-kit 2.0.1 → 2.1.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.
Files changed (153) hide show
  1. package/build.css +1 -1
  2. package/dist/index.es.js +1 -1
  3. package/dist/index.es.js.map +1 -1
  4. package/dist/types/.storybook/components/styleBlock/index.d.ts +1 -1
  5. package/dist/types/.storybook/theme.d.ts +1 -1
  6. package/dist/types/jest.config.d.ts +3 -0
  7. package/dist/types/postcss.config.d.ts +3 -0
  8. package/dist/types/src/core/components/alerts/alertCard/alertCard.d.ts +1 -1
  9. package/dist/types/src/core/components/alerts/alertInline/alertInline.d.ts +1 -1
  10. package/dist/types/src/core/components/avatars/avatar/avatar.d.ts +1 -1
  11. package/dist/types/src/core/components/avatars/avatarIcon/avatarIcon.d.ts +2 -2
  12. package/dist/types/src/core/components/cards/cardSummary/index.d.ts +1 -1
  13. package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +1 -1
  14. package/dist/types/src/core/components/collapsible/collapsible.d.ts +1 -1
  15. package/dist/types/src/core/components/collapsible/index.d.ts +1 -1
  16. package/dist/types/src/core/components/dataList/dataListContext/index.d.ts +1 -1
  17. package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +1 -1
  18. package/dist/types/src/core/components/definitionList/definitionListContainer/definitionListContainer.d.ts +1 -1
  19. package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts +1 -1
  20. package/dist/types/src/core/components/dialogs/dialog/dialogContent/dialogContent.d.ts +1 -1
  21. package/dist/types/src/core/components/dialogs/dialog/dialogHeader/dialogHeader.d.ts +1 -1
  22. package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +1 -1
  23. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/dialogAlertContent.d.ts +1 -1
  24. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContext/index.d.ts +1 -1
  25. package/dist/types/src/core/components/forms/checkboxCard/checkboxCard.d.ts +1 -1
  26. package/dist/types/src/core/components/forms/hooks/index.d.ts +2 -2
  27. package/dist/types/src/core/components/forms/inputDate/index.d.ts +1 -1
  28. package/dist/types/src/core/components/forms/inputFileAvatar/index.d.ts +1 -1
  29. package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.api.d.ts +2 -2
  30. package/dist/types/src/core/components/forms/inputNumber/index.d.ts +1 -1
  31. package/dist/types/src/core/components/forms/inputNumberMax/index.d.ts +1 -1
  32. package/dist/types/src/core/components/forms/inputSearch/index.d.ts +1 -1
  33. package/dist/types/src/core/components/forms/inputText/inputText.api.d.ts +9 -0
  34. package/dist/types/src/core/components/forms/inputTime/index.d.ts +1 -1
  35. package/dist/types/src/core/components/forms/radio/index.d.ts +1 -1
  36. package/dist/types/src/core/components/forms/radioCard/index.d.ts +1 -1
  37. package/dist/types/src/core/components/forms/radioGroup/index.d.ts +1 -1
  38. package/dist/types/src/core/components/forms/switch/index.d.ts +1 -1
  39. package/dist/types/src/core/components/forms/textArea/index.d.ts +1 -1
  40. package/dist/types/src/core/components/forms/textAreaRichText/index.d.ts +1 -1
  41. package/dist/types/src/core/components/gukCoreProvider/index.d.ts +1 -1
  42. package/dist/types/src/core/components/icon/icon.d.ts +1 -1
  43. package/dist/types/src/core/components/icon/iconList.d.ts +1 -1
  44. package/dist/types/src/core/components/icon/iconType.d.ts +9 -1
  45. package/dist/types/src/core/components/icon/index.d.ts +1 -1
  46. package/dist/types/src/core/components/illustrations/illustrationHuman/index.d.ts +1 -1
  47. package/dist/types/src/core/components/illustrations/illustrationObject/index.d.ts +1 -1
  48. package/dist/types/src/core/components/link/link/index.d.ts +1 -1
  49. package/dist/types/src/core/components/link/linkBase/index.d.ts +1 -1
  50. package/dist/types/src/core/components/progress/progress.api.d.ts +2 -2
  51. package/dist/types/src/core/components/rerender/index.d.ts +1 -1
  52. package/dist/types/src/core/components/spinner/index.d.ts +1 -1
  53. package/dist/types/src/core/components/spinner/spinner.d.ts +1 -1
  54. package/dist/types/src/core/components/states/statePingAnimation/index.d.ts +1 -1
  55. package/dist/types/src/core/components/states/statePingAnimation/statePingAnimation.d.ts +1 -1
  56. package/dist/types/src/core/components/states/stateSkeletonBar/index.d.ts +1 -1
  57. package/dist/types/src/core/components/states/stateSkeletonBar/stateSkeletonBar.d.ts +2 -2
  58. package/dist/types/src/core/components/states/stateSkeletonCircular/index.d.ts +1 -1
  59. package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts +1 -1
  60. package/dist/types/src/core/components/tabs/tabsContent/index.d.ts +1 -1
  61. package/dist/types/src/core/components/tabs/tabsContent/tabsContent.d.ts +1 -1
  62. package/dist/types/src/core/components/tabs/tabsList/index.d.ts +1 -1
  63. package/dist/types/src/core/components/tabs/tabsRoot/index.d.ts +1 -1
  64. package/dist/types/src/core/components/tabs/tabsTrigger/index.d.ts +1 -1
  65. package/dist/types/src/core/components/tag/index.d.ts +1 -1
  66. package/dist/types/src/core/components/toggles/toggle/index.d.ts +1 -1
  67. package/dist/types/src/core/components/toggles/toggleGroup/index.d.ts +1 -1
  68. package/dist/types/src/core/components/tooltip/index.d.ts +1 -1
  69. package/dist/types/src/core/components/tooltip/tooltip.d.ts +1 -1
  70. package/dist/types/src/core/hooks/useCopy/index.d.ts +1 -1
  71. package/dist/types/src/core/hooks/useDebouncedValue/index.d.ts +1 -1
  72. package/dist/types/src/core/utils/formatterUtils/formatterUtils.d.ts +1 -1
  73. package/dist/types/src/core/utils/formatterUtils/index.d.ts +1 -1
  74. package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +1 -1
  75. package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +1 -1
  76. package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/assetTransferAddress.d.ts +1 -1
  77. package/dist/types/src/modules/components/gukModulesProvider/index.d.ts +1 -1
  78. package/dist/types/src/modules/components/member/memberAvatar/index.d.ts +1 -1
  79. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/index.d.ts +1 -1
  80. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/index.d.ts +1 -1
  81. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContainer/index.d.ts +1 -1
  82. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/index.d.ts +1 -1
  83. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +1 -1
  84. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +1 -1
  85. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -1
  86. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +1 -1
  87. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts +1 -1
  88. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts +1 -1
  89. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/index.d.ts +1 -1
  90. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/index.d.ts +1 -1
  91. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/proposalDataListItemStatus.d.ts +1 -1
  92. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.api.d.ts +2 -2
  93. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +1 -1
  94. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/index.d.ts +1 -1
  95. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/index.d.ts +1 -1
  96. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/index.d.ts +1 -1
  97. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/index.d.ts +1 -1
  98. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/index.d.ts +1 -1
  99. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/index.d.ts +1 -1
  100. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts +1 -1
  101. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/proposalVotingContainer.d.ts +1 -1
  102. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts +1 -1
  103. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts +1 -1
  104. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +1 -1
  105. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContainer/index.d.ts +1 -1
  106. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStatus/index.d.ts +1 -1
  107. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts +1 -1
  108. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts +1 -1
  109. package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemSkeleton/index.d.ts +1 -1
  110. package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemStructure/index.d.ts +1 -1
  111. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/index.d.ts +1 -1
  112. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/index.d.ts +1 -1
  113. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +2 -2
  114. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts +1 -1
  115. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts +1 -1
  116. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/voteDataListItemStructure.d.ts +1 -1
  117. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/index.d.ts +1 -1
  118. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/index.d.ts +1 -1
  119. package/dist/types/src/modules/components/vote/voteUtils.d.ts +1 -1
  120. package/dist/types/src/modules/components/wallet/index.d.ts +1 -1
  121. package/dist/types/src/modules/components/wallet/wallet.d.ts +1 -1
  122. package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -1
  123. package/index.css +1 -1
  124. package/package.json +44 -55
  125. package/src/core/components/avatars/avatar/index.css +2 -2
  126. package/src/core/components/avatars/index.css +1 -1
  127. package/src/core/components/collapsible/index.css +2 -2
  128. package/src/core/components/dialogs/dialog/dialogRoot/index.css +4 -4
  129. package/src/core/components/dialogs/dialog/index.css +1 -1
  130. package/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.css +4 -4
  131. package/src/core/components/dialogs/dialogAlert/index.css +1 -1
  132. package/src/core/components/dialogs/index.css +2 -2
  133. package/src/core/components/dropdown/dropdownContainer/index.css +2 -2
  134. package/src/core/components/dropdown/index.css +1 -1
  135. package/src/core/components/forms/index.css +1 -1
  136. package/src/core/components/forms/textAreaRichText/index.css +2 -2
  137. package/src/core/components/illustrations/index.css +4 -4
  138. package/src/core/components/index.css +6 -6
  139. package/src/core/index.css +1 -1
  140. package/src/index.css +2 -2
  141. package/src/theme/index.css +2 -2
  142. package/src/theme/tokens/index.css +1 -1
  143. package/src/theme/tokens/primitives/borderRadius.css +8 -8
  144. package/src/theme/tokens/primitives/breakpoints.css +11 -11
  145. package/src/theme/tokens/primitives/colors.css +68 -68
  146. package/src/theme/tokens/primitives/focusRing.css +34 -34
  147. package/src/theme/tokens/primitives/shadows.css +93 -45
  148. package/src/theme/tokens/primitives/spacing.css +1 -1
  149. package/src/theme/tokens/primitives/typography.css +28 -28
  150. package/src/theme/utils/animations.css +19 -19
  151. package/src/theme/utils/prose.css +65 -65
  152. package/src/theme/utils/pseudoElements.css +17 -17
  153. package/dist/types/node_modules/.pnpm/events@3.3.0/node_modules/events/events.d.ts +0 -30
@@ -1 +1 @@
1
- export { StyleBlock, type ICustomisationDoc } from './styleBlock';
1
+ export { type ICustomisationDoc, StyleBlock } from './styleBlock';
@@ -1,2 +1,2 @@
1
- declare const _default: import("storybook/internal/theming").ThemeVars;
1
+ declare const _default: import("storybook/theming").ThemeVars;
2
2
  export default _default;
@@ -0,0 +1,3 @@
1
+ export = config;
2
+ /** @type {import('@jest/types').Config.InitialOptions} */
3
+ declare const config: any;
@@ -0,0 +1,3 @@
1
+ export let plugins: {
2
+ '@tailwindcss/postcss': {};
3
+ };
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type HTMLAttributes } from 'react';
2
+ import type { HTMLAttributes } from 'react';
3
3
  import { type AlertVariant } from '../alertUtils';
4
4
  export interface IAlertCardProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type HTMLAttributes } from 'react';
2
+ import type { HTMLAttributes } from 'react';
3
3
  import { type AlertVariant } from '../alertUtils';
4
4
  export interface IAlertInlineProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
3
- import { type ResponsiveAttribute } from '../../../types';
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 { type HTMLAttributes } from 'react';
3
- import { type ResponsiveAttribute } from '../../../types';
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 { type ICardSummaryAction, type ICardSummaryProps } from './cardSummary.api';
2
+ export type { ICardSummaryAction, ICardSummaryProps } from './cardSummary.api';
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  export interface ICollapsibleProps extends Omit<ComponentProps<'div'>, 'onToggle'> {
3
3
  /**
4
4
  * Number of text lines to show while collapsed.
@@ -1,4 +1,4 @@
1
- import { type ICollapsibleProps } from './collapsible.api';
1
+ import type { ICollapsibleProps } from './collapsible.api';
2
2
  /**
3
3
  * Collapsible component that can wrap any content and visually collapse it for space-saving purposes.
4
4
  *
@@ -1,2 +1,2 @@
1
1
  export { Collapsible } from './collapsible';
2
- export { type ICollapsibleProps } from './collapsible.api';
2
+ export type { ICollapsibleProps } from './collapsible.api';
@@ -1 +1 @@
1
- export { DataListContextProvider, dataListContext, useDataListContext, type IDataListContext } from './dataListContext';
1
+ export { DataListContextProvider, dataListContext, type IDataListContext, useDataListContext } from './dataListContext';
@@ -1,4 +1,4 @@
1
- import { type AnchorHTMLAttributes, type HTMLAttributes } from 'react';
1
+ import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';
2
2
  type DivPropsWithCustomClick = Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> & {
3
3
  onClick?: () => void;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithoutRef } from 'react';
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>;
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
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 { type ComponentPropsWithoutRef } from 'react';
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 { type ComponentPropsWithoutRef } from 'react';
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 { type DialogSize, type IDialogRootProps } from './dialogRoot.api';
2
+ export type { DialogSize, IDialogRootProps } from './dialogRoot.api';
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type ComponentPropsWithoutRef } from 'react';
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, useDialogAlertContext, type IDialogAlertContext } from './dialogAlertContext';
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 { type CheckboxState } from '../checkbox/checkbox';
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 { useInputProps, type IUseInputPropsResult } from './useInputProps';
2
- export { useNumberMask, type IUseNumberMaskProps, type IUseNumberMaskResult } from './useNumberMask';
1
+ export { type IUseInputPropsResult, useInputProps } from './useInputProps';
2
+ export { type IUseNumberMaskProps, type IUseNumberMaskResult, useNumberMask } from './useNumberMask';
@@ -1 +1 @@
1
- export { InputDate, type IInputDateProps } from './inputDate';
1
+ export { type IInputDateProps, InputDate } from './inputDate';
@@ -1,2 +1,2 @@
1
1
  export { InputFileAvatar } from './inputFileAvatar';
2
- export { InputFileAvatarError, type IInputFileAvatarProps, type IInputFileAvatarValue } from './inputFileAvatar.api';
2
+ export { type IInputFileAvatarProps, type IInputFileAvatarValue, InputFileAvatarError } from './inputFileAvatar.api';
@@ -1,5 +1,5 @@
1
- import { type Accept } from 'react-dropzone';
2
- import { type IInputContainerBaseProps } from '../inputContainer';
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 { InputNumber, type IInputNumberProps } from './inputNumber';
1
+ export { type IInputNumberProps, InputNumber } from './inputNumber';
@@ -1 +1 @@
1
- export { InputNumberMax, type IInputNumberMaxProps } from './inputNumberMax';
1
+ export { type IInputNumberMaxProps, InputNumberMax } from './inputNumberMax';
@@ -1 +1 @@
1
- export { InputSearch, type IInputSearchProps } from './inputSearch';
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 { InputTime, type IInputTimeProps } from './inputTime';
1
+ export { type IInputTimeProps, InputTime } from './inputTime';
@@ -1 +1 @@
1
- export { Radio, type IRadioProps } from './radio';
1
+ export { type IRadioProps, Radio } from './radio';
@@ -1 +1 @@
1
- export { RadioCard, type IRadioCardProps } from './radioCard';
1
+ export { type IRadioCardProps, RadioCard } from './radioCard';
@@ -1 +1 @@
1
- export { RadioGroup, type IRadioGroupProps } from './radioGroup';
1
+ export { type IRadioGroupProps, RadioGroup } from './radioGroup';
@@ -1 +1 @@
1
- export { Switch, type ISwitchProps } from './switch';
1
+ export { type ISwitchProps, Switch } from './switch';
@@ -1 +1 @@
1
- export { TextArea, type ITextAreaProps } from './textArea';
1
+ export { type ITextAreaProps, TextArea } from './textArea';
@@ -1 +1 @@
1
- export { TextAreaRichText, type ITextAreaRichTextProps } from './textAreaRichText';
1
+ export { type ITextAreaRichTextProps, TextAreaRichText } from './textAreaRichText';
@@ -1 +1 @@
1
- export { GukCoreProvider, useGukCoreContext, type IGukCoreContext, type IGukCoreProviderProps, } from './gukCoreProvider';
1
+ export { GukCoreProvider, type IGukCoreContext, type IGukCoreProviderProps, useGukCoreContext, } from './gukCoreProvider';
@@ -1,5 +1,5 @@
1
1
  import type { SVGProps } from 'react';
2
- import { type ResponsiveAttribute } from '../../types';
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> {
@@ -1,4 +1,4 @@
1
- import { type SVGProps } from 'react';
1
+ import type { SVGProps } from 'react';
2
2
  import { IconType } from './iconType';
3
3
  type IconComponent = React.FC<SVGProps<SVGSVGElement>>;
4
4
  export declare const iconList: Record<IconType, IconComponent>;
@@ -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 IIconProps, type IconSize } from './icon';
1
+ export { Icon, type IconSize, type IIconProps } from './icon';
2
2
  export { IconType } from './iconType';
@@ -1,2 +1,2 @@
1
- export { IllustrationHuman, type IIllustrationHumanProps } from './illustrationHuman';
1
+ export { type IIllustrationHumanProps, IllustrationHuman } from './illustrationHuman';
2
2
  export type { IllustrationHumanAccessory, IllustrationHumanBody, IllustrationHumanExpression, IllustrationHumanHairs, IllustrationHumanSunglasses, } from './illustrationHumanType';
@@ -1,2 +1,2 @@
1
- export { IllustrationObject, type IIllustrationObjectProps } from './illustrationObject';
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 { type ILinkProps, type LinkVariant } from './link.api';
2
+ export type { ILinkProps, LinkVariant } from './link.api';
@@ -1 +1 @@
1
- export { LinkBase, type ILinkBaseProps } from './linkBase';
1
+ export { type ILinkBaseProps, LinkBase } from './linkBase';
@@ -1,5 +1,5 @@
1
- import { type HTMLAttributes } from 'react';
2
- import { type ResponsiveAttribute } from '../../types';
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 { Rerender, type IRerenderProps } from './rerender';
1
+ export { type IRerenderProps, Rerender } from './rerender';
@@ -1 +1 @@
1
- export { Spinner, type ISpinnerProps, type SpinnerSize, type SpinnerVariant } from './spinner';
1
+ export { type ISpinnerProps, Spinner, type SpinnerSize, type SpinnerVariant } from './spinner';
@@ -1,4 +1,4 @@
1
- import { type HTMLAttributes } from 'react';
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 { StatePingAnimation, type IStatePingAnimationProps, type StatePingAnimationVariant, } from './statePingAnimation';
1
+ export { type IStatePingAnimationProps, StatePingAnimation, type StatePingAnimationVariant, } from './statePingAnimation';
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type ComponentPropsWithoutRef } from 'react';
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 { StateSkeletonBar, type IStateSkeletonBarProps, type StateSkeletonBarSize } from './stateSkeletonBar';
1
+ export { type IStateSkeletonBarProps, StateSkeletonBar, type StateSkeletonBarSize } from './stateSkeletonBar';
@@ -1,5 +1,5 @@
1
- import { type CSSProperties, type ComponentPropsWithoutRef } from 'react';
2
- import { type ResponsiveAttribute } from '../../../types';
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 { StateSkeletonCircular, type IStateSkeletonCircularProps, type StateSkeletonCircularSize, } from './stateSkeletonCircular';
1
+ export { type IStateSkeletonCircularProps, StateSkeletonCircular, type StateSkeletonCircularSize, } from './stateSkeletonCircular';
@@ -1,5 +1,5 @@
1
1
  import { type ComponentPropsWithoutRef } from 'react';
2
- import { type ResponsiveAttribute } from '../../../types';
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 { TabsContent, type ITabsContentProps } from './tabsContent';
1
+ export { type ITabsContentProps, TabsContent } from './tabsContent';
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  export interface ITabsContentProps extends ComponentProps<'div'> {
3
3
  /**
4
4
  * Value linking Tabs.Content to its corresponding Tabs.Trigger
@@ -1 +1 @@
1
- export { TabsList, type ITabsListProps } from './tabsList';
1
+ export { type ITabsListProps, TabsList } from './tabsList';
@@ -1 +1 @@
1
- export { TabsContext, TabsRoot, type ITabsContext, type ITabsRootProps } from './tabsRoot';
1
+ export { type ITabsContext, type ITabsRootProps, TabsContext, TabsRoot } from './tabsRoot';
@@ -1 +1 @@
1
- export { TabsTrigger, type ITabsTriggerProps } from './tabsTrigger';
1
+ export { type ITabsTriggerProps, TabsTrigger } from './tabsTrigger';
@@ -1 +1 @@
1
- export { Tag, type ITagProps, type TagVariant } from './tag';
1
+ export { type ITagProps, Tag, type TagVariant } from './tag';
@@ -1 +1 @@
1
- export { Toggle, type IToggleProps } from './toggle';
1
+ export { type IToggleProps, Toggle } from './toggle';
@@ -1 +1 @@
1
- export { ToggleGroup, type IToggleGroupProps, type ToggleGroupValue } from './toggleGroup';
1
+ export { type IToggleGroupProps, ToggleGroup, type ToggleGroupValue } from './toggleGroup';
@@ -1 +1 @@
1
- export { Tooltip, type ITooltipProps, type TooltipVariant } from './tooltip';
1
+ export { type ITooltipProps, Tooltip, type TooltipVariant } from './tooltip';
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type ReactNode } from 'react';
2
+ import type { ReactNode } from 'react';
3
3
  export type TooltipVariant = 'neutral' | 'info' | 'warning' | 'critical' | 'success';
4
4
  export interface ITooltipProps {
5
5
  /**
@@ -1 +1 @@
1
- export { useCopy, type IUseCopyReturn } from './useCopy';
1
+ export { type IUseCopyReturn, useCopy } from './useCopy';
@@ -1 +1 @@
1
- export { useDebouncedValue, type IUseDebouncedValueParams, type IUseDebouncedValueResult } from './useDebouncedValue';
1
+ export { type IUseDebouncedValueParams, type IUseDebouncedValueResult, useDebouncedValue } from './useDebouncedValue';
@@ -1,5 +1,5 @@
1
1
  import { DateTime } from 'luxon';
2
- import { DateFormat, NumberFormat, type INumberFormat } from './formatterUtilsDefinitions';
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, NumberFormat, dateFormats, numberFormats, type IDateFormat, type INumberFormat, } from './formatterUtilsDefinitions';
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) => "until advanceable" | "left to advance" | "is";
175
+ advanceable: (canAdvance?: boolean, isShortWindow?: boolean) => "left to advance" | "is" | "until advanceable";
176
176
  };
177
177
  status: {
178
178
  accepted: string;
@@ -1,4 +1,4 @@
1
- import { type ICompositeAddress, type IWeb3ComponentProps } from '../../../types';
1
+ import type { ICompositeAddress, IWeb3ComponentProps } from '../../../types';
2
2
  export interface IAssetTransferProps extends IWeb3ComponentProps {
3
3
  /**
4
4
  * Sender of the transaction.
@@ -1,4 +1,4 @@
1
- import { type ICompositeAddress } from '../../../../types';
1
+ import type { ICompositeAddress } from '../../../../types';
2
2
  export type TxRole = 'sender' | 'recipient';
3
3
  export interface IAssetTransferAddressProps {
4
4
  /**
@@ -1 +1 @@
1
- export { GukModulesProvider, useGukModulesContext, type IGukModulesContext, type IGukModulesProviderProps, } from './gukModulesProvider';
1
+ export { GukModulesProvider, type IGukModulesContext, type IGukModulesProviderProps, useGukModulesContext, } from './gukModulesProvider';
@@ -1 +1 @@
1
- export { MemberAvatar, type IMemberAvatarProps } from './memberAvatar';
1
+ export { type IMemberAvatarProps, MemberAvatar } from './memberAvatar';
@@ -1 +1 @@
1
- export { MemberDataListItemSkeleton, type IMemberDataListItemSkeletonProps } from './memberDataListItemSkeleton';
1
+ export { type IMemberDataListItemSkeletonProps, MemberDataListItemSkeleton } from './memberDataListItemSkeleton';
@@ -1 +1 @@
1
- export { MemberDataListItemStructure, type IMemberDataListItemProps } from './memberDataListItemStructure';
1
+ export { type IMemberDataListItemProps, MemberDataListItemStructure } from './memberDataListItemStructure';
@@ -1 +1 @@
1
- export { ProposalActionsContainer, type IProposalActionsContainerProps } from './proposalActionsContainer';
1
+ export { type IProposalActionsContainerProps, ProposalActionsContainer } from './proposalActionsContainer';
@@ -1 +1 @@
1
- export { ProposalActionsContextProvider, proposalActionsContext, useProposalActionsContext, type IProposalActionsContext, } from './proposalActionsContext';
1
+ export { type IProposalActionsContext, ProposalActionsContextProvider, proposalActionsContext, useProposalActionsContext, } from './proposalActionsContext';
@@ -1,2 +1,2 @@
1
1
  export { ProposalActionsDecoder } from './proposalActionsDecoder';
2
- export { ProposalActionsDecoderMode, ProposalActionsDecoderView, type IProposalActionsDecoderProps, } from './proposalActionsDecoder.api';
2
+ export { type IProposalActionsDecoderProps, ProposalActionsDecoderMode, ProposalActionsDecoderView, } from './proposalActionsDecoder.api';
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import type { IProposalAction } from '../proposalActionsDefinitions';
3
3
  export declare enum ProposalActionsDecoderView {
4
4
  DECODED = "DECODED",
@@ -1 +1 @@
1
- export { ProposalActionsDecoderField, type IProposalActionsDecoderFieldProps } from './proposalActionsDecoderField';
1
+ export { type IProposalActionsDecoderFieldProps, ProposalActionsDecoderField } from './proposalActionsDecoderField';
@@ -40,7 +40,7 @@ export interface IProposalActionInputDataParameter {
40
40
  /**
41
41
  * Array of parameters for "tuple" type.
42
42
  */
43
- components?: Array<Omit<IProposalActionInputDataParameter, 'value'>>;
43
+ components?: Omit<IProposalActionInputDataParameter, 'value'>[];
44
44
  }
45
45
  export interface IProposalActionInputData {
46
46
  /**
@@ -1 +1 @@
1
- export { ProposalActionsFooter, type IProposalActionsFooterDropdownItem, type IProposalActionsFooterProps, } from './proposalActionsFooter';
1
+ export { type IProposalActionsFooterDropdownItem, type IProposalActionsFooterProps, ProposalActionsFooter, } from './proposalActionsFooter';
@@ -1 +1 @@
1
- export { ProposalActionsRoot, type IProposalActionsRootProps } from './proposalActionsRoot';
1
+ export { type IProposalActionsRootProps, ProposalActionsRoot } from './proposalActionsRoot';
@@ -1 +1 @@
1
- export { ProposalDataListItemSkeleton, type IProposalDataListItemSkeletonProps } from './proposalDataListItemSkeleton';
1
+ export { type IProposalDataListItemSkeletonProps, ProposalDataListItemSkeleton } from './proposalDataListItemSkeleton';
@@ -1 +1 @@
1
- export { ProposalDataListItemStatus, type IProposalDataListItemStatusProps } from './proposalDataListItemStatus';
1
+ export { type IProposalDataListItemStatusProps, ProposalDataListItemStatus } from './proposalDataListItemStatus';
@@ -1,4 +1,4 @@
1
- import { type IProposalDataListItemStructureProps } from '../proposalDataListItemStructure';
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 { type ICompositeAddress, type IWeb3ComponentProps } from '../../../../types';
3
- import { type ProposalStatus } from '../../proposalUtils';
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
@@ -1,3 +1,3 @@
1
- import { type IProposalDataListItemStructureProps } from './proposalDataListItemStructure.api';
1
+ import type { IProposalDataListItemStructureProps } from './proposalDataListItemStructure.api';
2
2
  export declare const maxPublishersDisplayed = 3;
3
3
  export declare const ProposalDataListItemStructure: React.FC<IProposalDataListItemStructureProps>;
@@ -1 +1 @@
1
- export { ProposalVotingBodyContent, type IProposalVotingBodyContentProps } from './proposalVotingBodyContent';
1
+ export { type IProposalVotingBodyContentProps, ProposalVotingBodyContent } from './proposalVotingBodyContent';