Skip to content

Commit

Permalink
Merge pull request #2365 from boltdesignsystem/feature/DS-274-remove-…
Browse files Browse the repository at this point in the history
…bolt-dropdown-component

DS 274 Remove bolt dropdown component
  • Loading branch information
colbytcook committed Oct 26, 2021
2 parents 8aefd52 + 0a90d57 commit 7c1d4b0
Show file tree
Hide file tree
Showing 26 changed files with 13 additions and 1,950 deletions.
7 changes: 0 additions & 7 deletions docs-site/src/components/pattern-lab-utils/_sassdoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,8 @@
/*
** Our floating navigation needs to have an overflow when items expand beyond viewer-height
* [1] Floating nav receives 4rem from .c-bds-docs__page-nav-list and we add .5 rem to reach the bottom
* [2] The overflow added in the parent wrapper removes hides the shadow so we bring it back here
*/
.o-bolt-ui-list--sassdoc {
max-height: calc(100vh - 4.5rem); // [1]
overflow-y: auto;

bolt-dropdown {
// [2]
width: calc(100% - 6px);
margin: 0 auto;
}
}
10 changes: 1 addition & 9 deletions docs-site/src/components/pattern-lab-utils/sassdocs.twig
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
{% endif %}
{% endfor %}

{# Everything is ready, render nav dropdown below -- NOTE: currently not used #}
{# Everything is ready, render nav dropdown below -- NOTE: bolt dropdown has benn deleted #}
{% for label,nav in navItems %}

{% set children = [] %}
Expand Down Expand Up @@ -179,10 +179,6 @@
spacing: small
} only %}
{% endset %}
{% include "@bolt-components-dropdown/dropdown.twig" with {
title: label|capitalize,
content: content
} only %}
{% endfor %}

{% endif %}
Expand Down Expand Up @@ -238,10 +234,6 @@
items: children
} %}
{% endset %}
{% include "@bolt-components-dropdown/dropdown.twig" with {
title: label|capitalize,
content: content
} only %}
{% endfor %}

{% endif %}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7c1d4b0

Please sign in to comment.