@galaxy-io/dls 1.0.3

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 (434) hide show
  1. package/README.md +42 -0
  2. package/dist/accordion/Accordion.d.ts +30 -0
  3. package/dist/accordion/Accordion.js +147 -0
  4. package/dist/animations/Fade.d.ts +6 -0
  5. package/dist/animations/Fade.js +22 -0
  6. package/dist/animations/Flashing.d.ts +3 -0
  7. package/dist/animations/Flashing.js +14 -0
  8. package/dist/animations/RotateWithTransition.d.ts +8 -0
  9. package/dist/animations/RotateWithTransition.js +28 -0
  10. package/dist/animations/ScaleFade.d.ts +6 -0
  11. package/dist/animations/ScaleFade.js +31 -0
  12. package/dist/animations/SpinAnimation.d.ts +7 -0
  13. package/dist/animations/SpinAnimation.js +20 -0
  14. package/dist/animations/SpinVerticalAnimation.d.ts +6 -0
  15. package/dist/animations/SpinVerticalAnimation.js +19 -0
  16. package/dist/assets/components/GalaxyLogomarkDark.d.ts +3 -0
  17. package/dist/assets/components/GalaxyLogomarkDark.js +11 -0
  18. package/dist/assets/components/GalaxyLogomarkLight.d.ts +3 -0
  19. package/dist/assets/components/GalaxyLogomarkLight.js +17 -0
  20. package/dist/assets/components/GalaxyWordmarkDark.d.ts +3 -0
  21. package/dist/assets/components/GalaxyWordmarkDark.js +15 -0
  22. package/dist/assets/components/GalaxyWordmarkLight.d.ts +3 -0
  23. package/dist/assets/components/GalaxyWordmarkLight.js +28 -0
  24. package/dist/assets/components/enrichment/PerplexityIcon.d.ts +3 -0
  25. package/dist/assets/components/enrichment/PerplexityIcon.js +35 -0
  26. package/dist/assets/components/enrichment/TavilyIcon.d.ts +3 -0
  27. package/dist/assets/components/enrichment/TavilyIcon.js +15 -0
  28. package/dist/assets/components/onboarding/TenantSetupDark.d.ts +3 -0
  29. package/dist/assets/components/onboarding/TenantSetupDark.js +498 -0
  30. package/dist/assets/components/onboarding/TenantSetupLight.d.ts +3 -0
  31. package/dist/assets/components/onboarding/TenantSetupLight.js +482 -0
  32. package/dist/assets/components/onboarding/UserSetupDark.d.ts +3 -0
  33. package/dist/assets/components/onboarding/UserSetupDark.js +1086 -0
  34. package/dist/assets/components/onboarding/UserSetupLight.d.ts +3 -0
  35. package/dist/assets/components/onboarding/UserSetupLight.js +1024 -0
  36. package/dist/assets/components/onboarding/WorkspaceSetupBuildDark.d.ts +3 -0
  37. package/dist/assets/components/onboarding/WorkspaceSetupBuildDark.js +466 -0
  38. package/dist/assets/components/onboarding/WorkspaceSetupBuildLight.d.ts +3 -0
  39. package/dist/assets/components/onboarding/WorkspaceSetupBuildLight.js +460 -0
  40. package/dist/assets/components/onboarding/WorkspaceSetupConnectDark.d.ts +3 -0
  41. package/dist/assets/components/onboarding/WorkspaceSetupConnectDark.js +336 -0
  42. package/dist/assets/components/onboarding/WorkspaceSetupConnectLight.d.ts +3 -0
  43. package/dist/assets/components/onboarding/WorkspaceSetupConnectLight.js +336 -0
  44. package/dist/assets/components/onboarding/WorkspaceSetupIntegrateDark.d.ts +3 -0
  45. package/dist/assets/components/onboarding/WorkspaceSetupIntegrateDark.js +153 -0
  46. package/dist/assets/components/onboarding/WorkspaceSetupIntegrateLight.d.ts +3 -0
  47. package/dist/assets/components/onboarding/WorkspaceSetupIntegrateLight.js +153 -0
  48. package/dist/assets/components/projects/MappingMethodAutoIntrospectDark.d.ts +3 -0
  49. package/dist/assets/components/projects/MappingMethodAutoIntrospectDark.js +117 -0
  50. package/dist/assets/components/projects/MappingMethodAutoIntrospectLight.d.ts +3 -0
  51. package/dist/assets/components/projects/MappingMethodAutoIntrospectLight.js +117 -0
  52. package/dist/assets/components/projects/MappingMethodBlankDark.d.ts +3 -0
  53. package/dist/assets/components/projects/MappingMethodBlankDark.js +150 -0
  54. package/dist/assets/components/projects/MappingMethodBlankDarkHovered.d.ts +3 -0
  55. package/dist/assets/components/projects/MappingMethodBlankDarkHovered.js +150 -0
  56. package/dist/assets/components/projects/MappingMethodBlankLight.d.ts +3 -0
  57. package/dist/assets/components/projects/MappingMethodBlankLight.js +150 -0
  58. package/dist/assets/components/projects/MappingMethodBlankLightHovered.d.ts +3 -0
  59. package/dist/assets/components/projects/MappingMethodBlankLightHovered.js +150 -0
  60. package/dist/assets/components/projects/MappingMethodJsonDark.d.ts +3 -0
  61. package/dist/assets/components/projects/MappingMethodJsonDark.js +90 -0
  62. package/dist/assets/components/projects/MappingMethodJsonDarkHovered.d.ts +3 -0
  63. package/dist/assets/components/projects/MappingMethodJsonDarkHovered.js +90 -0
  64. package/dist/assets/components/projects/MappingMethodJsonLight.d.ts +3 -0
  65. package/dist/assets/components/projects/MappingMethodJsonLight.js +90 -0
  66. package/dist/assets/components/projects/MappingMethodJsonLightHovered.d.ts +3 -0
  67. package/dist/assets/components/projects/MappingMethodJsonLightHovered.js +90 -0
  68. package/dist/assets/components/projects/ProjectsEmptyStateDark.d.ts +3 -0
  69. package/dist/assets/components/projects/ProjectsEmptyStateDark.js +454 -0
  70. package/dist/assets/components/projects/ProjectsEmptyStateLight.d.ts +3 -0
  71. package/dist/assets/components/projects/ProjectsEmptyStateLight.js +456 -0
  72. package/dist/assets/components/root/CreateProjectActionCardDark.d.ts +3 -0
  73. package/dist/assets/components/root/CreateProjectActionCardDark.js +1796 -0
  74. package/dist/assets/components/root/CreateProjectActionCardDarkHovered.d.ts +3 -0
  75. package/dist/assets/components/root/CreateProjectActionCardDarkHovered.js +1796 -0
  76. package/dist/assets/components/root/CreateProjectActionCardLight.d.ts +3 -0
  77. package/dist/assets/components/root/CreateProjectActionCardLight.js +1786 -0
  78. package/dist/assets/components/root/CreateProjectActionCardLightHovered.d.ts +3 -0
  79. package/dist/assets/components/root/CreateProjectActionCardLightHovered.js +1786 -0
  80. package/dist/assets/components/root/CreateSourceActionCardDark.d.ts +3 -0
  81. package/dist/assets/components/root/CreateSourceActionCardDark.js +879 -0
  82. package/dist/assets/components/root/CreateSourceActionCardDarkHovered.d.ts +3 -0
  83. package/dist/assets/components/root/CreateSourceActionCardDarkHovered.js +879 -0
  84. package/dist/assets/components/root/CreateSourceActionCardLight.d.ts +3 -0
  85. package/dist/assets/components/root/CreateSourceActionCardLight.js +889 -0
  86. package/dist/assets/components/root/CreateSourceActionCardLightHovered.d.ts +3 -0
  87. package/dist/assets/components/root/CreateSourceActionCardLightHovered.js +889 -0
  88. package/dist/assets/components/sources/AttioIcon.d.ts +3 -0
  89. package/dist/assets/components/sources/AttioIcon.js +11 -0
  90. package/dist/assets/components/sources/BigquerySourceIcon.d.ts +3 -0
  91. package/dist/assets/components/sources/BigquerySourceIcon.js +39 -0
  92. package/dist/assets/components/sources/BrowserbaseSourceIcon.d.ts +3 -0
  93. package/dist/assets/components/sources/BrowserbaseSourceIcon.js +35 -0
  94. package/dist/assets/components/sources/ClickhouseLogoSourceIconDark.d.ts +3 -0
  95. package/dist/assets/components/sources/ClickhouseLogoSourceIconDark.js +13 -0
  96. package/dist/assets/components/sources/ClickhouseLogoSourceIconLight.d.ts +3 -0
  97. package/dist/assets/components/sources/ClickhouseLogoSourceIconLight.js +13 -0
  98. package/dist/assets/components/sources/ConfluenceSourceIcon.d.ts +3 -0
  99. package/dist/assets/components/sources/ConfluenceSourceIcon.js +30 -0
  100. package/dist/assets/components/sources/GalaxyFileUploadSourceIcon.d.ts +3 -0
  101. package/dist/assets/components/sources/GalaxyFileUploadSourceIcon.js +16 -0
  102. package/dist/assets/components/sources/GalaxyTextSourceIcon.d.ts +3 -0
  103. package/dist/assets/components/sources/GalaxyTextSourceIcon.js +16 -0
  104. package/dist/assets/components/sources/GalaxyWebhookSourceIcon.d.ts +3 -0
  105. package/dist/assets/components/sources/GalaxyWebhookSourceIcon.js +16 -0
  106. package/dist/assets/components/sources/GithubSourceIcon.d.ts +3 -0
  107. package/dist/assets/components/sources/GithubSourceIcon.js +27 -0
  108. package/dist/assets/components/sources/GoogleDriveIcon.d.ts +3 -0
  109. package/dist/assets/components/sources/GoogleDriveIcon.js +45 -0
  110. package/dist/assets/components/sources/HubspotSourceIcon.d.ts +3 -0
  111. package/dist/assets/components/sources/HubspotSourceIcon.js +14 -0
  112. package/dist/assets/components/sources/JiraSourceIcon.d.ts +3 -0
  113. package/dist/assets/components/sources/JiraSourceIcon.js +54 -0
  114. package/dist/assets/components/sources/LinearSourceIcon.d.ts +3 -0
  115. package/dist/assets/components/sources/LinearSourceIcon.js +14 -0
  116. package/dist/assets/components/sources/MysqlLogoSourceIconDark.d.ts +3 -0
  117. package/dist/assets/components/sources/MysqlLogoSourceIconDark.js +17 -0
  118. package/dist/assets/components/sources/MysqlLogoSourceIconLight.d.ts +3 -0
  119. package/dist/assets/components/sources/MysqlLogoSourceIconLight.js +17 -0
  120. package/dist/assets/components/sources/NetsuiteSourceIcon.d.ts +3 -0
  121. package/dist/assets/components/sources/NetsuiteSourceIcon.js +32 -0
  122. package/dist/assets/components/sources/NotionIcon.d.ts +3 -0
  123. package/dist/assets/components/sources/NotionIcon.js +20 -0
  124. package/dist/assets/components/sources/NotionLogoSourceIconDark.d.ts +3 -0
  125. package/dist/assets/components/sources/NotionLogoSourceIconDark.js +10 -0
  126. package/dist/assets/components/sources/NotionLogoSourceIconLight.d.ts +3 -0
  127. package/dist/assets/components/sources/NotionLogoSourceIconLight.js +13 -0
  128. package/dist/assets/components/sources/PostgresLogoSourceIconDark.d.ts +3 -0
  129. package/dist/assets/components/sources/PostgresLogoSourceIconDark.js +28 -0
  130. package/dist/assets/components/sources/PostgresLogoSourceIconLight.d.ts +3 -0
  131. package/dist/assets/components/sources/PostgresLogoSourceIconLight.js +28 -0
  132. package/dist/assets/components/sources/PostgresqlIcon.d.ts +3 -0
  133. package/dist/assets/components/sources/PostgresqlIcon.js +61 -0
  134. package/dist/assets/components/sources/PostgresqlLogoSourceIconDark.d.ts +3 -0
  135. package/dist/assets/components/sources/PostgresqlLogoSourceIconDark.js +10 -0
  136. package/dist/assets/components/sources/PostgresqlLogoSourceIconLight.d.ts +3 -0
  137. package/dist/assets/components/sources/PostgresqlLogoSourceIconLight.js +13 -0
  138. package/dist/assets/components/sources/S3Icon.d.ts +3 -0
  139. package/dist/assets/components/sources/S3Icon.js +76 -0
  140. package/dist/assets/components/sources/S3LogoSourceIconDark.d.ts +3 -0
  141. package/dist/assets/components/sources/S3LogoSourceIconDark.js +10 -0
  142. package/dist/assets/components/sources/S3LogoSourceIconLight.d.ts +3 -0
  143. package/dist/assets/components/sources/S3LogoSourceIconLight.js +13 -0
  144. package/dist/assets/components/sources/SalesforceSourceIcon.d.ts +3 -0
  145. package/dist/assets/components/sources/SalesforceSourceIcon.js +23 -0
  146. package/dist/assets/components/sources/SlackIcon.d.ts +3 -0
  147. package/dist/assets/components/sources/SlackIcon.js +32 -0
  148. package/dist/assets/components/sources/SlackLogoSourceIconDark.d.ts +3 -0
  149. package/dist/assets/components/sources/SlackLogoSourceIconDark.js +15 -0
  150. package/dist/assets/components/sources/SlackLogoSourceIconLight.d.ts +3 -0
  151. package/dist/assets/components/sources/SlackLogoSourceIconLight.js +15 -0
  152. package/dist/assets/components/sources/SnowflakeLogoSourceIconDark.d.ts +3 -0
  153. package/dist/assets/components/sources/SnowflakeLogoSourceIconDark.js +14 -0
  154. package/dist/assets/components/sources/SnowflakeLogoSourceIconLight.d.ts +3 -0
  155. package/dist/assets/components/sources/SnowflakeLogoSourceIconLight.js +14 -0
  156. package/dist/assets/components/sources/SourcesEmptyStateDark.d.ts +3 -0
  157. package/dist/assets/components/sources/SourcesEmptyStateDark.js +432 -0
  158. package/dist/assets/components/sources/SourcesEmptyStateLight.d.ts +3 -0
  159. package/dist/assets/components/sources/SourcesEmptyStateLight.js +434 -0
  160. package/dist/assets/components/sources/WikipediaSourceIcon.d.ts +3 -0
  161. package/dist/assets/components/sources/WikipediaSourceIcon.js +1490 -0
  162. package/dist/assets/models/galaxy-logomark.js +4 -0
  163. package/dist/avatar/Avatar.d.ts +9 -0
  164. package/dist/avatar/Avatar.js +52 -0
  165. package/dist/avatar/AvatarEmpty.d.ts +36 -0
  166. package/dist/avatar/AvatarEmpty.js +43 -0
  167. package/dist/avatar/AvatarShimmer.d.ts +28 -0
  168. package/dist/avatar/AvatarShimmer.js +21 -0
  169. package/dist/avatar/GalaxyAvatar.d.ts +6 -0
  170. package/dist/avatar/GalaxyAvatar.js +36 -0
  171. package/dist/avatar/types.d.ts +5 -0
  172. package/dist/avatar/types.js +9 -0
  173. package/dist/backgrounds/CellGridBackground.d.ts +13 -0
  174. package/dist/backgrounds/CellGridBackground.js +39 -0
  175. package/dist/backgrounds/CrossGridBackground.d.ts +14 -0
  176. package/dist/backgrounds/CrossGridBackground.js +45 -0
  177. package/dist/backgrounds/DotGridBackground.d.ts +13 -0
  178. package/dist/backgrounds/DotGridBackground.js +43 -0
  179. package/dist/badge/Badge.d.ts +30 -0
  180. package/dist/badge/Badge.js +92 -0
  181. package/dist/beacons/Beacon.d.ts +43 -0
  182. package/dist/beacons/Beacon.js +68 -0
  183. package/dist/buttons/Button.d.ts +30 -0
  184. package/dist/buttons/Button.js +173 -0
  185. package/dist/charts/BarChart.d.ts +21 -0
  186. package/dist/charts/BarChart.js +264 -0
  187. package/dist/charts/ChartAxis.d.ts +28 -0
  188. package/dist/charts/ChartAxis.js +94 -0
  189. package/dist/charts/ChartLegend.d.ts +7 -0
  190. package/dist/charts/ChartLegend.js +30 -0
  191. package/dist/charts/ChartTooltip.d.ts +7 -0
  192. package/dist/charts/ChartTooltip.js +66 -0
  193. package/dist/charts/LineChart.d.ts +22 -0
  194. package/dist/charts/LineChart.js +250 -0
  195. package/dist/charts/PieChart.d.ts +35 -0
  196. package/dist/charts/PieChart.js +183 -0
  197. package/dist/charts/constants.d.ts +22 -0
  198. package/dist/charts/constants.js +38 -0
  199. package/dist/charts/types.d.ts +80 -0
  200. package/dist/charts/types.js +0 -0
  201. package/dist/charts/utils.d.ts +29 -0
  202. package/dist/charts/utils.js +62 -0
  203. package/dist/chips/Chip.d.ts +39 -0
  204. package/dist/chips/Chip.js +185 -0
  205. package/dist/containers/FlexItem.d.ts +28 -0
  206. package/dist/containers/FlexItem.js +93 -0
  207. package/dist/containers/FlexWrapper.d.ts +147 -0
  208. package/dist/containers/FlexWrapper.js +122 -0
  209. package/dist/containers/GridWrapper.d.ts +120 -0
  210. package/dist/containers/GridWrapper.js +117 -0
  211. package/dist/containers/Spacing.d.ts +13 -0
  212. package/dist/containers/Spacing.js +52 -0
  213. package/dist/containers/Wrapper.d.ts +16 -0
  214. package/dist/containers/Wrapper.js +50 -0
  215. package/dist/dividers/HorizontalDivider.d.ts +2 -0
  216. package/dist/dividers/HorizontalDivider.js +17 -0
  217. package/dist/dividers/VerticalDivider.d.ts +2 -0
  218. package/dist/dividers/VerticalDivider.js +17 -0
  219. package/dist/drawer/Drawer.d.ts +13 -0
  220. package/dist/drawer/Drawer.js +70 -0
  221. package/dist/dropdown/Dropdown.d.ts +51 -0
  222. package/dist/dropdown/Dropdown.js +136 -0
  223. package/dist/dropdown/DropdownButton.d.ts +18 -0
  224. package/dist/dropdown/DropdownButton.js +179 -0
  225. package/dist/dropdown/DropdownFooter.d.ts +10 -0
  226. package/dist/dropdown/DropdownFooter.js +35 -0
  227. package/dist/dropdown/DropdownItem.d.ts +10 -0
  228. package/dist/dropdown/DropdownItem.js +38 -0
  229. package/dist/editor/CodeEditor.d.ts +68 -0
  230. package/dist/editor/CodeEditor.js +435 -0
  231. package/dist/editor/CodeEditorReactWidget.d.ts +35 -0
  232. package/dist/editor/CodeEditorReactWidget.js +47 -0
  233. package/dist/hooks/useDismiss.d.ts +27 -0
  234. package/dist/hooks/useDismiss.js +37 -0
  235. package/dist/hooks/useElementWidth.d.ts +22 -0
  236. package/dist/hooks/useElementWidth.js +44 -0
  237. package/dist/hooks/useResize.d.ts +83 -0
  238. package/dist/hooks/useResize.js +114 -0
  239. package/dist/hotkeys/HotKeyBindings.d.ts +7 -0
  240. package/dist/hotkeys/HotKeyBindings.js +23 -0
  241. package/dist/hotkeys/HotKeySymbol.d.ts +13 -0
  242. package/dist/hotkeys/HotKeySymbol.js +49 -0
  243. package/dist/icons/BackIcon.d.ts +3 -0
  244. package/dist/icons/BackIcon.js +13 -0
  245. package/dist/icons/CloseIcon.d.ts +3 -0
  246. package/dist/icons/CloseIcon.js +13 -0
  247. package/dist/icons/CreateIcon.d.ts +3 -0
  248. package/dist/icons/CreateIcon.js +13 -0
  249. package/dist/icons/ForwardIcon.d.ts +3 -0
  250. package/dist/icons/ForwardIcon.js +13 -0
  251. package/dist/icons/GalaxyLogomark.d.ts +5 -0
  252. package/dist/icons/GalaxyLogomark.js +21 -0
  253. package/dist/icons/GalaxyLogomark3D.d.ts +41 -0
  254. package/dist/icons/GalaxyLogomark3D.js +310 -0
  255. package/dist/icons/GalaxyWordmark.d.ts +5 -0
  256. package/dist/icons/GalaxyWordmark.js +21 -0
  257. package/dist/icons/HelpIcon.d.ts +3 -0
  258. package/dist/icons/HelpIcon.js +14 -0
  259. package/dist/icons/Icon.d.ts +41 -0
  260. package/dist/icons/Icon.js +51 -0
  261. package/dist/icons/ProjectsIcon.d.ts +3 -0
  262. package/dist/icons/ProjectsIcon.js +12 -0
  263. package/dist/icons/SearchIcon.d.ts +3 -0
  264. package/dist/icons/SearchIcon.js +12 -0
  265. package/dist/icons/SourcesIcon.d.ts +3 -0
  266. package/dist/icons/SourcesIcon.js +12 -0
  267. package/dist/icons/TextIcon.d.ts +4 -0
  268. package/dist/icons/TextIcon.js +22 -0
  269. package/dist/icons/WebScrapeIcon.d.ts +4 -0
  270. package/dist/icons/WebScrapeIcon.js +22 -0
  271. package/dist/icons/WebhookIcon.d.ts +4 -0
  272. package/dist/icons/WebhookIcon.js +22 -0
  273. package/dist/icons/sources/AttioLogomark.d.ts +4 -0
  274. package/dist/icons/sources/AttioLogomark.js +8 -0
  275. package/dist/icons/sources/BrowserbaseLogomark.d.ts +4 -0
  276. package/dist/icons/sources/BrowserbaseLogomark.js +8 -0
  277. package/dist/icons/sources/ClickhouseLogomark.d.ts +4 -0
  278. package/dist/icons/sources/ClickhouseLogomark.js +16 -0
  279. package/dist/icons/sources/ConfluenceLogomark.d.ts +4 -0
  280. package/dist/icons/sources/ConfluenceLogomark.js +8 -0
  281. package/dist/icons/sources/GithubLogomark.d.ts +4 -0
  282. package/dist/icons/sources/GithubLogomark.js +8 -0
  283. package/dist/icons/sources/GoogleBigqueryLogomark.d.ts +4 -0
  284. package/dist/icons/sources/GoogleBigqueryLogomark.js +8 -0
  285. package/dist/icons/sources/GoogleDriveLogomark.d.ts +4 -0
  286. package/dist/icons/sources/GoogleDriveLogomark.js +8 -0
  287. package/dist/icons/sources/HubspotLogomark.d.ts +4 -0
  288. package/dist/icons/sources/HubspotLogomark.js +8 -0
  289. package/dist/icons/sources/JiraLogomark.d.ts +4 -0
  290. package/dist/icons/sources/JiraLogomark.js +8 -0
  291. package/dist/icons/sources/LinearLogomark.d.ts +4 -0
  292. package/dist/icons/sources/LinearLogomark.js +8 -0
  293. package/dist/icons/sources/MySQLLogomark.d.ts +4 -0
  294. package/dist/icons/sources/MySQLLogomark.js +8 -0
  295. package/dist/icons/sources/NetsuiteLogomark.d.ts +4 -0
  296. package/dist/icons/sources/NetsuiteLogomark.js +8 -0
  297. package/dist/icons/sources/NotionLogomark.d.ts +4 -0
  298. package/dist/icons/sources/NotionLogomark.js +8 -0
  299. package/dist/icons/sources/PostgresLogomark.d.ts +4 -0
  300. package/dist/icons/sources/PostgresLogomark.js +8 -0
  301. package/dist/icons/sources/S3Logomark.d.ts +4 -0
  302. package/dist/icons/sources/S3Logomark.js +8 -0
  303. package/dist/icons/sources/SalesforceLogomark.d.ts +4 -0
  304. package/dist/icons/sources/SalesforceLogomark.js +8 -0
  305. package/dist/icons/sources/SlackLogoIconmark.d.ts +4 -0
  306. package/dist/icons/sources/SlackLogoIconmark.js +8 -0
  307. package/dist/icons/sources/SnowflakeLogomark.d.ts +4 -0
  308. package/dist/icons/sources/SnowflakeLogomark.js +16 -0
  309. package/dist/icons/sources/WikipediaLogomark.d.ts +4 -0
  310. package/dist/icons/sources/WikipediaLogomark.js +8 -0
  311. package/dist/inputs/CheckboxInput.d.ts +20 -0
  312. package/dist/inputs/CheckboxInput.js +97 -0
  313. package/dist/inputs/ColorInput.d.ts +20 -0
  314. package/dist/inputs/ColorInput.js +368 -0
  315. package/dist/inputs/CopyInput.d.ts +15 -0
  316. package/dist/inputs/CopyInput.js +46 -0
  317. package/dist/inputs/DateInput.d.ts +19 -0
  318. package/dist/inputs/DateInput.js +498 -0
  319. package/dist/inputs/Input.d.ts +91 -0
  320. package/dist/inputs/Input.js +205 -0
  321. package/dist/inputs/MultiSelectInput.d.ts +38 -0
  322. package/dist/inputs/MultiSelectInput.js +566 -0
  323. package/dist/inputs/MultiTextInput.d.ts +27 -0
  324. package/dist/inputs/MultiTextInput.js +178 -0
  325. package/dist/inputs/NumberInput.d.ts +4 -0
  326. package/dist/inputs/NumberInput.js +34 -0
  327. package/dist/inputs/PasswordInput.d.ts +4 -0
  328. package/dist/inputs/PasswordInput.js +40 -0
  329. package/dist/inputs/RadioInput.d.ts +20 -0
  330. package/dist/inputs/RadioInput.js +108 -0
  331. package/dist/inputs/SelectInput.d.ts +51 -0
  332. package/dist/inputs/SelectInput.js +528 -0
  333. package/dist/inputs/SliderInput.d.ts +16 -0
  334. package/dist/inputs/SliderInput.js +172 -0
  335. package/dist/inputs/TextAreaInput.d.ts +40 -0
  336. package/dist/inputs/TextAreaInput.js +238 -0
  337. package/dist/inputs/TextInput.d.ts +4 -0
  338. package/dist/inputs/TextInput.js +53 -0
  339. package/dist/inputs/ToggleInput.d.ts +11 -0
  340. package/dist/inputs/ToggleInput.js +100 -0
  341. package/dist/inputs/hooks.d.ts +10 -0
  342. package/dist/inputs/hooks.js +22 -0
  343. package/dist/links/Link.d.ts +2 -0
  344. package/dist/links/Link.js +10 -0
  345. package/dist/lists/BulletedList.d.ts +11 -0
  346. package/dist/lists/BulletedList.js +41 -0
  347. package/dist/metrics/MetricItem.d.ts +15 -0
  348. package/dist/metrics/MetricItem.js +53 -0
  349. package/dist/metrics/ProgressBar.d.ts +15 -0
  350. package/dist/metrics/ProgressBar.js +60 -0
  351. package/dist/modal/Modal.d.ts +7 -0
  352. package/dist/modal/Modal.js +52 -0
  353. package/dist/overlay/OverlayProvider.d.ts +26 -0
  354. package/dist/overlay/OverlayProvider.js +92 -0
  355. package/dist/overlay/constants.d.ts +27 -0
  356. package/dist/overlay/constants.js +36 -0
  357. package/dist/overlay/useOverlay.d.ts +7 -0
  358. package/dist/overlay/useOverlay.js +46 -0
  359. package/dist/resizable/HorizontalResizeHandle.d.ts +10 -0
  360. package/dist/resizable/HorizontalResizeHandle.js +32 -0
  361. package/dist/resizable/VerticalResizeHandle.d.ts +11 -0
  362. package/dist/resizable/VerticalResizeHandle.js +33 -0
  363. package/dist/shapes/Circle.d.ts +6 -0
  364. package/dist/shapes/Circle.js +25 -0
  365. package/dist/spreadsheet/InfiniteSpreadsheet.d.ts +3 -0
  366. package/dist/spreadsheet/InfiniteSpreadsheet.js +265 -0
  367. package/dist/spreadsheet/SpreadsheetAddColumnButton.d.ts +6 -0
  368. package/dist/spreadsheet/SpreadsheetAddColumnButton.js +32 -0
  369. package/dist/spreadsheet/SpreadsheetCell.d.ts +19 -0
  370. package/dist/spreadsheet/SpreadsheetCell.js +115 -0
  371. package/dist/spreadsheet/SpreadsheetCellEditor.d.ts +11 -0
  372. package/dist/spreadsheet/SpreadsheetCellEditor.js +95 -0
  373. package/dist/spreadsheet/SpreadsheetHeaderCell.d.ts +13 -0
  374. package/dist/spreadsheet/SpreadsheetHeaderCell.js +125 -0
  375. package/dist/spreadsheet/SpreadsheetRow.d.ts +21 -0
  376. package/dist/spreadsheet/SpreadsheetRow.js +68 -0
  377. package/dist/spreadsheet/SpreadsheetRowActionCell.d.ts +11 -0
  378. package/dist/spreadsheet/SpreadsheetRowActionCell.js +60 -0
  379. package/dist/spreadsheet/hooks/useColumnResize.d.ts +6 -0
  380. package/dist/spreadsheet/hooks/useColumnResize.js +46 -0
  381. package/dist/spreadsheet/hooks/useSpreadsheetEditing.d.ts +13 -0
  382. package/dist/spreadsheet/hooks/useSpreadsheetEditing.js +41 -0
  383. package/dist/spreadsheet/types.d.ts +92 -0
  384. package/dist/spreadsheet/types.js +21 -0
  385. package/dist/styles.css +213 -0
  386. package/dist/switcher/Switcher.d.ts +11 -0
  387. package/dist/switcher/Switcher.js +41 -0
  388. package/dist/table/InfiniteTable.d.ts +83 -0
  389. package/dist/table/InfiniteTable.js +711 -0
  390. package/dist/table/VirtualizedInfiniteTable.d.ts +28 -0
  391. package/dist/table/VirtualizedInfiniteTable.js +359 -0
  392. package/dist/text/Bold.d.ts +3 -0
  393. package/dist/text/Bold.js +17 -0
  394. package/dist/text/Code.d.ts +3 -0
  395. package/dist/text/Code.js +27 -0
  396. package/dist/text/EditableText.d.ts +7 -0
  397. package/dist/text/EditableText.js +141 -0
  398. package/dist/text/Ellipsis.d.ts +10 -0
  399. package/dist/text/Ellipsis.js +28 -0
  400. package/dist/text/MarkdownText.d.ts +7 -0
  401. package/dist/text/MarkdownText.js +295 -0
  402. package/dist/text/Paragraph.d.ts +16 -0
  403. package/dist/text/Paragraph.js +76 -0
  404. package/dist/text/RequiredMarker.d.ts +6 -0
  405. package/dist/text/RequiredMarker.js +44 -0
  406. package/dist/text/Selectable.d.ts +3 -0
  407. package/dist/text/Selectable.js +15 -0
  408. package/dist/text/Text.d.ts +47 -0
  409. package/dist/text/Text.js +104 -0
  410. package/dist/text/TextShimmer.d.ts +7 -0
  411. package/dist/text/TextShimmer.js +30 -0
  412. package/dist/theme/GalaxyTheme.d.ts +36 -0
  413. package/dist/theme/GalaxyTheme.js +107 -0
  414. package/dist/theme/constants.d.ts +13 -0
  415. package/dist/theme/constants.js +43 -0
  416. package/dist/theme/index.d.ts +6 -0
  417. package/dist/theme/index.js +6 -0
  418. package/dist/theme/types.d.ts +174 -0
  419. package/dist/theme/types.js +0 -0
  420. package/dist/theme/typography.d.ts +2 -0
  421. package/dist/theme/typography.js +73 -0
  422. package/dist/theme/variants/dark.d.ts +2 -0
  423. package/dist/theme/variants/dark.js +125 -0
  424. package/dist/theme/variants/light.d.ts +2 -0
  425. package/dist/theme/variants/light.js +125 -0
  426. package/dist/tooltip/Tooltip.d.ts +37 -0
  427. package/dist/tooltip/Tooltip.js +79 -0
  428. package/dist/utils/colors.d.ts +84 -0
  429. package/dist/utils/colors.js +323 -0
  430. package/dist/utils/linaria.d.ts +1 -0
  431. package/dist/utils/linaria.js +8 -0
  432. package/dist/widget/Widget.d.ts +28 -0
  433. package/dist/widget/Widget.js +99 -0
  434. package/package.json +268 -0
@@ -0,0 +1,295 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ import Text, { TextSize, TextWeight } from "./Text.js";
3
+ /* empty css */
4
+ import { styled } from "@linaria/react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import Markdown from "react-markdown";
7
+ import rehypeRaw from "rehype-raw";
8
+ import remarkGfm from "remark-gfm";
9
+ //#region src/text/MarkdownText.tsx
10
+ var _exp = () => ({ theme }) => theme.font.sans.family;
11
+ var _exp2 = () => ({ theme }) => theme.font.sans.size.body_md;
12
+ var _exp3 = () => ({ theme }) => theme.font.sans.height.heading_sm;
13
+ var _exp4 = () => ({ theme }) => theme.color.text.primary;
14
+ var StyledParagraph = withTheme(/*#__PURE__*/ styled("p")({
15
+ name: "StyledParagraph",
16
+ class: "sgj79p2",
17
+ propsAsIs: false,
18
+ vars: {
19
+ "sgj79p2-0": [_exp()],
20
+ "sgj79p2-1": [_exp2()],
21
+ "sgj79p2-2": [_exp3()],
22
+ "sgj79p2-3": [_exp4()]
23
+ }
24
+ }));
25
+ var _exp5 = () => ({ theme }) => theme.color.background.secondary;
26
+ var _exp6 = () => ({ theme }) => theme.color.border.tertiary;
27
+ var _exp7 = () => ({ theme }) => theme.font.mono.family;
28
+ var _exp8 = () => ({ theme }) => theme.font.mono.size.body_md;
29
+ var _exp9 = () => ({ theme }) => theme.font.mono.height.body_md;
30
+ var _exp0 = () => ({ theme }) => theme.color.text.primary;
31
+ var StyledPre = withTheme(/*#__PURE__*/ styled("pre")({
32
+ name: "StyledPre",
33
+ class: "s17hp2a6",
34
+ propsAsIs: false,
35
+ vars: {
36
+ "s17hp2a6-0": [_exp5()],
37
+ "s17hp2a6-1": [_exp6()],
38
+ "s17hp2a6-2": [_exp7()],
39
+ "s17hp2a6-3": [_exp8()],
40
+ "s17hp2a6-4": [_exp9()],
41
+ "s17hp2a6-5": [_exp0()]
42
+ }
43
+ }));
44
+ var _exp1 = () => ({ theme }) => theme.color.background.secondary;
45
+ var _exp10 = () => ({ theme }) => theme.color.border.tertiary;
46
+ var _exp11 = () => ({ theme }) => theme.font.mono.family;
47
+ var _exp12 = () => ({ theme }) => theme.font.mono.size.body_sm;
48
+ var _exp13 = () => ({ theme }) => theme.font.mono.height.body_sm;
49
+ var _exp14 = () => ({ theme }) => theme.color.text.primary;
50
+ var StyledInlineCode = withTheme(/*#__PURE__*/ styled("code")({
51
+ name: "StyledInlineCode",
52
+ class: "s1l8k0vu",
53
+ propsAsIs: false,
54
+ vars: {
55
+ "s1l8k0vu-0": [_exp1()],
56
+ "s1l8k0vu-1": [_exp10()],
57
+ "s1l8k0vu-2": [_exp11()],
58
+ "s1l8k0vu-3": [_exp12()],
59
+ "s1l8k0vu-4": [_exp13()],
60
+ "s1l8k0vu-5": [_exp14()]
61
+ }
62
+ }));
63
+ var _exp15 = () => ({ theme }) => theme.color.border.secondary;
64
+ var _exp16 = () => ({ theme }) => theme.font.sans.family;
65
+ var _exp17 = () => ({ theme }) => theme.font.sans.size.body_md;
66
+ var _exp18 = () => ({ theme }) => theme.font.sans.height.body_lg;
67
+ var _exp19 = () => ({ theme }) => theme.color.text.secondary;
68
+ var StyledBlockquote = withTheme(/*#__PURE__*/ styled("blockquote")({
69
+ name: "StyledBlockquote",
70
+ class: "sa4is7y",
71
+ propsAsIs: false,
72
+ vars: {
73
+ "sa4is7y-0": [_exp15()],
74
+ "sa4is7y-1": [_exp16()],
75
+ "sa4is7y-2": [_exp17()],
76
+ "sa4is7y-3": [_exp18()],
77
+ "sa4is7y-4": [_exp19()]
78
+ }
79
+ }));
80
+ var _exp20 = () => ({ theme }) => theme.font.sans.family;
81
+ var _exp21 = () => ({ theme }) => theme.font.sans.size.body_md;
82
+ var _exp22 = () => ({ theme }) => theme.font.sans.height.heading_sm;
83
+ var _exp23 = () => ({ theme }) => theme.color.text.primary;
84
+ var _exp24 = () => ({ theme }) => theme.color.text.secondary;
85
+ var StyledList = withTheme(/*#__PURE__*/ styled("ul")({
86
+ name: "StyledList",
87
+ class: "sif7uds",
88
+ propsAsIs: false,
89
+ vars: {
90
+ "sif7uds-0": [_exp20()],
91
+ "sif7uds-1": [_exp21()],
92
+ "sif7uds-2": [_exp22()],
93
+ "sif7uds-3": [_exp23()],
94
+ "sif7uds-4": [_exp24()]
95
+ }
96
+ }));
97
+ var _exp25 = () => ({ theme }) => theme.font.sans.family;
98
+ var _exp26 = () => ({ theme }) => theme.font.sans.size.body_md;
99
+ var _exp27 = () => ({ theme }) => theme.font.sans.height.heading_sm;
100
+ var _exp28 = () => ({ theme }) => theme.color.text.primary;
101
+ var _exp29 = () => ({ theme }) => theme.color.text.secondary;
102
+ var _exp30 = () => ({ theme }) => theme.font.sans.weight.medium;
103
+ var StyledOrderedList = withTheme(/*#__PURE__*/ styled("ol")({
104
+ name: "StyledOrderedList",
105
+ class: "spy4hi2",
106
+ propsAsIs: false,
107
+ vars: {
108
+ "spy4hi2-0": [_exp25()],
109
+ "spy4hi2-1": [_exp26()],
110
+ "spy4hi2-2": [_exp27()],
111
+ "spy4hi2-3": [_exp28()],
112
+ "spy4hi2-4": [_exp29()],
113
+ "spy4hi2-5": [_exp30()]
114
+ }
115
+ }));
116
+ var _exp31 = () => ({ theme }) => theme.font.sans.weight.medium;
117
+ var _exp32 = () => ({ theme }) => theme.color.text.primary;
118
+ var StyledStrong = withTheme(/*#__PURE__*/ styled("strong")({
119
+ name: "StyledStrong",
120
+ class: "s6eo8rp",
121
+ propsAsIs: false,
122
+ vars: {
123
+ "s6eo8rp-0": [_exp31()],
124
+ "s6eo8rp-1": [_exp32()]
125
+ }
126
+ }));
127
+ var _exp33 = () => ({ theme }) => theme.color.text.primary;
128
+ var StyledEm = withTheme(/*#__PURE__*/ styled("em")({
129
+ name: "StyledEm",
130
+ class: "s1s7p3od",
131
+ propsAsIs: false,
132
+ vars: { "s1s7p3od-0": [_exp33()] }
133
+ }));
134
+ var _exp34 = () => ({ theme }) => theme.color.border.tertiary;
135
+ var StyledTableWrapper = withTheme(/*#__PURE__*/ styled("div")({
136
+ name: "StyledTableWrapper",
137
+ class: "s1ll404u",
138
+ propsAsIs: false,
139
+ vars: { "s1ll404u-0": [_exp34()] }
140
+ }));
141
+ var _exp35 = () => ({ theme }) => theme.font.sans.family;
142
+ var _exp36 = () => ({ theme }) => theme.font.sans.size.body_md;
143
+ var _exp37 = () => ({ theme }) => theme.font.sans.height.heading_sm;
144
+ var _exp38 = () => ({ theme }) => theme.color.text.primary;
145
+ var StyledTable = withTheme(/*#__PURE__*/ styled("table")({
146
+ name: "StyledTable",
147
+ class: "scwvhie",
148
+ propsAsIs: false,
149
+ vars: {
150
+ "scwvhie-0": [_exp35()],
151
+ "scwvhie-1": [_exp36()],
152
+ "scwvhie-2": [_exp37()],
153
+ "scwvhie-3": [_exp38()]
154
+ }
155
+ }));
156
+ var _exp39 = () => ({ theme }) => theme.color.border.secondary;
157
+ var StyledThead = withTheme(/*#__PURE__*/ styled("thead")({
158
+ name: "StyledThead",
159
+ class: "svk1lh",
160
+ propsAsIs: false,
161
+ vars: { "svk1lh-0": [_exp39()] }
162
+ }));
163
+ var _exp40 = () => ({ theme }) => theme.font.sans.weight.medium;
164
+ var _exp41 = () => ({ theme }) => theme.color.text.secondary;
165
+ var StyledTh = withTheme(/*#__PURE__*/ styled("th")({
166
+ name: "StyledTh",
167
+ class: "ss1iwpz",
168
+ propsAsIs: false,
169
+ vars: {
170
+ "ss1iwpz-0": [_exp40()],
171
+ "ss1iwpz-1": [_exp41()]
172
+ }
173
+ }));
174
+ var _exp42 = () => ({ theme }) => theme.color.border.tertiary;
175
+ var StyledTd = withTheme(/*#__PURE__*/ styled("td")({
176
+ name: "StyledTd",
177
+ class: "shi85us",
178
+ propsAsIs: false,
179
+ vars: { "shi85us-0": [_exp42()] }
180
+ }));
181
+ var StyledHeadingWrapper = /*#__PURE__*/ styled("div")({
182
+ name: "StyledHeadingWrapper",
183
+ class: "s10h6trl",
184
+ propsAsIs: false
185
+ });
186
+ var markdownComponents = {
187
+ pre: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledPre, {
188
+ ...props,
189
+ children
190
+ }),
191
+ code: ({ className, children, ...props }) => {
192
+ if (className?.startsWith("language-")) return /* @__PURE__ */ jsx("code", {
193
+ className,
194
+ ...props,
195
+ children
196
+ });
197
+ return /* @__PURE__ */ jsx(StyledInlineCode, {
198
+ ...props,
199
+ children
200
+ });
201
+ },
202
+ p: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledParagraph, {
203
+ ...props,
204
+ children
205
+ }),
206
+ h1: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
207
+ size: TextSize.HEADING_LG,
208
+ weight: TextWeight.MEDIUM,
209
+ isSelectable: true,
210
+ children
211
+ }) }),
212
+ h2: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
213
+ size: TextSize.HEADING_MD,
214
+ weight: TextWeight.MEDIUM,
215
+ isSelectable: true,
216
+ children
217
+ }) }),
218
+ h3: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
219
+ size: TextSize.HEADING_SM,
220
+ weight: TextWeight.MEDIUM,
221
+ isSelectable: true,
222
+ children
223
+ }) }),
224
+ h4: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
225
+ size: TextSize.BODY_LG,
226
+ weight: TextWeight.MEDIUM,
227
+ isSelectable: true,
228
+ children
229
+ }) }),
230
+ h5: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
231
+ weight: TextWeight.MEDIUM,
232
+ isSelectable: true,
233
+ children
234
+ }) }),
235
+ h6: ({ children }) => /* @__PURE__ */ jsx(StyledHeadingWrapper, { children: /* @__PURE__ */ jsx(Text, {
236
+ size: TextSize.BODY_SM,
237
+ weight: TextWeight.MEDIUM,
238
+ isSelectable: true,
239
+ children
240
+ }) }),
241
+ ul: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledList, {
242
+ ...props,
243
+ children
244
+ }),
245
+ ol: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledOrderedList, {
246
+ ...props,
247
+ children
248
+ }),
249
+ li: ({ children, ...props }) => /* @__PURE__ */ jsx("li", {
250
+ ...props,
251
+ children
252
+ }),
253
+ blockquote: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledBlockquote, {
254
+ ...props,
255
+ children
256
+ }),
257
+ strong: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledStrong, {
258
+ ...props,
259
+ children
260
+ }),
261
+ em: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledEm, {
262
+ ...props,
263
+ children
264
+ }),
265
+ table: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledTableWrapper, { children: /* @__PURE__ */ jsx(StyledTable, {
266
+ ...props,
267
+ children
268
+ }) }),
269
+ thead: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledThead, {
270
+ ...props,
271
+ children
272
+ }),
273
+ th: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledTh, {
274
+ ...props,
275
+ children
276
+ }),
277
+ td: ({ children, ...props }) => /* @__PURE__ */ jsx(StyledTd, {
278
+ ...props,
279
+ children
280
+ })
281
+ };
282
+ var MarkdownText = ({ content, componentOverrides }) => {
283
+ const components = componentOverrides ? {
284
+ ...markdownComponents,
285
+ ...componentOverrides
286
+ } : markdownComponents;
287
+ return /* @__PURE__ */ jsx(Markdown, {
288
+ remarkPlugins: [remarkGfm],
289
+ rehypePlugins: [rehypeRaw],
290
+ components,
291
+ children: content
292
+ });
293
+ };
294
+ //#endregion
295
+ export { MarkdownText as default };
@@ -0,0 +1,16 @@
1
+ import type { CSSProperties, PropsWithChildren } from "react";
2
+ import { TextSize, TextVariant, TextWeight } from "./Text";
3
+ export interface ParagraphProps {
4
+ variant?: TextVariant;
5
+ size?: TextSize;
6
+ weight?: TextWeight;
7
+ align?: CSSProperties["textAlign"];
8
+ cursor?: CSSProperties["cursor"];
9
+ hex?: string;
10
+ isMonospace?: boolean;
11
+ isSelectable?: boolean;
12
+ lineClamp?: number;
13
+ minHeight?: string;
14
+ }
15
+ declare const Paragraph: ({ children, size, variant, weight, align, cursor, isMonospace, isSelectable, lineClamp, minHeight, hex, }: PropsWithChildren<ParagraphProps>) => import("react").JSX.Element;
16
+ export default Paragraph;
@@ -0,0 +1,76 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ import { TextSize, TextVariant, TextWeight } from "./Text.js";
3
+ /* empty css */
4
+ import { styled } from "@linaria/react";
5
+ import { match } from "ts-pattern";
6
+ import { jsx } from "react/jsx-runtime";
7
+ //#region src/text/Paragraph.tsx
8
+ var _exp = () => ({ theme, $variant, $hex }) => {
9
+ if ($hex) return $hex;
10
+ return match($variant).with(TextVariant.PRIMARY, () => theme.color.text.primary).with(TextVariant.PRIMARY_ALT, () => theme.color.text.primaryAlt).with(TextVariant.SECONDARY, () => theme.color.text.secondary).with(TextVariant.SECONDARY_ALT, () => theme.color.text.secondaryAlt).with(TextVariant.TERTIARY, () => theme.color.text.tertiary).with(TextVariant.TERTIARY_ALT, () => theme.color.text.tertiaryAlt).with(TextVariant.SUCCESS, () => theme.color.text.success).with(TextVariant.ERROR, () => theme.color.text.error).with(TextVariant.LIME, () => theme.color.text.lime).with(TextVariant.PURPLE, () => theme.color.text.purple).with(TextVariant.TEAL, () => theme.color.text.teal).with(TextVariant.YELLOW, () => theme.color.text.yellow).with(TextVariant.ORANGE, () => theme.color.text.orange).with(TextVariant.PINK, () => theme.color.text.pink).with(TextVariant.BLUE, () => theme.color.text.blue).with(TextVariant.WARNING, () => theme.color.text.warning).with(TextVariant.DISABLED, () => theme.color.text.disabled).exhaustive();
11
+ };
12
+ var _exp2 = () => ({ theme, $isMonospace }) => $isMonospace ? theme.font.mono.family : theme.font.sans.family;
13
+ var _exp3 = () => ({ theme, $size }) => {
14
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.size.caption).with(TextSize.BODY_SM, () => theme.font.sans.size.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.size.body_md).with(TextSize.BODY_LG, () => theme.font.sans.size.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.size.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.size.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.size.heading_lg).exhaustive();
15
+ };
16
+ var _exp4 = () => ({ theme, $weight }) => {
17
+ return match($weight).with(TextWeight.REGULAR, () => theme.font.sans.weight.regular).with(TextWeight.MEDIUM, () => theme.font.sans.weight.medium).exhaustive();
18
+ };
19
+ var _exp5 = () => ({ theme, $size }) => {
20
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.height.caption).with(TextSize.BODY_SM, () => theme.font.sans.height.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.height.body_md).with(TextSize.BODY_LG, () => theme.font.sans.height.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.height.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.height.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.height.heading_lg).exhaustive();
21
+ };
22
+ var _exp6 = () => ({ theme, $size }) => {
23
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.spacing.caption).with(TextSize.BODY_SM, () => theme.font.sans.spacing.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.spacing.body_md).with(TextSize.BODY_LG, () => theme.font.sans.spacing.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.spacing.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.spacing.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.spacing.heading_lg).exhaustive();
24
+ };
25
+ var _exp7 = () => ({ $align }) => $align ?? "left";
26
+ var _exp8 = () => ({ $cursor }) => $cursor ?? "inherit";
27
+ var _exp10 = () => ({ $isSelectable }) => $isSelectable ? "text" : "none";
28
+ var _exp11 = () => ({ $lineClamp }) => $lineClamp ? "-webkit-box" : "inline";
29
+ var _exp12 = () => ({ $lineClamp }) => $lineClamp ?? "none";
30
+ var _exp13 = () => ({ $lineClamp }) => $lineClamp ? "vertical" : "unset";
31
+ var _exp14 = () => ({ $lineClamp }) => $lineClamp ? "hidden" : "visible";
32
+ var _exp15 = () => ({ $lineClamp }) => $lineClamp ? "100%" : "auto";
33
+ var _exp16 = () => ({ $lineClamp, $minHeight }) => {
34
+ if ($minHeight) return $minHeight;
35
+ if ($lineClamp) return `${$lineClamp}em`;
36
+ return "auto";
37
+ };
38
+ var StyledParagraph = withTheme(/*#__PURE__*/ styled("span")({
39
+ name: "StyledParagraph",
40
+ class: "sts1mtj",
41
+ propsAsIs: false,
42
+ vars: {
43
+ "sts1mtj-0": [_exp()],
44
+ "sts1mtj-1": [_exp2()],
45
+ "sts1mtj-2": [_exp3()],
46
+ "sts1mtj-3": [_exp4()],
47
+ "sts1mtj-4": [_exp5()],
48
+ "sts1mtj-5": [_exp6()],
49
+ "sts1mtj-6": [_exp7()],
50
+ "sts1mtj-7": [_exp8()],
51
+ "sts1mtj-8": [_exp10()],
52
+ "sts1mtj-9": [_exp11()],
53
+ "sts1mtj-10": [_exp12()],
54
+ "sts1mtj-11": [_exp13()],
55
+ "sts1mtj-12": [_exp14()],
56
+ "sts1mtj-13": [_exp15()],
57
+ "sts1mtj-14": [_exp16()]
58
+ }
59
+ }));
60
+ var Paragraph = ({ children, size = TextSize.BODY_MD, variant = TextVariant.PRIMARY, weight = TextWeight.REGULAR, align = "left", cursor, isMonospace = false, isSelectable = false, lineClamp, minHeight, hex }) => {
61
+ return /* @__PURE__ */ jsx(StyledParagraph, {
62
+ $size: size,
63
+ $variant: variant,
64
+ $weight: weight,
65
+ $align: align,
66
+ $cursor: cursor,
67
+ $isMonospace: isMonospace,
68
+ $isSelectable: isSelectable,
69
+ $lineClamp: lineClamp,
70
+ $minHeight: minHeight,
71
+ $hex: hex,
72
+ children
73
+ });
74
+ };
75
+ //#endregion
76
+ export { Paragraph as default };
@@ -0,0 +1,6 @@
1
+ import { TextSize } from "./Text";
2
+ interface RequiredMarkerProps {
3
+ size?: TextSize;
4
+ }
5
+ declare const RequiredMarker: ({ size }: RequiredMarkerProps) => import("react").JSX.Element;
6
+ export default RequiredMarker;
@@ -0,0 +1,44 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ import { TextSize } from "./Text.js";
3
+ /* empty css */
4
+ import { styled } from "@linaria/react";
5
+ import { match } from "ts-pattern";
6
+ import { jsx } from "react/jsx-runtime";
7
+ //#region src/text/RequiredMarker.tsx
8
+ var _exp = () => ({ theme }) => theme.color.text.error;
9
+ var _exp2 = () => ({ theme, $size }) => {
10
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.size.caption).with(TextSize.BODY_SM, () => theme.font.sans.size.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.size.body_md).with(TextSize.BODY_LG, () => theme.font.sans.size.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.size.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.size.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.size.heading_lg).exhaustive();
11
+ };
12
+ var _exp3 = () => ({ theme, $size }) => {
13
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.weight.medium).with(TextSize.BODY_SM, () => theme.font.sans.weight.medium).with(TextSize.BODY_MD, () => theme.font.sans.weight.medium).with(TextSize.BODY_LG, () => theme.font.sans.weight.medium).with(TextSize.HEADING_SM, () => theme.font.sans.weight.medium).with(TextSize.HEADING_MD, () => theme.font.sans.weight.medium).with(TextSize.HEADING_LG, () => theme.font.sans.weight.medium).exhaustive();
14
+ };
15
+ var _exp4 = () => ({ theme, $size }) => {
16
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.height.caption).with(TextSize.BODY_SM, () => theme.font.sans.height.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.height.body_md).with(TextSize.BODY_LG, () => theme.font.sans.height.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.height.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.height.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.height.heading_lg).exhaustive();
17
+ };
18
+ var _exp5 = () => ({ theme, $size }) => {
19
+ return match($size).with(TextSize.CAPTION, () => theme.font.sans.spacing.caption).with(TextSize.BODY_SM, () => theme.font.sans.spacing.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.spacing.body_md).with(TextSize.BODY_LG, () => theme.font.sans.spacing.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.spacing.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.spacing.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.spacing.heading_lg).exhaustive();
20
+ };
21
+ var _exp6 = () => ({ $size }) => {
22
+ return match($size).with(TextSize.CAPTION, () => "0.5px").with(TextSize.BODY_SM, () => "1px").with(TextSize.BODY_MD, () => "1px").with(TextSize.BODY_LG, () => "1px").with(TextSize.HEADING_SM, () => "2px").with(TextSize.HEADING_MD, () => "2px").with(TextSize.HEADING_LG, () => "2px").exhaustive();
23
+ };
24
+ var StyledRequiredMarker = withTheme(/*#__PURE__*/ styled("span")({
25
+ name: "StyledRequiredMarker",
26
+ class: "s1i18c6k",
27
+ propsAsIs: false,
28
+ vars: {
29
+ "s1i18c6k-0": [_exp()],
30
+ "s1i18c6k-1": [_exp2()],
31
+ "s1i18c6k-2": [_exp3()],
32
+ "s1i18c6k-3": [_exp4()],
33
+ "s1i18c6k-4": [_exp5()],
34
+ "s1i18c6k-5": [_exp6()]
35
+ }
36
+ }));
37
+ var RequiredMarker = ({ size = TextSize.BODY_MD }) => {
38
+ return /* @__PURE__ */ jsx(StyledRequiredMarker, {
39
+ $size: size,
40
+ children: "*"
41
+ });
42
+ };
43
+ //#endregion
44
+ export { RequiredMarker as default };
@@ -0,0 +1,3 @@
1
+ import type { PropsWithChildren } from "react";
2
+ declare const Selectable: ({ children }: PropsWithChildren) => import("react").JSX.Element;
3
+ export default Selectable;
@@ -0,0 +1,15 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ /* empty css */
3
+ import { styled } from "@linaria/react";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/text/Selectable.tsx
6
+ var StyledSelectable = withTheme(/*#__PURE__*/ styled("span")({
7
+ name: "StyledSelectable",
8
+ class: "sfziwh",
9
+ propsAsIs: false
10
+ }));
11
+ var Selectable = ({ children }) => {
12
+ return /* @__PURE__ */ jsx(StyledSelectable, { children });
13
+ };
14
+ //#endregion
15
+ export { Selectable as default };
@@ -0,0 +1,47 @@
1
+ import type { CSSProperties, PropsWithChildren } from "react";
2
+ export declare enum TextVariant {
3
+ PRIMARY = "PRIMARY",
4
+ PRIMARY_ALT = "PRIMARY_ALT",
5
+ SECONDARY = "SECONDARY",
6
+ SECONDARY_ALT = "SECONDARY_ALT",
7
+ TERTIARY = "TERTIARY",
8
+ TERTIARY_ALT = "TERTIARY_ALT",
9
+ SUCCESS = "SUCCESS",
10
+ WARNING = "WARNING",
11
+ ERROR = "ERROR",
12
+ PINK = "PINK",
13
+ ORANGE = "ORANGE",
14
+ YELLOW = "YELLOW",
15
+ LIME = "LIME",
16
+ BLUE = "BLUE",
17
+ TEAL = "TEAL",
18
+ PURPLE = "PURPLE",
19
+ DISABLED = "DISABLED"
20
+ }
21
+ export declare enum TextSize {
22
+ CAPTION = "CAPTION",
23
+ BODY_SM = "BODY_SM",
24
+ BODY_MD = "BODY_MD",
25
+ BODY_LG = "BODY_LG",
26
+ HEADING_SM = "HEADING_SM",
27
+ HEADING_MD = "HEADING_MD",
28
+ HEADING_LG = "HEADING_LG"
29
+ }
30
+ export declare enum TextWeight {
31
+ REGULAR = "REGULAR",
32
+ MEDIUM = "MEDIUM"
33
+ }
34
+ export interface TextProps {
35
+ variant?: TextVariant;
36
+ size?: TextSize;
37
+ weight?: TextWeight;
38
+ align?: CSSProperties["textAlign"];
39
+ cursor?: CSSProperties["cursor"];
40
+ hex?: string;
41
+ isMonospace?: boolean;
42
+ isSelectable?: boolean;
43
+ isUnderlined?: boolean;
44
+ isEllipsis?: boolean;
45
+ }
46
+ declare const Text: ({ children, size, variant, weight, align, cursor, isMonospace, isSelectable, isUnderlined, isEllipsis, hex, }: PropsWithChildren<TextProps>) => import("react").JSX.Element;
47
+ export default Text;
@@ -0,0 +1,104 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ /* empty css */
3
+ import { styled } from "@linaria/react";
4
+ import { match } from "ts-pattern";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region src/text/Text.tsx
7
+ var TextVariant = /* @__PURE__ */ function(TextVariant) {
8
+ TextVariant["PRIMARY"] = "PRIMARY";
9
+ TextVariant["PRIMARY_ALT"] = "PRIMARY_ALT";
10
+ TextVariant["SECONDARY"] = "SECONDARY";
11
+ TextVariant["SECONDARY_ALT"] = "SECONDARY_ALT";
12
+ TextVariant["TERTIARY"] = "TERTIARY";
13
+ TextVariant["TERTIARY_ALT"] = "TERTIARY_ALT";
14
+ TextVariant["SUCCESS"] = "SUCCESS";
15
+ TextVariant["WARNING"] = "WARNING";
16
+ TextVariant["ERROR"] = "ERROR";
17
+ TextVariant["PINK"] = "PINK";
18
+ TextVariant["ORANGE"] = "ORANGE";
19
+ TextVariant["YELLOW"] = "YELLOW";
20
+ TextVariant["LIME"] = "LIME";
21
+ TextVariant["BLUE"] = "BLUE";
22
+ TextVariant["TEAL"] = "TEAL";
23
+ TextVariant["PURPLE"] = "PURPLE";
24
+ TextVariant["DISABLED"] = "DISABLED";
25
+ return TextVariant;
26
+ }({});
27
+ var TextSize = /* @__PURE__ */ function(TextSize) {
28
+ TextSize["CAPTION"] = "CAPTION";
29
+ TextSize["BODY_SM"] = "BODY_SM";
30
+ TextSize["BODY_MD"] = "BODY_MD";
31
+ TextSize["BODY_LG"] = "BODY_LG";
32
+ TextSize["HEADING_SM"] = "HEADING_SM";
33
+ TextSize["HEADING_MD"] = "HEADING_MD";
34
+ TextSize["HEADING_LG"] = "HEADING_LG";
35
+ return TextSize;
36
+ }({});
37
+ var TextWeight = /* @__PURE__ */ function(TextWeight) {
38
+ TextWeight["REGULAR"] = "REGULAR";
39
+ TextWeight["MEDIUM"] = "MEDIUM";
40
+ return TextWeight;
41
+ }({});
42
+ var _exp = () => ({ theme, $variant, $hex }) => {
43
+ if ($hex) return $hex;
44
+ return match($variant).with("PRIMARY", () => theme.color.text.primary).with("PRIMARY_ALT", () => theme.color.text.primaryAlt).with("SECONDARY", () => theme.color.text.secondary).with("SECONDARY_ALT", () => theme.color.text.secondaryAlt).with("TERTIARY", () => theme.color.text.tertiary).with("TERTIARY_ALT", () => theme.color.text.tertiaryAlt).with("SUCCESS", () => theme.color.text.success).with("ERROR", () => theme.color.text.error).with("LIME", () => theme.color.text.lime).with("PURPLE", () => theme.color.text.purple).with("TEAL", () => theme.color.text.teal).with("YELLOW", () => theme.color.text.yellow).with("ORANGE", () => theme.color.text.orange).with("PINK", () => theme.color.text.pink).with("BLUE", () => theme.color.text.blue).with("WARNING", () => theme.color.text.warning).with("DISABLED", () => theme.color.text.disabled).exhaustive();
45
+ };
46
+ var _exp2 = () => ({ theme, $isMonospace }) => $isMonospace ? theme.font.mono.family : theme.font.sans.family;
47
+ var _exp3 = () => ({ theme, $size }) => {
48
+ return match($size).with("CAPTION", () => theme.font.sans.size.caption).with("BODY_SM", () => theme.font.sans.size.body_sm).with("BODY_MD", () => theme.font.sans.size.body_md).with("BODY_LG", () => theme.font.sans.size.body_lg).with("HEADING_SM", () => theme.font.sans.size.heading_sm).with("HEADING_MD", () => theme.font.sans.size.heading_md).with("HEADING_LG", () => theme.font.sans.size.heading_lg).exhaustive();
49
+ };
50
+ var _exp4 = () => ({ theme, $weight }) => {
51
+ return match($weight).with("REGULAR", () => theme.font.sans.weight.regular).with("MEDIUM", () => theme.font.sans.weight.medium).exhaustive();
52
+ };
53
+ var _exp5 = () => ({ theme, $size }) => {
54
+ return match($size).with("CAPTION", () => theme.font.sans.height.caption).with("BODY_SM", () => theme.font.sans.height.body_sm).with("BODY_MD", () => theme.font.sans.height.body_md).with("BODY_LG", () => theme.font.sans.height.body_lg).with("HEADING_SM", () => theme.font.sans.height.heading_sm).with("HEADING_MD", () => theme.font.sans.height.heading_md).with("HEADING_LG", () => theme.font.sans.height.heading_lg).exhaustive();
55
+ };
56
+ var _exp6 = () => ({ theme, $size }) => {
57
+ return match($size).with("CAPTION", () => theme.font.sans.spacing.caption).with("BODY_SM", () => theme.font.sans.spacing.body_sm).with("BODY_MD", () => theme.font.sans.spacing.body_md).with("BODY_LG", () => theme.font.sans.spacing.body_lg).with("HEADING_SM", () => theme.font.sans.spacing.heading_sm).with("HEADING_MD", () => theme.font.sans.spacing.heading_md).with("HEADING_LG", () => theme.font.sans.spacing.heading_lg).exhaustive();
58
+ };
59
+ var _exp7 = () => ({ $align }) => $align ?? "left";
60
+ var _exp8 = () => ({ $isUnderlined }) => $isUnderlined ? "underline" : "none";
61
+ var _exp9 = () => ({ $cursor }) => $cursor ?? "inherit";
62
+ var _exp11 = () => ({ $isSelectable }) => $isSelectable ? "text" : "none";
63
+ var _exp12 = () => ({ $isEllipsis }) => $isEllipsis ? "hidden" : "visible";
64
+ var _exp13 = () => ({ $isEllipsis }) => $isEllipsis ? "ellipsis" : "clip";
65
+ var _exp14 = () => ({ $isEllipsis }) => $isEllipsis ? "nowrap" : "normal";
66
+ var _exp15 = () => ({ $isEllipsis }) => $isEllipsis ? "100%" : "auto";
67
+ var StyledText = withTheme(/*#__PURE__*/ styled("p")({
68
+ name: "StyledText",
69
+ class: "shbcgkd",
70
+ propsAsIs: false,
71
+ vars: {
72
+ "shbcgkd-0": [_exp()],
73
+ "shbcgkd-1": [_exp2()],
74
+ "shbcgkd-2": [_exp3()],
75
+ "shbcgkd-3": [_exp4()],
76
+ "shbcgkd-4": [_exp5()],
77
+ "shbcgkd-5": [_exp6()],
78
+ "shbcgkd-6": [_exp7()],
79
+ "shbcgkd-7": [_exp8()],
80
+ "shbcgkd-8": [_exp9()],
81
+ "shbcgkd-9": [_exp11()],
82
+ "shbcgkd-10": [_exp12()],
83
+ "shbcgkd-11": [_exp13()],
84
+ "shbcgkd-12": [_exp14()],
85
+ "shbcgkd-13": [_exp15()]
86
+ }
87
+ }));
88
+ var Text = ({ children, size = "BODY_MD", variant = "PRIMARY", weight = "REGULAR", align = "left", cursor, isMonospace = false, isSelectable = false, isUnderlined = false, isEllipsis = false, hex }) => {
89
+ return /* @__PURE__ */ jsx(StyledText, {
90
+ $size: size,
91
+ $variant: variant,
92
+ $weight: weight,
93
+ $align: align,
94
+ $cursor: cursor,
95
+ $isMonospace: isMonospace,
96
+ $isSelectable: isSelectable,
97
+ $isUnderlined: isUnderlined,
98
+ $isEllipsis: isEllipsis,
99
+ $hex: hex,
100
+ children
101
+ });
102
+ };
103
+ //#endregion
104
+ export { TextSize, TextVariant, TextWeight, Text as default };
@@ -0,0 +1,7 @@
1
+ export interface TextShimmerProps {
2
+ height: number | string;
3
+ width: number | string;
4
+ noBorderRadius?: boolean;
5
+ }
6
+ declare const TextShimmer: ({ height, width, noBorderRadius }: TextShimmerProps) => import("react").JSX.Element;
7
+ export default TextShimmer;
@@ -0,0 +1,30 @@
1
+ import { withTheme } from "../theme/GalaxyTheme.js";
2
+ import { getCssSizeValue } from "../utils/linaria.js";
3
+ /* empty css */
4
+ import { styled } from "@linaria/react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region src/text/TextShimmer.tsx
7
+ var _exp3 = () => ({ theme }) => theme.color.border.primary;
8
+ var _exp4 = () => ({ $height }) => getCssSizeValue($height);
9
+ var _exp5 = () => ({ $width }) => getCssSizeValue($width);
10
+ var _exp6 = () => ({ $noBorderRadius }) => $noBorderRadius ? "0" : "4px";
11
+ var StyledTextShimmer = withTheme(/*#__PURE__*/ styled("span")({
12
+ name: "StyledTextShimmer",
13
+ class: "s1p67zkf",
14
+ propsAsIs: false,
15
+ vars: {
16
+ "s1p67zkf-0": [_exp3()],
17
+ "s1p67zkf-1": [_exp4()],
18
+ "s1p67zkf-2": [_exp5()],
19
+ "s1p67zkf-3": [_exp6()]
20
+ }
21
+ }));
22
+ var TextShimmer = ({ height, width, noBorderRadius }) => {
23
+ return /* @__PURE__ */ jsx(StyledTextShimmer, {
24
+ $height: height,
25
+ $width: width,
26
+ $noBorderRadius: noBorderRadius
27
+ });
28
+ };
29
+ //#endregion
30
+ export { TextShimmer as default };