@se-studio/core-ui 1.33.2 → 1.33.3

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.
package/ANALYTICS.md CHANGED
@@ -71,6 +71,24 @@ function SubscribeButton() {
71
71
  }
72
72
  ```
73
73
 
74
+ ## Standard event list
75
+
76
+ Aim for one event list across sites, decided site by site. It will not be 100% consistent. Change carefully and never break a site's existing tracking just to match.
77
+
78
+ Target names (same property names where the site already uses them):
79
+
80
+ | Event | When |
81
+ |-------|------|
82
+ | `page_view` | Full and soft navigations |
83
+ | `click` | Tracked UI clicks (`trackClick`) |
84
+ | `form_view` | Form is shown (needed for conversion rate; not fired on sites yet) |
85
+ | `form_start` | First interaction with a form field |
86
+ | `form_submit` | Successful submit |
87
+ | `form_error` | Submit failed (validation or HubSpot/API error shown to the user) |
88
+ | `video_play` | Video starts |
89
+
90
+ Sites may add extra events. Do not rename or drop an existing site event only to converge. Policy: `docs/PHILOSOPHY.md` R7.5. Form failure handling: `@se-studio/hubspot` `docs/llms.md`.
91
+
74
92
  ## Google Tag Manager (GTM)
75
93
 
76
94
  The `GoogleTagManagerAdapter` supports both GTM Container ID and GA4 Measurement ID.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @se-studio/core-ui
2
2
 
3
+ ## 1.33.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9c18b9c]
8
+ - @se-studio/contentful-rest-api@1.28.3
9
+
3
10
  ## 1.33.2
4
11
 
5
12
  ### Patch Changes
package/CONSENT.md CHANGED
@@ -15,6 +15,8 @@ The consent system ensures that:
15
15
 
16
16
  Wrap your application with `ConsentProvider` and provide configuration.
17
17
 
18
+ **Consent defaults are site-specific configuration.** `default` / `required` on each app are decided per site (and by any consent-management platform in use). US sites without a CMP often set analytics `default: true` so tracking is on until the visitor opts out. Sites with a CMP should follow that platform. Do not copy another site's defaults blindly.
19
+
18
20
  ```tsx
19
21
  import { ConsentProvider } from '@se-studio/core-ui';
20
22
 
@@ -26,6 +28,7 @@ const config = {
26
28
  purposes: ['analytics'],
27
29
  cookies: ['_ga', '_gid'],
28
30
  required: false,
31
+ // Example only — set per site. US sites without a CMP often use `true`.
29
32
  default: true,
30
33
  },
31
34
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/core-ui",
3
- "version": "1.33.2",
3
+ "version": "1.33.3",
4
4
  "description": "Shared React UI component library with Tailwind CSS v4 for SE Studio applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -76,7 +76,7 @@
76
76
  "@contentful/rich-text-react-renderer": "^16.2.2",
77
77
  "@contentful/rich-text-types": "^17.2.7",
78
78
  "@radix-ui/react-slot": "1.3.3",
79
- "@se-studio/contentful-rest-api": "1.28.2",
79
+ "@se-studio/contentful-rest-api": "1.28.3",
80
80
  "@se-studio/core-data-types": "1.13.7",
81
81
  "@types/mustache": "4.2.6",
82
82
  "@vimeo/player": "^2.30.4",