activeadmin 4.0.0.beta15 → 4.0.0.beta17
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 +4 -4
 - data/README.md +1 -1
 - data/UPGRADING.md +14 -5
 - data/app/controllers/active_admin/resource_controller/data_access.rb +1 -1
 - data/app/controllers/active_admin/resource_controller/streaming.rb +3 -3
 - data/app/helpers/active_admin/form_helper.rb +1 -1
 - data/app/views/active_admin/_flash_messages.html.erb +4 -4
 - data/app/views/active_admin/_site_header.html.erb +4 -4
 - data/app/views/active_admin/devise/confirmations/new.html.erb +1 -1
 - data/app/views/active_admin/devise/passwords/edit.html.erb +1 -1
 - data/app/views/active_admin/devise/passwords/new.html.erb +1 -1
 - data/app/views/active_admin/devise/registrations/new.html.erb +1 -1
 - data/app/views/active_admin/devise/sessions/new.html.erb +1 -1
 - data/app/views/active_admin/devise/unlocks/new.html.erb +1 -1
 - data/app/views/active_admin/kaminari/_gap.html.erb +1 -1
 - data/app/views/active_admin/page/index.html.arb +1 -2
 - data/app/views/active_admin/resource/_form.html.arb +0 -1
 - data/app/views/active_admin/resource/_form_default.html.arb +0 -1
 - data/app/views/active_admin/resource/_index_as_table_default.html.arb +0 -1
 - data/app/views/active_admin/resource/_show_default.html.arb +0 -1
 - data/app/views/active_admin/resource/edit.html.arb +0 -1
 - data/app/views/active_admin/resource/index.html.arb +0 -1
 - data/app/views/active_admin/resource/new.html.arb +0 -1
 - data/app/views/active_admin/resource/show.html.arb +0 -1
 - data/app/views/active_admin/shared/_resource_comments.html.erb +1 -1
 - data/app/views/active_admin/shared/_sidebar_section.html.arb +0 -1
 - data/app/views/layouts/active_admin.html.erb +1 -1
 - data/config/importmap.rb +2 -2
 - data/config/locales/ar.yml +135 -133
 - data/config/locales/az.yml +103 -102
 - data/config/locales/bg.yml +91 -90
 - data/config/locales/bs.yml +95 -94
 - data/config/locales/ca.yml +129 -128
 - data/config/locales/cs.yml +82 -81
 - data/config/locales/da.yml +102 -101
 - data/config/locales/de.yml +130 -129
 - data/config/locales/el.yml +94 -93
 - data/config/locales/en-CA.yml +104 -103
 - data/config/locales/en-GB.yml +104 -103
 - data/config/locales/en.yml +134 -132
 - data/config/locales/eo.yml +107 -106
 - data/config/locales/es-MX.yml +70 -69
 - data/config/locales/es.yml +129 -128
 - data/config/locales/fa.yml +91 -90
 - data/config/locales/fi.yml +84 -83
 - data/config/locales/fr.yml +135 -124
 - data/config/locales/he.yml +103 -102
 - data/config/locales/hr.yml +95 -94
 - data/config/locales/hu.yml +76 -75
 - data/config/locales/id.yml +97 -96
 - data/config/locales/it.yml +134 -132
 - data/config/locales/ja.yml +109 -108
 - data/config/locales/ko.yml +134 -132
 - data/config/locales/lt.yml +106 -105
 - data/config/locales/lv.yml +70 -69
 - data/config/locales/mk.yml +100 -99
 - data/config/locales/nb.yml +98 -97
 - data/config/locales/nl.yml +113 -112
 - data/config/locales/pl.yml +137 -136
 - data/config/locales/pt-BR.yml +134 -105
 - data/config/locales/pt-PT.yml +71 -70
 - data/config/locales/ro.yml +74 -73
 - data/config/locales/ru.yml +141 -140
 - data/config/locales/sk.yml +131 -130
 - data/config/locales/sv-SE.yml +126 -125
 - data/config/locales/tr.yml +105 -104
 - data/config/locales/uk.yml +140 -103
 - data/config/locales/vi.yml +125 -124
 - data/config/locales/zh-CN.yml +135 -133
 - data/config/locales/zh-TW.yml +135 -133
 - data/lib/active_admin/application.rb +2 -2
 - data/lib/active_admin/batch_actions/resource_extension.rb +1 -1
 - data/lib/active_admin/csv_builder.rb +1 -1
 - data/lib/active_admin/dsl.rb +1 -1
 - data/lib/active_admin/filters/active.rb +1 -1
 - data/lib/active_admin/filters/active_filter.rb +1 -7
 - data/lib/active_admin/filters/forms.rb +0 -3
 - data/lib/active_admin/filters/resource_extension.rb +1 -1
 - data/lib/active_admin/form_builder.rb +0 -4
 - data/lib/active_admin/helpers/optional_display.rb +1 -1
 - data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
 - data/lib/active_admin/inputs/filters/select_input.rb +1 -3
 - data/lib/active_admin/resource/action_items.rb +2 -2
 - data/lib/active_admin/resource/belongs_to.rb +0 -1
 - data/lib/active_admin/resource/naming.rb +1 -1
 - data/lib/active_admin/resource.rb +1 -1
 - data/lib/active_admin/resource_collection.rb +1 -1
 - data/lib/active_admin/resource_dsl.rb +2 -2
 - data/lib/active_admin/version.rb +1 -1
 - data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -1
 - data/lib/active_admin/views/components/attributes_table.rb +8 -3
 - data/lib/active_admin/views/components/table_for.rb +1 -1
 - data/lib/active_admin/views/index_as_table.rb +7 -2
 - data/plugin.js +46 -181
 - data/vendor/javascript/flowbite.js +1 -1
 - metadata +8 -12
 - data/lib/active_admin/views/components/tabs.rb +0 -40
 
    
        data/plugin.js
    CHANGED
    
    | 
         @@ -47,15 +47,8 @@ export default plugin( 
     | 
|
| 
       47 
47 
     | 
    
         
             
                    'textarea',
         
     | 
| 
       48 
48 
     | 
    
         
             
                    'select',
         
     | 
| 
       49 
49 
     | 
    
         
             
                  ]]: {
         
     | 
| 
       50 
     | 
    
         
            -
                    appearance: 'none',
         
     | 
| 
       51 
     | 
    
         
            -
                    ' 
     | 
| 
       52 
     | 
    
         
            -
                    'border-color': theme('colors.gray.500', colors.gray[500]),
         
     | 
| 
       53 
     | 
    
         
            -
                    'border-width': borderWidth['DEFAULT'],
         
     | 
| 
       54 
     | 
    
         
            -
                    'border-radius': borderRadius.none,
         
     | 
| 
       55 
     | 
    
         
            -
                    'padding-top': spacing[2],
         
     | 
| 
       56 
     | 
    
         
            -
                    'padding-right': spacing[3],
         
     | 
| 
       57 
     | 
    
         
            -
                    'padding-bottom': spacing[2],
         
     | 
| 
       58 
     | 
    
         
            -
                    'padding-left': spacing[3],
         
     | 
| 
      
 50 
     | 
    
         
            +
                    'appearance': 'none',
         
     | 
| 
      
 51 
     | 
    
         
            +
                    'padding': `${spacing[2]} ${spacing[3]}`,
         
     | 
| 
       59 
52 
     | 
    
         
             
                    '--tw-shadow': '0 0 #0000',
         
     | 
| 
       60 
53 
     | 
    
         
             
                    '&:focus': {
         
     | 
| 
       61 
54 
     | 
    
         
             
                      outline: '2px solid transparent',
         
     | 
| 
         @@ -73,10 +66,6 @@ export default plugin( 
     | 
|
| 
       73 
66 
     | 
    
         
             
                      'border-color': theme('colors.blue.600', colors.blue[600]),
         
     | 
| 
       74 
67 
     | 
    
         
             
                    },
         
     | 
| 
       75 
68 
     | 
    
         
             
                  },
         
     | 
| 
       76 
     | 
    
         
            -
                  [['input::placeholder', 'textarea::placeholder']]: {
         
     | 
| 
       77 
     | 
    
         
            -
                    color: theme('colors.gray.500', colors.gray[500]),
         
     | 
| 
       78 
     | 
    
         
            -
                    opacity: '1',
         
     | 
| 
       79 
     | 
    
         
            -
                  },
         
     | 
| 
       80 
69 
     | 
    
         
             
                  ['::-webkit-datetime-edit']: {
         
     | 
| 
       81 
70 
     | 
    
         
             
                    display: 'inline-flex',
         
     | 
| 
       82 
71 
     | 
    
         
             
                  },
         
     | 
| 
         @@ -123,27 +112,15 @@ export default plugin( 
     | 
|
| 
       123 
112 
     | 
    
         
             
                  },
         
     | 
| 
       124 
113 
     | 
    
         
             
                  [[`[type='checkbox']`, `[type='radio']`]]: {
         
     | 
| 
       125 
114 
     | 
    
         
             
                    appearance: 'none',
         
     | 
| 
       126 
     | 
    
         
            -
                    padding: '0',
         
     | 
| 
       127 
     | 
    
         
            -
                    'print-color-adjust': 'exact',
         
     | 
| 
       128 
     | 
    
         
            -
                    display: 'inline-block',
         
     | 
| 
       129 
     | 
    
         
            -
                    'vertical-align': 'middle',
         
     | 
| 
       130 
115 
     | 
    
         
             
                    'background-origin': 'border-box',
         
     | 
| 
       131 
     | 
    
         
            -
                    'user-select': 'none',
         
     | 
| 
       132 
     | 
    
         
            -
                    'flex-shrink': '0',
         
     | 
| 
       133 
     | 
    
         
            -
                    height: spacing[4],
         
     | 
| 
       134 
     | 
    
         
            -
                    width: spacing[4],
         
     | 
| 
       135 
116 
     | 
    
         
             
                    color: theme('colors.blue.600', colors.blue[600]),
         
     | 
| 
       136 
     | 
    
         
            -
                     
     | 
| 
       137 
     | 
    
         
            -
                    ' 
     | 
| 
       138 
     | 
    
         
            -
                    ' 
     | 
| 
      
 117 
     | 
    
         
            +
                    display: 'inline-block',
         
     | 
| 
      
 118 
     | 
    
         
            +
                    'flex-shrink': '0',
         
     | 
| 
      
 119 
     | 
    
         
            +
                    'print-color-adjust': 'exact',
         
     | 
| 
      
 120 
     | 
    
         
            +
                    'user-select': 'none',
         
     | 
| 
      
 121 
     | 
    
         
            +
                    'vertical-align': 'middle',
         
     | 
| 
       139 
122 
     | 
    
         
             
                    '--tw-shadow': '0 0 #0000',
         
     | 
| 
       140 
123 
     | 
    
         
             
                  },
         
     | 
| 
       141 
     | 
    
         
            -
                  [`[type='checkbox']`]: {
         
     | 
| 
       142 
     | 
    
         
            -
                    'border-radius': borderRadius['none'],
         
     | 
| 
       143 
     | 
    
         
            -
                  },
         
     | 
| 
       144 
     | 
    
         
            -
                  [`[type='radio']`]: {
         
     | 
| 
       145 
     | 
    
         
            -
                    'border-radius': '100%',
         
     | 
| 
       146 
     | 
    
         
            -
                  },
         
     | 
| 
       147 
124 
     | 
    
         
             
                  [[`[type='checkbox']:focus`, `[type='radio']:focus`]]: {
         
     | 
| 
       148 
125 
     | 
    
         
             
                    outline: '2px solid transparent',
         
     | 
| 
       149 
126 
     | 
    
         
             
                    'outline-offset': '2px',
         
     | 
| 
         @@ -157,171 +134,68 @@ export default plugin( 
     | 
|
| 
       157 
134 
     | 
    
         
             
                  },
         
     | 
| 
       158 
135 
     | 
    
         
             
                  [[
         
     | 
| 
       159 
136 
     | 
    
         
             
                    `[type='checkbox']:checked`,
         
     | 
| 
      
 137 
     | 
    
         
            +
                    `[type='checkbox']:indeterminate`,
         
     | 
| 
       160 
138 
     | 
    
         
             
                    `[type='radio']:checked`,
         
     | 
| 
       161 
     | 
    
         
            -
                    `.dark [type='checkbox']:checked`,
         
     | 
| 
       162 
     | 
    
         
            -
                    `.dark [type='checkbox']:indeterminate`,
         
     | 
| 
       163 
     | 
    
         
            -
                    `.dark [type='radio']:checked`,
         
     | 
| 
       164 
139 
     | 
    
         
             
                  ]]: {
         
     | 
| 
       165 
     | 
    
         
            -
                    'border-color': `transparent`,
         
     | 
| 
       166 
140 
     | 
    
         
             
                    'background-color': `currentColor`,
         
     | 
| 
       167 
     | 
    
         
            -
                    'background-size': `0.65rem 0.65rem`,
         
     | 
| 
       168 
141 
     | 
    
         
             
                    'background-position': `center`,
         
     | 
| 
       169 
142 
     | 
    
         
             
                    'background-repeat': `no-repeat`,
         
     | 
| 
      
 143 
     | 
    
         
            +
                    'background-size': `100% 100%`,
         
     | 
| 
      
 144 
     | 
    
         
            +
                    'border-color': `transparent`,
         
     | 
| 
       170 
145 
     | 
    
         
             
                  },
         
     | 
| 
       171 
146 
     | 
    
         
             
                  [`[type='checkbox']:checked`]: {
         
     | 
| 
       172 
147 
     | 
    
         
             
                    'background-image': `url("${svgToTinyDataUri(
         
     | 
| 
       173 
     | 
    
         
            -
                      `<svg  
     | 
| 
       174 
     | 
    
         
            -
                        <path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width=" 
     | 
| 
      
 148 
     | 
    
         
            +
                      `<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
         
     | 
| 
      
 149 
     | 
    
         
            +
                        <path d="M4 8 L7 11 L12 5" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" />
         
     | 
| 
       175 
150 
     | 
    
         
             
                      </svg>`
         
     | 
| 
       176 
151 
     | 
    
         
             
                    )}")`,
         
     | 
| 
       177 
     | 
    
         
            -
                    'background-repeat': `no-repeat`,
         
     | 
| 
       178 
     | 
    
         
            -
                    'background-size': `0.65rem 0.65rem`,
         
     | 
| 
       179 
152 
     | 
    
         
             
                    'print-color-adjust': `exact`,
         
     | 
| 
       180 
153 
     | 
    
         
             
                  },
         
     | 
