@@ -5,7 +5,7 @@ import {INITIAL_VIEWPORTS} from '@storybook/addon-viewport'
5
5
import { PricingOptions } from '.'
6
6
import { Box , Grid , InlineLink , Stack } from '..'
7
7
import imageExample from '../fixtures/images/bento/3.png'
8
- import { CopilotIcon , SparkleFillIcon } from '@primer/octicons-react'
8
+ import { SparkleFillIcon } from '@primer/octicons-react'
9
9
10
10
const decorators = Story => (
11
11
< Box backgroundColor = "default" paddingBlockStart = "spacious" paddingBlockEnd = "spacious" style = { { minHeight : '100vh' } } >
@@ -165,39 +165,13 @@ export const CardsGradientVariant: StoryFn<typeof PricingOptions> = () => {
165
165
)
166
166
}
167
167
168
- export const OneOption : StoryFn < typeof PricingOptions > = ( ) => {
169
- return (
170
- < PricingOptions >
171
- < PricingOptions . Item >
172
- < PricingOptions . Heading > Copilot Individual</ PricingOptions . Heading >
173
- < PricingOptions . Description >
174
- Code completions, Chat, and more for indie developers and freelancers.
175
- </ PricingOptions . Description >
176
- < PricingOptions . Price trailingText = "per month / $100 per year" > 10</ PricingOptions . Price >
177
- < PricingOptions . PrimaryAction as = "a" href = "#" >
178
- Buy now
179
- </ PricingOptions . PrimaryAction >
180
- < PricingOptions . SecondaryAction as = "a" href = "#" >
181
- Contact sales
182
- </ PricingOptions . SecondaryAction >
183
- </ PricingOptions . Item >
184
- </ PricingOptions >
185
- )
186
- }
187
-
188
168
export const LeadingComponent : StoryFn < typeof PricingOptions > = ( ) => {
189
169
const Image = ( ) => (
190
170
< Box marginBlockEnd = { 24 } >
191
171
< img src = { imageExample } alt = "Copilot Individual" />
192
172
</ Box >
193
173
)
194
174
195
- const IconVisual = ( ) => (
196
- < Box >
197
- < CopilotIcon size = { 24 } />
198
- </ Box >
199
- )
200
-
201
175
return (
202
176
< Stack direction = "vertical" >
203
177
< PricingOptions variant = "cards" >
@@ -237,25 +211,36 @@ export const LeadingComponent: StoryFn<typeof PricingOptions> = () => {
237
211
</ PricingOptions . PrimaryAction >
238
212
</ PricingOptions . Item >
239
213
</ PricingOptions >
240
- < PricingOptions >
241
- < PricingOptions . Item leadingComponent = { < IconVisual /> } >
242
- < PricingOptions . Heading > Copilot Individual</ PricingOptions . Heading >
243
- < PricingOptions . Description >
244
- Code completions, Chat, and more for indie developers and freelancers.
245
- </ PricingOptions . Description >
246
- < PricingOptions . Price trailingText = "per month / $100 per year" > 10</ PricingOptions . Price >
247
- < PricingOptions . PrimaryAction as = "a" href = "#" >
248
- Buy now
249
- </ PricingOptions . PrimaryAction >
250
- < PricingOptions . SecondaryAction as = "a" href = "#" >
251
- Contact sales
252
- </ PricingOptions . SecondaryAction >
253
- </ PricingOptions . Item >
254
- </ PricingOptions >
255
214
</ Stack >
256
215
)
257
216
}
258
217
218
+ export const OneOption : StoryFn < typeof PricingOptions > = ( ) => {
219
+ return (
220
+ < PricingOptions >
221
+ < PricingOptions . Item >
222
+ < PricingOptions . Heading > Copilot Individual</ PricingOptions . Heading >
223
+ < PricingOptions . Description >
224
+ Code completions, Chat, and more for indie developers and freelancers.
225
+ </ PricingOptions . Description >
226
+ < PricingOptions . Price trailingText = "per month / $100 per year" > 10</ PricingOptions . Price >
227
+ < PricingOptions . PrimaryAction as = "a" href = "#" >
228
+ Buy now
229
+ </ PricingOptions . PrimaryAction >
230
+ < PricingOptions . SecondaryAction as = "a" href = "#" >
231
+ Contact sales
232
+ </ PricingOptions . SecondaryAction >
233
+ < PricingOptions . FeatureList >
234
+ < PricingOptions . FeatureListItem > Code completions</ PricingOptions . FeatureListItem >
235
+ < PricingOptions . FeatureListItem > Chat in IDE and Mobile</ PricingOptions . FeatureListItem >
236
+ < PricingOptions . FeatureListItem > CLI assistance</ PricingOptions . FeatureListItem >
237
+ < PricingOptions . FeatureListItem > Security vulnerability filter</ PricingOptions . FeatureListItem >
238
+ </ PricingOptions . FeatureList >
239
+ </ PricingOptions . Item >
240
+ </ PricingOptions >
241
+ )
242
+ }
243
+
259
244
export const TwoOptions : StoryFn < typeof PricingOptions > = ( ) => {
260
245
return (
261
246
< PricingOptions >
0 commit comments