@plitzi/plitzi-builder 0.32.5 → 0.32.7

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/index.html +2 -4
  3. package/dist/modules/AI/components/ChatMessage/ChatMessage.d.ts +2 -2
  4. package/dist/modules/AI/components/ChatMessage/components/AIBrandPreview/AIBrandPreview.d.ts +1 -1
  5. package/dist/modules/AI/components/ChatMessage/components/AIBrandPreview/components/BrandHero/BrandHero.d.ts +1 -1
  6. package/dist/modules/AI/components/ChatMessage/components/AIBrandPreview/components/BrandTypography/BrandTypography.d.ts +1 -1
  7. package/dist/modules/AI/components/ChatMessage/components/AIBrandPreview/components/BrandVoice/BrandVoice.d.ts +1 -1
  8. package/dist/modules/AI/components/ChatMessage/components/AIColorPalettePreview/AIColorPalettePreview.d.ts +1 -1
  9. package/dist/modules/AI/components/ChatMessage/components/AIColorPalettePreview/components/ColorPaletteRow/ColorPaletteRow.d.ts +1 -1
  10. package/dist/modules/AI/components/ChatMessage/components/AIColorPalettePreview/helpers.d.ts +1 -1
  11. package/dist/modules/AI/components/ChatMessage/components/AIStyleGuidePreview/AIStyleGuidePreview.d.ts +1 -1
  12. package/dist/modules/AI/components/ChatMessage/components/AIStyleGuidePreview/components/ColorScaleRow/ColorScaleRow.d.ts +1 -1
  13. package/dist/modules/AI/components/ChatMessage/components/AIStyleGuidePreview/helpers.d.ts +1 -1
  14. package/dist/modules/AI/components/ChatMessage/components/AIWireframePreview/AIWireframePreview.d.ts +1 -1
  15. package/dist/modules/AI/components/ChatMessage/components/AssistantMessage/AssistantMessage.d.ts +2 -2
  16. package/dist/modules/AI/components/ChatMessage/helpers/extractToolVisual.d.ts +1 -5
  17. package/dist/modules/AI/components/ChatMessage/helpers/groupStepsIntoItems.d.ts +29 -0
  18. package/dist/modules/AI/components/ChatMessage/helpers/toolVisualTypes.d.ts +103 -0
  19. package/dist/modules/AI/components/ToolVisualRenderer/ToolVisualRenderer.d.ts +2 -2
  20. package/dist/modules/App/models/PageForm.d.ts +3 -1
  21. package/dist/modules/Builder/components/BuilderElementTools/ElementDefinitionSettings.d.ts +4 -1
  22. package/dist/modules/Builder/components/BuilderOverlay/OverlayButtonContainer.d.ts +2 -2
  23. package/dist/modules/Builder/components/BuilderOverlay/OverlaySpacing.d.ts +2 -2
  24. package/dist/modules/DataSource/BindingSelected.d.ts +2 -3
  25. package/dist/modules/DataSource/helpers/getBindingWarnings.d.ts +17 -0
  26. package/dist/modules/DataSource/helpers/getBindingWarnings.test.d.ts +1 -0
  27. package/dist/modules/DataSource/helpers/transformerString.d.ts +2 -5
  28. package/dist/modules/DataSource/models/BindingForm/BindingForm.d.ts +4 -7
  29. package/dist/modules/Interactions/Interactions.d.ts +2 -2
  30. package/dist/modules/Interactions/components/Workflow/WorkflowHeader.d.ts +7 -1
  31. package/dist/modules/Interactions/components/Workflow/helpers/nodeWarnings.d.ts +24 -0
  32. package/dist/modules/Interactions/components/Workflow/helpers/nodeWarnings.test.d.ts +1 -0
  33. package/dist/modules/Segments/SegmentsReducer.d.ts +9 -0
  34. package/dist/package.json.d.ts +20 -21
  35. package/dist/plitzi-builder-dev-vendor.js +6 -6
  36. package/dist/plitzi-builder-dev-vendor.js.gz +0 -0
  37. package/dist/plitzi-builder-dev-vendor.js.map +1 -1
  38. package/dist/plitzi-builder-dev-vendor.js.map.gz +0 -0
  39. package/dist/plitzi-builder-vendor.js +1 -1
  40. package/dist/plitzi-builder-vendor.js.gz +0 -0
  41. package/dist/plitzi-builder.css +2 -2
  42. package/dist/plitzi-builder.css.gz +0 -0
  43. package/dist/plitzi-builder.js +1395 -1236
  44. package/dist/plitzi-builder.js.gz +0 -0
  45. package/package.json +34 -35
  46. package/dist/modules/AI/components/ChatMessage/helpers/getBrandResult.d.ts +0 -37
  47. package/dist/modules/AI/components/ChatMessage/helpers/getColorPaletteResult.d.ts +0 -14
  48. package/dist/modules/AI/components/ChatMessage/helpers/getStagePreviewResult.d.ts +0 -11
  49. package/dist/modules/AI/components/ChatMessage/helpers/getStyleGuideResult.d.ts +0 -45
  50. package/dist/modules/AI/components/ChatMessage/helpers/getWireframeResult.d.ts +0 -12
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/plitzi-builder",
3
- "version": "0.32.5",
3
+ "version": "0.32.7",
4
4
  "homepage": "./",
