@0xsquid/ui 0.2.0 → 0.4.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/README.md +20 -0
- package/dist/cjs/index.js +375 -310
- package/dist/cjs/types/components/buttons/AssetsButton.d.ts +10 -0
- package/dist/cjs/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/cjs/types/components/buttons/SettingsButton.d.ts +4 -0
- package/dist/cjs/types/components/buttons/index.d.ts +2 -1
- package/dist/cjs/types/components/controls/SettingsSlider.d.ts +5 -0
- package/dist/cjs/types/components/controls/Switch.d.ts +2 -2
- package/dist/cjs/types/components/controls/Tooltip.d.ts +4 -2
- package/dist/cjs/types/components/controls/index.d.ts +1 -0
- package/dist/cjs/types/components/icons/Arrow.d.ts +20 -0
- package/dist/cjs/types/components/icons/Clock.d.ts +8 -0
- package/dist/cjs/types/components/icons/Coins.d.ts +4 -0
- package/dist/cjs/types/components/icons/CompassRound.d.ts +8 -0
- package/dist/cjs/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/cjs/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/cjs/types/components/icons/Help.d.ts +16 -0
- package/dist/cjs/types/components/icons/Infinity.d.ts +4 -0
- package/dist/cjs/types/components/icons/Lightning.d.ts +4 -0
- package/dist/cjs/types/components/icons/SquidLogo.d.ts +1 -0
- package/dist/cjs/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/cjs/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/cjs/types/components/layout/Boost.d.ts +9 -1
- package/dist/cjs/types/components/layout/DropdownMenu.d.ts +9 -0
- package/dist/cjs/types/components/layout/Menu.d.ts +6 -2
- package/dist/cjs/types/components/layout/NavigationBar.d.ts +3 -1
- package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +3 -0
- package/dist/cjs/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/cjs/types/components/layout/SwapStepsCollapsed.d.ts +5 -0
- package/dist/cjs/types/components/layout/TokenPair.d.ts +12 -0
- package/dist/cjs/types/components/layout/index.d.ts +3 -0
- package/dist/cjs/types/components/lists/DropdownMenuItem.d.ts +3 -3
- package/dist/cjs/types/components/lists/SettingsItem.d.ts +9 -0
- package/dist/cjs/types/components/lists/SwapDetailListItem.d.ts +8 -0
- package/dist/cjs/types/components/lists/SwapStepItem.d.ts +9 -0
- package/dist/cjs/types/components/lists/index.d.ts +3 -0
- package/dist/cjs/types/components/views/ProfileView.d.ts +1 -0
- package/dist/cjs/types/components/views/SwapDetailsView.d.ts +1 -0
- package/dist/cjs/types/core/themes.d.ts +2 -0
- package/dist/cjs/types/hooks/index.d.ts +1 -0
- package/dist/cjs/types/hooks/useModal.d.ts +10 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/providers/SquidConfigProvider.d.ts +4 -2
- package/dist/cjs/types/stories/buttons/{Dropdown.stories.d.ts → AssetsButton.stories.d.ts} +3 -2
- package/dist/cjs/types/stories/buttons/SettingsButton.stories.d.ts +6 -0
- package/dist/cjs/types/stories/controls/SettingsSlider.stories.d.ts +7 -0
- package/dist/cjs/types/stories/layout/Boost.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/DropdownMenu.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/Menu.stories.d.ts +2 -0
- package/dist/cjs/types/stories/layout/NavigationBar.stories.d.ts +1 -0
- package/dist/cjs/types/stories/layout/SwapProgressView.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/TokenPair.stories.d.ts +6 -0
- package/dist/cjs/types/stories/lists/SettingsItem.stories.d.ts +9 -0
- package/dist/cjs/types/stories/lists/SwapDetailListItem.stories.d.ts +7 -0
- package/dist/cjs/types/stories/lists/SwapStepItem.stories.d.ts +10 -0
- package/dist/cjs/types/stories/views/ProfileView.stories.d.ts +6 -0
- package/dist/cjs/types/stories/views/SwapDetailsView.stories.d.ts +6 -0
- package/dist/cjs/types/types/components.d.ts +11 -0
- package/dist/cjs/types/types/config.d.ts +1 -0
- package/dist/esm/index.js +367 -311
- package/dist/esm/types/components/buttons/AssetsButton.d.ts +10 -0
- package/dist/esm/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/esm/types/components/buttons/SettingsButton.d.ts +4 -0
- package/dist/esm/types/components/buttons/index.d.ts +2 -1
- package/dist/esm/types/components/controls/SettingsSlider.d.ts +5 -0
- package/dist/esm/types/components/controls/Switch.d.ts +2 -2
- package/dist/esm/types/components/controls/Tooltip.d.ts +4 -2
- package/dist/esm/types/components/controls/index.d.ts +1 -0
- package/dist/esm/types/components/icons/Arrow.d.ts +20 -0
- package/dist/esm/types/components/icons/Clock.d.ts +8 -0
- package/dist/esm/types/components/icons/Coins.d.ts +4 -0
- package/dist/esm/types/components/icons/CompassRound.d.ts +8 -0
- package/dist/esm/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/esm/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/esm/types/components/icons/Help.d.ts +16 -0
- package/dist/esm/types/components/icons/Infinity.d.ts +4 -0
- package/dist/esm/types/components/icons/Lightning.d.ts +4 -0
- package/dist/esm/types/components/icons/SquidLogo.d.ts +1 -0
- package/dist/esm/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/esm/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/esm/types/components/layout/Boost.d.ts +9 -1
- package/dist/esm/types/components/layout/DropdownMenu.d.ts +9 -0
- package/dist/esm/types/components/layout/Menu.d.ts +6 -2
- package/dist/esm/types/components/layout/NavigationBar.d.ts +3 -1
- package/dist/esm/types/components/layout/SwapConfiguration.d.ts +3 -0
- package/dist/esm/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/esm/types/components/layout/SwapStepsCollapsed.d.ts +5 -0
- package/dist/esm/types/components/layout/TokenPair.d.ts +12 -0
- package/dist/esm/types/components/layout/index.d.ts +3 -0
- package/dist/esm/types/components/lists/DropdownMenuItem.d.ts +3 -3
- package/dist/esm/types/components/lists/SettingsItem.d.ts +9 -0
- package/dist/esm/types/components/lists/SwapDetailListItem.d.ts +8 -0
- package/dist/esm/types/components/lists/SwapStepItem.d.ts +9 -0
- package/dist/esm/types/components/lists/index.d.ts +3 -0
- package/dist/esm/types/components/views/ProfileView.d.ts +1 -0
- package/dist/esm/types/components/views/SwapDetailsView.d.ts +1 -0
- package/dist/esm/types/core/themes.d.ts +2 -0
- package/dist/esm/types/hooks/index.d.ts +1 -0
- package/dist/esm/types/hooks/useModal.d.ts +10 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/providers/SquidConfigProvider.d.ts +4 -2
- package/dist/esm/types/stories/buttons/{Dropdown.stories.d.ts → AssetsButton.stories.d.ts} +3 -2
- package/dist/esm/types/stories/buttons/SettingsButton.stories.d.ts +6 -0
- package/dist/esm/types/stories/controls/SettingsSlider.stories.d.ts +7 -0
- package/dist/esm/types/stories/layout/Boost.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/DropdownMenu.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/Menu.stories.d.ts +2 -0
- package/dist/esm/types/stories/layout/NavigationBar.stories.d.ts +1 -0
- package/dist/esm/types/stories/layout/SwapProgressView.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/TokenPair.stories.d.ts +6 -0
- package/dist/esm/types/stories/lists/SettingsItem.stories.d.ts +9 -0
- package/dist/esm/types/stories/lists/SwapDetailListItem.stories.d.ts +7 -0
- package/dist/esm/types/stories/lists/SwapStepItem.stories.d.ts +10 -0
- package/dist/esm/types/stories/views/ProfileView.stories.d.ts +6 -0
- package/dist/esm/types/stories/views/SwapDetailsView.stories.d.ts +6 -0
- package/dist/esm/types/types/components.d.ts +11 -0
- package/dist/esm/types/types/config.d.ts +1 -0
- package/dist/index.css +338 -55
- package/dist/index.d.ts +119 -20
- package/package.json +3 -3
- package/dist/cjs/types/components/buttons/Dropdown.d.ts +0 -7
- package/dist/esm/types/components/buttons/Dropdown.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -31,21 +31,41 @@ interface ArrowButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
31
31
|
}
|
|
32
32
|
declare function ArrowButton({ label, disabled, ...props }: ArrowButtonProps): react_jsx_runtime.JSX.Element;
|
|
33
33
|
|
|
34
|
+
interface AssetsButtonProps {
|
|
35
|
+
tokenImageUrl?: string;
|
|
36
|
+
chainImageUrl?: string;
|
|
37
|
+
tokenSymbol?: string;
|
|
38
|
+
chainBgColor?: string;
|
|
39
|
+
tokenBgColor?: string;
|
|
40
|
+
tokenTextColor?: string;
|
|
41
|
+
}
|
|
42
|
+
declare function AssetsButton({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor, tokenBgColor, tokenTextColor, }: AssetsButtonProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
34
44
|
type TextSize = 'small' | 'medium' | 'large';
|
|
35
45
|
type SwitchSize = 'small' | 'large';
|
|
36
46
|
type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
|
|
37
47
|
type ButtonSize = 'md' | 'lg';
|
|
38
48
|
type SwapDirection = 'from' | 'to';
|
|
39
49
|
type BoostMode = 'normal' | 'boost';
|
|
50
|
+
type SwapStepDescriptionBlock = {
|
|
51
|
+
type: 'string' | 'image';
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
type SwapStep = {
|
|
55
|
+
descriptionBlocks: SwapStepDescriptionBlock[];
|
|
56
|
+
chipContent: React.ReactNode;
|
|
57
|
+
routeStepOrder: number;
|
|
58
|
+
};
|
|
40
59
|
declare enum DetailsToolbarState {
|
|
41
60
|
FULL = 0,
|
|
42
61
|
LOADING = 1,
|
|
43
62
|
EMPTY = 2,
|
|
44
63
|
ERROR = 3
|
|
45
64
|
}
|
|
65
|
+
type ThemeType = 'light' | 'dark';
|
|
46
66
|
|
|
47
67
|
interface BoostButtonProps {
|
|
48
|
-
boostMode
|
|
68
|
+
boostMode: BoostMode;
|
|
49
69
|
onToggleBoostMode?: ({ boostMode }: {
|
|
50
70
|
boostMode: BoostMode;
|
|
51
71
|
}) => void;
|
|
@@ -67,15 +87,13 @@ interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
67
87
|
}
|
|
68
88
|
declare function Chip({ label, icon, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
69
89
|
|
|
70
|
-
interface DropdownProps {
|
|
71
|
-
tokenImageUrl?: string;
|
|
72
|
-
chainImageUrl?: string;
|
|
73
|
-
tokenSymbol?: string;
|
|
74
|
-
}
|
|
75
|
-
declare function Dropdown({ chainImageUrl, tokenImageUrl, tokenSymbol, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
90
|
declare function FeeButton(): react_jsx_runtime.JSX.Element;
|
|
78
91
|
|
|
92
|
+
interface SettingsButtonProps {
|
|
93
|
+
label: string;
|
|
94
|
+
}
|
|
95
|
+
declare function SettingsButton({ label }: SettingsButtonProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
79
97
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
80
98
|
placeholder?: string;
|
|
81
99
|
showIcon?: boolean;
|
|
@@ -84,9 +102,15 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
|
84
102
|
}
|
|
85
103
|
declare function Input({ placeholder, showIcon, showPasteButton, className, icon, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
86
104
|
|
|
105
|
+
interface SettingsSliderProps {
|
|
106
|
+
value: number;
|
|
107
|
+
type: 'percentage' | 'amount';
|
|
108
|
+
}
|
|
109
|
+
declare function SettingsSlider({ value, type }: SettingsSliderProps): react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
87
111
|
interface SwitchProps {
|
|
88
|
-
checked
|
|
89
|
-
onChange
|
|
112
|
+
checked?: boolean;
|
|
113
|
+
onChange?: (checked: boolean) => void;
|
|
90
114
|
size: SwitchSize;
|
|
91
115
|
}
|
|
92
116
|
declare function Switch({ checked, onChange, size }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
@@ -98,11 +122,19 @@ interface TooltipProps {
|
|
|
98
122
|
tooltipContent: React$1.ReactNode;
|
|
99
123
|
threshold?: TooltipThreshold;
|
|
100
124
|
tooltipWidth?: TooltipWidth;
|
|
101
|
-
|
|
125
|
+
containerClassName?: string;
|
|
126
|
+
childrenClassName?: string;
|
|
127
|
+
tooltipClassName?: string;
|
|
102
128
|
}
|
|
103
|
-
declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold,
|
|
129
|
+
declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
104
130
|
|
|
105
|
-
|
|
131
|
+
interface BoostProps {
|
|
132
|
+
boostMode: BoostMode;
|
|
133
|
+
onToggleBoostMode?: ({ boostMode }: {
|
|
134
|
+
boostMode: BoostMode;
|
|
135
|
+
}) => void;
|
|
136
|
+
}
|
|
137
|
+
declare function Boost({ boostMode, onToggleBoostMode }: BoostProps): react_jsx_runtime.JSX.Element;
|
|
106
138
|
|
|
107
139
|
interface DetailsToolbarProps {
|
|
108
140
|
state?: DetailsToolbarState;
|
|
@@ -110,11 +142,15 @@ interface DetailsToolbarProps {
|
|
|
110
142
|
}
|
|
111
143
|
declare function DetailsToolbar({ state, errorMessage, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
|
|
112
144
|
|
|
145
|
+
type Rounded = 'sm' | 'lg';
|
|
113
146
|
interface MenuProps extends React$1.ComponentProps<'div'> {
|
|
114
|
-
|
|
147
|
+
containerClassName?: string;
|
|
115
148
|
contentClassName?: string;
|
|
149
|
+
title?: string;
|
|
150
|
+
displayControls?: boolean;
|
|
151
|
+
rounded?: Rounded;
|
|
116
152
|
}
|
|
117
|
-
declare function Menu({ children,
|
|
153
|
+
declare function Menu({ children, containerClassName, contentClassName, title, displayControls, rounded, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
118
154
|
|
|
119
155
|
interface ModalProps {
|
|
120
156
|
children: React.ReactNode;
|
|
@@ -125,8 +161,10 @@ interface NavigationBarProps {
|
|
|
125
161
|
title?: string;
|
|
126
162
|
displayBackButton?: boolean;
|
|
127
163
|
logoUrl?: string;
|
|
164
|
+
transparent?: boolean;
|
|
165
|
+
displayButtonShadows?: boolean;
|
|
128
166
|
}
|
|
129
|
-
declare function NavigationBar({ title, displayBackButton, logoUrl, }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
130
168
|
|
|
131
169
|
interface ProductCardProps {
|
|
132
170
|
children?: React.ReactNode;
|
|
@@ -142,14 +180,40 @@ interface SwapConfigurationProps {
|
|
|
142
180
|
isFetching?: boolean;
|
|
143
181
|
chain?: {
|
|
144
182
|
iconUrl: string;
|
|
183
|
+
bgColor: string;
|
|
145
184
|
};
|
|
146
185
|
token?: {
|
|
147
186
|
iconUrl: string;
|
|
148
187
|
symbol: string;
|
|
188
|
+
bgColor: string;
|
|
189
|
+
textColor: string;
|
|
149
190
|
};
|
|
150
191
|
}
|
|
151
192
|
declare function SwapConfiguration({ priceImpactPercentage, amount, swapAmountUsd, balance, isFetching, chain, token, direction, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
|
|
152
193
|
|
|
194
|
+
interface SwapProgressViewHeaderProps {
|
|
195
|
+
title: string;
|
|
196
|
+
description: string;
|
|
197
|
+
}
|
|
198
|
+
declare function SwapProgressViewHeader({ title, description, }: SwapProgressViewHeaderProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
declare function SwapStepsCollapsed({ steps, currentStepCount: _currentStepCount, }: {
|
|
201
|
+
steps: SwapStep[];
|
|
202
|
+
currentStepCount: number;
|
|
203
|
+
}): react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface TokenPairProps {
|
|
206
|
+
firstToken: {
|
|
207
|
+
imageUrl: string;
|
|
208
|
+
bgColor: string;
|
|
209
|
+
};
|
|
210
|
+
secondToken: {
|
|
211
|
+
imageUrl: string;
|
|
212
|
+
bgColor: string;
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
declare function TokenPair({ firstToken, secondToken }: TokenPairProps): react_jsx_runtime.JSX.Element;
|
|
216
|
+
|
|
153
217
|
interface WalletAddressProps {
|
|
154
218
|
ens?: string;
|
|
155
219
|
address?: string;
|
|
@@ -158,10 +222,11 @@ declare function WalletAddress({ address, ens }: WalletAddressProps): react_jsx_
|
|
|
158
222
|
|
|
159
223
|
interface DropdownMenuItemProps {
|
|
160
224
|
label: string;
|
|
225
|
+
labelClassName?: string;
|
|
161
226
|
imageUrl?: string;
|
|
162
227
|
icon?: React.ReactNode;
|
|
163
228
|
}
|
|
164
|
-
declare function DropdownMenuItem({ label, imageUrl, icon, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare function DropdownMenuItem({ label, imageUrl, icon, labelClassName, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
165
230
|
|
|
166
231
|
interface HistoryItemProps {
|
|
167
232
|
firstImageUrl: string;
|
|
@@ -206,6 +271,29 @@ interface SectionTitleProps {
|
|
|
206
271
|
}
|
|
207
272
|
declare function SectionTitle({ title, icon, accessory, actionIcon, className, }: SectionTitleProps): react_jsx_runtime.JSX.Element;
|
|
208
273
|
|
|
274
|
+
interface SettingsItemProps {
|
|
275
|
+
icon: React.ReactNode;
|
|
276
|
+
label: string;
|
|
277
|
+
controls?: React.ReactNode;
|
|
278
|
+
transparentControls?: boolean;
|
|
279
|
+
showHelpIcon?: boolean;
|
|
280
|
+
}
|
|
281
|
+
declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
|
|
282
|
+
|
|
283
|
+
interface SwapDetailListItemProps {
|
|
284
|
+
label: string;
|
|
285
|
+
icon: React.ReactNode;
|
|
286
|
+
detail?: React.ReactNode;
|
|
287
|
+
}
|
|
288
|
+
declare function SwapDetailListItem({ label, detail, icon, }: SwapDetailListItemProps): react_jsx_runtime.JSX.Element;
|
|
289
|
+
|
|
290
|
+
interface SwapStepItemProps {
|
|
291
|
+
descriptionBlocks: SwapStepDescriptionBlock[];
|
|
292
|
+
chipContent: React.ReactNode;
|
|
293
|
+
showStepSeparator?: boolean;
|
|
294
|
+
}
|
|
295
|
+
declare function SwapStepItem({ descriptionBlocks, chipContent, showStepSeparator, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
|
|
296
|
+
|
|
209
297
|
interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
210
298
|
children: string | undefined;
|
|
211
299
|
size: TextSize;
|
|
@@ -262,9 +350,20 @@ interface ConfigTheme {
|
|
|
262
350
|
'accent-gold': string;
|
|
263
351
|
}
|
|
264
352
|
|
|
265
|
-
declare function SquidConfigProvider({ theme, children, }: {
|
|
266
|
-
theme
|
|
353
|
+
declare function SquidConfigProvider({ theme, children, themeType, }: {
|
|
354
|
+
theme: ConfigTheme;
|
|
267
355
|
children?: React.ReactNode;
|
|
356
|
+
themeType?: ThemeType;
|
|
268
357
|
}): react_jsx_runtime.JSX.Element;
|
|
269
358
|
|
|
270
|
-
|
|
359
|
+
declare function useModal(props?: {
|
|
360
|
+
initialIsModalOpen?: boolean;
|
|
361
|
+
}): {
|
|
362
|
+
isModalOpen: boolean;
|
|
363
|
+
openModal: () => void;
|
|
364
|
+
closeModal: () => void;
|
|
365
|
+
modalRef: React.RefObject<HTMLDivElement>;
|
|
366
|
+
openModalButtonRef: React.RefObject<HTMLButtonElement>;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export { AddressButton, ArrowButton, AssetsButton, BadgeImage, BodyText, Boost, BoostButton, Button, CaptionText, Chip, DetailsToolbar, DropdownMenuItem, type DropdownMenuItemProps, FeeButton, HeadingText, HistoryItem, Input, ListItem, Menu, MenuItem, Modal, NavigationBar, ProductCard, SectionTitle, SettingsButton, type SettingsButtonProps, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SquidConfigProvider, SwapConfiguration, SwapDetailListItem, SwapProgressViewHeader, SwapStepItem, SwapStepsCollapsed, Switch, TokenPair, Tooltip, type TooltipThreshold, type TooltipWidth, UsdAmount, WalletAddress, useModal };
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@0xsquid/ui",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
|
-
"url": "git+https://github.com/0xsquid/
|
|
5
|
+
"url": "git+https://github.com/0xsquid/squid-ui.git"
|
|
6
6
|
},
|
|
7
7
|
"description": "Squid's UI components",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.4.0",
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"scripts": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"postcss": "8.4.36",
|
|
69
69
|
"prettier": "3.2.5",
|
|
70
70
|
"prettier-plugin-tailwindcss": "0.5.12",
|
|
71
|
-
"release-it": "
|
|
71
|
+
"release-it": "17.2.1",
|
|
72
72
|
"rollup": "^4.17.2",
|
|
73
73
|
"rollup-plugin-dts": "^6.1.0",
|
|
74
74
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|