Skip to content

Commit fb3dc48

Browse files
authored
feat(pricing): add pattern (#4084)
* feat(pricing): create pattern page * feat(pricing): add PricingCard * feat(pricing): add VisualPickerExample * feat(pricing): add table example * feat(pricing): add examples to docs * feat(pricing): update typedocs * feat(pricing): update typedocs * feat(pricing): update sitemap vrt * feat(pricing): update typedocs * feat(pricing): update typedocs * feat(pricing): add max width * feat(pricing): update typedocs * feat(pricing): implement changes from review * feat(pricing): update table alignment * feat(pricing): remove size small * feat(pricing): fix badge height * feat(pricing): implement changes from review * feat(pricing): update stories and docs * fix(grid): fix rowGap and columnGap not applying * fix(grid): add changeset * feat(pricing): implement changes from review * feat(pricing): implement changes from review * feat(pricing): update text * feat(pricing): implement changes from review * feat(pricing): replace paragraph with text component * feat(pricing): align all more info buttons to bottom * feat(pricing): add image to doc page * feat(pricing): implement changes from review * feat(pricing): hide more info button on mobile
1 parent 52ea257 commit fb3dc48

File tree

7 files changed

+995
-1
lines changed

7 files changed

+995
-1
lines changed

.changeset/four-worms-search.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@twilio-paste/core": patch
3+
"@twilio-paste/grid": patch
4+
---
5+
6+
[Grid]: Fix rowGap and columnGap prop not applying

cypress/integration/sitemap-vrt/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ export const SITEMAP = [
303303
"/patterns/empty-state/",
304304
"/patterns/error-state/",
305305
"/patterns/notifications-and-feedback/",
306+
"/patterns/pricing/",
306307
"/patterns/privacy/",
307308
"/patterns/status/",
308309
"/primitives/combobox-primitive/",

packages/paste-core/layout/grid/src/Grid.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ const Grid = React.forwardRef<HTMLDivElement, GridProps>(
7474
marginTop={marginTop}
7575
marginBottom={marginBottom}
7676
minWidth="size0"
77+
rowGap={props.rowGap}
78+
columnGap={props.columnGap}
7779
>
7880
{GridColumns}
7981
</Box>

packages/paste-core/layout/grid/stories/index.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ Grid2ColumnContentWithCard.storyName = "Grid - 2 Column Content with Card";
732732
export const GridEqualHeightColumns = (): React.ReactNode => {
733733
return (
734734
<>
735-
<Grid gutter="space30" vertical={[true, true, false]} equalColumnHeights>
735+
<Grid gutter="space30" rowGap="space30" vertical={[true, true, false]} equalColumnHeights>
736736
<Column span={4}>
737737
<Card padding="space70">
738738
<Heading as="h2" variant="heading20">
100 KB
Loading

0 commit comments

Comments
 (0)