Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop: (107 commits)
  Bump to 5.0.0
  Provide more descriptive defaults for Custom_Post_Type
  Fix the dependency order of Custom_Post_Type and Taxonomy properties
  Convert remaining public properties in Taxonomy to methods
  Use `get_` for protected methods only using no set/get for mimic properties
  Convert remaining public properties in Custom_Post_Type to methods
  Support passing a CSS class to the Dashicons::icon method
  Bump to 5.0.0-beta.6
  Merge any manually added capabilities with the result of the Capabilities()
  Gracefully handle a non-existant user in the User_Trait
  Allow unit tests to function on sites which don't support flushing cache groups
  Do not require the row id to use Custom_Table::replace()
  Slight improvement in gutenberg template
  Make unit tests more resilant to running on different sites
  Add basic array shape for REST Posts
  Bump to 5.0.0-beta.5
  Use key-of<OPTIONS> instead of static:: to allow special handling
  Move the remaining public Options_Page properties to methods
  Switch Options_Page::icon_url to an intuitive `icon` method
  Remove superfluous method of options-page only on Options_Page properties
  Remove dangling tab_group property
  Introduce class constants for CMB2 tab styles
  Introduce `is_settings_page` helper method for for for Settings_Page
  You can send a numeric key as Wp_Remote data
  Map user_agent to user-agent in Wp_Remote Args class
  Move the ClauseRules and Clause trait into the Args namespace
  Introduce a header helper on the Wp_Remote args class
  Split the Args classes into their own namespace and support passing to props
  Add an example of a default checkbox value on a settings page
  Introduce a Checkbox field variation and throw on default()
  Fix `get_cmb2_field` for group sub-fields
  Include default_cb in result of the `get_default` Registered method
  Introduce `Files::copy_directory` method
  Introduce Files helper to start holding common file tasks
  Improve the Post_Object_Trait::__construct method
  Remove dangle cpt property on Labels class
  Support defining array shape of existing args in a Args interface
  Fine tune the Mutator_Trait `offsetGet`
  Bump to 5.0.0-beta.4
  Improve calls to $wpdb->prepare
  Handle the options table differences in WP 6.6
  Fix a few PHPStan errors from the new rules
  Add information about the registered settings/meta
  Fix a few phpstan error with latest rules
  Use a method to return wpdb so PHPStan can analyze all uses
  Support meta keys specified on Mutator_Trait classes OPTIONS generic
  Include required_username and required_password on Wp_login_Form
  Remove the WordPress badge from the Readme
  Bump to 5.0.0-beta.3
  Update tests to support version 4 of wp-unit
  ...
  • Loading branch information
lipemat committed Aug 1, 2024
2 parents 59a1c6e + af00d6c commit bc2de01
Show file tree
Hide file tree
Showing 205 changed files with 10,155 additions and 10,834 deletions.
55 changes: 40 additions & 15 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<a href="https://github.com/lipemat/wordpress-libs/releases/latest">
<img alt="Version" src="https://img.shields.io/packagist/v/lipemat/wordpress-libs.svg?label=version" />
</a>
<img alt="WordPress" src="https://img.shields.io/badge/wordpress->=6.2.0green.svg">
<img alt="PHP" src="https://img.shields.io/packagist/php-v/lipemat/wordpress-libs.svg?color=brown" />
<img alt="License" src="https://img.shields.io/packagist/l/lipemat/wordpress-libs.svg">
</p>
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.10.2
5.0.0
3 changes: 1 addition & 2 deletions css/checkbox.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/checkbox.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions css/checkbox.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.cmb-row {
&.checkbox-compact {
padding: .5em 0 !important;
padding: .5em 1em !important;

.cmb2-options-page & {
padding: 1em !important;
Expand All @@ -9,6 +9,5 @@

&.checkbox-compact label {
display: inline-block !important;

}
}
138 changes: 1 addition & 137 deletions css/group-layout.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/group-layout.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 20 additions & 13 deletions css/group-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,28 @@
padding: 0 !important;
}

.cmb-group-row-fields td,
.cmb-group-row-fields th {
border: none !important;
border-bottom: #eee solid 1px !important;
}
.cmb-group-row-fields {
position: relative;

.cmb-group-row-fields tr:last-of-type td {
border-bottom: none !important;
}
td,
th {
border: none !important;
border-bottom: #eee solid 1px !important;
}

.cmb-group-row-fields th {
background: #f9f9f9;
border-right: 1px solid #e1e1e1 !important;
vertical-align: top;
width: 20%;
th {
background: #f9f9f9;
border-right: 1px solid #e1e1e1 !important;
vertical-align: center;
width: 20%;
text-align: left;
}

tr:last-of-type {
td {
border-bottom: none !important;
}
}
}

.cmb-group-table-control {
Expand Down
Loading

0 comments on commit bc2de01

Please sign in to comment.