| 
       181 
154 
     | 
    
         
             
                  [`[type='radio']:checked`]: {
         
     | 
| 
       182 
155 
     | 
    
         
             
                    'background-image': `url("${svgToTinyDataUri(
         
     | 
| 
       183 
156 
     | 
    
         
             
                      `<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>`
         
     | 
| 
       184 
157 
     | 
    
         
             
                    )}")`,
         
     | 
| 
       185 
     | 
    
         
            -
                    'background-size': `1rem 1rem`,
         
     | 
| 
       186 
     | 
    
         
            -
                  },
         
     | 
| 
       187 
     | 
    
         
            -
                  [`.dark [type='radio']:checked`]: {
         
     | 
| 
       188 
     | 
    
         
            -
                    'background-image': `url("${svgToTinyDataUri(
         
     | 
| 
       189 
     | 
    
         
            -
                      `<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>`
         
     | 
| 
       190 
     | 
    
         
            -
                    )}")`,
         
     | 
| 
       191 
     | 
    
         
            -
                    'background-size': `1rem 1rem`,
         
     | 
| 
       192 
158 
     | 
    
         
             
                  },
         
     | 
| 
       193 
159 
     | 
    
         
             
                  [`[type='checkbox']:indeterminate`]: {
         
     | 
| 
       194 
160 
     | 
    
         
             
                    'background-image': `url("${svgToTinyDataUri(
         
     | 
| 
       195 
     | 
    
         
            -
                      `<svg  
     | 
| 
      
 161 
     | 
    
         
            +
                      `<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
         
     | 
| 
      
 162 
     | 
    
         
            +
                        <path d="M4 8 L12 8" stroke="white" stroke-linecap="round" stroke-width="2.5" />
         
     | 
| 
      
 163 
     | 
    
         
            +
                      </svg>`
         
     | 
| 
       196 
164 
     | 
    
         
             
                    )}")`,
         
     | 
| 
       197 
     | 
    
         
            -
                    'background-color': `currentColor`,
         
     | 
| 
       198 
     | 
    
         
            -
                    'border-color': `transparent`,
         
     | 
| 
       199 
     | 
    
         
            -
                    'background-position': `center`,
         
     | 
| 
       200 
     | 
    
         
            -
                    'background-repeat': `no-repeat`,
         
     | 
| 
       201 
     | 
    
         
            -
                    'background-size': `.65rem .65rem`,
         
     | 
| 
       202 
165 
     | 
    
         
             
                    'print-color-adjust': `exact`,
         
     | 
| 
       203 
166 
     | 
    
         
             
                  },
         
     | 
| 
       204 
     | 
    
         
            -
                  [[
         
     | 
| 
       205 
     | 
    
         
            -
                    `[type='checkbox']:indeterminate:hover`,
         
     | 
| 
       206 
     | 
    
         
            -
                    `[type='checkbox']:indeterminate:focus`,
         
     | 
| 
       207 
     | 
    
         
            -
                  ]]: {
         
     | 
| 
       208 
     | 
    
         
            -
                    'border-color': 'transparent',
         
     | 
| 
       209 
     | 
    
         
            -
                    'background-color': 'currentColor',
         
     | 
| 
       210 
     | 
    
         
            -
                  },
         
     | 
