@wordpress/editor 14.33.3-next.36001005c.0 → 14.34.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.
Files changed (353) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/bindings/post-data.js +10 -17
  3. package/build/bindings/post-data.js.map +2 -2
  4. package/build/bindings/post-meta.js +7 -14
  5. package/build/bindings/post-meta.js.map +2 -2
  6. package/build/bindings/term-data.js +6 -16
  7. package/build/bindings/term-data.js.map +2 -2
  8. package/build/components/collab-sidebar/add-comment.js +26 -3
  9. package/build/components/collab-sidebar/add-comment.js.map +3 -3
  10. package/build/components/collab-sidebar/comment-author-info.js +26 -14
  11. package/build/components/collab-sidebar/comment-author-info.js.map +2 -2
  12. package/build/components/collab-sidebar/comment-indicator-toolbar.js +6 -22
  13. package/build/components/collab-sidebar/comment-indicator-toolbar.js.map +3 -3
  14. package/build/components/collab-sidebar/comments.js +105 -28
  15. package/build/components/collab-sidebar/comments.js.map +3 -3
  16. package/build/components/collab-sidebar/hooks.js +3 -4
  17. package/build/components/collab-sidebar/hooks.js.map +2 -2
  18. package/build/components/collab-sidebar/index.js +42 -57
  19. package/build/components/collab-sidebar/index.js.map +3 -3
  20. package/build/components/document-bar/index.js +16 -3
  21. package/build/components/document-bar/index.js.map +2 -2
  22. package/build/components/editor/index.js +25 -4
  23. package/build/components/editor/index.js.map +3 -3
  24. package/build/components/editor-interface/index.js +15 -10
  25. package/build/components/editor-interface/index.js.map +3 -3
  26. package/build/components/entities-saved-states/entity-type-list.js +19 -15
  27. package/build/components/entities-saved-states/entity-type-list.js.map +3 -3
  28. package/build/components/global-styles/block-link.js +70 -0
  29. package/build/components/global-styles/block-link.js.map +7 -0
  30. package/build/components/global-styles/header.js +54 -0
  31. package/build/components/global-styles/header.js.map +7 -0
  32. package/build/components/global-styles/hooks.js +176 -0
  33. package/build/components/global-styles/hooks.js.map +7 -0
  34. package/build/components/global-styles/index.js +138 -0
  35. package/build/components/global-styles/index.js.map +7 -0
  36. package/build/components/global-styles/menu.js +95 -0
  37. package/build/components/global-styles/menu.js.map +7 -0
  38. package/build/components/global-styles-provider/index.js +3 -49
  39. package/build/components/global-styles-provider/index.js.map +3 -3
  40. package/build/components/global-styles-renderer/index.js +55 -0
  41. package/build/components/global-styles-renderer/index.js.map +7 -0
  42. package/build/components/global-styles-sidebar/default-sidebar.js +66 -0
  43. package/build/components/global-styles-sidebar/default-sidebar.js.map +7 -0
  44. package/build/components/global-styles-sidebar/index.js +182 -0
  45. package/build/components/global-styles-sidebar/index.js.map +7 -0
  46. package/build/components/global-styles-sidebar/welcome-guide-image.js +37 -0
  47. package/build/components/global-styles-sidebar/welcome-guide-image.js.map +7 -0
  48. package/build/components/global-styles-sidebar/welcome-guide.js +143 -0
  49. package/build/components/global-styles-sidebar/welcome-guide.js.map +7 -0
  50. package/build/components/header/index.js +12 -12
  51. package/build/components/header/index.js.map +3 -3
  52. package/build/components/post-featured-image/index.js +32 -1
  53. package/build/components/post-featured-image/index.js.map +3 -3
  54. package/build/components/post-template/hooks.js +7 -38
  55. package/build/components/post-template/hooks.js.map +2 -2
  56. package/build/components/provider/index.js +1 -1
  57. package/build/components/provider/index.js.map +2 -2
  58. package/build/components/style-book/categories.js +86 -0
  59. package/build/components/style-book/categories.js.map +7 -0
  60. package/build/components/style-book/color-examples.js +64 -0
  61. package/build/components/style-book/color-examples.js.map +7 -0
  62. package/build/components/style-book/constants.js +319 -0
  63. package/build/components/style-book/constants.js.map +7 -0
  64. package/build/components/style-book/duotone-examples.js +68 -0
  65. package/build/components/style-book/duotone-examples.js.map +7 -0
  66. package/build/components/style-book/examples.js +237 -0
  67. package/build/components/style-book/examples.js.map +7 -0
  68. package/build/components/style-book/index.js +627 -0
  69. package/build/components/style-book/index.js.map +7 -0
  70. package/build/components/style-book/types.js +17 -0
  71. package/build/components/style-book/types.js.map +7 -0
  72. package/build/components/styles-canvas/index.js +138 -0
  73. package/build/components/styles-canvas/index.js.map +7 -0
  74. package/build/components/styles-canvas/revisions.js +121 -0
  75. package/build/components/styles-canvas/revisions.js.map +7 -0
  76. package/build/components/styles-canvas/style-book.js +68 -0
  77. package/build/components/styles-canvas/style-book.js.map +7 -0
  78. package/build/components/visual-editor/index.js +4 -3
  79. package/build/components/visual-editor/index.js.map +2 -2
  80. package/build/dataviews/fields/content-preview/content-preview-view.js.map +2 -2
  81. package/build/hooks/index.js +1 -0
  82. package/build/hooks/index.js.map +2 -2
  83. package/build/hooks/media-upload.js +15 -4
  84. package/build/hooks/media-upload.js.map +3 -3
  85. package/build/hooks/push-changes-to-global-styles/index.js +322 -0
  86. package/build/hooks/push-changes-to-global-styles/index.js.map +7 -0
  87. package/build/hooks/use-global-styles-output.js +74 -0
  88. package/build/hooks/use-global-styles-output.js.map +7 -0
  89. package/build/private-apis.js +10 -5
  90. package/build/private-apis.js.map +3 -3
  91. package/build/store/actions.js +1 -1
  92. package/build/store/actions.js.map +2 -2
  93. package/build/store/private-actions.js +23 -0
  94. package/build/store/private-actions.js.map +2 -2
  95. package/build/store/private-selectors.js +10 -0
  96. package/build/store/private-selectors.js.map +2 -2
  97. package/build/store/reducer.js +24 -0
  98. package/build/store/reducer.js.map +2 -2
  99. package/build/{components/editor-interface/content-slot-fill.js → utils/set-nested-value.js} +24 -10
  100. package/build/utils/set-nested-value.js.map +7 -0
  101. package/build-module/bindings/post-data.js +10 -17
  102. package/build-module/bindings/post-data.js.map +2 -2
  103. package/build-module/bindings/post-meta.js +7 -14
  104. package/build-module/bindings/post-meta.js.map +2 -2
  105. package/build-module/bindings/term-data.js +6 -16
  106. package/build-module/bindings/term-data.js.map +2 -2
  107. package/build-module/components/collab-sidebar/add-comment.js +27 -4
  108. package/build-module/components/collab-sidebar/add-comment.js.map +2 -2
  109. package/build-module/components/collab-sidebar/comment-author-info.js +26 -14
  110. package/build-module/components/collab-sidebar/comment-author-info.js.map +2 -2
  111. package/build-module/components/collab-sidebar/comment-indicator-toolbar.js +6 -12
  112. package/build-module/components/collab-sidebar/comment-indicator-toolbar.js.map +2 -2
  113. package/build-module/components/collab-sidebar/comments.js +114 -31
  114. package/build-module/components/collab-sidebar/comments.js.map +2 -2
  115. package/build-module/components/collab-sidebar/hooks.js +3 -4
  116. package/build-module/components/collab-sidebar/hooks.js.map +2 -2
  117. package/build-module/components/collab-sidebar/index.js +42 -57
  118. package/build-module/components/collab-sidebar/index.js.map +2 -2
  119. package/build-module/components/document-bar/index.js +16 -3
  120. package/build-module/components/document-bar/index.js.map +2 -2
  121. package/build-module/components/editor/index.js +25 -4
  122. package/build-module/components/editor/index.js.map +2 -2
  123. package/build-module/components/editor-interface/index.js +15 -10
  124. package/build-module/components/editor-interface/index.js.map +2 -2
  125. package/build-module/components/entities-saved-states/entity-type-list.js +18 -14
  126. package/build-module/components/entities-saved-states/entity-type-list.js.map +2 -2
  127. package/build-module/components/global-styles/block-link.js +46 -0
  128. package/build-module/components/global-styles/block-link.js.map +7 -0
  129. package/build-module/components/global-styles/header.js +41 -0
  130. package/build-module/components/global-styles/header.js.map +7 -0
  131. package/build-module/components/global-styles/hooks.js +154 -0
  132. package/build-module/components/global-styles/hooks.js.map +7 -0
  133. package/build-module/components/global-styles/index.js +112 -0
  134. package/build-module/components/global-styles/index.js.map +7 -0
  135. package/build-module/components/global-styles/menu.js +71 -0
  136. package/build-module/components/global-styles/menu.js.map +7 -0
  137. package/build-module/components/global-styles-provider/index.js +3 -37
  138. package/build-module/components/global-styles-provider/index.js.map +2 -2
  139. package/build-module/components/global-styles-renderer/index.js +31 -0
  140. package/build-module/components/global-styles-renderer/index.js.map +7 -0
  141. package/build-module/components/global-styles-sidebar/default-sidebar.js +49 -0
  142. package/build-module/components/global-styles-sidebar/default-sidebar.js.map +7 -0
  143. package/build-module/components/global-styles-sidebar/index.js +152 -0
  144. package/build-module/components/global-styles-sidebar/index.js.map +7 -0
  145. package/build-module/components/global-styles-sidebar/welcome-guide-image.js +17 -0
  146. package/build-module/components/global-styles-sidebar/welcome-guide-image.js.map +7 -0
  147. package/build-module/components/global-styles-sidebar/welcome-guide.js +113 -0
  148. package/build-module/components/global-styles-sidebar/welcome-guide.js.map +7 -0
  149. package/build-module/components/header/index.js +12 -12
  150. package/build-module/components/header/index.js.map +2 -2
  151. package/build-module/components/post-featured-image/index.js +35 -3
  152. package/build-module/components/post-featured-image/index.js.map +2 -2
  153. package/build-module/components/post-template/hooks.js +7 -38
  154. package/build-module/components/post-template/hooks.js.map +2 -2
  155. package/build-module/components/provider/index.js +1 -1
  156. package/build-module/components/provider/index.js.map +2 -2
  157. package/build-module/components/style-book/categories.js +64 -0
  158. package/build-module/components/style-book/categories.js.map +7 -0
  159. package/build-module/components/style-book/color-examples.js +37 -0
  160. package/build-module/components/style-book/color-examples.js.map +7 -0
  161. package/build-module/components/style-book/constants.js +290 -0
  162. package/build-module/components/style-book/constants.js.map +7 -0
  163. package/build-module/components/style-book/duotone-examples.js +48 -0
  164. package/build-module/components/style-book/duotone-examples.js.map +7 -0
  165. package/build-module/components/style-book/examples.js +208 -0
  166. package/build-module/components/style-book/examples.js.map +7 -0
  167. package/build-module/components/style-book/index.js +618 -0
  168. package/build-module/components/style-book/index.js.map +7 -0
  169. package/build-module/components/style-book/types.js +1 -0
  170. package/build-module/components/style-book/types.js.map +7 -0
  171. package/build-module/components/styles-canvas/index.js +104 -0
  172. package/build-module/components/styles-canvas/index.js.map +7 -0
  173. package/build-module/components/styles-canvas/revisions.js +107 -0
  174. package/build-module/components/styles-canvas/revisions.js.map +7 -0
  175. package/build-module/components/styles-canvas/style-book.js +38 -0
  176. package/build-module/components/styles-canvas/style-book.js.map +7 -0
  177. package/build-module/components/visual-editor/index.js +4 -3
  178. package/build-module/components/visual-editor/index.js.map +2 -2
  179. package/build-module/dataviews/fields/content-preview/content-preview-view.js.map +2 -2
  180. package/build-module/hooks/index.js +1 -0
  181. package/build-module/hooks/index.js.map +2 -2
  182. package/build-module/hooks/media-upload.js +19 -5
  183. package/build-module/hooks/media-upload.js.map +2 -2
  184. package/build-module/hooks/push-changes-to-global-styles/index.js +309 -0
  185. package/build-module/hooks/push-changes-to-global-styles/index.js.map +7 -0
  186. package/build-module/hooks/use-global-styles-output.js +49 -0
  187. package/build-module/hooks/use-global-styles-output.js.map +7 -0
  188. package/build-module/private-apis.js +10 -8
  189. package/build-module/private-apis.js.map +2 -2
  190. package/build-module/store/actions.js +1 -1
  191. package/build-module/store/actions.js.map +2 -2
  192. package/build-module/store/private-actions.js +20 -0
  193. package/build-module/store/private-actions.js.map +2 -2
  194. package/build-module/store/private-selectors.js +8 -0
  195. package/build-module/store/private-selectors.js.map +2 -2
  196. package/build-module/store/reducer.js +22 -0
  197. package/build-module/store/reducer.js.map +2 -2
  198. package/build-module/utils/set-nested-value.js +23 -0
  199. package/build-module/utils/set-nested-value.js.map +7 -0
  200. package/build-style/style-rtl.css +3011 -16
  201. package/build-style/style.css +3012 -16
  202. package/build-types/bindings/post-data.d.ts +6 -16
  203. package/build-types/bindings/post-meta.d.ts +6 -13
  204. package/build-types/bindings/term-data.d.ts +6 -16
  205. package/build-types/components/collab-sidebar/add-comment.d.ts +6 -1
  206. package/build-types/components/collab-sidebar/add-comment.d.ts.map +1 -1
  207. package/build-types/components/collab-sidebar/comment-author-info.d.ts +5 -16
  208. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +1 -1
  209. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts +1 -2
  210. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts.map +1 -1
  211. package/build-types/components/collab-sidebar/comments.d.ts +12 -26
  212. package/build-types/components/collab-sidebar/comments.d.ts.map +1 -1
  213. package/build-types/components/collab-sidebar/hooks.d.ts +0 -1
  214. package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
  215. package/build-types/components/collab-sidebar/index.d.ts +1 -4
  216. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  217. package/build-types/components/document-bar/index.d.ts +2 -2
  218. package/build-types/components/document-bar/index.d.ts.map +1 -1
  219. package/build-types/components/editor/index.d.ts.map +1 -1
  220. package/build-types/components/editor-interface/index.d.ts +1 -3
  221. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  222. package/build-types/components/entities-saved-states/entity-type-list.d.ts.map +1 -1
  223. package/build-types/components/global-styles/block-link.d.ts +12 -0
  224. package/build-types/components/global-styles/block-link.d.ts.map +1 -0
  225. package/build-types/components/global-styles/header.d.ts +7 -0
  226. package/build-types/components/global-styles/header.d.ts.map +1 -0
  227. package/build-types/components/global-styles/hooks.d.ts +24 -0
  228. package/build-types/components/global-styles/hooks.d.ts.map +1 -0
  229. package/build-types/components/global-styles/index.d.ts +6 -0
  230. package/build-types/components/global-styles/index.d.ts.map +1 -0
  231. package/build-types/components/global-styles/menu.d.ts +13 -0
  232. package/build-types/components/global-styles/menu.d.ts.map +1 -0
  233. package/build-types/components/global-styles-provider/index.d.ts +1 -5
  234. package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
  235. package/build-types/components/global-styles-renderer/index.d.ts +4 -0
  236. package/build-types/components/global-styles-renderer/index.d.ts.map +1 -0
  237. package/build-types/components/global-styles-sidebar/default-sidebar.d.ts +13 -0
  238. package/build-types/components/global-styles-sidebar/default-sidebar.d.ts.map +1 -0
  239. package/build-types/components/global-styles-sidebar/index.d.ts +2 -0
  240. package/build-types/components/global-styles-sidebar/index.d.ts.map +1 -0
  241. package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts +5 -0
  242. package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts.map +1 -0
  243. package/build-types/components/global-styles-sidebar/welcome-guide.d.ts +2 -0
  244. package/build-types/components/global-styles-sidebar/welcome-guide.d.ts.map +1 -0
  245. package/build-types/components/header/index.d.ts +1 -3
  246. package/build-types/components/header/index.d.ts.map +1 -1
  247. package/build-types/components/post-template/hooks.d.ts +1 -1
  248. package/build-types/components/post-template/hooks.d.ts.map +1 -1
  249. package/build-types/components/provider/index.d.ts.map +1 -1
  250. package/build-types/components/style-book/categories.d.ts +18 -0
  251. package/build-types/components/style-book/categories.d.ts.map +1 -0
  252. package/build-types/components/style-book/color-examples.d.ts +7 -0
  253. package/build-types/components/style-book/color-examples.d.ts.map +1 -0
  254. package/build-types/components/style-book/constants.d.ts +11 -0
  255. package/build-types/components/style-book/constants.d.ts.map +1 -0
  256. package/build-types/components/style-book/duotone-examples.d.ts +9 -0
  257. package/build-types/components/style-book/duotone-examples.d.ts.map +1 -0
  258. package/build-types/components/style-book/examples.d.ts +12 -0
  259. package/build-types/components/style-book/examples.d.ts.map +1 -0
  260. package/build-types/components/style-book/index.d.ts +31 -0
  261. package/build-types/components/style-book/index.d.ts.map +1 -0
  262. package/build-types/components/style-book/types.d.ts +72 -0
  263. package/build-types/components/style-book/types.d.ts.map +1 -0
  264. package/build-types/components/styles-canvas/index.d.ts +16 -0
  265. package/build-types/components/styles-canvas/index.d.ts.map +1 -0
  266. package/build-types/components/styles-canvas/revisions.d.ts +5 -0
  267. package/build-types/components/styles-canvas/revisions.d.ts.map +1 -0
  268. package/build-types/components/styles-canvas/style-book.d.ts +6 -0
  269. package/build-types/components/styles-canvas/style-book.d.ts.map +1 -0
  270. package/build-types/components/visual-editor/index.d.ts +1 -2
  271. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  272. package/build-types/dataviews/fields/content-preview/content-preview-view.d.ts.map +1 -1
  273. package/build-types/hooks/push-changes-to-global-styles/index.d.ts +2 -0
  274. package/build-types/hooks/push-changes-to-global-styles/index.d.ts.map +1 -0
  275. package/build-types/hooks/use-global-styles-output.d.ts +18 -0
  276. package/build-types/hooks/use-global-styles-output.d.ts.map +1 -0
  277. package/build-types/private-apis.d.ts.map +1 -1
  278. package/build-types/store/actions.d.ts.map +1 -1
  279. package/build-types/store/private-actions.d.ts +20 -0
  280. package/build-types/store/private-actions.d.ts.map +1 -1
  281. package/build-types/store/private-selectors.d.ts +14 -0
  282. package/build-types/store/private-selectors.d.ts.map +1 -1
  283. package/build-types/store/reducer.d.ts +20 -0
  284. package/build-types/store/reducer.d.ts.map +1 -1
  285. package/build-types/utils/set-nested-value.d.ts +20 -0
  286. package/build-types/utils/set-nested-value.d.ts.map +1 -0
  287. package/package.json +40 -40
  288. package/src/bindings/post-data.js +9 -20
  289. package/src/bindings/post-meta.js +6 -17
  290. package/src/bindings/term-data.js +6 -21
  291. package/src/components/collab-sidebar/add-comment.js +31 -3
  292. package/src/components/collab-sidebar/comment-author-info.js +32 -25
  293. package/src/components/collab-sidebar/comment-indicator-toolbar.js +6 -22
  294. package/src/components/collab-sidebar/comments.js +108 -35
  295. package/src/components/collab-sidebar/hooks.js +3 -4
  296. package/src/components/collab-sidebar/index.js +34 -42
  297. package/src/components/collab-sidebar/style.scss +1 -22
  298. package/src/components/document-bar/index.js +18 -3
  299. package/src/components/editor/index.js +27 -1
  300. package/src/components/editor-interface/index.js +40 -39
  301. package/src/components/entities-saved-states/entity-type-list.js +19 -17
  302. package/src/components/global-styles/block-link.js +65 -0
  303. package/src/components/global-styles/header.js +48 -0
  304. package/src/components/global-styles/hooks.js +216 -0
  305. package/src/components/global-styles/index.js +125 -0
  306. package/src/components/global-styles/menu.js +101 -0
  307. package/src/components/global-styles/style.scss +11 -0
  308. package/src/components/global-styles-provider/index.js +3 -45
  309. package/src/components/global-styles-renderer/index.js +39 -0
  310. package/src/components/global-styles-sidebar/default-sidebar.js +46 -0
  311. package/src/components/global-styles-sidebar/index.js +177 -0
  312. package/src/components/global-styles-sidebar/style.scss +119 -0
  313. package/src/components/global-styles-sidebar/welcome-guide-image.js +11 -0
  314. package/src/components/global-styles-sidebar/welcome-guide.js +136 -0
  315. package/src/components/header/index.js +11 -13
  316. package/src/components/post-featured-image/index.js +44 -1
  317. package/src/components/post-template/hooks.js +10 -51
  318. package/src/components/provider/index.js +1 -4
  319. package/src/components/style-book/categories.ts +97 -0
  320. package/src/components/style-book/color-examples.tsx +56 -0
  321. package/src/components/style-book/constants.ts +308 -0
  322. package/src/components/style-book/duotone-examples.tsx +56 -0
  323. package/src/components/style-book/examples.tsx +273 -0
  324. package/src/components/style-book/index.js +794 -0
  325. package/src/components/style-book/style.scss +44 -0
  326. package/src/components/style-book/test/categories.js +166 -0
  327. package/src/components/style-book/types.ts +80 -0
  328. package/src/components/styles-canvas/index.js +126 -0
  329. package/src/components/styles-canvas/revisions.js +144 -0
  330. package/src/components/styles-canvas/style-book.js +57 -0
  331. package/src/components/styles-canvas/style.scss +40 -0
  332. package/src/components/visual-editor/index.js +2 -1
  333. package/src/dataviews/fields/content-preview/content-preview-view.tsx +2 -0
  334. package/src/hooks/index.js +1 -0
  335. package/src/hooks/media-upload.js +25 -5
  336. package/src/hooks/push-changes-to-global-styles/index.js +391 -0
  337. package/src/hooks/push-changes-to-global-styles/style.scss +4 -0
  338. package/src/hooks/use-global-styles-output.js +76 -0
  339. package/src/private-apis.js +10 -8
  340. package/src/store/actions.js +4 -1
  341. package/src/store/private-actions.js +37 -0
  342. package/src/store/private-selectors.js +20 -0
  343. package/src/store/reducer.js +36 -0
  344. package/src/style.scss +7 -0
  345. package/src/utils/set-nested-value.js +39 -0
  346. package/tsconfig.json +3 -0
  347. package/tsconfig.tsbuildinfo +1 -1
  348. package/build/components/editor-interface/content-slot-fill.js.map +0 -7
  349. package/build-module/components/editor-interface/content-slot-fill.js +0 -9
  350. package/build-module/components/editor-interface/content-slot-fill.js.map +0 -7
  351. package/build-types/components/editor-interface/content-slot-fill.d.ts +0 -14
  352. package/build-types/components/editor-interface/content-slot-fill.d.ts.map +0 -1
  353. package/src/components/editor-interface/content-slot-fill.js +0 -10
@@ -21,23 +21,13 @@ declare const _default: {
21
21
  getFieldsList({ select, context }: {
22
22
  select: any;
23
23
  context: any;
24
- }): Object;
25
- editorUI({ select, context }: {
26
- select: any;
27
- context: any;
28
24
  }): {
29
- mode?: undefined;
30
- data?: undefined;
31
- } | {
32
- mode: string;
33
- data: {
34
- label: any;
35
- args: {
36
- field: string;
37
- };
38
- type: any;
39
- }[];
40
- };
25
+ label: any;
26
+ type: any;
27
+ args: {
28
+ field: string;
29
+ };
30
+ }[];
41
31
  };
42
32
  export default _default;
43
33
  //# sourceMappingURL=post-data.d.ts.map
@@ -18,20 +18,13 @@ declare const _default: {
18
18
  getFieldsList({ select, context }: {
19
19
  select: any;
20
20
  context: any;
21
- }): Object;
22
- editorUI({ select, context }: {
23
- select: any;
24
- context: any;
25
21
  }): {
26
- mode: string;
27
- data: {
28
- label: any;
29
- args: {
30
- key: string;
31
- };
32
- type: any;
33
- }[];
34
- };
22
+ label: any;
23
+ type: any;
24
+ args: {
25
+ key: string;
26
+ };
27
+ }[];
35
28
  };
