Commit d0ab341
authored
Deprecate min and max props in NumberField component (#3019)
### Background
Resolves part of [issue #1999](shop/issues-retail#1999)
Deprecating `min` and `max` props in the NumberField component because they are (and have been) non-functional.
### Solution
- Adds deprecation notice for `min` and `max` props
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/aQSCLikeEHKP71ewIlF3/da6bcd76-508f-4d74-9afa-2fda85247842.png" width=400>
### 🎩
- See [pos-next-react-native #62931](https://app.graphite.dev/github/pr/Shopify/pos-next-react-native/62931) for tophat instructions
### Checklist
- [ ] I have 🎩'd these changes
- [ ] I have updated relevant documentationFile tree
3 files changed
+13
-0
lines changed- .changeset
- packages/ui-extensions
- docs/surfaces/point-of-sale/staticPages/pages
- src/surfaces/point-of-sale/render/components/NumberField
3 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
0 commit comments