Skip to content

Conversation

@stefanlegg
Copy link
Contributor

@stefanlegg stefanlegg commented Mar 28, 2023

WHY are these changes introduced?

Resolves #8760: Optionally provide a separate event handler for changes via the stepper control
Edit: this PR was extended to support Spinbutton pattern keyboard interactions

Related to the needs of this epic.

  • We have a UX case that requires a number input to only allow multiples of a given number, or at minimum "autocorrect" valid inputs.
  • The onChange prop by itself is not a sufficient handler to do this considering you could correct a value before the user is done typing. Consider the case where step is 5 and the user is trying to type 25. If you autocorrect during onChange you would correct them to 5 after they press 2, and then the subsequent typed 0 will take them to 50.
  • Dynamically changing the step value to get the user back on correct multiples also doesn't work considering you'd need different step values between moving upward and downward.
  • If we can differentiate between a typed change, and a change via the stepper, we can adjust incoming changes from the stepper to be back at increments of the step value.
  • There is a spin instance linked in that epic that has this change. I can walk you through how we're using it to get the intended UX if desired.

WHAT is this pull request doing?

This PR adds an option onStepperChange prop for use when TextField's type is a number. When onStepperChange is provided it will be called instead of onChange when the user is incrementing up or down via the stepper control.

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

The provided playground code will at least demonstrate the split handling between onChange and onStepperChange

Copy-paste this code in playground/Playground.tsx:
import React from 'react';

import {Page, TextField} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      <TextField
        id="MyTextField"
        label="TextField"
        type="number"
        value="4"
        step={4}
        onStepperChange={(value) => {
          console.log(`${value} came from the stepper`);
        }}
        onChange={(value) => {
          console.log(`${value} came via typed input`);
        }}
        autoComplete="off"
      />
      ,
    </Page>
  );
}

🎩 checklist

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2023

size-limit report 📦

Path Size
polaris-react-cjs 240.18 KB (+0.06% 🔺)
polaris-react-esm 156.66 KB (+0.1% 🔺)
polaris-react-esnext 218.86 KB (+0.06% 🔺)
polaris-react-css 47.24 KB (0%)

@stefanlegg
Copy link
Contributor Author

/snapit

@github-actions
Copy link
Contributor

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

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

yarn add @shopify/polaris-cli@0.0.0-snapshot-release-20230330141512
yarn add @shopify/polaris@0.0.0-snapshot-release-20230330141512

@chazdean
Copy link
Contributor

chazdean commented Apr 5, 2023

@stefanlegg Is it possible to see a code example of this new <TextField> being used in web?

@stefanlegg
Copy link
Contributor Author

@chazdean Totally! Here's a link to where we're using this in our current proof of concept branch

@chazdean
Copy link
Contributor

chazdean commented Apr 6, 2023

The addition of this prop I think adds a lot of value even outside of this specific context so I give it a 👍🏾. The only thing I'll recommend is we should also update Spinner to follow the spinbutton WCAG pattern spec, as that supports accessibility needed for the behavior being implemented in the Catalogs feature you're working on

@stefanlegg
Copy link
Contributor Author

stefanlegg commented Apr 6, 2023

The addition of this prop I think adds a lot of value even outside of this specific context so I give it a 👍🏾. The only thing I'll recommend is we should also update Spinner to follow the spinbutton WCAG pattern spec, as that supports accessibility needed for the behavior being implemented in the Catalogs feature you're working on

@chazdean Good call - I'd happily make a follow up PR for that! Just to make sure I'm referencing the same thing, you're talking about adding the following right?

  • Home key: If the spinbutton has a minimum value, sets the value to its minimum.
  • End key: If the spinbutton has a maximum value, sets the value to its maximum.
  • Page Up (Optional): Increases the value by a larger step than Up Arrow.
  • Page Down (Optional): Decreases the value by a larger step than Down Arrow.

Am I missing anything? Or are you talking about something else?
It'd probably be worth checking that all the aria states and properties are covered too.

@chazdean
Copy link
Contributor

Am I missing anything? Or are you talking about something else?

@stefanlegg Nope, thats exactly it!

@stefanlegg
Copy link
Contributor Author

@stefanlegg Nope, thats exactly it!

@chazdean Perfect! I'll tag you on the PR when I have that ready

event.preventDefault();
}

function handleKeyDown(event: React.KeyboardEvent) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

[note] Link to the spec for these interactions

