Releases: picasso/zukit
Releases · picasso/zukit
2.1.0
Core
- refactored
setupOptionsStore
and its hooks - refactor
externalData
to avoid mixingblocks
andsettings
data - add
duration
support foruseLoaders
hook - add
init_inner
method to resolveinit
override inzukit_Blocks
Components
- add
boxed
mode forTitleIndicator
component - fix
checkbox-control
,components-select-control
andcomponents-base-control
css - fix
ListInputControl
css
Debug
- add
debug-load
context forsettings
page - make
DevTools
always available from globalwindow
scope - rename
zu_loge
intozu_log_errorfile
to make it more clear
Other
- fix PHP 8.2 deprecations
- fix deprecated
position
prop inTooltip
- opting into the new margin-free styles
- opting into the new 40px default height
- fix deprecated plugin slots
- fix deprecated
Button
props - fix deprecated
registerStore
- fix
preserveAspectRatio
for loaders
2.0.1
- test with Wordpress
6.6.2
- update outdated
npm
packages - add Prettier and its config
- replace ESLint config with
v9
- replace
classnames
package with the faster and smallerclsx
package - add
wp-scripts
build and webpack configs for it - migrate SASS files to avoid deprecation warnings
- refactor JS with
lodash-es
and prettier rules - replace wordpress import from
const
toimport
- fix PHP formatting and some errors found by
intelephense
- update
script
dependencies based on generated bywp-scripts
1.5.5
Snippets
- removed
zusnippets_Lang
trait (these helpers duplicated in theZu Translate
plugin)
Debug
- delayed value creation for the second argument of
logGroup
method - renaming
debug
JS data set toinhouse
- refactoring init for
_debug
and_panels
option groups - keep
_debug
and_panels
option groups even on reset - added
zu_loge
function as last resort for complex debug cases
Other
- added
unescapeHtml
helper toutils
- added
hover
tonotice__dismiss
button - fixed
markdown
CSS inaction
buttons - fixed CSS of
Settings
(Safari) - improved inserting separators in the
Admin Menu
1.5.2
Debug
- added
dim
color modifier - refactoring
logGroup
method - changed opaque color for
^
modifier - delayed value creation - if the
data
is a function, then we replace it with the value returned from the function
Other
- added outline on
:focus
forSelectItemControl
control - improved CSS on various screen widths
1.5.0
1.4.9
Core
- refactoring
AdminMenu
methods (docs update required) - implemented
keep_file
andget_file
static methods to keep file paths - added
File
field to plugin/theme meta
Components
- refactoring
zukit_Table
class andZukitTable
component to support CSS Grid layout - added
ZukitToggle
component with simple markdown support - use
ZukitToggle
instead ofToggleControl
Debug
- added simple
__log
method - for debugging without any classes - added support for
Color Modifiers
ininfo
method - disable Zukit scripts caching with static
zukit_debug
method - removed
package.json
import (andver
getter) inDebug
module
Other
- updated NPM package dependencies
- logo experiments
- improved CSS
1.4.6
Core
- added
has_snippet
method - added
get_callable
method which allows to use functions asconfiguration
values - all
set_option
for Ajax requests are now running with the optionrewrite_array
equal to true - fixed bug in method
set_option
whenrewrite_array
is true andkey
is path
Components
- added
onKeyEnter
prop forAdvTextControl
component - added
isSideBySide
prop toListInputControl
andAdvTextControl
components - added
isOpen
andisNotEmptyLabel
props forListInput
Component - added
more
argument intransformValue
function forSelectItemControl
component - fix CSS and
htmlFor
support whenisSideBySide
is true forListInputControl
andAdvTextControl
components - disable animation in
ListInputControl
component whenisOpen
is true
Other
- added
scrollTop
DOM helper - added
noColon
check inmessageWithError
function
1.4.3
- made
path_autocreated
=true
by default - added
TitleIndicator
component - added
withPlugin
andwithPluginMeta
HOCs to work with predefined WP slots (PluginDocumentSettingPanel, PluginSidebar and etc.) - exported
debug
module for Zukit settings - fixed bug in
set_option
method when$value
is array and$key
is path - fix styles of some
standard
controls (checkbox, toggle) - small improvements
1.4.2
- refactoring
do_addons
to work withoptions
andcollect
results - added
extend_metadata
method which allows you to modify the name, description and other information about the plugin/theme - refactoring
ConditionalWrap
after understanding how the JSX works with thecreateEelement
function - added custom hooks -
useRefInit
anduseRefDefaults
- refactoring React custom hooks for
folders
- replacing deprecated jQuery methods
- refactoring
debug
module with new knowledge about React hooks - fixed bug with
zudata
Ajax request - converted
instyle
SASS to SCSS - refactoring
extend_block_colors
and default Zukit color palette - implemented
markdown
in plugin/theme description - small improvements
1.4.1
- adapted to WP 5.8.1
Core
- implemented
zukit_ExchangeWithMagic
trait - refactoring redirect to parent methods with PHP
__call
- redefined
array_with_defaults
method from snippets for convenience - improved
extend snippets
,frontend_handles
,trace_summary
andprefix_it
methods - simplified the error checking method
- refactoring dependencies for scripts and styles to fix errors in WP 5.8 (widgets.php)
REST & AJAX
- implemented
default_options
AJAX response - logic of
set_options_ajax
method is changed - if at least one call returnstrue
, then the overall result will also betrue
- refactoring
sanitize helpers
, addedrest_response
andmaybe_fix_sanitize
methods
Blocks & Components
- improved
SelectItemControl
component - addedfillNull
option andsmart style
support - refactoring
zukit_Blocks
to allow useconfig
from the class that was inherited fromzukit_Blocks
- added the ability to create an instance of the
zukit_Blocks
class by name - improved
svgRef
andgetColor
helpers
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_style
methods - added
null_on_failure
arg forto_bool
function - added
minify
argument for inline styles and scripts - added
as_array
argument forget_background_color
method - added
$reindex
argument toarray_pick_keys
,array_without_keys
andarray_without_null
methods