@wordpress/components 25.16.0 → 26.0.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 (1208) hide show
  1. package/.stylelintrc.js +23 -0
  2. package/CHANGELOG.md +47 -0
  3. package/build/alignment-matrix-control/icon.js +1 -2
  4. package/build/alignment-matrix-control/icon.js.map +1 -1
  5. package/build/alignment-matrix-control/index.js +1 -2
  6. package/build/alignment-matrix-control/index.js.map +1 -1
  7. package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js +4 -8
  8. package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js.map +1 -1
  9. package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js +4 -8
  10. package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js.map +1 -1
  11. package/build/alignment-matrix-control/utils.js +3 -6
  12. package/build/alignment-matrix-control/utils.js.map +1 -1
  13. package/build/angle-picker-control/angle-circle.js +1 -2
  14. package/build/angle-picker-control/angle-circle.js.map +1 -1
  15. package/build/angle-picker-control/index.js +3 -15
  16. package/build/angle-picker-control/index.js.map +1 -1
  17. package/build/angle-picker-control/styles/angle-picker-control-styles.js +9 -27
  18. package/build/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  19. package/build/angle-picker-control/types.js.map +1 -1
  20. package/build/animate/index.js +1 -2
  21. package/build/animate/index.js.map +1 -1
  22. package/build/autocomplete/autocompleter-ui.native.js +1 -2
  23. package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
  24. package/build/autocomplete/background-view.android.js +1 -2
  25. package/build/autocomplete/background-view.android.js.map +1 -1
  26. package/build/autocomplete/background-view.ios.js +1 -2
  27. package/build/autocomplete/background-view.ios.js.map +1 -1
  28. package/build/base-control/index.js +2 -4
  29. package/build/base-control/index.js.map +1 -1
  30. package/build/base-control/styles/base-control-styles.js +5 -10
  31. package/build/base-control/styles/base-control-styles.js.map +1 -1
  32. package/build/border-box-control/border-box-control/component.js +2 -4
  33. package/build/border-box-control/border-box-control/component.js.map +1 -1
  34. package/build/border-box-control/border-box-control/hook.js +2 -2
  35. package/build/border-box-control/border-box-control/hook.js.map +1 -1
  36. package/build/border-box-control/border-box-control-linked-button/component.js +1 -2
  37. package/build/border-box-control/border-box-control-linked-button/component.js.map +1 -1
  38. package/build/border-box-control/border-box-control-linked-button/hook.js +2 -2
  39. package/build/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
  40. package/build/border-box-control/border-box-control-split-controls/component.js +1 -2
  41. package/build/border-box-control/border-box-control-split-controls/component.js.map +1 -1
  42. package/build/border-box-control/border-box-control-split-controls/hook.js +2 -2
  43. package/build/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
  44. package/build/border-box-control/border-box-control-visualizer/component.js +1 -2
  45. package/build/border-box-control/border-box-control-visualizer/component.js.map +1 -1
  46. package/build/border-box-control/border-box-control-visualizer/hook.js +2 -2
  47. package/build/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
  48. package/build/border-box-control/styles.js +3 -6
  49. package/build/border-box-control/styles.js.map +1 -1
  50. package/build/border-control/border-control/component.js +2 -4
  51. package/build/border-control/border-control/component.js.map +1 -1
  52. package/build/border-control/border-control/hook.js +2 -2
  53. package/build/border-control/border-control/hook.js.map +1 -1
  54. package/build/border-control/border-control-dropdown/component.js +1 -2
  55. package/build/border-control/border-control-dropdown/component.js.map +1 -1
  56. package/build/border-control/border-control-dropdown/hook.js +2 -2
  57. package/build/border-control/border-control-dropdown/hook.js.map +1 -1
  58. package/build/border-control/border-control-style-picker/component.js +1 -2
  59. package/build/border-control/border-control-style-picker/component.js.map +1 -1
  60. package/build/border-control/styles.js +7 -14
  61. package/build/border-control/styles.js.map +1 -1
  62. package/build/box-control/index.js +1 -2
  63. package/build/box-control/index.js.map +1 -1
  64. package/build/box-control/styles/box-control-icon-styles.js +6 -12
  65. package/build/box-control/styles/box-control-icon-styles.js.map +1 -1
  66. package/build/box-control/styles/box-control-styles.js +6 -12
  67. package/build/box-control/styles/box-control-styles.js.map +1 -1
  68. package/build/box-control/utils.js +4 -8
  69. package/build/box-control/utils.js.map +1 -1
  70. package/build/button/deprecated.js +1 -2
  71. package/build/button/deprecated.js.map +1 -1
  72. package/build/button/index.js +2 -4
  73. package/build/button/index.js.map +1 -1
  74. package/build/button/index.native.js +1 -3
  75. package/build/button/index.native.js.map +1 -1
  76. package/build/button-group/index.js +2 -4
  77. package/build/button-group/index.js.map +1 -1
  78. package/build/card/card/component.js +4 -6
  79. package/build/card/card/component.js.map +1 -1
  80. package/build/card/card/hook.js +2 -2
  81. package/build/card/card/hook.js.map +1 -1
  82. package/build/card/card-body/component.js +2 -4
  83. package/build/card/card-body/component.js.map +1 -1
  84. package/build/card/card-body/hook.js +2 -2
  85. package/build/card/card-body/hook.js.map +1 -1
  86. package/build/card/card-divider/component.js +2 -4
  87. package/build/card/card-divider/component.js.map +1 -1
  88. package/build/card/card-divider/hook.js +2 -2
  89. package/build/card/card-divider/hook.js.map +1 -1
  90. package/build/card/card-footer/component.js +2 -4
  91. package/build/card/card-footer/component.js.map +1 -1
  92. package/build/card/card-footer/hook.js +2 -2
  93. package/build/card/card-footer/hook.js.map +1 -1
  94. package/build/card/card-header/component.js +2 -4
  95. package/build/card/card-header/component.js.map +1 -1
  96. package/build/card/card-header/hook.js +2 -2
  97. package/build/card/card-header/hook.js.map +1 -1
  98. package/build/card/card-media/component.js +2 -4
  99. package/build/card/card-media/component.js.map +1 -1
  100. package/build/card/card-media/hook.js +2 -2
  101. package/build/card/card-media/hook.js.map +1 -1
  102. package/build/card/context.js +1 -2
  103. package/build/card/context.js.map +1 -1
  104. package/build/card/index.js +2 -2
  105. package/build/card/index.js.map +1 -1
  106. package/build/card/styles.js +14 -28
  107. package/build/card/styles.js.map +1 -1
  108. package/build/checkbox-control/index.js +1 -2
  109. package/build/checkbox-control/index.js.map +1 -1
  110. package/build/checkbox-control/types.js.map +1 -1
  111. package/build/circular-option-picker/circular-option-picker-context.js +1 -2
  112. package/build/circular-option-picker/circular-option-picker-context.js.map +1 -1
  113. package/build/circular-option-picker/circular-option-picker.js +1 -2
  114. package/build/circular-option-picker/circular-option-picker.js.map +1 -1
  115. package/build/circular-option-picker/index.js +1 -2
  116. package/build/circular-option-picker/index.js.map +1 -1
  117. package/build/color-control/index.native.js +1 -2
  118. package/build/color-control/index.native.js.map +1 -1
  119. package/build/color-indicator/index.js +2 -4
  120. package/build/color-indicator/index.js.map +1 -1
  121. package/build/color-indicator/index.native.js +1 -2
  122. package/build/color-indicator/index.native.js.map +1 -1
  123. package/build/color-palette/index.js +2 -4
  124. package/build/color-palette/index.js.map +1 -1
  125. package/build/color-palette/index.native.js +1 -2
  126. package/build/color-palette/index.native.js.map +1 -1
  127. package/build/color-palette/styles.js +1 -2
  128. package/build/color-palette/styles.js.map +1 -1
  129. package/build/color-picker/component.js +2 -4
  130. package/build/color-picker/component.js.map +1 -1
  131. package/build/color-picker/hsv-color-picker.native.js +1 -2
  132. package/build/color-picker/hsv-color-picker.native.js.map +1 -1
  133. package/build/color-picker/hue-picker.native.js +2 -2
  134. package/build/color-picker/hue-picker.native.js.map +1 -1
  135. package/build/color-picker/saturation-picker.native.js +2 -2
  136. package/build/color-picker/saturation-picker.native.js.map +1 -1
  137. package/build/color-picker/styles.js +8 -16
  138. package/build/color-picker/styles.js.map +1 -1
  139. package/build/combobox-control/index.js +2 -3
  140. package/build/combobox-control/index.js.map +1 -1
  141. package/build/combobox-control/styles.js +1 -2
  142. package/build/combobox-control/styles.js.map +1 -1
  143. package/build/composite/current/index.js +43 -0
  144. package/build/composite/current/index.js.map +1 -0
  145. package/build/composite/index.js +10 -24
  146. package/build/composite/index.js.map +1 -1
  147. package/build/composite/legacy/index.js +127 -0
  148. package/build/composite/legacy/index.js.map +1 -0
  149. package/build/composite/v2.js +10 -36
  150. package/build/composite/v2.js.map +1 -1
  151. package/build/confirm-dialog/component.js +6 -6
  152. package/build/confirm-dialog/component.js.map +1 -1
  153. package/build/confirm-dialog/styles.js +1 -2
  154. package/build/confirm-dialog/styles.js.map +1 -1
  155. package/build/context/constants.js +3 -6
  156. package/build/context/constants.js.map +1 -1
  157. package/build/context/context-system-provider.js +2 -4
  158. package/build/context/context-system-provider.js.map +1 -1
  159. package/build/context/get-styled-class-name-from-key.js +1 -2
  160. package/build/context/get-styled-class-name-from-key.js.map +1 -1
  161. package/build/context/wordpress-component.js.map +1 -1
  162. package/build/custom-gradient-picker/constants.js +5 -10
  163. package/build/custom-gradient-picker/constants.js.map +1 -1
  164. package/build/custom-gradient-picker/gradient-bar/constants.js +7 -14
  165. package/build/custom-gradient-picker/gradient-bar/constants.js.map +1 -1
  166. package/build/custom-gradient-picker/gradient-bar/control-points.js +1 -2
  167. package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  168. package/build/custom-gradient-picker/index.js +2 -17
  169. package/build/custom-gradient-picker/index.js.map +1 -1
  170. package/build/custom-gradient-picker/index.native.js +1 -2
  171. package/build/custom-gradient-picker/index.native.js.map +1 -1
  172. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js +2 -4
  173. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js.map +1 -1
  174. package/build/custom-gradient-picker/types.js.map +1 -1
  175. package/build/custom-select-control/index.js +1 -1
  176. package/build/custom-select-control/index.js.map +1 -1
  177. package/build/custom-select-control/styles.js +1 -2
  178. package/build/custom-select-control/styles.js.map +1 -1
  179. package/build/custom-select-control-v2/index.js +6 -5
  180. package/build/custom-select-control-v2/index.js.map +1 -1
  181. package/build/custom-select-control-v2/styles.js +6 -10
  182. package/build/custom-select-control-v2/styles.js.map +1 -1
  183. package/build/dashicon/index.js +1 -2
  184. package/build/dashicon/index.js.map +1 -1
  185. package/build/dashicon/index.native.js +3 -4
  186. package/build/dashicon/index.native.js.map +1 -1
  187. package/build/date-time/constants.js +1 -2
  188. package/build/date-time/constants.js.map +1 -1
  189. package/build/date-time/date/index.js +1 -2
  190. package/build/date-time/date/index.js.map +1 -1
  191. package/build/date-time/date/styles.js +6 -12
  192. package/build/date-time/date/styles.js.map +1 -1
  193. package/build/date-time/date-time/index.js +2 -4
  194. package/build/date-time/date-time/index.js.map +1 -1
  195. package/build/date-time/date-time/styles.js +1 -2
  196. package/build/date-time/date-time/styles.js.map +1 -1
  197. package/build/date-time/index.js +1 -2
  198. package/build/date-time/index.js.map +1 -1
  199. package/build/date-time/time/index.js +1 -2
  200. package/build/date-time/time/index.js.map +1 -1
  201. package/build/date-time/time/styles.js +10 -20
  202. package/build/date-time/time/styles.js.map +1 -1
  203. package/build/date-time/time/timezone.js +2 -3
  204. package/build/date-time/time/timezone.js.map +1 -1
  205. package/build/dimension-control/index.js +3 -4
  206. package/build/dimension-control/index.js.map +1 -1
  207. package/build/dimension-control/sizes.js +1 -2
  208. package/build/dimension-control/sizes.js.map +1 -1
  209. package/build/disabled/index.js +1 -2
  210. package/build/disabled/index.js.map +1 -1
  211. package/build/disabled/index.native.js +1 -2
  212. package/build/disabled/index.native.js.map +1 -1
  213. package/build/disabled/styles/disabled-styles.js +1 -2
  214. package/build/disabled/styles/disabled-styles.js.map +1 -1
  215. package/build/disclosure/index.js +4 -6
  216. package/build/disclosure/index.js.map +1 -1
  217. package/build/divider/component.js +4 -6
  218. package/build/divider/component.js.map +1 -1
  219. package/build/divider/styles.js +1 -2
  220. package/build/divider/styles.js.map +1 -1
  221. package/build/draggable/index.js +1 -2
  222. package/build/draggable/index.js.map +1 -1
  223. package/build/draggable/index.native.js +3 -4
  224. package/build/draggable/index.native.js.map +1 -1
  225. package/build/drop-zone/index.js +1 -2
  226. package/build/drop-zone/index.js.map +1 -1
  227. package/build/dropdown/dropdown-content-wrapper.js +2 -4
  228. package/build/dropdown/dropdown-content-wrapper.js.map +1 -1
  229. package/build/dropdown/index.js +2 -4
  230. package/build/dropdown/index.js.map +1 -1
  231. package/build/dropdown/index.native.js +1 -2
  232. package/build/dropdown/index.native.js.map +1 -1
  233. package/build/dropdown/styles.js +1 -2
  234. package/build/dropdown/styles.js.map +1 -1
  235. package/build/dropdown-menu/index.js +2 -4
  236. package/build/dropdown-menu/index.js.map +1 -1
  237. package/build/dropdown-menu/index.native.js +1 -2
  238. package/build/dropdown-menu/index.native.js.map +1 -1
  239. package/build/dropdown-menu-v2/index.js +11 -20
  240. package/build/dropdown-menu-v2/index.js.map +1 -1
  241. package/build/dropdown-menu-v2/styles.js +29 -42
  242. package/build/dropdown-menu-v2/styles.js.map +1 -1
  243. package/build/duotone-picker/color-list-picker/index.js +1 -2
  244. package/build/duotone-picker/color-list-picker/index.js.map +1 -1
  245. package/build/duotone-picker/duotone-picker.js +1 -2
  246. package/build/duotone-picker/duotone-picker.js.map +1 -1
  247. package/build/duotone-picker/duotone-swatch.js +1 -2
  248. package/build/duotone-picker/duotone-swatch.js.map +1 -1
  249. package/build/elevation/component.js +2 -4
  250. package/build/elevation/component.js.map +1 -1
  251. package/build/elevation/hook.js +2 -2
  252. package/build/elevation/hook.js.map +1 -1
  253. package/build/elevation/styles.js +1 -2
  254. package/build/elevation/styles.js.map +1 -1
  255. package/build/external-link/index.js +3 -5
  256. package/build/external-link/index.js.map +1 -1
  257. package/build/external-link/index.native.js +1 -2
  258. package/build/external-link/index.native.js.map +1 -1
  259. package/build/external-link/styles/external-link-styles.js +1 -2
  260. package/build/external-link/styles/external-link-styles.js.map +1 -1
  261. package/build/flex/context.js +1 -2
  262. package/build/flex/context.js.map +1 -1
  263. package/build/flex/flex/component.js +2 -4
  264. package/build/flex/flex/component.js.map +1 -1
  265. package/build/flex/flex/hook.js +2 -2
  266. package/build/flex/flex/hook.js.map +1 -1
  267. package/build/flex/flex-block/component.js +2 -4
  268. package/build/flex/flex-block/component.js.map +1 -1
  269. package/build/flex/flex-item/component.js +2 -4
  270. package/build/flex/flex-item/component.js.map +1 -1
  271. package/build/flex/flex-item/hook.js +2 -2
  272. package/build/flex/flex-item/hook.js.map +1 -1
  273. package/build/flex/index.js +2 -2
  274. package/build/flex/index.js.map +1 -1
  275. package/build/flex/styles.js +5 -10
  276. package/build/flex/styles.js.map +1 -1
  277. package/build/focal-point-picker/index.js +3 -4
  278. package/build/focal-point-picker/index.js.map +1 -1
  279. package/build/focal-point-picker/index.native.js +1 -3
  280. package/build/focal-point-picker/index.native.js.map +1 -1
  281. package/build/focal-point-picker/styles/focal-point-picker-style.js +37 -54
  282. package/build/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
  283. package/build/focal-point-picker/styles/focal-point-style.js +12 -4
  284. package/build/focal-point-picker/styles/focal-point-style.js.map +1 -1
  285. package/build/focal-point-picker/tooltip/index.native.js +1 -2
  286. package/build/focal-point-picker/tooltip/index.native.js.map +1 -1
  287. package/build/focal-point-picker/utils.js +1 -2
  288. package/build/focal-point-picker/utils.js.map +1 -1
  289. package/build/font-size-picker/constants.js +2 -4
  290. package/build/font-size-picker/constants.js.map +1 -1
  291. package/build/font-size-picker/font-size-picker-select.js +1 -2
  292. package/build/font-size-picker/font-size-picker-select.js.map +1 -1
  293. package/build/font-size-picker/font-size-picker-toggle-group.js +2 -4
  294. package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  295. package/build/font-size-picker/index.js +6 -22
  296. package/build/font-size-picker/index.js.map +1 -1
  297. package/build/font-size-picker/index.native.js +3 -4
  298. package/build/font-size-picker/index.native.js.map +1 -1
  299. package/build/font-size-picker/styles.js +17 -29
  300. package/build/font-size-picker/styles.js.map +1 -1
  301. package/build/font-size-picker/types.js.map +1 -1
  302. package/build/footer-message-control/index.native.js +1 -2
  303. package/build/footer-message-control/index.native.js.map +1 -1
  304. package/build/form-file-upload/index.js +1 -2
  305. package/build/form-file-upload/index.js.map +1 -1
  306. package/build/form-toggle/index.js +1 -2
  307. package/build/form-toggle/index.js.map +1 -1
  308. package/build/form-token-field/index.js +2 -7
  309. package/build/form-token-field/index.js.map +1 -1
  310. package/build/form-token-field/styles.js +1 -2
  311. package/build/form-token-field/styles.js.map +1 -1
  312. package/build/form-token-field/suggestions-list.js +1 -2
  313. package/build/form-token-field/suggestions-list.js.map +1 -1
  314. package/build/form-token-field/token-input.js +2 -4
  315. package/build/form-token-field/token-input.js.map +1 -1
  316. package/build/gradient-picker/index.js +19 -43
  317. package/build/gradient-picker/index.js.map +1 -1
  318. package/build/gradient-picker/types.js.map +1 -1
  319. package/build/grid/component.js +2 -4
  320. package/build/grid/component.js.map +1 -1
  321. package/build/guide/index.js +1 -2
  322. package/build/guide/index.js.map +1 -1
  323. package/build/h-stack/component.js +2 -4
  324. package/build/h-stack/component.js.map +1 -1
  325. package/build/heading/component.js +2 -4
  326. package/build/heading/component.js.map +1 -1
  327. package/build/higher-order/navigate-regions/index.js +1 -2
  328. package/build/higher-order/navigate-regions/index.js.map +1 -1
  329. package/build/higher-order/with-constrained-tabbing/index.js +1 -2
  330. package/build/higher-order/with-constrained-tabbing/index.js.map +1 -1
  331. package/build/higher-order/with-focus-outside/index.js +1 -2
  332. package/build/higher-order/with-focus-outside/index.js.map +1 -1
  333. package/build/higher-order/with-focus-outside/index.native.js +1 -2
  334. package/build/higher-order/with-focus-outside/index.native.js.map +1 -1
  335. package/build/higher-order/with-focus-return/index.js +1 -2
  336. package/build/higher-order/with-focus-return/index.js.map +1 -1
  337. package/build/higher-order/with-notices/index.js +1 -2
  338. package/build/higher-order/with-notices/index.js.map +1 -1
  339. package/build/higher-order/with-spoken-messages/index.js +1 -2
  340. package/build/higher-order/with-spoken-messages/index.js.map +1 -1
  341. package/build/icon/index.js +1 -2
  342. package/build/icon/index.js.map +1 -1
  343. package/build/index.js +2 -2
  344. package/build/index.js.map +1 -1
  345. package/build/index.native.js +2 -2
  346. package/build/index.native.js.map +1 -1
  347. package/build/input-control/backdrop.js +3 -2
  348. package/build/input-control/backdrop.js.map +1 -1
  349. package/build/input-control/index.js +3 -5
  350. package/build/input-control/index.js.map +1 -1
  351. package/build/input-control/input-base.js +4 -3
  352. package/build/input-control/input-base.js.map +1 -1
  353. package/build/input-control/input-field.js +1 -2
  354. package/build/input-control/input-field.js.map +1 -1
  355. package/build/input-control/input-prefix-wrapper.js +2 -4
  356. package/build/input-control/input-prefix-wrapper.js.map +1 -1
  357. package/build/input-control/input-suffix-wrapper.js +2 -4
  358. package/build/input-control/input-suffix-wrapper.js.map +1 -1
  359. package/build/input-control/reducer/actions.js +11 -22
  360. package/build/input-control/reducer/actions.js.map +1 -1
  361. package/build/input-control/reducer/reducer.js +2 -2
  362. package/build/input-control/reducer/reducer.js.map +1 -1
  363. package/build/input-control/reducer/state.js +1 -2
  364. package/build/input-control/reducer/state.js.map +1 -1
  365. package/build/input-control/styles/input-control-styles.js +32 -37
  366. package/build/input-control/styles/input-control-styles.js.map +1 -1
  367. package/build/input-control/types.js.map +1 -1
  368. package/build/isolated-event-container/index.js +1 -2
  369. package/build/isolated-event-container/index.js.map +1 -1
  370. package/build/item-group/context.js +1 -2
  371. package/build/item-group/context.js.map +1 -1
  372. package/build/item-group/item/component.js +2 -4
  373. package/build/item-group/item/component.js.map +1 -1
  374. package/build/item-group/item/hook.js +2 -2
  375. package/build/item-group/item/hook.js.map +1 -1
  376. package/build/item-group/item-group/component.js +2 -4
  377. package/build/item-group/item-group/component.js.map +1 -1
  378. package/build/item-group/item-group/hook.js +2 -2
  379. package/build/item-group/item-group/hook.js.map +1 -1
  380. package/build/item-group/styles.js +13 -20
  381. package/build/item-group/styles.js.map +1 -1
  382. package/build/keyboard-shortcuts/index.js +1 -2
  383. package/build/keyboard-shortcuts/index.js.map +1 -1
  384. package/build/keyboard-shortcuts/index.native.js +1 -2
  385. package/build/keyboard-shortcuts/index.native.js.map +1 -1
  386. package/build/menu-group/index.js +1 -2
  387. package/build/menu-group/index.js.map +1 -1
  388. package/build/menu-item/index.js +2 -4
  389. package/build/menu-item/index.js.map +1 -1
  390. package/build/menu-items-choice/index.js +1 -2
  391. package/build/menu-items-choice/index.js.map +1 -1
  392. package/build/mobile/audio-player/index.native.js +1 -2
  393. package/build/mobile/audio-player/index.native.js.map +1 -1
  394. package/build/mobile/badge/index.native.js +1 -2
  395. package/build/mobile/badge/index.native.js.map +1 -1
  396. package/build/mobile/bottom-sheet/bottom-sheet-context.native.js +1 -2
  397. package/build/mobile/bottom-sheet/bottom-sheet-context.native.js.map +1 -1
  398. package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +1 -2
  399. package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js.map +1 -1
  400. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +3 -4
  401. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  402. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +1 -2
  403. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  404. package/build/mobile/bottom-sheet/button.native.js +1 -2
  405. package/build/mobile/bottom-sheet/button.native.js.map +1 -1
  406. package/build/mobile/bottom-sheet/cell.native.js +1 -2
  407. package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
  408. package/build/mobile/bottom-sheet/chevron-back.native.js +1 -2
  409. package/build/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
  410. package/build/mobile/bottom-sheet/footer-message-cell.native.js +1 -2
  411. package/build/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
  412. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +1 -2
  413. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
  414. package/build/mobile/bottom-sheet/index.native.js +1 -2
  415. package/build/mobile/bottom-sheet/index.native.js.map +1 -1
  416. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -2
  417. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  418. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +1 -2
  419. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  420. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -2
  421. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  422. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js +1 -2
  423. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
  424. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js +1 -2
  425. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
  426. package/build/mobile/bottom-sheet/nav-bar/heading.native.js +1 -2
  427. package/build/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
  428. package/build/mobile/bottom-sheet/nav-bar/index.native.js +1 -2
  429. package/build/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
  430. package/build/mobile/bottom-sheet/range-cell.native.js +1 -2
  431. package/build/mobile/bottom-sheet/range-cell.native.js.map +1 -1
  432. package/build/mobile/bottom-sheet/range-text-input.native.js +1 -2
  433. package/build/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
  434. package/build/mobile/bottom-sheet/ripple.native.js +1 -2
  435. package/build/mobile/bottom-sheet/ripple.native.js.map +1 -1
  436. package/build/mobile/bottom-sheet/stepper-cell/index.native.js +1 -2
  437. package/build/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
  438. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js +1 -2
  439. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
  440. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js +1 -2
  441. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
  442. package/build/mobile/bottom-sheet/sub-sheet/index.native.js +1 -2
  443. package/build/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
  444. package/build/mobile/bottom-sheet-select-control/index.native.js +1 -2
  445. package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  446. package/build/mobile/bottom-sheet-text-control/index.native.js +1 -2
  447. package/build/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  448. package/build/mobile/color-settings/gradient-picker-screen.native.js +1 -2
  449. package/build/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
  450. package/build/mobile/color-settings/index.native.js +1 -2
  451. package/build/mobile/color-settings/index.native.js.map +1 -1
  452. package/build/mobile/color-settings/palette.screen.native.js +1 -2
  453. package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
  454. package/build/mobile/color-settings/picker-screen.native.js +1 -2
  455. package/build/mobile/color-settings/picker-screen.native.js.map +1 -1
  456. package/build/mobile/color-settings/utils.native.js +1 -2
  457. package/build/mobile/color-settings/utils.native.js.map +1 -1
  458. package/build/mobile/cycle-select-control/index.native.js +1 -2
  459. package/build/mobile/cycle-select-control/index.native.js.map +1 -1
  460. package/build/mobile/dashicons/index.native.js +3 -6
  461. package/build/mobile/dashicons/index.native.js.map +1 -1
  462. package/build/mobile/focal-point-settings-panel/index.native.js +1 -2
  463. package/build/mobile/focal-point-settings-panel/index.native.js.map +1 -1
  464. package/build/mobile/global-styles-context/index.native.js +1 -2
  465. package/build/mobile/global-styles-context/index.native.js.map +1 -1
  466. package/build/mobile/global-styles-context/utils.native.js +1 -2
  467. package/build/mobile/global-styles-context/utils.native.js.map +1 -1
  468. package/build/mobile/gradient/index.native.js +1 -2
  469. package/build/mobile/gradient/index.native.js.map +1 -1
  470. package/build/mobile/gridicons/index.native.js +8 -16
  471. package/build/mobile/gridicons/index.native.js.map +1 -1
  472. package/build/mobile/html-text-input/index.native.js +1 -2
  473. package/build/mobile/html-text-input/index.native.js.map +1 -1
  474. package/build/mobile/image/constants.js +1 -2
  475. package/build/mobile/image/constants.js.map +1 -1
  476. package/build/mobile/image/icon-customize.native.js +1 -2
  477. package/build/mobile/image/icon-customize.native.js.map +1 -1
  478. package/build/mobile/image/icon-retry.native.js +1 -2
  479. package/build/mobile/image/icon-retry.native.js.map +1 -1
  480. package/build/mobile/image/image-editing-button.native.js +1 -2
  481. package/build/mobile/image/image-editing-button.native.js.map +1 -1
  482. package/build/mobile/image/index.native.js +81 -7
  483. package/build/mobile/image/index.native.js.map +1 -1
  484. package/build/mobile/keyboard-avoiding-view/index.android.js +2 -4
  485. package/build/mobile/keyboard-avoiding-view/index.android.js.map +1 -1
  486. package/build/mobile/keyboard-avoiding-view/index.ios.js +1 -2
  487. package/build/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
  488. package/build/mobile/keyboard-aware-flat-list/index.android.js +1 -2
  489. package/build/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
  490. package/build/mobile/keyboard-aware-flat-list/index.ios.js +1 -2
  491. package/build/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
  492. package/build/mobile/link-picker/link-picker-screen.native.js +1 -2
  493. package/build/mobile/link-picker/link-picker-screen.native.js.map +1 -1
  494. package/build/mobile/link-settings/index.native.js +1 -2
  495. package/build/mobile/link-settings/index.native.js.map +1 -1
  496. package/build/mobile/link-settings/link-rel.native.js +1 -2
  497. package/build/mobile/link-settings/link-rel.native.js.map +1 -1
  498. package/build/mobile/link-settings/link-settings-navigation.native.js +1 -2
  499. package/build/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
  500. package/build/mobile/link-settings/link-settings-screen.native.js +1 -2
  501. package/build/mobile/link-settings/link-settings-screen.native.js.map +1 -1
  502. package/build/mobile/media-edit/index.native.js +3 -6
  503. package/build/mobile/media-edit/index.native.js.map +1 -1
  504. package/build/mobile/picker/index.ios.js +1 -2
  505. package/build/mobile/picker/index.ios.js.map +1 -1
  506. package/build/mobile/segmented-control/index.native.js +1 -2
  507. package/build/mobile/segmented-control/index.native.js.map +1 -1
  508. package/build/mobile/utils/alignments.native.js +3 -6
  509. package/build/mobile/utils/alignments.native.js.map +1 -1
  510. package/build/mobile/utils/get-px-from-css-unit.native.js +1 -2
  511. package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
  512. package/build/modal/index.js +4 -6
  513. package/build/modal/index.js.map +1 -1
  514. package/build/navigable-container/container.js +1 -2
  515. package/build/navigable-container/container.js.map +1 -1
  516. package/build/navigable-container/menu.js +2 -4
  517. package/build/navigable-container/menu.js.map +1 -1
  518. package/build/navigable-container/tabbable.js +2 -4
  519. package/build/navigable-container/tabbable.js.map +1 -1
  520. package/build/navigation/back-button/index.js +2 -4
  521. package/build/navigation/back-button/index.js.map +1 -1
  522. package/build/navigation/constants.js +2 -4
  523. package/build/navigation/constants.js.map +1 -1
  524. package/build/navigation/context.js +1 -2
  525. package/build/navigation/context.js.map +1 -1
  526. package/build/navigation/group/context.js +1 -2
  527. package/build/navigation/group/context.js.map +1 -1
  528. package/build/navigation/group/index.js +1 -2
  529. package/build/navigation/group/index.js.map +1 -1
  530. package/build/navigation/index.js +1 -2
  531. package/build/navigation/index.js.map +1 -1
  532. package/build/navigation/item/index.js +1 -2
  533. package/build/navigation/item/index.js.map +1 -1
  534. package/build/navigation/menu/context.js +1 -2
  535. package/build/navigation/menu/context.js.map +1 -1
  536. package/build/navigation/menu/index.js +1 -2
  537. package/build/navigation/menu/index.js.map +1 -1
  538. package/build/navigation/menu/menu-title-search.js +5 -8
  539. package/build/navigation/menu/menu-title-search.js.map +1 -1
  540. package/build/navigation/styles/navigation-styles.js +34 -47
  541. package/build/navigation/styles/navigation-styles.js.map +1 -1
  542. package/build/navigator/context.js +1 -2
  543. package/build/navigator/context.js.map +1 -1
  544. package/build/navigator/navigator-back-button/component.js +2 -4
  545. package/build/navigator/navigator-back-button/component.js.map +1 -1
  546. package/build/navigator/navigator-button/component.js +2 -4
  547. package/build/navigator/navigator-button/component.js.map +1 -1
  548. package/build/navigator/navigator-provider/component.js +4 -6
  549. package/build/navigator/navigator-provider/component.js.map +1 -1
  550. package/build/navigator/navigator-screen/component.js +4 -6
  551. package/build/navigator/navigator-screen/component.js.map +1 -1
  552. package/build/navigator/navigator-to-parent-button/component.js +2 -4
  553. package/build/navigator/navigator-to-parent-button/component.js.map +1 -1
  554. package/build/navigator/styles.js +1 -2
  555. package/build/navigator/styles.js.map +1 -1
  556. package/build/navigator/use-navigator.js +1 -2
  557. package/build/navigator/use-navigator.js.map +1 -1
  558. package/build/notice/index.js +1 -2
  559. package/build/notice/index.js.map +1 -1
  560. package/build/notice/index.native.js +1 -2
  561. package/build/notice/index.native.js.map +1 -1
  562. package/build/notice/list.js +1 -2
  563. package/build/notice/list.js.map +1 -1
  564. package/build/notice/list.native.js +1 -2
  565. package/build/notice/list.native.js.map +1 -1
  566. package/build/number-control/index.js +5 -7
  567. package/build/number-control/index.js.map +1 -1
  568. package/build/number-control/styles/number-control-styles.js +3 -6
  569. package/build/number-control/styles/number-control-styles.js.map +1 -1
  570. package/build/palette-edit/index.js +11 -17
  571. package/build/palette-edit/index.js.map +1 -1
  572. package/build/palette-edit/styles.js +50 -51
  573. package/build/palette-edit/styles.js.map +1 -1
  574. package/build/panel/actions.native.js +1 -2
  575. package/build/panel/actions.native.js.map +1 -1
  576. package/build/panel/body.js +2 -4
  577. package/build/panel/body.js.map +1 -1
  578. package/build/panel/body.native.js +1 -2
  579. package/build/panel/body.native.js.map +1 -1
  580. package/build/panel/bottom-separator-cover.native.js +1 -2
  581. package/build/panel/bottom-separator-cover.native.js.map +1 -1
  582. package/build/panel/header.js +1 -2
  583. package/build/panel/header.js.map +1 -1
  584. package/build/panel/index.js +2 -4
  585. package/build/panel/index.js.map +1 -1
  586. package/build/panel/row.js +2 -4
  587. package/build/panel/row.js.map +1 -1
  588. package/build/placeholder/index.js +1 -2
  589. package/build/placeholder/index.js.map +1 -1
  590. package/build/popover/index.js +5 -6
  591. package/build/popover/index.js.map +1 -1
  592. package/build/popover/types.js.map +1 -1
  593. package/build/private-apis.js +1 -2
  594. package/build/private-apis.js.map +1 -1
  595. package/build/private-apis.native.js +1 -2
  596. package/build/private-apis.native.js.map +1 -1
  597. package/build/progress-bar/index.js +4 -6
  598. package/build/progress-bar/index.js.map +1 -1
  599. package/build/progress-bar/styles.js +4 -8
  600. package/build/progress-bar/styles.js.map +1 -1
  601. package/build/query-controls/index.js +5 -6
  602. package/build/query-controls/index.js.map +1 -1
  603. package/build/query-controls/index.native.js +4 -5
  604. package/build/query-controls/index.native.js.map +1 -1
  605. package/build/radio-control/index.js +1 -2
  606. package/build/radio-control/index.js.map +1 -1
  607. package/build/radio-control/index.native.js +1 -2
  608. package/build/radio-control/index.native.js.map +1 -1
  609. package/build/radio-group/context.js +1 -2
  610. package/build/radio-group/context.js.map +1 -1
  611. package/build/radio-group/index.js +4 -6
  612. package/build/radio-group/index.js.map +1 -1
  613. package/build/radio-group/radio.js +4 -6
  614. package/build/radio-group/radio.js.map +1 -1
  615. package/build/range-control/index.js +2 -4
  616. package/build/range-control/index.js.map +1 -1
  617. package/build/range-control/index.native.js +1 -2
  618. package/build/range-control/index.native.js.map +1 -1
  619. package/build/range-control/input-range.js +1 -2
  620. package/build/range-control/input-range.js.map +1 -1
  621. package/build/range-control/styles/range-control-styles.js +15 -30
  622. package/build/range-control/styles/range-control-styles.js.map +1 -1
  623. package/build/resizable-box/index.js +2 -4
  624. package/build/resizable-box/index.js.map +1 -1
  625. package/build/resizable-box/index.native.js +1 -2
  626. package/build/resizable-box/index.native.js.map +1 -1
  627. package/build/resizable-box/resize-tooltip/index.js +1 -2
  628. package/build/resizable-box/resize-tooltip/index.js.map +1 -1
  629. package/build/resizable-box/resize-tooltip/label.js +1 -2
  630. package/build/resizable-box/resize-tooltip/label.js.map +1 -1
  631. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +9 -12
  632. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  633. package/build/resizable-box/resize-tooltip/utils.js +1 -2
  634. package/build/resizable-box/resize-tooltip/utils.js.map +1 -1
  635. package/build/responsive-wrapper/index.js +1 -2
  636. package/build/responsive-wrapper/index.js.map +1 -1
  637. package/build/sandbox/index.js +1 -2
  638. package/build/sandbox/index.js.map +1 -1
  639. package/build/sandbox/index.native.js +1 -2
  640. package/build/sandbox/index.native.js.map +1 -1
  641. package/build/scroll-lock/index.js +1 -2
  642. package/build/scroll-lock/index.js.map +1 -1
  643. package/build/scrollable/component.js +2 -4
  644. package/build/scrollable/component.js.map +1 -1
  645. package/build/scrollable/hook.js +2 -2
  646. package/build/scrollable/hook.js.map +1 -1
  647. package/build/scrollable/styles.js +7 -14
  648. package/build/scrollable/styles.js.map +1 -1
  649. package/build/search-control/index.js +68 -60
  650. package/build/search-control/index.js.map +1 -1
  651. package/build/search-control/index.native.js +1 -2
  652. package/build/search-control/index.native.js.map +1 -1
  653. package/build/search-control/styles.js +37 -0
  654. package/build/search-control/styles.js.map +1 -0
  655. package/build/search-control/types.js.map +1 -1
  656. package/build/select-control/chevron-down.js +1 -2
  657. package/build/select-control/chevron-down.js.map +1 -1
  658. package/build/select-control/index.js +3 -5
  659. package/build/select-control/index.js.map +1 -1
  660. package/build/select-control/index.native.js +2 -4
  661. package/build/select-control/index.native.js.map +1 -1
  662. package/build/select-control/styles/select-control-styles.js +4 -8
  663. package/build/select-control/styles/select-control-styles.js.map +1 -1
  664. package/build/shortcut/index.js +1 -2
  665. package/build/shortcut/index.js.map +1 -1
  666. package/build/slot-fill/bubbles-virtually/slot-fill-context.js +1 -2
  667. package/build/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
  668. package/build/slot-fill/bubbles-virtually/slot.js +1 -2
  669. package/build/slot-fill/bubbles-virtually/slot.js.map +1 -1
  670. package/build/slot-fill/context.js +2 -4
  671. package/build/slot-fill/context.js.map +1 -1
  672. package/build/slot-fill/index.js +1 -2
  673. package/build/slot-fill/index.js.map +1 -1
  674. package/build/slot-fill/provider.js +1 -2
  675. package/build/slot-fill/provider.js.map +1 -1
  676. package/build/slot-fill/slot.js +1 -2
  677. package/build/slot-fill/slot.js.map +1 -1
  678. package/build/slot-fill/use-slot.js +1 -2
  679. package/build/slot-fill/use-slot.js.map +1 -1
  680. package/build/snackbar/index.js +19 -9
  681. package/build/snackbar/index.js.map +1 -1
  682. package/build/snackbar/list.js +1 -2
  683. package/build/snackbar/list.js.map +1 -1
  684. package/build/spacer/component.js +2 -4
  685. package/build/spacer/component.js.map +1 -1
  686. package/build/spinner/index.js +2 -4
  687. package/build/spinner/index.js.map +1 -1
  688. package/build/spinner/styles.js +3 -6
  689. package/build/spinner/styles.js.map +1 -1
  690. package/build/style-provider/index.js +3 -4
  691. package/build/style-provider/index.js.map +1 -1
  692. package/build/surface/component.js +2 -4
  693. package/build/surface/component.js.map +1 -1
  694. package/build/surface/hook.js +2 -2
  695. package/build/surface/hook.js.map +1 -1
  696. package/build/surface/styles.js +5 -10
  697. package/build/surface/styles.js.map +1 -1
  698. package/build/tab-panel/index.js +4 -6
  699. package/build/tab-panel/index.js.map +1 -1
  700. package/build/tabs/context.js +1 -2
  701. package/build/tabs/context.js.map +1 -1
  702. package/build/tabs/index.js +23 -20
  703. package/build/tabs/index.js.map +1 -1
  704. package/build/tabs/styles.js +5 -8
  705. package/build/tabs/styles.js.map +1 -1
  706. package/build/tabs/tab.js +1 -2
  707. package/build/tabs/tab.js.map +1 -1
  708. package/build/tabs/tablist.js +25 -4
  709. package/build/tabs/tablist.js.map +1 -1
  710. package/build/tabs/tabpanel.js +1 -2
  711. package/build/tabs/tabpanel.js.map +1 -1
  712. package/build/text/component.js +2 -4
  713. package/build/text/component.js.map +1 -1
  714. package/build/text/hook.js +2 -2
  715. package/build/text/hook.js.map +1 -1
  716. package/build/text/index.native.js +1 -2
  717. package/build/text/index.native.js.map +1 -1
  718. package/build/text/styles/emotion-css.native.js +1 -2
  719. package/build/text/styles/emotion-css.native.js.map +1 -1
  720. package/build/text/styles/font-family.native.js +1 -2
  721. package/build/text/styles/font-family.native.js.map +1 -1
  722. package/build/text/styles.js +7 -14
  723. package/build/text/styles.js.map +1 -1
  724. package/build/text-control/index.js +2 -4
  725. package/build/text-control/index.js.map +1 -1
  726. package/build/text-control/index.native.js +1 -2
  727. package/build/text-control/index.native.js.map +1 -1
  728. package/build/text-highlight/index.js +1 -2
  729. package/build/text-highlight/index.js.map +1 -1
  730. package/build/textarea-control/index.js +2 -4
  731. package/build/textarea-control/index.js.map +1 -1
  732. package/build/textarea-control/index.native.js +1 -2
  733. package/build/textarea-control/index.native.js.map +1 -1
  734. package/build/textarea-control/styles/textarea-control-styles.js +1 -2
  735. package/build/textarea-control/styles/textarea-control-styles.js.map +1 -1
  736. package/build/theme/index.js +1 -2
  737. package/build/theme/index.js.map +1 -1
  738. package/build/theme/styles.js +1 -2
  739. package/build/theme/styles.js.map +1 -1
  740. package/build/tip/index.js +1 -2
  741. package/build/tip/index.js.map +1 -1
  742. package/build/toggle-control/index.js +1 -2
  743. package/build/toggle-control/index.js.map +1 -1
  744. package/build/toggle-control/index.native.js +1 -2
  745. package/build/toggle-control/index.native.js.map +1 -1
  746. package/build/toggle-group-control/context.js +1 -2
  747. package/build/toggle-group-control/context.js.map +1 -1
  748. package/build/toggle-group-control/toggle-group-control/as-button-group.js +1 -2
  749. package/build/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
  750. package/build/toggle-group-control/toggle-group-control/as-radio-group.js +3 -4
  751. package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  752. package/build/toggle-group-control/toggle-group-control/component.js +7 -8
  753. package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
  754. package/build/toggle-group-control/toggle-group-control/styles.js +2 -4
  755. package/build/toggle-group-control/toggle-group-control/styles.js.map +1 -1
  756. package/build/toggle-group-control/toggle-group-control-option/component.js +2 -4
  757. package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  758. package/build/toggle-group-control/toggle-group-control-option-base/component.js +3 -4
  759. package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  760. package/build/toggle-group-control/toggle-group-control-option-base/styles.js +4 -8
  761. package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  762. package/build/toggle-group-control/toggle-group-control-option-icon/component.js +2 -4
  763. package/build/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  764. package/build/toolbar/toolbar/index.js +2 -4
  765. package/build/toolbar/toolbar/index.js.map +1 -1
  766. package/build/toolbar/toolbar/toolbar-container.js +4 -6
  767. package/build/toolbar/toolbar/toolbar-container.js.map +1 -1
  768. package/build/toolbar/toolbar/toolbar-container.native.js +1 -2
  769. package/build/toolbar/toolbar/toolbar-container.native.js.map +1 -1
  770. package/build/toolbar/toolbar-button/index.js +2 -4
  771. package/build/toolbar/toolbar-button/index.js.map +1 -1
  772. package/build/toolbar/toolbar-button/toolbar-button-container.js +1 -2
  773. package/build/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  774. package/build/toolbar/toolbar-context/index.js +1 -2
  775. package/build/toolbar/toolbar-context/index.js.map +1 -1
  776. package/build/toolbar/toolbar-dropdown-menu/index.js +1 -2
  777. package/build/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
  778. package/build/toolbar/toolbar-group/index.js +1 -2
  779. package/build/toolbar/toolbar-group/index.js.map +1 -1
  780. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js +1 -2
  781. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
  782. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js +1 -2
  783. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
  784. package/build/toolbar/toolbar-group/toolbar-group-container.js +1 -2
  785. package/build/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
  786. package/build/toolbar/toolbar-group/toolbar-group-container.native.js +1 -2
  787. package/build/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
  788. package/build/toolbar/toolbar-item/index.js +3 -4
  789. package/build/toolbar/toolbar-item/index.js.map +1 -1
  790. package/build/toolbar/toolbar-item/index.native.js +1 -2
  791. package/build/toolbar/toolbar-item/index.native.js.map +1 -1
  792. package/build/tools-panel/context.js +1 -2
  793. package/build/tools-panel/context.js.map +1 -1
  794. package/build/tools-panel/styles.js +8 -16
  795. package/build/tools-panel/styles.js.map +1 -1
  796. package/build/tools-panel/tools-panel/component.js +2 -4
  797. package/build/tools-panel/tools-panel/component.js.map +1 -1
  798. package/build/tools-panel/tools-panel/hook.js +2 -2
  799. package/build/tools-panel/tools-panel/hook.js.map +1 -1
  800. package/build/tools-panel/tools-panel-header/component.js +1 -2
  801. package/build/tools-panel/tools-panel-header/component.js.map +1 -1
  802. package/build/tools-panel/tools-panel-header/hook.js +2 -2
  803. package/build/tools-panel/tools-panel-header/hook.js.map +1 -1
  804. package/build/tools-panel/tools-panel-item/component.js +2 -4
  805. package/build/tools-panel/tools-panel-item/component.js.map +1 -1
  806. package/build/tools-panel/tools-panel-item/hook.js +2 -2
  807. package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
  808. package/build/tooltip/index.js +5 -8
  809. package/build/tooltip/index.js.map +1 -1
  810. package/build/tooltip/index.native.js +1 -2
  811. package/build/tooltip/index.native.js.map +1 -1
  812. package/build/tree-grid/cell.js +2 -4
  813. package/build/tree-grid/cell.js.map +1 -1
  814. package/build/tree-grid/index.js +2 -4
  815. package/build/tree-grid/index.js.map +1 -1
  816. package/build/tree-grid/item.js +2 -4
  817. package/build/tree-grid/item.js.map +1 -1
  818. package/build/tree-grid/roving-tab-index-context.js +1 -2
  819. package/build/tree-grid/roving-tab-index-context.js.map +1 -1
  820. package/build/tree-grid/roving-tab-index-item.js +2 -4
  821. package/build/tree-grid/roving-tab-index-item.js.map +1 -1
  822. package/build/tree-grid/row.js +2 -4
  823. package/build/tree-grid/row.js.map +1 -1
  824. package/build/tree-select/index.js +2 -3
  825. package/build/tree-select/index.js.map +1 -1
  826. package/build/truncate/component.js +2 -4
  827. package/build/truncate/component.js.map +1 -1
  828. package/build/truncate/hook.js +2 -2
  829. package/build/truncate/hook.js.map +1 -1
  830. package/build/truncate/styles.js +1 -2
  831. package/build/truncate/styles.js.map +1 -1
  832. package/build/truncate/utils.js +3 -6
  833. package/build/truncate/utils.js.map +1 -1
  834. package/build/unit-control/index.js +3 -5
  835. package/build/unit-control/index.js.map +1 -1
  836. package/build/unit-control/index.native.js +1 -2
  837. package/build/unit-control/index.native.js.map +1 -1
  838. package/build/unit-control/styles/unit-control-styles.js +3 -6
  839. package/build/unit-control/styles/unit-control-styles.js.map +1 -1
  840. package/build/unit-control/unit-select-control.js +1 -2
  841. package/build/unit-control/unit-select-control.js.map +1 -1
  842. package/build/unit-control/utils.js +3 -6
  843. package/build/unit-control/utils.js.map +1 -1
  844. package/build/utils/base-label.js +1 -2
  845. package/build/utils/base-label.js.map +1 -1
  846. package/build/utils/box-sizing.js +1 -2
  847. package/build/utils/box-sizing.js.map +1 -1
  848. package/build/utils/breakpoint-values.js +1 -2
  849. package/build/utils/breakpoint-values.js.map +1 -1
  850. package/build/utils/colors-values.js +44 -24
  851. package/build/utils/colors-values.js.map +1 -1
  852. package/build/utils/config-values.js +1 -2
  853. package/build/utils/config-values.js.map +1 -1
  854. package/build/utils/font-size.js +3 -6
  855. package/build/utils/font-size.js.map +1 -1
  856. package/build/utils/font-values.js +1 -2
  857. package/build/utils/font-values.js.map +1 -1
  858. package/build/utils/hooks/use-controlled-state.js +1 -2
  859. package/build/utils/hooks/use-controlled-state.js.map +1 -1
  860. package/build/utils/hooks/use-update-effect.js +2 -3
  861. package/build/utils/hooks/use-update-effect.js.map +1 -1
  862. package/build/utils/input/base.js +2 -4
  863. package/build/utils/input/base.js.map +1 -1
  864. package/build/utils/input/input-control.js +1 -2
  865. package/build/utils/input/input-control.js.map +1 -1
  866. package/build/utils/use-deprecated-props.js +1 -15
  867. package/build/utils/use-deprecated-props.js.map +1 -1
  868. package/build/utils/use-responsive-value.js +2 -3
  869. package/build/utils/use-responsive-value.js.map +1 -1
  870. package/build/v-stack/component.js +2 -4
  871. package/build/v-stack/component.js.map +1 -1
  872. package/build/view/component.js +2 -4
  873. package/build/view/component.js.map +1 -1
  874. package/build/visually-hidden/component.js +2 -4
  875. package/build/visually-hidden/component.js.map +1 -1
  876. package/build/visually-hidden/styles.js +1 -2
  877. package/build/visually-hidden/styles.js.map +1 -1
  878. package/build/z-stack/component.js +2 -4
  879. package/build/z-stack/component.js.map +1 -1
  880. package/build/z-stack/styles.js +2 -4
  881. package/build/z-stack/styles.js.map +1 -1
  882. package/build-module/angle-picker-control/index.js +3 -13
  883. package/build-module/angle-picker-control/index.js.map +1 -1
  884. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js +5 -17
  885. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  886. package/build-module/angle-picker-control/types.js.map +1 -1
  887. package/build-module/button/index.native.js +0 -1
  888. package/build-module/button/index.native.js.map +1 -1
  889. package/build-module/checkbox-control/types.js.map +1 -1
  890. package/build-module/combobox-control/index.js +1 -2
  891. package/build-module/combobox-control/index.js.map +1 -1
  892. package/build-module/composite/current/index.js +15 -0
  893. package/build-module/composite/current/index.js.map +1 -0
  894. package/build-module/composite/index.js +6 -15
  895. package/build-module/composite/index.js.map +1 -1
  896. package/build-module/composite/legacy/index.js +117 -0
  897. package/build-module/composite/legacy/index.js.map +1 -0
  898. package/build-module/composite/v2.js +3 -13
  899. package/build-module/composite/v2.js.map +1 -1
  900. package/build-module/confirm-dialog/component.js +2 -0
  901. package/build-module/confirm-dialog/component.js.map +1 -1
  902. package/build-module/context/wordpress-component.js.map +1 -1
  903. package/build-module/custom-gradient-picker/index.js +2 -15
  904. package/build-module/custom-gradient-picker/index.js.map +1 -1
  905. package/build-module/custom-gradient-picker/types.js.map +1 -1
  906. package/build-module/custom-select-control/index.js +1 -1
  907. package/build-module/custom-select-control/index.js.map +1 -1
  908. package/build-module/custom-select-control-v2/index.js +3 -1
  909. package/build-module/custom-select-control-v2/index.js.map +1 -1
  910. package/build-module/date-time/time/timezone.js +1 -1
  911. package/build-module/date-time/time/timezone.js.map +1 -1
  912. package/build-module/dropdown-menu-v2/styles.js +14 -14
  913. package/build-module/dropdown-menu-v2/styles.js.map +1 -1
  914. package/build-module/external-link/index.js +1 -1
  915. package/build-module/focal-point-picker/index.js +2 -2
  916. package/build-module/focal-point-picker/index.js.map +1 -1
  917. package/build-module/focal-point-picker/index.native.js +0 -1
  918. package/build-module/focal-point-picker/index.native.js.map +1 -1
  919. package/build-module/focal-point-picker/styles/focal-point-picker-style.js +29 -37
  920. package/build-module/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
  921. package/build-module/focal-point-picker/styles/focal-point-style.js +10 -2
  922. package/build-module/focal-point-picker/styles/focal-point-style.js.map +1 -1
  923. package/build-module/font-size-picker/font-size-picker-toggle-group.js +1 -2
  924. package/build-module/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  925. package/build-module/font-size-picker/index.js +3 -17
  926. package/build-module/font-size-picker/index.js.map +1 -1
  927. package/build-module/font-size-picker/styles.js +14 -20
  928. package/build-module/font-size-picker/styles.js.map +1 -1
  929. package/build-module/font-size-picker/types.js.map +1 -1
  930. package/build-module/form-token-field/index.js +1 -6
  931. package/build-module/form-token-field/index.js.map +1 -1
  932. package/build-module/form-token-field/suggestions-list.js +0 -1
  933. package/build-module/form-token-field/suggestions-list.js.map +1 -1
  934. package/build-module/gradient-picker/index.js +18 -41
  935. package/build-module/gradient-picker/index.js.map +1 -1
  936. package/build-module/gradient-picker/types.js.map +1 -1
  937. package/build-module/input-control/backdrop.js +2 -0
  938. package/build-module/input-control/backdrop.js.map +1 -1
  939. package/build-module/input-control/index.js +1 -1
  940. package/build-module/input-control/index.js.map +1 -1
  941. package/build-module/input-control/input-base.js +6 -4
  942. package/build-module/input-control/input-base.js.map +1 -1
  943. package/build-module/input-control/styles/input-control-styles.js +25 -23
  944. package/build-module/input-control/styles/input-control-styles.js.map +1 -1
  945. package/build-module/input-control/types.js.map +1 -1
  946. package/build-module/isolated-event-container/index.js +0 -1
  947. package/build-module/isolated-event-container/index.js.map +1 -1
  948. package/build-module/item-group/styles.js +10 -10
  949. package/build-module/item-group/styles.js.map +1 -1
  950. package/build-module/mobile/image/index.native.js +83 -8
  951. package/build-module/mobile/image/index.native.js.map +1 -1
  952. package/build-module/navigation/menu/menu-title-search.js +4 -6
  953. package/build-module/navigation/menu/menu-title-search.js.map +1 -1
  954. package/build-module/navigation/styles/navigation-styles.js +23 -24
  955. package/build-module/navigation/styles/navigation-styles.js.map +1 -1
  956. package/build-module/number-control/index.js +1 -1
  957. package/build-module/number-control/index.js.map +1 -1
  958. package/build-module/palette-edit/index.js +10 -15
  959. package/build-module/palette-edit/index.js.map +1 -1
  960. package/build-module/palette-edit/styles.js +43 -33
  961. package/build-module/palette-edit/styles.js.map +1 -1
  962. package/build-module/popover/index.js +2 -0
  963. package/build-module/popover/index.js.map +1 -1
  964. package/build-module/popover/types.js.map +1 -1
  965. package/build-module/query-controls/index.js +5 -5
  966. package/build-module/query-controls/index.js.map +1 -1
  967. package/build-module/query-controls/index.native.js +4 -4
  968. package/build-module/query-controls/index.native.js.map +1 -1
  969. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +4 -4
  970. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  971. package/build-module/search-control/index.js +67 -57
  972. package/build-module/search-control/index.js.map +1 -1
  973. package/build-module/search-control/styles.js +29 -0
  974. package/build-module/search-control/styles.js.map +1 -0
  975. package/build-module/search-control/types.js.map +1 -1
  976. package/build-module/select-control/index.js +1 -1
  977. package/build-module/select-control/index.js.map +1 -1
  978. package/build-module/snackbar/index.js +18 -6
  979. package/build-module/snackbar/index.js.map +1 -1
  980. package/build-module/tabs/index.js +21 -17
  981. package/build-module/tabs/index.js.map +1 -1
  982. package/build-module/tabs/tablist.js +22 -0
  983. package/build-module/tabs/tablist.js.map +1 -1
  984. package/build-module/tree-select/index.js +1 -1
  985. package/build-module/tree-select/index.js.map +1 -1
  986. package/build-module/unit-control/index.js +1 -1
  987. package/build-module/unit-control/index.js.map +1 -1
  988. package/build-module/utils/colors-values.js +42 -19
  989. package/build-module/utils/colors-values.js.map +1 -1
  990. package/build-module/utils/hooks/use-update-effect.js +1 -1
  991. package/build-module/utils/hooks/use-update-effect.js.map +1 -1
  992. package/build-module/utils/use-deprecated-props.js +1 -13
  993. package/build-module/utils/use-deprecated-props.js.map +1 -1
  994. package/build-module/utils/use-responsive-value.js +2 -3
  995. package/build-module/utils/use-responsive-value.js.map +1 -1
  996. package/build-style/style-rtl.css +22 -109
  997. package/build-style/style.css +22 -109
  998. package/build-types/angle-picker-control/index.d.ts +0 -1
  999. package/build-types/angle-picker-control/index.d.ts.map +1 -1
  1000. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts +0 -6
  1001. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +1 -1
  1002. package/build-types/angle-picker-control/types.d.ts +2 -0
  1003. package/build-types/angle-picker-control/types.d.ts.map +1 -1
  1004. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
  1005. package/build-types/card/stories/index.story.d.ts +2 -2
  1006. package/build-types/checkbox-control/stories/index.story.d.ts +11 -0
  1007. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  1008. package/build-types/checkbox-control/types.d.ts +2 -3
  1009. package/build-types/checkbox-control/types.d.ts.map +1 -1
  1010. package/build-types/color-palette/styles.d.ts +1 -1
  1011. package/build-types/combobox-control/index.d.ts.map +1 -1
  1012. package/build-types/composite/current/index.d.ts +12 -0
  1013. package/build-types/composite/current/index.d.ts.map +1 -0
  1014. package/build-types/composite/current/stories/index.story.d.ts +13 -0
  1015. package/build-types/composite/current/stories/index.story.d.ts.map +1 -0
  1016. package/build-types/composite/current/stories/utils.d.ts +15 -0
  1017. package/build-types/composite/current/stories/utils.d.ts.map +1 -0
  1018. package/build-types/composite/index.d.ts +1 -14
  1019. package/build-types/composite/index.d.ts.map +1 -1
  1020. package/build-types/composite/legacy/index.d.ts +84 -0
  1021. package/build-types/composite/legacy/index.d.ts.map +1 -0
  1022. package/build-types/composite/legacy/stories/index.story.d.ts +12 -0
  1023. package/build-types/composite/legacy/stories/index.story.d.ts.map +1 -0
  1024. package/build-types/composite/legacy/stories/utils.d.ts +15 -0
  1025. package/build-types/composite/legacy/stories/utils.d.ts.map +1 -0
  1026. package/build-types/composite/legacy/test/index.d.ts.map +1 -0
  1027. package/build-types/composite/v2.d.ts +1 -11
  1028. package/build-types/composite/v2.d.ts.map +1 -1
  1029. package/build-types/confirm-dialog/component.d.ts.map +1 -1
  1030. package/build-types/custom-gradient-picker/index.d.ts +1 -3
  1031. package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
  1032. package/build-types/custom-gradient-picker/types.d.ts +2 -0
  1033. package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
  1034. package/build-types/custom-select-control/index.d.ts.map +1 -1
  1035. package/build-types/custom-select-control/styles.d.ts +2 -2
  1036. package/build-types/custom-select-control-v2/index.d.ts.map +1 -1
  1037. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  1038. package/build-types/custom-select-control-v2/test/index.d.ts +2 -0
  1039. package/build-types/custom-select-control-v2/test/index.d.ts.map +1 -0
  1040. package/build-types/date-time/date/styles.d.ts +1 -1
  1041. package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -1
  1042. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts.map +1 -1
  1043. package/build-types/focal-point-picker/styles/focal-point-style.d.ts.map +1 -1
  1044. package/build-types/font-size-picker/font-size-picker-toggle-group.d.ts.map +1 -1
  1045. package/build-types/font-size-picker/index.d.ts.map +1 -1
  1046. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -1
  1047. package/build-types/font-size-picker/styles.d.ts +0 -6
  1048. package/build-types/font-size-picker/styles.d.ts.map +1 -1
  1049. package/build-types/font-size-picker/types.d.ts +3 -1
  1050. package/build-types/font-size-picker/types.d.ts.map +1 -1
  1051. package/build-types/form-token-field/index.d.ts.map +1 -1
  1052. package/build-types/gradient-picker/index.d.ts +1 -4
  1053. package/build-types/gradient-picker/index.d.ts.map +1 -1
  1054. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  1055. package/build-types/gradient-picker/types.d.ts +2 -0
  1056. package/build-types/gradient-picker/types.d.ts.map +1 -1
  1057. package/build-types/heading/component.d.ts +1 -1
  1058. package/build-types/input-control/backdrop.d.ts +2 -1
  1059. package/build-types/input-control/backdrop.d.ts.map +1 -1
  1060. package/build-types/input-control/index.d.ts.map +1 -1
  1061. package/build-types/input-control/input-base.d.ts +1 -3
  1062. package/build-types/input-control/input-base.d.ts.map +1 -1
  1063. package/build-types/input-control/styles/input-control-styles.d.ts +1 -0
  1064. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  1065. package/build-types/input-control/types.d.ts +7 -1
  1066. package/build-types/input-control/types.d.ts.map +1 -1
  1067. package/build-types/item-group/styles.d.ts.map +1 -1
  1068. package/build-types/navigation/styles/navigation-styles.d.ts +5 -12
  1069. package/build-types/navigation/styles/navigation-styles.d.ts.map +1 -1
  1070. package/build-types/number-control/index.d.ts.map +1 -1
  1071. package/build-types/palette-edit/index.d.ts.map +1 -1
  1072. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
  1073. package/build-types/palette-edit/styles.d.ts +15 -21
  1074. package/build-types/palette-edit/styles.d.ts.map +1 -1
  1075. package/build-types/popover/index.d.ts.map +1 -1
  1076. package/build-types/popover/types.d.ts +9 -0
  1077. package/build-types/popover/types.d.ts.map +1 -1
  1078. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  1079. package/build-types/search-control/index.d.ts +4 -9
  1080. package/build-types/search-control/index.d.ts.map +1 -1
  1081. package/build-types/search-control/stories/index.story.d.ts +2 -18
  1082. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  1083. package/build-types/search-control/styles.d.ts +10 -0
  1084. package/build-types/search-control/styles.d.ts.map +1 -0
  1085. package/build-types/search-control/test/index.d.ts +2 -0
  1086. package/build-types/search-control/test/index.d.ts.map +1 -0
  1087. package/build-types/search-control/types.d.ts +34 -18
  1088. package/build-types/search-control/types.d.ts.map +1 -1
  1089. package/build-types/select-control/index.d.ts.map +1 -1
  1090. package/build-types/snackbar/index.d.ts.map +1 -1
  1091. package/build-types/tabs/index.d.ts.map +1 -1
  1092. package/build-types/tabs/stories/index.story.d.ts.map +1 -1
  1093. package/build-types/tabs/tablist.d.ts.map +1 -1
  1094. package/build-types/theme/stories/index.story.d.ts.map +1 -1
  1095. package/build-types/tree-select/index.d.ts.map +1 -1
  1096. package/build-types/unit-control/index.d.ts.map +1 -1
  1097. package/build-types/utils/colors-values.d.ts +28 -1
  1098. package/build-types/utils/colors-values.d.ts.map +1 -1
  1099. package/build-types/utils/hooks/use-update-effect.d.ts +1 -1
  1100. package/build-types/utils/use-deprecated-props.d.ts +1 -5
  1101. package/build-types/utils/use-deprecated-props.d.ts.map +1 -1
  1102. package/package.json +19 -20
  1103. package/src/angle-picker-control/README.md +0 -8
  1104. package/src/angle-picker-control/index.tsx +4 -23
  1105. package/src/angle-picker-control/stories/index.story.tsx +0 -3
  1106. package/src/angle-picker-control/styles/angle-picker-control-styles.tsx +0 -18
  1107. package/src/angle-picker-control/types.ts +2 -0
  1108. package/src/button/stories/e2e/index.story.tsx +6 -0
  1109. package/src/button/style.scss +17 -5
  1110. package/src/card/test/__snapshots__/index.tsx.snap +3 -3
  1111. package/src/checkbox-control/README.md +1 -2
  1112. package/src/checkbox-control/stories/index.story.tsx +44 -0
  1113. package/src/checkbox-control/test/index.tsx +2 -2
  1114. package/src/checkbox-control/types.ts +2 -3
  1115. package/src/combobox-control/index.tsx +1 -4
  1116. package/src/composite/current/index.ts +22 -0
  1117. package/src/composite/current/stories/index.story.tsx +86 -0
  1118. package/src/composite/current/stories/utils.tsx +61 -0
  1119. package/src/composite/index.ts +6 -21
  1120. package/src/composite/legacy/index.tsx +191 -0
  1121. package/src/composite/legacy/stories/index.story.tsx +205 -0
  1122. package/src/composite/legacy/stories/utils.tsx +67 -0
  1123. package/src/composite/legacy/test/index.tsx +579 -0
  1124. package/src/composite/v2.ts +3 -21
  1125. package/src/confirm-dialog/component.tsx +2 -0
  1126. package/src/context/wordpress-component.ts +1 -1
  1127. package/src/custom-gradient-picker/index.tsx +1 -22
  1128. package/src/custom-gradient-picker/stories/index.story.tsx +0 -3
  1129. package/src/custom-gradient-picker/style.scss +0 -7
  1130. package/src/custom-gradient-picker/types.ts +2 -0
  1131. package/src/custom-select-control/index.js +1 -5
  1132. package/src/custom-select-control-v2/index.tsx +2 -0
  1133. package/src/custom-select-control-v2/stories/index.story.tsx +1 -0
  1134. package/src/custom-select-control-v2/test/index.tsx +219 -0
  1135. package/src/date-time/time/timezone.tsx +1 -1
  1136. package/src/dimension-control/test/__snapshots__/index.test.js.snap +16 -16
  1137. package/src/divider/README.md +1 -1
  1138. package/src/dropdown-menu-v2/stories/index.story.tsx +1 -0
  1139. package/src/dropdown-menu-v2/styles.ts +1 -1
  1140. package/src/focal-point-picker/index.tsx +2 -2
  1141. package/src/focal-point-picker/styles/focal-point-picker-style.ts +26 -10
  1142. package/src/focal-point-picker/styles/focal-point-style.ts +21 -7
  1143. package/src/font-size-picker/README.md +0 -8
  1144. package/src/font-size-picker/font-size-picker-toggle-group.tsx +2 -9
  1145. package/src/font-size-picker/index.tsx +3 -21
  1146. package/src/font-size-picker/stories/index.story.tsx +0 -1
  1147. package/src/font-size-picker/styles.ts +0 -7
  1148. package/src/font-size-picker/test/index.tsx +16 -99
  1149. package/src/font-size-picker/types.ts +3 -1
  1150. package/src/form-token-field/index.tsx +1 -4
  1151. package/src/gradient-picker/README.md +0 -8
  1152. package/src/gradient-picker/index.tsx +32 -56
  1153. package/src/gradient-picker/stories/index.story.tsx +0 -1
  1154. package/src/gradient-picker/types.ts +2 -0
  1155. package/src/guide/style.scss +1 -1
  1156. package/src/input-control/backdrop.tsx +6 -1
  1157. package/src/input-control/index.tsx +1 -5
  1158. package/src/input-control/input-base.tsx +14 -7
  1159. package/src/input-control/styles/input-control-styles.tsx +6 -3
  1160. package/src/input-control/types.ts +10 -1
  1161. package/src/item-group/styles.ts +1 -4
  1162. package/src/mobile/image/index.native.js +117 -12
  1163. package/src/mobile/image/style.native.scss +6 -0
  1164. package/src/modal/style.scss +1 -1
  1165. package/src/navigation/menu/menu-title-search.tsx +6 -6
  1166. package/src/navigation/styles/navigation-styles.tsx +5 -27
  1167. package/src/number-control/index.tsx +1 -5
  1168. package/src/palette-edit/index.tsx +18 -16
  1169. package/src/palette-edit/stories/index.story.tsx +1 -0
  1170. package/src/palette-edit/{styles.js → styles.ts} +56 -13
  1171. package/src/palette-edit/test/index.tsx +2 -2
  1172. package/src/placeholder/style.scss +6 -5
  1173. package/src/popover/index.tsx +2 -0
  1174. package/src/popover/style.scss +1 -0
  1175. package/src/popover/test/index.tsx +250 -0
  1176. package/src/popover/types.ts +9 -0
  1177. package/src/progress-bar/stories/index.story.tsx +1 -0
  1178. package/src/query-controls/index.native.js +4 -4
  1179. package/src/query-controls/index.tsx +5 -5
  1180. package/src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts +3 -3
  1181. package/src/search-control/README.md +23 -3
  1182. package/src/search-control/index.tsx +88 -70
  1183. package/src/search-control/stories/index.story.tsx +1 -1
  1184. package/src/search-control/styles.ts +42 -0
  1185. package/src/search-control/test/index.tsx +107 -0
  1186. package/src/search-control/types.ts +37 -22
  1187. package/src/select-control/index.tsx +1 -5
  1188. package/src/snackbar/index.tsx +19 -6
  1189. package/src/style.scss +0 -1
  1190. package/src/tabs/index.tsx +31 -27
  1191. package/src/tabs/stories/index.story.tsx +1 -0
  1192. package/src/tabs/tablist.tsx +19 -0
  1193. package/src/tabs/test/index.tsx +105 -49
  1194. package/src/theme/stories/index.story.tsx +1 -0
  1195. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +8 -8
  1196. package/src/toolbar/toolbar-button/README.md +2 -2
  1197. package/src/toolbar/toolbar-dropdown-menu/README.md +2 -2
  1198. package/src/toolbar/toolbar-item/README.md +2 -2
  1199. package/src/tree-select/index.tsx +1 -5
  1200. package/src/unit-control/index.tsx +1 -5
  1201. package/src/utils/colors-values.js +45 -23
  1202. package/src/utils/hooks/use-update-effect.js +1 -1
  1203. package/src/utils/use-deprecated-props.ts +1 -18
  1204. package/tsconfig.tsbuildinfo +1 -1
  1205. package/build-types/composite/test/index.d.ts.map +0 -1
  1206. package/src/composite/test/index.tsx +0 -576
  1207. package/src/search-control/style.scss +0 -71
  1208. /package/build-types/composite/{test → legacy/test}/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_components","_icons","_element","_i18n","_compose","_styles","_interopRequireDefault","_cellStyles","_ripple","_lockIcon","isIOS","Platform","OS","BottomSheetCell","Component","constructor","props","arguments","state","isEditingValue","autoFocus","isScreenReaderEnabled","handleScreenReaderToggled","bind","isCurrent","componentDidUpdate","prevProps","prevState","_valueTextInput","focus","componentDidMount","a11yInfoChangeSubscription","AccessibilityInfo","addEventListener","then","setState","componentWillUnmount","remove","typeToKeyboardType","type","step","keyboardType","Math","abs","render","accessible","accessibilityLabel","accessibilityHint","accessibilityRole","disabled","disabledStyle","styles","cellDisabled","showLockIcon","activeOpacity","onPress","onLongPress","label","subLabel","value","valuePlaceholder","icon","leftAlign","iconStyle","labelStyle","valueStyle","cellContainerStyle","cellRowContainerStyle","onChangeValue","onSubmit","children","editable","isSelected","separatorType","style","getStylesFromColorScheme","customActionButton","borderless","help","valueProps","showValue","undefined","isValueEditable","cellLabelStyle","cellLabel","cellTextDark","cellLabelCenteredStyle","cellLabelCentered","cellLabelLeftAlignNoIconStyle","cellLabelLeftAlignNoIcon","defaultMissingIconAndValue","defaultLabelStyle","defaultSubLabelStyleText","cellSubLabelText","cellSubLabelTextDark","drawSeparator","separatorStyle","drawTopSeparator","cellContainerStyles","cellContainer","rowContainerStyles","cellRowContainer","isInteractive","onCellPress","startEditing","finishEditing","defaultSeparatorStyle","separator","separatorDark","cellSeparatorStyle","cellSeparator","cellSeparatorDark","leftMarginStyle","platformStyles","separatorMarginLeft","getValueComponent","styleRTL","I18nManager","isRTL","cellValueRTL","cellValueStyle","cellValue","textInputStyle","placeholderTextColor","placeholderColorDisabled","placeholderColorDisabledDark","color","placeholderColor","textStyle","shouldShowPlaceholder","_react","createElement","TextInput","ref","c","numberOfLines","placeholder","onChangeText","pointerEvents","onFocus","onBlur","onSubmitEditing","Text","ellipsizeMode","getAccessibilityLabel","sprintf","_x","iconStyleBase","iconDark","resetButtonStyle","resetButton","resetButtonDark","cellHelpStyle","cellHelpLabel","cellHelpLabelIOS","containerPointerEvents","title","handler","opacity","default","__","clipToBounds","View","cellRowIcon","Icon","lock","size","fill","isPressed","labelIconSeparator","TouchableOpacity","check","testID","_default","withPreferredColorScheme","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/cell.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tTouchableOpacity,\n\tText,\n\tView,\n\tTextInput,\n\tI18nManager,\n\tAccessibilityInfo,\n\tPlatform,\n} from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { Icon } from '@wordpress/components';\nimport { check } from '@wordpress/icons';\nimport { Component } from '@wordpress/element';\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { withPreferredColorScheme } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport platformStyles from './cellStyles.scss';\nimport TouchableRipple from './ripple';\nimport LockIcon from './lock-icon';\n\nconst isIOS = Platform.OS === 'ios';\nclass BottomSheetCell extends Component {\n\tconstructor( props ) {\n\t\tsuper( ...arguments );\n\t\tthis.state = {\n\t\t\tisEditingValue: props.autoFocus || false,\n\t\t\tisScreenReaderEnabled: false,\n\t\t};\n\n\t\tthis.handleScreenReaderToggled =\n\t\t\tthis.handleScreenReaderToggled.bind( this );\n\n\t\tthis.isCurrent = false;\n\t}\n\n\tcomponentDidUpdate( prevProps, prevState ) {\n\t\tif ( ! prevState.isEditingValue && this.state.isEditingValue ) {\n\t\t\tthis._valueTextInput.focus();\n\t\t}\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.isCurrent = true;\n\t\tthis.a11yInfoChangeSubscription = AccessibilityInfo.addEventListener(\n\t\t\t'screenReaderChanged',\n\t\t\tthis.handleScreenReaderToggled\n\t\t);\n\n\t\tAccessibilityInfo.isScreenReaderEnabled().then(\n\t\t\t( isScreenReaderEnabled ) => {\n\t\t\t\tif ( this.isCurrent && isScreenReaderEnabled ) {\n\t\t\t\t\tthis.setState( { isScreenReaderEnabled } );\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.isCurrent = false;\n\t\tthis.a11yInfoChangeSubscription.remove();\n\t}\n\n\thandleScreenReaderToggled( isScreenReaderEnabled ) {\n\t\tthis.setState( { isScreenReaderEnabled } );\n\t}\n\n\ttypeToKeyboardType( type, step ) {\n\t\tlet keyboardType = `default`;\n\t\tif ( type === `number` ) {\n\t\t\tif ( step && Math.abs( step ) < 1 ) {\n\t\t\t\tkeyboardType = `decimal-pad`;\n\t\t\t} else {\n\t\t\t\tkeyboardType = `number-pad`;\n\t\t\t}\n\t\t}\n\t\treturn keyboardType;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\taccessible,\n\t\t\taccessibilityLabel,\n\t\t\taccessibilityHint,\n\t\t\taccessibilityRole,\n\t\t\tdisabled = false,\n\t\t\tdisabledStyle = styles.cellDisabled,\n\t\t\tshowLockIcon = true,\n\t\t\tactiveOpacity,\n\t\t\tonPress,\n\t\t\tonLongPress,\n\t\t\tlabel,\n\t\t\tsubLabel,\n\t\t\tvalue,\n\t\t\tvaluePlaceholder = '',\n\t\t\ticon,\n\t\t\tleftAlign,\n\t\t\ticonStyle = {},\n\t\t\tlabelStyle = {},\n\t\t\tvalueStyle = {},\n\t\t\tcellContainerStyle = {},\n\t\t\tcellRowContainerStyle = {},\n\t\t\tonChangeValue,\n\t\t\tonSubmit,\n\t\t\tchildren,\n\t\t\teditable = true,\n\t\t\tisSelected = false,\n\t\t\tseparatorType,\n\t\t\tstyle = {},\n\t\t\tgetStylesFromColorScheme,\n\t\t\tcustomActionButton,\n\t\t\ttype,\n\t\t\tstep,\n\t\t\tborderless,\n\t\t\thelp,\n\t\t\t...valueProps\n\t\t} = this.props;\n\n\t\tconst showValue = value !== undefined;\n\t\tconst isValueEditable = editable && onChangeValue !== undefined;\n\t\tconst cellLabelStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabel,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst cellLabelCenteredStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabelCentered,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst cellLabelLeftAlignNoIconStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabelLeftAlignNoIcon,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst defaultMissingIconAndValue = leftAlign\n\t\t\t? cellLabelLeftAlignNoIconStyle\n\t\t\t: cellLabelCenteredStyle;\n\t\tconst defaultLabelStyle =\n\t\t\tshowValue || customActionButton || icon\n\t\t\t\t? cellLabelStyle\n\t\t\t\t: defaultMissingIconAndValue;\n\n\t\tconst defaultSubLabelStyleText = getStylesFromColorScheme(\n\t\t\tstyles.cellSubLabelText,\n\t\t\tstyles.cellSubLabelTextDark\n\t\t);\n\n\t\tconst drawSeparator =\n\t\t\t( separatorType && separatorType !== 'none' ) ||\n\t\t\tseparatorStyle === undefined;\n\t\tconst drawTopSeparator =\n\t\t\tdrawSeparator && separatorType === 'topFullWidth';\n\n\t\tconst cellContainerStyles = [\n\t\t\tstyles.cellContainer,\n\t\t\tcellContainerStyle,\n\t\t];\n\t\tconst rowContainerStyles = [\n\t\t\tstyles.cellRowContainer,\n\t\t\tcellRowContainerStyle,\n\t\t];\n\n\t\tconst isInteractive =\n\t\t\tisValueEditable ||\n\t\t\tonPress !== undefined ||\n\t\t\tonLongPress !== undefined;\n\n\t\tconst onCellPress = () => {\n\t\t\tif ( isValueEditable ) {\n\t\t\t\tstartEditing();\n\t\t\t} else if ( onPress !== undefined ) {\n\t\t\t\tonPress();\n\t\t\t}\n\t\t};\n\n\t\tconst finishEditing = () => {\n\t\t\tthis.setState( { isEditingValue: false } );\n\t\t};\n\n\t\tconst startEditing = () => {\n\t\t\tif ( this.state.isEditingValue === false ) {\n\t\t\t\tthis.setState( { isEditingValue: true } );\n\t\t\t}\n\t\t};\n\n\t\tconst separatorStyle = () => {\n\t\t\t// eslint-disable-next-line @wordpress/no-unused-vars-before-return\n\t\t\tconst defaultSeparatorStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.separator,\n\t\t\t\tstyles.separatorDark\n\t\t\t);\n\t\t\tconst cellSeparatorStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.cellSeparator,\n\t\t\t\tstyles.cellSeparatorDark\n\t\t\t);\n\t\t\tconst leftMarginStyle = {\n\t\t\t\t...cellSeparatorStyle,\n\t\t\t\t...platformStyles.separatorMarginLeft,\n\t\t\t};\n\t\t\tswitch ( separatorType ) {\n\t\t\t\tcase 'leftMargin':\n\t\t\t\t\treturn leftMarginStyle;\n\t\t\t\tcase 'fullWidth':\n\t\t\t\tcase 'topFullWidth':\n\t\t\t\t\treturn defaultSeparatorStyle;\n\t\t\t\tcase 'none':\n\t\t\t\t\treturn undefined;\n\t\t\t\tcase undefined:\n\t\t\t\t\tif ( showValue && icon ) {\n\t\t\t\t\t\treturn leftMarginStyle;\n\t\t\t\t\t}\n\t\t\t\t\treturn defaultSeparatorStyle;\n\t\t\t}\n\t\t};\n\n\t\tconst getValueComponent = () => {\n\t\t\tconst styleRTL = I18nManager.isRTL && styles.cellValueRTL;\n\t\t\tconst cellValueStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.cellValue,\n\t\t\t\tstyles.cellTextDark\n\t\t\t);\n\t\t\tconst textInputStyle = {\n\t\t\t\t...cellValueStyle,\n\t\t\t\t...valueStyle,\n\t\t\t\t...styleRTL,\n\t\t\t};\n\t\t\tconst placeholderTextColor = disabled\n\t\t\t\t? this.props.getStylesFromColorScheme(\n\t\t\t\t\t\tstyles.placeholderColorDisabled,\n\t\t\t\t\t\tstyles.placeholderColorDisabledDark\n\t\t\t\t ).color\n\t\t\t\t: styles.placeholderColor.color;\n\t\t\tconst textStyle = {\n\t\t\t\t...( disabled && styles.cellDisabled ),\n\t\t\t\t...cellValueStyle,\n\t\t\t\t...valueStyle,\n\t\t\t};\n\n\t\t\t// To be able to show the `middle` ellipsizeMode on editable cells\n\t\t\t// we show the TextInput just when the user wants to edit the value,\n\t\t\t// and the Text component to display it.\n\t\t\t// We also show the TextInput to display placeholder.\n\t\t\tconst shouldShowPlaceholder = isInteractive && value === '';\n\t\t\treturn this.state.isEditingValue || shouldShowPlaceholder ? (\n\t\t\t\t<TextInput\n\t\t\t\t\tref={ ( c ) => ( this._valueTextInput = c ) }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tstyle={ textInputStyle }\n\t\t\t\t\tvalue={ value }\n\t\t\t\t\tplaceholder={ valuePlaceholder }\n\t\t\t\t\tplaceholderTextColor={ placeholderTextColor }\n\t\t\t\t\tonChangeText={ onChangeValue }\n\t\t\t\t\teditable={ isValueEditable && ! disabled }\n\t\t\t\t\tpointerEvents={\n\t\t\t\t\t\tthis.state.isEditingValue ? 'auto' : 'none'\n\t\t\t\t\t}\n\t\t\t\t\tonFocus={ startEditing }\n\t\t\t\t\tonBlur={ finishEditing }\n\t\t\t\t\tonSubmitEditing={ onSubmit }\n\t\t\t\t\tkeyboardType={ this.typeToKeyboardType( type, step ) }\n\t\t\t\t\tdisabled={ disabled }\n\t\t\t\t\t{ ...valueProps }\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ textStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ value }\n\t\t\t\t</Text>\n\t\t\t);\n\t\t};\n\n\t\tconst getAccessibilityLabel = () => {\n\t\t\tif ( accessible === false ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( accessibilityLabel || ! showValue ) {\n\t\t\t\treturn accessibilityLabel || label;\n\t\t\t}\n\n\t\t\tif ( ! value ) {\n\t\t\t\treturn ! help\n\t\t\t\t\t? sprintf(\n\t\t\t\t\t\t\t/* translators: accessibility text. Empty state of a inline textinput cell. %s: The cell's title */\n\t\t\t\t\t\t\t_x( '%s. Empty', 'inline textinput cell' ),\n\t\t\t\t\t\t\tlabel\n\t\t\t\t\t )\n\t\t\t\t\t: // Separating by ',' is necessary to make a pause on urls (non-capitalized text)\n\t\t\t\t\t sprintf(\n\t\t\t\t\t\t\t/* translators: accessibility text. Empty state of a inline textinput cell. %1: Cell title, %2: cell help. */\n\t\t\t\t\t\t\t_x( '%1$s, %2$s. Empty', 'inline textinput cell' ),\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t\thelp\n\t\t\t\t\t );\n\t\t\t}\n\t\t\treturn ! help\n\t\t\t\t? sprintf(\n\t\t\t\t\t\t/* translators: accessibility text. Inline textinput title and value.%1: Cell title, %2: cell value. */\n\t\t\t\t\t\t_x( '%1$s, %2$s', 'inline textinput cell' ),\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t\tvalue\n\t\t\t\t ) // Separating by ',' is necessary to make a pause on urls (non-capitalized text)\n\t\t\t\t: sprintf(\n\t\t\t\t\t\t/* translators: accessibility text. Inline textinput title, value and help text.%1: Cell title, %2: cell value, , %3: cell help. */\n\t\t\t\t\t\t_x( '%1$s, %2$s, %3$s', 'inline textinput cell' ),\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\thelp\n\t\t\t\t );\n\t\t};\n\n\t\tconst iconStyleBase = getStylesFromColorScheme(\n\t\t\tstyles.icon,\n\t\t\tstyles.iconDark\n\t\t);\n\t\tconst resetButtonStyle = getStylesFromColorScheme(\n\t\t\tstyles.resetButton,\n\t\t\tstyles.resetButtonDark\n\t\t);\n\t\tconst cellHelpStyle = [\n\t\t\tstyles.cellHelpLabel,\n\t\t\tisIOS && styles.cellHelpLabelIOS,\n\t\t];\n\t\tconst containerPointerEvents =\n\t\t\tthis.state.isScreenReaderEnabled && accessible ? 'none' : 'auto';\n\t\tconst { title, handler } = customActionButton || {};\n\n\t\tconst opacity =\n\t\t\tactiveOpacity !== undefined\n\t\t\t\t? activeOpacity\n\t\t\t\t: platformStyles.activeOpacity?.opacity;\n\n\t\treturn (\n\t\t\t<TouchableRipple\n\t\t\t\taccessible={\n\t\t\t\t\taccessible !== undefined\n\t\t\t\t\t\t? accessible\n\t\t\t\t\t\t: ! this.state.isEditingValue\n\t\t\t\t}\n\t\t\t\taccessibilityLabel={ getAccessibilityLabel() }\n\t\t\t\taccessibilityRole={ accessibilityRole || 'button' }\n\t\t\t\taccessibilityHint={\n\t\t\t\t\tisValueEditable\n\t\t\t\t\t\t? /* translators: accessibility text */\n\t\t\t\t\t\t __( 'Double tap to edit this value' )\n\t\t\t\t\t\t: accessibilityHint\n\t\t\t\t}\n\t\t\t\tdisabled={ disabled || ! isInteractive }\n\t\t\t\tactiveOpacity={ opacity }\n\t\t\t\tonPress={ onCellPress }\n\t\t\t\tonLongPress={ onLongPress }\n\t\t\t\tstyle={ [ styles.clipToBounds, style ] }\n\t\t\t\tborderless={ borderless }\n\t\t\t>\n\t\t\t\t{ drawTopSeparator && <View style={ separatorStyle() } /> }\n\t\t\t\t<View\n\t\t\t\t\tstyle={ cellContainerStyles }\n\t\t\t\t\tpointerEvents={ containerPointerEvents }\n\t\t\t\t>\n\t\t\t\t\t<View style={ rowContainerStyles }>\n\t\t\t\t\t\t<View style={ styles.cellRowContainer }>\n\t\t\t\t\t\t\t{ icon && (\n\t\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\t\t\t\tstyles.cellRowContainer,\n\t\t\t\t\t\t\t\t\t\tstyles.cellRowIcon,\n\t\t\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\t\t\tlock\n\t\t\t\t\t\t\t\t\t\ticon={ icon }\n\t\t\t\t\t\t\t\t\t\tsize={ 24 }\n\t\t\t\t\t\t\t\t\t\tfill={\n\t\t\t\t\t\t\t\t\t\t\ticonStyle.color ||\n\t\t\t\t\t\t\t\t\t\t\ticonStyleBase.color\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tstyle={ iconStyle }\n\t\t\t\t\t\t\t\t\t\tisPressed={ false }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\t\t\tstyle={\n\t\t\t\t\t\t\t\t\t\t\tplatformStyles.labelIconSeparator\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ subLabel && label && (\n\t\t\t\t\t\t\t\t<View>\n\t\t\t\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\t\t\t\t\tdefaultLabelStyle,\n\t\t\t\t\t\t\t\t\t\t\tlabelStyle,\n\t\t\t\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t\t\t<Text style={ defaultSubLabelStyleText }>\n\t\t\t\t\t\t\t\t\t\t{ subLabel }\n\t\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ ! subLabel && label && (\n\t\t\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\t\t\tstyle={ [ defaultLabelStyle, labelStyle ] }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</View>\n\t\t\t\t\t\t{ customActionButton && (\n\t\t\t\t\t\t\t<TouchableOpacity\n\t\t\t\t\t\t\t\tonPress={ handler }\n\t\t\t\t\t\t\t\taccessibilityRole={ 'button' }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Text style={ resetButtonStyle }>\n\t\t\t\t\t\t\t\t\t{ title }\n\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t</TouchableOpacity>\n\t\t\t\t\t\t) }\n\t\t\t\t\t</View>\n\t\t\t\t\t{ isSelected && (\n\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\t\tfill={ platformStyles.isSelected.color }\n\t\t\t\t\t\t\ttestID=\"bottom-sheet-cell-selected-icon\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t\t{ showValue && getValueComponent() }\n\t\t\t\t\t<View\n\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\tdisabled && disabledStyle,\n\t\t\t\t\t\t\tstyles.cellRowContainer,\n\t\t\t\t\t\t] }\n\t\t\t\t\t\tpointerEvents={ disabled ? 'none' : 'auto' }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ children }\n\t\t\t\t\t</View>\n\t\t\t\t\t{ disabled && showLockIcon && (\n\t\t\t\t\t\t<View style={ styles.cellDisabled }>\n\t\t\t\t\t\t\t<LockIcon />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t) }\n\t\t\t\t</View>\n\t\t\t\t{ help && (\n\t\t\t\t\t<Text style={ [ cellHelpStyle, styles.placeholderColor ] }>\n\t\t\t\t\t\t{ help }\n\t\t\t\t\t</Text>\n\t\t\t\t) }\n\t\t\t\t{ ! drawTopSeparator && <View style={ separatorStyle() } /> }\n\t\t\t</TouchableRipple>\n\t\t);\n\t}\n}\n\nexport default withPreferredColorScheme( BottomSheetCell );\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAaA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IA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AAA,GAAAc,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_components","_icons","_element","_i18n","_compose","_styles","_interopRequireDefault","_cellStyles","_ripple","_lockIcon","isIOS","Platform","OS","BottomSheetCell","Component","constructor","props","arguments","state","isEditingValue","autoFocus","isScreenReaderEnabled","handleScreenReaderToggled","bind","isCurrent","componentDidUpdate","prevProps","prevState","_valueTextInput","focus","componentDidMount","a11yInfoChangeSubscription","AccessibilityInfo","addEventListener","then","setState","componentWillUnmount","remove","typeToKeyboardType","type","step","keyboardType","Math","abs","render","accessible","accessibilityLabel","accessibilityHint","accessibilityRole","disabled","disabledStyle","styles","cellDisabled","showLockIcon","activeOpacity","onPress","onLongPress","label","subLabel","value","valuePlaceholder","icon","leftAlign","iconStyle","labelStyle","valueStyle","cellContainerStyle","cellRowContainerStyle","onChangeValue","onSubmit","children","editable","isSelected","separatorType","style","getStylesFromColorScheme","customActionButton","borderless","help","valueProps","showValue","undefined","isValueEditable","cellLabelStyle","cellLabel","cellTextDark","cellLabelCenteredStyle","cellLabelCentered","cellLabelLeftAlignNoIconStyle","cellLabelLeftAlignNoIcon","defaultMissingIconAndValue","defaultLabelStyle","defaultSubLabelStyleText","cellSubLabelText","cellSubLabelTextDark","drawSeparator","separatorStyle","drawTopSeparator","cellContainerStyles","cellContainer","rowContainerStyles","cellRowContainer","isInteractive","onCellPress","startEditing","finishEditing","defaultSeparatorStyle","separator","separatorDark","cellSeparatorStyle","cellSeparator","cellSeparatorDark","leftMarginStyle","platformStyles","separatorMarginLeft","getValueComponent","styleRTL","I18nManager","isRTL","cellValueRTL","cellValueStyle","cellValue","textInputStyle","placeholderTextColor","placeholderColorDisabled","placeholderColorDisabledDark","color","placeholderColor","textStyle","shouldShowPlaceholder","_react","createElement","TextInput","ref","c","numberOfLines","placeholder","onChangeText","pointerEvents","onFocus","onBlur","onSubmitEditing","Text","ellipsizeMode","getAccessibilityLabel","sprintf","_x","iconStyleBase","iconDark","resetButtonStyle","resetButton","resetButtonDark","cellHelpStyle","cellHelpLabel","cellHelpLabelIOS","containerPointerEvents","title","handler","opacity","default","__","clipToBounds","View","cellRowIcon","Icon","lock","size","fill","isPressed","labelIconSeparator","TouchableOpacity","check","testID","_default","exports","withPreferredColorScheme"],"sources":["@wordpress/components/src/mobile/bottom-sheet/cell.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tTouchableOpacity,\n\tText,\n\tView,\n\tTextInput,\n\tI18nManager,\n\tAccessibilityInfo,\n\tPlatform,\n} from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { Icon } from '@wordpress/components';\nimport { check } from '@wordpress/icons';\nimport { Component } from '@wordpress/element';\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { withPreferredColorScheme } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport platformStyles from './cellStyles.scss';\nimport TouchableRipple from './ripple';\nimport LockIcon from './lock-icon';\n\nconst isIOS = Platform.OS === 'ios';\nclass BottomSheetCell extends Component {\n\tconstructor( props ) {\n\t\tsuper( ...arguments );\n\t\tthis.state = {\n\t\t\tisEditingValue: props.autoFocus || false,\n\t\t\tisScreenReaderEnabled: false,\n\t\t};\n\n\t\tthis.handleScreenReaderToggled =\n\t\t\tthis.handleScreenReaderToggled.bind( this );\n\n\t\tthis.isCurrent = false;\n\t}\n\n\tcomponentDidUpdate( prevProps, prevState ) {\n\t\tif ( ! prevState.isEditingValue && this.state.isEditingValue ) {\n\t\t\tthis._valueTextInput.focus();\n\t\t}\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.isCurrent = true;\n\t\tthis.a11yInfoChangeSubscription = AccessibilityInfo.addEventListener(\n\t\t\t'screenReaderChanged',\n\t\t\tthis.handleScreenReaderToggled\n\t\t);\n\n\t\tAccessibilityInfo.isScreenReaderEnabled().then(\n\t\t\t( isScreenReaderEnabled ) => {\n\t\t\t\tif ( this.isCurrent && isScreenReaderEnabled ) {\n\t\t\t\t\tthis.setState( { isScreenReaderEnabled } );\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.isCurrent = false;\n\t\tthis.a11yInfoChangeSubscription.remove();\n\t}\n\n\thandleScreenReaderToggled( isScreenReaderEnabled ) {\n\t\tthis.setState( { isScreenReaderEnabled } );\n\t}\n\n\ttypeToKeyboardType( type, step ) {\n\t\tlet keyboardType = `default`;\n\t\tif ( type === `number` ) {\n\t\t\tif ( step && Math.abs( step ) < 1 ) {\n\t\t\t\tkeyboardType = `decimal-pad`;\n\t\t\t} else {\n\t\t\t\tkeyboardType = `number-pad`;\n\t\t\t}\n\t\t}\n\t\treturn keyboardType;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\taccessible,\n\t\t\taccessibilityLabel,\n\t\t\taccessibilityHint,\n\t\t\taccessibilityRole,\n\t\t\tdisabled = false,\n\t\t\tdisabledStyle = styles.cellDisabled,\n\t\t\tshowLockIcon = true,\n\t\t\tactiveOpacity,\n\t\t\tonPress,\n\t\t\tonLongPress,\n\t\t\tlabel,\n\t\t\tsubLabel,\n\t\t\tvalue,\n\t\t\tvaluePlaceholder = '',\n\t\t\ticon,\n\t\t\tleftAlign,\n\t\t\ticonStyle = {},\n\t\t\tlabelStyle = {},\n\t\t\tvalueStyle = {},\n\t\t\tcellContainerStyle = {},\n\t\t\tcellRowContainerStyle = {},\n\t\t\tonChangeValue,\n\t\t\tonSubmit,\n\t\t\tchildren,\n\t\t\teditable = true,\n\t\t\tisSelected = false,\n\t\t\tseparatorType,\n\t\t\tstyle = {},\n\t\t\tgetStylesFromColorScheme,\n\t\t\tcustomActionButton,\n\t\t\ttype,\n\t\t\tstep,\n\t\t\tborderless,\n\t\t\thelp,\n\t\t\t...valueProps\n\t\t} = this.props;\n\n\t\tconst showValue = value !== undefined;\n\t\tconst isValueEditable = editable && onChangeValue !== undefined;\n\t\tconst cellLabelStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabel,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst cellLabelCenteredStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabelCentered,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst cellLabelLeftAlignNoIconStyle = getStylesFromColorScheme(\n\t\t\tstyles.cellLabelLeftAlignNoIcon,\n\t\t\tstyles.cellTextDark\n\t\t);\n\t\tconst defaultMissingIconAndValue = leftAlign\n\t\t\t? cellLabelLeftAlignNoIconStyle\n\t\t\t: cellLabelCenteredStyle;\n\t\tconst defaultLabelStyle =\n\t\t\tshowValue || customActionButton || icon\n\t\t\t\t? cellLabelStyle\n\t\t\t\t: defaultMissingIconAndValue;\n\n\t\tconst defaultSubLabelStyleText = getStylesFromColorScheme(\n\t\t\tstyles.cellSubLabelText,\n\t\t\tstyles.cellSubLabelTextDark\n\t\t);\n\n\t\tconst drawSeparator =\n\t\t\t( separatorType && separatorType !== 'none' ) ||\n\t\t\tseparatorStyle === undefined;\n\t\tconst drawTopSeparator =\n\t\t\tdrawSeparator && separatorType === 'topFullWidth';\n\n\t\tconst cellContainerStyles = [\n\t\t\tstyles.cellContainer,\n\t\t\tcellContainerStyle,\n\t\t];\n\t\tconst rowContainerStyles = [\n\t\t\tstyles.cellRowContainer,\n\t\t\tcellRowContainerStyle,\n\t\t];\n\n\t\tconst isInteractive =\n\t\t\tisValueEditable ||\n\t\t\tonPress !== undefined ||\n\t\t\tonLongPress !== undefined;\n\n\t\tconst onCellPress = () => {\n\t\t\tif ( isValueEditable ) {\n\t\t\t\tstartEditing();\n\t\t\t} else if ( onPress !== undefined ) {\n\t\t\t\tonPress();\n\t\t\t}\n\t\t};\n\n\t\tconst finishEditing = () => {\n\t\t\tthis.setState( { isEditingValue: false } );\n\t\t};\n\n\t\tconst startEditing = () => {\n\t\t\tif ( this.state.isEditingValue === false ) {\n\t\t\t\tthis.setState( { isEditingValue: true } );\n\t\t\t}\n\t\t};\n\n\t\tconst separatorStyle = () => {\n\t\t\t// eslint-disable-next-line @wordpress/no-unused-vars-before-return\n\t\t\tconst defaultSeparatorStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.separator,\n\t\t\t\tstyles.separatorDark\n\t\t\t);\n\t\t\tconst cellSeparatorStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.cellSeparator,\n\t\t\t\tstyles.cellSeparatorDark\n\t\t\t);\n\t\t\tconst leftMarginStyle = {\n\t\t\t\t...cellSeparatorStyle,\n\t\t\t\t...platformStyles.separatorMarginLeft,\n\t\t\t};\n\t\t\tswitch ( separatorType ) {\n\t\t\t\tcase 'leftMargin':\n\t\t\t\t\treturn leftMarginStyle;\n\t\t\t\tcase 'fullWidth':\n\t\t\t\tcase 'topFullWidth':\n\t\t\t\t\treturn defaultSeparatorStyle;\n\t\t\t\tcase 'none':\n\t\t\t\t\treturn undefined;\n\t\t\t\tcase undefined:\n\t\t\t\t\tif ( showValue && icon ) {\n\t\t\t\t\t\treturn leftMarginStyle;\n\t\t\t\t\t}\n\t\t\t\t\treturn defaultSeparatorStyle;\n\t\t\t}\n\t\t};\n\n\t\tconst getValueComponent = () => {\n\t\t\tconst styleRTL = I18nManager.isRTL && styles.cellValueRTL;\n\t\t\tconst cellValueStyle = this.props.getStylesFromColorScheme(\n\t\t\t\tstyles.cellValue,\n\t\t\t\tstyles.cellTextDark\n\t\t\t);\n\t\t\tconst textInputStyle = {\n\t\t\t\t...cellValueStyle,\n\t\t\t\t...valueStyle,\n\t\t\t\t...styleRTL,\n\t\t\t};\n\t\t\tconst placeholderTextColor = disabled\n\t\t\t\t? this.props.getStylesFromColorScheme(\n\t\t\t\t\t\tstyles.placeholderColorDisabled,\n\t\t\t\t\t\tstyles.placeholderColorDisabledDark\n\t\t\t\t ).color\n\t\t\t\t: styles.placeholderColor.color;\n\t\t\tconst textStyle = {\n\t\t\t\t...( disabled && styles.cellDisabled ),\n\t\t\t\t...cellValueStyle,\n\t\t\t\t...valueStyle,\n\t\t\t};\n\n\t\t\t// To be able to show the `middle` ellipsizeMode on editable cells\n\t\t\t// we show the TextInput just when the user wants to edit the value,\n\t\t\t// and the Text component to display it.\n\t\t\t// We also show the TextInput to display placeholder.\n\t\t\tconst shouldShowPlaceholder = isInteractive && value === '';\n\t\t\treturn this.state.isEditingValue || shouldShowPlaceholder ? (\n\t\t\t\t<TextInput\n\t\t\t\t\tref={ ( c ) => ( this._valueTextInput = c ) }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tstyle={ textInputStyle }\n\t\t\t\t\tvalue={ value }\n\t\t\t\t\tplaceholder={ valuePlaceholder }\n\t\t\t\t\tplaceholderTextColor={ placeholderTextColor }\n\t\t\t\t\tonChangeText={ onChangeValue }\n\t\t\t\t\teditable={ isValueEditable && ! disabled }\n\t\t\t\t\tpointerEvents={\n\t\t\t\t\t\tthis.state.isEditingValue ? 'auto' : 'none'\n\t\t\t\t\t}\n\t\t\t\t\tonFocus={ startEditing }\n\t\t\t\t\tonBlur={ finishEditing }\n\t\t\t\t\tonSubmitEditing={ onSubmit }\n\t\t\t\t\tkeyboardType={ this.typeToKeyboardType( type, step ) }\n\t\t\t\t\tdisabled={ disabled }\n\t\t\t\t\t{ ...valueProps }\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ textStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ value }\n\t\t\t\t</Text>\n\t\t\t);\n\t\t};\n\n\t\tconst getAccessibilityLabel = () => {\n\t\t\tif ( accessible === false ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( accessibilityLabel || ! showValue ) {\n\t\t\t\treturn accessibilityLabel || label;\n\t\t\t}\n\n\t\t\tif ( ! value ) {\n\t\t\t\treturn ! help\n\t\t\t\t\t? sprintf(\n\t\t\t\t\t\t\t/* translators: accessibility text. Empty state of a inline textinput cell. %s: The cell's title */\n\t\t\t\t\t\t\t_x( '%s. Empty', 'inline textinput cell' ),\n\t\t\t\t\t\t\tlabel\n\t\t\t\t\t )\n\t\t\t\t\t: // Separating by ',' is necessary to make a pause on urls (non-capitalized text)\n\t\t\t\t\t sprintf(\n\t\t\t\t\t\t\t/* translators: accessibility text. Empty state of a inline textinput cell. %1: Cell title, %2: cell help. */\n\t\t\t\t\t\t\t_x( '%1$s, %2$s. Empty', 'inline textinput cell' ),\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t\thelp\n\t\t\t\t\t );\n\t\t\t}\n\t\t\treturn ! help\n\t\t\t\t? sprintf(\n\t\t\t\t\t\t/* translators: accessibility text. Inline textinput title and value.%1: Cell title, %2: cell value. */\n\t\t\t\t\t\t_x( '%1$s, %2$s', 'inline textinput cell' ),\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t\tvalue\n\t\t\t\t ) // Separating by ',' is necessary to make a pause on urls (non-capitalized text)\n\t\t\t\t: sprintf(\n\t\t\t\t\t\t/* translators: accessibility text. Inline textinput title, value and help text.%1: Cell title, %2: cell value, , %3: cell help. */\n\t\t\t\t\t\t_x( '%1$s, %2$s, %3$s', 'inline textinput cell' ),\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\thelp\n\t\t\t\t );\n\t\t};\n\n\t\tconst iconStyleBase = getStylesFromColorScheme(\n\t\t\tstyles.icon,\n\t\t\tstyles.iconDark\n\t\t);\n\t\tconst resetButtonStyle = getStylesFromColorScheme(\n\t\t\tstyles.resetButton,\n\t\t\tstyles.resetButtonDark\n\t\t);\n\t\tconst cellHelpStyle = [\n\t\t\tstyles.cellHelpLabel,\n\t\t\tisIOS && styles.cellHelpLabelIOS,\n\t\t];\n\t\tconst containerPointerEvents =\n\t\t\tthis.state.isScreenReaderEnabled && accessible ? 'none' : 'auto';\n\t\tconst { title, handler } = customActionButton || {};\n\n\t\tconst opacity =\n\t\t\tactiveOpacity !== undefined\n\t\t\t\t? activeOpacity\n\t\t\t\t: platformStyles.activeOpacity?.opacity;\n\n\t\treturn (\n\t\t\t<TouchableRipple\n\t\t\t\taccessible={\n\t\t\t\t\taccessible !== undefined\n\t\t\t\t\t\t? accessible\n\t\t\t\t\t\t: ! this.state.isEditingValue\n\t\t\t\t}\n\t\t\t\taccessibilityLabel={ getAccessibilityLabel() }\n\t\t\t\taccessibilityRole={ accessibilityRole || 'button' }\n\t\t\t\taccessibilityHint={\n\t\t\t\t\tisValueEditable\n\t\t\t\t\t\t? /* translators: accessibility text */\n\t\t\t\t\t\t __( 'Double tap to edit this value' )\n\t\t\t\t\t\t: accessibilityHint\n\t\t\t\t}\n\t\t\t\tdisabled={ disabled || ! isInteractive }\n\t\t\t\tactiveOpacity={ opacity }\n\t\t\t\tonPress={ onCellPress }\n\t\t\t\tonLongPress={ onLongPress }\n\t\t\t\tstyle={ [ styles.clipToBounds, style ] }\n\t\t\t\tborderless={ borderless }\n\t\t\t>\n\t\t\t\t{ drawTopSeparator && <View style={ separatorStyle() } /> }\n\t\t\t\t<View\n\t\t\t\t\tstyle={ cellContainerStyles }\n\t\t\t\t\tpointerEvents={ containerPointerEvents }\n\t\t\t\t>\n\t\t\t\t\t<View style={ rowContainerStyles }>\n\t\t\t\t\t\t<View style={ styles.cellRowContainer }>\n\t\t\t\t\t\t\t{ icon && (\n\t\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\t\t\t\tstyles.cellRowContainer,\n\t\t\t\t\t\t\t\t\t\tstyles.cellRowIcon,\n\t\t\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\t\t\tlock\n\t\t\t\t\t\t\t\t\t\ticon={ icon }\n\t\t\t\t\t\t\t\t\t\tsize={ 24 }\n\t\t\t\t\t\t\t\t\t\tfill={\n\t\t\t\t\t\t\t\t\t\t\ticonStyle.color ||\n\t\t\t\t\t\t\t\t\t\t\ticonStyleBase.color\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tstyle={ iconStyle }\n\t\t\t\t\t\t\t\t\t\tisPressed={ false }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\t\t\tstyle={\n\t\t\t\t\t\t\t\t\t\t\tplatformStyles.labelIconSeparator\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ subLabel && label && (\n\t\t\t\t\t\t\t\t<View>\n\t\t\t\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\t\t\t\t\tdefaultLabelStyle,\n\t\t\t\t\t\t\t\t\t\t\tlabelStyle,\n\t\t\t\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t\t\t<Text style={ defaultSubLabelStyleText }>\n\t\t\t\t\t\t\t\t\t\t{ subLabel }\n\t\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ ! subLabel && label && (\n\t\t\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\t\t\tstyle={ [ defaultLabelStyle, labelStyle ] }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</View>\n\t\t\t\t\t\t{ customActionButton && (\n\t\t\t\t\t\t\t<TouchableOpacity\n\t\t\t\t\t\t\t\tonPress={ handler }\n\t\t\t\t\t\t\t\taccessibilityRole={ 'button' }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Text style={ resetButtonStyle }>\n\t\t\t\t\t\t\t\t\t{ title }\n\t\t\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t\t</TouchableOpacity>\n\t\t\t\t\t\t) }\n\t\t\t\t\t</View>\n\t\t\t\t\t{ isSelected && (\n\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\t\tfill={ platformStyles.isSelected.color }\n\t\t\t\t\t\t\ttestID=\"bottom-sheet-cell-selected-icon\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t\t{ showValue && getValueComponent() }\n\t\t\t\t\t<View\n\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\tdisabled && disabledStyle,\n\t\t\t\t\t\t\tstyles.cellRowContainer,\n\t\t\t\t\t\t] }\n\t\t\t\t\t\tpointerEvents={ disabled ? 'none' : 'auto' }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ children }\n\t\t\t\t\t</View>\n\t\t\t\t\t{ disabled && showLockIcon && (\n\t\t\t\t\t\t<View style={ styles.cellDisabled }>\n\t\t\t\t\t\t\t<LockIcon />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t) }\n\t\t\t\t</View>\n\t\t\t\t{ help && (\n\t\t\t\t\t<Text style={ [ cellHelpStyle, styles.placeholderColor ] }>\n\t\t\t\t\t\t{ help }\n\t\t\t\t\t</Text>\n\t\t\t\t) }\n\t\t\t\t{ ! drawTopSeparator && <View style={ separatorStyle() } /> }\n\t\t\t</TouchableRipple>\n\t\t);\n\t}\n}\n\nexport default withPreferredColorScheme( BottomSheetCell );\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAaA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AAKA,IAAAM,OAAA,GAAAC,sBAAA,CAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAD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,GAC7BO,KACG,CACW,CAEd,CAAC,EACLpF,UAAU,IACX,IAAA0D,MAAA,CAAAC,aAAA,EAACnI,WAAA,CAAAoK,IAAI;MACJvG,IAAI,EAAG8G,YAAO;MACdJ,IAAI,EAAGtD,mBAAc,CAACzC,UAAU,CAACsD,KAAO;MACxC8C,MAAM,EAAC;IAAiC,CACxC,CACD,EACC5F,SAAS,IAAImC,iBAAiB,CAAC,CAAC,EAClC,IAAAe,MAAA,CAAAC,aAAA,EAACrI,YAAA,CAAAoK,IAAI;MACJxF,KAAK,EAAG,CACPzB,QAAQ,IAAIC,aAAa,EACzBC,eAAM,CAACkD,gBAAgB,CACrB;MACHqC,aAAa,EAAGzF,QAAQ,GAAG,MAAM,GAAG;IAAQ,GAE1CqB,QACG,CAAC,EACLrB,QAAQ,IAAII,YAAY,IACzB,IAAA6E,MAAA,CAAAC,aAAA,EAACrI,YAAA,CAAAoK,IAAI;MAACxF,KAAK,EAAGvB,eAAM,CAACC;IAAc,GAClC,IAAA8E,MAAA,CAAAC,aAAA,EAAC1H,SAAA,CAAAsJ,OAAQ,MAAE,CACN,CAEF,CAAC,EACLjF,IAAI,IACL,IAAAoD,MAAA,CAAAC,aAAA,EAACrI,YAAA,CAAAgJ,IAAI;MAACpE,KAAK,EAAG,CAAE8E,aAAa,EAAErG,eAAM,CAAC4E,gBAAgB;IAAI,GACvDjD,IACG,CACN,EACC,CAAEmB,gBAAgB,IAAI,IAAAiC,MAAA,CAAAC,aAAA,EAACrI,YAAA,CAAAoK,IAAI;MAACxF,KAAK,EAAGsB,cAAc,CAAC;IAAG,CAAE,CAC1C,CAAC;EAEpB;AACD;AAAC,IAAA6E,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEc,IAAAgB,iCAAwB,EAAElK,eAAgB,CAAC"}
@@ -19,6 +19,5 @@ const chevronBack = (0, _react.createElement)(_primitives.SVG, {
19
19
  }, (0, _react.createElement)(_primitives.Path, {
20
20
  d: "M9.62586 20.5975C9.89618 20.8579 10.2253 21 10.6014 21C11.3888 21 12 20.3844 12 19.6032C12 19.2125 11.8472 18.8574 11.5769 18.5851L3.34966 10.4882L11.5769 2.41488C11.8472 2.14262 12 1.77565 12 1.39684C12 0.615558 11.3888 0 10.6014 0C10.2253 0 9.89618 0.142052 9.63761 0.40248L0.493634 9.3991C0.164545 9.70688 0 10.0857 0 10.5C0 10.9143 0.164545 11.2694 0.48188 11.5891L9.62586 20.5975Z"
21
21
  }));
22
- var _default = chevronBack;
23
- exports.default = _default;
22
+ var _default = exports.default = chevronBack;
24
23
  //# sourceMappingURL=chevron-back.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_primitives","require","chevronBack","_react","createElement","SVG","width","height","viewBox","xmlns","Path","d","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/chevron-back.native.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\n\n// Used for the back button of the iOS Bottom Sheet\nconst chevronBack = (\n\t<SVG\n\t\twidth=\"12\"\n\t\theight=\"21\"\n\t\tviewBox=\"0 0 12 21\"\n\t\txmlns=\"http://www.w3.org/2000/SVG\"\n\t>\n\t\t<Path d=\"M9.62586 20.5975C9.89618 20.8579 10.2253 21 10.6014 21C11.3888 21 12 20.3844 12 19.6032C12 19.2125 11.8472 18.8574 11.5769 18.5851L3.34966 10.4882L11.5769 2.41488C11.8472 2.14262 12 1.77565 12 1.39684C12 0.615558 11.3888 0 10.6014 0C10.2253 0 9.89618 0.142052 9.63761 0.40248L0.493634 9.3991C0.164545 9.70688 0 10.0857 0 10.5C0 10.9143 0.164545 11.2694 0.48188 11.5891L9.62586 20.5975Z\" />\n\t</SVG>\n);\n\nexport default chevronBack;\n"],"mappings":";;;;;;;AAGA,IAAAA,WAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGA;AACA,MAAMC,WAAW,GAChB,IAAAC,MAAA,CAAAC,aAAA,EAACJ,WAAA,CAAAK,GAAG;EACHC,KAAK,EAAC,IAAI;EACVC,MAAM,EAAC,IAAI;EACXC,OAAO,EAAC,WAAW;EACnBC,KAAK,EAAC;AAA4B,GAElC,IAAAN,MAAA,CAAAC,aAAA,EAACJ,WAAA,CAAAU,IAAI;EAACC,CAAC,EAAC;AAAmY,CAAE,CACzY,CACL;AAAC,IAAAC,QAAA,GAEaV,WAAW;AAAAW,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"names":["_primitives","require","chevronBack","_react","createElement","SVG","width","height","viewBox","xmlns","Path","d","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/chevron-back.native.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\n\n// Used for the back button of the iOS Bottom Sheet\nconst chevronBack = (\n\t<SVG\n\t\twidth=\"12\"\n\t\theight=\"21\"\n\t\tviewBox=\"0 0 12 21\"\n\t\txmlns=\"http://www.w3.org/2000/SVG\"\n\t>\n\t\t<Path d=\"M9.62586 20.5975C9.89618 20.8579 10.2253 21 10.6014 21C11.3888 21 12 20.3844 12 19.6032C12 19.2125 11.8472 18.8574 11.5769 18.5851L3.34966 10.4882L11.5769 2.41488C11.8472 2.14262 12 1.77565 12 1.39684C12 0.615558 11.3888 0 10.6014 0C10.2253 0 9.89618 0.142052 9.63761 0.40248L0.493634 9.3991C0.164545 9.70688 0 10.0857 0 10.5C0 10.9143 0.164545 11.2694 0.48188 11.5891L9.62586 20.5975Z\" />\n\t</SVG>\n);\n\nexport default chevronBack;\n"],"mappings":";;;;;;;AAGA,IAAAA,WAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGA;AACA,MAAMC,WAAW,GAChB,IAAAC,MAAA,CAAAC,aAAA,EAACJ,WAAA,CAAAK,GAAG;EACHC,KAAK,EAAC,IAAI;EACVC,MAAM,EAAC,IAAI;EACXC,OAAO,EAAC,WAAW;EACnBC,KAAK,EAAC;AAA4B,GAElC,IAAAN,MAAA,CAAAC,aAAA,EAACJ,WAAA,CAAAU,IAAI;EAACC,CAAC,EAAC;AAAmY,CAAE,CACzY,CACL;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaZ,WAAW"}
@@ -31,6 +31,5 @@ function FooterMessageCell({
31
31
  }]
32
32
  });
33
33
  }
34
- var _default = (0, _compose.withPreferredColorScheme)(FooterMessageCell);
35
- exports.default = _default;
34
+ var _default = exports.default = (0, _compose.withPreferredColorScheme)(FooterMessageCell);
36
35
  //# sourceMappingURL=footer-message-cell.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_compose","require","_cell","_interopRequireDefault","_styles","FooterMessageCell","textAlign","props","_react","createElement","default","editable","value","accessibilityRole","labelStyle","styles","footerMessageCell","_default","withPreferredColorScheme","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/footer-message-cell.native.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { withPreferredColorScheme } from '@wordpress/compose';\n/**\n * Internal dependencies\n */\nimport Cell from './cell';\nimport styles from './styles.scss';\n\nfunction FooterMessageCell( { textAlign = 'left', ...props } ) {\n\treturn (\n\t\t<Cell\n\t\t\t{ ...props }\n\t\t\teditable={ false }\n\t\t\tvalue={ '' }\n\t\t\taccessibilityRole={ 'text' }\n\t\t\tlabelStyle={ [ styles.footerMessageCell, { textAlign } ] }\n\t\t/>\n\t);\n}\n\nexport default withPreferredColorScheme( FooterMessageCell );\n"],"mappings":";;;;;;;;AAGA,IAAAA,QAAA,GAAAC,OAAA;AAIA,IAAAC,KAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAD,sBAAA,CAAAF,OAAA;AARA;AACA;AACA;;AAEA;AACA;AACA;;AAIA,SAASI,iBAAiBA,CAAE;EAAEC,SAAS,GAAG,MAAM;EAAE,GAAGC;AAAM,CAAC,EAAG;EAC9D,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACP,KAAA,CAAAQ,OAAI;IAAA,GACCH,KAAK;IACVI,QAAQ,EAAG,KAAO;IAClBC,KAAK,EAAG,EAAI;IACZC,iBAAiB,EAAG,MAAQ;IAC5BC,UAAU,EAAG,CAAEC,eAAM,CAACC,iBAAiB,EAAE;MAAEV;IAAU,CAAC;EAAI,CAC1D,CAAC;AAEJ;AAAC,IAAAW,QAAA,GAEc,IAAAC,iCAAwB,EAAEb,iBAAkB,CAAC;AAAAc,OAAA,CAAAT,OAAA,GAAAO,QAAA"}
1
+ {"version":3,"names":["_compose","require","_cell","_interopRequireDefault","_styles","FooterMessageCell","textAlign","props","_react","createElement","default","editable","value","accessibilityRole","labelStyle","styles","footerMessageCell","_default","exports","withPreferredColorScheme"],"sources":["@wordpress/components/src/mobile/bottom-sheet/footer-message-cell.native.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { withPreferredColorScheme } from '@wordpress/compose';\n/**\n * Internal dependencies\n */\nimport Cell from './cell';\nimport styles from './styles.scss';\n\nfunction FooterMessageCell( { textAlign = 'left', ...props } ) {\n\treturn (\n\t\t<Cell\n\t\t\t{ ...props }\n\t\t\teditable={ false }\n\t\t\tvalue={ '' }\n\t\t\taccessibilityRole={ 'text' }\n\t\t\tlabelStyle={ [ styles.footerMessageCell, { textAlign } ] }\n\t\t/>\n\t);\n}\n\nexport default withPreferredColorScheme( FooterMessageCell );\n"],"mappings":";;;;;;;;AAGA,IAAAA,QAAA,GAAAC,OAAA;AAIA,IAAAC,KAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAD,sBAAA,CAAAF,OAAA;AARA;AACA;AACA;;AAEA;AACA;AACA;;AAIA,SAASI,iBAAiBA,CAAE;EAAEC,SAAS,GAAG,MAAM;EAAE,GAAGC;AAAM,CAAC,EAAG;EAC9D,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACP,KAAA,CAAAQ,OAAI;IAAA,GACCH,KAAK;IACVI,QAAQ,EAAG,KAAO;IAClBC,KAAK,EAAG,EAAI;IACZC,iBAAiB,EAAG,MAAQ;IAC5BC,UAAU,EAAG,CAAEC,eAAM,CAACC,iBAAiB,EAAE;MAAEV;IAAU,CAAC;EAAI,CAC1D,CAAC;AAEJ;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAR,OAAA,GAEc,IAAAS,iCAAwB,EAAEd,iBAAkB,CAAC"}
@@ -31,6 +31,5 @@ function FooterMessageLink({
31
31
  onPress: () => _reactNative.Linking.openURL(href)
32
32
  }, value);
33
33
  }
34
- var _default = FooterMessageLink;
35
- exports.default = _default;
34
+ var _default = exports.default = FooterMessageLink;
36
35
  //# sourceMappingURL=footer-message-link.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_compose","_styles","_interopRequireDefault","FooterMessageLink","href","value","textStyle","usePreferredColorSchemeStyle","styles","footerMessageLink","footerMessageLinkDark","_react","createElement","Text","style","onPress","Linking","openURL","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { Text, Linking } from 'react-native';\n/**\n * WordPress dependencies\n */\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\n\nfunction FooterMessageLink( { href, value } ) {\n\tconst textStyle = usePreferredColorSchemeStyle(\n\t\tstyles.footerMessageLink,\n\t\tstyles.footerMessageLinkDark\n\t);\n\treturn (\n\t\t<Text style={ textStyle } onPress={ () => Linking.openURL( href ) }>\n\t\t\t{ value }\n\t\t</Text>\n\t);\n}\n\nexport default FooterMessageLink;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,QAAA,GAAAD,OAAA;AAIA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AAXA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAGA,SAASI,iBAAiBA,CAAE;EAAEC,IAAI;EAAEC;AAAM,CAAC,EAAG;EAC7C,MAAMC,SAAS,GAAG,IAAAC,qCAA4B,EAC7CC,eAAM,CAACC,iBAAiB,EACxBD,eAAM,CAACE,qBACR,CAAC;EACD,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACd,YAAA,CAAAe,IAAI;IAACC,KAAK,EAAGR,SAAW;IAACS,OAAO,EAAGA,CAAA,KAAMC,oBAAO,CAACC,OAAO,CAAEb,IAAK;EAAG,GAChEC,KACG,CAAC;AAET;AAAC,IAAAa,QAAA,GAEcf,iBAAiB;AAAAgB,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_compose","_styles","_interopRequireDefault","FooterMessageLink","href","value","textStyle","usePreferredColorSchemeStyle","styles","footerMessageLink","footerMessageLinkDark","_react","createElement","Text","style","onPress","Linking","openURL","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { Text, Linking } from 'react-native';\n/**\n * WordPress dependencies\n */\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\n\nfunction FooterMessageLink( { href, value } ) {\n\tconst textStyle = usePreferredColorSchemeStyle(\n\t\tstyles.footerMessageLink,\n\t\tstyles.footerMessageLinkDark\n\t);\n\treturn (\n\t\t<Text style={ textStyle } onPress={ () => Linking.openURL( href ) }>\n\t\t\t{ value }\n\t\t</Text>\n\t);\n}\n\nexport default FooterMessageLink;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,QAAA,GAAAD,OAAA;AAIA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AAXA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAGA,SAASI,iBAAiBA,CAAE;EAAEC,IAAI;EAAEC;AAAM,CAAC,EAAG;EAC7C,MAAMC,SAAS,GAAG,IAAAC,qCAA4B,EAC7CC,eAAM,CAACC,iBAAiB,EACxBD,eAAM,CAACE,qBACR,CAAC;EACD,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACd,YAAA,CAAAe,IAAI;IAACC,KAAK,EAAGR,SAAW;IAACS,OAAO,EAAGA,CAAA,KAAMC,oBAAO,CAACC,OAAO,CAAEb,IAAK;EAAG,GAChEC,KACG,CAAC;AAET;AAAC,IAAAa,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcjB,iBAAiB"}
@@ -545,6 +545,5 @@ ThemedBottomSheet.LinkSuggestionItemCell = _linkSuggestionItemCell.default;
545
545
  ThemedBottomSheet.RadioCell = _radioCell.default;
546
546
  ThemedBottomSheet.NavigationScreen = _navigationScreen.default;
547
547
  ThemedBottomSheet.NavigationContainer = _navigationContainer.default;
548
- var _default = ThemedBottomSheet;
549
- exports.default = _default;
548
+ var _default = exports.default = ThemedBottomSheet;
550
549
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_reactNativeModal","_interopRequireDefault","_reactNativeSafeArea","_reactNativeBridge","_element","_compose","_styles","_button","_cell","_cyclePickerCell","_pickerCell","_switchCell","_rangeCell","_colorCell","_linkCell","_linkSuggestionItemCell","_radioCell","_navigationScreen","_navigationContainer","_keyboardAvoidingView","_subSheet","_navBar","_bottomSheetContext","DEFAULT_LAYOUT_ANIMATION","LayoutAnimation","Presets","easeInEaseOut","BottomSheet","Component","constructor","arguments","onSafeAreaInsetsUpdate","bind","onScroll","isScrolling","onShouldEnableScroll","onDismiss","onShouldSetBottomSheetMaxHeight","setIsFullScreen","onDimensionsChange","onHeaderLayout","onCloseBottomSheet","onHandleClosingBottomSheet","onHardwareButtonPress","onHandleHardwareButtonPress","keyboardShow","keyboardHide","headerHeight","keyboardHeight","lastLayoutAnimation","lastLayoutAnimationFinished","state","safeAreaBottomInset","safeAreaTopInset","bounces","maxHeight","scrollEnabled","handleClosingBottomSheet","handleHardwareButtonPress","isMaxHeightSet","isFullScreen","props","e","isVisible","height","endCoordinates","performKeyboardLayoutAnimation","onSetMaxHeight","onKeyboardShow","onKeyboardHide","event","duration","easing","animationConfig","type","Types","layoutAnimation","update","create","property","Properties","opacity","delete","configureNext","performRegularLayoutAnimation","useLastLayoutAnimation","Platform","OS","componentDidMount","SafeArea","getSafeAreaInsetsForRootView","then","androidModalClosedSubscription","subscribeAndroidModalClosed","onClose","dimensionsChangeSubscription","Dimensions","addEventListener","keyboardShowListener","Keyboard","addListener","keyboardHideListener","safeAreaEventSubscription","componentWillUnmount","remove","showAndroidSoftKeyboard","result","safeAreaInsets","bottom","top","setState","width","get","statusBarHeight","StatusBar","currentHeight","maxHeightWithOpenKeyboard","Math","min","nativeEvent","layout","round","isCloseToBottom","layoutMeasurement","contentOffset","contentSize","y","isCloseToTop","value","action","getContentStyle","paddingBottom","styles","scrollableContent","render","title","leftButton","rightButton","header","hideHeader","style","contentStyle","getStylesFromColorScheme","children","withHeaderSeparator","hasNavigation","rest","panResponder","PanResponder","onMoveShouldSetPanResponder","evt","gestureState","dy","backgroundStyle","background","backgroundDark","bottomSheetHeaderTitleStyle","bottomSheetHeaderTitle","bottomSheetHeaderTitleDark","listStyle","flexGrow","flexShrink","setMinHeightToMaxHeight","minHeight","listProps","disableScrollViewPanResponder","onScrollBeginDrag","onScrollEndDrag","scrollEventThrottle","contentContainerStyle","content","emptyHeader","automaticallyAdjustContentInsets","WrapperView","View","ScrollView","getHeader","_react","createElement","Fragment","bottomSheetHeader","flex","Text","maxFontSizeMultiplier","separator","showDragIndicator","allowDragIndicator","default","bottomModal","animationInTiming","animationOutTiming","backdropTransitionInTiming","backdropTransitionOutTiming","backdropOpacity","onBackdropPress","onBackButtonPress","onSwipeComplete","undefined","onModalHide","swipeDirection","onMoveShouldSetResponder","panHandlers","onMoveShouldSetResponderCapture","onAccessibilityEscape","testID","hardwareAccelerated","useNativeDriverForBackdrop","behavior","borderColor","marginTop","backgroundFullScreen","keyboardVerticalOffset","onLayout","dragIndicator","BottomSheetProvider","shouldEnableBottomSheetScroll","shouldEnableBottomSheetMaxHeight","isBottomSheetContentScrolling","TouchableHighlight","accessible","getWidth","maxWidth","ThemedBottomSheet","withPreferredColorScheme","Button","Cell","SubSheet","BottomSheetSubSheet","NavBar","CyclePickerCell","PickerCell","SwitchCell","RangeCell","ColorCell","LinkCell","LinkSuggestionItemCell","RadioCell","NavigationScreen","NavigationContainer","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/index.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tDimensions,\n\tKeyboard,\n\tLayoutAnimation,\n\tPanResponder,\n\tPlatform,\n\tScrollView,\n\tStatusBar,\n\tText,\n\tTouchableHighlight,\n\tView,\n} from 'react-native';\nimport Modal from 'react-native-modal';\nimport SafeArea from 'react-native-safe-area';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tsubscribeAndroidModalClosed,\n\tshowAndroidSoftKeyboard,\n} from '@wordpress/react-native-bridge';\nimport { Component } from '@wordpress/element';\nimport { withPreferredColorScheme } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport Button from './button';\nimport Cell from './cell';\nimport CyclePickerCell from './cycle-picker-cell';\nimport PickerCell from './picker-cell';\nimport SwitchCell from './switch-cell';\nimport RangeCell from './range-cell';\nimport ColorCell from './color-cell';\nimport LinkCell from './link-cell';\nimport LinkSuggestionItemCell from './link-suggestion-item-cell';\nimport RadioCell from './radio-cell';\nimport NavigationScreen from './bottom-sheet-navigation/navigation-screen';\nimport NavigationContainer from './bottom-sheet-navigation/navigation-container';\nimport KeyboardAvoidingView from './keyboard-avoiding-view';\nimport BottomSheetSubSheet from './sub-sheet';\nimport NavBar from './nav-bar';\nimport { BottomSheetProvider } from './bottom-sheet-context';\n\nconst DEFAULT_LAYOUT_ANIMATION = LayoutAnimation.Presets.easeInEaseOut;\n\nclass BottomSheet extends Component {\n\tconstructor() {\n\t\tsuper( ...arguments );\n\t\tthis.onSafeAreaInsetsUpdate = this.onSafeAreaInsetsUpdate.bind( this );\n\t\tthis.onScroll = this.onScroll.bind( this );\n\t\tthis.isScrolling = this.isScrolling.bind( this );\n\t\tthis.onShouldEnableScroll = this.onShouldEnableScroll.bind( this );\n\t\tthis.onDismiss = this.onDismiss.bind( this );\n\t\tthis.onShouldSetBottomSheetMaxHeight =\n\t\t\tthis.onShouldSetBottomSheetMaxHeight.bind( this );\n\n\t\tthis.setIsFullScreen = this.setIsFullScreen.bind( this );\n\n\t\tthis.onDimensionsChange = this.onDimensionsChange.bind( this );\n\t\tthis.onHeaderLayout = this.onHeaderLayout.bind( this );\n\t\tthis.onCloseBottomSheet = this.onCloseBottomSheet.bind( this );\n\t\tthis.onHandleClosingBottomSheet =\n\t\t\tthis.onHandleClosingBottomSheet.bind( this );\n\t\tthis.onHardwareButtonPress = this.onHardwareButtonPress.bind( this );\n\t\tthis.onHandleHardwareButtonPress =\n\t\t\tthis.onHandleHardwareButtonPress.bind( this );\n\t\tthis.keyboardShow = this.keyboardShow.bind( this );\n\t\tthis.keyboardHide = this.keyboardHide.bind( this );\n\n\t\tthis.headerHeight = 0;\n\t\tthis.keyboardHeight = 0;\n\t\tthis.lastLayoutAnimation = null;\n\t\tthis.lastLayoutAnimationFinished = false;\n\n\t\tthis.state = {\n\t\t\tsafeAreaBottomInset: 0,\n\t\t\tsafeAreaTopInset: 0,\n\t\t\tbounces: false,\n\t\t\tmaxHeight: 0,\n\t\t\tscrollEnabled: true,\n\t\t\tisScrolling: false,\n\t\t\thandleClosingBottomSheet: null,\n\t\t\thandleHardwareButtonPress: null,\n\t\t\tisMaxHeightSet: true,\n\t\t\tisFullScreen: this.props.isFullScreen || false,\n\t\t};\n\t}\n\n\tkeyboardShow( e ) {\n\t\tif ( ! this.props.isVisible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst { height } = e.endCoordinates;\n\t\tthis.keyboardHeight = height;\n\t\tthis.performKeyboardLayoutAnimation( e );\n\t\tthis.onSetMaxHeight();\n\t\tthis.props.onKeyboardShow?.();\n\t}\n\n\tkeyboardHide( e ) {\n\t\tif ( ! this.props.isVisible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.keyboardHeight = 0;\n\t\tthis.performKeyboardLayoutAnimation( e );\n\t\tthis.onSetMaxHeight();\n\t\tthis.props.onKeyboardHide?.();\n\t}\n\n\tperformKeyboardLayoutAnimation( event ) {\n\t\tconst { duration, easing } = event;\n\n\t\tif ( duration && easing ) {\n\t\t\t// This layout animation is the same as the React Native's KeyboardAvoidingView component.\n\t\t\t// Reference: https://github.com/facebook/react-native/blob/266b21baf35e052ff28120f79c06c4f6dddc51a9/Libraries/Components/Keyboard/KeyboardAvoidingView.js#L119-L128.\n\t\t\tconst animationConfig = {\n\t\t\t\t// We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m.\n\t\t\t\tduration: duration > 10 ? duration : 10,\n\t\t\t\ttype: LayoutAnimation.Types[ easing ] || 'keyboard',\n\t\t\t};\n\t\t\tconst layoutAnimation = {\n\t\t\t\tduration: animationConfig.duration,\n\t\t\t\tupdate: animationConfig,\n\t\t\t\tcreate: {\n\t\t\t\t\t...animationConfig,\n\t\t\t\t\tproperty: LayoutAnimation.Properties.opacity,\n\t\t\t\t},\n\t\t\t\tdelete: {\n\t\t\t\t\t...animationConfig,\n\t\t\t\t\tproperty: LayoutAnimation.Properties.opacity,\n\t\t\t\t},\n\t\t\t};\n\t\t\tthis.lastLayoutAnimationFinished = false;\n\t\t\tLayoutAnimation.configureNext( layoutAnimation, () => {\n\t\t\t\tthis.lastLayoutAnimationFinished = true;\n\t\t\t} );\n\t\t\tthis.lastLayoutAnimation = layoutAnimation;\n\t\t} else {\n\t\t\t// TODO: Reinstate animations, possibly replacing `LayoutAnimation` with\n\t\t\t// more nuanced `Animated` usage or replacing our custom `BottomSheet`\n\t\t\t// with `@gorhom/bottom-sheet`. This animation was disabled to avoid a\n\t\t\t// preexisting bug: https://github.com/WordPress/gutenberg/issues/30562\n\t\t\t// this.performRegularLayoutAnimation( {\n\t\t\t// \tuseLastLayoutAnimation: false,\n\t\t\t// } );.\n\t\t}\n\t}\n\n\tperformRegularLayoutAnimation( { useLastLayoutAnimation } ) {\n\t\t// On Android, we should prevent triggering multiple layout animations at the same time because it can produce visual glitches.\n\t\tif (\n\t\t\tPlatform.OS === 'android' &&\n\t\t\tthis.lastLayoutAnimation &&\n\t\t\t! this.lastLayoutAnimationFinished\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst layoutAnimation = useLastLayoutAnimation\n\t\t\t? this.lastLayoutAnimation || DEFAULT_LAYOUT_ANIMATION\n\t\t\t: DEFAULT_LAYOUT_ANIMATION;\n\n\t\tthis.lastLayoutAnimationFinished = false;\n\t\tLayoutAnimation.configureNext( layoutAnimation, () => {\n\t\t\tthis.lastLayoutAnimationFinished = true;\n\t\t} );\n\t\tthis.lastLayoutAnimation = layoutAnimation;\n\t}\n\n\tcomponentDidMount() {\n\t\tSafeArea.getSafeAreaInsetsForRootView().then(\n\t\t\tthis.onSafeAreaInsetsUpdate\n\t\t);\n\n\t\tif ( Platform.OS === 'android' ) {\n\t\t\tthis.androidModalClosedSubscription = subscribeAndroidModalClosed(\n\t\t\t\t() => {\n\t\t\t\t\tthis.props.onClose();\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tthis.dimensionsChangeSubscription = Dimensions.addEventListener(\n\t\t\t'change',\n\t\t\tthis.onDimensionsChange\n\t\t);\n\n\t\t// 'Will' keyboard events are not available on Android.\n\t\t// Reference: https://reactnative.dev/docs/0.61/keyboard#addlistener.\n\t\tthis.keyboardShowListener = Keyboard.addListener(\n\t\t\tPlatform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow',\n\t\t\tthis.keyboardShow\n\t\t);\n\t\tthis.keyboardHideListener = Keyboard.addListener(\n\t\t\tPlatform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide',\n\t\t\tthis.keyboardHide\n\t\t);\n\n\t\tthis.safeAreaEventSubscription = SafeArea.addEventListener(\n\t\t\t'safeAreaInsetsForRootViewDidChange',\n\t\t\tthis.onSafeAreaInsetsUpdate\n\t\t);\n\t\tthis.onSetMaxHeight();\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.dimensionsChangeSubscription.remove();\n\t\tthis.keyboardShowListener.remove();\n\t\tthis.keyboardHideListener.remove();\n\t\tif ( this.androidModalClosedSubscription ) {\n\t\t\tthis.androidModalClosedSubscription.remove();\n\t\t}\n\n\t\tif ( this.props.isVisible ) {\n\t\t\tshowAndroidSoftKeyboard();\n\t\t}\n\n\t\tif ( this.safeAreaEventSubscription === null ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.safeAreaEventSubscription.remove();\n\t\tthis.safeAreaEventSubscription = null;\n\t}\n\n\tonSafeAreaInsetsUpdate( result ) {\n\t\tconst { safeAreaBottomInset, safeAreaTopInset } = this.state;\n\t\tif ( this.safeAreaEventSubscription === null ) {\n\t\t\treturn;\n\t\t}\n\t\tconst { safeAreaInsets } = result;\n\t\tif (\n\t\t\tsafeAreaBottomInset !== safeAreaInsets.bottom ||\n\t\t\tsafeAreaTopInset !== safeAreaInsets.top\n\t\t) {\n\t\t\tthis.setState( {\n\t\t\t\tsafeAreaBottomInset: safeAreaInsets.bottom,\n\t\t\t\tsafeAreaTopInset: safeAreaInsets.top,\n\t\t\t} );\n\t\t}\n\t}\n\n\tonSetMaxHeight() {\n\t\tconst { height, width } = Dimensions.get( 'window' );\n\t\tconst { safeAreaBottomInset } = this.state;\n\t\tconst statusBarHeight =\n\t\t\tPlatform.OS === 'android' ? StatusBar.currentHeight : 0;\n\n\t\t// `maxHeight` when modal is opened along with a keyboard.\n\t\tconst maxHeightWithOpenKeyboard =\n\t\t\t0.95 *\n\t\t\t( Dimensions.get( 'window' ).height -\n\t\t\t\tthis.keyboardHeight -\n\t\t\t\tstatusBarHeight -\n\t\t\t\tthis.headerHeight );\n\n\t\t// In landscape orientation, set `maxHeight` to ~96% of the height.\n\t\tif ( width > height ) {\n\t\t\tthis.setState( {\n\t\t\t\tmaxHeight: Math.min(\n\t\t\t\t\t0.96 * height - this.headerHeight,\n\t\t\t\t\tmaxHeightWithOpenKeyboard\n\t\t\t\t),\n\t\t\t} );\n\t\t\t// In portrait orientation, set `maxHeight` to ~59% of the height.\n\t\t} else {\n\t\t\tthis.setState( {\n\t\t\t\tmaxHeight: Math.min(\n\t\t\t\t\theight * 0.59 - safeAreaBottomInset - this.headerHeight,\n\t\t\t\t\tmaxHeightWithOpenKeyboard\n\t\t\t\t),\n\t\t\t} );\n\t\t}\n\t}\n\n\tonDimensionsChange() {\n\t\tthis.onSetMaxHeight();\n\t\tthis.setState( { bounces: false } );\n\t}\n\n\tonHeaderLayout( { nativeEvent } ) {\n\t\tconst { height } = nativeEvent.layout;\n\t\t// The layout animation should only be triggered if the header\n\t\t// height has changed after being mounted.\n\t\tif (\n\t\t\tthis.headerHeight !== 0 &&\n\t\t\tMath.round( height ) !== Math.round( this.headerHeight )\n\t\t) {\n\t\t\tthis.performRegularLayoutAnimation( {\n\t\t\t\tuseLastLayoutAnimation: true,\n\t\t\t} );\n\t\t}\n\t\tthis.headerHeight = height;\n\t\tthis.onSetMaxHeight();\n\t}\n\n\tisCloseToBottom( { layoutMeasurement, contentOffset, contentSize } ) {\n\t\treturn (\n\t\t\tlayoutMeasurement.height + contentOffset.y >=\n\t\t\tcontentSize.height - contentOffset.y\n\t\t);\n\t}\n\n\tisCloseToTop( { contentOffset } ) {\n\t\treturn contentOffset.y < 10;\n\t}\n\n\tonScroll( { nativeEvent } ) {\n\t\tif ( this.isCloseToTop( nativeEvent ) ) {\n\t\t\tthis.setState( { bounces: false } );\n\t\t} else {\n\t\t\tthis.setState( { bounces: true } );\n\t\t}\n\t}\n\n\tonDismiss() {\n\t\tconst { onDismiss } = this.props;\n\n\t\t// Restore Keyboard Visibility\n\t\tshowAndroidSoftKeyboard();\n\n\t\tif ( onDismiss ) {\n\t\t\tonDismiss();\n\t\t}\n\n\t\tthis.onCloseBottomSheet();\n\t}\n\n\tonShouldEnableScroll( value ) {\n\t\tthis.setState( { scrollEnabled: value } );\n\t}\n\n\tonShouldSetBottomSheetMaxHeight( value ) {\n\t\tthis.setState( { isMaxHeightSet: value } );\n\t}\n\n\tisScrolling( value ) {\n\t\tthis.setState( { isScrolling: value } );\n\t}\n\n\tonHandleClosingBottomSheet( action ) {\n\t\tthis.setState( { handleClosingBottomSheet: action } );\n\t}\n\n\tonHandleHardwareButtonPress( action ) {\n\t\tthis.setState( { handleHardwareButtonPress: action } );\n\t}\n\n\tonCloseBottomSheet() {\n\t\tconst { onClose } = this.props;\n\t\tconst { handleClosingBottomSheet } = this.state;\n\t\tif ( handleClosingBottomSheet ) {\n\t\t\thandleClosingBottomSheet();\n\t\t\tthis.onHandleClosingBottomSheet( null );\n\t\t}\n\t\tif ( onClose ) {\n\t\t\tonClose();\n\t\t}\n\t\tthis.onShouldSetBottomSheetMaxHeight( true );\n\t}\n\n\tsetIsFullScreen( isFullScreen ) {\n\t\tif ( isFullScreen !== this.state.isFullScreen ) {\n\t\t\tif ( isFullScreen ) {\n\t\t\t\tthis.setState( { isFullScreen, isMaxHeightSet: false } );\n\t\t\t} else {\n\t\t\t\tthis.setState( { isFullScreen, isMaxHeightSet: true } );\n\t\t\t}\n\t\t}\n\t}\n\n\tonHardwareButtonPress() {\n\t\tconst { onClose } = this.props;\n\t\tconst { handleHardwareButtonPress } = this.state;\n\n\t\tif ( handleHardwareButtonPress && handleHardwareButtonPress() ) {\n\t\t\treturn;\n\t\t}\n\t\tif ( onClose ) {\n\t\t\treturn onClose();\n\t\t}\n\t}\n\n\tgetContentStyle() {\n\t\tconst { safeAreaBottomInset } = this.state;\n\t\treturn {\n\t\t\tpaddingBottom:\n\t\t\t\t( safeAreaBottomInset || 0 ) +\n\t\t\t\tstyles.scrollableContent.paddingBottom,\n\t\t};\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\ttitle = '',\n\t\t\tisVisible,\n\t\t\tleftButton,\n\t\t\trightButton,\n\t\t\theader,\n\t\t\thideHeader,\n\t\t\tstyle = {},\n\t\t\tcontentStyle = {},\n\t\t\tgetStylesFromColorScheme,\n\t\t\tchildren,\n\t\t\twithHeaderSeparator = false,\n\t\t\thasNavigation,\n\t\t\tonDismiss,\n\t\t\t...rest\n\t\t} = this.props;\n\t\tconst {\n\t\t\tmaxHeight,\n\t\t\tbounces,\n\t\t\tsafeAreaBottomInset,\n\t\t\tsafeAreaTopInset,\n\t\t\tisScrolling,\n\t\t\tscrollEnabled,\n\t\t\tisMaxHeightSet,\n\t\t\tisFullScreen,\n\t\t} = this.state;\n\n\t\tconst panResponder = PanResponder.create( {\n\t\t\tonMoveShouldSetPanResponder: ( evt, gestureState ) => {\n\t\t\t\t// 'swiping-to-close' option is temporarily and partially disabled\n\t\t\t\t// on Android ( swipe / drag is still available in the top most area - near drag indicator).\n\t\t\t\tif ( Platform.OS === 'ios' ) {\n\t\t\t\t\t// Activates swipe down over child Touchables if the swipe is long enough.\n\t\t\t\t\t// With this we can adjust sensibility on the swipe vs tap gestures.\n\t\t\t\t\tif ( gestureState.dy > 3 && ! bounces ) {\n\t\t\t\t\t\tgestureState.dy = 0;\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t} );\n\n\t\tconst backgroundStyle = getStylesFromColorScheme(\n\t\t\tstyles.background,\n\t\t\tstyles.backgroundDark\n\t\t);\n\n\t\tconst bottomSheetHeaderTitleStyle = getStylesFromColorScheme(\n\t\t\tstyles.bottomSheetHeaderTitle,\n\t\t\tstyles.bottomSheetHeaderTitleDark\n\t\t);\n\n\t\tlet listStyle = {};\n\t\tif ( isFullScreen ) {\n\t\t\tlistStyle = { flexGrow: 1, flexShrink: 1 };\n\t\t} else if ( isMaxHeightSet ) {\n\t\t\tlistStyle = { maxHeight };\n\n\t\t\t// Allow setting a \"static\" height of the bottom sheet\n\t\t\t// by setting the min height to the max height.\n\t\t\tif ( this.props.setMinHeightToMaxHeight ) {\n\t\t\t\tlistStyle.minHeight = maxHeight;\n\t\t\t}\n\t\t}\n\n\t\tconst listProps = {\n\t\t\tdisableScrollViewPanResponder: true,\n\t\t\tbounces,\n\t\t\tonScroll: this.onScroll,\n\t\t\tonScrollBeginDrag: this.onScrollBeginDrag,\n\t\t\tonScrollEndDrag: this.onScrollEndDrag,\n\t\t\tscrollEventThrottle: 16,\n\t\t\tcontentContainerStyle: [\n\t\t\t\tstyles.content,\n\t\t\t\thideHeader && styles.emptyHeader,\n\t\t\t\tcontentStyle,\n\t\t\t\tisFullScreen && { flexGrow: 1 },\n\t\t\t],\n\t\t\tstyle: listStyle,\n\t\t\tsafeAreaBottomInset,\n\t\t\tscrollEnabled,\n\t\t\tautomaticallyAdjustContentInsets: false,\n\t\t};\n\n\t\tconst WrapperView = hasNavigation ? View : ScrollView;\n\n\t\tconst getHeader = () => (\n\t\t\t<>\n\t\t\t\t{ header || (\n\t\t\t\t\t<View style={ styles.bottomSheetHeader }>\n\t\t\t\t\t\t<View style={ styles.flex }>{ leftButton }</View>\n\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\tstyle={ bottomSheetHeaderTitleStyle }\n\t\t\t\t\t\t\tmaxFontSizeMultiplier={ 3 }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ title }\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t<View style={ styles.flex }>{ rightButton }</View>\n\t\t\t\t\t</View>\n\t\t\t\t) }\n\t\t\t\t{ withHeaderSeparator && <View style={ styles.separator } /> }\n\t\t\t</>\n\t\t);\n\n\t\tconst showDragIndicator = () => {\n\t\t\t// If iOS or not fullscreen show the drag indicator.\n\t\t\tif ( Platform.OS === 'ios' || ! this.state.isFullScreen ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// Otherwise check the allowDragIndicator.\n\t\t\treturn this.props.allowDragIndicator;\n\t\t};\n\n\t\treturn (\n\t\t\t<Modal\n\t\t\t\tisVisible={ isVisible }\n\t\t\t\tstyle={ styles.bottomModal }\n\t\t\t\tanimationInTiming={ 400 }\n\t\t\t\tanimationOutTiming={ 300 }\n\t\t\t\tbackdropTransitionInTiming={ 50 }\n\t\t\t\tbackdropTransitionOutTiming={ 50 }\n\t\t\t\tbackdropOpacity={ 0.2 }\n\t\t\t\tonBackdropPress={ this.onCloseBottomSheet }\n\t\t\t\tonBackButtonPress={ this.onHardwareButtonPress }\n\t\t\t\tonSwipeComplete={ this.onCloseBottomSheet }\n\t\t\t\tonDismiss={ Platform.OS === 'ios' ? this.onDismiss : undefined }\n\t\t\t\tonModalHide={\n\t\t\t\t\tPlatform.OS === 'android' ? this.onDismiss : undefined\n\t\t\t\t}\n\t\t\t\tswipeDirection=\"down\"\n\t\t\t\tonMoveShouldSetResponder={\n\t\t\t\t\tscrollEnabled &&\n\t\t\t\t\tpanResponder.panHandlers.onMoveShouldSetResponder\n\t\t\t\t}\n\t\t\t\tonMoveShouldSetResponderCapture={\n\t\t\t\t\tscrollEnabled &&\n\t\t\t\t\tpanResponder.panHandlers.onMoveShouldSetResponderCapture\n\t\t\t\t}\n\t\t\t\tonAccessibilityEscape={ this.onCloseBottomSheet }\n\t\t\t\ttestID=\"bottom-sheet\"\n\t\t\t\thardwareAccelerated={ true }\n\t\t\t\tuseNativeDriverForBackdrop={ true }\n\t\t\t\t{ ...rest }\n\t\t\t>\n\t\t\t\t<KeyboardAvoidingView\n\t\t\t\t\tbehavior={ Platform.OS === 'ios' && 'padding' }\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t...backgroundStyle,\n\t\t\t\t\t\tborderColor: 'rgba(0, 0, 0, 0.1)',\n\t\t\t\t\t\tmarginTop:\n\t\t\t\t\t\t\tPlatform.OS === 'ios' && isFullScreen\n\t\t\t\t\t\t\t\t? safeAreaTopInset\n\t\t\t\t\t\t\t\t: 0,\n\t\t\t\t\t\tflex: isFullScreen ? 1 : undefined,\n\t\t\t\t\t\t...( Platform.OS === 'android' && isFullScreen\n\t\t\t\t\t\t\t? styles.backgroundFullScreen\n\t\t\t\t\t\t\t: {} ),\n\t\t\t\t\t\t...style,\n\t\t\t\t\t} }\n\t\t\t\t\tkeyboardVerticalOffset={ -safeAreaBottomInset }\n\t\t\t\t>\n\t\t\t\t\t<View\n\t\t\t\t\t\tstyle={ styles.header }\n\t\t\t\t\t\tonLayout={ this.onHeaderLayout }\n\t\t\t\t\t\ttestID={ `${ rest.testID || 'bottom-sheet' }-header` }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ showDragIndicator() && (\n\t\t\t\t\t\t\t<View style={ styles.dragIndicator } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ! hideHeader && getHeader() }\n\t\t\t\t\t</View>\n\t\t\t\t\t<WrapperView\n\t\t\t\t\t\t{ ...( hasNavigation\n\t\t\t\t\t\t\t? { style: listProps.style }\n\t\t\t\t\t\t\t: listProps ) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<BottomSheetProvider\n\t\t\t\t\t\t\tvalue={ {\n\t\t\t\t\t\t\t\tshouldEnableBottomSheetScroll:\n\t\t\t\t\t\t\t\t\tthis.onShouldEnableScroll,\n\t\t\t\t\t\t\t\tshouldEnableBottomSheetMaxHeight:\n\t\t\t\t\t\t\t\t\tthis.onShouldSetBottomSheetMaxHeight,\n\t\t\t\t\t\t\t\tisBottomSheetContentScrolling: isScrolling,\n\t\t\t\t\t\t\t\tonHandleClosingBottomSheet:\n\t\t\t\t\t\t\t\t\tthis.onHandleClosingBottomSheet,\n\t\t\t\t\t\t\t\tonHandleHardwareButtonPress:\n\t\t\t\t\t\t\t\t\tthis.onHandleHardwareButtonPress,\n\t\t\t\t\t\t\t\tlistProps,\n\t\t\t\t\t\t\t\tsetIsFullScreen: this.setIsFullScreen,\n\t\t\t\t\t\t\t\tsafeAreaBottomInset,\n\t\t\t\t\t\t\t\tmaxHeight,\n\t\t\t\t\t\t\t\tisMaxHeightSet,\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ hasNavigation ? (\n\t\t\t\t\t\t\t\t<>{ children }</>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<TouchableHighlight accessible={ false }>\n\t\t\t\t\t\t\t\t\t<>{ children }</>\n\t\t\t\t\t\t\t\t</TouchableHighlight>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</BottomSheetProvider>\n\t\t\t\t\t\t{ ! hasNavigation && (\n\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t\t\t\theight:\n\t\t\t\t\t\t\t\t\t\tsafeAreaBottomInset ||\n\t\t\t\t\t\t\t\t\t\tstyles.scrollableContent.paddingBottom,\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t</WrapperView>\n\t\t\t\t</KeyboardAvoidingView>\n\t\t\t</Modal>\n\t\t);\n\t}\n}\n\nfunction getWidth() {\n\treturn Math.min(\n\t\tDimensions.get( 'window' ).width,\n\t\tstyles.background.maxWidth\n\t);\n}\n\nconst ThemedBottomSheet = withPreferredColorScheme( BottomSheet );\n\nThemedBottomSheet.getWidth = getWidth;\nThemedBottomSheet.Button = Button;\nThemedBottomSheet.Cell = Cell;\nThemedBottomSheet.SubSheet = BottomSheetSubSheet;\nThemedBottomSheet.NavBar = NavBar;\nThemedBottomSheet.CyclePickerCell = CyclePickerCell;\nThemedBottomSheet.PickerCell = PickerCell;\nThemedBottomSheet.SwitchCell = SwitchCell;\nThemedBottomSheet.RangeCell = RangeCell;\nThemedBottomSheet.ColorCell = ColorCell;\nThemedBottomSheet.LinkCell = LinkCell;\nThemedBottomSheet.LinkSuggestionItemCell = LinkSuggestionItemCell;\nThemedBottomSheet.RadioCell = RadioCell;\nThemedBottomSheet.NavigationScreen = NavigationScreen;\nThemedBottomSheet.NavigationContainer = NavigationContainer;\n\nexport default ThemedBottomSheet;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAA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,GAAGA,kBAAS;AACvCd,iBAAiB,CAACe,gBAAgB,GAAGA,yBAAgB;AACrDf,iBAAiB,CAACgB,mBAAmB,GAAGA,4BAAmB;AAAC,IAAAC,QAAA,GAE7CjB,iBAAiB;AAAAkB,OAAA,CAAArD,OAAA,GAAAoD,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_reactNativeModal","_interopRequireDefault","_reactNativeSafeArea","_reactNativeBridge","_element","_compose","_styles","_button","_cell","_cyclePickerCell","_pickerCell","_switchCell","_rangeCell","_colorCell","_linkCell","_linkSuggestionItemCell","_radioCell","_navigationScreen","_navigationContainer","_keyboardAvoidingView","_subSheet","_navBar","_bottomSheetContext","DEFAULT_LAYOUT_ANIMATION","LayoutAnimation","Presets","easeInEaseOut","BottomSheet","Component","constructor","arguments","onSafeAreaInsetsUpdate","bind","onScroll","isScrolling","onShouldEnableScroll","onDismiss","onShouldSetBottomSheetMaxHeight","setIsFullScreen","onDimensionsChange","onHeaderLayout","onCloseBottomSheet","onHandleClosingBottomSheet","onHardwareButtonPress","onHandleHardwareButtonPress","keyboardShow","keyboardHide","headerHeight","keyboardHeight","lastLayoutAnimation","lastLayoutAnimationFinished","state","safeAreaBottomInset","safeAreaTopInset","bounces","maxHeight","scrollEnabled","handleClosingBottomSheet","handleHardwareButtonPress","isMaxHeightSet","isFullScreen","props","e","isVisible","height","endCoordinates","performKeyboardLayoutAnimation","onSetMaxHeight","onKeyboardShow","onKeyboardHide","event","duration","easing","animationConfig","type","Types","layoutAnimation","update","create","property","Properties","opacity","delete","configureNext","performRegularLayoutAnimation","useLastLayoutAnimation","Platform","OS","componentDidMount","SafeArea","getSafeAreaInsetsForRootView","then","androidModalClosedSubscription","subscribeAndroidModalClosed","onClose","dimensionsChangeSubscription","Dimensions","addEventListener","keyboardShowListener","Keyboard","addListener","keyboardHideListener","safeAreaEventSubscription","componentWillUnmount","remove","showAndroidSoftKeyboard","result","safeAreaInsets","bottom","top","setState","width","get","statusBarHeight","StatusBar","currentHeight","maxHeightWithOpenKeyboard","Math","min","nativeEvent","layout","round","isCloseToBottom","layoutMeasurement","contentOffset","contentSize","y","isCloseToTop","value","action","getContentStyle","paddingBottom","styles","scrollableContent","render","title","leftButton","rightButton","header","hideHeader","style","contentStyle","getStylesFromColorScheme","children","withHeaderSeparator","hasNavigation","rest","panResponder","PanResponder","onMoveShouldSetPanResponder","evt","gestureState","dy","backgroundStyle","background","backgroundDark","bottomSheetHeaderTitleStyle","bottomSheetHeaderTitle","bottomSheetHeaderTitleDark","listStyle","flexGrow","flexShrink","setMinHeightToMaxHeight","minHeight","listProps","disableScrollViewPanResponder","onScrollBeginDrag","onScrollEndDrag","scrollEventThrottle","contentContainerStyle","content","emptyHeader","automaticallyAdjustContentInsets","WrapperView","View","ScrollView","getHeader","_react","createElement","Fragment","bottomSheetHeader","flex","Text","maxFontSizeMultiplier","separator","showDragIndicator","allowDragIndicator","default","bottomModal","animationInTiming","animationOutTiming","backdropTransitionInTiming","backdropTransitionOutTiming","backdropOpacity","onBackdropPress","onBackButtonPress","onSwipeComplete","undefined","onModalHide","swipeDirection","onMoveShouldSetResponder","panHandlers","onMoveShouldSetResponderCapture","onAccessibilityEscape","testID","hardwareAccelerated","useNativeDriverForBackdrop","behavior","borderColor","marginTop","backgroundFullScreen","keyboardVerticalOffset","onLayout","dragIndicator","BottomSheetProvider","shouldEnableBottomSheetScroll","shouldEnableBottomSheetMaxHeight","isBottomSheetContentScrolling","TouchableHighlight","accessible","getWidth","maxWidth","ThemedBottomSheet","withPreferredColorScheme","Button","Cell","SubSheet","BottomSheetSubSheet","NavBar","CyclePickerCell","PickerCell","SwitchCell","RangeCell","ColorCell","LinkCell","LinkSuggestionItemCell","RadioCell","NavigationScreen","NavigationContainer","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/index.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tDimensions,\n\tKeyboard,\n\tLayoutAnimation,\n\tPanResponder,\n\tPlatform,\n\tScrollView,\n\tStatusBar,\n\tText,\n\tTouchableHighlight,\n\tView,\n} from 'react-native';\nimport Modal from 'react-native-modal';\nimport SafeArea from 'react-native-safe-area';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tsubscribeAndroidModalClosed,\n\tshowAndroidSoftKeyboard,\n} from '@wordpress/react-native-bridge';\nimport { Component } from '@wordpress/element';\nimport { withPreferredColorScheme } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport Button from './button';\nimport Cell from './cell';\nimport CyclePickerCell from './cycle-picker-cell';\nimport PickerCell from './picker-cell';\nimport SwitchCell from './switch-cell';\nimport RangeCell from './range-cell';\nimport ColorCell from './color-cell';\nimport LinkCell from './link-cell';\nimport LinkSuggestionItemCell from './link-suggestion-item-cell';\nimport RadioCell from './radio-cell';\nimport NavigationScreen from './bottom-sheet-navigation/navigation-screen';\nimport NavigationContainer from './bottom-sheet-navigation/navigation-container';\nimport KeyboardAvoidingView from './keyboard-avoiding-view';\nimport BottomSheetSubSheet from './sub-sheet';\nimport NavBar from './nav-bar';\nimport { BottomSheetProvider } from './bottom-sheet-context';\n\nconst DEFAULT_LAYOUT_ANIMATION = LayoutAnimation.Presets.easeInEaseOut;\n\nclass BottomSheet extends Component {\n\tconstructor() {\n\t\tsuper( ...arguments );\n\t\tthis.onSafeAreaInsetsUpdate = this.onSafeAreaInsetsUpdate.bind( this );\n\t\tthis.onScroll = this.onScroll.bind( this );\n\t\tthis.isScrolling = this.isScrolling.bind( this );\n\t\tthis.onShouldEnableScroll = this.onShouldEnableScroll.bind( this );\n\t\tthis.onDismiss = this.onDismiss.bind( this );\n\t\tthis.onShouldSetBottomSheetMaxHeight =\n\t\t\tthis.onShouldSetBottomSheetMaxHeight.bind( this );\n\n\t\tthis.setIsFullScreen = this.setIsFullScreen.bind( this );\n\n\t\tthis.onDimensionsChange = this.onDimensionsChange.bind( this );\n\t\tthis.onHeaderLayout = this.onHeaderLayout.bind( this );\n\t\tthis.onCloseBottomSheet = this.onCloseBottomSheet.bind( this );\n\t\tthis.onHandleClosingBottomSheet =\n\t\t\tthis.onHandleClosingBottomSheet.bind( this );\n\t\tthis.onHardwareButtonPress = this.onHardwareButtonPress.bind( this );\n\t\tthis.onHandleHardwareButtonPress =\n\t\t\tthis.onHandleHardwareButtonPress.bind( this );\n\t\tthis.keyboardShow = this.keyboardShow.bind( this );\n\t\tthis.keyboardHide = this.keyboardHide.bind( this );\n\n\t\tthis.headerHeight = 0;\n\t\tthis.keyboardHeight = 0;\n\t\tthis.lastLayoutAnimation = null;\n\t\tthis.lastLayoutAnimationFinished = false;\n\n\t\tthis.state = {\n\t\t\tsafeAreaBottomInset: 0,\n\t\t\tsafeAreaTopInset: 0,\n\t\t\tbounces: false,\n\t\t\tmaxHeight: 0,\n\t\t\tscrollEnabled: true,\n\t\t\tisScrolling: false,\n\t\t\thandleClosingBottomSheet: null,\n\t\t\thandleHardwareButtonPress: null,\n\t\t\tisMaxHeightSet: true,\n\t\t\tisFullScreen: this.props.isFullScreen || false,\n\t\t};\n\t}\n\n\tkeyboardShow( e ) {\n\t\tif ( ! this.props.isVisible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst { height } = e.endCoordinates;\n\t\tthis.keyboardHeight = height;\n\t\tthis.performKeyboardLayoutAnimation( e );\n\t\tthis.onSetMaxHeight();\n\t\tthis.props.onKeyboardShow?.();\n\t}\n\n\tkeyboardHide( e ) {\n\t\tif ( ! this.props.isVisible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.keyboardHeight = 0;\n\t\tthis.performKeyboardLayoutAnimation( e );\n\t\tthis.onSetMaxHeight();\n\t\tthis.props.onKeyboardHide?.();\n\t}\n\n\tperformKeyboardLayoutAnimation( event ) {\n\t\tconst { duration, easing } = event;\n\n\t\tif ( duration && easing ) {\n\t\t\t// This layout animation is the same as the React Native's KeyboardAvoidingView component.\n\t\t\t// Reference: https://github.com/facebook/react-native/blob/266b21baf35e052ff28120f79c06c4f6dddc51a9/Libraries/Components/Keyboard/KeyboardAvoidingView.js#L119-L128.\n\t\t\tconst animationConfig = {\n\t\t\t\t// We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m.\n\t\t\t\tduration: duration > 10 ? duration : 10,\n\t\t\t\ttype: LayoutAnimation.Types[ easing ] || 'keyboard',\n\t\t\t};\n\t\t\tconst layoutAnimation = {\n\t\t\t\tduration: animationConfig.duration,\n\t\t\t\tupdate: animationConfig,\n\t\t\t\tcreate: {\n\t\t\t\t\t...animationConfig,\n\t\t\t\t\tproperty: LayoutAnimation.Properties.opacity,\n\t\t\t\t},\n\t\t\t\tdelete: {\n\t\t\t\t\t...animationConfig,\n\t\t\t\t\tproperty: LayoutAnimation.Properties.opacity,\n\t\t\t\t},\n\t\t\t};\n\t\t\tthis.lastLayoutAnimationFinished = false;\n\t\t\tLayoutAnimation.configureNext( layoutAnimation, () => {\n\t\t\t\tthis.lastLayoutAnimationFinished = true;\n\t\t\t} );\n\t\t\tthis.lastLayoutAnimation = layoutAnimation;\n\t\t} else {\n\t\t\t// TODO: Reinstate animations, possibly replacing `LayoutAnimation` with\n\t\t\t// more nuanced `Animated` usage or replacing our custom `BottomSheet`\n\t\t\t// with `@gorhom/bottom-sheet`. This animation was disabled to avoid a\n\t\t\t// preexisting bug: https://github.com/WordPress/gutenberg/issues/30562\n\t\t\t// this.performRegularLayoutAnimation( {\n\t\t\t// \tuseLastLayoutAnimation: false,\n\t\t\t// } );.\n\t\t}\n\t}\n\n\tperformRegularLayoutAnimation( { useLastLayoutAnimation } ) {\n\t\t// On Android, we should prevent triggering multiple layout animations at the same time because it can produce visual glitches.\n\t\tif (\n\t\t\tPlatform.OS === 'android' &&\n\t\t\tthis.lastLayoutAnimation &&\n\t\t\t! this.lastLayoutAnimationFinished\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst layoutAnimation = useLastLayoutAnimation\n\t\t\t? this.lastLayoutAnimation || DEFAULT_LAYOUT_ANIMATION\n\t\t\t: DEFAULT_LAYOUT_ANIMATION;\n\n\t\tthis.lastLayoutAnimationFinished = false;\n\t\tLayoutAnimation.configureNext( layoutAnimation, () => {\n\t\t\tthis.lastLayoutAnimationFinished = true;\n\t\t} );\n\t\tthis.lastLayoutAnimation = layoutAnimation;\n\t}\n\n\tcomponentDidMount() {\n\t\tSafeArea.getSafeAreaInsetsForRootView().then(\n\t\t\tthis.onSafeAreaInsetsUpdate\n\t\t);\n\n\t\tif ( Platform.OS === 'android' ) {\n\t\t\tthis.androidModalClosedSubscription = subscribeAndroidModalClosed(\n\t\t\t\t() => {\n\t\t\t\t\tthis.props.onClose();\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tthis.dimensionsChangeSubscription = Dimensions.addEventListener(\n\t\t\t'change',\n\t\t\tthis.onDimensionsChange\n\t\t);\n\n\t\t// 'Will' keyboard events are not available on Android.\n\t\t// Reference: https://reactnative.dev/docs/0.61/keyboard#addlistener.\n\t\tthis.keyboardShowListener = Keyboard.addListener(\n\t\t\tPlatform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow',\n\t\t\tthis.keyboardShow\n\t\t);\n\t\tthis.keyboardHideListener = Keyboard.addListener(\n\t\t\tPlatform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide',\n\t\t\tthis.keyboardHide\n\t\t);\n\n\t\tthis.safeAreaEventSubscription = SafeArea.addEventListener(\n\t\t\t'safeAreaInsetsForRootViewDidChange',\n\t\t\tthis.onSafeAreaInsetsUpdate\n\t\t);\n\t\tthis.onSetMaxHeight();\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.dimensionsChangeSubscription.remove();\n\t\tthis.keyboardShowListener.remove();\n\t\tthis.keyboardHideListener.remove();\n\t\tif ( this.androidModalClosedSubscription ) {\n\t\t\tthis.androidModalClosedSubscription.remove();\n\t\t}\n\n\t\tif ( this.props.isVisible ) {\n\t\t\tshowAndroidSoftKeyboard();\n\t\t}\n\n\t\tif ( this.safeAreaEventSubscription === null ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.safeAreaEventSubscription.remove();\n\t\tthis.safeAreaEventSubscription = null;\n\t}\n\n\tonSafeAreaInsetsUpdate( result ) {\n\t\tconst { safeAreaBottomInset, safeAreaTopInset } = this.state;\n\t\tif ( this.safeAreaEventSubscription === null ) {\n\t\t\treturn;\n\t\t}\n\t\tconst { safeAreaInsets } = result;\n\t\tif (\n\t\t\tsafeAreaBottomInset !== safeAreaInsets.bottom ||\n\t\t\tsafeAreaTopInset !== safeAreaInsets.top\n\t\t) {\n\t\t\tthis.setState( {\n\t\t\t\tsafeAreaBottomInset: safeAreaInsets.bottom,\n\t\t\t\tsafeAreaTopInset: safeAreaInsets.top,\n\t\t\t} );\n\t\t}\n\t}\n\n\tonSetMaxHeight() {\n\t\tconst { height, width } = Dimensions.get( 'window' );\n\t\tconst { safeAreaBottomInset } = this.state;\n\t\tconst statusBarHeight =\n\t\t\tPlatform.OS === 'android' ? StatusBar.currentHeight : 0;\n\n\t\t// `maxHeight` when modal is opened along with a keyboard.\n\t\tconst maxHeightWithOpenKeyboard =\n\t\t\t0.95 *\n\t\t\t( Dimensions.get( 'window' ).height -\n\t\t\t\tthis.keyboardHeight -\n\t\t\t\tstatusBarHeight -\n\t\t\t\tthis.headerHeight );\n\n\t\t// In landscape orientation, set `maxHeight` to ~96% of the height.\n\t\tif ( width > height ) {\n\t\t\tthis.setState( {\n\t\t\t\tmaxHeight: Math.min(\n\t\t\t\t\t0.96 * height - this.headerHeight,\n\t\t\t\t\tmaxHeightWithOpenKeyboard\n\t\t\t\t),\n\t\t\t} );\n\t\t\t// In portrait orientation, set `maxHeight` to ~59% of the height.\n\t\t} else {\n\t\t\tthis.setState( {\n\t\t\t\tmaxHeight: Math.min(\n\t\t\t\t\theight * 0.59 - safeAreaBottomInset - this.headerHeight,\n\t\t\t\t\tmaxHeightWithOpenKeyboard\n\t\t\t\t),\n\t\t\t} );\n\t\t}\n\t}\n\n\tonDimensionsChange() {\n\t\tthis.onSetMaxHeight();\n\t\tthis.setState( { bounces: false } );\n\t}\n\n\tonHeaderLayout( { nativeEvent } ) {\n\t\tconst { height } = nativeEvent.layout;\n\t\t// The layout animation should only be triggered if the header\n\t\t// height has changed after being mounted.\n\t\tif (\n\t\t\tthis.headerHeight !== 0 &&\n\t\t\tMath.round( height ) !== Math.round( this.headerHeight )\n\t\t) {\n\t\t\tthis.performRegularLayoutAnimation( {\n\t\t\t\tuseLastLayoutAnimation: true,\n\t\t\t} );\n\t\t}\n\t\tthis.headerHeight = height;\n\t\tthis.onSetMaxHeight();\n\t}\n\n\tisCloseToBottom( { layoutMeasurement, contentOffset, contentSize } ) {\n\t\treturn (\n\t\t\tlayoutMeasurement.height + contentOffset.y >=\n\t\t\tcontentSize.height - contentOffset.y\n\t\t);\n\t}\n\n\tisCloseToTop( { contentOffset } ) {\n\t\treturn contentOffset.y < 10;\n\t}\n\n\tonScroll( { nativeEvent } ) {\n\t\tif ( this.isCloseToTop( nativeEvent ) ) {\n\t\t\tthis.setState( { bounces: false } );\n\t\t} else {\n\t\t\tthis.setState( { bounces: true } );\n\t\t}\n\t}\n\n\tonDismiss() {\n\t\tconst { onDismiss } = this.props;\n\n\t\t// Restore Keyboard Visibility\n\t\tshowAndroidSoftKeyboard();\n\n\t\tif ( onDismiss ) {\n\t\t\tonDismiss();\n\t\t}\n\n\t\tthis.onCloseBottomSheet();\n\t}\n\n\tonShouldEnableScroll( value ) {\n\t\tthis.setState( { scrollEnabled: value } );\n\t}\n\n\tonShouldSetBottomSheetMaxHeight( value ) {\n\t\tthis.setState( { isMaxHeightSet: value } );\n\t}\n\n\tisScrolling( value ) {\n\t\tthis.setState( { isScrolling: value } );\n\t}\n\n\tonHandleClosingBottomSheet( action ) {\n\t\tthis.setState( { handleClosingBottomSheet: action } );\n\t}\n\n\tonHandleHardwareButtonPress( action ) {\n\t\tthis.setState( { handleHardwareButtonPress: action } );\n\t}\n\n\tonCloseBottomSheet() {\n\t\tconst { onClose } = this.props;\n\t\tconst { handleClosingBottomSheet } = this.state;\n\t\tif ( handleClosingBottomSheet ) {\n\t\t\thandleClosingBottomSheet();\n\t\t\tthis.onHandleClosingBottomSheet( null );\n\t\t}\n\t\tif ( onClose ) {\n\t\t\tonClose();\n\t\t}\n\t\tthis.onShouldSetBottomSheetMaxHeight( true );\n\t}\n\n\tsetIsFullScreen( isFullScreen ) {\n\t\tif ( isFullScreen !== this.state.isFullScreen ) {\n\t\t\tif ( isFullScreen ) {\n\t\t\t\tthis.setState( { isFullScreen, isMaxHeightSet: false } );\n\t\t\t} else {\n\t\t\t\tthis.setState( { isFullScreen, isMaxHeightSet: true } );\n\t\t\t}\n\t\t}\n\t}\n\n\tonHardwareButtonPress() {\n\t\tconst { onClose } = this.props;\n\t\tconst { handleHardwareButtonPress } = this.state;\n\n\t\tif ( handleHardwareButtonPress && handleHardwareButtonPress() ) {\n\t\t\treturn;\n\t\t}\n\t\tif ( onClose ) {\n\t\t\treturn onClose();\n\t\t}\n\t}\n\n\tgetContentStyle() {\n\t\tconst { safeAreaBottomInset } = this.state;\n\t\treturn {\n\t\t\tpaddingBottom:\n\t\t\t\t( safeAreaBottomInset || 0 ) +\n\t\t\t\tstyles.scrollableContent.paddingBottom,\n\t\t};\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\ttitle = '',\n\t\t\tisVisible,\n\t\t\tleftButton,\n\t\t\trightButton,\n\t\t\theader,\n\t\t\thideHeader,\n\t\t\tstyle = {},\n\t\t\tcontentStyle = {},\n\t\t\tgetStylesFromColorScheme,\n\t\t\tchildren,\n\t\t\twithHeaderSeparator = false,\n\t\t\thasNavigation,\n\t\t\tonDismiss,\n\t\t\t...rest\n\t\t} = this.props;\n\t\tconst {\n\t\t\tmaxHeight,\n\t\t\tbounces,\n\t\t\tsafeAreaBottomInset,\n\t\t\tsafeAreaTopInset,\n\t\t\tisScrolling,\n\t\t\tscrollEnabled,\n\t\t\tisMaxHeightSet,\n\t\t\tisFullScreen,\n\t\t} = this.state;\n\n\t\tconst panResponder = PanResponder.create( {\n\t\t\tonMoveShouldSetPanResponder: ( evt, gestureState ) => {\n\t\t\t\t// 'swiping-to-close' option is temporarily and partially disabled\n\t\t\t\t// on Android ( swipe / drag is still available in the top most area - near drag indicator).\n\t\t\t\tif ( Platform.OS === 'ios' ) {\n\t\t\t\t\t// Activates swipe down over child Touchables if the swipe is long enough.\n\t\t\t\t\t// With this we can adjust sensibility on the swipe vs tap gestures.\n\t\t\t\t\tif ( gestureState.dy > 3 && ! bounces ) {\n\t\t\t\t\t\tgestureState.dy = 0;\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t} );\n\n\t\tconst backgroundStyle = getStylesFromColorScheme(\n\t\t\tstyles.background,\n\t\t\tstyles.backgroundDark\n\t\t);\n\n\t\tconst bottomSheetHeaderTitleStyle = getStylesFromColorScheme(\n\t\t\tstyles.bottomSheetHeaderTitle,\n\t\t\tstyles.bottomSheetHeaderTitleDark\n\t\t);\n\n\t\tlet listStyle = {};\n\t\tif ( isFullScreen ) {\n\t\t\tlistStyle = { flexGrow: 1, flexShrink: 1 };\n\t\t} else if ( isMaxHeightSet ) {\n\t\t\tlistStyle = { maxHeight };\n\n\t\t\t// Allow setting a \"static\" height of the bottom sheet\n\t\t\t// by setting the min height to the max height.\n\t\t\tif ( this.props.setMinHeightToMaxHeight ) {\n\t\t\t\tlistStyle.minHeight = maxHeight;\n\t\t\t}\n\t\t}\n\n\t\tconst listProps = {\n\t\t\tdisableScrollViewPanResponder: true,\n\t\t\tbounces,\n\t\t\tonScroll: this.onScroll,\n\t\t\tonScrollBeginDrag: this.onScrollBeginDrag,\n\t\t\tonScrollEndDrag: this.onScrollEndDrag,\n\t\t\tscrollEventThrottle: 16,\n\t\t\tcontentContainerStyle: [\n\t\t\t\tstyles.content,\n\t\t\t\thideHeader && styles.emptyHeader,\n\t\t\t\tcontentStyle,\n\t\t\t\tisFullScreen && { flexGrow: 1 },\n\t\t\t],\n\t\t\tstyle: listStyle,\n\t\t\tsafeAreaBottomInset,\n\t\t\tscrollEnabled,\n\t\t\tautomaticallyAdjustContentInsets: false,\n\t\t};\n\n\t\tconst WrapperView = hasNavigation ? View : ScrollView;\n\n\t\tconst getHeader = () => (\n\t\t\t<>\n\t\t\t\t{ header || (\n\t\t\t\t\t<View style={ styles.bottomSheetHeader }>\n\t\t\t\t\t\t<View style={ styles.flex }>{ leftButton }</View>\n\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\tstyle={ bottomSheetHeaderTitleStyle }\n\t\t\t\t\t\t\tmaxFontSizeMultiplier={ 3 }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ title }\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t<View style={ styles.flex }>{ rightButton }</View>\n\t\t\t\t\t</View>\n\t\t\t\t) }\n\t\t\t\t{ withHeaderSeparator && <View style={ styles.separator } /> }\n\t\t\t</>\n\t\t);\n\n\t\tconst showDragIndicator = () => {\n\t\t\t// If iOS or not fullscreen show the drag indicator.\n\t\t\tif ( Platform.OS === 'ios' || ! this.state.isFullScreen ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// Otherwise check the allowDragIndicator.\n\t\t\treturn this.props.allowDragIndicator;\n\t\t};\n\n\t\treturn (\n\t\t\t<Modal\n\t\t\t\tisVisible={ isVisible }\n\t\t\t\tstyle={ styles.bottomModal }\n\t\t\t\tanimationInTiming={ 400 }\n\t\t\t\tanimationOutTiming={ 300 }\n\t\t\t\tbackdropTransitionInTiming={ 50 }\n\t\t\t\tbackdropTransitionOutTiming={ 50 }\n\t\t\t\tbackdropOpacity={ 0.2 }\n\t\t\t\tonBackdropPress={ this.onCloseBottomSheet }\n\t\t\t\tonBackButtonPress={ this.onHardwareButtonPress }\n\t\t\t\tonSwipeComplete={ this.onCloseBottomSheet }\n\t\t\t\tonDismiss={ Platform.OS === 'ios' ? this.onDismiss : undefined }\n\t\t\t\tonModalHide={\n\t\t\t\t\tPlatform.OS === 'android' ? this.onDismiss : undefined\n\t\t\t\t}\n\t\t\t\tswipeDirection=\"down\"\n\t\t\t\tonMoveShouldSetResponder={\n\t\t\t\t\tscrollEnabled &&\n\t\t\t\t\tpanResponder.panHandlers.onMoveShouldSetResponder\n\t\t\t\t}\n\t\t\t\tonMoveShouldSetResponderCapture={\n\t\t\t\t\tscrollEnabled &&\n\t\t\t\t\tpanResponder.panHandlers.onMoveShouldSetResponderCapture\n\t\t\t\t}\n\t\t\t\tonAccessibilityEscape={ this.onCloseBottomSheet }\n\t\t\t\ttestID=\"bottom-sheet\"\n\t\t\t\thardwareAccelerated={ true }\n\t\t\t\tuseNativeDriverForBackdrop={ true }\n\t\t\t\t{ ...rest }\n\t\t\t>\n\t\t\t\t<KeyboardAvoidingView\n\t\t\t\t\tbehavior={ Platform.OS === 'ios' && 'padding' }\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t...backgroundStyle,\n\t\t\t\t\t\tborderColor: 'rgba(0, 0, 0, 0.1)',\n\t\t\t\t\t\tmarginTop:\n\t\t\t\t\t\t\tPlatform.OS === 'ios' && isFullScreen\n\t\t\t\t\t\t\t\t? safeAreaTopInset\n\t\t\t\t\t\t\t\t: 0,\n\t\t\t\t\t\tflex: isFullScreen ? 1 : undefined,\n\t\t\t\t\t\t...( Platform.OS === 'android' && isFullScreen\n\t\t\t\t\t\t\t? styles.backgroundFullScreen\n\t\t\t\t\t\t\t: {} ),\n\t\t\t\t\t\t...style,\n\t\t\t\t\t} }\n\t\t\t\t\tkeyboardVerticalOffset={ -safeAreaBottomInset }\n\t\t\t\t>\n\t\t\t\t\t<View\n\t\t\t\t\t\tstyle={ styles.header }\n\t\t\t\t\t\tonLayout={ this.onHeaderLayout }\n\t\t\t\t\t\ttestID={ `${ rest.testID || 'bottom-sheet' }-header` }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ showDragIndicator() && (\n\t\t\t\t\t\t\t<View style={ styles.dragIndicator } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ! hideHeader && getHeader() }\n\t\t\t\t\t</View>\n\t\t\t\t\t<WrapperView\n\t\t\t\t\t\t{ ...( hasNavigation\n\t\t\t\t\t\t\t? { style: listProps.style }\n\t\t\t\t\t\t\t: listProps ) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<BottomSheetProvider\n\t\t\t\t\t\t\tvalue={ {\n\t\t\t\t\t\t\t\tshouldEnableBottomSheetScroll:\n\t\t\t\t\t\t\t\t\tthis.onShouldEnableScroll,\n\t\t\t\t\t\t\t\tshouldEnableBottomSheetMaxHeight:\n\t\t\t\t\t\t\t\t\tthis.onShouldSetBottomSheetMaxHeight,\n\t\t\t\t\t\t\t\tisBottomSheetContentScrolling: isScrolling,\n\t\t\t\t\t\t\t\tonHandleClosingBottomSheet:\n\t\t\t\t\t\t\t\t\tthis.onHandleClosingBottomSheet,\n\t\t\t\t\t\t\t\tonHandleHardwareButtonPress:\n\t\t\t\t\t\t\t\t\tthis.onHandleHardwareButtonPress,\n\t\t\t\t\t\t\t\tlistProps,\n\t\t\t\t\t\t\t\tsetIsFullScreen: this.setIsFullScreen,\n\t\t\t\t\t\t\t\tsafeAreaBottomInset,\n\t\t\t\t\t\t\t\tmaxHeight,\n\t\t\t\t\t\t\t\tisMaxHeightSet,\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ hasNavigation ? (\n\t\t\t\t\t\t\t\t<>{ children }</>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<TouchableHighlight accessible={ false }>\n\t\t\t\t\t\t\t\t\t<>{ children }</>\n\t\t\t\t\t\t\t\t</TouchableHighlight>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</BottomSheetProvider>\n\t\t\t\t\t\t{ ! hasNavigation && (\n\t\t\t\t\t\t\t<View\n\t\t\t\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t\t\t\theight:\n\t\t\t\t\t\t\t\t\t\tsafeAreaBottomInset ||\n\t\t\t\t\t\t\t\t\t\tstyles.scrollableContent.paddingBottom,\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t</WrapperView>\n\t\t\t\t</KeyboardAvoidingView>\n\t\t\t</Modal>\n\t\t);\n\t}\n}\n\nfunction getWidth() {\n\treturn Math.min(\n\t\tDimensions.get( 'window' ).width,\n\t\tstyles.background.maxWidth\n\t);\n}\n\nconst ThemedBottomSheet = withPreferredColorScheme( BottomSheet );\n\nThemedBottomSheet.getWidth = getWidth;\nThemedBottomSheet.Button = Button;\nThemedBottomSheet.Cell = Cell;\nThemedBottomSheet.SubSheet = BottomSheetSubSheet;\nThemedBottomSheet.NavBar = NavBar;\nThemedBottomSheet.CyclePickerCell = CyclePickerCell;\nThemedBottomSheet.PickerCell = PickerCell;\nThemedBottomSheet.SwitchCell = SwitchCell;\nThemedBottomSheet.RangeCell = RangeCell;\nThemedBottomSheet.ColorCell = ColorCell;\nThemedBottomSheet.LinkCell = LinkCell;\nThemedBottomSheet.LinkSuggestionItemCell = LinkSuggestionItemCell;\nThemedBottomSheet.RadioCell = RadioCell;\nThemedBottomSheet.NavigationScreen = NavigationScreen;\nThemedBottomSheet.NavigationContainer = NavigationContainer;\n\nexport default ThemedBottomSheet;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAYA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAD,sBAAA,CAAAF,OAAA;AAKA,IAAAI,kBAAA,GAAAJ,OAAA;AAIA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAKA,IAAAO,OAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,OAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,KAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,gBAAA,GAAAR,sBAAA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,iBAAiB,CAACF;MAC3B;IAAG,CACH,CAEU,CACQ,CAChB,CAAC;EAEV;AACD;AAEA,SAASyF,QAAQA,CAAA,EAAG;EACnB,OAAOvG,IAAI,CAACC,GAAG,CACdtB,uBAAU,CAACgB,GAAG,CAAE,QAAS,CAAC,CAACD,KAAK,EAChCqB,eAAM,CAACsB,UAAU,CAACmE,QACnB,CAAC;AACF;AAEA,MAAMC,iBAAiB,GAAG,IAAAC,iCAAwB,EAAEpM,WAAY,CAAC;AAEjEmM,iBAAiB,CAACF,QAAQ,GAAGA,QAAQ;AACrCE,iBAAiB,CAACE,MAAM,GAAGA,eAAM;AACjCF,iBAAiB,CAACG,IAAI,GAAGA,aAAI;AAC7BH,iBAAiB,CAACI,QAAQ,GAAGC,iBAAmB;AAChDL,iBAAiB,CAACM,MAAM,GAAGA,eAAM;AACjCN,iBAAiB,CAACO,eAAe,GAAGA,wBAAe;AACnDP,iBAAiB,CAACQ,UAAU,GAAGA,mBAAU;AACzCR,iBAAiB,CAACS,UAAU,GAAGA,mBAAU;AACzCT,iBAAiB,CAACU,SAAS,GAAGA,kBAAS;AACvCV,iBAAiB,CAACW,SAAS,GAAGA,kBAAS;AACvCX,iBAAiB,CAACY,QAAQ,GAAGA,iBAAQ;AACrCZ,iBAAiB,CAACa,sBAAsB,GAAGA,+BAAsB;AACjEb,iBAAiB,CAACc,SAAS,GAAGA,kBAAS;AACvCd,iBAAiB,CAACe,gBAAgB,GAAGA,yBAAgB;AACrDf,iBAAiB,CAACgB,mBAAmB,GAAGA,4BAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAArD,OAAA,GAE7CmC,iBAAiB"}
@@ -113,6 +113,5 @@ KeyboardAvoidingView.defaultProps = {
113
113
  enabled: true,
114
114
  keyboardVerticalOffset: 0
115
115
  };
116
- var _default = KeyboardAvoidingView;
117
- exports.default = _default;
116
+ var _default = exports.default = KeyboardAvoidingView;
118
117
  //# sourceMappingURL=keyboard-avoiding-view.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_element","KeyboardAvoidingView","Component","constructor","arguments","_onKeyboardChange","bind","_subscriptions","state","bottom","_relativeKeyboardHeight","keyboardFrame","windowWidth","Dimensions","get","width","isFloatingKeyboard","windowHeight","height","keyboardY","screenY","props","keyboardVerticalOffset","final","Math","max","event","setState","duration","easing","endCoordinates","LayoutAnimation","configureNext","update","type","Types","componentDidMount","Platform","OS","Keyboard","addListener","componentWillUnmount","forEach","subscription","remove","render","children","enabled","style","finalStyle","bottomHeight","StyleSheet","compose","paddingBottom","_react","createElement","View","defaultProps","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/keyboard-avoiding-view.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tKeyboard,\n\tLayoutAnimation,\n\tPlatform,\n\tStyleSheet,\n\tView,\n\tDimensions,\n} from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { Component } from '@wordpress/element';\n\n/**\n * This is a simplified version of Facebook's KeyboardAvoidingView.\n * It's meant to work specifically with BottomSheets.\n * This fixes an issue in the bottom padding calculation, when the\n * BottomSheet was presented on Landscape, with the keyboard already present,\n * and a TextField on Autofocus (situation present on Links UI)\n */\nclass KeyboardAvoidingView extends Component {\n\tconstructor() {\n\t\tsuper( ...arguments );\n\n\t\tthis._onKeyboardChange = this._onKeyboardChange.bind( this );\n\t\tthis._subscriptions = [];\n\t\tthis.state = {\n\t\t\tbottom: 0,\n\t\t};\n\t}\n\n\t_relativeKeyboardHeight( keyboardFrame ) {\n\t\tif ( ! keyboardFrame ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tconst windowWidth = Dimensions.get( 'window' ).width;\n\t\tconst isFloatingKeyboard = keyboardFrame.width !== windowWidth;\n\t\tif ( isFloatingKeyboard ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tconst windowHeight = Dimensions.get( 'window' ).height;\n\t\tconst keyboardY =\n\t\t\tkeyboardFrame.screenY - this.props.keyboardVerticalOffset;\n\n\t\tconst final = Math.max( windowHeight - keyboardY, 0 );\n\t\treturn final;\n\t}\n\n\t/**\n\t * @param {Object} event Keyboard event.\n\t */\n\t_onKeyboardChange( event ) {\n\t\tif ( event === null ) {\n\t\t\tthis.setState( { bottom: 0 } );\n\t\t\treturn;\n\t\t}\n\n\t\tconst { duration, easing, endCoordinates } = event;\n\t\tconst height = this._relativeKeyboardHeight( endCoordinates );\n\n\t\tif ( this.state.bottom === height ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( duration && easing ) {\n\t\t\tLayoutAnimation.configureNext( {\n\t\t\t\tduration,\n\t\t\t\tupdate: {\n\t\t\t\t\tduration,\n\t\t\t\t\ttype: LayoutAnimation.Types[ easing ] || 'keyboard',\n\t\t\t\t},\n\t\t\t} );\n\t\t}\n\t\tthis.setState( { bottom: height } );\n\t}\n\n\tcomponentDidMount() {\n\t\tif ( Platform.OS === 'ios' ) {\n\t\t\tthis._subscriptions = [\n\t\t\t\tKeyboard.addListener(\n\t\t\t\t\t'keyboardWillChangeFrame',\n\t\t\t\t\tthis._onKeyboardChange\n\t\t\t\t),\n\t\t\t];\n\t\t}\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis._subscriptions.forEach( ( subscription ) => {\n\t\t\tsubscription.remove();\n\t\t} );\n\t}\n\n\trender() {\n\t\tconst { children, enabled, keyboardVerticalOffset, style, ...props } =\n\t\t\tthis.props;\n\n\t\tlet finalStyle = style;\n\t\tif ( Platform.OS === 'ios' ) {\n\t\t\tconst bottomHeight = enabled ? this.state.bottom : 0;\n\t\t\tfinalStyle = StyleSheet.compose( style, {\n\t\t\t\tpaddingBottom: bottomHeight,\n\t\t\t} );\n\t\t}\n\n\t\treturn (\n\t\t\t<View style={ finalStyle } { ...props }>\n\t\t\t\t{ children }\n\t\t\t</View>\n\t\t);\n\t}\n}\n\nKeyboardAvoidingView.defaultProps = {\n\tenabled: true,\n\tkeyboardVerticalOffset: 0,\n};\n\nexport default KeyboardAvoidingView;\n"],"mapp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AA,EAACzD,YAAA,CAAA0D,IAAI;MAACR,KAAK,EAAGC,UAAY;MAAA,GAAM5B;IAAK,GAClCyB,QACG,CAAC;EAET;AACD;AAEA7C,oBAAoB,CAACwD,YAAY,GAAG;EACnCV,OAAO,EAAE,IAAI;EACbzB,sBAAsB,EAAE;AACzB,CAAC;AAAC,IAAAoC,QAAA,GAEazD,oBAAoB;AAAA0D,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_element","KeyboardAvoidingView","Component","constructor","arguments","_onKeyboardChange","bind","_subscriptions","state","bottom","_relativeKeyboardHeight","keyboardFrame","windowWidth","Dimensions","get","width","isFloatingKeyboard","windowHeight","height","keyboardY","screenY","props","keyboardVerticalOffset","final","Math","max","event","setState","duration","easing","endCoordinates","LayoutAnimation","configureNext","update","type","Types","componentDidMount","Platform","OS","Keyboard","addListener","componentWillUnmount","forEach","subscription","remove","render","children","enabled","style","finalStyle","bottomHeight","StyleSheet","compose","paddingBottom","_react","createElement","View","defaultProps","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/keyboard-avoiding-view.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport {\n\tKeyboard,\n\tLayoutAnimation,\n\tPlatform,\n\tStyleSheet,\n\tView,\n\tDimensions,\n} from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { Component } from '@wordpress/element';\n\n/**\n * This is a simplified version of Facebook's KeyboardAvoidingView.\n * It's meant to work specifically with BottomSheets.\n * This fixes an issue in the bottom padding calculation, when the\n * BottomSheet was presented on Landscape, with the keyboard already present,\n * and a TextField on Autofocus (situation present on Links UI)\n */\nclass KeyboardAvoidingView extends Component {\n\tconstructor() {\n\t\tsuper( ...arguments );\n\n\t\tthis._onKeyboardChange = this._onKeyboardChange.bind( this );\n\t\tthis._subscriptions = [];\n\t\tthis.state = {\n\t\t\tbottom: 0,\n\t\t};\n\t}\n\n\t_relativeKeyboardHeight( keyboardFrame ) {\n\t\tif ( ! keyboardFrame ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tconst windowWidth = Dimensions.get( 'window' ).width;\n\t\tconst isFloatingKeyboard = keyboardFrame.width !== windowWidth;\n\t\tif ( isFloatingKeyboard ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tconst windowHeight = Dimensions.get( 'window' ).height;\n\t\tconst keyboardY =\n\t\t\tkeyboardFrame.screenY - this.props.keyboardVerticalOffset;\n\n\t\tconst final = Math.max( windowHeight - keyboardY, 0 );\n\t\treturn final;\n\t}\n\n\t/**\n\t * @param {Object} event Keyboard event.\n\t */\n\t_onKeyboardChange( event ) {\n\t\tif ( event === null ) {\n\t\t\tthis.setState( { bottom: 0 } );\n\t\t\treturn;\n\t\t}\n\n\t\tconst { duration, easing, endCoordinates } = event;\n\t\tconst height = this._relativeKeyboardHeight( endCoordinates );\n\n\t\tif ( this.state.bottom === height ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( duration && easing ) {\n\t\t\tLayoutAnimation.configureNext( {\n\t\t\t\tduration,\n\t\t\t\tupdate: {\n\t\t\t\t\tduration,\n\t\t\t\t\ttype: LayoutAnimation.Types[ easing ] || 'keyboard',\n\t\t\t\t},\n\t\t\t} );\n\t\t}\n\t\tthis.setState( { bottom: height } );\n\t}\n\n\tcomponentDidMount() {\n\t\tif ( Platform.OS === 'ios' ) {\n\t\t\tthis._subscriptions = [\n\t\t\t\tKeyboard.addListener(\n\t\t\t\t\t'keyboardWillChangeFrame',\n\t\t\t\t\tthis._onKeyboardChange\n\t\t\t\t),\n\t\t\t];\n\t\t}\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis._subscriptions.forEach( ( subscription ) => {\n\t\t\tsubscription.remove();\n\t\t} );\n\t}\n\n\trender() {\n\t\tconst { children, enabled, keyboardVerticalOffset, style, ...props } =\n\t\t\tthis.props;\n\n\t\tlet finalStyle = style;\n\t\tif ( Platform.OS === 'ios' ) {\n\t\t\tconst bottomHeight = enabled ? this.state.bottom : 0;\n\t\t\tfinalStyle = StyleSheet.compose( style, {\n\t\t\t\tpaddingBottom: bottomHeight,\n\t\t\t} );\n\t\t}\n\n\t\treturn (\n\t\t\t<View style={ finalStyle } { ...props }>\n\t\t\t\t{ children }\n\t\t\t</View>\n\t\t);\n\t}\n}\n\nKeyboardAvoidingView.defaultProps = {\n\tenabled: true,\n\tkeyboardVerticalOffset: 0,\n};\n\nexport default KeyboardAvoidingView;\n"],"mappings":";;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAYA,IAAAC,QAAA,GAAAD,OAAA;AAfA;AACA;AACA;;AAUA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAME,oBAAoB,SAASC,kBAAS,CAAC;EAC5CC,WAAWA,CAAA,EAAG;IACb,KAAK,CAAE,GAAGC,SAAU,CAAC;IAErB,IAAI,CAACC,iBAAiB,GAAG,IAAI,CAACA,iBAAiB,CAACC,IAAI,CAAE,IAAK,CAAC;IAC5D,IAAI,CAACC,cAAc,GAAG,EAAE;IACxB,IAAI,CAACC,KAAK,GAAG;MACZC,MAAM,EAAE;IACT,CAAC;EACF;EAEAC,uBAAuBA,CAAEC,aAAa,EAAG;IACxC,IAAK,CAAEA,aAAa,EAAG;MACtB,OAAO,CAAC;IACT;IAEA,MAAMC,WAAW,GAAGC,uBAAU,CAACC,GAAG,CAAE,QAAS,CAAC,CAACC,KAAK;IACpD,MAAMC,kBAAkB,GAAGL,aAAa,CAACI,KAAK,KAAKH,WAAW;IAC9D,IAAKI,kBAAkB,EAAG;MACzB,OAAO,CAAC;IACT;IAEA,MAAMC,YAAY,GAAGJ,uBAAU,CAACC,GAAG,CAAE,QAAS,CAAC,CAACI,MAAM;IACtD,MAAMC,SAAS,GACdR,aAAa,CAACS,OAAO,GAAG,IAAI,CAACC,KAAK,CAACC,sBAAsB;IAE1D,MAAMC,KAAK,GAAGC,IAAI,CAACC,GAAG,CAAER,YAAY,GAAGE,SAAS,EAAE,CAAE,CAAC;IAC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ACtB,IAAKX,qBAAQ,CAACC,EAAE,KAAK,KAAK,EAAG;MAC5B,MAAMY,YAAY,GAAGH,OAAO,GAAG,IAAI,CAACvC,KAAK,CAACC,MAAM,GAAG,CAAC;MACpDwC,UAAU,GAAGE,uBAAU,CAACC,OAAO,CAAEJ,KAAK,EAAE;QACvCK,aAAa,EAAEH;MAChB,CAAE,CAAC;IACJ;IAEA,OACC,IAAAI,MAAA,CAAAC,aAAA,EAACzD,YAAA,CAAA0D,IAAI;MAACR,KAAK,EAAGC,UAAY;MAAA,GAAM5B;IAAK,GAClCyB,QACG,CAAC;EAET;AACD;AAEA7C,oBAAoB,CAACwD,YAAY,GAAG;EACnCV,OAAO,EAAE,IAAI;EACbzB,sBAAsB,EAAE;AACzB,CAAC;AAAC,IAAAoC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa3D,oBAAoB"}
@@ -84,6 +84,5 @@ function LinkSuggestionItemCell({
84
84
  ellipsizeMode: 'middle'
85
85
  }, summary)));
86
86
  }
87
- var _default = LinkSuggestionItemCell;
88
- exports.default = _default;
87
+ var _default = exports.default = LinkSuggestionItemCell;
89
88
  //# sourceMappingURL=link-suggestion-item-cell.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_i18n","_icons","_compose","_cell","_interopRequireDefault","_styles","_linkSuggestionStyles","_gridicons","icons","URL","globe","clipboard","post","posts","page","pages","getSummaryForType","type","__","LinkSuggestionItemCell","suggestion","onLinkPicked","props","title","contentTitle","url","isDirectEntry","summary","pickLink","cellTitleStyle","usePreferredColorSchemeStyle","cellStyles","cellLabel","cellTextDark","cellSummaryStyle","cellValue","titleStyle","suggestionStyles","summaryStyle","_react","createElement","default","icon","empty","onPress","separatorType","cellContainerStyle","itemContainerStyle","labelStyle","hidden","valueStyle","View","style","containerStyle","Text","numberOfLines","ellipsizeMode","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { Text, View } from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { globe } from '@wordpress/icons';\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport Cell from './cell';\nimport cellStyles from './styles.scss';\nimport suggestionStyles from './link-suggestion-styles.scss';\nimport { posts, pages, empty, clipboard } from '../gridicons';\n\nconst icons = {\n\tURL: globe,\n\tclipboard,\n\tpost: posts,\n\tpage: pages,\n};\n\nconst getSummaryForType = ( type ) => {\n\tswitch ( type ) {\n\t\tcase 'clipboard':\n\t\t\treturn __( 'From clipboard' );\n\t\tcase 'mailto':\n\t\t\treturn __( 'Add this email link' );\n\t\tcase 'tel':\n\t\t\treturn __( 'Add this telephone link' );\n\t\tdefault:\n\t\t\treturn __( 'Add this link' );\n\t}\n};\n\n// We use some Cell styles here with a column flex-direction.\nfunction LinkSuggestionItemCell( { suggestion, onLinkPicked, ...props } ) {\n\tconst { title: contentTitle, url, type, isDirectEntry } = suggestion;\n\tconst title = isDirectEntry ? url : contentTitle;\n\tconst summary = isDirectEntry ? getSummaryForType( type ) : url;\n\n\tconst pickLink = () => onLinkPicked( suggestion );\n\n\tconst cellTitleStyle = usePreferredColorSchemeStyle(\n\t\tcellStyles.cellLabel,\n\t\tcellStyles.cellTextDark\n\t);\n\n\tconst cellSummaryStyle = usePreferredColorSchemeStyle(\n\t\tcellStyles.cellValue,\n\t\tcellStyles.cellTextDark\n\t);\n\n\tconst titleStyle = [ cellTitleStyle, suggestionStyles.titleStyle ];\n\tconst summaryStyle = [ cellSummaryStyle, suggestionStyles.summaryStyle ];\n\n\treturn (\n\t\t<Cell\n\t\t\t{ ...props }\n\t\t\ticon={ icons[ type ] || empty }\n\t\t\tonPress={ pickLink }\n\t\t\tseparatorType={ 'none' }\n\t\t\tcellContainerStyle={ suggestionStyles.itemContainerStyle }\n\t\t\tlabelStyle={ suggestionStyles.hidden }\n\t\t\tvalueStyle={ suggestionStyles.hidden }\n\t\t>\n\t\t\t<View style={ suggestionStyles.containerStyle }>\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ titleStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ title }\n\t\t\t\t</Text>\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ summaryStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ summary }\n\t\t\t\t</Text>\n\t\t\t</View>\n\t\t</Cell>\n\t);\n}\n\nexport default LinkSuggestionItemCell;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAKA,IAAAI,KAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,OAAA,GAAAD,sBAAA,CAAAL,OAAA;AACA,IAAAO,qBAAA,GAAAF,sBAAA,CAAAL,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AAlBA;AACA;AACA;;AAGA;AACA;AACA;;AAKA;AACA;AACA;;AAMA,MAAMS,KAAK,GAAG;EACbC,GAAG,EAAEC,YAAK;EACVC,SAAS,EAATA,oBAAS;EACTC,IAAI,EAAEC,gBAAK;EACXC,IAAI,EAAEC;AACP,CAAC;AAED,MAAMC,iBAAiB,GAAKC,IAAI,IAAM;EACrC,QAASA,IAAI;IACZ,KAAK,WAAW;MACf,OAAO,IAAAC,QAAE,EAAE,gBAAiB,CAAC;IAC9B,KAAK,QAAQ;MACZ,OAAO,IAAAA,QAAE,EAAE,qBAAsB,CAAC;IACnC,KAAK,KAAK;MACT,OAAO,IAAAA,QAAE,EAAE,yBAA0B,CAAC;IACvC;MACC,OAAO,IAAAA,QAAE,EAAE,eAAgB,CAAC;EAC9B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AAA,CAAAwD,IAAI;IACJF,KAAK,EAAGhB,UAAY;IACpBmB,aAAa,EAAG,CAAG;IACnBC,aAAa,EAAG;EAAU,GAExBjC,KACG,CAAC,EACP,IAAAgB,MAAA,CAAAC,aAAA,EAAC1C,YAAA,CAAAwD,IAAI;IACJF,KAAK,EAAGd,YAAc;IACtBiB,aAAa,EAAG,CAAG;IACnBC,aAAa,EAAG;EAAU,GAExB7B,OACG,CACD,CACD,CAAC;AAET;AAAC,IAAA8B,QAAA,GAEctC,sBAAsB;AAAAuC,OAAA,CAAAjB,OAAA,GAAAgB,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_i18n","_icons","_compose","_cell","_interopRequireDefault","_styles","_linkSuggestionStyles","_gridicons","icons","URL","globe","clipboard","post","posts","page","pages","getSummaryForType","type","__","LinkSuggestionItemCell","suggestion","onLinkPicked","props","title","contentTitle","url","isDirectEntry","summary","pickLink","cellTitleStyle","usePreferredColorSchemeStyle","cellStyles","cellLabel","cellTextDark","cellSummaryStyle","cellValue","titleStyle","suggestionStyles","summaryStyle","_react","createElement","default","icon","empty","onPress","separatorType","cellContainerStyle","itemContainerStyle","labelStyle","hidden","valueStyle","View","style","containerStyle","Text","numberOfLines","ellipsizeMode","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { Text, View } from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { globe } from '@wordpress/icons';\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport Cell from './cell';\nimport cellStyles from './styles.scss';\nimport suggestionStyles from './link-suggestion-styles.scss';\nimport { posts, pages, empty, clipboard } from '../gridicons';\n\nconst icons = {\n\tURL: globe,\n\tclipboard,\n\tpost: posts,\n\tpage: pages,\n};\n\nconst getSummaryForType = ( type ) => {\n\tswitch ( type ) {\n\t\tcase 'clipboard':\n\t\t\treturn __( 'From clipboard' );\n\t\tcase 'mailto':\n\t\t\treturn __( 'Add this email link' );\n\t\tcase 'tel':\n\t\t\treturn __( 'Add this telephone link' );\n\t\tdefault:\n\t\t\treturn __( 'Add this link' );\n\t}\n};\n\n// We use some Cell styles here with a column flex-direction.\nfunction LinkSuggestionItemCell( { suggestion, onLinkPicked, ...props } ) {\n\tconst { title: contentTitle, url, type, isDirectEntry } = suggestion;\n\tconst title = isDirectEntry ? url : contentTitle;\n\tconst summary = isDirectEntry ? getSummaryForType( type ) : url;\n\n\tconst pickLink = () => onLinkPicked( suggestion );\n\n\tconst cellTitleStyle = usePreferredColorSchemeStyle(\n\t\tcellStyles.cellLabel,\n\t\tcellStyles.cellTextDark\n\t);\n\n\tconst cellSummaryStyle = usePreferredColorSchemeStyle(\n\t\tcellStyles.cellValue,\n\t\tcellStyles.cellTextDark\n\t);\n\n\tconst titleStyle = [ cellTitleStyle, suggestionStyles.titleStyle ];\n\tconst summaryStyle = [ cellSummaryStyle, suggestionStyles.summaryStyle ];\n\n\treturn (\n\t\t<Cell\n\t\t\t{ ...props }\n\t\t\ticon={ icons[ type ] || empty }\n\t\t\tonPress={ pickLink }\n\t\t\tseparatorType={ 'none' }\n\t\t\tcellContainerStyle={ suggestionStyles.itemContainerStyle }\n\t\t\tlabelStyle={ suggestionStyles.hidden }\n\t\t\tvalueStyle={ suggestionStyles.hidden }\n\t\t>\n\t\t\t<View style={ suggestionStyles.containerStyle }>\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ titleStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ title }\n\t\t\t\t</Text>\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ summaryStyle }\n\t\t\t\t\tnumberOfLines={ 1 }\n\t\t\t\t\tellipsizeMode={ 'middle' }\n\t\t\t\t>\n\t\t\t\t\t{ summary }\n\t\t\t\t</Text>\n\t\t\t</View>\n\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ton({
32
32
  style: _styles.default['action-button']
33
33
  }, children));
