Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #158

Merged
merged 34 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9c16735
feat(YALB-898): Add favicons
codechefmarc Jul 13, 2023
0c2e9c5
fix(yalb-1407): move quote p element flex/margin fix to atomic as it'…
joetower Jul 18, 2023
1439310
Merge pull request #149 from yalesites-org/YALB-898--favicon
codechefmarc Jul 18, 2023
05afc6e
fix(YALB-1394): fix header level for accordion items
dblanken-yale Jul 18, 2023
0b1e337
chore(YALB-1394): fix linting/formatting
dblanken-yale Jul 18, 2023
6e50b78
fix(yalb-1461): wip admin color changes
joetower Jul 18, 2023
ed020f9
fix(YALB-1394): Check to see if we have a parent entity - fix error n…
codechefmarc Jul 18, 2023
00d0001
fix(YALB-1394): pass correct field_heading element
dblanken-yale Jul 19, 2023
ddc5ea1
fix(YALB-1394): pass correct media_grid__heading
dblanken-yale Jul 19, 2023
6c2997f
fix(YALB-1394): pass correct media_grid__heading
dblanken-yale Jul 19, 2023
bd0e5d9
fix(YALB-1394): pass corrrect modal_item__heading
dblanken-yale Jul 19, 2023
677acf1
fix(yalb-1461): wip admin color changes, update toolbar
joetower Jul 19, 2023
b610924
fix(yalb-1461): fix button-link component width on post/event content
joetower Jul 19, 2023
3778ac3
fix(yalb-1461): fix table rows
joetower Jul 20, 2023
265680b
fix(yalb-1461): fix admin colors
joetower Jul 20, 2023
edaf00f
fix(yalb-1461): fixes for media library and specific field variations
joetower Jul 24, 2023
752d4a0
Merge pull request #152 from yalesites-org/YALB-1394-bug-accessibilit…
dblanken-yale Jul 24, 2023
38b2d20
fix(YALB-1422): create ckeditor css overrides
dblanken-yale Jul 21, 2023
8c0117f
feat(YALB-1442): style table modal
dblanken-yale Jul 21, 2023
70f54db
fix(YALB-1442): style select and remove tr colors
dblanken-yale Jul 21, 2023
5f6b765
fix(YALB-1442): fix title to match other styling
dblanken-yale Jul 21, 2023
04fef26
chore(YALB-1442): Add comments to styling decision
dblanken-yale Jul 21, 2023
b582d67
fix(YALB-1442): Fix contrast ratio for title
dblanken-yale Jul 24, 2023
4e24583
fix(yalb-1461): fixes views displays
joetower Jul 24, 2023
2152113
fix(yalb-1461): remove wool background from editable content area
joetower Jul 24, 2023
d72b522
fix(yalb-1461): fix accordion and button block headings
joetower Jul 25, 2023
2cd67af
fix(yalb-1461): change --gin-bg-app and ::selection colors
joetower Jul 25, 2023
1196efe
fix(yalb-1461): fix reverted file values
joetower Jul 25, 2023
bfc6cf7
Merge pull request #155 from yalesites-org/YALB-1442-wysiwyg-creating…
dblanken-yale Jul 25, 2023
9fe8cf0
Merge pull request #151 from yalesites-org/yalb-1407-1454
joetower Jul 26, 2023
59e5e2a
Merge pull request #153 from yalesites-org/yalb-1164-1461
joetower Jul 26, 2023
d49d6ac
fix(yalb-1388): add embed__width to layout builder template to limit …
joetower Jul 27, 2023
cc0bd49
Merge pull request #157 from yalesites-org/yalb-1390-1463
nJim Jul 31, 2023
434a359
fix: updating to latest component library
nJim Jul 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions atomic.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ global:
node_modules/@yalesites-org/component-library-twig/dist/style.css: {}
components/_settings/_config.css: {}
css/admin-theme.css: {}
css/ckeditor-overrides.css: {}
js:
node_modules/@yalesites-org/component-library-twig/dist/js/02-molecules/menu/menu-toggle/yds-menu-toggle.js: {}
node_modules/@yalesites-org/component-library-twig/dist/js/00-tokens/layout/yds-layout.js: {}
Expand Down
14 changes: 14 additions & 0 deletions atomic.theme
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,17 @@ function atomic_preprocess_node(&$variables) {
$variables['date_formatted'] = \Drupal::service('date.formatter')->format($date, '', 'c');
}
}

/**
* Implements hook_preprocess_paragraph__accordion_item().
*
* Inject the heading_level based on the parent's heading presence.
*/
function atomic_preprocess_paragraph__accordion_item(&$variables) {
if ($accordion = $variables['paragraph']->getParentEntity()) {
if ($accordion->hasField('field_heading')) {
$heading = $accordion->field_heading->value;
$variables['attributes']['heading_level'] = empty($heading) ? 2 : 3;
}
}
}
Loading