@0xsquid/ui 2.2.4 → 2.2.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +11746 -11638
- package/dist/cjs/types/components/badges/BadgeImage.d.ts +5 -11
- package/dist/cjs/types/components/badges/IconLabel.d.ts +4 -5
- package/dist/cjs/types/components/badges/Image.d.ts +15 -5
- package/dist/cjs/types/components/badges/LoadingSkeleton.d.ts +1 -1
- package/dist/cjs/types/components/badges/PriceChange.d.ts +5 -0
- package/dist/cjs/types/components/badges/index.d.ts +1 -0
- package/dist/cjs/types/components/cards/WalletCard.d.ts +14 -0
- package/dist/cjs/types/components/icons/Arrow.d.ts +4 -0
- package/dist/cjs/types/components/icons/Avatars.d.ts +2 -1
- package/dist/cjs/types/components/icons/Plus.d.ts +4 -1
- package/dist/cjs/types/components/icons/SquidLogo.d.ts +4 -0
- package/dist/cjs/types/components/layout/AppContainer.d.ts +8 -8
- package/dist/cjs/types/components/layout/Collapse.d.ts +3 -2
- package/dist/cjs/types/components/layout/DescriptionBlocks.d.ts +2 -2
- package/dist/cjs/types/components/layout/DetailsToolbar.d.ts +2 -2
- package/dist/cjs/types/components/layout/ImageStack.d.ts +9 -0
- package/dist/cjs/types/components/layout/TransactionFilters.d.ts +3 -3
- package/dist/cjs/types/components/layout/TransactionHeader/BridgeHeader.d.ts +1 -1
- package/dist/cjs/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +1 -1
- package/dist/cjs/types/components/layout/useOnClickOutside.d.ts +1 -1
- package/dist/cjs/types/components/lists/ListItem.d.ts +2 -1
- package/dist/cjs/types/components/lists/SwapStepItem.d.ts +1 -1
- package/dist/cjs/types/components/lists/TokenGroup.d.ts +20 -0
- package/dist/cjs/types/components/lists/TransactionAction/ActionLayout.d.ts +2 -2
- package/dist/cjs/types/components/lists/TransactionAction/ApproveAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/BridgeAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/SendTokensAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/StakeAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/SwapAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionAction/WrapAction.d.ts +1 -1
- package/dist/cjs/types/components/lists/TransactionItem.d.ts +4 -4
- package/dist/cjs/types/components/typography/CaptionText.d.ts +2 -1
- package/dist/cjs/types/components/views/TransactionView/TransactionViewLayout.d.ts +2 -2
- package/dist/cjs/types/core/constants.d.ts +2 -0
- package/dist/cjs/types/core/design-system.d.ts +3 -1
- package/dist/cjs/types/services/internal/colorService.d.ts +9 -0
- package/dist/cjs/types/stories/badges/BadgeImage.stories.d.ts +7 -10
- package/dist/cjs/types/stories/badges/IconLabel.stories.d.ts +1 -1
- package/dist/cjs/types/stories/badges/Image.stories.d.ts +16 -0
- package/dist/cjs/types/stories/badges/PriceChange.stories.d.ts +8 -0
- package/dist/cjs/types/stories/buttons/AddressButton.stories.d.ts +1 -1
- package/dist/cjs/types/stories/buttons/Button.stories.d.ts +1 -1
- package/dist/cjs/types/stories/buttons/FilterButton.stories.d.ts +1 -1
- package/dist/cjs/types/stories/cards/WalletCard.stories.d.ts +11 -0
- package/dist/cjs/types/stories/controls/Tooltip.stories.d.ts +1 -1
- package/dist/cjs/types/stories/layout/ImageStack.stories.d.ts +8 -0
- package/dist/cjs/types/stories/layout/Toast.stories.d.ts +1 -1
- package/dist/cjs/types/stories/layout/TransactionProperties.stories.d.ts +2 -2
- package/dist/cjs/types/stories/layout/TransactionSearch.stories.d.ts +1 -1
- package/dist/cjs/types/stories/lists/HistoryItem.stories.d.ts +2 -1
- package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +1 -1
- package/dist/cjs/types/stories/lists/PropertyListItem.stories.d.ts +1 -1
- package/dist/cjs/types/stories/lists/SwapStepItem.stories.d.ts +1 -1
- package/dist/cjs/types/stories/lists/TokenGroup.stories.d.ts +15 -0
- package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +1 -1
- package/dist/cjs/types/types/components.d.ts +7 -2
- package/dist/cjs/types/types/config.d.ts +1 -1
- package/dist/esm/index.js +11733 -11630
- package/dist/esm/types/components/badges/BadgeImage.d.ts +5 -11
- package/dist/esm/types/components/badges/IconLabel.d.ts +4 -5
- package/dist/esm/types/components/badges/Image.d.ts +15 -5
- package/dist/esm/types/components/badges/LoadingSkeleton.d.ts +1 -1
- package/dist/esm/types/components/badges/PriceChange.d.ts +5 -0
- package/dist/esm/types/components/badges/index.d.ts +1 -0
- package/dist/esm/types/components/cards/WalletCard.d.ts +14 -0
- package/dist/esm/types/components/icons/Arrow.d.ts +4 -0
- package/dist/esm/types/components/icons/Avatars.d.ts +2 -1
- package/dist/esm/types/components/icons/Plus.d.ts +4 -1
- package/dist/esm/types/components/icons/SquidLogo.d.ts +4 -0
- package/dist/esm/types/components/layout/AppContainer.d.ts +8 -8
- package/dist/esm/types/components/layout/Collapse.d.ts +3 -2
- package/dist/esm/types/components/layout/DescriptionBlocks.d.ts +2 -2
- package/dist/esm/types/components/layout/DetailsToolbar.d.ts +2 -2
- package/dist/esm/types/components/layout/ImageStack.d.ts +9 -0
- package/dist/esm/types/components/layout/TransactionFilters.d.ts +3 -3
- package/dist/esm/types/components/layout/TransactionHeader/BridgeHeader.d.ts +1 -1
- package/dist/esm/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +1 -1
- package/dist/esm/types/components/layout/useOnClickOutside.d.ts +1 -1
- package/dist/esm/types/components/lists/ListItem.d.ts +2 -1
- package/dist/esm/types/components/lists/SwapStepItem.d.ts +1 -1
- package/dist/esm/types/components/lists/TokenGroup.d.ts +20 -0
- package/dist/esm/types/components/lists/TransactionAction/ActionLayout.d.ts +2 -2
- package/dist/esm/types/components/lists/TransactionAction/ApproveAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/BridgeAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/SendTokensAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/StakeAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/SwapAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionAction/WrapAction.d.ts +1 -1
- package/dist/esm/types/components/lists/TransactionItem.d.ts +4 -4
- package/dist/esm/types/components/typography/CaptionText.d.ts +2 -1
- package/dist/esm/types/components/views/TransactionView/TransactionViewLayout.d.ts +2 -2
- package/dist/esm/types/core/constants.d.ts +2 -0
- package/dist/esm/types/core/design-system.d.ts +3 -1
- package/dist/esm/types/services/internal/colorService.d.ts +9 -0
- package/dist/esm/types/stories/badges/BadgeImage.stories.d.ts +7 -10
- package/dist/esm/types/stories/badges/IconLabel.stories.d.ts +1 -1
- package/dist/esm/types/stories/badges/Image.stories.d.ts +16 -0
- package/dist/esm/types/stories/badges/PriceChange.stories.d.ts +8 -0
- package/dist/esm/types/stories/buttons/AddressButton.stories.d.ts +1 -1
- package/dist/esm/types/stories/buttons/Button.stories.d.ts +1 -1
- package/dist/esm/types/stories/buttons/FilterButton.stories.d.ts +1 -1
- package/dist/esm/types/stories/cards/WalletCard.stories.d.ts +11 -0
- package/dist/esm/types/stories/controls/Tooltip.stories.d.ts +1 -1
- package/dist/esm/types/stories/layout/ImageStack.stories.d.ts +8 -0
- package/dist/esm/types/stories/layout/Toast.stories.d.ts +1 -1
- package/dist/esm/types/stories/layout/TransactionProperties.stories.d.ts +2 -2
- package/dist/esm/types/stories/layout/TransactionSearch.stories.d.ts +1 -1
- package/dist/esm/types/stories/lists/HistoryItem.stories.d.ts +2 -1
- package/dist/esm/types/stories/lists/ListItem.stories.d.ts +1 -1
- package/dist/esm/types/stories/lists/PropertyListItem.stories.d.ts +1 -1
- package/dist/esm/types/stories/lists/SwapStepItem.stories.d.ts +1 -1
- package/dist/esm/types/stories/lists/TokenGroup.stories.d.ts +15 -0
- package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +1 -1
- package/dist/esm/types/types/components.d.ts +7 -2
- package/dist/esm/types/types/config.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +79 -46
- package/package.json +2 -2
- package/dist/cjs/types/stories/badges/ImageIcon.stories.d.ts +0 -7
- package/dist/esm/types/stories/badges/ImageIcon.stories.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -8,21 +8,6 @@ import { motion } from 'framer-motion';
|
|
|
8
8
|
import { Config } from 'tailwindcss';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
|
|
11
|
-
interface BadgeImageProps {
|
|
12
|
-
imageUrl?: string;
|
|
13
|
-
badgeUrl?: string;
|
|
14
|
-
size?: BadgeSize;
|
|
15
|
-
extraMarginForBadge?: boolean;
|
|
16
|
-
rounded?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The URL of the placeholder image. Will be displayed while the images are loading
|
|
19
|
-
* or if there's an error loading them.
|
|
20
|
-
*/
|
|
21
|
-
placeholderImageUrl?: string;
|
|
22
|
-
}
|
|
23
|
-
type BadgeSize = "sm" | "md" | "lg";
|
|
24
|
-
declare function BadgeImage({ imageUrl: _imageUrl, badgeUrl, size, extraMarginForBadge, rounded, placeholderImageUrl, }: BadgeImageProps): react_jsx_runtime.JSX.Element | null;
|
|
25
|
-
|
|
26
11
|
type TextSize = "small" | "medium" | "large";
|
|
27
12
|
type SwitchSize = "small" | "large";
|
|
28
13
|
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
@@ -58,28 +43,50 @@ type ActionStatus = "pending" | "waiting" | "ongoing" | "executed" | "success" |
|
|
|
58
43
|
type TransactionStateVariant = "full" | "compact" | "small";
|
|
59
44
|
type TokenPairVariant = "horizontal" | "vertical";
|
|
60
45
|
type TokenPairSize = "small" | "medium";
|
|
61
|
-
type
|
|
62
|
-
type
|
|
46
|
+
type ImageSize = "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
47
|
+
type ImageRoundedSize = "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "full" | "none";
|
|
48
|
+
type ImageBorder = "none" | "gradient" | "inset" | "outline-sm" | "outline-lg";
|
|
63
49
|
type ChainTypeFilter = "source" | "destination";
|
|
64
50
|
type StatusFilter = "success" | "ongoing" | "error";
|
|
65
51
|
type AssetsButtonVariant = "primary" | "accent";
|
|
66
52
|
type PropertyListItemSize = "small" | "large";
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
src?: string;
|
|
71
|
-
children?: ReactNode;
|
|
72
|
-
variant?: ImageVariant;
|
|
53
|
+
interface PriceChange$1 {
|
|
54
|
+
value: string;
|
|
55
|
+
sign: "positive" | "negative" | "neutral";
|
|
73
56
|
}
|
|
74
|
-
declare function IconLabel({ src, children, variant }: IconLabelProps): react_jsx_runtime.JSX.Element;
|
|
75
57
|
|
|
76
|
-
|
|
58
|
+
declare enum ImageState {
|
|
59
|
+
LOADING = 0,
|
|
60
|
+
LOADED = 1,
|
|
61
|
+
ERROR = 2
|
|
62
|
+
}
|
|
63
|
+
interface ImageProps extends React.ComponentProps<"img"> {
|
|
77
64
|
src?: string;
|
|
78
|
-
|
|
65
|
+
children?: React.ReactNode;
|
|
79
66
|
size?: ImageSize;
|
|
80
67
|
className?: string;
|
|
68
|
+
placeholderImageUrl?: string;
|
|
69
|
+
border?: ImageBorder;
|
|
70
|
+
rounded?: ImageRoundedSize;
|
|
71
|
+
shadow?: boolean;
|
|
72
|
+
containerProps?: React.ComponentProps<"div">;
|
|
73
|
+
}
|
|
74
|
+
declare function Image({ src, size, className: propsClassName, placeholderImageUrl, border, rounded, shadow, children, containerProps, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
interface BadgeImageProps {
|
|
77
|
+
badge?: ImageProps;
|
|
78
|
+
image?: ImageProps;
|
|
79
|
+
extraMarginForBadge?: boolean;
|
|
80
|
+
className?: string;
|
|
81
|
+
}
|
|
82
|
+
declare function BadgeImage({ image, badge, extraMarginForBadge, className, }: BadgeImageProps): false | react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
84
|
+
interface IconLabelProps {
|
|
85
|
+
src?: string;
|
|
86
|
+
children?: ReactNode;
|
|
87
|
+
rounded?: ImageRoundedSize;
|
|
81
88
|
}
|
|
82
|
-
declare function
|
|
89
|
+
declare function IconLabel({ src, children, rounded }: IconLabelProps): react_jsx_runtime.JSX.Element;
|
|
83
90
|
|
|
84
91
|
declare const LoadingProvider: react.Provider<boolean | null>;
|
|
85
92
|
interface LoadingSkeletonProps {
|
|
@@ -100,6 +107,10 @@ interface LoadingBlockProps extends ComponentProps<"div"> {
|
|
|
100
107
|
}
|
|
101
108
|
declare function BlockSkeleton({ isLoading, className, children, ...props }: LoadingBlockProps): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
102
109
|
|
|
110
|
+
interface PriceChangeProps extends PriceChange$1 {
|
|
111
|
+
}
|
|
112
|
+
declare function PriceChange({ sign, value }: PriceChangeProps): react_jsx_runtime.JSX.Element;
|
|
113
|
+
|
|
103
114
|
declare const statusTextClassMap: Record<ActionStatus, string>;
|
|
104
115
|
interface TransactionStateProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
105
116
|
status: ActionStatus;
|
|
@@ -318,6 +329,10 @@ declare function ChevronArrowIcon({ size, className, }: {
|
|
|
318
329
|
declare function ArrowTriangle({ className }: {
|
|
319
330
|
className?: string;
|
|
320
331
|
}): react_jsx_runtime.JSX.Element;
|
|
332
|
+
declare function PauseIcon({ size, className, }: {
|
|
333
|
+
size?: string;
|
|
334
|
+
className?: string;
|
|
335
|
+
}): react_jsx_runtime.JSX.Element;
|
|
321
336
|
declare function ChevronTopSmallIcon(): react_jsx_runtime.JSX.Element;
|
|
322
337
|
declare function ChevronLargeDownIcon({ size, className, }: {
|
|
323
338
|
size?: string;
|
|
@@ -389,7 +404,8 @@ declare function ArrowSplit({ size, className, }: {
|
|
|
389
404
|
|
|
390
405
|
declare function ArrowRotate(): react_jsx_runtime.JSX.Element;
|
|
391
406
|
|
|
392
|
-
declare function PunkIcon({ size }: {
|
|
407
|
+
declare function PunkIcon({ className, size, }: {
|
|
408
|
+
className?: string;
|
|
393
409
|
size?: string;
|
|
394
410
|
}): react_jsx_runtime.JSX.Element;
|
|
395
411
|
|
|
@@ -723,7 +739,10 @@ declare function PathSquareIcon({ size, className, }: {
|
|
|
723
739
|
|
|
724
740
|
declare function PieChartIcon(): react_jsx_runtime.JSX.Element;
|
|
725
741
|
|
|
726
|
-
declare function PlusIcon(
|
|
742
|
+
declare function PlusIcon({ className, size, }: {
|
|
743
|
+
className?: string;
|
|
744
|
+
size?: string;
|
|
745
|
+
}): react_jsx_runtime.JSX.Element;
|
|
727
746
|
|
|
728
747
|
declare function RefreshIcon(): react_jsx_runtime.JSX.Element;
|
|
729
748
|
|
|
@@ -762,6 +781,10 @@ declare function SquidLogo({ size, className, }: {
|
|
|
762
781
|
size?: string;
|
|
763
782
|
className?: string;
|
|
764
783
|
}): react_jsx_runtime.JSX.Element;
|
|
784
|
+
declare function SquidVector({ size, className, }: {
|
|
785
|
+
size?: string;
|
|
786
|
+
className?: string;
|
|
787
|
+
}): react_jsx_runtime.JSX.Element;
|
|
765
788
|
|
|
766
789
|
declare function SwapInputsIcon(): react_jsx_runtime.JSX.Element;
|
|
767
790
|
declare function SwapIcon({ size, className, }: {
|
|
@@ -844,9 +867,9 @@ interface AppContainerProps extends ComponentProps<typeof motion.div> {
|
|
|
844
867
|
declare function AppContainer({ children, className, layoutKey, ...props }: AppContainerProps): react_jsx_runtime.JSX.Element;
|
|
845
868
|
declare namespace AppContainer {
|
|
846
869
|
var Nav: ({ className, children, ...props }: {
|
|
870
|
+
color?: string | undefined;
|
|
847
871
|
slot?: string | undefined;
|
|
848
872
|
title?: string | undefined;
|
|
849
|
-
color?: string | undefined;
|
|
850
873
|
hidden?: boolean | undefined;
|
|
851
874
|
suppressHydrationWarning?: boolean | undefined;
|
|
852
875
|
className?: string | undefined;
|
|
@@ -856,7 +879,7 @@ declare namespace AppContainer {
|
|
|
856
879
|
tabIndex?: number | undefined;
|
|
857
880
|
"aria-activedescendant"?: string | undefined;
|
|
858
881
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
859
|
-
"aria-autocomplete"?: "
|
|
882
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
860
883
|
"aria-braillelabel"?: string | undefined;
|
|
861
884
|
"aria-brailleroledescription"?: string | undefined;
|
|
862
885
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -871,7 +894,7 @@ declare namespace AppContainer {
|
|
|
871
894
|
"aria-description"?: string | undefined;
|
|
872
895
|
"aria-details"?: string | undefined;
|
|
873
896
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
874
|
-
"aria-dropeffect"?: "
|
|
897
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
875
898
|
"aria-errormessage"?: string | undefined;
|
|
876
899
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
877
900
|
"aria-flowto"?: string | undefined;
|
|
@@ -942,7 +965,7 @@ declare namespace AppContainer {
|
|
|
942
965
|
results?: number | undefined;
|
|
943
966
|
security?: string | undefined;
|
|
944
967
|
unselectable?: "off" | "on" | undefined;
|
|
945
|
-
inputMode?: "
|
|
968
|
+
inputMode?: "none" | "search" | "text" | "numeric" | "email" | "tel" | "url" | "decimal" | undefined;
|
|
946
969
|
is?: string | undefined;
|
|
947
970
|
dangerouslySetInnerHTML?: {
|
|
948
971
|
__html: string | TrustedHTML;
|
|
@@ -1105,9 +1128,9 @@ declare namespace AppContainer {
|
|
|
1105
1128
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1106
1129
|
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1107
1130
|
var Content: (props: {
|
|
1131
|
+
color?: string | undefined;
|
|
1108
1132
|
slot?: string | undefined;
|
|
1109
1133
|
title?: string | undefined;
|
|
1110
|
-
color?: string | undefined;
|
|
1111
1134
|
hidden?: boolean | undefined;
|
|
1112
1135
|
suppressHydrationWarning?: boolean | undefined;
|
|
1113
1136
|
className?: string | undefined;
|
|
@@ -1117,7 +1140,7 @@ declare namespace AppContainer {
|
|
|
1117
1140
|
tabIndex?: number | undefined;
|
|
1118
1141
|
"aria-activedescendant"?: string | undefined;
|
|
1119
1142
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1120
|
-
"aria-autocomplete"?: "
|
|
1143
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
1121
1144
|
"aria-braillelabel"?: string | undefined;
|
|
1122
1145
|
"aria-brailleroledescription"?: string | undefined;
|
|
1123
1146
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -1132,7 +1155,7 @@ declare namespace AppContainer {
|
|
|
1132
1155
|
"aria-description"?: string | undefined;
|
|
1133
1156
|
"aria-details"?: string | undefined;
|
|
1134
1157
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1135
|
-
"aria-dropeffect"?: "
|
|
1158
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
1136
1159
|
"aria-errormessage"?: string | undefined;
|
|
1137
1160
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1138
1161
|
"aria-flowto"?: string | undefined;
|
|
@@ -1203,7 +1226,7 @@ declare namespace AppContainer {
|
|
|
1203
1226
|
results?: number | undefined;
|
|
1204
1227
|
security?: string | undefined;
|
|
1205
1228
|
unselectable?: "off" | "on" | undefined;
|
|
1206
|
-
inputMode?: "
|
|
1229
|
+
inputMode?: "none" | "search" | "text" | "numeric" | "email" | "tel" | "url" | "decimal" | undefined;
|
|
1207
1230
|
is?: string | undefined;
|
|
1208
1231
|
dangerouslySetInnerHTML?: {
|
|
1209
1232
|
__html: string | TrustedHTML;
|
|
@@ -1387,8 +1410,9 @@ interface CollapseProps extends ComponentProps<"div"> {
|
|
|
1387
1410
|
collapsed: boolean;
|
|
1388
1411
|
collapsedHeight?: number;
|
|
1389
1412
|
duration?: number;
|
|
1413
|
+
contentsClassName?: string;
|
|
1390
1414
|
}
|
|
1391
|
-
declare function Collapse({ collapsed, collapsedHeight, children, className, duration, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
|
|
1415
|
+
declare function Collapse({ collapsed, collapsedHeight, children, className, duration, contentsClassName, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
|
|
1392
1416
|
interface SizeTransitionProps extends ComponentProps<"div"> {
|
|
1393
1417
|
}
|
|
1394
1418
|
declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1699,10 +1723,10 @@ interface TransactionFiltersProps {
|
|
|
1699
1723
|
setToDate: (toDate?: Date) => void;
|
|
1700
1724
|
status?: StatusFilter[];
|
|
1701
1725
|
setStatus: (status?: StatusFilter[]) => void;
|
|
1702
|
-
chains: {
|
|
1726
|
+
chains: Array<{
|
|
1703
1727
|
name: string;
|
|
1704
1728
|
logoURI: string;
|
|
1705
|
-
}
|
|
1729
|
+
}>;
|
|
1706
1730
|
}
|
|
1707
1731
|
declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
|
|
1708
1732
|
|
|
@@ -1936,7 +1960,7 @@ type DeepPartial<T> = {
|
|
|
1936
1960
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
1937
1961
|
};
|
|
1938
1962
|
|
|
1939
|
-
declare const THEME_COLOR_KEYS: readonly ["grey-100", "grey-200", "grey-300", "grey-400", "grey-500", "grey-600", "grey-700", "grey-800", "grey-900", "royal-300", "royal-400", "royal-500", "royal-700", "highlight-700", "status-positive", "status-negative", "status-partial", "button-lg-primary-bg", "button-lg-primary-text", "button-lg-secondary-bg", "button-lg-secondary-text", "button-lg-tertiary-bg", "button-lg-tertiary-text", "button-md-primary-bg", "button-md-primary-text", "button-md-secondary-bg", "button-md-secondary-text", "button-md-tertiary-bg", "button-md-tertiary-text", "input-placeholder", "input-text", "input-selection", "input-bg", "animation-bg", "animation-text", "modal-backdrop", "menu-bg", "menu-text", "menu-backdrop", "material-light-thin", "material-light-average", "material-light-thick", "material-dark-thin", "material-dark-average", "material-dark-thick", "grey-100-005", "material-light-blend-grey-900", "material-light-blend-grey-800"];
|
|
1963
|
+
declare const THEME_COLOR_KEYS: readonly ["grey-100", "grey-200", "grey-300", "grey-400", "grey-500", "grey-600", "grey-700", "grey-800", "grey-900", "royal-300", "royal-400", "royal-500", "royal-600", "royal-700", "highlight-700", "status-positive", "status-negative", "status-partial", "button-lg-primary-bg", "button-lg-primary-text", "button-lg-secondary-bg", "button-lg-secondary-text", "button-lg-tertiary-bg", "button-lg-tertiary-text", "button-md-primary-bg", "button-md-primary-text", "button-md-secondary-bg", "button-md-secondary-text", "button-md-tertiary-bg", "button-md-tertiary-text", "input-placeholder", "input-text", "input-selection", "input-bg", "animation-bg", "animation-text", "modal-backdrop", "menu-bg", "menu-text", "menu-backdrop", "material-light-thin", "material-light-average", "material-light-thick", "material-dark-thin", "material-dark-average", "material-dark-thick", "grey-100-005", "material-light-blend-grey-900", "material-light-blend-grey-800"];
|
|
1940
1964
|
declare const THEME_BORDER_RADIUS_KEYS: readonly ["button-lg-primary", "button-lg-secondary", "button-lg-tertiary", "button-md-primary", "button-md-secondary", "button-md-tertiary", "container", "input", "menu-sm", "menu-lg", "modal"];
|
|
1941
1965
|
declare const THEME_FONT_SIZE_KEYS: readonly ["caption", "body-large", "body-medium", "body-small", "heading-small", "heading-medium", "heading-large"];
|
|
1942
1966
|
declare const THEME_FONT_WEIGHT_KEYS: readonly ["caption", "body-small", "body-medium", "body-large", "heading-small", "heading-medium", "heading-large"];
|
|
@@ -2038,7 +2062,7 @@ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
2038
2062
|
className?: string;
|
|
2039
2063
|
onDetailClick?: () => void;
|
|
2040
2064
|
showDetailOnHoverOnly?: boolean;
|
|
2041
|
-
rounded?:
|
|
2065
|
+
rounded?: ImageRoundedSize;
|
|
2042
2066
|
detailButtonClassName?: string;
|
|
2043
2067
|
loading?: {
|
|
2044
2068
|
subtitle?: boolean | string;
|
|
@@ -2418,10 +2442,10 @@ declare function TransactionAction({ type, props }: TransactionActionProps): rea
|
|
|
2418
2442
|
declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
|
|
2419
2443
|
|
|
2420
2444
|
type TransactionItemVariant = "compact" | "full";
|
|
2421
|
-
|
|
2445
|
+
interface TransactionItemType {
|
|
2422
2446
|
icon?: ReactNode;
|
|
2423
2447
|
name: string;
|
|
2424
|
-
}
|
|
2448
|
+
}
|
|
2425
2449
|
interface TransactionItemProps {
|
|
2426
2450
|
className?: string;
|
|
2427
2451
|
isLoading?: boolean;
|
|
@@ -2471,12 +2495,13 @@ declare function BodyText({ size, children, bold, tight, loading, ...props }: Bo
|
|
|
2471
2495
|
interface CaptionProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2472
2496
|
children: ReactNode;
|
|
2473
2497
|
bold?: boolean;
|
|
2498
|
+
tight?: boolean;
|
|
2474
2499
|
loading?: {
|
|
2475
2500
|
isLoading?: boolean;
|
|
2476
2501
|
width?: string;
|
|
2477
2502
|
};
|
|
2478
2503
|
}
|
|
2479
|
-
declare function CaptionText({ children, bold, loading, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
|
|
2504
|
+
declare function CaptionText({ children, bold, loading, tight, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
|
|
2480
2505
|
|
|
2481
2506
|
interface HeadingTextProps {
|
|
2482
2507
|
children?: ReactNode;
|
|
@@ -2829,6 +2854,12 @@ declare const baseTailwindConfig: Config;
|
|
|
2829
2854
|
*/
|
|
2830
2855
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
2831
2856
|
|
|
2857
|
+
interface RGB {
|
|
2858
|
+
r: number;
|
|
2859
|
+
g: number;
|
|
2860
|
+
b: number;
|
|
2861
|
+
a: number;
|
|
2862
|
+
}
|
|
2832
2863
|
/**
|
|
2833
2864
|
* Parses the user readable config to css variables
|
|
2834
2865
|
* and adds the material-* variants
|
|
@@ -2861,7 +2892,9 @@ declare function hexToRgb(hex: string): {
|
|
|
2861
2892
|
declare function rgbToHex(r: number, g: number, b: number): string;
|
|
2862
2893
|
declare function blendColors(foreground: string, background: string, factor?: number): string | null;
|
|
2863
2894
|
declare const isValidHexColor: (hex: string) => boolean;
|
|
2895
|
+
declare function parseColor(color: string): RGB | null;
|
|
2864
2896
|
declare const getColorBrightness: (color: string) => number;
|
|
2897
|
+
declare const getWalletCardBackground: (colors: string[]) => string | undefined;
|
|
2865
2898
|
|
|
2866
2899
|
declare const transactionPendingAnimation: {
|
|
2867
2900
|
v: string;
|
|
@@ -16834,4 +16867,4 @@ declare const transactionRejectedAnimation: {
|
|
|
16834
16867
|
markers: never[];
|
|
16835
16868
|
};
|
|
16836
16869
|
|
|
16837
|
-
export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CopyIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, type DescriptionBlock, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, Image, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type PublicTheme, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapDetailsView, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, TagIcon, TagIconFilled, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, TokenDetailsView, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WalletsView, WrapAction, XSocial, baseTailwindConfig, blendColors, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useUserTheme, useVersion };
|
|
16870
|
+
export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CopyIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, type DescriptionBlock, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, Image, ImageIcon, type ImageProps, ImageSparkle, ImageState, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, PriceChange, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type PublicTheme, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, SquidVector, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapDetailsView, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, TagIcon, TagIconFilled, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, TokenDetailsView, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WalletsView, WrapAction, XSocial, baseTailwindConfig, blendColors, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, getWalletCardBackground, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useUserTheme, useVersion };
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git+https://github.com/0xsquid/squid-ui.git"
|
|
6
6
|
},
|
|
7
7
|
"description": "Squid's UI components",
|
|
8
|
-
"version": "2.2.
|
|
8
|
+
"version": "2.2.5-beta.0",
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"resolutions": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"homepage": "https://github.com/0xsquid/squid-ui#readme",
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@chromatic-com/storybook": "^1.2.22",
|
|
56
|
-
"@release-it/conventional-changelog": "
|
|
56
|
+
"@release-it/conventional-changelog": "8.0.2-next.0",
|
|
57
57
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
58
58
|
"@rollup/plugin-json": "6.1.0",
|
|
59
59
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Image } from "../../components/badges/Image";
|
|
3
|
-
declare const meta: Meta<typeof Image>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Square: Story;
|
|
7
|
-
export declare const Round: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Image } from "../../components/badges/Image";
|
|
3
|
-
declare const meta: Meta<typeof Image>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Square: Story;
|
|
7
|
-
export declare const Round: Story;
|