Skip to content

Commit d086cb6

Browse files
authored
Merge pull request #78 from opf/bump/primer-upstream
Bump/primer upstream
2 parents aea2224 + aa76134 commit d086cb6

42 files changed

Lines changed: 465 additions & 371 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/dry-apes-pretend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": patch
3+
---
4+
5+
Adds documentation for the Rails Banner and focus management guidance

.changeset/fifty-items-explain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": patch
3+
---
4+
5+
Remove aria-disabled from dialogs

.changeset/lucky-apricots-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": patch
3+
---
4+
5+
Fix issue with layering of nested overlays/dialogs

.changeset/sharp-walls-attend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": patch
3+
---
4+
5+
Fix potential out-of-bounds error in ActionBar
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": patch
3+
---
4+
5+
Bug: Remove dismissable flash stealing focus

.eslintrc.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"parser": "@typescript-eslint/parser",
1212
"parserOptions": {
13-
"ecmaVersion": "2022",
13+
"ecmaVersion": 2022,
1414
"sourceType": "module"
1515
},
1616
"plugins": [
@@ -38,7 +38,7 @@
3838
],
3939
"parser": "@typescript-eslint/parser",
4040
"parserOptions": {
41-
"ecmaVersion": "2022",
41+
"ecmaVersion": 2022,
4242
"sourceType": "module"
4343
},
4444
"plugins": [
@@ -63,7 +63,20 @@
6363
"custom-elements/tag-name-matches-class": [
6464
"error", {"suffix": "Element"}
6565
],
66-
"i18n-text/no-en": "off"
66+
"i18n-text/no-en": "off",
67+
"no-restricted-syntax": [
68+
"error",
69+
{
70+
"message": "stopPropagation() and friends are considered dangerous because they swallow events that consumers may listen for. Consider alternatives.",
71+
"selector":
72+
"CallExpression[callee.property.name='stopPropagation']"
73+
},
74+
{
75+
"message": "stopImmediatePropagation() and friends are considered dangerous because they swallow events that consumers may listen for. Consider alternatives.",
76+
"selector":
77+
"CallExpression[callee.property.name='stopImmediatePropagation']"
78+
}
79+
]
6780
}
6881
}
6982
]
-437 Bytes
Loading
918 Bytes
Loading
26.3 KB
Loading
26.3 KB
Loading

0 commit comments

Comments
 (0)