@aquera/nile-elements 2.0.5 → 2.0.6
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.
- package/README.md +4 -0
- package/demo/nxtgen-classes.css +15 -12
- package/demo/nxtgen-dark.css +24 -24
- package/demo/nxtgen-properties.css +27 -24
- package/demo/nxtgen-utilities.css +39 -36
- package/demo/nxtgen.css +15 -12
- package/demo/utilities.css +3 -0
- package/demo/variables.css +3 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1353 -340
- package/dist/internal/glyph.cjs.js +1 -1
- package/dist/internal/glyph.cjs.js.map +1 -1
- package/dist/internal/glyph.esm.js +6 -5
- package/dist/nile-app-shell/index.cjs.js +2 -0
- package/dist/nile-app-shell/index.cjs.js.map +1 -0
- package/dist/nile-app-shell/index.esm.js +1 -0
- package/dist/nile-app-shell/nile-app-shell.cjs.js +2 -0
- package/dist/nile-app-shell/nile-app-shell.cjs.js.map +1 -0
- package/dist/nile-app-shell/nile-app-shell.css.cjs.js +2 -0
- package/dist/nile-app-shell/nile-app-shell.css.cjs.js.map +1 -0
- package/dist/nile-app-shell/nile-app-shell.css.esm.js +554 -0
- package/dist/nile-app-shell/nile-app-shell.esm.js +155 -0
- package/dist/nile-app-shell/shell-controller.cjs.js +2 -0
- package/dist/nile-app-shell/shell-controller.cjs.js.map +1 -0
- package/dist/nile-app-shell/shell-controller.esm.js +1 -0
- package/dist/nile-app-shell-main/index.cjs.js +2 -0
- package/dist/nile-app-shell-main/index.cjs.js.map +1 -0
- package/dist/nile-app-shell-main/index.esm.js +1 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.cjs.js +2 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.cjs.js.map +1 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.css.cjs.js +2 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.css.cjs.js.map +1 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.css.esm.js +18 -0
- package/dist/nile-app-shell-main/nile-app-shell-main.esm.js +1 -0
- package/dist/nile-app-shell-nav-toggle/index.cjs.js +2 -0
- package/dist/nile-app-shell-nav-toggle/index.cjs.js.map +1 -0
- package/dist/nile-app-shell-nav-toggle/index.esm.js +1 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js +2 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js.map +1 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.cjs.js +2 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.cjs.js.map +1 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.esm.js +29 -0
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.esm.js +16 -0
- package/dist/nile-app-shell-panel/index.cjs.js +2 -0
- package/dist/nile-app-shell-panel/index.cjs.js.map +1 -0
- package/dist/nile-app-shell-panel/index.esm.js +1 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.cjs.js +2 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.cjs.js.map +1 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.css.cjs.js +2 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.css.cjs.js.map +1 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.css.esm.js +103 -0
- package/dist/nile-app-shell-panel/nile-app-shell-panel.esm.js +33 -0
- package/dist/nile-app-shell-side-nav/index.cjs.js +2 -0
- package/dist/nile-app-shell-side-nav/index.cjs.js.map +1 -0
- package/dist/nile-app-shell-side-nav/index.esm.js +1 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js +2 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js.map +1 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js +2 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js.map +1 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.esm.js +55 -0
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.esm.js +5 -0
- package/dist/nile-floating-panel/nile-floating-panel.cjs.js +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.cjs.js.map +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.css.cjs.js +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.css.cjs.js.map +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.css.esm.js +46 -8
- package/dist/nile-floating-panel/nile-floating-panel.esm.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.css.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.css.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.css.esm.js +32 -17
- package/dist/nile-popover/nile-popover.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/index.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/index.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/index.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/index.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-menu.esm.js +2 -2
- package/dist/nile-wysiwyg-editor/ui/image-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-menu.esm.js +4 -4
- package/dist/nile-wysiwyg-editor/ui/table-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-menu.esm.js +1 -1
- package/dist/src/index.d.ts +7 -2
- package/dist/src/index.js +6 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal/glyph.d.ts +6 -1
- package/dist/src/internal/glyph.js +8 -1
- package/dist/src/internal/glyph.js.map +1 -1
- package/dist/src/nile-app-shell/index.d.ts +7 -0
- package/dist/src/nile-app-shell/index.js +8 -0
- package/dist/src/nile-app-shell/index.js.map +1 -0
- package/dist/src/nile-app-shell/nile-app-shell-regions.test.d.ts +4 -0
- package/dist/src/nile-app-shell/nile-app-shell-regions.test.js +177 -0
- package/dist/src/nile-app-shell/nile-app-shell-regions.test.js.map +1 -0
- package/dist/src/nile-app-shell/nile-app-shell.css.d.ts +18 -0
- package/dist/src/nile-app-shell/nile-app-shell.css.js +572 -0
- package/dist/src/nile-app-shell/nile-app-shell.css.js.map +1 -0
- package/dist/src/nile-app-shell/nile-app-shell.d.ts +292 -0
- package/dist/src/nile-app-shell/nile-app-shell.js +796 -0
- package/dist/src/nile-app-shell/nile-app-shell.js.map +1 -0
- package/dist/src/nile-app-shell/nile-app-shell.test.d.ts +3 -0
- package/dist/src/nile-app-shell/nile-app-shell.test.js +454 -0
- package/dist/src/nile-app-shell/nile-app-shell.test.js.map +1 -0
- package/dist/src/nile-app-shell/shell-controller.d.ts +34 -0
- package/dist/src/nile-app-shell/shell-controller.js +80 -0
- package/dist/src/nile-app-shell/shell-controller.js.map +1 -0
- package/dist/src/nile-app-shell-main/index.d.ts +7 -0
- package/dist/src/nile-app-shell-main/index.js +8 -0
- package/dist/src/nile-app-shell-main/index.js.map +1 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.css.d.ts +9 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.css.js +27 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.css.js.map +1 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.d.ts +38 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.js +51 -0
- package/dist/src/nile-app-shell-main/nile-app-shell-main.js.map +1 -0
- package/dist/src/nile-app-shell-nav-toggle/index.d.ts +7 -0
- package/dist/src/nile-app-shell-nav-toggle/index.js +8 -0
- package/dist/src/nile-app-shell-nav-toggle/index.js.map +1 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.d.ts +13 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.js +42 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.js.map +1 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.d.ts +56 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js +126 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js.map +1 -0
- package/dist/src/nile-app-shell-panel/index.d.ts +7 -0
- package/dist/src/nile-app-shell-panel/index.js +8 -0
- package/dist/src/nile-app-shell-panel/index.js.map +1 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.css.d.ts +9 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.css.js +112 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.css.js.map +1 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.d.ts +73 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.js +158 -0
- package/dist/src/nile-app-shell-panel/nile-app-shell-panel.js.map +1 -0
- package/dist/src/nile-app-shell-side-nav/index.d.ts +7 -0
- package/dist/src/nile-app-shell-side-nav/index.js +8 -0
- package/dist/src/nile-app-shell-side-nav/index.js.map +1 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.d.ts +13 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js +68 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js.map +1 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.d.ts +54 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js +83 -0
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js.map +1 -0
- package/dist/src/nile-floating-panel/nile-floating-panel.css.js +46 -8
- package/dist/src/nile-floating-panel/nile-floating-panel.css.js.map +1 -1
- package/dist/src/nile-floating-panel/nile-floating-panel.js +13 -1
- package/dist/src/nile-floating-panel/nile-floating-panel.js.map +1 -1
- package/dist/src/nile-popover/nile-popover.css.js +30 -15
- package/dist/src/nile-popover/nile-popover.css.js.map +1 -1
- package/dist/src/nile-popover/nile-popover.js +1 -1
- package/dist/src/nile-popover/nile-popover.js.map +1 -1
- package/dist/src/nile-popover/nile-popover.test.js +1 -1
- package/dist/src/nile-popover/nile-popover.test.js.map +1 -1
- package/dist/src/version.d.ts +11 -1
- package/dist/src/version.js +51 -8
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.cjs.js +1 -1
- package/dist/version.cjs.js.map +1 -1
- package/dist/version.esm.js +1 -1
- package/package.json +7 -2
- package/src/index.ts +16 -4
- package/src/internal/glyph.ts +12 -1
- package/src/nile-app-shell/index.ts +8 -0
- package/src/nile-app-shell/nile-app-shell-regions.test.ts +215 -0
- package/src/nile-app-shell/nile-app-shell.css.ts +574 -0
- package/src/nile-app-shell/nile-app-shell.test.ts +536 -0
- package/src/nile-app-shell/nile-app-shell.ts +838 -0
- package/src/nile-app-shell/shell-controller.ts +100 -0
- package/src/nile-app-shell-main/index.ts +8 -0
- package/src/nile-app-shell-main/nile-app-shell-main.css.ts +29 -0
- package/src/nile-app-shell-main/nile-app-shell-main.ts +52 -0
- package/src/nile-app-shell-nav-toggle/index.ts +8 -0
- package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.css.ts +44 -0
- package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.ts +138 -0
- package/src/nile-app-shell-panel/index.ts +8 -0
- package/src/nile-app-shell-panel/nile-app-shell-panel.css.ts +114 -0
- package/src/nile-app-shell-panel/nile-app-shell-panel.ts +161 -0
- package/src/nile-app-shell-side-nav/index.ts +8 -0
- package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.ts +70 -0
- package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.ts +86 -0
- package/src/nile-floating-panel/nile-floating-panel.css.ts +46 -8
- package/src/nile-floating-panel/nile-floating-panel.ts +19 -1
- package/src/nile-popover/nile-popover.css.ts +30 -15
- package/src/nile-popover/nile-popover.test.ts +1 -1
- package/src/nile-popover/nile-popover.ts +1 -1
- package/src/version.ts +55 -7
- package/vscode-html-custom-data.json +216 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-popover.js","sourceRoot":"","sources":["../../../src/nile-popover/nile-popover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAEL,IAAI,GAIL,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,aAAa,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,o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I,EAAC,OAAO,EAAE,CAAC;yCAAc;AAE/B;IAAR,KAAK,EAAE;2CAAwB;AAEY;IAA3C,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;mDAInB;AAKoB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAAgC;AAE/B;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAAwB;AAOtC;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CAAe;AAMd;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2CAAgB;AAEf;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yCAAc;AAmF1C;IADC,KAAK,CAAC,QAAQ,CAAC;iDAkBf;AAvKU,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAqPvB;;AAED,eAAe,WAAW,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n LitElement,\n html,\n CSSResultArray,\n TemplateResult,\n PropertyValues,\n} from 'lit-element';\nimport { customElement,property, state } from 'lit/decorators.js';\nimport { styles } from './nile-popover.css';\nimport NileElement from '../internal/nile-element';\nimport { watch } from '../internal/watch';\nimport { CSSResultGroup } from 'lit';\nimport { PopoverPortalManager } from './portal-manager';\nimport { VisibilityManager } from '../utilities/visibility-manager.js';\n\n\n/**\n * Nile icon component.\n *\n * @tag nile-popover\n *\n */\n@customElement('nile-popover')\nexport class NilePopover extends NileElement {\n /**\n * The styles for Popover\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultGroup {\n return [styles];\n }\n\n /**\n * The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip\n * inside of the viewport.\n */\n @property() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** The distance in pixels from which to offset the popover away from its target. */\n @property({ type: Number }) distance = 18;\n\n @property({ type: Boolean, reflect: true }) preventOverlayClose = false;\n\n @property({ type: Boolean, attribute: 'arrow' }) arrow = true;\n\n /** Gives the title to the popover */\n @property({ type: String }) title = '';\n\n @property({type:Boolean }) open = false;\n\n @state() isShow:boolean = false;\n\n @property({ attribute: 'arrow-placement' }) arrowPlacement:\n | 'start'\n | 'end'\n | 'center'\n | 'anchor' = 'anchor';\n\n private portalManager: PopoverPortalManager | null = null;\n private visibilityManager?: VisibilityManager;\n\n @property({ type: Boolean, reflect: true }) enableVisibilityEffect = false;\n\n @property({ type: Boolean, reflect: true }) enableTabClose = false;\n\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n /**\n * Enable portal mode to render the popover content in a portal outside the component's DOM tree.\n * This provides better positioning control and prevents clipping issues in complex layouts.\n */\n @property({ type: Boolean }) portal = false;\n\n @property({ type: Boolean }) flip = false;\n\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n\n connectedCallback() {\n super.connectedCallback();\n this.emit('nile-init');\n document.addEventListener('click', this.handleDocumentClick);\n \n requestAnimationFrame(() => {\n if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n }\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.emit('nile-destroy');\n this.visibilityManager?.cleanup();\n document.removeEventListener('click', this.handleDocumentClick);\n \n if (this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n this.portalManager = null;\n }\n }\n\n protected async firstUpdated(_changed: PropertyValues) {\n await this.updateComplete;\n \n const anchorSlot = this.renderRoot.querySelector('slot[name=\"anchor\"]') as HTMLSlotElement | null;\n const anchorEl = anchorSlot?.assignedElements({ flatten: true })[0] as HTMLElement | undefined;\n \n \n this.visibilityManager = new VisibilityManager({\n host: this,\n target: anchorEl || null,\n enableVisibilityEffect: this.enableVisibilityEffect,\n enableTabClose: this.enableTabClose,\n isOpen: () => this.isShow,\n onAnchorOutOfView: () => {\n this.isShow = false;\n this.emit('nile-visibility-change', {\n visible: false,\n reason: 'anchor-out-of-view',\n });\n },\n onDocumentHidden: () => {\n this.isShow = false;\n this.emit('nile-visibility-change', {\n visible: false,\n reason: 'document-hidden',\n });\n },\n emit: (event, detail) => this.emit(`nile-${event}`, detail),\n });\n }\n\n \n protected updated(_changedProperties: PropertyValues): void {\n if (_changedProperties.has('open')) {\n this.isShow = this.open;\n }\n \n if (_changedProperties.has('portal')) {\n if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n } else if (!this.portal && this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n this.portalManager = null;\n }\n }\n }\n\n @watch('isShow')\n handleShowHide() {\n if (this.isShow) {\n this.emit('nile-show');\n this.visibilityManager?.setup();\n if (this.portal && this.portalManager) {\n this.portalManager.setupPortalAppend();\n } else if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n this.portalManager.setupPortalAppend();\n }\n } else {\n this.emit('nile-hide');\n this.visibilityManager?.cleanup();\n if (this.portal && this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n }\n }\n }\n\n public render(): TemplateResult {\n const shouldRenderContent = this.isShow && !(this.portal && this.portalManager);\n \n return html`\n <nile-popup\n active\n .arrow=\"${this.arrow && this.isShow && !this.portal}\"\n distance=\"${this.distance}\"\n placement=\"${this.placement}\"\n @click=${(e: Event) => e.stopPropagation()}\n arrowPlacement=\"${this.arrowPlacement}\"\n .flip=\"${this.flip}\"\n shift\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n >\n <slot\n slot=\"anchor\"\n name=\"anchor\"\n aria-describedby=\"tooltip\"\n @click=${this.handleClick}\n ></slot>\n ${shouldRenderContent\n ? html` <div part=\"popover\" class=\"popover__box\">\n <slot name=\"title\" class=\"popover__title\">${this.title}</slot>\n <slot part=\"base\"></slot>\n <slot name=\"action\" class=\"popover__action\"> </slot>\n </div>`\n : html``}\n </nile-popup>\n `;\n }\n\n private handleClick = () => {\n this.isShow = !this.isShow;\n const allPopovers = document.querySelectorAll('nile-popover');\n\n allPopovers.forEach(popover => {\n if (popover !== this) {\n popover.isShow = false;\n }\n });\n };\n\n private handleDocumentClick = () => {\n if (this.isShow && !this.preventOverlayClose) {\n this.isShow = false;\n }\n };\n\n public updatePortalContent(): void {\n if (this.portalManager) {\n this.portalManager.updatePortalAppendPosition();\n }\n }\n\n public forceReposition(): void {\n if (this.portalManager) {\n this.portalManager.forceReposition();\n }\n }\n\n public getCurrentPlacement(): string {\n if (this.portalManager) {\n return this.portalManager.getCurrentPlacement();\n }\n return this.placement;\n }\n\n public isPositioningOptimal(): boolean {\n if (this.portalManager) {\n return this.portalManager.isPositioningOptimal();\n }\n return true;\n }\n\n /* #endregion */\n}\n\nexport default NilePopover;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-popover': NilePopover;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"nile-popover.js","sourceRoot":"","sources":["../../../src/nile-popover/nile-popover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAEL,IAAI,GAIL,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,aAAa,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE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Q,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAAY;AAEZ;IAA1B,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAE,CAAC;yCAAc;AAE/B;IAAR,KAAK,EAAE;2CAAwB;AAEY;IAA3C,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;mDAInB;AAKoB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAAgC;AAE/B;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAAwB;AAOtC;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CAAe;AAMd;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2CAAgB;AAEf;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yCAAc;AAmF1C;IADC,KAAK,CAAC,QAAQ,CAAC;iDAkBf;AAvKU,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAqPvB;;AAED,eAAe,WAAW,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n LitElement,\n html,\n CSSResultArray,\n TemplateResult,\n PropertyValues,\n} from 'lit-element';\nimport { customElement,property, state } from 'lit/decorators.js';\nimport { styles } from './nile-popover.css';\nimport NileElement from '../internal/nile-element';\nimport { watch } from '../internal/watch';\nimport { CSSResultGroup } from 'lit';\nimport { PopoverPortalManager } from './portal-manager';\nimport { VisibilityManager } from '../utilities/visibility-manager.js';\n\n\n/**\n * Nile icon component.\n *\n * @tag nile-popover\n *\n */\n@customElement('nile-popover')\nexport class NilePopover extends NileElement {\n /**\n * The styles for Popover\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultGroup {\n return [styles];\n }\n\n /**\n * The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip\n * inside of the viewport.\n */\n @property() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** The distance in pixels from which to offset the popover away from its target. */\n @property({ type: Number }) distance = 12;\n\n @property({ type: Boolean, reflect: true }) preventOverlayClose = false;\n\n @property({ type: Boolean, attribute: 'arrow' }) arrow = true;\n\n /** Gives the title to the popover */\n @property({ type: String }) title = '';\n\n @property({type:Boolean }) open = false;\n\n @state() isShow:boolean = false;\n\n @property({ attribute: 'arrow-placement' }) arrowPlacement:\n | 'start'\n | 'end'\n | 'center'\n | 'anchor' = 'anchor';\n\n private portalManager: PopoverPortalManager | null = null;\n private visibilityManager?: VisibilityManager;\n\n @property({ type: Boolean, reflect: true }) enableVisibilityEffect = false;\n\n @property({ type: Boolean, reflect: true }) enableTabClose = false;\n\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n /**\n * Enable portal mode to render the popover content in a portal outside the component's DOM tree.\n * This provides better positioning control and prevents clipping issues in complex layouts.\n */\n @property({ type: Boolean }) portal = false;\n\n @property({ type: Boolean }) flip = false;\n\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n\n connectedCallback() {\n super.connectedCallback();\n this.emit('nile-init');\n document.addEventListener('click', this.handleDocumentClick);\n \n requestAnimationFrame(() => {\n if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n }\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.emit('nile-destroy');\n this.visibilityManager?.cleanup();\n document.removeEventListener('click', this.handleDocumentClick);\n \n if (this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n this.portalManager = null;\n }\n }\n\n protected async firstUpdated(_changed: PropertyValues) {\n await this.updateComplete;\n \n const anchorSlot = this.renderRoot.querySelector('slot[name=\"anchor\"]') as HTMLSlotElement | null;\n const anchorEl = anchorSlot?.assignedElements({ flatten: true })[0] as HTMLElement | undefined;\n \n \n this.visibilityManager = new VisibilityManager({\n host: this,\n target: anchorEl || null,\n enableVisibilityEffect: this.enableVisibilityEffect,\n enableTabClose: this.enableTabClose,\n isOpen: () => this.isShow,\n onAnchorOutOfView: () => {\n this.isShow = false;\n this.emit('nile-visibility-change', {\n visible: false,\n reason: 'anchor-out-of-view',\n });\n },\n onDocumentHidden: () => {\n this.isShow = false;\n this.emit('nile-visibility-change', {\n visible: false,\n reason: 'document-hidden',\n });\n },\n emit: (event, detail) => this.emit(`nile-${event}`, detail),\n });\n }\n\n \n protected updated(_changedProperties: PropertyValues): void {\n if (_changedProperties.has('open')) {\n this.isShow = this.open;\n }\n \n if (_changedProperties.has('portal')) {\n if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n } else if (!this.portal && this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n this.portalManager = null;\n }\n }\n }\n\n @watch('isShow')\n handleShowHide() {\n if (this.isShow) {\n this.emit('nile-show');\n this.visibilityManager?.setup();\n if (this.portal && this.portalManager) {\n this.portalManager.setupPortalAppend();\n } else if (this.portal && !this.portalManager) {\n this.portalManager = new PopoverPortalManager(this);\n this.portalManager.setupPortalAppend();\n }\n } else {\n this.emit('nile-hide');\n this.visibilityManager?.cleanup();\n if (this.portal && this.portalManager) {\n this.portalManager.cleanupPortalAppend();\n }\n }\n }\n\n public render(): TemplateResult {\n const shouldRenderContent = this.isShow && !(this.portal && this.portalManager);\n \n return html`\n <nile-popup\n active\n .arrow=\"${this.arrow && this.isShow && !this.portal}\"\n distance=\"${this.distance}\"\n placement=\"${this.placement}\"\n @click=${(e: Event) => e.stopPropagation()}\n arrowPlacement=\"${this.arrowPlacement}\"\n .flip=\"${this.flip}\"\n shift\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n >\n <slot\n slot=\"anchor\"\n name=\"anchor\"\n aria-describedby=\"tooltip\"\n @click=${this.handleClick}\n ></slot>\n ${shouldRenderContent\n ? html` <div part=\"popover\" class=\"popover__box\">\n <slot name=\"title\" class=\"popover__title\">${this.title}</slot>\n <slot part=\"base\"></slot>\n <slot name=\"action\" class=\"popover__action\"> </slot>\n </div>`\n : html``}\n </nile-popup>\n `;\n }\n\n private handleClick = () => {\n this.isShow = !this.isShow;\n const allPopovers = document.querySelectorAll('nile-popover');\n\n allPopovers.forEach(popover => {\n if (popover !== this) {\n popover.isShow = false;\n }\n });\n };\n\n private handleDocumentClick = () => {\n if (this.isShow && !this.preventOverlayClose) {\n this.isShow = false;\n }\n };\n\n public updatePortalContent(): void {\n if (this.portalManager) {\n this.portalManager.updatePortalAppendPosition();\n }\n }\n\n public forceReposition(): void {\n if (this.portalManager) {\n this.portalManager.forceReposition();\n }\n }\n\n public getCurrentPlacement(): string {\n if (this.portalManager) {\n return this.portalManager.getCurrentPlacement();\n }\n return this.placement;\n }\n\n public isPositioningOptimal(): boolean {\n if (this.portalManager) {\n return this.portalManager.isPositioningOptimal();\n }\n return true;\n }\n\n /* #endregion */\n}\n\nexport default NilePopover;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-popover': NilePopover;\n }\n}\n"]}
|
|
@@ -5,7 +5,7 @@ describe('NilePopover', () => {
|
|
|
5
5
|
it('2. shadow root', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.shadowRoot).to.not.be.null; });
|
|
6
6
|
it('3. tag name', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.tagName.toLowerCase()).to.equal('nile-popover'); });
|
|
7
7
|
it('4. placement defaults top', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.placement).to.equal('top'); });
|
|
8
|
-
it('5. distance defaults
|
|
8
|
+
it('5. distance defaults 12', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.distance).to.equal(12); });
|
|
9
9
|
it('6. preventOverlayClose defaults false', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.preventOverlayClose).to.equal(false); });
|
|
10
10
|
it('7. arrow defaults true', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.arrow).to.equal(true); });
|
|
11
11
|
it('8. title defaults empty', async () => { const el = await fixture(html `<nile-popover></nile-popover>`); expect(el.title).to.equal(''); });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-popover.test.js","sourceRoot":"","sources":["../../../src/nile-popover/nile-popover.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,gBAAgB,CAAC;AAGxB,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACnI,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxJ,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,C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AAC,CAAC;IACnN,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,0HAA0H,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjZ,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-popover';\nimport type { NilePopover } from './nile-popover';\n\ndescribe('NilePopover', () => {\n it('1. renders', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.tagName.toLowerCase()).to.equal('nile-popover'); });\n it('4. placement defaults top', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.placement).to.equal('top'); });\n it('5. distance defaults 18', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.distance).to.equal(18); });\n it('6. preventOverlayClose defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.preventOverlayClose).to.equal(false); });\n it('7. arrow defaults true', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.arrow).to.equal(true); });\n it('8. title defaults empty', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.title).to.equal(''); });\n it('9. open defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.open).to.equal(false); });\n it('10. arrowPlacement defaults anchor', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.arrowPlacement).to.equal('anchor'); });\n it('11. set placement', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom\"></nile-popover>`); expect(el.placement).to.equal('bottom'); });\n it('12. set distance', async () => { const el = await fixture<NilePopover>(html`<nile-popover distance=\"20\"></nile-popover>`); expect(el.distance).to.equal(20); });\n it('13. set arrow false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.arrow = false; await el.updateComplete; expect(el.arrow).to.be.false; });\n it('14. set title', async () => { const el = await fixture<NilePopover>(html`<nile-popover title=\"Info\"></nile-popover>`); expect(el.title).to.equal('Info'); });\n it('15. set preventOverlayClose', async () => { const el = await fixture<NilePopover>(html`<nile-popover preventOverlayClose></nile-popover>`); expect(el.preventOverlayClose).to.be.true; });\n it('16. has styles', async () => { expect((await import('./nile-popover')).NilePopover.styles).to.exist; });\n it('17. is defined', async () => { expect(customElements.get('nile-popover')).to.exist; });\n it('18. shadow mode', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('19. isConnected', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.isConnected).to.be.true; });\n it('20. removal', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('21. outerHTML', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.outerHTML).to.contain('nile-popover'); });\n it('22. matches', async () => { const el = await fixture<NilePopover>(html`<nile-popover class=\"x\"></nile-popover>`); expect(el.matches('.x')).to.be.true; });\n it('23. closest', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.closest('nile-popover')).to.equal(el); });\n it('24. cloneNode', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-popover'); });\n it('25. dispatchEvent', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('26. updateComplete', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('27. render method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.render).to.be.a('function'); });\n it('28. shadowRoot host', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('29. class attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover class=\"po\"></nile-popover>`); expect(el.classList.contains('po')).to.be.true; });\n it('30. id attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover id=\"po1\"></nile-popover>`); expect(el.id).to.equal('po1'); });\n it('31. hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover hidden></nile-popover>`); expect(el.hidden).to.be.true; });\n it('32. nodeType', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.nodeType).to.equal(1); });\n it('33. localName', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.localName).to.equal('nile-popover'); });\n it('34. namespaceURI', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('35. ownerDocument', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.ownerDocument).to.equal(document); });\n it('36. dynamic placement', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.placement = 'left'; await el.updateComplete; expect(el.placement).to.equal('left'); });\n it('37. dynamic distance', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.distance = 30; await el.updateComplete; expect(el.distance).to.equal(30); });\n it('38. dynamic title', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.title = 'New'; await el.updateComplete; expect(el.title).to.equal('New'); });\n it('39. multiple instances', async () => { const c = await fixture(html`<div><nile-popover></nile-popover><nile-popover></nile-popover></div>`); expect(c.querySelectorAll('nile-popover').length).to.equal(2); });\n it('40. parent-child', async () => { const c = await fixture(html`<div><nile-popover></nile-popover></div>`); expect(c.querySelector('nile-popover')!.parentElement).to.equal(c); });\n it('41. createElement', async () => { const el = document.createElement('nile-popover') as NilePopover; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('42. dataset', async () => { const el = await fixture<NilePopover>(html`<nile-popover data-idx=\"0\"></nile-popover>`); expect(el.dataset.idx).to.equal('0'); });\n it('43. classList add', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('44. getBoundingClientRect', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.getBoundingClientRect()).to.exist; });\n it('45. no form', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('46. no input', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('input')).to.be.null; });\n it('47. no anchor', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('48. no img', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('49. no svg', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('50. style attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover style=\"color:red\"></nile-popover>`); expect(el.style.color).to.equal('red'); });\n it('51. data attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover data-x=\"1\"></nile-popover>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('52. aria-label', async () => { const el = await fixture<NilePopover>(html`<nile-popover aria-label=\"Pop\"></nile-popover>`); expect(el.getAttribute('aria-label')).to.equal('Pop'); });\n it('53. dir', async () => { const el = await fixture<NilePopover>(html`<nile-popover dir=\"rtl\"></nile-popover>`); expect(el.dir).to.equal('rtl'); });\n it('54. lang attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover lang=\"en\"></nile-popover>`); expect(el.lang).to.equal('en'); });\n it('55. tabindex', async () => { const el = await fixture<NilePopover>(html`<nile-popover tabindex=\"0\"></nile-popover>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('56. requestUpdate', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('57. shadow childNodes', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('58. scrollIntoView', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('59. focus method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.focus).to.be.a('function'); });\n it('60. blur method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.blur).to.be.a('function'); });\n it('61. class toggle', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('62. toggle hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('63. dispatchCustomEvent', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('64. nested in div', async () => { const c = await fixture(html`<div><nile-popover></nile-popover></div>`); expect(c.querySelector('nile-popover')).to.exist; });\n it('65. no table', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('66. no ul', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('67. no canvas', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('68. no video', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('69. no audio', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('70. no nav', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('71. no aside', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('72. no textarea', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('73. no select', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('74. setAttribute data', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('75. removeAttribute hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover hidden></nile-popover>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('76. setAttribute class', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('77. aria-describedby', async () => { const el = await fixture<NilePopover>(html`<nile-popover aria-describedby=\"d\"></nile-popover>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('78. multiple re-renders', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('79. no h1', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('80. no pre', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('81. no code', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('82. no hr', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('83. no p', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('84. placement left', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"left\"></nile-popover>`); expect(el.placement).to.equal('left'); });\n it('85. placement right', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"right\"></nile-popover>`); expect(el.placement).to.equal('right'); });\n it('86. placement bottom-start', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom-start\"></nile-popover>`); expect(el.placement).to.equal('bottom-start'); });\n it('87. placement top-end', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"top-end\"></nile-popover>`); expect(el.placement).to.equal('top-end'); });\n it('88. arrowPlacement start', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"start\"></nile-popover>`); expect(el.arrowPlacement).to.equal('start'); });\n it('89. arrowPlacement end', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"end\"></nile-popover>`); expect(el.arrowPlacement).to.equal('end'); });\n it('90. arrowPlacement center', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"center\"></nile-popover>`); expect(el.arrowPlacement).to.equal('center'); });\n it('91. dynamic open', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.open = true; await el.updateComplete; expect(el.open).to.be.true; });\n it('92. dynamic preventOverlayClose', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.preventOverlayClose = true; await el.updateComplete; expect(el.preventOverlayClose).to.be.true; });\n it('93. dynamic arrowPlacement', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.arrowPlacement = 'center'; await el.updateComplete; expect(el.arrowPlacement).to.equal('center'); });\n it('94. no button', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('button')).to.be.null; });\n it('95. has slots', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.be.greaterThan(0); });\n it('96. content slot', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); const slots = el.shadowRoot!.querySelectorAll('slot'); expect(slots.length).to.be.greaterThan(0); });\n it('97. role attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover role=\"dialog\"></nile-popover>`); expect(el.getAttribute('role')).to.equal('dialog'); });\n it('98. isShow defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.isShow).to.equal(false); });\n it('99. preventOverlayClose reflects', async () => { const el = await fixture<NilePopover>(html`<nile-popover preventOverlayClose></nile-popover>`); expect(el.hasAttribute('preventoverlayclose')).to.be.true; });\n it('100. full integration', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom\" distance=\"20\" title=\"Info\" arrow-placement=\"center\" class=\"po\" id=\"po1\"></nile-popover>`); expect(el.placement).to.equal('bottom'); expect(el.distance).to.equal(20); expect(el.title).to.equal('Info'); expect(el.arrowPlacement).to.equal('center'); expect(el.id).to.equal('po1'); });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"nile-popover.test.js","sourceRoot":"","sources":["../../../src/nile-popover/nile-popover.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,gBAAgB,CAAC;AAGxB,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACnI,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxJ,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAc,IAAI,CAAA,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1K,EAAE,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EA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AAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjZ,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-popover';\nimport type { NilePopover } from './nile-popover';\n\ndescribe('NilePopover', () => {\n it('1. renders', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.tagName.toLowerCase()).to.equal('nile-popover'); });\n it('4. placement defaults top', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.placement).to.equal('top'); });\n it('5. distance defaults 12', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.distance).to.equal(12); });\n it('6. preventOverlayClose defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.preventOverlayClose).to.equal(false); });\n it('7. arrow defaults true', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.arrow).to.equal(true); });\n it('8. title defaults empty', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.title).to.equal(''); });\n it('9. open defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.open).to.equal(false); });\n it('10. arrowPlacement defaults anchor', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.arrowPlacement).to.equal('anchor'); });\n it('11. set placement', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom\"></nile-popover>`); expect(el.placement).to.equal('bottom'); });\n it('12. set distance', async () => { const el = await fixture<NilePopover>(html`<nile-popover distance=\"20\"></nile-popover>`); expect(el.distance).to.equal(20); });\n it('13. set arrow false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.arrow = false; await el.updateComplete; expect(el.arrow).to.be.false; });\n it('14. set title', async () => { const el = await fixture<NilePopover>(html`<nile-popover title=\"Info\"></nile-popover>`); expect(el.title).to.equal('Info'); });\n it('15. set preventOverlayClose', async () => { const el = await fixture<NilePopover>(html`<nile-popover preventOverlayClose></nile-popover>`); expect(el.preventOverlayClose).to.be.true; });\n it('16. has styles', async () => { expect((await import('./nile-popover')).NilePopover.styles).to.exist; });\n it('17. is defined', async () => { expect(customElements.get('nile-popover')).to.exist; });\n it('18. shadow mode', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('19. isConnected', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.isConnected).to.be.true; });\n it('20. removal', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('21. outerHTML', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.outerHTML).to.contain('nile-popover'); });\n it('22. matches', async () => { const el = await fixture<NilePopover>(html`<nile-popover class=\"x\"></nile-popover>`); expect(el.matches('.x')).to.be.true; });\n it('23. closest', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.closest('nile-popover')).to.equal(el); });\n it('24. cloneNode', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-popover'); });\n it('25. dispatchEvent', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('26. updateComplete', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('27. render method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.render).to.be.a('function'); });\n it('28. shadowRoot host', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('29. class attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover class=\"po\"></nile-popover>`); expect(el.classList.contains('po')).to.be.true; });\n it('30. id attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover id=\"po1\"></nile-popover>`); expect(el.id).to.equal('po1'); });\n it('31. hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover hidden></nile-popover>`); expect(el.hidden).to.be.true; });\n it('32. nodeType', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.nodeType).to.equal(1); });\n it('33. localName', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.localName).to.equal('nile-popover'); });\n it('34. namespaceURI', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('35. ownerDocument', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.ownerDocument).to.equal(document); });\n it('36. dynamic placement', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.placement = 'left'; await el.updateComplete; expect(el.placement).to.equal('left'); });\n it('37. dynamic distance', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.distance = 30; await el.updateComplete; expect(el.distance).to.equal(30); });\n it('38. dynamic title', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.title = 'New'; await el.updateComplete; expect(el.title).to.equal('New'); });\n it('39. multiple instances', async () => { const c = await fixture(html`<div><nile-popover></nile-popover><nile-popover></nile-popover></div>`); expect(c.querySelectorAll('nile-popover').length).to.equal(2); });\n it('40. parent-child', async () => { const c = await fixture(html`<div><nile-popover></nile-popover></div>`); expect(c.querySelector('nile-popover')!.parentElement).to.equal(c); });\n it('41. createElement', async () => { const el = document.createElement('nile-popover') as NilePopover; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('42. dataset', async () => { const el = await fixture<NilePopover>(html`<nile-popover data-idx=\"0\"></nile-popover>`); expect(el.dataset.idx).to.equal('0'); });\n it('43. classList add', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('44. getBoundingClientRect', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.getBoundingClientRect()).to.exist; });\n it('45. no form', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('46. no input', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('input')).to.be.null; });\n it('47. no anchor', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('48. no img', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('49. no svg', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('50. style attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover style=\"color:red\"></nile-popover>`); expect(el.style.color).to.equal('red'); });\n it('51. data attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover data-x=\"1\"></nile-popover>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('52. aria-label', async () => { const el = await fixture<NilePopover>(html`<nile-popover aria-label=\"Pop\"></nile-popover>`); expect(el.getAttribute('aria-label')).to.equal('Pop'); });\n it('53. dir', async () => { const el = await fixture<NilePopover>(html`<nile-popover dir=\"rtl\"></nile-popover>`); expect(el.dir).to.equal('rtl'); });\n it('54. lang attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover lang=\"en\"></nile-popover>`); expect(el.lang).to.equal('en'); });\n it('55. tabindex', async () => { const el = await fixture<NilePopover>(html`<nile-popover tabindex=\"0\"></nile-popover>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('56. requestUpdate', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('57. shadow childNodes', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('58. scrollIntoView', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('59. focus method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.focus).to.be.a('function'); });\n it('60. blur method', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.blur).to.be.a('function'); });\n it('61. class toggle', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('62. toggle hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('63. dispatchCustomEvent', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('64. nested in div', async () => { const c = await fixture(html`<div><nile-popover></nile-popover></div>`); expect(c.querySelector('nile-popover')).to.exist; });\n it('65. no table', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('66. no ul', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('67. no canvas', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('68. no video', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('69. no audio', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('70. no nav', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('71. no aside', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('72. no textarea', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('73. no select', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('74. setAttribute data', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('75. removeAttribute hidden', async () => { const el = await fixture<NilePopover>(html`<nile-popover hidden></nile-popover>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('76. setAttribute class', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('77. aria-describedby', async () => { const el = await fixture<NilePopover>(html`<nile-popover aria-describedby=\"d\"></nile-popover>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('78. multiple re-renders', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('79. no h1', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('80. no pre', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('81. no code', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('82. no hr', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('83. no p', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('84. placement left', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"left\"></nile-popover>`); expect(el.placement).to.equal('left'); });\n it('85. placement right', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"right\"></nile-popover>`); expect(el.placement).to.equal('right'); });\n it('86. placement bottom-start', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom-start\"></nile-popover>`); expect(el.placement).to.equal('bottom-start'); });\n it('87. placement top-end', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"top-end\"></nile-popover>`); expect(el.placement).to.equal('top-end'); });\n it('88. arrowPlacement start', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"start\"></nile-popover>`); expect(el.arrowPlacement).to.equal('start'); });\n it('89. arrowPlacement end', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"end\"></nile-popover>`); expect(el.arrowPlacement).to.equal('end'); });\n it('90. arrowPlacement center', async () => { const el = await fixture<NilePopover>(html`<nile-popover arrow-placement=\"center\"></nile-popover>`); expect(el.arrowPlacement).to.equal('center'); });\n it('91. dynamic open', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.open = true; await el.updateComplete; expect(el.open).to.be.true; });\n it('92. dynamic preventOverlayClose', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.preventOverlayClose = true; await el.updateComplete; expect(el.preventOverlayClose).to.be.true; });\n it('93. dynamic arrowPlacement', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); el.arrowPlacement = 'center'; await el.updateComplete; expect(el.arrowPlacement).to.equal('center'); });\n it('94. no button', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelector('button')).to.be.null; });\n it('95. has slots', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.be.greaterThan(0); });\n it('96. content slot', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); const slots = el.shadowRoot!.querySelectorAll('slot'); expect(slots.length).to.be.greaterThan(0); });\n it('97. role attr', async () => { const el = await fixture<NilePopover>(html`<nile-popover role=\"dialog\"></nile-popover>`); expect(el.getAttribute('role')).to.equal('dialog'); });\n it('98. isShow defaults false', async () => { const el = await fixture<NilePopover>(html`<nile-popover></nile-popover>`); expect(el.isShow).to.equal(false); });\n it('99. preventOverlayClose reflects', async () => { const el = await fixture<NilePopover>(html`<nile-popover preventOverlayClose></nile-popover>`); expect(el.hasAttribute('preventoverlayclose')).to.be.true; });\n it('100. full integration', async () => { const el = await fixture<NilePopover>(html`<nile-popover placement=\"bottom\" distance=\"20\" title=\"Info\" arrow-placement=\"center\" class=\"po\" id=\"po1\"></nile-popover>`); expect(el.placement).to.equal('bottom'); expect(el.distance).to.equal(20); expect(el.title).to.equal('Info'); expect(el.arrowPlacement).to.equal('center'); expect(el.id).to.equal('po1'); });\n});\n"]}
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
export declare const NILE_ELEMENTS_VERSION = "__NILE_ELEMENTS_VERSION__";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the
|
|
4
|
+
* page, falling back to the @aquera/nile bundled into this package when no
|
|
5
|
+
* stamped stylesheet is present.
|
|
6
|
+
*
|
|
7
|
+
* This is the canonical runtime API. It resolves on every call rather than
|
|
8
|
+
* caching, so it is correct even when the Nile stylesheet is added to the page
|
|
9
|
+
* after this module evaluates - which is the common case, and why no
|
|
10
|
+
* module-evaluation-time snapshot of it is exported.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getNileVersion(): string;
|
package/dist/src/version.js
CHANGED
|
@@ -3,16 +3,59 @@
|
|
|
3
3
|
// NILE_ELEMENTS_VERSION is this package's own version and is still substituted
|
|
4
4
|
// at build time by scripts/replace-version.cjs.
|
|
5
5
|
//
|
|
6
|
-
//
|
|
7
|
-
// @aquera/nile
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
// The tokens version is read from the loaded Nile stylesheet's --nile-version
|
|
7
|
+
// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),
|
|
8
|
+
// falling back to the @aquera/nile installed alongside this package.
|
|
9
|
+
//
|
|
10
|
+
// Reading the stylesheet is what makes a tokens-only release visible. The
|
|
11
|
+
// imported constant alone is not enough: rollup.config.js bundles
|
|
12
|
+
// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is
|
|
13
|
+
// frozen at this package's build time. The stylesheet is the live source.
|
|
14
|
+
import { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';
|
|
15
|
+
export const NILE_ELEMENTS_VERSION = '2.0.6';
|
|
16
|
+
function readStylesheetNileVersion() {
|
|
17
|
+
if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
try {
|
|
21
|
+
const value = getComputedStyle(document.documentElement)
|
|
22
|
+
.getPropertyValue('--nile-version')
|
|
23
|
+
.trim()
|
|
24
|
+
.replace(/^["']|["']$/g, '');
|
|
25
|
+
return value || null;
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the
|
|
33
|
+
* page, falling back to the @aquera/nile bundled into this package when no
|
|
34
|
+
* stamped stylesheet is present.
|
|
35
|
+
*
|
|
36
|
+
* This is the canonical runtime API. It resolves on every call rather than
|
|
37
|
+
* caching, so it is correct even when the Nile stylesheet is added to the page
|
|
38
|
+
* after this module evaluates - which is the common case, and why no
|
|
39
|
+
* module-evaluation-time snapshot of it is exported.
|
|
40
|
+
*/
|
|
41
|
+
export function getNileVersion() {
|
|
42
|
+
return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;
|
|
43
|
+
}
|
|
12
44
|
// Set global versions for runtime access
|
|
13
45
|
if (typeof window !== 'undefined') {
|
|
14
46
|
window.nileElementsVersion = NILE_ELEMENTS_VERSION;
|
|
15
|
-
window.nileVersion
|
|
16
|
-
|
|
47
|
+
// A getter rather than a value, so window.nileVersion reflects whichever
|
|
48
|
+
// stylesheet is loaded at read time regardless of script/style ordering.
|
|
49
|
+
let override = null;
|
|
50
|
+
Object.defineProperty(window, 'nileVersion', {
|
|
51
|
+
configurable: true,
|
|
52
|
+
get: () => override ?? getNileVersion(),
|
|
53
|
+
set: (value) => {
|
|
54
|
+
override = value;
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
window.process = window.process || {
|
|
58
|
+
env: { NODE_ENV: 'production' },
|
|
59
|
+
};
|
|
17
60
|
}
|
|
18
61
|
//# sourceMappingURL=version.js.map
|
package/dist/src/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,EAAE;AACF,+EAA+E;AAC/E,gDAAgD;AAChD,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,EAAE;AACF,+EAA+E;AAC/E,gDAAgD;AAChD,EAAE;AACF,8EAA8E;AAC9E,6EAA6E;AAC7E,qEAAqE;AACrE,EAAE;AACF,0EAA0E;AAC1E,kEAAkE;AAClE,4EAA4E;AAC5E,0EAA0E;AAC1E,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpF,MAAM,CAAC,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AAEjE,SAAS,yBAAyB;IAChC,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE,CAAC;QAC5E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC;aACrD,gBAAgB,CAAC,gBAAgB,CAAC;aAClC,IAAI,EAAE;aACN,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;QAE/B,OAAO,KAAK,IAAI,IAAI,CAAC;IACvB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,yBAAyB,EAAE,IAAI,qBAAqB,CAAC;AAC9D,CAAC;AAED,yCAAyC;AACzC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IACjC,MAAc,CAAC,mBAAmB,GAAG,qBAAqB,CAAC;IAE5D,yEAAyE;IACzE,yEAAyE;IACzE,IAAI,QAAQ,GAAkB,IAAI,CAAC;IACnC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE;QAC3C,YAAY,EAAE,IAAI;QAClB,GAAG,EAAE,GAAG,EAAE,CAAC,QAAQ,IAAI,cAAc,EAAE;QACvC,GAAG,EAAE,CAAC,KAAa,EAAE,EAAE;YACrB,QAAQ,GAAG,KAAK,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IAEF,MAAc,CAAC,OAAO,GAAI,MAAc,CAAC,OAAO,IAAI;QACnD,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE;KAChC,CAAC;AACJ,CAAC","sourcesContent":["// Version utility.\n//\n// NILE_ELEMENTS_VERSION is this package's own version and is still substituted\n// at build time by scripts/replace-version.cjs.\n//\n// The tokens version is read from the loaded Nile stylesheet's --nile-version\n// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),\n// falling back to the @aquera/nile installed alongside this package.\n//\n// Reading the stylesheet is what makes a tokens-only release visible. The\n// imported constant alone is not enough: rollup.config.js bundles\n// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is\n// frozen at this package's build time. The stylesheet is the live source.\nimport { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';\n\nexport const NILE_ELEMENTS_VERSION = '2.0.6';\n\nfunction readStylesheetNileVersion(): string | null {\n if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {\n return null;\n }\n\n try {\n const value = getComputedStyle(document.documentElement)\n .getPropertyValue('--nile-version')\n .trim()\n .replace(/^[\"']|[\"']$/g, '');\n\n return value || null;\n } catch {\n return null;\n }\n}\n\n/**\n * The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the\n * page, falling back to the @aquera/nile bundled into this package when no\n * stamped stylesheet is present.\n *\n * This is the canonical runtime API. It resolves on every call rather than\n * caching, so it is correct even when the Nile stylesheet is added to the page\n * after this module evaluates - which is the common case, and why no\n * module-evaluation-time snapshot of it is exported.\n */\nexport function getNileVersion(): string {\n return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;\n}\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n\n // A getter rather than a value, so window.nileVersion reflects whichever\n // stylesheet is loaded at read time regardless of script/style ordering.\n let override: string | null = null;\n Object.defineProperty(window, 'nileVersion', {\n configurable: true,\n get: () => override ?? getNileVersion(),\n set: (value: string) => {\n override = value;\n },\n });\n\n (window as any).process = (window as any).process || {\n env: { NODE_ENV: 'production' },\n };\n}\n"]}
|