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 #430

Merged
merged 96 commits into from
Nov 5, 2024
Merged

Release #430

merged 96 commits into from
Nov 5, 2024

Conversation

dblanken-yale
Copy link
Contributor

Release

joetower and others added 30 commits October 22, 2024 15:26
Reintroduce ys_links to storybook and the compiled output so that Drupal
can still use it for now.
The new args system needs to be utilized to properly pass initial
settings to storybook controls.  This takes our old way and converts it
to a proper args structure so we don't have to modify it all yet.
These default values in particular were causing add_attributes to bomb
due to an empty href.  Adding this in ensures there is one by default.
Without a default URL, the page would not load in the new storybook
arcitecture.
Without actual dates, supporting twig methods would cause the page to
not load.
Feels like shotgun surgery, but adding the URL in seems to allow these
pages to load; it's like it's taking the link and attempting to perform
actions on it, when it does not exist.
Looks like placeimg.com is no longer up.  Moved to picksum.photos.  If
someone has a better solution let me know.
Originally, the ctaText would not populate the cost_button_text, which
drives the CTA text for the button next to "Add to Calendar", resulting
in an empty button with decoration.  This allows it to be for both the
cta_primary_content and the cost_button_text so that if the other
existed, it'll use it there as well.
dblanken-yale and others added 18 commits October 22, 2024 16:34
The callout shadow was incorrectly set for theme 4, causing it to
display links in a visually terrible way.  Now they are in sync to match
each other.
Requested by Heather so site-improve can target them better.
Attempt to keep ONHA in tact, but change the others to have proper
contrast.
Due to accessibility concerns, visited links in callouts mimic the
unvisited versions.

More design/input will be needed to verify the true colors that should
be used for these that meet AA standards.
There were some svgs getting through the cracks when it came to setting
the SVG fill color to the current link color.  This attempts to help
this to be more consistent.
It seems that while Chrome respects currentColor fine, Safari is having
a hard time doing this.  Reading up, I noticed that you can use the
color: inherit to help fix some issues with it.  While this doesn't
completely fix it, it helps on some components.
As a last minute effort to make link treatments follow color rules on
all browsers, I'm testing out how the original non-svg version behaves.
So far so good.  Removed all references I made with ys_links so that we
can have a central place for link treatment-specific changes.
In most cases where punctuation exists, the punctuation was a bit too
close to the download icon, so we directly target that to move out a
little more.
This reverts commit bf71343.

This is now going to be in the ai_engine instead of here.
YSP-446: Drupal 10.3 upgrade with Node update and LinkPurpose
Copy link

netlify bot commented Nov 5, 2024

Deploy Preview for dev-component-library-twig ready!

Name Link
🔨 Latest commit 93e55fd
🔍 Latest deploy log https://app.netlify.com/sites/dev-component-library-twig/deploys/672a4fa1fdfa3d00087eed07
😎 Deploy Preview https://deploy-preview-430--dev-component-library-twig.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dblanken-yale dblanken-yale merged commit fcde882 into main Nov 5, 2024
5 checks passed
Copy link

github-actions bot commented Nov 5, 2024

🎉 This PR is included in version 1.47.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants