avo 4.0.0.beta.42 → 4.0.0.beta.44
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/Gemfile.lock +1 -1
- data/app/assets/builds/avo/application.css +38 -7
- data/app/assets/builds/avo/application.js +94 -94
- data/app/assets/builds/avo/application.js.map +4 -4
- data/app/assets/stylesheets/css/components/header_menu.css +1 -6
- data/app/assets/stylesheets/css/components/hotkey.css +16 -0
- data/app/assets/stylesheets/css/layout.css +6 -0
- data/app/components/avo/keyboard_shortcuts_component.html.erb +40 -18
- data/app/javascript/js/controllers/keyboard_shortcuts_search_controller.js +78 -0
- data/app/javascript/js/controllers.js +2 -0
- data/lib/avo/fields/belongs_to_field.rb +18 -7
- data/lib/avo/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8064e5a8cb35e019ad3441160ab0042c555245551448e325b6e3ef20c912064c
|
|
4
|
+
data.tar.gz: 25f326ee60b97ff335284db6014f8d4b8c688e4e531d3ac507be3625bfbcf87a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03bebbb26c91ab42c36eaa1534cd2a2bec2bec51ec4a60f61ec37f9b6e337b293afe049a0d925b363c34d96e5674d536d35af0ed132a763e24def378e88dd505
|
|
7
|
+
data.tar.gz: 16c16b4ec4b80a2875bfb61b95bae1ae462b9849075aedc399f3010625127f4a634c9395ab756a90324c3a36a2ddde0ee19fd9902f98d19ae2c8d867b9a2bd1c
|
data/Gemfile.lock
CHANGED
|
@@ -6122,6 +6122,10 @@ tag.tagify__tag {
|
|
|
6122
6122
|
--btn-text-color: var(--top-navbar-content-hover);
|
|
6123
6123
|
background-color: var(--top-navbar-control-background);
|
|
6124
6124
|
}
|
|
6125
|
+
.button__label {
|
|
6126
|
+
display: flex;
|
|
6127
|
+
align-items: center;
|
|
6128
|
+
}
|
|
6125
6129
|
}
|
|
6126
6130
|
.avo-sidebar {
|
|
6127
6131
|
position: fixed;
|
|
@@ -10561,23 +10565,17 @@ tag.tagify__tag {
|
|
|
10561
10565
|
overflow-clip-margin: 4px;
|
|
10562
10566
|
> a {
|
|
10563
10567
|
border-radius: var(--radius-md);
|
|
10564
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
10565
|
-
padding-block: calc(var(--spacing) * 1);
|
|
10566
10568
|
font-size: var(--text-sm);
|
|
10567
10569
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
10568
10570
|
--tw-font-weight: var(--font-weight-medium);
|
|
10569
10571
|
font-weight: var(--font-weight-medium);
|
|
10572
|
+
outline-offset: 2px;
|
|
10570
10573
|
}
|
|
10571
10574
|
}
|
|
10572
10575
|
.header-menu__row > * {
|
|
10573
10576
|
flex-shrink: 0;
|
|
10574
10577
|
white-space: nowrap;
|
|
10575
10578
|
}
|
|
10576
|
-
.header-menu__row > a:focus-visible {
|
|
10577
|
-
position: relative;
|
|
10578
|
-
z-index: 10;
|
|
10579
|
-
outline-offset: var(--focus-outline-offset-inset);
|
|
10580
|
-
}
|
|
10581
10579
|
.header-menu__row > .header-menu__item--truncated {
|
|
10582
10580
|
min-width: calc(var(--spacing) * 0);
|
|
10583
10581
|
overflow: hidden;
|
|
@@ -10628,6 +10626,32 @@ tag.tagify__tag {
|
|
|
10628
10626
|
display: none;
|
|
10629
10627
|
}
|
|
10630
10628
|
}
|
|
10629
|
+
.hotkey__search {
|
|
10630
|
+
position: relative;
|
|
10631
|
+
position: sticky;
|
|
10632
|
+
top: calc(var(--spacing) * 0);
|
|
10633
|
+
z-index: 10;
|
|
10634
|
+
display: flex;
|
|
10635
|
+
align-items: center;
|
|
10636
|
+
border-bottom-style: var(--tw-border-style);
|
|
10637
|
+
border-bottom-width: 1px;
|
|
10638
|
+
border-color: var(--color-tertiary);
|
|
10639
|
+
background-color: var(--color-primary);
|
|
10640
|
+
padding-inline: calc(var(--spacing) * 6);
|
|
10641
|
+
padding-block: calc(var(--spacing) * 4);
|
|
10642
|
+
}
|
|
10643
|
+
.hotkey__search-icon {
|
|
10644
|
+
pointer-events: none;
|
|
10645
|
+
position: absolute;
|
|
10646
|
+
inset-inline-start: calc(var(--spacing) * 9);
|
|
10647
|
+
z-index: 20;
|
|
10648
|
+
width: calc(var(--spacing) * 4);
|
|
10649
|
+
height: calc(var(--spacing) * 4);
|
|
10650
|
+
color: var(--color-content-secondary);
|
|
10651
|
+
}
|
|
10652
|
+
.hotkey__search-input {
|
|
10653
|
+
padding-inline-start: calc(var(--spacing) * 9);
|
|
10654
|
+
}
|
|
10631
10655
|
.hotkey__grid {
|
|
10632
10656
|
padding: calc(var(--spacing) * 6);
|
|
10633
10657
|
columns: 1;
|
|
@@ -10636,6 +10660,13 @@ tag.tagify__tag {
|
|
|
10636
10660
|
columns: 2;
|
|
10637
10661
|
}
|
|
10638
10662
|
}
|
|
10663
|
+
.hotkey__empty {
|
|
10664
|
+
padding-inline: calc(var(--spacing) * 6);
|
|
10665
|
+
padding-bottom: calc(var(--spacing) * 8);
|
|
10666
|
+
font-size: var(--text-sm);
|
|
10667
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
10668
|
+
color: var(--color-content-secondary);
|
|
10669
|
+
}
|
|
10639
10670
|
.hotkey__section {
|
|
10640
10671
|
margin-bottom: calc(var(--spacing) * 10);
|
|
10641
10672
|
min-width: calc(var(--spacing) * 0);
|