satis 2.1.11 → 2.1.15

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: c26f92789c969a70a78e755e1e4524ce60eb66e4072e668347a043dfbec44035
4
- data.tar.gz: fd1bcf71ddb41868eef1f4832851a7cfd5c0a9d758c1fabff852cae2ef20b140
3
+ metadata.gz: 8a4ce55d6a1473ecfa1941df7fd71f2319d12b8494dbbdc6d949c9c8e652b08e
4
+ data.tar.gz: e3032e60ecf1d85fd7a73416442db26bc038aa898ed917666b324174d2287806
5
5
  SHA512:
6
- metadata.gz: a05e0503425e84529bf1a0c07a0de2d5a2704178a745854ea1a10c29345c580cedff250ed16a3e6839ce91a0d2e45f43b400000666ce3f56bfb7bd49097400b6
7
- data.tar.gz: 1775ac23357c5d75fe779c2514fa54a7458be686796a07f17a79a8ee14f8d626797eb18a34d5b13caac8a4e0c114dfbbb971eda24223bd22232233435d45dbdd
6
+ metadata.gz: 3daf6eff098ca5625095b2d200a28f2fc95ea2b77c4894dbd0c48dcb41625b33c3e451c6c17b586dc2824f6fdb9ecd0619db918b40139979a58b98068bcd8e4a
7
+ data.tar.gz: 4dd6be7e7f4b804bb64d7ebcc92432172c177ffe4f003d77f93cdfe4b284c6d2435cdf6b9553d710881be32a73623df528e4432fe6d8cc9efadd40331ca9b491
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  input {
8
- @apply dark:text-gray-300;
8
+ @apply dark:text-gray-100;
9
9
  }
10
10
 
11
11
  .warning
@@ -22,3 +22,29 @@
22
22
  @apply font-bold;
23
23
  }
24
24
  }
25
+
26
+ .satis-dropdown .topbar-dropdown{
27
+ @apply bg-gray-50 rounded-lg shadow dark:bg-gray-900;
28
+ }
29
+
30
+ .changelog-menu{
31
+ @apply dark:bg-gray-900 dark:border-gray-100 dark:shadow-gray-800 divide-y divide-gray-100 dark:divide-gray-800 right-0 z-10 mx-1 w-1/3 rounded-md bg-white text-gray-500 dark:text-gray-100 shadow-lg ring-1 ring-black ring-opacity-5 overflow-y-auto max-h-screen;
32
+ }
33
+
34
+ .changelog-menu .changelog-menu-item{
35
+ @apply py-1 hover:bg-gray-50 divide-gray-900 dark:divide-gray-500 dark:hover:bg-gray-700 cursor-pointer;
36
+ }
37
+
38
+ .satis-dropdown .topbar-dropdown-results{
39
+ overflow-y: scroll;
40
+ @apply bg-gray-50 divide-gray-900 divide-opacity-25 shadow-gray-300 shadow-lg text-gray-900 text-opacity-75 dark:bg-gray-900 dark:shadow-gray-700 dark:shadow-lg dark:bg-opacity-75 dark:divide-gray-50 dark:divide-opacity-25 dark:text-gray-300;
41
+ }
42
+
43
+ .satis-dropdown .topbar-dropdown .topbar-dropdown-input{
44
+ @apply bg-gray-50 dark:bg-gray-900 dark:divide-gray-100;
45
+ }
46
+
47
+ .satis-dropdown .topbar-dropdown-results-items{
48
+ @apply dark:border-gray-700 border-b divide-gray-200 divide-opacity-25 hover:bg-gray-200 hover:shadow dark:hover:text-white dark:bg-opacity-75 dark:hover:bg-gray-800 dark:bg-gray-900 dark:divide-gray-100 dark:divide-opacity-5;
49
+ }
50
+
@@ -8,27 +8,27 @@ div.satis-dropdown data-action="keydown->satis-dropdown#dispatch" data-controlle
8
8
  .flex.flex-col
9
9
  div.hidden.py-1 data-satis-dropdown-target="pills"
10
10
  .flex.flex-col.items-center
11
- .w-full
12
- .h-12.p-1.bg-white.dark:bg-gray-900.opacity-25.flex.border.border-gray-200.opacity-25.dark:border-gray-600.rounded.opacity-75
11
+ .w-full.topbar-dropdown
12
+ .h-12.p-1.flex.rounded
13
13
  .flex.flex-auto.flex-wrap
14
14
  / Input where you can search
15
- input.p-1.px-2.appearance-none.outline-none.w-full.text-gray-800.dark:bg-gray-800.dark:text-gray-300 data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
15
+ input.p-1.px-2.appearance-none.outline-none.w-full.topbar-dropdown-input.text-gray-800.dark:text-gray-300 data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
16
16
  div
17
17
  / Reset button
18
18
  - unless @reset_button == false
19
19
  button.cursor-pointer.w-6.h-full.flex.items-center.text-gray-400.outline-none.focus:outline-none type="button" data-satis-dropdown-target="resetButton" data-action="click->satis-dropdown#reset focus->satis-dropdown#focus" tabindex="-1"
20
20
  i.fas.fa-xmark
21
21
  - unless @toggle_button == false
22
- .text-gray-300.w-8.py-1.pl-2.pr-1.border-l.flex.items-center.border-gray-200.dark:border-gray-700
22
+ .text-gray-300.w-8.py-1.pl-2.pr-1.flex.items-center.dark:border-gray-700
23
23
  / Up/down chevrons
24
- button.cursor-pointer.w-6.h-6.text-gray-600.outline-none.focus:outline-none type="button" data-action="click->satis-dropdown#toggleResultsList focus->satis-dropdown#focus" data-satis-dropdown-target="toggleButton" tabindex="-1"
24
+ button.cursor-pointer.w-6.h-6.text-gray-600.outline-none.opacity-50.focus:outline-none type="button" data-action="click->satis-dropdown#toggleResultsList focus->satis-dropdown#focus" data-satis-dropdown-target="toggleButton" tabindex="-1"
25
25
  i.hidden.fas.fa-chevron-up
26
26
  i.fas.fa-chevron-down
27
27
 
28
28
  template data-satis-dropdown-target="selectedItemsTemplate"
29
29
 
30
30
  / Container for results
31
- .hidden.container.shadow.bg-white.border.border-gray-300.dark:text-gray-300.dark:bg-gray-800.dark:border-gray-700.z-10.rounded.max-h-select.overflow-y-auto.w-full data-satis-dropdown-target="results" data-action="scroll->satis-dropdown#scroll" tabindex="-1"
31
+ .hidden.container.topbar-dropdown-results.shadow.dark:text-gray-300.z-10.rounded.max-h-select.overflow-y-auto.w-full data-satis-dropdown-target="results" data-action="scroll->satis-dropdown#scroll" tabindex="-1"
32
32
  .flex.flex-col.w-full data-satis-dropdown-target="items"
33
33
  - options[:collection]&.each do |item|
34
34
  - data_attrs = item.try(:third) ? item.third : {}
@@ -36,8 +36,8 @@ div.satis-dropdown data-action="keydown->satis-dropdown#dispatch" data-controlle
36
36
  - if custom_item_html?
37
37
  = item_html(item)
38
38
  - else
39
- .cursor-pointer.w-full.dark:border-gray-700.border-b.hover:bg-primary-200
40
- .flex.w-full.items-center.p-2.pl-2.border-transparent.border-l-2.hover:border-teal-2100
39
+ .cursor-pointer.w-full.topbar-dropdown-results-items
40
+ .flex.w-full.items-center.p-2.pl-2.border-transparent.border-l-2
41
41
  .w-full.items-center.flex
42
42
  .mx-2.-mt-1
43
43
  span = item.send(text_method)
@@ -5,7 +5,7 @@
5
5
  - tabs.each do |tab|
6
6
  option selected=tab.selected? = ct(".#{tab.name}", scope: :tab)
7
7
  .hidden.sm:block
8
- .border-b.border-gray-200
8
+ .border-b.border-gray-200.dark:border-opacity-25
9
9
  nav.sts-tabs__nav aria-label="Tabs"
10
10
  - tabs.each.with_index do |tab, index|
11
11
  - id = tab.id.present? ? tab.id : tab.name
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.11"
2
+ VERSION = "2.1.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.11
4
+ version: 2.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-30 00:00:00.000000000 Z
11
+ date: 2024-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser