kaui 4.0.26 → 4.0.28

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/kaui/favicon.svg +29 -0
  3. data/app/assets/javascripts/kaui/multi_functions_bar_utils.js +23 -3
  4. data/app/assets/stylesheets/kaui/account.css +177 -172
  5. data/app/assets/stylesheets/kaui/account_timeline.css +21 -21
  6. data/app/assets/stylesheets/kaui/admin_allowed_users.css +26 -26
  7. data/app/assets/stylesheets/kaui/audit_logs.css +41 -41
  8. data/app/assets/stylesheets/kaui/auth_pages.css +6 -6
  9. data/app/assets/stylesheets/kaui/breadcrumb.css +5 -5
  10. data/app/assets/stylesheets/kaui/chargebacks.css +9 -9
  11. data/app/assets/stylesheets/kaui/clock.css +9 -9
  12. data/app/assets/stylesheets/kaui/common.css +207 -207
  13. data/app/assets/stylesheets/kaui/custom_fields.css +64 -64
  14. data/app/assets/stylesheets/kaui/dashboard.css +3 -3
  15. data/app/assets/stylesheets/kaui/datatable.css +14 -14
  16. data/app/assets/stylesheets/kaui/header.css +17 -17
  17. data/app/assets/stylesheets/kaui/home.css +2 -2
  18. data/app/assets/stylesheets/kaui/invoice.css +113 -113
  19. data/app/assets/stylesheets/kaui/payment.css +120 -120
  20. data/app/assets/stylesheets/kaui/queues.css +48 -48
  21. data/app/assets/stylesheets/kaui/refunds.css +15 -15
  22. data/app/assets/stylesheets/kaui/role_definitions.css +9 -9
  23. data/app/assets/stylesheets/kaui/sidebar.css +14 -14
  24. data/app/assets/stylesheets/kaui/subscription.css +58 -58
  25. data/app/assets/stylesheets/kaui/tag_definitions.css +45 -45
  26. data/app/assets/stylesheets/kaui/tags.css +65 -65
  27. data/app/assets/stylesheets/kaui/tenants.css +152 -152
  28. data/app/assets/stylesheets/kaui/tooltip.css +5 -5
  29. data/app/assets/stylesheets/kaui/wallets.css +8 -8
  30. data/app/views/kaui/account_emails/_account_emails_table.html.erb +1 -1
  31. data/app/views/kaui/accounts/_add_parent.html.erb +1 -1
  32. data/app/views/kaui/accounts/index.html.erb +1 -1
  33. data/app/views/kaui/layouts/kaui_header.html.erb +1 -0
  34. data/app/views/kaui/payment_methods/_plugin_properties.html.erb +1 -1
  35. data/app/views/kaui/transactions/_control_plugin_names.html.erb +1 -1
  36. data/lib/kaui/version.rb +1 -1
  37. data/lib/kaui.rb +1 -1
  38. metadata +6 -5
@@ -1,20 +1,20 @@
1
1
  .tooltip-arrow,
2
2
  .kb-tooltip + .tooltip > .tooltip-inner {
3
- background-color: #c0e0e3;
3
+ background-color: var(--kb-primary-50);
4
4
  }
5
5
 
6
6
  .kb-tooltip + .tooltip.top > .tooltip-arrow {
7
- background-color: #fff;
8
- border-top: #c0e0e3;
7
+ background-color: var(--kb-neutral-0);
8
+ border-top: var(--kb-primary-50);
9
9
  }
10
10
 
11
11
  .kb-tooltip + .bs-tooltip-auto[x-placement^="top"] .arrow::before,
12
12
  .kb-tooltip + .bs-tooltip-top .arrow::before {
13
- border-bottom-color: #c0e0e3;
13
+ border-bottom-color: var(--kb-primary-50);
14
14
  }
15
15
 
16
16
  .tooltip .tooltip-arrow {
17
- border-top: 0.3125rem solid #c0e0e3 !important;
17
+ border-top: 0.3125rem solid var(--kb-primary-50) !important;
18
18
  }
19
19
 
