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

Consistently export stylesheet #456

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

dougalg
Copy link

@dougalg dougalg commented Dec 16, 2023

Add an export to expose the CSS stylesheet to the end user with the stylesheet name for all use cases.

This reduces code duplication, for cases where the CSS was previously exported twice, and also makes the interface simpler and more consistent for users with a variety of use cases who may need access to the
stylesheet directly.

Copy link

codecov bot commented Dec 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (118253e) 92.94% compared to head (d96e20d) 93.31%.
Report is 2 commits behind head on master.

❗ Current head d96e20d differs from pull request most recent head ab777c7. Consider uploading reports for the commit ab777c7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
+ Coverage   92.94%   93.31%   +0.36%     
==========================================
  Files          10       10              
  Lines         326      329       +3     
  Branches      115      116       +1     
==========================================
+ Hits          303      307       +4     
+ Misses         22       21       -1     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

circle.yml Outdated
version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/node:lts
- image: circleci/node:14
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to update packages to use latest node

circle.yml Outdated
@@ -28,4 +27,4 @@ jobs:
command: bash <(curl -s https://codecov.io/bash)
- run:
name: release
command: npx semantic-release
command: npx semantic-release@15.13.30
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to upgrade node to use latest semantic-release

@dougalg
Copy link
Author

dougalg commented Dec 18, 2023

@egoist Is this something you can help take a look at?

dougalg-tw and others added 8 commits December 23, 2023 13:59
Add an export to expose the CSS stylesheet to the end user with the
`stylesheet` name for all use cases.

This reduces code duplication, for cases where the CSS was previously
exported twice, and also makes the interface simpler and more consistent
for users with a variety of use cases who may need access to the
  stylesheet directly.
@dougalg dougalg force-pushed the consistent-stylesheet-export branch 2 times, most recently from 7f64432 to 1b5a160 Compare December 23, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants