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

Migration update button component #10263

Merged
merged 22 commits into from
Sep 6, 2023
Merged

Conversation

aveline
Copy link
Contributor

@aveline aveline commented Aug 28, 2023

WHY are these changes introduced?

Fixes #10161

WHAT is this pull request doing?

Migration updates 920 files in web
Adds comments to 1650 files to be updated manually

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

Copy-paste this code in playground/Playground.tsx:
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>
  );
}

🎩 checklist

@aveline
Copy link
Contributor Author

aveline commented Aug 31, 2023

/snapit

@github-actions
Copy link
Contributor

🫰✨ Thanks @aveline! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20230831175131
yarn add @shopify/polaris@0.0.0-snapshot-release-20230831175131

@aveline aveline marked this pull request as ready for review August 31, 2023 18:57
@aveline aveline changed the title 🚧 Migration update button component Migration update button component Aug 31, 2023
Copy link
Contributor

@kyledurand kyledurand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking great 🙌

aveline and others added 5 commits September 6, 2023 08:14
Co-authored-by: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
Co-Authored-By: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
@aveline
Copy link
Contributor Author

aveline commented Sep 6, 2023

/snapit

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

🫰✨ Thanks @aveline! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20230906172306
yarn add @shopify/polaris@0.0.0-snapshot-release-20230906172306

Co-Authored-By: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
@aveline
Copy link
Contributor Author

aveline commented Sep 6, 2023

/snapit

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

🫰✨ Thanks @aveline! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20230906194504
yarn add @shopify/polaris@0.0.0-snapshot-release-20230906194504

@aveline aveline merged commit 67699cb into main Sep 6, 2023
10 checks passed
@aveline aveline deleted the migration-update-button-component branch September 6, 2023 20:36
kyledurand pushed a commit that referenced this pull request Sep 7, 2023
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @shopify/polaris-icons@7.9.0

### Minor Changes

- [#9856](#9856)
[`47652f7d6`](47652f7)
Thanks [@heyjoethomas](https://github.com/heyjoethomas)! - Updates
social media icons, removing them from their containers and adds a one
for the Twitch platform.

## @shopify/polaris-migrator@0.22.0

### Minor Changes

- [#10263](#10263)
[`67699cb88`](67699cb)
Thanks [@aveline](https://github.com/aveline)! - Added migration for
`Button` component

## @shopify/polaris@11.15.0

### Minor Changes

- [#9701](#9701)
[`cbf539495`](cbf5394)
Thanks [@martenbjork](https://github.com/martenbjork)! - Updated the
Frame and Topbar components to stay clear of a scrollbar. This reduces
the overall jumpiness in the UI when scrollbars appear and disappear
when using a Polaris app.

### Patch Changes

- [#10284](#10284)
[`eba75d20a`](eba75d2)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Updated
`Filters` query field to initialize with focus based on `mode` state


- [#10282](#10282)
[`9a2d4f62a`](9a2d4f6)
Thanks [@kyledurand](https://github.com/kyledurand)! - Fixed pointer
alignment on tooltip


- [#10343](#10343)
[`12a62b4d7`](12a62b4)
Thanks [@mrcthms](https://github.com/mrcthms)! - Fixed UI
inconsistencies in the mobile view of the IndexFilters


- [#10276](#10276)
[`abb50250e`](abb5025)
Thanks [@highfieldjames](https://github.com/highfieldjames)! - Updated
`TextField` of `type` `number` to focus when a `Spinner` button is
clicked

- Updated dependencies
\[[`47652f7d6`](47652f7)]:
    -   @shopify/polaris-icons@7.9.0

## polaris.shopify.com@0.57.3

### Patch Changes

- Updated dependencies
\[[`47652f7d6`](47652f7),
[`eba75d20a`](eba75d2),
[`9a2d4f62a`](9a2d4f6),
[`12a62b4d7`](12a62b4),
[`cbf539495`](cbf5394),
[`abb50250e`](abb5025)]:
    -   @shopify/polaris-icons@7.9.0
    -   @shopify/polaris@11.15.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
### WHY are these changes introduced?

Fixes Shopify#10161

### WHAT is this pull request doing?

Migration updates `920` files in `web`
Adds comments to `1650` files to be updated manually

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

---------

Co-authored-by: Lo Kim <26749317+laurkim@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.

Create Button migrations
3 participants