@drawnagency/primitives 0.1.66 → 0.1.68

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 (88) hide show
  1. package/dist/chunk-4YEOTFVU.js +14 -0
  2. package/dist/{chunk-VU3XR362.js → chunk-6UDYJQL6.js} +1 -1
  3. package/dist/{chunk-7IMQVDDJ.js → chunk-EWKCEPMW.js} +1 -1
  4. package/dist/{chunk-XNGG5AGI.js → chunk-KWBM27UR.js} +1 -1
  5. package/dist/{chunk-TEYTLQVH.js → chunk-QKOIEWZ4.js} +33 -1
  6. package/dist/chunk-TYYCKVAW.js +968 -0
  7. package/dist/{chunk-VEIDANEU.js → chunk-VVK6ZRCN.js} +128 -41
  8. package/dist/{chunk-ZYXLNJ5M.js → chunk-WNPMBFD6.js} +4 -4
  9. package/dist/{chunk-DQTKWKSK.js → chunk-WXVKX6PY.js} +12 -3
  10. package/dist/components/chat/ChatPanel.d.ts +31 -0
  11. package/dist/components/chat/ChatPanel.d.ts.map +1 -0
  12. package/dist/components/chat/ChatWidget.d.ts +11 -0
  13. package/dist/components/chat/ChatWidget.d.ts.map +1 -0
  14. package/dist/components/primitives/defineHeadingSection.d.ts +2 -0
  15. package/dist/components/primitives/defineHeadingSection.d.ts.map +1 -1
  16. package/dist/components/primitives/index.js +5 -5
  17. package/dist/components/sections/Button/index.d.ts.map +1 -1
  18. package/dist/components/sections/Colors/index.d.ts.map +1 -1
  19. package/dist/components/sections/Colors/schema.d.ts.map +1 -1
  20. package/dist/components/sections/Container/index.d.ts.map +1 -1
  21. package/dist/components/sections/DoDontMedia/index.d.ts.map +1 -1
  22. package/dist/components/sections/IconList/IconList.d.ts +2 -1
  23. package/dist/components/sections/IconList/IconList.d.ts.map +1 -1
  24. package/dist/components/sections/IconList/IconListSettings.d.ts +2 -1
  25. package/dist/components/sections/IconList/IconListSettings.d.ts.map +1 -1
  26. package/dist/components/sections/IconList/index.d.ts +1 -0
  27. package/dist/components/sections/IconList/index.d.ts.map +1 -1
  28. package/dist/components/sections/LinkHeading/index.d.ts.map +1 -1
  29. package/dist/components/sections/Media/index.d.ts.map +1 -1
  30. package/dist/components/sections/Prose/index.d.ts.map +1 -1
  31. package/dist/components/sections/Spacer/index.d.ts.map +1 -1
  32. package/dist/components/sections/SubHeading/index.d.ts.map +1 -1
  33. package/dist/components/sections/SubSubHeading/index.d.ts.map +1 -1
  34. package/dist/components/sections/all-sections.d.ts +1 -0
  35. package/dist/components/sections/all-sections.d.ts.map +1 -1
  36. package/dist/components/sections/brand-guide.d.ts +1 -0
  37. package/dist/components/sections/brand-guide.d.ts.map +1 -1
  38. package/dist/components/sections/brand-guide.js +5 -5
  39. package/dist/components/sections/register-schemas.js +13 -943
  40. package/dist/components/sections/register.js +36 -0
  41. package/dist/components/shell/ChatbotConfigModal.d.ts +13 -0
  42. package/dist/components/shell/ChatbotConfigModal.d.ts.map +1 -0
  43. package/dist/components/shell/EditorShell.d.ts +2 -1
  44. package/dist/components/shell/EditorShell.d.ts.map +1 -1
  45. package/dist/index.js +31 -24
  46. package/dist/lib/index.d.ts +1 -0
  47. package/dist/lib/index.d.ts.map +1 -1
  48. package/dist/lib/index.js +7 -4
  49. package/dist/lib/insert-menu.d.ts +19 -0
  50. package/dist/lib/insert-menu.d.ts.map +1 -0
  51. package/dist/lib/platform-broker.d.ts +7 -0
  52. package/dist/lib/platform-broker.d.ts.map +1 -1
  53. package/dist/lib/platform-broker.js +27 -1
  54. package/dist/lib/registry.d.ts +23 -0
  55. package/dist/lib/registry.d.ts.map +1 -1
  56. package/dist/media/index.js +3 -3
  57. package/dist/schemas/index.js +6 -2
  58. package/dist/schemas/site-config.d.ts +30 -0
  59. package/dist/schemas/site-config.d.ts.map +1 -1
  60. package/dist/types/database.d.ts +296 -34
  61. package/dist/types/database.d.ts.map +1 -1
  62. package/package.json +5 -1
  63. package/src/components/chat/ChatPanel.tsx +152 -0
  64. package/src/components/chat/ChatWidget.tsx +38 -0
  65. package/src/components/primitives/defineHeadingSection.tsx +18 -2
  66. package/src/components/sections/Button/index.tsx +10 -3
  67. package/src/components/sections/Colors/index.tsx +15 -7
  68. package/src/components/sections/Colors/schema.ts +5 -2
  69. package/src/components/sections/Container/index.tsx +19 -3
  70. package/src/components/sections/DoDontMedia/index.tsx +18 -7
  71. package/src/components/sections/IconList/IconList.tsx +43 -19
  72. package/src/components/sections/IconList/IconListSettings.tsx +58 -11
  73. package/src/components/sections/IconList/index.tsx +51 -7
  74. package/src/components/sections/LinkHeading/index.tsx +2 -0
  75. package/src/components/sections/Media/index.tsx +15 -6
  76. package/src/components/sections/Prose/index.tsx +9 -1
  77. package/src/components/sections/Spacer/index.tsx +2 -0
  78. package/src/components/sections/SubHeading/index.tsx +2 -0
  79. package/src/components/sections/SubSubHeading/index.tsx +2 -0
  80. package/src/components/shell/ChatbotConfigModal.tsx +152 -0
  81. package/src/components/shell/EditorShell.tsx +41 -20
  82. package/src/lib/index.ts +1 -0
  83. package/src/lib/insert-menu.ts +42 -0
  84. package/src/lib/platform-broker.ts +36 -0
  85. package/src/lib/registry.ts +24 -0
  86. package/src/schemas/site-config.ts +36 -0
  87. package/src/types/database.ts +284 -36
  88. package/dist/chunk-ZGFAYZWB.js +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Prose/index.tsx"],"names":[],"mappings":";;;;;;AAWA,wBAWG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Prose/index.tsx"],"names":[],"mappings":";;;;;;AAiBA,wBAaG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Spacer/index.tsx"],"names":[],"mappings":";;;;AAUA,wBAOG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Spacer/index.tsx"],"names":[],"mappings":";;;;AAUA,wBASG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBASG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAWG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubSubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBASG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubSubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAWG"}
