katalyst-koi 5.11.3 → 5.11.5

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/koi/icons/cube.svg +1 -0
  3. data/app/assets/images/koi/icons/database.svg +1 -0
  4. data/app/assets/images/koi/icons/search.svg +1 -0
  5. data/app/assets/stylesheets/koi/blocks/tables/query.css +13 -12
  6. data/app/views/admin/admin_users/show.html.erb +1 -1
  7. data/app/views/katalyst/navigation/menus/edit.html.erb +7 -2
  8. data/app/views/katalyst/navigation/menus/new.html.erb +7 -2
  9. metadata +5 -30
  10. data/app/assets/images/koi/application/chevron-right.svg +0 -10
  11. data/app/assets/images/koi/application/glyphicons-halflings-white.png +0 -0
  12. data/app/assets/images/koi/application/glyphicons-halflings.png +0 -0
  13. data/app/assets/images/koi/application/icon-collapse-down.png +0 -0
  14. data/app/assets/images/koi/application/icon-collapse-up.png +0 -0
  15. data/app/assets/images/koi/application/icon-file-doc.png +0 -0
  16. data/app/assets/images/koi/application/icon-file-img.png +0 -0
  17. data/app/assets/images/koi/application/icon-file-pdf.png +0 -0
  18. data/app/assets/images/koi/application/icon-file-ppt.png +0 -0
  19. data/app/assets/images/koi/application/icon-file-unknown.png +0 -0
  20. data/app/assets/images/koi/application/icon-file-xls.png +0 -0
  21. data/app/assets/images/koi/application/icon-file-zip.png +0 -0
  22. data/app/assets/images/koi/application/icon-form-date-picker.png +0 -0
  23. data/app/assets/images/koi/application/icon-form-error.png +0 -0
  24. data/app/assets/images/koi/application/icon-index-sort-ascending.png +0 -0
  25. data/app/assets/images/koi/application/icon-index-sort-descending.png +0 -0
  26. data/app/assets/images/koi/application/icon-index-sort.png +0 -0
  27. data/app/assets/images/koi/application/icon-index-sortable.png +0 -0
  28. data/app/assets/images/koi/application/icon-menu-cursor.png +0 -0
  29. data/app/assets/images/koi/application/icon-overlay-add.png +0 -0
  30. data/app/assets/images/koi/application/icon-overlay-close.png +0 -0
  31. data/app/assets/images/koi/application/icon-sortable.png +0 -0
  32. data/app/assets/images/koi/application/jcrop.gif +0 -0
  33. data/app/assets/images/koi/application/loading.gif +0 -0
  34. data/app/assets/images/koi/application/select-arrow.svg +0 -3
  35. data/app/assets/images/koi/application/select_arrow.png +0 -0
  36. data/app/assets/images/koi/application/sort-ascending.png +0 -0
  37. data/app/assets/images/koi/application/sort-descending.png +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7332f9e231b03a10934316e6be8d9fb00659b7231a8fef96379ef3631a335776
4
- data.tar.gz: e1bf94e76433c4c11f0df385ba2c87df0cccec83d9f3275ee4c46bb171fc25a8
3
+ metadata.gz: c9152c315e534ac8308874565166fca173df77f919af3104e17a3ae198b5d66c
4
+ data.tar.gz: 4d54135239dc294bdc334b9be7aaa6df8d3db2c216c6079fddd8b83baa0713b8
5
5
  SHA512:
