@skyux/popovers 7.5.0 → 7.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/documentation.json +38 -38
  2. package/esm2020/lib/modules/dropdown/dropdown-item.component.mjs +2 -2
  3. package/esm2020/lib/modules/dropdown/dropdown-menu.component.mjs +3 -3
  4. package/esm2020/lib/modules/dropdown/dropdown.component.mjs +8 -8
  5. package/esm2020/lib/modules/dropdown/types/dropdown-horizontal-alignment.mjs +1 -1
  6. package/esm2020/lib/modules/dropdown/types/dropdown-menu-change.mjs +1 -1
  7. package/esm2020/lib/modules/dropdown/types/dropdown-message-type.mjs +2 -2
  8. package/esm2020/lib/modules/dropdown/types/dropdown-message.mjs +1 -1
  9. package/esm2020/lib/modules/dropdown/types/dropdown-trigger-type.mjs +1 -1
  10. package/esm2020/lib/modules/popover/popover.component.mjs +6 -6
  11. package/esm2020/lib/modules/popover/popover.directive.mjs +3 -3
  12. package/esm2020/lib/modules/popover/types/popover-message-type.mjs +2 -2
  13. package/esm2020/lib/modules/popover/types/popover-trigger.mjs +1 -1
  14. package/esm2020/testing/dropdown/dropdown-fixture.mjs +2 -2
  15. package/esm2020/testing/popover/popover-fixture.mjs +2 -2
  16. package/fesm2015/skyux-popovers-testing.mjs +2 -2
  17. package/fesm2015/skyux-popovers-testing.mjs.map +1 -1
  18. package/fesm2015/skyux-popovers.mjs +19 -19
  19. package/fesm2015/skyux-popovers.mjs.map +1 -1
  20. package/fesm2020/skyux-popovers-testing.mjs +2 -2
  21. package/fesm2020/skyux-popovers-testing.mjs.map +1 -1
  22. package/fesm2020/skyux-popovers.mjs +19 -19
  23. package/fesm2020/skyux-popovers.mjs.map +1 -1
  24. package/lib/modules/dropdown/dropdown-item.component.d.ts +1 -1
  25. package/lib/modules/dropdown/dropdown-menu.component.d.ts +3 -3
  26. package/lib/modules/dropdown/dropdown.component.d.ts +9 -9
  27. package/lib/modules/dropdown/types/dropdown-horizontal-alignment.d.ts +1 -1
  28. package/lib/modules/dropdown/types/dropdown-menu-change.d.ts +3 -3
  29. package/lib/modules/dropdown/types/dropdown-message-type.d.ts +1 -1
  30. package/lib/modules/dropdown/types/dropdown-message.d.ts +1 -1
  31. package/lib/modules/dropdown/types/dropdown-trigger-type.d.ts +1 -1
  32. package/lib/modules/popover/popover.component.d.ts +6 -6
  33. package/lib/modules/popover/popover.directive.d.ts +5 -5
  34. package/lib/modules/popover/types/popover-message-type.d.ts +1 -1
  35. package/lib/modules/popover/types/popover-trigger.d.ts +1 -1
  36. package/package.json +6 -6
  37. package/testing/dropdown/dropdown-fixture.d.ts +1 -1
  38. package/testing/popover/popover-fixture.d.ts +1 -1
@@ -38,7 +38,7 @@ export class SkyPopoverFixture {
38
38
  return SkyAppTestUtility.getText(__classPrivateFieldGet(this, _SkyPopoverFixture_instances, "a", _SkyPopoverFixture_titleElement_get));
39
39
  }
40
40
  /**
41
- * Indicates if the popover is open and visible.
41
+ * Whether the popover is open and visible.
42
42
  */
43
43
  get popoverIsVisible() {
44
44
  return __classPrivateFieldGet(this, _SkyPopoverFixture_instances, "a", _SkyPopoverFixture_contentElement_get) !== undefined;
@@ -71,4 +71,4 @@ _SkyPopoverFixture_fixture = new WeakMap(), _SkyPopoverFixture_instances = new W
71
71
  const prefixedClass = containerClasses?.find((x) => x.startsWith(prefix));
72
72
  return !prefixedClass ? undefined : prefixedClass.slice(prefix.length);
73
73
  };
