549a4d8
(#165 by @amrbashir) AdddebounceDuration
option to set debouce duration or disable it.
a20acbc
Publishindex.bundled.esm.js
file which is an ESM bundled verion of the package.
9d93b32
Updatemeilisearch
dependency to0.35.0
- Re-order
types
field to be the first in package.jsonexports
.- 7f60b91 fix: move
types
field to be first on 2023-02-14
- 7f60b91 fix: move
- Add global/browser target so the package could be used from a CDN like unpkg.com
- Use correct
docsearch--active
to determine if the modal is open, instead ofDocSearch--active
- 5770596 fix: use correct class
docsearch--active
on 2023-02-07
- 5770596 fix: use correct class
- Add missing responsive css in
button.css
import- abf7eb1 fix: add missing responsive button styles for button only import on 2023-02-07
- Actually fix
Uncaught ReferenceError: trapFocus is not defined
unlike version0.4.2
which didn't fix it completely.- bc26094 fix: don't minify jsx(solid) target on 2023-02-07
- Fix
Uncaught ReferenceError: trapFocus is not defined
- 78dff02 fix: import hack to include trapFocus directive in jsx on 2023-02-07
- Change loading icon size to match the magnifier icon size inside the search input.
- 7b3e737 fix: match loading icon size to maginifer icon on 2023-02-07
docsearch
function will now return a method that could be called to destroy and remove the hotkey listeners.- b465a71 feat: return a destory function on 2023-02-07
- Prefill the search with highlighted text when opening the modal by clicking the search button.
- 3a8742a feat: prefill the search if the button is clicked on 2023-02-07
- Show a loading icon upon making a search request.
- Changed
Search by
toPowered by
in the modal footer. Also changedsearchByText
topoweredByText
in the translations options.- 1ea31c0 refactor: "search by" -> "powererd by" on 2023-02-07
- Prefill search box with highlighted text
- 910e551 feat: prefill search with highlighted text on 2023-02-07
- Add support for opening the modal by pressing
s
key, however it doesn't close the modal, same as pressing/
.- d055bd9 feat: support
s
hotkey on 2023-02-07
- d055bd9 feat: support
- Add
require
inexports
table inpackage.json
to acutally allow using thecjs
target added in version0.2
- Add support for
commonjs
target- add1d3b feat: add
cjs
target on 2023-02-03
- add1d3b feat: add
- Move
default
inpackage.json > exports
to be the last one in the table to fix import/require issues with some bundlers.- 86a7525 fix: move
default
exports to be last in table on 2023-02-03
- 86a7525 fix: move
- Fix
process is unedfined
error in ESM import.- 3f64f6b fix: replace compile-time version in esm target on 2023-02-03
- Initial Release.
- a29618f covector and ci/cd on 2023-02-03