Skip to content

Commit

Permalink
Categories - update categories features and setup filament forms & ta…
Browse files Browse the repository at this point in the history
…ble (#243)

* Categories - update categories features and setup filament forms & table

* fix code formatting

---------

Co-authored-by: mckenziearts <[email protected]>
  • Loading branch information
mckenziearts and mckenziearts authored Mar 29, 2024
1 parent 0ae3491 commit 4fa23d0
Show file tree
Hide file tree
Showing 51 changed files with 3,057 additions and 806 deletions.
2 changes: 1 addition & 1 deletion packages/admin/config/components/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

'pages' => [
'index' => Pages\Account::class,
'account-index' => Pages\Account::class,
],

/*
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/config/components/brand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

'pages' => [
'index' => Livewire\Pages\Brand\Index::class,
'brand-index' => Livewire\Pages\Brand\Index::class,
],

/*
Expand Down
12 changes: 5 additions & 7 deletions packages/admin/config/components/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
declare(strict_types=1);

use Shopper\Livewire;
use Shopper\Livewire\Components;

return [

Expand All @@ -13,7 +12,9 @@
|--------------------------------------------------------------------------
*/

'pages' => [],
'pages' => [
'category-index' => Livewire\Pages\Category\Index::class,
],

/*
|--------------------------------------------------------------------------
Expand All @@ -22,11 +23,8 @@
*/

'components' => [
'categories.browse' => Components\Categories\Browse::class,
'categories.create' => Components\Categories\Create::class,
'categories.edit' => Components\Categories\Edit::class,

'modals.re-order-categories' => Livewire\Modals\ReOrderCategories::class,
'slide-overs.category-form' => Livewire\SlideOvers\CategoryForm::class,
'slide-overs.re-order-categories' => Livewire\SlideOvers\ReOrderCategories::class,
],

];
2 changes: 1 addition & 1 deletion packages/admin/config/components/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

'pages' => [
'index' => Pages\Settings\Index::class,
'setting-index' => Pages\Settings\Index::class,
'general' => Pages\Settings\General::class,
'inventory-index' => Pages\Settings\Inventories\Browse::class,
'inventory-create' => Pages\Settings\Inventories\Create::class,
Expand Down
6 changes: 1 addition & 5 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"autoprefixer": "^10.4.2",
"choices.js": "^9.0.1",
"esbuild": "^0.20.2",
"filepond": "^4.30.3",
"flatpickr": "^4.6.13",
"intl-tel-input": "^17.0.19",
"lodash": "^4.17.13",
"npm-run-all": "^4.1.5",
Expand All @@ -33,8 +31,6 @@
"prettier-plugin-tailwindcss": "^0.5.10",
"resolve-url-loader": "^2.3.1",
"sortablejs": "^1.15.0",
"tailwindcss": "^3.4.1",
"tom-select": "^2.3.1",
"trix": "^2.0.5"
"tailwindcss": "^3.4.1"
}
}
10 changes: 10 additions & 0 deletions packages/admin/public/shopper.css
Original file line number Diff line number Diff line change
Expand Up @@ -4045,6 +4045,10 @@ html {
margin-top: auto;
}

.ml-6 {
margin-left: 1.5rem;
}

.line-clamp-\[--line-clamp\] {
overflow: hidden;
display: -webkit-box;
Expand Down Expand Up @@ -5155,6 +5159,12 @@ html {
margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.divide-x > :not([hidden]) ~ :not([hidden]) {
--tw-divide-x-reverse: 0;
border-right-width: calc(1px * var(--tw-divide-x-reverse));
Expand Down
Loading

0 comments on commit 4fa23d0

Please sign in to comment.