bullet_train-themes-light 1.33.0 → 1.34.0

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: 688988e9c75407831edba015db93d05c977bbb553209a8bd6801d4243e94a09f
4
- data.tar.gz: 17932d0e79e2c539c84a72dd833f4b1223e2f4f33caa30974f7132193a8a845f
3
+ metadata.gz: 35c3cfbed73391dc840ca65e9abd66725aa1ce6363cac368ad7dddd37592a142
4
+ data.tar.gz: af41dce3da7c408c851748a7c56a596f740be1fab143e6f846c140d54e7b71dc
5
5
  SHA512:
6
- metadata.gz: 0d9dc87cd6023674c15d3d63052666919e21c351252263766c3b397d55619a82eb7791ddede386b81f04c2274503a2e25877d152b67d0f4b0c2a0d6eb469d20e
7
- data.tar.gz: e13b9e6fc0b29038584e7ab1a2c16412d7e17249a9ee3dc754e8a32f0dcee129100aaf28fa5426b19429f979c622cd70b80659031af8ebd8b078a9e3885f8e38
6
+ metadata.gz: d638a2d646d53dcb4e57d07d062602bfa59fe927bed7b58a4fba05a143196e11337c55546598603b71451ac38cc1da84975b4a3f68b71ac61cf0d9b3a9f90186
7
+ data.tar.gz: 8bc864fc6bee5889e449f56b5af29968feae24a61a56e84dd15a2cf70335d063a11345197254d03d9a1e260a5314c142af9af1b7c81a5441075fcd271db06294
@@ -5,6 +5,7 @@
5
5
 
6
6
  a {
7
7
  outline-color: var(--tw-ring-color);
8
+ /* TODO: Will --tw-ring-opacity still be available in tailwindcss v4? */
8
9
  --tw-ring-color: rgba(3, 98, 198, var(--tw-ring-opacity));
9
10
  --tw-ring-opacity: 1;
10
11
  }
