@raystack/apsara 0.31.1 → 0.33.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 (437) hide show
  1. package/dist/command/command.cjs +3 -0
  2. package/dist/command/command.cjs.map +1 -1
  3. package/dist/command/command.d.ts.map +1 -1
  4. package/dist/command/command.js +3 -0
  5. package/dist/command/command.js.map +1 -1
  6. package/dist/dialog/dialog.cjs +12 -0
  7. package/dist/dialog/dialog.cjs.map +1 -1
  8. package/dist/dialog/dialog.d.ts.map +1 -1
  9. package/dist/dialog/dialog.js +12 -0
  10. package/dist/dialog/dialog.js.map +1 -1
  11. package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +92 -0
  12. package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
  13. package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +89 -1
  14. package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  15. package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs +1 -0
  16. package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs.map +1 -1
  17. package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js +1 -1
  18. package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs +20 -0
  19. package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs.map +1 -1
  20. package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js +20 -1
  21. package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -1
  22. package/dist/select/select.cjs +3 -0
  23. package/dist/select/select.cjs.map +1 -1
  24. package/dist/select/select.d.ts.map +1 -1
  25. package/dist/select/select.js +3 -0
  26. package/dist/select/select.js.map +1 -1
  27. package/dist/sheet/sheet.cjs +9 -0
  28. package/dist/sheet/sheet.cjs.map +1 -1
  29. package/dist/sheet/sheet.d.ts +12 -0
  30. package/dist/sheet/sheet.d.ts.map +1 -1
  31. package/dist/sheet/sheet.js +9 -0
  32. package/dist/sheet/sheet.js.map +1 -1
  33. package/dist/sidebar/sidebar.cjs +6 -6
  34. package/dist/sidebar/sidebar.cjs.map +1 -1
  35. package/dist/sidebar/sidebar.d.ts +4 -4
  36. package/dist/sidebar/sidebar.js +6 -6
  37. package/dist/sidebar/sidebar.js.map +1 -1
  38. package/dist/style.css +1 -1
  39. package/dist/table/table.cjs +24 -0
  40. package/dist/table/table.cjs.map +1 -1
  41. package/dist/table/table.d.ts.map +1 -1
  42. package/dist/table/table.js +24 -0
  43. package/dist/table/table.js.map +1 -1
  44. package/dist/toggle-group/togglegroup.cjs +9 -0
  45. package/dist/toggle-group/togglegroup.cjs.map +1 -1
  46. package/dist/toggle-group/togglegroup.d.ts.map +1 -1
  47. package/dist/toggle-group/togglegroup.js +9 -0
  48. package/dist/toggle-group/togglegroup.js.map +1 -1
  49. package/dist/v1/_virtual/isSameOrAfter.cjs +6 -0
  50. package/dist/v1/_virtual/isSameOrAfter.cjs.map +1 -0
  51. package/dist/v1/_virtual/isSameOrAfter.js +4 -0
  52. package/dist/v1/_virtual/isSameOrAfter.js.map +1 -0
  53. package/dist/v1/_virtual/isSameOrBefore.cjs +6 -0
  54. package/dist/v1/_virtual/isSameOrBefore.cjs.map +1 -0
  55. package/dist/v1/_virtual/isSameOrBefore.js +4 -0
  56. package/dist/v1/_virtual/isSameOrBefore.js.map +1 -0
  57. package/dist/v1/components/calendar/calendar.cjs +1 -1
  58. package/dist/v1/components/calendar/calendar.cjs.map +1 -1
  59. package/dist/v1/components/calendar/calendar.js +1 -1
  60. package/dist/v1/components/calendar/calendar.js.map +1 -1
  61. package/dist/v1/components/calendar/date-picker.cjs +26 -17
  62. package/dist/v1/components/calendar/date-picker.cjs.map +1 -1
  63. package/dist/v1/components/calendar/date-picker.d.ts.map +1 -1
  64. package/dist/v1/components/calendar/date-picker.js +26 -17
  65. package/dist/v1/components/calendar/date-picker.js.map +1 -1
  66. package/dist/v1/components/calendar/range-picker.cjs +2 -2
  67. package/dist/v1/components/calendar/range-picker.cjs.map +1 -1
  68. package/dist/v1/components/calendar/range-picker.d.ts +5 -1
  69. package/dist/v1/components/calendar/range-picker.d.ts.map +1 -1
  70. package/dist/v1/components/calendar/range-picker.js +2 -2
  71. package/dist/v1/components/calendar/range-picker.js.map +1 -1
  72. package/dist/v1/components/chip/chip.cjs +6 -6
  73. package/dist/v1/components/chip/chip.cjs.map +1 -1
  74. package/dist/v1/components/chip/chip.d.ts +4 -3
  75. package/dist/v1/components/chip/chip.d.ts.map +1 -1
  76. package/dist/v1/components/chip/chip.js +6 -6
  77. package/dist/v1/components/chip/chip.js.map +1 -1
  78. package/dist/v1/components/chip/chip.module.css.cjs +1 -1
  79. package/dist/v1/components/chip/chip.module.css.js +1 -1
  80. package/dist/v1/components/command/command.cjs +52 -0
  81. package/dist/v1/components/command/command.cjs.map +1 -0
  82. package/dist/v1/components/command/command.d.ts +2 -0
  83. package/dist/v1/components/command/command.d.ts.map +1 -0
  84. package/dist/v1/components/command/command.js +50 -0
  85. package/dist/v1/components/command/command.js.map +1 -0
  86. package/dist/v1/components/command/command.module.css.cjs +8 -0
  87. package/dist/v1/components/command/command.module.css.cjs.map +1 -0
  88. package/dist/v1/components/command/command.module.css.js +4 -0
  89. package/dist/v1/components/command/command.module.css.js.map +1 -0
  90. package/dist/v1/components/command/index.d.ts +2 -0
  91. package/dist/v1/components/command/index.d.ts.map +1 -0
  92. package/dist/v1/components/data-table/components/content.cjs +81 -0
  93. package/dist/v1/components/data-table/components/content.cjs.map +1 -0
  94. package/dist/v1/components/data-table/components/content.d.ts +3 -0
  95. package/dist/v1/components/data-table/components/content.d.ts.map +1 -0
  96. package/dist/v1/components/data-table/components/content.js +79 -0
  97. package/dist/v1/components/data-table/components/content.js.map +1 -0
  98. package/dist/v1/components/data-table/components/display-properties.cjs +14 -0
  99. package/dist/v1/components/data-table/components/display-properties.cjs.map +1 -0
  100. package/dist/v1/components/data-table/components/display-properties.d.ts +5 -0
  101. package/dist/v1/components/data-table/components/display-properties.d.ts.map +1 -0
  102. package/dist/v1/components/data-table/components/display-properties.js +12 -0
  103. package/dist/v1/components/data-table/components/display-properties.js.map +1 -0
  104. package/dist/v1/components/data-table/components/display-settings.cjs +51 -0
  105. package/dist/v1/components/data-table/components/display-settings.cjs.map +1 -0
  106. package/dist/v1/components/data-table/components/display-settings.d.ts +2 -0
  107. package/dist/v1/components/data-table/components/display-settings.d.ts.map +1 -0
  108. package/dist/v1/components/data-table/components/display-settings.js +49 -0
  109. package/dist/v1/components/data-table/components/display-settings.js.map +1 -0
  110. package/dist/v1/components/data-table/components/filters.cjs +44 -0
  111. package/dist/v1/components/data-table/components/filters.cjs.map +1 -0
  112. package/dist/v1/components/data-table/components/filters.d.ts +2 -0
  113. package/dist/v1/components/data-table/components/filters.d.ts.map +1 -0
  114. package/dist/v1/components/data-table/components/filters.js +42 -0
  115. package/dist/v1/components/data-table/components/filters.js.map +1 -0
  116. package/dist/v1/components/data-table/components/grouping.cjs +31 -0
  117. package/dist/v1/components/data-table/components/grouping.cjs.map +1 -0
  118. package/dist/v1/components/data-table/components/grouping.d.ts +9 -0
  119. package/dist/v1/components/data-table/components/grouping.d.ts.map +1 -0
  120. package/dist/v1/components/data-table/components/grouping.js +29 -0
  121. package/dist/v1/components/data-table/components/grouping.js.map +1 -0
  122. package/dist/v1/components/data-table/components/ordering.cjs +24 -0
  123. package/dist/v1/components/data-table/components/ordering.cjs.map +1 -0
  124. package/dist/v1/components/data-table/components/ordering.d.ts +8 -0
  125. package/dist/v1/components/data-table/components/ordering.d.ts.map +1 -0
  126. package/dist/v1/components/data-table/components/ordering.js +22 -0
  127. package/dist/v1/components/data-table/components/ordering.js.map +1 -0
  128. package/dist/v1/components/data-table/components/search.cjs +22 -0
  129. package/dist/v1/components/data-table/components/search.cjs.map +1 -0
  130. package/dist/v1/components/data-table/components/search.d.ts +3 -0
  131. package/dist/v1/components/data-table/components/search.d.ts.map +1 -0
  132. package/dist/v1/components/data-table/components/search.js +20 -0
  133. package/dist/v1/components/data-table/components/search.js.map +1 -0
  134. package/dist/v1/components/data-table/components/toolbar.cjs +15 -0
  135. package/dist/v1/components/data-table/components/toolbar.cjs.map +1 -0
  136. package/dist/v1/components/data-table/components/toolbar.d.ts +4 -0
  137. package/dist/v1/components/data-table/components/toolbar.d.ts.map +1 -0
  138. package/dist/v1/components/data-table/components/toolbar.js +13 -0
  139. package/dist/v1/components/data-table/components/toolbar.js.map +1 -0
  140. package/dist/v1/components/data-table/context.cjs +8 -0
  141. package/dist/v1/components/data-table/context.cjs.map +1 -0
  142. package/dist/v1/components/data-table/context.d.ts +3 -0
  143. package/dist/v1/components/data-table/context.d.ts.map +1 -0
  144. package/dist/v1/components/data-table/context.js +6 -0
  145. package/dist/v1/components/data-table/context.js.map +1 -0
  146. package/dist/v1/components/data-table/data-table.cjs +87 -0
  147. package/dist/v1/components/data-table/data-table.cjs.map +1 -0
  148. package/dist/v1/components/data-table/data-table.d.ts +12 -0
  149. package/dist/v1/components/data-table/data-table.d.ts.map +1 -0
  150. package/dist/v1/components/data-table/data-table.js +85 -0
  151. package/dist/v1/components/data-table/data-table.js.map +1 -0
  152. package/dist/v1/components/data-table/data-table.module.css.cjs +8 -0
  153. package/dist/v1/components/data-table/data-table.module.css.cjs.map +1 -0
  154. package/dist/v1/components/data-table/data-table.module.css.js +4 -0
  155. package/dist/v1/components/data-table/data-table.module.css.js.map +1 -0
  156. package/dist/v1/components/data-table/data-table.types.cjs +9 -0
  157. package/dist/v1/components/data-table/data-table.types.cjs.map +1 -0
  158. package/dist/v1/components/data-table/data-table.types.d.ts +102 -0
  159. package/dist/v1/components/data-table/data-table.types.d.ts.map +1 -0
  160. package/dist/v1/components/data-table/data-table.types.js +7 -0
  161. package/dist/v1/components/data-table/data-table.types.js.map +1 -0
  162. package/dist/v1/components/data-table/hooks/useDataTable.cjs +15 -0
  163. package/dist/v1/components/data-table/hooks/useDataTable.cjs.map +1 -0
  164. package/dist/v1/components/data-table/hooks/useDataTable.d.ts +2 -0
  165. package/dist/v1/components/data-table/hooks/useDataTable.d.ts.map +1 -0
  166. package/dist/v1/components/data-table/hooks/useDataTable.js +13 -0
  167. package/dist/v1/components/data-table/hooks/useDataTable.js.map +1 -0
  168. package/dist/v1/components/data-table/hooks/useFilters.cjs +78 -0
  169. package/dist/v1/components/data-table/hooks/useFilters.cjs.map +1 -0
  170. package/dist/v1/components/data-table/hooks/useFilters.d.ts +9 -0
  171. package/dist/v1/components/data-table/hooks/useFilters.d.ts.map +1 -0
  172. package/dist/v1/components/data-table/hooks/useFilters.js +76 -0
  173. package/dist/v1/components/data-table/hooks/useFilters.js.map +1 -0
  174. package/dist/v1/components/data-table/index.d.ts +4 -0
  175. package/dist/v1/components/data-table/index.d.ts.map +1 -0
  176. package/dist/v1/components/data-table/utils/filter-operations.cjs +83 -0
  177. package/dist/v1/components/data-table/utils/filter-operations.cjs.map +1 -0
  178. package/dist/v1/components/data-table/utils/filter-operations.d.ts +11 -0
  179. package/dist/v1/components/data-table/utils/filter-operations.d.ts.map +1 -0
  180. package/dist/v1/components/data-table/utils/filter-operations.js +80 -0
  181. package/dist/v1/components/data-table/utils/filter-operations.js.map +1 -0
  182. package/dist/v1/components/data-table/utils/index.cjs +156 -0
  183. package/dist/v1/components/data-table/utils/index.cjs.map +1 -0
  184. package/dist/v1/components/data-table/utils/index.d.ts +14 -0
  185. package/dist/v1/components/data-table/utils/index.d.ts.map +1 -0
  186. package/dist/v1/components/data-table/utils/index.js +147 -0
  187. package/dist/v1/components/data-table/utils/index.js.map +1 -0
  188. package/dist/v1/components/dialog/dialog.cjs +33 -0
  189. package/dist/v1/components/dialog/dialog.cjs.map +1 -0
  190. package/dist/v1/components/dialog/dialog.d.ts +33 -0
  191. package/dist/v1/components/dialog/dialog.d.ts.map +1 -0
  192. package/dist/v1/components/dialog/dialog.js +30 -0
  193. package/dist/v1/components/dialog/dialog.js.map +1 -0
  194. package/dist/v1/components/dialog/dialog.module.css.cjs +8 -0
  195. package/dist/v1/components/dialog/dialog.module.css.cjs.map +1 -0
  196. package/dist/v1/components/dialog/dialog.module.css.js +4 -0
  197. package/dist/v1/components/dialog/dialog.module.css.js.map +1 -0
  198. package/dist/v1/components/dialog/index.d.ts +2 -0
  199. package/dist/v1/components/dialog/index.d.ts.map +1 -0
  200. package/dist/v1/components/filter-chip/filter-chip.cjs +28 -19
  201. package/dist/v1/components/filter-chip/filter-chip.cjs.map +1 -1
  202. package/dist/v1/components/filter-chip/filter-chip.d.ts +3 -7
  203. package/dist/v1/components/filter-chip/filter-chip.d.ts.map +1 -1
  204. package/dist/v1/components/filter-chip/filter-chip.js +28 -19
  205. package/dist/v1/components/filter-chip/filter-chip.js.map +1 -1
  206. package/dist/v1/components/flex/flex.cjs +9 -0
  207. package/dist/v1/components/flex/flex.cjs.map +1 -1
  208. package/dist/v1/components/flex/flex.d.ts +1 -1
  209. package/dist/v1/components/flex/flex.d.ts.map +1 -1
  210. package/dist/v1/components/flex/flex.js +9 -0
  211. package/dist/v1/components/flex/flex.js.map +1 -1
  212. package/dist/v1/components/flex/flex.module.css.cjs +1 -1
  213. package/dist/v1/components/flex/flex.module.css.js +1 -1
  214. package/dist/v1/components/icon-button/icon-button.cjs +1 -1
  215. package/dist/v1/components/icon-button/icon-button.cjs.map +1 -1
  216. package/dist/v1/components/icon-button/icon-button.d.ts +1 -2
  217. package/dist/v1/components/icon-button/icon-button.d.ts.map +1 -1
  218. package/dist/v1/components/icon-button/icon-button.js +1 -1
  219. package/dist/v1/components/icon-button/icon-button.js.map +1 -1
  220. package/dist/v1/components/icons/assets/filter.svg.cjs +41 -0
  221. package/dist/v1/components/icons/assets/filter.svg.cjs.map +1 -0
  222. package/dist/v1/components/icons/assets/filter.svg.js +20 -0
  223. package/dist/v1/components/icons/assets/filter.svg.js.map +1 -0
  224. package/dist/v1/components/icons/icons.d.ts +3 -0
  225. package/dist/v1/components/icons/icons.d.ts.map +1 -0
  226. package/dist/v1/components/icons/index.d.ts +2 -0
  227. package/dist/v1/components/icons/index.d.ts.map +1 -0
  228. package/dist/v1/components/input-field/input-field.cjs +1 -1
  229. package/dist/v1/components/input-field/input-field.cjs.map +1 -1
  230. package/dist/v1/components/input-field/input-field.js +1 -1
  231. package/dist/v1/components/input-field/input-field.js.map +1 -1
  232. package/dist/v1/components/input-field/input-field.module.css.cjs +1 -1
  233. package/dist/v1/components/input-field/input-field.module.css.js +1 -1
  234. package/dist/v1/components/select/select.cjs +5 -5
  235. package/dist/v1/components/select/select.cjs.map +1 -1
  236. package/dist/v1/components/select/select.d.ts +12 -1
  237. package/dist/v1/components/select/select.d.ts.map +1 -1
  238. package/dist/v1/components/select/select.js +5 -5
  239. package/dist/v1/components/select/select.js.map +1 -1
  240. package/dist/v1/components/select/select.module.css.cjs +1 -1
  241. package/dist/v1/components/select/select.module.css.js +1 -1
  242. package/dist/v1/components/sheet/index.d.ts +2 -0
  243. package/dist/v1/components/sheet/index.d.ts.map +1 -0
  244. package/dist/v1/components/sheet/sheet.cjs +48 -0
  245. package/dist/v1/components/sheet/sheet.cjs.map +1 -0
  246. package/dist/v1/components/sheet/sheet.d.ts +35 -0
  247. package/dist/v1/components/sheet/sheet.d.ts.map +1 -0
  248. package/dist/v1/components/sheet/sheet.js +43 -0
  249. package/dist/v1/components/sheet/sheet.js.map +1 -0
  250. package/dist/v1/components/sheet/sheet.module.css.cjs +8 -0
  251. package/dist/v1/components/sheet/sheet.module.css.cjs.map +1 -0
  252. package/dist/v1/components/sheet/sheet.module.css.js +4 -0
  253. package/dist/v1/components/sheet/sheet.module.css.js.map +1 -0
  254. package/dist/v1/components/sidebar/index.d.ts +2 -0
  255. package/dist/v1/components/sidebar/index.d.ts.map +1 -0
  256. package/dist/v1/components/sidebar/sidebar.cjs +47 -0
  257. package/dist/v1/components/sidebar/sidebar.cjs.map +1 -0
  258. package/dist/v1/components/{sidepanel/sidepanel.d.ts → sidebar/sidebar.d.ts} +22 -11
  259. package/dist/v1/components/sidebar/sidebar.d.ts.map +1 -0
  260. package/dist/v1/components/sidebar/sidebar.js +45 -0
  261. package/dist/v1/components/sidebar/sidebar.js.map +1 -0
  262. package/dist/v1/components/sidebar/sidebar.module.css.cjs +8 -0
  263. package/dist/v1/components/sidebar/sidebar.module.css.cjs.map +1 -0
  264. package/dist/v1/components/sidebar/sidebar.module.css.js +4 -0
  265. package/dist/v1/components/sidebar/sidebar.module.css.js.map +1 -0
  266. package/dist/v1/components/table/index.d.ts +2 -0
  267. package/dist/v1/components/table/index.d.ts.map +1 -0
  268. package/dist/v1/components/table/table.cjs +44 -0
  269. package/dist/v1/components/table/table.cjs.map +1 -0
  270. package/dist/v1/components/table/table.d.ts +30 -0
  271. package/dist/v1/components/table/table.d.ts.map +1 -0
  272. package/dist/v1/components/table/table.js +42 -0
  273. package/dist/v1/components/table/table.js.map +1 -0
  274. package/dist/v1/components/table/table.module.css.cjs +8 -0
  275. package/dist/v1/components/table/table.module.css.cjs.map +1 -0
  276. package/dist/v1/components/table/table.module.css.js +4 -0
  277. package/dist/v1/components/table/table.module.css.js.map +1 -0
  278. package/dist/v1/components/tooltip/tooltip.cjs +3 -2
  279. package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
  280. package/dist/v1/components/tooltip/tooltip.d.ts +8 -2
  281. package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
  282. package/dist/v1/components/tooltip/tooltip.js +3 -2
  283. package/dist/v1/components/tooltip/tooltip.js.map +1 -1
  284. package/dist/v1/index.cjs +16 -2
  285. package/dist/v1/index.cjs.map +1 -1
  286. package/dist/v1/index.d.ts +7 -1
  287. package/dist/v1/index.d.ts.map +1 -1
  288. package/dist/v1/index.js +9 -1
  289. package/dist/v1/index.js.map +1 -1
  290. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs +11 -0
  291. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs.map +1 -0
  292. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js +9 -0
  293. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js.map +1 -0
  294. package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.cjs +30 -0
  295. package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.cjs.map +1 -0
  296. package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.js +27 -0
  297. package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +1 -0
  298. package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.cjs +103 -0
  299. package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.cjs.map +1 -0
  300. package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.js +101 -0
  301. package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.js.map +1 -0
  302. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.module.cjs +224 -0
  303. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.module.cjs.map +1 -0
  304. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.module.js +214 -0
  305. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.module.js.map +1 -0
  306. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.cjs +298 -0
  307. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -0
  308. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.js +280 -0
  309. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  310. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.cjs +235 -0
  311. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.cjs.map +1 -0
  312. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js +233 -0
  313. package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +1 -0
  314. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.cjs +32 -0
  315. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.cjs.map +1 -0
  316. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.js +30 -0
  317. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +1 -0
  318. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.cjs +254 -0
  319. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.cjs.map +1 -0
  320. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.js +252 -0
  321. package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.js.map +1 -0
  322. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +92 -0
  323. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
  324. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +89 -1
  325. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  326. package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.cjs +40 -0
  327. package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.cjs.map +1 -0
  328. package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.js +19 -0
  329. package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.js.map +1 -0
  330. package/dist/v1/node_modules/.pnpm/@radix-ui_react-menu@2.0.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-menu/dist/index.js +2 -2
  331. package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.0.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.js +2 -2
  332. package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.0.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
  333. package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.cjs +17 -0
  334. package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.cjs.map +1 -0
  335. package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.js +15 -0
  336. package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.js.map +1 -0
  337. package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.cjs +133 -0
  338. package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.cjs.map +1 -0
  339. package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.js +131 -0
  340. package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.js.map +1 -0
  341. package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.cjs +88 -0
  342. package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.cjs.map +1 -0
  343. package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.js +85 -0
  344. package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +1 -0
  345. package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.cjs +82 -0
  346. package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.cjs.map +1 -0
  347. package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.js +79 -0
  348. package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.js.map +1 -0
  349. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.cjs +21 -0
  350. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.cjs.map +1 -0
  351. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js +19 -0
  352. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +1 -0
  353. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.cjs +50 -0
  354. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.cjs.map +1 -0
  355. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js +48 -0
  356. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +1 -0
  357. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.cjs +23 -0
  358. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.cjs.map +1 -0
  359. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js +21 -0
  360. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +1 -0
  361. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.cjs +14 -0
  362. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.cjs.map +1 -0
  363. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js +12 -0
  364. package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +1 -0
  365. package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs +131 -0
  366. package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs.map +1 -0
  367. package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js +72 -0
  368. package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
  369. package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs +3338 -0
  370. package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs.map +1 -0
  371. package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js +3299 -0
  372. package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  373. package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.cjs +39 -0
  374. package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.cjs.map +1 -0
  375. package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.js +8 -0
  376. package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.js.map +1 -0
  377. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs +146 -0
  378. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs.map +1 -0
  379. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js +142 -0
  380. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js.map +1 -0
  381. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.cjs +16 -0
  382. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.cjs.map +1 -0
  383. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.js +12 -0
  384. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.js.map +1 -0
  385. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.cjs +16 -0
  386. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.cjs.map +1 -0
  387. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.js +12 -0
  388. package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.js.map +1 -0
  389. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +34 -0
  390. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.map +1 -0
  391. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  392. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  393. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +169 -0
  394. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -0
  395. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +146 -0
  396. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  397. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.cjs +60 -0
  398. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.cjs.map +1 -0
  399. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  400. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  401. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +24 -0
  402. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.map +1 -0
  403. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  404. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  405. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +100 -0
  406. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.map +1 -0
  407. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +97 -0
  408. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  409. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.cjs +8 -0
  410. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.cjs.map +1 -0
  411. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  412. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  413. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +12 -0
  414. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.map +1 -0
  415. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  416. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  417. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +2 -2
  418. package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +2 -2
  419. package/dist/v1/style.css +1 -1
  420. package/dist/v1/types/filters.cjs +39 -0
  421. package/dist/v1/types/filters.cjs.map +1 -0
  422. package/dist/v1/types/filters.d.ts +42 -0
  423. package/dist/v1/types/filters.d.ts.map +1 -0
  424. package/dist/v1/types/filters.js +36 -0
  425. package/dist/v1/types/filters.js.map +1 -0
  426. package/package.json +2 -1
  427. package/dist/v1/components/sidepanel/index.d.ts +0 -2
  428. package/dist/v1/components/sidepanel/index.d.ts.map +0 -1
  429. package/dist/v1/components/sidepanel/sidepanel.cjs +0 -44
  430. package/dist/v1/components/sidepanel/sidepanel.cjs.map +0 -1
  431. package/dist/v1/components/sidepanel/sidepanel.d.ts.map +0 -1
  432. package/dist/v1/components/sidepanel/sidepanel.js +0 -42
  433. package/dist/v1/components/sidepanel/sidepanel.js.map +0 -1
  434. package/dist/v1/components/sidepanel/sidepanel.module.css.cjs +0 -8
  435. package/dist/v1/components/sidepanel/sidepanel.module.css.cjs.map +0 -1
  436. package/dist/v1/components/sidepanel/sidepanel.module.css.js +0 -4
  437. package/dist/v1/components/sidepanel/sidepanel.module.css.js.map +0 -1
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var styles = {"dialogOverlay":"dialog-module_dialogOverlay__gtTvA","dialogContent":"dialog-module_dialogContent__DvkhU","close":"dialog-module_close__g-6GW","overlayBlur":"dialog-module_overlayBlur__5363s","fadeIn":"dialog-module_fadeIn__Yyp5s","fadeOut":"dialog-module_fadeOut__H7gVW","overlay":"dialog-module_overlay__sppBT"};
6
+
7
+ exports.default = styles;
8
+ //# sourceMappingURL=dialog.module.css.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var styles = {"dialogOverlay":"dialog-module_dialogOverlay__gtTvA","dialogContent":"dialog-module_dialogContent__DvkhU","close":"dialog-module_close__g-6GW","overlayBlur":"dialog-module_overlayBlur__5363s","fadeIn":"dialog-module_fadeIn__Yyp5s","fadeOut":"dialog-module_fadeOut__H7gVW","overlay":"dialog-module_overlay__sppBT"};
2
+
3
+ export { styles as default };
4
+ //# sourceMappingURL=dialog.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,2 @@
1
+ export { Dialog } from "./dialog";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -12,22 +12,33 @@ require('../../node_modules/.pnpm/react-day-picker@9.0.4_react@18.2.0/node_modul
12
12
  require('../../node_modules/.pnpm/react-day-picker@9.0.4_react@18.2.0/node_modules/react-day-picker/dist/esm/useDayPicker.cjs');
13
13
  require('../tooltip/tooltip.cjs');
14
14
  var datePicker = require('../calendar/date-picker.cjs');
15
- var rangePicker = require('../calendar/range-picker.cjs');
15
+ require('../../node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.cjs');
16
+ require('../popover/popover.cjs');
16
17
  var filterChip_module = require('./filter-chip.module.css.cjs');
18
+ var filters = require('../../types/filters.cjs');
17
19
 
18
- const FilterChip = ({ label, value, onRemove = () => null, className, ref, columnType = 'text', options = [], onValueChange, onOperationChange, leadingIcon, ...props }) => {
19
- const [operation, setOperation] = React.useState('is');
20
- const [filterValue, setFilterValue] = React.useState(value || '');
21
- const operationOptions = [
22
- { label: 'is', value: 'is' },
23
- { label: 'is not', value: 'is not' },
24
- { label: 'contains', value: 'contains' },
25
- ];
20
+ const Operation = ({ label, columnType = filters.FilterType.text, onOperationSelect, }) => {
21
+ const filterOptions = filters.filterOperators[columnType] || [];
22
+ // FilterOperatorTypes gives error as Select returns string
23
+ const [value, setValue] = React.useState(filterOptions?.[0]?.value);
26
24
  React.useEffect(() => {
27
- if (onOperationChange) {
28
- onOperationChange(operation);
25
+ const selectedOption = filterOptions.find((o) => o.value === value);
26
+ if (selectedOption) {
27
+ onOperationSelect(selectedOption);
29
28
  }
30
- }, [operation]);
29
+ }, [value]);
30
+ return (jsxRuntime.jsxRuntimeExports.jsxs(select.Select, { value: value, onValueChange: setValue, "aria-labelledby": `${label}-label`, children: [jsxRuntime.jsxRuntimeExports.jsx(select.Select.Trigger, { variant: "filter", className: filterChip_module.default.operation, "aria-label": `${label} filter operation`, children: jsxRuntime.jsxRuntimeExports.jsx(select.Select.Value, { placeholder: "Select operation", className: filterChip_module.default.operationText }) }), jsxRuntime.jsxRuntimeExports.jsx(select.Select.Content, { "data-variant": "filter", children: filterOptions.map((opt) => {
31
+ return (jsxRuntime.jsxRuntimeExports.jsx(select.Select.Item, { value: opt.value, "aria-label": `Filter ${label} ${opt.label}`, children: opt.label }, opt.value));
32
+ }) })] }));
33
+ };
34
+ const FilterChip = ({ label, value, onRemove = () => null, className, ref, columnType = "text", options = [], onValueChange, onOperationChange, leadingIcon, ...props }) => {
35
+ const [operation, setOperation] = React.useState();
36
+ const [filterValue, setFilterValue] = React.useState(value || "");
37
+ React.useEffect(() => {
38
+ if (onOperationChange && operation?.value) {
39
+ onOperationChange(operation?.value);
40
+ }
41
+ }, [operation?.value]);
31
42
  React.useEffect(() => {
32
43
  if (onValueChange) {
33
44
  onValueChange(filterValue);
@@ -35,17 +46,15 @@ const FilterChip = ({ label, value, onRemove = () => null, className, ref, colum
35
46
  }, [filterValue]);
36
47
  const renderValueInput = () => {
37
48
  switch (columnType) {
38
- case 'select':
39
- return (jsxRuntime.jsxRuntimeExports.jsxs(select.Select, { value: filterValue, onValueChange: setFilterValue, children: [jsxRuntime.jsxRuntimeExports.jsx(select.Select.Trigger, { variant: "filter", children: jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.selectValue, children: jsxRuntime.jsxRuntimeExports.jsx(select.Select.Value, { placeholder: "Select value" }) }) }), jsxRuntime.jsxRuntimeExports.jsx(select.Select.Content, { "data-variant": "filter", children: options.map((opt) => (jsxRuntime.jsxRuntimeExports.jsx(select.Select.Item, { value: opt.value, children: opt.label }, opt.value))) })] }));
40
- case 'date':
41
- return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.dateFieldWrapper, children: jsxRuntime.jsxRuntimeExports.jsx(datePicker.DatePicker, { onSelect: (date) => setFilterValue(date), showCalendarIcon: false, textFieldProps: { className: filterChip_module.default.dateField } }) }));
42
- case 'range':
43
- return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.dateFieldWrapper, children: jsxRuntime.jsxRuntimeExports.jsx(rangePicker.RangePicker, { textFieldProps: { className: filterChip_module.default.dateField }, onSelect: (range) => setFilterValue(range), showCalendarIcon: false, value: filterValue }) }));
49
+ case filters.FilterType.select:
50
+ return (jsxRuntime.jsxRuntimeExports.jsxs(select.Select, { value: filterValue.toString(), onValueChange: setFilterValue, children: [jsxRuntime.jsxRuntimeExports.jsx(select.Select.Trigger, { variant: "filter", className: filterChip_module.default.selectValue, children: jsxRuntime.jsxRuntimeExports.jsx(select.Select.Value, { placeholder: "Select value" }) }), jsxRuntime.jsxRuntimeExports.jsx(select.Select.Content, { "data-variant": "filter", children: options.map((opt) => (jsxRuntime.jsxRuntimeExports.jsx(select.Select.Item, { value: opt.value.toString(), children: opt.label }, opt.value.toString()))) })] }));
51
+ case filters.FilterType.date:
52
+ return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.dateFieldWrapper, children: jsxRuntime.jsxRuntimeExports.jsx(datePicker.DatePicker, { value: filterValue, onSelect: (date) => setFilterValue(date), showCalendarIcon: false, textFieldProps: { className: filterChip_module.default.dateField } }) }));
44
53
  default:
