katalyst-navigation 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e358271c4b2a255cba861c6eac1f432e906c5d56f37f703646ff1dd504e582a
4
- data.tar.gz: a5c36789357921c48b42fd708f6289df7adb9c1bec7b6be1d6a39e7a608be468
3
+ metadata.gz: 0b1e30c9f62f9c95fbd95824c1fca798f29e8d8240040cf92bfe3e6d802f0f4b
4
+ data.tar.gz: 7b86b9670845b41baa6214bd1ac19e5b6cf9aed0e391f31f270b183b5891e32a
5
5
  SHA512:
6
- metadata.gz: 400edfaf424e0cf2edf1867e8897961b911c1c64bed4839a30fd89d3d353af5639d6b3dc4dc943f4ec1c06efd64ff1bc7f1b55516c0d1440aa02210120e6004e
7
- data.tar.gz: 05c8cb35db579809acc4f68c2359ac2f11103e1f8c3255dc5a606ff12fe3e975a71738d9c760007efbd80fe505d948d49031c8cf5283edad05ac6bf58f21420e
6
+ metadata.gz: 247b24aec0411a6e45c316a68d1020f57bb3672cb2c7f649f3deab98c6c0c3820b3ca49fd4074b779d693ee4bc39ecaad112586b2a75fc32cddb574be8568245
7
+ data.tar.gz: 8dbe6529fea49f7f497ee5d1310cc5f4f618f86f41bfcd9b83395a91bf4c5764e9fe7ddab32bd0da04826689c5f5b6556ee3bfda79da6ee48397db9e733aa70f
@@ -1,4 +1,4 @@
1
- import Item from "./item";
1
+ import Item from "utils/navigation/editor/item";
2
2
 
3
3
  /**
4
4
  * @param nodes {NodeList}
@@ -10,6 +10,7 @@ $grey: #ececec !default;
10
10
  $grey-dark: #999 !default;
11
11
  $table-hover-background: #fff0eb !default;
12
12
  $primary-color: #ff521f !default;
13
+ $error-color: #990000 !default;
13
14
 
14
15
  $row-inset: 2rem !default;
15
16
  $row-height: 3rem !default;
@@ -19,6 +20,7 @@ $row-background-color: $grey-light !default;
19
20
  $row-hover-color: $table-hover-background !default;
20
21
  $icon-active-color: $primary-color !default;
21
22
  $icon-passive-color: $grey-dark !default;
23
+ $row-depth-invalid-color: $error-color !default;
22
24
 
23
25
  $status-published-background-color: #ebf9eb !default;
24
26
  $status-published-border-color: #4dd45c !default;
@@ -40,6 +42,7 @@ $status-dirty-color: #aaa !default;
40
42
  --row-hover-color: #{$row-hover-color};
41
43
  --icon-active-color: #{$icon-active-color};
42
44
  --icon-passive-color: #{$icon-passive-color};
45
+ --row-depth-invalid-color: #{$row-depth-invalid-color};
43
46
 
44
47
  ol,
45
48
  li {
@@ -80,7 +83,7 @@ $status-dirty-color: #aaa !default;
80
83
 
81
84
  // Dragged visuals
82
85
  &[data-dragging] {
83
- border: 2px dashed;
86
+ box-shadow: inset 0 0 0 2px var(--icon-passive-color);
84
87
 
85
88
  > * {
86
89
  visibility: hidden;
@@ -18,7 +18,6 @@
18
18
  }
19
19
 
20
20
  [data-invalid-depth] {
21
- border-color: red;
22
- background-color: indianred;
21
+ box-shadow: inset 0 0 0 3px var(--row-depth-invalid-color);
23
22
  }
24
23
  }
@@ -8,7 +8,7 @@
8
8
  </div>
9
9
 
10
10
  <div class="url">
11
- <%= link_to item.url || "", item.url || "" %>
11
+ <%= link_to item.url || "", item.url || "", data: { turbo: false } %>
12
12
  </div>
13
13
 
14
14
  <%= builder.item_actions %>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Katalyst
4
4
  module Navigation
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -17,7 +17,6 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - CHANGELOG.md
21
20
  - LICENSE.txt
22
21
  - README.md
23
22
  - app/assets/config/katalyst-navigation.js
@@ -83,9 +82,6 @@ homepage: https://github.com/katalyst/navigation
83
82
  licenses:
84
83
  - MIT
85
84
  metadata:
86
- homepage_uri: https://github.com/katalyst/navigation
87
- source_code_uri: https://github.com/katalyst/navigation
88
- changelog_uri: https://github.com/katalyst/navigation/blob/main/CHANGELOG.md
89
85
  rubygems_mfa_required: 'true'
90
86
  post_install_message:
91
87
  rdoc_options: []
data/CHANGELOG.md DELETED
@@ -1,10 +0,0 @@
1
- ## [Unreleased]
2
-
3
- ## [1.0.1]
4
-
5
- - Update - Draggable "new" menu items are now styled
6
- - Bugfix - leading indicator would shrink on narrow screens, or on heavily indented menus
7
-
8
- ## [1.0.0] - 2022-09-05
9
-
10
- - Initial release