myshell-react-lib 0.1.4 → 0.1.6
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/index.cjs +52 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/common/assets/audio-playing.json +0 -3657
- package/src/common/constants/constants.ts +0 -24
- package/src/common/constants/types/common.ts +0 -10
- package/src/common/hooks/useAudioPlayer.tsx +0 -198
- package/src/common/hooks/useDevice.ts +0 -26
- package/src/common/hooks/useNativeBridge.ts +0 -42
- package/src/common/hooks/useNotification.tsx +0 -179
- package/src/common/hooks/useWindowWidth.ts +0 -19
- package/src/common/utils/common-helper.ts +0 -81
- package/src/components/ItemDemo.tsx +0 -15
- package/src/components/accordion.tsx +0 -126
- package/src/components/alert-dialog.tsx +0 -148
- package/src/components/alert.tsx +0 -65
- package/src/components/aspect-ratio.tsx +0 -7
- package/src/components/audio-player.tsx +0 -60
- package/src/components/audio-playing.tsx +0 -33
- package/src/components/avatar.tsx +0 -133
- package/src/components/badge.tsx +0 -67
- package/src/components/button/button.styles.ts +0 -258
- package/src/components/button/button.tsx +0 -215
- package/src/components/button/icon-button.styles.ts +0 -101
- package/src/components/button/icon-button.tsx +0 -100
- package/src/components/button/index.tsx +0 -3
- package/src/components/button/link-button.tsx +0 -184
- package/src/components/cascader.tsx +0 -175
- package/src/components/checkbox.tsx +0 -135
- package/src/components/command.tsx +0 -155
- package/src/components/context-menu.tsx +0 -198
- package/src/components/count-down.tsx +0 -83
- package/src/components/custom-notification.tsx +0 -95
- package/src/components/dialog.tsx +0 -158
- package/src/components/drawer.tsx +0 -116
- package/src/components/dropdown-menu.tsx +0 -196
- package/src/components/energy-progress.tsx +0 -55
- package/src/components/form.tsx +0 -201
- package/src/components/group.tsx +0 -9
- package/src/components/guide.tsx +0 -243
- package/src/components/icon.tsx +0 -96
- package/src/components/icons/index.tsx +0 -13
- package/src/components/icons/outline/ArrowLeftIcon.tsx +0 -28
- package/src/components/icons/outline/ArrowUpTrayIcon.tsx +0 -28
- package/src/components/icons/outline/CheckCircleIcon.tsx +0 -27
- package/src/components/icons/outline/ConfigIcon.tsx +0 -42
- package/src/components/icons/outline/DownIcon.tsx +0 -18
- package/src/components/icons/outline/FilterIcon.tsx +0 -20
- package/src/components/icons/outline/PencilSquareIcon.tsx +0 -28
- package/src/components/icons/outline/WindowIcon.tsx +0 -26
- package/src/components/icons/solid/CaretDownIcon.tsx +0 -22
- package/src/components/icons/solid/CodeIcon.tsx +0 -25
- package/src/components/icons/solid/DragIcon.tsx +0 -24
- package/src/components/icons/solid/PhoneIcon.tsx +0 -29
- package/src/components/icons/solid/RectangleGroupIcon.tsx +0 -26
- package/src/components/image.tsx +0 -151
- package/src/components/input.tsx +0 -118
- package/src/components/label.tsx +0 -26
- package/src/components/link.tsx +0 -123
- package/src/components/marquee/index.css +0 -15
- package/src/components/marquee/marquee.tsx +0 -220
- package/src/components/masonry.tsx +0 -138
- package/src/components/menubar.tsx +0 -234
- package/src/components/mobile/m-tooltip.tsx +0 -34
- package/src/components/modal.tsx +0 -561
- package/src/components/navigation-bar.tsx +0 -100
- package/src/components/number-input.tsx +0 -143
- package/src/components/page-content.tsx +0 -16
- package/src/components/popover.tsx +0 -191
- package/src/components/progress.tsx +0 -80
- package/src/components/radio-group.tsx +0 -44
- package/src/components/scroll-area.tsx +0 -49
- package/src/components/search-bar.tsx +0 -140
- package/src/components/secondary-navigation-bar.tsx +0 -328
- package/src/components/select.tsx +0 -273
- package/src/components/separator.tsx +0 -31
- package/src/components/sheet.tsx +0 -143
- package/src/components/skeleton.tsx +0 -20
- package/src/components/slider.tsx +0 -160
- package/src/components/spinner.tsx +0 -50
- package/src/components/swiper/index.module.scss +0 -88
- package/src/components/swiper/index.tsx +0 -319
- package/src/components/switch.tsx +0 -67
- package/src/components/tabs.tsx +0 -325
- package/src/components/textarea.tsx +0 -71
- package/src/components/toast/toast.tsx +0 -182
- package/src/components/toast/toaster.tsx +0 -160
- package/src/components/toast/use-toast.tsx +0 -248
- package/src/components/toggle-group.tsx +0 -64
- package/src/components/toggle.tsx +0 -46
- package/src/components/tooltip.tsx +0 -283
- package/src/components/typography.tsx +0 -437
- package/src/index.ts +0 -70
- package/src/lib/utils.ts +0 -62
- package/src/stories/Accordion.stories.tsx +0 -64
- package/src/stories/AccordionItem.stories.tsx +0 -48
- package/src/stories/Avatar.stories.ts +0 -58
- package/src/stories/Badge.stories.tsx +0 -40
- package/src/stories/BannerSwiper.stories.tsx +0 -102
- package/src/stories/Button.stories.tsx +0 -543
- package/src/stories/Checkbox.stories.tsx +0 -161
- package/src/stories/Configure.mdx +0 -341
- package/src/stories/CssProperties.mdx +0 -30
- package/src/stories/Description.stories.ts +0 -70
- package/src/stories/Display.stories.ts +0 -64
- package/src/stories/FeaturedSwiper.stories.tsx +0 -6978
- package/src/stories/GridSwiper.stories.tsx +0 -1407
- package/src/stories/Guide.stories.tsx +0 -247
- package/src/stories/Heading.stories.ts +0 -89
- package/src/stories/Icon.stories.ts +0 -77
- package/src/stories/IconButton.stories.tsx +0 -301
- package/src/stories/IconTextButton.stories.ts +0 -59
- package/src/stories/Image.stories.ts +0 -55
- package/src/stories/Input.stories.tsx +0 -203
- package/src/stories/Modal.stories.tsx +0 -144
- package/src/stories/NavigationBar.stories.tsx +0 -81
- package/src/stories/Notification.stories.tsx +0 -276
- package/src/stories/Popover.stories.tsx +0 -100
- package/src/stories/SearchBar.stories.ts +0 -43
- package/src/stories/SecondaryNavigationBar.stories.tsx +0 -199
- package/src/stories/Select.stories.tsx +0 -107
- package/src/stories/Separator.stories.tsx +0 -49
- package/src/stories/Spinner.stories.tsx +0 -48
- package/src/stories/SubHeading.stories.ts +0 -64
- package/src/stories/Swich.stories.tsx +0 -69
- package/src/stories/Tabs.stories.tsx +0 -90
- package/src/stories/Text.stories.ts +0 -78
- package/src/stories/Textarea.stories.tsx +0 -155
- package/src/stories/Toast.stories.tsx +0 -424
- package/src/stories/Tooltip.stories.tsx +0 -244
- package/src/stories/ViewAutoSwiper.stories.tsx +0 -1408
- package/src/styles/components-dark.scss +0 -212
- package/src/styles/components-light.scss +0 -210
- package/src/styles/design-dark.scss +0 -330
- package/src/styles/design-light.scss +0 -345
- package/src/styles/design2-dark.scss +0 -319
- package/src/styles/design2-light.scss +0 -364
- package/src/styles/font.css +0 -19
- package/src/styles/global.scss +0 -251
- package/src/styles/md-viewer.scss +0 -155
- package/src/styles/new-tokens.scss +0 -255
- package/src/styles/tokens.scss +0 -401
- package/src/types/scss.d.ts +0 -24
|
@@ -1,543 +0,0 @@
|
|
|
1
|
-
import ArrowsUpDownIcon from '@heroicons/react/24/outline/esm/ArrowsUpDownIcon';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
|
|
5
|
-
import { Button, LinkButton } from '../components/button';
|
|
6
|
-
|
|
7
|
-
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
|
|
8
|
-
const meta = {
|
|
9
|
-
title: 'Components/通用/Button-按钮',
|
|
10
|
-
component: Button,
|
|
11
|
-
parameters: {
|
|
12
|
-
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
|
|
13
|
-
layout: 'centered',
|
|
14
|
-
},
|
|
15
|
-
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
|
|
16
|
-
tags: ['autodocs'],
|
|
17
|
-
|
|
18
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
|
|
19
|
-
args: {
|
|
20
|
-
size: 'lg',
|
|
21
|
-
color: 'default',
|
|
22
|
-
variant: 'primary',
|
|
23
|
-
disabled: false,
|
|
24
|
-
loading: false,
|
|
25
|
-
children: 'Label',
|
|
26
|
-
noStyle: false,
|
|
27
|
-
iconOutBox: false,
|
|
28
|
-
},
|
|
29
|
-
argTypes: {
|
|
30
|
-
// 定义size为select类型的控件
|
|
31
|
-
size: {
|
|
32
|
-
control: 'select',
|
|
33
|
-
description: 'more',
|
|
34
|
-
options: ['sm', 'md', 'lg'],
|
|
35
|
-
},
|
|
36
|
-
variant: {
|
|
37
|
-
control: 'select',
|
|
38
|
-
options: ['primary', 'secondary', 'tertiary', 'link', 'static', 'plain'],
|
|
39
|
-
},
|
|
40
|
-
color: {
|
|
41
|
-
control: 'select',
|
|
42
|
-
options: ['default', 'brand', 'error'],
|
|
43
|
-
},
|
|
44
|
-
iconDirection: {
|
|
45
|
-
control: 'select',
|
|
46
|
-
options: ['left', 'right'],
|
|
47
|
-
},
|
|
48
|
-
iconOutBox: {
|
|
49
|
-
control: 'boolean',
|
|
50
|
-
description: 'icon是否不跟文案在一起,默认在一起',
|
|
51
|
-
},
|
|
52
|
-
isBlock: {
|
|
53
|
-
control: 'boolean',
|
|
54
|
-
description: '是否w-full',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
} satisfies Meta<typeof Button>;
|
|
58
|
-
|
|
59
|
-
export default meta;
|
|
60
|
-
// export const Default: StoryObj<typeof meta> = {
|
|
61
|
-
// // 这里不需要设置 args,因为它会继承 meta 中的 args
|
|
62
|
-
// };
|
|
63
|
-
type Story = StoryObj<typeof meta>;
|
|
64
|
-
|
|
65
|
-
// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
|
|
66
|
-
export const Demo: Story = {
|
|
67
|
-
args: {
|
|
68
|
-
...meta.args, // 继承默认参数
|
|
69
|
-
},
|
|
70
|
-
render: (args) => {
|
|
71
|
-
const { children } = args;
|
|
72
|
-
|
|
73
|
-
return (
|
|
74
|
-
<div className="min-w-[60vw] w-full p-6 rounded-md flex flex-col space-y-3">
|
|
75
|
-
<div>示例:</div>
|
|
76
|
-
|
|
77
|
-
<div className="flex flex-col space-y-3">
|
|
78
|
-
<div className="grid grid-cols-4 space-x-2 font-medium">
|
|
79
|
-
<div className="flex justify-center" />
|
|
80
|
-
<div className="flex justify-center">lg</div>
|
|
81
|
-
<div className="flex justify-center">md</div>
|
|
82
|
-
<div className="flex justify-center">sm</div>
|
|
83
|
-
</div>
|
|
84
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
85
|
-
<div className="font-semibold text-center">Primary</div>
|
|
86
|
-
<Button {...args} variant="primary" size="lg" className="">
|
|
87
|
-
{children}
|
|
88
|
-
</Button>
|
|
89
|
-
<Button {...args} variant="primary" size="md">
|
|
90
|
-
{children}
|
|
91
|
-
</Button>
|
|
92
|
-
<Button {...args} variant="primary" size="sm">
|
|
93
|
-
{children}
|
|
94
|
-
</Button>
|
|
95
|
-
</div>
|
|
96
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
97
|
-
<div className="font-semibold text-center">Primary(Brand)</div>
|
|
98
|
-
<Button {...args} variant="primary" color="brand" size="lg">
|
|
99
|
-
{children}
|
|
100
|
-
</Button>
|
|
101
|
-
<Button {...args} variant="primary" color="brand" size="md">
|
|
102
|
-
{children}
|
|
103
|
-
</Button>
|
|
104
|
-
<Button {...args} variant="primary" color="brand" size="sm">
|
|
105
|
-
{children}
|
|
106
|
-
</Button>
|
|
107
|
-
</div>
|
|
108
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
109
|
-
<div className="font-semibold text-center">Secondary</div>
|
|
110
|
-
<Button {...args} variant="secondary" size="lg">
|
|
111
|
-
{children}
|
|
112
|
-
</Button>
|
|
113
|
-
<Button {...args} variant="secondary" size="md">
|
|
114
|
-
{children}
|
|
115
|
-
</Button>
|
|
116
|
-
<Button {...args} variant="secondary" size="sm">
|
|
117
|
-
{children}
|
|
118
|
-
</Button>
|
|
119
|
-
</div>
|
|
120
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
121
|
-
<div className="font-semibold text-center">Tertiary</div>
|
|
122
|
-
<Button {...args} variant="tertiary" size="lg">
|
|
123
|
-
{children}
|
|
124
|
-
</Button>
|
|
125
|
-
<Button {...args} variant="tertiary" size="md">
|
|
126
|
-
{children}
|
|
127
|
-
</Button>
|
|
128
|
-
<Button {...args} variant="tertiary" size="sm">
|
|
129
|
-
{children}
|
|
130
|
-
</Button>
|
|
131
|
-
</div>
|
|
132
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
133
|
-
<div className="font-semibold text-center">Primary(Error)</div>
|
|
134
|
-
<Button {...args} variant="primary" color="error" size="lg">
|
|
135
|
-
{children}
|
|
136
|
-
</Button>
|
|
137
|
-
<Button {...args} variant="primary" color="error" size="md">
|
|
138
|
-
{children}
|
|
139
|
-
</Button>
|
|
140
|
-
<Button {...args} variant="primary" color="error" size="sm">
|
|
141
|
-
{children}
|
|
142
|
-
</Button>
|
|
143
|
-
</div>
|
|
144
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
145
|
-
<div className="font-semibold text-center">Secondary(Error)</div>
|
|
146
|
-
<Button {...args} variant="secondary" color="error" size="lg">
|
|
147
|
-
{children}
|
|
148
|
-
</Button>
|
|
149
|
-
<Button {...args} variant="secondary" color="error" size="md">
|
|
150
|
-
{children}
|
|
151
|
-
</Button>
|
|
152
|
-
<Button {...args} variant="secondary" color="error" size="sm">
|
|
153
|
-
{children}
|
|
154
|
-
</Button>
|
|
155
|
-
</div>
|
|
156
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
157
|
-
<div className="font-semibold text-center">Plain</div>
|
|
158
|
-
<Button {...args} variant="plain" size="lg">
|
|
159
|
-
{children}
|
|
160
|
-
</Button>
|
|
161
|
-
<Button {...args} variant="plain" size="md">
|
|
162
|
-
{children}
|
|
163
|
-
</Button>
|
|
164
|
-
<Button {...args} variant="plain" size="sm">
|
|
165
|
-
{children}
|
|
166
|
-
</Button>
|
|
167
|
-
</div>
|
|
168
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
169
|
-
<div className="font-semibold text-center">Plain(Brand)</div>
|
|
170
|
-
<Button {...args} variant="plain" color="brand" size="lg">
|
|
171
|
-
{children}
|
|
172
|
-
</Button>
|
|
173
|
-
<Button {...args} variant="plain" color="brand" size="md">
|
|
174
|
-
{children}
|
|
175
|
-
</Button>
|
|
176
|
-
<Button {...args} variant="plain" color="brand" size="sm">
|
|
177
|
-
{children}
|
|
178
|
-
</Button>
|
|
179
|
-
</div>
|
|
180
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
181
|
-
<div className="font-semibold text-center">Link button</div>
|
|
182
|
-
<LinkButton {...args} size="lg">
|
|
183
|
-
{children}
|
|
184
|
-
</LinkButton>
|
|
185
|
-
<LinkButton {...args} size="md">
|
|
186
|
-
{children}
|
|
187
|
-
</LinkButton>
|
|
188
|
-
<LinkButton {...args} size="sm">
|
|
189
|
-
{children}
|
|
190
|
-
</LinkButton>
|
|
191
|
-
</div>
|
|
192
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
193
|
-
<div className="font-semibold text-center">Static</div>
|
|
194
|
-
<Button {...args} variant="static" size="lg">
|
|
195
|
-
{children}
|
|
196
|
-
</Button>
|
|
197
|
-
<Button {...args} variant="static" size="md">
|
|
198
|
-
{children}
|
|
199
|
-
</Button>
|
|
200
|
-
<Button {...args} variant="static" size="sm">
|
|
201
|
-
{children}
|
|
202
|
-
</Button>
|
|
203
|
-
</div>
|
|
204
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center bg-black py-2 rounded-md">
|
|
205
|
-
<div className="font-semibold text-center text-Colors-Text-Static-White">
|
|
206
|
-
Opacity
|
|
207
|
-
</div>
|
|
208
|
-
<Button {...args} variant="opacity" size="lg">
|
|
209
|
-
{children}
|
|
210
|
-
</Button>
|
|
211
|
-
<Button {...args} variant="opacity" size="md">
|
|
212
|
-
{children}
|
|
213
|
-
</Button>
|
|
214
|
-
<Button {...args} variant="opacity" size="sm">
|
|
215
|
-
{children}
|
|
216
|
-
</Button>
|
|
217
|
-
</div>
|
|
218
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-cente py-2 rounded-md">
|
|
219
|
-
<div className="font-semibold text-center">Solid</div>
|
|
220
|
-
<Button {...args} variant="solid" size="lg">
|
|
221
|
-
{children}
|
|
222
|
-
</Button>
|
|
223
|
-
<Button {...args} variant="solid" size="md">
|
|
224
|
-
{children}
|
|
225
|
-
</Button>
|
|
226
|
-
<Button {...args} variant="solid" size="sm">
|
|
227
|
-
{children}
|
|
228
|
-
</Button>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
231
|
-
|
|
232
|
-
<div className="pt-10">带icon的button</div>
|
|
233
|
-
<div className="flex flex-col space-y-3">
|
|
234
|
-
<div className="grid grid-cols-4 space-x-2 font-medium">
|
|
235
|
-
<div className="flex justify-center" />
|
|
236
|
-
<div className="flex justify-center">lg</div>
|
|
237
|
-
<div className="flex justify-center">md</div>
|
|
238
|
-
<div className="flex justify-center">sm</div>
|
|
239
|
-
</div>
|
|
240
|
-
|
|
241
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
242
|
-
<div className="font-semibold text-center">Primary</div>
|
|
243
|
-
<Button
|
|
244
|
-
{...args}
|
|
245
|
-
icon={ArrowsUpDownIcon}
|
|
246
|
-
variant="primary"
|
|
247
|
-
size="lg"
|
|
248
|
-
className=""
|
|
249
|
-
>
|
|
250
|
-
{children}
|
|
251
|
-
</Button>
|
|
252
|
-
<Button
|
|
253
|
-
{...args}
|
|
254
|
-
icon={ArrowsUpDownIcon}
|
|
255
|
-
variant="primary"
|
|
256
|
-
size="md"
|
|
257
|
-
>
|
|
258
|
-
{children}
|
|
259
|
-
</Button>
|
|
260
|
-
<Button
|
|
261
|
-
{...args}
|
|
262
|
-
icon={ArrowsUpDownIcon}
|
|
263
|
-
variant="primary"
|
|
264
|
-
size="sm"
|
|
265
|
-
>
|
|
266
|
-
{children}
|
|
267
|
-
</Button>
|
|
268
|
-
</div>
|
|
269
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
270
|
-
<div className="font-semibold text-center">Primary(Brand)</div>
|
|
271
|
-
<Button
|
|
272
|
-
{...args}
|
|
273
|
-
icon={ArrowsUpDownIcon}
|
|
274
|
-
variant="primary"
|
|
275
|
-
color="brand"
|
|
276
|
-
size="lg"
|
|
277
|
-
>
|
|
278
|
-
{children}
|
|
279
|
-
</Button>
|
|
280
|
-
<Button
|
|
281
|
-
{...args}
|
|
282
|
-
icon={ArrowsUpDownIcon}
|
|
283
|
-
variant="primary"
|
|
284
|
-
color="brand"
|
|
285
|
-
size="md"
|
|
286
|
-
>
|
|
287
|
-
{children}
|
|
288
|
-
</Button>
|
|
289
|
-
<Button
|
|
290
|
-
{...args}
|
|
291
|
-
icon={ArrowsUpDownIcon}
|
|
292
|
-
variant="primary"
|
|
293
|
-
color="brand"
|
|
294
|
-
size="sm"
|
|
295
|
-
>
|
|
296
|
-
{children}
|
|
297
|
-
</Button>
|
|
298
|
-
</div>
|
|
299
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
300
|
-
<div className="font-semibold text-center">Secondary</div>
|
|
301
|
-
<Button
|
|
302
|
-
{...args}
|
|
303
|
-
icon={ArrowsUpDownIcon}
|
|
304
|
-
variant="secondary"
|
|
305
|
-
size="lg"
|
|
306
|
-
>
|
|
307
|
-
{children}
|
|
308
|
-
</Button>
|
|
309
|
-
<Button
|
|
310
|
-
{...args}
|
|
311
|
-
icon={ArrowsUpDownIcon}
|
|
312
|
-
variant="secondary"
|
|
313
|
-
size="md"
|
|
314
|
-
>
|
|
315
|
-
{children}
|
|
316
|
-
</Button>
|
|
317
|
-
<Button
|
|
318
|
-
{...args}
|
|
319
|
-
icon={ArrowsUpDownIcon}
|
|
320
|
-
variant="secondary"
|
|
321
|
-
size="sm"
|
|
322
|
-
>
|
|
323
|
-
{children}
|
|
324
|
-
</Button>
|
|
325
|
-
</div>
|
|
326
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
327
|
-
<div className="font-semibold text-center">Tertiary</div>
|
|
328
|
-
<Button
|
|
329
|
-
{...args}
|
|
330
|
-
icon={ArrowsUpDownIcon}
|
|
331
|
-
variant="tertiary"
|
|
332
|
-
size="lg"
|
|
333
|
-
>
|
|
334
|
-
{children}
|
|
335
|
-
</Button>
|
|
336
|
-
<Button
|
|
337
|
-
{...args}
|
|
338
|
-
icon={ArrowsUpDownIcon}
|
|
339
|
-
variant="tertiary"
|
|
340
|
-
size="md"
|
|
341
|
-
>
|
|
342
|
-
{children}
|
|
343
|
-
</Button>
|
|
344
|
-
<Button
|
|
345
|
-
{...args}
|
|
346
|
-
icon={ArrowsUpDownIcon}
|
|
347
|
-
variant="tertiary"
|
|
348
|
-
size="sm"
|
|
349
|
-
>
|
|
350
|
-
{children}
|
|
351
|
-
</Button>
|
|
352
|
-
</div>
|
|
353
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
354
|
-
<div className="font-semibold text-center">Primary(Error)</div>
|
|
355
|
-
<Button
|
|
356
|
-
{...args}
|
|
357
|
-
icon={ArrowsUpDownIcon}
|
|
358
|
-
variant="primary"
|
|
359
|
-
color="error"
|
|
360
|
-
size="lg"
|
|
361
|
-
>
|
|
362
|
-
{children}
|
|
363
|
-
</Button>
|
|
364
|
-
<Button
|
|
365
|
-
{...args}
|
|
366
|
-
icon={ArrowsUpDownIcon}
|
|
367
|
-
variant="primary"
|
|
368
|
-
color="error"
|
|
369
|
-
size="md"
|
|
370
|
-
>
|
|
371
|
-
{children}
|
|
372
|
-
</Button>
|
|
373
|
-
<Button
|
|
374
|
-
{...args}
|
|
375
|
-
icon={ArrowsUpDownIcon}
|
|
376
|
-
variant="primary"
|
|
377
|
-
color="error"
|
|
378
|
-
size="sm"
|
|
379
|
-
>
|
|
380
|
-
{children}
|
|
381
|
-
</Button>
|
|
382
|
-
</div>
|
|
383
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
384
|
-
<div className="font-semibold text-center">Secondary(Error)</div>
|
|
385
|
-
<Button
|
|
386
|
-
{...args}
|
|
387
|
-
icon={ArrowsUpDownIcon}
|
|
388
|
-
variant="secondary"
|
|
389
|
-
color="error"
|
|
390
|
-
size="lg"
|
|
391
|
-
>
|
|
392
|
-
{children}
|
|
393
|
-
</Button>
|
|
394
|
-
<Button
|
|
395
|
-
{...args}
|
|
396
|
-
icon={ArrowsUpDownIcon}
|
|
397
|
-
variant="secondary"
|
|
398
|
-
color="error"
|
|
399
|
-
size="md"
|
|
400
|
-
>
|
|
401
|
-
{children}
|
|
402
|
-
</Button>
|
|
403
|
-
<Button
|
|
404
|
-
{...args}
|
|
405
|
-
icon={ArrowsUpDownIcon}
|
|
406
|
-
variant="secondary"
|
|
407
|
-
color="error"
|
|
408
|
-
size="sm"
|
|
409
|
-
>
|
|
410
|
-
{children}
|
|
411
|
-
</Button>
|
|
412
|
-
</div>
|
|
413
|
-
|
|
414
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
415
|
-
<div className="font-semibold text-center">Static</div>
|
|
416
|
-
<Button
|
|
417
|
-
{...args}
|
|
418
|
-
icon={ArrowsUpDownIcon}
|
|
419
|
-
variant="static"
|
|
420
|
-
size="lg"
|
|
421
|
-
>
|
|
422
|
-
{children}
|
|
423
|
-
</Button>
|
|
424
|
-
<Button
|
|
425
|
-
{...args}
|
|
426
|
-
icon={ArrowsUpDownIcon}
|
|
427
|
-
variant="static"
|
|
428
|
-
size="md"
|
|
429
|
-
>
|
|
430
|
-
{children}
|
|
431
|
-
</Button>
|
|
432
|
-
<Button
|
|
433
|
-
{...args}
|
|
434
|
-
icon={ArrowsUpDownIcon}
|
|
435
|
-
variant="static"
|
|
436
|
-
size="sm"
|
|
437
|
-
>
|
|
438
|
-
{children}
|
|
439
|
-
</Button>
|
|
440
|
-
</div>
|
|
441
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center bg-black py-2 rounded-md">
|
|
442
|
-
<div className="font-semibold text-center text-Colors-Text-Static-White">
|
|
443
|
-
Opacity
|
|
444
|
-
</div>
|
|
445
|
-
<Button
|
|
446
|
-
{...args}
|
|
447
|
-
icon={ArrowsUpDownIcon}
|
|
448
|
-
variant="opacity"
|
|
449
|
-
size="lg"
|
|
450
|
-
>
|
|
451
|
-
{children}
|
|
452
|
-
</Button>
|
|
453
|
-
<Button
|
|
454
|
-
{...args}
|
|
455
|
-
icon={ArrowsUpDownIcon}
|
|
456
|
-
variant="opacity"
|
|
457
|
-
size="md"
|
|
458
|
-
>
|
|
459
|
-
{children}
|
|
460
|
-
</Button>
|
|
461
|
-
<Button
|
|
462
|
-
{...args}
|
|
463
|
-
icon={ArrowsUpDownIcon}
|
|
464
|
-
variant="opacity"
|
|
465
|
-
size="sm"
|
|
466
|
-
>
|
|
467
|
-
{children}
|
|
468
|
-
</Button>
|
|
469
|
-
</div>
|
|
470
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-cente py-2 rounded-md">
|
|
471
|
-
<div className="font-semibold text-center">Solid</div>
|
|
472
|
-
<Button {...args} icon={ArrowsUpDownIcon} variant="solid" size="lg">
|
|
473
|
-
{children}
|
|
474
|
-
</Button>
|
|
475
|
-
<Button {...args} icon={ArrowsUpDownIcon} variant="solid" size="md">
|
|
476
|
-
{children}
|
|
477
|
-
</Button>
|
|
478
|
-
<Button {...args} icon={ArrowsUpDownIcon} variant="solid" size="sm">
|
|
479
|
-
{children}
|
|
480
|
-
</Button>
|
|
481
|
-
</div>
|
|
482
|
-
</div>
|
|
483
|
-
<div className="pt-10">Asset</div>
|
|
484
|
-
<div className="flex flex-col space-y-3">
|
|
485
|
-
<div className="grid grid-cols-4 space-x-2 font-medium">
|
|
486
|
-
<div className="flex justify-center" />
|
|
487
|
-
<div className="flex justify-center">lg</div>
|
|
488
|
-
<div className="flex justify-center">md</div>
|
|
489
|
-
<div className="flex justify-center">sm</div>
|
|
490
|
-
</div>
|
|
491
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
492
|
-
<div className="font-semibold text-center">Primary Coin</div>
|
|
493
|
-
<Button {...args} variant="primary" size="lg" asset="coin">
|
|
494
|
-
{children}
|
|
495
|
-
</Button>
|
|
496
|
-
<Button {...args} variant="primary" size="md" asset="coin">
|
|
497
|
-
{children}
|
|
498
|
-
</Button>
|
|
499
|
-
<Button {...args} variant="primary" size="sm" asset="coin">
|
|
500
|
-
{children}
|
|
501
|
-
</Button>
|
|
502
|
-
</div>
|
|
503
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
504
|
-
<div className="font-semibold text-center">Tertiary Coin</div>
|
|
505
|
-
<Button {...args} variant="tertiary" size="lg" asset="coin">
|
|
506
|
-
{children}
|
|
507
|
-
</Button>
|
|
508
|
-
<Button {...args} variant="tertiary" size="md" asset="coin">
|
|
509
|
-
{children}
|
|
510
|
-
</Button>
|
|
511
|
-
<Button {...args} variant="tertiary" size="sm" asset="coin">
|
|
512
|
-
{children}
|
|
513
|
-
</Button>
|
|
514
|
-
</div>
|
|
515
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
516
|
-
<div className="font-semibold text-center">Secondary Coin</div>
|
|
517
|
-
<Button {...args} variant="secondary" size="lg" asset="coin">
|
|
518
|
-
{children}
|
|
519
|
-
</Button>
|
|
520
|
-
<Button {...args} variant="secondary" size="md" asset="coin">
|
|
521
|
-
{children}
|
|
522
|
-
</Button>
|
|
523
|
-
<Button {...args} variant="secondary" size="sm" asset="coin">
|
|
524
|
-
{children}
|
|
525
|
-
</Button>
|
|
526
|
-
</div>
|
|
527
|
-
<div className="grid grid-cols-4 space-x-2 justify-center items-center">
|
|
528
|
-
<div className="font-semibold text-center">Primary Energy</div>
|
|
529
|
-
<Button {...args} variant="primary" size="lg" asset="energy">
|
|
530
|
-
{children}
|
|
531
|
-
</Button>
|
|
532
|
-
<Button {...args} variant="primary" size="md" asset="energy">
|
|
533
|
-
{children}
|
|
534
|
-
</Button>
|
|
535
|
-
<Button {...args} variant="primary" size="sm" asset="energy">
|
|
536
|
-
{children}
|
|
537
|
-
</Button>
|
|
538
|
-
</div>
|
|
539
|
-
</div>
|
|
540
|
-
</div>
|
|
541
|
-
);
|
|
542
|
-
},
|
|
543
|
-
};
|