45
54
  return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.textFieldWrapper, children: jsxRuntime.jsxRuntimeExports.jsx(textfield.TextField, { className: filterChip_module.default.textField, value: filterValue, onChange: (e) => setFilterValue(e.target.value) }) }));
46
55
  }
47
56
  };
48
- return (jsxRuntime.jsxRuntimeExports.jsx(box.Box, { ref: ref, className: [filterChip_module.default.chip, className].filter(Boolean).join(" "), role: "group", "aria-label": `Filter by ${label}`, ...props, children: jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { align: "center", children: [jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { align: "center", style: { gap: 'var(--rs-space-2)' }, children: [leadingIcon && (jsxRuntime.jsxRuntimeExports.jsx("span", { className: filterChip_module.default.leadingIcon, "aria-hidden": "true", children: leadingIcon })), jsxRuntime.jsxRuntimeExports.jsx(text.Text, { size: 2, weight: "normal", children: label })] }), jsxRuntime.jsxRuntimeExports.jsxs(select.Select, { defaultValue: operation, onValueChange: setOperation, "aria-labelledby": `${label}-label`, children: [jsxRuntime.jsxRuntimeExports.jsx(select.Select.Trigger, { className: filterChip_module.default.operation, variant: "filter", "aria-label": `${label} filter operation`, children: jsxRuntime.jsxRuntimeExports.jsx("span", { className: filterChip_module.default.operationText, children: operation }) }), jsxRuntime.jsxRuntimeExports.jsx(select.Select.Content, { "data-variant": "filter", children: operationOptions.map((opt) => (jsxRuntime.jsxRuntimeExports.jsx(select.Select.Item, { value: opt.value, "aria-label": `Filter ${label} ${opt.label}`, children: opt.label }, opt.value))) })] }), renderValueInput(), jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.removeIconContainer, role: "button", tabIndex: 0, "aria-label": `Remove ${label} filter`, children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.Cross1Icon, { className: filterChip_module.default.removeIcon, onClick: onRemove }) })] }) }));
57
+ return (jsxRuntime.jsxRuntimeExports.jsx(box.Box, { ref: ref, className: [filterChip_module.default.chip, className].filter(Boolean).join(" "), role: "group", "aria-label": `Filter by ${label}`, ...props, children: jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { align: "center", children: [jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { align: "center", gap: 2, children: [leadingIcon && (jsxRuntime.jsxRuntimeExports.jsx("span", { className: filterChip_module.default.leadingIcon, "aria-hidden": "true", children: leadingIcon })), jsxRuntime.jsxRuntimeExports.jsx(text.Text, { size: 2, weight: "normal", children: label })] }), jsxRuntime.jsxRuntimeExports.jsx(Operation, { columnType: columnType, label: label, onOperationSelect: setOperation }), renderValueInput(), jsxRuntime.jsxRuntimeExports.jsx("div", { className: filterChip_module.default.removeIconContainer, role: "button", tabIndex: 0, "aria-label": `Remove ${label} filter`, children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.Cross1Icon, { className: filterChip_module.default.removeIcon, onClick: onRemove }) })] }) }));
49
58
  };
