@rimelight/ui 0.0.42 → 0.0.43

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 (400) hide show
  1. package/README.md +4 -14
  2. package/package.json +20 -30
  3. package/src/components/3d-hover/3d-hover.theme.ts +9 -12
  4. package/src/components/3d-hover/RLA3dHover.astro +9 -20
  5. package/src/components/accordion/RLAAccordion.astro +5 -14
  6. package/src/components/accordion/accordion.theme.ts +34 -37
  7. package/src/components/app/RLAApp.astro +9 -20
  8. package/src/components/app/app.theme.ts +9 -12
  9. package/src/components/aspect-ratio/RLAAspectRatio.astro +19 -27
  10. package/src/components/aspect-ratio/aspect-ratio.theme.ts +8 -12
  11. package/src/components/audio/RLAAudio.astro +3 -14
  12. package/src/components/audio/audio.theme.ts +9 -12
  13. package/src/components/avatar/RLAAvatar.astro +9 -29
  14. package/src/components/avatar/avatar.theme.ts +66 -77
  15. package/src/components/avatar/avatar.ts +6 -11
  16. package/src/components/avatar-group/RLAAvatarGroup.astro +188 -23
  17. package/src/components/avatar-group/avatar-group.theme.ts +12 -11
  18. package/src/components/avatar-group/avatar-group.ts +41 -0
  19. package/src/components/badge/RLABadge.astro +23 -36
  20. package/src/components/badge/RLSBadge.tsx +41 -0
  21. package/src/components/badge/RLVBadge.vue +8 -16
  22. package/src/components/badge/badge.theme.ts +118 -160
  23. package/src/components/badge/badge.ts +2 -1
  24. package/src/components/banner/RLABanner.astro +88 -103
  25. package/src/components/banner/banner.theme.ts +40 -43
  26. package/src/components/breadcrumb/RLABreadcrumb.astro +241 -62
  27. package/src/components/breadcrumb/breadcrumb.theme.ts +12 -16
  28. package/src/components/breadcrumb/breadcrumb.ts +19 -0
  29. package/src/components/browser-mockup/RLABrowserMockup.astro +9 -20
  30. package/src/components/browser-mockup/browser-mockup.theme.ts +9 -12
  31. package/src/components/button/RLAButton.astro +10 -30
  32. package/src/components/button/RLSButton.tsx +169 -0
  33. package/src/components/button/RLVButton.vue +13 -26
  34. package/src/components/button/button.theme.ts +163 -220
  35. package/src/components/button/button.ts +1 -1
  36. package/src/components/calendar/RLACalendar.astro +9 -20
  37. package/src/components/calendar/calendar.theme.ts +9 -12
  38. package/src/components/callout/RLACallout.astro +5 -14
  39. package/src/components/callout/callout.theme.ts +59 -101
  40. package/src/components/callout/callout.ts +1 -1
  41. package/src/components/card/RLACard.astro +71 -77
  42. package/src/components/card/RLSCard.tsx +116 -0
  43. package/src/components/card/RLVCard.vue +6 -14
  44. package/src/components/card/card.theme.ts +41 -44
  45. package/src/components/carousel/RLACarousel.astro +43 -11
  46. package/src/components/carousel/carousel.theme.ts +28 -32
  47. package/src/components/chart/RLAChart.astro +5 -11
  48. package/src/components/chart/chart.theme.ts +18 -21
  49. package/src/components/chart/chart.ts +1 -1
  50. package/src/components/chat/RLAChat.astro +9 -20
  51. package/src/components/chat/chat.theme.ts +9 -12
  52. package/src/components/chat-message/RLAChatMessage.astro +9 -20
  53. package/src/components/chat-message/chat-message.theme.ts +9 -12
  54. package/src/components/chat-messages/RLAChatMessages.astro +9 -20
  55. package/src/components/chat-messages/chat-messages.theme.ts +9 -12
  56. package/src/components/chat-palette/RLAChatPalette.astro +9 -20
  57. package/src/components/chat-palette/chat-palette.theme.ts +9 -12
  58. package/src/components/chat-prompt/RLAChatPrompt.astro +9 -20
  59. package/src/components/chat-prompt/chat-prompt.theme.ts +9 -12
  60. package/src/components/chat-prompt-submit/RLAChatPromptSubmit.astro +9 -20
  61. package/src/components/chat-prompt-submit/chat-prompt-submit.theme.ts +9 -12
  62. package/src/components/chat-reasoning/RLAChatReasoning.astro +9 -20
  63. package/src/components/chat-reasoning/chat-reasoning.theme.ts +9 -12
  64. package/src/components/chat-shimmer/RLAChatShimmer.astro +9 -20
  65. package/src/components/chat-shimmer/chat-shimmer.theme.ts +9 -12
  66. package/src/components/chat-tool/RLAChatTool.astro +9 -20
  67. package/src/components/chat-tool/chat-tool.theme.ts +9 -12
  68. package/src/components/checkbox/RLACheckbox.astro +2 -17
  69. package/src/components/checkbox/RLSCheckbox.tsx +65 -0
  70. package/src/components/checkbox/checkbox.theme.ts +34 -45
  71. package/src/components/checkbox/checkbox.ts +1 -1
  72. package/src/components/chip/RLAChip.astro +32 -56
  73. package/src/components/chip/chip.theme.ts +66 -72
  74. package/src/components/chip/chip.ts +3 -1
  75. package/src/components/collapsible/RLACollapsible.astro +2 -12
  76. package/src/components/collapsible/collapsible.theme.ts +17 -20
  77. package/src/components/collapsible/collapsible.ts +1 -1
  78. package/src/components/color-area/RLAColorArea.astro +2 -13
  79. package/src/components/color-area/color-area.theme.ts +19 -31
  80. package/src/components/color-area/color-area.ts +1 -1
  81. package/src/components/color-field/RLAColorField.astro +3 -14
  82. package/src/components/color-field/color-field.theme.ts +18 -30
  83. package/src/components/color-field/color-field.ts +1 -1
  84. package/src/components/color-picker/RLAColorPicker.astro +9 -20
  85. package/src/components/color-picker/color-picker.theme.ts +9 -12
  86. package/src/components/color-slider/RLAColorSlider.astro +2 -13
  87. package/src/components/color-slider/color-slider.theme.ts +20 -32
  88. package/src/components/color-slider/color-slider.ts +1 -1
  89. package/src/components/command-palette/RLACommandPalette.astro +9 -20
  90. package/src/components/command-palette/command-palette.theme.ts +9 -12
  91. package/src/components/compare/RLACompare.astro +9 -20
  92. package/src/components/compare/compare.theme.ts +9 -12
  93. package/src/components/confirm/RLAConfirm.astro +114 -122
  94. package/src/components/confirm/confirm.theme.ts +40 -44
  95. package/src/components/confirm/confirm.ts +1 -0
  96. package/src/components/container/RLAContainer.astro +9 -20
  97. package/src/components/container/container.theme.ts +9 -12
  98. package/src/components/context-menu/RLAContextMenu.astro +9 -20
  99. package/src/components/context-menu/context-menu.theme.ts +9 -12
  100. package/src/components/dashboard-group/RLADashboardGroup.astro +17 -21
  101. package/src/components/dashboard-group/dashboard-group.theme.ts +9 -12
  102. package/src/components/dashboard-group/dashboard-group.ts +1 -6
  103. package/src/components/dashboard-navbar/RLADashboardNavbar.astro +61 -21
  104. package/src/components/dashboard-navbar/dashboard-navbar.theme.ts +26 -12
  105. package/src/components/dashboard-navbar/dashboard-navbar.ts +5 -6
  106. package/src/components/dashboard-panel/RLADashboardPanel.astro +25 -13
  107. package/src/components/dashboard-panel/dashboard-panel.theme.ts +22 -12
  108. package/src/components/dashboard-panel/dashboard-panel.ts +4 -6
  109. package/src/components/dashboard-resize-handle/RLADashboardResizeHandle.astro +21 -21
  110. package/src/components/dashboard-resize-handle/dashboard-resize-handle.theme.ts +9 -12
  111. package/src/components/dashboard-resize-handle/dashboard-resize-handle.ts +1 -6
  112. package/src/components/dashboard-search/RLADashboardSearch.astro +100 -21
  113. package/src/components/dashboard-search/dashboard-search.theme.ts +24 -11
  114. package/src/components/dashboard-search/dashboard-search.ts +2 -6
  115. package/src/components/dashboard-search-button/RLADashboardSearchButton.astro +45 -21
  116. package/src/components/dashboard-search-button/dashboard-search-button.theme.ts +20 -12
  117. package/src/components/dashboard-search-button/dashboard-search-button.ts +4 -6
  118. package/src/components/dashboard-sidebar/RLADashboardSidebar.astro +119 -21
  119. package/src/components/dashboard-sidebar/dashboard-sidebar.theme.ts +40 -11
  120. package/src/components/dashboard-sidebar/dashboard-sidebar.ts +8 -6
  121. package/src/components/dashboard-sidebar-collapse/RLADashboardSidebarCollapse.astro +24 -21
  122. package/src/components/dashboard-sidebar-collapse/dashboard-sidebar-collapse.theme.ts +16 -12
  123. package/src/components/dashboard-sidebar-collapse/dashboard-sidebar-collapse.ts +2 -6
  124. package/src/components/dashboard-sidebar-toggle/RLADashboardSidebarToggle.astro +23 -21
  125. package/src/components/dashboard-sidebar-toggle/dashboard-sidebar-toggle.theme.ts +16 -12
  126. package/src/components/dashboard-sidebar-toggle/dashboard-sidebar-toggle.ts +2 -6
  127. package/src/components/dashboard-toolbar/RLADashboardToolbar.astro +25 -21
  128. package/src/components/dashboard-toolbar/dashboard-toolbar.theme.ts +11 -12
  129. package/src/components/dashboard-toolbar/dashboard-toolbar.ts +1 -6
  130. package/src/components/dock/RLADock.astro +9 -20
  131. package/src/components/dock/dock.theme.ts +9 -12
  132. package/src/components/drawer/RLADrawer.astro +115 -126
  133. package/src/components/drawer/drawer.theme.ts +53 -57
  134. package/src/components/dropdown-menu/RLADropdownMenu.astro +180 -47
  135. package/src/components/dropdown-menu/RLSDropdownMenu.tsx +196 -0
  136. package/src/components/dropdown-menu/dropdown-menu.theme.ts +51 -27
  137. package/src/components/dropdown-menu/dropdown-menu.ts +47 -9
  138. package/src/components/editor/RLAEditor.astro +9 -20
  139. package/src/components/editor/blocks/AddBlockModal.vue +3 -3
  140. package/src/components/editor/blocks/Block.vue +4 -3
  141. package/src/components/editor/blocks/BlockEditor.vue +3 -3
  142. package/src/components/editor/blocks/BlockViewRenderer.vue +8 -2
  143. package/src/components/editor/blocks/editor/CalloutBlockEditor.vue +2 -2
  144. package/src/components/editor/blocks/editor/ParagraphBlockEditor.vue +1 -1
  145. package/src/components/editor/blocks/editor/SectionBlockEditor.vue +3 -3
  146. package/src/components/editor/blocks/renderer/CalloutBlockRenderer.vue +2 -3
  147. package/src/components/editor/blocks/renderer/SectionBlockRenderer.vue +2 -2
  148. package/src/components/editor/editor.theme.ts +9 -12
  149. package/src/components/empty/RLAEmpty.astro +86 -20
  150. package/src/components/empty/empty.theme.ts +79 -11
  151. package/src/components/empty/empty.ts +59 -2
  152. package/src/components/error/RLAError.astro +9 -20
  153. package/src/components/error/error.theme.ts +9 -12
  154. package/src/components/field-group/RLAFieldGroup.astro +2 -11
  155. package/src/components/field-group/field-group.theme.ts +18 -22
  156. package/src/components/fieldset/RLAFieldset.astro +9 -20
  157. package/src/components/fieldset/fieldset.theme.ts +9 -12
  158. package/src/components/file-upload/RLAFileUpload.astro +4 -13
  159. package/src/components/file-upload/file-upload.theme.ts +19 -22
  160. package/src/components/file-upload/file-upload.ts +1 -1
  161. package/src/components/floating-action/RLAFloatingAction.astro +9 -20
  162. package/src/components/floating-action/floating-action.theme.ts +9 -12
  163. package/src/components/footer/RLAFooter.astro +32 -38
  164. package/src/components/footer/footer.theme.ts +31 -26
  165. package/src/components/footer/footer.ts +4 -0
  166. package/src/components/form/RLAForm.astro +9 -20
  167. package/src/components/form/form.theme.ts +9 -12
  168. package/src/components/form-field/RLAFormField.astro +5 -12
  169. package/src/components/form-field/RLSFormField.tsx +71 -0
  170. package/src/components/form-field/RLVFormField.vue +5 -14
  171. package/src/components/form-field/form-field.theme.ts +19 -22
  172. package/src/components/form-field/form-field.ts +1 -0
  173. package/src/components/gallery/RLAGallery.astro +9 -20
  174. package/src/components/gallery/gallery.theme.ts +9 -12
  175. package/src/components/grid/RLAGrid.astro +2 -15
  176. package/src/components/grid/grid.theme.ts +31 -34
  177. package/src/components/head/UIHead.astro +298 -0
  178. package/src/components/head/head.theme.ts +9 -12
  179. package/src/components/header/HeaderLayer.astro +63 -0
  180. package/src/components/header/RLAHeader.astro +29 -48
  181. package/src/components/header/header.theme.ts +37 -40
  182. package/src/components/header/header.ts +4 -0
  183. package/src/{utils → components/header}/headerStack.ts +30 -22
  184. package/src/components/hover-card/RLAHoverCard.astro +24 -35
  185. package/src/components/hover-card/hover-card.theme.ts +23 -27
  186. package/src/components/icon/RLAIcon.astro +29 -36
  187. package/src/components/icon/RLSIcon.tsx +6 -7
  188. package/src/components/icon/RLVIcon.vue +5 -6
  189. package/src/components/icon/icon.theme.ts +18 -28
  190. package/src/components/icon/resolver.ts +15 -29
  191. package/src/components/image/RLAImage.astro +20 -23
  192. package/src/components/image/image.theme.ts +29 -32
  193. package/src/components/input/RLAInput.astro +6 -21
  194. package/src/components/input/RLSInput.tsx +101 -0
  195. package/src/components/input/RLVInput.vue +11 -20
  196. package/src/components/input/input.theme.ts +41 -44
  197. package/src/components/input/input.ts +1 -1
  198. package/src/components/input-date/RLAInputDate.astro +9 -20
  199. package/src/components/input-date/input-date.theme.ts +9 -12
  200. package/src/components/input-menu/RLAInputMenu.astro +2 -12
  201. package/src/components/input-menu/input-menu.theme.ts +29 -32
  202. package/src/components/input-menu/input-menu.ts +1 -1
  203. package/src/components/input-number/RLAInputNumber.astro +9 -20
  204. package/src/components/input-number/input-number.theme.ts +9 -12
  205. package/src/components/input-pin/RLAInputPin.astro +9 -22
  206. package/src/components/input-pin/input-pin.theme.ts +9 -13
  207. package/src/components/input-rating/RLAInputRating.astro +2 -23
  208. package/src/components/input-rating/input-rating.theme.ts +64 -76
  209. package/src/components/input-rating/input-rating.ts +1 -1
  210. package/src/components/input-tags/RLAInputTags.astro +174 -21
  211. package/src/components/input-tags/input-tags.theme.ts +37 -12
  212. package/src/components/input-tags/input-tags.ts +50 -0
  213. package/src/components/input-time/RLAInputTime.astro +9 -20
  214. package/src/components/input-time/input-time.theme.ts +9 -12
  215. package/src/components/kbd/RLAKbd.astro +17 -32
  216. package/src/components/kbd/kbd.theme.ts +49 -91
  217. package/src/components/kbd/kbd.ts +3 -0
  218. package/src/components/knob/RLAKnob.astro +9 -20
  219. package/src/components/knob/knob.theme.ts +9 -12
  220. package/src/components/label/RLALabel.astro +16 -27
  221. package/src/components/label/label.theme.ts +16 -20
  222. package/src/components/layout-grid/RLALayoutGrid.astro +5 -11
  223. package/src/components/layout-grid/layout-grid.theme.ts +12 -15
  224. package/src/components/link/RLALink.astro +6 -20
  225. package/src/components/link/RLSLink.tsx +8 -16
  226. package/src/components/link/RLVLink.vue +7 -16
  227. package/src/components/link/link.theme.ts +37 -37
  228. package/src/components/link/link.ts +5 -5
  229. package/src/components/link-group/RLALinkGroup.astro +7 -44
  230. package/src/components/link-group/link-group.theme.ts +21 -26
  231. package/src/components/link-group/link-group.ts +5 -16
  232. package/src/components/listbox/RLAListbox.astro +9 -20
  233. package/src/components/listbox/listbox.theme.ts +9 -12
  234. package/src/components/locale-selector/RLALocaleSelector.astro +13 -21
  235. package/src/components/locale-selector/locale-selector.theme.ts +49 -44
  236. package/src/components/locale-selector/locale-selector.ts +4 -0
  237. package/src/components/logo/RLALogo.astro +13 -26
  238. package/src/components/logo/logo.theme.ts +9 -12
  239. package/src/components/main/RLAMain.astro +31 -36
  240. package/src/components/main/main.theme.ts +9 -12
  241. package/src/components/marquee/RLAMarquee.astro +62 -43
  242. package/src/components/marquee/marquee.theme.ts +22 -26
  243. package/src/components/meter/RLAMeter.astro +9 -20
  244. package/src/components/meter/meter.theme.ts +9 -12
  245. package/src/components/modal/RLAModal.astro +70 -72
  246. package/src/components/modal/RLSModal.tsx +156 -0
  247. package/src/components/modal/RLVModal.vue +5 -6
  248. package/src/components/modal/modal.theme.ts +42 -46
  249. package/src/components/modal/modal.ts +1 -0
  250. package/src/components/navigation-menu/RLANavigationMenu.astro +7 -12
  251. package/src/components/navigation-menu/navigation-menu.theme.ts +36 -39
  252. package/src/components/navigation-menu/navigation-menu.ts +19 -18
  253. package/src/components/page/RLAPage.astro +9 -20
  254. package/src/components/page/page.theme.ts +9 -12
  255. package/src/components/page-aside/RLAPageAside.astro +9 -20
  256. package/src/components/page-aside/page-aside.theme.ts +9 -12
  257. package/src/components/page-body/RLAPageBody.astro +9 -20
  258. package/src/components/page-body/page-body.theme.ts +9 -12
  259. package/src/components/page-header/RLAPageHeader.astro +9 -20
  260. package/src/components/page-header/page-header.theme.ts +9 -12
  261. package/src/components/page-section/RLAPageSection.astro +11 -15
  262. package/src/components/page-section/page-section.theme.ts +193 -176
  263. package/src/components/pagination/RLAPagination.astro +91 -97
  264. package/src/components/pagination/pagination.theme.ts +22 -26
  265. package/src/components/password/RLAPassword.astro +9 -20
  266. package/src/components/password/password.theme.ts +9 -12
  267. package/src/components/phone-mockup/RLAPhoneMockup.astro +9 -20
  268. package/src/components/phone-mockup/phone-mockup.theme.ts +9 -12
  269. package/src/components/placeholder/RLAPlaceholder.astro +32 -43
  270. package/src/components/placeholder/placeholder.theme.ts +11 -14
  271. package/src/components/popover/RLAPopover.astro +205 -132
  272. package/src/components/popover/popover.theme.ts +23 -27
  273. package/src/components/post/RLAPost.astro +2 -10
  274. package/src/components/post/post.theme.ts +45 -48
  275. package/src/components/pricing-plan/RLAPricingPlan.astro +9 -20
  276. package/src/components/pricing-plan/pricing-plan.theme.ts +9 -12
  277. package/src/components/pricing-table/RLAPricingTable.astro +9 -20
  278. package/src/components/pricing-table/pricing-table.theme.ts +9 -12
  279. package/src/components/progress/RLAProgress.astro +2 -17
  280. package/src/components/progress/progress.theme.ts +22 -34
  281. package/src/components/progress/progress.ts +1 -1
  282. package/src/components/prose/RLAProse.astro +9 -20
  283. package/src/components/prose/prose.theme.ts +9 -12
  284. package/src/components/qr-code/RLAQrCode.astro +9 -20
  285. package/src/components/qr-code/qr-code.theme.ts +9 -12
  286. package/src/components/quote/quote.theme.ts +9 -12
  287. package/src/components/radio-group/RLARadioGroup.astro +9 -20
  288. package/src/components/radio-group/radio-group.theme.ts +9 -12
  289. package/src/components/rating/RLARating.astro +9 -20
  290. package/src/components/rating/rating.theme.ts +9 -12
  291. package/src/components/scroll-area/RLAScrollArea.astro +2 -10
  292. package/src/components/scroll-area/scroll-area.theme.ts +21 -24
  293. package/src/components/scroll-to-top/RLAScrollToTop.astro +67 -43
  294. package/src/components/scroll-to-top/RLVScrollToTop.vue +6 -10
  295. package/src/components/scroll-to-top/scroll-to-top.theme.ts +32 -46
  296. package/src/components/scroll-to-top/scroll-to-top.ts +1 -1
  297. package/src/{utils → components/scroll-to-top}/scroll.ts +19 -6
  298. package/src/components/search/RLASearch.astro +3 -9
  299. package/src/components/search/search.theme.ts +60 -63
  300. package/src/components/select/RLASelect.astro +514 -113
  301. package/src/components/select/RLSSelect.tsx +126 -0
  302. package/src/components/select/RLVSelect.vue +7 -15
  303. package/src/components/select/select.theme.ts +104 -25
  304. package/src/components/select/select.ts +58 -36
  305. package/src/components/separator/RLASeparator.astro +62 -83
  306. package/src/components/separator/separator.theme.ts +135 -138
  307. package/src/components/separator/separator.ts +4 -0
  308. package/src/components/shortcuts/RLAShortcuts.astro +3 -4
  309. package/src/components/sidebar/RLASidebar.astro +11 -21
  310. package/src/components/sidebar/sidebar.theme.ts +39 -42
  311. package/src/components/sidebar/sidebar.ts +2 -0
  312. package/src/components/skeleton/RLASkeleton.astro +13 -22
  313. package/src/components/skeleton/skeleton.theme.ts +16 -19
  314. package/src/components/slideover/RLASlideover.astro +2 -12
  315. package/src/components/slideover/slideover.theme.ts +51 -55
  316. package/src/components/slider/RLASlider.astro +2 -15
  317. package/src/components/slider/slider.theme.ts +20 -33
  318. package/src/components/slider/slider.ts +1 -1
  319. package/src/components/speed-dial/RLASpeedDial.astro +9 -20
  320. package/src/components/speed-dial/speed-dial.theme.ts +9 -12
  321. package/src/components/spinner/RLASpinner.astro +2 -17
  322. package/src/components/spinner/spinner.theme.ts +29 -30
  323. package/src/components/spinner/spinner.ts +1 -1
  324. package/src/components/splitter/RLASplitter.astro +3 -11
  325. package/src/components/splitter/splitter.theme.ts +18 -21
  326. package/src/components/spoiler/RLASpoiler.astro +9 -20
  327. package/src/components/spoiler/spoiler.theme.ts +9 -12
  328. package/src/components/stepper/RLAStepper.astro +300 -21
  329. package/src/components/stepper/stepper.theme.ts +214 -12
  330. package/src/components/stepper/stepper.ts +23 -6
  331. package/src/components/steps/RLASteps.astro +2 -8
  332. package/src/components/steps/steps.theme.ts +9 -12
  333. package/src/components/sticky-surface/RLAStickySurface.astro +67 -38
  334. package/src/components/sticky-surface/sticky-surface.theme.ts +7 -11
  335. package/src/components/sticky-surface/sticky-surface.ts +1 -0
  336. package/src/components/surround/RLASurround.astro +5 -5
  337. package/src/components/switch/RLASwitch.astro +2 -18
  338. package/src/components/switch/switch.theme.ts +50 -61
  339. package/src/components/switch/switch.ts +1 -1
  340. package/src/components/table/RLATable.astro +566 -50
  341. package/src/components/table/table.theme.ts +112 -31
  342. package/src/components/table/table.ts +207 -6
  343. package/src/components/table-of-contents/RLATableOfContents.astro +8 -13
  344. package/src/components/table-of-contents/table-of-contents.theme.ts +60 -63
  345. package/src/components/tabs/RLATabs.astro +195 -51
  346. package/src/components/tabs/tabs.theme.ts +81 -84
  347. package/src/components/tabs/tabs.ts +18 -1
  348. package/src/components/textarea/RLATextarea.astro +16 -13
  349. package/src/components/textarea/RLSTextarea.tsx +69 -0
  350. package/src/components/textarea/RLVTextarea.vue +8 -16
  351. package/src/components/textarea/textarea.theme.ts +21 -24
  352. package/src/components/textarea/textarea.ts +2 -1
  353. package/src/components/theme-selector/RLAThemeSelector.astro +5 -13
  354. package/src/components/theme-selector/theme-selector.theme.ts +11 -14
  355. package/src/components/timeline/RLATimeline.astro +24 -44
  356. package/src/components/timeline/timeline.theme.ts +302 -307
  357. package/src/components/toast/RLAToast.astro +44 -18
  358. package/src/components/toast/store.ts +97 -0
  359. package/src/components/toast/toast.theme.ts +31 -34
  360. package/src/components/toast/toast.ts +1 -1
  361. package/src/components/toaster/RLAToaster.astro +76 -6
  362. package/src/components/tooltip/RLATooltip.astro +136 -33
  363. package/src/components/tooltip/tooltip.theme.ts +23 -26
  364. package/src/components/tour/RLATour.astro +9 -20
  365. package/src/components/tour/tour.theme.ts +9 -12
  366. package/src/components/tree/RLATree.astro +9 -20
  367. package/src/components/tree/tree.theme.ts +9 -12
  368. package/src/components/user/RLAUser.astro +9 -20
  369. package/src/components/user/user.theme.ts +9 -12
  370. package/src/components/video/RLAVideo.astro +5 -10
  371. package/src/components/video/video.theme.ts +13 -16
  372. package/src/components/watermark/RLAWatermark.astro +9 -20
  373. package/src/components/watermark/watermark.theme.ts +9 -12
  374. package/src/components/window-mockup/RLAWindowMockup.astro +9 -20
  375. package/src/components/window-mockup/window-mockup.theme.ts +9 -12
  376. package/src/icons.ts +68 -0
  377. package/src/index.ts +31 -0
  378. package/src/preset.ts +146 -0
  379. package/src/resolver.ts +20 -0
  380. package/src/shortcuts.ts +172 -0
  381. package/src/types.ts +57 -0
  382. package/LICENSE +0 -21
  383. package/src/components/head/RLAHead.astro +0 -528
  384. package/src/config/color.config.ts +0 -300
  385. package/src/config/site.config.ts +0 -28
  386. package/src/config/ui.config.ts +0 -89
  387. package/src/env.d.ts +0 -23
  388. package/src/icons/defaults.ts +0 -44
  389. package/src/presets/index.ts +0 -577
  390. package/src/stores/toast.ts +0 -24
  391. package/src/themes.ts +0 -26
  392. package/src/types/component.ts +0 -28
  393. package/src/ui.ts +0 -159
  394. package/src/utils/defineTheme.ts +0 -5
  395. package/src/utils/merge.ts +0 -62
  396. package/src/utils/resolveClasses.ts +0 -39
  397. package/src/utils/resolveTheme.ts +0 -13
  398. package/src/utils/shortcuts.ts +0 -322
  399. package/src/utils/toast.ts +0 -36
  400. package/src/utils/useUi.ts +0 -33
