Skip to content

Commit 1cb5521

Browse files
committed
5.6.2
1 parent f23f709 commit 1cb5521

File tree

16 files changed

+590
-585
lines changed

16 files changed

+590
-585
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"inertiajs/inertia-laravel": "^1.3.2|^2.0",
2323
"laravel/fortify": "^1.25.4",
2424
"nesbot/carbon": "^2.62.1|^3.4",
25-
"orchestra/sidekick": "^1.2.0",
25+
"orchestra/sidekick": "^1.2.1",
2626
"rap2hpoutre/fast-excel": "^5.4",
2727
"spatie/once": "^3.0",
2828
"symfony/console": "^6.4.14|^7.0.3",
@@ -45,7 +45,7 @@
4545
"orchestra/workbench": "^8.17.4|^9.13.4|^10.0.3",
4646
"phpstan/phpstan": "^1.12.20|^2.1.13",
4747
"phpunit/phpunit": "^10.5.35|^11.3.5",
48-
"predis/predis": "^2.3",
48+
"predis/predis": "^2.3|^3.0",
4949
"spatie/laravel-ray": "^1.39.1"
5050
},
5151
"autoload": {
@@ -173,5 +173,5 @@
173173
},
174174
"minimum-stability": "dev",
175175
"prefer-stable": true,
176-
"version": "5.6.1"
176+
"version": "5.6.2"
177177
}

package-lock.json

Lines changed: 516 additions & 536 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"test": "./node_modules/.bin/jest"
1313
},
1414
"devDependencies": {
15-
"@babel/preset-env": "^7.27.1",
15+
"@babel/preset-env": "^7.26.7",
1616
"@tailwindcss/container-queries": "^0.1.1",
1717
"@tailwindcss/typography": "^0.5.16",
18-
"@types/lodash": "^4.17.16",
19-
"@vue/babel-plugin-jsx": "^1.4.0",
18+
"@types/lodash": "^4.17.15",
19+
"@vue/babel-plugin-jsx": "^1.2.5",
2020
"@vue/babel-preset-jsx": "^1.4.0",
2121
"@vue/compiler-sfc": "^3.5.13",
2222
"@vue/test-utils": "^2.4.6",
@@ -29,7 +29,7 @@
2929
"cross-env": "^7.0.3",
3030
"jest": "^27.5.1",
3131
"laravel-mix": "^6.0.49",
32-
"postcss": "^8.5.3",
32+
"postcss": "^8.5.1",
3333
"postcss-import": "^14.1.0",
3434
"postcss-rtlcss": "^3.7.2",
3535
"tailwindcss": "^3.4.17",
@@ -47,7 +47,7 @@
4747
"@vueuse/core": "^10.11.1",
4848
"@vueuse/integrations": "^10.11.1",
4949
"autosize": "^4.0.4",
50-
"axios": "^1.9.0",
50+
"axios": "^1.8.1",
5151
"chartist": "^1.3.1",
5252
"chartist-plugin-tooltips-updated": "^1.0.0",
5353
"codemirror": "^5.65.19",
@@ -56,7 +56,7 @@
5656
"focus-trap": "^7.6.4",
5757
"inflector-js": "^1.0.1",
5858
"js-cookie": "^2.2.1",
59-
"laravel-echo": "^1.19.0",
59+
"laravel-echo": "^1.16.1",
6060
"laravel-vapor": "^0.7.1",
6161
"lodash": "^4.17.21",
6262
"luxon": "^1.28.1",

public/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"/app.js": "/app.js?id=e1d3fc1d89e57f58900ff2e1238ee574",
2+
"/app.js": "/app.js?id=38b7298c1ee41697a7f6a7f50fdce531",
33
"/ui.js": "/ui.js?id=592866a715b1c20b43fff6ca7980b279",
44
"/manifest.js": "/manifest.js?id=3267e5c99fd7b729e2f38ec55b50397d",
5-
"/app.css": "/app.css?id=4ac240e9b4c482451bf95d4161751414",
6-
"/vendor.js": "/vendor.js?id=f48b6aa9dda0a3f022e52aab3427f7ec",
5+
"/app.css": "/app.css?id=765b33130b253cf418b26f27b6918d2c",
6+
"/vendor.js": "/vendor.js?id=93fac1761211fa11cf1740215ce16d3b",
77
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2?id=c8390e146be0a3c8a5498355dec892ae",
88
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2?id=b0735c7dd6126471acbaf9d6e9f5e41a",
99
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2?id=7c1fb232e3050e36dcc1aee61f1d0c06",

public/vendor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/fields/Form/BooleanField.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:errors="errors"
55
:show-help-text="showHelpText"
66
:full-width-content="fullWidthContent"
7-
@focus-form-input="toggle"
7+
@focus-form-input="toggleFromLabel"
88
>
99
<template #field>
1010
<Checkbox
@@ -54,6 +54,12 @@ export default {
5454
this.fillIfVisible(formData, this.fieldAttribute, this.trueValue)
5555
},
5656
57+
toggleFromLabel() {
58+
if (!this.currentlyIsReadonly) {
59+
this.toggle()
60+
}
61+
},
62+
5763
toggle() {
5864
this.value = !this.value
5965

resources/js/layouts/MainHeader.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
>
2121
<AppLogo class="h-6" />
2222
</Link>
23+
24+
<LicenseWarning />
2325
</div>
2426

2527
<div class="flex flex-1 px-4 sm:px-8 lg:px-12">
@@ -124,6 +126,7 @@
124126

125127
<script setup>
126128
import { useStore } from 'vuex'
129+
import LicenseWarning from '@/components/LicenseWarning'
127130
import { Button } from 'laravel-nova-ui'
128131
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap'
129132
import { computed, onBeforeUnmount, useTemplateRef, watch } from 'vue'

src/Actions/Action.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
use Stringable;
2929

3030
/**
31+
* @phpstan-type TModel \Illuminate\Database\Eloquent\Model
3132
* @phpstan-type TAuthoriseCallback \Closure(\Laravel\Nova\Http\Requests\NovaRequest):bool
3233
*
3334
* @phpstan-property TAuthoriseCallback|null $seeCallback
@@ -221,6 +222,13 @@ class Action implements JsonSerializable
221222
*/
222223
public $handleCallback = null;
223224

225+
/**
226+
* The underlying model resource instance.
227+
*
228+
* @var TModel|null
229+
*/
230+
public $resource;
231+
224232
/**
225233
* Create a new action using the given callback.
226234
*

0 commit comments

Comments
 (0)