Skip to content

Commit 6bf75c1

Browse files
authored
update browser support policy (#3749)
* update browser support policy * remove feature checks * add changeset
1 parent d14f69f commit 6bf75c1

8 files changed

Lines changed: 44 additions & 29 deletions

File tree

.browserslistrc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# The browsers that are explicitly supported
2-
chrome >= 73
3-
firefox >= 67
4-
safari >= 12.1
5-
ios_saf >= 12.2
6-
edge >= 79
7-
opera >= 60
8-
samsung >= 11.1
2+
chrome >= 85
3+
firefox >= 79
4+
safari >= 14
5+
ios_saf >= 14
6+
edge >= 85
7+
opera >= 71
8+
samsung >= 14
99

1010
# The features that the script checks for
1111
supports css-grid and supports object-entries and supports es6-module-dynamic-import and not dead and not unreleased versions

.changeset/wide-ways-sort.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@sumup-oss/design-tokens": major
3+
"@sumup-oss/circuit-ui": major
4+
"@sumup-oss/cna-template": major
5+
"@sumup-oss/icons": major
6+
---
7+
8+
Updated the browser support policy.
9+
10+
| Browser | Previous | New |
11+
| ---------------- |----------|-----|
12+
| Chrome | 73+ | 85+ |
13+
| Firefox | 67+ | 79+ |
14+
| Edge | 79+ | 85+ |
15+
| Safari iOS | 12.2+ | 14+ |
16+
| Safari macOS | 12.1+ | 14+ |
17+
| Opera | 60+ | 71+ |
18+
| Samsung Internet | 11.1+ | 14+ |

docs/introduction/4-browser-support.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ import { Meta, Intro } from '../../.storybook/components';
1111

1212
## Browser support policy
1313

14-
Circuit UI supports all browsers that support [dynamic module imports](https://caniuse.com/es6-module-dynamic-import) and [`Object.fromEntries`](https://caniuse.com/mdn-javascript_builtins_object_fromentries):
14+
Circuit UI supports all browsers that support [`Promise.any()`](https://caniuse.com/wf-promise-any), logical assignment operators such as [Nullish coalescing](https://caniuse.com/wf-nullish-coalescing) and [`String.prototype.replaceAll()`](https://caniuse.com/wf-string-replaceall).
1515

1616
| Browser | Version |
1717
| ---------------- | ------- |
18-
| Chrome | 73+ |
19-
| Firefox | 67+ |
20-
| Edge | 79+ |
21-
| Safari iOS | 12.2+ |
22-
| Safari macOS | 12.1+ |
23-
| Opera | 60+ |
24-
| Samsung Internet | 11.1+ |
18+
| Chrome | 85+ |
19+
| Firefox | 79+ |
20+
| Edge | 85+ |
21+
| Safari iOS | 14+ |
22+
| Safari macOS | 14+ |
23+
| Opera | 71+ |
24+
| Samsung Internet | 14+ |
2525

2626
Circuit UI does not need to be transpiled when bundling your application (unless you need to support legacy browsers: see below).
2727

packages/circuit-ui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"resolveJsonModule": true,
1919
"strict": true,
2020
"skipLibCheck": true,
21-
"target": "es2019",
21+
"target": "es2021",
2222
"types": ["node"],
2323
"plugins": [{ "name": "typescript-plugin-css-modules" }]
2424
},

packages/design-tokens/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"resolveJsonModule": true,
1010
"strict": true,
1111
"skipLibCheck": true,
12-
"target": "es2019",
12+
"target": "es2021",
1313
"types": ["node"],
1414
"ignoreDeprecations": "6.0"
1515
},

packages/icons/.browserslistrc

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# The browsers that are explicitly supported
2-
chrome >= 73
3-
firefox >= 67
4-
safari >= 12.1
5-
ios_saf >= 12.2
6-
edge >= 79
7-
opera >= 60
8-
samsung >= 11.1
9-
10-
# The features that the script checks for
11-
supports css-grid and supports object-entries and supports es6-module-dynamic-import
2+
chrome >= 85
3+
firefox >= 79
4+
safari >= 14
5+
ios_saf >= 14
6+
edge >= 85
7+
opera >= 71
8+
samsung >= 14

templates/nextjs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2019",
3+
"target": "es2021",
44
"module": "commonjs",
55
"declaration": true,
66
"strict": true,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"resolveJsonModule": true,
1717
"skipLibCheck": true,
1818
"strict": true,
19-
"target": "es2019"
19+
"target": "es2021"
2020
},
2121
"include": ["**/*", ".storybook/**/*"],
2222
"exclude": ["node_modules", "public/**/*", "**/dist/**/*"],

0 commit comments

Comments
 (0)