Skip to content

Commit

Permalink
Merge pull request #121 from MaximKing1/master
Browse files Browse the repository at this point in the history
Rewritten the backend structure.
  • Loading branch information
koolamusic authored Dec 6, 2023
2 parents 127e483 + 209cc21 commit 3ee2948
Show file tree
Hide file tree
Showing 5 changed files with 3,095 additions and 1,029 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ export default function App() {
onCreateItem={handleCreateItem}
items={pickerItems}
selectedItems={selectedItems}
onSelectedItemsChange={(changes) =>
onSelectedItemsChange={{(changes) => {
handleSelectedItemsChange(changes.selectedItems)
}
}}}
/>
);
}
Expand Down
186 changes: 93 additions & 93 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,95 @@
{
"name": "chakra-ui-autocomplete",
"version": "1.4.5",
"description": "An accessible autocomplete utility library built for chakra UI",
"author": "Andrew Miracle <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/index.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "rimraf dist && tsdx build",
"test": "tsdx test",
"test:tsc": "tsc --pretty --noEmit",
"prepare": "run-s build",
"test:build": "run-s build",
"test:lint": "eslint ./src --ext ts --ext tsx --fix",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"@chakra-ui/react": ">= 1.0.0",
"framer-motion": ">= 2.9.4",
"react": ">= 16.8.1"
},
"devDependencies": {
"@chakra-ui/react": "^1.0.1",
"@emotion/react": "^11.1.1",
"@emotion/styled": "^11.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4",
"@types/match-sorter": "^4.0.0",
"@types/node": "^12.12.38",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
"@types/react-highlight-words": "^0.16.1",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"framer-motion": "^2.9.4",
"gh-pages": "^2.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^4.0.3",
"react-test-renderer": "^17.0.1",
"rimraf": "^3.0.2",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^3.7.5"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"Chakra UI",
"downshift",
"autocomplete",
"combobox",
"react",
"chakra-ui",
"multiselect-chakra-ui"
],
"repository": {
"type": "git",
"url": "git+https://github.com/koolamusic/chakra-ui-autocomplete.git"
},
"dependencies": {
"@chakra-ui/icons": "^1.0.3",
"downshift": "^6.0.6",
"match-sorter": "^4.2.1",
"react-highlight-words": "0.17.0",
"react-use": "^15.3.4"
}
"name": "chakra-ui-autocomplete",
"version": "1.4.6",
"description": "An accessible autocomplete utility library built for chakra UI",
"author": "Andrew Miracle <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/index.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "rimraf dist && tsdx build",
"test": "tsdx test",
"test:tsc": "tsc --pretty --noEmit",
"prepare": "run-s build",
"test:build": "run-s build",
"test:lint": "eslint ./src --ext ts --ext tsx --fix",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"@chakra-ui/react": ">= 1.0.0",
"framer-motion": ">= 2.9.4",
"react": ">= 16.8.1"
},
"devDependencies": {
"@chakra-ui/react": "^2.8.2",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4",
"@types/match-sorter": "^4.0.0",
"@types/node": "^20.10.3",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/react-highlight-words": "^0.16.7",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"cross-env": "^7.0.3",
"eslint": "^8.55.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"framer-motion": "^10.16.14",
"gh-pages": "^2.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^4.0.3",
"react-test-renderer": "^17.0.1",
"rimraf": "^5.0.5 ",
"tsdx": "^0.14.1",
"tslib": "^2.6.2",
"typescript": "^5.3.2"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"Chakra UI",
"downshift",
"autocomplete",
"combobox",
"react",
"chakra-ui",
"multiselect-chakra-ui"
],
"repository": {
"type": "git",
"url": "git+https://github.com/koolamusic/chakra-ui-autocomplete.git"
},
"dependencies": {
"@chakra-ui/icons": "^2.1.1",
"downshift": "^8.2.3",
"match-sorter": "^6.3.1",
"react-highlight-words": "^0.20.0",
"react-use": "^17.4.2"
}
}
Loading

0 comments on commit 3ee2948

Please sign in to comment.