@aquera/nile-elements 0.0.6-5 → 0.0.6-7

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 (198) hide show
  1. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/index.d.ts +1 -0
  2. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/index.js +1 -0
  3. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/index.js.map +1 -1
  4. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/index.d.ts +1 -37
  5. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/index.js +1 -120
  6. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/index.js.map +1 -1
  7. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.css.d.ts +12 -0
  8. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.css.js +63 -0
  9. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.css.js.map +1 -0
  10. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.d.ts +45 -0
  11. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.js +80 -0
  12. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-badge/nile-badge.js.map +1 -0
  13. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/index.d.ts +1 -0
  14. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/index.js +2 -0
  15. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/index.js.map +1 -0
  16. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.d.ts +12 -0
  17. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js +77 -0
  18. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -0
  19. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.d.ts +50 -0
  20. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.js +180 -0
  21. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.js.map +1 -0
  22. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/array.d.ts +5 -0
  23. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/array.js +5 -0
  24. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/array.js.map +1 -0
  25. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/arrayofobject.d.ts +5 -0
  26. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/arrayofobject.js +5 -0
  27. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/arrayofobject.js.map +1 -0
  28. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/index.d.ts +5 -0
  29. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/index.js +5 -0
  30. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  31. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/numberinput.d.ts +5 -0
  32. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/numberinput.js +5 -0
  33. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/numberinput.js.map +1 -0
  34. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/object.d.ts +5 -0
  35. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/object.js +5 -0
  36. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/object.js.map +1 -0
  37. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/stringletters.d.ts +5 -0
  38. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/stringletters.js +5 -0
  39. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-icon/icons/svg/stringletters.js.map +1 -0
  40. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js +5 -0
  41. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  42. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.d.ts +15 -7
  43. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js +110 -29
  44. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  45. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-textarea/nile-textarea.js +3 -1
  46. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-textarea/nile-textarea.js.map +1 -1
  47. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
  48. package/demo/filenames.txt +1 -1
  49. package/demo/index.html +1 -1
  50. package/dist/index.cjs.js +1 -1
  51. package/dist/index.esm.js +1 -1
  52. package/dist/index.iife.js +329 -214
  53. package/dist/nile-badge/index.cjs.js +1 -1
  54. package/dist/nile-badge/index.cjs.js.map +1 -1
  55. package/dist/nile-badge/index.esm.js +1 -55
  56. package/dist/nile-badge/nile-badge.cjs.js +2 -0
  57. package/dist/nile-badge/nile-badge.cjs.js.map +1 -0
  58. package/dist/nile-badge/nile-badge.css.cjs.js +2 -0
  59. package/dist/nile-badge/nile-badge.css.cjs.js.map +1 -0
  60. package/dist/nile-badge/nile-badge.css.esm.js +51 -0
  61. package/dist/nile-badge/nile-badge.esm.js +12 -0
  62. package/dist/nile-button/index.cjs.js +1 -1
  63. package/dist/nile-button/index.esm.js +1 -1
  64. package/dist/nile-button/nile-button.cjs.js +1 -1
  65. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  66. package/dist/nile-button/nile-button.esm.js +1 -1
  67. package/dist/nile-content-editor/index.cjs.js +2 -0
  68. package/dist/nile-content-editor/index.cjs.js.map +1 -0
  69. package/dist/nile-content-editor/index.esm.js +1 -0
  70. package/dist/nile-content-editor/nile-content-editor.cjs.js +2 -0
  71. package/dist/nile-content-editor/nile-content-editor.cjs.js.map +1 -0
  72. package/dist/nile-content-editor/nile-content-editor.css.cjs.js +2 -0
  73. package/dist/nile-content-editor/nile-content-editor.css.cjs.js.map +1 -0
  74. package/dist/nile-content-editor/nile-content-editor.css.esm.js +65 -0
  75. package/dist/nile-content-editor/nile-content-editor.esm.js +33 -0
  76. package/dist/nile-icon/icons/svg/array.cjs.js +2 -0
  77. package/dist/nile-icon/icons/svg/array.cjs.js.map +1 -0
  78. package/dist/nile-icon/icons/svg/array.esm.js +1 -0
  79. package/dist/nile-icon/icons/svg/arrayofobject.cjs.js +2 -0
  80. package/dist/nile-icon/icons/svg/arrayofobject.cjs.js.map +1 -0
  81. package/dist/nile-icon/icons/svg/arrayofobject.esm.js +1 -0
  82. package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
  83. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  84. package/dist/nile-icon/icons/svg/numberinput.cjs.js +2 -0
  85. package/dist/nile-icon/icons/svg/numberinput.cjs.js.map +1 -0
  86. package/dist/nile-icon/icons/svg/numberinput.esm.js +1 -0
  87. package/dist/nile-icon/icons/svg/object.cjs.js +2 -0
  88. package/dist/nile-icon/icons/svg/object.cjs.js.map +1 -0
  89. package/dist/nile-icon/icons/svg/object.esm.js +1 -0
  90. package/dist/nile-icon/icons/svg/stringletters.cjs.js +2 -0
  91. package/dist/nile-icon/icons/svg/stringletters.cjs.js.map +1 -0
  92. package/dist/nile-icon/icons/svg/stringletters.esm.js +1 -0
  93. package/dist/nile-icon/index.cjs.js +1 -1
  94. package/dist/nile-icon/index.cjs.js.map +1 -1
  95. package/dist/nile-icon/index.esm.js +2 -2
  96. package/dist/nile-icon-button/index.cjs.js +1 -1
  97. package/dist/nile-icon-button/index.esm.js +1 -1
  98. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  99. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  100. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  101. package/dist/nile-input/index.cjs.js +1 -1
  102. package/dist/nile-input/index.esm.js +1 -1
  103. package/dist/nile-input/nile-input.cjs.js +1 -1
  104. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  105. package/dist/nile-input/nile-input.esm.js +1 -1
  106. package/dist/nile-menu-item/index.cjs.js +1 -1
  107. package/dist/nile-menu-item/index.esm.js +1 -1
  108. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  109. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  110. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  111. package/dist/nile-option/index.cjs.js +1 -1
  112. package/dist/nile-option/index.esm.js +1 -1
  113. package/dist/nile-option/nile-option.cjs.js +1 -1
  114. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  115. package/dist/nile-option/nile-option.esm.js +1 -1
  116. package/dist/nile-select/index.cjs.js +1 -1
  117. package/dist/nile-select/index.esm.js +1 -1
  118. package/dist/nile-select/nile-select.cjs.js +1 -1
  119. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  120. package/dist/nile-select/nile-select.esm.js +1 -1
  121. package/dist/nile-switcher/nile-switcher.cjs.js +1 -1
  122. package/dist/nile-switcher/nile-switcher.cjs.js.map +1 -1
  123. package/dist/nile-switcher/nile-switcher.css.cjs.js +1 -1
  124. package/dist/nile-switcher/nile-switcher.css.cjs.js.map +1 -1
  125. package/dist/nile-switcher/nile-switcher.css.esm.js +5 -0
  126. package/dist/nile-switcher/nile-switcher.esm.js +28 -21
  127. package/dist/nile-tag/index.cjs.js +1 -1
  128. package/dist/nile-tag/index.esm.js +1 -1
  129. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  130. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  131. package/dist/nile-tag/nile-tag.esm.js +1 -1
  132. package/dist/nile-textarea/nile-textarea.cjs.js +1 -1
  133. package/dist/nile-textarea/nile-textarea.cjs.js.map +1 -1
  134. package/dist/nile-textarea/nile-textarea.esm.js +1 -1
  135. package/dist/src/index.d.ts +1 -0
  136. package/dist/src/index.js +1 -0
  137. package/dist/src/index.js.map +1 -1
  138. package/dist/src/nile-badge/index.d.ts +1 -37
  139. package/dist/src/nile-badge/index.js +1 -120
  140. package/dist/src/nile-badge/index.js.map +1 -1
  141. package/dist/src/nile-badge/nile-badge.css.d.ts +12 -0
  142. package/dist/src/nile-badge/nile-badge.css.js +63 -0
  143. package/dist/src/nile-badge/nile-badge.css.js.map +1 -0
  144. package/dist/src/nile-badge/nile-badge.d.ts +45 -0
  145. package/dist/src/nile-badge/nile-badge.js +80 -0
  146. package/dist/src/nile-badge/nile-badge.js.map +1 -0
  147. package/dist/src/nile-content-editor/index.d.ts +1 -0
  148. package/dist/src/nile-content-editor/index.js +2 -0
  149. package/dist/src/nile-content-editor/index.js.map +1 -0
  150. package/dist/src/nile-content-editor/nile-content-editor.css.d.ts +12 -0
  151. package/dist/src/nile-content-editor/nile-content-editor.css.js +77 -0
  152. package/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -0
  153. package/dist/src/nile-content-editor/nile-content-editor.d.ts +50 -0
  154. package/dist/src/nile-content-editor/nile-content-editor.js +180 -0
  155. package/dist/src/nile-content-editor/nile-content-editor.js.map +1 -0
  156. package/dist/src/nile-icon/icons/svg/array.d.ts +5 -0
  157. package/dist/src/nile-icon/icons/svg/array.js +5 -0
  158. package/dist/src/nile-icon/icons/svg/array.js.map +1 -0
  159. package/dist/src/nile-icon/icons/svg/arrayofobject.d.ts +5 -0
  160. package/dist/src/nile-icon/icons/svg/arrayofobject.js +5 -0
  161. package/dist/src/nile-icon/icons/svg/arrayofobject.js.map +1 -0
  162. package/dist/src/nile-icon/icons/svg/index.d.ts +5 -0
  163. package/dist/src/nile-icon/icons/svg/index.js +5 -0
  164. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  165. package/dist/src/nile-icon/icons/svg/numberinput.d.ts +5 -0
  166. package/dist/src/nile-icon/icons/svg/numberinput.js +5 -0
  167. package/dist/src/nile-icon/icons/svg/numberinput.js.map +1 -0
  168. package/dist/src/nile-icon/icons/svg/object.d.ts +5 -0
  169. package/dist/src/nile-icon/icons/svg/object.js +5 -0
  170. package/dist/src/nile-icon/icons/svg/object.js.map +1 -0
  171. package/dist/src/nile-icon/icons/svg/stringletters.d.ts +5 -0
  172. package/dist/src/nile-icon/icons/svg/stringletters.js +5 -0
  173. package/dist/src/nile-icon/icons/svg/stringletters.js.map +1 -0
  174. package/dist/src/nile-switcher/nile-switcher.css.js +5 -0
  175. package/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  176. package/dist/src/nile-switcher/nile-switcher.d.ts +15 -7
  177. package/dist/src/nile-switcher/nile-switcher.js +110 -29
  178. package/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  179. package/dist/src/nile-textarea/nile-textarea.js +3 -1
  180. package/dist/src/nile-textarea/nile-textarea.js.map +1 -1
  181. package/dist/tsconfig.tsbuildinfo +1 -1
  182. package/package.json +1 -1
  183. package/src/index.ts +1 -0
  184. package/src/nile-badge/index.ts +1 -119
  185. package/src/nile-badge/nile-badge.css.ts +64 -0
  186. package/src/nile-badge/nile-badge.ts +94 -0
  187. package/src/nile-content-editor/index.ts +1 -0
  188. package/src/nile-content-editor/nile-content-editor.css.ts +79 -0
  189. package/src/nile-content-editor/nile-content-editor.ts +186 -0
  190. package/src/nile-icon/icons/svg/array.ts +5 -0
  191. package/src/nile-icon/icons/svg/arrayofobject.ts +5 -0
  192. package/src/nile-icon/icons/svg/index.ts +5 -0
  193. package/src/nile-icon/icons/svg/numberinput.ts +5 -0
  194. package/src/nile-icon/icons/svg/object.ts +5 -0
  195. package/src/nile-icon/icons/svg/stringletters.ts +5 -0
  196. package/src/nile-switcher/nile-switcher.css.ts +5 -0
  197. package/src/nile-switcher/nile-switcher.ts +118 -32
  198. package/src/nile-textarea/nile-textarea.ts +3 -1
@@ -31,3 +31,4 @@ export { NileFormHelpText } from './nile-form-help-text';
31
31
  export { NileCalendar } from './nile-calendar';
32
32
  export { NileLink } from './nile-link';
33
33
  export { NileSwitcher } from './nile-switcher';
34
+ export { NileContentEditor } from './nile-content-editor';
@@ -31,4 +31,5 @@ export { NileFormHelpText } from './nile-form-help-text';
31
31
  export { NileCalendar } from './nile-calendar';
32
32
  export { NileLink } from './nile-link';
33
33
  export { NileSwitcher } from './nile-switcher';
34
+ export { NileContentEditor } from './nile-content-editor';
34
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { NileButton } from './nile-button';\nexport { NileHeading } from './nile-heading';\nexport { NileIcon } from './nile-icon';\nexport { NileInput } from './nile-input';\nexport { NileSidebar } from './nile-sidebar';\nexport { NileMenu } from './nile-menu';\nexport { NileBadge } from './nile-badge';\nexport { NileDrawer } from './nile-drawer';\nexport { NileCheckbox } from './nile-checkbox';\nexport { NileRadio } from './nile-radio';\nexport { NileRadioGroup } from './nile-radio-group';\nexport { NilePopup } from './nile-popup';\nexport { NileTooltip } from './nile-tooltip';\nexport { NileSlideToggle } from './nile-slide-toggle';\nexport { NileLoader } from './nile-loader';\nexport { NileProgressBar } from './nile-progress-bar';\nexport { NileSpinner } from './nile-spinner';\nexport { NileSelect } from './nile-select';\nexport { NileOption } from './nile-option';\nexport { NileTag } from './nile-tag';\nexport { NileIconButton } from './nile-icon-button';\nexport { NileMenuItem } from './nile-menu-item';\nexport { NileDropdown } from './nile-dropdown';\nexport { NileAutoComplete } from './nile-auto-complete';\nexport { NileChip } from './nile-chip';\nexport { NileTextarea } from './nile-textarea';\nexport { NileDatePicker } from './nile-date-picker';\nexport { NileErrorMessage } from './nile-error-message';\nexport { NileFormErrorMessage } from './nile-form-error-message';\nexport { NileFormHelpText } from './nile-form-help-text';\nexport { NileCalendar } from './nile-calendar';\nexport { NileLink } from './nile-link';\nexport { NileSwitcher } from './nile-switcher';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { NileButton } from './nile-button';\nexport { NileHeading } from './nile-heading';\nexport { NileIcon } from './nile-icon';\nexport { NileInput } from './nile-input';\nexport { NileSidebar } from './nile-sidebar';\nexport { NileMenu } from './nile-menu';\nexport { NileBadge } from './nile-badge';\nexport { NileDrawer } from './nile-drawer';\nexport { NileCheckbox } from './nile-checkbox';\nexport { NileRadio } from './nile-radio';\nexport { NileRadioGroup } from './nile-radio-group';\nexport { NilePopup } from './nile-popup';\nexport { NileTooltip } from './nile-tooltip';\nexport { NileSlideToggle } from './nile-slide-toggle';\nexport { NileLoader } from './nile-loader';\nexport { NileProgressBar } from './nile-progress-bar';\nexport { NileSpinner } from './nile-spinner';\nexport { NileSelect } from './nile-select';\nexport { NileOption } from './nile-option';\nexport { NileTag } from './nile-tag';\nexport { NileIconButton } from './nile-icon-button';\nexport { NileMenuItem } from './nile-menu-item';\nexport { NileDropdown } from './nile-dropdown';\nexport { NileAutoComplete } from './nile-auto-complete';\nexport { NileChip } from './nile-chip';\nexport { NileTextarea } from './nile-textarea';\nexport { NileDatePicker } from './nile-date-picker';\nexport { NileErrorMessage } from './nile-error-message';\nexport { NileFormErrorMessage } from './nile-form-error-message';\nexport { NileFormHelpText } from './nile-form-help-text';\nexport { NileCalendar } from './nile-calendar';\nexport { NileLink } from './nile-link';\nexport { NileSwitcher } from './nile-switcher';\nexport { NileContentEditor } from './nile-content-editor';\n"]}
@@ -1,37 +1 @@
1
- import { LitElement } from 'lit';
2
- /**
3
- * An nile-badge element.
4
- *
5
- * @fires count-changed - Indicates when the count changes
6
- * @slot - This element has a slot
7
- * @csspart button - The button
8
- */
9
- export declare class NileBadge extends LitElement {
10
- static styles: import("lit").CSSResult;
11
- /**
12
- * Button Lab
13
- */
14
- name: number;
15
- /**
16
- * Button Lab
17
- */
18
- icon: string;
19
- /**
20
- * Button Lab
21
- */
22
- active: boolean;
23
- get buttonClassMap(): {
24
- 'nds-badge--active': boolean;
25
- };
26
- /**
27
- * Button Lab
28
- */
29
- href: string;
30
- _hasSlotContent(slotName: string): void;
31
- render(): import("lit-html").TemplateResult<1>;
32
- }
33
- declare global {
34
- interface HTMLElementTagNameMap {
35
- 'nile-badge': NileBadge;
36
- }
37
- }
1
+ export { NileBadge } from './nile-badge';
@@ -1,121 +1,2 @@
1
- import { __decorate } from "tslib";
2
- import { LitElement, html, css } from 'lit';
3
- import { customElement, property } from 'lit/decorators.js';
4
- import { classMap } from 'lit/directives/class-map.js';
5
- /**
6
- * An nile-badge element.
7
- *
8
- * @fires count-changed - Indicates when the count changes
9
- * @slot - This element has a slot
10
- * @csspart button - The button
11
- */
12
- let NileBadge = class NileBadge extends LitElement {
13
- constructor() {
14
- super(...arguments);
15
- /**
16
- * Button Lab
17
- */
18
- this.name = 0;
19
- /**
20
- * Button Lab
21
- */
22
- this.icon = '';
23
- /**
24
- * Button Lab
25
- */
26
- this.active = false;
27
- /**
28
- * Button Lab
29
- */
30
- this.href = '/';
31
- }
32
- get buttonClassMap() {
33
- return {
34
- 'nds-badge--active': this.active,
35
- };
36
- }
37
- _hasSlotContent(slotName) {
38
- const slot = this.querySelector(`slot[name=${slotName}]`);
39
- console.log(slot, 'slot');
40
- }
41
- render() {
42
- const { name, icon, href } = this;
43
- const hrefPath = `/${href}`;
44
- return html `
45
- <a class="nds-badge ${classMap(this.buttonClassMap)}">
46
- <span class="nds-badge__link">${this.name}</span>
47
- </a>
48
- `;
49
- }
50
- };
51
- NileBadge.styles = css `
52
- :host {
53
- display: block;
54
- }
55
- .nds-badge {
56
- width: 24px;
57
- height: 24px;
58
- border-radius: 9rem;
59
- font-size: 14px;
60
- justify-content: space-around;
61
- font-weight: bold;
62
- display: flex;
63
- background-color: rgb(221, 221, 221);
64
- flex-wrap: nowrap;
65
- align-items: center;
66
- color: var(--nile-colors-dark-900);
67
- }
68
-
69
- .nds-badge:hover {
70
- background: rgba(0, 94, 166, 0.1);
71
- }
72
-
73
- .nds-badge__link {
74
- font-family: var(--nile-font-family-sans-serif);
75
- font-style: normal;
76
- font-weight: 400;
77
- font-size: 14px;
78
- line-height: 1;
79
- letter-spacing: 0.2px;
80
- text-decoration: none;
81
- font-size: 12px;
82
- }
83
-
84
- .nds-badge__link:hover {
85
- color: var(--nile-colors-dark-900);
86
- }
87
-
88
- .nds-badge--active {
89
- background-color: var(--nile-colors-primary-700);
90
- color: var(--nile-colors-neutral-100);
91
- }
92
-
93
- .nds-badge--active:hover {
94
- background-color: var(---nile-colors-primary-700);
95
- }
96
-
97
- .nds-badge__icon {
98
- margin-bottom: 0;
99
- height: 14px;
100
- }
101
- `;
102
- __decorate([
103
- property()
104
- ], NileBadge.prototype, "name", void 0);
105
- __decorate([
106
- property()
107
- ], NileBadge.prototype, "icon", void 0);
108
- __decorate([
109
- property()
110
- ], NileBadge.prototype, "active", void 0);
111
- __decorate([
112
- property()
113
- ], NileBadge.prototype, "href", void 0);
114
- NileBadge = __decorate([
115
- customElement('nile-badge')
116
- ], NileBadge);
117
- export { NileBadge };
118
- // <span class="nds-badge__icon">
119
- // <nile-icon name="${this.icon}" size="14" color="#000"></nile-icon>
120
- // </span>
1
+ export { NileBadge } from './nile-badge';
121
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-badge/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD;;;;;;GAMG;AAEI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QAqDL;;WAEG;QAEH,SAAI,GAAG,CAAC,CAAC;QAET;;WAEG;QAEH,SAAI,GAAW,EAAE,CAAC;QAElB;;WAEG;QAEH,WAAM,GAAY,KAAK,CAAC;QAQxB;;WAEG;QAEH,SAAI,GAAG,GAAG,CAAC;IAgBb,CAAC;IA1BC,IAAI,cAAc;QAChB,OAAO;YACL,mBAAmB,EAAE,IAAI,CAAC,MAAM;SACjC,CAAC;IACJ,CAAC;IAQD,eAAe,CAAC,QAAgB;QAC9B,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,QAAQ,GAAG,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC5B,CAAC;IAEQ,MAAM;QACb,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;QAClC,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAA;4BACa,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC;wCACjB,IAAI,CAAC,IAAI;;KAE5C,CAAC;IACJ,CAAC;;AA/Fe,gBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkD3B,CAAC;AAMF;IADC,QAAQ,EAAE;uCACF;AAMT;IADC,QAAQ,EAAE;uCACO;AAMlB;IADC,QAAQ,EAAE;yCACa;AAYxB;IADC,QAAQ,EAAE;uCACA;AAjFA,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAiGrB;SAjGY,SAAS;AAyGtB,iCAAiC;AACjC,qEAAqE;AACrE,UAAU","sourcesContent":["import { LitElement, html, css } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\n/**\n * An nile-badge element.\n *\n * @fires count-changed - Indicates when the count changes\n * @slot - This element has a slot\n * @csspart button - The button\n */\n@customElement('nile-badge')\nexport class NileBadge extends LitElement {\n static override styles = css`\n :host {\n display: block;\n }\n .nds-badge {\n width: 24px;\n height: 24px;\n border-radius: 9rem;\n font-size: 14px;\n justify-content: space-around;\n font-weight: bold;\n display: flex;\n background-color: rgb(221, 221, 221);\n flex-wrap: nowrap;\n align-items: center;\n color: var(--nile-colors-dark-900);\n }\n\n .nds-badge:hover {\n background: rgba(0, 94, 166, 0.1);\n }\n \n .nds-badge__link {\n font-family: var(--nile-font-family-sans-serif);\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 1;\n letter-spacing: 0.2px;\n text-decoration: none;\n font-size: 12px;\n }\n\n .nds-badge__link:hover {\n color: var(--nile-colors-dark-900);\n }\n \n .nds-badge--active {\n background-color: var(--nile-colors-primary-700);\n color: var(--nile-colors-neutral-100);\n }\n\n .nds-badge--active:hover {\n background-color: var(---nile-colors-primary-700);\n }\n\n .nds-badge__icon {\n margin-bottom: 0;\n height: 14px;\n }\n `;\n\n /**\n * Button Lab\n */\n @property()\n name = 0;\n\n /**\n * Button Lab\n */\n @property()\n icon: string = '';\n\n /**\n * Button Lab\n */\n @property()\n active: boolean = false;\n\n get buttonClassMap() {\n return {\n 'nds-badge--active': this.active,\n };\n }\n\n /**\n * Button Lab\n */\n @property()\n href = '/';\n\n _hasSlotContent(slotName: string) {\n const slot = this.querySelector(`slot[name=${slotName}]`);\n console.log(slot, 'slot');\n }\n\n override render() {\n const { name, icon, href } = this;\n const hrefPath = `/${href}`;\n return html`\n <a class=\"nds-badge ${classMap(this.buttonClassMap)}\">\n <span class=\"nds-badge__link\">${this.name}</span>\n </a>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-badge': NileBadge;\n }\n}\n\n// <span class=\"nds-badge__icon\">\n// <nile-icon name=\"${this.icon}\" size=\"14\" color=\"#000\"></nile-icon>\n// </span>\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { NileBadge } from './nile-badge';\n"]}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /**
8
+ * Tag CSS
9
+ */
10
+ export declare const styles: import("lit-element").CSSResult;
11
+ declare const _default: import("lit-element").CSSResult[];
12
+ export default _default;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { css } from 'lit-element';
8
+ /**
9
+ * Tag CSS
10
+ */
11
+ export const styles = css `
12
+ :host {
13
+ }
14
+
15
+ .badge {
16
+ padding: 0 4px;
17
+ border-radius: 4px;
18
+ height: 16px;
19
+ font-size: 10.24px;
20
+ display: inline-flex;
21
+ align-items: center;/
22
+ justify-content: center;
23
+ }
24
+
25
+ .badge__content {
26
+ font-family: Colfax-regular;
27
+ font-size: 10.24px;
28
+ font-style: normal;
29
+ font-weight: 400;
30
+ letter-spacing: 0.2px;
31
+ }
32
+
33
+ .badge--primary {
34
+ background: #005EA6;
35
+ }
36
+
37
+ .badge--success {
38
+ background: #A5F3E1;
39
+ }
40
+
41
+ .badge--normal {
42
+ background: #E5E9EB;
43
+ }
44
+
45
+ .badge--warning {
46
+ background: #F3E0A5;
47
+ }
48
+
49
+ .badge--error {
50
+ background: #F3A5AA;
51
+ }
52
+
53
+ .badge--info {
54
+ background: #A5D3F3;
55
+ }
56
+
57
+ .badge--rounded {
58
+ border-radius: 100px;
59
+ padding: 0 6px;
60
+ }
61
+ `;
62
+ export default [styles];
63
+ //# sourceMappingURL=nile-badge.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-badge.css.js","sourceRoot":"","sources":["../../../src/nile-badge/nile-badge.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDxB,CAAC;AACF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * Tag CSS\n */\nexport const styles = css`\n :host {\n }\n\n .badge {\n padding: 0 4px;\n border-radius: 4px;\n height: 16px;\n font-size: 10.24px;\n display: inline-flex;\n align-items: center;/\n justify-content: center;\n }\n\n .badge__content {\n font-family: Colfax-regular;\n font-size: 10.24px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .badge--primary {\n background: #005EA6;\n }\n\n .badge--success {\n background: #A5F3E1;\n }\n\n .badge--normal {\n background: #E5E9EB;\n }\n\n .badge--warning {\n background: #F3E0A5;\n }\n\n .badge--error {\n background: #F3A5AA;\n }\n\n .badge--info {\n background: #A5D3F3;\n }\n\n .badge--rounded {\n border-radius: 100px;\n padding: 0 6px;\n }\n`;\nexport default [styles];\n"]}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { TemplateResult } from 'lit-element';
8
+ import '../nile-icon-button/nile-icon-button';
9
+ import NileElement from '../internal/nile-element';
10
+ import type { CSSResultGroup } from 'lit';
11
+ /**
12
+ * Nile icon component.
13
+ *
14
+ * @tag nile-badge
15
+ *
16
+ */
17
+ /**
18
+ * @summary badges are used as labels to organize things or to indicate a selection.
19
+ * @status stable
20
+ *
21
+ * @dependency nile-icon-button
22
+ *
23
+ * @slot - The badge's content.
24
+ *
25
+ * @event nile-remove - Emitted when the remove button is activated.
26
+ *
27
+ * @csspart base - The component's base wrapper.
28
+ * @csspart content - The badge's content.
29
+ * @csspart remove-button - The badge's remove button, an `<nile-icon-button>`.
30
+ * @csspart remove-button__base - The remove button's exported `base` part.
31
+ */
32
+ export declare class NileBadge extends NileElement {
33
+ static styles: CSSResultGroup;
34
+ /** The badge's theme variant. */
35
+ variant: 'primary' | 'success' | 'normal' | 'warning' | 'error' | 'info';
36
+ /** Draws a pill-style badge with rounded edges. */
37
+ rounded: boolean;
38
+ render(): TemplateResult<1>;
39
+ }
40
+ export default NileBadge;
41
+ declare global {
42
+ interface HTMLElementTagNameMap {
43
+ 'nile-badge': NileBadge;
44
+ }
45
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { __decorate } from "tslib";
8
+ import { html, property, } from 'lit-element';
9
+ import { styles } from './nile-badge.css';
10
+ import '../nile-icon-button/nile-icon-button';
11
+ import { classMap } from 'lit/directives/class-map.js';
12
+ import { customElement } from 'lit/decorators.js';
13
+ import NileElement from '../internal/nile-element';
14
+ /**
15
+ * Nile icon component.
16
+ *
17
+ * @tag nile-badge
18
+ *
19
+ */
20
+ /**
21
+ * @summary badges are used as labels to organize things or to indicate a selection.
22
+ * @status stable
23
+ *
24
+ * @dependency nile-icon-button
25
+ *
26
+ * @slot - The badge's content.
27
+ *
28
+ * @event nile-remove - Emitted when the remove button is activated.
29
+ *
30
+ * @csspart base - The component's base wrapper.
31
+ * @csspart content - The badge's content.
32
+ * @csspart remove-button - The badge's remove button, an `<nile-icon-button>`.
33
+ * @csspart remove-button__base - The remove button's exported `base` part.
34
+ */
35
+ let NileBadge = class NileBadge extends NileElement {
36
+ constructor() {
37
+ super(...arguments);
38
+ /** The badge's theme variant. */
39
+ this.variant = 'normal';
40
+ /** Draws a pill-style badge with rounded edges. */
41
+ this.rounded = false;
42
+ }
43
+ render() {
44
+ return html `
45
+ <span
46
+ part="base"
47
+ class=${classMap({
48
+ badge: true,
49
+ // Types
50
+ 'badge--primary': this.variant === 'primary',
51
+ 'badge--success': this.variant === 'success',
52
+ 'badge--normal': this.variant === 'normal',
53
+ 'badge--warning': this.variant === 'warning',
54
+ 'badge--error': this.variant === 'error',
55
+ 'badge--info': this.variant === 'info',
56
+ 'badge--rounded': this.rounded,
57
+ })}
58
+ >
59
+
60
+
61
+ <slot part="content" class="badge__content"></slot>
62
+
63
+
64
+ </span>
65
+ `;
66
+ }
67
+ };
68
+ NileBadge.styles = styles;
69
+ __decorate([
70
+ property({ reflect: true })
71
+ ], NileBadge.prototype, "variant", void 0);
72
+ __decorate([
73
+ property({ type: Boolean, reflect: true })
74
+ ], NileBadge.prototype, "rounded", void 0);
75
+ NileBadge = __decorate([
76
+ customElement('nile-badge')
77
+ ], NileBadge);
78
+ export { NileBadge };
79
+ export default NileBadge;
80
+ //# sourceMappingURL=nile-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-badge.js","sourceRoot":"","sources":["../../../src/nile-badge/nile-badge.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAEL,IAAI,EACJ,QAAQ,GAGT,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAGI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,WAAW;IAAnC;;QAGL,iCAAiC;QACJ,YAAO,GAMvB,QAAQ,CAAC;QAEtB,mDAAmD;QACP,YAAO,GAAG,KAAK,CAAC;IA4B9D,CAAC;IAzBC,MAAM;QACJ,OAAO,IAAI,CAAA;;;gBAGC,QAAQ,CAAC;YACf,KAAK,EAAE,IAAI;YAEX,QAAQ;YACR,gBAAgB,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;YAC5C,gBAAgB,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;YAC5C,eAAe,EAAE,IAAI,CAAC,OAAO,KAAK,QAAQ;YAC1C,gBAAgB,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;YAC5C,cAAc,EAAE,IAAI,CAAC,OAAO,KAAK,OAAO;YACxC,aAAa,EAAE,IAAI,CAAC,OAAO,KAAK,MAAM;YACtC,gBAAgB,EAAE,IAAI,CAAC,OAAO;SAC/B,CAAC;;;;;;;;KAQL,CAAC;IACJ,CAAC;;AAvCM,gBAAM,GAAmB,MAAM,CAAC;AAGV;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAMN;AAGsB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAAiB;AAbjD,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAyCrB;SAzCY,SAAS;AA2CtB,eAAe,SAAS,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n LitElement,\n html,\n property,\n CSSResultArray,\n TemplateResult,\n} from 'lit-element';\nimport { styles } from './nile-badge.css';\nimport '../nile-icon-button/nile-icon-button';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { customElement } from 'lit/decorators.js';\nimport NileElement from '../internal/nile-element';\nimport type { CSSResultGroup } from 'lit';\n/**\n * Nile icon component.\n *\n * @tag nile-badge\n *\n */\n\n/**\n * @summary badges are used as labels to organize things or to indicate a selection.\n * @status stable\n *\n * @dependency nile-icon-button\n *\n * @slot - The badge's content.\n *\n * @event nile-remove - Emitted when the remove button is activated.\n *\n * @csspart base - The component's base wrapper.\n * @csspart content - The badge's content.\n * @csspart remove-button - The badge's remove button, an `<nile-icon-button>`.\n * @csspart remove-button__base - The remove button's exported `base` part.\n */\n\n@customElement('nile-badge')\nexport class NileBadge extends NileElement {\n static styles: CSSResultGroup = styles;\n\n /** The badge's theme variant. */\n @property({ reflect: true }) variant:\n | 'primary'\n | 'success'\n | 'normal'\n | 'warning'\n | 'error'\n | 'info' = 'normal';\n\n /** Draws a pill-style badge with rounded edges. */\n @property({ type: Boolean, reflect: true }) rounded = false;\n\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n badge: true,\n\n // Types\n 'badge--primary': this.variant === 'primary',\n 'badge--success': this.variant === 'success',\n 'badge--normal': this.variant === 'normal',\n 'badge--warning': this.variant === 'warning',\n 'badge--error': this.variant === 'error',\n 'badge--info': this.variant === 'info',\n 'badge--rounded': this.rounded,\n })}\n >\n\n\n <slot part=\"content\" class=\"badge__content\"></slot>\n\n\n </span>\n `;\n }\n}\n\nexport default NileBadge;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-badge': NileBadge;\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ export { NileContentEditor } from './nile-content-editor';
@@ -0,0 +1,2 @@
1
+ export { NileContentEditor } from './nile-content-editor';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-content-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { NileContentEditor } from './nile-content-editor';\n"]}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /**
8
+ * AttributeExpression CSS
9
+ */
10
+ export declare const styles: import("lit-element").CSSResult;
11
+ declare const _default: import("lit-element").CSSResult[];
12
+ export default _default;
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { css } from 'lit-element';
8
+ /**
9
+ * AttributeExpression CSS
10
+ */
11
+ export const styles = css `
12
+ :host {
13
+ width: 100%;
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ .content-editable-wrapper {
18
+ position: relative;
19
+ width: 100%;
20
+ box-sizing: border-box;
21
+ }
22
+ .content-editable-input {
23
+ box-sizing: border-box;
24
+ width: 100%;
25
+ padding: 9px;
26
+ border: 1px solid #c7ced4;
27
+ border-radius: 4px;
28
+ overflow-x: auto;
29
+ overflow-anchor: none;
30
+ scrollbar-width: none;
31
+ -ms-overflow-style: none;
32
+ cursor: text;
33
+ white-space: nowrap;
34
+ background-color: #ffffff;
35
+ height: 38px;
36
+ }
37
+ .content-editable-input:focus {
38
+ outline: none;
39
+ }
40
+
41
+ .content-editable-input::-webkit-scrollbar {
42
+ display: none;
43
+ }
44
+
45
+ .chips {
46
+ background: #e5e9eb;
47
+ color: #000;
48
+ border-radius: 4px;
49
+ padding: 6px;
50
+ margin-left: 3px;
51
+ display: inline;
52
+ letter-spacing: 0.2px;
53
+ }
54
+
55
+ .nile-options-container {
56
+ box-sizing: border-box;
57
+ background-color: #ffffff;
58
+ border: 1px solid #c7ced4;
59
+ overflow: auto;
60
+ }
61
+
62
+ nile-popup::part(popup) {
63
+ top: 91px;
64
+ }
65
+
66
+ label {
67
+ display: inline-block;
68
+ margin-bottom: 6px;
69
+ font-family: 'colfax-medium';
70
+ }
71
+
72
+ .asterik {
73
+ color: #e5434d;
74
+ }
75
+ `;
76
+ export default [styles];
77
+ //# sourceMappingURL=nile-content-editor.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-content-editor.css.js","sourceRoot":"","sources":["../../../src/nile-content-editor/nile-content-editor.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgExB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * AttributeExpression CSS\n */\nexport const styles = css`\n :host {\n width: 100%;\n box-sizing: border-box;\n }\n\n .content-editable-wrapper {\n position: relative;\n width: 100%;\n box-sizing: border-box;\n }\n .content-editable-input {\n box-sizing: border-box;\n width: 100%;\n padding: 9px;\n border: 1px solid #c7ced4;\n border-radius: 4px;\n overflow-x: auto;\n overflow-anchor: none;\n scrollbar-width: none;\n -ms-overflow-style: none;\n cursor: text;\n white-space: nowrap;\n background-color: #ffffff;\n height: 38px;\n }\n .content-editable-input:focus {\n outline: none;\n }\n\n .content-editable-input::-webkit-scrollbar {\n display: none;\n }\n\n .chips {\n background: #e5e9eb;\n color: #000;\n border-radius: 4px;\n padding: 6px;\n margin-left: 3px;\n display: inline;\n letter-spacing: 0.2px;\n }\n\n .nile-options-container {\n box-sizing: border-box;\n background-color: #ffffff;\n border: 1px solid #c7ced4;\n overflow: auto;\n }\n\n nile-popup::part(popup) {\n top: 91px;\n }\n\n label {\n display: inline-block;\n margin-bottom: 6px;\n font-family: 'colfax-medium';\n }\n\n .asterik {\n color: #e5434d;\n }\n`;\n\nexport default [styles];\n"]}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Copyright Aquera Inc 2023
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { TemplateResult } from 'lit-element';
8
+ import { CSSResultGroup } from 'lit';
9
+ import NileElement from '../internal/nile-element';
10
+ /**
11
+ * Nile icon component.
12
+ *
13
+ * @tag nile-attribute-expression
14
+ *
15
+ */
16
+ export declare class NileContentEditor extends NileElement {
17
+ /**
18
+ * @summary Allows you to handle both input and dropdown selection
19
+
20
+ * @dependency nile-option
21
+
22
+ * @event nile-change - Emitted when the control's value changes.
23
+ */
24
+ value: string;
25
+ dropdownOptions: Array<any>;
26
+ showLabel: boolean;
27
+ labelText: string;
28
+ required: boolean;
29
+ input: HTMLInputElement;
30
+ private openDropdown;
31
+ helpText: string;
32
+ errorMessage: string;
33
+ static styles: CSSResultGroup;
34
+ connectedCallback(): void;
35
+ disconnectedCallback(): void;
36
+ afterFirstRender(): Promise<boolean>;
37
+ private handleChange;
38
+ generateValuesFromHTMLTags(string: any): string;
39
+ generateHTMLTagsWithValues(string: any): string;
40
+ emitInputChange(): void;
41
+ handleOptions(option: any): void;
42
+ renderAutoOptions(): TemplateResult;
43
+ render(): TemplateResult;
44
+ }
45
+ export default NileContentEditor;
46
+ declare global {
47
+ interface HTMLElementTagNameMap {
48
+ 'nile-content-editor': NileContentEditor;
49
+ }
50
+ }