@quicktalog/common 1.8.0 → 1.10.0

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.
@@ -11,5 +11,4 @@ export declare const layouts: {
11
11
  image: string;
12
12
  description: string;
13
13
  }[];
14
- export declare const DARK_THEMES: string[];
15
14
  export declare const DEFAULT_EMAIL = "quicktalog@outlook.com";
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_EMAIL = exports.DARK_THEMES = exports.layouts = exports.themes = void 0;
3
+ exports.DEFAULT_EMAIL = exports.layouts = exports.themes = void 0;
4
4
  exports.themes = [
5
5
  {
6
6
  id: 1,
@@ -14,7 +14,7 @@ exports.themes = [
14
14
  key: "theme-advent-2",
15
15
  label: "Advent 2",
16
16
  description: "A warm and festive theme inspired by the spirit of anticipation and celebration. Advent combines cozy winter tones, gentle contrasts, and elegant typography to evoke a sense of calm preparation and joyful expectation. Ideal for holiday campaigns, seasonal landing pages, or storytelling experiences that blend warmth, tradition, and modern simplicity.",
17
- type: "dark",
17
+ type: "light",
18
18
  },
19
19
  {
20
20
  id: 3,
@@ -78,5 +78,4 @@ exports.layouts = [
78
78
  description: "Carousel layout: Catalogue items are displayed in a horizontal scrollable carousel, allowing users to swipe or scroll through items. Great for featured items or visually rich catalogues.",
79
79
  },
80
80
  ];
81
- exports.DARK_THEMES = ["theme-elegant", "theme-modern", "theme-creative"];
82
81
  exports.DEFAULT_EMAIL = "quicktalog@outlook.com";
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { layouts, themes } from "./constants";
2
- export type Status = "active" | "inactive" | "draft" | "in preparation";
2
+ export type Status = "active" | "inactive" | "draft" | "in preparation" | "error";
3
3
  export type CookiePreferences = {
4
4
  accepted: boolean;
5
5
  essential: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktalog/common",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/constants.ts CHANGED
@@ -13,7 +13,7 @@ export const themes = [
13
13
  label: "Advent 2",
14
14
  description:
15
15
  "A warm and festive theme inspired by the spirit of anticipation and celebration. Advent combines cozy winter tones, gentle contrasts, and elegant typography to evoke a sense of calm preparation and joyful expectation. Ideal for holiday campaigns, seasonal landing pages, or storytelling experiences that blend warmth, tradition, and modern simplicity.",
16
- type: "dark",
16
+ type: "light",
17
17
  },
18
18
  {
19
19
  id: 3,
@@ -87,6 +87,4 @@ export const layouts = [
87
87
  "Carousel layout: Catalogue items are displayed in a horizontal scrollable carousel, allowing users to swipe or scroll through items. Great for featured items or visually rich catalogues.",
88
88
  },
89
89
  ];
90
-
91
- export const DARK_THEMES = ["theme-elegant", "theme-modern", "theme-creative"];
92
90
  export const DEFAULT_EMAIL = "quicktalog@outlook.com";
package/src/types.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  import { layouts, themes } from "./constants";
2
2
 
3
- export type Status = "active" | "inactive" | "draft" | "in preparation";
3
+ export type Status =
4
+ | "active"
5
+ | "inactive"
6
+ | "draft"
7
+ | "in preparation"
8
+ | "error";
4
9
 
5
10
  export type CookiePreferences = {
6
11
  accepted: boolean;