tramway 0.4.9.1 → 0.4.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/app/components/tailwinds/form/multiselect_component.rb +2 -2
- data/lib/tramway/version.rb +1 -1
- metadata +24 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ef05a91356ce84f217df49af7245c2df48abd356625f7c99e2d96f693d5fb7
|
4
|
+
data.tar.gz: 002da5b891c4eea585c317b006aface8f1443652ec1700f02078d0a47a920068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a0c3cb1ce60c537818e0fe62812128f15e8f1dcdf6f523d60b6b93e3413a20e4b9b19f7a1228b18b7a7e253083775a3244c6dfd2a80034d2bbb5e3ebf23e746
|
7
|
+
data.tar.gz: e0cfa260fb65d82fa5e0928ada86e01b1097b213f83fb2b5907e75f6c0e93b9ea196a682be2fb30b5058f1802b53a026a909b33138b6f08019d0918e2981f0d0
|
data/README.md
CHANGED
@@ -365,6 +365,17 @@ tramway_navbar title: 'Purple Magic', background: { color: :red, intensity: 500
|
|
365
365
|
end
|
366
366
|
```
|
367
367
|
|
368
|
+
# Haml example
|
369
|
+
|
370
|
+
```haml
|
371
|
+
= tramway_navbar title: 'Purple Magic', background: { color: :red, intensity: 500 } do |nav|
|
372
|
+
- nav.left do
|
373
|
+
- nav.item 'Users', '/users'
|
374
|
+
- nav.item 'Podcasts', '/podcasts'
|
375
|
+
- nav.right do
|
376
|
+
- nav.item 'Sign out', '/users/sessions', method: :delete, confirm: 'Wanna quit?'
|
377
|
+
```
|
378
|
+
|
368
379
|
will render [this](https://play.tailwindcss.com/UZPTCudFw5)
|
369
380
|
|
370
381
|
#### tramway_navbar
|
data/lib/tramway/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.9.
|
4
|
+
version: 0.4.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kalashnikovisme
|
@@ -9,8 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: dry-initializer
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
14
28
|
- !ruby/object:Gem::Dependency
|
15
29
|
name: dry-struct
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,16 +57,22 @@ dependencies:
|
|
43
57
|
name: rails
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|
45
59
|
requirements:
|
46
|
-
- - "
|
60
|
+
- - ">="
|
47
61
|
- !ruby/object:Gem::Version
|
48
62
|
version: '7'
|
63
|
+
- - "<"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '9'
|
49
66
|
type: :runtime
|
50
67
|
prerelease: false
|
51
68
|
version_requirements: !ruby/object:Gem::Requirement
|
52
69
|
requirements:
|
53
|
-
- - "
|
70
|
+
- - ">="
|
54
71
|
- !ruby/object:Gem::Version
|
55
72
|
version: '7'
|
73
|
+
- - "<"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '9'
|
56
76
|
- !ruby/object:Gem::Dependency
|
57
77
|
name: view_component
|
58
78
|
requirement: !ruby/object:Gem::Requirement
|