@@ -1,300 +0,0 @@
1
- export const colorScales = {
2
- neutral: {
3
- light: {
4
- "50": "oklch(0.985 0 0)",
5
- "100": "oklch(0.97 0 0)",
6
- "200": "oklch(0.922 0 0)",
7
- "300": "oklch(0.87 0 0)",
8
- "400": "oklch(0.708 0 0)",
9
- "500": "oklch(0.556 0 0)",
10
- "600": "oklch(0.439 0 0)",
11
- "700": "oklch(0.371 0 0)",
12
- "800": "oklch(0.269 0 0)",
13
- "900": "oklch(0.205 0 0)",
14
- "950": "oklch(0.145 0 0)"
15
- },
16
- dark: {
17
- "50": "oklch(0.145 0 0)",
18
- "100": "oklch(0.20 0 0)",
19
- "200": "oklch(0.28 0 0)",
20
- "300": "oklch(0.35 0 0)",
21
- "400": "oklch(0.44 0 0)",
22
- "500": "oklch(0.55 0 0)",
23
- "600": "oklch(0.62 0 0)",
24
- "700": "oklch(0.70 0 0)",
25
- "800": "oklch(0.78 0 0)",
26
- "900": "oklch(0.87 0 0)",
27
- "950": "oklch(0.95 0 0)"
28
- }
29
- },
30
- primary: {
31
- light: {
32
- "50": "oklch(0.97 0.015 260)",
33
- "100": "oklch(0.92 0.04 260)",
34
- "200": "oklch(0.85 0.08 260)",
35
- "300": "oklch(0.76 0.13 260)",
36
- "400": "oklch(0.66 0.18 260)",
37
- "500": "oklch(0.53 0.21 260)",
38
- "600": "oklch(0.44 0.19 260)",
39
- "700": "oklch(0.35 0.15 260)",
40
- "800": "oklch(0.27 0.11 260)",
41
- "900": "oklch(0.20 0.07 260)",
42
- "950": "oklch(0.15 0.04 260)"
43
- },
44
- dark: {
45
- "50": "oklch(0.15 0.04 260)",
46
- "100": "oklch(0.20 0.07 260)",
47
- "200": "oklch(0.27 0.11 260)",
48
- "300": "oklch(0.35 0.15 260)",
49
- "400": "oklch(0.44 0.19 260)",
50
- "500": "oklch(0.53 0.21 260)",
51
- "600": "oklch(0.61 0.19 260)",
52
- "700": "oklch(0.69 0.15 260)",
53
- "800": "oklch(0.77 0.10 260)",
54
- "900": "oklch(0.86 0.06 260)",
55
- "950": "oklch(0.93 0.02 260)"
56
- }
57
- },
58
- secondary: {
59
- light: {
60
- "50": "oklch(0.987 0.022 95.277)",
61
- "100": "oklch(0.962 0.059 95.617)",
62
- "200": "oklch(0.924 0.12 95.746)",
63
- "300": "oklch(0.879 0.169 91.605)",
64
- "400": "oklch(0.828 0.189 84.429)",
65
- "500": "oklch(0.769 0.188 70.08)",
66
- "600": "oklch(0.666 0.179 58.318)",
67
- "700": "oklch(0.555 0.163 48.998)",
68
- "800": "oklch(0.473 0.137 46.201)",
69
- "900": "oklch(0.414 0.112 45.904)",
70
- "950": "oklch(0.279 0.077 45.635)"
71
- },
72
- dark: {
73
- "50": "oklch(0.15 0.015 95)",
74
- "100": "oklch(0.20 0.04 95)",
75
- "200": "oklch(0.28 0.08 96)",
76
- "300": "oklch(0.35 0.12 92)",
77
- "400": "oklch(0.44 0.15 84)",
78
- "500": "oklch(0.52 0.16 70)",
79
- "600": "oklch(0.60 0.15 58)",
80
- "700": "oklch(0.68 0.12 49)",
81
- "800": "oklch(0.76 0.09 46)",
82
- "900": "oklch(0.84 0.06 46)",
83
- "950": "oklch(0.92 0.03 46)"
84
- }
85
- },
86
- info: {
87
- light: {
88
- "50": "oklch(0.97 0.014 254.604)",
89
- "100": "oklch(0.932 0.032 255.585)",
90
- "200": "oklch(0.882 0.059 254.128)",
91
- "300": "oklch(0.809 0.105 251.813)",
92
- "400": "oklch(0.707 0.165 254.624)",
93
- "500": "oklch(0.623 0.214 259.815)",
94
- "600": "oklch(0.546 0.245 262.881)",
95
- "700": "oklch(0.488 0.243 264.376)",
96
- "800": "oklch(0.424 0.199 265.638)",
97
- "900": "oklch(0.379 0.146 265.522)",
98
- "950": "oklch(0.282 0.091 267.935)"
99
- },
100
- dark: {
101
- "50": "oklch(0.15 0.01 255)",
102
- "100": "oklch(0.20 0.025 256)",
103
- "200": "oklch(0.28 0.04 254)",
104
- "300": "oklch(0.35 0.07 252)",
105
- "400": "oklch(0.44 0.12 255)",
106
- "500": "oklch(0.52 0.17 260)",
107
- "600": "oklch(0.60 0.20 263)",
108
- "700": "oklch(0.68 0.18 264)",
109
- "800": "oklch(0.76 0.13 266)",
110
- "900": "oklch(0.84 0.08 266)",
111
- "950": "oklch(0.92 0.04 268)"
112
- }
113
- },
114
- success: {
115
- light: {
116
- "50": "oklch(0.982 0.018 155.826)",
117
- "100": "oklch(0.962 0.044 156.743)",
118
- "200": "oklch(0.925 0.084 155.995)",
119
- "300": "oklch(0.871 0.15 154.449)",
120
- "400": "oklch(0.792 0.209 151.711)",
121
- "500": "oklch(0.723 0.219 149.579)",
122
- "600": "oklch(0.627 0.194 149.214)",
123
- "700": "oklch(0.527 0.154 150.069)",
124
- "800": "oklch(0.448 0.119 151.328)",
125
- "900": "oklch(0.393 0.095 152.535)",
126
- "950": "oklch(0.266 0.065 152.934)"
127
- },
128
- dark: {
129
- "50": "oklch(0.15 0.01 156)",
130
- "100": "oklch(0.20 0.03 157)",
131
- "200": "oklch(0.28 0.055 156)",
132
- "300": "oklch(0.35 0.10 154)",
133
- "400": "oklch(0.44 0.16 152)",
134
- "500": "oklch(0.52 0.18 150)",
135
- "600": "oklch(0.60 0.16 149)",
136
- "700": "oklch(0.68 0.12 150)",
137
- "800": "oklch(0.76 0.08 151)",
138
- "900": "oklch(0.84 0.05 153)",
139
- "950": "oklch(0.92 0.03 153)"
140
- }
141
- },
142
- warning: {
143
- light: {
144
- "50": "oklch(0.987 0.026 102.212)",
145
- "100": "oklch(0.973 0.071 103.193)",
146
- "200": "oklch(0.945 0.129 101.54)",
147
- "300": "oklch(0.905 0.182 98.111)",
148
- "400": "oklch(0.852 0.199 91.936)",
149
- "500": "oklch(0.795 0.184 86.047)",
150
- "600": "oklch(0.681 0.162 75.834)",
151
- "700": "oklch(0.554 0.135 66.442)",
152
- "800": "oklch(0.476 0.114 61.907)",
153
- "900": "oklch(0.421 0.095 57.708)",
154
- "950": "oklch(0.286 0.066 53.813)"
155
- },
156
- dark: {
157
- "50": "oklch(0.15 0.015 102)",
158
- "100": "oklch(0.20 0.045 103)",
159
- "200": "oklch(0.28 0.085 102)",
160
- "300": "oklch(0.35 0.13 98)",
161
- "400": "oklch(0.44 0.16 92)",
162
- "500": "oklch(0.52 0.16 86)",
163
- "600": "oklch(0.60 0.14 76)",
164
- "700": "oklch(0.68 0.11 66)",
165
- "800": "oklch(0.76 0.08 62)",
166
- "900": "oklch(0.84 0.05 58)",
167
- "950": "oklch(0.92 0.03 54)"
168
- }
169
- },
170
- error: {
171
- light: {
172
- "50": "oklch(0.971 0.013 17.38)",
173
- "100": "oklch(0.936 0.032 17.717)",
174
- "200": "oklch(0.885 0.062 18.334)",
175
- "300": "oklch(0.808 0.114 19.571)",
176
- "400": "oklch(0.704 0.191 22.216)",
177
- "500": "oklch(0.637 0.237 25.331)",
178
- "600": "oklch(0.577 0.245 27.325)",
179
- "700": "oklch(0.505 0.213 27.518)",
180
- "800": "oklch(0.444 0.177 26.899)",
181
- "900": "oklch(0.396 0.141 25.723)",
182
- "950": "oklch(0.258 0.092 26.042)"
183
- },
184
- dark: {
185
- "50": "oklch(0.15 0.01 17)",
186
- "100": "oklch(0.20 0.02 18)",
187
- "200": "oklch(0.28 0.04 18)",
188
- "300": "oklch(0.35 0.075 20)",
189
- "400": "oklch(0.44 0.14 22)",
190
- "500": "oklch(0.52 0.19 25)",
191
- "600": "oklch(0.60 0.20 27)",
192
- "700": "oklch(0.68 0.17 28)",
193
- "800": "oklch(0.76 0.12 27)",
194
- "900": "oklch(0.84 0.08 26)",
195
- "950": "oklch(0.92 0.04 26)"
196
- }
197
- },
198
- commentary: {
199
- light: {
200
- "50": "oklch(0.977 0.017 320.058)",
201
- "100": "oklch(0.952 0.037 318.852)",
202
- "200": "oklch(0.903 0.076 319.62)",
203
- "300": "oklch(0.833 0.145 321.434)",
204
- "400": "oklch(0.74 0.238 322.16)",
205
- "500": "oklch(0.667 0.295 322.15)",
206
- "600": "oklch(0.591 0.293 322.896)",
207
- "700": "oklch(0.518 0.253 323.949)",
208
- "800": "oklch(0.452 0.211 324.591)",
209
- "900": "oklch(0.401 0.17 325.612)",
210
- "950": "oklch(0.293 0.136 325.661)"
211
- },
212
- dark: {
213
- "50": "oklch(0.15 0.01 320)",
214
- "100": "oklch(0.20 0.025 319)",
215
- "200": "oklch(0.28 0.05 320)",
216
- "300": "oklch(0.35 0.10 321)",
217
- "400": "oklch(0.44 0.18 322)",
218
- "500": "oklch(0.52 0.24 322)",
219
- "600": "oklch(0.60 0.23 323)",
220
- "700": "oklch(0.68 0.19 324)",
221
- "800": "oklch(0.76 0.14 325)",
222
- "900": "oklch(0.84 0.09 326)",
223
- "950": "oklch(0.92 0.05 326)"
224
- }
225
- },
226
- ideation: {
227
- light: {
228
- "50": "oklch(0.969 0.016 293.756)",
229
- "100": "oklch(0.943 0.029 294.588)",
230
- "200": "oklch(0.894 0.057 293.283)",
231
- "300": "oklch(0.811 0.111 293.571)",
232
- "400": "oklch(0.702 0.183 293.541)",
233
- "500": "oklch(0.606 0.25 292.717)",
234
- "600": "oklch(0.541 0.281 293.009)",
235
- "700": "oklch(0.491 0.27 292.581)",
236
- "800": "oklch(0.432 0.232 292.759)",
237
- "900": "oklch(0.38 0.189 293.745)",
238
- "950": "oklch(0.283 0.141 291.089)"
239
- },
240
- dark: {
241
- "50": "oklch(0.15 0.01 294)",
242
- "100": "oklch(0.20 0.02 295)",
243
- "200": "oklch(0.28 0.04 293)",
244
- "300": "oklch(0.35 0.075 294)",
245
- "400": "oklch(0.44 0.14 294)",
246
- "500": "oklch(0.52 0.20 293)",
247
- "600": "oklch(0.60 0.22 293)",
248
- "700": "oklch(0.68 0.20 293)",
249
- "800": "oklch(0.76 0.15 293)",
250
- "900": "oklch(0.84 0.10 294)",
251
- "950": "oklch(0.92 0.05 291)"
252
- }
253
- },
254
- source: {
255
- light: {
256
- "50": "oklch(0.984 0.019 200.873)",
257
- "100": "oklch(0.956 0.045 203.388)",
258
- "200": "oklch(0.917 0.08 205.041)",
259
- "300": "oklch(0.865 0.127 207.078)",
260
- "400": "oklch(0.789 0.154 211.53)",
261
- "500": "oklch(0.715 0.143 215.221)",
262
- "600": "oklch(0.609 0.126 221.723)",
263
- "700": "oklch(0.52 0.105 223.128)",
264
- "800": "oklch(0.45 0.085 224.283)",
265
- "900": "oklch(0.398 0.07 227.392)",
266
- "950": "oklch(0.302 0.056 229.695)"
267
- },
268
- dark: {
269
- "50": "oklch(0.15 0.01 201)",
270
- "100": "oklch(0.20 0.03 203)",
271
- "200": "oklch(0.28 0.055 205)",
272
- "300": "oklch(0.35 0.09 207)",
273
- "400": "oklch(0.44 0.12 212)",
274
- "500": "oklch(0.52 0.12 215)",
275
- "600": "oklch(0.60 0.10 222)",
276
- "700": "oklch(0.68 0.08 223)",
277
- "800": "oklch(0.76 0.055 224)",
278
- "900": "oklch(0.84 0.04 227)",
279
- "950": "oklch(0.92 0.025 230)"
280
- }
281
- }
282
- } as const
283
-
284
- export const colorNames = [
285
- "neutral",
286
- "primary",
287
- "secondary",
288
- "info",
289
- "success",
290
- "warning",
291
- "error",
292
- "commentary",
293
- "ideation",
294
- "source"
295
- ] as const satisfies ReadonlyArray<keyof typeof colorScales>
296
-
297
- export const colorConfig = {
298
- scales: colorScales,
299
- colors: colorNames
300
- }
@@ -1,28 +0,0 @@
1
- export interface SiteConfig {
2
- id: string
3
- name: string
4
- description: string
5
- url: string
6
- ogImage: string
7
- author: string
8
- email: string
9
- branding: {
10
- logo: {
11
- alt: string
12
- }
13
- favicon: {
14
- svg: string
15
- }
16
- colors: {
17
- themeColor: string
18
- backgroundColor: string
19
- }
20
- }
21
- seo: {
22
- titleTemplate: string
23
- ogImageFallback: string
24
- maxDescriptionLength: number
25
- authorHandle?: string
26
- }
27
- ui?: Record<string, any>
28
- }
@@ -1,89 +0,0 @@
1
- import type { UserConfig } from "unocss"
2
- import type { ComponentTheme } from "../types/component"
3
- import type { RimelightIcons } from "../icons/defaults"
4
-
5
- export interface UIConfig {
6
- /**
7
- * Whether to strip default theme classes from all components (bringing your own styling).
8
- */
9
- unstyled?: boolean
10
- /**
11
- * Configuration for keyboard shortcuts.
12
- */
13
- shortcuts?: {
14
- categories?: Record<string, { label: string }>
15
- }
16
- /**
17
- * Configuration for the Logo component variants.
18
- */
19
- logos?: Record<
20
- string,
21
- | string
22
- | {
23
- light?: string
24
- dark?: string
25
- color?: string
26
- white?: string
27
- black?: string
28
- [key: string]: string | undefined
29
- }
30
- >
31
- /**
32
- * Global component configuration overrides.
33
- */
34
- components?: {
35
- /**
36
- * Global UI overrides applied to all components. Merged with defaults via our custom recursive
37
- * merge utility (first arg wins).
38
- */
39
- themes?: Record<string, Partial<ComponentTheme>>
40
- /**
41
- * Default prop values overrides for components.
42
- */
43
- props?: Record<string, Record<string, any>>
44
- }
45
- /**
46
- * Custom colors. Each color can be:
47
- *
48
- * - **Flat format**: `{ "500": "#7146ff", "600": "#6222ff" }` — used as the base for autogenerated
49
- * light and dark shades via `color-mix(in oklch, ...)`.
50
- * - **Mode format**: provide explicit `light` and/or `dark` buckets to control each scheme
51
- * independently:
52
- *
53
- * ```ts
54
- * { light: { "500": "#0064d7" }, dark: { "500": "#60a5fa" } }
55
- * ```
56
- *
57
- * Shades fall back through: **mode bucket → flat → light → dark**. Defining only one side
58
- * autogenerates the other when `autogenerateColorModes` is enabled.
59
- *
60
- * To pin a component to a specific scheme, use `theme="light"` or `theme="dark"` on the component
61
- * — this sets `color-scheme` natively on the element, causing all `light-dark()` variables to
62
- * resolve to the correct side.
63
- */
64
- colors?: Record<
65
- string,
66
- | Record<string, string>
67
- | {
68
- light?: Record<string, string>
69
- dark?: Record<string, string>
70
- }
71
- >
72
- autogenerateColorModes?: boolean
73
- /**
74
- * Global icon overrides mapping icon names to class names (e.g. `i-lucide-x`) or raw SVG strings.
75
- */
76
- icons?: RimelightIcons
77
- /**
78
- * Configure which built-in UnoCSS presets are enabled/disabled.
79
- */
80
- presets?: {
81
- wind?: boolean
82
- typography?: boolean
83
- icons?: boolean
84
- }
85
- /**
86
- * Custom UnoCSS configuration overrides, routed directly down to the UnoCSS instance.
87
- */
88
- unocss?: UserConfig
89
- }
package/src/env.d.ts DELETED
@@ -1,23 +0,0 @@
1
- /// <reference types="astro/client" />
2
-
3
- declare module "virtual:rimelight-ui" {
4
- import type { ComponentTheme } from "./types/component"
5
- import type { RimelightIcons } from "./icons/defaults"
6
-
7
- export interface VirtualUIConfig {
8
- /** Component theme overrides keyed by camelCase component name */
9
- [componentName: string]: ComponentTheme | undefined
10
- /** All active color names (built-in + user-defined) */
11
- colors: string[]
12
- /** Logo variant map passed to ui() */
13
- logos: Record<string, string | { light?: string; dark?: string; color?: string; white?: string; black?: string; [key: string]: string | undefined }>
14
- /** Keyboard shortcut category config */
15
- shortcuts: Record<string, any>
16
- /** Icon overrides */
17
- icons: RimelightIcons
18
- /** When true, strip all default theme classes from components */
19
- unstyled?: boolean
20
- }
21
-
22
- export function getUIConfig(): VirtualUIConfig
23
- }
@@ -1,44 +0,0 @@
1
- export const DEFAULT_ICONS = {
2
- alertTriangle: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"/><path d="M12 9v4M12 17h.01"/></svg>`,
3
- alignLeft: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><line x1="21" x2="3" y1="6" y2="6"/><line x1="15" x2="3" y1="12" y2="12"/><line x1="17" x2="3" y1="18" y2="18"/></svg>`,
4
- arrowLeft: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M19 12H5M12 19l-7-7 7-7"/></svg>`,
5
- arrowRight: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M5 12h14M12 5l7 7-7 7"/></svg>`,
6
- bell: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg>`,
7
- check: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M20 6 9 17l-5-5"/></svg>`,
8
- chevronDown: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m6 9 6 6 6-6"/></svg>`,
9
- chevronLeft: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m15 18-6-6 6-6"/></svg>`,
10
- chevronRight: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m9 18 6-6-6-6"/></svg>`,
11
- chevronsUpDown: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m7 15 5 5 5-5M7 9l5-5 5 5"/></svg>`,
12
- circleCheck: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>`,
13
- circleX: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6M9 9l6 6"/></svg>`,
14
- close: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M18 6 6 18M6 6l12 12"/></svg>`,
15
- copy: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`,
16
- download: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3"/></svg>`,
17
- externalLink: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3"/></svg>`,
18
- fileQuestion: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4M9.1 11.8a3 3 0 0 1 5.8 1c0 .9-.6 1.4-1.1 1.8-.4.3-.8.7-.8 1.4M12 19h.01"/></svg>`,
19
- gripHorizontal: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="12" cy="9" r="1"/><circle cx="19" cy="9" r="1"/><circle cx="5" cy="9" r="1"/><circle cx="12" cy="15" r="1"/><circle cx="19" cy="15" r="1"/><circle cx="5" cy="15" r="1"/></svg>`,
20
- gripVertical: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="9" cy="12" r="1"/><circle cx="9" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/></svg>`,
21
- hardDrive: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><rect width="20" height="8" x="2" y="14" rx="2"/><path d="M6 18h.01M10 18h.01M2 14L5 3h14l3 11"/></svg>`,
22
- image: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>`,
23
- imageUpscale: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M16 3H3v13h13V3z"/><path d="M21 21v-4a2 2 0 0 0-2-2h-3M21 11V9M21 5a2 2 0 0 0-2-2h-1"/></svg>`,
24
- info: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>`,
25
- layers: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="m12 3-10 5L12 13l10-5-10-5Z"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5"/></svg>`,
26
- list: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><line x1="8" x2="21" y1="6" y2="6"/><line x1="8" x2="21" y1="12" y2="12"/><line x1="8" x2="21" y1="18" y2="18"/><line x1="3" x2="3.01" y1="6" y2="6"/><line x1="3" x2="3.01" y1="12" y2="12"/><line x1="3" x2="3.01" y1="18" y2="18"/></svg>`,
27
- loaderCircle: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M21 12a9 9 0 1 1-6.219-8.56"/></svg>`,
28
- moon: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/></svg>`,
29
- panelLeft: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><path d="M9 3v18"/></svg>`,
30
- play: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><polygon points="6 3 20 12 6 21 6 3"/></svg>`,
31
- quote: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M3 21c3 0 7-1 7-8V5c0-1.25-.75-2-2-2H4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2h3c0 4-3 6-3 6Zm11 0c3 0 7-1 7-8V5c0-1.25-.75-2-2-2h-4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2h3c0 4-3 6-3 6Z"/></svg>`,
32
- search: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>`,
33
- share: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98"/></svg>`,
34
- sun: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/></svg>`,
35
- uploadCloud: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242M12 12v9M9 15l3-3 3 3"/></svg>`,
36
- user: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>`,
37
- star: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>`,
38
- lock: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>`,
39
- eye: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0z"/><circle cx="12" cy="12" r="3"/></svg>`,
40
- eyeOff: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" width="100%" height="100%"><path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"/><path d="M14.084 14.158a3 3 0 0 1-4.242-4.242"/><path d="M17.479 17.499A10.75 10.75 0 0 1 2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.225-4.22"/><line x1="2" x2="22" y1="2" y2="22"/></svg>`
41
- } as const
42
-
43
- export type RimelightIcons = Partial<Record<keyof typeof DEFAULT_ICONS, string>> &
44
- Record<string, string | undefined>