@rojaostudio/ds 1.0.1 → 2.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/README.md +75 -13
  2. package/dist/compat/generate.d.ts +0 -1
  3. package/dist/components/accordion.d.ts +30 -20
  4. package/dist/components/accordion.js +31 -87
  5. package/dist/components/action-bar.d.ts +24 -0
  6. package/dist/components/action-bar.js +55 -0
  7. package/dist/components/alert-dialog.d.ts +31 -0
  8. package/dist/components/alert-dialog.js +43 -0
  9. package/dist/components/alert.d.ts +31 -19
  10. package/dist/components/alert.js +74 -65
  11. package/dist/components/attachment.d.ts +37 -0
  12. package/dist/components/attachment.js +76 -0
  13. package/dist/components/avatar.d.ts +43 -36
  14. package/dist/components/avatar.js +59 -83
  15. package/dist/components/badge.d.ts +30 -41
  16. package/dist/components/badge.js +16 -106
  17. package/dist/components/banner.d.ts +27 -0
  18. package/dist/components/banner.js +66 -0
  19. package/dist/components/benefits.d.ts +30 -0
  20. package/dist/components/benefits.js +32 -0
  21. package/dist/components/breadcrumb.d.ts +25 -18
  22. package/dist/components/breadcrumb.js +40 -48
  23. package/dist/components/browser.d.ts +18 -0
  24. package/dist/components/browser.js +32 -0
  25. package/dist/components/bubble.d.ts +29 -0
  26. package/dist/components/bubble.js +33 -0
  27. package/dist/components/button-group.d.ts +19 -0
  28. package/dist/components/button-group.js +20 -0
  29. package/dist/components/button.d.ts +47 -20
  30. package/dist/components/button.js +51 -107
  31. package/dist/components/calendar.d.ts +29 -0
  32. package/dist/components/calendar.js +149 -0
  33. package/dist/components/card.d.ts +47 -19
  34. package/dist/components/card.js +38 -38
  35. package/dist/components/carousel.d.ts +28 -0
  36. package/dist/components/carousel.js +130 -0
  37. package/dist/components/chart.d.ts +49 -0
  38. package/dist/components/chart.js +258 -0
  39. package/dist/components/checkbox-group.d.ts +16 -0
  40. package/dist/components/checkbox-group.js +13 -0
  41. package/dist/components/checkbox.d.ts +25 -10
  42. package/dist/components/checkbox.js +86 -67
  43. package/dist/components/chip-input.d.ts +46 -20
  44. package/dist/components/chip-input.js +171 -158
  45. package/dist/components/chip.d.ts +28 -0
  46. package/dist/components/chip.js +73 -0
  47. package/dist/components/choice-card.d.ts +10 -13
  48. package/dist/components/choice-card.js +11 -56
  49. package/dist/components/choice-carousel.d.ts +9 -0
  50. package/dist/components/choice-carousel.js +67 -78
  51. package/dist/components/choice-preview-card.d.ts +10 -20
  52. package/dist/components/choice-preview-card.js +13 -30
  53. package/dist/components/color-input.d.ts +36 -11
  54. package/dist/components/color-input.js +139 -61
  55. package/dist/components/combobox.d.ts +60 -57
  56. package/dist/components/combobox.js +215 -196
  57. package/dist/components/command.d.ts +58 -0
  58. package/dist/components/command.js +177 -0
  59. package/dist/components/contact.d.ts +23 -0
  60. package/dist/components/contact.js +32 -0
  61. package/dist/components/context-menu.d.ts +34 -26
  62. package/dist/components/context-menu.js +43 -66
  63. package/dist/components/copy-field.d.ts +10 -5
  64. package/dist/components/copy-field.js +25 -27
  65. package/dist/components/currency-input.d.ts +25 -11
  66. package/dist/components/currency-input.js +39 -67
  67. package/dist/components/danger-zone.d.ts +10 -1
  68. package/dist/components/danger-zone.js +20 -14
  69. package/dist/components/data-table-header.d.ts +13 -2
  70. package/dist/components/data-table-header.js +143 -169
  71. package/dist/components/date-picker.d.ts +31 -32
  72. package/dist/components/date-picker.js +126 -242
  73. package/dist/components/delta.d.ts +26 -0
  74. package/dist/components/delta.js +24 -0
  75. package/dist/components/dialog.d.ts +21 -0
  76. package/dist/components/dialog.js +16 -0
  77. package/dist/components/drawer.d.ts +15 -23
  78. package/dist/components/drawer.js +56 -76
  79. package/dist/components/dropdown-menu.d.ts +63 -0
  80. package/dist/components/dropdown-menu.js +62 -0
  81. package/dist/components/dropzone.d.ts +10 -4
  82. package/dist/components/dropzone.js +30 -55
  83. package/dist/components/empty.d.ts +29 -0
  84. package/dist/components/empty.js +42 -0
  85. package/dist/components/fab.d.ts +29 -6
  86. package/dist/components/fab.js +51 -39
  87. package/dist/components/faq.d.ts +21 -0
  88. package/dist/components/faq.js +24 -0
  89. package/dist/components/file-input.d.ts +56 -0
  90. package/dist/components/file-input.js +244 -0
  91. package/dist/components/filter-chip.d.ts +34 -47
  92. package/dist/components/filter-chip.js +61 -57
  93. package/dist/components/floating-stepper.d.ts +7 -18
  94. package/dist/components/floating-stepper.js +17 -35
  95. package/dist/components/footer.d.ts +36 -0
  96. package/dist/components/footer.js +38 -0
  97. package/dist/components/form-actions.d.ts +28 -0
  98. package/dist/components/form-actions.js +24 -0
  99. package/dist/components/google-account-chooser.d.ts +25 -0
  100. package/dist/components/google-account-chooser.js +44 -0
  101. package/dist/components/google-button.d.ts +26 -0
  102. package/dist/components/google-button.js +38 -0
  103. package/dist/components/google-consent.d.ts +23 -0
  104. package/dist/components/google-consent.js +28 -0
  105. package/dist/components/google-sign-in.d.ts +26 -0
  106. package/dist/components/google-sign-in.js +36 -0
  107. package/dist/components/hover-card.d.ts +30 -0
  108. package/dist/components/hover-card.js +55 -0
  109. package/dist/components/icon-button.d.ts +41 -11
  110. package/dist/components/icon-button.js +47 -61
  111. package/dist/components/image-crop-modal.d.ts +3 -3
  112. package/dist/components/image-crop-modal.js +66 -52
  113. package/dist/components/image-upload.d.ts +21 -29
  114. package/dist/components/image-upload.js +59 -219
  115. package/dist/components/index.d.ts +105 -49
  116. package/dist/components/index.js +190 -68
  117. package/dist/components/input-otp.d.ts +35 -0
  118. package/dist/components/input-otp.js +119 -0
  119. package/dist/components/input.d.ts +23 -17
  120. package/dist/components/input.js +103 -108
  121. package/dist/components/insight-card.d.ts +25 -9
  122. package/dist/components/insight-card.js +45 -19
  123. package/dist/components/internal/announce.d.ts +3 -0
  124. package/dist/components/internal/announce.js +20 -0
  125. package/dist/components/internal/block.d.ts +15 -0
  126. package/dist/components/internal/block.js +14 -0
  127. package/dist/components/internal/button.d.ts +23 -0
  128. package/dist/components/internal/button.js +30 -0
  129. package/dist/components/internal/choice-card.d.ts +52 -0
  130. package/dist/components/internal/choice-card.js +117 -0
  131. package/dist/components/internal/choice.d.ts +25 -0
  132. package/dist/components/internal/choice.js +44 -0
  133. package/dist/components/internal/dates.d.ts +17 -0
  134. package/dist/components/internal/dates.js +59 -0
  135. package/dist/components/internal/field.d.ts +66 -0
  136. package/dist/components/internal/field.js +105 -0
  137. package/dist/components/internal/fieldset.d.ts +25 -0
  138. package/dist/components/internal/fieldset.js +56 -0
  139. package/dist/components/internal/focus-after.d.ts +3 -0
  140. package/dist/components/internal/focus-after.js +13 -0
  141. package/dist/components/internal/google.d.ts +47 -0
  142. package/dist/components/internal/google.js +73 -0
  143. package/dist/components/internal/icons.d.ts +108 -0
  144. package/dist/components/internal/icons.js +316 -0
  145. package/dist/components/internal/menu.d.ts +16 -0
  146. package/dist/components/internal/menu.js +14 -0
  147. package/dist/components/internal/modal.d.ts +50 -0
  148. package/dist/components/internal/modal.js +85 -0
  149. package/dist/components/internal/option-content.d.ts +10 -0
  150. package/dist/components/internal/option-content.js +13 -0
  151. package/dist/components/internal/radio-context.d.ts +16 -0
  152. package/dist/components/internal/radio-context.js +6 -0
  153. package/dist/components/internal/toggle.d.ts +7 -0
  154. package/dist/components/internal/toggle.js +13 -0
  155. package/dist/components/internal/use-listbox.d.ts +56 -0
  156. package/dist/components/internal/use-listbox.js +69 -0
  157. package/dist/components/internal/whatsapp.d.ts +8 -0
  158. package/dist/components/internal/whatsapp.js +12 -0
  159. package/dist/components/item.d.ts +32 -0
  160. package/dist/components/item.js +35 -0
  161. package/dist/components/kbd.d.ts +17 -0
  162. package/dist/components/kbd.js +18 -0
  163. package/dist/components/listbox.d.ts +34 -0
  164. package/dist/components/listbox.js +114 -0
  165. package/dist/components/marker.d.ts +24 -0
  166. package/dist/components/marker.js +28 -0
  167. package/dist/components/media-tile.d.ts +17 -14
  168. package/dist/components/media-tile.js +19 -24
  169. package/dist/components/message-scroller.d.ts +20 -0
  170. package/dist/components/message-scroller.js +108 -0
  171. package/dist/components/message.d.ts +33 -0
  172. package/dist/components/message.js +23 -0
  173. package/dist/components/navigation-menu.d.ts +42 -0
  174. package/dist/components/navigation-menu.js +30 -0
  175. package/dist/components/newsletter.d.ts +27 -0
  176. package/dist/components/newsletter.js +75 -0
  177. package/dist/components/number-input.d.ts +60 -0
  178. package/dist/components/number-input.js +234 -0
  179. package/dist/components/option-tile.d.ts +20 -19
  180. package/dist/components/option-tile.js +52 -131
  181. package/dist/components/page-header.d.ts +31 -0
  182. package/dist/components/page-header.js +25 -0
  183. package/dist/components/page-shell.d.ts +11 -1
  184. package/dist/components/page-shell.js +8 -27
  185. package/dist/components/page-skeleton.d.ts +15 -21
  186. package/dist/components/page-skeleton.js +37 -4
  187. package/dist/components/pagination.d.ts +32 -22
  188. package/dist/components/pagination.js +83 -76
  189. package/dist/components/password-input.d.ts +26 -0
  190. package/dist/components/password-input.js +112 -0
  191. package/dist/components/phone-input.d.ts +12 -8
  192. package/dist/components/phone-input.js +77 -47
  193. package/dist/components/phone.d.ts +27 -0
  194. package/dist/components/phone.js +35 -0
  195. package/dist/components/popover.d.ts +25 -36
  196. package/dist/components/popover.js +32 -129
  197. package/dist/components/pricing-card.d.ts +9 -25
  198. package/dist/components/pricing-card.js +9 -25
  199. package/dist/components/pricing.d.ts +48 -0
  200. package/dist/components/pricing.js +64 -0
  201. package/dist/components/progress.d.ts +30 -0
  202. package/dist/components/progress.js +57 -0
  203. package/dist/components/qr-display.d.ts +11 -6
  204. package/dist/components/qr-display.js +8 -19
  205. package/dist/components/questionnaire.d.ts +42 -0
  206. package/dist/components/questionnaire.js +107 -0
  207. package/dist/components/radio-group.d.ts +21 -0
  208. package/dist/components/radio-group.js +40 -0
  209. package/dist/components/radio.d.ts +15 -29
  210. package/dist/components/radio.js +46 -87
  211. package/dist/components/row-actions.d.ts +5 -0
  212. package/dist/components/row-actions.js +57 -56
  213. package/dist/components/saving-bar-context.d.ts +0 -5
  214. package/dist/components/saving-bar-context.js +16 -34
  215. package/dist/components/saving-bar.d.ts +26 -11
  216. package/dist/components/saving-bar.js +53 -65
  217. package/dist/components/section-card.d.ts +18 -4
  218. package/dist/components/section-card.js +26 -39
  219. package/dist/components/section-header.d.ts +8 -12
  220. package/dist/components/section-header.js +7 -2
  221. package/dist/components/select.d.ts +44 -16
  222. package/dist/components/select.js +85 -135
  223. package/dist/components/selectable-card.d.ts +11 -19
  224. package/dist/components/selectable-card.js +4 -21
  225. package/dist/components/separator.d.ts +20 -0
  226. package/dist/components/separator.js +19 -0
  227. package/dist/components/setting-row.d.ts +11 -15
  228. package/dist/components/setting-row.js +11 -14
  229. package/dist/components/settings-list.d.ts +10 -12
  230. package/dist/components/settings-list.js +9 -17
  231. package/dist/components/sheet.d.ts +21 -0
  232. package/dist/components/sheet.js +16 -0
  233. package/dist/components/sidebar.d.ts +79 -0
  234. package/dist/components/sidebar.js +111 -0
  235. package/dist/components/skeleton.d.ts +14 -20
  236. package/dist/components/skeleton.js +8 -36
  237. package/dist/components/slider.d.ts +21 -23
  238. package/dist/components/slider.js +65 -56
  239. package/dist/components/sparkline.d.ts +19 -0
  240. package/dist/components/sparkline.js +32 -0
  241. package/dist/components/spinner.d.ts +16 -8
  242. package/dist/components/spinner.js +35 -32
  243. package/dist/components/star-rating.d.ts +22 -0
  244. package/dist/components/star-rating.js +25 -0
  245. package/dist/components/stat.d.ts +33 -0
  246. package/dist/components/stat.js +29 -0
  247. package/dist/components/status.d.ts +27 -0
  248. package/dist/components/status.js +34 -0
  249. package/dist/components/step-progress.d.ts +13 -6
  250. package/dist/components/step-progress.js +20 -17
  251. package/dist/components/summary-bar.d.ts +20 -20
  252. package/dist/components/summary-bar.js +13 -50
  253. package/dist/components/switch.d.ts +20 -0
  254. package/dist/components/switch.js +46 -0
  255. package/dist/components/table.d.ts +56 -17
  256. package/dist/components/table.js +65 -59
  257. package/dist/components/tabs.d.ts +67 -0
  258. package/dist/components/tabs.js +56 -0
  259. package/dist/components/testimonial.d.ts +30 -0
  260. package/dist/components/testimonial.js +36 -0
  261. package/dist/components/textarea.d.ts +11 -16
  262. package/dist/components/textarea.js +55 -75
  263. package/dist/components/tile.d.ts +24 -0
  264. package/dist/components/tile.js +21 -0
  265. package/dist/components/time-picker.d.ts +40 -25
  266. package/dist/components/time-picker.js +191 -189
  267. package/dist/components/toast.d.ts +63 -0
  268. package/dist/components/toast.js +132 -0
  269. package/dist/components/toggle-card-compact.d.ts +15 -5
  270. package/dist/components/toggle-card-compact.js +22 -81
  271. package/dist/components/toggle-card.d.ts +11 -2
  272. package/dist/components/toggle-card.js +9 -70
  273. package/dist/components/toggle-group.d.ts +21 -59
  274. package/dist/components/toggle-group.js +31 -74
  275. package/dist/components/toggle.d.ts +19 -9
  276. package/dist/components/toggle.js +20 -55
  277. package/dist/components/tooltip.d.ts +25 -12
  278. package/dist/components/tooltip.js +16 -84
  279. package/dist/components/top-navigation.d.ts +33 -0
  280. package/dist/components/top-navigation.js +85 -0
  281. package/dist/components/typing-indicator.d.ts +6 -0
  282. package/dist/components/typing-indicator.js +3 -21
  283. package/dist/components/whatsapp-chat.d.ts +28 -0
  284. package/dist/components/whatsapp-chat.js +95 -0
  285. package/dist/components/whatsapp-message.d.ts +22 -0
  286. package/dist/components/whatsapp-message.js +34 -0
  287. package/dist/components/whatsapp-notification.d.ts +27 -0
  288. package/dist/components/whatsapp-notification.js +73 -0
  289. package/dist/components/whatsapp-template.d.ts +42 -0
  290. package/dist/components/whatsapp-template.js +69 -0
  291. package/dist/icons/index.d.ts +2 -0
  292. package/dist/icons/index.js +2 -0
  293. package/dist/icons/pix.d.ts +16 -0
  294. package/dist/icons/pix.js +29 -0
  295. package/dist/targets/native/components/accordion.js +31 -25
  296. package/dist/targets/native/components/alert.js +22 -16
  297. package/dist/targets/native/components/avatar.js +36 -29
  298. package/dist/targets/native/components/badge.js +4 -3
  299. package/dist/targets/native/components/button.js +11 -4
  300. package/dist/targets/native/components/card.js +2 -1
  301. package/dist/targets/native/components/checkbox.js +18 -15
  302. package/dist/targets/native/components/chips.js +19 -16
  303. package/dist/targets/native/components/choice-card.js +29 -23
  304. package/dist/targets/native/components/context-menu.js +13 -9
  305. package/dist/targets/native/components/currency-input.js +28 -25
  306. package/dist/targets/native/components/danger-zone.js +10 -4
  307. package/dist/targets/native/components/date-picker.js +86 -70
  308. package/dist/targets/native/components/divider.js +3 -2
  309. package/dist/targets/native/components/empty-state.js +6 -1
  310. package/dist/targets/native/components/fab.js +32 -26
  311. package/dist/targets/native/components/filter-chip.js +9 -8
  312. package/dist/targets/native/components/form-field.js +20 -10
  313. package/dist/targets/native/components/form-screen.js +50 -45
  314. package/dist/targets/native/components/google-icon.js +31 -25
  315. package/dist/targets/native/components/icon-button.js +6 -4
  316. package/dist/targets/native/components/icon.js +2 -1
  317. package/dist/targets/native/components/image-upload.js +59 -50
  318. package/dist/targets/native/components/index.d.ts +0 -2
  319. package/dist/targets/native/components/index.js +0 -4
  320. package/dist/targets/native/components/input.js +41 -34
  321. package/dist/targets/native/components/list-item.js +29 -23
  322. package/dist/targets/native/components/menu.js +12 -10
  323. package/dist/targets/native/components/modal.js +41 -32
  324. package/dist/targets/native/components/radio.js +19 -16
  325. package/dist/targets/native/components/search.js +41 -38
  326. package/dist/targets/native/components/select.js +71 -63
  327. package/dist/targets/native/components/sheet.js +36 -30
  328. package/dist/targets/native/components/skeleton.js +6 -5
  329. package/dist/targets/native/components/slider.js +51 -43
  330. package/dist/targets/native/components/spinner.js +2 -1
  331. package/dist/targets/native/components/stepper.js +14 -9
  332. package/dist/targets/native/components/switch.js +15 -14
  333. package/dist/targets/native/components/text.js +2 -1
  334. package/dist/targets/native/components/textarea.js +2 -1
  335. package/dist/targets/native/components/theme.js +2 -1
  336. package/dist/targets/native/components/toaster.js +24 -21
  337. package/dist/targets/native/index.d.ts +1 -1
  338. package/dist/targets/native/index.js +1 -3
  339. package/dist/targets/native/preset.cjs +0 -1
  340. package/dist/targets/native/theme.css +58 -60
  341. package/dist/targets/native/theme.d.ts +58 -60
  342. package/dist/targets/native/theme.js +58 -60
  343. package/package.json +35 -16
  344. package/styles/_primitives.generated.css +40 -0
  345. package/styles/base.css +15 -21
  346. package/styles/rds/components-styles.css +11365 -0
  347. package/styles/rds/components.css +993 -0
  348. package/styles/rds/foundation.css +74 -0
  349. package/styles/rds/theme.css +261 -0
  350. package/styles/rds.css +6 -0
  351. package/styles/themes/rojao.css +46 -53
  352. package/brand/rojao-black-on-white.png +0 -0
  353. package/brand/rojao-black.png +0 -0
  354. package/brand/rojao-white-on-black.png +0 -0
  355. package/brand/rojao-white.png +0 -0
  356. package/dist/components/blocker-card.d.ts +0 -42
  357. package/dist/components/blocker-card.js +0 -45
  358. package/dist/components/bottom-sheet.d.ts +0 -31
  359. package/dist/components/bottom-sheet.js +0 -120
  360. package/dist/components/chat-bubble.d.ts +0 -16
  361. package/dist/components/chat-bubble.js +0 -55
  362. package/dist/components/chips.d.ts +0 -22
  363. package/dist/components/chips.js +0 -94
  364. package/dist/components/copilot-hint.d.ts +0 -18
  365. package/dist/components/copilot-hint.js +0 -63
  366. package/dist/components/divider.d.ts +0 -20
  367. package/dist/components/divider.js +0 -47
  368. package/dist/components/empty-state.d.ts +0 -48
  369. package/dist/components/empty-state.js +0 -91
  370. package/dist/components/form-card-header.d.ts +0 -13
  371. package/dist/components/form-card-header.js +0 -8
  372. package/dist/components/label.d.ts +0 -16
  373. package/dist/components/label.js +0 -43
  374. package/dist/components/menu.d.ts +0 -50
  375. package/dist/components/menu.js +0 -80
  376. package/dist/components/modal.d.ts +0 -25
  377. package/dist/components/modal.js +0 -71
  378. package/dist/components/notice.d.ts +0 -50
  379. package/dist/components/notice.js +0 -103
  380. package/dist/components/page-tabs.d.ts +0 -35
  381. package/dist/components/page-tabs.js +0 -55
  382. package/dist/components/paywall-banner.d.ts +0 -37
  383. package/dist/components/paywall-banner.js +0 -42
  384. package/dist/components/paywall.d.ts +0 -44
  385. package/dist/components/paywall.js +0 -55
  386. package/dist/components/phone-frame.d.ts +0 -9
  387. package/dist/components/phone-frame.js +0 -18
  388. package/dist/components/pix-icon.d.ts +0 -8
  389. package/dist/components/pix-icon.js +0 -24
  390. package/dist/components/search.d.ts +0 -30
  391. package/dist/components/search.js +0 -81
  392. package/dist/components/themed.d.ts +0 -36
  393. package/dist/components/themed.js +0 -22
  394. package/dist/components/toaster.d.ts +0 -84
  395. package/dist/components/toaster.js +0 -284
  396. package/dist/components/use-dismiss.d.ts +0 -9
  397. package/dist/components/use-dismiss.js +0 -28
  398. package/dist/components/use-focus-trap.d.ts +0 -5
  399. package/dist/components/use-focus-trap.js +0 -54
  400. package/dist/targets/native/components/paywall-banner.d.ts +0 -11
  401. package/dist/targets/native/components/paywall-banner.js +0 -46
  402. package/dist/targets/native/components/paywall.d.ts +0 -18
  403. package/dist/targets/native/components/paywall.js +0 -61
