@md-code/components 0.0.0-stage → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +202 -0
  3. package/README.md +77 -2
  4. package/dist/assets/favicon.ico +0 -0
  5. package/dist/assets/logo.png +0 -0
  6. package/dist/atoms/Loading/ouroboros.svg +41 -0
  7. package/dist/atoms/Logo/logo.jpg +0 -0
  8. package/dist/avatar.js +8 -0
  9. package/dist/badge.js +25 -0
  10. package/dist/breadcrumbs.js +60 -0
  11. package/dist/button.js +203 -0
  12. package/dist/calendar.js +101 -0
  13. package/dist/caption.js +14 -0
  14. package/dist/card.js +82 -0
  15. package/dist/carousel.js +125 -0
  16. package/dist/central-modal.js +22 -0
  17. package/dist/chip.js +42 -0
  18. package/dist/circle-image.js +22 -0
  19. package/dist/code-preview.js +38 -0
  20. package/dist/code-view-tokenizer.js +35 -0
  21. package/dist/code-view.js +96 -0
  22. package/dist/conditional-wrapper.js +5 -0
  23. package/dist/containers.js +115 -0
  24. package/dist/diff-legend.js +31 -0
  25. package/dist/div-input.js +103 -0
  26. package/dist/empty.js +12 -0
  27. package/dist/filter-bar.js +15 -0
  28. package/dist/form-label.js +19 -0
  29. package/dist/form.js +17 -0
  30. package/dist/full-screen-modal.js +27 -0
  31. package/dist/header.js +19 -0
  32. package/dist/html-editor.js +81 -0
  33. package/dist/icons.js +42 -0
  34. package/dist/input.js +62 -0
  35. package/dist/link.js +35 -0
  36. package/dist/loading.js +182 -0
  37. package/dist/logo.js +12 -0
  38. package/dist/modals.js +130 -0
  39. package/dist/molecules/Carousel/arrow.svg +5 -0
  40. package/dist/molecules/Select/arrow_down.svg +3 -0
  41. package/dist/mono-text.js +16 -0
  42. package/dist/nav-tabs.js +33 -0
  43. package/dist/page-header.js +20 -0
  44. package/dist/pagination.js +119 -0
  45. package/dist/progress-bar.js +26 -0
  46. package/dist/radio.js +73 -0
  47. package/dist/report-ui.js +358 -0
  48. package/dist/row.js +15 -0
  49. package/dist/score-panel.js +125 -0
  50. package/dist/score-pills.js +25 -0
  51. package/dist/search-input.js +84 -0
  52. package/dist/select.js +164 -0
  53. package/dist/separator.js +16 -0
  54. package/dist/slider-field.js +34 -0
  55. package/dist/stack.js +16 -0
  56. package/dist/stat-grid.js +10 -0
  57. package/dist/stat.js +24 -0
  58. package/dist/status-label.js +63 -0
  59. package/dist/status-text.js +13 -0
  60. package/dist/submit.js +57 -0
  61. package/dist/subtle-text.js +14 -0
  62. package/dist/surface.js +39 -0
  63. package/dist/switch.js +99 -0
  64. package/dist/table.js +132 -0
  65. package/dist/tabs.js +156 -0
  66. package/dist/text-checkbox.js +64 -0
  67. package/dist/text-link.js +20 -0
  68. package/dist/textarea.js +56 -0
  69. package/dist/textures/Cloud/clouds.svg +52 -0
  70. package/dist/textures.js +170 -0
  71. package/dist/toasts.js +79 -0
  72. package/dist/toggle.js +66 -0
  73. package/dist/token-input-field.js +56 -0
  74. package/dist/tooltip.js +95 -0
  75. package/dist/types/atoms/Avatar/index.d.ts +6 -0
  76. package/dist/types/atoms/Avatar/index.d.ts.map +1 -0
  77. package/dist/types/atoms/Breadcrumbs/index.d.ts +10 -0
  78. package/dist/types/atoms/Breadcrumbs/index.d.ts.map +1 -0
  79. package/dist/types/atoms/Breadcrumbs/styles.d.ts +95 -0
  80. package/dist/types/atoms/Breadcrumbs/styles.d.ts.map +1 -0
  81. package/dist/types/atoms/Calendar/index.d.ts +4 -0
  82. package/dist/types/atoms/Calendar/index.d.ts.map +1 -0
  83. package/dist/types/atoms/Calendar/styles.d.ts +12 -0
  84. package/dist/types/atoms/Calendar/styles.d.ts.map +1 -0
  85. package/dist/types/atoms/Caption/index.d.ts +9 -0
  86. package/dist/types/atoms/Caption/index.d.ts.map +1 -0
  87. package/dist/types/atoms/Caption/styles.d.ts +9 -0
  88. package/dist/types/atoms/Caption/styles.d.ts.map +1 -0
  89. package/dist/types/atoms/CentralModal/index.d.ts +3 -0
  90. package/dist/types/atoms/CentralModal/index.d.ts.map +1 -0
  91. package/dist/types/atoms/Chip/index.d.ts +39 -0
  92. package/dist/types/atoms/Chip/index.d.ts.map +1 -0
  93. package/dist/types/atoms/Chip/styles.d.ts +19 -0
  94. package/dist/types/atoms/Chip/styles.d.ts.map +1 -0
  95. package/dist/types/atoms/CircleImage/index.d.ts +13 -0
  96. package/dist/types/atoms/CircleImage/index.d.ts.map +1 -0
  97. package/dist/types/atoms/CodePreview/index.d.ts +23 -0
  98. package/dist/types/atoms/CodePreview/index.d.ts.map +1 -0
  99. package/dist/types/atoms/ConditionalWrapper/index.d.ts +8 -0
  100. package/dist/types/atoms/ConditionalWrapper/index.d.ts.map +1 -0
  101. package/dist/types/atoms/Containers/index.d.ts +3 -0
  102. package/dist/types/atoms/Containers/index.d.ts.map +1 -0
  103. package/dist/types/atoms/Containers/styles.d.ts +87 -0
  104. package/dist/types/atoms/Containers/styles.d.ts.map +1 -0
  105. package/dist/types/atoms/DivInput/index.d.ts +18 -0
  106. package/dist/types/atoms/DivInput/index.d.ts.map +1 -0
  107. package/dist/types/atoms/Empty/index.d.ts +10 -0
  108. package/dist/types/atoms/Empty/index.d.ts.map +1 -0
  109. package/dist/types/atoms/Empty/styles.d.ts +9 -0
  110. package/dist/types/atoms/Empty/styles.d.ts.map +1 -0
  111. package/dist/types/atoms/Form/Form.d.ts +15 -0
  112. package/dist/types/atoms/Form/Form.d.ts.map +1 -0
  113. package/dist/types/atoms/Form/index.d.ts +13 -0
  114. package/dist/types/atoms/Form/index.d.ts.map +1 -0
  115. package/dist/types/atoms/FormLabel/index.d.ts +13 -0
  116. package/dist/types/atoms/FormLabel/index.d.ts.map +1 -0
  117. package/dist/types/atoms/FullScreenModal/index.d.ts +3 -0
  118. package/dist/types/atoms/FullScreenModal/index.d.ts.map +1 -0
  119. package/dist/types/atoms/Header/index.d.ts +3 -0
  120. package/dist/types/atoms/Header/index.d.ts.map +1 -0
  121. package/dist/types/atoms/Header/styles.d.ts +18 -0
  122. package/dist/types/atoms/Header/styles.d.ts.map +1 -0
  123. package/dist/types/atoms/Icons/index.d.ts +49 -0
  124. package/dist/types/atoms/Icons/index.d.ts.map +1 -0
  125. package/dist/types/atoms/Input/index.d.ts +3 -0
  126. package/dist/types/atoms/Input/index.d.ts.map +1 -0
  127. package/dist/types/atoms/Input/styles.d.ts +20 -0
  128. package/dist/types/atoms/Input/styles.d.ts.map +1 -0
  129. package/dist/types/atoms/Link/index.d.ts +3 -0
  130. package/dist/types/atoms/Link/index.d.ts.map +1 -0
  131. package/dist/types/atoms/Link/styles.d.ts +133 -0
  132. package/dist/types/atoms/Link/styles.d.ts.map +1 -0
  133. package/dist/types/atoms/Loading/index.d.ts +27 -0
  134. package/dist/types/atoms/Loading/index.d.ts.map +1 -0
  135. package/dist/types/atoms/Loading/styles.d.ts +31 -0
  136. package/dist/types/atoms/Loading/styles.d.ts.map +1 -0
  137. package/dist/types/atoms/Logo/index.d.ts +3 -0
  138. package/dist/types/atoms/Logo/index.d.ts.map +1 -0
  139. package/dist/types/atoms/MonoText/index.d.ts +23 -0
  140. package/dist/types/atoms/MonoText/index.d.ts.map +1 -0
  141. package/dist/types/atoms/MonoText/styles.d.ts +13 -0
  142. package/dist/types/atoms/MonoText/styles.d.ts.map +1 -0
  143. package/dist/types/atoms/Pagination/index.d.ts +9 -0
  144. package/dist/types/atoms/Pagination/index.d.ts.map +1 -0
  145. package/dist/types/atoms/Pagination/styles.d.ts +38 -0
  146. package/dist/types/atoms/Pagination/styles.d.ts.map +1 -0
  147. package/dist/types/atoms/ProgressBar/index.d.ts +13 -0
  148. package/dist/types/atoms/ProgressBar/index.d.ts.map +1 -0
  149. package/dist/types/atoms/Radio/index.d.ts +12 -0
  150. package/dist/types/atoms/Radio/index.d.ts.map +1 -0
  151. package/dist/types/atoms/Row/index.d.ts +8 -0
  152. package/dist/types/atoms/Row/index.d.ts.map +1 -0
  153. package/dist/types/atoms/Row/styles.d.ts +9 -0
  154. package/dist/types/atoms/Row/styles.d.ts.map +1 -0
  155. package/dist/types/atoms/Separator/index.d.ts +24 -0
  156. package/dist/types/atoms/Separator/index.d.ts.map +1 -0
  157. package/dist/types/atoms/Separator/styles.d.ts +14 -0
  158. package/dist/types/atoms/Separator/styles.d.ts.map +1 -0
  159. package/dist/types/atoms/Stack/index.d.ts +17 -0
  160. package/dist/types/atoms/Stack/index.d.ts.map +1 -0
  161. package/dist/types/atoms/Stack/styles.d.ts +12 -0
  162. package/dist/types/atoms/Stack/styles.d.ts.map +1 -0
  163. package/dist/types/atoms/Stat/index.d.ts +24 -0
  164. package/dist/types/atoms/Stat/index.d.ts.map +1 -0
  165. package/dist/types/atoms/Stat/styles.d.ts +19 -0
  166. package/dist/types/atoms/Stat/styles.d.ts.map +1 -0
  167. package/dist/types/atoms/StatusText/index.d.ts +17 -0
  168. package/dist/types/atoms/StatusText/index.d.ts.map +1 -0
  169. package/dist/types/atoms/StatusText/styles.d.ts +13 -0
  170. package/dist/types/atoms/StatusText/styles.d.ts.map +1 -0
  171. package/dist/types/atoms/Submit/index.d.ts +10 -0
  172. package/dist/types/atoms/Submit/index.d.ts.map +1 -0
  173. package/dist/types/atoms/SubtleText/index.d.ts +17 -0
  174. package/dist/types/atoms/SubtleText/index.d.ts.map +1 -0
  175. package/dist/types/atoms/SubtleText/styles.d.ts +12 -0
  176. package/dist/types/atoms/SubtleText/styles.d.ts.map +1 -0
  177. package/dist/types/atoms/Surface/index.d.ts +34 -0
  178. package/dist/types/atoms/Surface/index.d.ts.map +1 -0
  179. package/dist/types/atoms/Surface/styles.d.ts +27 -0
  180. package/dist/types/atoms/Surface/styles.d.ts.map +1 -0
  181. package/dist/types/atoms/Switch/index.d.ts +12 -0
  182. package/dist/types/atoms/Switch/index.d.ts.map +1 -0
  183. package/dist/types/atoms/Switch/styles.d.ts +31 -0
  184. package/dist/types/atoms/Switch/styles.d.ts.map +1 -0
  185. package/dist/types/atoms/Tabs/index.d.ts +18 -0
  186. package/dist/types/atoms/Tabs/index.d.ts.map +1 -0
  187. package/dist/types/atoms/Tabs/styles.d.ts +40 -0
  188. package/dist/types/atoms/Tabs/styles.d.ts.map +1 -0
  189. package/dist/types/atoms/TextCheckbox/index.d.ts +9 -0
  190. package/dist/types/atoms/TextCheckbox/index.d.ts.map +1 -0
  191. package/dist/types/atoms/TextLink/index.d.ts +22 -0
  192. package/dist/types/atoms/TextLink/index.d.ts.map +1 -0
  193. package/dist/types/atoms/TextLink/styles.d.ts +15 -0
  194. package/dist/types/atoms/TextLink/styles.d.ts.map +1 -0
  195. package/dist/types/atoms/Textarea/index.d.ts +19 -0
  196. package/dist/types/atoms/Textarea/index.d.ts.map +1 -0
  197. package/dist/types/atoms/Toggle/index.d.ts +16 -0
  198. package/dist/types/atoms/Toggle/index.d.ts.map +1 -0
  199. package/dist/types/atoms/Toggle/styles.d.ts +32 -0
  200. package/dist/types/atoms/Toggle/styles.d.ts.map +1 -0
  201. package/dist/types/atoms/Tooltip/index.d.ts +15 -0
  202. package/dist/types/atoms/Tooltip/index.d.ts.map +1 -0
  203. package/dist/types/atoms/Tooltip/styles.d.ts +24 -0
  204. package/dist/types/atoms/Tooltip/styles.d.ts.map +1 -0
  205. package/dist/types/atoms/Typography/index.d.ts +3 -0
  206. package/dist/types/atoms/Typography/index.d.ts.map +1 -0
  207. package/dist/types/atoms/Typography/styles.d.ts +72 -0
  208. package/dist/types/atoms/Typography/styles.d.ts.map +1 -0
  209. package/dist/types/atoms/Validation/index.d.ts +9 -0
  210. package/dist/types/atoms/Validation/index.d.ts.map +1 -0
  211. package/dist/types/atoms/Validation/styles.d.ts +23 -0
  212. package/dist/types/atoms/Validation/styles.d.ts.map +1 -0
  213. package/dist/types/atoms/WideImage/index.d.ts +26 -0
  214. package/dist/types/atoms/WideImage/index.d.ts.map +1 -0
  215. package/dist/types/molecules/Badge/index.d.ts +25 -0
  216. package/dist/types/molecules/Badge/index.d.ts.map +1 -0
  217. package/dist/types/molecules/Button/index.d.ts +31 -0
  218. package/dist/types/molecules/Button/index.d.ts.map +1 -0
  219. package/dist/types/molecules/Button/styles.d.ts +15 -0
  220. package/dist/types/molecules/Button/styles.d.ts.map +1 -0
  221. package/dist/types/molecules/Card/index.d.ts +16 -0
  222. package/dist/types/molecules/Card/index.d.ts.map +1 -0
  223. package/dist/types/molecules/Card/styles.d.ts +70 -0
  224. package/dist/types/molecules/Card/styles.d.ts.map +1 -0
  225. package/dist/types/molecules/Carousel/index.d.ts +13 -0
  226. package/dist/types/molecules/Carousel/index.d.ts.map +1 -0
  227. package/dist/types/molecules/Carousel/styles.d.ts +31 -0
  228. package/dist/types/molecules/Carousel/styles.d.ts.map +1 -0
  229. package/dist/types/molecules/Carousel/useIsMobile.d.ts +3 -0
  230. package/dist/types/molecules/Carousel/useIsMobile.d.ts.map +1 -0
  231. package/dist/types/molecules/CodeView/highlight.d.ts +11 -0
  232. package/dist/types/molecules/CodeView/highlight.d.ts.map +1 -0
  233. package/dist/types/molecules/CodeView/index.d.ts +58 -0
  234. package/dist/types/molecules/CodeView/index.d.ts.map +1 -0
  235. package/dist/types/molecules/CodeView/styles.d.ts +44 -0
  236. package/dist/types/molecules/CodeView/styles.d.ts.map +1 -0
  237. package/dist/types/molecules/CodeView/tokenizer.d.ts +21 -0
  238. package/dist/types/molecules/CodeView/tokenizer.d.ts.map +1 -0
  239. package/dist/types/molecules/DiffLegend/index.d.ts +20 -0
  240. package/dist/types/molecules/DiffLegend/index.d.ts.map +1 -0
  241. package/dist/types/molecules/DiffLegend/styles.d.ts +19 -0
  242. package/dist/types/molecules/DiffLegend/styles.d.ts.map +1 -0
  243. package/dist/types/molecules/FilterBar/index.d.ts +20 -0
  244. package/dist/types/molecules/FilterBar/index.d.ts.map +1 -0
  245. package/dist/types/molecules/FilterBar/styles.d.ts +15 -0
  246. package/dist/types/molecules/FilterBar/styles.d.ts.map +1 -0
  247. package/dist/types/molecules/HtmlEditor/index.d.ts +16 -0
  248. package/dist/types/molecules/HtmlEditor/index.d.ts.map +1 -0
  249. package/dist/types/molecules/HtmlEditor/styles.d.ts +12 -0
  250. package/dist/types/molecules/HtmlEditor/styles.d.ts.map +1 -0
  251. package/dist/types/molecules/NavTabs/index.d.ts +24 -0
  252. package/dist/types/molecules/NavTabs/index.d.ts.map +1 -0
  253. package/dist/types/molecules/NavTabs/styles.d.ts +15 -0
  254. package/dist/types/molecules/NavTabs/styles.d.ts.map +1 -0
  255. package/dist/types/molecules/PageHeader/index.d.ts +15 -0
  256. package/dist/types/molecules/PageHeader/index.d.ts.map +1 -0
  257. package/dist/types/molecules/PageHeader/styles.d.ts +13 -0
  258. package/dist/types/molecules/PageHeader/styles.d.ts.map +1 -0
  259. package/dist/types/molecules/ScorePanel/index.d.ts +70 -0
  260. package/dist/types/molecules/ScorePanel/index.d.ts.map +1 -0
  261. package/dist/types/molecules/ScorePanel/styles.d.ts +63 -0
  262. package/dist/types/molecules/ScorePanel/styles.d.ts.map +1 -0
  263. package/dist/types/molecules/ScorePills/index.d.ts +25 -0
  264. package/dist/types/molecules/ScorePills/index.d.ts.map +1 -0
  265. package/dist/types/molecules/ScorePills/styles.d.ts +8 -0
  266. package/dist/types/molecules/ScorePills/styles.d.ts.map +1 -0
  267. package/dist/types/molecules/SearchInput/index.d.ts +11 -0
  268. package/dist/types/molecules/SearchInput/index.d.ts.map +1 -0
  269. package/dist/types/molecules/SearchInput/styles.d.ts +24 -0
  270. package/dist/types/molecules/SearchInput/styles.d.ts.map +1 -0
  271. package/dist/types/molecules/Select/index.d.ts +18 -0
  272. package/dist/types/molecules/Select/index.d.ts.map +1 -0
  273. package/dist/types/molecules/Select/styles.d.ts +51 -0
  274. package/dist/types/molecules/Select/styles.d.ts.map +1 -0
  275. package/dist/types/molecules/SliderField/index.d.ts +26 -0
  276. package/dist/types/molecules/SliderField/index.d.ts.map +1 -0
  277. package/dist/types/molecules/SliderField/styles.d.ts +20 -0
  278. package/dist/types/molecules/SliderField/styles.d.ts.map +1 -0
  279. package/dist/types/molecules/StatGrid/index.d.ts +12 -0
  280. package/dist/types/molecules/StatGrid/index.d.ts.map +1 -0
  281. package/dist/types/molecules/StatGrid/styles.d.ts +9 -0
  282. package/dist/types/molecules/StatGrid/styles.d.ts.map +1 -0
  283. package/dist/types/molecules/StatusLabel/index.d.ts +51 -0
  284. package/dist/types/molecules/StatusLabel/index.d.ts.map +1 -0
  285. package/dist/types/molecules/StatusLabel/styles.d.ts +18 -0
  286. package/dist/types/molecules/StatusLabel/styles.d.ts.map +1 -0
  287. package/dist/types/molecules/Table/TableCels/BrandCell.d.ts +9 -0
  288. package/dist/types/molecules/Table/TableCels/BrandCell.d.ts.map +1 -0
  289. package/dist/types/molecules/Table/TableCels/ContentCell.d.ts +13 -0
  290. package/dist/types/molecules/Table/TableCels/ContentCell.d.ts.map +1 -0
  291. package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts +8 -0
  292. package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts.map +1 -0
  293. package/dist/types/molecules/Table/TableCels/StatusCell.d.ts +9 -0
  294. package/dist/types/molecules/Table/TableCels/StatusCell.d.ts.map +1 -0
  295. package/dist/types/molecules/Table/TableCels/TextCell.d.ts +9 -0
  296. package/dist/types/molecules/Table/TableCels/TextCell.d.ts.map +1 -0
  297. package/dist/types/molecules/Table/TableCels/index.d.ts +8 -0
  298. package/dist/types/molecules/Table/TableCels/index.d.ts.map +1 -0
  299. package/dist/types/molecules/Table/TableCels/styles.d.ts +52 -0
  300. package/dist/types/molecules/Table/TableCels/styles.d.ts.map +1 -0
  301. package/dist/types/molecules/Table/index.d.ts +38 -0
  302. package/dist/types/molecules/Table/index.d.ts.map +1 -0
  303. package/dist/types/molecules/Table/styles.d.ts +25 -0
  304. package/dist/types/molecules/Table/styles.d.ts.map +1 -0
  305. package/dist/types/molecules/TokenInputField/index.d.ts +15 -0
  306. package/dist/types/molecules/TokenInputField/index.d.ts.map +1 -0
  307. package/dist/types/molecules/TokenInputField/styles.d.ts +24 -0
  308. package/dist/types/molecules/TokenInputField/styles.d.ts.map +1 -0
  309. package/dist/types/shared/modals/index.d.ts +33 -0
  310. package/dist/types/shared/modals/index.d.ts.map +1 -0
  311. package/dist/types/shared/modals/styles.d.ts +52 -0
  312. package/dist/types/shared/modals/styles.d.ts.map +1 -0
  313. package/dist/types/shared/modals/useModal.d.ts +4 -0
  314. package/dist/types/shared/modals/useModal.d.ts.map +1 -0
  315. package/dist/types/shared/report-ui/DecisionPanel.d.ts +53 -0
  316. package/dist/types/shared/report-ui/DecisionPanel.d.ts.map +1 -0
  317. package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts +31 -0
  318. package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts.map +1 -0
  319. package/dist/types/shared/report-ui/Pagination.d.ts +13 -0
  320. package/dist/types/shared/report-ui/Pagination.d.ts.map +1 -0
  321. package/dist/types/shared/report-ui/Pagination.styles.d.ts +13 -0
  322. package/dist/types/shared/report-ui/Pagination.styles.d.ts.map +1 -0
  323. package/dist/types/shared/report-ui/Shell.styles.d.ts +26 -0
  324. package/dist/types/shared/report-ui/Shell.styles.d.ts.map +1 -0
  325. package/dist/types/shared/report-ui/index.d.ts +8 -0
  326. package/dist/types/shared/report-ui/index.d.ts.map +1 -0
  327. package/dist/types/shared/report-ui/ui.d.ts +30 -0
  328. package/dist/types/shared/report-ui/ui.d.ts.map +1 -0
  329. package/dist/types/shared/report-ui/ui.styles.d.ts +50 -0
  330. package/dist/types/shared/report-ui/ui.styles.d.ts.map +1 -0
  331. package/dist/types/shared/toasts/index.d.ts +23 -0
  332. package/dist/types/shared/toasts/index.d.ts.map +1 -0
  333. package/dist/types/shared/toasts/styles.d.ts +18 -0
  334. package/dist/types/shared/toasts/styles.d.ts.map +1 -0
  335. package/dist/types/textures/Cloud/index.d.ts +29 -0
  336. package/dist/types/textures/Cloud/index.d.ts.map +1 -0
  337. package/dist/types/textures/Paper/index.d.ts +8 -0
  338. package/dist/types/textures/Paper/index.d.ts.map +1 -0
  339. package/dist/types/textures/index.d.ts +4 -0
  340. package/dist/types/textures/index.d.ts.map +1 -0
  341. package/dist/typography.js +82 -0
  342. package/dist/validation.js +20 -0
  343. package/dist/wide-image.js +97 -0
  344. package/package.json +2100 -5
@@ -0,0 +1,58 @@
1
+ import React from "react";
2
+ import type { ReactNode } from "react";
3
+ import type { DefaultTheme } from "styled-components";
4
+ import type { StatusKeyOf } from "@md-code/styles";
5
+ /**
6
+ * One matched line range, RELATIVE to the snippet's first line (`from`/`to` are
7
+ * 0-based offsets into the lines the caller passed). `why` titles the tinted
8
+ * lines; when omitted it reads "matched".
9
+ */
10
+ export interface CodeViewMatch {
11
+ from: number;
12
+ to: number;
13
+ why?: string;
14
+ }
15
+ /** A consumer-supplied highlighter: `(code, lang) => html`. */
16
+ export type CodeHighlight = (code: string, lang: string) => string;
17
+ export interface CodeViewProps<TTheme extends DefaultTheme = DefaultTheme> {
18
+ /** The head caption. The head renders only when this is set (like CodePanel). */
19
+ title?: ReactNode;
20
+ /**
21
+ * Pre-highlighted HTML. WINS over `code`/`highlight` when provided, so a
22
+ * consumer that owns its grammar (a highlighter such as highlight.js) keeps full
23
+ * control of the code markup.
24
+ */
25
+ html?: string;
26
+ /** Raw source. Highlighted via `highlight`, else the default Prism highlighter. */
27
+ code?: string;
28
+ /** Language id passed to the highlighter (default `typescript`). */
29
+ lang?: string;
30
+ /** Optional highlighter; absent → the library's default Prism highlighter. */
31
+ highlight?: CodeHighlight;
32
+ /**
33
+ * Any key of the current theme's `colors.status` map (README §3.4/§3.4 zone
34
+ * chrome). Drives the ✓/✗ framing via that status pair.
35
+ */
36
+ tone?: StatusKeyOf<TTheme>;
37
+ /** A footer note under the code body. */
38
+ note?: ReactNode;
39
+ /** CSS `max-height` of the scrollable code body (default `320px`). */
40
+ max?: string;
41
+ /** An extra slot rendered after the note (badges, actions). */
42
+ mark?: ReactNode;
43
+ /** Line ranges to tint and title, relative to the snippet's first line. */
44
+ matched?: readonly CodeViewMatch[] | null;
45
+ }
46
+ /**
47
+ * The shared code-display surface (README §5.5/§6): a framed, optionally titled
48
+ * snippet with a scrollable monospace body, an optional note and mark slot, and
49
+ * tinted matched lines.
50
+ *
51
+ * It reads the NEAREST theme — it nests no provider of its own — so its colours
52
+ * follow the zone it is placed in (a dark zone stays dark). Render it inside a
53
+ * code zone (`codeEditor` for light standalone use, `codeBoard` for a board on a
54
+ * dark page) for the monospace text role; the palette otherwise comes from
55
+ * the surrounding theme.
56
+ */
57
+ export declare const CodeView: <TTheme extends DefaultTheme = DefaultTheme>({ title, html, code, lang, highlight, tone, note, max, mark, matched, }: CodeViewProps<TTheme>) => React.JSX.Element;
58
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/CodeView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,+DAA+D;AAC/D,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;AAEnE,MAAM,WAAW,aAAa,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY;IACxE,iFAAiF;IACjF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,yCAAyC;IACzC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sEAAsE;IACtE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,GAAG,IAAI,CAAC;CAC1C;AAaD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,SAAS,YAAY,GAAG,YAAY,EAAE,yEAWlE,aAAa,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,GAAG,CAAC,OAuDpC,CAAC"}
@@ -0,0 +1,44 @@
1
+ export interface FrameProps {
2
+ $border: string;
3
+ }
4
+ /** The frame: a bordered, rounded surface on the zone's `section` colour. The
5
+ * border ink is resolved by the component and handed in, so a zone-chrome key
6
+ * (`status.edge`) is never read straight from a styled template. */
7
+ export declare const Frame: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, FrameProps>> & string;
10
+ export interface HeadProps {
11
+ $bg: string;
12
+ $text: string;
13
+ $border: string;
14
+ }
15
+ /** The head caption: a status/neutral wash plus the theme's code text role. Its
16
+ * background, ink and hairline are resolved by the component. */
17
+ export declare const Head: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }, HeadProps>> & string;
20
+ /** The ✓/✗ glyph: the title weight of the theme in the tone's ink. */
21
+ export declare const Mark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
22
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
23
+ }, {
24
+ $color: string;
25
+ }>> & string;
26
+ /** The scrollable code body: monospace text role, a caller-bounded height and
27
+ * the caller's rhythm values (line-height, tab-size) as transient props. */
28
+ export declare const Body: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "style"> & {
29
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
30
+ }, {
31
+ $max: string;
32
+ $tabSize: number;
33
+ $lineHeight: string;
34
+ }>> & string;
35
+ export interface NoteProps {
36
+ $color: string;
37
+ $border: string;
38
+ }
39
+ /** The footer note: a dim ink above a dashed hairline, both resolved by the
40
+ * component. */
41
+ export declare const Note: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
42
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
43
+ }, NoteProps>> & string;
44
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/CodeView/styles.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IAC1B,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;qEAEqE;AACrE,eAAO,MAAM,KAAK;;wBAKjB,CAAC;AAEF,MAAM,WAAW,SAAS;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;kEACkE;AAClE,eAAO,MAAM,IAAI;;uBAUhB,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,IAAI;;;YAAyB,MAAM;YAG/C,CAAC;AAEF;6EAC6E;AAC7E,eAAO,MAAM,IAAI;;;UAAsB,MAAM;cAAY,MAAM;iBAAe,MAAM;YAenF,CAAC;AAEF,MAAM,WAAW,SAAS;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;iBACiB;AACjB,eAAO,MAAM,IAAI;;uBAKhB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import "prismjs/components/prism-javascript.js";
2
+ import "prismjs/components/prism-typescript.js";
3
+ import "prismjs/components/prism-jsx.js";
4
+ import "prismjs/components/prism-tsx.js";
5
+ import "prismjs/components/prism-json.js";
6
+ /** One piece of a highlighted line: its text and Prism's token class. */
7
+ export interface CodeToken {
8
+ readonly text: string;
9
+ readonly type: string;
10
+ }
11
+ /**
12
+ * Splits `text` into typed pieces with Prism's grammar for `lang`, falling back
13
+ * to the registered TypeScript grammar so unknown files still get tokens rather
14
+ * than an error. The returned `type` is Prism's class name (`keyword`, `string`,
15
+ * `class-name`, …); how a class is painted is the caller's decision, not this
16
+ * molecule's (README §3.4: a component never picks its own colour).
17
+ */
18
+ export declare const tokensOf: (text: string, lang: string) => readonly CodeToken[];
19
+ /** Curried form: `tokenize("code")` for a file already known to be written in `lang`. */
20
+ export declare const tokenizerFor: (lang: string) => (text: string) => readonly CodeToken[];
21
+ //# sourceMappingURL=tokenizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenizer.d.ts","sourceRoot":"","sources":["../../../../molecules/CodeView/tokenizer.ts"],"names":[],"mappings":"AASA,OAAO,wCAAwC,CAAC;AAChD,OAAO,wCAAwC,CAAC;AAChD,OAAO,iCAAiC,CAAC;AACzC,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAE1C,yEAAyE;AACzE,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB;AAmBD;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,SAAS,SAAS,EAqBvE,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,MAAM,MAAM,MAAM,KAAG,SAAS,SAAS,EAA0B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ export interface DiffLegendProps {
3
+ /** One square per entry: its status key, its sentence and the hover text. */
4
+ entries?: readonly {
5
+ key: string;
6
+ label: React.ReactNode;
7
+ status?: string;
8
+ title?: string;
9
+ }[];
10
+ /** The line the legend opens with — the page's own counts. */
11
+ children?: React.ReactNode;
12
+ }
13
+ /**
14
+ * The colour key under a page: one square per mark the page draws, each filled
15
+ * from the same status pair the mark itself reads, so a colour cannot be
16
+ * explained two different ways (README §3.4). The page supplies the sentences
17
+ * and the counts; this component only lines them up.
18
+ */
19
+ export declare const DiffLegend: ({ entries, children }: DiffLegendProps) => React.JSX.Element;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/DiffLegend/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAe;IAC/B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9F,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,uBAA4B,eAAe,sBAmBrE,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The legend line: entries wrap, the section rhythm separates it from the
3
+ * content, and a dashed hairline in the zone's edge chrome key marks it as a
4
+ * footnote rather than another section.
5
+ */
6
+ export declare const LegendLine: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
7
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }> & string;
9
+ /**
10
+ * One entry's swatch: a small square filled with the status's content ink, so
11
+ * the legend cannot disagree with the mark it explains (README §3.4: one status,
12
+ * one pair, every reader takes the same channel).
13
+ */
14
+ export declare const Swatch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
15
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
16
+ }, {
17
+ $status?: string;
18
+ }>> & string;
19
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/DiffLegend/styles.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,UAAU;;WAUtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;cAA2B,MAAM;YASnD,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ /** One line of the bar: the caption that names a control group, then its controls. */
3
+ export interface FilterBarRow {
4
+ /** The caption node — any label the screen already styles. */
5
+ label: React.ReactNode;
6
+ /** The controls of the line, in reading order (chips, a slider, a select…). */
7
+ controls: React.ReactNode;
8
+ }
9
+ export interface FilterBarProps {
10
+ /** The lines, top to bottom. */
11
+ rows: readonly FilterBarRow[];
12
+ }
13
+ /**
14
+ * The filter block of a screen: one wrapping line per control group, the caption
15
+ * first. It arranges and nothing else — a chip, a slider or a select decides its
16
+ * own paint, and the bar only gives each line the zone's gap and lets it wrap on
17
+ * a narrow panel.
18
+ */
19
+ export declare const FilterBar: ({ rows }: FilterBarProps) => React.JSX.Element;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/FilterBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,sFAAsF;AACtF,MAAM,WAAW,YAAY;IAC5B,8DAA8D;IAC9D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,+EAA+E;IAC/E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC9B,gCAAgC;IAChC,IAAI,EAAE,SAAS,YAAY,EAAE,CAAC;CAC9B;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,UAAU,cAAc,sBAYjD,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The filter block: a column of lines, one element gap apart. Layout only —
3
+ * the bar never paints; each control it holds carries its own surface and ink.
4
+ */
5
+ export declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
7
+ }> & string;
8
+ /**
9
+ * One line: caption and controls in a row that wraps when the panel is narrow,
10
+ * with the same gap the column uses between its lines.
11
+ */
12
+ export declare const FilterRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string;
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/FilterBar/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,GAAG;;WAIf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;WAKrB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ type THtmlEditorProps = {
3
+ initialValue: string;
4
+ fullHeight?: boolean;
5
+ } & ({
6
+ value?: string;
7
+ setValue?: (newValue: string) => void;
8
+ onSave?: never;
9
+ } | {
10
+ onSave: (value: string) => void;
11
+ value?: never;
12
+ setValue?: never;
13
+ });
14
+ declare const HtmlEditor: ({ initialValue, onSave, fullHeight, value: externalValue, setValue: externalSetValue, }: THtmlEditorProps) => React.JSX.Element;
15
+ export { HtmlEditor };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/HtmlEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,KAAK,gBAAgB,GAAG;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,CACD;IACA,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC;CACd,GACD;IACA,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;CAChB,CACH,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,yFAMjB,gBAAgB,sBA6ClB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The editor frame: a section surface with a visible border in the section
3
+ * content colour (wave decision В1), the theme's surface texture and its
4
+ * section shadow. The height is the form height unless the caller asks for
5
+ * full height.
6
+ */
7
+ export declare const CodeEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, {
10
+ $fullHeight?: boolean;
11
+ }>> & string;
12
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/HtmlEditor/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;kBAA8B,OAAO;YA+CpE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ /** One tab of the strip: where it goes and whether it is the current page. */
3
+ export interface NavTab {
4
+ /** Stable key of the tab. */
5
+ key: string;
6
+ label: React.ReactNode;
7
+ /** The tab's destination — the page decides how a route is written. */
8
+ href: string;
9
+ /** Whether this tab is the page on screen. */
10
+ active?: boolean;
11
+ }
12
+ export interface NavTabsProps {
13
+ tabs: readonly NavTab[];
14
+ }
15
+ /**
16
+ * The strip of page links under a header. It is not `atoms/Tabs`: that atom is a
17
+ * stateful in-page tab widget with panels and no href, while a paged screen
18
+ * navigates between pages by URL, so a strip of links is its own control (README §3.2).
19
+ *
20
+ * The active tab is computed by the page (the routing rule lives with the
21
+ * routes), so this component only draws the state it is given.
22
+ */
23
+ export declare const NavTabs: ({ tabs }: NavTabsProps) => React.JSX.Element;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/NavTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,8EAA8E;AAC9E,MAAM,WAAW,MAAM;IACtB,6BAA6B;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,YAAY,sBAe7C,CAAC"}
@@ -0,0 +1,15 @@
1
+ /** The strip under a header: tabs wrap, the section rhythm closes the block. */
2
+ export declare const TabStrip: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
3
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
4
+ }> & string;
5
+ /**
6
+ * One tab. The active tab takes the overlay fill, the section content ink and a
7
+ * highlighted border; an idle tab is transparent text in the dim chrome ink, and
8
+ * hovering it never underlines (it is navigation, not prose).
9
+ */
10
+ export declare const TabItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }, {
13
+ $active?: boolean;
14
+ }>> & string;
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/NavTabs/styles.ts"],"names":[],"mappings":"AAKA,gFAAgF;AAChF,eAAO,MAAM,QAAQ;;WAKpB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;cAAwB,OAAO;YAelD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ export interface PageHeaderProps {
3
+ /** The page title (the repository, the page's subject). */
4
+ title: React.ReactNode;
5
+ /** Anything that belongs on the title's baseline: chips, a run summary. */
6
+ aside?: React.ReactNode;
7
+ }
8
+ /**
9
+ * The line at the top of a page: its title and the facts beside it, on one
10
+ * baseline over a hairline. It owns the line, not the page frame — the padding a
11
+ * page puts around it is that page's own block (README §3.2: a component draws
12
+ * its own shape, its container draws the space around it).
13
+ */
14
+ export declare const PageHeader: ({ title, aside }: PageHeaderProps) => React.JSX.Element;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/PageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAe;IAC/B,2DAA2D;IAC3D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,kBAAkB,eAAe,sBAK3D,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The header line: the title and whatever the page puts beside it (a version
3
+ * chip, a run summary) on one baseline, closed by a hairline in the zone's edge
4
+ * chrome key and spaced by the section rhythm.
5
+ */
6
+ export declare const HeaderLine: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
7
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }> & string;
9
+ /** The page title: one step above the large size, in the zone's title role. */
10
+ export declare const HeaderTitle: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }> & string;
13
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/PageHeader/styles.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,UAAU;;WAStB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,WAAW;;WAKvB,CAAC"}
@@ -0,0 +1,70 @@
1
+ import React from "react";
2
+ /** One fact behind a part's score, drawn as a chip under its row. */
3
+ export interface ScoreFact {
4
+ /** Stable key of the fact (also the hover text). */
5
+ key: string;
6
+ label: React.ReactNode;
7
+ value: React.ReactNode;
8
+ }
9
+ /** One part of the score: its own value, the weight it carries and its share. */
10
+ export interface ScorePart {
11
+ /** Stable key of the part. */
12
+ key: string;
13
+ label: React.ReactNode;
14
+ /** A key of the zone's `colors.status` map painting the row. */
15
+ status?: string;
16
+ /** The compact name a pill shows (`sig`, `struct`); `label` when absent. */
17
+ short?: React.ReactNode;
18
+ /** What the part measures — the row's hover text. */
19
+ note?: string;
20
+ score: number;
21
+ weight: number;
22
+ contribution: number;
23
+ /** Whether a gate let this score through. */
24
+ applied?: boolean;
25
+ facts?: readonly ScoreFact[];
26
+ }
27
+ /** One sentence that explains the score; `status` marks a rejected reason. */
28
+ export interface ScoreNote {
29
+ text: React.ReactNode;
30
+ status?: string;
31
+ }
32
+ /** What to do about the score: an optional leading mark and one sentence. */
33
+ export interface ScoreAction {
34
+ /** The mark the sentence opens with (`Fix.`, a warning sign); the caller words it. */
35
+ mark?: React.ReactNode;
36
+ text: React.ReactNode;
37
+ }
38
+ export interface ScorePanelProps {
39
+ /** The panel's heading; the caller words its own title. */
40
+ heading?: string;
41
+ /** A key of the zone's `colors.status` map painting the panel's stripe. */
42
+ status?: string;
43
+ /** The final 0..1 value the parts add up to. */
44
+ value: number;
45
+ /** The thresholds the value is read against, printed as `label ≥ value`. */
46
+ thresholds?: readonly {
47
+ label: React.ReactNode;
48
+ value: number;
49
+ }[];
50
+ parts?: readonly ScorePart[];
51
+ notes?: readonly ScoreNote[];
52
+ /** The value's caption inside the chip: what the number is a reading of. */
53
+ valueLabel?: React.ReactNode;
54
+ action?: ScoreAction | null;
55
+ }
56
+ /**
57
+ * A computed score, drawn: one row per part with the score it gave, the weight
58
+ * it carries, its share of the final number and the facts behind it, then the
59
+ * sentences that explain the score and what to do about it.
60
+ *
61
+ * Every number arrives already computed (`value`, `score`, `weight`,
62
+ * `contribution`) — the panel formats, it never recomputes — and every colour is
63
+ * a key of the zone's status map, so the same panel works in any zone theme
64
+ * (README §3.4). The fact chips are this panel's own shape, so they live in its
65
+ * `styles.ts` rather than becoming an atom. The words — what the value is a
66
+ * reading of, what the heading says, what the action opens with — are the
67
+ * caller's, so the panel carries no vocabulary of its own.
68
+ */
69
+ export declare const ScorePanel: ({ heading, status, value, thresholds, parts, notes, valueLabel, action, }: ScorePanelProps) => React.JSX.Element;
70
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePanel/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACzB,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,iFAAiF;AACjF,MAAM,WAAW,SAAS;IACzB,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAED,8EAA8E;AAC9E,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,6EAA6E;AAC7E,MAAM,WAAW,WAAW;IAC3B,sFAAsF;IACtF,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC/B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS;QAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAClE,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,4EAA4E;IAC5E,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,GAAI,2EASxB,eAAe,sBAoEjB,CAAC"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * One part row: a fixed label column, the weight bar, the contribution number.
3
+ * Fixed at six section offsets / auto / eight large sizes so every row's track
4
+ * lines up whatever the labels say.
5
+ */
6
+ export declare const PartRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
7
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }> & string;
9
+ /** The bar's groove: a pill-shaped trough on the zone's overlay layer. */
10
+ export declare const Track: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }> & string;
13
+ /**
14
+ * The filled share of the bar; `$applied=false` dims it so a gate that did not
15
+ * fire reads differently from one that did (state, not colour — the ink is still
16
+ * the status's content channel).
17
+ */
18
+ export declare const Fill: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
20
+ }, {
21
+ $score: number;
22
+ $status?: string;
23
+ $applied?: boolean;
24
+ }>> & string;
25
+ /** The part's name in its status ink, one weight above body text. */
26
+ export declare const PartLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
27
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
28
+ }, {
29
+ $status?: string;
30
+ }>> & string;
31
+ /** A wrapped row of fact chips under a part row. */
32
+ export declare const FactRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
33
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
34
+ }> & string;
35
+ /**
36
+ * One fact chip: a monospace key/value pair on an overlay surface, so it reads
37
+ * as data rather than prose (the zone's `text` role is already monospace).
38
+ */
39
+ export declare const Fact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
40
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
41
+ }> & string;
42
+ /** The list of sentences explaining the score, indented like a quotation. */
43
+ export declare const NoteList: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
44
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
45
+ }> & string;
46
+ /**
47
+ * One sentence; with `$status` it takes that status's content ink, so the reason
48
+ * a high score was rejected stands out from ordinary facts.
49
+ */
50
+ export declare const Note: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
51
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
52
+ }, {
53
+ $status?: string;
54
+ }>> & string;
55
+ /** The leading mark of the action line, painted in the zone's ok ink. */
56
+ export declare const ActionMark: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
57
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
58
+ }> & string;
59
+ /** The action line under the notes: one step of rhythm above the list, one size up. */
60
+ export declare const ActionBlock: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
61
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
62
+ }> & string;
63
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePanel/styles.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,OAAO;;WAOnB,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,KAAK;;WAQjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;YAAwB,MAAM;cAAY,MAAM;eAAa,OAAO;YAOpF,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,SAAS;;;cAA2B,MAAM;YAItD,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,OAAO;;WAKnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;WAShB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,QAAQ;;WAKpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;;cAAyB,MAAM;YAM/C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,UAAU;;WAEtB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,WAAW;;WAGvB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ /** One part of a score, as the pill list needs it. */
3
+ export interface ScorePill {
4
+ /** Stable key of the part (the payload's own id). */
5
+ key: string;
6
+ /** Short name drawn inside the pill. */
7
+ label: React.ReactNode;
8
+ /** The part's 0..1 value, printed with two decimals. */
9
+ value: number;
10
+ /** A key of the zone's `colors.status` map painting the pill. */
11
+ status?: string;
12
+ /** The sentence a hover shows: what the part measured. */
13
+ title?: string;
14
+ }
15
+ export interface ScorePillsProps {
16
+ items?: readonly ScorePill[];
17
+ }
18
+ /**
19
+ * The compact form of a score: one pill per part, each showing the part's short
20
+ * name and its value. It is what a table row can afford, while
21
+ * `molecules/ScorePanel` is the full reading (README §3.2: the same control at
22
+ * two depths, one of them a parameter, not a copy).
23
+ */
24
+ export declare const ScorePills: ({ items }: ScorePillsProps) => React.JSX.Element;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePills/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,sDAAsD;AACtD,MAAM,WAAW,SAAS;IACzB,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC/B,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAKD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,WAAgB,eAAe,sBAazD,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The row the pills wrap in: a plain flex line with the inner gap, so the pills
3
+ * break between each other and never inside one.
4
+ */
5
+ export declare const PillsRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
7
+ }> & string;
8
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePills/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,QAAQ;;WAKpB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
3
+ export type TSearchInputProps = React.InputHTMLAttributes<HTMLInputElement> & {
4
+ name: string;
5
+ id?: string;
6
+ value?: string;
7
+ onChangeValue: (value?: string) => void;
8
+ } & TWithBasicElementOffsets & TFullWidth;
9
+ declare const SearchInput: ({ id, name, value, onChangeValue, $offsetBottom, $offsetRight, $fullWidth, ...props }: TSearchInputProps) => React.JSX.Element;
10
+ export { SearchInput };
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAI5E,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ,QAAA,MAAM,WAAW,GAAI,uFASlB,iBAAiB,sBAqCnB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { TWithBasicElementOffsets } from "@md-code/styles";
2
+ /** The search trigger button inherits the Button look without its own border. */
3
+ export declare const ButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@md-code/components/button").ButtonProps<import("styled-components").DefaultTheme>, "style"> & {
4
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
5
+ }> & string & Omit<(<TTheme extends import("styled-components").DefaultTheme = import("styled-components").DefaultTheme>({ icon, iconPosition, iconLeft, iconRight, text, isLoading, children, disabled, className, size, tone, weight, $fullWidth, ...props }: import("@md-code/components/button").ButtonProps<TTheme>) => import("react").JSX.Element), keyof import("react").Component<any, {}, any>>;
6
+ /** The magnifier icon, hidden while the field is open (the cross is shown). */
7
+ export declare const SearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons/lib").IconBaseProps, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }> & string & Omit<import("react-icons/lib").IconType, keyof import("react").Component<any, {}, any>>;
10
+ /** The close icon, shown only while the field is open. */
11
+ export declare const CrossIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons/lib").IconBaseProps, "style"> & {
12
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
13
+ }> & string & Omit<import("react-icons/lib").IconType, keyof import("react").Component<any, {}, any>>;
14
+ /**
15
+ * The search container: a section surface that expands to full width when
16
+ * open. It borrows the theme's texture, silhouette and section shadow; the
17
+ * open/closed width is the only thing the component decides itself.
18
+ */
19
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
20
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
21
+ }, TWithBasicElementOffsets & {
22
+ $isOpen: boolean;
23
+ }>> & string;
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/styles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,iFAAiF;AACjF,eAAO,MAAM,aAAa;;yYAEzB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,UAAU;;qGAMtB,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,SAAS;;qGAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;aAAoD,OAAO;YA0ChF,CAAC"}