Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UNRELEASED-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t
- Removed the `font-family()` function and replaced any instances with tokens ([#4940](https://github.com/Shopify/polaris-react/pull/4940))
- Removed the `available-names()` scss function ([#4967](https://github.com/Shopify/polaris-react/pull/4967))
- Removed the `unstyled-link()` mixin and replaced any instances with values ([#4951](https://github.com/Shopify/polaris-react/pull/4951))
- Removed the `unstyled-list()` mixin and replaced any instances with values ([#4960](https://github.com/Shopify/polaris-react/pull/4960))

### New components

Expand Down
11 changes: 8 additions & 3 deletions src/components/Navigation/Navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ $secondary-item-font-size: 15px;
}

.List {
@include unstyled-list;
margin: 0;
padding: 0;
list-style: none;
}

.Item {
Expand Down Expand Up @@ -326,11 +328,12 @@ $secondary-item-font-size: 15px;

// Section styles
.Section {
@include unstyled-list;
flex: 0 0 auto;
margin: 0;
padding: var(--p-space-4) 0;
padding-top: 0;
@include safe-area-for(padding-left, 0, left);
list-style: none;

+ .Section {
padding-top: var(--p-space-1);
Expand Down Expand Up @@ -438,7 +441,9 @@ $secondary-item-font-size: 15px;
}

.List {
@include unstyled-list;
margin: 0;
padding: 0;
list-style: none;
}

.Indicator {
Expand Down
7 changes: 5 additions & 2 deletions src/components/OptionList/OptionList.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
@import '../../styles/common';

.OptionList {
@include unstyled-list;
margin: 0;
padding: var(--p-space-2);
list-style: none;
}

.Options {
@include unstyled-list;
margin: 0;
padding: 0;
list-style: none;
}

.Title {
Expand Down
1 change: 0 additions & 1 deletion src/styles/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
@import './shared/forms';
@import './shared/icons';
@import './shared/layout';
@import './shared/lists';
@import './shared/page';
@import './shared/typography';
@import './shared/skeleton';
Expand Down
1 change: 0 additions & 1 deletion src/styles/_public-api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
@import './shared/forms';
@import './shared/icons';
@import './shared/layout';
@import './shared/lists';
@import './shared/page';
@import './shared/typography';
@import './shared/skeleton';
Expand Down
5 changes: 0 additions & 5 deletions src/styles/shared/_lists.scss

This file was deleted.