6
- metadata.gz: 7403b011c65fd38c2e3443bcd8ee2a86cc8a3310298e75c5d7f9ebe1a4a04d36d9b8aaca02dad92f8ea99a5396888a6785601bdd11934bf88fe3f820bafeae4f
7
- data.tar.gz: 7ee5ecda0d9265dae2cb1a18496ad5ac2b529a34a0032987dbedc357d198d114d256cd8bb0e5ef8104536157d114712b54a67f77bef44ac5439c73f56ab95371
6
+ metadata.gz: f089a059a9fc1b36e266e37c604eb7d5cc563eb6f118a2e04da2bd0d89f0281982757b49474d017e0793f755010ee894e97bfd786c6cf8ce892fb3ce5bba1113
7
+ data.tar.gz: ec2a37f520c6ade602c86aa091760735bec7f268be858189d9d9dde8ec01aa5720336a8a4ded36201bbb97bc270e26e3592fcd9006fbf492e9c29ebe8d6e22ee
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M7.66.032c.225-.043.456-.043.681 0l.211.055c.203.067.379.163.504.227l.001-.001 5.756 2.919.002.002.01.005.316.168c.09.053.183.115.27.189l.087.078.126.14q.174.214.273.484h.002c.116.315.102.652.102.82v5.765c0 .168.012.497-.098.807a1.7 1.7 0 0 1-.399.627l-.01.011c-.22.217-.504.35-.66.43l-.019.009h-.002l-5.756 2.92-.002.002c-.126.063-.301.158-.503.224l-.209.055a1.8 1.8 0 0 1-.685 0c-.287-.055-.54-.193-.704-.275l-.01-.005-5.756-2.92-.002-.001-.01-.005c-.166-.085-.452-.218-.672-.436a1.7 1.7 0 0 1-.4-.626l-.002.002c-.116-.316-.101-.652-.101-.819V5.117c0-.17-.015-.5.097-.811H.1c.086-.24.225-.45.398-.623H.496l.01-.01h.001c.224-.222.519-.357.68-.44l.001-.001L6.944.312v.002c.17-.087.425-.227.714-.281zM2 10.937l.086.044.007.004 4.908 2.489v-4.86L2 6.077zm7-2.323v4.86l4.908-2.49.015-.007.077-.04v-4.86zM7.987 2.028l-.136.068v.001L3.21 4.449 8 6.879l4.79-2.43-4.638-2.352-.001-.001-.137-.07-.013-.006z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M8 0c2.002 0 3.854.242 5.237.657.685.206 1.313.47 1.791.81.453.32.972.858.972 1.633v9.8c0 .772-.514 1.31-.967 1.632-.477.34-1.103.606-1.787.812C11.865 15.759 10.013 16 8 16s-3.865-.241-5.246-.656c-.684-.206-1.31-.471-1.787-.812C.514 14.21 0 13.672 0 12.9V3.1c0-.775.52-1.312.972-1.633.478-.34 1.105-.604 1.79-.81C4.147.242 5.999 0 8 0m6 10.18a9 9 0 0 1-.754.263c-1.381.415-3.233.657-5.246.657s-3.865-.242-5.246-.657A9 9 0 0 1 2 10.181v2.618c.024.024.063.06.128.105.228.162.622.35 1.201.524C4.476 13.772 6.124 14 8 14s3.524-.228 4.67-.572c.58-.174.974-.362 1.202-.524A1 1 0 0 0 14 12.8zm0-4.903a9 9 0 0 1-.763.266C11.854 5.958 10.002 6.2 8 6.2s-3.854-.242-5.237-.657A9 9 0 0 1 2 5.277V7.9c.024.024.064.06.128.105.228.162.622.35 1.201.524C4.476 8.873 6.124 9.1 8 9.1s3.524-.227 4.67-.572c.58-.174.974-.362 1.202-.524.064-.046.104-.08.128-.105zM8 2c-1.864 0-3.512.228-4.662.573-.581.175-.98.362-1.21.525l-.002.002q0 0 .003.002c.23.163.628.35 1.209.525C4.488 3.972 6.136 4.2 8 4.2s3.512-.228 4.662-.573c.581-.174.98-.362 1.21-.525l.001-.002-.002-.002c-.23-.163-.628-.35-1.209-.525C11.512 2.228 9.864 2 8 2"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M10.667 6.476a4.19 4.19 0 1 0-8.38.001 4.19 4.19 0 0 0 8.38 0m2.286 0a6.48 6.48 0 0 1-1.163 3.698l3.875 3.875a1.143 1.143 0 1 1-1.616 1.616l-3.875-3.875a6.47 6.47 0 0 1-3.698 1.163 6.476 6.476 0 1 1 6.477-6.477"/></svg>
@@ -15,7 +15,7 @@
15
15
  max-width: unset;
16
16
  outline: none;
17
17
  border-width: 2px;
18
- padding: 5px 2rem 5px 5px;
18
+ padding: 6px 2rem 6px 5px;
19
19
  font-size: var(--size-step-0);
20
20
  line-height: var(--leading-standard);
21
21
  }
@@ -27,7 +27,7 @@
27
27
  top: var(--space-3xs);
28
28
  right: var(--space-3xs);
29
29
  bottom: var(--space-3xs);
30
- max-height: 1.75rem;
30
+ max-height: 2rem;
31
31
  width: auto;
32
32
  min-width: 1.5rem;
33
33
  text-align: center;
@@ -73,29 +73,30 @@
73
73
  content: "";
74
74
  position: relative;
75
75
  display: inline-block;
76
- min-width: 14px;
76
+ min-width: 16px;
77
77
  min-height: 16px;
78
78
  margin-inline-end: 0.5rem;
79
+ top: 2px;
79
80
  }
80
81
 
