@nuraly/lumenui 0.1.0

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 (755) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +248 -0
  3. package/dist/nuralyui.bundle.js +29209 -0
  4. package/dist/nuralyui.bundle.js.gz +0 -0
  5. package/dist/src/components/alert/alert.component.d.ts +103 -0
  6. package/dist/src/components/alert/alert.component.js +225 -0
  7. package/dist/src/components/alert/alert.style.d.ts +14 -0
  8. package/dist/src/components/alert/alert.style.js +191 -0
  9. package/dist/src/components/alert/alert.types.d.ts +46 -0
  10. package/dist/src/components/alert/alert.types.js +7 -0
  11. package/dist/src/components/alert/bundle.js +231 -0
  12. package/dist/src/components/alert/bundle.js.gz +0 -0
  13. package/dist/src/components/alert/index.d.ts +8 -0
  14. package/dist/src/components/alert/index.js +8 -0
  15. package/dist/src/components/alert/react.d.ts +5 -0
  16. package/dist/src/components/alert/react.js +17 -0
  17. package/dist/src/components/badge/badge.component.d.ts +148 -0
  18. package/dist/src/components/badge/badge.component.js +270 -0
  19. package/dist/src/components/badge/badge.style.d.ts +14 -0
  20. package/dist/src/components/badge/badge.style.js +250 -0
  21. package/dist/src/components/badge/badge.types.d.ts +84 -0
  22. package/dist/src/components/badge/badge.types.js +7 -0
  23. package/dist/src/components/badge/bundle.js +277 -0
  24. package/dist/src/components/badge/bundle.js.gz +0 -0
  25. package/dist/src/components/badge/index.d.ts +2 -0
  26. package/dist/src/components/badge/index.js +2 -0
  27. package/dist/src/components/badge/react.d.ts +3 -0
  28. package/dist/src/components/badge/react.js +10 -0
  29. package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +121 -0
  30. package/dist/src/components/breadcrumb/breadcrumb.component.js +257 -0
  31. package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +14 -0
  32. package/dist/src/components/breadcrumb/breadcrumb.style.js +153 -0
  33. package/dist/src/components/breadcrumb/breadcrumb.types.d.ts +63 -0
  34. package/dist/src/components/breadcrumb/breadcrumb.types.js +7 -0
  35. package/dist/src/components/breadcrumb/bundle.js +213 -0
  36. package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
  37. package/dist/src/components/breadcrumb/index.d.ts +2 -0
  38. package/dist/src/components/breadcrumb/index.js +2 -0
  39. package/dist/src/components/breadcrumb/react.d.ts +5 -0
  40. package/dist/src/components/breadcrumb/react.js +12 -0
  41. package/dist/src/components/button/bundle.js +606 -0
  42. package/dist/src/components/button/bundle.js.gz +0 -0
  43. package/dist/src/components/button/button.component.d.ts +96 -0
  44. package/dist/src/components/button/button.component.js +312 -0
  45. package/dist/src/components/button/button.style.d.ts +10 -0
  46. package/dist/src/components/button/button.style.js +535 -0
  47. package/dist/src/components/button/button.types.d.ts +57 -0
  48. package/dist/src/components/button/button.types.js +2 -0
  49. package/dist/src/components/button/index.d.ts +2 -0
  50. package/dist/src/components/button/index.js +2 -0
  51. package/dist/src/components/button/react.d.ts +5 -0
  52. package/dist/src/components/button/react.js +12 -0
  53. package/dist/src/components/canvas/base-canvas.component.d.ts +177 -0
  54. package/dist/src/components/canvas/base-canvas.component.js +865 -0
  55. package/dist/src/components/canvas/bundle.js +16664 -0
  56. package/dist/src/components/canvas/bundle.js.gz +0 -0
  57. package/dist/src/components/canvas/canvas.component.d.ts +2 -0
  58. package/dist/src/components/canvas/canvas.component.js +295 -0
  59. package/dist/src/components/canvas/canvas.constants.d.ts +66 -0
  60. package/dist/src/components/canvas/canvas.constants.js +61 -0
  61. package/dist/src/components/canvas/chatbot-panel.style.d.ts +11 -0
  62. package/dist/src/components/canvas/chatbot-panel.style.js +189 -0
  63. package/dist/src/components/canvas/index.d.ts +13 -0
  64. package/dist/src/components/canvas/index.js +21 -0
  65. package/dist/src/components/canvas/react.d.ts +354 -0
  66. package/dist/src/components/canvas/react.js +41 -0
  67. package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +63 -0
  68. package/dist/src/components/canvas/whiteboard-canvas.component.js +356 -0
  69. package/dist/src/components/canvas/whiteboard-canvas.style.d.ts +7 -0
  70. package/dist/src/components/canvas/whiteboard-canvas.style.js +1011 -0
  71. package/dist/src/components/canvas/whiteboard-node.component.d.ts +87 -0
  72. package/dist/src/components/canvas/whiteboard-node.component.js +809 -0
  73. package/dist/src/components/canvas/whiteboard-node.style.d.ts +7 -0
  74. package/dist/src/components/canvas/whiteboard-node.style.js +775 -0
  75. package/dist/src/components/canvas/workflow-canvas.component.d.ts +150 -0
  76. package/dist/src/components/canvas/workflow-canvas.component.js +1468 -0
  77. package/dist/src/components/canvas/workflow-canvas.style.d.ts +8 -0
  78. package/dist/src/components/canvas/workflow-canvas.style.js +2903 -0
  79. package/dist/src/components/canvas/workflow-canvas.types.d.ts +710 -0
  80. package/dist/src/components/canvas/workflow-canvas.types.js +2305 -0
  81. package/dist/src/components/canvas/workflow-node.component.d.ts +96 -0
  82. package/dist/src/components/canvas/workflow-node.component.js +752 -0
  83. package/dist/src/components/canvas/workflow-node.style.d.ts +8 -0
  84. package/dist/src/components/canvas/workflow-node.style.js +1053 -0
  85. package/dist/src/components/card/bundle.js +69 -0
  86. package/dist/src/components/card/bundle.js.gz +0 -0
  87. package/dist/src/components/card/card.component.d.ts +30 -0
  88. package/dist/src/components/card/card.component.js +64 -0
  89. package/dist/src/components/card/card.style.d.ts +2 -0
  90. package/dist/src/components/card/card.style.js +62 -0
  91. package/dist/src/components/card/card.types.d.ts +17 -0
  92. package/dist/src/components/card/card.types.js +2 -0
  93. package/dist/src/components/card/index.d.ts +3 -0
  94. package/dist/src/components/card/index.js +3 -0
  95. package/dist/src/components/card/react.d.ts +5 -0
  96. package/dist/src/components/card/react.js +12 -0
  97. package/dist/src/components/carousel/bundle.js +96 -0
  98. package/dist/src/components/carousel/bundle.js.gz +0 -0
  99. package/dist/src/components/carousel/carousel.component.d.ts +19 -0
  100. package/dist/src/components/carousel/carousel.component.js +128 -0
  101. package/dist/src/components/carousel/carousel.style.d.ts +2 -0
  102. package/dist/src/components/carousel/carousel.style.js +68 -0
  103. package/dist/src/components/carousel/index.d.ts +2 -0
  104. package/dist/src/components/carousel/index.js +2 -0
  105. package/dist/src/components/carousel/react.d.ts +5 -0
  106. package/dist/src/components/carousel/react.js +12 -0
  107. package/dist/src/components/chatbot/bundle.js +2527 -0
  108. package/dist/src/components/chatbot/bundle.js.gz +0 -0
  109. package/dist/src/components/chatbot/chatbot.component.d.ts +215 -0
  110. package/dist/src/components/chatbot/chatbot.component.js +1097 -0
  111. package/dist/src/components/chatbot/chatbot.style.d.ts +3 -0
  112. package/dist/src/components/chatbot/chatbot.style.js +1638 -0
  113. package/dist/src/components/chatbot/chatbot.types.d.ts +246 -0
  114. package/dist/src/components/chatbot/chatbot.types.js +124 -0
  115. package/dist/src/components/chatbot/index.d.ts +13 -0
  116. package/dist/src/components/chatbot/index.js +20 -0
  117. package/dist/src/components/chatbot/react.d.ts +54 -0
  118. package/dist/src/components/chatbot/react.js +55 -0
  119. package/dist/src/components/checkbox/bundle.js +352 -0
  120. package/dist/src/components/checkbox/bundle.js.gz +0 -0
  121. package/dist/src/components/checkbox/checkbox.component.d.ts +62 -0
  122. package/dist/src/components/checkbox/checkbox.component.js +178 -0
  123. package/dist/src/components/checkbox/checkbox.style.d.ts +2 -0
  124. package/dist/src/components/checkbox/checkbox.style.js +323 -0
  125. package/dist/src/components/checkbox/checkbox.types.d.ts +6 -0
  126. package/dist/src/components/checkbox/checkbox.types.js +2 -0
  127. package/dist/src/components/checkbox/index.d.ts +2 -0
  128. package/dist/src/components/checkbox/index.js +2 -0
  129. package/dist/src/components/checkbox/react.d.ts +5 -0
  130. package/dist/src/components/checkbox/react.js +12 -0
  131. package/dist/src/components/code-editor/bundle.js +55 -0
  132. package/dist/src/components/code-editor/bundle.js.gz +0 -0
  133. package/dist/src/components/code-editor/code-editor.component.d.ts +119 -0
  134. package/dist/src/components/code-editor/code-editor.component.js +532 -0
  135. package/dist/src/components/code-editor/code-editor.style.d.ts +7 -0
  136. package/dist/src/components/code-editor/code-editor.style.js +39 -0
  137. package/dist/src/components/code-editor/code-editor.types.d.ts +39 -0
  138. package/dist/src/components/code-editor/code-editor.types.js +22 -0
  139. package/dist/src/components/code-editor/index.d.ts +9 -0
  140. package/dist/src/components/code-editor/index.js +9 -0
  141. package/dist/src/components/collapse/bundle.js +308 -0
  142. package/dist/src/components/collapse/bundle.js.gz +0 -0
  143. package/dist/src/components/collapse/collapse.component.d.ts +93 -0
  144. package/dist/src/components/collapse/collapse.component.js +322 -0
  145. package/dist/src/components/collapse/collapse.style.d.ts +11 -0
  146. package/dist/src/components/collapse/collapse.style.js +234 -0
  147. package/dist/src/components/collapse/collapse.type.d.ts +79 -0
  148. package/dist/src/components/collapse/collapse.type.js +11 -0
  149. package/dist/src/components/collapse/index.d.ts +2 -0
  150. package/dist/src/components/collapse/index.js +2 -0
  151. package/dist/src/components/collapse/react.d.ts +6 -0
  152. package/dist/src/components/collapse/react.js +13 -0
  153. package/dist/src/components/colorpicker/bundle.js +242 -0
  154. package/dist/src/components/colorpicker/bundle.js.gz +0 -0
  155. package/dist/src/components/colorpicker/color-holder.component.d.ts +50 -0
  156. package/dist/src/components/colorpicker/color-holder.component.js +116 -0
  157. package/dist/src/components/colorpicker/color-holder.style.d.ts +2 -0
  158. package/dist/src/components/colorpicker/color-holder.style.js +45 -0
  159. package/dist/src/components/colorpicker/color-picker.component.d.ts +178 -0
  160. package/dist/src/components/colorpicker/color-picker.component.js +374 -0
  161. package/dist/src/components/colorpicker/color-picker.style.d.ts +10 -0
  162. package/dist/src/components/colorpicker/color-picker.style.js +86 -0
  163. package/dist/src/components/colorpicker/color-picker.types.d.ts +60 -0
  164. package/dist/src/components/colorpicker/color-picker.types.js +2 -0
  165. package/dist/src/components/colorpicker/default-color-sets.component.d.ts +45 -0
  166. package/dist/src/components/colorpicker/default-color-sets.component.js +121 -0
  167. package/dist/src/components/colorpicker/default-color-sets.style.d.ts +2 -0
  168. package/dist/src/components/colorpicker/default-color-sets.style.js +34 -0
  169. package/dist/src/components/colorpicker/index.d.ts +3 -0
  170. package/dist/src/components/colorpicker/index.js +3 -0
  171. package/dist/src/components/colorpicker/react.d.ts +6 -0
  172. package/dist/src/components/colorpicker/react.js +13 -0
  173. package/dist/src/components/console/react.d.ts +340 -0
  174. package/dist/src/components/console/react.js +13 -0
  175. package/dist/src/components/container/bundle.js +161 -0
  176. package/dist/src/components/container/bundle.js.gz +0 -0
  177. package/dist/src/components/container/container.component.d.ts +85 -0
  178. package/dist/src/components/container/container.component.js +223 -0
  179. package/dist/src/components/container/container.style.d.ts +6 -0
  180. package/dist/src/components/container/container.style.js +146 -0
  181. package/dist/src/components/container/container.types.d.ts +67 -0
  182. package/dist/src/components/container/container.types.js +5 -0
  183. package/dist/src/components/container/index.d.ts +3 -0
  184. package/dist/src/components/container/index.js +3 -0
  185. package/dist/src/components/container/react.d.ts +3 -0
  186. package/dist/src/components/container/react.js +10 -0
  187. package/dist/src/components/datepicker/bundle.js +706 -0
  188. package/dist/src/components/datepicker/bundle.js.gz +0 -0
  189. package/dist/src/components/datepicker/datepicker.component.d.ts +190 -0
  190. package/dist/src/components/datepicker/datepicker.component.js +673 -0
  191. package/dist/src/components/datepicker/datepicker.constant.d.ts +60 -0
  192. package/dist/src/components/datepicker/datepicker.constant.js +60 -0
  193. package/dist/src/components/datepicker/datepicker.style.d.ts +17 -0
  194. package/dist/src/components/datepicker/datepicker.style.js +453 -0
  195. package/dist/src/components/datepicker/datepicker.style.variables.d.ts +2 -0
  196. package/dist/src/components/datepicker/datepicker.style.variables.js +119 -0
  197. package/dist/src/components/datepicker/datepicker.types.d.ts +142 -0
  198. package/dist/src/components/datepicker/datepicker.types.js +75 -0
  199. package/dist/src/components/datepicker/index.d.ts +4 -0
  200. package/dist/src/components/datepicker/index.js +4 -0
  201. package/dist/src/components/datepicker/react.d.ts +16 -0
  202. package/dist/src/components/datepicker/react.js +23 -0
  203. package/dist/src/components/db-connection-select/bundle.js +308 -0
  204. package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
  205. package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +105 -0
  206. package/dist/src/components/db-connection-select/db-connection-select.component.js +573 -0
  207. package/dist/src/components/db-connection-select/index.d.ts +7 -0
  208. package/dist/src/components/db-connection-select/index.js +7 -0
  209. package/dist/src/components/divider/bundle.js +143 -0
  210. package/dist/src/components/divider/bundle.js.gz +0 -0
  211. package/dist/src/components/divider/divider.component.d.ts +90 -0
  212. package/dist/src/components/divider/divider.component.js +168 -0
  213. package/dist/src/components/divider/divider.style.d.ts +3 -0
  214. package/dist/src/components/divider/divider.style.js +139 -0
  215. package/dist/src/components/divider/divider.types.d.ts +55 -0
  216. package/dist/src/components/divider/divider.types.js +6 -0
  217. package/dist/src/components/divider/index.d.ts +3 -0
  218. package/dist/src/components/divider/index.js +3 -0
  219. package/dist/src/components/divider/react.d.ts +3 -0
  220. package/dist/src/components/divider/react.js +10 -0
  221. package/dist/src/components/document/bundle.js +242 -0
  222. package/dist/src/components/document/bundle.js.gz +0 -0
  223. package/dist/src/components/document/document.component.d.ts +27 -0
  224. package/dist/src/components/document/document.component.js +136 -0
  225. package/dist/src/components/document/document.style.d.ts +3 -0
  226. package/dist/src/components/document/document.style.js +210 -0
  227. package/dist/src/components/document/document.types.d.ts +68 -0
  228. package/dist/src/components/document/document.types.js +7 -0
  229. package/dist/src/components/document/index.d.ts +3 -0
  230. package/dist/src/components/document/index.js +3 -0
  231. package/dist/src/components/document/react.d.ts +8 -0
  232. package/dist/src/components/document/react.js +15 -0
  233. package/dist/src/components/dropdown/bundle.js +528 -0
  234. package/dist/src/components/dropdown/bundle.js.gz +0 -0
  235. package/dist/src/components/dropdown/dropdown.component.d.ts +120 -0
  236. package/dist/src/components/dropdown/dropdown.component.js +390 -0
  237. package/dist/src/components/dropdown/dropdown.style.d.ts +2 -0
  238. package/dist/src/components/dropdown/dropdown.style.js +460 -0
  239. package/dist/src/components/dropdown/dropdown.types.d.ts +99 -0
  240. package/dist/src/components/dropdown/dropdown.types.js +2 -0
  241. package/dist/src/components/dropdown/index.d.ts +3 -0
  242. package/dist/src/components/dropdown/index.js +3 -0
  243. package/dist/src/components/dropdown/react.d.ts +7 -0
  244. package/dist/src/components/dropdown/react.js +14 -0
  245. package/dist/src/components/file-upload/bundle.js +472 -0
  246. package/dist/src/components/file-upload/bundle.js.gz +0 -0
  247. package/dist/src/components/file-upload/file-upload.component.d.ts +43 -0
  248. package/dist/src/components/file-upload/file-upload.component.js +398 -0
  249. package/dist/src/components/file-upload/index.d.ts +2 -0
  250. package/dist/src/components/file-upload/index.js +2 -0
  251. package/dist/src/components/file-upload/react.d.ts +7 -0
  252. package/dist/src/components/file-upload/react.js +14 -0
  253. package/dist/src/components/file-upload/styles.d.ts +2 -0
  254. package/dist/src/components/file-upload/styles.js +373 -0
  255. package/dist/src/components/file-upload/types.d.ts +11 -0
  256. package/dist/src/components/file-upload/types.js +2 -0
  257. package/dist/src/components/file-upload/utils.d.ts +6 -0
  258. package/dist/src/components/file-upload/utils.js +24 -0
  259. package/dist/src/components/flex/bundle.js +114 -0
  260. package/dist/src/components/flex/bundle.js.gz +0 -0
  261. package/dist/src/components/flex/flex.component.d.ts +89 -0
  262. package/dist/src/components/flex/flex.component.js +178 -0
  263. package/dist/src/components/flex/flex.style.d.ts +6 -0
  264. package/dist/src/components/flex/flex.style.js +101 -0
  265. package/dist/src/components/flex/flex.types.d.ts +63 -0
  266. package/dist/src/components/flex/flex.types.js +5 -0
  267. package/dist/src/components/flex/index.d.ts +3 -0
  268. package/dist/src/components/flex/index.js +3 -0
  269. package/dist/src/components/flex/react.d.ts +3 -0
  270. package/dist/src/components/flex/react.js +10 -0
  271. package/dist/src/components/form/bundle.js +98 -0
  272. package/dist/src/components/form/bundle.js.gz +0 -0
  273. package/dist/src/components/form/form.component.d.ts +279 -0
  274. package/dist/src/components/form/form.component.js +644 -0
  275. package/dist/src/components/form/form.style.d.ts +7 -0
  276. package/dist/src/components/form/form.style.js +68 -0
  277. package/dist/src/components/form/form.types.d.ts +92 -0
  278. package/dist/src/components/form/form.types.js +38 -0
  279. package/dist/src/components/form/index.d.ts +10 -0
  280. package/dist/src/components/form/index.js +13 -0
  281. package/dist/src/components/grid/bundle.js +202 -0
  282. package/dist/src/components/grid/bundle.js.gz +0 -0
  283. package/dist/src/components/grid/col.component.d.ts +103 -0
  284. package/dist/src/components/grid/col.component.js +253 -0
  285. package/dist/src/components/grid/col.style.d.ts +6 -0
  286. package/dist/src/components/grid/col.style.js +117 -0
  287. package/dist/src/components/grid/grid.types.d.ts +80 -0
  288. package/dist/src/components/grid/grid.types.js +16 -0
  289. package/dist/src/components/grid/index.d.ts +4 -0
  290. package/dist/src/components/grid/index.js +4 -0
  291. package/dist/src/components/grid/react.d.ts +5 -0
  292. package/dist/src/components/grid/react.js +17 -0
  293. package/dist/src/components/grid/row.component.d.ts +83 -0
  294. package/dist/src/components/grid/row.component.js +197 -0
  295. package/dist/src/components/grid/row.style.d.ts +6 -0
  296. package/dist/src/components/grid/row.style.js +68 -0
  297. package/dist/src/components/icon/bundle.js +340 -0
  298. package/dist/src/components/icon/bundle.js.gz +0 -0
  299. package/dist/src/components/icon/icon.component.d.ts +64 -0
  300. package/dist/src/components/icon/icon.component.js +207 -0
  301. package/dist/src/components/icon/icon.style.d.ts +2 -0
  302. package/dist/src/components/icon/icon.style.js +211 -0
  303. package/dist/src/components/icon/icon.types.d.ts +5 -0
  304. package/dist/src/components/icon/icon.types.js +2 -0
  305. package/dist/src/components/icon/icon.variables.d.ts +17 -0
  306. package/dist/src/components/icon/icon.variables.js +132 -0
  307. package/dist/src/components/icon/index.d.ts +2 -0
  308. package/dist/src/components/icon/index.js +2 -0
  309. package/dist/src/components/icon/react.d.ts +3 -0
  310. package/dist/src/components/icon/react.js +9 -0
  311. package/dist/src/components/iconpicker/bundle.js +2811 -0
  312. package/dist/src/components/iconpicker/bundle.js.gz +0 -0
  313. package/dist/src/components/iconpicker/icon-picker.component.d.ts +119 -0
  314. package/dist/src/components/iconpicker/icon-picker.component.js +337 -0
  315. package/dist/src/components/iconpicker/icon-picker.constant.d.ts +15 -0
  316. package/dist/src/components/iconpicker/icon-picker.constant.js +31 -0
  317. package/dist/src/components/iconpicker/icon-picker.style.d.ts +8 -0
  318. package/dist/src/components/iconpicker/icon-picker.style.js +216 -0
  319. package/dist/src/components/iconpicker/icon-picker.types.d.ts +49 -0
  320. package/dist/src/components/iconpicker/icon-picker.types.js +7 -0
  321. package/dist/src/components/iconpicker/index.d.ts +9 -0
  322. package/dist/src/components/iconpicker/index.js +9 -0
  323. package/dist/src/components/iconpicker/react.d.ts +14 -0
  324. package/dist/src/components/iconpicker/react.js +21 -0
  325. package/dist/src/components/image/bundle.js +98 -0
  326. package/dist/src/components/image/bundle.js.gz +0 -0
  327. package/dist/src/components/image/image.component.d.ts +31 -0
  328. package/dist/src/components/image/image.component.js +143 -0
  329. package/dist/src/components/image/image.style.d.ts +3 -0
  330. package/dist/src/components/image/image.style.js +83 -0
  331. package/dist/src/components/image/image.types.d.ts +68 -0
  332. package/dist/src/components/image/image.types.js +7 -0
  333. package/dist/src/components/image/index.d.ts +3 -0
  334. package/dist/src/components/image/index.js +3 -0
  335. package/dist/src/components/image/react.d.ts +8 -0
  336. package/dist/src/components/image/react.js +15 -0
  337. package/dist/src/components/input/bundle.js +930 -0
  338. package/dist/src/components/input/bundle.js.gz +0 -0
  339. package/dist/src/components/input/index.d.ts +3 -0
  340. package/dist/src/components/input/index.js +3 -0
  341. package/dist/src/components/input/input.component.d.ts +174 -0
  342. package/dist/src/components/input/input.component.js +490 -0
  343. package/dist/src/components/input/input.style.d.ts +2 -0
  344. package/dist/src/components/input/input.style.js +810 -0
  345. package/dist/src/components/input/input.types.d.ts +127 -0
  346. package/dist/src/components/input/input.types.js +75 -0
  347. package/dist/src/components/input/react.d.ts +9 -0
  348. package/dist/src/components/input/react.js +16 -0
  349. package/dist/src/components/input/validation.d.ts +3 -0
  350. package/dist/src/components/input/validation.js +3 -0
  351. package/dist/src/components/kv-secret-select/bundle.js +183 -0
  352. package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
  353. package/dist/src/components/kv-secret-select/index.d.ts +2 -0
  354. package/dist/src/components/kv-secret-select/index.js +2 -0
  355. package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +83 -0
  356. package/dist/src/components/kv-secret-select/kv-secret-select.component.js +360 -0
  357. package/dist/src/components/label/bundle.js +104 -0
  358. package/dist/src/components/label/bundle.js.gz +0 -0
  359. package/dist/src/components/label/index.d.ts +2 -0
  360. package/dist/src/components/label/index.js +2 -0
  361. package/dist/src/components/label/label.component.d.ts +18 -0
  362. package/dist/src/components/label/label.component.js +64 -0
  363. package/dist/src/components/label/label.style.d.ts +3 -0
  364. package/dist/src/components/label/label.style.js +70 -0
  365. package/dist/src/components/label/label.style.variables.d.ts +2 -0
  366. package/dist/src/components/label/label.style.variables.js +35 -0
  367. package/dist/src/components/label/label.types.d.ts +42 -0
  368. package/dist/src/components/label/label.types.js +2 -0
  369. package/dist/src/components/label/react.d.ts +339 -0
  370. package/dist/src/components/label/react.js +12 -0
  371. package/dist/src/components/layout/bundle.js +220 -0
  372. package/dist/src/components/layout/bundle.js.gz +0 -0
  373. package/dist/src/components/layout/content.component.d.ts +35 -0
  374. package/dist/src/components/layout/content.component.js +47 -0
  375. package/dist/src/components/layout/content.style.d.ts +2 -0
  376. package/dist/src/components/layout/content.style.js +17 -0
  377. package/dist/src/components/layout/footer.component.d.ts +38 -0
  378. package/dist/src/components/layout/footer.component.js +60 -0
  379. package/dist/src/components/layout/footer.style.d.ts +2 -0
  380. package/dist/src/components/layout/footer.style.js +17 -0
  381. package/dist/src/components/layout/header.component.d.ts +39 -0
  382. package/dist/src/components/layout/header.component.js +61 -0
  383. package/dist/src/components/layout/header.style.d.ts +2 -0
  384. package/dist/src/components/layout/header.style.js +19 -0
  385. package/dist/src/components/layout/index.d.ts +8 -0
  386. package/dist/src/components/layout/index.js +7 -0
  387. package/dist/src/components/layout/layout.component.d.ts +50 -0
  388. package/dist/src/components/layout/layout.component.js +89 -0
  389. package/dist/src/components/layout/layout.style.d.ts +2 -0
  390. package/dist/src/components/layout/layout.style.js +23 -0
  391. package/dist/src/components/layout/layout.types.d.ts +75 -0
  392. package/dist/src/components/layout/layout.types.js +12 -0
  393. package/dist/src/components/layout/react.d.ts +14 -0
  394. package/dist/src/components/layout/react.js +37 -0
  395. package/dist/src/components/layout/sider.component.d.ts +116 -0
  396. package/dist/src/components/layout/sider.component.js +273 -0
  397. package/dist/src/components/layout/sider.style.d.ts +2 -0
  398. package/dist/src/components/layout/sider.style.js +104 -0
  399. package/dist/src/components/menu/bundle.js +520 -0
  400. package/dist/src/components/menu/bundle.js.gz +0 -0
  401. package/dist/src/components/menu/index.d.ts +4 -0
  402. package/dist/src/components/menu/index.js +2 -0
  403. package/dist/src/components/menu/menu.component.d.ts +87 -0
  404. package/dist/src/components/menu/menu.component.js +596 -0
  405. package/dist/src/components/menu/menu.constants.d.ts +12 -0
  406. package/dist/src/components/menu/menu.constants.js +14 -0
  407. package/dist/src/components/menu/menu.style.d.ts +2 -0
  408. package/dist/src/components/menu/menu.style.js +372 -0
  409. package/dist/src/components/menu/menu.types.d.ts +66 -0
  410. package/dist/src/components/menu/menu.types.js +7 -0
  411. package/dist/src/components/menu/react.d.ts +5 -0
  412. package/dist/src/components/menu/react.js +12 -0
  413. package/dist/src/components/modal/bundle.js +442 -0
  414. package/dist/src/components/modal/bundle.js.gz +0 -0
  415. package/dist/src/components/modal/index.d.ts +10 -0
  416. package/dist/src/components/modal/index.js +10 -0
  417. package/dist/src/components/modal/modal-manager.d.ts +72 -0
  418. package/dist/src/components/modal/modal-manager.js +170 -0
  419. package/dist/src/components/modal/modal.component.d.ts +121 -0
  420. package/dist/src/components/modal/modal.component.js +461 -0
  421. package/dist/src/components/modal/modal.style.d.ts +9 -0
  422. package/dist/src/components/modal/modal.style.js +369 -0
  423. package/dist/src/components/modal/modal.types.d.ts +105 -0
  424. package/dist/src/components/modal/modal.types.js +93 -0
  425. package/dist/src/components/modal/react.d.ts +9 -0
  426. package/dist/src/components/modal/react.js +16 -0
  427. package/dist/src/components/panel/bundle.js +1075 -0
  428. package/dist/src/components/panel/bundle.js.gz +0 -0
  429. package/dist/src/components/panel/index.d.ts +9 -0
  430. package/dist/src/components/panel/index.js +9 -0
  431. package/dist/src/components/panel/panel.component.d.ts +199 -0
  432. package/dist/src/components/panel/panel.component.js +720 -0
  433. package/dist/src/components/panel/panel.style.d.ts +7 -0
  434. package/dist/src/components/panel/panel.style.js +497 -0
  435. package/dist/src/components/panel/panel.types.d.ts +94 -0
  436. package/dist/src/components/panel/panel.types.js +50 -0
  437. package/dist/src/components/panel/react.d.ts +11 -0
  438. package/dist/src/components/panel/react.js +18 -0
  439. package/dist/src/components/popconfirm/bundle.js +438 -0
  440. package/dist/src/components/popconfirm/bundle.js.gz +0 -0
  441. package/dist/src/components/popconfirm/index.d.ts +4 -0
  442. package/dist/src/components/popconfirm/index.js +4 -0
  443. package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +129 -0
  444. package/dist/src/components/popconfirm/popconfirm-manager.component.js +372 -0
  445. package/dist/src/components/popconfirm/popconfirm-manager.style.d.ts +2 -0
  446. package/dist/src/components/popconfirm/popconfirm-manager.style.js +137 -0
  447. package/dist/src/components/popconfirm/popconfirm.component.d.ts +179 -0
  448. package/dist/src/components/popconfirm/popconfirm.component.js +409 -0
  449. package/dist/src/components/popconfirm/popconfirm.style.d.ts +2 -0
  450. package/dist/src/components/popconfirm/popconfirm.style.js +207 -0
  451. package/dist/src/components/popconfirm/popconfirm.types.d.ts +104 -0
  452. package/dist/src/components/popconfirm/popconfirm.types.js +2 -0
  453. package/dist/src/components/popconfirm/react.d.ts +7 -0
  454. package/dist/src/components/popconfirm/react.js +14 -0
  455. package/dist/src/components/radio/bundle.js +180 -0
  456. package/dist/src/components/radio/bundle.js.gz +0 -0
  457. package/dist/src/components/radio/index.d.ts +3 -0
  458. package/dist/src/components/radio/index.js +3 -0
  459. package/dist/src/components/radio/radio.component.d.ts +70 -0
  460. package/dist/src/components/radio/radio.component.js +187 -0
  461. package/dist/src/components/radio/radio.style.d.ts +7 -0
  462. package/dist/src/components/radio/radio.style.js +149 -0
  463. package/dist/src/components/radio/radio.types.d.ts +14 -0
  464. package/dist/src/components/radio/radio.types.js +15 -0
  465. package/dist/src/components/radio/react.d.ts +12 -0
  466. package/dist/src/components/radio/react.js +19 -0
  467. package/dist/src/components/radio-group/bundle.js +430 -0
  468. package/dist/src/components/radio-group/bundle.js.gz +0 -0
  469. package/dist/src/components/radio-group/index.d.ts +3 -0
  470. package/dist/src/components/radio-group/index.js +3 -0
  471. package/dist/src/components/radio-group/radio-group.component.d.ts +165 -0
  472. package/dist/src/components/radio-group/radio-group.component.js +437 -0
  473. package/dist/src/components/radio-group/radio-group.style.d.ts +7 -0
  474. package/dist/src/components/radio-group/radio-group.style.js +270 -0
  475. package/dist/src/components/radio-group/radio-group.types.d.ts +39 -0
  476. package/dist/src/components/radio-group/radio-group.types.js +29 -0
  477. package/dist/src/components/radio-group/radio.constant.d.ts +2 -0
  478. package/dist/src/components/radio-group/radio.constant.js +2 -0
  479. package/dist/src/components/radio-group/react.d.ts +10 -0
  480. package/dist/src/components/radio-group/react.js +17 -0
  481. package/dist/src/components/select/bundle.js +721 -0
  482. package/dist/src/components/select/bundle.js.gz +0 -0
  483. package/dist/src/components/select/index.d.ts +17 -0
  484. package/dist/src/components/select/index.js +20 -0
  485. package/dist/src/components/select/react.d.ts +19 -0
  486. package/dist/src/components/select/react.js +26 -0
  487. package/dist/src/components/select/select.component.d.ts +359 -0
  488. package/dist/src/components/select/select.component.js +775 -0
  489. package/dist/src/components/select/select.constant.d.ts +133 -0
  490. package/dist/src/components/select/select.constant.js +136 -0
  491. package/dist/src/components/select/select.style.d.ts +2 -0
  492. package/dist/src/components/select/select.style.js +533 -0
  493. package/dist/src/components/select/select.types.d.ts +100 -0
  494. package/dist/src/components/select/select.types.js +73 -0
  495. package/dist/src/components/skeleton/bundle.js +293 -0
  496. package/dist/src/components/skeleton/bundle.js.gz +0 -0
  497. package/dist/src/components/skeleton/index.d.ts +3 -0
  498. package/dist/src/components/skeleton/index.js +3 -0
  499. package/dist/src/components/skeleton/react.d.ts +3 -0
  500. package/dist/src/components/skeleton/react.js +10 -0
  501. package/dist/src/components/skeleton/skeleton.component.d.ts +165 -0
  502. package/dist/src/components/skeleton/skeleton.component.js +387 -0
  503. package/dist/src/components/skeleton/skeleton.style.d.ts +2 -0
  504. package/dist/src/components/skeleton/skeleton.style.js +224 -0
  505. package/dist/src/components/skeleton/skeleton.types.d.ts +82 -0
  506. package/dist/src/components/skeleton/skeleton.types.js +2 -0
  507. package/dist/src/components/slider-input/bundle.js +241 -0
  508. package/dist/src/components/slider-input/bundle.js.gz +0 -0
  509. package/dist/src/components/slider-input/index.d.ts +3 -0
  510. package/dist/src/components/slider-input/index.js +3 -0
  511. package/dist/src/components/slider-input/react.d.ts +340 -0
  512. package/dist/src/components/slider-input/react.js +13 -0
  513. package/dist/src/components/slider-input/slider-input.component.d.ts +38 -0
  514. package/dist/src/components/slider-input/slider-input.component.js +191 -0
  515. package/dist/src/components/slider-input/slider-input.style.d.ts +3 -0
  516. package/dist/src/components/slider-input/slider-input.style.js +171 -0
  517. package/dist/src/components/slider-input/slider-input.style.variables.d.ts +2 -0
  518. package/dist/src/components/slider-input/slider-input.style.variables.js +59 -0
  519. package/dist/src/components/slider-input/slider-input.types.d.ts +21 -0
  520. package/dist/src/components/slider-input/slider-input.types.js +6 -0
  521. package/dist/src/components/table/bundle.js +987 -0
  522. package/dist/src/components/table/bundle.js.gz +0 -0
  523. package/dist/src/components/table/index.d.ts +2 -0
  524. package/dist/src/components/table/index.js +2 -0
  525. package/dist/src/components/table/react.d.ts +7 -0
  526. package/dist/src/components/table/react.js +14 -0
  527. package/dist/src/components/table/table.component.d.ts +140 -0
  528. package/dist/src/components/table/table.component.js +433 -0
  529. package/dist/src/components/table/table.style.d.ts +3 -0
  530. package/dist/src/components/table/table.style.js +702 -0
  531. package/dist/src/components/table/table.types.d.ts +103 -0
  532. package/dist/src/components/table/table.types.js +2 -0
  533. package/dist/src/components/tabs/bundle.js +1782 -0
  534. package/dist/src/components/tabs/bundle.js.gz +0 -0
  535. package/dist/src/components/tabs/index.d.ts +9 -0
  536. package/dist/src/components/tabs/index.js +10 -0
  537. package/dist/src/components/tabs/react.d.ts +50 -0
  538. package/dist/src/components/tabs/react.js +50 -0
  539. package/dist/src/components/tabs/tabs.component.d.ts +100 -0
  540. package/dist/src/components/tabs/tabs.component.js +461 -0
  541. package/dist/src/components/tabs/tabs.constant.d.ts +20 -0
  542. package/dist/src/components/tabs/tabs.constant.js +21 -0
  543. package/dist/src/components/tabs/tabs.style.d.ts +9 -0
  544. package/dist/src/components/tabs/tabs.style.js +577 -0
  545. package/dist/src/components/tabs/tabs.types.d.ts +241 -0
  546. package/dist/src/components/tabs/tabs.types.js +13 -0
  547. package/dist/src/components/tag/bundle.js +108 -0
  548. package/dist/src/components/tag/bundle.js.gz +0 -0
  549. package/dist/src/components/tag/index.d.ts +2 -0
  550. package/dist/src/components/tag/index.js +2 -0
  551. package/dist/src/components/tag/react.d.ts +6 -0
  552. package/dist/src/components/tag/react.js +13 -0
  553. package/dist/src/components/tag/tag.component.d.ts +57 -0
  554. package/dist/src/components/tag/tag.component.js +157 -0
  555. package/dist/src/components/tag/tag.style.d.ts +7 -0
  556. package/dist/src/components/tag/tag.style.js +88 -0
  557. package/dist/src/components/tag/tag.types.d.ts +28 -0
  558. package/dist/src/components/tag/tag.types.js +7 -0
  559. package/dist/src/components/textarea/bundle.js +404 -0
  560. package/dist/src/components/textarea/bundle.js.gz +0 -0
  561. package/dist/src/components/textarea/index.d.ts +8 -0
  562. package/dist/src/components/textarea/index.js +7 -0
  563. package/dist/src/components/textarea/react.d.ts +9 -0
  564. package/dist/src/components/textarea/react.js +16 -0
  565. package/dist/src/components/textarea/textarea.component.d.ts +203 -0
  566. package/dist/src/components/textarea/textarea.component.js +657 -0
  567. package/dist/src/components/textarea/textarea.style.d.ts +59 -0
  568. package/dist/src/components/textarea/textarea.style.js +386 -0
  569. package/dist/src/components/textarea/textarea.types.d.ts +102 -0
  570. package/dist/src/components/textarea/textarea.types.js +14 -0
  571. package/dist/src/components/timeline/bundle.js +261 -0
  572. package/dist/src/components/timeline/bundle.js.gz +0 -0
  573. package/dist/src/components/timeline/index.d.ts +2 -0
  574. package/dist/src/components/timeline/index.js +2 -0
  575. package/dist/src/components/timeline/react.d.ts +3 -0
  576. package/dist/src/components/timeline/react.js +10 -0
  577. package/dist/src/components/timeline/timeline.component.d.ts +109 -0
  578. package/dist/src/components/timeline/timeline.component.js +214 -0
  579. package/dist/src/components/timeline/timeline.style.d.ts +14 -0
  580. package/dist/src/components/timeline/timeline.style.js +234 -0
  581. package/dist/src/components/timeline/timeline.types.d.ts +62 -0
  582. package/dist/src/components/timeline/timeline.types.js +7 -0
  583. package/dist/src/components/timepicker/bundle.js +810 -0
  584. package/dist/src/components/timepicker/bundle.js.gz +0 -0
  585. package/dist/src/components/timepicker/index.d.ts +12 -0
  586. package/dist/src/components/timepicker/index.js +12 -0
  587. package/dist/src/components/timepicker/timepicker.component.d.ts +115 -0
  588. package/dist/src/components/timepicker/timepicker.component.js +743 -0
  589. package/dist/src/components/timepicker/timepicker.constants.d.ts +85 -0
  590. package/dist/src/components/timepicker/timepicker.constants.js +85 -0
  591. package/dist/src/components/timepicker/timepicker.style.d.ts +7 -0
  592. package/dist/src/components/timepicker/timepicker.style.js +568 -0
  593. package/dist/src/components/timepicker/timepicker.style.variables.d.ts +2 -0
  594. package/dist/src/components/timepicker/timepicker.style.variables.js +122 -0
  595. package/dist/src/components/timepicker/timepicker.types.d.ts +161 -0
  596. package/dist/src/components/timepicker/timepicker.types.js +125 -0
  597. package/dist/src/components/toast/bundle.js +393 -0
  598. package/dist/src/components/toast/bundle.js.gz +0 -0
  599. package/dist/src/components/toast/index.d.ts +9 -0
  600. package/dist/src/components/toast/index.js +9 -0
  601. package/dist/src/components/toast/react.d.ts +7 -0
  602. package/dist/src/components/toast/react.js +19 -0
  603. package/dist/src/components/toast/toast.component.d.ts +152 -0
  604. package/dist/src/components/toast/toast.component.js +368 -0
  605. package/dist/src/components/toast/toast.style.d.ts +14 -0
  606. package/dist/src/components/toast/toast.style.js +338 -0
  607. package/dist/src/components/toast/toast.types.d.ts +124 -0
  608. package/dist/src/components/toast/toast.types.js +9 -0
  609. package/dist/src/components/tooltips/bundle.js +123 -0
  610. package/dist/src/components/tooltips/bundle.js.gz +0 -0
  611. package/dist/src/components/tooltips/index.d.ts +2 -0
  612. package/dist/src/components/tooltips/index.js +2 -0
  613. package/dist/src/components/tooltips/react.d.ts +1 -0
  614. package/dist/src/components/tooltips/react.js +2 -0
  615. package/dist/src/components/tooltips/tooltips.component.d.ts +33 -0
  616. package/dist/src/components/tooltips/tooltips.component.js +313 -0
  617. package/dist/src/components/tooltips/tooltips.constant.d.ts +13 -0
  618. package/dist/src/components/tooltips/tooltips.constant.js +15 -0
  619. package/dist/src/components/tooltips/tooltips.style.d.ts +2 -0
  620. package/dist/src/components/tooltips/tooltips.style.js +103 -0
  621. package/dist/src/components/tooltips/tooltips.variables.d.ts +2 -0
  622. package/dist/src/components/tooltips/tooltips.variables.js +14 -0
  623. package/dist/src/components/video/bundle.js +171 -0
  624. package/dist/src/components/video/bundle.js.gz +0 -0
  625. package/dist/src/components/video/index.d.ts +3 -0
  626. package/dist/src/components/video/index.js +3 -0
  627. package/dist/src/components/video/react.d.ts +10 -0
  628. package/dist/src/components/video/react.js +17 -0
  629. package/dist/src/components/video/video.component.d.ts +34 -0
  630. package/dist/src/components/video/video.component.js +184 -0
  631. package/dist/src/components/video/video.style.d.ts +3 -0
  632. package/dist/src/components/video/video.style.js +124 -0
  633. package/dist/src/components/video/video.types.d.ts +80 -0
  634. package/dist/src/components/video/video.types.js +7 -0
  635. package/package.json +215 -0
  636. package/packages/common/README.md +137 -0
  637. package/packages/common/dist/LICENSE +28 -0
  638. package/packages/common/dist/README.md +137 -0
  639. package/packages/common/dist/VERSIONS.md +4 -0
  640. package/packages/common/dist/constants/index.d.ts +2 -0
  641. package/packages/common/dist/constants/index.d.ts.map +1 -0
  642. package/packages/common/dist/constants/index.js +2 -0
  643. package/packages/common/dist/constants/index.js.map +1 -0
  644. package/packages/common/dist/constants.d.ts +17 -0
  645. package/packages/common/dist/constants.d.ts.map +1 -0
  646. package/packages/common/dist/constants.js +7 -0
  647. package/packages/common/dist/constants.js.map +1 -0
  648. package/packages/common/dist/controllers/index.d.ts +2 -0
  649. package/packages/common/dist/controllers/index.d.ts.map +1 -0
  650. package/packages/common/dist/controllers/index.js +2 -0
  651. package/packages/common/dist/controllers/index.js.map +1 -0
  652. package/packages/common/dist/controllers.d.ts +21 -0
  653. package/packages/common/dist/controllers.d.ts.map +1 -0
  654. package/packages/common/dist/controllers.js +22 -0
  655. package/packages/common/dist/controllers.js.map +1 -0
  656. package/packages/common/dist/index.d.ts +25 -0
  657. package/packages/common/dist/index.d.ts.map +1 -0
  658. package/packages/common/dist/index.js +27 -0
  659. package/packages/common/dist/index.js.map +1 -0
  660. package/packages/common/dist/mixins/index.d.ts +2 -0
  661. package/packages/common/dist/mixins/index.d.ts.map +1 -0
  662. package/packages/common/dist/mixins/index.js +3 -0
  663. package/packages/common/dist/mixins/index.js.map +1 -0
  664. package/packages/common/dist/mixins.d.ts +26 -0
  665. package/packages/common/dist/mixins.d.ts.map +1 -0
  666. package/packages/common/dist/mixins.js +29 -0
  667. package/packages/common/dist/mixins.js.map +1 -0
  668. package/packages/common/dist/shared/base-mixin.d.ts +42 -0
  669. package/packages/common/dist/shared/base-mixin.d.ts.map +1 -0
  670. package/packages/common/dist/shared/base-mixin.js +38 -0
  671. package/packages/common/dist/shared/base-mixin.js.map +1 -0
  672. package/packages/common/dist/shared/constants.d.ts +1 -0
  673. package/packages/common/dist/shared/constants.d.ts.map +1 -0
  674. package/packages/common/dist/shared/constants.js +2 -0
  675. package/packages/common/dist/shared/constants.js.map +1 -0
  676. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts +81 -0
  677. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts.map +1 -0
  678. package/packages/common/dist/shared/controllers/base-validation.controller.js +104 -0
  679. package/packages/common/dist/shared/controllers/base-validation.controller.js.map +1 -0
  680. package/packages/common/dist/shared/controllers/base.controller.d.ts +76 -0
  681. package/packages/common/dist/shared/controllers/base.controller.d.ts.map +1 -0
  682. package/packages/common/dist/shared/controllers/base.controller.js +129 -0
  683. package/packages/common/dist/shared/controllers/base.controller.js.map +1 -0
  684. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts +77 -0
  685. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts.map +1 -0
  686. package/packages/common/dist/shared/controllers/dropdown.controller.js +341 -0
  687. package/packages/common/dist/shared/controllers/dropdown.controller.js.map +1 -0
  688. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts +37 -0
  689. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts.map +1 -0
  690. package/packages/common/dist/shared/controllers/dropdown.interface.js +2 -0
  691. package/packages/common/dist/shared/controllers/dropdown.interface.js.map +1 -0
  692. package/packages/common/dist/shared/controllers/index.d.ts +6 -0
  693. package/packages/common/dist/shared/controllers/index.d.ts.map +1 -0
  694. package/packages/common/dist/shared/controllers/index.js +6 -0
  695. package/packages/common/dist/shared/controllers/index.js.map +1 -0
  696. package/packages/common/dist/shared/controllers/theme.controller.d.ts +48 -0
  697. package/packages/common/dist/shared/controllers/theme.controller.d.ts.map +1 -0
  698. package/packages/common/dist/shared/controllers/theme.controller.js +133 -0
  699. package/packages/common/dist/shared/controllers/theme.controller.js.map +1 -0
  700. package/packages/common/dist/shared/dependency-mixin.d.ts +37 -0
  701. package/packages/common/dist/shared/dependency-mixin.d.ts.map +1 -0
  702. package/packages/common/dist/shared/dependency-mixin.js +141 -0
  703. package/packages/common/dist/shared/dependency-mixin.js.map +1 -0
  704. package/packages/common/dist/shared/event-handler-mixin.d.ts +64 -0
  705. package/packages/common/dist/shared/event-handler-mixin.d.ts.map +1 -0
  706. package/packages/common/dist/shared/event-handler-mixin.js +95 -0
  707. package/packages/common/dist/shared/event-handler-mixin.js.map +1 -0
  708. package/packages/common/dist/shared/index.d.ts +13 -0
  709. package/packages/common/dist/shared/index.d.ts.map +1 -0
  710. package/packages/common/dist/shared/index.js +17 -0
  711. package/packages/common/dist/shared/index.js.map +1 -0
  712. package/packages/common/dist/shared/render-utils.d.ts +103 -0
  713. package/packages/common/dist/shared/render-utils.d.ts.map +1 -0
  714. package/packages/common/dist/shared/render-utils.js +132 -0
  715. package/packages/common/dist/shared/render-utils.js.map +1 -0
  716. package/packages/common/dist/shared/theme-mixin.d.ts +78 -0
  717. package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -0
  718. package/packages/common/dist/shared/theme-mixin.js +194 -0
  719. package/packages/common/dist/shared/theme-mixin.js.map +1 -0
  720. package/packages/common/dist/shared/themes.d.ts +44 -0
  721. package/packages/common/dist/shared/themes.d.ts.map +1 -0
  722. package/packages/common/dist/shared/themes.js +85 -0
  723. package/packages/common/dist/shared/themes.js.map +1 -0
  724. package/packages/common/dist/shared/utils.d.ts +60 -0
  725. package/packages/common/dist/shared/utils.d.ts.map +1 -0
  726. package/packages/common/dist/shared/utils.js +85 -0
  727. package/packages/common/dist/shared/utils.js.map +1 -0
  728. package/packages/common/dist/shared/validation.types.d.ts +108 -0
  729. package/packages/common/dist/shared/validation.types.d.ts.map +1 -0
  730. package/packages/common/dist/shared/validation.types.js +17 -0
  731. package/packages/common/dist/shared/validation.types.js.map +1 -0
  732. package/packages/common/dist/themes/index.d.ts +2 -0
  733. package/packages/common/dist/themes/index.d.ts.map +1 -0
  734. package/packages/common/dist/themes/index.js +2 -0
  735. package/packages/common/dist/themes/index.js.map +1 -0
  736. package/packages/common/dist/themes.d.ts +22 -0
  737. package/packages/common/dist/themes.d.ts.map +1 -0
  738. package/packages/common/dist/themes.js +23 -0
  739. package/packages/common/dist/themes.js.map +1 -0
  740. package/packages/common/dist/utils/index.d.ts +2 -0
  741. package/packages/common/dist/utils/index.d.ts.map +1 -0
  742. package/packages/common/dist/utils/index.js +2 -0
  743. package/packages/common/dist/utils/index.js.map +1 -0
  744. package/packages/common/dist/utils.d.ts +22 -0
  745. package/packages/common/dist/utils.d.ts.map +1 -0
  746. package/packages/common/dist/utils.js +24 -0
  747. package/packages/common/dist/utils.js.map +1 -0
  748. package/packages/themes/README.md +146 -0
  749. package/packages/themes/dist/README.md +146 -0
  750. package/packages/themes/dist/carbon.css +2987 -0
  751. package/packages/themes/dist/default.css +2757 -0
  752. package/packages/themes/dist/editor.css +1063 -0
  753. package/packages/themes/dist/index.cjs +46 -0
  754. package/packages/themes/dist/index.js +46 -0
  755. package/packages/themes/dist/package.json +59 -0
@@ -0,0 +1,149 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { css } from 'lit';
7
+ export const styles = css `
8
+ :host {
9
+ display: inline-flex;
10
+ align-items: center;
11
+ cursor: pointer;
12
+ user-select: none;
13
+ position: relative;
14
+ font-family: var(--nuraly-font-family-radio, var(--nuraly-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif));
15
+ }
16
+
17
+ :host([disabled]) {
18
+ cursor: not-allowed;
19
+ opacity: 0.5;
20
+ }
21
+
22
+ .radio-wrapper {
23
+ display: inline-flex;
24
+ align-items: center;
25
+ gap: var(--nuraly-radio-gap, 8px);
26
+ }
27
+
28
+ .radio-input {
29
+ position: absolute;
30
+ opacity: 0;
31
+ cursor: pointer;
32
+ width: 0;
33
+ height: 0;
34
+ }
35
+
36
+ .radio-circle {
37
+ position: relative;
38
+ display: inline-flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ border-radius: var(--nuraly-border-radius-radio, 50%);
42
+ border: var(--nuraly-border-width-radio, 2px) solid var(--nuraly-color-radio-border, #d9d9d9);
43
+ background: var(--nuraly-color-radio-background, #ffffff);
44
+ transition: all 0.2s ease;
45
+ flex-shrink: 0;
46
+ }
47
+
48
+ /* Size variants */
49
+ :host([size="small"]) .radio-circle {
50
+ width: var(--nuraly-size-radio-small, 16px);
51
+ height: var(--nuraly-size-radio-small, 16px);
52
+ }
53
+
54
+ :host([size="medium"]) .radio-circle,
55
+ :host(:not([size])) .radio-circle {
56
+ width: var(--nuraly-size-radio-medium, 20px);
57
+ height: var(--nuraly-size-radio-medium, 20px);
58
+ }
59
+
60
+ :host([size="large"]) .radio-circle {
61
+ width: var(--nuraly-size-radio-large, 24px);
62
+ height: var(--nuraly-size-radio-large, 24px);
63
+ }
64
+
65
+ .radio-circle::after {
66
+ content: '';
67
+ display: block;
68
+ border-radius: var(--nuraly-border-radius-radio-dot, 50%);
69
+ background: var(--nuraly-color-radio-dot, #1677ff);
70
+ transform: scale(0);
71
+ transition: transform 0.2s ease;
72
+ }
73
+
74
+ :host([size="small"]) .radio-circle::after {
75
+ width: 8px;
76
+ height: 8px;
77
+ }
78
+
79
+ :host([size="medium"]) .radio-circle::after,
80
+ :host(:not([size])) .radio-circle::after {
81
+ width: 10px;
82
+ height: 10px;
83
+ }
84
+
85
+ :host([size="large"]) .radio-circle::after {
86
+ width: 12px;
87
+ height: 12px;
88
+ }
89
+
90
+ /* Checked state */
91
+ :host([checked]) .radio-circle {
92
+ border-color: var(--nuraly-color-radio-checked-border, #1677ff);
93
+ }
94
+
95
+ :host([checked]) .radio-circle::after {
96
+ transform: scale(1);
97
+ }
98
+
99
+ /* Focus state */
100
+ .radio-input:focus-visible + .radio-circle {
101
+ outline: 2px solid var(--nuraly-color-radio-border-focus, #1677ff);
102
+ outline-offset: 2px;
103
+ }
104
+
105
+ /* Hover state */
106
+ :host(:not([disabled]):hover) .radio-circle {
107
+ border-color: var(--nuraly-color-radio-border-hover, #1677ff);
108
+ }
109
+
110
+ /* Disabled state */
111
+ :host([disabled]) .radio-circle {
112
+ background: var(--nuraly-color-radio-disabled-background, #f5f5f5);
113
+ border-color: var(--nuraly-color-radio-disabled-border, #d9d9d9);
114
+ }
115
+
116
+ :host([disabled][checked]) .radio-circle::after {
117
+ background: var(--nuraly-color-radio-disabled-dot, #bfbfbf);
118
+ }
119
+
120
+ /* Label - using nr-label component */
121
+ .radio-label {
122
+ display: inline-block;
123
+ line-height: 1.5;
124
+ }
125
+
126
+ nr-label.radio-label {
127
+ --nuraly-label-color: var(--nuraly-color-radio-label, #262626);
128
+ --nuraly-label-font-size: var(--nuraly-font-size-radio-label, 14px);
129
+ }
130
+
131
+ /* Size-based label font sizes */
132
+ :host([size="small"]) nr-label.radio-label {
133
+ --nuraly-label-font-size: var(--nuraly-font-size-small, 12px);
134
+ }
135
+
136
+ :host([size="medium"]) nr-label.radio-label,
137
+ :host(:not([size])) nr-label.radio-label {
138
+ --nuraly-label-font-size: var(--nuraly-font-size-body, 14px);
139
+ }
140
+
141
+ :host([size="large"]) nr-label.radio-label {
142
+ --nuraly-label-font-size: var(--nuraly-font-size-large, 16px);
143
+ }
144
+
145
+ :host([disabled]) nr-label.radio-label {
146
+ --nuraly-label-color: var(--nuraly-color-radio-disabled-text, #bfbfbf);
147
+ }
148
+ `;
149
+ //# sourceMappingURL=radio.style.js.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ /**
7
+ * Radio button size variants
8
+ */
9
+ export declare enum RadioSize {
10
+ Small = "small",
11
+ Medium = "medium",
12
+ Large = "large"
13
+ }
14
+ //# sourceMappingURL=radio.types.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ /**
7
+ * Radio button size variants
8
+ */
9
+ export var RadioSize;
10
+ (function (RadioSize) {
11
+ RadioSize["Small"] = "small";
12
+ RadioSize["Medium"] = "medium";
13
+ RadioSize["Large"] = "large";
14
+ })(RadioSize || (RadioSize = {}));
15
+ //# sourceMappingURL=radio.types.js.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { NrRadioElement } from './radio.component.js';
7
+ export declare const NrRadio: import("@lit-labs/react").ReactWebComponent<NrRadioElement, {
8
+ onChange: string;
9
+ onFocus: string;
10
+ onBlur: string;
11
+ }>;
12
+ //# sourceMappingURL=react.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import React from 'react';
7
+ import { createComponent } from '@lit-labs/react';
8
+ import { NrRadioElement } from './radio.component.js';
9
+ export const NrRadio = createComponent({
10
+ tagName: 'nr-radio',
11
+ elementClass: NrRadioElement,
12
+ react: React,
13
+ events: {
14
+ onChange: 'nr-change',
15
+ onFocus: 'nr-focus',
16
+ onBlur: 'nr-blur'
17
+ }
18
+ });
19
+ //# sourceMappingURL=react.js.map
@@ -0,0 +1,430 @@
1
+ import{css as t,LitElement as r,html as o,nothing as i}from"lit";import{property as e,customElement as n}from"lit/decorators.js";import{choose as a}from"lit/directives/choose.js";import{classMap as s}from"lit/directives/class-map.js";import{NuralyUIBaseMixin as l}from"@nuralyui/common/mixins";import{BaseValidationController as d}from"@nuralyui/common/controllers";import{throttle as u}from"@nuralyui/common/utils";
2
+ /**
3
+ * @license
4
+ * Copyright 2023 Nuraly, Laabidi Aymen
5
+ * SPDX-License-Identifier: MIT
6
+ */class h{constructor(t){this.host=t,t.addController(this)}hostConnected(){if(this.host.defaultValue&&!this.host.value){const t=this.host.options.find(t=>t.value===this.host.defaultValue);t&&!this.isOptionDisabled(t)&&this.selectOption(t)}}hostDisconnected(){}selectOption(t){if(this.isOptionDisabled(t))return;const r=this.host.value;this.host.value=t.value,this.dispatchChangeEvent(t,r),this.host.requestUpdate()}getSelectedOption(){return this.host.options.find(t=>t.value===this.host.value)}isOptionSelected(t){return t.value===this.host.value}isOptionDisabled(t){return this.host.disabled||Boolean(t.disabled)}getFormData(){return this.host.name?{[this.host.name]:this.host.value}:{}}reset(){this.host.value=this.host.defaultValue||"",this.host.requestUpdate()}getSelectedValue(){return this.host.value}dispatchChangeEvent(t,r){const o=new CustomEvent("nr-change",{detail:{value:t.value,option:t,oldValue:r},bubbles:!0,composed:!0});this.host.dispatchEvent(o)}}
7
+ /**
8
+ * @license
9
+ * Copyright 2023 Nuraly, Laabidi Aymen
10
+ * SPDX-License-Identifier: MIT
11
+ */class c{constructor(t,r){this.groupController=r,this.host=t,this.boundKeyDownHandler=this.handleKeyDown.bind(this),t.addController(this)}hostConnected(){this.host.addEventListener("keydown",this.boundKeyDownHandler)}hostDisconnected(){this.host.removeEventListener("keydown",this.boundKeyDownHandler)}handleKeyDown(t){const r=this.host.options;if(!r||0===r.length)return;const o=r.findIndex(t=>this.groupController.isOptionSelected(t));switch(t.key){case"ArrowDown":case"ArrowRight":t.preventDefault(),this.selectNextOption(r,o);break;case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.selectPreviousOption(r,o);break;case" ":case"Enter":t.preventDefault(),-1===o&&this.selectFirstEnabledOption(r);break;case"Home":t.preventDefault(),this.selectFirstEnabledOption(r);break;case"End":t.preventDefault(),this.selectLastEnabledOption(r)}}selectNextOption(t,r){const o=-1===r?0:r+1;for(let r=0;r<t.length;r++){const i=t[(o+r)%t.length];if(!this.groupController.isOptionDisabled(i)){this.groupController.selectOption(i);break}}}selectPreviousOption(t,r){const o=-1===r?t.length-1:r-1;for(let r=0;r<t.length;r++){const i=t[(o-r+t.length)%t.length];if(!this.groupController.isOptionDisabled(i)){this.groupController.selectOption(i);break}}}selectFirstEnabledOption(t){const r=t.find(t=>!this.groupController.isOptionDisabled(t));r&&this.groupController.selectOption(r)}selectLastEnabledOption(t){const r=t.filter(t=>!this.groupController.isOptionDisabled(t)),o=r[r.length-1];o&&this.groupController.selectOption(o)}}
12
+ /**
13
+ * @license
14
+ * Copyright 2023 Nuraly, Laabidi Aymen
15
+ * SPDX-License-Identifier: MIT
16
+ */class p{constructor(t){this._focusedIndex=-1,this._hasFocus=!1,this.host=t,this.boundFocusInHandler=this.handleFocusIn.bind(this),this.boundFocusOutHandler=this.handleFocusOut.bind(this),t.addController(this)}hostConnected(){this.host.addEventListener("focusin",this.boundFocusInHandler),this.host.addEventListener("focusout",this.boundFocusOutHandler)}hostDisconnected(){this.host.removeEventListener("focusin",this.boundFocusInHandler),this.host.removeEventListener("focusout",this.boundFocusOutHandler)}get focusedIndex(){return this._focusedIndex}get hasFocus(){return this._hasFocus}setFocusedOption(t){const r=this._focusedIndex;this._focusedIndex=t,r!==t&&this.host.requestUpdate()}getFocusedIndex(){return this._focusedIndex}clearFocus(){this._focusedIndex=-1,this._hasFocus=!1,this.host.requestUpdate()}handleFocusIn(t){var r;this._hasFocus=!0;const o=t.target;if(o&&o.matches('input[type="radio"], nr-button[role="radio"]')){const t=null===(r=this.host.shadowRoot)||void 0===r?void 0:r.querySelectorAll('input[type="radio"], nr-button[role="radio"]');if(t){const r=Array.from(t).indexOf(o);-1!==r&&this.setFocusedOption(r)}}this.host.requestUpdate()}handleFocusOut(t){const r=t.relatedTarget,o=this.host;r&&o.contains(r)||(this._hasFocus=!1,this.host.requestUpdate())}focus(){const t=this.host.options,r=this.host.value,o=t.findIndex(t=>t.value===r);if(-1!==o)return void this.focusOptionAtIndex(o);const i=t.findIndex(t=>!t.disabled);-1!==i&&this.focusOptionAtIndex(i)}blur(){const t=this.host.shadowRoot;if(!t)return;const r=t.querySelector('input[type="radio"]:focus, nr-button[role="radio"]:focus');r&&"function"==typeof r.blur&&r.blur()}focusOptionAtIndex(t){const r=this.host.shadowRoot;if(!r)return;this.updateTabIndices(t);const o=r.querySelectorAll('input[type="radio"]');if(o[t])return void o[t].focus();const i=r.querySelectorAll('nr-button[role="radio"]');i[t]&&i[t].focus()}updateTabIndices(t){const r=this.host.shadowRoot;if(!r)return;const o=this.host.options,i=this.host.value;let e=t;if(void 0===e){const t=o.findIndex(t=>t.value===i);e=-1!==t?t:o.findIndex(t=>!t.disabled)}r.querySelectorAll('input[type="radio"]').forEach((t,r)=>{t.tabIndex=r===e?0:-1});r.querySelectorAll('nr-button[role="radio"]').forEach((t,r)=>{t.tabIndex=r===e?0:-1})}hostUpdated(){this.updateTabIndices()}}
17
+ /**
18
+ * @license
19
+ * Copyright 2023 Nuraly, Laabidi Aymen
20
+ * SPDX-License-Identifier: MIT
21
+ */class b extends d{validate(){const t=this.host.required,r=this.host.value;return t&&!r?(this._isValid=!1,this._validationMessage="Please select an option",this.requestUpdate(),!1):(this._isValid=!0,this._validationMessage="",this.requestUpdate(),!0)}setCustomValidity(t){this._isValid=!t,this._validationMessage=t,this.requestUpdate()}getFormData(){const t=this.host.name,r=this.host.value;return t?{[t]:r}:{}}reportValidity(){const t=this.validate();if(!t){const t=new CustomEvent("invalid",{detail:{message:this._validationMessage},bubbles:!0,composed:!0});this._host.dispatchEvent(t)}return t}reset(){this.clearValidation()}getFormDataObject(){const t=this.host.name,r=this.host.value;if(!t||!r)return null;const o=new FormData;return o.append(t,r),o}validateOnChange(){this._isValid||this.validate()}}
22
+ /**
23
+ * @license
24
+ * Copyright 2023 Nuraly, Laabidi Aymen
25
+ * SPDX-License-Identifier: MIT
26
+ */class y{constructor(t){this._rippleEnabled=!0,this.activeRipples=new Set,this.ripplePool=[],this.host=t,this.boundClickHandler=this.handleClick.bind(this),t.addController(this);const r=this.addRippleEffect.bind(this);this.addRippleEffect=u(r,16)}hostConnected(){this.host.addEventListener("click",this.boundClickHandler)}hostDisconnected(){this.host.removeEventListener("click",this.boundClickHandler)}get rippleEnabled(){return this._rippleEnabled}set rippleEnabled(t){this._rippleEnabled=t}handleClick(t){if(!this._rippleEnabled)return;const r=t.target;r&&r.matches('input[type="radio"]')&&this.addRippleToElement(r),r&&r.matches('nr-button[role="radio"]')&&this.addButtonRippleEffect(r)}addRippleEffect(t){const r=t.target;r&&this.addRippleToElement(r)}addRippleToElement(t){t.style.animation="none",t.getAnimations();const r=getComputedStyle(t).getPropertyValue("--nuraly-radio-ripple-duration")||getComputedStyle(t).getPropertyValue("--nuraly-radio-local-ripple-duration")||"300ms";t.style.animation=`radioRipple ${r} ease-out`;const o=this.parseDuration(r);setTimeout(()=>{t.style.animation=""},o)}addButtonRippleEffect(t){const r=this.createRippleElement(t);r&&(t.appendChild(r),setTimeout(()=>{r.parentNode&&r.parentNode.removeChild(r)},600))}createRippleElement(t){const r=this.getRippleElement(t);return r.style.animation="radioRippleSpread 600ms ease-out",r}parseDuration(t){const r=t.match(/^([\d.]+)(s|ms)$/);if(!r)return 300;const o=Number.parseFloat(r[1]);return"s"===r[2]?1e3*o:o}triggerRipple(t){if(!this._rippleEnabled)return;const r=this.host.shadowRoot;if(!r)return;let o=null;o=t?r.querySelector(`input[type="radio"][value="${t}"]`):r.querySelector('input[type="radio"]:checked'),o&&this.addRippleToElement(o)}disableRipple(){this._rippleEnabled=!1}enableRipple(){this._rippleEnabled=!0}clearRipples(){this.activeRipples.forEach(t=>{t.parentNode&&t.parentNode.removeChild(t),this.ripplePool.length<10&&(t.style.animation="",t.style.transform="scale(0)",this.ripplePool.push(t))}),this.activeRipples.clear();const t=this.host.shadowRoot;if(t){t.querySelectorAll('input[type="radio"]').forEach(t=>{t.style.animation=""})}}getRippleElement(t){let r=this.ripplePool.pop();r||(r=document.createElement("span"),r.className="radio-ripple",r.style.position="absolute",r.style.borderRadius="50%",r.style.background="currentColor",r.style.opacity="0.1",r.style.pointerEvents="none");const o=t.getBoundingClientRect(),i=Math.max(o.width,o.height);return r.style.width=`${i}px`,r.style.height=`${i}px`,r.style.left=-i/2+"px",r.style.top=-i/2+"px",r.style.transform="scale(0)",this.activeRipples.add(r),r}addRippleEffectToElement(t){this.addRippleToElement(t)}setRippleEnabled(t){this._rippleEnabled=t}}
27
+ /**
28
+ * @license
29
+ * Copyright 2023 Nuraly, Laabidi Aymen
30
+ * SPDX-License-Identifier: MIT
31
+ */const g=t`
32
+ :host {
33
+ /* ========================================
34
+ * CSS CUSTOM PROPERTIES - RADIO GROUP
35
+ * ======================================== */
36
+
37
+ /* Group Layout */
38
+ --nuraly-radio-group-gap: 12px;
39
+ --nuraly-radio-group-horizontal-gap: 16px;
40
+
41
+ /* Colors - Error/Warning states */
42
+ --nuraly-radio-group-error-icon-color: var(--nuraly-color-radio-error-icon, #ef4444);
43
+ --nuraly-radio-group-error-text-color: var(--nuraly-color-radio-error-text, #ef4444);
44
+ --nuraly-radio-group-warning-icon-color: var(--nuraly-color-radio-warning-icon, #f59e0b);
45
+ --nuraly-radio-group-warning-text-color: var(--nuraly-color-radio-warning-text, #f59e0b);
46
+
47
+ /* Typography */
48
+ --nuraly-radio-group-font-family: var(--nuraly-font-family-radio, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif);
49
+ --nuraly-radio-group-message-font-size: var(--nuraly-font-size-radio-message, 12px);
50
+
51
+ /* Button type styling */
52
+ --nuraly-radio-group-button-border-radius: 4px;
53
+ --nuraly-radio-group-button-hover-color: var(--nuraly-color-radio-border-hover, #7c3aed);
54
+
55
+ /* Slot container styling */
56
+ --nuraly-radio-group-slot-hover-bg: rgba(124, 58, 237, 0.04);
57
+ --nuraly-radio-group-slot-selected-bg: rgba(124, 58, 237, 0.08);
58
+ --nuraly-radio-group-slot-border-radius: 6px;
59
+
60
+ /* ========================================
61
+ * COMPONENT STYLES
62
+ * ======================================== */
63
+
64
+ width: fit-content;
65
+ display: block;
66
+ font-family: var(--nuraly-radio-group-font-family);
67
+ }
68
+
69
+ /* ========================================
70
+ * RADIO GROUP LAYOUT
71
+ * ======================================== */
72
+
73
+ .radio-group {
74
+ display: flex;
75
+ flex-direction: column;
76
+ gap: var(--nuraly-radio-group-gap);
77
+ }
78
+
79
+ .radio-group.horizontal {
80
+ flex-direction: row;
81
+ flex-wrap: wrap;
82
+ gap: var(--nuraly-radio-group-horizontal-gap);
83
+ }
84
+
85
+ .radio-wrapper {
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: 4px;
89
+ }
90
+
91
+ /* ========================================
92
+ * MESSAGE CONTAINERS (Error/Warning)
93
+ * ======================================== */
94
+
95
+ .radio-wrapper .message-container {
96
+ display: flex;
97
+ align-items: center;
98
+ gap: 6px;
99
+ font-size: var(--nuraly-radio-group-message-font-size);
100
+ padding-left: 28px; /* Align with radio label */
101
+ }
102
+
103
+ nr-icon {
104
+ display: flex;
105
+ }
106
+
107
+ .radio-wrapper.error nr-icon {
108
+ --nuraly-icon-color: var(--nuraly-radio-group-error-icon-color);
109
+ }
110
+
111
+ .radio-wrapper.warning nr-icon {
112
+ --nuraly-icon-color: var(--nuraly-radio-group-warning-icon-color);
113
+ }
114
+
115
+ .radio-wrapper.error .message-container {
116
+ color: var(--nuraly-radio-group-error-text-color);
117
+ }
118
+
119
+ .radio-wrapper.warning .message-container {
120
+ color: var(--nuraly-radio-group-warning-text-color);
121
+ }
122
+
123
+ /* ========================================
124
+ * BUTTON TYPE STYLING
125
+ * ======================================== */
126
+
127
+ .type-button {
128
+ display: inline-flex;
129
+ gap: 0px;
130
+ }
131
+
132
+ /* Button border radius for first and last child */
133
+ .type-button :first-child {
134
+ --nuraly-button-border-top-left-radius: var(--nuraly-radio-group-button-border-radius);
135
+ --nuraly-button-border-bottom-left-radius: var(--nuraly-radio-group-button-border-radius);
136
+ }
137
+
138
+ .type-button :last-child {
139
+ --nuraly-button-border-top-right-radius: var(--nuraly-radio-group-button-border-radius);
140
+ --nuraly-button-border-bottom-right-radius: var(--nuraly-radio-group-button-border-radius);
141
+ }
142
+
143
+ .type-button nr-button:not(:last-child) {
144
+ margin-right: -1px;
145
+ }
146
+
147
+ .type-button nr-button {
148
+ position: relative;
149
+ z-index: 1;
150
+ }
151
+
152
+ .type-button nr-button[type="default"]:hover {
153
+ --nuraly-button-color: var(--nuraly-radio-group-button-hover-color);
154
+ --nuraly-button-border-color: var(--nuraly-radio-group-button-hover-color);
155
+ z-index: 2;
156
+ }
157
+
158
+ .type-button nr-button[type="primary"] {
159
+ z-index: 1;
160
+ position: relative;
161
+ }
162
+
163
+ /* Disabled button states */
164
+ .type-button nr-button[disabled] {
165
+ opacity: 0.6;
166
+ cursor: not-allowed;
167
+ pointer-events: none;
168
+ }
169
+
170
+ .type-button nr-button[disabled]:hover {
171
+ z-index: auto;
172
+ --nuraly-button-border-color: var(--nuraly-button-disabled-border-color, var(--nuraly-button-local-disabled-border-color));
173
+ --nuraly-button-background-color: var(--nuraly-button-disabled-background-color, var(--nuraly-button-local-disabled-background-color));
174
+ --nuraly-button-color: var(--nuraly-button-disabled-text-color, var(--nuraly-button-local-disabled-text-color));
175
+ }
176
+
177
+ .type-button nr-button[type="primary"][disabled] {
178
+ --nuraly-button-background-color: var(--nuraly-button-primary-disabled-background-color, var(--nuraly-button-local-primary-disabled-background-color));
179
+ --nuraly-button-border-color: var(--nuraly-button-primary-disabled-border-color, var(--nuraly-button-local-primary-disabled-border-color));
180
+ --nuraly-button-color: var(--nuraly-button-primary-disabled-text-color, var(--nuraly-button-local-primary-disabled-text-color));
181
+ }
182
+
183
+ .type-button nr-button[type="primary"][disabled] nr-icon {
184
+ --nuraly-icon-color: var(--nuraly-button-primary-disabled-text-color, var(--nuraly-button-local-primary-disabled-text-color));
185
+ --nuraly-icon-local-color: var(--nuraly-button-primary-disabled-text-color, var(--nuraly-button-local-primary-disabled-text-color));
186
+ }
187
+
188
+ /* ========================================
189
+ * AUTO WIDTH STYLING
190
+ * ======================================== */
191
+
192
+ :host([auto-width]) .type-button nr-button {
193
+ --nuraly-button-min-width: 40px;
194
+ min-width: auto;
195
+ width: auto;
196
+ }
197
+
198
+ /* Ensure minimum padding for auto-width buttons to prevent them from becoming too small */
199
+ :host([auto-width]) .type-button nr-button button {
200
+ min-width: auto;
201
+ padding-left: max(var(--nuraly-spacing-2), 0.5rem);
202
+ padding-right: max(var(--nuraly-spacing-2), 0.5rem);
203
+ }
204
+
205
+ /* Icon-only buttons with auto-width should have minimal but adequate padding */
206
+ :host([auto-width]) .type-button nr-button.icon-only {
207
+ padding: 0.375rem; /* Even more minimal padding for icon-only */
208
+ min-width: auto;
209
+ width: auto;
210
+ }
211
+
212
+ :host([auto-width]) .type-button nr-button.icon-only button {
213
+ padding: max(0.375rem, var(--nuraly-spacing-2)); /* Ensure minimum 6px padding for icon-only */
214
+ min-width: auto;
215
+ }
216
+
217
+ /* For small size buttons, use proportionally smaller but still adequate padding */
218
+ :host([auto-width]) .type-button nr-button[size="small"] button {
219
+ padding-left: max(var(--nuraly-spacing-1-5), 0.375rem);
220
+ padding-right: max(var(--nuraly-spacing-1-5), 0.375rem);
221
+ }
222
+
223
+ /* For small size icon-only buttons, use even less but still minimum padding */
224
+ :host([auto-width]) .type-button nr-button.icon-only[size="small"] button {
225
+ padding: max(0.25rem, var(--nuraly-spacing-1-5));
226
+ }
227
+
228
+ /* For large size buttons, maintain larger minimum padding */
229
+ :host([auto-width]) .type-button nr-button[size="large"] button {
230
+ padding-left: max(var(--nuraly-spacing-4), 0.75rem);
231
+ padding-right: max(var(--nuraly-spacing-4), 0.75rem);
232
+ }
233
+
234
+ /* For large size icon-only buttons, use proportionally larger padding */
235
+ :host([auto-width]) .type-button nr-button.icon-only[size="large"] button {
236
+ padding: max(0.5rem, var(--nuraly-spacing-3));
237
+ }
238
+
239
+ /* ========================================
240
+ * SLOT-BASED RADIO STYLING
241
+ * ======================================== */
242
+
243
+ .slot-wrapper {
244
+ display: flex;
245
+ align-items: flex-start;
246
+ gap: 12px;
247
+ cursor: pointer;
248
+ transition: all 0.2s ease;
249
+ padding: 8px;
250
+ border-radius: var(--nuraly-radio-group-slot-border-radius);
251
+ }
252
+
253
+ .slot-wrapper:hover {
254
+ background-color: var(--nuraly-radio-group-slot-hover-bg);
255
+ }
256
+
257
+ .slot-wrapper nr-radio {
258
+ flex-shrink: 0;
259
+ margin-top: 2px;
260
+ }
261
+
262
+ .slot-wrapper .slot-content {
263
+ flex: 1;
264
+ min-width: 0;
265
+ }
266
+
267
+ .slot-container.selected .slot-wrapper {
268
+ background-color: var(--nuraly-radio-group-slot-selected-bg);
269
+ }
270
+
271
+ /* ========================================
272
+ * HELPER TEXT SLOT STYLING
273
+ * ======================================== */
274
+
275
+ ::slotted([slot='helper-text']) {
276
+ color: var(--nuraly-input-helper-text-color, var(--nuraly-helper-text-color, #8c8c8c));
277
+ font-size: var(--nuraly-input-helper-text-font-size, var(--nuraly-helper-text-font-size, 12px));
278
+ padding-top: var(--nuraly-input-helper-text-padding-top, var(--nuraly-helper-text-padding-top, 4px));
279
+
280
+ /* Prevent text overflow and ensure proper wrapping without affecting parent width */
281
+ word-wrap: break-word;
282
+ word-break: break-word;
283
+ overflow-wrap: break-word;
284
+ hyphens: auto;
285
+ white-space: normal;
286
+ max-width: 100%;
287
+ width: 0;
288
+ min-width: 100%;
289
+ box-sizing: border-box;
290
+ line-height: 1.4;
291
+ display: block;
292
+ }
293
+ `;var m,v,f,w,x;!function(t){t.Horizontal="horizontal",t.Vertical="vertical"}(m||(m={})),function(t){t.Left="left",t.Right="right"}(v||(v={})),function(t){t.Default="default",t.Button="button",t.Slot="slot",t.ButtonSlot="button-slot"}(f||(f={})),function(t){t.Small="small",t.Medium="medium",t.Large="large"}(w||(w={})),function(t){t.Default="default",t.Solid="solid"}(x||(x={}));
294
+ /**
295
+ * @license
296
+ * Copyright 2023 Nuraly, Laabidi Aymen
297
+ * SPDX-License-Identifier: MIT
298
+ */
299
+ var $=function(t,r,o,i){for(var e,n=arguments.length,a=n<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,o):i,s=t.length-1;s>=0;s--)(e=t[s])&&(a=(n<3?e(a):n>3?e(r,o,a):e(r,o))||a);return n>3&&a&&Object.defineProperty(r,o,a),a};let O=class extends(l(r)){constructor(){super(...arguments),this.requiredComponents=["nr-icon","nr-radio"],this.options=[],this.defaultValue="",this.value="",this.name="radioGroup",this.direction="vertical",this.type=f.Default,this.required=!1,this.disabled=!1,this.size="medium",this.position="left",this.autoWidth=!1,this.helper="",this.groupController=new h(this),this.keyboardController=new c(this,this.groupController),this.focusController=new p(this),this.validationController=new b(this),this.rippleController=new y(this)}get selectedOption(){return this.groupController.getSelectedOption()}isOptionSelected(t){return this.groupController.isOptionSelected(t)}isOptionDisabled(t){return this.groupController.isOptionDisabled(t)}isOptionIconOnly(t){return!(!t.icon||t.label&&""!==t.label.trim())}handleSelectionChange(t){this.groupController.selectOption(t)}setFocusedOption(t){this.focusController.setFocusedOption(t)}handleKeyDown(t){}addRippleEffect(t){this.rippleController.addRippleEffect(t)}validate(){return this.validationController.validate()}get validationMessage(){return this.validationController.validationMessage}get isValid(){return this.validationController.isValid}getFormData(){return this.validationController.getFormData()}reset(){this.validationController.reset()}get formData(){return this.validationController.getFormDataObject()}checkValidity(){return this.validate()}reportValidity(){return this.validationController.reportValidity()}focus(){this.focusController.focus()}blur(){this.focusController.blur()}renderOptionDefault(){return o`
300
+ <div
301
+ role="radiogroup"
302
+ aria-labelledby="radio-group-label"
303
+ class="radio-group ${this.direction}"
304
+ >
305
+ ${this.options.map((t,r)=>o`
306
+ <div
307
+ class="${s({"radio-wrapper":!0,error:"error"===t.state,warning:"warning"===t.state,[t.className||""]:Boolean(t.className)})}"
308
+ data-theme="${this.currentTheme}"
309
+ style="${t.style||""}"
310
+ title="${t.title||""}"
311
+ >
312
+ <nr-radio
313
+ id="${t.id||t.value}"
314
+ name="${this.name}"
315
+ value="${t.value}"
316
+ size="${this.size}"
317
+ ?checked="${this.isOptionSelected(t)}"
318
+ ?disabled="${this.isOptionDisabled(t)||this.disabled}"
319
+ ?required="${this.required}"
320
+ tabindex="${this.isOptionSelected(t)?"0":"-1"}"
321
+ @change="${r=>{this.addRippleEffect(r),this.handleSelectionChange(t)}}"
322
+ @focus="${()=>this.setFocusedOption(r)}"
323
+ >
324
+ ${t.label}
325
+ </nr-radio>
326
+ ${t.state&&t.message?o`<div class="message-container" id="${t.value}-message">
327
+ <nr-icon name="${"error"===t.state?"exclamation-circle":"warning"}"></nr-icon>
328
+ <span>${t.message}</span>
329
+ </div>`:i}
330
+ </div>
331
+ `)}
332
+ </div>
333
+ `}renderOptionsWithButtons(){return o`
334
+ <div
335
+ class="type-button"
336
+ role="radiogroup"
337
+ aria-labelledby="radio-group-label"
338
+ @keydown="${this.handleKeyDown}"
339
+ >
340
+ ${this.options.map((t,r)=>{const e=this.isOptionSelected(t),n=[e?"selected":"",this.isOptionIconOnly(t)&&this.autoWidth?"icon-only":""].filter(Boolean).join(" ");return o`
341
+ <nr-button
342
+ class="${n}"
343
+ type="${e?"primary":"default"}"
344
+ size="${this.size}"
345
+ role="radio"
346
+ aria-checked="${e}"
347
+ aria-describedby="${t.state&&t.message?`${t.value}-message`:i}"
348
+ tabindex="${e?"0":"-1"}"
349
+ .icon="${t.icon?[t.icon]:[]}"
350
+ .disabled="${this.isOptionDisabled(t)}"
351
+ @click="${()=>this.handleSelectionChange(t)}"
352
+ @focus="${()=>this.setFocusedOption(r)}"
353
+ >
354
+ ${t.label}
355
+ </nr-button>
356
+ ${t.state&&t.message?o`<div class="message-container" id="${t.value}-message">
357
+ <nr-icon name="${"error"===t.state?"exclamation-circle":"warning"}"></nr-icon>
358
+ <span>${t.message}</span>
359
+ </div>`:i}
360
+ `})}
361
+ </div>
362
+ `}renderOptionsWithSlots(){return o`
363
+ <div
364
+ role="radiogroup"
365
+ aria-labelledby="radio-group-label"
366
+ class="radio-group slot-group ${this.direction}"
367
+ >
368
+ ${this.options.map((t,r)=>o`
369
+ <div
370
+ class="${s({"radio-wrapper":!0,"slot-container":!0,error:"error"===t.state,warning:"warning"===t.state,selected:this.isOptionSelected(t),[t.className||""]:Boolean(t.className)})}"
371
+ data-theme="${this.currentTheme}"
372
+ style="${t.style||""}"
373
+ title="${t.title||""}"
374
+ >
375
+ <div class="slot-wrapper" @click="${()=>this.handleSelectionChange(t)}">
376
+ <nr-radio
377
+ id="${t.id||t.value}"
378
+ name="${this.name}"
379
+ value="${t.value}"
380
+ size="${this.size}"
381
+ ?checked="${this.isOptionSelected(t)}"
382
+ ?disabled="${this.isOptionDisabled(t)||this.disabled}"
383
+ ?required="${this.required}"
384
+ tabindex="${this.isOptionSelected(t)?"0":"-1"}"
385
+ @change="${r=>{this.addRippleEffect(r),this.handleSelectionChange(t)}}"
386
+ @focus="${()=>this.setFocusedOption(r)}"
387
+ >
388
+ </nr-radio>
389
+ <div class="slot-content">
390
+ <slot name="${t.value}"></slot>
391
+ </div>
392
+ </div>
393
+ ${t.state&&t.message?o`<div class="message-container" id="${t.value}-message">
394
+ <nr-icon name="${"error"===t.state?"exclamation-circle":"warning"}"></nr-icon>
395
+ <span>${t.message}</span>
396
+ </div>`:i}
397
+ </div>
398
+ `)}
399
+ </div>
400
+ `}renderButtonsWithSlots(){return o`
401
+ <div
402
+ class="type-button"
403
+ role="radiogroup"
404
+ aria-labelledby="radio-group-label"
405
+ @keydown="${this.handleKeyDown}"
406
+ >
407
+ ${this.options.map((t,r)=>o`
408
+ <nr-button
409
+ class="${this.isOptionSelected(t)?"selected":""}"
410
+ type="${this.isOptionSelected(t)?"primary":"default"}"
411
+ role="radio"
412
+ aria-checked="${this.isOptionSelected(t)}"
413
+ aria-describedby="${t.state&&t.message?`${t.value}-message`:i}"
414
+ tabindex="${this.isOptionSelected(t)?"0":"-1"}"
415
+ .disabled="${this.isOptionDisabled(t)}"
416
+ @click="${()=>this.handleSelectionChange(t)}"
417
+ @focus="${()=>this.setFocusedOption(r)}"
418
+ >
419
+ <slot name="${t.value}" slot="default"></slot>
420
+ </nr-button>
421
+ ${t.state&&t.message?o`<div class="message-container" id="${t.value}-message">
422
+ <nr-icon name="${"error"===t.state?"exclamation-circle":"warning"}"></nr-icon>
423
+ <span>${t.message}</span>
424
+ </div>`:i}
425
+ `)}
426
+ </div>
427
+ `}render(){return o`
428
+ ${a(this.type,[[f.Default,()=>this.renderOptionDefault()],[f.Button,()=>this.renderOptionsWithButtons()],[f.Slot,()=>this.renderOptionsWithSlots()],[f.ButtonSlot,()=>this.renderButtonsWithSlots()]])}
429
+ <slot name="helper-text"></slot>
430
+ `}};O.styles=g,$([e({type:Array})],O.prototype,"options",void 0),$([e({type:String,attribute:"default-value"})],O.prototype,"defaultValue",void 0),$([e({type:String})],O.prototype,"value",void 0),$([e({type:String})],O.prototype,"name",void 0),$([e({type:String})],O.prototype,"direction",void 0),$([e({type:String})],O.prototype,"type",void 0),$([e({type:Boolean})],O.prototype,"required",void 0),$([e({type:Boolean})],O.prototype,"disabled",void 0),$([e({type:String})],O.prototype,"size",void 0),$([e({type:String})],O.prototype,"position",void 0),$([e({type:Boolean,attribute:"auto-width"})],O.prototype,"autoWidth",void 0),$([e({type:String})],O.prototype,"helper",void 0),O=$([n("nr-radio-group")],O);export{O as NrRadioGroupElement,m as RadioButtonDirection,v as RadioButtonPosition,w as RadioButtonSize,f as RadioButtonType,x as RadioButtonVariant};
@@ -0,0 +1,3 @@
1
+ export * from './radio-group.component.js';
2
+ export * from './radio-group.types.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ export * from './radio-group.component.js';
2
+ export * from './radio-group.types.js';
3
+ //# sourceMappingURL=index.js.map