revotech-ui-kit 0.0.7-beta → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. package/dist/revotech-ui-kit.cjs +2293 -0
  2. package/dist/revotech-ui-kit.js +5608 -0
  3. package/dist/src/assets/icons/arrows.icon.d.ts +1 -0
  4. package/dist/src/assets/icons/arrows.icon.js +20 -0
  5. package/dist/src/assets/icons/arrows.icon.js.map +1 -0
  6. package/dist/src/assets/icons/index.d.ts +3 -0
  7. package/dist/src/assets/icons/index.js +4 -0
  8. package/dist/src/assets/icons/index.js.map +1 -0
  9. package/dist/src/assets/icons/search.icon.d.ts +1 -0
  10. package/dist/src/assets/icons/search.icon.js +19 -0
  11. package/dist/src/assets/icons/search.icon.js.map +1 -0
  12. package/dist/src/assets/icons/tick.icon.d.ts +1 -0
  13. package/dist/src/assets/icons/tick.icon.js +20 -0
  14. package/dist/src/assets/icons/tick.icon.js.map +1 -0
  15. package/dist/src/components/atoms/alert/alert-description.d.ts +5 -0
  16. package/dist/src/components/atoms/alert/alert-description.js +18 -0
  17. package/dist/src/components/atoms/alert/alert-description.js.map +1 -0
  18. package/dist/src/components/atoms/alert/alert-title.d.ts +5 -0
  19. package/dist/src/components/atoms/alert/alert-title.js +20 -0
  20. package/dist/src/components/atoms/alert/alert-title.js.map +1 -0
  21. package/dist/src/components/atoms/alert/alert.atom.d.ts +15 -0
  22. package/dist/src/components/atoms/alert/alert.atom.js +55 -0
  23. package/dist/src/components/atoms/alert/alert.atom.js.map +1 -0
  24. package/dist/src/components/atoms/alert/alert.stories.d.ts +6 -0
  25. package/dist/src/components/atoms/alert/alert.stories.js +62 -0
  26. package/dist/src/components/atoms/alert/alert.stories.js.map +1 -0
  27. package/dist/src/components/atoms/alert/alert.styles.d.ts +4 -0
  28. package/dist/src/components/atoms/alert/alert.styles.js +21 -0
  29. package/dist/src/components/atoms/alert/alert.styles.js.map +1 -0
  30. package/dist/src/components/atoms/alert/alert.types.d.ts +1 -0
  31. package/dist/src/components/atoms/alert/alert.types.js +2 -0
  32. package/dist/src/components/atoms/alert/alert.types.js.map +1 -0
  33. package/dist/src/components/atoms/badge/badge.atom.d.ts +16 -0
  34. package/dist/src/components/atoms/badge/badge.atom.js +43 -0
  35. package/dist/src/components/atoms/badge/badge.atom.js.map +1 -0
  36. package/dist/src/components/atoms/badge/badge.stories.d.ts +6 -0
  37. package/dist/src/components/atoms/badge/badge.stories.js +110 -0
  38. package/dist/src/components/atoms/badge/badge.stories.js.map +1 -0
  39. package/dist/src/components/atoms/badge/badge.style.d.ts +3 -0
  40. package/dist/src/components/atoms/badge/badge.style.js +17 -0
  41. package/dist/src/components/atoms/badge/badge.style.js.map +1 -0
  42. package/dist/src/components/atoms/badge/badge.type.d.ts +1 -0
  43. package/dist/src/components/atoms/badge/badge.type.js +2 -0
  44. package/dist/src/components/atoms/badge/badge.type.js.map +1 -0
  45. package/dist/src/components/atoms/button/button.atom.d.ts +22 -0
  46. package/dist/src/components/atoms/button/button.atom.js +67 -0
  47. package/dist/src/components/atoms/button/button.atom.js.map +1 -0
  48. package/dist/src/components/atoms/button/button.stories.d.ts +6 -0
  49. package/dist/src/components/atoms/button/button.stories.js +204 -0
  50. package/dist/src/components/atoms/button/button.stories.js.map +1 -0
  51. package/dist/src/components/atoms/button/button.style.d.ts +4 -0
  52. package/dist/src/components/atoms/button/button.style.js +24 -0
  53. package/dist/src/components/atoms/button/button.style.js.map +1 -0
  54. package/dist/src/components/atoms/button/button.type.d.ts +3 -0
  55. package/dist/src/components/atoms/button/button.type.js +2 -0
  56. package/dist/src/components/atoms/button/button.type.js.map +1 -0
  57. package/dist/src/components/atoms/card/card-content.d.ts +5 -0
  58. package/dist/src/components/atoms/card/card-content.js +17 -0
  59. package/dist/src/components/atoms/card/card-content.js.map +1 -0
  60. package/dist/src/components/atoms/card/card-description.d.ts +5 -0
  61. package/dist/src/components/atoms/card/card-description.js +17 -0
  62. package/dist/src/components/atoms/card/card-description.js.map +1 -0
  63. package/dist/src/components/atoms/card/card-footer.d.ts +5 -0
  64. package/dist/src/components/atoms/card/card-footer.js +17 -0
  65. package/dist/src/components/atoms/card/card-footer.js.map +1 -0
  66. package/dist/src/components/atoms/card/card-header.d.ts +5 -0
  67. package/dist/src/components/atoms/card/card-header.js +17 -0
  68. package/dist/src/components/atoms/card/card-header.js.map +1 -0
  69. package/dist/src/components/atoms/card/card-title.d.ts +5 -0
  70. package/dist/src/components/atoms/card/card-title.js +17 -0
  71. package/dist/src/components/atoms/card/card-title.js.map +1 -0
  72. package/dist/src/components/atoms/card/card.atom.d.ts +11 -0
  73. package/dist/src/components/atoms/card/card.atom.js +25 -0
  74. package/dist/src/components/atoms/card/card.atom.js.map +1 -0
  75. package/dist/src/components/atoms/card/card.stories.d.ts +6 -0
  76. package/dist/src/components/atoms/card/card.stories.js +136 -0
  77. package/dist/src/components/atoms/card/card.stories.js.map +1 -0
  78. package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +13 -0
  79. package/dist/src/components/atoms/checkbox/checkbox.atom.js +87 -0
  80. package/dist/src/components/atoms/checkbox/checkbox.atom.js.map +1 -0
  81. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +8 -0
  82. package/dist/src/components/atoms/checkbox/checkbox.stories.js +244 -0
  83. package/dist/src/components/atoms/checkbox/checkbox.stories.js.map +1 -0
  84. package/dist/src/components/atoms/checkbox/checkbox.style.d.ts +2 -0
  85. package/dist/src/components/atoms/checkbox/checkbox.style.js +3 -0
  86. package/dist/src/components/atoms/checkbox/checkbox.style.js.map +1 -0
  87. package/dist/src/components/atoms/checkbox/checkbox.type.d.ts +21 -0
  88. package/dist/src/components/atoms/checkbox/checkbox.type.js +2 -0
  89. package/dist/src/components/atoms/checkbox/checkbox.type.js.map +1 -0
  90. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +8 -0
  91. package/dist/src/components/atoms/combo-box/combo-box-input.js +47 -0
  92. package/dist/src/components/atoms/combo-box/combo-box-input.js.map +1 -0
  93. package/dist/src/components/atoms/combo-box/combo-box-item.d.ts +12 -0
  94. package/dist/src/components/atoms/combo-box/combo-box-item.js +85 -0
  95. package/dist/src/components/atoms/combo-box/combo-box-item.js.map +1 -0
  96. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +9 -0
  97. package/dist/src/components/atoms/combo-box/combo-box-list.js +67 -0
  98. package/dist/src/components/atoms/combo-box/combo-box-list.js.map +1 -0
  99. package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +23 -0
  100. package/dist/src/components/atoms/combo-box/combo-box.atom.js +199 -0
  101. package/dist/src/components/atoms/combo-box/combo-box.atom.js.map +1 -0
  102. package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +9 -0
  103. package/dist/src/components/atoms/combo-box/combo-box.stories.js +86 -0
  104. package/dist/src/components/atoms/combo-box/combo-box.stories.js.map +1 -0
  105. package/dist/src/components/atoms/command-empty/command-empty.atom.d.ts +9 -0
  106. package/dist/src/components/atoms/command-empty/command-empty.atom.js +53 -0
  107. package/dist/src/components/atoms/command-empty/command-empty.atom.js.map +1 -0
  108. package/dist/src/components/atoms/command-group/command-group.atom.d.ts +10 -0
  109. package/dist/src/components/atoms/command-group/command-group.atom.js +70 -0
  110. package/dist/src/components/atoms/command-group/command-group.atom.js.map +1 -0
  111. package/dist/src/components/atoms/command-item/command-item.atom.d.ts +12 -0
  112. package/dist/src/components/atoms/command-item/command-item.atom.js +78 -0
  113. package/dist/src/components/atoms/command-item/command-item.atom.js.map +1 -0
  114. package/dist/src/components/atoms/command-list/command-list.atom.d.ts +6 -0
  115. package/dist/src/components/atoms/command-list/command-list.atom.js +35 -0
  116. package/dist/src/components/atoms/command-list/command-list.atom.js.map +1 -0
  117. package/dist/src/components/atoms/command-separator/command-separator.atom.d.ts +9 -0
  118. package/dist/src/components/atoms/command-separator/command-separator.atom.js +51 -0
  119. package/dist/src/components/atoms/command-separator/command-separator.atom.js.map +1 -0
  120. package/dist/src/components/atoms/dialog/dialog-close.d.ts +7 -0
  121. package/dist/src/components/atoms/dialog/dialog-close.js +46 -0
  122. package/dist/src/components/atoms/dialog/dialog-close.js.map +1 -0
  123. package/dist/src/components/atoms/dialog/dialog-content.d.ts +8 -0
  124. package/dist/src/components/atoms/dialog/dialog-content.js +72 -0
  125. package/dist/src/components/atoms/dialog/dialog-content.js.map +1 -0
  126. package/dist/src/components/atoms/dialog/dialog-footer.d.ts +5 -0
  127. package/dist/src/components/atoms/dialog/dialog-footer.js +22 -0
  128. package/dist/src/components/atoms/dialog/dialog-footer.js.map +1 -0
  129. package/dist/src/components/atoms/dialog/dialog-header.d.ts +7 -0
  130. package/dist/src/components/atoms/dialog/dialog-header.js +40 -0
  131. package/dist/src/components/atoms/dialog/dialog-header.js.map +1 -0
  132. package/dist/src/components/atoms/dialog/dialog-overly.d.ts +5 -0
  133. package/dist/src/components/atoms/dialog/dialog-overly.js +20 -0
  134. package/dist/src/components/atoms/dialog/dialog-overly.js.map +1 -0
  135. package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +8 -0
  136. package/dist/src/components/atoms/dialog/dialog-trigger.js +53 -0
  137. package/dist/src/components/atoms/dialog/dialog-trigger.js.map +1 -0
  138. package/dist/src/components/atoms/dialog/dialog.atom.d.ts +8 -0
  139. package/dist/src/components/atoms/dialog/dialog.atom.js +78 -0
  140. package/dist/src/components/atoms/dialog/dialog.atom.js.map +1 -0
  141. package/dist/src/components/atoms/dialog/dialog.stories.d.ts +16 -0
  142. package/dist/src/components/atoms/dialog/dialog.stories.js +88 -0
  143. package/dist/src/components/atoms/dialog/dialog.stories.js.map +1 -0
  144. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +15 -0
  145. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.js +115 -0
  146. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.js.map +1 -0
  147. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +13 -0
  148. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.js +80 -0
  149. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.js.map +1 -0
  150. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +10 -0
  151. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.js +70 -0
  152. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.js.map +1 -0
  153. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +12 -0
  154. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.js +78 -0
  155. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.js.map +1 -0
  156. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +15 -0
  157. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.js +116 -0
  158. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.js.map +1 -0
  159. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +9 -0
  160. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.js +51 -0
  161. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.js.map +1 -0
  162. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +5 -0
  163. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.js +20 -0
  164. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.js.map +1 -0
  165. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +14 -0
  166. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.js +77 -0
  167. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.js.map +1 -0
  168. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +15 -0
  169. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.js +211 -0
  170. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.js.map +1 -0
  171. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -0
  172. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.js +4 -0
  173. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.js.map +1 -0
  174. package/dist/src/components/atoms/index.d.ts +13 -0
  175. package/dist/src/components/atoms/index.js +14 -0
  176. package/dist/src/components/atoms/index.js.map +1 -0
  177. package/dist/src/components/atoms/input/input.atom.d.ts +21 -0
  178. package/dist/src/components/atoms/input/input.atom.js +93 -0
  179. package/dist/src/components/atoms/input/input.atom.js.map +1 -0
  180. package/dist/src/components/atoms/input/input.stories.d.ts +8 -0
  181. package/dist/src/components/atoms/input/input.stories.js +382 -0
  182. package/dist/src/components/atoms/input/input.stories.js.map +1 -0
  183. package/dist/src/components/atoms/input/input.styles.d.ts +1 -0
  184. package/dist/src/components/atoms/input/input.styles.js +2 -0
  185. package/dist/src/components/atoms/input/input.styles.js.map +1 -0
  186. package/dist/src/components/atoms/input/input.type.d.ts +21 -0
  187. package/dist/src/components/atoms/input/input.type.js +2 -0
  188. package/dist/src/components/atoms/input/input.type.js.map +1 -0
  189. package/dist/src/components/atoms/label/label.atom.d.ts +11 -0
  190. package/dist/src/components/atoms/label/label.atom.js +67 -0
  191. package/dist/src/components/atoms/label/label.atom.js.map +1 -0
  192. package/dist/src/components/atoms/label/label.stories.d.ts +6 -0
  193. package/dist/src/components/atoms/label/label.stories.js +85 -0
  194. package/dist/src/components/atoms/label/label.stories.js.map +1 -0
  195. package/dist/src/components/atoms/label/label.style.d.ts +1 -0
  196. package/dist/src/components/atoms/label/label.style.js +3 -0
  197. package/dist/src/components/atoms/label/label.style.js.map +1 -0
  198. package/dist/src/components/atoms/popover/popover-content.d.ts +11 -0
  199. package/dist/src/components/atoms/popover/popover-content.js +62 -0
  200. package/dist/src/components/atoms/popover/popover-content.js.map +1 -0
  201. package/dist/src/components/atoms/popover/popover-trigger.d.ts +9 -0
  202. package/dist/src/components/atoms/popover/popover-trigger.js +50 -0
  203. package/dist/src/components/atoms/popover/popover-trigger.js.map +1 -0
  204. package/dist/src/components/atoms/popover/popover.atom.d.ts +8 -0
  205. package/dist/src/components/atoms/popover/popover.atom.js +40 -0
  206. package/dist/src/components/atoms/popover/popover.atom.js.map +1 -0
  207. package/dist/src/components/atoms/popover/popover.stories.d.ts +10 -0
  208. package/dist/src/components/atoms/popover/popover.stories.js +69 -0
  209. package/dist/src/components/atoms/popover/popover.stories.js.map +1 -0
  210. package/dist/src/components/atoms/popover/popover.style.d.ts +5 -0
  211. package/dist/src/components/atoms/popover/popover.style.js +21 -0
  212. package/dist/src/components/atoms/popover/popover.style.js.map +1 -0
  213. package/dist/src/components/atoms/popover/popover.types.d.ts +2 -0
  214. package/dist/src/components/atoms/popover/popover.types.js +4 -0
  215. package/dist/src/components/atoms/popover/popover.types.js.map +1 -0
  216. package/dist/src/components/atoms/toggle/defs.d.ts +27 -0
  217. package/dist/src/components/atoms/toggle/defs.js +30 -0
  218. package/dist/src/components/atoms/toggle/defs.js.map +1 -0
  219. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +19 -0
  220. package/dist/src/components/atoms/toggle/toggle.atom.js +72 -0
  221. package/dist/src/components/atoms/toggle/toggle.atom.js.map +1 -0
  222. package/dist/src/components/atoms/toggle/toggle.stories.d.ts +6 -0
  223. package/dist/src/components/atoms/toggle/toggle.stories.js +189 -0
  224. package/dist/src/components/atoms/toggle/toggle.stories.js.map +1 -0
  225. package/dist/src/components/atoms/toggle/toggle.style.d.ts +4 -0
  226. package/dist/src/components/atoms/toggle/toggle.style.js +19 -0
  227. package/dist/src/components/atoms/toggle/toggle.style.js.map +1 -0
  228. package/dist/src/components/command/command.d.ts +56 -0
  229. package/dist/src/components/command/command.js +402 -0
  230. package/dist/src/components/command/command.js.map +1 -0
  231. package/dist/src/components/command/command.stories.d.ts +5 -0
  232. package/dist/src/components/command/command.stories.js +153 -0
  233. package/dist/src/components/command/command.stories.js.map +1 -0
  234. package/dist/src/components/index.d.ts +2 -0
  235. package/dist/src/components/index.js +3 -0
  236. package/dist/src/components/index.js.map +1 -0
  237. package/dist/src/components/molecules/command/command.molecules.d.ts +6 -0
  238. package/dist/src/components/molecules/command/command.molecules.js +27 -0
  239. package/dist/src/components/molecules/command/command.molecules.js.map +1 -0
  240. package/dist/src/components/molecules/command-input/command-input.atom.d.ts +10 -0
  241. package/dist/src/components/molecules/command-input/command-input.atom.js +125 -0
  242. package/dist/src/components/molecules/command-input/command-input.atom.js.map +1 -0
  243. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  244. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.js +2 -0
  245. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.js.map +1 -0
  246. package/dist/src/components/molecules/index.d.ts +1 -0
  247. package/dist/src/components/molecules/index.js +2 -0
  248. package/dist/src/components/molecules/index.js.map +1 -0
  249. package/dist/src/helpers/base-element.d.ts +10 -0
  250. package/dist/src/helpers/base-element.js +62 -0
  251. package/dist/src/helpers/base-element.js.map +1 -0
  252. package/dist/src/helpers/index.d.ts +3 -0
  253. package/dist/src/helpers/index.js +4 -0
  254. package/dist/src/helpers/index.js.map +1 -0
  255. package/dist/src/helpers/mouse-conroller.helper.d.ts +14 -0
  256. package/dist/src/helpers/mouse-conroller.helper.js +33 -0
  257. package/dist/src/helpers/mouse-conroller.helper.js.map +1 -0
  258. package/dist/src/helpers/style.helpers.d.ts +2 -0
  259. package/dist/src/helpers/style.helpers.js +6 -0
  260. package/dist/src/helpers/style.helpers.js.map +1 -0
  261. package/dist/src/index.d.ts +4 -0
  262. package/dist/src/index.js +5 -0
  263. package/dist/src/index.js.map +1 -0
  264. package/dist/src/interfaces/actionable.interface.d.ts +5 -0
  265. package/dist/src/interfaces/actionable.interface.js +2 -0
  266. package/dist/src/interfaces/actionable.interface.js.map +1 -0
  267. package/dist/src/interfaces/atomic.interface.d.ts +6 -0
  268. package/dist/src/interfaces/atomic.interface.js +2 -0
  269. package/dist/src/interfaces/atomic.interface.js.map +1 -0
  270. package/dist/src/interfaces/changeable.interface.d.ts +7 -0
  271. package/dist/src/interfaces/changeable.interface.js +2 -0
  272. package/dist/src/interfaces/changeable.interface.js.map +1 -0
  273. package/dist/src/interfaces/child-support-atomic.interface.d.ts +4 -0
  274. package/dist/src/interfaces/child-support-atomic.interface.js +2 -0
  275. package/dist/src/interfaces/child-support-atomic.interface.js.map +1 -0
  276. package/dist/src/interfaces/index.d.ts +6 -0
  277. package/dist/src/interfaces/index.js +7 -0
  278. package/dist/src/interfaces/index.js.map +1 -0
  279. package/dist/src/interfaces/intractable.interface.d.ts +6 -0
  280. package/dist/src/interfaces/intractable.interface.js +2 -0
  281. package/dist/src/interfaces/intractable.interface.js.map +1 -0
  282. package/dist/src/interfaces/variant.interface.d.ts +3 -0
  283. package/dist/src/interfaces/variant.interface.js +2 -0
  284. package/dist/src/interfaces/variant.interface.js.map +1 -0
  285. package/dist/src/lib/index.d.ts +0 -0
  286. package/dist/src/lib/index.js +2 -0
  287. package/dist/src/lib/index.js.map +1 -0
  288. package/dist/src/lib/next/next.lib.d.ts +0 -0
  289. package/dist/src/lib/next/next.lib.js +2 -0
  290. package/dist/src/lib/next/next.lib.js.map +1 -0
  291. package/dist/src/lib/react/react.lib.d.ts +5 -0
  292. package/dist/src/lib/react/react.lib.js +16 -0
  293. package/dist/src/lib/react/react.lib.js.map +1 -0
  294. package/dist/src/lib/tw-styles.d.ts +1 -0
  295. package/dist/src/lib/tw-styles.js +1956 -0
  296. package/dist/src/lib/tw-styles.js.map +1 -0
  297. package/dist/src/styles/index.d.ts +1 -0
  298. package/dist/src/styles/index.js +2 -0
  299. package/dist/src/styles/index.js.map +1 -0
  300. package/dist/src/styles/tw.styles.d.ts +1 -0
  301. package/dist/src/styles/tw.styles.js +2218 -0
  302. package/dist/src/styles/tw.styles.js.map +1 -0
  303. package/dist/src/wc-ui-app.d.ts +6 -0
  304. package/dist/src/wc-ui-app.js +88 -0
  305. package/dist/src/wc-ui-app.js.map +1 -0
  306. package/dist/test/wc-ui-app.test.d.ts +0 -0
  307. package/dist/test/wc-ui-app.test.js +18 -0
  308. package/dist/test/wc-ui-app.test.js.map +1 -0
  309. package/dist/tsconfig.tsbuildinfo +1 -0
  310. package/dist/vite.config.d.ts +2 -0
  311. package/dist/vite.config.js +29 -0
  312. package/dist/vite.config.js.map +1 -0
  313. package/package.json +15 -22
  314. package/dist/f28fd4b1.js +0 -1
  315. package/dist/index.ts +0 -1
  316. package/dist/rollup-plugin-html-noop.js +0 -1
  317. package/dist/sw.js +0 -2
  318. package/dist/sw.js.map +0 -1
  319. package/dist/workbox-a523fd56.js +0 -2
  320. package/dist/workbox-a523fd56.js.map +0 -1
@@ -0,0 +1,189 @@
1
+ import { html } from 'lit';
2
+ import { expect, within, waitFor, userEvent } from '@storybook/test';
3
+ import { Toggle, TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.atom';
4
+ // import '../button';
5
+ const meta = {
6
+ component: 'Toggle',
7
+ tags: ['autodocs'],
8
+ argTypes: {
9
+ variant: {
10
+ control: {
11
+ type: 'select',
12
+ },
13
+ options: Object.values(TOGGLE_VARIANT),
14
+ defaultValue: 'DEFAULT',
15
+ description: 'Choose the visual style of the toggle.',
16
+ table: {
17
+ defaultValue: { summary: 'DEFAULT' },
18
+ },
19
+ },
20
+ size: {
21
+ control: {
22
+ type: 'select',
23
+ },
24
+ options: Object.values(TOGGLE_SIZE),
25
+ description: 'Choose the size of the toggle.',
26
+ defaultValue: 'SMALL',
27
+ table: {
28
+ defaultValue: { summary: 'SMALL' },
29
+ },
30
+ },
31
+ disabled: {
32
+ control: 'boolean',
33
+ description: 'Disable the toggle to prevent interactions.',
34
+ table: {
35
+ defaultValue: { summary: 'false' },
36
+ },
37
+ },
38
+ checked: {
39
+ control: 'boolean',
40
+ description: 'Set the initial checked state of the toggle.',
41
+ table: {
42
+ defaultValue: { summary: 'false' },
43
+ },
44
+ },
45
+ required: {
46
+ control: 'boolean',
47
+ description: 'Mark the toggle as required.',
48
+ table: {
49
+ defaultValue: { summary: 'false' },
50
+ },
51
+ },
52
+ },
53
+ };
54
+ const testToggleBehavior = async (args, canvasElement, mockHandler) => {
55
+ const canvas = within(canvasElement);
56
+ const toggle = await waitFor(() => canvas.getByTestId('toggle-id'));
57
+ if (toggle.shadowRoot) {
58
+ const innerToggle = toggle.shadowRoot.querySelector('[data-testchild="children-id"]');
59
+ expect(innerToggle).toHaveAttribute('type', 'button');
60
+ // Test toggle state
61
+ if (args.checked) {
62
+ expect(innerToggle).toBeChecked();
63
+ }
64
+ else {
65
+ expect(innerToggle).not.toBeChecked();
66
+ }
67
+ // Test toggle click behavior
68
+ if (!args.disabled && innerToggle) {
69
+ await userEvent.click(innerToggle);
70
+ if (mockHandler) {
71
+ expect(mockHandler).toHaveBeenCalled();
72
+ }
73
+ }
74
+ // Test toggle disabled state
75
+ if (args.disabled) {
76
+ expect(innerToggle).toBeDisabled();
77
+ }
78
+ else {
79
+ expect(innerToggle).not.toBeDisabled();
80
+ }
81
+ // Test toggle variant classes
82
+ const expectedClasses = Toggle.toggleVariants({
83
+ variant: args.variant,
84
+ size: args.size,
85
+ className: '',
86
+ });
87
+ expect(innerToggle).toHaveClass(expectedClasses);
88
+ // Test toggle size classes
89
+ const expectedSizeClasses = Toggle.toggleVariants({
90
+ variant: args.variant,
91
+ size: args.size,
92
+ className: '',
93
+ });
94
+ expect(innerToggle).toHaveClass(expectedSizeClasses);
95
+ }
96
+ };
97
+ export default meta;
98
+ export const Toggles = {
99
+ args: {
100
+ variant: 'DEFAULT',
101
+ size: 'SMALL',
102
+ disabled: false,
103
+ checked: false,
104
+ required: false,
105
+ },
106
+ render: ({ variant, size, disabled, checked, required }) => html `
107
+ <rtg-toggle
108
+ ?disabled=${disabled}
109
+ ?checked=${checked}
110
+ ?required=${required}
111
+ .variant=${variant}
112
+ .size=${size}
113
+ data-testid="toggle-id"
114
+ data-testchild="children-id"
115
+ >
116
+ <svg
117
+ xmlns="http://www.w3.org/2000/svg"
118
+ width="24"
119
+ height="24"
120
+ viewBox="0 0 24 24"
121
+ fill="none"
122
+ stroke="currentColor"
123
+ stroke-width="2"
124
+ stroke-linecap="round"
125
+ stroke-linejoin="round"
126
+ class="lucide lucide-bold h-4 w-4"
127
+ >
128
+ <path d="M14 12a4 4 0 0 0 0-8H6v8"></path>
129
+ <path d="M15 20a4 4 0 0 0 0-8H6v8Z"></path>
130
+ </svg>
131
+ </rtg-toggle>
132
+ `,
133
+ play: async ({ args, canvasElement }) => {
134
+ await testToggleBehavior(args, canvasElement, null);
135
+ },
136
+ };
137
+ export const RequiredToggle = {
138
+ name: 'Required Toggle',
139
+ args: {
140
+ variant: 'DEFAULT',
141
+ size: 'SMALL',
142
+ disabled: false,
143
+ checked: false,
144
+ required: true,
145
+ },
146
+ render: ({ variant, size, disabled, checked, required }) => html `
147
+ <div>
148
+ <rtg-toggle
149
+ ?disabled=${disabled}
150
+ ?checked=${checked}
151
+ ?required=${required}
152
+ .variant=${variant}
153
+ .size=${size}
154
+ data-testid="toggle-id"
155
+ data-testchild="children-id"
156
+ @click=${(e) => {
157
+ const checkbox = e.target;
158
+ const button = document.querySelector('rtg-button');
159
+ if (button) {
160
+ button.disabled = required ? !checkbox.checked : false;
161
+ }
162
+ }}
163
+ >
164
+ <svg
165
+ xmlns="http://www.w3.org/2000/svg"
166
+ width="24"
167
+ height="24"
168
+ viewBox="0 0 24 24"
169
+ fill="none"
170
+ stroke="currentColor"
171
+ stroke-width="2"
172
+ stroke-linecap="round"
173
+ stroke-linejoin="round"
174
+ class="lucide lucide-italic h-4 w-4"
175
+ >
176
+ <line x1="19" x2="10" y1="4" y2="4"></line>
177
+ <line x1="14" x2="5" y1="20" y2="20"></line>
178
+ <line x1="15" x2="9" y1="4" y2="20"></line>
179
+ </svg>
180
+ </rtg-toggle>
181
+ </div>
182
+
183
+ <rtg-button ?disabled=${required && !checked}> send </rtg-button>
184
+ `,
185
+ play: async ({ args, canvasElement }) => {
186
+ await testToggleBehavior(args, canvasElement, null);
187
+ },
188
+ };
189
+ //# sourceMappingURL=toggle.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.stories.js","sourceRoot":"","sources":["../../../../../src/components/atoms/toggle/toggle.stories.ts"],"names":[],"mappings":"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","sourcesContent":["import { html } from 'lit';\nimport type { Meta, StoryObj } from '@storybook/web-components';\nimport { expect, within, waitFor, userEvent } from '@storybook/test';\nimport { Toggle, TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.atom';\n// import '../button';\n\nconst meta: Meta = {\n component: 'Toggle',\n tags: ['autodocs'],\n argTypes: {\n variant: {\n control: {\n type: 'select',\n },\n options: Object.values(TOGGLE_VARIANT),\n defaultValue: 'DEFAULT',\n description: 'Choose the visual style of the toggle.',\n table: {\n defaultValue: { summary: 'DEFAULT' },\n },\n },\n size: {\n control: {\n type: 'select',\n },\n options: Object.values(TOGGLE_SIZE),\n description: 'Choose the size of the toggle.',\n defaultValue: 'SMALL',\n table: {\n defaultValue: { summary: 'SMALL' },\n },\n },\n disabled: {\n control: 'boolean',\n description: 'Disable the toggle to prevent interactions.',\n table: {\n defaultValue: { summary: 'false' },\n },\n },\n checked: {\n control: 'boolean',\n description: 'Set the initial checked state of the toggle.',\n table: {\n defaultValue: { summary: 'false' },\n },\n },\n required: {\n control: 'boolean',\n description: 'Mark the toggle as required.',\n table: {\n defaultValue: { summary: 'false' },\n },\n },\n },\n};\n\nconst testToggleBehavior = async (\n args: any,\n canvasElement: any,\n mockHandler: any\n) => {\n const canvas = within(canvasElement);\n const toggle = await waitFor(() => canvas.getByTestId('toggle-id'));\n if (toggle.shadowRoot) {\n const innerToggle = toggle.shadowRoot.querySelector(\n '[data-testchild=\"children-id\"]'\n );\n expect(innerToggle).toHaveAttribute('type', 'button');\n // Test toggle state\n if (args.checked) {\n expect(innerToggle).toBeChecked();\n } else {\n expect(innerToggle).not.toBeChecked();\n }\n\n // Test toggle click behavior\n if (!args.disabled && innerToggle) {\n await userEvent.click(innerToggle);\n if (mockHandler) {\n expect(mockHandler).toHaveBeenCalled();\n }\n }\n\n // Test toggle disabled state\n if (args.disabled) {\n expect(innerToggle).toBeDisabled();\n } else {\n expect(innerToggle).not.toBeDisabled();\n }\n\n // Test toggle variant classes\n const expectedClasses = Toggle.toggleVariants({\n variant: args.variant,\n size: args.size,\n className: '',\n });\n expect(innerToggle).toHaveClass(expectedClasses);\n // Test toggle size classes\n const expectedSizeClasses = Toggle.toggleVariants({\n variant: args.variant,\n size: args.size,\n className: '',\n });\n expect(innerToggle).toHaveClass(expectedSizeClasses);\n }\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Toggles: Story = {\n args: {\n variant: 'DEFAULT',\n size: 'SMALL',\n disabled: false,\n checked: false,\n required: false,\n },\n render: ({ variant, size, disabled, checked, required }) => html`\n <rtg-toggle\n ?disabled=${disabled}\n ?checked=${checked}\n ?required=${required}\n .variant=${variant}\n .size=${size}\n data-testid=\"toggle-id\"\n data-testchild=\"children-id\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"lucide lucide-bold h-4 w-4\"\n >\n <path d=\"M14 12a4 4 0 0 0 0-8H6v8\"></path>\n <path d=\"M15 20a4 4 0 0 0 0-8H6v8Z\"></path>\n </svg>\n </rtg-toggle>\n `,\n play: async ({ args, canvasElement }) => {\n await testToggleBehavior(args, canvasElement, null);\n },\n};\n\nexport const RequiredToggle: Story = {\n name: 'Required Toggle',\n args: {\n variant: 'DEFAULT',\n size: 'SMALL',\n disabled: false,\n checked: false,\n required: true,\n },\n render: ({ variant, size, disabled, checked, required }) => html`\n <div>\n <rtg-toggle\n ?disabled=${disabled}\n ?checked=${checked}\n ?required=${required}\n .variant=${variant}\n .size=${size}\n data-testid=\"toggle-id\"\n data-testchild=\"children-id\"\n @click=${(e: Event) => {\n const checkbox = e.target as HTMLInputElement;\n const button = document.querySelector(\n 'rtg-button'\n ) as unknown as HTMLButtonElement;\n if (button) {\n button.disabled = required ? !checkbox.checked : false;\n }\n }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"lucide lucide-italic h-4 w-4\"\n >\n <line x1=\"19\" x2=\"10\" y1=\"4\" y2=\"4\"></line>\n <line x1=\"14\" x2=\"5\" y1=\"20\" y2=\"20\"></line>\n <line x1=\"15\" x2=\"9\" y1=\"4\" y2=\"20\"></line>\n </svg>\n </rtg-toggle>\n </div>\n\n <rtg-button ?disabled=${required && !checked}> send </rtg-button>\n `,\n play: async ({ args, canvasElement }) => {\n await testToggleBehavior(args, canvasElement, null);\n },\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export declare const toggleStyle: (props?: ({
2
+ variant?: "default" | "outline" | null | undefined;
3
+ size?: "sm" | "lg" | "md" | null | undefined;
4
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -0,0 +1,19 @@
1
+ import { cva } from 'class-variance-authority';
2
+ export const toggleStyle = cva('inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground bg-transparent h-10 px-3', {
3
+ variants: {
4
+ variant: {
5
+ default: ` hover:bg-muted hover:text-muted-foreground`,
6
+ outline: ` border border-input hover:bg-accent hover:text-accent-foreground`,
7
+ },
8
+ size: {
9
+ sm: 'h-9 px-2.5',
10
+ md: 'h-10 px-3',
11
+ lg: 'h-11 px-5',
12
+ },
13
+ },
14
+ defaultVariants: {
15
+ variant: 'default',
16
+ size: 'sm',
17
+ },
18
+ });
19
+ //# sourceMappingURL=toggle.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.style.js","sourceRoot":"","sources":["../../../../../src/components/atoms/toggle/toggle.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,gWAAgW,EAChW;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,6CAA6C;YACtD,OAAO,EAAE,mEAAmE;SAC7E;QACD,IAAI,EAAE;YACJ,EAAE,EAAE,YAAY;YAChB,EAAE,EAAE,WAAW;YACf,EAAE,EAAE,WAAW;SAChB;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC","sourcesContent":["import { cva } from 'class-variance-authority';\n\nexport const toggleStyle = cva(\n 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground bg-transparent h-10 px-3',\n {\n variants: {\n variant: {\n default: ` hover:bg-muted hover:text-muted-foreground`,\n outline: ` border border-input hover:bg-accent hover:text-accent-foreground`,\n },\n size: {\n sm: 'h-9 px-2.5',\n md: 'h-10 px-3',\n lg: 'h-11 px-5',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'sm',\n },\n }\n);\n"]}
@@ -0,0 +1,56 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class Command extends LitElement {
3
+ static styles: import("lit").CSSResult[];
4
+ _input: Array<HTMLElement>;
5
+ render(): import("lit-html").TemplateResult<1>;
6
+ }
7
+ export declare class CommandList extends LitElement {
8
+ static styles: import("lit").CSSResult[];
9
+ private get identifier();
10
+ render(): import("lit-html").TemplateResult<1>;
11
+ }
12
+ export declare class CommandGroup extends LitElement {
13
+ heading: string;
14
+ _id: string;
15
+ _hidden: string;
16
+ private static _counter;
17
+ static styles: import("lit").CSSResult[];
18
+ private get identifier();
19
+ render(): import("lit-html").TemplateResult<1>;
20
+ }
21
+ export declare class CommandSeparator extends LitElement {
22
+ _id: string;
23
+ _hidden: string;
24
+ private static _counter;
25
+ static styles: import("lit").CSSResult[];
26
+ private get identifier();
27
+ render(): import("lit-html").TemplateResult<1>;
28
+ }
29
+ export declare class CommandEmpty extends LitElement {
30
+ _id: string;
31
+ _hidden: string;
32
+ private static _counter;
33
+ static styles: import("lit").CSSResult[];
34
+ private get identifier();
35
+ render(): import("lit-html").TemplateResult<1>;
36
+ }
37
+ export declare class CommandItem extends LitElement {
38
+ _id: string;
39
+ _hidden: string;
40
+ private static _counter;
41
+ static styles: import("lit").CSSResult[];
42
+ private get identifier();
43
+ get value(): string;
44
+ selected: boolean;
45
+ private handleMouseEvent;
46
+ render(): import("lit-html").TemplateResult<1>;
47
+ }
48
+ export declare class CommandInput extends LitElement {
49
+ placeholder: string;
50
+ _value: string;
51
+ static styles: import("lit").CSSResult[];
52
+ private get identifier();
53
+ private filterItems;
54
+ private handleChange;
55
+ render(): import("lit-html").TemplateResult<1>;
56
+ }