@wordpress/components 28.3.0 → 28.5.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 (1233) hide show
  1. package/CHANGELOG.md +70 -1
  2. package/CONTRIBUTING.md +1 -1
  3. package/build/autocomplete/autocompleter-ui.js +2 -0
  4. package/build/autocomplete/autocompleter-ui.js.map +1 -1
  5. package/build/autocomplete/types.js.map +1 -1
  6. package/build/base-control/styles/base-control-styles.js +8 -8
  7. package/build/base-control/styles/base-control-styles.js.map +1 -1
  8. package/build/base-control/types.js.map +1 -1
  9. package/build/border-control/styles.js +18 -24
  10. package/build/border-control/styles.js.map +1 -1
  11. package/build/button/index.js +9 -7
  12. package/build/button/index.js.map +1 -1
  13. package/build/button/types.js.map +1 -1
  14. package/build/checkbox-control/index.js +1 -0
  15. package/build/checkbox-control/index.js.map +1 -1
  16. package/build/color-palette/index.js +1 -1
  17. package/build/color-palette/index.js.map +1 -1
  18. package/build/color-picker/component.js +8 -17
  19. package/build/color-picker/component.js.map +1 -1
  20. package/build/combobox-control/index.js +9 -0
  21. package/build/combobox-control/index.js.map +1 -1
  22. package/build/custom-select-control/index.js +141 -167
  23. package/build/custom-select-control/index.js.map +1 -1
  24. package/build/custom-select-control/types.js +6 -0
  25. package/build/custom-select-control/types.js.map +1 -0
  26. package/build/custom-select-control-v2/custom-select.js +4 -1
  27. package/build/custom-select-control-v2/custom-select.js.map +1 -1
  28. package/build/custom-select-control-v2/index.js +35 -7
  29. package/build/custom-select-control-v2/index.js.map +1 -1
  30. package/build/custom-select-control-v2/styles.js +25 -9
  31. package/build/custom-select-control-v2/styles.js.map +1 -1
  32. package/build/custom-select-control-v2/types.js.map +1 -1
  33. package/build/date-time/index.js +0 -7
  34. package/build/date-time/index.js.map +1 -1
  35. package/build/date-time/time/index.js +66 -38
  36. package/build/date-time/time/index.js.map +1 -1
  37. package/build/date-time/time/styles.js +11 -11
  38. package/build/date-time/time/styles.js.map +1 -1
  39. package/build/date-time/{time-input → time/time-input}/index.js +7 -7
  40. package/build/date-time/time/time-input/index.js.map +1 -0
  41. package/build/dropdown-menu-v2/styles.js +14 -14
  42. package/build/dropdown-menu-v2/styles.js.map +1 -1
  43. package/build/focal-point-picker/index.js +1 -0
  44. package/build/focal-point-picker/index.js.map +1 -1
  45. package/build/font-size-picker/font-size-picker-select.js +4 -4
  46. package/build/font-size-picker/font-size-picker-select.js.map +1 -1
  47. package/build/font-size-picker/index.js +36 -24
  48. package/build/font-size-picker/index.js.map +1 -1
  49. package/build/font-size-picker/types.js.map +1 -1
  50. package/build/form-toggle/index.js +24 -24
  51. package/build/form-toggle/index.js.map +1 -1
  52. package/build/form-token-field/index.js +8 -0
  53. package/build/form-token-field/index.js.map +1 -1
  54. package/build/guide/index.js +2 -0
  55. package/build/guide/index.js.map +1 -1
  56. package/build/heading/types.js.map +1 -1
  57. package/build/index.js +2 -2
  58. package/build/index.js.map +1 -1
  59. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +1 -1
  60. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  61. package/build/modal/index.js +18 -11
  62. package/build/modal/index.js.map +1 -1
  63. package/build/private-apis.js +0 -4
  64. package/build/private-apis.js.map +1 -1
  65. package/build/query-controls/index.js +1 -1
  66. package/build/query-controls/index.js.map +1 -1
  67. package/build/radio-control/index.js +34 -7
  68. package/build/radio-control/index.js.map +1 -1
  69. package/build/radio-control/types.js.map +1 -1
  70. package/build/range-control/index.js +1 -0
  71. package/build/range-control/index.js.map +1 -1
  72. package/build/select-control/index.js +25 -8
  73. package/build/select-control/index.js.map +1 -1
  74. package/build/select-control/styles/select-control-styles.js +42 -11
  75. package/build/select-control/styles/select-control-styles.js.map +1 -1
  76. package/build/select-control/types.js.map +1 -1
  77. package/build/tabs/styles.js +3 -3
  78. package/build/tabs/styles.js.map +1 -1
  79. package/build/tabs/tablist.js +4 -189
  80. package/build/tabs/tablist.js.map +1 -1
  81. package/build/text-control/index.js +1 -0
  82. package/build/text-control/index.js.map +1 -1
  83. package/build/textarea-control/index.js +1 -0
  84. package/build/textarea-control/index.js.map +1 -1
  85. package/build/toggle-control/index.js +36 -28
  86. package/build/toggle-control/index.js.map +1 -1
  87. package/build/toggle-group-control/toggle-group-control/component.js +6 -1
  88. package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
  89. package/build/toggle-group-control/toggle-group-control-option/component.js +6 -1
  90. package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  91. package/build/toggle-group-control/toggle-group-control-option-base/component.js +3 -0
  92. package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  93. package/build/toggle-group-control/toggle-group-control-option-base/styles.js +9 -9
  94. package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  95. package/build/toggle-group-control/toggle-group-control-option-icon/component.js +14 -14
  96. package/build/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  97. package/build/tools-panel/tools-panel-header/component.js +1 -1
  98. package/build/tools-panel/tools-panel-header/component.js.map +1 -1
  99. package/build/tooltip/index.js +12 -1
  100. package/build/tooltip/index.js.map +1 -1
  101. package/build/tree-select/index.js +1 -1
  102. package/build/tree-select/index.js.map +1 -1
  103. package/build/utils/config-values.js +6 -0
  104. package/build/utils/config-values.js.map +1 -1
  105. package/build/utils/element-rect.js +157 -0
  106. package/build/utils/element-rect.js.map +1 -0
  107. package/build/utils/hooks/use-event.js +41 -0
  108. package/build/utils/hooks/use-event.js.map +1 -0
  109. package/build/utils/hooks/use-on-value-update.js +46 -0
  110. package/build/utils/hooks/use-on-value-update.js.map +1 -0
  111. package/build-module/autocomplete/autocompleter-ui.js +2 -0
  112. package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
  113. package/build-module/autocomplete/types.js.map +1 -1
  114. package/build-module/base-control/styles/base-control-styles.js +8 -8
  115. package/build-module/base-control/styles/base-control-styles.js.map +1 -1
  116. package/build-module/base-control/types.js.map +1 -1
  117. package/build-module/border-control/styles.js +13 -23
  118. package/build-module/border-control/styles.js.map +1 -1
  119. package/build-module/button/index.js +9 -7
  120. package/build-module/button/index.js.map +1 -1
  121. package/build-module/button/types.js.map +1 -1
  122. package/build-module/checkbox-control/index.js +1 -0
  123. package/build-module/checkbox-control/index.js.map +1 -1
  124. package/build-module/color-palette/index.js +1 -1
  125. package/build-module/color-palette/index.js.map +1 -1
  126. package/build-module/color-picker/component.js +9 -18
  127. package/build-module/color-picker/component.js.map +1 -1
  128. package/build-module/combobox-control/index.js +9 -0
  129. package/build-module/combobox-control/index.js.map +1 -1
  130. package/build-module/custom-select-control/index.js +140 -166
  131. package/build-module/custom-select-control/index.js.map +1 -1
  132. package/build-module/custom-select-control/types.js +2 -0
  133. package/build-module/custom-select-control/types.js.map +1 -0
  134. package/build-module/custom-select-control-v2/custom-select.js +4 -1
  135. package/build-module/custom-select-control-v2/custom-select.js.map +1 -1
  136. package/build-module/custom-select-control-v2/index.js +27 -1
  137. package/build-module/custom-select-control-v2/index.js.map +1 -1
  138. package/build-module/custom-select-control-v2/styles.js +26 -10
  139. package/build-module/custom-select-control-v2/styles.js.map +1 -1
  140. package/build-module/custom-select-control-v2/types.js.map +1 -1
  141. package/build-module/date-time/index.js +1 -2
  142. package/build-module/date-time/index.js.map +1 -1
  143. package/build-module/date-time/time/index.js +66 -38
  144. package/build-module/date-time/time/index.js.map +1 -1
  145. package/build-module/date-time/time/styles.js +11 -11
  146. package/build-module/date-time/time/styles.js.map +1 -1
  147. package/build-module/date-time/{time-input → time/time-input}/index.js +7 -7
  148. package/build-module/date-time/time/time-input/index.js.map +1 -0
  149. package/build-module/dropdown-menu-v2/styles.js +14 -14
  150. package/build-module/dropdown-menu-v2/styles.js.map +1 -1
  151. package/build-module/focal-point-picker/index.js +1 -0
  152. package/build-module/focal-point-picker/index.js.map +1 -1
  153. package/build-module/font-size-picker/font-size-picker-select.js +3 -3
  154. package/build-module/font-size-picker/font-size-picker-select.js.map +1 -1
  155. package/build-module/font-size-picker/index.js +36 -24
  156. package/build-module/font-size-picker/index.js.map +1 -1
  157. package/build-module/font-size-picker/types.js.map +1 -1
  158. package/build-module/form-toggle/index.js +23 -22
  159. package/build-module/form-toggle/index.js.map +1 -1
  160. package/build-module/form-token-field/index.js +8 -0
  161. package/build-module/form-token-field/index.js.map +1 -1
  162. package/build-module/guide/index.js +2 -0
  163. package/build-module/guide/index.js.map +1 -1
  164. package/build-module/heading/types.js.map +1 -1
  165. package/build-module/index.js +1 -1
  166. package/build-module/index.js.map +1 -1
  167. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +1 -1
  168. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  169. package/build-module/modal/index.js +17 -11
  170. package/build-module/modal/index.js.map +1 -1
  171. package/build-module/private-apis.js +0 -4
  172. package/build-module/private-apis.js.map +1 -1
  173. package/build-module/query-controls/index.js +1 -1
  174. package/build-module/query-controls/index.js.map +1 -1
  175. package/build-module/radio-control/index.js +35 -9
  176. package/build-module/radio-control/index.js.map +1 -1
  177. package/build-module/radio-control/types.js.map +1 -1
  178. package/build-module/range-control/index.js +1 -0
  179. package/build-module/range-control/index.js.map +1 -1
  180. package/build-module/select-control/index.js +25 -8
  181. package/build-module/select-control/index.js.map +1 -1
  182. package/build-module/select-control/styles/select-control-styles.js +41 -6
  183. package/build-module/select-control/styles/select-control-styles.js.map +1 -1
  184. package/build-module/select-control/types.js.map +1 -1
  185. package/build-module/tabs/styles.js +3 -3
  186. package/build-module/tabs/styles.js.map +1 -1
  187. package/build-module/tabs/tablist.js +3 -188
  188. package/build-module/tabs/tablist.js.map +1 -1
  189. package/build-module/text-control/index.js +1 -0
  190. package/build-module/text-control/index.js.map +1 -1
  191. package/build-module/textarea-control/index.js +1 -0
  192. package/build-module/textarea-control/index.js.map +1 -1
  193. package/build-module/toggle-control/index.js +35 -27
  194. package/build-module/toggle-control/index.js.map +1 -1
  195. package/build-module/toggle-group-control/toggle-group-control/component.js +6 -1
  196. package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
  197. package/build-module/toggle-group-control/toggle-group-control-option/component.js +6 -1
  198. package/build-module/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  199. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js +3 -0
  200. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  201. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js +9 -9
  202. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  203. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js +14 -14
  204. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  205. package/build-module/tools-panel/tools-panel-header/component.js +1 -1
  206. package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
  207. package/build-module/tooltip/index.js +13 -2
  208. package/build-module/tooltip/index.js.map +1 -1
  209. package/build-module/tree-select/index.js +1 -1
  210. package/build-module/tree-select/index.js.map +1 -1
  211. package/build-module/utils/config-values.js +6 -0
  212. package/build-module/utils/config-values.js.map +1 -1
  213. package/build-module/utils/element-rect.js +147 -0
  214. package/build-module/utils/element-rect.js.map +1 -0
  215. package/build-module/utils/hooks/use-event.js +35 -0
  216. package/build-module/utils/hooks/use-event.js.map +1 -0
  217. package/build-module/utils/hooks/use-on-value-update.js +39 -0
  218. package/build-module/utils/hooks/use-on-value-update.js.map +1 -0
  219. package/build-style/style-rtl.css +126 -123
  220. package/build-style/style.css +126 -123
  221. package/build-types/alignment-matrix-control/cell.d.ts +0 -1
  222. package/build-types/alignment-matrix-control/cell.d.ts.map +1 -1
  223. package/build-types/alignment-matrix-control/icon.d.ts +0 -1
  224. package/build-types/alignment-matrix-control/icon.d.ts.map +1 -1
  225. package/build-types/alignment-matrix-control/index.d.ts +0 -1
  226. package/build-types/alignment-matrix-control/index.d.ts.map +1 -1
  227. package/build-types/alignment-matrix-control/stories/index.story.d.ts +0 -1
  228. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
  229. package/build-types/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.d.ts +8 -9
  230. package/build-types/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.d.ts.map +1 -1
  231. package/build-types/alignment-matrix-control/styles/alignment-matrix-control-styles.d.ts +10 -11
  232. package/build-types/alignment-matrix-control/styles/alignment-matrix-control-styles.d.ts.map +1 -1
  233. package/build-types/angle-picker-control/angle-circle.d.ts +0 -1
  234. package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
  235. package/build-types/angle-picker-control/index.d.ts +0 -1
  236. package/build-types/angle-picker-control/index.d.ts.map +1 -1
  237. package/build-types/angle-picker-control/stories/index.story.d.ts +0 -1
  238. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -1
  239. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts +7 -8
  240. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +1 -1
  241. package/build-types/animate/index.d.ts +0 -1
  242. package/build-types/animate/index.d.ts.map +1 -1
  243. package/build-types/animate/types.d.ts +0 -1
  244. package/build-types/animate/types.d.ts.map +1 -1
  245. package/build-types/autocomplete/autocompleter-ui.d.ts +0 -1
  246. package/build-types/autocomplete/autocompleter-ui.d.ts.map +1 -1
  247. package/build-types/autocomplete/index.d.ts +2 -3
  248. package/build-types/autocomplete/index.d.ts.map +1 -1
  249. package/build-types/autocomplete/types.d.ts +2 -3
  250. package/build-types/autocomplete/types.d.ts.map +1 -1
  251. package/build-types/base-control/hooks.d.ts +3 -4
  252. package/build-types/base-control/hooks.d.ts.map +1 -1
  253. package/build-types/base-control/index.d.ts +0 -1
  254. package/build-types/base-control/index.d.ts.map +1 -1
  255. package/build-types/base-control/stories/index.story.d.ts +0 -1
  256. package/build-types/base-control/stories/index.story.d.ts.map +1 -1
  257. package/build-types/base-control/styles/base-control-styles.d.ts +10 -11
  258. package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
  259. package/build-types/base-control/types.d.ts +1 -1
  260. package/build-types/border-box-control/border-box-control/component.d.ts +4 -5
  261. package/build-types/border-box-control/border-box-control/component.d.ts.map +1 -1
  262. package/build-types/border-box-control/border-box-control/hook.d.ts +14 -16
  263. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  264. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts +0 -1
  265. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts.map +1 -1
  266. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +12 -14
  267. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts.map +1 -1
  268. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts +5 -6
  269. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts.map +1 -1
  270. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +14 -16
  271. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts.map +1 -1
  272. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts +1 -2
  273. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
  274. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +9 -11
  275. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts.map +1 -1
  276. package/build-types/border-box-control/stories/index.story.d.ts +4 -5
  277. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -1
  278. package/build-types/border-box-control/styles.d.ts +3 -3
  279. package/build-types/border-box-control/utils.d.ts.map +1 -1
  280. package/build-types/border-control/border-control/component.d.ts +14 -15
  281. package/build-types/border-control/border-control/component.d.ts.map +1 -1
  282. package/build-types/border-control/border-control/hook.d.ts +17 -19
  283. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  284. package/build-types/border-control/border-control-dropdown/component.d.ts +6 -7
  285. package/build-types/border-control/border-control-dropdown/component.d.ts.map +1 -1
  286. package/build-types/border-control/border-control-dropdown/hook.d.ts +12 -14
  287. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  288. package/build-types/border-control/border-control-style-picker/component.d.ts +2 -3
  289. package/build-types/border-control/border-control-style-picker/component.d.ts.map +1 -1
  290. package/build-types/border-control/stories/index.story.d.ts +84 -85
  291. package/build-types/border-control/stories/index.story.d.ts.map +1 -1
  292. package/build-types/border-control/styles.d.ts +2 -2
  293. package/build-types/border-control/styles.d.ts.map +1 -1
  294. package/build-types/box-control/all-input-control.d.ts +0 -1
  295. package/build-types/box-control/all-input-control.d.ts.map +1 -1
  296. package/build-types/box-control/axial-input-controls.d.ts +0 -1
  297. package/build-types/box-control/axial-input-controls.d.ts.map +1 -1
  298. package/build-types/box-control/icon.d.ts +0 -1
  299. package/build-types/box-control/icon.d.ts.map +1 -1
  300. package/build-types/box-control/index.d.ts +0 -1
  301. package/build-types/box-control/index.d.ts.map +1 -1
  302. package/build-types/box-control/input-controls.d.ts +0 -1
  303. package/build-types/box-control/input-controls.d.ts.map +1 -1
  304. package/build-types/box-control/linked-button.d.ts +0 -1
  305. package/build-types/box-control/linked-button.d.ts.map +1 -1
  306. package/build-types/box-control/stories/index.story.d.ts +312 -350
  307. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  308. package/build-types/box-control/styles/box-control-icon-styles.d.ts +16 -17
  309. package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +1 -1
  310. package/build-types/box-control/styles/box-control-styles.d.ts +44 -45
  311. package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
  312. package/build-types/box-control/types.d.ts +0 -1
  313. package/build-types/box-control/types.d.ts.map +1 -1
  314. package/build-types/button/deprecated.d.ts +69 -70
  315. package/build-types/button/deprecated.d.ts.map +1 -1
  316. package/build-types/button/index.d.ts.map +1 -1
  317. package/build-types/button/stories/e2e/index.story.d.ts +0 -1
  318. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
  319. package/build-types/button/stories/index.story.d.ts +0 -1
  320. package/build-types/button/stories/index.story.d.ts.map +1 -1
  321. package/build-types/button/types.d.ts +9 -2
  322. package/build-types/button/types.d.ts.map +1 -1
  323. package/build-types/button-group/index.d.ts +0 -1
  324. package/build-types/button-group/index.d.ts.map +1 -1
  325. package/build-types/card/card/component.d.ts +5 -6
  326. package/build-types/card/card/component.d.ts.map +1 -1
  327. package/build-types/card/card/hook.d.ts +10 -12
  328. package/build-types/card/card/hook.d.ts.map +1 -1
  329. package/build-types/card/card-body/component.d.ts +4 -5
  330. package/build-types/card/card-body/component.d.ts.map +1 -1
  331. package/build-types/card/card-body/hook.d.ts +10 -12
  332. package/build-types/card/card-body/hook.d.ts.map +1 -1
  333. package/build-types/card/card-divider/component.d.ts +4 -5
  334. package/build-types/card/card-divider/component.d.ts.map +1 -1
  335. package/build-types/card/card-divider/hook.d.ts +15 -17
  336. package/build-types/card/card-divider/hook.d.ts.map +1 -1
  337. package/build-types/card/card-footer/component.d.ts +5 -6
  338. package/build-types/card/card-footer/component.d.ts.map +1 -1
  339. package/build-types/card/card-footer/hook.d.ts +10 -12
  340. package/build-types/card/card-footer/hook.d.ts.map +1 -1
  341. package/build-types/card/card-header/component.d.ts +4 -5
  342. package/build-types/card/card-header/component.d.ts.map +1 -1
  343. package/build-types/card/card-header/hook.d.ts +10 -12
  344. package/build-types/card/card-header/hook.d.ts.map +1 -1
  345. package/build-types/card/card-media/component.d.ts +0 -1
  346. package/build-types/card/card-media/component.d.ts.map +1 -1
  347. package/build-types/card/card-media/hook.d.ts +10 -12
  348. package/build-types/card/card-media/hook.d.ts.map +1 -1
  349. package/build-types/card/context.d.ts +0 -1
  350. package/build-types/card/context.d.ts.map +1 -1
  351. package/build-types/card/stories/index.story.d.ts +3 -22
  352. package/build-types/card/stories/index.story.d.ts.map +1 -1
  353. package/build-types/checkbox-control/index.d.ts +1 -1
  354. package/build-types/checkbox-control/index.d.ts.map +1 -1
  355. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts +0 -1
  356. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts.map +1 -1
  357. package/build-types/circular-option-picker/circular-option-picker-context.d.ts +0 -1
  358. package/build-types/circular-option-picker/circular-option-picker-context.d.ts.map +1 -1
  359. package/build-types/circular-option-picker/circular-option-picker-option-group.d.ts +0 -1
  360. package/build-types/circular-option-picker/circular-option-picker-option-group.d.ts.map +1 -1
  361. package/build-types/circular-option-picker/circular-option-picker-option.d.ts +0 -1
  362. package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
  363. package/build-types/circular-option-picker/circular-option-picker.d.ts +0 -1
  364. package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
  365. package/build-types/clipboard-button/index.d.ts +0 -1
  366. package/build-types/clipboard-button/index.d.ts.map +1 -1
  367. package/build-types/color-indicator/index.d.ts +0 -1
  368. package/build-types/color-indicator/index.d.ts.map +1 -1
  369. package/build-types/color-palette/index.d.ts +0 -1
  370. package/build-types/color-palette/index.d.ts.map +1 -1
  371. package/build-types/color-palette/stories/index.story.d.ts +0 -1
  372. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  373. package/build-types/color-palette/styles.d.ts +7 -8
  374. package/build-types/color-palette/styles.d.ts.map +1 -1
  375. package/build-types/color-palette/utils.d.ts +1 -1
  376. package/build-types/color-palette/utils.d.ts.map +1 -1
  377. package/build-types/color-picker/color-copy-button.d.ts +0 -1
  378. package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
  379. package/build-types/color-picker/color-input.d.ts +0 -1
  380. package/build-types/color-picker/color-input.d.ts.map +1 -1
  381. package/build-types/color-picker/component.d.ts +5 -6
  382. package/build-types/color-picker/component.d.ts.map +1 -1
  383. package/build-types/color-picker/hex-input.d.ts +0 -1
  384. package/build-types/color-picker/hex-input.d.ts.map +1 -1
  385. package/build-types/color-picker/hsl-input.d.ts +0 -1
  386. package/build-types/color-picker/hsl-input.d.ts.map +1 -1
  387. package/build-types/color-picker/input-with-slider.d.ts +0 -1
  388. package/build-types/color-picker/input-with-slider.d.ts.map +1 -1
  389. package/build-types/color-picker/legacy-adapter.d.ts +0 -1
  390. package/build-types/color-picker/legacy-adapter.d.ts.map +1 -1
  391. package/build-types/color-picker/picker.d.ts +0 -1
  392. package/build-types/color-picker/picker.d.ts.map +1 -1
  393. package/build-types/color-picker/rgb-input.d.ts +0 -1
  394. package/build-types/color-picker/rgb-input.d.ts.map +1 -1
  395. package/build-types/color-picker/stories/index.story.d.ts +2 -9
  396. package/build-types/color-picker/stories/index.story.d.ts.map +1 -1
  397. package/build-types/color-picker/styles.d.ts +55 -54
  398. package/build-types/color-picker/styles.d.ts.map +1 -1
  399. package/build-types/combobox-control/index.d.ts +1 -1
  400. package/build-types/combobox-control/index.d.ts.map +1 -1
  401. package/build-types/combobox-control/stories/index.story.d.ts +41 -41
  402. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  403. package/build-types/combobox-control/styles.d.ts +1 -2
  404. package/build-types/combobox-control/styles.d.ts.map +1 -1
  405. package/build-types/combobox-control/types.d.ts +0 -1
  406. package/build-types/combobox-control/types.d.ts.map +1 -1
  407. package/build-types/composite/current/stories/utils.d.ts +0 -1
  408. package/build-types/composite/current/stories/utils.d.ts.map +1 -1
  409. package/build-types/composite/legacy/index.d.ts +0 -1
  410. package/build-types/composite/legacy/index.d.ts.map +1 -1
  411. package/build-types/composite/legacy/stories/utils.d.ts +0 -1
  412. package/build-types/composite/legacy/stories/utils.d.ts.map +1 -1
  413. package/build-types/confirm-dialog/component.d.ts +0 -1
  414. package/build-types/confirm-dialog/component.d.ts.map +1 -1
  415. package/build-types/confirm-dialog/stories/index.story.d.ts +0 -1
  416. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  417. package/build-types/context/context-system-provider.d.ts +1 -1
  418. package/build-types/context/context-system-provider.d.ts.map +1 -1
  419. package/build-types/context/get-styled-class-name-from-key.d.ts +9 -1
  420. package/build-types/context/get-styled-class-name-from-key.d.ts.map +1 -1
  421. package/build-types/context/use-context-system.d.ts +1 -1
  422. package/build-types/context/use-context-system.d.ts.map +1 -1
  423. package/build-types/context/utils.d.ts.map +1 -1
  424. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts +0 -1
  425. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -1
  426. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts +0 -1
  427. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +1 -1
  428. package/build-types/custom-gradient-picker/index.d.ts +0 -1
  429. package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
  430. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +2 -3
  431. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts.map +1 -1
  432. package/build-types/custom-gradient-picker/types.d.ts +0 -1
  433. package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
  434. package/build-types/custom-gradient-picker/utils.d.ts.map +1 -1
  435. package/build-types/custom-select-control/index.d.ts +3 -2
  436. package/build-types/custom-select-control/index.d.ts.map +1 -1
  437. package/build-types/custom-select-control/stories/index.story.d.ts +6 -42
  438. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  439. package/build-types/custom-select-control/test/index.d.ts.map +1 -0
  440. package/build-types/custom-select-control/types.d.ts +122 -0
  441. package/build-types/custom-select-control/types.d.ts.map +1 -0
  442. package/build-types/custom-select-control-v2/custom-select.d.ts +0 -1
  443. package/build-types/custom-select-control-v2/custom-select.d.ts.map +1 -1
  444. package/build-types/custom-select-control-v2/index.d.ts +7 -4
  445. package/build-types/custom-select-control-v2/index.d.ts.map +1 -1
  446. package/build-types/custom-select-control-v2/item.d.ts +0 -1
  447. package/build-types/custom-select-control-v2/item.d.ts.map +1 -1
  448. package/build-types/custom-select-control-v2/stories/{default.story.d.ts → index.story.d.ts} +10 -11
  449. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -0
  450. package/build-types/custom-select-control-v2/styles.d.ts +30 -43
  451. package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
  452. package/build-types/custom-select-control-v2/types.d.ts +0 -106
  453. package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
  454. package/build-types/dashicon/index.d.ts +0 -1
  455. package/build-types/dashicon/index.d.ts.map +1 -1
  456. package/build-types/date-time/date/index.d.ts +0 -1
  457. package/build-types/date-time/date/index.d.ts.map +1 -1
  458. package/build-types/date-time/date/styles.d.ts +17 -18
  459. package/build-types/date-time/date/styles.d.ts.map +1 -1
  460. package/build-types/date-time/date-time/index.d.ts +1 -2
  461. package/build-types/date-time/date-time/index.d.ts.map +1 -1
  462. package/build-types/date-time/date-time/styles.d.ts +3 -4
  463. package/build-types/date-time/date-time/styles.d.ts.map +1 -1
  464. package/build-types/date-time/index.d.ts +1 -2
  465. package/build-types/date-time/index.d.ts.map +1 -1
  466. package/build-types/date-time/stories/time.story.d.ts +5 -0
  467. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  468. package/build-types/date-time/time/index.d.ts +3 -1
  469. package/build-types/date-time/time/index.d.ts.map +1 -1
  470. package/build-types/date-time/time/styles.d.ts +64 -65
  471. package/build-types/date-time/time/styles.d.ts.map +1 -1
  472. package/build-types/date-time/{time-input → time/time-input}/index.d.ts +1 -2
  473. package/build-types/date-time/time/time-input/index.d.ts.map +1 -0
  474. package/build-types/date-time/time/time-input/test/index.d.ts.map +1 -0
  475. package/build-types/date-time/time/timezone.d.ts +0 -1
  476. package/build-types/date-time/time/timezone.d.ts.map +1 -1
  477. package/build-types/date-time/types.d.ts +0 -1
  478. package/build-types/date-time/types.d.ts.map +1 -1
  479. package/build-types/date-time/utils.d.ts +3 -4
  480. package/build-types/date-time/utils.d.ts.map +1 -1
  481. package/build-types/dimension-control/index.d.ts +0 -1
  482. package/build-types/dimension-control/index.d.ts.map +1 -1
  483. package/build-types/disabled/index.d.ts +0 -1
  484. package/build-types/disabled/index.d.ts.map +1 -1
  485. package/build-types/disabled/types.d.ts +0 -1
  486. package/build-types/disabled/types.d.ts.map +1 -1
  487. package/build-types/disclosure/index.d.ts +0 -1
  488. package/build-types/disclosure/index.d.ts.map +1 -1
  489. package/build-types/disclosure/types.d.ts +0 -1
  490. package/build-types/disclosure/types.d.ts.map +1 -1
  491. package/build-types/divider/component.d.ts +4 -5
  492. package/build-types/divider/component.d.ts.map +1 -1
  493. package/build-types/divider/styles.d.ts +6 -7
  494. package/build-types/divider/styles.d.ts.map +1 -1
  495. package/build-types/draggable/index.d.ts +0 -1
  496. package/build-types/draggable/index.d.ts.map +1 -1
  497. package/build-types/drop-zone/index.d.ts +0 -1
  498. package/build-types/drop-zone/index.d.ts.map +1 -1
  499. package/build-types/drop-zone/provider.d.ts +0 -1
  500. package/build-types/drop-zone/provider.d.ts.map +1 -1
  501. package/build-types/drop-zone/stories/index.story.d.ts +0 -1
  502. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  503. package/build-types/dropdown/dropdown-content-wrapper.d.ts +0 -1
  504. package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
  505. package/build-types/dropdown/index.d.ts +0 -1
  506. package/build-types/dropdown/index.d.ts.map +1 -1
  507. package/build-types/dropdown/stories/index.story.d.ts +5 -6
  508. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  509. package/build-types/dropdown/styles.d.ts +2 -3
  510. package/build-types/dropdown/styles.d.ts.map +1 -1
  511. package/build-types/dropdown-menu/index.d.ts +0 -1
  512. package/build-types/dropdown-menu/index.d.ts.map +1 -1
  513. package/build-types/dropdown-menu/stories/index.story.d.ts +3 -4
  514. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -1
  515. package/build-types/dropdown-menu-v2/index.d.ts +0 -1
  516. package/build-types/dropdown-menu-v2/index.d.ts.map +1 -1
  517. package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -1
  518. package/build-types/dropdown-menu-v2/styles.d.ts +41 -60
  519. package/build-types/dropdown-menu-v2/styles.d.ts.map +1 -1
  520. package/build-types/dropdown-menu-v2/types.d.ts +0 -1
  521. package/build-types/dropdown-menu-v2/types.d.ts.map +1 -1
  522. package/build-types/duotone-picker/color-list-picker/index.d.ts +0 -1
  523. package/build-types/duotone-picker/color-list-picker/index.d.ts.map +1 -1
  524. package/build-types/duotone-picker/custom-duotone-bar.d.ts +0 -1
  525. package/build-types/duotone-picker/custom-duotone-bar.d.ts.map +1 -1
  526. package/build-types/duotone-picker/duotone-picker.d.ts +0 -1
  527. package/build-types/duotone-picker/duotone-picker.d.ts.map +1 -1
  528. package/build-types/duotone-picker/duotone-swatch.d.ts +0 -1
  529. package/build-types/duotone-picker/duotone-swatch.d.ts.map +1 -1
  530. package/build-types/elevation/component.d.ts +0 -1
  531. package/build-types/elevation/component.d.ts.map +1 -1
  532. package/build-types/elevation/hook.d.ts +9 -11
  533. package/build-types/elevation/hook.d.ts.map +1 -1
  534. package/build-types/external-link/index.d.ts +0 -1
  535. package/build-types/external-link/index.d.ts.map +1 -1
  536. package/build-types/flex/context.d.ts +2 -3
  537. package/build-types/flex/context.d.ts.map +1 -1
  538. package/build-types/flex/flex/component.d.ts +0 -1
  539. package/build-types/flex/flex/component.d.ts.map +1 -1
  540. package/build-types/flex/flex/hook.d.ts +9 -11
  541. package/build-types/flex/flex/hook.d.ts.map +1 -1
  542. package/build-types/flex/flex-block/component.d.ts +0 -1
  543. package/build-types/flex/flex-block/component.d.ts.map +1 -1
  544. package/build-types/flex/flex-block/hook.d.ts +9 -11
  545. package/build-types/flex/flex-block/hook.d.ts.map +1 -1
  546. package/build-types/flex/flex-item/component.d.ts +0 -1
  547. package/build-types/flex/flex-item/component.d.ts.map +1 -1
  548. package/build-types/flex/flex-item/hook.d.ts +9 -11
  549. package/build-types/flex/flex-item/hook.d.ts.map +1 -1
  550. package/build-types/focal-point-picker/controls.d.ts +0 -1
  551. package/build-types/focal-point-picker/controls.d.ts.map +1 -1
  552. package/build-types/focal-point-picker/focal-point.d.ts +0 -1
  553. package/build-types/focal-point-picker/focal-point.d.ts.map +1 -1
  554. package/build-types/focal-point-picker/grid.d.ts +0 -1
  555. package/build-types/focal-point-picker/grid.d.ts.map +1 -1
  556. package/build-types/focal-point-picker/index.d.ts +1 -1
  557. package/build-types/focal-point-picker/index.d.ts.map +1 -1
  558. package/build-types/focal-point-picker/media.d.ts +0 -1
  559. package/build-types/focal-point-picker/media.d.ts.map +1 -1
  560. package/build-types/focal-point-picker/stories/index.story.d.ts +32 -33
  561. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
  562. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +26 -27
  563. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts.map +1 -1
  564. package/build-types/focal-point-picker/styles/focal-point-style.d.ts +2 -3
  565. package/build-types/focal-point-picker/styles/focal-point-style.d.ts.map +1 -1
  566. package/build-types/focusable-iframe/index.d.ts +0 -1
  567. package/build-types/focusable-iframe/index.d.ts.map +1 -1
  568. package/build-types/font-size-picker/font-size-picker-select.d.ts +0 -1
  569. package/build-types/font-size-picker/font-size-picker-select.d.ts.map +1 -1
  570. package/build-types/font-size-picker/font-size-picker-toggle-group.d.ts +0 -1
  571. package/build-types/font-size-picker/font-size-picker-toggle-group.d.ts.map +1 -1
  572. package/build-types/font-size-picker/index.d.ts +0 -1
  573. package/build-types/font-size-picker/index.d.ts.map +1 -1
  574. package/build-types/font-size-picker/stories/e2e/index.story.d.ts +0 -1
  575. package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -1
  576. package/build-types/font-size-picker/styles.d.ts +9 -10
  577. package/build-types/font-size-picker/styles.d.ts.map +1 -1
  578. package/build-types/font-size-picker/types.d.ts +6 -5
  579. package/build-types/font-size-picker/types.d.ts.map +1 -1
  580. package/build-types/form-file-upload/index.d.ts +0 -1
  581. package/build-types/form-file-upload/index.d.ts.map +1 -1
  582. package/build-types/form-file-upload/stories/index.story.d.ts +0 -1
  583. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  584. package/build-types/form-toggle/index.d.ts +2 -5
  585. package/build-types/form-toggle/index.d.ts.map +1 -1
  586. package/build-types/form-token-field/index.d.ts +0 -1
  587. package/build-types/form-token-field/index.d.ts.map +1 -1
  588. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
  589. package/build-types/form-token-field/styles.d.ts +1 -2
  590. package/build-types/form-token-field/styles.d.ts.map +1 -1
  591. package/build-types/form-token-field/suggestions-list.d.ts +0 -1
  592. package/build-types/form-token-field/suggestions-list.d.ts.map +1 -1
  593. package/build-types/form-token-field/token.d.ts +0 -1
  594. package/build-types/form-token-field/token.d.ts.map +1 -1
  595. package/build-types/gradient-picker/index.d.ts +0 -1
  596. package/build-types/gradient-picker/index.d.ts.map +1 -1
  597. package/build-types/gradient-picker/types.d.ts +0 -1
  598. package/build-types/gradient-picker/types.d.ts.map +1 -1
  599. package/build-types/grid/component.d.ts +0 -1
  600. package/build-types/grid/component.d.ts.map +1 -1
  601. package/build-types/grid/hook.d.ts +9 -11
  602. package/build-types/grid/hook.d.ts.map +1 -1
  603. package/build-types/guide/icons.d.ts +0 -1
  604. package/build-types/guide/icons.d.ts.map +1 -1
  605. package/build-types/guide/index.d.ts +0 -1
  606. package/build-types/guide/index.d.ts.map +1 -1
  607. package/build-types/guide/page-control.d.ts +0 -1
  608. package/build-types/guide/page-control.d.ts.map +1 -1
  609. package/build-types/guide/page.d.ts +0 -1
  610. package/build-types/guide/page.d.ts.map +1 -1
  611. package/build-types/h-stack/component.d.ts +2 -3
  612. package/build-types/h-stack/component.d.ts.map +1 -1
  613. package/build-types/h-stack/hook.d.ts +9 -11
  614. package/build-types/h-stack/hook.d.ts.map +1 -1
  615. package/build-types/heading/component.d.ts +5 -6
  616. package/build-types/heading/component.d.ts.map +1 -1
  617. package/build-types/heading/hook.d.ts +9 -11
  618. package/build-types/heading/hook.d.ts.map +1 -1
  619. package/build-types/heading/types.d.ts +1 -1
  620. package/build-types/heading/types.d.ts.map +1 -1
  621. package/build-types/higher-order/navigate-regions/index.d.ts +1 -2
  622. package/build-types/higher-order/navigate-regions/index.d.ts.map +1 -1
  623. package/build-types/higher-order/with-constrained-tabbing/index.d.ts +0 -1
  624. package/build-types/higher-order/with-constrained-tabbing/index.d.ts.map +1 -1
  625. package/build-types/higher-order/with-fallback-styles/index.d.ts +3 -4
  626. package/build-types/higher-order/with-fallback-styles/index.d.ts.map +1 -1
  627. package/build-types/higher-order/with-filters/index.d.ts +4 -5
  628. package/build-types/higher-order/with-filters/index.d.ts.map +1 -1
  629. package/build-types/higher-order/with-focus-outside/index.d.ts +0 -1
  630. package/build-types/higher-order/with-focus-outside/index.d.ts.map +1 -1
  631. package/build-types/higher-order/with-focus-return/index.d.ts +0 -1
  632. package/build-types/higher-order/with-focus-return/index.d.ts.map +1 -1
  633. package/build-types/higher-order/with-notices/index.d.ts +0 -1
  634. package/build-types/higher-order/with-notices/index.d.ts.map +1 -1
  635. package/build-types/higher-order/with-notices/types.d.ts +0 -1
  636. package/build-types/higher-order/with-notices/types.d.ts.map +1 -1
  637. package/build-types/higher-order/with-spoken-messages/index.d.ts +0 -1
  638. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  639. package/build-types/index.d.ts +1 -1
  640. package/build-types/index.d.ts.map +1 -1
  641. package/build-types/input-control/backdrop.d.ts +0 -1
  642. package/build-types/input-control/backdrop.d.ts.map +1 -1
  643. package/build-types/input-control/input-base.d.ts +0 -1
  644. package/build-types/input-control/input-base.d.ts.map +1 -1
  645. package/build-types/input-control/input-field.d.ts +0 -1
  646. package/build-types/input-control/input-field.d.ts.map +1 -1
  647. package/build-types/input-control/input-prefix-wrapper.d.ts +0 -1
  648. package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
  649. package/build-types/input-control/input-suffix-wrapper.d.ts +0 -1
  650. package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
  651. package/build-types/input-control/label.d.ts +0 -1
  652. package/build-types/input-control/label.d.ts.map +1 -1
  653. package/build-types/input-control/reducer/reducer.d.ts +9 -9
  654. package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
  655. package/build-types/input-control/stories/index.story.d.ts +0 -1
  656. package/build-types/input-control/stories/index.story.d.ts.map +1 -1
  657. package/build-types/input-control/styles/input-control-styles.d.ts +13 -13
  658. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  659. package/build-types/isolated-event-container/index.d.ts +0 -1
  660. package/build-types/isolated-event-container/index.d.ts.map +1 -1
  661. package/build-types/item-group/context.d.ts +0 -1
  662. package/build-types/item-group/context.d.ts.map +1 -1
  663. package/build-types/item-group/item/component.d.ts +0 -1
  664. package/build-types/item-group/item/component.d.ts.map +1 -1
  665. package/build-types/item-group/item/hook.d.ts +10 -12
  666. package/build-types/item-group/item/hook.d.ts.map +1 -1
  667. package/build-types/item-group/item-group/component.d.ts +0 -1
  668. package/build-types/item-group/item-group/component.d.ts.map +1 -1
  669. package/build-types/item-group/item-group/hook.d.ts +11 -13
  670. package/build-types/item-group/item-group/hook.d.ts.map +1 -1
  671. package/build-types/item-group/styles.d.ts +1 -1
  672. package/build-types/item-group/types.d.ts +0 -1
  673. package/build-types/item-group/types.d.ts.map +1 -1
  674. package/build-types/keyboard-shortcuts/index.d.ts +0 -1
  675. package/build-types/keyboard-shortcuts/index.d.ts.map +1 -1
  676. package/build-types/keyboard-shortcuts/types.d.ts +0 -1
  677. package/build-types/keyboard-shortcuts/types.d.ts.map +1 -1
  678. package/build-types/menu-group/index.d.ts +0 -1
  679. package/build-types/menu-group/index.d.ts.map +1 -1
  680. package/build-types/menu-item/index.d.ts +8 -9
  681. package/build-types/menu-item/index.d.ts.map +1 -1
  682. package/build-types/menu-item/stories/index.story.d.ts +32 -33
  683. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  684. package/build-types/menu-items-choice/index.d.ts +0 -1
  685. package/build-types/menu-items-choice/index.d.ts.map +1 -1
  686. package/build-types/modal/index.d.ts +0 -1
  687. package/build-types/modal/index.d.ts.map +1 -1
  688. package/build-types/navigable-container/container.d.ts +8 -8
  689. package/build-types/navigable-container/menu.d.ts +7 -7
  690. package/build-types/navigable-container/tabbable.d.ts +6 -6
  691. package/build-types/navigation/back-button/index.d.ts +0 -1
  692. package/build-types/navigation/back-button/index.d.ts.map +1 -1
  693. package/build-types/navigation/context.d.ts +0 -1
  694. package/build-types/navigation/context.d.ts.map +1 -1
  695. package/build-types/navigation/group/context.d.ts +0 -1
  696. package/build-types/navigation/group/context.d.ts.map +1 -1
  697. package/build-types/navigation/group/index.d.ts +0 -1
  698. package/build-types/navigation/group/index.d.ts.map +1 -1
  699. package/build-types/navigation/index.d.ts +0 -1
  700. package/build-types/navigation/index.d.ts.map +1 -1
  701. package/build-types/navigation/item/base-content.d.ts +0 -1
  702. package/build-types/navigation/item/base-content.d.ts.map +1 -1
  703. package/build-types/navigation/item/base.d.ts +0 -1
  704. package/build-types/navigation/item/base.d.ts.map +1 -1
  705. package/build-types/navigation/item/index.d.ts +0 -1
  706. package/build-types/navigation/item/index.d.ts.map +1 -1
  707. package/build-types/navigation/menu/context.d.ts +0 -1
  708. package/build-types/navigation/menu/context.d.ts.map +1 -1
  709. package/build-types/navigation/menu/index.d.ts +0 -1
  710. package/build-types/navigation/menu/index.d.ts.map +1 -1
  711. package/build-types/navigation/menu/menu-title-search.d.ts +0 -1
  712. package/build-types/navigation/menu/menu-title-search.d.ts.map +1 -1
  713. package/build-types/navigation/menu/menu-title.d.ts +0 -1
  714. package/build-types/navigation/menu/menu-title.d.ts.map +1 -1
  715. package/build-types/navigation/menu/search-no-results-found.d.ts +0 -1
  716. package/build-types/navigation/menu/search-no-results-found.d.ts.map +1 -1
  717. package/build-types/navigation/styles/navigation-styles.d.ts +27 -28
  718. package/build-types/navigation/styles/navigation-styles.d.ts.map +1 -1
  719. package/build-types/navigation/types.d.ts +0 -1
  720. package/build-types/navigation/types.d.ts.map +1 -1
  721. package/build-types/navigation/use-navigation-tree-nodes.d.ts +0 -1
  722. package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +1 -1
  723. package/build-types/navigator/context.d.ts +0 -1
  724. package/build-types/navigator/context.d.ts.map +1 -1
  725. package/build-types/navigator/navigator-back-button/component.d.ts +17 -18
  726. package/build-types/navigator/navigator-back-button/component.d.ts.map +1 -1
  727. package/build-types/navigator/navigator-back-button/hook.d.ts +29 -31
  728. package/build-types/navigator/navigator-back-button/hook.d.ts.map +1 -1
  729. package/build-types/navigator/navigator-button/component.d.ts +18 -19
  730. package/build-types/navigator/navigator-button/component.d.ts.map +1 -1
  731. package/build-types/navigator/navigator-button/hook.d.ts +29 -31
  732. package/build-types/navigator/navigator-button/hook.d.ts.map +1 -1
  733. package/build-types/navigator/navigator-provider/component.d.ts +0 -1
  734. package/build-types/navigator/navigator-provider/component.d.ts.map +1 -1
  735. package/build-types/navigator/navigator-screen/component.d.ts +0 -1
  736. package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
  737. package/build-types/navigator/navigator-to-parent-button/component.d.ts +17 -18
  738. package/build-types/navigator/navigator-to-parent-button/component.d.ts.map +1 -1
  739. package/build-types/navigator/stories/index.story.d.ts +4 -4
  740. package/build-types/navigator/stories/index.story.d.ts.map +1 -1
  741. package/build-types/notice/index.d.ts +0 -1
  742. package/build-types/notice/index.d.ts.map +1 -1
  743. package/build-types/notice/list.d.ts +0 -1
  744. package/build-types/notice/list.d.ts.map +1 -1
  745. package/build-types/number-control/index.d.ts +12 -13
  746. package/build-types/number-control/index.d.ts.map +1 -1
  747. package/build-types/number-control/stories/index.story.d.ts +12 -13
  748. package/build-types/number-control/stories/index.story.d.ts.map +1 -1
  749. package/build-types/number-control/styles/number-control-styles.d.ts +2 -3
  750. package/build-types/number-control/styles/number-control-styles.d.ts.map +1 -1
  751. package/build-types/palette-edit/index.d.ts +0 -1
  752. package/build-types/palette-edit/index.d.ts.map +1 -1
  753. package/build-types/palette-edit/styles.d.ts +18 -20
  754. package/build-types/palette-edit/styles.d.ts.map +1 -1
  755. package/build-types/panel/body.d.ts +0 -1
  756. package/build-types/panel/body.d.ts.map +1 -1
  757. package/build-types/panel/header.d.ts +0 -1
  758. package/build-types/panel/header.d.ts.map +1 -1
  759. package/build-types/panel/index.d.ts +0 -1
  760. package/build-types/panel/index.d.ts.map +1 -1
  761. package/build-types/panel/row.d.ts +0 -1
  762. package/build-types/panel/row.d.ts.map +1 -1
  763. package/build-types/panel/types.d.ts +0 -1
  764. package/build-types/panel/types.d.ts.map +1 -1
  765. package/build-types/placeholder/index.d.ts +0 -1
  766. package/build-types/placeholder/index.d.ts.map +1 -1
  767. package/build-types/popover/index.d.ts +0 -1
  768. package/build-types/popover/index.d.ts.map +1 -1
  769. package/build-types/popover/overlay-middlewares.d.ts +1 -11
  770. package/build-types/popover/overlay-middlewares.d.ts.map +1 -1
  771. package/build-types/popover/stories/e2e/index.story.d.ts +0 -1
  772. package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -1
  773. package/build-types/popover/stories/index.story.d.ts +6 -6
  774. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  775. package/build-types/popover/test/utils/index.d.ts +0 -1
  776. package/build-types/popover/test/utils/index.d.ts.map +1 -1
  777. package/build-types/popover/utils.d.ts +3 -3
  778. package/build-types/popover/utils.d.ts.map +1 -1
  779. package/build-types/private-apis.d.ts.map +1 -1
  780. package/build-types/progress-bar/index.d.ts +0 -1
  781. package/build-types/progress-bar/index.d.ts.map +1 -1
  782. package/build-types/progress-bar/stories/index.story.d.ts +0 -1
  783. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  784. package/build-types/progress-bar/styles.d.ts +6 -7
  785. package/build-types/progress-bar/styles.d.ts.map +1 -1
  786. package/build-types/query-controls/author-select.d.ts +0 -1
  787. package/build-types/query-controls/author-select.d.ts.map +1 -1
  788. package/build-types/query-controls/category-select.d.ts +0 -1
  789. package/build-types/query-controls/category-select.d.ts.map +1 -1
  790. package/build-types/query-controls/index.d.ts +0 -1
  791. package/build-types/query-controls/index.d.ts.map +1 -1
  792. package/build-types/radio-control/index.d.ts +0 -1
  793. package/build-types/radio-control/index.d.ts.map +1 -1
  794. package/build-types/radio-control/stories/index.story.d.ts +1 -0
  795. package/build-types/radio-control/stories/index.story.d.ts.map +1 -1
  796. package/build-types/radio-control/test/index.d.ts +2 -0
  797. package/build-types/radio-control/test/index.d.ts.map +1 -0
  798. package/build-types/radio-control/types.d.ts +4 -0
  799. package/build-types/radio-control/types.d.ts.map +1 -1
  800. package/build-types/radio-group/context.d.ts +2 -3
  801. package/build-types/radio-group/context.d.ts.map +1 -1
  802. package/build-types/radio-group/index.d.ts +0 -1
  803. package/build-types/radio-group/index.d.ts.map +1 -1
  804. package/build-types/radio-group/radio.d.ts +0 -1
  805. package/build-types/radio-group/radio.d.ts.map +1 -1
  806. package/build-types/radio-group/types.d.ts +0 -1
  807. package/build-types/radio-group/types.d.ts.map +1 -1
  808. package/build-types/range-control/index.d.ts +29 -29
  809. package/build-types/range-control/index.d.ts.map +1 -1
  810. package/build-types/range-control/input-range.d.ts +0 -1
  811. package/build-types/range-control/input-range.d.ts.map +1 -1
  812. package/build-types/range-control/mark.d.ts +0 -1
  813. package/build-types/range-control/mark.d.ts.map +1 -1
  814. package/build-types/range-control/rail.d.ts +0 -1
  815. package/build-types/range-control/rail.d.ts.map +1 -1
  816. package/build-types/range-control/styles/range-control-styles.d.ts +48 -49
  817. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  818. package/build-types/range-control/tooltip.d.ts +0 -1
  819. package/build-types/range-control/tooltip.d.ts.map +1 -1
  820. package/build-types/resizable-box/index.d.ts +7 -20
  821. package/build-types/resizable-box/index.d.ts.map +1 -1
  822. package/build-types/resizable-box/resize-tooltip/label.d.ts +0 -1
  823. package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
  824. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +7 -8
  825. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
  826. package/build-types/resizable-box/resize-tooltip/utils.d.ts +0 -1
  827. package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
  828. package/build-types/resizable-box/stories/index.story.d.ts +32 -39
  829. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  830. package/build-types/responsive-wrapper/index.d.ts +0 -1
  831. package/build-types/responsive-wrapper/index.d.ts.map +1 -1
  832. package/build-types/responsive-wrapper/types.d.ts +0 -1
  833. package/build-types/responsive-wrapper/types.d.ts.map +1 -1
  834. package/build-types/sandbox/index.d.ts +0 -1
  835. package/build-types/sandbox/index.d.ts.map +1 -1
  836. package/build-types/sandbox/types.d.ts +0 -1
  837. package/build-types/sandbox/types.d.ts.map +1 -1
  838. package/build-types/scrollable/component.d.ts +0 -1
  839. package/build-types/scrollable/component.d.ts.map +1 -1
  840. package/build-types/scrollable/hook.d.ts +9 -11
  841. package/build-types/scrollable/hook.d.ts.map +1 -1
  842. package/build-types/search-control/index.d.ts +0 -1
  843. package/build-types/search-control/index.d.ts.map +1 -1
  844. package/build-types/search-control/stories/index.story.d.ts +0 -1
  845. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  846. package/build-types/search-control/styles.d.ts +3 -4
  847. package/build-types/search-control/styles.d.ts.map +1 -1
  848. package/build-types/search-control/types.d.ts +0 -1
  849. package/build-types/search-control/types.d.ts.map +1 -1
  850. package/build-types/select-control/chevron-down.d.ts +0 -1
  851. package/build-types/select-control/chevron-down.d.ts.map +1 -1
  852. package/build-types/select-control/index.d.ts +4 -2
  853. package/build-types/select-control/index.d.ts.map +1 -1
  854. package/build-types/select-control/stories/index.story.d.ts +9 -3
  855. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  856. package/build-types/select-control/styles/select-control-styles.d.ts +7 -8
  857. package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
  858. package/build-types/select-control/types.d.ts +33 -27
  859. package/build-types/select-control/types.d.ts.map +1 -1
  860. package/build-types/shortcut/index.d.ts +0 -1
  861. package/build-types/shortcut/index.d.ts.map +1 -1
  862. package/build-types/slot-fill/bubbles-virtually/fill.d.ts +0 -1
  863. package/build-types/slot-fill/bubbles-virtually/fill.d.ts.map +1 -1
  864. package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts +0 -1
  865. package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts.map +1 -1
  866. package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts +0 -1
  867. package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts.map +1 -1
  868. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -2
  869. package/build-types/slot-fill/bubbles-virtually/slot.d.ts.map +1 -1
  870. package/build-types/slot-fill/bubbles-virtually/use-slot.d.ts.map +1 -1
  871. package/build-types/slot-fill/context.d.ts +0 -1
  872. package/build-types/slot-fill/context.d.ts.map +1 -1
  873. package/build-types/slot-fill/index.d.ts +4 -4
  874. package/build-types/slot-fill/index.d.ts.map +1 -1
  875. package/build-types/slot-fill/provider.d.ts +0 -1
  876. package/build-types/slot-fill/provider.d.ts.map +1 -1
  877. package/build-types/slot-fill/slot.d.ts +1 -2
  878. package/build-types/slot-fill/slot.d.ts.map +1 -1
  879. package/build-types/slot-fill/use-slot.d.ts +0 -1
  880. package/build-types/slot-fill/use-slot.d.ts.map +1 -1
  881. package/build-types/snackbar/index.d.ts +5 -6
  882. package/build-types/snackbar/index.d.ts.map +1 -1
  883. package/build-types/snackbar/list.d.ts +0 -1
  884. package/build-types/snackbar/list.d.ts.map +1 -1
  885. package/build-types/spacer/component.d.ts +0 -1
  886. package/build-types/spacer/component.d.ts.map +1 -1
  887. package/build-types/spacer/hook.d.ts +9 -11
  888. package/build-types/spacer/hook.d.ts.map +1 -1
  889. package/build-types/spinner/styles.d.ts +6 -7
  890. package/build-types/spinner/styles.d.ts.map +1 -1
  891. package/build-types/style-provider/index.d.ts +0 -1
  892. package/build-types/style-provider/index.d.ts.map +1 -1
  893. package/build-types/surface/component.d.ts +0 -1
  894. package/build-types/surface/component.d.ts.map +1 -1
  895. package/build-types/surface/hook.d.ts +10 -12
  896. package/build-types/surface/hook.d.ts.map +1 -1
  897. package/build-types/surface/types.d.ts +0 -1
  898. package/build-types/surface/types.d.ts.map +1 -1
  899. package/build-types/tab-panel/index.d.ts +0 -1
  900. package/build-types/tab-panel/index.d.ts.map +1 -1
  901. package/build-types/tab-panel/stories/index.story.d.ts +0 -1
  902. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
  903. package/build-types/tabs/context.d.ts +0 -1
  904. package/build-types/tabs/context.d.ts.map +1 -1
  905. package/build-types/tabs/index.d.ts +0 -1
  906. package/build-types/tabs/index.d.ts.map +1 -1
  907. package/build-types/tabs/styles.d.ts +12 -19
  908. package/build-types/tabs/styles.d.ts.map +1 -1
  909. package/build-types/tabs/tab.d.ts +0 -1
  910. package/build-types/tabs/tab.d.ts.map +1 -1
  911. package/build-types/tabs/tablist.d.ts +0 -1
  912. package/build-types/tabs/tablist.d.ts.map +1 -1
  913. package/build-types/tabs/tabpanel.d.ts +0 -1
  914. package/build-types/tabs/tabpanel.d.ts.map +1 -1
  915. package/build-types/tabs/types.d.ts +0 -1
  916. package/build-types/tabs/types.d.ts.map +1 -1
  917. package/build-types/text/component.d.ts +0 -1
  918. package/build-types/text/component.d.ts.map +1 -1
  919. package/build-types/text/hook.d.ts +9 -9
  920. package/build-types/text/stories/index.story.d.ts +0 -1
  921. package/build-types/text/stories/index.story.d.ts.map +1 -1
  922. package/build-types/text/utils.d.ts +0 -1
  923. package/build-types/text/utils.d.ts.map +1 -1
  924. package/build-types/text-control/index.d.ts +3 -3
  925. package/build-types/text-control/index.d.ts.map +1 -1
  926. package/build-types/text-highlight/index.d.ts +0 -1
  927. package/build-types/text-highlight/index.d.ts.map +1 -1
  928. package/build-types/textarea-control/index.d.ts +2 -2
  929. package/build-types/textarea-control/index.d.ts.map +1 -1
  930. package/build-types/textarea-control/styles/textarea-control-styles.d.ts +2 -3
  931. package/build-types/textarea-control/styles/textarea-control-styles.d.ts.map +1 -1
  932. package/build-types/theme/color-algorithms.d.ts +1 -9
  933. package/build-types/theme/color-algorithms.d.ts.map +1 -1
  934. package/build-types/theme/index.d.ts +0 -1
  935. package/build-types/theme/index.d.ts.map +1 -1
  936. package/build-types/theme/stories/index.story.d.ts +0 -1
  937. package/build-types/theme/stories/index.story.d.ts.map +1 -1
  938. package/build-types/theme/styles.d.ts +2 -3
  939. package/build-types/theme/styles.d.ts.map +1 -1
  940. package/build-types/tip/index.d.ts +0 -1
  941. package/build-types/tip/index.d.ts.map +1 -1
  942. package/build-types/toggle-control/index.d.ts +3 -9
  943. package/build-types/toggle-control/index.d.ts.map +1 -1
  944. package/build-types/toggle-control/stories/index.story.d.ts +0 -1
  945. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -1
  946. package/build-types/toggle-group-control/context.d.ts +0 -1
  947. package/build-types/toggle-group-control/context.d.ts.map +1 -1
  948. package/build-types/toggle-group-control/toggle-group-control/as-button-group.d.ts +0 -1
  949. package/build-types/toggle-group-control/toggle-group-control/as-button-group.d.ts.map +1 -1
  950. package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts +0 -1
  951. package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts.map +1 -1
  952. package/build-types/toggle-group-control/toggle-group-control/component.d.ts +14 -10
  953. package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
  954. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts +5 -6
  955. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts.map +1 -1
  956. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts +6 -2
  957. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts.map +1 -1
  958. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts +1 -2
  959. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
  960. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts +5 -6
  961. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +1 -1
  962. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts +14 -15
  963. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts.map +1 -1
  964. package/build-types/toolbar/stories/index.story.d.ts +0 -1
  965. package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
  966. package/build-types/toolbar/toolbar/index.d.ts +0 -1
  967. package/build-types/toolbar/toolbar/index.d.ts.map +1 -1
  968. package/build-types/toolbar/toolbar/toolbar-container.d.ts +0 -1
  969. package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +1 -1
  970. package/build-types/toolbar/toolbar-button/index.d.ts +0 -1
  971. package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
  972. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts +0 -1
  973. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +1 -1
  974. package/build-types/toolbar/toolbar-context/index.d.ts +0 -1
  975. package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
  976. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts +0 -1
  977. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts.map +1 -1
  978. package/build-types/toolbar/toolbar-group/index.d.ts +0 -1
  979. package/build-types/toolbar/toolbar-group/index.d.ts.map +1 -1
  980. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts +0 -1
  981. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts.map +1 -1
  982. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +1 -2
  983. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +1 -1
  984. package/build-types/toolbar/toolbar-item/index.d.ts +2 -3
  985. package/build-types/toolbar/toolbar-item/index.d.ts.map +1 -1
  986. package/build-types/tools-panel/context.d.ts +0 -1
  987. package/build-types/tools-panel/context.d.ts.map +1 -1
  988. package/build-types/tools-panel/styles.d.ts +2 -3
  989. package/build-types/tools-panel/styles.d.ts.map +1 -1
  990. package/build-types/tools-panel/tools-panel/component.d.ts +0 -1
  991. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  992. package/build-types/tools-panel/tools-panel/hook.d.ts +10 -12
  993. package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
  994. package/build-types/tools-panel/tools-panel-header/component.d.ts +0 -1
  995. package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
  996. package/build-types/tools-panel/tools-panel-header/hook.d.ts +11 -13
  997. package/build-types/tools-panel/tools-panel-header/hook.d.ts.map +1 -1
  998. package/build-types/tools-panel/tools-panel-item/component.d.ts +3 -4
  999. package/build-types/tools-panel/tools-panel-item/component.d.ts.map +1 -1
  1000. package/build-types/tools-panel/tools-panel-item/hook.d.ts +9 -11
  1001. package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
  1002. package/build-types/tooltip/index.d.ts +0 -1
  1003. package/build-types/tooltip/index.d.ts.map +1 -1
  1004. package/build-types/tooltip/stories/index.story.d.ts +0 -1
  1005. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  1006. package/build-types/tooltip/test/utils/index.d.ts +1 -5
  1007. package/build-types/tooltip/test/utils/index.d.ts.map +1 -1
  1008. package/build-types/tooltip/types.d.ts +0 -1
  1009. package/build-types/tooltip/types.d.ts.map +1 -1
  1010. package/build-types/tree-grid/cell.d.ts +0 -1
  1011. package/build-types/tree-grid/cell.d.ts.map +1 -1
  1012. package/build-types/tree-grid/index.d.ts +0 -1
  1013. package/build-types/tree-grid/index.d.ts.map +1 -1
  1014. package/build-types/tree-grid/item.d.ts +0 -1
  1015. package/build-types/tree-grid/item.d.ts.map +1 -1
  1016. package/build-types/tree-grid/roving-tab-index-context.d.ts +0 -1
  1017. package/build-types/tree-grid/roving-tab-index-context.d.ts.map +1 -1
  1018. package/build-types/tree-grid/roving-tab-index-item.d.ts +0 -1
  1019. package/build-types/tree-grid/roving-tab-index-item.d.ts.map +1 -1
  1020. package/build-types/tree-grid/roving-tab-index.d.ts +0 -1
  1021. package/build-types/tree-grid/roving-tab-index.d.ts.map +1 -1
  1022. package/build-types/tree-grid/row.d.ts +0 -1
  1023. package/build-types/tree-grid/row.d.ts.map +1 -1
  1024. package/build-types/tree-grid/stories/index.story.d.ts +0 -1
  1025. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
  1026. package/build-types/tree-grid/types.d.ts +0 -1
  1027. package/build-types/tree-grid/types.d.ts.map +1 -1
  1028. package/build-types/tree-select/index.d.ts +1 -1
  1029. package/build-types/tree-select/index.d.ts.map +1 -1
  1030. package/build-types/truncate/component.d.ts +0 -1
  1031. package/build-types/truncate/component.d.ts.map +1 -1
  1032. package/build-types/truncate/hook.d.ts +9 -11
  1033. package/build-types/truncate/hook.d.ts.map +1 -1
  1034. package/build-types/truncate/utils.d.ts.map +1 -1
  1035. package/build-types/unit-control/index.d.ts +7 -8
  1036. package/build-types/unit-control/index.d.ts.map +1 -1
  1037. package/build-types/unit-control/styles/unit-control-styles.d.ts +17 -18
  1038. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  1039. package/build-types/unit-control/unit-select-control.d.ts +0 -1
  1040. package/build-types/unit-control/unit-select-control.d.ts.map +1 -1
  1041. package/build-types/unit-control/utils.d.ts.map +1 -1
  1042. package/build-types/utils/breakpoint.d.ts +1 -10
  1043. package/build-types/utils/breakpoint.d.ts.map +1 -1
  1044. package/build-types/utils/config-values.d.ts +6 -0
  1045. package/build-types/utils/element-rect.d.ts +111 -0
  1046. package/build-types/utils/element-rect.d.ts.map +1 -0
  1047. package/build-types/utils/font.d.ts +1 -6
  1048. package/build-types/utils/font.d.ts.map +1 -1
  1049. package/build-types/utils/hooks/use-controlled-state.d.ts +1 -1
  1050. package/build-types/utils/hooks/use-controlled-state.d.ts.map +1 -1
  1051. package/build-types/utils/hooks/use-controlled-value.d.ts +0 -1
  1052. package/build-types/utils/hooks/use-controlled-value.d.ts.map +1 -1
  1053. package/build-types/utils/hooks/use-event.d.ts +20 -0
  1054. package/build-types/utils/hooks/use-event.d.ts.map +1 -0
  1055. package/build-types/utils/hooks/use-on-value-update.d.ts +19 -0
  1056. package/build-types/utils/hooks/use-on-value-update.d.ts.map +1 -0
  1057. package/build-types/utils/hooks/use-update-effect.d.ts +1 -1
  1058. package/build-types/utils/math.d.ts.map +1 -1
  1059. package/build-types/utils/rtl.d.ts +2 -2
  1060. package/build-types/utils/values.d.ts +2 -2
  1061. package/build-types/utils/values.d.ts.map +1 -1
  1062. package/build-types/utils/with-ignore-ime-events.d.ts +0 -1
  1063. package/build-types/utils/with-ignore-ime-events.d.ts.map +1 -1
  1064. package/build-types/v-stack/component.d.ts +2 -3
  1065. package/build-types/v-stack/component.d.ts.map +1 -1
  1066. package/build-types/v-stack/hook.d.ts +9 -11
  1067. package/build-types/v-stack/hook.d.ts.map +1 -1
  1068. package/build-types/v-stack/stories/index.story.d.ts +2 -3
  1069. package/build-types/v-stack/stories/index.story.d.ts.map +1 -1
  1070. package/build-types/view/component.d.ts +0 -2
  1071. package/build-types/view/component.d.ts.map +1 -1
  1072. package/build-types/visually-hidden/component.d.ts +0 -1
  1073. package/build-types/visually-hidden/component.d.ts.map +1 -1
  1074. package/build-types/z-stack/component.d.ts +0 -1
  1075. package/build-types/z-stack/component.d.ts.map +1 -1
  1076. package/build-types/z-stack/styles.d.ts +4 -5
  1077. package/build-types/z-stack/styles.d.ts.map +1 -1
  1078. package/package.json +20 -21
  1079. package/src/alignment-matrix-control/test/index.tsx +1 -3
  1080. package/src/autocomplete/README.md +2 -2
  1081. package/src/autocomplete/autocompleter-ui.tsx +2 -0
  1082. package/src/autocomplete/style.scss +0 -6
  1083. package/src/autocomplete/types.ts +2 -3
  1084. package/src/base-control/README.md +1 -1
  1085. package/src/base-control/styles/base-control-styles.ts +1 -1
  1086. package/src/base-control/types.ts +1 -1
  1087. package/src/border-control/styles.ts +0 -5
  1088. package/src/button/README.md +1 -1
  1089. package/src/button/index.tsx +9 -7
  1090. package/src/button/stories/e2e/index.story.tsx +103 -21
  1091. package/src/button/style.scss +49 -21
  1092. package/src/button/test/index.tsx +35 -44
  1093. package/src/button/types.ts +9 -2
  1094. package/src/card/card/README.md +1 -1
  1095. package/src/card/stories/index.story.tsx +43 -42
  1096. package/src/checkbox-control/README.md +8 -0
  1097. package/src/checkbox-control/index.tsx +1 -0
  1098. package/src/checkbox-control/style.scss +3 -1
  1099. package/src/circular-option-picker/test/index.tsx +1 -4
  1100. package/src/color-palette/index.tsx +22 -20
  1101. package/src/color-picker/component.tsx +12 -22
  1102. package/src/color-picker/stories/index.story.tsx +2 -22
  1103. package/src/combobox-control/README.md +9 -0
  1104. package/src/combobox-control/index.tsx +11 -0
  1105. package/src/combobox-control/test/index.tsx +127 -1
  1106. package/src/composite/legacy/test/index.tsx +2 -18
  1107. package/src/custom-select-control/README.md +34 -32
  1108. package/src/custom-select-control/index.tsx +206 -0
  1109. package/src/custom-select-control/stories/index.story.tsx +26 -18
  1110. package/src/{custom-select-control-v2/legacy-component → custom-select-control}/test/index.tsx +90 -77
  1111. package/src/custom-select-control/types.ts +123 -0
  1112. package/src/custom-select-control-v2/custom-select.tsx +2 -0
  1113. package/src/custom-select-control-v2/index.tsx +26 -1
  1114. package/src/custom-select-control-v2/stories/{default.story.tsx → index.story.tsx} +1 -1
  1115. package/src/custom-select-control-v2/styles.ts +29 -3
  1116. package/src/custom-select-control-v2/test/index.tsx +15 -19
  1117. package/src/custom-select-control-v2/types.ts +0 -109
  1118. package/src/date-time/index.ts +1 -2
  1119. package/src/date-time/stories/time.story.tsx +17 -0
  1120. package/src/date-time/time/index.tsx +46 -16
  1121. package/src/date-time/time/styles.ts +1 -0
  1122. package/src/date-time/{time-input → time/time-input}/index.tsx +9 -9
  1123. package/src/dimension-control/test/__snapshots__/index.test.js.snap +4 -0
  1124. package/src/disabled/README.md +1 -1
  1125. package/src/dropdown/stories/index.story.tsx +55 -50
  1126. package/src/dropdown-menu/stories/index.story.tsx +52 -55
  1127. package/src/dropdown-menu-v2/stories/index.story.tsx +0 -12
  1128. package/src/dropdown-menu-v2/styles.ts +18 -17
  1129. package/src/dropdown-menu-v2/test/index.tsx +1 -4
  1130. package/src/focal-point-picker/README.md +9 -0
  1131. package/src/focal-point-picker/index.tsx +1 -0
  1132. package/src/font-size-picker/README.md +1 -1
  1133. package/src/font-size-picker/font-size-picker-select.tsx +3 -3
  1134. package/src/font-size-picker/index.tsx +68 -64
  1135. package/src/font-size-picker/test/index.tsx +128 -53
  1136. package/src/font-size-picker/types.ts +6 -5
  1137. package/src/form-toggle/index.tsx +23 -21
  1138. package/src/form-toggle/style.scss +14 -9
  1139. package/src/form-token-field/README.md +2 -1
  1140. package/src/form-token-field/index.tsx +9 -0
  1141. package/src/form-token-field/stories/index.story.tsx +2 -0
  1142. package/src/guide/index.tsx +2 -0
  1143. package/src/heading/types.ts +1 -4
  1144. package/src/higher-order/navigate-regions/style.scss +3 -15
  1145. package/src/index.ts +1 -1
  1146. package/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +1 -1
  1147. package/src/modal/index.tsx +21 -20
  1148. package/src/navigator/stories/index.story.tsx +240 -242
  1149. package/src/notice/test/__snapshots__/index.tsx.snap +1 -1
  1150. package/src/placeholder/style.scss +11 -2
  1151. package/src/popover/stories/index.story.tsx +155 -153
  1152. package/src/private-apis.ts +0 -4
  1153. package/src/query-controls/index.tsx +5 -1
  1154. package/src/radio-control/index.tsx +48 -7
  1155. package/src/radio-control/stories/index.story.tsx +23 -0
  1156. package/src/radio-control/style.scss +32 -3
  1157. package/src/radio-control/test/index.tsx +274 -0
  1158. package/src/radio-control/types.ts +4 -0
  1159. package/src/range-control/README.md +8 -0
  1160. package/src/range-control/index.tsx +1 -0
  1161. package/src/resizable-box/resize-tooltip/README.md +1 -1
  1162. package/src/select-control/README.md +16 -1
  1163. package/src/select-control/index.tsx +40 -22
  1164. package/src/select-control/stories/index.story.tsx +6 -0
  1165. package/src/select-control/styles/select-control-styles.ts +24 -1
  1166. package/src/select-control/test/select-control.tsx +148 -4
  1167. package/src/select-control/types.ts +76 -65
  1168. package/src/style.scss +1 -1
  1169. package/src/tab-panel/test/index.tsx +1 -8
  1170. package/src/tabs/styles.ts +10 -2
  1171. package/src/tabs/tablist.tsx +3 -243
  1172. package/src/tabs/test/index.tsx +68 -84
  1173. package/src/text-control/README.md +1 -0
  1174. package/src/text-control/index.tsx +1 -0
  1175. package/src/text-control/style.scss +5 -0
  1176. package/src/textarea-control/README.md +8 -0
  1177. package/src/textarea-control/index.tsx +1 -0
  1178. package/src/toggle-control/README.md +9 -0
  1179. package/src/toggle-control/index.tsx +37 -25
  1180. package/src/toggle-control/style.scss +12 -0
  1181. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +42 -12
  1182. package/src/toggle-group-control/test/index.tsx +112 -4
  1183. package/src/toggle-group-control/toggle-group-control/README.md +13 -1
  1184. package/src/toggle-group-control/toggle-group-control/component.tsx +6 -1
  1185. package/src/toggle-group-control/toggle-group-control-option/README.md +6 -1
  1186. package/src/toggle-group-control/toggle-group-control-option/component.tsx +6 -1
  1187. package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +6 -1
  1188. package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +5 -0
  1189. package/src/toggle-group-control/toggle-group-control-option-icon/README.md +1 -1
  1190. package/src/toggle-group-control/toggle-group-control-option-icon/component.tsx +14 -14
  1191. package/src/tools-panel/tools-panel-header/component.tsx +1 -1
  1192. package/src/tooltip/index.tsx +15 -2
  1193. package/src/tooltip/test/index.tsx +0 -5
  1194. package/src/tooltip/test/utils/index.tsx +5 -5
  1195. package/src/tree-select/README.md +9 -0
  1196. package/src/tree-select/index.tsx +1 -1
  1197. package/src/utils/config-values.js +6 -0
  1198. package/src/utils/element-rect.ts +197 -0
  1199. package/src/utils/hooks/use-event.ts +38 -0
  1200. package/src/utils/hooks/use-on-value-update.ts +42 -0
  1201. package/tsconfig.tsbuildinfo +1 -1
  1202. package/build/custom-select-control-v2/default-component/index.js +0 -42
  1203. package/build/custom-select-control-v2/default-component/index.js.map +0 -1
  1204. package/build/custom-select-control-v2/legacy-component/index.js +0 -131
  1205. package/build/custom-select-control-v2/legacy-component/index.js.map +0 -1
  1206. package/build/date-time/time-input/index.js.map +0 -1
  1207. package/build-module/custom-select-control-v2/default-component/index.js +0 -31
  1208. package/build-module/custom-select-control-v2/default-component/index.js.map +0 -1
  1209. package/build-module/custom-select-control-v2/legacy-component/index.js +0 -122
  1210. package/build-module/custom-select-control-v2/legacy-component/index.js.map +0 -1
  1211. package/build-module/date-time/time-input/index.js.map +0 -1
  1212. package/build-types/custom-select-control-v2/default-component/index.d.ts +0 -9
  1213. package/build-types/custom-select-control-v2/default-component/index.d.ts.map +0 -1
  1214. package/build-types/custom-select-control-v2/legacy-component/index.d.ts +0 -5
  1215. package/build-types/custom-select-control-v2/legacy-component/index.d.ts.map +0 -1
  1216. package/build-types/custom-select-control-v2/legacy-component/test/index.d.ts.map +0 -1
  1217. package/build-types/custom-select-control-v2/stories/default.story.d.ts.map +0 -1
  1218. package/build-types/custom-select-control-v2/stories/legacy.story.d.ts +0 -14
  1219. package/build-types/custom-select-control-v2/stories/legacy.story.d.ts.map +0 -1
  1220. package/build-types/date-time/stories/time-input.story.d.ts +0 -12
  1221. package/build-types/date-time/stories/time-input.story.d.ts.map +0 -1
  1222. package/build-types/date-time/time-input/index.d.ts.map +0 -1
  1223. package/build-types/date-time/time-input/test/index.d.ts.map +0 -1
  1224. package/src/custom-select-control/index.js +0 -240
  1225. package/src/custom-select-control/style.scss +0 -75
  1226. package/src/custom-select-control/test/index.js +0 -665
  1227. package/src/custom-select-control-v2/default-component/index.tsx +0 -29
  1228. package/src/custom-select-control-v2/legacy-component/index.tsx +0 -153
  1229. package/src/custom-select-control-v2/stories/legacy.story.tsx +0 -72
  1230. package/src/date-time/stories/time-input.story.tsx +0 -36
  1231. /package/build-types/{custom-select-control-v2/legacy-component → custom-select-control}/test/index.d.ts +0 -0
  1232. /package/build-types/date-time/{time-input → time/time-input}/test/index.d.ts +0 -0
  1233. /package/src/date-time/{time-input → time/time-input}/test/index.tsx +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["_space","require","_colorsValues","CONTROL_HEIGHT","CONTROL_PADDING_X","CONTROL_PROPS","controlSurfaceColor","COLORS","white","controlTextActiveColor","theme","accent","controlPaddingX","controlPaddingXLarge","controlPaddingXSmall","controlBackgroundColor","controlBorderRadius","controlBoxShadow","controlBoxShadowFocus","controlDestructiveBorderColor","alert","red","controlHeight","controlHeightXSmall","controlHeightSmall","controlHeightLarge","controlHeightXLarge","TOGGLE_GROUP_CONTROL_PROPS","toggleGroupControlBackgroundColor","toggleGroupControlBorderColor","ui","border","toggleGroupControlBackdropBackgroundColor","toggleGroupControlBackdropBorderColor","toggleGroupControlButtonColorActive","_default","exports","default","Object","assign","colorDivider","colorScrollbarThumb","colorScrollbarThumbHover","colorScrollbarTrack","elevationIntensity","radiusBlockUi","borderWidth","borderWidthFocus","borderWidthTab","spinnerSize","fontSize","fontSizeH1","fontSizeH2","fontSizeH3","fontSizeH4","fontSizeH5","fontSizeH6","fontSizeInputMobile","fontSizeMobile","fontSizeSmall","fontSizeXSmall","fontLineHeightBase","fontWeight","fontWeightHeading","gridBase","cardBorderRadius","cardPaddingXSmall","space","cardPaddingSmall","cardPaddingMedium","cardPaddingLarge","popoverShadow","surfaceBackgroundColor","surfaceBackgroundSubtleColor","surfaceBackgroundTintColor","surfaceBorderColor","surfaceBorderBoldColor","surfaceBorderSubtleColor","surfaceBackgroundTertiaryColor","surfaceColor","transitionDuration","transitionDurationFast","transitionDurationFaster","transitionDurationFastest","transitionTimingFunction","transitionTimingFunctionControl"],"sources":["@wordpress/components/src/utils/config-values.js"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { space } from './space';\nimport { COLORS } from './colors-values';\n\nconst CONTROL_HEIGHT = '36px';\nconst CONTROL_PADDING_X = '12px';\n\nconst CONTROL_PROPS = {\n\tcontrolSurfaceColor: COLORS.white,\n\tcontrolTextActiveColor: COLORS.theme.accent,\n\tcontrolPaddingX: CONTROL_PADDING_X,\n\tcontrolPaddingXLarge: `calc(${ CONTROL_PADDING_X } * 1.3334)`,\n\tcontrolPaddingXSmall: `calc(${ CONTROL_PADDING_X } / 1.3334)`,\n\tcontrolBackgroundColor: COLORS.white,\n\tcontrolBorderRadius: '2px',\n\tcontrolBoxShadow: 'transparent',\n\tcontrolBoxShadowFocus: `0 0 0 0.5px ${ COLORS.theme.accent }`,\n\tcontrolDestructiveBorderColor: COLORS.alert.red,\n\tcontrolHeight: CONTROL_HEIGHT,\n\tcontrolHeightXSmall: `calc( ${ CONTROL_HEIGHT } * 0.6 )`,\n\tcontrolHeightSmall: `calc( ${ CONTROL_HEIGHT } * 0.8 )`,\n\tcontrolHeightLarge: `calc( ${ CONTROL_HEIGHT } * 1.2 )`,\n\tcontrolHeightXLarge: `calc( ${ CONTROL_HEIGHT } * 1.4 )`,\n};\n\nconst TOGGLE_GROUP_CONTROL_PROPS = {\n\ttoggleGroupControlBackgroundColor: CONTROL_PROPS.controlBackgroundColor,\n\ttoggleGroupControlBorderColor: COLORS.ui.border,\n\ttoggleGroupControlBackdropBackgroundColor:\n\t\tCONTROL_PROPS.controlSurfaceColor,\n\ttoggleGroupControlBackdropBorderColor: COLORS.ui.border,\n\ttoggleGroupControlButtonColorActive: CONTROL_PROPS.controlBackgroundColor,\n};\n\n// Using Object.assign to avoid creating circular references when emitting\n// TypeScript type declarations.\nexport default Object.assign( {}, CONTROL_PROPS, TOGGLE_GROUP_CONTROL_PROPS, {\n\tcolorDivider: 'rgba(0, 0, 0, 0.1)',\n\tcolorScrollbarThumb: 'rgba(0, 0, 0, 0.2)',\n\tcolorScrollbarThumbHover: 'rgba(0, 0, 0, 0.5)',\n\tcolorScrollbarTrack: 'rgba(0, 0, 0, 0.04)',\n\televationIntensity: 1,\n\tradiusBlockUi: '2px',\n\tborderWidth: '1px',\n\tborderWidthFocus: '1.5px',\n\tborderWidthTab: '4px',\n\tspinnerSize: 16,\n\tfontSize: '13px',\n\tfontSizeH1: 'calc(2.44 * 13px)',\n\tfontSizeH2: 'calc(1.95 * 13px)',\n\tfontSizeH3: 'calc(1.56 * 13px)',\n\tfontSizeH4: 'calc(1.25 * 13px)',\n\tfontSizeH5: '13px',\n\tfontSizeH6: 'calc(0.8 * 13px)',\n\tfontSizeInputMobile: '16px',\n\tfontSizeMobile: '15px',\n\tfontSizeSmall: 'calc(0.92 * 13px)',\n\tfontSizeXSmall: 'calc(0.75 * 13px)',\n\tfontLineHeightBase: '1.4',\n\tfontWeight: 'normal',\n\tfontWeightHeading: '600',\n\tgridBase: '4px',\n\tcardBorderRadius: '2px',\n\tcardPaddingXSmall: `${ space( 2 ) }`,\n\tcardPaddingSmall: `${ space( 4 ) }`,\n\tcardPaddingMedium: `${ space( 4 ) } ${ space( 6 ) }`,\n\tcardPaddingLarge: `${ space( 6 ) } ${ space( 8 ) }`,\n\tpopoverShadow: `0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1)`,\n\tsurfaceBackgroundColor: COLORS.white,\n\tsurfaceBackgroundSubtleColor: '#F3F3F3',\n\tsurfaceBackgroundTintColor: '#F5F5F5',\n\tsurfaceBorderColor: 'rgba(0, 0, 0, 0.1)',\n\tsurfaceBorderBoldColor: 'rgba(0, 0, 0, 0.15)',\n\tsurfaceBorderSubtleColor: 'rgba(0, 0, 0, 0.05)',\n\tsurfaceBackgroundTertiaryColor: COLORS.white,\n\tsurfaceColor: COLORS.white,\n\ttransitionDuration: '200ms',\n\ttransitionDurationFast: '160ms',\n\ttransitionDurationFaster: '120ms',\n\ttransitionDurationFastest: '100ms',\n\ttransitionTimingFunction: 'cubic-bezier(0.08, 0.52, 0.52, 1)',\n\ttransitionTimingFunctionControl: 'cubic-bezier(0.12, 0.8, 0.32, 1)',\n} );\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAJA;AACA;AACA;;AAIA,MAAME,cAAc,GAAG,MAAM;AAC7B,MAAMC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,KAAK;EAC1BwE,kBAAkB,EAAE,OAAO;EAC3BC,sBAAsB,EAAE,OAAO;EAC/BC,wBAAwB,EAAE,OAAO;EACjCC,yBAAyB,EAAE,OAAO;EAClCC,wBAAwB,EAAE,mCAAmC;EAC7DC,+BAA+B,EAAE;AAClC,CAAE,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_space","require","_colorsValues","CONTROL_HEIGHT","CONTROL_PADDING_X","CONTROL_PROPS","controlSurfaceColor","COLORS","white","controlTextActiveColor","theme","accent","controlPaddingX","controlPaddingXLarge","controlPaddingXSmall","controlBackgroundColor","controlBorderRadius","controlBoxShadow","controlBoxShadowFocus","controlDestructiveBorderColor","alert","red","controlHeight","controlHeightXSmall","controlHeightSmall","controlHeightLarge","controlHeightXLarge","TOGGLE_GROUP_CONTROL_PROPS","toggleGroupControlBackgroundColor","toggleGroupControlBorderColor","ui","border","toggleGroupControlBackdropBackgroundColor","toggleGroupControlBackdropBorderColor","toggleGroupControlButtonColorActive","_default","exports","default","Object","assign","colorDivider","colorScrollbarThumb","colorScrollbarThumbHover","colorScrollbarTrack","elevationIntensity","radiusXSmall","radiusSmall","radiusMedium","radiusLarge","radiusFull","radiusRound","radiusBlockUi","borderWidth","borderWidthFocus","borderWidthTab","spinnerSize","fontSize","fontSizeH1","fontSizeH2","fontSizeH3","fontSizeH4","fontSizeH5","fontSizeH6","fontSizeInputMobile","fontSizeMobile","fontSizeSmall","fontSizeXSmall","fontLineHeightBase","fontWeight","fontWeightHeading","gridBase","cardBorderRadius","cardPaddingXSmall","space","cardPaddingSmall","cardPaddingMedium","cardPaddingLarge","popoverShadow","surfaceBackgroundColor","surfaceBackgroundSubtleColor","surfaceBackgroundTintColor","surfaceBorderColor","surfaceBorderBoldColor","surfaceBorderSubtleColor","surfaceBackgroundTertiaryColor","surfaceColor","transitionDuration","transitionDurationFast","transitionDurationFaster","transitionDurationFastest","transitionTimingFunction","transitionTimingFunctionControl"],"sources":["@wordpress/components/src/utils/config-values.js"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { space } from './space';\nimport { COLORS } from './colors-values';\n\nconst CONTROL_HEIGHT = '36px';\nconst CONTROL_PADDING_X = '12px';\n\nconst CONTROL_PROPS = {\n\tcontrolSurfaceColor: COLORS.white,\n\tcontrolTextActiveColor: COLORS.theme.accent,\n\tcontrolPaddingX: CONTROL_PADDING_X,\n\tcontrolPaddingXLarge: `calc(${ CONTROL_PADDING_X } * 1.3334)`,\n\tcontrolPaddingXSmall: `calc(${ CONTROL_PADDING_X } / 1.3334)`,\n\tcontrolBackgroundColor: COLORS.white,\n\tcontrolBorderRadius: '2px',\n\tcontrolBoxShadow: 'transparent',\n\tcontrolBoxShadowFocus: `0 0 0 0.5px ${ COLORS.theme.accent }`,\n\tcontrolDestructiveBorderColor: COLORS.alert.red,\n\tcontrolHeight: CONTROL_HEIGHT,\n\tcontrolHeightXSmall: `calc( ${ CONTROL_HEIGHT } * 0.6 )`,\n\tcontrolHeightSmall: `calc( ${ CONTROL_HEIGHT } * 0.8 )`,\n\tcontrolHeightLarge: `calc( ${ CONTROL_HEIGHT } * 1.2 )`,\n\tcontrolHeightXLarge: `calc( ${ CONTROL_HEIGHT } * 1.4 )`,\n};\n\nconst TOGGLE_GROUP_CONTROL_PROPS = {\n\ttoggleGroupControlBackgroundColor: CONTROL_PROPS.controlBackgroundColor,\n\ttoggleGroupControlBorderColor: COLORS.ui.border,\n\ttoggleGroupControlBackdropBackgroundColor:\n\t\tCONTROL_PROPS.controlSurfaceColor,\n\ttoggleGroupControlBackdropBorderColor: COLORS.ui.border,\n\ttoggleGroupControlButtonColorActive: CONTROL_PROPS.controlBackgroundColor,\n};\n\n// Using Object.assign to avoid creating circular references when emitting\n// TypeScript type declarations.\nexport default Object.assign( {}, CONTROL_PROPS, TOGGLE_GROUP_CONTROL_PROPS, {\n\tcolorDivider: 'rgba(0, 0, 0, 0.1)',\n\tcolorScrollbarThumb: 'rgba(0, 0, 0, 0.2)',\n\tcolorScrollbarThumbHover: 'rgba(0, 0, 0, 0.5)',\n\tcolorScrollbarTrack: 'rgba(0, 0, 0, 0.04)',\n\televationIntensity: 1,\n\tradiusXSmall: '1px',\n\tradiusSmall: '2px',\n\tradiusMedium: '4px',\n\tradiusLarge: '8px',\n\tradiusFull: '9999px',\n\tradiusRound: '50%',\n\tradiusBlockUi: '2px',\n\tborderWidth: '1px',\n\tborderWidthFocus: '1.5px',\n\tborderWidthTab: '4px',\n\tspinnerSize: 16,\n\tfontSize: '13px',\n\tfontSizeH1: 'calc(2.44 * 13px)',\n\tfontSizeH2: 'calc(1.95 * 13px)',\n\tfontSizeH3: 'calc(1.56 * 13px)',\n\tfontSizeH4: 'calc(1.25 * 13px)',\n\tfontSizeH5: '13px',\n\tfontSizeH6: 'calc(0.8 * 13px)',\n\tfontSizeInputMobile: '16px',\n\tfontSizeMobile: '15px',\n\tfontSizeSmall: 'calc(0.92 * 13px)',\n\tfontSizeXSmall: 'calc(0.75 * 13px)',\n\tfontLineHeightBase: '1.4',\n\tfontWeight: 'normal',\n\tfontWeightHeading: '600',\n\tgridBase: '4px',\n\tcardBorderRadius: '2px',\n\tcardPaddingXSmall: `${ space( 2 ) }`,\n\tcardPaddingSmall: `${ space( 4 ) }`,\n\tcardPaddingMedium: `${ space( 4 ) } ${ space( 6 ) }`,\n\tcardPaddingLarge: `${ space( 6 ) } ${ space( 8 ) }`,\n\tpopoverShadow: `0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1)`,\n\tsurfaceBackgroundColor: COLORS.white,\n\tsurfaceBackgroundSubtleColor: '#F3F3F3',\n\tsurfaceBackgroundTintColor: '#F5F5F5',\n\tsurfaceBorderColor: 'rgba(0, 0, 0, 0.1)',\n\tsurfaceBorderBoldColor: 'rgba(0, 0, 0, 0.15)',\n\tsurfaceBorderSubtleColor: 'rgba(0, 0, 0, 0.05)',\n\tsurfaceBackgroundTertiaryColor: COLORS.white,\n\tsurfaceColor: COLORS.white,\n\ttransitionDuration: '200ms',\n\ttransitionDurationFast: '160ms',\n\ttransitionDurationFaster: '120ms',\n\ttransitionDurationFastest: '100ms',\n\ttransitionTimingFunction: 'cubic-bezier(0.08, 0.52, 0.52, 1)',\n\ttransitionTimingFunctionControl: 'cubic-bezier(0.12, 0.8, 0.32, 1)',\n} );\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAJA;AACA;AACA;;AAIA,MAAME,cAAc,GAAG,MAAM;AAC7B,MAAMC,iBAAiB,GAAG,MAAM;AAEhC,MAAMC,aAAa,GAAG;EACrBC,mBAAmB,EAAEC,oBAAM,CAACC,KAAK;EACjCC,sBAAsB,EAAEF,oBAAM,CAACG,KAAK,CAACC,MAAM;EAC3CC,eAAe,EAAER,iBAAiB;EAClCS,oBAAoB,EAAG,QAAQT,iBAAmB,YAAW;EAC7DU,oBAAoB,EAAG,QAAQV,iBAAmB,YAAW;EAC7DW,sBAAsB,EAAER,oBAAM,CAACC,KAAK;EACpCQ,mBAAmB,EAAE,KAAK;EAC1BC,gBAAgB,EAAE,aAAa;EAC/BC,qBAAqB,EAAG,eAAeX,oBAAM,CAACG,KAAK,CAACC,MAAQ,EAAC;EAC7DQ,6BAA6B,EAAEZ,oBAAM,CAACa,KAAK,CAACC,GAAG;EAC/CC,aAAa,EAAEnB,cAAc;EAC7BoB,mBAAmB,EAAG,SAASpB,cAAgB,UAAS;EACxDqB,kBAAkB,EAAG,SAASrB,cAAgB,UAAS;EACvDsB,kBAAkB,EAAG,SAAStB,cAAgB,UAAS;EACvDuB,mBAAmB,EAAG,SAASvB,cAAgB;AAChD,CAAC;AAED,MAAMwB,0BAA0B,GAAG;EAClCC,iCAAiC,EAAEvB,aAAa,CAACU,sBAAsB;EACvEc,6BAA6B,EAAEtB,oBAAM,CAACuB,EAAE,CAACC,MAAM;EAC/CC,yCAAyC,E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,IAAAD,YAAK,EAAE,CAAE,CAAG,EAAC;EACnCE,iBAAiB,EAAG,GAAG,IAAAF,YAAK,EAAE,CAAE,CAAG,IAAI,IAAAA,YAAK,EAAE,CAAE,CAAG,EAAC;EACpDG,gBAAgB,EAAG,GAAG,IAAAH,YAAK,EAAE,CAAE,CAAG,IAAI,IAAAA,YAAK,EAAE,CAAE,CAAG,EAAC;EACnDI,aAAa,EAAG,kHAAiH;EACjIC,sBAAsB,EAAEvE,oBAAM,CAACC,KAAK;EACpCuE,4BAA4B,EAAE,SAAS;EACvCC,0BAA0B,EAAE,SAAS;EACrCC,kBAAkB,EAAE,oBAAoB;EACxCC,sBAAsB,EAAE,qBAAqB;EAC7CC,wBAAwB,EAAE,qBAAqB;EAC/CC,8BAA8B,EAAE7E,oBAAM,CAACC,KAAK;EAC5C6E,YAAY,EAAE9E,oBAAM,CAACC,KAAK;EAC1B8E,kBAAkB,EAAE,OAAO;EAC3BC,sBAAsB,EAAE,OAAO;EAC/BC,wBAAwB,EAAE,OAAO;EACjCC,yBAAyB,EAAE,OAAO;EAClCC,wBAAwB,EAAE,mCAAmC;EAC7DC,+BAA+B,EAAE;AAClC,CAAE,CAAC","ignoreList":[]}
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NULL_ELEMENT_OFFSET_RECT = void 0;
7
+ exports.getElementOffsetRect = getElementOffsetRect;
8
+ exports.useTrackElementOffsetRect = useTrackElementOffsetRect;
9
+ exports.useTrackElementRectUpdates = useTrackElementRectUpdates;
10
+ var _element = require("@wordpress/element");
11
+ var _useEvent = require("./hooks/use-event");
12
+ /* eslint-disable jsdoc/require-param */
13
+ /**
14
+ * WordPress dependencies
15
+ */
16
+
17
+ /**
18
+ * Internal dependencies
19
+ */
20
+
21
+ /**
22
+ * `useTrackElementRectUpdates` options.
23
+ */
24
+
25
+ /**
26
+ * Tracks an element's "rect" (size and position) and fires `onRect` for all
27
+ * of its discrete values. The element can be changed dynamically and **it
28
+ * must not be stored in a ref**. Instead, it should be stored in a React
29
+ * state or equivalent.
30
+ *
31
+ * By default, `onRect` is called initially for the target element (including
32
+ * when the target element changes), not only on size or position updates.
33
+ * This allows consumers of the hook to always be in sync with all rect values
34
+ * of the target element throughout its lifetime. This behavior can be
35
+ * disabled by setting the `fireOnElementInit` option to `false`.
36
+ *
37
+ * Under the hood, it sets up a `ResizeObserver` that tracks the element. The
38
+ * target element can be changed dynamically, and the observer will be
39
+ * updated accordingly.
40
+ *
41
+ * @example
42
+ *
43
+ * ```tsx
44
+ * const [ targetElement, setTargetElement ] = useState< HTMLElement | null >();
45
+ *
46
+ * useTrackElementRectUpdates( targetElement, ( element ) => {
47
+ * console.log( 'Element resized:', element );
48
+ * } );
49
+ *
50
+ * <div ref={ setTargetElement } />;
51
+ * ```
52
+ */
53
+ function useTrackElementRectUpdates(
54
+ /**
55
+ * The target element to observe. It can be changed dynamically.
56
+ */
57
+ targetElement,
58
+ /**
59
+ * Callback to fire when the element is resized. It will also be
60
+ * called when the observer is set up, unless `fireOnElementInit` is
61
+ * set to `false`.
62
+ */
63
+ onRect, {
64
+ fireOnElementInit = true
65
+ } = {}) {
66
+ const onRectEvent = (0, _useEvent.useEvent)(onRect);
67
+ const observedElementRef = (0, _element.useRef)();
68
+ const resizeObserverRef = (0, _element.useRef)();
69
+
70
+ // TODO: could this be a layout effect?
71
+ (0, _element.useEffect)(() => {
72
+ if (targetElement === observedElementRef.current) {
73
+ return;
74
+ }
75
+ observedElementRef.current = targetElement;
76
+
77
+ // Set up a ResizeObserver.
78
+ if (!resizeObserverRef.current) {
79
+ resizeObserverRef.current = new ResizeObserver(entries => {
80
+ if (observedElementRef.current) {
81
+ onRectEvent(observedElementRef.current, entries);
82
+ }
83
+ });
84
+ }
85
+ const {
86
+ current: resizeObserver
87
+ } = resizeObserverRef;
88
+
89
+ // Observe new element.
90
+ if (targetElement) {
91
+ if (fireOnElementInit) {
92
+ // TODO: investigate if this can be removed,
93
+ // see: https://stackoverflow.com/a/60026394
94
+ onRectEvent(targetElement);
95
+ }
96
+ resizeObserver.observe(targetElement);
97
+ }
98
+ return () => {
99
+ // Unobserve previous element.
100
+ if (observedElementRef.current) {
101
+ resizeObserver.unobserve(observedElementRef.current);
102
+ }
103
+ };
104
+ }, [fireOnElementInit, onRectEvent, targetElement]);
105
+ }
106
+
107
+ /**
108
+ * The position and dimensions of an element, relative to its offset parent.
109
+ */
110
+
111
+ /**
112
+ * An `ElementOffsetRect` object with all values set to zero.
113
+ */
114
+ const NULL_ELEMENT_OFFSET_RECT = exports.NULL_ELEMENT_OFFSET_RECT = {
115
+ left: 0,
116
+ top: 0,
117
+ width: 0,
118
+ height: 0
119
+ };
120
+
121
+ /**
122
+ * Returns the position and dimensions of an element, relative to its offset
123
+ * parent. This is useful in contexts where `getBoundingClientRect` is not
124
+ * suitable, such as when the element is transformed.
125
+ *
126
+ * **Note:** the `left` and `right` values are adjusted due to a limitation
127
+ * in the way the browser calculates the offset position of the element,
128
+ * which can cause unwanted scrollbars to appear. This adjustment makes the
129
+ * values potentially inaccurate within a range of 1 pixel.
130
+ */
131
+ function getElementOffsetRect(element) {
132
+ return {
133
+ // The adjustments mentioned in the documentation above are necessary
134
+ // because `offsetLeft` and `offsetTop` are rounded to the nearest pixel,
135
+ // which can result in a position mismatch that causes unwanted overflow.
136
+ // For context, see: https://github.com/WordPress/gutenberg/pull/61979
137
+ left: Math.max(element.offsetLeft - 1, 0),
138
+ top: Math.max(element.offsetTop - 1, 0),
139
+ // This is a workaround to obtain these values with a sub-pixel precision,
140
+ // since `offsetWidth` and `offsetHeight` are rounded to the nearest pixel.
141
+ width: parseFloat(getComputedStyle(element).width),
142
+ height: parseFloat(getComputedStyle(element).height)
143
+ };
144
+ }
145
+
146
+ /**
147
+ * Tracks the position and dimensions of an element, relative to its offset
148
+ * parent. The element can be changed dynamically.
149
+ */
150
+ function useTrackElementOffsetRect(targetElement) {
151
+ const [indicatorPosition, setIndicatorPosition] = (0, _element.useState)(NULL_ELEMENT_OFFSET_RECT);
152
+ useTrackElementRectUpdates(targetElement, element => setIndicatorPosition(getElementOffsetRect(element)));
153
+ return indicatorPosition;
154
+ }
155
+
156
+ /* eslint-enable jsdoc/require-param */
157
+ //# sourceMappingURL=element-rect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_element","require","_useEvent","useTrackElementRectUpdates","targetElement","onRect","fireOnElementInit","onRectEvent","useEvent","observedElementRef","useRef","resizeObserverRef","useEffect","current","ResizeObserver","entries","resizeObserver","observe","unobserve","NULL_ELEMENT_OFFSET_RECT","exports","left","top","width","height","getElementOffsetRect","element","Math","max","offsetLeft","offsetTop","parseFloat","getComputedStyle","useTrackElementOffsetRect","indicatorPosition","setIndicatorPosition","useState"],"sources":["@wordpress/components/src/utils/element-rect.ts"],"sourcesContent":["/* eslint-disable jsdoc/require-param */\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect, useState } from '@wordpress/element';\n/**\n * Internal dependencies\n */\nimport { useEvent } from './hooks/use-event';\n\n/**\n * `useTrackElementRectUpdates` options.\n */\nexport type UseTrackElementRectUpdatesOptions = {\n\t/**\n\t * Whether to trigger the callback when an element's ResizeObserver is\n\t * first set up, including when the target element changes.\n\t *\n\t * @default true\n\t */\n\tfireOnElementInit?: boolean;\n};\n\n/**\n * Tracks an element's \"rect\" (size and position) and fires `onRect` for all\n * of its discrete values. The element can be changed dynamically and **it\n * must not be stored in a ref**. Instead, it should be stored in a React\n * state or equivalent.\n *\n * By default, `onRect` is called initially for the target element (including\n * when the target element changes), not only on size or position updates.\n * This allows consumers of the hook to always be in sync with all rect values\n * of the target element throughout its lifetime. This behavior can be\n * disabled by setting the `fireOnElementInit` option to `false`.\n *\n * Under the hood, it sets up a `ResizeObserver` that tracks the element. The\n * target element can be changed dynamically, and the observer will be\n * updated accordingly.\n *\n * @example\n *\n * ```tsx\n * const [ targetElement, setTargetElement ] = useState< HTMLElement | null >();\n *\n * useTrackElementRectUpdates( targetElement, ( element ) => {\n * console.log( 'Element resized:', element );\n * } );\n *\n * <div ref={ setTargetElement } />;\n * ```\n */\nexport function useTrackElementRectUpdates(\n\t/**\n\t * The target element to observe. It can be changed dynamically.\n\t */\n\ttargetElement: HTMLElement | undefined | null,\n\t/**\n\t * Callback to fire when the element is resized. It will also be\n\t * called when the observer is set up, unless `fireOnElementInit` is\n\t * set to `false`.\n\t */\n\tonRect: (\n\t\t/**\n\t\t * The element being tracked at the time of this update.\n\t\t */\n\t\telement: HTMLElement,\n\t\t/**\n\t\t * The list of\n\t\t * [`ResizeObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry)\n\t\t * objects passed to the `ResizeObserver.observe` callback. This list\n\t\t * won't be available when the observer is set up, and only on updates.\n\t\t */\n\t\tresizeObserverEntries?: ResizeObserverEntry[]\n\t) => void,\n\t{ fireOnElementInit = true }: UseTrackElementRectUpdatesOptions = {}\n) {\n\tconst onRectEvent = useEvent( onRect );\n\n\tconst observedElementRef = useRef< HTMLElement | null >();\n\tconst resizeObserverRef = useRef< ResizeObserver >();\n\n\t// TODO: could this be a layout effect?\n\tuseEffect( () => {\n\t\tif ( targetElement === observedElementRef.current ) {\n\t\t\treturn;\n\t\t}\n\n\t\tobservedElementRef.current = targetElement;\n\n\t\t// Set up a ResizeObserver.\n\t\tif ( ! resizeObserverRef.current ) {\n\t\t\tresizeObserverRef.current = new ResizeObserver( ( entries ) => {\n\t\t\t\tif ( observedElementRef.current ) {\n\t\t\t\t\tonRectEvent( observedElementRef.current, entries );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\t\tconst { current: resizeObserver } = resizeObserverRef;\n\n\t\t// Observe new element.\n\t\tif ( targetElement ) {\n\t\t\tif ( fireOnElementInit ) {\n\t\t\t\t// TODO: investigate if this can be removed,\n\t\t\t\t// see: https://stackoverflow.com/a/60026394\n\t\t\t\tonRectEvent( targetElement );\n\t\t\t}\n\t\t\tresizeObserver.observe( targetElement );\n\t\t}\n\n\t\treturn () => {\n\t\t\t// Unobserve previous element.\n\t\t\tif ( observedElementRef.current ) {\n\t\t\t\tresizeObserver.unobserve( observedElementRef.current );\n\t\t\t}\n\t\t};\n\t}, [ fireOnElementInit, onRectEvent, targetElement ] );\n}\n\n/**\n * The position and dimensions of an element, relative to its offset parent.\n */\nexport type ElementOffsetRect = {\n\t/**\n\t * The distance from the left edge of the offset parent to the left edge of\n\t * the element.\n\t */\n\tleft: number;\n\t/**\n\t * The distance from the top edge of the offset parent to the top edge of\n\t * the element.\n\t */\n\ttop: number;\n\t/**\n\t * The width of the element.\n\t */\n\twidth: number;\n\t/**\n\t * The height of the element.\n\t */\n\theight: number;\n};\n\n/**\n * An `ElementOffsetRect` object with all values set to zero.\n */\nexport const NULL_ELEMENT_OFFSET_RECT = {\n\tleft: 0,\n\ttop: 0,\n\twidth: 0,\n\theight: 0,\n} satisfies ElementOffsetRect;\n\n/**\n * Returns the position and dimensions of an element, relative to its offset\n * parent. This is useful in contexts where `getBoundingClientRect` is not\n * suitable, such as when the element is transformed.\n *\n * **Note:** the `left` and `right` values are adjusted due to a limitation\n * in the way the browser calculates the offset position of the element,\n * which can cause unwanted scrollbars to appear. This adjustment makes the\n * values potentially inaccurate within a range of 1 pixel.\n */\nexport function getElementOffsetRect(\n\telement: HTMLElement\n): ElementOffsetRect {\n\treturn {\n\t\t// The adjustments mentioned in the documentation above are necessary\n\t\t// because `offsetLeft` and `offsetTop` are rounded to the nearest pixel,\n\t\t// which can result in a position mismatch that causes unwanted overflow.\n\t\t// For context, see: https://github.com/WordPress/gutenberg/pull/61979\n\t\tleft: Math.max( element.offsetLeft - 1, 0 ),\n\t\ttop: Math.max( element.offsetTop - 1, 0 ),\n\t\t// This is a workaround to obtain these values with a sub-pixel precision,\n\t\t// since `offsetWidth` and `offsetHeight` are rounded to the nearest pixel.\n\t\twidth: parseFloat( getComputedStyle( element ).width ),\n\t\theight: parseFloat( getComputedStyle( element ).height ),\n\t};\n}\n\n/**\n * Tracks the position and dimensions of an element, relative to its offset\n * parent. The element can be changed dynamically.\n */\nexport function useTrackElementOffsetRect(\n\ttargetElement: HTMLElement | undefined | null\n) {\n\tconst [ indicatorPosition, setIndicatorPosition ] =\n\t\tuseState< ElementOffsetRect >( NULL_ELEMENT_OFFSET_RECT );\n\n\tuseTrackElementRectUpdates( targetElement, ( element ) =>\n\t\tsetIndicatorPosition( getElementOffsetRect( element ) )\n\t);\n\n\treturn indicatorPosition;\n}\n\n/* eslint-enable jsdoc/require-param */\n"],"mappings":";;;;;;;;;AAIA,IAAAA,QAAA,GAAAC,OAAA;AAIA,IAAAC,SAAA,GAAAD,OAAA;AARA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAGA;AACA;AACA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,0BAA0BA;AACzC;AACD;AACA;AACCC,aAA6C;AAC7C;AACD;AACA;AACA;AACA;AACCC,MAYS,EACT;EAAEC,iBAAiB,GAAG;AAAwC,CAAC,GAAG,CAAC,CAAC,EACnE;EACD,MAAMC,WAAW,GAAG,IAAAC,kBAAQ,EAAEH,MAAO,CAAC;EAEtC,MAAMI,kBAAkB,GAAG,IAAAC,eAAM,EAAuB,CAAC;EACzD,MAAMC,iBAAiB,GAAG,IAAAD,eAAM,EAAmB,CAAC;;EAEpD;EACA,IAAAE,kBAAS,EAAE,MAAM;IAChB,IAAKR,aAAa,KAAKK,kBAAkB,CAACI,OAAO,EAAG;MACnD;IACD;IAEAJ,kBAAkB,CAACI,OAAO,GAAGT,aAAa;;IAE1C;IACA,IAAK,CAAEO,iBAAiB,CAACE,OAAO,EAAG;MAClCF,iBAAiB,CAACE,OAAO,GAAG,IAAIC,cAAc,CAAIC,OAAO,IAAM;QAC9D,IAAKN,kBAAkB,CAACI,OAAO,EAAG;UACjCN,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,yBAAyBA,CACxC7B,aAA6C,EAC5C;EACD,MAAM,CAAE8B,iBAAiB,EAAEC,oBAAoB,CAAE,GAChD,IAAAC,iBAAQ,EAAuBjB,wBAAyB,CAAC;EAE1DhB,0BAA0B,CAAEC,aAAa,EAAIsB,OAAO,IACnDS,oBAAoB,CAAEV,oBAAoB,CAAEC,OAAQ,CAAE,CACvD,CAAC;EAED,OAAOQ,iBAAiB;AACzB;;AAEA","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useEvent = useEvent;
7
+ var _element = require("@wordpress/element");
8
+ /* eslint-disable jsdoc/require-param */
9
+ /**
10
+ * WordPress dependencies
11
+ */
12
+
13
+ /**
14
+ * Any function.
15
+ */
16
+
17
+ /**
18
+ * Creates a stable callback function that has access to the latest state and
19
+ * can be used within event handlers and effect callbacks. Throws when used in
20
+ * the render phase.
21
+ *
22
+ * @example
23
+ *
24
+ * ```tsx
25
+ * function Component(props) {
26
+ * const onClick = useEvent(props.onClick);
27
+ * React.useEffect(() => {}, [onClick]);
28
+ * }
29
+ * ```
30
+ */
31
+ function useEvent(callback) {
32
+ const ref = (0, _element.useRef)(() => {
33
+ throw new Error('Cannot call an event handler while rendering.');
34
+ });
35
+ (0, _element.useInsertionEffect)(() => {
36
+ ref.current = callback;
37
+ });
38
+ return (0, _element.useCallback)((...args) => ref.current?.(...args), []);
39
+ }
40
+ /* eslint-enable jsdoc/require-param */
41
+ //# sourceMappingURL=use-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_element","require","useEvent","callback","ref","useRef","Error","useInsertionEffect","current","useCallback","args"],"sources":["@wordpress/components/src/utils/hooks/use-event.ts"],"sourcesContent":["/* eslint-disable jsdoc/require-param */\n/**\n * WordPress dependencies\n */\nimport { useRef, useInsertionEffect, useCallback } from '@wordpress/element';\n\n/**\n * Any function.\n */\nexport type AnyFunction = ( ...args: any ) => any;\n\n/**\n * Creates a stable callback function that has access to the latest state and\n * can be used within event handlers and effect callbacks. Throws when used in\n * the render phase.\n *\n * @example\n *\n * ```tsx\n * function Component(props) {\n * const onClick = useEvent(props.onClick);\n * React.useEffect(() => {}, [onClick]);\n * }\n * ```\n */\nexport function useEvent< T extends AnyFunction >( callback?: T ) {\n\tconst ref = useRef< AnyFunction | undefined >( () => {\n\t\tthrow new Error( 'Cannot call an event handler while rendering.' );\n\t} );\n\tuseInsertionEffect( () => {\n\t\tref.current = callback;\n\t} );\n\treturn useCallback< AnyFunction >(\n\t\t( ...args ) => ref.current?.( ...args ),\n\t\t[]\n\t) as T;\n}\n/* eslint-enable jsdoc/require-param */\n"],"mappings":";;;;;;AAIA,IAAAA,QAAA,GAAAC,OAAA;AAJA;AACA;AACA;AACA;;AAGA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,QAAQA,CAA2BC,QAAY,EAAG;EACjE,MAAMC,GAAG,GAAG,IAAAC,eAAM,EAA6B,MAAM;IACpD,MAAM,IAAIC,KAAK,CAAE,+CAAgD,CAAC;EACnE,CAAE,CAAC;EACH,IAAAC,2BAAkB,EAAE,MAAM;IACzBH,GAAG,CAACI,OAAO,GAAGL,QAAQ;EACvB,CAAE,CAAC;EACH,OAAO,IAAAM,oBAAW,EACjB,CAAE,GAAGC,IAAI,KAAMN,GAAG,CAACI,OAAO,GAAI,GAAGE,IAAK,CAAC,EACvC,EACD,CAAC;AACF;AACA","ignoreList":[]}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useOnValueUpdate = useOnValueUpdate;
7
+ var _element = require("@wordpress/element");
8
+ var _useEvent = require("./use-event");
9
+ /* eslint-disable jsdoc/require-param */
10
+ /**
11
+ * WordPress dependencies
12
+ */
13
+
14
+ /**
15
+ * Internal dependencies
16
+ */
17
+
18
+ /**
19
+ * Context object for the `onUpdate` callback of `useOnValueUpdate`.
20
+ */
21
+
22
+ /**
23
+ * Calls the `onUpdate` callback when the `value` changes.
24
+ */
25
+ function useOnValueUpdate(
26
+ /**
27
+ * The value to watch for changes.
28
+ */
29
+ value,
30
+ /**
31
+ * Callback to fire when the value changes.
32
+ */
33
+ onUpdate) {
34
+ const previousValueRef = (0, _element.useRef)(value);
35
+ const updateCallbackEvent = (0, _useEvent.useEvent)(onUpdate);
36
+ (0, _element.useEffect)(() => {
37
+ if (previousValueRef.current !== value) {
38
+ updateCallbackEvent({
39
+ previousValue: previousValueRef.current
40
+ });
41
+ previousValueRef.current = value;
42
+ }
43
+ }, [updateCallbackEvent, value]);
44
+ }
45
+ /* eslint-enable jsdoc/require-param */
46
+ //# sourceMappingURL=use-on-value-update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_element","require","_useEvent","useOnValueUpdate","value","onUpdate","previousValueRef","useRef","updateCallbackEvent","useEvent","useEffect","current","previousValue"],"sources":["@wordpress/components/src/utils/hooks/use-on-value-update.ts"],"sourcesContent":["/* eslint-disable jsdoc/require-param */\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect } from '@wordpress/element';\n/**\n * Internal dependencies\n */\nimport { useEvent } from './use-event';\n\n/**\n * Context object for the `onUpdate` callback of `useOnValueUpdate`.\n */\nexport type ValueUpdateContext< T > = {\n\tpreviousValue: T;\n};\n\n/**\n * Calls the `onUpdate` callback when the `value` changes.\n */\nexport function useOnValueUpdate< T >(\n\t/**\n\t * The value to watch for changes.\n\t */\n\tvalue: T,\n\t/**\n\t * Callback to fire when the value changes.\n\t */\n\tonUpdate: ( context: ValueUpdateContext< T > ) => void\n) {\n\tconst previousValueRef = useRef( value );\n\tconst updateCallbackEvent = useEvent( onUpdate );\n\tuseEffect( () => {\n\t\tif ( previousValueRef.current !== value ) {\n\t\t\tupdateCallbackEvent( {\n\t\t\t\tpreviousValue: previousValueRef.current,\n\t\t\t} );\n\t\t\tpreviousValueRef.current = value;\n\t\t}\n\t}, [ updateCallbackEvent, value ] );\n}\n/* eslint-enable jsdoc/require-param */\n"],"mappings":";;;;;;AAIA,IAAAA,QAAA,GAAAC,OAAA;AAIA,IAAAC,SAAA,GAAAD,OAAA;AARA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAGA;AACA;AACA;;AAKA;AACA;AACA;AACO,SAASE,gBAAgBA;AAC/B;AACD;AACA;AACCC,KAAQ;AACR;AACD;AACA;AACCC,QAAsD,EACrD;EACD,MAAMC,gBAAgB,GAAG,IAAAC,eAAM,EAAEH,KAAM,CAAC;EACxC,MAAMI,mBAAmB,GAAG,IAAAC,kBAAQ,EAAEJ,QAAS,CAAC;EAChD,IAAAK,kBAAS,EAAE,MAAM;IAChB,IAAKJ,gBAAgB,CAACK,OAAO,KAAKP,KAAK,EAAG;MACzCI,mBAAmB,CAAE;QACpBI,aAAa,EAAEN,gBAAgB,CAACK;MACjC,CAAE,CAAC;MACHL,gBAAgB,CAACK,OAAO,GAAGP,KAAK;IACjC;EACD,CAAC,EAAE,CAAEI,mBAAmB,EAAEJ,KAAK,CAAG,CAAC;AACpC;AACA","ignoreList":[]}
@@ -43,8 +43,10 @@ function ListBox({
43
43
  accessibleWhenDisabled: true,
44
44
  disabled: option.isDisabled,
45
45
  className: clsx('components-autocomplete__result', className, {
46
+ // Unused, for backwards compatibility.
46
47
  'is-selected': index === selectedIndex
47
48
  }),
49
+ variant: index === selectedIndex ? 'primary' : undefined,
48
50
  onClick: () => onSelect(option),
49
51
  children: option.label
50
52
  }, option.key))
