okonomi_ui_kit 0.1.13 → 0.1.14
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/app/helpers/okonomi_ui_kit/components/page.rb +8 -2
- data/app/helpers/okonomi_ui_kit/components/page_body.rb +15 -0
- data/app/helpers/okonomi_ui_kit/components/page_header.rb +1 -1
- data/app/helpers/okonomi_ui_kit/components/{page_section.rb → segment.rb} +1 -1
- data/app/views/okonomi/components/page_body/_page_body.html.erb +3 -0
- data/lib/okonomi_ui_kit/version.rb +1 -1
- metadata +6 -4
- /data/app/views/okonomi/components/{page_section/_page_section.html.erb → segment/_segment.html.erb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02d1d3c2bfdf7b4540cb56dba40945e55d15ce78987cd5864ccf1941fbd699b5
|
4
|
+
data.tar.gz: f7783a14bb40bf95957936061ba560dbb3a64959f5a4084f58927a5edb8359b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88de14abb1c4ab75fa7a16cab52c5239a62409738e0ae227a13ea552d710fe242418604dd8494ae514fdb01073c80679c8c3b32a3857f3c137f875f26290d63d
|
7
|
+
data.tar.gz: 1b1c03afe50de99720cb1af0f2238adeeb5d9cc0aaf3da9f7a31eaf2538e1e735b49f751ecf122b6e2fe484260d9fa729e95e55fed2afb15608e874ce1fd6167
|
@@ -16,7 +16,7 @@ module OkonomiUiKit
|
|
16
16
|
|
17
17
|
register_styles :default do
|
18
18
|
{
|
19
|
-
root: "flex flex-col
|
19
|
+
root: "flex flex-col"
|
20
20
|
}
|
21
21
|
end
|
22
22
|
end
|
@@ -34,9 +34,15 @@ module OkonomiUiKit
|
|
34
34
|
@content_parts << @template.ui.page_header(options, &block)
|
35
35
|
nil
|
36
36
|
end
|
37
|
+
alias header page_header
|
38
|
+
|
39
|
+
def body(**options, &block)
|
40
|
+
@content_parts << @template.ui.page_body(options, &block)
|
41
|
+
nil
|
42
|
+
end
|
37
43
|
|
38
44
|
def section(**options, &block)
|
39
|
-
@content_parts << @template.ui.
|
45
|
+
@content_parts << @template.ui.segment(options, &block)
|
40
46
|
nil
|
41
47
|
end
|
42
48
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module OkonomiUiKit
|
2
|
+
module Components
|
3
|
+
class PageBody < OkonomiUiKit::Component
|
4
|
+
def render(options = {}, &block)
|
5
|
+
view.render(template_path, component: self, options:, &block)
|
6
|
+
end
|
7
|
+
|
8
|
+
register_styles :default do
|
9
|
+
{
|
10
|
+
root: "overflow-auto-y p-4"
|
11
|
+
}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okonomi_ui_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Okonomi GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1395,9 +1395,10 @@ files:
|
|
1395
1395
|
- app/helpers/okonomi_ui_kit/components/link_to.rb
|
1396
1396
|
- app/helpers/okonomi_ui_kit/components/navigation.rb
|
1397
1397
|
- app/helpers/okonomi_ui_kit/components/page.rb
|
1398
|
+
- app/helpers/okonomi_ui_kit/components/page_body.rb
|
1398
1399
|
- app/helpers/okonomi_ui_kit/components/page_header.rb
|
1399
|
-
- app/helpers/okonomi_ui_kit/components/page_section.rb
|
1400
1400
|
- app/helpers/okonomi_ui_kit/components/progress_bar.rb
|
1401
|
+
- app/helpers/okonomi_ui_kit/components/segment.rb
|
1401
1402
|
- app/helpers/okonomi_ui_kit/components/table.rb
|
1402
1403
|
- app/helpers/okonomi_ui_kit/components/typography.rb
|
1403
1404
|
- app/helpers/okonomi_ui_kit/config.rb
|
@@ -1433,9 +1434,10 @@ files:
|
|
1433
1434
|
- app/views/okonomi/components/navigation/_link.html.erb
|
1434
1435
|
- app/views/okonomi/components/navigation/_navigation.html.erb
|
1435
1436
|
- app/views/okonomi/components/page/_page.html.erb
|
1437
|
+
- app/views/okonomi/components/page_body/_page_body.html.erb
|
1436
1438
|
- app/views/okonomi/components/page_header/_page_header.html.erb
|
1437
|
-
- app/views/okonomi/components/page_section/_page_section.html.erb
|
1438
1439
|
- app/views/okonomi/components/progress_bar/_progress_bar.html.erb
|
1440
|
+
- app/views/okonomi/components/segment/_segment.html.erb
|
1439
1441
|
- app/views/okonomi/components/table/_table.html.erb
|
1440
1442
|
- app/views/okonomi/components/typography/_typography.html.erb
|
1441
1443
|
- app/views/okonomi/forms/tailwind/_checkbox_label.html.erb
|
/data/app/views/okonomi/components/{page_section/_page_section.html.erb → segment/_segment.html.erb}
RENAMED
File without changes
|