36
29
  export default _default;
37
30
  //# sourceMappingURL=post-meta.d.ts.map
@@ -20,23 +20,13 @@ declare const _default: {
20
20
  getFieldsList({ select, context }: {
21
21
  select: any;
22
22
  context: any;
23
- }): Object;
24
- editorUI({ select, context }: {
25
- select: any;
26
- context: any;
27
23
  }): {
28
- mode?: undefined;
29
- data?: undefined;
30
- } | {
31
- mode: string;
32
- data: {
33
- label: any;
34
- type: any;
35
- args: {
36
- field: string;
37
- };
38
- }[];
39
- };
24
+ label: any;
25
+ type: any;
26
+ args: {
27
+ field: string;
28
+ };
29
+ }[];
40
30
  };
41
31
  export default _default;
42
32
  //# sourceMappingURL=term-data.d.ts.map
@@ -1,7 +1,12 @@
1
- export function AddComment({ onSubmit, showCommentBoard, setShowCommentBoard, commentSidebarRef, }: {
1
+ export function AddComment({ onSubmit, showCommentBoard, setShowCommentBoard, commentSidebarRef, reflowComments, isFloating, y, refs, }: {
2
2
  onSubmit: any;
3
3
  showCommentBoard: any;
4
4
  setShowCommentBoard: any;
5
5
  commentSidebarRef: any;
6
+ reflowComments?: typeof noop | undefined;
7
+ isFloating?: boolean | undefined;
8
+ y: any;
9
+ refs: any;
6
10
  }): import("react").JSX.Element | null;
11
+ import { noop } from './utils';
7
12
  //# sourceMappingURL=add-comment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AAwBA;;;;;uCA6CC"}
1
+ {"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AA4BA;;;;;;;;;uCAqEC;qBAzEwC,SAAS"}
@@ -1,19 +1,8 @@
1
1
  export default CommentAuthorInfo;
2
- /**
3
- * Render author information for a comment.
4
- *
5
- * @param {Object} props - Component properties.
6
- * @param {string} props.avatar - URL of the author's avatar.
7
- * @param {string} props.name - Name of the author.
8
- * @param {string} props.date - Date of the comment.
9
- * @param {string} props.userId - User ID of the author.
10
- *
11
- * @return {React.ReactNode} The JSX element representing the author's information.
12
- */
13
2
  declare function CommentAuthorInfo({ avatar, name, date, userId }: {
14
- avatar: string;
15
- name: string;
16
- date: string;
17
- userId: string;
18
- }): React.ReactNode;
3
+ avatar: any;
4
+ name: any;
5
+ date: any;
6
+ userId: any;
7
+ }): import("react").JSX.Element;
19
8
  //# sourceMappingURL=comment-author-info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comment-author-info.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-author-info.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;GAUG;AACH,mEAPG;IAAsB,MAAM,EAApB,MAAM;IACQ,IAAI,EAAlB,MAAM;IACQ,IAAI,EAAlB,MAAM;IACQ,MAAM,EAApB,MAAM;CAEd,GAAS,KAAK,CAAC,SAAS,CAwE1B"}
