@orangesk/cms-templates 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/README.md +15 -1
  2. package/build/assets/favicon.ico +0 -0
  3. package/build/assets/form-error.svg +6 -0
  4. package/build/assets/form-success.svg +5 -0
  5. package/build/assets/form-waiting.svg +7 -0
  6. package/build/assets/how-to-secure.png +0 -0
  7. package/build/assets/market-lokator.png +0 -0
  8. package/build/assets/mirosoft-project.svg +5 -0
  9. package/build/assets/power-point.svg +5 -0
  10. package/build/assets/prima-volba-1.jpg +0 -0
  11. package/build/assets/prima-volba.png +0 -0
  12. package/build/assets/project.svg +5 -0
  13. package/build/assets/soc-ako-sluzba.png +0 -0
  14. package/build/assets/soc-stats-1.svg +7 -0
  15. package/build/assets/soc-stats-2.svg +21 -0
  16. package/build/assets/what-is-that.png +0 -0
  17. package/build/changelog/index.html +83 -0
  18. package/build/components/ContactFormB2B/index.html +29 -0
  19. package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
  20. package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
  21. package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
  22. package/build/images/cta-device.png +0 -0
  23. package/build/images/cta-plans.png +0 -0
  24. package/build/images/cta-renewal.png +0 -0
  25. package/build/images/device-mobile.png +0 -0
  26. package/build/images/form-validation-format.png +0 -0
  27. package/build/images/form-validation-info-structure.png +0 -0
  28. package/build/images/form-validation-semantics.png +0 -0
  29. package/build/images/forms-labels-grouping.png +0 -0
  30. package/build/images/forms-labels-instruction.png +0 -0
  31. package/build/images/forms-labels-structure.png +0 -0
  32. package/build/images/hero/example-lg.jpg +0 -0
  33. package/build/images/hero/example-lg@2x.jpg +0 -0
  34. package/build/images/hero/example-xl.jpg +0 -0
  35. package/build/images/hero/example-xl@2x.jpg +0 -0
  36. package/build/images/hero/example-xxl.jpg +0 -0
  37. package/build/images/hero/example-xxl@2x.jpg +0 -0
  38. package/build/images/hero/example.jpg +0 -0
  39. package/build/images/hero/example@2x.jpg +0 -0
  40. package/build/images/hero/old-vendor-2x.jpg +0 -0
  41. package/build/images/hero/old-vendor-lg-2x.jpg +0 -0
  42. package/build/images/hero/old-vendor-lg.jpg +0 -0
  43. package/build/images/hero/old-vendor-xl-2x.jpg +0 -0
  44. package/build/images/hero/old-vendor-xl.jpg +0 -0
  45. package/build/images/hero/old-vendor-xxl-2x.jpg +0 -0
  46. package/build/images/hero/old-vendor-xxl.jpg +0 -0
  47. package/build/images/hero/old-vendor.jpg +0 -0
  48. package/build/images/hero/photo-2x.jpg +0 -0
  49. package/build/images/hero/photo-lg-2x.jpg +0 -0
  50. package/build/images/hero/photo-lg.jpg +0 -0
  51. package/build/images/hero/photo-xl-2x.jpg +0 -0
  52. package/build/images/hero/photo-xl.jpg +0 -0
  53. package/build/images/hero/photo-xxl-2x.jpg +0 -0
  54. package/build/images/hero/photo-xxl.jpg +0 -0
  55. package/build/images/hero/photo.jpg +0 -0
  56. package/build/images/hero/single.png +0 -0
  57. package/build/images/hero/single@2x.png +0 -0
  58. package/build/images/hero/vendor-lg.png +0 -0
  59. package/build/images/hero/vendor-lg@2x.png +0 -0
  60. package/build/images/hero/vendor-xl.png +0 -0
  61. package/build/images/hero/vendor-xl@2x.png +0 -0
  62. package/build/images/hero/vendor-xxl.png +0 -0
  63. package/build/images/hero/vendor-xxl@2x.png +0 -0
  64. package/build/images/hero/vendor.png +0 -0
  65. package/build/images/hero/vendor@2x.png +0 -0
  66. package/build/images/product-1.svg +10 -0
  67. package/build/images/product-2.svg +14 -0
  68. package/build/images/product-3.svg +9 -0
  69. package/build/images/tone-of-voice.jpg +0 -0
  70. package/build/index.html +46 -0
  71. package/build/lib/after-components.css +2 -0
  72. package/build/lib/after-components.css.map +1 -0
  73. package/build/lib/after-components.js +3 -0
  74. package/build/lib/before-components.css +3 -0
  75. package/build/lib/before-components.css.map +1 -0
  76. package/build/lib/before-components.js +3 -0
  77. package/build/lib/breadcrumbs.css +2 -0
  78. package/build/lib/breadcrumbs.css.map +1 -0
  79. package/build/lib/breadcrumbs.js +3 -0
  80. package/build/lib/components.css +2 -0
  81. package/build/lib/components.css.map +1 -0
  82. package/build/lib/components.js +3 -0
  83. package/build/lib/fonts.css +2 -0
  84. package/build/lib/fonts.css.map +1 -0
  85. package/build/lib/fonts.js +3 -0
  86. package/build/lib/footer.css +2 -0
  87. package/build/lib/footer.css.map +1 -0
  88. package/build/lib/megamenu.css +2 -0
  89. package/build/lib/megamenu.css.map +1 -0
  90. package/build/lib/megamenu.js +2 -0
  91. package/build/lib/megamenu.js.map +1 -0
  92. package/build/lib/scripts.css +2 -0
  93. package/build/lib/scripts.css.map +1 -0
  94. package/build/lib/scripts.js +10 -0
  95. package/build/lib/scripts.js.map +1 -0
  96. package/build/lib/style.css +3 -0
  97. package/build/lib/style.css.map +1 -0
  98. package/build/lib/style.js +3 -0
  99. package/build/lib/tsconfig.tsbuildinfo +1 -0
  100. package/build/logo.svg +1 -0
  101. package/build/modules/image-section/README/index.html +54 -0
  102. package/build/modules/image-section/background-image/index.html +44 -0
  103. package/build/modules/image-section/half-width-image/index.html +46 -0
  104. package/build/modules/image-section/third-width-2-image-section/index.html +44 -0
  105. package/build/modules/image-section/third-width-frame-image-section/index.html +49 -0
  106. package/build/pages/basic-page-about-the-brand/index.html +44 -0
  107. package/build/pages/basic-page-gdpr/index.html +44 -0
  108. package/build/pages/blog-homepage-clovek/index.html +44 -0
  109. package/build/pages/blog-news-clovek/index.html +44 -0
  110. package/build/pages/blog-post-clovek/index.html +44 -0
  111. package/build/pages/device-lp-b2b/index.html +29 -0
  112. package/build/pages/device-lp-b2c/index.html +29 -0
  113. package/build/pages/equipment-insurance/index.html +54 -0
  114. package/build/pages/homepage-b2b/index.html +29 -0
  115. package/build/pages/homepage-b2c/index.html +29 -0
  116. package/build/pages/online-security/index.html +53 -0
  117. package/build/pages/press-and-news-releases/index.html +44 -0
  118. package/build/pages/press-center/index.html +44 -0
  119. package/build/pages/press-center-docs-library/index.html +44 -0
  120. package/build/pages/press-center-general-terms/index.html +67 -0
  121. package/build/pages/press-center-general-terms copy/index.html +67 -0
  122. package/build/pages/press-center-informations-for-customers/index.html +44 -0
  123. package/build/pages/pricelist/index.html +44 -0
  124. package/build/pages/pricelist-tariff/index.html +44 -0
  125. package/{src/layouts/base.njk → build/pages/pricelist-tarrif/index.html} +6 -9
  126. package/build/pages/product-page-b2b-market-locator/index.html +44 -0
  127. package/build/pages/product-page-b2b-market-locator copy/index.html +44 -0
  128. package/build/pages/product-page-b2b-microsoft-365/index.html +44 -0
  129. package/build/pages/product-page-b2b-microsoft-365 copy/index.html +44 -0
  130. package/build/pages/product-page-b2b-soc-as-a-service/index.html +44 -0
  131. package/build/pages/product-page-b2c-equipment-insurance/index.html +54 -0
  132. package/build/pages/product-page-b2c-online-security/index.html +48 -0
  133. package/build/pages/product-page-b2c-prima-volba/index.html +44 -0
  134. package/build/pages/product-page-b2c-prima-volba-signpost/index.html +44 -0
  135. package/build/pages/roaming-b2b/index.html +30 -0
  136. package/build/pages/roaming-b2c/index.html +30 -0
  137. package/build/pages/roaming-b2x/index.html +44 -0
  138. package/build/pages/signpost-insurance/index.html +44 -0
  139. package/build/pages/signpost-products-and-services/index.html +44 -0
  140. package/build/readme/index.html +55 -0
  141. package/build/shame.css +171 -0
  142. package/build/sprite.svg +1 -0
  143. package/package.json +5 -2
  144. package/.prettierrc +0 -9
  145. package/CHANGELOG.md +0 -36
  146. package/eleventy.config.js +0 -91
  147. package/eslint.config.mjs +0 -93
  148. package/global.d.ts +0 -3
  149. package/src/changelog.mdx +0 -11
  150. package/src/components/ActionTile/ActionTile.tsx +0 -25
  151. package/src/components/ActionTile/ActionTilesSection.tsx +0 -41
  152. package/src/components/ActionTile/index.ts +0 -2
  153. package/src/components/ArticleCard/ArticleCard.tsx +0 -130
  154. package/src/components/ArticleCard/index.ts +0 -1
  155. package/src/components/ArticleMeta/ArticleMeta.tsx +0 -37
  156. package/src/components/ArticleMeta/index.ts +0 -1
  157. package/src/components/ArticleShare/ArticleShare.tsx +0 -87
  158. package/src/components/ArticleShare/index.ts +0 -1
  159. package/src/components/AvatarCard/AvatarCard.tsx +0 -30
  160. package/src/components/AvatarCard/index.ts +0 -1
  161. package/src/components/FAQ/FAQ.tsx +0 -59
  162. package/src/components/FAQ/index.ts +0 -1
  163. package/src/components/FeaturedArticles/FeaturedArticles.tsx +0 -57
  164. package/src/components/FeaturedArticles/index.ts +0 -1
  165. package/src/components/FileCard/FileCard.tsx +0 -51
  166. package/src/components/FileCard/index.ts +0 -1
  167. package/src/components/FooterContent/FooterContent.tsx +0 -253
  168. package/src/components/HeroSection/HeroSection.tsx +0 -67
  169. package/src/components/HeroSection/index.ts +0 -1
  170. package/src/components/Markdown.tsx +0 -49
  171. package/src/components/Megamenu/Megamenu.tsx +0 -848
  172. package/src/components/Megamenu/MegamenuClovek.tsx +0 -222
  173. package/src/components/Megamenu/index.ts +0 -2
  174. package/src/components/PageHeading/PageHeadingSimple.tsx +0 -21
  175. package/src/components/PageHeading/index.ts +0 -1
  176. package/src/components/ProductImage/ProductImage.tsx +0 -29
  177. package/src/components/ProductImage/_product-image.scss +0 -45
  178. package/src/components/ProductImage/index.ts +0 -1
  179. package/src/components/SectionTitle/SectionTitle.tsx +0 -29
  180. package/src/components/SectionTitle/index.ts +0 -1
  181. package/src/components/StoreButtons/StoreButtons.tsx +0 -336
  182. package/src/components/StoreButtons/_store-buttons.scss +0 -11
  183. package/src/components/StoreButtons/index.ts +0 -1
  184. package/src/components/Tags/Tags.tsx +0 -90
  185. package/src/components/Tags/index.ts +0 -3
  186. package/src/components/Tiles/Tiles.tsx +0 -56
  187. package/src/components/Tiles/_tiles.scss +0 -18
  188. package/src/components/Tiles/index.ts +0 -1
  189. package/src/components/ToC/ToC.tsx +0 -37
  190. package/src/components/ToC/_toc.scss +0 -23
  191. package/src/components/ToC/index.ts +0 -1
  192. package/src/components/_components.scss +0 -5
  193. package/src/components/_container.scss +0 -17
  194. package/src/data/homepage.js +0 -17
  195. package/src/index.mdx +0 -132
  196. package/src/layouts/DefaultPage.tsx +0 -29
  197. package/src/pages/_homepage.scss +0 -24
  198. package/src/pages/_pages.scss +0 -29
  199. package/src/pages/basic-page-about-the-brand.mdx +0 -167
  200. package/src/pages/basic-page-gdpr.mdx +0 -563
  201. package/src/pages/blog-homepage-clovek.mdx +0 -437
  202. package/src/pages/blog-news-clovek.mdx +0 -163
  203. package/src/pages/blog-post-clovek.mdx +0 -322
  204. package/src/pages/device-lp-b2b.mdx +0 -11
  205. package/src/pages/device-lp-b2c.mdx +0 -318
  206. package/src/pages/homepage-b2b.mdx +0 -11
  207. package/src/pages/homepage-b2c.mdx +0 -463
  208. package/src/pages/press-and-news-releases.mdx +0 -136
  209. package/src/pages/press-center-docs-library.mdx +0 -188
  210. package/src/pages/press-center-general-terms.mdx +0 -208
  211. package/src/pages/press-center-informations-for-customers.mdx +0 -262
  212. package/src/pages/pricelist-tariff.mdx +0 -241
  213. package/src/pages/pricelist.mdx +0 -644
  214. package/src/pages/product-page-b2b-microsoft-365.mdx +0 -747
  215. package/src/pages/product-page-b2c-equipment-insurance.mdx +0 -435
  216. package/src/pages/product-page-b2c-online-security.mdx +0 -285
  217. package/src/pages/product-page-b2c-prima-volba-signpost.mdx +0 -289
  218. package/src/pages/product-page-b2c-prima-volba.mdx +0 -425
  219. package/src/pages/roaming-b2b.mdx +0 -11
  220. package/src/pages/roaming-b2c.mdx +0 -549
  221. package/src/pages/signpost-insurance.mdx +0 -126
  222. package/src/pages/signpost-products-and-services.mdx +0 -206
  223. package/src/readme.mdx +0 -11
  224. package/src/shame.scss +0 -19
  225. package/src/styles/utilities/border.scss +0 -6
  226. package/src/styles/utilities/index.scss +0 -2
  227. package/src/styles/utilities/layout.scss +0 -11
  228. package/tsconfig.json +0 -22
  229. /package/{src → build}/assets/6-mesiacov-zadarmo.png +0 -0
  230. /package/{src → build}/assets/Apple_iPhone_16_Pro.png +0 -0
  231. /package/{src → build}/assets/Gaming_large.png +0 -0
  232. /package/{src → build}/assets/Gaming_medium.png +0 -0
  233. /package/{src → build}/assets/apple-phone@desktop.png +0 -0
  234. /package/{src → build}/assets/apple-phone@mobile.png +0 -0
  235. /package/{src → build}/assets/apple-phone@tablet.png +0 -0
  236. /package/{src → build}/assets/avatar-large.png +0 -0
  237. /package/{src → build}/assets/avatar-support.png +0 -0
  238. /package/{src → build}/assets/avatar.png +0 -0
  239. /package/{src → build}/assets/badge-appgallery.svg +0 -0
  240. /package/{src → build}/assets/badge-appstore.svg +0 -0
  241. /package/{src → build}/assets/badge-google-play.svg +0 -0
  242. /package/{src → build}/assets/bez-nastrah.png +0 -0
  243. /package/{src → build}/assets/blog-post-cover.png +0 -0
  244. /package/{src → build}/assets/blog-post-image-1.png +0 -0
  245. /package/{src → build}/assets/blogpost-cover-image-1.png +0 -0
  246. /package/{src → build}/assets/blogpost-cover-image-2.png +0 -0
  247. /package/{src → build}/assets/blogpost-cover-image-3.png +0 -0
  248. /package/{src → build}/assets/blogpost-cover-image-4.png +0 -0
  249. /package/{src → build}/assets/blogpost-cover-image-5.png +0 -0
  250. /package/{src → build}/assets/bookings.svg +0 -0
  251. /package/{src → build}/assets/clovek-blog-hero-exported.png +0 -0
  252. /package/{src → build}/assets/clovek-blog-hero-xxl.jpg +0 -0
  253. /package/{src → build}/assets/festivaly-2-mobile-rozcestnik@2x.jpg +0 -0
  254. /package/{src → build}/assets/iPad_grey.png +0 -0
  255. /package/{src → build}/assets/iPhone_16_Pro_Web_Banner_desktop.png +0 -0
  256. /package/{src → build}/assets/iPhone_16_Pro_Web_Banner_tablet.png +0 -0
  257. /package/{src → build}/assets/ikona-servis--dark.svg +0 -0
  258. /package/{src → build}/assets/ikona-servis.svg +0 -0
  259. /package/{src → build}/assets/ikona-vykup--dark.svg +0 -0
  260. /package/{src → build}/assets/ikona-vykup.svg +0 -0
  261. /package/{src → build}/assets/ikona-vyssia-pamat--dark.svg +0 -0
  262. /package/{src → build}/assets/ikona-vyssia-pamat.svg +0 -0
  263. /package/{src → build}/assets/iphone-17.png +0 -0
  264. /package/{src → build}/assets/laptop_5euro.png +0 -0
  265. /package/{src → build}/assets/logo-minimal.svg +0 -0
  266. /package/{src → build}/assets/love-odporucane-baliky-hero-xxl@2x.png +0 -0
  267. /package/{src → build}/assets/microsoft-365-computer.png +0 -0
  268. /package/{src → build}/assets/microsoft-365.png +0 -0
  269. /package/{src → build}/assets/microsoft-copilot-logo-large.png +0 -0
  270. /package/{src → build}/assets/microsoft-copilot-logo-small-v2.png +0 -0
  271. /package/{src → build}/assets/microsoft-copilot-logo-small.png +0 -0
  272. /package/{src → build}/assets/microsoft-partner-do-hero.png +0 -0
  273. /package/{src → build}/assets/microsoft-project.svg +0 -0
  274. /package/{src → build}/assets/microsoft-teams.svg +0 -0
  275. /package/{src → build}/assets/online-ochrana-b2c.png +0 -0
  276. /package/{src → build}/assets/online-ochrana.png +0 -0
  277. /package/{src → build}/assets/people1.png +0 -0
  278. /package/{src → build}/assets/people2.png +0 -0
  279. /package/{src → build}/assets/power-bi.svg +0 -0
  280. /package/{src → build}/assets/predvolba.png +0 -0
  281. /package/{src/assets/prima-volba.png → build/assets/prima-vobla.png} +0 -0
  282. /package/{src → build}/assets/prima-volba-why-1.png +0 -0
  283. /package/{src → build}/assets/prima-volba-why-2.png +0 -0
  284. /package/{src → build}/assets/prima-volba-why-3.png +0 -0
  285. /package/{src → build}/assets/recommendation.png +0 -0
  286. /package/{src → build}/assets/roaming-prima-karta.png +0 -0
  287. /package/{src → build}/assets/rozcestnik-poistenie--cestovne-poistenie.png +0 -0
  288. /package/{src → build}/assets/rozcestnik-poistenie--poistenie-faktur.png +0 -0
  289. /package/{src → build}/assets/rozcestnik-poistenie--poistenie-urazov.png +0 -0
  290. /package/{src → build}/assets/rozcestnik-poistenie--telefonov.png +0 -0
  291. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--internet.png +0 -0
  292. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--navzajom-zadarmo.png +0 -0
  293. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--telefony-a-zariadenia.png +0 -0
  294. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--transfer.png +0 -0
  295. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--tv.png +0 -0
  296. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--volania.png +0 -0
  297. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--vyhodne-balicky.png +0 -0
  298. /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--vyhody.png +0 -0
  299. /package/{src → build}/assets/samsung-galaxy-flip-7-1.png +0 -0
  300. /package/{src → build}/assets/samsung-galaxy-fold-7--large.png +0 -0
  301. /package/{src → build}/assets/samsung-galaxy-fold-7-1.png +0 -0
  302. /package/{src → build}/assets/samsung-watch-banner.png +0 -0
  303. /package/{src → build}/assets/sharepoint.svg +0 -0
  304. /package/{src → build}/assets/three-phones-revert.png +0 -0
  305. /package/{src → build}/assets/three-phones-rotated-desktop.png +0 -0
  306. /package/{src → build}/assets/three-phones-rotated-mobile.png +0 -0
  307. /package/{src → build}/assets/three-phones-rotated-tablet.png +0 -0
  308. /package/{src → build}/assets/three-phones.png +0 -0
  309. /package/{src → build}/assets/uae.svg +0 -0
  310. /package/{src → build}/assets/visio.svg +0 -0
  311. /package/{src → build}/assets/volte.png +0 -0
  312. /package/{src → build}/assets/worker.png +0 -0
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@orangesk/cms-templates",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.2",
4
4
  "private": false,