@stefanlegg
Copy link
Contributor Author

/snapit

@stefanlegg stefanlegg requested a review from chazdean April 12, 2023 20:41
@github-actions
Copy link
Contributor

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

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

yarn add @shopify/polaris-cli@0.0.0-snapshot-release-20230412204006
yarn add @shopify/polaris@0.0.0-snapshot-release-20230412204006

@stefanlegg stefanlegg changed the title [TextField] Add onStepperChange optional prop [TextField] Add onStepperChange optional prop, and support Spinbutton pattern keyboard interactions Apr 12, 2023
@chazdean chazdean requested a review from chloerice April 13, 2023 13:42
@stefanlegg
Copy link
Contributor Author

/snapit

@github-actions
Copy link
Contributor

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

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

yarn add @shopify/polaris-cli@0.0.0-snapshot-release-20230413141155
yarn add @shopify/polaris@0.0.0-snapshot-release-20230413141155

Copy link
Contributor

@chazdean chazdean left a comment

Choose a reason for hiding this comment

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

LGTM ✅ Working as expected

Copy link
Member

@chloerice chloerice left a comment

Choose a reason for hiding this comment

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

This works great, I love that you're using the spinbutton spec 🙌🏽

Co-authored-by: Chloe Rice <chloerice@users.noreply.github.com>
@stefanlegg stefanlegg merged commit e8c5a22 into main Apr 13, 2023
@stefanlegg stefanlegg deleted the sl-step-change branch April 13, 2023 20:14
chloerice pushed a commit that referenced this pull request Apr 17, 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.0.0

### Major Changes