5
5
  "license": "AGPL-3.0",
6
6
  "files": [
@@ -26,35 +26,34 @@
26
26
  "./plitzi-builder-dev-vendor.js.map": "./dist/plitzi-builder-dev-vendor.js.map"
27
27
  },
28
28
  "dependencies": {
29
- "@apollo/client": "^4.2.6",
30
- "@fortawesome/fontawesome-free": "^7.3.0",
31
- "@plitzi/nexus": "0.32.5",
32
- "@plitzi/plitzi-sdk": "0.32.5",
33
- "@plitzi/plitzi-ui": "^1.6.13",
34
- "@plitzi/sdk-auth": "0.32.5",
35
- "@plitzi/sdk-collections": "0.32.5",
36
- "@plitzi/sdk-dev-tools": "0.32.5",
37
- "@plitzi/sdk-elements": "0.32.5",
38
- "@plitzi/sdk-event-bridge": "0.32.5",
39
- "@plitzi/sdk-interactions": "0.32.5",
40
- "@plitzi/sdk-navigation": "0.32.5",
41
- "@plitzi/sdk-plugins": "0.32.5",
42
- "@plitzi/sdk-schema": "0.32.5",
43
- "@plitzi/sdk-shared": "0.32.5",
44
- "@plitzi/sdk-style": "0.32.5",
45
- "@plitzi/sdk-variables": "0.32.5",
46
- "@tanstack/react-virtual": "^3.14.5",
29
+ "@apollo/client": "^4.2.7",
30
+ "@fortawesome/fontawesome-free": "^7.3.1",
31
+ "@plitzi/nexus": "0.32.7",
32
+ "@plitzi/plitzi-sdk": "0.32.7",
33
+ "@plitzi/plitzi-ui": "^1.6.17",
34
+ "@plitzi/sdk-auth": "0.32.7",
35
+ "@plitzi/sdk-collections": "0.32.7",
36
+ "@plitzi/sdk-dev-tools": "0.32.7",
37
+ "@plitzi/sdk-elements": "0.32.7",
38
+ "@plitzi/sdk-event-bridge": "0.32.7",
39
+ "@plitzi/sdk-interactions": "0.32.7",
40
+ "@plitzi/sdk-navigation": "0.32.7",
41
+ "@plitzi/sdk-plugins": "0.32.7",
42
+ "@plitzi/sdk-schema": "0.32.7",
43
+ "@plitzi/sdk-shared": "0.32.7",
44
+ "@plitzi/sdk-style": "0.32.7",
45
+ "@plitzi/sdk-variables": "0.32.7",
46
+ "@tanstack/react-virtual": "^3.14.8",
47
47
  "@xyflow/react": "^12.11.2",
48
48
  "apollo-upload-client": "^19.0.0",
49
49
  "clsx": "^2.1.1",
50
50
  "graphql": "^17.0.2",
51
- "graphql-ws": "^6.1.0",
52
- "immer": "^11.1.11",
51
+ "graphql-ws": "^6.1.1",
52
+ "immer": "^11.1.15",
53
53
  "jszip": "^3.10.1",
54
- "react-hook-form": "^7.81.0",
54
+ "react-hook-form": "^7.82.0",
55
55
  "react-router-dom": "^7.18.1",
56
56
  "swr": "^2.4.2",
57
- "twig": "^3.0.0",
58
57
  "uuid": "^14.0.1",
59
58
  "zod": "^4.4.3"
60
59
  },
@@ -73,30 +72,30 @@
73
72
  "@babel/polyfill": "^7.12.1",
74
73
  "@babel/preset-env": "^8.0.2",
75
74
  "@babel/preset-react": "^8.0.1",
76
- "@tailwindcss/postcss": "^4.3.2",
75
+ "@tailwindcss/postcss": "^4.3.3",
77
76
  "css-loader": "^7.1.4",
78
- "cypress": "15.18.1",
79
- "eslint": "^9.39.4",
77
+ "cypress": "15.19.0",
78
+ "eslint": "^9.39.5",
80
79
  "eslint-plugin-import": "^2.32.0",
81
- "flow-bin": "^0.322.0",
82
- "postcss": "^8.5.17",
80
+ "flow-bin": "^0.323.0",
81
+ "postcss": "^8.5.22",
83
82
  "postcss-loader": "^8.2.1",
84
83
  "postcss-scss": "^4.0.9",
85
- "prettier": "^3.9.5",
84
+ "prettier": "^3.9.6",
86
85
  "prop-types": "^15.8.1",
87
- "react": "^19.2.7",
88
- "react-dom": "^19.2.7",
86
+ "react": "^19.2.8",
87
+ "react-dom": "^19.2.8",
89
88
  "react-refresh": "^0.18.0",
