@raystack/apsara 0.31.0 → 0.32.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 (241) 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/select/select.cjs +3 -0
  12. package/dist/select/select.cjs.map +1 -1
  13. package/dist/select/select.d.ts.map +1 -1
  14. package/dist/select/select.js +3 -0
  15. package/dist/select/select.js.map +1 -1
  16. package/dist/sheet/sheet.cjs +9 -0
  17. package/dist/sheet/sheet.cjs.map +1 -1
  18. package/dist/sheet/sheet.d.ts +12 -0
  19. package/dist/sheet/sheet.d.ts.map +1 -1
  20. package/dist/sheet/sheet.js +9 -0
  21. package/dist/sheet/sheet.js.map +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/table/table.cjs +24 -0
  24. package/dist/table/table.cjs.map +1 -1
  25. package/dist/table/table.d.ts.map +1 -1
  26. package/dist/table/table.js +24 -0
  27. package/dist/table/table.js.map +1 -1
  28. package/dist/toggle-group/togglegroup.cjs +9 -0
  29. package/dist/toggle-group/togglegroup.cjs.map +1 -1
  30. package/dist/toggle-group/togglegroup.d.ts.map +1 -1
  31. package/dist/toggle-group/togglegroup.js +9 -0
  32. package/dist/toggle-group/togglegroup.js.map +1 -1
  33. package/dist/v1/components/calendar/range-picker.cjs +2 -2
  34. package/dist/v1/components/calendar/range-picker.cjs.map +1 -1
  35. package/dist/v1/components/calendar/range-picker.d.ts +5 -1
  36. package/dist/v1/components/calendar/range-picker.d.ts.map +1 -1
  37. package/dist/v1/components/calendar/range-picker.js +2 -2
  38. package/dist/v1/components/calendar/range-picker.js.map +1 -1
  39. package/dist/v1/components/chip/chip.cjs +6 -6
  40. package/dist/v1/components/chip/chip.cjs.map +1 -1
  41. package/dist/v1/components/chip/chip.d.ts +3 -3
  42. package/dist/v1/components/chip/chip.d.ts.map +1 -1
  43. package/dist/v1/components/chip/chip.js +6 -6
  44. package/dist/v1/components/chip/chip.js.map +1 -1
  45. package/dist/v1/components/chip/chip.module.css.cjs +1 -1
  46. package/dist/v1/components/chip/chip.module.css.js +1 -1
  47. package/dist/v1/components/command/command.cjs +52 -0
  48. package/dist/v1/components/command/command.cjs.map +1 -0
  49. package/dist/v1/components/command/command.d.ts +2 -0
  50. package/dist/v1/components/command/command.d.ts.map +1 -0
  51. package/dist/v1/components/command/command.js +50 -0
  52. package/dist/v1/components/command/command.js.map +1 -0
  53. package/dist/v1/components/command/command.module.css.cjs +8 -0
  54. package/dist/v1/components/command/command.module.css.cjs.map +1 -0
  55. package/dist/v1/components/command/command.module.css.js +4 -0
  56. package/dist/v1/components/command/command.module.css.js.map +1 -0
  57. package/dist/v1/components/command/index.d.ts +2 -0
  58. package/dist/v1/components/command/index.d.ts.map +1 -0
  59. package/dist/v1/components/dialog/dialog.cjs +32 -0
  60. package/dist/v1/components/dialog/dialog.cjs.map +1 -0
  61. package/dist/v1/components/dialog/dialog.d.ts +26 -0
  62. package/dist/v1/components/dialog/dialog.d.ts.map +1 -0
  63. package/dist/v1/components/dialog/dialog.js +29 -0
  64. package/dist/v1/components/dialog/dialog.js.map +1 -0
  65. package/dist/v1/components/dialog/dialog.module.css.cjs +8 -0
  66. package/dist/v1/components/dialog/dialog.module.css.cjs.map +1 -0
  67. package/dist/v1/components/dialog/dialog.module.css.js +4 -0
  68. package/dist/v1/components/dialog/dialog.module.css.js.map +1 -0
  69. package/dist/v1/components/dialog/index.d.ts +2 -0
  70. package/dist/v1/components/dialog/index.d.ts.map +1 -0
  71. package/dist/v1/components/flex/flex.cjs +9 -0
  72. package/dist/v1/components/flex/flex.cjs.map +1 -1
  73. package/dist/v1/components/flex/flex.d.ts +1 -1
  74. package/dist/v1/components/flex/flex.d.ts.map +1 -1
  75. package/dist/v1/components/flex/flex.js +9 -0
  76. package/dist/v1/components/flex/flex.js.map +1 -1
  77. package/dist/v1/components/flex/flex.module.css.cjs +1 -1
  78. package/dist/v1/components/flex/flex.module.css.js +1 -1
  79. package/dist/v1/components/icon-button/icon-button.cjs +1 -1
  80. package/dist/v1/components/icon-button/icon-button.cjs.map +1 -1
  81. package/dist/v1/components/icon-button/icon-button.d.ts +1 -2
  82. package/dist/v1/components/icon-button/icon-button.d.ts.map +1 -1
  83. package/dist/v1/components/icon-button/icon-button.js +1 -1
  84. package/dist/v1/components/icon-button/icon-button.js.map +1 -1
  85. package/dist/v1/components/input-field/input-field.module.css.cjs +1 -1
  86. package/dist/v1/components/input-field/input-field.module.css.js +1 -1
  87. package/dist/v1/components/select/select.cjs +5 -5
  88. package/dist/v1/components/select/select.cjs.map +1 -1
  89. package/dist/v1/components/select/select.d.ts +12 -1
  90. package/dist/v1/components/select/select.d.ts.map +1 -1
  91. package/dist/v1/components/select/select.js +5 -5
  92. package/dist/v1/components/select/select.js.map +1 -1
  93. package/dist/v1/components/select/select.module.css.cjs +1 -1
  94. package/dist/v1/components/select/select.module.css.js +1 -1
  95. package/dist/v1/components/sheet/index.d.ts +2 -0
  96. package/dist/v1/components/sheet/index.d.ts.map +1 -0
  97. package/dist/v1/components/sheet/sheet.cjs +48 -0
  98. package/dist/v1/components/sheet/sheet.cjs.map +1 -0
  99. package/dist/v1/components/sheet/sheet.d.ts +35 -0
  100. package/dist/v1/components/sheet/sheet.d.ts.map +1 -0
  101. package/dist/v1/components/sheet/sheet.js +43 -0
  102. package/dist/v1/components/sheet/sheet.js.map +1 -0
  103. package/dist/v1/components/sheet/sheet.module.css.cjs +8 -0
  104. package/dist/v1/components/sheet/sheet.module.css.cjs.map +1 -0
  105. package/dist/v1/components/sheet/sheet.module.css.js +4 -0
  106. package/dist/v1/components/sheet/sheet.module.css.js.map +1 -0
  107. package/dist/v1/components/table/index.d.ts +2 -0
  108. package/dist/v1/components/table/index.d.ts.map +1 -0
  109. package/dist/v1/components/table/table.cjs +44 -0
  110. package/dist/v1/components/table/table.cjs.map +1 -0
  111. package/dist/v1/components/table/table.d.ts +30 -0
  112. package/dist/v1/components/table/table.d.ts.map +1 -0
  113. package/dist/v1/components/table/table.js +42 -0
  114. package/dist/v1/components/table/table.js.map +1 -0
  115. package/dist/v1/components/table/table.module.css.cjs +8 -0
  116. package/dist/v1/components/table/table.module.css.cjs.map +1 -0
  117. package/dist/v1/components/table/table.module.css.js +4 -0
  118. package/dist/v1/components/table/table.module.css.js.map +1 -0
  119. package/dist/v1/components/tooltip/tooltip.cjs +3 -2
  120. package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
  121. package/dist/v1/components/tooltip/tooltip.d.ts +8 -2
  122. package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
  123. package/dist/v1/components/tooltip/tooltip.js +3 -2
  124. package/dist/v1/components/tooltip/tooltip.js.map +1 -1
  125. package/dist/v1/index.cjs +10 -0
  126. package/dist/v1/index.cjs.map +1 -1
  127. package/dist/v1/index.d.ts +5 -0
  128. package/dist/v1/index.d.ts.map +1 -1
  129. package/dist/v1/index.js +5 -0
  130. package/dist/v1/index.js.map +1 -1
  131. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs +11 -0
  132. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs.map +1 -0
  133. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js +9 -0
  134. package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js.map +1 -0
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs +146 -0
  207. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs.map +1 -0
  208. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js +142 -0
  209. package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js.map +1 -0
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. 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
  231. 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
  232. 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
  233. 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
  234. 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
  235. 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
  236. 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
  237. 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
  238. 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
  239. 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
  240. package/dist/v1/style.css +1 -1
  241. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var styles = {"container":"input-field-module_container__EO1UE","label":"input-field-module_label__FIn-3","label-disabled":"input-field-module_label-disabled__YTPfz","input-wrapper":"input-field-module_input-wrapper__8El8V","leading-icon":"input-field-module_leading-icon__J2Bif","trailing-icon":"input-field-module_trailing-icon__dNS8s","input-field":"input-field-module_input-field__M-gOb","input-default":"input-field-module_input-default__mI0I1","input-error":"input-field-module_input-error__uiUqP","input-disabled":"input-field-module_input-disabled__Wpj4W","helper-text":"input-field-module_helper-text__PclGf","helper-text-error":"input-field-module_helper-text-error__1NSM-","helper-text-disabled":"input-field-module_helper-text-disabled__QcIBu","has-leading-icon":"input-field-module_has-leading-icon__Yxj6I","has-trailing-icon":"input-field-module_has-trailing-icon__uA7mP","optional":"input-field-module_optional__awrgj","has-chips":"input-field-module_has-chips__OvxNF","chip":"input-field-module_chip__Z2zua","chip-input-container":"input-field-module_chip-input-container__FJsHY","size-large":"input-field-module_size-large__nA2yK","size-small":"input-field-module_size-small__FFwSX","chip-overflow":"input-field-module_chip-overflow__n9kta","has-prefix":"input-field-module_has-prefix__wV726","has-suffix":"input-field-module_has-suffix__UgqC6","label___disabled":"input-field-module_label-disabled__YTPfz","input___wrapper":"input-field-module_input-wrapper__8El8V","leading___icon":"input-field-module_leading-icon__J2Bif","trailing___icon":"input-field-module_trailing-icon__dNS8s","input___field":"input-field-module_input-field__M-gOb","input___default":"input-field-module_input-default__mI0I1","input___error":"input-field-module_input-error__uiUqP","input___disabled":"input-field-module_input-disabled__Wpj4W","helper___text":"input-field-module_helper-text__PclGf","helper___text___error":"input-field-module_helper-text-error__1NSM-","helper___text___disabled":"input-field-module_helper-text-disabled__QcIBu","has___leading___icon":"input-field-module_has-leading-icon__Yxj6I","has___trailing___icon":"input-field-module_has-trailing-icon__uA7mP","has___chips":"input-field-module_has-chips__OvxNF","chip___input___container":"input-field-module_chip-input-container__FJsHY","size___large":"input-field-module_size-large__nA2yK","size___small":"input-field-module_size-small__FFwSX","chip___overflow":"input-field-module_chip-overflow__n9kta","has___prefix":"input-field-module_has-prefix__wV726","has___suffix":"input-field-module_has-suffix__UgqC6"};
