Commit f59e5c5
authored
Remove support for FormattedTextField (#2993)
### Background
Part of https://github.com/shop/issues-retail/issues/1955
TL;DR: FormattedTextField has been deprecated for the last major release, dropping support.
### Solution
This PR removes the deprecated `FormattedTextField` component from the Point of Sale UI Extensions. The component was previously marked as deprecated in favor of the `TextField` component. This change:
- Removes the `FormattedTextField` component implementation
- Removes related documentation and screenshots
- Removes the exported `AutoCapitalizationType` type
- Updates the versions documentation to note this breaking change
This completes the deprecation cycle by fully removing the component, ensuring developers use the recommended `TextField` component instead.
Updated component page:
<img width="1046" alt="image" src="https://github.com/user-attachments/assets/18644959-2f54-423b-b37f-dc68c68cf5e2" />
Updated versions page:
<img width="806" alt="image" src="https://github.com/user-attachments/assets/0c85a7e8-604c-440c-81ef-2d7dfdde31eb" />
### 🎩
- Verified that the `TextField` component provides all the functionality needed to replace `FormattedTextField`
- Confirmed documentation properly directs users to the `TextField` component
### Checklist
- [x] I have 🎩'd these changes
- [x] I have updated relevant documentation1 parent 3d2607e commit f59e5c5
File tree
13 files changed
+10
-180
lines changed- .changeset
- packages
- ui-extensions-react/src/surfaces
- point-of-sale
- components/FormattedTextField
- ui-extensions
- docs/surfaces/point-of-sale
- reference
- components
- examples/formatted-text-field
- screenshots
- staticPages/pages
- src/surfaces/point-of-sale
- render/components
- FormattedTextField
13 files changed
+10
-180
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
54 | | - | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 0 additions & 37 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
0 commit comments