74
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci1maXh0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3BvcG92ZXJzL3Rlc3Rpbmcvc3JjL3BvcG92ZXIvcG9wb3Zlci1maXh0dXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsT0FBTyxFQUF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IHNob3VsZCByZXR1cm4gdGhlIHZhbHVlICdyaWdodCcuXG4gICAqIEBwYXJhbSBwcmVmaXhcbiAgICovXG4gICNnZXRDbGFzc1N1ZmZpeEJ5Q2xhc3NQcmVmaXgoXG4gICAgZWxlbWVudDogSFRNTEVsZW1lbnQgfCB1bmRlZmluZWQsXG4gICAgcHJlZml4OiBzdHJpbmdcbiAgKTogc3RyaW5nIHwgdW5kZWZpbmVkIHtcbiAgICBjb25zdCBjb250YWluZXJDbGFzc2VzID0gZWxlbWVudD8uY2xhc3NOYW1lLnNwbGl0KCcgJyk7XG4gICAgY29uc3QgcHJlZml4ZWRDbGFzcyA9IGNvbnRhaW5lckNsYXNzZXM/LmZpbmQoKHgpID0+IHguc3RhcnRzV2l0aChwcmVmaXgpKTtcblxuICAgIHJldHVybiAhcHJlZml4ZWRDbGFzcyA/IHVuZGVmaW5lZCA6IHByZWZpeGVkQ2xhc3Muc2xpY2UocHJlZml4Lmxlbmd0aCk7XG4gIH1cbiAgLy8jZW5kcmVnaW9uXG59XG4iXX0=
@@ -70,7 +70,7 @@ class SkyDropdownFixture {
70
70
  };
71
71
  }
72
72
  /**
73
- * Indicates if the dropdown menu is open and visible.
73
+ * Whether the dropdown menu is open and visible.
74
74
  */
