@aquera/nile-elements 0.1.65-beta-1.0 → 0.1.65

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 (1263) hide show
  1. package/README.md +30 -1
  2. package/demo/index.html +18 -120
  3. package/dist/{fixture-75825990.cjs.js → fixture-3bfb4490.cjs.js} +2 -2
  4. package/dist/{fixture-75825990.cjs.js.map → fixture-3bfb4490.cjs.js.map} +1 -1
  5. package/dist/{fixture-e831ec79.esm.js → fixture-8edec91c.esm.js} +1 -1
  6. package/dist/index.cjs.js +1 -1
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.js +7871 -5850
  9. package/dist/internal/form.cjs.js +1 -1
  10. package/dist/internal/form.cjs.js.map +1 -1
  11. package/dist/internal/form.esm.js +1 -1
  12. package/dist/internal/resizable-table-helper.cjs.js +2 -0
  13. package/dist/internal/resizable-table-helper.cjs.js.map +1 -0
  14. package/dist/internal/resizable-table-helper.esm.js +1 -0
  15. package/dist/internal/resizable-table-styles.cjs.js +2 -0
  16. package/dist/internal/resizable-table-styles.cjs.js.map +1 -0
  17. package/dist/internal/resizable-table-styles.esm.js +132 -0
  18. package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
  19. package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
  20. package/dist/nile-auto-complete/index.cjs.js +1 -1
  21. package/dist/nile-auto-complete/index.esm.js +1 -1
  22. package/dist/nile-auto-complete/nile-auto-complete.cjs.js +1 -17
  23. package/dist/nile-auto-complete/nile-auto-complete.cjs.js.map +1 -1
  24. package/dist/nile-auto-complete/nile-auto-complete.esm.js +8 -29
  25. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
  26. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js.map +1 -1
  27. package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
  28. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  29. package/dist/nile-avatar/nile-avatar.test.cjs.js.map +1 -1
  30. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  31. package/dist/nile-badge/index.cjs.js +1 -1
  32. package/dist/nile-badge/index.esm.js +1 -1
  33. package/dist/nile-badge/nile-badge.cjs.js +1 -1
  34. package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
  35. package/dist/nile-badge/nile-badge.esm.js +1 -1
  36. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  37. package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
  38. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  39. package/dist/nile-button/index.cjs.js +1 -1
  40. package/dist/nile-button/index.esm.js +1 -1
  41. package/dist/nile-button/nile-button.cjs.js +1 -1
  42. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  43. package/dist/nile-button/nile-button.esm.js +2 -2
  44. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  45. package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
  46. package/dist/nile-button/nile-button.test.esm.js +1 -1
  47. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
  48. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
  49. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  50. package/dist/nile-calendar/nile-calendar.test.cjs.js.map +1 -1
  51. package/dist/nile-calendar/nile-calendar.test.esm.js +5 -5
  52. package/dist/nile-card/nile-card.test.cjs.js +1 -1
  53. package/dist/nile-card/nile-card.test.esm.js +1 -1
  54. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
  55. package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
  56. package/dist/nile-chip/nile-chip.cjs.js +1 -1
  57. package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
  58. package/dist/nile-chip/nile-chip.esm.js +1 -1
  59. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  60. package/dist/nile-chip/nile-chip.test.cjs.js.map +1 -1
  61. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  62. package/dist/nile-code-editor/extensionSetup.cjs.js +5 -5
  63. package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
  64. package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
  65. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  66. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  67. package/dist/nile-code-editor/nile-code-editor.esm.js +3 -3
  68. package/dist/nile-code-editor/theme.cjs.js +1 -1
  69. package/dist/nile-code-editor/theme.cjs.js.map +1 -1
  70. package/dist/nile-code-editor/theme.esm.js +1 -1
  71. package/dist/nile-dialog/index.cjs.js +1 -1
  72. package/dist/nile-dialog/index.esm.js +1 -1
  73. package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
  74. package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
  75. package/dist/nile-dialog/nile-dialog.esm.js +1 -1
  76. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  77. package/dist/nile-dialog/nile-dialog.test.cjs.js.map +1 -1
  78. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  79. package/dist/nile-drawer/index.cjs.js +1 -1
  80. package/dist/nile-drawer/index.esm.js +1 -1
  81. package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
  82. package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
  83. package/dist/nile-drawer/nile-drawer.esm.js +2 -2
  84. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  85. package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
  86. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  87. package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
  88. package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
  89. package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
  90. package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
  91. package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
  92. package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
  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 +203 -184
  98. package/dist/nile-file-preview/nile-file-preview.esm.js +1 -3
  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 +59 -62
  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 +142 -89
  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 +44 -98
  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 +2 -1
  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/index.cjs.js +1 -1
  143. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  144. package/dist/nile-icon/index.cjs.js +1 -1
  145. package/dist/nile-icon/index.cjs.js.map +1 -1
  146. package/dist/nile-icon/index.esm.js +1 -1
  147. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  148. package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
  149. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  150. package/dist/nile-icon-button/index.cjs.js +1 -1
  151. package/dist/nile-icon-button/index.esm.js +1 -1
  152. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  153. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  154. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  155. package/dist/nile-input/index.cjs.js +1 -1
  156. package/dist/nile-input/index.esm.js +1 -1
  157. package/dist/nile-input/nile-input.cjs.js +1 -1
  158. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  159. package/dist/nile-input/nile-input.esm.js +1 -1
  160. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  161. package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
  162. package/dist/nile-input/nile-input.test.esm.js +2 -2
  163. package/dist/nile-link/nile-link.test.cjs.js +1 -1
  164. package/dist/nile-link/nile-link.test.esm.js +1 -1
  165. package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
  166. package/dist/nile-loader/nile-loader.test.esm.js +1 -1
  167. package/dist/nile-menu-item/index.cjs.js +1 -1
  168. package/dist/nile-menu-item/index.esm.js +1 -1
  169. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  170. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  171. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  172. package/dist/nile-option/index.cjs.js +1 -1
  173. package/dist/nile-option/index.esm.js +1 -1
  174. package/dist/nile-option/nile-option.cjs.js +1 -1
  175. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  176. package/dist/nile-option/nile-option.esm.js +3 -3
  177. package/dist/nile-popover/index.cjs.js +1 -1
  178. package/dist/nile-popover/index.esm.js +1 -1
  179. package/dist/nile-popover/nile-popover.cjs.js +3 -11
  180. package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
  181. package/dist/nile-popover/nile-popover.esm.js +7 -13
  182. package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
  183. package/dist/nile-popover/nile-popover.test.cjs.js.map +1 -1
  184. package/dist/nile-popover/nile-popover.test.esm.js +3 -3
  185. package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
  186. package/dist/nile-popup/nile-popup.test.esm.js +1 -1
  187. package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
  188. package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
  189. package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
  190. package/dist/nile-radio/nile-radio.test.esm.js +1 -1
  191. package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
  192. package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
  193. package/dist/nile-select/index.cjs.js +1 -1
  194. package/dist/nile-select/index.esm.js +1 -1
  195. package/dist/nile-select/nile-select.cjs.js +1 -1
  196. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  197. package/dist/nile-select/nile-select.esm.js +2 -2
  198. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  199. package/dist/nile-select/nile-select.test.cjs.js.map +1 -1
  200. package/dist/nile-select/nile-select.test.esm.js +2 -2
  201. package/dist/nile-select/virtual-scroll-helper.cjs.js +2 -0
  202. package/dist/nile-select/virtual-scroll-helper.cjs.js.map +1 -0
  203. package/dist/nile-select/virtual-scroll-helper.esm.js +38 -0
  204. package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
  205. package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
  206. package/dist/nile-slider/index.cjs.js +2 -0
  207. package/dist/nile-slider/index.esm.js +1 -0
  208. package/dist/nile-slider/nile-slider.cjs.js +2 -0
  209. package/dist/nile-slider/nile-slider.cjs.js.map +1 -0
  210. package/dist/nile-slider/nile-slider.css.cjs.js +2 -0
  211. package/dist/nile-slider/nile-slider.css.cjs.js.map +1 -0
  212. package/dist/nile-slider/nile-slider.css.esm.js +106 -0
  213. package/dist/nile-slider/nile-slider.esm.js +27 -0
  214. package/dist/nile-slider/nile-slider.template.cjs.js +2 -0
  215. package/dist/nile-slider/nile-slider.template.cjs.js.map +1 -0
  216. package/dist/nile-slider/nile-slider.template.esm.js +59 -0
  217. package/dist/nile-slider/types/nile-slider.enums.cjs.js +2 -0
  218. package/dist/nile-slider/types/nile-slider.enums.cjs.js.map +1 -0
  219. package/dist/nile-slider/types/nile-slider.enums.esm.js +1 -0
  220. package/dist/nile-slider/types/nile-slider.types.cjs.js +2 -0
  221. package/dist/nile-slider/types/nile-slider.types.cjs.js.map +1 -0
  222. package/dist/nile-slider/types/nile-slider.types.esm.js +1 -0
  223. package/dist/nile-slider/utils/nile-slider.utils.cjs.js +2 -0
  224. package/dist/nile-slider/utils/nile-slider.utils.cjs.js.map +1 -0
  225. package/dist/nile-slider/utils/nile-slider.utils.esm.js +1 -0
  226. package/dist/nile-tab/index.cjs.js +1 -1
  227. package/dist/nile-tab/index.esm.js +1 -1
  228. package/dist/nile-tab/nile-tab.cjs.js +1 -1
  229. package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
  230. package/dist/nile-tab/nile-tab.esm.js +1 -1
  231. package/dist/nile-tab-group/index.cjs.js +1 -1
  232. package/dist/nile-tab-group/index.esm.js +1 -1
  233. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  234. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  235. package/dist/nile-tab-group/nile-tab-group.esm.js +2 -2
  236. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  237. package/dist/nile-tab-group/nile-tab-group.test.cjs.js.map +1 -1
  238. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  239. package/dist/nile-table-body/index.cjs.js +1 -1
  240. package/dist/nile-table-body/index.esm.js +1 -1
  241. package/dist/nile-table-body/nile-table-body.cjs.js +1 -1
  242. package/dist/nile-table-body/nile-table-body.cjs.js.map +1 -1
  243. package/dist/nile-table-body/nile-table-body.css.cjs.js +1 -1
  244. package/dist/nile-table-body/nile-table-body.css.cjs.js.map +1 -1
  245. package/dist/nile-table-body/nile-table-body.css.esm.js +4 -2
  246. package/dist/nile-table-body/nile-table-body.esm.js +3 -2
  247. package/dist/nile-table-cell-item/index.cjs.js +1 -1
  248. package/dist/nile-table-cell-item/index.esm.js +1 -1
  249. package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js +1 -1
  250. package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js.map +1 -1
  251. package/dist/nile-table-cell-item/nile-table-cell-item.css.cjs.js +1 -1
  252. package/dist/nile-table-cell-item/nile-table-cell-item.css.cjs.js.map +1 -1
  253. package/dist/nile-table-cell-item/nile-table-cell-item.css.esm.js +16 -3
  254. package/dist/nile-table-cell-item/nile-table-cell-item.esm.js +8 -3
  255. package/dist/nile-table-header-item/index.cjs.js +1 -1
  256. package/dist/nile-table-header-item/index.esm.js +1 -1
  257. package/dist/nile-table-header-item/nile-table-header-item.cjs.js +1 -1
  258. package/dist/nile-table-header-item/nile-table-header-item.cjs.js.map +1 -1
  259. package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js +1 -1
  260. package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js.map +1 -1
  261. package/dist/nile-table-header-item/nile-table-header-item.css.esm.js +5 -2
  262. package/dist/nile-table-header-item/nile-table-header-item.esm.js +9 -8
  263. package/dist/nile-tag/index.cjs.js +1 -1
  264. package/dist/nile-tag/index.esm.js +1 -1
  265. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  266. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  267. package/dist/nile-tag/nile-tag.esm.js +1 -1
  268. package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
  269. package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
  270. package/dist/nile-toast/index.cjs.js +1 -1
  271. package/dist/nile-toast/index.esm.js +1 -1
  272. package/dist/nile-toast/nile-toast.cjs.js +1 -1
  273. package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
  274. package/dist/nile-toast/nile-toast.esm.js +1 -1
  275. package/dist/nile-tree/index.cjs.js +1 -1
  276. package/dist/nile-tree/index.esm.js +1 -1
  277. package/dist/nile-tree/nile-tree.cjs.js +1 -1
  278. package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
  279. package/dist/nile-tree/nile-tree.esm.js +1 -1
  280. package/dist/nile-tree-item/index.cjs.js +1 -1
  281. package/dist/nile-tree-item/index.esm.js +1 -1
  282. package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
  283. package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
  284. package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
  285. package/dist/nile-virtual-select/index.cjs.js +2 -0
  286. package/dist/nile-virtual-select/index.esm.js +1 -0
  287. package/dist/nile-virtual-select/nile-virtual-select.cjs.js +2 -0
  288. package/dist/nile-virtual-select/nile-virtual-select.cjs.js.map +1 -0
  289. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js +2 -0
  290. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js.map +1 -0
  291. package/dist/nile-virtual-select/nile-virtual-select.css.esm.js +477 -0
  292. package/dist/nile-virtual-select/nile-virtual-select.esm.js +227 -0
  293. package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js +2 -0
  294. package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js.map +1 -0
  295. package/dist/nile-virtual-select/nile-virtual-select.test.esm.js +93 -0
  296. package/dist/nile-virtual-select/renderer.cjs.js +2 -0
  297. package/dist/nile-virtual-select/renderer.cjs.js.map +1 -0
  298. package/dist/nile-virtual-select/renderer.esm.js +27 -0
  299. package/dist/nile-virtual-select/search-manager.cjs.js +2 -0
  300. package/dist/nile-virtual-select/search-manager.cjs.js.map +1 -0
  301. package/dist/nile-virtual-select/search-manager.esm.js +1 -0
  302. package/dist/nile-virtual-select/selection-manager.cjs.js +2 -0
  303. package/dist/nile-virtual-select/selection-manager.cjs.js.map +1 -0
  304. package/dist/nile-virtual-select/selection-manager.esm.js +1 -0
  305. package/dist/nile-virtual-select/types.cjs.js +2 -0
  306. package/dist/nile-virtual-select/types.cjs.js.map +1 -0
  307. package/dist/nile-virtual-select/types.esm.js +1 -0
  308. package/dist/src/index.d.ts +4 -3
  309. package/dist/src/index.js +4 -3
  310. package/dist/src/index.js.map +1 -1
  311. package/dist/src/internal/form.js +3 -3
  312. package/dist/src/internal/form.js.map +1 -1
  313. package/dist/src/internal/resizable-table-helper.d.ts +59 -0
  314. package/dist/src/internal/resizable-table-helper.js +111 -0
  315. package/dist/src/internal/resizable-table-helper.js.map +1 -0
  316. package/dist/src/internal/resizable-table-styles.d.ts +16 -0
  317. package/dist/src/internal/resizable-table-styles.js +149 -0
  318. package/dist/src/internal/resizable-table-styles.js.map +1 -0
  319. package/dist/src/nile-chip/nile-chip.js +10 -1
  320. package/dist/src/nile-chip/nile-chip.js.map +1 -1
  321. package/dist/src/nile-code-editor/nile-code-editor.d.ts +3 -0
  322. package/dist/src/nile-code-editor/nile-code-editor.js +23 -3
  323. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  324. package/dist/src/nile-code-editor/theme.d.ts +6 -0
  325. package/dist/src/nile-code-editor/theme.js +8 -2
  326. package/dist/src/nile-code-editor/theme.js.map +1 -1
  327. package/dist/src/nile-file-preview/nile-file-preview.css.js +201 -182
  328. package/dist/src/nile-file-preview/nile-file-preview.css.js.map +1 -1
  329. package/dist/src/nile-file-preview/nile-file-preview.d.ts +6 -2
  330. package/dist/src/nile-file-preview/nile-file-preview.js +49 -20
  331. package/dist/src/nile-file-preview/nile-file-preview.js.map +1 -1
  332. package/dist/src/nile-file-preview/nile-file-preview.template.d.ts +3 -2
  333. package/dist/src/nile-file-preview/nile-file-preview.template.js +51 -47
  334. package/dist/src/nile-file-preview/nile-file-preview.template.js.map +1 -1
  335. package/dist/src/nile-file-preview/types/nile-file-preview.enums.d.ts +4 -3
  336. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js +3 -2
  337. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js.map +1 -1
  338. package/dist/src/nile-file-preview/utils/nile-file-preview.util.d.ts +4 -0
  339. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js +25 -0
  340. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js.map +1 -1
  341. package/dist/src/nile-file-upload/nile-file-upload.css.js +140 -87
  342. package/dist/src/nile-file-upload/nile-file-upload.css.js.map +1 -1
  343. package/dist/src/nile-file-upload/nile-file-upload.d.ts +4 -1
  344. package/dist/src/nile-file-upload/nile-file-upload.js +30 -20
  345. package/dist/src/nile-file-upload/nile-file-upload.js.map +1 -1
  346. package/dist/src/nile-file-upload/nile-file-upload.template.d.ts +7 -5
  347. package/dist/src/nile-file-upload/nile-file-upload.template.js +63 -105
  348. package/dist/src/nile-file-upload/nile-file-upload.template.js.map +1 -1
  349. package/dist/src/nile-file-upload/types/file-upload.enums.d.ts +11 -4
  350. package/dist/src/nile-file-upload/types/file-upload.enums.js +8 -1
  351. package/dist/src/nile-file-upload/types/file-upload.enums.js.map +1 -1
  352. package/dist/src/nile-file-upload/utils/drag-drop.util.d.ts +2 -4
  353. package/dist/src/nile-file-upload/utils/drag-drop.util.js +18 -21
  354. package/dist/src/nile-file-upload/utils/drag-drop.util.js.map +1 -1
  355. package/dist/src/nile-file-upload/utils/file-validation.util.d.ts +3 -1
  356. package/dist/src/nile-file-upload/utils/file-validation.util.js +82 -32
  357. package/dist/src/nile-file-upload/utils/file-validation.util.js.map +1 -1
  358. package/dist/src/nile-icon/icons/svg/index.d.ts +0 -19
  359. package/dist/src/nile-icon/icons/svg/index.js +0 -19
  360. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  361. package/dist/src/nile-option/nile-option.d.ts +3 -1
  362. package/dist/src/nile-option/nile-option.js +22 -15
  363. package/dist/src/nile-option/nile-option.js.map +1 -1
  364. package/dist/src/nile-select/nile-select.d.ts +14 -3
  365. package/dist/src/nile-select/nile-select.js +64 -21
  366. package/dist/src/nile-select/nile-select.js.map +1 -1
  367. package/dist/src/nile-select/virtual-scroll-helper.d.ts +9 -0
  368. package/dist/src/nile-select/virtual-scroll-helper.js +51 -0
  369. package/dist/src/nile-select/virtual-scroll-helper.js.map +1 -0
  370. package/dist/src/nile-slider/index.d.ts +1 -0
  371. package/dist/src/nile-slider/index.js +2 -0
  372. package/dist/src/nile-slider/index.js.map +1 -0
  373. package/dist/src/{nile-rich-text-editor/nile-rich-text-editor.css.d.ts → nile-slider/nile-slider.css.d.ts} +3 -0
  374. package/dist/src/nile-slider/nile-slider.css.js +118 -0
  375. package/dist/src/nile-slider/nile-slider.css.js.map +1 -0
  376. package/dist/src/nile-slider/nile-slider.d.ts +48 -0
  377. package/dist/src/nile-slider/nile-slider.js +217 -0
  378. package/dist/src/nile-slider/nile-slider.js.map +1 -0
  379. package/dist/src/nile-slider/nile-slider.template.d.ts +5 -0
  380. package/dist/src/nile-slider/nile-slider.template.js +73 -0
  381. package/dist/src/nile-slider/nile-slider.template.js.map +1 -0
  382. package/dist/src/nile-slider/types/nile-slider.enums.d.ts +10 -0
  383. package/dist/src/nile-slider/types/nile-slider.enums.js +2 -0
  384. package/dist/src/nile-slider/types/nile-slider.enums.js.map +1 -0
  385. package/dist/src/nile-slider/types/nile-slider.types.d.ts +1 -0
  386. package/dist/src/nile-slider/types/nile-slider.types.js +2 -0
  387. package/dist/src/nile-slider/types/nile-slider.types.js.map +1 -0
  388. package/dist/src/nile-slider/utils/nile-slider.utils.d.ts +11 -0
  389. package/dist/src/nile-slider/utils/nile-slider.utils.js +99 -0
  390. package/dist/src/nile-slider/utils/nile-slider.utils.js.map +1 -0
  391. package/dist/src/nile-table-body/nile-table-body.css.js +3 -0
  392. package/dist/src/nile-table-body/nile-table-body.css.js.map +1 -1
  393. package/dist/src/nile-table-body/nile-table-body.d.ts +2 -0
  394. package/dist/src/nile-table-body/nile-table-body.js +10 -0
  395. package/dist/src/nile-table-body/nile-table-body.js.map +1 -1
  396. package/dist/src/nile-table-cell-item/nile-table-cell-item.css.js +15 -1
  397. package/dist/src/nile-table-cell-item/nile-table-cell-item.css.js.map +1 -1
  398. package/dist/src/nile-table-cell-item/nile-table-cell-item.d.ts +3 -0
  399. package/dist/src/nile-table-cell-item/nile-table-cell-item.js +27 -8
  400. package/dist/src/nile-table-cell-item/nile-table-cell-item.js.map +1 -1
  401. package/dist/src/nile-table-header-item/nile-table-header-item.css.js +4 -0
  402. package/dist/src/nile-table-header-item/nile-table-header-item.css.js.map +1 -1
  403. package/dist/src/nile-table-header-item/nile-table-header-item.d.ts +3 -0
  404. package/dist/src/nile-table-header-item/nile-table-header-item.js +22 -15
  405. package/dist/src/nile-table-header-item/nile-table-header-item.js.map +1 -1
  406. package/dist/src/nile-virtual-select/index.d.ts +1 -0
  407. package/dist/src/nile-virtual-select/index.js +2 -0
  408. package/dist/src/nile-virtual-select/index.js.map +1 -0
  409. package/dist/src/nile-virtual-select/nile-virtual-select.css.d.ts +12 -0
  410. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +489 -0
  411. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -0
  412. package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +266 -0
  413. package/dist/src/nile-virtual-select/nile-virtual-select.js +1226 -0
  414. package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -0
  415. package/dist/src/nile-virtual-select/nile-virtual-select.test.d.ts +7 -0
  416. package/dist/src/nile-virtual-select/nile-virtual-select.test.js +631 -0
  417. package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +1 -0
  418. package/dist/src/nile-virtual-select/renderer.d.ts +16 -0
  419. package/dist/src/nile-virtual-select/renderer.js +71 -0
  420. package/dist/src/nile-virtual-select/renderer.js.map +1 -0
  421. package/dist/src/nile-virtual-select/search-manager.d.ts +12 -0
  422. package/dist/src/nile-virtual-select/search-manager.js +40 -0
  423. package/dist/src/nile-virtual-select/search-manager.js.map +1 -0
  424. package/dist/src/nile-virtual-select/selection-manager.d.ts +12 -0
  425. package/dist/src/nile-virtual-select/selection-manager.js +64 -0
  426. package/dist/src/nile-virtual-select/selection-manager.js.map +1 -0
  427. package/dist/src/nile-virtual-select/types.d.ts +50 -0
  428. package/dist/src/nile-virtual-select/types.js +8 -0
  429. package/dist/src/nile-virtual-select/types.js.map +1 -0
  430. package/dist/tsconfig.tsbuildinfo +1 -1
  431. package/dist/virtualize-a4a40d96.esm.js +22 -0
  432. package/dist/virtualize-b6a2fbe0.cjs.js +18 -0
  433. package/dist/virtualize-b6a2fbe0.cjs.js.map +1 -0
  434. package/package.json +3 -5
  435. package/src/index.ts +4 -3
  436. package/src/internal/form.ts +3 -3
  437. package/src/internal/resizable-table-helper.ts +151 -0
  438. package/src/internal/resizable-table-styles.ts +156 -0
  439. package/src/nile-chip/nile-chip.ts +9 -1
  440. package/src/nile-code-editor/nile-code-editor.ts +25 -4
  441. package/src/nile-code-editor/theme.ts +8 -2
  442. package/src/nile-file-preview/index.ts +1 -0
  443. package/src/nile-file-preview/nile-file-preview.css.ts +589 -0
  444. package/src/nile-file-preview/nile-file-preview.template.ts +259 -0
  445. package/src/nile-file-preview/nile-file-preview.test.ts +38 -0
  446. package/src/nile-file-preview/nile-file-preview.ts +205 -0
  447. package/src/nile-file-preview/types/index.ts +2 -0
  448. package/src/nile-file-preview/types/nile-file-preview.enums.ts +32 -0
  449. package/src/nile-file-preview/types/nile-file-preview.interface.ts +4 -0
  450. package/src/nile-file-preview/utils/index.ts +1 -0
  451. package/src/nile-file-preview/utils/nile-file-preview.util.ts +72 -0
  452. package/src/nile-file-upload/index.ts +1 -0
  453. package/src/nile-file-upload/nile-file-upload.css.ts +624 -0
  454. package/src/nile-file-upload/nile-file-upload.template.ts +217 -0
  455. package/src/nile-file-upload/nile-file-upload.test.ts +38 -0
  456. package/src/nile-file-upload/nile-file-upload.ts +161 -0
  457. package/src/nile-file-upload/types/file-upload.enums.ts +46 -0
  458. package/src/nile-file-upload/types/file-upload.type.ts +5 -0
  459. package/src/nile-file-upload/types/index.ts +2 -0
  460. package/src/nile-file-upload/utils/drag-drop.util.ts +106 -0
  461. package/src/nile-file-upload/utils/file-validation.util.ts +216 -0
  462. package/src/nile-icon/icons/svg/index.ts +0 -19
  463. package/src/nile-option/nile-option.ts +19 -12
  464. package/src/nile-select/nile-select.ts +65 -13
  465. package/src/nile-select/virtual-scroll-helper.ts +56 -0
  466. package/src/nile-slider/index.ts +1 -0
  467. package/src/nile-slider/nile-slider.css.ts +119 -0
  468. package/src/nile-slider/nile-slider.template.ts +77 -0
  469. package/src/nile-slider/nile-slider.ts +215 -0
  470. package/src/nile-slider/types/nile-slider.enums.ts +10 -0
  471. package/src/nile-slider/types/nile-slider.types.ts +13 -0
  472. package/src/nile-slider/utils/nile-slider.utils.ts +136 -0
  473. package/src/nile-table-body/nile-table-body.css.ts +3 -0
  474. package/src/nile-table-body/nile-table-body.ts +9 -0
  475. package/src/nile-table-cell-item/nile-table-cell-item.css.ts +15 -1
  476. package/src/nile-table-cell-item/nile-table-cell-item.ts +22 -5
  477. package/src/nile-table-header-item/nile-table-header-item.css.ts +4 -0
  478. package/src/nile-table-header-item/nile-table-header-item.ts +11 -5
  479. package/src/nile-virtual-select/index.ts +1 -0
  480. package/src/nile-virtual-select/nile-virtual-select.css.ts +491 -0
  481. package/src/nile-virtual-select/nile-virtual-select.test.ts +774 -0
  482. package/src/nile-virtual-select/nile-virtual-select.ts +1314 -0
  483. package/src/nile-virtual-select/renderer.ts +99 -0
  484. package/src/nile-virtual-select/search-manager.ts +50 -0
  485. package/src/nile-virtual-select/selection-manager.ts +75 -0
  486. package/src/nile-virtual-select/types.ts +54 -0
  487. package/vscode-html-custom-data.json +527 -201
  488. package/dist/axe.min-2b379f29.cjs.js +0 -12
  489. package/dist/axe.min-2b379f29.cjs.js.map +0 -1
  490. package/dist/axe.min-c2cd8733.esm.js +0 -12
  491. package/dist/fixture-2b5b3aba.esm.js +0 -569
  492. package/dist/fixture-3330277d.cjs.js +0 -395
  493. package/dist/fixture-3330277d.cjs.js.map +0 -1
  494. package/dist/fixture-588a3119.esm.js +0 -569
  495. package/dist/fixture-7bfb866e.cjs.js +0 -395
  496. package/dist/fixture-7bfb866e.cjs.js.map +0 -1
  497. package/dist/nile-icon/icons/svg/bold-try.cjs.js +0 -2
  498. package/dist/nile-icon/icons/svg/bold-try.cjs.js.map +0 -1
  499. package/dist/nile-icon/icons/svg/bold-try.esm.js +0 -1
  500. package/dist/nile-icon/icons/svg/bold.cjs.js +0 -2
  501. package/dist/nile-icon/icons/svg/bold.cjs.js.map +0 -1
  502. package/dist/nile-icon/icons/svg/bold.esm.js +0 -1
  503. package/dist/nile-icon/icons/svg/center-align.cjs.js +0 -2
  504. package/dist/nile-icon/icons/svg/center-align.cjs.js.map +0 -1
  505. package/dist/nile-icon/icons/svg/center-align.esm.js +0 -1
  506. package/dist/nile-icon/icons/svg/itallic.cjs.js +0 -2
  507. package/dist/nile-icon/icons/svg/itallic.cjs.js.map +0 -1
  508. package/dist/nile-icon/icons/svg/itallic.esm.js +0 -1
  509. package/dist/nile-icon/icons/svg/justify-align.cjs.js +0 -2
  510. package/dist/nile-icon/icons/svg/justify-align.cjs.js.map +0 -1
  511. package/dist/nile-icon/icons/svg/justify-align.esm.js +0 -1
  512. package/dist/nile-icon/icons/svg/left-align.cjs.js +0 -2
  513. package/dist/nile-icon/icons/svg/left-align.cjs.js.map +0 -1
  514. package/dist/nile-icon/icons/svg/left-align.esm.js +0 -1
  515. package/dist/nile-icon/icons/svg/ng-activity.cjs.js +0 -2
  516. package/dist/nile-icon/icons/svg/ng-activity.cjs.js.map +0 -1
  517. package/dist/nile-icon/icons/svg/ng-activity.esm.js +0 -1
  518. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js +0 -2
  519. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js.map +0 -1
  520. package/dist/nile-icon/icons/svg/ng-align-center.esm.js +0 -1
  521. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js +0 -2
  522. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js.map +0 -1
  523. package/dist/nile-icon/icons/svg/ng-annotation-x.esm.js +0 -1
  524. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js +0 -2
  525. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js.map +0 -1
  526. package/dist/nile-icon/icons/svg/ng-arrow-down.esm.js +0 -1
  527. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js +0 -2
  528. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js.map +0 -1
  529. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.esm.js +0 -1
  530. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js +0 -2
  531. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js.map +0 -1
  532. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.esm.js +0 -1
  533. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js +0 -2
  534. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js.map +0 -1
  535. package/dist/nile-icon/icons/svg/ng-arrow-up.esm.js +0 -1
  536. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js +0 -2
  537. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js.map +0 -1
  538. package/dist/nile-icon/icons/svg/ng-bar-chart-12.esm.js +0 -1
  539. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js +0 -2
  540. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js.map +0 -1
  541. package/dist/nile-icon/icons/svg/ng-bell-01.esm.js +0 -1
  542. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js +0 -2
  543. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js.map +0 -1
  544. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.esm.js +0 -1
  545. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js +0 -2
  546. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js.map +0 -1
  547. package/dist/nile-icon/icons/svg/ng-bold-01.esm.js +0 -1
  548. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js +0 -2
  549. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js.map +0 -1
  550. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.esm.js +0 -1
  551. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js +0 -2
  552. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js.map +0 -1
  553. package/dist/nile-icon/icons/svg/ng-calendar.esm.js +0 -1
  554. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js +0 -2
  555. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js.map +0 -1
  556. package/dist/nile-icon/icons/svg/ng-check-circle.esm.js +0 -1
  557. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js +0 -2
  558. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js.map +0 -1
  559. package/dist/nile-icon/icons/svg/ng-check-square-broken.esm.js +0 -1
  560. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js +0 -2
  561. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js.map +0 -1
  562. package/dist/nile-icon/icons/svg/ng-chevron-down.esm.js +0 -1
  563. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js +0 -2
  564. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js.map +0 -1
  565. package/dist/nile-icon/icons/svg/ng-chevron-left.esm.js +0 -1
  566. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js +0 -2
  567. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js.map +0 -1
  568. package/dist/nile-icon/icons/svg/ng-chevron-right.esm.js +0 -1
  569. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js +0 -2
  570. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js.map +0 -1
  571. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.esm.js +0 -1
  572. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js +0 -2
  573. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js.map +0 -1
  574. package/dist/nile-icon/icons/svg/ng-chevron-up-double.esm.js +0 -1
  575. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js +0 -2
  576. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js.map +0 -1
  577. package/dist/nile-icon/icons/svg/ng-chevron-up.esm.js +0 -1
  578. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js +0 -2
  579. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js.map +0 -1
  580. package/dist/nile-icon/icons/svg/ng-copy-03.esm.js +0 -1
  581. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js +0 -2
  582. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js.map +0 -1
  583. package/dist/nile-icon/icons/svg/ng-dots-grid.esm.js +0 -1
  584. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js +0 -2
  585. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js.map +0 -1
  586. package/dist/nile-icon/icons/svg/ng-dots-vertical.esm.js +0 -1
  587. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js +0 -2
  588. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js.map +0 -1
  589. package/dist/nile-icon/icons/svg/ng-download-01.esm.js +0 -1
  590. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js +0 -2
  591. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js.map +0 -1
  592. package/dist/nile-icon/icons/svg/ng-dropdown.esm.js +0 -1
  593. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js +0 -2
  594. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js.map +0 -1
  595. package/dist/nile-icon/icons/svg/ng-edit-02.esm.js +0 -1
  596. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js +0 -2
  597. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js.map +0 -1
  598. package/dist/nile-icon/icons/svg/ng-edit-05.esm.js +0 -1
  599. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js +0 -2
  600. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js.map +0 -1
  601. package/dist/nile-icon/icons/svg/ng-expand-06.esm.js +0 -1
  602. package/dist/nile-icon/icons/svg/ng-eye.cjs.js +0 -2
  603. package/dist/nile-icon/icons/svg/ng-eye.cjs.js.map +0 -1
  604. package/dist/nile-icon/icons/svg/ng-eye.esm.js +0 -1
  605. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js +0 -2
  606. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js.map +0 -1
  607. package/dist/nile-icon/icons/svg/ng-file-02.esm.js +0 -1
  608. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js +0 -2
  609. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js.map +0 -1
  610. package/dist/nile-icon/icons/svg/ng-file-check-02.esm.js +0 -1
  611. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js +0 -2
  612. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js.map +0 -1
  613. package/dist/nile-icon/icons/svg/ng-file-question-03.esm.js +0 -1
  614. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js +0 -2
  615. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js.map +0 -1
  616. package/dist/nile-icon/icons/svg/ng-filter-lines.esm.js +0 -1
  617. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js +0 -2
  618. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js.map +0 -1
  619. package/dist/nile-icon/icons/svg/ng-grid-01.esm.js +0 -1
  620. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js +0 -2
  621. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js.map +0 -1
  622. package/dist/nile-icon/icons/svg/ng-help-circle.esm.js +0 -1
  623. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js +0 -2
  624. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js.map +0 -1
  625. package/dist/nile-icon/icons/svg/ng-image-user-left.esm.js +0 -1
  626. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js +0 -2
  627. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js.map +0 -1
  628. package/dist/nile-icon/icons/svg/ng-info-circle.esm.js +0 -1
  629. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js +0 -2
  630. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js.map +0 -1
  631. package/dist/nile-icon/icons/svg/ng-italic-01.esm.js +0 -1
  632. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js +0 -2
  633. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js.map +0 -1
  634. package/dist/nile-icon/icons/svg/ng-layers-three-01.esm.js +0 -1
  635. package/dist/nile-icon/icons/svg/ng-list.cjs.js +0 -2
  636. package/dist/nile-icon/icons/svg/ng-list.cjs.js.map +0 -1
  637. package/dist/nile-icon/icons/svg/ng-list.esm.js +0 -1
  638. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js +0 -2
  639. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js.map +0 -1
  640. package/dist/nile-icon/icons/svg/ng-log-out-01.esm.js +0 -1
  641. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js +0 -2
  642. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js.map +0 -1
  643. package/dist/nile-icon/icons/svg/ng-mail-01.esm.js +0 -1
  644. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js +0 -2
  645. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js.map +0 -1
  646. package/dist/nile-icon/icons/svg/ng-mail-04.esm.js +0 -1
  647. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js +0 -2
  648. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js.map +0 -1
  649. package/dist/nile-icon/icons/svg/ng-menu-05.esm.js +0 -1
  650. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js +0 -2
  651. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js.map +0 -1
  652. package/dist/nile-icon/icons/svg/ng-message-text-square-01.esm.js +0 -1
  653. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js +0 -2
  654. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js.map +0 -1
  655. package/dist/nile-icon/icons/svg/ng-minimize-02.esm.js +0 -1
  656. package/dist/nile-icon/icons/svg/ng-plus.cjs.js +0 -2
  657. package/dist/nile-icon/icons/svg/ng-plus.cjs.js.map +0 -1
  658. package/dist/nile-icon/icons/svg/ng-plus.esm.js +0 -1
  659. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js +0 -2
  660. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js.map +0 -1
  661. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.esm.js +0 -1
  662. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js +0 -2
  663. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js.map +0 -1
  664. package/dist/nile-icon/icons/svg/ng-rocket-02.esm.js +0 -1
  665. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js +0 -2
  666. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js.map +0 -1
  667. package/dist/nile-icon/icons/svg/ng-search-lg.esm.js +0 -1
  668. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js +0 -2
  669. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js.map +0 -1
  670. package/dist/nile-icon/icons/svg/ng-send-01.esm.js +0 -1
  671. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js +0 -2
  672. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js.map +0 -1
  673. package/dist/nile-icon/icons/svg/ng-settings-01.esm.js +0 -1
  674. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js +0 -2
  675. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js.map +0 -1
  676. package/dist/nile-icon/icons/svg/ng-share-04.esm.js +0 -1
  677. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js +0 -2
  678. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js.map +0 -1
  679. package/dist/nile-icon/icons/svg/ng-share-06.esm.js +0 -1
  680. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js +0 -2
  681. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js.map +0 -1
  682. package/dist/nile-icon/icons/svg/ng-stars-02.esm.js +0 -1
  683. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js +0 -2
  684. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js.map +0 -1
  685. package/dist/nile-icon/icons/svg/ng-trash-01.esm.js +0 -1
  686. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js +0 -2
  687. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js.map +0 -1
  688. package/dist/nile-icon/icons/svg/ng-trash-03.esm.js +0 -1
  689. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js +0 -2
  690. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js.map +0 -1
  691. package/dist/nile-icon/icons/svg/ng-trend-up-01.esm.js +0 -1
  692. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js +0 -2
  693. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js.map +0 -1
  694. package/dist/nile-icon/icons/svg/ng-underline-01.esm.js +0 -1
  695. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js +0 -2
  696. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js.map +0 -1
  697. package/dist/nile-icon/icons/svg/ng-upload-01.esm.js +0 -1
  698. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js +0 -2
  699. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js.map +0 -1
  700. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.esm.js +0 -1
  701. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js +0 -2
  702. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js.map +0 -1
  703. package/dist/nile-icon/icons/svg/ng-user-01.esm.js +0 -1
  704. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js +0 -2
  705. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js.map +0 -1
  706. package/dist/nile-icon/icons/svg/ng-user-check-02-1.esm.js +0 -1
  707. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js +0 -2
  708. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js.map +0 -1
  709. package/dist/nile-icon/icons/svg/ng-user-check-02.esm.js +0 -1
  710. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js +0 -2
  711. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js.map +0 -1
  712. package/dist/nile-icon/icons/svg/ng-user-plus-02.esm.js +0 -1
  713. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js +0 -2
  714. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js.map +0 -1
  715. package/dist/nile-icon/icons/svg/ng-user-right-01.esm.js +0 -1
  716. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js +0 -2
  717. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js.map +0 -1
  718. package/dist/nile-icon/icons/svg/ng-users-01.esm.js +0 -1
  719. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js +0 -2
  720. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js.map +0 -1
  721. package/dist/nile-icon/icons/svg/ng-x-close.esm.js +0 -1
  722. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js +0 -2
  723. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js.map +0 -1
  724. package/dist/nile-icon/icons/svg/ng-x-square.esm.js +0 -1
  725. package/dist/nile-icon/icons/svg/nile-bold.cjs.js +0 -2
  726. package/dist/nile-icon/icons/svg/nile-bold.cjs.js.map +0 -1
  727. package/dist/nile-icon/icons/svg/nile-bold.esm.js +0 -1
  728. package/dist/nile-icon/icons/svg/nile-centeralign.cjs.js +0 -2
  729. package/dist/nile-icon/icons/svg/nile-centeralign.cjs.js.map +0 -1
  730. package/dist/nile-icon/icons/svg/nile-centeralign.esm.js +0 -1
  731. package/dist/nile-icon/icons/svg/nile-italic.cjs.js +0 -2
  732. package/dist/nile-icon/icons/svg/nile-italic.cjs.js.map +0 -1
  733. package/dist/nile-icon/icons/svg/nile-italic.esm.js +0 -1
  734. package/dist/nile-icon/icons/svg/nile-justify.cjs.js +0 -2
  735. package/dist/nile-icon/icons/svg/nile-justify.cjs.js.map +0 -1
  736. package/dist/nile-icon/icons/svg/nile-justify.esm.js +0 -1
  737. package/dist/nile-icon/icons/svg/nile-leftalign.cjs.js +0 -2
  738. package/dist/nile-icon/icons/svg/nile-leftalign.cjs.js.map +0 -1
  739. package/dist/nile-icon/icons/svg/nile-leftalign.esm.js +0 -1
  740. package/dist/nile-icon/icons/svg/nile-ol.cjs.js +0 -2
  741. package/dist/nile-icon/icons/svg/nile-ol.cjs.js.map +0 -1
  742. package/dist/nile-icon/icons/svg/nile-ol.esm.js +0 -1
  743. package/dist/nile-icon/icons/svg/nile-rightalign.cjs.js +0 -2
  744. package/dist/nile-icon/icons/svg/nile-rightalign.cjs.js.map +0 -1
  745. package/dist/nile-icon/icons/svg/nile-rightalign.esm.js +0 -1
  746. package/dist/nile-icon/icons/svg/nile-ul.cjs.js +0 -2
  747. package/dist/nile-icon/icons/svg/nile-ul.cjs.js.map +0 -1
  748. package/dist/nile-icon/icons/svg/nile-ul.esm.js +0 -1
  749. package/dist/nile-icon/icons/svg/nile-underline.cjs.js +0 -2
  750. package/dist/nile-icon/icons/svg/nile-underline.cjs.js.map +0 -1
  751. package/dist/nile-icon/icons/svg/nile-underline.esm.js +0 -1
  752. package/dist/nile-icon/icons/svg/ol.cjs.js +0 -2
  753. package/dist/nile-icon/icons/svg/ol.cjs.js.map +0 -1
  754. package/dist/nile-icon/icons/svg/ol.esm.js +0 -1
  755. package/dist/nile-icon/icons/svg/right-align.cjs.js +0 -2
  756. package/dist/nile-icon/icons/svg/right-align.cjs.js.map +0 -1
  757. package/dist/nile-icon/icons/svg/right-align.esm.js +0 -1
  758. package/dist/nile-icon/icons/svg/ul.cjs.js +0 -2
  759. package/dist/nile-icon/icons/svg/ul.cjs.js.map +0 -1
  760. package/dist/nile-icon/icons/svg/ul.esm.js +0 -1
  761. package/dist/nile-icon/icons/svg/underline.cjs.js +0 -2
  762. package/dist/nile-icon/icons/svg/underline.cjs.js.map +0 -1
  763. package/dist/nile-icon/icons/svg/underline.esm.js +0 -1
  764. package/dist/nile-lightdomeditor/index.cjs.js +0 -2
  765. package/dist/nile-lightdomeditor/index.esm.js +0 -1
  766. package/dist/nile-lightdomeditor/nile-lightdomeditor.cjs.js +0 -2
  767. package/dist/nile-lightdomeditor/nile-lightdomeditor.cjs.js.map +0 -1
  768. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.cjs.js +0 -2
  769. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.cjs.js.map +0 -1
  770. package/dist/nile-lightdomeditor/nile-lightdomeditor.css.esm.js +0 -225
  771. package/dist/nile-lightdomeditor/nile-lightdomeditor.esm.js +0 -122
  772. package/dist/nile-rich-text-editor/index.cjs.js +0 -2
  773. package/dist/nile-rich-text-editor/index.esm.js +0 -1
  774. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +0 -2
  775. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +0 -1
  776. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +0 -2
  777. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +0 -1
  778. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +0 -87
  779. package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +0 -1
  780. package/dist/nile-rich-text-editor/nile-rte-color.cjs.js +0 -2
  781. package/dist/nile-rich-text-editor/nile-rte-color.cjs.js.map +0 -1
  782. package/dist/nile-rich-text-editor/nile-rte-color.esm.js +0 -1
  783. package/dist/nile-rich-text-editor/nile-rte-divider.cjs.js +0 -2
  784. package/dist/nile-rich-text-editor/nile-rte-divider.cjs.js.map +0 -1
  785. package/dist/nile-rich-text-editor/nile-rte-divider.esm.js +0 -1
  786. package/dist/nile-rich-text-editor/nile-rte-mentions-item.cjs.js +0 -2
  787. package/dist/nile-rich-text-editor/nile-rte-mentions-item.cjs.js.map +0 -1
  788. package/dist/nile-rich-text-editor/nile-rte-mentions-item.esm.js +0 -1
  789. package/dist/nile-rich-text-editor/nile-rte-mentions.cjs.js +0 -3
  790. package/dist/nile-rich-text-editor/nile-rte-mentions.cjs.js.map +0 -1
  791. package/dist/nile-rich-text-editor/nile-rte-mentions.esm.js +0 -1
  792. package/dist/nile-rich-text-editor/nile-rte-preview.cjs.js +0 -2
  793. package/dist/nile-rich-text-editor/nile-rte-preview.cjs.js.map +0 -1
  794. package/dist/nile-rich-text-editor/nile-rte-preview.esm.js +0 -1
  795. package/dist/nile-rich-text-editor/nile-rte-select.cjs.js +0 -2
  796. package/dist/nile-rich-text-editor/nile-rte-select.cjs.js.map +0 -1
  797. package/dist/nile-rich-text-editor/nile-rte-select.esm.js +0 -52
  798. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.cjs.js +0 -2
  799. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.cjs.js.map +0 -1
  800. package/dist/nile-rich-text-editor/nile-rte-toolbar-item.esm.js +0 -1
  801. package/dist/nile-rich-text-editor/nile-rte-toolbar.cjs.js +0 -2
  802. package/dist/nile-rich-text-editor/nile-rte-toolbar.cjs.js.map +0 -1
  803. package/dist/nile-rich-text-editor/nile-rte-toolbar.esm.js +0 -1
  804. package/dist/nile-rich-text-editor/utils.cjs.js +0 -2
  805. package/dist/nile-rich-text-editor/utils.cjs.js.map +0 -1
  806. package/dist/nile-rich-text-editor/utils.esm.js +0 -1
  807. package/dist/nile-richcodeeditor/index.cjs.js +0 -2
  808. package/dist/nile-richcodeeditor/index.cjs.js.map +0 -1
  809. package/dist/nile-richcodeeditor/index.esm.js +0 -1
  810. package/dist/nile-richcodeeditor/nile-richcodeeditor.cjs.js +0 -2
  811. package/dist/nile-richcodeeditor/nile-richcodeeditor.cjs.js.map +0 -1
  812. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.cjs.js +0 -2
  813. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.cjs.js.map +0 -1
  814. package/dist/nile-richcodeeditor/nile-richcodeeditor.css.esm.js +0 -5
  815. package/dist/nile-richcodeeditor/nile-richcodeeditor.esm.js +0 -66
  816. package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +0 -17
  817. package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +0 -310
  818. package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +0 -34
  819. package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +0 -31
  820. package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +0 -47
  821. package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +0 -16
  822. package/dist/src/nile-icon/icons/svg/bold-try.d.ts +0 -5
  823. package/dist/src/nile-icon/icons/svg/bold-try.js +0 -5
  824. package/dist/src/nile-icon/icons/svg/bold-try.js.map +0 -1
  825. package/dist/src/nile-icon/icons/svg/bold.d.ts +0 -5
  826. package/dist/src/nile-icon/icons/svg/bold.js +0 -5
  827. package/dist/src/nile-icon/icons/svg/bold.js.map +0 -1
  828. package/dist/src/nile-icon/icons/svg/center-align.d.ts +0 -5
  829. package/dist/src/nile-icon/icons/svg/center-align.js +0 -5
  830. package/dist/src/nile-icon/icons/svg/center-align.js.map +0 -1
  831. package/dist/src/nile-icon/icons/svg/itallic.d.ts +0 -5
  832. package/dist/src/nile-icon/icons/svg/itallic.js +0 -5
  833. package/dist/src/nile-icon/icons/svg/itallic.js.map +0 -1
  834. package/dist/src/nile-icon/icons/svg/justify-align.d.ts +0 -5
  835. package/dist/src/nile-icon/icons/svg/justify-align.js +0 -5
  836. package/dist/src/nile-icon/icons/svg/justify-align.js.map +0 -1
  837. package/dist/src/nile-icon/icons/svg/left-align.d.ts +0 -5
  838. package/dist/src/nile-icon/icons/svg/left-align.js +0 -5
  839. package/dist/src/nile-icon/icons/svg/left-align.js.map +0 -1
  840. package/dist/src/nile-icon/icons/svg/ng-activity.d.ts +0 -5
  841. package/dist/src/nile-icon/icons/svg/ng-activity.js +0 -5
  842. package/dist/src/nile-icon/icons/svg/ng-activity.js.map +0 -1
  843. package/dist/src/nile-icon/icons/svg/ng-align-center.d.ts +0 -5
  844. package/dist/src/nile-icon/icons/svg/ng-align-center.js +0 -5
  845. package/dist/src/nile-icon/icons/svg/ng-align-center.js.map +0 -1
  846. package/dist/src/nile-icon/icons/svg/ng-annotation-x.d.ts +0 -5
  847. package/dist/src/nile-icon/icons/svg/ng-annotation-x.js +0 -5
  848. package/dist/src/nile-icon/icons/svg/ng-annotation-x.js.map +0 -1
  849. package/dist/src/nile-icon/icons/svg/ng-arrow-down.d.ts +0 -5
  850. package/dist/src/nile-icon/icons/svg/ng-arrow-down.js +0 -5
  851. package/dist/src/nile-icon/icons/svg/ng-arrow-down.js.map +0 -1
  852. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.d.ts +0 -5
  853. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.js +0 -5
  854. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.js.map +0 -1
  855. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.d.ts +0 -5
  856. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.js +0 -5
  857. package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.js.map +0 -1
  858. package/dist/src/nile-icon/icons/svg/ng-arrow-up.d.ts +0 -5
  859. package/dist/src/nile-icon/icons/svg/ng-arrow-up.js +0 -5
  860. package/dist/src/nile-icon/icons/svg/ng-arrow-up.js.map +0 -1
  861. package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.d.ts +0 -5
  862. package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.js +0 -5
  863. package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.js.map +0 -1
  864. package/dist/src/nile-icon/icons/svg/ng-bell-01.d.ts +0 -5
  865. package/dist/src/nile-icon/icons/svg/ng-bell-01.js +0 -5
  866. package/dist/src/nile-icon/icons/svg/ng-bell-01.js.map +0 -1
  867. package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.d.ts +0 -5
  868. package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.js +0 -5
  869. package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.js.map +0 -1
  870. package/dist/src/nile-icon/icons/svg/ng-bold-01.d.ts +0 -5
  871. package/dist/src/nile-icon/icons/svg/ng-bold-01.js +0 -5
  872. package/dist/src/nile-icon/icons/svg/ng-bold-01.js.map +0 -1
  873. package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.d.ts +0 -5
  874. package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.js +0 -5
  875. package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.js.map +0 -1
  876. package/dist/src/nile-icon/icons/svg/ng-calendar.d.ts +0 -5
  877. package/dist/src/nile-icon/icons/svg/ng-calendar.js +0 -5
  878. package/dist/src/nile-icon/icons/svg/ng-calendar.js.map +0 -1
  879. package/dist/src/nile-icon/icons/svg/ng-check-circle.d.ts +0 -5
  880. package/dist/src/nile-icon/icons/svg/ng-check-circle.js +0 -5
  881. package/dist/src/nile-icon/icons/svg/ng-check-circle.js.map +0 -1
  882. package/dist/src/nile-icon/icons/svg/ng-check-square-broken.d.ts +0 -5
  883. package/dist/src/nile-icon/icons/svg/ng-check-square-broken.js +0 -5
  884. package/dist/src/nile-icon/icons/svg/ng-check-square-broken.js.map +0 -1
  885. package/dist/src/nile-icon/icons/svg/ng-chevron-down.d.ts +0 -5
  886. package/dist/src/nile-icon/icons/svg/ng-chevron-down.js +0 -5
  887. package/dist/src/nile-icon/icons/svg/ng-chevron-down.js.map +0 -1
  888. package/dist/src/nile-icon/icons/svg/ng-chevron-left.d.ts +0 -5
  889. package/dist/src/nile-icon/icons/svg/ng-chevron-left.js +0 -5
  890. package/dist/src/nile-icon/icons/svg/ng-chevron-left.js.map +0 -1
  891. package/dist/src/nile-icon/icons/svg/ng-chevron-right.d.ts +0 -5
  892. package/dist/src/nile-icon/icons/svg/ng-chevron-right.js +0 -5
  893. package/dist/src/nile-icon/icons/svg/ng-chevron-right.js.map +0 -1
  894. package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.d.ts +0 -5
  895. package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.js +0 -5
  896. package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.js.map +0 -1
  897. package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.d.ts +0 -5
  898. package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.js +0 -5
  899. package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.js.map +0 -1
  900. package/dist/src/nile-icon/icons/svg/ng-chevron-up.d.ts +0 -5
  901. package/dist/src/nile-icon/icons/svg/ng-chevron-up.js +0 -5
  902. package/dist/src/nile-icon/icons/svg/ng-chevron-up.js.map +0 -1
  903. package/dist/src/nile-icon/icons/svg/ng-copy-03.d.ts +0 -5
  904. package/dist/src/nile-icon/icons/svg/ng-copy-03.js +0 -5
  905. package/dist/src/nile-icon/icons/svg/ng-copy-03.js.map +0 -1
  906. package/dist/src/nile-icon/icons/svg/ng-dots-grid.d.ts +0 -5
  907. package/dist/src/nile-icon/icons/svg/ng-dots-grid.js +0 -5
  908. package/dist/src/nile-icon/icons/svg/ng-dots-grid.js.map +0 -1
  909. package/dist/src/nile-icon/icons/svg/ng-dots-vertical.d.ts +0 -5
  910. package/dist/src/nile-icon/icons/svg/ng-dots-vertical.js +0 -5
  911. package/dist/src/nile-icon/icons/svg/ng-dots-vertical.js.map +0 -1
  912. package/dist/src/nile-icon/icons/svg/ng-download-01.d.ts +0 -5
  913. package/dist/src/nile-icon/icons/svg/ng-download-01.js +0 -5
  914. package/dist/src/nile-icon/icons/svg/ng-download-01.js.map +0 -1
  915. package/dist/src/nile-icon/icons/svg/ng-dropdown.d.ts +0 -5
  916. package/dist/src/nile-icon/icons/svg/ng-dropdown.js +0 -5
  917. package/dist/src/nile-icon/icons/svg/ng-dropdown.js.map +0 -1
  918. package/dist/src/nile-icon/icons/svg/ng-edit-02.d.ts +0 -5
  919. package/dist/src/nile-icon/icons/svg/ng-edit-02.js +0 -5
  920. package/dist/src/nile-icon/icons/svg/ng-edit-02.js.map +0 -1
  921. package/dist/src/nile-icon/icons/svg/ng-edit-05.d.ts +0 -5
  922. package/dist/src/nile-icon/icons/svg/ng-edit-05.js +0 -5
  923. package/dist/src/nile-icon/icons/svg/ng-edit-05.js.map +0 -1
  924. package/dist/src/nile-icon/icons/svg/ng-expand-06.d.ts +0 -5
  925. package/dist/src/nile-icon/icons/svg/ng-expand-06.js +0 -5
  926. package/dist/src/nile-icon/icons/svg/ng-expand-06.js.map +0 -1
  927. package/dist/src/nile-icon/icons/svg/ng-eye.d.ts +0 -5
  928. package/dist/src/nile-icon/icons/svg/ng-eye.js +0 -5
  929. package/dist/src/nile-icon/icons/svg/ng-eye.js.map +0 -1
  930. package/dist/src/nile-icon/icons/svg/ng-file-02.d.ts +0 -5
  931. package/dist/src/nile-icon/icons/svg/ng-file-02.js +0 -5
  932. package/dist/src/nile-icon/icons/svg/ng-file-02.js.map +0 -1
  933. package/dist/src/nile-icon/icons/svg/ng-file-check-02.d.ts +0 -5
  934. package/dist/src/nile-icon/icons/svg/ng-file-check-02.js +0 -5
  935. package/dist/src/nile-icon/icons/svg/ng-file-check-02.js.map +0 -1
  936. package/dist/src/nile-icon/icons/svg/ng-file-question-03.d.ts +0 -5
  937. package/dist/src/nile-icon/icons/svg/ng-file-question-03.js +0 -5
  938. package/dist/src/nile-icon/icons/svg/ng-file-question-03.js.map +0 -1
  939. package/dist/src/nile-icon/icons/svg/ng-filter-lines.d.ts +0 -5
  940. package/dist/src/nile-icon/icons/svg/ng-filter-lines.js +0 -5
  941. package/dist/src/nile-icon/icons/svg/ng-filter-lines.js.map +0 -1
  942. package/dist/src/nile-icon/icons/svg/ng-grid-01.d.ts +0 -5
  943. package/dist/src/nile-icon/icons/svg/ng-grid-01.js +0 -5
  944. package/dist/src/nile-icon/icons/svg/ng-grid-01.js.map +0 -1
  945. package/dist/src/nile-icon/icons/svg/ng-help-circle.d.ts +0 -5
  946. package/dist/src/nile-icon/icons/svg/ng-help-circle.js +0 -5
  947. package/dist/src/nile-icon/icons/svg/ng-help-circle.js.map +0 -1
  948. package/dist/src/nile-icon/icons/svg/ng-image-user-left.d.ts +0 -5
  949. package/dist/src/nile-icon/icons/svg/ng-image-user-left.js +0 -5
  950. package/dist/src/nile-icon/icons/svg/ng-image-user-left.js.map +0 -1
  951. package/dist/src/nile-icon/icons/svg/ng-info-circle.d.ts +0 -5
  952. package/dist/src/nile-icon/icons/svg/ng-info-circle.js +0 -5
  953. package/dist/src/nile-icon/icons/svg/ng-info-circle.js.map +0 -1
  954. package/dist/src/nile-icon/icons/svg/ng-italic-01.d.ts +0 -5
  955. package/dist/src/nile-icon/icons/svg/ng-italic-01.js +0 -5
  956. package/dist/src/nile-icon/icons/svg/ng-italic-01.js.map +0 -1
  957. package/dist/src/nile-icon/icons/svg/ng-layers-three-01.d.ts +0 -5
  958. package/dist/src/nile-icon/icons/svg/ng-layers-three-01.js +0 -5
  959. package/dist/src/nile-icon/icons/svg/ng-layers-three-01.js.map +0 -1
  960. package/dist/src/nile-icon/icons/svg/ng-list.d.ts +0 -5
  961. package/dist/src/nile-icon/icons/svg/ng-list.js +0 -5
  962. package/dist/src/nile-icon/icons/svg/ng-list.js.map +0 -1
  963. package/dist/src/nile-icon/icons/svg/ng-log-out-01.d.ts +0 -5
  964. package/dist/src/nile-icon/icons/svg/ng-log-out-01.js +0 -5
  965. package/dist/src/nile-icon/icons/svg/ng-log-out-01.js.map +0 -1
  966. package/dist/src/nile-icon/icons/svg/ng-mail-01.d.ts +0 -5
  967. package/dist/src/nile-icon/icons/svg/ng-mail-01.js +0 -5
  968. package/dist/src/nile-icon/icons/svg/ng-mail-01.js.map +0 -1
  969. package/dist/src/nile-icon/icons/svg/ng-mail-04.d.ts +0 -5
  970. package/dist/src/nile-icon/icons/svg/ng-mail-04.js +0 -5
  971. package/dist/src/nile-icon/icons/svg/ng-mail-04.js.map +0 -1
  972. package/dist/src/nile-icon/icons/svg/ng-menu-05.d.ts +0 -5
  973. package/dist/src/nile-icon/icons/svg/ng-menu-05.js +0 -5
  974. package/dist/src/nile-icon/icons/svg/ng-menu-05.js.map +0 -1
  975. package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.d.ts +0 -5
  976. package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.js +0 -5
  977. package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.js.map +0 -1
  978. package/dist/src/nile-icon/icons/svg/ng-minimize-02.d.ts +0 -5
  979. package/dist/src/nile-icon/icons/svg/ng-minimize-02.js +0 -5
  980. package/dist/src/nile-icon/icons/svg/ng-minimize-02.js.map +0 -1
  981. package/dist/src/nile-icon/icons/svg/ng-plus.d.ts +0 -5
  982. package/dist/src/nile-icon/icons/svg/ng-plus.js +0 -5
  983. package/dist/src/nile-icon/icons/svg/ng-plus.js.map +0 -1
  984. package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.d.ts +0 -5
  985. package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.js +0 -5
  986. package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.js.map +0 -1
  987. package/dist/src/nile-icon/icons/svg/ng-rocket-02.d.ts +0 -5
  988. package/dist/src/nile-icon/icons/svg/ng-rocket-02.js +0 -5
  989. package/dist/src/nile-icon/icons/svg/ng-rocket-02.js.map +0 -1
  990. package/dist/src/nile-icon/icons/svg/ng-search-lg.d.ts +0 -5
  991. package/dist/src/nile-icon/icons/svg/ng-search-lg.js +0 -5
  992. package/dist/src/nile-icon/icons/svg/ng-search-lg.js.map +0 -1
  993. package/dist/src/nile-icon/icons/svg/ng-send-01.d.ts +0 -5
  994. package/dist/src/nile-icon/icons/svg/ng-send-01.js +0 -5
  995. package/dist/src/nile-icon/icons/svg/ng-send-01.js.map +0 -1
  996. package/dist/src/nile-icon/icons/svg/ng-settings-01.d.ts +0 -5
  997. package/dist/src/nile-icon/icons/svg/ng-settings-01.js +0 -5
  998. package/dist/src/nile-icon/icons/svg/ng-settings-01.js.map +0 -1
  999. package/dist/src/nile-icon/icons/svg/ng-share-04.d.ts +0 -5
  1000. package/dist/src/nile-icon/icons/svg/ng-share-04.js +0 -5
  1001. package/dist/src/nile-icon/icons/svg/ng-share-04.js.map +0 -1
  1002. package/dist/src/nile-icon/icons/svg/ng-share-06.d.ts +0 -5
  1003. package/dist/src/nile-icon/icons/svg/ng-share-06.js +0 -5
  1004. package/dist/src/nile-icon/icons/svg/ng-share-06.js.map +0 -1
  1005. package/dist/src/nile-icon/icons/svg/ng-stars-02.d.ts +0 -5
  1006. package/dist/src/nile-icon/icons/svg/ng-stars-02.js +0 -5
  1007. package/dist/src/nile-icon/icons/svg/ng-stars-02.js.map +0 -1
  1008. package/dist/src/nile-icon/icons/svg/ng-trash-01.d.ts +0 -5
  1009. package/dist/src/nile-icon/icons/svg/ng-trash-01.js +0 -5
  1010. package/dist/src/nile-icon/icons/svg/ng-trash-01.js.map +0 -1
  1011. package/dist/src/nile-icon/icons/svg/ng-trash-03.d.ts +0 -5
  1012. package/dist/src/nile-icon/icons/svg/ng-trash-03.js +0 -5
  1013. package/dist/src/nile-icon/icons/svg/ng-trash-03.js.map +0 -1
  1014. package/dist/src/nile-icon/icons/svg/ng-trend-up-01.d.ts +0 -5
  1015. package/dist/src/nile-icon/icons/svg/ng-trend-up-01.js +0 -5
  1016. package/dist/src/nile-icon/icons/svg/ng-trend-up-01.js.map +0 -1
  1017. package/dist/src/nile-icon/icons/svg/ng-underline-01.d.ts +0 -5
  1018. package/dist/src/nile-icon/icons/svg/ng-underline-01.js +0 -5
  1019. package/dist/src/nile-icon/icons/svg/ng-underline-01.js.map +0 -1
  1020. package/dist/src/nile-icon/icons/svg/ng-upload-01.d.ts +0 -5
  1021. package/dist/src/nile-icon/icons/svg/ng-upload-01.js +0 -5
  1022. package/dist/src/nile-icon/icons/svg/ng-upload-01.js.map +0 -1
  1023. package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.d.ts +0 -5
  1024. package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.js +0 -5
  1025. package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.js.map +0 -1
  1026. package/dist/src/nile-icon/icons/svg/ng-user-01.d.ts +0 -5
  1027. package/dist/src/nile-icon/icons/svg/ng-user-01.js +0 -5
  1028. package/dist/src/nile-icon/icons/svg/ng-user-01.js.map +0 -1
  1029. package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.d.ts +0 -5
  1030. package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.js +0 -5
  1031. package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.js.map +0 -1
  1032. package/dist/src/nile-icon/icons/svg/ng-user-check-02.d.ts +0 -5
  1033. package/dist/src/nile-icon/icons/svg/ng-user-check-02.js +0 -5
  1034. package/dist/src/nile-icon/icons/svg/ng-user-check-02.js.map +0 -1
  1035. package/dist/src/nile-icon/icons/svg/ng-user-plus-02.d.ts +0 -5
  1036. package/dist/src/nile-icon/icons/svg/ng-user-plus-02.js +0 -5
  1037. package/dist/src/nile-icon/icons/svg/ng-user-plus-02.js.map +0 -1
  1038. package/dist/src/nile-icon/icons/svg/ng-user-right-01.d.ts +0 -5
  1039. package/dist/src/nile-icon/icons/svg/ng-user-right-01.js +0 -5
  1040. package/dist/src/nile-icon/icons/svg/ng-user-right-01.js.map +0 -1
  1041. package/dist/src/nile-icon/icons/svg/ng-users-01.d.ts +0 -5
  1042. package/dist/src/nile-icon/icons/svg/ng-users-01.js +0 -5
  1043. package/dist/src/nile-icon/icons/svg/ng-users-01.js.map +0 -1
  1044. package/dist/src/nile-icon/icons/svg/ng-x-close.d.ts +0 -5
  1045. package/dist/src/nile-icon/icons/svg/ng-x-close.js +0 -5
  1046. package/dist/src/nile-icon/icons/svg/ng-x-close.js.map +0 -1
  1047. package/dist/src/nile-icon/icons/svg/ng-x-square.d.ts +0 -5
  1048. package/dist/src/nile-icon/icons/svg/ng-x-square.js +0 -5
  1049. package/dist/src/nile-icon/icons/svg/ng-x-square.js.map +0 -1
  1050. package/dist/src/nile-icon/icons/svg/nile-bold.d.ts +0 -5
  1051. package/dist/src/nile-icon/icons/svg/nile-bold.js +0 -5
  1052. package/dist/src/nile-icon/icons/svg/nile-bold.js.map +0 -1
  1053. package/dist/src/nile-icon/icons/svg/nile-centeralign.d.ts +0 -5
  1054. package/dist/src/nile-icon/icons/svg/nile-centeralign.js +0 -5
  1055. package/dist/src/nile-icon/icons/svg/nile-centeralign.js.map +0 -1
  1056. package/dist/src/nile-icon/icons/svg/nile-italic.d.ts +0 -5
  1057. package/dist/src/nile-icon/icons/svg/nile-italic.js +0 -5
  1058. package/dist/src/nile-icon/icons/svg/nile-italic.js.map +0 -1
  1059. package/dist/src/nile-icon/icons/svg/nile-justify.d.ts +0 -5
  1060. package/dist/src/nile-icon/icons/svg/nile-justify.js +0 -5
  1061. package/dist/src/nile-icon/icons/svg/nile-justify.js.map +0 -1
  1062. package/dist/src/nile-icon/icons/svg/nile-leftalign.d.ts +0 -5
  1063. package/dist/src/nile-icon/icons/svg/nile-leftalign.js +0 -5
  1064. package/dist/src/nile-icon/icons/svg/nile-leftalign.js.map +0 -1
  1065. package/dist/src/nile-icon/icons/svg/nile-ol.d.ts +0 -5
  1066. package/dist/src/nile-icon/icons/svg/nile-ol.js +0 -5
  1067. package/dist/src/nile-icon/icons/svg/nile-ol.js.map +0 -1
  1068. package/dist/src/nile-icon/icons/svg/nile-rightalign.d.ts +0 -5
  1069. package/dist/src/nile-icon/icons/svg/nile-rightalign.js +0 -5
  1070. package/dist/src/nile-icon/icons/svg/nile-rightalign.js.map +0 -1
  1071. package/dist/src/nile-icon/icons/svg/nile-ul.d.ts +0 -5
  1072. package/dist/src/nile-icon/icons/svg/nile-ul.js +0 -5
  1073. package/dist/src/nile-icon/icons/svg/nile-ul.js.map +0 -1
  1074. package/dist/src/nile-icon/icons/svg/nile-underline.d.ts +0 -5
  1075. package/dist/src/nile-icon/icons/svg/nile-underline.js +0 -5
  1076. package/dist/src/nile-icon/icons/svg/nile-underline.js.map +0 -1
  1077. package/dist/src/nile-icon/icons/svg/ol.d.ts +0 -5
  1078. package/dist/src/nile-icon/icons/svg/ol.js +0 -5
  1079. package/dist/src/nile-icon/icons/svg/ol.js.map +0 -1
  1080. package/dist/src/nile-icon/icons/svg/right-align.d.ts +0 -5
  1081. package/dist/src/nile-icon/icons/svg/right-align.js +0 -5
  1082. package/dist/src/nile-icon/icons/svg/right-align.js.map +0 -1
  1083. package/dist/src/nile-icon/icons/svg/ul.d.ts +0 -5
  1084. package/dist/src/nile-icon/icons/svg/ul.js +0 -5
  1085. package/dist/src/nile-icon/icons/svg/ul.js.map +0 -1
  1086. package/dist/src/nile-icon/icons/svg/underline.d.ts +0 -5
  1087. package/dist/src/nile-icon/icons/svg/underline.js +0 -5
  1088. package/dist/src/nile-icon/icons/svg/underline.js.map +0 -1
  1089. package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +0 -75
  1090. package/dist/src/nile-lightdomeditor/index.d.ts +0 -1
  1091. package/dist/src/nile-lightdomeditor/index.js +0 -2
  1092. package/dist/src/nile-lightdomeditor/index.js.map +0 -1
  1093. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.d.ts +0 -6
  1094. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.js +0 -237
  1095. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.css.js.map +0 -1
  1096. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.d.ts +0 -74
  1097. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.js +0 -591
  1098. package/dist/src/nile-lightdomeditor/nile-lightdomeditor.js.map +0 -1
  1099. package/dist/src/nile-lightdomeditor/utils/nile-mention.d.ts +0 -13
  1100. package/dist/src/nile-lightdomeditor/utils/nile-mention.js +0 -47
  1101. package/dist/src/nile-lightdomeditor/utils/nile-mention.js.map +0 -1
  1102. package/dist/src/nile-markdowneditor/index.d.ts +0 -1
  1103. package/dist/src/nile-markdowneditor/index.js +0 -2
  1104. package/dist/src/nile-markdowneditor/index.js.map +0 -1
  1105. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.d.ts +0 -12
  1106. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.js +0 -17
  1107. package/dist/src/nile-markdowneditor/nile-markdowneditor.css.js.map +0 -1
  1108. package/dist/src/nile-markdowneditor/nile-markdowneditor.d.ts +0 -32
  1109. package/dist/src/nile-markdowneditor/nile-markdowneditor.js +0 -43
  1110. package/dist/src/nile-markdowneditor/nile-markdowneditor.js.map +0 -1
  1111. package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +0 -22
  1112. package/dist/src/nile-prosemirror-poc/index.d.ts +0 -1
  1113. package/dist/src/nile-prosemirror-poc/index.js +0 -2
  1114. package/dist/src/nile-prosemirror-poc/index.js.map +0 -1
  1115. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.d.ts +0 -12
  1116. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.js +0 -17
  1117. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.css.js.map +0 -1
  1118. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.d.ts +0 -24
  1119. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.js +0 -190
  1120. package/dist/src/nile-prosemirror-poc/nile-prosemirror-poc.js.map +0 -1
  1121. package/dist/src/nile-rich-text-editor/index.d.ts +0 -1
  1122. package/dist/src/nile-rich-text-editor/index.js +0 -2
  1123. package/dist/src/nile-rich-text-editor/index.js.map +0 -1
  1124. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +0 -91
  1125. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +0 -1
  1126. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +0 -57
  1127. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +0 -603
  1128. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +0 -1
  1129. package/dist/src/nile-rich-text-editor/nile-rte-color.d.ts +0 -14
  1130. package/dist/src/nile-rich-text-editor/nile-rte-color.js +0 -28
  1131. package/dist/src/nile-rich-text-editor/nile-rte-color.js.map +0 -1
  1132. package/dist/src/nile-rich-text-editor/nile-rte-divider.d.ts +0 -10
  1133. package/dist/src/nile-rich-text-editor/nile-rte-divider.js +0 -12
  1134. package/dist/src/nile-rich-text-editor/nile-rte-divider.js.map +0 -1
  1135. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.d.ts +0 -18
  1136. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.js +0 -47
  1137. package/dist/src/nile-rich-text-editor/nile-rte-mentions-item.js.map +0 -1
  1138. package/dist/src/nile-rich-text-editor/nile-rte-mentions.d.ts +0 -57
  1139. package/dist/src/nile-rich-text-editor/nile-rte-mentions.js +0 -442
  1140. package/dist/src/nile-rich-text-editor/nile-rte-mentions.js.map +0 -1
  1141. package/dist/src/nile-rich-text-editor/nile-rte-preview.d.ts +0 -10
  1142. package/dist/src/nile-rich-text-editor/nile-rte-preview.js +0 -12
  1143. package/dist/src/nile-rich-text-editor/nile-rte-preview.js.map +0 -1
  1144. package/dist/src/nile-rich-text-editor/nile-rte-select.d.ts +0 -37
  1145. package/dist/src/nile-rich-text-editor/nile-rte-select.js +0 -200
  1146. package/dist/src/nile-rich-text-editor/nile-rte-select.js.map +0 -1
  1147. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.d.ts +0 -12
  1148. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.js +0 -23
  1149. package/dist/src/nile-rich-text-editor/nile-rte-toolbar-item.js.map +0 -1
  1150. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.d.ts +0 -10
  1151. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.js +0 -12
  1152. package/dist/src/nile-rich-text-editor/nile-rte-toolbar.js.map +0 -1
  1153. package/dist/src/nile-rich-text-editor/nille-rte-mention.d.ts +0 -21
  1154. package/dist/src/nile-rich-text-editor/nille-rte-mention.js +0 -47
  1155. package/dist/src/nile-rich-text-editor/nille-rte-mention.js.map +0 -1
  1156. package/dist/src/nile-rich-text-editor/nille-rte-mentions.d.ts +0 -21
  1157. package/dist/src/nile-rich-text-editor/nille-rte-mentions.js +0 -47
  1158. package/dist/src/nile-rich-text-editor/nille-rte-mentions.js.map +0 -1
  1159. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.d.ts +0 -0
  1160. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.js +0 -2
  1161. package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor-toolbar-item.js.map +0 -1
  1162. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.d.ts +0 -8
  1163. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.js +0 -39
  1164. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-content.js.map +0 -1
  1165. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.d.ts +0 -0
  1166. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.js +0 -2
  1167. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-content/nile-rich-text-editor-preview.js.map +0 -1
  1168. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.d.ts +0 -12
  1169. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.js +0 -24
  1170. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions/nile-rich-text-editor-mentions.js.map +0 -1
  1171. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.d.ts +0 -25
  1172. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.js +0 -89
  1173. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-mentions-item/nile-rich-text-editor-mentions-item.js.map +0 -1
  1174. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.d.ts +0 -12
  1175. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.js +0 -47
  1176. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.css.js.map +0 -1
  1177. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.d.ts +0 -7
  1178. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.js +0 -28
  1179. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-preview/nile-rich-text-editor-preview.js.map +0 -1
  1180. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.d.ts +0 -6
  1181. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.js +0 -237
  1182. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.css.js.map +0 -1
  1183. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.d.ts +0 -5
  1184. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.js +0 -26
  1185. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar/nile-rich-text-editor-toolbar.js.map +0 -1
  1186. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.d.ts +0 -6
  1187. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.js +0 -237
  1188. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.css.js.map +0 -1
  1189. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.d.ts +0 -8
  1190. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.js +0 -36
  1191. package/dist/src/nile-rich-text-editor/subcomponents/nile-rich-text-editor-toolbar-item/nile-rich-text-editor-toolbar-item.js.map +0 -1
  1192. package/dist/src/nile-rich-text-editor/utils.d.ts +0 -13
  1193. package/dist/src/nile-rich-text-editor/utils.js +0 -251
  1194. package/dist/src/nile-rich-text-editor/utils.js.map +0 -1
  1195. package/dist/src/nile-richcodeeditor/index.d.ts +0 -1
  1196. package/dist/src/nile-richcodeeditor/index.js +0 -2
  1197. package/dist/src/nile-richcodeeditor/index.js.map +0 -1
  1198. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.d.ts +0 -12
  1199. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.js +0 -17
  1200. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.css.js.map +0 -1
  1201. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.d.ts +0 -31
  1202. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.js +0 -203
  1203. package/dist/src/nile-richcodeeditor/nile-richcodeeditor.js.map +0 -1
  1204. package/dist/src/nile-richeditor/index.d.ts +0 -1
  1205. package/dist/src/nile-richeditor/index.js +0 -2
  1206. package/dist/src/nile-richeditor/index.js.map +0 -1
  1207. package/dist/src/nile-richeditor/nile-richeditor.css.d.ts +0 -12
  1208. package/dist/src/nile-richeditor/nile-richeditor.css.js +0 -17
  1209. package/dist/src/nile-richeditor/nile-richeditor.css.js.map +0 -1
  1210. package/dist/src/nile-richeditor/nile-richeditor.d.ts +0 -19
  1211. package/dist/src/nile-richeditor/nile-richeditor.js +0 -234
  1212. package/dist/src/nile-richeditor/nile-richeditor.js.map +0 -1
  1213. package/dist/src/nile-richtexteditor/index.d.ts +0 -1
  1214. package/dist/src/nile-richtexteditor/index.js +0 -2
  1215. package/dist/src/nile-richtexteditor/index.js.map +0 -1
  1216. package/dist/src/nile-richtexteditor/nile-richtexteditor.css.d.ts +0 -6
  1217. package/dist/src/nile-richtexteditor/nile-richtexteditor.css.js +0 -237
  1218. package/dist/src/nile-richtexteditor/nile-richtexteditor.css.js.map +0 -1
  1219. package/dist/src/nile-richtexteditor/nile-richtexteditor.d.ts +0 -32
  1220. package/dist/src/nile-richtexteditor/nile-richtexteditor.js +0 -46
  1221. package/dist/src/nile-richtexteditor/nile-richtexteditor.js.map +0 -1
  1222. package/dist/src/nile-richtexteditor/utils/nile-mention.d.ts +0 -13
  1223. package/dist/src/nile-richtexteditor/utils/nile-mention.js +0 -47
  1224. package/dist/src/nile-richtexteditor/utils/nile-mention.js.map +0 -1
  1225. package/src/nile-icon/icons/svg/bold-try.ts +0 -5
  1226. package/src/nile-icon/icons/svg/bold.ts +0 -5
  1227. package/src/nile-icon/icons/svg/center-align.ts +0 -5
  1228. package/src/nile-icon/icons/svg/itallic.ts +0 -5
  1229. package/src/nile-icon/icons/svg/justify-align.ts +0 -5
  1230. package/src/nile-icon/icons/svg/left-align.ts +0 -5
  1231. package/src/nile-icon/icons/svg/nile-bold.ts +0 -5
  1232. package/src/nile-icon/icons/svg/nile-centeralign.ts +0 -5
  1233. package/src/nile-icon/icons/svg/nile-italic.ts +0 -5
  1234. package/src/nile-icon/icons/svg/nile-justify.ts +0 -5
  1235. package/src/nile-icon/icons/svg/nile-leftalign.ts +0 -5
  1236. package/src/nile-icon/icons/svg/nile-ol.ts +0 -5
  1237. package/src/nile-icon/icons/svg/nile-rightalign.ts +0 -5
  1238. package/src/nile-icon/icons/svg/nile-ul.ts +0 -5
  1239. package/src/nile-icon/icons/svg/nile-underline.ts +0 -5
  1240. package/src/nile-icon/icons/svg/ol.ts +0 -5
  1241. package/src/nile-icon/icons/svg/right-align.ts +0 -5
  1242. package/src/nile-icon/icons/svg/ul.ts +0 -5
  1243. package/src/nile-icon/icons/svg/underline.ts +0 -5
  1244. package/src/nile-lightdomeditor/index.ts +0 -1
  1245. package/src/nile-lightdomeditor/nile-lightdomeditor.css.ts +0 -238
  1246. package/src/nile-lightdomeditor/nile-lightdomeditor.ts +0 -523
  1247. package/src/nile-rich-text-editor/index.ts +0 -1
  1248. package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +0 -92
  1249. package/src/nile-rich-text-editor/nile-rich-text-editor.ts +0 -640
  1250. package/src/nile-rich-text-editor/nile-rte-color.ts +0 -14
  1251. package/src/nile-rich-text-editor/nile-rte-divider.ts +0 -9
  1252. package/src/nile-rich-text-editor/nile-rte-mentions-item.ts +0 -42
  1253. package/src/nile-rich-text-editor/nile-rte-mentions.ts +0 -465
  1254. package/src/nile-rich-text-editor/nile-rte-preview.ts +0 -9
  1255. package/src/nile-rich-text-editor/nile-rte-select.ts +0 -208
  1256. package/src/nile-rich-text-editor/nile-rte-toolbar-item.ts +0 -13
  1257. package/src/nile-rich-text-editor/nile-rte-toolbar.ts +0 -9
  1258. package/src/nile-rich-text-editor/utils.ts +0 -197
  1259. package/src/nile-richcodeeditor/index.ts +0 -1
  1260. package/src/nile-richcodeeditor/nile-richcodeeditor.css.ts +0 -19
  1261. package/src/nile-richcodeeditor/nile-richcodeeditor.ts +0 -192
  1262. /package/dist/{nile-lightdomeditor → nile-slider}/index.cjs.js.map +0 -0
  1263. /package/dist/{nile-rich-text-editor → nile-virtual-select}/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-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-filter-chip.cjs.js","tslib","lit/decorators.js","../internal/nile-element.cjs.js","./nile-filter-chip.css.cjs.js"],function(_export,_context){"use strict";var e,i,l,t,a,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8;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;i=_fixture001CjsJs.a;l=_fixture001CjsJs.o;},function(_litStaticHtmlJs){t=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFilterChipCjsJs){a=_nileFilterChipCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_internalNileElementCjsJs){},function(_nileFilterChipCssCjsJs){}],execute:function execute(){describe("<nile-filter-chip>",function(){afterEach(function(){a.activeChips=[];}),it("registers and unregisters itself in activeChips",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var l;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context2.sent;i(a.activeChips).to.include(l);l.remove();_context2.next=7;return l.updateComplete;case 7:i(a.activeChips).to.not.include(l);case 8:case"end":return _context2.stop();}},_callee);}))),it("renders fallback label and value",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var l,a,n;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(t(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"MyLabel\" value=\"MyText\"></nile-filter-chip>\n "]))));case 2:l=_context3.sent;a=l.shadowRoot.querySelector(".label");n=l.shadowRoot.querySelector(".value");i(a.textContent).to.equal("MyLabel:"),i(n.textContent.trim()).to.equal("MyText");case 6:case"end":return _context3.stop();}},_callee2);}))),it("renders slotted label and value over fallback",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var l,a,n;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(t(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-filter-chip>\n <span slot=\"label\">SLOT-LBL</span>\n <span slot=\"value\">SLOT-VAL</span>\n </nile-filter-chip>\n "]))));case 2:l=_context4.sent;a=l.querySelector('[slot="label"]');n=l.querySelector('[slot="value"]');i(a.textContent).to.equal("SLOT-LBL"),i(n.textContent).to.equal("SLOT-VAL");case 6:case"end":return _context4.stop();}},_callee3);}))),it("renders an icon when the `icon` property is set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var l;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return e(t(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <nile-filter-chip icon=\"\u2605\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context5.sent.shadowRoot.querySelector(".icon");i(l).to.exist,i(l.textContent).to.equal("★");case 4:case"end":return _context5.stop();}},_callee4);}))),it("does not render a badge when viewMoreCount is zero",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var l;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return e(t(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <nile-filter-chip viewMoreCount=\"0\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context6.sent;i(l.shadowRoot.querySelector("nile-badge")).to.be["null"];case 4:case"end":return _context6.stop();}},_callee5);}))),it("renders a +badge when viewMoreCount > 0",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var l;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return e(t(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n <nile-filter-chip viewMoreCount=\"5\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context7.sent.shadowRoot.querySelector("nile-badge");i(l).to.exist,i(l.textContent).to.contain("+5");case 4:case"end":return _context7.stop();}},_callee6);}))),it("dispatches `nile-click` on chip click",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var a,n,s;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return e(t(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:a=_context8.sent;n=a.shadowRoot.querySelector(".chip");setTimeout(function(){return n.click();});_context8.next=7;return l(a,"nile-click");case 7:s=_context8.sent;i(s.detail).to.deep.equal({value:"T",viewMoreCount:0});case 9:case"end":return _context8.stop();}},_callee7);}))),it("dispatches `nile-close` on close icon click and removes itself",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var a,n,s;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return e(t(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["\n <nile-filter-chip closable viewMoreCount=\"2\" value=\"TT\"></nile-filter-chip>\n "]))));case 2:a=_context9.sent;n=a.shadowRoot.querySelector(".close-icon");setTimeout(function(){return n.click();});_context9.next=7;return l(a,"nile-close");case 7:s=_context9.sent;i(s.detail).to.deep.equal({value:"TT",viewMoreCount:2}),i(document.body.contains(a)).to.be["false"];case 9:case"end":return _context9.stop();}},_callee8);})));});}};});
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-3bfb4490.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-filter-chip.cjs.js","tslib","lit/decorators.js","../internal/nile-element.cjs.js","./nile-filter-chip.css.cjs.js"],function(_export,_context){"use strict";var e,i,l,t,a,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8;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(_fixture003CjsJs){e=_fixture003CjsJs.f;i=_fixture003CjsJs.a;l=_fixture003CjsJs.o;},function(_litStaticHtmlJs){t=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFilterChipCjsJs){a=_nileFilterChipCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_internalNileElementCjsJs){},function(_nileFilterChipCssCjsJs){}],execute:function execute(){describe("<nile-filter-chip>",function(){afterEach(function(){a.activeChips=[];}),it("registers and unregisters itself in activeChips",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var l;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context2.sent;i(a.activeChips).to.include(l);l.remove();_context2.next=7;return l.updateComplete;case 7:i(a.activeChips).to.not.include(l);case 8:case"end":return _context2.stop();}},_callee);}))),it("renders fallback label and value",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var l,a,n;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(t(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"MyLabel\" value=\"MyText\"></nile-filter-chip>\n "]))));case 2:l=_context3.sent;a=l.shadowRoot.querySelector(".label");n=l.shadowRoot.querySelector(".value");i(a.textContent).to.equal("MyLabel:"),i(n.textContent.trim()).to.equal("MyText");case 6:case"end":return _context3.stop();}},_callee2);}))),it("renders slotted label and value over fallback",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var l,a,n;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(t(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-filter-chip>\n <span slot=\"label\">SLOT-LBL</span>\n <span slot=\"value\">SLOT-VAL</span>\n </nile-filter-chip>\n "]))));case 2:l=_context4.sent;a=l.querySelector('[slot="label"]');n=l.querySelector('[slot="value"]');i(a.textContent).to.equal("SLOT-LBL"),i(n.textContent).to.equal("SLOT-VAL");case 6:case"end":return _context4.stop();}},_callee3);}))),it("renders an icon when the `icon` property is set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var l;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return e(t(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <nile-filter-chip icon=\"\u2605\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context5.sent.shadowRoot.querySelector(".icon");i(l).to.exist,i(l.textContent).to.equal("★");case 4:case"end":return _context5.stop();}},_callee4);}))),it("does not render a badge when viewMoreCount is zero",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var l;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return e(t(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <nile-filter-chip viewMoreCount=\"0\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context6.sent;i(l.shadowRoot.querySelector("nile-badge")).to.be["null"];case 4:case"end":return _context6.stop();}},_callee5);}))),it("renders a +badge when viewMoreCount > 0",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var l;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return e(t(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n <nile-filter-chip viewMoreCount=\"5\" label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:l=_context7.sent.shadowRoot.querySelector("nile-badge");i(l).to.exist,i(l.textContent).to.contain("+5");case 4:case"end":return _context7.stop();}},_callee6);}))),it("dispatches `nile-click` on chip click",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var a,n,s;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return e(t(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <nile-filter-chip label=\"L\" value=\"T\"></nile-filter-chip>\n "]))));case 2:a=_context8.sent;n=a.shadowRoot.querySelector(".chip");setTimeout(function(){return n.click();});_context8.next=7;return l(a,"nile-click");case 7:s=_context8.sent;i(s.detail).to.deep.equal({value:"T",viewMoreCount:0});case 9:case"end":return _context8.stop();}},_callee7);}))),it("dispatches `nile-close` on close icon click and removes itself",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var a,n,s;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return e(t(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["\n <nile-filter-chip closable viewMoreCount=\"2\" value=\"TT\"></nile-filter-chip>\n "]))));case 2:a=_context9.sent;n=a.shadowRoot.querySelector(".close-icon");setTimeout(function(){return n.click();});_context9.next=7;return l(a,"nile-close");case 7:s=_context9.sent;i(s.detail).to.deep.equal({value:"TT",viewMoreCount:2}),i(document.body.contains(a)).to.be["false"];case 9:case"end":return _context9.stop();}},_callee8);})));});}};});
2
2
  //# sourceMappingURL=nile-filter-chip.test.cjs.js.map
@@ -1,4 +1,4 @@
1
- import{f as e,a as i,o as l}from"../fixture-588a3119.esm.js";import{html as t}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 a}from"./nile-filter-chip.esm.js";import"tslib";import"lit/decorators.js";import"../internal/nile-element.esm.js";import"./nile-filter-chip.css.esm.js";describe("<nile-filter-chip>",(()=>{afterEach((()=>{a.activeChips=[]})),it("registers and unregisters itself in activeChips",(async()=>{const l=await e(t`
1
+ import{f as e,a as i,o as l}from"../fixture-8edec91c.esm.js";import{html as t}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 a}from"./nile-filter-chip.esm.js";import"tslib";import"lit/decorators.js";import"../internal/nile-element.esm.js";import"./nile-filter-chip.css.esm.js";describe("<nile-filter-chip>",(()=>{afterEach((()=>{a.activeChips=[]})),it("registers and unregisters itself in activeChips",(async()=>{const l=await e(t`
2
2
  <nile-filter-chip label="L" value="T"></nile-filter-chip>
3
3
  `);i(a.activeChips).to.include(l),l.remove(),await l.updateComplete,i(a.activeChips).to.not.include(l)})),it("renders fallback label and value",(async()=>{const l=await e(t`
4
4
  <nile-filter-chip label="MyLabel" value="MyText"></nile-filter-chip>
@@ -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-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-form-group.cjs.js","tslib","lit/decorators.js","./nile-form-group.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,i,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8;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){t=_fixture001CjsJs.f;e=_fixture001CjsJs.a;},function(_litStaticHtmlJs){i=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFormGroupCjsJs){},function(_tslib){},function(_litDecoratorsJs){},function(_nileFormGroupCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){describe("NileFormGroup",function(){it("should have default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var l;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return t(i(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-form-group></nile-form-group>"]))));case 2:l=_context2.sent;e(l.title).to.equal(""),e(l.subtitle).to.equal("");case 4:case"end":return _context2.stop();}},_callee);}))),it("should render title when set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _l$textContent;var l;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return t(i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\"></nile-form-group>"]))));case 2:l=_context3.sent.shadowRoot.querySelector('slot[name="title"]');e(l).to.exist,e(l===null||l===void 0||(_l$textContent=l.textContent)===null||_l$textContent===void 0?void 0:_l$textContent.trim()).to.equal("Test Title");case 4:case"end":return _context3.stop();}},_callee2);}))),it("should render subtitle when set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _l$textContent2;var l;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return t(i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Test Subtitle\"></nile-form-group>"]))));case 2:l=_context4.sent.shadowRoot.querySelector('slot[name="subtitle"]');e(l).to.exist,e(l===null||l===void 0||(_l$textContent2=l.textContent)===null||_l$textContent2===void 0?void 0:_l$textContent2.trim()).to.equal("Test Subtitle");case 4:case"end":return _context4.stop();}},_callee3);}))),it("should not render title and subtitle if not set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var l,o,s;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return t(i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-form-group></nile-form-group>"]))));case 2:l=_context5.sent;o=l.shadowRoot.querySelector('slot[name="title"]');s=l.shadowRoot.querySelector('slot[name="subtitle"]');e(o).to.not.exist,e(s).to.not.exist;case 6:case"end":return _context5.stop();}},_callee4);}))),it("should render content inside the form body slot",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _l$assignedNodes;var l,o;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return t(i(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-form-group><p>Form Content</p></nile-form-group>"]))));case 2:l=_context6.sent.shadowRoot.querySelector(".form__body slot");o=(_l$assignedNodes=l===null||l===void 0?void 0:l.assignedNodes())!==null&&_l$assignedNodes!==void 0?_l$assignedNodes:[];e(o.length).to.equal(1),e(o[0].textContent.trim()).to.equal("Form Content");case 5:case"end":return _context6.stop();}},_callee5);}))),it("should reflect title and subtitle attributes",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var l;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return t(i(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Test Subtitle\"></nile-form-group>"]))));case 2:l=_context7.sent;e(l.getAttribute("title")).to.equal("Test Title"),e(l.getAttribute("subtitle")).to.equal("Test Subtitle");case 4:case"end":return _context7.stop();}},_callee6);}))),it("should update the title dynamically",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _l$shadowRoot$querySe;var l,o;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return t(i(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["<nile-form-group title=\"Initial Title\"></nile-form-group>"]))));case 2:l=_context8.sent;l.title="Updated Title";_context8.next=6;return l.updateComplete;case 6:o=(_l$shadowRoot$querySe=l.shadowRoot.querySelector('slot[name="title"]'))!==null&&_l$shadowRoot$querySe!==void 0?_l$shadowRoot$querySe:{};e(o.textContent.trim()).to.equal("Updated Title");case 8:case"end":return _context8.stop();}},_callee7);}))),it("should update the subtitle dynamically",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var _l$shadowRoot$querySe2;var l,o;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return t(i(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Initial Subtitle\"></nile-form-group>"]))));case 2:l=_context9.sent;l.subtitle="Updated Subtitle";_context9.next=6;return l.updateComplete;case 6:o=(_l$shadowRoot$querySe2=l.shadowRoot.querySelector('slot[name="subtitle"]'))!==null&&_l$shadowRoot$querySe2!==void 0?_l$shadowRoot$querySe2:{};e(o.textContent.trim()).to.equal("Updated Subtitle");case 8:case"end":return _context9.stop();}},_callee8);})));});}};});
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-3bfb4490.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-form-group.cjs.js","tslib","lit/decorators.js","./nile-form-group.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,i,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8;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(_fixture003CjsJs){t=_fixture003CjsJs.f;e=_fixture003CjsJs.a;},function(_litStaticHtmlJs){i=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFormGroupCjsJs){},function(_tslib){},function(_litDecoratorsJs){},function(_nileFormGroupCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){describe("NileFormGroup",function(){it("should have default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var l;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return t(i(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-form-group></nile-form-group>"]))));case 2:l=_context2.sent;e(l.title).to.equal(""),e(l.subtitle).to.equal("");case 4:case"end":return _context2.stop();}},_callee);}))),it("should render title when set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _l$textContent;var l;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return t(i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\"></nile-form-group>"]))));case 2:l=_context3.sent.shadowRoot.querySelector('slot[name="title"]');e(l).to.exist,e(l===null||l===void 0||(_l$textContent=l.textContent)===null||_l$textContent===void 0?void 0:_l$textContent.trim()).to.equal("Test Title");case 4:case"end":return _context3.stop();}},_callee2);}))),it("should render subtitle when set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _l$textContent2;var l;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return t(i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Test Subtitle\"></nile-form-group>"]))));case 2:l=_context4.sent.shadowRoot.querySelector('slot[name="subtitle"]');e(l).to.exist,e(l===null||l===void 0||(_l$textContent2=l.textContent)===null||_l$textContent2===void 0?void 0:_l$textContent2.trim()).to.equal("Test Subtitle");case 4:case"end":return _context4.stop();}},_callee3);}))),it("should not render title and subtitle if not set",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var l,o,s;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return t(i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-form-group></nile-form-group>"]))));case 2:l=_context5.sent;o=l.shadowRoot.querySelector('slot[name="title"]');s=l.shadowRoot.querySelector('slot[name="subtitle"]');e(o).to.not.exist,e(s).to.not.exist;case 6:case"end":return _context5.stop();}},_callee4);}))),it("should render content inside the form body slot",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _l$assignedNodes;var l,o;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return t(i(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-form-group><p>Form Content</p></nile-form-group>"]))));case 2:l=_context6.sent.shadowRoot.querySelector(".form__body slot");o=(_l$assignedNodes=l===null||l===void 0?void 0:l.assignedNodes())!==null&&_l$assignedNodes!==void 0?_l$assignedNodes:[];e(o.length).to.equal(1),e(o[0].textContent.trim()).to.equal("Form Content");case 5:case"end":return _context6.stop();}},_callee5);}))),it("should reflect title and subtitle attributes",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var l;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return t(i(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Test Subtitle\"></nile-form-group>"]))));case 2:l=_context7.sent;e(l.getAttribute("title")).to.equal("Test Title"),e(l.getAttribute("subtitle")).to.equal("Test Subtitle");case 4:case"end":return _context7.stop();}},_callee6);}))),it("should update the title dynamically",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _l$shadowRoot$querySe;var l,o;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_context8.next=2;return t(i(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["<nile-form-group title=\"Initial Title\"></nile-form-group>"]))));case 2:l=_context8.sent;l.title="Updated Title";_context8.next=6;return l.updateComplete;case 6:o=(_l$shadowRoot$querySe=l.shadowRoot.querySelector('slot[name="title"]'))!==null&&_l$shadowRoot$querySe!==void 0?_l$shadowRoot$querySe:{};e(o.textContent.trim()).to.equal("Updated Title");case 8:case"end":return _context8.stop();}},_callee7);}))),it("should update the subtitle dynamically",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){var _l$shadowRoot$querySe2;var l,o;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.next=2;return t(i(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["<nile-form-group title=\"Test Title\" subtitle=\"Initial Subtitle\"></nile-form-group>"]))));case 2:l=_context9.sent;l.subtitle="Updated Subtitle";_context9.next=6;return l.updateComplete;case 6:o=(_l$shadowRoot$querySe2=l.shadowRoot.querySelector('slot[name="subtitle"]'))!==null&&_l$shadowRoot$querySe2!==void 0?_l$shadowRoot$querySe2:{};e(o.textContent.trim()).to.equal("Updated Subtitle");case 8:case"end":return _context9.stop();}},_callee8);})));});}};});
2
2
  //# sourceMappingURL=nile-form-group.test.cjs.js.map
@@ -1 +1 @@
1
- import{f as t,a as e}from"../fixture-588a3119.esm.js";import{html as i}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import"./nile-form-group.esm.js";import"tslib";import"lit/decorators.js";import"./nile-form-group.css.esm.js";import"../internal/nile-element.esm.js";describe("NileFormGroup",(()=>{it("should have default properties",(async()=>{const l=await t(i`<nile-form-group></nile-form-group>`);e(l.title).to.equal(""),e(l.subtitle).to.equal("")})),it("should render title when set",(async()=>{const l=(await t(i`<nile-form-group title="Test Title"></nile-form-group>`)).shadowRoot.querySelector('slot[name="title"]');e(l).to.exist,e(l?.textContent?.trim()).to.equal("Test Title")})),it("should render subtitle when set",(async()=>{const l=(await t(i`<nile-form-group title="Test Title" subtitle="Test Subtitle"></nile-form-group>`)).shadowRoot.querySelector('slot[name="subtitle"]');e(l).to.exist,e(l?.textContent?.trim()).to.equal("Test Subtitle")})),it("should not render title and subtitle if not set",(async()=>{const l=await t(i`<nile-form-group></nile-form-group>`),o=l.shadowRoot.querySelector('slot[name="title"]'),s=l.shadowRoot.querySelector('slot[name="subtitle"]');e(o).to.not.exist,e(s).to.not.exist})),it("should render content inside the form body slot",(async()=>{const l=(await t(i`<nile-form-group><p>Form Content</p></nile-form-group>`)).shadowRoot.querySelector(".form__body slot"),o=l?.assignedNodes()??[];e(o.length).to.equal(1),e(o[0].textContent.trim()).to.equal("Form Content")})),it("should reflect title and subtitle attributes",(async()=>{const l=await t(i`<nile-form-group title="Test Title" subtitle="Test Subtitle"></nile-form-group>`);e(l.getAttribute("title")).to.equal("Test Title"),e(l.getAttribute("subtitle")).to.equal("Test Subtitle")})),it("should update the title dynamically",(async()=>{const l=await t(i`<nile-form-group title="Initial Title"></nile-form-group>`);l.title="Updated Title",await l.updateComplete;const o=l.shadowRoot.querySelector('slot[name="title"]')??{};e(o.textContent.trim()).to.equal("Updated Title")})),it("should update the subtitle dynamically",(async()=>{const l=await t(i`<nile-form-group title="Test Title" subtitle="Initial Subtitle"></nile-form-group>`);l.subtitle="Updated Subtitle",await l.updateComplete;const o=l.shadowRoot.querySelector('slot[name="subtitle"]')??{};e(o.textContent.trim()).to.equal("Updated Subtitle")}))}));
1
+ import{f as t,a as e}from"../fixture-8edec91c.esm.js";import{html as i}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import"./nile-form-group.esm.js";import"tslib";import"lit/decorators.js";import"./nile-form-group.css.esm.js";import"../internal/nile-element.esm.js";describe("NileFormGroup",(()=>{it("should have default properties",(async()=>{const l=await t(i`<nile-form-group></nile-form-group>`);e(l.title).to.equal(""),e(l.subtitle).to.equal("")})),it("should render title when set",(async()=>{const l=(await t(i`<nile-form-group title="Test Title"></nile-form-group>`)).shadowRoot.querySelector('slot[name="title"]');e(l).to.exist,e(l?.textContent?.trim()).to.equal("Test Title")})),it("should render subtitle when set",(async()=>{const l=(await t(i`<nile-form-group title="Test Title" subtitle="Test Subtitle"></nile-form-group>`)).shadowRoot.querySelector('slot[name="subtitle"]');e(l).to.exist,e(l?.textContent?.trim()).to.equal("Test Subtitle")})),it("should not render title and subtitle if not set",(async()=>{const l=await t(i`<nile-form-group></nile-form-group>`),o=l.shadowRoot.querySelector('slot[name="title"]'),s=l.shadowRoot.querySelector('slot[name="subtitle"]');e(o).to.not.exist,e(s).to.not.exist})),it("should render content inside the form body slot",(async()=>{const l=(await t(i`<nile-form-group><p>Form Content</p></nile-form-group>`)).shadowRoot.querySelector(".form__body slot"),o=l?.assignedNodes()??[];e(o.length).to.equal(1),e(o[0].textContent.trim()).to.equal("Form Content")})),it("should reflect title and subtitle attributes",(async()=>{const l=await t(i`<nile-form-group title="Test Title" subtitle="Test Subtitle"></nile-form-group>`);e(l.getAttribute("title")).to.equal("Test Title"),e(l.getAttribute("subtitle")).to.equal("Test Subtitle")})),it("should update the title dynamically",(async()=>{const l=await t(i`<nile-form-group title="Initial Title"></nile-form-group>`);l.title="Updated Title",await l.updateComplete;const o=l.shadowRoot.querySelector('slot[name="title"]')??{};e(o.textContent.trim()).to.equal("Updated Title")})),it("should update the subtitle dynamically",(async()=>{const l=await t(i`<nile-form-group title="Test Title" subtitle="Initial Subtitle"></nile-form-group>`);l.subtitle="Updated Subtitle",await l.updateComplete;const o=l.shadowRoot.querySelector('slot[name="subtitle"]')??{};e(o.textContent.trim()).to.equal("Updated Subtitle")}))}));
@@ -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-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-form-help-text.cjs.js","tslib","lit/decorators.js","./nile-form-help-text.css.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var t,e,i,l,o,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5;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){t=_fixture001CjsJs.f;e=_fixture001CjsJs.a;i=_fixture001CjsJs.e;},function(_litStaticHtmlJs){l=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFormHelpTextCjsJs){o=_nileFormHelpTextCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_nileFormHelpTextCssCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){describe("NileFormHelpText",function(){it("should render with default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var _i$textContent;var i,s;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return t(l(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-form-help-text>This is a short text</nile-form-help-text>"]))));case 2:i=_context2.sent;e(i).to.be.instanceOf(o),e(i.isExpanded).to.be["false"];s=i===null||i===void 0||(_i$textContent=i.textContent)===null||_i$textContent===void 0?void 0:_i$textContent.trim();e(s).to.equal("This is a short text");case 6:case"end":return _context2.stop();}},_callee);}))),it('should not show "View More" button if the text fits within the container',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _o$shadowRoot;var o,s;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return t(l(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-form-help-text>This is a short text</nile-form-help-text>"]))));case 2:o=_context3.sent;_context3.next=5;return i(o);case 5:s=(_o$shadowRoot=o.shadowRoot)===null||_o$shadowRoot===void 0?void 0:_o$shadowRoot.querySelector(".nile-form-help-text__more-button");e(s).to.be["null"],e(o.showButton).to.be["false"];case 7:case"end":return _context3.stop();}},_callee2);}))),it('should show "View More" button if the text overflows the container',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _o$shadowRoot2,_o$shadowRoot3;var o,s,h;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return t(l(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context4.sent;s=(_o$shadowRoot2=o.shadowRoot)===null||_o$shadowRoot2===void 0?void 0:_o$shadowRoot2.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context4.next=9;return i(o);case 9:h=(_o$shadowRoot3=o.shadowRoot)===null||_o$shadowRoot3===void 0?void 0:_o$shadowRoot3.querySelector(".nile-form-help-text__more-button");e(h).to.exist,e(o.showButton).to.be["true"];case 11:case"end":return _context4.stop();}},_callee3);}))),it('should expand to show full text when "View More" is clicked',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _o$shadowRoot4,_o$shadowRoot5;var o,s,h;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return t(l(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context5.sent;s=(_o$shadowRoot4=o.shadowRoot)===null||_o$shadowRoot4===void 0?void 0:_o$shadowRoot4.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context5.next=9;return i(o);case 9:h=(_o$shadowRoot5=o.shadowRoot)===null||_o$shadowRoot5===void 0?void 0:_o$shadowRoot5.querySelector(".nile-form-help-text__more-button");h!==null&&h!==void 0&&h.click();_context5.next=13;return i(o);case 13:e(o.isExpanded).to.be["true"];e(s).to.have["class"]("help__text__full--expanded");e(h===null||h===void 0?void 0:h.textContent).to.include("View Less");case 16:case"end":return _context5.stop();}},_callee4);}))),it('should collapse back to truncated text when "View Less" is clicked',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _o$shadowRoot6,_o$shadowRoot7;var o,s,h;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return t(l(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context6.sent;s=(_o$shadowRoot6=o.shadowRoot)===null||_o$shadowRoot6===void 0?void 0:_o$shadowRoot6.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context6.next=9;return i(o);case 9:h=(_o$shadowRoot7=o.shadowRoot)===null||_o$shadowRoot7===void 0?void 0:_o$shadowRoot7.querySelector(".nile-form-help-text__more-button");h!==null&&h!==void 0&&h.click();_context6.next=13;return i(o);case 13:h!==null&&h!==void 0&&h.click();_context6.next=16;return i(o);case 16:e(o.isExpanded).to.be["false"];e(s).not.to.have["class"]("help__text__full--expanded");e(h===null||h===void 0?void 0:h.textContent).to.include("View More");case 19:case"end":return _context6.stop();}},_callee5);})));});}};});
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-3bfb4490.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-form-help-text.cjs.js","tslib","lit/decorators.js","./nile-form-help-text.css.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var t,e,i,l,o,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5;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(_fixture003CjsJs){t=_fixture003CjsJs.f;e=_fixture003CjsJs.a;i=_fixture003CjsJs.e;},function(_litStaticHtmlJs){l=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileFormHelpTextCjsJs){o=_nileFormHelpTextCjsJs.N;},function(_tslib){},function(_litDecoratorsJs){},function(_nileFormHelpTextCssCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){describe("NileFormHelpText",function(){it("should render with default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var _i$textContent;var i,s;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return t(l(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-form-help-text>This is a short text</nile-form-help-text>"]))));case 2:i=_context2.sent;e(i).to.be.instanceOf(o),e(i.isExpanded).to.be["false"];s=i===null||i===void 0||(_i$textContent=i.textContent)===null||_i$textContent===void 0?void 0:_i$textContent.trim();e(s).to.equal("This is a short text");case 6:case"end":return _context2.stop();}},_callee);}))),it('should not show "View More" button if the text fits within the container',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _o$shadowRoot;var o,s;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return t(l(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-form-help-text>This is a short text</nile-form-help-text>"]))));case 2:o=_context3.sent;_context3.next=5;return i(o);case 5:s=(_o$shadowRoot=o.shadowRoot)===null||_o$shadowRoot===void 0?void 0:_o$shadowRoot.querySelector(".nile-form-help-text__more-button");e(s).to.be["null"],e(o.showButton).to.be["false"];case 7:case"end":return _context3.stop();}},_callee2);}))),it('should show "View More" button if the text overflows the container',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _o$shadowRoot2,_o$shadowRoot3;var o,s,h;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return t(l(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context4.sent;s=(_o$shadowRoot2=o.shadowRoot)===null||_o$shadowRoot2===void 0?void 0:_o$shadowRoot2.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context4.next=9;return i(o);case 9:h=(_o$shadowRoot3=o.shadowRoot)===null||_o$shadowRoot3===void 0?void 0:_o$shadowRoot3.querySelector(".nile-form-help-text__more-button");e(h).to.exist,e(o.showButton).to.be["true"];case 11:case"end":return _context4.stop();}},_callee3);}))),it('should expand to show full text when "View More" is clicked',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _o$shadowRoot4,_o$shadowRoot5;var o,s,h;return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return t(l(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context5.sent;s=(_o$shadowRoot4=o.shadowRoot)===null||_o$shadowRoot4===void 0?void 0:_o$shadowRoot4.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context5.next=9;return i(o);case 9:h=(_o$shadowRoot5=o.shadowRoot)===null||_o$shadowRoot5===void 0?void 0:_o$shadowRoot5.querySelector(".nile-form-help-text__more-button");h!==null&&h!==void 0&&h.click();_context5.next=13;return i(o);case 13:e(o.isExpanded).to.be["true"];e(s).to.have["class"]("help__text__full--expanded");e(h===null||h===void 0?void 0:h.textContent).to.include("View Less");case 16:case"end":return _context5.stop();}},_callee4);}))),it('should collapse back to truncated text when "View Less" is clicked',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var _o$shadowRoot6,_o$shadowRoot7;var o,s,h;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return t(l(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["<nile-form-help-text>","</nile-form-help-text>"])),'This is a very long help text that exceeds the container width and should show a "View More" button.'));case 2:o=_context6.sent;s=(_o$shadowRoot6=o.shadowRoot)===null||_o$shadowRoot6===void 0?void 0:_o$shadowRoot6.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300});Object.defineProperty(s,"clientWidth",{value:200});o.decideToToggleShowButton();_context6.next=9;return i(o);case 9:h=(_o$shadowRoot7=o.shadowRoot)===null||_o$shadowRoot7===void 0?void 0:_o$shadowRoot7.querySelector(".nile-form-help-text__more-button");h!==null&&h!==void 0&&h.click();_context6.next=13;return i(o);case 13:h!==null&&h!==void 0&&h.click();_context6.next=16;return i(o);case 16:e(o.isExpanded).to.be["false"];e(s).not.to.have["class"]("help__text__full--expanded");e(h===null||h===void 0?void 0:h.textContent).to.include("View More");case 19:case"end":return _context6.stop();}},_callee5);})));});}};});
2
2
  //# sourceMappingURL=nile-form-help-text.test.cjs.js.map
@@ -1 +1 @@
1
- import{f as t,a as e,e as i}from"../fixture-588a3119.esm.js";import{html as l}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 o}from"./nile-form-help-text.esm.js";import"tslib";import"lit/decorators.js";import"./nile-form-help-text.css.esm.js";import"lit/directives/class-map.js";describe("NileFormHelpText",(()=>{it("should render with default properties",(async()=>{const i=await t(l`<nile-form-help-text>This is a short text</nile-form-help-text>`);e(i).to.be.instanceOf(o),e(i.isExpanded).to.be.false;const s=i?.textContent?.trim();e(s).to.equal("This is a short text")})),it('should not show "View More" button if the text fits within the container',(async()=>{const o=await t(l`<nile-form-help-text>This is a short text</nile-form-help-text>`);await i(o);const s=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");e(s).to.be.null,e(o.showButton).to.be.false})),it('should show "View More" button if the text overflows the container',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");e(h).to.exist,e(o.showButton).to.be.true})),it('should expand to show full text when "View More" is clicked',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");h?.click(),await i(o),e(o.isExpanded).to.be.true,e(s).to.have.class("help__text__full--expanded"),e(h?.textContent).to.include("View Less")})),it('should collapse back to truncated text when "View Less" is clicked',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");h?.click(),await i(o),h?.click(),await i(o),e(o.isExpanded).to.be.false,e(s).not.to.have.class("help__text__full--expanded"),e(h?.textContent).to.include("View More")}))}));
1
+ import{f as t,a as e,e as i}from"../fixture-8edec91c.esm.js";import{html as l}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 o}from"./nile-form-help-text.esm.js";import"tslib";import"lit/decorators.js";import"./nile-form-help-text.css.esm.js";import"lit/directives/class-map.js";describe("NileFormHelpText",(()=>{it("should render with default properties",(async()=>{const i=await t(l`<nile-form-help-text>This is a short text</nile-form-help-text>`);e(i).to.be.instanceOf(o),e(i.isExpanded).to.be.false;const s=i?.textContent?.trim();e(s).to.equal("This is a short text")})),it('should not show "View More" button if the text fits within the container',(async()=>{const o=await t(l`<nile-form-help-text>This is a short text</nile-form-help-text>`);await i(o);const s=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");e(s).to.be.null,e(o.showButton).to.be.false})),it('should show "View More" button if the text overflows the container',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");e(h).to.exist,e(o.showButton).to.be.true})),it('should expand to show full text when "View More" is clicked',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");h?.click(),await i(o),e(o.isExpanded).to.be.true,e(s).to.have.class("help__text__full--expanded"),e(h?.textContent).to.include("View Less")})),it('should collapse back to truncated text when "View Less" is clicked',(async()=>{const o=await t(l`<nile-form-help-text>${'This is a very long help text that exceeds the container width and should show a "View More" button.'}</nile-form-help-text>`),s=o.shadowRoot?.querySelector(".help__text__full");Object.defineProperty(s,"scrollWidth",{value:300}),Object.defineProperty(s,"clientWidth",{value:200}),o.decideToToggleShowButton(),await i(o);const h=o.shadowRoot?.querySelector(".nile-form-help-text__more-button");h?.click(),await i(o),h?.click(),await i(o),e(o.isExpanded).to.be.false,e(s).not.to.have.class("help__text__full--expanded"),e(h?.textContent).to.include("View More")}))}));
@@ -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-3330277d.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-hero.cjs.js","tslib","lit/decorators.js","./nile-hero.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var e,i,t,_templateObject,_templateObject2,_templateObject3;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;i=_fixture001CjsJs.a;},function(_litStaticHtmlJs){t=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileHeroCjsJs){},function(_tslib){},function(_litDecoratorsJs){},function(_nileHeroCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){describe("NileHero",function(){it("renders correctly with default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var r;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t<nile-hero icon=\"error\" hero-text=\"Test Hero\">\n <nile-page-header\n heading=\"I am heading\"\n sub-heading=\"I am subheading\"\n ></nile-page-header>\n </nile-hero>"]))));case 2:r=_context2.sent;i(r.getAttribute("icon")).to.equal("error"),i(r.hasAttribute("collapse")).to.be["false"],i(r.getAttribute("img-src")).to.equal(""),i(r.getAttribute("hero-text")).to.equal("Test Hero"),i(r).shadowDom.to.equalSnapshot();case 4:case"end":return _context2.stop();}},_callee);}))),it("checks for collapsed state",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _r$shadowRoot;var r,a;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(t(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-hero></nile-hero>"]))));case 2:r=_context3.sent;r.collapse=!0;_context3.next=6;return r.updateComplete;case 6:i(r.collapse).to.be["true"];r.collapse=!0;_context3.next=10;return r.updateComplete;case 10:a=(_r$shadowRoot=r.shadowRoot)===null||_r$shadowRoot===void 0?void 0:_r$shadowRoot.querySelector(".hero__container");i(a===null||a===void 0?void 0:a.classList.contains("hero__container--collapsed")).to.be["true"];case 12:case"end":return _context3.stop();}},_callee2);}))),it("should render slot content",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var r,a;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(t(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-hero>\n <nile-page-header\n heading=\"I am heading\"\n sub-heading=\"I am subheading\"\n ></nile-page-header>\n </nile-hero>\n "]))));case 2:r=_context4.sent;_context4.next=5;return r.updateComplete;case 5:a=r.querySelector("nile-page-header");i(a).to.exist;case 7:case"end":return _context4.stop();}},_callee3);})));});}};});
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-3bfb4490.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-hero.cjs.js","tslib","lit/decorators.js","./nile-hero.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var e,i,t,_templateObject,_templateObject2,_templateObject3;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(_fixture003CjsJs){e=_fixture003CjsJs.f;i=_fixture003CjsJs.a;},function(_litStaticHtmlJs){t=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileHeroCjsJs){},function(_tslib){},function(_litDecoratorsJs){},function(_nileHeroCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){describe("NileHero",function(){it("renders correctly with default properties",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var r;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return e(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t<nile-hero icon=\"error\" hero-text=\"Test Hero\">\n <nile-page-header\n heading=\"I am heading\"\n sub-heading=\"I am subheading\"\n ></nile-page-header>\n </nile-hero>"]))));case 2:r=_context2.sent;i(r.getAttribute("icon")).to.equal("error"),i(r.hasAttribute("collapse")).to.be["false"],i(r.getAttribute("img-src")).to.equal(""),i(r.getAttribute("hero-text")).to.equal("Test Hero"),i(r).shadowDom.to.equalSnapshot();case 4:case"end":return _context2.stop();}},_callee);}))),it("checks for collapsed state",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _r$shadowRoot;var r,a;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return e(t(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-hero></nile-hero>"]))));case 2:r=_context3.sent;r.collapse=!0;_context3.next=6;return r.updateComplete;case 6:i(r.collapse).to.be["true"];r.collapse=!0;_context3.next=10;return r.updateComplete;case 10:a=(_r$shadowRoot=r.shadowRoot)===null||_r$shadowRoot===void 0?void 0:_r$shadowRoot.querySelector(".hero__container");i(a===null||a===void 0?void 0:a.classList.contains("hero__container--collapsed")).to.be["true"];case 12:case"end":return _context3.stop();}},_callee2);}))),it("should render slot content",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var r,a;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return e(t(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <nile-hero>\n <nile-page-header\n heading=\"I am heading\"\n sub-heading=\"I am subheading\"\n ></nile-page-header>\n </nile-hero>\n "]))));case 2:r=_context4.sent;_context4.next=5;return r.updateComplete;case 5:a=r.querySelector("nile-page-header");i(a).to.exist;case 7:case"end":return _context4.stop();}},_callee3);})));});}};});
2
2
  //# sourceMappingURL=nile-hero.test.cjs.js.map
@@ -1,4 +1,4 @@
1
- import{f as e,a as i}from"../fixture-588a3119.esm.js";import{html as t}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import"./nile-hero.esm.js";import"tslib";import"lit/decorators.js";import"./nile-hero.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directives/class-map.js";describe("NileHero",(()=>{it("renders correctly with default properties",(async()=>{const r=await e(t`
1
+ import{f as e,a as i}from"../fixture-8edec91c.esm.js";import{html as t}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import"./nile-hero.esm.js";import"tslib";import"lit/decorators.js";import"./nile-hero.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directives/class-map.js";describe("NileHero",(()=>{it("renders correctly with default properties",(async()=>{const r=await e(t`
2
2
  <nile-hero icon="error" hero-text="Test Hero">
3
3
  <nile-page-header
4
4
  heading="I am heading"