shop_12_wireui/config/wireui.php

127 lines
2.9 KiB
PHP

<?php
use WireUi\Components;
use WireUi\Enum\Packs;
use WireUi\WireUiConfig as Config;
return [
/*
|--------------------------------------------------------------------------
| Prefix
|--------------------------------------------------------------------------
|
| This option controls the prefix for WireUI components. Examples:
|
| 'wireui-' => 'x-wireui-button'
| 'wireui:' => 'x-wireui:button'
|
*/
'prefix' => 'wireui:',
/*
|--------------------------------------------------------------------------
| Global Styles
|--------------------------------------------------------------------------
|
| This option controls the global styles for WireUI components.
|
*/
'style' => [
'shadow' => Packs\Shadow::BASE,
'rounded' => Packs\Rounded::MD,
'color' => Packs\Color::PRIMARY,
],
/*
|--------------------------------------------------------------------------
| Default Configuration
|--------------------------------------------------------------------------
|
| This option controls the default configuration for WireUI components.
|
*/
'alert' => Config::alert(),
'avatar' => Config::avatar(),
'badge' => Config::badge(),
'mini-badge' => Config::miniBadge(),
'button' => Config::button(),
'mini-button' => Config::miniButton(),
'card' => Config::card(),
'checkbox' => Config::checkbox(),
'color-picker' => Config::wrapper(),
'datetime-picker' => Config::dateTimePicker(),
'dialog' => Config::dialog(),
'dropdown' => Config::dropdown(),
'icon' => Config::icon(),
'input' => Config::wrapper(),
'currency' => Config::wrapper(),
'maskable' => Config::wrapper(),
'number' => Config::wrapper(),
'password' => Config::wrapper(),
'phone' => Config::wrapper(),
'link' => Config::link(),
'modal' => Config::modal(),
'modal-card' => Config::modal(),
'native-select' => Config::wrapper(),
'notifications' => Config::notifications(),
'radio' => Config::radio(),
'select' => Config::wrapper(),
'textarea' => Config::wrapper(),
'time-picker' => Config::timePicker(),
'time-selector' => Config::timeSelector(),
'toggle' => Config::toggle(),
/*
|--------------------------------------------------------------------------
| WireUI Components
|--------------------------------------------------------------------------
|
| Change the alias to call the component with a different name.
| Extend the component and replace your changes in this file.
|
*/
'components' => Config::defaultComponents([
// 'button' => [
// 'alias' => 'new-button',
// ],
// 'mini-button' => [
// 'class' => Components\Button\Mini::class,
// 'alias' => 'new-mini-button',
// ],
]),
];