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

Runtime auto #8643

Closed
wants to merge 73 commits into from
Closed

Runtime auto #8643

wants to merge 73 commits into from

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    578c176 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    e8cc97c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. [Collapsible] Remove deprecated Collapsible argument (#7397)

    ### WHY are these changes introduced?
    
    Removes a deprecated argument on the Collapsible component with the
    major version bump.
    
    ### WHAT is this pull request doing?
    
    Removes the prop as a breaking change.
    
    ### 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)
    
    N/A tophatting instructions as Polaris does not use this prop
    internally.
    
    ### 🎩 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
    Bringer128 authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    d2d396f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    4ac85a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13d95f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Configuration menu
    Copy the full SHA
    bf9035b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    e10c1e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    e811088 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1441b7a View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Change Breadcrumbs to accept a single breadcrumb instead of an array (#…

    …7990)
    
    ### WHY are these changes introduced?
    
    Breadcrumbs has only been using a single breadcrumb for a while now.
    Instead of allowing consumers to pass an array without knowing why only
    a single link is being used, we should remove the ability to pass an
    array and make the component easier to understand implicitly.
    
    ### WHAT is this pull request doing?
    
    UI will not change. The Breadcrumbs component was already only using the
    last breadcrumb link in the array.
    
    This PR changes the props for breadcrumbs and also the implementation on
    the Page component.
    
    ### Migration path
    
    Since this PR removes the `breadcrumbs[]` prop in favor of `breadcrumb`
    all uses of Page, and Breadcrumbs will need to be migrated.
    
    It will look something like this:
    
    ```ts
    //before
    const breadcrumbs = [
          {
            content: 'Products',
            url: 'http://test.com',
          },
    ];
    <Page {...mockProps} breadcrumbs={breadcrumbs} />
    
    //after
    const breadcrumb = {
      content: 'Products',
      url: 'http://test.com',
    };
    <Page {...mockProps} breadcrumb={breadcrumb} />
    ```
    
    ### How to 🎩
    
    Check the Breadcrumbs and Page components in storybook
    
    ### 🎩 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
    itwasmattgregg authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    590711c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    690b6cf View commit details
    Browse the repository at this point in the history
  2. Fix breadcrumb tests

    alex-page committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    8de5271 View commit details
    Browse the repository at this point in the history
  3. Remove beta status from Text (#8187)

    ### WHY are these changes introduced?
    
    Now that the admin has been migrated to use Text, we can mark `Text` as
    stable in v11.
    
    ### WHAT is this pull request doing?
    
    Removes beta status and message banner from `Text` component page.
    <details>
          <summary>Update Text component page</summary>
    <img
    src="https://user-images.githubusercontent.com/26749317/215123915-0ed9fef9-d4f7-413a-a31e-73d4e80fec28.png"
    alt="Update Text component page">
        </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)
    
    ### 🎩 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
    laurkim authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    f5ad75f View commit details
    Browse the repository at this point in the history
  4. Remove deprecated typography components (#8184)

    ### WHY are these changes introduced?
    
    Resolves #6511.
    
    Now that `Shopify/web` has been migrated to use the `Text` component, we
    can safely remove the 6 deprecated typography components.
    
    Note: The 3 chromatic changes are related to other changes in the v11
    branch and not this PR.
    
    ### WHAT is this pull request doing?
    
    Removes `DisplayText`, `Heading`, `Subheading`, `Caption`, `TextStyle`,
    and `VisuallyHidden`.
    
    <!-- ℹ️ 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
    - [x] [Tophatted
    documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
    changes in the style guide
    laurkim authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    a1318f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Configuration menu
    Copy the full SHA
    ba75af4 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Configuration menu
    Copy the full SHA
    62593f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73a6bc5 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. 1/x Bump build dependencies (#8200)

    ### WHY are these changes introduced?
    
    Rollup and Babel are blocking our migration to minimum NodeJS version
    16.
    
    This PR updated all Rollup and Babel dependencies. These NPM package
    upgrades are not compatible with NodeJS 14.17 (main branch version).
    This change unblocks a larger change to our NodeJS versions.
    
    ### WHAT is this pull request doing?
    
    - [x] Moves duplicate dependencies to root
    - [x] Upgrades all rollup and babel dependencies
    - [x] Fixes any required breaking changes or warnings
    - [x] Compared diff of previous packages and new ones and it doesn't
    have a regression
    
    ### How to 🎩
    
    1. Run a build on `main` save the built files on desktop
    1. Run a build on this `bump-build-deps` save the built files on desktop
    1. Run a diff over the built files
    1. Make sure no regressions
    1. CI, tests should pass and website should render all pages.
    
    **@alex-page's output from Diff:**
    [diff.zip](https://github.com/Shopify/polaris/files/10531068/diff.zip)
    ```
    diff -bur polaris-tokens/dist-main polaris-tokens/dist-v11 > icons.diff
    diff -bur polaris-tokens/dist-main polaris-tokens/dist-v11 > tokens.diff
    diff -bur polaris-migrator/dist-main polaris-migrator/dist-v11 > migrator.diff
    diff -bur polaris-react/build-main polaris-react/build-v11 > react.diff
    ```
    
    ### 🎩 checklist
    
    - [x] Tested on
    [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
    - [x] Tested on [multiple
    browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers)
    - [x] Tested for
    [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md)
    - [x] 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
    alex-page authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    ff6248c View commit details
    Browse the repository at this point in the history
  2. 2/x Bump NodeJS supported versions to ^16.16 || ^18.13 (#8201)

    ### WHY are these changes introduced?
    
    NodeJS 14 is EOL and we are removing support in v11.
    
    We currently set `engines` on the root `package.json`. The problem with
    this is that consumers of the library do not get this information and
    they can use the libraries without any warning of what version of NodeJS
    it supports.
    
    ### WHAT is this pull request doing?
    
    - [x] Increasing the supported versions of NodeJS
    - [x] Add the engines field for NodeJS to package.json files
    
    I would like to get NodeJS to version 16.19 before we launch version 11.
    However there is an issue with babel/rollup/browserslist not finding the
    latest version of NodeJS:
    ```
    (plugin babel) BrowserslistError: Unknown version 16.19 of Node.js
    ``` 
    
    ### How to 🎩
    
    - CI completes successfully
    alex-page authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    89c8ae4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3bc5ac9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7691259 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f0dca0 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Re-add deprecated typography docs (#8206)

    ### WHY are these changes introduced?
    
    Re-adds the deprecated typography docs and images on the style guide so
    that users can still reference them.
    The `get-props` script had to be updated to resolve build errors. It was
    failing since the component files no longer existed in
    `polaris-react/src/components`.
    
    ### WHAT is this pull request doing?
    
    - Re-add dep components images
    - Re-add dep component pages
    - ~Adds new `deprecatedComponents` array to the `get-props` file and if
    the parsed file matches any of the elements, return empty object~
    - If component status is deprecated, props table is not rendered on
    component page
    
    <!-- ℹ️ 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
    - [x] [Tophatted
    documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
    changes in the style guide
    laurkim authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    1333261 View commit details
    Browse the repository at this point in the history
  2. Fix merge conflict

    laurkim committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    294326f View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Configuration menu
    Copy the full SHA
    fa47aa5 View commit details
    Browse the repository at this point in the history
  2. Remove downlevel-dts and legacy type support (#8203)

    ### WHY are these changes introduced?
    
    Polaris currently supports multiple TypeScript versions by building our
    types twice. This breaking change in v11 removes this functionality and
    we will only support the current version in the library.
    
    This used to be required to build the props table on
    legacy.polaris.shopify.com. This is no longer a requirement with
    @martenbjork brilliant work.
    
    ### WHAT is this pull request doing?
    
    Removes legacy type support for the library.
    
    ---------
    
    Co-authored-by: Ben Scott <[email protected]>
    Co-authored-by: Aaron Casanova <[email protected]>
    3 people authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6215f5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b348834 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into v11-major

    * main:
      Disallow text transform in stylelint-polaris coverage rules (#8244)
      Add new z-index token names (#8245)
      Version Packages (#8236)
      [Layout foundations][Batch 3] Rebuild components with layout primitives (#7950)
      [Backdrop] Call `onClick` regardless of `setClosing` prop presence (#8237)
    sam-b-rose committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    37cacc5 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    a766dec View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2023

  1. Configuration menu
    Copy the full SHA
    d3de5ab View commit details
    Browse the repository at this point in the history
  2. Fix props

    alex-page committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    b0ac7a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Configuration menu
    Copy the full SHA
    b686bc7 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    c07bf0c View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Remove support for React 16 and 17 (#8340)

    ### WHY are these changes introduced?
    
    Fixes #8331
    
    ### WHAT is this pull request doing?
    
    Removing support for v16 and v17 from Shopify Polaris.
    alex-page authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    79f40cd View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    994bb90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87ca999 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2867843 View commit details
    Browse the repository at this point in the history
  4. Update props.json

    alex-page committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    11d56c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    e288ca6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    641297f View commit details
    Browse the repository at this point in the history
  3. [Layout foundations] Replace Card with AlphaCard (#8468)

    ### WHY are these changes introduced?
    
    Resolves #8458, #8101, and #8376.
    
    Replaces `Card` with `AlphaCard`.
    
    ### WHAT is this pull request doing?
    
    - Replace Card with AlphaCard in polaris-react
    - Removes Card and examples in polaris.shopify.com
    - Updates any card links in style guide (links to content specifically
    in the `card.md` file was updated to point to `legacy-card.md`)
    - Removes temporary support for `Polaris-Card` class overrides in
    `LegacyCard`
    
    ### 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
    laurkim authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    5985838 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    04d1e51 View commit details
    Browse the repository at this point in the history
  2. bump yarn

    alex-page committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    971ceb3 View commit details
    Browse the repository at this point in the history
  3. Fix breadcrumb type issues

    alex-page committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9e03ab7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0070f64 View commit details
    Browse the repository at this point in the history
  5. Change breadcrumb to backlink (#8465)

    ### WHY are these changes introduced?
    
    Adjusting the syntax of the v11 change to `backLink`
    
    Also note that breadcrumbs are no longer supported in v11.
    
    ### 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
    
    ---------
    
    Co-authored-by: Sam Rose <[email protected]>
    itwasmattgregg and sam-b-rose authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    68fd9c0 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    f5cf669 View commit details
    Browse the repository at this point in the history
  2. Fix Card story spacing

    laurkim committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    4e7c41e View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    ed504b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    60940f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b95a8b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    35a4089 View commit details
    Browse the repository at this point in the history
  2. Replace useUniqueId with useId (#8396)

    ### WHY are these changes introduced?
    
    Fixes #8395 and is blocked by
    #8545
    
    ### WHAT is this pull request doing?
    
    Replaces `useUniqueId` with `useId`
    
    ---------
    
    Co-authored-by: Aaron Casanova <[email protected]>
    alex-page and aaronccasanova authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    62cca13 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af07c6d View commit details
    Browse the repository at this point in the history
  4. [Layout foundations] Replace Stack with AlphaStack (#8577)

    ### WHY are these changes introduced?
    
    Resolves #8102.
    
    Replaces deprecated `Stack` component with `AlphaStack`.
    
    ### WHAT is this pull request doing?
    
    - Replaces deprecated Stack with AlphaStack in `polaris-react`
    - Updates examples and components using AlphaStack to use Stack
    - Removes deprecated Stack documentation and examples
    - Updates AlphaStack documentation and examples
    
    ### 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)
    - [x] 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
    laurkim authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    50e8bb5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e80d1c7 View commit details
    Browse the repository at this point in the history
  6. Re-add Stack changes

    laurkim committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    bc99b8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ea8cb2a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e994a78 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Replace @shopify/babel-preset with using underlying configs

    This commit is a non-breaking change. There are slight differences with
    how class properties are initialised - it removes setting them to
    undefined before reassigning them, which isn't needed.
    BPScott committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    d118c25 View commit details
    Browse the repository at this point in the history
  2. Remove opting into babel plugins

    Now we transpile based upon our browserslist, we don't force the usage
    of these transpilations.
    
    In practice, given our current browserslist config this means that the
    following transforms are now no longer ran (for instance our compiled
    output now contains `foo?.bar` instead of that being transformed):
    
    - proposal-numeric-separator
    - proposal-nullish-coalescing-operator
    - proposal-optional-chaining
    BPScott committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    6e750e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cbc8b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe99874 View commit details
    Browse the repository at this point in the history
  5. add changeset

    BPScott committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    44b9887 View commit details
    Browse the repository at this point in the history
  6. Add runtime automatic

    alex-page committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    82ff68b View commit details
    Browse the repository at this point in the history
  7. Define our own in-repo babel configuration (#8624)

    ### WHY are these changes introduced?
    
    This PR replaces using `@shopify/babel-preset` with using the underlying
    presets directly.
    
    As part of this we simplify the plugins we use and lean more heavily on
    `@babel/preset-env`. As a result of this we no longer transpile numeric
    separators (`1_000`), nullish coalescing operators (`foo ?? 'bar'`) and
    optional chaining `foo?.bar` because our browserslist targets say that
    those features are all supported in the browsers that we target.
    
    This means that our build output now contains optional chaining et al.
    
    A breaking change side-effect of this is that code that uses these
    features will no longer successfully parse in webpack4, as webpack4 uses
    an old version of acorn does not understand these syntaxes. Webpack5
    uses a newer version of acorn that can read this just fine.
    
    ### WHAT is this pull request doing?
    
    Replace `@shopify/babel-config` with using `@babel/preset-env`,
    `@babel/preset-typescript` and `@babel/preset-react` directly.
    
    This PR is split into two commits. The first replaces
    `@shopify/babel-preset` with inline config, with minimal changes. The
    second removes the forced compilation of the 5 plugins that were always
    forced to be enabled.
    
    
    ### How to 🎩
    
    - Check out the main branch of polaris in your `~/projects/polaris`
    directory and run `cd package`, `yarn`, `yarn run turbo run build
    --filter='!polaris.shopify.com' --force` to produce a clean build
    - Check out this branch of polaris in your
    `~/src/github.com/Shopify/polaris` directory and run `cd package`,
    `yarn`, `yarn run turbo run build --filter='!polaris.shopify.com'
    --force` to produce a build
    - In the polaris in the src directory run `touch out.txt; for
    PACKAGENAME in $(ls -1 . | grep '^polaris-'); diff -ru
    ~/projects/polaris/$PACKAGENAME $PACKAGENAME -x '*.tsbuildinfo' -x
    '*.d.ts.map' -x'.turbo' -x '*.esnext' >> out.txt` to compare the build
    folder output. Note that the differences are as follows:
    - A handful of places where a class property is initialised to `void 0`.
    In all cases either the value is already implicitly undefined, or is
    assigned to a value shortly afterwards
      - Optional chaining is now left intact
      - Nullish coalesing is now left intact
      - numeric separators are now left intact
    
    ---------
    
    Co-authored-by: Alex Page <[email protected]>
    BPScott and alex-page authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    d1c9d98 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    69a0ac0 View commit details
    Browse the repository at this point in the history
  9. Fix Card example metadata

    laurkim committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    4da3517 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Configuration menu
    Copy the full SHA
    6a61bef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    628cc5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0b3159 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Fix up config

    alex-page committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d09999c View commit details
    Browse the repository at this point in the history
  2. Run migration

    alex-page committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ce3542c View commit details
    Browse the repository at this point in the history