AlaskaAirlines / auro-accordion

Custom element that allows users to toggle the display for sections of content
https://auro.alaskaair.com/components/auro/accordion
Apache License 2.0
1 stars 2 forks source link

Styling issues with attributes variant and emphasis that does not meet the Auro documentation #121

Open cthuang0704 opened 3 months ago

cthuang0704 commented 3 months ago

Please verify the version of auro-accordion you have installed

3.2.1

Please describe the bug

  1. Apply auro-accordion-group and auro-accordion after installing aurodesignsystem/auro-accordion v3.2.1
  2. Apply variant="sm" and dose not apply emphasis to auro-accordion-group as what the demoed example does. The page ends up showing emphasis styles with underlines between accordions, and does not apply variant="sm auro-accordion issue

Note: Seeing this in Chrome, Edge and Safari

Reproducing the error on the docsite

None

Expected behavior

According to what it demos in Auro documentation, it should

  1. show no underlines between accordions
  2. not apply emphasis styles if you don't add the attribute
  3. apply variant="sm" styles if you add the attributes auro-accordion demoed in doc

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Exit criteria

No response

Patrick-Daly-AA commented 3 months ago

@jason-capsule42 will reach out to schedule a time to debug and investigate with you @cthuang0704

cthuang0704 commented 2 months ago

@jason-capsule42 will reach out to schedule a time to debug and investigate with you @cthuang0704

@jason-capsule42 Let's hop on a call when you're back. You can find me in Teams by searching Tina Huang.

Patrick-Daly-AA commented 1 month ago

Confirmed, applying small and emphasis is causing unexpected behavior.