81
82
  li.suggestion.attribute::before {
82
- background: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 3.1C13 4.2598 10.3137 5.2 7 5.2C3.68629 5.2 1 4.2598 1 3.1M13 3.1C13 1.9402 10.3137 1 7 1C3.68629 1 1 1.9402 1 3.1M13 3.1V12.9C13 14.062 10.3333 15 7 15C3.66667 15 1 14.062 1 12.9V3.1M13 8C13 9.162 10.3333 10.1 7 10.1C3.66667 10.1 1 9.162 1 8' stroke='%23#{string.slice(meta.inspect($text-icon-color), 2)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
83
- no-repeat;
84
- top: 2px;
83
+ -webkit-mask: url("../../icons/database.svg") no-repeat;
84
+ mask: url("../../icons/database.svg") no-repeat;
85
+ background: var(--color-mid);
85
86
  }
86
87
 
87
88
  li.suggestion.database_value::before,
88
89
  li.suggestion.constant_value::before,
89
90
  li.suggestion.custom_value::before {
90
- background: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 16 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6111 5.16702L7.99998 8.99998M7.99998 8.99998L1.38886 5.16702M7.99998 8.99998L8 16.711M15 12.2943V5.70573C15 5.42761 15 5.28856 14.9607 5.16453C14.926 5.05481 14.8692 4.9541 14.7942 4.86912C14.7094 4.77307 14.5929 4.70553 14.3599 4.57047L8.60436 1.23354C8.38378 1.10565 8.27348 1.04171 8.15668 1.01664C8.05331 0.994453 7.94669 0.994453 7.84332 1.01664C7.72652 1.04171 7.61623 1.10565 7.39564 1.23354L1.64009 4.57047C1.40713 4.70554 1.29064 4.77307 1.20583 4.86912C1.13079 4.9541 1.074 5.05481 1.03927 5.16453C1 5.28856 1 5.42762 1 5.70573V12.2943C1 12.5724 1 12.7114 1.03927 12.8355C1.074 12.9452 1.13079 13.0459 1.20583 13.1309C1.29064 13.2269 1.40713 13.2945 1.64009 13.4295L7.39564 16.7665C7.61623 16.8943 7.72652 16.9583 7.84332 16.9834C7.94669 17.0055 8.05331 17.0055 8.15668 16.9834C8.27348 16.9583 8.38377 16.8943 8.60436 16.7665L14.3599 13.4295C14.5929 13.2945 14.7094 13.2269 14.7942 13.1309C14.8692 13.0459 14.926 12.9452 14.9607 12.8355C15 12.7114 15 12.5724 15 12.2943Z' stroke='%23#{string.slice(meta.inspect($text-icon-color), 2)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
91
- no-repeat;
92
- top: 2px;
91
+ -webkit-mask: url("../../icons/cube.svg") no-repeat;
92
+ mask: url("../../icons/cube.svg") no-repeat;
93
+ background: var(--color-mid);
93
94
  }
94
95
 
95
96
  li.suggestion.search_value::before {
96
- background: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15.0001 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%23#{string.slice(meta.inspect($text-icon-color), 2)}' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
97
- no-repeat;
98
- top: 2px;
97
+ -webkit-mask: url("../../icons/search.svg") no-repeat;
98
+ mask: url("../../icons/search.svg") no-repeat;
99
+ background: var(--color-mid);
99
100
  }
100
101
 
