diff --git a/.vscode/settings.json b/.vscode/settings.json
index 901c0d885..0eb138d69 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -2,11 +2,5 @@
{
// Columns at which to show vertical rulers
"editor.rulers": [100],
-
- // Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping (word wrapping). Setting this to -1 forces the editor to never wrap.
- "editor.wordWrap": "wordWrapColumn",
- "editor.wordWrapColumn": 100,
-
- "typescript.tsdk": "node_modules/typescript/lib",
- "vsicons.presets.angular": true
+ "typescript.tsdk": "node_modules/typescript/lib"
}
diff --git a/config/karma/local.karma.conf.js b/config/karma/local.karma.conf.js
index 38740483f..9f44ac4ad 100644
--- a/config/karma/local.karma.conf.js
+++ b/config/karma/local.karma.conf.js
@@ -8,9 +8,7 @@ module.exports = function (config) {
require('./shared.karma.conf')(config);
config.set({
- browsers: [
- 'Chrome'
- ]
+ browsers: ['Chrome'],
+ logLevel: config.LOG_DEBUG
});
-
};
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-All-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-All-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 0edffde44..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-All-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 0545459dc..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-767x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-767x800-dpr-1.png
deleted file mode 100644
index d940caf1e..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Above-chrome-767x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Below-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Below-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 8deb03c67..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Below-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Left-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Left-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 68593ba37..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Left-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Right-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Right-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 63c8609f0..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-Placement-Right-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/screenshots-baseline/popover-With-Dropdown-chrome-1000x800-dpr-1.png b/skyux-spa-visual-tests/screenshots-baseline/popover-With-Dropdown-chrome-1000x800-dpr-1.png
deleted file mode 100644
index 32059377a..000000000
Binary files a/skyux-spa-visual-tests/screenshots-baseline/popover-With-Dropdown-chrome-1000x800-dpr-1.png and /dev/null differ
diff --git a/skyux-spa-visual-tests/src/app/popover/popover-visual.component.html b/skyux-spa-visual-tests/src/app/popover/popover-visual.component.html
index fe166149d..2fa98f902 100644
--- a/skyux-spa-visual-tests/src/app/popover/popover-visual.component.html
+++ b/skyux-spa-visual-tests/src/app/popover/popover-visual.component.html
@@ -71,6 +71,24 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed elit arcu.
+
+
+
+ + + + + + + + + + + +
++ This menu does not bring the active items to focus; this is useful for custom implementations where the focus should remain on a different control. +
diff --git a/src/demos/dropdown/dropdown-demo.component.ts b/src/demos/dropdown/dropdown-demo.component.ts index fb1c2ac58..1427db82e 100644 --- a/src/demos/dropdown/dropdown-demo.component.ts +++ b/src/demos/dropdown/dropdown-demo.component.ts @@ -1,7 +1,71 @@ -import { Component } from '@angular/core'; +import { + ChangeDetectorRef, + Component +} from '@angular/core'; + +import { Subject } from 'rxjs/Subject'; + +import { + SkyDropdownMessage, + SkyDropdownMessageType, + SkyDropdownMenuChange +} from '../../core'; @Component({ selector: 'sky-dropdown-demo', templateUrl: './dropdown-demo.component.html' }) -export class SkyDropdownDemoComponent { } +export class SkyDropdownDemoComponent { + public dropdownController = new Subject