@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,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
1
|
+
export { type IProposalVotingBodyContentProps, ProposalVotingBodyContent } from './proposalVotingBodyContent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingBodySummaryProps, ProposalVotingBodySummary } from './proposalVotingBodySummary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingBodySummaryListProps, ProposalVotingBodySummaryList, } from './proposalVotingBodySummaryList';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingBodySummaryListItemProps, ProposalVotingBodySummaryListItem, } from './proposalVotingBodySummaryListItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingBreakdownMultisigProps, ProposalVotingBreakdownMultisig, } from './proposalVotingBreakdownMultisig';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingBreakdownTokenProps, ProposalVotingBreakdownToken } from './proposalVotingBreakdownToken';
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingContainerProps, ProposalVotingContainer } from './proposalVotingContainer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
2
|
import type { ProposalStatus } from '../../proposalUtils';
|
|
3
3
|
import { type IProposalVotingContextProviderProps } from '../proposalVotingContext';
|
|
4
4
|
export interface IProposalVotingContainerProps extends Pick<IProposalVotingContextProviderProps, 'bodyList'>, ComponentProps<'div'> {
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingDetailsProps, ProposalVotingDetails } from './proposalVotingDetails';
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingStageProps, ProposalVotingStage } from './proposalVotingStage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
2
|
import type { ProposalStatus } from '../../proposalUtils';
|
|
3
3
|
import { type IProposalVotingContextProviderProps } from '../proposalVotingContext';
|
|
4
4
|
export interface IProposalVotingStageProps extends Pick<IProposalVotingContextProviderProps, 'bodyList'>, ComponentProps<'div'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingStageContainerProps, ProposalVotingStageContainer } from './proposalVotingStageContainer';
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStatus/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingStatusProps, ProposalVotingStatus } from './proposalVotingStatus';
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingTabsProps, ProposalVotingTabs } from './proposalVotingTabs';
|
package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IProposalVotingVotesProps, ProposalVotingVotes } from './proposalVotingVotes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ISmartContractFunctionDataListItemSkeletonProps, SmartContractFunctionDataListItemSkeleton, } from './smartContractFunctionDataListItemSkeleton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ISmartContractFunctionDataListItemProps, SmartContractFunctionDataListItemStructure, } from './smartContractFunctionDataListItemStructure';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ITransactionDataListItemSkeletonProps, TransactionDataListItemSkeleton, } from './transactionDataListItemSkeleton';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TransactionDataListItemStructure } from './transactionDataListItemStructure';
|
|
2
|
-
export { TransactionStatus, TransactionType,
|
|
2
|
+
export { type ITransactionDataListItemProps, TransactionStatus, TransactionType, } from './transactionDataListItemStructure.api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Hash } from 'viem';
|
|
2
|
+
import type { IDataListItemProps } from '../../../../../core';
|
|
3
3
|
export declare enum TransactionStatus {
|
|
4
4
|
PENDING = "PENDING",
|
|
5
5
|
SUCCESS = "SUCCESS",
|
package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IVoteDataListItemSkeletonProps, VoteDataListItemSkeleton } from './voteDataListItemSkeleton';
|
package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IVoteDataListItemStructureProps, VoteDataListItemStructure } from './voteDataListItemStructure';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IDataListItemProps } from '../../../../../core';
|
|
2
|
-
import {
|
|
2
|
+
import type { ICompositeAddress } from '../../../../types';
|
|
3
3
|
import { type VoteIndicator } from '../../voteUtils';
|
|
4
4
|
export type IVoteDataListItemStructureProps = IDataListItemProps & {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IVoteProposalDataListItemSkeletonProps, VoteProposalDataListItemSkeleton, } from './voteProposalDataListItemSkeleton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IVoteProposalDataListItemStructureProps, VoteProposalDataListItemStructure, } from './voteProposalDataListItemStructure';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { TagVariant } from '../../../core';
|
|
2
2
|
export type VoteIndicator = 'yes' | 'no' | 'abstain' | 'approve' | 'veto';
|
|
3
3
|
export declare const getTagVariant: (voteIndicator: VoteIndicator, isVeto?: boolean) => TagVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IWalletProps, Wallet } from './wallet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ICompositeAddress, IWeb3ComponentProps } from '../../types';
|
|
2
2
|
export interface IWalletProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, IWeb3ComponentProps {
|
|
3
3
|
/**
|
|
4
4
|
* The connected user details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type UseFormContextReturn, useFormContext } from './useFormContext';
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "./src";
|
|
1
|
+
@import "./src/index.css";
|
|
2
2
|
@import "tailwindcss";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Implementation of the Aragon's Governance UI Kit",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
40
40
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
41
41
|
"@radix-ui/react-visually-hidden": "^1.2.4",
|
|
42
|
-
"@tiptap/core": "^3.
|
|
43
|
-
"@tiptap/extension-image": "^3.
|
|
44
|
-
"@tiptap/extensions": "^3.
|
|
45
|
-
"@tiptap/pm": "^3.
|
|
46
|
-
"@tiptap/react": "^3.
|
|
47
|
-
"@tiptap/starter-kit": "^3.
|
|
42
|
+
"@tiptap/core": "^3.22.5",
|
|
43
|
+
"@tiptap/extension-image": "^3.22.5",
|
|
44
|
+
"@tiptap/extensions": "^3.22.5",
|
|
45
|
+
"@tiptap/pm": "^3.22.5",
|
|
46
|
+
"@tiptap/react": "^3.22.5",
|
|
47
|
+
"@tiptap/starter-kit": "^3.22.5",
|
|
48
48
|
"blockies-ts": "^1.0.0",
|
|
49
49
|
"classnames": "^2.5.1",
|
|
50
|
-
"framer-motion": "^12.
|
|
50
|
+
"framer-motion": "^12.38.0",
|
|
51
51
|
"imask": "^7.6.1",
|
|
52
52
|
"luxon": "^3.7.2",
|
|
53
53
|
"react-dropzone": "^15.0.0",
|
|
54
54
|
"react-imask": "^7.6.1",
|
|
55
|
-
"sanitize-html": "^2.17.
|
|
55
|
+
"sanitize-html": "^2.17.3",
|
|
56
56
|
"tiptap-markdown": "^0.9.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
@@ -75,71 +75,61 @@
|
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@babel/core": "^7.29.0",
|
|
78
|
-
"@babel/preset-env": "^7.29.
|
|
78
|
+
"@babel/preset-env": "^7.29.5",
|
|
79
79
|
"@babel/preset-react": "^7.28.5",
|
|
80
80
|
"@babel/preset-typescript": "^7.28.5",
|
|
81
|
-
"@
|
|
82
|
-
"@changesets/
|
|
81
|
+
"@biomejs/biome": "^2.4.14",
|
|
82
|
+
"@changesets/changelog-github": "^0.6.0",
|
|
83
|
+
"@changesets/cli": "^2.31.0",
|
|
83
84
|
"@hookform/devtools": "^4.4.0",
|
|
84
|
-
"@rollup/plugin-commonjs": "^29.0.
|
|
85
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
85
86
|
"@rollup/plugin-image": "^3.0.3",
|
|
86
87
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
87
|
-
"@rollup/plugin-terser": "^0.
|
|
88
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
88
89
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
89
|
-
"@storybook/addon-docs": "^
|
|
90
|
-
"@storybook/react-vite": "^
|
|
90
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
91
|
+
"@storybook/react-vite": "^10.3.6",
|
|
91
92
|
"@svgr/rollup": "^8.1.0",
|
|
92
|
-
"@tailwindcss/postcss": "^4.2.
|
|
93
|
+
"@tailwindcss/postcss": "^4.2.4",
|
|
93
94
|
"@tailwindcss/typography": "^0.5.19",
|
|
94
|
-
"@tanstack/react-query": "^5.
|
|
95
|
+
"@tanstack/react-query": "^5.100.9",
|
|
95
96
|
"@testing-library/dom": "^10.4.1",
|
|
96
97
|
"@testing-library/jest-dom": "^6.9.1",
|
|
97
98
|
"@testing-library/react": "^16.3.2",
|
|
98
99
|
"@testing-library/user-event": "^14.6.1",
|
|
99
100
|
"@types/jest": "^30.0.0",
|
|
100
101
|
"@types/luxon": "^3.7.1",
|
|
101
|
-
"@types/node": "^22.19.
|
|
102
|
+
"@types/node": "^22.19.18",
|
|
102
103
|
"@types/react": "^19.2.14",
|
|
103
104
|
"@types/react-dom": "^19.2.3",
|
|
104
|
-
"@types/sanitize-html": "^2.16.
|
|
105
|
+
"@types/sanitize-html": "^2.16.1",
|
|
105
106
|
"cross-env": "^10.1.0",
|
|
106
|
-
"eslint": "^9.39.3",
|
|
107
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
108
|
-
"eslint-plugin-import": "^2.32.0",
|
|
109
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
110
|
-
"eslint-plugin-react": "^7.37.5",
|
|
111
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
112
|
-
"eslint-plugin-storybook": "^9.1.19",
|
|
113
|
-
"eslint-plugin-testing-library": "^7.16.0",
|
|
114
107
|
"husky": "^9.1.7",
|
|
115
|
-
"jest": "^30.
|
|
116
|
-
"jest-environment-jsdom": "^30.
|
|
117
|
-
"lint-staged": "^16.
|
|
118
|
-
"postcss": "^8.5.
|
|
108
|
+
"jest": "^30.4.0",
|
|
109
|
+
"jest-environment-jsdom": "^30.4.0",
|
|
110
|
+
"lint-staged": "^16.4.0",
|
|
111
|
+
"postcss": "^8.5.14",
|
|
119
112
|
"postcss-loader": "^8.2.1",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"react-dom": "^19.2.4",
|
|
125
|
-
"react-hook-form": "^7.71.2",
|
|
126
|
-
"rollup": "^4.59.0",
|
|
113
|
+
"react": "^19.2.6",
|
|
114
|
+
"react-dom": "^19.2.6",
|
|
115
|
+
"react-hook-form": "^7.75.0",
|
|
116
|
+
"rollup": "^4.60.3",
|
|
127
117
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
128
118
|
"rollup-plugin-postcss": "^4.0.2",
|
|
129
|
-
"rollup-plugin-visualizer": "^
|
|
130
|
-
"storybook": "^
|
|
131
|
-
"tailwindcss": "^4.2.
|
|
132
|
-
"ts-jest": "^29.4.
|
|
119
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
120
|
+
"storybook": "^10.3.6",
|
|
121
|
+
"tailwindcss": "^4.2.4",
|
|
122
|
+
"ts-jest": "^29.4.9",
|
|
133
123
|
"tslib": "^2.8.1",
|
|
124
|
+
"turbo": "^2.9.10",
|
|
134
125
|
"typescript": "^5.9.3",
|
|
135
|
-
"
|
|
136
|
-
"vercel": "^50.
|
|
137
|
-
"viem": "^2.
|
|
138
|
-
"vite": "^
|
|
139
|
-
"vite-plugin-
|
|
140
|
-
"vite-plugin-
|
|
141
|
-
"
|
|
142
|
-
"wagmi": "^3.5.0",
|
|
126
|
+
"ultracite": "^7.6.4",
|
|
127
|
+
"vercel": "^50.44.0",
|
|
128
|
+
"viem": "^2.48.11",
|
|
129
|
+
"vite": "^8.0.11",
|
|
130
|
+
"vite-plugin-static-copy": "^4.1.0",
|
|
131
|
+
"vite-plugin-svgr": "^5.2.0",
|
|
132
|
+
"wagmi": "^3.6.9",
|
|
143
133
|
"zod": "^3.25.76"
|
|
144
134
|
},
|
|
145
135
|
"bugs": {
|
|
@@ -161,17 +151,16 @@
|
|
|
161
151
|
"scripts": {
|
|
162
152
|
"setup": "husky",
|
|
163
153
|
"storybook": "storybook dev -p 6006",
|
|
164
|
-
"
|
|
165
|
-
"build
|
|
166
|
-
"build:
|
|
154
|
+
"sb": "pnpm storybook",
|
|
155
|
+
"build": "rollup -c rollup.config.mjs",
|
|
156
|
+
"build:watch": "rollup -c rollup.config.mjs --watch",
|
|
157
|
+
"build:analyze": "cross-env ANALYZE=true rollup -c rollup.config.mjs",
|
|
167
158
|
"build:storybook": "storybook build",
|
|
168
159
|
"test": "jest",
|
|
169
160
|
"test:watch": "jest --watch",
|
|
170
161
|
"test:coverage": "jest --coverage",
|
|
171
|
-
"lint": "
|
|
172
|
-
"lint:
|
|
173
|
-
"prettify": "prettier . --check",
|
|
174
|
-
"prettify:fix": "prettier . --write",
|
|
162
|
+
"lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
|
|
163
|
+
"lint:check": "biome check --no-errors-on-unmatched --files-ignore-unknown=true",
|
|
175
164
|
"type-check": "tsc --noemit"
|
|
176
165
|
}
|
|
177
166
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./avatar";
|
|
1
|
+
@import "./avatar/index.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/* Z-index property of the dialog overlay */
|
|
3
|
+
--guk-dialog-overlay-z-index: auto;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/* Z-index property of the dialog content */
|
|
6
|
+
--guk-dialog-content-z-index: auto;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./dialogRoot";
|
|
1
|
+
@import "./dialogRoot/index.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/* Z-index property of the dialog overlay */
|
|
3
|
+
--guk-dialog-alert-overlay-z-index: auto;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/* Z-index property of the dialog content */
|
|
6
|
+
--guk-dialog-alert-content-z-index: auto;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./dialogAlertRoot";
|
|
1
|
+
@import "./dialogAlertRoot/index.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "./dialog";
|
|
2
|
-
@import "./dialogAlert";
|
|
1
|
+
@import "./dialog/index.css";
|
|
2
|
+
@import "./dialogAlert/index.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./dropdownContainer";
|
|
1
|
+
@import "./dropdownContainer/index.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./textAreaRichText";
|
|
1
|
+
@import "./textAreaRichText/index.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/* Accent color for the illustrations */
|
|
3
|
+
--guk-illustration-accent-color: var(--color-primary-400);
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/* Primary color for the illustrations */
|
|
6
|
+
--guk-illustration-primary-color: var(--color-primary-900);
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import "./avatars";
|
|
2
|
-
@import "./collapsible";
|
|
3
|
-
@import "./dialogs";
|
|
4
|
-
@import "./dropdown";
|
|
5
|
-
@import "./forms";
|
|
6
|
-
@import "./illustrations";
|
|
1
|
+
@import "./avatars/index.css";
|
|
2
|
+
@import "./collapsible/index.css";
|
|
3
|
+
@import "./dialogs/index.css";
|
|
4
|
+
@import "./dropdown/index.css";
|
|
5
|
+
@import "./forms/index.css";
|
|
6
|
+
@import "./illustrations/index.css";
|
package/src/core/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./components";
|
|
1
|
+
@import "./components/index.css";
|
package/src/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "./core";
|
|
2
|
-
@import "./theme";
|
|
1
|
+
@import "./core/index.css";
|
|
2
|
+
@import "./theme/index.css";
|
package/src/theme/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "./tokens";
|
|
2
|
-
@import "./utils";
|
|
1
|
+
@import "./tokens/index.css";
|
|
2
|
+
@import "./utils/index.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./primitives";
|
|
1
|
+
@import "./primitives/index.css";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
--radius-*: initial;
|
|
3
|
+
--radius-md: 4px;
|
|
4
|
+
--radius-lg: 8px;
|
|
5
|
+
--radius-xl: 12px;
|
|
6
|
+
--radius-2xl: 16px;
|
|
7
|
+
--radius-3xl: 24px;
|
|
8
|
+
--radius-full: 9999px;
|
|
9
|
+
--radius-none: none;
|
|
10
10
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
--breakpoint-sm-px: 640;
|
|
3
|
+
--breakpoint-md-px: 768;
|
|
4
|
+
--breakpoint-lg-px: 1024;
|
|
5
|
+
--breakpoint-xl-px: 1280;
|
|
6
|
+
--breakpoint-2xl-px: 1536;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@theme {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
--breakpoint-*: initial;
|
|
11
|
+
--breakpoint-sm: 40rem;
|
|
12
|
+
--breakpoint-md: 48rem;
|
|
13
|
+
--breakpoint-lg: 64rem;
|
|
14
|
+
--breakpoint-xl: 80rem;
|
|
15
|
+
--breakpoint-2xl: 96rem;
|
|
16
16
|
}
|