Skip to content

Commit 300b6d4

Browse files
authored
[Layout foundations] Remove Tiles (#7775)
### WHY are these changes introduced? Resolves #7770. After discussion among the layout foundations team, we've determined that `Tiles` does not provide additional benefit that `Column` does not support. Documentation gets confusing because we are unable to create a distinction between the two, so we've decided to remove the component and update guidance on the `Columns` component instead. ### WHAT is this pull request doing? Removes `Tiles` component and storybook examples. Removes `Tiles` page from style guide and examples. Updates `get-props` script in style guide. ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [x] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide
1 parent 4cb1c6a commit 300b6d4

File tree

11 files changed

+642
-986
lines changed

11 files changed

+642
-986
lines changed

.changeset/kind-dogs-give.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@shopify/polaris': minor
3+
'polaris.shopify.com': minor
4+
---
5+
6+
Removed `Tiles` and examples in style guide

polaris-react/src/components/Tiles/Tiles.scss

Lines changed: 0 additions & 37 deletions
This file was deleted.

polaris-react/src/components/Tiles/Tiles.stories.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

polaris-react/src/components/Tiles/Tiles.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

polaris-react/src/components/Tiles/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

polaris-react/src/components/Tiles/tests/Tiles.test.tsx

Lines changed: 0 additions & 34 deletions
This file was deleted.

polaris-react/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,6 @@ export type {TextStyleProps} from './components/TextStyle';
372372
export {Thumbnail} from './components/Thumbnail';
373373
export type {ThumbnailProps} from './components/Thumbnail';
374374

375-
export {Tiles} from './components/Tiles';
376-
export type {TilesProps} from './components/Tiles';
377-
378375
export {Toast} from './components/Toast';
379376
export type {ToastProps} from './components/Toast';
380377

polaris.shopify.com/content/components/tiles.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

polaris.shopify.com/pages/examples/tiles-with-columns.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

polaris.shopify.com/pages/examples/tiles-with-gap.tsx

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)