@skeletonlabs/skeleton-react 4.3.3 → 4.4.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 (612) hide show
  1. package/dist/index.d.mts +1529 -292
  2. package/dist/index.mjs +4000 -50
  3. package/package.json +32 -31
  4. package/dist/components/accordion/anatomy/item-content.d.mts +0 -11
  5. package/dist/components/accordion/anatomy/item-content.mjs +0 -22
  6. package/dist/components/accordion/anatomy/item-indicator.d.mts +0 -11
  7. package/dist/components/accordion/anatomy/item-indicator.mjs +0 -22
  8. package/dist/components/accordion/anatomy/item-trigger.d.mts +0 -11
  9. package/dist/components/accordion/anatomy/item-trigger.mjs +0 -22
  10. package/dist/components/accordion/anatomy/item.d.mts +0 -12
  11. package/dist/components/accordion/anatomy/item.mjs +0 -26
  12. package/dist/components/accordion/anatomy/root-context.d.mts +0 -11
  13. package/dist/components/accordion/anatomy/root-context.mjs +0 -13
  14. package/dist/components/accordion/anatomy/root-provider.d.mts +0 -13
  15. package/dist/components/accordion/anatomy/root-provider.mjs +0 -21
  16. package/dist/components/accordion/anatomy/root.d.mts +0 -11
  17. package/dist/components/accordion/anatomy/root.mjs +0 -25
  18. package/dist/components/accordion/index.d.mts +0 -9
  19. package/dist/components/accordion/modules/anatomy.d.mts +0 -20
  20. package/dist/components/accordion/modules/anatomy.mjs +0 -21
  21. package/dist/components/accordion/modules/item-context.mjs +0 -8
  22. package/dist/components/accordion/modules/provider.d.mts +0 -8
  23. package/dist/components/accordion/modules/provider.mjs +0 -15
  24. package/dist/components/accordion/modules/root-context.mjs +0 -8
  25. package/dist/components/app-bar/anatomy/headline.d.mts +0 -10
  26. package/dist/components/app-bar/anatomy/headline.mjs +0 -17
  27. package/dist/components/app-bar/anatomy/lead.d.mts +0 -10
  28. package/dist/components/app-bar/anatomy/lead.mjs +0 -17
  29. package/dist/components/app-bar/anatomy/root.d.mts +0 -10
  30. package/dist/components/app-bar/anatomy/root.mjs +0 -17
  31. package/dist/components/app-bar/anatomy/toolbar.d.mts +0 -10
  32. package/dist/components/app-bar/anatomy/toolbar.mjs +0 -17
  33. package/dist/components/app-bar/anatomy/trail.d.mts +0 -10
  34. package/dist/components/app-bar/anatomy/trail.mjs +0 -17
  35. package/dist/components/app-bar/index.d.mts +0 -6
  36. package/dist/components/app-bar/modules/anatomy.d.mts +0 -16
  37. package/dist/components/app-bar/modules/anatomy.mjs +0 -17
  38. package/dist/components/avatar/anatomy/fallback.d.mts +0 -10
  39. package/dist/components/avatar/anatomy/fallback.mjs +0 -20
  40. package/dist/components/avatar/anatomy/image.d.mts +0 -10
  41. package/dist/components/avatar/anatomy/image.mjs +0 -17
  42. package/dist/components/avatar/anatomy/root-context.d.mts +0 -11
  43. package/dist/components/avatar/anatomy/root-context.mjs +0 -13
  44. package/dist/components/avatar/anatomy/root-provider.d.mts +0 -13
  45. package/dist/components/avatar/anatomy/root-provider.mjs +0 -21
  46. package/dist/components/avatar/anatomy/root.d.mts +0 -11
  47. package/dist/components/avatar/anatomy/root.mjs +0 -25
  48. package/dist/components/avatar/index.d.mts +0 -7
  49. package/dist/components/avatar/modules/anatomy.d.mts +0 -16
  50. package/dist/components/avatar/modules/anatomy.mjs +0 -17
  51. package/dist/components/avatar/modules/provider.d.mts +0 -8
  52. package/dist/components/avatar/modules/provider.mjs +0 -15
  53. package/dist/components/avatar/modules/root-context.mjs +0 -8
  54. package/dist/components/collapsible/anatomy/content.d.mts +0 -10
  55. package/dist/components/collapsible/anatomy/content.mjs +0 -20
  56. package/dist/components/collapsible/anatomy/indicator.d.mts +0 -10
  57. package/dist/components/collapsible/anatomy/indicator.mjs +0 -20
  58. package/dist/components/collapsible/anatomy/root-context.d.mts +0 -11
  59. package/dist/components/collapsible/anatomy/root-context.mjs +0 -13
  60. package/dist/components/collapsible/anatomy/root-provider.d.mts +0 -13
  61. package/dist/components/collapsible/anatomy/root-provider.mjs +0 -21
  62. package/dist/components/collapsible/anatomy/root.d.mts +0 -11
  63. package/dist/components/collapsible/anatomy/root.mjs +0 -25
  64. package/dist/components/collapsible/anatomy/trigger.d.mts +0 -10
  65. package/dist/components/collapsible/anatomy/trigger.mjs +0 -20
  66. package/dist/components/collapsible/index.d.mts +0 -8
  67. package/dist/components/collapsible/modules/anatomy.d.mts +0 -18
  68. package/dist/components/collapsible/modules/anatomy.mjs +0 -19
  69. package/dist/components/collapsible/modules/provider.d.mts +0 -8
  70. package/dist/components/collapsible/modules/provider.mjs +0 -15
  71. package/dist/components/collapsible/modules/root-context.mjs +0 -8
  72. package/dist/components/combobox/anatomy/content.d.mts +0 -10
  73. package/dist/components/combobox/anatomy/content.mjs +0 -20
  74. package/dist/components/combobox/anatomy/control.d.mts +0 -10
  75. package/dist/components/combobox/anatomy/control.mjs +0 -20
  76. package/dist/components/combobox/anatomy/input.d.mts +0 -10
  77. package/dist/components/combobox/anatomy/input.mjs +0 -17
  78. package/dist/components/combobox/anatomy/item-group-label.d.mts +0 -11
  79. package/dist/components/combobox/anatomy/item-group-label.mjs +0 -26
  80. package/dist/components/combobox/anatomy/item-group.d.mts +0 -11
  81. package/dist/components/combobox/anatomy/item-group.mjs +0 -29
  82. package/dist/components/combobox/anatomy/item-indicator.d.mts +0 -10
  83. package/dist/components/combobox/anatomy/item-indicator.mjs +0 -23
  84. package/dist/components/combobox/anatomy/item-text.d.mts +0 -10
  85. package/dist/components/combobox/anatomy/item-text.mjs +0 -22
  86. package/dist/components/combobox/anatomy/item.d.mts +0 -11
  87. package/dist/components/combobox/anatomy/item.mjs +0 -26
  88. package/dist/components/combobox/anatomy/label.d.mts +0 -10
  89. package/dist/components/combobox/anatomy/label.mjs +0 -20
  90. package/dist/components/combobox/anatomy/positioner.d.mts +0 -10
  91. package/dist/components/combobox/anatomy/positioner.mjs +0 -20
  92. package/dist/components/combobox/anatomy/root-context.d.mts +0 -11
  93. package/dist/components/combobox/anatomy/root-context.mjs +0 -13
  94. package/dist/components/combobox/anatomy/root-provider.d.mts +0 -13
  95. package/dist/components/combobox/anatomy/root-provider.mjs +0 -21
  96. package/dist/components/combobox/anatomy/root.d.mts +0 -11
  97. package/dist/components/combobox/anatomy/root.mjs +0 -25
  98. package/dist/components/combobox/anatomy/trigger.d.mts +0 -10
  99. package/dist/components/combobox/anatomy/trigger.mjs +0 -21
  100. package/dist/components/combobox/index.d.mts +0 -16
  101. package/dist/components/combobox/modules/anatomy.d.mts +0 -34
  102. package/dist/components/combobox/modules/anatomy.mjs +0 -35
  103. package/dist/components/combobox/modules/item-context.mjs +0 -8
  104. package/dist/components/combobox/modules/item-group-context.mjs +0 -8
  105. package/dist/components/combobox/modules/provider.d.mts +0 -8
  106. package/dist/components/combobox/modules/provider.mjs +0 -15
  107. package/dist/components/combobox/modules/root-context.mjs +0 -8
  108. package/dist/components/date-picker/anatomy/content.d.mts +0 -10
  109. package/dist/components/date-picker/anatomy/content.mjs +0 -20
  110. package/dist/components/date-picker/anatomy/control.d.mts +0 -10
  111. package/dist/components/date-picker/anatomy/control.mjs +0 -20
  112. package/dist/components/date-picker/anatomy/input.d.mts +0 -11
  113. package/dist/components/date-picker/anatomy/input.mjs +0 -19
  114. package/dist/components/date-picker/anatomy/label.d.mts +0 -10
  115. package/dist/components/date-picker/anatomy/label.mjs +0 -20
  116. package/dist/components/date-picker/anatomy/month-select.d.mts +0 -10
  117. package/dist/components/date-picker/anatomy/month-select.mjs +0 -23
  118. package/dist/components/date-picker/anatomy/next-trigger.d.mts +0 -10
  119. package/dist/components/date-picker/anatomy/next-trigger.mjs +0 -23
  120. package/dist/components/date-picker/anatomy/positioner.d.mts +0 -10
  121. package/dist/components/date-picker/anatomy/positioner.mjs +0 -20
  122. package/dist/components/date-picker/anatomy/preset-trigger.d.mts +0 -11
  123. package/dist/components/date-picker/anatomy/preset-trigger.mjs +0 -22
  124. package/dist/components/date-picker/anatomy/prev-trigger.d.mts +0 -10
  125. package/dist/components/date-picker/anatomy/prev-trigger.mjs +0 -23
  126. package/dist/components/date-picker/anatomy/range-text.d.mts +0 -10
  127. package/dist/components/date-picker/anatomy/range-text.mjs +0 -21
  128. package/dist/components/date-picker/anatomy/root-context.d.mts +0 -11
  129. package/dist/components/date-picker/anatomy/root-context.mjs +0 -13
  130. package/dist/components/date-picker/anatomy/root-provider.d.mts +0 -13
  131. package/dist/components/date-picker/anatomy/root-provider.mjs +0 -21
  132. package/dist/components/date-picker/anatomy/root.d.mts +0 -11
  133. package/dist/components/date-picker/anatomy/root.mjs +0 -25
  134. package/dist/components/date-picker/anatomy/table-body.d.mts +0 -10
  135. package/dist/components/date-picker/anatomy/table-body.mjs +0 -22
  136. package/dist/components/date-picker/anatomy/table-cell-trigger.d.mts +0 -10
  137. package/dist/components/date-picker/anatomy/table-cell-trigger.mjs +0 -31
  138. package/dist/components/date-picker/anatomy/table-cell.d.mts +0 -12
  139. package/dist/components/date-picker/anatomy/table-cell.mjs +0 -35
  140. package/dist/components/date-picker/anatomy/table-head.d.mts +0 -10
  141. package/dist/components/date-picker/anatomy/table-head.mjs +0 -22
  142. package/dist/components/date-picker/anatomy/table-header.d.mts +0 -10
  143. package/dist/components/date-picker/anatomy/table-header.mjs +0 -22
  144. package/dist/components/date-picker/anatomy/table-row.d.mts +0 -10
  145. package/dist/components/date-picker/anatomy/table-row.mjs +0 -22
  146. package/dist/components/date-picker/anatomy/table.d.mts +0 -10
  147. package/dist/components/date-picker/anatomy/table.mjs +0 -22
  148. package/dist/components/date-picker/anatomy/trigger.d.mts +0 -10
  149. package/dist/components/date-picker/anatomy/trigger.mjs +0 -21
  150. package/dist/components/date-picker/anatomy/view-control.d.mts +0 -10
  151. package/dist/components/date-picker/anatomy/view-control.mjs +0 -22
  152. package/dist/components/date-picker/anatomy/view-trigger.d.mts +0 -10
  153. package/dist/components/date-picker/anatomy/view-trigger.mjs +0 -22
  154. package/dist/components/date-picker/anatomy/view.d.mts +0 -11
  155. package/dist/components/date-picker/anatomy/view.mjs +0 -26
  156. package/dist/components/date-picker/anatomy/year-select.d.mts +0 -10
  157. package/dist/components/date-picker/anatomy/year-select.mjs +0 -23
  158. package/dist/components/date-picker/index.d.mts +0 -29
  159. package/dist/components/date-picker/index.mjs +0 -5
  160. package/dist/components/date-picker/modules/anatomy.d.mts +0 -56
  161. package/dist/components/date-picker/modules/anatomy.mjs +0 -57
  162. package/dist/components/date-picker/modules/provider.d.mts +0 -8
  163. package/dist/components/date-picker/modules/provider.mjs +0 -15
  164. package/dist/components/date-picker/modules/root-context.mjs +0 -8
  165. package/dist/components/date-picker/modules/table-cell-context.mjs +0 -8
  166. package/dist/components/date-picker/modules/view-context.mjs +0 -8
  167. package/dist/components/dialog/anatomy/backdrop.d.mts +0 -10
  168. package/dist/components/dialog/anatomy/backdrop.mjs +0 -17
  169. package/dist/components/dialog/anatomy/close-trigger.d.mts +0 -10
  170. package/dist/components/dialog/anatomy/close-trigger.mjs +0 -20
  171. package/dist/components/dialog/anatomy/content.d.mts +0 -10
  172. package/dist/components/dialog/anatomy/content.mjs +0 -20
  173. package/dist/components/dialog/anatomy/description.d.mts +0 -10
  174. package/dist/components/dialog/anatomy/description.mjs +0 -20
  175. package/dist/components/dialog/anatomy/positioner.d.mts +0 -10
  176. package/dist/components/dialog/anatomy/positioner.mjs +0 -20
  177. package/dist/components/dialog/anatomy/root-context.d.mts +0 -11
  178. package/dist/components/dialog/anatomy/root-context.mjs +0 -13
  179. package/dist/components/dialog/anatomy/root-provider.d.mts +0 -12
  180. package/dist/components/dialog/anatomy/root-provider.mjs +0 -15
  181. package/dist/components/dialog/anatomy/root.d.mts +0 -10
  182. package/dist/components/dialog/anatomy/root.mjs +0 -20
  183. package/dist/components/dialog/anatomy/title.d.mts +0 -10
  184. package/dist/components/dialog/anatomy/title.mjs +0 -20
  185. package/dist/components/dialog/anatomy/trigger.d.mts +0 -10
  186. package/dist/components/dialog/anatomy/trigger.mjs +0 -20
  187. package/dist/components/dialog/index.d.mts +0 -12
  188. package/dist/components/dialog/modules/anatomy.d.mts +0 -26
  189. package/dist/components/dialog/modules/anatomy.mjs +0 -27
  190. package/dist/components/dialog/modules/provider.d.mts +0 -8
  191. package/dist/components/dialog/modules/provider.mjs +0 -15
  192. package/dist/components/dialog/modules/root-context.mjs +0 -8
  193. package/dist/components/file-upload/anatomy/dropzone.d.mts +0 -10
  194. package/dist/components/file-upload/anatomy/dropzone.mjs +0 -20
  195. package/dist/components/file-upload/anatomy/hidden-input.d.mts +0 -10
  196. package/dist/components/file-upload/anatomy/hidden-input.mjs +0 -17
  197. package/dist/components/file-upload/anatomy/item-delete-trigger.d.mts +0 -10
  198. package/dist/components/file-upload/anatomy/item-delete-trigger.mjs +0 -22
  199. package/dist/components/file-upload/anatomy/item-group.d.mts +0 -10
  200. package/dist/components/file-upload/anatomy/item-group.mjs +0 -20
  201. package/dist/components/file-upload/anatomy/item-name.d.mts +0 -10
  202. package/dist/components/file-upload/anatomy/item-name.mjs +0 -22
  203. package/dist/components/file-upload/anatomy/item-size-text.d.mts +0 -10
  204. package/dist/components/file-upload/anatomy/item-size-text.mjs +0 -22
  205. package/dist/components/file-upload/anatomy/item.d.mts +0 -11
  206. package/dist/components/file-upload/anatomy/item.mjs +0 -26
  207. package/dist/components/file-upload/anatomy/label.d.mts +0 -10
  208. package/dist/components/file-upload/anatomy/label.mjs +0 -20
  209. package/dist/components/file-upload/anatomy/root-context.d.mts +0 -11
  210. package/dist/components/file-upload/anatomy/root-context.mjs +0 -13
  211. package/dist/components/file-upload/anatomy/root-provider.d.mts +0 -13
  212. package/dist/components/file-upload/anatomy/root-provider.mjs +0 -21
  213. package/dist/components/file-upload/anatomy/root.d.mts +0 -11
  214. package/dist/components/file-upload/anatomy/root.mjs +0 -25
  215. package/dist/components/file-upload/anatomy/trigger.d.mts +0 -10
  216. package/dist/components/file-upload/anatomy/trigger.mjs +0 -20
  217. package/dist/components/file-upload/index.d.mts +0 -14
  218. package/dist/components/file-upload/modules/anatomy.d.mts +0 -30
  219. package/dist/components/file-upload/modules/anatomy.mjs +0 -31
  220. package/dist/components/file-upload/modules/item-context.mjs +0 -8
  221. package/dist/components/file-upload/modules/provider.d.mts +0 -8
  222. package/dist/components/file-upload/modules/provider.mjs +0 -15
  223. package/dist/components/file-upload/modules/root-context.mjs +0 -8
  224. package/dist/components/listbox/anatomy/content.d.mts +0 -10
  225. package/dist/components/listbox/anatomy/content.mjs +0 -20
  226. package/dist/components/listbox/anatomy/input.d.mts +0 -10
  227. package/dist/components/listbox/anatomy/input.mjs +0 -17
  228. package/dist/components/listbox/anatomy/item-group-label.d.mts +0 -11
  229. package/dist/components/listbox/anatomy/item-group-label.mjs +0 -26
  230. package/dist/components/listbox/anatomy/item-group.d.mts +0 -11
  231. package/dist/components/listbox/anatomy/item-group.mjs +0 -29
  232. package/dist/components/listbox/anatomy/item-indicator.d.mts +0 -10
  233. package/dist/components/listbox/anatomy/item-indicator.mjs +0 -23
  234. package/dist/components/listbox/anatomy/item-text.d.mts +0 -10
  235. package/dist/components/listbox/anatomy/item-text.mjs +0 -22
  236. package/dist/components/listbox/anatomy/item.d.mts +0 -11
  237. package/dist/components/listbox/anatomy/item.mjs +0 -26
  238. package/dist/components/listbox/anatomy/label.d.mts +0 -10
  239. package/dist/components/listbox/anatomy/label.mjs +0 -20
  240. package/dist/components/listbox/anatomy/root-context.d.mts +0 -11
  241. package/dist/components/listbox/anatomy/root-context.mjs +0 -13
  242. package/dist/components/listbox/anatomy/root-provider.d.mts +0 -13
  243. package/dist/components/listbox/anatomy/root-provider.mjs +0 -21
  244. package/dist/components/listbox/anatomy/root.d.mts +0 -11
  245. package/dist/components/listbox/anatomy/root.mjs +0 -25
  246. package/dist/components/listbox/index.d.mts +0 -13
  247. package/dist/components/listbox/modules/anatomy.d.mts +0 -28
  248. package/dist/components/listbox/modules/anatomy.mjs +0 -29
  249. package/dist/components/listbox/modules/item-context.mjs +0 -8
  250. package/dist/components/listbox/modules/item-group-context.mjs +0 -8
  251. package/dist/components/listbox/modules/provider.d.mts +0 -8
  252. package/dist/components/listbox/modules/provider.mjs +0 -15
  253. package/dist/components/listbox/modules/root-context.mjs +0 -8
  254. package/dist/components/navigation/anatomy/content.d.mts +0 -10
  255. package/dist/components/navigation/anatomy/content.mjs +0 -23
  256. package/dist/components/navigation/anatomy/footer.d.mts +0 -10
  257. package/dist/components/navigation/anatomy/footer.mjs +0 -23
  258. package/dist/components/navigation/anatomy/group.d.mts +0 -10
  259. package/dist/components/navigation/anatomy/group.mjs +0 -23
  260. package/dist/components/navigation/anatomy/header.d.mts +0 -10
  261. package/dist/components/navigation/anatomy/header.mjs +0 -23
  262. package/dist/components/navigation/anatomy/label.d.mts +0 -10
  263. package/dist/components/navigation/anatomy/label.mjs +0 -23
  264. package/dist/components/navigation/anatomy/menu.d.mts +0 -10
  265. package/dist/components/navigation/anatomy/menu.mjs +0 -23
  266. package/dist/components/navigation/anatomy/root.d.mts +0 -17
  267. package/dist/components/navigation/anatomy/root.mjs +0 -24
  268. package/dist/components/navigation/index.d.mts +0 -8
  269. package/dist/components/navigation/modules/anatomy.d.mts +0 -20
  270. package/dist/components/navigation/modules/anatomy.mjs +0 -21
  271. package/dist/components/navigation/modules/root-context.mjs +0 -8
  272. package/dist/components/pagination/anatomy/ellipsis.d.mts +0 -11
  273. package/dist/components/pagination/anatomy/ellipsis.mjs +0 -22
  274. package/dist/components/pagination/anatomy/first-trigger.d.mts +0 -10
  275. package/dist/components/pagination/anatomy/first-trigger.mjs +0 -23
  276. package/dist/components/pagination/anatomy/item.d.mts +0 -11
  277. package/dist/components/pagination/anatomy/item.mjs +0 -22
  278. package/dist/components/pagination/anatomy/last-trigger.d.mts +0 -10
  279. package/dist/components/pagination/anatomy/last-trigger.mjs +0 -23
  280. package/dist/components/pagination/anatomy/next-trigger.d.mts +0 -10
  281. package/dist/components/pagination/anatomy/next-trigger.mjs +0 -20
  282. package/dist/components/pagination/anatomy/prev-trigger.d.mts +0 -10
  283. package/dist/components/pagination/anatomy/prev-trigger.mjs +0 -20
  284. package/dist/components/pagination/anatomy/root-context.d.mts +0 -11
  285. package/dist/components/pagination/anatomy/root-context.mjs +0 -13
  286. package/dist/components/pagination/anatomy/root-provider.d.mts +0 -13
  287. package/dist/components/pagination/anatomy/root-provider.mjs +0 -21
  288. package/dist/components/pagination/anatomy/root.d.mts +0 -11
  289. package/dist/components/pagination/anatomy/root.mjs +0 -25
  290. package/dist/components/pagination/index.d.mts +0 -11
  291. package/dist/components/pagination/modules/anatomy.d.mts +0 -24
  292. package/dist/components/pagination/modules/anatomy.mjs +0 -25
  293. package/dist/components/pagination/modules/provider.d.mts +0 -8
  294. package/dist/components/pagination/modules/provider.mjs +0 -15
  295. package/dist/components/pagination/modules/root-context.mjs +0 -8
  296. package/dist/components/popover/anatomy/arrow-tip.d.mts +0 -10
  297. package/dist/components/popover/anatomy/arrow-tip.mjs +0 -20
  298. package/dist/components/popover/anatomy/arrow.d.mts +0 -10
  299. package/dist/components/popover/anatomy/arrow.mjs +0 -20
  300. package/dist/components/popover/anatomy/close-trigger.d.mts +0 -10
  301. package/dist/components/popover/anatomy/close-trigger.mjs +0 -20
  302. package/dist/components/popover/anatomy/content.d.mts +0 -10
  303. package/dist/components/popover/anatomy/content.mjs +0 -20
  304. package/dist/components/popover/anatomy/description.d.mts +0 -10
  305. package/dist/components/popover/anatomy/description.mjs +0 -20
  306. package/dist/components/popover/anatomy/positioner.d.mts +0 -10
  307. package/dist/components/popover/anatomy/positioner.mjs +0 -20
  308. package/dist/components/popover/anatomy/root-context.d.mts +0 -11
  309. package/dist/components/popover/anatomy/root-context.mjs +0 -13
  310. package/dist/components/popover/anatomy/root-provider.d.mts +0 -12
  311. package/dist/components/popover/anatomy/root-provider.mjs +0 -15
  312. package/dist/components/popover/anatomy/root.d.mts +0 -10
  313. package/dist/components/popover/anatomy/root.mjs +0 -20
  314. package/dist/components/popover/anatomy/title.d.mts +0 -10
  315. package/dist/components/popover/anatomy/title.mjs +0 -20
  316. package/dist/components/popover/anatomy/trigger.d.mts +0 -11
  317. package/dist/components/popover/anatomy/trigger.mjs +0 -20
  318. package/dist/components/popover/index.d.mts +0 -13
  319. package/dist/components/popover/modules/anatomy.d.mts +0 -28
  320. package/dist/components/popover/modules/anatomy.mjs +0 -29
  321. package/dist/components/popover/modules/provider.d.mts +0 -8
  322. package/dist/components/popover/modules/provider.mjs +0 -15
  323. package/dist/components/popover/modules/root-context.mjs +0 -8
  324. package/dist/components/portal/anatomy/root.d.mts +0 -22
  325. package/dist/components/portal/anatomy/root.mjs +0 -14
  326. package/dist/components/portal/index.d.mts +0 -2
  327. package/dist/components/portal/modules/anatomy.d.mts +0 -7
  328. package/dist/components/portal/modules/anatomy.mjs +0 -8
  329. package/dist/components/progress/anatomy/circle-range.d.mts +0 -10
  330. package/dist/components/progress/anatomy/circle-range.mjs +0 -20
  331. package/dist/components/progress/anatomy/circle-track.d.mts +0 -10
  332. package/dist/components/progress/anatomy/circle-track.mjs +0 -17
  333. package/dist/components/progress/anatomy/circle.d.mts +0 -10
  334. package/dist/components/progress/anatomy/circle.mjs +0 -26
  335. package/dist/components/progress/anatomy/label.d.mts +0 -10
  336. package/dist/components/progress/anatomy/label.mjs +0 -20
  337. package/dist/components/progress/anatomy/range.d.mts +0 -10
  338. package/dist/components/progress/anatomy/range.mjs +0 -17
  339. package/dist/components/progress/anatomy/root-context.d.mts +0 -11
  340. package/dist/components/progress/anatomy/root-context.mjs +0 -13
  341. package/dist/components/progress/anatomy/root-provider.d.mts +0 -13
  342. package/dist/components/progress/anatomy/root-provider.mjs +0 -21
  343. package/dist/components/progress/anatomy/root.d.mts +0 -11
  344. package/dist/components/progress/anatomy/root.mjs +0 -25
  345. package/dist/components/progress/anatomy/track.d.mts +0 -10
  346. package/dist/components/progress/anatomy/track.mjs +0 -20
  347. package/dist/components/progress/anatomy/value-text.d.mts +0 -10
  348. package/dist/components/progress/anatomy/value-text.mjs +0 -20
  349. package/dist/components/progress/index.d.mts +0 -12
  350. package/dist/components/progress/modules/anatomy.d.mts +0 -26
  351. package/dist/components/progress/modules/anatomy.mjs +0 -27
  352. package/dist/components/progress/modules/provider.d.mts +0 -8
  353. package/dist/components/progress/modules/provider.mjs +0 -15
  354. package/dist/components/progress/modules/root-context.mjs +0 -8
  355. package/dist/components/rating-group/anatomy/control.d.mts +0 -10
  356. package/dist/components/rating-group/anatomy/control.mjs +0 -20
  357. package/dist/components/rating-group/anatomy/hidden-input.d.mts +0 -10
  358. package/dist/components/rating-group/anatomy/hidden-input.mjs +0 -17
  359. package/dist/components/rating-group/anatomy/item.d.mts +0 -31
  360. package/dist/components/rating-group/anatomy/item.mjs +0 -26
  361. package/dist/components/rating-group/anatomy/label.d.mts +0 -10
  362. package/dist/components/rating-group/anatomy/label.mjs +0 -20
  363. package/dist/components/rating-group/anatomy/root-context.d.mts +0 -11
  364. package/dist/components/rating-group/anatomy/root-context.mjs +0 -13
  365. package/dist/components/rating-group/anatomy/root-provider.d.mts +0 -13
  366. package/dist/components/rating-group/anatomy/root-provider.mjs +0 -21
  367. package/dist/components/rating-group/anatomy/root.d.mts +0 -11
  368. package/dist/components/rating-group/anatomy/root.mjs +0 -25
  369. package/dist/components/rating-group/index.d.mts +0 -9
  370. package/dist/components/rating-group/modules/anatomy.d.mts +0 -20
  371. package/dist/components/rating-group/modules/anatomy.mjs +0 -21
  372. package/dist/components/rating-group/modules/provider.d.mts +0 -8
  373. package/dist/components/rating-group/modules/provider.mjs +0 -15
  374. package/dist/components/rating-group/modules/root-context.mjs +0 -8
  375. package/dist/components/segmented-control/anatomy/control.d.mts +0 -10
  376. package/dist/components/segmented-control/anatomy/control.mjs +0 -17
  377. package/dist/components/segmented-control/anatomy/indicator.d.mts +0 -10
  378. package/dist/components/segmented-control/anatomy/indicator.mjs +0 -17
  379. package/dist/components/segmented-control/anatomy/item-hidden-input.d.mts +0 -10
  380. package/dist/components/segmented-control/anatomy/item-hidden-input.mjs +0 -19
  381. package/dist/components/segmented-control/anatomy/item-text.d.mts +0 -10
  382. package/dist/components/segmented-control/anatomy/item-text.mjs +0 -22
  383. package/dist/components/segmented-control/anatomy/item.d.mts +0 -11
  384. package/dist/components/segmented-control/anatomy/item.mjs +0 -26
  385. package/dist/components/segmented-control/anatomy/label.d.mts +0 -10
  386. package/dist/components/segmented-control/anatomy/label.mjs +0 -20
  387. package/dist/components/segmented-control/anatomy/root-context.d.mts +0 -11
  388. package/dist/components/segmented-control/anatomy/root-context.mjs +0 -13
  389. package/dist/components/segmented-control/anatomy/root-provider.d.mts +0 -13
  390. package/dist/components/segmented-control/anatomy/root-provider.mjs +0 -21
  391. package/dist/components/segmented-control/anatomy/root.d.mts +0 -11
  392. package/dist/components/segmented-control/anatomy/root.mjs +0 -25
  393. package/dist/components/segmented-control/index.d.mts +0 -11
  394. package/dist/components/segmented-control/modules/anatomy.d.mts +0 -24
  395. package/dist/components/segmented-control/modules/anatomy.mjs +0 -25
  396. package/dist/components/segmented-control/modules/item-context.mjs +0 -8
  397. package/dist/components/segmented-control/modules/provider.d.mts +0 -8
  398. package/dist/components/segmented-control/modules/provider.mjs +0 -16
  399. package/dist/components/segmented-control/modules/root-context.mjs +0 -8
  400. package/dist/components/slider/anatomy/control.d.mts +0 -10
  401. package/dist/components/slider/anatomy/control.mjs +0 -20
  402. package/dist/components/slider/anatomy/hidden-input.d.mts +0 -10
  403. package/dist/components/slider/anatomy/hidden-input.mjs +0 -19
  404. package/dist/components/slider/anatomy/label.d.mts +0 -10
  405. package/dist/components/slider/anatomy/label.mjs +0 -20
  406. package/dist/components/slider/anatomy/marker-group.d.mts +0 -10
  407. package/dist/components/slider/anatomy/marker-group.mjs +0 -20
  408. package/dist/components/slider/anatomy/marker.d.mts +0 -11
  409. package/dist/components/slider/anatomy/marker.mjs +0 -20
  410. package/dist/components/slider/anatomy/range.d.mts +0 -10
  411. package/dist/components/slider/anatomy/range.mjs +0 -20
  412. package/dist/components/slider/anatomy/root-context.d.mts +0 -11
  413. package/dist/components/slider/anatomy/root-context.mjs +0 -13
  414. package/dist/components/slider/anatomy/root-provider.d.mts +0 -13
  415. package/dist/components/slider/anatomy/root-provider.mjs +0 -21
  416. package/dist/components/slider/anatomy/root.d.mts +0 -11
  417. package/dist/components/slider/anatomy/root.mjs +0 -25
  418. package/dist/components/slider/anatomy/thumb.d.mts +0 -11
  419. package/dist/components/slider/anatomy/thumb.mjs +0 -26
  420. package/dist/components/slider/anatomy/track.d.mts +0 -10
  421. package/dist/components/slider/anatomy/track.mjs +0 -20
  422. package/dist/components/slider/anatomy/value-text.d.mts +0 -10
  423. package/dist/components/slider/anatomy/value-text.mjs +0 -20
  424. package/dist/components/slider/index.d.mts +0 -14
  425. package/dist/components/slider/modules/anatomy.d.mts +0 -30
  426. package/dist/components/slider/modules/anatomy.mjs +0 -31
  427. package/dist/components/slider/modules/provider.d.mts +0 -8
  428. package/dist/components/slider/modules/provider.mjs +0 -15
  429. package/dist/components/slider/modules/root-context.mjs +0 -8
  430. package/dist/components/slider/modules/thumb-context.mjs +0 -8
  431. package/dist/components/switch/anatomy/control.d.mts +0 -10
  432. package/dist/components/switch/anatomy/control.mjs +0 -20
  433. package/dist/components/switch/anatomy/hidden-input.d.mts +0 -10
  434. package/dist/components/switch/anatomy/hidden-input.mjs +0 -17
  435. package/dist/components/switch/anatomy/label.d.mts +0 -10
  436. package/dist/components/switch/anatomy/label.mjs +0 -20
  437. package/dist/components/switch/anatomy/root-context.d.mts +0 -11
  438. package/dist/components/switch/anatomy/root-context.mjs +0 -13
  439. package/dist/components/switch/anatomy/root-provider.d.mts +0 -13
  440. package/dist/components/switch/anatomy/root-provider.mjs +0 -21
  441. package/dist/components/switch/anatomy/root.d.mts +0 -11
  442. package/dist/components/switch/anatomy/root.mjs +0 -25
  443. package/dist/components/switch/anatomy/thumb.d.mts +0 -10
  444. package/dist/components/switch/anatomy/thumb.mjs +0 -20
  445. package/dist/components/switch/index.d.mts +0 -9
  446. package/dist/components/switch/modules/anatomy.d.mts +0 -20
  447. package/dist/components/switch/modules/anatomy.mjs +0 -21
  448. package/dist/components/switch/modules/provider.d.mts +0 -8
  449. package/dist/components/switch/modules/provider.mjs +0 -15
  450. package/dist/components/switch/modules/root-context.mjs +0 -8
  451. package/dist/components/tabs/anatomy/content.d.mts +0 -11
  452. package/dist/components/tabs/anatomy/content.mjs +0 -22
  453. package/dist/components/tabs/anatomy/indicator.d.mts +0 -10
  454. package/dist/components/tabs/anatomy/indicator.mjs +0 -17
  455. package/dist/components/tabs/anatomy/list.d.mts +0 -10
  456. package/dist/components/tabs/anatomy/list.mjs +0 -20
  457. package/dist/components/tabs/anatomy/root-context.d.mts +0 -11
  458. package/dist/components/tabs/anatomy/root-context.mjs +0 -13
  459. package/dist/components/tabs/anatomy/root-provider.d.mts +0 -13
  460. package/dist/components/tabs/anatomy/root-provider.mjs +0 -21
  461. package/dist/components/tabs/anatomy/root.d.mts +0 -11
  462. package/dist/components/tabs/anatomy/root.mjs +0 -25
  463. package/dist/components/tabs/anatomy/trigger.d.mts +0 -11
  464. package/dist/components/tabs/anatomy/trigger.mjs +0 -22
  465. package/dist/components/tabs/index.d.mts +0 -9
  466. package/dist/components/tabs/modules/anatomy.d.mts +0 -20
  467. package/dist/components/tabs/modules/anatomy.mjs +0 -21
  468. package/dist/components/tabs/modules/provider.d.mts +0 -8
  469. package/dist/components/tabs/modules/provider.mjs +0 -15
  470. package/dist/components/tabs/modules/root-context.mjs +0 -8
  471. package/dist/components/tags-input/anatomy/clear-trigger.d.mts +0 -10
  472. package/dist/components/tags-input/anatomy/clear-trigger.mjs +0 -20
  473. package/dist/components/tags-input/anatomy/control.d.mts +0 -10
  474. package/dist/components/tags-input/anatomy/control.mjs +0 -20
  475. package/dist/components/tags-input/anatomy/hidden-input.d.mts +0 -10
  476. package/dist/components/tags-input/anatomy/hidden-input.mjs +0 -17
  477. package/dist/components/tags-input/anatomy/input.d.mts +0 -10
  478. package/dist/components/tags-input/anatomy/input.mjs +0 -17
  479. package/dist/components/tags-input/anatomy/item-delete-trigger.d.mts +0 -10
  480. package/dist/components/tags-input/anatomy/item-delete-trigger.mjs +0 -22
  481. package/dist/components/tags-input/anatomy/item-input.d.mts +0 -10
  482. package/dist/components/tags-input/anatomy/item-input.mjs +0 -19
  483. package/dist/components/tags-input/anatomy/item-preview.d.mts +0 -10
  484. package/dist/components/tags-input/anatomy/item-preview.mjs +0 -22
  485. package/dist/components/tags-input/anatomy/item-text.d.mts +0 -10
  486. package/dist/components/tags-input/anatomy/item-text.mjs +0 -22
  487. package/dist/components/tags-input/anatomy/item.d.mts +0 -11
  488. package/dist/components/tags-input/anatomy/item.mjs +0 -26
  489. package/dist/components/tags-input/anatomy/label.d.mts +0 -10
  490. package/dist/components/tags-input/anatomy/label.mjs +0 -20
  491. package/dist/components/tags-input/anatomy/root-context.d.mts +0 -11
  492. package/dist/components/tags-input/anatomy/root-context.mjs +0 -13
  493. package/dist/components/tags-input/anatomy/root-provider.d.mts +0 -13
  494. package/dist/components/tags-input/anatomy/root-provider.mjs +0 -21
  495. package/dist/components/tags-input/anatomy/root.d.mts +0 -11
  496. package/dist/components/tags-input/anatomy/root.mjs +0 -25
  497. package/dist/components/tags-input/index.d.mts +0 -15
  498. package/dist/components/tags-input/modules/anatomy.d.mts +0 -32
  499. package/dist/components/tags-input/modules/anatomy.mjs +0 -33
  500. package/dist/components/tags-input/modules/item-context.mjs +0 -8
  501. package/dist/components/tags-input/modules/provider.d.mts +0 -8
  502. package/dist/components/tags-input/modules/provider.mjs +0 -15
  503. package/dist/components/tags-input/modules/root-context.mjs +0 -8
  504. package/dist/components/toast/anatomy/action-trigger.d.mts +0 -10
  505. package/dist/components/toast/anatomy/action-trigger.mjs +0 -20
  506. package/dist/components/toast/anatomy/close-trigger.d.mts +0 -10
  507. package/dist/components/toast/anatomy/close-trigger.mjs +0 -21
  508. package/dist/components/toast/anatomy/description.d.mts +0 -10
  509. package/dist/components/toast/anatomy/description.mjs +0 -20
  510. package/dist/components/toast/anatomy/group.d.mts +0 -15
  511. package/dist/components/toast/anatomy/group.mjs +0 -28
  512. package/dist/components/toast/anatomy/message.d.mts +0 -10
  513. package/dist/components/toast/anatomy/message.mjs +0 -17
  514. package/dist/components/toast/anatomy/root-context.d.mts +0 -12
  515. package/dist/components/toast/anatomy/root-context.mjs +0 -13
  516. package/dist/components/toast/anatomy/root.d.mts +0 -13
  517. package/dist/components/toast/anatomy/root.mjs +0 -56
  518. package/dist/components/toast/anatomy/title.d.mts +0 -10
  519. package/dist/components/toast/anatomy/title.mjs +0 -20
  520. package/dist/components/toast/index.d.mts +0 -11
  521. package/dist/components/toast/index.mjs +0 -4
  522. package/dist/components/toast/modules/anatomy.d.mts +0 -22
  523. package/dist/components/toast/modules/anatomy.mjs +0 -23
  524. package/dist/components/toast/modules/group-context.mjs +0 -8
  525. package/dist/components/toast/modules/root-context.mjs +0 -8
  526. package/dist/components/toggle-group/anatomy/item.d.mts +0 -11
  527. package/dist/components/toggle-group/anatomy/item.mjs +0 -22
  528. package/dist/components/toggle-group/anatomy/root-context.d.mts +0 -11
  529. package/dist/components/toggle-group/anatomy/root-context.mjs +0 -13
  530. package/dist/components/toggle-group/anatomy/root-provider.d.mts +0 -13
  531. package/dist/components/toggle-group/anatomy/root-provider.mjs +0 -21
  532. package/dist/components/toggle-group/anatomy/root.d.mts +0 -11
  533. package/dist/components/toggle-group/anatomy/root.mjs +0 -25
  534. package/dist/components/toggle-group/index.d.mts +0 -6
  535. package/dist/components/toggle-group/modules/anatomy.d.mts +0 -14
  536. package/dist/components/toggle-group/modules/anatomy.mjs +0 -15
  537. package/dist/components/toggle-group/modules/provider.d.mts +0 -8
  538. package/dist/components/toggle-group/modules/provider.mjs +0 -15
  539. package/dist/components/toggle-group/modules/root-context.mjs +0 -8
  540. package/dist/components/tooltip/anatomy/arrow-tip.d.mts +0 -10
  541. package/dist/components/tooltip/anatomy/arrow-tip.mjs +0 -20
  542. package/dist/components/tooltip/anatomy/arrow.d.mts +0 -10
  543. package/dist/components/tooltip/anatomy/arrow.mjs +0 -20
  544. package/dist/components/tooltip/anatomy/content.d.mts +0 -10
  545. package/dist/components/tooltip/anatomy/content.mjs +0 -20
  546. package/dist/components/tooltip/anatomy/positioner.d.mts +0 -10
  547. package/dist/components/tooltip/anatomy/positioner.mjs +0 -20
  548. package/dist/components/tooltip/anatomy/root-context.d.mts +0 -11
  549. package/dist/components/tooltip/anatomy/root-context.mjs +0 -13
  550. package/dist/components/tooltip/anatomy/root-provider.d.mts +0 -12
  551. package/dist/components/tooltip/anatomy/root-provider.mjs +0 -15
  552. package/dist/components/tooltip/anatomy/root.d.mts +0 -10
  553. package/dist/components/tooltip/anatomy/root.mjs +0 -19
  554. package/dist/components/tooltip/anatomy/trigger.d.mts +0 -10
  555. package/dist/components/tooltip/anatomy/trigger.mjs +0 -20
  556. package/dist/components/tooltip/index.d.mts +0 -10
  557. package/dist/components/tooltip/modules/anatomy.d.mts +0 -22
  558. package/dist/components/tooltip/modules/anatomy.mjs +0 -23
  559. package/dist/components/tooltip/modules/provider.d.mts +0 -8
  560. package/dist/components/tooltip/modules/provider.mjs +0 -15
  561. package/dist/components/tooltip/modules/root-context.mjs +0 -8
  562. package/dist/components/tree-view/anatomy/branch-content.d.mts +0 -10
  563. package/dist/components/tree-view/anatomy/branch-content.mjs +0 -22
  564. package/dist/components/tree-view/anatomy/branch-control.d.mts +0 -10
  565. package/dist/components/tree-view/anatomy/branch-control.mjs +0 -22
  566. package/dist/components/tree-view/anatomy/branch-indent-guide.d.mts +0 -10
  567. package/dist/components/tree-view/anatomy/branch-indent-guide.mjs +0 -22
  568. package/dist/components/tree-view/anatomy/branch-indicator.d.mts +0 -10
  569. package/dist/components/tree-view/anatomy/branch-indicator.mjs +0 -23
  570. package/dist/components/tree-view/anatomy/branch-text.d.mts +0 -10
  571. package/dist/components/tree-view/anatomy/branch-text.mjs +0 -22
  572. package/dist/components/tree-view/anatomy/branch.d.mts +0 -10
  573. package/dist/components/tree-view/anatomy/branch.mjs +0 -22
  574. package/dist/components/tree-view/anatomy/item.d.mts +0 -10
  575. package/dist/components/tree-view/anatomy/item.mjs +0 -22
  576. package/dist/components/tree-view/anatomy/label.d.mts +0 -17
  577. package/dist/components/tree-view/anatomy/label.mjs +0 -21
  578. package/dist/components/tree-view/anatomy/node-context.d.mts +0 -11
  579. package/dist/components/tree-view/anatomy/node-context.mjs +0 -13
  580. package/dist/components/tree-view/anatomy/node-provider.d.mts +0 -12
  581. package/dist/components/tree-view/anatomy/node-provider.mjs +0 -15
  582. package/dist/components/tree-view/anatomy/root-context.d.mts +0 -11
  583. package/dist/components/tree-view/anatomy/root-context.mjs +0 -13
  584. package/dist/components/tree-view/anatomy/root-provider.d.mts +0 -13
  585. package/dist/components/tree-view/anatomy/root-provider.mjs +0 -21
  586. package/dist/components/tree-view/anatomy/root.d.mts +0 -11
  587. package/dist/components/tree-view/anatomy/root.mjs +0 -25
  588. package/dist/components/tree-view/anatomy/tree.d.mts +0 -10
  589. package/dist/components/tree-view/anatomy/tree.mjs +0 -20
  590. package/dist/components/tree-view/index.d.mts +0 -18
  591. package/dist/components/tree-view/index.mjs +0 -5
  592. package/dist/components/tree-view/modules/anatomy.d.mts +0 -34
  593. package/dist/components/tree-view/modules/anatomy.mjs +0 -35
  594. package/dist/components/tree-view/modules/node-context.mjs +0 -8
  595. package/dist/components/tree-view/modules/provider.d.mts +0 -8
  596. package/dist/components/tree-view/modules/provider.mjs +0 -15
  597. package/dist/components/tree-view/modules/root-context.mjs +0 -8
  598. package/dist/hooks/use-list-collection.d.mts +0 -7
  599. package/dist/hooks/use-list-collection.mjs +0 -10
  600. package/dist/internal/components/calendar.mjs +0 -36
  601. package/dist/internal/components/check.mjs +0 -25
  602. package/dist/internal/components/chevron-down.mjs +0 -25
  603. package/dist/internal/components/chevron-left.mjs +0 -25
  604. package/dist/internal/components/chevron-right.mjs +0 -25
  605. package/dist/internal/components/star-empty.mjs +0 -27
  606. package/dist/internal/components/star-full.mjs +0 -25
  607. package/dist/internal/components/star-half.mjs +0 -41
  608. package/dist/internal/components/x.mjs +0 -25
  609. package/dist/internal/create-context.mjs +0 -10
  610. package/dist/internal/html-attributes.d.mts +0 -9
  611. package/dist/internal/props-with-element.d.mts +0 -13
  612. package/dist/internal/union.d.mts +0 -5
