Skip to content

Commit

Permalink
Merge pull request #278 from mkocansey/development
Browse files Browse the repository at this point in the history
release/v2-6-0
  • Loading branch information
mkocansey authored Jun 12, 2024
2 parents 026c0dd + 0163c18 commit 31fd705
Show file tree
Hide file tree
Showing 52 changed files with 1,027 additions and 557 deletions.
101 changes: 89 additions & 12 deletions config/bladewind.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,31 @@
*/
'alert' => [
'shade' => 'faint',
'show_icon' => true,
'color' => null,
'size' => 'tiny',
'show_ring' => false
],

/*
|--------------------------------------------------------------------------
| Avatar component
|--------------------------------------------------------------------------
*/
'avatars' => [
'size' => 'regular',
'show_ring' => true,
'dot_color' => 'primary',
'dot_position' => 'bottom',
'dotted' => false,
'stacked' => false,
],

'avatar' => [
'size' => 'regular',
'dot_color' => 'primary',
'dot_placement' => 'bottom',
'dot_position' => 'bottom',
'dotted' => false,
],

/*
Expand All @@ -43,6 +57,8 @@
'bell' => [
'show_dot' => true,
'animate_dot' => false,
'size' => 'small',
'color' => 'primary',
],

/*
Expand All @@ -55,6 +71,11 @@
'radius' => 'small',
'show_focus_ring' => true,
'tag' => 'button',
'icon_right' => false,
'outline' => false,
'border_width' => 2,
'ring_width' => '',
'uppercasing' => true,
// define default attributes for all circular buttons
'circle' => [
'size' => 'regular',
Expand All @@ -69,6 +90,8 @@
'card' => [
'compact' => false,
'has_shadow' => true,
'has_border' => true,
'reduce_padding' => false,
'hover_effect' => false,
],

Expand Down Expand Up @@ -98,6 +121,7 @@
*/
'checkbox' => [
'add_clearing' => true,
'color' => 'primary',
],

/*
Expand All @@ -108,6 +132,8 @@
'datepicker' => [
'format' => 'yyyy-mm-dd',
'week_starts' => 'sun',
'with_time' => false,
'hours_as' => 12,
'validate' => false,
'show_error_inline' => false,
'stacked' => true,
Expand All @@ -131,11 +157,13 @@
'trigger' => 'ellipsis-horizontal-icon',
'trigger_on' => 'click',
'icon_right' => false,
'divided' => false,
// default attributes for dropmenu-item component
'item' => [
'dir' => '',
'icon_right' => false,
'hover' => true,
'divided' => false,
]
],

Expand All @@ -146,8 +174,8 @@
*/
'empty_state' => [
// the public directory is the starting point
// the default below is public/bladewind/images...
'image' => 'bladewind/images/empty-state.svg',
// the default below is public/vendor/bladewind/images...
'image' => '/vendor/bladewind/images/empty-state.svg',
'show_image' => true,
],

Expand All @@ -159,6 +187,8 @@
'filepicker' => [
'accepted_file_types' => 'audio/*, video/*, image/*, .pdf',
'max_file_size' => 5,
'add_clearing' => true,
'selected_value_class' => 'h-52',
],

/*
Expand All @@ -168,6 +198,7 @@
*/
'horizontal_line_graph' => [
'shade' => 'faint',
'color' => 'primary',
'percentage_label_opacity' => 50,
],

Expand All @@ -178,6 +209,7 @@
*/
'icon' => [
'type' => 'outline',
'dir' => '',
],

/*
Expand All @@ -188,10 +220,12 @@
'input' => [
'add_clearing' => true,
'show_error_inline' => false,
'show_placeholder_always' => false,
'error_heading' => 'Error',
'transparent_prefix' => true,
'transparent_suffix' => true,
'clearable' => false,
'size' => 'medium',
],

/*
Expand All @@ -209,14 +243,16 @@
|--------------------------------------------------------------------------
*/
'modal' => [
'align_buttons' => 'right',
'ok_button_label' => 'okay',
'cancel_button_label' => 'cancel',
'close_after_action' => true,
'backdrop_can_close' => true,
'blur_backdrop' => true,
'center_action_buttons' => true,
'center_action_buttons' => false,
'stretch_action_buttons' => false,
'size' => 'big',
'show_close_icon' => false,
'size' => 'medium',
],