| 
       211 
167 
     | 
    
         
             
                  [`[type='file']`]: {
         
     | 
| 
       212 
     | 
    
         
            -
                    background: 'unset',
         
     | 
| 
       213 
     | 
    
         
            -
                    'border-color': 'inherit',
         
     | 
| 
       214 
     | 
    
         
            -
                    'border-width': '0',
         
     | 
| 
       215 
     | 
    
         
            -
                    'border-radius': '0',
         
     | 
| 
       216 
     | 
    
         
            -
                    padding: '0',
         
     | 
| 
       217 
     | 
    
         
            -
                    'font-size': 'unset',
         
     | 
| 
       218 
     | 
    
         
            -
                    'line-height': 'inherit',
         
     | 
| 
       219 
     | 
    
         
            -
                  },
         
     | 
| 
       220 
     | 
    
         
            -
                  [`[type='file']:focus`]: {
         
     | 
| 
       221 
     | 
    
         
            -
                    outline: `1px auto inherit`,
         
     | 
| 
       222 
     | 
    
         
            -
                  },
         
     | 
| 
       223 
     | 
    
         
            -
                  [[`input[type=file]::file-selector-button`]]: {
         
     | 
| 
       224 
     | 
    
         
            -
                    color: 'white',
         
     | 
| 
       225 
     | 
    
         
            -
                    background: theme('colors.gray.800', colors.gray[800]),
         
     | 
| 
       226 
     | 
    
         
            -
                    border: 0,
         
     | 
| 
       227 
     | 
    
         
            -
                    'font-weight': theme('fontWeight.medium'),
         
     | 
| 
       228 
     | 
    
         
            -
                    'font-size': theme('fontSize.sm'),
         
     | 
| 
       229 
168 
     | 
    
         
             
                    cursor: 'pointer',
         
     | 
| 
       230 
     | 
    
         
            -
                    'padding-top': spacing[2.5],
         
     | 
| 
       231 
     | 
    
         
            -
                    'padding-bottom': spacing[2.5],
         
     | 
| 
       232 
     | 
    
         
            -
                    'padding-inline-start': spacing[8],
         
     | 
| 
       233 
     | 
    
         
            -
                    'padding-inline-end': spacing[4],
         
     | 
| 
       234 
     | 
    
         
            -
                    'margin-inline-start': '-1rem',
         
     | 
| 
       235 
     | 
    
         
            -
                    'margin-inline-end': '1rem',
         
     | 
| 
       236 
     | 
    
         
            -
                    '&:hover': {
         
     | 
| 
       237 
     | 
    
         
            -
                      background: theme('colors.gray.700', colors.gray[700]),
         
     | 
| 
       238 
     | 
    
         
            -
                    },
         
     | 
| 
       239 
169 
     | 
    
         
             
                  },
         
     | 
