File tree 6 files changed +6058
-12
lines changed
6 files changed +6058
-12
lines changed Original file line number Diff line number Diff line change
1
+ /* Nova Field CSS */
1
2
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class NovaExtension {
21
21
webpackConfig ( webpackConfig ) {
22
22
webpackConfig . externals = {
23
23
vue : 'Vue' ,
24
+ 'laravel-nova' : 'LaravelNova' ,
24
25
}
25
26
26
27
webpackConfig . resolve . alias = {
Original file line number Diff line number Diff line change 2
2
<DefaultField
3
3
:field =" currentField"
4
4
:errors =" errors"
5
- :full-width-content =" true "
5
+ :full-width-content =" mode === 'modal' "
6
6
:show-help-text =" showHelpText"
7
7
>
8
8
<template #field >
Original file line number Diff line number Diff line change 3
3
class =" bg-gray-100 dark:bg-gray-800 rounded-t-lg flex border-b border-gray-300 dark:border-gray-700"
4
4
>
5
5
<div
6
- class =" bg-clip w-48 uppercase font-bold text-xs text-gray-500 tracking-wide px-3 py-3 "
6
+ class =" bg-clip w-48 uppercase font-bold text-xxs text-gray-500 tracking-wide px-3 py-2 "
7
7
>
8
8
{{ valueLabel }}
9
9
</div >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div v-if =" isNotObject" class =" flex items-center key-value-item" >
3
- <div class =" flex flex-grow border-b border-gray-300 dark:border-gray-700 key-value-fields"
4
- :class =" { 'bg-gray-50': readOnlyKeys || !isEditable }"
3
+ <div class =" flex flex-grow border-b border-gray-200 dark:border-gray-700 key-value-fields"
5
4
>
6
5
<textarea
7
6
:dusk =" `key-value-key-${index}`"
8
7
v-model =" item.key"
9
8
@focus =" handleKeyFieldFocus"
10
9
ref =" keyField"
10
+ rows =" 1"
11
11
type =" text"
12
- class =" font-mono text-sm resize-none block min-h-input w-full form-control form-input form-input-row py-4 text-90 dark:text-gray-400 bg-clip-border "
13
- :disabled =" !isEditable || readOnlyKeys"
12
+ class =" font-mono text-xs block w-full px-3 py-3 text-90 dark:text-gray-400"
13
+ :readonly =" !isEditable || readOnlyKeys"
14
14
style =" background-clip : border-box "
15
15
:class =" {
16
- 'bg-white dark:bg-gray-800': !isEditable || readOnlyKeys ,
17
- 'hover:bg-20 focus:bg-white dark:bg-gray-900 dark:focus:bg-gray-900':
18
- isEditable && !readOnlyKeys ,
19
- }"
16
+ 'bg-white dark:bg-gray-800 focus:outline-none ': !isEditable,
17
+ 'hover:bg-20 focus:bg-white dark:bg-gray-900 dark:focus:bg-gray-900 focus:outline-none focus:ring focus:ring-inset ':
18
+ isEditable ,
19
+ }"
20
20
/>
21
21
</div >
22
22
You can’t perform that action at this time.
0 commit comments