5
+ var styles = {"container":"input-field-module_container__EO1UE","label":"input-field-module_label__FIn-3","label-disabled":"input-field-module_label-disabled__YTPfz","leading-icon":"input-field-module_leading-icon__J2Bif","trailing-icon":"input-field-module_trailing-icon__dNS8s","size-small":"input-field-module_size-small__FFwSX","size-large":"input-field-module_size-large__nA2yK","input-field":"input-field-module_input-field__M-gOb","input-default":"input-field-module_input-default__mI0I1","input-error":"input-field-module_input-error__uiUqP","input-disabled":"input-field-module_input-disabled__Wpj4W","helper-text":"input-field-module_helper-text__PclGf","helper-text-error":"input-field-module_helper-text-error__1NSM-","helper-text-disabled":"input-field-module_helper-text-disabled__QcIBu","has-leading-icon":"input-field-module_has-leading-icon__Yxj6I","has-trailing-icon":"input-field-module_has-trailing-icon__uA7mP","optional":"input-field-module_optional__awrgj","has-chips":"input-field-module_has-chips__OvxNF","chip":"input-field-module_chip__Z2zua","chip-input-container":"input-field-module_chip-input-container__FJsHY","chip-overflow":"input-field-module_chip-overflow__n9kta","prefix":"input-field-module_prefix__WBsMj","suffix":"input-field-module_suffix__LiSQ0","has-prefix":"input-field-module_has-prefix__wV726","has-suffix":"input-field-module_has-suffix__UgqC6","label___disabled":"input-field-module_label-disabled__YTPfz","leading___icon":"input-field-module_leading-icon__J2Bif","trailing___icon":"input-field-module_trailing-icon__dNS8s","size___small":"input-field-module_size-small__FFwSX","size___large":"input-field-module_size-large__nA2yK","input___field":"input-field-module_input-field__M-gOb","input___default":"input-field-module_input-default__mI0I1","input___error":"input-field-module_input-error__uiUqP","input___disabled":"input-field-module_input-disabled__Wpj4W","helper___text":"input-field-module_helper-text__PclGf","helper___text___error":"input-field-module_helper-text-error__1NSM-","helper___text___disabled":"input-field-module_helper-text-disabled__QcIBu","has___leading___icon":"input-field-module_has-leading-icon__Yxj6I","has___trailing___icon":"input-field-module_has-trailing-icon__uA7mP","has___chips":"input-field-module_has-chips__OvxNF","chip___input___container":"input-field-module_chip-input-container__FJsHY","chip___overflow":"input-field-module_chip-overflow__n9kta","has___prefix":"input-field-module_has-prefix__wV726","has___suffix":"input-field-module_has-suffix__UgqC6"};
6
6
 
7
7
  exports.default = styles;
8
8
  //# sourceMappingURL=input-field.module.css.cjs.map
@@ -1,4 +1,4 @@
1
- var styles = {"container":"input-field-module_container__EO1UE","label":"input-field-module_label__FIn-3","label-disabled":"input-field-module_label-disabled__YTPfz","input-wrapper":"input-field-module_input-wrapper__8El8V","leading-icon":"input-field-module_leading-icon__J2Bif","trailing-icon":"input-field-module_trailing-icon__dNS8s","input-field":"input-field-module_input-field__M-gOb","input-default":"input-field-module_input-default__mI0I1","input-error":"input-field-module_input-error__uiUqP","input-disabled":"input-field-module_input-disabled__Wpj4W","helper-text":"input-field-module_helper-text__PclGf","helper-text-error":"input-field-module_helper-text-error__1NSM-","helper-text-disabled":"input-field-module_helper-text-disabled__QcIBu","has-leading-icon":"input-field-module_has-leading-icon__Yxj6I","has-trailing-icon":"input-field-module_has-trailing-icon__uA7mP","optional":"input-field-module_optional__awrgj","has-chips":"input-field-module_has-chips__OvxNF","chip":"input-field-module_chip__Z2zua","chip-input-container":"input-field-module_chip-input-container__FJsHY","size-large":"input-field-module_size-large__nA2yK","size-small":"input-field-module_size-small__FFwSX","chip-overflow":"input-field-module_chip-overflow__n9kta","has-prefix":"input-field-module_has-prefix__wV726","has-suffix":"input-field-module_has-suffix__UgqC6","label___disabled":"input-field-module_label-disabled__YTPfz","input___wrapper":"input-field-module_input-wrapper__8El8V","leading___icon":"input-field-module_leading-icon__J2Bif","trailing___icon":"input-field-module_trailing-icon__dNS8s","input___field":"input-field-module_input-field__M-gOb","input___default":"input-field-module_input-default__mI0I1","input___error":"input-field-module_input-error__uiUqP","input___disabled":"input-field-module_input-disabled__Wpj4W","helper___text":"input-field-module_helper-text__PclGf","helper___text___error":"input-field-module_helper-text-error__1NSM-","helper___text___disabled":"input-field-module_helper-text-disabled__QcIBu","has___leading___icon":"input-field-module_has-leading-icon__Yxj6I","has___trailing___icon":"input-field-module_has-trailing-icon__uA7mP","has___chips":"input-field-module_has-chips__OvxNF","chip___input___container":"input-field-module_chip-input-container__FJsHY","size___large":"input-field-module_size-large__nA2yK","size___small":"input-field-module_size-small__FFwSX","chip___overflow":"input-field-module_chip-overflow__n9kta","has___prefix":"input-field-module_has-prefix__wV726","has___suffix":"input-field-module_has-suffix__UgqC6"};
1
+ var styles = {"container":"input-field-module_container__EO1UE","label":"input-field-module_label__FIn-3","label-disabled":"input-field-module_label-disabled__YTPfz","leading-icon":"input-field-module_leading-icon__J2Bif","trailing-icon":"input-field-module_trailing-icon__dNS8s","size-small":"input-field-module_size-small__FFwSX","size-large":"input-field-module_size-large__nA2yK","input-field":"input-field-module_input-field__M-gOb","input-default":"input-field-module_input-default__mI0I1","input-error":"input-field-module_input-error__uiUqP","input-disabled":"input-field-module_input-disabled__Wpj4W","helper-text":"input-field-module_helper-text__PclGf","helper-text-error":"input-field-module_helper-text-error__1NSM-","helper-text-disabled":"input-field-module_helper-text-disabled__QcIBu","has-leading-icon":"input-field-module_has-leading-icon__Yxj6I","has-trailing-icon":"input-field-module_has-trailing-icon__uA7mP","optional":"input-field-module_optional__awrgj","has-chips":"input-field-module_has-chips__OvxNF","chip":"input-field-module_chip__Z2zua","chip-input-container":"input-field-module_chip-input-container__FJsHY","chip-overflow":"input-field-module_chip-overflow__n9kta","prefix":"input-field-module_prefix__WBsMj","suffix":"input-field-module_suffix__LiSQ0","has-prefix":"input-field-module_has-prefix__wV726","has-suffix":"input-field-module_has-suffix__UgqC6","label___disabled":"input-field-module_label-disabled__YTPfz","leading___icon":"input-field-module_leading-icon__J2Bif","trailing___icon":"input-field-module_trailing-icon__dNS8s","size___small":"input-field-module_size-small__FFwSX","size___large":"input-field-module_size-large__nA2yK","input___field":"input-field-module_input-field__M-gOb","input___default":"input-field-module_input-default__mI0I1","input___error":"input-field-module_input-error__uiUqP","input___disabled":"input-field-module_input-disabled__Wpj4W","helper___text":"input-field-module_helper-text__PclGf","helper___text___error":"input-field-module_helper-text-error__1NSM-","helper___text___disabled":"input-field-module_helper-text-disabled__QcIBu","has___leading___icon":"input-field-module_has-leading-icon__Yxj6I","has___trailing___icon":"input-field-module_has-trailing-icon__uA7mP","has___chips":"input-field-module_has-chips__OvxNF","chip___input___container":"input-field-module_chip-input-container__FJsHY","chip___overflow":"input-field-module_chip-overflow__n9kta","has___prefix":"input-field-module_has-prefix__wV726","has___suffix":"input-field-module_has-suffix__UgqC6"};
2
2
 