75
75
  get dropdownMenuIsVisible() {
76
76
  return this.getDropdownMenuContent() !== undefined;
@@ -225,7 +225,7 @@ class SkyPopoverFixture {
225
225
  return SkyAppTestUtility.getText(__classPrivateFieldGet(this, _SkyPopoverFixture_instances, "a", _SkyPopoverFixture_titleElement_get));
226
226
  }
227
227
  /**
228
- * Indicates if the popover is open and visible.
228
+ * Whether the popover is open and visible.
229
229
  */
230
230
  get popoverIsVisible() {
231
231
  return __classPrivateFieldGet(this, _SkyPopoverFixture_instances, "a", _SkyPopoverFixture_contentElement_get) !== undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-popovers-testing.mjs","sources":["../../../../../libs/components/popovers/testing/src/dropdown/dropdown-testing.module.ts","../../../../../libs/components/popovers/testing/src/dropdown/dropdown-fixture.ts","../../../../../libs/components/popovers/testing/src/popover/popover-testing.module.ts","../../../../../libs/components/popovers/testing/src/popover/popover-fixture.ts","../../../../../libs/components/popovers/testing/src/skyux-popovers-testing.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { SkyDropdownModule } from '@skyux/popovers';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyDropdownModule],\n})\nexport class SkyDropdownTestingModule {}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyPopoversFixtureDropdown } from './popovers-fixture-dropdown';\nimport { SkyPopoversFixtureDropdownItem } from './popovers-fixture-dropdown-item';\nimport { SkyPopoversFixtureDropdownMenu } from './popovers-fixture-dropdown-menu';\n\n/**\n * Provides information for and interaction with a SKY UX dropdown component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyDropdownFixture {\n /**\n * Returns information about the dropdown component.\n */\n public get dropdown(): SkyPopoversFixtureDropdown | undefined {\n const button = this.#buttonDebugElement;\n return {\n buttonStyle: this.#getButtonStyle(button.classes),\n buttonType: this.#getButtonType(button.classes),\n disabled: button.nativeElement.disabled,\n label: button.nativeElement.getAttribute('aria-label'),\n title: button.nativeElement.getAttribute('title'),\n };\n }\n\n /**\n * Returns the dropdown button's text.\n */\n public get dropdownButtonText(): string | undefined {\n return SkyAppTestUtility.getText(this.#buttonDebugElement.nativeElement);\n }\n\n /**\n * Returns information about the dropdown menu component.\n */\n public get dropdownMenu(): SkyPopoversFixtureDropdownMenu | undefined {\n const menu = this.getDropdownMenuContent();\n if (!menu) {\n return;\n }\n\n return {\n ariaLabelledBy: menu.getAttribute('aria-labelledby'),\n ariaRole: menu.getAttribute('role'),\n };\n }\n\n /**\n * Indicates if the dropdown menu is open and visible.\n */\n public get dropdownMenuIsVisible(): boolean {\n return this.getDropdownMenuContent() !== undefined;\n }\n\n get #buttonDebugElement(): DebugElement {\n return this.#debugEl.query(By.css('.sky-dropdown-button'));\n }\n\n #debugEl: DebugElement;\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-dropdown'\n );\n }\n\n /**\n * Click the dropdown button to open or close the dropdown menu.\n */\n public async clickDropdownButton(): Promise<unknown> {\n this.#buttonDebugElement.nativeElement.click();\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n /**\n * Click the dropdown item at the provided index.\n */\n public async clickDropdownItem(index: number): Promise<unknown> {\n const itemEls = this.#getDropdownItemEls();\n\n if (!itemEls) {\n return;\n }\n\n if (index >= itemEls.length) {\n throw new Error(`There is no dropdown item at index ${index}.`);\n }\n\n itemEls[index].querySelector('button,a').click();\n\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n /**\n * Returns information about the dropdown item at the provided index.\n */\n public getDropdownItem(\n index: number\n ): SkyPopoversFixtureDropdownItem | undefined {\n const itemEls = this.#getDropdownItemEls();\n\n if (!itemEls) {\n return;\n }\n\n if (!itemEls[index]) {\n throw new Error(`There is no dropdown item at index ${index}.`);\n }\n\n const item = itemEls[index];\n\n return {\n ariaRole: item.getAttribute('role'),\n };\n }\n\n /**\n * Returns the contents of the dropdown menu.\n */\n public getDropdownMenuContent(): any {\n const overlay = this.#getOverlay();\n if (!overlay) {\n return;\n }\n\n return overlay.querySelector('.sky-dropdown-menu');\n }\n\n #getDropdownItemEls(): NodeListOf<any> | undefined {\n const overlay = this.#getOverlay();\n\n if (!overlay) {\n return;\n }\n\n return overlay.querySelectorAll('.sky-dropdown-item');\n }\n\n #getOverlay(): HTMLElement | null {\n return document.querySelector('sky-overlay');\n }\n\n #getButtonStyle(classNames: { [key: string]: boolean }): string | undefined {\n if (classNames['sky-btn-primary']) {\n return 'primary';\n }\n if (classNames['sky-btn-default']) {\n return 'default';\n }\n return;\n }\n\n #getButtonType(classNames: { [key: string]: boolean }): string {\n const prefix = 'sky-dropdown-button-type-';\n\n let found = '';\n for (const i in classNames) {\n if (classNames[i]) {\n if (i.indexOf(prefix) > -1) {\n found = i.replace(prefix, '');\n }\n }\n }\n\n return found;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkyPopoverModule } from '@skyux/popovers';\nimport { SkyThemeModule } from '@skyux/theme';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [\n SkyPopoverModule,\n\n // The noop animations module needs to be loaded last to avoid\n // subsequent modules adding animations and overriding this.\n NoopAnimationsModule,\n ],\n imports: [SkyThemeModule],\n})\nexport class SkyPopoverTestingModule {}\n","import { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX popover component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyPopoverFixture {\n /**\n * Returns the popover alignment if the popover is open, otherwise undefined.\n */\n public get alignment(): string | undefined {\n return this.#getClassSuffixByClassPrefix(\n this.#containerElement,\n 'sky-popover-alignment-'\n );\n }\n\n /**\n * Returns the popover body element if the popover is open, otherwise undefined.\n */\n public get body(): HTMLElement | undefined {\n return this.#bodyElement;\n }\n\n /**\n * Returns the popover position if the popover is open, otherwise undefined.\n */\n public get placement(): string | undefined {\n return this.#getClassSuffixByClassPrefix(\n this.#containerElement,\n 'sky-popover-placement-'\n );\n }\n\n /**\n * Returns the popover title text if the popover is open, otherwise undefined.\n */\n public get popoverTitle(): string | undefined {\n return SkyAppTestUtility.getText(this.#titleElement);\n }\n\n /**\n * Indicates if the popover is open and visible.\n */\n public get popoverIsVisible(): boolean {\n return this.#contentElement !== undefined;\n }\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>) {\n this.#fixture = fixture;\n }\n\n /**\n * Triggers the blur event for the popover.\n */\n public blur(): Promise<unknown> {\n // close the popover by changing focus to the body element\n SkyAppTestUtility.fireDomEvent(window.document.body, 'click');\n\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n //#region helpers\n get #contentElement(): HTMLElement | undefined {\n return this.#queryOverlay('sky-popover-content') || undefined;\n }\n\n get #containerElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-container') || undefined;\n }\n\n get #titleElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-title') || undefined;\n }\n\n get #bodyElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-body') || undefined;\n }\n\n #getOverlay(): Element | undefined {\n return document.querySelector('sky-overlay') || undefined;\n }\n\n #queryOverlay(query: string): HTMLElement | null {\n const overlay = this.#getOverlay();\n\n return !overlay ? null : overlay.querySelector(query);\n }\n\n /**\n * Searches the element's class names for a class which matches a given prefix.\n * If a match is found, the prefix is trimmed from the class name and the suffix is returned.\n * If no class matching the prefix is found, undefined is returned.\n *\n * Example:\n * For a class 'sky-popover-placement-right', passing the prefix 'sky-popover-placement-'\n * should return the value 'right'.\n * @param prefix\n */\n #getClassSuffixByClassPrefix(\n element: HTMLElement | undefined,\n prefix: string\n ): string | undefined {\n const containerClasses = element?.className.split(' ');\n const prefixedClass = containerClasses?.find((x) => x.startsWith(prefix));\n\n return !prefixedClass ? undefined : prefixedClass.slice(prefix.length);\n }\n //#endregion\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;AAEG;MAIU,wBAAwB,CAAA;;sHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAA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GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACzE,CAAC;;ACjHH;;AAEG;;;;"}
1
+ {"version":3,"file":"skyux-popovers-testing.mjs","sources":["../../../../../libs/components/popovers/testing/src/dropdown/dropdown-testing.module.ts","../../../../../libs/components/popovers/testing/src/dropdown/dropdown-fixture.ts","../../../../../libs/components/popovers/testing/src/popover/popover-testing.module.ts","../../../../../libs/components/popovers/testing/src/popover/popover-fixture.ts","../../../../../libs/components/popovers/testing/src/skyux-popovers-testing.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { SkyDropdownModule } from '@skyux/popovers';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyDropdownModule],\n})\nexport class SkyDropdownTestingModule {}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyPopoversFixtureDropdown } from './popovers-fixture-dropdown';\nimport { SkyPopoversFixtureDropdownItem } from './popovers-fixture-dropdown-item';\nimport { SkyPopoversFixtureDropdownMenu } from './popovers-fixture-dropdown-menu';\n\n/**\n * Provides information for and interaction with a SKY UX dropdown component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyDropdownFixture {\n /**\n * Returns information about the dropdown component.\n */\n public get dropdown(): SkyPopoversFixtureDropdown | undefined {\n const button = this.#buttonDebugElement;\n return {\n buttonStyle: this.#getButtonStyle(button.classes),\n buttonType: this.#getButtonType(button.classes),\n disabled: button.nativeElement.disabled,\n label: button.nativeElement.getAttribute('aria-label'),\n title: button.nativeElement.getAttribute('title'),\n };\n }\n\n /**\n * Returns the dropdown button's text.\n */\n public get dropdownButtonText(): string | undefined {\n return SkyAppTestUtility.getText(this.#buttonDebugElement.nativeElement);\n }\n\n /**\n * Returns information about the dropdown menu component.\n */\n public get dropdownMenu(): SkyPopoversFixtureDropdownMenu | undefined {\n const menu = this.getDropdownMenuContent();\n if (!menu) {\n return;\n }\n\n return {\n ariaLabelledBy: menu.getAttribute('aria-labelledby'),\n ariaRole: menu.getAttribute('role'),\n };\n }\n\n /**\n * Whether the dropdown menu is open and visible.\n */\n public get dropdownMenuIsVisible(): boolean {\n return this.getDropdownMenuContent() !== undefined;\n }\n\n get #buttonDebugElement(): DebugElement {\n return this.#debugEl.query(By.css('.sky-dropdown-button'));\n }\n\n #debugEl: DebugElement;\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-dropdown'\n );\n }\n\n /**\n * Click the dropdown button to open or close the dropdown menu.\n */\n public async clickDropdownButton(): Promise<unknown> {\n this.#buttonDebugElement.nativeElement.click();\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n /**\n * Click the dropdown item at the provided index.\n */\n public async clickDropdownItem(index: number): Promise<unknown> {\n const itemEls = this.#getDropdownItemEls();\n\n if (!itemEls) {\n return;\n }\n\n if (index >= itemEls.length) {\n throw new Error(`There is no dropdown item at index ${index}.`);\n }\n\n itemEls[index].querySelector('button,a').click();\n\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n /**\n * Returns information about the dropdown item at the provided index.\n */\n public getDropdownItem(\n index: number\n ): SkyPopoversFixtureDropdownItem | undefined {\n const itemEls = this.#getDropdownItemEls();\n\n if (!itemEls) {\n return;\n }\n\n if (!itemEls[index]) {\n throw new Error(`There is no dropdown item at index ${index}.`);\n }\n\n const item = itemEls[index];\n\n return {\n ariaRole: item.getAttribute('role'),\n };\n }\n\n /**\n * Returns the contents of the dropdown menu.\n */\n public getDropdownMenuContent(): any {\n const overlay = this.#getOverlay();\n if (!overlay) {\n return;\n }\n\n return overlay.querySelector('.sky-dropdown-menu');\n }\n\n #getDropdownItemEls(): NodeListOf<any> | undefined {\n const overlay = this.#getOverlay();\n\n if (!overlay) {\n return;\n }\n\n return overlay.querySelectorAll('.sky-dropdown-item');\n }\n\n #getOverlay(): HTMLElement | null {\n return document.querySelector('sky-overlay');\n }\n\n #getButtonStyle(classNames: { [key: string]: boolean }): string | undefined {\n if (classNames['sky-btn-primary']) {\n return 'primary';\n }\n if (classNames['sky-btn-default']) {\n return 'default';\n }\n return;\n }\n\n #getButtonType(classNames: { [key: string]: boolean }): string {\n const prefix = 'sky-dropdown-button-type-';\n\n let found = '';\n for (const i in classNames) {\n if (classNames[i]) {\n if (i.indexOf(prefix) > -1) {\n found = i.replace(prefix, '');\n }\n }\n }\n\n return found;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkyPopoverModule } from '@skyux/popovers';\nimport { SkyThemeModule } from '@skyux/theme';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [\n SkyPopoverModule,\n\n // The noop animations module needs to be loaded last to avoid\n // subsequent modules adding animations and overriding this.\n NoopAnimationsModule,\n ],\n imports: [SkyThemeModule],\n})\nexport class SkyPopoverTestingModule {}\n","import { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX popover component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyPopoverFixture {\n /**\n * Returns the popover alignment if the popover is open, otherwise undefined.\n */\n public get alignment(): string | undefined {\n return this.#getClassSuffixByClassPrefix(\n this.#containerElement,\n 'sky-popover-alignment-'\n );\n }\n\n /**\n * Returns the popover body element if the popover is open, otherwise undefined.\n */\n public get body(): HTMLElement | undefined {\n return this.#bodyElement;\n }\n\n /**\n * Returns the popover position if the popover is open, otherwise undefined.\n */\n public get placement(): string | undefined {\n return this.#getClassSuffixByClassPrefix(\n this.#containerElement,\n 'sky-popover-placement-'\n );\n }\n\n /**\n * Returns the popover title text if the popover is open, otherwise undefined.\n */\n public get popoverTitle(): string | undefined {\n return SkyAppTestUtility.getText(this.#titleElement);\n }\n\n /**\n * Whether the popover is open and visible.\n */\n public get popoverIsVisible(): boolean {\n return this.#contentElement !== undefined;\n }\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>) {\n this.#fixture = fixture;\n }\n\n /**\n * Triggers the blur event for the popover.\n */\n public blur(): Promise<unknown> {\n // close the popover by changing focus to the body element\n SkyAppTestUtility.fireDomEvent(window.document.body, 'click');\n\n this.#fixture.detectChanges();\n return this.#fixture.whenStable();\n }\n\n //#region helpers\n get #contentElement(): HTMLElement | undefined {\n return this.#queryOverlay('sky-popover-content') || undefined;\n }\n\n get #containerElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-container') || undefined;\n }\n\n get #titleElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-title') || undefined;\n }\n\n get #bodyElement(): HTMLElement | undefined {\n return this.#queryOverlay('.sky-popover-body') || undefined;\n }\n\n #getOverlay(): Element | undefined {\n return document.querySelector('sky-overlay') || undefined;\n }\n\n #queryOverlay(query: string): HTMLElement | null {\n const overlay = this.#getOverlay();\n\n return !overlay ? null : overlay.querySelector(query);\n }\n\n /**\n * Searches the element's class names for a class which matches a given prefix.\n * If a match is found, the prefix is trimmed from the class name and the suffix is returned.\n * If no class matching the prefix is found, undefined is returned.\n *\n * Example:\n * For a class 'sky-popover-placement-right', passing the prefix 'sky-popover-placement-'\n * should return the value 'right'.\n * @param prefix\n */\n #getClassSuffixByClassPrefix(\n element: HTMLElement | undefined,\n prefix: string\n ): string | undefined {\n const containerClasses = element?.className.split(' ');\n const prefixedClass = containerClasses?.find((x) => x.startsWith(prefix));\n\n return !prefixedClass ? undefined : prefixedClass.slice(prefix.length);\n }\n //#endregion\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;AAEG;MAI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BAAgB,KAAhB,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,gBAAgB,CAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1E,IAAA,OAAO,CAAC,aAAa,GAAG,SAAS,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACzE,CAAC;;ACjHH;;AAEG;;;;"}
@@ -16,7 +16,7 @@ import { takeUntil } from 'rxjs/operators';
16
16
  import { trigger, state, style, transition, animate } from '@angular/animations';
17
17
 
18
18
  /**
19
- * Specifies the type of message to send.
19
+ * The type of message to send.
20
20
  * @internal
21
21
  */
22
22
  var SkyDropdownMessageType;
@@ -129,7 +129,7 @@ class SkyDropdownItemComponent {
129
129
  __classPrivateFieldSet(this, _SkyDropdownItemComponent_renderer, renderer, "f");
130
130
  }
131
131
  /**
132
- * Specifies an ARIA role for the dropdown menu item
132
+ * The ARIA role for the dropdown menu item
133
133
  * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility)
134
134
  * by indicating how the item functions and what it controls. For information about
135
135
  * how an ARIA role indicates what an item represents on a web page, see the
@@ -205,12 +205,12 @@ class SkyDropdownComponent {
205
205
  constructor(changeDetector, affixService, overlayService, logService, themeSvc) {
206
206
  _SkyDropdownComponent_instances.add(this);
207
207
  /**
208
- * Indicates whether to disable the dropdown button.
208
+ * Whether to disable the dropdown button.
209
209
  * @default false
210
210
  */
211
211
  this.disabled = false;
212
212
  /**
213
- * Provides an observable to send commands to the dropdown. The commands should respect
213
+ * The observable that sends commands to the dropdown. The commands should respect
214
214
  * the [[SkyDropdownMessage]] type.
215
215
  * @internal
216
216
  */
@@ -240,7 +240,7 @@ class SkyDropdownComponent {
240
240
  __classPrivateFieldSet(this, _SkyDropdownComponent_themeSvc, themeSvc, "f");
241
241
  }
242
242
  /**
243
- * Specifies a background color for the dropdown button. Available values are `default`,
243
+ * The background color for the dropdown button. Available values are `default`,
244
244
  * `primary`, and `link`. These values set the background color and hover behavior from the
245
245
  * [secondary and primary button classes](https://developer.blackbaud.com/skyux/components/button) respectively.
246
246
  * @default "default"
@@ -252,7 +252,7 @@ class SkyDropdownComponent {
252
252
  return __classPrivateFieldGet(this, _SkyDropdownComponent__buttonStyle, "f");
253
253
  }
254
254
  /**
255
- * Specifies the type of button to render as the dropdown's trigger element. To display a button
255
+ * The type of button to render as the dropdown's trigger element. To display a button
256
256
  * with a caret, specify `'select'` and render the button text or icon in a
257
257
  * `sky-dropdown-button` element. To display a round button with an ellipsis, specify
258
258
  * `'context-menu'`.
@@ -271,7 +271,7 @@ class SkyDropdownComponent {
271
271
  return __classPrivateFieldGet(this, _SkyDropdownComponent__buttonType, "f");
272
272
  }
273
273
  /**
274
- * Indicates whether to close the dropdown when users click away from the menu.
274
+ * Whether to close the dropdown when users click away from the menu.
275
275
  * @default true
276
276
  */
277
277
  set dismissOnBlur(value) {
@@ -281,7 +281,7 @@ class SkyDropdownComponent {
281
281
  return __classPrivateFieldGet(this, _SkyDropdownComponent__dismissOnBlur, "f");
282
282
  }
283
283
  /**
284
- * Specifies the horizontal alignment of the dropdown menu in relation to the dropdown button.
284
+ * The horizontal alignment of the dropdown menu in relation to the dropdown button.
285
285
  * @default "left"
286
286
  */
287
287
  set horizontalAlignment(value) {
@@ -291,7 +291,7 @@ class SkyDropdownComponent {
291
291
  return __classPrivateFieldGet(this, _SkyDropdownComponent__horizontalAlignment, "f");
292
292
  }
293
293
  /**
294
- * Specifies how users interact with the dropdown button to expose the dropdown menu.
294
+ * How users interact with the dropdown button to expose the dropdown menu.
295
295
  * We recommend the default `click` value because the `hover` value can pose
296
296
  * [accessibility](https://developer.blackbaud.com/skyux/learn/accessibility) issues
297
297
  * for users on touch devices such as phones and tablets.
@@ -593,7 +593,7 @@ class SkyDropdownMenuComponent {
593
593
  __classPrivateFieldSet(this, _SkyDropdownMenuComponent_dropdownComponent, dropdownComponent, "f");
594
594
  }
595
595
  /**
596
- * Specifies an ARIA role for the dropdown menu
596
+ * The ARIA role for the dropdown menu
597
597
  * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility)
598
598
  * by indicating how the dropdown menu functions and what it controls. The dropdown button
599
599
  * inherits this value to set its `aria-haspopup` property. For information
@@ -608,7 +608,7 @@ class SkyDropdownMenuComponent {
608
608
  return __classPrivateFieldGet(this, _SkyDropdownMenuComponent__ariaRole, "f");
609
609
  }
610
610
  /**
611
- * Indicates whether to use the browser's native focus function when users navigate through menu
611
+ * Whether to use the browser's native focus function when users navigate through menu
612
612
  * items with the keyboard. To disable the native focus function, set this property to `false`.
613
613
  * For example, to let users interact with the dropdown menu but keep the keyboard focus on a
614
614
  * different element, set this property to `false`.
@@ -1310,7 +1310,7 @@ class SkyPopoverComponent {
1310
1310
  */
1311
1311
  this.popoverOpened = new EventEmitter();
1312
1312
  /**
1313
- * Indicates that the popover is in the process of being opened or closed.
1313
+ * Whether the popover is in the process of being opened or closed.
1314
1314
  * @internal
1315
1315
  */
1316
1316
  this.isActive = false;
@@ -1333,7 +1333,7 @@ class SkyPopoverComponent {
1333
1333
  __classPrivateFieldSet(this, _SkyPopoverComponent_overlayService, overlayService, "f");
1334
1334
  }
1335
1335
  /**
1336
- * Specifies the horizontal alignment of the popover in relation to the trigger element.
1336
+ * The horizontal alignment of the popover in relation to the trigger element.
1337
1337
  * The `skyPopoverAlignment` property on the popover directive takes precedence over this property when specified.
1338
1338
  * @default "center"
1339
1339
  */
@@ -1344,7 +1344,7 @@ class SkyPopoverComponent {
1344
1344
  return __classPrivateFieldGet(this, _SkyPopoverComponent__alignment, "f");
1345
1345
  }
1346
1346
  /**
1347
- * Indicates whether to close the popover when it loses focus.
1347
+ * Whether to close the popover when it loses focus.
1348
1348
  * To require users to click a trigger button to close the popover, set this input to false.
1349
1349
  * @default true
1350
1350
  */
@@ -1355,7 +1355,7 @@ class SkyPopoverComponent {
1355
1355
  return __classPrivateFieldGet(this, _SkyPopoverComponent__dismissOnBlur, "f");
1356
1356
  }
1357
1357
  /**
1358
- * Specifies the placement of the popover in relation to the trigger element.
1358
+ * The placement of the popover in relation to the trigger element.
1359
1359
  * The `skyPopoverPlacement` property on the popover directive takes precedence over this property when specified.
1360
1360
  * @default "above"
1361
1361
  */
@@ -1366,7 +1366,7 @@ class SkyPopoverComponent {
1366
1366
  return __classPrivateFieldGet(this, _SkyPopoverComponent__placement, "f");
1367
1367
  }
1368
1368
  /**
1369
- * Specifies the type of popover.
1369
+ * The type of popover.
1370
1370
  * @default "info"
1371
1371
  */
1372
1372
  set popoverType(value) {
@@ -1507,7 +1507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
1507
1507
  }] } });