@@ -55,6 +55,17 @@ html.turn-exit [data-turn-exit] {
55
55
  /*
56
56
  * This mostly prevents sudden side-to-side jumping due to the addition of a scrollbar during transition.
57
57
  */
58
- html.turn-advance{
58
+ html.turn-advance:has(body.devise_layout){
59
59
  overflow: hidden;
60
60
  }
61
+
62
+ /*
63
+ * This disables the view transitions that turn automatically injects just by being present.
64
+ */
65
+ @supports (view-transition-name: root) {
66
+ ::view-transition-old(root),
67
+ ::view-transition-new(root) {
68
+ animation: none !important;
69
+ opacity: 1 !important;
70
+ }
71
+ }
@@ -44,7 +44,7 @@
44
44
 
45
45
  <template id="bullet_train_theme_selects">
46
46
  <section class="border-t w-full p-4 flex space-between left-0 bottom-0 fixed bg-white dark:sc-bg-neutral-900" id="bt-theme-selector">
47
- <span class="block pt-2 flex-grow">BulletTrain <%= BulletTrain::VERSION %></span>
47
+ <span class="block pt-2 grow">BulletTrain <%= BulletTrain::VERSION %></span>
48
48
 
49
49
  <h3 class="pt-2">Light Theme options</h3>
50
50
 
@@ -7,7 +7,7 @@
7
7
  <% pagy ||= nil %>
8
8
  <% overflow_hidden ||= local_assigns.fetch(:overflow_hidden, true) %>
9
9
 
10
- <div class="<%= "bg-white rounded-md shadow dark:bg-base-700 dark:bg-opacity-50" unless no_background %> <%= "overflow-hidden" if overflow_hidden %> <%= border_top ? "border-t dark:border-base-500" : "" %>">
10
+ <div class="<%= "bg-white rounded-md shadow dark:bg-base-700/50" unless no_background %> <%= "overflow-hidden" if overflow_hidden %> <%= border_top ? "border-t dark:border-base-500" : "" %>">
11
11
  <% if partial.title? || partial.description? %>
12
12
  <div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border-base-600' if divider %>">
13
13
  <% if partial.title? %>
@@ -7,7 +7,7 @@
7
7
  <li>
8
8
  <div class="flex items-center">
9
9
  <!-- Heroicon name: chevron-right -->
10
- <svg class="flex-shrink-0 h-3 w-3 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
10
+ <svg class="shrink-0 h-3 w-3 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
11
11
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
12
12
  </svg>
13
13
 
@@ -1,5 +1,5 @@
1
1
  <%= link_to path, class: "block group hover:no-underline" do %>
2
- <div class="bg-white hover:bg-base-50 rounded-md shadow dark:bg-base-700 dark:group-hover:bg-base-700 dark:bg-opacity-50 dark:group-hover:bg-opacity-25 overflow-hidden">
2
+ <div class="bg-white hover:bg-base-50 rounded-md shadow dark:bg-base-700/50 dark:group-hover:bg-base-700/25 overflow-hidden">
3
3
  <div class="py-4 px-8 pr-5">
4
4
  <div class="flex items-center">
5
5
  <% if partial.body? %>
@@ -7,7 +7,7 @@
7
7
  <%= partial.body %>
8
8
  </div>
9
9
  <% end %>
10
- <div class="ml-5 flex-shrink-0">
10
+ <div class="ml-5 shrink-0">
11
11
  <svg class="h-5 w-5 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
12
12
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"></path>
13
13
  </svg>
@@ -12,13 +12,13 @@
12
12
  </div>
13
13
  <% end %>
14
14
  </div>
15
- <div class="mt-4 flex-shrink-0 sm:mt-0">
15
+ <div class="mt-4 shrink-0 sm:mt-0">
16
16
  <div class="flex overflow-hidden">
17
17
  <%= render 'account/shared/memberships/photos', memberships: memberships %>
18
18
  </div>
19
19
  </div>
20
20
  </div>
21
- <div class="ml-5 flex-shrink-0">
21
+ <div class="ml-5 shrink-0">
22
22
  <svg class="h-5 w-5 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
23
23
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
24
24
  </svg>
@@ -1,4 +1,4 @@
1
- <div class="border border-base-300 dark:border-opacity-10 rounded-md bg-base-50 dark:bg-opacity-10">
1
+ <div class="border border-base-300 dark:border-base-300/10 rounded-md bg-base-50 dark:bg-base-50/10">
2
2
  <% if partial.title? || partial.description? || partial.body? %>
3
3
  <div class="py-4 px-5 space-y">
4
4
  <% if partial.title? || partial.description? %>
@@ -52,7 +52,7 @@
52
52
  <ul class="text-base mt-5 text-base-500 space-y-3">
53
53
  <% price.product.features.each do |feature| %>
54
54
  <li class="flex items-start">
55
- <div class="flex-shrink-0 text-green-500">
55
+ <div class="shrink-0 text-green-500">
56
56
  <i class="ti ti-check fas fa-check"></i>
57
57
  </div>
58
58
  <p class="ml-3">
@@ -3,7 +3,7 @@
3
3
  <div class="<%= 'border-l-primary-500 border-l-4 border-primary-600' if subscription.unread? %>">
4
4
 
5
5
  <%= link_to [:account, current_user, :conversations, :subscriptions, conversation_id: subscription.conversation.id], class: "#{current_conversation ? 'bg-base-100 border-l ' : 'bg-white'} h-28 p-1 flex border-b-2 cursor-pointer hover:no-underline hover:bg-base-50 relative items-center" do %>
6
- <div class="md:w-1/4 w-1/5 lg:inline-block md:hidden flex-shrink-0">
6
+ <div class="md:w-1/4 w-1/5 lg:inline-block md:hidden shrink-0">
7
7
  <img src="<%= membership_profile_photo_url(conversation.last_message&.membership || current_membership) %>" title="<%= current_membership.name %>" alt="<%= current_membership.name %>" class="md:w-14 md:h-14 w-12 h-12 rounded-full mx-auto border-1 border-white border-2 flex-none">
8
8
  </div>
9
9
  <div class="w-4/5 md:w-full lg:w-4/5 pl-4 pr-1 flex-initial truncate">
@@ -109,7 +109,7 @@
109
109
  <% end %>
110
110
  <% end %>
111
111
 
112
- <div class="flex flex-grow order-1 <%= current_user_message ? 'justify-end items-end pr-8' : 'justify-start items-start pl-8' %> <%= 'mb-3' unless next_message_in_series %>">
112
+ <div class="flex grow order-1 <%= current_user_message ? 'justify-end items-end pr-8' : 'justify-start items-start pl-8' %> <%= 'mb-3' unless next_message_in_series %>">
113
113
  <div class="<%= show_as_thread ? 'text-base-400' : 'text-base-300' %> text-sm">
114
114
  <strong><%= message.author.name %></strong>
115
115
  <%= timestamp %>
@@ -1,3 +1,3 @@
1
- <div class="flex-grow flex <%= side == :left ? 'justify-start' : 'justify-end order-2' %>">
1
+ <div class="grow flex <%= side == :left ? 'justify-start' : 'justify-end order-2' %>">
2
2
  <div class=" border-solid border-base-300 <%= border_classes %> text-white <%= side == :left ? 'ml-12 mr-0' : 'ml-0 mr-12' %> w-6"></div>
3
3
  </div>
@@ -13,7 +13,7 @@
13
13
  <%= render "account/shared/menu/mobile" %>
14
14
 
15
15
  <% if BulletTrain::Themes::Light.navigation == :left %>
16
- <div class="hidden lg:flex lg:flex-shrink-0 bg-gradient-to-b from-primary-700 to-primary-800 dark:from-base-800 dark:to-base-800 md:rounded-l-lg">
16
+ <div class="hidden lg:flex lg:shrink-0 bg-gradient-to-b from-primary-700 to-primary-800 dark:from-base-800 dark:to-base-800 md:rounded-l-lg">
17
17
  <div class="w-64">
18
18
  <%= render "account/shared/menu/sidebar" %>
19
19
  </div>
@@ -1,7 +1,7 @@
1
1
  <% method ||= nil %>
2
2
  <% active ||= request.path == url %>
3
3
 
4
- <%= send (method ? :button_to : :link_to), url, class: "block group/item hover:text-white hover:no-underline #{'bg-primary-900 dark:bg-black dark:bg-opacity-10' if active} text-white #{@menu_orientation == :top ? "px-5 py-5" : "px-3 py-2 rounded-md"} #{"rounded-tl-lg" unless @not_first || BulletTrain::Themes::Light.show_logo_in_account} dark:text-white", data: {"desktop-menu-target": "menuItemLink"}, tabIndex: 0, method: method do %>
4
+ <%= send (method ? :button_to : :link_to), url, class: "block group/item hover:text-white hover:no-underline #{'bg-primary-900 dark:bg-black/10' if active} text-white #{@menu_orientation == :top ? "px-5 py-5" : "px-3 py-2 rounded-md"} #{"rounded-tl-lg" unless @not_first || BulletTrain::Themes::Light.show_logo_in_account} dark:text-white", data: {"desktop-menu-target": "menuItemLink"}, tabIndex: 0, method: method do %>
5
5
  <div class="inline-block <%= "transition group-hover/item:translate-x-3 duration-200" if @menu_orientation == :side %> flex items-center">
6
6
  <!-- Heroicon name: home -->
7
7
  <% if partial.icon? %>
@@ -1,5 +1,5 @@
1
1
  <% if BulletTrain::Themes::Light.show_logo_in_account %>
2
- <div class="flex items-center flex-shrink-0 p-4 bg-primary-900 md:rounded-tl-lg electron-draggable electron-title-bar dark:bg-black dark:bg-opacity-10">
2
+ <div class="flex items-center shrink-0 p-4 bg-primary-900 md:rounded-tl-lg electron-draggable electron-title-bar dark:bg-black/10">
3
3
  <%= image_tag image_path("logo/logo.png"), class: 'theme-logo h-5 w-auto mx-auto' %>
4
4
  <%= render "account/shared/menu/close" %>
5
5
  </div>
@@ -35,6 +35,6 @@
35
35
  >
36
36
  <%= render "account/shared/menu/sidebar", expand: true %>
37
37
  </div>
38
- <div class="flex-shrink-0 w-14" aria-hidden="true"></div>
38
+ <div class="shrink-0 w-14" aria-hidden="true"></div>
39
39
  </div>
40
40
  </div>
@@ -14,7 +14,7 @@
14
14
  <%= render 'account/shared/menu/heading' do %>
15
15
  <%= title %>
16
16
 
17
- <svg class="inline-block flex-shrink-0 h-3 w-3 <%= @menu_orientation == :top ? "rotate-90 -mt-0.5" : "" %>" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
17
+ <svg class="inline-block shrink-0 h-3 w-3 <%= @menu_orientation == :top ? "rotate-90 -mt-0.5" : "" %>" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
18
18
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
19
19
  </svg>
20
20
  <% end %>
@@ -1,5 +1,5 @@
1
- <div class="flex-shrink-0 flex px-5 <%= @menu_orientation == :top ? "py-3" : "py-4" %>">
2
- <div class="flex-shrink-0 w-full group block no-underline">
1
+ <div class="shrink-0 flex px-5 <%= @menu_orientation == :top ? "py-3" : "py-4" %>">
2
+ <div class="shrink-0 w-full group block no-underline">
3
3
  <div class="flex items-center">
4
4
  <div class="inline-block rounded-full border border-white p-1">
5
5
  <%= image_tag membership_profile_photo_url(current_membership), class: "#{@menu_orientation == :top ? "h-7 w-7" : "h-9 w-9"} rounded-full", alt: current_user.name %>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="min-h-screen flex flex-col justify-center sm:py-12">
4
4
  <div class="mx-auto w-full <%= width %> p-1.5">
5
- <div class="sm:bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg sm:dark:bg-base-700 dark:bg-opacity-80">
5
+ <div class="sm:bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg sm:dark:bg-base-700">
6
6
  <div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
7
7
  <a href="<%= main_app.root_path %>" class="block py-3">
8
8
  <img alt="" src="<%= image_path("logo/logo.png") %>" width="<%= image_width_for_height("logo/logo.png", BulletTrain::Themes.logo_height) %>" height="<%= BulletTrain::Themes.logo_height %>" class="theme-logo mx-auto" />
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.33.0"
4
+ VERSION = "1.34.0"
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-light
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver