Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 4f77531

Browse files
committed
Refactor button, card, combobox, command, data-table, radio-group, and table stories
1 parent 0a9c205 commit 4f77531

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

apps/docs/src/stories/button/button.stories.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,28 +95,28 @@ export const Icon: Story = {
9595

9696
export const Secondary: Story = {
9797
args: {
98-
...Basic.args,
98+
...Default.args,
9999
variant: 'secondary',
100100
},
101101
};
102102

103103
export const Outline: Story = {
104104
args: {
105-
...Basic.args,
105+
...Default.args,
106106
variant: 'outline',
107107
},
108108
};
109109

110110
export const Destructive: Story = {
111111
args: {
112-
...Basic.args,
112+
...Default.args,
113113
variant: 'destructive',
114114
},
115115
};
116116

117117
export const Ghost: Story = {
118118
args: {
119-
...Basic.args,
119+
...Default.args,
120120
variant: 'ghost',
121121
},
122122
};
@@ -137,44 +137,44 @@ export const Sizes: Story = {
137137

138138
export const Block: Story = {
139139
args: {
140-
...Basic.args,
140+
...Default.args,
141141
block: true,
142142
},
143143
};
144144

145145
export const RoundedFull: Story = {
146146
args: {
147-
...Basic.args,
147+
...Default.args,
148148
shape: 'pill',
149149
},
150150
};
151151

152152
export const Loading: Story = {
153153
args: {
154-
...Basic.args,
154+
...Default.args,
155155
loading: true,
156156
},
157157
};
158158

159159
export const LoadingWithIcon: Story = {
160160
args: {
161-
...Basic.args,
161+
...Default.args,
162162
loading: true,
163163
startIcon: <GitForkIcon size={16} />,
164164
},
165165
};
166166

167167
export const LoadingWithIconRight: Story = {
168168
args: {
169-
...Basic.args,
169+
...Default.args,
170170
endIcon: <CogIcon size={16} />,
171171
loading: true,
172172
},
173173
};
174174

175175
export const LoadingWithIconBoth: Story = {
176176
args: {
177-
...Basic.args,
177+
...Default.args,
178178
endIcon: <CogIcon size={16} />,
179179
loading: true,
180180
startIcon: <GitForkIcon size={16} />,
@@ -183,21 +183,21 @@ export const LoadingWithIconBoth: Story = {
183183

184184
export const Disabled: Story = {
185185
args: {
186-
...Basic.args,
186+
...Default.args,
187187
disabled: true,
188188
},
189189
};
190190

191191
export const IconLeft: Story = {
192192
args: {
193-
...Basic.args,
193+
...Default.args,
194194
startIcon: <GitForkIcon size={16} />,
195195
},
196196
};
197197

198198
export const IconRight: Story = {
199199
args: {
200-
...Basic.args,
200+
...Default.args,
201201
endIcon: <CogIcon size={16} />,
202202
},
203203
};

apps/docs/src/stories/card/card.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default meta;
2929
type Story = StoryObj<typeof Card>;
3030

3131
/* -----------------------------------------------------------------------------
32-
* Story: Basic
32+
* Story: Default
3333
* -------------------------------------------------------------------------- */
3434

3535
const notifications = [

apps/docs/src/stories/combobox/combobox.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default meta;
4343
type Story = StoryObj<typeof Combobox>;
4444

4545
/* -----------------------------------------------------------------------------
46-
* Story: Basic
46+
* Story: Default
4747
* -------------------------------------------------------------------------- */
4848

4949
function ComboboxWithHooks(

apps/docs/src/stories/command/command.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default meta;
3131
type Story = StoryObj<typeof Command>;
3232

3333
/* -----------------------------------------------------------------------------
34-
* Story: Basic
34+
* Story: Default
3535
* -------------------------------------------------------------------------- */
3636

3737
export const Default: Story = {

apps/docs/src/stories/data-table/data-table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export default meta;
160160
type Story = StoryObj<typeof DataTable>;
161161

162162
/* -----------------------------------------------------------------------------
163-
* Story: Basic
163+
* Story: Default
164164
* -------------------------------------------------------------------------- */
165165

166166
export const Default: Story = {

apps/docs/src/stories/radio-group/radio-group.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default meta;
3737
type Story = StoryObj<typeof RadioGroup>;
3838

3939
/* -----------------------------------------------------------------------------
40-
* Story: Basic
40+
* Story: Default
4141
* -------------------------------------------------------------------------- */
4242

4343
function RadioGroupBasic(

apps/docs/src/stories/table/table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default meta;
2525
type Story = StoryObj<typeof Table>;
2626

2727
/* -----------------------------------------------------------------------------
28-
* Story: Basic
28+
* Story: Default
2929
* -------------------------------------------------------------------------- */
3030

3131
const invoices = [

0 commit comments

Comments
 (0)