solid_litequeen 0.19.1 → 0.19.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b075b9f956c23d7f80e7778872d9a1b1f04eb7b7917bc2e1824bb62311eb018
4
- data.tar.gz: b6156fa03a6d00b5624171c540e9841c2cfd381c8049a0ca2915f8b1557ab4cf
3
+ metadata.gz: 5ae4277cd7c00d5d974f64f63ac15bdf0938f7c8e82fa8f86ca1e54ffa0b2e2f
4
+ data.tar.gz: 475259398671e0aee0d48a84b0323d1dc3b12929e0c86cdb0fbc5c25fb36c595
5
5
  SHA512:
6
- metadata.gz: 97c1b9e99524020847a7a68be86cfe4d13dae4eb79002cd21cf4eaee2d4ff58bd9a67020b0ec9eb000aa68aa48f7353eaaa122677ce26f2ec6fd5a60130e6ba6
7
- data.tar.gz: fe803864a6775505c2dbd331d43107386d27ce0adfaecfadd5b5579559a26b2f8314b316c0f483b16143d5c4945174f20ebb4f5129c99cb3c4077f160cf74764
6
+ metadata.gz: f1c99b56c6fdbd8916d8394c2d39c67ae4a911dc068cad3aff2a9d7b81bcd31a7b781c11f1addafe8e30af7e4bfe530e0b34cbf9a25db33c7a0c08fcb6600ee0
7
+ data.tar.gz: 77858a8ff68e2e347b5625d90abff61a8aa74df8a3056a42649a70fd8a138655e85fb1120e7024deac2c1768617d8258c88879869dab039bc9ce45eb4dc3b3c3
@@ -151,7 +151,7 @@ export default class extends Controller {
151
151
  : '';
152
152
 
153
153
  return `
154
- <div ${isSelected ? 'data-selected': ''} data-index="${index}" class="data-selected:outline-2 outline-[var(--color-primary)] data-selected:bg-[var(--color-base-100)] flex items-center gap-3 rounded-md px-3 py-2 text-sm cursor-pointer transition-colors">
154
+ <div ${isSelected ? 'data-selected': ''} data-index="${index}" class="data-selected:outline-2 outline-[var(--color-success)]/50 data-selected:bg-[var(--color-base-100)] flex items-center gap-3 rounded-md px-3 py-2 text-sm cursor-pointer transition-colors">
155
155
  ${icon}
156
156
  <div class="flex-1 min-w-0">
157
157
  <div class="flex items-center gap-2">
@@ -36,6 +36,8 @@ export default class extends Controller {
36
36
 
37
37
  // so we can render stuff when we open the dialog to avoid render issues with wrong sizes
38
38
  this.#observeDialogOpenStatus();
39
+
40
+
39
41
  }
40
42
 
41
43
  disconnect() {
@@ -69,12 +71,19 @@ export default class extends Controller {
69
71
  attrs: {
70
72
  line: {
71
73
  stroke: "var(--color-info)",
74
+ opacity: 0.8,
72
75
  strokeWidth: 2,
73
76
  targetMarker: {
74
77
  type: "path",
75
78
  d: "M 10 -5 0 0 10 5 z",
79
+ fill: "var(--color-info)",
80
+ fill: "var(--color-primary)",
81
+ stroke: "none",
82
+
76
83
  },
77
84
  },
85
+
86
+
78
87
  },
79
88
  router: { name: "manhattan" },
80
89
  connector: { name: "rounded" },
@@ -110,7 +119,7 @@ export default class extends Controller {
110
119
  },
111
120
  headerText: {
112
121
  text: tableName,
113
- fill: "var(--color-primary)",
122
+ fill: "var(--color-base-content)",
114
123
  fontWeight: "bold",
115
124
  fontSize: 16,
116
125
  },
@@ -135,6 +144,7 @@ export default class extends Controller {
135
144
  label: {
136
145
  text: field,
137
146
  fill: "var(--color-base-content)",
147
+ opacity: 0.6,
138
148
  fontSize: 14,
139
149
  },
140
150
  },
@@ -1,3 +1,4 @@
1
+
1
2
  <dialog id="table_relationships" data-controller="dialog table-relations" data-relations="<%= @table_relations.to_json %>" class="bg-base-200 border border-base-content/20 backdrop-blur rounded w-[1000px] h-full m-auto overscroll-y-contain">
2
3
  <div class="flex flex-row-reverse">
3
4
  <button data-action="click->dialog#close" class="cursor-pointer mr-4 mt-2 outline-none">
@@ -36,7 +36,7 @@
36
36
  <% @tables.each do |table| %>
37
37
  <tr class="hover:bg-base-100 border-b last:border-none border-base-content/10">
38
38
  <td class="px-6 py-4">
39
- <%= link_to database_table_rows_path(@database_id, table[:name]), class: "link-primary font-medium" do %>
39
+ <%= link_to database_table_rows_path(@database_id, table[:name]), class: " font-medium" do %>
40
40
  <%= table.dig(:name) %>
41
41
  <% end %>
42
42
  </td>
@@ -48,5 +48,5 @@
48
48
  </tbody>
49
49
  </table>
50
50
  </div>
51
- <%= link_to "Download Database", database_download_path(@database_id), class: "link link-hover link-secondary text-xs mt-4" %>
51
+ <%= link_to "Download Database", database_download_path(@database_id), class: "link link-hover link-info text-xs mt-5" %>
52
52
  </div>
@@ -181,7 +181,7 @@
181
181
  data-fk_target_field_value="<%= truncated_item %>"
182
182
  class="size-4 mt-0.5 hover:cursor-pointer flex-grow outline-none"
183
183
  >
184
- <%= image_tag "solid_litequeen/icons/spline.svg", class: "size-4 filter-orange" %>
184
+ <%= image_tag "solid_litequeen/icons/spline.svg", class: "size-4 filter-cyan" %>
185
185
  </button>
186
186
 
187
187
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module SolidLitequeen
2
- VERSION = "0.19.1"
2
+ VERSION = "0.19.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_litequeen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vik Borges