@@ -0,0 +1,316 @@
1
+ import "../../chunk-ORMEWXMH.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ function CloseIcon() {
4
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M18 6 6 18M6 6l12 12" }) });
5
+ }
6
+ function PlusIcon() {
7
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M12 5v14M5 12h14" }) });
8
+ }
9
+ function AlertIcon() {
10
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
11
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
12
+ /* @__PURE__ */ jsx("path", { d: "M12 8v4M12 16h.01" })
13
+ ] });
14
+ }
15
+ function CheckIcon() {
16
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" }) });
17
+ }
18
+ function MinusIcon() {
19
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) });
20
+ }
21
+ function ChevronDownIcon() {
22
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }) });
23
+ }
24
+ function EyeIcon() {
25
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
26
+ /* @__PURE__ */ jsx("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }),
27
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
28
+ ] });
29
+ }
30
+ function EyeOffIcon() {
31
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
32
+ /* @__PURE__ */ jsx("path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }),
33
+ /* @__PURE__ */ jsx("path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242" }),
34
+ /* @__PURE__ */ jsx("path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }),
35
+ /* @__PURE__ */ jsx("path", { d: "m2 2 20 20" })
36
+ ] });
37
+ }
38
+ function ChevronLeftIcon() {
39
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }) });
40
+ }
41
+ function ChevronRightIcon() {
42
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }) });
43
+ }
44
+ function CalendarIcon() {
45
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
46
+ /* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2" }),
47
+ /* @__PURE__ */ jsx("path", { d: "M16 2v4M8 2v4M3 10h18" })
48
+ ] });
49
+ }
50
+ function PaperclipIcon() {
51
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48" }) });
52
+ }
53
+ function InfoIcon() {
54
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
55
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
56
+ /* @__PURE__ */ jsx("path", { d: "M12 16v-4M12 8h.01" })
57
+ ] });
58
+ }
59
+ function CircleCheckIcon() {
60
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
61
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
62
+ /* @__PURE__ */ jsx("path", { d: "m9 12 2 2 4-4" })
63
+ ] });
64
+ }
65
+ function TriangleAlertIcon() {
66
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
67
+ /* @__PURE__ */ jsx("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }),
68
+ /* @__PURE__ */ jsx("path", { d: "M12 9v4M12 17h.01" })
69
+ ] });
70
+ }
71
+ function MapPinIcon() {
72
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
73
+ /* @__PURE__ */ jsx("path", { d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0" }),
74
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
75
+ ] });
76
+ }
77
+ function ArrowUpIcon() {
78
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12 7-7 7 7M12 19V5" }) });
79
+ }
80
+ function ArrowDownIcon() {
81
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M12 5v14M19 12l-7 7-7-7" }) });
82
+ }
83
+ const STAR = "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z";
84
+ function StarIcon() {
85
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: STAR }) });
86
+ }
87
+ function StarFilledIcon() {
88
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: STAR }) });
89
+ }
90
+ function SearchIcon() {
91
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
92
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
93
+ /* @__PURE__ */ jsx("path", { d: "m21 21-4.3-4.3" })
94
+ ] });
95
+ }
96
+ function MoreVerticalIcon() {
97
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
98
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "5", r: "1" }),
99
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
100
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "19", r: "1" })
101
+ ] });
102
+ }
103
+ function UserIcon() {
104
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
105
+ /* @__PURE__ */ jsx("path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }),
106
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7", r: "4" })
107
+ ] });
108
+ }
109
+ function BuildingIcon() {
110
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
111
+ /* @__PURE__ */ jsx("path", { d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z" }),
112
+ /* @__PURE__ */ jsx("path", { d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2M10 6h4M10 10h4M10 14h4M10 18h4" })
113
+ ] });
114
+ }
115
+ function TableIcon() {
116
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18" }) });
117
+ }
118
+ function SearchXIcon() {
119
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
120
+ /* @__PURE__ */ jsx("path", { d: "m13.5 8.5-5 5M8.5 8.5l5 5" }),
121
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
122
+ /* @__PURE__ */ jsx("path", { d: "m21 21-4.3-4.3" })
123
+ ] });
124
+ }
125
+ function ArrowUpDownIcon() {
126
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m21 16-4 4-4-4M17 20V4M3 8l4-4 4 4M7 4v16" }) });
127
+ }
128
+ function FileTextIcon() {
129
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
130
+ /* @__PURE__ */ jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
131
+ /* @__PURE__ */ jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5M10 9H8M16 13H8M16 17H8" })
132
+ ] });
133
+ }
134
+ function ImageIcon() {
135
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
136
+ /* @__PURE__ */ jsx("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }),
137
+ /* @__PURE__ */ jsx("circle", { cx: "9", cy: "9", r: "2" }),
138
+ /* @__PURE__ */ jsx("path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" })
139
+ ] });
140
+ }
141
+ function ImageOffIcon() {
142
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
143
+ /* @__PURE__ */ jsx("path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83M13.5 13.5 6 21M18 12l3 3M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59M21 15V5a2 2 0 0 0-2-2H9" }),
144
+ /* @__PURE__ */ jsx("path", { d: "m2 2 20 20" })
145
+ ] });
146
+ }
147
+ function RotateCcwIcon() {
148
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
149
+ /* @__PURE__ */ jsx("path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }),
150
+ /* @__PURE__ */ jsx("path", { d: "M3 3v5h5" })
151
+ ] });
152
+ }
153
+ function SparklesIcon() {
154
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
155
+ /* @__PURE__ */ jsx("path", { d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }),
156
+ /* @__PURE__ */ jsx("path", { d: "M20 2v4M22 4h-4" }),
157
+ /* @__PURE__ */ jsx("circle", { cx: "4", cy: "20", r: "2" })
158
+ ] });
159
+ }
160
+ function ThumbsUpIcon() {
161
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
162
+ /* @__PURE__ */ jsx("path", { d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z" }),
163
+ /* @__PURE__ */ jsx("path", { d: "M7 10v12" })
164
+ ] });
165
+ }
166
+ function QuoteIcon() {
167
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
168
+ /* @__PURE__ */ jsx("path", { d: "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" }),
169
+ /* @__PURE__ */ jsx("path", { d: "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" })
170
+ ] });
171
+ }
172
+ function MegaphoneIcon() {
173
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
174
+ /* @__PURE__ */ jsx("path", { d: "M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z" }),
175
+ /* @__PURE__ */ jsx("path", { d: "M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14M8 6v8" })
176
+ ] });
177
+ }
178
+ function MenuIcon() {
179
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M4 5h16M4 12h16M4 19h16" }) });
180
+ }
181
+ function ArrowLeftIcon() {
182
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m12 19-7-7 7-7M19 12H5" }) });
183
+ }
184
+ function PhoneIcon() {
185
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384" }) });
186
+ }
187
+ function ReplyIcon() {
188
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
189
+ /* @__PURE__ */ jsx("path", { d: "M20 18v-2a4 4 0 0 0-4-4H4" }),
190
+ /* @__PURE__ */ jsx("path", { d: "m9 17-5-5 5-5" })
191
+ ] });
192
+ }
193
+ function ExternalLinkIcon() {
194
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
195
+ /* @__PURE__ */ jsx("path", { d: "M15 3h6v6M10 14 21 3" }),
196
+ /* @__PURE__ */ jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })
197
+ ] });
198
+ }
199
+ function SmileIcon() {
200
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
201
+ /* @__PURE__ */ jsx("path", { d: "M15 10V9M16.472 15a6 6 0 0 1-8.943 0M9 10V9" }),
202
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" })
203
+ ] });
204
+ }
205
+ function CameraIcon() {
206
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
207
+ /* @__PURE__ */ jsx("path", { d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z" }),
208
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "3" })
209
+ ] });
210
+ }
211
+ function MicIcon() {
212
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
213
+ /* @__PURE__ */ jsx("path", { d: "M12 19v3M19 10v2a7 7 0 0 1-14 0v-2" }),
214
+ /* @__PURE__ */ jsx("rect", { x: "9", y: "2", width: "6", height: "13", rx: "3" })
215
+ ] });
216
+ }
217
+ function BadgeCheckIcon() {
218
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
219
+ /* @__PURE__ */ jsx("path", { d: "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z" }),
220
+ /* @__PURE__ */ jsx("path", { d: "m16 9-5.5 5.5L8 12" })
221
+ ] });
222
+ }
223
+ function CheckCheckIcon() {
224
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M18 6 7 17l-5-5M22 10l-7.5 7.5L13 16" }) });
225
+ }
226
+ function LockIcon() {
227
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
228
+ /* @__PURE__ */ jsx("rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2" }),
229
+ /* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
230
+ ] });
231
+ }
232
+ function UploadIcon() {
233
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12" }) });
234
+ }
235
+ function ImagePlusIcon() {
236
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
237
+ /* @__PURE__ */ jsx("path", { d: "M16 5h6M19 2v6M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5" }),
238
+ /* @__PURE__ */ jsx("path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }),
239
+ /* @__PURE__ */ jsx("circle", { cx: "9", cy: "9", r: "2" })
240
+ ] });
241
+ }
242
+ function ClockIcon() {
243
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
244
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
245
+ /* @__PURE__ */ jsx("path", { d: "M12 6v6l4 2" })
246
+ ] });
247
+ }
248
+ function CopyIcon() {
249
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
250
+ /* @__PURE__ */ jsx("rect", { x: "8", y: "8", width: "14", height: "14", rx: "2" }),
251
+ /* @__PURE__ */ jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
252
+ ] });
253
+ }
254
+ function PencilIcon() {
255
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
256
+ /* @__PURE__ */ jsx("path", { d: "M21.17 6.81a2.83 2.83 0 0 0-4-4L3.84 16.17a2 2 0 0 0-.5.83l-1.32 4.35a.5.5 0 0 0 .62.62l4.35-1.32a2 2 0 0 0 .83-.5z" }),
257
+ /* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })
258
+ ] });
259
+ }
260
+ function SlidersIcon() {
261
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4" }) });
262
+ }
263
+ export {
264
+ AlertIcon,
265
+ ArrowDownIcon,
266
+ ArrowLeftIcon,
267
+ ArrowUpDownIcon,
268
+ ArrowUpIcon,
269
+ BadgeCheckIcon,
270
+ BuildingIcon,
271
+ CalendarIcon,
272
+ CameraIcon,
273
+ CheckCheckIcon,
274
+ CheckIcon,
275
+ ChevronDownIcon,
276
+ ChevronLeftIcon,
277
+ ChevronRightIcon,
278
+ CircleCheckIcon,
279
+ ClockIcon,
280
+ CloseIcon,
281
+ CopyIcon,
282
+ ExternalLinkIcon,
283
+ EyeIcon,
284
+ EyeOffIcon,
285
+ FileTextIcon,
286
+ ImageIcon,
287
+ ImageOffIcon,
288
+ ImagePlusIcon,
289
+ InfoIcon,
290
+ LockIcon,
291
+ MapPinIcon,
292
+ MegaphoneIcon,
293
+ MenuIcon,
294
+ MicIcon,
295
+ MinusIcon,
296
+ MoreVerticalIcon,
297
+ PaperclipIcon,
298
+ PencilIcon,
299
+ PhoneIcon,
300
+ PlusIcon,
301
+ QuoteIcon,
302
+ ReplyIcon,
303
+ RotateCcwIcon,
304
+ SearchIcon,
305
+ SearchXIcon,
306
+ SlidersIcon,
307
+ SmileIcon,
308
+ SparklesIcon,
309
+ StarFilledIcon,
310
+ StarIcon,
311
+ TableIcon,
312
+ ThumbsUpIcon,
313
+ TriangleAlertIcon,
314
+ UploadIcon,
315
+ UserIcon
316
+ };
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ type MenuItemTone = 'default' | 'danger';
5
+ interface MenuItemContentProps {
6
+ /** The action, a verb ("Duplicar") (Figma: `label`). */
7
+ children: ReactNode;
8
+ /** An icon before the label (Figma: `showIcon` + `icon`). Decorative. */
9
+ icon?: ReactNode;
10
+ /** A keyboard shortcut shown on the right (Figma: `showShortcut`), such as "Ctrl D". Not announced. */
11
+ shortcut?: ReactNode;
12
+ }
13
+ declare const menuItemClassName: (tone?: MenuItemTone, extra?: string) => string;
14
+ declare function MenuItemContent({ children, icon, shortcut }: MenuItemContentProps): react.JSX.Element;
15
+
16
+ export { MenuItemContent, type MenuItemContentProps, type MenuItemTone, menuItemClassName };
@@ -0,0 +1,14 @@
1
+ import "../../chunk-ORMEWXMH.js";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ const menuItemClassName = (tone = "default", extra) => ["rds-menu__item", tone === "danger" && "rds-menu__item--danger", extra].filter(Boolean).join(" ");
4
+ function MenuItemContent({ children, icon, shortcut }) {
5
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
6
+ icon && /* @__PURE__ */ jsx("span", { className: "rds-menu__icon", "aria-hidden": "true", children: icon }),
7
+ /* @__PURE__ */ jsx("span", { className: "rds-menu__label", children }),
8
+ shortcut && /* @__PURE__ */ jsx("kbd", { className: "rds-menu__shortcut", "aria-hidden": "true", children: shortcut })
9
+ ] });
10
+ }
11
+ export {
12
+ MenuItemContent,
13
+ menuItemClassName
14
+ };
@@ -0,0 +1,50 @@
1
+ import * as react from 'react';
2
+ import { ReactElement, ReactNode, CSSProperties } from 'react';
3
+ import * as _radix_ui_react_dialog from '@radix-ui/react-dialog';
4
+
5
+ interface ModalProps {
6
+ /** The element that opens it (a Button). Leave it out to control it with `open`. */
7
+ trigger?: ReactElement;
8
+ open?: boolean;
9
+ defaultOpen?: boolean;
10
+ onOpenChange?: (open: boolean) => void;
11
+ /** The task or the subject (Figma: `title`). It names the window for screen readers. */
12
+ title: ReactNode;
13
+ /** The context under the title (Figma: `showDescription` + `description`). */
14
+ description?: ReactNode;
15
+ /** The content (Figma: the `content` slot). */
16
+ children?: ReactNode;
17
+ /**
18
+ * The footer (Figma: `showFooter` + the footer). Leave it out and give `confirmLabel` for the default
19
+ * Cancel + confirm pair; leave both out for no footer.
20
+ */
21
+ footer?: ReactNode;
22
+ /** The main action's verb ("Criar público"). With it, the default footer shows. */
23
+ confirmLabel?: string;
24
+ /** Runs on the confirm button. It does not close: close it with `open`, or put a `*Close` in `footer`. */
25
+ onConfirm?: () => void;
26
+ cancelLabel?: string;
27
+ /** The veil over the page (Figma: `showScrim`). Without it the page still can't be clicked. */
28
+ showScrim?: boolean;
29
+ /** The close button's name for screen readers. */
30
+ closeLabel?: string;
31
+ /** Where the layer is portaled (default document.body): a themed subtree keeps its theme. */
32
+ container?: HTMLElement | null;
33
+ className?: string;
34
+ }
35
+ interface ModalShellProps extends ModalProps {
36
+ /** The component's class (rds-dialog, rds-sheet, rds-drawer), also the prefix of its parts. */
37
+ prefix: string;
38
+ modifiers?: string[];
39
+ closeButton?: boolean;
40
+ /** Something above the header (the Drawer's handle). */
41
+ handle?: ReactNode;
42
+ /** The default footer stacked, the confirm first and full width (the Drawer). */
43
+ stackedFooter?: boolean;
44
+ boxStyle?: CSSProperties;
45
+ }
46
+ declare function ModalShell({ prefix, modifiers, closeButton, handle, stackedFooter, boxStyle, trigger, open, defaultOpen, onOpenChange, title, description, children, footer, confirmLabel, onConfirm, cancelLabel, showScrim, closeLabel, container, className, }: ModalShellProps): react.JSX.Element;
47
+ /** Wraps an element that closes the layer when pressed (a "Pronto" Button), with asChild. */
48
+ declare const ModalClose: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
49
+
50
+ export { ModalClose, type ModalProps, ModalShell };
@@ -0,0 +1,85 @@
1
+ "use client";
2
+ import {
3
+ __spreadProps,
4
+ __spreadValues
5
+ } from "../../chunk-ORMEWXMH.js";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
8
+ import { Button } from "../button.js";
9
+ import { IconButton } from "../icon-button.js";
10
+ import { Tooltip } from "../tooltip.js";
11
+ import { CloseIcon } from "./icons.js";
12
+ function ModalShell({
13
+ prefix,
14
+ modifiers = [],
15
+ closeButton = true,
16
+ handle,
17
+ stackedFooter,
18
+ boxStyle,
19
+ trigger,
20
+ open,
21
+ defaultOpen,
22
+ onOpenChange,
23
+ title,
24
+ description,
25
+ children,
26
+ footer,
27
+ confirmLabel,
28
+ onConfirm,
29
+ cancelLabel = "Cancelar",
30
+ showScrim = true,
31
+ closeLabel = "Fechar",
32
+ container,
33
+ className
34
+ }) {
35
+ const cancel = /* @__PURE__ */ jsx(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { tone: "neutral", variant: "outline", children: cancelLabel }) }, "cancel");
36
+ const confirm = /* @__PURE__ */ jsx(Button, { onClick: onConfirm, children: confirmLabel }, "confirm");
37
+ const actions = footer != null ? footer : confirmLabel ? stackedFooter ? [confirm, cancel] : [cancel, confirm] : null;
38
+ return /* @__PURE__ */ jsxs(DialogPrimitive.Root, { open, defaultOpen, onOpenChange, children: [
39
+ trigger && /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { asChild: true, children: trigger }),
40
+ /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { container, children: [
41
+ /* @__PURE__ */ jsx(
42
+ DialogPrimitive.Overlay,
43
+ {
44
+ className: ["rds-modal__scrim", `${prefix}__scrim`, !showScrim && "rds-modal__scrim--clear"].filter(Boolean).join(" ")
45
+ }
46
+ ),
47
+ /* @__PURE__ */ jsxs(
48
+ DialogPrimitive.Content,
49
+ __spreadProps(__spreadValues({
50
+ "aria-modal": "true",
51
+ className: ["rds-modal", prefix, ...modifiers, className].filter(Boolean).join(" "),
52
+ style: boxStyle,
53
+ onOpenAutoFocus: (event) => {
54
+ const box = event.currentTarget;
55
+ const first = box.querySelector(
56
+ '.rds-modal__body :is(input, textarea, select, button, a[href], [tabindex]:not([tabindex="-1"])):not(:disabled)'
57
+ );
58
+ if (first) {
59
+ event.preventDefault();
60
+ first.focus();
61
+ }
62
+ }
63
+ }, description ? {} : { "aria-describedby": void 0 }), {
64
+ children: [
65
+ handle,
66
+ /* @__PURE__ */ jsxs("div", { className: "rds-modal__header", children: [
67
+ /* @__PURE__ */ jsxs("div", { className: "rds-modal__heading", children: [
68
+ /* @__PURE__ */ jsx(DialogPrimitive.Title, { className: `rds-modal__title ${prefix}__title`, children: title }),
69
+ description && /* @__PURE__ */ jsx(DialogPrimitive.Description, { className: `rds-modal__description ${prefix}__text`, children: description })
70
+ ] }),
71
+ closeButton && /* @__PURE__ */ jsx(Tooltip, { text: closeLabel, children: /* @__PURE__ */ jsx(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { icon: /* @__PURE__ */ jsx(CloseIcon, {}), label: closeLabel, tone: "neutral", variant: "ghost", className: "rds-modal__close" }) }) })
72
+ ] }),
73
+ children != null && /* @__PURE__ */ jsx("div", { className: `rds-modal__body ${prefix}__text`, children }),
74
+ actions && /* @__PURE__ */ jsx("div", { className: ["rds-modal__footer", `${prefix}__footer`, stackedFooter && "rds-modal__footer--stacked"].filter(Boolean).join(" "), children: actions })
75
+ ]
76
+ })
77
+ )
78
+ ] })
79
+ ] });
80
+ }
81
+ const ModalClose = DialogPrimitive.Close;
82
+ export {
83
+ ModalClose,
84
+ ModalShell
85
+ };
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ declare function OptionContent({ icon, selected, children }: {
5
+ icon?: ReactNode;
6
+ selected: boolean;
7
+ children: ReactNode;
8
+ }): react.JSX.Element;
9
+
10
+ export { OptionContent };
@@ -0,0 +1,13 @@
1
+ import "../../chunk-ORMEWXMH.js";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { CheckIcon } from "./icons.js";
4
+ function OptionContent({ icon, selected, children }) {
5
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
6
+ icon && /* @__PURE__ */ jsx("span", { className: "rds-listbox__icon", "aria-hidden": "true", children: icon }),
7
+ /* @__PURE__ */ jsx("span", { className: "rds-listbox__text", children }),
8
+ selected && /* @__PURE__ */ jsx("span", { className: "rds-listbox__check", "aria-hidden": "true", children: /* @__PURE__ */ jsx(CheckIcon, {}) })
9
+ ] });
10
+ }
11
+ export {
12
+ OptionContent
13
+ };
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+
3
+ interface RadioGroupContextValue {
4
+ name: string;
5
+ value?: string;
6
+ defaultValue?: string;
7
+ onValueChange?: (value: string) => void;
8
+ required?: boolean;
9
+ /** The first option's value: the only radio that carries the native required (one per group is enough). */
10
+ firstValue?: string;
11
+ disabled?: boolean;
12
+ error?: boolean;
13
+ }
14
+ declare const RadioGroupContext: react.Context<RadioGroupContextValue | null>;
15
+
16
+ export { RadioGroupContext, type RadioGroupContextValue };
@@ -0,0 +1,6 @@
1
+ import "../../chunk-ORMEWXMH.js";
2
+ import { createContext } from "react";
3
+ const RadioGroupContext = createContext(null);
4
+ export {
5
+ RadioGroupContext
6
+ };
@@ -0,0 +1,7 @@
1
+ /** Figma calls this property `style`: ghost in a toolbar, outline when it stands alone. */
2
+ type ToggleVariant = 'ghost' | 'outline';
3
+ declare function toggleClassName(variant: ToggleVariant, extra?: string): string;
4
+ /** A toggle without visible text needs a name, or a screen reader only says "toggle button". */
5
+ declare function warnIfUnnamed(component: string, hasText: boolean, ariaLabel: unknown, ariaLabelledBy: unknown): void;
6
+
7
+ export { type ToggleVariant, toggleClassName, warnIfUnnamed };
@@ -0,0 +1,13 @@
1
+ import "../../chunk-ORMEWXMH.js";
2
+ function toggleClassName(variant, extra) {
3
+ return ["rds-toggle", `rds-toggle--${variant}`, extra].filter(Boolean).join(" ");
4
+ }
5
+ function warnIfUnnamed(component, hasText, ariaLabel, ariaLabelledBy) {
6
+ if (!hasText && !ariaLabel && !ariaLabelledBy) {
7
+ console.warn(`[@rojaostudio/ds] ${component} without text needs aria-label.`);
8
+ }
9
+ }
10
+ export {
11
+ toggleClassName,
12
+ warnIfUnnamed
13
+ };
@@ -0,0 +1,56 @@
1
+ import * as react from 'react';
2
+ import { KeyboardEvent } from 'react';
3
+
4
+ interface ListboxItem {
5
+ value: string;
6
+ disabled?: boolean;
7
+ }
8
+ interface UseListboxOptions<T extends ListboxItem> {
9
+ /** The options on screen, in order (already filtered). */
10
+ items: T[];
11
+ /** Whether the list is showing: Enter chooses only then. */
12
+ showing: boolean;
13
+ /** The chosen values. One choice is a list of one. */
14
+ selected: string[];
15
+ /** Many choices at once: the list gets aria-multiselectable. */
16
+ multiple?: boolean;
17
+ /** The arrows open the list. */
18
+ onOpen: () => void;
19
+ /** Enter or a click on an enabled option. */
20
+ onChoose: (item: T) => void;
21
+ }
22
+ /** Adds the value when absent, removes it when present: the toggle of a multiple listbox. */
23
+ declare function toggleValue(selected: string[], value: string): string[];
24
+ declare function useListbox<T extends ListboxItem>({ items, showing, selected, multiple, onOpen, onChoose }: UseListboxOptions<T>): {
25
+ listId: string;
26
+ active: number;
27
+ setActive: react.Dispatch<react.SetStateAction<number>>;
28
+ move: (step: 1 | -1) => void;
29
+ choose: (item: T) => void;
30
+ isSelected: (value: string) => boolean;
31
+ onKeyDown: (event: KeyboardEvent<HTMLElement>) => boolean;
32
+ controlProps: {
33
+ 'aria-expanded': boolean;
34
+ 'aria-controls': string | undefined;
35
+ 'aria-activedescendant': string | undefined;
36
+ };
37
+ listProps: {
38
+ id: string;
39
+ role: "listbox";
40
+ 'aria-multiselectable': true | undefined;
41
+ };
42
+ optionProps: (item: T, index: number) => {
43
+ id: string;
44
+ role: "option";
45
+ 'aria-selected': boolean;
46
+ 'aria-disabled': true | undefined;
47
+ 'data-active': string | undefined;
48
+ onMouseDown: (event: {
49
+ preventDefault: () => void;
50
+ }) => void;
51
+ onMouseMove: () => false | void;
52
+ onClick: () => void;
53
+ };
54
+ };
55
+
56
+ export { type ListboxItem, type UseListboxOptions, toggleValue, useListbox };