Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main at c75c87d into next #10704

Merged
merged 6 commits into from
Sep 26, 2023
Merged

Merge main at c75c87d into next #10704

merged 6 commits into from
Sep 26, 2023

Conversation

sophschneider
Copy link
Contributor

Merge main at c75c87dff58bd08ec2532de9ea694f256cc07377 into next following this process

Commits merged from main

fabiormoura and others added 5 commits September 26, 2023 17:02
### WHY are these changes introduced?

Follows after #9872 and a similar
motivation as in #9873 but for
"pending suspension"

<img width="1071" alt="image"
src="https://github.com/Shopify/polaris/assets/663329/512a03f1-bce2-4677-bcc8-885e4e91da6d">
Storybook url: http://243.27.6.121:6006/
<!--
  Context about the problem that’s being addressed.
-->

### WHAT is this pull request doing?

<!--
  Summary of the changes committed.

Before / after screenshots are appreciated for UI changes. Make sure to
include alt text that describes the screenshot.

If you include an animated gif showing your change, wrapping it in a
details tag is recommended. Gifs usually autoplay, which can cause
accessibility issues for people reviewing your PR:

    <details>
      <summary>Summary of your gif(s)</summary>
      <img src="..." alt="Description of what the gif shows">
    </details>
-->

<!-- ℹ️ Delete the following for small / trivial changes -->

### 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)

<!--
  Give as much information as needed to experiment with the component
  in the playground.
-->

<details>
<summary>Copy-paste this code in
<code>playground/Playground.tsx</code>:</summary>

```jsx
import React from 'react';
import {Page} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      {/* Add the code you want to test in here */}
    </Page>
  );
}
```

</details>

### 🎩 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
### WHY are these changes introduced?

Fixes #10498

### WHAT is this pull request doing?

Handles automatic and manual migrations for font tokens

Ran the following migration

```
npx @shopify/polaris-migrator@0.0.0-snapshot-release-20230921230145 \
  v12-styles-replace-custom-property-font \
  'src/**/*.scss'
```

~Used the following regex to search for manually migrations~

Omitting manual migrations at this point

```
(?:--p-font-size-70-experimental|--p-font-size-80-experimental|--p-font-size-100|--p-font-size-700|--p-font-line-height-075-experimental|--p-font-line-height-1|--p-font-line-height-2|--p-font-line-height-3|--p-font-line-height-4|--p-font-line-height-5|--p-font-line-height-6|--p-font-line-height-7)(?![\w-])
```
@sophschneider
Copy link
Contributor Author

@pamelagunawan @fabiormoura I consolidated your new row style as best I could, it looks to be ok in storybook but if you could tophat as well to make sure that would be great!

https://5d559397bae39100201eedc1-sfdvwdmoht.chromatic.com/?path=/story/all-components-indextable--with-row-status

Screenshot 2023-09-26 at 5 43 15 PM

@sophschneider sophschneider mentioned this pull request Sep 26, 2023
5 tasks
@sophschneider sophschneider marked this pull request as ready for review September 26, 2023 21:45
@sophschneider sophschneider merged commit 2e610cb into next Sep 26, 2023
12 checks passed
@sophschneider sophschneider deleted the sophie/meeerrrrgemain branch September 26, 2023 22:13
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
Merge `main` at `6cb0d56a4892210245694673dc78c5e45c80755b` into `next`
following [this
process](Shopify#10594)

## Commits merged from main
-
Shopify@43e34f6
@fabiormoura
-
Shopify@8bee00f
@aveline
-
Shopify@6cb0d56
@aaronccasanova

---------

Co-authored-by: Fabio Maia <fabioromm@gmail.com>
Co-authored-by: aveline <aveline@users.noreply.github.com>
Co-authored-by: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants