draft-components 3.6.0 → 4.0.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 (550) hide show
  1. package/css/draft-components-variables.css +418 -230
  2. package/css/draft-components.css +2530 -1591
  3. package/dist/components/alert/alert.css +58 -59
  4. package/dist/components/alert/alert.d.ts +6 -6
  5. package/dist/components/alert/alert.js +5 -4
  6. package/dist/components/alert/alert.js.map +1 -0
  7. package/dist/components/alert/index.js +1 -0
  8. package/dist/components/alert/index.js.map +1 -0
  9. package/dist/components/avatar/avatar.css +29 -29
  10. package/dist/components/avatar/avatar.d.ts +6 -6
  11. package/dist/components/avatar/avatar.js +6 -5
  12. package/dist/components/avatar/avatar.js.map +1 -0
  13. package/dist/components/avatar/index.js +1 -0
  14. package/dist/components/avatar/index.js.map +1 -0
  15. package/dist/components/badge/badge.css +8 -8
  16. package/dist/components/badge/badge.d.ts +5 -5
  17. package/dist/components/badge/badge.js +2 -0
  18. package/dist/components/badge/badge.js.map +1 -0
  19. package/dist/components/badge/index.js +1 -0
  20. package/dist/components/badge/index.js.map +1 -0
  21. package/dist/components/breadcrumbs/breadcrumbs-context.d.ts +1 -1
  22. package/dist/components/breadcrumbs/breadcrumbs-context.js +1 -0
  23. package/dist/components/breadcrumbs/breadcrumbs-context.js.map +1 -0
  24. package/dist/components/breadcrumbs/breadcrumbs-item.d.ts +7 -6
  25. package/dist/components/breadcrumbs/breadcrumbs-item.js +2 -0
  26. package/dist/components/breadcrumbs/breadcrumbs-item.js.map +1 -0
  27. package/dist/components/breadcrumbs/breadcrumbs.css +9 -9
  28. package/dist/components/breadcrumbs/breadcrumbs.d.ts +5 -4
  29. package/dist/components/breadcrumbs/breadcrumbs.js +2 -0
  30. package/dist/components/breadcrumbs/breadcrumbs.js.map +1 -0
  31. package/dist/components/breadcrumbs/index.js +1 -0
  32. package/dist/components/breadcrumbs/index.js.map +1 -0
  33. package/dist/components/button/button.css +632 -116
  34. package/dist/components/button/button.d.ts +7 -6
  35. package/dist/components/button/button.js +17 -13
  36. package/dist/components/button/button.js.map +1 -0
  37. package/dist/components/button/icon-button.d.ts +2 -2
  38. package/dist/components/button/icon-button.js +4 -4
  39. package/dist/components/button/icon-button.js.map +1 -0
  40. package/dist/components/button/index.js +1 -0
  41. package/dist/components/button/index.js.map +1 -0
  42. package/dist/components/button-group/button-group.d.ts +4 -3
  43. package/dist/components/button-group/button-group.js +2 -0
  44. package/dist/components/button-group/button-group.js.map +1 -0
  45. package/dist/components/button-group/index.js +1 -0
  46. package/dist/components/button-group/index.js.map +1 -0
  47. package/dist/components/caption/caption.css +6 -6
  48. package/dist/components/caption/caption.d.ts +6 -6
  49. package/dist/components/caption/caption.js +6 -4
  50. package/dist/components/caption/caption.js.map +1 -0
  51. package/dist/components/caption/index.js +1 -0
  52. package/dist/components/caption/index.js.map +1 -0
  53. package/dist/components/checkbox/checkbox.css +24 -28
  54. package/dist/components/checkbox/checkbox.d.ts +5 -5
  55. package/dist/components/checkbox/checkbox.js +11 -6
  56. package/dist/components/checkbox/checkbox.js.map +1 -0
  57. package/dist/components/checkbox/index.js +1 -0
  58. package/dist/components/checkbox/index.js.map +1 -0
  59. package/dist/components/color-picker/color-picker-button.d.ts +1 -1
  60. package/dist/components/color-picker/color-picker-button.js +9 -3
  61. package/dist/components/color-picker/color-picker-button.js.map +1 -0
  62. package/dist/components/color-picker/color-picker.css +13 -13
  63. package/dist/components/color-picker/color-picker.d.ts +10 -6
  64. package/dist/components/color-picker/color-picker.js +2 -0
  65. package/dist/components/color-picker/color-picker.js.map +1 -0
  66. package/dist/components/color-picker/index.js +1 -0
  67. package/dist/components/color-picker/index.js.map +1 -0
  68. package/dist/components/date-picker/calendar-day.d.ts +5 -4
  69. package/dist/components/date-picker/calendar-day.js +2 -0
  70. package/dist/components/date-picker/calendar-day.js.map +1 -0
  71. package/dist/components/date-picker/calendar-grid-head.d.ts +1 -1
  72. package/dist/components/date-picker/calendar-grid-head.js +2 -0
  73. package/dist/components/date-picker/calendar-grid-head.js.map +1 -0
  74. package/dist/components/date-picker/calendar-grid.d.ts +1 -1
  75. package/dist/components/date-picker/calendar-grid.js +22 -16
  76. package/dist/components/date-picker/calendar-grid.js.map +1 -0
  77. package/dist/components/date-picker/calendar-header.js +3 -2
  78. package/dist/components/date-picker/calendar-header.js.map +1 -0
  79. package/dist/components/date-picker/calendar.d.ts +10 -7
  80. package/dist/components/date-picker/calendar.js +1 -0
  81. package/dist/components/date-picker/calendar.js.map +1 -0
  82. package/dist/components/date-picker/date-helpers.js +1 -0
  83. package/dist/components/date-picker/date-helpers.js.map +1 -0
  84. package/dist/components/date-picker/date-picker.css +44 -40
  85. package/dist/components/date-picker/date-picker.d.ts +9 -8
  86. package/dist/components/date-picker/date-picker.js +4 -2
  87. package/dist/components/date-picker/date-picker.js.map +1 -0
  88. package/dist/components/date-picker/date-range-picker.d.ts +10 -9
  89. package/dist/components/date-picker/date-range-picker.js +5 -4
  90. package/dist/components/date-picker/date-range-picker.js.map +1 -0
  91. package/dist/components/date-picker/date-range.d.ts +1 -1
  92. package/dist/components/date-picker/date-range.js +1 -0
  93. package/dist/components/date-picker/date-range.js.map +1 -0
  94. package/dist/components/date-picker/index.js +1 -0
  95. package/dist/components/date-picker/index.js.map +1 -0
  96. package/dist/components/date-picker/parse-min-max-props.d.ts +1 -1
  97. package/dist/components/date-picker/parse-min-max-props.js +1 -0
  98. package/dist/components/date-picker/parse-min-max-props.js.map +1 -0
  99. package/dist/components/date-picker-popover/date-picker-popover.d.ts +18 -10
  100. package/dist/components/date-picker-popover/date-picker-popover.js +18 -5
  101. package/dist/components/date-picker-popover/date-picker-popover.js.map +1 -0
  102. package/dist/components/date-picker-popover/index.js +1 -0
  103. package/dist/components/date-picker-popover/index.js.map +1 -0
  104. package/dist/components/date-range-picker-popover/date-range-picker-popover-footer.d.ts +1 -1
  105. package/dist/components/date-range-picker-popover/date-range-picker-popover-footer.js +3 -1
  106. package/dist/components/date-range-picker-popover/date-range-picker-popover-footer.js.map +1 -0
  107. package/dist/components/date-range-picker-popover/date-range-picker-popover-presets.d.ts +1 -1
  108. package/dist/components/date-range-picker-popover/date-range-picker-popover-presets.js +2 -0
  109. package/dist/components/date-range-picker-popover/date-range-picker-popover-presets.js.map +1 -0
  110. package/dist/components/date-range-picker-popover/date-range-picker-popover.d.ts +17 -14
  111. package/dist/components/date-range-picker-popover/date-range-picker-popover.js +20 -14
  112. package/dist/components/date-range-picker-popover/date-range-picker-popover.js.map +1 -0
  113. package/dist/components/date-range-picker-popover/helpers.d.ts +1 -1
  114. package/dist/components/date-range-picker-popover/helpers.js +2 -0
  115. package/dist/components/date-range-picker-popover/helpers.js.map +1 -0
  116. package/dist/components/date-range-picker-popover/index.js +1 -0
  117. package/dist/components/date-range-picker-popover/index.js.map +1 -0
  118. package/dist/components/date-range-picker-popover/types.d.ts +1 -1
  119. package/dist/components/date-range-picker-popover/types.js +2 -1
  120. package/dist/components/date-range-picker-popover/types.js.map +1 -0
  121. package/dist/components/date-range-picker-popover/use-is-compact-view.js +7 -1
  122. package/dist/components/date-range-picker-popover/use-is-compact-view.js.map +1 -0
  123. package/dist/components/dialog/dialog-body.d.ts +9 -4
  124. package/dist/components/dialog/dialog-body.js +26 -3
  125. package/dist/components/dialog/dialog-body.js.map +1 -0
  126. package/dist/components/dialog/dialog-context.d.ts +4 -4
  127. package/dist/components/dialog/dialog-context.js +10 -7
  128. package/dist/components/dialog/dialog-context.js.map +1 -0
  129. package/dist/components/dialog/dialog-footer.d.ts +4 -6
  130. package/dist/components/dialog/dialog-footer.js +8 -4
  131. package/dist/components/dialog/dialog-footer.js.map +1 -0
  132. package/dist/components/dialog/dialog-header.d.ts +8 -8
  133. package/dist/components/dialog/dialog-header.js +12 -10
  134. package/dist/components/dialog/dialog-header.js.map +1 -0
  135. package/dist/components/dialog/dialog.css +321 -100
  136. package/dist/components/dialog/dialog.d.ts +13 -18
  137. package/dist/components/dialog/dialog.js +84 -30
  138. package/dist/components/dialog/dialog.js.map +1 -0
  139. package/dist/components/dialog/index.js +1 -0
  140. package/dist/components/dialog/index.js.map +1 -0
  141. package/dist/components/empty-state/empty-state.css +5 -5
  142. package/dist/components/empty-state/empty-state.d.ts +5 -5
  143. package/dist/components/empty-state/empty-state.js +2 -0
  144. package/dist/components/empty-state/empty-state.js.map +1 -0
  145. package/dist/components/empty-state/index.js +1 -0
  146. package/dist/components/empty-state/index.js.map +1 -0
  147. package/dist/components/file-picker/file-picker.css +19 -16
  148. package/dist/components/file-picker/file-picker.d.ts +7 -7
  149. package/dist/components/file-picker/file-picker.js +25 -9
  150. package/dist/components/file-picker/file-picker.js.map +1 -0
  151. package/dist/components/file-picker/index.js +1 -0
  152. package/dist/components/file-picker/index.js.map +1 -0
  153. package/dist/components/filter-buttons/filter-button.d.ts +6 -5
  154. package/dist/components/filter-buttons/filter-button.js +4 -3
  155. package/dist/components/filter-buttons/filter-button.js.map +1 -0
  156. package/dist/components/filter-buttons/filter-buttons.css +37 -12
  157. package/dist/components/filter-buttons/filter-buttons.d.ts +2 -2
  158. package/dist/components/filter-buttons/filter-buttons.js +3 -2
  159. package/dist/components/filter-buttons/filter-buttons.js.map +1 -0
  160. package/dist/components/filter-buttons/index.js +1 -0
  161. package/dist/components/filter-buttons/index.js.map +1 -0
  162. package/dist/components/filtered-search/filter-item.css +1 -1
  163. package/dist/components/filtered-search/filter-item.d.ts +1 -1
  164. package/dist/components/filtered-search/filter-item.js +3 -1
  165. package/dist/components/filtered-search/filter-item.js.map +1 -0
  166. package/dist/components/filtered-search/filter-operator-select.js +2 -1
  167. package/dist/components/filtered-search/filter-operator-select.js.map +1 -0
  168. package/dist/components/filtered-search/filter-token.css +7 -7
  169. package/dist/components/filtered-search/filter-token.d.ts +6 -3
  170. package/dist/components/filtered-search/filter-token.js +5 -4
  171. package/dist/components/filtered-search/filter-token.js.map +1 -0
  172. package/dist/components/filtered-search/filter-value-list.js +3 -1
  173. package/dist/components/filtered-search/filter-value-list.js.map +1 -0
  174. package/dist/components/filtered-search/filtered-search.css +55 -51
  175. package/dist/components/filtered-search/filtered-search.d.ts +6 -5
  176. package/dist/components/filtered-search/filtered-search.js +12 -9
  177. package/dist/components/filtered-search/filtered-search.js.map +1 -0
  178. package/dist/components/filtered-search/index.d.ts +1 -1
  179. package/dist/components/filtered-search/index.js +3 -1
  180. package/dist/components/filtered-search/index.js.map +1 -0
  181. package/dist/components/filtered-search/model/abstract-filter.js +1 -0
  182. package/dist/components/filtered-search/model/abstract-filter.js.map +1 -0
  183. package/dist/components/filtered-search/model/string-filter.d.ts +1 -1
  184. package/dist/components/filtered-search/model/string-filter.js +2 -0
  185. package/dist/components/filtered-search/model/string-filter.js.map +1 -0
  186. package/dist/components/filtered-search/model/string-set-filter.js +1 -0
  187. package/dist/components/filtered-search/model/string-set-filter.js.map +1 -0
  188. package/dist/components/filtered-search/model/validation-result.js +1 -0
  189. package/dist/components/filtered-search/model/validation-result.js.map +1 -0
  190. package/dist/components/filtered-search/string-filter-input.js +2 -1
  191. package/dist/components/filtered-search/string-filter-input.js.map +1 -0
  192. package/dist/components/filtered-search/string-filter-item.d.ts +1 -1
  193. package/dist/components/filtered-search/string-filter-item.js +7 -3
  194. package/dist/components/filtered-search/string-filter-item.js.map +1 -0
  195. package/dist/components/filtered-search/string-set-filter-item.d.ts +1 -1
  196. package/dist/components/filtered-search/string-set-filter-item.js +7 -3
  197. package/dist/components/filtered-search/string-set-filter-item.js.map +1 -0
  198. package/dist/components/filtered-search/types.d.ts +2 -2
  199. package/dist/components/filtered-search/types.js +3 -1
  200. package/dist/components/filtered-search/types.js.map +1 -0
  201. package/dist/components/filtered-search/use-combobox-ids.js +1 -0
  202. package/dist/components/filtered-search/use-combobox-ids.js.map +1 -0
  203. package/dist/components/filtered-search/use-translations.d.ts +1 -1
  204. package/dist/components/filtered-search/use-translations.js +1 -0
  205. package/dist/components/filtered-search/use-translations.js.map +1 -0
  206. package/dist/components/form-field/form-field.d.ts +7 -10
  207. package/dist/components/form-field/form-field.js +1 -0
  208. package/dist/components/form-field/form-field.js.map +1 -0
  209. package/dist/components/form-field/index.js +1 -0
  210. package/dist/components/form-field/index.js.map +1 -0
  211. package/dist/components/hero-icons/24/outline/arrow-down-icon.d.ts +2 -0
  212. package/dist/components/hero-icons/24/outline/arrow-down-icon.js +6 -0
  213. package/dist/components/hero-icons/24/outline/arrow-down-icon.js.map +1 -0
  214. package/dist/components/hero-icons/24/outline/arrow-up-icon.d.ts +2 -0
  215. package/dist/components/hero-icons/24/outline/arrow-up-icon.js +6 -0
  216. package/dist/components/hero-icons/24/outline/arrow-up-icon.js.map +1 -0
  217. package/dist/components/hero-icons/24/outline/arrows-up-down-icon.d.ts +2 -3
  218. package/dist/components/hero-icons/24/outline/arrows-up-down-icon.js +5 -4
  219. package/dist/components/hero-icons/24/outline/arrows-up-down-icon.js.map +1 -0
  220. package/dist/components/hero-icons/24/outline/chevron-left-icon.d.ts +2 -3
  221. package/dist/components/hero-icons/24/outline/chevron-left-icon.js +5 -4
  222. package/dist/components/hero-icons/24/outline/chevron-left-icon.js.map +1 -0
  223. package/dist/components/hero-icons/24/outline/chevron-right-icon.d.ts +2 -3
  224. package/dist/components/hero-icons/24/outline/chevron-right-icon.js +5 -4
  225. package/dist/components/hero-icons/24/outline/chevron-right-icon.js.map +1 -0
  226. package/dist/components/hero-icons/24/outline/eye-icon.d.ts +2 -3
  227. package/dist/components/hero-icons/24/outline/eye-icon.js +5 -4
  228. package/dist/components/hero-icons/24/outline/eye-icon.js.map +1 -0
  229. package/dist/components/hero-icons/24/outline/eye-slash-icon.d.ts +2 -3
  230. package/dist/components/hero-icons/24/outline/eye-slash-icon.js +5 -4
  231. package/dist/components/hero-icons/24/outline/eye-slash-icon.js.map +1 -0
  232. package/dist/components/hero-icons/24/outline/magnifying-glass-icon.d.ts +2 -3
  233. package/dist/components/hero-icons/24/outline/magnifying-glass-icon.js +5 -4
  234. package/dist/components/hero-icons/24/outline/magnifying-glass-icon.js.map +1 -0
  235. package/dist/components/hero-icons/24/outline/trash-icon.d.ts +2 -3
  236. package/dist/components/hero-icons/24/outline/trash-icon.js +5 -4
  237. package/dist/components/hero-icons/24/outline/trash-icon.js.map +1 -0
  238. package/dist/components/hero-icons/24/outline/x-mark-icon.d.ts +2 -3
  239. package/dist/components/hero-icons/24/outline/x-mark-icon.js +5 -4
  240. package/dist/components/hero-icons/24/outline/x-mark-icon.js.map +1 -0
  241. package/dist/components/hero-icons/24/solid/exclamation-triangle-icon.d.ts +2 -3
  242. package/dist/components/hero-icons/24/solid/exclamation-triangle-icon.js +5 -4
  243. package/dist/components/hero-icons/24/solid/exclamation-triangle-icon.js.map +1 -0
  244. package/dist/components/index.d.ts +0 -2
  245. package/dist/components/index.js +1 -2
  246. package/dist/components/index.js.map +1 -0
  247. package/dist/components/label/index.js +1 -0
  248. package/dist/components/label/index.js.map +1 -0
  249. package/dist/components/label/label.css +5 -5
  250. package/dist/components/label/label.d.ts +6 -3
  251. package/dist/components/label/label.js +6 -4
  252. package/dist/components/label/label.js.map +1 -0
  253. package/dist/components/menu/index.js +1 -0
  254. package/dist/components/menu/index.js.map +1 -0
  255. package/dist/components/menu/menu-item.d.ts +6 -6
  256. package/dist/components/menu/menu-item.js +9 -14
  257. package/dist/components/menu/menu-item.js.map +1 -0
  258. package/dist/components/menu/menu-separator.d.ts +2 -5
  259. package/dist/components/menu/menu-separator.js +3 -1
  260. package/dist/components/menu/menu-separator.js.map +1 -0
  261. package/dist/components/menu/menu.css +25 -26
  262. package/dist/components/menu/menu.d.ts +22 -26
  263. package/dist/components/menu/menu.js +121 -116
  264. package/dist/components/menu/menu.js.map +1 -0
  265. package/dist/components/nav-list/index.js +1 -0
  266. package/dist/components/nav-list/index.js.map +1 -0
  267. package/dist/components/nav-list/nav-list-item.d.ts +7 -6
  268. package/dist/components/nav-list/nav-list-item.js +2 -0
  269. package/dist/components/nav-list/nav-list-item.js.map +1 -0
  270. package/dist/components/nav-list/nav-list-title.d.ts +5 -5
  271. package/dist/components/nav-list/nav-list-title.js +2 -0
  272. package/dist/components/nav-list/nav-list-title.js.map +1 -0
  273. package/dist/components/nav-list/nav-list.css +12 -12
  274. package/dist/components/nav-list/nav-list.d.ts +8 -2
  275. package/dist/components/nav-list/nav-list.js +6 -0
  276. package/dist/components/nav-list/nav-list.js.map +1 -0
  277. package/dist/components/password-input/index.js +1 -0
  278. package/dist/components/password-input/index.js.map +1 -0
  279. package/dist/components/password-input/password-input.css +3 -33
  280. package/dist/components/password-input/password-input.d.ts +7 -6
  281. package/dist/components/password-input/password-input.js +9 -7
  282. package/dist/components/password-input/password-input.js.map +1 -0
  283. package/dist/components/popover/index.js +1 -0
  284. package/dist/components/popover/index.js.map +1 -0
  285. package/dist/components/popover/popover.css +43 -70
  286. package/dist/components/popover/popover.d.ts +28 -49
  287. package/dist/components/popover/popover.js +101 -82
  288. package/dist/components/popover/popover.js.map +1 -0
  289. package/dist/components/portal/index.js +1 -0
  290. package/dist/components/portal/index.js.map +1 -0
  291. package/dist/components/portal/portal-context.d.ts +1 -1
  292. package/dist/components/portal/portal-context.js +1 -0
  293. package/dist/components/portal/portal-context.js.map +1 -0
  294. package/dist/components/portal/portal.d.ts +1 -1
  295. package/dist/components/portal/portal.js +2 -0
  296. package/dist/components/portal/portal.js.map +1 -0
  297. package/dist/components/radio/index.js +1 -0
  298. package/dist/components/radio/index.js.map +1 -0
  299. package/dist/components/radio/radio.css +24 -28
  300. package/dist/components/radio/radio.d.ts +5 -5
  301. package/dist/components/radio/radio.js +11 -6
  302. package/dist/components/radio/radio.js.map +1 -0
  303. package/dist/components/search-select/context.d.ts +1 -1
  304. package/dist/components/search-select/context.js +1 -0
  305. package/dist/components/search-select/context.js.map +1 -0
  306. package/dist/components/search-select/icons.d.ts +3 -3
  307. package/dist/components/search-select/icons.js +2 -0
  308. package/dist/components/search-select/icons.js.map +1 -0
  309. package/dist/components/search-select/index.js +1 -0
  310. package/dist/components/search-select/index.js.map +1 -0
  311. package/dist/components/search-select/search-select.css +67 -43
  312. package/dist/components/search-select/search-select.d.ts +9 -10
  313. package/dist/components/search-select/search-select.js +20 -15
  314. package/dist/components/search-select/search-select.js.map +1 -0
  315. package/dist/components/segmented-control/index.js +1 -0
  316. package/dist/components/segmented-control/index.js.map +1 -0
  317. package/dist/components/segmented-control/segmented-button.d.ts +1 -1
  318. package/dist/components/segmented-control/segmented-button.js +2 -0
  319. package/dist/components/segmented-control/segmented-button.js.map +1 -0
  320. package/dist/components/segmented-control/segmented-control.css +46 -41
  321. package/dist/components/segmented-control/segmented-control.d.ts +5 -4
  322. package/dist/components/segmented-control/segmented-control.js +2 -0
  323. package/dist/components/segmented-control/segmented-control.js.map +1 -0
  324. package/dist/components/select/index.js +1 -0
  325. package/dist/components/select/index.js.map +1 -0
  326. package/dist/components/select/select.css +37 -32
  327. package/dist/components/select/select.d.ts +6 -31
  328. package/dist/components/select/select.js +5 -4
  329. package/dist/components/select/select.js.map +1 -0
  330. package/dist/components/selection-control/index.js +1 -0
  331. package/dist/components/selection-control/index.js.map +1 -0
  332. package/dist/components/selection-control/selection-control.d.ts +8 -13
  333. package/dist/components/selection-control/selection-control.js +5 -4
  334. package/dist/components/selection-control/selection-control.js.map +1 -0
  335. package/dist/components/slider/calc-position.js +1 -0
  336. package/dist/components/slider/calc-position.js.map +1 -0
  337. package/dist/components/slider/get-offset-relative-to-thumb.js +4 -3
  338. package/dist/components/slider/get-offset-relative-to-thumb.js.map +1 -0
  339. package/dist/components/slider/index.js +2 -0
  340. package/dist/components/slider/index.js.map +1 -0
  341. package/dist/components/slider/range-slider.d.ts +2 -2
  342. package/dist/components/slider/range-slider.js +2 -1
  343. package/dist/components/slider/range-slider.js.map +1 -0
  344. package/dist/components/slider/slider-thumb.d.ts +1 -1
  345. package/dist/components/slider/slider-thumb.js +3 -1
  346. package/dist/components/slider/slider-thumb.js.map +1 -0
  347. package/dist/components/slider/slider-tick-marks.d.ts +1 -1
  348. package/dist/components/slider/slider-tick-marks.js +2 -0
  349. package/dist/components/slider/slider-tick-marks.js.map +1 -0
  350. package/dist/components/slider/slider-track.d.ts +1 -1
  351. package/dist/components/slider/slider-track.js +7 -5
  352. package/dist/components/slider/slider-track.js.map +1 -0
  353. package/dist/components/slider/slider.css +88 -93
  354. package/dist/components/slider/slider.d.ts +2 -2
  355. package/dist/components/slider/slider.js +2 -1
  356. package/dist/components/slider/slider.js.map +1 -0
  357. package/dist/components/spinner/index.js +1 -0
  358. package/dist/components/spinner/index.js.map +1 -0
  359. package/dist/components/spinner/spinner.d.ts +6 -5
  360. package/dist/components/spinner/spinner.js +5 -4
  361. package/dist/components/spinner/spinner.js.map +1 -0
  362. package/dist/components/switch/index.js +1 -0
  363. package/dist/components/switch/index.js.map +1 -0
  364. package/dist/components/switch/switch.css +34 -47
  365. package/dist/components/switch/switch.d.ts +5 -5
  366. package/dist/components/switch/switch.js +12 -6
  367. package/dist/components/switch/switch.js.map +1 -0
  368. package/dist/components/table/index.js +1 -0
  369. package/dist/components/table/index.js.map +1 -0
  370. package/dist/components/table/table-body.d.ts +5 -5
  371. package/dist/components/table/table-body.js +5 -4
  372. package/dist/components/table/table-body.js.map +1 -0
  373. package/dist/components/table/table-cell.d.ts +5 -5
  374. package/dist/components/table/table-cell.js +5 -4
  375. package/dist/components/table/table-cell.js.map +1 -0
  376. package/dist/components/table/table-container.d.ts +6 -5
  377. package/dist/components/table/table-container.js +5 -4
  378. package/dist/components/table/table-container.js.map +1 -0
  379. package/dist/components/table/table-head-cell.d.ts +6 -5
  380. package/dist/components/table/table-head-cell.js +14 -9
  381. package/dist/components/table/table-head-cell.js.map +1 -0
  382. package/dist/components/table/table-head.d.ts +6 -5
  383. package/dist/components/table/table-head.js +5 -4
  384. package/dist/components/table/table-head.js.map +1 -0
  385. package/dist/components/table/table-row.d.ts +6 -5
  386. package/dist/components/table/table-row.js +5 -4
  387. package/dist/components/table/table-row.js.map +1 -0
  388. package/dist/components/table/table.css +47 -53
  389. package/dist/components/table/table.d.ts +21 -6
  390. package/dist/components/table/table.js +18 -5
  391. package/dist/components/table/table.js.map +1 -0
  392. package/dist/components/tabs/index.js +1 -0
  393. package/dist/components/tabs/index.js.map +1 -0
  394. package/dist/components/tabs/tab-list.d.ts +4 -2
  395. package/dist/components/tabs/tab-list.js +20 -13
  396. package/dist/components/tabs/tab-list.js.map +1 -0
  397. package/dist/components/tabs/tab-panel.d.ts +7 -4
  398. package/dist/components/tabs/tab-panel.js +3 -0
  399. package/dist/components/tabs/tab-panel.js.map +1 -0
  400. package/dist/components/tabs/tab.d.ts +6 -3
  401. package/dist/components/tabs/tab.js +5 -1
  402. package/dist/components/tabs/tab.js.map +1 -0
  403. package/dist/components/tabs/tabs-context.d.ts +2 -2
  404. package/dist/components/tabs/tabs-context.js +2 -0
  405. package/dist/components/tabs/tabs-context.js.map +1 -0
  406. package/dist/components/tabs/tabs.css +15 -11
  407. package/dist/components/tabs/tabs.d.ts +7 -4
  408. package/dist/components/tabs/tabs.js +3 -0
  409. package/dist/components/tabs/tabs.js.map +1 -0
  410. package/dist/components/tabs/types.js +1 -0
  411. package/dist/components/tabs/types.js.map +1 -0
  412. package/dist/components/tag/index.js +1 -0
  413. package/dist/components/tag/index.js.map +1 -0
  414. package/dist/components/tag/tag.css +222 -183
  415. package/dist/components/tag/tag.d.ts +8 -7
  416. package/dist/components/tag/tag.js +5 -4
  417. package/dist/components/tag/tag.js.map +1 -0
  418. package/dist/components/text-input/index.js +1 -0
  419. package/dist/components/text-input/index.js.map +1 -0
  420. package/dist/components/text-input/text-input.css +50 -44
  421. package/dist/components/text-input/text-input.d.ts +5 -5
  422. package/dist/components/text-input/text-input.js +5 -4
  423. package/dist/components/text-input/text-input.js.map +1 -0
  424. package/dist/components/textarea/index.js +1 -0
  425. package/dist/components/textarea/index.js.map +1 -0
  426. package/dist/components/textarea/textarea.css +36 -31
  427. package/dist/components/textarea/textarea.d.ts +5 -4
  428. package/dist/components/textarea/textarea.js +5 -4
  429. package/dist/components/textarea/textarea.js.map +1 -0
  430. package/dist/components/toast/index.js +1 -0
  431. package/dist/components/toast/index.js.map +1 -0
  432. package/dist/components/toast/toast-button.d.ts +5 -5
  433. package/dist/components/toast/toast-button.js +5 -4
  434. package/dist/components/toast/toast-button.js.map +1 -0
  435. package/dist/components/toast/toast.css +35 -35
  436. package/dist/components/toast/toast.d.ts +5 -4
  437. package/dist/components/toast/toast.js +2 -0
  438. package/dist/components/toast/toast.js.map +1 -0
  439. package/dist/components/toaster/index.js +1 -0
  440. package/dist/components/toaster/index.js.map +1 -0
  441. package/dist/components/toaster/toaster.css +11 -11
  442. package/dist/components/toaster/toaster.d.ts +1 -1
  443. package/dist/components/toaster/toaster.js +28 -17
  444. package/dist/components/toaster/toaster.js.map +1 -0
  445. package/dist/components/tooltip/index.js +1 -0
  446. package/dist/components/tooltip/index.js.map +1 -0
  447. package/dist/components/tooltip/tooltip.css +79 -12
  448. package/dist/components/tooltip/tooltip.d.ts +26 -24
  449. package/dist/components/tooltip/tooltip.js +82 -64
  450. package/dist/components/tooltip/tooltip.js.map +1 -0
  451. package/dist/hooks/index.d.ts +4 -5
  452. package/dist/hooks/index.js +5 -5
  453. package/dist/hooks/index.js.map +1 -0
  454. package/dist/hooks/use-close-on-click-outside.d.ts +10 -0
  455. package/dist/hooks/use-close-on-click-outside.js +57 -0
  456. package/dist/hooks/use-close-on-click-outside.js.map +1 -0
  457. package/dist/hooks/use-close-on-esc.d.ts +5 -0
  458. package/dist/hooks/use-close-on-esc.js +34 -0
  459. package/dist/hooks/use-close-on-esc.js.map +1 -0
  460. package/dist/hooks/use-focus-trap.d.ts +5 -14
  461. package/dist/hooks/use-focus-trap.js +27 -40
  462. package/dist/hooks/use-focus-trap.js.map +1 -0
  463. package/dist/hooks/use-lock-body-scroll.d.ts +3 -0
  464. package/dist/hooks/use-lock-body-scroll.js +41 -0
  465. package/dist/hooks/use-lock-body-scroll.js.map +1 -0
  466. package/dist/hooks/use-preserve-props-when-closed.js +1 -0
  467. package/dist/hooks/use-preserve-props-when-closed.js.map +1 -0
  468. package/dist/hooks/{use-callback-ref.d.ts → use-ref-callback.d.ts} +1 -1
  469. package/dist/hooks/use-ref-callback.js +9 -0
  470. package/dist/hooks/use-ref-callback.js.map +1 -0
  471. package/dist/index.d.ts +2 -2
  472. package/dist/index.js +3 -2
  473. package/dist/index.js.map +1 -0
  474. package/dist/lib/calc-element-position.d.ts +10 -0
  475. package/dist/lib/calc-element-position.js +28 -0
  476. package/dist/lib/calc-element-position.js.map +1 -0
  477. package/dist/lib/calc-position.d.ts +27 -0
  478. package/dist/lib/calc-position.js +143 -0
  479. package/dist/lib/calc-position.js.map +1 -0
  480. package/dist/lib/get-element-bounding-rect.d.ts +9 -0
  481. package/dist/lib/get-element-bounding-rect.js +17 -0
  482. package/dist/lib/get-element-bounding-rect.js.map +1 -0
  483. package/dist/lib/helpers.d.ts +3 -6
  484. package/dist/lib/helpers.js +14 -20
  485. package/dist/lib/helpers.js.map +1 -0
  486. package/dist/lib/index.d.ts +1 -1
  487. package/dist/lib/index.js +2 -1
  488. package/dist/lib/index.js.map +1 -0
  489. package/dist/lib/keyboard-key.d.ts +15 -0
  490. package/dist/lib/keyboard-key.js +16 -0
  491. package/dist/lib/keyboard-key.js.map +1 -0
  492. package/dist/lib/observe-element-change.d.ts +3 -0
  493. package/dist/lib/observe-element-change.js +14 -0
  494. package/dist/lib/observe-element-change.js.map +1 -0
  495. package/dist/lib/observe-element-move.d.ts +6 -0
  496. package/dist/lib/observe-element-move.js +43 -0
  497. package/dist/lib/observe-element-move.js.map +1 -0
  498. package/dist/lib/react-helpers.d.ts +1 -9
  499. package/dist/lib/react-helpers.js +2 -26
  500. package/dist/lib/react-helpers.js.map +1 -0
  501. package/dist/storybook-blocks/color-palette/color-palette.d.ts +11 -0
  502. package/dist/storybook-blocks/color-palette/color-palette.js +22 -0
  503. package/dist/storybook-blocks/color-palette/color-palette.js.map +1 -0
  504. package/dist/storybook-blocks/color-palette/index.d.ts +1 -0
  505. package/dist/storybook-blocks/color-palette/index.js +2 -0
  506. package/dist/storybook-blocks/color-palette/index.js.map +1 -0
  507. package/package.json +43 -46
  508. package/css/draft-components-utilities.css +0 -1710
  509. package/dist/components/hero-icons/24/outline/arrow-small-down-icon.d.ts +0 -3
  510. package/dist/components/hero-icons/24/outline/arrow-small-down-icon.js +0 -5
  511. package/dist/components/hero-icons/24/outline/arrow-small-up-icon.d.ts +0 -3
  512. package/dist/components/hero-icons/24/outline/arrow-small-up-icon.js +0 -5
  513. package/dist/components/popover/use-page-click.d.ts +0 -16
  514. package/dist/components/popover/use-page-click.js +0 -46
  515. package/dist/components/positioner/calc-position.d.ts +0 -32
  516. package/dist/components/positioner/calc-position.js +0 -112
  517. package/dist/components/positioner/index.d.ts +0 -1
  518. package/dist/components/positioner/index.js +0 -1
  519. package/dist/components/positioner/positioner.d.ts +0 -20
  520. package/dist/components/positioner/positioner.js +0 -59
  521. package/dist/components/positioner/types.d.ts +0 -14
  522. package/dist/components/positioner/types.js +0 -1
  523. package/dist/components/slide-over/index.d.ts +0 -4
  524. package/dist/components/slide-over/index.js +0 -3
  525. package/dist/components/slide-over/slide-over-body.css +0 -7
  526. package/dist/components/slide-over/slide-over-body.d.ts +0 -3
  527. package/dist/components/slide-over/slide-over-body.js +0 -5
  528. package/dist/components/slide-over/slide-over-context.d.ts +0 -14
  529. package/dist/components/slide-over/slide-over-context.js +0 -18
  530. package/dist/components/slide-over/slide-over-header.css +0 -29
  531. package/dist/components/slide-over/slide-over-header.d.ts +0 -11
  532. package/dist/components/slide-over/slide-over-header.js +0 -17
  533. package/dist/components/slide-over/slide-over.css +0 -85
  534. package/dist/components/slide-over/slide-over.d.ts +0 -25
  535. package/dist/components/slide-over/slide-over.js +0 -106
  536. package/dist/components/slide-over/types.d.ts +0 -1
  537. package/dist/components/slide-over/types.js +0 -1
  538. package/dist/hooks/use-callback-ref.js +0 -8
  539. package/dist/hooks/use-disable-body-scroll.d.ts +0 -5
  540. package/dist/hooks/use-disable-body-scroll.js +0 -32
  541. package/dist/hooks/use-esc-key-down.d.ts +0 -17
  542. package/dist/hooks/use-esc-key-down.js +0 -51
  543. package/dist/hooks/use-mount-transition.d.ts +0 -35
  544. package/dist/hooks/use-mount-transition.js +0 -39
  545. package/dist/hooks/use-prefers-reduced-motion.d.ts +0 -1
  546. package/dist/hooks/use-prefers-reduced-motion.js +0 -15
  547. package/dist/hooks/use-show-transition.d.ts +0 -16
  548. package/dist/hooks/use-show-transition.js +0 -69
  549. package/dist/lib/keyboard-keys.d.ts +0 -15
  550. package/dist/lib/keyboard-keys.js +0 -15
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-down-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/arrow-down-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,aAAa,CAAC,KAA4B;IACxD,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,sCAAsC,GAAG,GAC1F,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type ComponentProps } from 'react';
2
+ export declare function ArrowUpIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import {} from 'react';
3
+ export function ArrowUpIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18" }) }));
5
+ }
6
+ //# sourceMappingURL=arrow-up-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-up-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/arrow-up-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,WAAW,CAAC,KAA4B;IACtD,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,oCAAoC,GAAG,GACxF,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const ArrowsUpDownIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function ArrowsUpDownIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const ArrowsUpDownIcon = forwardRef(function ArrowsUpDownIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function ArrowsUpDownIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5" }) }));
5
+ }
6
+ //# sourceMappingURL=arrows-up-down-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrows-up-down-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/arrows-up-down-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,gBAAgB,CAAC,KAA4B;IAC3D,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,2EAA2E,GAAG,GAC/H,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const ChevronLeftIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function ChevronLeftIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const ChevronLeftIcon = forwardRef(function ChevronLeftIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5L8.25 12l7.5-7.5" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function ChevronLeftIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) }));
5
+ }
6
+ //# sourceMappingURL=chevron-left-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-left-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/chevron-left-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,eAAe,CAAC,KAA4B;IAC1D,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,6BAA6B,GAAG,GACjF,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const ChevronRightIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function ChevronRightIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const ChevronRightIcon = forwardRef(function ChevronRightIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 4.5l7.5 7.5-7.5 7.5" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function ChevronRightIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }));
5
+ }
6
+ //# sourceMappingURL=chevron-right-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-right-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/chevron-right-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,gBAAgB,CAAC,KAA4B;IAC3D,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,2BAA2B,GAAG,GAC/E,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const EyeIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function EyeIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const EyeIcon = forwardRef(function EyeIcon(props, ref) {
4
- return (_jsxs("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })] }));
5
- });
2
+ import {} from 'react';
3
+ export function EyeIcon(props) {
4
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" })] }));
5
+ }
6
+ //# sourceMappingURL=eye-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eye-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/eye-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,OAAO,CAAC,KAA4B;IAClD,OAAO,CACL,eACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,aAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,0LAA0L,GAAG,EAClP,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,qCAAqC,GAAG,IACzF,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const EyeSlashIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function EyeSlashIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const EyeSlashIcon = forwardRef(function EyeSlashIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function EyeSlashIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88" }) }));
5
+ }
6
+ //# sourceMappingURL=eye-slash-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eye-slash-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/eye-slash-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,YAAY,CAAC,KAA4B;IACvD,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,8UAA8U,GAAG,GAClY,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const MagnifyingGlassIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function MagnifyingGlassIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const MagnifyingGlassIcon = forwardRef(function MagnifyingGlassIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function MagnifyingGlassIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" }) }));
5
+ }
6
+ //# sourceMappingURL=magnifying-glass-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magnifying-glass-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/magnifying-glass-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,mBAAmB,CAAC,KAA4B;IAC9D,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,+EAA+E,GAAG,GACnI,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const TrashIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function TrashIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const TrashIcon = forwardRef(function TrashIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function TrashIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" }) }));
5
+ }
6
+ //# sourceMappingURL=trash-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trash-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/trash-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,SAAS,CAAC,KAA4B;IACpD,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,+ZAA+Z,GAAG,GACnd,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const XMarkIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function XMarkIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const XMarkIcon = forwardRef(function XMarkIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function XMarkIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, stroke: "currentColor", strokeWidth: 1.5, fill: "none", ...props, children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18 18 6M6 6l12 12" }) }));
5
+ }
6
+ //# sourceMappingURL=x-mark-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-mark-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/outline/x-mark-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,SAAS,CAAC,KAA4B;IACpD,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,IAAI,EAAC,MAAM,KACP,KAAK,YAET,eAAM,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,sBAAsB,GAAG,GAC1E,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const ExclamationTriangleIcon: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
2
- ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
3
- }, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
1
+ import { type ComponentProps } from 'react';
2
+ export declare function ExclamationTriangleIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- export const ExclamationTriangleIcon = forwardRef(function ExclamationTriangleIcon(props, ref) {
4
- return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, fill: "currentColor", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z" }) }));
5
- });
2
+ import {} from 'react';
3
+ export function ExclamationTriangleIcon(props) {
4
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: 24, height: 24, fill: "currentColor", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z", clipRule: "evenodd" }) }));
5
+ }
6
+ //# sourceMappingURL=exclamation-triangle-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exclamation-triangle-icon.js","sourceRoot":"","sources":["../../../../../src/components/hero-icons/24/solid/exclamation-triangle-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,uBAAuB,CAAC,KAA4B;IAClE,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,cAAc,KACf,KAAK,YAET,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,oPAAoP,EAAC,QAAQ,EAAC,SAAS,GAAG,GACjS,CACP,CAAC;AACJ,CAAC"}
@@ -22,13 +22,11 @@ export * from './nav-list/index.js';
22
22
  export * from './password-input/index.js';
23
23
  export * from './popover/index.js';
24
24
  export * from './portal/index.js';
25
- export * from './positioner/index.js';
26
25
  export * from './radio/index.js';
27
26
  export * from './search-select/index.js';
28
27
  export * from './segmented-control/index.js';
29
28
  export * from './select/index.js';
30
29
  export * from './selection-control/index.js';
31
- export * from './slide-over/index.js';
32
30
  export * from './slider/index.js';
33
31
  export * from './spinner/index.js';
34
32
  export * from './switch/index.js';
@@ -22,13 +22,11 @@ export * from './nav-list/index.js';
22
22
  export * from './password-input/index.js';
23
23
  export * from './popover/index.js';
24
24
  export * from './portal/index.js';
25
- export * from './positioner/index.js';
26
25
  export * from './radio/index.js';
27
26
  export * from './search-select/index.js';
28
27
  export * from './segmented-control/index.js';
29
28
  export * from './select/index.js';
30
29
  export * from './selection-control/index.js';
31
- export * from './slide-over/index.js';
32
30
  export * from './slider/index.js';
33
31
  export * from './spinner/index.js';
34
32
  export * from './switch/index.js';
@@ -40,3 +38,4 @@ export * from './textarea/index.js';
40
38
  export * from './toast/index.js';
41
39
  export * from './toaster/index.js';
42
40
  export * from './tooltip/index.js';
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './label.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,23 +1,23 @@
1
1
  .dc-label {
2
- --dc-label-text-color: var(--dc-primary-text-color);
3
- --dc-label-required-mark-color: #dc2626;
2
+ --color: var(--dc-text-color-primary);
3
+ --required-mark-color: var(--dc-red-600);
4
4
 
5
5
  display: inline-block;
6
6
  font: var(--dc-text-sm);
7
7
  font-weight: 500;
8
- color: var(--dc-label-text-color);
8
+ color: var(--color);
9
9
  color-scheme: light;
10
10
  }
11
11
 
12
12
  .dc-label_required::after {
13
13
  padding-left: 0.25em;
14
- color: var(--dc-label-required-mark-color);
14
+ color: var(--required-mark-color);
15
15
  content: "*";
16
16
  }
17
17
 
18
18
  .dark .dc-label,
19
19
  .dark.dc-label {
20
- --dc-label-required-mark-color: #f87171;
20
+ --required-mark-color: var(--dc-red-400);
21
21
 
22
22
  color-scheme: dark;
23
23
  }
@@ -1,5 +1,8 @@
1
- import { ComponentPropsWithRef } from 'react';
2
- export type LabelProps = ComponentPropsWithRef<'label'> & {
1
+ import { type ComponentProps } from 'react';
2
+ type LabelHTMLProps = ComponentProps<'label'>;
3
+ type LabelBaseProps = {
3
4
  required?: boolean;
4
5
  };
5
- export declare const Label: import("react").ForwardRefExoticComponent<Omit<LabelProps, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
6
+ export type LabelProps = LabelBaseProps & Omit<LabelHTMLProps, keyof LabelBaseProps>;
7
+ export declare function Label({ required, className, children, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
2
+ import {} from 'react';
3
3
  import { classNames } from '../../lib/react-helpers.js';
4
- export const Label = forwardRef(function Label({ required = false, className = '', children, ...props }, ref) {
5
- return (_jsx("label", { ...props, ref: ref, className: classNames(className, 'dc-label', {
4
+ export function Label({ required = false, className = '', children, ...props }) {
5
+ return (_jsx("label", { ...props, className: classNames(className, {
6
+ 'dc-label': true,
6
7
  'dc-label_required': required,
7
8
  }), children: children }));
8
- });
9
+ }
10
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/components/label/label.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAYxD,MAAM,UAAU,KAAK,CAAC,EACpB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,GAAG,KAAK,EACG;IACX,OAAO,CACL,mBACM,KAAK,EACT,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE;YAC/B,UAAU,EAAE,IAAI;YAChB,mBAAmB,EAAE,QAAQ;SAC9B,CAAC,YAED,QAAQ,GACH,CACT,CAAC;AACJ,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './menu.js';
2
2
  export * from './menu-item.js';
3
3
  export * from './menu-separator.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1,13 +1,13 @@
1
- import { ComponentPropsWithRef, ReactNode } from 'react';
2
- type MenuItemHTMLProps = ComponentPropsWithRef<'button'>;
3
- type MenuItemBaseProps = Omit<MenuItemHTMLProps, 'children' | 'role'>;
4
- export type MenuItemProps = {
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
+ type MenuItemHTMLProps = ComponentProps<'button'>;
3
+ type MenuItemBaseProps = {
5
4
  role?: 'menuitem' | 'menuitemradio';
6
5
  disabled?: boolean;
7
6
  destructive?: boolean;
8
7
  iconLeft?: ReactNode;
9
8
  iconRight?: ReactNode;
10
9
  children: ReactNode;
11
- } & MenuItemBaseProps;
12
- export declare const MenuItem: import("react").ForwardRefExoticComponent<Omit<MenuItemProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
10
+ };
11
+ export type MenuItemProps = MenuItemBaseProps & Omit<MenuItemHTMLProps, keyof MenuItemBaseProps>;
12
+ export declare function MenuItem({ role, disabled, destructive, iconLeft, iconRight, children, className, ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
13
13
  export {};
@@ -1,16 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
2
+ import {} from 'react';
3
3
  import { classNames } from '../../lib/react-helpers.js';
4
- export const MenuItem = forwardRef(function MenuItem({ role = 'menuitem', disabled, destructive, iconLeft, iconRight, children, className, ...props }, ref) {
5
- let label = children;
6
- if (iconLeft || iconRight) {
7
- const className = classNames('dc-menu-btn__label', {
8
- 'dc-menu-btn__label_gap_left': iconLeft,
9
- 'dc-menu-btn__label_gap_right': iconRight,
10
- });
11
- label = _jsx("span", { className: className, children: label });
12
- }
13
- return (_jsx("li", { role: "presentation", children: _jsxs("button", { ...props, ref: ref, className: classNames(className, 'dc-menu-btn', {
14
- 'dc-menu-btn_destructive': destructive,
15
- }), type: "button", disabled: disabled, role: role, tabIndex: -1, children: [iconLeft, label, iconRight] }) }));
16
- });
4
+ export function MenuItem({ role = 'menuitem', disabled, destructive, iconLeft, iconRight, children, className, ...props }) {
5
+ return (_jsxs("button", { ...props, className: classNames(className, {
6
+ 'dc-menu-btn': true,
7
+ 'dc-menu-btn_has-icon': iconLeft || iconRight,
8
+ 'dc-menu-btn_destructive': destructive,
9
+ }), type: "button", tabIndex: -1, role: role, disabled: disabled, children: [iconLeft, " ", _jsx("span", { children: children }), " ", iconRight] }));
10
+ }
11
+ //# sourceMappingURL=menu-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-item.js","sourceRoot":"","sources":["../../../src/components/menu/menu-item.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAiBxD,MAAM,UAAU,QAAQ,CAAC,EACvB,IAAI,GAAG,UAAU,EACjB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACM;IACd,OAAO,CACL,qBACM,KAAK,EACT,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE;YAC/B,aAAa,EAAE,IAAI;YACnB,sBAAsB,EAAE,QAAQ,IAAI,SAAS;YAC7C,yBAAyB,EAAE,WAAW;SACvC,CAAC,EACF,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC,EACZ,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,aAEjB,QAAQ,OAAE,yBAAO,QAAQ,GAAQ,OAAE,SAAS,IACtC,CACV,CAAC;AACJ,CAAC"}
@@ -1,6 +1,3 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- type MenuSeparatorHTMLProps = ComponentPropsWithoutRef<'li'>;
3
- type MenuSeparatorBaseProps = Omit<MenuSeparatorHTMLProps, 'children'>;
4
- export type MenuSeparatorProps = MenuSeparatorBaseProps;
1
+ import { type ComponentProps } from 'react';
2
+ export type MenuSeparatorProps = ComponentProps<'hr'>;
5
3
  export declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import {} from 'react';
2
3
  import { classNames } from '../../lib/react-helpers.js';
3
4
  export function MenuSeparator({ className, ...props }) {
4
- return (_jsx("li", { ...props, className: classNames('dc-menu__separator', className), role: "separator" }));
5
+ return (_jsx("hr", { ...props, className: classNames('dc-menu-separator', className) }));
5
6
  }
7
+ //# sourceMappingURL=menu-separator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-separator.js","sourceRoot":"","sources":["../../../src/components/menu/menu-separator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAIxD,MAAM,UAAU,aAAa,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACW;IACnB,OAAO,CACL,gBAAQ,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAI,CACzE,CAAC;AACJ,CAAC"}
@@ -1,29 +1,26 @@
1
1
  .dc-menu {
2
- --dc-menu-item-icon-gap: 8px;
3
- --dc-menu-item-color: var(--dc-button-gray-plain-text-color);
4
- --dc-menu-item-bg: var(--dc-button-gray-bg-hover);
5
- --dc-menu-item-color-destructive: var(--dc-button-red-plain-text-color);
6
- --dc-menu-item-bg-destructive: var(--dc-button-red-plain-bg-hover);
7
- --dc-menu-separator-color: var(--dc-bg-transparent-2);
2
+ --item-icon-gap: 8px;
3
+ --item-color: var(--dc-neutral-900);
4
+ --item-background-focus: rgb(var(--dc-neutral-500-rgb) / 15%);
5
+ --item-color-destructive: var(--dc-red-600);
6
+ --item-background-focus-destructive: rgb(var(--dc-red-600-rgb) / 15%);
7
+ --separator-color: rgb(var(--dc-neutral-500-rgb) / 15%);
8
8
 
9
+ position: fixed;
9
10
  box-sizing: border-box;
10
- width: 100%;
11
- padding: 0;
12
- margin: 0;
13
- list-style: none;
14
- color-scheme: light;
15
- }
16
-
17
- .dc-menu__container {
18
11
  min-width: 160px;
12
+ max-width: 288px;
19
13
  padding: 4px;
14
+ margin: 0;
15
+ color-scheme: light;
20
16
  }
21
17
 
22
- .dc-menu__separator {
18
+ .dc-menu-separator {
23
19
  box-sizing: border-box;
24
20
  height: 1px;
25
21
  margin: 4px 8px;
26
- background: var(--dc-menu-separator-color);
22
+ background: var(--separator-color);
23
+ border: none;
27
24
  }
28
25
 
29
26
  .dc-menu-btn {
@@ -33,7 +30,7 @@
33
30
  height: 32px;
34
31
  padding: 0 12px;
35
32
  font: var(--dc-text-sm);
36
- color: var(--dc-menu-item-color);
33
+ color: var(--item-color);
37
34
  text-align: left;
38
35
  white-space: nowrap;
39
36
  -webkit-appearance: none;
@@ -48,8 +45,8 @@
48
45
  }
49
46
 
50
47
  .dc-menu-btn:focus {
51
- background: var(--dc-menu-item-bg);
52
48
  outline: none;
49
+ background: var(--item-background-focus);
53
50
  }
54
51
 
55
52
  .dc-menu-btn:disabled {
@@ -61,23 +58,25 @@
61
58
  flex-grow: 1;
62
59
  }
63
60
 
64
- .dc-menu-btn__label_gap_left {
65
- padding-left: var(--dc-menu-item-icon-gap);
66
- }
67
-
68
- .dc-menu-btn__label_gap_right {
69
- padding-right: var(--dc-menu-item-icon-gap);
61
+ .dc-menu-btn_has-icon {
62
+ gap: var(--item-icon-gap);
70
63
  }
71
64
 
72
65
  .dc-menu-btn_destructive {
73
- color: var(--dc-menu-item-color-destructive);
66
+ color: var(--item-color-destructive);
74
67
  }
75
68
 
76
69
  .dc-menu-btn_destructive:focus {
77
- background: var(--dc-menu-item-bg-destructive);
70
+ background: var(--item-background-focus-destructive);
78
71
  }
79
72
 
80
73
  .dark .dc-menu,
81
74
  .dark.dc-menu {
75
+ --item-color: var(--dc-white);
76
+ --item-background-focus: rgb(var(--dc-neutral-100-rgb) / 15%);
77
+ --item-color-destructive: var(--dc-red-400);
78
+ --item-background-focus-destructive: rgb(var(--dc-red-500-rgb) / 25%);
79
+ --separator-color: rgb(var(--dc-neutral-100-rgb) / 15%);
80
+
82
81
  color-scheme: dark;
83
82
  }