@aquera/nile-elements 2.0.18 → 2.0.19

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 (60) hide show
  1. package/README.md +5 -0
  2. package/dist/index.cjs.js +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.js +404 -385
  5. package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js +1 -1
  6. package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js.map +1 -1
  7. package/dist/nile-breadcrumb/nile-breadcrumb.esm.js +2 -2
  8. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js +1 -1
  9. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js.map +1 -1
  10. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.cjs.js +1 -1
  11. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.cjs.js.map +1 -1
  12. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.esm.js +14 -2
  13. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.esm.js +4 -4
  14. package/dist/nile-select/index.cjs.js +1 -1
  15. package/dist/nile-select/index.esm.js +1 -1
  16. package/dist/nile-select/nile-select.cjs.js +2 -2
  17. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  18. package/dist/nile-select/nile-select.esm.js +1 -1
  19. package/dist/nile-select/virtual-scroll-helper.cjs.js +1 -1
  20. package/dist/nile-select/virtual-scroll-helper.cjs.js.map +1 -1
  21. package/dist/nile-select/virtual-scroll-helper.esm.js +48 -47
  22. package/dist/nile-virtual-select/nile-virtual-select.cjs.js +4 -4
  23. package/dist/nile-virtual-select/nile-virtual-select.cjs.js.map +1 -1
  24. package/dist/nile-virtual-select/nile-virtual-select.esm.js +2 -2
  25. package/dist/src/nile-breadcrumb/nile-breadcrumb.d.ts +7 -0
  26. package/dist/src/nile-breadcrumb/nile-breadcrumb.js +24 -1
  27. package/dist/src/nile-breadcrumb/nile-breadcrumb.js.map +1 -1
  28. package/dist/src/nile-breadcrumb/nile-breadcrumb.test.js +51 -0
  29. package/dist/src/nile-breadcrumb/nile-breadcrumb.test.js.map +1 -1
  30. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js +12 -0
  31. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js.map +1 -1
  32. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.d.ts +5 -0
  33. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.js +9 -0
  34. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.js.map +1 -1
  35. package/dist/src/nile-select/nile-select.d.ts +1 -0
  36. package/dist/src/nile-select/nile-select.js +16 -1
  37. package/dist/src/nile-select/nile-select.js.map +1 -1
  38. package/dist/src/nile-select/nile-select.test.js +430 -5
  39. package/dist/src/nile-select/nile-select.test.js.map +1 -1
  40. package/dist/src/nile-select/virtual-scroll-helper.js +7 -4
  41. package/dist/src/nile-select/virtual-scroll-helper.js.map +1 -1
  42. package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +3 -1
  43. package/dist/src/nile-virtual-select/nile-virtual-select.js +14 -6
  44. package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -1
  45. package/dist/src/nile-virtual-select/nile-virtual-select.test.js +115 -1
  46. package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +1 -1
  47. package/dist/src/version.js +1 -1
  48. package/dist/src/version.js.map +1 -1
  49. package/dist/tsconfig.tsbuildinfo +1 -1
  50. package/package.json +1 -1
  51. package/src/nile-breadcrumb/nile-breadcrumb.test.ts +57 -0
  52. package/src/nile-breadcrumb/nile-breadcrumb.ts +19 -0
  53. package/src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts +12 -0
  54. package/src/nile-breadcrumb-item/nile-breadcrumb-item.ts +7 -0
  55. package/src/nile-select/nile-select.test.ts +560 -5
  56. package/src/nile-select/nile-select.ts +21 -1
  57. package/src/nile-select/virtual-scroll-helper.ts +7 -4
  58. package/src/nile-virtual-select/nile-virtual-select.test.ts +139 -1
  59. package/src/nile-virtual-select/nile-virtual-select.ts +17 -6
  60. package/vscode-html-custom-data.json +39 -14
@@ -3,12 +3,12 @@ import{__decorate as i}from"tslib";import{html as s}from"lit";import{query as e,
3
3
  * @license
4
4
  * Copyright 2020 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */const O=(i,s)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(s,!1),O(i,s);return!0},F=i=>{let s,e;do{if(void 0===(s=i._$AM))break;e=s._$AN,e.delete(i),i=s}while(0===e?.size)},B=i=>{for(let s;s=i._$AM;i=s){let e=s._$AN;if(void 0===e)s._$AN=e=new Set;else if(e.has(i))break;e.add(i),T(s)}};
