@sdxc/ui 2026.9.29 → 2026.10.2

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 (319) hide show
  1. package/README.md +14 -14
  2. package/dist/animations/keyframes.d.ts +1 -1
  3. package/dist/animations/scroll.d.ts +1 -1
  4. package/dist/animations/transitions.d.ts +1 -1
  5. package/dist/animations/transitions.js +1 -1
  6. package/dist/behaviors/announcer.d.ts +1 -1
  7. package/dist/behaviors/announcer.js +1 -1
  8. package/dist/behaviors/calendar-model.d.ts +1 -1
  9. package/dist/behaviors/calendar-model.js +1 -1
  10. package/dist/behaviors/drag-session.d.ts +1 -1
  11. package/dist/behaviors/drag-session.js +1 -1
  12. package/dist/behaviors/filter-model.d.ts +1 -1
  13. package/dist/behaviors/filter-model.js +1 -1
  14. package/dist/behaviors/resize-session.d.ts +1 -1
  15. package/dist/behaviors/resize-session.js +1 -1
  16. package/dist/behaviors/scroll-follow-model.d.ts +1 -1
  17. package/dist/behaviors/scroll-follow-model.js +1 -1
  18. package/dist/behaviors/selection-model.d.ts +1 -1
  19. package/dist/behaviors/selection-model.js +1 -1
  20. package/dist/behaviors/toaster.d.ts +1 -1
  21. package/dist/behaviors/toaster.js +1 -1
  22. package/dist/components/accordion.d.ts +5 -5
  23. package/dist/components/accordion.js +1 -1
  24. package/dist/components/alert-dialog.d.ts +8 -8
  25. package/dist/components/alert-dialog.js +1 -1
  26. package/dist/components/alert.d.ts +7 -7
  27. package/dist/components/alert.js +2 -2
  28. package/dist/components/aspect-ratio.d.ts +2 -2
  29. package/dist/components/aspect-ratio.js +1 -1
  30. package/dist/components/attachment.d.ts +10 -10
  31. package/dist/components/attachment.js +2 -2
  32. package/dist/components/avatar.d.ts +7 -7
  33. package/dist/components/avatar.js +1 -1
  34. package/dist/components/badge.d.ts +4 -4
  35. package/dist/components/badge.js +2 -2
  36. package/dist/components/breadcrumbs.d.ts +5 -5
  37. package/dist/components/breadcrumbs.js +1 -1
  38. package/dist/components/bubble.d.ts +5 -5
  39. package/dist/components/bubble.js +2 -2
  40. package/dist/components/button.d.ts +2 -2
  41. package/dist/components/button.js +1 -1
  42. package/dist/components/calendar.d.ts +12 -12
  43. package/dist/components/calendar.js +2 -2
  44. package/dist/components/card.d.ts +7 -7
  45. package/dist/components/card.js +1 -1
  46. package/dist/components/carousel.d.ts +8 -8
  47. package/dist/components/carousel.js +2 -2
  48. package/dist/components/chart.d.ts +12 -12
  49. package/dist/components/chart.js +2 -2
  50. package/dist/components/checkbox-group.d.ts +2 -2
  51. package/dist/components/checkbox-group.js +2 -2
  52. package/dist/components/checkbox.d.ts +2 -2
  53. package/dist/components/checkbox.js +1 -1
  54. package/dist/components/color-area.d.ts +4 -4
  55. package/dist/components/color-area.js +2 -2
  56. package/dist/components/color-field.d.ts +2 -2
  57. package/dist/components/color-field.js +1 -1
  58. package/dist/components/color-picker.d.ts +5 -5
  59. package/dist/components/color-picker.js +2 -2
  60. package/dist/components/color-slider.d.ts +5 -5
  61. package/dist/components/color-slider.js +1 -1
  62. package/dist/components/color-swatch-picker.d.ts +3 -3
  63. package/dist/components/color-swatch-picker.js +2 -2
  64. package/dist/components/color-swatch.d.ts +2 -2
  65. package/dist/components/color-swatch.js +2 -2
  66. package/dist/components/color-wheel.d.ts +2 -2
  67. package/dist/components/color-wheel.js +1 -1
  68. package/dist/components/combobox.d.ts +5 -5
  69. package/dist/components/combobox.js +1 -1
  70. package/dist/components/command.d.ts +6 -6
  71. package/dist/components/command.js +2 -2
  72. package/dist/components/confirm.d.ts +2 -2
  73. package/dist/components/confirm.js +1 -1
  74. package/dist/components/context-menu.d.ts +13 -13
  75. package/dist/components/context-menu.js +1 -1
  76. package/dist/components/date-field.d.ts +2 -2
  77. package/dist/components/date-field.js +1 -1
  78. package/dist/components/date-picker.d.ts +3 -3
  79. package/dist/components/date-picker.js +1 -1
  80. package/dist/components/date-range-picker.d.ts +3 -3
  81. package/dist/components/date-range-picker.js +2 -2
  82. package/dist/components/description.d.ts +2 -2
  83. package/dist/components/description.js +1 -1
  84. package/dist/components/dialog.d.ts +7 -7
  85. package/dist/components/dialog.js +1 -1
  86. package/dist/components/disclosure.d.ts +6 -6
  87. package/dist/components/disclosure.js +1 -1
  88. package/dist/components/drawer.d.ts +7 -7
  89. package/dist/components/drawer.js +1 -1
  90. package/dist/components/drop-indicator.d.ts +2 -2
  91. package/dist/components/drop-indicator.js +2 -2
  92. package/dist/components/drop-zone.d.ts +2 -2
  93. package/dist/components/drop-zone.js +1 -1
  94. package/dist/components/empty.d.ts +6 -6
  95. package/dist/components/empty.js +2 -2
  96. package/dist/components/field-error.d.ts +2 -2
  97. package/dist/components/field-error.js +2 -2
  98. package/dist/components/file-trigger.d.ts +2 -2
  99. package/dist/components/file-trigger.js +2 -2
  100. package/dist/components/form.d.ts +2 -2
  101. package/dist/components/form.js +1 -1
  102. package/dist/components/grid-list.d.ts +6 -6
  103. package/dist/components/grid-list.js +2 -2
  104. package/dist/components/group.d.ts +2 -2
  105. package/dist/components/group.js +2 -2
  106. package/dist/components/header.d.ts +2 -2
  107. package/dist/components/header.js +1 -1
  108. package/dist/components/heading-scope.d.ts +2 -2
  109. package/dist/components/heading-scope.js +1 -1
  110. package/dist/components/heading.d.ts +2 -2
  111. package/dist/components/heading.js +1 -1
  112. package/dist/components/hover-card.d.ts +4 -4
  113. package/dist/components/hover-card.js +1 -1
  114. package/dist/components/image-placeholder.d.ts +7 -7
  115. package/dist/components/image-placeholder.js +1 -1
  116. package/dist/components/input.d.ts +2 -2
  117. package/dist/components/input.js +1 -1
  118. package/dist/components/item.d.ts +7 -7
  119. package/dist/components/item.js +1 -1
  120. package/dist/components/keyboard.d.ts +2 -2
  121. package/dist/components/keyboard.js +1 -1
  122. package/dist/components/label.d.ts +2 -2
  123. package/dist/components/label.js +1 -1
  124. package/dist/components/link-button.d.ts +2 -2
  125. package/dist/components/link-button.js +1 -1
  126. package/dist/components/link.d.ts +2 -2
  127. package/dist/components/link.js +1 -1
  128. package/dist/components/listbox.d.ts +3 -3
  129. package/dist/components/listbox.js +2 -2
  130. package/dist/components/logo.d.ts +7 -7
  131. package/dist/components/logo.js +1 -1
  132. package/dist/components/marker.d.ts +4 -4
  133. package/dist/components/marker.js +2 -2
  134. package/dist/components/menu.d.ts +4 -4
  135. package/dist/components/menu.js +2 -2
  136. package/dist/components/menubar.d.ts +3 -3
  137. package/dist/components/menubar.js +2 -2
  138. package/dist/components/message-scroller.d.ts +6 -6
  139. package/dist/components/message-scroller.js +2 -2
  140. package/dist/components/message.d.ts +7 -7
  141. package/dist/components/message.js +1 -1
  142. package/dist/components/meter.d.ts +4 -4
  143. package/dist/components/meter.js +1 -1
  144. package/dist/components/modal.d.ts +7 -7
  145. package/dist/components/modal.js +1 -1
  146. package/dist/components/nav-link.d.ts +2 -2
  147. package/dist/components/nav-link.js +1 -1
  148. package/dist/components/navigation-menu.d.ts +11 -11
  149. package/dist/components/navigation-menu.js +2 -2
  150. package/dist/components/number-field.d.ts +6 -6
  151. package/dist/components/number-field.js +2 -2
  152. package/dist/components/otp-field.d.ts +2 -2
  153. package/dist/components/otp-field.js +1 -1
  154. package/dist/components/overlay-arrow.d.ts +2 -2
  155. package/dist/components/overlay-arrow.js +2 -2
  156. package/dist/components/pagination.d.ts +6 -6
  157. package/dist/components/pagination.js +1 -1
  158. package/dist/components/popover.d.ts +2 -2
  159. package/dist/components/popover.js +1 -1
  160. package/dist/components/progress-bar.d.ts +4 -4
  161. package/dist/components/progress-bar.js +1 -1
  162. package/dist/components/radio-group.d.ts +3 -3
  163. package/dist/components/radio-group.js +2 -2
  164. package/dist/components/range-calendar.d.ts +12 -12
  165. package/dist/components/range-calendar.js +2 -2
  166. package/dist/components/resizable.d.ts +4 -4
  167. package/dist/components/resizable.js +2 -2
  168. package/dist/components/scroll-area.d.ts +3 -3
  169. package/dist/components/scroll-area.js +2 -2
  170. package/dist/components/search-field.d.ts +5 -5
  171. package/dist/components/search-field.js +1 -1
  172. package/dist/components/section.d.ts +2 -2
  173. package/dist/components/section.js +1 -1
  174. package/dist/components/select.d.ts +6 -6
  175. package/dist/components/select.js +2 -2
  176. package/dist/components/selection-indicator.d.ts +2 -2
  177. package/dist/components/selection-indicator.js +2 -2
  178. package/dist/components/sentinel-row.d.ts +2 -2
  179. package/dist/components/sentinel-row.js +1 -1
  180. package/dist/components/separator.d.ts +2 -2
  181. package/dist/components/separator.js +2 -2
  182. package/dist/components/shared-element.d.ts +2 -2
  183. package/dist/components/shared-element.js +1 -1
  184. package/dist/components/sheet.d.ts +7 -7
  185. package/dist/components/sheet.js +1 -1
  186. package/dist/components/sidebar.d.ts +28 -28
  187. package/dist/components/sidebar.js +4 -3
  188. package/dist/components/skeleton.d.ts +2 -2
  189. package/dist/components/skeleton.js +2 -2
  190. package/dist/components/slider.d.ts +5 -5
  191. package/dist/components/slider.js +1 -1
  192. package/dist/components/spinner.d.ts +2 -2
  193. package/dist/components/spinner.js +1 -1
  194. package/dist/components/switch.d.ts +2 -2
  195. package/dist/components/switch.js +2 -2
  196. package/dist/components/table.d.ts +9 -9
  197. package/dist/components/table.js +2 -2
  198. package/dist/components/tabs.d.ts +6 -6
  199. package/dist/components/tabs.js +2 -2
  200. package/dist/components/tag-group.d.ts +5 -5
  201. package/dist/components/tag-group.js +2 -2
  202. package/dist/components/text-field.d.ts +2 -2
  203. package/dist/components/text-field.js +1 -1
  204. package/dist/components/text.d.ts +2 -2
  205. package/dist/components/text.js +1 -1
  206. package/dist/components/textarea.d.ts +2 -2
  207. package/dist/components/textarea.js +1 -1
  208. package/dist/components/time-field.d.ts +2 -2
  209. package/dist/components/time-field.js +1 -1
  210. package/dist/components/toast.d.ts +11 -11
  211. package/dist/components/toast.js +2 -2
  212. package/dist/components/toggle-button.d.ts +3 -3
  213. package/dist/components/toggle-button.js +2 -2
  214. package/dist/components/toolbar.d.ts +2 -2
  215. package/dist/components/toolbar.js +2 -2
  216. package/dist/components/tooltip.d.ts +2 -2
  217. package/dist/components/tooltip.js +1 -1
  218. package/dist/components/tree.d.ts +5 -5
  219. package/dist/components/tree.js +2 -2
  220. package/dist/components/typeset.d.ts +2 -2
  221. package/dist/components/typeset.js +2 -2
  222. package/dist/mixins/aria-checked.d.ts +1 -1
  223. package/dist/mixins/aria-checked.js +1 -1
  224. package/dist/mixins/attachment-trigger.d.ts +1 -1
  225. package/dist/mixins/attachment-trigger.js +1 -1
  226. package/dist/mixins/calendar-keys.d.ts +1 -1
  227. package/dist/mixins/calendar-keys.js +1 -1
  228. package/dist/mixins/carousel-controls.d.ts +1 -1
  229. package/dist/mixins/carousel-controls.js +1 -1
  230. package/dist/mixins/chart-tooltip.d.ts +1 -1
  231. package/dist/mixins/chart-tooltip.js +1 -1
  232. package/dist/mixins/clear-field.d.ts +1 -1
  233. package/dist/mixins/clear-field.js +1 -1
  234. package/dist/mixins/color-area-drag.d.ts +1 -1
  235. package/dist/mixins/color-area-drag.js +1 -1
  236. package/dist/mixins/color-channel-sync.d.ts +1 -1
  237. package/dist/mixins/color-channel-sync.js +1 -1
  238. package/dist/mixins/color-preview.d.ts +1 -1
  239. package/dist/mixins/color-preview.js +1 -1
  240. package/dist/mixins/color-wheel-drag.d.ts +1 -1
  241. package/dist/mixins/color-wheel-drag.js +1 -1
  242. package/dist/mixins/combobox-filter.d.ts +4 -4
  243. package/dist/mixins/combobox-filter.js +5 -5
  244. package/dist/mixins/command-filter.d.ts +1 -1
  245. package/dist/mixins/command-filter.js +1 -1
  246. package/dist/mixins/command-keys.d.ts +1 -1
  247. package/dist/mixins/command-keys.js +1 -1
  248. package/dist/mixins/context-menu.d.ts +5 -5
  249. package/dist/mixins/context-menu.js +4 -4
  250. package/dist/mixins/copy-to-clipboard.d.ts +1 -1
  251. package/dist/mixins/copy-to-clipboard.js +1 -1
  252. package/dist/mixins/dismiss.d.ts +1 -1
  253. package/dist/mixins/dismiss.js +1 -1
  254. package/dist/mixins/drag-reorder.d.ts +1 -1
  255. package/dist/mixins/drag-reorder.js +1 -1
  256. package/dist/mixins/drop-zone.d.ts +1 -1
  257. package/dist/mixins/drop-zone.js +1 -1
  258. package/dist/mixins/dual-range.d.ts +1 -1
  259. package/dist/mixins/dual-range.js +1 -1
  260. package/dist/mixins/grid-list-keys.d.ts +1 -1
  261. package/dist/mixins/grid-list-keys.js +1 -1
  262. package/dist/mixins/heading-level-fallback.d.ts +1 -1
  263. package/dist/mixins/heading-level-fallback.js +1 -1
  264. package/dist/mixins/hotkey.d.ts +1 -1
  265. package/dist/mixins/hotkey.js +1 -1
  266. package/dist/mixins/image-fallback.d.ts +1 -1
  267. package/dist/mixins/image-fallback.js +1 -1
  268. package/dist/mixins/listbox-keys.d.ts +5 -5
  269. package/dist/mixins/listbox-keys.js +5 -5
  270. package/dist/mixins/long-press.d.ts +3 -3
  271. package/dist/mixins/long-press.js +2 -2
  272. package/dist/mixins/menu-keys.d.ts +1 -1
  273. package/dist/mixins/menu-keys.js +1 -1
  274. package/dist/mixins/menubar-keys.d.ts +1 -1
  275. package/dist/mixins/menubar-keys.js +1 -1
  276. package/dist/mixins/message-follow.d.ts +1 -1
  277. package/dist/mixins/message-follow.js +1 -1
  278. package/dist/mixins/mirror-selected-option.d.ts +1 -1
  279. package/dist/mixins/mirror-selected-option.js +3 -2
  280. package/dist/mixins/otp-slots.d.ts +1 -1
  281. package/dist/mixins/otp-slots.js +1 -1
  282. package/dist/mixins/persist.d.ts +1 -1
  283. package/dist/mixins/persist.js +1 -1
  284. package/dist/mixins/press-toggle.d.ts +1 -1
  285. package/dist/mixins/press-toggle.js +1 -1
  286. package/dist/mixins/range-preview.d.ts +1 -1
  287. package/dist/mixins/range-preview.js +1 -1
  288. package/dist/mixins/resize-handle.d.ts +1 -1
  289. package/dist/mixins/resize-handle.js +1 -1
  290. package/dist/mixins/stepper.d.ts +1 -1
  291. package/dist/mixins/stepper.js +1 -1
  292. package/dist/mixins/tab-keys.d.ts +3 -3
  293. package/dist/mixins/tab-keys.js +4 -4
  294. package/dist/mixins/theme-toggle.d.ts +1 -1
  295. package/dist/mixins/theme-toggle.js +1 -1
  296. package/dist/mixins/track-host-node.d.ts +1 -1
  297. package/dist/mixins/treeKeys.d.ts +1 -1
  298. package/dist/mixins/treeKeys.js +1 -1
  299. package/dist/mixins/validate.d.ts +1 -1
  300. package/dist/mixins/validate.js +1 -1
  301. package/dist/mixins/view-transition.d.ts +1 -1
  302. package/dist/mixins/view-transition.js +1 -1
  303. package/dist/styles/chart-palette.d.ts +1 -1
  304. package/dist/styles/field-stack-layout.d.ts +1 -1
  305. package/dist/styles/floating-surface.d.ts +1 -1
  306. package/dist/styles/graphic-host.d.ts +1 -1
  307. package/dist/styles/interactive-transition.d.ts +1 -1
  308. package/dist/styles/legend-toggle.d.ts +1 -1
  309. package/dist/styles/output-caption-text.d.ts +1 -1
  310. package/dist/styles/panel-chrome.d.ts +1 -1
  311. package/dist/styles/range-thumb-appearance.d.ts +1 -1
  312. package/dist/styles/rtl-aware-gradient-direction.d.ts +1 -1
  313. package/dist/styles/semantic-color-panel.d.ts +1 -1
  314. package/dist/utils/css-styles.d.ts +2 -2
  315. package/dist/utils/css-styles.js +2 -2
  316. package/dist/utils/field-parts.d.ts +1 -1
  317. package/dist/utils/merge-style.d.ts +2 -2
  318. package/dist/utils/merge-style.js +1 -1
  319. package/package.json +7 -6
