@otl-core/cms-types 1.1.25 → 1.1.27

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/dist/index.d.cts CHANGED
@@ -698,8 +698,18 @@ interface HeaderConfig {
698
698
  alt: string;
699
699
  url: string;
700
700
  text?: string;
701
- width?: number;
702
- height?: number;
701
+ /**
702
+ * CSS width for the logo image. Accepts a responsive value
703
+ * (e.g. `{ base: "120px", md: "160px" }`). Legacy numeric values
704
+ * (interpreted as pixels) are still accepted for backwards compat.
705
+ */
706
+ width?: ResponsiveValue<string> | number;
707
+ /**
708
+ * CSS height for the logo image. Accepts a responsive value
709
+ * (e.g. `{ base: "32px", md: "40px" }`). Legacy numeric values
710
+ * (interpreted as pixels) are still accepted for backwards compat.
711
+ */
712
+ height?: ResponsiveValue<string> | number;
703
713
  };
704
714
  togglerSectionId: string;
705
715
  sections: HeaderSection[];
package/dist/index.d.ts CHANGED
@@ -698,8 +698,18 @@ interface HeaderConfig {
698
698
  alt: string;
699
699
  url: string;
700
700
  text?: string;
701
- width?: number;
702
- height?: number;
701
+ /**
702
+ * CSS width for the logo image. Accepts a responsive value
703
+ * (e.g. `{ base: "120px", md: "160px" }`). Legacy numeric values
704
+ * (interpreted as pixels) are still accepted for backwards compat.
705
+ */
706
+ width?: ResponsiveValue<string> | number;
707
+ /**
708
+ * CSS height for the logo image. Accepts a responsive value
709
+ * (e.g. `{ base: "32px", md: "40px" }`). Legacy numeric values
710
+ * (interpreted as pixels) are still accepted for backwards compat.
711
+ */
712
+ height?: ResponsiveValue<string> | number;
703
713
  };
704
714
  togglerSectionId: string;
705
715
  sections: HeaderSection[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otl-core/cms-types",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript types for OTL CMS",
6
6
  "main": "./dist/index.cjs",