ariadne_view_components 0.0.69 → 0.0.71
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/CHANGELOG.md +4 -0
- data/README.md +20 -1
- data/app/assets/javascripts/ariadne_view_components.js +14 -14
- data/app/assets/javascripts/ariadne_view_components.js.br +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.gz +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/assets/stylesheets/ariadne_view_components.css +1 -1
- data/app/assets/stylesheets/ariadne_view_components.css.br +0 -0
- data/app/assets/stylesheets/ariadne_view_components.css.gz +0 -0
- data/app/components/ariadne/base_component.rb +11 -1
- data/app/components/ariadne/behaviors/captionable.rb +55 -0
- data/app/components/ariadne/behaviors/tooltipable.rb +15 -15
- data/app/components/ariadne/form/base_component.rb +1 -1
- data/app/components/ariadne/form/checkbox/component.html.erb +6 -0
- data/app/components/ariadne/form/checkbox/component.rb +34 -0
- data/app/components/ariadne/form/group/component.html.erb +2 -2
- data/app/components/ariadne/form/group/component.rb +29 -2
- data/app/components/ariadne/form/hidden_field/component.html.erb +6 -1
- data/app/components/ariadne/form/hidden_field/component.rb +10 -3
- data/app/components/ariadne/form/radio/component.html.erb +6 -0
- data/app/components/ariadne/form/radio/component.rb +26 -0
- data/app/components/ariadne/form/radio_button/component.html.erb +6 -0
- data/app/components/ariadne/form/radio_button/component.rb +60 -0
- data/app/components/ariadne/form/radio_button_group/component.html.erb +24 -0
- data/app/components/ariadne/form/radio_button_group/component.rb +59 -0
- data/app/components/ariadne/form/text_field/component.html.erb +1 -0
- data/app/components/ariadne/layout/grid/component.html.erb +7 -0
- data/app/components/ariadne/layout/grid/component.rb +36 -0
- data/app/components/ariadne/layout/nav_bar/component.html.erb +12 -101
- data/app/components/ariadne/layout/nav_bar/component.rb +38 -9
- data/app/components/ariadne/layout/two_panel/component.html.erb +14 -0
- data/app/components/ariadne/layout/two_panel/component.rb +38 -0
- data/app/components/ariadne/layout/wide/component.html.erb +9 -0
- data/app/components/ariadne/layout/wide/component.rb +24 -0
- data/app/components/ariadne/turbo/frame/component.html.erb +3 -0
- data/app/components/ariadne/turbo/frame/component.rb +16 -0
- data/app/components/ariadne/turbo/stream_action/component.html.erb +4 -0
- data/app/components/ariadne/turbo/stream_action/component.rb +25 -0
- data/app/components/ariadne/ui/badge/component.html.erb +1 -0
- data/app/components/ariadne/ui/badge/component.rb +76 -0
- data/app/components/ariadne/ui/blankslate/component.html.erb +9 -0
- data/app/components/ariadne/ui/blankslate/component.rb +37 -0
- data/app/components/ariadne/ui/button/component.rb +2 -1
- data/app/components/ariadne/ui/color_dot/component.html.erb +7 -0
- data/app/components/ariadne/ui/color_dot/component.rb +39 -0
- data/app/components/ariadne/ui/combobox/component.html.erb +9 -15
- data/app/components/ariadne/ui/combobox/component.rb +38 -26
- data/app/components/ariadne/ui/combobox/{menu_item → item}/component.html.erb +1 -1
- data/app/components/ariadne/ui/combobox/item/component.rb +61 -0
- data/app/components/ariadne/ui/combobox/option/component.html.erb +1 -1
- data/app/components/ariadne/ui/combobox/option/component.rb +11 -12
- data/app/components/ariadne/ui/data_table/component.html.erb +1 -0
- data/app/components/ariadne/ui/data_table/component.rb +11 -0
- data/app/components/ariadne/ui/dialog/component.html.erb +32 -0
- data/app/components/ariadne/ui/dialog/component.rb +37 -0
- data/app/components/ariadne/ui/dialog/component.ts +27 -0
- data/app/components/ariadne/ui/heroicon/component.rb +7 -2
- data/app/components/ariadne/ui/list/component.html.erb +6 -0
- data/app/components/ariadne/ui/list/component.rb +12 -0
- data/app/components/ariadne/ui/list/item/component.html.erb +16 -0
- data/app/components/ariadne/ui/list/item/component.rb +17 -0
- data/app/components/ariadne/ui/table/cell/component.html.erb +3 -0
- data/app/components/ariadne/ui/table/cell/component.rb +38 -0
- data/app/components/ariadne/ui/table/component.html.erb +13 -0
- data/app/components/ariadne/ui/table/component.rb +45 -0
- data/app/components/ariadne/ui/table/footer/component.html.erb +0 -0
- data/app/components/ariadne/ui/table/footer/component.rb +14 -0
- data/app/components/ariadne/ui/table/header/component.html.erb +3 -0
- data/app/components/ariadne/ui/table/header/component.rb +40 -0
- data/app/components/ariadne/ui/table/row/component.html.erb +5 -0
- data/app/components/ariadne/ui/table/row/component.rb +28 -0
- data/app/components/ariadne/ui/typography/component.html.erb +1 -3
- data/app/components/ariadne/ui/typography/component.rb +62 -2
- data/app/frontend/ariadne/index.ts +0 -1
- data/app/frontend/controllers/autosubmittable_controller.ts +25 -0
- data/lib/ariadne/forms/base.html.erb +4 -5
- data/lib/ariadne/forms/dsl/badge.rb +35 -0
- data/lib/ariadne/forms/dsl/button_input.rb +4 -3
- data/lib/ariadne/forms/dsl/form_object.rb +8 -0
- data/lib/ariadne/forms/dsl/form_reference_input.rb +59 -0
- data/lib/ariadne/forms/dsl/hidden_input.rb +32 -0
- data/lib/ariadne/forms/dsl/input.rb +4 -2
- data/lib/ariadne/forms/dsl/input_group.rb +3 -3
- data/lib/ariadne/forms/dsl/radio_button_group_input.rb +50 -0
- data/lib/ariadne/forms/dsl/radio_button_input.rb +48 -0
- data/lib/ariadne/forms/dsl/text_field_input.rb +4 -1
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +54 -10
- data/app/components/ariadne/form/caption/component.html.erb +0 -10
- data/app/components/ariadne/form/caption/component.rb +0 -32
- data/app/components/ariadne/form/spacing_wrapper/component.html.erb +0 -3
- data/app/components/ariadne/form/spacing_wrapper/component.rb +0 -10
- data/app/components/ariadne/ui/combobox/menu_item/component.rb +0 -53
- data/app/frontend/controllers/tooltip.ts +0 -75
- data/app/frontend/stylesheets/typography.css +0 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 266cf76e3cfee14a8c29480e5f77d694158b509daefef6f2d0d2aa0fa84ea5f9
|
4
|
+
data.tar.gz: 3b02dddcef359c630f2c313ba588dcaaafacd28b555e2039102c33ff71cf34b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d483cf4c463f700b8806825fff0564d8c349b14760f0f6b036cd382e4d4e860c09f2ab1c30199c59f42068167fe7c0857c8f2151681ee21a7f4cc1e9312d5630
|
7
|
+
data.tar.gz: 3c9ed87a47f37aa6e3cb03ee813fcc9159bab2f573b96e1d0a0fef9b3132ca0ab56594f29d68ecef561db903d40ca29683b9501081cd6dd306924d1818b0bb89
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [v0.0.70] - 09-04-2024
|
2
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.69...v0.0.70
|
3
|
+
## [v0.0.69] - 05-04-2024
|
4
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.68...v0.0.69
|
1
5
|
## [v0.0.68] - 05-04-2024
|
2
6
|
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.67...v0.0.68
|
3
7
|
## [v0.0.67] - 05-04-2024
|
data/README.md
CHANGED
@@ -65,10 +65,29 @@ export default defineConfig({
|
|
65
65
|
});
|
66
66
|
```
|
67
67
|
|
68
|
-
##
|
68
|
+
## rearrange @tailwind base;
|
69
69
|
|
70
70
|
this resets styles applied by ariadne, which already resets styles!!
|
71
71
|
|
72
|
+
## Helpers
|
73
|
+
|
74
|
+
`Ariadne::ViewHelpers`
|
75
|
+
|
76
|
+
## Wrappers
|
77
|
+
|
78
|
+
- `render_if`
|
79
|
+
- `with_tooltip`
|
80
|
+
|
81
|
+
## Style
|
82
|
+
|
83
|
+
use `content` when you want everything slurped up
|
84
|
+
prefer `renders_one :text` etc to limit the type of data which can be entered
|
85
|
+
|
86
|
+
item means one click only
|
87
|
+
option means one selection or one of many
|
88
|
+
|
89
|
+
use `option` for config stuff, not rendering
|
90
|
+
|
72
91
|
### Incorporating Rubocop and other linters
|
73
92
|
|
74
93
|
This gem comes with some standard linters to keep your code fresh and consistent. Refer to [the documentation](./docs/content/linting.md) for more information.
|