3
3
  export { styles as default };
4
4
  //# sourceMappingURL=input-field.module.css.js.map
@@ -30,8 +30,8 @@ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
30
30
  const trigger = index$1.cva(select_module.default.trigger, {
31
31
  variants: {
32
32
  size: {
33
- small: select_module.default["trigger-sm"],
34
- medium: select_module.default["trigger-md"],
33
+ small: select_module.default["trigger-small"],
34
+ medium: select_module.default["trigger-medium"],
35
35
  },
36
36
  variant: {
37
37
  default: "",
@@ -43,13 +43,13 @@ const trigger = index$1.cva(select_module.default.trigger, {
43
43
  variant: "default",
44
44
  },
45
45
  });
46
- const SelectTrigger = React__namespace.forwardRef(({ size, variant, className, children, iconProps = {}, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsxs(index.Trigger, { ref: ref, className: trigger({ size, variant, className }), ...props, children: [children, variant !== 'filter' && (jsxRuntime.jsxRuntimeExports.jsx(index.Icon, { asChild: true, children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.ChevronDownIcon, { className: select_module.default.triggerIcon, ...iconProps }) }))] })));
46
+ const SelectTrigger = React__namespace.forwardRef(({ size, variant, className, children, iconProps = {}, 'aria-label': ariaLabel, style, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsxs(index.Trigger, { ref: ref, className: trigger({ size, variant, className }), "aria-label": ariaLabel || 'Select option', role: "combobox", style: style, ...props, children: [children, variant !== 'filter' && (jsxRuntime.jsxRuntimeExports.jsx(index.Icon, { asChild: true, children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.ChevronDownIcon, { className: select_module.default.triggerIcon, "aria-hidden": "true", ...iconProps }) }))] })));
47
47
  SelectTrigger.displayName = index.Trigger.displayName;
48
48
  const content = index$1.cva(select_module.default.content);
49
- const SelectContent = React__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Portal, { children: jsxRuntime.jsxRuntimeExports.jsx(index.Content, { ref: ref, className: content({ className }), position: position, ...props, children: children }) })));
49
+ const SelectContent = React__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Portal, { children: jsxRuntime.jsxRuntimeExports.jsx(index.Content, { ref: ref, className: content({ className }), position: position, role: "listbox", ...props, children: children }) })));
50
50
  SelectContent.displayName = index.Content.displayName;
51
51
  const menuitem = index$1.cva(select_module.default.menuitem);
52
- const SelectItem = React__namespace.forwardRef(({ className, textProps = {}, children, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Item, { ref: ref, className: menuitem({ className }), ...props, children: jsxRuntime.jsxRuntimeExports.jsx(index.ItemText, { children: jsxRuntime.jsxRuntimeExports.jsx(text.Text, { ...textProps, children: children }) }) })));
52
+ const SelectItem = React__namespace.forwardRef(({ className, textProps = {}, children, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Item, { ref: ref, className: menuitem({ className }), role: "option", ...props, children: jsxRuntime.jsxRuntimeExports.jsx(index.ItemText, { children: jsxRuntime.jsxRuntimeExports.jsx(text.Text, { ...textProps, children: children }) }) })));
53
53
  SelectItem.displayName = index.Item.displayName;
54
54
  const separator = index$1.cva(select_module.default.separator);
55
55
  const SelectSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Separator, { ref: ref, className: separator({ className }), ...props })));
