@quicktalog/common 1.50.0 → 1.52.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.
@@ -58,19 +58,12 @@ export const themes = [
58
58
  type: "dark",
59
59
  },
60
60
  {
61
- id: 9,
61
+ id: 10,
62
62
  key: "theme-coffee",
63
63
  label: "Coffee",
64
64
  type: "light",
65
65
  description: "A warm, inviting theme with rich brown tones, cream accents, and cozy typography. Perfect for coffee shops or cafes seeking a comforting, rustic vibe.",
66
66
  },
67
- {
68
- id: 10,
69
- key: "theme-vintage",
70
- label: "Vintage",
71
- type: "light",
72
- description: "A classic, timeless theme with warm earth tones, cream accents, and vintage-inspired typography. Ideal for establishments seeking a nostalgic, charming atmosphere.",
73
- },
74
67
  ];
75
68
  export const layouts = [
76
69
  {
@@ -26,6 +26,7 @@ export type BaseContentBlock = {
26
26
  };
27
27
  export type DividerBlock = BaseContentBlock & {
28
28
  type: "divider";
29
+ name?: string;
29
30
  spacing: number;
30
31
  border?: {
31
32
  isEnabled: boolean;
@@ -50,14 +51,17 @@ export type ContainerBlock = BaseContentBlock & {
50
51
  };
51
52
  export type EmbeddingBlock = BaseContentBlock & {
52
53
  type: "embedding";
54
+ name?: string;
53
55
  code: string;
54
56
  };
55
57
  export type CustomCodeBlock = BaseContentBlock & {
56
58
  type: "custom_code";
59
+ name?: string;
57
60
  code: string;
58
61
  };
59
62
  export type TextBlock = BaseContentBlock & {
60
63
  type: "text";
64
+ name?: string;
61
65
  content: string;
62
66
  };
63
67
  export type ContentBlock = CategoryBlock | ContainerBlock | EmbeddingBlock | CustomCodeBlock | TextBlock | DividerBlock;
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "@quicktalog/common",
3
- "version": "1.50.0",
3
+ "version": "1.52.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/nikolamirilo/quicktalog-packages.git"
7
+ },
8
+ "homepage": "https://github.com/nikolamirilo/quicktalog-packages#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/nikolamirilo/quicktalog-packages/issues"
11
+ },
4
12
  "type": "module",
5
13
  "main": "dist/index.js",
6
14
  "types": "dist/index.d.ts",