- [#8919](#8919)
[`7349d4108`](7349d41)
Thanks [@skparkk](https://github.com/skparkk)! - Added new keyboard
major + minor icons

### Minor Changes

- [#8924](#8924)
[`4880e3ed7`](4880e3e)
Thanks [@Tal87](https://github.com/tal87)! - Added PersonalizedTextMajor
icon


- [#8861](#8861)
[`2bc90503d`](2bc9050)
Thanks [@AlejandroE](https://github.com/AlejandroE)! - Added
ExploreImagesMajor

## @shopify/stylelint-polaris@10.0.0

### Major Changes

- [#8973](#8973)
[`f1a3ad756`](f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [#8455](#8455)
[`80eb3ac55`](80eb3ac)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

### Minor Changes

- [#8968](#8968)
[`dbe68efb4`](dbe68ef)
Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Added
`custom-property-disallowed-list` rule

## @shopify/polaris@10.44.0

### Minor Changes

- [#8936](#8936)
[`a2c9b1d24`](a2c9b1d)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed Inline to
HorizontalStack


- [#8773](#8773)
[`e8c5a2243`](e8c5a22)
Thanks [@stefanlegg](https://github.com/stefanlegg)! - - Added an
optional `onSpinnerChange` prop to`TextField`
    -   Added an optional `largeStep` prop to `TextField`
- Added `TextField` `Spinner` keypress interactions for Home, End, Page
Up, Page Down


- [#8876](#8876)
[`090d09683`](090d096)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [#8973](#8973)
[`f1a3ad756`](f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [#8937](#8937)
[`fcc543928`](fcc5439)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed `Columns`
to `HorizontalGrid`


- [#8938](#8938)
[`289dce569`](289dce5)
Thanks [@alex-page](https://github.com/alex-page)! - Remove deprecation
from `Grid` component


- [#8935](#8935)
[`7f3053342`](7f30533)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [#8596](#8596)
[`421bb49dc`](421bb49)
Thanks [@brendanrygus](https://github.com/brendanrygus)! - [Frame] Fix
minimum height overflowing in iOS Webkit browsers


- [#8953](#8953)
[`500eed660`](500eed6)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Added
`customActivator` prop to `TopBar.UserMenu`
- Added support for setting a `ReactNode` on `ActionList` `Section`
`title`

### Patch Changes

- [#8842](#8842)
[`bd64fa583`](bd64fa5)
Thanks [@martenbjork](https://github.com/martenbjork)! - Removed the
Exiting animation state from Popovers, causing them to close immediately
instead of after a 100ms delay.


- [#8913](#8913)
[`261355f07`](261355f)
Thanks [@mrcthms](https://github.com/mrcthms)! - Tweaked the vertical
alignment of elements within the `AlphaFilters` component


- [#8954](#8954)
[`f9366c22d`](f9366c2)
Thanks [@laurkim](https://github.com/laurkim)! - Updated custom property
names to align with new component names for `HorizontalGrid`,
`HorizontalStack`, and `VerticalStack`


- [#8912](#8912)
[`1cc47495a`](1cc4749)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `BulkActions`
to include wrapping tooltip on Popover activator

- Updated dependencies
\[[`4880e3ed7`](4880e3e),
[`7349d4108`](7349d41),
[`2bc90503d`](2bc9050)]:
    -   @shopify/polaris-icons@7.0.0

## @shopify/polaris-cli@0.1.28

### Patch Changes

-   Updated dependencies \[]:
    -   @shopify/polaris-migrator@0.17.2

## @shopify/polaris-codemods@0.0.3

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](f1a3ad7),
[`80eb3ac55`](80eb3ac),
[`dbe68efb4`](dbe68ef)]:
    -   @shopify/stylelint-polaris@10.0.0

## @shopify/polaris-migrator@0.17.2

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](f1a3ad7),
[`80eb3ac55`](80eb3ac),
[`dbe68efb4`](dbe68ef)]:
    -   @shopify/stylelint-polaris@10.0.0

## polaris.shopify.com@0.49.0

### Minor Changes

- [#8876](#8876)
[`090d09683`](090d096)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [#8973](#8973)
[`f1a3ad756`](f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [#8967](#8967)
[`45d978e7b`](45d978e)
Thanks [@lgriffee](https://github.com/lgriffee)! - Added a version
matchup table to `stylelint-polaris` documentation


- [#8986](#8986)
[`f70f586ee`](f70f586)
Thanks [@laurkim](https://github.com/laurkim)! - Added documentation for
the `react-rename-component` codemod


- [#8935](#8935)
[`7f3053342`](7f30533)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [#8920](#8920)
[`2bad4e305`](2bad4e3)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added copy button
to markdown headings with ids

### Patch Changes

- [#8915](#8915)
[`c8a130caf`](c8a130c)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added
scroll-margin-top to anchor links to prevent top bar overlay


- [#8455](#8455)
[`80eb3ac55`](80eb3ac)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

- Updated dependencies
\[[`a2c9b1d24`](a2c9b1d),
[`e8c5a2243`](e8c5a22),
[`090d09683`](090d096),
[`bd64fa583`](bd64fa5),
[`f1a3ad756`](f1a3ad7),
[`261355f07`](261355f),
[`fcc543928`](fcc5439),
[`4880e3ed7`](4880e3e),
[`7349d4108`](7349d41),
[`2bc90503d`](2bc9050),
[`f9366c22d`](f9366c2),
[`289dce569`](289dce5),
[`7f3053342`](7f30533),
[`421bb49dc`](421bb49),
[`500eed660`](500eed6),
[`1cc47495a`](1cc4749)]:
    -   @shopify/polaris@10.44.0
    -   @shopify/polaris-icons@7.0.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
juzser pushed a commit to juzser/polaris that referenced this pull request Jul 27, 2023
juzser pushed a commit to juzser/polaris that referenced this pull request Jul 27, 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.0.0

### Major Changes

- [Shopify#8919](Shopify#8919)
[`7349d4108`](Shopify@7349d41)
Thanks [@skparkk](https://github.com/skparkk)! - Added new keyboard
major + minor icons

### Minor Changes

- [Shopify#8924](Shopify#8924)
[`4880e3ed7`](Shopify@4880e3e)
Thanks [@Tal87](https://github.com/tal87)! - Added PersonalizedTextMajor
icon


- [Shopify#8861](Shopify#8861)
[`2bc90503d`](Shopify@2bc9050)
Thanks [@AlejandroE](https://github.com/AlejandroE)! - Added
ExploreImagesMajor

## @shopify/stylelint-polaris@10.0.0

### Major Changes

- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8455](Shopify#8455)
[`80eb3ac55`](Shopify@80eb3ac)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

### Minor Changes

- [Shopify#8968](Shopify#8968)
[`dbe68efb4`](Shopify@dbe68ef)
Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Added
`custom-property-disallowed-list` rule

## @shopify/polaris@10.44.0

### Minor Changes

- [Shopify#8936](Shopify#8936)
[`a2c9b1d24`](Shopify@a2c9b1d)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed Inline to
HorizontalStack


- [Shopify#8773](Shopify#8773)
[`e8c5a2243`](Shopify@e8c5a22)
Thanks [@stefanlegg](https://github.com/stefanlegg)! - - Added an
optional `onSpinnerChange` prop to`TextField`
    -   Added an optional `largeStep` prop to `TextField`
- Added `TextField` `Spinner` keypress interactions for Home, End, Page
Up, Page Down


- [Shopify#8876](Shopify#8876)
[`090d09683`](Shopify@090d096)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8937](Shopify#8937)
[`fcc543928`](Shopify@fcc5439)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed `Columns`
to `HorizontalGrid`


- [Shopify#8938](Shopify#8938)
[`289dce569`](Shopify@289dce5)
Thanks [@alex-page](https://github.com/alex-page)! - Remove deprecation
from `Grid` component


- [Shopify#8935](Shopify#8935)
[`7f3053342`](Shopify@7f30533)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [Shopify#8596](Shopify#8596)
[`421bb49dc`](Shopify@421bb49)
Thanks [@brendanrygus](https://github.com/brendanrygus)! - [Frame] Fix
minimum height overflowing in iOS Webkit browsers


- [Shopify#8953](Shopify#8953)
[`500eed660`](Shopify@500eed6)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Added
`customActivator` prop to `TopBar.UserMenu`
- Added support for setting a `ReactNode` on `ActionList` `Section`
`title`

### Patch Changes

- [Shopify#8842](Shopify#8842)
[`bd64fa583`](Shopify@bd64fa5)
Thanks [@martenbjork](https://github.com/martenbjork)! - Removed the
Exiting animation state from Popovers, causing them to close immediately
instead of after a 100ms delay.


- [Shopify#8913](Shopify#8913)
[`261355f07`](Shopify@261355f)
Thanks [@mrcthms](https://github.com/mrcthms)! - Tweaked the vertical
alignment of elements within the `AlphaFilters` component


- [Shopify#8954](Shopify#8954)
[`f9366c22d`](Shopify@f9366c2)
Thanks [@laurkim](https://github.com/laurkim)! - Updated custom property
names to align with new component names for `HorizontalGrid`,
`HorizontalStack`, and `VerticalStack`


- [Shopify#8912](Shopify#8912)
[`1cc47495a`](Shopify@1cc4749)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `BulkActions`
to include wrapping tooltip on Popover activator

- Updated dependencies
\[[`4880e3ed7`](Shopify@4880e3e),
[`7349d4108`](Shopify@7349d41),
[`2bc90503d`](Shopify@2bc9050)]:
    -   @shopify/polaris-icons@7.0.0

## @shopify/polaris-cli@0.1.28

### Patch Changes

-   Updated dependencies \[]:
    -   @shopify/polaris-migrator@0.17.2

## @shopify/polaris-codemods@0.0.3

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](Shopify@f1a3ad7),
[`80eb3ac55`](Shopify@80eb3ac),
[`dbe68efb4`](Shopify@dbe68ef)]:
    -   @shopify/stylelint-polaris@10.0.0

## @shopify/polaris-migrator@0.17.2

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](Shopify@f1a3ad7),
[`80eb3ac55`](Shopify@80eb3ac),
[`dbe68efb4`](Shopify@dbe68ef)]:
    -   @shopify/stylelint-polaris@10.0.0

## polaris.shopify.com@0.49.0

### Minor Changes

- [Shopify#8876](Shopify#8876)
[`090d09683`](Shopify@090d096)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@f1a3ad7)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8967](Shopify#8967)
[`45d978e7b`](Shopify@45d978e)
Thanks [@lgriffee](https://github.com/lgriffee)! - Added a version
matchup table to `stylelint-polaris` documentation


- [Shopify#8986](Shopify#8986)
[`f70f586ee`](Shopify@f70f586)
Thanks [@laurkim](https://github.com/laurkim)! - Added documentation for
the `react-rename-component` codemod


- [Shopify#8935](Shopify#8935)
[`7f3053342`](Shopify@7f30533)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [Shopify#8920](Shopify#8920)
[`2bad4e305`](Shopify@2bad4e3)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added copy button
to markdown headings with ids

### Patch Changes

- [Shopify#8915](Shopify#8915)
[`c8a130caf`](Shopify@c8a130c)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added
scroll-margin-top to anchor links to prevent top bar overlay


- [Shopify#8455](Shopify#8455)
[`80eb3ac55`](Shopify@80eb3ac)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

- Updated dependencies
\[[`a2c9b1d24`](Shopify@a2c9b1d),
[`e8c5a2243`](Shopify@e8c5a22),
[`090d09683`](Shopify@090d096),
[`bd64fa583`](Shopify@bd64fa5),
[`f1a3ad756`](Shopify@f1a3ad7),
[`261355f07`](Shopify@261355f),
[`fcc543928`](Shopify@fcc5439),
[`4880e3ed7`](Shopify@4880e3e),
[`7349d4108`](Shopify@7349d41),
[`2bc90503d`](Shopify@2bc9050),
[`f9366c22d`](Shopify@f9366c2),
[`289dce569`](Shopify@289dce5),
[`7f3053342`](Shopify@7f30533),
[`421bb49dc`](Shopify@421bb49),
[`500eed660`](Shopify@500eed6),
[`1cc47495a`](Shopify@1cc4749)]:
    -   @shopify/polaris@10.44.0
    -   @shopify/polaris-icons@7.0.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
ascherkus pushed a commit to ascherkus/polaris that referenced this pull request Feb 19, 2025
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.0.0

### Major Changes

- [Shopify#8919](Shopify#8919)
[`7349d4108`](Shopify@e29f62e)
Thanks [@skparkk](https://github.com/skparkk)! - Added new keyboard
major + minor icons

### Minor Changes

- [Shopify#8924](Shopify#8924)
[`4880e3ed7`](Shopify@1ad1a62)
Thanks [@Tal87](https://github.com/tal87)! - Added PersonalizedTextMajor
icon


- [Shopify#8861](Shopify#8861)
[`2bc90503d`](Shopify@3dc9640)
Thanks [@AlejandroE](https://github.com/AlejandroE)! - Added
ExploreImagesMajor

## @shopify/stylelint-polaris@10.0.0

### Major Changes

- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@05d41ad)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8455](Shopify#8455)
[`80eb3ac55`](Shopify@cc8c04e)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

### Minor Changes

- [Shopify#8968](Shopify#8968)
[`dbe68efb4`](Shopify@af07125)
Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Added
`custom-property-disallowed-list` rule

## @shopify/polaris@10.44.0

### Minor Changes

- [Shopify#8936](Shopify#8936)
[`a2c9b1d24`](Shopify@085d3f7)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed Inline to
HorizontalStack


- [Shopify#8773](Shopify#8773)
[`e8c5a2243`](Shopify@58136bc)
Thanks [@stefanlegg](https://github.com/stefanlegg)! - - Added an
optional `onSpinnerChange` prop to`TextField`
    -   Added an optional `largeStep` prop to `TextField`
- Added `TextField` `Spinner` keypress interactions for Home, End, Page
Up, Page Down


- [Shopify#8876](Shopify#8876)
[`090d09683`](Shopify@7e46d7e)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@05d41ad)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8937](Shopify#8937)
[`fcc543928`](Shopify@6e0bb48)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed `Columns`
to `HorizontalGrid`


- [Shopify#8938](Shopify#8938)
[`289dce569`](Shopify@6d46f59)
Thanks [@alex-page](https://github.com/alex-page)! - Remove deprecation
from `Grid` component


- [Shopify#8935](Shopify#8935)
[`7f3053342`](Shopify@4ccc28a)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [Shopify#8596](Shopify#8596)
[`421bb49dc`](Shopify@bc813c0)
Thanks [@brendanrygus](https://github.com/brendanrygus)! - [Frame] Fix
minimum height overflowing in iOS Webkit browsers


- [Shopify#8953](Shopify#8953)
[`500eed660`](Shopify@1dc66ee)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Added
`customActivator` prop to `TopBar.UserMenu`
- Added support for setting a `ReactNode` on `ActionList` `Section`
`title`

### Patch Changes

- [Shopify#8842](Shopify#8842)
[`bd64fa583`](Shopify@b916015)
Thanks [@martenbjork](https://github.com/martenbjork)! - Removed the
Exiting animation state from Popovers, causing them to close immediately
instead of after a 100ms delay.


- [Shopify#8913](Shopify#8913)
[`261355f07`](Shopify@ee7c076)
Thanks [@mrcthms](https://github.com/mrcthms)! - Tweaked the vertical
alignment of elements within the `AlphaFilters` component


- [Shopify#8954](Shopify#8954)
[`f9366c22d`](Shopify@4345b34)
Thanks [@laurkim](https://github.com/laurkim)! - Updated custom property
names to align with new component names for `HorizontalGrid`,
`HorizontalStack`, and `VerticalStack`


- [Shopify#8912](Shopify#8912)
[`1cc47495a`](Shopify@6d47345)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `BulkActions`
to include wrapping tooltip on Popover activator

- Updated dependencies
\[[`4880e3ed7`](Shopify@1ad1a62),
[`7349d4108`](Shopify@e29f62e),
[`2bc90503d`](Shopify@3dc9640)]:
    -   @shopify/polaris-icons@7.0.0

## @shopify/polaris-cli@0.1.28

### Patch Changes

-   Updated dependencies \[]:
    -   @shopify/polaris-migrator@0.17.2

## @shopify/polaris-codemods@0.0.3

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](Shopify@05d41ad),
[`80eb3ac55`](Shopify@cc8c04e),
[`dbe68efb4`](Shopify@af07125)]:
    -   @shopify/stylelint-polaris@10.0.0

## @shopify/polaris-migrator@0.17.2

### Patch Changes

- Updated dependencies
\[[`f1a3ad756`](Shopify@05d41ad),
[`80eb3ac55`](Shopify@cc8c04e),
[`dbe68efb4`](Shopify@af07125)]:
    -   @shopify/stylelint-polaris@10.0.0

## polaris.shopify.com@0.49.0

### Minor Changes

- [Shopify#8876](Shopify#8876)
[`090d09683`](Shopify@7e46d7e)
Thanks [@mrcthms](https://github.com/mrcthms)! - Updated `IndexFilters`
to support hiding both filters and search field


- [Shopify#8973](Shopify#8973)
[`f1a3ad756`](Shopify@05d41ad)
Thanks [@lgriffee](https://github.com/lgriffee)! - Enabled the
`custom-property-disallowed-list` rule and added deprecated v10 custom
properties.


- [Shopify#8967](Shopify#8967)
[`45d978e7b`](Shopify@ab4bbed)
Thanks [@lgriffee](https://github.com/lgriffee)! - Added a version
matchup table to `stylelint-polaris` documentation


- [Shopify#8986](Shopify#8986)
[`f70f586ee`](Shopify@c488159)
Thanks [@laurkim](https://github.com/laurkim)! - Added documentation for
the `react-rename-component` codemod


- [Shopify#8935](Shopify#8935)
[`7f3053342`](Shopify@4ccc28a)
Thanks [@alex-page](https://github.com/alex-page)! - Renamed
`AlphaStack` to `VerticalStack`


- [Shopify#8920](Shopify#8920)
[`2bad4e305`](Shopify@751027b)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added copy button
to markdown headings with ids

### Patch Changes

- [Shopify#8915](Shopify#8915)
[`c8a130caf`](Shopify@8a81b6a)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added
scroll-margin-top to anchor links to prevent top bar overlay


- [Shopify#8455](Shopify#8455)
[`80eb3ac55`](Shopify@cc8c04e)
Thanks [@lgriffee](https://github.com/lgriffee)! - Remove deprecated v8
custom properties, functions, mixins, and mixin maps from
stylelint-polaris

- Updated dependencies
\[[`a2c9b1d24`](Shopify@085d3f7),
[`e8c5a2243`](Shopify@58136bc),
[`090d09683`](Shopify@7e46d7e),
[`bd64fa583`](Shopify@b916015),
[`f1a3ad756`](Shopify@05d41ad),
[`261355f07`](Shopify@ee7c076),
[`fcc543928`](Shopify@6e0bb48),
[`4880e3ed7`](Shopify@1ad1a62),
[`7349d4108`](Shopify@e29f62e),
[`2bc90503d`](Shopify@3dc9640),
[`f9366c22d`](Shopify@4345b34),
[`289dce569`](Shopify@6d46f59),
[`7f3053342`](Shopify@4ccc28a),
[`421bb49dc`](Shopify@bc813c0),
[`500eed660`](Shopify@1dc66ee),
[`1cc47495a`](Shopify@6d47345)]:
    -   @shopify/polaris@10.44.0
    -   @shopify/polaris-icons@7.0.0

Co-authored-by: github-actions[bot] <github-actions[bot]@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.

[TextField] Enable differentiating between typed changes and step control changes for number inputs

3 participants