1508
1508
 
1509
1509
  /**
1510
- * Specifies the type of message to send to the popover component.
1510
+ * The type of message to send to the popover component.
1511
1511
  */
1512
1512
  var SkyPopoverMessageType;
1513
1513
  (function (SkyPopoverMessageType) {
@@ -1543,7 +1543,7 @@ class SkyPopoverDirective {
1543
1543
  __classPrivateFieldGet(this, _SkyPopoverDirective_instances, "m", _SkyPopoverDirective_subscribeMessageStream).call(this);
1544
1544
  }
1545
1545
  /**
1546
- * Provides an RxJS `Subject` to send commands to the popover that respect the `SkyPopoverMessage` type.
1546
+ * The RxJS `Subject` to send commands to the popover that respect the `SkyPopoverMessage` type.
1547
1547
  */
1548
1548
  set skyPopoverMessageStream(value) {
1549
1549
  __classPrivateFieldSet(this, _SkyPopoverDirective__skyPopoverMessageStream, value !== null && value !== void 0 ? value : new Subject(), "f");
@@ -1553,7 +1553,7 @@ class SkyPopoverDirective {
1553
1553
  return __classPrivateFieldGet(this, _SkyPopoverDirective__skyPopoverMessageStream, "f");
1554
1554
  }
1555
1555
  /**
1556
- * Specifies the user action that displays the popover.
1556
+ * The user action that displays the popover.
1557
1557
  */
1558
1558
  set skyPopoverTrigger(value) {
1559
1559
  __classPrivateFieldSet(this, _SkyPopoverDirective__trigger, value !== null && value !== void 0 ? value : 'click', "f");