@@ -127,6 +127,7 @@ export declare const allSectionDefs: (import("../..").SectionDefinition<{
127
127
  icon?: string | null | undefined;
128
128
  showLabel?: boolean | undefined;
129
129
  stackText?: boolean | undefined;
130
+ dodont?: "do" | "dont" | undefined;
130
131
  } | undefined;
131
132
  }> | import("../..").SectionDefinition<{
132
133
  type: "dodont_media";
@@ -1 +1 @@
1
- {"version":3,"file":"all-sections.d.ts","sourceRoot":"","sources":["../../../src/components/sections/all-sections.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAiD,CAAC"}
1
+ {"version":3,"file":"all-sections.d.ts","sourceRoot":"","sources":["../../../src/components/sections/all-sections.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAiD,CAAC"}
@@ -35,6 +35,7 @@ export declare const brandGuideSectionDefs: (import("../..").SectionDefinition<{
35
35
  icon?: string | null | undefined;
36
36
  showLabel?: boolean | undefined;
37
37
  stackText?: boolean | undefined;
38
+ dodont?: "do" | "dont" | undefined;
38
39
  } | undefined;
39
40
  }> | import("../..").SectionDefinition<{
40
41
  type: "dodont_media";
@@ -1 +1 @@
1
- {"version":3,"file":"brand-guide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/brand-guide.ts"],"names":[],"mappings":"AAIA;;;iEAGiE;AAEjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAkC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACpE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"brand-guide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/brand-guide.ts"],"names":[],"mappings":"AAIA;;;iEAGiE;AAEjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAkC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACpE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -2,16 +2,16 @@ import {
2
2
  ColorItemSchema,
3
3
  ColorSpaceSchema,
4
4
  brandGuideSectionDefs
5
- } from "../../chunk-VEIDANEU.js";
5
+ } from "../../chunk-VVK6ZRCN.js";
6
6
  import "../../chunk-5THS4K5D.js";
7
- import "../../chunk-XNGG5AGI.js";
7
+ import "../../chunk-KWBM27UR.js";
8
8
  import "../../chunk-I5737FJY.js";
9
- import "../../chunk-VU3XR362.js";
9
+ import "../../chunk-6UDYJQL6.js";
10
10
  import "../../chunk-3DCG4DNU.js";
11
11
  import "../../chunk-WDSVHKAH.js";
12
- import "../../chunk-ZGFAYZWB.js";
12
+ import "../../chunk-4YEOTFVU.js";
13
13
  import "../../chunk-7EOSDFS3.js";
14
- import "../../chunk-TEYTLQVH.js";
14
+ import "../../chunk-QKOIEWZ4.js";
15
15
  import "../../chunk-VKAGMEKE.js";
16
16
  import "../../chunk-JSBRDJBE.js";
17
17
  export {