@aquera/nile-elements 0.1.64-beta-1.0 → 0.1.64-beta-1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1098) hide show
  1. package/README.md +59 -14
  2. package/demo/index.css +17 -53
  3. package/demo/index.html +195 -181
  4. package/demo/index.js +0 -1
  5. package/dist/{fixture-ba65eb22.esm.js → fixture-2b5b3aba.esm.js} +1 -1
  6. package/dist/{fixture-324a7ef9.cjs.js → fixture-3330277d.cjs.js} +2 -2
  7. package/dist/{fixture-324a7ef9.cjs.js.map → fixture-3330277d.cjs.js.map} +1 -1
  8. package/dist/{fixture-f2693d97.esm.js → fixture-588a3119.esm.js} +1 -1
  9. package/dist/{fixture-cb376a7f.cjs.js → fixture-75825990.cjs.js} +2 -2
  10. package/dist/fixture-75825990.cjs.js.map +1 -0
  11. package/dist/{fixture-c1bd203f.cjs.js → fixture-7bfb866e.cjs.js} +2 -2
  12. package/dist/{fixture-c1bd203f.cjs.js.map → fixture-7bfb866e.cjs.js.map} +1 -1
  13. package/dist/{fixture-add72f26.esm.js → fixture-e831ec79.esm.js} +1 -1
  14. package/dist/index.cjs.js +1 -1
  15. package/dist/index.esm.js +1 -1
  16. package/dist/index.js +935 -494
  17. package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
  18. package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
  19. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
  20. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js.map +1 -1
  21. package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
  22. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  23. package/dist/nile-avatar/nile-avatar.test.cjs.js.map +1 -1
  24. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  25. package/dist/nile-badge/index.cjs.js +1 -1
  26. package/dist/nile-badge/index.esm.js +1 -1
  27. package/dist/nile-badge/nile-badge.cjs.js +1 -1
  28. package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
  29. package/dist/nile-badge/nile-badge.esm.js +1 -1
  30. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  31. package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
  32. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  33. package/dist/nile-button/index.cjs.js +1 -1
  34. package/dist/nile-button/index.esm.js +1 -1
  35. package/dist/nile-button/nile-button.cjs.js +1 -1
  36. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  37. package/dist/nile-button/nile-button.esm.js +1 -1
  38. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  39. package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
  40. package/dist/nile-button/nile-button.test.esm.js +1 -1
  41. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
  42. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
  43. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  44. package/dist/nile-calendar/nile-calendar.test.cjs.js.map +1 -1
  45. package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
  46. package/dist/nile-card/nile-card.test.cjs.js +1 -1
  47. package/dist/nile-card/nile-card.test.esm.js +1 -1
  48. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
  49. package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
  50. package/dist/nile-chip/nile-chip.cjs.js +1 -1
  51. package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
  52. package/dist/nile-chip/nile-chip.esm.js +9 -17
  53. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  54. package/dist/nile-chip/nile-chip.test.cjs.js.map +1 -1
  55. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  56. package/dist/nile-code-editor/extensionSetup.cjs.js +5 -5
  57. package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
  58. package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
  59. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  60. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  61. package/dist/nile-code-editor/nile-code-editor.esm.js +3 -3
  62. package/dist/nile-code-editor/theme.cjs.js +1 -1
  63. package/dist/nile-code-editor/theme.cjs.js.map +1 -1
  64. package/dist/nile-code-editor/theme.esm.js +1 -1
  65. package/dist/nile-dialog/index.cjs.js +1 -1
  66. package/dist/nile-dialog/index.esm.js +1 -1
  67. package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
  68. package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
  69. package/dist/nile-dialog/nile-dialog.esm.js +1 -1
  70. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  71. package/dist/nile-dialog/nile-dialog.test.cjs.js.map +1 -1
  72. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  73. package/dist/nile-drawer/index.cjs.js +1 -1
  74. package/dist/nile-drawer/index.esm.js +1 -1
  75. package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
  76. package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
  77. package/dist/nile-drawer/nile-drawer.esm.js +1 -1
  78. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  79. package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
  80. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  81. package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
  82. package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
  83. package/dist/nile-empty-state/nile-empty-state.cjs.js +1 -1
  84. package/dist/nile-empty-state/nile-empty-state.cjs.js.map +1 -1
  85. package/dist/nile-empty-state/nile-empty-state.esm.js +13 -13
  86. package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
  87. package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
  88. package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
  89. package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
  90. package/dist/nile-error-notification/nile-error-notification.cjs.js +1 -1
  91. package/dist/nile-error-notification/nile-error-notification.cjs.js.map +1 -1
  92. package/dist/nile-error-notification/nile-error-notification.esm.js +4 -2
  93. package/dist/nile-file-preview/nile-file-preview.cjs.js +1 -1
  94. package/dist/nile-file-preview/nile-file-preview.cjs.js.map +1 -1
  95. package/dist/nile-file-preview/nile-file-preview.css.cjs.js +1 -1
  96. package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +1 -1
  97. package/dist/nile-file-preview/nile-file-preview.css.esm.js +170 -229
  98. package/dist/nile-file-preview/nile-file-preview.esm.js +2 -2
  99. package/dist/nile-file-preview/nile-file-preview.template.cjs.js +1 -1
  100. package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +1 -1
  101. package/dist/nile-file-preview/nile-file-preview.template.esm.js +62 -59
  102. package/dist/nile-file-preview/nile-file-preview.test.cjs.js +1 -1
  103. package/dist/nile-file-preview/nile-file-preview.test.esm.js +1 -1
  104. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js +1 -1
  105. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js.map +1 -1
  106. package/dist/nile-file-preview/types/nile-file-preview.enums.esm.js +1 -1
  107. package/dist/nile-file-preview/utils/index.cjs.js +1 -1
  108. package/dist/nile-file-preview/utils/index.esm.js +1 -1
  109. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js +1 -1
  110. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js.map +1 -1
  111. package/dist/nile-file-preview/utils/nile-file-preview.util.esm.js +1 -1
  112. package/dist/nile-file-upload/index.cjs.js +1 -1
  113. package/dist/nile-file-upload/index.esm.js +1 -1
  114. package/dist/nile-file-upload/nile-file-upload.cjs.js +1 -1
  115. package/dist/nile-file-upload/nile-file-upload.cjs.js.map +1 -1
  116. package/dist/nile-file-upload/nile-file-upload.css.cjs.js +1 -1
  117. package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +1 -1
  118. package/dist/nile-file-upload/nile-file-upload.css.esm.js +89 -142
  119. package/dist/nile-file-upload/nile-file-upload.esm.js +2 -2
  120. package/dist/nile-file-upload/nile-file-upload.template.cjs.js +3 -3
  121. package/dist/nile-file-upload/nile-file-upload.template.cjs.js.map +1 -1
  122. package/dist/nile-file-upload/nile-file-upload.template.esm.js +98 -44
  123. package/dist/nile-file-upload/nile-file-upload.test.cjs.js +1 -1
  124. package/dist/nile-file-upload/nile-file-upload.test.esm.js +1 -1
  125. package/dist/nile-file-upload/types/file-upload.enums.cjs.js +1 -1
  126. package/dist/nile-file-upload/types/file-upload.enums.cjs.js.map +1 -1
  127. package/dist/nile-file-upload/types/file-upload.enums.esm.js +1 -1
  128. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js +1 -1
  129. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js.map +1 -1
  130. package/dist/nile-file-upload/utils/drag-drop.util.esm.js +1 -1
  131. package/dist/nile-file-upload/utils/file-validation.util.cjs.js +1 -2
  132. package/dist/nile-file-upload/utils/file-validation.util.cjs.js.map +1 -1
  133. package/dist/nile-file-upload/utils/file-validation.util.esm.js +1 -1
  134. package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
  135. package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
  136. package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
  137. package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
  138. package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
  139. package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
  140. package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
  141. package/dist/nile-hero/nile-hero.test.esm.js +1 -1
  142. package/dist/nile-icon/icons/svg/accessreview.cjs.js +1 -1
  143. package/dist/nile-icon/icons/svg/accessreview.cjs.js.map +1 -1
  144. package/dist/nile-icon/icons/svg/accessreview.esm.js +1 -1
  145. package/dist/nile-icon/icons/svg/agent.cjs.js +1 -1
  146. package/dist/nile-icon/icons/svg/agent.cjs.js.map +1 -1
  147. package/dist/nile-icon/icons/svg/agent.esm.js +1 -1
  148. package/dist/nile-icon/icons/svg/api.cjs.js +1 -1
  149. package/dist/nile-icon/icons/svg/api.cjs.js.map +1 -1
  150. package/dist/nile-icon/icons/svg/api.esm.js +1 -1
  151. package/dist/nile-icon/icons/svg/apply-filter.cjs.js +1 -1
  152. package/dist/nile-icon/icons/svg/apply-filter.cjs.js.map +1 -1
  153. package/dist/nile-icon/icons/svg/apply-filter.esm.js +1 -1
  154. package/dist/nile-icon/icons/svg/arrowdropdown.cjs.js +1 -1
  155. package/dist/nile-icon/icons/svg/arrowdropdown.cjs.js.map +1 -1
  156. package/dist/nile-icon/icons/svg/arrowdropdown.esm.js +1 -1
  157. package/dist/nile-icon/icons/svg/arrowdropup.cjs.js +1 -1
  158. package/dist/nile-icon/icons/svg/arrowdropup.cjs.js.map +1 -1
  159. package/dist/nile-icon/icons/svg/arrowdropup.esm.js +1 -1
  160. package/dist/nile-icon/icons/svg/bold.cjs.js +2 -0
  161. package/dist/nile-icon/icons/svg/bold.cjs.js.map +1 -0
  162. package/dist/nile-icon/icons/svg/bold.esm.js +1 -0
  163. package/dist/nile-icon/icons/svg/center-align.cjs.js +2 -0
  164. package/dist/nile-icon/icons/svg/center-align.cjs.js.map +1 -0
  165. package/dist/nile-icon/icons/svg/center-align.esm.js +1 -0
  166. package/dist/nile-icon/icons/svg/database.cjs.js +1 -1
  167. package/dist/nile-icon/icons/svg/database.cjs.js.map +1 -1
  168. package/dist/nile-icon/icons/svg/database.esm.js +1 -1
  169. package/dist/nile-icon/icons/svg/done.cjs.js +1 -1
  170. package/dist/nile-icon/icons/svg/done.cjs.js.map +1 -1
  171. package/dist/nile-icon/icons/svg/done.esm.js +1 -1
  172. package/dist/nile-icon/icons/svg/dontmap.cjs.js +1 -1
  173. package/dist/nile-icon/icons/svg/dontmap.cjs.js.map +1 -1
  174. package/dist/nile-icon/icons/svg/dontmap.esm.js +1 -1
  175. package/dist/nile-icon/icons/svg/doublearrowleft.cjs.js +1 -1
  176. package/dist/nile-icon/icons/svg/doublearrowleft.cjs.js.map +1 -1
  177. package/dist/nile-icon/icons/svg/doublearrowleft.esm.js +1 -1
  178. package/dist/nile-icon/icons/svg/doublearrowright.cjs.js +1 -1
  179. package/dist/nile-icon/icons/svg/doublearrowright.cjs.js.map +1 -1
  180. package/dist/nile-icon/icons/svg/doublearrowright.esm.js +1 -1
  181. package/dist/nile-icon/icons/svg/drag.cjs.js +1 -1
  182. package/dist/nile-icon/icons/svg/drag.cjs.js.map +1 -1
  183. package/dist/nile-icon/icons/svg/drag.esm.js +1 -1
  184. package/dist/nile-icon/icons/svg/expand-06.cjs.js +1 -1
  185. package/dist/nile-icon/icons/svg/expand-06.cjs.js.map +1 -1
  186. package/dist/nile-icon/icons/svg/expand-06.esm.js +1 -1
  187. package/dist/nile-icon/icons/svg/expand.cjs.js +1 -1
  188. package/dist/nile-icon/icons/svg/expand.cjs.js.map +1 -1
  189. package/dist/nile-icon/icons/svg/expand.esm.js +1 -1
  190. package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
  191. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  192. package/dist/nile-icon/icons/svg/info.cjs.js +1 -1
  193. package/dist/nile-icon/icons/svg/info.cjs.js.map +1 -1
  194. package/dist/nile-icon/icons/svg/info.esm.js +1 -1
  195. package/dist/nile-icon/icons/svg/integer.cjs.js +1 -1
  196. package/dist/nile-icon/icons/svg/integer.cjs.js.map +1 -1
  197. package/dist/nile-icon/icons/svg/integer.esm.js +1 -1
  198. package/dist/nile-icon/icons/svg/itallic.cjs.js +2 -0
  199. package/dist/nile-icon/icons/svg/itallic.cjs.js.map +1 -0
  200. package/dist/nile-icon/icons/svg/itallic.esm.js +1 -0
  201. package/dist/nile-icon/icons/svg/justify-align.cjs.js +2 -0
  202. package/dist/nile-icon/icons/svg/justify-align.cjs.js.map +1 -0
  203. package/dist/nile-icon/icons/svg/justify-align.esm.js +1 -0
  204. package/dist/nile-icon/icons/svg/left-align.cjs.js +2 -0
  205. package/dist/nile-icon/icons/svg/left-align.cjs.js.map +1 -0
  206. package/dist/nile-icon/icons/svg/left-align.esm.js +1 -0
  207. package/dist/nile-icon/icons/svg/ng-activity.cjs.js +2 -0
  208. package/dist/nile-icon/icons/svg/ng-activity.cjs.js.map +1 -0
  209. package/dist/nile-icon/icons/svg/ng-activity.esm.js +1 -0
  210. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js +2 -0
  211. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js.map +1 -0
  212. package/dist/nile-icon/icons/svg/ng-align-center.esm.js +1 -0
  213. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js +2 -0
  214. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js.map +1 -0
  215. package/dist/nile-icon/icons/svg/ng-annotation-x.esm.js +1 -0
  216. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js +2 -0
  217. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js.map +1 -0
  218. package/dist/nile-icon/icons/svg/ng-arrow-down.esm.js +1 -0
  219. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js +2 -0
  220. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js.map +1 -0
  221. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.esm.js +1 -0
  222. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js +2 -0
  223. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js.map +1 -0
  224. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.esm.js +1 -0
  225. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js +2 -0
  226. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js.map +1 -0
  227. package/dist/nile-icon/icons/svg/ng-arrow-up.esm.js +1 -0
  228. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js +2 -0
  229. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js.map +1 -0
  230. package/dist/nile-icon/icons/svg/ng-bar-chart-12.esm.js +1 -0
  231. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js +2 -0
  232. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js.map +1 -0
  233. package/dist/nile-icon/icons/svg/ng-bell-01.esm.js +1 -0
  234. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js +2 -0
  235. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js.map +1 -0
  236. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.esm.js +1 -0
  237. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js +2 -0
  238. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js.map +1 -0
  239. package/dist/nile-icon/icons/svg/ng-bold-01.esm.js +1 -0
  240. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js +2 -0
  241. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js.map +1 -0
  242. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.esm.js +1 -0
  243. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js +2 -0
  244. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js.map +1 -0
  245. package/dist/nile-icon/icons/svg/ng-calendar.esm.js +1 -0
  246. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js +2 -0
  247. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js.map +1 -0
  248. package/dist/nile-icon/icons/svg/ng-check-circle.esm.js +1 -0
  249. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js +2 -0
  250. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js.map +1 -0
  251. package/dist/nile-icon/icons/svg/ng-check-square-broken.esm.js +1 -0
  252. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js +2 -0
  253. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js.map +1 -0
  254. package/dist/nile-icon/icons/svg/ng-chevron-down.esm.js +1 -0
  255. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js +2 -0
  256. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js.map +1 -0
  257. package/dist/nile-icon/icons/svg/ng-chevron-left.esm.js +1 -0
  258. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js +2 -0
  259. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js.map +1 -0
  260. package/dist/nile-icon/icons/svg/ng-chevron-right.esm.js +1 -0
  261. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js +2 -0
  262. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js.map +1 -0
  263. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.esm.js +1 -0
  264. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js +2 -0
  265. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js.map +1 -0
  266. package/dist/nile-icon/icons/svg/ng-chevron-up-double.esm.js +1 -0
  267. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js +2 -0
  268. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js.map +1 -0
  269. package/dist/nile-icon/icons/svg/ng-chevron-up.esm.js +1 -0
  270. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js +2 -0
  271. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js.map +1 -0
  272. package/dist/nile-icon/icons/svg/ng-copy-03.esm.js +1 -0
  273. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js +2 -0
  274. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js.map +1 -0
  275. package/dist/nile-icon/icons/svg/ng-dots-grid.esm.js +1 -0
  276. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js +2 -0
  277. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js.map +1 -0
  278. package/dist/nile-icon/icons/svg/ng-dots-vertical.esm.js +1 -0
  279. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js +2 -0
  280. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js.map +1 -0
  281. package/dist/nile-icon/icons/svg/ng-download-01.esm.js +1 -0
  282. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js +2 -0
  283. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js.map +1 -0
  284. package/dist/nile-icon/icons/svg/ng-dropdown.esm.js +1 -0
  285. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js +2 -0
  286. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js.map +1 -0
  287. package/dist/nile-icon/icons/svg/ng-edit-02.esm.js +1 -0
  288. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js +2 -0
  289. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js.map +1 -0
  290. package/dist/nile-icon/icons/svg/ng-edit-05.esm.js +1 -0
  291. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js +2 -0
  292. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js.map +1 -0
  293. package/dist/nile-icon/icons/svg/ng-expand-06.esm.js +1 -0
  294. package/dist/nile-icon/icons/svg/ng-eye.cjs.js +2 -0
  295. package/dist/nile-icon/icons/svg/ng-eye.cjs.js.map +1 -0
  296. package/dist/nile-icon/icons/svg/ng-eye.esm.js +1 -0
  297. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js +2 -0
  298. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js.map +1 -0
  299. package/dist/nile-icon/icons/svg/ng-file-02.esm.js +1 -0
  300. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js +2 -0
  301. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js.map +1 -0
  302. package/dist/nile-icon/icons/svg/ng-file-check-02.esm.js +1 -0
  303. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js +2 -0
  304. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js.map +1 -0
  305. package/dist/nile-icon/icons/svg/ng-file-question-03.esm.js +1 -0
  306. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js +2 -0
  307. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js.map +1 -0
  308. package/dist/nile-icon/icons/svg/ng-filter-lines.esm.js +1 -0
  309. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js +2 -0
  310. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js.map +1 -0
  311. package/dist/nile-icon/icons/svg/ng-grid-01.esm.js +1 -0
  312. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js +2 -0
  313. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js.map +1 -0
  314. package/dist/nile-icon/icons/svg/ng-help-circle.esm.js +1 -0
  315. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js +2 -0
  316. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js.map +1 -0
  317. package/dist/nile-icon/icons/svg/ng-image-user-left.esm.js +1 -0
  318. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js +2 -0
  319. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js.map +1 -0
  320. package/dist/nile-icon/icons/svg/ng-info-circle.esm.js +1 -0
  321. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js +2 -0
  322. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js.map +1 -0
  323. package/dist/nile-icon/icons/svg/ng-italic-01.esm.js +1 -0
  324. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js +2 -0
  325. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js.map +1 -0
  326. package/dist/nile-icon/icons/svg/ng-layers-three-01.esm.js +1 -0
  327. package/dist/nile-icon/icons/svg/ng-list.cjs.js +2 -0
  328. package/dist/nile-icon/icons/svg/ng-list.cjs.js.map +1 -0
  329. package/dist/nile-icon/icons/svg/ng-list.esm.js +1 -0
  330. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js +2 -0
  331. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js.map +1 -0
  332. package/dist/nile-icon/icons/svg/ng-log-out-01.esm.js +1 -0
  333. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js +2 -0
  334. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js.map +1 -0
  335. package/dist/nile-icon/icons/svg/ng-mail-01.esm.js +1 -0
  336. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js +2 -0
  337. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js.map +1 -0
  338. package/dist/nile-icon/icons/svg/ng-mail-04.esm.js +1 -0
  339. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js +2 -0
  340. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js.map +1 -0
  341. package/dist/nile-icon/icons/svg/ng-menu-05.esm.js +1 -0
  342. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js +2 -0
  343. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js.map +1 -0
  344. package/dist/nile-icon/icons/svg/ng-message-text-square-01.esm.js +1 -0
  345. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js +2 -0
  346. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js.map +1 -0
  347. package/dist/nile-icon/icons/svg/ng-minimize-02.esm.js +1 -0
  348. package/dist/nile-icon/icons/svg/ng-plus.cjs.js +2 -0
  349. package/dist/nile-icon/icons/svg/ng-plus.cjs.js.map +1 -0
  350. package/dist/nile-icon/icons/svg/ng-plus.esm.js +1 -0
  351. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js +2 -0
  352. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js.map +1 -0
  353. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.esm.js +1 -0
  354. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js +2 -0
  355. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js.map +1 -0
  356. package/dist/nile-icon/icons/svg/ng-rocket-02.esm.js +1 -0
  357. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js +2 -0
  358. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js.map +1 -0
  359. package/dist/nile-icon/icons/svg/ng-search-lg.esm.js +1 -0
  360. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js +2 -0
  361. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js.map +1 -0
  362. package/dist/nile-icon/icons/svg/ng-send-01.esm.js +1 -0
  363. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js +2 -0
  364. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js.map +1 -0
  365. package/dist/nile-icon/icons/svg/ng-settings-01.esm.js +1 -0
  366. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js +2 -0
  367. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js.map +1 -0
  368. package/dist/nile-icon/icons/svg/ng-share-04.esm.js +1 -0
  369. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js +2 -0
  370. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js.map +1 -0
  371. package/dist/nile-icon/icons/svg/ng-share-06.esm.js +1 -0
  372. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js +2 -0
  373. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js.map +1 -0
  374. package/dist/nile-icon/icons/svg/ng-stars-02.esm.js +1 -0
  375. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js +2 -0
  376. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js.map +1 -0
  377. package/dist/nile-icon/icons/svg/ng-trash-01.esm.js +1 -0
  378. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js +2 -0
  379. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js.map +1 -0
  380. package/dist/nile-icon/icons/svg/ng-trash-03.esm.js +1 -0
  381. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js +2 -0
  382. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js.map +1 -0
  383. package/dist/nile-icon/icons/svg/ng-trend-up-01.esm.js +1 -0
  384. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js +2 -0
  385. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js.map +1 -0
  386. package/dist/nile-icon/icons/svg/ng-underline-01.esm.js +1 -0
  387. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js +2 -0
  388. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js.map +1 -0
  389. package/dist/nile-icon/icons/svg/ng-upload-01.esm.js +1 -0
  390. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js +2 -0
  391. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js.map +1 -0
  392. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.esm.js +1 -0
  393. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js +2 -0
  394. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js.map +1 -0
  395. package/dist/nile-icon/icons/svg/ng-user-01.esm.js +1 -0
  396. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js +2 -0
  397. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js.map +1 -0
  398. package/dist/nile-icon/icons/svg/ng-user-check-02-1.esm.js +1 -0
  399. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js +2 -0
  400. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js.map +1 -0
  401. package/dist/nile-icon/icons/svg/ng-user-check-02.esm.js +1 -0
  402. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js +2 -0
  403. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js.map +1 -0
  404. package/dist/nile-icon/icons/svg/ng-user-plus-02.esm.js +1 -0
  405. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js +2 -0
  406. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js.map +1 -0
  407. package/dist/nile-icon/icons/svg/ng-user-right-01.esm.js +1 -0
  408. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js +2 -0
  409. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js.map +1 -0
  410. package/dist/nile-icon/icons/svg/ng-users-01.esm.js +1 -0
  411. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js +2 -0
  412. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js.map +1 -0
  413. package/dist/nile-icon/icons/svg/ng-x-close.esm.js +1 -0
  414. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js +2 -0
  415. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js.map +1 -0
  416. package/dist/nile-icon/icons/svg/ng-x-square.esm.js +1 -0
  417. package/dist/nile-icon/icons/svg/ol.cjs.js +2 -0
  418. package/dist/nile-icon/icons/svg/ol.cjs.js.map +1 -0
  419. package/dist/nile-icon/icons/svg/ol.esm.js +1 -0
  420. package/dist/nile-icon/icons/svg/pluscircle.cjs.js +1 -1
  421. package/dist/nile-icon/icons/svg/pluscircle.cjs.js.map +1 -1
  422. package/dist/nile-icon/icons/svg/pluscircle.esm.js +1 -1
  423. package/dist/nile-icon/icons/svg/question.cjs.js +1 -1
  424. package/dist/nile-icon/icons/svg/question.cjs.js.map +1 -1
  425. package/dist/nile-icon/icons/svg/question.esm.js +1 -1
  426. package/dist/nile-icon/icons/svg/resource.cjs.js +1 -1
  427. package/dist/nile-icon/icons/svg/resource.cjs.js.map +1 -1
  428. package/dist/nile-icon/icons/svg/resource.esm.js +1 -1
  429. package/dist/nile-icon/icons/svg/right-align.cjs.js +2 -0
  430. package/dist/nile-icon/icons/svg/right-align.cjs.js.map +1 -0
  431. package/dist/nile-icon/icons/svg/right-align.esm.js +1 -0
  432. package/dist/nile-icon/icons/svg/sendescalation.cjs.js +1 -1
  433. package/dist/nile-icon/icons/svg/sendescalation.cjs.js.map +1 -1
  434. package/dist/nile-icon/icons/svg/sendescalation.esm.js +1 -1
  435. package/dist/nile-icon/icons/svg/sendreminder.cjs.js +1 -1
  436. package/dist/nile-icon/icons/svg/sendreminder.cjs.js.map +1 -1
  437. package/dist/nile-icon/icons/svg/sendreminder.esm.js +1 -1
  438. package/dist/nile-icon/icons/svg/timezone.cjs.js +1 -1
  439. package/dist/nile-icon/icons/svg/timezone.cjs.js.map +1 -1
  440. package/dist/nile-icon/icons/svg/timezone.esm.js +1 -1
  441. package/dist/nile-icon/icons/svg/ul.cjs.js +2 -0
  442. package/dist/nile-icon/icons/svg/ul.cjs.js.map +1 -0
  443. package/dist/nile-icon/icons/svg/ul.esm.js +1 -0
  444. package/dist/nile-icon/icons/svg/underline.cjs.js +2 -0
  445. package/dist/nile-icon/icons/svg/underline.cjs.js.map +1 -0
  446. package/dist/nile-icon/icons/svg/underline.esm.js +1 -0
  447. package/dist/nile-icon/icons/svg/unmute.cjs.js +1 -1
  448. package/dist/nile-icon/icons/svg/unmute.cjs.js.map +1 -1
  449. package/dist/nile-icon/icons/svg/unmute.esm.js +1 -1
  450. package/dist/nile-icon/icons/svg/upgrade.cjs.js +1 -1
  451. package/dist/nile-icon/icons/svg/upgrade.cjs.js.map +1 -1
  452. package/dist/nile-icon/icons/svg/upgrade.esm.js +1 -1
  453. package/dist/nile-icon/index.cjs.js +1 -1
  454. package/dist/nile-icon/index.cjs.js.map +1 -1
  455. package/dist/nile-icon/index.esm.js +1 -1
  456. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  457. package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
  458. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  459. package/dist/nile-icon-button/index.cjs.js +1 -1
  460. package/dist/nile-icon-button/index.esm.js +1 -1
  461. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  462. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  463. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  464. package/dist/nile-input/index.cjs.js +1 -1
  465. package/dist/nile-input/index.esm.js +1 -1
  466. package/dist/nile-input/nile-input.cjs.js +1 -1
  467. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  468. package/dist/nile-input/nile-input.esm.js +1 -1
  469. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  470. package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
  471. package/dist/nile-input/nile-input.test.esm.js +2 -2
  472. package/dist/nile-lightdomeditor/index.cjs.js +2 -0
  473. package/dist/nile-lightdomeditor/index.esm.js +1 -0
  474. package/dist/nile-lightdomeditor/nile-lightdomeditor.cjs.js +2 -0
  475. package/dist/nile-lightdomeditor/nile-lightdomeditor.cjs.js.map +1 -0
  476. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.cjs.js +2 -0
  477. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.cjs.js.map +1 -0
  478. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.esm.js +225 -0
  479. package/dist/nile-lightdomeditor/nile-lightdomeditor.esm.js +122 -0
  480. package/dist/nile-link/nile-link.test.cjs.js +1 -1
  481. package/dist/nile-link/nile-link.test.esm.js +1 -1
  482. package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
  483. package/dist/nile-loader/nile-loader.test.esm.js +1 -1
  484. package/dist/nile-menu/nile-menu.css.cjs.js +1 -1
  485. package/dist/nile-menu/nile-menu.css.cjs.js.map +1 -1
  486. package/dist/nile-menu/nile-menu.css.esm.js +3 -3
  487. package/dist/nile-menu-item/index.cjs.js +1 -1
  488. package/dist/nile-menu-item/index.esm.js +1 -1
  489. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  490. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  491. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  492. package/dist/nile-option/index.cjs.js +1 -1
  493. package/dist/nile-option/index.esm.js +1 -1
  494. package/dist/nile-option/nile-option.cjs.js +1 -1
  495. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  496. package/dist/nile-option/nile-option.esm.js +2 -2
  497. package/dist/nile-popover/index.cjs.js +1 -1
  498. package/dist/nile-popover/index.esm.js +1 -1
  499. package/dist/nile-popover/nile-popover.cjs.js +11 -3
  500. package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
  501. package/dist/nile-popover/nile-popover.esm.js +13 -7
  502. package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
  503. package/dist/nile-popover/nile-popover.test.cjs.js.map +1 -1
  504. package/dist/nile-popover/nile-popover.test.esm.js +3 -3
  505. package/dist/nile-popup/nile-popup.cjs.js +1 -1
  506. package/dist/nile-popup/nile-popup.cjs.js.map +1 -1
  507. package/dist/nile-popup/nile-popup.esm.js +1 -1
  508. package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
  509. package/dist/nile-popup/nile-popup.test.esm.js +1 -1
  510. package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
  511. package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
  512. package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
  513. package/dist/nile-radio/nile-radio.test.esm.js +1 -1
  514. package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
  515. package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
  516. package/dist/nile-rich-text-editor/index.cjs.js +2 -0
  517. package/dist/nile-rich-text-editor/index.cjs.js.map +1 -0
  518. package/dist/nile-rich-text-editor/index.esm.js +1 -0
  519. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +2 -0
  520. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +1 -0
  521. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +2 -0
  522. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +1 -0
  523. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +7 -0
  524. package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +1 -0
  525. package/dist/nile-rich-text-editor/nile-rte-color.cjs.js +2 -0
  526. package/dist/nile-rich-text-editor/nile-rte-color.cjs.js.map +1 -0
  527. package/dist/nile-rich-text-editor/nile-rte-color.esm.js +1 -0
  528. package/dist/nile-rich-text-editor/nile-rte-divider.cjs.js +2 -0
  529. package/dist/nile-rich-text-editor/nile-rte-divider.cjs.js.map +1 -0
  530. package/dist/nile-rich-text-editor/nile-rte-divider.esm.js +1 -0
  531. package/dist/nile-rich-text-editor/nile-rte-mentions-item.cjs.js +2 -0
  532. package/dist/nile-rich-text-editor/nile-rte-mentions-item.cjs.js.map +1 -0
  533. package/dist/nile-rich-text-editor/nile-rte-mentions-item.esm.js +1 -0
  534. package/dist/nile-rich-text-editor/nile-rte-mentions.cjs.js +3 -0
  535. package/dist/nile-rich-text-editor/nile-rte-mentions.cjs.js.map +1 -0
  536. package/dist/nile-rich-text-editor/nile-rte-mentions.esm.js +1 -0
  537. package/dist/nile-rich-text-editor/nile-rte-preview.cjs.js +2 -0
  538. package/dist/nile-rich-text-editor/nile-rte-preview.cjs.js.map +1 -0
  539. package/dist/nile-rich-text-editor/nile-rte-preview.esm.js +1 -0
  540. package/dist/nile-rich-text-editor/nile-rte-select.cjs.js +2 -0
  541. package/dist/nile-rich-text-editor/nile-rte-select.cjs.js.map +1 -0
  542. package/dist/nile-rich-text-editor/nile-rte-select.esm.js +32 -0
  543. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.cjs.js +2 -0
  544. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.cjs.js.map +1 -0
  545. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.esm.js +1 -0
  546. package/dist/nile-rich-text-editor/nile-rte-toolbar.cjs.js +2 -0
  547. package/dist/nile-rich-text-editor/nile-rte-toolbar.cjs.js.map +1 -0
  548. package/dist/nile-rich-text-editor/nile-rte-toolbar.esm.js +1 -0
  549. package/dist/nile-rich-text-editor/utils.cjs.js +2 -0
  550. package/dist/nile-rich-text-editor/utils.cjs.js.map +1 -0
  551. package/dist/nile-rich-text-editor/utils.esm.js +1 -0
  552. package/dist/nile-richcodeeditor/index.cjs.js +2 -0
  553. package/dist/nile-richcodeeditor/index.cjs.js.map +1 -0
  554. package/dist/nile-richcodeeditor/index.esm.js +1 -0
  555. package/dist/nile-richcodeeditor/nile-richcodeeditor.cjs.js +2 -0
  556. package/dist/nile-richcodeeditor/nile-richcodeeditor.cjs.js.map +1 -0
  557. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.cjs.js +2 -0
  558. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.cjs.js.map +1 -0
  559. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.esm.js +5 -0
  560. package/dist/nile-richcodeeditor/nile-richcodeeditor.esm.js +66 -0
  561. package/dist/nile-select/index.cjs.js +1 -1
  562. package/dist/nile-select/index.esm.js +1 -1
  563. package/dist/nile-select/nile-select.cjs.js +1 -1
  564. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  565. package/dist/nile-select/nile-select.esm.js +1 -1
  566. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  567. package/dist/nile-select/nile-select.test.cjs.js.map +1 -1
  568. package/dist/nile-select/nile-select.test.esm.js +1 -1
  569. package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
  570. package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
  571. package/dist/nile-tab/index.cjs.js +1 -1
  572. package/dist/nile-tab/index.esm.js +1 -1
  573. package/dist/nile-tab/nile-tab.cjs.js +1 -1
  574. package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
  575. package/dist/nile-tab/nile-tab.esm.js +2 -2
  576. package/dist/nile-tab-group/index.cjs.js +1 -1
  577. package/dist/nile-tab-group/index.esm.js +1 -1
  578. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  579. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  580. package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
  581. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  582. package/dist/nile-tab-group/nile-tab-group.test.cjs.js.map +1 -1
  583. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  584. package/dist/nile-tag/index.cjs.js +1 -1
  585. package/dist/nile-tag/index.esm.js +1 -1
  586. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  587. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  588. package/dist/nile-tag/nile-tag.esm.js +1 -1
  589. package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
  590. package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
  591. package/dist/nile-toast/index.cjs.js +1 -1
  592. package/dist/nile-toast/index.esm.js +1 -1
  593. package/dist/nile-toast/nile-toast.cjs.js +1 -1
  594. package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
  595. package/dist/nile-toast/nile-toast.esm.js +1 -1
  596. package/dist/nile-tree/index.cjs.js +1 -1
  597. package/dist/nile-tree/index.esm.js +1 -1
  598. package/dist/nile-tree/nile-tree.cjs.js +1 -1
  599. package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
  600. package/dist/nile-tree/nile-tree.esm.js +1 -1
  601. package/dist/nile-tree-item/index.cjs.js +1 -1
  602. package/dist/nile-tree-item/index.esm.js +1 -1
  603. package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
  604. package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
  605. package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
  606. package/dist/src/index.d.ts +4 -2
  607. package/dist/src/index.js +4 -2
  608. package/dist/src/index.js.map +1 -1
  609. package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +17 -0
  610. package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +310 -0
  611. package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +34 -0
  612. package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +31 -0
  613. package/dist/src/nile-chip/nile-chip.js +1 -9
  614. package/dist/src/nile-chip/nile-chip.js.map +1 -1
  615. package/dist/src/nile-code-editor/nile-code-editor.d.ts +2 -0
  616. package/dist/src/nile-code-editor/nile-code-editor.js +48 -6
  617. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  618. package/dist/src/nile-code-editor/theme.d.ts +110 -0
  619. package/dist/src/nile-code-editor/theme.js +110 -0
  620. package/dist/src/nile-code-editor/theme.js.map +1 -1
  621. package/dist/src/nile-empty-state/nile-empty-state.js +11 -11
  622. package/dist/src/nile-empty-state/nile-empty-state.js.map +1 -1
  623. package/dist/src/nile-error-notification/nile-error-notification.js +4 -2
  624. package/dist/src/nile-error-notification/nile-error-notification.js.map +1 -1
  625. package/dist/src/nile-file-preview/nile-file-preview.css.js +168 -227
  626. package/dist/src/nile-file-preview/nile-file-preview.css.js.map +1 -1
  627. package/dist/src/nile-file-preview/nile-file-preview.d.ts +1 -2
  628. package/dist/src/nile-file-preview/nile-file-preview.js +13 -14
  629. package/dist/src/nile-file-preview/nile-file-preview.js.map +1 -1
  630. package/dist/src/nile-file-preview/nile-file-preview.template.d.ts +2 -3
  631. package/dist/src/nile-file-preview/nile-file-preview.template.js +47 -51
  632. package/dist/src/nile-file-preview/nile-file-preview.template.js.map +1 -1
  633. package/dist/src/nile-file-preview/types/nile-file-preview.enums.d.ts +3 -3
  634. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js +2 -2
  635. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js.map +1 -1
  636. package/dist/src/nile-file-preview/utils/nile-file-preview.util.d.ts +0 -4
  637. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js +0 -25
  638. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js.map +1 -1
  639. package/dist/src/nile-file-upload/nile-file-upload.css.js +87 -140
  640. package/dist/src/nile-file-upload/nile-file-upload.css.js.map +1 -1
  641. package/dist/src/nile-file-upload/nile-file-upload.d.ts +1 -4
  642. package/dist/src/nile-file-upload/nile-file-upload.js +20 -30
  643. package/dist/src/nile-file-upload/nile-file-upload.js.map +1 -1
  644. package/dist/src/nile-file-upload/nile-file-upload.template.d.ts +5 -5
  645. package/dist/src/nile-file-upload/nile-file-upload.template.js +103 -57
  646. package/dist/src/nile-file-upload/nile-file-upload.template.js.map +1 -1
  647. package/dist/src/nile-file-upload/types/file-upload.enums.d.ts +3 -8
  648. package/dist/src/nile-file-upload/types/file-upload.enums.js +1 -6
  649. package/dist/src/nile-file-upload/types/file-upload.enums.js.map +1 -1
  650. package/dist/src/nile-file-upload/utils/drag-drop.util.d.ts +4 -2
  651. package/dist/src/nile-file-upload/utils/drag-drop.util.js +21 -18
  652. package/dist/src/nile-file-upload/utils/drag-drop.util.js.map +1 -1
  653. package/dist/src/nile-file-upload/utils/file-validation.util.d.ts +1 -3
  654. package/dist/src/nile-file-upload/utils/file-validation.util.js +32 -83
  655. package/dist/src/nile-file-upload/utils/file-validation.util.js.map +1 -1
  656. package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +47 -0
  657. package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +16 -0
  658. package/dist/src/nile-icon/icons/svg/accessreview.d.ts +1 -1
  659. package/dist/src/nile-icon/icons/svg/accessreview.js +1 -1
  660. package/dist/src/nile-icon/icons/svg/accessreview.js.map +1 -1
  661. package/dist/src/nile-icon/icons/svg/agent.d.ts +1 -1
  662. package/dist/src/nile-icon/icons/svg/agent.js +1 -1
  663. package/dist/src/nile-icon/icons/svg/agent.js.map +1 -1
  664. package/dist/src/nile-icon/icons/svg/api.d.ts +1 -1
  665. package/dist/src/nile-icon/icons/svg/api.js +1 -1
  666. package/dist/src/nile-icon/icons/svg/api.js.map +1 -1
  667. package/dist/src/nile-icon/icons/svg/apply-filter.d.ts +1 -1
  668. package/dist/src/nile-icon/icons/svg/apply-filter.js +1 -1
  669. package/dist/src/nile-icon/icons/svg/apply-filter.js.map +1 -1
  670. package/dist/src/nile-icon/icons/svg/arrowdropdown.d.ts +1 -1
  671. package/dist/src/nile-icon/icons/svg/arrowdropdown.js +1 -1
  672. package/dist/src/nile-icon/icons/svg/arrowdropdown.js.map +1 -1
  673. package/dist/src/nile-icon/icons/svg/arrowdropup.d.ts +1 -1
  674. package/dist/src/nile-icon/icons/svg/arrowdropup.js +1 -1
  675. package/dist/src/nile-icon/icons/svg/arrowdropup.js.map +1 -1
  676. package/dist/src/nile-icon/icons/svg/bold.d.ts +5 -0
  677. package/dist/src/nile-icon/icons/svg/bold.js +5 -0
  678. package/dist/src/nile-icon/icons/svg/bold.js.map +1 -0
  679. package/dist/src/nile-icon/icons/svg/center-align.d.ts +5 -0
  680. package/dist/src/nile-icon/icons/svg/center-align.js +5 -0
  681. package/dist/src/nile-icon/icons/svg/center-align.js.map +1 -0
  682. package/dist/src/nile-icon/icons/svg/database.d.ts +1 -1
  683. package/dist/src/nile-icon/icons/svg/database.js +1 -1
  684. package/dist/src/nile-icon/icons/svg/database.js.map +1 -1
  685. package/dist/src/nile-icon/icons/svg/done.d.ts +1 -1
  686. package/dist/src/nile-icon/icons/svg/done.js +1 -1
  687. package/dist/src/nile-icon/icons/svg/done.js.map +1 -1
  688. package/dist/src/nile-icon/icons/svg/dontmap.d.ts +1 -1
  689. package/dist/src/nile-icon/icons/svg/dontmap.js +1 -1
  690. package/dist/src/nile-icon/icons/svg/dontmap.js.map +1 -1
  691. package/dist/src/nile-icon/icons/svg/doublearrowleft.d.ts +1 -1
  692. package/dist/src/nile-icon/icons/svg/doublearrowleft.js +1 -1
  693. package/dist/src/nile-icon/icons/svg/doublearrowleft.js.map +1 -1
  694. package/dist/src/nile-icon/icons/svg/doublearrowright.d.ts +1 -1
  695. package/dist/src/nile-icon/icons/svg/doublearrowright.js +1 -1
  696. package/dist/src/nile-icon/icons/svg/doublearrowright.js.map +1 -1
  697. package/dist/src/nile-icon/icons/svg/drag.d.ts +1 -1
  698. package/dist/src/nile-icon/icons/svg/drag.js +1 -1
  699. package/dist/src/nile-icon/icons/svg/drag.js.map +1 -1
  700. package/dist/src/nile-icon/icons/svg/expand-06.d.ts +1 -1
  701. package/dist/src/nile-icon/icons/svg/expand-06.js +1 -1
  702. package/dist/src/nile-icon/icons/svg/expand-06.js.map +1 -1
  703. package/dist/src/nile-icon/icons/svg/expand.d.ts +1 -1
  704. package/dist/src/nile-icon/icons/svg/expand.js +1 -1
  705. package/dist/src/nile-icon/icons/svg/expand.js.map +1 -1
  706. package/dist/src/nile-icon/icons/svg/index.d.ts +15 -0
  707. package/dist/src/nile-icon/icons/svg/index.js +15 -0
  708. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  709. package/dist/src/nile-icon/icons/svg/info.d.ts +1 -1
  710. package/dist/src/nile-icon/icons/svg/info.js +1 -1
  711. package/dist/src/nile-icon/icons/svg/info.js.map +1 -1
  712. package/dist/src/nile-icon/icons/svg/integer.d.ts +1 -1
  713. package/dist/src/nile-icon/icons/svg/integer.js +1 -1
  714. package/dist/src/nile-icon/icons/svg/integer.js.map +1 -1
  715. package/dist/src/nile-icon/icons/svg/itallic.d.ts +5 -0
  716. package/dist/src/nile-icon/icons/svg/itallic.js +5 -0
  717. package/dist/src/nile-icon/icons/svg/itallic.js.map +1 -0
  718. package/dist/src/nile-icon/icons/svg/justify-align.d.ts +5 -0
  719. package/dist/src/nile-icon/icons/svg/justify-align.js +5 -0
  720. package/dist/src/nile-icon/icons/svg/justify-align.js.map +1 -0
  721. package/dist/src/nile-icon/icons/svg/left-align.d.ts +5 -0
  722. package/dist/src/nile-icon/icons/svg/left-align.js +5 -0
  723. package/dist/src/nile-icon/icons/svg/left-align.js.map +1 -0
  724. package/dist/src/nile-icon/icons/svg/ol.d.ts +5 -0
  725. package/dist/src/nile-icon/icons/svg/ol.js +5 -0
  726. package/dist/src/nile-icon/icons/svg/ol.js.map +1 -0
  727. package/dist/src/nile-icon/icons/svg/pluscircle.d.ts +1 -1
  728. package/dist/src/nile-icon/icons/svg/pluscircle.js +1 -1
  729. package/dist/src/nile-icon/icons/svg/pluscircle.js.map +1 -1
  730. package/dist/src/nile-icon/icons/svg/question.d.ts +1 -1
  731. package/dist/src/nile-icon/icons/svg/question.js +1 -1
  732. package/dist/src/nile-icon/icons/svg/question.js.map +1 -1
  733. package/dist/src/nile-icon/icons/svg/resource.d.ts +1 -1
  734. package/dist/src/nile-icon/icons/svg/resource.js +1 -1
  735. package/dist/src/nile-icon/icons/svg/resource.js.map +1 -1
  736. package/dist/src/nile-icon/icons/svg/right-align.d.ts +5 -0
  737. package/dist/src/nile-icon/icons/svg/right-align.js +5 -0
  738. package/dist/src/nile-icon/icons/svg/right-align.js.map +1 -0
  739. package/dist/src/nile-icon/icons/svg/sendescalation.d.ts +1 -1
  740. package/dist/src/nile-icon/icons/svg/sendescalation.js +1 -1
  741. package/dist/src/nile-icon/icons/svg/sendescalation.js.map +1 -1
  742. package/dist/src/nile-icon/icons/svg/sendreminder.d.ts +1 -1
  743. package/dist/src/nile-icon/icons/svg/sendreminder.js +1 -1
  744. package/dist/src/nile-icon/icons/svg/sendreminder.js.map +1 -1
  745. package/dist/src/nile-icon/icons/svg/timezone.d.ts +1 -1
  746. package/dist/src/nile-icon/icons/svg/timezone.js +1 -1
  747. package/dist/src/nile-icon/icons/svg/timezone.js.map +1 -1
  748. package/dist/src/nile-icon/icons/svg/ul.d.ts +5 -0
  749. package/dist/src/nile-icon/icons/svg/ul.js +5 -0
  750. package/dist/src/nile-icon/icons/svg/ul.js.map +1 -0
  751. package/dist/src/nile-icon/icons/svg/underline.d.ts +5 -0
  752. package/dist/src/nile-icon/icons/svg/underline.js +5 -0
  753. package/dist/src/nile-icon/icons/svg/underline.js.map +1 -0
  754. package/dist/src/nile-icon/icons/svg/unmute.d.ts +1 -1
  755. package/dist/src/nile-icon/icons/svg/unmute.js +1 -1
  756. package/dist/src/nile-icon/icons/svg/unmute.js.map +1 -1
  757. package/dist/src/nile-icon/icons/svg/upgrade.d.ts +1 -1
  758. package/dist/src/nile-icon/icons/svg/upgrade.js +1 -1
  759. package/dist/src/nile-icon/icons/svg/upgrade.js.map +1 -1
  760. package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +75 -0
  761. package/dist/src/nile-lightdomeditor/index.d.ts +1 -0
  762. package/dist/src/nile-lightdomeditor/index.js +2 -0
  763. package/dist/src/nile-lightdomeditor/index.js.map +1 -0
  764. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.d.ts +6 -0
  765. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.js +237 -0
  766. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.js.map +1 -0
  767. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.d.ts +74 -0
  768. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.js +591 -0
  769. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.js.map +1 -0
  770. package/dist/src/nile-lightdomeditor/utils/nile-mention.d.ts +13 -0
  771. package/dist/src/nile-lightdomeditor/utils/nile-mention.js +47 -0
  772. package/dist/src/nile-lightdomeditor/utils/nile-mention.js.map +1 -0
  773. package/dist/src/nile-markdowneditor/index.d.ts +1 -0
  774. package/dist/src/nile-markdowneditor/index.js +2 -0
  775. package/dist/src/nile-markdowneditor/index.js.map +1 -0
  776. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.d.ts +12 -0
  777. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.js +17 -0
  778. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.js.map +1 -0
  779. package/dist/src/nile-markdowneditor/nile-markdowneditor.d.ts +32 -0
  780. package/dist/src/nile-markdowneditor/nile-markdowneditor.js +43 -0
  781. package/dist/src/nile-markdowneditor/nile-markdowneditor.js.map +1 -0
  782. package/dist/src/nile-menu/nile-menu.css.js +1 -1
  783. package/dist/src/nile-menu/nile-menu.css.js.map +1 -1
  784. package/dist/src/nile-option/nile-option.d.ts +3 -1
  785. package/dist/src/nile-option/nile-option.js +9 -0
  786. package/dist/src/nile-option/nile-option.js.map +1 -1
  787. package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +22 -0
  788. package/dist/src/nile-popup/nile-popup.js +20 -1
  789. package/dist/src/nile-popup/nile-popup.js.map +1 -1
  790. package/dist/src/nile-prosemirror-poc/index.d.ts +1 -0
  791. package/dist/src/nile-prosemirror-poc/index.js +2 -0
  792. package/dist/src/nile-prosemirror-poc/index.js.map +1 -0
  793. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.d.ts +12 -0
  794. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.js +17 -0
  795. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.js.map +1 -0
  796. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.d.ts +24 -0
  797. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.js +190 -0
  798. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.js.map +1 -0
  799. package/dist/src/nile-rich-text-editor/index.d.ts +1 -0
  800. package/dist/src/nile-rich-text-editor/index.js +2 -0
  801. package/dist/src/nile-rich-text-editor/index.js.map +1 -0
  802. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.d.ts +12 -0
  803. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +19 -0
  804. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +1 -0
  805. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +54 -0
  806. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +591 -0
  807. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +1 -0
  808. package/dist/src/nile-rich-text-editor/nile-rte-color.d.ts +14 -0
  809. package/dist/src/nile-rich-text-editor/nile-rte-color.js +28 -0
  810. package/dist/src/nile-rich-text-editor/nile-rte-color.js.map +1 -0
  811. package/dist/src/nile-rich-text-editor/nile-rte-divider.d.ts +10 -0
  812. package/dist/src/nile-rich-text-editor/nile-rte-divider.js +12 -0
  813. package/dist/src/nile-rich-text-editor/nile-rte-divider.js.map +1 -0
  814. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.d.ts +17 -0
  815. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.js +42 -0
  816. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.js.map +1 -0
  817. package/dist/src/nile-rich-text-editor/nile-rte-mentions.d.ts +54 -0
  818. package/dist/src/nile-rich-text-editor/nile-rte-mentions.js +400 -0
  819. package/dist/src/nile-rich-text-editor/nile-rte-mentions.js.map +1 -0
  820. package/dist/src/nile-rich-text-editor/nile-rte-preview.d.ts +10 -0
  821. package/dist/src/nile-rich-text-editor/nile-rte-preview.js +12 -0
  822. package/dist/src/nile-rich-text-editor/nile-rte-preview.js.map +1 -0
  823. package/dist/src/nile-rich-text-editor/nile-rte-select.d.ts +23 -0
  824. package/dist/src/nile-rich-text-editor/nile-rte-select.js +144 -0
  825. package/dist/src/nile-rich-text-editor/nile-rte-select.js.map +1 -0
  826. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.d.ts +12 -0
  827. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.js +23 -0
  828. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.js.map +1 -0
  829. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.d.ts +10 -0
  830. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.js +12 -0
  831. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.js.map +1 -0
  832. package/dist/src/nile-rich-text-editor/nille-rte-mention.d.ts +21 -0
  833. package/dist/src/nile-rich-text-editor/nille-rte-mention.js +47 -0
  834. package/dist/src/nile-rich-text-editor/nille-rte-mention.js.map +1 -0
  835. package/dist/src/nile-rich-text-editor/nille-rte-mentions.d.ts +21 -0
  836. package/dist/src/nile-rich-text-editor/nille-rte-mentions.js +47 -0
  837. package/dist/src/nile-rich-text-editor/nille-rte-mentions.js.map +1 -0
  838. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.d.ts +0 -0
  839. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.js +2 -0
  840. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.js.map +1 -0
  841. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.d.ts +8 -0
  842. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.js +39 -0
  843. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.js.map +1 -0
  844. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.d.ts +0 -0
  845. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.js +2 -0
  846. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.js.map +1 -0
  847. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.d.ts +12 -0
  848. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.js +24 -0
  849. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.js.map +1 -0
  850. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.d.ts +25 -0
  851. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.js +89 -0
  852. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.js.map +1 -0
  853. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.d.ts +12 -0
  854. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.js +47 -0
  855. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.js.map +1 -0
  856. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.d.ts +7 -0
  857. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.js +28 -0
  858. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.js.map +1 -0
  859. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.d.ts +6 -0
  860. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.js +237 -0
  861. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.js.map +1 -0
  862. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.d.ts +5 -0
  863. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.js +26 -0
  864. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.js.map +1 -0
  865. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.d.ts +6 -0
  866. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.js +237 -0
  867. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.js.map +1 -0
  868. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.d.ts +8 -0
  869. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.js +36 -0
  870. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.js.map +1 -0
  871. package/dist/src/nile-rich-text-editor/utils.d.ts +12 -0
  872. package/dist/src/nile-rich-text-editor/utils.js +234 -0
  873. package/dist/src/nile-rich-text-editor/utils.js.map +1 -0
  874. package/dist/src/nile-richcodeeditor/index.d.ts +1 -0
  875. package/dist/src/nile-richcodeeditor/index.js +2 -0
  876. package/dist/src/nile-richcodeeditor/index.js.map +1 -0
  877. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.d.ts +12 -0
  878. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.js +17 -0
  879. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.js.map +1 -0
  880. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.d.ts +31 -0
  881. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.js +203 -0
  882. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.js.map +1 -0
  883. package/dist/src/nile-richeditor/index.d.ts +1 -0
  884. package/dist/src/nile-richeditor/index.js +2 -0
  885. package/dist/src/nile-richeditor/index.js.map +1 -0
  886. package/dist/src/nile-richeditor/nile-richeditor.css.d.ts +12 -0
  887. package/dist/src/nile-richeditor/nile-richeditor.css.js +17 -0
  888. package/dist/src/nile-richeditor/nile-richeditor.css.js.map +1 -0
  889. package/dist/src/nile-richeditor/nile-richeditor.d.ts +19 -0
  890. package/dist/src/nile-richeditor/nile-richeditor.js +234 -0
  891. package/dist/src/nile-richeditor/nile-richeditor.js.map +1 -0
  892. package/dist/src/nile-richtexteditor/index.d.ts +1 -0
  893. package/dist/src/nile-richtexteditor/index.js +2 -0
  894. package/dist/src/nile-richtexteditor/index.js.map +1 -0
  895. package/dist/src/{nile-slider/nile-slider.css.d.ts → nile-richtexteditor/nile-richtexteditor.css.d.ts} +2 -2
  896. package/dist/src/nile-richtexteditor/nile-richtexteditor.css.js +237 -0
  897. package/dist/src/nile-richtexteditor/nile-richtexteditor.css.js.map +1 -0
  898. package/dist/src/nile-richtexteditor/nile-richtexteditor.d.ts +32 -0
  899. package/dist/src/nile-richtexteditor/nile-richtexteditor.js +46 -0
  900. package/dist/src/nile-richtexteditor/nile-richtexteditor.js.map +1 -0
  901. package/dist/src/nile-richtexteditor/utils/nile-mention.d.ts +13 -0
  902. package/dist/src/nile-richtexteditor/utils/nile-mention.js +47 -0
  903. package/dist/src/nile-richtexteditor/utils/nile-mention.js.map +1 -0
  904. package/dist/src/nile-select/nile-select.d.ts +3 -1
  905. package/dist/src/nile-select/nile-select.js +11 -0
  906. package/dist/src/nile-select/nile-select.js.map +1 -1
  907. package/dist/src/nile-tab/nile-tab.js +1 -1
  908. package/dist/src/nile-tab/nile-tab.js.map +1 -1
  909. package/dist/tsconfig.tsbuildinfo +1 -1
  910. package/package.json +7 -3
  911. package/rollup.config.js +27 -39
  912. package/src/index.ts +5 -3
  913. package/src/nile-chip/nile-chip.ts +1 -9
  914. package/src/nile-code-editor/nile-code-editor.ts +55 -6
  915. package/src/nile-code-editor/theme.ts +111 -0
  916. package/src/nile-empty-state/nile-empty-state.ts +11 -11
  917. package/src/nile-error-notification/nile-error-notification.ts +4 -3
  918. package/src/nile-icon/icons/svg/accessreview.ts +1 -1
  919. package/src/nile-icon/icons/svg/agent.ts +1 -1
  920. package/src/nile-icon/icons/svg/api.ts +1 -1
  921. package/src/nile-icon/icons/svg/apply-filter.ts +1 -1
  922. package/src/nile-icon/icons/svg/arrowdropdown.ts +1 -1
  923. package/src/nile-icon/icons/svg/arrowdropup.ts +1 -1
  924. package/src/nile-icon/icons/svg/attribute.ts +5 -0
  925. package/src/nile-icon/icons/svg/bold.ts +5 -0
  926. package/src/nile-icon/icons/svg/center-align.ts +5 -0
  927. package/src/nile-icon/icons/svg/class.ts +5 -0
  928. package/src/nile-icon/icons/svg/column-add.ts +5 -0
  929. package/src/nile-icon/icons/svg/database.ts +1 -1
  930. package/src/nile-icon/icons/svg/done.ts +1 -1
  931. package/src/nile-icon/icons/svg/dontmap.ts +1 -1
  932. package/src/nile-icon/icons/svg/doublearrowleft.ts +1 -1
  933. package/src/nile-icon/icons/svg/doublearrowright.ts +1 -1
  934. package/src/nile-icon/icons/svg/drag.ts +1 -1
  935. package/src/nile-icon/icons/svg/expand-06.ts +1 -1
  936. package/src/nile-icon/icons/svg/expand.ts +1 -1
  937. package/src/nile-icon/icons/svg/function.ts +5 -0
  938. package/src/nile-icon/icons/svg/index.ts +15 -0
  939. package/src/nile-icon/icons/svg/info.ts +1 -1
  940. package/src/nile-icon/icons/svg/integer.ts +1 -1
  941. package/src/nile-icon/icons/svg/itallic.ts +5 -0
  942. package/src/nile-icon/icons/svg/justify-align.ts +5 -0
  943. package/src/nile-icon/icons/svg/keyword.ts +5 -0
  944. package/src/nile-icon/icons/svg/left-align.ts +5 -0
  945. package/src/nile-icon/icons/svg/ol.ts +5 -0
  946. package/src/nile-icon/icons/svg/pluscircle.ts +1 -1
  947. package/src/nile-icon/icons/svg/question.ts +1 -1
  948. package/src/nile-icon/icons/svg/resource.ts +1 -1
  949. package/src/nile-icon/icons/svg/right-align.ts +5 -0
  950. package/src/nile-icon/icons/svg/savings.ts +5 -0
  951. package/src/nile-icon/icons/svg/sendescalation.ts +1 -1
  952. package/src/nile-icon/icons/svg/sendreminder.ts +1 -1
  953. package/src/nile-icon/icons/svg/timezone.ts +1 -1
  954. package/src/nile-icon/icons/svg/ul.ts +5 -0
  955. package/src/nile-icon/icons/svg/underline.ts +5 -0
  956. package/src/nile-icon/icons/svg/unmute.ts +1 -1
  957. package/src/nile-icon/icons/svg/upgrade.ts +1 -1
  958. package/src/nile-lightdomeditor/index.ts +1 -0
  959. package/src/nile-lightdomeditor/nile-lightdomeditor.css.ts +238 -0
  960. package/src/nile-lightdomeditor/nile-lightdomeditor.ts +523 -0
  961. package/src/nile-menu/nile-menu.css.ts +1 -1
  962. package/src/nile-option/nile-option.ts +9 -1
  963. package/src/nile-pagination/index.ts +1 -0
  964. package/src/nile-pagination/nile-pagination-utils.ts +63 -0
  965. package/src/nile-pagination/nile-pagination.css.ts +252 -0
  966. package/src/nile-pagination/nile-pagination.ts +361 -0
  967. package/src/nile-popup/nile-popup.ts +20 -3
  968. package/src/nile-rich-text-editor/index.ts +1 -0
  969. package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +21 -0
  970. package/src/nile-rich-text-editor/nile-rich-text-editor.ts +606 -0
  971. package/src/nile-rich-text-editor/nile-rte-color.ts +14 -0
  972. package/src/nile-rich-text-editor/nile-rte-divider.ts +9 -0
  973. package/src/nile-rich-text-editor/nile-rte-mentions-item.ts +37 -0
  974. package/src/nile-rich-text-editor/nile-rte-mentions.ts +426 -0
  975. package/src/nile-rich-text-editor/nile-rte-preview.ts +9 -0
  976. package/src/nile-rich-text-editor/nile-rte-select.ts +147 -0
  977. package/src/nile-rich-text-editor/nile-rte-toolbar-item.ts +13 -0
  978. package/src/nile-rich-text-editor/nile-rte-toolbar.ts +9 -0
  979. package/src/nile-rich-text-editor/utils.ts +179 -0
  980. package/src/nile-richcodeeditor/index.ts +1 -0
  981. package/src/nile-richcodeeditor/nile-richcodeeditor.css.ts +19 -0
  982. package/src/nile-richcodeeditor/nile-richcodeeditor.ts +192 -0
  983. package/src/nile-select/nile-select.ts +14 -1
  984. package/src/nile-tab/nile-tab.ts +1 -1
  985. package/vscode-html-custom-data.json +191 -145
  986. package/demo/filenames.txt +0 -1
  987. package/demo/filenames.txt +0 -1
  988. package/dist/aquera-nile-elements-0.1.57-beta-2.0.tgz +0 -0
  989. package/dist/fixture-cb376a7f.cjs.js.map +0 -1
  990. package/dist/nile-slider/index.cjs.js +0 -2
  991. package/dist/nile-slider/index.esm.js +0 -1
  992. package/dist/nile-slider/nile-slider.cjs.js +0 -2
  993. package/dist/nile-slider/nile-slider.cjs.js.map +0 -1
  994. package/dist/nile-slider/nile-slider.css.cjs.js +0 -2
  995. package/dist/nile-slider/nile-slider.css.cjs.js.map +0 -1
  996. package/dist/nile-slider/nile-slider.css.esm.js +0 -106
  997. package/dist/nile-slider/nile-slider.esm.js +0 -27
  998. package/dist/nile-slider/nile-slider.template.cjs.js +0 -2
  999. package/dist/nile-slider/nile-slider.template.cjs.js.map +0 -1
  1000. package/dist/nile-slider/nile-slider.template.esm.js +0 -59
  1001. package/dist/nile-slider/types/nile-slider.enums.cjs.js +0 -2
  1002. package/dist/nile-slider/types/nile-slider.enums.cjs.js.map +0 -1
  1003. package/dist/nile-slider/types/nile-slider.enums.esm.js +0 -1
  1004. package/dist/nile-slider/types/nile-slider.types.cjs.js +0 -2
  1005. package/dist/nile-slider/types/nile-slider.types.cjs.js.map +0 -1
  1006. package/dist/nile-slider/types/nile-slider.types.esm.js +0 -1
  1007. package/dist/nile-slider/utils/nile-slider.utils.cjs.js +0 -2
  1008. package/dist/nile-slider/utils/nile-slider.utils.cjs.js.map +0 -1
  1009. package/dist/nile-slider/utils/nile-slider.utils.esm.js +0 -1
  1010. package/dist/src/internal/resizable-table-helper.d.ts +0 -59
  1011. package/dist/src/internal/resizable-table-helper.js +0 -111
  1012. package/dist/src/internal/resizable-table-helper.js.map +0 -1
  1013. package/dist/src/internal/resizable-table-styles.d.ts +0 -16
  1014. package/dist/src/internal/resizable-table-styles.js +0 -149
  1015. package/dist/src/internal/resizable-table-styles.js.map +0 -1
  1016. package/dist/src/nile-icon/icons/svg/ng-building-01.d.ts +0 -5
  1017. package/dist/src/nile-icon/icons/svg/ng-building-01.js +0 -5
  1018. package/dist/src/nile-icon/icons/svg/ng-building-01.js.map +0 -1
  1019. package/dist/src/nile-icon/icons/svg/ng-building-05.d.ts +0 -5
  1020. package/dist/src/nile-icon/icons/svg/ng-building-05.js +0 -5
  1021. package/dist/src/nile-icon/icons/svg/ng-building-05.js.map +0 -1
  1022. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.d.ts +0 -5
  1023. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js +0 -5
  1024. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js.map +0 -1
  1025. package/dist/src/nile-icon/icons/svg/ng-eye-off.d.ts +0 -5
  1026. package/dist/src/nile-icon/icons/svg/ng-eye-off.js +0 -5
  1027. package/dist/src/nile-icon/icons/svg/ng-eye-off.js.map +0 -1
  1028. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.d.ts +0 -5
  1029. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js +0 -5
  1030. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js.map +0 -1
  1031. package/dist/src/nile-select/virtual-scroll-helper.d.ts +0 -9
  1032. package/dist/src/nile-select/virtual-scroll-helper.js +0 -51
  1033. package/dist/src/nile-select/virtual-scroll-helper.js.map +0 -1
  1034. package/dist/src/nile-slider/index.d.ts +0 -1
  1035. package/dist/src/nile-slider/index.js +0 -2
  1036. package/dist/src/nile-slider/index.js.map +0 -1
  1037. package/dist/src/nile-slider/nile-slider.css.js +0 -118
  1038. package/dist/src/nile-slider/nile-slider.css.js.map +0 -1
  1039. package/dist/src/nile-slider/nile-slider.d.ts +0 -48
  1040. package/dist/src/nile-slider/nile-slider.js +0 -217
  1041. package/dist/src/nile-slider/nile-slider.js.map +0 -1
  1042. package/dist/src/nile-slider/nile-slider.template.d.ts +0 -5
  1043. package/dist/src/nile-slider/nile-slider.template.js +0 -73
  1044. package/dist/src/nile-slider/nile-slider.template.js.map +0 -1
  1045. package/dist/src/nile-slider/types/nile-slider.enums.d.ts +0 -10
  1046. package/dist/src/nile-slider/types/nile-slider.enums.js +0 -2
  1047. package/dist/src/nile-slider/types/nile-slider.enums.js.map +0 -1
  1048. package/dist/src/nile-slider/types/nile-slider.types.d.ts +0 -1
  1049. package/dist/src/nile-slider/types/nile-slider.types.js +0 -2
  1050. package/dist/src/nile-slider/types/nile-slider.types.js.map +0 -1
  1051. package/dist/src/nile-slider/utils/nile-slider.utils.d.ts +0 -11
  1052. package/dist/src/nile-slider/utils/nile-slider.utils.js +0 -99
  1053. package/dist/src/nile-slider/utils/nile-slider.utils.js.map +0 -1
  1054. package/dist/src/nile-virtual-select/index.d.ts +0 -1
  1055. package/dist/src/nile-virtual-select/index.js +0 -2
  1056. package/dist/src/nile-virtual-select/index.js.map +0 -1
  1057. package/dist/src/nile-virtual-select/nile-virtual-select.css.d.ts +0 -12
  1058. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +0 -489
  1059. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +0 -1
  1060. package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +0 -266
  1061. package/dist/src/nile-virtual-select/nile-virtual-select.js +0 -1226
  1062. package/dist/src/nile-virtual-select/nile-virtual-select.js.map +0 -1
  1063. package/dist/src/nile-virtual-select/nile-virtual-select.test.d.ts +0 -7
  1064. package/dist/src/nile-virtual-select/nile-virtual-select.test.js +0 -631
  1065. package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +0 -1
  1066. package/dist/src/nile-virtual-select/renderer.d.ts +0 -16
  1067. package/dist/src/nile-virtual-select/renderer.js +0 -71
  1068. package/dist/src/nile-virtual-select/renderer.js.map +0 -1
  1069. package/dist/src/nile-virtual-select/search-manager.d.ts +0 -12
  1070. package/dist/src/nile-virtual-select/search-manager.js +0 -40
  1071. package/dist/src/nile-virtual-select/search-manager.js.map +0 -1
  1072. package/dist/src/nile-virtual-select/selection-manager.d.ts +0 -12
  1073. package/dist/src/nile-virtual-select/selection-manager.js +0 -64
  1074. package/dist/src/nile-virtual-select/selection-manager.js.map +0 -1
  1075. package/dist/src/nile-virtual-select/types.d.ts +0 -50
  1076. package/dist/src/nile-virtual-select/types.js +0 -8
  1077. package/dist/src/nile-virtual-select/types.js.map +0 -1
  1078. package/src/nile-file-preview/index.ts +0 -1
  1079. package/src/nile-file-preview/nile-file-preview.css.ts +0 -629
  1080. package/src/nile-file-preview/nile-file-preview.template.ts +0 -259
  1081. package/src/nile-file-preview/nile-file-preview.test.ts +0 -38
  1082. package/src/nile-file-preview/nile-file-preview.ts +0 -176
  1083. package/src/nile-file-preview/types/index.ts +0 -2
  1084. package/src/nile-file-preview/types/nile-file-preview.enums.ts +0 -31
  1085. package/src/nile-file-preview/types/nile-file-preview.interface.ts +0 -4
  1086. package/src/nile-file-preview/utils/index.ts +0 -1
  1087. package/src/nile-file-preview/utils/nile-file-preview.util.ts +0 -72
  1088. package/src/nile-file-upload/index.ts +0 -1
  1089. package/src/nile-file-upload/nile-file-upload.css.ts +0 -624
  1090. package/src/nile-file-upload/nile-file-upload.template.ts +0 -192
  1091. package/src/nile-file-upload/nile-file-upload.test.ts +0 -38
  1092. package/src/nile-file-upload/nile-file-upload.ts +0 -157
  1093. package/src/nile-file-upload/types/file-upload.enums.ts +0 -44
  1094. package/src/nile-file-upload/types/file-upload.type.ts +0 -5
  1095. package/src/nile-file-upload/types/index.ts +0 -2
  1096. package/src/nile-file-upload/utils/drag-drop.util.ts +0 -106
  1097. package/src/nile-file-upload/utils/file-validation.util.ts +0 -218
  1098. /package/dist/{nile-slider → nile-lightdomeditor}/index.cjs.js.map +0 -0
