Skip to content

Commit 54f43c6

Browse files
authored
Merge branch 'area17:3.x' into feature/allow-to-display-the-date-of-the-uploaded-file
2 parents 3d34533 + 5ad2237 commit 54f43c6

16 files changed

+29
-20
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to `twill` will be documented in this file.
44

5+
## 3.5.2
6+
7+
### Fixed
8+
9+
- Fix cropper regression (likely a from a recent browser update) by [@13twelve](https://github.com/13twelve) in [#2744](https://github.com/area17/twill/pull/2744)
10+
11+
512
## 3.5.1
613

714
### Fixed

Diff for: docs/content/1_docs/5_block-editor/02_creating-a-block-editor.md

+2
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ See also [Default Configuration](./11_default-configuration.md).
393393

394394
If the `resource_path('assets/admin/icons')` directory contains a `my-custom-icon.svg` file, you can use this icon in your block by using its basename: `@twillBlockIcon('my-custom-icon')`.
395395

396+
In order to make the icons appear in the CMS, you'll need to run `php artisan twill:build`
397+
396398
## Use Block traits in your Model and Repository
397399

398400
Now, to handle the block data you must integrate it with your module. *Use* the *Blocks* traits in the Model and Repository associated with your module.

Diff for: docs/content/2_guides/4_creating_custom_components_form_fields_and_blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ npm install vue-numeric --save
409409
### Blade view
410410

411411
:::filename:::
412-
`resources/views/admin/partials/form/_custom_number.blade.php`
412+
`resources/views/twill/partials/form/_custom_number.blade.php`
413413
:::#filename:::
414414

415415
```blade

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@area17/twill",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"private": true,
55
"scripts": {
66
"inspect": "vue-cli-service inspect --mode production",

Diff for: src/Http/Controllers/Admin/SingletonModuleController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function index(?int $parentModuleId = null): mixed
1818

1919
public function editSingleton()
2020
{
21-
$model = "App\\Models\\{$this->getModelName()}";
21+
$model = $this->getRepository()->getBaseModel()::class;
2222

2323
if (!class_exists($model)) {
2424
$model = TwillCapsules::getCapsuleForModel($this->modelName)->getModel();

Diff for: src/TwillServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class TwillServiceProvider extends ServiceProvider
6565
*
6666
* @var string
6767
*/
68-
public const VERSION = '3.5.1';
68+
public const VERSION = '3.5.2';
6969

7070
/**
7171
* Service providers to be registered.

Diff for: twill-assets/assets/twill/css/chunk-common.7a4dc65d.css renamed to twill-assets/assets/twill/css/chunk-common.eea3635b.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/chunk-common.03a98958.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/chunk-common.56df95e8.js

-1
This file was deleted.

Diff for: twill-assets/assets/twill/js/main-buckets.31cc381c.js renamed to twill-assets/assets/twill/js/main-buckets.a5ef5711.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/main-dashboard.aa3bc9a4.js renamed to twill-assets/assets/twill/js/main-dashboard.a2ec0df9.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/main-form.ccdbb5fc.js renamed to twill-assets/assets/twill/js/main-form.924688f6.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/main-free.f7ab3d06.js renamed to twill-assets/assets/twill/js/main-free.cdce1f23.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/js/main-listing.47d17fb9.js renamed to twill-assets/assets/twill/js/main-listing.01ea5744.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: twill-assets/assets/twill/twill-manifest.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
"Inter-MediumItalic.woff2": "/assets/twill/fonts/Inter-MediumItalic.7cd62035.woff2",
1212
"Inter-Regular.woff": "/assets/twill/fonts/Inter-Regular.4f8a0d7b.woff",
1313
"Inter-Regular.woff2": "/assets/twill/fonts/Inter-Regular.a2b4ebbf.woff2",
14-
"chunk-common.css": "/assets/twill/css/chunk-common.7a4dc65d.css",
15-
"chunk-common.js": "/assets/twill/js/chunk-common.56df95e8.js",
14+
"chunk-common.css": "/assets/twill/css/chunk-common.eea3635b.css",
15+
"chunk-common.js": "/assets/twill/js/chunk-common.03a98958.js",
1616
"chunk-vendors.css": "/assets/twill/css/chunk-vendors.96caa2e9.css",
1717
"chunk-vendors.js": "/assets/twill/js/chunk-vendors.a20b3d59.js",
1818
"icons-files.php": "/views/partials/icons/icons-files-svg.blade.php",
1919
"icons-wysiwyg.php": "/views/partials/icons/icons-wysiwyg-svg.blade.php",
2020
"icons.php": "/views/partials/icons/icons-svg.blade.php",
2121
"main-buckets.css": "/assets/twill/css/main-buckets.bd3bf89d.css",
2222
"main-buckets.html": "/main-buckets.html",
23-
"main-buckets.js": "/assets/twill/js/main-buckets.31cc381c.js",
23+
"main-buckets.js": "/assets/twill/js/main-buckets.a5ef5711.js",
2424
"main-dashboard.css": "/assets/twill/css/main-dashboard.08050331.css",
2525
"main-dashboard.html": "/main-dashboard.html",
26-
"main-dashboard.js": "/assets/twill/js/main-dashboard.aa3bc9a4.js",
26+
"main-dashboard.js": "/assets/twill/js/main-dashboard.a2ec0df9.js",
2727
"main-form.css": "/assets/twill/css/main-form.861de3c5.css",
2828
"main-form.html": "/main-form.html",
29-
"main-form.js": "/assets/twill/js/main-form.ccdbb5fc.js",
29+
"main-form.js": "/assets/twill/js/main-form.924688f6.js",
3030
"main-free.html": "/main-free.html",
31-
"main-free.js": "/assets/twill/js/main-free.f7ab3d06.js",
31+
"main-free.js": "/assets/twill/js/main-free.cdce1f23.js",
3232
"main-listing.css": "/assets/twill/css/main-listing.ecd5753d.css",
3333
"main-listing.html": "/main-listing.html",
34-
"main-listing.js": "/assets/twill/js/main-listing.47d17fb9.js"
34+
"main-listing.js": "/assets/twill/js/main-listing.01ea5744.js"
3535
}

0 commit comments

Comments
 (0)