| 
       240 
     | 
    
         
            -
                  [[ 
     | 
| 
       241 
     | 
    
         
            -
                    color: ' 
     | 
| 
       242 
     | 
    
         
            -
                     
     | 
| 
      
 170 
     | 
    
         
            +
                  [`[type=file]::file-selector-button`]: {
         
     | 
| 
      
 171 
     | 
    
         
            +
                    'background-color': theme('colors.gray.100', colors.gray[100]),
         
     | 
| 
      
 172 
     | 
    
         
            +
                    'border': `${borderWidth['DEFAULT']} solid ${theme('colors.gray.200', colors.gray[200])}`,
         
     | 
| 
      
 173 
     | 
    
         
            +
                    'border-radius': borderRadius['DEFAULT'],
         
     | 
| 
      
 174 
     | 
    
         
            +
                    cursor: 'pointer',
         
     | 
| 
      
 175 
     | 
    
         
            +
                    'padding': `${spacing[2]} ${spacing[3]}`,
         
     | 
| 
       243 
176 
     | 
    
         
             
                    '&:hover': {
         
     | 
| 
       244 
     | 
    
         
            -
                      background: theme('colors.gray. 
     | 
| 
      
 177 
     | 
    
         
            +
                      'background-color': theme('colors.gray.200', colors.gray[200]),
         
     | 
| 
       245 
178 
     | 
    
         
             
                    },
         
     | 
| 
       246 
179 
     | 
    
         
             
                  },
         
     | 
| 
       247 
     | 
    
         
            -
                  [[ 
     | 
| 
       248 
     | 
    
         
            -
                     
     | 
| 
       249 
     | 
    
         
            -
                    width: '8px',
         
     | 
| 
       250 
     | 
    
         
            -
                    height: '8px',
         
     | 
| 
       251 
     | 
    
         
            -
                    background: 'inherit',
         
     | 
| 
       252 
     | 
    
         
            -
                  },
         
     | 
| 
       253 
     | 
    
         
            -
                  ['.tooltip-arrow']: {
         
     | 
| 
       254 
     | 
    
         
            -
                    visibility: 'hidden',
         
     | 
| 
       255 
     | 
    
         
            -
                  },
         
     | 
| 
       256 
     | 
    
         
            -
                  ['.tooltip-arrow:before']: {
         
     | 
| 
       257 
     | 
    
         
            -
                    content: '""',
         
     | 
| 
       258 
     | 
    
         
            -
                    visibility: 'visible',
         
     | 
| 
       259 
     | 
    
         
            -
                    transform: 'rotate(45deg)',
         
     | 
| 
       260 
     | 
    
         
            -
                  },
         
     | 
| 
       261 
     | 
    
         
            -
                  [`.tooltip[data-popper-placement^='top'] > .tooltip-arrow`]: {
         
     | 
| 
       262 
     | 
    
         
            -
                    bottom: '-4px',
         
     | 
| 
       263 
     | 
    
         
            -
                  },
         
     | 
| 
       264 
     | 
    
         
            -
                  [`.tooltip[data-popper-placement^='bottom'] > .tooltip-arrow`]: {
         
     | 
| 
       265 
     | 
    
         
            -
                    top: '-4px',
         
     | 
| 
       266 
     | 
    
         
            -
                  },
         
     | 
| 
       267 
     | 
    
         
            -
                  [`.tooltip[data-popper-placement^='left'] > .tooltip-arrow`]: {
         
     | 
| 
       268 
     | 
    
         
            -
                    right: '-4px',
         
     | 
| 
       269 
     | 
    
         
            -
                  },
         
     | 
| 
       270 
     | 
    
         
            -
                  [`.tooltip[data-popper-placement^='right'] > .tooltip-arrow`]: {
         
     | 
| 
       271 
     | 
    
         
            -
                    left: '-4px',
         
     | 
| 
       272 
     | 
    
         
            -
                  },
         
     | 
| 
       273 
     | 
    
         
            -
                  ['.tooltip.invisible > .tooltip-arrow:before']: {
         
     | 
| 
       274 
     | 
    
         
            -
                    visibility: 'hidden',
         
     | 
| 
       275 
     | 
    
         
            -
                  },
         
     | 
| 
       276 
     | 
    
         
            -
                  [['[data-popper-arrow]', '[data-popper-arrow]:before']]: {
         
     | 
| 
       277 
     | 
    
         
            -
                    position: 'absolute',
         
     | 
| 
       278 
     | 
    
         
            -
                    width: '8px',
         
     | 
| 
       279 
     | 
    
         
            -
                    height: '8px',
         
     | 
| 
       280 
     | 
    
         
            -
                    background: 'inherit',
         
     | 
| 
       281 
     | 
    
         
            -
                  },
         
     | 
| 
       282 
     | 
    
         
            -
                  ['[data-popper-arrow]']: {
         
     | 
| 
       283 
     | 
    
         
            -
                    visibility: 'hidden',
         
     | 
| 
       284 
     | 
    
         
            -
                  },
         
     | 
| 
       285 
     | 
    
         
            -
                  ['[data-popper-arrow]:before']: {
         
     | 
| 
       286 
     | 
    
         
            -
                    content: '""',
         
     | 
| 
       287 
     | 
    
         
            -
                    visibility: 'visible',
         
     | 
| 
       288 
     | 
    
         
            -
                    transform: 'rotate(45deg)',
         
     | 
| 
       289 
     | 
    
         
            -
                  },
         
     | 
| 
       290 
     | 
    
         
            -
                  [`[data-popover][role="tooltip"][data-popper-placement^='top'] > [data-popper-arrow]`]:
         
     | 
| 
       291 
     | 
    
         
            -
                  {
         
     | 
| 
       292 
     | 
    
         
            -
                    bottom: '-5px',
         
     | 
| 
       293 
     | 
    
         
            -
                  },
         
     | 
| 
       294 
     | 
    
         
            -
                  [`[data-popover][role="tooltip"][data-popper-placement^='bottom'] > [data-popper-arrow]`]:
         
     | 
| 
       295 
     | 
    
         
            -
                  {
         
     | 
| 
       296 
     | 
    
         
            -
                    top: '-5px',
         
     | 
| 
       297 
     | 
    
         
            -
                  },
         
     | 
| 
       298 
     | 
    
         
            -
                  [`[data-popover][role="tooltip"][data-popper-placement^='left'] > [data-popper-arrow]`]:
         
     | 
| 
       299 
     | 
    
         
            -
                  {
         
     | 
| 
       300 
     | 
    
         
            -
                    right: '-5px',
         
     | 
| 
       301 
     | 
    
         
            -
                  },
         
     | 
| 
       302 
     | 
    
         
            -
                  [`[data-popover][role="tooltip"][data-popper-placement^='right'] > [data-popper-arrow]`]:
         
     | 
| 
       303 
     | 
    
         
            -
                  {
         
     | 
| 
       304 
     | 
    
         
            -
                    left: '-5px',
         
     | 
| 
       305 
     | 
    
         
            -
                  },
         
     | 
| 
       306 
     | 
    
         
            -
                  ['[role="tooltip"].invisible > [data-popper-arrow]:before']: {
         
     | 
| 
       307 
     | 
    
         
            -
                    visibility: 'hidden',
         
     | 
| 
      
 180 
     | 
    
         
            +
                  [`.dark [type=file]::file-selector-button`]: {
         
     | 
| 
      
 181 
     | 
    
         
            +
                    '@apply bg-white/5 border-white/5 text-white hover:bg-white/10': {}
         
     | 
| 
       308 
182 
     | 
    
         
             
                  },
         
     | 
| 
       309 
183 
     | 
    
         
             
                  '[type=checkbox]': {
         
     | 
| 
       310 
     | 
    
         
            -
                    '@apply w-4 h-4  
     | 
| 
      
 184 
     | 
    
         
            +
                    '@apply w-4 h-4 bg-gray-100 border border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-white/5 dark:border-white/10': {}
         
     | 
| 
       311 
185 
     | 
    
         
             
                  },
         
     | 
| 
       312 
186 
     | 
    
         
             
                  '[type=radio]': {
         
     | 
| 
       313 
     | 
    
         
            -
                    '@apply w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg- 
     | 
| 
      
 187 
     | 
    
         
            +
                    '@apply w-4 h-4 bg-gray-100 border border-gray-300 rounded-full focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-white/5 dark:border-white/10': {}
         
     | 
| 
       314 
188 
     | 
    
         
             
                  },
         
     | 
| 
       315 
189 
     | 
    
         
             
                  [['[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']]: {
         
     | 
| 
       316 
     | 
    
         
            -
                    '@apply bg-gray-50 border border-gray-300 text-gray-900 rounded-md focus:ring-blue-500 focus:border-blue-500 w-full dark:bg- 
     | 
| 
      
 190 
     | 
    
         
            +
                    '@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': {}
         
     | 
| 
       317 
191 
     | 
    
         
             
                  },
         
     | 
| 
       318 
192 
     | 
    
         
             
                  'a': {
         
     | 
| 
       319 
     | 
    
         
            -
                    '@apply text-blue-600 underline underline-offset-[.2rem]': {}
         
     | 
| 
      
 193 
     | 
    
         
            +
                    '@apply text-blue-600 dark:text-blue-500 underline underline-offset-[.2rem]': {}
         
     | 
| 
       320 
194 
     | 
    
         
             
                  },
         
     | 
| 
       321 
195 
     | 
    
         
             
                });
         
     | 
| 
       322 
196 
     | 
    
         
             
                addComponents({
         
     | 
| 
       323 
197 
     | 
    
         
             
                  '.action-item-button': {
         
     | 
| 
       324 
     | 
    
         
            -
                    '@apply py-2 px-3 text-sm font-medium no-underline text-gray-900 focus:outline-none bg-white rounded-md border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray- 
     | 
| 
      
 198 
     | 
    
         
            +
                    '@apply py-2 px-3 text-sm font-medium no-underline text-gray-900 focus:outline-none bg-white rounded-md border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700 dark:hover:text-white dark:hover:bg-gray-700': {}
         
     | 
| 
       325 
199 
     | 
    
         
             
                  },
         
     | 
| 
       326 
200 
     | 
    
         
             
                  '.index-data-table-toolbar': {
         
     | 
| 
       327 
201 
     | 
    
         
             
                    '@apply flex flex-col lg:flex-row gap-4 mb-4': {}
         
     | 
| 
         @@ -343,7 +217,7 @@ export default plugin( 
     | 
|
| 
       343 
217 
     | 
    
         
             
                    '@apply bg-gray-100 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-800': {}
         
     | 
| 
       344 
218 
     | 
    
         
             
                  },
         
     | 
| 
       345 
219 
     | 
    
         
             
                  '.scopes-count': {
         
     | 
| 
       346 
     | 
    
         
            -
                    '@apply inline-flex items-center justify-center rounded-full bg-indigo- 
     | 
| 
      
 220 
     | 
    
         
            +
                    '@apply inline-flex items-center justify-center rounded-full bg-indigo-100 text-indigo-700 dark:bg-indigo-800/60 dark:text-indigo-400 px-1.5 py-1 text-xs font-normal ms-2 leading-none': {}
         
     | 
| 
       347 
221 
     | 
    
         
             
                  },
         
     | 
| 
       348 
222 
     | 
    
         
             
                  '.paginated-collection': {
         
     | 
| 
       349 
223 
     | 
    
         
             
                    '@apply border border-gray-200 dark:border-gray-800 rounded-md shadow-sm overflow-hidden': {}
         
     | 
| 
         @@ -352,7 +226,7 @@ export default plugin( 
     | 
|
| 
       352 
226 
     | 
    
         
             
                    '@apply overflow-x-auto': {}
         
     | 
| 
       353 
227 
     | 
    
         
             
                  },
         
     | 
| 
       354 
228 
     | 
    
         
             
                  '.paginated-collection-pagination': {
         
     | 
| 
       355 
     | 
    
         
            -
                    '@apply p-2 lg:p-3 flex flex-col-reverse lg:flex-row gap-4 items-center justify-between': {}
         
     | 
| 
      
 229 
     | 
    
         
            +
                    '@apply p-2 lg:p-3 flex flex-col-reverse lg:flex-row gap-4 items-center justify-between border-t border-gray-200 dark:border-gray-800': {}
         
     | 
| 
       356 
230 
     | 
    
         
             
                  },
         
     | 
| 
       357 
231 
     | 
    
         
             
                  '.paginated-collection-footer': {
         
     | 
| 
       358 
232 
     | 
    
         
             
                    '@apply p-3 flex gap-2 items-center justify-between text-sm border-t border-gray-200 dark:border-gray-800': {}
         
     | 
| 
         @@ -382,7 +256,7 @@ export default plugin( 
     | 
|
| 
       382 
256 
     | 
    
         
             
                    '@apply rotate-180': {}
         
     | 
| 
       383 
257 
     | 
    
         
             
                  },
         
     | 
| 
       384 
258 
     | 
    
         
             
                  '.data-table :where(tbody > tr)': {
         
     | 
| 
       385 
     | 
    
         
            -
                    '@apply border-b dark:border-gray-800': {}
         
     | 
| 
      
 259 
     | 
    
         
            +
                    '@apply border-b dark:border-gray-800 last:border-b-0': {}
         
     | 
| 
       386 
260 
     | 
    
         
             
                  },
         
     | 
| 
       387 
261 
     | 
    
         
             
                  '.data-table :where(td)': {
         
     | 
| 
       388 
262 
     | 
    
         
             
                    '@apply px-3 py-4': {}
         
     | 
| 
         @@ -427,22 +301,22 @@ export default plugin( 
     | 
|
| 
       427 
301 
     | 
    
         
             
                    '@apply relative': {}
         
     | 
| 
       428 
302 
     | 
    
         
             
                  },
         
     | 
| 
       429 
303 
     | 
    
         
             
                  '.batch-actions-dropdown-toggle': {
         
     | 
| 
       430 
     | 
    
         
            -
                    '@apply transition-opacity rounded-md inline-flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray- 
     | 
| 
      
 304 
     | 
    
         
            +
                    '@apply transition-opacity rounded-md inline-flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white disabled:text-gray-400 disabled:border-gray-200/70 dark:disabled:bg-gray-900 dark:disabled:text-gray-700 dark:disabled:border-gray-800 disabled:pointer-events-none': {}
         
     | 
| 
       431 
305 
     | 
    
         
             
                  },
         
     | 
| 
       432 
306 
     | 
    
         
             
                  '.batch-actions-dropdown-arrow': {
         
     | 
| 
       433 
307 
     | 
    
         
             
                    '@apply w-2.5 h-2.5': {}
         
     | 
| 
       434 
308 
     | 
    
         
             
                  },
         
     | 
| 
       435 
309 
     | 
    
         
             
                  '.batch-actions-dropdown-menu': {
         
     | 
| 
       436 
     | 
    
         
            -
                    '@apply z-10 hidden min-w-[7rem] bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray- 
     | 
| 
      
 310 
     | 
    
         
            +
                    '@apply z-10 hidden min-w-[7rem] bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 py-1 text-sm text-gray-700 dark:text-gray-200': {}
         
     | 
| 
       437 
311 
     | 
    
         
             
                  },
         
     | 
| 
       438 
312 
     | 
    
         
             
                  '.batch-actions-dropdown-menu :where(li > a)': {
         
     | 
| 
       439 
     | 
    
         
            -
                    '@apply block px-2.5 py-2 no-underline text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-white dark:hover:bg-gray- 
     | 
| 
      
 313 
     | 
    
         
            +
                    '@apply block px-2.5 py-2 no-underline text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white': {}
         
     | 
| 
       440 
314 
     | 
    
         
             
                  },
         
     | 
| 
       441 
315 
     | 
    
         
             
                  '.panel': {
         
     | 
| 
       442 
316 
     | 
    
         
             
                    '@apply mb-6 border border-gray-200 rounded-md shadow-sm dark:border-gray-800': {}
         
     | 
| 
       443 
317 
     | 
    
         
             
                  },
         
     | 
| 
       444 
318 
     | 
    
         
             
                  '.panel-title': {
         
     | 
| 
       445 
     | 
    
         
            -
                    '@apply font-bold bg-gray-100 dark:bg-gray- 
     | 
| 
      
 319 
     | 
    
         
            +
                    '@apply font-bold bg-gray-100 dark:bg-gray-950/50 rounded-t-md p-3': {}
         
     | 
| 
       446 
320 
     | 
    
         
             
                  },
         
     | 
| 
       447 
321 
     | 
    
         
             
                  '.panel-body': {
         
     | 
| 
       448 
322 
     | 
    
         
             
                    '@apply py-5 px-3': {}
         
     | 
| 
         @@ -454,31 +328,22 @@ export default plugin( 
     | 
|
| 
       454 
328 
     | 
    
         
             
                    '@apply w-full text-sm text-gray-800 dark:text-gray-300': {}
         
     | 
| 
       455 
329 
     | 
    
         
             
                  },
         
     | 
| 
       456 
330 
     | 
    
         
             
                  '.attributes-table :where(tbody > tr)': {
         
     | 
| 
       457 
     | 
    
         
            -
                    '@apply border-b dark:border-gray-800': {}
         
     | 
| 
      
 331 
     | 
    
         
            +
                    '@apply border-b dark:border-gray-800 last:border-b-0 align-baseline': {}
         
     | 
| 
       458 
332 
     | 
    
         
             
                  },
         
     | 
| 
       459 
333 
     | 
    
         
             
                  '.attributes-table :where(tbody > tr > th)': {
         
     | 
| 
       460 
     | 
    
         
            -
                    '@apply w-32 sm:w-40 text-start text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray- 
     | 
| 
      
 334 
     | 
    
         
            +
                    '@apply w-32 sm:w-40 text-start text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-950/50 dark:text-gray-300': {}
         
     | 
| 
       461 
335 
     | 
    
         
             
                  },
         
     | 
| 
       462 
336 
     | 
    
         
             
                  '.attributes-table :where(tbody > tr > th, tbody > tr > td)': {
         
     | 
| 
       463 
337 
     | 
    
         
             
                    '@apply p-3': {}
         
     | 
| 
       464 
338 
     | 
    
         
             
                  },
         
     | 
| 
       465 
339 
     | 
    
         
             
                  '.attributes-table-empty-value': {
         
     | 
| 
       466 
     | 
    
         
            -
                    '@apply text-gray-400/50 dark:text-gray- 
     | 
| 
      
 340 
     | 
    
         
            +
                    '@apply text-gray-400/50 dark:text-gray-600/50 text-xs uppercase font-semibold': {}
         
     | 
| 
       467 
341 
     | 
    
         
             
                  },
         
     | 
| 
       468 
342 
     | 
    
         
             
                  '.status-tag': {
         
     | 
| 
       469 
     | 
    
         
            -
                    '@apply bg-gray-200 text-gray-600 dark:bg-gray- 
     | 
| 
      
 343 
     | 
    
         
            +
                    '@apply bg-gray-200 text-gray-600 dark:bg-gray-400/20 dark:text-gray-400 inline-flex items-center rounded-full text-sm font-medium px-2.5 py-0.5 whitespace-nowrap': {}
         
     | 
| 
       470 
344 
     | 
    
         
             
                  },
         
     | 
| 
       471 
345 
     | 
    
         
             
                  '.status-tag:where([data-status=yes])': {
         
     | 
| 
       472 
     | 
    
         
            -
                    '@apply bg-green-100 text-green- 
     | 
| 
       473 
     | 
    
         
            -
                  },
         
     | 
| 
       474 
     | 
    
         
            -
                  '.tabs-nav': {
         
     | 
| 
       475 
     | 
    
         
            -
                    '@apply flex flex-wrap mb-2 text-sm font-medium text-center border-b border-gray-200 dark:border-gray-700': {}
         
     | 
| 
       476 
     | 
    
         
            -
                  },
         
     | 
| 
       477 
     | 
    
         
            -
                  '.tabs-nav > :where(a)': {
         
     | 
| 
       478 
     | 
    
         
            -
                    '@apply block p-4 border-b-2 border-transparent rounded-t-md hover:text-gray-600 dark:hover:text-gray-300 no-underline': {}
         
     | 
| 
       479 
     | 
    
         
            -
                  },
         
     | 
| 
       480 
     | 
    
         
            -
                  '.tabs-content': {
         
     | 
| 
       481 
     | 
    
         
            -
                    '@apply p-4 mb-6': {}
         
     | 
| 
      
 346 
     | 
    
         
            +
                    '@apply bg-green-100 text-green-700 dark:bg-green-400/20 dark:text-green-400': {}
         
     | 
| 
       482 
347 
     | 
    
         
             
                  },
         
     | 
| 
       483 
348 
     | 
    
         
             
                  // Forms
         
     | 
| 
       484 
349 
     | 
    
         
             
                  '.formtastic': {
         
     | 
| 
         @@ -509,19 +374,19 @@ export default plugin( 
     | 
|
| 
       509 
374 
     | 
    
         
             
                    '@apply sr-only': {}
         
     | 
| 
       510 
375 
     | 
    
         
             
                  },
         
     | 
| 
       511 
376 
     | 
    
         
             
                  '.formtastic :where(.inline-hints)': {
         
     | 
| 
       512 
     | 
    
         
            -
                    '@apply text-gray-500 mt-2': {}
         
     | 
| 
      
 377 
     | 
    
         
            +
                    '@apply text-gray-500 dark:text-gray-400 mt-2': {}
         
     | 
| 
       513 
378 
     | 
    
         
             
                  },
         
     | 
| 
       514 
379 
     | 
    
         
             
                  '.formtastic :where(.errors)': {
         
     | 
| 
       515 
     | 
    
         
            -
                    '@apply p-4 mb-6 rounded-md space-y-2 bg-red-50 text-red-800 dark:bg-red- 
     | 
| 
      
 380 
     | 
    
         
            +
                    '@apply p-4 mb-6 rounded-md space-y-2 bg-red-50 text-red-800 dark:bg-red-500/15 dark:text-red-200': {}
         
     | 
| 
       516 
381 
     | 
    
         
             
                  },
         
     | 
| 
       517 
382 
     | 
    
         
             
                  '.formtastic :where(.errors > li)': {
         
     | 
| 
       518 
383 
     | 
    
         
             
                    '@apply list-disc ms-4': {}
         
     | 
| 
       519 
384 
     | 
    
         
             
                  },
         
     | 
| 
       520 
385 
     | 
    
         
             
                  '.formtastic :where(.inline-errors)': {
         
     | 
| 
       521 
     | 
    
         
            -
                    '@apply font-bold mt-2 text-red-600 dark:text-red- 
     | 
| 
      
 386 
     | 
    
         
            +
                    '@apply font-bold mt-2 text-red-600 dark:text-red-400': {}
         
     | 
| 
       522 
387 
     | 
    
         
             
                  },
         
     | 
| 
       523 
     | 
    
         
            -
                  '.formtastic :where(.error [type=email], .error [type=number], .error [type=password], .error [type=tel], .error [type=text], .error [type=url], .error textarea)': {
         
     | 
| 
       524 
     | 
    
         
            -
                    '@apply border-red-500': {}
         
     | 
| 
      
 388 
     | 
    
         
            +
                  '.formtastic :where(.error [type=email], .error [type=number], .error [type=password], .error [type=tel], .error [type=text], .error [type=url], .error select, .error textarea)': {
         
     | 
| 
      
 389 
     | 
    
         
            +
                    '@apply border-red-500/50': {}
         
     | 
| 
       525 
390 
     | 
    
         
             
                  },
         
     | 
| 
       526 
391 
     | 
    
         
             
                  '.formtastic :where(.buttons, .actions)': {
         
     | 
| 
       527 
392 
     | 
    
         
             
                    '@apply mt-3': {}
         
     |