34
34
  }
35
- var _default = ActionButton;
36
- exports.default = _default;
35
+ var _default = exports.default = ActionButton;
37
36
  //# sourceMappingURL=action-button.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_styles","_interopRequireDefault","ActionButton","onPress","accessibilityLabel","accessibilityHint","children","_react","createElement","TouchableWithoutFeedback","accessibilityRole","View","style","styles","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/nav-bar/action-button.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { View, TouchableWithoutFeedback } from 'react-native';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\n\n// Action button component is used by both Back and Apply Button componenets.\nfunction ActionButton( {\n\tonPress,\n\taccessibilityLabel,\n\taccessibilityHint,\n\tchildren,\n} ) {\n\treturn (\n\t\t<TouchableWithoutFeedback\n\t\t\tonPress={ onPress }\n\t\t\taccessibilityRole={ 'button' }\n\t\t\taccessibilityLabel={ accessibilityLabel }\n\t\t\taccessibilityHint={ accessibilityHint }\n\t\t>\n\t\t\t<View style={ styles[ 'action-button' ] }>{ children }</View>\n\t\t</TouchableWithoutFeedback>\n\t);\n}\n\nexport default ActionButton;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AARA;AACA;AACA;;AAGA;AACA;AACA;;AAGA;AACA,SAASG,YAAYA,CAAE;EACtBC,OAAO;EACPC,kBAAkB;EAClBC,iBAAiB;EACjBC;AACD,CAAC,EAAG;EACH,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACV,YAAA,CAAAW,wBAAwB;IACxBN,OAAO,EAAGA,OAAS;IACnBO,iBAAiB,EAAG,QAAU;IAC9BN,kBAAkB,EAAGA,kBAAoB;IACzCC,iBAAiB,EAAGA;EAAmB,GAEvC,IAAAE,MAAA,CAAAC,aAAA,EAACV,YAAA,CAAAa,IAAI;IAACC,KAAK,EAAGC,eAAM,CAAE,eAAe;EAAI,GAAGP,QAAgB,CACnC,CAAC;AAE7B;AAAC,IAAAQ,QAAA,GAEcZ,YAAY;AAAAa,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_styles","_interopRequireDefault","ActionButton","onPress","accessibilityLabel","accessibilityHint","children","_react","createElement","TouchableWithoutFeedback","accessibilityRole","View","style","styles","_default","exports","default"],"sources":["@wordpress/components/src/mobile/bottom-sheet/nav-bar/action-button.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { View, TouchableWithoutFeedback } from 'react-native';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\n\n// Action button component is used by both Back and Apply Button componenets.\nfunction ActionButton( {\n\tonPress,\n\taccessibilityLabel,\n\taccessibilityHint,\n\tchildren,\n} ) {\n\treturn (\n\t\t<TouchableWithoutFeedback\n\t\t\tonPress={ onPress }\n\t\t\taccessibilityRole={ 'button' }\n\t\t\taccessibilityLabel={ accessibilityLabel }\n\t\t\taccessibilityHint={ accessibilityHint }\n\t\t>\n\t\t\t<View style={ styles[ 'action-button' ] }>{ children }</View>\n\t\t</TouchableWithoutFeedback>\n\t);\n}\n\nexport default ActionButton;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AARA;AACA;AACA;;AAGA;AACA;AACA;;AAGA;AACA,SAASG,YAAYA,CAAE;EACtBC,OAAO;EACPC,kBAAkB;EAClBC,iBAAiB;EACjBC;AACD,CAAC,EAAG;EACH,OACC,IAAAC,MAAA,CAAAC,aAAA,EAACV,YAAA,CAAAW,wBAAwB;IACxBN,OAAO,EAAGA,OAAS;IACnBO,iBAAiB,EAAG,QAAU;IAC9BN,kBAAkB,EAAGA,kBAAoB;IACzCC,iBAAiB,EAAGA;EAAmB,GAEvC,IAAAE,MAAA,CAAAC,aAAA,EAACV,YAAA,CAAAa,IAAI;IAACC,KAAK,EAAGC,eAAM,CAAE,eAAe;EAAI,GAAGP,QAAgB,CACnC,CAAC;AAE7B;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcd,YAAY"}