@@ -1,2 +1,2 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["../fixture-cb376a7f.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-accordion.cjs.js","../sinon-esm-97570c13.cjs.js","tslib","./nile-accordion.css.cjs.js","../internal/nile-element.cjs.js","../internal/animate.cjs.js","lit/directives/class-map.js","lit/decorators.js","../utilities/animation-registry.cjs.js","../internal/event.cjs.js","../internal/watch.cjs.js"],function(_export,_context){"use strict";var a,e,i,n,o,r,t,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,_templateObject10,_templateObject11,_templateObject12;function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}return{setters:[function(_fixture002CjsJs){a=_fixture002CjsJs.f;e=_fixture002CjsJs.a;i=_fixture002CjsJs.e;n=_fixture002CjsJs.o;},function(_litStaticHtmlJs){o=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileAccordionCjsJs){r=_nileAccordionCjsJs.N;},function(_sinonEsm003CjsJs){t=_sinonEsm003CjsJs.s;},function(_tslib){},function(_nileAccordionCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAnimateCjsJs){},function(_litDirectivesClassMapJs){},function(_litDecoratorsJs){},function(_utilitiesAnimationRegistryCjsJs){},function(_internalEventCjsJs){},function(_internalWatchCjsJs){}],execute:function execute(){describe("NileAccordion",function(){it("should render correctly",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var i;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return a(o(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context2.sent;e(i).to.be.instanceOf(r),e(i.shadowRoot).not.to.be["null"],e(i.summary).to.equal("Test Summary");case 4:case"end":return _context2.stop();}},_callee);}))),it("should initialize closed by default",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _i$shadowRoot;var i,n;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return a(o(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context3.sent;e(i.open).to.be["false"];n=(_i$shadowRoot=i.shadowRoot)===null||_i$shadowRoot===void 0?void 0:_i$shadowRoot.querySelector(".accordian__body");e(n===null||n===void 0?void 0:n.hidden).to.be["true"];case 6:case"end":return _context3.stop();}},_callee2);}))),it("should open when clicked",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _n$shadowRoot,_n$shadowRoot2;var n,r,t;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return a(o(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context4.sent;r=(_n$shadowRoot=n.shadowRoot)===null||_n$shadowRoot===void 0?void 0:_n$shadowRoot.querySelector(".accordian__header");r.click();_context4.next=7;return i(n);case 7:e(n.open).to.be["true"];t=(_n$shadowRoot2=n.shadowRoot)===null||_n$shadowRoot2===void 0?void 0:_n$shadowRoot2.querySelector(".accordian__body");e(t===null||t===void 0?void 0:t.hidden).to.be["false"];case 10:case"end":return _context4.stop();}},_callee3);}))),it('should emit "nile-show" and "nile-after-show" when opened',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _i$shadowRoot2;var i,r,c;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return a(o(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context5.sent;r=t.spy(i,"emit");c=(_i$shadowRoot2=i.shadowRoot)===null||_i$shadowRoot2===void 0?void 0:_i$shadowRoot2.querySelector(".accordian__header");setTimeout(function(){return c.click();});_context5.next=8;return n(i,"nile-after-show");case 8:e(r.calledWith("nile-show")).to.be["true"];e(r.calledWith("nile-after-show")).to.be["true"];case 10:case"end":return _context5.stop();}},_callee4);}))),it('should emit "nile-hide" and "nile-after-hide" when closed',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _i$shadowRoot3;var i,r,c;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return a(o(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" open></nile-accordion>"]))));case 2:i=_context6.sent;r=t.spy(i,"emit");c=(_i$shadowRoot3=i.shadowRoot)===null||_i$shadowRoot3===void 0?void 0:_i$shadowRoot3.querySelector(".accordian__header");setTimeout(function(){return c.click();});_context6.next=8;return n(i,"nile-after-hide");case 8:e(r.calledWith("nile-hide")).to.be["true"];e(r.calledWith("nile-after-hide")).to.be["true"];case 10:case"end":return _context6.stop();}},_callee5);}))),it('should be disabled when the "disabled" property is set',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var _n$shadowRoot3;var n,r;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return a(o(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" disabled></nile-accordion>"]))));case 2:n=_context7.sent;r=(_n$shadowRoot3=n.shadowRoot)===null||_n$shadowRoot3===void 0?void 0:_n$shadowRoot3.querySelector(".accordian__header");r.click();_context7.next=7;return i(n);case 7:e(n.open).to.be["false"];case 8:case"end":return _context7.stop();}},_callee6);}))),it("should handle keyboard interaction (Enter and Space)",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _n$shadowRoot4;var n,r,t,c;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return a(o(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context8.sent;r=(_n$shadowRoot4=n.shadowRoot)===null||_n$shadowRoot4===void 0?void 0:_n$shadowRoot4.querySelector(".accordian__header");t=new KeyboardEvent("keydown",{key:"Enter"});r.dispatchEvent(t);_context8.next=8;return i(n);case 8:e(n.open).to.be["true"];c=new KeyboardEvent("keydown",{key:" "});r.dispatchEvent(c);_context8.next=13;return i(n);case 13:e(n.open).to.be["false"];case 14:case"end":return _context8.stop();}},_callee7);}))),it("should handle ArrowUp/ArrowLeft to close and ArrowDown/ArrowRight to open",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var _n$shadowRoot5;var n,r,t,c;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return a(o(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context9.sent;r=(_n$shadowRoot5=n.shadowRoot)===null||_n$shadowRoot5===void 0?void 0:_n$shadowRoot5.querySelector(".accordian__header");t=new KeyboardEvent("keydown",{key:"ArrowDown"});r.dispatchEvent(t);_context9.next=8;return i(n);case 8:e(n.open).to.be["true"];c=new KeyboardEvent("keydown",{key:"ArrowUp"});r.dispatchEvent(c);_context9.next=13;return i(n);case 13:e(n.open).to.be["false"];case 14:case"end":return _context9.stop();}},_callee8);}))),it('should apply the "variant" class based on the variant property',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(){var _i$shadowRoot4;var i,n;return _regeneratorRuntime().wrap(function _callee9$(_context10){while(1)switch(_context10.prev=_context10.next){case 0:_context10.next=2;return a(o(_templateObject9||(_templateObject9=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" variant=\"dark\"></nile-accordion>"]))));case 2:i=_context10.sent;n=(_i$shadowRoot4=i.shadowRoot)===null||_i$shadowRoot4===void 0?void 0:_i$shadowRoot4.querySelector(".accordian__header");e(n).to.have["class"]("accordian__header--dark");case 5:case"end":return _context10.stop();}},_callee9);}))),it("should apply the correct size class based on the size property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(){var _i$shadowRoot5;var i,n;return _regeneratorRuntime().wrap(function _callee10$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:_context11.next=2;return a(o(_templateObject10||(_templateObject10=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" size=\"lg\"></nile-accordion>"]))));case 2:i=_context11.sent;n=(_i$shadowRoot5=i.shadowRoot)===null||_i$shadowRoot5===void 0?void 0:_i$shadowRoot5.querySelector(".accordian");e(n).to.have["class"]("accordian--lg");case 5:case"end":return _context11.stop();}},_callee10);}))),it("should apply the correct expand icon placement class based on the expandIconPlacement property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(){var _i$shadowRoot6;var i,n;return _regeneratorRuntime().wrap(function _callee11$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:_context12.next=2;return a(o(_templateObject11||(_templateObject11=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" expandIconPlacement=\"left\"></nile-accordion>"]))));case 2:i=_context12.sent;n=(_i$shadowRoot6=i.shadowRoot)===null||_i$shadowRoot6===void 0?void 0:_i$shadowRoot6.querySelector(".accordian__header");e(n).to.have["class"]("accordian__header--arrow-left");case 5:case"end":return _context12.stop();}},_callee11);}))),it("should animate when opening and closing",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(){var _n$shadowRoot6;var n,r,c;return _regeneratorRuntime().wrap(function _callee12$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:_context13.next=2;return a(o(_templateObject12||(_templateObject12=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context13.sent;r=t.spy(n,"handleOpenChange");c=(_n$shadowRoot6=n.shadowRoot)===null||_n$shadowRoot6===void 0?void 0:_n$shadowRoot6.querySelector(".accordian__header");c.click();_context13.next=8;return i(n);case 8:e(r.called).to.be["true"];c.click();_context13.next=12;return i(n);case 12:e(r.calledTwice).to.be["true"];case 13:case"end":return _context13.stop();}},_callee12);})));});}};});
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["../fixture-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-accordion.cjs.js","../sinon-esm-97570c13.cjs.js","tslib","./nile-accordion.css.cjs.js","../internal/nile-element.cjs.js","../internal/animate.cjs.js","lit/directives/class-map.js","lit/decorators.js","../utilities/animation-registry.cjs.js","../internal/event.cjs.js","../internal/watch.cjs.js"],function(_export,_context){"use strict";var a,e,i,n,o,r,t,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,_templateObject10,_templateObject11,_templateObject12;function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}return{setters:[function(_fixture001CjsJs){a=_fixture001CjsJs.f;e=_fixture001CjsJs.a;i=_fixture001CjsJs.e;n=_fixture001CjsJs.o;},function(_litStaticHtmlJs){o=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileAccordionCjsJs){r=_nileAccordionCjsJs.N;},function(_sinonEsm002CjsJs){t=_sinonEsm002CjsJs.s;},function(_tslib){},function(_nileAccordionCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAnimateCjsJs){},function(_litDirectivesClassMapJs){},function(_litDecoratorsJs){},function(_utilitiesAnimationRegistryCjsJs){},function(_internalEventCjsJs){},function(_internalWatchCjsJs){}],execute:function execute(){describe("NileAccordion",function(){it("should render correctly",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var i;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return a(o(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context2.sent;e(i).to.be.instanceOf(r),e(i.shadowRoot).not.to.be["null"],e(i.summary).to.equal("Test Summary");case 4:case"end":return _context2.stop();}},_callee);}))),it("should initialize closed by default",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _i$shadowRoot;var i,n;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return a(o(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context3.sent;e(i.open).to.be["false"];n=(_i$shadowRoot=i.shadowRoot)===null||_i$shadowRoot===void 0?void 0:_i$shadowRoot.querySelector(".accordian__body");e(n===null||n===void 0?void 0:n.hidden).to.be["true"];case 6:case"end":return _context3.stop();}},_callee2);}))),it("should open when clicked",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _n$shadowRoot,_n$shadowRoot2;var n,r,t;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return a(o(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context4.sent;r=(_n$shadowRoot=n.shadowRoot)===null||_n$shadowRoot===void 0?void 0:_n$shadowRoot.querySelector(".accordian__header");r.click();_context4.next=7;return i(n);case 7:e(n.open).to.be["true"];t=(_n$shadowRoot2=n.shadowRoot)===null||_n$shadowRoot2===void 0?void 0:_n$shadowRoot2.querySelector(".accordian__body");e(t===null||t===void 0?void 0:t.hidden).to.be["false"];case 10:case"end":return _context4.stop();}},_callee3);}))),it('should emit "nile-show" and "nile-after-show" when opened',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _i$shadowRoot2;var i,r,c;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return a(o(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:i=_context5.sent;r=t.spy(i,"emit");c=(_i$shadowRoot2=i.shadowRoot)===null||_i$shadowRoot2===void 0?void 0:_i$shadowRoot2.querySelector(".accordian__header");setTimeout(function(){return c.click();});_context5.next=8;return n(i,"nile-after-show");case 8:e(r.calledWith("nile-show")).to.be["true"];e(r.calledWith("nile-after-show")).to.be["true"];case 10:case"end":return _context5.stop();}},_callee4);}))),it('should emit "nile-hide" and "nile-after-hide" when closed',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _i$shadowRoot3;var i,r,c;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return a(o(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" open></nile-accordion>"]))));case 2:i=_context6.sent;r=t.spy(i,"emit");c=(_i$shadowRoot3=i.shadowRoot)===null||_i$shadowRoot3===void 0?void 0:_i$shadowRoot3.querySelector(".accordian__header");setTimeout(function(){return c.click();});_context6.next=8;return n(i,"nile-after-hide");case 8:e(r.calledWith("nile-hide")).to.be["true"];e(r.calledWith("nile-after-hide")).to.be["true"];case 10:case"end":return _context6.stop();}},_callee5);}))),it('should be disabled when the "disabled" property is set',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var _n$shadowRoot3;var n,r;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return a(o(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" disabled></nile-accordion>"]))));case 2:n=_context7.sent;r=(_n$shadowRoot3=n.shadowRoot)===null||_n$shadowRoot3===void 0?void 0:_n$shadowRoot3.querySelector(".accordian__header");r.click();_context7.next=7;return i(n);case 7:e(n.open).to.be["false"];case 8:case"end":return _context7.stop();}},_callee6);}))),it("should handle keyboard interaction (Enter and Space)",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _n$shadowRoot4;var n,r,t,c;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return a(o(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context8.sent;r=(_n$shadowRoot4=n.shadowRoot)===null||_n$shadowRoot4===void 0?void 0:_n$shadowRoot4.querySelector(".accordian__header");t=new KeyboardEvent("keydown",{key:"Enter"});r.dispatchEvent(t);_context8.next=8;return i(n);case 8:e(n.open).to.be["true"];c=new KeyboardEvent("keydown",{key:" "});r.dispatchEvent(c);_context8.next=13;return i(n);case 13:e(n.open).to.be["false"];case 14:case"end":return _context8.stop();}},_callee7);}))),it("should handle ArrowUp/ArrowLeft to close and ArrowDown/ArrowRight to open",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var _n$shadowRoot5;var n,r,t,c;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return a(o(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context9.sent;r=(_n$shadowRoot5=n.shadowRoot)===null||_n$shadowRoot5===void 0?void 0:_n$shadowRoot5.querySelector(".accordian__header");t=new KeyboardEvent("keydown",{key:"ArrowDown"});r.dispatchEvent(t);_context9.next=8;return i(n);case 8:e(n.open).to.be["true"];c=new KeyboardEvent("keydown",{key:"ArrowUp"});r.dispatchEvent(c);_context9.next=13;return i(n);case 13:e(n.open).to.be["false"];case 14:case"end":return _context9.stop();}},_callee8);}))),it('should apply the "variant" class based on the variant property',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(){var _i$shadowRoot4;var i,n;return _regeneratorRuntime().wrap(function _callee9$(_context10){while(1)switch(_context10.prev=_context10.next){case 0:_context10.next=2;return a(o(_templateObject9||(_templateObject9=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" variant=\"dark\"></nile-accordion>"]))));case 2:i=_context10.sent;n=(_i$shadowRoot4=i.shadowRoot)===null||_i$shadowRoot4===void 0?void 0:_i$shadowRoot4.querySelector(".accordian__header");e(n).to.have["class"]("accordian__header--dark");case 5:case"end":return _context10.stop();}},_callee9);}))),it("should apply the correct size class based on the size property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(){var _i$shadowRoot5;var i,n;return _regeneratorRuntime().wrap(function _callee10$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:_context11.next=2;return a(o(_templateObject10||(_templateObject10=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" size=\"lg\"></nile-accordion>"]))));case 2:i=_context11.sent;n=(_i$shadowRoot5=i.shadowRoot)===null||_i$shadowRoot5===void 0?void 0:_i$shadowRoot5.querySelector(".accordian");e(n).to.have["class"]("accordian--lg");case 5:case"end":return _context11.stop();}},_callee10);}))),it("should apply the correct expand icon placement class based on the expandIconPlacement property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(){var _i$shadowRoot6;var i,n;return _regeneratorRuntime().wrap(function _callee11$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:_context12.next=2;return a(o(_templateObject11||(_templateObject11=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\" expandIconPlacement=\"left\"></nile-accordion>"]))));case 2:i=_context12.sent;n=(_i$shadowRoot6=i.shadowRoot)===null||_i$shadowRoot6===void 0?void 0:_i$shadowRoot6.querySelector(".accordian__header");e(n).to.have["class"]("accordian__header--arrow-left");case 5:case"end":return _context12.stop();}},_callee11);}))),it("should animate when opening and closing",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(){var _n$shadowRoot6;var n,r,c;return _regeneratorRuntime().wrap(function _callee12$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:_context13.next=2;return a(o(_templateObject12||(_templateObject12=_taggedTemplateLiteral(["<nile-accordion summary=\"Test Summary\"></nile-accordion>"]))));case 2:n=_context13.sent;r=t.spy(n,"handleOpenChange");c=(_n$shadowRoot6=n.shadowRoot)===null||_n$shadowRoot6===void 0?void 0:_n$shadowRoot6.querySelector(".accordian__header");c.click();_context13.next=8;return i(n);case 8:e(r.called).to.be["true"];c.click();_context13.next=12;return i(n);case 12:e(r.calledTwice).to.be["true"];case 13:case"end":return _context13.stop();}},_callee12);})));});}};});
2
2
  //# sourceMappingURL=nile-accordian.test.cjs.js.map
