Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TBC and use command_state
Browse files Browse the repository at this point in the history
hopsoft committed Feb 21, 2024
1 parent 1dfffc8 commit 9a8fb70
Showing 8 changed files with 120 additions and 120 deletions.
2 changes: 1 addition & 1 deletion app/assets/builds/@turbo-boost/elements.js

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

2 changes: 1 addition & 1 deletion app/assets/builds/@turbo-boost/elements.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/javascript/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '0.0.18'
export default '0.0.19'
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ def target_tag(
end

def target_expanded?(dom_id)
!!controller_pack.state[dom_id]
!!controller_pack.command_state[dom_id]
end

def target_collapsed?(dom_id)
2 changes: 1 addition & 1 deletion lib/turbo_boost/elements/version.rb
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@

module TurboBoost
module Elements
VERSION = "0.0.18"
VERSION = "0.0.19"
end
end
224 changes: 112 additions & 112 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@turbo-boost/elements",
"version": "0.0.18",
"version": "0.0.19",
"description": "Pre-built easy to use reactive TurboBoost elements for Rails/Hotwire apps.",
"keywords": [
"hotwire",
@@ -22,7 +22,7 @@
},
"peerDependencies": {
"@hotwired/turbo-rails": ">= 7.2",
"@turbo-boost/commands": ">= 0.1.2"
"@turbo-boost/commands": ">= 0.2.0"
},
"devDependencies": {
"esbuild": "^0.20.0",
2 changes: 1 addition & 1 deletion turbo_boost-elements.gemspec
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|

s.add_dependency "rails", ">= 6.1"
s.add_dependency "turbo-rails", ">= 1.1"
s.add_dependency "turbo_boost-commands", ">= 0.1.2"
s.add_dependency "turbo_boost-commands", ">= 0.2.0"

s.add_development_dependency "magic_frozen_string_literal"
s.add_development_dependency "minitest-reporters"

0 comments on commit 9a8fb70

Please sign in to comment.