@aquera/nile-elements 0.0.42-2 → 0.0.43

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 (184) hide show
  1. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.css.js +2 -2
  2. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.css.js.map +1 -1
  3. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-breadcrumb/nile-breadcrumb.js +5 -0
  4. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-breadcrumb/nile-breadcrumb.js.map +1 -1
  5. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js +1 -1
  6. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js.map +1 -1
  7. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-button-toggle/nile-button-toggle.css.js +1 -1
  8. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-button-toggle/nile-button-toggle.css.js.map +1 -1
  9. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-calendar/nile-calendar.css.js +31 -8
  10. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
  11. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-calendar/nile-calendar.js +19 -20
  12. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-calendar/nile-calendar.js.map +1 -1
  13. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-chip/nile-chip.css.js +1 -1
  14. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-chip/nile-chip.css.js.map +1 -1
  15. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-error-notification/nile-error-notification.css.js +1 -1
  16. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-error-notification/nile-error-notification.css.js.map +1 -1
  17. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-form-error-message/nile-form-error-message.css.js +1 -1
  18. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-form-error-message/nile-form-error-message.css.js.map +1 -1
  19. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-form-help-text/nile-form-help-text.css.js +1 -1
  20. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-form-help-text/nile-form-help-text.css.js.map +1 -1
  21. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-input/nile-input.css.js +1 -1
  22. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-input/nile-input.css.js.map +1 -1
  23. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-link/nile-link.css.js +1 -1
  24. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-link/nile-link.css.js.map +1 -1
  25. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-menu/nile-menu.js +20 -10
  26. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-menu/nile-menu.js.map +1 -1
  27. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-menu-item/nile-menu-item.d.ts +2 -0
  28. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-menu-item/nile-menu-item.js +33 -7
  29. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-menu-item/nile-menu-item.js.map +1 -1
  30. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-popover/nile-popover.css.js +1 -1
  31. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-popover/nile-popover.css.js.map +1 -1
  32. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-radio-group/nile-radio-group.css.js +1 -1
  33. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-radio-group/nile-radio-group.css.js.map +1 -1
  34. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-select/nile-select.css.js +1 -3
  35. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-select/nile-select.css.js.map +1 -1
  36. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
  37. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
  38. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js +1 -1
  39. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  40. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-tab/nile-tab.css.js +1 -1
  41. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-tab/nile-tab.css.js.map +1 -1
  42. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-textarea/nile-textarea.css.js +1 -1
  43. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-textarea/nile-textarea.css.js.map +1 -1
  44. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-toast/nile-toast.css.js +1 -1
  45. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-toast/nile-toast.css.js.map +1 -1
  46. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
  47. package/demo/variables.css +641 -0
  48. package/demo/variables_v2.css +541 -0
  49. package/dist/index.iife.js +110 -67
  50. package/dist/nile-badge/nile-badge.css.cjs.js +1 -1
  51. package/dist/nile-badge/nile-badge.css.cjs.js.map +1 -1
  52. package/dist/nile-badge/nile-badge.css.esm.js +2 -2
  53. package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js +1 -1
  54. package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js.map +1 -1
  55. package/dist/nile-breadcrumb/nile-breadcrumb.esm.js +2 -1
  56. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.cjs.js +1 -1
  57. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.cjs.js.map +1 -1
  58. package/dist/nile-breadcrumb-item/nile-breadcrumb-item.css.esm.js +1 -1
  59. package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js +1 -1
  60. package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js.map +1 -1
  61. package/dist/nile-button-toggle/nile-button-toggle.css.esm.js +1 -1
  62. package/dist/nile-calendar/nile-calendar.cjs.js +1 -1
  63. package/dist/nile-calendar/nile-calendar.cjs.js.map +1 -1
  64. package/dist/nile-calendar/nile-calendar.css.cjs.js +1 -1
  65. package/dist/nile-calendar/nile-calendar.css.cjs.js.map +1 -1
  66. package/dist/nile-calendar/nile-calendar.css.esm.js +31 -8
  67. package/dist/nile-calendar/nile-calendar.esm.js +22 -23
  68. package/dist/nile-chip/nile-chip.css.cjs.js +1 -1
  69. package/dist/nile-chip/nile-chip.css.cjs.js.map +1 -1
  70. package/dist/nile-chip/nile-chip.css.esm.js +1 -1
  71. package/dist/nile-error-notification/nile-error-notification.css.cjs.js +1 -1
  72. package/dist/nile-error-notification/nile-error-notification.css.cjs.js.map +1 -1
  73. package/dist/nile-error-notification/nile-error-notification.css.esm.js +1 -1
  74. package/dist/nile-form-error-message/nile-form-error-message.css.cjs.js +1 -1
  75. package/dist/nile-form-error-message/nile-form-error-message.css.cjs.js.map +1 -1
  76. package/dist/nile-form-error-message/nile-form-error-message.css.esm.js +1 -1
  77. package/dist/nile-form-help-text/nile-form-help-text.css.cjs.js +1 -1
  78. package/dist/nile-form-help-text/nile-form-help-text.css.cjs.js.map +1 -1
  79. package/dist/nile-form-help-text/nile-form-help-text.css.esm.js +3 -3
  80. package/dist/nile-input/nile-input.css.cjs.js +1 -1
  81. package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
  82. package/dist/nile-input/nile-input.css.esm.js +1 -1
  83. package/dist/nile-link/nile-link.css.cjs.js +1 -1
  84. package/dist/nile-link/nile-link.css.cjs.js.map +1 -1
  85. package/dist/nile-link/nile-link.css.esm.js +3 -3
  86. package/dist/nile-menu/nile-menu.cjs.js +1 -1
  87. package/dist/nile-menu/nile-menu.cjs.js.map +1 -1
  88. package/dist/nile-menu/nile-menu.esm.js +16 -11
  89. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  90. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  91. package/dist/nile-menu-item/nile-menu-item.esm.js +24 -7
  92. package/dist/nile-popover/nile-popover.css.cjs.js +1 -1
  93. package/dist/nile-popover/nile-popover.css.cjs.js.map +1 -1
  94. package/dist/nile-popover/nile-popover.css.esm.js +1 -1
  95. package/dist/nile-radio-group/nile-radio-group.css.cjs.js +1 -1
  96. package/dist/nile-radio-group/nile-radio-group.css.cjs.js.map +1 -1
  97. package/dist/nile-radio-group/nile-radio-group.css.esm.js +3 -3
  98. package/dist/nile-select/nile-select.css.cjs.js +1 -1
  99. package/dist/nile-select/nile-select.css.cjs.js.map +1 -1
  100. package/dist/nile-select/nile-select.css.esm.js +1 -3
  101. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
  102. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
  103. package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +1 -1
  104. package/dist/nile-switcher/nile-switcher.css.cjs.js +1 -1
  105. package/dist/nile-switcher/nile-switcher.css.cjs.js.map +1 -1
  106. package/dist/nile-switcher/nile-switcher.css.esm.js +1 -1
  107. package/dist/nile-tab/nile-tab.css.cjs.js +1 -1
  108. package/dist/nile-tab/nile-tab.css.cjs.js.map +1 -1
  109. package/dist/nile-tab/nile-tab.css.esm.js +1 -1
  110. package/dist/nile-textarea/nile-textarea.css.cjs.js +1 -1
  111. package/dist/nile-textarea/nile-textarea.css.cjs.js.map +1 -1
  112. package/dist/nile-textarea/nile-textarea.css.esm.js +1 -1
  113. package/dist/nile-toast/nile-toast.css.cjs.js +1 -1
  114. package/dist/nile-toast/nile-toast.css.cjs.js.map +1 -1
  115. package/dist/nile-toast/nile-toast.css.esm.js +1 -1
  116. package/dist/src/nile-badge/nile-badge.css.js +2 -2
  117. package/dist/src/nile-badge/nile-badge.css.js.map +1 -1
  118. package/dist/src/nile-breadcrumb/nile-breadcrumb.js +5 -0
  119. package/dist/src/nile-breadcrumb/nile-breadcrumb.js.map +1 -1
  120. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js +1 -1
  121. package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.css.js.map +1 -1
  122. package/dist/src/nile-button-toggle/nile-button-toggle.css.js +1 -1
  123. package/dist/src/nile-button-toggle/nile-button-toggle.css.js.map +1 -1
  124. package/dist/src/nile-calendar/nile-calendar.css.js +31 -8
  125. package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
  126. package/dist/src/nile-calendar/nile-calendar.js +19 -20
  127. package/dist/src/nile-calendar/nile-calendar.js.map +1 -1
  128. package/dist/src/nile-chip/nile-chip.css.js +1 -1
  129. package/dist/src/nile-chip/nile-chip.css.js.map +1 -1
  130. package/dist/src/nile-error-notification/nile-error-notification.css.js +1 -1
  131. package/dist/src/nile-error-notification/nile-error-notification.css.js.map +1 -1
  132. package/dist/src/nile-form-error-message/nile-form-error-message.css.js +1 -1
  133. package/dist/src/nile-form-error-message/nile-form-error-message.css.js.map +1 -1
  134. package/dist/src/nile-form-help-text/nile-form-help-text.css.js +1 -1
  135. package/dist/src/nile-form-help-text/nile-form-help-text.css.js.map +1 -1
  136. package/dist/src/nile-input/nile-input.css.js +1 -1
  137. package/dist/src/nile-input/nile-input.css.js.map +1 -1
  138. package/dist/src/nile-link/nile-link.css.js +1 -1
  139. package/dist/src/nile-link/nile-link.css.js.map +1 -1
  140. package/dist/src/nile-menu/nile-menu.js +20 -10
  141. package/dist/src/nile-menu/nile-menu.js.map +1 -1
  142. package/dist/src/nile-menu-item/nile-menu-item.d.ts +2 -0
  143. package/dist/src/nile-menu-item/nile-menu-item.js +33 -7
  144. package/dist/src/nile-menu-item/nile-menu-item.js.map +1 -1
  145. package/dist/src/nile-popover/nile-popover.css.js +1 -1
  146. package/dist/src/nile-popover/nile-popover.css.js.map +1 -1
  147. package/dist/src/nile-radio-group/nile-radio-group.css.js +1 -1
  148. package/dist/src/nile-radio-group/nile-radio-group.css.js.map +1 -1
  149. package/dist/src/nile-select/nile-select.css.js +1 -3
  150. package/dist/src/nile-select/nile-select.css.js.map +1 -1
  151. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
  152. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
  153. package/dist/src/nile-switcher/nile-switcher.css.js +1 -1
  154. package/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  155. package/dist/src/nile-tab/nile-tab.css.js +1 -1
  156. package/dist/src/nile-tab/nile-tab.css.js.map +1 -1
  157. package/dist/src/nile-textarea/nile-textarea.css.js +1 -1
  158. package/dist/src/nile-textarea/nile-textarea.css.js.map +1 -1
  159. package/dist/src/nile-toast/nile-toast.css.js +1 -1
  160. package/dist/src/nile-toast/nile-toast.css.js.map +1 -1
  161. package/dist/tsconfig.tsbuildinfo +1 -1
  162. package/package.json +1 -1
  163. package/src/nile-badge/nile-badge.css.ts +2 -2
  164. package/src/nile-breadcrumb/nile-breadcrumb.ts +7 -1
  165. package/src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts +1 -1
  166. package/src/nile-button-toggle/nile-button-toggle.css.ts +1 -1
  167. package/src/nile-calendar/nile-calendar.css.ts +31 -8
  168. package/src/nile-calendar/nile-calendar.ts +68 -77
  169. package/src/nile-chip/nile-chip.css.ts +1 -1
  170. package/src/nile-error-notification/nile-error-notification.css.ts +1 -1
  171. package/src/nile-form-error-message/nile-form-error-message.css.ts +1 -1
  172. package/src/nile-form-help-text/nile-form-help-text.css.ts +1 -1
  173. package/src/nile-input/nile-input.css.ts +1 -1
  174. package/src/nile-link/nile-link.css.ts +1 -1
  175. package/src/nile-menu/nile-menu.ts +25 -14
  176. package/src/nile-menu-item/nile-menu-item.ts +42 -9
  177. package/src/nile-popover/nile-popover.css.ts +1 -1
  178. package/src/nile-radio-group/nile-radio-group.css.ts +1 -1
  179. package/src/nile-select/nile-select.css.ts +1 -3
  180. package/src/nile-slide-toggle/nile-slide-toggle.css.ts +1 -1
  181. package/src/nile-switcher/nile-switcher.css.ts +1 -1
  182. package/src/nile-tab/nile-tab.css.ts +1 -1
  183. package/src/nile-textarea/nile-textarea.css.ts +1 -1
  184. package/src/nile-toast/nile-toast.css.ts +1 -1
