irelia 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -10
- data/Rakefile +18 -4
- data/app/assets/config/irelia_manifest.js +2 -2
- data/app/assets/dist/javascripts/irelia.js +1 -0
- data/app/assets/dist/stylesheets/irelia.css +1 -0
- data/app/assets/src/main.js +2 -0
- data/app/assets/src/main.pcss +245 -0
- data/app/components/index.js +7 -0
- data/app/components/index.pcss +38 -0
- data/app/components/irelia/app_shell/component.html.erb +18 -0
- data/app/components/irelia/app_shell/component.rb +14 -0
- data/app/components/irelia/app_shell/index.pcss +20 -0
- data/app/{frontend/components/page/header → components/irelia/app_shell}/preview.rb +1 -1
- data/app/components/irelia/app_shell/previews/default.html.erb +21 -0
- data/app/components/irelia/avatar/component.html.erb +3 -0
- data/app/components/irelia/avatar/component.rb +16 -0
- data/app/components/irelia/avatar/index.pcss +8 -0
- data/{lib/generators/view_component/templates/preview.rb.tt → app/components/irelia/avatar/preview.rb} +1 -1
- data/app/components/irelia/breadcrumbs/component.html.erb +12 -0
- data/app/components/irelia/breadcrumbs/component.rb +18 -0
- data/app/components/irelia/breadcrumbs/index.pcss +16 -0
- data/app/{frontend/components/page/container → components/irelia/breadcrumbs}/preview.rb +1 -1
- data/app/components/irelia/button/component.html.erb +27 -0
- data/app/components/irelia/button/component.rb +40 -0
- data/app/components/irelia/button/index.pcss +57 -0
- data/app/components/irelia/button/preview.rb +79 -0
- data/app/components/irelia/card/component.html.erb +5 -0
- data/app/components/irelia/card/component.rb +15 -0
- data/app/components/irelia/card/index.pcss +9 -0
- data/app/components/irelia/card/preview.rb +18 -0
- data/app/components/irelia/component.rb +55 -0
- data/app/components/irelia/component_preview.rb +7 -0
- data/app/components/irelia/container/component.rb +30 -0
- data/app/components/irelia/container/index.pcss +45 -0
- data/app/components/irelia/container/preview.rb +18 -0
- data/app/components/irelia/div/component.html.erb +3 -0
- data/app/components/irelia/div/component.rb +15 -0
- data/app/components/irelia/div/index.pcss +7 -0
- data/app/components/irelia/divider/component.html.erb +7 -0
- data/app/components/irelia/divider/component.rb +10 -0
- data/app/components/irelia/divider/index.pcss +15 -0
- data/app/components/irelia/dropdown/component.html.erb +17 -0
- data/app/components/irelia/dropdown/component.rb +52 -0
- data/app/components/irelia/dropdown/controller.js +14 -0
- data/app/components/irelia/dropdown/index.pcss +37 -0
- data/app/components/irelia/dropdown/preview.rb +42 -0
- data/app/components/irelia/dropdown/previews/direction_up.html.erb +10 -0
- data/app/components/irelia/empty_collection/component.html.erb +19 -0
- data/app/components/irelia/empty_collection/component.rb +15 -0
- data/app/components/irelia/empty_collection/index.pcss +23 -0
- data/app/components/irelia/empty_collection/preview.rb +9 -0
- data/app/components/irelia/flex/component.html.erb +3 -0
- data/app/components/irelia/flex/component.rb +21 -0
- data/app/components/irelia/flex/index.pcss +37 -0
- data/app/components/irelia/form/base/component.rb +51 -0
- data/app/components/irelia/form/base/index.pcss +7 -0
- data/app/components/irelia/form/email_field/component.html.erb +3 -0
- data/app/components/irelia/form/email_field/component.rb +10 -0
- data/app/components/irelia/form/email_field/index.pcss +7 -0
- data/app/{frontend/components/page/breadcrumbs → components/irelia/form/email_field}/preview.rb +1 -1
- data/app/components/irelia/form/email_field/previews/default.html.erb +3 -0
- data/app/components/irelia/form/group/component.html.erb +19 -0
- data/app/components/irelia/form/group/component.rb +26 -0
- data/app/components/irelia/form/group/index.pcss +32 -0
- data/app/components/irelia/form/password_field/component.html.erb +3 -0
- data/app/components/irelia/form/password_field/component.rb +10 -0
- data/app/components/irelia/form/password_field/index.pcss +7 -0
- data/app/components/irelia/form/password_field/preview.rb +9 -0
- data/app/components/irelia/form/password_field/previews/default.html.erb +3 -0
- data/app/components/irelia/form/select/component.html.erb +3 -0
- data/app/components/irelia/form/select/component.rb +18 -0
- data/app/components/irelia/form/select/index.pcss +7 -0
- data/app/components/irelia/form/select/preview.rb +9 -0
- data/app/components/irelia/form/select/previews/default.html.erb +3 -0
- data/app/components/irelia/form/text_field/component.html.erb +3 -0
- data/app/components/irelia/form/text_field/component.rb +10 -0
- data/app/components/irelia/form/text_field/index.pcss +7 -0
- data/app/components/irelia/form/text_field/preview.rb +9 -0
- data/app/components/irelia/form/text_field/previews/default.html.erb +3 -0
- data/app/components/irelia/html/component.html.erb +3 -0
- data/app/components/irelia/html/component.rb +10 -0
- data/app/components/irelia/html/index.pcss +16 -0
- data/app/components/irelia/html/preview.rb +9 -0
- data/app/components/irelia/icon/component.rb +18 -0
- data/app/components/irelia/icon/index.pcss +7 -0
- data/app/components/irelia/icon/preview.rb +10 -0
- data/app/components/irelia/icon/previews/font_awesome.html.erb +23 -0
- data/app/components/irelia/modal/component.html.erb +28 -0
- data/app/components/irelia/modal/component.rb +29 -0
- data/app/components/irelia/modal/controller.js +50 -0
- data/app/components/irelia/modal/index.pcss +41 -0
- data/app/{frontend/components/navbar/select_account → components/irelia/modal}/preview.rb +5 -2
- data/app/components/irelia/modal/previews/remote_content.html.erb +6 -0
- data/app/components/irelia/modal/previews/static_content.html.erb +4 -0
- data/app/components/irelia/navbar/brand/component.rb +25 -0
- data/app/components/irelia/navbar/brand/index.pcss +9 -0
- data/app/components/irelia/navbar/brand/preview.rb +10 -0
- data/app/components/irelia/navbar/component.html.erb +10 -0
- data/app/components/irelia/navbar/component.rb +20 -0
- data/app/components/irelia/navbar/index.pcss +13 -0
- data/app/components/irelia/navbar/navigation/component.html.erb +5 -0
- data/app/components/irelia/navbar/navigation/component.rb +15 -0
- data/app/components/irelia/navbar/navigation/index.pcss +9 -0
- data/app/components/irelia/navbar/navigation/link/component.html.erb +5 -0
- data/app/components/irelia/navbar/navigation/link/component.rb +18 -0
- data/app/components/irelia/navbar/navigation/link/index.pcss +13 -0
- data/app/components/irelia/navbar/navigation/link/preview.rb +10 -0
- data/app/components/irelia/navbar/navigation/preview.rb +15 -0
- data/app/components/irelia/navbar/preview.rb +17 -0
- data/app/components/irelia/navbar/previews/default.html.erb +19 -0
- data/app/components/irelia/navbar/previews/full_width.html.erb +19 -0
- data/app/components/irelia/navbar/previews/navigation_right.html.erb +19 -0
- data/app/components/irelia/navbar/section/component.html.erb +3 -0
- data/app/components/irelia/navbar/section/component.rb +13 -0
- data/app/components/irelia/navbar/section/index.pcss +8 -0
- data/app/components/irelia/navbar/separator/component.rb +14 -0
- data/app/components/irelia/navbar/separator/index.pcss +8 -0
- data/app/components/irelia/navigation/component.html.erb +7 -0
- data/app/components/irelia/navigation/component.rb +23 -0
- data/app/components/irelia/navigation/index.pcss +7 -0
- data/app/components/irelia/navigation/preview.rb +14 -0
- data/app/components/irelia/notification/component.html.erb +9 -0
- data/app/components/irelia/notification/component.rb +27 -0
- data/app/components/irelia/notification/index.pcss +41 -0
- data/app/components/irelia/notification/preview.rb +22 -0
- data/app/components/irelia/page_header/component.html.erb +15 -0
- data/app/components/irelia/page_header/component.rb +17 -0
- data/app/components/irelia/page_header/index.pcss +36 -0
- data/app/components/irelia/page_header/preview.rb +13 -0
- data/app/components/irelia/sidebar/brand/component.html.erb +6 -0
- data/app/components/irelia/sidebar/brand/component.rb +19 -0
- data/app/components/irelia/sidebar/brand/index.pcss +13 -0
- data/app/components/irelia/sidebar/brand/preview.rb +10 -0
- data/app/components/irelia/sidebar/component.html.erb +8 -0
- data/app/components/irelia/sidebar/component.rb +16 -0
- data/app/components/irelia/sidebar/index.pcss +12 -0
- data/app/components/irelia/sidebar/navigation/component.html.erb +5 -0
- data/app/components/irelia/sidebar/navigation/component.rb +12 -0
- data/app/components/irelia/sidebar/navigation/index.pcss +8 -0
- data/app/components/irelia/sidebar/navigation/link/component.html.erb +10 -0
- data/app/components/irelia/sidebar/navigation/link/component.rb +26 -0
- data/app/components/irelia/sidebar/navigation/link/index.pcss +20 -0
- data/app/components/irelia/sidebar/navigation/link/preview.rb +14 -0
- data/app/components/irelia/sidebar/navigation/preview.rb +16 -0
- data/app/components/irelia/sidebar/preview.rb +9 -0
- data/app/components/irelia/sidebar/previews/default.html.erb +12 -0
- data/app/components/irelia/sidebar/section/component.html.erb +3 -0
- data/app/components/irelia/sidebar/section/component.rb +16 -0
- data/app/components/irelia/sidebar/section/index.pcss +11 -0
- data/app/components/irelia/split_screen/component.html.erb +8 -0
- data/app/components/irelia/split_screen/component.rb +18 -0
- data/app/components/irelia/split_screen/index.pcss +35 -0
- data/app/components/irelia/split_screen/preview.rb +12 -0
- data/app/components/irelia/stack/component.html.erb +3 -0
- data/app/components/irelia/stack/component.rb +21 -0
- data/app/components/irelia/stack/index.pcss +25 -0
- data/app/components/irelia/stack/preview.rb +47 -0
- data/app/components/irelia/stack/previews/default.html.erb +5 -0
- data/app/components/irelia/stack/previews/horizontal.html.erb +5 -0
- data/app/components/irelia/stack/previews/vertical.html.erb +5 -0
- data/app/components/irelia/table/component.html.erb +23 -0
- data/app/components/irelia/table/component.rb +31 -0
- data/app/components/irelia/table/index.pcss +32 -0
- data/app/components/irelia/table/preview.rb +9 -0
- data/app/components/irelia/table/previews/default.html.erb +19 -0
- data/app/components/irelia/table/row/component.html.erb +5 -0
- data/app/components/irelia/table/row/component.rb +34 -0
- data/app/components/irelia/table/row/index.pcss +7 -0
- data/app/helpers/irelia/components_helper.rb +62 -0
- data/app/helpers/irelia/form_helper.rb +9 -0
- data/app/helpers/irelia/head_helper.rb +7 -0
- data/app/views/irelia/_head.html.erb +25 -0
- data/lib/irelia/config.rb +18 -0
- data/lib/irelia/engine.rb +13 -11
- data/lib/irelia/form_builder.rb +48 -0
- data/lib/irelia/options/fixed.rb +26 -0
- data/lib/irelia/options/flex/direction.rb +22 -0
- data/lib/irelia/options/flex/gap.rb +25 -0
- data/lib/irelia/options/flex/grow.rb +21 -0
- data/lib/irelia/options/flex/items.rb +25 -0
- data/lib/irelia/options/flex/justify.rb +27 -0
- data/lib/irelia/options/padding.rb +46 -0
- data/lib/irelia/options/text_formatting.rb +30 -0
- data/lib/irelia/options/width.rb +19 -0
- data/lib/irelia/version.rb +1 -1
- data/lib/irelia.rb +20 -24
- metadata +199 -168
- data/app/frontend/components/application_view_component.rb +0 -5
- data/app/frontend/components/application_view_component_preview.rb +0 -5
- data/app/frontend/components/navbar/button/component.html.erb +0 -8
- data/app/frontend/components/navbar/button/component.rb +0 -13
- data/app/frontend/components/navbar/button/preview.rb +0 -12
- data/app/frontend/components/navbar/container/component.html.erb +0 -5
- data/app/frontend/components/navbar/container/component.rb +0 -8
- data/app/frontend/components/navbar/container/preview.rb +0 -12
- data/app/frontend/components/navbar/dark_mode_switcher/component.html.erb +0 -4
- data/app/frontend/components/navbar/dark_mode_switcher/component.rb +0 -8
- data/app/frontend/components/navbar/dark_mode_switcher/preview.rb +0 -12
- data/app/frontend/components/navbar/menu_items/component.html.erb +0 -3
- data/app/frontend/components/navbar/menu_items/component.rb +0 -8
- data/app/frontend/components/navbar/menu_items/preview.rb +0 -12
- data/app/frontend/components/navbar/navlink/component.html.erb +0 -8
- data/app/frontend/components/navbar/navlink/component.rb +0 -13
- data/app/frontend/components/navbar/navlink/preview.rb +0 -12
- data/app/frontend/components/navbar/right_section/component.html.erb +0 -3
- data/app/frontend/components/navbar/right_section/component.rb +0 -8
- data/app/frontend/components/navbar/right_section/preview.rb +0 -12
- data/app/frontend/components/navbar/select_account/component.html.erb +0 -36
- data/app/frontend/components/navbar/select_account/component.rb +0 -6
- data/app/frontend/components/navbar/separator/component.html.erb +0 -1
- data/app/frontend/components/navbar/separator/component.rb +0 -7
- data/app/frontend/components/navbar/separator/preview.rb +0 -12
- data/app/frontend/components/page/breadcrumbs/component.html.erb +0 -16
- data/app/frontend/components/page/breadcrumbs/component.rb +0 -6
- data/app/frontend/components/page/container/component.html.erb +0 -3
- data/app/frontend/components/page/container/component.rb +0 -4
- data/app/frontend/components/page/header/component.html.erb +0 -12
- data/app/frontend/components/page/header/component.rb +0 -6
- data/app/helpers/navbar_helper.rb +0 -35
- data/app/helpers/page_helper.rb +0 -15
- data/app/javascript/controllers/dark_mode_switcher_controller.js +0 -20
- data/app/javascript/controllers/dropdown_controller.js +0 -3
- data/app/views/devise/registrations/new.html.erb +0 -21
- data/app/views/devise/sessions/new.html.erb +0 -18
- data/app/views/layouts/application.html.erb +0 -11
- data/app/views/layouts/devise.html.erb +0 -23
- data/app/views/layouts/mailer.html.erb +0 -13
- data/app/views/layouts/mailer.text.erb +0 -1
- data/app/views/layouts/teamable.html.erb +0 -31
- data/app/views/shared/_head.html.erb +0 -26
- data/app/views/shared/_navbar.html.erb +0 -30
- data/app/views/shared/_navbar_logo.html.erb +0 -3
- data/app/views/teamable/accounts/new.html.erb +0 -10
- data/app/views/teamable/setup/new.html.erb +0 -8
- data/app/views/teamable/shared/_form.html.erb +0 -4
- data/config/importmap.rb +0 -7
- data/config/initializers/devise.rb +0 -313
- data/config/initializers/simple_form.rb +0 -148
- data/config/initializers/view_component.rb +0 -18
- data/lib/generators/irelia/install_generator.rb +0 -19
- data/lib/generators/templates/irelia.rb +0 -14
- data/lib/generators/view_component/USAGE +0 -15
- data/lib/generators/view_component/templates/component.html.erb.tt +0 -1
- data/lib/generators/view_component/templates/component.rb.tt +0 -8
- data/lib/generators/view_component/templates/component_system_test.rb.tt +0 -13
- data/lib/generators/view_component/templates/component_test.rb.tt +0 -19
- data/lib/generators/view_component/view_component_generator.rb +0 -53
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irelia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Rasmus Kjellberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: view_component
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.12'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: view_component-contrib
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.2.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.2.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-initializer
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,106 +53,22 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.6
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.1.6
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: loaf
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.10.0
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.10.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: meta-tags
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.20'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.20'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: simple_form
|
56
|
+
name: lookbook
|
99
57
|
requirement: !ruby/object:Gem::Requirement
|
100
58
|
requirements:
|
101
59
|
- - "~>"
|
102
60
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
61
|
+
version: 2.3.1
|
104
62
|
type: :runtime
|
105
63
|
prerelease: false
|
106
64
|
version_requirements: !ruby/object:Gem::Requirement
|
107
65
|
requirements:
|
108
66
|
- - "~>"
|
109
67
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
111
|
-
|
112
|
-
name: teamable
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.2.0
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.2.0
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: view_component
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '3.11'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '3.11'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: view_component-contrib
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 0.2.2
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.2.2
|
153
|
-
description: A starter kit for building SaaS applications in Ruby on Rails.
|
68
|
+
version: 2.3.1
|
69
|
+
description: View components, assets and styles built with Tailwind CSS for KIQR.
|
154
70
|
email:
|
155
|
-
-
|
71
|
+
- 2277443+kjellberg@users.noreply.github.com
|
156
72
|
executables: []
|
157
73
|
extensions: []
|
158
74
|
extra_rdoc_files: []
|
@@ -161,81 +77,196 @@ files:
|
|
161
77
|
- README.md
|
162
78
|
- Rakefile
|
163
79
|
- app/assets/config/irelia_manifest.js
|
164
|
-
- app/
|
165
|
-
- app/
|
166
|
-
- app/
|
167
|
-
- app/
|
168
|
-
- app/
|
169
|
-
- app/
|
170
|
-
- app/
|
171
|
-
- app/
|
172
|
-
- app/
|
173
|
-
- app/
|
174
|
-
- app/
|
175
|
-
- app/
|
176
|
-
- app/
|
177
|
-
- app/
|
178
|
-
- app/
|
179
|
-
- app/
|
180
|
-
- app/
|
181
|
-
- app/
|
182
|
-
- app/
|
183
|
-
- app/
|
184
|
-
- app/
|
185
|
-
- app/
|
186
|
-
- app/
|
187
|
-
- app/
|
188
|
-
- app/
|
189
|
-
- app/
|
190
|
-
- app/
|
191
|
-
- app/
|
192
|
-
- app/
|
193
|
-
- app/
|
194
|
-
- app/
|
195
|
-
- app/
|
196
|
-
- app/
|
197
|
-
- app/
|
198
|
-
- app/
|
199
|
-
- app/
|
200
|
-
- app/
|
201
|
-
- app/
|
202
|
-
- app/
|
203
|
-
- app/
|
204
|
-
- app/
|
205
|
-
- app/
|
206
|
-
- app/
|
207
|
-
- app/
|
208
|
-
- app/
|
209
|
-
- app/
|
210
|
-
- app/
|
211
|
-
- app/
|
212
|
-
- app/
|
213
|
-
- app/
|
214
|
-
- app/
|
215
|
-
- app/
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
80
|
+
- app/assets/dist/javascripts/irelia.js
|
81
|
+
- app/assets/dist/stylesheets/irelia.css
|
82
|
+
- app/assets/src/main.js
|
83
|
+
- app/assets/src/main.pcss
|
84
|
+
- app/components/index.js
|
85
|
+
- app/components/index.pcss
|
86
|
+
- app/components/irelia/app_shell/component.html.erb
|
87
|
+
- app/components/irelia/app_shell/component.rb
|
88
|
+
- app/components/irelia/app_shell/index.pcss
|
89
|
+
- app/components/irelia/app_shell/preview.rb
|
90
|
+
- app/components/irelia/app_shell/previews/default.html.erb
|
91
|
+
- app/components/irelia/avatar/component.html.erb
|
92
|
+
- app/components/irelia/avatar/component.rb
|
93
|
+
- app/components/irelia/avatar/index.pcss
|
94
|
+
- app/components/irelia/avatar/preview.rb
|
95
|
+
- app/components/irelia/breadcrumbs/component.html.erb
|
96
|
+
- app/components/irelia/breadcrumbs/component.rb
|
97
|
+
- app/components/irelia/breadcrumbs/index.pcss
|
98
|
+
- app/components/irelia/breadcrumbs/preview.rb
|
99
|
+
- app/components/irelia/button/component.html.erb
|
100
|
+
- app/components/irelia/button/component.rb
|
101
|
+
- app/components/irelia/button/index.pcss
|
102
|
+
- app/components/irelia/button/preview.rb
|
103
|
+
- app/components/irelia/card/component.html.erb
|
104
|
+
- app/components/irelia/card/component.rb
|
105
|
+
- app/components/irelia/card/index.pcss
|
106
|
+
- app/components/irelia/card/preview.rb
|
107
|
+
- app/components/irelia/component.rb
|
108
|
+
- app/components/irelia/component_preview.rb
|
109
|
+
- app/components/irelia/container/component.rb
|
110
|
+
- app/components/irelia/container/index.pcss
|
111
|
+
- app/components/irelia/container/preview.rb
|
112
|
+
- app/components/irelia/div/component.html.erb
|
113
|
+
- app/components/irelia/div/component.rb
|
114
|
+
- app/components/irelia/div/index.pcss
|
115
|
+
- app/components/irelia/divider/component.html.erb
|
116
|
+
- app/components/irelia/divider/component.rb
|
117
|
+
- app/components/irelia/divider/index.pcss
|
118
|
+
- app/components/irelia/dropdown/component.html.erb
|
119
|
+
- app/components/irelia/dropdown/component.rb
|
120
|
+
- app/components/irelia/dropdown/controller.js
|
121
|
+
- app/components/irelia/dropdown/index.pcss
|
122
|
+
- app/components/irelia/dropdown/preview.rb
|
123
|
+
- app/components/irelia/dropdown/previews/direction_up.html.erb
|
124
|
+
- app/components/irelia/empty_collection/component.html.erb
|
125
|
+
- app/components/irelia/empty_collection/component.rb
|
126
|
+
- app/components/irelia/empty_collection/index.pcss
|
127
|
+
- app/components/irelia/empty_collection/preview.rb
|
128
|
+
- app/components/irelia/flex/component.html.erb
|
129
|
+
- app/components/irelia/flex/component.rb
|
130
|
+
- app/components/irelia/flex/index.pcss
|
131
|
+
- app/components/irelia/form/base/component.rb
|
132
|
+
- app/components/irelia/form/base/index.pcss
|
133
|
+
- app/components/irelia/form/email_field/component.html.erb
|
134
|
+
- app/components/irelia/form/email_field/component.rb
|
135
|
+
- app/components/irelia/form/email_field/index.pcss
|
136
|
+
- app/components/irelia/form/email_field/preview.rb
|
137
|
+
- app/components/irelia/form/email_field/previews/default.html.erb
|
138
|
+
- app/components/irelia/form/group/component.html.erb
|
139
|
+
- app/components/irelia/form/group/component.rb
|
140
|
+
- app/components/irelia/form/group/index.pcss
|
141
|
+
- app/components/irelia/form/password_field/component.html.erb
|
142
|
+
- app/components/irelia/form/password_field/component.rb
|
143
|
+
- app/components/irelia/form/password_field/index.pcss
|
144
|
+
- app/components/irelia/form/password_field/preview.rb
|
145
|
+
- app/components/irelia/form/password_field/previews/default.html.erb
|
146
|
+
- app/components/irelia/form/select/component.html.erb
|
147
|
+
- app/components/irelia/form/select/component.rb
|
148
|
+
- app/components/irelia/form/select/index.pcss
|
149
|
+
- app/components/irelia/form/select/preview.rb
|
150
|
+
- app/components/irelia/form/select/previews/default.html.erb
|
151
|
+
- app/components/irelia/form/text_field/component.html.erb
|
152
|
+
- app/components/irelia/form/text_field/component.rb
|
153
|
+
- app/components/irelia/form/text_field/index.pcss
|
154
|
+
- app/components/irelia/form/text_field/preview.rb
|
155
|
+
- app/components/irelia/form/text_field/previews/default.html.erb
|
156
|
+
- app/components/irelia/html/component.html.erb
|
157
|
+
- app/components/irelia/html/component.rb
|
158
|
+
- app/components/irelia/html/index.pcss
|
159
|
+
- app/components/irelia/html/preview.rb
|
160
|
+
- app/components/irelia/icon/component.rb
|
161
|
+
- app/components/irelia/icon/index.pcss
|
162
|
+
- app/components/irelia/icon/preview.rb
|
163
|
+
- app/components/irelia/icon/previews/font_awesome.html.erb
|
164
|
+
- app/components/irelia/modal/component.html.erb
|
165
|
+
- app/components/irelia/modal/component.rb
|
166
|
+
- app/components/irelia/modal/controller.js
|
167
|
+
- app/components/irelia/modal/index.pcss
|
168
|
+
- app/components/irelia/modal/preview.rb
|
169
|
+
- app/components/irelia/modal/previews/remote_content.html.erb
|
170
|
+
- app/components/irelia/modal/previews/static_content.html.erb
|
171
|
+
- app/components/irelia/navbar/brand/component.rb
|
172
|
+
- app/components/irelia/navbar/brand/index.pcss
|
173
|
+
- app/components/irelia/navbar/brand/preview.rb
|
174
|
+
- app/components/irelia/navbar/component.html.erb
|
175
|
+
- app/components/irelia/navbar/component.rb
|
176
|
+
- app/components/irelia/navbar/index.pcss
|
177
|
+
- app/components/irelia/navbar/navigation/component.html.erb
|
178
|
+
- app/components/irelia/navbar/navigation/component.rb
|
179
|
+
- app/components/irelia/navbar/navigation/index.pcss
|
180
|
+
- app/components/irelia/navbar/navigation/link/component.html.erb
|
181
|
+
- app/components/irelia/navbar/navigation/link/component.rb
|
182
|
+
- app/components/irelia/navbar/navigation/link/index.pcss
|
183
|
+
- app/components/irelia/navbar/navigation/link/preview.rb
|
184
|
+
- app/components/irelia/navbar/navigation/preview.rb
|
185
|
+
- app/components/irelia/navbar/preview.rb
|
186
|
+
- app/components/irelia/navbar/previews/default.html.erb
|
187
|
+
- app/components/irelia/navbar/previews/full_width.html.erb
|
188
|
+
- app/components/irelia/navbar/previews/navigation_right.html.erb
|
189
|
+
- app/components/irelia/navbar/section/component.html.erb
|
190
|
+
- app/components/irelia/navbar/section/component.rb
|
191
|
+
- app/components/irelia/navbar/section/index.pcss
|
192
|
+
- app/components/irelia/navbar/separator/component.rb
|
193
|
+
- app/components/irelia/navbar/separator/index.pcss
|
194
|
+
- app/components/irelia/navigation/component.html.erb
|
195
|
+
- app/components/irelia/navigation/component.rb
|
196
|
+
- app/components/irelia/navigation/index.pcss
|
197
|
+
- app/components/irelia/navigation/preview.rb
|
198
|
+
- app/components/irelia/notification/component.html.erb
|
199
|
+
- app/components/irelia/notification/component.rb
|
200
|
+
- app/components/irelia/notification/index.pcss
|
201
|
+
- app/components/irelia/notification/preview.rb
|
202
|
+
- app/components/irelia/page_header/component.html.erb
|
203
|
+
- app/components/irelia/page_header/component.rb
|
204
|
+
- app/components/irelia/page_header/index.pcss
|
205
|
+
- app/components/irelia/page_header/preview.rb
|
206
|
+
- app/components/irelia/sidebar/brand/component.html.erb
|
207
|
+
- app/components/irelia/sidebar/brand/component.rb
|
208
|
+
- app/components/irelia/sidebar/brand/index.pcss
|
209
|
+
- app/components/irelia/sidebar/brand/preview.rb
|
210
|
+
- app/components/irelia/sidebar/component.html.erb
|
211
|
+
- app/components/irelia/sidebar/component.rb
|
212
|
+
- app/components/irelia/sidebar/index.pcss
|
213
|
+
- app/components/irelia/sidebar/navigation/component.html.erb
|
214
|
+
- app/components/irelia/sidebar/navigation/component.rb
|
215
|
+
- app/components/irelia/sidebar/navigation/index.pcss
|
216
|
+
- app/components/irelia/sidebar/navigation/link/component.html.erb
|
217
|
+
- app/components/irelia/sidebar/navigation/link/component.rb
|
218
|
+
- app/components/irelia/sidebar/navigation/link/index.pcss
|
219
|
+
- app/components/irelia/sidebar/navigation/link/preview.rb
|
220
|
+
- app/components/irelia/sidebar/navigation/preview.rb
|
221
|
+
- app/components/irelia/sidebar/preview.rb
|
222
|
+
- app/components/irelia/sidebar/previews/default.html.erb
|
223
|
+
- app/components/irelia/sidebar/section/component.html.erb
|
224
|
+
- app/components/irelia/sidebar/section/component.rb
|
225
|
+
- app/components/irelia/sidebar/section/index.pcss
|
226
|
+
- app/components/irelia/split_screen/component.html.erb
|
227
|
+
- app/components/irelia/split_screen/component.rb
|
228
|
+
- app/components/irelia/split_screen/index.pcss
|
229
|
+
- app/components/irelia/split_screen/preview.rb
|
230
|
+
- app/components/irelia/stack/component.html.erb
|
231
|
+
- app/components/irelia/stack/component.rb
|
232
|
+
- app/components/irelia/stack/index.pcss
|
233
|
+
- app/components/irelia/stack/preview.rb
|
234
|
+
- app/components/irelia/stack/previews/default.html.erb
|
235
|
+
- app/components/irelia/stack/previews/horizontal.html.erb
|
236
|
+
- app/components/irelia/stack/previews/vertical.html.erb
|
237
|
+
- app/components/irelia/table/component.html.erb
|
238
|
+
- app/components/irelia/table/component.rb
|
239
|
+
- app/components/irelia/table/index.pcss
|
240
|
+
- app/components/irelia/table/preview.rb
|
241
|
+
- app/components/irelia/table/previews/default.html.erb
|
242
|
+
- app/components/irelia/table/row/component.html.erb
|
243
|
+
- app/components/irelia/table/row/component.rb
|
244
|
+
- app/components/irelia/table/row/index.pcss
|
245
|
+
- app/helpers/irelia/components_helper.rb
|
246
|
+
- app/helpers/irelia/form_helper.rb
|
247
|
+
- app/helpers/irelia/head_helper.rb
|
248
|
+
- app/views/irelia/_head.html.erb
|
229
249
|
- lib/irelia.rb
|
250
|
+
- lib/irelia/config.rb
|
230
251
|
- lib/irelia/engine.rb
|
252
|
+
- lib/irelia/form_builder.rb
|
253
|
+
- lib/irelia/options/fixed.rb
|
254
|
+
- lib/irelia/options/flex/direction.rb
|
255
|
+
- lib/irelia/options/flex/gap.rb
|
256
|
+
- lib/irelia/options/flex/grow.rb
|
257
|
+
- lib/irelia/options/flex/items.rb
|
258
|
+
- lib/irelia/options/flex/justify.rb
|
259
|
+
- lib/irelia/options/padding.rb
|
260
|
+
- lib/irelia/options/text_formatting.rb
|
261
|
+
- lib/irelia/options/width.rb
|
231
262
|
- lib/irelia/version.rb
|
232
|
-
homepage: https://
|
263
|
+
homepage: https://kiqr.dev
|
233
264
|
licenses:
|
234
265
|
- MIT
|
235
266
|
metadata:
|
236
|
-
homepage_uri: https://
|
237
|
-
source_code_uri: https://github.com/kiqr/irelia
|
238
|
-
changelog_uri: https://github.com/kiqr/irelia
|
267
|
+
homepage_uri: https://kiqr.dev
|
268
|
+
source_code_uri: https://github.com/kiqr/irelia
|
269
|
+
changelog_uri: https://github.com/kiqr/irelia
|
239
270
|
post_install_message:
|
240
271
|
rdoc_options: []
|
241
272
|
require_paths:
|
@@ -254,5 +285,5 @@ requirements: []
|
|
254
285
|
rubygems_version: 3.5.6
|
255
286
|
signing_key:
|
256
287
|
specification_version: 4
|
257
|
-
summary:
|
288
|
+
summary: Default theme for KIQR
|
258
289
|
test_files: []
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<%= button_to target, class: "inline-flex items-center gap-x-1 py-3 px-4 text-sm leading-3 justify-center rounded transition bg-white hover:bg-neutral-50 dark:bg-dark-900 dark:hover:bg-dark-800 dark:text-neutral-200 whitespace-nowrap cursor-pointer #{custom_class}", method: method do %>
|
2
|
-
<% if icon.present? %>
|
3
|
-
<i class="<%= icon %> w-3 h-3"></i>
|
4
|
-
<% end %>
|
5
|
-
<% if text.present? %>
|
6
|
-
<span class="ml-1"><%= text %></span>
|
7
|
-
<% end %>
|
8
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module Button
|
5
|
-
class Component < ApplicationViewComponent
|
6
|
-
option :target # required
|
7
|
-
option :method, default: proc { :get }
|
8
|
-
option :icon, optional: true # FontAwesome icon class
|
9
|
-
option :text, optional: true
|
10
|
-
option :custom_class, optional: true
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module Button
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<section class="flex sticky left-0 right-0 top-0 z-50 h-[60px] relative bg-white dark:bg-dark-900 gap-x-8 z-40 items-center border-b dark:border-b-dark-700">
|
2
|
-
<div class="container max-w-[1200px] mx-auto px-8 flex items-center h-[60px] gap-x-8">
|
3
|
-
<%= content %>
|
4
|
-
</div>
|
5
|
-
</section>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module Container
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<button data-controller="dark-mode-switcher" data-action="click->dark-mode-switcher#toggle" class="inline-flex items-center gap-x-1 py-3 px-4 text-sm leading-3 justify-center rounded transition bg-white hover:bg-neutral-50 dark:bg-dark-900 dark:hover:bg-dark-800 dark:text-neutral-200 whitespace-nowrap cursor-pointer">
|
2
|
-
<i class="fa fa-lightbulb hidden dark:inline"></i>
|
3
|
-
<i class="fa fa-moon inline dark:hidden"></i>
|
4
|
-
</button>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module DarkModeSwitcher
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module MenuItems
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<%= link_to target, class: "flex items-center px-2 text-sm h-[60px] border-y-2 border-transparent #{active ? "font-bold text-primary-700" : "hover:text-black dark:hover:text-white" } #{custom_class}" do %>
|
2
|
-
<% if icon.present? %>
|
3
|
-
<i class="<%= icon %> w-4 h-4 <%= "mr-3" if text %>"></i>
|
4
|
-
<% end %>
|
5
|
-
<% if text.present? %>
|
6
|
-
<span><%= text %></span>
|
7
|
-
<% end %>
|
8
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module Navlink
|
5
|
-
class Component < ApplicationViewComponent
|
6
|
-
option :target # required
|
7
|
-
option :active, optional: true, default: false
|
8
|
-
option :text, optional: true
|
9
|
-
option :custom_class, optional: true
|
10
|
-
option :icon, optional: true
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module Navlink
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Navbar
|
4
|
-
module RightSection
|
5
|
-
class Preview < ApplicationViewComponentPreview
|
6
|
-
# You can specify the container class for the default template
|
7
|
-
# self.container_class = "w-1/2 border border-gray-300"
|
8
|
-
|
9
|
-
def default; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|