@orangesk/cms-templates 1.0.0-beta.32 → 1.0.0-beta.33

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 (53) hide show
  1. package/README.md +26 -0
  2. package/package.json +6 -6
  3. package/build/changelog/index.html +0 -805
  4. package/build/components/ContactFormB2B/index.html +0 -30
  5. package/build/index.html +0 -48
  6. package/build/pages/basic-page-about-the-brand/index.html +0 -45
  7. package/build/pages/basic-page-gdpr/index.html +0 -45
  8. package/build/pages/blog-homepage-clovek/index.html +0 -30
  9. package/build/pages/blog-news-clovek/index.html +0 -45
  10. package/build/pages/blog-post-clovek/index.html +0 -45
  11. package/build/pages/business-trends-homepage/index.html +0 -30
  12. package/build/pages/business-trends-news/index.html +0 -30
  13. package/build/pages/business-trends-post/index.html +0 -30
  14. package/build/pages/career-at-orange/index.html +0 -45
  15. package/build/pages/device-lp-b2b/index.html +0 -30
  16. package/build/pages/device-lp-b2c/index.html +0 -30
  17. package/build/pages/device-lp-dvojicky-b2b/index.html +0 -30
  18. package/build/pages/device-lp-dvojicky-b2c/index.html +0 -30
  19. package/build/pages/digital-invoice/index.html +0 -45
  20. package/build/pages/help-and-support-b2b/index.html +0 -30
  21. package/build/pages/help-and-support-b2c/index.html +0 -30
  22. package/build/pages/homepage-b2b/index.html +0 -30
  23. package/build/pages/homepage-b2c/index.html +0 -30
  24. package/build/pages/increased-invoice/index.html +0 -46
  25. package/build/pages/invoices-and-payments/index.html +0 -45
  26. package/build/pages/job-offer-detail/index.html +0 -45
  27. package/build/pages/manuals-and-settings/index.html +0 -45
  28. package/build/pages/manuals-and-settings-general-template/index.html +0 -30
  29. package/build/pages/navody-a-nastavenia-apple-ios-16/index.html +0 -45
  30. package/build/pages/orange-tv-box/index.html +0 -47
  31. package/build/pages/press-and-news-releases/index.html +0 -45
  32. package/build/pages/press-and-news-releases-post/index.html +0 -45
  33. package/build/pages/press-center-docs-library/index.html +0 -45
  34. package/build/pages/press-center-general-terms/index.html +0 -68
  35. package/build/pages/press-center-informations-for-customers/index.html +0 -45
  36. package/build/pages/pricelist/index.html +0 -45
  37. package/build/pages/pricelist-tariff/index.html +0 -45
  38. package/build/pages/product-page-b2b-market-locator/index.html +0 -45
  39. package/build/pages/product-page-b2b-microsoft-365/index.html +0 -45
  40. package/build/pages/product-page-b2b-soc-as-a-service/index.html +0 -45
  41. package/build/pages/product-page-b2c-equipment-insurance/index.html +0 -48
  42. package/build/pages/product-page-b2c-online-security/index.html +0 -49
  43. package/build/pages/product-page-b2c-prima-volba/index.html +0 -45
  44. package/build/pages/roaming-b2b/index.html +0 -31
  45. package/build/pages/roaming-b2c/index.html +0 -31
  46. package/build/pages/roaming-b2c-detail/index.html +0 -30
  47. package/build/pages/roaming-b2c-overview/index.html +0 -30
  48. package/build/pages/signpost-insurance/index.html +0 -45
  49. package/build/pages/signpost-products-and-services/index.html +0 -45
  50. package/build/pages/tv-first-aid/index.html +0 -47
  51. package/build/pages/work-on-central/index.html +0 -48
  52. package/build/readme/index.html +0 -65
  53. package/build/shame.css +0 -143
package/README.md CHANGED
@@ -30,3 +30,29 @@ style={{ backgroundColor: "#D9DAC6" }}
30
30
  // Use:
31
31
  style={{ "--color-background-primary": "#D9DAC6" }}
32
32
  ```
33
+
34
+ ## `data-ods-id`
35
+
36
+ Page templates use static `data-ods-id` attributes on root content sections.
37
+
38
+ Purpose:
39
+
40
+ - They allow an external supplier to compare rendered HTML over time.
41
+ - They provide a stable identifier for the same page section even when markup inside the section changes.
42
+ - They make it easier to detect whether a section was added, removed, reordered, or edited between template versions.
43
+
44
+ Rules:
45
+
46
+ - `data-ods-id` must be static, readable, and unique within the rendered page.
47
+ - For shared templates, the final value is built from `odsPrefix`, so B2C/B2B variants can reuse the same structure while keeping different IDs.
48
+ - Add `data-ods-id` to the root page section component only.
49
+ - Do not duplicate the same logical section ID on nested visual wrappers if the parent section already has its own `data-ods-id`.
50
+ - If a section is rendered directly by a root component without an outer `Section` wrapper, add the `data-ods-id` to that root component.
51
+
52
+ Example:
53
+
54
+ ```jsx
55
+ <Section data-ods-id="homepage-b2c__section-03">
56
+ ...
57
+ </Section>
58
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangesk/cms-templates",
3
- "version": "1.0.0-beta.32",
3
+ "version": "1.0.0-beta.33",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -21,20 +21,20 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@11ty/eleventy": "^3.1.6",
24
- "@orangesk/orange-design-system": "2.1.0",
24
+ "@orangesk/orange-design-system": "3.1.0",
25
25
  "clsx": "^2.1.1",
26
- "markdown-to-jsx": "9.8.1",
26
+ "markdown-to-jsx": "9.8.2",
27
27
  "react": "^19.2.7",
28
28
  "react-dom": "^19.2.7",
29
- "sass": "^1.100.0"
29
+ "sass": "^1.101.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@eslint/eslintrc": "3.3.5",
33
33
  "@jamshop/eleventy-plugin-mdx": "^0.0.17",
34
34
  "@mdx-js/mdx": "^3.1.1",
35
35
  "@types/react": "^19.2.17",
36
- "@typescript-eslint/eslint-plugin": "^8.61.0",
37
- "@typescript-eslint/parser": "^8.61.0",
36
+ "@typescript-eslint/eslint-plugin": "^8.62.0",
37
+ "@typescript-eslint/parser": "^8.62.0",
38
38
  "eslint": "latest",
39
39
  "eslint-config-prettier": "^10.1.8",
40
40
  "eslint-plugin-mdx": "^3.8.1",