downshift 9.2.0 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -7
- package/dist/downshift.umd.js +35 -20
- package/dist/downshift.umd.js.map +1 -1
- package/dist/downshift.umd.min.js +1 -1
- package/dist/downshift.umd.min.js.map +1 -1
- package/dist/hooks/useTagGroup/__tests__/utils/renderTagGroup.d.ts +1 -1
- package/package.json +46 -44
- package/preact/dist/downshift.umd.js +11 -3
- package/preact/dist/downshift.umd.js.map +1 -1
- package/preact/dist/downshift.umd.min.js +1 -10
- package/preact/dist/downshift.umd.min.js.map +1 -1
- package/preact/package.json +3 -3
- /package/dist/{downshift.cjs.js → downshift.cjs.cjs} +0 -0
- /package/dist/{downshift.esm.js → downshift.esm.mjs} +0 -0
- /package/dist/{downshift.native.cjs.js → downshift.native.cjs.cjs} +0 -0
- /package/dist/{downshift.nativeweb.cjs.js → downshift.nativeweb.cjs.cjs} +0 -0
- /package/preact/dist/{downshift.cjs.js → downshift.cjs.cjs} +0 -0
- /package/preact/dist/{downshift.esm.js → downshift.esm.mjs} +0 -0
|
@@ -9,7 +9,7 @@ export declare function renderTagGroup(props?: Partial<UseTagGroupProps<string>>
|
|
|
9
9
|
user: import("@testing-library/user-event").UserEvent;
|
|
10
10
|
container: HTMLElement;
|
|
11
11
|
baseElement: HTMLElement;
|
|
12
|
-
debug: (baseElement?:
|
|
12
|
+
debug: (baseElement?: any, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
13
13
|
rerender: (ui: React.ReactNode) => void;
|
|
14
14
|
unmount: () => void;
|
|
15
15
|
asFragment: () => DocumentFragment;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "downshift",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.",
|
|
5
|
-
"main": "dist/downshift.cjs.
|
|
6
|
-
"react-native": "dist/downshift.native.cjs.
|
|
7
|
-
"module": "dist/downshift.esm.
|
|
5
|
+
"main": "dist/downshift.cjs.cjs",
|
|
6
|
+
"react-native": "dist/downshift.native.cjs.cjs",
|
|
7
|
+
"module": "dist/downshift.esm.mjs",
|
|
8
8
|
"typings": "typings/index.d.ts",
|
|
9
9
|
"types": "typings/index.d.ts",
|
|
10
10
|
"sideEffects": false,
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
],
|
|
51
51
|
"exports": {
|
|
52
52
|
".": {
|
|
53
|
-
"import": "./dist/downshift.esm.
|
|
54
|
-
"require": "./dist/downshift.cjs.
|
|
53
|
+
"import": "./dist/downshift.esm.mjs",
|
|
54
|
+
"require": "./dist/downshift.cjs.cjs",
|
|
55
55
|
"types": "./typings/index.d.ts",
|
|
56
|
-
"default": "./dist/downshift.esm.
|
|
56
|
+
"default": "./dist/downshift.esm.mjs"
|
|
57
57
|
},
|
|
58
58
|
"./react-native": {
|
|
59
|
-
"require": "./dist/downshift.native.cjs.
|
|
59
|
+
"require": "./dist/downshift.native.cjs.cjs",
|
|
60
60
|
"types": "./typings/index.d.ts"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
@@ -81,58 +81,60 @@
|
|
|
81
81
|
"react": ">=16.12.0"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@babel/runtime": "^7.
|
|
85
|
-
"compute-scroll-into-view": "^3.1.
|
|
84
|
+
"@babel/runtime": "^7.28.6",
|
|
85
|
+
"compute-scroll-into-view": "^3.1.1",
|
|
86
86
|
"prop-types": "^15.8.1",
|
|
87
|
-
"react-is": "18.2.0",
|
|
88
|
-
"tslib": "^2.
|
|
87
|
+
"react-is": "^18.2.0",
|
|
88
|
+
"tslib": "^2.8.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@babel/helpers": "^7.
|
|
91
|
+
"@babel/helpers": "^7.28.6",
|
|
92
92
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
93
93
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
94
|
-
"@cypress/webpack-preprocessor": "^
|
|
94
|
+
"@cypress/webpack-preprocessor": "^7.0.2",
|
|
95
95
|
"@docusaurus/core": "3.3.2",
|
|
96
96
|
"@docusaurus/module-type-aliases": "3.3.2",
|
|
97
97
|
"@docusaurus/preset-classic": "3.3.2",
|
|
98
98
|
"@mdx-js/react": "^3.0.1",
|
|
99
|
-
"@rollup/plugin-babel": "^6.0
|
|
100
|
-
"@rollup/plugin-commonjs": "^
|
|
101
|
-
"@testing-library/cypress": "^10.0
|
|
102
|
-
"@testing-library/dom": "^10.1
|
|
103
|
-
"@testing-library/jest-dom": "^6.
|
|
104
|
-
"@testing-library/preact": "^2.
|
|
105
|
-
"@testing-library/react": "^
|
|
106
|
-
"@testing-library/user-event": "^14.
|
|
107
|
-
"@types/jest": "^
|
|
108
|
-
"@types/
|
|
109
|
-
"@
|
|
110
|
-
"@typescript-eslint/
|
|
99
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
100
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
101
|
+
"@testing-library/cypress": "^10.1.0",
|
|
102
|
+
"@testing-library/dom": "^10.4.1",
|
|
103
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
104
|
+
"@testing-library/preact": "^3.2.4",
|
|
105
|
+
"@testing-library/react": "^16.3.2",
|
|
106
|
+
"@testing-library/user-event": "^14.6.1",
|
|
107
|
+
"@types/jest": "^30.0.0",
|
|
108
|
+
"@types/prop-types": "^15.7.15",
|
|
109
|
+
"@types/react": "^18.2.0",
|
|
110
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
111
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
111
112
|
"babel-plugin-macros": "^3.1.0",
|
|
112
113
|
"babel-plugin-no-side-effect-class-properties": "0.0.7",
|
|
113
114
|
"babel-preset-react-native": "^4.0.1",
|
|
114
115
|
"buble": "^0.20.0",
|
|
115
|
-
"cpy-cli": "^
|
|
116
|
-
"cross-env": "^
|
|
117
|
-
"cypress": "
|
|
118
|
-
"eslint": "^8.
|
|
119
|
-
"eslint-plugin-cypress": "^3.
|
|
120
|
-
"eslint-plugin-react": "7.
|
|
121
|
-
"flow-bin": "^0.
|
|
116
|
+
"cpy-cli": "^6.0.0",
|
|
117
|
+
"cross-env": "^10.1.0",
|
|
118
|
+
"cypress": "15.9.0",
|
|
119
|
+
"eslint": "^8.57.0",
|
|
120
|
+
"eslint-plugin-cypress": "^3.6.0",
|
|
121
|
+
"eslint-plugin-react": "7.37.5",
|
|
122
|
+
"flow-bin": "^0.299.0",
|
|
122
123
|
"flow-coverage-report": "^0.8.0",
|
|
123
124
|
"get-pkg-repo": "5.0.0",
|
|
124
|
-
"kcd-scripts": "^
|
|
125
|
-
"node-polyfill-webpack-plugin": "^
|
|
125
|
+
"kcd-scripts": "^17.0.0",
|
|
126
|
+
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
126
127
|
"npm-run-all": "^4.1.5",
|
|
127
|
-
"preact": "^10.
|
|
128
|
-
"prism-react-renderer": "^2.
|
|
129
|
-
"react": "18.
|
|
130
|
-
"react-dom": "18.
|
|
131
|
-
"react-
|
|
132
|
-
"react-
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
128
|
+
"preact": "^10.28.2",
|
|
129
|
+
"prism-react-renderer": "^2.4.1",
|
|
130
|
+
"react": "^18.3.1",
|
|
131
|
+
"react-dom": "^18.3.1",
|
|
132
|
+
"react-is": "^18.3.1",
|
|
133
|
+
"react-native": "^0.76.0",
|
|
134
|
+
"react-test-renderer": "^18.3.1",
|
|
135
|
+
"serve": "^14.2.5",
|
|
136
|
+
"start-server-and-test": "^2.1.3",
|
|
137
|
+
"typescript": "^5.9.3"
|
|
136
138
|
},
|
|
137
139
|
"eslintConfig": {
|
|
138
140
|
"parserOptions": {
|
|
@@ -284,11 +284,19 @@
|
|
|
284
284
|
return reactIs_development;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
var hasRequiredReactIs;
|
|
288
|
+
|
|
289
|
+
function requireReactIs () {
|
|
290
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
291
|
+
hasRequiredReactIs = 1;
|
|
292
|
+
|
|
293
|
+
{
|
|
294
|
+
reactIs.exports = requireReactIs_development();
|
|
295
|
+
}
|
|
296
|
+
return reactIs.exports;
|
|
289
297
|
}
|
|
290
298
|
|
|
291
|
-
var reactIsExports =
|
|
299
|
+
var reactIsExports = requireReactIs();
|
|
292
300
|
|
|
293
301
|
var unknown = '__autocomplete_unknown__' ;
|
|
294
302
|
var mouseUp = '__autocomplete_mouseup__' ;
|