@@ -44,6 +44,5 @@ function ApplyButton({
44
44
  style: applyButtonStyle
45
45
  })));
46
46
  }
47
- var _default = ApplyButton;
48
- exports.default = _default;
47
+ var _default = exports.default = ApplyButton;
49
48
  //# sourceMappingURL=apply-button.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_i18n","_icons","_compose","_styles","_interopRequireDefault","_actionButton","ApplyButton","onPress","buttonTextStyle","usePreferredColorSchemeStyle","styles","applyButtonStyle","_react","createElement","View","style","default","accessibilityLabel","__","accessibilityHint","Platform","OS","Text","maxFontSizeMultiplier","Icon","icon","check","size","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/nav-bar/apply-button.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { View, Text, Platform } from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { Icon, check } from '@wordpress/icons';\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport ActionButton from './action-button';\n\nfunction ApplyButton( { onPress } ) {\n\tconst buttonTextStyle = usePreferredColorSchemeStyle(\n\t\tstyles[ 'button-text' ],\n\t\tstyles[ 'button-text-dark' ]\n\t);\n\n\tconst applyButtonStyle = usePreferredColorSchemeStyle(\n\t\tstyles[ 'apply-button-icon' ],\n\t\tstyles[ 'apply-button-icon-dark' ]\n\t);\n\n\treturn (\n\t\t<View style={ styles[ 'apply-button' ] }>\n\t\t\t<ActionButton\n\t\t\t\tonPress={ onPress }\n\t\t\t\taccessibilityLabel={ __( 'Apply' ) }\n\t\t\t\taccessibilityHint={ __( 'Applies the setting' ) }\n\t\t\t>\n\t\t\t\t{ Platform.OS === 'ios' ? (\n\t\t\t\t\t<Text style={ buttonTextStyle } maxFontSizeMultiplier={ 2 }>\n\t\t\t\t\t\t{ __( 'Apply' ) }\n\t\t\t\t\t</Text>\n\t\t\t\t) : (\n\t\t\t\t\t<Icon\n\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\tsize={ 24 }\n\t\t\t\t\t\tstyle={ applyButtonStyle }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t</ActionButton>\n\t\t</View>\n\t);\n}\n\nexport default ApplyButton;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAKA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,aAAA,GAAAD,sBAAA,CAAAL,OAAA;AAhBA;AACA;AACA;;AAGA;AACA;AACA;;AAKA;AACA;AACA;;AAIA,SAASO,WAAWA,CAAE;EAAEC;AAAQ,CAAC,EAAG;EACnC,MAAMC,eAAe,GAAG,IAAAC,qCAA4B,EACnDC,eAAM,CAAE,aAAa,CAAE,EACvBA,eAAM,CAAE,kBAAkB,CAC3B,CAAC;EAED,MAAMC,gBAAgB,GAAG,IAAAF,qCAA4B,EACpDC,eAAM,CAAE,mBAAmB,CAAE,EAC7BA,eAAM,CAAE,wBAAwB,CACjC,CAAC;EAED,OACC,IAAAE,MAAA,CAAAC,aAAA,EAACf,YAAA,CAAAgB,IAAI;IAACC,KAAK,EAAGL,eAAM,CAAE,cAAc;EAAI,GACvC,IAAAE,MAAA,CAAAC,aAAA,EAACR,aAAA,CAAAW,OAAY;IACZT,OAAO,EAAGA,OAAS;IACnBU,kBAAkB,EAAG,IAAAC,QAAE,EAAE,OAAQ,CAAG;IACpCC,iBAAiB,EAAG,IAAAD,QAAE,EAAE,qBAAsB;EAAG,GAE/CE,qBAAQ,CAACC,EAAE,KAAK,KAAK,GACtB,IAAAT,MAAA,CAAAC,aAAA,EAACf,YAAA,CAAAwB,IAAI;IAACP,KAAK,EAAGP,eAAiB;IAACe,qBAAqB,EAAG;EAAG,GACxD,IAAAL,QAAE,EAAE,OAAQ,CACT,CAAC,GAEP,IAAAN,MAAA,CAAAC,aAAA,EAACZ,MAAA,CAAAuB,IAAI;IACJC,IAAI,EAAGC,YAAO;IACdC,IAAI,EAAG,EAAI;IACXZ,KAAK,EAAGJ;EAAkB,CAC1B,CAEW,CACT,CAAC;AAET;AAAC,IAAAiB,QAAA,GAEctB,WAAW;AAAAuB,OAAA,CAAAb,OAAA,GAAAY,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_i18n","_icons","_compose","_styles","_interopRequireDefault","_actionButton","ApplyButton","onPress","buttonTextStyle","usePreferredColorSchemeStyle","styles","applyButtonStyle","_react","createElement","View","style","default","accessibilityLabel","__","accessibilityHint","Platform","OS","Text","maxFontSizeMultiplier","Icon","icon","check","size","_default","exports"],"sources":["@wordpress/components/src/mobile/bottom-sheet/nav-bar/apply-button.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { View, Text, Platform } from 'react-native';\n\n/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { Icon, check } from '@wordpress/icons';\nimport { usePreferredColorSchemeStyle } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport styles from './styles.scss';\nimport ActionButton from './action-button';\n\nfunction ApplyButton( { onPress } ) {\n\tconst buttonTextStyle = usePreferredColorSchemeStyle(\n\t\tstyles[ 'button-text' ],\n\t\tstyles[ 'button-text-dark' ]\n\t);\n\n\tconst applyButtonStyle = usePreferredColorSchemeStyle(\n\t\tstyles[ 'apply-button-icon' ],\n\t\tstyles[ 'apply-button-icon-dark' ]\n\t);\n\n\treturn (\n\t\t<View style={ styles[ 'apply-button' ] }>\n\t\t\t<ActionButton\n\t\t\t\tonPress={ onPress }\n\t\t\t\taccessibilityLabel={ __( 'Apply' ) }\n\t\t\t\taccessibilityHint={ __( 'Applies the setting' ) }\n\t\t\t>\n\t\t\t\t{ Platform.OS === 'ios' ? (\n\t\t\t\t\t<Text style={ buttonTextStyle } maxFontSizeMultiplier={ 2 }>\n\t\t\t\t\t\t{ __( 'Apply' ) }\n\t\t\t\t\t</Text>\n\t\t\t\t) : (\n\t\t\t\t\t<Icon\n\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\tsize={ 24 }\n\t\t\t\t\t\tstyle={ applyButtonStyle }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t</ActionButton>\n\t\t</View>\n\t);\n}\n\nexport default ApplyButton;\n"],"mappings":";;;;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAKA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,aAAA,GAAAD,sBAAA,CAAAL,OAAA;AAhBA;AACA;AACA;;AAGA;AACA;AACA;;AAKA;AACA;AACA;;AAIA,SAASO,WAAWA,CAAE;EAAEC;AAAQ,CAAC,EAAG;EACnC,MAAMC,eAAe,GAAG,IAAAC,qCAA4B,EACnDC,eAAM,CAAE,aAAa,CAAE,EACvBA,eAAM,CAAE,kBAAkB,CAC3B,CAAC;EAED,MAAMC,gBAAgB,GAAG,IAAAF,qCAA4B,EACpDC,eAAM,CAAE,mBAAmB,CAAE,EAC7BA,eAAM,CAAE,wBAAwB,CACjC,CAAC;EAED,OACC,IAAAE,MAAA,CAAAC,aAAA,EAACf,YAAA,CAAAgB,IAAI;IAACC,KAAK,EAAGL,eAAM,CAAE,cAAc;EAAI,GACvC,IAAAE,MAAA,CAAAC,aAAA,EAACR,aAAA,CAAAW,OAAY;IACZT,OAAO,EAAGA,OAAS;IACnBU,kBAAkB,EAAG,IAAAC,QAAE,EAAE,OAAQ,CAAG;IACpCC,iBAAiB,EAAG,IAAAD,QAAE,EAAE,qBAAsB;EAAG,GAE/CE,qBAAQ,CAACC,EAAE,KAAK,KAAK,GACtB,IAAAT,MAAA,CAAAC,aAAA,EAACf,YAAA,CAAAwB,IAAI;IAACP,KAAK,EAAGP,eAAiB;IAACe,qBAAqB,EAAG;EAAG,GACxD,IAAAL,QAAE,EAAE,OAAQ,CACT,CAAC,GAEP,IAAAN,MAAA,CAAAC,aAAA,EAACZ,MAAA,CAAAuB,IAAI;IACJC,IAAI,EAAGC,YAAO;IACdC,IAAI,EAAG,EAAI;IACXZ,KAAK,EAAGJ;EAAkB,CAC1B,CAEW,CACT,CAAC;AAET;AAAC,IAAAiB,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEcV,WAAW"}
@@ -93,6 +93,5 @@ function DismissButton({
93
93
  }
94
94
  Button.Back = BackButton;
95
95
  Button.Dismiss = DismissButton; // Cancel or Close Button.
96
- var _default = Button;
97
- exports.default = _default;
96
+ var _default = exports.default = Button;
98
97
  //# sourceMappingURL=back-button.native.js.map