Skip to content

Commit

Permalink
Rename Pending to Affixable
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Oct 19, 2023
1 parent d1325be commit ebaf3ad
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 11 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,13 @@ The `defaultValue` method has been renamed to `default`.
+Text::make('Name')->default('John Doe')
```

The `Pending` trait has been renamed to `Affixable`.

```diff
-use Extended\ACF\Fields\Settings\Pending;
+use Extended\ACF\Fields\Settings\Affixable;
```

Changelog: [`13.0.0...14.0.0`](https://github.com/vinkla/extended-acf/compare/13.0.0...14.0.0)

### 13
Expand Down
4 changes: 2 additions & 2 deletions src/Fields/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

namespace Extended\ACF\Fields;

use Extended\ACF\Fields\Settings\Affixable;
use Extended\ACF\Fields\Settings\ConditionalLogic;
use Extended\ACF\Fields\Settings\DefaultValue;
use Extended\ACF\Fields\Settings\Disabled;
use Extended\ACF\Fields\Settings\Instructions;
use Extended\ACF\Fields\Settings\Pending;
use Extended\ACF\Fields\Settings\Placeholder;
use Extended\ACF\Fields\Settings\Required;
use Extended\ACF\Fields\Settings\Wrapper;
Expand All @@ -28,7 +28,7 @@ class Email extends Field
use ConditionalLogic;
use Disabled;
use Instructions;
use Pending;
use Affixable;
use Placeholder;
use Required;
use Wrapper;
Expand Down
4 changes: 2 additions & 2 deletions src/Fields/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

namespace Extended\ACF\Fields;

use Extended\ACF\Fields\Settings\Affixable;
use Extended\ACF\Fields\Settings\ConditionalLogic;
use Extended\ACF\Fields\Settings\DefaultValue;
use Extended\ACF\Fields\Settings\Disabled;
use Extended\ACF\Fields\Settings\Instructions;
use Extended\ACF\Fields\Settings\MinMax;
use Extended\ACF\Fields\Settings\Pending;
use Extended\ACF\Fields\Settings\Placeholder;
use Extended\ACF\Fields\Settings\Required;
use Extended\ACF\Fields\Settings\Step;
Expand All @@ -32,7 +32,7 @@ class Number extends Field
use Disabled;
use Instructions;
use MinMax;
use Pending;
use Affixable;
use Placeholder;
use Step;
use Required;
Expand Down
4 changes: 2 additions & 2 deletions src/Fields/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

namespace Extended\ACF\Fields;

use Extended\ACF\Fields\Settings\Affixable;
use Extended\ACF\Fields\Settings\ConditionalLogic;
use Extended\ACF\Fields\Settings\Instructions;
use Extended\ACF\Fields\Settings\Pending;
use Extended\ACF\Fields\Settings\Placeholder;
use Extended\ACF\Fields\Settings\Required;
use Extended\ACF\Fields\Settings\Wrapper;
Expand All @@ -25,7 +25,7 @@ class Password extends Field
{
use ConditionalLogic;
use Instructions;
use Pending;
use Affixable;
use Placeholder;
use Required;
use Wrapper;
Expand Down
4 changes: 2 additions & 2 deletions src/Fields/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

namespace Extended\ACF\Fields;

use Extended\ACF\Fields\Settings\Affixable;
use Extended\ACF\Fields\Settings\ConditionalLogic;
use Extended\ACF\Fields\Settings\DefaultValue;
use Extended\ACF\Fields\Settings\Disabled;
use Extended\ACF\Fields\Settings\Instructions;
use Extended\ACF\Fields\Settings\MinMax;
use Extended\ACF\Fields\Settings\Pending;
use Extended\ACF\Fields\Settings\Required;
use Extended\ACF\Fields\Settings\Step;
use Extended\ACF\Fields\Settings\Wrapper;
Expand All @@ -32,7 +32,7 @@ class Range extends Field
use Instructions;
use MinMax;
use Step;
use Pending;
use Affixable;
use Required;
use Wrapper;
use Writable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Extended\ACF\Fields\Settings;

trait Pending
trait Affixable
{
public function append(string $value): static
{
Expand Down
4 changes: 2 additions & 2 deletions src/Fields/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

namespace Extended\ACF\Fields;

use Extended\ACF\Fields\Settings\Affixable;
use Extended\ACF\Fields\Settings\CharacterLimit;
use Extended\ACF\Fields\Settings\ConditionalLogic;
use Extended\ACF\Fields\Settings\DefaultValue;
use Extended\ACF\Fields\Settings\Disabled;
use Extended\ACF\Fields\Settings\Instructions;
use Extended\ACF\Fields\Settings\Pending;
use Extended\ACF\Fields\Settings\Placeholder;
use Extended\ACF\Fields\Settings\Required;
use Extended\ACF\Fields\Settings\Wrapper;
Expand All @@ -31,7 +31,7 @@ class Text extends Field
use DefaultValue;
use Disabled;
use Instructions;
use Pending;
use Affixable;
use Placeholder;
use Required;
use Wrapper;
Expand Down

0 comments on commit ebaf3ad

Please sign in to comment.