/*
Expand All @@ -225,7 +261,7 @@
|--------------------------------------------------------------------------
*/
'notification' => [
'position' => 'top right',
'position' => 'top-right',
],

/*
Expand All @@ -237,6 +273,7 @@
'show_percentage_label' => false,
'show_percentage_label_inline' => true,
'shade' => 'faint',
'percentage_label_opacity' => '100',
],

/*
Expand All @@ -249,8 +286,7 @@
'show_label' => false,
'show_percent' => false,
'shade' => 'faint',
'text_size' => 30,
'circle_width' => 30,
'size' => 'medium',
],

/*
Expand All @@ -270,6 +306,7 @@
'rating' => [
'type' => 'star',
'clickable' => true,
'size' => 'small',
],

/*
Expand All @@ -278,9 +315,21 @@
|--------------------------------------------------------------------------
*/
'select' => [
'placeholder' => 'Select One',
'add_clearing' => true,
'max_error' => 'Please select only %s items',
'max_error_message' => 'Please select only %s items',
'modular' => false,
'size' => 'medium',
],

/*
|--------------------------------------------------------------------------
| Spinner component
|--------------------------------------------------------------------------
*/
'spinner' => [
'color' => 'gray',
'size' => 'small',
],

/*
Expand All @@ -290,7 +339,9 @@
*/
'statistic' => [
'currency' => '',
'label_position' => 'top',
'currency_position' => 'left',
'icon_position' => 'left',
'has_shadow' => true,
],

Expand All @@ -302,12 +353,17 @@
'tab' => [
'group' => [
'style' => 'simple',
'color' => 'primary',
],
'body' => [
'class' => '',
],
'content' => [
'class' => '',
],
'heading' => [
'icon_type' => 'outline',
'icon_dir' => '', // starts from your-project/public
]
],

Expand All @@ -318,19 +374,37 @@
*/
'table' => [
'striped' => false,
'has_shadow' => false,
'has_border' => false,
'divided' => true,
'divider' => 'regular',
'hover_effect' => false,
'has_shadow' => true,
'hover_effect' => true,
'compact' => false,
'uppercasing' => true,
'celled' => false,
'searchable' => false,
'selectable' => false,
'checkable' => false,
'search_placeholder' => 'Search table below...',
'no_data_message' => 'No records to display',
'message_as_empty_state' => false,
'show_image' => true,
],

/*
|--------------------------------------------------------------------------
| Tags component
|--------------------------------------------------------------------------
*/
'tags' => [
'color' => 'primary',
'shade' => 'faint',
'rounded' => false,
'uppercasing' => true,
'tiny' => false,
'outline' => false,
],

/*
|--------------------------------------------------------------------------
| Tag component
Expand All @@ -340,6 +414,7 @@
'rounded' => false,
'uppercasing' => true,
'shade' => 'faint',
'color' => 'primary',
'outline' => false,
],

Expand All @@ -353,6 +428,7 @@
'rows' => 3,
'error_heading' => 'Error',
'show_error_inline' => false,
'toolbar' => false,
],

/*
Expand All @@ -366,6 +442,7 @@
'group' => [
'stacked' => false,
'anchor' => 'small',
'color' => 'gray',
],
],

Expand All @@ -387,7 +464,7 @@
*/
'code' => [
'total_digits' => 4,
'size' => 'small',
'size' => 'regular',
'mask' => false,
],

Expand Down
2 changes: 1 addition & 1 deletion public/css/bladewind-ui.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 31fd705

Please sign in to comment.