5
5
  "type": "module",
6
+ "files": [
7
+ "build"
8
+ ],
9
+ "main": "build/index.html",
6
10
  "publishConfig": {
7
11
  "access": "public"
8
12
  },
9
13
  "engines": {
10
14
  "node": ">=20.x"
11
15
  },
12
- "main": "index.js",
13
16
  "scripts": {
14
17
  "start": "eleventy --serve --watch --incremental",
15
18
  "build": "eleventy",
package/.prettierrc DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "printWidth": 80,
3
- "singleQuote": false,
4
- "trailingComma": "all",
5
- "bracketSpacing": true,
6
- "semi": true,
7
- "useTabs": false,
8
- "tabWidth": 2
9
- }
package/CHANGELOG.md DELETED
@@ -1,36 +0,0 @@
1
- # 📝 Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## 🌟 [Unreleased]
6
-
7
- ### Added
8
-
9
- - Multiple page templates for CMS (Blog Človek, Press Center, Product Pages, Signpost, Device LP, Roaming, Pricelist, Basic Pages)
10
-
11
- ### Changed
12
-
13
- - Updated page status tracking with completion indicators (🟢 Done | 🟠 WIP)
14
-
15
- ### Removed
16
-
17
- -
18
-
19
- ## 🌟 [1.0.0-alpha.0] | 3. 9. 2025
20
-
21
- ### Added
22
-
23
- - Nastavenie repozititára
24
- - `Megamenu` pre CMS
25
- - Homepage pre CMS
26
-
27
- ### Changed
28
-
29
- -
30
-
31
- ### Removed
32
-
33
- -
34
-
35
- [unreleased]: https://github.com/orangesk/ecare/compare/1.0.0-alpha.1...1.0.0-alpha.0
36
- [1.0.0-alpha.0]: https://github.com/orangesk/design-system/releases/tag/1.0.0-alpha.0
@@ -1,91 +0,0 @@
1
- import "tsx/esm";
2
- import mdxPlugin from "@jamshop/eleventy-plugin-mdx";
3
- import * as sass from "sass";
4
- import path from "node:path";
5
-
6
- export default async function (eleventyConfig) {
7
- eleventyConfig.addPlugin(mdxPlugin, {
8
- esbuild: {
9
- external: ["@orangesk/orange-design-system", "react", "react-dom"],
10
- },
11
- });
12
-
13
- eleventyConfig.addExtension("scss", {
14
- outputFileExtension: "css",
15
-
16
- // opt-out of Eleventy Layouts
17
- useLayouts: false,
18
-
19
- compile: async function (inputContent, inputPath) {
20
- let parsed = path.parse(inputPath);
21
-
22
- // Don’t any other .scss files than ./src/shame.scss
23
- if (!(parsed.dir === "./src" && parsed.name === "shame")) {
24
- return;
25
- }
26
-
27
- let result = sass.compileString(inputContent, {
28
- loadPaths: [
29
- parsed.dir || ".",
30
- this.config.dir.includes,
31
- "node_modules",
32
- ],
33
- });
34
-
35
- // Map dependencies for incremental builds
36
- this.addDependencies(inputPath, result.loadedUrls);
37
-
38
- return async (_data) => {
39
- return result.css;
40
- };
41
- },
42
- });
43
-
44
- eleventyConfig.addWatchTarget("./src/lib/**/*");
45
- eleventyConfig.addWatchTarget("./src/components/**/*");
46
- eleventyConfig.addWatchTarget("./src/**/*.(jsx|js|ts|tsx)");
47
- eleventyConfig.addWatchTarget("./src/**/*.(scss)");
48
-
49
- // Copies all files from src/assets to dist/assets
50
- eleventyConfig.addPassthroughCopy({
51
- "./src/assets/**.*": "assets",
52
- });
53
-
54
- eleventyConfig.addPassthroughCopy({
55
- "node_modules/@orangesk/orange-design-system/build/fonts": "fonts",
56
- "node_modules/@orangesk/orange-design-system/build/lib": "lib",
57
- "node_modules/@orangesk/orange-design-system/build/images": "images",
58
- "node_modules/@orangesk/orange-design-system/build/favicon.ico":
59
- "/assets/favicon.ico",
60
- "node_modules/@orangesk/orange-design-system/build/sprite.svg":
61
- "sprite.svg",
62
- "node_modules/@orangesk/orange-design-system/build/logo.svg": "logo.svg",
63
- });
64
-
65
- eleventyConfig.addGlobalData("layout", "../layouts/base.njk");
66
- // eleventyConfig.addGlobalData("permalink", () => {
67
- // return (data) => {
68
- // // https://www.11ty.dev/docs/permalinks/#remove-trailing-slashes
69
- // // TODO: fix setting permalink in MDX frontmatter has no effect. This is an attempt on file based routing.
70
- // // return `${data.page.filePathStem}.${data.page.outputFileExtension}`
71
- // return `${data.page.filePathStem.replace("/pages/", "/")}.${data.page.outputFileExtension}`;
72
- // };
73
- // });
74
-
75
- if (typeof global !== "undefined") {
76
- global.window = {};
77
- }
78
- }
79
-
80
- export const config = {
81
- // https://www.11ty.dev/docs/config/#template-formats
82
- templateFormats:
83
- "html,liquid,ejs,md,hbs,mustache,haml,pug,njk,11ty.js,mdx,scss,sass",
84
- dir: {
85
- input: "src",
86
- output: "build",
87
- layouts: "layouts",
88
- includes: "includes",
89
- data: "data",
90
- },
91
- };
package/eslint.config.mjs DELETED
@@ -1,93 +0,0 @@
1
- import { dirname } from "path";
2
- import { fileURLToPath } from "url";
3
- import { FlatCompat } from "@eslint/eslintrc";
4
- import typescriptEslint from "@typescript-eslint/eslint-plugin";
5
- import typescriptParser from "@typescript-eslint/parser";
6
- import unusedImports from "eslint-plugin-unused-imports";
7
-
8
- const __filename = fileURLToPath(import.meta.url);
9
- const __dirname = dirname(__filename);
10
-
11
- const compat = new FlatCompat({
12
- baseDirectory: __dirname,
13
- });
14
-
15
- const eslintConfig = [
16
- ...compat.extends("prettier", "plugin:mdx/recommended"),
17
-
18
- // JavaScript/JSX files
19
- {
20
- files: ["**/*.{js,jsx}"],
21
- plugins: {
22
- "unused-imports": unusedImports,
23
- },
24
- languageOptions: {
25
- ecmaVersion: "latest",
26
- sourceType: "module",
27
- parserOptions: {
28
- ecmaFeatures: {
29
- jsx: true,
30
- },
31
- },
32
- },
33
- rules: {
34
- "no-unused-vars": "off",
35
- "unused-imports/no-unused-imports": "error",
36
- "unused-imports/no-unused-vars": [
37
- "warn",
38
- {
39
- vars: "all",
40
- varsIgnorePattern: "^_",
41
- args: "after-used",
42
- argsIgnorePattern: "^_",
43
- },
44
- ],
45
- },
46
- },
47
-
48
- // TypeScript files
49
- {
50
- files: ["**/*.{ts,tsx}"],
51
- plugins: {
52
- "@typescript-eslint": typescriptEslint,
53
- "unused-imports": unusedImports,
54
- },
55
- languageOptions: {
56
- parser: typescriptParser,
57
- parserOptions: {
58
- project: "./tsconfig.json",
59
- ecmaVersion: "latest",
60
- sourceType: "module",
61
- ecmaFeatures: {
62
- jsx: true,
63
- },
64
- },
65
- },
66
- rules: {
67
- "no-unused-vars": "off",
68
- "@typescript-eslint/no-unused-vars": "off",
69
- "unused-imports/no-unused-imports": "error",
70
- "unused-imports/no-unused-vars": [
71
- "warn",
72
- {
73
- vars: "all",
74
- varsIgnorePattern: "^_",
75
- args: "after-used",
76
- argsIgnorePattern: "^_",
77
- },
78
- ],
79
- "@typescript-eslint/no-explicit-any": "off",
80
- },
81
- },
82
-
83
- // MDX files - disable unused imports rules
84
- {
85
- files: ["**/*.mdx"],
86
- rules: {
87
- "unused-imports/no-unused-vars": "off",
88
- "unused-imports/no-unused-imports": "off",
89
- },
90
- },
91
- ];
92
-
93
- export default eslintConfig;
package/global.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare module "@orangesk/orange-design-system" {
2
- export * from "@orangesk/orange-design-system/build/components/types/index";
3
- }
package/src/changelog.mdx DELETED
@@ -1,11 +0,0 @@
1
- ---
2
- ---
3
-
4
- import Markdown from "./components/Markdown"
5
- import { Section } from "@orangesk/orange-design-system"
6
- import CHANGELOG from "../CHANGELOG.md"
7
-
8
-
9
- <Section>
10
- <CHANGELOG></CHANGELOG>
11
- </Section>
@@ -1,25 +0,0 @@
1
- import {
2
- BlockAction,
3
- Tile,
4
- BlockActionControl,
5
- Link,
6
- } from "@orangesk/orange-design-system";
7
- import React from "react";
8
-
9
- type ActionTileProps = {
10
- children: React.ReactNode;
11
- };
12
-
13
- export const ActionTile = ({ children, ...other }: ActionTileProps) => {
14
- return (
15
- <BlockAction>
16
- <Tile variant="action" className="is-light" {...other}>
17
- <BlockActionControl>
18
- <Link href="#" className="d-block bold is-dark">
19
- {children}
20
- </Link>
21
- </BlockActionControl>
22
- </Tile>
23
- </BlockAction>
24
- );
25
- };
@@ -1,41 +0,0 @@
1
- import { Grid, GridCol, Section } from "@orangesk/orange-design-system";
2
- import React from "react";
3
- import { ActionTile } from "./ActionTile";
4
- import clsx from "clsx";
5
-
6
- type ActionTilesProps = {
7
- title?: string;
8
- tiles?: string[];
9
- className?: string;
10
- };
11
-
12
- export const ActionTiles = ({
13
- title = "Môže vás zaujímať",
14
- tiles = [
15
- "Informácie o právach zákazníkov",
16
- "Súhlasy so spracúvaním osobných údajov",
17
- "Spracúvanie osobných údajov na webových stránkach (cookies a iné)",
18
- ],
19
- className,
20
- ...other
21
- }: ActionTilesProps) => {
22
- const size =
23
- tiles.length >= 4 ? { xs: 12, md: 6, lg: 3 } : { xs: 12, md: 6, lg: 4 };
24
-
25
- return (
26
- <Section
27
- className={clsx("surface-moderate is-dark", className)}
28
- spacing="default"
29
- {...other}
30
- >
31
- <h2 className="thin h2 mb-large">{title}</h2>
32
- <Grid rowGapSize="medium" data-same-height>
33
- {tiles?.map((tile, index) => (
34
- <GridCol key={index} size={size}>
35
- <ActionTile data-same-height-child>{tile}</ActionTile>
36
- </GridCol>
37
- ))}
38
- </Grid>
39
- </Section>
40
- );
41
- };
@@ -1,2 +0,0 @@
1
- export { ActionTile } from "./ActionTile";
2
- export { ActionTiles } from "./ActionTilesSection";
@@ -1,130 +0,0 @@
1
- import React from "react";
2
- import {
3
- Image,
4
- Link,
5
- Tag,
6
- BlockAction,
7
- BlockActionControl,
8
- BlockActionOverride,
9
- Bar,
10
- BarItem,
11
- Icon,
12
- Grid,
13
- GridCol,
14
- } from "@orangesk/orange-design-system";
15
- import clsx from "clsx";
16
-
17
- export type ArticleCardProps = {
18
- tagline: string;
19
- title: string;
20
- tag: string;
21
- /** Image source */
22
- src?: string;
23
- /** Image alt text */
24
- alt?: string;
25
- className?: string;
26
- titleTag?: React.ElementType;
27
- withIcon?: boolean;
28
- withReadingTime?: boolean;
29
- withDate?: boolean;
30
- description?: string;
31
- isHorizontal?: boolean;
32
- horizontalLgDisableDown?: boolean;
33
- children?: React.ReactNode;
34
- };
35
-
36
- export const ArticleCard = ({
37
- tagline,
38
- title,
39
- tag,
40
- src,
41
- alt = "",
42
- titleTag: TitleTag = "h3",
43
- withIcon = false,
44
- withReadingTime = false,
45
- withDate = false,
46
- description,
47
- className,
48
- isHorizontal = false,
49
- horizontalLgDisableDown = false,
50
- children,
51
- }: ArticleCardProps) => {
52
- return (
53
- <BlockAction>
54
- <Grid
55
- vAlign={isHorizontal ? "center" : undefined}
56
- className={clsx(className)}
57
- >
58
- <GridCol
59
- size={
60
- isHorizontal
61
- ? {
62
- xs: horizontalLgDisableDown ? 12 : 3,
63
- lg: 4,
64
- }
65
- : {
66
- xs: 12,
67
- }
68
- }
69
- >
70
- {src && <Image src={src} alt={alt} />}
71
- </GridCol>
72
- <GridCol size="auto">
73
- <p className="mb-xsmall">{tagline}</p>
74
-
75
- <TitleTag>
76
- <BlockActionControl>
77
- <Link href="#" className="h3">
78
- {title}
79
- </Link>
80
- </BlockActionControl>
81
- </TitleTag>
82
- {description && <p>{description}</p>}
83
- {(tag || withIcon || withReadingTime || withDate) && (
84
- <Bar
85
- key="small"
86
- space="small"
87
- className={isHorizontal ? "mb-none" : ""}
88
- >
89
- {tag && (
90
- <BarItem>
91
- <BlockActionOverride>
92
- <Tag
93
- href="#"
94
- color="transparent"
95
- className="align-self-left"
96
- >
97
- {tag}
98
- </Tag>
99
- </BlockActionOverride>
100
- </BarItem>
101
- )}
102
- {withIcon && (
103
- <BarItem className="d-flex">
104
- <Icon
105
- name="article"
106
- size="medium"
107
- className="icon--with-text-end"
108
- />
109
- <span>Článok</span>
110
- </BarItem>
111
- )}
112
- {withReadingTime && (
113
- <BarItem className="d-flex show-sm">
114
- <Icon
115
- name="clock"
116
- size="medium"
117
- className="icon--with-text-end"
118
- />
119
- <span>15 minút</span>
120
- </BarItem>
121
- )}
122
- {withDate && <BarItem>18.8.2025</BarItem>}
123
- </Bar>
124
- )}
125
- {children}
126
- </GridCol>
127
- </Grid>
128
- </BlockAction>
129
- );
130
- };
@@ -1 +0,0 @@
1
- export * from "./ArticleCard";
@@ -1,37 +0,0 @@
1
- import React from "react";
2
- import { Bar, BarItem, Tag, Icon } from "@orangesk/orange-design-system";
3
-
4
- type ArticleMetaProps = {
5
- readingTime?: string;
6
- date?: string;
7
- tagName?: string;
8
- type?: string;
9
- className?: string;
10
- };
11
-
12
- export const ArticleMeta = ({
13
- readingTime = "15 minút",
14
- date = "18. 8. 2025",
15
- tagName = "Iné",
16
- type = "Článok",
17
- className,
18
- }: ArticleMetaProps) => {
19
- return (
20
- <Bar key="small" space="small" className={className}>
21
- <BarItem>
22
- <Tag color="transparent" href="#">
23
- {tagName}
24
- </Tag>
25
- </BarItem>
26
- <BarItem className="d-flex">
27
- <Icon name="article" size="medium" className="icon--with-text-end" />
28
- <span>{type}</span>
29
- </BarItem>
30
- <BarItem className="d-flex hidden show-sm">
31
- <Icon name="clock" size="medium" className="icon--with-text-end" />
32
- <span>{readingTime}</span>
33
- </BarItem>
34
- <BarItem>{date}</BarItem>
35
- </Bar>
36
- );
37
- };
@@ -1 +0,0 @@
1
- export { ArticleMeta } from "./ArticleMeta";
@@ -1,87 +0,0 @@
1
- import React from "react";
2
-
3
- import { Bar, BarItem } from "@orangesk/orange-design-system";
4
-
5
- export const ArticleShare = () => (
6
- <Bar>
7
- <BarItem isFilling className="color-gray">
8
- Zdielať cez
9
- </BarItem>
10
- <BarItem>
11
- <ul className="list-inline">
12
- <li>
13
- <a href="#" aria-label="Zdieľať cez Facebook">
14
- <svg
15
- width="11"
16
- height="20"
17
- viewBox="0 0 11 20"
18
- fill="none"
19
- xmlns="http://www.w3.org/2000/svg"
20
- >
21
- <path
22
- d="M0.582434 10.3969H2.72226V19.2062C2.72226 19.3801 2.86319 19.5211 3.03711 19.5211H6.66526C6.83919 19.5211 6.98012 19.3801 6.98012 19.2062V10.4384H9.44003C9.59997 10.4384 9.73454 10.3184 9.75281 10.1595L10.1264 6.91638C10.1367 6.82715 10.1084 6.73779 10.0487 6.67086C9.98895 6.60385 9.90343 6.5655 9.8137 6.5655H6.98025V4.53254C6.98025 3.91971 7.31022 3.60894 7.96109 3.60894C8.05384 3.60894 9.8137 3.60894 9.8137 3.60894C9.98763 3.60894 10.1286 3.46795 10.1286 3.29409V0.317186C10.1286 0.14326 9.98763 0.00232993 9.8137 0.00232993H7.26053C7.24252 0.00144834 7.20253 0 7.14359 0C6.70059 0 5.16076 0.0869632 3.9444 1.20596C2.59669 2.44599 2.78403 3.93073 2.82881 4.18815V6.56544H0.582434C0.408508 6.56544 0.267578 6.70637 0.267578 6.8803V10.082C0.267578 10.2559 0.408508 10.3969 0.582434 10.3969Z"
23
- fill="currentColor"
24
- />
25
- </svg>
26
- </a>
27
- </li>
28
- <li>
29
- <a href="#" aria-label="Zdieľať cez Linkedin">
30
- <svg
31
- width="19"
32
- height="19"
33
- viewBox="0 0 19 19"
34
- fill="none"
35
- xmlns="http://www.w3.org/2000/svg"
36
- >
37
- <path
38
- d="M4.38622 6.5H0.714888C0.551949 6.5 0.419922 6.63209 0.419922 6.79497V18.5894C0.419922 18.7523 0.551949 18.8843 0.714888 18.8843H4.38622C4.54916 18.8843 4.68119 18.7523 4.68119 18.5894V6.79497C4.68119 6.63209 4.54916 6.5 4.38622 6.5Z"
39
- fill="currentColor"
40
- />
41
- <path
42
- d="M2.55153 0.636963C1.21568 0.636963 0.128906 1.72256 0.128906 3.05693C0.128906 4.39189 1.21568 5.4779 2.55153 5.4779C3.88631 5.4779 4.9722 4.39183 4.9722 3.05693C4.97226 1.72256 3.88631 0.636963 2.55153 0.636963Z"
43
- fill="currentColor"
44
- />
45
- <path
46
- d="M13.7241 6.20605C12.2496 6.20605 11.1596 6.83994 10.4985 7.56019V6.79416C10.4985 6.63128 10.3664 6.49919 10.2035 6.49919H6.68754C6.52461 6.49919 6.39258 6.63128 6.39258 6.79416V18.5886C6.39258 18.7515 6.52461 18.8835 6.68754 18.8835H10.3509C10.5138 18.8835 10.6458 18.7515 10.6458 18.5886V12.7531C10.6458 10.7866 11.1799 10.0206 12.5507 10.0206C14.0436 10.0206 14.1622 11.2487 14.1622 12.8542V18.5886C14.1622 18.7516 14.2943 18.8836 14.4572 18.8836H18.1219C18.2848 18.8836 18.4168 18.7516 18.4168 18.5886V12.1192C18.4168 9.19519 17.8593 6.20605 13.7241 6.20605Z"
47
- fill="currentColor"
48
- />
49
- </svg>
50
- </a>
51
- </li>
52
- <li>
53
- <a href="#" aria-label="Zdieľať cez X (Twitter)">
54
- <svg
55
- width="19"
56
- height="17"
57
- viewBox="0 0 19 17"
58
- fill="none"
59
- xmlns="http://www.w3.org/2000/svg"
60
- >
61
- <path
62
- d="M14.7381 0.541504H17.5266L11.4346 7.50457L18.6015 16.9795H12.9897L8.59456 11.2328L3.56541 16.9795H0.775073L7.29113 9.53183L0.416016 0.541504H6.16999L10.143 5.79399L14.7381 0.541504ZM13.7594 15.3103H15.3046L5.33047 2.12304H3.67247L13.7594 15.3103Z"
63
- fill="currentColor"
64
- />
65
- </svg>
66
- </a>
67
- </li>
68
- <li>
69
- <a href="#" aria-label="Zdieľať cez email">
70
- <svg
71
- width="22"
72
- height="17"
73
- viewBox="0 0 22 17"
74
- fill="none"
75
- xmlns="http://www.w3.org/2000/svg"
76
- >
77
- <path
78
- d="M19.9328 16.8734H2.66877C1.52793 16.8725 0.603362 15.9479 0.601562 14.8071V2.71376C0.603365 1.57293 1.52793 0.648361 2.66877 0.647461H19.9328C21.0736 0.648362 21.9982 1.57293 22 2.71376V14.8071C21.9982 15.9479 21.0736 16.8725 19.9328 16.8734ZM2.04336 3.23651V14.8071C2.04426 15.1522 2.32361 15.4316 2.66874 15.4316H19.9328C20.2779 15.4316 20.5573 15.1522 20.5582 14.8071V3.23559C18.1973 5.81011 14.3403 10.0221 12.5001 12.0452H12.4992C12.1847 12.3678 11.7522 12.5499 11.3016 12.5499C10.8501 12.5508 10.4176 12.3687 10.1022 12.0461L2.04336 3.23651ZM2.94811 2.08935L11.1674 11.0736C11.1963 11.1187 11.2467 11.1457 11.3008 11.1457C11.3549 11.1457 11.4053 11.1187 11.4342 11.0727C13.3166 9.00553 17.3087 4.6459 19.6525 2.08937L2.94811 2.08935Z"
79
- fill="currentColor"
80
- />
81
- </svg>
82
- </a>
83
- </li>
84
- </ul>
85
- </BarItem>
86
- </Bar>
87
- );
@@ -1 +0,0 @@
1
- export { ArticleShare } from "./ArticleShare";
@@ -1,30 +0,0 @@
1
- import React from "react";
2
- import { Bar, BarItem, Image } from "@orangesk/orange-design-system";
3
-
4
- type AvatarCardProps = {
5
- src: string;
6
- alt?: string;
7
- name: string;
8
- role: string;
9
- className?: string;
10
- };
11
-
12
- export const AvatarCard = ({
13
- src,
14
- alt = "avatar",
15
- name,
16
- role,
17
- className,
18
- }: AvatarCardProps) => {
19
- return (
20
- <Bar key="small" className={className}>
21
- <BarItem>
22
- <Image src={src} alt={alt} />
23
- </BarItem>
24
- <BarItem>
25
- <p className="bold mb-none">{name}</p>
26
- <p>{role}</p>
27
- </BarItem>
28
- </Bar>
29
- );
30
- };
@@ -1 +0,0 @@
1
- export { AvatarCard } from "./AvatarCard";