phlexy_ui 0.1.9 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2442fc77587b1b97a19ebcbd234473202f73dae6f7acfc3feedb570e57525944
4
- data.tar.gz: b77cf08ad3f977de8fcd04f1ccb5f090a638beb36353c6b1ef2a7ac2f55c1831
3
+ metadata.gz: 3b2be71ee60f06aeec0c25ebf935b07db6f2203ab364c7a27a1cc1c0a776e3a0
4
+ data.tar.gz: 8ffd7606141a7e0c3879523884bfd40b0cfd01763f9755ce0f392f52e4e0d93c
5
5
  SHA512:
6
- metadata.gz: 525b56ee4587186d2cbfdd8a5180b2975f7bd76954e852f039745ee029d8f62eec5a88688bc14e2c1f8d5b8d63dad7208477e8bee2c71c15f430d2dad8270aea
7
- data.tar.gz: e856be656fec15626d2982824587f03b6fd61d3b13f22707b28153a6267fbfc7f59ee1fa85c5854c9679aac651d8b54398212395f110d925379f96dca1d9bda9
6
+ metadata.gz: 70c6cdb0b98fd7f52ab2f96011e0a54f433e6ef8e8609660ca288ce7dc673c314c8143c8416dc8d1b558861fa1f9c578bcef1759e5332cbe0c826cc66c1133ef
7
+ data.tar.gz: 615a7b02b510c127efc6d6af4c2135bdcf252b046586cce3b10e62dd78718138e06f612728159e9a65f2efb2097841b2443fc70e391b24f7a6b4be158d98854a
@@ -10,6 +10,7 @@ module PhlexyUI
10
10
  def view_template(&)
11
11
  generate_classes!(
12
12
  component_html_class: :navbar,
13
+ modifiers_map: modifiers,
13
14
  base_modifiers:,
14
15
  options:
15
16
  ).then do |classes|
@@ -28,5 +29,52 @@ module PhlexyUI
28
29
  def end(&)
29
30
  div(class: :"navbar-end", &)
30
31
  end
32
+
33
+ register_modifiers(
34
+ # "sm:bg-primary sm:text-primary-content"
35
+ # "md:bg-primary md:text-primary-content"
36
+ # "lg:bg-primary lg:text-primary-content"
37
+ primary: "bg-primary text-primary-content",
38
+ # "sm:bg-secondary sm:text-secondary-content"
39
+ # "md:bg-secondary md:text-secondary-content"
40
+ # "lg:bg-secondary lg:text-secondary-content"
41
+ secondary: "bg-secondary text-secondary-content",
42
+ # "sm:bg-accent sm:text-accent-content"
43
+ # "md:bg-accent md:text-accent-content"
44
+ # "lg:bg-accent lg:text-accent-content"
45
+ accent: "bg-accent text-accent-content",
46
+ # "sm:bg-neutral sm:text-neutral-content"
47
+ # "md:bg-neutral md:text-neutral-content"
48
+ # "lg:bg-neutral lg:text-neutral-content"
49
+ neutral: "bg-neutral text-neutral-content",
50
+ # "sm:bg-base-100 sm:text-base-content"
51
+ # "md:bg-base-100 md:text-base-content"
52
+ # "lg:bg-base-100 lg:text-base-content"
53
+ base_100: "bg-base-100 text-base-content",
54
+ # "sm:bg-base-200 sm:text-base-content"
55
+ # "md:bg-base-200 md:text-base-content"
56
+ # "lg:bg-base-200 lg:text-base-content"
57
+ base_200: "bg-base-200 text-base-content",
58
+ # "sm:bg-base-300 sm:text-base-content"
59
+ # "md:bg-base-300 md:text-base-content"
60
+ # "lg:bg-base-300 lg:text-base-content"
61
+ base_300: "bg-base-300 text-base-content",
62
+ # "sm:bg-info sm:text-info-content"
63
+ # "md:bg-info sm:text-info-content"
64
+ # "lg:bg-info sm:text-info-content"
65
+ info: "bg-info text-info-content",
66
+ # "sm:bg-success sm:text-success-content"
67
+ # "md:bg-success md:text-success-content"
68
+ # "lg:bg-success lg:text-success-content"
69
+ success: "bg-success text-success-content",
70
+ # "sm:bg-warning sm:text-warning-content"
71
+ # "md:bg-warning md:text-warning-content"
72
+ # "lg:bg-warning lg:text-warning-content"
73
+ warning: "bg-warning text-warning-content",
74
+ # "sm:bg-error sm:text-error-content"
75
+ # "md:bg-error md:text-error-content"
76
+ # "lg:bg-error lg:text-error-content"
77
+ error: "bg-error text-error-content"
78
+ )
31
79
  end
32
80
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PhlexyUI
4
- VERSION = "0.1.9"
4
+ VERSION = "0.1.11"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlexy_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Alejandro Aguilar Ramos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-28 00:00:00.000000000 Z
11
+ date: 2024-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.5.10
147
+ rubygems_version: 3.5.20
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: PhlexyUI is a Ruby UI component library for DaisyUI using Phlex