avo 3.17.6.tw4 → 3.17.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +0 -1
- data/app/assets/stylesheets/avo.base.css +101 -101
- data/app/assets/stylesheets/css/fields/progress.css +4 -4
- data/app/assets/stylesheets/css/fields/tiptap.css +4 -4
- data/app/assets/stylesheets/css/pagination.css +2 -2
- data/app/assets/stylesheets/css/search.css +4 -4
- data/app/assets/stylesheets/css/tailwindcss/base.css +1 -0
- data/app/assets/stylesheets/css/tailwindcss/components.css +1 -0
- data/app/assets/stylesheets/css/tailwindcss/utilities.css +1 -0
- data/app/assets/stylesheets/css/tooltips.css +1 -1
- data/app/components/avo/actions_component.html.erb +3 -3
- data/app/components/avo/alert_component.html.erb +2 -2
- data/app/components/avo/alert_component.rb +1 -1
- data/app/components/avo/backtrace_alert_component.html.erb +3 -3
- data/app/components/avo/button_component.rb +3 -3
- data/app/components/avo/divider_component.html.erb +2 -2
- data/app/components/avo/empty_state_component.html.erb +1 -1
- data/app/components/avo/field_wrapper_component.html.erb +1 -1
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/boolean_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/boolean_group_field/edit_component.rb +1 -1
- data/app/components/avo/fields/common/files/view_type/list_item_component.html.erb +3 -3
- data/app/components/avo/fields/common/key_value_component.html.erb +3 -3
- data/app/components/avo/fields/common/status_viewer_component.html.erb +5 -6
- data/app/components/avo/fields/date_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/date_time_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/tags_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/tags_field/tag_component.html.erb +1 -1
- data/app/components/avo/fields/tiptap_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
- data/app/components/avo/filters_component.html.erb +3 -3
- data/app/components/avo/index/grid_item_component.html.erb +2 -2
- data/app/components/avo/index/grid_item_component.rb +1 -1
- data/app/components/avo/index/resource_grid_component.html.erb +1 -1
- data/app/components/avo/index/resource_map_component.html.erb +1 -1
- data/app/components/avo/index/resource_table_component.html.erb +1 -1
- data/app/components/avo/index/table_row_component.html.erb +3 -3
- data/app/components/avo/items/panel_component.html.erb +1 -1
- data/app/components/avo/media_library/item_details_component.html.erb +1 -1
- data/app/components/avo/modal_component.html.erb +1 -1
- data/app/components/avo/paginator_component.html.erb +2 -1
- data/app/components/avo/panel_component.html.erb +2 -2
- data/app/components/avo/profile_item_component.rb +1 -1
- data/app/components/avo/resource_sidebar_component.html.erb +1 -1
- data/app/components/avo/row_selector_component.html.erb +1 -1
- data/app/components/avo/sidebar/link_component.rb +1 -1
- data/app/components/avo/sidebar_component.html.erb +3 -3
- data/app/components/avo/sidebar_profile_component.html.erb +4 -4
- data/app/components/avo/tab_group_component.html.erb +1 -1
- data/app/helpers/avo/application_helper.rb +4 -4
- data/app/javascript/js/controllers/fields/key_value_controller.js +1 -1
- data/app/javascript/js/controllers/fields/tags_field_helpers.js +1 -1
- data/app/javascript/js/controllers/search_controller.js +2 -2
- data/app/views/avo/base/preview.html.erb +1 -1
- data/app/views/avo/debug/report.html.erb +1 -1
- data/app/views/avo/debug/status.html.erb +14 -19
- data/app/views/avo/home/_actions.html.erb +1 -1
- data/app/views/avo/home/_dashboards.html.erb +1 -1
- data/app/views/avo/home/_filters.html.erb +1 -1
- data/app/views/avo/home/_resources.html.erb +2 -2
- data/app/views/avo/home/failed_to_load.html.erb +1 -1
- data/app/views/avo/partials/_confirm_dialog.html.erb +4 -4
- data/app/views/avo/partials/_custom_tools_alert.html.erb +6 -6
- data/app/views/avo/partials/_navbar.html.erb +3 -3
- data/app/views/avo/partials/_resource_search.html.erb +1 -1
- data/app/views/avo/partials/_table_header.html.erb +2 -2
- data/app/views/avo/sidebar/_license_warning.html.erb +1 -1
- data/lib/avo/concerns/row_controls_configuration.rb +15 -16
- data/lib/avo/resources/items/holder.rb +1 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/resource_tool_generator.rb +1 -1
- data/lib/generators/avo/templates/cards/partial_card_partial.tt +1 -1
- data/lib/generators/avo/tool_generator.rb +2 -2
- data/lib/tasks/avo_tasks.rake +1 -1
- data/public/avo-assets/avo.base.css +12260 -10320
- data/public/avo-assets/avo.base.js +3 -3
- data/public/avo-assets/avo.base.js.map +2 -2
- data/tailwind.preset.js +20 -0
- metadata +6 -3
data/tailwind.preset.js
CHANGED
@@ -3,9 +3,29 @@ const plugin = require('tailwindcss/plugin')
|
|
3
3
|
const colors = require('tailwindcss/colors')
|
4
4
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
5
5
|
|
6
|
+
const avoPath = require('child_process').execSync('bundle show avo', { encoding: 'utf-8' }).trim()
|
6
7
|
const { primary, blue, gray } = require('./tailwind.custom')
|
7
8
|
|
9
|
+
function contentPaths(basePath) {
|
10
|
+
return [
|
11
|
+
`${basePath}/safelist.txt`,
|
12
|
+
`${basePath}/lib/avo/**/*.rb`,
|
13
|
+
`${basePath}/app/helpers/**/*.rb`,
|
14
|
+
`${basePath}/app/views/**/*.{html.erb,rb}`,
|
15
|
+
`${basePath}/app/javascript/**/*.js`,
|
16
|
+
`${basePath}/app/components/**/*.{html.erb,rb}`,
|
17
|
+
`${basePath}/app/controllers/**/*.rb`,
|
18
|
+
`${basePath}/lib/**/*.rb`,
|
19
|
+
`${basePath}/public/**/*.{js,css}`,
|
20
|
+
]
|
21
|
+
}
|
22
|
+
|
8
23
|
module.exports = {
|
24
|
+
content: [
|
25
|
+
...contentPaths('./tmp/avo/packages/*'),
|
26
|
+
...contentPaths('./../avo-kanban/*'),
|
27
|
+
...contentPaths(avoPath),
|
28
|
+
],
|
9
29
|
theme: {
|
10
30
|
extend: {
|
11
31
|
aspectRatio: {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.17.6
|
4
|
+
version: 3.17.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -245,6 +245,9 @@ files:
|
|
245
245
|
- app/assets/stylesheets/css/search.css
|
246
246
|
- app/assets/stylesheets/css/sidebar.css
|
247
247
|
- app/assets/stylesheets/css/spinner.css
|
248
|
+
- app/assets/stylesheets/css/tailwindcss/base.css
|
249
|
+
- app/assets/stylesheets/css/tailwindcss/components.css
|
250
|
+
- app/assets/stylesheets/css/tailwindcss/utilities.css
|
248
251
|
- app/assets/stylesheets/css/tooltips.css
|
249
252
|
- app/assets/stylesheets/css/typography.css
|
250
253
|
- app/assets/svgs/avo/arrow-circle-right.svg
|
@@ -2614,9 +2617,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2614
2617
|
version: 3.0.0
|
2615
2618
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2616
2619
|
requirements:
|
2617
|
-
- - "
|
2620
|
+
- - ">="
|
2618
2621
|
- !ruby/object:Gem::Version
|
2619
|
-
version:
|
2622
|
+
version: '0'
|
2620
2623
|
requirements: []
|
2621
2624
|
rubygems_version: 3.4.6
|
2622
2625
|
signing_key:
|