Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsam726 authored and github-actions[bot] committed Jul 27, 2023
1 parent 447f89e commit 7929d13
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 45 deletions.
13 changes: 8 additions & 5 deletions src/Enums/FlatpickrMode.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php

namespace Savannabits\Flatpickr\Enums;
enum FlatpickrMode: string {
case RANGE = 'range';
case SINGLE = 'single';
case MULTIPLE = 'multiple';
case TIME = 'time';

enum FlatpickrMode: string
{
case RANGE = 'range';
case SINGLE = 'single';
case MULTIPLE = 'multiple';
case TIME = 'time';
}
5 changes: 4 additions & 1 deletion src/Enums/FlatpickrMonthSelectorType.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

namespace Savannabits\Flatpickr\Enums;
enum FlatpickrMonthSelectorType: string {

enum FlatpickrMonthSelectorType: string
{
case DROPDOWN = 'dropdown';
case STATIK = 'static';
}
26 changes: 14 additions & 12 deletions src/Enums/FlatpickrPosition.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<?php

namespace Savannabits\Flatpickr\Enums;

enum FlatpickrPosition: string
{
case AUTO = "auto";
case ABOVE = "above";
case BELOW = "below";
case AUTO_LEFT = "auto left";
case AUTO_CENTER = "auto center";
case AUTO_RIGHT = "auto right";
case ABOVE_LEFT = "above left";
case ABOVE_CENTER = "above center";
case ABOVE_RIGHT = "above right";
case BELOW_LEFT = "below left";
case BELOW_CENTER = "below center";
case BELOW_RIGHT = "below right";
case AUTO = 'auto';
case ABOVE = 'above';
case BELOW = 'below';
case AUTO_LEFT = 'auto left';
case AUTO_CENTER = 'auto center';
case AUTO_RIGHT = 'auto right';
case ABOVE_LEFT = 'above left';
case ABOVE_CENTER = 'above center';
case ABOVE_RIGHT = 'above right';
case BELOW_LEFT = 'below left';
case BELOW_CENTER = 'below center';
case BELOW_RIGHT = 'below right';
}
5 changes: 4 additions & 1 deletion src/Enums/FlatpickrTheme.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

namespace Savannabits\Flatpickr\Enums;
enum FlatpickrTheme: string {

enum FlatpickrTheme: string
{
case DEFAULT = 'default';
case LIGHT = 'light';
case DARK = 'dark';
Expand Down
Loading

0 comments on commit 7929d13

Please sign in to comment.