From 965718bb90f0acb4c4bc3f63829314f018539b33 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Mon, 21 Aug 2023 20:34:22 -0700 Subject: [PATCH 01/31] Update minimum PHP requirements to 8.1 (#10) * Update minimum PHP requirements to 8.1 and upgrade illumate/view and illuminate/support packages to version 10. * Update formatting of packages * Update support and view for illuminate to laravel 9 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index fbf86d2..09cc8fe 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "^7.2", - "illuminate/support": "^7.0|^8.0", - "illuminate/view": "^7.0|^8.0" + "php": "^7.2|^8.1", + "illuminate/support": "^7.0|^9.0", + "illuminate/view": "^7.0|^9.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "2.16.10" + "friendsofphp/php-cs-fixer": "^3.17.0" }, "autoload": { "psr-4": { From 6270bbd0d1528a06bcd277e211000370b5d01f2b Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Wed, 30 Aug 2023 15:47:26 -0700 Subject: [PATCH 02/31] Update dependency requirements as v7.0 is set to end-of-life for illuminate packages --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 09cc8fe..c17e5ea 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ } ], "require": { - "php": "^7.2|^8.1", - "illuminate/support": "^7.0|^9.0", - "illuminate/view": "^7.0|^9.0" + "php": "^7.3|^8.1", + "illuminate/support": "^8.0|^9.0", + "illuminate/view": "^8.0|^9.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.17.0" From f6c98d7eaa1cc3f1f4c300cf3d33fc375c6da8a1 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Wed, 30 Aug 2023 22:53:42 +0000 Subject: [PATCH 03/31] Fix styling --- .php-cs-fixer.cache | 2 +- src/Components/Cards/Event.php | 10 +++++----- src/Components/Cards/LinkWithMedia.php | 16 ++++++++-------- src/Components/Cards/LinkWithMediaAndActions.php | 10 +++++----- src/Components/Cards/SimpleLink.php | 6 +++--- src/Components/Cards/SimpleWithActions.php | 4 ++-- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index e002d5e..3993c9d 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.1.3","version":"3.7.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":2588739270,"src\/Components\/Footers\/PreFooter\/Base.php":732497000,"src\/Components\/Footers\/PreFooter\/Column.php":1954458183,"src\/Components\/Footers\/Local.php":2447128302,"src\/Components\/Modals\/Base.php":3692213926,"src\/Components\/Alert\/Contained.php":86141818,"src\/Components\/Alert\/FullWidth.php":3559627738,"src\/Components\/Loaders\/Dark.php":664703870,"src\/Components\/Loaders\/Light.php":2521897775,"src\/Components\/LocalHeader.php":2171899310,"src\/Components\/InteriorNavigation\/Base.php":1608601251,"src\/Components\/Heroes\/SplitLayoutContentMedia.php":7068587,"src\/Components\/Heroes\/CenteredContent.php":3671358113,"src\/Components\/Selects\/Select.php":3383227601,"src\/Components\/Scripts.php":1782341397,"src\/Components\/Tabs\/Underlined.php":131669733,"src\/Components\/Tabs\/Underlined\/Item.php":3365888974,"src\/Components\/Tabs\/Bordered.php":3421530132,"src\/Components\/Tabs\/Detached\/Item.php":1810508178,"src\/Components\/Tabs\/Bordered\/Item.php":3120777194,"src\/Components\/Tabs\/Detached.php":220228215,"src\/Components\/Cards\/LinkWithMediaAndActions.php":848211306,"src\/Components\/Cards\/Event.php":1065435410,"src\/Components\/Cards\/SimpleWithActions.php":1504616037,"src\/Components\/Cards\/LinkWithMedia.php":1272885386,"src\/Components\/Cards\/SimpleLink.php":1757427018,"src\/Components\/Accordion\/Base.php":3300426367,"src\/Components\/Accordion\/Item.php":711882202,"src\/Components\/Accordion\/WithLeftIcon.php":4278113180,"src\/Components\/Tags\/Solid.php":1734713771,"src\/Components\/Tags\/Outline.php":1347425197,"src\/Components\/Paginators\/Base.php":1248793188,"src\/Components\/Banners\/WithOffsetCard.php":2034512612,"src\/Components\/Banners\/BottomTitle.php":206731089,"src\/Components\/Banners\/WithFullWidthOverlay.php":202811210,"src\/Components\/Carousel\/Base.php":2260689818,"src\/Components\/Carousel\/Split\/Slide.php":2768992717,"src\/Components\/Carousel\/Base\/Slide.php":630650441,"src\/Components\/Carousel\/Split.php":892616220,"src\/Components\/Button\/Solid.php":1316935927,"src\/Components\/Button\/Outline.php":2016858168,"src\/ServiceProvider.php":305111830,"src\/NUKernlUIBladeComponentsServiceProvider.php":1052789539}} \ No newline at end of file +{"php":"8.2.9","version":"3.24.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"curly_braces_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Button\/Outline.php":"9e617e2af321adc0146286fd6bf9e0ed","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d"}} \ No newline at end of file diff --git a/src/Components/Cards/Event.php b/src/Components/Cards/Event.php index 501d26a..fe7f345 100644 --- a/src/Components/Cards/Event.php +++ b/src/Components/Cards/Event.php @@ -84,7 +84,7 @@ public function cardClasses() return $classes->push('flex', 'flex-col', 'lg:flex-row-reverse'); }) ->join(' ') - ; + ; } public function titleClasses() @@ -105,7 +105,7 @@ public function titleClasses() ]); }) ->join(' ') - ; + ; } public function bodyClasses() @@ -126,7 +126,7 @@ public function bodyClasses() ]); }) ->join(' ') - ; + ; } public function eventClasses() @@ -209,7 +209,7 @@ public function footerClasses() ]); }) ->join(' ') - ; + ; } public function footerTextClasses() @@ -219,7 +219,7 @@ public function footerTextClasses() 'text-sm', ]) ->join(' ') - ; + ; } public function render() diff --git a/src/Components/Cards/LinkWithMedia.php b/src/Components/Cards/LinkWithMedia.php index 6a99b99..593b324 100644 --- a/src/Components/Cards/LinkWithMedia.php +++ b/src/Components/Cards/LinkWithMedia.php @@ -77,7 +77,7 @@ public function cardClasses() return $classes->push('flex', 'flex-col', 'lg:flex-row-reverse'); }) ->join(' ') - ; + ; } public function titleClasses() @@ -97,7 +97,7 @@ public function titleClasses() ]); }) ->join(' ') - ; + ; } public function bodyClasses() @@ -114,7 +114,7 @@ public function bodyClasses() return $classes->merge(['py-8']); }) ->join(' ') - ; + ; } public function preHeaderClasses() @@ -135,7 +135,7 @@ public function preHeaderClasses() ]); }) ->join(' ') - ; + ; } @@ -157,7 +157,7 @@ public function messageClasses() ]); }) ->join(' ') - ; + ; } public function imageOuterImageContainerClasses() @@ -203,7 +203,7 @@ public function imageInnerImageContainerClasses() return $classes->push('aspect-w-16', 'aspect-h-9'); }) ->join(' ') - ; + ; } public function footerClasses() @@ -228,7 +228,7 @@ public function footerClasses() ]); }) ->join(' ') - ; + ; } public function footerTextClasses() @@ -252,7 +252,7 @@ public function footerTextClasses() ]); }) ->join(' ') - ; + ; } public function render() diff --git a/src/Components/Cards/LinkWithMediaAndActions.php b/src/Components/Cards/LinkWithMediaAndActions.php index 0c59b4f..eeec82c 100644 --- a/src/Components/Cards/LinkWithMediaAndActions.php +++ b/src/Components/Cards/LinkWithMediaAndActions.php @@ -87,7 +87,7 @@ public function cardClasses() return $classes->push('flex', 'flex-col', 'lg:flex-row-reverse'); }) ->join(' ') - ; + ; } public function titleClasses() @@ -107,7 +107,7 @@ public function titleClasses() ]); }) ->join(' ') - ; + ; } public function preHeaderClasses() @@ -128,7 +128,7 @@ public function preHeaderClasses() ]); }) ->join(' ') - ; + ; } @@ -150,7 +150,7 @@ public function messageClasses() ]); }) ->join(' ') - ; + ; } public function imageOuterImageContainerClasses() @@ -196,7 +196,7 @@ public function imageInnerImageContainerClasses() return $classes->push('aspect-w-16', 'aspect-h-9'); }) ->join(' ') - ; + ; } public function render() diff --git a/src/Components/Cards/SimpleLink.php b/src/Components/Cards/SimpleLink.php index e92f4bf..0f928f9 100644 --- a/src/Components/Cards/SimpleLink.php +++ b/src/Components/Cards/SimpleLink.php @@ -71,7 +71,7 @@ public function cardClasses() return $classes->push('text-white', 'bg-red-600', 'hover:bg-red-800'); }) ->join(' ') - ; + ; } public function titleClasses() @@ -84,7 +84,7 @@ public function titleClasses() return $classes->merge(['text-sm']); }) ->join(' ') - ; + ; } public function bodyClasses() @@ -101,7 +101,7 @@ public function bodyClasses() return $classes->merge(['text-xs']); }) ->join(' ') - ; + ; } public function render() diff --git a/src/Components/Cards/SimpleWithActions.php b/src/Components/Cards/SimpleWithActions.php index 2b74be4..3a1a755 100644 --- a/src/Components/Cards/SimpleWithActions.php +++ b/src/Components/Cards/SimpleWithActions.php @@ -69,7 +69,7 @@ public function cardClasses() return $classes->push('text-white', 'bg-red-600'); }) ->join(' ') - ; + ; } public function titleClasses() @@ -82,7 +82,7 @@ public function titleClasses() return $classes->push('text-sm'); }) ->join(' ') - ; + ; } public function bodyClasses() From 909c7181410842a65b2dffd6cb7a14016c11f154 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 31 Aug 2023 22:38:13 -0700 Subject: [PATCH 04/31] Update README --- README.md | 176 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 99 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index 16679c8..8d4a49f 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@ Package of Blade components for Northeastern University websites ## Prequisites In order to use this package +- Your project must support PHP v7.3+ (Laravel 8) or PHP v8.1+ (Laravel 9). - Your project must be using the [@northeastern-web/kernl-ui JavaScript and CSS package](https://npmjs.com/package/@northeastern-web/kernl-ui). -- Your project also must support the new [Laravel Blade 7 components](https://laravel.com/docs/7.x/blade#components). +- Your project also must support [Laravel Blade 8 components](https://laravel.com/docs/8.x/blade#components) or [Laravel Blade 9 components](https://laravel.com/docs/9.x/blade#components). ## Installation @@ -66,6 +67,23 @@ module.exports = { To use the components in a Laravel app, the Service Provider should be loaded automatically, requiring no extra configuration. +### Roots Sage/Acorn +To use the components in a WordPress theme powered by [Sage](https://roots.io/sage/) or using the [Acorn](https://roots.io/acorn/) package, load the `Northeastern\Blade\NUKernlUIBladeComponentsServiceProvider` class in the `config/app.php` file under `'providers'`: + +```php +// config/app.php + +'providers' => [ + // ... Other Providers + + /** + * Application Service Providers + */ + App\Providers\ThemeServiceProvider::class, + Northeastern\Blade\NUKernlUIBladeComponentsServiceProvider::class +] +``` + ### Tighten Jigsaw To use the components in a [tightenco/jigsaw](https://jigsaw.tighten.co), load the `Northeastern\Blade\JigsawServiceProvider` class in the Jigsaw `beforeBuild` event: @@ -268,7 +286,7 @@ Any additional classes or attributes you put on the component will be passed thr ### Banners -### With Offset Card +#### With Offset Card To use the With Offset Card Banner component, add the following markup to your Blade template. @@ -280,11 +298,11 @@ To use the With Offset Card Banner component, add the following markup to your B ``` -#### `x-kernl-banners.with-offset-card` Props +##### `x-kernl-banners.with-offset-card` Props - `background-url` - URL of background image to be applied. -### Bottom Title +#### Bottom Title To use the Bottom Title Banner component, add the following markup to your Blade template. @@ -295,7 +313,7 @@ To use the Bottom Title Banner component, add the following markup to your Blade /> ``` -#### `x-kernl-banners.bottom-title` Props +##### `x-kernl-banners.bottom-title` Props - `background-url` - URL of background image to be applied. - `title` - Title to be presented. @@ -321,7 +339,11 @@ By default, the button components will render a `button` element. If you need an Any additional classes or attributes you put on the component will be passed through. ```blade - + Button ``` @@ -334,7 +356,7 @@ Any additional classes or attributes you put on the component will be passed thr ### Carousels -### Base and Base Slide +#### Base and Base Slide To use the Carousel Base and Base Slide component, add the following markup to your Blade template. @@ -357,11 +379,11 @@ To use the Carousel Base and Base Slide component, add the following markup to y ``` -#### `x-kernl-carousel.base` Props +##### `x-kernl-carousel.base` Props - `delay` - (optional) The delay that the slides should rotate at in milliseconds. Default value is 5000. -#### `x-kernl-carousel.base.slide` Props +##### `x-kernl-carousel.base.slide` Props - `index` - The index of the slide. _Each slide's index should increment by 1, starting at 0._ - `background-classes` - (optional) Any classes you want to apply to the outer element. @@ -369,7 +391,7 @@ To use the Carousel Base and Base Slide component, add the following markup to y Any additional attributes you add to the Base Slide component (`style`, etc.), will be passed through to the background element. -### Split and Split Slide +#### Split and Split Slide To use the Split Carousel and Split Slide component, add the following markup to your Blade template. @@ -387,12 +409,12 @@ To use the Split Carousel and Split Slide component, add the following markup to ``` -#### `x-kernl-carousel.split` Props +##### `x-kernl-carousel.split` Props - `height-classes` - Classes to set the overall height on the carousel. Should be double each slide height when slides are stacked (mobile). - `delay` - (optional) The delay that the slides should rotate at in milliseconds. Default value is 5000. -#### `x-kernl-carousel.split.slide` Props +##### `x-kernl-carousel.split.slide` Props - `index` - The index of the slide. _Each slide's index should increase by 1, starting at 0._ - `class` - Any classes you want to apply to the element around the slot. This should be used to pass in the height classes. @@ -414,7 +436,7 @@ To use the Loader component, light or dark, add the following markup to your Bla ``` -#### `x-kernl-loaders.light` Props +##### `x-kernl-loaders.light` Props - `x-show` - (optional) Used to show/hide the loader based on an Alpine.js property @@ -429,13 +451,13 @@ To use the Loader component, light or dark, add the following markup to your Bla ``` -#### `x-kernl-loaders.dark` Props +##### `x-kernl-loaders.dark` Props - `x-show` - (optional) Used to show/hide the loader based on an Alpine.js property ### Tags -### Solid +#### Solid To use the Solid Tag component, add the following markup to your Blade template. @@ -449,13 +471,13 @@ To use the Solid Tag component, add the following markup to your Blade template. ``` -#### `x-kernl-tags.solid` Props +##### `x-kernl-tags.solid` Props - `color` - Color for text/background. Default is `dark` - `pill` - (optional) Rounds corners for a pill-like appearance. Default is `false` - `uppercase` - (optional) Uppercase content. Default is `false` -### Outline +#### Outline To use the Outline Tag component, add the following markup to your Blade template. @@ -469,7 +491,7 @@ To use the Outline Tag component, add the following markup to your Blade templat ``` -#### `x-kernl-tags.outline` Props +##### `x-kernl-tags.outline` Props - `color` - Color for text/border. Default is `dark` - `pill` - (optional) Rounds corners for a pill-like appearance. Default is `false` @@ -477,7 +499,7 @@ To use the Outline Tag component, add the following markup to your Blade templat ### Modals -### Base Modal +#### Base Modal To use the Base Modal component, add the following markup to your Blade template. The modal can be triggered from anywhere on your page using the `NUModals.open` and `NUModals.close` methods. @@ -495,7 +517,7 @@ To use the Base Modal component, add the following markup to your Blade template ``` -#### `x-kernl-modals.base` Props +##### `x-kernl-modals.base` Props - `id` - ID of the modal. Must be unique throughout the app. This ID can be used with `window.NUModals` methods - `closeable` - (optional) Adds close button at the top right corner. `true` by default @@ -504,7 +526,7 @@ To use the Base Modal component, add the following markup to your Blade template ### Footer -### Local +#### Local To use the Local Footer component, add the following markup to your Blade template. @@ -528,30 +550,30 @@ To use the Local Footer component, add the following markup to your Blade templa ``` -#### Props +##### `x-kernl-footers.local` Props - `links` = Array of titles and links for the navigation sections of the footer. Each title can have a `children` key that's an array of more titles/links. These titles/links will be displayed below the parent title. Example: -```php -$links = [ - [ - 'text' => 'About', - 'href' => '/about', // (optional) - 'children' => [ - [ - 'text' => 'Careers', - 'href' => '/about/careers', - ], - [ - 'text' => 'Staff', - 'href' => '/about/staff', + ```php + $links = [ + [ + 'text' => 'About', + 'href' => '/about', // (optional) + 'children' => [ + [ + 'text' => 'Careers', + 'href' => '/about/careers', + ], + [ + 'text' => 'Staff', + 'href' => '/about/staff', + ], ], ], - ], - // ... More links -]; -``` + // ... More links + ]; + ``` - `logo-url` - (optional) URL for the footer logo. - `facebook-url` - (optional) Facebook URL for the footer. Adding the URL will display the respective social network icon. @@ -561,7 +583,7 @@ $links = [ - `twitter-url` - (optional) Twitter URL for the footer. Adding the URL will display the respective social network icon. - `instagram-url` - (optional) Instagram URL for the footer. Adding the URL will display the respective social network icon. -## PreFooter +#### PreFooter To use the PreFooter component, use the following markup to your Blade Template. Note, for a multi-column layout the element will need to be wrapped in a foreach loop, or manually populated. @@ -574,32 +596,32 @@ To use the PreFooter component, use the following markup to your Blade Template. :title="" :link="" :description="" - > - + /> + ``` -#### `x-kernl-footers.base` Props +##### `x-kernl-footers.pre-footer.base` Props - `columns` - (optional) Set the number of grid columns to display on large screens. Default is 3. -#### `x-kernl-footers.base` Props +##### `x-kernl-footers.pre-footer.column` Props - `featherIcon` - (optional) Choose a Feather Icon from https://feathericons.com/ and enter the name of it here. - `title` - (required) The title of the PreFooter column. - `description` - (required) A description of the PreFooter column. - `link` - (required) This will be an array that must include a url, and optionally a target. Example: -```php - $link = [ - 'url' => 'https://www.google.com', - 'target' => '_blank' - ] -``` + ```php + $link = [ + 'url' => 'https://www.google.com', + 'target' => '_blank' + ] + ``` ### Tabs -### Underlined +#### Underlined ```blade @@ -617,17 +639,17 @@ To use the PreFooter component, use the following markup to your Blade Template. ``` -#### `x-kernl-tabs.underlined` Props +##### `x-kernl-tabs.underlined` Props - `default-active` - (optional) Index of the initial active tab. Default is 0 (zero). -#### `x-kernl-tabs.underlined.item` Props +##### `x-kernl-tabs.underlined.item` Props - `title` - Title of the tab contents Any additional classes or attributes you put on the `item` component will be passed through. -### Bordered +#### Bordered ```blade @@ -645,17 +667,17 @@ Any additional classes or attributes you put on the `item` component will be pas ``` -#### `x-kernl-tabs.bordered` Props +##### `x-kernl-tabs.bordered` Props - `default-active` - (optional) Index of the initial active tab. Default is 0 (zero). -#### `x-kernl-tabs.bordered.item` Props +##### `x-kernl-tabs.bordered.item` Props - `title` - Title of the tab contents Any additional classes or attributes you put on the `item` component will be passed through. -### Detached +#### Detached ```blade @@ -673,11 +695,11 @@ Any additional classes or attributes you put on the `item` component will be pas ``` -#### `x-kernl-tabs.detached` Props +##### `x-kernl-tabs.detached` Props - `default-active` - (optional) Index of the initial active tab. Default is 0 (zero). -#### `x-kernl-tabs.detached.item` Props +##### `x-kernl-tabs.detached.item` Props - `title` - Title of the tab contents @@ -685,7 +707,7 @@ Any additional classes or attributes you put on the `item` component will be pas ### Heroes -### Split Layout Media Content +#### Split Layout Media Content ```blade ``` -#### `x-kernl-heroes.split-layout-content-media` Props +##### `x-kernl-heroes.split-layout-content-media` Props - `media-url` - Url of image to show - `title` - Title of content @@ -714,9 +736,9 @@ Any additional classes or attributes you put on the `item` component will be pas Any additional classes or attributes you put on the component will be passed through. -> Note: when using the \$slot version, title, body, call-to-action and call-to-action-url are not required. +> Note: when using the `$slot` version, `title`, `body`, `call-to-action` and `call-to-action-url` are not required. -### Full Background Media Centered Content +#### Full Background Media Centered Content ```blade ``` -#### `x-kernl-heroes.full-centered-content` Props +##### `x-kernl-heroes.full-centered-content` Props - `title` - Title of content - `subtitle` - Subtitle of content @@ -781,7 +803,7 @@ Any additional classes or attributes you put on the `base` component will be pas ### Cards -### Simple Link +#### Simple Link ```blade ``` -#### `x-kernl-cards.simple-link` Props +##### `x-kernl-cards.simple-link` Props - `title` - Title text - `body` - Body text @@ -821,9 +843,9 @@ Any additional classes or attributes you put on the `base` component will be pas Any additional classes or attributes you put on the component will be passed through. -> Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively. +> Note: `$slot` version has two named slots: `'main'` and `'footer'`. Use them to override the main and footer content respectively. -### Simple With Actions +#### Simple With Actions ```blade ``` -#### `x-kernl-cards.simple-with-actions` Props +##### `x-kernl-cards.simple-with-actions` Props - `title` - Title text - `body` - Body text @@ -870,7 +892,7 @@ Any additional classes or attributes you put on the component will be passed thr > Note: \$slot version has two named slots: 'main' and 'actions'. Use them to override the main and actions content respectively. -### Link With Media +#### Link With Media ```blade ``` -#### `x-kernl-cards.link-with-media` Props +##### `x-kernl-cards.link-with-media` Props - `title` - Title text - `body` - Body text @@ -927,11 +949,11 @@ Any additional classes or attributes you put on the component will be passed thr Any additional classes or attributes you put on the component will be passed through. -> Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively. +> Note: `$slot` version has two named slots: `'main'` and `'footer'`. Use them to override the main and footer content respectively. > > Note: The `@tailwindcss/aspect-ratio` plugin is required for the this component to work correctly. Please see [documentation](https://northeastern.netlify.app/docs/plugins/#tailwind-aspect-ratio) -### Link With Media And Actions +#### Link With Media And Actions ```blade ``` -#### `x-kernl-cards.link-with-media-and-actions` Props +##### `x-kernl-cards.link-with-media-and-actions` Props - `title` - Title text - `body` - Body text @@ -990,11 +1012,11 @@ Any additional classes or attributes you put on the component will be passed thr Any additional classes or attributes you put on the component will be passed through. -> Note: \$slot version has two named slots: 'main' and 'actions'. Use them to override the main and actions content respectively. +> Note: `$slot` version has two named slots: `'main'` and `'actions'`. Use them to override the main and actions content respectively. > > Note: The `@tailwindcss/aspect-ratio` plugin is required for the this component to work correctly. Please see [documentation](https://northeastern.netlify.app/docs/plugins/#tailwind-aspect-ratio) -### Event +#### Event ```blade Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively. +> Note: `$slot` version has two named slots: `'main'` and `'footer'`. Use them to override the main and footer content respectively. > > Note: The `@tailwindcss/aspect-ratio` plugin is required for the this component to work correctly. Please see [documentation](https://northeastern.netlify.app/docs/plugins/#tailwind-aspect-ratio) From 26e0774831792d6a80e322c285c8fe658975ddd6 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 31 Aug 2023 22:58:00 -0700 Subject: [PATCH 05/31] Fix formatting of mega-menu options in README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8d4a49f..a0670ec 100644 --- a/README.md +++ b/README.md @@ -198,13 +198,13 @@ To use the local header component, add the following markup to your Blade templa - `megaMenuCta` - If you select 'mega' as your `menuStyle`, you can add a CTA to the footer of each menu item. It should be formatted as such: -```php - $megaMenuCta = [ - "title" => "Your Link Title", - "url" => "https://yourlinkurl.com", - "target" => "_blank" - ] -``` + ```php + $megaMenuCta = [ + "title" => "Your Link Title", + "url" => "https://yourlinkurl.com", + "target" => "_blank" + ] + ``` - `megaMenuAlert` - This is an optional string that will place a badge next to the title of your CTA. From 6371424a10c98c56ccfc4c37781fba68f562c205 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 1 Sep 2023 00:24:03 -0700 Subject: [PATCH 06/31] Update README Card Event formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0670ec..fcb02ee 100644 --- a/README.md +++ b/README.md @@ -1052,7 +1052,7 @@ Any additional classes or attributes you put on the component will be passed thr ``` -#### `x-kernl-cards.event` Props +##### `x-kernl-cards.event` Props - `title` - Title text - `body` - Body text From 036e3ca071f359a14227604534aaf254ac67ffc0 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Fri, 1 Sep 2023 07:24:37 +0000 Subject: [PATCH 07/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 3993c9d..cd9e118 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.9","version":"3.24.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"curly_braces_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Button\/Outline.php":"9e617e2af321adc0146286fd6bf9e0ed","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d"}} \ No newline at end of file +{"php":"8.2.9","version":"3.25.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"curly_braces_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Button\/Outline.php":"9e617e2af321adc0146286fd6bf9e0ed","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d"}} \ No newline at end of file From 5f2792ea56c95763cc976d8c58d381eb8d94fad2 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 6 Oct 2023 09:25:32 -0700 Subject: [PATCH 08/31] Update light color variant to have hover:bg-white (#14) * Update light color to have hover:bg-white * Fix styling --------- Co-authored-by: cam-vanorman --- .php-cs-fixer.cache | 2 +- src/Components/Button/Outline.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index cd9e118..f88ded1 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.9","version":"3.25.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"curly_braces_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Button\/Outline.php":"9e617e2af321adc0146286fd6bf9e0ed","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d"}} \ No newline at end of file +{"php":"8.2.11","version":"3.34.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8"}} diff --git a/src/Components/Button/Outline.php b/src/Components/Button/Outline.php index 678fe9b..3a7697d 100644 --- a/src/Components/Button/Outline.php +++ b/src/Components/Button/Outline.php @@ -18,7 +18,7 @@ class Outline extends Component protected $colors = [ 'dark' => 'text-black border-black hover:text-white hover:bg-black', - 'light' => 'text-white border-white hover:text-black', + 'light' => 'text-white border-white hover:text-black hover:bg-white', 'medium-gray' => 'text-gray-600 border-gray-600 hover:text-white hover:bg-gray-600', 'light-gray' => 'text-gray-300 border-gray-300 hover:text-gray-900 hover:bg-gray-300', 'red' => 'text-red-600 border-red-600 hover:text-white hover:bg-red-600', From 241eec0e7c37ca9b08ad47d48b8a3a3b438a1698 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 6 Oct 2023 09:34:23 -0700 Subject: [PATCH 09/31] Mega menu > a11y Fixes (#13) * Update mega-menu formatting * Add link-with-children blade template for displaying a button for nav items with children links. * Update mega-menu templates and Add link + pop-out includes. * Update pop-out, link, and link with children templates to conform to local header links object * Update link templates * Update logoBlack to logoDark to conform to local-header props * Update mobile-navigation array references * Update mega-menu link with children, ->index * Update mega-menu link formatting * Update mega-menu pop-out formatting * Update support-navigation menu template * Add link-with-children and link to support-navigation includes * Update includes for support-naviagtion * Update pop-out mega-menu loop->index reference * Update mega-menu link-with-children with px-4 padding * Remove loop as it's an internal variable * Update logoWhite to logoLight in mobile-navigation * Fix styling * Update mega-menu link with px-4 padding --------- Co-authored-by: cam-vanorman --- .../mega-menu/link-with-children.blade.php | 40 +++++ .../includes/menus/mega-menu/link.blade.php | 12 ++ .../menus/mega-menu/pop-out.blade.php | 85 ++++++++++ .../link-with-children.blade.php | 123 ++++++++++++++ .../menus/support-navigation/link.blade.php | 31 ++++ src/views/menus/mega-menu.blade.php | 156 +++--------------- src/views/menus/mobile-navigation.blade.php | 43 +++-- src/views/menus/support-navigation.blade.php | 108 +----------- 8 files changed, 351 insertions(+), 247 deletions(-) create mode 100644 src/views/includes/menus/mega-menu/link-with-children.blade.php create mode 100644 src/views/includes/menus/mega-menu/link.blade.php create mode 100644 src/views/includes/menus/mega-menu/pop-out.blade.php create mode 100644 src/views/includes/menus/support-navigation/link-with-children.blade.php create mode 100644 src/views/includes/menus/support-navigation/link.blade.php diff --git a/src/views/includes/menus/mega-menu/link-with-children.blade.php b/src/views/includes/menus/mega-menu/link-with-children.blade.php new file mode 100644 index 0000000..74b46fe --- /dev/null +++ b/src/views/includes/menus/mega-menu/link-with-children.blade.php @@ -0,0 +1,40 @@ + \ No newline at end of file diff --git a/src/views/includes/menus/mega-menu/link.blade.php b/src/views/includes/menus/mega-menu/link.blade.php new file mode 100644 index 0000000..aa4640a --- /dev/null +++ b/src/views/includes/menus/mega-menu/link.blade.php @@ -0,0 +1,12 @@ + + {!! $item['text'] !!} + \ No newline at end of file diff --git a/src/views/includes/menus/mega-menu/pop-out.blade.php b/src/views/includes/menus/mega-menu/pop-out.blade.php new file mode 100644 index 0000000..35fe74a --- /dev/null +++ b/src/views/includes/menus/mega-menu/pop-out.blade.php @@ -0,0 +1,85 @@ +{{-- Mega Menu - Pop-out --}} + \ No newline at end of file diff --git a/src/views/includes/menus/support-navigation/link-with-children.blade.php b/src/views/includes/menus/support-navigation/link-with-children.blade.php new file mode 100644 index 0000000..c8a31af --- /dev/null +++ b/src/views/includes/menus/support-navigation/link-with-children.blade.php @@ -0,0 +1,123 @@ +
  • + + + + {{ $item['text'] }} + + + + + +
    + @foreach ($item['children'] as $child) + + + + + {!! $child['text'] !!} + + + @endforeach +
    +
  • \ No newline at end of file diff --git a/src/views/includes/menus/support-navigation/link.blade.php b/src/views/includes/menus/support-navigation/link.blade.php new file mode 100644 index 0000000..d47c262 --- /dev/null +++ b/src/views/includes/menus/support-navigation/link.blade.php @@ -0,0 +1,31 @@ +
  • + + + + {{ $item['text'] }} + + +
  • \ No newline at end of file diff --git a/src/views/menus/mega-menu.blade.php b/src/views/menus/mega-menu.blade.php index 0fb2dee..57cbe34 100644 --- a/src/views/menus/mega-menu.blade.php +++ b/src/views/menus/mega-menu.blade.php @@ -1,143 +1,39 @@ diff --git a/src/views/menus/support-navigation.blade.php b/src/views/menus/support-navigation.blade.php index 85edaee..307ea8f 100644 --- a/src/views/menus/support-navigation.blade.php +++ b/src/views/menus/support-navigation.blade.php @@ -2,10 +2,18 @@ @foreach ($supportNav as $item) @isset ($item['children']) @if(count($item['children']) > 0) - @include('kernl-ui::includes.menus.support-navigation.link-with-children', ['item' => $item]) + @include('kernl-ui::includes.menus.support-navigation.link-with-children', [ + 'item' => $item, + 'dark' => $dark, + 'currentPath' => $currentPath + ]) @else - @include('kernl-ui::includes.menus.support-navigation.link', ['item' => $item]) + @include('kernl-ui::includes.menus.support-navigation.link', [ + 'item' => $item, + 'dark' => $dark, + 'currentPath' => $currentPath + ]) @endif - @endif + @endisset @endforeach From 0e13d73c43eb442478ff388a51582dbbefdfa772 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:28:05 -0700 Subject: [PATCH 11/31] Update With Full Width Overlay Banner componentn background-colors and other classes --- .../Banners/WithFullWidthOverlay.php | 42 +++++++++++++++++-- .../banners/with-full-width-overlay.blade.php | 24 ++++------- 2 files changed, 46 insertions(+), 20 deletions(-) diff --git a/src/Components/Banners/WithFullWidthOverlay.php b/src/Components/Banners/WithFullWidthOverlay.php index 67d8afe..12d9729 100644 --- a/src/Components/Banners/WithFullWidthOverlay.php +++ b/src/Components/Banners/WithFullWidthOverlay.php @@ -3,23 +3,57 @@ use Illuminate\Support\Facades\View; use Illuminate\View\Component; +use InvalidArgumentException; class WithFullWidthOverlay extends Component { - public $includeImage; + public $solidBackgroundColor; public $backgroundUrl; + public $includeImage; public $height; - public $solidBackgroundColor; - public function __construct($includeImage = null, $backgroundUrl = null, $height = null, $solidBackgroundColor = null) + protected $colors = [ + 'dark' => ['text-white', 'bg-black'], + 'light' => ['text-gray-900', 'bg-white'], + 'medium-gray' => ['text-white', 'bg-gray-600'], + 'light-gray' => ['text-gray-900', 'bg-gray-300'], + 'red' => ['text-white', 'bg-red-600'], + 'blue' => ['text-white', 'bg-blue-700'], + 'green' => ['text-white', 'bg-green-600'], + 'yellow' => ['text-black', 'bg-yellow-300'], + ]; + + public function __construct($includeImage = null, $backgroundUrl = null, $height = null, $solidBackgroundColor = 'dark') { - $this->includeImage = $includeImage; $this->backgroundUrl = $backgroundUrl; + $this->includeImage = $includeImage; $this->height = $height; + + if (!array_key_exists($this->solidBackgroundColor, $this->colors)) { + throw new InvalidArgumentException('`' . $this->solidBackgroundColor . '` is not a supported color option.'); + } + $this->solidBackgroundColor = $solidBackgroundColor; } + public function height() + { + return ( + $this->height == 'half' + ? 'py-8 md:py-10 lg:py-16' + : 'py-16 md:py-20 lg:py-32' + ); + } + public function compiledClasses() + { + return $this->attributes->merge([ + 'class' => collect() + ->merge($this->height()) + ->merge($this->colors[$this->solidBackgroundColor]) + ->join(' '), + ]); + } public function render() { diff --git a/src/views/banners/with-full-width-overlay.blade.php b/src/views/banners/with-full-width-overlay.blade.php index 0be92b1..018c27f 100644 --- a/src/views/banners/with-full-width-overlay.blade.php +++ b/src/views/banners/with-full-width-overlay.blade.php @@ -1,23 +1,15 @@
    From 4aaeae9b4ce8e9ed48d20b5c274d32c0a621ab77 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:30:51 -0700 Subject: [PATCH 12/31] Update README with full width overlay banner info and update template --- README.md | 18 +++++++++++++++++- .../banners/with-full-width-overlay.blade.php | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcb02ee..5497f01 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ To use the With Offset Card Banner component, add the following markup to your B - {{--Card content goes here--}} + {{-- Card content goes here --}} ``` @@ -302,6 +302,22 @@ To use the With Offset Card Banner component, add the following markup to your B - `background-url` - URL of background image to be applied. +#### With Full Width Overlay + +To use the With Full Width Overlay + +```blade + + {{-- Banner Content goes here --}} + + +``` + #### Bottom Title To use the Bottom Title Banner component, add the following markup to your Blade template. diff --git a/src/views/banners/with-full-width-overlay.blade.php b/src/views/banners/with-full-width-overlay.blade.php index 018c27f..0182040 100644 --- a/src/views/banners/with-full-width-overlay.blade.php +++ b/src/views/banners/with-full-width-overlay.blade.php @@ -3,7 +3,7 @@ class=" {{ $compiledClasses }} bg-center bg-cover bg-no-repeat " - @if($includeImage !== false) + @if(!$includeImage) {!! $backgroundUrl ? ' style="background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(' . $backgroundUrl . ')"' From 2261c0bff5459fb03069770fbc0484090e4175d7 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:31:24 -0700 Subject: [PATCH 13/31] Update formatting of with-offset-card baner template --- src/views/banners/with-offset-card.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/banners/with-offset-card.blade.php b/src/views/banners/with-offset-card.blade.php index f0b12c6..7218d78 100644 --- a/src/views/banners/with-offset-card.blade.php +++ b/src/views/banners/with-offset-card.blade.php @@ -14,6 +14,6 @@ class="py-24 md:py-20 lg:py-32 bg-black bg-center bg-cover bg-no-repeat"
    - {{ $slot }} + {{ $slot }}
    From 25e511f8202ee0162a3230b1af14362d463142f9 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Thu, 2 Nov 2023 23:32:32 +0000 Subject: [PATCH 14/31] Fix styling --- .php-cs-fixer.cache | 2 +- src/Components/Banners/WithFullWidthOverlay.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index f88ded1..be02a1e 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.11","version":"3.34.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/Banners\/WithFullWidthOverlay.php":"dd2f1a1eb457e93144dbbb99f521d25f","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8"}} +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"a60aa2d87eeef05030459edf2b3793a6","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file diff --git a/src/Components/Banners/WithFullWidthOverlay.php b/src/Components/Banners/WithFullWidthOverlay.php index 12d9729..7141166 100644 --- a/src/Components/Banners/WithFullWidthOverlay.php +++ b/src/Components/Banners/WithFullWidthOverlay.php @@ -29,7 +29,7 @@ public function __construct($includeImage = null, $backgroundUrl = null, $height $this->includeImage = $includeImage; $this->height = $height; - if (!array_key_exists($this->solidBackgroundColor, $this->colors)) { + if (! array_key_exists($this->solidBackgroundColor, $this->colors)) { throw new InvalidArgumentException('`' . $this->solidBackgroundColor . '` is not a supported color option.'); } @@ -39,8 +39,8 @@ public function __construct($includeImage = null, $backgroundUrl = null, $height public function height() { return ( - $this->height == 'half' - ? 'py-8 md:py-10 lg:py-16' + $this->height == 'half' + ? 'py-8 md:py-10 lg:py-16' : 'py-16 md:py-20 lg:py-32' ); } From f233cb35f5b49e09e908a85273ebe65f76edf6c2 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:35:41 -0700 Subject: [PATCH 15/31] Update with-full-width-overlay banner template and Component class. Remove include-image prop. --- src/Components/Banners/WithFullWidthOverlay.php | 3 +-- src/views/banners/with-full-width-overlay.blade.php | 13 ++++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/Components/Banners/WithFullWidthOverlay.php b/src/Components/Banners/WithFullWidthOverlay.php index 12d9729..484cdfa 100644 --- a/src/Components/Banners/WithFullWidthOverlay.php +++ b/src/Components/Banners/WithFullWidthOverlay.php @@ -23,10 +23,9 @@ class WithFullWidthOverlay extends Component 'yellow' => ['text-black', 'bg-yellow-300'], ]; - public function __construct($includeImage = null, $backgroundUrl = null, $height = null, $solidBackgroundColor = 'dark') + public function __construct($backgroundUrl = null, $height = null, $solidBackgroundColor = 'dark') { $this->backgroundUrl = $backgroundUrl; - $this->includeImage = $includeImage; $this->height = $height; if (!array_key_exists($this->solidBackgroundColor, $this->colors)) { diff --git a/src/views/banners/with-full-width-overlay.blade.php b/src/views/banners/with-full-width-overlay.blade.php index 0182040..f0b7e31 100644 --- a/src/views/banners/with-full-width-overlay.blade.php +++ b/src/views/banners/with-full-width-overlay.blade.php @@ -3,13 +3,12 @@ class=" {{ $compiledClasses }} bg-center bg-cover bg-no-repeat " - @if(!$includeImage) - {!! - $backgroundUrl - ? ' style="background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(' . $backgroundUrl . ')"' - : '' - !!} - @endif + + {!! + $backgroundUrl + ? ' style="background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(' . $backgroundUrl . ')"' + : '' + !!} >
    From c758b8e8032cc5c7ff95744fc26992da636408dc Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:42:02 -0700 Subject: [PATCH 16/31] Update with-full-width-overlay banner template and README --- README.md | 9 ++++++++- src/views/banners/with-full-width-overlay.blade.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5497f01..b079cb5 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,6 @@ To use the With Full Width Overlay {{-- Banner Content goes here --}} @@ -318,6 +317,14 @@ To use the With Full Width Overlay ``` +##### `x-kernl-banners.with-full-width-overlay` Props + +- `background-url` - URL of background image to be applied. Leave blank to show only a `solid-background-color`. +- `solid-background-color` - Solid Background Color. + - Options: `red`, `blue`, `green`, `yellow`, `light`, `medium-gray`, `light-gray`, `dark`. +- `height` - Set the CSS class height to "half" or full. + - Options: `"half"` or leave empty for `"full"` height. + #### Bottom Title To use the Bottom Title Banner component, add the following markup to your Blade template. diff --git a/src/views/banners/with-full-width-overlay.blade.php b/src/views/banners/with-full-width-overlay.blade.php index f0b7e31..4e05691 100644 --- a/src/views/banners/with-full-width-overlay.blade.php +++ b/src/views/banners/with-full-width-overlay.blade.php @@ -5,7 +5,7 @@ class=" " {!! - $backgroundUrl + $backgroundUrl || !isset($backgroundUrl) ? ' style="background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(' . $backgroundUrl . ')"' : '' !!} From 23a539edb27a657b2a9f8394fc8ef60380858af8 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Thu, 2 Nov 2023 23:43:18 +0000 Subject: [PATCH 17/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index be02a1e..5217ad3 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"a60aa2d87eeef05030459edf2b3793a6","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"5dccea8e4f2d49da175c620ad7d9dbd7","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file From d74ab044f7d3d46a5e57b3df94e967c4b0009cec Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 16:55:49 -0700 Subject: [PATCH 18/31] Update ordering of params and where ->solidBackgroundColor is instantiated. --- src/Components/Banners/WithFullWidthOverlay.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Components/Banners/WithFullWidthOverlay.php b/src/Components/Banners/WithFullWidthOverlay.php index ee96e77..8d07393 100644 --- a/src/Components/Banners/WithFullWidthOverlay.php +++ b/src/Components/Banners/WithFullWidthOverlay.php @@ -23,16 +23,15 @@ class WithFullWidthOverlay extends Component 'yellow' => ['text-black', 'bg-yellow-300'], ]; - public function __construct($backgroundUrl = null, $height = null, $solidBackgroundColor = 'dark') + public function __construct($solidBackgroundColor = 'dark', $backgroundUrl = null, $height = null) { + $this->solidBackgroundColor = $solidBackgroundColor; $this->backgroundUrl = $backgroundUrl; $this->height = $height; if (! array_key_exists($this->solidBackgroundColor, $this->colors)) { throw new InvalidArgumentException('`' . $this->solidBackgroundColor . '` is not a supported color option.'); } - - $this->solidBackgroundColor = $solidBackgroundColor; } public function height() From ee5ccd237e65bee32569255f338de395b41fdde4 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Thu, 2 Nov 2023 23:56:19 +0000 Subject: [PATCH 19/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 5217ad3..6fefa83 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"5dccea8e4f2d49da175c620ad7d9dbd7","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file From 42fd4b8d7d75e3fdb0662b18ecb97e351d2b9d88 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Thu, 2 Nov 2023 17:10:08 -0700 Subject: [PATCH 20/31] Update class attribute in with-full-width-overlay banner component template --- src/views/banners/with-full-width-overlay.blade.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/banners/with-full-width-overlay.blade.php b/src/views/banners/with-full-width-overlay.blade.php index 4e05691..fba6818 100644 --- a/src/views/banners/with-full-width-overlay.blade.php +++ b/src/views/banners/with-full-width-overlay.blade.php @@ -1,12 +1,9 @@
    From c6b30efd8be8f8aee8fec90c138d247be040432e Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 3 Nov 2023 00:03:44 -0700 Subject: [PATCH 21/31] Add local-2 footer template from kernl(ui) pattern library --- src/views/footers/local-2.blade.php | 108 ++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 src/views/footers/local-2.blade.php diff --git a/src/views/footers/local-2.blade.php b/src/views/footers/local-2.blade.php new file mode 100644 index 0000000..b90fafb --- /dev/null +++ b/src/views/footers/local-2.blade.php @@ -0,0 +1,108 @@ +
    +
    +
    +
    + + {{ $logo }} + + + @isset($address) +
    + {{ $address }} +
    + @endisset + + @isset($phone) +
    + {{ $phone }} +
    + @endisset +
    + + @foreach($links as $link) +
    + + @isset($link['href']) + +

    + {{ data_get($link, 'text', '') }} +

    +
    + @else +

    + {{ data_get($link, 'text', '') }} +

    + @endisset + + @foreach(data_get($link, 'children', []) as $child) + + {{ data_get($child, 'text', '') }} + + @endforeach +
    + @endforeach + +
    + @if(isset($form) && is_array($form)) +
    +

    + {{ data_get($form, 'title', '') }} +

    + +

    + {{ data_get($form, 'description', '') }} +

    + +
    + + +
    + + +
    +
    +
    + @else + {{ $form }} + @endif + + @if (is_array($socialLinks)) +
    + @foreach ($socialLinks as $link) + + {{ data_get($link, 'text', '#') }} + + @endforeach +
    + @else + {{ $socialLinks }} + @endif +
    +
    +
    +
    \ No newline at end of file From af2e4bcbcd1a25e156421efb48031ce62f211364 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 3 Nov 2023 00:04:36 -0700 Subject: [PATCH 22/31] Update README with local-2 footer usage information --- README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b079cb5..73c3b4f 100644 --- a/README.md +++ b/README.md @@ -576,6 +576,7 @@ To use the Local Footer component, add the following markup to your Blade templa ##### `x-kernl-footers.local` Props - `links` = Array of titles and links for the navigation sections of the footer. Each title can have a `children` key that's an array of more titles/links. These titles/links will be displayed below the parent title. + Example: ```php @@ -606,9 +607,79 @@ To use the Local Footer component, add the following markup to your Blade templa - `twitter-url` - (optional) Twitter URL for the footer. Adding the URL will display the respective social network icon. - `instagram-url` - (optional) Instagram URL for the footer. Adding the URL will display the respective social network icon. +#### Local 2 + +To use the Local 2 Footer component, add the following markup to your Blade template. + +```blade + + + {{-- Insert SVG logo here --}} + + + {{-- Insert address here --}} + + + {{-- Insert phone number(s) here --}} + + + {{-- Insert your custom form code --}} + + +``` + +##### `x-kernl-footers.local-2` Props +- `logo-url` - (optional) URL for the footer logo. +- `links` = Array of titles and links for the navigation sections of the footer. Each title can have a `children` key that's an array of more titles/links. These titles/links will be displayed below the parent title. + + Example: + + ```php + $links = [ + [ + 'text' => 'About', + 'href' => '/about', // (optional) + 'children' => [ + [ + 'text' => 'Careers', + 'href' => '/about/careers', + ], + [ + 'text' => 'Staff', + 'href' => '/about/staff', + ], + ], + ], + // ... More links + ]; + ``` +- `form` - (optional) Array of values for configuring a form for the footer (e.g., newsletter sign-up). This can also be fully customized in a `` nested component instead. + - `action` - Where the form should submit to be processed (e.g., Mailchimp Newsletter URL or other 3rd-party form processor). + - `title` - Heading 3 title for the form (e.g., "Subscribe today!") +- `social-links` - (optional) Array of titles and links for the social links section of the footer. These are presented as plain-text with a link. + + Example: + + ```php + $socialLinks = [ + [ + 'text' => 'Facebook', + 'href' => 'https://facebook.com/your-social-media-presence', + ], + // ... More social links + ]; + ``` + + #### PreFooter -To use the PreFooter component, use the following markup to your Blade Template. Note, for a multi-column layout the element will need to be wrapped in a foreach loop, or manually populated. +To use the PreFooter component, use the following markup to your Blade Template. + +> **Note**: for a multi-column layout the `` element will need to be wrapped in a foreach loop, or manually populated. ```blade Date: Fri, 3 Nov 2023 16:26:33 -0700 Subject: [PATCH 23/31] Add Local2 Class for local-2 kernl-footer component --- src/Components/Footers/Local2.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/Components/Footers/Local2.php diff --git a/src/Components/Footers/Local2.php b/src/Components/Footers/Local2.php new file mode 100644 index 0000000..c8215ea --- /dev/null +++ b/src/Components/Footers/Local2.php @@ -0,0 +1,31 @@ +links = $links; + + $this->logoUrl = $logoUrl; + + $this->socialLinks = $socialLinks + } + + public function render() + { + return View::make('kernl-ui::footers.local-2'); + } +} From 8328b4a3a4a6a78a456877c05ff403fa8cf392ce Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 3 Nov 2023 16:30:13 -0700 Subject: [PATCH 24/31] Fix Local2 component class. Missing semi-colon on socialLinks --- src/Components/Footers/Local2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Footers/Local2.php b/src/Components/Footers/Local2.php index c8215ea..c63ac59 100644 --- a/src/Components/Footers/Local2.php +++ b/src/Components/Footers/Local2.php @@ -21,7 +21,7 @@ public function __construct( $this->logoUrl = $logoUrl; - $this->socialLinks = $socialLinks + $this->socialLinks = $socialLinks; } public function render() From 233d4b082fca1a6cfa7cfefbff1ebe9845521f88 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Fri, 3 Nov 2023 23:30:35 +0000 Subject: [PATCH 25/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 6fefa83..71ce800 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48"}} \ No newline at end of file +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/Components\/Footers\/Local2.php":"cd9b9a03189f50d58e4b7484fbe04665"}} \ No newline at end of file From 7e1bba4f9ee00757d708c513baaaa9f934895f80 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 3 Nov 2023 16:37:15 -0700 Subject: [PATCH 26/31] Update serviceprovider with local2 class --- src/ServiceProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index e923546..05d95b0 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -23,6 +23,7 @@ use Northeastern\Blade\Components\Carousel\Split as CarouselSplit; use Northeastern\Blade\Components\Carousel\Split\Slide as CarouselSplitSlide; use Northeastern\Blade\Components\Footers\Local as FooterLocal; +use Northeastern\Blade\Components\Footers\Local2 as FooterLocal2; use Northeastern\Blade\Components\Footers\PreFooter\Base as PreFooterBase; use Northeastern\Blade\Components\Footers\PreFooter\Column as PreFooterColumn; use Northeastern\Blade\Components\Heroes\CenteredContent as HeroesCenteredContent; @@ -65,6 +66,7 @@ class ServiceProvider extends BaseServiceProvider TagsOutline::class => 'kernl-tags.outline', ModalsBase::class => 'kernl-modals.base', FooterLocal::class => 'kernl-footers.local', + FooterLocal2::class => 'kernl-footers.lcoal-2', PreFooterBase::class => 'kernl-footers.pre-footer.base', PreFooterColumn::class => 'kernl-footers.pre-footer.column', Scripts::class => 'kernl-scripts', From 97469369856eaf19be84c5c24ca06d5c8e4457a2 Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Fri, 3 Nov 2023 23:38:15 +0000 Subject: [PATCH 27/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 71ce800..8dcf246 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"e7d8f7406223665684db736bbdd6292f","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/Components\/Footers\/Local2.php":"cd9b9a03189f50d58e4b7484fbe04665"}} \ No newline at end of file +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"5bae0e71d9595e558884d70e6e75cbb4","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/Components\/Footers\/Local2.php":"cd9b9a03189f50d58e4b7484fbe04665"}} \ No newline at end of file From 5fee7dba5af2eda80f688bcdecfd0591bbc63444 Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Fri, 3 Nov 2023 19:10:07 -0700 Subject: [PATCH 28/31] Update typo in service provider --- src/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 05d95b0..36b2b0c 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -66,7 +66,7 @@ class ServiceProvider extends BaseServiceProvider TagsOutline::class => 'kernl-tags.outline', ModalsBase::class => 'kernl-modals.base', FooterLocal::class => 'kernl-footers.local', - FooterLocal2::class => 'kernl-footers.lcoal-2', + FooterLocal2::class => 'kernl-footers.local-2', PreFooterBase::class => 'kernl-footers.pre-footer.base', PreFooterColumn::class => 'kernl-footers.pre-footer.column', Scripts::class => 'kernl-scripts', From 2297c8079214a93cef633b4fe21648f8df42940a Mon Sep 17 00:00:00 2001 From: cam-vanorman Date: Sat, 4 Nov 2023 02:11:19 +0000 Subject: [PATCH 29/31] Fix styling --- .php-cs-fixer.cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 8dcf246..e6a7696 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"5bae0e71d9595e558884d70e6e75cbb4","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/Components\/Footers\/Local2.php":"cd9b9a03189f50d58e4b7484fbe04665"}} \ No newline at end of file +{"php":"8.2.12","version":"3.37.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true},"hashes":{"src\/ServiceProvider.php":"708a85a951b3a91c33d260d8b4bbf2bf","src\/Components\/Scripts.php":"f3fcd10b92f62b95ff6b0c716118cb64","src\/Components\/Button\/Outline.php":"e2e282f1dc66eb1acdd3a5bccd8ed379","src\/Components\/Button\/Solid.php":"9ea65bb822e030400417624822bf2907","src\/Components\/Loaders\/Dark.php":"329c818a0890623d897ebcc2a9c847c0","src\/Components\/Loaders\/Light.php":"83648ea1ac3cfdcd9470b76dc66b02e8","src\/Components\/Footers\/PreFooter\/Column.php":"a217dee9143f35d5cb7c9903f4b13562","src\/Components\/Footers\/PreFooter\/Base.php":"b50cfe70ff8c0b624fc60353cd714878","src\/Components\/Footers\/Local.php":"65cc38f43ad7b246f6e5d53fadb7c5c5","src\/Components\/Heroes\/CenteredContent.php":"bca35bb52f8365e5c8e4042a09b87708","src\/Components\/Heroes\/SplitLayoutContentMedia.php":"b3a6586ff513e5347cc08424d92ff18d","src\/Components\/Tabs\/Detached.php":"72b8a2f62385c99f2d47d5024a616cf1","src\/Components\/Tabs\/Detached\/Item.php":"ab1af8c3b7b898d3d5ae69bb34884bb9","src\/Components\/Tabs\/Underlined.php":"82a7d258598304d23f70e69a3e1d8915","src\/Components\/Tabs\/Bordered.php":"c033243f99c5d4aa70ecaaf84d28876b","src\/Components\/Tabs\/Underlined\/Item.php":"7509443d228419cf8bbf0e67b47e5f9c","src\/Components\/Tabs\/Bordered\/Item.php":"6844f96b63c6e977d443e2498f825011","src\/Components\/Paginators\/Base.php":"e295398d79a8963dba3fe16b7a5f8191","src\/Components\/Banners\/WithOffsetCard.php":"915c903e1232bbd9c6cc4c97001f387d","src\/Components\/Banners\/WithFullWidthOverlay.php":"9d556c4b853ddfc77c6e4478a59445d4","src\/Components\/Banners\/BottomTitle.php":"af594993861adb28d8b0a7ed6c3dd8a6","src\/Components\/Alert\/FullWidth.php":"a1a8bc79c6cf10c832258d01c6430f56","src\/Components\/Alert\/Contained.php":"90fe5d5bff8a94943bdbc5786cab651f","src\/Components\/Carousel\/Base\/Slide.php":"d5d58f79686f5b3ac552cc415b4fceb1","src\/Components\/Carousel\/Split\/Slide.php":"ba13af89c29913b7974a84efa5873e1f","src\/Components\/Carousel\/Base.php":"f9a54cf71039a0f068a7e36561f0c47a","src\/Components\/Carousel\/Split.php":"c212c52ce4e66eeff949325b3b887662","src\/Components\/Accordion\/Item.php":"5342be92060b8e45c832df27718bb0cd","src\/Components\/Accordion\/WithLeftIcon.php":"21ed529eb15927895833589681fc9d33","src\/Components\/Accordion\/Base.php":"10e3e62b6d3294fcbb2507cfca9eb242","src\/Components\/Selects\/Select.php":"8752f139268817780d1557e92133310b","src\/Components\/Modals\/Base.php":"b8688ef92baedbf83cebd03f2a4826cd","src\/Components\/InteriorNavigation\/Base.php":"5162a261785f213afeb10d9aaa9a9e11","src\/Components\/LocalHeader.php":"f83c53d2f571efeceb860951a2219807","src\/Components\/Cards\/LinkWithMediaAndActions.php":"7007df6d74f8732563a03a895172382b","src\/Components\/Cards\/Event.php":"d812b1df143c9538443ec2626bc358c1","src\/Components\/Cards\/LinkWithMedia.php":"6bdfe6468cec11e3e8056a32457272cb","src\/Components\/Cards\/SimpleWithActions.php":"51b5b98b8b9e65750b2355fbc8cfda17","src\/Components\/Cards\/SimpleLink.php":"ba9e52daffee77e61a361f022a73203d","src\/Components\/Tags\/Outline.php":"866bcaae1bcfd2f136446ec18ee02897","src\/Components\/Tags\/Solid.php":"216a0d61df0f9709401480022e5c6338","src\/NUKernlUIBladeComponentsServiceProvider.php":"f739c78a30fb7db0c4438d9e9f718ee8","src\/JigsawServiceProvider.php":"a7e8ed87f74af3a10a984fcfb80caf48","src\/Components\/Footers\/Local2.php":"cd9b9a03189f50d58e4b7484fbe04665"}} \ No newline at end of file From 0694f79b67d8e7cf0be74634fd93dcccc4fe86fd Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Tue, 7 Nov 2023 20:22:28 -0800 Subject: [PATCH 30/31] Update script to push to 'script' in the layout template --- .../includes/headers/search-desktop.blade.php | 132 +++++++++--------- 1 file changed, 67 insertions(+), 65 deletions(-) diff --git a/src/views/includes/headers/search-desktop.blade.php b/src/views/includes/headers/search-desktop.blade.php index ddd18f7..71aa11a 100644 --- a/src/views/includes/headers/search-desktop.blade.php +++ b/src/views/includes/headers/search-desktop.blade.php @@ -79,83 +79,85 @@ class="hidden absolute top-0 right-0 m-4 text-gray-200 sm:inline-block hover:tex
    - + + @endpush @endif From 17cc9f391426620792ba647b2b7a52a59198adfc Mon Sep 17 00:00:00 2001 From: Cameron Van Orman Date: Tue, 7 Nov 2023 20:23:16 -0800 Subject: [PATCH 31/31] Update Local Header template where ternary operation was duplicated. --- src/views/local-header.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/local-header.blade.php b/src/views/local-header.blade.php index 3351f97..5b5d8e0 100644 --- a/src/views/local-header.blade.php +++ b/src/views/local-header.blade.php @@ -44,7 +44,7 @@ class="ml-6 xl:hidden focus:outline-none focus:ring focus:ring-blue-500" data-toggle="collapse" data-target="#navbarContent" aria-controls="navbarContent" - x-bind:aria-expanded="navIsOpen ? 'true' : 'false' ? 'true' : 'false'" + x-bind:aria-expanded="navIsOpen ? 'true' : 'false'" aria-label="Toggle navigation" x-on:click="navIsOpen = ! navIsOpen" >