bullet_train-themes-tailwind_css 1.0.11 → 1.0.12

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: 2c7303e92428b04ed12211d3707d3ca80ab6462f4f58f8de26bb9e7d8c5171f6
4
- data.tar.gz: ca9101d5217e280a80f43f257556110c3f6c19901731374b46171bba6de00fba
3
+ metadata.gz: fd6be9eb43e01d85afebd6bea397737747636af8535560a95505b23b043ca758
4
+ data.tar.gz: e10a4b03026608bbe7967d7bff8a1c405c141fe7ee6323323894365ca24dc014
5
5
  SHA512:
6
- metadata.gz: 367af6b907a592e7afd3ef70472330eb64b731de4ab378fe7839c2e5b1f0d4c444822fe9f6cf0bb4eb2aef704c3abe72124eb8ee13fb1f770572d2ad81b6b8c1
7
- data.tar.gz: 03a983fbd37c9f28cecb94f2aee2e7eae05ff7bbb6d86ade2c4027273b3007c78f80287306e1bacee7d200000d4e76e33c0005039f705702766d93827fc4c82f
6
+ metadata.gz: 6ac6216bb8a943ca8cdb99e6d7108f6ea0be8210a8efb2f633e94d45f535f2244d21f5f4e7112f7a27ad586b633f28c191a7d0ffab3bc27c068287b0247d73a8
7
+ data.tar.gz: 48af2a849b1c09311fd31f8d970bb85141074a52baf641f6d7e202cf7b94b09853b998bfe5a620e85392d000a34017295dbf2b926f429f5cdbeedee5305989d8
@@ -17,17 +17,17 @@ value = form.object.send(method)
17
17
  <div class="space-x-1" data-controller="<%= stimulus_controller %>" data-<%= stimulus_controller %>-initial-color-value="<%= value %>">
18
18
  <%= form.hidden_field method, value: value, data: {"#{stimulus_controller}-target": "colorPickerValue"} %>
19
19
  <div class="inline space-x-1" data-<%= stimulus_controller %>-target="colorOptions">
20
- <% options.each do |color| %>
20
+ <% options[:color_picker_options].each do |color| %>
21
21
  <label class="btn-toggle btn-color-picker">
22
- <button type="button" class="button-color mb-1.5 dark:ring-offset-sealBlue-400 <%= color == value ? 'ring-2 ring-offset-2' : '' %>" style="background-color: <%= color %>; --tw-ring-color: <%= color %>" data-action="<%= stimulus_controller %>#pickColor" data-color="<%= color %>">&nbsp;</button>
22
+ <button type="button" class="button-color mb-1.5 dark:ring-offset-darkPrimary-700 <%= color == value ? 'ring-2 ring-offset-2' : '' %>" style="background-color: <%= color %>; --tw-ring-color: <%= color %>" data-action="<%= stimulus_controller %>#pickColor" data-color="<%= color %>">&nbsp;</button>
23
23
  </label>
24
24
  <% end %>
25
25
  </div>
26
26
  <label class="btn-toggle btn-color-picker">
27
- <button type="button" class="button-color mr-1 dark:ring-offset-sealBlue-400 <%= value.blank? || options.include?(value) ? 'hidden' : 'ring-2 ring-offset-2' %>" data-action="<%= stimulus_controller %>#pickColor" data-<%= stimulus_controller %>-target="userSelectedColor" data-color="<%= value %>" style="background-color: <%= value %>; --tw-ring-color: <%= value %>">&nbsp;</button>
27
+ <button type="button" class="button-color mr-1 dark:ring-offset-darkPrimary-700 <%= value.blank? || options.include?(value) ? 'hidden' : 'ring-2 ring-offset-2' %>" data-action="<%= stimulus_controller %>#pickColor" data-<%= stimulus_controller %>-target="userSelectedColor" data-color="<%= value %>" style="background-color: <%= value %>; --tw-ring-color: <%= value %>">&nbsp;</button>
28
28
  </label>
29
29
  <span class="relative">
30
- <input type="text" disabled="disabled" class="rounded-md shadow-sm font-light font-mono text-sm focus:ring-blue focus:border-blue border-gray-300 w-48 dark:bg-sealBlue-300 dark:border-sealBlue-100" value="<%= value %>" data-<%= stimulus_controller %>-target="colorInput"/>
30
+ <input type="text" disabled="disabled" class="rounded-md shadow-sm font-light font-mono text-sm focus:ring-blue focus:border-blue border-gray-300 w-48 dark:bg-darkPrimary-800 dark:border-darkPrimary-900" value="<%= value %>" data-<%= stimulus_controller %>-target="colorInput"/>
31
31
  <span class="absolute right-0">
32
32
  <button type="button" class="py-2 px-1 border border-transparent inline-flex items-center whitespace-nowrap rounded-md text-lg" data-action="<%= stimulus_controller %>#pickRandomColor">
33
33
  <i class="leading-5 ti ti-reload dark:text-blue-500"></i>
@@ -4,7 +4,7 @@
4
4
  form ||= current_fields_form
5
5
  options ||= {}
6
6
  options[:id] ||= id_for(form, method)
7
- options[:class] = "form-control single-daterange w-full border-gray-300 dark:bg-sealBlue-300 dark:border-sealBlue-100 #{options[:class]}".strip
7
+ options[:class] = "form-control single-daterange w-full border-gray-300 dark:bg-darkPrimary-800 dark:border-darkPrimary-900 #{options[:class]}".strip
8
8
  options[:value] = form.object.send(method)&.in_time_zone(current_team.time_zone)&.strftime(t('global.formats.date_and_time'))
9
9
  options = options.merge({ data: {'fields--date-target': 'field' }})
10
10
  other_options ||= {}
@@ -6,7 +6,7 @@ stimulus_controller = 'fields--date'
6
6
  form ||= current_fields_form
7
7
  options ||= {}
8
8
  options[:id] ||= id_for(form, method)
9
- options[:class] = "form-control single-daterange w-full border-gray-300 dark:bg-sealBlue-300 dark:border-sealBlue-100 #{options[:class]}".strip
9
+ options[:class] = "form-control single-daterange w-full border-gray-300 dark:bg-darkPrimary-800 dark:border-darkPrimary-900 #{options[:class]}".strip
10
10
  options[:value] = form.object.send(method)&.strftime(t('global.formats.date'))
11
11
  options = options.merge({ data: {"#{stimulus_controller}-target": 'field' }})
12
12
  other_options ||= {}
@@ -31,7 +31,7 @@ other_options ||= {}
31
31
  <span class="dark:text-white">Upload New Document</span>
32
32
  </div>
33
33
  <div class="mt-2 hidden flex overflow-hidden text-xs rounded bg-black-400">
34
- <div data-fields--file-field-target="progressBar" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" class="flex flex-col justify-center text-white text-center whitespace-nowrap overflow-hidden bg-sealBlue-300" role="progressbar" style="width: 0%;"> 0%</div>
34
+ <div data-fields--file-field-target="progressBar" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" class="flex flex-col justify-center text-white text-center whitespace-nowrap overflow-hidden dark:bg-darkPrimary-800" role="progressbar" style="width: 0%;"> 0%</div>
35
35
  </div>
36
36
  </div>
37
37
  </div>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.0.11"
4
+ VERSION = "1.0.12"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-tailwind_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver