@gyramais/gyra-design 0.2.2 → 0.2.22

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 (324) hide show
  1. package/dist/components/AiParecer/index.js +1 -1
  2. package/dist/components/AiParecer/index.js.map +1 -1
  3. package/dist/components/Email/Email.d.ts +3 -2
  4. package/dist/components/Email/index.js +1 -1
  5. package/dist/components/Email/index.js.map +1 -1
  6. package/dist/components/Filter/index.js +6 -6
  7. package/dist/components/Filter/index.js.map +1 -1
  8. package/dist/components/Input/index.js +1 -1
  9. package/dist/components/Input/index.js.map +1 -1
  10. package/dist/components/MultiSelectPicker/MultiSelectPicker.d.ts +0 -3
  11. package/dist/components/MultiSelectPicker/index.js +1 -1
  12. package/dist/components/MultiSelectPicker/index.js.map +1 -1
  13. package/dist/components/RichInput/index.js +3 -3
  14. package/dist/components/RichInput/index.js.map +1 -1
  15. package/dist/components/SelectTree/index.js +1 -1
  16. package/dist/components/SelectTree/index.js.map +1 -1
  17. package/dist/components/TourGuide/TourGuide.d.ts +39 -0
  18. package/dist/components/TourGuide/index.d.ts +1 -0
  19. package/dist/components/TourGuide/index.js +7 -0
  20. package/dist/components/TourGuide/index.js.map +1 -0
  21. package/dist/emails/balance-sheet-finalized/components/AiParecer/AiParecer.d.ts +75 -0
  22. package/dist/emails/balance-sheet-finalized/components/AiParecer/index.d.ts +1 -0
  23. package/dist/emails/balance-sheet-finalized/components/Avatar/Avatar.d.ts +10 -0
  24. package/dist/emails/balance-sheet-finalized/components/Avatar/index.d.ts +1 -0
  25. package/dist/emails/balance-sheet-finalized/components/Brasil/Brasil.d.ts +10 -0
  26. package/dist/emails/balance-sheet-finalized/components/Brasil/index.d.ts +1 -0
  27. package/dist/emails/balance-sheet-finalized/components/Button/Button.d.ts +19 -0
  28. package/dist/emails/balance-sheet-finalized/components/Button/index.d.ts +1 -0
  29. package/dist/emails/balance-sheet-finalized/components/Card/Card.d.ts +27 -0
  30. package/dist/emails/balance-sheet-finalized/components/Card/index.d.ts +1 -0
  31. package/dist/emails/balance-sheet-finalized/components/Chart/Chart.d.ts +43 -0
  32. package/dist/emails/balance-sheet-finalized/components/Chart/index.d.ts +1 -0
  33. package/dist/emails/balance-sheet-finalized/components/ChatWidget/ChatMessageBubble.d.ts +7 -0
  34. package/dist/emails/balance-sheet-finalized/components/ChatWidget/ChatWidget.d.ts +30 -0
  35. package/dist/emails/balance-sheet-finalized/components/ChatWidget/index.d.ts +3 -0
  36. package/dist/emails/balance-sheet-finalized/components/ChatWidget/types.d.ts +18 -0
  37. package/dist/emails/balance-sheet-finalized/components/Checkbox/Checkbox.d.ts +12 -0
  38. package/dist/emails/balance-sheet-finalized/components/Checkbox/index.d.ts +1 -0
  39. package/dist/emails/balance-sheet-finalized/components/Col/Col.d.ts +17 -0
  40. package/dist/emails/balance-sheet-finalized/components/Col/index.d.ts +1 -0
  41. package/dist/emails/balance-sheet-finalized/components/Collapse/Collapse.d.ts +10 -0
  42. package/dist/emails/balance-sheet-finalized/components/Collapse/CollapseIcon.d.ts +10 -0
  43. package/dist/emails/balance-sheet-finalized/components/Collapse/index.d.ts +2 -0
  44. package/dist/emails/balance-sheet-finalized/components/ContextMenu/ContextMenu.d.ts +45 -0
  45. package/dist/emails/balance-sheet-finalized/components/ContextMenu/index.d.ts +1 -0
  46. package/dist/emails/balance-sheet-finalized/components/DistributionBar/DistributionBar.d.ts +28 -0
  47. package/dist/emails/balance-sheet-finalized/components/DistributionBar/index.d.ts +1 -0
  48. package/dist/emails/balance-sheet-finalized/components/Divider/Divider.d.ts +10 -0
  49. package/dist/emails/balance-sheet-finalized/components/Divider/index.d.ts +1 -0
  50. package/dist/emails/balance-sheet-finalized/components/Drawer/Drawer.d.ts +16 -0
  51. package/dist/emails/balance-sheet-finalized/components/Drawer/index.d.ts +1 -0
  52. package/dist/emails/balance-sheet-finalized/components/DropdownMenu/DropdownMenu.d.ts +21 -0
  53. package/dist/emails/balance-sheet-finalized/components/DropdownMenu/index.d.ts +1 -0
  54. package/dist/emails/balance-sheet-finalized/components/Email/Email.d.ts +26 -0
  55. package/dist/emails/balance-sheet-finalized/components/Email/index.d.ts +2 -0
  56. package/dist/emails/balance-sheet-finalized/components/Empty/Empty.d.ts +10 -0
  57. package/dist/emails/balance-sheet-finalized/components/Empty/index.d.ts +1 -0
  58. package/dist/emails/balance-sheet-finalized/components/Filter/Filter.d.ts +21 -0
  59. package/dist/emails/balance-sheet-finalized/components/Filter/MultipleFilter.d.ts +27 -0
  60. package/dist/emails/balance-sheet-finalized/components/Filter/UniqueFilter.d.ts +27 -0
  61. package/dist/emails/balance-sheet-finalized/components/Filter/index.d.ts +3 -0
  62. package/dist/emails/balance-sheet-finalized/components/FloatingCard/FloatingCard.d.ts +12 -0
  63. package/dist/emails/balance-sheet-finalized/components/FloatingCard/index.d.ts +1 -0
  64. package/dist/emails/balance-sheet-finalized/components/Form/Form.d.ts +3 -0
  65. package/dist/emails/balance-sheet-finalized/components/Form/Item.d.ts +11 -0
  66. package/dist/emails/balance-sheet-finalized/components/Form/index.d.ts +1 -0
  67. package/dist/emails/balance-sheet-finalized/components/HoverCard/HoverCard.d.ts +14 -0
  68. package/dist/emails/balance-sheet-finalized/components/HoverCard/index.d.ts +1 -0
  69. package/dist/emails/balance-sheet-finalized/components/Icon/Icon.d.ts +11 -0
  70. package/dist/emails/balance-sheet-finalized/components/Icon/index.d.ts +1 -0
  71. package/dist/emails/balance-sheet-finalized/components/IconDisplay/IconDisplay.d.ts +10 -0
  72. package/dist/emails/balance-sheet-finalized/components/IconDisplay/index.d.ts +1 -0
  73. package/dist/emails/balance-sheet-finalized/components/Information/Information.d.ts +10 -0
  74. package/dist/emails/balance-sheet-finalized/components/Information/index.d.ts +1 -0
  75. package/dist/emails/balance-sheet-finalized/components/Input/Input.d.ts +55 -0
  76. package/dist/emails/balance-sheet-finalized/components/Input/Mention.d.ts +5 -0
  77. package/dist/emails/balance-sheet-finalized/components/Input/index.d.ts +1 -0
  78. package/dist/emails/balance-sheet-finalized/components/Label/Label.d.ts +5 -0
  79. package/dist/emails/balance-sheet-finalized/components/Label/index.d.ts +1 -0
  80. package/dist/emails/balance-sheet-finalized/components/Layout/Content.d.ts +9 -0
  81. package/dist/emails/balance-sheet-finalized/components/Layout/Footer.d.ts +9 -0
  82. package/dist/emails/balance-sheet-finalized/components/Layout/Header.d.ts +9 -0
  83. package/dist/emails/balance-sheet-finalized/components/Layout/Layout.d.ts +10 -0
  84. package/dist/emails/balance-sheet-finalized/components/Layout/Sider.d.ts +9 -0
  85. package/dist/emails/balance-sheet-finalized/components/Layout/index.d.ts +5 -0
  86. package/dist/emails/balance-sheet-finalized/components/List/List.d.ts +18 -0
  87. package/dist/emails/balance-sheet-finalized/components/List/index.d.ts +1 -0
  88. package/dist/emails/balance-sheet-finalized/components/Loading/Loading.d.ts +10 -0
  89. package/dist/emails/balance-sheet-finalized/components/Loading/index.d.ts +1 -0
  90. package/dist/emails/balance-sheet-finalized/components/Logo/Logo.d.ts +12 -0
  91. package/dist/emails/balance-sheet-finalized/components/Logo/index.d.ts +1 -0
  92. package/dist/emails/balance-sheet-finalized/components/Menubar/Menubar.d.ts +24 -0
  93. package/dist/emails/balance-sheet-finalized/components/Menubar/index.d.ts +1 -0
  94. package/dist/emails/balance-sheet-finalized/components/Modal/Modal.d.ts +25 -0
  95. package/dist/emails/balance-sheet-finalized/components/Modal/index.d.ts +1 -0
  96. package/dist/emails/balance-sheet-finalized/components/MultiSelectPicker/MultiSelectPicker.d.ts +42 -0
  97. package/dist/emails/balance-sheet-finalized/components/MultiSelectPicker/index.d.ts +1 -0
  98. package/dist/emails/balance-sheet-finalized/components/OperatorPicker/OperatorPicker.d.ts +26 -0
  99. package/dist/emails/balance-sheet-finalized/components/OperatorPicker/index.d.ts +1 -0
  100. package/dist/emails/balance-sheet-finalized/components/PickerPopover/PickerPopover.d.ts +56 -0
  101. package/dist/emails/balance-sheet-finalized/components/PickerPopover/index.d.ts +1 -0
  102. package/dist/emails/balance-sheet-finalized/components/Popover/Popover.d.ts +16 -0
  103. package/dist/emails/balance-sheet-finalized/components/Popover/index.d.ts +1 -0
  104. package/dist/emails/balance-sheet-finalized/components/ProcessingChip/ProcessingChip.d.ts +20 -0
  105. package/dist/emails/balance-sheet-finalized/components/ProcessingChip/index.d.ts +1 -0
  106. package/dist/emails/balance-sheet-finalized/components/Progress/Progress.d.ts +9 -0
  107. package/dist/emails/balance-sheet-finalized/components/Progress/index.d.ts +1 -0
  108. package/dist/emails/balance-sheet-finalized/components/RadioGroup/RadioGroup.d.ts +18 -0
  109. package/dist/emails/balance-sheet-finalized/components/RadioGroup/index.d.ts +1 -0
  110. package/dist/emails/balance-sheet-finalized/components/RichInput/RichInput.d.ts +15 -0
  111. package/dist/emails/balance-sheet-finalized/components/RichInput/images.d.ts +9 -0
  112. package/dist/emails/balance-sheet-finalized/components/RichInput/index.d.ts +1 -0
  113. package/dist/emails/balance-sheet-finalized/components/Row/Row.d.ts +18 -0
  114. package/dist/emails/balance-sheet-finalized/components/Row/index.d.ts +1 -0
  115. package/dist/emails/balance-sheet-finalized/components/RuleSearchPicker/RuleSearchPicker.d.ts +46 -0
  116. package/dist/emails/balance-sheet-finalized/components/RuleSearchPicker/index.d.ts +1 -0
  117. package/dist/emails/balance-sheet-finalized/components/ScoreBar/ScoreBar.d.ts +30 -0
  118. package/dist/emails/balance-sheet-finalized/components/ScoreBar/index.d.ts +1 -0
  119. package/dist/emails/balance-sheet-finalized/components/SegmentedPicker/SegmentedPicker.d.ts +27 -0
  120. package/dist/emails/balance-sheet-finalized/components/SegmentedPicker/index.d.ts +1 -0
  121. package/dist/emails/balance-sheet-finalized/components/SegmentedToggle/SegmentedToggle.d.ts +25 -0
  122. package/dist/emails/balance-sheet-finalized/components/SegmentedToggle/index.d.ts +1 -0
  123. package/dist/emails/balance-sheet-finalized/components/Select/Select.d.ts +27 -0
  124. package/dist/emails/balance-sheet-finalized/components/Select/index.d.ts +1 -0
  125. package/dist/emails/balance-sheet-finalized/components/SelectTree/SelectTree.d.ts +35 -0
  126. package/dist/emails/balance-sheet-finalized/components/SelectTree/index.d.ts +1 -0
  127. package/dist/emails/balance-sheet-finalized/components/Selector/Selector.d.ts +27 -0
  128. package/dist/emails/balance-sheet-finalized/components/Selector/index.d.ts +1 -0
  129. package/dist/emails/balance-sheet-finalized/components/StatusTag/StatusTag.d.ts +16 -0
  130. package/dist/emails/balance-sheet-finalized/components/StatusTag/index.d.ts +1 -0
  131. package/dist/emails/balance-sheet-finalized/components/Stepper/Stepper.d.ts +15 -0
  132. package/dist/emails/balance-sheet-finalized/components/Stepper/index.d.ts +1 -0
  133. package/dist/emails/balance-sheet-finalized/components/Switch/Switch.d.ts +11 -0
  134. package/dist/emails/balance-sheet-finalized/components/Switch/index.d.ts +1 -0
  135. package/dist/emails/balance-sheet-finalized/components/SyncChip/SyncChip.d.ts +17 -0
  136. package/dist/emails/balance-sheet-finalized/components/SyncChip/index.d.ts +1 -0
  137. package/dist/emails/balance-sheet-finalized/components/Table/Table.d.ts +29 -0
  138. package/dist/emails/balance-sheet-finalized/components/Table/index.d.ts +1 -0
  139. package/dist/emails/balance-sheet-finalized/components/Tabs/Tabs.d.ts +20 -0
  140. package/dist/emails/balance-sheet-finalized/components/Tabs/index.d.ts +1 -0
  141. package/dist/emails/balance-sheet-finalized/components/Tag/Tag.d.ts +10 -0
  142. package/dist/emails/balance-sheet-finalized/components/Tag/index.d.ts +1 -0
  143. package/dist/emails/balance-sheet-finalized/components/Toast/Toast.d.ts +4 -0
  144. package/dist/emails/balance-sheet-finalized/components/Toast/index.d.ts +1 -0
  145. package/dist/emails/balance-sheet-finalized/components/Tooltip/Tooltip.d.ts +16 -0
  146. package/dist/emails/balance-sheet-finalized/components/Tooltip/index.d.ts +1 -0
  147. package/dist/emails/balance-sheet-finalized/components/TourGuide/TourGuide.d.ts +39 -0
  148. package/dist/emails/balance-sheet-finalized/components/TourGuide/index.d.ts +1 -0
  149. package/dist/emails/balance-sheet-finalized/components/Waypoint/Waypoint.d.ts +7 -0
  150. package/dist/emails/balance-sheet-finalized/components/Waypoint/index.d.ts +1 -0
  151. package/dist/emails/balance-sheet-finalized/emails/balance-sheet-finalized/index.d.ts +33 -0
  152. package/dist/emails/balance-sheet-finalized/emails/email/index.d.ts +94 -0
  153. package/dist/emails/balance-sheet-finalized/index.d.ts +62 -33
  154. package/dist/emails/balance-sheet-finalized/index.esm.js +1 -1
  155. package/dist/emails/balance-sheet-finalized/index.esm.js.map +1 -1
  156. package/dist/emails/balance-sheet-finalized/index.js +1 -1
  157. package/dist/emails/balance-sheet-finalized/index.js.map +1 -1
  158. package/dist/emails/balance-sheet-finalized/shadcn/checkbox.d.ts +4 -0
  159. package/dist/emails/balance-sheet-finalized/shadcn/form.d.ts +23 -0
  160. package/dist/emails/balance-sheet-finalized/shadcn/hover-card.d.ts +6 -0
  161. package/dist/emails/balance-sheet-finalized/shadcn/label.d.ts +5 -0
  162. package/dist/emails/balance-sheet-finalized/shadcn/lib/utils.d.ts +2 -0
  163. package/dist/emails/balance-sheet-finalized/shadcn/menubar.d.ts +33 -0
  164. package/dist/emails/balance-sheet-finalized/shadcn/popover.d.ts +6 -0
  165. package/dist/emails/balance-sheet-finalized/shadcn/radio-group.d.ts +5 -0
  166. package/dist/emails/balance-sheet-finalized/shadcn/switch.d.ts +4 -0
  167. package/dist/emails/balance-sheet-finalized/shadcn/tabs.d.ts +7 -0
  168. package/dist/emails/balance-sheet-finalized/shadcn/tooltip.d.ts +7 -0
  169. package/dist/emails/balance-sheet-finalized/theme.d.ts +20 -0
  170. package/dist/emails/email/components/AiParecer/AiParecer.d.ts +75 -0
  171. package/dist/emails/email/components/AiParecer/index.d.ts +1 -0
  172. package/dist/emails/email/components/Avatar/Avatar.d.ts +10 -0
  173. package/dist/emails/email/components/Avatar/index.d.ts +1 -0
  174. package/dist/emails/email/components/Brasil/Brasil.d.ts +10 -0
  175. package/dist/emails/email/components/Brasil/index.d.ts +1 -0
  176. package/dist/emails/email/components/Button/Button.d.ts +19 -0
  177. package/dist/emails/email/components/Button/index.d.ts +1 -0
  178. package/dist/emails/email/components/Card/Card.d.ts +27 -0
  179. package/dist/emails/email/components/Card/index.d.ts +1 -0
  180. package/dist/emails/email/components/Chart/Chart.d.ts +43 -0
  181. package/dist/emails/email/components/Chart/index.d.ts +1 -0
  182. package/dist/emails/email/components/ChatWidget/ChatMessageBubble.d.ts +7 -0
  183. package/dist/emails/email/components/ChatWidget/ChatWidget.d.ts +30 -0
  184. package/dist/emails/email/components/ChatWidget/index.d.ts +3 -0
  185. package/dist/emails/email/components/ChatWidget/types.d.ts +18 -0
  186. package/dist/emails/email/components/Checkbox/Checkbox.d.ts +12 -0
  187. package/dist/emails/email/components/Checkbox/index.d.ts +1 -0
  188. package/dist/emails/email/components/Col/Col.d.ts +17 -0
  189. package/dist/emails/email/components/Col/index.d.ts +1 -0
  190. package/dist/emails/email/components/Collapse/Collapse.d.ts +10 -0
  191. package/dist/emails/email/components/Collapse/CollapseIcon.d.ts +10 -0
  192. package/dist/emails/email/components/Collapse/index.d.ts +2 -0
  193. package/dist/emails/email/components/ContextMenu/ContextMenu.d.ts +45 -0
  194. package/dist/emails/email/components/ContextMenu/index.d.ts +1 -0
  195. package/dist/emails/email/components/DistributionBar/DistributionBar.d.ts +28 -0
  196. package/dist/emails/email/components/DistributionBar/index.d.ts +1 -0
  197. package/dist/emails/email/components/Divider/Divider.d.ts +10 -0
  198. package/dist/emails/email/components/Divider/index.d.ts +1 -0
  199. package/dist/emails/email/components/Drawer/Drawer.d.ts +16 -0
  200. package/dist/emails/email/components/Drawer/index.d.ts +1 -0
  201. package/dist/emails/email/components/DropdownMenu/DropdownMenu.d.ts +21 -0
  202. package/dist/emails/email/components/DropdownMenu/index.d.ts +1 -0
  203. package/dist/emails/email/components/Email/Email.d.ts +26 -0
  204. package/dist/emails/email/components/Email/index.d.ts +2 -0
  205. package/dist/emails/email/components/Empty/Empty.d.ts +10 -0
  206. package/dist/emails/email/components/Empty/index.d.ts +1 -0
  207. package/dist/emails/email/components/Filter/Filter.d.ts +21 -0
  208. package/dist/emails/email/components/Filter/MultipleFilter.d.ts +27 -0
  209. package/dist/emails/email/components/Filter/UniqueFilter.d.ts +27 -0
  210. package/dist/emails/email/components/Filter/index.d.ts +3 -0
  211. package/dist/emails/email/components/FloatingCard/FloatingCard.d.ts +12 -0
  212. package/dist/emails/email/components/FloatingCard/index.d.ts +1 -0
  213. package/dist/emails/email/components/Form/Form.d.ts +3 -0
  214. package/dist/emails/email/components/Form/Item.d.ts +11 -0
  215. package/dist/emails/email/components/Form/index.d.ts +1 -0
  216. package/dist/emails/email/components/HoverCard/HoverCard.d.ts +14 -0
  217. package/dist/emails/email/components/HoverCard/index.d.ts +1 -0
  218. package/dist/emails/email/components/Icon/Icon.d.ts +11 -0
  219. package/dist/emails/email/components/Icon/index.d.ts +1 -0
  220. package/dist/emails/email/components/IconDisplay/IconDisplay.d.ts +10 -0
  221. package/dist/emails/email/components/IconDisplay/index.d.ts +1 -0
  222. package/dist/emails/email/components/Information/Information.d.ts +10 -0
  223. package/dist/emails/email/components/Information/index.d.ts +1 -0
  224. package/dist/emails/email/components/Input/Input.d.ts +55 -0
  225. package/dist/emails/email/components/Input/Mention.d.ts +5 -0
  226. package/dist/emails/email/components/Input/index.d.ts +1 -0
  227. package/dist/emails/email/components/Label/Label.d.ts +5 -0
  228. package/dist/emails/email/components/Label/index.d.ts +1 -0
  229. package/dist/emails/email/components/Layout/Content.d.ts +9 -0
  230. package/dist/emails/email/components/Layout/Footer.d.ts +9 -0
  231. package/dist/emails/email/components/Layout/Header.d.ts +9 -0
  232. package/dist/emails/email/components/Layout/Layout.d.ts +10 -0
  233. package/dist/emails/email/components/Layout/Sider.d.ts +9 -0
  234. package/dist/emails/email/components/Layout/index.d.ts +5 -0
  235. package/dist/emails/email/components/List/List.d.ts +18 -0
  236. package/dist/emails/email/components/List/index.d.ts +1 -0
  237. package/dist/emails/email/components/Loading/Loading.d.ts +10 -0
  238. package/dist/emails/email/components/Loading/index.d.ts +1 -0
  239. package/dist/emails/email/components/Logo/Logo.d.ts +12 -0
  240. package/dist/emails/email/components/Logo/index.d.ts +1 -0
  241. package/dist/emails/email/components/Menubar/Menubar.d.ts +24 -0
  242. package/dist/emails/email/components/Menubar/index.d.ts +1 -0
  243. package/dist/emails/email/components/Modal/Modal.d.ts +25 -0
  244. package/dist/emails/email/components/Modal/index.d.ts +1 -0
  245. package/dist/emails/email/components/MultiSelectPicker/MultiSelectPicker.d.ts +42 -0
  246. package/dist/emails/email/components/MultiSelectPicker/index.d.ts +1 -0
  247. package/dist/emails/email/components/OperatorPicker/OperatorPicker.d.ts +26 -0
  248. package/dist/emails/email/components/OperatorPicker/index.d.ts +1 -0
  249. package/dist/emails/email/components/PickerPopover/PickerPopover.d.ts +56 -0
  250. package/dist/emails/email/components/PickerPopover/index.d.ts +1 -0
  251. package/dist/emails/email/components/Popover/Popover.d.ts +16 -0
  252. package/dist/emails/email/components/Popover/index.d.ts +1 -0
  253. package/dist/emails/email/components/ProcessingChip/ProcessingChip.d.ts +20 -0
  254. package/dist/emails/email/components/ProcessingChip/index.d.ts +1 -0
  255. package/dist/emails/email/components/Progress/Progress.d.ts +9 -0
  256. package/dist/emails/email/components/Progress/index.d.ts +1 -0
  257. package/dist/emails/email/components/RadioGroup/RadioGroup.d.ts +18 -0
  258. package/dist/emails/email/components/RadioGroup/index.d.ts +1 -0
  259. package/dist/emails/email/components/RichInput/RichInput.d.ts +15 -0
  260. package/dist/emails/email/components/RichInput/images.d.ts +9 -0
  261. package/dist/emails/email/components/RichInput/index.d.ts +1 -0
  262. package/dist/emails/email/components/Row/Row.d.ts +18 -0
  263. package/dist/emails/email/components/Row/index.d.ts +1 -0
  264. package/dist/emails/email/components/RuleSearchPicker/RuleSearchPicker.d.ts +46 -0
  265. package/dist/emails/email/components/RuleSearchPicker/index.d.ts +1 -0
  266. package/dist/emails/email/components/ScoreBar/ScoreBar.d.ts +30 -0
  267. package/dist/emails/email/components/ScoreBar/index.d.ts +1 -0
  268. package/dist/emails/email/components/SegmentedPicker/SegmentedPicker.d.ts +27 -0
  269. package/dist/emails/email/components/SegmentedPicker/index.d.ts +1 -0
  270. package/dist/emails/email/components/SegmentedToggle/SegmentedToggle.d.ts +25 -0
  271. package/dist/emails/email/components/SegmentedToggle/index.d.ts +1 -0
  272. package/dist/emails/email/components/Select/Select.d.ts +27 -0
  273. package/dist/emails/email/components/Select/index.d.ts +1 -0
  274. package/dist/emails/email/components/SelectTree/SelectTree.d.ts +35 -0
  275. package/dist/emails/email/components/SelectTree/index.d.ts +1 -0
  276. package/dist/emails/email/components/Selector/Selector.d.ts +27 -0
  277. package/dist/emails/email/components/Selector/index.d.ts +1 -0
  278. package/dist/emails/email/components/StatusTag/StatusTag.d.ts +16 -0
  279. package/dist/emails/email/components/StatusTag/index.d.ts +1 -0
  280. package/dist/emails/email/components/Stepper/Stepper.d.ts +15 -0
  281. package/dist/emails/email/components/Stepper/index.d.ts +1 -0
  282. package/dist/emails/email/components/Switch/Switch.d.ts +11 -0
  283. package/dist/emails/email/components/Switch/index.d.ts +1 -0
  284. package/dist/emails/email/components/SyncChip/SyncChip.d.ts +17 -0
  285. package/dist/emails/email/components/SyncChip/index.d.ts +1 -0
  286. package/dist/emails/email/components/Table/Table.d.ts +29 -0
  287. package/dist/emails/email/components/Table/index.d.ts +1 -0
  288. package/dist/emails/email/components/Tabs/Tabs.d.ts +20 -0
  289. package/dist/emails/email/components/Tabs/index.d.ts +1 -0
  290. package/dist/emails/email/components/Tag/Tag.d.ts +10 -0
  291. package/dist/emails/email/components/Tag/index.d.ts +1 -0
  292. package/dist/emails/email/components/Toast/Toast.d.ts +4 -0
  293. package/dist/emails/email/components/Toast/index.d.ts +1 -0
  294. package/dist/emails/email/components/Tooltip/Tooltip.d.ts +16 -0
  295. package/dist/emails/email/components/Tooltip/index.d.ts +1 -0
  296. package/dist/emails/email/components/TourGuide/TourGuide.d.ts +39 -0
  297. package/dist/emails/email/components/TourGuide/index.d.ts +1 -0
  298. package/dist/emails/email/components/Waypoint/Waypoint.d.ts +7 -0
  299. package/dist/emails/email/components/Waypoint/index.d.ts +1 -0
  300. package/dist/emails/email/emails/balance-sheet-finalized/index.d.ts +33 -0
  301. package/dist/emails/email/emails/email/index.d.ts +94 -0
  302. package/dist/emails/email/index.d.ts +62 -94
  303. package/dist/emails/email/index.esm.js +1 -1
  304. package/dist/emails/email/index.esm.js.map +1 -1
  305. package/dist/emails/email/index.js +1 -1
  306. package/dist/emails/email/index.js.map +1 -1
  307. package/dist/emails/email/shadcn/checkbox.d.ts +4 -0
  308. package/dist/emails/email/shadcn/form.d.ts +23 -0
  309. package/dist/emails/email/shadcn/hover-card.d.ts +6 -0
  310. package/dist/emails/email/shadcn/label.d.ts +5 -0
  311. package/dist/emails/email/shadcn/lib/utils.d.ts +2 -0
  312. package/dist/emails/email/shadcn/menubar.d.ts +33 -0
  313. package/dist/emails/email/shadcn/popover.d.ts +6 -0
  314. package/dist/emails/email/shadcn/radio-group.d.ts +5 -0
  315. package/dist/emails/email/shadcn/switch.d.ts +4 -0
  316. package/dist/emails/email/shadcn/tabs.d.ts +7 -0
  317. package/dist/emails/email/shadcn/tooltip.d.ts +7 -0
  318. package/dist/emails/email/theme.d.ts +20 -0
  319. package/dist/index.css +176 -16
  320. package/package.json +1 -1
  321. package/dist/components/EmailBalanceSheetFinalized/EmailBalanceSheetFinalized.d.ts +0 -18
  322. package/dist/components/EmailBalanceSheetFinalized/index.d.ts +0 -2
  323. package/dist/components/EmailBalanceSheetFinalized/index.js +0 -2
  324. package/dist/components/EmailBalanceSheetFinalized/index.js.map +0 -1
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+ export type TourStep = {
4
+ title: string;
5
+ body: string;
6
+ targetSelector: string;
7
+ navSection?: string;
8
+ padding?: number;
9
+ /**
10
+ * Como alinhar o alvo ao rolar. 'center' (padrão para alvos pequenos) é
11
+ * imune à altura de toolbars fixas. 'start' é melhor para seções altas.
12
+ * 'nearest' rola o mínimo possível (bom para elementos flutuantes/portais
13
+ * que já estão visíveis, como dropdowns). Se omitido, decidimos pela altura.
14
+ */
15
+ scrollBlock?: 'start' | 'center' | 'nearest';
16
+ /**
17
+ * Efeito colateral ao ENTRAR no passo, disparado depois da navegação e do
18
+ * mount da seção (ex.: abrir um dropdown para destacá-lo). Use junto com
19
+ * targetSelector apontando para o conteúdo revelado.
20
+ */
21
+ onEnter?: () => void;
22
+ /** Limpeza ao SAIR do passo (ex.: fechar o dropdown aberto no onEnter). */
23
+ onLeave?: () => void;
24
+ };
25
+ export type TourGuideProps = {
26
+ steps: TourStep[];
27
+ visible: boolean;
28
+ onClose: () => void;
29
+ onNavigate?: (navSection: string) => void;
30
+ /**
31
+ * Espaço (px) reservado no topo ao rolar alvos altos (block:'start') para que
32
+ * não fiquem atrás de toolbars fixas. Aceita número ou função (recalculada a
33
+ * cada passo) — use a função quando a altura da toolbar varia (wrap/mobile).
34
+ * Alvos pequenos usam block:'center' e ignoram esse valor. Padrão: 0.
35
+ */
36
+ scrollOffsetTop?: number | (() => number);
37
+ className?: string;
38
+ };
39
+ export declare function TourGuide({ steps, visible, onClose, onNavigate, scrollOffsetTop, className, }: TourGuideProps): React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './TourGuide';
@@ -0,0 +1,7 @@
1
+ "use client";import e,{useState as t,useCallback as r,useEffect as n}from"react";function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a,o={exports:{}};
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */a=o,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=n(e,r(i)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var i="";for(var a in r)e.call(r,a)&&r[a]&&(i=n(i,a));return i}function n(e,t){return t?e?e+" "+t:e+t:e}a.exports?(t.default=t,a.exports=t):window.classNames=t}();var l=i(o.exports);const s=14;function c({steps:i,visible:a,onClose:o,onNavigate:c,scrollOffsetTop:u=0,className:d}){const[m,g]=t(0),[h,w]=t(null),[f,p]=t({w:1440,h:900}),y=i[m],v=r(()=>{if(!y?.targetSelector)return void w(null);const e=document.querySelector(y.targetSelector);if(!e)return void w(null);const t=e.getBoundingClientRect();if(0===t.width&&0===t.height)return void w(null);const r=y.padding??8;w({top:t.top-r,left:t.left-r,width:t.width+2*r,height:t.height+2*r})},[y]);n(()=>{const e=()=>p({w:window.innerWidth,h:window.innerHeight});return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),n(()=>{if(!a)return;const e=()=>v();return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[a,v]),n(()=>{if(!a||!y)return;w(null),y.navSection&&c?.(y.navSection);const e=setTimeout(()=>y.onEnter?.(),180),t=setTimeout(()=>{const e=document.querySelector(y.targetSelector);if(!e)return;const t=e.getBoundingClientRect().height,r=y.scrollBlock??(t>.55*window.innerHeight?"start":"center");if("start"===r){const t="function"==typeof u?u():u;e.style.scrollMarginTop=`${t}px`}e.scrollIntoView({behavior:"smooth",block:r})},300),r=[550,800,1100].map(e=>setTimeout(v,e));return()=>{clearTimeout(e),clearTimeout(t),r.forEach(clearTimeout),y.onLeave?.()}},[m,a]),n(()=>{if(!a)return;const e=e=>{"Escape"!==e.key?("ArrowRight"===e.key&&g(e=>e>=i.length-1?(o(),e):e+1),"ArrowLeft"===e.key&&g(e=>Math.max(0,e-1))):o()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[a,i.length,o]),n(()=>{a&&g(0)},[a]);if(!a||!y)return null;const E=Math.min(380,f.w-28),_=f.h-28,b=(()=>{if(!h)return Math.max(s,f.h/2-140);const e=h.top+h.height+s;let t=e+240<=f.h?e:h.top-240-s;return t=Math.max(s,Math.min(t,f.h-160-s)),t})(),k=(()=>{if(!h)return Math.max(s,(f.w-E)/2);let e=h.left;return e+E>f.w-s&&(e=f.w-E-s),e<s&&(e=s),e})();return e.createElement("div",{className:l("gyramais-tourguide",d)},e.createElement("svg",{className:"gyramais-tourguide__overlay",viewBox:`0 0 ${f.w} ${f.h}`,preserveAspectRatio:"none","aria-hidden":"true",onClick:o},e.createElement("defs",null,e.createElement("mask",{id:"gyramais-tg-mask"},e.createElement("rect",{width:f.w,height:f.h,fill:"white"}),h&&e.createElement("rect",{x:h.left,y:h.top,width:h.width,height:h.height,rx:"10",fill:"black"}))),e.createElement("rect",{width:f.w,height:f.h,fill:"rgba(0,0,0,0.52)",mask:"url(#gyramais-tg-mask)"}),h&&e.createElement("rect",{x:h.left,y:h.top,width:h.width,height:h.height,rx:"10",fill:"none",stroke:"#1256ff",strokeWidth:"2",className:"gyramais-tourguide__spotlight-border"})),e.createElement("div",{className:"gyramais-tourguide__popover",style:{top:b,left:k,width:E,maxHeight:_},role:"dialog","aria-modal":"false","aria-label":y.title},e.createElement("div",{className:"gyramais-tourguide__step-badge"},"Passo ",m+1," de ",i.length),e.createElement("h3",{className:"gyramais-tourguide__title"},y.title),e.createElement("p",{className:"gyramais-tourguide__body"},y.body),e.createElement("div",{className:"gyramais-tourguide__footer"},e.createElement("div",{className:"gyramais-tourguide__dots"},i.map((t,r)=>e.createElement("button",{key:r,type:"button",className:l("gyramais-tourguide__dot",{"gyramais-tourguide__dot--active":r===m}),onClick:()=>g(r),"aria-label":`Ir para passo ${r+1}`}))),e.createElement("div",{className:"gyramais-tourguide__actions"},e.createElement("button",{type:"button",className:"gyramais-tourguide__btn-skip",onClick:o},"Sair"),m>0&&e.createElement("button",{type:"button",className:"gyramais-tourguide__btn-prev",onClick:()=>g(e=>Math.max(0,e-1))},"← Anterior"),e.createElement("button",{type:"button",className:"gyramais-tourguide__btn-next",onClick:()=>{m>=i.length-1?o():g(e=>e+1)}},m===i.length-1?"Concluir ✓":"Próximo →")))))}export{c as TourGuide};
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/classnames/index.js","../../../src/components/TourGuide/TourGuide.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","'use client';\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport './index.css';\n\nexport type TourStep = {\n title: string;\n body: string;\n targetSelector: string;\n navSection?: string;\n padding?: number;\n /**\n * Como alinhar o alvo ao rolar. 'center' (padrão para alvos pequenos) é\n * imune à altura de toolbars fixas. 'start' é melhor para seções altas.\n * 'nearest' rola o mínimo possível (bom para elementos flutuantes/portais\n * que já estão visíveis, como dropdowns). Se omitido, decidimos pela altura.\n */\n scrollBlock?: 'start' | 'center' | 'nearest';\n /**\n * Efeito colateral ao ENTRAR no passo, disparado depois da navegação e do\n * mount da seção (ex.: abrir um dropdown para destacá-lo). Use junto com\n * targetSelector apontando para o conteúdo revelado.\n */\n onEnter?: () => void;\n /** Limpeza ao SAIR do passo (ex.: fechar o dropdown aberto no onEnter). */\n onLeave?: () => void;\n};\n\ntype Rect = { top: number; left: number; width: number; height: number };\n\nexport type TourGuideProps = {\n steps: TourStep[];\n visible: boolean;\n onClose: () => void;\n onNavigate?: (navSection: string) => void;\n /**\n * Espaço (px) reservado no topo ao rolar alvos altos (block:'start') para que\n * não fiquem atrás de toolbars fixas. Aceita número ou função (recalculada a\n * cada passo) — use a função quando a altura da toolbar varia (wrap/mobile).\n * Alvos pequenos usam block:'center' e ignoram esse valor. Padrão: 0.\n */\n scrollOffsetTop?: number | (() => number);\n className?: string;\n};\n\nconst POPOVER_W = 380;\nconst DEFAULT_PAD = 8;\nconst GAP = 14;\n// Alvos mais altos que esta fração da viewport rolam por 'start' (topo), os\n// menores por 'center' (meio) — center é imune a toolbars fixas de qualquer\n// altura, resolvendo o spotlight caindo \"atrás\" do header em telas estreitas.\nconst TALL_RATIO = 0.55;\n\nexport function TourGuide({\n steps,\n visible,\n onClose,\n onNavigate,\n scrollOffsetTop = 0,\n className,\n}: TourGuideProps) {\n const [stepIdx, setStepIdx] = useState(0);\n const [rect, setRect] = useState<Rect | null>(null);\n const [vp, setVp] = useState({ w: 1440, h: 900 });\n\n const step = steps[stepIdx];\n\n const measureTarget = useCallback(() => {\n if (!step?.targetSelector) { setRect(null); return; }\n const el = document.querySelector<HTMLElement>(step.targetSelector);\n if (!el) { setRect(null); return; }\n const r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) { setRect(null); return; }\n const pad = step.padding ?? DEFAULT_PAD;\n setRect({\n top: r.top - pad,\n left: r.left - pad,\n width: r.width + pad * 2,\n height: r.height + pad * 2,\n });\n }, [step]);\n\n // Acompanha o tamanho da viewport.\n useEffect(() => {\n const update = () => setVp({ w: window.innerWidth, h: window.innerHeight });\n update();\n window.addEventListener('resize', update);\n return () => window.removeEventListener('resize', update);\n }, []);\n\n // Re-mede o alvo em resize/scroll (o spotlight precisa acompanhar).\n useEffect(() => {\n if (!visible) return;\n const remeasure = () => measureTarget();\n window.addEventListener('resize', remeasure);\n window.addEventListener('scroll', remeasure, true);\n return () => {\n window.removeEventListener('resize', remeasure);\n window.removeEventListener('scroll', remeasure, true);\n };\n }, [visible, measureTarget]);\n\n // Ciclo de cada passo: navega -> (onEnter) -> rola -> mede (várias vezes).\n useEffect(() => {\n if (!visible || !step) return;\n setRect(null);\n if (step.navSection) onNavigate?.(step.navSection);\n\n const tEnter = setTimeout(() => step.onEnter?.(), 180);\n const tScroll = setTimeout(() => {\n const el = document.querySelector<HTMLElement>(step.targetSelector);\n if (!el) return;\n const elH = el.getBoundingClientRect().height;\n const block =\n step.scrollBlock ?? (elH > window.innerHeight * TALL_RATIO ? 'start' : 'center');\n if (block === 'start') {\n const off =\n typeof scrollOffsetTop === 'function' ? scrollOffsetTop() : scrollOffsetTop;\n el.style.scrollMarginTop = `${off}px`;\n }\n el.scrollIntoView({ behavior: 'smooth', block });\n }, 300);\n // Mede em vários instantes: a seção pode revelar conteúdo após a navegação\n // (toggle/dropdown) e o smooth-scroll leva tempo.\n const measures = [550, 800, 1100].map((d) => setTimeout(measureTarget, d));\n\n return () => {\n clearTimeout(tEnter);\n clearTimeout(tScroll);\n measures.forEach(clearTimeout);\n step.onLeave?.();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [stepIdx, visible]);\n\n // Navegação por teclado.\n useEffect(() => {\n if (!visible) return;\n const handler = (e: KeyboardEvent) => {\n if (e.key === 'Escape') { onClose(); return; }\n if (e.key === 'ArrowRight') {\n setStepIdx((s) => {\n if (s >= steps.length - 1) { onClose(); return s; }\n return s + 1;\n });\n }\n if (e.key === 'ArrowLeft') {\n setStepIdx((s) => Math.max(0, s - 1));\n }\n };\n window.addEventListener('keydown', handler);\n return () => window.removeEventListener('keydown', handler);\n }, [visible, steps.length, onClose]);\n\n useEffect(() => {\n if (visible) setStepIdx(0);\n }, [visible]);\n\n const goNext = () => {\n if (stepIdx >= steps.length - 1) { onClose(); return; }\n setStepIdx((s) => s + 1);\n };\n const goPrev = () => setStepIdx((s) => Math.max(0, s - 1));\n\n if (!visible || !step) return null;\n\n // Popover responsivo: nunca mais largo que a viewport (mobile).\n const popW = Math.min(POPOVER_W, vp.w - GAP * 2);\n const popMaxH = vp.h - GAP * 2;\n\n const popTop = (() => {\n if (!rect) return Math.max(GAP, vp.h / 2 - 140);\n const below = rect.top + rect.height + GAP;\n // Cabe abaixo do alvo?\n let t = below + 240 <= vp.h ? below : rect.top - 240 - GAP;\n // Mantém dentro da viewport.\n t = Math.max(GAP, Math.min(t, vp.h - 160 - GAP));\n return t;\n })();\n const popLeft = (() => {\n if (!rect) return Math.max(GAP, (vp.w - popW) / 2);\n let l = rect.left;\n if (l + popW > vp.w - GAP) l = vp.w - popW - GAP;\n if (l < GAP) l = GAP;\n return l;\n })();\n\n return (\n <div className={classNames('gyramais-tourguide', className)}>\n <svg\n className=\"gyramais-tourguide__overlay\"\n viewBox={`0 0 ${vp.w} ${vp.h}`}\n preserveAspectRatio=\"none\"\n aria-hidden=\"true\"\n onClick={onClose}\n >\n <defs>\n <mask id=\"gyramais-tg-mask\">\n <rect width={vp.w} height={vp.h} fill=\"white\" />\n {rect && (\n <rect\n x={rect.left} y={rect.top}\n width={rect.width} height={rect.height}\n rx=\"10\" fill=\"black\"\n />\n )}\n </mask>\n </defs>\n <rect\n width={vp.w} height={vp.h}\n fill=\"rgba(0,0,0,0.52)\"\n mask=\"url(#gyramais-tg-mask)\"\n />\n {rect && (\n <rect\n x={rect.left} y={rect.top}\n width={rect.width} height={rect.height}\n rx=\"10\" fill=\"none\"\n stroke=\"#1256ff\" strokeWidth=\"2\"\n className=\"gyramais-tourguide__spotlight-border\"\n />\n )}\n </svg>\n\n <div\n className=\"gyramais-tourguide__popover\"\n style={{ top: popTop, left: popLeft, width: popW, maxHeight: popMaxH }}\n role=\"dialog\"\n aria-modal=\"false\"\n aria-label={step.title}\n >\n <div className=\"gyramais-tourguide__step-badge\">\n Passo {stepIdx + 1} de {steps.length}\n </div>\n <h3 className=\"gyramais-tourguide__title\">{step.title}</h3>\n <p className=\"gyramais-tourguide__body\">{step.body}</p>\n <div className=\"gyramais-tourguide__footer\">\n <div className=\"gyramais-tourguide__dots\">\n {steps.map((_, i) => (\n <button\n key={i}\n type=\"button\"\n className={classNames('gyramais-tourguide__dot', {\n 'gyramais-tourguide__dot--active': i === stepIdx,\n })}\n onClick={() => setStepIdx(i)}\n aria-label={`Ir para passo ${i + 1}`}\n />\n ))}\n </div>\n <div className=\"gyramais-tourguide__actions\">\n <button type=\"button\" className=\"gyramais-tourguide__btn-skip\" onClick={onClose}>\n Sair\n </button>\n {stepIdx > 0 && (\n <button type=\"button\" className=\"gyramais-tourguide__btn-prev\" onClick={goPrev}>\n ← Anterior\n </button>\n )}\n <button type=\"button\" className=\"gyramais-tourguide__btn-next\" onClick={goNext}>\n {stepIdx === steps.length - 1 ? 'Concluir ✓' : 'Próximo →'}\n </button>\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","appendClass","parseValue","Array","isArray","apply","toString","Object","prototype","includes","key","call","value","newClass","module","exports","default","window","GAP","TourGuide","steps","visible","onClose","onNavigate","scrollOffsetTop","className","stepIdx","setStepIdx","useState","rect","setRect","vp","setVp","w","h","step","measureTarget","useCallback","targetSelector","el","document","querySelector","r","getBoundingClientRect","width","height","pad","padding","top","left","useEffect","update","innerWidth","innerHeight","addEventListener","removeEventListener","remeasure","navSection","tEnter","setTimeout","onEnter","tScroll","elH","block","scrollBlock","off","style","scrollMarginTop","scrollIntoView","behavior","measures","map","d","clearTimeout","forEach","onLeave","handler","e","s","Math","max","popW","min","popMaxH","popTop","below","t","popLeft","l","React","createElement","viewBox","preserveAspectRatio","onClick","id","fill","x","y","rx","mask","stroke","strokeWidth","maxHeight","role","title","body","_","type"],"mappings":";;;;;MAOC,WAGA,IAAIA,EAAS,CAAA,EAAGC,eAEhB,SAASC,IAGR,IAFA,IAAIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,UAAUD,GAChBG,IACHJ,EAAUK,EAAYL,EAASM,EAAWF,IAE9C,CAEE,OAAOJ,CACT,CAEC,SAASM,EAAYF,GACpB,GAAmB,iBAARA,GAAmC,iBAARA,EACrC,OAAOA,EAGR,GAAmB,iBAARA,EACV,MAAO,GAGR,GAAIG,MAAMC,QAAQJ,GACjB,OAAOL,EAAWU,MAAM,KAAML,GAG/B,GAAIA,EAAIM,WAAaC,OAAOC,UAAUF,WAAaN,EAAIM,SAASA,WAAWG,SAAS,iBACnF,OAAOT,EAAIM,WAGZ,IAAIV,EAAU,GAEd,IAAK,IAAIc,KAAOV,EACXP,EAAOkB,KAAKX,EAAKU,IAAQV,EAAIU,KAChCd,EAAUK,EAAYL,EAASc,IAIjC,OAAOd,CACT,CAEC,SAASK,EAAaW,EAAOC,GAC5B,OAAKA,EAIDD,EACIA,EAAQ,IAAMC,E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0]}
@@ -0,0 +1,75 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ export type AiParecerVerdictTone = "success" | "warning" | "danger" | "info";
4
+ type AiParecerProps = {
5
+ id?: string;
6
+ className?: string;
7
+ /**
8
+ * Chip de veredito exibido a direita do badge (ex: "Risco médio").
9
+ * Opcional.
10
+ */
11
+ verdict?: React.ReactNode;
12
+ verdictTone?: AiParecerVerdictTone;
13
+ /**
14
+ * Score (ex: nota GYRA+ IA) exibido como pill a esquerda do chip de
15
+ * veredito. Aceita number ou node. Opcional.
16
+ */
17
+ score?: React.ReactNode;
18
+ /** Rotulo do score. Default: "Score GYRA+ IA". */
19
+ scoreLabel?: string;
20
+ /**
21
+ * Conteudo do parecer: tipicamente um ou mais `<AiParecer.Topic>`
22
+ * (Resumo Executivo, Pontos de Atenção e Risco, etc).
23
+ */
24
+ children?: React.ReactNode;
25
+ /**
26
+ * Fontes consultadas, exibidas no rodape com um icone de base de dados
27
+ * (ex: "Receita Federal · Quod · Serasa"). Opcional.
28
+ */
29
+ sources?: React.ReactNode;
30
+ /**
31
+ * Grau de confianca do parecer, exibido no rodape (ex: "96%" vira
32
+ * "Confiança 96%"). Aceita number ou node. Opcional.
33
+ */
34
+ confidence?: React.ReactNode;
35
+ /**
36
+ * Callbacks de feedback. Quando algum e' passado, o rodape mostra os
37
+ * botoes padrao (👍 / 👎 / regenerar) com icones SVG proprios — sem
38
+ * depender de nenhuma fonte de icone externa. O estado de "util/nao-util"
39
+ * fica destacado automaticamente.
40
+ */
41
+ onFeedbackUp?: () => void;
42
+ onFeedbackDown?: () => void;
43
+ onRegenerate?: () => void;
44
+ /**
45
+ * Acoes customizadas do rodape. Quando presente, SUBSTITUI os botoes de
46
+ * feedback padrao. Use a classe `gyramais-ai-parecer__btn` pro estilo.
47
+ */
48
+ actions?: React.ReactNode;
49
+ /**
50
+ * Rodape totalmente customizado. Quando presente, substitui o rodape
51
+ * padrao montado a partir de `sources` / `confidence` / acoes.
52
+ */
53
+ footer?: React.ReactNode;
54
+ };
55
+ type AiParecerTopicProps = {
56
+ className?: string;
57
+ label: React.ReactNode;
58
+ /** Icone a esquerda do topico (ex: <DescriptionOutlinedIcon />). */
59
+ icon?: React.ReactNode;
60
+ /** `warning` destaca o topico (fundo + icone em tom de alerta). */
61
+ tone?: "default" | "warning";
62
+ children?: React.ReactNode;
63
+ };
64
+ declare const AiParecerTopic: ({ className, label, icon, tone, children, }: AiParecerTopicProps) => React.JSX.Element;
65
+ /**
66
+ * Faixa padrao "Parecer GYRA+ IA" usada em todas as seções de parecer
67
+ * gerado por IA (analise financeira etc). Badge roxo com gradiente, label
68
+ * em uppercase e chip de veredito opcional. O conteudo (topicos) vem como
69
+ * children. Use `AiParecer.Topic` para padronizar cada bloco.
70
+ */
71
+ declare const AiParecer: {
72
+ ({ id, className, verdict, verdictTone, score, scoreLabel, children, sources, confidence, onFeedbackUp, onFeedbackDown, onRegenerate, actions, footer, }: AiParecerProps): React.JSX.Element;
73
+ Topic: ({ className, label, icon, tone, children, }: AiParecerTopicProps) => React.JSX.Element;
74
+ };
75
+ export { AiParecer, AiParecerTopic };
@@ -0,0 +1 @@
1
+ export * from "./AiParecer";
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type AvatarProps = {
4
+ id?: string;
5
+ className?: string;
6
+ size?: number;
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const Avatar: ({ id, className, size, children, }: AvatarProps) => React.JSX.Element;
10
+ export { Avatar };
@@ -0,0 +1 @@
1
+ export * from "./Avatar";
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ type BrasilUfs = "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
3
+ type Brasil = {
4
+ data: {
5
+ [key in BrasilUfs]?: number;
6
+ };
7
+ size?: number;
8
+ };
9
+ declare const Brasil: ({ data, size }: Brasil) => React.JSX.Element;
10
+ export { Brasil };
@@ -0,0 +1 @@
1
+ export * from "./Brasil";
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ export type ButtonProps = {
4
+ id?: string;
5
+ className?: string;
6
+ type?: "primary" | "secondary" | "white" | "dark" | "transparent";
7
+ size?: "small" | "medium" | "large";
8
+ htmlType?: "button" | "submit";
9
+ link?: boolean;
10
+ block?: boolean;
11
+ disabled?: boolean;
12
+ loading?: boolean;
13
+ icon?: React.ReactNode;
14
+ fab?: boolean;
15
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
16
+ children?: React.ReactNode;
17
+ };
18
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<unknown>>;
19
+ export { Button };
@@ -0,0 +1 @@
1
+ export * from "./Button";
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type CardProps = {
4
+ id?: string;
5
+ className?: string;
6
+ type?: "shadow" | "shadow-inset" | "border";
7
+ title?: string | React.ReactNode;
8
+ subtitle?: string | React.ReactNode;
9
+ /**
10
+ * Elemento de mídia (ícone, badge, avatar) exibido à esquerda do bloco
11
+ * título/subtítulo no header. Padroniza o layout "ícone + título + subtítulo"
12
+ * sem cada consumer estilizar à mão. O conteúdo (cor/tamanho do badge) é do
13
+ * consumer; o Card só cuida do posicionamento.
14
+ */
15
+ media?: React.ReactNode;
16
+ disabled?: boolean;
17
+ loading?: boolean;
18
+ collapsible?: boolean;
19
+ defaultCollapsed?: boolean;
20
+ collapsed?: boolean;
21
+ onCollapse?: (collapsed: boolean) => void;
22
+ onClick?: () => void;
23
+ headerContent?: React.ReactNode;
24
+ children?: React.ReactNode;
25
+ };
26
+ declare const Card: ({ id, type, className, title, subtitle, media, disabled, loading, collapsible, defaultCollapsed, collapsed, onCollapse, onClick, headerContent, children, }: CardProps) => React.JSX.Element;
27
+ export { Card };
@@ -0,0 +1 @@
1
+ export * from "./Card";
@@ -0,0 +1,43 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type BarChartData = Array<{
4
+ [key: string]: number;
5
+ }>;
6
+ type PieChartData = Array<{
7
+ name: string;
8
+ value: string | number;
9
+ }>;
10
+ type LineChartData = Array<{
11
+ [key: string]: string;
12
+ }>;
13
+ type ChartProps = {
14
+ id?: string;
15
+ className?: string;
16
+ type?: 'bar' | 'pie' | 'line';
17
+ layout?: 'horizontal' | 'vertical';
18
+ barSize?: number;
19
+ barGap?: number;
20
+ barMaxValue?: number;
21
+ indexes?: Array<{
22
+ name: string;
23
+ key: string;
24
+ stackId?: string;
25
+ color?: string;
26
+ }>;
27
+ x?: {
28
+ key: string;
29
+ formatter?: (value: any) => string;
30
+ };
31
+ y?: {
32
+ indexes: Array<{
33
+ key: string;
34
+ name?: string;
35
+ color?: string;
36
+ }>;
37
+ formatter?: (value: any) => string;
38
+ };
39
+ data?: BarChartData | PieChartData | LineChartData;
40
+ tooltipFormatter?: (value: any) => string;
41
+ };
42
+ declare const Chart: ({ id, className, type, layout, barSize, barGap, barMaxValue, indexes, x, y, data, tooltipFormatter, }: ChartProps) => React.JSX.Element;
43
+ export { Chart };
@@ -0,0 +1 @@
1
+ export * from "./Chart";
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { ChatMessage } from "./types";
3
+ interface ChatMessageBubbleProps {
4
+ message: ChatMessage;
5
+ }
6
+ declare const ChatMessageBubble: ({ message }: ChatMessageBubbleProps) => React.JSX.Element;
7
+ export { ChatMessageBubble };
@@ -0,0 +1,30 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ import { ChatMessage, ChatStatus, ChatTheme } from "./types";
4
+ export interface ChatWidgetProps {
5
+ open: boolean;
6
+ onOpenChange: (open: boolean) => void;
7
+ messages: ChatMessage[];
8
+ status: ChatStatus;
9
+ onSend: (text: string) => void | Promise<void>;
10
+ onReset?: () => void;
11
+ theme?: ChatTheme;
12
+ title?: string;
13
+ triggerLabel?: string;
14
+ placeholder?: string;
15
+ emptyTitle?: string;
16
+ emptySubtitle?: string;
17
+ suggestions?: string[];
18
+ collapsedHeight?: number | string;
19
+ expandedHeight?: number | string;
20
+ collapsedWidth?: number | string;
21
+ expandedWidth?: number | string;
22
+ defaultExpanded?: boolean;
23
+ expandable?: boolean;
24
+ className?: string;
25
+ zIndex?: number;
26
+ headerExtra?: React.ReactNode;
27
+ belowHeader?: React.ReactNode;
28
+ }
29
+ declare const ChatWidget: ({ open, onOpenChange, messages, status, onSend, onReset, theme, title, triggerLabel, placeholder, emptyTitle, emptySubtitle, suggestions, collapsedHeight, expandedHeight, collapsedWidth, expandedWidth, defaultExpanded, expandable, className, zIndex, headerExtra, belowHeader, }: ChatWidgetProps) => React.JSX.Element;
30
+ export { ChatWidget };
@@ -0,0 +1,3 @@
1
+ export * from "./ChatWidget";
2
+ export * from "./ChatMessageBubble";
3
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ export type ChatRole = 'user' | 'assistant';
2
+ export type ChatStatus = 'idle' | 'streaming' | 'error';
3
+ export type ChatTheme = 'light' | 'dark';
4
+ export interface ChatToolCall {
5
+ name: string;
6
+ input: Record<string, unknown>;
7
+ }
8
+ export interface ChatCitation {
9
+ section: string;
10
+ excerpt: string;
11
+ url: string;
12
+ }
13
+ export interface ChatMessage {
14
+ role: ChatRole;
15
+ content: string;
16
+ toolCalls?: ChatToolCall[];
17
+ citations?: ChatCitation[];
18
+ }
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type CheckboxProps = {
4
+ id?: string;
5
+ className?: string;
6
+ name?: string;
7
+ checked?: boolean;
8
+ onCheckedChange?: (checked: boolean) => void;
9
+ children?: React.ReactNode;
10
+ };
11
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<unknown>>;
12
+ export { Checkbox };
@@ -0,0 +1 @@
1
+ export * from "./Checkbox";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type Span = {
4
+ mobile?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
5
+ tablet?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
+ desktop?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
7
+ wide?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
8
+ };
9
+ type ColProps = {
10
+ id?: string;
11
+ className?: string;
12
+ span?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Span;
13
+ onClick?: () => void;
14
+ children?: React.ReactNode;
15
+ };
16
+ declare const Col: ({ id, className, span, onClick, children, }: ColProps) => React.JSX.Element;
17
+ export { Col };
@@ -0,0 +1 @@
1
+ export * from "./Col";
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type CollapseProps = {
4
+ id?: string;
5
+ className?: string;
6
+ collapsed?: boolean;
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const Collapse: ({ id, className, collapsed, children, }: CollapseProps) => React.JSX.Element;
10
+ export { Collapse };
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type CollapseIconProps = {
4
+ id?: string;
5
+ className?: string;
6
+ collapsed?: boolean;
7
+ onCollapse?: (collapsed: boolean) => void;
8
+ };
9
+ declare const CollapseIcon: ({ id, className, collapsed, onCollapse, }: CollapseIconProps) => React.JSX.Element;
10
+ export { CollapseIcon };
@@ -0,0 +1,2 @@
1
+ export * from "./Collapse";
2
+ export * from "./CollapseIcon";
@@ -0,0 +1,45 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type ContextMenuProps = {
4
+ id?: string;
5
+ className?: string;
6
+ visible?: boolean;
7
+ align?: "start" | "center" | "end";
8
+ side?: "top" | "right" | "bottom" | "left";
9
+ sideOffset?: number;
10
+ width?: number | string;
11
+ trigger: React.ReactNode;
12
+ children?: React.ReactNode;
13
+ onPointerDownOutside?: () => void;
14
+ };
15
+ declare const ContextMenu: {
16
+ ({ id, className, visible, align, side, sideOffset, width, trigger, children, onPointerDownOutside, }: ContextMenuProps): React.JSX.Element;
17
+ Section: ({ className, label, hint, children, }: {
18
+ className?: string;
19
+ label?: string;
20
+ /** Texto explicativo abaixo do label, antes do conteúdo. */
21
+ hint?: string | React.ReactNode;
22
+ children: React.ReactNode;
23
+ }) => React.JSX.Element;
24
+ Divider: () => React.JSX.Element;
25
+ RadioGroup: ({ value, onChange, children, }: {
26
+ value?: string;
27
+ onChange?: (value: string) => void;
28
+ children: React.ReactNode;
29
+ }) => React.JSX.Element;
30
+ RadioItem: ({ value, label, sublabel, icon, disabled, }: {
31
+ value: string;
32
+ label: string;
33
+ sublabel?: string;
34
+ icon?: React.ReactNode;
35
+ disabled?: boolean;
36
+ }) => React.JSX.Element;
37
+ DangerAction: ({ icon, onClick, disabled, children, }: {
38
+ icon?: React.ReactNode;
39
+ onClick?: () => void;
40
+ disabled?: boolean;
41
+ children: React.ReactNode;
42
+ }) => React.JSX.Element;
43
+ };
44
+ export { ContextMenu };
45
+ export type { ContextMenuProps };
@@ -0,0 +1 @@
1
+ export * from "./ContextMenu";
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ export type DistributionVariant = "success" | "warning" | "danger" | "info" | "neutral";
4
+ export type DistributionSegment = {
5
+ key: string;
6
+ value: number;
7
+ label: string;
8
+ variant?: DistributionVariant;
9
+ icon?: React.ReactNode;
10
+ };
11
+ type DistributionBarProps = {
12
+ id?: string;
13
+ className?: string;
14
+ segments: DistributionSegment[];
15
+ /** When true, segments below this percentage hide their inline value/label
16
+ * (the sliver is too thin to fit text). Default: 8. */
17
+ minTextPercent?: number;
18
+ /** Replaces the bar with this node when every segment is zero. */
19
+ emptyState?: React.ReactNode;
20
+ /** Optional formatter for the inline numeric. Defaults to "{n}%". */
21
+ formatValue?: (value: number) => string;
22
+ /** Render the legend below the bar. Default: true when there is any data. */
23
+ showLegend?: boolean;
24
+ ariaLabel?: string;
25
+ };
26
+ declare const DistributionBar: ({ id, className, segments, minTextPercent, emptyState, formatValue, showLegend, ariaLabel, }: DistributionBarProps) => React.JSX.Element;
27
+ export { DistributionBar };
28
+ export type { DistributionBarProps };
@@ -0,0 +1 @@
1
+ export * from "./DistributionBar";
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type DividerProps = {
4
+ id?: string;
5
+ className?: string;
6
+ margin?: number;
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const Divider: ({ id, className, margin, children, }: DividerProps) => React.JSX.Element;
10
+ export { Divider };
@@ -0,0 +1 @@
1
+ export * from "./Divider";
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type DrawerProps = {
4
+ className?: string;
5
+ title?: string | React.ReactNode;
6
+ subtitle?: string;
7
+ footer?: React.ReactNode;
8
+ visible?: boolean;
9
+ closable?: boolean;
10
+ onClose?: () => void;
11
+ direction?: "left" | "top" | "right" | "bottom";
12
+ width?: number | string;
13
+ children?: React.ReactNode;
14
+ };
15
+ declare const Drawer: ({ className, title, subtitle, footer, visible, closable, onClose, direction, width, children, }: DrawerProps) => React.JSX.Element;
16
+ export { Drawer };
@@ -0,0 +1 @@
1
+ export * from "./Drawer";
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type DropdownMenuProps = {
4
+ id?: string;
5
+ className?: string;
6
+ title?: string;
7
+ visible?: boolean;
8
+ align?: "start" | "center" | "end";
9
+ side?: "top" | "right" | "bottom" | "left";
10
+ sideOffset?: number;
11
+ items?: Array<{
12
+ key?: string;
13
+ title?: string | React.ReactNode;
14
+ disabled?: boolean;
15
+ separator?: boolean;
16
+ onClick?: () => void;
17
+ }>;
18
+ children?: React.ReactNode;
19
+ };
20
+ declare const DropdownMenu: ({ id, className, visible, align, side, sideOffset, items, children, }: DropdownMenuProps) => React.JSX.Element;
21
+ export { DropdownMenu };
@@ -0,0 +1 @@
1
+ export * from "./DropdownMenu";
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { EmailLayoutInput } from '../../emails/email';
3
+ /**
4
+ * Preview de email transacional Gyra+ — genérico, configurável.
5
+ *
6
+ * Renderiza o HTML produzido por `buildEmail(input)` dentro de um iframe
7
+ * com `sandbox="allow-popups"` pra isolar do CSS do Storybook e simular
8
+ * Gmail/Outlook com fidelidade — `allow-popups` deixa os botoes (links
9
+ * com target=_blank) abrirem no preview pra teste.
10
+ *
11
+ * **Uso**: passe qualquer combinação de campos opcionais (greeting, title
12
+ * obrigatório, paragraphs, highlights lado-a-lado, aiParecer, buttons,
13
+ * footerNote). É o mesmo `EmailLayoutInput` que o `buildEmail` aceita.
14
+ *
15
+ * Pra previsualizar um email transacional específico (ex: reset de senha,
16
+ * batch concluído, alerta), basta montar os props correspondentes — não
17
+ * precisa criar um componente novo por caso.
18
+ */
19
+ export type EmailProps = EmailLayoutInput & {
20
+ /** Largura visual do iframe. Default 700px (cabe o card 600 + paddings). */
21
+ width?: number | string;
22
+ /** Altura visual do iframe. Default 1000px. Ajuste se o conteúdo crescer. */
23
+ height?: number | string;
24
+ };
25
+ export declare const Email: React.FC<EmailProps>;
26
+ export default Email;
@@ -0,0 +1,2 @@
1
+ export * from './Email';
2
+ export { default } from './Email';
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ type EmptyProps = {
4
+ id?: string;
5
+ className?: string;
6
+ icon?: React.ReactNode;
7
+ text?: string;
8
+ };
9
+ declare const Empty: ({ id, className, icon, text, }: EmptyProps) => React.JSX.Element;
10
+ export { Empty };