Commit Graph
66 Commits
Author SHA1 Message Date
Dan Harrin 1de9502df5 Implement image column 2024-09-29 13:54:02 -04:00
Dan Harrin 540e8be34a fix for v4 2024-07-30 12:41:51 +01:00
Ehsan Mahmoodi 041910f461 In ImageColumn's ring method: incorrect type string, should be int; correct type is in constant.
In the ImageColumn's ring method, we mistakenly have string | Closure | null $ring instead of the correct int | Closure | null $ring. However, the correct type declaration int | Closure | null $ring is present in the constant
2024-02-01 20:54:50 +03:30
Chris Brown 44efd029bf Add fix-overflowing-images support to Table ImageColumn
Extends #10415 "Fix overflowing images" by (optionally) adding flex-wrap to image column as well.

Also adds `->wrap(true)` option to enable it.

When a table is displayed as a normal table, one will probably want to use limit() instead of wrapping, else images will stack vertically.
However, when a table is displayed in a grid, using `wrap(true)` will pleasantly display the images, instead of overflowing out of bounds.

Doesn't interfere with existing stacked/overlay/limit/etc features.
2023-12-24 12:33:06 -05:00
Dan Harrin ea9b0d2823 Update ImageColumn.php 2023-11-22 10:29:45 +00:00
Dan Harrin 84db5d4ef5 Update ImageColumn.php 2023-11-22 10:25:32 +00:00
filacare 2d1f56fb0a Add fetchFileExistence method to ImageEntry and
ImageColumn
2023-11-22 05:15:56 +08:00
filacare 286b32e9ab ImageColumn shouldQueryExists 2023-11-21 10:01:28 +08:00
Dan Harrin d82d0ba162 Update ImageColumn.php 2023-11-13 09:48:09 +00:00
Ash Monsh 69dbb55fb2 fix for ImageColumn to accept data:image 2023-11-13 00:34:53 +03:00
Zep Fietje 559146431f image entry and column 2023-07-27 20:33:41 +02:00
Dan Harrin f8c5f544f8 wip 2023-07-18 09:35:45 +01:00
Dan Harrin 4ed8485c09 Merge branch 'upg3' into pr/6376 2023-07-18 06:59:25 +01:00
Kenneth Sese 2837e211eb Update image stacking 2023-06-09 13:51:52 -06:00
Dan Harrin e306249fd2 wip 2023-05-21 14:55:10 +02:00
Dan Harrin 96de264c11 Merge branch '2.x' into 3.x 2023-05-21 14:51:56 +02:00
Dan Harrin 0ec59c73c4 Update ImageColumn.php 2023-05-21 14:48:56 +02:00
Süleyman Özgür Özarpacı f766a4d361 added default image url to image column 2023-05-21 15:11:36 +03:00
Dan Harrin 92c0b739b8 Apply suggestions from code review 2023-05-13 08:10:28 +01:00
Kenneth Sese 5a40e7d4c1 Fix 2023-05-02 10:34:29 -06:00
Kenneth Sese 09dcbb884b Filters images that dont have paths 2023-05-02 10:15:49 -06:00
Kenneth Sese 5a95cfa0ef Fix method override error 2023-05-01 23:50:02 -06:00
Kenneth Sese 73647296dc Add stacking to images 2023-05-01 20:57:47 -06:00
Dan Harrin 739f3909fc Merge branch '2.x' into 3.x 2023-03-25 16:49:16 +00:00
Dan Harrin 04f132d93a Add elsewhere 2023-03-25 16:44:59 +00:00
Dan Harrin 9cf90c19f2 Merge config files #2 2023-02-18 12:58:36 +00:00
Dan Harrin 49772ea994 Merge branch '2.x' into 3.x 2023-01-22 15:54:28 +00:00
ralphjsmit d16f5251ff chore: fix code style 2023-01-11 17:14:58 +00:00
Ralph J. Smit c8a14b2c92 Versatile implementation 2023-01-11 18:12:01 +01:00
Dan Harrin 7674874349 Cast bool evaluations 2022-12-04 12:06:32 +00:00
Ralph J. Smit b9f916f13b Merge using the attribute bag to align behaviour with Laravel 2022-12-03 16:42:23 +01:00
Ralph J. Smit 2a07bac668 Add option to merge attributes 2022-12-03 16:26:35 +01:00
danharrin 510840248d chore: fix code style 2022-11-28 21:14:19 +00:00
Dan Harrin cf2162d8c5 PHPStan Level 6 2022-11-28 21:10:50 +00:00
Dan Harrin 682b854f04 continue to improve type safety 2022-11-28 09:40:07 +00:00
danharrin 0f0b82a51c chore: fix code style 2022-11-26 17:39:01 +00:00
Dan Harrin 0c15a2dc13 Start adding more specific types 2022-11-26 17:36:24 +00:00
Dan Harrin 4226e054da Merge branch '2.x' into 3.x 2022-10-31 12:50:40 +00:00
Zep Fietje fb6d599681 Reintroduce image column isRounded and deprecate 2022-10-31 13:24:31 +01:00
Zep Fietje 940128ddbe Deprecate image column rounded in favor of circular 2022-10-31 09:44:11 +01:00
Leandro Costa Ferreira 333b4d1184 Add square column option 2022-10-30 08:45:58 -03:00
Dan Harrin 25b27a3282 Prefix package names with filament- 2022-10-20 13:33:53 +01:00
Dan Harrin dcbfce3f97 Update ImageColumn.php 2022-10-06 11:51:09 +01:00
blite 96a4cabc73 only check file visibility if set private in ImageColumn->visibility() 2022-09-30 16:23:15 -07:00
zepfietje f31af25570 chore: styling 2022-07-15 09:24:26 +00:00
Dan Harrin 42654b86f2 wip 2022-06-08 20:29:15 +01:00
Dan Harrin 302ba6d7e1 wip 2022-06-03 22:14:03 +01:00
John Carter d8dc798dd5 Don't override the default bag 2022-05-19 15:26:47 +01:00
John Carter 1fd41a39bb Adds support for extraImgAttributes() on ImageColumn 2022-05-19 12:08:32 +01:00
Dan Harrin 4f97e1f0d1 fix: File upload temporary urls 2022-05-10 16:12:19 +01:00