@@ -1 +1 @@
1
- {"version":3,"file":"select.cjs","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { Text } from \"../text\";\nimport { TextProps } from \"../text/text\";\nimport styles from \"./select.module.css\";\n\nexport interface IconProps extends React.SVGAttributes<SVGElement> {\n children?: never;\n color?: string;\n}\n\nconst trigger = cva(styles.trigger, {\n variants: {\n size: {\n small: styles[\"trigger-sm\"],\n medium: styles[\"trigger-md\"],\n },\n variant: {\n default: \"\",\n filter: styles[\"trigger-filter\"],\n }\n },\n defaultVariants: {\n size: \"medium\",\n variant: \"default\",\n },\n});\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &\n React.PropsWithChildren<VariantProps<typeof trigger>> & {\n iconProps?: IconProps;\n }\n>(({ size, variant, className, children, iconProps = {}, ...props }, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={trigger({ size, variant, className })}\n {...props}\n >\n {children}\n\n {variant !== 'filter' && (\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon className={styles.triggerIcon} {...iconProps} />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n));\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst content = cva(styles.content);\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &\n React.PropsWithChildren<VariantProps<typeof content>>\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={content({ className })}\n position={position}\n {...props}\n >\n {children}\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst menuitem = cva(styles.menuitem);\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & {\n textProps?: TextProps;\n }\n>(({ className, textProps = {}, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={menuitem({ className })}\n {...props}\n >\n <SelectPrimitive.ItemText>\n <Text {...textProps}>{children}</Text>\n </SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst separator = cva(styles.separator);\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={separator({ className })}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport const Select = Object.assign(SelectPrimitive.Root, {\n Group: SelectPrimitive.Group,\n Value: SelectPrimitive.Value,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectSeparator,\n});\n"],"names":["cva","styles","React","_jsxs","SelectPrimitive.Trigger","_jsx","SelectPrimitive.Icon","ChevronDownIcon","SelectPrimitive.Portal","SelectPrimitive.Content","SelectPrimitive.Item","SelectPrimitive.ItemText","Text","SelectPrimitive.Separator","SelectPrimitive.Root","SelectPrimitive.Group","SelectPrimitive.Value","SelectPrimitive.ScrollDownButton","SelectPrimitive.Viewport"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAM,OAAO,GAAGA,WAAG,CAACC,qBAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,qBAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAEA,qBAAM,CAAC,YAAY,CAAC;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,EAAE;AACX,YAAA,MAAM,EAAEA,qBAAM,CAAC,gBAAgB,CAAC;AACjC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,OAAO,EAAE,SAAS;AACnB,KAAA;AACF,CAAA,CAAC,CAAC;AAEH,MAAM,aAAa,GAAGC,gBAAK,CAAC,UAAU,CAMpC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAA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AAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MACvDG,gCAAA,CAACK,UAAoB,EAAA,EACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,EAC9B,GAAA,KAAK,EAET,QAAA,EAAAL,gCAAA,CAACM,cAAwB,EAAA,EAAA,QAAA,EACvBN,gCAAC,CAAAO,SAAI,EAAK,EAAA,GAAA,SAAS,EAAG,QAAA,EAAA,QAAQ,EAAQ,CAAA,EAAA,CACb,EACN,CAAA,CACxB,CAAC,CAAC;AACH,UAAU,CAAC,WAAW,GAAGF,UAAoB,CAAC,WAAW,CAAC;AAE1D,MAAM,SAAS,GAAGV,WAAG,CAACC,qBAAM,CAAC,SAAS,CAAC,CAAC;AACxC,MAAM,eAAe,GAAGC,gBAAK,CAAC,UAAU,CAGtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC7BG,gCAAA,CAACQ,eAAyB,EACxB,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,EAAA,GAC/B,KAAK,EACT,CAAA,CACH,CAAC,CAAC;AACH,eAAe,CAAC,WAAW,GAAGA,eAAyB,CAAC,WAAW,CAAC;AAEvD,MAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAACC,UAAoB,EAAE;IACxD,KAAK,EAAEC,WAAqB;IAC5B,KAAK,EAAEC,WAAqB;IAC5B,cAAc,EAAEC,sBAAgC;IAChD,gBAAgB,EAAEA,sBAAgC;IAClD,QAAQ,EAAEC,cAAwB;AAClC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,SAAS,EAAE,eAAe;AAC3B,CAAA;;;;"}
1
+ {"version":3,"file":"select.cjs","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { Text } from \"../text\";\nimport { TextProps } from \"../text/text\";\nimport styles from \"./select.module.css\";\n\ninterface AriaProps {\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n 'aria-required'?: boolean;\n 'aria-invalid'?: boolean;\n}\n\ninterface TriggerStyleProps {\n style?: React.CSSProperties;\n className?: string;\n}\n\nexport interface IconProps extends React.SVGAttributes<SVGElement> {\n children?: never;\n color?: string;\n}\n\nconst trigger = cva(styles.trigger, {\n variants: {\n size: {\n small: styles[\"trigger-small\"],\n medium: styles[\"trigger-medium\"],\n },\n variant: {\n default: \"\",\n filter: styles[\"trigger-filter\"],\n }\n },\n defaultVariants: {\n size: \"medium\",\n variant: \"default\",\n },\n});\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &\n React.PropsWithChildren<VariantProps<typeof trigger>> & {\n iconProps?: IconProps;\n } &\n AriaProps &\n TriggerStyleProps\n>(({ \n size, \n variant, \n className, \n children, \n iconProps = {}, \n 'aria-label': ariaLabel,\n style,\n ...props \n}, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={trigger({ size, variant, className })}\n aria-label={ariaLabel || 'Select option'}\n role=\"combobox\"\n style={style}\n {...props}\n >\n {children}\n {variant !== 'filter' && (\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon \n className={styles.triggerIcon} \n aria-hidden=\"true\"\n {...iconProps} \n />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n));\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst content = cva(styles.content);\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &\n React.PropsWithChildren<VariantProps<typeof content>>\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={content({ className })}\n position={position}\n role=\"listbox\"\n {...props}\n >\n {children}\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst menuitem = cva(styles.menuitem);\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & {\n textProps?: TextProps;\n }\n>(({ className, textProps = {}, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={menuitem({ className })}\n role=\"option\"\n {...props}\n >\n <SelectPrimitive.ItemText>\n <Text {...textProps}>{children}</Text>\n </SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst separator = cva(styles.separator);\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={separator({ className })}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport const Select = Object.assign(SelectPrimitive.Root, {\n Group: SelectPrimitive.Group,\n Value: SelectPrimitive.Value,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectSeparator,\n});\n"],"names":["cva","styles","React","_jsxs","SelectPrimitive.Trigger","_jsx","SelectPrimitive.Icon","ChevronDownIcon","SelectPrimitive.Portal","SelectPrimitive.Content","SelectPrimitive.Item","SelectPrimitive.ItemText","Text","SelectPrimitive.Separator","SelectPrimitive.Root","SelectPrimitive.Group","SelectPr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AC,WAAW,CAAC;AAE1D,MAAM,SAAS,GAAGV,WAAG,CAACC,qBAAM,CAAC,SAAS,CAAC,CAAC;AACxC,MAAM,eAAe,GAAGC,gBAAK,CAAC,UAAU,CAGtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC7BG,gCAAA,CAACQ,eAAyB,EACxB,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,EAAA,GAC/B,KAAK,EACT,CAAA,CACH,CAAC,CAAC;AACH,eAAe,CAAC,WAAW,GAAGA,eAAyB,CAAC,WAAW,CAAC;AAEvD,MAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAACC,UAAoB,EAAE;IACxD,KAAK,EAAEC,WAAqB;IAC5B,KAAK,EAAEC,WAAqB;IAC5B,cAAc,EAAEC,sBAAgC;IAChD,gBAAgB,EAAEA,sBAAgC;IAClD,QAAQ,EAAEC,cAAwB;AAClC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,SAAS,EAAE,eAAe;AAC3B,CAAA;;;;"}
@@ -2,6 +2,16 @@ import * as SelectPrimitive from "@radix-ui/react-select";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React from "react";
4
4
  import { TextProps } from "../text/text";
5
+ interface AriaProps {
6
+ 'aria-label'?: string;
7
+ 'aria-describedby'?: string;
8
+ 'aria-required'?: boolean;
9
+ 'aria-invalid'?: boolean;
10
+ }
11
+ interface TriggerStyleProps {
12
+ style?: React.CSSProperties;
13
+ className?: string;
14
+ }
5
15
  export interface IconProps extends React.SVGAttributes<SVGElement> {
6
16
  children?: never;
7
17
  color?: string;
@@ -19,7 +29,7 @@ export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
19
29
  children?: React.ReactNode;
20
30
  } & {
21
31
  iconProps?: IconProps | undefined;
22
- } & React.RefAttributes<HTMLButtonElement>>;
32
+ } & AriaProps & TriggerStyleProps & React.RefAttributes<HTMLButtonElement>>;
23
33
  Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
24
34
  children?: React.ReactNode;
25
35
  } & React.RefAttributes<HTMLDivElement>>;
@@ -28,4 +38,5 @@ export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
28
38
  } & React.RefAttributes<HTMLDivElement>>;
29
39
  Separator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
40
  };
41
+ export {};
31
42
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../v1/components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA6FD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../v1/components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,UAAU,SAAS;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAkHD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
@@ -9,8 +9,8 @@ import styles from './select.module.css.js';
9
9
  const trigger = cva(styles.trigger, {
10
10
  variants: {
11
11
  size: {
12
- small: styles["trigger-sm"],
13
- medium: styles["trigger-md"],
12
+ small: styles["trigger-small"],
13
+ medium: styles["trigger-medium"],
14
14
  },
15
15
  variant: {
16
16
  default: "",
@@ -22,13 +22,13 @@ const trigger = cva(styles.trigger, {
22
22
  variant: "default",
23
23
  },
24
24
  });
25
- const SelectTrigger = React.forwardRef(({ size, variant, className, children, iconProps = {}, ...props }, ref) => (jsxRuntimeExports.jsxs(Trigger, { ref: ref, className: trigger({ size, variant, className }), ...props, children: [children, variant !== 'filter' && (jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronDownIcon, { className: styles.triggerIcon, ...iconProps }) }))] })));
25
+ const SelectTrigger = React.forwardRef(({ size, variant, className, children, iconProps = {}, 'aria-label': ariaLabel, style, ...props }, ref) => (jsxRuntimeExports.jsxs(Trigger, { ref: ref, className: trigger({ size, variant, className }), "aria-label": ariaLabel || 'Select option', role: "combobox", style: style, ...props, children: [children, variant !== 'filter' && (jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronDownIcon, { className: styles.triggerIcon, "aria-hidden": "true", ...iconProps }) }))] })));
26
26
  SelectTrigger.displayName = Trigger.displayName;
27
27
  const content = cva(styles.content);
28
- const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsx(Content2, { ref: ref, className: content({ className }), position: position, ...props, children: children }) })));
28
+ const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsx(Content2, { ref: ref, className: content({ className }), position: position, role: "listbox", ...props, children: children }) })));
29
29
  SelectContent.displayName = Content2.displayName;
30
30
  const menuitem = cva(styles.menuitem);
31
- const SelectItem = React.forwardRef(({ className, textProps = {}, children, ...props }, ref) => (jsxRuntimeExports.jsx(Item, { ref: ref, className: menuitem({ className }), ...props, children: jsxRuntimeExports.jsx(ItemText, { children: jsxRuntimeExports.jsx(Text, { ...textProps, children: children }) }) })));
31
+ const SelectItem = React.forwardRef(({ className, textProps = {}, children, ...props }, ref) => (jsxRuntimeExports.jsx(Item, { ref: ref, className: menuitem({ className }), role: "option", ...props, children: jsxRuntimeExports.jsx(ItemText, { children: jsxRuntimeExports.jsx(Text, { ...textProps, children: children }) }) })));
32
32
  SelectItem.displayName = Item.displayName;
33
33
  const separator = cva(styles.separator);