@@ -7,7 +7,7 @@
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import { createElement, createMixin, on } from "remix/ui";
10
+ import { createElement, createMixin, on } from "remix/component";
11
11
  /**
12
12
  * Attribute {@link imageFallback} sets on its host image once it fails to
13
13
  * load, and removes once a later `src` loads successfully; the image's own
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Adapts `remix/ui/listbox`'s ARIA listbox keyboard pattern onto a ListBox's
2
+ * Adapts `@remix-run/ui/listbox`'s ARIA listbox keyboard pattern onto a ListBox's
3
3
  * option-list host, delegating arrow keys, `Home`/`End`, typeahead, and
4
- * `Enter`/`Space` to `remix/ui/listbox`'s own `list()` primitive, and reports
4
+ * `Enter`/`Space` to `@remix-run/ui/listbox`'s own `list()` primitive, and reports
5
5
  * the shared context's selected value and active option as a typed event.
6
6
  *
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import type { MixinFactory } from "remix/ui";
11
- import * as listbox from "remix/ui/listbox";
10
+ import type { MixinFactory } from "remix/component";
11
+ import * as listbox from "@remix-run/ui/listbox";
12
12
  /** DOM event type dispatched by {@link listboxKeys} whenever the selected value or the active option changes. */
13
13
  declare const LISTBOX_CHANGE_EVENT: "ui:listbox-change";
