Releases: picasso/zukit
Releases · picasso/zukit
2.1.0
Core
- refactored
setupOptionsStoreand its hooks - refactor
externalDatato avoid mixingblocksandsettingsdata - add
durationsupport foruseLoadershook - add
init_innermethod to resolveinitoverride inzukit_Blocks
Components
- add
boxedmode forTitleIndicatorcomponent - fix
checkbox-control,components-select-controlandcomponents-base-controlcss - fix
ListInputControlcss
Debug
- add
debug-loadcontext forsettingspage - make
DevToolsalways available from globalwindowscope - rename
zu_logeintozu_log_errorfileto make it more clear
Other
- fix PHP 8.2 deprecations
- fix deprecated
positionprop inTooltip - opting into the new margin-free styles
- opting into the new 40px default height
- fix deprecated plugin slots
- fix deprecated
Buttonprops - fix deprecated
registerStore - fix
preserveAspectRatiofor loaders
2.0.1
- test with Wordpress
6.6.2 - update outdated
npmpackages - add Prettier and its config
- replace ESLint config with
v9 - replace
classnamespackage with the faster and smallerclsxpackage - add
wp-scriptsbuild and webpack configs for it - migrate SASS files to avoid deprecation warnings
- refactor JS with
lodash-esand prettier rules - replace wordpress import from
consttoimport - fix PHP formatting and some errors found by
intelephense - update
scriptdependencies based on generated bywp-scripts
1.5.5
Snippets
- removed
zusnippets_Langtrait (these helpers duplicated in theZu Translateplugin)
Debug
- delayed value creation for the second argument of
logGroupmethod - renaming
debugJS data set toinhouse - refactoring init for
_debugand_panelsoption groups - keep
_debugand_panelsoption groups even on reset - added
zu_logefunction as last resort for complex debug cases
Other
- added
unescapeHtmlhelper toutils - added
hovertonotice__dismissbutton - fixed
markdownCSS inactionbuttons - fixed CSS of
Settings(Safari) - improved inserting separators in the
Admin Menu
1.5.2
Debug
- added
dimcolor modifier - refactoring
logGroupmethod - changed opaque color for
^modifier - delayed value creation - if the
datais a function, then we replace it with the value returned from the function
Other
- added outline on
:focusforSelectItemControlcontrol - improved CSS on various screen widths
1.5.0
1.4.9
Core
- refactoring
AdminMenumethods (docs update required) - implemented
keep_fileandget_filestatic methods to keep file paths - added
Filefield to plugin/theme meta
Components
- refactoring
zukit_Tableclass andZukitTablecomponent to support CSS Grid layout - added
ZukitTogglecomponent with simple markdown support - use
ZukitToggleinstead ofToggleControl
Debug
- added simple
__logmethod - for debugging without any classes - added support for
Color Modifiersininfomethod - disable Zukit scripts caching with static
zukit_debugmethod - removed
package.jsonimport (andvergetter) inDebugmodule
Other
- updated NPM package dependencies
- logo experiments
- improved CSS
1.4.6
Core
- added
has_snippetmethod - added
get_callablemethod which allows to use functions asconfigurationvalues - all
set_optionfor Ajax requests are now running with the optionrewrite_arrayequal to true - fixed bug in method
set_optionwhenrewrite_arrayis true andkeyis path
Components
- added
onKeyEnterprop forAdvTextControlcomponent - added
isSideBySideprop toListInputControlandAdvTextControlcomponents - added
isOpenandisNotEmptyLabelprops forListInputComponent - added
moreargument intransformValuefunction forSelectItemControlcomponent - fix CSS and
htmlForsupport whenisSideBySideis true forListInputControlandAdvTextControlcomponents - disable animation in
ListInputControlcomponent whenisOpenis true
Other
- added
scrollTopDOM helper - added
noColoncheck inmessageWithErrorfunction
1.4.3
- made
path_autocreated=trueby default - added
TitleIndicatorcomponent - added
withPluginandwithPluginMetaHOCs to work with predefined WP slots (PluginDocumentSettingPanel, PluginSidebar and etc.) - exported
debugmodule for Zukit settings - fixed bug in
set_optionmethod when$valueis array and$keyis path - fix styles of some
standardcontrols (checkbox, toggle) - small improvements
1.4.2
- refactoring
do_addonsto work withoptionsandcollectresults - added
extend_metadatamethod which allows you to modify the name, description and other information about the plugin/theme - refactoring
ConditionalWrapafter understanding how the JSX works with thecreateEelementfunction - added custom hooks -
useRefInitanduseRefDefaults - refactoring React custom hooks for
folders - replacing deprecated jQuery methods
- refactoring
debugmodule with new knowledge about React hooks - fixed bug with
zudataAjax request - converted
instyleSASS to SCSS - refactoring
extend_block_colorsand default Zukit color palette - implemented
markdownin plugin/theme description - small improvements
1.4.1
- adapted to WP 5.8.1
Core
- implemented
zukit_ExchangeWithMagictrait - refactoring redirect to parent methods with PHP
__call - redefined
array_with_defaultsmethod from snippets for convenience - improved
extend snippets,frontend_handles,trace_summaryandprefix_itmethods - simplified the error checking method
- refactoring dependencies for scripts and styles to fix errors in WP 5.8 (widgets.php)
REST & AJAX
- implemented
default_optionsAJAX response - logic of
set_options_ajaxmethod is changed - if at least one call returnstrue, then the overall result will also betrue - refactoring
sanitize helpers, addedrest_responseandmaybe_fix_sanitizemethods
Blocks & Components
- improved
SelectItemControlcomponent - addedfillNulloption andsmart stylesupport - refactoring
zukit_Blocksto allow useconfigfrom the class that was inherited fromzukit_Blocks - added the ability to create an instance of the
zukit_Blocksclass by name - improved
svgRefandgetColorhelpers
CSS
- refactoring SASS with
div()function because using/for division is deprecated - small fixes for Safari browser
Snippets
- added
cast_array,array_zip_merge,add_inline_script_now,build_stylemethods - added
null_on_failurearg forto_boolfunction - added
minifyargument for inline styles and scripts - added
as_arrayargument forget_background_colormethod - added
$reindexargument toarray_pick_keys,array_without_keysandarray_without_nullmethods