20
20
  /*# sourceMappingURL=tooltip.css.map */
@@ -8,7 +8,7 @@
8
8
  align-items: start;
9
9
  justify-content: space-between;
10
10
  padding: 0;
11
- border-bottom: 0.0625rem solid #e9eaeb;
11
+ border-bottom: 0.0625rem solid var(--kb-outline-primary);
12
12
  }
13
13
 
14
14
  .wallets-index .wallets-table th,
@@ -21,7 +21,7 @@
21
21
  font-weight: 600;
22
22
  font-size: 1.125rem;
23
23
  line-height: 1.75rem;
24
- color: #414651;
24
+ color: var(--kb-on-surface-secondary);
25
25
  margin-bottom: 1.25rem;
26
26
  }
27
27
 
@@ -36,7 +36,7 @@
36
36
  font-size: 0.75rem !important;
37
37
  line-height: 1.125rem !important;
38
38
  letter-spacing: 0 !important;
39
- color: #717680 !important;
39
+ color: var(--kb-on-surface-quaternary) !important;
40
40
  text-transform: capitalize !important;
41
41
  position: relative !important;
42
42
  }
@@ -51,7 +51,7 @@
51
51
  font-size: 0.875rem !important;
52
52
  line-height: 1.125rem !important;
53
53
  text-align: start;
54
- color: #535862 !important;
54
+ color: var(--kb-on-surface-tertiary) !important;
55
55
  }
56
56
 
57
57
  .wallets-index .wallets .wallets-table table.dataTable {
@@ -70,7 +70,7 @@
70
70
  font-size: 1.125rem;
71
71
  line-height: 1.75rem;
72
72
  letter-spacing: 0;
73
- color: #1b1c1e;
73
+ color: var(--kb-on-surface-primary);
74
74
  padding: 1.5rem 0;
75
75
  }
76
76
 
@@ -78,7 +78,7 @@
78
78
  display: inline-flex;
79
79
  justify-content: center;
80
80
  align-items: center;
81
- border: 0.0625rem solid #d5d7da;
81
+ border: 0.0625rem solid var(--kb-outline-secondary);
82
82
  border-radius: 0.375rem;
83
83
  width: 2.5rem;
84
84
  height: 2.5rem;
@@ -94,7 +94,7 @@
94
94
  font-size: 0.875rem !important;
95
95
  font-weight: 500 !important;
96
96
  line-height: 1.25rem !important;
97
- color: #414651 !important;
97
+ color: var(--kb-on-surface-secondary) !important;
98
98
  }
99
99
 