34
34
  const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Separator, { ref: ref, className: separator({ className }), ...props })));
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { Text } from \"../text\";\nimport { TextProps } from \"../text/text\";\nimport styles from \"./select.module.css\";\n\nexport interface IconProps extends React.SVGAttributes<SVGElement> {\n children?: never;\n color?: string;\n}\n\nconst trigger = cva(styles.trigger, {\n variants: {\n size: {\n small: styles[\"trigger-sm\"],\n medium: styles[\"trigger-md\"],\n },\n variant: {\n default: \"\",\n filter: styles[\"trigger-filter\"],\n }\n },\n defaultVariants: {\n size: \"medium\",\n variant: \"default\",\n },\n});\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &\n React.PropsWithChildren<VariantProps<typeof trigger>> & {\n iconProps?: IconProps;\n }\n>(({ size, variant, className, children, iconProps = {}, ...props }, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={trigger({ size, variant, className })}\n {...props}\n >\n {children}\n\n {variant !== 'filter' && (\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon className={styles.triggerIcon} {...iconProps} />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n));\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst content = cva(styles.content);\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &\n React.PropsWithChildren<VariantProps<typeof content>>\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={content({ className })}\n position={position}\n {...props}\n >\n {children}\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst menuitem = cva(styles.menuitem);\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & {\n textProps?: TextProps;\n }\n>(({ className, textProps = {}, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={menuitem({ className })}\n {...props}\n >\n <SelectPrimitive.ItemText>\n <Text {...textProps}>{children}</Text>\n </SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst separator = cva(styles.separator);\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={separator({ className })}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport const Select = Object.assign(SelectPrimitive.Root, {\n Group: SelectPrimitive.Group,\n Value: SelectPrimitive.Value,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectSeparator,\n});\n"],"names":["_jsxs","SelectPrimitive.Trigger","_jsx","SelectPrimitive.Icon","SelectPrimitive.Portal","SelectPrimitive.Content","SelectPrimitive.Item","SelectPrimitive.ItemText","SelectPrimitive.Separator","SelectPrimitive.Root","SelectPrimitive.Group","SelectPrimitive.Value","SelectPrimitive.ScrollDownButton","SelectPrimitive.Viewport"],"mappings":";;;;;;;;AAcA,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,EAAE;AACX,YAAA,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACjC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,OAAO,EAAE,SAAS;AAC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,EAAE,UAAU;AAChB,IAAA,SAAS,EAAE,eAAe;AAC3B,CAAA;;;;"}
1
+ {"version":3,"file":"select.js","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { Text } from \"../text\";\nimport { TextProps } from \"../text/text\";\nimport styles from \"./select.module.css\";\n\ninterface AriaProps {\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n 'aria-required'?: boolean;\n 'aria-invalid'?: boolean;\n}\n\ninterface TriggerStyleProps {\n style?: React.CSSProperties;\n className?: string;\n}\n\nexport interface IconProps extends React.SVGAttributes<SVGElement> {\n children?: never;\n color?: string;\n}\n\nconst trigger = cva(styles.trigger, {\n variants: {\n size: {\n small: styles[\"trigger-small\"],\n medium: styles[\"trigger-medium\"],\n },\n variant: {\n default: \"\",\n filter: styles[\"trigger-filter\"],\n }\n },\n defaultVariants: {\n size: \"medium\",\n variant: \"default\",\n },\n});\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &\n React.PropsWithChildren<VariantProps<typeof trigger>> & {\n iconProps?: IconProps;\n } &\n AriaProps &\n TriggerStyleProps\n>(({ \n size, \n variant, \n className, \n children, \n iconProps = {}, \n 'aria-label': ariaLabel,\n style,\n ...props \n}, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={trigger({ size, variant, className })}\n aria-label={ariaLabel || 'Select option'}\n role=\"combobox\"\n style={style}\n {...props}\n >\n {children}\n {variant !== 'filter' && (\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon \n className={styles.triggerIcon} \n aria-hidden=\"true\"\n {...iconProps} \n />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n));\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst content = cva(styles.content);\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &\n React.PropsWithChildren<VariantProps<typeof content>>\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={content({ className })}\n position={position}\n role=\"listbox\"\n {...props}\n >\n {children}\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst menuitem = cva(styles.menuitem);\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & {\n textProps?: TextProps;\n }\n>(({ className, textProps = {}, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={menuitem({ className })}\n role=\"option\"\n {...props}\n >\n <SelectPrimitive.ItemText>\n <Text {...textProps}>{children}</Text>\n </SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst separator = cva(styles.separator);\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={separator({ className })}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport const Select = Object.assign(SelectPrimitive.Root, {\n Group: SelectPrimitive.Group,\n Value: SelectPrimitive.Value,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectSeparator,\n});\n"],"names":["_jsxs","SelectPrimitive.Trigger","_jsx","SelectPrimitive.Icon","SelectPrimitive.Portal","SelectPrimitive.Content","SelectPrimitive.Item","SelectPrimitive.ItemText","SelectPrimitive.Separator","SelectPrimitive.Root","SelectPrimitive.Group","SelectPrimitive.Value","SelectPrimitive.ScrollDownButton","SelectPrimitive.Viewport"],"mappings":";;;;;;;;AA0BA,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,eAAe,CAAC;AAC9B,YAAA,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACjC,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,EAAE;AACX,YAAA,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACjC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,OAAO,EAAE,SAAS;AACnB,KAAA;AACF,CAAA,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAQpC,CAAC,EACD,IAAI,EACJ,OAAO,EACP,SAAS,EACT,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,YAAY,EAAE,SAAS,EACvB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,GAAG,MACJA,sBAAC,CAAAC,OAAuB,EAAA,EACtB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,EAAA,YAAA,EACpC,SAAS,IAAI,eAAe,EACxC,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EAAA,GACR,KAAK,EAAA,QAAA,EAAA,CAER,QAAQ,EACR,OAAO,KAAK,QAAQ,KACnBC,sBAACC,IAAoB,EAAC,EAAA,OAAO,kBAC3BD,qBAAC,CAAA,eAAe,EACd,EAAA,SAAS,EAAE,MAAM,CAAC,WAA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N,CAAA,CACxB,CAAC,CAAC;AACH,UAAU,CAAC,WAAW,GAAGI,IAAoB,CAAC,WAAW,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AACxC,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAGtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC7BJ,qBAAA,CAACM,SAAyB,EACxB,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,EAAA,GAC/B,KAAK,EACT,CAAA,CACH,CAAC,CAAC;AACH,eAAe,CAAC,WAAW,GAAGA,SAAyB,CAAC,WAAW,CAAC;AAEvD,MAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAACC,KAAoB,EAAE;IACxD,KAAK,EAAEC,KAAqB;IAC5B,KAAK,EAAEC,KAAqB;IAC5B,cAAc,EAAEC,gBAAgC;IAChD,gBAAgB,EAAEA,gBAAgC;IAClD,QAAQ,EAAEC,QAAwB;AAClC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,SAAS,EAAE,eAAe;AAC3B,CAAA;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var styles = {"content":"select-module_content__wLQoN","menuitem":"select-module_menuitem__BTQat","separator":"select-module_separator__7YD2G","menugroup":"select-module_menugroup__h7nP9","trigger":"select-module_trigger__8XPsA","trigger-sm":"select-module_trigger-sm__HBvz9","trigger-md":"select-module_trigger-md__lNQl3","triggerIcon":"select-module_triggerIcon__cZGjN","trigger-filter":"select-module_trigger-filter__Mdvcq","trigger___sm":"select-module_trigger-sm__HBvz9","trigger___md":"select-module_trigger-md__lNQl3","trigger___filter":"select-module_trigger-filter__Mdvcq"};
5
+ var styles = {"content":"select-module_content__wLQoN","menuitem":"select-module_menuitem__BTQat","separator":"select-module_separator__7YD2G","menugroup":"select-module_menugroup__h7nP9","trigger":"select-module_trigger__8XPsA","trigger-small":"select-module_trigger-small__krYBJ","trigger-medium":"select-module_trigger-medium__0vmIM","triggerIcon":"select-module_triggerIcon__cZGjN","trigger-filter":"select-module_trigger-filter__Mdvcq","trigger___small":"select-module_trigger-small__krYBJ","trigger___medium":"select-module_trigger-medium__0vmIM","trigger___filter":"select-module_trigger-filter__Mdvcq"};
6
6
 
7
7
  exports.default = styles;
8
8
  //# sourceMappingURL=select.module.css.cjs.map
@@ -1,4 +1,4 @@
1
- var styles = {"content":"select-module_content__wLQoN","menuitem":"select-module_menuitem__BTQat","separator":"select-module_separator__7YD2G","menugroup":"select-module_menugroup__h7nP9","trigger":"select-module_trigger__8XPsA","trigger-sm":"select-module_trigger-sm__HBvz9","trigger-md":"select-module_trigger-md__lNQl3","triggerIcon":"select-module_triggerIcon__cZGjN","trigger-filter":"select-module_trigger-filter__Mdvcq","trigger___sm":"select-module_trigger-sm__HBvz9","trigger___md":"select-module_trigger-md__lNQl3","trigger___filter":"select-module_trigger-filter__Mdvcq"};
1
+ var styles = {"content":"select-module_content__wLQoN","menuitem":"select-module_menuitem__BTQat","separator":"select-module_separator__7YD2G","menugroup":"select-module_menugroup__h7nP9","trigger":"select-module_trigger__8XPsA","trigger-small":"select-module_trigger-small__krYBJ","trigger-medium":"select-module_trigger-medium__0vmIM","triggerIcon":"select-module_triggerIcon__cZGjN","trigger-filter":"select-module_trigger-filter__Mdvcq","trigger___small":"select-module_trigger-small__krYBJ","trigger___medium":"select-module_trigger-medium__0vmIM","trigger___filter":"select-module_trigger-filter__Mdvcq"};
2
2
 
3
3
  export { styles as default };
4
4
  //# sourceMappingURL=select.module.css.js.map
