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

refactor(axis): use css-classes instead of style #1897

Merged

Conversation

max-jonas
Copy link
Contributor

  • adds css-classes to ticks to make them more accessible from outside

Updates

@max-jonas max-jonas requested review from theiliad and a team as code owners September 27, 2024 09:39
@carbon-bot
Copy link
Collaborator

carbon-bot commented Sep 27, 2024

All contributors have signed the DCO.
Posted by the DCO Assistant Lite bot.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for carbon-charts-react ready!

Name Link
🔨 Latest commit 99e7ea0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-react/deploys/66fa65e2c4d01b0008d35e7c
😎 Deploy Preview https://deploy-preview-1897--carbon-charts-react.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.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for carbon-charts-angular ready!

Name Link
🔨 Latest commit 99e7ea0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-angular/deploys/66fa65e2feb75500081a950c
😎 Deploy Preview https://deploy-preview-1897--carbon-charts-angular.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.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for carbon-charts-core ready!

Name Link
🔨 Latest commit 99e7ea0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-core/deploys/66fa65e264ee12000809ed19
😎 Deploy Preview https://deploy-preview-1897--carbon-charts-core.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.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for carbon-charts-docs ready!

Name Link
🔨 Latest commit 99e7ea0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-docs/deploys/66fa65e229623a000834c2ba
😎 Deploy Preview https://deploy-preview-1897--carbon-charts-docs.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.

@max-jonas
Copy link
Contributor Author

I have read the DCO document and I hereby sign the DCO.

@max-jonas
Copy link
Contributor Author

recheck

@@ -32,6 +32,14 @@
g.tick text {
fill: theme.$text-secondary;
font-family: var(--#{globals.$prefix}-charts-font-family-condensed);

&.primary-tick-label {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
&.primary-tick-label {
&.tick-label--primary {

})
ticks.attr('class', (tick: number, i: number) =>
isTickPrimary(tick, i, axis.tickValues(), timeInterval, showDayName)
? 'primary-tick-label'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
? 'primary-tick-label'
? 'tick-label--primary'

* adds css-classes to ticks to make them more accessible from outside

Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com>
@theiliad theiliad merged commit 344cf09 into carbon-design-system:master Nov 7, 2024
6 checks passed
nstuyvesant added a commit to nstuyvesant/carbon-charts that referenced this pull request Nov 7, 2024
fix(docs): switch fonts to s81c cdn (carbon-design-system#1898)

chore(release): publish 1.22.1

chore(deps): bump (carbon-design-system#1906)

chore(deps): bump

test(svelte): replace deprecated svelte:component

chore(deps): bump

chore(deps): bump

chore(deps): bump

chore(deps): bump

chore(deps): bump

chore(deps): bump

chore(deps): bump

chore(svelte): peers

chore(deps): lock

chore(telemetry): update endpoint for main (carbon-design-system#1905)

* chore(telemetry): update endpoint

* fix(telemetry): update angular README

refactor(axis): use css-classes instead of style (carbon-design-system#1897)

* refactor(axis): use css-classes instead of style

* adds css-classes to ticks to make them more accessible from outside

Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com>

* refactor(axis): rename css class

---------

Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com>

skip-release fix(yarn): make local to CI

fix(yarn): bundle because CI lacks corepack (carbon-design-system#1911)

chore(release): publish 1.22.2
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.

3 participants