Skip to content

Commit

Permalink
feat(pricing): add pattern (#4084)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PixeledCode authored Oct 11, 2024
1 parent 52ea257 commit fb3dc48
Show file tree
Hide file tree
Showing 7 changed files with 995 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/four-worms-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/core": patch
"@twilio-paste/grid": patch
---

[Grid]: Fix rowGap and columnGap prop not applying
1 change: 1 addition & 0 deletions cypress/integration/sitemap-vrt/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export const SITEMAP = [
"/patterns/empty-state/",
"/patterns/error-state/",
"/patterns/notifications-and-feedback/",
"/patterns/pricing/",
"/patterns/privacy/",
"/patterns/status/",
"/primitives/combobox-primitive/",
Expand Down
2 changes: 2 additions & 0 deletions packages/paste-core/layout/grid/src/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const Grid = React.forwardRef<HTMLDivElement, GridProps>(
marginTop={marginTop}
marginBottom={marginBottom}
minWidth="size0"
rowGap={props.rowGap}
columnGap={props.columnGap}
>
{GridColumns}
</Box>
Expand Down
2 changes: 1 addition & 1 deletion packages/paste-core/layout/grid/stories/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ Grid2ColumnContentWithCard.storyName = "Grid - 2 Column Content with Card";
export const GridEqualHeightColumns = (): React.ReactNode => {
return (
<>
<Grid gutter="space30" vertical={[true, true, false]} equalColumnHeights>
<Grid gutter="space30" rowGap="space30" vertical={[true, true, false]} equalColumnHeights>
<Column span={4}>
<Card padding="space70">
<Heading as="h2" variant="heading20">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fb3dc48

Please sign in to comment.