Skip to content

Commit

Permalink
Update website to quick search v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Jul 30, 2024
1 parent 8fd5c82 commit 19a9965
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 48 deletions.
2 changes: 1 addition & 1 deletion bridgetown-website/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem "bridgetown-paginate", path: "../bridgetown-paginate"
gem "puma", "< 7"

gem "bridgetown-feed", "~> 3"
gem "bridgetown-quick-search", "~> 2.0"
gem "bridgetown-quick-search", "~> 3.0"
gem "bridgetown-seo-tag", "~> 6.0"
gem "bridgetown-svg-inliner", "~> 2.0"

Expand Down
57 changes: 31 additions & 26 deletions bridgetown-website/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.2)
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -69,34 +69,36 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
amazing_print (1.6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
bridgetown-feed (3.1.2)
bridgetown (>= 1.2.0.beta2, < 2.0)
bridgetown-quick-search (2.0.0)
bridgetown (>= 1.2.0.beta2, < 2.0)
bridgetown-quick-search (3.0.3)
bridgetown (>= 1.2.0.beta2, < 3.0)
bridgetown-seo-tag (6.0.0)
bridgetown (>= 1.2.0.beta5, < 2.0)
bridgetown-svg-inliner (2.0.0)
bridgetown (>= 1.2.0, < 2.0)
nokogiri
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
csv (3.3.0)
drb (2.2.1)
dry-inflector (1.0.0)
erubi (1.12.0)
faraday (2.9.0)
dry-inflector (1.1.0)
erubi (1.13.0)
faraday (2.10.0)
faraday-net_http (>= 2.0, < 3.2)
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.1.0)
faraday-net_http (3.1.1)
net-http
ffi (1.16.3)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
gems (1.2.0)
hash_with_dot_access (2.1.1)
i18n (1.14.5)
Expand All @@ -110,55 +112,58 @@ GEM
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
minitest (5.22.3)
logger (1.6.0)
minitest (5.24.1)
mutex_m (0.2.0)
net-http (0.4.1)
uri
nio4r (2.7.3)
nokogiri (1.16.4-arm64-darwin)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
nokolexbor (0.5.4-arm64-darwin)
nokolexbor (0.5.4-x86_64-linux)
parser (3.3.1.0)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
public_suffix (5.0.5)
public_suffix (6.0.1)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.11)
racc (1.8.1)
rack (3.1.7)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.1.1)
rexml (3.2.6)
roda (3.80.0)
rexml (3.3.2)
strscan
roda (3.82.0)
rack
rouge (4.2.1)
rouge (4.3.0)
ruby2js (5.1.2)
parser
regexp_parser (~> 2.1.1)
serbea (2.1.0)
serbea (2.2.0)
erubi (>= 1.10)
tilt (~> 2.0)
signalize (1.3.0)
concurrent-ruby (~> 1.2)
streamlined (0.5.2)
serbea (>= 2.1)
zeitwerk (~> 2.5)
strscan (3.1.0)
thor (1.3.1)
tilt (2.3.0)
tilt (2.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uri (0.13.0)
webrick (1.8.1)
zeitwerk (2.6.13)
zeitwerk (2.6.17)

PLATFORMS
arm64-darwin-22
Expand All @@ -171,7 +176,7 @@ DEPENDENCIES
bridgetown-feed (~> 3)
bridgetown-foundation!
bridgetown-paginate!
bridgetown-quick-search (~> 2.0)
bridgetown-quick-search (~> 3.0)
bridgetown-seo-tag (~> 6.0)
bridgetown-svg-inliner (~> 2.0)
gems (~> 1.2)
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-website/frontend/javascript/index.js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import "./turbo_transitions.js.rb"

async def import_additional_dependencies()
await import("bridgetown-quick-search/dist")
await import("bridgetown-quick-search")

document.query_selector("bridgetown-search-form > input").add_event_listener :keydown do |event|
if event.key_code == 13
Expand Down
65 changes: 46 additions & 19 deletions bridgetown-website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bridgetown-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@hotwired/turbo": "^7.1.0",
"@ruby2js/esbuild-plugin": "^1.0.0",
"@shoelace-style/shoelace": "^2.0.0-beta.82",
"bridgetown-quick-search": "2.0.0",
"bridgetown-quick-search": "^3.0.3",
"hotkeys-js": "^3.8.7",
"smoothscroll-polyfill": "^0.4.4"
},
Expand Down

0 comments on commit 19a9965

Please sign in to comment.