@sondor-technology/sondor-components 1.0.9 → 1.0.10

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 (431) hide show
  1. package/dist/components/accordion/accordion.constants.d.ts +5 -0
  2. package/dist/components/accordion/accordion.constants.d.ts.map +1 -0
  3. package/dist/components/accordion/accordion.constants.js +3 -0
  4. package/dist/components/accordion/accordion.constants.js.map +1 -0
  5. package/dist/components/accordion/accordion.d.ts +29 -0
  6. package/dist/components/accordion/accordion.d.ts.map +1 -0
  7. package/dist/components/accordion/accordion.js +226 -0
  8. package/dist/components/accordion/accordion.js.map +1 -0
  9. package/dist/components/alert/alert.constants.d.ts +2 -0
  10. package/dist/components/alert/alert.constants.d.ts.map +1 -1
  11. package/dist/components/alert/alert.d.ts +50 -2
  12. package/dist/components/alert/alert.d.ts.map +1 -1
  13. package/dist/components/alert/alert.js +285 -16
  14. package/dist/components/alert/alert.js.map +1 -1
  15. package/dist/components/avatar/avatar.d.ts +20 -0
  16. package/dist/components/avatar/avatar.d.ts.map +1 -0
  17. package/dist/components/avatar/avatar.js +100 -0
  18. package/dist/components/avatar/avatar.js.map +1 -0
  19. package/dist/components/back-to-top/back-to-top.d.ts +29 -0
  20. package/dist/components/back-to-top/back-to-top.d.ts.map +1 -0
  21. package/dist/components/back-to-top/back-to-top.js +149 -0
  22. package/dist/components/back-to-top/back-to-top.js.map +1 -0
  23. package/dist/components/bar-chart/bar-chart.d.ts +42 -0
  24. package/dist/components/bar-chart/bar-chart.d.ts.map +1 -0
  25. package/dist/components/bar-chart/bar-chart.js +298 -0
  26. package/dist/components/bar-chart/bar-chart.js.map +1 -0
  27. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  28. package/dist/components/button/button.d.ts +1 -0
  29. package/dist/components/button/button.d.ts.map +1 -1
  30. package/dist/components/button/button.js +8 -8
  31. package/dist/components/button/button.js.map +1 -1
  32. package/dist/components/button-group/button-group.js +4 -4
  33. package/dist/components/calendar/calendar.d.ts.map +1 -1
  34. package/dist/components/calendar/calendar.js +11 -9
  35. package/dist/components/calendar/calendar.js.map +1 -1
  36. package/dist/components/chart/chart-base.d.ts +59 -0
  37. package/dist/components/chart/chart-base.d.ts.map +1 -0
  38. package/dist/components/chart/chart-base.js +261 -0
  39. package/dist/components/chart/chart-base.js.map +1 -0
  40. package/dist/components/chart/chart.utils.d.ts +27 -0
  41. package/dist/components/chart/chart.utils.d.ts.map +1 -0
  42. package/dist/components/chart/chart.utils.js +117 -0
  43. package/dist/components/chart/chart.utils.js.map +1 -0
  44. package/dist/components/code-block/code-block.d.ts +5 -0
  45. package/dist/components/code-block/code-block.d.ts.map +1 -1
  46. package/dist/components/code-block/code-block.js +34 -24
  47. package/dist/components/code-block/code-block.js.map +1 -1
  48. package/dist/components/consent/consent.d.ts +63 -0
  49. package/dist/components/consent/consent.d.ts.map +1 -0
  50. package/dist/components/consent/consent.js +327 -0
  51. package/dist/components/consent/consent.js.map +1 -0
  52. package/dist/components/consent/consent.utils.d.ts +36 -0
  53. package/dist/components/consent/consent.utils.d.ts.map +1 -0
  54. package/dist/components/consent/consent.utils.js +82 -0
  55. package/dist/components/consent/consent.utils.js.map +1 -0
  56. package/dist/components/contact/contact.d.ts +22 -0
  57. package/dist/components/contact/contact.d.ts.map +1 -0
  58. package/dist/components/contact/contact.js +83 -0
  59. package/dist/components/contact/contact.js.map +1 -0
  60. package/dist/components/container/container.d.ts +20 -0
  61. package/dist/components/container/container.d.ts.map +1 -0
  62. package/dist/components/container/container.js +68 -0
  63. package/dist/components/container/container.js.map +1 -0
  64. package/dist/components/content-card/content-card.js +4 -4
  65. package/dist/components/context-menu/context-menu.d.ts +89 -0
  66. package/dist/components/context-menu/context-menu.d.ts.map +1 -0
  67. package/dist/components/context-menu/context-menu.js +414 -0
  68. package/dist/components/context-menu/context-menu.js.map +1 -0
  69. package/dist/components/cron-builder/cron-builder.d.ts.map +1 -1
  70. package/dist/components/cron-builder/cron-builder.js +13 -11
  71. package/dist/components/cron-builder/cron-builder.js.map +1 -1
  72. package/dist/components/cta/cta.d.ts +20 -0
  73. package/dist/components/cta/cta.d.ts.map +1 -0
  74. package/dist/components/cta/cta.js +64 -0
  75. package/dist/components/cta/cta.js.map +1 -0
  76. package/dist/components/drawer/drawer.js +6 -6
  77. package/dist/components/faq/faq-item.d.ts +22 -0
  78. package/dist/components/faq/faq-item.d.ts.map +1 -0
  79. package/dist/components/faq/faq-item.js +117 -0
  80. package/dist/components/faq/faq-item.js.map +1 -0
  81. package/dist/components/faq/faq.d.ts +18 -0
  82. package/dist/components/faq/faq.d.ts.map +1 -0
  83. package/dist/components/faq/faq.js +38 -0
  84. package/dist/components/faq/faq.js.map +1 -0
  85. package/dist/components/feature-grid/feature-grid.d.ts +22 -0
  86. package/dist/components/feature-grid/feature-grid.d.ts.map +1 -0
  87. package/dist/components/feature-grid/feature-grid.js +55 -0
  88. package/dist/components/feature-grid/feature-grid.js.map +1 -0
  89. package/dist/components/feature-grid/feature.d.ts +18 -0
  90. package/dist/components/feature-grid/feature.d.ts.map +1 -0
  91. package/dist/components/feature-grid/feature.js +91 -0
  92. package/dist/components/feature-grid/feature.js.map +1 -0
  93. package/dist/components/field/field.js +2 -2
  94. package/dist/components/footer/footer.js +4 -4
  95. package/dist/components/form/form-reset.d.ts +7 -0
  96. package/dist/components/form/form-reset.d.ts.map +1 -0
  97. package/dist/components/form/form-reset.js +47 -0
  98. package/dist/components/form/form-reset.js.map +1 -0
  99. package/dist/components/form/form.d.ts +5 -0
  100. package/dist/components/form/form.d.ts.map +1 -1
  101. package/dist/components/form/form.js +17 -3
  102. package/dist/components/form/form.js.map +1 -1
  103. package/dist/components/grid/grid.d.ts +5 -0
  104. package/dist/components/grid/grid.d.ts.map +1 -1
  105. package/dist/components/grid/grid.js +86 -4
  106. package/dist/components/grid/grid.js.map +1 -1
  107. package/dist/components/heat-map/heat-map.d.ts +39 -0
  108. package/dist/components/heat-map/heat-map.d.ts.map +1 -0
  109. package/dist/components/heat-map/heat-map.js +306 -0
  110. package/dist/components/heat-map/heat-map.js.map +1 -0
  111. package/dist/components/hero/hero.d.ts +26 -0
  112. package/dist/components/hero/hero.d.ts.map +1 -0
  113. package/dist/components/hero/hero.js +132 -0
  114. package/dist/components/hero/hero.js.map +1 -0
  115. package/dist/components/icon/icon-paths.d.ts +84 -0
  116. package/dist/components/icon/icon-paths.d.ts.map +1 -1
  117. package/dist/components/icon/icon-paths.js +89 -0
  118. package/dist/components/icon/icon-paths.js.map +1 -1
  119. package/dist/components/icon/icon.d.ts +2 -0
  120. package/dist/components/icon/icon.d.ts.map +1 -1
  121. package/dist/components/icon/icon.js +10 -1
  122. package/dist/components/icon/icon.js.map +1 -1
  123. package/dist/components/image/image.d.ts +31 -0
  124. package/dist/components/image/image.d.ts.map +1 -0
  125. package/dist/components/image/image.js +179 -0
  126. package/dist/components/image/image.js.map +1 -0
  127. package/dist/components/input/input.js +4 -4
  128. package/dist/components/lazy/lazy.d.ts +34 -0
  129. package/dist/components/lazy/lazy.d.ts.map +1 -0
  130. package/dist/components/lazy/lazy.js +104 -0
  131. package/dist/components/lazy/lazy.js.map +1 -0
  132. package/dist/components/line-chart/line-chart.d.ts +37 -0
  133. package/dist/components/line-chart/line-chart.d.ts.map +1 -0
  134. package/dist/components/line-chart/line-chart.js +271 -0
  135. package/dist/components/line-chart/line-chart.js.map +1 -0
  136. package/dist/components/list/list-item.d.ts +45 -0
  137. package/dist/components/list/list-item.d.ts.map +1 -0
  138. package/dist/components/list/list-item.js +263 -0
  139. package/dist/components/list/list-item.js.map +1 -0
  140. package/dist/components/list/list.d.ts +50 -0
  141. package/dist/components/list/list.d.ts.map +1 -0
  142. package/dist/components/list/list.js +161 -0
  143. package/dist/components/list/list.js.map +1 -0
  144. package/dist/components/logo-cloud/logo-cloud.d.ts +19 -0
  145. package/dist/components/logo-cloud/logo-cloud.d.ts.map +1 -0
  146. package/dist/components/logo-cloud/logo-cloud.js +66 -0
  147. package/dist/components/logo-cloud/logo-cloud.js.map +1 -0
  148. package/dist/components/modal/modal.d.ts +12 -0
  149. package/dist/components/modal/modal.d.ts.map +1 -1
  150. package/dist/components/modal/modal.js +40 -11
  151. package/dist/components/modal/modal.js.map +1 -1
  152. package/dist/components/page-layout/page-layout.js +8 -8
  153. package/dist/components/pagination/pagination.d.ts +15 -0
  154. package/dist/components/pagination/pagination.d.ts.map +1 -0
  155. package/dist/components/pagination/pagination.js +126 -0
  156. package/dist/components/pagination/pagination.js.map +1 -0
  157. package/dist/components/pagination/pagination.utils.d.ts +3 -0
  158. package/dist/components/pagination/pagination.utils.d.ts.map +1 -0
  159. package/dist/components/pagination/pagination.utils.js +19 -0
  160. package/dist/components/pagination/pagination.utils.js.map +1 -0
  161. package/dist/components/pie-chart/pie-chart.d.ts +33 -0
  162. package/dist/components/pie-chart/pie-chart.d.ts.map +1 -0
  163. package/dist/components/pie-chart/pie-chart.js +233 -0
  164. package/dist/components/pie-chart/pie-chart.js.map +1 -0
  165. package/dist/components/pin-input/pin-input.js +4 -4
  166. package/dist/components/popover/popover.d.ts.map +1 -1
  167. package/dist/components/popover/popover.js +1 -3
  168. package/dist/components/popover/popover.js.map +1 -1
  169. package/dist/components/post-list/post-card.d.ts +16 -0
  170. package/dist/components/post-list/post-card.d.ts.map +1 -0
  171. package/dist/components/post-list/post-card.js +22 -0
  172. package/dist/components/post-list/post-card.js.map +1 -0
  173. package/dist/components/post-list/post-list.d.ts +17 -0
  174. package/dist/components/post-list/post-list.d.ts.map +1 -0
  175. package/dist/components/post-list/post-list.js +23 -0
  176. package/dist/components/post-list/post-list.js.map +1 -0
  177. package/dist/components/pricing/pricing-tier.d.ts +23 -0
  178. package/dist/components/pricing/pricing-tier.d.ts.map +1 -0
  179. package/dist/components/pricing/pricing-tier.js +144 -0
  180. package/dist/components/pricing/pricing-tier.js.map +1 -0
  181. package/dist/components/pricing/pricing.d.ts +18 -0
  182. package/dist/components/pricing/pricing.d.ts.map +1 -0
  183. package/dist/components/pricing/pricing.js +38 -0
  184. package/dist/components/pricing/pricing.js.map +1 -0
  185. package/dist/components/progress/progress.d.ts +17 -0
  186. package/dist/components/progress/progress.d.ts.map +1 -0
  187. package/dist/components/progress/progress.js +109 -0
  188. package/dist/components/progress/progress.js.map +1 -0
  189. package/dist/components/project-grid/project-card.d.ts +17 -0
  190. package/dist/components/project-grid/project-card.d.ts.map +1 -0
  191. package/dist/components/project-grid/project-card.js +23 -0
  192. package/dist/components/project-grid/project-card.js.map +1 -0
  193. package/dist/components/project-grid/project-grid.d.ts +17 -0
  194. package/dist/components/project-grid/project-grid.d.ts.map +1 -0
  195. package/dist/components/project-grid/project-grid.js +23 -0
  196. package/dist/components/project-grid/project-grid.js.map +1 -0
  197. package/dist/components/radio/radio.js +1 -1
  198. package/dist/components/reveal/reveal.constants.d.ts +10 -0
  199. package/dist/components/reveal/reveal.constants.d.ts.map +1 -0
  200. package/dist/components/reveal/reveal.constants.js +11 -0
  201. package/dist/components/reveal/reveal.constants.js.map +1 -0
  202. package/dist/components/reveal/reveal.d.ts +64 -0
  203. package/dist/components/reveal/reveal.d.ts.map +1 -0
  204. package/dist/components/reveal/reveal.js +352 -0
  205. package/dist/components/reveal/reveal.js.map +1 -0
  206. package/dist/components/scroll-progress/scroll-progress.d.ts +32 -0
  207. package/dist/components/scroll-progress/scroll-progress.d.ts.map +1 -0
  208. package/dist/components/scroll-progress/scroll-progress.js +120 -0
  209. package/dist/components/scroll-progress/scroll-progress.js.map +1 -0
  210. package/dist/components/section/card-row.d.ts +30 -0
  211. package/dist/components/section/card-row.d.ts.map +1 -0
  212. package/dist/components/section/card-row.js +174 -0
  213. package/dist/components/section/card-row.js.map +1 -0
  214. package/dist/components/section/card.d.ts +27 -0
  215. package/dist/components/section/card.d.ts.map +1 -0
  216. package/dist/components/section/card.js +205 -0
  217. package/dist/components/section/card.js.map +1 -0
  218. package/dist/components/section/row-item.d.ts +22 -0
  219. package/dist/components/section/row-item.d.ts.map +1 -0
  220. package/dist/components/section/row-item.js +53 -0
  221. package/dist/components/section/row-item.js.map +1 -0
  222. package/dist/components/section/section.d.ts +70 -0
  223. package/dist/components/section/section.d.ts.map +1 -0
  224. package/dist/components/section/section.js +240 -0
  225. package/dist/components/section/section.js.map +1 -0
  226. package/dist/components/select/select.js +3 -3
  227. package/dist/components/series-nav/series-nav.d.ts +29 -0
  228. package/dist/components/series-nav/series-nav.d.ts.map +1 -0
  229. package/dist/components/series-nav/series-nav.js +178 -0
  230. package/dist/components/series-nav/series-nav.js.map +1 -0
  231. package/dist/components/site-header/site-header.d.ts +51 -0
  232. package/dist/components/site-header/site-header.d.ts.map +1 -0
  233. package/dist/components/site-header/site-header.js +296 -0
  234. package/dist/components/site-header/site-header.js.map +1 -0
  235. package/dist/components/skeleton/skeleton.js +7 -7
  236. package/dist/components/sparkline/sparkline.d.ts +19 -0
  237. package/dist/components/sparkline/sparkline.d.ts.map +1 -0
  238. package/dist/components/sparkline/sparkline.js +99 -0
  239. package/dist/components/sparkline/sparkline.js.map +1 -0
  240. package/dist/components/spinner/spinner.d.ts +13 -0
  241. package/dist/components/spinner/spinner.d.ts.map +1 -0
  242. package/dist/components/spinner/spinner.js +65 -0
  243. package/dist/components/spinner/spinner.js.map +1 -0
  244. package/dist/components/split/split.d.ts +23 -0
  245. package/dist/components/split/split.d.ts.map +1 -0
  246. package/dist/components/split/split.js +104 -0
  247. package/dist/components/split/split.js.map +1 -0
  248. package/dist/components/stack/stack.d.ts +21 -0
  249. package/dist/components/stack/stack.d.ts.map +1 -0
  250. package/dist/components/stack/stack.js +102 -0
  251. package/dist/components/stack/stack.js.map +1 -0
  252. package/dist/components/stat-card/stat-card.d.ts +35 -0
  253. package/dist/components/stat-card/stat-card.d.ts.map +1 -0
  254. package/dist/components/stat-card/stat-card.js +199 -0
  255. package/dist/components/stat-card/stat-card.js.map +1 -0
  256. package/dist/components/stats/stat.d.ts +16 -0
  257. package/dist/components/stats/stat.d.ts.map +1 -0
  258. package/dist/components/stats/stat.js +51 -0
  259. package/dist/components/stats/stat.js.map +1 -0
  260. package/dist/components/stats/stats.d.ts +19 -0
  261. package/dist/components/stats/stats.d.ts.map +1 -0
  262. package/dist/components/stats/stats.js +45 -0
  263. package/dist/components/stats/stats.js.map +1 -0
  264. package/dist/components/switch/switch.js +2 -2
  265. package/dist/components/table/data-table.d.ts +115 -27
  266. package/dist/components/table/data-table.d.ts.map +1 -1
  267. package/dist/components/table/data-table.js +1012 -411
  268. package/dist/components/table/data-table.js.map +1 -1
  269. package/dist/components/table/data-table.utils.d.ts +81 -0
  270. package/dist/components/table/data-table.utils.d.ts.map +1 -0
  271. package/dist/components/table/data-table.utils.js +208 -0
  272. package/dist/components/table/data-table.utils.js.map +1 -0
  273. package/dist/components/table/table.d.ts +28 -0
  274. package/dist/components/table/table.d.ts.map +1 -1
  275. package/dist/components/table/table.js +161 -33
  276. package/dist/components/table/table.js.map +1 -1
  277. package/dist/components/team/person.d.ts +19 -0
  278. package/dist/components/team/person.d.ts.map +1 -0
  279. package/dist/components/team/person.js +123 -0
  280. package/dist/components/team/person.js.map +1 -0
  281. package/dist/components/team/team.d.ts +18 -0
  282. package/dist/components/team/team.d.ts.map +1 -0
  283. package/dist/components/team/team.js +36 -0
  284. package/dist/components/team/team.js.map +1 -0
  285. package/dist/components/testimonials/testimonial.d.ts +18 -0
  286. package/dist/components/testimonials/testimonial.d.ts.map +1 -0
  287. package/dist/components/testimonials/testimonial.js +115 -0
  288. package/dist/components/testimonials/testimonial.js.map +1 -0
  289. package/dist/components/testimonials/testimonials.d.ts +18 -0
  290. package/dist/components/testimonials/testimonials.d.ts.map +1 -0
  291. package/dist/components/testimonials/testimonials.js +36 -0
  292. package/dist/components/testimonials/testimonials.js.map +1 -0
  293. package/dist/components/textarea/textarea.js +3 -3
  294. package/dist/components/theme-toggle/theme-toggle.js +1 -1
  295. package/dist/components/time-picker/time-picker.js +3 -3
  296. package/dist/components/timeline/timeline-item.d.ts +18 -0
  297. package/dist/components/timeline/timeline-item.d.ts.map +1 -0
  298. package/dist/components/timeline/timeline-item.js +102 -0
  299. package/dist/components/timeline/timeline-item.js.map +1 -0
  300. package/dist/components/timeline/timeline.d.ts +18 -0
  301. package/dist/components/timeline/timeline.d.ts.map +1 -0
  302. package/dist/components/timeline/timeline.js +30 -0
  303. package/dist/components/timeline/timeline.js.map +1 -0
  304. package/dist/components/toast/toast.d.ts +33 -0
  305. package/dist/components/toast/toast.d.ts.map +1 -0
  306. package/dist/components/toast/toast.js +147 -0
  307. package/dist/components/toast/toast.js.map +1 -0
  308. package/dist/components/toggle-group/toggle-button.d.ts +2 -0
  309. package/dist/components/toggle-group/toggle-button.d.ts.map +1 -1
  310. package/dist/components/toggle-group/toggle-button.js +12 -4
  311. package/dist/components/toggle-group/toggle-button.js.map +1 -1
  312. package/dist/components/toggle-group/toggle-group.js +4 -4
  313. package/dist/components/tooltip/tooltip.js +21 -21
  314. package/dist/components/vertical-nav/vertical-nav-group.js +3 -3
  315. package/dist/components/vertical-nav/vertical-nav-item.js +4 -4
  316. package/dist/components/video-embed/video-embed.d.ts +37 -0
  317. package/dist/components/video-embed/video-embed.d.ts.map +1 -0
  318. package/dist/components/video-embed/video-embed.js +183 -0
  319. package/dist/components/video-embed/video-embed.js.map +1 -0
  320. package/dist/index.d.ts +107 -0
  321. package/dist/index.d.ts.map +1 -0
  322. package/dist/index.js +104 -0
  323. package/dist/index.js.map +1 -0
  324. package/dist/styles/index.css +205 -2
  325. package/dist/styles/reset.d.ts.map +1 -1
  326. package/dist/styles/reset.js +5 -0
  327. package/dist/styles/reset.js.map +1 -1
  328. package/package.json +210 -7
  329. package/src/components/accordion/accordion.constants.ts +5 -0
  330. package/src/components/accordion/accordion.ts +209 -0
  331. package/src/components/alert/alert.constants.ts +3 -0
  332. package/src/components/alert/alert.ts +284 -17
  333. package/src/components/avatar/avatar.ts +84 -0
  334. package/src/components/back-to-top/back-to-top.ts +140 -0
  335. package/src/components/bar-chart/bar-chart.ts +295 -0
  336. package/src/components/breadcrumb/breadcrumb.ts +2 -2
  337. package/src/components/button/button.ts +9 -8
  338. package/src/components/button-group/button-group.ts +4 -4
  339. package/src/components/calendar/calendar.ts +12 -9
  340. package/src/components/chart/chart-base.ts +275 -0
  341. package/src/components/chart/chart.utils.ts +140 -0
  342. package/src/components/code-block/code-block.ts +35 -24
  343. package/src/components/consent/consent.ts +312 -0
  344. package/src/components/consent/consent.utils.ts +110 -0
  345. package/src/components/contact/contact.ts +83 -0
  346. package/src/components/container/container.ts +60 -0
  347. package/src/components/content-card/content-card.ts +4 -4
  348. package/src/components/context-menu/context-menu.ts +426 -0
  349. package/src/components/cron-builder/cron-builder.ts +21 -18
  350. package/src/components/cta/cta.ts +64 -0
  351. package/src/components/drawer/drawer.ts +6 -6
  352. package/src/components/faq/faq-item.ts +110 -0
  353. package/src/components/faq/faq.ts +40 -0
  354. package/src/components/feature-grid/feature-grid.ts +52 -0
  355. package/src/components/feature-grid/feature.ts +84 -0
  356. package/src/components/field/field.ts +2 -2
  357. package/src/components/footer/footer.ts +4 -4
  358. package/src/components/form/form-reset.ts +45 -0
  359. package/src/components/form/form.ts +17 -3
  360. package/src/components/grid/grid.ts +73 -4
  361. package/src/components/heat-map/heat-map.ts +292 -0
  362. package/src/components/hero/hero.ts +132 -0
  363. package/src/components/icon/icon-paths.ts +92 -1
  364. package/src/components/icon/icon.ts +8 -1
  365. package/src/components/image/image.ts +165 -0
  366. package/src/components/input/input.ts +4 -4
  367. package/src/components/lazy/lazy.ts +94 -0
  368. package/src/components/line-chart/line-chart.ts +271 -0
  369. package/src/components/list/list-item.ts +225 -0
  370. package/src/components/list/list.ts +157 -0
  371. package/src/components/logo-cloud/logo-cloud.ts +65 -0
  372. package/src/components/modal/modal.ts +37 -11
  373. package/src/components/page-layout/page-layout.ts +8 -8
  374. package/src/components/pagination/pagination.ts +120 -0
  375. package/src/components/pagination/pagination.utils.ts +14 -0
  376. package/src/components/pie-chart/pie-chart.ts +230 -0
  377. package/src/components/pin-input/pin-input.ts +4 -4
  378. package/src/components/popover/popover.ts +1 -3
  379. package/src/components/post-list/post-card.ts +18 -0
  380. package/src/components/post-list/post-list.ts +19 -0
  381. package/src/components/pricing/pricing-tier.ts +132 -0
  382. package/src/components/pricing/pricing.ts +39 -0
  383. package/src/components/progress/progress.ts +95 -0
  384. package/src/components/project-grid/project-card.ts +19 -0
  385. package/src/components/project-grid/project-grid.ts +19 -0
  386. package/src/components/radio/radio.ts +1 -1
  387. package/src/components/reveal/reveal.constants.ts +20 -0
  388. package/src/components/reveal/reveal.ts +344 -0
  389. package/src/components/scroll-progress/scroll-progress.ts +119 -0
  390. package/src/components/section/card-row.ts +152 -0
  391. package/src/components/section/card.ts +197 -0
  392. package/src/components/section/row-item.ts +38 -0
  393. package/src/components/section/section.ts +232 -0
  394. package/src/components/select/select.ts +3 -3
  395. package/src/components/series-nav/series-nav.ts +164 -0
  396. package/src/components/site-header/site-header.ts +276 -0
  397. package/src/components/skeleton/skeleton.ts +7 -7
  398. package/src/components/sparkline/sparkline.ts +83 -0
  399. package/src/components/spinner/spinner.ts +55 -0
  400. package/src/components/split/split.ts +106 -0
  401. package/src/components/stack/stack.ts +88 -0
  402. package/src/components/stat-card/stat-card.ts +179 -0
  403. package/src/components/stats/stat.ts +49 -0
  404. package/src/components/stats/stats.ts +47 -0
  405. package/src/components/switch/switch.ts +2 -2
  406. package/src/components/table/data-table.ts +1015 -425
  407. package/src/components/table/data-table.utils.ts +276 -0
  408. package/src/components/table/table.ts +168 -38
  409. package/src/components/team/person.ts +113 -0
  410. package/src/components/team/team.ts +37 -0
  411. package/src/components/testimonials/testimonial.ts +108 -0
  412. package/src/components/testimonials/testimonials.ts +37 -0
  413. package/src/components/textarea/textarea.ts +3 -3
  414. package/src/components/theme-toggle/theme-toggle.ts +1 -1
  415. package/src/components/time-picker/time-picker.ts +3 -3
  416. package/src/components/timeline/timeline-item.ts +100 -0
  417. package/src/components/timeline/timeline.ts +31 -0
  418. package/src/components/toast/toast.ts +153 -0
  419. package/src/components/toggle-group/toggle-button.ts +9 -4
  420. package/src/components/toggle-group/toggle-group.ts +4 -4
  421. package/src/components/tooltip/tooltip.ts +21 -21
  422. package/src/components/vertical-nav/vertical-nav-group.ts +3 -3
  423. package/src/components/vertical-nav/vertical-nav-item.ts +4 -4
  424. package/src/components/video-embed/video-embed.ts +162 -0
  425. package/src/index.ts +108 -0
  426. package/src/styles/globals.css +63 -0
  427. package/src/styles/index.css +3 -1
  428. package/src/styles/prose.css +154 -0
  429. package/src/styles/reset.ts +5 -0
  430. package/src/styles/theme.css +53 -1
  431. package/src/styles/typography.css +1 -0
@@ -22,13 +22,13 @@ export class StNavGroup extends LitElement {
22
22
  button {
23
23
  display: flex;
24
24
  align-items: center;
25
- gap: var(--st-spacing-sm, 8px);
25
+ gap: var(--st-spacing-sm);
26
26
  width: 100%;
27
27
  box-sizing: border-box;
28
28
  background: transparent;
29
29
  border: none;
30
30
  padding: var(--st-spacing-sm) var(--st-spacing-xl);
31
- padding-left: calc(var(--st-spacing-xl, 24px) + (var(--nav-depth, 0) * 16px));
31
+ padding-left: calc(var(--st-spacing-xl) + (var(--nav-depth, 0) * 16px));
32
32
  color: var(--st-color-text);
33
33
  font-size: var(--st-font-size-sm);
34
34
  font-weight: var(--st-font-weight-semibold);
@@ -39,7 +39,7 @@ export class StNavGroup extends LitElement {
39
39
  }
40
40
 
41
41
  button:hover {
42
- background-color: var(--st-color-surface-hover, rgba(0, 0, 0, 0.03));
42
+ background-color: var(--st-color-surface-hover);
43
43
  }
44
44
 
45
45
  button:focus-visible {
@@ -19,11 +19,11 @@ export class StNavItem extends LitElement {
19
19
  a {
20
20
  display: flex;
21
21
  align-items: center;
22
- gap: var(--st-spacing-sm, 8px);
22
+ gap: var(--st-spacing-sm);
23
23
  width: 100%;
24
24
  box-sizing: border-box;
25
25
  padding: 8px var(--st-spacing-xl);
26
- padding-left: calc(var(--st-spacing-xl, 24px) + (var(--nav-depth, 0) * 16px));
26
+ padding-left: calc(var(--st-spacing-xl) + (var(--nav-depth, 0) * 16px));
27
27
  color: var(--st-color-text-muted);
28
28
  font-size: var(--st-font-size-sm);
29
29
  text-decoration: none;
@@ -37,7 +37,7 @@ export class StNavItem extends LitElement {
37
37
 
38
38
  a:hover {
39
39
  color: var(--st-color-text);
40
- background-color: var(--st-color-surface-hover, rgba(0, 0, 0, 0.03));
40
+ background-color: var(--st-color-surface-hover);
41
41
  }
42
42
 
43
43
  a:focus-visible {
@@ -56,7 +56,7 @@ export class StNavItem extends LitElement {
56
56
  color: var(--st-color-primary);
57
57
  border-left-color: var(--st-color-primary);
58
58
  font-weight: var(--st-font-weight-bold);
59
- background-color: var(--st-color-primary-light, rgba(98, 0, 238, 0.05));
59
+ background-color: var(--st-color-primary-light);
60
60
  }
61
61
  `,
62
62
  ];
@@ -0,0 +1,162 @@
1
+ import {LitElement, html, css, PropertyValues} from "lit";
2
+ import {customElement, property} from "lit/decorators.js";
3
+ import {resetStyles} from "../../styles/reset.js";
4
+
5
+ const ID_PATTERN = /^[\w-]+$/;
6
+
7
+ /**
8
+ * Shows a poster and a play button, and only loads the video player (an iframe, which is heavy
9
+ * and sets third-party cookies) once someone presses play. Pages stay fast and visitors are not
10
+ * tracked before they choose to watch.
11
+ *
12
+ * Give it a `youtube` or `vimeo` id, or an `https` embed address in `src`. Slot your own poster
13
+ * as `<img slot="poster" alt="">`: no third-party request is made until play is pressed.
14
+ *
15
+ * Events: `st-play` (bubbles, composed) when the player is loaded.
16
+ */
17
+ @customElement("st-video-embed")
18
+ export class StVideoEmbed extends LitElement {
19
+ /** A YouTube video id. Uses the privacy-enhanced youtube-nocookie.com player. */
20
+ @property({type: String}) youtube = "";
21
+ /** A Vimeo video id. Asks Vimeo not to track the viewer. */
22
+ @property({type: String}) vimeo = "";
23
+ /** Any other player, as an https embed address. */
24
+ @property({type: String}) src = "";
25
+ /** Name of the video. Used for the play button and the player's accessible title. */
26
+ @property({type: String}) label = "Video";
27
+ @property({type: String}) ratio = "16/9";
28
+ /** True once the player has been loaded. Setting it to true loads the player. */
29
+ @property({type: Boolean, reflect: true}) playing = false;
30
+
31
+ static styles = [
32
+ resetStyles,
33
+ css`
34
+ :host {
35
+ display: block;
36
+ position: relative;
37
+ overflow: hidden;
38
+ aspect-ratio: var(--_ratio, 16 / 9);
39
+ background: var(--st-color-surface-muted);
40
+ border-radius: var(--st-image-radius, var(--st-radius-md));
41
+ }
42
+
43
+ .facade {
44
+ position: relative;
45
+ display: grid;
46
+ place-items: center;
47
+ width: 100%;
48
+ height: 100%;
49
+ padding: 0;
50
+ border: 0;
51
+ background: none;
52
+ cursor: pointer;
53
+ }
54
+
55
+ ::slotted([slot="poster"]) {
56
+ position: absolute;
57
+ inset: 0;
58
+ width: 100%;
59
+ height: 100%;
60
+ object-fit: cover;
61
+ }
62
+
63
+ .play {
64
+ position: relative;
65
+ display: grid;
66
+ place-items: center;
67
+ width: 4.5rem;
68
+ height: 4.5rem;
69
+ border-radius: 50%;
70
+ background: var(--st-color-primary);
71
+ color: var(--st-color-on-primary);
72
+ box-shadow: var(--st-shadow-lg);
73
+ transition: transform 0.2s ease;
74
+ }
75
+
76
+ .play svg {
77
+ width: 1.75rem;
78
+ height: 1.75rem;
79
+ margin-left: 0.2rem;
80
+ fill: currentColor;
81
+ }
82
+
83
+ .facade:hover .play {
84
+ transform: scale(1.08);
85
+ }
86
+
87
+ .facade:focus-visible {
88
+ outline: 3px solid var(--st-color-primary);
89
+ outline-offset: -3px;
90
+ }
91
+
92
+ iframe {
93
+ width: 100%;
94
+ height: 100%;
95
+ border: 0;
96
+ }
97
+
98
+ @media (prefers-reduced-motion: reduce) {
99
+ .play {
100
+ transition: none;
101
+ }
102
+ }
103
+ `,
104
+ ];
105
+
106
+ /** The player address, or an empty string when nothing valid was given. */
107
+ private get _playerUrl(): string {
108
+ if (this.youtube && ID_PATTERN.test(this.youtube)) {
109
+ return `https://www.youtube-nocookie.com/embed/${this.youtube}?autoplay=1&rel=0`;
110
+ }
111
+ if (this.vimeo && ID_PATTERN.test(this.vimeo)) {
112
+ return `https://player.vimeo.com/video/${this.vimeo}?autoplay=1&dnt=1`;
113
+ }
114
+ try {
115
+ const url = new URL(this.src); // no base: relative addresses must be rejected
116
+ return this.src && url.protocol === "https:" ? url.href : "";
117
+ } catch {
118
+ return "";
119
+ }
120
+ }
121
+
122
+ /** Loads the player. */
123
+ play() {
124
+ if (!this._playerUrl || this.playing) return;
125
+ this.playing = true;
126
+ }
127
+
128
+ protected updated(changed: PropertyValues<this>) {
129
+ if (this.ratio) this.style.setProperty("--_ratio", this.ratio);
130
+ if (changed.has("playing") && changed.get("playing") === false && this.playing) {
131
+ this.dispatchEvent(new CustomEvent("st-play", {bubbles: true, composed: true}));
132
+ this.renderRoot.querySelector("iframe")?.focus();
133
+ }
134
+ }
135
+
136
+ render() {
137
+ const url = this._playerUrl;
138
+ if (this.playing && url) {
139
+ return html`<iframe
140
+ src=${url}
141
+ title=${this.label}
142
+ allow="autoplay; encrypted-media; picture-in-picture; fullscreen"
143
+ allowfullscreen
144
+ referrerpolicy="strict-origin-when-cross-origin"
145
+ ></iframe>`;
146
+ }
147
+ return html`
148
+ <button class="facade" type="button" ?disabled=${!url} aria-label=${`Play video: ${this.label}`} @click=${this.play}>
149
+ <slot name="poster"></slot>
150
+ <span class="play" aria-hidden="true">
151
+ <svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z"></path></svg>
152
+ </span>
153
+ </button>
154
+ `;
155
+ }
156
+ }
157
+
158
+ declare global {
159
+ interface HTMLElementTagNameMap {
160
+ "st-video-embed": StVideoEmbed;
161
+ }
162
+ }
package/src/index.ts ADDED
@@ -0,0 +1,108 @@
1
+ // Barrel: registers every custom element. Prefer subpath imports for smaller bundles.
2
+ import "./components/accordion/accordion.js";
3
+ import "./components/alert/alert.js";
4
+ import "./components/avatar/avatar.js";
5
+ import "./components/badge/badge.js";
6
+ import "./components/breadcrumb/breadcrumb.js";
7
+ import "./components/button/button.js";
8
+ import "./components/button-group/button-group.js";
9
+ import "./components/calendar/calendar.js";
10
+ import "./components/checkbox/checkbox.js";
11
+ import "./components/code-block/code-block.js";
12
+ import "./components/content-card/content-card.js";
13
+ import "./components/cron-builder/cron-builder.js";
14
+ import "./components/divider/divider.js";
15
+ import "./components/drawer/drawer.js";
16
+ import "./components/field/field.js";
17
+ import "./components/footer/footer.js";
18
+ import "./components/form/form-step.js";
19
+ import "./components/form/form.js";
20
+ import "./components/grid/grid-row.js";
21
+ import "./components/grid/grid.js";
22
+ import "./components/icon/icon.js";
23
+ import "./components/input/input.js";
24
+ import "./components/link/link.js";
25
+ import "./components/metadata/metadata.js";
26
+ import "./components/modal/modal.js";
27
+ import "./components/page-layout/page-layout.js";
28
+ import "./components/pagination/pagination.js";
29
+ import "./components/pin-input/pin-input.js";
30
+ import "./components/popover/popover.js";
31
+ import "./components/progress/progress.js";
32
+ import "./components/radio/radio.js";
33
+ import "./components/radio-group/radio-group.js";
34
+ import "./components/router/router.js";
35
+ import "./components/select/select.js";
36
+ import "./components/skeleton/skeleton.js";
37
+ import "./components/spinner/spinner.js";
38
+ import "./components/switch/switch.js";
39
+ import "./components/table/data-table.js";
40
+ import "./components/table/table.js";
41
+ import "./components/tabs/tab-panel.js";
42
+ import "./components/tabs/tab.js";
43
+ import "./components/tabs/tabs.js";
44
+ import "./components/textarea/textarea.js";
45
+ import "./components/theme-toggle/theme-toggle.js";
46
+ import "./components/time-picker/time-picker.js";
47
+ import "./components/toast/toast.js";
48
+ import "./components/toggle-group/toggle-button.js";
49
+ import "./components/toggle-group/toggle-group.js";
50
+ import "./components/tooltip/tooltip.js";
51
+ import "./components/vertical-nav/vertical-nav-group.js";
52
+ import "./components/vertical-nav/vertical-nav-item.js";
53
+ import "./components/line-chart/line-chart.js";
54
+ import "./components/bar-chart/bar-chart.js";
55
+ import "./components/pie-chart/pie-chart.js";
56
+ import "./components/heat-map/heat-map.js";
57
+ import "./components/sparkline/sparkline.js";
58
+ import "./components/stat-card/stat-card.js";
59
+ import "./components/list/list.js";
60
+ import "./components/list/list-item.js";
61
+ import "./components/context-menu/context-menu.js";
62
+ import "./components/reveal/reveal.js";
63
+ import "./components/lazy/lazy.js";
64
+ import "./components/image/image.js";
65
+ import "./components/video-embed/video-embed.js";
66
+ import "./components/container/container.js";
67
+ import "./components/section/section.js";
68
+ import "./components/stack/stack.js";
69
+ import "./components/scroll-progress/scroll-progress.js";
70
+ import "./components/back-to-top/back-to-top.js";
71
+ import "./components/consent/consent.js";
72
+ import "./components/site-header/site-header.js";
73
+ import "./components/hero/hero.js";
74
+ import "./components/feature-grid/feature-grid.js";
75
+ import "./components/feature-grid/feature.js";
76
+ import "./components/split/split.js";
77
+ import "./components/cta/cta.js";
78
+ import "./components/stats/stats.js";
79
+ import "./components/stats/stat.js";
80
+ import "./components/timeline/timeline.js";
81
+ import "./components/timeline/timeline-item.js";
82
+ import "./components/testimonials/testimonials.js";
83
+ import "./components/testimonials/testimonial.js";
84
+ import "./components/faq/faq.js";
85
+ import "./components/faq/faq-item.js";
86
+ import "./components/logo-cloud/logo-cloud.js";
87
+ import "./components/pricing/pricing.js";
88
+ import "./components/pricing/pricing-tier.js";
89
+ import "./components/team/team.js";
90
+ import "./components/team/person.js";
91
+ import "./components/contact/contact.js";
92
+ import "./components/post-list/post-list.js";
93
+ import "./components/post-list/post-card.js";
94
+ import "./components/project-grid/project-grid.js";
95
+ import "./components/project-grid/project-card.js";
96
+ import "./components/series-nav/series-nav.js";
97
+
98
+ export * from "./components/consent/consent.utils.js";
99
+ export {resetFormState} from "./components/form/form-reset.js";
100
+ export {iconPaths, type IconName} from "./components/icon/icon-paths.js";
101
+ export {showToast, type ToastVariant} from "./components/toast/toast.js";
102
+ export {buildPages} from "./components/pagination/pagination.utils.js";
103
+ export * from "./components/chart/chart.utils.js";
104
+ export type {ChartSeries} from "./components/chart/chart-base.js";
105
+ export type {ListItemData} from "./components/list/list.js";
106
+ export type {TableColumn} from "./components/table/table.js";
107
+ export type {MenuItem} from "./components/context-menu/context-menu.js";
108
+ export * from "./components/table/data-table.utils.js";
@@ -70,6 +70,12 @@
70
70
  --st-blue-800: #1e40af;
71
71
  --st-blue-900: #1e3a8a;
72
72
 
73
+ /* Chart-only hues */
74
+ --st-teal-400: #2dd4bf;
75
+ --st-teal-600: #0d9488;
76
+ --st-pink-400: #f472b6;
77
+ --st-pink-600: #db2777;
78
+
73
79
  /* ==========================================================
74
80
  Global Spacing Scale
75
81
  ========================================================== */
@@ -78,4 +84,61 @@
78
84
  --st-spacing-md: 1rem;
79
85
  --st-spacing-lg: 1.5rem;
80
86
  --st-spacing-xl: 2rem;
87
+ --st-spacing-2xl: 3rem;
88
+ --st-spacing-3xl: 4rem;
89
+
90
+ /* ==========================================================
91
+ Page layout (containers and sections)
92
+ ========================================================== */
93
+ --st-container-sm: 40rem;
94
+ --st-container-md: 56rem;
95
+ --st-container-lg: 72rem;
96
+ --st-container-xl: 90rem;
97
+ --st-gutter: clamp(1rem, 4vw, 2rem);
98
+ --st-section-space-sm: clamp(1.5rem, 4vw, 3rem);
99
+ --st-section-space-md: clamp(3rem, 8vw, 6rem);
100
+ --st-section-space-lg: clamp(4rem, 12vw, 9rem);
101
+
102
+ /* ==========================================================
103
+ Motion (used by st-reveal)
104
+ ========================================================== */
105
+ --st-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
106
+ --st-duration-reveal: 600ms;
107
+
108
+ --st-gray-300: #d4d4d8;
109
+ --st-gray-500: #71717a;
110
+
111
+ /* ==========================================================
112
+ Radius Scale
113
+ ========================================================== */
114
+ --st-radius-sm: 0.375rem;
115
+ --st-radius-md: 0.5rem;
116
+ --st-radius-lg: 0.75rem;
117
+
118
+ /* ==========================================================
119
+ Elevation (shadows) and overlays
120
+ ========================================================== */
121
+ --st-shadow-sm: 0 1px 3px rgb(0 0 0 / 0.1);
122
+ --st-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
123
+ --st-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
124
+ --st-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
125
+ --st-shadow-drawer: 0 4px 24px rgb(0 0 0 / 0.15);
126
+ --st-shadow-inset: inset 0 3px 5px rgb(0 0 0 / 0.2);
127
+ --st-color-overlay: rgb(0 0 0 / 0.5);
128
+
129
+ /* ==========================================================
130
+ Code block palette (always dark, independent of theme)
131
+ ========================================================== */
132
+ --st-code-bg: #161b22;
133
+ --st-code-header-bg: #0d1117;
134
+ --st-code-border: #30363d;
135
+ --st-code-text: #c9d1d9;
136
+ --st-code-muted: #8b949e;
137
+ --st-code-accent: #79c0ff;
138
+ --st-code-hover: rgb(255 255 255 / 0.1);
139
+ --st-code-success: #3fb950;
140
+ --st-code-string: #a5d6ff;
141
+ --st-code-keyword: #ff7b72;
142
+ --st-code-function: #d2a8ff;
143
+ --st-code-number: #ffa657;
81
144
  }
@@ -1,6 +1,7 @@
1
1
  @import "./globals.css";
2
2
  @import "./typography.css";
3
3
  @import "./theme.css";
4
+ @import "./prose.css";
4
5
 
5
6
  /* Hide custom elements before they are initialized */
6
7
  :not(:defined) {
@@ -26,7 +27,8 @@ h3,
26
27
  h4,
27
28
  h5,
28
29
  h6 {
29
- color: var(--st-color-text);
30
+ /* Inherit so headings placed on a coloured background (an accent row) stay readable. */
31
+ color: inherit;
30
32
  font-weight: var(--st-font-weight-bold);
31
33
  line-height: var(--st-line-height-tight);
32
34
  margin-top: 0;
@@ -0,0 +1,154 @@
1
+ /*
2
+ * Article typography. Add the `st-prose` class to a wrapper around long-form content (blog posts,
3
+ * legal pages, rendered Markdown) and every heading, paragraph, list, quote, table and image
4
+ * inside it is styled, with no classes needed on the content itself.
5
+ *
6
+ * <article class="st-prose">...</article>
7
+ *
8
+ * Tune it with --st-prose-width (line length) and --st-prose-scroll-offset (space reserved for a
9
+ * sticky header when jumping to a heading).
10
+ */
11
+ .st-prose {
12
+ max-width: var(--st-prose-width, 70ch);
13
+ color: var(--st-color-text);
14
+ font-size: var(--st-font-size-lg);
15
+ line-height: 1.75;
16
+ overflow-wrap: break-word;
17
+ }
18
+
19
+ .st-prose > :first-child {
20
+ margin-top: 0;
21
+ }
22
+
23
+ .st-prose > :last-child {
24
+ margin-bottom: 0;
25
+ }
26
+
27
+ .st-prose :is(h1, h2, h3, h4, h5, h6) {
28
+ margin-top: var(--st-spacing-2xl);
29
+ margin-bottom: var(--st-spacing-md);
30
+ scroll-margin-top: var(--st-prose-scroll-offset, var(--st-site-header-height, var(--st-spacing-xl)));
31
+ text-wrap: balance;
32
+ }
33
+
34
+ .st-prose :is(h2, h3, h4) + :is(h2, h3, h4) {
35
+ margin-top: var(--st-spacing-lg);
36
+ }
37
+
38
+ .st-prose :is(p, ul, ol, blockquote, pre, table, figure, hr, dl) {
39
+ margin-top: 0;
40
+ margin-bottom: var(--st-spacing-lg);
41
+ }
42
+
43
+ .st-prose a {
44
+ text-decoration: underline;
45
+ text-underline-offset: 0.2em;
46
+ }
47
+
48
+ .st-prose :is(ul, ol) {
49
+ padding-left: var(--st-spacing-xl);
50
+ }
51
+
52
+ .st-prose ul {
53
+ list-style: disc;
54
+ }
55
+
56
+ .st-prose ol {
57
+ list-style: decimal;
58
+ }
59
+
60
+ .st-prose li {
61
+ margin-bottom: var(--st-spacing-sm);
62
+ }
63
+
64
+ .st-prose li::marker {
65
+ color: var(--st-color-text-muted);
66
+ }
67
+
68
+ .st-prose li > :is(ul, ol) {
69
+ margin-top: var(--st-spacing-sm);
70
+ margin-bottom: 0;
71
+ }
72
+
73
+ .st-prose blockquote {
74
+ padding: var(--st-spacing-xs) 0 var(--st-spacing-xs) var(--st-spacing-lg);
75
+ border-left: 4px solid var(--st-color-primary);
76
+ color: var(--st-color-text-muted);
77
+ font-style: italic;
78
+ }
79
+
80
+ .st-prose blockquote > :last-child {
81
+ margin-bottom: 0;
82
+ }
83
+
84
+ .st-prose pre {
85
+ overflow-x: auto;
86
+ padding: var(--st-spacing-md);
87
+ border-radius: var(--st-radius-md);
88
+ background: var(--st-code-bg, var(--st-color-surface));
89
+ color: var(--st-code-text, var(--st-color-text));
90
+ font-size: var(--st-font-size-sm);
91
+ line-height: 1.6;
92
+ }
93
+
94
+ .st-prose pre code {
95
+ padding: 0;
96
+ background: none;
97
+ font-size: inherit;
98
+ }
99
+
100
+ .st-prose img,
101
+ .st-prose video {
102
+ max-width: 100%;
103
+ height: auto;
104
+ border-radius: var(--st-radius-md);
105
+ }
106
+
107
+ .st-prose figcaption {
108
+ margin-top: var(--st-spacing-sm);
109
+ color: var(--st-color-text-muted);
110
+ font-size: var(--st-font-size-sm);
111
+ text-align: center;
112
+ }
113
+
114
+ .st-prose hr {
115
+ border: 0;
116
+ border-top: 1px solid var(--st-color-border);
117
+ }
118
+
119
+ .st-prose table {
120
+ display: block;
121
+ overflow-x: auto;
122
+ width: 100%;
123
+ border-collapse: collapse;
124
+ font-size: var(--st-font-size-base);
125
+ }
126
+
127
+ .st-prose :is(th, td) {
128
+ padding: var(--st-spacing-sm) var(--st-spacing-md);
129
+ border-bottom: 1px solid var(--st-color-border);
130
+ text-align: left;
131
+ }
132
+
133
+ .st-prose th {
134
+ font-weight: var(--st-font-weight-bold);
135
+ }
136
+
137
+ .st-prose :is(kbd, mark) {
138
+ padding: 0.1em 0.4em;
139
+ border-radius: var(--st-radius-sm);
140
+ }
141
+
142
+ .st-prose kbd {
143
+ border: 1px solid var(--st-color-border);
144
+ background: var(--st-color-surface);
145
+ font-family: var(--st-font-family-mono);
146
+ font-size: 0.85em;
147
+ }
148
+
149
+ @media print {
150
+ .st-prose {
151
+ max-width: none;
152
+ font-size: 11pt;
153
+ }
154
+ }
@@ -9,6 +9,11 @@ export const resetStyles = css`
9
9
  box-sizing: border-box;
10
10
  }
11
11
 
12
+ /* A component's own display value must not defeat the native hidden attribute */
13
+ :host([hidden]) {
14
+ display: none !important;
15
+ }
16
+
12
17
  /* 2. Prevent mobile tap highlights and set base behavior */
13
18
  :host {
14
19
  -webkit-tap-highlight-color: transparent;
@@ -30,6 +30,33 @@
30
30
  --st-color-info-bg: var(--st-blue-100);
31
31
 
32
32
  --st-hover-brightness: 0.9;
33
+
34
+ /* Categorical chart palette */
35
+ --st-chart-1: var(--st-purple-600);
36
+ --st-chart-2: var(--st-blue-600);
37
+ --st-chart-3: var(--st-green-600);
38
+ --st-chart-4: var(--st-amber-600);
39
+ --st-chart-5: var(--st-red-600);
40
+ --st-chart-6: var(--st-teal-600);
41
+ --st-chart-7: var(--st-pink-600);
42
+ --st-chart-8: var(--st-gray-500);
43
+
44
+ --st-color-primary-hover: var(--st-purple-800);
45
+ --st-color-primary-light: var(--st-color-primary-bg);
46
+ --st-color-primary-muted: color-mix(in srgb, var(--st-color-primary) 25%, transparent);
47
+ --st-color-primary-dark: color-mix(in srgb, var(--st-color-primary), black 20%);
48
+ --st-color-secondary: var(--st-color-text-muted);
49
+ --st-color-danger: var(--st-color-error);
50
+
51
+ /* Text drawn on top of solid semantic backgrounds */
52
+ --st-color-on-primary: var(--st-white);
53
+ --st-color-on-success: var(--st-white);
54
+ --st-color-on-warning: var(--st-white);
55
+ --st-color-on-info: var(--st-white);
56
+ --st-color-on-danger: var(--st-white);
57
+
58
+ --st-color-bg-rgb: 255 255 255;
59
+ --st-color-scroll-shadow: rgb(0 0 0 / 0.15);
33
60
  }
34
61
 
35
62
  /* ==========================================================
@@ -65,6 +92,31 @@
65
92
 
66
93
  --st-hover-brightness: 1.3;
67
94
 
95
+ /* Categorical chart palette */
96
+ --st-chart-1: var(--st-purple-400);
97
+ --st-chart-2: var(--st-blue-400);
98
+ --st-chart-3: var(--st-green-400);
99
+ --st-chart-4: var(--st-amber-400);
100
+ --st-chart-5: var(--st-red-400);
101
+ --st-chart-6: var(--st-teal-400);
102
+ --st-chart-7: var(--st-pink-400);
103
+ --st-chart-8: var(--st-gray-300);
104
+
105
+ --st-color-primary-hover: var(--st-purple-200);
106
+ --st-color-primary-light: var(--st-color-primary-bg);
107
+ --st-color-primary-muted: color-mix(in srgb, var(--st-color-primary) 25%, transparent);
108
+ --st-color-primary-dark: color-mix(in srgb, var(--st-color-primary), black 20%);
109
+ --st-color-secondary: var(--st-color-text-muted);
110
+ --st-color-danger: var(--st-color-error);
111
+
112
+ --st-color-on-primary: var(--st-gray-900);
113
+ --st-color-on-success: var(--st-gray-900);
114
+ --st-color-on-warning: var(--st-gray-900);
115
+ --st-color-on-info: var(--st-gray-900);
116
+ --st-color-on-danger: var(--st-gray-900);
117
+
118
+ --st-color-bg-rgb: 24 24 27;
119
+
68
120
  --st-icon-filter: invert(1);
69
- --st-color-scroll-shadow: rgba(0, 0, 0, 0.6);
121
+ --st-color-scroll-shadow: rgb(0 0 0 / 0.6);
70
122
  }
@@ -6,6 +6,7 @@
6
6
  /* Font Weights */
7
7
  --st-font-weight-regular: 400;
8
8
  --st-font-weight-medium: 500;
9
+ --st-font-weight-semibold: 600;
9
10
  --st-font-weight-bold: 700;
10
11
 
11
12
  /* Font Sizes (Scale) - Assuming a 16px browser base */