activeadmin 4.0.0.beta20 → 4.0.0.beta21

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: 15f9525d6a02bc6ebaef19b65cd6a455ac13349659993bbc7bd4ca2b078015a9
4
- data.tar.gz: 405bc3808117da8f1111eb80fc0b67fed6d7f251b0e1fae0bf45731c69f87638
3
+ metadata.gz: 2ebf350f462941c42e619393d90d4a302b49f1536d3dd53a2fb5a8047a21a66a
4
+ data.tar.gz: bf556f211740563b2626f9eb8b24a2d7dde9f76f31abf1bdd22740845111bf08
5
5
  SHA512:
6
- metadata.gz: 769deda0cc56d1fdf0d4d50d8a8fb29952eb23c04fd7539f17cbf7538b8b22e2e5f6fd701fcbf82a341cc941d7ffc0c646a05878bebd462058fd7a16161ab2b8
7
- data.tar.gz: db187d391063e6628600d0eb26cb7f9e6d0ae42c08ee2340655905eeee02485ba7aa1afb2e99f532435544a1afa3ed85cc974425ff09c55be60e7921db970d55
6
+ metadata.gz: 78b2f3a7a1fdc6f4afe636955d4dac033d78f0733ccbc26e367458000025366f70cf720bafa5cc8c68cff834a897608908afb9592d63c17b48ed73006ac286bf
7
+ data.tar.gz: 22309da1320f3b56619d99f21cee368554a6145369ab9f9f26196d70214b2fb98bc9e0665f0156a39a96c8f8db6bbd386d75b9cbaae9604ee053563563f02844
data/UPGRADING.md CHANGED
@@ -7,14 +7,14 @@ ActiveAdmin v4 uses Tailwind CSS v4. It has **mobile web, dark mode and RTL supp
7
7
 
8
8
  These instructions assume the `cssbundling-rails` and `importmap-rails` gems are already installed and you have run their install commands in your app. If you haven't done so, please do before continuing.
9
9
 
10
- Update your `Gemfile` with `gem "activeadmin", "4.0.0.beta20"` and then run `gem install activeadmin --pre`.
10
+ Update your `Gemfile` with `gem "activeadmin", "4.0.0.beta21"` and then run `gem install activeadmin --pre`.
11
11
 
12
12
  Now, run `rails generate active_admin:assets` to replace the old assets with the new files.
13
13
 
14
14
  Then add the npm package and update the `build:css` script.
15
15
 
16
16
  ```
17
- yarn add @activeadmin/activeadmin@4.0.0-beta20
17
+ yarn add @activeadmin/activeadmin@4.0.0-beta21
18
18
  npm pkg set scripts.build:css="npx @tailwindcss/cli -i ./app/assets/stylesheets/active_admin.css -o ./app/assets/builds/active_admin.css --minify"
19
19
  ```
20
20
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveAdmin
3
- VERSION = "4.0.0.beta20"
3
+ VERSION = "4.0.0.beta21"
4
4
  end
data/plugin.js CHANGED
@@ -194,6 +194,11 @@ export default plugin(
194
194
  [['[type=datetime-local]', '[type=month]', '[type=week]', '[type=search]', '[type=date]', '[type=email]', '[type=number]', '[type=password]', '[type=tel]', '[type=text]', '[type=time]', '[type=url]', 'select', 'textarea']]: {
195
195
  '@apply bg-gray-50 border border-gray-300 text-gray-900 placeholder:text-gray-400 rounded-md focus:ring-blue-500 focus:border-blue-500 w-full dark:bg-white/5 dark:border-white/10 dark:text-white dark:placeholder:text-gray-500 dark:focus:ring-blue-500 dark:focus:border-blue-500': {}
196
196
  },
197
+ [':where(select:not([multiple]))']: {
198
+ 'option, optgroup': {
199
+ '@apply dark:bg-gray-800': {}
200
+ }
201
+ },
197
202
  'a': {
198
203
  '@apply text-blue-600 dark:text-blue-500 underline underline-offset-[.2rem]': {}
199
204
  },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta20
4
+ version: 4.0.0.beta21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Maresh