6
+ */const F=(i,s)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(s,!1),F(i,s);return!0},O=i=>{let s,e;do{if(void 0===(s=i._$AM))break;e=s._$AN,e.delete(i),i=s}while(0===e?.size)},B=i=>{for(let s;s=i._$AM;i=s){let e=s._$AN;if(void 0===e)s._$AN=e=new Set;else if(e.has(i))break;e.add(i),T(s)}};
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */function A(i){void 0!==this._$AN?(F(this),this._$AM=i,B(this)):this._$AM=i}function z(i,s=!1,e=0){const n=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(s)if(Array.isArray(n))for(let i=e;i<n.length;i++)O(n[i],!1),F(n[i]);else null!=n&&(O(n,!1),F(n));else O(this,i)}const T=i=>{i.type==$.CHILD&&(i._$AP??=z,i._$AQ??=A)};class V extends k{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,s,e){super._$AT(i,s,e),B(this),this.isConnected=i._$AU}_$AO(i,s=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),s&&(O(this,i),F(this))}setValue(i){if((i=>void 0===i.strings)(this._$Ct))this._$Ct._$AI(i,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=i,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}class M{constructor(i,{target:s,config:e,callback:n,skipInitial:o}){this.t=new Set,this.o=!1,this.i=!1,this.h=i,null!==s&&this.t.add(s??i),this.l=e,this.o=o??this.o,this.callback=n,window.ResizeObserver?(this.u=new ResizeObserver((i=>{this.handleChanges(i),this.h.requestUpdate()})),i.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}handleChanges(i){this.value=this.callback?.(i,this.u)}hostConnected(){for(const i of this.t)this.observe(i)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(i){this.t.add(i),this.u.observe(i,this.l),this.i=!0,this.h.requestUpdate()}unobserve(i){this.t.delete(i),this.u.unobserve(i)}disconnect(){this.u.disconnect()}target(i){return q(this,i)}}const q=C(class extends V{constructor(){super(...arguments),this.observing=!1}render(i,s){}update(i,[s,e]){this.controller=s,this.part=i,this.observe=e,!1===e?(s.unobserve(i.element),this.observing=!1):!1===this.observing&&(s.observe(i.element),this.observing=!0)}disconnected(){this.controller?.unobserve(this.part.element),this.observing=!1}reconnected(){!1!==this.observe&&!1===this.observing&&(this.controller?.observe(this.part.element),this.observing=!0)}});let I=class extends f{constructor(){super(...arguments),this.formControlController=new h(this,{assumeInteractionOn:["nile-blur","nile-input"]}),this.hasSlotController=new d(this,"help-text","label"),this.portalManager=new x(this),this.hasFocus=!1,this.displayLabel="",this.selectedOptions=[],this.oldValue="",this.scrolling=!1,this.name="",this.data=[],this.originalOptionItems=[],this.value="",this.defaultValue="",this.size="medium",this.placeholder="Select...",this.autoResize=!1,this.searchValue="",this.searchEnabled=!1,this.enableVisibilityEffect=!1,this.internalSearchPlaceHolder="Search...",this.disableLocalSearch=!1,this.optionsLoading=!1,this.loading=!1,this.multiple=!1,this.helpText="",this.errorMessage="",this.warning=!1,this.error=!1,this.success=!1,this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.filled=!1,this.pill=!1,this.label="",this.placement="bottom",this.form="",this.required=!1,this.showNoResults=!1,this.noResultsMessage="No results found",this.showSelected=!1,this.blockValueChange=!1,this.noWidthSync=!1,this.portal=!1,this._maxOptionsVisible=3,this.maxOptionsVisibleExplicit=!1,this.chipMinWidth=110,this.chipMaxWidth=180,this.showTooltip=!1,this.hiddenChipCount=0,this.oldMaxOptionsVisible=1,this.lastOverflowWidth=0,this.chipFitFrame=0,this.lastChipLayout={hidden:-1,visible:-1},this.clippedChips=[],this.clipFrame=0,this.enableTabClose=!1,this.descriptionSearchEnabled=!1,this.allowHtmlLabel=!0,this.enableDescription=!1,this.legacy=!1,this.tickOnSelect=!1,this.showListbox=!1,this.wasShowSelectedCheckedOnClose=!1,this.handleDocumentMouseDown=i=>{if(!this.open)return;const s=i.composedPath(),e=s.includes(this),n=this.popup&&s.includes(this.popup),o=this.portal&&this.portalManager.portalContainerElement&&s.includes(this.portalManager.portalContainerElement);e||n||o||this.hide()},this.handleWindowError=i=>{(i.error?.message||i.message||"").includes("Cannot read properties of null (reading 'insertBefore')")&&i.preventDefault()},this.handleWindowResize=()=>{this.portalManager.updatePortalAppendPosition()},this.handleWindowScroll=()=>{this.portalManager.updatePortalAppendPosition()},this.resizeController=new M(this,{callback:i=>{for(const s of i)s.target.classList.contains("select__tags")&&this.calculateTotalWidthOfTags()}})}get maxOptionsVisible(){return this._maxOptionsVisible}set maxOptionsVisible(i){const s=this._maxOptionsVisible;this._maxOptionsVisible=i,this.maxOptionsVisibleExplicit=!0,this.requestUpdate("maxOptionsVisible",s)}get chipFittingEnabled(){return!!this.multiple&&this.showTooltip&&!this.maxOptionsVisibleExplicit}get legacyTagFitEnabled(){return!!this.multiple&&!this.showTooltip}setFittedMaxOptionsVisible(i){const s=this._maxOptionsVisible;this._maxOptionsVisible=i,this.requestUpdate("maxOptionsVisible",s)}get validity(){return this.valueInput?.validity}get validationMessage(){return this.valueInput?.validationMessage??""}connectedCallback(){super.connectedCallback(),this.initializeComponent(),this.setupEventListeners(),this.updateComplete.then((()=>{this.value&&this.data.length>0&&this.selectionChanged()}))}disconnectedCallback(){this.removeOpenListeners(),this.visibilityManager?.cleanup(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=void 0),this.portalManager.cleanupPortalAppend(),this.destroyChipFit()}updated(i){i.has("value")&&this.selectionChanged(),(i.has("autoResize")||i.has("multiple")||i.has("maxOptionsVisible")||i.has("showTooltip"))&&this.setupResizeObserver(),i.has("showTooltip")&&void 0!==i.get("showTooltip")&&this.legacyTagFitEnabled&&this.calculateTotalWidthOfTags(),(i.has("chipMinWidth")||i.has("chipMaxWidth"))&&this.destroyChipFit(),this.chipFittingEnabled&&this.calculateTotalWidthOfTags(),this.multiple&&this.showTooltip&&this.scheduleClipCheck()}initializeComponent(){this.open=!1,this.emit("nile-init")}getDisplayText(i){return this.renderItemConfig?.getDisplayText?this.renderItemConfig.getDisplayText(i):i?.label||i?.name||i?.toString()||""}getItemValue(i){return this.renderItemConfig?.getValue?this.renderItemConfig.getValue(i):i?.value||i}getItemDescription(i){return this.renderItemConfig?.getDescription?this.renderItemConfig.getDescription(i):i?.description||i||""}getItemPrefix(i){return this.renderItemConfig?.getPrefix?this.renderItemConfig.getPrefix(i):i?.prefix||i||""}getItemSuffix(i){return this.renderItemConfig?.getSuffix?this.renderItemConfig.getSuffix(i):i?.suffix||i||""}getSearchText(i){return this.renderItemConfig?.getSearchText?this.renderItemConfig.getSearchText(i):this.getDisplayText(i)}setupEventListeners(){this.handleDocumentFocusIn=this.handleDocumentFocusIn.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.handleWindowError=this.handleWindowError.bind(this),this.handleWindowResize=this.handleWindowResize.bind(this),this.handleWindowScroll=this.handleWindowScroll.bind(this)}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown),window.addEventListener("error",this.handleWindowError),this.portal&&(window.addEventListener("resize",this.handleWindowResize),window.addEventListener("scroll",this.handleWindowScroll,!0))}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),window.removeEventListener("error",this.handleWindowError),window.removeEventListener("resize",this.handleWindowResize),window.removeEventListener("scroll",this.handleWindowScroll,!0)}handleFocus(){this.hasFocus=!0,this.emit("nile-focus")}handleBlur(){this.hasFocus=!1,this.emit("nile-blur")}firstUpdated(i){this.visibilityManager=new S({host:this,target:this.combobox,enableVisibilityEffect:this.enableVisibilityEffect,enableTabClose:this.enableTabClose,isOpen:()=>this.open,onAnchorOutOfView:()=>{this.hide(),this.emit("nile-visibility-change",{visible:!1,reason:"anchor-out-of-view",name:this.name})},onDocumentHidden:()=>{this.hide(),this.emit("nile-visibility-change",{visible:!1,reason:"document-hidden",name:this.name})},emit:(i,s)=>this.emit(`nile-${i}`,s)})}handleDocumentFocusIn(i){if(!this.open)return;const s=i.composedPath(),e=s.includes(this),n=this.popup&&s.includes(this.popup),o=this.portal&&this.portalManager.portalContainerElement&&s.includes(this.portalManager.portalContainerElement);e||n||o||this.hide()}handleDocumentKeyDown(i){this.shouldIgnoreKeyPress(i)||(this.isEscapeKey(i)&&this.handleEscapeKey(i),this.isEnterOrSpaceKey(i)&&this.handleEnterOrSpaceKey(i))}shouldIgnoreKeyPress(i){const s=i.target,e=null!==s.closest(".select__clear"),n=null!==s.closest("nile-icon-button");return e||n}isEscapeKey(i){return"Escape"===i.key&&this.open}handleEscapeKey(i){i.preventDefault(),i.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})}isEnterOrSpaceKey(i){return"Enter"===i.key||" "===i.key}handleEnterOrSpaceKey(i){i.preventDefault(),i.stopImmediatePropagation(),this.open?this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})):this.show()}handleFooterClick(i){i.stopPropagation(),i.preventDefault()}toggleShowSelected(i){if(i.stopPropagation(),i.preventDefault(),0!==this.selectedOptions?.length){if(this.showSelected=!this.showSelected,this.showSelected){this.searchValue="";const i=Array.isArray(this.value)?this.value:[this.value];this.data=this.originalOptionItems.filter((s=>{const e=this.getItemValue(s);return i.some((i=>String(i)===String(e)))}))}else this.data=[...this.originalOptionItems];this.portalManager.resetMeasuredHeight(),this.requestUpdate(),this.repaintOptionsContainer()}}unSelectAll(){this.showSelected=!1,this.value=this.multiple?[]:"",this.data=[...this.originalOptionItems],this.selectionChanged(),this.emit("nile-change",{value:this.value,name:this.name}),this.emit("nile-clear",{value:this.multiple?this.value:"",name:this.name}),this.resetScrollPosition()}handleLabelClick(){this.displayInput.focus(),this.hide()}handleComboboxMouseDown(i){this.shouldIgnoreComboboxClick(i)||(i.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}shouldIgnoreComboboxClick(i){const s=i.composedPath(),e=s.some((i=>i instanceof Element&&"nile-icon-button"===i.tagName.toLowerCase())),n=s.some((i=>i instanceof HTMLButtonElement&&i.classList.contains("select__tags-count")));return this.disabled||e||n}handleComboboxKeyDown(i){this.isEnterOrSpaceKey(i)&&(i.preventDefault(),this.open=!this.open)}handleClearClick(i){i.stopPropagation(),this.clearSelection()}clearSelection(){this.value,this.value=this.multiple?[]:"",this.selectionChanged(),this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name}),this.emit("nile-clear")}))}handleClearMouseDown(i){i.stopPropagation()}handleOptionClick(i){const s=i.target.closest("nile-option");if(this.shouldBlockValueChange(s))return;const e=this.value;this.oldValue=e,s&&!s.disabled&&this.handleOptionSelection(s)}shouldBlockValueChange(i){return!(!this.blockValueChange||!i)&&(this.emit("nile-block-change",{value:i?.value,name:this.name}),this.hide(),!0)}handleOptionSelection(i){const s=i.value;this.multiple?this.toggleOptionSelection(s):this.setSelectedOptions(s),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==this.oldValue&&this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name})})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}))}setSelectedOptions(i){this.value=i,this.selectionChanged()}toggleOptionSelection(i){const s=Array.isArray(this.value)?this.value:[];s.includes(i)?this.value=s.filter((s=>s!==i)):this.value=[...s,i],this.selectionChanged()}handleTagRemove(i,s){i.stopPropagation(),this.disabled||(this.removeTagFromSelection(s),this.emitTagRemovalEvent(s))}removeTagFromSelection(i){let s=this.value;Array.isArray(s)||(s=s?[s]:[]);const e=s.filter((s=>s!==i.value));this.value=e,this.selectionChanged()}emitTagRemovalEvent(i){this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name}),this.emit("nile-tag-remove",{value:this.value,name:this.name,removedtagvalue:i.value})}))}selectionChanged(){const i=this.originalOptionItems.length>0?this.originalOptionItems:this.data;if(this.selectedOptions=y.createVirtualOptionsFromValues(this.value,i,this.getDisplayText.bind(this),this.renderItemConfig?.getValue,this.allowHtmlLabel),this.multiple)this.placeholder&&0===this.value.length?this.displayLabel="":this.displayLabel=this.selectedOptions.length+" selected";else{const i=Array.isArray(this.value)?this.value[0]:this.value,s=this.selectedOptions[0]?.getTextLabel();this.displayLabel=s||(i??"")}this.updateValidity(),0===this.selectedOptions.length&&(this.showSelected=!1,this.originalOptionItems?.length>0&&!this.searchValue&&(this.data=[...this.originalOptionItems]),this.repaintOptionsContainer()),this.calculateTotalWidthOfTags()}handleSearchFocus(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleSearchBlur(){document.addEventListener("keydown",this.handleDocumentKeyDown)}handleSearchChange(i){this.searchValue=i.detail.value,this.portal&&this.portalManager.updatePortalAppendPosition(),this.emit("nile-search",{query:this.searchValue,name:this.name}),this.disableLocalSearch||(this.filterVirtualOptions(this.searchValue),this.repaintOptionsContainer(),this.portalManager.resetMeasuredHeight())}repaintOptionsContainer(){this.resetScrollPosition(),this.updateComplete.then((()=>{const i=this.shadowRoot?.querySelector(".virtualized");i&&(this.data.length<5?i.classList.add("no-scroll"):i.classList.remove("no-scroll"))}))}handleScroll(i){if(this.showSelected)return;const s=i.target;this.emit("nile-scroll",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name}),this.scrolling||(this.scrolling=!0,this.emit("nile-scroll-start",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name})),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout((()=>{this.scrolling&&(this.scrolling=!1)}),300);Math.ceil(s.scrollTop)>=Math.floor(s.scrollHeight-s.offsetHeight)&&!this.searchValue&&this.emit("nile-scroll-end",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name,isAtBottom:!0})}filterVirtualOptions(i){const s=w.filterVirtualOptions(i,this.originalOptionItems,this.data,this.getDisplayText.bind(this),this.getItemDescription.bind(this),this.descriptionSearchEnabled,this.renderItemConfig?.getSearchText);this.portal?(this.portalManager.updatePortalAppendPosition(),this.updateComplete.then((()=>{requestAnimationFrame((()=>{this.resetScrollPosition()}))}))):this.resetScrollPosition(),this.data=s.filteredItems,this.showNoResults=s.showNoResults,this.showSelected=!1,this.requestUpdate()}handleInvalid(i){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(i)}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.selectionChanged(),this.requestUpdate(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handleDataChange(){this.data.length>0&&this.open&&!this.showSelected&&!this.searchValue&&(this.originalOptionItems=[...this.data]),this.selectionChanged(),this.optionsLoading||this.loading||0!==this.data.length?this.data.length>0&&(this.showNoResults=!1):this.showNoResults=!0,this.requestUpdate(),this.portalManager.resetMeasuredHeight(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handleRenderItemConfigChange(){this.value&&this.data.length>0&&(this.selectionChanged(),this.requestUpdate())}handleOptionsLoadingChange(){this.optionsLoading||0!==this.data.length||(this.showNoResults=!0),this.requestUpdate(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handlePortalAppendChange(){this.open&&(this.portal?this.portalManager.setupPortalAppend():this.portalManager.cleanupPortalAppend())}async handleOpenChange(){this.open&&!this.disabled?(this.visibilityManager?.setup(),this.showListbox=!0,await this.updateComplete,await this.handleOpen(),this.portal&&this.portalManager.setupPortalAppend()):(this.visibilityManager?.cleanup(),await this.handleClose(),this.showListbox=!1,this.portal&&this.portalManager.cleanupPortalAppend())}async handleOpen(){this.emit("nile-show",{value:this.value,name:this.name}),this.addOpenListeners(),this.showNoResults=!this.data?.length,await r(this),this.popup?.popup&&(this.popup.popup.style.visibility="hidden"),this.popup.active=!0,await new Promise((i=>requestAnimationFrame(i))),await new Promise((i=>requestAnimationFrame(i))),this.popup?.popup&&(this.popup.popup.style.visibility="");const{keyframes:i,options:s}=v(this,"select.show",{dir:"ltr"});await l(this.popup.popup,i,s),this.wasShowSelectedCheckedOnClose&&(this.showSelected=!1,this.data=[...this.originalOptionItems],this.wasShowSelectedCheckedOnClose=!1),this.filterVirtualOptions(""),this.resetScrollPosition(),this.emit("nile-after-show",{value:this.value,name:this.name})}async handleClose(){this.emit("nile-hide",{value:this.value,name:this.name}),this.removeOpenListeners(),this.wasShowSelectedCheckedOnClose=this.showSelected,await r(this);const{keyframes:i,options:s}=v(this,"select.hide",{dir:"ltr"});await l(this.popup.popup,i,s),this.popup.active=!1,this.popup?.popup&&(this.popup.popup.style.visibility=""),this.searchValue="",this.portalManager.resetMeasuredHeight(),this.emit("nile-after-hide",{value:this.value,name:this.name})}async show(){if(!this.open&&!this.disabled)return this.open=!0,j(this,"nile-after-show");this.open=!1}async hide(){if(this.open&&!this.disabled)return this.open=!1,j(this,"nile-after-hide");this.open=!1}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.valueInput.reportValidity()}setCustomValidity(i){this.valueInput.setCustomValidity(i),this.formControlController.updateValidity()}focus(i){this.displayInput.focus(i)}blur(){this.displayInput.blur()}onInputChange(i){i.stopPropagation()}render(){const i=this.hasSlotController.test("label");this.hasSlotController.test("help-text");const e=this.hasSlotController.test("label-suffix"),n=this.hasSlotController.test("custom-select"),o=!!this.label||!!i,t=this.clearable&&!this.disabled&&this.value.length>0,c=!!this.placeholder&&0===this.value.length,r=!!this.helpText,l=!!this.errorMessage;return s`
11
+ */function A(i){void 0!==this._$AN?(O(this),this._$AM=i,B(this)):this._$AM=i}function z(i,s=!1,e=0){const n=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(s)if(Array.isArray(n))for(let i=e;i<n.length;i++)F(n[i],!1),O(n[i]);else null!=n&&(F(n,!1),O(n));else F(this,i)}const T=i=>{i.type==$.CHILD&&(i._$AP??=z,i._$AQ??=A)};class V extends k{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,s,e){super._$AT(i,s,e),B(this),this.isConnected=i._$AU}_$AO(i,s=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),s&&(F(this,i),O(this))}setValue(i){if((i=>void 0===i.strings)(this._$Ct))this._$Ct._$AI(i,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=i,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}class M{constructor(i,{target:s,config:e,callback:n,skipInitial:o}){this.t=new Set,this.o=!1,this.i=!1,this.h=i,null!==s&&this.t.add(s??i),this.l=e,this.o=o??this.o,this.callback=n,window.ResizeObserver?(this.u=new ResizeObserver((i=>{this.handleChanges(i),this.h.requestUpdate()})),i.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}handleChanges(i){this.value=this.callback?.(i,this.u)}hostConnected(){for(const i of this.t)this.observe(i)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(i){this.t.add(i),this.u.observe(i,this.l),this.i=!0,this.h.requestUpdate()}unobserve(i){this.t.delete(i),this.u.unobserve(i)}disconnect(){this.u.disconnect()}target(i){return q(this,i)}}const q=C(class extends V{constructor(){super(...arguments),this.observing=!1}render(i,s){}update(i,[s,e]){this.controller=s,this.part=i,this.observe=e,!1===e?(s.unobserve(i.element),this.observing=!1):!1===this.observing&&(s.observe(i.element),this.observing=!0)}disconnected(){this.controller?.unobserve(this.part.element),this.observing=!1}reconnected(){!1!==this.observe&&!1===this.observing&&(this.controller?.observe(this.part.element),this.observing=!0)}});let I=class extends f{constructor(){super(...arguments),this.formControlController=new h(this,{assumeInteractionOn:["nile-blur","nile-input"]}),this.hasSlotController=new d(this,"help-text","label"),this.portalManager=new x(this),this.hasFocus=!1,this.displayLabel="",this.selectedOptions=[],this.oldValue="",this.scrolling=!1,this.name="",this.data=[],this.originalOptionItems=[],this.value="",this.defaultValue="",this.size="medium",this.placeholder="Select...",this.autoResize=!1,this.searchValue="",this.searchEnabled=!1,this.enableVisibilityEffect=!1,this.internalSearchPlaceHolder="Search...",this.disableLocalSearch=!1,this.optionsLoading=!1,this.loading=!1,this.multiple=!1,this.helpText="",this.errorMessage="",this.warning=!1,this.error=!1,this.success=!1,this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.filled=!1,this.pill=!1,this.label="",this.placement="bottom",this.form="",this.required=!1,this.showNoResults=!1,this.noResultsMessage="No results found",this.showSelected=!1,this.blockValueChange=!1,this.noWidthSync=!1,this.portal=!1,this._maxOptionsVisible=3,this.maxOptionsVisibleExplicit=!1,this.chipMinWidth=110,this.chipMaxWidth=180,this.showTooltip=!1,this.hiddenChipCount=0,this.oldMaxOptionsVisible=1,this.lastOverflowWidth=0,this.chipFitFrame=0,this.lastChipLayout={hidden:-1,visible:-1},this.clippedChips=[],this.clipFrame=0,this.enableTabClose=!1,this.descriptionSearchEnabled=!1,this.allowHtmlLabel=!0,this.enableDescription=!1,this.legacy=!1,this.tickOnSelect=!1,this.showListbox=!1,this.wasShowSelectedCheckedOnClose=!1,this.handleDocumentMouseDown=i=>{if(!this.open)return;const s=i.composedPath(),e=s.includes(this),n=this.popup&&s.includes(this.popup),o=this.portal&&this.portalManager.portalContainerElement&&s.includes(this.portalManager.portalContainerElement);e||n||o||this.hide()},this.handleWindowError=i=>{(i.error?.message||i.message||"").includes("Cannot read properties of null (reading 'insertBefore')")&&i.preventDefault()},this.handleWindowResize=()=>{this.portalManager.updatePortalAppendPosition()},this.handleWindowScroll=()=>{this.portalManager.updatePortalAppendPosition()},this.resizeController=new M(this,{callback:i=>{for(const s of i)s.target.classList.contains("select__tags")&&this.calculateTotalWidthOfTags()}})}get maxOptionsVisible(){return this._maxOptionsVisible}set maxOptionsVisible(i){const s=this._maxOptionsVisible;this._maxOptionsVisible=i,this.maxOptionsVisibleExplicit=!0,this.requestUpdate("maxOptionsVisible",s)}get chipFittingEnabled(){return!!this.multiple&&this.showTooltip&&!this.maxOptionsVisibleExplicit}get legacyTagFitEnabled(){return!!this.multiple&&!this.showTooltip}setFittedMaxOptionsVisible(i){const s=this._maxOptionsVisible;this._maxOptionsVisible=i,this.requestUpdate("maxOptionsVisible",s)}get validity(){return this.valueInput?.validity}get validationMessage(){return this.valueInput?.validationMessage??""}connectedCallback(){super.connectedCallback(),this.initializeComponent(),this.setupEventListeners(),this.updateComplete.then((()=>{this.value&&this.data.length>0&&this.selectionChanged()}))}disconnectedCallback(){this.removeOpenListeners(),this.visibilityManager?.cleanup(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=void 0),this.portalManager.cleanupPortalAppend(),this.destroyChipFit()}updated(i){i.has("value")&&this.selectionChanged(),(i.has("autoResize")||i.has("multiple")||i.has("maxOptionsVisible")||i.has("showTooltip"))&&this.setupResizeObserver(),i.has("showTooltip")&&void 0!==i.get("showTooltip")&&this.legacyTagFitEnabled&&this.calculateTotalWidthOfTags(),(i.has("chipMinWidth")||i.has("chipMaxWidth"))&&this.destroyChipFit(),this.chipFittingEnabled&&this.calculateTotalWidthOfTags(),this.multiple&&this.showTooltip&&this.scheduleClipCheck()}initializeComponent(){this.open=!1,this.emit("nile-init")}getDisplayText(i){return this.renderItemConfig?.getDisplayText?this.renderItemConfig.getDisplayText(i):i?.label||i?.name||i?.toString()||""}getItemValue(i){return this.renderItemConfig?.getValue?this.renderItemConfig.getValue(i):i?.value||i}getItemDescription(i){return this.renderItemConfig?.getDescription?this.renderItemConfig.getDescription(i):i?.description||i||""}getItemPrefix(i){return this.renderItemConfig?.getPrefix?this.renderItemConfig.getPrefix(i):i?.prefix||i||""}getItemSuffix(i){return this.renderItemConfig?.getSuffix?this.renderItemConfig.getSuffix(i):i?.suffix||i||""}getSearchText(i){return this.renderItemConfig?.getSearchText?this.renderItemConfig.getSearchText(i):this.getDisplayText(i)}setupEventListeners(){this.handleDocumentFocusIn=this.handleDocumentFocusIn.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.handleWindowError=this.handleWindowError.bind(this),this.handleWindowResize=this.handleWindowResize.bind(this),this.handleWindowScroll=this.handleWindowScroll.bind(this)}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown),window.addEventListener("error",this.handleWindowError),this.portal&&(window.addEventListener("resize",this.handleWindowResize),window.addEventListener("scroll",this.handleWindowScroll,!0))}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),window.removeEventListener("error",this.handleWindowError),window.removeEventListener("resize",this.handleWindowResize),window.removeEventListener("scroll",this.handleWindowScroll,!0)}handleFocus(){this.hasFocus=!0,this.emit("nile-focus")}handleBlur(){this.hasFocus=!1,this.emit("nile-blur")}firstUpdated(i){this.visibilityManager=new S({host:this,target:this.combobox,enableVisibilityEffect:this.enableVisibilityEffect,enableTabClose:this.enableTabClose,isOpen:()=>this.open,onAnchorOutOfView:()=>{this.hide(),this.emit("nile-visibility-change",{visible:!1,reason:"anchor-out-of-view",name:this.name})},onDocumentHidden:()=>{this.hide(),this.emit("nile-visibility-change",{visible:!1,reason:"document-hidden",name:this.name})},emit:(i,s)=>this.emit(`nile-${i}`,s)})}handleDocumentFocusIn(i){if(!this.open)return;const s=i.composedPath(),e=s.includes(this),n=this.popup&&s.includes(this.popup),o=this.portal&&this.portalManager.portalContainerElement&&s.includes(this.portalManager.portalContainerElement);e||n||o||this.hide()}handleDocumentKeyDown(i){this.shouldIgnoreKeyPress(i)||(this.isEscapeKey(i)&&this.handleEscapeKey(i),this.isEnterOrSpaceKey(i)&&this.handleEnterOrSpaceKey(i))}shouldIgnoreKeyPress(i){const s=i.target,e=null!==s.closest(".select__clear"),n=null!==s.closest("nile-icon-button");return e||n}isEscapeKey(i){return"Escape"===i.key&&this.open}handleEscapeKey(i){i.preventDefault(),i.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})}isEnterOrSpaceKey(i){return"Enter"===i.key||" "===i.key}handleEnterOrSpaceKey(i){i.preventDefault(),i.stopImmediatePropagation(),this.open?this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})):this.show()}handleFooterClick(i){i.stopPropagation(),i.preventDefault()}applySelectedFilter(){const i=Array.isArray(this.value)?this.value:[this.value];this.data=this.originalOptionItems.filter((s=>{const e=this.getItemValue(s);return i.some((i=>String(i)===String(e)))}))}toggleShowSelected(i){i.stopPropagation(),i.preventDefault(),0!==this.selectedOptions?.length&&(this.showSelected=!this.showSelected,this.showSelected?(this.searchValue="",this.applySelectedFilter()):this.data=[...this.originalOptionItems],this.portalManager.resetMeasuredHeight(),this.requestUpdate(),this.repaintOptionsContainer())}unSelectAll(){this.showSelected=!1,this.value=this.multiple?[]:"",this.data=[...this.originalOptionItems],this.selectionChanged(),this.emit("nile-change",{value:this.value,name:this.name}),this.emit("nile-clear",{value:this.multiple?this.value:"",name:this.name}),this.resetScrollPosition()}handleLabelClick(){this.displayInput.focus(),this.hide()}handleComboboxMouseDown(i){this.shouldIgnoreComboboxClick(i)||(i.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}shouldIgnoreComboboxClick(i){const s=i.composedPath(),e=s.some((i=>i instanceof Element&&"nile-icon-button"===i.tagName.toLowerCase())),n=s.some((i=>i instanceof HTMLButtonElement&&i.classList.contains("select__tags-count")));return this.disabled||e||n}handleComboboxKeyDown(i){this.isEnterOrSpaceKey(i)&&(i.preventDefault(),this.open=!this.open)}handleClearClick(i){i.stopPropagation(),this.clearSelection()}clearSelection(){this.value,this.value=this.multiple?[]:"",this.selectionChanged(),this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name}),this.emit("nile-clear")}))}handleClearMouseDown(i){i.stopPropagation()}handleOptionClick(i){const s=i.target.closest("nile-option");if(this.shouldBlockValueChange(s))return;const e=this.value;this.oldValue=e,s&&!s.disabled&&this.handleOptionSelection(s)}shouldBlockValueChange(i){return!(!this.blockValueChange||!i)&&(this.emit("nile-block-change",{value:i?.value,name:this.name}),this.hide(),!0)}handleOptionSelection(i){const s=i.value;this.multiple?this.toggleOptionSelection(s):this.setSelectedOptions(s),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==this.oldValue&&this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name})})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}))}setSelectedOptions(i){this.value=i,this.selectionChanged()}toggleOptionSelection(i){const s=Array.isArray(this.value)?this.value:[];s.includes(i)?this.value=s.filter((s=>s!==i)):this.value=[...s,i],this.selectionChanged()}handleTagRemove(i,s){i.stopPropagation(),this.disabled||(this.removeTagFromSelection(s),this.emitTagRemovalEvent(s))}removeTagFromSelection(i){let s=this.value;Array.isArray(s)||(s=s?[s]:[]);const e=s.filter((s=>s!==i.value));this.value=e,this.selectionChanged()}emitTagRemovalEvent(i){this.updateComplete.then((()=>{this.nileInput({value:this.value,name:this.name}),this.nileChange({value:this.value,name:this.name}),this.emit("nile-tag-remove",{value:this.value,name:this.name,removedtagvalue:i.value})}))}selectionChanged(){this.lastSeenValue=this.value;const i=this.originalOptionItems.length>0?this.originalOptionItems:this.data;if(this.selectedOptions=y.createVirtualOptionsFromValues(this.value,i,this.getDisplayText.bind(this),this.renderItemConfig?.getValue,this.allowHtmlLabel),this.multiple)this.placeholder&&0===this.value.length?this.displayLabel="":this.displayLabel=this.selectedOptions.length+" selected";else{const i=Array.isArray(this.value)?this.value[0]:this.value,s=this.selectedOptions[0]?.getTextLabel();this.displayLabel=s||(i??"")}this.updateValidity(),0===this.selectedOptions.length&&(this.showSelected=!1,this.originalOptionItems?.length>0&&!this.searchValue&&(this.data=[...this.originalOptionItems]),this.repaintOptionsContainer()),this.calculateTotalWidthOfTags()}handleSearchFocus(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleSearchBlur(){document.addEventListener("keydown",this.handleDocumentKeyDown)}handleSearchChange(i){this.searchValue=i.detail.value,this.portal&&this.portalManager.updatePortalAppendPosition(),this.emit("nile-search",{query:this.searchValue,name:this.name}),this.disableLocalSearch||(this.filterVirtualOptions(this.searchValue),this.repaintOptionsContainer(),this.portalManager.resetMeasuredHeight())}repaintOptionsContainer(){this.resetScrollPosition(),this.updateComplete.then((()=>{const i=this.shadowRoot?.querySelector(".virtualized");i&&(this.data.length<5?i.classList.add("no-scroll"):i.classList.remove("no-scroll"))}))}handleScroll(i){if(this.showSelected)return;const s=i.target;this.emit("nile-scroll",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name}),this.scrolling||(this.scrolling=!0,this.emit("nile-scroll-start",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name})),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout((()=>{this.scrolling&&(this.scrolling=!1)}),300);Math.ceil(s.scrollTop)>=Math.floor(s.scrollHeight-s.offsetHeight)&&!this.searchValue&&this.emit("nile-scroll-end",{scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,name:this.name,isAtBottom:!0})}filterVirtualOptions(i){const s=w.filterVirtualOptions(i,this.originalOptionItems,this.data,this.getDisplayText.bind(this),this.getItemDescription.bind(this),this.descriptionSearchEnabled,this.renderItemConfig?.getSearchText);this.portal?(this.portalManager.updatePortalAppendPosition(),this.updateComplete.then((()=>{requestAnimationFrame((()=>{this.resetScrollPosition()}))}))):this.resetScrollPosition(),this.data=s.filteredItems,this.showNoResults=s.showNoResults,this.showSelected=!1,this.requestUpdate()}handleInvalid(i){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(i)}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}handleValueChange(){const i=this.value!==this.lastSeenValue;this.selectionChanged(),i&&this.showTooltip&&this.showSelected&&this.applySelectedFilter(),this.requestUpdate(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handleDataChange(){this.data.length>0&&this.open&&!this.showSelected&&!this.searchValue&&(this.originalOptionItems=[...this.data]),this.selectionChanged(),this.optionsLoading||this.loading||0!==this.data.length?this.data.length>0&&(this.showNoResults=!1):this.showNoResults=!0,this.requestUpdate(),this.portalManager.resetMeasuredHeight(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handleRenderItemConfigChange(){this.value&&this.data.length>0&&(this.selectionChanged(),this.requestUpdate())}handleOptionsLoadingChange(){this.optionsLoading||0!==this.data.length||(this.showNoResults=!0),this.requestUpdate(),this.portal&&this.portalManager.portalContainerElement&&this.portalManager.updatePortalAppendPosition()}handlePortalAppendChange(){this.open&&(this.portal?this.portalManager.setupPortalAppend():this.portalManager.cleanupPortalAppend())}async handleOpenChange(){this.open&&!this.disabled?(this.visibilityManager?.setup(),this.showListbox=!0,await this.updateComplete,await this.handleOpen(),this.portal&&this.portalManager.setupPortalAppend()):(this.visibilityManager?.cleanup(),await this.handleClose(),this.showListbox=!1,this.portal&&this.portalManager.cleanupPortalAppend())}async handleOpen(){this.emit("nile-show",{value:this.value,name:this.name}),this.addOpenListeners(),this.showNoResults=!this.data?.length,await r(this),this.popup?.popup&&(this.popup.popup.style.visibility="hidden"),this.popup.active=!0,await new Promise((i=>requestAnimationFrame(i))),await new Promise((i=>requestAnimationFrame(i))),this.popup?.popup&&(this.popup.popup.style.visibility="");const{keyframes:i,options:s}=v(this,"select.show",{dir:"ltr"});await l(this.popup.popup,i,s),this.wasShowSelectedCheckedOnClose&&(this.showSelected=!1,this.data=[...this.originalOptionItems],this.wasShowSelectedCheckedOnClose=!1),this.filterVirtualOptions(""),this.resetScrollPosition(),this.emit("nile-after-show",{value:this.value,name:this.name})}async handleClose(){this.emit("nile-hide",{value:this.value,name:this.name}),this.removeOpenListeners(),this.wasShowSelectedCheckedOnClose=this.showSelected,await r(this);const{keyframes:i,options:s}=v(this,"select.hide",{dir:"ltr"});await l(this.popup.popup,i,s),this.popup.active=!1,this.popup?.popup&&(this.popup.popup.style.visibility=""),this.searchValue="",this.portalManager.resetMeasuredHeight(),this.emit("nile-after-hide",{value:this.value,name:this.name})}async show(){if(!this.open&&!this.disabled)return this.open=!0,j(this,"nile-after-show");this.open=!1}async hide(){if(this.open&&!this.disabled)return this.open=!1,j(this,"nile-after-hide");this.open=!1}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.valueInput.reportValidity()}setCustomValidity(i){this.valueInput.setCustomValidity(i),this.formControlController.updateValidity()}focus(i){this.displayInput.focus(i)}blur(){this.displayInput.blur()}onInputChange(i){i.stopPropagation()}render(){const i=this.hasSlotController.test("label");this.hasSlotController.test("help-text");const e=this.hasSlotController.test("label-suffix"),n=this.hasSlotController.test("custom-select"),o=!!this.label||!!i,t=this.clearable&&!this.disabled&&this.value.length>0,c=!!this.placeholder&&0===this.value.length,r=!!this.helpText,l=!!this.errorMessage;return s`
12
12
  <div
13
13
  part="form-control"
14
14
  class=${m({"form-control":!0,"form-control--small":"small"===this.size,"form-control--medium":"medium"===this.size,"form-control--large":"large"===this.size,"form-control--has-label":o,"form-control--has-help-text":r})}
@@ -18,11 +18,18 @@ export declare class NileBreadcrumb extends NileElement {
18
18
  * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
19
19
  */
20
20
  static get styles(): CSSResultArray;
21
+ /**
22
+ * Visual style of the items. `outlined` renders each item inside an outlined chip;
23
+ * text colours are unchanged. Propagated to every slotted `nile-breadcrumb-item`.
24
+ */
25
+ variant: 'default' | 'outlined';
21
26
  /**
22
27
  * Render method
23
28
  * @slot This is a slot test
24
29
  */
25
30
  connectedCallback(): void;
31
+ protected updated(changedProperties: Map<string, unknown>): void;
32
+ private syncItemVariant;
26
33
  private changeLastItem;
27
34
  private handleRemoveClick;
28
35
  render(): TemplateResult;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { __decorate } from "tslib";
8
8
  import { html, } from 'lit';
9
- import { customElement } from 'lit/decorators.js';
9
+ import { customElement, property } from 'lit/decorators.js';
10
10
  import { styles } from './nile-breadcrumb.css';
11
11
  import NileElement from '../internal/nile-element';
12
12
  /**
@@ -16,6 +16,15 @@ import NileElement from '../internal/nile-element';
16
16
  *
17
17
  */
18
18
  let NileBreadcrumb = class NileBreadcrumb extends NileElement {
19
+ constructor() {
20
+ super(...arguments);
21
+ /**
22
+ * Visual style of the items. `outlined` renders each item inside an outlined chip;
23
+ * text colours are unchanged. Propagated to every slotted `nile-breadcrumb-item`.
24
+ */
25
+ this.variant = 'default';
26
+ /* #endregion */
27
+ }
19
28
  /**
20
29
  * The styles for Breadcrumb
21
30
  * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
@@ -35,7 +44,18 @@ let NileBreadcrumb = class NileBreadcrumb extends NileElement {
35
44
  this.changeLastItem();
36
45
  });
37
46
  }
47
+ updated(changedProperties) {
48
+ if (changedProperties.has('variant')) {
49
+ this.syncItemVariant();
50
+ }
51
+ }
52
+ syncItemVariant() {
53
+ this.querySelectorAll('nile-breadcrumb-item').forEach(item => {
54
+ item.variant = this.variant;
55
+ });
56
+ }
38
57
  changeLastItem() {
58
+ this.syncItemVariant();
39
59
  const items = [...this.querySelectorAll('nile-breadcrumb-item')];
40
60
  const itemslength = items.length;
41
61
  for (let i = 0; i < itemslength - 1; i++) {
@@ -58,6 +78,9 @@ let NileBreadcrumb = class NileBreadcrumb extends NileElement {
58
78
  `;
59
79
  }
60
80
  };
81
+ __decorate([
82
+ property({ type: String, reflect: true })
83
+ ], NileBreadcrumb.prototype, "variant", void 0);
61
84
  NileBreadcrumb = __decorate([
62
85
  customElement('nile-breadcrumb')
63
86
  ], NileBreadcrumb);
@@ -1 +1 @@
1
- {"version":3,"file":"nile-breadcrumb.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAEL,IAAI,GAGL,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAY,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;GAKG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAED,gBAAgB;IAEhB,qBAAqB;IAErB;;;OAGG;IACH,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE;YAC5B,IAAI,CAAC,cAAc,EAAE,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,cAAc;QACpB,MAAM,KAAK,GAAQ,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,CAAC;QACtE,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;QACjC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACzB,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC;QACzB,CAAC;QACD,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC;QACxC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;IACzB,CAAC;IAEO,iBAAiB,CAAC,KAAU;QAClC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC;IAC7D,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,CAAA;;sBAEO,IAAI,CAAC,cAAc;2BACd,IAAI,CAAC,iBAAiB;;;KAG5C,CAAC;IACJ,CAAC;CAGF,CAAA;AAlDY,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAkD1B;;AAED,eAAe,cAAc,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} from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-breadcrumb.css';\nimport NileElement from '../internal/nile-element';\nimport { foreach } from '../nile-icon/icons/svg';\n/**\n * Nile BreadCrumb component.\n *\n * @tag nile-breadcrumb\n *\n */\n@customElement('nile-breadcrumb')\nexport class NileBreadcrumb extends NileElement {\n /**\n * The styles for Breadcrumb\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(): CSSResultArray {\n return [styles];\n }\n\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n connectedCallback() {\n super.connectedCallback();\n this.updateComplete.then(() => {\n this.changeLastItem();\n });\n }\n\n private changeLastItem() {\n const items: any = [...this.querySelectorAll('nile-breadcrumb-item')];\n const itemslength = items.length;\n for (let i = 0; i < itemslength - 1; i++) {\n const element = items[i];\n element.isLast = false;\n }\n const lastItem = items[itemslength - 1];\n lastItem.isLast = true;\n }\n\n private handleRemoveClick(event: any) {\n this.emit('nile-click', { value: event.target.innerText });\n }\n\n public render(): TemplateResult {\n return html`\n <slot\n @slotchange=${this.changeLastItem}\n @nile-click-item=${this.handleRemoveClick}\n class=\"breadcrumb\"\n ></slot>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileBreadcrumb;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-breadcrumb': NileBreadcrumb;\n }\n}\n"]}
1
+ {"version":3,"file":"nile-breadcrumb.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAEL,IAAI,GAGL,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;GAKG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,WAAW;IAAxC;;QASL;;;WAGG;QACwC,YAAO,GAA2B,SAAS,CAAC;QAuDvF,gBAAgB;IAClB,CAAC;IApEC;;;OAGG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAQD,gBAAgB;IAEhB,qBAAqB;IAErB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AAI,CAAC,cAAc;2BACd,IAAI,CAAC,iBAAiB;;;KAG5C,CAAC;IACJ,CAAC;CAGF,CAAA;AAxD4C;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAA6C;AAb5E,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAqE1B;;AAED,eAAe,cAAc,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} from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-breadcrumb.css';\nimport NileElement from '../internal/nile-element';\nimport { foreach } from '../nile-icon/icons/svg';\n/**\n * Nile BreadCrumb component.\n *\n * @tag nile-breadcrumb\n *\n */\n@customElement('nile-breadcrumb')\nexport class NileBreadcrumb extends NileElement {\n /**\n * The styles for Breadcrumb\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(): CSSResultArray {\n return [styles];\n }\n\n /**\n * Visual style of the items. `outlined` renders each item inside an outlined chip;\n * text colours are unchanged. Propagated to every slotted `nile-breadcrumb-item`.\n */\n @property({ type: String, reflect: true }) variant: 'default' | 'outlined' = 'default';\n\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n connectedCallback() {\n super.connectedCallback();\n this.updateComplete.then(() => {\n this.changeLastItem();\n });\n }\n\n protected updated(changedProperties: Map<string, unknown>) {\n if (changedProperties.has('variant')) {\n this.syncItemVariant();\n }\n }\n\n private syncItemVariant() {\n this.querySelectorAll('nile-breadcrumb-item').forEach(item => {\n item.variant = this.variant;\n });\n }\n\n private changeLastItem() {\n this.syncItemVariant();\n const items: any = [...this.querySelectorAll('nile-breadcrumb-item')];\n const itemslength = items.length;\n for (let i = 0; i < itemslength - 1; i++) {\n const element = items[i];\n element.isLast = false;\n }\n const lastItem = items[itemslength - 1];\n lastItem.isLast = true;\n }\n\n private handleRemoveClick(event: any) {\n this.emit('nile-click', { value: event.target.innerText });\n }\n\n public render(): TemplateResult {\n return html`\n <slot\n @slotchange=${this.changeLastItem}\n @nile-click-item=${this.handleRemoveClick}\n class=\"breadcrumb\"\n ></slot>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileBreadcrumb;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-breadcrumb': NileBreadcrumb;\n }\n}\n"]}
@@ -102,5 +102,56 @@ describe('NileBreadcrumb', () => {
102
102
  it('98. slot is default (no name)', async () => { const el = await fixture(html `<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const slot = el.shadowRoot.querySelector('slot'); expect(slot.hasAttribute('name')).to.be.false; });
103
103
  it('99. no nile-divider', async () => { const el = await fixture(html `<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot.querySelector('nile-divider')).to.be.null; });
104
104
  it('100. full integration', async () => { const el = await fixture(html `<nile-breadcrumb class="b" id="b1" role="navigation" aria-label="Breadcrumb"><nile-breadcrumb-item>Home</nile-breadcrumb-item><nile-breadcrumb-item>Settings</nile-breadcrumb-item><nile-breadcrumb-item>Profile</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.id).to.equal('b1'); expect(el.getAttribute('role')).to.equal('navigation'); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(3); expect(el.textContent).to.contain('Home'); expect(el.textContent).to.contain('Profile'); });
105
+ describe('variant', () => {
106
+ const tpl = (variant) => variant
107
+ ? html `<nile-breadcrumb variant=${variant}><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`
108
+ : html `<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`;
109
+ const items = (el) => [...el.querySelectorAll('nile-breadcrumb-item')];
110
+ it('defaults to "default" and reflects', async () => {
111
+ const el = await fixture(tpl());
112
+ expect(el.variant).to.equal('default');
113
+ expect(el.getAttribute('variant')).to.equal('default');
114
+ items(el).forEach(i => expect(i.variant).to.equal('default'));
115
+ });
116
+ it('propagates "outlined" to every item', async () => {
117
+ const el = await fixture(tpl('outlined'));
118
+ await Promise.all(items(el).map(i => i.updateComplete));
119
+ items(el).forEach(i => {
120
+ expect(i.getAttribute('variant')).to.equal('outlined');
121
+ expect(i.shadowRoot.querySelector('[part="item"]').classList.contains('nile-breadcrumb-item--outlined')).to.be.true;
122
+ });
123
+ });
124
+ it('keeps the existing text-colour classes when outlined', async () => {
125
+ const el = await fixture(tpl('outlined'));
126
+ const [a, b] = items(el);
127
+ await a.updateComplete;
128
+ await b.updateComplete;
129
+ expect(a.shadowRoot.querySelector('[part="item"]').classList.contains('nile-breadcrumb-item__slot-text')).to.be.true;
130
+ expect(b.shadowRoot.querySelector('[part="item"]').classList.contains('nile-breadcrumb-item__last-slot-text')).to.be.true;
131
+ });
132
+ it('updates items when variant changes at runtime', async () => {
133
+ const el = await fixture(tpl());
134
+ el.variant = 'outlined';
135
+ await el.updateComplete;
136
+ items(el).forEach(i => expect(i.variant).to.equal('outlined'));
137
+ el.variant = 'default';
138
+ await el.updateComplete;
139
+ items(el).forEach(i => expect(i.variant).to.equal('default'));
140
+ });
141
+ it('applies the variant to items added later', async () => {
142
+ const el = await fixture(tpl('outlined'));
143
+ const added = document.createElement('nile-breadcrumb-item');
144
+ added.textContent = 'C';
145
+ el.appendChild(added);
146
+ await new Promise(r => setTimeout(r));
147
+ expect(added.variant).to.equal('outlined');
148
+ });
149
+ it('no chip class in the default variant', async () => {
150
+ const el = await fixture(tpl());
151
+ const [a] = items(el);
152
+ await a.updateComplete;
153
+ expect(a.shadowRoot.querySelector('.nile-breadcrumb-item--outlined')).to.be.null;
154
+ });
155
+ });
105
156
  });
106
157
  //# sourceMappingURL=nile-breadcrumb.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-breadcrumb.test.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,8CAA8C,CAAC;AAGtD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1L,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/M,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpO,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAA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EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/O,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,2PAA2P,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjlB,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-breadcrumb';\nimport '../nile-breadcrumb-item/nile-breadcrumb-item';\nimport type { NileBreadcrumb } from './nile-breadcrumb';\n\ndescribe('NileBreadcrumb', () => {\n it('1. renders', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.tagName.toLowerCase()).to.equal('nile-breadcrumb'); });\n it('4. slot', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('slot')).to.exist; });\n it('5. breadcrumb class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('.breadcrumb')).to.exist; });\n it('6. slotted items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(2); });\n it('7. has styles', async () => { expect((await import('./nile-breadcrumb')).NileBreadcrumb.styles).to.exist; });\n it('8. is defined', async () => { expect(customElements.get('nile-breadcrumb')).to.exist; });\n it('9. shadow mode', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('10. isConnected', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.isConnected).to.be.true; });\n it('11. removal', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('12. outerHTML', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.outerHTML).to.contain('nile-breadcrumb'); });\n it('13. matches', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"x\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.matches('nile-breadcrumb.x')).to.be.true; });\n it('14. closest', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.closest('nile-breadcrumb')).to.equal(el); });\n it('15. cloneNode', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-breadcrumb'); });\n it('16. dispatchEvent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('17. updateComplete', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('18. render method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.render).to.be.a('function'); });\n it('19. shadowRoot host', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('20. class attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.classList.contains('b')).to.be.true; });\n it('21. id attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb id=\"b1\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.id).to.equal('b1'); });\n it('22. style attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb style=\"color:red\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.style.color).to.equal('red'); });\n it('23. data attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb data-x=\"1\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('24. hidden', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb hidden><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.hidden).to.be.true; });\n it('25. dir', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb dir=\"rtl\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.dir).to.equal('rtl'); });\n it('26. nodeType', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.nodeType).to.equal(1); });\n it('27. localName', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.localName).to.equal('nile-breadcrumb'); });\n it('28. namespaceURI', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('29. ownerDocument', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.ownerDocument).to.equal(document); });\n it('30. classList add', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('31. dataset', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb data-idx=\"0\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.dataset.idx).to.equal('0'); });\n it('32. getBoundingClientRect', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getBoundingClientRect()).to.exist; });\n it('33. no inputs', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('input').length).to.equal(0); });\n it('34. no buttons', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('button').length).to.equal(0); });\n it('35. single slot', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.equal(1); });\n it('36. aria-label', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb aria-label=\"Breadcrumb\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('aria-label')).to.equal('Breadcrumb'); });\n it('37. role', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb role=\"navigation\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('role')).to.equal('navigation'); });\n it('38. multiple items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(3); });\n it('39. childElementCount', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(1); });\n it('40. textContent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Home</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.textContent).to.contain('Home'); });\n it('41. createElement', async () => { const el = document.createElement('nile-breadcrumb') as NileBreadcrumb; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('42. no form', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('43. no anchor', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('44. no img', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('45. title attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb title=\"B\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.title).to.equal('B'); });\n it('46. lang attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb lang=\"en\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.lang).to.equal('en'); });\n it('47. tabindex', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb tabindex=\"0\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('48. shadow childNodes', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('49. scrollIntoView', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('50. focus method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.focus).to.be.a('function'); });\n it('51. blur method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.blur).to.be.a('function'); });\n it('52. dispatchCustomEvent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); 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('53. no svg', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('54. parent-child', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelector('nile-breadcrumb')!.parentElement).to.equal(c); });\n it('55. multiple instances', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb><nile-breadcrumb><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelectorAll('nile-breadcrumb').length).to.equal(2); });\n it('56. class toggle', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('57. toggle hidden', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('58. contains', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item id=\"b1\">A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.contains(el.querySelector('#b1'))).to.be.true; });\n it('59. no video', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('60. no audio', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('61. no canvas', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('62. no table', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('63. no ul', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('64. no nav', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('65. firstElementChild', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.firstElementChild!.tagName.toLowerCase()).to.equal('nile-breadcrumb-item'); });\n it('66. requestUpdate', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('67. innerHTML', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.innerHTML).to.contain('nile-breadcrumb-item'); });\n it('68. re-renders', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.requestUpdate(); await el.updateComplete; el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('69. hasAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.hasAttribute('class')).to.be.true; });\n it('70. setAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('71. removeAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"x\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.removeAttribute('class'); expect(el.classList.contains('x')).to.be.false; });\n it('72. no h1', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('73. no aside', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('74. no pre', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('75. no code', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('76. no select', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('77. no textarea', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('78. aria-describedby', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb aria-describedby=\"d\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('79. no div', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('div')).to.be.null; });\n it('80. no span', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('span')).to.be.null; });\n it('81. children array', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.children.length).to.equal(2); });\n it('82. lastElementChild', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.lastElementChild!.textContent).to.contain('B'); });\n it('83. no nile-icon in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.be.null; });\n it('84. no nile-button in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-button')).to.be.null; });\n it('85. text of items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Home</nile-breadcrumb-item><nile-breadcrumb-item>Settings</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.textContent).to.contain('Home'); expect(el.textContent).to.contain('Settings'); });\n it('86. item index 0', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item')[0].textContent).to.contain('A'); });\n it('87. item index 1', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item')[1].textContent).to.contain('B'); });\n it('88. nested in div', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelector('nile-breadcrumb')).to.exist; });\n it('89. no list', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('li')).to.be.null; });\n it('90. no ol', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('ol')).to.be.null; });\n it('91. no p', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('92. no hr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('93. no br', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('br')).to.be.null; });\n it('94. only slot in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const elements = el.shadowRoot!.querySelectorAll('*'); expect(Array.from(elements).some(e => e.tagName.toLowerCase() === 'slot')).to.be.true; });\n it('95. three items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(3); });\n it('96. four items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item><nile-breadcrumb-item>D</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(4); });\n it('97. single item', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Only</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(1); });\n it('98. slot is default (no name)', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const slot = el.shadowRoot!.querySelector('slot'); expect(slot!.hasAttribute('name')).to.be.false; });\n it('99. no nile-divider', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-divider')).to.be.null; });\n it('100. full integration', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\" id=\"b1\" role=\"navigation\" aria-label=\"Breadcrumb\"><nile-breadcrumb-item>Home</nile-breadcrumb-item><nile-breadcrumb-item>Settings</nile-breadcrumb-item><nile-breadcrumb-item>Profile</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.id).to.equal('b1'); expect(el.getAttribute('role')).to.equal('navigation'); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(3); expect(el.textContent).to.contain('Home'); expect(el.textContent).to.contain('Profile'); });\n});\n"]}
1
+ {"version":3,"file":"nile-breadcrumb.test.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,8CAA8C,CAAC;AAGtD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1L,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,IAAI,CAAA,mFAAmF,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/M,E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AAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;QAChE,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,0CAA0C,EAAE,KAAK,IAAI,EAAE;YACxD,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;YAC1D,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;YAC7D,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC;YACxB,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACtB,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACtC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,sCAAsC,EAAE,KAAK,IAAI,EAAE;YACpD,MAAM,EAAE,GAAG,MAAM,OAAO,CAAiB,GAAG,EAAE,CAAC,CAAC;YAChD,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC;YACtB,MAAM,CAAC,CAAC,cAAc,CAAC;YACvB,MAAM,CAAC,CAAC,CAAC,UAAW,CAAC,aAAa,CAAC,iCAAiC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACpF,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-breadcrumb';\nimport '../nile-breadcrumb-item/nile-breadcrumb-item';\nimport type { NileBreadcrumb } from './nile-breadcrumb';\n\ndescribe('NileBreadcrumb', () => {\n it('1. renders', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.tagName.toLowerCase()).to.equal('nile-breadcrumb'); });\n it('4. slot', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('slot')).to.exist; });\n it('5. breadcrumb class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('.breadcrumb')).to.exist; });\n it('6. slotted items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(2); });\n it('7. has styles', async () => { expect((await import('./nile-breadcrumb')).NileBreadcrumb.styles).to.exist; });\n it('8. is defined', async () => { expect(customElements.get('nile-breadcrumb')).to.exist; });\n it('9. shadow mode', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('10. isConnected', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.isConnected).to.be.true; });\n it('11. removal', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('12. outerHTML', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.outerHTML).to.contain('nile-breadcrumb'); });\n it('13. matches', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"x\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.matches('nile-breadcrumb.x')).to.be.true; });\n it('14. closest', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.closest('nile-breadcrumb')).to.equal(el); });\n it('15. cloneNode', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-breadcrumb'); });\n it('16. dispatchEvent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('17. updateComplete', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('18. render method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.render).to.be.a('function'); });\n it('19. shadowRoot host', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('20. class attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.classList.contains('b')).to.be.true; });\n it('21. id attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb id=\"b1\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.id).to.equal('b1'); });\n it('22. style attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb style=\"color:red\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.style.color).to.equal('red'); });\n it('23. data attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb data-x=\"1\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('24. hidden', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb hidden><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.hidden).to.be.true; });\n it('25. dir', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb dir=\"rtl\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.dir).to.equal('rtl'); });\n it('26. nodeType', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.nodeType).to.equal(1); });\n it('27. localName', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.localName).to.equal('nile-breadcrumb'); });\n it('28. namespaceURI', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('29. ownerDocument', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.ownerDocument).to.equal(document); });\n it('30. classList add', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('31. dataset', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb data-idx=\"0\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.dataset.idx).to.equal('0'); });\n it('32. getBoundingClientRect', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getBoundingClientRect()).to.exist; });\n it('33. no inputs', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('input').length).to.equal(0); });\n it('34. no buttons', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('button').length).to.equal(0); });\n it('35. single slot', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.equal(1); });\n it('36. aria-label', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb aria-label=\"Breadcrumb\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('aria-label')).to.equal('Breadcrumb'); });\n it('37. role', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb role=\"navigation\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('role')).to.equal('navigation'); });\n it('38. multiple items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(3); });\n it('39. childElementCount', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(1); });\n it('40. textContent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Home</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.textContent).to.contain('Home'); });\n it('41. createElement', async () => { const el = document.createElement('nile-breadcrumb') as NileBreadcrumb; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('42. no form', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('43. no anchor', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('44. no img', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('45. title attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb title=\"B\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.title).to.equal('B'); });\n it('46. lang attr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb lang=\"en\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.lang).to.equal('en'); });\n it('47. tabindex', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb tabindex=\"0\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('48. shadow childNodes', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('49. scrollIntoView', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('50. focus method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.focus).to.be.a('function'); });\n it('51. blur method', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.blur).to.be.a('function'); });\n it('52. dispatchCustomEvent', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); 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('53. no svg', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('54. parent-child', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelector('nile-breadcrumb')!.parentElement).to.equal(c); });\n it('55. multiple instances', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb><nile-breadcrumb><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelectorAll('nile-breadcrumb').length).to.equal(2); });\n it('56. class toggle', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('57. toggle hidden', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('58. contains', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item id=\"b1\">A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.contains(el.querySelector('#b1'))).to.be.true; });\n it('59. no video', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('60. no audio', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('61. no canvas', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('62. no table', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('63. no ul', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('64. no nav', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('65. firstElementChild', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.firstElementChild!.tagName.toLowerCase()).to.equal('nile-breadcrumb-item'); });\n it('66. requestUpdate', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('67. innerHTML', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.innerHTML).to.contain('nile-breadcrumb-item'); });\n it('68. re-renders', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.requestUpdate(); await el.updateComplete; el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('69. hasAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.hasAttribute('class')).to.be.true; });\n it('70. setAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('71. removeAttribute class', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"x\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); el.removeAttribute('class'); expect(el.classList.contains('x')).to.be.false; });\n it('72. no h1', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('73. no aside', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('74. no pre', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('75. no code', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('76. no select', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('77. no textarea', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('78. aria-describedby', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb aria-describedby=\"d\"><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('79. no div', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('div')).to.be.null; });\n it('80. no span', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('span')).to.be.null; });\n it('81. children array', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.children.length).to.equal(2); });\n it('82. lastElementChild', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.lastElementChild!.textContent).to.contain('B'); });\n it('83. no nile-icon in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.be.null; });\n it('84. no nile-button in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-button')).to.be.null; });\n it('85. text of items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Home</nile-breadcrumb-item><nile-breadcrumb-item>Settings</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.textContent).to.contain('Home'); expect(el.textContent).to.contain('Settings'); });\n it('86. item index 0', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item')[0].textContent).to.contain('A'); });\n it('87. item index 1', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.querySelectorAll('nile-breadcrumb-item')[1].textContent).to.contain('B'); });\n it('88. nested in div', async () => { const c = await fixture(html`<div><nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb></div>`); expect(c.querySelector('nile-breadcrumb')).to.exist; });\n it('89. no list', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('li')).to.be.null; });\n it('90. no ol', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('ol')).to.be.null; });\n it('91. no p', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('92. no hr', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('93. no br', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('br')).to.be.null; });\n it('94. only slot in shadow', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const elements = el.shadowRoot!.querySelectorAll('*'); expect(Array.from(elements).some(e => e.tagName.toLowerCase() === 'slot')).to.be.true; });\n it('95. three items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(3); });\n it('96. four items', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item><nile-breadcrumb-item>C</nile-breadcrumb-item><nile-breadcrumb-item>D</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(4); });\n it('97. single item', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>Only</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.childElementCount).to.equal(1); });\n it('98. slot is default (no name)', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); const slot = el.shadowRoot!.querySelector('slot'); expect(slot!.hasAttribute('name')).to.be.false; });\n it('99. no nile-divider', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.shadowRoot!.querySelector('nile-divider')).to.be.null; });\n it('100. full integration', async () => { const el = await fixture<NileBreadcrumb>(html`<nile-breadcrumb class=\"b\" id=\"b1\" role=\"navigation\" aria-label=\"Breadcrumb\"><nile-breadcrumb-item>Home</nile-breadcrumb-item><nile-breadcrumb-item>Settings</nile-breadcrumb-item><nile-breadcrumb-item>Profile</nile-breadcrumb-item></nile-breadcrumb>`); expect(el.id).to.equal('b1'); expect(el.getAttribute('role')).to.equal('navigation'); expect(el.querySelectorAll('nile-breadcrumb-item').length).to.equal(3); expect(el.textContent).to.contain('Home'); expect(el.textContent).to.contain('Profile'); });\n\n describe('variant', () => {\n const tpl = (variant?: string) => variant\n ? html`<nile-breadcrumb variant=${variant}><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`\n : html`<nile-breadcrumb><nile-breadcrumb-item>A</nile-breadcrumb-item><nile-breadcrumb-item>B</nile-breadcrumb-item></nile-breadcrumb>`;\n const items = (el: NileBreadcrumb) => [...el.querySelectorAll('nile-breadcrumb-item')];\n\n it('defaults to \"default\" and reflects', async () => {\n const el = await fixture<NileBreadcrumb>(tpl());\n expect(el.variant).to.equal('default');\n expect(el.getAttribute('variant')).to.equal('default');\n items(el).forEach(i => expect(i.variant).to.equal('default'));\n });\n\n it('propagates \"outlined\" to every item', async () => {\n const el = await fixture<NileBreadcrumb>(tpl('outlined'));\n await Promise.all(items(el).map(i => i.updateComplete));\n items(el).forEach(i => {\n expect(i.getAttribute('variant')).to.equal('outlined');\n expect(i.shadowRoot!.querySelector('[part=\"item\"]')!.classList.contains('nile-breadcrumb-item--outlined')).to.be.true;\n });\n });\n\n it('keeps the existing text-colour classes when outlined', async () => {\n const el = await fixture<NileBreadcrumb>(tpl('outlined'));\n const [a, b] = items(el);\n await a.updateComplete; await b.updateComplete;\n expect(a.shadowRoot!.querySelector('[part=\"item\"]')!.classList.contains('nile-breadcrumb-item__slot-text')).to.be.true;\n expect(b.shadowRoot!.querySelector('[part=\"item\"]')!.classList.contains('nile-breadcrumb-item__last-slot-text')).to.be.true;\n });\n\n it('updates items when variant changes at runtime', async () => {\n const el = await fixture<NileBreadcrumb>(tpl());\n el.variant = 'outlined';\n await el.updateComplete;\n items(el).forEach(i => expect(i.variant).to.equal('outlined'));\n el.variant = 'default';\n await el.updateComplete;\n items(el).forEach(i => expect(i.variant).to.equal('default'));\n });\n\n it('applies the variant to items added later', async () => {\n const el = await fixture<NileBreadcrumb>(tpl('outlined'));\n const added = document.createElement('nile-breadcrumb-item');\n added.textContent = 'C';\n el.appendChild(added);\n await new Promise(r => setTimeout(r));\n expect(added.variant).to.equal('outlined');\n });\n\n it('no chip class in the default variant', async () => {\n const el = await fixture<NileBreadcrumb>(tpl());\n const [a] = items(el);\n await a.updateComplete;\n expect(a.shadowRoot!.querySelector('.nile-breadcrumb-item--outlined')).to.be.null;\n });\n });\n});\n"]}
@@ -44,6 +44,18 @@ export const styles = css `
44
44
  .nile-breadcrumb-item__last-slot-text {
45
45
  color: var(--nile-breadcrumb-color, var(--ng-colors-text-brand-secondary-700));
46
46
  }
47
+
48
+ .nile-breadcrumb-item--outlined {
49
+ padding: var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-md, var(--ng-spacing-md));
50
+ border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
51
+ border-radius: var(--nile-radius-sm, var(--ng-radius-md));
52
+ background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
53
+ }
54
+
55
+ .nile-breadcrumb-item--outlined.nile-breadcrumb-item__slot-text:hover,
56
+ .nile-breadcrumb-item--outlined.nile-breadcrumb-item__last-slot-text {
57
+ background-color: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));
58
+ }
47
59
  `;
48
60
  export default [styles];
49
61
  //# sourceMappingURL=nile-breadcrumb-item.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-breadcrumb-item.css.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,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 { css } from 'lit';\n\n/**\n * Breadcrumb-item CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n align-items: center;\n text-align: center;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-font-size-small, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px; \n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 var(--nile-spacing-md, var(--ng-spacing-md));\n }\n\n .nile-breadcrumb-item__arrow-hidden {\n display: none;\n }\n\n .nile-breadcrumb-item__slot-text {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-quaternary-500));\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-tertiary-hover));\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: var(--nile-breadcrumb-color, var(--ng-colors-text-brand-secondary-700));\n }\n`;\n\nexport default [styles];\n"]}
1
+ {"version":3,"file":"nile-breadcrumb-item.css.js","sourceRoot":"","sources":["../../../src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,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 { css } from 'lit';\n\n/**\n * Breadcrumb-item CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n align-items: center;\n text-align: center;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-font-size-small, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px; \n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 var(--nile-spacing-md, var(--ng-spacing-md));\n }\n\n .nile-breadcrumb-item__arrow-hidden {\n display: none;\n }\n\n .nile-breadcrumb-item__slot-text {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-quaternary-500));\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-tertiary-hover));\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: var(--nile-breadcrumb-color, var(--ng-colors-text-brand-secondary-700));\n }\n\n .nile-breadcrumb-item--outlined {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-md, var(--ng-spacing-md));\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n }\n\n .nile-breadcrumb-item--outlined.nile-breadcrumb-item__slot-text:hover,\n .nile-breadcrumb-item--outlined.nile-breadcrumb-item__last-slot-text {\n background-color: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));\n }\n`;\n\nexport default [styles];\n"]}
@@ -24,6 +24,11 @@ export declare class NileBreadcrumbItem extends NileElement {
24
24
  * @slot This is a slot test
25
25
  */
26
26
  separator: string;
27
+ /**
28
+ * Visual style of the item. `outlined` wraps the text in an outlined chip.
29
+ * Set automatically from the parent `nile-breadcrumb`'s `variant`.
30
+ */
31
+ variant: 'default' | 'outlined';
27
32
  private handleClick;
28
33
  render(): TemplateResult;
29
34
  }