1
+ {"version":3,"file":"comment-author-info.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-author-info.js"],"names":[],"mappings":";AAoBA;;;;;gCAwFC"}
@@ -1,7 +1,6 @@
1
1
  export default CommentAvatarIndicator;
2
- declare function CommentAvatarIndicator({ onClick, thread, hasMoreComments }: {
2
+ declare function CommentAvatarIndicator({ onClick, thread }: {
3
3
  onClick: any;
4
4
  thread: any;
5
- hasMoreComments: any;
6
5
  }): import("react").JSX.Element | null;
7
6
  //# sourceMappingURL=comment-indicator-toolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comment-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-indicator-toolbar.js"],"names":[],"mappings":";AAqBA;;;;uCA+GC"}
1
+ {"version":3,"file":"comment-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-indicator-toolbar.js"],"names":[],"mappings":";AAgBA;;;uCAoGC"}
@@ -1,28 +1,14 @@
1
- /**
2
- * Renders the Comments component.
3
- *
4
- * @param {Object} props - The component props.
5
- * @param {Array} props.threads - The array of comment threads.
6
- * @param {Function} props.onEditComment - The function to handle comment editing.
7
- * @param {Function} props.onAddReply - The function to add a reply to a comment.
8
- * @param {Function} props.onCommentDelete - The function to delete a comment.
9
- * @param {Function} props.setShowCommentBoard - The function to set the comment board visibility.
10
- * @param {Ref} props.commentSidebarRef - The ref to the comment sidebar.
11
- * @param {Function} props.reflowComments - The function to call indicating a comment is updated.
12
- * @param {boolean} props.isFloating - Whether the comment thread is floating.
13
- * @param {number} props.commentLastUpdated - Timestamp of the last comment update.
14
- * @return {React.ReactNode} The rendered Comments component.
15
- */
16
- export function Comments({ threads, onEditComment, onAddReply, onCommentDelete, setShowCommentBoard, commentSidebarRef, reflowComments, isFloating, commentLastUpdated, }: {
17
- threads: any[];
18
- onEditComment: Function;
19
- onAddReply: Function;
20
- onCommentDelete: Function;
21
- setShowCommentBoard: Function;
22
- commentSidebarRef: Ref;
23
- reflowComments: Function;
24
- isFloating: boolean;
25
- commentLastUpdated: number;
26
- }): React.ReactNode;
1
+ export function Comments({ threads: noteThreads, onEditComment, onAddReply, onCommentDelete, showCommentBoard, setShowCommentBoard, commentSidebarRef, reflowComments, isFloating, commentLastUpdated, }: {
2
+ threads: any;
3
+ onEditComment: any;
4
+ onAddReply: any;
5
+ onCommentDelete: any;
6
+ showCommentBoard: any;
7
+ setShowCommentBoard: any;
8
+ commentSidebarRef: any;
9
+ reflowComments: any;
10
+ isFloating?: boolean | undefined;
11
+ commentLastUpdated: any;
12
+ }): import("react").JSX.Element;
27
13
  export default Comments;
28
14
  //# sourceMappingURL=comments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAyCA;;;;;;;;;;;;;;GAcG;AACH,2KAXG;IAAwB,OAAO;IACP,aAAa;IACb,UAAU;IACV,eAAe;IACf,mBAAmB;IACnB,iBAAiB,EAAjC,GAAG;IACa,cAAc;IACd,UAAU,EAA1B,OAAO;IACS,kBAAkB,EAAlC,MAAM;CACd,GAAS,KAAK,CAAC,SAAS,CAoO1B"}
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAgDA;;;;;;;;;;;gCA8RC"}
@@ -1,7 +1,6 @@
1
1
  export function useBlockComments(postId: any): {
2
2
  resultComments: any[];
3
3
  unresolvedSortedThreads: any[];
4
- totalPages: number | null;
5
4
  reflowComments: import("react").DispatchWithoutAction;
6
5
  commentLastUpdated: number;
7
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AA0CA;;;;;;EA4HC;AAED;;;;;;;;;;;EAoKC;AAED,kEA0BC;AAED;;;;;;;;;;;;;;;;EAmEC;qBAzYoB,SAAS"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AA0CA;;;;;EA2HC;AAED;;;;;;;;;;;EAoKC;AAED,kEA0BC;AAED;;;;;;;;;;;;;;;;EAmEC;qBAxYoB,SAAS"}
@@ -1,5 +1,2 @@
1
- /**
2
- * Renders the Collab sidebar.
3
- */
4
- export default function CollabSidebar(): import("react").JSX.Element | null;
1
+ export default function NotesSidebarContainer(): import("react").JSX.Element | null;
5
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAqFA;;GAEG;AACH,4EAwIC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAsMA,oFAkBC"}
@@ -7,9 +7,9 @@
7
7
  * ```jsx
8
8
  * <DocumentBar />
9
9
  * ```
10
+ *
10
11
  * @param {Object} props The component props.
11
- * @param {string} props.title A title for the document, defaulting to the document or
12
- * template title currently being edited.
12
+ * @param {string} props.title A title for the document, defaulting to the document or template title currently being edited.
13
13
  * @param {IconType} props.icon An icon for the document, no default.
14
14
  * (A default icon indicating the document post type is no longer used.)
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAsCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CAPG;IAAwB,KAAK,EAArB,MAAM;IAEU,IAAI,EAApB,QAAQ;CAGhB,GAAS,KAAK,CAAC,SAAS,CAgL1B;uBAnMa,OAAO,uBAAuB,EAAE,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CANG;IAAwB,KAAK,EAArB,MAAM;IACU,IAAI,EAApB,QAAQ;CAGhB,GAAS,KAAK,CAAC,SAAS,CA6L1B;uBAhNa,OAAO,uBAAuB,EAAE,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor/index.js"],"names":[],"mappings":";AAgBA;;;;;;;;;;;gCAgFC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor/index.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;gCAsGC"}
@@ -1,6 +1,5 @@
1
- export default function EditorInterface({ className, styles, children, forceIsDirty, contentRef, disableIframe, autoFocus, customSaveButton, customSavePanel, forceDisableBlockTools, title, iframeProps, }: {
1
+ export default function EditorInterface({ className, children, forceIsDirty, contentRef, disableIframe, autoFocus, customSaveButton, customSavePanel, forceDisableBlockTools, iframeProps, }: {
2
2
  className: any;
3
- styles: any;
4
3
  children: any;
5
4
  forceIsDirty: any;
6
5
  contentRef: any;
@@ -9,7 +8,6 @@ export default function EditorInterface({ className, styles, children, forceIsDi
9
8
  customSaveButton: any;
10
9
  customSavePanel: any;
11
10
  forceDisableBlockTools: any;
12
- title: any;
13
11
  iframeProps: any;
14
12
  }): import("react").JSX.Element;
15
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;gCA8KC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA2CA;;;;;;;;;;;gCA8KC"}
@@ -1 +1 @@
1
- {"version":3,"file":"entity-type-list.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-type-list.js"],"names":[],"mappings":"AAyEA;;;;gCAsDC"}
1
+ {"version":3,"file":"entity-type-list.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-type-list.js"],"names":[],"mappings":"AA2EA;;;;gCAsDC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Auto-navigate to block styles when a block is selected in the canvas.
3
+ *
4
+ * @param {Object} props
5
+ * @param {string} props.path Current navigation path.
6
+ * @param {Function} props.onPathChange Callback to change the navigation path.
7
+ */
8
+ export function GlobalStylesBlockLink({ path, onPathChange }: {
9
+ path: string;
10
+ onPathChange: Function;
11
+ }): null;
12
+ //# sourceMappingURL=block-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-link.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles/block-link.js"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,8DAHG;IAAwB,IAAI,EAApB,MAAM;IACU,YAAY;CACtC,QAkDA"}
@@ -0,0 +1,7 @@
1
+ export default ScreenHeader;
2
+ declare function ScreenHeader({ title, description, onBack }: {
3
+ title: any;
4
+ description: any;
5
+ onBack: any;
6
+ }): import("react").JSX.Element;
7
+ //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles/header.js"],"names":[],"mappings":";AAcA;;;;gCA+BC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Hook to get merged global styles configuration
3
+ *
4
+ * @return {Object} Object containing merged, base, user configs and setUser function
5
+ * { merged, base, user, setUser }
6
+ */
7
+ export function useGlobalStyles(): Object;
8
+ /**
9
+ * Hook to get a style value from global styles
10
+ *
11
+ * @param {string} path Style path (e.g., 'color.background')
12
+ * @param {string} blockName Optional block name
13
+ * @return {*} Style value
14
+ */
15
+ export function useStyle(path: string, blockName: string): any;
16
+ /**
17
+ * Hook to get a setting value from global styles
18
+ *
19
+ * @param {string} path Setting path (e.g., 'spacing.blockGap')
20
+ * @param {string} blockName Optional block name
21
+ * @return {*} Setting value
22
+ */
23
+ export function useSetting(path: string, blockName: string): any;
24
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles/hooks.js"],"names":[],"mappings":"AAgKA;;;;;GAKG;AACH,mCAHY,MAAM,CAsBjB;AAED;;;;;;GAMG;AACH,+BAJW,MAAM,aACN,MAAM,GACL,GAAC,CAQZ;AAED;;;;;;GAMG;AACH,iCAJW,MAAM,aACN,MAAM,GACL,GAAC,CAQZ"}
@@ -0,0 +1,6 @@
1
+ export default function GlobalStylesUIWrapper({ path, onPathChange }: {
2
+ path: any;
3
+ onPathChange: any;
4
+ }): import("react").JSX.Element | null;
5
+ export { useGlobalStyles, useStyle, useSetting } from "./hooks";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles/index.js"],"names":[],"mappings":"AA0FA;;;uCAgCC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Action menu with Reset, Welcome Guide, and Additional CSS.
3
+ *
4
+ * @param {Object} props Component props.
5
+ * @param {boolean} props.hideWelcomeGuide Whether to hide the Welcome Guide option.
6
+ * @param {Function} props.onChangePath Callback for navigation to different paths (e.g., '/css').
7
+ * @return {JSX.Element} The Global Styles Action Menu component.
8
+ */
9
+ export function GlobalStylesActionMenu({ hideWelcomeGuide, onChangePath, }: {
10
+ hideWelcomeGuide: boolean;
11
+ onChangePath: Function;
12
+ }): JSX.Element;
13
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles/menu.js"],"names":[],"mappings":"AAeA;;;;;;;GAOG;AACH,4EAJG;IAAwB,gBAAgB,EAAhC,OAAO;IACS,YAAY;CACpC,GAAS,GAAG,CAAC,OAAO,CA+EtB"}
@@ -1,4 +1,3 @@
1
- export function mergeBaseAndUserConfigs(base: any, user: any): any;
2
1
  export function useGlobalStylesContext(): {
3
2
  isReady: any;
4
3
  user: boolean | {
@@ -7,14 +6,11 @@ export function useGlobalStylesContext(): {
7
6
  _links: any;
8
7
  } | ((callbackOrObject: Function | Object, options?: Object) => void);
9
8
  base: any;
10
- merged: any;
9
+ merged: import("@wordpress/global-styles-engine").GlobalStylesConfig;
11
10
  setUserConfig: boolean | {
12
11
  settings: any;
13
12
  styles: any;
14
13
  _links: any;
15
14
  } | ((callbackOrObject: Function | Object, options?: Object) => void);
16
15
  };
17
- export function GlobalStylesProvider({ children }: {
18
- children: any;
19
- }): import("react").JSX.Element | null;
20
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AAuBA,mEAoBC;AAiKD;;;;;;4BAjDa,WAAS,MAAM,YAEf,MAAM;;;;;;;4BAFN,WAAS,MAAM,YAEf,MAAM;EA8ElB;AAED;;uCAWC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AA+KA;;;;;;4BAjDa,WAAS,MAAM,YAEf,MAAM;;;;;;;4BAFN,WAAS,MAAM,YAEf,MAAM;EA8ElB"}
@@ -0,0 +1,4 @@
1
+ export function GlobalStylesRenderer({ disableRootPadding }: {
2
+ disableRootPadding: any;
3
+ }): null;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-renderer/index.js"],"names":[],"mappings":"AAkCA;;SAIC"}
@@ -0,0 +1,13 @@
1
+ export default function DefaultSidebar({ className, identifier, title, icon, children, closeLabel, header, headerClassName, panelClassName, isActiveByDefault, }: {
2
+ className: any;
3
+ identifier: any;
4
+ title: any;
5
+ icon: any;
6
+ children: any;
7
+ closeLabel: any;
8
+ header: any;
9
+ headerClassName: any;
10
+ panelClassName: any;
11
+ isActiveByDefault: any;
12
+ }): import("react").JSX.Element;
13
+ //# sourceMappingURL=default-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-sidebar/default-sidebar.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;gCAqCC"}
@@ -0,0 +1,2 @@
1
+ export default function GlobalStylesSidebar(): import("react").JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-sidebar/index.js"],"names":[],"mappings":"AAuBA,2EAyJC"}
@@ -0,0 +1,5 @@
1
+ export default function WelcomeGuideImage({ nonAnimatedSrc, animatedSrc }: {
2
+ nonAnimatedSrc: any;
3
+ animatedSrc: any;
4
+ }): import("react").JSX.Element;
5
+ //# sourceMappingURL=welcome-guide-image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"welcome-guide-image.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-sidebar/welcome-guide-image.js"],"names":[],"mappings":"AAAA;;;gCAUC"}
@@ -0,0 +1,2 @@
1
+ export default function WelcomeGuideStyles(): import("react").JSX.Element | null;
2
+ //# sourceMappingURL=welcome-guide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"welcome-guide.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-sidebar/welcome-guide.js"],"names":[],"mappings":"AAcA,iFAyHC"}
@@ -1,9 +1,7 @@
1
1
  export default Header;
2
- declare function Header({ customSaveButton, forceIsDirty, forceDisableBlockTools, setEntitiesSavedStatesCallback, title, }: {
2
+ declare function Header({ customSaveButton, forceIsDirty, setEntitiesSavedStatesCallback, }: {
3
3
  customSaveButton: any;
4
4
  forceIsDirty: any;
5
- forceDisableBlockTools: any;
6
5
  setEntitiesSavedStatesCallback: any;
7
- title: any;
8
6
  }): import("react").JSX.Element;
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AAmDA;;;;;;gCA0JC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AAiDA;;;;gCA0JC"}
@@ -3,6 +3,6 @@ export function useEditedPostContext(): {
3
3
  postType: string;
4
4
  };
5
5
  export function useAllowSwitchingTemplates(): boolean;
6
- export function useAvailableTemplates(postType: any): false | Partial<import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any>>[];
6
+ export function useAvailableTemplates(postType: any): false | (import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any> | Partial<import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any>>)[] | undefined;
7
7
  export function useCurrentTemplateSlug(): any;
8
8
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA8BC;AAwDD,ipCAeC;AAED,8CAuBC"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA8BC;AAeD,yuEAeC;AAED,8CAuBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA6YA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AApTD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAiPE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA0YA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AAjTD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GA8OE"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { BlockExample, StyleBookCategory, CategoryExamples } from './types';
5
+ /**
6
+ * Returns category examples for a given category definition and list of examples.
7
+ * @param {StyleBookCategory} categoryDefinition The category definition.
8
+ * @param {BlockExample[]} examples An array of block examples.
9
+ * @return {CategoryExamples|undefined} An object containing the category examples.
10
+ */
11
+ export declare function getExamplesByCategory(categoryDefinition: StyleBookCategory, examples: BlockExample[]): CategoryExamples | undefined;
12
+ /**
13
+ * Returns category examples for a given category definition and list of examples.
14
+ *
15
+ * @return {StyleBookCategory[]} An array of top-level category definitions.
16
+ */
17
+ export declare function getTopLevelStyleBookCategories(): StyleBookCategory[];
18
+ //# sourceMappingURL=categories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/categories.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,OAAO,KAAK,EACX,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAMjB;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACpC,kBAAkB,EAAE,iBAAiB,EACrC,QAAQ,EAAE,YAAY,EAAE,GACtB,gBAAgB,GAAG,SAAS,CAkD9B;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,IAAI,iBAAiB,EAAE,CAUpE"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { ColorExampleProps } from './types';
5
+ declare const ColorExamples: ({ colors, type, templateColumns, itemHeight, }: ColorExampleProps) => JSX.Element | null;
6
+ export default ColorExamples;
7
+ //# sourceMappingURL=color-examples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-examples.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/color-examples.tsx"],"names":[],"mappings":"AAgBA;;GAEG;AACH,OAAO,KAAK,EAAmB,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAElE,QAAA,MAAM,aAAa,mDAKhB,iBAAiB,KAAI,GAAG,CAAC,OAAO,GAAG,IA2BrC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { StyleBookCategory, StyleBookColorGroup } from './types';
5
+ export declare const STYLE_BOOK_COLOR_GROUPS: StyleBookColorGroup[];
6
+ export declare const STYLE_BOOK_THEME_SUBCATEGORIES: Omit<StyleBookCategory, 'subcategories'>[];
7
+ export declare const STYLE_BOOK_CATEGORIES: StyleBookCategory[];
8
+ export declare const STYLE_BOOK_ALL_BLOCKS_SUBCATEGORIES: StyleBookCategory[];
9
+ export declare const STYLE_BOOK_PREVIEW_CATEGORIES: StyleBookCategory[];
10
+ export declare const STYLE_BOOK_IFRAME_STYLES = "\n\tbody {\n\t\tposition: relative;\n\t\tpadding: 32px !important;\n\t}\n\n\t\n\t.is-root-container {\n\t\tdisplay: flow-root;\n\t}\n\n\n\t.editor-style-book__examples {\n\t\tmax-width: 1200px;\n\t\tmargin: 0 auto;\n\t}\n\n\t.editor-style-book__example {\n\t max-width: 900px;\n\t\tborder-radius: 2px;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 40px;\n\t\tpadding: 16px;\n\t\twidth: 100%;\n\t\tbox-sizing: border-box;\n\t\tscroll-margin-top: 32px;\n\t\tscroll-margin-bottom: 32px;\n\t\tmargin: 0 auto 40px auto;\n\t}\n\n\t.editor-style-book__example.is-selected {\n\t\tbox-shadow: 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n\t}\n\n\t.editor-style-book__example.is-disabled-example {\n\t\tpointer-events: none;\n\t}\n\n\t.editor-style-book__example:focus:not(:disabled) {\n\t\tbox-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n\t\toutline: 3px solid transparent;\n\t}\n\n\t.editor-style-book__duotone-example > div:first-child {\n\t\tdisplay: flex;\n\t\taspect-ratio: 16 / 9;\n\t\tgrid-row: span 1;\n\t\tgrid-column: span 2;\n\t}\n\t.editor-style-book__duotone-example img {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\t.editor-style-book__duotone-example > div:not(:first-child) {\n\t\theight: 20px;\n\t\tborder: 1px solid color-mix( in srgb, currentColor 10%, transparent );\n\t}\n\n\t.editor-style-book__color-example {\n\t\tborder: 1px solid color-mix( in srgb, currentColor 10%, transparent );\n\t}\n\n\t.editor-style-book__subcategory-title,\n\t.editor-style-book__example-title {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n\t\tfont-size: 13px;\n\t\tfont-weight: normal;\n\t\tline-height: normal;\n\t\tmargin: 0;\n\t\ttext-align: left;\n\t\tpadding-top: 8px;\n\t\tborder-top: 1px solid color-mix( in srgb, currentColor 10%, transparent );\n\t\tcolor: color-mix( in srgb, currentColor 60%, transparent );\n\t}\n\n\t.editor-style-book__subcategory-title {\n\t\tfont-size: 16px;\n\t\tmargin-bottom: 40px;\n \tpadding-bottom: 8px;\n\t}\n\n\t.editor-style-book__example-preview {\n\t\twidth: 100%;\n\t}\n\n\t.editor-style-book__example-preview .block-editor-block-list__insertion-point,\n\t.editor-style-book__example-preview .block-list-appender {\n\t\tdisplay: none;\n\t}\n\t:where(.is-root-container > .wp-block:first-child) {\n\t\tmargin-top: 0;\n\t}\n\t:where(.is-root-container > .wp-block:last-child) {\n\t\tmargin-bottom: 0;\n\t}\n";
11
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/constants.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEtE,eAAO,MAAM,uBAAuB,EAAE,mBAAmB,EA2CxD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,IAAI,CAChD,iBAAiB,EACjB,eAAe,CACf,EAgDA,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAwCpD,CAAC;AAGF,eAAO,MAAM,mCAAmC,EAAE,iBAAiB,EAiBlE,CAAC;AAGF,eAAO,MAAM,6BAA6B,EAAE,iBAAiB,EA0B5D,CAAC;AAgBF,eAAO,MAAM,wBAAwB,mkFA8FpC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { Duotone } from './types';
5
+ declare const DuotoneExamples: ({ duotones, }: {
6
+ duotones: Duotone[];
7
+ }) => JSX.Element | null;
8
+ export default DuotoneExamples;
9
+ //# sourceMappingURL=duotone-examples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duotone-examples.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/duotone-examples.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,eAAe,kBAElB;IACF,QAAQ,EAAE,OAAO,EAAE,CAAC;CACpB,KAAI,GAAG,CAAC,OAAO,GAAG,IAuClB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { BlockExample, MultiOriginPalettes } from './types';
5
+ /**
6
+ * Returns a list of examples for registered block types.
7
+ *
8
+ * @param {MultiOriginPalettes} colors Global styles colors grouped by origin e.g. Core, Theme, and User.
9
+ * @return {BlockExample[]} An array of block examples.
10
+ */
11
+ export declare function getExamples(colors: MultiOriginPalettes): BlockExample[];
12
+ //# sourceMappingURL=examples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"examples.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/examples.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EACX,YAAY,EAEZ,mBAAmB,EAEnB,MAAM,SAAS,CAAC;AAyLjB;;;;;GAKG;AACH,wBAAgB,WAAW,CAAE,MAAM,EAAE,mBAAmB,GAAI,YAAY,EAAE,CA4DzE"}