@@ -1 +1 @@
1
- import{f as a,a as e,e as i,o as n}from"../fixture-add72f26.esm.js";import{html as o}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import{N as r}from"./nile-accordion.esm.js";import{s as t}from"../sinon-esm-68c8e378.esm.js";import"tslib";import"./nile-accordion.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/animate.esm.js";import"lit/directives/class-map.js";import"lit/decorators.js";import"../utilities/animation-registry.esm.js";import"../internal/event.esm.js";import"../internal/watch.esm.js";describe("NileAccordion",(()=>{it("should render correctly",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`);e(i).to.be.instanceOf(r),e(i.shadowRoot).not.to.be.null,e(i.summary).to.equal("Test Summary")})),it("should initialize closed by default",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`);e(i.open).to.be.false;const n=i.shadowRoot?.querySelector(".accordian__body");e(n?.hidden).to.be.true})),it("should open when clicked",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header");r.click(),await i(n),e(n.open).to.be.true;const t=n.shadowRoot?.querySelector(".accordian__body");e(t?.hidden).to.be.false})),it('should emit "nile-show" and "nile-after-show" when opened',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=t.spy(i,"emit"),c=i.shadowRoot?.querySelector(".accordian__header");setTimeout((()=>c.click())),await n(i,"nile-after-show"),e(r.calledWith("nile-show")).to.be.true,e(r.calledWith("nile-after-show")).to.be.true})),it('should emit "nile-hide" and "nile-after-hide" when closed',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" open></nile-accordion>`),r=t.spy(i,"emit"),c=i.shadowRoot?.querySelector(".accordian__header");setTimeout((()=>c.click())),await n(i,"nile-after-hide"),e(r.calledWith("nile-hide")).to.be.true,e(r.calledWith("nile-after-hide")).to.be.true})),it('should be disabled when the "disabled" property is set',(async()=>{const n=await a(o`<nile-accordion summary="Test Summary" disabled></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header");r.click(),await i(n),e(n.open).to.be.false})),it("should handle keyboard interaction (Enter and Space)",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header"),t=new KeyboardEvent("keydown",{key:"Enter"});r.dispatchEvent(t),await i(n),e(n.open).to.be.true;const c=new KeyboardEvent("keydown",{key:" "});r.dispatchEvent(c),await i(n),e(n.open).to.be.false})),it("should handle ArrowUp/ArrowLeft to close and ArrowDown/ArrowRight to open",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header"),t=new KeyboardEvent("keydown",{key:"ArrowDown"});r.dispatchEvent(t),await i(n),e(n.open).to.be.true;const c=new KeyboardEvent("keydown",{key:"ArrowUp"});r.dispatchEvent(c),await i(n),e(n.open).to.be.false})),it('should apply the "variant" class based on the variant property',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" variant="dark"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian__header");e(n).to.have.class("accordian__header--dark")})),it("should apply the correct size class based on the size property",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" size="lg"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian");e(n).to.have.class("accordian--lg")})),it("should apply the correct expand icon placement class based on the expandIconPlacement property",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" expandIconPlacement="left"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian__header");e(n).to.have.class("accordian__header--arrow-left")})),it("should animate when opening and closing",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=t.spy(n,"handleOpenChange"),c=n.shadowRoot?.querySelector(".accordian__header");c.click(),await i(n),e(r.called).to.be.true,c.click(),await i(n),e(r.calledTwice).to.be.true}))}));
1
+ import{f as a,a as e,e as i,o as n}from"../fixture-588a3119.esm.js";import{html as o}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import{N as r}from"./nile-accordion.esm.js";import{s as t}from"../sinon-esm-68c8e378.esm.js";import"tslib";import"./nile-accordion.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/animate.esm.js";import"lit/directives/class-map.js";import"lit/decorators.js";import"../utilities/animation-registry.esm.js";import"../internal/event.esm.js";import"../internal/watch.esm.js";describe("NileAccordion",(()=>{it("should render correctly",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`);e(i).to.be.instanceOf(r),e(i.shadowRoot).not.to.be.null,e(i.summary).to.equal("Test Summary")})),it("should initialize closed by default",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`);e(i.open).to.be.false;const n=i.shadowRoot?.querySelector(".accordian__body");e(n?.hidden).to.be.true})),it("should open when clicked",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header");r.click(),await i(n),e(n.open).to.be.true;const t=n.shadowRoot?.querySelector(".accordian__body");e(t?.hidden).to.be.false})),it('should emit "nile-show" and "nile-after-show" when opened',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=t.spy(i,"emit"),c=i.shadowRoot?.querySelector(".accordian__header");setTimeout((()=>c.click())),await n(i,"nile-after-show"),e(r.calledWith("nile-show")).to.be.true,e(r.calledWith("nile-after-show")).to.be.true})),it('should emit "nile-hide" and "nile-after-hide" when closed',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" open></nile-accordion>`),r=t.spy(i,"emit"),c=i.shadowRoot?.querySelector(".accordian__header");setTimeout((()=>c.click())),await n(i,"nile-after-hide"),e(r.calledWith("nile-hide")).to.be.true,e(r.calledWith("nile-after-hide")).to.be.true})),it('should be disabled when the "disabled" property is set',(async()=>{const n=await a(o`<nile-accordion summary="Test Summary" disabled></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header");r.click(),await i(n),e(n.open).to.be.false})),it("should handle keyboard interaction (Enter and Space)",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header"),t=new KeyboardEvent("keydown",{key:"Enter"});r.dispatchEvent(t),await i(n),e(n.open).to.be.true;const c=new KeyboardEvent("keydown",{key:" "});r.dispatchEvent(c),await i(n),e(n.open).to.be.false})),it("should handle ArrowUp/ArrowLeft to close and ArrowDown/ArrowRight to open",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=n.shadowRoot?.querySelector(".accordian__header"),t=new KeyboardEvent("keydown",{key:"ArrowDown"});r.dispatchEvent(t),await i(n),e(n.open).to.be.true;const c=new KeyboardEvent("keydown",{key:"ArrowUp"});r.dispatchEvent(c),await i(n),e(n.open).to.be.false})),it('should apply the "variant" class based on the variant property',(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" variant="dark"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian__header");e(n).to.have.class("accordian__header--dark")})),it("should apply the correct size class based on the size property",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" size="lg"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian");e(n).to.have.class("accordian--lg")})),it("should apply the correct expand icon placement class based on the expandIconPlacement property",(async()=>{const i=await a(o`<nile-accordion summary="Test Summary" expandIconPlacement="left"></nile-accordion>`),n=i.shadowRoot?.querySelector(".accordian__header");e(n).to.have.class("accordian__header--arrow-left")})),it("should animate when opening and closing",(async()=>{const n=await a(o`<nile-accordion summary="Test Summary"></nile-accordion>`),r=t.spy(n,"handleOpenChange"),c=n.shadowRoot?.querySelector(".accordian__header");c.click(),await i(n),e(r.called).to.be.true,c.click(),await i(n),e(r.calledTwice).to.be.true}))}));
@@ -1,2 +1,2 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["../fixture-cb376a7f.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-auto-complete.cjs.js","tslib","lit/decorators.js","./nile-auto-complete.css.cjs.js","../internal/nile-element.cjs.js","lit/directive.js","lit/async-directive.js","lit/directives/repeat.js"],function(_export,_context){"use strict";var e,t,i,o,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7;function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}return{setters:[function(_fixture002CjsJs){e=_fixture002CjsJs.f;t=_fixture002CjsJs.a;i=_fixture002CjsJs.e;},function(_litStaticHtmlJs){o=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileAutoCompleteCjsJs){l=_nileAutoCompleteCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_nileAutoCompleteCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectiveJs){},function(_litAsyncDirectiveJs){},function(_litDirectivesRepeatJs){}],execute:function execute(){describe("NileAutoComplete",function(){it("should render correctly",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var i;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(o(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-auto-complete></nile-auto-complete>"]))));case 2:i=_context2.sent;t(i).to.be.instanceOf(l),t(i.shadowRoot).not.to.be["null"];case 4:case"end":return _context2.stop();}},_callee);}))),it("should have an empty value and dropdown closed by default",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var i;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(o(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-auto-complete></nile-auto-complete>"]))));case 2:i=_context3.sent;t(i.value).to.equal(""),t(i.isDropdownOpen).to.be["false"];case 4:case"end":return _context3.stop();}},_callee2);}))),it("should close the dropdown if no items match the search",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _l$shadowRoot;var l,a;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(o(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-auto-complete .allMenuItems=","></nile-auto-complete>\n "])),["Apple","Banana","Cherry"]));case 2:l=_context4.sent;a=(_l$shadowRoot=l.shadowRoot)===null||_l$shadowRoot===void 0?void 0:_l$shadowRoot.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"Orange"}}));_context4.next=7;return i(l);case 7:t(l.menuItems).to.deep.equal([]);t(l.isDropdownOpen).to.be["false"];case 9:case"end":return _context4.stop();}},_callee3);}))),it("should apply the placeholder text to the input",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _i$shadowRoot;var i,l;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return e(o(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <nile-auto-complete placeholder=\"Search items...\"></nile-auto-complete>\n "]))));case 2:i=_context5.sent;l=(_i$shadowRoot=i.shadowRoot)===null||_i$shadowRoot===void 0?void 0:_i$shadowRoot.querySelector("nile-input");t(l===null||l===void 0?void 0:l.getAttribute("placeholder")).to.equal("Search items...");case 5:case"end":return _context5.stop();}},_callee4);}))),it("should toggle border visibility based on the noBorder property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _l$shadowRoot2;var l,a;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return e(o(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <nile-auto-complete noBorder></nile-auto-complete>\n "]))));case 2:l=_context6.sent;a=(_l$shadowRoot2=l.shadowRoot)===null||_l$shadowRoot2===void 0?void 0:_l$shadowRoot2.querySelector("nile-input");t(a===null||a===void 0?void 0:a.hasAttribute("no-border")).to.be["true"];l.noBorder=!1;_context6.next=8;return i(l);case 8:t(a===null||a===void 0?void 0:a.hasAttribute("no-border")).to.be["false"];case 9:case"end":return _context6.stop();}},_callee5);}))),it("should handle an empty list of menu items",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var _l$shadowRoot3;var l,a;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return e(o(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-auto-complete .allMenuItems=","></nile-auto-complete>"])),[]));case 2:l=_context7.sent;a=(_l$shadowRoot3=l.shadowRoot)===null||_l$shadowRoot3===void 0?void 0:_l$shadowRoot3.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"test"}}));_context7.next=7;return i(l);case 7:t(l.menuItems.length).to.equal(0);t(l.isDropdownOpen).to.be["false"];case 9:case"end":return _context7.stop();}},_callee6);}))),it("should hide the dropdown when no results are found",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _l$shadowRoot4;var l,a;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return e(o(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <nile-auto-complete .allMenuItems=","></nile-auto-complete>\n "])),["Apple","Banana","Cherry"]));case 2:l=_context8.sent;a=(_l$shadowRoot4=l.shadowRoot)===null||_l$shadowRoot4===void 0?void 0:_l$shadowRoot4.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"NonMatchingValue"}}));_context8.next=7;return i(l);case 7:t(l.isDropdownOpen).to.be["false"];t(l.menuItems.length).to.equal(0);case 9:case"end":return _context8.stop();}},_callee7);})));});}};});
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["../fixture-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-auto-complete.cjs.js","tslib","lit/decorators.js","./nile-auto-complete.css.cjs.js","../internal/nile-element.cjs.js","lit/directive.js","lit/async-directive.js","lit/directives/repeat.js"],function(_export,_context){"use strict";var e,t,i,o,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7;function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}return{setters:[function(_fixture001CjsJs){e=_fixture001CjsJs.f;t=_fixture001CjsJs.a;i=_fixture001CjsJs.e;},function(_litStaticHtmlJs){o=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileAutoCompleteCjsJs){l=_nileAutoCompleteCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_nileAutoCompleteCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectiveJs){},function(_litAsyncDirectiveJs){},function(_litDirectivesRepeatJs){}],execute:function execute(){describe("NileAutoComplete",function(){it("should render correctly",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var i;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(o(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-auto-complete></nile-auto-complete>"]))));case 2:i=_context2.sent;t(i).to.be.instanceOf(l),t(i.shadowRoot).not.to.be["null"];case 4:case"end":return _context2.stop();}},_callee);}))),it("should have an empty value and dropdown closed by default",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var i;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(o(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-auto-complete></nile-auto-complete>"]))));case 2:i=_context3.sent;t(i.value).to.equal(""),t(i.isDropdownOpen).to.be["false"];case 4:case"end":return _context3.stop();}},_callee2);}))),it("should close the dropdown if no items match the search",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _l$shadowRoot;var l,a;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(o(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-auto-complete .allMenuItems=","></nile-auto-complete>\n "])),["Apple","Banana","Cherry"]));case 2:l=_context4.sent;a=(_l$shadowRoot=l.shadowRoot)===null||_l$shadowRoot===void 0?void 0:_l$shadowRoot.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"Orange"}}));_context4.next=7;return i(l);case 7:t(l.menuItems).to.deep.equal([]);t(l.isDropdownOpen).to.be["false"];case 9:case"end":return _context4.stop();}},_callee3);}))),it("should apply the placeholder text to the input",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _i$shadowRoot;var i,l;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return e(o(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <nile-auto-complete placeholder=\"Search items...\"></nile-auto-complete>\n "]))));case 2:i=_context5.sent;l=(_i$shadowRoot=i.shadowRoot)===null||_i$shadowRoot===void 0?void 0:_i$shadowRoot.querySelector("nile-input");t(l===null||l===void 0?void 0:l.getAttribute("placeholder")).to.equal("Search items...");case 5:case"end":return _context5.stop();}},_callee4);}))),it("should toggle border visibility based on the noBorder property",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _l$shadowRoot2;var l,a;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return e(o(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <nile-auto-complete noBorder></nile-auto-complete>\n "]))));case 2:l=_context6.sent;a=(_l$shadowRoot2=l.shadowRoot)===null||_l$shadowRoot2===void 0?void 0:_l$shadowRoot2.querySelector("nile-input");t(a===null||a===void 0?void 0:a.hasAttribute("no-border")).to.be["true"];l.noBorder=!1;_context6.next=8;return i(l);case 8:t(a===null||a===void 0?void 0:a.hasAttribute("no-border")).to.be["false"];case 9:case"end":return _context6.stop();}},_callee5);}))),it("should handle an empty list of menu items",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var _l$shadowRoot3;var l,a;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return e(o(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-auto-complete .allMenuItems=","></nile-auto-complete>"])),[]));case 2:l=_context7.sent;a=(_l$shadowRoot3=l.shadowRoot)===null||_l$shadowRoot3===void 0?void 0:_l$shadowRoot3.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"test"}}));_context7.next=7;return i(l);case 7:t(l.menuItems.length).to.equal(0);t(l.isDropdownOpen).to.be["false"];case 9:case"end":return _context7.stop();}},_callee6);}))),it("should hide the dropdown when no results are found",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _l$shadowRoot4;var l,a;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return e(o(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <nile-auto-complete .allMenuItems=","></nile-auto-complete>\n "])),["Apple","Banana","Cherry"]));case 2:l=_context8.sent;a=(_l$shadowRoot4=l.shadowRoot)===null||_l$shadowRoot4===void 0?void 0:_l$shadowRoot4.querySelector("nile-input");a!==null&&a!==void 0&&a.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"NonMatchingValue"}}));_context8.next=7;return i(l);case 7:t(l.isDropdownOpen).to.be["false"];t(l.menuItems.length).to.equal(0);case 9:case"end":return _context8.stop();}},_callee7);})));});}};});
2
2
  //# sourceMappingURL=nile-auto-complete.test.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-auto-complete.test.cjs.js","sources":["../../../src/nile-auto-complete/nile-auto-complete.test.ts"],"sourcesContent":["import { fixture, html, expect, oneEvent, elementUpdated } from '@open-wc/testing';\nimport './nile-auto-complete';\nimport { NileAutoComplete } from './nile-auto-complete';\n\nconst wait=(ms:number=50000)=>new Promise(resolve => setTimeout(resolve, ms))\n\ndescribe('NileAutoComplete', () => {\n it('should render correctly', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete></nile-auto-complete>`);\n expect(el).to.be.instanceOf(NileAutoComplete);\n expect(el.shadowRoot).not.to.be.null;\n });\n\n it('should have an empty value and dropdown closed by default', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete></nile-auto-complete>`);\n expect(el.value).to.equal('');\n expect(el.isDropdownOpen).to.be.false;\n });\n\n // it('should open the dropdown when input is focused and openOnFocus is true', async () => {\n // const el = await fixture<NileAutoComplete>(html`<nile-auto-complete openOnFocus></nile-auto-complete>`);\n\n // // Focus the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new Event('focus'));\n\t// \tawait wait()\n // await elementUpdated(el);\n\n // expect(el.isDropdownOpen).to.be.true;\n // });\n\n // it('should filter menu items based on the input value', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Ap' } }));\n // await elementUpdated(el);\n\n // expect(el.menuItems).to.deep.equal(['Apple']);\n // });\n\n it('should close the dropdown if no items match the search', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n `);\n\n // Simulate typing in the input with a non-matching value\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Orange' } }));\n await elementUpdated(el);\n\n expect(el.menuItems).to.deep.equal([]);\n expect(el.isDropdownOpen).to.be.false;\n });\n\n // it('should select an item from the menu', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Ban' } }));\n // await elementUpdated(el);\n\n // const menuItem = el.shadowRoot?.querySelector('nile-menu-item[value=\"Banana\"]');\n // expect(menuItem).to.exist;\n\n // // Select the menu item\n // const selectEvent = new CustomEvent('nile-select', { detail: { value: 'Banana' } });\n // menuItem?.dispatchEvent(selectEvent);\n // await elementUpdated(el);\n\n // expect(el.value).to.equal('Banana');\n // expect(el.isDropdownOpen).to.be.false;\n // });\n\n // it('should emit nile-complete event when an item is selected', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'App' } }));\n // await elementUpdated(el);\n\n // // Wait for the selection event\n // const selectEvent = oneEvent(el, 'nile-complete');\n\n // // Select an item\n // const menuItem = el.shadowRoot?.querySelector('nile-menu-item[value=\"Apple\"]');\n // const event = new CustomEvent('nile-select', { detail: { value: 'Apple' } });\n // menuItem?.dispatchEvent(event);\n\n // const { detail } = await selectEvent;\n // expect(detail.value).to.equal('Apple');\n // });\n\n it('should apply the placeholder text to the input', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete placeholder=\"Search items...\"></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n expect(input?.getAttribute('placeholder')).to.equal('Search items...');\n });\n\n it('should toggle border visibility based on the noBorder property', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete noBorder></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n expect(input?.hasAttribute('no-border')).to.be.true;\n\n el.noBorder = false;\n await elementUpdated(el);\n\n expect(input?.hasAttribute('no-border')).to.be.false;\n });\n\n it('should handle an empty list of menu items', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete .allMenuItems=${[]}></nile-auto-complete>`);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'test' } }));\n await elementUpdated(el);\n\n expect(el.menuItems.length).to.equal(0);\n expect(el.isDropdownOpen).to.be.false;\n });\n\n it('should hide the dropdown when no results are found', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'NonMatchingValue' } }));\n await elementUpdated(el);\n\n expect(el.isDropdownOpen).to.be.false;\n expect(el.menuItems.length).to.equal(0);\n });\n});\n"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","_catch","delegateYield","_taggedTemplateLiteral","freeze","defineProperties","raw","asyncGeneratorStep","_asyncToGenerator","arguments","apply","_next","_throw","setters","_fixture002CjsJs","describe","it","fixture","html","_templateObject","expect","el","to","be","instanceOf","NileAutoComplete","shadowRoot","not","_context2","_callee","_templateObject2","equal","isDropdownOpen","_context3","_callee2","_templateObject3","input","querySelector","dispatchEvent","CustomEvent","detail","elementUpdated","menuItems","deep","_context4","_callee3","_templateObject4","getAttribute","_context5","_callee4","_templateObject5","hasAttribute","true","noBorder","_context6","_callee5","_templateObject6","_context7","_callee6","_templateObject7","_context8","false","_callee7"],"mappings":"q0BA8C0C,oJAAAA,mBAAA,UAAAA,oBAAA,SAAAC,CAAA,OAAAC,CAAA,CAAAD,CAAA,IAAAE,CAAA,CAAAC,MAAA,CAAAC,SAAA,CAAAC,CAAA,CAAAH,CAAA,CAAAI,cAAA,CAAAC,CAAA,CAAAJ,MAAA,CAAAK,cAAA,WAAAP,CAAA,CAAAD,CAAA,CAAAE,CAAA,EAAAD,CAAA,CAAAD,CAAA,EAAAE,CAAA,CAAAO,KAAA,GAAAC,CAAA,oBAAAC,MAAA,CAAAA,MAAA,IAAAC,CAAA,CAAAF,CAAA,CAAAG,QAAA,eAAAC,CAAA,CAAAJ,CAAA,CAAAK,aAAA,oBAAAC,CAAA,CAAAN,CAAA,CAAAO,WAAA,2BAAAC,OAAAjB,CAAA,CAAAD,CAAA,CAAAE,CAAA,SAAAC,MAAA,CAAAK,cAAA,CAAAP,CAAA,CAAAD,CAAA,EAAAS,KAAA,CAAAP,CAAA,CAAAiB,UAAA,IAAAC,YAAA,IAAAC,QAAA,MAAApB,CAAA,CAAAD,CAAA,OAAAkB,MAAA,eAAAjB,CAAA,EAAAiB,MAAA,UAAAA,OAAAjB,CAAA,CAAAD,CAAA,CAAAE,CAAA,SAAAD,CAAA,CAAAD,CAAA,EAA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AAA,iBAAHL,cAAAA,CAAegB,aAAc,CAAA,YAAA,CAAA,CAC3CD,CAAOE,SAAPF,CAAOE,WAAPF,CAAOE,CAAAA,aAAAA,CAAc,GAAIC,CAAAA,WAAAA,CAAY,YAAc,CAAA,CAAEC,MAAQ,CAAA,CAAElI,KAAO,CAAA,kBAAA,CAAA,CAAA,CAAA,CAAA,CAAAsJ,SAAA,CAAA9F,IAAA,SAChE2E,CAAAA,CAAepB,CAAAA,CAAAA,CAAAA,QAErBD,CAAOC,CAAAA,CAAAA,CAAGW,cAAgBV,CAAAA,CAAAA,EAAAA,CAAGC,EAAGsC,SAAAA,CAChCzC,CAAOC,CAAAA,CAAAA,CAAGqB,SAAU/D,CAAAA,MAAAA,CAAAA,CAAQ2C,EAAGS,CAAAA,KAAAA,CAAM,EAAE,yBAAA6B,SAAA,CAAAhE,IAAA,MAAAkE,QAAA,GACvC,EAAA,CAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"nile-auto-complete.test.cjs.js","sources":["../../../src/nile-auto-complete/nile-auto-complete.test.ts"],"sourcesContent":["import { fixture, html, expect, oneEvent, elementUpdated } from '@open-wc/testing';\nimport './nile-auto-complete';\nimport { NileAutoComplete } from './nile-auto-complete';\n\nconst wait=(ms:number=50000)=>new Promise(resolve => setTimeout(resolve, ms))\n\ndescribe('NileAutoComplete', () => {\n it('should render correctly', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete></nile-auto-complete>`);\n expect(el).to.be.instanceOf(NileAutoComplete);\n expect(el.shadowRoot).not.to.be.null;\n });\n\n it('should have an empty value and dropdown closed by default', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete></nile-auto-complete>`);\n expect(el.value).to.equal('');\n expect(el.isDropdownOpen).to.be.false;\n });\n\n // it('should open the dropdown when input is focused and openOnFocus is true', async () => {\n // const el = await fixture<NileAutoComplete>(html`<nile-auto-complete openOnFocus></nile-auto-complete>`);\n\n // // Focus the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new Event('focus'));\n\t// \tawait wait()\n // await elementUpdated(el);\n\n // expect(el.isDropdownOpen).to.be.true;\n // });\n\n // it('should filter menu items based on the input value', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Ap' } }));\n // await elementUpdated(el);\n\n // expect(el.menuItems).to.deep.equal(['Apple']);\n // });\n\n it('should close the dropdown if no items match the search', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n `);\n\n // Simulate typing in the input with a non-matching value\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Orange' } }));\n await elementUpdated(el);\n\n expect(el.menuItems).to.deep.equal([]);\n expect(el.isDropdownOpen).to.be.false;\n });\n\n // it('should select an item from the menu', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'Ban' } }));\n // await elementUpdated(el);\n\n // const menuItem = el.shadowRoot?.querySelector('nile-menu-item[value=\"Banana\"]');\n // expect(menuItem).to.exist;\n\n // // Select the menu item\n // const selectEvent = new CustomEvent('nile-select', { detail: { value: 'Banana' } });\n // menuItem?.dispatchEvent(selectEvent);\n // await elementUpdated(el);\n\n // expect(el.value).to.equal('Banana');\n // expect(el.isDropdownOpen).to.be.false;\n // });\n\n // it('should emit nile-complete event when an item is selected', async () => {\n // const el = await fixture<NileAutoComplete>(html`\n // <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n // `);\n\n // // Simulate typing in the input\n // const input = el.shadowRoot?.querySelector('nile-input');\n // input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'App' } }));\n // await elementUpdated(el);\n\n // // Wait for the selection event\n // const selectEvent = oneEvent(el, 'nile-complete');\n\n // // Select an item\n // const menuItem = el.shadowRoot?.querySelector('nile-menu-item[value=\"Apple\"]');\n // const event = new CustomEvent('nile-select', { detail: { value: 'Apple' } });\n // menuItem?.dispatchEvent(event);\n\n // const { detail } = await selectEvent;\n // expect(detail.value).to.equal('Apple');\n // });\n\n it('should apply the placeholder text to the input', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete placeholder=\"Search items...\"></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n expect(input?.getAttribute('placeholder')).to.equal('Search items...');\n });\n\n it('should toggle border visibility based on the noBorder property', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete noBorder></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n expect(input?.hasAttribute('no-border')).to.be.true;\n\n el.noBorder = false;\n await elementUpdated(el);\n\n expect(input?.hasAttribute('no-border')).to.be.false;\n });\n\n it('should handle an empty list of menu items', async () => {\n const el = await fixture<NileAutoComplete>(html`<nile-auto-complete .allMenuItems=${[]}></nile-auto-complete>`);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'test' } }));\n await elementUpdated(el);\n\n expect(el.menuItems.length).to.equal(0);\n expect(el.isDropdownOpen).to.be.false;\n });\n\n it('should hide the dropdown when no results are found', async () => {\n const el = await fixture<NileAutoComplete>(html`\n <nile-auto-complete .allMenuItems=${['Apple', 'Banana', 'Cherry']}></nile-auto-complete>\n `);\n\n const input = el.shadowRoot?.querySelector('nile-input');\n input?.dispatchEvent(new CustomEvent('nile-input', { detail: { value: 'NonMatchingValue' } }));\n await elementUpdated(el);\n\n expect(el.isDropdownOpen).to.be.false;\n expect(el.menuItems.length).to.equal(0);\n });\n});\n"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","_catch","delegateYield","_taggedTemplateLiteral","freeze","defineProperties","raw","asyncGeneratorStep","_asyncToGenerator","arguments","apply","_next","_throw","setters","_fixture001CjsJs","describe","it","fixture","html","_templateObject","expect","el","to","be","instanceOf","NileAutoComplete","shadowRoot","not","_context2","_callee","_templateObject2","equal","isDropdownOpen","_context3","_callee2","_templateObject3","input","querySelector","dispatchEvent","CustomEvent","detail","elementUpdated","menuItems","deep","_context4","_callee3","_templateObject4","getAttribute","_context5","_callee4","_templateObject5","hasAttribute","true","noBorder","_context6","_callee5","_templateObject6","_context7","_callee6","_templateObject7","_context8","false","_callee7"],"mappings":"q0BA8C0C,oJAAAA,mBAAA,UAAAA,oBAAA,SAAAC,CAAA,OAAAC,CAAA,CAAAD,CAAA,IAAAE,CAAA,CAAAC,MAAA,CAAAC,SAAA,CAAAC,CAAA,CAAAH,CAAA,CAAAI,cAAA,CAAAC,CAAA,CAAAJ,MAAA,CAAAK,cAAA,WAAAP,CAAA,CAAAD,CAAA,CAA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ers.js";import"lit";import"lit/directives/unsafe-html.js";import{N as l}from"./nile-auto-complete.esm.js";import"tslib";import"lit/decorators.js";import"./nile-auto-complete.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directive.js";import"lit/async-directive.js";import"lit/directives/repeat.js";describe("NileAutoComplete",(()=>{it("should render correctly",(async()=>{const i=await e(o`<nile-auto-complete></nile-auto-complete>`);t(i).to.be.instanceOf(l),t(i.shadowRoot).not.to.be.null})),it("should have an empty value and dropdown closed by default",(async()=>{const i=await e(o`<nile-auto-complete></nile-auto-complete>`);t(i.value).to.equal(""),t(i.isDropdownOpen).to.be.false})),it("should close the dropdown if no items match the search",(async()=>{const l=await e(o`
1
+ import{f as e,a as t,e as i}from"../fixture-588a3119.esm.js";import{html as o}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import{N as l}from"./nile-auto-complete.esm.js";import"tslib";import"lit/decorators.js";import"./nile-auto-complete.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directive.js";import"lit/async-directive.js";import"lit/directives/repeat.js";describe("NileAutoComplete",(()=>{it("should render correctly",(async()=>{const i=await e(o`<nile-auto-complete></nile-auto-complete>`);t(i).to.be.instanceOf(l),t(i.shadowRoot).not.to.be.null})),it("should have an empty value and dropdown closed by default",(async()=>{const i=await e(o`<nile-auto-complete></nile-auto-complete>`);t(i.value).to.equal(""),t(i.isDropdownOpen).to.be.false})),it("should close the dropdown if no items match the search",(async()=>{const l=await e(o`
2
2
  <nile-auto-complete .allMenuItems=${["Apple","Banana","Cherry"]}></nile-auto-complete>
3
3
  `),a=l.shadowRoot?.querySelector("nile-input");a?.dispatchEvent(new CustomEvent("nile-input",{detail:{value:"Orange"}})),await i(l),t(l.menuItems).to.deep.equal([]),t(l.isDropdownOpen).to.be.false})),it("should apply the placeholder text to the input",(async()=>{const i=await e(o`
4
4
  <nile-auto-complete placeholder="Search items..."></nile-auto-complete>