@cnv-vn/track 0.3.0-beta.17 → 0.3.0-beta.19

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.
@@ -563,6 +563,7 @@ interface LauncherRemoteConfig {
563
563
  buttonShape?: 'SQUARE' | 'SHAVED' | 'ROUNDED' | 'CIRCULAR';
564
564
  placementDesktop?: LauncherPlacement;
565
565
  placementMobile?: LauncherPlacement;
566
+ /** Hex hoặc `linear-gradient(…)` (xem `isValidGradient`). */
566
567
  backgroundColor?: string;
567
568
  textColor?: string;
568
569
  contentLayoutDesktop?: 'ICON_WITH_TEXT' | 'TEXT_ONLY' | 'ICON_ONLY';
@@ -645,10 +646,12 @@ interface PanelContentBlock {
645
646
  description?: string;
646
647
  }
647
648
  interface PanelColors {
649
+ /** Hex hoặc `linear-gradient(…)` (xem `isValidGradient`), như `buttonBg`. */
648
650
  bannerBg?: string;
649
651
  bannerFont?: string;
650
652
  /** Mirror model admin — `core/panel.ts` hiện CHƯA render field này (Panel không có header bar riêng). */
651
653
  headerBarFont?: string;
654
+ /** Hex hoặc `linear-gradient(…)` (xem `isValidGradient`). */
652
655
  buttonBg?: string;
653
656
  buttonFont?: string;
654
657
  linkColor?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnv-vn/track",
3
- "version": "0.3.0-beta.17",
3
+ "version": "0.3.0-beta.19",
4
4
  "description": "CNV Tracking SDK — lightweight, async-first web analytics tracker (<30KB gzipped).",
5
5
  "keywords": [
6
6
  "analytics",
@@ -97,13 +97,13 @@
97
97
  {
98
98
  "name": "IIFE (minified + gzipped)",
99
99
  "path": "dist/cnv-track.min.js",
100
- "limit": "50 KB",
100
+ "limit": "60 KB",
101
101
  "gzip": true
102
102
  },
103
103
  {
104
104
  "name": "ESM tree-shaken (gzipped)",
105
105
  "path": "dist/cnv-track.esm.js",
106
- "limit": "50 KB",
106
+ "limit": "60 KB",
107
107
  "gzip": true
108
108
  }
109
109
  ],