- Fixed that primary color is used if none is specified
- Added functionality to specify the colors used for the current tab using Tabs::make()->withCurrentColor('sky') (default is sky)
- Added functionality to specify the colors used for tabs with errors using Tabs::make()->withErrorColor('red') (default is red)
- Color options for both are all the 500 variants based on the default tailwind colors, reference: https://tailwindcss.com/docs/customizing-colors
- Fixed that errors on form submissions are now reflected on tabs
- Fixed padding issues
- Fixed codemirror fields and styles
- Added withSlug function to Tabs panel
- withSlug takes a boolean/string parameter. If true will slugify the panel name, if a string it will use that string as the panel slug
- HasTabs mixin checks for non-null slug and uses it instead of name
- adds preservedName variable to retain the name after the parent panel is created
- HasTabs Trait gets slug on panel recreation
- Fixed naming issue for mix.js conflicting with "mix" command in some environments
- Added the ability to retain the current tab when swapping between detail and edit views using Tabs::make()->rememberTabs()
- Fixed padding and removed console.log
- Fixed a bug where padding was wrong when not showing toolbar
- Fixed a bug where clicking a tab would scroll the page to top
- Fixed a bug with tab persistence supplying the wrong location has
- Fixed a bug where relationship panels that aren't under tabs would show up wrong
- Fixed a bug where showToolbar isn't utilized properly
- Nova 4 compatible
- Removed selectFirstTab, first tab is always displayed first.
- Removed TabsOnEdit, tabs will simply always show on edit for now.
- Added Eminiarts\Tabs\Traits\HasTabs to overwrite Nova 4 default panel methods in Laravel\Nova\ResolveFields.
- Added position method to Tab to fix relational tabs showing up last.
- Moved Eminiarts\Tabs\ActionsInTabs to Eminiaarts\Tabs\Traits\HasActionsInTabs.
- Fixed issue with tabs not showing up. (#172)
- Added
selectFirstTab(false)
anddontSelectFirstTab()
(#165)- This method can be used to opt out from the default selected tab. This can be useful when your relations are particularly heavy
- Fixed issue with third-party fields implementing
MergeValue
causing the tab to lose its slug value (#162) - Fixed issue with files not being able to be deleted within tabs (#169)
- Fixed h1 selector in
DetailTabs
breaking certain packages like Quill and Editor.js (#171)
- Revert production build files that broke the package on detail views. (#156)
- Fixed the inability to use Laravel Dusk to run tests. (#155)
- Fixed an issue using
TabsOnEdit
causing rules relying on the current resources to not work properly. (#154)
- Fixed issue with
Laravel\Nova\Makeable
not existing. (#144)
- Fixed issue with 2nd tabs not showing if a tab has been selected.
- Fixed crash caused by fields extending
MergeValue
not having a$panel
property. (#140) - Fixed crash by fields not being nested into an array or a
Tab
object. (#141)
- Added
Tab
class. (#129, #130, #138)- This class can be used as an alternative to using arrays and offers way more features. Check the README for info and documentation.
- Fixed margin on the search bar when defaultSearch is enabled. (#134)
ActionsInTabs
now allows use of theLaravel\Nova\ResolvesFields::actionField
method. (#135)- Added a pretty banner, courtesy of https://banners.beyondco.de/
- Fix panel order on edit page. (#85, #139)
- Fixed an issue causing field that did not have a panel set to not slow correctly or at all. (#112)
- Fixed issue with files not being deletable when using
TabsOnEdit
(#28 and #59) - Fixed issue with switching tabs causing the query string to be overwritten completely (#124)
- Fixed a styling issue causing the search bar to not be in line with the create/attach button (#121)
- Active tabs are now remembered (#86 and #119)
- Titles of tabs can now be shown by chaining
->showTitle()
on theTabs
instance. Off by default. (#118) - Fixed an overflow issue when using
TabsOnEdit
(#114) - Fixed bottom margin on create and attach buttons not being applied (#55)
- Fixed issue with code fields not appearing on load (#23)
- Fixed help text not showing up on fields (#108)
- Fixed readonly fields being ignored during a fill (#91)
- Fixed
TabsOnEdit
not showing anything in Nova 3.12.x (#111)
- Fixed #15 overlapping Tabs
- ViaRelations on Fields Components, Fixed #18
- Add Tabs on Create
- Added HandlesValidationErrors in FormsTabs Component.
- Thanks to dkulyk/nova-tabs the Package got a lot simpler.
- No need to use a Trait anymore. Remove all
AvailableTabFields
Traits in your Resources. - Everything is in
Tabs
now. There is noTabsPanel
anymore. Remove allTabsPanels
and adjust your Fields according to the Readme.
- Fixed resolving Fields.
->hideFromDetail()
is working in Tabs now. #9 - Fixed undefined Groups. #8
- Added ability to use Tabs with TabsPanel and combine Fields with Relations in Tabs.
- Fixed #7
- Added
AvailableTabFields
Trait to resolve the correct Fields from Tabs when Nova needs the field.