@@ -1,22 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { ViewContext } from "../modules/view-context.mjs";
3
- import { use } from "react";
4
- import { mergeProps } from "@zag-js/react";
5
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
6
- import { jsx } from "react/jsx-runtime";
7
-
8
- //#region src/components/date-picker/anatomy/table.tsx
9
- function Table(props) {
10
- const datePicker = use(RootContext);
11
- const viewProps = use(ViewContext);
12
- const { element, children,...rest } = props;
13
- const attributes = mergeProps(datePicker.getTableProps(viewProps), { className: classesDatePicker.table }, rest);
14
- return element ? element(attributes) : /* @__PURE__ */ jsx("table", {
15
- ...attributes,
16
- children
17
- });
18
- }
19
-
20
- //#endregion
21
- export { Table as default };
22
- //# sourceMappingURL=table.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react45 from "react";
4
-
5
- //#region src/components/date-picker/anatomy/trigger.d.ts
6
- interface DatePickerTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function Trigger(props: DatePickerTriggerProps): react45.JSX.Element;
8
- //#endregion
9
- export { DatePickerTriggerProps, Trigger };
10
- //# sourceMappingURL=trigger.d.mts.map
@@ -1,21 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import Calendar from "../../../internal/components/calendar.mjs";
3
- import { use } from "react";
4
- import { mergeProps } from "@zag-js/react";
5
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
6
- import { jsx } from "react/jsx-runtime";
7
-
8
- //#region src/components/date-picker/anatomy/trigger.tsx
9
- function Trigger(props) {
10
- const datePicker = use(RootContext);
11
- const { element, children = /* @__PURE__ */ jsx(Calendar, {}),...rest } = props;
12
- const attributes = mergeProps(datePicker.getTriggerProps(), { className: classesDatePicker.trigger }, rest);
13
- return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
14
- ...attributes,
15
- children
16
- });
17
- }
18
-
19
- //#endregion
20
- export { Trigger as default };
21
- //# sourceMappingURL=trigger.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react46 from "react";
4
-
5
- //#region src/components/date-picker/anatomy/view-control.d.ts
6
- interface DatePickerViewControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function ViewControl(props: DatePickerViewControlProps): react46.JSX.Element;
8
- //#endregion
9
- export { DatePickerViewControlProps, ViewControl };
10
- //# sourceMappingURL=view-control.d.mts.map
@@ -1,22 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { ViewContext } from "../modules/view-context.mjs";
3
- import { use } from "react";
4
- import { mergeProps } from "@zag-js/react";
5
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
6
- import { jsx } from "react/jsx-runtime";
7
-
8
- //#region src/components/date-picker/anatomy/view-control.tsx
9
- function ViewControl(props) {
10
- const datePicker = use(RootContext);
11
- const viewProps = use(ViewContext);
12
- const { element, children,...rest } = props;
13
- const attributes = mergeProps(datePicker.getViewControlProps(viewProps), { className: classesDatePicker.viewControl }, rest);
14
- return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
- ...attributes,
16
- children
17
- });
18
- }
19
-
20
- //#endregion
21
- export { ViewControl as default };
22
- //# sourceMappingURL=view-control.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react47 from "react";
4
-
5
- //#region src/components/date-picker/anatomy/view-trigger.d.ts
6
- interface DatePickerViewTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function ViewTrigger(props: DatePickerViewTriggerProps): react47.JSX.Element;
8
- //#endregion
9
- export { DatePickerViewTriggerProps, ViewTrigger };
10
- //# sourceMappingURL=view-trigger.d.mts.map
@@ -1,22 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { ViewContext } from "../modules/view-context.mjs";
3
- import { use } from "react";
4
- import { mergeProps } from "@zag-js/react";
5
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
6
- import { jsx } from "react/jsx-runtime";
7
-
8
- //#region src/components/date-picker/anatomy/view-trigger.tsx
9
- function ViewTrigger(props) {
10
- const datePicker = use(RootContext);
11
- const viewProps = use(ViewContext);
12
- const { element, children,...rest } = props;
13
- const attributes = mergeProps(datePicker.getViewTriggerProps(viewProps), { className: classesDatePicker.viewTrigger }, rest);
14
- return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
15
- ...attributes,
16
- children
17
- });
18
- }
19
-
20
- //#endregion
21
- export { ViewTrigger as default };
22
- //# sourceMappingURL=view-trigger.mjs.map
@@ -1,11 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react_jsx_runtime17 from "react/jsx-runtime";
4
- import { ViewProps } from "@zag-js/date-picker";
5
-
6
- //#region src/components/date-picker/anatomy/view.d.ts
7
- interface DatePickerViewProps extends ViewProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function View(props: DatePickerViewProps): react_jsx_runtime17.JSX.Element;
9
- //#endregion
10
- export { DatePickerViewProps, View };
11
- //# sourceMappingURL=view.d.mts.map
@@ -1,26 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { ViewContext } from "../modules/view-context.mjs";
3
- import { use } from "react";
4
- import { mergeProps } from "@zag-js/react";
5
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
6
- import { jsx } from "react/jsx-runtime";
7
- import { splitViewProps } from "@zag-js/date-picker";
8
-
9
- //#region src/components/date-picker/anatomy/view.tsx
10
- function View(props) {
11
- const datePicker = use(RootContext);
12
- const [viewProps, componentProps] = splitViewProps(props);
13
- const { element, children,...rest } = componentProps;
14
- const attributes = mergeProps(datePicker.getViewProps(viewProps), { className: classesDatePicker.view }, rest);
15
- return /* @__PURE__ */ jsx(ViewContext.Provider, {
16
- value: viewProps,
17
- children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
18
- ...attributes,
19
- children
20
- })
21
- });
22
- }
23
-
24
- //#endregion
25
- export { View as default };
26
- //# sourceMappingURL=view.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react48 from "react";
4
-
5
- //#region src/components/date-picker/anatomy/year-select.d.ts
6
- interface DatePickerYearSelectProps extends PropsWithElement<'select'>, HTMLAttributes<'select', 'children'> {}
7
- declare function YearSelect(props: DatePickerYearSelectProps): react48.JSX.Element;
8
- //#endregion
9
- export { DatePickerYearSelectProps, YearSelect };
10
- //# sourceMappingURL=year-select.d.mts.map
@@ -1,23 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDatePicker } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/date-picker/anatomy/year-select.tsx
8
- function YearSelect(props) {
9
- const datePicker = use(RootContext);
10
- const { element,...rest } = props;
11
- const attributes = mergeProps(datePicker.getYearSelectProps(), { className: classesDatePicker.yearSelect }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("select", {
13
- ...attributes,
14
- children: datePicker.getYears().map((year, i) => /* @__PURE__ */ jsx("option", {
15
- value: year.value,
16
- children: year.label
17
- }, i))
18
- });
19
- }
20
-
21
- //#endregion
22
- export { YearSelect as default };
23
- //# sourceMappingURL=year-select.mjs.map
@@ -1,29 +0,0 @@
1
- import { DatePickerContentProps } from "./anatomy/content.mjs";
2
- import { DatePickerControlProps } from "./anatomy/control.mjs";
3
- import { DatePickerInputProps } from "./anatomy/input.mjs";
4
- import { DatePickerLabelProps } from "./anatomy/label.mjs";
5
- import { DatePickerMonthSelectProps } from "./anatomy/month-select.mjs";
6
- import { DatePickerNextTriggerProps } from "./anatomy/next-trigger.mjs";
7
- import { DatePickerPositionerProps } from "./anatomy/positioner.mjs";
8
- import { DatePickerPresetTriggerProps } from "./anatomy/preset-trigger.mjs";
9
- import { DatePickerPrevTriggerProps } from "./anatomy/prev-trigger.mjs";
10
- import { DatePickerRangeTextProps } from "./anatomy/range-text.mjs";
11
- import { DatePickerRootProps } from "./anatomy/root.mjs";
12
- import { useDatePicker } from "./modules/provider.mjs";
13
- import { DatePickerRootContextProps } from "./anatomy/root-context.mjs";
14
- import { DatePickerRootProviderProps } from "./anatomy/root-provider.mjs";
15
- import { DatePickerTableProps } from "./anatomy/table.mjs";
16
- import { DatePickerTableBodyProps } from "./anatomy/table-body.mjs";
17
- import { DatePickerTableCellProps } from "./anatomy/table-cell.mjs";
18
- import { DatePickerTableCellTriggerProps } from "./anatomy/table-cell-trigger.mjs";
19
- import { DatePickerTableHeadProps } from "./anatomy/table-head.mjs";
20
- import { DatePickerTableHeaderProps } from "./anatomy/table-header.mjs";
21
- import { DatePickerTableRowProps } from "./anatomy/table-row.mjs";
22
- import { DatePickerTriggerProps } from "./anatomy/trigger.mjs";
23
- import { DatePickerViewProps } from "./anatomy/view.mjs";
24
- import { DatePickerViewControlProps } from "./anatomy/view-control.mjs";
25
- import { DatePickerViewTriggerProps } from "./anatomy/view-trigger.mjs";
26
- import { DatePickerYearSelectProps } from "./anatomy/year-select.mjs";
27
- import { DatePicker } from "./modules/anatomy.mjs";
28
- import { DateValue, parse as parseDate } from "@zag-js/date-picker";
29
- export { type DateValue, parseDate };
@@ -1,5 +0,0 @@
1
- import { useDatePicker } from "./modules/provider.mjs";
2
- import { DatePicker } from "./modules/anatomy.mjs";
3
- import { parse as parseDate } from "@zag-js/date-picker";
4
-
5
- export { parseDate };
@@ -1,56 +0,0 @@
1
- import { Content } from "../anatomy/content.mjs";
2
- import { Control } from "../anatomy/control.mjs";
3
- import { Input } from "../anatomy/input.mjs";
4
- import { Label } from "../anatomy/label.mjs";
5
- import { MonthSelect } from "../anatomy/month-select.mjs";
6
- import { NextTrigger } from "../anatomy/next-trigger.mjs";
7
- import { Positioner } from "../anatomy/positioner.mjs";
8
- import { PresetTrigger } from "../anatomy/preset-trigger.mjs";
9
- import { PrevTrigger } from "../anatomy/prev-trigger.mjs";
10
- import { RangeText } from "../anatomy/range-text.mjs";
11
- import { Root } from "../anatomy/root.mjs";
12
- import { RootContext } from "../anatomy/root-context.mjs";
13
- import { RootProvider } from "../anatomy/root-provider.mjs";
14
- import { Table } from "../anatomy/table.mjs";
15
- import { TableBody } from "../anatomy/table-body.mjs";
16
- import { TableCell } from "../anatomy/table-cell.mjs";
17
- import { TableCellTrigger } from "../anatomy/table-cell-trigger.mjs";
18
- import { TableHead } from "../anatomy/table-head.mjs";
19
- import { TableHeader } from "../anatomy/table-header.mjs";
20
- import { TableRow } from "../anatomy/table-row.mjs";
21
- import { Trigger } from "../anatomy/trigger.mjs";
22
- import { View } from "../anatomy/view.mjs";
23
- import { ViewControl } from "../anatomy/view-control.mjs";
24
- import { ViewTrigger } from "../anatomy/view-trigger.mjs";
25
- import { YearSelect } from "../anatomy/year-select.mjs";
26
-
27
- //#region src/components/date-picker/modules/anatomy.d.ts
28
- declare const DatePicker: typeof Root & {
29
- Provider: typeof RootProvider;
30
- Context: typeof RootContext;
31
- Label: typeof Label;
32
- Control: typeof Control;
33
- PresetTrigger: typeof PresetTrigger;
34
- Input: typeof Input;
35
- Trigger: typeof Trigger;
36
- Positioner: typeof Positioner;
37
- Content: typeof Content;
38
- YearSelect: typeof YearSelect;
39
- MonthSelect: typeof MonthSelect;
40
- View: typeof View;
41
- ViewControl: typeof ViewControl;
42
- PrevTrigger: typeof PrevTrigger;
43
- ViewTrigger: typeof ViewTrigger;
44
- RangeText: typeof RangeText;
45
- NextTrigger: typeof NextTrigger;
46
- Table: typeof Table;
47
- TableHead: typeof TableHead;
48
- TableRow: typeof TableRow;
49
- TableHeader: typeof TableHeader;
50
- TableBody: typeof TableBody;
51
- TableCell: typeof TableCell;
52
- TableCellTrigger: typeof TableCellTrigger;
53
- };
54
- //#endregion
55
- export { DatePicker };
56
- //# sourceMappingURL=anatomy.d.mts.map
@@ -1,57 +0,0 @@
1
- import Content from "../anatomy/content.mjs";
2
- import Control from "../anatomy/control.mjs";
3
- import Input from "../anatomy/input.mjs";
4
- import Label from "../anatomy/label.mjs";
5
- import MonthSelect from "../anatomy/month-select.mjs";
6
- import NextTrigger from "../anatomy/next-trigger.mjs";
7
- import Positioner from "../anatomy/positioner.mjs";
8
- import PresetTrigger from "../anatomy/preset-trigger.mjs";
9
- import PrevTrigger from "../anatomy/prev-trigger.mjs";
10
- import RangeText from "../anatomy/range-text.mjs";
11
- import RootContext from "../anatomy/root-context.mjs";
12
- import RootProvider from "../anatomy/root-provider.mjs";
13
- import Root from "../anatomy/root.mjs";
14
- import TableBody from "../anatomy/table-body.mjs";
15
- import TableCellTrigger from "../anatomy/table-cell-trigger.mjs";
16
- import TableCell from "../anatomy/table-cell.mjs";
17
- import TableHead from "../anatomy/table-head.mjs";
18
- import TableHeader from "../anatomy/table-header.mjs";
19
- import TableRow from "../anatomy/table-row.mjs";
20
- import Table from "../anatomy/table.mjs";
21
- import Trigger from "../anatomy/trigger.mjs";
22
- import ViewControl from "../anatomy/view-control.mjs";
23
- import ViewTrigger from "../anatomy/view-trigger.mjs";
24
- import View from "../anatomy/view.mjs";
25
- import YearSelect from "../anatomy/year-select.mjs";
26
-
27
- //#region src/components/date-picker/modules/anatomy.ts
28
- const DatePicker = Object.assign(Root, {
29
- Provider: RootProvider,
30
- Context: RootContext,
31
- Label,
32
- Control,
33
- PresetTrigger,
34
- Input,
35
- Trigger,
36
- Positioner,
37
- Content,
38
- YearSelect,
39
- MonthSelect,
40
- View,
41
- ViewControl,
42
- PrevTrigger,
43
- ViewTrigger,
44
- RangeText,
45
- NextTrigger,
46
- Table,
47
- TableHead,
48
- TableRow,
49
- TableHeader,
50
- TableBody,
51
- TableCell,
52
- TableCellTrigger
53
- });
54
-
55
- //#endregion
56
- export { DatePicker };
57
- //# sourceMappingURL=anatomy.mjs.map
@@ -1,8 +0,0 @@
1
- import { PropTypes } from "@zag-js/react";
2
- import { Api, Props } from "@zag-js/date-picker";
3
-
4
- //#region src/components/date-picker/modules/provider.d.ts
5
- declare function useDatePicker(props?: Omit<Props, 'id'>): Api<PropTypes>;
6
- //#endregion
7
- export { useDatePicker };
8
- //# sourceMappingURL=provider.d.mts.map
@@ -1,15 +0,0 @@
1
- import { useId } from "react";
2
- import { normalizeProps, useMachine } from "@zag-js/react";
3
- import { connect, machine } from "@zag-js/date-picker";
4
-
5
- //#region src/components/date-picker/modules/provider.ts
6
- function useDatePicker(props = {}) {
7
- return connect(useMachine(machine, {
8
- id: useId(),
9
- ...props
10
- }), normalizeProps);
11
- }
12
-
13
- //#endregion
14
- export { useDatePicker };
15
- //# sourceMappingURL=provider.mjs.map
@@ -1,8 +0,0 @@
1
- import { createContext } from "../../../internal/create-context.mjs";
2
-
3
- //#region src/components/date-picker/modules/root-context.ts
4
- const RootContext = createContext();
5
-
6
- //#endregion
7
- export { RootContext };
8
- //# sourceMappingURL=root-context.mjs.map
@@ -1,8 +0,0 @@
1
- import { createContext } from "../../../internal/create-context.mjs";
2
-
3
- //#region src/components/date-picker/modules/table-cell-context.ts
4
- const TableCellContext = createContext();
5
-
6
- //#endregion
7
- export { TableCellContext };
8
- //# sourceMappingURL=table-cell-context.mjs.map
@@ -1,8 +0,0 @@
1
- import { createContext } from "../../../internal/create-context.mjs";
2
-
3
- //#region src/components/date-picker/modules/view-context.ts
4
- const ViewContext = createContext({ view: "day" });
5
-
6
- //#endregion
7
- export { ViewContext };
8
- //# sourceMappingURL=view-context.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react22 from "react";
4
-
5
- //#region src/components/dialog/anatomy/backdrop.d.ts
6
- interface DialogBackdropProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
7
- declare function Backdrop(props: DialogBackdropProps): react22.JSX.Element;
8
- //#endregion
9
- export { Backdrop, DialogBackdropProps };
10
- //# sourceMappingURL=backdrop.d.mts.map
@@ -1,17 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDialog } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/dialog/anatomy/backdrop.tsx
8
- function Backdrop(props) {
9
- const dialog = use(RootContext);
10
- const { element,...rest } = props;
11
- const attributes = mergeProps(dialog.getBackdropProps(), { className: classesDialog.backdrop }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
13
- }
14
-
15
- //#endregion
16
- export { Backdrop as default };
17
- //# sourceMappingURL=backdrop.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react23 from "react";
4
-
5
- //#region src/components/dialog/anatomy/close-trigger.d.ts
6
- interface DialogCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function CloseTrigger(props: DialogCloseTriggerProps): react23.JSX.Element;
8
- //#endregion
9
- export { CloseTrigger, DialogCloseTriggerProps };
10
- //# sourceMappingURL=close-trigger.d.mts.map
@@ -1,20 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDialog } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/dialog/anatomy/close-trigger.tsx
8
- function CloseTrigger(props) {
9
- const dialog = use(RootContext);
10
- const { element, children,...rest } = props;
11
- const attributes = mergeProps(dialog.getCloseTriggerProps(), { className: classesDialog.closeTrigger }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
13
- ...attributes,
14
- children
15
- });
16
- }
17
-
18
- //#endregion
19
- export { CloseTrigger as default };
20
- //# sourceMappingURL=close-trigger.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react24 from "react";
4
-
5
- //#region src/components/dialog/anatomy/content.d.ts
6
- interface DialogContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Content(props: DialogContentProps): react24.JSX.Element;
8
- //#endregion
9
- export { Content, DialogContentProps };
10
- //# sourceMappingURL=content.d.mts.map
@@ -1,20 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDialog } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/dialog/anatomy/content.tsx
8
- function Content(props) {
9
- const dialog = use(RootContext);
10
- const { element, children,...rest } = props;
11
- const attributes = mergeProps(dialog.getContentProps(), { className: classesDialog.content }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
- ...attributes,
14
- children
15
- });
16
- }
17
-
18
- //#endregion
19
- export { Content as default };
20
- //# sourceMappingURL=content.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react25 from "react";
4
-
5
- //#region src/components/dialog/anatomy/description.d.ts
6
- interface DialogDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Description(props: DialogDescriptionProps): react25.JSX.Element;
8
- //#endregion
9
- export { Description, DialogDescriptionProps };
10
- //# sourceMappingURL=description.d.mts.map
@@ -1,20 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDialog } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/dialog/anatomy/description.tsx
8
- function Description(props) {
9
- const dialog = use(RootContext);
10
- const { element, children,...rest } = props;
11
- const attributes = mergeProps(dialog.getDescriptionProps(), { className: classesDialog.description }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
- ...attributes,
14
- children
15
- });
16
- }
17
-
18
- //#endregion
19
- export { Description as default };
20
- //# sourceMappingURL=description.mjs.map
@@ -1,10 +0,0 @@
1
- import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
2
- import { PropsWithElement } from "../../../internal/props-with-element.mjs";
3
- import * as react26 from "react";
4
-
5
- //#region src/components/dialog/anatomy/positioner.d.ts
6
- interface DialogPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Positioner(props: DialogPositionerProps): react26.JSX.Element;
8
- //#endregion
9
- export { DialogPositionerProps, Positioner };
10
- //# sourceMappingURL=positioner.d.mts.map
@@ -1,20 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
- import { mergeProps } from "@zag-js/react";
4
- import { classesDialog } from "@skeletonlabs/skeleton-common";
5
- import { jsx } from "react/jsx-runtime";
6
-
7
- //#region src/components/dialog/anatomy/positioner.tsx
8
- function Positioner(props) {
9
- const dialog = use(RootContext);
10
- const { element, children,...rest } = props;
11
- const attributes = mergeProps(dialog.getPositionerProps(), { className: classesDialog.positioner }, rest);
12
- return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
- ...attributes,
14
- children
15
- });
16
- }
17
-
18
- //#endregion
19
- export { Positioner as default };
20
- //# sourceMappingURL=positioner.mjs.map
@@ -1,11 +0,0 @@
1
- import { useDialog } from "../modules/provider.mjs";
2
- import { ReactNode } from "react";
3
-
4
- //#region src/components/dialog/anatomy/root-context.d.ts
5
- interface DialogRootContextProps {
6
- children: (dialog: ReturnType<typeof useDialog>) => ReactNode;
7
- }
8
- declare function RootContext(props: DialogRootContextProps): ReactNode;
9
- //#endregion
10
- export { DialogRootContextProps, RootContext };
11
- //# sourceMappingURL=root-context.d.mts.map
@@ -1,13 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { use } from "react";
3
-
4
- //#region src/components/dialog/anatomy/root-context.tsx
5
- function RootContext$1(props) {
6
- const dialog = use(RootContext);
7
- const { children } = props;
8
- return children(dialog);
9
- }
10
-
11
- //#endregion
12
- export { RootContext$1 as default };
13
- //# sourceMappingURL=root-context.mjs.map
@@ -1,12 +0,0 @@
1
- import { useDialog } from "../modules/provider.mjs";
2
- import { PropsWithChildren } from "react";
3
- import * as react_jsx_runtime13 from "react/jsx-runtime";
4
-
5
- //#region src/components/dialog/anatomy/root-provider.d.ts
6
- interface DialogRootProviderProps extends PropsWithChildren {
7
- value: ReturnType<typeof useDialog>;
8
- }
9
- declare function RootProvider(props: DialogRootProviderProps): react_jsx_runtime13.JSX.Element;
10
- //#endregion
11
- export { DialogRootProviderProps, RootProvider };
12
- //# sourceMappingURL=root-provider.d.mts.map
@@ -1,15 +0,0 @@
1
- import { RootContext } from "../modules/root-context.mjs";
2
- import { jsx } from "react/jsx-runtime";
3
-
4
- //#region src/components/dialog/anatomy/root-provider.tsx
5
- function RootProvider(props) {
6
- const { children, value: dialog } = props;
7
- return /* @__PURE__ */ jsx(RootContext.Provider, {
8
- value: dialog,
9
- children
10
- });
11
- }
12
-
13
- //#endregion
14
- export { RootProvider as default };
15
- //# sourceMappingURL=root-provider.mjs.map