Skip to content

Commit 432bdd5

Browse files
[Icon] Add cancel major (#7548)
### WHY are these changes introduced? Add Major icon version for `Cancel` to accompany minor version. Duplicated minor `Cancel small` to get naming for major/minor on the same track. Deprecating `MobileCancelMajor`, and `Cancel small` in a separate PR. ### WHAT is this pull request doing? Added major version for `Cancel` icon. Solves part of this issue #7490 ### 🎩 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 - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide Co-authored-by: Alex Page <hi@alexpage.dev>
1 parent f14d986 commit 432bdd5

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

.changeset/cyan-jars-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris-icons': minor
3+
---
4+
5+
add cancel major icon
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Cancel
2+
set: major
3+
description: Used to denote the action of cancelling a task or action and to close an overlay modal or bottom sheet.
4+
keywords:
5+
- cancel
6+
- delete
7+
- stop
8+
- remove
9+
- undo
10+
- x
11+
- close
12+
authors:
13+
- Anthony Menecola
14+
version: 1
15+
date_added: 2022-10-27
16+
date_modified: 2022-10-27
17+
exclusive_use:
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Cancel
2+
set: minor
3+
description: Used to denote the action of cancelling a task or action and to close an overlay or view.
4+
keywords:
5+
- cancel
6+
- stop
7+
- undo
8+
- remove
9+
- x
10+
authors:
11+
- Adam Whitcroft
12+
version: 1
13+
date_added: 2022-10-28
14+
date_modified: 2022-10-28
15+
exclusive_use:

0 commit comments

Comments
 (0)