Allow-return-to-trigger-default-actions (#4912)

* button being focused

* working

* tests

* text selection test

* allow for ref injection

* updated some of the usages

* release notes

* rename of prop

* docs

* fixed release note

* remove unnecessary test setup

* updated from comments

* removed selecttext references

* fix type error

* updated children type

* removed comment
This commit is contained in:
Samuel Barnes
2025-05-16 14:28:31 -05:00
committed by GitHub
parent 720d0fda6d
commit 351e252129
9 changed files with 206 additions and 18 deletions

View File

@@ -15,7 +15,8 @@
"@svgr/cli": "^8.1.0",
"@types/react": "^19.1.0",
"react": "19.1.0",
"react-dom": "19.1.0"
"react-dom": "19.1.0",
"vitest": "^3.0.2"
},
"exports": {
"./hooks/*": "./src/hooks/*.ts",
@@ -50,6 +51,8 @@
"./view": "./src/View.tsx"
},
"scripts": {
"generate:icons": "rm src/icons/*/*.tsx; cd src/icons && svgr --template template.ts --index-template index-template.ts --typescript --expand-props start -d . ."
"generate:icons": "rm src/icons/*/*.tsx; cd src/icons && svgr --template template.ts --index-template index-template.ts --typescript --expand-props start -d . .",
"test": "npm-run-all -cp 'test:*'",
"test:web": "ENV=web vitest -c vitest.web.config.ts"
}
}