90
- "react-test-renderer": "^19.2.7",
91
- "sass": "^1.101.0",
89
+ "react-test-renderer": "^19.2.8",
90
+ "sass": "^1.101.6",
92
91
  "sass-embedded": "^1.100.0",
93
92
  "sass-loader": "^17.0.0",
94
- "stylelint": "^17.14.0",
93
+ "stylelint": "^17.14.1",
95
94
  "stylelint-order": "^8.1.1",
96
95
  "stylelint-scss": "^7.2.0",
97
96
  "terser": "^5.49.0",
98
97
  "typescript": "^6.0.3",
99
- "vite": "^8.1.4",
98
+ "vite": "^8.1.5",
100
99
  "vite-plugin-dts": "^5.0.3",
101
100
  "vite-plugin-ejs": "^2.0.0",
102
101
  "vite-plugin-mkcert": "^2.1.0",
@@ -1,37 +0,0 @@
1
- import { AiMessage } from '../../../types';
2
- export type BrandTypeface = {
3
- family: string;
4
- weight?: string;
5
- tracking?: string;
6
- };
7
- export type BrandData = {
8
- name: string;
9
- tagline?: string;
10
- personality: string[];
11
- colors: {
12
- primary: string;
13
- secondary?: string;
14
- accent?: string;
15
- background?: string;
16
- surface?: string;
17
- text?: string;
18
- };
19
- colorsDark?: {
20
- primary?: string;
21
- secondary?: string;
22
- accent?: string;
23
- background?: string;
24
- surface?: string;
25
- text?: string;
26
- };
27
- typography?: {
28
- heading: BrandTypeface;
29
- body: BrandTypeface;
30
- };
31
- voice?: {
32
- tone: string;
33
- keywords?: string[];
34
- };
35
- };
36
- declare const getBrandResult: (tools?: AiMessage["tools"]) => BrandData | undefined;
37
- export default getBrandResult;
@@ -1,14 +0,0 @@
1
- import { AiMessage } from '../../../types';
2
- export type ColorItem = {
3
- name: string;
4
- hex: string;
5
- darkHex?: string;
6
- role?: string;
7
- };
8
- export type ColorPaletteData = {
9
- name: string;
10
- description?: string;
11
- colors: ColorItem[];
12
- };
13
- declare const getColorPaletteResult: (tools?: AiMessage["tools"]) => ColorPaletteData | undefined;
14
- export default getColorPaletteResult;
@@ -1,11 +0,0 @@
1
- import { Schema, Style } from '@plitzi/sdk-shared';
2
- import { AiMessage } from '../../../types';
3
- export type PreviewData = {
4
- baseElementId: string;
5
- schema?: Pick<Schema, 'flat'>;
6
- style?: Pick<Style, 'platform' | 'cache'>;
7
- elements?: Array<Record<string, unknown>>;
8
- html?: string;
9
- };
10
- declare const getStagePreviewResult: (tools?: AiMessage["tools"]) => PreviewData | undefined;
11
- export default getStagePreviewResult;
@@ -1,45 +0,0 @@
1
- import { AiMessage } from '../../../types';
2
- export type NamedToken = {
3
- name: string;
4
- value: string;
5
- };
6
- export type ColorScale = Record<string, string>;
7
- export type StyleGuideData = {
8
- name: string;
9
- description?: string;
10
- colors: {
11
- primary: ColorScale;
12
- secondary?: ColorScale;
13
- accent?: ColorScale;
14
- neutral?: ColorScale;
15
- semantic?: {
16
- success?: string;
17
- warning?: string;
18
- error?: string;
19
- info?: string;
20
- };
21
- };
22
- colorsDark?: {
23
- primary?: ColorScale;
24
- secondary?: ColorScale;
25
- accent?: ColorScale;
26
- neutral?: ColorScale;
27
- };
28
- typography?: {
29
- fontFamily: {
30
- heading: string;
31
- body: string;
32
- };
33
- scale?: Array<{
34
- name: string;
35
- size: string;
36
- lineHeight: string;
37
- weight?: string;
38
- }>;
39
- };
40
- spacing?: NamedToken[];
41
- borderRadius?: NamedToken[];
42
- shadows?: NamedToken[];
43
- };
44
- declare const getStyleGuideResult: (tools?: AiMessage["tools"]) => StyleGuideData | undefined;
45
- export default getStyleGuideResult;
@@ -1,12 +0,0 @@
1
- import { Schema, Style } from '@plitzi/sdk-shared';
2
- import { AiMessage } from '../../../types';
3
- export type WireframeData = {
4
- baseElementId: string;
5
- name: string;
6
- description?: string;
7
- schema?: Pick<Schema, 'flat'>;
8
- style?: Pick<Style, 'platform' | 'cache'>;
9
- html?: string;
10
- };
11
- declare const getWireframeResult: (tools?: AiMessage["tools"]) => WireframeData | undefined;
12
- export default getWireframeResult;