daisyui_on_phlex 0.1.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +77 -7
- data/lib/daisyui_on_phlex/components/accordion.rb +59 -0
- data/lib/daisyui_on_phlex/components/avatar.rb +90 -0
- data/lib/daisyui_on_phlex/components/breadcrumbs.rb +27 -0
- data/lib/daisyui_on_phlex/components/calendar.rb +20 -0
- data/lib/daisyui_on_phlex/components/carousel.rb +37 -0
- data/lib/daisyui_on_phlex/components/chat.rb +54 -0
- data/lib/daisyui_on_phlex/components/checkbox.rb +64 -0
- data/lib/daisyui_on_phlex/components/collapse.rb +37 -0
- data/lib/daisyui_on_phlex/components/countdown.rb +20 -0
- data/lib/daisyui_on_phlex/components/diff.rb +27 -0
- data/lib/daisyui_on_phlex/components/divider.rb +20 -0
- data/lib/daisyui_on_phlex/components/dock.rb +33 -0
- data/lib/daisyui_on_phlex/components/drawer.rb +49 -0
- data/lib/daisyui_on_phlex/components/dropdown.rb +66 -0
- data/lib/daisyui_on_phlex/components/fieldset.rb +31 -0
- data/lib/daisyui_on_phlex/components/file_input.rb +69 -0
- data/lib/daisyui_on_phlex/components/filter.rb +34 -0
- data/lib/daisyui_on_phlex/components/footer.rb +32 -0
- data/lib/daisyui_on_phlex/components/hero.rb +28 -0
- data/lib/daisyui_on_phlex/components/indicator.rb +61 -0
- data/lib/daisyui_on_phlex/components/join.rb +24 -0
- data/lib/daisyui_on_phlex/components/kbd.rb +27 -0
- data/lib/daisyui_on_phlex/components/label.rb +23 -0
- data/lib/daisyui_on_phlex/components/link.rb +45 -0
- data/lib/daisyui_on_phlex/components/list.rb +19 -0
- data/lib/daisyui_on_phlex/components/loading.rb +36 -0
- data/lib/daisyui_on_phlex/components/mask.rb +42 -0
- data/lib/daisyui_on_phlex/components/menu.rb +60 -0
- data/lib/daisyui_on_phlex/components/mockup_browser.rb +25 -0
- data/lib/daisyui_on_phlex/components/mockup_code.rb +21 -0
- data/lib/daisyui_on_phlex/components/mockup_phone.rb +29 -0
- data/lib/daisyui_on_phlex/components/mockup_window.rb +29 -0
- data/lib/daisyui_on_phlex/components/navbar.rb +27 -0
- data/lib/daisyui_on_phlex/components/pagination.rb +56 -0
- data/lib/daisyui_on_phlex/components/progress.rb +50 -0
- data/lib/daisyui_on_phlex/components/radial_progress.rb +56 -0
- data/lib/daisyui_on_phlex/components/radio.rb +62 -0
- data/lib/daisyui_on_phlex/components/range.rb +62 -0
- data/lib/daisyui_on_phlex/components/rating.rb +61 -0
- data/lib/daisyui_on_phlex/components/select.rb +74 -0
- data/lib/daisyui_on_phlex/components/skeleton.rb +23 -0
- data/lib/daisyui_on_phlex/components/stack.rb +15 -0
- data/lib/daisyui_on_phlex/components/stat.rb +39 -0
- data/lib/daisyui_on_phlex/components/status.rb +34 -0
- data/lib/daisyui_on_phlex/components/steps.rb +42 -0
- data/lib/daisyui_on_phlex/components/swap.rb +45 -0
- data/lib/daisyui_on_phlex/components/tab.rb +72 -0
- data/lib/daisyui_on_phlex/components/table.rb +52 -0
- data/lib/daisyui_on_phlex/components/textarea.rb +66 -0
- data/lib/daisyui_on_phlex/components/theme_controller.rb +29 -0
- data/lib/daisyui_on_phlex/components/timeline.rb +52 -0
- data/lib/daisyui_on_phlex/components/toast.rb +56 -0
- data/lib/daisyui_on_phlex/components/toggle.rb +62 -0
- data/lib/daisyui_on_phlex/components/tooltip.rb +57 -0
- data/lib/daisyui_on_phlex/components/validator.rb +35 -0
- data/lib/daisyui_on_phlex/version.rb +1 -1
- metadata +62 -7
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Tab < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
size: :md,
|
8
|
+
variant: :bordered,
|
9
|
+
**attributes
|
10
|
+
)
|
11
|
+
@size = size
|
12
|
+
@variant = variant
|
13
|
+
@attributes = attributes
|
14
|
+
end
|
15
|
+
|
16
|
+
def view_template(&block)
|
17
|
+
div(class: tabs_classes, **@attributes, &block)
|
18
|
+
end
|
19
|
+
|
20
|
+
def tab(
|
21
|
+
active: false,
|
22
|
+
disabled: false,
|
23
|
+
**attributes,
|
24
|
+
&block
|
25
|
+
)
|
26
|
+
a(class: tab_classes(active: active, disabled: disabled), **attributes, &block)
|
27
|
+
end
|
28
|
+
|
29
|
+
def content(active: false, **attributes, &block)
|
30
|
+
div(
|
31
|
+
class: tab_content_classes(active: active),
|
32
|
+
**attributes,
|
33
|
+
&block
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def tabs_classes
|
40
|
+
classes = ["tabs"]
|
41
|
+
|
42
|
+
case @variant
|
43
|
+
when :bordered then classes << "tabs-bordered"
|
44
|
+
when :lifted then classes << "tabs-lifted"
|
45
|
+
when :boxed then classes << "tabs-boxed"
|
46
|
+
end
|
47
|
+
|
48
|
+
case @size
|
49
|
+
when :xs then classes << "tabs-xs"
|
50
|
+
when :sm then classes << "tabs-sm"
|
51
|
+
when :md then classes << "tabs-md"
|
52
|
+
when :lg then classes << "tabs-lg"
|
53
|
+
end
|
54
|
+
|
55
|
+
merge_classes(*classes)
|
56
|
+
end
|
57
|
+
|
58
|
+
def tab_classes(active: false, disabled: false)
|
59
|
+
classes = ["tab"]
|
60
|
+
classes << "tab-active" if active
|
61
|
+
classes << "tab-disabled" if disabled
|
62
|
+
merge_classes(*classes)
|
63
|
+
end
|
64
|
+
|
65
|
+
def tab_content_classes(active: false)
|
66
|
+
classes = ["tab-content"]
|
67
|
+
classes << "tab-content-active" if active
|
68
|
+
merge_classes(*classes)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Table < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
compact: false,
|
8
|
+
zebra: false,
|
9
|
+
pin_rows: false,
|
10
|
+
pin_cols: false,
|
11
|
+
**attributes
|
12
|
+
)
|
13
|
+
@compact = compact
|
14
|
+
@zebra = zebra
|
15
|
+
@pin_rows = pin_rows
|
16
|
+
@pin_cols = pin_cols
|
17
|
+
@attributes = attributes
|
18
|
+
end
|
19
|
+
|
20
|
+
def view_template(&block)
|
21
|
+
div(class: "overflow-x-auto") do
|
22
|
+
table(class: table_classes, **@attributes, &block)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# Helper methods that add actual value by handling DaisyUI-specific styling
|
27
|
+
def row(active: false, hover: false, **attributes, &block)
|
28
|
+
tr(class: merge_classes(row_classes(active: active, hover: hover), attributes[:class]), **attributes.except(:class), &block)
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def table_classes
|
34
|
+
classes = ["table"]
|
35
|
+
|
36
|
+
classes << "table-compact" if @compact
|
37
|
+
classes << "table-zebra" if @zebra
|
38
|
+
classes << "table-pin-rows" if @pin_rows
|
39
|
+
classes << "table-pin-cols" if @pin_cols
|
40
|
+
|
41
|
+
merge_classes(*classes)
|
42
|
+
end
|
43
|
+
|
44
|
+
def row_classes(active: false, hover: false)
|
45
|
+
classes = []
|
46
|
+
classes << "active" if active
|
47
|
+
classes << "hover" if hover
|
48
|
+
merge_classes(*classes)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Textarea < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
variant: nil,
|
8
|
+
size: :md,
|
9
|
+
bordered: false,
|
10
|
+
ghost: false,
|
11
|
+
placeholder: nil,
|
12
|
+
name: nil,
|
13
|
+
rows: 4,
|
14
|
+
**attributes
|
15
|
+
)
|
16
|
+
@variant = variant
|
17
|
+
@size = size
|
18
|
+
@bordered = bordered
|
19
|
+
@ghost = ghost
|
20
|
+
@placeholder = placeholder
|
21
|
+
@name = name
|
22
|
+
@rows = rows
|
23
|
+
@attributes = attributes
|
24
|
+
end
|
25
|
+
|
26
|
+
def view_template(&block)
|
27
|
+
textarea(
|
28
|
+
class: textarea_classes,
|
29
|
+
placeholder: @placeholder,
|
30
|
+
name: @name,
|
31
|
+
rows: @rows,
|
32
|
+
**@attributes,
|
33
|
+
&block
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def textarea_classes
|
40
|
+
classes = ["textarea", "w-full"]
|
41
|
+
|
42
|
+
case @variant
|
43
|
+
when :primary then classes << "textarea-primary"
|
44
|
+
when :secondary then classes << "textarea-secondary"
|
45
|
+
when :accent then classes << "textarea-accent"
|
46
|
+
when :info then classes << "textarea-info"
|
47
|
+
when :success then classes << "textarea-success"
|
48
|
+
when :warning then classes << "textarea-warning"
|
49
|
+
when :error then classes << "textarea-error"
|
50
|
+
end
|
51
|
+
|
52
|
+
case @size
|
53
|
+
when :xs then classes << "textarea-xs"
|
54
|
+
when :sm then classes << "textarea-sm"
|
55
|
+
when :md then classes << "textarea-md"
|
56
|
+
when :lg then classes << "textarea-lg"
|
57
|
+
end
|
58
|
+
|
59
|
+
classes << "textarea-bordered" if @bordered
|
60
|
+
classes << "textarea-ghost" if @ghost
|
61
|
+
|
62
|
+
merge_classes(*classes)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class ThemeController < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
type: :checkbox,
|
8
|
+
value: nil,
|
9
|
+
name: "theme-dropdown",
|
10
|
+
**attributes
|
11
|
+
)
|
12
|
+
@type = type
|
13
|
+
@value = value
|
14
|
+
@name = name
|
15
|
+
@attributes = attributes
|
16
|
+
end
|
17
|
+
|
18
|
+
def view_template
|
19
|
+
input(
|
20
|
+
type: @type.to_s,
|
21
|
+
class: "theme-controller",
|
22
|
+
name: @name,
|
23
|
+
value: @value,
|
24
|
+
**@attributes
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Timeline < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(vertical: true, snap: false, compact: false, **attributes)
|
7
|
+
@vertical = vertical
|
8
|
+
@snap = snap
|
9
|
+
@compact = compact
|
10
|
+
@attributes = attributes
|
11
|
+
end
|
12
|
+
|
13
|
+
def view_template(&block)
|
14
|
+
ul(class: timeline_classes, **@attributes, &block)
|
15
|
+
end
|
16
|
+
|
17
|
+
def item(start: false, end: false, **attributes, &block)
|
18
|
+
li(class: item_classes(start: start, end: end), **attributes, &block)
|
19
|
+
end
|
20
|
+
|
21
|
+
def start(**attributes, &block)
|
22
|
+
div(class: "timeline-start", **attributes, &block)
|
23
|
+
end
|
24
|
+
|
25
|
+
def middle(**attributes, &block)
|
26
|
+
div(class: "timeline-middle", **attributes, &block)
|
27
|
+
end
|
28
|
+
|
29
|
+
def end(**attributes, &block)
|
30
|
+
div(class: "timeline-end", **attributes, &block)
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def timeline_classes
|
36
|
+
classes = ["timeline"]
|
37
|
+
classes << "timeline-vertical" if @vertical
|
38
|
+
classes << "timeline-horizontal" unless @vertical
|
39
|
+
classes << "timeline-snap-icon" if @snap
|
40
|
+
classes << "timeline-compact" if @compact
|
41
|
+
merge_classes(*classes)
|
42
|
+
end
|
43
|
+
|
44
|
+
def item_classes(start: false, end: false)
|
45
|
+
classes = []
|
46
|
+
classes << "timeline-start" if start
|
47
|
+
classes << "timeline-end" if end
|
48
|
+
merge_classes(*classes)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Toast < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
position: :top_end,
|
8
|
+
**attributes
|
9
|
+
)
|
10
|
+
@position = position
|
11
|
+
@attributes = attributes
|
12
|
+
end
|
13
|
+
|
14
|
+
def view_template(&block)
|
15
|
+
div(class: toast_classes, **@attributes, &block)
|
16
|
+
end
|
17
|
+
|
18
|
+
def alert(variant: :info, **attributes, &block)
|
19
|
+
div(class: alert_classes(variant), **attributes, &block)
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def toast_classes
|
25
|
+
classes = ["toast"]
|
26
|
+
|
27
|
+
case @position
|
28
|
+
when :top_start then classes << "toast-top" << "toast-start"
|
29
|
+
when :top_center then classes << "toast-top" << "toast-center"
|
30
|
+
when :top_end then classes << "toast-top" << "toast-end"
|
31
|
+
when :middle_start then classes << "toast-middle" << "toast-start"
|
32
|
+
when :middle_center then classes << "toast-middle" << "toast-center"
|
33
|
+
when :middle_end then classes << "toast-middle" << "toast-end"
|
34
|
+
when :bottom_start then classes << "toast-bottom" << "toast-start"
|
35
|
+
when :bottom_center then classes << "toast-bottom" << "toast-center"
|
36
|
+
when :bottom_end then classes << "toast-bottom" << "toast-end"
|
37
|
+
end
|
38
|
+
|
39
|
+
merge_classes(*classes)
|
40
|
+
end
|
41
|
+
|
42
|
+
def alert_classes(variant)
|
43
|
+
classes = ["alert"]
|
44
|
+
|
45
|
+
case variant
|
46
|
+
when :info then classes << "alert-info"
|
47
|
+
when :success then classes << "alert-success"
|
48
|
+
when :warning then classes << "alert-warning"
|
49
|
+
when :error then classes << "alert-error"
|
50
|
+
end
|
51
|
+
|
52
|
+
merge_classes(*classes)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Toggle < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
variant: nil,
|
8
|
+
size: :md,
|
9
|
+
checked: false,
|
10
|
+
disabled: false,
|
11
|
+
name: nil,
|
12
|
+
value: nil,
|
13
|
+
**attributes
|
14
|
+
)
|
15
|
+
@variant = variant
|
16
|
+
@size = size
|
17
|
+
@checked = checked
|
18
|
+
@disabled = disabled
|
19
|
+
@name = name
|
20
|
+
@value = value
|
21
|
+
@attributes = attributes
|
22
|
+
end
|
23
|
+
|
24
|
+
def view_template
|
25
|
+
input(
|
26
|
+
type: "checkbox",
|
27
|
+
class: toggle_classes,
|
28
|
+
checked: @checked,
|
29
|
+
disabled: @disabled,
|
30
|
+
name: @name,
|
31
|
+
value: @value,
|
32
|
+
**@attributes
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def toggle_classes
|
39
|
+
classes = ["toggle"]
|
40
|
+
|
41
|
+
case @variant
|
42
|
+
when :primary then classes << "toggle-primary"
|
43
|
+
when :secondary then classes << "toggle-secondary"
|
44
|
+
when :accent then classes << "toggle-accent"
|
45
|
+
when :success then classes << "toggle-success"
|
46
|
+
when :warning then classes << "toggle-warning"
|
47
|
+
when :info then classes << "toggle-info"
|
48
|
+
when :error then classes << "toggle-error"
|
49
|
+
end
|
50
|
+
|
51
|
+
case @size
|
52
|
+
when :xs then classes << "toggle-xs"
|
53
|
+
when :sm then classes << "toggle-sm"
|
54
|
+
when :md then classes << "toggle-md"
|
55
|
+
when :lg then classes << "toggle-lg"
|
56
|
+
end
|
57
|
+
|
58
|
+
merge_classes(*classes)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Tooltip < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
text:,
|
8
|
+
position: :top,
|
9
|
+
variant: nil,
|
10
|
+
open: false,
|
11
|
+
**attributes
|
12
|
+
)
|
13
|
+
@text = text
|
14
|
+
@position = position
|
15
|
+
@variant = variant
|
16
|
+
@open = open
|
17
|
+
@attributes = attributes
|
18
|
+
end
|
19
|
+
|
20
|
+
def view_template(&block)
|
21
|
+
div(
|
22
|
+
class: tooltip_classes,
|
23
|
+
data: { tip: @text },
|
24
|
+
**@attributes,
|
25
|
+
&block
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
def tooltip_classes
|
32
|
+
classes = ["tooltip"]
|
33
|
+
|
34
|
+
case @position
|
35
|
+
when :top then classes << "tooltip-top"
|
36
|
+
when :bottom then classes << "tooltip-bottom"
|
37
|
+
when :left then classes << "tooltip-left"
|
38
|
+
when :right then classes << "tooltip-right"
|
39
|
+
end
|
40
|
+
|
41
|
+
case @variant
|
42
|
+
when :primary then classes << "tooltip-primary"
|
43
|
+
when :secondary then classes << "tooltip-secondary"
|
44
|
+
when :accent then classes << "tooltip-accent"
|
45
|
+
when :info then classes << "tooltip-info"
|
46
|
+
when :success then classes << "tooltip-success"
|
47
|
+
when :warning then classes << "tooltip-warning"
|
48
|
+
when :error then classes << "tooltip-error"
|
49
|
+
end
|
50
|
+
|
51
|
+
classes << "tooltip-open" if @open
|
52
|
+
|
53
|
+
merge_classes(*classes)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DaisyuiOnPhlex
|
4
|
+
module Components
|
5
|
+
class Validator < DaisyuiOnPhlex::Base
|
6
|
+
def initialize(
|
7
|
+
valid: nil,
|
8
|
+
invalid: nil,
|
9
|
+
**attributes
|
10
|
+
)
|
11
|
+
@valid = valid
|
12
|
+
@invalid = invalid
|
13
|
+
@attributes = attributes
|
14
|
+
end
|
15
|
+
|
16
|
+
def view_template(&block)
|
17
|
+
div(class: validator_classes, **@attributes, &block)
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def validator_classes
|
23
|
+
classes = []
|
24
|
+
|
25
|
+
if @valid == true
|
26
|
+
classes << "input-success"
|
27
|
+
elsif @valid == false || @invalid == true
|
28
|
+
classes << "input-error"
|
29
|
+
end
|
30
|
+
|
31
|
+
merge_classes(*classes)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daisyui_on_phlex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JacobAlexander
|
@@ -13,28 +13,28 @@ dependencies:
|
|
13
13
|
name: phlex
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '1.0'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
|
-
- - "
|
23
|
+
- - ">="
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: '1.0'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: phlex-rails
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - "
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '1.0'
|
40
40
|
- !ruby/object:Gem::Dependency
|
@@ -61,14 +61,14 @@ dependencies:
|
|
61
61
|
name: tailwind_merge
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - "
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0.12'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0.12'
|
74
74
|
- !ruby/object:Gem::Dependency
|
@@ -137,12 +137,67 @@ files:
|
|
137
137
|
- example.rb
|
138
138
|
- lib/daisyui_on_phlex.rb
|
139
139
|
- lib/daisyui_on_phlex/base.rb
|
140
|
+
- lib/daisyui_on_phlex/components/accordion.rb
|
140
141
|
- lib/daisyui_on_phlex/components/alert.rb
|
142
|
+
- lib/daisyui_on_phlex/components/avatar.rb
|
141
143
|
- lib/daisyui_on_phlex/components/badge.rb
|
144
|
+
- lib/daisyui_on_phlex/components/breadcrumbs.rb
|
142
145
|
- lib/daisyui_on_phlex/components/button.rb
|
146
|
+
- lib/daisyui_on_phlex/components/calendar.rb
|
143
147
|
- lib/daisyui_on_phlex/components/card.rb
|
148
|
+
- lib/daisyui_on_phlex/components/carousel.rb
|
149
|
+
- lib/daisyui_on_phlex/components/chat.rb
|
150
|
+
- lib/daisyui_on_phlex/components/checkbox.rb
|
151
|
+
- lib/daisyui_on_phlex/components/collapse.rb
|
152
|
+
- lib/daisyui_on_phlex/components/countdown.rb
|
153
|
+
- lib/daisyui_on_phlex/components/diff.rb
|
154
|
+
- lib/daisyui_on_phlex/components/divider.rb
|
155
|
+
- lib/daisyui_on_phlex/components/dock.rb
|
156
|
+
- lib/daisyui_on_phlex/components/drawer.rb
|
157
|
+
- lib/daisyui_on_phlex/components/dropdown.rb
|
158
|
+
- lib/daisyui_on_phlex/components/fieldset.rb
|
159
|
+
- lib/daisyui_on_phlex/components/file_input.rb
|
160
|
+
- lib/daisyui_on_phlex/components/filter.rb
|
161
|
+
- lib/daisyui_on_phlex/components/footer.rb
|
162
|
+
- lib/daisyui_on_phlex/components/hero.rb
|
163
|
+
- lib/daisyui_on_phlex/components/indicator.rb
|
144
164
|
- lib/daisyui_on_phlex/components/input.rb
|
165
|
+
- lib/daisyui_on_phlex/components/join.rb
|
166
|
+
- lib/daisyui_on_phlex/components/kbd.rb
|
167
|
+
- lib/daisyui_on_phlex/components/label.rb
|
168
|
+
- lib/daisyui_on_phlex/components/link.rb
|
169
|
+
- lib/daisyui_on_phlex/components/list.rb
|
170
|
+
- lib/daisyui_on_phlex/components/loading.rb
|
171
|
+
- lib/daisyui_on_phlex/components/mask.rb
|
172
|
+
- lib/daisyui_on_phlex/components/menu.rb
|
173
|
+
- lib/daisyui_on_phlex/components/mockup_browser.rb
|
174
|
+
- lib/daisyui_on_phlex/components/mockup_code.rb
|
175
|
+
- lib/daisyui_on_phlex/components/mockup_phone.rb
|
176
|
+
- lib/daisyui_on_phlex/components/mockup_window.rb
|
145
177
|
- lib/daisyui_on_phlex/components/modal.rb
|
178
|
+
- lib/daisyui_on_phlex/components/navbar.rb
|
179
|
+
- lib/daisyui_on_phlex/components/pagination.rb
|
180
|
+
- lib/daisyui_on_phlex/components/progress.rb
|
181
|
+
- lib/daisyui_on_phlex/components/radial_progress.rb
|
182
|
+
- lib/daisyui_on_phlex/components/radio.rb
|
183
|
+
- lib/daisyui_on_phlex/components/range.rb
|
184
|
+
- lib/daisyui_on_phlex/components/rating.rb
|
185
|
+
- lib/daisyui_on_phlex/components/select.rb
|
186
|
+
- lib/daisyui_on_phlex/components/skeleton.rb
|
187
|
+
- lib/daisyui_on_phlex/components/stack.rb
|
188
|
+
- lib/daisyui_on_phlex/components/stat.rb
|
189
|
+
- lib/daisyui_on_phlex/components/status.rb
|
190
|
+
- lib/daisyui_on_phlex/components/steps.rb
|
191
|
+
- lib/daisyui_on_phlex/components/swap.rb
|
192
|
+
- lib/daisyui_on_phlex/components/tab.rb
|
193
|
+
- lib/daisyui_on_phlex/components/table.rb
|
194
|
+
- lib/daisyui_on_phlex/components/textarea.rb
|
195
|
+
- lib/daisyui_on_phlex/components/theme_controller.rb
|
196
|
+
- lib/daisyui_on_phlex/components/timeline.rb
|
197
|
+
- lib/daisyui_on_phlex/components/toast.rb
|
198
|
+
- lib/daisyui_on_phlex/components/toggle.rb
|
199
|
+
- lib/daisyui_on_phlex/components/tooltip.rb
|
200
|
+
- lib/daisyui_on_phlex/components/validator.rb
|
146
201
|
- lib/daisyui_on_phlex/generators/install_generator.rb
|
147
202
|
- lib/daisyui_on_phlex/railtie.rb
|
148
203
|
- lib/daisyui_on_phlex/stylesheets/daisyui_on_phlex.css
|