@@ -1 +1 @@
1
- {"version":3,"names":["clsx","useLayoutEffect","useRef","useEffect","useState","useAnchor","useDebounce","useMergeRefs","useRefEffect","speak","__","_n","sprintf","getDefaultUseItems","Button","Popover","VisuallyHidden","createPortal","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ListBox","items","onSelect","selectedIndex","instanceId","listBoxId","className","Component","id","role","children","map","option","index","key","accessibleWhenDisabled","disabled","isDisabled","onClick","label","getAutoCompleterUI","autocompleter","_autocompleter$useIte","useItems","AutocompleterUI","filterValue","onChangeOptions","onReset","reset","contentRef","popoverAnchor","editableContentElement","current","needsA11yCompat","setNeedsA11yCompat","popoverRef","popoverRefs","node","ownerDocument","useOnClickOutside","debouncedSpeak","announce","options","length","focusOnMount","onClose","placement","anchor","ref","body","handler","listener","event","contains","target","document","addEventListener","removeEventListener"],"sources":["@wordpress/components/src/autocomplete/autocompleter-ui.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tuseLayoutEffect,\n\tuseRef,\n\tuseEffect,\n\tuseState,\n} from '@wordpress/element';\nimport { useAnchor } from '@wordpress/rich-text';\nimport { useDebounce, useMergeRefs, useRefEffect } from '@wordpress/compose';\nimport { speak } from '@wordpress/a11y';\nimport { __, _n, sprintf } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport getDefaultUseItems from './get-default-use-items';\nimport Button from '../button';\nimport Popover from '../popover';\nimport { VisuallyHidden } from '../visually-hidden';\nimport { createPortal } from 'react-dom';\nimport type { AutocompleterUIProps, KeyedOption, WPCompleter } from './types';\n\ntype ListBoxProps = {\n\titems: KeyedOption[];\n\tonSelect: ( option: KeyedOption ) => void;\n\tselectedIndex: number;\n\tinstanceId: number;\n\tlistBoxId: string | undefined;\n\tclassName?: string;\n\tComponent?: React.ElementType;\n};\n\nfunction ListBox( {\n\titems,\n\tonSelect,\n\tselectedIndex,\n\tinstanceId,\n\tlistBoxId,\n\tclassName,\n\tComponent = 'div',\n}: ListBoxProps ) {\n\treturn (\n\t\t<Component\n\t\t\tid={ listBoxId }\n\t\t\trole=\"listbox\"\n\t\t\tclassName=\"components-autocomplete__results\"\n\t\t>\n\t\t\t{ items.map( ( option, index ) => (\n\t\t\t\t<Button\n\t\t\t\t\tkey={ option.key }\n\t\t\t\t\tid={ `components-autocomplete-item-${ instanceId }-${ option.key }` }\n\t\t\t\t\trole=\"option\"\n\t\t\t\t\taria-selected={ index === selectedIndex }\n\t\t\t\t\taccessibleWhenDisabled\n\t\t\t\t\tdisabled={ option.isDisabled }\n\t\t\t\t\tclassName={ clsx(\n\t\t\t\t\t\t'components-autocomplete__result',\n\t\t\t\t\t\tclassName,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'is-selected': index === selectedIndex,\n\t\t\t\t\t\t}\n\t\t\t\t\t) }\n\t\t\t\t\tonClick={ () => onSelect( option ) }\n\t\t\t\t>\n\t\t\t\t\t{ option.label }\n\t\t\t\t</Button>\n\t\t\t) ) }\n\t\t</Component>\n\t);\n}\n\nexport function getAutoCompleterUI( autocompleter: WPCompleter ) {\n\tconst useItems =\n\t\tautocompleter.useItems ?? getDefaultUseItems( autocompleter );\n\n\tfunction AutocompleterUI( {\n\t\tfilterValue,\n\t\tinstanceId,\n\t\tlistBoxId,\n\t\tclassName,\n\t\tselectedIndex,\n\t\tonChangeOptions,\n\t\tonSelect,\n\t\tonReset,\n\t\treset,\n\t\tcontentRef,\n\t}: AutocompleterUIProps ) {\n\t\tconst [ items ] = useItems( filterValue );\n\t\tconst popoverAnchor = useAnchor( {\n\t\t\teditableContentElement: contentRef.current,\n\t\t} );\n\n\t\tconst [ needsA11yCompat, setNeedsA11yCompat ] = useState( false );\n\t\tconst popoverRef = useRef< HTMLElement >( null );\n\t\tconst popoverRefs = useMergeRefs( [\n\t\t\tpopoverRef,\n\t\t\tuseRefEffect(\n\t\t\t\t( node ) => {\n\t\t\t\t\tif ( ! contentRef.current ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// If the popover is rendered in a different document than\n\t\t\t\t\t// the content, we need to duplicate the options list in the\n\t\t\t\t\t// content document so that it's available to the screen\n\t\t\t\t\t// readers, which check the DOM ID based aria-* attributes.\n\t\t\t\t\tsetNeedsA11yCompat(\n\t\t\t\t\t\tnode.ownerDocument !== contentRef.current.ownerDocument\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\t[ contentRef ]\n\t\t\t),\n\t\t] );\n\n\t\tuseOnClickOutside( popoverRef, reset );\n\n\t\tconst debouncedSpeak = useDebounce( speak, 500 );\n\n\t\tfunction announce( options: Array< KeyedOption > ) {\n\t\t\tif ( ! debouncedSpeak ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( !! options.length ) {\n\t\t\t\tif ( filterValue ) {\n\t\t\t\t\tdebouncedSpeak(\n\t\t\t\t\t\tsprintf(\n\t\t\t\t\t\t\t/* translators: %d: number of results. */\n\t\t\t\t\t\t\t_n(\n\t\t\t\t\t\t\t\t'%d result found, use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\t'%d results found, use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t),\n\t\t\t\t\t\t'assertive'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tdebouncedSpeak(\n\t\t\t\t\t\tsprintf(\n\t\t\t\t\t\t\t/* translators: %d: number of results. */\n\t\t\t\t\t\t\t_n(\n\t\t\t\t\t\t\t\t'Initial %d result loaded. Type to filter all available results. Use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\t'Initial %d results loaded. Type to filter all available results. Use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t),\n\t\t\t\t\t\t'assertive'\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdebouncedSpeak( __( 'No results.' ), 'assertive' );\n\t\t\t}\n\t\t}\n\n\t\tuseLayoutEffect( () => {\n\t\t\tonChangeOptions( items );\n\t\t\tannounce( items );\n\t\t\t// Temporarily disabling exhaustive-deps to avoid introducing unexpected side effecst.\n\t\t\t// See https://github.com/WordPress/gutenberg/pull/41820\n\t\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t\t}, [ items ] );\n\n\t\tif ( items.length === 0 ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Popover\n\t\t\t\t\tfocusOnMount={ false }\n\t\t\t\t\tonClose={ onReset }\n\t\t\t\t\tplacement=\"top-start\"\n\t\t\t\t\tclassName=\"components-autocomplete__popover\"\n\t\t\t\t\tanchor={ popoverAnchor }\n\t\t\t\t\tref={ popoverRefs }\n\t\t\t\t>\n\t\t\t\t\t<ListBox\n\t\t\t\t\t\titems={ items }\n\t\t\t\t\t\tonSelect={ onSelect }\n\t\t\t\t\t\tselectedIndex={ selectedIndex }\n\t\t\t\t\t\tinstanceId={ instanceId }\n\t\t\t\t\t\tlistBoxId={ listBoxId }\n\t\t\t\t\t\tclassName={ className }\n\t\t\t\t\t/>\n\t\t\t\t</Popover>\n\t\t\t\t{ contentRef.current &&\n\t\t\t\t\tneedsA11yCompat &&\n\t\t\t\t\tcreatePortal(\n\t\t\t\t\t\t<ListBox\n\t\t\t\t\t\t\titems={ items }\n\t\t\t\t\t\t\tonSelect={ onSelect }\n\t\t\t\t\t\t\tselectedIndex={ selectedIndex }\n\t\t\t\t\t\t\tinstanceId={ instanceId }\n\t\t\t\t\t\t\tlistBoxId={ listBoxId }\n\t\t\t\t\t\t\tclassName={ className }\n\t\t\t\t\t\t\tComponent={ VisuallyHidden }\n\t\t\t\t\t\t/>,\n\t\t\t\t\t\tcontentRef.current.ownerDocument.body\n\t\t\t\t\t) }\n\t\t\t</>\n\t\t);\n\t}\n\n\treturn AutocompleterUI;\n}\n\nfunction useOnClickOutside(\n\tref: React.RefObject< HTMLElement >,\n\thandler: AutocompleterUIProps[ 'reset' ]\n) {\n\tuseEffect( () => {\n\t\tconst listener = ( event: MouseEvent | TouchEvent ) => {\n\t\t\t// Do nothing if clicking ref's element or descendent elements, or if the ref is not referencing an element\n\t\t\tif (\n\t\t\t\t! ref.current ||\n\t\t\t\tref.current.contains( event.target as Node )\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\thandler( event );\n\t\t};\n\t\tdocument.addEventListener( 'mousedown', listener );\n\t\tdocument.addEventListener( 'touchstart', listener );\n\t\treturn () => {\n\t\t\tdocument.removeEventListener( 'mousedown', listener );\n\t\t\tdocument.removeEventListener( 'touchstart', listener );\n\t\t};\n\t\t// Disable reason: `ref` is a ref object and should not be included in a\n\t\t// hook's dependency list.\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [ handler ] );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;;AAEvB;AACA;AACA;AACA,SACCC,eAAe,EACfC,MAAM,EACNC,SAAS,EACTC,QAAQ,QACF,oBAAoB;AAC3B,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,WAAW,EAAEC,YAAY,EAAEC,YAAY,QAAQ,oBAAoB;AAC5E,SAASC,KAAK,QAAQ,iBAAiB;AACvC,SAASC,EAAE,EAAEC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;;AAEjD;AACA;AACA;AACA,OAAOC,kBAAkB,MAAM,yBAAyB;AACxD,OAAOC,MAAM,MAAM,WAAW;AAC9B,OAAOC,OAAO,MAAM,YAAY;AAChC,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,YAAY,QAAQ,WAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,QAAA,IAAAC,SAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAazC,SAASC,OAAOA,CAAE;EACjBC,KAAK;EACLC,QAAQ;EACRC,aAAa;EACbC,UAAU;EACVC,SAAS;EACTC,SAAS;EACTC,SAAS,GAAG;AACC,CAAC,EAAG;EACjB,oBACCZ,IAAA,CAACY,SAAS;IACTC,EAAE,EAAGH,SAAW;IAChBI,IAAI,EAAC,SAAS;IACdH,SAAS,EAAC,kCAAkC;IAAAI,QAAA,EAE1CT,KAAK,CAACU,GAAG,CAAE,CAAEC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AAC;MACrDI,QAAQ,CAACE,mBAAmB,CAAE,YAAY,EAAEN,QAAS,CAAC;IACvD,CAAC;IACD;IACA;IACA;EACD,CAAC,EAAE,CAAED,OAAO,CAAG,CAAC;AACjB","ignoreList":[]}
1
+ {"version":3,"names":["clsx","useLayoutEffect","useRef","useEffect","useState","useAnchor","useDebounce","useMergeRefs","useRefEffect","speak","__","_n","sprintf","getDefaultUseItems","Button","Popover","VisuallyHidden","createPortal","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ListBox","items","onSelect","selectedIndex","instanceId","listBoxId","className","Component","id","role","children","map","option","index","key","accessibleWhenDisabled","disabled","isDisabled","variant","undefined","onClick","label","getAutoCompleterUI","autocompleter","_autocompleter$useIte","useItems","AutocompleterUI","filterValue","onChangeOptions","onReset","reset","contentRef","popoverAnchor","editableContentElement","current","needsA11yCompat","setNeedsA11yCompat","popoverRef","popoverRefs","node","ownerDocument","useOnClickOutside","debouncedSpeak","announce","options","length","focusOnMount","onClose","placement","anchor","ref","body","handler","listener","event","contains","target","document","addEventListener","removeEventListener"],"sources":["@wordpress/components/src/autocomplete/autocompleter-ui.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tuseLayoutEffect,\n\tuseRef,\n\tuseEffect,\n\tuseState,\n} from '@wordpress/element';\nimport { useAnchor } from '@wordpress/rich-text';\nimport { useDebounce, useMergeRefs, useRefEffect } from '@wordpress/compose';\nimport { speak } from '@wordpress/a11y';\nimport { __, _n, sprintf } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport getDefaultUseItems from './get-default-use-items';\nimport Button from '../button';\nimport Popover from '../popover';\nimport { VisuallyHidden } from '../visually-hidden';\nimport { createPortal } from 'react-dom';\nimport type { AutocompleterUIProps, KeyedOption, WPCompleter } from './types';\n\ntype ListBoxProps = {\n\titems: KeyedOption[];\n\tonSelect: ( option: KeyedOption ) => void;\n\tselectedIndex: number;\n\tinstanceId: number;\n\tlistBoxId: string | undefined;\n\tclassName?: string;\n\tComponent?: React.ElementType;\n};\n\nfunction ListBox( {\n\titems,\n\tonSelect,\n\tselectedIndex,\n\tinstanceId,\n\tlistBoxId,\n\tclassName,\n\tComponent = 'div',\n}: ListBoxProps ) {\n\treturn (\n\t\t<Component\n\t\t\tid={ listBoxId }\n\t\t\trole=\"listbox\"\n\t\t\tclassName=\"components-autocomplete__results\"\n\t\t>\n\t\t\t{ items.map( ( option, index ) => (\n\t\t\t\t<Button\n\t\t\t\t\tkey={ option.key }\n\t\t\t\t\tid={ `components-autocomplete-item-${ instanceId }-${ option.key }` }\n\t\t\t\t\trole=\"option\"\n\t\t\t\t\taria-selected={ index === selectedIndex }\n\t\t\t\t\taccessibleWhenDisabled\n\t\t\t\t\tdisabled={ option.isDisabled }\n\t\t\t\t\tclassName={ clsx(\n\t\t\t\t\t\t'components-autocomplete__result',\n\t\t\t\t\t\tclassName,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// Unused, for backwards compatibility.\n\t\t\t\t\t\t\t'is-selected': index === selectedIndex,\n\t\t\t\t\t\t}\n\t\t\t\t\t) }\n\t\t\t\t\tvariant={ index === selectedIndex ? 'primary' : undefined }\n\t\t\t\t\tonClick={ () => onSelect( option ) }\n\t\t\t\t>\n\t\t\t\t\t{ option.label }\n\t\t\t\t</Button>\n\t\t\t) ) }\n\t\t</Component>\n\t);\n}\n\nexport function getAutoCompleterUI( autocompleter: WPCompleter ) {\n\tconst useItems =\n\t\tautocompleter.useItems ?? getDefaultUseItems( autocompleter );\n\n\tfunction AutocompleterUI( {\n\t\tfilterValue,\n\t\tinstanceId,\n\t\tlistBoxId,\n\t\tclassName,\n\t\tselectedIndex,\n\t\tonChangeOptions,\n\t\tonSelect,\n\t\tonReset,\n\t\treset,\n\t\tcontentRef,\n\t}: AutocompleterUIProps ) {\n\t\tconst [ items ] = useItems( filterValue );\n\t\tconst popoverAnchor = useAnchor( {\n\t\t\teditableContentElement: contentRef.current,\n\t\t} );\n\n\t\tconst [ needsA11yCompat, setNeedsA11yCompat ] = useState( false );\n\t\tconst popoverRef = useRef< HTMLElement >( null );\n\t\tconst popoverRefs = useMergeRefs( [\n\t\t\tpopoverRef,\n\t\t\tuseRefEffect(\n\t\t\t\t( node ) => {\n\t\t\t\t\tif ( ! contentRef.current ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// If the popover is rendered in a different document than\n\t\t\t\t\t// the content, we need to duplicate the options list in the\n\t\t\t\t\t// content document so that it's available to the screen\n\t\t\t\t\t// readers, which check the DOM ID based aria-* attributes.\n\t\t\t\t\tsetNeedsA11yCompat(\n\t\t\t\t\t\tnode.ownerDocument !== contentRef.current.ownerDocument\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\t[ contentRef ]\n\t\t\t),\n\t\t] );\n\n\t\tuseOnClickOutside( popoverRef, reset );\n\n\t\tconst debouncedSpeak = useDebounce( speak, 500 );\n\n\t\tfunction announce( options: Array< KeyedOption > ) {\n\t\t\tif ( ! debouncedSpeak ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( !! options.length ) {\n\t\t\t\tif ( filterValue ) {\n\t\t\t\t\tdebouncedSpeak(\n\t\t\t\t\t\tsprintf(\n\t\t\t\t\t\t\t/* translators: %d: number of results. */\n\t\t\t\t\t\t\t_n(\n\t\t\t\t\t\t\t\t'%d result found, use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\t'%d results found, use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t),\n\t\t\t\t\t\t'assertive'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tdebouncedSpeak(\n\t\t\t\t\t\tsprintf(\n\t\t\t\t\t\t\t/* translators: %d: number of results. */\n\t\t\t\t\t\t\t_n(\n\t\t\t\t\t\t\t\t'Initial %d result loaded. Type to filter all available results. Use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\t'Initial %d results loaded. Type to filter all available results. Use up and down arrow keys to navigate.',\n\t\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\toptions.length\n\t\t\t\t\t\t),\n\t\t\t\t\t\t'assertive'\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdebouncedSpeak( __( 'No results.' ), 'assertive' );\n\t\t\t}\n\t\t}\n\n\t\tuseLayoutEffect( () => {\n\t\t\tonChangeOptions( items );\n\t\t\tannounce( items );\n\t\t\t// Temporarily disabling exhaustive-deps to avoid introducing unexpected side effecst.\n\t\t\t// See https://github.com/WordPress/gutenberg/pull/41820\n\t\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t\t}, [ items ] );\n\n\t\tif ( items.length === 0 ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Popover\n\t\t\t\t\tfocusOnMount={ false }\n\t\t\t\t\tonClose={ onReset }\n\t\t\t\t\tplacement=\"top-start\"\n\t\t\t\t\tclassName=\"components-autocomplete__popover\"\n\t\t\t\t\tanchor={ popoverAnchor }\n\t\t\t\t\tref={ popoverRefs }\n\t\t\t\t>\n\t\t\t\t\t<ListBox\n\t\t\t\t\t\titems={ items }\n\t\t\t\t\t\tonSelect={ onSelect }\n\t\t\t\t\t\tselectedIndex={ selectedIndex }\n\t\t\t\t\t\tinstanceId={ instanceId }\n\t\t\t\t\t\tlistBoxId={ listBoxId }\n\t\t\t\t\t\tclassName={ className }\n\t\t\t\t\t/>\n\t\t\t\t</Popover>\n\t\t\t\t{ contentRef.current &&\n\t\t\t\t\tneedsA11yCompat &&\n\t\t\t\t\tcreatePortal(\n\t\t\t\t\t\t<ListBox\n\t\t\t\t\t\t\titems={ items }\n\t\t\t\t\t\t\tonSelect={ onSelect }\n\t\t\t\t\t\t\tselectedIndex={ selectedIndex }\n\t\t\t\t\t\t\tinstanceId={ instanceId }\n\t\t\t\t\t\t\tlistBoxId={ listBoxId }\n\t\t\t\t\t\t\tclassName={ className }\n\t\t\t\t\t\t\tComponent={ VisuallyHidden }\n\t\t\t\t\t\t/>,\n\t\t\t\t\t\tcontentRef.current.ownerDocument.body\n\t\t\t\t\t) }\n\t\t\t</>\n\t\t);\n\t}\n\n\treturn AutocompleterUI;\n}\n\nfunction useOnClickOutside(\n\tref: React.RefObject< HTMLElement >,\n\thandler: AutocompleterUIProps[ 'reset' ]\n) {\n\tuseEffect( () => {\n\t\tconst listener = ( event: MouseEvent | TouchEvent ) => {\n\t\t\t// Do nothing if clicking ref's element or descendent elements, or if the ref is not referencing an element\n\t\t\tif (\n\t\t\t\t! ref.current ||\n\t\t\t\tref.current.contains( event.target as Node )\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\thandler( event );\n\t\t};\n\t\tdocument.addEventListener( 'mousedown', listener );\n\t\tdocument.addEventListener( 'touchstart', listener );\n\t\treturn () => {\n\t\t\tdocument.removeEventListener( 'mousedown', listener );\n\t\t\tdocument.removeEventListener( 'touchstart', listener );\n\t\t};\n\t\t// Disable reason: `ref` is a ref object and should not be included in a\n\t\t// hook's dependency list.\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [ handler ] );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;;AAEvB;AACA;AACA;AACA,SACCC,eAAe,EACfC,MAAM,EACNC,SAAS,EACTC,QAAQ,QACF,oBAAoB;AAC3B,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,WAAW,EAAEC,YAAY,EAAEC,YAAY,QAAQ,oBAAoB;AAC5E,SAASC,KAAK,QAAQ,iBAAiB;AACvC,SAASC,EAAE,EAAEC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;;AAEjD;AACA;AACA;AACA,OAAOC,kBAAkB,MAAM,yBAAyB;AACxD,OAAOC,MAAM,MAAM,WAAW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M,aAAa,CAACW,IAClC,CAAC;IAAA,CACD,CAAC;EAEL;EAEA,OAAOzB,eAAe;AACvB;AAEA,SAASe,iBAAiBA,CACzBS,GAAmC,EACnCE,OAAwC,EACvC;EACDzE,SAAS,CAAE,MAAM;IAChB,MAAM0E,QAAQ,GAAKC,KAA8B,IAAM;MACtD;MACA,IACC,CAAEJ,GAAG,CAAChB,OAAO,IACbgB,GAAG,CAAChB,OAAO,CAACqB,QAAQ,CAAED,KAAK,CAACE,MAAe,CAAC,EAC3C;QACD;MACD;MACAJ,OAAO,CAAEE,KAAM,CAAC;IACjB,CAAC;IACDG,QAAQ,CAACC,gBAAgB,CAAE,WAAW,EAAEL,QAAS,CAAC;IAClDI,QAAQ,CAACC,gBAAgB,CAAE,YAAY,EAAEL,QAAS,CAAC;IACnD,OAAO,MAAM;MACZI,QAAQ,CAACE,mBAAmB,CAAE,WAAW,EAAEN,QAAS,CAAC;MACrDI,QAAQ,CAACE,mBAAmB,CAAE,YAAY,EAAEN,QAAS,CAAC;IACvD,CAAC;IACD;IACA;IACA;EACD,CAAC,EAAE,CAAED,OAAO,CAAG,CAAC;AACjB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["@wordpress/components/src/autocomplete/types.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { ReactElement } from 'react';\n\n/**\n * WordPress dependencies\n */\nimport type { RichTextValue } from '@wordpress/rich-text';\n\n/**\n * Internal dependencies\n */\nimport type { useAutocomplete } from '.';\n\n// Insert the `value` into the text.\nexport type InsertOption = {\n\taction: 'insert-at-caret';\n\tvalue: React.ReactNode;\n};\n\n// Replace the current block with the block specified in the `value` property\nexport type ReplaceOption = { action: 'replace'; value: RichTextValue };\n\nexport type OptionCompletion = React.ReactNode | InsertOption | ReplaceOption;\n\ntype OptionLabel = string | ReactElement | Array< string | ReactElement >;\nexport type KeyedOption = {\n\tkey: string;\n\tvalue: any;\n\tlabel: OptionLabel;\n\tkeywords: Array< string >;\n\tisDisabled: boolean;\n};\n\nexport type WPCompleter< TCompleterOption = any > = {\n\t/**\n\t * The name of the completer. Useful for identifying a specific completer to\n\t * be overridden via extensibility hooks.\n\t */\n\tname: string;\n\t/**\n\t * The string prefix that should trigger the completer. For example,\n\t * Gutenberg's block completer is triggered when the '/' character is\n\t * entered.\n\t */\n\ttriggerPrefix: string;\n\t/**\n\t * The raw options for completion. May be an array, a function that returns\n\t * an array, or a function that returns a promise for an array.\n\t * Options may be of any type or shape. The completer declares how those\n\t * options are rendered and what their completions should be when selected.\n\t */\n\toptions:\n\t\t| ( (\n\t\t\t\tquery: string\n\t\t ) =>\n\t\t\t\t| PromiseLike< readonly TCompleterOption[] >\n\t\t\t\t| readonly TCompleterOption[] )\n\t\t| readonly TCompleterOption[];\n\t/**\n\t * A function that returns the keywords for the specified option.\n\t */\n\tgetOptionKeywords?: ( option: TCompleterOption ) => Array< string >;\n\t/**\n\t * A function that returns whether or not the specified option is disabled.\n\t * Disabled options cannot be selected.\n\t */\n\tisOptionDisabled?: ( option: TCompleterOption ) => boolean;\n\t/**\n\t * A function that returns the label for a given option. A label may be a\n\t * string or a mixed array of strings, elements, and components.\n\t */\n\tgetOptionLabel: ( option: TCompleterOption ) => OptionLabel;\n\t/**\n\t * A function that takes a Range before and a Range after the autocomplete\n\t * trigger and query text and returns a boolean indicating whether the\n\t * completer should be considered for that context.\n\t */\n\tallowContext?: ( before: string, after: string ) => boolean;\n\t/**\n\t * A function that takes an option and returns how the option should\n\t * be completed. By default, the result is a value to be inserted in the\n\t * text.\n\t * However, a completer may explicitly declare how a completion should be\n\t * treated by returning an object with `action` and `value` properties. The\n\t * `action` declares what should be done with the `value`.\n\t */\n\tgetOptionCompletion?: (\n\t\toption: TCompleterOption,\n\t\tquery: string\n\t) => OptionCompletion;\n\t/**\n\t * A function that returns an array of items to be displayed in the\n\t * Autocomplete UI. These items have uniform shape and have been filtered by\n\t * `AutocompleterUIProps.filterValue`.\n\t */\n\tuseItems?: ( filterValue: string ) => readonly [ Array< KeyedOption > ];\n\t/**\n\t * Whether or not changes to the `filterValue` should be debounced.\n\t */\n\tisDebounced?: boolean;\n\t/**\n\t * A CSS class name to be applied to the completion menu.\n\t */\n\tclassName?: string;\n};\n\ntype ContentRef = React.RefObject< HTMLElement >;\n\nexport type AutocompleterUIProps = {\n\t/**\n\t * The value to filter the options by.\n\t */\n\tfilterValue: string;\n\t/**\n\t * An id unique to each instance of the component, used in the IDs of the\n\t * buttons generated for individual options.\n\t */\n\tinstanceId: number;\n\t/**\n\t * The id of to be applied to the listbox of options.\n\t */\n\tlistBoxId: string | undefined;\n\t/**\n\t * The class to apply to the wrapper element.\n\t */\n\tclassName?: string;\n\t/**\n\t * The index of the currently selected option.\n\t */\n\tselectedIndex: number;\n\t/**\n\t * A function to be called when the filterValue changes.\n\t */\n\tonChangeOptions: ( items: Array< KeyedOption > ) => void;\n\t/**\n\t * A function to be called when an option is selected.\n\t */\n\tonSelect: ( option: KeyedOption ) => void;\n\t/**\n\t * A function to be called when the completer is reset\n\t * (e.g. when the user hits the escape key).\n\t */\n\tonReset?: () => void;\n\t/**\n\t * A function that defines the behavior of the completer when it is reset\n\t */\n\treset: ( event: Event ) => void;\n\t// This is optional because it's still needed for mobile/native.\n\t/**\n\t * The rich text value object the autocompleter is being applied to.\n\t */\n\tvalue?: RichTextValue;\n\t/**\n\t * A ref containing the editable element that will serve as the anchor for\n\t * `Autocomplete`'s `Popover`.\n\t */\n\tcontentRef: ContentRef;\n};\n\nexport type CancelablePromise< T = void > = Promise< T > & {\n\tcanceled?: boolean;\n};\n\nexport type UseAutocompleteProps = {\n\t/**\n\t * The rich text value object the autocompleter is being applied to.\n\t */\n\trecord: RichTextValue & {\n\t\tstart: NonNullable< RichTextValue[ 'start' ] >;\n\t\tend: NonNullable< RichTextValue[ 'end' ] >;\n\t};\n\t/**\n\t * A function to be called when an option is selected to insert into the\n\t * existing text.\n\t */\n\tonChange: ( value: RichTextValue ) => void;\n\t/**\n\t * A function to be called when an option is selected to replace the\n\t * existing text.\n\t */\n\tonReplace: ( values: RichTextValue[] ) => void;\n\t/**\n\t * An array of all of the completers to apply to the current element.\n\t */\n\tcompleters: Array< WPCompleter >;\n\t/**\n\t * A ref containing the editable element that will serve as the anchor for\n\t * `Autocomplete`'s `Popover`.\n\t */\n\tcontentRef: ContentRef;\n};\n\nexport type AutocompleteProps = UseAutocompleteProps & {\n\t/**\n\t * A function that returns nodes to be rendered within the Autocomplete.\n\t */\n\tchildren: (\n\t\tprops: Omit< ReturnType< typeof useAutocomplete >, 'popover' >\n\t) => React.ReactNode;\n\t/**\n\t * Whether or not the Autocomplte componenet is selected, and if its\n\t * `Popover`\n\t * should be displayed.\n\t */\n\tisSelected: boolean;\n};\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["@wordpress/components/src/autocomplete/types.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { ReactElement } from 'react';\n\n/**\n * WordPress dependencies\n */\nimport type { RichTextValue } from '@wordpress/rich-text';\n\n/**\n * Internal dependencies\n */\nimport type { useAutocomplete } from '.';\n\n// Insert the `value` into the text.\nexport type InsertOption = {\n\taction: 'insert-at-caret';\n\tvalue: React.ReactNode;\n};\n\n// Replace the current block with the block specified in the `value` property\nexport type ReplaceOption = { action: 'replace'; value: RichTextValue };\n\nexport type OptionCompletion = React.ReactNode | InsertOption | ReplaceOption;\n\ntype OptionLabel = string | ReactElement | Array< string | ReactElement >;\nexport type KeyedOption = {\n\tkey: string;\n\tvalue: any;\n\tlabel: OptionLabel;\n\tkeywords: Array< string >;\n\tisDisabled: boolean;\n};\n\nexport type WPCompleter< TCompleterOption = any > = {\n\t/**\n\t * The name of the completer. Useful for identifying a specific completer to\n\t * be overridden via extensibility hooks.\n\t */\n\tname: string;\n\t/**\n\t * The string prefix that should trigger the completer. For example,\n\t * Gutenberg's block completer is triggered when the '/' character is\n\t * entered.\n\t */\n\ttriggerPrefix: string;\n\t/**\n\t * The raw options for completion. May be an array, a function that returns\n\t * an array, or a function that returns a promise for an array.\n\t * Options may be of any type or shape. The completer declares how those\n\t * options are rendered and what their completions should be when selected.\n\t */\n\toptions:\n\t\t| ( (\n\t\t\t\tquery: string\n\t\t ) =>\n\t\t\t\t| PromiseLike< readonly TCompleterOption[] >\n\t\t\t\t| readonly TCompleterOption[] )\n\t\t| readonly TCompleterOption[];\n\t/**\n\t * A function that returns the keywords for the specified option.\n\t */\n\tgetOptionKeywords?: ( option: TCompleterOption ) => Array< string >;\n\t/**\n\t * A function that returns whether or not the specified option is disabled.\n\t * Disabled options cannot be selected.\n\t */\n\tisOptionDisabled?: ( option: TCompleterOption ) => boolean;\n\t/**\n\t * A function that returns the label for a given option. A label may be a\n\t * string or a mixed array of strings, elements, and components.\n\t */\n\tgetOptionLabel: ( option: TCompleterOption ) => OptionLabel;\n\t/**\n\t * A function that takes a Range before and a Range after the autocomplete\n\t * trigger and query text and returns a boolean indicating whether the\n\t * completer should be considered for that context.\n\t */\n\tallowContext?: ( before: string, after: string ) => boolean;\n\t/**\n\t * A function that takes an option and returns how the option should\n\t * be completed. By default, the result is a value to be inserted in the\n\t * text.\n\t * However, a completer may explicitly declare how a completion should be\n\t * treated by returning an object with `action` and `value` properties. The\n\t * `action` declares what should be done with the `value`.\n\t */\n\tgetOptionCompletion?: (\n\t\toption: TCompleterOption,\n\t\tquery: string\n\t) => OptionCompletion;\n\t/**\n\t * A function that returns an array of items to be displayed in the\n\t * Autocomplete UI. These items have uniform shape and have been filtered by\n\t * `AutocompleterUIProps.filterValue`.\n\t */\n\tuseItems?: ( filterValue: string ) => readonly [ Array< KeyedOption > ];\n\t/**\n\t * Whether or not changes to the `filterValue` should be debounced.\n\t */\n\tisDebounced?: boolean;\n\t/**\n\t * A CSS class name to be applied to the completion menu.\n\t */\n\tclassName?: string;\n};\n\ntype ContentRef = React.RefObject< HTMLElement >;\n\nexport type AutocompleterUIProps = {\n\t/**\n\t * The value to filter the options by.\n\t */\n\tfilterValue: string;\n\t/**\n\t * An id unique to each instance of the component, used in the IDs of the\n\t * buttons generated for individual options.\n\t */\n\tinstanceId: number;\n\t/**\n\t * The id of to be applied to the listbox of options.\n\t */\n\tlistBoxId: string | undefined;\n\t/**\n\t * The class to apply to the wrapper element.\n\t */\n\tclassName?: string;\n\t/**\n\t * The index of the currently selected option.\n\t */\n\tselectedIndex: number;\n\t/**\n\t * A function to be called when the filterValue changes.\n\t */\n\tonChangeOptions: ( items: Array< KeyedOption > ) => void;\n\t/**\n\t * A function to be called when an option is selected.\n\t */\n\tonSelect: ( option: KeyedOption ) => void;\n\t/**\n\t * A function to be called when the completer is reset\n\t * (e.g. when the user hits the escape key).\n\t */\n\tonReset?: () => void;\n\t/**\n\t * A function that defines the behavior of the completer when it is reset\n\t */\n\treset: ( event: Event ) => void;\n\t// This is optional because it's still needed for mobile/native.\n\t/**\n\t * The rich text value object the autocompleter is being applied to.\n\t */\n\tvalue?: RichTextValue;\n\t/**\n\t * A ref containing the editable element that will serve as the anchor for\n\t * `Autocomplete`'s `Popover`.\n\t */\n\tcontentRef: ContentRef;\n};\n\nexport type CancelablePromise< T = void > = Promise< T > & {\n\tcanceled?: boolean;\n};\n\nexport type UseAutocompleteProps = {\n\t/**\n\t * The rich text value object the autocompleter is being applied to.\n\t */\n\trecord: RichTextValue & {\n\t\tstart: NonNullable< RichTextValue[ 'start' ] >;\n\t\tend: NonNullable< RichTextValue[ 'end' ] >;\n\t};\n\t/**\n\t * A function to be called when an option is selected to insert into the\n\t * existing text.\n\t */\n\tonChange: ( value: RichTextValue ) => void;\n\t/**\n\t * A function to be called when an option is selected to replace the\n\t * existing text.\n\t */\n\tonReplace: ( values: RichTextValue[] ) => void;\n\t/**\n\t * An array of all of the completers to apply to the current element.\n\t */\n\tcompleters: Array< WPCompleter >;\n\t/**\n\t * A ref containing the editable element that will serve as the anchor for\n\t * `Autocomplete`'s `Popover`.\n\t */\n\tcontentRef: ContentRef;\n};\n\nexport type AutocompleteProps = UseAutocompleteProps & {\n\t/**\n\t * A function that returns nodes to be rendered within the Autocomplete.\n\t */\n\tchildren: (\n\t\tprops: Omit< ReturnType< typeof useAutocomplete >, 'popover' >\n\t) => React.ReactNode;\n\t/**\n\t * Whether or not the Autocomplete component is selected, and if its\n\t * `Popover` should be displayed.\n\t */\n\tisSelected: boolean;\n};\n"],"mappings":"","ignoreList":[]}
@@ -16,32 +16,32 @@ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
16
16
  } : {
17
17
  target: "ej5x27r4",
18
18
  label: "Wrapper"
19
- })("font-family:", font('default.fontFamily'), ";font-size:", font('default.fontSize'), ";", boxSizingReset, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlpQyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5nUmVzZXQsIGZvbnQsIENPTE9SUyB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdXRpbHMvc3BhY2UnO1xuXG5leHB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FxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luSGVscCA9ICggeyBfX25leHRIYXNOb01hcmdpbkJvdHRvbSA9IGZhbHNlIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
19
+ })("font-family:", font('default.fontFamily'), ";font-size:", font('default.fontSize'), ";", boxSizingReset, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlpQyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIs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XG4iXX0= */"));
20
20
  const deprecatedMarginField = ({
21
21
  __nextHasNoMarginBottom = false
22
22
  }) => {
23
- return !__nextHasNoMarginBottom && /*#__PURE__*/css("margin-bottom:", space(2), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:deprecatedMarginField;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCSyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5nUmVzZXQsIGZvbnQsIENPTE9SUyB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdXRpbHMvc3BhY2UnO1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGZvbnQtZmFtaWx5OiAkeyBmb250KCAnZGVmYXVsdC5mb250RmFtaWx5JyApIH07XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2RlZmF1bHQuZm9udFNpemUnICkgfTtcblxuXHQkeyBib3hTaXppbmd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AmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */");
23
+ return !__nextHasNoMarginBottom && /*#__PURE__*/css("margin-bottom:", space(2), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:deprecatedMarginField;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCSyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90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Q2hyb21lL1NhZmFyaS9GaXJlZm94IHVzZXIgYWdlbnQgc3R5bGVzaGVldCBwYWRkaW5nIGZyb21cblx0ICogU3R5bGVkTGFiZWwgd2hlbiBpdCBpcyByZW5kZXJlZCBhcyBhIGxlZ2VuZC5cblx0ICovXG5cdHBhZGRpbmc6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkTGFiZWwgPSBzdHlsZWQubGFiZWxgXG5cdCR7IGxhYmVsU3R5bGVzIH1cbmA7XG5cbmNvbnN0IGRlcHJlY2F0ZWRNYXJnaW5IZWxwID0gKCB7IF9fbmV4dEhhc05vTWFyZ2luQm90dG9tID0gZmFsc2UgfSApID0+IHtcblx0cmV0dXJuIChcblx0XHQhIF9fbmV4dEhhc05vTWFyZ2luQm90dG9tICYmXG5cdFx0Y3NzYFxuXHRcdFx0bWFyZ2luLWJvdHRvbTogcmV2ZXJ0O1xuXHRcdGBcblx0KTtcbn07XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRIZWxwID0gc3R5bGVkLnBgXG5cdG1hcmdpbi10b3A6ICR7IHNwYWNlKCAyICkgfTtcblx0bWFyZ2luLWJvdHRvbTogMDtcblx0Zm9udC1zaXplOiAkeyBmb250KCAnaGVscFRleHQuZm9udFNpemUnICkgfTtcblx0Zm9udC1zdHlsZTogbm9ybWFsO1xuXHRjb2xvcjogJHsgQ09MT1JTLmdyYXlbIDcwMCBdIH07XG5cblx0JHsgZGVwcmVjYXRlZE1hcmdpbkhlbHAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFZpc3VhbExhYmVsID0gc3R5bGVkLnNwYW5gXG5cdCR7IGxhYmVsU3R5bGVzIH1cbmA7XG4iXX0= */");
24
24
  };
25
25
  export const StyledField = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
26
26
  target: "ej5x27r3"
27
27
  } : {
28
28
  target: "ej5x27r3",
29
29
  label: "StyledField"
30
- })(deprecatedMarginField, " .components-panel__row &{margin-bottom:inherit;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRCcUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRmb250LWZhbWlseTogJHsgZm9udCggJ2RlZmF1bHQuZm9udEZhbWlseScgKSB9O1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRTaXplJyApIH07XG5cblx0JHsgYm94U2l6aW5nUmVzZXQgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkZpZWxkID0gKCB7IF9fbmV4dEhhc05vTWFyZ2luQm90dG9tID0gZmFsc2UgfSApID0+IHtcblx0cmV0dXJuIChcblx0XHQhIF9fbm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Bcblx0bWFyZ2luLXRvcDogJHsgc3BhY2UoIDIgKSB9O1xuXHRtYXJnaW4tYm90dG9tOiAwO1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdoZWxwVGV4dC5mb250U2l6ZScgKSB9O1xuXHRmb250LXN0eWxlOiBub3JtYWw7XG5cdGNvbG9yOiAkeyBDT0xPUlMuZ3JheVsgNzAwIF0gfTtcblxuXHQkeyBkZXByZWNhdGVkTWFyZ2luSGVscCB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVmlzdWFsTGFiZWwgPSBzdHlsZWQuc3BhbmBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcbiJdfQ== */"));
31
- const labelStyles = /*#__PURE__*/css(baseLabelTypography, ";display:inline-block;margin-bottom:", space(2), ";padding:0;" + (process.env.NODE_ENV === "production" ? "" : ";label:labelStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DdUIiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemlu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IGlzIHJlbmRlcmVkIGFzIGEgbGVnZW5kLlxuXHQgKi9cblx0cGFkZGluZzogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRMYWJlbCA9IHN0eWxlZC5sYWJlbGBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkhlbHAgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiByZXZlcnQ7XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHAgPSBzdHlsZWQucGBcblx0bWFyZ2luLXRvcDogJHsgc3BhY2UoIDIgKSB9O1xuXHRtYXJnaW4tYm90dG9tOiAwO1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdoZWxwVGV4dC5mb250U2l6ZScgKSB9O1xuXHRmb250LXN0eWxlOiBub3JtYWw7XG5cdGNvbG9yOiAkeyBDT0xPUlMuZ3JheVsgNzAwIF0gfTtcblxuXHQkeyBkZXByZWNhdGVkTWFyZ2luSGVscCB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVmlzdWFsTGFiZWwgPSBzdHlsZWQuc3BhbmBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcbiJdfQ== */");
30
+ })(deprecatedMarginField, " .components-panel__row &{margin-bottom:inherit;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcG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NYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
31
+ const labelStyles = /*#__PURE__*/css(baseLabelTypography, ";display:block;margin-bottom:", space(2), ";padding:0;" + (process.env.NODE_ENV === "production" ? "" : ";label:labelStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DdUIiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRmb250LWZhbWlseTogJHsgZm9udCggJ2RlZmF1bHQuZm9udEZhbWlseScgKSB9O1xuXHRm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lIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */");
32
32
  export const StyledLabel = /*#__PURE__*/_styled("label", process.env.NODE_ENV === "production" ? {
33
33
  target: "ej5x27r2"
34
34
  } : {
35
35
  target: "ej5x27r2",
36
36
  label: "StyledLabel"
37
- })(labelStyles, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdEdUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmF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+ (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdEdUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRmb250LWZhbWlseTogJHsgZm9udCggJ2RlZmF1bHQuZm9udEZhbWlseScgKSB9O1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRTaXplJyApIH07XG5cblx0JHsgYm94U2l6aW5nUmVzZXQgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkZpZWxkID0gKCB7IF9fbmV4dEhhc05vTWFyZ2luQm90dG9tID0gZmFsc2UgfSApID0+IHtcblx0cmV0dXJuIChcblx0XHQhIF9fbmV4dEhhc05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jZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
38
38
  var _ref = process.env.NODE_ENV === "production" ? {
39
39
  name: "11yad0w",
40
40
  styles: "margin-bottom:revert"
41
41
  } : {
42
42
  name: "1xen9ob-deprecatedMarginHelp",
43
43
  styles: "margin-bottom:revert;label:deprecatedMarginHelp;",
44
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVESyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5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c3R5bGVkLnNwYW5gXG5cdCR7IGxhYmVsU3R5bGVzIH1cbmA7XG4iXX0= */",
45
45
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
46
46
  };
47
47
  const deprecatedMarginHelp = ({
@@ -54,11 +54,11 @@ export const StyledHelp = /*#__PURE__*/_styled("p", process.env.NODE_ENV === "pr
54
54
  } : {
55
55
  target: "ej5x27r1",
56
56
  label: "StyledHelp"
57
- })("margin-top:", space(2), ";margin-bottom:0;font-size:", font('helpText.fontSize'), ";font-style:normal;color:", COLORS.gray[700], ";", deprecatedMarginHelp, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEa0MiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXI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lsZXMgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkhlbHAgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiByZXZlcnQ7XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHAgPSBzdHlsZWQucGBcblx0bWFyZ2luLXRvcDogJHsgc3BhY2UoIDIgKSB9O1xuXHRtYXJnaW4tYm90dG9tOiAwO1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdoZWxwVGV4dC5mb250U2l6ZScgKSB9O1xuXHRmb250LXN0eWxlOiBub3JtYWw7XG5cdGNvbG9yOiAkeyBDT0xPUlMuZ3JheVsgNzAwIF0gfTtcblxuXHQkeyBkZXByZWNhdGVkTWFyZ2luSGVscCB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVmlzdWFsTGFiZWwgPSBzdHlsZWQuc3BhbmBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcbiJdfQ== */"));
57
+ })("margin-top:", space(2), ";margin-bottom:0;font-size:", font('helpText.fontSize'), ";font-style:normal;color:", COLORS.gray[700], ";", deprecatedMarginHelp, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEa0MiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2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sYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
58
58
  export const StyledVisualLabel = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
59
59
  target: "ej5x27r0"
60
60
  } : {
61
61
  target: "ej5x27r0",
62
62
  label: "StyledVisualLabel"
63
- })(labelStyles, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVFNEMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRmb250LWZhbWlseTogJHsgZm9udCggJ2RlZmF1bHQuZm9udEZhbWlseScgKSB9O1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRTaXplJyApIH07XG5cblx0J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ZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiByZXZlcnQ7XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHAgPSBzdHlsZWQucGBcblx0bWFyZ2luLXRvcDogJHsgc3BhY2UoIDIgKSB9O1xuXHRtYXJnaW4tYm90dG9tOiAwO1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdoZWxwVGV4dC5mb250U2l6ZScgKSB9O1xuXHRmb250LXN0eWxlOiBub3JtYWw7XG5cdGNvbG9yOiAkeyBDT0xPUlMuZ3JheVsgNzAwIF0gfTtcblxuXHQkeyBkZXByZWNhdGVkTWFyZ2luSGVscCB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVmlzdWFsTGFiZWwgPSBzdHlsZWQuc3BhbmBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcbiJdfQ== */"));
63
+ })(labelStyles, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVFNEMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJ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HN0eWxlc2hlZXQgcGFkZGluZyBmcm9tXG5cdCAqIFN0eWxlZExhYmVsIHdoZW4gaXQgaXMgcmVuZGVyZWQgYXMgYSBsZWdlbmQuXG5cdCAqL1xuXHRwYWRkaW5nOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZExhYmVsID0gc3R5bGVkLmxhYmVsYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luSGVscCA9ICggeyBfX25leHRIYXNOb01hcmdpbkJvdHRvbSA9IGZhbHNlIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
64
64
  //# sourceMappingURL=base-control-styles.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["css","baseLabelTypography","boxSizingReset","font","COLORS","space","Wrapper","_styled","process","env","NODE_ENV","target","label","deprecatedMarginField","__nextHasNoMarginBottom","StyledField","labelStyles","StyledLabel","_ref","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","deprecatedMarginHelp","StyledHelp","gray","StyledVisualLabel"],"sources":["@wordpress/components/src/base-control/styles/base-control-styles.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport styled from '@emotion/styled';\nimport { css } from '@emotion/react';\n\n/**\n * Internal dependencies\n */\nimport { baseLabelTypography, boxSizingReset, font, COLORS } from '../../utils';\nimport { space } from '../../utils/space';\n\nexport const Wrapper = styled.div`\n\tfont-family: ${ font( 'default.fontFamily' ) };\n\tfont-size: ${ font( 'default.fontSize' ) };\n\n\t${ boxSizingReset }\n`;\n\nconst deprecatedMarginField = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: ${ space( 2 ) };\n\t\t`\n\t);\n};\n\nexport const StyledField = styled.div`\n\t${ deprecatedMarginField }\n\n\t.components-panel__row & {\n\t\tmargin-bottom: inherit;\n\t}\n`;\n\nconst labelStyles = css`\n\t${ baseLabelTypography };\n\n\tdisplay: inline-block;\n\tmargin-bottom: ${ space( 2 ) };\n\t/**\n\t * Removes Chrome/Safari/Firefox user agent stylesheet padding from\n\t * StyledLabel when it is rendered as a legend.\n\t */\n\tpadding: 0;\n`;\n\nexport const StyledLabel = styled.label`\n\t${ labelStyles }\n`;\n\nconst deprecatedMarginHelp = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: revert;\n\t\t`\n\t);\n};\n\nexport const StyledHelp = styled.p`\n\tmargin-top: ${ space( 2 ) };\n\tmargin-bottom: 0;\n\tfont-size: ${ font( 'helpText.fontSize' ) };\n\tfont-style: normal;\n\tcolor: ${ COLORS.gray[ 700 ] };\n\n\t${ deprecatedMarginHelp }\n`;\n\nexport const StyledVisualLabel = styled.span`\n\t${ labelStyles }\n`;\n"],"mappings":";;AAAA;AACA;AACA;;AAEA,SAASA,GAAG,QAAQ,gBAAgB;;AAEpC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AAA,CAAAC,QAAA;EAAAS,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA;AAEF,MAAMC,oBAAoB,GAAGA,CAAE;EAAEV,uBAAuB,GAAG;AAAM,CAAC,KAAM;EACvE,OACC,CAAEA,uBAAuB,IAAAI,IAGxB;AAEH,CAAC;AAED,OAAO,MAAMO,UAAU,gBAAAlB,OAAA,MAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,kBACPP,KAAK,CAAE,CAAE,CAAC,iCAEXF,IAAI,CAAE,mBAAoB,CAAC,+BAE/BC,MAAM,CAACsB,IAAI,CAAE,GAAG,CAAE,OAEzBF,oBAAoB,SAAAhB,OAAA,CAAAC,GAAA,CAAAC,QAAA,4+EACvB;AAED,OAAO,MAAMiB,iBAAiB,gBAAApB,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAC1BI,WAAW,SAAAR,OAAA,CAAAC,GAAA,CAAAC,QAAA,4+EACd","ignoreList":[]}
1
+ {"version":3,"names":["css","baseLabelTypography","boxSizingReset","font","COLORS","space","Wrapper","_styled","process","env","NODE_ENV","target","label","deprecatedMarginField","__nextHasNoMarginBottom","StyledField","labelStyles","StyledLabel","_ref","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","deprecatedMarginHelp","StyledHelp","gray","StyledVisualLabel"],"sources":["@wordpress/components/src/base-control/styles/base-control-styles.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport styled from '@emotion/styled';\nimport { css } from '@emotion/react';\n\n/**\n * Internal dependencies\n */\nimport { baseLabelTypography, boxSizingReset, font, COLORS } from '../../utils';\nimport { space } from '../../utils/space';\n\nexport const Wrapper = styled.div`\n\tfont-family: ${ font( 'default.fontFamily' ) };\n\tfont-size: ${ font( 'default.fontSize' ) };\n\n\t${ boxSizingReset }\n`;\n\nconst deprecatedMarginField = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: ${ space( 2 ) };\n\t\t`\n\t);\n};\n\nexport const StyledField = styled.div`\n\t${ deprecatedMarginField }\n\n\t.components-panel__row & {\n\t\tmargin-bottom: inherit;\n\t}\n`;\n\nconst labelStyles = css`\n\t${ baseLabelTypography };\n\n\tdisplay: block;\n\tmargin-bottom: ${ space( 2 ) };\n\t/**\n\t * Removes Chrome/Safari/Firefox user agent stylesheet padding from\n\t * StyledLabel when it is rendered as a legend.\n\t */\n\tpadding: 0;\n`;\n\nexport const StyledLabel = styled.label`\n\t${ labelStyles }\n`;\n\nconst deprecatedMarginHelp = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: revert;\n\t\t`\n\t);\n};\n\nexport const StyledHelp = styled.p`\n\tmargin-top: ${ space( 2 ) };\n\tmargin-bottom: 0;\n\tfont-size: ${ font( 'helpText.fontSize' ) };\n\tfont-style: normal;\n\tcolor: ${ COLORS.gray[ 700 ] };\n\n\t${ deprecatedMarginHelp }\n`;\n\nexport const StyledVisualLabel = styled.span`\n\t${ labelStyles }\n`;\n"],"mappings":";;AAAA;AACA;AACA;;AAEA,SAASA,GAAG,QAAQ,gBAAgB;;AAEpC;AACA;AACA;AACA,SAASC,mBAAmB,EAAEC,cAAc,EAAEC,IAAI,EAAEC,MAAM,QAAQ,aAAa;AAC/E,SAASC,KAAK,QAAQ,mBAAmB;AAEzC,OAAO,MAAMC,OAAO,gBAAAC,OAAA,QAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,mBACHT,IAAI,CAAE,oBAAqB,CAAC,iBAC9BA,IAAI,CAAE,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