mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(uishell): remove navbar footer
This commit is contained in:
parent
2424b32c87
commit
ba459dc25d
1 changed files with 0 additions and 10 deletions
|
@ -3,8 +3,6 @@
|
||||||
export let isOpen = undefined;
|
export let isOpen = undefined;
|
||||||
|
|
||||||
import { cx } from '../../../lib';
|
import { cx } from '../../../lib';
|
||||||
import Icon from '../../Icon/Icon.svelte';
|
|
||||||
import { closeIcon } from '../constants';
|
|
||||||
|
|
||||||
$: footerSpanText = isOpen ? 'Open' : 'Close';
|
$: footerSpanText = isOpen ? 'Open' : 'Close';
|
||||||
</script>
|
</script>
|
||||||
|
@ -13,12 +11,4 @@
|
||||||
class={cx('--side-nav__navigation', '--side-nav', '--side-nav--ux', isOpen && '--side-nav--expanded')}
|
class={cx('--side-nav__navigation', '--side-nav', '--side-nav--ux', isOpen && '--side-nav--expanded')}
|
||||||
aria-label={ariaLabel}>
|
aria-label={ariaLabel}>
|
||||||
<slot />
|
<slot />
|
||||||
<footer class={cx('--side-nav__footer')}>
|
|
||||||
<button class={cx('--side-nav__toggle')} type="button" title="Open">
|
|
||||||
<div class={cx('--side-nav__icon')}>
|
|
||||||
<Icon {...closeIcon} />
|
|
||||||
</div>
|
|
||||||
<span class={cx('--assistive-text')}>{footerSpanText}</span>
|
|
||||||
</button>
|
|
||||||
</footer>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue