avo 3.0.1.beta6 → 3.0.1.beta8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +23 -25
- data/{public/avo-assets/avo.css → app/assets/builds/avo.base.css} +2094 -1468
- data/app/assets/builds/avo.base.js +124556 -0
- data/app/assets/builds/avo.base.js.map +7 -0
- data/app/assets/builds/avo.custom.js +6 -0
- data/app/assets/builds/avo.custom.js.map +7 -0
- data/app/assets/stylesheets/avo.base.css +1 -0
- data/app/assets/stylesheets/css/fields/tags.css +32 -0
- data/app/components/avo/actions_component.rb +1 -1
- data/app/components/avo/field_wrapper_component.rb +1 -7
- data/app/components/avo/fields/common/badge_viewer_component.html.erb +1 -0
- data/app/components/avo/fields/common/key_value_component.html.erb +2 -2
- data/app/components/avo/fields/common/key_value_component.rb +2 -2
- data/app/components/avo/fields/common/progress_bar_component.rb +3 -9
- data/app/components/avo/fields/edit_component.rb +1 -1
- data/app/components/avo/fields/index_component.rb +1 -1
- data/app/components/avo/fields/show_component.rb +1 -1
- data/app/components/avo/index/field_wrapper_component.rb +1 -1
- data/app/components/avo/index/resource_controls_component.rb +1 -1
- data/app/components/avo/index/resource_table_component.rb +6 -6
- data/app/components/avo/resource_component.rb +9 -4
- data/app/components/avo/sidebar_profile_component.html.erb +4 -4
- data/app/components/avo/tab_group_component.html.erb +1 -1
- data/app/components/avo/tab_switcher_component.rb +2 -2
- data/app/components/avo/views/resource_edit_component.rb +5 -5
- data/app/components/avo/views/resource_index_component.rb +1 -1
- data/app/components/avo/views/resource_show_component.rb +1 -1
- data/app/controllers/avo/actions_controller.rb +1 -1
- data/app/controllers/avo/application_controller.rb +5 -5
- data/app/controllers/avo/base_controller.rb +1 -1
- data/app/controllers/avo/search_controller.rb +17 -0
- data/app/controllers/concerns/avo/initializes_avo.rb +1 -0
- data/app/helpers/avo/url_helpers.rb +1 -1
- data/app/views/avo/actions/show.html.erb +1 -1
- data/config/routes.rb +4 -3
- data/db/factories.rb +1 -1
- data/lib/avo/base_action.rb +2 -2
- data/lib/avo/base_resource.rb +6 -5
- data/lib/avo/concerns/has_helpers.rb +18 -0
- data/lib/avo/concerns/has_items.rb +1 -1
- data/lib/avo/concerns/visible_in_different_views.rb +7 -1
- data/lib/avo/concerns/visible_items.rb +43 -0
- data/lib/avo/configuration.rb +8 -2
- data/lib/avo/current.rb +1 -0
- data/lib/avo/execution_context.rb +4 -1
- data/lib/avo/fields/badge_field.rb +1 -1
- data/lib/avo/fields/base_field.rb +9 -36
- data/lib/avo/fields/belongs_to_field.rb +1 -1
- data/lib/avo/fields/concerns/has_html_attributes.rb +2 -0
- data/lib/avo/fields/concerns/use_view_components.rb +45 -0
- data/lib/avo/fields/has_base_field.rb +2 -2
- data/lib/avo/resources/items/item_group.rb +2 -2
- data/lib/avo/resources/items/row.rb +3 -3
- data/lib/avo/resources/items/sidebar.rb +1 -1
- data/lib/avo/resources/items/tab.rb +2 -2
- data/lib/avo/resources/items/tab_group.rb +1 -1
- data/lib/avo/resources/resource_manager.rb +6 -1
- data/lib/avo/version.rb +1 -1
- data/lib/avo/view_inquirer.rb +36 -0
- data/lib/avo.rb +9 -0
- data/lib/generators/avo/eject_generator.rb +93 -16
- data/lib/generators/avo/resource_generator.rb +5 -5
- data/lib/generators/avo/templates/initializer/avo.tt +5 -0
- data/public/avo-assets/avo.base.css +50 -210
- metadata +12 -6
- data/config/master.key +0 -1
- data/public/avo-assets/avo.js +0 -513
- data/public/avo-assets/avo.js.map +0 -7
@@ -6354,6 +6354,44 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6354
6354
|
margin-left:0px
|
6355
6355
|
}
|
6356
6356
|
|
6357
|
+
tags.tagify {
|
6358
|
+
--tag-inset-shadow-size: 3em;
|
6359
|
+
--tags-border-color: rgb(var(--color-primary-500));
|
6360
|
+
--tags-hover-border-color: rgb(var(--color-primary-500));
|
6361
|
+
}
|
6362
|
+
|
6363
|
+
.tagify__dropdown {
|
6364
|
+
--tagify-dd-color-primary: rgb(var(--color-primary-500));
|
6365
|
+
}
|
6366
|
+
|
6367
|
+
tags.tagify{
|
6368
|
+
padding:0px !important;
|
6369
|
+
}
|
6370
|
+
|
6371
|
+
tags.tagify span.tagify__input{
|
6372
|
+
margin-top:0.25rem;
|
6373
|
+
margin-bottom:0.25rem
|
6374
|
+
}
|
6375
|
+
|
6376
|
+
tags.tagify span.tagify__input:after {
|
6377
|
+
/* The loader is not centered by default. This will make it look better. */
|
6378
|
+
margin-top: 0.25rem;
|
6379
|
+
}
|
6380
|
+
|
6381
|
+
tag.tagify__tag{
|
6382
|
+
margin-top:0.25rem;
|
6383
|
+
margin-bottom:0.25rem;
|
6384
|
+
margin-bottom:0px;
|
6385
|
+
font-size:0.875rem;
|
6386
|
+
line-height:1.25rem
|
6387
|
+
}
|
6388
|
+
|
6389
|
+
/* When the tags field is used to select just one value there's a weird ZeroWidthSpace (\u200B) character that breaks the vertical spacing. */
|
6390
|
+
|
6391
|
+
[data-tags-field-mode-value="select"] tags.tagify {
|
6392
|
+
height: 40px;
|
6393
|
+
}
|
6394
|
+
|
6357
6395
|
.container{
|
6358
6396
|
width:100%
|
6359
6397
|
}
|
@@ -6523,10 +6561,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6523
6561
|
top:0px
|
6524
6562
|
}
|
6525
6563
|
|
6526
|
-
.top-1{
|
6527
|
-
top:0.25rem
|
6528
|
-
}
|
6529
|
-
|
6530
6564
|
.top-1\/2{
|
6531
6565
|
top:50%
|
6532
6566
|
}
|
@@ -6595,26 +6629,10 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6595
6629
|
grid-column:span 1 / span 1
|
6596
6630
|
}
|
6597
6631
|
|
6598
|
-
.col-span-2{
|
6599
|
-
grid-column:span 2 / span 2
|
6600
|
-
}
|
6601
|
-
|
6602
|
-
.col-span-3{
|
6603
|
-
grid-column:span 3 / span 3
|
6604
|
-
}
|
6605
|
-
|
6606
6632
|
.col-span-4{
|
6607
6633
|
grid-column:span 4 / span 4
|
6608
6634
|
}
|
6609
6635
|
|
6610
|
-
.col-span-5{
|
6611
|
-
grid-column:span 5 / span 5
|
6612
|
-
}
|
6613
|
-
|
6614
|
-
.col-span-6{
|
6615
|
-
grid-column:span 6 / span 6
|
6616
|
-
}
|
6617
|
-
|
6618
6636
|
.col-span-full{
|
6619
6637
|
grid-column:1 / -1
|
6620
6638
|
}
|
@@ -6655,10 +6673,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6655
6673
|
margin:0px
|
6656
6674
|
}
|
6657
6675
|
|
6658
|
-
.m-1{
|
6659
|
-
margin:0.25rem
|
6660
|
-
}
|
6661
|
-
|
6662
6676
|
.-mx-1{
|
6663
6677
|
margin-left:-0.25rem;
|
6664
6678
|
margin-right:-0.25rem
|
@@ -6674,11 +6688,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6674
6688
|
margin-right:-0.5rem
|
6675
6689
|
}
|
6676
6690
|
|
6677
|
-
.-mx-4{
|
6678
|
-
margin-left:-1rem;
|
6679
|
-
margin-right:-1rem
|
6680
|
-
}
|
6681
|
-
|
6682
6691
|
.-mx-6{
|
6683
6692
|
margin-left:-1.5rem;
|
6684
6693
|
margin-right:-1.5rem
|
@@ -6689,11 +6698,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6689
6698
|
margin-bottom:-0.5rem
|
6690
6699
|
}
|
6691
6700
|
|
6692
|
-
.-my-4{
|
6693
|
-
margin-top:-1rem;
|
6694
|
-
margin-bottom:-1rem
|
6695
|
-
}
|
6696
|
-
|
6697
6701
|
.mx-3{
|
6698
6702
|
margin-left:0.75rem;
|
6699
6703
|
margin-right:0.75rem
|
@@ -6704,11 +6708,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6704
6708
|
margin-right:1.5rem
|
6705
6709
|
}
|
6706
6710
|
|
6707
|
-
.mx-auto{
|
6708
|
-
margin-left:auto;
|
6709
|
-
margin-right:auto
|
6710
|
-
}
|
6711
|
-
|
6712
6711
|
.my-0{
|
6713
6712
|
margin-top:0px;
|
6714
6713
|
margin-bottom:0px
|
@@ -6743,30 +6742,14 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6743
6742
|
margin-bottom:-0.5rem
|
6744
6743
|
}
|
6745
6744
|
|
6746
|
-
.-ml-10{
|
6747
|
-
margin-left:-2.5rem
|
6748
|
-
}
|
6749
|
-
|
6750
|
-
.-ml-20{
|
6751
|
-
margin-left:-5rem
|
6752
|
-
}
|
6753
|
-
|
6754
6745
|
.-ml-4{
|
6755
6746
|
margin-left:-1rem
|
6756
6747
|
}
|
6757
6748
|
|
6758
|
-
.-ml-px{
|
6759
|
-
margin-left:-1px
|
6760
|
-
}
|
6761
|
-
|
6762
6749
|
.-mt-1{
|
6763
6750
|
margin-top:-0.25rem
|
6764
6751
|
}
|
6765
6752
|
|
6766
|
-
.-mt-10{
|
6767
|
-
margin-top:-2.5rem
|
6768
|
-
}
|
6769
|
-
|
6770
6753
|
.-mt-12{
|
6771
6754
|
margin-top:-3rem
|
6772
6755
|
}
|
@@ -6775,10 +6758,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6775
6758
|
margin-top:-0.5rem
|
6776
6759
|
}
|
6777
6760
|
|
6778
|
-
.-mt-24{
|
6779
|
-
margin-top:-6rem
|
6780
|
-
}
|
6781
|
-
|
6782
6761
|
.-mt-9{
|
6783
6762
|
margin-top:-2.25rem
|
6784
6763
|
}
|
@@ -6823,10 +6802,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6823
6802
|
margin-left:0.5rem
|
6824
6803
|
}
|
6825
6804
|
|
6826
|
-
.ml-20{
|
6827
|
-
margin-left:5rem
|
6828
|
-
}
|
6829
|
-
|
6830
6805
|
.ml-3{
|
6831
6806
|
margin-left:0.75rem
|
6832
6807
|
}
|
@@ -6839,10 +6814,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6839
6814
|
margin-left:1.5rem
|
6840
6815
|
}
|
6841
6816
|
|
6842
|
-
.ml-8{
|
6843
|
-
margin-left:2rem
|
6844
|
-
}
|
6845
|
-
|
6846
6817
|
.ml-auto{
|
6847
6818
|
margin-left:auto
|
6848
6819
|
}
|
@@ -7011,10 +6982,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7011
6982
|
height:2.5rem
|
7012
6983
|
}
|
7013
6984
|
|
7014
|
-
.h-14{
|
7015
|
-
height:3.5rem
|
7016
|
-
}
|
7017
|
-
|
7018
6985
|
.h-16{
|
7019
6986
|
height:4rem
|
7020
6987
|
}
|
@@ -7031,18 +6998,10 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7031
6998
|
height:0.75rem
|
7032
6999
|
}
|
7033
7000
|
|
7034
|
-
.h-36{
|
7035
|
-
height:9rem
|
7036
|
-
}
|
7037
|
-
|
7038
7001
|
.h-4{
|
7039
7002
|
height:1rem
|
7040
7003
|
}
|
7041
7004
|
|
7042
|
-
.h-40{
|
7043
|
-
height:10rem
|
7044
|
-
}
|
7045
|
-
|
7046
7005
|
.h-5{
|
7047
7006
|
height:1.25rem
|
7048
7007
|
}
|
@@ -7059,10 +7018,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7059
7018
|
height:16rem
|
7060
7019
|
}
|
7061
7020
|
|
7062
|
-
.h-72{
|
7063
|
-
height:18rem
|
7064
|
-
}
|
7065
|
-
|
7066
7021
|
.h-8{
|
7067
7022
|
height:2rem
|
7068
7023
|
}
|
@@ -7127,10 +7082,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7127
7082
|
min-height:100%
|
7128
7083
|
}
|
7129
7084
|
|
7130
|
-
.min-h-inherit{
|
7131
|
-
min-height:inherit
|
7132
|
-
}
|
7133
|
-
|
7134
7085
|
.min-h-screen{
|
7135
7086
|
min-height:100vh
|
7136
7087
|
}
|
@@ -7155,10 +7106,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7155
7106
|
width:83.333333%
|
7156
7107
|
}
|
7157
7108
|
|
7158
|
-
.w-11{
|
7159
|
-
width:2.75rem
|
7160
|
-
}
|
7161
|
-
|
7162
7109
|
.w-11\/12{
|
7163
7110
|
width:91.666667%
|
7164
7111
|
}
|
@@ -7215,6 +7162,10 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7215
7162
|
width:100%
|
7216
7163
|
}
|
7217
7164
|
|
7165
|
+
.min-w-0{
|
7166
|
+
min-width:0px
|
7167
|
+
}
|
7168
|
+
|
7218
7169
|
.min-w-\[1rem\]{
|
7219
7170
|
min-width:1rem
|
7220
7171
|
}
|
@@ -7295,11 +7246,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7295
7246
|
border-collapse:collapse
|
7296
7247
|
}
|
7297
7248
|
|
7298
|
-
.-translate-x-1{
|
7299
|
-
--tw-translate-x:-0.25rem;
|
7300
|
-
transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
7301
|
-
}
|
7302
|
-
|
7303
7249
|
.-translate-x-1\/2{
|
7304
7250
|
--tw-translate-x:-50%;
|
7305
7251
|
transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
@@ -7385,18 +7331,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7385
7331
|
grid-template-columns:repeat(2, minmax(0, 1fr))
|
7386
7332
|
}
|
7387
7333
|
|
7388
|
-
.grid-cols-3{
|
7389
|
-
grid-template-columns:repeat(3, minmax(0, 1fr))
|
7390
|
-
}
|
7391
|
-
|
7392
|
-
.grid-cols-4{
|
7393
|
-
grid-template-columns:repeat(4, minmax(0, 1fr))
|
7394
|
-
}
|
7395
|
-
|
7396
|
-
.grid-cols-5{
|
7397
|
-
grid-template-columns:repeat(5, minmax(0, 1fr))
|
7398
|
-
}
|
7399
|
-
|
7400
7334
|
.grid-cols-6{
|
7401
7335
|
grid-template-columns:repeat(6, minmax(0, 1fr))
|
7402
7336
|
}
|
@@ -7461,10 +7395,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7461
7395
|
justify-content:space-between
|
7462
7396
|
}
|
7463
7397
|
|
7464
|
-
.justify-around{
|
7465
|
-
justify-content:space-around
|
7466
|
-
}
|
7467
|
-
|
7468
7398
|
.justify-evenly{
|
7469
7399
|
justify-content:space-evenly
|
7470
7400
|
}
|
@@ -7481,10 +7411,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7481
7411
|
gap:0.5rem
|
7482
7412
|
}
|
7483
7413
|
|
7484
|
-
.gap-3{
|
7485
|
-
gap:0.75rem
|
7486
|
-
}
|
7487
|
-
|
7488
7414
|
.gap-4{
|
7489
7415
|
gap:1rem
|
7490
7416
|
}
|
@@ -7493,12 +7419,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7493
7419
|
gap:1.5rem
|
7494
7420
|
}
|
7495
7421
|
|
7496
|
-
.space-x-0 > :not([hidden]) ~ :not([hidden]){
|
7497
|
-
--tw-space-x-reverse:0;
|
7498
|
-
margin-right:calc(0px * var(--tw-space-x-reverse));
|
7499
|
-
margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))
|
7500
|
-
}
|
7501
|
-
|
7502
7422
|
.space-x-1 > :not([hidden]) ~ :not([hidden]){
|
7503
7423
|
--tw-space-x-reverse:0;
|
7504
7424
|
margin-right:calc(0.25rem * var(--tw-space-x-reverse));
|
@@ -7523,18 +7443,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7523
7443
|
margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))
|
7524
7444
|
}
|
7525
7445
|
|
7526
|
-
.space-x-8 > :not([hidden]) ~ :not([hidden]){
|
7527
|
-
--tw-space-x-reverse:0;
|
7528
|
-
margin-right:calc(2rem * var(--tw-space-x-reverse));
|
7529
|
-
margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))
|
7530
|
-
}
|
7531
|
-
|
7532
|
-
.space-y-0 > :not([hidden]) ~ :not([hidden]){
|
7533
|
-
--tw-space-y-reverse:0;
|
7534
|
-
margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));
|
7535
|
-
margin-bottom:calc(0px * var(--tw-space-y-reverse))
|
7536
|
-
}
|
7537
|
-
|
7538
7446
|
.space-y-1 > :not([hidden]) ~ :not([hidden]){
|
7539
7447
|
--tw-space-y-reverse:0;
|
7540
7448
|
margin-top:calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
@@ -7553,12 +7461,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7553
7461
|
margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))
|
7554
7462
|
}
|
7555
7463
|
|
7556
|
-
.space-y-3 > :not([hidden]) ~ :not([hidden]){
|
7557
|
-
--tw-space-y-reverse:0;
|
7558
|
-
margin-top:calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
7559
|
-
margin-bottom:calc(0.75rem * var(--tw-space-y-reverse))
|
7560
|
-
}
|
7561
|
-
|
7562
7464
|
.space-y-4 > :not([hidden]) ~ :not([hidden]){
|
7563
7465
|
--tw-space-y-reverse:0;
|
7564
7466
|
margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
@@ -7631,6 +7533,10 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7631
7533
|
white-space:nowrap
|
7632
7534
|
}
|
7633
7535
|
|
7536
|
+
.text-ellipsis{
|
7537
|
+
text-overflow:ellipsis
|
7538
|
+
}
|
7539
|
+
|
7634
7540
|
.whitespace-nowrap{
|
7635
7541
|
white-space:nowrap
|
7636
7542
|
}
|
@@ -7680,16 +7586,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7680
7586
|
border-bottom-left-radius:0.25rem
|
7681
7587
|
}
|
7682
7588
|
|
7683
|
-
.rounded-l-md{
|
7684
|
-
border-top-left-radius:0.375rem;
|
7685
|
-
border-bottom-left-radius:0.375rem
|
7686
|
-
}
|
7687
|
-
|
7688
|
-
.rounded-r-md{
|
7689
|
-
border-top-right-radius:0.375rem;
|
7690
|
-
border-bottom-right-radius:0.375rem
|
7691
|
-
}
|
7692
|
-
|
7693
7589
|
.rounded-t{
|
7694
7590
|
border-top-left-radius:0.25rem;
|
7695
7591
|
border-top-right-radius:0.25rem
|
@@ -7699,11 +7595,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7699
7595
|
border-width:1px
|
7700
7596
|
}
|
7701
7597
|
|
7702
|
-
.border-y{
|
7703
|
-
border-top-width:1px;
|
7704
|
-
border-bottom-width:1px
|
7705
|
-
}
|
7706
|
-
|
7707
7598
|
.border-b{
|
7708
7599
|
border-bottom-width:1px
|
7709
7600
|
}
|
@@ -7844,10 +7735,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7844
7735
|
border-color:rgb(236 72 153 / var(--tw-border-opacity))
|
7845
7736
|
}
|
7846
7737
|
|
7847
|
-
.border-primary-300{
|
7848
|
-
border-color:rgb(var(--color-primary-300))
|
7849
|
-
}
|
7850
|
-
|
7851
7738
|
.border-primary-500{
|
7852
7739
|
border-color:rgb(var(--color-primary-500))
|
7853
7740
|
}
|
@@ -7960,11 +7847,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
7960
7847
|
background-color:rgb(227 229 232 / var(--tw-bg-opacity))
|
7961
7848
|
}
|
7962
7849
|
|
7963
|
-
.bg-gray-200{
|
7964
|
-
--tw-bg-opacity:1;
|
7965
|
-
background-color:rgb(200 203 208 / var(--tw-bg-opacity))
|
7966
|
-
}
|
7967
|
-
|
7968
7850
|
.bg-gray-25{
|
7969
7851
|
--tw-bg-opacity:1;
|
7970
7852
|
background-color:rgb(246 246 247 / var(--tw-bg-opacity))
|
@@ -8049,10 +7931,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8049
7931
|
background-color:rgb(var(--color-primary-100))
|
8050
7932
|
}
|
8051
7933
|
|
8052
|
-
.bg-primary-400{
|
8053
|
-
background-color:rgb(var(--color-primary-400))
|
8054
|
-
}
|
8055
|
-
|
8056
7934
|
.bg-primary-500{
|
8057
7935
|
background-color:rgb(var(--color-primary-500))
|
8058
7936
|
}
|
@@ -8107,10 +7985,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8107
7985
|
background-color:rgb(20 184 166 / var(--tw-bg-opacity))
|
8108
7986
|
}
|
8109
7987
|
|
8110
|
-
.bg-transparent{
|
8111
|
-
background-color:transparent
|
8112
|
-
}
|
8113
|
-
|
8114
7988
|
.bg-violet-500{
|
8115
7989
|
--tw-bg-opacity:1;
|
8116
7990
|
background-color:rgb(139 92 246 / var(--tw-bg-opacity))
|
@@ -8208,11 +8082,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8208
8082
|
padding-right:0.5rem
|
8209
8083
|
}
|
8210
8084
|
|
8211
|
-
.px-24{
|
8212
|
-
padding-left:6rem;
|
8213
|
-
padding-right:6rem
|
8214
|
-
}
|
8215
|
-
|
8216
8085
|
.px-3{
|
8217
8086
|
padding-left:0.75rem;
|
8218
8087
|
padding-right:0.75rem
|
@@ -8233,11 +8102,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8233
8102
|
padding-right:1.5rem
|
8234
8103
|
}
|
8235
8104
|
|
8236
|
-
.px-8{
|
8237
|
-
padding-left:2rem;
|
8238
|
-
padding-right:2rem
|
8239
|
-
}
|
8240
|
-
|
8241
8105
|
.py-0{
|
8242
8106
|
padding-top:0px;
|
8243
8107
|
padding-bottom:0px
|
@@ -8258,11 +8122,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8258
8122
|
padding-bottom:0.375rem
|
8259
8123
|
}
|
8260
8124
|
|
8261
|
-
.py-12{
|
8262
|
-
padding-top:3rem;
|
8263
|
-
padding-bottom:3rem
|
8264
|
-
}
|
8265
|
-
|
8266
8125
|
.py-2{
|
8267
8126
|
padding-top:0.5rem;
|
8268
8127
|
padding-bottom:0.5rem
|
@@ -8330,10 +8189,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8330
8189
|
padding-left:0.25rem
|
8331
8190
|
}
|
8332
8191
|
|
8333
|
-
.pl-4{
|
8334
|
-
padding-left:1rem
|
8335
|
-
}
|
8336
|
-
|
8337
8192
|
.pr-0{
|
8338
8193
|
padding-right:0px
|
8339
8194
|
}
|
@@ -8342,6 +8197,10 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8342
8197
|
padding-right:0.5rem
|
8343
8198
|
}
|
8344
8199
|
|
8200
|
+
.pr-3{
|
8201
|
+
padding-right:0.75rem
|
8202
|
+
}
|
8203
|
+
|
8345
8204
|
.pt-0{
|
8346
8205
|
padding-top:0px
|
8347
8206
|
}
|
@@ -8495,11 +8354,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8495
8354
|
letter-spacing:-0.025em
|
8496
8355
|
}
|
8497
8356
|
|
8498
|
-
.\!text-blue-700{
|
8499
|
-
--tw-text-opacity:1 !important;
|
8500
|
-
color:rgb(5 80 133 / var(--tw-text-opacity)) !important
|
8501
|
-
}
|
8502
|
-
|
8503
8357
|
.\!text-pink-600{
|
8504
8358
|
--tw-text-opacity:1 !important;
|
8505
8359
|
color:rgb(219 39 119 / var(--tw-text-opacity)) !important
|
@@ -8740,10 +8594,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8740
8594
|
opacity:0.75
|
8741
8595
|
}
|
8742
8596
|
|
8743
|
-
.opacity-80{
|
8744
|
-
opacity:0.8
|
8745
|
-
}
|
8746
|
-
|
8747
8597
|
.shadow{
|
8748
8598
|
--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
8749
8599
|
--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
@@ -8815,11 +8665,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
8815
8665
|
filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
|
8816
8666
|
}
|
8817
8667
|
|
8818
|
-
.sepia{
|
8819
|
-
--tw-sepia:sepia(100%);
|
8820
|
-
filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
|
8821
|
-
}
|
8822
|
-
|
8823
8668
|
.filter{
|
8824
8669
|
filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
|
8825
8670
|
}
|
@@ -9151,11 +8996,6 @@ trix-editor {
|
|
9151
8996
|
background-color:rgb(206 231 248 / var(--tw-bg-opacity))
|
9152
8997
|
}
|
9153
8998
|
|
9154
|
-
.hover\:bg-blue-500:hover{
|
9155
|
-
--tw-bg-opacity:1;
|
9156
|
-
background-color:rgb(8 134 222 / var(--tw-bg-opacity))
|
9157
|
-
}
|
9158
|
-
|
9159
8999
|
.hover\:bg-blue-600:hover{
|
9160
9000
|
--tw-bg-opacity:1;
|
9161
9001
|
background-color:rgb(6 107 178 / var(--tw-bg-opacity))
|
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.0.1.
|
4
|
+
version: 3.0.1.beta8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-08-
|
12
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -220,6 +220,11 @@ files:
|
|
220
220
|
- Gemfile.lock
|
221
221
|
- README.md
|
222
222
|
- Rakefile
|
223
|
+
- app/assets/builds/avo.base.css
|
224
|
+
- app/assets/builds/avo.base.js
|
225
|
+
- app/assets/builds/avo.base.js.map
|
226
|
+
- app/assets/builds/avo.custom.js
|
227
|
+
- app/assets/builds/avo.custom.js.map
|
223
228
|
- app/assets/config/avo_manifest.js
|
224
229
|
- app/assets/stylesheets/avo.base.css
|
225
230
|
- app/assets/stylesheets/css/active-storage.css
|
@@ -228,6 +233,7 @@ files:
|
|
228
233
|
- app/assets/stylesheets/css/fields/code.css
|
229
234
|
- app/assets/stylesheets/css/fields/progress.css
|
230
235
|
- app/assets/stylesheets/css/fields/status.css
|
236
|
+
- app/assets/stylesheets/css/fields/tags.css
|
231
237
|
- app/assets/stylesheets/css/fields/trix.css
|
232
238
|
- app/assets/stylesheets/css/fonts.css
|
233
239
|
- app/assets/stylesheets/css/loader.css
|
@@ -1712,7 +1718,6 @@ files:
|
|
1712
1718
|
- config/credentials.yml.enc
|
1713
1719
|
- config/i18n-tasks.yml
|
1714
1720
|
- config/initializers/pagy.rb
|
1715
|
-
- config/master.key
|
1716
1721
|
- config/routes.rb
|
1717
1722
|
- config/spring.rb
|
1718
1723
|
- db/factories.rb
|
@@ -1727,6 +1732,7 @@ files:
|
|
1727
1732
|
- lib/avo/concerns/filters_session_handler.rb
|
1728
1733
|
- lib/avo/concerns/has_controls.rb
|
1729
1734
|
- lib/avo/concerns/has_description.rb
|
1735
|
+
- lib/avo/concerns/has_helpers.rb
|
1730
1736
|
- lib/avo/concerns/has_item_type.rb
|
1731
1737
|
- lib/avo/concerns/has_items.rb
|
1732
1738
|
- lib/avo/concerns/has_stimulus_controllers.rb
|
@@ -1734,6 +1740,7 @@ files:
|
|
1734
1740
|
- lib/avo/concerns/is_visible.rb
|
1735
1741
|
- lib/avo/concerns/model_class_constantized.rb
|
1736
1742
|
- lib/avo/concerns/visible_in_different_views.rb
|
1743
|
+
- lib/avo/concerns/visible_items.rb
|
1737
1744
|
- lib/avo/configuration.rb
|
1738
1745
|
- lib/avo/configuration/branding.rb
|
1739
1746
|
- lib/avo/configuration/resource_configuration.rb
|
@@ -1760,6 +1767,7 @@ files:
|
|
1760
1767
|
- lib/avo/fields/concerns/is_required.rb
|
1761
1768
|
- lib/avo/fields/concerns/is_searchable.rb
|
1762
1769
|
- lib/avo/fields/concerns/use_resource.rb
|
1770
|
+
- lib/avo/fields/concerns/use_view_components.rb
|
1763
1771
|
- lib/avo/fields/country_field.rb
|
1764
1772
|
- lib/avo/fields/date_field.rb
|
1765
1773
|
- lib/avo/fields/date_time_field.rb
|
@@ -1843,6 +1851,7 @@ files:
|
|
1843
1851
|
- lib/avo/test_helpers.rb
|
1844
1852
|
- lib/avo/tools/tool_manager.rb
|
1845
1853
|
- lib/avo/version.rb
|
1854
|
+
- lib/avo/view_inquirer.rb
|
1846
1855
|
- lib/generators/avo/action_generator.rb
|
1847
1856
|
- lib/generators/avo/base_generator.rb
|
1848
1857
|
- lib/generators/avo/card_generator.rb
|
@@ -1912,9 +1921,6 @@ files:
|
|
1912
1921
|
- public/avo-assets/avo.base.css
|
1913
1922
|
- public/avo-assets/avo.base.js
|
1914
1923
|
- public/avo-assets/avo.base.js.map
|
1915
|
-
- public/avo-assets/avo.css
|
1916
|
-
- public/avo-assets/avo.js
|
1917
|
-
- public/avo-assets/avo.js.map
|
1918
1924
|
- public/avo-assets/favicon.ico
|
1919
1925
|
- public/avo-assets/fonts/inter-v7-latin-500.eot
|
1920
1926
|
- public/avo-assets/fonts/inter-v7-latin-500.svg
|
data/config/master.key
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2aeb23d82b909d9c6b5abb62f7058c2a
|