okonomi_ui_kit 0.1.9 → 0.1.11
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 +46 -4
- data/app/assets/builds/okonomi_ui_kit/application.tailwind.css +366 -57
- data/app/helpers/okonomi_ui_kit/CLAUDE.md +619 -0
- data/app/helpers/okonomi_ui_kit/component.rb +4 -0
- data/app/helpers/okonomi_ui_kit/components/badge.rb +4 -4
- data/app/helpers/okonomi_ui_kit/components/button_base.rb +88 -16
- data/app/helpers/okonomi_ui_kit/components/button_tag.rb +11 -5
- data/app/helpers/okonomi_ui_kit/components/button_to.rb +5 -4
- data/app/helpers/okonomi_ui_kit/components/dropdown_button.rb +147 -0
- data/app/helpers/okonomi_ui_kit/components/link_to.rb +5 -4
- data/app/helpers/okonomi_ui_kit/components/page.rb +16 -201
- data/app/helpers/okonomi_ui_kit/components/page_header.rb +111 -0
- data/app/helpers/okonomi_ui_kit/components/page_section.rb +145 -0
- data/app/helpers/okonomi_ui_kit/t_w_merge.rb +34 -0
- data/app/javascript/okonomi_ui_kit/controllers/dropdown_controller.js +6 -0
- data/app/views/okonomi/components/dropdown_button/_dropdown_button.html.erb +282 -0
- data/app/views/okonomi/components/forms/field/_field.html.erb +34 -3
- data/app/views/okonomi/components/page/_page.html.erb +1 -1
- data/app/views/okonomi/components/page_header/_page_header.html.erb +4 -0
- data/app/views/okonomi/components/page_section/_page_section.html.erb +4 -0
- data/lib/okonomi_ui_kit/version.rb +1 -1
- metadata +13 -8
- data/app/views/okonomi/forms/tailwind/_field.html.erb +0 -34
- data/app/views/okonomi/page_builder/_page.html.erb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6b5c9889118d0c98bea77960f48a3ff9fb1fa514c5d4ebd9295efce29b63ab8
|
4
|
+
data.tar.gz: 11b96764a850723bc49e3219357525ef8027325b36877dac95b21cb727d0b336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2af055854b937f8e833e13faa2a9499442e0308c8f821dcaf3376c2127b37316320b0984e549e3a0f6a5d38693d4fac019ec13c4b329f2b04ba3a91e4fcc0597
|
7
|
+
data.tar.gz: 84f37782710b0c70b2f395cdd03735d0d0535beb0a1e640ca770b96620d1b14bdd93d382424f460f03d4adb701daf9894cc8a9078378c275e4544eb71f92393e
|
data/README.md
CHANGED
@@ -81,7 +81,7 @@ OkonomiUiKit provides a `ui` helper that gives you access to all components:
|
|
81
81
|
- **File Upload** - Drag-and-drop file uploads
|
82
82
|
|
83
83
|
### Navigation Components
|
84
|
-
- **Dropdown** -
|
84
|
+
- **Dropdown Button** - Split button with dropdown menu
|
85
85
|
- **Breadcrumbs** - Navigation breadcrumbs
|
86
86
|
- **Link** - Styled links with variants
|
87
87
|
|
@@ -113,7 +113,7 @@ end
|
|
113
113
|
|
114
114
|
## Documentation
|
115
115
|
|
116
|
-
### Guides
|
116
|
+
### Core Guides
|
117
117
|
|
118
118
|
- [Style Overrides Guide](guides/style-overrides-guide.md) - Complete guide to customizing component styles
|
119
119
|
- [Component Guide](docs/COMPONENT_GUIDE.md) - Creating custom components
|
@@ -121,11 +121,53 @@ end
|
|
121
121
|
|
122
122
|
### Component Guides
|
123
123
|
|
124
|
+
#### Core UI Components
|
125
|
+
- [Alert](guides/components/alert.md) - Notification messages and alerts
|
126
|
+
- [Badge](guides/components/badge.md) - Status indicators and labels
|
127
|
+
- [Button Base](guides/components/button_base.md) - Base button component configuration
|
128
|
+
- [Button Tag](guides/components/button_tag.md) - Button element with styling
|
129
|
+
- [Button To](guides/components/button_to.md) - Rails button_to helper with styling
|
130
|
+
- [Code](guides/components/code.md) - Inline and block code display
|
131
|
+
- [Link To](guides/components/link_to.md) - Styled link components
|
132
|
+
- [Typography](guides/components/typography.md) - Text styling with semantic HTML elements
|
133
|
+
|
134
|
+
#### Layout Components
|
135
|
+
- [Page](guides/components/page.md) - Page layout structure
|
136
|
+
- [Table](guides/components/table.md) - Data tables with consistent styling
|
137
|
+
|
138
|
+
#### Navigation Components
|
124
139
|
- [Breadcrumbs](guides/components/breadcrumbs.md) - Navigation breadcrumb trails
|
140
|
+
- [Dropdown Button](guides/components/dropdown_button.md) - Split button with dropdown menu
|
141
|
+
- [Navigation](guides/components/navigation.md) - Sidebar navigation menus with groups and links
|
142
|
+
|
143
|
+
#### Interactive Components
|
125
144
|
- [Confirmation Modal](guides/components/confirmation_modal.md) - Accessible modal dialogs for user confirmations
|
126
145
|
- [Icon](guides/components/icon.md) - SVG icon rendering with style customization
|
127
|
-
|
128
|
-
|
146
|
+
|
147
|
+
#### Form Components
|
148
|
+
- [Forms Overview](guides/components/forms.md) - Form building guide and best practices
|
149
|
+
- [Check Box with Label](guides/components/forms/check_box_with_label.md) - Checkbox inputs with labels
|
150
|
+
- [Collection Select](guides/components/forms/collection_select.md) - Select from a collection
|
151
|
+
- [Date Field](guides/components/forms/date_field.md) - Date input fields
|
152
|
+
- [DateTime Local Field](guides/components/forms/datetime_local_field.md) - Date and time inputs
|
153
|
+
- [Email Field](guides/components/forms/email_field.md) - Email input validation
|
154
|
+
- [Field](guides/components/forms/field.md) - Form field wrapper
|
155
|
+
- [Field Set](guides/components/forms/field_set.md) - Group related form fields
|
156
|
+
- [Input Base](guides/components/forms/input_base.md) - Base input configuration
|
157
|
+
- [Label](guides/components/forms/label.md) - Form labels
|
158
|
+
- [Multi Select](guides/components/forms/multi_select.md) - Multiple selection inputs
|
159
|
+
- [Number Field](guides/components/forms/number_field.md) - Numeric inputs
|
160
|
+
- [Password Field](guides/components/forms/password_field.md) - Password inputs
|
161
|
+
- [Search Field](guides/components/forms/search_field.md) - Search input fields
|
162
|
+
- [Select](guides/components/forms/select.md) - Select dropdowns
|
163
|
+
- [Show If](guides/components/forms/show_if.md) - Conditional field visibility
|
164
|
+
- [Telephone Field](guides/components/forms/telephone_field.md) - Phone number inputs
|
165
|
+
- [Text Area](guides/components/forms/text_area.md) - Multi-line text inputs
|
166
|
+
- [Text Field](guides/components/forms/text_field.md) - Single-line text inputs
|
167
|
+
- [Time Field](guides/components/forms/time_field.md) - Time input fields
|
168
|
+
- [Upload Field](guides/components/forms/upload_field.md) - File upload fields
|
169
|
+
- [URL Field](guides/components/forms/url_field.md) - URL input validation
|
170
|
+
|
129
171
|
|
130
172
|
### Development
|
131
173
|
|