100
100
  .add-new-wallet-details .form-group select.form-control {
@@ -111,7 +111,7 @@
111
111
  .add-new-wallet-details select.form-control:focus {
112
112
  box-shadow: none;
113
113
  outline: none;
114
- border-color: #1570ef;
114
+ border-color: var(--kb-primary);
115
115
  }
116
116
 
117
117
  .add-new-wallet-details .form-group .form-control {
@@ -14,7 +14,7 @@
14
14
  <% if can? :add_emails, Kaui::Account %>
15
15
  <%= link_to kaui_engine.new_account_account_email_path(@account.account_id), class: 'add-link' do %>
16
16
  <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
17
- <path d="M8.33333 2.66675V13.3334M13.6667 8.00008H3" stroke="#1570EF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
17
+ <path d="M8.33333 2.66675V13.3334M13.6667 8.00008H3" stroke="var(--kb-primary)" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
18
18
  </svg>
19
19
  Add
20
20
  <% end %>
@@ -16,7 +16,7 @@
16
16
  <% if can? :update, Kaui::Account %>
17
17
  <button type="button" class="naked" data-bs-toggle="modal" data-bs-target="#link_account">
18
18
  <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
19
- <path d="M8.33333 2.66675V13.3334M13.6667 8.00008H3" stroke="#1570EF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
19
+ <path d="M8.33333 2.66675V13.3334M13.6667 8.00008H3" stroke="var(--kb-primary)" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
20
20
  </svg>
21
21
  Add
22
22
  </button>
@@ -108,7 +108,7 @@ $(document).ready(function() {
108
108
  url: "<%= accounts_pagination_path(:ordering => @ordering, :format => :json) %>",
109
109
  headers: {"X-CSRF-Token": $("meta[name='csrf-token']").attr("content")},
110
110
  data: function(d) {
111
- d.advance_search_query = "<%= j(@advance_search_query.to_s) %>";
111
+ d.advance_search_query = "<%= raw j(@advance_search_query.to_s) %>"; // raw: ERB would turn '&' into '&amp;'; j() already makes it safe for a JS string
112
112
  return d;
113
113
  },
114
114
  dataSrc: function(json) {
@@ -4,6 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
 
6
6
  <title>Kaui</title>
7
+ <%= favicon_link_tag 'kaui/favicon.svg', rel: 'icon', type: 'image/svg+xml' %>
7
8
  <%= stylesheet_link_tag 'application', :media => 'all' %>
8
9
  <%= javascript_include_tag 'application' %>
9
10
 
@@ -1,6 +1,6 @@
1
1
  <div id="plugin_properties" class="">
2
2
  <a class='dots-menu kaui-button' href="javascript:void(0);" onclick="payment_new_property();" id="new_property"><%= '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M9.99992 3.3335V16.6668M16.6666 10.0002H3.33325" stroke="#1570EF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9.99992 3.3335V16.6668M16.6666 10.0002H3.33325" stroke="var(--kb-primary)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
4
  </svg>'.html_safe + " Add Property" %></a>
5
5
  <table id="plugin_properties_table" class="">
6
6
  <thead>
@@ -1,6 +1,6 @@
1
1
  <div id="control_plugin_names" class="">
2
2
  <a class='dots-menu kaui-button' href="javascript:void(0);" onclick="new_control_plugin_name();" id="new_control_plugin_names"><%= '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M9.99992 3.3335V16.6668M16.6666 10.0002H3.33325" stroke="#1570EF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9.99992 3.3335V16.6668M16.6666 10.0002H3.33325" stroke="var(--kb-primary)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
4
  </svg>'.html_safe + " Add Control Plugin Names" %></a>
5
5
  <table id="control_plugin_names_table" class="table table-condensed">
6
6
  <thead>
data/lib/kaui/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kaui
4
- VERSION = '4.0.26'
4
+ VERSION = '4.0.28'
5
5
  end
data/lib/kaui.rb CHANGED
@@ -172,7 +172,7 @@ module Kaui
172
172
  values = fields.map do |attr|
173
173
  case attr
174
174
  when 'auth_amount', 'captured_amount', 'purchased_amount', 'refunded_amount', 'credited_amount'
175
- view_context.humanized_money_with_symbol(payment&.send(attr.downcase))
175
+ view_context.humanized_money_with_symbol(payment&.send("#{attr.downcase}_to_money"))
176
176
  when 'payment_number'
177
177
  view_context.link_to(payment.payment_number, view_context.url_for(controller: :payments, action: :show, account_id: payment.account_id, id: payment.payment_id))
178
178
  when 'payment_date'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaui
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.26
4
+ version: 4.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-15 00:00:00.000000000 Z
11
+ date: 2026-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: 1.1.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: 1.1.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: killbill-client
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -339,6 +339,7 @@ files:
339
339
  - app/assets/images/kaui/duck.png
340
340
  - app/assets/images/kaui/eye-off.svg
341
341
  - app/assets/images/kaui/eye.svg
342
+ - app/assets/images/kaui/favicon.svg
342
343
  - app/assets/images/kaui/file-upload.svg
343
344
  - app/assets/images/kaui/generate.svg
344
345
  - app/assets/images/kaui/header/account.svg
@@ -735,7 +736,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
735
736
  - !ruby/object:Gem::Version
736
737
  version: '0'
737
738
  requirements: []
738
- rubygems_version: 3.4.10
739
+ rubygems_version: 3.4.19
739
740
  signing_key:
740
741
  specification_version: 4
741
742
  summary: Killbill Admin UI mountable engine