50
59
  FilterChip.displayName = "FilterChip";
51
60
 
@@ -1 +1 @@
1
- {"version":3,"file":"filter-chip.cjs","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"sourcesContent":["import { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { ReactNode, useEffect, useState, ReactElement } from \"react\";\nimport { Box } from \"../box\";\nimport { Flex } from \"../flex\";\nimport { Select } from \"../select\";\nimport { Text } from \"../text\";\nimport { TextField } from \"../textfield\";\nimport { DatePicker, RangePicker } from \"../calendar\";\nimport styles from \"./filter-chip.module.css\";\n\ntype FilterVariant = 'select' | 'text' | 'date' | 'range' | 'number';\n\nexport interface FilterChipProps {\n label: string;\n value?: string;\n onRemove?: () => void;\n className?: string;\n ref?: React.RefObject<HTMLDivElement>;\n children?: ReactNode;\n columnType?: FilterVariant;\n options?: Array<{ label: string; value: string }>;\n onValueChange?: (value: any) => void;\n onOperationChange?: (operation: string) => void;\n leadingIcon?: ReactElement;\n}\n\nexport const FilterChip = ({\n label,\n value,\n onRemove = () => null,\n className,\n ref,\n columnType = 'text',\n options = [],\n onValueChange,\n onOperationChange,\n leadingIcon,\n ...props\n}: FilterChipProps) => {\n const [operation, setOperation] = useState('is');\n const [filterValue, setFilterValue] = useState<any>(value || '');\n\n const operationOptions = [\n { label: 'is', value: 'is' },\n { label: 'is not', value: 'is not' },\n { label: 'contains', value: 'contains' },\n ];\n\n useEffect(() => {\n if (onOperationChange) {\n onOperationChange(operation);\n }\n }, [operation]);\n\n useEffect(() => {\n if (onValueChange) {\n onValueChange(filterValue);\n }\n }, [filterValue]);\n\n const renderValueInput = () => {\n switch (columnType) {\n case 'select':\n return (\n <Select\n value={filterValue}\n onValueChange={setFilterValue}\n >\n <Select.Trigger variant=\"filter\">\n <div className={styles.selectValue}>\n <Select.Value placeholder=\"Select value\" />\n </div>\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {options.map((opt) => (\n <Select.Item key={opt.value} value={opt.value}>\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n );\n case 'date':\n return (\n <div className={styles.dateFieldWrapper}>\n <DatePicker \n onSelect={(date) => setFilterValue(date)}\n showCalendarIcon={false}\n textFieldProps={{ className: styles.dateField }}\n />\n </div>\n );\n case 'range':\n return (\n <div className={styles.dateFieldWrapper}>\n <RangePicker\n textFieldProps={{ className: styles.dateField }}\n onSelect={(range) => setFilterValue(range)}\n showCalendarIcon={false}\n value={filterValue}\n />\n </div>\n );\n default:\n return (\n <div className={styles.textFieldWrapper}>\n <TextField\n className={styles.textField}\n value={filterValue}\n onChange={(e) => setFilterValue(e.target.value)}\n />\n </div>\n );\n }\n };\n\n return (\n <Box\n ref={ref}\n className={[styles.chip, className].filter(Boolean).join(\" \")}\n role=\"group\"\n aria-label={`Filter by ${label}`}\n {...props}\n >\n <Flex align=\"center\">\n <Flex align=\"center\" style={{ gap: 'var(--rs-space-2)' }}>\n {leadingIcon && (\n <span className={styles.leadingIcon} aria-hidden=\"true\">\n {leadingIcon}\n </span>\n )}\n <Text size={2} weight=\"normal\">\n {label}\n </Text>\n </Flex>\n <Select defaultValue={operation} onValueChange={setOperation} aria-labelledby={`${label}-label`}>\n <Select.Trigger className={styles.operation} variant=\"filter\" aria-label={`${label} filter operation`}>\n <span className={styles.operationText}>{operation}</span>\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {operationOptions.map((opt) => (\n <Select.Item key={opt.value} value={opt.value} aria-label={`Filter ${label} ${opt.label}`}>\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n {renderValueInput()}\n <div className={styles.removeIconContainer} \n role=\"button\"\n tabIndex={0}\n aria-label={`Remove ${label} filter`}\n >\n <Cross1Icon \n className={styles.removeIcon}\n onClick={onRemove}\n />\n </div>\n </Flex>\n </Box>\n );\n};\n\nFilterChip.displayName = \"FilterChip\";\n"],"names":["useState","useEffect","_jsxs","Select","_jsx","styles","DatePicker","RangePicker","TextField","Box","Flex","Text","Cross1Icon"],"mappings":";;;;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SAAS,EAAE,OAAO,EAAC,QAAQ,EAAa,YAAA,EAAA,CAAA,EAAG,KAAK,CAAA,iBAAA,CAAmB,EACnG,QAAA,EAAAD,gCAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAEC,yBAAM,CAAC,aAAa,EAAG,QAAA,EAAA,SAAS,GAAQ,EAC1C,CAAA,EACjBD,gCAAC,CAAAD,aAAM,CAAC,OAAO,oBAAc,QAAQ,EAAA,QAAA,EAClC,gBAAgB,CAAC,GAAG,CAAC,CAAC,GAAG,MACxBC,gCAAA,CAACD,aAAM,CAAC,IAAI,EAAiB,EAAA,KAAK,EAAE,GAAG,CAAC,KAAK,EAAc,YAAA,EAAA,CAAA,OAAA,EAAU,KAAK,CAAA,CAAA,EAAI,GAAG,CAAC,KAAK,CAAE,CAAA,EAAA,QAAA,EACtF,GAAG,CAAC,KAAK,EAAA,EADM,GAAG,CAAC,KAAK,CAEb,CACf,CAAC,EAAA,CACa,IACV,EACR,gBAAgB,EAAE,EACjBC,gCAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAEC,yBAAM,CAAC,mBAAmB,EACxC,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACC,YAAA,EAAA,CAAA,OAAA,EAAU,KAAK,CAAS,OAAA,CAAA,EAAA,QAAA,EAEpCD,gCAAC,CAAAQ,yBAAU,EACT,EAAA,SAAS,EAAEP,yBAAM,CAAC,UAAU,EAC5B,OAAO,EAAE,QAAQ,EAAA,CACjB,EACE,CAAA,CAAA,EAAA,CACH,EACH,CAAA,EACN;AACJ,EAAE;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
1
+ {"version":3,"file":"filter-chip.cjs","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"sourcesContent":["import { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { ReactNode, useEffect, useState, ReactElement } from \"react\";\nimport { Box } from \"../box\";\nimport { Flex } from \"../flex\";\nimport { Select } from \"../select\";\nimport { Text } from \"../text\";\nimport { TextField } from \"../textfield\";\nimport { DatePicker } from \"../calendar\";\nimport styles from \"./filter-chip.module.css\";\nimport {\n FilterSelectOption,\n FilterOperation,\n FilterType,\n FilterTypes,\n filterOperators,\n} from \"~/v1/types/filters\";\n\nexport interface FilterChipProps {\n label: string;\n value?: string;\n onRemove?: () => void;\n className?: string;\n ref?: React.RefObject<HTMLDivElement>;\n children?: ReactNode;\n columnType?: FilterTypes;\n options?: FilterSelectOption[];\n onValueChange?: (value: any) => void;\n onOperationChange?: (operation: string) => void;\n leadingIcon?: ReactElement;\n}\n\ninterface OperationProps {\n label: string;\n columnType: FilterTypes;\n onOperationSelect: (op: FilterOperation) => void;\n}\n\nconst Operation = ({\n label,\n columnType = FilterType.text,\n onOperationSelect,\n}: OperationProps) => {\n const filterOptions = filterOperators[columnType] || [];\n // FilterOperatorTypes gives error as Select returns string\n const [value, setValue] = useState<string>(filterOptions?.[0]?.value);\n\n useEffect(() => {\n const selectedOption = filterOptions.find((o) => o.value === value);\n if (selectedOption) {\n onOperationSelect(selectedOption);\n }\n }, [value]);\n\n return (\n <Select\n value={value}\n onValueChange={setValue}\n aria-labelledby={`${label}-label`}\n >\n <Select.Trigger\n variant=\"filter\"\n className={styles.operation}\n aria-label={`${label} filter operation`}\n >\n <Select.Value\n placeholder=\"Select operation\"\n className={styles.operationText}\n />\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {filterOptions.map((opt) => {\n return (\n <Select.Item\n key={opt.value}\n value={opt.value}\n aria-label={`Filter ${label} ${opt.label}`}\n >\n {opt.label}\n </Select.Item>\n );\n })}\n </Select.Content>\n </Select>\n );\n};\n\nexport const FilterChip = ({\n label,\n value,\n onRemove = () => null,\n className,\n ref,\n columnType = \"text\",\n options = [],\n onValueChange,\n onOperationChange,\n leadingIcon,\n ...props\n}: FilterChipProps) => {\n const [operation, setOperation] = useState<FilterOperation>();\n const [filterValue, setFilterValue] = useState<any>(value || \"\");\n\n useEffect(() => {\n if (onOperationChange && operation?.value) {\n onOperationChange(operation?.value);\n }\n }, [operation?.value]);\n\n useEffect(() => {\n if (onValueChange) {\n onValueChange(filterValue);\n }\n }, [filterValue]);\n\n const renderValueInput = () => {\n switch (columnType) {\n case FilterType.select:\n return (\n <Select value={filterValue.toString()} onValueChange={setFilterValue}>\n <Select.Trigger variant=\"filter\" className={styles.selectValue}>\n <Select.Value placeholder=\"Select value\" />\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {options.map((opt) => (\n <Select.Item\n key={opt.value.toString()}\n value={opt.value.toString()}\n >\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n );\n case FilterType.date:\n return (\n <div className={styles.dateFieldWrapper}>\n <DatePicker\n value={filterValue}\n onSelect={(date) => setFilterValue(date)}\n showCalendarIcon={false}\n textFieldProps={{ className: styles.dateField }}\n />\n </div>\n );\n default:\n return (\n <div className={styles.textFieldWrapper}>\n <TextField\n className={styles.textField}\n value={filterValue}\n onChange={(e) => setFilterValue(e.target.value)}\n />\n </div>\n );\n }\n };\n\n return (\n <Box\n ref={ref}\n className={[styles.chip, className].filter(Boolean).join(\" \")}\n role=\"group\"\n aria-label={`Filter by ${label}`}\n {...props}\n >\n <Flex align=\"center\">\n <Flex align=\"center\" gap={2}>\n {leadingIcon && (\n <span className={styles.leadingIcon} aria-hidden=\"true\">\n {leadingIcon}\n </span>\n )}\n <Text size={2} weight=\"normal\">\n {label}\n </Text>\n </Flex>\n <Operation\n columnType={columnType}\n label={label}\n onOperationSelect={setOperation}\n />\n {renderValueInput()}\n <div\n className={styles.removeIconContainer}\n role=\"button\"\n tabIndex={0}\n aria-label={`Remove ${label} filter`}\n >\n <Cross1Icon className={styles.removeIcon} onClick={onRemove} />\n </div>\n </Flex>\n </Box>\n );\n};\n\nFilterChip.displayName = \"FilterChip\";\n"],"names":["FilterType","filterOperators","useState","useEffect","_jsxs","Select","_jsx","styles","DatePicker","TextField","Box","Flex","Text","Cross1Icon"],"mappings":";;;;;;;;;;;;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5 @@
1
1
  import { ReactNode, ReactElement } from "react";
2
- type FilterVariant = 'select' | 'text' | 'date' | 'range' | 'number';
2
+ import { FilterSelectOption, FilterTypes } from "~/v1/types/filters";
3
3
  export interface FilterChipProps {
4
4
  label: string;
5
5
  value?: string;
@@ -7,11 +7,8 @@ export interface FilterChipProps {
7
7
  className?: string;
8
8
  ref?: React.RefObject<HTMLDivElement>;
9
9
  children?: ReactNode;
10
- columnType?: FilterVariant;
11
- options?: Array<{
12
- label: string;
13
- value: string;
14
- }>;
10
+ columnType?: FilterTypes;
11
+ options?: FilterSelectOption[];
15
12
  onValueChange?: (value: any) => void;
16
13
  onOperationChange?: (operation: string) => void;
17
14
  leadingIcon?: ReactElement;
@@ -20,5 +17,4 @@ export declare const FilterChip: {
20
17
  ({ label, value, onRemove, className, ref, columnType, options, onValueChange, onOperationChange, leadingIcon, ...props }: FilterChipProps): import("react/jsx-runtime").JSX.Element;
21
18
  displayName: string;
22
19
  };
23
- export {};
24
20
  //# sourceMappingURL=filter-chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-chip.d.ts","sourceRoot":"","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,YAAY,EAAE,MAAM,OAAO,CAAC;AASrE,KAAK,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAErE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU;+HAYpB,eAAe;;CA2HjB,CAAC"}
1
+ {"version":3,"file":"filter-chip.d.ts","sourceRoot":"","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,YAAY,EAAE,MAAM,OAAO,CAAC;AAQrE,OAAO,EACL,kBAAkB,EAGlB,WAAW,EAEZ,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B;AAyDD,eAAO,MAAM,UAAU;+HAYpB,eAAe;;CAgGjB,CAAC"}
@@ -10,22 +10,33 @@ import '../../node_modules/.pnpm/react-day-picker@9.0.4_react@18.2.0/node_module
10
10
  import '../../node_modules/.pnpm/react-day-picker@9.0.4_react@18.2.0/node_modules/react-day-picker/dist/esm/useDayPicker.js';
11
11
  import '../tooltip/tooltip.js';
12
12
  import { DatePicker } from '../calendar/date-picker.js';
13
- import { RangePicker } from '../calendar/range-picker.js';
13
+ import '../../node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.js';
14
+ import '../popover/popover.js';
14
15
  import styles from './filter-chip.module.css.js';
16
+ import { FilterType, filterOperators } from '../../types/filters.js';
15
17
 
16
- const FilterChip = ({ label, value, onRemove = () => null, className, ref, columnType = 'text', options = [], onValueChange, onOperationChange, leadingIcon, ...props }) => {
17
- const [operation, setOperation] = useState('is');
18
- const [filterValue, setFilterValue] = useState(value || '');
19
- const operationOptions = [
20
- { label: 'is', value: 'is' },
21
- { label: 'is not', value: 'is not' },
22
- { label: 'contains', value: 'contains' },
23
- ];
18
+ const Operation = ({ label, columnType = FilterType.text, onOperationSelect, }) => {
19
+ const filterOptions = filterOperators[columnType] || [];
20
+ // FilterOperatorTypes gives error as Select returns string
21
+ const [value, setValue] = useState(filterOptions?.[0]?.value);
24
22
  useEffect(() => {
25
- if (onOperationChange) {
26
- onOperationChange(operation);
23
+ const selectedOption = filterOptions.find((o) => o.value === value);
24
+ if (selectedOption) {
25
+ onOperationSelect(selectedOption);
27
26
  }
28
- }, [operation]);
27
+ }, [value]);
28
+ return (jsxRuntimeExports.jsxs(Select, { value: value, onValueChange: setValue, "aria-labelledby": `${label}-label`, children: [jsxRuntimeExports.jsx(Select.Trigger, { variant: "filter", className: styles.operation, "aria-label": `${label} filter operation`, children: jsxRuntimeExports.jsx(Select.Value, { placeholder: "Select operation", className: styles.operationText }) }), jsxRuntimeExports.jsx(Select.Content, { "data-variant": "filter", children: filterOptions.map((opt) => {
29
+ return (jsxRuntimeExports.jsx(Select.Item, { value: opt.value, "aria-label": `Filter ${label} ${opt.label}`, children: opt.label }, opt.value));
30
+ }) })] }));
31
+ };
32
+ const FilterChip = ({ label, value, onRemove = () => null, className, ref, columnType = "text", options = [], onValueChange, onOperationChange, leadingIcon, ...props }) => {
33
+ const [operation, setOperation] = useState();
34
+ const [filterValue, setFilterValue] = useState(value || "");
35
+ useEffect(() => {
36
+ if (onOperationChange && operation?.value) {
37
+ onOperationChange(operation?.value);
38
+ }
39
+ }, [operation?.value]);
29
40
  useEffect(() => {
30
41
  if (onValueChange) {
31
42
  onValueChange(filterValue);
@@ -33,17 +44,15 @@ const FilterChip = ({ label, value, onRemove = () => null, className, ref, colum
33
44
  }, [filterValue]);
34
45
  const renderValueInput = () => {
35
46
  switch (columnType) {
36
- case 'select':
37
- return (jsxRuntimeExports.jsxs(Select, { value: filterValue, onValueChange: setFilterValue, children: [jsxRuntimeExports.jsx(Select.Trigger, { variant: "filter", children: jsxRuntimeExports.jsx("div", { className: styles.selectValue, children: jsxRuntimeExports.jsx(Select.Value, { placeholder: "Select value" }) }) }), jsxRuntimeExports.jsx(Select.Content, { "data-variant": "filter", children: options.map((opt) => (jsxRuntimeExports.jsx(Select.Item, { value: opt.value, children: opt.label }, opt.value))) })] }));
38
- case 'date':
39
- return (jsxRuntimeExports.jsx("div", { className: styles.dateFieldWrapper, children: jsxRuntimeExports.jsx(DatePicker, { onSelect: (date) => setFilterValue(date), showCalendarIcon: false, textFieldProps: { className: styles.dateField } }) }));
40
- case 'range':
41
- return (jsxRuntimeExports.jsx("div", { className: styles.dateFieldWrapper, children: jsxRuntimeExports.jsx(RangePicker, { textFieldProps: { className: styles.dateField }, onSelect: (range) => setFilterValue(range), showCalendarIcon: false, value: filterValue }) }));
47
+ case FilterType.select:
48
+ return (jsxRuntimeExports.jsxs(Select, { value: filterValue.toString(), onValueChange: setFilterValue, children: [jsxRuntimeExports.jsx(Select.Trigger, { variant: "filter", className: styles.selectValue, children: jsxRuntimeExports.jsx(Select.Value, { placeholder: "Select value" }) }), jsxRuntimeExports.jsx(Select.Content, { "data-variant": "filter", children: options.map((opt) => (jsxRuntimeExports.jsx(Select.Item, { value: opt.value.toString(), children: opt.label }, opt.value.toString()))) })] }));
49
+ case FilterType.date:
50
+ return (jsxRuntimeExports.jsx("div", { className: styles.dateFieldWrapper, children: jsxRuntimeExports.jsx(DatePicker, { value: filterValue, onSelect: (date) => setFilterValue(date), showCalendarIcon: false, textFieldProps: { className: styles.dateField } }) }));
42
51
  default:
43
52
  return (jsxRuntimeExports.jsx("div", { className: styles.textFieldWrapper, children: jsxRuntimeExports.jsx(TextField, { className: styles.textField, value: filterValue, onChange: (e) => setFilterValue(e.target.value) }) }));
44
53
  }
45
54
  };
46
- return (jsxRuntimeExports.jsx(Box, { ref: ref, className: [styles.chip, className].filter(Boolean).join(" "), role: "group", "aria-label": `Filter by ${label}`, ...props, children: jsxRuntimeExports.jsxs(Flex, { align: "center", children: [jsxRuntimeExports.jsxs(Flex, { align: "center", style: { gap: 'var(--rs-space-2)' }, children: [leadingIcon && (jsxRuntimeExports.jsx("span", { className: styles.leadingIcon, "aria-hidden": "true", children: leadingIcon })), jsxRuntimeExports.jsx(Text, { size: 2, weight: "normal", children: label })] }), jsxRuntimeExports.jsxs(Select, { defaultValue: operation, onValueChange: setOperation, "aria-labelledby": `${label}-label`, children: [jsxRuntimeExports.jsx(Select.Trigger, { className: styles.operation, variant: "filter", "aria-label": `${label} filter operation`, children: jsxRuntimeExports.jsx("span", { className: styles.operationText, children: operation }) }), jsxRuntimeExports.jsx(Select.Content, { "data-variant": "filter", children: operationOptions.map((opt) => (jsxRuntimeExports.jsx(Select.Item, { value: opt.value, "aria-label": `Filter ${label} ${opt.label}`, children: opt.label }, opt.value))) })] }), renderValueInput(), jsxRuntimeExports.jsx("div", { className: styles.removeIconContainer, role: "button", tabIndex: 0, "aria-label": `Remove ${label} filter`, children: jsxRuntimeExports.jsx(Cross1Icon, { className: styles.removeIcon, onClick: onRemove }) })] }) }));
55
+ return (jsxRuntimeExports.jsx(Box, { ref: ref, className: [styles.chip, className].filter(Boolean).join(" "), role: "group", "aria-label": `Filter by ${label}`, ...props, children: jsxRuntimeExports.jsxs(Flex, { align: "center", children: [jsxRuntimeExports.jsxs(Flex, { align: "center", gap: 2, children: [leadingIcon && (jsxRuntimeExports.jsx("span", { className: styles.leadingIcon, "aria-hidden": "true", children: leadingIcon })), jsxRuntimeExports.jsx(Text, { size: 2, weight: "normal", children: label })] }), jsxRuntimeExports.jsx(Operation, { columnType: columnType, label: label, onOperationSelect: setOperation }), renderValueInput(), jsxRuntimeExports.jsx("div", { className: styles.removeIconContainer, role: "button", tabIndex: 0, "aria-label": `Remove ${label} filter`, children: jsxRuntimeExports.jsx(Cross1Icon, { className: styles.removeIcon, onClick: onRemove }) })] }) }));
47
56
  };
48
57
  FilterChip.displayName = "FilterChip";
49
58
 
@@ -1 +1 @@
1
- {"version":3,"file":"filter-chip.js","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"sourcesContent":["import { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { ReactNode, useEffect, useState, ReactElement } from \"react\";\nimport { Box } from \"../box\";\nimport { Flex } from \"../flex\";\nimport { Select } from \"../select\";\nimport { Text } from \"../text\";\nimport { TextField } from \"../textfield\";\nimport { DatePicker, RangePicker } from \"../calendar\";\nimport styles from \"./filter-chip.module.css\";\n\ntype FilterVariant = 'select' | 'text' | 'date' | 'range' | 'number';\n\nexport interface FilterChipProps {\n label: string;\n value?: string;\n onRemove?: () => void;\n className?: string;\n ref?: React.RefObject<HTMLDivElement>;\n children?: ReactNode;\n columnType?: FilterVariant;\n options?: Array<{ label: string; value: string }>;\n onValueChange?: (value: any) => void;\n onOperationChange?: (operation: string) => void;\n leadingIcon?: ReactElement;\n}\n\nexport const FilterChip = ({\n label,\n value,\n onRemove = () => null,\n className,\n ref,\n columnType = 'text',\n options = [],\n onValueChange,\n onOperationChange,\n leadingIcon,\n ...props\n}: FilterChipProps) => {\n const [operation, setOperation] = useState('is');\n const [filterValue, setFilterValue] = useState<any>(value || '');\n\n const operationOptions = [\n { label: 'is', value: 'is' },\n { label: 'is not', value: 'is not' },\n { label: 'contains', value: 'contains' },\n ];\n\n useEffect(() => {\n if (onOperationChange) {\n onOperationChange(operation);\n }\n }, [operation]);\n\n useEffect(() => {\n if (onValueChange) {\n onValueChange(filterValue);\n }\n }, [filterValue]);\n\n const renderValueInput = () => {\n switch (columnType) {\n case 'select':\n return (\n <Select\n value={filterValue}\n onValueChange={setFilterValue}\n >\n <Select.Trigger variant=\"filter\">\n <div className={styles.selectValue}>\n <Select.Value placeholder=\"Select value\" />\n </div>\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {options.map((opt) => (\n <Select.Item key={opt.value} value={opt.value}>\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n );\n case 'date':\n return (\n <div className={styles.dateFieldWrapper}>\n <DatePicker \n onSelect={(date) => setFilterValue(date)}\n showCalendarIcon={false}\n textFieldProps={{ className: styles.dateField }}\n />\n </div>\n );\n case 'range':\n return (\n <div className={styles.dateFieldWrapper}>\n <RangePicker\n textFieldProps={{ className: styles.dateField }}\n onSelect={(range) => setFilterValue(range)}\n showCalendarIcon={false}\n value={filterValue}\n />\n </div>\n );\n default:\n return (\n <div className={styles.textFieldWrapper}>\n <TextField\n className={styles.textField}\n value={filterValue}\n onChange={(e) => setFilterValue(e.target.value)}\n />\n </div>\n );\n }\n };\n\n return (\n <Box\n ref={ref}\n className={[styles.chip, className].filter(Boolean).join(\" \")}\n role=\"group\"\n aria-label={`Filter by ${label}`}\n {...props}\n >\n <Flex align=\"center\">\n <Flex align=\"center\" style={{ gap: 'var(--rs-space-2)' }}>\n {leadingIcon && (\n <span className={styles.leadingIcon} aria-hidden=\"true\">\n {leadingIcon}\n </span>\n )}\n <Text size={2} weight=\"normal\">\n {label}\n </Text>\n </Flex>\n <Select defaultValue={operation} onValueChange={setOperation} aria-labelledby={`${label}-label`}>\n <Select.Trigger className={styles.operation} variant=\"filter\" aria-label={`${label} filter operation`}>\n <span className={styles.operationText}>{operation}</span>\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {operationOptions.map((opt) => (\n <Select.Item key={opt.value} value={opt.value} aria-label={`Filter ${label} ${opt.label}`}>\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n {renderValueInput()}\n <div className={styles.removeIconContainer} \n role=\"button\"\n tabIndex={0}\n aria-label={`Remove ${label} filter`}\n >\n <Cross1Icon \n className={styles.removeIcon}\n onClick={onRemove}\n />\n </div>\n </Flex>\n </Box>\n );\n};\n\nFilterChip.displayName = \"FilterChip\";\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;AA0Ba,MAAA,UAAU,GAAG,CAAC,EACzB,KAAK,EACL,KAAK,EACL,QAAQ,GAAG,MAAM,IAAI,EACrB,SAAS,EACT,GAAG,EACH,UAAU,GAAG,MAAM,EACnB,OAAO,GAAG,EAAE,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,GAAG,KAAK,EACQ,KAAI;IACpB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;AACjD,IAAA,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAM,KAAK,IAAI,EAAE,CAAC,CAAC;AAEjE,IAAA,MAAM,gBAAgB,GAAG;AACvB,QAAA,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;AAC5B,QAAA,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;AACpC,QAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;KACzC,CAAC;IAEF,SAAS,CAAC,MAAK;QACb,IAAI,iBAAiB,EAAE;YACrB,iBAAiB,CAAC,SAAS,CAAC,CAAC;SAC9B;AACH,KAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,SAAS,CAAC,MAAK;QACb,IAAI,aAAa,EAAE;YACjB,aAAa,CAAC,WAAW,CAAC,CAAC;SAC5B;AACH,KAAC,EAAE,CAAC,WAAW,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AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
1
+ {"version":3,"file":"filter-chip.js","sources":["../../../../v1/components/filter-chip/filter-chip.tsx"],"sourcesContent":["import { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { ReactNode, useEffect, useState, ReactElement } from \"react\";\nimport { Box } from \"../box\";\nimport { Flex } from \"../flex\";\nimport { Select } from \"../select\";\nimport { Text } from \"../text\";\nimport { TextField } from \"../textfield\";\nimport { DatePicker } from \"../calendar\";\nimport styles from \"./filter-chip.module.css\";\nimport {\n FilterSelectOption,\n FilterOperation,\n FilterType,\n FilterTypes,\n filterOperators,\n} from \"~/v1/types/filters\";\n\nexport interface FilterChipProps {\n label: string;\n value?: string;\n onRemove?: () => void;\n className?: string;\n ref?: React.RefObject<HTMLDivElement>;\n children?: ReactNode;\n columnType?: FilterTypes;\n options?: FilterSelectOption[];\n onValueChange?: (value: any) => void;\n onOperationChange?: (operation: string) => void;\n leadingIcon?: ReactElement;\n}\n\ninterface OperationProps {\n label: string;\n columnType: FilterTypes;\n onOperationSelect: (op: FilterOperation) => void;\n}\n\nconst Operation = ({\n label,\n columnType = FilterType.text,\n onOperationSelect,\n}: OperationProps) => {\n const filterOptions = filterOperators[columnType] || [];\n // FilterOperatorTypes gives error as Select returns string\n const [value, setValue] = useState<string>(filterOptions?.[0]?.value);\n\n useEffect(() => {\n const selectedOption = filterOptions.find((o) => o.value === value);\n if (selectedOption) {\n onOperationSelect(selectedOption);\n }\n }, [value]);\n\n return (\n <Select\n value={value}\n onValueChange={setValue}\n aria-labelledby={`${label}-label`}\n >\n <Select.Trigger\n variant=\"filter\"\n className={styles.operation}\n aria-label={`${label} filter operation`}\n >\n <Select.Value\n placeholder=\"Select operation\"\n className={styles.operationText}\n />\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {filterOptions.map((opt) => {\n return (\n <Select.Item\n key={opt.value}\n value={opt.value}\n aria-label={`Filter ${label} ${opt.label}`}\n >\n {opt.label}\n </Select.Item>\n );\n })}\n </Select.Content>\n </Select>\n );\n};\n\nexport const FilterChip = ({\n label,\n value,\n onRemove = () => null,\n className,\n ref,\n columnType = \"text\",\n options = [],\n onValueChange,\n onOperationChange,\n leadingIcon,\n ...props\n}: FilterChipProps) => {\n const [operation, setOperation] = useState<FilterOperation>();\n const [filterValue, setFilterValue] = useState<any>(value || \"\");\n\n useEffect(() => {\n if (onOperationChange && operation?.value) {\n onOperationChange(operation?.value);\n }\n }, [operation?.value]);\n\n useEffect(() => {\n if (onValueChange) {\n onValueChange(filterValue);\n }\n }, [filterValue]);\n\n const renderValueInput = () => {\n switch (columnType) {\n case FilterType.select:\n return (\n <Select value={filterValue.toString()} onValueChange={setFilterValue}>\n <Select.Trigger variant=\"filter\" className={styles.selectValue}>\n <Select.Value placeholder=\"Select value\" />\n </Select.Trigger>\n <Select.Content data-variant=\"filter\">\n {options.map((opt) => (\n <Select.Item\n key={opt.value.toString()}\n value={opt.value.toString()}\n >\n {opt.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select>\n );\n case FilterType.date:\n return (\n <div className={styles.dateFieldWrapper}>\n <DatePicker\n value={filterValue}\n onSelect={(date) => setFilterValue(date)}\n showCalendarIcon={false}\n textFieldProps={{ className: styles.dateField }}\n />\n </div>\n );\n default:\n return (\n <div className={styles.textFieldWrapper}>\n <TextField\n className={styles.textField}\n value={filterValue}\n onChange={(e) => setFilterValue(e.target.value)}\n />\n </div>\n );\n }\n };\n\n return (\n <Box\n ref={ref}\n className={[styles.chip, className].filter(Boolean).join(\" \")}\n role=\"group\"\n aria-label={`Filter by ${label}`}\n {...props}\n >\n <Flex align=\"center\">\n <Flex align=\"center\" gap={2}>\n {leadingIcon && (\n <span className={styles.leadingIcon} aria-hidden=\"true\">\n {leadingIcon}\n </span>\n )}\n <Text size={2} weight=\"normal\">\n {label}\n </Text>\n </Flex>\n <Operation\n columnType={columnType}\n label={label}\n onOperationSelect={setOperation}\n />\n {renderValueInput()}\n <div\n className={styles.removeIconContainer}\n role=\"button\"\n tabIndex={0}\n aria-label={`Remove ${label} filter`}\n >\n <Cross1Icon className={styles.removeIcon} onClick={onRemove} />\n </div>\n </Flex>\n </Box>\n );\n};\n\nFilterChip.displayName = \"FilterChip\";\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;AAqCA,MAAM,SAAS,GAAG,CAAC,EACjB,KAAK,EACL,UAAU,GAAG,UAAU,CAAC,IAAI,EAC5B,iBAAiB,GACF,KAAI;IACnB,MAAM,aAAa,GAAG,eAAe,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;;AAExD,IAAA,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,aAAa,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;IAEtE,SAAS,CAAC,MAAK;AACb,QAAA,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;QACpE,IAAI,cAAc,EAAE;YAClB,iBAAiB,CAAC,cAAc,CAAC,CAAC;SACnC;AACH,KAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAEZ,IAAA,QACEA,sBAAA,CAAC,MAAM,EAAA,EACL,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,QAAQ,EAAA,iBAAA,EACN,GAAG,KAAK,CAAA,MAAA,CAAQ,EAEjC,QAAA,EAAA,CAAAC,qBAAA,CAAC,MAAM,CAAC,OAAO,EAAA,EACb,OAAO,EAAC,QAAQ,EAChB,SAAS,EAAE,MAAM,CAAC,SAAS,gBACf,CAAG,EAAA,KAAK,CAAmB,iBAAA,CAAA,EAAA,QAAA,EAEvCA,qBAAC,CAAA,MAAM,CAAC,KAAK,EACX,EAAA,WAAW,EAAC,kBAAkB,EAC9B,SAAS,EAAE,MAAM,CAAC,aAAa,EAAA,CAC/B,EACa,CAAA,EACjBA,qBAAC,CAAA,MAAM,CAAC,OAAO,o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QAAQ,EAAI,CAAA,EAAA,CAC3D,CACD,EAAA,CAAA,EAAA,CACH,EACN;AACJ,EAAE;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
@@ -32,6 +32,15 @@ const flex = index.cva(flex_module.default.flex, {
32
32
  wrapReverse: flex_module.default["wrap-wrapReverse"],
33
33
  },
34
34
  gap: {
35
+ 1: flex_module.default["gap-1"],
36
+ 2: flex_module.default["gap-2"],
37
+ 3: flex_module.default["gap-3"],
38
+ 4: flex_module.default["gap-4"],
39
+ 5: flex_module.default["gap-5"],
40
+ 6: flex_module.default["gap-6"],
41
+ 7: flex_module.default["gap-7"],
42
+ 8: flex_module.default["gap-8"],
43
+ 9: flex_module.default["gap-9"],
35
44
  "extra-small": flex_module.default["gap-xs"],
36
45
  small: flex_module.default["gap-sm"],
37
46
  medium: flex_module.default["gap-md"],
@@ -1 +1 @@
1
- {"version":3,"file":"flex.cjs","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["cva","styles","forwardRef","_jsx"],"mappings":";;;;;;;AAKA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,GAAG,EAAEA,mBAAM,CAAC,eAAe,CAAC;AAC5B,YAAA,MAAM,EAAEA,mBAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,UAAU,EAAEA,mBAAM,CAAC,sBAAsB,CAAC;AAC1C,YAAA,aAAa,EAAEA,mBAAM,CAAC,yBAAyB,CAAC;AACjD,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,KAAK,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC5B,YAAA,MAAM,EAAEA,mBAAM,CAAC,cAAc,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,WAAW,CAAC;AACxB,YAAA,OAAO,EAAEA,mBAAM,CAAC,eAAe,CAAC;AAChC,YAAA,QAAQ,EAAEA,mBAAM,CAAC,gBAAgB,CAAC;AACnC,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,EAAEA,mBAAM,CAAC,eAAe,CAAC;AAC9B,YAAA,MAAM,EAAEA,mBAAM,CAAC,gBAAgB,CAAC;AAChC,YAAA,GAAG,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC1B,YAAA,OAAO,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AACnC,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,MAAM,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,IAAI,EAAEA,mBAAM,CAAC,WAAW,CAAC;AACzB,YAAA,WAAW,EAAEA,mBAAM,CAAC,kBAAkB,CAAC;AACxC,SAAA;AACD,QAAA,GAAG,EAAE;AACH,YAAA,aAAa,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AAC/B,YAAA,KAAK,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACvB,YAAA,MAAM,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACxB,YAAA,KAAK,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACvB,YAAA,aAAa,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AAChC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,SAAS,EAAE,KAAK;AAChB,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKI,MAAM,IAAI,GAAGC,gBAAU,CAC5B,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEC,gCAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
1
+ {"version":3,"file":"flex.cjs","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n 1: styles[\"gap-1\"],\n 2: styles[\"gap-2\"],\n 3: styles[\"gap-3\"],\n 4: styles[\"gap-4\"],\n 5: styles[\"gap-5\"],\n 6: styles[\"gap-6\"],\n 7: styles[\"gap-7\"],\n 8: styles[\"gap-8\"],\n 9: styles[\"gap-9\"],\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["cva","styles","forwardRef","_jsx"],"mappings":";;;;;;;AAKA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B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,EAAEA,mBAAM,CAAC,OAAO,CAAC;AAClB,YAAA,CAAC,EAAEA,mBAAM,CAAC,OAAO,CAAC;AAClB,YAAA,CAAC,EAAEA,mBAAM,CAAC,OAAO,CAAC;AAClB,YAAA,CAAC,EAAEA,mBAAM,CAAC,OAAO,CAAC;AAClB,YAAA,CAAC,EAAEA,mBAAM,CAAC,OAAO,CAAC;AAClB,YAAA,aAAa,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AAC/B,YAAA,KAAK,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACvB,YAAA,MAAM,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACxB,YAAA,KAAK,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AACvB,YAAA,aAAa,EAAEA,mBAAM,CAAC,QAAQ,CAAC;AAChC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,SAAS,EAAE,KAAK;AAChB,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKI,MAAM,IAAI,GAAGC,gBAAU,CAC5B,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEC,gCAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
@@ -5,7 +5,7 @@ export declare const Flex: import("react").ForwardRefExoticComponent<VariantProp
5
5
  align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
6
6
  justify?: "start" | "center" | "end" | "between" | null | undefined;
7
7
  wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
8
- gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
8
+ gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
10
10
  children?: import("react").ReactNode;
11
11
  } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../v1/components/flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AAiDtE,eAAO,MAAM,IAAI;;;;;;;;mFAehB,CAAC"}
1
+ {"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../v1/components/flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AA0DtE,eAAO,MAAM,IAAI;;;;;;;;mFAehB,CAAC"}
@@ -30,6 +30,15 @@ const flex = cva(styles.flex, {
30
30
  wrapReverse: styles["wrap-wrapReverse"],
31
31
  },
32
32
  gap: {
33
+ 1: styles["gap-1"],
34
+ 2: styles["gap-2"],
35
+ 3: styles["gap-3"],
36
+ 4: styles["gap-4"],
37
+ 5: styles["gap-5"],
38
+ 6: styles["gap-6"],
39
+ 7: styles["gap-7"],
40
+ 8: styles["gap-8"],
41
+ 9: styles["gap-9"],
33
42
  "extra-small": styles["gap-xs"],
34
43
  small: styles["gap-sm"],
35
44
  medium: styles["gap-md"],
@@ -1 +1 @@
1
- {"version":3,"file":"flex.js","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;AAKA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,GAAG,EAAE,MAAM,CAAC,eAAe,CAAC;AAC5B,YAAA,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA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Q;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKI,MAAM,IAAI,GAAG,UAAU,CAC5B,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEA,qBAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
1
+ {"version":3,"file":"flex.js","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n 1: styles[\"gap-1\"],\n 2: styles[\"gap-2\"],\n 3: styles[\"gap-3\"],\n 4: styles[\"gap-4\"],\n 5: styles[\"gap-5\"],\n 6: styles[\"gap-6\"],\n 7: styles[\"gap-7\"],\n 8: styles[\"gap-8\"],\n 9: styles[\"gap-9\"],\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;AAKA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,GAAG,EAAE,MAAM,CAAC,eAAe,CAAC;AAC5B,YAAA,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,UAAU,EAAE,MAAM,CAAC,sBAAsB,CAAC;AAC1C,YAAA,aAAa,EAAE,MAAM,CAAC,yBAAyB,CAAC;AACjD,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,KAAK,EAAE,MAAM,CAAC,aAAa,CAAC;AAC5B,YAAA,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;AAC9B,YAAA,GAAG,EAAE,MAAM,CAAC,WAAW,CAAC;AACxB,YAAA,OAAO,EAAE,MAAM,CAAC,eAAe,CAAC;AAChC,YAAA,QAAQ,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACnC,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,EAAE,MAAM,CAAC,eAAe,CAAC;AAC9B,YAAA,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAChC,YAAA,GAAG,EAAE,MAAM,CAA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AAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEA,qBAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc"};
5
+ var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","gap-1":"flex-module_gap-1__oXYV2","gap-2":"flex-module_gap-2__EkH82","gap-3":"flex-module_gap-3__MdG1V","gap-4":"flex-module_gap-4__LteTu","gap-5":"flex-module_gap-5__RGfOW","gap-6":"flex-module_gap-6__cjVhp","gap-7":"flex-module_gap-7__64Ulj","gap-8":"flex-module_gap-8__ZLXCo","gap-9":"flex-module_gap-9__qs4Nl","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc","gap___1":"flex-module_gap-1__oXYV2","gap___2":"flex-module_gap-2__EkH82","gap___3":"flex-module_gap-3__MdG1V","gap___4":"flex-module_gap-4__LteTu","gap___5":"flex-module_gap-5__RGfOW","gap___6":"flex-module_gap-6__cjVhp","gap___7":"flex-module_gap-7__64Ulj","gap___8":"flex-module_gap-8__ZLXCo","gap___9":"flex-module_gap-9__qs4Nl"};
6
6
 
7
7
  exports.default = styles;
8
8
  //# sourceMappingURL=flex.module.css.cjs.map
@@ -1,4 +1,4 @@
1
- var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc"};
1
+ var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","gap-1":"flex-module_gap-1__oXYV2","gap-2":"flex-module_gap-2__EkH82","gap-3":"flex-module_gap-3__MdG1V","gap-4":"flex-module_gap-4__LteTu","gap-5":"flex-module_gap-5__RGfOW","gap-6":"flex-module_gap-6__cjVhp","gap-7":"flex-module_gap-7__64Ulj","gap-8":"flex-module_gap-8__ZLXCo","gap-9":"flex-module_gap-9__qs4Nl","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc","gap___1":"flex-module_gap-1__oXYV2","gap___2":"flex-module_gap-2__EkH82","gap___3":"flex-module_gap-3__MdG1V","gap___4":"flex-module_gap-4__LteTu","gap___5":"flex-module_gap-5__RGfOW","gap___6":"flex-module_gap-6__cjVhp","gap___7":"flex-module_gap-7__64Ulj","gap___8":"flex-module_gap-8__ZLXCo","gap___9":"flex-module_gap-9__qs4Nl"};
2
2
 
3
3
  export { styles as default };
4
4
  //# sourceMappingURL=flex.module.css.js.map
@@ -18,7 +18,7 @@ const iconButton = index.cva(iconButton_module.default.iconButton, {
18
18
  size: 2,
19
19
  },
20
20
  });
21
- const IconButton = React.forwardRef(({ className, size, disabled, children, 'aria-label': ariaLabel, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("button", { ref: ref, className: iconButton({ size, className }), disabled: disabled, type: "button", "aria-label": ariaLabel, "aria-disabled": disabled, ...props, children: jsxRuntime.jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: children }) })));
21
+ const IconButton = React.forwardRef(({ className, size, disabled, children, 'aria-label': ariaLabel, style, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("button", { ref: ref, className: iconButton({ size, className }), disabled: disabled, type: "button", "aria-label": ariaLabel, "aria-disabled": disabled, style: style, ...props, children: jsxRuntime.jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: children }) })));
22
22
  IconButton.displayName = 'IconButton';
23
23
 
24
24
  exports.IconButton = IconButton;
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.cjs","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ElementRef, forwardRef } from \"react\";\n\nimport styles from './icon-button.module.css';\n\nconst iconButton = cva(styles.iconButton, {\n variants: {\n size: {\n 1: styles[\"iconButton-size-1\"],\n 2: styles[\"iconButton-size-2\"],\n 3: styles[\"iconButton-size-3\"],\n 4: styles[\"iconButton-size-4\"],\n }\n },\n defaultVariants: {\n size: 2,\n },\n});\n\nexport interface IconButtonProps\n extends ComponentPropsWithoutRef<\"button\">,\n VariantProps<typeof iconButton> {\n size?: 1 | 2 | 3 | 4;\n 'aria-label'?: string;\n}\n\nexport const IconButton = forwardRef<ElementRef<\"button\">, IconButtonProps>(\n ({ className, size, disabled, children, 'aria-label': ariaLabel, ...props }, ref) => (\n <button\n ref={ref}\n className={iconButton({ size, className })}\n disabled={disabled}\n type=\"button\"\n aria-label={ariaLabel}\n aria-disabled={disabled}\n {...props}\n >\n <div aria-hidden=\"true\">\n {children}\n </div>\n </button>\n )\n);\n\nIconButton.displayName = 'IconButton';\n"],"names":["cva","styles","forwardRef","_jsx"],"mappings":";;;;;;;AAKA,MAAM,UAAU,GAAGA,SAAG,CAACC,yBAAM,CAAC,UAAU,EAAE;AACxC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,CAAC;AACR,KAAA;AACF,CAAA,CAAC,CAAC;AASI,MAAM,UAAU,GAAGC,gBAAU,CAClC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC9EC,gCAAA,CAAA,QAAA,EAAA,EACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAC1C,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,QAAQ,EAAA,YAAA,EACD,SAAS,EAAA,eAAA,EACN,QAAQ,EAAA,GACnB,KAAK,EAET,QAAA,EAAAA,gCAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,MAAM,EAAA,QAAA,EACpB,QAAQ,EAAA,CACL,EACC,CAAA,CACV,EACD;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
1
+ {"version":3,"file":"icon-button.cjs","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ElementRef, forwardRef } from \"react\";\n\nimport styles from './icon-button.module.css';\n\nconst iconButton = cva(styles.iconButton, {\n variants: {\n size: {\n 1: styles[\"iconButton-size-1\"],\n 2: styles[\"iconButton-size-2\"],\n 3: styles[\"iconButton-size-3\"],\n 4: styles[\"iconButton-size-4\"],\n }\n },\n defaultVariants: {\n size: 2,\n },\n});\n\nexport interface IconButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof iconButton> {\n size?: 1 | 2 | 3 | 4;\n 'aria-label'?: string;\n}\n\nexport const IconButton = forwardRef<ElementRef<\"button\">, IconButtonProps>(\n ({ \n className, \n size, \n disabled, \n children, \n 'aria-label': ariaLabel,\n style,\n ...props \n }, ref) => (\n <button\n ref={ref}\n className={iconButton({ size, className })}\n disabled={disabled}\n type=\"button\"\n aria-label={ariaLabel}\n aria-disabled={disabled}\n style={style}\n {...props}\n >\n <div aria-hidden=\"true\">\n {children}\n </div>\n </button>\n )\n);\n\nIconButton.displayName = 'IconButton';\n"],"names":["cva","styles","forwardRef","_jsx"],"mappings":";;;;;;;AAKA,MAAM,UAAU,GAAGA,SAAG,CAACC,yBAAM,CAAC,UAAU,EAAE;AACxC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAEA,yBAAM,CAAC,mBAAmB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,CAAC;AACR,KAAA;AACF,CAAA,CAAC,CAAC;AASI,MAAM,UAAU,GAAGC,gBAAU,CAClC,CAAC,EACC,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,GAAG,MACJC,gCACE,CAAA,QAAA,EAAA,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAC1C,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,QAAQ,EAAA,YAAA,EACD,SAAS,EAAA,eAAA,EACN,QAAQ,EACvB,KAAK,EAAE,KAAK,KACR,KAAK,EAAA,QAAA,EAETA,gCAAiB,CAAA,KAAA,EAAA,EAAA,aAAA,EAAA,MAAM,YACpB,QAAQ,EAAA,CACL,EACC,CAAA,CACV,EACD;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
@@ -1,9 +1,8 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
- import { ComponentPropsWithoutRef } from "react";
3
2
  declare const iconButton: (props?: ({
4
3
  size?: 1 | 2 | 3 | 4 | null | undefined;
5
4
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
- export interface IconButtonProps extends ComponentPropsWithoutRef<"button">, VariantProps<typeof iconButton> {
5
+ export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButton> {
7
6
  size?: 1 | 2 | 3 | 4;
8
7
  'aria-label'?: string;
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAIzE,QAAA,MAAM,UAAU;;mFAYd,CAAC;AAEH,MAAM,WAAW,eACf,SAAQ,wBAAwB,CAAC,QAAQ,CAAC,EACxC,YAAY,CAAC,OAAO,UAAU,CAAC;IACjC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,+GAgBtB,CAAC"}
1
+ {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAK7D,QAAA,MAAM,UAAU;;mFAYd,CAAC;AAEH,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,UAAU,CAAC;IACjC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,+GAyBtB,CAAC"}
@@ -16,7 +16,7 @@ const iconButton = cva(styles.iconButton, {
16
16
  size: 2,
17
17
  },
18
18
  });
19
- const IconButton = forwardRef(({ className, size, disabled, children, 'aria-label': ariaLabel, ...props }, ref) => (jsxRuntimeExports.jsx("button", { ref: ref, className: iconButton({ size, className }), disabled: disabled, type: "button", "aria-label": ariaLabel, "aria-disabled": disabled, ...props, children: jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: children }) })));
19
+ const IconButton = forwardRef(({ className, size, disabled, children, 'aria-label': ariaLabel, style, ...props }, ref) => (jsxRuntimeExports.jsx("button", { ref: ref, className: iconButton({ size, className }), disabled: disabled, type: "button", "aria-label": ariaLabel, "aria-disabled": disabled, style: style, ...props, children: jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: children }) })));
20
20
  IconButton.displayName = 'IconButton';
21
21
 
22
22
  export { IconButton };
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.js","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ElementRef, forwardRef } from \"react\";\n\nimport styles from './icon-button.module.css';\n\nconst iconButton = cva(styles.iconButton, {\n variants: {\n size: {\n 1: styles[\"iconButton-size-1\"],\n 2: styles[\"iconButton-size-2\"],\n 3: styles[\"iconButton-size-3\"],\n 4: styles[\"iconButton-size-4\"],\n }\n },\n defaultVariants: {\n size: 2,\n },\n});\n\nexport interface IconButtonProps\n extends ComponentPropsWithoutRef<\"button\">,\n VariantProps<typeof iconButton> {\n size?: 1 | 2 | 3 | 4;\n 'aria-label'?: string;\n}\n\nexport const IconButton = forwardRef<ElementRef<\"button\">, IconButtonProps>(\n ({ className, size, disabled, children, 'aria-label': ariaLabel, ...props }, ref) => (\n <button\n ref={ref}\n className={iconButton({ size, className })}\n disabled={disabled}\n type=\"button\"\n aria-label={ariaLabel}\n aria-disabled={disabled}\n {...props}\n >\n <div aria-hidden=\"true\">\n {children}\n </div>\n </button>\n )\n);\n\nIconButton.displayName = 'IconButton';\n"],"names":["_jsx"],"mappings":";;;;;AAKA,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE;AACxC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,CAAC;AACR,KAAA;AACF,CAAA,CAAC,CAAC;AASI,MAAM,UAAU,GAAG,UAAU,CAClC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC9EA,qBAAA,CAAA,QAAA,EAAA,EACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAC1C,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,QAAQ,EAAA,YAAA,EACD,SAAS,EAAA,eAAA,EACN,QAAQ,EAAA,GACnB,KAAK,EAET,QAAA,EAAAA,qBAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,MAAM,EAAA,QAAA,EACpB,QAAQ,EAAA,CACL,EACC,CAAA,CACV,EACD;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
1
+ {"version":3,"file":"icon-button.js","sources":["../../../../v1/components/icon-button/icon-button.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ElementRef, forwardRef } from \"react\";\n\nimport styles from './icon-button.module.css';\n\nconst iconButton = cva(styles.iconButton, {\n variants: {\n size: {\n 1: styles[\"iconButton-size-1\"],\n 2: styles[\"iconButton-size-2\"],\n 3: styles[\"iconButton-size-3\"],\n 4: styles[\"iconButton-size-4\"],\n }\n },\n defaultVariants: {\n size: 2,\n },\n});\n\nexport interface IconButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof iconButton> {\n size?: 1 | 2 | 3 | 4;\n 'aria-label'?: string;\n}\n\nexport const IconButton = forwardRef<ElementRef<\"button\">, IconButtonProps>(\n ({ \n className, \n size, \n disabled, \n children, \n 'aria-label': ariaLabel,\n style,\n ...props \n }, ref) => (\n <button\n ref={ref}\n className={iconButton({ size, className })}\n disabled={disabled}\n type=\"button\"\n aria-label={ariaLabel}\n aria-disabled={disabled}\n style={style}\n {...props}\n >\n <div aria-hidden=\"true\">\n {children}\n </div>\n </button>\n )\n);\n\nIconButton.displayName = 'IconButton';\n"],"names":["_jsx"],"mappings":";;;;;AAKA,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE;AACxC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9B,YAAA,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,CAAC;AACR,KAAA;AACF,CAAA,CAAC,CAAC;AASI,MAAM,UAAU,GAAG,UAAU,CAClC,CAAC,EACC,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,GAAG,MACJA,qBACE,CAAA,QAAA,EAAA,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAC1C,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,QAAQ,EAAA,YAAA,EACD,SAAS,EAAA,eAAA,EACN,QAAQ,EACvB,KAAK,EAAE,KAAK,KACR,KAAK,EAAA,QAAA,EAETA,qBAAiB,CAAA,KAAA,EAAA,EAAA,aAAA,EAAA,MAAM,YACpB,QAAQ,EAAA,CACL,EACC,CAAA,CACV,EACD;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}