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,252 @@
1
+ import { h } from "@stencil/core";
2
+ export class JeButton {
3
+ constructor() {
4
+ this.disabled = false;
5
+ this.type = 'button';
6
+ this.expand = false;
7
+ this.iconOnly = false;
8
+ this.fill = 'solid';
9
+ this.size = 'md';
10
+ this.color = 'primary';
11
+ this.lightModeColor = 'dark';
12
+ this.darkModeColor = 'light';
13
+ }
14
+ componentDidLoad() {
15
+ if (this.type == 'submit' || this.type == 'reset') {
16
+ this.formEl = this.el.closest('form');
17
+ if (this.formEl) {
18
+ this.formButtonEl = document.createElement('button');
19
+ this.formButtonEl.type = this.type;
20
+ this.formButtonEl.style.display = 'none';
21
+ this.formEl.append(this.formButtonEl);
22
+ }
23
+ }
24
+ }
25
+ handleThemeChange(e) {
26
+ if (this.color == 'auto') {
27
+ this.el.toggleAttribute(this.lightModeColor, e.detail == 'light');
28
+ this.el.toggleAttribute(this.darkModeColor, e.detail == 'dark');
29
+ }
30
+ }
31
+ handleClick() {
32
+ if (this.formButtonEl) {
33
+ this.formButtonEl.click();
34
+ }
35
+ }
36
+ render() {
37
+ return (h("button", { key: 'ebf16b4d043ac8346c34475bc6424f3f8d537bfb', part: 'inner-button', disabled: this.disabled, type: this.type }, h("slot", { key: '4a2f527ad436bcf5bdc1f9ae84034388bda0e674' }), h("slot", { key: '0e7d1c98c5b242a0f9c29cb47a893ac408557808', name: 'badge' })));
38
+ }
39
+ static get is() { return "je-button"; }
40
+ static get encapsulation() { return "shadow"; }
41
+ static get originalStyleUrls() {
42
+ return {
43
+ "$": ["je-button.scss"]
44
+ };
45
+ }
46
+ static get styleUrls() {
47
+ return {
48
+ "$": ["je-button.css"]
49
+ };
50
+ }
51
+ static get properties() {
52
+ return {
53
+ "disabled": {
54
+ "type": "boolean",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "boolean",
58
+ "resolved": "boolean",
59
+ "references": {}
60
+ },
61
+ "required": false,
62
+ "optional": false,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": "Disables button"
66
+ },
67
+ "attribute": "disabled",
68
+ "reflect": false,
69
+ "defaultValue": "false"
70
+ },
71
+ "type": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "string",
76
+ "resolved": "string",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Can set to submit or reset to participate in forms"
84
+ },
85
+ "attribute": "type",
86
+ "reflect": false,
87
+ "defaultValue": "'button'"
88
+ },
89
+ "expand": {
90
+ "type": "boolean",
91
+ "mutable": false,
92
+ "complexType": {
93
+ "original": "boolean",
94
+ "resolved": "boolean",
95
+ "references": {}
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": "Expands the button to the full width of it's container"
102
+ },
103
+ "attribute": "expand",
104
+ "reflect": true,
105
+ "defaultValue": "false"
106
+ },
107
+ "iconOnly": {
108
+ "type": "boolean",
109
+ "mutable": false,
110
+ "complexType": {
111
+ "original": "boolean",
112
+ "resolved": "boolean",
113
+ "references": {}
114
+ },
115
+ "required": false,
116
+ "optional": false,
117
+ "docs": {
118
+ "tags": [],
119
+ "text": "Removes the padding, ideal for turning an icon or image into a button"
120
+ },
121
+ "attribute": "icon-only",
122
+ "reflect": true,
123
+ "defaultValue": "false"
124
+ },
125
+ "fill": {
126
+ "type": "string",
127
+ "mutable": false,
128
+ "complexType": {
129
+ "original": "'solid' | 'outline' | 'clear'",
130
+ "resolved": "\"clear\" | \"outline\" | \"solid\"",
131
+ "references": {}
132
+ },
133
+ "required": false,
134
+ "optional": false,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": "Button fill"
138
+ },
139
+ "attribute": "fill",
140
+ "reflect": true,
141
+ "defaultValue": "'solid'"
142
+ },
143
+ "size": {
144
+ "type": "string",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "'md' | 'lg' | 'sm'",
148
+ "resolved": "\"lg\" | \"md\" | \"sm\"",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": false,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": "Button size"
156
+ },
157
+ "attribute": "size",
158
+ "reflect": true,
159
+ "defaultValue": "'md'"
160
+ },
161
+ "color": {
162
+ "type": "string",
163
+ "mutable": false,
164
+ "complexType": {
165
+ "original": "Color | 'auto'",
166
+ "resolved": "\"auto\" | \"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
167
+ "references": {
168
+ "Color": {
169
+ "location": "import",
170
+ "path": "../../utils/utils",
171
+ "id": "src/utils/utils.ts::Color"
172
+ }
173
+ }
174
+ },
175
+ "required": false,
176
+ "optional": false,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Predefined colors. Auto will switch between light and dark based on the closest je-page's theme."
180
+ },
181
+ "attribute": "color",
182
+ "reflect": true,
183
+ "defaultValue": "'primary'"
184
+ },
185
+ "lightModeColor": {
186
+ "type": "string",
187
+ "mutable": false,
188
+ "complexType": {
189
+ "original": "Color",
190
+ "resolved": "\"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
191
+ "references": {
192
+ "Color": {
193
+ "location": "import",
194
+ "path": "../../utils/utils",
195
+ "id": "src/utils/utils.ts::Color"
196
+ }
197
+ }
198
+ },
199
+ "required": false,
200
+ "optional": false,
201
+ "docs": {
202
+ "tags": [],
203
+ "text": "Overrides what the light mode color will be when color is \"auto\"."
204
+ },
205
+ "attribute": "light-mode-color",
206
+ "reflect": false,
207
+ "defaultValue": "'dark'"
208
+ },
209
+ "darkModeColor": {
210
+ "type": "string",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "Color",
214
+ "resolved": "\"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
215
+ "references": {
216
+ "Color": {
217
+ "location": "import",
218
+ "path": "../../utils/utils",
219
+ "id": "src/utils/utils.ts::Color"
220
+ }
221
+ }
222
+ },
223
+ "required": false,
224
+ "optional": false,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": "Overrides what the dark mode color will be when color is \"auto\"."
228
+ },
229
+ "attribute": "dark-mode-color",
230
+ "reflect": false,
231
+ "defaultValue": "'light'"
232
+ }
233
+ };
234
+ }
235
+ static get elementRef() { return "el"; }
236
+ static get listeners() {
237
+ return [{
238
+ "name": "themeChange",
239
+ "method": "handleThemeChange",
240
+ "target": "body",
241
+ "capture": false,
242
+ "passive": false
243
+ }, {
244
+ "name": "click",
245
+ "method": "handleClick",
246
+ "target": undefined,
247
+ "capture": false,
248
+ "passive": false
249
+ }];
250
+ }
251
+ }
252
+ //# sourceMappingURL=je-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-button.js","sourceRoot":"","sources":["../../../src/components/je-button/je-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAQpE,MAAM,OAAO,QAAQ;;wBAMA,KAAK;oBAGT,QAAQ;sBAGW,KAAK;wBAGH,KAAK;oBAGsB,OAAO;oBAGlB,IAAI;qBAGP,SAAS;8BAG1B,MAAM;6BAGP,OAAO;;IAEtC,gBAAgB;QACd,IAAI,IAAI,CAAC,IAAI,IAAI,QAAQ,IAAI,IAAI,CAAC,IAAI,IAAI,OAAO,EAAE,CAAC;YAClD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACtC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChB,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;gBACrD,IAAI,CAAC,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;gBACnC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;gBACzC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAGD,iBAAiB,CAAC,CAAgC;QAChD,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,EAAE,CAAC;YACzB,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,MAAM,IAAI,OAAO,CAAC,CAAA;YACjE,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,CAAA;QACjE,CAAC;IACH,CAAC;IAGD,WAAW;QACT,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACtB,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DAAQ,IAAI,EAAC,cAAc,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;YAClE,8DAAa;YACb,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACnB,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Element, Listen } from '@stencil/core';\nimport { Color } from '../../utils/utils';\n\n@Component({\n tag: 'je-button',\n styleUrl: 'je-button.scss',\n shadow: true,\n})\nexport class JeButton {\n @Element() el: HTMLJeButtonElement;\n private formEl?: HTMLFormElement;\n private formButtonEl?: HTMLButtonElement;\n\n /** Disables button */\n @Prop() disabled = false;\n\n /** Can set to submit or reset to participate in forms */\n @Prop() type = 'button';\n\n /** Expands the button to the full width of it's container */\n @Prop({ reflect: true }) expand = false;\n\n /** Removes the padding, ideal for turning an icon or image into a button */\n @Prop({ reflect: true }) iconOnly = false;\n\n /** Button fill */\n @Prop({ reflect: true }) fill: 'solid' | 'outline' | 'clear' = 'solid';\n\n /** Button size */\n @Prop({ reflect: true }) size: 'md' | 'lg' | 'sm' = 'md';\n\n /** Predefined colors. Auto will switch between light and dark based on the closest je-page's theme. */\n @Prop({ reflect: true }) color: Color | 'auto' = 'primary';\n\n /** Overrides what the light mode color will be when color is \"auto\". */\n @Prop() lightModeColor: Color = 'dark';\n\n /** Overrides what the dark mode color will be when color is \"auto\". */\n @Prop() darkModeColor: Color = 'light';\n\n componentDidLoad() {\n if (this.type == 'submit' || this.type == 'reset') {\n this.formEl = this.el.closest('form');\n if (this.formEl) {\n this.formButtonEl = document.createElement('button');\n this.formButtonEl.type = this.type;\n this.formButtonEl.style.display = 'none';\n this.formEl.append(this.formButtonEl);\n }\n }\n }\n\n @Listen('themeChange', { target: 'body' })\n handleThemeChange(e: CustomEvent<'light' | 'dark'>) {\n if (this.color == 'auto') {\n this.el.toggleAttribute(this.lightModeColor, e.detail == 'light')\n this.el.toggleAttribute(this.darkModeColor, e.detail == 'dark')\n }\n }\n\n @Listen('click')\n handleClick() {\n if (this.formButtonEl) {\n this.formButtonEl.click();\n }\n }\n\n render() {\n return (\n <button part='inner-button' disabled={this.disabled} type={this.type}>\n <slot></slot>\n <slot name='badge'></slot>\n </button>\n );\n }\n}\n"]}
@@ -0,0 +1,113 @@
1
+ :host {
2
+ display: block;
3
+ border: solid 1px var(--je-card-border-color);
4
+ border-radius: var(--je-border-radius, 2px);
5
+ overflow: hidden;
6
+ box-sizing: border-box;
7
+ position: relative;
8
+ color: var(--je-card-color);
9
+ background-color: var(--je-card-background);
10
+ --je-card-color: inherit;
11
+ --je-card-background: inherit;
12
+ --je-card-hover-background: #9f9e9e0e;
13
+ --je-card-active-background: #9f9e9e19;
14
+ --je-card-border-color: var(--je-medium-300);
15
+ }
16
+
17
+ :host([button]) {
18
+ cursor: pointer;
19
+ user-select: none;
20
+ -webkit-user-select: none;
21
+ transition: all 125ms ease-in-out;
22
+ }
23
+
24
+ :host([button]:hover) {
25
+ background-color: var(--je-card-hover-background);
26
+ }
27
+
28
+ :host([button]:active) {
29
+ background-color: var(--je-card-active-background);
30
+ }
31
+
32
+ :host([color=error]) {
33
+ --je-card-color: var(--je-error-100);
34
+ --je-card-background: var(--je-error-500);
35
+ --je-card-hover-background: var(--je-error-600);
36
+ --je-card-active-background: var(--je-error-700);
37
+ --je-card-border-color: var(--je-error-300);
38
+ }
39
+
40
+ :host([color=secondary]) {
41
+ --je-card-color: var(--je-secondary-100);
42
+ --je-card-background: var(--je-secondary-500);
43
+ --je-card-hover-background: var(--je-secondary-600);
44
+ --je-card-active-background: var(--je-secondary-700);
45
+ --je-card-border-color: var(--je-secondary-300);
46
+ }
47
+
48
+ :host([color=tertiary]) {
49
+ --je-card-color: var(--je-tertiary-100);
50
+ --je-card-background: var(--je-tertiary-500);
51
+ --je-card-hover-background: var(--je-tertiary-600);
52
+ --je-card-active-background: var(--je-tertiary-700);
53
+ --je-card-border-color: var(--je-tertiary-300);
54
+ }
55
+
56
+ :host([color=warning]) {
57
+ --je-card-color: var(--je-warning-100);
58
+ --je-card-background: var(--je-warning-500);
59
+ --je-card-hover-background: var(--je-warning-600);
60
+ --je-card-active-background: var(--je-warning-700);
61
+ --je-card-border-color: var(--je-warning-300);
62
+ }
63
+
64
+ :host([color=success]) {
65
+ --je-card-color: var(--je-success-100);
66
+ --je-card-background: var(--je-success-500);
67
+ --je-card-hover-background: var(--je-success-600);
68
+ --je-card-active-background: var(--je-success-700);
69
+ --je-card-border-color: var(--je-success-300);
70
+ }
71
+
72
+ :host([color=medium]) {
73
+ --je-card-color: var(--je-medium-50);
74
+ --je-card-background: var(--je-medium-500);
75
+ --je-card-hover-background: var(--je-medium-600);
76
+ --je-card-active-background: var(--je-medium-700);
77
+ }
78
+
79
+ :host([color=light]) {
80
+ --je-card-color: var(--je-medium-900);
81
+ --je-card-background: var(--je-medium-100);
82
+ --je-card-hover-background: var(--je-medium-400);
83
+ --je-card-active-background: var(--je-medium-500);
84
+ }
85
+
86
+ :host([color=dark]) {
87
+ --je-card-color: var(--je-medium-50);
88
+ --je-card-background: var(--je-medium-850);
89
+ --je-card-hover-background: var(--je-medium-850);
90
+ --je-card-active-background: var(--je-medium-900);
91
+ }
92
+
93
+ ::slotted([slot=media]) {
94
+ width: 100%;
95
+ }
96
+
97
+ ::slotted([slot=header]) {
98
+ box-sizing: border-box;
99
+ padding-inline: var(--je-spacing-xs, 10px);
100
+ border-bottom: solid 1px var(--je-card-border-color);
101
+ }
102
+
103
+ ::slotted([slot=footer]) {
104
+ box-sizing: border-box;
105
+ display: flex;
106
+ padding-block: var(--je-spacing-xs, 10px);
107
+ gap: var(--je-spacing-2xs, 8px);
108
+ }
109
+
110
+ .container {
111
+ box-sizing: border-box;
112
+ padding: var(--je-spacing-xs, 10px);
113
+ }
@@ -0,0 +1,67 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class JeCard {
3
+ constructor() {
4
+ this.color = undefined;
5
+ this.button = undefined;
6
+ }
7
+ render() {
8
+ return (h(Host, { key: '33f8bed14daea376f91f0ae6c948235a54a7a135' }, h("slot", { key: '5a108e5cc5339c21ae02ce1913b632856787825c', name: 'media' }), h("slot", { key: 'a6d8fc7f088f3d7b9512e27292d890cf5198ece6', name: 'header' }), h("div", { key: '5edfea57c094c3ca6504c2657fbd014d11eb5889', class: 'container' }, h("slot", { key: '47646e973cee3cbcb526f12b65404034ace999ca' }), h("slot", { key: 'e34763d24d6652f18463aeceb06c3f5db729ac06', name: 'footer' }))));
9
+ }
10
+ static get is() { return "je-card"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["je-card.scss"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["je-card.css"]
20
+ };
21
+ }
22
+ static get properties() {
23
+ return {
24
+ "color": {
25
+ "type": "string",
26
+ "mutable": false,
27
+ "complexType": {
28
+ "original": "Color",
29
+ "resolved": "\"dark\" | \"error\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
30
+ "references": {
31
+ "Color": {
32
+ "location": "import",
33
+ "path": "../../utils/utils",
34
+ "id": "src/utils/utils.ts::Color"
35
+ }
36
+ }
37
+ },
38
+ "required": false,
39
+ "optional": true,
40
+ "docs": {
41
+ "tags": [],
42
+ "text": ""
43
+ },
44
+ "attribute": "color",
45
+ "reflect": true
46
+ },
47
+ "button": {
48
+ "type": "boolean",
49
+ "mutable": false,
50
+ "complexType": {
51
+ "original": "boolean",
52
+ "resolved": "boolean",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": true,
57
+ "docs": {
58
+ "tags": [],
59
+ "text": ""
60
+ },
61
+ "attribute": "button",
62
+ "reflect": true
63
+ }
64
+ };
65
+ }
66
+ }
67
+ //# sourceMappingURL=je-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-card.js","sourceRoot":"","sources":["../../../src/components/je-card/je-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,MAAM;;;;;IAIjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,6DAAM,IAAI,EAAC,OAAO,GAAG;YACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG;YACtB,4DAAK,KAAK,EAAC,WAAW;gBACpB,8DAAQ;gBACR,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { Color } from '../../utils/utils';\n\n@Component({\n tag: 'je-card',\n styleUrl: 'je-card.scss',\n shadow: true,\n})\nexport class JeCard {\n @Prop({ reflect: true }) color?: Color;\n @Prop({ reflect: true }) button?: boolean;\n\n render() {\n return (\n <Host>\n <slot name='media' />\n <slot name='header' />\n <div class='container'>\n <slot />\n <slot name='footer' />\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,14 @@
1
+ :host {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: var(--je-spacing-2xs);
5
+ width: fit-content;
6
+ cursor: pointer;
7
+ -webkit-user-select: none;
8
+ user-select: none;
9
+ }
10
+
11
+ je-icon {
12
+ cursor: pointer;
13
+ color: var(--je-primary-500);
14
+ }
@@ -0,0 +1,191 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class JeCheckbox {
3
+ constructor() {
4
+ this.value = undefined;
5
+ this.labelPlacement = 'end';
6
+ this.indeterminate = false;
7
+ this.labelOnly = false;
8
+ this.readonly = false;
9
+ this.disabled = false;
10
+ }
11
+ componentWillLoad() {
12
+ if (this.value === undefined && !this.indeterminate) {
13
+ this.value = false;
14
+ }
15
+ this.originalValue = this.value;
16
+ }
17
+ formResetCallback() {
18
+ if (this.value !== this.originalValue) {
19
+ this.value = this.originalValue;
20
+ }
21
+ }
22
+ onClick() {
23
+ if (!this.readonly && !this.disabled) {
24
+ if (!this.indeterminate) {
25
+ this.value = !this.value;
26
+ }
27
+ else {
28
+ // when indeterminate, the flow is false -> true -> null
29
+ this.value = this.value == false ? true : this.value == true ? null : false;
30
+ }
31
+ this.valueChange.emit(this.value);
32
+ }
33
+ }
34
+ render() {
35
+ return (h(Host, { key: '492df32418a1fad791e502a04dd1f4704af73c19' }, this.labelPlacement == 'start' && h("slot", { key: 'b1fe9f38f42da604059158012be57f08ea6c0223' }), h("je-icon", { key: 'de6acfe6dc089be11e12c7948a7be20b3d6af7f4', icon: this.value === true ? 'check_box' : this.value === false ? 'check_box_outline_blank' : 'indeterminate_check_box' }), this.labelPlacement == 'end' && h("slot", { key: '2f6b3feb823cc374566845bbc0a73c4280644376' })));
36
+ }
37
+ static get is() { return "je-checkbox"; }
38
+ static get encapsulation() { return "shadow"; }
39
+ static get formAssociated() { return true; }
40
+ static get originalStyleUrls() {
41
+ return {
42
+ "$": ["je-checkbox.scss"]
43
+ };
44
+ }
45
+ static get styleUrls() {
46
+ return {
47
+ "$": ["je-checkbox.css"]
48
+ };
49
+ }
50
+ static get properties() {
51
+ return {
52
+ "value": {
53
+ "type": "boolean",
54
+ "mutable": true,
55
+ "complexType": {
56
+ "original": "boolean",
57
+ "resolved": "boolean",
58
+ "references": {}
59
+ },
60
+ "required": false,
61
+ "optional": true,
62
+ "docs": {
63
+ "tags": [],
64
+ "text": "Whether or not the checkbox is active"
65
+ },
66
+ "attribute": "value",
67
+ "reflect": false
68
+ },
69
+ "labelPlacement": {
70
+ "type": "string",
71
+ "mutable": false,
72
+ "complexType": {
73
+ "original": "'start' | 'end'",
74
+ "resolved": "\"end\" | \"start\"",
75
+ "references": {}
76
+ },
77
+ "required": false,
78
+ "optional": false,
79
+ "docs": {
80
+ "tags": [],
81
+ "text": "Whether or not the label should go before or after the checkbox"
82
+ },
83
+ "attribute": "label-placement",
84
+ "reflect": false,
85
+ "defaultValue": "'end'"
86
+ },
87
+ "indeterminate": {
88
+ "type": "boolean",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "boolean",
92
+ "resolved": "boolean",
93
+ "references": {}
94
+ },
95
+ "required": false,
96
+ "optional": false,
97
+ "docs": {
98
+ "tags": [],
99
+ "text": "If the checkbox should contain a 3rd indeterminate state"
100
+ },
101
+ "attribute": "indeterminate",
102
+ "reflect": true,
103
+ "defaultValue": "false"
104
+ },
105
+ "labelOnly": {
106
+ "type": "boolean",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "boolean",
110
+ "resolved": "boolean",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": "Will hide the checkbox and just display the label"
118
+ },
119
+ "attribute": "label-only",
120
+ "reflect": false,
121
+ "defaultValue": "false"
122
+ },
123
+ "readonly": {
124
+ "type": "boolean",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "boolean",
128
+ "resolved": "boolean",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": false,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": "Shows the readonly state and prevents changes"
136
+ },
137
+ "attribute": "readonly",
138
+ "reflect": false,
139
+ "defaultValue": "false"
140
+ },
141
+ "disabled": {
142
+ "type": "boolean",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "boolean",
146
+ "resolved": "boolean",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Shows the disabled state and prevents changes"
154
+ },
155
+ "attribute": "disabled",
156
+ "reflect": false,
157
+ "defaultValue": "false"
158
+ }
159
+ };
160
+ }
161
+ static get events() {
162
+ return [{
163
+ "method": "valueChange",
164
+ "name": "valueChange",
165
+ "bubbles": false,
166
+ "cancelable": true,
167
+ "composed": true,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "Emits the current value whenever it's state changes"
171
+ },
172
+ "complexType": {
173
+ "original": "boolean | undefined",
174
+ "resolved": "boolean",
175
+ "references": {}
176
+ }
177
+ }];
178
+ }
179
+ static get elementRef() { return "el"; }
180
+ static get listeners() {
181
+ return [{
182
+ "name": "click",
183
+ "method": "onClick",
184
+ "target": undefined,
185
+ "capture": false,
186
+ "passive": false
187
+ }];
188
+ }
189
+ static get attachInternalsMemberName() { return "internals"; }
190
+ }
191
+ //# sourceMappingURL=je-checkbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"je-checkbox.js","sourceRoot":"","sources":["../../../src/components/je-checkbox/je-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAgB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAQhH,MAAM,OAAO,UAAU;;;8BAaqB,KAAK;6BAKN,KAAK;yBAK1B,KAAK;wBAKN,KAAK;wBAKL,KAAK;;IAOxB,iBAAiB;QACf,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACpD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACrB,CAAC;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC;IAClC,CAAC;IAED,iBAAiB;QACf,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,aAAa,EAAE,CAAC;YACtC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC;QAClC,CAAC;IACH,CAAC;IAGD,OAAO;QACL,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACrC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;gBACxB,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;YAC3B,CAAC;iBAAM,CAAC;gBACN,wDAAwD;gBACxD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;YAC9E,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACF,IAAI,CAAC,cAAc,IAAI,OAAO,IAAI,8DAAa;YAChD,gEAAS,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,yBAAyB,GAAI;YAClI,IAAI,CAAC,cAAc,IAAI,KAAK,IAAI,8DAAa,CACzC,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { AttachInternals, Component, EventEmitter, Host, Prop, h, Element, Event, Listen } from '@stencil/core';\n\n@Component({\n tag: 'je-checkbox',\n styleUrl: 'je-checkbox.scss',\n shadow: true,\n formAssociated: true\n})\nexport class JeCheckbox {\n @AttachInternals() internals: ElementInternals;\n @Element() el!: HTMLElement;\n private originalValue?: boolean;\n\n /**\n * Whether or not the checkbox is active\n */\n @Prop({ mutable: true }) value?: boolean;\n\n /**\n * Whether or not the label should go before or after the checkbox\n */\n @Prop() labelPlacement: 'start' | 'end' = 'end';\n\n /**\n * If the checkbox should contain a 3rd indeterminate state\n */\n @Prop({ reflect: true }) indeterminate = false;\n\n /**\n * Will hide the checkbox and just display the label\n */\n @Prop() labelOnly = false;\n\n /**\n * Shows the readonly state and prevents changes\n */\n @Prop() readonly = false;\n\n /**\n * Shows the disabled state and prevents changes\n */\n @Prop() disabled = false;\n\n /**\n * Emits the current value whenever it's state changes\n */\n @Event({ bubbles: false }) valueChange: EventEmitter<boolean | undefined>;\n\n componentWillLoad() {\n if (this.value === undefined && !this.indeterminate) {\n this.value = false;\n }\n this.originalValue = this.value;\n }\n\n formResetCallback() {\n if (this.value !== this.originalValue) {\n this.value = this.originalValue;\n }\n }\n\n @Listen('click')\n onClick() {\n if (!this.readonly && !this.disabled) {\n if (!this.indeterminate) {\n this.value = !this.value;\n } else {\n // when indeterminate, the flow is false -> true -> null\n this.value = this.value == false ? true : this.value == true ? null : false;\n }\n this.valueChange.emit(this.value);\n }\n }\n\n render() {\n return (\n <Host>\n {this.labelPlacement == 'start' && <slot></slot>}\n <je-icon icon={this.value === true ? 'check_box' : this.value === false ? 'check_box_outline_blank' : 'indeterminate_check_box'} />\n {this.labelPlacement == 'end' && <slot></slot>}\n </Host>\n );\n }\n}\n"]}