14
14
  declare global {
@@ -36,7 +36,7 @@ export declare class ListboxChangeEvent extends Event {
36
36
  }
37
37
  /**
38
38
  * Turns a ListBox's option-list host into the ARIA listbox keyboard surface
39
- * by delegating to `remix/ui/listbox`'s `list()` primitive. Use it inside an
39
+ * by delegating to `@remix-run/ui/listbox`'s `list()` primitive. Use it inside an
40
40
  * ancestor `listbox.Context` alongside a matching `option()` mixin.
41
41
  *
42
42
  * @example
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Adapts `remix/ui/listbox`'s ARIA listbox keyboard pattern onto a ListBox's
2
+ * Adapts `@remix-run/ui/listbox`'s ARIA listbox keyboard pattern onto a ListBox's
3
3
  * option-list host, delegating arrow keys, `Home`/`End`, typeahead, and
4
- * `Enter`/`Space` to `remix/ui/listbox`'s own `list()` primitive, and reports
4
+ * `Enter`/`Space` to `@remix-run/ui/listbox`'s own `list()` primitive, and reports
5
5
  * the shared context's selected value and active option as a typed event.
6
6
  *
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import { createMixin, on } from "remix/ui";
11
- import * as listbox from "remix/ui/listbox";
10
+ import * as listbox from "@remix-run/ui/listbox";
11
+ import { createMixin, on } from "remix/component";
12
12
  import { trackHostNode } from "./track-host-node.js";
13
13
  /** DOM event type dispatched by {@link listboxKeys} whenever the selected value or the active option changes. */
14
14
  const LISTBOX_CHANGE_EVENT = "ui:listbox-change";
@@ -33,7 +33,7 @@ export class ListboxChangeEvent extends Event {
33
33
  }
34
34
  /**
35
35
  * Turns a ListBox's option-list host into the ARIA listbox keyboard surface
36
- * by delegating to `remix/ui/listbox`'s `list()` primitive. Use it inside an
36
+ * by delegating to `@remix-run/ui/listbox`'s `list()` primitive. Use it inside an
37
37
  * ancestor `listbox.Context` alongside a matching `option()` mixin.
38
38
  *
39
39
  * @example
@@ -8,8 +8,8 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinFactory } from "remix/ui";
12
- import type { AnchorPoint } from "remix/ui/anchor";
11
+ import type { AnchorPoint } from "@remix-run/ui/anchor";
12
+ import type { ElementProps, MixinFactory } from "remix/component";
13
13
  /** DOM event type dispatched on the host by {@link longPress} once a press holds still for the configured duration. */
14
14
  declare const LONG_PRESS_EVENT: "ui:long-press";
15
15
  declare global {
@@ -39,7 +39,7 @@ export declare namespace LongPress {
39
39
  * `AnchorPoint` so a consumer can anchor a menu, tooltip, or preview to it.
40
40
  */
41
41
  export declare class LongPressEvent extends Event {
42
- /** Pointer position the press held, in viewport coordinates, ready to pass straight into `remix/ui/anchor`'s point-based anchoring. */
42
+ /** Pointer position the press held, in viewport coordinates, ready to pass straight into `@remix-run/ui/anchor`'s point-based anchoring. */
43
43
  readonly point: AnchorPoint;
44
44
  /**
45
45
  * @param point Pointer position the press held.
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { createElement, createMixin, on } from "remix/ui";
11
+ import { createElement, createMixin, on } from "remix/component";
12
12
  import { isNewPrimaryPress } from "../utils/is-new-primary-press.js";
13
13
  /** Duration, in milliseconds, {@link longPress} holds the pointer for before dispatching, when {@link LongPress.Options.duration} is omitted. */
14
14
  const DEFAULT_DURATION = 500;
@@ -26,7 +26,7 @@ const LONG_PRESS_EVENT = "ui:long-press";
26
26
  * `AnchorPoint` so a consumer can anchor a menu, tooltip, or preview to it.
27
27
  */
28
28
  export class LongPressEvent extends Event {
29
- /** Pointer position the press held, in viewport coordinates, ready to pass straight into `remix/ui/anchor`'s point-based anchoring. */
29
+ /** Pointer position the press held, in viewport coordinates, ready to pass straight into `@remix-run/ui/anchor`'s point-based anchoring. */
30
30
  point;
31
31
  /**
32
32
  * @param point Pointer position the press held.
@@ -7,7 +7,7 @@
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import type { ElementProps, MixinFactory } from "remix/ui";
10
+ import type { ElementProps, MixinFactory } from "remix/component";
11
11
  /**
12
12
  * Types associated with {@link menuKeys}.
13
13
  */
@@ -7,7 +7,7 @@
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import { createMixin, ref } from "remix/ui";
10
+ import { createMixin, ref } from "remix/component";
11
11
  import { focusItem, isPrintableKey, labelFor, queryItems, setRovingTabindex, } from "../utils/keyboard-nav.js";
12
12
  /** Selector matching a menu item's role, regardless of its checked state. */
13
13
  const DEFAULT_ITEM_SELECTOR = '[role^="menuitem"]';
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import type { ElementProps, MixinFactory } from "remix/ui";
14
+ import type { ElementProps, MixinFactory } from "remix/component";
15
15
  /**
16
16
  * Types associated with {@link menubarKeys}.
17
17
  */
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import { createMixin, ref } from "remix/ui";
14
+ import { createMixin, ref } from "remix/component";
15
15
  import { DISABLED_SELECTOR } from "../utils/disabled-selector.js";
16
16
  import { focusItem as focusTrigger, isPrintableKey, labelFor, queryItems as queryMenuItems, setRovingTabindex, } from "../utils/keyboard-nav.js";
17
17
  /**
@@ -53,4 +53,4 @@ export declare const MESSAGE_SCROLLER_SCROLLABLE_ATTRIBUTE = "data-scrollable";
53
53
  * <button data-scroll-jump aria-label={jumpToLatestLabel}>↓</button>
54
54
  * </div>
55
55
  */
56
- export declare const messageFollow: import("remix/ui").MixinFactory<HTMLElement, [model: ScrollFollowModel], import("remix/ui").ElementProps>;
56
+ export declare const messageFollow: import("remix/component").MixinFactory<HTMLElement, [model: ScrollFollowModel], import("remix/component").ElementProps>;
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import { createElement, createMixin, on } from "remix/ui";
14
+ import { createElement, createMixin, on } from "remix/component";
15
15
  import { prefersReducedMotion } from "../utils/prefers-reduced-motion.js";
16
16
  /**
17
17
  * Attribute every conversational turn exposes itself on, its value the
@@ -6,7 +6,7 @@
6
6
  * @author [Sergio Xalambrí](https://sergiodxa.com)
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
- import type { MixinFactory } from "remix/ui";
9
+ import type { MixinFactory } from "remix/component";
10
10
  /**
11
11
  * Writes the selected `<option>`'s content back into the host
12
12
  * `<selectedcontent>` once a render has committed and left the slot empty.
@@ -6,7 +6,7 @@
6
6
  * @author [Sergio Xalambrí](https://sergiodxa.com)
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
- import { createMixin } from "remix/ui";
9
+ import { createMixin } from "remix/component";
10
10
  /**
11
11
  * Writes the selected `<option>`'s content back into the host
12
12
  * `<selectedcontent>` once a render has committed and left the slot empty.
@@ -29,7 +29,8 @@ export const mirrorSelectedOption = createMixin((handle) => {
29
29
  let option = slot.closest("select")?.selectedOptions[0];
30
30
  if (!option)
31
31
  return;
32
- slot.append(...[...option.childNodes].map((child) => child.cloneNode(true)));
32
+ for (let child of option.childNodes)
33
+ slot.appendChild(child.cloneNode(true));
33
34
  });
34
35
  return () => { };
35
36
  });
@@ -49,5 +49,5 @@ export declare class OtpCompleteEvent extends Event {
49
49
  * <input data-otp-slot maxLength={1} inputMode="numeric" aria-label={t("otp.slot", { position: 3 })} />
50
50
  * </div>
51
51
  */
52
- export declare const otpSlots: import("remix/ui").MixinFactory<HTMLElement, [], import("remix/ui").ElementProps>;
52
+ export declare const otpSlots: import("remix/component").MixinFactory<HTMLElement, [], import("remix/component").ElementProps>;
53
53
  export {};
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import { createElement, createMixin, on } from "remix/ui";
14
+ import { createElement, createMixin, on } from "remix/component";
15
15
  /**
16
16
  * Attribute every OtpField slot input exposes itself on. `otpSlots()` reads
17
17
  * every element carrying this attribute beneath the host, in document
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import type { ElementProps, MixinFactory } from "remix/ui";
14
+ import type { ElementProps, MixinFactory } from "remix/component";
15
15
  /**
16
16
  * Attribute the Sidebar's collapse checkbox carries. {@link persist} reads
17
17
  * and flips this single descendant of its host, the same element the
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import { createElement, createMixin, on } from "remix/ui";
14
+ import { createElement, createMixin, on } from "remix/component";
15
15
  import { asCommandEvent } from "../utils/command-event.js";
16
16
  import { writeCookie } from "../utils/write-cookie.js";
17
17
  /** Invoker command {@link persist} answers on the Sidebar root: flips the collapse checkbox and mirrors its new state into the cookie. */
@@ -9,7 +9,7 @@
9
9
  * @author [Sergio Xalambrí](https://sergiodxa.com)
10
10
  * @copyright Sergio Xalambrí 2026
11
11
  */
12
- import type { MixinFactory } from "remix/ui";
12
+ import type { MixinFactory } from "remix/component";
13
13
  /** DOM event type dispatched by {@link pressToggle} whenever a click flips the host's pressed state. */
14
14
  declare const PRESS_TOGGLE_CHANGE_EVENT: "ui:press-toggle-change";
15
15
  declare global {
@@ -9,7 +9,7 @@
9
9
  * @author [Sergio Xalambrí](https://sergiodxa.com)
10
10
  * @copyright Sergio Xalambrí 2026
11
11
  */
12
- import { createElement, createMixin, on } from "remix/ui";
12
+ import { createElement, createMixin, on } from "remix/component";
13
13
  import { DISABLED_SELECTOR } from "../utils/disabled-selector.js";
14
14
  /**
15
15
  * Attribute {@link pressToggle} reads and flips on every click — the same
@@ -23,4 +23,4 @@ import type { CalendarModel } from "../behaviors/calendar-model.js";
23
23
  * let model = new CalendarModel();
24
24
  * <div role="grid" mix={[calendarKeys(model), rangePreview(model)]} />
25
25
  */
26
- export declare const rangePreview: import("remix/ui").MixinFactory<HTMLElement, [model: CalendarModel], import("remix/ui").ElementProps>;
26
+ export declare const rangePreview: import("remix/component").MixinFactory<HTMLElement, [model: CalendarModel], import("remix/component").ElementProps>;
@@ -11,7 +11,7 @@
11
11
  * @author [Sergio Xalambrí](https://sergiodxa.com)
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
- import { createElement, createMixin, on } from "remix/ui";
14
+ import { createElement, createMixin, on } from "remix/component";
15
15
  import { CALENDAR_DAY_DATE_ATTRIBUTE } from "./calendar-keys.js";
16
16
  import { trackHostNode } from "./track-host-node.js";
17
17
  /**
@@ -97,5 +97,5 @@ export declare class ResizableLayoutChangeEvent extends Event {
97
97
  * <section data-resizable-panel id="content">Content</section>
98
98
  * </div>
99
99
  */
100
- export declare const resizeHandle: import("remix/ui").MixinFactory<HTMLElement, [axis: ResizableAxis, session: ResizeSession], import("remix/ui").ElementProps>;
100
+ export declare const resizeHandle: import("remix/component").MixinFactory<HTMLElement, [axis: ResizableAxis, session: ResizeSession], import("remix/component").ElementProps>;
101
101
  export {};
@@ -12,7 +12,7 @@
12
12
  * @author [Sergio Xalambrí](https://sergiodxa.com)
13
13
  * @copyright Sergio Xalambrí 2026
14
14
  */
15
- import { createElement, createMixin, on } from "remix/ui";
15
+ import { createElement, createMixin, on } from "remix/component";
16
16
  import { isNewPrimaryPress } from "../utils/is-new-primary-press.js";
17
17
  import { trackHostNode } from "./track-host-node.js";
18
18
  /**
@@ -78,4 +78,4 @@ export interface StepperOptions {
78
78
  * </button>
79
79
  * </div>
80
80
  */
81
- export declare const stepper: import("remix/ui").MixinFactory<HTMLElement, [options?: StepperOptions | undefined], import("remix/ui").ElementProps>;
81
+ export declare const stepper: import("remix/component").MixinFactory<HTMLElement, [options?: StepperOptions | undefined], import("remix/component").ElementProps>;
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { createElement, createMixin, on } from "remix/ui";
11
+ import { createElement, createMixin, on } from "remix/component";
12
12
  import { asCommandEvent } from "../utils/command-event.js";
13
13
  /**
14
14
  * Custom Invoker Command an increment button declares (`command="--step-up"`
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Delegated arrow-key activation for a Tabs list: a single `keydown`
3
- * listener on the tablist container reads the shared `remix/ui/tabs`
3
+ * listener on the tablist container reads the shared `@remix-run/ui/tabs`
4
4
  * context to move the roving tab stop, instead of binding one listener
5
5
  * per tab. Needed because the WAI-ARIA tabs keyboard pattern has no
6
6
  * HTML/CSS equivalent; without JS every tab stays reachable through Tab.
@@ -16,7 +16,7 @@ export interface TabKeysOptions {
16
16
  }
17
17
  /**
18
18
  * Adds delegated arrow-key activation to a Tabs list, adapting the shared
19
- * `remix/ui/tabs` context instead of tracking tab order itself. Capturing
19
+ * `@remix-run/ui/tabs` context instead of tracking tab order itself. Capturing
20
20
  * and stopping handled keys pre-empts a same-key `tab()` binding per tab.
21
21
  *
22
22
  * @example
@@ -27,4 +27,4 @@ export interface TabKeysOptions {
27
27
  * </div>
28
28
  * </tabs.Context>
29
29
  */
30
- export declare const tabKeys: import("remix/ui").MixinFactory<HTMLElement, [options?: TabKeysOptions | undefined], import("remix/ui").ElementProps>;
30
+ export declare const tabKeys: import("remix/component").MixinFactory<HTMLElement, [options?: TabKeysOptions | undefined], import("remix/component").ElementProps>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Delegated arrow-key activation for a Tabs list: a single `keydown`
3
- * listener on the tablist container reads the shared `remix/ui/tabs`
3
+ * listener on the tablist container reads the shared `@remix-run/ui/tabs`
4
4
  * context to move the roving tab stop, instead of binding one listener
5
5
  * per tab. Needed because the WAI-ARIA tabs keyboard pattern has no
6
6
  * HTML/CSS equivalent; without JS every tab stays reachable through Tab.
@@ -8,11 +8,11 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { createElement, createMixin, on } from "remix/ui";
12
- import * as tabs from "remix/ui/tabs/primitives";
11
+ import * as tabs from "@remix-run/ui/tabs";
12
+ import { createElement, createMixin, on } from "remix/component";
13
13
  /**
14
14
  * Adds delegated arrow-key activation to a Tabs list, adapting the shared
15
- * `remix/ui/tabs` context instead of tracking tab order itself. Capturing
15
+ * `@remix-run/ui/tabs` context instead of tracking tab order itself. Capturing
16
16
  * and stopping handled keys pre-empts a same-key `tab()` binding per tab.
17
17
  *
18
18
  * @example
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinFactory } from "remix/ui";
11
+ import type { ElementProps, MixinFactory } from "remix/component";
12
12
  /** DOM event type dispatched by {@link themeToggle} whenever it switches `<html>`'s active mode. */
13
13
  declare const THEME_CHANGE_EVENT: "ui:theme-change";
14
14
  declare global {
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { createElement, createMixin, on } from "remix/ui";
11
+ import { createElement, createMixin, on } from "remix/component";
12
12
  import { asCommandEvent } from "../utils/command-event.js";
13
13
  import { writeCookie } from "../utils/write-cookie.js";
14
14
  /**
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { MixinHandle } from "remix/ui";
11
+ import type { MixinHandle } from "remix/component";
12
12
  /**
13
13
  * Caches the DOM node behind a mixin's own host element for as long as it
14
14
  * stays mounted, since no host node exists while setup runs; `insert`/`remove`
@@ -54,5 +54,5 @@ export declare class TreeChangeEvent extends Event {
54
54
  * <div role="treeitem" aria-level={2} data-tree-item="docs/readme">README</div>
55
55
  * </div>
56
56
  */
57
- export declare const treeKeys: import("remix/ui").MixinFactory<HTMLElement, [model: SelectionModel], import("remix/ui").ElementProps>;
57
+ export declare const treeKeys: import("remix/component").MixinFactory<HTMLElement, [model: SelectionModel], import("remix/component").ElementProps>;
58
58
  export {};
@@ -9,7 +9,7 @@
9
9
  * @author [Sergio Xalambrí](https://sergiodxa.com)
10
10
  * @copyright Sergio Xalambrí 2026
11
11
  */
12
- import { createElement, createMixin, on } from "remix/ui";
12
+ import { createElement, createMixin, on } from "remix/component";
13
13
  import { isPrintableKey, labelFor, setRovingTabindex } from "../utils/keyboard-nav.js";
14
14
  /**
15
15
  * Attribute every Tree row exposes itself on; its value doubles as the
@@ -61,5 +61,5 @@ export declare class ValidateChangeEvent extends Event {
61
61
  * <input name="email" type="email" required aria-describedby="email-error" mix={[validate(EmailSchema)]} />
62
62
  * <p id="email-error" data-field-error hidden />
63
63
  */
64
- export declare const validate: import("remix/ui").MixinFactory<HTMLElement, [schema: Schema<unknown, unknown>], import("remix/ui").ElementProps>;
64
+ export declare const validate: import("remix/component").MixinFactory<HTMLElement, [schema: Schema<unknown, unknown>], import("remix/component").ElementProps>;
65
65
  export {};
@@ -8,8 +8,8 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
+ import { createElement, createMixin, on } from "remix/component";
11
12
  import { parseSafe } from "remix/data-schema";
12
- import { createElement, createMixin, on } from "remix/ui";
13
13
  /**
14
14
  * Attribute the FieldError slot exposes itself on. Since `aria-describedby`
15
15
  * may list a Description alongside a FieldError, {@link validate} walks
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { MixinFactory } from "remix/ui";
11
+ import type { MixinFactory } from "remix/component";
12
12
  /**
13
13
  * `data-*` attribute {@link viewTransition} sets on a SharedElement's host
14
14
  * while its Frame's transition is in flight, so styling can suppress hover
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { createElement, createMixin } from "remix/ui";
11
+ import { createElement, createMixin } from "remix/component";
12
12
  import { prefersReducedMotion } from "../utils/prefers-reduced-motion.js";
13
13
  import { trackHostNode } from "./track-host-node.js";
14
14
  /**
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Number of categorical color slots a chart's `--ui-chart-*` palette spans.
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Composes the single-column stack — a `0.25rem` gap between a field's own
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Composes the shared floating-surface border, tint, and elevation shadow as
@@ -7,7 +7,7 @@
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import type { ElementProps, MixinDescriptor } from "remix/ui";
10
+ import type { ElementProps, MixinDescriptor } from "remix/component";
11
11
  import type { CSSStyles } from "../utils/css-styles.js";
12
12
  /**
13
13
  * A shrink-resistant, nudged-down, current-colored mixin for a leading
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Composes the transition-property/timing-function/duration triplet shared
@@ -6,7 +6,7 @@
6
6
  * @author [Sergio Xalambrí](https://sergiodxa.com)
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
- import type { ElementProps, MixinDescriptor } from "remix/ui";
9
+ import type { ElementProps, MixinDescriptor } from "remix/component";
10
10
  import type { CSSStyles } from "../utils/css-styles.js";
11
11
  /**
12
12
  * Composes the categorical legend-toggle visibility rules as a `css()`
@@ -6,7 +6,7 @@
6
6
  * @author [Sergio Xalambrí](https://sergiodxa.com)
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
- import type { ElementProps, MixinDescriptor } from "remix/ui";
9
+ import type { ElementProps, MixinDescriptor } from "remix/component";
10
10
  import type { CSSStyles } from "../utils/css-styles.js";
11
11
  /**
12
12
  * `text("sm")`'s font-size/line-height fallback pair matches the
@@ -7,7 +7,7 @@
7
7
  * @author [Sergio Xalambrí](https://sergiodxa.com)
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
- import type { ElementProps, MixinDescriptor } from "remix/ui";
10
+ import type { ElementProps, MixinDescriptor } from "remix/component";
11
11
  import type { CSSStyles } from "../utils/css-styles.js";
12
12
  /**
13
13
  * A framed panel's shared border and rounding: a solid, 1px neutral border
@@ -10,7 +10,7 @@
10
10
  * @author [Sergio Xalambrí](https://sergiodxa.com)
11
11
  * @copyright Sergio Xalambrí 2026
12
12
  */
13
- import type { ElementProps, MixinDescriptor } from "remix/ui";
13
+ import type { ElementProps, MixinDescriptor } from "remix/component";
14
14
  import type { CSSStyles } from "../utils/css-styles.js";
15
15
  /**
16
16
  * Composes the range thumb's shared appearance recipe — reset, shape, border,
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Composes the custom property pairing a gradient direction's `"right"`
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import type { ElementProps, MixinDescriptor } from "remix/ui";
11
+ import type { ElementProps, MixinDescriptor } from "remix/component";
12
12
  import type { CSSStyles } from "../utils/css-styles.js";
13
13
  /**
14
14
  * Composes every `&[data-color="..."]` branch a tinted panel keys its
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The style object shape `css()` accepts, aliased directly from `css()`'s own
3
- * parameter type because `remix/ui` doesn't export that type under its own
3
+ * parameter type because `remix/component` doesn't export that type under its own
4
4
  * name. Modules that build a nested selector, at-rule, or gated block ahead
5
5
  * of a `css()` call assign it into its own `CSSStyles` variable first, so
6
6
  * each nested block gets checked against this exact type as it's written.
@@ -8,7 +8,7 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { css } from "remix/ui";
11
+ import { css } from "remix/component";
12
12
  /**
13
13
  * The style object shape {@link css} accepts: a plain CSS-in-JS declaration
14
14
  * block, with nested selectors, at-rules (`@media`, `@supports`,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The style object shape `css()` accepts, aliased directly from `css()`'s own
3
- * parameter type because `remix/ui` doesn't export that type under its own
3
+ * parameter type because `remix/component` doesn't export that type under its own
4
4
  * name. Modules that build a nested selector, at-rule, or gated block ahead
5
5
  * of a `css()` call assign it into its own `CSSStyles` variable first, so
6
6
  * each nested block gets checked against this exact type as it's written.
@@ -8,4 +8,4 @@
8
8
  * @author [Sergio Xalambrí](https://sergiodxa.com)
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
- import { css } from "remix/ui";
11
+ import { css } from "remix/component";
@@ -10,7 +10,7 @@
10
10
  * @author [Sergio Xalambrí](https://sergiodxa.com)
11
11
  * @copyright Sergio Xalambrí 2026
12
12
  */
13
- import type { Props as TagProps } from "remix/ui";
13
+ import type { Props as TagProps } from "remix/component";
14
14
  /**
15
15
  * Per-part styling for a field's caption, control, supporting description,
16
16
  * and validation message, layered after each part's own built-in styling.