@drawnagency/primitives 0.1.61 → 0.1.62

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 (73) hide show
  1. package/dist/{chunk-UQ4OYRW7.js → chunk-2BHPWO7M.js} +54 -166
  2. package/dist/chunk-4E66N6UV.js +10 -0
  3. package/dist/chunk-5THS4K5D.js +123 -0
  4. package/dist/{chunk-TG43X7JO.js → chunk-75P6HWPN.js} +29 -5
  5. package/dist/{chunk-ODCJQOVO.js → chunk-7IMQVDDJ.js} +1 -1
  6. package/dist/{chunk-4OX3Z7SB.js → chunk-FJBDGYHE.js} +32 -671
  7. package/dist/{chunk-WLMJCNU7.js → chunk-I5737FJY.js} +0 -8
  8. package/dist/chunk-JRT4KWHU.js +1201 -0
  9. package/dist/chunk-QWDOJUUO.js +648 -0
  10. package/dist/{chunk-BT7STGDW.js → chunk-TEYTLQVH.js} +0 -15
  11. package/dist/{chunk-AM5LZD6Q.js → chunk-ZYXLNJ5M.js} +6 -5
  12. package/dist/components/brandguide/ColorSwatchSettings.d.ts +1 -1
  13. package/dist/components/brandguide/ColorSwatchSettings.d.ts.map +1 -1
  14. package/dist/components/brandguide/Colors.d.ts +1 -1
  15. package/dist/components/brandguide/Colors.d.ts.map +1 -1
  16. package/dist/components/editor/index.js +4 -2
  17. package/dist/components/primitives/IconPicker.d.ts +1 -7
  18. package/dist/components/primitives/IconPicker.d.ts.map +1 -1
  19. package/dist/components/primitives/index.js +10 -7
  20. package/dist/components/sections/Colors/index.d.ts.map +1 -1
  21. package/dist/components/sections/Colors/schema.d.ts +19 -0
  22. package/dist/components/sections/Colors/schema.d.ts.map +1 -0
  23. package/dist/components/sections/DoDontMedia/DoDontMediaBlock.d.ts +20 -0
  24. package/dist/components/sections/DoDontMedia/DoDontMediaBlock.d.ts.map +1 -0
  25. package/dist/components/sections/DoDontMedia/index.d.ts +45 -0
  26. package/dist/components/sections/DoDontMedia/index.d.ts.map +1 -0
  27. package/dist/components/sections/IconList/DoDontToggle.d.ts +14 -0
  28. package/dist/components/sections/IconList/DoDontToggle.d.ts.map +1 -0
  29. package/dist/components/sections/IconList/IconList.d.ts.map +1 -1
  30. package/dist/components/sections/IconList/index.d.ts.map +1 -1
  31. package/dist/components/sections/Media/MediaBlock.d.ts +1 -3
  32. package/dist/components/sections/Media/MediaBlock.d.ts.map +1 -1
  33. package/dist/components/sections/Media/index.d.ts +0 -1
  34. package/dist/components/sections/Media/index.d.ts.map +1 -1
  35. package/dist/components/sections/all-sections.d.ts +54 -18
  36. package/dist/components/sections/all-sections.d.ts.map +1 -1
  37. package/dist/components/sections/brand-guide.d.ts +84 -0
  38. package/dist/components/sections/brand-guide.d.ts.map +1 -0
  39. package/dist/components/sections/brand-guide.js +21 -0
  40. package/dist/components/sections/core-sections.d.ts +93 -0
  41. package/dist/components/sections/core-sections.d.ts.map +1 -0
  42. package/dist/components/sections/register-schemas.js +108 -1155
  43. package/dist/index.js +29 -33
  44. package/dist/lib/index.js +4 -4
  45. package/dist/lib/loader.d.ts.map +1 -1
  46. package/dist/lib/migrate-sections-transform.d.ts.map +1 -1
  47. package/dist/lib/migrate-sections-transform.js +1 -1
  48. package/dist/lib/registry.d.ts +6 -1
  49. package/dist/lib/registry.d.ts.map +1 -1
  50. package/dist/media/index.js +1 -1
  51. package/dist/schemas/index.js +3 -7
  52. package/dist/schemas/shared.d.ts +0 -17
  53. package/dist/schemas/shared.d.ts.map +1 -1
  54. package/package.json +5 -1
  55. package/src/components/brandguide/ColorSwatchSettings.tsx +1 -1
  56. package/src/components/brandguide/Colors.tsx +1 -1
  57. package/src/components/primitives/IconPicker.tsx +27 -119
  58. package/src/components/sections/Colors/index.tsx +2 -1
  59. package/src/components/sections/Colors/schema.ts +24 -0
  60. package/src/components/sections/DoDontMedia/DoDontMediaBlock.tsx +35 -0
  61. package/src/components/sections/DoDontMedia/index.tsx +84 -0
  62. package/src/components/sections/IconList/DoDontToggle.tsx +76 -0
  63. package/src/components/sections/IconList/IconList.tsx +24 -14
  64. package/src/components/sections/IconList/index.tsx +1 -0
  65. package/src/components/sections/Media/MediaBlock.tsx +1 -11
  66. package/src/components/sections/Media/index.tsx +0 -15
  67. package/src/components/sections/all-sections.ts +7 -35
  68. package/src/components/sections/brand-guide.ts +13 -0
  69. package/src/components/sections/core-sections.ts +26 -0
  70. package/src/lib/loader.ts +10 -4
  71. package/src/lib/migrate-sections-transform.ts +33 -5
  72. package/src/lib/registry.ts +6 -1
  73. package/src/schemas/shared.ts +0 -18
@@ -2,13 +2,6 @@ import {
2
2
  cn
3
3
  } from "./chunk-7EOSDFS3.js";
4
4
 
5
- // src/components/shared/PagesContext.tsx
6
- import { createContext, useContext } from "react";
7
- var PagesContext = createContext({ pages: [], getPageHeadings: () => [] });
8
- function usePages() {
9
- return useContext(PagesContext);
10
- }
11
-
12
5
  // src/components/shared/icons.tsx
13
6
  import { GripVertical, Plus, Trash2, X, Settings } from "lucide-react";
14
7
  import { GripVertical as GripVertical2, Plus as Plus2, Trash2 as Trash22, X as X2, Settings as Settings2 } from "lucide-react";
@@ -61,7 +54,6 @@ var IconButton = forwardRef(
61
54
  );
62
55
 
63
56
  export {
64
- usePages,
65
57
  DragHandle,
66
58
  AddIcon,
67
59
  DeleteIcon,