lifeform 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +5 -5
- data/lib/lifeform/libraries/shoelace/button.rb +13 -0
- data/lib/lifeform/libraries/shoelace/submit_button.rb +16 -0
- data/lib/lifeform/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aee8bd917892bd755a79f5b580dccaf4b9b07a7ae16e51c3e428e6f13ac885c
|
4
|
+
data.tar.gz: 5c744b0db1da3987634fbc5e6d84489023a781a797df187d85546daf26d09764
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce074a7348e1ed0efb16ce57a61a76402a38d5ffea247c8af01a27c7dfc4aa9f4a537a91d23642d8c419ae2458f4057818dc05ade817dd01408782516edffc40
|
7
|
+
data.tar.gz: 4ebdb9894c4d980516b870c6cf504e2a8cb0d7141d5a65916398de0abf3ae483700b12bc6b13df7dde95e5feccba849b68a228ff8dfaf249396bab751e849c8c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.9.0] - 2022-11-06
|
6
|
+
|
7
|
+
- Add button & submit button support for Shoelace
|
8
|
+
|
9
|
+
## [0.8.0] - 2022-10-09
|
10
|
+
|
11
|
+
- Add initializer for Bridgetown 1.2+
|
12
|
+
- Fix for Roda csrf
|
13
|
+
|
5
14
|
## [0.7.0] - 2022-09-30
|
6
15
|
|
7
16
|
- Rearchitect library to be built on top of the Phlex view library
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lifeform (0.
|
4
|
+
lifeform (0.9.0)
|
5
5
|
activesupport (>= 6.0)
|
6
6
|
phlex (~> 0.3)
|
7
7
|
zeitwerk (~> 2.5)
|
@@ -43,10 +43,10 @@ GEM
|
|
43
43
|
parallel (1.22.1)
|
44
44
|
parser (3.1.2.1)
|
45
45
|
ast (~> 2.4.1)
|
46
|
-
phlex (0.
|
46
|
+
phlex (0.4.0)
|
47
47
|
syntax_tree (~> 3.6)
|
48
48
|
zeitwerk (~> 2.6)
|
49
|
-
prettier_print (
|
49
|
+
prettier_print (1.0.2)
|
50
50
|
racc (1.6.0)
|
51
51
|
rails-dom-testing (2.0.3)
|
52
52
|
activesupport (>= 4.2.0)
|
@@ -89,7 +89,7 @@ GEM
|
|
89
89
|
thor (~> 1.0)
|
90
90
|
tilt (~> 2.0)
|
91
91
|
yard (~> 0.9, >= 0.9.24)
|
92
|
-
syntax_tree (3.6.
|
92
|
+
syntax_tree (3.6.3)
|
93
93
|
prettier_print
|
94
94
|
thor (1.2.1)
|
95
95
|
tilt (2.0.11)
|
@@ -99,7 +99,7 @@ GEM
|
|
99
99
|
webrick (1.7.0)
|
100
100
|
yard (0.9.28)
|
101
101
|
webrick (~> 1.7.0)
|
102
|
-
zeitwerk (2.6.
|
102
|
+
zeitwerk (2.6.5)
|
103
103
|
|
104
104
|
PLATFORMS
|
105
105
|
arm64-darwin-21
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Lifeform
|
4
|
+
module Libraries
|
5
|
+
class Shoelace
|
6
|
+
class SubmitButton < Button
|
7
|
+
def initialize(form, field_definition, **attributes)
|
8
|
+
attributes[:name] ||= "commit"
|
9
|
+
attributes[:type] = "submit"
|
10
|
+
|
11
|
+
super
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/lifeform/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lifeform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -79,7 +79,9 @@ files:
|
|
79
79
|
- lib/lifeform/libraries/default/input.rb
|
80
80
|
- lib/lifeform/libraries/default/submit_button.rb
|
81
81
|
- lib/lifeform/libraries/shoelace.rb
|
82
|
+
- lib/lifeform/libraries/shoelace/button.rb
|
82
83
|
- lib/lifeform/libraries/shoelace/input.rb
|
84
|
+
- lib/lifeform/libraries/shoelace/submit_button.rb
|
83
85
|
- lib/lifeform/version.rb
|
84
86
|
- lifeform.gemspec
|
85
87
|
homepage: https://github.com/bridgetownrb/lifeform
|