jebamo 0.0.1 → 0.0.2

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 (437) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/index-d5fa9014.js +1722 -0
  5. package/dist/cjs/index-d5fa9014.js.map +1 -0
  6. package/dist/cjs/index.cjs.js +4 -0
  7. package/dist/cjs/index.cjs.js.map +1 -0
  8. package/dist/cjs/je-alert_31.cjs.entry.js +4772 -0
  9. package/dist/cjs/je-alert_31.cjs.entry.js.map +1 -0
  10. package/dist/cjs/je-branch.cjs.entry.js +22 -0
  11. package/dist/cjs/je-branch.cjs.entry.js.map +1 -0
  12. package/dist/cjs/je-column-group.cjs.entry.js +29 -0
  13. package/dist/cjs/je-column-group.cjs.entry.js.map +1 -0
  14. package/dist/cjs/je-column.cjs.entry.js +73 -0
  15. package/dist/cjs/je-column.cjs.entry.js.map +1 -0
  16. package/dist/cjs/je-infinite.cjs.entry.js +45 -0
  17. package/dist/cjs/je-infinite.cjs.entry.js.map +1 -0
  18. package/dist/cjs/je-menu-option.cjs.entry.js +22 -0
  19. package/dist/cjs/je-menu-option.cjs.entry.js.map +1 -0
  20. package/dist/cjs/je-menu.cjs.entry.js +22 -0
  21. package/dist/cjs/je-menu.cjs.entry.js.map +1 -0
  22. package/dist/cjs/je-tab.cjs.entry.js +22 -0
  23. package/dist/cjs/je-tab.cjs.entry.js.map +1 -0
  24. package/dist/cjs/je-tabs.cjs.entry.js +22 -0
  25. package/dist/cjs/je-tabs.cjs.entry.js.map +1 -0
  26. package/dist/cjs/je-toast.cjs.entry.js +22 -0
  27. package/dist/cjs/je-toast.cjs.entry.js.map +1 -0
  28. package/dist/cjs/je-tree.cjs.entry.js +22 -0
  29. package/dist/cjs/je-tree.cjs.entry.js.map +1 -0
  30. package/dist/cjs/jebamo.cjs.js +27 -0
  31. package/dist/cjs/jebamo.cjs.js.map +1 -0
  32. package/dist/cjs/loader.cjs.js +17 -0
  33. package/dist/cjs/loader.cjs.js.map +1 -0
  34. package/dist/collection/collection-manifest.json +52 -0
  35. package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.css +10 -0
  36. package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.js +141 -0
  37. package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.js.map +1 -0
  38. package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.css +13 -0
  39. package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.js +153 -0
  40. package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.js.map +1 -0
  41. package/dist/collection/components/column/je-column/je-column.css +10 -0
  42. package/dist/collection/components/column/je-column/je-column.js +187 -0
  43. package/dist/collection/components/column/je-column/je-column.js.map +1 -0
  44. package/dist/collection/components/column/je-column-group/je-column-group.css +4 -0
  45. package/dist/collection/components/column/je-column-group/je-column-group.js +49 -0
  46. package/dist/collection/components/column/je-column-group/je-column-group.js.map +1 -0
  47. package/dist/collection/components/je-alert/je-alert.css +84 -0
  48. package/dist/collection/components/je-alert/je-alert.js +339 -0
  49. package/dist/collection/components/je-alert/je-alert.js.map +1 -0
  50. package/dist/collection/components/je-button/je-button.css +180 -0
  51. package/dist/collection/components/je-button/je-button.js +252 -0
  52. package/dist/collection/components/je-button/je-button.js.map +1 -0
  53. package/dist/collection/components/je-card/je-card.css +113 -0
  54. package/dist/collection/components/je-card/je-card.js +67 -0
  55. package/dist/collection/components/je-card/je-card.js.map +1 -0
  56. package/dist/collection/components/je-checkbox/je-checkbox.css +14 -0
  57. package/dist/collection/components/je-checkbox/je-checkbox.js +191 -0
  58. package/dist/collection/components/je-checkbox/je-checkbox.js.map +1 -0
  59. package/dist/collection/components/je-color/je-color.css +39 -0
  60. package/dist/collection/components/je-color/je-color.js +116 -0
  61. package/dist/collection/components/je-color/je-color.js.map +1 -0
  62. package/dist/collection/components/je-datepicker/je-datepicker.css +56 -0
  63. package/dist/collection/components/je-datepicker/je-datepicker.js +129 -0
  64. package/dist/collection/components/je-datepicker/je-datepicker.js.map +1 -0
  65. package/dist/collection/components/je-details/je-details.css +39 -0
  66. package/dist/collection/components/je-details/je-details.js +63 -0
  67. package/dist/collection/components/je-details/je-details.js.map +1 -0
  68. package/dist/collection/components/je-divider/je-divider.css +32 -0
  69. package/dist/collection/components/je-divider/je-divider.js +63 -0
  70. package/dist/collection/components/je-divider/je-divider.js.map +1 -0
  71. package/dist/collection/components/je-drawer/je-drawer.css +51 -0
  72. package/dist/collection/components/je-drawer/je-drawer.js +71 -0
  73. package/dist/collection/components/je-drawer/je-drawer.js.map +1 -0
  74. package/dist/collection/components/je-dropzone/je-dropzone.css +21 -0
  75. package/dist/collection/components/je-dropzone/je-dropzone.js +86 -0
  76. package/dist/collection/components/je-dropzone/je-dropzone.js.map +1 -0
  77. package/dist/collection/components/je-form/je-form.css +12 -0
  78. package/dist/collection/components/je-form/je-form.js +95 -0
  79. package/dist/collection/components/je-form/je-form.js.map +1 -0
  80. package/dist/collection/components/je-icon/je-icon.css +60 -0
  81. package/dist/collection/components/je-icon/je-icon.js +122 -0
  82. package/dist/collection/components/je-icon/je-icon.js.map +1 -0
  83. package/dist/collection/components/je-infinite/je-infinite.css +18 -0
  84. package/dist/collection/components/je-infinite/je-infinite.js +119 -0
  85. package/dist/collection/components/je-infinite/je-infinite.js.map +1 -0
  86. package/dist/collection/components/je-input/je-input.css +96 -0
  87. package/dist/collection/components/je-input/je-input.js +862 -0
  88. package/dist/collection/components/je-input/je-input.js.map +1 -0
  89. package/dist/collection/components/je-link/je-link.css +15 -0
  90. package/dist/collection/components/je-link/je-link.js +207 -0
  91. package/dist/collection/components/je-link/je-link.js.map +1 -0
  92. package/dist/collection/components/je-loading/je-loading.css +50 -0
  93. package/dist/collection/components/je-loading/je-loading.js +48 -0
  94. package/dist/collection/components/je-loading/je-loading.js.map +1 -0
  95. package/dist/collection/components/je-modal/je-modal.css +75 -0
  96. package/dist/collection/components/je-modal/je-modal.js +220 -0
  97. package/dist/collection/components/je-modal/je-modal.js.map +1 -0
  98. package/dist/collection/components/je-page/je-page.css +202 -0
  99. package/dist/collection/components/je-page/je-page.js +129 -0
  100. package/dist/collection/components/je-page/je-page.js.map +1 -0
  101. package/dist/collection/components/je-pill/je-pill.css +43 -0
  102. package/dist/collection/components/je-pill/je-pill.js +82 -0
  103. package/dist/collection/components/je-pill/je-pill.js.map +1 -0
  104. package/dist/collection/components/je-placeholder/je-placeholder.css +39 -0
  105. package/dist/collection/components/je-placeholder/je-placeholder.js +44 -0
  106. package/dist/collection/components/je-placeholder/je-placeholder.js.map +1 -0
  107. package/dist/collection/components/je-popover/je-popover.css +60 -0
  108. package/dist/collection/components/je-popover/je-popover.js +499 -0
  109. package/dist/collection/components/je-popover/je-popover.js.map +1 -0
  110. package/dist/collection/components/je-textarea/je-textarea.css +59 -0
  111. package/dist/collection/components/je-textarea/je-textarea.js +171 -0
  112. package/dist/collection/components/je-textarea/je-textarea.js.map +1 -0
  113. package/dist/collection/components/je-toast/je-toast.css +3 -0
  114. package/dist/collection/components/je-toast/je-toast.js +19 -0
  115. package/dist/collection/components/je-toast/je-toast.js.map +1 -0
  116. package/dist/collection/components/je-toggle/je-toggle.css +48 -0
  117. package/dist/collection/components/je-toggle/je-toggle.js +105 -0
  118. package/dist/collection/components/je-toggle/je-toggle.js.map +1 -0
  119. package/dist/collection/components/je-toolbar/je-toolbar.css +16 -0
  120. package/dist/collection/components/je-toolbar/je-toolbar.js +19 -0
  121. package/dist/collection/components/je-toolbar/je-toolbar.js.map +1 -0
  122. package/dist/collection/components/menu/je-menu/je-menu.css +3 -0
  123. package/dist/collection/components/menu/je-menu/je-menu.js +19 -0
  124. package/dist/collection/components/menu/je-menu/je-menu.js.map +1 -0
  125. package/dist/collection/components/menu/je-menu-option/je-menu-option.css +3 -0
  126. package/dist/collection/components/menu/je-menu-option/je-menu-option.js +19 -0
  127. package/dist/collection/components/menu/je-menu-option/je-menu-option.js.map +1 -0
  128. package/dist/collection/components/multiselect/je-multiselect/je-multiselect.css +79 -0
  129. package/dist/collection/components/multiselect/je-multiselect/je-multiselect.js +244 -0
  130. package/dist/collection/components/multiselect/je-multiselect/je-multiselect.js.map +1 -0
  131. package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.css +31 -0
  132. package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.js +122 -0
  133. package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.js.map +1 -0
  134. package/dist/collection/components/radio/je-radio/je-radio.css +13 -0
  135. package/dist/collection/components/radio/je-radio/je-radio.js +128 -0
  136. package/dist/collection/components/radio/je-radio/je-radio.js.map +1 -0
  137. package/dist/collection/components/radio/je-radio-group/je-radio-group.css +10 -0
  138. package/dist/collection/components/radio/je-radio-group/je-radio-group.js +172 -0
  139. package/dist/collection/components/radio/je-radio-group/je-radio-group.js.map +1 -0
  140. package/dist/collection/components/select/je-select/je-select.css +20 -0
  141. package/dist/collection/components/select/je-select/je-select.js +289 -0
  142. package/dist/collection/components/select/je-select/je-select.js.map +1 -0
  143. package/dist/collection/components/select/je-select-option/je-select-option.css +31 -0
  144. package/dist/collection/components/select/je-select-option/je-select-option.js +102 -0
  145. package/dist/collection/components/select/je-select-option/je-select-option.js.map +1 -0
  146. package/dist/collection/components/tabs/je-tab/je-tab.css +3 -0
  147. package/dist/collection/components/tabs/je-tab/je-tab.js +19 -0
  148. package/dist/collection/components/tabs/je-tab/je-tab.js.map +1 -0
  149. package/dist/collection/components/tabs/je-tabs/je-tabs.css +3 -0
  150. package/dist/collection/components/tabs/je-tabs/je-tabs.js +19 -0
  151. package/dist/collection/components/tabs/je-tabs/je-tabs.js.map +1 -0
  152. package/dist/collection/components/tree/je-branch/je-branch.css +3 -0
  153. package/dist/collection/components/tree/je-branch/je-branch.js +19 -0
  154. package/dist/collection/components/tree/je-branch/je-branch.js.map +1 -0
  155. package/dist/collection/components/tree/je-tree/je-tree.css +3 -0
  156. package/dist/collection/components/tree/je-tree/je-tree.js +19 -0
  157. package/dist/collection/components/tree/je-tree/je-tree.js.map +1 -0
  158. package/dist/collection/index.js +2 -0
  159. package/dist/collection/index.js.map +1 -0
  160. package/dist/collection/utils/utils.js +18 -0
  161. package/dist/collection/utils/utils.js.map +1 -0
  162. package/dist/components/index.d.ts +33 -0
  163. package/dist/components/index.js +3 -0
  164. package/dist/components/index.js.map +1 -0
  165. package/dist/components/je-alert.d.ts +11 -0
  166. package/dist/components/je-alert.js +146 -0
  167. package/dist/components/je-alert.js.map +1 -0
  168. package/dist/components/je-branch.d.ts +11 -0
  169. package/dist/components/je-branch.js +37 -0
  170. package/dist/components/je-branch.js.map +1 -0
  171. package/dist/components/je-button.d.ts +11 -0
  172. package/dist/components/je-button.js +8 -0
  173. package/dist/components/je-button.js.map +1 -0
  174. package/dist/components/je-card.d.ts +11 -0
  175. package/dist/components/je-card.js +8 -0
  176. package/dist/components/je-card.js.map +1 -0
  177. package/dist/components/je-checkbox-group.d.ts +11 -0
  178. package/dist/components/je-checkbox-group.js +90 -0
  179. package/dist/components/je-checkbox-group.js.map +1 -0
  180. package/dist/components/je-checkbox-option.d.ts +11 -0
  181. package/dist/components/je-checkbox-option.js +65 -0
  182. package/dist/components/je-checkbox-option.js.map +1 -0
  183. package/dist/components/je-checkbox.d.ts +11 -0
  184. package/dist/components/je-checkbox.js +83 -0
  185. package/dist/components/je-checkbox.js.map +1 -0
  186. package/dist/components/je-color.d.ts +11 -0
  187. package/dist/components/je-color.js +8 -0
  188. package/dist/components/je-color.js.map +1 -0
  189. package/dist/components/je-column-group.d.ts +11 -0
  190. package/dist/components/je-column-group.js +46 -0
  191. package/dist/components/je-column-group.js.map +1 -0
  192. package/dist/components/je-column.d.ts +11 -0
  193. package/dist/components/je-column.js +95 -0
  194. package/dist/components/je-column.js.map +1 -0
  195. package/dist/components/je-datepicker.d.ts +11 -0
  196. package/dist/components/je-datepicker.js +3249 -0
  197. package/dist/components/je-datepicker.js.map +1 -0
  198. package/dist/components/je-details.d.ts +11 -0
  199. package/dist/components/je-details.js +49 -0
  200. package/dist/components/je-details.js.map +1 -0
  201. package/dist/components/je-divider.d.ts +11 -0
  202. package/dist/components/je-divider.js +42 -0
  203. package/dist/components/je-divider.js.map +1 -0
  204. package/dist/components/je-drawer.d.ts +11 -0
  205. package/dist/components/je-drawer.js +60 -0
  206. package/dist/components/je-drawer.js.map +1 -0
  207. package/dist/components/je-dropzone.d.ts +11 -0
  208. package/dist/components/je-dropzone.js +55 -0
  209. package/dist/components/je-dropzone.js.map +1 -0
  210. package/dist/components/je-form.d.ts +11 -0
  211. package/dist/components/je-form.js +8 -0
  212. package/dist/components/je-form.js.map +1 -0
  213. package/dist/components/je-icon.d.ts +11 -0
  214. package/dist/components/je-icon.js +8 -0
  215. package/dist/components/je-icon.js.map +1 -0
  216. package/dist/components/je-infinite.d.ts +11 -0
  217. package/dist/components/je-infinite.js +64 -0
  218. package/dist/components/je-infinite.js.map +1 -0
  219. package/dist/components/je-input.d.ts +11 -0
  220. package/dist/components/je-input.js +8 -0
  221. package/dist/components/je-input.js.map +1 -0
  222. package/dist/components/je-link.d.ts +11 -0
  223. package/dist/components/je-link.js +62 -0
  224. package/dist/components/je-link.js.map +1 -0
  225. package/dist/components/je-loading.d.ts +11 -0
  226. package/dist/components/je-loading.js +66 -0
  227. package/dist/components/je-loading.js.map +1 -0
  228. package/dist/components/je-menu-option.d.ts +11 -0
  229. package/dist/components/je-menu-option.js +37 -0
  230. package/dist/components/je-menu-option.js.map +1 -0
  231. package/dist/components/je-menu.d.ts +11 -0
  232. package/dist/components/je-menu.js +37 -0
  233. package/dist/components/je-menu.js.map +1 -0
  234. package/dist/components/je-modal.d.ts +11 -0
  235. package/dist/components/je-modal.js +104 -0
  236. package/dist/components/je-modal.js.map +1 -0
  237. package/dist/components/je-multiselect-option.d.ts +11 -0
  238. package/dist/components/je-multiselect-option.js +62 -0
  239. package/dist/components/je-multiselect-option.js.map +1 -0
  240. package/dist/components/je-multiselect.d.ts +11 -0
  241. package/dist/components/je-multiselect.js +146 -0
  242. package/dist/components/je-multiselect.js.map +1 -0
  243. package/dist/components/je-page.d.ts +11 -0
  244. package/dist/components/je-page.js +61 -0
  245. package/dist/components/je-page.js.map +1 -0
  246. package/dist/components/je-pill.d.ts +11 -0
  247. package/dist/components/je-pill.js +8 -0
  248. package/dist/components/je-pill.js.map +1 -0
  249. package/dist/components/je-placeholder.d.ts +11 -0
  250. package/dist/components/je-placeholder.js +40 -0
  251. package/dist/components/je-placeholder.js.map +1 -0
  252. package/dist/components/je-popover.d.ts +11 -0
  253. package/dist/components/je-popover.js +8 -0
  254. package/dist/components/je-popover.js.map +1 -0
  255. package/dist/components/je-radio-group.d.ts +11 -0
  256. package/dist/components/je-radio-group.js +92 -0
  257. package/dist/components/je-radio-group.js.map +1 -0
  258. package/dist/components/je-radio.d.ts +11 -0
  259. package/dist/components/je-radio.js +68 -0
  260. package/dist/components/je-radio.js.map +1 -0
  261. package/dist/components/je-select-option.d.ts +11 -0
  262. package/dist/components/je-select-option.js +56 -0
  263. package/dist/components/je-select-option.js.map +1 -0
  264. package/dist/components/je-select.d.ts +11 -0
  265. package/dist/components/je-select.js +208 -0
  266. package/dist/components/je-select.js.map +1 -0
  267. package/dist/components/je-tab.d.ts +11 -0
  268. package/dist/components/je-tab.js +37 -0
  269. package/dist/components/je-tab.js.map +1 -0
  270. package/dist/components/je-tabs.d.ts +11 -0
  271. package/dist/components/je-tabs.js +37 -0
  272. package/dist/components/je-tabs.js.map +1 -0
  273. package/dist/components/je-textarea.d.ts +11 -0
  274. package/dist/components/je-textarea.js +55 -0
  275. package/dist/components/je-textarea.js.map +1 -0
  276. package/dist/components/je-toast.d.ts +11 -0
  277. package/dist/components/je-toast.js +37 -0
  278. package/dist/components/je-toast.js.map +1 -0
  279. package/dist/components/je-toggle.d.ts +11 -0
  280. package/dist/components/je-toggle.js +57 -0
  281. package/dist/components/je-toggle.js.map +1 -0
  282. package/dist/components/je-toolbar.d.ts +11 -0
  283. package/dist/components/je-toolbar.js +37 -0
  284. package/dist/components/je-toolbar.js.map +1 -0
  285. package/dist/components/je-tree.d.ts +11 -0
  286. package/dist/components/je-tree.js +37 -0
  287. package/dist/components/je-tree.js.map +1 -0
  288. package/dist/components/p-1f3759e7.js +41 -0
  289. package/dist/components/p-1f3759e7.js.map +1 -0
  290. package/dist/components/p-243cc91b.js +50 -0
  291. package/dist/components/p-243cc91b.js.map +1 -0
  292. package/dist/components/p-2df369c4.js +265 -0
  293. package/dist/components/p-2df369c4.js.map +1 -0
  294. package/dist/components/p-41492a72.js +1514 -0
  295. package/dist/components/p-41492a72.js.map +1 -0
  296. package/dist/components/p-4b8ae8ef.js +51 -0
  297. package/dist/components/p-4b8ae8ef.js.map +1 -0
  298. package/dist/components/p-5dee004d.js +246 -0
  299. package/dist/components/p-5dee004d.js.map +1 -0
  300. package/dist/components/p-8401b4e4.js +48 -0
  301. package/dist/components/p-8401b4e4.js.map +1 -0
  302. package/dist/components/p-94327b0d.js +39 -0
  303. package/dist/components/p-94327b0d.js.map +1 -0
  304. package/dist/components/p-aa4caa39.js +76 -0
  305. package/dist/components/p-aa4caa39.js.map +1 -0
  306. package/dist/esm/app-globals-0f993ce5.js +5 -0
  307. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  308. package/dist/esm/index-a65634db.js +1692 -0
  309. package/dist/esm/index-a65634db.js.map +1 -0
  310. package/dist/esm/index.js +3 -0
  311. package/dist/esm/index.js.map +1 -0
  312. package/dist/esm/je-alert_31.entry.js +4738 -0
  313. package/dist/esm/je-alert_31.entry.js.map +1 -0
  314. package/dist/esm/je-branch.entry.js +18 -0
  315. package/dist/esm/je-branch.entry.js.map +1 -0
  316. package/dist/esm/je-column-group.entry.js +25 -0
  317. package/dist/esm/je-column-group.entry.js.map +1 -0
  318. package/dist/esm/je-column.entry.js +69 -0
  319. package/dist/esm/je-column.entry.js.map +1 -0
  320. package/dist/esm/je-infinite.entry.js +41 -0
  321. package/dist/esm/je-infinite.entry.js.map +1 -0
  322. package/dist/esm/je-menu-option.entry.js +18 -0
  323. package/dist/esm/je-menu-option.entry.js.map +1 -0
  324. package/dist/esm/je-menu.entry.js +18 -0
  325. package/dist/esm/je-menu.entry.js.map +1 -0
  326. package/dist/esm/je-tab.entry.js +18 -0
  327. package/dist/esm/je-tab.entry.js.map +1 -0
  328. package/dist/esm/je-tabs.entry.js +18 -0
  329. package/dist/esm/je-tabs.entry.js.map +1 -0
  330. package/dist/esm/je-toast.entry.js +18 -0
  331. package/dist/esm/je-toast.entry.js.map +1 -0
  332. package/dist/esm/je-tree.entry.js +18 -0
  333. package/dist/esm/je-tree.entry.js.map +1 -0
  334. package/dist/esm/jebamo.js +22 -0
  335. package/dist/esm/jebamo.js.map +1 -0
  336. package/dist/esm/loader.js +13 -0
  337. package/dist/esm/loader.js.map +1 -0
  338. package/dist/index.cjs.js +1 -0
  339. package/dist/index.js +1 -0
  340. package/dist/jebamo/index.esm.js +2 -0
  341. package/dist/jebamo/index.esm.js.map +1 -0
  342. package/dist/jebamo/jebamo.esm.js +2 -0
  343. package/dist/jebamo/jebamo.esm.js.map +1 -0
  344. package/dist/jebamo/p-0d0cb311.entry.js +2 -0
  345. package/dist/jebamo/p-0d0cb311.entry.js.map +1 -0
  346. package/dist/jebamo/p-254ac389.entry.js +2 -0
  347. package/dist/jebamo/p-254ac389.entry.js.map +1 -0
  348. package/dist/jebamo/p-286807aa.entry.js +2 -0
  349. package/dist/jebamo/p-286807aa.entry.js.map +1 -0
  350. package/dist/jebamo/p-44735e2f.entry.js +2 -0
  351. package/dist/jebamo/p-44735e2f.entry.js.map +1 -0
  352. package/dist/jebamo/p-456b52ee.js +3 -0
  353. package/dist/jebamo/p-456b52ee.js.map +1 -0
  354. package/dist/jebamo/p-5b8d9daf.entry.js +2 -0
  355. package/dist/jebamo/p-5b8d9daf.entry.js.map +1 -0
  356. package/dist/jebamo/p-c519a7a4.entry.js +2 -0
  357. package/dist/jebamo/p-c519a7a4.entry.js.map +1 -0
  358. package/dist/jebamo/p-c6111d19.entry.js +2 -0
  359. package/dist/jebamo/p-c6111d19.entry.js.map +1 -0
  360. package/dist/jebamo/p-c8615128.entry.js +2 -0
  361. package/dist/jebamo/p-c8615128.entry.js.map +1 -0
  362. package/dist/jebamo/p-e1255160.js +2 -0
  363. package/dist/jebamo/p-e1255160.js.map +1 -0
  364. package/dist/jebamo/p-e330c9bb.entry.js +2 -0
  365. package/dist/jebamo/p-e330c9bb.entry.js.map +1 -0
  366. package/dist/jebamo/p-f6e777be.entry.js +2 -0
  367. package/dist/jebamo/p-f6e777be.entry.js.map +1 -0
  368. package/dist/jebamo/p-ff27b55f.entry.js +2 -0
  369. package/dist/jebamo/p-ff27b55f.entry.js.map +1 -0
  370. package/dist/types/components/checkbox-group/je-checkbox-group/je-checkbox-group.d.ts +25 -0
  371. package/dist/types/components/checkbox-group/je-checkbox-option/je-checkbox-option.d.ts +30 -0
  372. package/dist/types/components/column/je-column/je-column.d.ts +31 -0
  373. package/dist/types/components/column/je-column-group/je-column-group.d.ts +9 -0
  374. package/dist/types/components/je-alert/je-alert.d.ts +77 -0
  375. package/dist/types/components/je-button/je-button.d.ts +28 -0
  376. package/dist/types/components/je-card/je-card.d.ts +6 -0
  377. package/dist/types/components/je-checkbox/je-checkbox.d.ts +38 -0
  378. package/dist/types/components/je-color/je-color.d.ts +12 -0
  379. package/dist/types/components/je-datepicker/je-datepicker.d.ts +18 -0
  380. package/dist/types/components/je-details/je-details.d.ts +6 -0
  381. package/dist/types/components/je-divider/je-divider.d.ts +5 -0
  382. package/dist/types/components/je-drawer/je-drawer.d.ts +10 -0
  383. package/dist/types/components/je-dropzone/je-dropzone.d.ts +10 -0
  384. package/dist/types/components/je-form/je-form.d.ts +12 -0
  385. package/dist/types/components/je-icon/je-icon.d.ts +15 -0
  386. package/dist/types/components/je-infinite/je-infinite.d.ts +25 -0
  387. package/dist/types/components/je-input/je-input.d.ts +155 -0
  388. package/dist/types/components/je-link/je-link.d.ts +22 -0
  389. package/dist/types/components/je-loading/je-loading.d.ts +22 -0
  390. package/dist/types/components/je-modal/je-modal.d.ts +28 -0
  391. package/dist/types/components/je-page/je-page.d.ts +12 -0
  392. package/dist/types/components/je-pill/je-pill.d.ts +6 -0
  393. package/dist/types/components/je-placeholder/je-placeholder.d.ts +7 -0
  394. package/dist/types/components/je-popover/je-popover.d.ts +70 -0
  395. package/dist/types/components/je-textarea/je-textarea.d.ts +11 -0
  396. package/dist/types/components/je-toast/je-toast.d.ts +3 -0
  397. package/dist/types/components/je-toggle/je-toggle.d.ts +18 -0
  398. package/dist/types/components/je-toolbar/je-toolbar.d.ts +3 -0
  399. package/dist/types/components/menu/je-menu/je-menu.d.ts +3 -0
  400. package/dist/types/components/menu/je-menu-option/je-menu-option.d.ts +3 -0
  401. package/dist/types/components/multiselect/je-multiselect/je-multiselect.d.ts +27 -0
  402. package/dist/types/components/multiselect/je-multiselect-option/je-multiselect-option.d.ts +11 -0
  403. package/dist/types/components/radio/je-radio/je-radio.d.ts +25 -0
  404. package/dist/types/components/radio/je-radio-group/je-radio-group.d.ts +32 -0
  405. package/dist/types/components/select/je-select/je-select.d.ts +23 -0
  406. package/dist/types/components/select/je-select-option/je-select-option.d.ts +10 -0
  407. package/dist/types/components/tabs/je-tab/je-tab.d.ts +3 -0
  408. package/dist/types/components/tabs/je-tabs/je-tabs.d.ts +3 -0
  409. package/dist/types/components/tree/je-branch/je-branch.d.ts +3 -0
  410. package/dist/types/components/tree/je-tree/je-tree.d.ts +3 -0
  411. package/dist/types/components.d.ts +1846 -0
  412. package/dist/types/index.d.ts +10 -0
  413. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  414. package/dist/types/utils/utils.d.ts +4 -0
  415. package/loader/cdn.js +1 -0
  416. package/loader/index.cjs.js +1 -0
  417. package/loader/index.d.ts +24 -0
  418. package/loader/index.es2017.js +1 -0
  419. package/loader/index.js +2 -0
  420. package/loader/package.json +11 -0
  421. package/package.json +31 -26
  422. package/readme.md +114 -0
  423. package/README.md +0 -24
  424. package/esm2020/jebamo.mjs +0 -5
  425. package/esm2020/lib/jebamo.component.mjs +0 -19
  426. package/esm2020/lib/jebamo.module.mjs +0 -21
  427. package/esm2020/lib/jebamo.service.mjs +0 -14
  428. package/esm2020/public-api.mjs +0 -7
  429. package/fesm2015/jebamo.mjs +0 -60
  430. package/fesm2015/jebamo.mjs.map +0 -1
  431. package/fesm2020/jebamo.mjs +0 -60
  432. package/fesm2020/jebamo.mjs.map +0 -1
  433. package/index.d.ts +0 -5
  434. package/lib/jebamo.component.d.ts +0 -5
  435. package/lib/jebamo.module.d.ts +0 -7
  436. package/lib/jebamo.service.d.ts +0 -6
  437. package/public-api.d.ts +0 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-input.js","sourceRoot":"","sources":["../../../src/components/je-input/je-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAgB,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACtI,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAclD,MAAM,OAAO,OAAO;;QAIV,mBAAc,GAAG,KAAK,CAAC;QAIvB,iBAAY,GAAG,KAAK,CAAC;QACrB,WAAM,GAAa,EAAE,CAAC;QACtB,kBAAa,GAAG,EAAE,CAAC;QA6PnB,mBAAc,GAAG,GAAG,EAAE;YAC5B,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;YACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;QACxD,CAAC,CAAA;QAEO,gBAAW,GAAG,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h, Element, Event, AttachInternals, EventEmitter, Method, State, Watch, Listen } from '@stencil/core';\nimport { debounceEvent } from '../../utils/utils';\n\nexport type FormatterFn = (newValue: string, oldValue?: string, ev?: InputEvent) => string;\nexport type AsyncFormatterFn = (newValue: string, oldValue?: string, ev?: InputEvent) => Promise<string>;\n\nexport type ValidationFn = (value: string) => string[];\nexport type AsyncValidationFn = (value: string) => Promise<string[]>;\n\n@Component({\n tag: 'je-input',\n styleUrl: 'je-input.scss',\n shadow: true,\n formAssociated: true\n})\nexport class JeInput {\n @Element() hostEl!: HTMLJeInputElement;\n @AttachInternals() internals: ElementInternals;\n @State() isTouched = false;\n private dropdownActive = false;\n private containerEl!: HTMLDivElement;\n private popoverEl!: HTMLJePopoverElement;\n private inputEl!: HTMLInputElement;\n private showPassword = false;\n private errors: string[] = [];\n private originalValue = '';\n\n /**\n * Text above the control\n */\n @Prop() label = '';\n\n /**\n * Renders input as disabled and prevents changes\n */\n @Prop() disabled = false;\n\n /**\n * Passed to native input\n */\n @Prop() autoCapitalize = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoComplete = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoCorrect: 'off' | 'on' = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoFocus?: boolean;\n\n /**\n * Passed to native input\n */\n @Prop() inputMode: string;\n\n /**\n * Passed to native input\n */\n @Prop() min?: number | string;\n\n /**\n * Passed to native input\n */\n @Prop() max?: number | string;\n\n /**\n * Passed to native input\n */\n @Prop() minLength?: number;\n\n /**\n * Passed to native input\n */\n @Prop() maxLength?: number;\n\n /**\n * Passed to native input\n */\n @Prop() multiple = false;\n\n /**\n * Passed to native input\n */\n @Prop() pattern?: string;\n\n /**\n * Renders input as read only and prevents changes\n */\n @Prop() readOnly = false;\n\n /**\n * Marks as required in form and adds asterisk to the end of the label\n */\n @Prop() required = false;\n\n /**\n * Passed to native input\n */\n @Prop() spellcheck = false;\n\n /**\n * Passed to native input\n */\n @Prop() step?: string;\n\n /**\n * Passed to native input\n */\n @Prop({ mutable: true }) type = 'text';\n\n /**\n * Current value of the input\n */\n @Prop({ mutable: true }) value = '';\n\n /**\n * Input placeholder text\n */\n @Prop() placeholder = '';\n\n /**\n * Optional debounce of the didInput event\n */\n @Prop() debounce = 0;\n\n /**\n * Formatter function that gets applied as the user types\n */\n @Prop() format?: FormatterFn | AsyncFormatterFn;\n\n /**\n * Custom validator functions for form participation\n */\n @Prop() validators?: (ValidationFn | AsyncValidationFn)[];\n\n /**\n * Will prevent changes, does not change the input's state in any way\n */\n @Prop() noTyping = false;\n\n /**\n * Helper text directly below the control\n */\n @Prop() helperText?: string;\n\n /**\n * Whether or not to render a dropdown when input is focused\n */\n @Prop() dropdown = false;\n\n /**\n * Whether or not the input should expand to the full width of it's container\n */\n @Prop({ reflect: true }) expand?: boolean;\n\n /**\n * Whether or not the dropdown should dismiss itself on click\n */\n @Prop({ reflect: true }) dismissOnClick?: boolean;\n\n /**\n * Emits as the user types\n */\n @Event({ bubbles: false }) valueChange: EventEmitter<string>;\n\n componentWillLoad() {\n if (this.label && !this.hostEl.getAttribute('name')) {\n this.hostEl.setAttribute('name', this.label.replace(' ', '-').toLowerCase());\n }\n }\n\n connectedCallback() {\n this.internals.setFormValue(this.value);\n }\n\n async componentDidLoad() {\n this.originalValue = this.value;\n const { valueChange, debounce } = this;\n if (debounce) {\n this.valueChange = debounceEvent(valueChange, debounce);\n }\n if (this.format) {\n this.value = await this.format(this.value);\n } else {\n this.validatorsChanged();\n }\n }\n\n async formResetCallback() {\n this.isTouched = false;\n if (this.value !== this.originalValue) {\n if (this.format) {\n this.value = await this.format(this.originalValue);\n } else {\n this.value = this.originalValue;\n }\n }\n }\n\n @Listen('themeChange', { target: 'body' })\n handleThemeChange(e: CustomEvent<'light' | 'dark'>) {\n this.hostEl.toggleAttribute('darkmode', e.detail == 'dark')\n }\n\n @Listen('focus')\n handleFocus() {\n this.containerEl.classList.add('focus');\n }\n\n @Listen('blur')\n handleBlur() {\n this.isTouched = true;\n if (!this.dropdownActive) {\n this.containerEl.classList.remove('focus');\n }\n }\n\n @Watch('validators')\n async validatorsChanged() {\n this.errors = [];\n if (this.validators) {\n for (const validator of this.validators) {\n const res = await validator(this.value);\n this.errors = [...this.errors, ...res];\n }\n }\n this.setValidity();\n }\n\n @Watch('required')\n requiredChanged() {\n this.setValidity();\n }\n\n @Watch('value')\n async valueChanged() {\n if (this.inputEl && this.inputEl.value !== this.value) {\n this.inputEl.value = this.value;\n }\n this.internals.setFormValue(this.value);\n this.validatorsChanged();\n }\n\n @Method()\n getInputElement() {\n return Promise.resolve(this.inputEl);\n }\n\n @Method()\n dismissDropdown(role = 'manualDismiss') {\n return this.popoverEl.dismiss(role);\n }\n\n @Method()\n markAsTouched() {\n return new Promise<void>(resolve => {\n this.isTouched = true;\n resolve();\n });\n }\n\n @Method()\n hasError() {\n return Promise.resolve(this.errors.length > 0 || (this.required && ((this.value ?? '') === '')));\n }\n\n @Method()\n reset() {\n return this.formResetCallback();\n }\n\n private togglePassword = () => {\n this.showPassword = !this.showPassword;\n this.type = this.type == 'text' ? 'password' : 'text';\n }\n\n private formatInput = async (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (input && this.format) {\n input.value = await this.format(input.value, this.value, ev);\n }\n }\n\n private handleInput = (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value;\n this.valueChange.emit(this.value);\n }\n }\n\n private setValidity() {\n const requiredError = this.required && ((this.value ?? '') === '');\n const hasError = this.errors.length > 0 || requiredError;\n if (hasError) {\n if (requiredError) {\n this.internals.setValidity({ valueMissing: true }, `${this.label || 'This field'} is required`, this.inputEl);\n } else {\n this.internals.setValidity({ customError: true }, this.errors[0], this.inputEl);\n }\n } else {\n this.internals.setValidity({});\n }\n }\n\n private handleContainerClick = async () => {\n if (this.dropdown) {\n this.dropdownActive = true;\n this.hostEl.style.setProperty('--je-content-width', `${this.hostEl.clientWidth}px`);\n await this.popoverEl.present('element', this.hostEl);\n }\n }\n\n private handleDismiss = () => {\n this.dropdownActive = false;\n this.containerEl.classList.remove('focus');\n }\n\n render() {\n const requiredIcon = <je-icon style={{ fontSize: '10px', color: 'var(--je-error-500)' }} icon=\"asterisk\" />;\n const label = <label part='label' style={{ display: 'flex' }}>{this.label} {this.required && requiredIcon}</label>;\n const invalid = this.errors.length > 0 || (this.required && ((this.value ?? '') === ''));\n const containerClasses = {\n disabled: this.disabled,\n touched: this.isTouched\n };\n\n if (invalid && this.isTouched) {\n this.internals.reportValidity();\n }\n\n return (\n <Host>\n <div ref={el => this.containerEl = el} part='outer-container' onClick={this.handleContainerClick} class={containerClasses}>\n <div part='start-container'>\n <slot name='start'/>\n {this.label && label}\n </div>\n\n <input part=\"native-input\"\n ref={el => this.inputEl = el}\n onInputCapture={this.formatInput}\n onInput={this.handleInput}\n disabled={this.disabled}\n autoCapitalize={this.autoCapitalize}\n autoComplete={this.autoComplete}\n autoCorrect={this.autoCorrect}\n autoFocus={this.autoFocus}\n inputMode={this.inputMode}\n min={this.min}\n max={this.max}\n minLength={this.minLength}\n maxLength={this.maxLength}\n multiple={this.multiple}\n pattern={this.pattern}\n readOnly={this.readOnly || this.noTyping}\n required={this.required}\n spellcheck={this.spellcheck}\n step={this.step}\n type={this.type}\n value={this.value}\n placeholder={this.placeholder} />\n\n <div part='end-container'>\n <slot name='end'/>\n {!this.showPassword && this.type == 'password' && <je-icon icon=\"visibility\" fill onClick={this.togglePassword} />}\n {this.showPassword && this.type == 'text' && <je-icon icon=\"visibility_off\" fill onClick={this.togglePassword} />}\n </div>\n </div>\n\n {this.helperText && <small class=\"helper\">{this.helperText}</small>}\n\n {this.dropdown && <je-popover ref={el => this.popoverEl = el} exportparts='content' dismissOnClick={this.dismissOnClick} onDidDismiss={this.handleDismiss}>\n <slot name='dropdown'></slot>\n </je-popover>}\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ :host {
2
+ display: inline-block;
3
+ }
4
+
5
+ a {
6
+ display: inline-block;
7
+ }
8
+
9
+ .underline {
10
+ text-decoration: underline;
11
+ }
12
+
13
+ .bold {
14
+ font-weight: var(--je-font-semi-bold);
15
+ }
@@ -0,0 +1,207 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class JeLink {
3
+ constructor() {
4
+ this.color = undefined;
5
+ this.lightModeColor = undefined;
6
+ this.darkModeColor = undefined;
7
+ this.underline = true;
8
+ this.bold = false;
9
+ this.href = undefined;
10
+ this.target = undefined;
11
+ this.rel = undefined;
12
+ this.download = undefined;
13
+ }
14
+ render() {
15
+ return (h(Host, { key: 'e6ee6a71161ce3871e55b3cda15beab656c17910' }, h("a", { key: '98998f6dda359644563b531e4532e68882e273b6', href: this.href, target: this.target, rel: this.rel, download: this.download }, h("je-color", { key: '83600909f33b1dd9decf4d75c3abc2e3a8447e3a', class: { underline: this.underline, bold: this.bold }, color: this.color, "light-mode-color": this.lightModeColor, "dark-mode-color": this.darkModeColor }, h("slot", { key: '3caebb42da2d13dfc78b9237981d5c2c94cc96cb' })))));
16
+ }
17
+ static get is() { return "je-link"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["je-link.scss"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["je-link.css"]
27
+ };
28
+ }
29
+ static get properties() {
30
+ return {
31
+ "color": {
32
+ "type": "string",
33
+ "mutable": false,
34
+ "complexType": {
35
+ "original": "Color | 'auto'",
36
+ "resolved": "\"auto\" | \"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
37
+ "references": {
38
+ "Color": {
39
+ "location": "import",
40
+ "path": "../../components",
41
+ "id": "src/components.d.ts::Color"
42
+ }
43
+ }
44
+ },
45
+ "required": false,
46
+ "optional": true,
47
+ "docs": {
48
+ "tags": [],
49
+ "text": "Predefined colors. Auto will switch between light and dark based on the closest je-page's theme."
50
+ },
51
+ "attribute": "color",
52
+ "reflect": false
53
+ },
54
+ "lightModeColor": {
55
+ "type": "string",
56
+ "mutable": false,
57
+ "complexType": {
58
+ "original": "Color",
59
+ "resolved": "\"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
60
+ "references": {
61
+ "Color": {
62
+ "location": "import",
63
+ "path": "../../components",
64
+ "id": "src/components.d.ts::Color"
65
+ }
66
+ }
67
+ },
68
+ "required": false,
69
+ "optional": true,
70
+ "docs": {
71
+ "tags": [],
72
+ "text": "Overrides what the light mode color will be when color is \"auto\"."
73
+ },
74
+ "attribute": "light-mode-color",
75
+ "reflect": false
76
+ },
77
+ "darkModeColor": {
78
+ "type": "string",
79
+ "mutable": false,
80
+ "complexType": {
81
+ "original": "Color",
82
+ "resolved": "\"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
83
+ "references": {
84
+ "Color": {
85
+ "location": "import",
86
+ "path": "../../components",
87
+ "id": "src/components.d.ts::Color"
88
+ }
89
+ }
90
+ },
91
+ "required": false,
92
+ "optional": true,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": "Overrides what the dark mode color will be when color is \"auto\"."
96
+ },
97
+ "attribute": "dark-mode-color",
98
+ "reflect": false
99
+ },
100
+ "underline": {
101
+ "type": "boolean",
102
+ "mutable": false,
103
+ "complexType": {
104
+ "original": "boolean",
105
+ "resolved": "boolean",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": false,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": "Underlines the text"
113
+ },
114
+ "attribute": "underline",
115
+ "reflect": false,
116
+ "defaultValue": "true"
117
+ },
118
+ "bold": {
119
+ "type": "boolean",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "boolean",
123
+ "resolved": "boolean",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": "Makes text bold"
131
+ },
132
+ "attribute": "bold",
133
+ "reflect": false,
134
+ "defaultValue": "false"
135
+ },
136
+ "href": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": true,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "Passed to anchor"
149
+ },
150
+ "attribute": "href",
151
+ "reflect": false
152
+ },
153
+ "target": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": true,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "Passed to anchor"
166
+ },
167
+ "attribute": "target",
168
+ "reflect": false
169
+ },
170
+ "rel": {
171
+ "type": "string",
172
+ "mutable": false,
173
+ "complexType": {
174
+ "original": "string",
175
+ "resolved": "string",
176
+ "references": {}
177
+ },
178
+ "required": false,
179
+ "optional": true,
180
+ "docs": {
181
+ "tags": [],
182
+ "text": "Passed to anchor"
183
+ },
184
+ "attribute": "rel",
185
+ "reflect": false
186
+ },
187
+ "download": {
188
+ "type": "string",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "string",
192
+ "resolved": "string",
193
+ "references": {}
194
+ },
195
+ "required": false,
196
+ "optional": true,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": "Passed to anchor"
200
+ },
201
+ "attribute": "download",
202
+ "reflect": false
203
+ }
204
+ };
205
+ }
206
+ }
207
+ //# sourceMappingURL=je-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-link.js","sourceRoot":"","sources":["../../../src/components/je-link/je-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,MAAM;;;;;yBAWG,IAAI;oBAGT,KAAK;;;;;;IAcpB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,0DAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBAC7E,iEAAU,KAAK,EAAE,EAAC,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,sBAAoB,IAAI,CAAC,cAAc,qBAAmB,IAAI,CAAC,aAAa;oBAC1J,8DAAa,CACJ,CACT,CACC,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { Color } from '../../components';\n\n@Component({\n tag: 'je-link',\n styleUrl: 'je-link.scss',\n shadow: true,\n})\nexport class JeLink {\n /** Predefined colors. Auto will switch between light and dark based on the closest je-page's theme. */\n @Prop() color?: Color | 'auto';\n\n /** Overrides what the light mode color will be when color is \"auto\". */\n @Prop() lightModeColor?: Color;\n\n /** Overrides what the dark mode color will be when color is \"auto\". */\n @Prop() darkModeColor?: Color;\n\n /** Underlines the text */\n @Prop() underline = true;\n\n /** Makes text bold */\n @Prop() bold = false;\n\n /** Passed to anchor */\n @Prop() href?: string;\n\n /** Passed to anchor */\n @Prop() target?: string;\n\n /** Passed to anchor */\n @Prop() rel?: string;\n\n /** Passed to anchor */\n @Prop() download?: string;\n\n render() {\n return (\n <Host>\n <a href={this.href} target={this.target} rel={this.rel} download={this.download}>\n <je-color class={{underline: this.underline, bold: this.bold}} color={this.color} light-mode-color={this.lightModeColor} dark-mode-color={this.darkModeColor}>\n <slot></slot>\n </je-color>\n </a>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,50 @@
1
+ :host {
2
+ display: inline-block;
3
+ position: relative;
4
+ width: 23px;
5
+ height: 23px;
6
+ user-select: none;
7
+ }
8
+
9
+ svg {
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ width: 100%;
14
+ height: 100%;
15
+ transform: translateZ(0);
16
+ }
17
+
18
+ :host(.spinner-lines) line,
19
+ :host(.spinner-lines-small) line {
20
+ stroke-width: 7px;
21
+ }
22
+
23
+ :host(.spinner-lines-sharp) line,
24
+ :host(.spinner-lines-sharp-small) line {
25
+ stroke-width: 4px;
26
+ }
27
+
28
+ :host(.spinner-lines) line,
29
+ :host(.spinner-lines-small) line,
30
+ :host(.spinner-lines-sharp) line,
31
+ :host(.spinner-lines-sharp-small) line {
32
+ stroke-linecap: round;
33
+ stroke: currentColor;
34
+ }
35
+
36
+ :host(.spinner-lines) svg,
37
+ :host(.spinner-lines-small) svg,
38
+ :host(.spinner-lines-sharp) svg,
39
+ :host(.spinner-lines-sharp-small) svg {
40
+ animation: spinner-fade-out 1s linear infinite;
41
+ }
42
+
43
+ @keyframes spinner-fade-out {
44
+ 0% {
45
+ opacity: 1;
46
+ }
47
+ 100% {
48
+ opacity: 0;
49
+ }
50
+ }
@@ -0,0 +1,48 @@
1
+ import { Host, h } from "@stencil/core";
2
+ const spinners = {
3
+ lines: {
4
+ dur: 1000,
5
+ lines: 8,
6
+ fn: (dur, index, total) => {
7
+ const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;
8
+ const animationDelay = `${(dur * index) / total - dur}ms`;
9
+ return {
10
+ y1: 14,
11
+ y2: 26,
12
+ style: {
13
+ transform: transform,
14
+ 'animation-delay': animationDelay,
15
+ },
16
+ };
17
+ },
18
+ },
19
+ };
20
+ const buildLine = (spinner, duration, index, total) => {
21
+ const data = spinner.fn(duration, index, total);
22
+ data.style['animation-duration'] = duration + 'ms';
23
+ return (h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, h("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
24
+ };
25
+ export class JeLoading {
26
+ render() {
27
+ const spinner = spinners['lines'];
28
+ const duration = spinner.dur;
29
+ const svgs = [];
30
+ for (let i = 0; i < spinner.lines; i++) {
31
+ svgs.push(buildLine(spinner, duration, i, spinner.lines));
32
+ }
33
+ return (h(Host, { key: '7520159371b0c6ff774055d3f6eecf5af172d4df', class: { [`spinner-lines`]: true } }, svgs));
34
+ }
35
+ static get is() { return "je-loading"; }
36
+ static get encapsulation() { return "shadow"; }
37
+ static get originalStyleUrls() {
38
+ return {
39
+ "$": ["je-loading.scss"]
40
+ };
41
+ }
42
+ static get styleUrls() {
43
+ return {
44
+ "$": ["je-loading.css"]
45
+ };
46
+ }
47
+ }
48
+ //# sourceMappingURL=je-loading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-loading.js","sourceRoot":"","sources":["../../../src/components/je-loading/je-loading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAqBnD,MAAM,QAAQ,GAAG;IACf,KAAK,EAAE;QACL,GAAG,EAAE,IAAI;QACT,KAAK,EAAE,CAAC;QACR,EAAE,EAAE,CAAC,GAAW,EAAE,KAAa,EAAE,KAAa,EAAE,EAAE;YAChD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;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AAE,EAAE,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,IACrC,IAAI,CACA,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h } from '@stencil/core';\n\nexport interface SpinnerConfig {\n dur: number;\n circles?: number;\n lines?: number;\n elmDuration?: boolean;\n fn: (dur: number, index: number, total: number) => SpinnerData;\n}\n\nexport interface SpinnerData {\n r?: number;\n y1?: number;\n y2?: number;\n cx?: number;\n cy?: number;\n style: { [key: string]: string | undefined };\n viewBox?: string;\n transform?: string;\n}\n\nconst spinners = {\n lines: {\n dur: 1000,\n lines: 8,\n fn: (dur: number, index: number, total: number) => {\n const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;\n const animationDelay = `${(dur * index) / total - dur}ms`;\n\n return {\n y1: 14,\n y2: 26,\n style: {\n transform: transform,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n}\n\nconst buildLine = (spinner: SpinnerConfig, duration: number, index: number, total: number) => {\n const data = spinner.fn(duration, index, total);\n data.style['animation-duration'] = duration + 'ms';\n\n return (\n <svg viewBox={data.viewBox || '0 0 64 64'} style={data.style}>\n <line transform=\"translate(32,32)\" y1={data.y1} y2={data.y2} />\n </svg>\n );\n};\n\n@Component({\n tag: 'je-loading',\n styleUrl: 'je-loading.scss',\n shadow: true,\n})\nexport class JeLoading {\n render() {\n const spinner = spinners['lines'];\n const duration = spinner.dur;\n const svgs: SVGElement[] = [];\n\n for (let i = 0; i < spinner.lines; i++) {\n svgs.push(buildLine(spinner, duration, i, spinner.lines));\n }\n\n return (\n <Host class={{ [`spinner-lines`]: true }}>\n {svgs}\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,75 @@
1
+ :host {
2
+ display: flex;
3
+ }
4
+
5
+ @media (width > 1200px) {
6
+ :host {
7
+ --je-width: 75%;
8
+ --je-height: 85%;
9
+ }
10
+ }
11
+ @media (992px < width < 1201px) {
12
+ :host {
13
+ --je-width: 80%;
14
+ --je-height: 90%;
15
+ }
16
+ }
17
+ @media (768px < width < 993px) {
18
+ :host {
19
+ --je-width: 85%;
20
+ --je-height: 95%;
21
+ }
22
+ }
23
+ @media (width < 769px) {
24
+ :host {
25
+ --je-width: 100%;
26
+ --je-height: 100%;
27
+ }
28
+ }
29
+ .modal {
30
+ display: flex;
31
+ flex-direction: column;
32
+ position: fixed;
33
+ top: 50%;
34
+ left: 50%;
35
+ transform: translate(-50%, -50%);
36
+ z-index: 910;
37
+ width: var(--je-width);
38
+ height: var(--je-height);
39
+ background-color: var(--je-background-color, canvas);
40
+ color: var(--je-text-color, canvastext);
41
+ box-shadow: 0px 0px 15px 5px rgba(60, 60, 60, 0.1647058824);
42
+ border-radius: var(--je-border-radius, 2px);
43
+ overflow: hidden;
44
+ }
45
+
46
+ .modal-transition {
47
+ opacity: 0;
48
+ transition: opacity 250ms ease-in-out;
49
+ }
50
+
51
+ .modal.open {
52
+ opacity: 1;
53
+ }
54
+
55
+ .backdrop {
56
+ position: fixed;
57
+ top: 0;
58
+ width: 100%;
59
+ height: 100%;
60
+ background: var(--je-backdrop-color, rgba(0, 0, 0, 0.5));
61
+ z-index: 909;
62
+ }
63
+
64
+ .backdrop-transition {
65
+ opacity: 0;
66
+ transition: opacity 250ms ease-in-out;
67
+ }
68
+
69
+ .backdrop.fade {
70
+ opacity: 1;
71
+ }
72
+
73
+ .clear {
74
+ background: rgba(0, 0, 0, 0);
75
+ }