101
102
  li.suggestion.attribute::after {
@@ -24,7 +24,7 @@
24
24
  <% row.text(:sign_in_count, label: "Total logins") %>
25
25
  <% row.boolean(:passkey) %>
26
26
  <% row.boolean(:otp, label: "MFA") %>
27
- <% row.boolean(:archived?) %>
27
+ <% row.boolean(:archived) %>
28
28
  <% end %>
29
29
 
30
30
  <% unless admin_user.archived? %>
@@ -12,8 +12,13 @@
12
12
  <% end %>
13
13
 
14
14
  <%= form_with model: menu, url: katalyst_navigation.menu_path(menu) do |form| %>
15
- <%= form.govuk_text_field :title %>
16
- <%= form.govuk_text_field :slug %>
15
+ <%= form.govuk_fieldset legend: nil, data: { controller: "sluggable", sluggable_slug_value: form.object.slug } do %>
16
+ <%= form.govuk_text_field :title,
17
+ data: { sluggable_target: "source", action: "keyup->sluggable#sourceChanged" } %>
18
+ <%= form.govuk_text_field :slug,
19
+ data: { sluggable_target: "slug", action: "keyup->sluggable#slugChanged" } %>
20
+ <% end %>
21
+
17
22
  <%= form.govuk_text_field :depth %>
18
23
  <%= form.button(type: :submit, class: "button", name: :commit, value: :save) %>
19
24
  <% end %>
@@ -7,8 +7,13 @@
7
7
  <% end %>
8
8
 
9
9
  <%= form_with model: menu, url: katalyst_navigation.menus_path do |form| %>
10
- <%= form.govuk_text_field :title %>
11
- <%= form.govuk_text_field :slug %>
10
+ <%= form.govuk_fieldset legend: nil, data: { controller: "sluggable", sluggable_slug_value: form.object.slug } do %>
11
+ <%= form.govuk_text_field :title,
12
+ data: { sluggable_target: "source", action: "keyup->sluggable#sourceChanged" } %>
13
+ <%= form.govuk_text_field :slug,
14
+ data: { sluggable_target: "slug", action: "keyup->sluggable#slugChanged" } %>
15
+ <% end %>
16
+
12
17
  <%= form.govuk_text_field :depth %>
13
18
  <%= form.button(type: :submit, class: "button") %>
14
19
  <% end %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-koi
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.3
4
+ version: 5.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive
@@ -279,37 +279,12 @@ files:
279
279
  - app/assets/fonts/koi/inter-license.txt
280
280
  - app/assets/fonts/koi/inter-variable-v4-1-italic.woff2
281
281
  - app/assets/fonts/koi/inter-variable-v4-1.woff2
282
- - app/assets/images/koi/application/chevron-right.svg
283
- - app/assets/images/koi/application/glyphicons-halflings-white.png
284
- - app/assets/images/koi/application/glyphicons-halflings.png
285
- - app/assets/images/koi/application/icon-collapse-down.png
286
- - app/assets/images/koi/application/icon-collapse-up.png
287
- - app/assets/images/koi/application/icon-file-doc.png
288
- - app/assets/images/koi/application/icon-file-img.png
289
- - app/assets/images/koi/application/icon-file-pdf.png
290
- - app/assets/images/koi/application/icon-file-ppt.png
291
- - app/assets/images/koi/application/icon-file-unknown.png
292
- - app/assets/images/koi/application/icon-file-xls.png
293
- - app/assets/images/koi/application/icon-file-zip.png
294
- - app/assets/images/koi/application/icon-form-date-picker.png
295
- - app/assets/images/koi/application/icon-form-error.png
296
- - app/assets/images/koi/application/icon-index-sort-ascending.png
297
- - app/assets/images/koi/application/icon-index-sort-descending.png
298
- - app/assets/images/koi/application/icon-index-sort.png
299
- - app/assets/images/koi/application/icon-index-sortable.png
300
- - app/assets/images/koi/application/icon-menu-cursor.png
301
- - app/assets/images/koi/application/icon-overlay-add.png
302
- - app/assets/images/koi/application/icon-overlay-close.png
303
- - app/assets/images/koi/application/icon-sortable.png
304
- - app/assets/images/koi/application/jcrop.gif
305
- - app/assets/images/koi/application/loading.gif
306
- - app/assets/images/koi/application/select-arrow.svg
307
- - app/assets/images/koi/application/select_arrow.png
308
- - app/assets/images/koi/application/sort-ascending.png
309
- - app/assets/images/koi/application/sort-descending.png
310
282
  - app/assets/images/koi/icons/add.svg
311
283
  - app/assets/images/koi/icons/close.svg
284
+ - app/assets/images/koi/icons/cube.svg
285
+ - app/assets/images/koi/icons/database.svg
312
286
  - app/assets/images/koi/icons/fingerprint.svg
287
+ - app/assets/images/koi/icons/search.svg
313
288
  - app/assets/images/koi/logo.svg
314
289
  - app/assets/stylesheets/koi/blocks/actions.css
315
290
  - app/assets/stylesheets/koi/blocks/application-header.css
@@ -600,7 +575,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
600
575
  - !ruby/object:Gem::Version
601
576
  version: '0'
602
577
  requirements: []
603
- rubygems_version: 4.0.16
578
+ rubygems_version: 4.0.20
604
579
  specification_version: 4
605
580
  summary: Koi CMS admin framework
606
581
  test_files: []
@@ -1,10 +0,0 @@
1
- <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_19_2)">
3
- <path d="M19.9999 12L17.1799 14.82L26.3399 24L17.1799 33.18L19.9999 36L31.9999 24L19.9999 12Z" fill="black"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_19_2">
7
- <rect width="48" height="48" fill="white"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 13">
2
- <path d="M.541 0l11.125 12.573a.5.5 0 00.749 0L23.541 0h-23z" fill="#000" fill-rule="evenodd"/>
3
- </svg>