@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
@@ -0,0 +1,37 @@
1
+ import {html, css} from "lit";
2
+ import {customElement} from "lit/decorators.js";
3
+ import {StSection} from "../section/section.js";
4
+ import "./person.js";
5
+
6
+ /**
7
+ * A row introducing the people behind a company, as `st-person` cards in a grid that wraps on
8
+ * narrow screens.
9
+ *
10
+ * Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-person` items.
11
+ */
12
+ @customElement("st-team")
13
+ export class StTeam extends StSection {
14
+ static styles = [
15
+ ...StSection.styles,
16
+ css`
17
+ .items {
18
+ display: grid;
19
+ gap: var(--st-spacing-2xl) var(--st-spacing-lg);
20
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
21
+ }
22
+ `,
23
+ ];
24
+
25
+ render() {
26
+ return this.frame(
27
+ html`<div class="items"><slot @slotchange=${this._onItemsChange}></slot></div>`,
28
+ {animated: false},
29
+ );
30
+ }
31
+ }
32
+
33
+ declare global {
34
+ interface HTMLElementTagNameMap {
35
+ "st-team": StTeam;
36
+ }
37
+ }
@@ -0,0 +1,108 @@
1
+ import {html, css} from "lit";
2
+ import {customElement, state} from "lit/decorators.js";
3
+ import {resetStyles} from "../../styles/reset.js";
4
+ import {StRowItem} from "../section/row-item.js";
5
+
6
+ /**
7
+ * One customer quote inside `st-testimonials`.
8
+ *
9
+ * Slots: the default slot (the quote), `author` (their name), `role` (their job and company) and
10
+ * `avatar` (a small photo or `st-avatar`).
11
+ */
12
+ @customElement("st-testimonial")
13
+ export class StTestimonial extends StRowItem {
14
+ @state() private _hasAvatar = false;
15
+
16
+ static styles = [
17
+ resetStyles,
18
+ css`
19
+ :host {
20
+ display: block;
21
+ }
22
+
23
+ figure {
24
+ display: grid;
25
+ align-content: space-between;
26
+ gap: var(--st-spacing-lg);
27
+ height: 100%;
28
+ margin: 0;
29
+ padding: var(--st-spacing-lg);
30
+ border: 1px solid var(--st-color-border);
31
+ border-radius: var(--st-radius-md);
32
+ background: var(--st-row-card-bg, var(--st-color-surface));
33
+ }
34
+
35
+ blockquote {
36
+ margin: 0;
37
+ font-size: var(--st-font-size-lg);
38
+ line-height: 1.6;
39
+ }
40
+
41
+ blockquote ::slotted(*) {
42
+ margin: 0;
43
+ }
44
+
45
+ figcaption {
46
+ display: flex;
47
+ align-items: center;
48
+ gap: var(--st-spacing-md);
49
+ }
50
+
51
+ .avatar {
52
+ display: inline-flex;
53
+ flex-shrink: 0;
54
+ overflow: hidden;
55
+ width: 3rem;
56
+ height: 3rem;
57
+ border-radius: 50%;
58
+ }
59
+
60
+ .avatar[hidden] {
61
+ display: none;
62
+ }
63
+
64
+ .avatar ::slotted(img) {
65
+ width: 100%;
66
+ height: 100%;
67
+ object-fit: cover;
68
+ }
69
+
70
+ ::slotted([slot="author"]) {
71
+ display: block;
72
+ font-weight: var(--st-font-weight-bold);
73
+ }
74
+
75
+ ::slotted([slot="role"]) {
76
+ display: block;
77
+ color: var(--st-color-text-muted);
78
+ font-size: var(--st-font-size-sm);
79
+ }
80
+ `,
81
+ ];
82
+
83
+ render() {
84
+ return this.frame(html`
85
+ <figure>
86
+ <blockquote><slot></slot></blockquote>
87
+ <figcaption>
88
+ <span class="avatar" ?hidden=${!this._hasAvatar}>
89
+ <slot
90
+ name="avatar"
91
+ @slotchange=${(e: Event) => (this._hasAvatar = (e.target as HTMLSlotElement).assignedNodes().length > 0)}
92
+ ></slot>
93
+ </span>
94
+ <span>
95
+ <slot name="author"></slot>
96
+ <slot name="role"></slot>
97
+ </span>
98
+ </figcaption>
99
+ </figure>
100
+ `);
101
+ }
102
+ }
103
+
104
+ declare global {
105
+ interface HTMLElementTagNameMap {
106
+ "st-testimonial": StTestimonial;
107
+ }
108
+ }
@@ -0,0 +1,37 @@
1
+ import {html, css} from "lit";
2
+ import {customElement} from "lit/decorators.js";
3
+ import {StSection} from "../section/section.js";
4
+ import "./testimonial.js";
5
+
6
+ /**
7
+ * A row of customer quotes as `st-testimonial` cards. They sit in columns that wrap on narrow
8
+ * screens.
9
+ *
10
+ * Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-testimonial` items.
11
+ */
12
+ @customElement("st-testimonials")
13
+ export class StTestimonials extends StSection {
14
+ static styles = [
15
+ ...StSection.styles,
16
+ css`
17
+ .items {
18
+ display: grid;
19
+ gap: var(--st-spacing-lg);
20
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
21
+ }
22
+ `,
23
+ ];
24
+
25
+ render() {
26
+ return this.frame(
27
+ html`<div class="items"><slot @slotchange=${this._onItemsChange}></slot></div>`,
28
+ {animated: false},
29
+ );
30
+ }
31
+ }
32
+
33
+ declare global {
34
+ interface HTMLElementTagNameMap {
35
+ "st-testimonials": StTestimonials;
36
+ }
37
+ }
@@ -122,15 +122,15 @@ export class StTextarea extends LitElement {
122
122
 
123
123
  /* Validation States */
124
124
  :host([invalid]) textarea {
125
- border-color: var(--st-color-error, #dc2626);
125
+ border-color: var(--st-color-error);
126
126
  }
127
127
 
128
128
  :host([invalid]) textarea:focus {
129
- box-shadow: 0 0 0 1px var(--st-color-error, #dc2626);
129
+ box-shadow: 0 0 0 1px var(--st-color-error);
130
130
  }
131
131
 
132
132
  :host([invalid]) .help-text {
133
- color: var(--st-color-error, #dc2626);
133
+ color: var(--st-color-error);
134
134
  }
135
135
 
136
136
  /* Disabled & Readonly */
@@ -43,7 +43,7 @@ export class StThemeToggle extends LitElement {
43
43
  button[aria-pressed="true"] {
44
44
  background-color: var(--st-color-bg);
45
45
  color: var(--st-color-primary);
46
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
46
+ box-shadow: var(--st-shadow-sm);
47
47
  }
48
48
 
49
49
  svg {
@@ -83,15 +83,15 @@ export class StTimePicker extends LitElement {
83
83
  /* Focus within ring */
84
84
  .input-wrapper:focus-within {
85
85
  border-color: var(--st-color-primary);
86
- box-shadow: 0 0 0 2px var(--st-color-primary-muted, rgba(59, 130, 246, 0.25));
86
+ box-shadow: 0 0 0 2px var(--st-color-primary-muted);
87
87
  }
88
88
 
89
89
  .input-wrapper.is-invalid {
90
- border-color: var(--st-color-danger, #dc2626);
90
+ border-color: var(--st-color-danger);
91
91
  }
92
92
 
93
93
  .input-wrapper.is-disabled {
94
- background: var(--st-color-surface-muted, #f1f5f9);
94
+ background: var(--st-color-surface-muted);
95
95
  cursor: not-allowed;
96
96
  opacity: 0.7;
97
97
  }
@@ -0,0 +1,100 @@
1
+ import {html, css} from "lit";
2
+ import {customElement} from "lit/decorators.js";
3
+ import {resetStyles} from "../../styles/reset.js";
4
+ import {StRowItem} from "../section/row-item.js";
5
+
6
+ /**
7
+ * One moment on a `st-timeline`.
8
+ *
9
+ * Slots: `date` (such as `2024` or `March 2025`), `title` (a real heading such as `<h3>`) and the
10
+ * default slot for the description.
11
+ */
12
+ @customElement("st-timeline-item")
13
+ export class StTimelineItem extends StRowItem {
14
+ connectedCallback() {
15
+ super.connectedCallback();
16
+ if (!this.hasAttribute("role")) this.setAttribute("role", "listitem");
17
+ }
18
+
19
+ static styles = [
20
+ resetStyles,
21
+ css`
22
+ :host {
23
+ display: block;
24
+ position: relative;
25
+ padding-left: var(--st-spacing-2xl);
26
+ padding-bottom: var(--st-spacing-2xl);
27
+ }
28
+
29
+ :host(:last-child) {
30
+ padding-bottom: 0;
31
+ }
32
+
33
+ /* The line joining the markers. */
34
+ :host::before {
35
+ content: "";
36
+ position: absolute;
37
+ left: 0.4375rem;
38
+ top: 1.25rem;
39
+ bottom: -0.25rem;
40
+ width: 2px;
41
+ background: var(--st-color-border);
42
+ }
43
+
44
+ :host(:last-child)::before {
45
+ display: none;
46
+ }
47
+
48
+ /* The marker. */
49
+ .marker {
50
+ position: absolute;
51
+ left: 0;
52
+ top: 0.3rem;
53
+ width: 1rem;
54
+ height: 1rem;
55
+ border: 3px solid var(--st-color-primary);
56
+ border-radius: 50%;
57
+ background: var(--st-color-bg);
58
+ }
59
+
60
+ ::slotted([slot="date"]) {
61
+ display: block;
62
+ margin: 0 0 var(--st-spacing-xs);
63
+ color: var(--st-color-primary-text);
64
+ font-size: var(--st-font-size-sm);
65
+ font-weight: var(--st-font-weight-bold);
66
+ letter-spacing: 0.04em;
67
+ }
68
+
69
+ ::slotted([slot="title"]) {
70
+ margin: 0 0 var(--st-spacing-xs) !important;
71
+ font-size: var(--st-font-size-xl) !important;
72
+ }
73
+
74
+ .body {
75
+ color: var(--st-color-text-muted);
76
+ }
77
+
78
+ .body ::slotted(*) {
79
+ margin: 0;
80
+ }
81
+ `,
82
+ ];
83
+
84
+ render() {
85
+ return html`
86
+ <span class="marker" aria-hidden="true"></span>
87
+ ${this.frame(html`
88
+ <slot name="date"></slot>
89
+ <slot name="title"></slot>
90
+ <div class="body"><slot></slot></div>
91
+ `)}
92
+ `;
93
+ }
94
+ }
95
+
96
+ declare global {
97
+ interface HTMLElementTagNameMap {
98
+ "st-timeline-item": StTimelineItem;
99
+ }
100
+ }
@@ -0,0 +1,31 @@
1
+ import {html} from "lit";
2
+ import {customElement} from "lit/decorators.js";
3
+ import {StSection} from "../section/section.js";
4
+ import "./timeline-item.js";
5
+
6
+ /**
7
+ * A vertical timeline: milestones in order, each a `st-timeline-item`. Use it for a company
8
+ * history, a roadmap or career experience. Items are exposed to assistive technology as a list.
9
+ *
10
+ * Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-timeline-item` items.
11
+ */
12
+ @customElement("st-timeline")
13
+ export class StTimeline extends StSection {
14
+ constructor() {
15
+ super();
16
+ this.width = "md";
17
+ }
18
+
19
+ render() {
20
+ return this.frame(
21
+ html`<div class="items" role="list"><slot @slotchange=${this._onItemsChange}></slot></div>`,
22
+ {animated: false},
23
+ );
24
+ }
25
+ }
26
+
27
+ declare global {
28
+ interface HTMLElementTagNameMap {
29
+ "st-timeline": StTimeline;
30
+ }
31
+ }
@@ -0,0 +1,153 @@
1
+ import {LitElement, html, css} from "lit";
2
+ import {customElement, property, state} from "lit/decorators.js";
3
+ import {resetStyles} from "../../styles/reset.js";
4
+ import "../icon/icon.js";
5
+
6
+ export type ToastVariant = "info" | "success" | "warning" | "error";
7
+
8
+ interface ToastItem {
9
+ id: number;
10
+ message: string;
11
+ variant: ToastVariant;
12
+ }
13
+
14
+ const variantIcons: Record<ToastVariant, string> = {
15
+ info: "circle-info",
16
+ success: "circle-check",
17
+ warning: "triangle-exclamation",
18
+ error: "circle-cross",
19
+ };
20
+
21
+ /**
22
+ * Toast stack rendered in a polite live region. Use `showToast()` for a shared instance,
23
+ * or place an `<st-toast>` yourself and call its `show()` method.
24
+ */
25
+ @customElement("st-toast")
26
+ export class StToast extends LitElement {
27
+ @property({type: String, reflect: true}) position: "top-right" | "bottom-right" | "bottom-left" =
28
+ "bottom-right";
29
+ @state() private _toasts: ToastItem[] = [];
30
+
31
+ private _nextId = 0;
32
+ private _timers = new Map<number, ReturnType<typeof setTimeout>>();
33
+
34
+ static styles = [
35
+ resetStyles,
36
+ css`
37
+ :host {
38
+ position: fixed;
39
+ z-index: 1000;
40
+ display: flex;
41
+ flex-direction: column;
42
+ gap: 0.5rem;
43
+ max-width: min(24rem, calc(100vw - 2rem));
44
+ pointer-events: none;
45
+ right: 1rem;
46
+ bottom: 1rem;
47
+ }
48
+ :host([position="top-right"]) {
49
+ top: 1rem;
50
+ bottom: auto;
51
+ }
52
+ :host([position="bottom-left"]) {
53
+ left: 1rem;
54
+ right: auto;
55
+ }
56
+ .toast {
57
+ pointer-events: auto;
58
+ display: flex;
59
+ align-items: flex-start;
60
+ gap: 0.75rem;
61
+ padding: 0.75rem 1rem;
62
+ border-radius: 0.5rem;
63
+ background: var(--st-color-surface);
64
+ border: 1px solid var(--st-color-border);
65
+ border-left: 4px solid var(--_accent);
66
+ color: var(--st-color-text);
67
+ box-shadow: var(--st-shadow-lg);
68
+ }
69
+ .info {
70
+ --_accent: var(--st-color-info);
71
+ }
72
+ .success {
73
+ --_accent: var(--st-color-success);
74
+ }
75
+ .warning {
76
+ --_accent: var(--st-color-warning);
77
+ }
78
+ .error {
79
+ --_accent: var(--st-color-error);
80
+ }
81
+ .toast > st-icon {
82
+ color: var(--_accent);
83
+ }
84
+ .msg {
85
+ flex: 1;
86
+ }
87
+ button {
88
+ display: inline-flex;
89
+ background: none;
90
+ border: 0;
91
+ color: var(--st-color-text-muted);
92
+ cursor: pointer;
93
+ border-radius: 0.25rem;
94
+ }
95
+ button:focus-visible {
96
+ outline: 2px solid var(--st-color-primary);
97
+ }
98
+ `,
99
+ ];
100
+
101
+ disconnectedCallback() {
102
+ super.disconnectedCallback();
103
+ this._timers.forEach(clearTimeout);
104
+ this._timers.clear();
105
+ }
106
+
107
+ /** Adds a toast; a `duration` of 0 keeps it until dismissed. Returns its id. */
108
+ show(message: string, options: {variant?: ToastVariant; duration?: number} = {}) {
109
+ const {variant = "info", duration = 5000} = options;
110
+ const id = this._nextId++;
111
+ this._toasts = [...this._toasts, {id, message, variant}];
112
+ if (duration > 0) this._timers.set(id, setTimeout(() => this.dismiss(id), duration));
113
+ return id;
114
+ }
115
+
116
+ dismiss(id: number) {
117
+ clearTimeout(this._timers.get(id));
118
+ this._timers.delete(id);
119
+ this._toasts = this._toasts.filter((t) => t.id !== id);
120
+ }
121
+
122
+ render() {
123
+ return html`
124
+ ${this._toasts.map(
125
+ (t) => html`
126
+ <div class="toast ${t.variant}" role=${t.variant === "error" ? "alert" : "status"}>
127
+ <st-icon name=${variantIcons[t.variant]} size="sm" aria-hidden="true"></st-icon>
128
+ <span class="msg">${t.message}</span>
129
+ <button type="button" aria-label="Dismiss notification" @click=${() => this.dismiss(t.id)}>
130
+ <st-icon name="x" size="sm" aria-hidden="true"></st-icon>
131
+ </button>
132
+ </div>
133
+ `,
134
+ )}
135
+ `;
136
+ }
137
+ }
138
+
139
+ /** Shows a toast using a shared `<st-toast>` host appended to document.body. */
140
+ export function showToast(message: string, options?: {variant?: ToastVariant; duration?: number}) {
141
+ let host = document.querySelector<StToast>("st-toast");
142
+ if (!host) {
143
+ host = document.createElement("st-toast") as StToast;
144
+ document.body.appendChild(host);
145
+ }
146
+ return host.show(message, options);
147
+ }
148
+
149
+ declare global {
150
+ interface HTMLElementTagNameMap {
151
+ "st-toast": StToast;
152
+ }
153
+ }
@@ -1,5 +1,6 @@
1
1
  import { LitElement, html, css } from "lit";
2
2
  import { customElement, property } from "lit/decorators.js";
3
+ import { ifDefined } from "lit/directives/if-defined.js";
3
4
  import { resetStyles } from "../../styles/reset.js";
4
5
 
5
6
  @customElement("st-toggle-button")
@@ -9,6 +10,8 @@ export class StToggleButton extends LitElement {
9
10
  @property({ type: String }) value = "";
10
11
  @property({ type: Boolean, reflect: true }) selected = false;
11
12
  @property({ type: Boolean, reflect: true }) disabled = false;
13
+ /** Accessible name. Required when the content is only an icon. Also shown as a tooltip. */
14
+ @property({ type: String }) label = "";
12
15
 
13
16
  static styles = [
14
17
  resetStyles,
@@ -36,7 +39,7 @@ export class StToggleButton extends LitElement {
36
39
  }
37
40
 
38
41
  button:hover:not(:disabled) {
39
- background-color: var(--st-color-surface-hover, #f8fafc);
42
+ background-color: var(--st-color-surface-hover);
40
43
  }
41
44
 
42
45
  button:focus-visible {
@@ -47,8 +50,8 @@ export class StToggleButton extends LitElement {
47
50
 
48
51
  /* Active/Selected State */
49
52
  :host([selected]) button {
50
- background-color: var(--st-color-primary-light, #eff6ff);
51
- color: var(--st-color-primary-dark, #1d4ed8);
53
+ background-color: var(--st-color-primary-light);
54
+ color: var(--st-color-primary-dark);
52
55
  font-weight: var(--st-font-weight-semibold);
53
56
  }
54
57
 
@@ -59,7 +62,7 @@ export class StToggleButton extends LitElement {
59
62
 
60
63
  :host([disabled]) button {
61
64
  opacity: 0.5;
62
- background-color: var(--st-color-surface-muted, #f1f5f9);
65
+ background-color: var(--st-color-surface-muted);
63
66
  color: var(--st-color-text-muted);
64
67
  }
65
68
 
@@ -87,6 +90,8 @@ export class StToggleButton extends LitElement {
87
90
  <button
88
91
  type="button"
89
92
  aria-pressed=${this.selected ? "true" : "false"}
93
+ aria-label=${ifDefined(this.label || undefined)}
94
+ title=${ifDefined(this.label || undefined)}
90
95
  ?disabled=${this.disabled}
91
96
  @click=${this._handleClick}
92
97
  >
@@ -70,7 +70,7 @@ export class StToggleGroup extends LitElement {
70
70
  left: 0;
71
71
  background: linear-gradient(
72
72
  to right,
73
- var(--st-color-scroll-shadow, rgba(0, 0, 0, 0.15)) 0%,
73
+ var(--st-color-scroll-shadow) 0%,
74
74
  transparent 100%
75
75
  );
76
76
  border-top-left-radius: var(--st-radius-md);
@@ -81,7 +81,7 @@ export class StToggleGroup extends LitElement {
81
81
  right: 0;
82
82
  background: linear-gradient(
83
83
  to left,
84
- var(--st-color-scroll-shadow, rgba(0, 0, 0, 0.15)) 0%,
84
+ var(--st-color-scroll-shadow) 0%,
85
85
  transparent 100%
86
86
  );
87
87
  border-top-right-radius: var(--st-radius-md);
@@ -98,10 +98,10 @@ export class StToggleGroup extends LitElement {
98
98
 
99
99
  /* 🚀 FIX: Dialed up to 0.5 for dark mode */
100
100
  :host([data-theme="dark"]) .scroll-wrapper::before {
101
- background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
101
+ background: linear-gradient(to right, var(--st-color-overlay) 0%, transparent 100%);
102
102
  }
103
103
  :host([data-theme="dark"]) .scroll-wrapper::after {
104
- background: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
104
+ background: linear-gradient(to left, var(--st-color-overlay) 0%, transparent 100%);
105
105
  }
106
106
 
107
107
  .group-container {
@@ -54,7 +54,7 @@ export class StTooltip extends LitElement {
54
54
  opacity 0.2s ease,
55
55
  transform 0.2s ease,
56
56
  visibility 0.2s;
57
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
57
+ box-shadow: var(--st-shadow-md);
58
58
  }
59
59
 
60
60
  .tooltip-popup::before {
@@ -78,44 +78,44 @@ export class StTooltip extends LitElement {
78
78
  ========================================== */
79
79
 
80
80
  .variant-info {
81
- background: var(--st-color-info, #3b82f6);
82
- border-color: var(--st-color-info, #3b82f6);
83
- color: var(--st-color-on-info, #ffffff);
81
+ background: var(--st-color-info);
82
+ border-color: var(--st-color-info);
83
+ color: var(--st-color-on-info);
84
84
  }
85
85
  .variant-info::before {
86
- background: var(--st-color-info, #3b82f6);
87
- border-color: var(--st-color-info, #3b82f6);
86
+ background: var(--st-color-info);
87
+ border-color: var(--st-color-info);
88
88
  }
89
89
 
90
90
  .variant-success {
91
- background: var(--st-color-success, #16a34a);
92
- border-color: var(--st-color-success, #16a34a);
93
- color: var(--st-color-on-success, #ffffff);
91
+ background: var(--st-color-success);
92
+ border-color: var(--st-color-success);
93
+ color: var(--st-color-on-success);
94
94
  }
95
95
  .variant-success::before {
96
- background: var(--st-color-success, #16a34a);
97
- border-color: var(--st-color-success, #16a34a);
96
+ background: var(--st-color-success);
97
+ border-color: var(--st-color-success);
98
98
  }
99
99
 
100
100
  .variant-warning {
101
- background: var(--st-color-warning, #f59e0b);
102
- border-color: var(--st-color-warning, #f59e0b);
101
+ background: var(--st-color-warning);
102
+ border-color: var(--st-color-warning);
103
103
  /* Warning usually needs dark text for contrast */
104
- color: var(--st-color-on-warning, #1e293b);
104
+ color: var(--st-color-on-warning);
105
105
  }
106
106
  .variant-warning::before {
107
- background: var(--st-color-warning, #f59e0b);
108
- border-color: var(--st-color-warning, #f59e0b);
107
+ background: var(--st-color-warning);
108
+ border-color: var(--st-color-warning);
109
109
  }
110
110
 
111
111
  .variant-danger {
112
- background: var(--st-color-danger, #dc2626);
113
- border-color: var(--st-color-danger, #dc2626);
114
- color: var(--st-color-on-danger, #ffffff);
112
+ background: var(--st-color-danger);
113
+ border-color: var(--st-color-danger);
114
+ color: var(--st-color-on-danger);
115
115
  }
116
116
  .variant-danger::before {
117
- background: var(--st-color-danger, #dc2626);
118
- border-color: var(--st-color-danger, #dc2626);
117
+ background: var(--st-color-danger);
118
+ border-color: var(--st-color-danger);
119
119
  }
120
120
 
121
121
  /* ==========================================