odt-ui-rails 2.2.0 → 2.2.2
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 +308 -44
- data/app/assets/stylesheets/odt_ui/styles.css +420 -0
- data/app/javascript/controllers/odt_modal_controller.js +61 -0
- data/app/javascript/controllers/odt_toast_controller.js +40 -0
- data/lib/generators/odt/install_generator.rb +12 -4
- data/lib/generators/odt/templates/odt_modal_controller.js +61 -0
- data/lib/generators/odt/templates/odt_toast_controller.js +40 -0
- data/lib/generators/odt/templates/odt_ui.rbs +302 -0
- data/lib/odt_ui/helper.rb +265 -0
- data/lib/odt_ui/version.rb +1 -1
- data/sig/odt_ui.rbs +72 -0
- metadata +22 -4
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: odt-ui-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pixel
|
|
@@ -29,7 +29,15 @@ dependencies:
|
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: '9'
|
|
32
|
-
description:
|
|
32
|
+
description: |
|
|
33
|
+
ODT UI for Ruby on Rails brings the ODT Design System directly into Rails applications with a Standalone CSS First architecture.
|
|
34
|
+
|
|
35
|
+
Key Features:
|
|
36
|
+
* Standalone CSS First: Ships pre-compiled design tokens and component styles with zero host build tools required (compatible with Propshaft, Sprockets, or no asset pipeline).
|
|
37
|
+
* Seamless Tailwind CSS v4 Interop: Full @theme preset configuration allowing custom utility classes to merge cleanly.
|
|
38
|
+
* Hotwire & Turbo Ready: Out-of-the-box ActionView helpers for Flash Toasts, Turbo Stream notifications, and Stimulus-powered Modals.
|
|
39
|
+
* Complete Component Set: Buttons, Badges, Cards, Alerts, Toasts, Modals, Headings, Text, Avatars, Inputs, Selects, Checkboxes, Radios, and Form Groups.
|
|
40
|
+
* Type Checked: Full RBS type signatures included for Ruby LSP and Solargraph autocompletion.
|
|
33
41
|
email:
|
|
34
42
|
- pixxel.tk@gmail.com
|
|
35
43
|
executables: []
|
|
@@ -41,7 +49,12 @@ files:
|
|
|
41
49
|
- app/assets/stylesheets/odt_ui/styles.css
|
|
42
50
|
- app/assets/stylesheets/odt_ui/theme.css
|
|
43
51
|
- app/assets/stylesheets/odt_ui/tokens.css
|
|
52
|
+
- app/javascript/controllers/odt_modal_controller.js
|
|
53
|
+
- app/javascript/controllers/odt_toast_controller.js
|
|
44
54
|
- lib/generators/odt/install_generator.rb
|
|
55
|
+
- lib/generators/odt/templates/odt_modal_controller.js
|
|
56
|
+
- lib/generators/odt/templates/odt_toast_controller.js
|
|
57
|
+
- lib/generators/odt/templates/odt_ui.rbs
|
|
45
58
|
- lib/odt-ui-rails.rb
|
|
46
59
|
- lib/odt_ui/engine.rb
|
|
47
60
|
- lib/odt_ui/helper.rb
|
|
@@ -50,7 +63,11 @@ files:
|
|
|
50
63
|
homepage: https://github.com/PixxelTK/ODT-Lightweight-UI
|
|
51
64
|
licenses:
|
|
52
65
|
- MIT
|
|
53
|
-
metadata:
|
|
66
|
+
metadata:
|
|
67
|
+
homepage_uri: https://github.com/PixxelTK/ODT-Lightweight-UI
|
|
68
|
+
source_code_uri: https://github.com/PixxelTK/ODT-Lightweight-UI/tree/main/integrations/rails
|
|
69
|
+
documentation_uri: https://github.com/PixxelTK/ODT-Lightweight-UI/blob/main/integrations/rails/README.md
|
|
70
|
+
changelog_uri: https://github.com/PixxelTK/ODT-Lightweight-UI/releases
|
|
54
71
|
rdoc_options: []
|
|
55
72
|
require_paths:
|
|
56
73
|
- lib
|
|
@@ -67,5 +84,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
84
|
requirements: []
|
|
68
85
|
rubygems_version: 3.6.9
|
|
69
86
|
specification_version: 4
|
|
70
|
-
summary:
|
|
87
|
+
summary: Standalone CSS design tokens, Hotwire components, and ActionView helpers
|
|
88
|
+
for Ruby on Rails
|
|
71
89
|
test_files: []
|