|
1 | 1 | /* eslint-disable max-classes-per-file */ |
2 | 2 | /* eslint-disable import/no-extraneous-dependencies */ |
3 | 3 | import { html, css, LitElement } from 'lit'; |
4 | | -import { SlotMixin, DisabledMixin } from '@lion/ui/core.js'; |
| 4 | +import { SlotMixin, DisabledMixin, uuid } from '@lion/ui/core.js'; |
5 | 5 | import { dedupeMixin } from '@open-wc/dedupe-mixin'; |
6 | 6 | import { MoreButtonMenuMixin } from './MoreButtonMenuMixin.js'; |
7 | | -import { uuid } from './utils/uuid.js'; |
8 | 7 | import { isInView } from './utils/isInView.js'; |
9 | 8 | import { |
10 | 9 | isDisabled, |
@@ -167,7 +166,7 @@ const InteractiveListMixinImplementation = superclass => |
167 | 166 | multipleChoice: { type: Boolean, attribute: 'multiple-choice' }, |
168 | 167 | // TODO: align with name of open-ui |
169 | 168 | selectionFollowsFocus: { type: Boolean, attribute: 'selection-follows-focus' }, |
170 | | - // TODO: align with name of open-ui => "wrap" in focsugroup |
| 169 | + // TODO: align with name of open-ui => "wrap" in focusgroup |
171 | 170 | rotateKeyboardNavigation: { type: Boolean, attribute: 'rotate-keyboard-navigation' }, |
172 | 171 | // TODO: align with name of open-ui |
173 | 172 | noPreselect: { type: Boolean, attribute: 'no-preselect' }, |
@@ -556,7 +555,7 @@ const InteractiveListMixinImplementation = superclass => |
556 | 555 | // having hideVisually as hide mechanism (opening on focus, closing on blur). |
557 | 556 | // N.B. this._listNode has `display:flex`. This means we need to add `text-wrap: nowrap;` |
558 | 557 | // to avoid elems going over two lines, or give them a max-height based on measuring the height of one item. |
559 | | - // 2. N.B. hideVisually needs to be implementd in OverlayController. |
| 558 | + // 2. N.B. hideVisually needs to be implemented in OverlayController. |
560 | 559 | // 3. when the more menu opens a next level, MultiLevelListMixin will be applied to the host as well. |
561 | 560 | // That means it knows when a child menu is open. If _subListMap of one of the items is open, we should hide more menu like this: |
562 | 561 | // https://jsfiddle.net/a4ocktfp/19/ |
|
0 commit comments