@@ -621,7 +621,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
621
621
  color: inherit;
622
622
  margin-bottom: 12px;
623
623
  color: var(--nile-colors-dark-900);
624
- font-family: Colfax-regular;
624
+ font-family: var(--nile-font-family-serif);
625
625
  font-size: 14px;
626
626
  font-style: normal;
627
627
  font-weight: 400;
@@ -1243,19 +1243,24 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
1243
1243
  ::slotted(nile-divider) {
1244
1244
  --spacing: 0.5rem;
1245
1245
  }
1246
- `;M.NileMenu=class extends RM{constructor(){super(...arguments),this.searchValue="",this.searchWidth=0,this.searchEnabled=!1,this.showNoResults=!1,this.noResultsMessage="No results found"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(M){const i=M.target.closest("nile-menu-item");i&&!i.disabled&&("checkbox"===i.type&&(i.checked=!i.checked),this.emit("nile-select",{value:i.value}))}handleKeyDown(M){if("Enter"===M.key){const i=this.getCurrentItem();M.preventDefault(),i?.click()}if(" "===M.key&&M.preventDefault(),["ArrowDown","ArrowUp","Home","End"].includes(M.key)){const i=this.getAllItems(),t=this.getCurrentItem();let e=t?i.indexOf(t):0;i.length>0&&(M.preventDefault(),"ArrowDown"===M.key?e++:"ArrowUp"===M.key?e--:"Home"===M.key?e=0:"End"===M.key&&(e=i.length-1),e<0&&(e=i.length-1),e>i.length-1&&(e=0),this.setCurrentItem(i[e]),i[e].focus())}}handleMouseDown(M){const i=M.target;this.isMenuItem(i)&&this.setCurrentItem(i)}handleSlotChange(){const M=this.getAllItems();M.length>0&&this.setCurrentItem(M[0])}isMenuItem(M){return"nile-menu-item"===M.tagName.toLowerCase()||["menuitem","menuitemcheckbox","menuitemradio"].includes(M.getAttribute("role")??"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter((M=>!!this.isMenuItem(M)))}getCurrentItem(){return this.getAllItems().find((M=>"0"===M.getAttribute("tabindex")))}setCurrentItem(M){this.getAllItems().forEach((i=>{i.setAttribute("tabindex",i===M?"0":"-1")}))}handleSearchChange(M){let i=this.getAllItems(),t=0;i.map((i=>{this.searchWidth=Math.max(this.searchWidth,i.offsetWidth),i.innerText.toLowerCase().includes(M.target.value.toLowerCase())?(i.style.display="block",t++):i.style.display="none"})),this.showNoResults=0===t}render(){return V`
1246
+ `;M.NileMenu=class extends RM{constructor(){super(...arguments),this.searchValue="",this.searchWidth=0,this.searchEnabled=!1,this.showNoResults=!1,this.noResultsMessage="No results found"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(M){const i=M.target.closest("nile-menu-item");i?.hasSubMenu||i&&!i.disabled&&("checkbox"===i.type&&(i.checked=!i.checked),this.emit("nile-select",{value:i.value}))}handleKeyDown(M){if("Enter"===M.key){const i=this.getCurrentItem();M.preventDefault(),i?.click()}if(" "===M.key&&M.preventDefault(),["ArrowDown","ArrowUp","Home","End"].includes(M.key)){const i=this.getAllItems(),t=this.getCurrentItem();let e=t?i.indexOf(t):0;i.length>0&&(M.preventDefault(),"ArrowDown"===M.key?e++:"ArrowUp"===M.key?e--:"Home"===M.key?e=0:"End"===M.key&&(e=i.length-1),e<0&&(e=i.length-1),e>i.length-1&&(e=0),this.setCurrentItem(i[e]),i[e].focus())}}handleMouseDown(M){const i=M.target;this.isMenuItem(i)&&this.setCurrentItem(i)}handleSlotChange(){const M=this.getAllItems();M.length>0&&this.setCurrentItem(M[0])}isMenuItem(M){return"nile-menu-item"===M.tagName.toLowerCase()||["menuitem","menuitemcheckbox","menuitemradio"].includes(M.getAttribute("role")??"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter((M=>!!this.isMenuItem(M)))}getCurrentItem(){return this.getAllItems().find((M=>"0"===M.getAttribute("tabindex")))}setCurrentItem(M){this.getAllItems().forEach((i=>{i.setAttribute("tabindex",i===M?"0":"-1")}))}handleSearchChange(M){let i=this.getAllItems(),t=0;i.map((i=>{this.searchWidth=Math.max(this.searchWidth,i.offsetWidth),i.innerText.toLowerCase().includes(M.target.value.toLowerCase())?(i.style.display="block",t++):i.style.display="none"})),this.showNoResults=0===t}render(){return V`
1247
1247
  <div>
1248
- ${this.searchEnabled?V` <nile-input
1249
- size="medium"
1250
- clearable
1251
- style=${this.searchWidth?`width: ${this.searchWidth}px;`:"width: 100%;"}
1252
- .value=${this.searchValue}
1253
- placeholder="Search..."
1254
- @nile-input=${this.handleSearchChange}
1255
- >
1256
- <nile-icon name="search" slot="suffix"> </nile-icon>
1257
- </nile-input>`:V``}
1248
+ ${this.searchEnabled?V` <nile-input
1249
+ size="medium"
1250
+ clearable
1251
+ style=${this.searchWidth?`width: ${this.searchWidth}px;`:"width: 100%;"}
1252
+ .value=${this.searchValue}
1253
+ placeholder="Search..."
1254
+ @nile-input=${this.handleSearchChange}
1255
+ >
1256
+ <nile-icon name="search" slot="suffix"> </nile-icon>
1257
+ </nile-input>`:V``}
1258
1258
  ${this.showNoResults?V` <nile-menu-item>${this.noResultsMessage}</nile-menu-item> `:""}
1259
+
1260
+ <slot
1261
+ name="menu__header"
1262
+ @click=${M=>{M.stopPropagation()}}
1263
+ ></slot>
1259
1264
  <slot
1260
1265
  @slotchange=${this.handleSlotChange}
1261
1266
  @click=${this.handleClick}
@@ -1273,12 +1278,12 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
1273
1278
  height: 16px;
1274
1279
  font-size: 10.24px;
1275
1280
  display: inline-flex;
1276
- align-items: center;/
1281
+ align-items: center;
1277
1282
  justify-content: center;
1278
1283
  }
1279
1284
 
1280
1285
  .badge__content {
1281
- font-family: Colfax-regular;
1286
+ font-family: var(--nile-font-family-serif);
1282
1287
  font-size: 10.24px;
1283
1288
  font-style: normal;
1284
1289
  font-weight: 400;
@@ -1879,7 +1884,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
1879
1884
  padding: 0;
1880
1885
  font-size: 14px;
1881
1886
  color: var(--nile-colors-dark-900);
1882
- font-family: Colfax-regular;
1887
+ font-family: var(--nile-font-family-serif);
1883
1888
  font-size: 14px;
1884
1889
  font-style: normal;
1885
1890
  font-weight: 400;
@@ -2115,7 +2120,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
2115
2120
  margin-right: 6px;
2116
2121
  font-size: 14px;
2117
2122
  color: var(--nile-colors-dark-900);
2118
- font-family: Colfax-regular;
2123
+ font-family:var(--nile-font-family-serif);
2119
2124
  font-size: 14px;
2120
2125
  font-style: normal;
2121
2126
  font-weight: 400;
@@ -2424,9 +2429,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
2424
2429
  position: relative;
2425
2430
  align-items: center;
2426
2431
  justify-content: start;
2427
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
2428
- Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
2429
- 'Segoe UI Symbol';
2432
+ font-family: var(--nile-font-family-sans-serif);
2430
2433
  font-weight: 400;
2431
2434
  letter-spacing: normal;
2432
2435
  vertical-align: middle;
@@ -3364,26 +3367,43 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
3364
3367
  outline-offset: -1px;
3365
3368
  }
3366
3369
  }
3367
- `;M.NileMenuItem=class extends RM{constructor(){super(...arguments),this.type="normal",this.checked=!1,this.value="",this.disabled=!1}connectedCallback(){super.connectedCallback(),this.handleHostClick=this.handleHostClick.bind(this),this.addEventListener("click",this.handleHostClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick)}handleDefaultSlotChange(){const M=this.getTextLabel();void 0!==this.cachedTextLabel?M!==this.cachedTextLabel&&(this.cachedTextLabel=M,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1})):this.cachedTextLabel=M}handleHostClick(M){this.disabled&&(M.preventDefault(),M.stopImmediatePropagation())}handleCheckedChange(){if(this.checked&&"checkbox"!==this.type)return this.checked=!1,void console.error('The checked attribute can only be used on menu items with type="checkbox"',this);"checkbox"===this.type?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleTypeChange(){"checkbox"===this.type?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return function(M){if(!M)return"";const i=M.assignedNodes({flatten:!0});let t="";return[...i].forEach((M=>{M.nodeType===Node.TEXT_NODE&&(t+=M.textContent)})),t}(this.defaultSlot)}render(){return V`
3370
+ `;M.NileMenuItem=class extends RM{constructor(){super(...arguments),this.type="normal",this.checked=!1,this.value="",this.disabled=!1,this.hasSubMenu=!1}connectedCallback(){super.connectedCallback(),this.handleHostClick=this.handleHostClick.bind(this),this.addEventListener("click",this.handleHostClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick)}handleDefaultSlotChange(){const M=this.getTextLabel();void 0!==this.cachedTextLabel?M!==this.cachedTextLabel&&(this.cachedTextLabel=M,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1})):this.cachedTextLabel=M}handleHostClick(M){this.disabled&&(M.preventDefault(),M.stopImmediatePropagation())}handleCheckedChange(){if(this.checked&&"checkbox"!==this.type)return this.checked=!1,void console.error('The checked attribute can only be used on menu items with type="checkbox"',this);"checkbox"===this.type?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleTypeChange(){"checkbox"===this.type?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return function(M){if(!M)return"";const i=M.assignedNodes({flatten:!0});let t="";return[...i].forEach((M=>{M.nodeType===Node.TEXT_NODE&&(t+=M.textContent)})),t}(this.defaultSlot)}render(){return V`
3368
3371
  <div
3369
3372
  part="base"
3370
- class=${AM({"menu-item":!0,"menu-item--checked":this.checked,"menu-item--disabled":this.disabled,"menu-item--has-submenu":!1})}
3373
+ class=${AM({"menu-item":!0,"menu-item--checked":this.checked,"menu-item--disabled":this.disabled,"menu-item--has-submenu":this.hasSubMenu})}
3371
3374
  >
3372
3375
  <span part="checked-icon" class="menu-item__check">
3373
- <nile-icon name="tick" library="system" aria-hidden="true"></nile-icon>
3376
+ <nile-icon
3377
+ name="tick"
3378
+ library="system"
3379
+ aria-hidden="true"
3380
+ ></nile-icon>
3374
3381
  </span>
3375
3382
 
3376
- <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
3383
+ <slot
3384
+ name="prefix"
3385
+ part="prefix"
3386
+ class="menu-item__prefix"
3387
+
3388
+ ></slot>
3377
3389
 
3378
- <slot part="label" class="menu-item__label" @slotchange=${this.handleDefaultSlotChange}></slot>
3390
+ <slot
3391
+ part="label"
3392
+ class="menu-item__label"
3393
+ @slotchange=${this.handleDefaultSlotChange}
3394
+ ></slot>
3379
3395
 
3380
3396
  <slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
3381
3397
 
3382
3398
  <span part="submenu-icon" class="menu-item__chevron">
3383
- <nile-icon name="arrowright" library="system" aria-hidden="true"></nile-icon>
3399
+ <nile-icon
3400
+ name="arrowright"
3401
+ library="system"
3402
+ aria-hidden="true"
3403
+ ></nile-icon>
3384
3404
  </span>
3385
3405
  </div>
3386
- `}},M.NileMenuItem.styles=pt,i([cM("slot:not([name])")],M.NileMenuItem.prototype,"defaultSlot",void 0),i([cM(".menu-item")],M.NileMenuItem.prototype,"menuItem",void 0),i([lM()],M.NileMenuItem.prototype,"type",void 0),i([lM({type:Boolean,reflect:!0})],M.NileMenuItem.prototype,"checked",void 0),i([lM()],M.NileMenuItem.prototype,"value",void 0),i([lM({type:Boolean,reflect:!0})],M.NileMenuItem.prototype,"disabled",void 0),i([GM("checked")],M.NileMenuItem.prototype,"handleCheckedChange",null),i([GM("disabled")],M.NileMenuItem.prototype,"handleDisabledChange",null),i([GM("type")],M.NileMenuItem.prototype,"handleTypeChange",null),M.NileMenuItem=i([IM("nile-menu-item")],M.NileMenuItem);const Zt=j`
3406
+ `}},M.NileMenuItem.styles=pt,i([cM("slot:not([name])")],M.NileMenuItem.prototype,"defaultSlot",void 0),i([cM(".menu-item")],M.NileMenuItem.prototype,"menuItem",void 0),i([lM()],M.NileMenuItem.prototype,"type",void 0),i([lM({type:Boolean,reflect:!0})],M.NileMenuItem.prototype,"checked",void 0),i([lM()],M.NileMenuItem.prototype,"value",void 0),i([lM({type:Boolean,reflect:!0})],M.NileMenuItem.prototype,"disabled",void 0),i([lM({type:Boolean,reflect:!0})],M.NileMenuItem.prototype,"hasSubMenu",void 0),i([GM("checked")],M.NileMenuItem.prototype,"handleCheckedChange",null),i([GM("disabled")],M.NileMenuItem.prototype,"handleDisabledChange",null),i([GM("type")],M.NileMenuItem.prototype,"handleTypeChange",null),M.NileMenuItem=i([IM("nile-menu-item")],M.NileMenuItem);const Zt=j`
3387
3407
  :host {
3388
3408
  display: inline-block;
3389
3409
  }
@@ -3521,7 +3541,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
3521
3541
  color: inherit;
3522
3542
  margin-bottom: 12px;
3523
3543
  color: var(--nile-colors-dark-900);
3524
- font-family: Colfax-regular;
3544
+ font-family: var(--nile-font-family-serif);
3525
3545
  font-size: 14px;
3526
3546
  font-style: normal;
3527
3547
  font-weight: 400;
@@ -3714,7 +3734,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
3714
3734
  display: inline-block;
3715
3735
  margin-bottom: 12px;
3716
3736
  color: var(--nile-colors-dark-900);
3717
- font-family: Colfax-regular;
3737
+ font-family:var(--nile-font-family-serif);
3718
3738
  font-size: 14px;
3719
3739
  font-style: normal;
3720
3740
  font-weight: 400;
@@ -4085,7 +4105,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4085
4105
  display: flex;
4086
4106
  align-items: center;
4087
4107
  color: var(--nile-colors-red-700);
4088
- font-family: Colfax-regular;
4108
+ font-family: var(--nile-font-family-serif);
4089
4109
  font-size: 12px;
4090
4110
  font-style: normal;
4091
4111
  font-weight: 400;
@@ -4110,7 +4130,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4110
4130
  display: flex;
4111
4131
  align-items: center;
4112
4132
  color: var(--nile-colors-dark-500);
4113
- font-family: Colfax-regular;
4133
+ font-family: var(--nile-font-family-serif);
4114
4134
  font-size: 12px;
4115
4135
  font-style: normal;
4116
4136
  font-weight: 400;
@@ -4149,7 +4169,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4149
4169
  }
4150
4170
 
4151
4171
  .calendar-container {
4152
- font-family: Colfax-regular;
4172
+ font-family:var(--nile-font-family-serif);
4153
4173
  width: 290px;
4154
4174
  height: auto;
4155
4175
  text-align: center;
@@ -4301,7 +4321,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4301
4321
  }
4302
4322
 
4303
4323
  .base__relative {
4304
- width: 494px;
4324
+ width: 352px;
4305
4325
  }
4306
4326
 
4307
4327
  .calender-input {
@@ -4311,7 +4331,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4311
4331
  }
4312
4332
 
4313
4333
  .calender-input--relative {
4314
- width: 494px;
4334
+ width: 352px;
4315
4335
  padding: 0;
4316
4336
  }
4317
4337
 
@@ -4369,15 +4389,17 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4369
4389
  .unit-container {
4370
4390
  display: flex;
4371
4391
  flex-direction: column;
4372
- width: 494px;
4392
+ width: 352px;
4393
+ gap:10px;
4373
4394
  padding: 24px 24px 0 24px;
4374
4395
  }
4375
4396
 
4376
4397
  .time-unit-group {
4377
4398
  display: flex;
4378
- align-items: center;
4379
- margin-bottom: 24px;
4380
- gap: 24px;
4399
+ flex-direction: column;
4400
+ align-items: start;
4401
+ justify-content:center;
4402
+ gap: 12px;
4381
4403
  }
4382
4404
 
4383
4405
  .time-unit-name {
@@ -4397,6 +4419,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4397
4419
 
4398
4420
  .time-unit-value {
4399
4421
  display: flex;
4422
+ gap: 3px;
4400
4423
  }
4401
4424
 
4402
4425
  .time-value {
@@ -4409,7 +4432,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4409
4432
  cursor: pointer;
4410
4433
  justify-content: center;
4411
4434
  align-items: center;
4412
- margin-right: 16px;
4435
+ /* margin-right: 16px; */
4413
4436
  border-radius: 4px;
4414
4437
  border: 1px solid #c7ced4;
4415
4438
  background: rgba(255, 255, 255, 0.2);
@@ -4452,6 +4475,26 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4452
4475
  padding: 24px;
4453
4476
  box-sizing: border-box;
4454
4477
  }
4478
+
4479
+ .duration-input {
4480
+ width: 140px;
4481
+ }
4482
+
4483
+ .time-input {
4484
+ width: 140px;
4485
+ }
4486
+
4487
+ .minute-values {
4488
+ gap: 16px;
4489
+ }
4490
+
4491
+ .weeks-values {
4492
+ gap: 16px;
4493
+ }
4494
+
4495
+ .months-values {
4496
+ gap: 16px;
4497
+ }
4455
4498
  `;M.NileCalendar=class extends RM{constructor(){super(...arguments),this.currentMonth=(new Date).getMonth(),this.currentYear=(new Date).getFullYear(),this.dropDownOpened=!1,this.valueAttribute=null,this.formattedDate=null,this.startDate=null,this.endDate=null,this.isSelectingStart=!0,this.range=!1,this.type="absolute",this.selectedTimeZone="local"}static get styles(){return[Ft]}valueChanged(){if(this.range&&this.value)return this.rangeValue=this.value,void(this.value=null);if(this.value&&!isNaN(this.value.getTime())){const M=this.value.getTimezoneOffset(),i=new Date(this.value.getTime()-60*M*1e3);isNaN(i.getTime())||(this.valueAttribute=i.toISOString().split("T")[0],this.formattedDate=`${String(i.getDate()).padStart(2,"0")}/${String(i.getMonth()+1).padStart(2,"0")}/${i.getFullYear()}`)}}updated(M){if(super.updated(M),M.has("valueAttribute")){const M=new Date(this.valueAttribute||"");if(!isNaN(M.getTime())){const i=M.getTimezoneOffset();this.value=new Date(M.getTime()-60*i*1e3),this.currentMonth=this.value.getMonth(),this.currentYear=this.value.getFullYear()}}}static get observedAttributes(){return["value","range"]}attributeChangedCallback(M,i,t){"value"===M?(this.valueAttribute=t,this.initializeValue()):"range"===M&&(this.range=null!==t)}initializeValue(){if(this.range)try{const M=JSON.parse(this.valueAttribute||"");this.startDate=new Date(M.startDate),this.endDate=new Date(M.endDate),this.startDate=new Date(this.startDate.getTime()),this.endDate=new Date(this.endDate.getTime()),this.rangeValue={startDate:this.startDate,endDate:this.endDate},this.value=null}catch(M){}else if(this.valueAttribute){let M;M=new Date(this.valueAttribute),M=new Date(M.getTime()-6e4*M.getTimezoneOffset()),isNaN(M.getTime())||(this.value=M,this.currentMonth=this.value.getMonth(),this.currentYear=this.value.getFullYear(),this.rangeValue=null)}this.requestUpdate()}connectedCallback(){if(super.connectedCallback(),this.initializeValue(),this.valueAttribute){const M=new Date(this.valueAttribute);isNaN(M.getTime())||(this.value=M,this.currentMonth=this.value.getMonth(),this.currentYear=this.value.getFullYear())}this.emit("nile-init")}disconnectedCallback(){super.disconnectedCallback(),this.emit("nile-destroy")}getDaysArray(M,i){const t=new Date(M,i+1,0).getDate();return Array.from({length:t},((M,i)=>i+1))}nextMonth(){11===this.currentMonth?(this.currentMonth=0,this.currentYear++):this.currentMonth++,this.requestUpdate()}prevMonth(){0===this.currentMonth?(this.currentMonth=11,this.currentYear--):this.currentMonth--,this.requestUpdate()}selectDate(M,i,t){const e=new Date(t,i,M);if(this.range)if(this.startDate&&this.endDate&&(this.startDate=null,this.endDate=null),this.isSelectingStart)this.startDate=e,this.endDate&&e>this.endDate&&(this.endDate=null),this.isSelectingStart=!1;else if(this.isSelectingStart=!0,this.startDate&&e<this.startDate)this.startDate=e,this.endDate=null,this.isSelectingStart=!1;else{const M=e;M.setHours(23,59,59,999),this.endDate=M}else this.value=e,this.emit("nile-changed",{value:this.value}),this.dropdown&&this.dropdown.hide();this.requestUpdate()}confimRange(){this.startDate&&this.endDate&&("local"!==this.selectedTimeZone&&(this.startDate=this.convertTZ(this.startDate,this.selectedTimeZone),this.endDate=this.convertTZ(this.endDate,this.selectedTimeZone)),this.emit("nile-changed",{startDate:this.startDate,endDate:this.endDate}),this.dropdown&&this.dropdown.hide(),this.rangeValue={startDate:this.startDate,endDate:this.endDate})}convertTZ(M,i){return new Date(("string"==typeof M?new Date(M):M).toLocaleString("en-US",{timeZone:i}))}isCurrentDate(M,i,t){const e=new Date;return M===e.getDate()&&i+1===e.getMonth()+1&&t===e.getFullYear()}renderMonth(M,i,t){const e=new Date(M,i,1).getDay(),N=new Date(M,i+1,0).getDay(),s=this.getDaysArray(0===i?M-1:M,0===i?11:i-1),D=this.getDaysArray(11===i?M+1:M,11===i?0:i+1),j=s.slice(s.length-e),u=D.slice(0,6-N),I=[...j,...t,...u],g=(M,i,t,e)=>{if(!e)return"";if(!this.range&&this.value){if(M===this.value.getDate()&&i===this.value.getMonth()&&t===this.value.getFullYear())return"selected-date"}const N=this.startDate&&M===this.startDate.getDate()&&i===this.startDate.getMonth()&&t===this.startDate.getFullYear(),s=this.endDate&&M===this.endDate.getDate()&&i===this.endDate.getMonth()&&t===this.endDate.getFullYear();return N?"range-start":s?"range-end":""},n=(M,i,t,e)=>{if(!e)return!1;if(this.startDate&&this.endDate){const e=new Date(t,i,M);return e>=this.startDate&&e<=this.endDate}return!1};return V`
4456
4499
  <div class="calendar">
4457
4500
  <div class="calendar-header">
@@ -4474,7 +4517,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4474
4517
  >
4475
4518
  </nile-icon>
4476
4519
  </div>
4477
- <div class="header-divider"> </div>
4520
+ <div class="header-divider"></div>
4478
4521
  <div class="day-names">
4479
4522
  <div class="day">Sun</div>
4480
4523
  <div class="day">Mon</div>
@@ -4513,19 +4556,18 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4513
4556
  <nile-tab slot="nav" panel="relative">Relative</nile-tab>
4514
4557
  </nile-tab-group>
4515
4558
  </div>
4516
-
4517
4559
  </div>
4518
4560
 
4519
4561
  <div class="calendar-timezone ${this.range?"":"hidden"}">
4520
- <nile-select
4521
- hoist
4522
- value=${this.selectedTimeZone}
4523
- @nile-change=${this.handleTimeZoneChange}
4524
- >
4525
- <nile-option value="local">Local Time Zone</nile-option>
4526
- <nile-option value="UTC">UTC</nile-option>
4527
- </nile-select>
4528
- </div>
4562
+ <nile-select
4563
+ hoist
4564
+ value=${this.selectedTimeZone}
4565
+ @nile-change=${this.handleTimeZoneChange}
4566
+ >
4567
+ <nile-option value="local">Local Time Zone</nile-option>
4568
+ <nile-option value="UTC">UTC</nile-option>
4569
+ </nile-select>
4570
+ </div>
4529
4571
 
4530
4572
  <div
4531
4573
  class="calendar-wrapper ${"absolute"!==this.type?"hidden":""}"
@@ -4538,14 +4580,14 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4538
4580
  <div class="unit-container ${"relative"!==this.type?"hidden":""}">
4539
4581
  <div class="time-unit-group">
4540
4582
  <div class="time-unit-name"><span>Minutes</span></div>
4541
- <div class="time-unit-value">
4542
- ${this.renderTimeValues("minutes",[1,3,5,15,30,45])}
4583
+ <div class="time-unit-value minute-values">
4584
+ ${this.renderTimeValues("minutes",[1,5,15,30,45])}
4543
4585
  </div>
4544
4586
  </div>
4545
4587
 
4546
4588
  <div class="time-unit-group">
4547
4589
  <div class="time-unit-name"><span>Hours</span></div>
4548
- <div class="time-unit-value">
4590
+ <div class="time-unit-value hours-values">
4549
4591
  ${this.renderTimeValues("hours",[1,2,3,6,8,12])}
4550
4592
  </div>
4551
4593
  </div>
@@ -4559,14 +4601,14 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4559
4601
 
4560
4602
  <div class="time-unit-group">
4561
4603
  <div class="time-unit-name"><span>Weeks</span></div>
4562
- <div class="time-unit-value">
4604
+ <div class="time-unit-value weeks-values ">
4563
4605
  ${this.renderTimeValues("weeks",[1,2,4,6])}
4564
4606
  </div>
4565
4607
  </div>
4566
4608
 
4567
4609
  <div class="time-unit-group">
4568
4610
  <div class="time-unit-name"><span>Months:</span></div>
4569
- <div class="time-unit-value">
4611
+ <div class="time-unit-value months-values ">
4570
4612
  ${this.renderTimeValues("months",[3,6,12,15])}
4571
4613
  </div>
4572
4614
  </div>
@@ -4575,10 +4617,10 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4575
4617
  ${this.range&&"relative"===this.type?V`
4576
4618
  <div class="calender-input calender-input--relative">
4577
4619
  <div class="unit-input-container">
4578
- <nile-input class="manual-input" label="Duration" value="${this.selectedValue}"
4620
+ <nile-input class="manual-input duration-input" label="Duration" value="${this.selectedValue}"
4579
4621
  @nile-input="${this.handleDurationChange}"
4580
4622
  placeholder="Enter Value" ></nile-input>
4581
- <nile-select class="manual-input" label="Unit of time" style="margin-top:3px" value="${this.selectedUnit}"
4623
+ <nile-select class="manual-input time-input" label="Unit of time" style="margin-top:3px" value="${this.selectedUnit}"
4582
4624
  @nile-change="${this.handleUnitChange}"
4583
4625
  >
4584
4626
  <nile-option value="minutes"> Minutes </nile-option>
@@ -4586,12 +4628,12 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4586
4628
  <nile-option value="days"> Days </nile-option>
4587
4629
  <nile-option value="weeks"> Weeks </nile-option>
4588
4630
  <nile-option value="months"> Months </nile-option>
4589
- </nile-select>
4631
+ </nile-select>
4590
4632
 
4591
4633
  </div>
4592
4634
 
4593
4635
  <div class="button-container--relative">
4594
- <nile-button class="apply-button" ?disabled="${!this.startDate||!this.endDate}" @click="${this.confimRange}"> Apply</nile-button>
4636
+ <nile-button class="apply-button" variant="primary" ?disabled="${!this.startDate||!this.endDate}" @click="${this.confimRange}"> Apply</nile-button>
4595
4637
  </div>
4596
4638
 
4597
4639
 
@@ -4640,7 +4682,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4640
4682
  .link__label {
4641
4683
  color: #005ea6;
4642
4684
  text-align: center;
4643
- font-family: Colfax-regular;
4685
+ font-family: var(--nile-font-family-serif);
4644
4686
  font-size: 14px;
4645
4687
  font-style: normal;
4646
4688
  font-weight: 400;
@@ -4709,7 +4751,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4709
4751
  border-radius: 4px;
4710
4752
  color: #000;
4711
4753
  text-align: center;
4712
- font-family: Colfax-regular;
4754
+ font-family: var(--nile-font-family-serif);
4713
4755
  font-size: 14px;
4714
4756
  line-height: 14px;
4715
4757
  letter-spacing: 0.2px;
@@ -4776,7 +4818,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
4776
4818
  align-items: center;
4777
4819
  color: inherit;
4778
4820
  color: var(--nile-colors-dark-900);
4779
- font-family: Colfax-regular;
4821
+ font-family:var(--nile-font-family-serif);
4780
4822
  font-size: 14px;
4781
4823
  font-style: normal;
4782
4824
  font-weight: 400;
@@ -5326,7 +5368,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
5326
5368
  }
5327
5369
 
5328
5370
  .nile-error-notification {
5329
- font-family: Colfax-regular;
5371
+ font-family: var(--nile-font-family-serif);
5330
5372
  font-size: 12px;
5331
5373
  font-style: normal;
5332
5374
  font-weight: 400;
@@ -5654,7 +5696,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
5654
5696
  user-select: none;
5655
5697
  cursor: pointer;
5656
5698
  transition: 0.2s box-shadow, 0.2s color;
5657
- font-family: Colfax-regular;
5699
+ font-family:var(--nile-font-family-serif);
5658
5700
  font-size: 16px;
5659
5701
  font-style: normal;
5660
5702
  font-weight: 500;
@@ -5894,7 +5936,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
5894
5936
  align-items: center;
5895
5937
  flex-direction: column;
5896
5938
  align-items: flex-start;
5897
- font-family: Colfax-regular;
5939
+ font-family:var(--nile-font-family-serif);
5898
5940
  font-size: 14px;
5899
5941
  font-weight: 400;
5900
5942
  line-height: 14px;
@@ -6042,8 +6084,9 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
6042
6084
  display: flex;
6043
6085
  align-items: center;
6044
6086
  }
6045
- `;M.NileBreadcrumb=class extends RM{static get styles(){return[NL]}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.changeLastItem()}))}changeLastItem(){const M=[...this.querySelectorAll("nile-breadcrumb-item")];M[M.length-1].isLast=!0}handleRemoveClick(M){this.emit("nile-click",{value:M.target.innerText})}render(){return V`
6087
+ `;M.NileBreadcrumb=class extends RM{static get styles(){return[NL]}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.changeLastItem()}))}changeLastItem(){const M=[...this.querySelectorAll("nile-breadcrumb-item")],i=M.length;for(let t=0;t<i-1;t++){M[t].isLast=!1}M[i-1].isLast=!0}handleRemoveClick(M){this.emit("nile-click",{value:M.target.innerText})}render(){return V`
6046
6088
  <slot
6089
+ @slotchange=${this.changeLastItem}
6047
6090
  @nile-click-item=${this.handleRemoveClick}
6048
6091
  class="breadcrumb"
6049
6092
  ></slot>
@@ -6053,7 +6096,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
6053
6096
  align-items: center;
6054
6097
  text-align: center;
6055
6098
  font-feature-settings: 'clig' off, 'liga' off;
6056
- font-family: var(--nile-font-family-serif);
6099
+ font-family: var(--nile-font-family-serif);
6057
6100
  font-size: var(--nile-font-size-small);
6058
6101
  font-style: normal;
6059
6102
  font-weight: var(--nile-font-weight-regular);
@@ -6258,7 +6301,7 @@ const YM=Symbol.for(""),mM=M=>{if((null==M?void 0:M.r)===YM)return null==M?void
6258
6301
  display: block;
6259
6302
  color: var(--Dark-Normal, var(--Color-Text-Default, #000));
6260
6303
  font-feature-settings: 'clig' off, 'liga' off;
6261
- font-family: Colfax;
6304
+ font-family: var(--nile-font-family-serif);
6262
6305
  font-size: var(--nile-type-scale-4);
6263
6306
  font-style: normal;
6264
6307
  font-weight: 500;
@@ -1,2 +1,2 @@
1
- System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,n;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",n=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n }\n\n .badge {\n padding: 0 4px;\n border-radius: 4px;\n height: 16px;\n font-size: 10.24px;\n display: inline-flex;\n align-items: center;/\n justify-content: center;\n }\n\n .badge__content {\n font-family: Colfax-regular;\n font-size: 10.24px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .badge--primary {\n background: #005EA6;\n }\n\n .badge--success {\n background: #A5F3E1;\n }\n\n .badge--normal {\n background: #E5E9EB;\n }\n\n .badge--warning {\n background: #F3E0A5;\n }\n\n .badge--error {\n background: #F3A5AA;\n }\n\n .badge--info {\n background: #A5D3F3;\n }\n\n .badge--rounded {\n border-radius: 100px;\n padding: 0 6px;\n }\n"]))));}};});
1
+ System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,n;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",n=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n }\n\n .badge {\n padding: 0 4px;\n border-radius: 4px;\n height: 16px;\n font-size: 10.24px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n }\n\n .badge__content {\n font-family: var(--nile-font-family-serif);\n font-size: 10.24px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .badge--primary {\n background: #005EA6;\n }\n\n .badge--success {\n background: #A5F3E1;\n }\n\n .badge--normal {\n background: #E5E9EB;\n }\n\n .badge--warning {\n background: #F3E0A5;\n }\n\n .badge--error {\n background: #F3A5AA;\n }\n\n .badge--info {\n background: #A5D3F3;\n }\n\n .badge--rounded {\n border-radius: 100px;\n padding: 0 6px;\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-badge.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-badge.css.cjs.js","sources":["../../../src/nile-badge/nile-badge.css.ts"],"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-element';\n\n/**\n * Tag CSS\n */\nexport const styles = css`\n :host {\n }\n\n .badge {\n padding: 0 4px;\n border-radius: 4px;\n height: 16px;\n font-size: 10.24px;\n display: inline-flex;\n align-items: center;/\n justify-content: center;\n }\n\n .badge__content {\n font-family: Colfax-regular;\n font-size: 10.24px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .badge--primary {\n background: #005EA6;\n }\n\n .badge--success {\n background: #A5F3E1;\n }\n\n .badge--normal {\n background: #E5E9EB;\n }\n\n .badge--warning {\n background: #F3E0A5;\n }\n\n .badge--error {\n background: #F3A5AA;\n }\n\n .badge--info {\n background: #A5D3F3;\n }\n\n .badge--rounded {\n border-radius: 100px;\n padding: 0 6px;\n }\n`;\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-badge.css.cjs.js","sources":["../../../src/nile-badge/nile-badge.css.ts"],"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-element';\n\n/**\n * Tag CSS\n */\nexport const styles = css`\n :host {\n }\n\n .badge {\n padding: 0 4px;\n border-radius: 4px;\n height: 16px;\n font-size: 10.24px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n }\n\n .badge__content {\n font-family: var(--nile-font-family-serif);\n font-size: 10.24px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .badge--primary {\n background: #005EA6;\n }\n\n .badge--success {\n background: #A5F3E1;\n }\n\n .badge--normal {\n background: #E5E9EB;\n }\n\n .badge--warning {\n background: #F3E0A5;\n }\n\n .badge--error {\n background: #F3A5AA;\n }\n\n .badge--info {\n background: #A5D3F3;\n }\n\n .badge--rounded {\n border-radius: 100px;\n padding: 0 6px;\n }\n`;\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -8,12 +8,12 @@ import{i as e}from"../index-cd2f9c12.esm.js";const n=e`
8
8
  height: 16px;
9
9
  font-size: 10.24px;
10
10
  display: inline-flex;
11
- align-items: center;/
11
+ align-items: center;
12
12
  justify-content: center;
13
13
  }
14
14
 
15
15
  .badge__content {
16
- font-family: Colfax-regular;
16
+ font-family: var(--nile-font-family-serif);
17
17
  font-size: 10.24px;
18
18
  font-style: normal;
19
19
  font-weight: 400;
@@ -1,2 +1,2 @@
1
- System.register(["tslib","../index-cd83c5c8.cjs.js","lit/decorators.js","./nile-breadcrumb.css.cjs.js","../internal/nile-element.cjs.js","lit"],function(_export,_context){"use strict";var e,t,s,r,i,_templateObject,l;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key==="symbol"?key:String(key);}function _toPrimitive(input,hint){if(typeof input!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(typeof res!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.");}return(hint==="string"?String:Number)(input);}function _get(){if(typeof Reflect!=="undefined"&&Reflect.get){_get=Reflect.get.bind();}else{_get=function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get){return desc.get.call(arguments.length<3?target:receiver);}return desc.value;};}return _get.apply(this,arguments);}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(object===null)break;}return object;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass);}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){o.__proto__=p;return o;};return _setPrototypeOf(o,p);}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return _possibleConstructorReturn(this,result);};}function _possibleConstructorReturn(self,call){if(call&&(typeof call==="object"||typeof call==="function")){return call;}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined");}return _assertThisInitialized(self);}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o);};return _getPrototypeOf(o);}return{setters:[function(_tslib){e=_tslib.__decorate;},function(_index001CjsJs){t=_index001CjsJs.x;},function(_litDecoratorsJs){s=_litDecoratorsJs.customElement;},function(_nileBreadcrumbCssCjsJs){r=_nileBreadcrumbCssCjsJs.s;},function(_internalNileElementCjsJs){i=_internalNileElementCjsJs.N;},function(_lit){}],execute:function(){_export("N",l=/*#__PURE__*/function(_i){_inherits(l,_i);var _super=_createSuper(l);function l(){_classCallCheck(this,l);return _super.apply(this,arguments);}_createClass(l,[{key:"connectedCallback",value:function connectedCallback(){var _this=this;_get(_getPrototypeOf(l.prototype),"connectedCallback",this).call(this),this.updateComplete.then(function(){_this.changeLastItem();});}},{key:"changeLastItem",value:function changeLastItem(){var e=_toConsumableArray(this.querySelectorAll("nile-breadcrumb-item"));e[e.length-1].isLast=!0;}},{key:"handleRemoveClick",value:function handleRemoveClick(e){this.emit("nile-click",{value:e.target.innerText});}},{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <slot\n @nile-click-item=","\n class=\"breadcrumb\"\n ></slot>\n "])),this.handleRemoveClick);}}],[{key:"styles",get:function get(){return[r];}}]);return l;}(i));_export("N",l=e([s("nile-breadcrumb")],l));}};});
1
+ System.register(["tslib","../index-cd83c5c8.cjs.js","lit/decorators.js","./nile-breadcrumb.css.cjs.js","../internal/nile-element.cjs.js","lit"],function(_export,_context){"use strict";var e,t,s,r,i,_templateObject,l;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key==="symbol"?key:String(key);}function _toPrimitive(input,hint){if(typeof input!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(typeof res!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.");}return(hint==="string"?String:Number)(input);}function _get(){if(typeof Reflect!=="undefined"&&Reflect.get){_get=Reflect.get.bind();}else{_get=function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get){return desc.get.call(arguments.length<3?target:receiver);}return desc.value;};}return _get.apply(this,arguments);}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(object===null)break;}return object;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass);}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){o.__proto__=p;return o;};return _setPrototypeOf(o,p);}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return _possibleConstructorReturn(this,result);};}function _possibleConstructorReturn(self,call){if(call&&(typeof call==="object"||typeof call==="function")){return call;}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined");}return _assertThisInitialized(self);}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o);};return _getPrototypeOf(o);}return{setters:[function(_tslib){e=_tslib.__decorate;},function(_index001CjsJs){t=_index001CjsJs.x;},function(_litDecoratorsJs){s=_litDecoratorsJs.customElement;},function(_nileBreadcrumbCssCjsJs){r=_nileBreadcrumbCssCjsJs.s;},function(_internalNileElementCjsJs){i=_internalNileElementCjsJs.N;},function(_lit){}],execute:function(){_export("N",l=/*#__PURE__*/function(_i){_inherits(l,_i);var _super=_createSuper(l);function l(){_classCallCheck(this,l);return _super.apply(this,arguments);}_createClass(l,[{key:"connectedCallback",value:function connectedCallback(){var _this=this;_get(_getPrototypeOf(l.prototype),"connectedCallback",this).call(this),this.updateComplete.then(function(){_this.changeLastItem();});}},{key:"changeLastItem",value:function changeLastItem(){var e=_toConsumableArray(this.querySelectorAll("nile-breadcrumb-item")),t=e.length;for(var _s=0;_s<t-1;_s++){e[_s].isLast=!1;}e[t-1].isLast=!0;}},{key:"handleRemoveClick",value:function handleRemoveClick(e){this.emit("nile-click",{value:e.target.innerText});}},{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <slot\n @slotchange=","\n @nile-click-item=","\n class=\"breadcrumb\"\n ></slot>\n "])),this.changeLastItem,this.handleRemoveClick);}}],[{key:"styles",get:function get(){return[r];}}]);return l;}(i));_export("N",l=e([s("nile-breadcrumb")],l));}};});
2
2
  //# sourceMappingURL=nile-breadcrumb.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-breadcrumb.cjs.js","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.ts"],"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 property,\n CSSResultArray,\n TemplateResult,\n} from 'lit-element';\nimport { customElement } from 'lit/decorators.js';\nimport { styles } from './nile-breadcrumb.css';\nimport NileElement from '../internal/nile-element';\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 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 @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"],"names":["NileBreadcrumb","connectedCallback","super","this","updateComplete","then","changeLastItem","key","value","items","_toConsumableArray","querySelectorAll","length","isLast","handleRemoveClick","event","emit","target","innerText","render","html","_templateObject","_taggedTemplateLiteral","get","styles","l","NileElement","__decorate","customElement"],"mappings":"syKAwBaA,CAAAA,uBAAAA,EAAAA,EAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,MAAAA,MAAAA,CAAAA,YAAAA,CAAAA,CAAAA,WAAAA,EAAAA,EAAAA,eAAAA,MAAAA,CAAAA,SAAAA,MAAAA,CAAAA,KAAAA,MAAAA,SAAAA,GAAAA,YAAAA,CAAAA,CAAAA,GAAAA,GAAAA,qBAAAA,KAAAA,CAiBX,SAAAC,kBAAA,CAAAA,KAAAA,KAAAA,MACEC,IAAAA,CAAAA,eAAAA,CAAAA,CAAAA,CAAAA,SAAAA,4BAAAA,IAAAA,OACAC,IAAKC,CAAAA,cAAAA,CAAeC,IAAK,CAAA,UAAA,CACvBF,MAAKG,cAAgB,CAAA,CAAA,EAAA,CAExB,EAEO,GAAAC,GAAA,kBAAAC,KAAA,UAAAF,eAAA,CACN,CAAA,GAAMG,CAAAA,CAAa,CAAAC,kBAAA,CAAIP,IAAKQ,CAAAA,gBAAAA,CAAiB,sBAE5BF,CAAAA,CAAAA,CAAAA,CAAAA,CADGA,CAAMG,CAAAA,MAAAA,CACW,CAC5BC,CAAAA,CAAAA,MAAAA,CAAAA,CAAS,CACnB,EAEO,GAAAN,GAAA,qBAAAC,KAAA,UAAAM,kBAAkBC,CACxBZ,CAAAA,CAAAA,IAAAA,CAAKa,IAAK,CAAA,YAAA,CAAc,CAAER,KAAAA,CAAOO,CAAME,CAAAA,MAAAA,CAAOC,SAC/C,CAAA,CAAA,EAEM,GAAAX,GAAA,UAAAC,KAAA,UAAAW,OAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uGAEYnB,IAAKW,CAAAA,iBAAAA,EAI7B,CAAA,KAAAP,GAAA,UAAAgB,GAAA,CArCM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CACT,CAAA,EAUD,WAAAC,CAAA,GAjBkCC,CAAAA,GAAvB1B,OAAAA,KAAAA,CAAc2B,CAAAA,CAAAA,CAAA,CAD1BC,CAAAA,CAAc,oBACF5B"}
1
+ {"version":3,"file":"nile-breadcrumb.cjs.js","sources":["../../../src/nile-breadcrumb/nile-breadcrumb.ts"],"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 property,\n CSSResultArray,\n TemplateResult,\n} from 'lit-element';\nimport { customElement } 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"],"names":["NileBreadcrumb","_i","_inherits","l","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","connectedCallback","super","this","updateComplete","then","changeLastItem","items","querySelectorAll","itemslength","length","i","isLast","handleRemoveClick","event","emit","target","innerText","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","customElement"],"mappings":"syKAyBaA,CAAN,uBAAAC,EAAA,EAAAC,SAAA,CAAAC,CAAA,CAAAF,EAAA,MAAAG,MAAA,CAAAC,YAAA,CAAAF,CAAA,WAAAA,EAAA,EAAAG,eAAA,MAAAH,CAAA,SAAAC,MAAA,CAAAG,KAAA,MAAAC,SAAA,GAAAC,YAAA,CAAAN,CAAA,GAAAO,GAAA,qBAAAC,KAAA,CAiBL,SAAAC,kBAAA,CACEC,KAAAA,KAAAA,MAAAA,IAAAA,CAAAA,eAAAA,CAAAA,CAAAA,CAAAA,SAAAA,4BAAAA,IAAAA,OACAC,IAAAA,CAAKC,eAAeC,IAAK,CAAA,UAAA,CACvBF,KAAKG,CAAAA,cAAAA,CAAAA,CAAgB,GAExB,EAEO,GAAAP,GAAA,kBAAAC,KAAA,UAAAM,eAAA,EACN,GAAMC,CAAAA,CAAAA,CAAAA,kBAAAA,CAAiBJ,IAAKK,CAAAA,gBAAAA,CAAiB,sBACvCC,CAAAA,CAAAA,CAAAA,CAAAA,CAAcF,EAAMG,MAC1B,CAAA,IAAK,GAAIC,CAAAA,EAAAA,CAAI,EAAGA,EAAIF,CAAAA,CAAAA,CAAc,CAAGE,CAAAA,EAAAA,EAAAA,CAAK,CACxBJ,CAAMI,CAAAA,EAAAA,CAAAA,CACdC,MAAS,CAAA,CAAA,CAClB,EACgBL,CAAME,CAAAA,CAAAA,CAAc,CAC5BG,CAAAA,CAAAA,MAAAA,CAAAA,CAAS,CACnB,EAEO,GAAAb,GAAA,qBAAAC,KAAA,UAAAa,kBAAkBC,CAAAA,CAAAA,CACxBX,KAAKY,IAAK,CAAA,YAAA,CAAc,CAAEf,KAAAA,CAAOc,EAAME,MAAOC,CAAAA,SAAAA,CAAAA,CAC/C,EAEM,GAAAlB,GAAA,UAAAC,KAAA,UAAAkB,OAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,gIAEOlB,IAAKG,CAAAA,cAAAA,CACAH,IAAKU,CAAAA,iBAAAA,EAI7B,CAAA,KAAAd,GAAA,UAAAuB,GAAA,CA1CM,SAAAA,IAAA,EACL,MAAO,CAACC,CACT,CAAA,EAUD,WAAA/B,CAAA,GAjBkCgC,CAK3B,GALInC,OAAAA,KAAAA,CAAcoC,CAAAA,CAAAA,CAAA,CAD1BC,CAAAA,CAAc,oBACFrC"}
@@ -1,5 +1,6 @@
1
- import{__decorate as e}from"tslib";import{x as t}from"../index-cd2f9c12.esm.js";import{customElement as s}from"lit/decorators.js";import{s as r}from"./nile-breadcrumb.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import"lit";let l=class extends i{static get styles(){return[r]}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.changeLastItem()}))}changeLastItem(){const e=[...this.querySelectorAll("nile-breadcrumb-item")];e[e.length-1].isLast=!0}handleRemoveClick(e){this.emit("nile-click",{value:e.target.innerText})}render(){return t`
1
+ import{__decorate as e}from"tslib";import{x as t}from"../index-cd2f9c12.esm.js";import{customElement as s}from"lit/decorators.js";import{s as r}from"./nile-breadcrumb.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import"lit";let l=class extends i{static get styles(){return[r]}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.changeLastItem()}))}changeLastItem(){const e=[...this.querySelectorAll("nile-breadcrumb-item")],t=e.length;for(let s=0;s<t-1;s++){e[s].isLast=!1}e[t-1].isLast=!0}handleRemoveClick(e){this.emit("nile-click",{value:e.target.innerText})}render(){return t`
2
2
  <slot
3
+ @slotchange=${this.changeLastItem}
3
4
  @nile-click-item=${this.handleRemoveClick}
4
5
  class="breadcrumb"
5
6
  ></slot>
@@ -1,2 +1,2 @@
1
- System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,r;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",r=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n text-align: center;\n font-feature-settings: 'clig' off, 'liga' off;\n font-family: var(--nile-font-family-serif);\n font-size: var(--nile-font-size-small);\n font-style: normal;\n font-weight: var(--nile-font-weight-regular);\n line-height:16.8px;\n letter-spacing: 0.2px;\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 8px;\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);\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600);\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: #026e78;\n }\n"]))));}};});
1
+ System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,r;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",r=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n text-align: center;\n font-feature-settings: 'clig' off, 'liga' off;\n font-family: var(--nile-font-family-serif); \n font-size: var(--nile-font-size-small);\n font-style: normal;\n font-weight: var(--nile-font-weight-regular);\n line-height:16.8px;\n letter-spacing: 0.2px;\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 8px;\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);\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600);\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: #026e78;\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-breadcrumb-item.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-breadcrumb-item.css.cjs.js","sources":["../../../src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts"],"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-element';\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-feature-settings: 'clig' off, 'liga' off;\n font-family: var(--nile-font-family-serif);\n font-size: var(--nile-font-size-small);\n font-style: normal;\n font-weight: var(--nile-font-weight-regular);\n line-height:16.8px;\n letter-spacing: 0.2px;\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 8px;\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);\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600);\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: #026e78;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-breadcrumb-item.css.cjs.js","sources":["../../../src/nile-breadcrumb-item/nile-breadcrumb-item.css.ts"],"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-element';\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-feature-settings: 'clig' off, 'liga' off;\n font-family: var(--nile-font-family-serif); \n font-size: var(--nile-font-size-small);\n font-style: normal;\n font-weight: var(--nile-font-weight-regular);\n line-height:16.8px;\n letter-spacing: 0.2px;\n }\n\n .nile-breadcrumb-item__arrow {\n margin: 0 8px;\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);\n }\n\n .nile-breadcrumb-item__slot-text:hover {\n color: var(--nile-colors-primary-600);\n cursor: pointer;\n }\n\n .nile-breadcrumb-item__last-slot-text {\n color: #026e78;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -4,7 +4,7 @@ import{i as e}from"../index-cd2f9c12.esm.js";const r=e`
4
4
  align-items: center;