@@ -0,0 +1,2 @@
1
+ export { Sheet } from './sheet';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/sheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
+ var index = require('../../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');
5
+ var reactIcons_esm = require('../../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');
6
+ var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
7
+ var React = require('react');
8
+ var sheet_module = require('./sheet.module.css.cjs');
9
+
10
+ const sheetContent = index$1.cva(sheet_module.default.sheetContent, {
11
+ variants: {
12
+ side: {
13
+ top: sheet_module.default["sheetContent-top"],
14
+ bottom: sheet_module.default["sheetContent-bottom"],
15
+ left: sheet_module.default["sheetContent-left"],
16
+ right: sheet_module.default["sheetContent-right"],
17
+ },
18
+ },
19
+ defaultVariants: {
20
+ side: "right",
21
+ },
22
+ });
23
+ const SheetContent = React.forwardRef(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {
24
+ return (jsxRuntime.jsxRuntimeExports.jsx(index.Portal, { children: jsxRuntime.jsxRuntimeExports.jsx(Overlay, { children: jsxRuntime.jsxRuntimeExports.jsxs(index.Content, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), "aria-label": ariaLabel || "Sheet with overlay", "aria-describedby": ariaDescription ? "sheet with overlay" : undefined, role: "dialog", tabIndex: -1, children: [children, close && (jsxRuntime.jsxRuntimeExports.jsx(CloseButton, { "aria-label": "Close sheet", children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.Cross1Icon, { "aria-hidden": "true" }) })), ariaDescription && (jsxRuntime.jsxRuntimeExports.jsx("div", { id: "sheet-description", className: "sr-only", children: ariaDescription }))] }) }) }));
25
+ });
26
+ const overlay = index$1.cva(sheet_module.default.overlay);
27
+ const Overlay = React.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Overlay, { ref: ref, className: overlay({ className }), "aria-hidden": "true", role: "presentation", ...props })));
28
+ Overlay.displayName = index.Overlay.displayName;
29
+ const close = index$1.cva(sheet_module.default.close);
30
+ function CloseButton({ children, className, ...props }) {
31
+ return (jsxRuntime.jsxRuntimeExports.jsx(index.Close, { className: close({ className }), ...props, "aria-label": "Close", children: children }));
32
+ }
33
+ function RootSheet({ children, ariaLabel, ...props }) {
34
+ return (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { ...props, children: children }));
35
+ }
36
+ const Sheet = Object.assign(RootSheet, {
37
+ Trigger: index.Trigger,
38
+ Content: SheetContent,
39
+ Close: index.Close,
40
+ Title: index.Title,
41
+ Description: index.Description,
42
+ });
43
+
44
+ exports.CloseButton = CloseButton;
45
+ exports.RootSheet = RootSheet;
46
+ exports.Sheet = Sheet;
47
+ exports.SheetContent = SheetContent;
48
+ //# sourceMappingURL=sheet.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.cjs","sources":["../../../../v1/components/sheet/sheet.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport {\n ComponentProps,\n ComponentPropsWithoutRef,\n ElementRef,\n forwardRef,\n} from \"react\";\n\nimport styles from \"./sheet.module.css\";\n\nconst sheetContent = cva(styles.sheetContent, {\n variants: {\n side: {\n top: styles[\"sheetContent-top\"],\n bottom: styles[\"sheetContent-bottom\"],\n left: styles[\"sheetContent-left\"],\n right: styles[\"sheetContent-right\"],\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\nexport interface DialogContentProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>,\n VariantProps<typeof sheetContent> {\n ariaLabel?: string;\n ariaDescription?: string;\n}\n\nexport const SheetContent = forwardRef<\n ElementRef<typeof DialogPrimitive.Content>,\n DialogContentProps & { close?: boolean; children?: React.ReactNode }\n>(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {\n return (\n <DialogPrimitive.Portal>\n <Overlay>\n <DialogPrimitive.Content\n {...props}\n ref={forwardedRef}\n className={sheetContent({ side, className })}\n aria-label={ariaLabel || \"Sheet with overlay\"}\n aria-describedby={ariaDescription ? \"sheet with overlay\" : undefined}\n role=\"dialog\"\n tabIndex={-1}\n >\n {children}\n {close && (\n <CloseButton aria-label=\"Close sheet\">\n <Cross1Icon aria-hidden=\"true\" />\n </CloseButton>\n )}\n {ariaDescription && (\n <div id=\"sheet-description\" className=\"sr-only\">\n {ariaDescription}\n </div>\n )}\n </DialogPrimitive.Content>\n </Overlay>\n </DialogPrimitive.Portal>\n );\n});\n\nconst overlay = cva(styles.overlay);\nexport interface OverlayProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>,\n VariantProps<typeof overlay> {}\n\nconst Overlay = forwardRef<\n ElementRef<typeof DialogPrimitive.Overlay>,\n OverlayProps\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={overlay({ className })}\n aria-hidden=\"true\"\n role=\"presentation\"\n {...props}\n />\n));\n\nOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst close = cva(styles.close);\ntype CloseButtonProps = ComponentProps<typeof DialogPrimitive.Close>;\n\nexport function CloseButton({\n children,\n className,\n ...props\n}: CloseButtonProps) {\n return (\n <DialogPrimitive.Close \n className={close({ className })} \n {...props}\n aria-label=\"Close\"\n >\n {children}\n </DialogPrimitive.Close>\n );\n}\n\ntype SheetProps = ComponentProps<typeof DialogPrimitive.Root> & {\n ariaLabel?: string;\n};\n\nexport function RootSheet({ children, ariaLabel, ...props }: SheetProps) {\n return (\n <DialogPrimitive.Root {...props}>\n {children}\n </DialogPrimitive.Root>\n );\n}\n\nexport const Sheet = Object.assign(RootSheet, {\n Trigger: DialogPrimitive.Trigger,\n Content: SheetContent,\n Close: DialogPrimitive.Close,\n Title: DialogPrimitive.Title,\n Description: DialogPrimitive.Description,\n}); "],"names":["cva","styles","forwardRef","_jsx","DialogPrimitive.Portal","_jsxs","DialogPrimitive.Content","Cross1Icon","DialogPrimitive.Overlay","DialogPrimitive.Close","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":";;;;;;;;;AAYA,MAAM,YAAY,GAAGA,WAAG,CAACC,oBAAM,CAAC,YAAY,EAAE;AAC5C,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,GAAG,EAAEA,oBAAM,CAAC,kBAAkB,CAAC;AAC/B,YAAA,MAAM,EAAEA,oBAAM,CAAC,qBAAqB,CAAC;AACrC,YAAA,IAAI,EAAEA,oBAAM,CAAC,mBAAmB,CAAC;AACjC,YAAA,KAAK,EAAEA,oBAAM,CAAC,oBAAoB,CAAC;AACpC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,OAAO;AACd,KAAA;AACF,CAAA,CAAC,CAAC;AASU,MAAA,YAAY,GAAGC,gBAAU,CAGpC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,KAAI;AAC7F,IAAA,QACEC,gCAAC,CAAAC,YAAsB,EAAA,EAAA,QAAA,EACrBD,iCAAC,OAAO,EAAA,EAAA,QAAA,EACNE,kCAACC,aAAuB,EAClB,EAAA,GAAA,KAAK,EACT,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,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E,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;IACrE,QACEN,gCAAC,CAAAO,UAAoB,EAAK,EAAA,GAAA,KAAK,EAC5B,QAAA,EAAA,QAAQ,EACY,CAAA,EACvB;AACJ,CAAC;MAEY,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;IAC5C,OAAO,EAAEC,aAAuB;AAChC,IAAA,OAAO,EAAE,YAAY;IACrB,KAAK,EAAEF,WAAqB;IAC5B,KAAK,EAAEG,WAAqB;IAC5B,WAAW,EAAEC,iBAA2B;AACzC,CAAA;;;;;;;"}
@@ -0,0 +1,35 @@
1
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
2
+ import { VariantProps } from "class-variance-authority";
3
+ import { ComponentProps, ComponentPropsWithoutRef } from "react";
4
+ declare const sheetContent: (props?: ({
5
+ side?: "top" | "right" | "bottom" | "left" | null | undefined;
6
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
+ export interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetContent> {
8
+ ariaLabel?: string;
9
+ ariaDescription?: string;
10
+ }
11
+ export declare const SheetContent: import("react").ForwardRefExoticComponent<DialogContentProps & {
12
+ close?: boolean | undefined;
13
+ children?: React.ReactNode;
14
+ } & import("react").RefAttributes<HTMLDivElement>>;
15
+ declare const overlay: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
16
+ export interface OverlayProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, VariantProps<typeof overlay> {
17
+ }
18
+ type CloseButtonProps = ComponentProps<typeof DialogPrimitive.Close>;
19
+ export declare function CloseButton({ children, className, ...props }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
20
+ type SheetProps = ComponentProps<typeof DialogPrimitive.Root> & {
21
+ ariaLabel?: string;
22
+ };
23
+ export declare function RootSheet({ children, ariaLabel, ...props }: SheetProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare const Sheet: typeof RootSheet & {
25
+ Trigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
26
+ Content: import("react").ForwardRefExoticComponent<DialogContentProps & {
27
+ close?: boolean | undefined;
28
+ children?: React.ReactNode;
29
+ } & import("react").RefAttributes<HTMLDivElement>>;
30
+ Close: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
31
+ Title: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
32
+ Description: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
33
+ };
34
+ export {};
35
+ //# sourceMappingURL=sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../v1/components/sheet/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,YAAY;;mFAYhB,CAAC;AAEH,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY;;eAE4B,MAAM,SAAS;kDA6BlE,CAAC;AAEH,QAAA,MAAM,OAAO,yFAAsB,CAAC;AACpC,MAAM,WAAW,YACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,OAAO,CAAC;CAAG;AAkBnC,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAErE,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAUlB;AAED,KAAK,UAAU,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAMtE;AAED,eAAO,MAAM,KAAK;;;;mBAlFmC,MAAM,SAAS;;;;;CAwFlE,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
+ import { Portal as $5d3850c4d0b4e6c7$export$602eac185826482c, Content as $5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, Overlay as $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, Close as $5d3850c4d0b4e6c7$export$f39c2d165cd861fe, Trigger as $5d3850c4d0b4e6c7$export$41fb9f06171c75f4, Title as $5d3850c4d0b4e6c7$export$f99233281efd08a0, Description as $5d3850c4d0b4e6c7$export$393edc798c47379d, Root as $5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9 } from '../../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';
3
+ import { Cross1Icon } from '../../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';
4
+ import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
5
+ import { forwardRef } from 'react';
6
+ import styles from './sheet.module.css.js';
7
+
8
+ const sheetContent = cva(styles.sheetContent, {
9
+ variants: {
10
+ side: {
11
+ top: styles["sheetContent-top"],
12
+ bottom: styles["sheetContent-bottom"],
13
+ left: styles["sheetContent-left"],
14
+ right: styles["sheetContent-right"],
15
+ },
16
+ },
17
+ defaultVariants: {
18
+ side: "right",
19
+ },
20
+ });
21
+ const SheetContent = forwardRef(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {
22
+ return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay, { children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), "aria-label": ariaLabel || "Sheet with overlay", "aria-describedby": ariaDescription ? "sheet with overlay" : undefined, role: "dialog", tabIndex: -1, children: [children, close && (jsxRuntimeExports.jsx(CloseButton, { "aria-label": "Close sheet", children: jsxRuntimeExports.jsx(Cross1Icon, { "aria-hidden": "true" }) })), ariaDescription && (jsxRuntimeExports.jsx("div", { id: "sheet-description", className: "sr-only", children: ariaDescription }))] }) }) }));
23
+ });
24
+ const overlay = cva(styles.overlay);
25
+ const Overlay = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), "aria-hidden": "true", role: "presentation", ...props })));
26
+ Overlay.displayName = $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff.displayName;
27
+ const close = cva(styles.close);
28
+ function CloseButton({ children, className, ...props }) {
29
+ return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { className: close({ className }), ...props, "aria-label": "Close", children: children }));
30
+ }
31
+ function RootSheet({ children, ariaLabel, ...props }) {
32
+ return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { ...props, children: children }));
33
+ }
34
+ const Sheet = Object.assign(RootSheet, {
35
+ Trigger: $5d3850c4d0b4e6c7$export$41fb9f06171c75f4,
36
+ Content: SheetContent,
37
+ Close: $5d3850c4d0b4e6c7$export$f39c2d165cd861fe,
38
+ Title: $5d3850c4d0b4e6c7$export$f99233281efd08a0,
39
+ Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
40
+ });
41
+
42
+ export { CloseButton, RootSheet, Sheet, SheetContent };
43
+ //# sourceMappingURL=sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.js","sources":["../../../../v1/components/sheet/sheet.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport {\n ComponentProps,\n ComponentPropsWithoutRef,\n ElementRef,\n forwardRef,\n} from \"react\";\n\nimport styles from \"./sheet.module.css\";\n\nconst sheetContent = cva(styles.sheetContent, {\n variants: {\n side: {\n top: styles[\"sheetContent-top\"],\n bottom: styles[\"sheetContent-bottom\"],\n left: styles[\"sheetContent-left\"],\n right: styles[\"sheetContent-right\"],\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\nexport interface DialogContentProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>,\n VariantProps<typeof sheetContent> {\n ariaLabel?: string;\n ariaDescription?: string;\n}\n\nexport const SheetContent = forwardRef<\n ElementRef<typeof DialogPrimitive.Content>,\n DialogContentProps & { close?: boolean; children?: React.ReactNode }\n>(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {\n return (\n <DialogPrimitive.Portal>\n <Overlay>\n <DialogPrimitive.Content\n {...props}\n ref={forwardedRef}\n className={sheetContent({ side, className })}\n aria-label={ariaLabel || \"Sheet with overlay\"}\n aria-describedby={ariaDescription ? \"sheet with overlay\" : undefined}\n role=\"dialog\"\n tabIndex={-1}\n >\n {children}\n {close && (\n <CloseButton aria-label=\"Close sheet\">\n <Cross1Icon aria-hidden=\"true\" />\n </CloseButton>\n )}\n {ariaDescription && (\n <div id=\"sheet-description\" className=\"sr-only\">\n {ariaDescription}\n </div>\n )}\n </DialogPrimitive.Content>\n </Overlay>\n </DialogPrimitive.Portal>\n );\n});\n\nconst overlay = cva(styles.overlay);\nexport interface OverlayProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>,\n VariantProps<typeof overlay> {}\n\nconst Overlay = forwardRef<\n ElementRef<typeof DialogPrimitive.Overlay>,\n OverlayProps\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={overlay({ className })}\n aria-hidden=\"true\"\n role=\"presentation\"\n {...props}\n />\n));\n\nOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst close = cva(styles.close);\ntype CloseButtonProps = ComponentProps<typeof DialogPrimitive.Close>;\n\nexport function CloseButton({\n children,\n className,\n ...props\n}: CloseButtonProps) {\n return (\n <DialogPrimitive.Close \n className={close({ className })} \n {...props}\n aria-label=\"Close\"\n >\n {children}\n </DialogPrimitive.Close>\n );\n}\n\ntype SheetProps = ComponentProps<typeof DialogPrimitive.Root> & {\n ariaLabel?: string;\n};\n\nexport function RootSheet({ children, ariaLabel, ...props }: SheetProps) {\n return (\n <DialogPrimitive.Root {...props}>\n {children}\n </DialogPrimitive.Root>\n );\n}\n\nexport const Sheet = Object.assign(RootSheet, {\n Trigger: DialogPrimitive.Trigger,\n Content: SheetContent,\n Close: DialogPrimitive.Close,\n Title: DialogPrimitive.Title,\n Description: DialogPrimitive.Description,\n}); "],"names":["_jsx","DialogPrimitive.Portal","_jsxs","DialogPrimitive.Content","DialogPrimitive.Overlay","DialogPrimitive.Close","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":";;;;;;;AAYA,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,CAAC,YAAY,EAAE;AAC5C,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,GAAG,EA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,UAAU,CAGxB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MAC7BA,qBAAC,CAAAI,yCAAuB,EAAA,EACtB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC,iBACrB,MAAM,EAClB,IAAI,EAAC,cAAc,KACf,KAAK,EAAA,CACT,CACH,CAAC,CAAC;AAEH,OAAO,CAAC,WAAW,GAAGA,yCAAuB,CAAC,WAAW,CAAC;AAE1D,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAG1B,SAAU,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACS,EAAA;IACjB,QACEJ,sBAACK,yCAAqB,EACpB,EAAA,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,KAC3B,KAAK,EAAA,YAAA,EACE,OAAO,EAEjB,QAAA,EAAA,QAAQ,EACa,CAAA,EACxB;AACJ,CAAC;AAMK,SAAU,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;IACrE,QACEL,qBAAC,CAAAM,yCAAoB,EAAK,EAAA,GAAA,KAAK,EAC5B,QAAA,EAAA,QAAQ,EACY,CAAA,EACvB;AACJ,CAAC;MAEY,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;IAC5C,OAAO,EAAEC,yCAAuB;AAChC,IAAA,OAAO,EAAE,YAAY;IACrB,KAAK,EAAEF,yCAAqB;IAC5B,KAAK,EAAEG,yCAAqB;IAC5B,WAAW,EAAEC,yCAA2B;AACzC,CAAA;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var styles = {"sheetContent":"sheet-module_sheetContent__V-w55","slideIn":"sheet-module_slideIn__Tn4qF","slideOut":"sheet-module_slideOut__sfFrS","sheetContent-top":"sheet-module_sheetContent-top__aeZEI","slideInTop":"sheet-module_slideInTop__-qKup","slideOutTop":"sheet-module_slideOutTop__Q-wl6","sheetContent-bottom":"sheet-module_sheetContent-bottom__VIGI5","slideInBottom":"sheet-module_slideInBottom__qb78d","slideOutBottom":"sheet-module_slideOutBottom__DUUbv","sheetContent-right":"sheet-module_sheetContent-right__jekAy","slideInRight":"sheet-module_slideInRight__xPq-b","slideOutRight":"sheet-module_slideOutRight__onoEe","sheetContent-left":"sheet-module_sheetContent-left__cSCUE","slideInLeft":"sheet-module_slideInLeft__xRvN-","slideOutLeft":"sheet-module_slideOutLeft__Lp2rn","overlay":"sheet-module_overlay__0uvrX","close":"sheet-module_close__w-ZKj","sheetContent___top":"sheet-module_sheetContent-top__aeZEI","sheetContent___bottom":"sheet-module_sheetContent-bottom__VIGI5","sheetContent___right":"sheet-module_sheetContent-right__jekAy","sheetContent___left":"sheet-module_sheetContent-left__cSCUE"};
6
+
7
+ exports.default = styles;
8
+ //# sourceMappingURL=sheet.module.css.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var styles = {"sheetContent":"sheet-module_sheetContent__V-w55","slideIn":"sheet-module_slideIn__Tn4qF","slideOut":"sheet-module_slideOut__sfFrS","sheetContent-top":"sheet-module_sheetContent-top__aeZEI","slideInTop":"sheet-module_slideInTop__-qKup","slideOutTop":"sheet-module_slideOutTop__Q-wl6","sheetContent-bottom":"sheet-module_sheetContent-bottom__VIGI5","slideInBottom":"sheet-module_slideInBottom__qb78d","slideOutBottom":"sheet-module_slideOutBottom__DUUbv","sheetContent-right":"sheet-module_sheetContent-right__jekAy","slideInRight":"sheet-module_slideInRight__xPq-b","slideOutRight":"sheet-module_slideOutRight__onoEe","sheetContent-left":"sheet-module_sheetContent-left__cSCUE","slideInLeft":"sheet-module_slideInLeft__xRvN-","slideOutLeft":"sheet-module_slideOutLeft__Lp2rn","overlay":"sheet-module_overlay__0uvrX","close":"sheet-module_close__w-ZKj","sheetContent___top":"sheet-module_sheetContent-top__aeZEI","sheetContent___bottom":"sheet-module_sheetContent-bottom__VIGI5","sheetContent___right":"sheet-module_sheetContent-right__jekAy","sheetContent___left":"sheet-module_sheetContent-left__cSCUE"};
2
+
3
+ export { styles as default };
4
+ //# sourceMappingURL=sheet.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,2 @@
1
+ export { Table } from "./table";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
+ var React = require('react');
5
+ var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
6
+ var table_module = require('./table.module.css.cjs');
7
+
8
+ const table = index.cva(table_module.default["table"]);
9
+ const TableRoot = React.forwardRef(({ className, ...props }, ref) => {
10
+ return jsxRuntime.jsxRuntimeExports.jsx("table", { ref: ref, ...props, className: table({ className }) });
11
+ });
12
+ const header = index.cva(table_module.default["header"]);
13
+ const TableHeader = React.forwardRef(({ className, ...props }, ref) => {
14
+ return jsxRuntime.jsxRuntimeExports.jsx("thead", { ref: ref, ...props, className: header({ className }) });
15
+ });
16
+ const TableBody = React.forwardRef(({ ...props }, ref) => {
17
+ return jsxRuntime.jsxRuntimeExports.jsx("tbody", { ref: ref, ...props });
18
+ });
19
+ const TableRow = React.forwardRef(({ ...props }, ref) => {
20
+ return jsxRuntime.jsxRuntimeExports.jsx("tr", { ref: ref, ...props });
21
+ });
22
+ const head = index.cva(table_module.default["head"]);
23
+ const TableHead = React.forwardRef(({ className, ...props }, ref) => {
24
+ return jsxRuntime.jsxRuntimeExports.jsx("th", { ref: ref, ...props, className: head({ className }) });
25
+ });
26
+ const cell = index.cva(table_module.default["cell"]);
27
+ const TableCell = React.forwardRef(({ className, ...props }, ref) => {
28
+ return jsxRuntime.jsxRuntimeExports.jsx("td", { ref: ref, ...props, className: cell({ className }) });
29
+ });
30
+ const sectionHeader = index.cva(table_module.default["sectionHeader"]);
31
+ const SectionHeader = React.forwardRef(({ classNames, colSpan, children }, ref) => {
32
+ return (jsxRuntime.jsxRuntimeExports.jsx("tr", { ref: ref, className: sectionHeader({ className: classNames?.row }), children: jsxRuntime.jsxRuntimeExports.jsx("th", { colSpan: colSpan, className: classNames?.cell, children: children }) }));
33
+ });
34
+ const Table = Object.assign(TableRoot, {
35
+ Header: TableHeader,
36
+ Body: TableBody,
37
+ Row: TableRow,
38
+ Head: TableHead,
39
+ Cell: TableCell,
40
+ SectionHeader: SectionHeader,
41
+ });
42
+
43
+ exports.Table = Table;
44
+ //# sourceMappingURL=table.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.cjs","sources":["../../../../v1/components/table/table.tsx"],"sourcesContent":["import React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport styles from \"./table.module.css\";\n\nconst table = cva(styles[\"table\"]);\nconst TableRoot = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement> &\n React.PropsWithChildren<VariantProps<typeof table>>\n>(({ className, ...props }, ref) => {\n return <table ref={ref} {...props} className={table({ className })} />;\n});\n\nconst header = cva(styles[\"header\"]);\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> &\n React.PropsWithChildren<VariantProps<typeof header>>\n>(({ className, ...props }, ref) => {\n return <thead ref={ref} {...props} className={header({ className })} />;\n});\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tbody ref={ref} {...props} />;\n});\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tr ref={ref} {...props} />;\n});\n\nconst head = cva(styles[\"head\"]);\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.HTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof head>>\n>(({ className, ...props }, ref) => {\n return <th ref={ref} {...props} className={head({ className })} />;\n});\n\nconst cell = cva(styles[\"cell\"]);\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.HTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof cell>>\n>(({ className, ...props }, ref) => {\n return <td ref={ref} {...props} className={cell({ className })} />;\n});\n\nconst sectionHeader = cva(styles[\"sectionHeader\"]);\ntype SectionHeaderClassNames = \"row\" | \"cell\";\nconst SectionHeader = React.forwardRef<\n HTMLTableRowElement,\n React.PropsWithChildren & {\n colSpan: number;\n classNames?: Partial<Record<SectionHeaderClassNames, string>>;\n }\n>(({ classNames, colSpan, children }, ref) => {\n return (\n <tr ref={ref} className={sectionHeader({ className: classNames?.row })}>\n <th colSpan={colSpan} className={classNames?.cell}>\n {children}\n </th>\n </tr>\n );\n});\n\nexport const Table = Object.assign(TableRoot, {\n Header: TableHeader,\n Body: TableBody,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n SectionHeader: SectionHeader,\n});\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;;AAIA,MAAM,KAAK,GAAGA,SAAG,CAACC,oBAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AACnC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAIhC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;A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,IAAI,GAAGF,SAAG,CAACC,oBAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AACjC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAIhC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACjC,IAAA,OAAOC,yCAAI,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AACrE,CAAC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAGF,SAAG,CAACC,oBAAM,CAAC,eAAe,CAAC,CAAC,CAAC;AAEnD,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAMpC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,GAAG,KAAI;AAC3C,IAAA,QACEC,gCAAA,CAAA,IAAA,EAAA,EAAI,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAA,QAAA,EACpEA,gCAAI,CAAA,IAAA,EAAA,EAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAC9C,QAAA,EAAA,QAAQ,EACN,CAAA,EAAA,CACF,EACL;AACJ,CAAC,CAAC,CAAC;MAEU,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;AAC5C,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,aAAa,EAAE,aAAa;AAC7B,CAAA;;;;"}
@@ -0,0 +1,30 @@
1
+ import React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ type SectionHeaderClassNames = "row" | "cell";
4
+ export declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
5
+ children?: React.ReactNode;
6
+ } & React.RefAttributes<HTMLTableElement>> & {
7
+ Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
8
+ children?: React.ReactNode;
9
+ } & React.RefAttributes<HTMLTableSectionElement>>;
10
+ Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & {
11
+ children?: React.ReactNode;
12
+ } & React.RefAttributes<HTMLTableSectionElement>>;
13
+ Row: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & {
14
+ children?: React.ReactNode;
15
+ } & React.RefAttributes<HTMLTableRowElement>>;
16
+ Head: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCellElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
17
+ children?: React.ReactNode;
18
+ } & React.RefAttributes<HTMLTableCellElement>>;
19
+ Cell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCellElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
20
+ children?: React.ReactNode;
21
+ } & React.RefAttributes<HTMLTableCellElement>>;
22
+ SectionHeader: React.ForwardRefExoticComponent<{
23
+ children?: React.ReactNode;
24
+ } & {
25
+ colSpan: number;
26
+ classNames?: Partial<Record<SectionHeaderClassNames, string>> | undefined;
27
+ } & React.RefAttributes<HTMLTableRowElement>>;
28
+ };
29
+ export {};
30
+ //# sourceMappingURL=table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../v1/components/table/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAsDlE,KAAK,uBAAuB,GAAG,KAAK,GAAG,MAAM,CAAC;AAiB9C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;iBAbL,MAAM;;;CAoBjB,CAAC"}