5
5
  text-align: center;
6
6
  font-feature-settings: 'clig' off, 'liga' off;
7
- font-family: var(--nile-font-family-serif);
7
+ font-family: var(--nile-font-family-serif);
8
8
  font-size: var(--nile-font-size-small);
9
9
  font-style: normal;
10
10
  font-weight: var(--nile-font-weight-regular);
@@ -1,2 +1,2 @@
1
- System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n }\n\n .nile-button-toggle {\n display: flex;\n padding: 12px;\n border: 1px solid #ccc;\n cursor: pointer;\n border-radius: 4px;\n color: #000;\n text-align: center;\n font-family: Colfax-regular;\n font-size: 14px;\n line-height: 14px;\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100);\n }\n\n .nile-button-toggle:active {\n background: #E5E9EB;\n }\n\n .nile-button-toggle__initial {\n border-radius: 4px 0 0 4px;\n }\n\n .nile-button-toggle__end {\n border-radius: 0 4px 4px 0;\n border-left: 0;\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: #ccc;\n border-radius: 0;\n }\n\n .nile-button-toggle__active {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__active:hover {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n"]))));}};});
1
+ System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n }\n\n .nile-button-toggle {\n display: flex;\n padding: 12px;\n border: 1px solid #ccc;\n cursor: pointer;\n border-radius: 4px;\n color: #000;\n text-align: center;\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n line-height: 14px;\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100);\n }\n\n .nile-button-toggle:active {\n background: #E5E9EB;\n }\n\n .nile-button-toggle__initial {\n border-radius: 4px 0 0 4px;\n }\n\n .nile-button-toggle__end {\n border-radius: 0 4px 4px 0;\n border-left: 0;\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: #ccc;\n border-radius: 0;\n }\n\n .nile-button-toggle__active {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__active:hover {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-button-toggle.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-button-toggle.css.cjs.js","sources":["../../../src/nile-button-toggle/nile-button-toggle.css.ts"],"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-element';\n\n/**\n * ButtonToggle CSS\n */\nexport const styles = css`\n :host {\n }\n\n .nile-button-toggle {\n display: flex;\n padding: 12px;\n border: 1px solid #ccc;\n cursor: pointer;\n border-radius: 4px;\n color: #000;\n text-align: center;\n font-family: Colfax-regular;\n font-size: 14px;\n line-height: 14px;\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100);\n }\n\n .nile-button-toggle:active {\n background: #E5E9EB;\n }\n\n .nile-button-toggle__initial {\n border-radius: 4px 0 0 4px;\n }\n\n .nile-button-toggle__end {\n border-radius: 0 4px 4px 0;\n border-left: 0;\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: #ccc;\n border-radius: 0;\n }\n\n .nile-button-toggle__active {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__active:hover {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-button-toggle.css.cjs.js","sources":["../../../src/nile-button-toggle/nile-button-toggle.css.ts"],"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-element';\n\n/**\n * ButtonToggle CSS\n */\nexport const styles = css`\n :host {\n }\n\n .nile-button-toggle {\n display: flex;\n padding: 12px;\n border: 1px solid #ccc;\n cursor: pointer;\n border-radius: 4px;\n color: #000;\n text-align: center;\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n line-height: 14px;\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100);\n }\n\n .nile-button-toggle:active {\n background: #E5E9EB;\n }\n\n .nile-button-toggle__initial {\n border-radius: 4px 0 0 4px;\n }\n\n .nile-button-toggle__end {\n border-radius: 0 4px 4px 0;\n border-left: 0;\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: #ccc;\n border-radius: 0;\n }\n\n .nile-button-toggle__active {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__active:hover {\n background-color: #c7ced4;\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}