@wordpress/components 33.0.0 → 33.1.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 (817) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/alignment-matrix-control/cell.cjs +79 -5
  3. package/build/alignment-matrix-control/cell.cjs.map +3 -3
  4. package/build/alignment-matrix-control/index.cjs +79 -5
  5. package/build/alignment-matrix-control/index.cjs.map +3 -3
  6. package/build/angle-picker-control/angle-circle.cjs +79 -5
  7. package/build/angle-picker-control/angle-circle.cjs.map +3 -3
  8. package/build/autocomplete/autocompleter-ui.cjs.map +2 -2
  9. package/build/color-palette/index.cjs +14 -8
  10. package/build/color-palette/index.cjs.map +2 -2
  11. package/build/color-palette/utils.cjs +9 -2
  12. package/build/color-palette/utils.cjs.map +2 -2
  13. package/build/color-picker/hex-input.cjs +1 -1
  14. package/build/color-picker/hex-input.cjs.map +2 -2
  15. package/build/custom-gradient-picker/index.cjs.map +2 -2
  16. package/build/focal-point-picker/index.cjs.map +2 -2
  17. package/build/modal/index.cjs +1 -5
  18. package/build/modal/index.cjs.map +2 -2
  19. package/build/modal/use-modal-exit-animation.cjs +52 -41
  20. package/build/modal/use-modal-exit-animation.cjs.map +2 -2
  21. package/build/palette-edit/index.cjs.map +2 -2
  22. package/build/slot-fill/fill.cjs +2 -2
  23. package/build/slot-fill/fill.cjs.map +2 -2
  24. package/build/style-provider/index.cjs +82 -3
  25. package/build/style-provider/index.cjs.map +4 -4
  26. package/build/text/styles.cjs +7 -7
  27. package/build/text/styles.cjs.map +2 -2
  28. package/build/utils/config-values.cjs +3 -0
  29. package/build/utils/config-values.cjs.map +2 -2
  30. package/build/utils/dropdown-motion.cjs +2 -2
  31. package/build/utils/dropdown-motion.cjs.map +2 -2
  32. package/build-module/alignment-matrix-control/cell.mjs +79 -5
  33. package/build-module/alignment-matrix-control/cell.mjs.map +3 -3
  34. package/build-module/alignment-matrix-control/index.mjs +79 -5
  35. package/build-module/alignment-matrix-control/index.mjs.map +3 -3
  36. package/build-module/angle-picker-control/angle-circle.mjs +79 -5
  37. package/build-module/angle-picker-control/angle-circle.mjs.map +3 -3
  38. package/build-module/autocomplete/autocompleter-ui.mjs.map +2 -2
  39. package/build-module/color-palette/index.mjs +14 -8
  40. package/build-module/color-palette/index.mjs.map +2 -2
  41. package/build-module/color-palette/utils.mjs +9 -2
  42. package/build-module/color-palette/utils.mjs.map +2 -2
  43. package/build-module/color-picker/hex-input.mjs +1 -1
  44. package/build-module/color-picker/hex-input.mjs.map +2 -2
  45. package/build-module/custom-gradient-picker/index.mjs.map +2 -2
  46. package/build-module/focal-point-picker/index.mjs.map +2 -2
  47. package/build-module/modal/index.mjs +1 -5
  48. package/build-module/modal/index.mjs.map +2 -2
  49. package/build-module/modal/use-modal-exit-animation.mjs +52 -41
  50. package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
  51. package/build-module/palette-edit/index.mjs.map +2 -2
  52. package/build-module/slot-fill/fill.mjs +2 -2
  53. package/build-module/slot-fill/fill.mjs.map +2 -2
  54. package/build-module/style-provider/index.mjs +82 -3
  55. package/build-module/style-provider/index.mjs.map +4 -4
  56. package/build-module/text/styles.mjs +7 -7
  57. package/build-module/text/styles.mjs.map +2 -2
  58. package/build-module/utils/config-values.mjs +3 -0
  59. package/build-module/utils/config-values.mjs.map +2 -2
  60. package/build-module/utils/dropdown-motion.mjs +2 -2
  61. package/build-module/utils/dropdown-motion.mjs.map +2 -2
  62. package/build-style/style-rtl.css +64 -32
  63. package/build-style/style.css +64 -32
  64. package/build-types/alignment-matrix-control/icon.d.ts.map +1 -1
  65. package/build-types/alignment-matrix-control/index.d.ts.map +1 -1
  66. package/build-types/alignment-matrix-control/stories/index.story.d.ts +1 -1
  67. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
  68. package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
  69. package/build-types/angle-picker-control/index.d.ts +1 -1
  70. package/build-types/angle-picker-control/index.d.ts.map +1 -1
  71. package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
  72. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -1
  73. package/build-types/animate/index.d.ts.map +1 -1
  74. package/build-types/animate/stories/index.story.d.ts.map +1 -1
  75. package/build-types/autocomplete/autocompleter-ui.d.ts +1 -1
  76. package/build-types/autocomplete/autocompleter-ui.d.ts.map +1 -1
  77. package/build-types/autocomplete/get-default-use-items.d.ts.map +1 -1
  78. package/build-types/autocomplete/index.d.ts +3 -3
  79. package/build-types/autocomplete/index.d.ts.map +1 -1
  80. package/build-types/badge/index.d.ts.map +1 -1
  81. package/build-types/badge/stories/index.story.d.ts.map +1 -1
  82. package/build-types/base-control/hooks.d.ts +4 -4
  83. package/build-types/base-control/index.d.ts +2 -2
  84. package/build-types/base-control/index.d.ts.map +1 -1
  85. package/build-types/base-control/stories/index.story.d.ts.map +1 -1
  86. package/build-types/border-box-control/border-box-control/component.d.ts +4 -4
  87. package/build-types/border-box-control/border-box-control/component.d.ts.map +1 -1
  88. package/build-types/border-box-control/border-box-control/hook.d.ts +124 -124
  89. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  90. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts.map +1 -1
  91. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +117 -117
  92. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts +4 -4
  93. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts.map +1 -1
  94. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +116 -116
  95. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
  96. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +106 -106
  97. package/build-types/border-box-control/stories/index.story.d.ts +5 -5
  98. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -1
  99. package/build-types/border-box-control/styles.d.ts +3 -3
  100. package/build-types/border-box-control/styles.d.ts.map +1 -1
  101. package/build-types/border-box-control/utils.d.ts.map +1 -1
  102. package/build-types/border-control/border-control/component.d.ts +5 -5
  103. package/build-types/border-control/border-control/component.d.ts.map +1 -1
  104. package/build-types/border-control/border-control/hook.d.ts +129 -129
  105. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  106. package/build-types/border-control/border-control-dropdown/component.d.ts +3 -3
  107. package/build-types/border-control/border-control-dropdown/component.d.ts.map +1 -1
  108. package/build-types/border-control/border-control-dropdown/hook.d.ts +122 -122
  109. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  110. package/build-types/border-control/border-control-style-picker/component.d.ts +1 -1
  111. package/build-types/border-control/border-control-style-picker/component.d.ts.map +1 -1
  112. package/build-types/border-control/stories/index.story.d.ts +30 -30
  113. package/build-types/border-control/stories/index.story.d.ts.map +1 -1
  114. package/build-types/border-control/styles.d.ts +2 -2
  115. package/build-types/border-control/styles.d.ts.map +1 -1
  116. package/build-types/box-control/index.d.ts +1 -1
  117. package/build-types/box-control/index.d.ts.map +1 -1
  118. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  119. package/build-types/box-control/styles/box-control-styles.d.ts +15 -15
  120. package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
  121. package/build-types/box-control/utils.d.ts +2 -2
  122. package/build-types/box-control/utils.d.ts.map +1 -1
  123. package/build-types/button/deprecated.d.ts +34 -34
  124. package/build-types/button/deprecated.d.ts.map +1 -1
  125. package/build-types/button/index.d.ts.map +1 -1
  126. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
  127. package/build-types/button/stories/index.story.d.ts.map +1 -1
  128. package/build-types/button-group/index.d.ts.map +1 -1
  129. package/build-types/button-group/stories/index.story.d.ts.map +1 -1
  130. package/build-types/calendar/date-calendar/index.d.ts.map +1 -1
  131. package/build-types/calendar/date-range-calendar/index.d.ts +1 -1
  132. package/build-types/calendar/date-range-calendar/index.d.ts.map +1 -1
  133. package/build-types/calendar/stories/date-calendar.story.d.ts.map +1 -1
  134. package/build-types/calendar/stories/date-range-calendar.story.d.ts.map +1 -1
  135. package/build-types/calendar/test/__utils__/index.d.ts.map +1 -1
  136. package/build-types/calendar/utils/constants.d.ts +2 -2
  137. package/build-types/calendar/utils/constants.d.ts.map +1 -1
  138. package/build-types/calendar/utils/use-localization-props.d.ts +3 -3
  139. package/build-types/calendar/utils/use-localization-props.d.ts.map +1 -1
  140. package/build-types/card/card/component.d.ts.map +1 -1
  141. package/build-types/card/card/hook.d.ts +110 -110
  142. package/build-types/card/card-body/component.d.ts.map +1 -1
  143. package/build-types/card/card-body/hook.d.ts +107 -107
  144. package/build-types/card/card-divider/component.d.ts +2 -2
  145. package/build-types/card/card-divider/component.d.ts.map +1 -1
  146. package/build-types/card/card-divider/hook.d.ts +108 -108
  147. package/build-types/card/card-footer/component.d.ts.map +1 -1
  148. package/build-types/card/card-footer/hook.d.ts +113 -113
  149. package/build-types/card/card-header/component.d.ts.map +1 -1
  150. package/build-types/card/card-header/hook.d.ts +113 -113
  151. package/build-types/card/card-media/component.d.ts.map +1 -1
  152. package/build-types/card/card-media/hook.d.ts +106 -106
  153. package/build-types/card/get-padding-by-size.d.ts +1 -1
  154. package/build-types/card/get-padding-by-size.d.ts.map +1 -1
  155. package/build-types/card/stories/index.story.d.ts.map +1 -1
  156. package/build-types/checkbox-control/index.d.ts.map +1 -1
  157. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  158. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts +1 -1
  159. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts.map +1 -1
  160. package/build-types/circular-option-picker/circular-option-picker.d.ts +8 -0
  161. package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
  162. package/build-types/circular-option-picker/index.d.ts.map +1 -1
  163. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
  164. package/build-types/color-indicator/index.d.ts +1 -1
  165. package/build-types/color-indicator/index.d.ts.map +1 -1
  166. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -1
  167. package/build-types/color-palette/index.d.ts.map +1 -1
  168. package/build-types/color-palette/stories/index.story.d.ts +1 -0
  169. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  170. package/build-types/color-palette/styles.d.ts +5 -5
  171. package/build-types/color-palette/types.d.ts +16 -2
  172. package/build-types/color-palette/types.d.ts.map +1 -1
  173. package/build-types/color-palette/utils.d.ts +1 -1
  174. package/build-types/color-palette/utils.d.ts.map +1 -1
  175. package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
  176. package/build-types/color-picker/color-input.d.ts.map +1 -1
  177. package/build-types/color-picker/component.d.ts +1 -1
  178. package/build-types/color-picker/component.d.ts.map +1 -1
  179. package/build-types/color-picker/hex-input.d.ts.map +1 -1
  180. package/build-types/color-picker/hsl-input.d.ts.map +1 -1
  181. package/build-types/color-picker/input-with-slider.d.ts.map +1 -1
  182. package/build-types/color-picker/legacy-adapter.d.ts.map +1 -1
  183. package/build-types/color-picker/picker.d.ts.map +1 -1
  184. package/build-types/color-picker/rgb-input.d.ts.map +1 -1
  185. package/build-types/color-picker/stories/index.story.d.ts.map +1 -1
  186. package/build-types/color-picker/styles.d.ts +20 -20
  187. package/build-types/color-picker/styles.d.ts.map +1 -1
  188. package/build-types/combobox-control/index.d.ts.map +1 -1
  189. package/build-types/combobox-control/stories/index.story.d.ts +8 -8
  190. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  191. package/build-types/combobox-control/styles.d.ts +1 -1
  192. package/build-types/composite/index.d.ts +25 -25
  193. package/build-types/composite/legacy/stories/index.story.d.ts.map +1 -1
  194. package/build-types/composite/legacy/stories/utils.d.ts.map +1 -1
  195. package/build-types/composite/stories/index.story.d.ts.map +1 -1
  196. package/build-types/confirm-dialog/component.d.ts.map +1 -1
  197. package/build-types/confirm-dialog/stories/index.story.d.ts +2 -2
  198. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  199. package/build-types/context/constants.d.ts +3 -3
  200. package/build-types/context/constants.d.ts.map +1 -1
  201. package/build-types/context/context-system-provider.d.ts +4 -4
  202. package/build-types/context/context-system-provider.d.ts.map +1 -1
  203. package/build-types/context/use-context-system.d.ts +4 -4
  204. package/build-types/context/use-context-system.d.ts.map +1 -1
  205. package/build-types/context/utils.d.ts +2 -2
  206. package/build-types/context/utils.d.ts.map +1 -1
  207. package/build-types/custom-gradient-picker/constants.d.ts +2 -2
  208. package/build-types/custom-gradient-picker/constants.d.ts.map +1 -1
  209. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts +1 -1
  210. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -1
  211. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts +1 -1
  212. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +1 -1
  213. package/build-types/custom-gradient-picker/index.d.ts +1 -1
  214. package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
  215. package/build-types/custom-gradient-picker/serializer.d.ts +3 -3
  216. package/build-types/custom-gradient-picker/serializer.d.ts.map +1 -1
  217. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
  218. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +2 -2
  219. package/build-types/custom-select-control/index.d.ts.map +1 -1
  220. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  221. package/build-types/custom-select-control-v2/custom-select.d.ts.map +1 -1
  222. package/build-types/custom-select-control-v2/index.d.ts.map +1 -1
  223. package/build-types/custom-select-control-v2/item.d.ts.map +1 -1
  224. package/build-types/custom-select-control-v2/stories/index.story.d.ts +6 -6
  225. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  226. package/build-types/custom-select-control-v2/styles.d.ts +6 -6
  227. package/build-types/dashicon/index.d.ts.map +1 -1
  228. package/build-types/date-time/date-picker/index.d.ts +1 -1
  229. package/build-types/date-time/date-picker/index.d.ts.map +1 -1
  230. package/build-types/date-time/date-picker/styles.d.ts +9 -9
  231. package/build-types/date-time/date-picker/use-lilius/index.d.ts.map +1 -1
  232. package/build-types/date-time/date-time/index.d.ts +1 -1
  233. package/build-types/date-time/date-time/index.d.ts.map +1 -1
  234. package/build-types/date-time/date-time/styles.d.ts +4 -4
  235. package/build-types/date-time/index.d.ts.map +1 -1
  236. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -1
  237. package/build-types/date-time/stories/date.story.d.ts.map +1 -1
  238. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  239. package/build-types/date-time/time-picker/index.d.ts +1 -1
  240. package/build-types/date-time/time-picker/index.d.ts.map +1 -1
  241. package/build-types/date-time/time-picker/styles.d.ts +28 -28
  242. package/build-types/date-time/time-picker/time-input/index.d.ts +1 -1
  243. package/build-types/date-time/time-picker/time-input/index.d.ts.map +1 -1
  244. package/build-types/date-time/time-picker/timezone.d.ts.map +1 -1
  245. package/build-types/date-time/utils.d.ts.map +1 -1
  246. package/build-types/disabled/context.d.ts.map +1 -1
  247. package/build-types/disabled/index.d.ts +2 -0
  248. package/build-types/disabled/index.d.ts.map +1 -1
  249. package/build-types/disabled/stories/index.story.d.ts.map +1 -1
  250. package/build-types/disclosure/index.d.ts.map +1 -1
  251. package/build-types/divider/component.d.ts +2 -2
  252. package/build-types/divider/component.d.ts.map +1 -1
  253. package/build-types/divider/stories/index.story.d.ts.map +1 -1
  254. package/build-types/divider/styles.d.ts +2 -2
  255. package/build-types/draggable/index.d.ts +1 -1
  256. package/build-types/draggable/index.d.ts.map +1 -1
  257. package/build-types/draggable/stories/index.story.d.ts.map +1 -1
  258. package/build-types/drop-zone/index.d.ts.map +1 -1
  259. package/build-types/drop-zone/provider.d.ts +1 -1
  260. package/build-types/drop-zone/provider.d.ts.map +1 -1
  261. package/build-types/drop-zone/stories/index.story.d.ts +1 -1
  262. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  263. package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
  264. package/build-types/dropdown/index.d.ts.map +1 -1
  265. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  266. package/build-types/dropdown-menu/index.d.ts.map +1 -1
  267. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -1
  268. package/build-types/duotone-picker/color-list-picker/index.d.ts +1 -1
  269. package/build-types/duotone-picker/color-list-picker/index.d.ts.map +1 -1
  270. package/build-types/duotone-picker/custom-duotone-bar.d.ts +1 -1
  271. package/build-types/duotone-picker/custom-duotone-bar.d.ts.map +1 -1
  272. package/build-types/duotone-picker/duotone-picker.d.ts.map +1 -1
  273. package/build-types/duotone-picker/duotone-swatch.d.ts.map +1 -1
  274. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
  275. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
  276. package/build-types/elevation/component.d.ts.map +1 -1
  277. package/build-types/elevation/hook.d.ts +105 -105
  278. package/build-types/elevation/stories/index.story.d.ts.map +1 -1
  279. package/build-types/external-link/index.d.ts.map +1 -1
  280. package/build-types/external-link/stories/index.story.d.ts.map +1 -1
  281. package/build-types/flex/context.d.ts +2 -2
  282. package/build-types/flex/flex/component.d.ts.map +1 -1
  283. package/build-types/flex/flex/hook.d.ts +108 -108
  284. package/build-types/flex/flex-block/component.d.ts.map +1 -1
  285. package/build-types/flex/flex-block/hook.d.ts +106 -106
  286. package/build-types/flex/flex-item/component.d.ts.map +1 -1
  287. package/build-types/flex/flex-item/hook.d.ts +106 -106
  288. package/build-types/flex/stories/index.story.d.ts.map +1 -1
  289. package/build-types/focal-point-picker/controls.d.ts +1 -1
  290. package/build-types/focal-point-picker/controls.d.ts.map +1 -1
  291. package/build-types/focal-point-picker/index.d.ts +16 -11
  292. package/build-types/focal-point-picker/index.d.ts.map +1 -1
  293. package/build-types/focal-point-picker/stories/index.story.d.ts +16 -16
  294. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
  295. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +254 -254
  296. package/build-types/focal-point-picker/utils.d.ts.map +1 -1
  297. package/build-types/font-size-picker/constants.d.ts +2 -2
  298. package/build-types/font-size-picker/font-size-picker-select.d.ts.map +1 -1
  299. package/build-types/font-size-picker/font-size-picker-toggle-group.d.ts.map +1 -1
  300. package/build-types/font-size-picker/index.d.ts.map +1 -1
  301. package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -1
  302. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -1
  303. package/build-types/font-size-picker/styles.d.ts +5 -5
  304. package/build-types/form-file-upload/index.d.ts.map +1 -1
  305. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  306. package/build-types/form-toggle/index.d.ts +1 -1
  307. package/build-types/form-toggle/index.d.ts.map +1 -1
  308. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -1
  309. package/build-types/form-token-field/index.d.ts.map +1 -1
  310. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
  311. package/build-types/form-token-field/styles.d.ts +1 -1
  312. package/build-types/form-token-field/suggestions-list.d.ts +1 -1
  313. package/build-types/form-token-field/suggestions-list.d.ts.map +1 -1
  314. package/build-types/form-token-field/token-input.d.ts +1 -1
  315. package/build-types/form-token-field/token-input.d.ts.map +1 -1
  316. package/build-types/form-token-field/token.d.ts +1 -1
  317. package/build-types/form-token-field/token.d.ts.map +1 -1
  318. package/build-types/gradient-picker/index.d.ts.map +1 -1
  319. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  320. package/build-types/grid/component.d.ts.map +1 -1
  321. package/build-types/grid/hook.d.ts +106 -106
  322. package/build-types/grid/stories/index.story.d.ts.map +1 -1
  323. package/build-types/grid/utils.d.ts.map +1 -1
  324. package/build-types/guide/index.d.ts +1 -1
  325. package/build-types/guide/index.d.ts.map +1 -1
  326. package/build-types/guide/page-control.d.ts +1 -1
  327. package/build-types/guide/page-control.d.ts.map +1 -1
  328. package/build-types/guide/stories/index.story.d.ts.map +1 -1
  329. package/build-types/h-stack/component.d.ts +3 -3
  330. package/build-types/h-stack/component.d.ts.map +1 -1
  331. package/build-types/h-stack/hook.d.ts +107 -107
  332. package/build-types/h-stack/stories/e2e/index.story.d.ts.map +1 -1
  333. package/build-types/h-stack/stories/index.story.d.ts.map +1 -1
  334. package/build-types/heading/component.d.ts +4 -4
  335. package/build-types/heading/component.d.ts.map +1 -1
  336. package/build-types/heading/hook.d.ts +107 -107
  337. package/build-types/heading/stories/index.story.d.ts.map +1 -1
  338. package/build-types/higher-order/navigate-regions/index.d.ts.map +1 -1
  339. package/build-types/higher-order/with-constrained-tabbing/index.d.ts.map +1 -1
  340. package/build-types/higher-order/with-fallback-styles/index.d.ts +1 -1
  341. package/build-types/higher-order/with-fallback-styles/index.d.ts.map +1 -1
  342. package/build-types/higher-order/with-filters/index.d.ts +2 -2
  343. package/build-types/higher-order/with-focus-outside/index.d.ts.map +1 -1
  344. package/build-types/higher-order/with-focus-return/index.d.ts.map +1 -1
  345. package/build-types/higher-order/with-notices/index.d.ts +3 -3
  346. package/build-types/higher-order/with-notices/index.d.ts.map +1 -1
  347. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  348. package/build-types/icon/index.d.ts.map +1 -1
  349. package/build-types/icon/stories/index.story.d.ts.map +1 -1
  350. package/build-types/input-control/backdrop.d.ts.map +1 -1
  351. package/build-types/input-control/index.d.ts.map +1 -1
  352. package/build-types/input-control/input-base.d.ts.map +1 -1
  353. package/build-types/input-control/input-field.d.ts +1 -1
  354. package/build-types/input-control/input-field.d.ts.map +1 -1
  355. package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
  356. package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
  357. package/build-types/input-control/reducer/reducer.d.ts +9 -9
  358. package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
  359. package/build-types/input-control/stories/index.story.d.ts.map +1 -1
  360. package/build-types/input-control/styles/input-control-styles.d.ts +3 -3
  361. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  362. package/build-types/isolated-event-container/index.d.ts.map +1 -1
  363. package/build-types/item-group/item/component.d.ts.map +1 -1
  364. package/build-types/item-group/item/hook.d.ts +104 -104
  365. package/build-types/item-group/item-group/component.d.ts.map +1 -1
  366. package/build-types/item-group/item-group/hook.d.ts +105 -105
  367. package/build-types/item-group/stories/index.story.d.ts.map +1 -1
  368. package/build-types/item-group/styles.d.ts +1 -1
  369. package/build-types/item-group/styles.d.ts.map +1 -1
  370. package/build-types/keyboard-shortcuts/index.d.ts +1 -1
  371. package/build-types/keyboard-shortcuts/index.d.ts.map +1 -1
  372. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
  373. package/build-types/lock-unlock.d.ts +1 -2
  374. package/build-types/lock-unlock.d.ts.map +1 -1
  375. package/build-types/menu/group-label.d.ts +1 -1
  376. package/build-types/menu/group.d.ts +1 -1
  377. package/build-types/menu/index.d.ts +5 -5
  378. package/build-types/menu/index.d.ts.map +1 -1
  379. package/build-types/menu/item-help-text.d.ts +1 -1
  380. package/build-types/menu/item-label.d.ts +1 -1
  381. package/build-types/menu/separator.d.ts +1 -1
  382. package/build-types/menu/stories/index.story.d.ts.map +1 -1
  383. package/build-types/menu/styles.d.ts +7 -7
  384. package/build-types/menu-group/index.d.ts.map +1 -1
  385. package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
  386. package/build-types/menu-item/index.d.ts +2 -2
  387. package/build-types/menu-item/index.d.ts.map +1 -1
  388. package/build-types/menu-item/stories/index.story.d.ts +8 -8
  389. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  390. package/build-types/menu-items-choice/index.d.ts +1 -1
  391. package/build-types/menu-items-choice/index.d.ts.map +1 -1
  392. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -1
  393. package/build-types/mobile/image/constants.d.ts +4 -4
  394. package/build-types/mobile/image/constants.d.ts.map +1 -1
  395. package/build-types/modal/index.d.ts.map +1 -1
  396. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  397. package/build-types/modal/use-modal-exit-animation.d.ts +0 -3
  398. package/build-types/modal/use-modal-exit-animation.d.ts.map +1 -1
  399. package/build-types/navigable-container/container.d.ts +2 -2
  400. package/build-types/navigable-container/container.d.ts.map +1 -1
  401. package/build-types/navigable-container/menu.d.ts +1 -1
  402. package/build-types/navigable-container/menu.d.ts.map +1 -1
  403. package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -1
  404. package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -1
  405. package/build-types/navigable-container/tabbable.d.ts +2 -2
  406. package/build-types/navigable-container/tabbable.d.ts.map +1 -1
  407. package/build-types/navigation/back-button/index.d.ts.map +1 -1
  408. package/build-types/navigation/group/index.d.ts +1 -1
  409. package/build-types/navigation/group/index.d.ts.map +1 -1
  410. package/build-types/navigation/index.d.ts +1 -1
  411. package/build-types/navigation/index.d.ts.map +1 -1
  412. package/build-types/navigation/item/index.d.ts.map +1 -1
  413. package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +1 -1
  414. package/build-types/navigation/menu/index.d.ts.map +1 -1
  415. package/build-types/navigation/menu/menu-title-search.d.ts.map +1 -1
  416. package/build-types/navigation/menu/menu-title.d.ts +1 -1
  417. package/build-types/navigation/menu/menu-title.d.ts.map +1 -1
  418. package/build-types/navigation/menu/search-no-results-found.d.ts +1 -1
  419. package/build-types/navigation/menu/search-no-results-found.d.ts.map +1 -1
  420. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +1 -1
  421. package/build-types/navigation/stories/index.story.d.ts.map +1 -1
  422. package/build-types/navigation/styles/navigation-styles.d.ts +6 -6
  423. package/build-types/navigation/utils.d.ts.map +1 -1
  424. package/build-types/navigator/index.d.ts +12 -12
  425. package/build-types/navigator/legacy.d.ts +18 -18
  426. package/build-types/navigator/navigator-back-button/component.d.ts +6 -6
  427. package/build-types/navigator/navigator-back-button/hook.d.ts +136 -136
  428. package/build-types/navigator/navigator-button/component.d.ts +6 -6
  429. package/build-types/navigator/navigator-button/hook.d.ts +136 -136
  430. package/build-types/navigator/navigator-screen/use-screen-animate-presence.d.ts +1 -1
  431. package/build-types/navigator/navigator-screen/use-screen-animate-presence.d.ts.map +1 -1
  432. package/build-types/navigator/navigator-to-parent-button/component.d.ts +6 -6
  433. package/build-types/navigator/stories/index.story.d.ts.map +1 -1
  434. package/build-types/navigator/styles.d.ts.map +1 -1
  435. package/build-types/notice/index.d.ts +1 -1
  436. package/build-types/notice/index.d.ts.map +1 -1
  437. package/build-types/notice/list.d.ts +1 -1
  438. package/build-types/notice/list.d.ts.map +1 -1
  439. package/build-types/notice/stories/index.story.d.ts.map +1 -1
  440. package/build-types/number-control/index.d.ts +7 -7
  441. package/build-types/number-control/index.d.ts.map +1 -1
  442. package/build-types/number-control/stories/index.story.d.ts +7 -7
  443. package/build-types/number-control/stories/index.story.d.ts.map +1 -1
  444. package/build-types/palette-edit/index.d.ts +1 -1
  445. package/build-types/palette-edit/index.d.ts.map +1 -1
  446. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
  447. package/build-types/palette-edit/styles.d.ts +759 -759
  448. package/build-types/panel/body.d.ts.map +1 -1
  449. package/build-types/panel/header.d.ts.map +1 -1
  450. package/build-types/panel/index.d.ts.map +1 -1
  451. package/build-types/panel/row.d.ts.map +1 -1
  452. package/build-types/panel/stories/index.story.d.ts.map +1 -1
  453. package/build-types/placeholder/index.d.ts.map +1 -1
  454. package/build-types/placeholder/stories/index.story.d.ts.map +1 -1
  455. package/build-types/popover/index.d.ts +1 -1
  456. package/build-types/popover/index.d.ts.map +1 -1
  457. package/build-types/popover/overlay-middlewares.d.ts +2 -2
  458. package/build-types/popover/stories/e2e/index.story.d.ts +1 -1
  459. package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -1
  460. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  461. package/build-types/popover/test/utils/index.d.ts.map +1 -1
  462. package/build-types/popover/utils.d.ts +3 -3
  463. package/build-types/popover/utils.d.ts.map +1 -1
  464. package/build-types/progress-bar/index.d.ts +1 -1
  465. package/build-types/progress-bar/index.d.ts.map +1 -1
  466. package/build-types/progress-bar/stories/index.story.d.ts +1 -1
  467. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  468. package/build-types/query-controls/author-select.d.ts +1 -1
  469. package/build-types/query-controls/author-select.d.ts.map +1 -1
  470. package/build-types/query-controls/index.d.ts.map +1 -1
  471. package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
  472. package/build-types/radio-control/index.d.ts.map +1 -1
  473. package/build-types/radio-control/stories/index.story.d.ts.map +1 -1
  474. package/build-types/radio-group/index.d.ts.map +1 -1
  475. package/build-types/radio-group/radio.d.ts +1 -1
  476. package/build-types/radio-group/radio.d.ts.map +1 -1
  477. package/build-types/radio-group/stories/index.story.d.ts.map +1 -1
  478. package/build-types/range-control/index.d.ts +8 -8
  479. package/build-types/range-control/index.d.ts.map +1 -1
  480. package/build-types/range-control/input-range.d.ts +1 -1
  481. package/build-types/range-control/input-range.d.ts.map +1 -1
  482. package/build-types/range-control/stories/index.story.d.ts.map +1 -1
  483. package/build-types/range-control/styles/range-control-styles.d.ts +9 -9
  484. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  485. package/build-types/range-control/utils.d.ts +1 -1
  486. package/build-types/range-control/utils.d.ts.map +1 -1
  487. package/build-types/resizable-box/index.d.ts.map +1 -1
  488. package/build-types/resizable-box/resize-tooltip/index.d.ts.map +1 -1
  489. package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
  490. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +1 -1
  491. package/build-types/resizable-box/resize-tooltip/utils.d.ts +3 -3
  492. package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
  493. package/build-types/resizable-box/stories/index.story.d.ts +2 -2
  494. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  495. package/build-types/responsive-wrapper/index.d.ts +1 -1
  496. package/build-types/responsive-wrapper/index.d.ts.map +1 -1
  497. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
  498. package/build-types/sandbox/index.d.ts.map +1 -1
  499. package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
  500. package/build-types/scroll-lock/index.d.ts.map +1 -1
  501. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -1
  502. package/build-types/scrollable/component.d.ts.map +1 -1
  503. package/build-types/scrollable/hook.d.ts +106 -106
  504. package/build-types/scrollable/stories/index.story.d.ts.map +1 -1
  505. package/build-types/search-control/index.d.ts +9 -9
  506. package/build-types/search-control/index.d.ts.map +1 -1
  507. package/build-types/search-control/stories/index.story.d.ts +9 -9
  508. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  509. package/build-types/select-control/chevron-down.d.ts.map +1 -1
  510. package/build-types/select-control/index.d.ts +1 -1
  511. package/build-types/select-control/index.d.ts.map +1 -1
  512. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  513. package/build-types/select-control/styles/select-control-styles.d.ts +2 -2
  514. package/build-types/shortcut/index.d.ts.map +1 -1
  515. package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
  516. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -1
  517. package/build-types/slot-fill/bubbles-virtually/slot.d.ts.map +1 -1
  518. package/build-types/slot-fill/context.d.ts.map +1 -1
  519. package/build-types/slot-fill/index.d.ts +2 -2
  520. package/build-types/slot-fill/index.d.ts.map +1 -1
  521. package/build-types/slot-fill/provider.d.ts.map +1 -1
  522. package/build-types/slot-fill/slot.d.ts.map +1 -1
  523. package/build-types/slot-fill/stories/index.story.d.ts.map +1 -1
  524. package/build-types/snackbar/index.d.ts +3 -3
  525. package/build-types/snackbar/index.d.ts.map +1 -1
  526. package/build-types/snackbar/list.d.ts +1 -1
  527. package/build-types/snackbar/list.d.ts.map +1 -1
  528. package/build-types/snackbar/stories/index.story.d.ts.map +1 -1
  529. package/build-types/snackbar/stories/list.story.d.ts.map +1 -1
  530. package/build-types/spacer/component.d.ts.map +1 -1
  531. package/build-types/spacer/hook.d.ts +106 -106
  532. package/build-types/spacer/stories/index.story.d.ts.map +1 -1
  533. package/build-types/spinner/index.d.ts.map +1 -1
  534. package/build-types/spinner/stories/index.story.d.ts.map +1 -1
  535. package/build-types/style-provider/index.d.ts +0 -3
  536. package/build-types/style-provider/index.d.ts.map +1 -1
  537. package/build-types/style-provider/test/index.d.ts +2 -0
  538. package/build-types/style-provider/test/index.d.ts.map +1 -0
  539. package/build-types/surface/component.d.ts.map +1 -1
  540. package/build-types/surface/hook.d.ts +106 -106
  541. package/build-types/surface/stories/index.story.d.ts.map +1 -1
  542. package/build-types/surface/styles.d.ts +1 -1
  543. package/build-types/surface/styles.d.ts.map +1 -1
  544. package/build-types/tab-panel/index.d.ts.map +1 -1
  545. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
  546. package/build-types/tabs/index.d.ts +1 -1
  547. package/build-types/tabs/stories/index.story.d.ts.map +1 -1
  548. package/build-types/tabs/styles.d.ts +3 -3
  549. package/build-types/tabs/tablist.d.ts +1 -1
  550. package/build-types/text/component.d.ts.map +1 -1
  551. package/build-types/text/hook.d.ts +106 -106
  552. package/build-types/text/stories/index.story.d.ts +3 -3
  553. package/build-types/text/stories/index.story.d.ts.map +1 -1
  554. package/build-types/text/utils.d.ts +1 -1
  555. package/build-types/text/utils.d.ts.map +1 -1
  556. package/build-types/text-control/index.d.ts +3 -3
  557. package/build-types/text-control/index.d.ts.map +1 -1
  558. package/build-types/text-control/stories/index.story.d.ts.map +1 -1
  559. package/build-types/text-highlight/index.d.ts +4 -19
  560. package/build-types/text-highlight/index.d.ts.map +1 -1
  561. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -1
  562. package/build-types/textarea-control/index.d.ts +3 -3
  563. package/build-types/textarea-control/index.d.ts.map +1 -1
  564. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -1
  565. package/build-types/theme/color-algorithms.d.ts +1 -1
  566. package/build-types/theme/color-algorithms.d.ts.map +1 -1
  567. package/build-types/theme/index.d.ts.map +1 -1
  568. package/build-types/theme/stories/index.story.d.ts +1 -1
  569. package/build-types/theme/stories/index.story.d.ts.map +1 -1
  570. package/build-types/theme/styles.d.ts.map +1 -1
  571. package/build-types/tip/index.d.ts.map +1 -1
  572. package/build-types/tip/stories/index.story.d.ts.map +1 -1
  573. package/build-types/toggle-control/index.d.ts +2 -2
  574. package/build-types/toggle-control/index.d.ts.map +1 -1
  575. package/build-types/toggle-control/stories/index.story.d.ts +4 -4
  576. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -1
  577. package/build-types/toggle-group-control/context.d.ts.map +1 -1
  578. package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -1
  579. package/build-types/toggle-group-control/toggle-group-control/as-button-group.d.ts +1 -1
  580. package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts +1 -1
  581. package/build-types/toggle-group-control/toggle-group-control/component.d.ts +2 -2
  582. package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
  583. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts +3 -3
  584. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts.map +1 -1
  585. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts +2 -2
  586. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts.map +1 -1
  587. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts +1 -1
  588. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
  589. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts +1 -1
  590. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +1 -1
  591. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts +1 -1
  592. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts.map +1 -1
  593. package/build-types/toolbar/index.d.ts +6 -6
  594. package/build-types/toolbar/index.d.ts.map +1 -1
  595. package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
  596. package/build-types/toolbar/toolbar/index.d.ts.map +1 -1
  597. package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +1 -1
  598. package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
  599. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +1 -1
  600. package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
  601. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts.map +1 -1
  602. package/build-types/toolbar/toolbar-group/index.d.ts.map +1 -1
  603. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts.map +1 -1
  604. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +1 -1
  605. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +1 -1
  606. package/build-types/toolbar/toolbar-item/index.d.ts.map +1 -1
  607. package/build-types/tools-panel/stories/index.story.d.ts.map +1 -1
  608. package/build-types/tools-panel/styles.d.ts.map +1 -1
  609. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  610. package/build-types/tools-panel/tools-panel/hook.d.ts +128 -128
  611. package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
  612. package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
  613. package/build-types/tools-panel/tools-panel-header/hook.d.ts +116 -116
  614. package/build-types/tools-panel/tools-panel-item/component.d.ts.map +1 -1
  615. package/build-types/tools-panel/tools-panel-item/hook.d.ts +108 -108
  616. package/build-types/tooltip/index.d.ts.map +1 -1
  617. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  618. package/build-types/tree-grid/cell.d.ts.map +1 -1
  619. package/build-types/tree-grid/index.d.ts.map +1 -1
  620. package/build-types/tree-grid/item.d.ts.map +1 -1
  621. package/build-types/tree-grid/roving-tab-index-item.d.ts.map +1 -1
  622. package/build-types/tree-grid/roving-tab-index.d.ts +1 -1
  623. package/build-types/tree-grid/roving-tab-index.d.ts.map +1 -1
  624. package/build-types/tree-grid/row.d.ts.map +1 -1
  625. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
  626. package/build-types/tree-select/index.d.ts.map +1 -1
  627. package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
  628. package/build-types/truncate/component.d.ts.map +1 -1
  629. package/build-types/truncate/hook.d.ts +106 -106
  630. package/build-types/truncate/stories/index.story.d.ts.map +1 -1
  631. package/build-types/truncate/utils.d.ts +5 -5
  632. package/build-types/truncate/utils.d.ts.map +1 -1
  633. package/build-types/unit-control/index.d.ts +2 -2
  634. package/build-types/unit-control/index.d.ts.map +1 -1
  635. package/build-types/unit-control/stories/index.story.d.ts.map +1 -1
  636. package/build-types/unit-control/styles/unit-control-styles.d.ts +7 -7
  637. package/build-types/unit-control/unit-select-control.d.ts +1 -1
  638. package/build-types/unit-control/unit-select-control.d.ts.map +1 -1
  639. package/build-types/unit-control/utils.d.ts.map +1 -1
  640. package/build-types/utils/breakpoint-values.d.ts.map +1 -1
  641. package/build-types/utils/breakpoint.d.ts +8 -1
  642. package/build-types/utils/breakpoint.d.ts.map +1 -1
  643. package/build-types/utils/colors-values.d.ts +1 -1
  644. package/build-types/utils/colors-values.d.ts.map +1 -1
  645. package/build-types/utils/colors.d.ts +3 -3
  646. package/build-types/utils/colors.d.ts.map +1 -1
  647. package/build-types/utils/deprecated-36px-size.d.ts +1 -1
  648. package/build-types/utils/deprecated-36px-size.d.ts.map +1 -1
  649. package/build-types/utils/dropdown-motion.d.ts +3 -3
  650. package/build-types/utils/dropdown-motion.d.ts.map +1 -1
  651. package/build-types/utils/font-values.d.ts.map +1 -1
  652. package/build-types/utils/font.d.ts +5 -2
  653. package/build-types/utils/font.d.ts.map +1 -1
  654. package/build-types/utils/get-node-text.d.ts.map +1 -1
  655. package/build-types/utils/hooks/index.d.ts +4 -4
  656. package/build-types/utils/hooks/index.d.ts.map +1 -1
  657. package/build-types/utils/hooks/use-animated-offset-rect.d.ts +1 -1
  658. package/build-types/utils/hooks/use-animated-offset-rect.d.ts.map +1 -1
  659. package/build-types/utils/hooks/use-controlled-state.d.ts +2 -8
  660. package/build-types/utils/hooks/use-controlled-state.d.ts.map +1 -1
  661. package/build-types/utils/hooks/use-controlled-value.d.ts +1 -1
  662. package/build-types/utils/hooks/use-controlled-value.d.ts.map +1 -1
  663. package/build-types/utils/hooks/use-update-effect.d.ts +1 -1
  664. package/build-types/utils/hooks/use-update-effect.d.ts.map +1 -1
  665. package/build-types/utils/index.d.ts +2 -2
  666. package/build-types/utils/index.d.ts.map +1 -1
  667. package/build-types/utils/math.d.ts +5 -5
  668. package/build-types/utils/math.d.ts.map +1 -1
  669. package/build-types/utils/rtl.d.ts +11 -16
  670. package/build-types/utils/rtl.d.ts.map +1 -1
  671. package/build-types/utils/strings.d.ts.map +1 -1
  672. package/build-types/utils/style-mixins.d.ts +9 -9
  673. package/build-types/utils/style-mixins.d.ts.map +1 -1
  674. package/build-types/utils/use-responsive-value.d.ts.map +1 -1
  675. package/build-types/utils/values.d.ts +19 -5
  676. package/build-types/utils/values.d.ts.map +1 -1
  677. package/build-types/utils/with-ignore-ime-events.d.ts.map +1 -1
  678. package/build-types/v-stack/component.d.ts +3 -3
  679. package/build-types/v-stack/component.d.ts.map +1 -1
  680. package/build-types/v-stack/hook.d.ts +107 -107
  681. package/build-types/v-stack/stories/e2e/index.story.d.ts.map +1 -1
  682. package/build-types/v-stack/stories/index.story.d.ts +4 -4
  683. package/build-types/v-stack/stories/index.story.d.ts.map +1 -1
  684. package/build-types/validated-form-controls/components/checkbox-control.d.ts +2 -2
  685. package/build-types/validated-form-controls/components/combobox-control.d.ts +2 -2
  686. package/build-types/validated-form-controls/components/number-control.d.ts +7 -7
  687. package/build-types/validated-form-controls/components/radio-control.d.ts +2 -2
  688. package/build-types/validated-form-controls/components/radio-control.d.ts.map +1 -1
  689. package/build-types/validated-form-controls/components/range-control.d.ts +8 -8
  690. package/build-types/validated-form-controls/components/range-control.d.ts.map +1 -1
  691. package/build-types/validated-form-controls/components/select-control.d.ts +1 -1
  692. package/build-types/validated-form-controls/components/stories/checkbox-control.story.d.ts.map +1 -1
  693. package/build-types/validated-form-controls/components/stories/combobox-control.story.d.ts.map +1 -1
  694. package/build-types/validated-form-controls/components/stories/custom-select-control.story.d.ts.map +1 -1
  695. package/build-types/validated-form-controls/components/stories/form-token-field.story.d.ts.map +1 -1
  696. package/build-types/validated-form-controls/components/stories/input-control.story.d.ts.map +1 -1
  697. package/build-types/validated-form-controls/components/stories/number-control.story.d.ts.map +1 -1
  698. package/build-types/validated-form-controls/components/stories/overview.story.d.ts.map +1 -1
  699. package/build-types/validated-form-controls/components/stories/radio-control.story.d.ts.map +1 -1
  700. package/build-types/validated-form-controls/components/stories/range-control.story.d.ts.map +1 -1
  701. package/build-types/validated-form-controls/components/stories/select-control.story.d.ts.map +1 -1
  702. package/build-types/validated-form-controls/components/stories/text-control.story.d.ts.map +1 -1
  703. package/build-types/validated-form-controls/components/stories/textarea-control.story.d.ts.map +1 -1
  704. package/build-types/validated-form-controls/components/stories/toggle-control.story.d.ts.map +1 -1
  705. package/build-types/validated-form-controls/components/stories/toggle-group-control.story.d.ts.map +1 -1
  706. package/build-types/validated-form-controls/components/text-control.d.ts +3 -3
  707. package/build-types/validated-form-controls/components/textarea-control.d.ts +3 -3
  708. package/build-types/validated-form-controls/components/toggle-control.d.ts +2 -2
  709. package/build-types/validated-form-controls/components/toggle-group-control.d.ts +3 -3
  710. package/build-types/validated-form-controls/control-with-error.d.ts +1 -1
  711. package/build-types/validated-form-controls/validity-indicator.d.ts +1 -1
  712. package/build-types/validated-form-controls/validity-indicator.d.ts.map +1 -1
  713. package/build-types/view/component.d.ts +251 -251
  714. package/build-types/view/component.d.ts.map +1 -1
  715. package/build-types/view/stories/index.story.d.ts.map +1 -1
  716. package/build-types/visually-hidden/component.d.ts.map +1 -1
  717. package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -1
  718. package/build-types/z-stack/component.d.ts.map +1 -1
  719. package/build-types/z-stack/stories/index.story.d.ts.map +1 -1
  720. package/package.json +24 -23
  721. package/src/alignment-matrix-control/stories/index.story.tsx +1 -1
  722. package/src/angle-picker-control/stories/index.story.tsx +1 -1
  723. package/src/autocomplete/autocompleter-ui.tsx +0 -1
  724. package/src/base-control/stories/index.story.tsx +1 -1
  725. package/src/border-box-control/stories/index.story.tsx +1 -1
  726. package/src/border-control/stories/index.story.tsx +1 -1
  727. package/src/button/stories/index.story.tsx +1 -1
  728. package/src/button/style.scss +2 -0
  729. package/src/checkbox-control/stories/index.story.tsx +1 -1
  730. package/src/color-indicator/stories/index.story.tsx +1 -1
  731. package/src/color-palette/index.tsx +25 -9
  732. package/src/color-palette/stories/index.story.tsx +21 -3
  733. package/src/color-palette/test/index.tsx +152 -1
  734. package/src/color-palette/test/utils.ts +18 -0
  735. package/src/color-palette/types.ts +19 -2
  736. package/src/color-palette/utils.ts +14 -2
  737. package/src/color-picker/hex-input.tsx +1 -1
  738. package/src/color-picker/stories/index.story.tsx +1 -1
  739. package/src/color-picker/test/index.tsx +24 -2
  740. package/src/combobox-control/stories/index.story.tsx +1 -1
  741. package/src/composite/legacy/test/index.tsx +13 -13
  742. package/src/composite/stories/index.story.tsx +1 -1
  743. package/src/confirm-dialog/stories/index.story.tsx +1 -1
  744. package/src/custom-gradient-picker/index.tsx +0 -1
  745. package/src/custom-select-control/stories/index.story.tsx +1 -1
  746. package/src/disabled/stories/index.story.tsx +1 -1
  747. package/src/drop-zone/stories/index.story.tsx +1 -1
  748. package/src/dropdown/stories/index.story.tsx +1 -1
  749. package/src/duotone-picker/stories/duotone-picker.story.tsx +1 -1
  750. package/src/duotone-picker/stories/duotone-swatch.story.tsx +1 -1
  751. package/src/external-link/style.scss +4 -0
  752. package/src/focal-point-picker/README.md +12 -8
  753. package/src/focal-point-picker/index.tsx +16 -11
  754. package/src/focal-point-picker/stories/index.story.tsx +1 -1
  755. package/src/font-size-picker/stories/index.story.tsx +1 -1
  756. package/src/form-file-upload/stories/index.story.tsx +1 -1
  757. package/src/form-toggle/stories/index.story.tsx +1 -1
  758. package/src/form-token-field/stories/index.story.tsx +1 -1
  759. package/src/gradient-picker/stories/index.story.tsx +1 -1
  760. package/src/guide/stories/index.story.tsx +1 -1
  761. package/src/higher-order/with-notices/test/index.tsx +12 -10
  762. package/src/icon/stories/index.story.tsx +1 -1
  763. package/src/input-control/stories/index.story.tsx +1 -1
  764. package/src/item-group/stories/index.story.tsx +1 -1
  765. package/src/keyboard-shortcuts/stories/index.story.tsx +1 -1
  766. package/src/menu/stories/index.story.tsx +1 -1
  767. package/src/menu/test/index.tsx +4 -3
  768. package/src/menu-group/stories/index.story.tsx +1 -1
  769. package/src/menu-item/stories/index.story.tsx +1 -1
  770. package/src/menu-items-choice/stories/index.story.tsx +1 -1
  771. package/src/modal/index.tsx +2 -7
  772. package/src/modal/stories/index.story.tsx +1 -1
  773. package/src/modal/style.scss +68 -24
  774. package/src/modal/use-modal-exit-animation.ts +10 -7
  775. package/src/navigator/stories/index.story.tsx +1 -1
  776. package/src/notice/stories/index.story.tsx +1 -1
  777. package/src/number-control/stories/index.story.tsx +1 -1
  778. package/src/palette-edit/index.tsx +0 -1
  779. package/src/palette-edit/stories/index.story.tsx +1 -1
  780. package/src/panel/stories/index.story.tsx +1 -1
  781. package/src/placeholder/stories/index.story.tsx +1 -1
  782. package/src/popover/stories/index.story.tsx +1 -1
  783. package/src/popover/style.scss +0 -4
  784. package/src/progress-bar/stories/index.story.tsx +1 -1
  785. package/src/query-controls/stories/index.story.tsx +1 -1
  786. package/src/radio-control/stories/index.story.tsx +1 -1
  787. package/src/range-control/stories/index.story.tsx +1 -1
  788. package/src/resizable-box/stories/index.story.tsx +1 -1
  789. package/src/sandbox/stories/index.story.tsx +1 -1
  790. package/src/scroll-lock/stories/index.story.tsx +1 -1
  791. package/src/search-control/stories/index.story.tsx +1 -1
  792. package/src/select-control/stories/index.story.tsx +1 -1
  793. package/src/shortcut/stories/index.story.tsx +1 -1
  794. package/src/slot-fill/fill.tsx +2 -2
  795. package/src/slot-fill/stories/index.story.tsx +1 -1
  796. package/src/snackbar/stories/index.story.tsx +1 -1
  797. package/src/spinner/stories/index.story.tsx +1 -1
  798. package/src/style-provider/index.tsx +10 -7
  799. package/src/style-provider/test/index.tsx +38 -0
  800. package/src/tab-panel/style.scss +2 -2
  801. package/src/tabs/stories/index.story.tsx +1 -1
  802. package/src/text/styles.ts +1 -1
  803. package/src/text/test/index.tsx +1 -1
  804. package/src/text-control/stories/index.story.tsx +1 -1
  805. package/src/text-highlight/stories/index.story.tsx +1 -1
  806. package/src/textarea-control/stories/index.story.tsx +1 -1
  807. package/src/toggle-control/stories/index.story.tsx +1 -1
  808. package/src/toggle-group-control/stories/index.story.tsx +1 -1
  809. package/src/toolbar/stories/index.story.tsx +1 -1
  810. package/src/tools-panel/stories/index.story.tsx +1 -1
  811. package/src/tooltip/stories/index.story.tsx +1 -1
  812. package/src/tree-grid/stories/index.story.tsx +1 -1
  813. package/src/tree-select/stories/index.story.tsx +1 -1
  814. package/src/truncate/stories/index.story.tsx +1 -1
  815. package/src/unit-control/stories/index.story.tsx +1 -1
  816. package/src/utils/config-values.js +3 -0
  817. package/src/utils/dropdown-motion.ts +6 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/color-palette/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAE9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CAkBpC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,iBAAiB,GAAG,QAAQ,CAAE,OAAO,YAAY,CAAE,CAAC;AAqBzD,eAAO,MAAM,OAAO,EAAE,iBASrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,iBAU1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAsB7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,iBAmB1B,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/color-palette/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAE9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CAmBpC,CAAC;eACa,IAAI;AAEnB,KAAK,iBAAiB,GAAG,QAAQ,CAAE,OAAO,YAAY,CAAE,CAAC;AAyBzD,eAAO,MAAM,OAAO,EAAE,iBASrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,iBAU1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAsB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAW7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,iBAmB1B,CAAC"}
@@ -1,9 +1,9 @@
1
- export declare const ColorHeading: import("@emotion/styled").StyledComponent<Omit<import("../text/types").Props, "color" | "weight" | "isBlock"> & {
1
+ export declare const ColorHeading: import("@emotion/styled").StyledComponent<Omit<import("../text/types").Props, "color" | "isBlock" | "weight"> & {
2
2
  level?: import("../heading/types").HeadingSize;
3
- isBlock?: import("../text/types").Props["isBlock"];
4
- color?: import("../text/types").Props["color"];
5
- weight?: import("../text/types").Props["weight"];
6
- } & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, "color" | "display" | "letterSpacing" | "lineHeight" | "size" | "weight" | "ellipsis" | "children" | "as" | "align" | "variant" | keyof import("react").RefAttributes<any> | "isBlock" | "ellipsizeMode" | "limit" | "numberOfLines" | "adjustLineHeightForInnerControls" | "isDestructive" | "highlightEscape" | "highlightCaseSensitive" | "highlightSanitize" | "optimizeReadabilityFor" | "truncate" | "upperCase" | "highlightWords" | "level"> & {
3
+ isBlock?: import("../text/types").Props['isBlock'];
4
+ color?: import("../text/types").Props['color'];
5
+ weight?: import("../text/types").Props['weight'];
6
+ } & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, "adjustLineHeightForInnerControls" | "align" | "as" | "children" | "color" | "display" | "ellipsis" | "ellipsizeMode" | "highlightCaseSensitive" | "highlightEscape" | "highlightSanitize" | "highlightWords" | "isBlock" | "isDestructive" | "letterSpacing" | "level" | "limit" | "lineHeight" | "numberOfLines" | "optimizeReadabilityFor" | "size" | "truncate" | "upperCase" | "variant" | "weight" | keyof import("react").RefAttributes<any>> & {
7
7
  as?: keyof import("react").JSX.IntrinsicElements | undefined;
8
8
  } & {
9
9
  theme?: import("@emotion/react").Theme;
@@ -10,6 +10,7 @@ import type { HeadingSize } from '../heading/types';
10
10
  export type ColorObject = {
11
11
  name: string;
12
12
  color: NonNullable<CSSProperties['color']>;
13
+ slug?: string;
13
14
  };
14
15
  export type PaletteObject = {
15
16
  name: string;
@@ -20,9 +21,22 @@ type PaletteProps = {
20
21
  clearColor: () => void;
21
22
  /**
22
23
  * Callback called when a color is selected.
24
+ * The third argument is the slug of the selected palette entry, when available.
23
25
  */
24
- onChange: (newColor?: string, index?: number) => void;
26
+ onChange: (newColor?: string, index?: number, slug?: string) => void;
25
27
  value?: string;
28
+ /**
29
+ * The slug of the currently selected palette entry.
30
+ *
31
+ * When set to a non-empty string, selection is determined by slug rather
32
+ * than by color value — this correctly handles palettes where two entries
33
+ * share the same color. Palette entries without a slug will not appear
34
+ * selected in this mode, even if their color value matches `value`.
35
+ *
36
+ * An empty string is treated the same as `undefined`: selection falls
37
+ * back to matching by color value.
38
+ */
39
+ selectedSlug?: string;
26
40
  actions?: ReactNode;
27
41
  headingLevel?: HeadingSize;
28
42
  };
@@ -35,7 +49,7 @@ export type MultiplePalettesProps = PaletteProps & {
35
49
  export type CustomColorPickerDropdownProps = DropdownProps & {
36
50
  isRenderedInSidebar: boolean;
37
51
  };
38
- export type ColorPaletteProps = Pick<PaletteProps, 'onChange'> & {
52
+ export type ColorPaletteProps = Pick<PaletteProps, 'onChange' | 'selectedSlug'> & {
39
53
  /**
40
54
  * Whether the palette should have a clearing button.
41
55
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/color-palette/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAE,aAAa,CAAE,OAAO,CAAE,CAAE,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,KAAK,YAAY,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,CAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAM,IAAI,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC/C,MAAM,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IAClD,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,aAAa,GAAG;IAC5D,mBAAmB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAE,YAAY,EAAE,UAAU,CAAE,GAAG;IAClE;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,CAAC;IACzC;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC5C,GAAG,CACA;IACA;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACA;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC;CACpB,CACH,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/color-palette/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAE,aAAa,CAAE,OAAO,CAAE,CAAE,CAAC;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,KAAK,YAAY,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB;;;OAGG;IACH,QAAQ,EAAE,CAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAM,IAAI,CAAC;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC/C,MAAM,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IAClD,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,aAAa,GAAG;IAC5D,mBAAmB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CACnC,YAAY,EACZ,UAAU,GAAG,cAAc,CAC3B,GAAG;IACH;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,CAAC;IACzC;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC5C,GAAG,CACA;IACA;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACA;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC;CACpB,CACH,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { ColorObject, ColorPaletteProps, PaletteObject } from './types';
5
- export declare const extractColorNameFromCurrentValue: (currentValue?: ColorPaletteProps["value"], colors?: ColorPaletteProps["colors"], showMultiplePalettes?: boolean) => string;
5
+ export declare const extractColorNameFromCurrentValue: (currentValue?: ColorPaletteProps['value'], colors?: ColorPaletteProps['colors'], showMultiplePalettes?: boolean, selectedSlug?: ColorPaletteProps['selectedSlug']) => string;
6
6
  export declare const isMultiplePaletteObject: (obj: PaletteObject | ColorObject) => obj is PaletteObject;
7
7
  export declare const isMultiplePaletteArray: (arr: (PaletteObject | ColorObject)[]) => arr is PaletteObject[];
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/color-palette/utils.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7E,eAAO,MAAM,gCAAgC,GAC5C,eAAe,iBAAiB,CAAE,OAAO,CAAE,EAC3C,SAAQ,iBAAiB,CAAE,QAAQ,CAAO,EAC1C,uBAAsB,OAAe,WA+BrC,CAAC;AAIF,eAAO,MAAM,uBAAuB,GACnC,KAAK,aAAa,GAAG,WAAW,KAC9B,GAAG,IAAI,aAC+D,CAAC;AAE1E,eAAO,MAAM,sBAAsB,GAClC,KAAK,CAAE,aAAa,GAAG,WAAW,CAAE,EAAE,KACpC,GAAG,IAAI,aAAa,EAKtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC/B,OAAO,MAAM,GAAG,SAAS,EACzB,SAAS,WAAW,GAAG,IAAI,uBAc3B,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/color-palette/utils.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7E,eAAO,MAAM,gCAAgC,kBAC7B,iBAAiB,CAAE,OAAO,CAAE,WACnC,iBAAiB,CAAE,QAAQ,CAAE,yBACf,OAAO,iBACd,iBAAiB,CAAE,cAAc,CAAE,WA0ClD,CAAC;AAIF,eAAO,MAAM,uBAAuB,QAC9B,aAAa,GAAG,WAAW,KAC9B,GAAG,IAAI,aAC+D,CAAC;AAE1E,eAAO,MAAM,sBAAsB,QAC7B,CAAE,aAAa,GAAG,WAAW,CAAE,EAAE,KACpC,GAAG,IAAI,aAAa,EAKtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,UACxB,MAAM,GAAG,SAAS,WAChB,WAAW,GAAG,IAAI,uBAc3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"color-copy-button.d.ts","sourceRoot":"","sources":["../../src/color-picker/color-copy-button.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,eAAe,GAAK,OAAO,oBAAoB,gCAqD3D,CAAC"}
1
+ {"version":3,"file":"color-copy-button.d.ts","sourceRoot":"","sources":["../../src/color-picker/color-copy-button.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,eAAe,UAAY,oBAAoB,gCAqD3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"color-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/color-input.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,UAAU,GAAK,iEAOzB,eAAe,gCA4BjB,CAAC"}
1
+ {"version":3,"file":"color-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/color-input.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,UAAU,oEAOpB,eAAe,gCA4BjB,CAAC"}
@@ -5,6 +5,6 @@ export declare const ColorPicker: import("../context").WordPressComponent<import
5
5
  onChange?: (color: string) => void;
6
6
  defaultValue?: string;
7
7
  copyFormat?: ColorType;
8
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "defaultValue" | "onChange" | "color" | "children" | "as" | "enableAlpha" | "copyFormat"> & import("react").RefAttributes<any>, boolean>;
8
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | "children" | "color" | "copyFormat" | "defaultValue" | "enableAlpha" | "onChange"> & import("react").RefAttributes<any>, boolean>;
9
9
  export default ColorPicker;
10
10
  //# sourceMappingURL=component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/color-picker/component.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAoB,SAAS,EAAE,MAAM,SAAS,CAAC;AAmN3D,eAAO,MAAM,WAAW;;;;;;iQAGvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/color-picker/component.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAoB,SAAS,EAAE,MAAM,SAAS,CAAC;AAmN3D,eAAO,MAAM,WAAW;;;;;;iQAGvB,CAAC;eAEa,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"hex-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/hex-input.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,eAAO,MAAM,QAAQ,GAAK,kCAAkC,aAAa,gCA6CxE,CAAC"}
1
+ {"version":3,"file":"hex-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/hex-input.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,eAAO,MAAM,QAAQ,qCAAuC,aAAa,gCA6CxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hsl-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/hsl-input.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,QAAQ,GAAK,iCAAiC,aAAa,gCAsDvE,CAAC"}
1
+ {"version":3,"file":"hsl-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/hsl-input.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,QAAQ,oCAAsC,aAAa,gCAsDvE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"input-with-slider.d.ts","sourceRoot":"","sources":["../../src/color-picker/input-with-slider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,eAAO,MAAM,eAAe,GAAK,qDAO9B,oBAAoB,gCA8CtB,CAAC"}
1
+ {"version":3,"file":"input-with-slider.d.ts","sourceRoot":"","sources":["../../src/color-picker/input-with-slider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,eAAO,MAAM,eAAe,wDAOzB,oBAAoB,gCA8CtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-adapter.d.ts","sourceRoot":"","sources":["../../src/color-picker/legacy-adapter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,GAAK,OAAO,kBAAkB,gCAEvD,CAAC"}
1
+ {"version":3,"file":"legacy-adapter.d.ts","sourceRoot":"","sources":["../../src/color-picker/legacy-adapter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,UAAY,kBAAkB,gCAEvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../src/color-picker/picker.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C,eAAO,MAAM,MAAM,GAAK,iCAAiC,WAAW,gCAoBnE,CAAC"}
1
+ {"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../src/color-picker/picker.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C,eAAO,MAAM,MAAM,oCAAsC,WAAW,gCAoBnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rgb-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/rgb-input.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,QAAQ,GAAK,kCAAkC,aAAa,gCAwDxE,CAAC"}
1
+ {"version":3,"file":"rgb-input.d.ts","sourceRoot":"","sources":["../../src/color-picker/rgb-input.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,QAAQ,qCAAuC,aAAa,gCAwDxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/color-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAsBnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,WAAW,CAAO,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/color-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAsBnC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,WAAW,CAAO,CAAC"}
@@ -1,18 +1,18 @@
1
- export declare const NumberControlWrapper: import("@emotion/styled").StyledComponent<Omit<import("../input-control/types").InputControlProps, "value" | "max" | "min" | "type" | "required" | "step" | "isDragEnabled"> & {
1
+ export declare const NumberControlWrapper: import("@emotion/styled").StyledComponent<Omit<import("../input-control/types").InputControlProps, "isDragEnabled" | "max" | "min" | "required" | "step" | "type" | "value"> & {
2
2
  hideHTMLArrows?: boolean;
3
- spinControls?: "none" | "native" | "custom";
4
- isDragEnabled?: import("../input-control/types").InputControlProps["isDragEnabled"];
3
+ spinControls?: 'none' | 'native' | 'custom';
4
+ isDragEnabled?: import("../input-control/types").InputControlProps['isDragEnabled'];
5
5
  isShiftStepEnabled?: boolean;
6
6
  max?: number;
7
7
  min?: number;
8
- required?: import("../input-control/types").InputControlProps["required"];
8
+ required?: import("../input-control/types").InputControlProps['required'];
9
9
  shiftStep?: number;
10
- step?: import("../input-control/types").InputControlProps["step"];
10
+ step?: import("../input-control/types").InputControlProps['step'];
11
11
  spinFactor?: number;
12
- type?: import("../input-control/types").InputControlProps["type"];
12
+ type?: import("../input-control/types").InputControlProps['type'];
13
13
  value?: number | string;
14
14
  __shouldNotWarnDeprecated36pxSize?: boolean;
15
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "defaultValue" | "onChange" | "value" | "name" | "form" | "label" | "slot" | "style" | "title" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "size" | "help" | "multiple" | "disabled" | "key" | "children" | "pattern" | "as" | "suppressHydrationWarning" | "className" | "id" | "lang" | "max" | "min" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "placeholder" | "readOnly" | "required" | "step" | "__next36pxDefaultSize" | "__next40pxDefaultSize" | "__shouldNotWarnDeprecated36pxSize" | "__unstableInputWidth" | "hideLabelFromVision" | "labelPosition" | "dragDirection" | "dragThreshold" | "isDragEnabled" | "isPressEnterToChange" | "onValidate" | "suffix" | "__unstableStateReducer" | "hideHTMLArrows" | "spinControls" | "isShiftStepEnabled" | "shiftStep" | "spinFactor"> & import("react").RefAttributes<any> & {
15
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "__next36pxDefaultSize" | "__next40pxDefaultSize" | "__shouldNotWarnDeprecated36pxSize" | "__unstableInputWidth" | "__unstableStateReducer" | "about" | "accept" | "accessKey" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "autoSave" | "capture" | "checked" | "children" | "className" | "color" | "content" | "contentEditable" | "contextMenu" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disabled" | "dragDirection" | "dragThreshold" | "draggable" | "enterKeyHint" | "exportparts" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "help" | "hidden" | "hideHTMLArrows" | "hideLabelFromVision" | "id" | "inlist" | "inputMode" | "is" | "isDragEnabled" | "isPressEnterToChange" | "isShiftStepEnabled" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "label" | "labelPosition" | "lang" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onValidate" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "pattern" | "placeholder" | "prefix" | "property" | "radioGroup" | "readOnly" | "rel" | "required" | "resource" | "results" | "rev" | "role" | "security" | "shiftStep" | "size" | "slot" | "spellCheck" | "spinControls" | "spinFactor" | "src" | "step" | "style" | "suffix" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "title" | "translate" | "type" | "typeof" | "unselectable" | "value" | "vocab" | "width"> & import("react").RefAttributes<any> & {
16
16
  theme?: import("@emotion/react").Theme;
17
17
  }, {}, {}>;
18
18
  export declare const SelectControl: import("@emotion/styled").StyledComponent<(import("../context").WordPressComponentProps<import("../select-control/types").SelectControlProps<string>, "select", false> & {
@@ -20,18 +20,18 @@ export declare const SelectControl: import("@emotion/styled").StyledComponent<(i
20
20
  }) & {
21
21
  theme?: import("@emotion/react").Theme;
22
22
  }, {}, {}>;
23
- export declare const RangeControl: import("@emotion/styled").StyledComponent<Pick<import("../base-control/types").BaseControlProps, "help" | "hideLabelFromVision" | "__nextHasNoMarginBottom"> & import("../range-control/types").NumericProps & {
23
+ export declare const RangeControl: import("@emotion/styled").StyledComponent<Pick<import("../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "help" | "hideLabelFromVision"> & import("../range-control/types").NumericProps & {
24
24
  disabled?: boolean;
25
25
  marks?: boolean | {
26
26
  value: number;
27
27
  label?: string;
28
28
  }[];
29
- step?: number | "any";
29
+ step?: number | 'any';
30
30
  } & {
31
31
  afterIcon?: import("..").IconType;
32
32
  allowReset?: boolean;
33
33
  beforeIcon?: import("..").IconType;
34
- color?: import("react").CSSProperties["color"];
34
+ color?: import("react").CSSProperties['color'];
35
35
  currentInput?: number;
36
36
  icon?: string;
37
37
  initialPosition?: number;
@@ -42,33 +42,33 @@ export declare const RangeControl: import("@emotion/styled").StyledComponent<Pic
42
42
  onFocus?: import("react").FocusEventHandler<HTMLInputElement>;
43
43
  onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement>;
44
44
  onMouseMove?: import("react").MouseEventHandler<HTMLInputElement>;
45
- railColor?: import("react").CSSProperties["color"];
45
+ railColor?: import("react").CSSProperties['color'];
46
46
  renderTooltipContent?: (value?: import("../range-control/types").ControlledRangeValue) => string | number | null | undefined;
47
47
  resetFallbackValue?: number;
48
- separatorType?: "none" | "fullWidth" | "topFullWidth";
48
+ separatorType?: 'none' | 'fullWidth' | 'topFullWidth';
49
49
  shiftStep?: number;
50
50
  __next40pxDefaultSize?: boolean;
51
51
  showTooltip?: boolean;
52
- trackColor?: import("react").CSSProperties["color"];
53
- type?: "stepper";
52
+ trackColor?: import("react").CSSProperties['color'];
53
+ type?: 'stepper';
54
54
  withInputField?: boolean;
55
55
  __shouldNotWarnDeprecated36pxSize?: boolean;
56
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange" | "label" | "color" | "help" | "icon" | "disabled" | "children" | "as" | "type" | "onFocus" | "onBlur" | "onMouseLeave" | "onMouseMove" | "step" | "__next40pxDefaultSize" | "__shouldNotWarnDeprecated36pxSize" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "showTooltip" | "isShiftStepEnabled" | "shiftStep" | keyof import("../range-control/types").NumericProps | "marks" | "afterIcon" | "allowReset" | "beforeIcon" | "currentInput" | "initialPosition" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "trackColor" | "withInputField"> & import("react").RefAttributes<HTMLInputElement> & {
56
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "__next40pxDefaultSize" | "__nextHasNoMarginBottom" | "__shouldNotWarnDeprecated36pxSize" | "afterIcon" | "allowReset" | "as" | "beforeIcon" | "children" | "color" | "currentInput" | "disabled" | "help" | "hideLabelFromVision" | "icon" | "initialPosition" | "isShiftStepEnabled" | "label" | "marks" | "onBlur" | "onChange" | "onFocus" | "onMouseLeave" | "onMouseMove" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "shiftStep" | "showTooltip" | "step" | "trackColor" | "type" | "withInputField" | keyof import("../range-control/types").NumericProps> & import("react").RefAttributes<HTMLInputElement> & {
57
57
  theme?: import("@emotion/react").Theme;
58
58
  }, {}, {}>;
59
59
  export declare const AuxiliaryColorArtefactWrapper: import("@emotion/styled").StyledComponent<{
60
60
  theme?: import("@emotion/react").Theme;
61
61
  as?: React.ElementType;
62
62
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
63
- export declare const AuxiliaryColorArtefactHStackHeader: import("@emotion/styled").StyledComponent<Omit<import("../flex/types").FlexProps, "gap" | "align"> & {
64
- alignment?: import("../h-stack/types").HStackAlignment | import("react").CSSProperties["alignItems"];
65
- spacing?: import("react").CSSProperties["width"];
66
- } & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "direction" | "wrap" | "expanded" | "justify" | "children" | "as" | "spacing" | keyof import("react").RefAttributes<any> | "isReversed" | "alignment"> & {
63
+ export declare const AuxiliaryColorArtefactHStackHeader: import("@emotion/styled").StyledComponent<Omit<import("../flex/types").FlexProps, "align" | "gap"> & {
64
+ alignment?: import("../h-stack/types").HStackAlignment | import("react").CSSProperties['alignItems'];
65
+ spacing?: import("react").CSSProperties['width'];
66
+ } & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "alignment" | "as" | "children" | "direction" | "expanded" | "isReversed" | "justify" | "spacing" | "wrap" | keyof import("react").RefAttributes<any>> & {
67
67
  as?: keyof import("react").JSX.IntrinsicElements | undefined;
68
68
  } & {
69
69
  theme?: import("@emotion/react").Theme;
70
70
  }, {}, {}>;
71
- export declare const ColorInputWrapper: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../flex/types").FlexProps> & {
71
+ export declare const ColorInputWrapper: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../flex/types").FlexProps | keyof import("react").RefAttributes<any>> & {
72
72
  as?: keyof import("react").JSX.IntrinsicElements | undefined;
73
73
  } & {
74
74
  theme?: import("@emotion/react").Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/color-picker/styles.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;UAEhC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;UAEzB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;aAmBpB,CAAC;;;;;;;;;;;;;;qBAmE26C,CAAC;;;;;iCAAmuB,CAAC;;;;;;;;;;;;UAnFrpE,CAAC;AASF,eAAO,MAAM,6BAA6B;;;yGAKzC,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;UAG9C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;UAK7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;yGAsD3B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/color-picker/styles.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;UAEhC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;UAEzB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAGxB,CAAC;AASF,eAAO,MAAM,6BAA6B;;;yGAKzC,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;UAG9C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;UAK7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;yGAsD3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/combobox-control/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAkC3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,iBAAS,eAAe,CAAE,KAAK,EAAE,oBAAoB,+BAoSpD;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/combobox-control/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAkC3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,iBAAS,eAAe,CAAE,KAAK,EAAE,oBAAoB,+BAoSpD;eAEc,eAAe"}
@@ -9,7 +9,7 @@ import ComboboxControl from '..';
9
9
  import type { ComboboxControlProps } from '../types';
10
10
  declare const meta: Meta<typeof ComboboxControl>;
11
11
  export default meta;
12
- export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "label" | "help" | "className" | "hideLabelFromVision" | "__nextHasNoMarginBottom"> & {
12
+ export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "className" | "help" | "hideLabelFromVision" | "label"> & {
13
13
  __experimentalRenderItem?: (args: {
14
14
  item: import("../types").ComboboxControlOption;
15
15
  }) => React.ReactNode;
@@ -20,7 +20,7 @@ export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<
20
20
  messages?: {
21
21
  selected: string;
22
22
  };
23
- onChange?: (value: ComboboxControlProps["value"]) => void;
23
+ onChange?: (value: ComboboxControlProps['value']) => void;
24
24
  onFilterValueChange?: (value: string) => void;
25
25
  options: import("../types").ComboboxControlOption[];
26
26
  value?: string | null;
@@ -32,7 +32,7 @@ export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<
32
32
  * render function to the `__experimentalRenderItem` prop. (This is still an experimental feature
33
33
  * and is subject to change.)
34
34
  */
35
- export declare const WithCustomRenderItem: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "label" | "help" | "className" | "hideLabelFromVision" | "__nextHasNoMarginBottom"> & {
35
+ export declare const WithCustomRenderItem: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "className" | "help" | "hideLabelFromVision" | "label"> & {
36
36
  __experimentalRenderItem?: (args: {
37
37
  item: import("../types").ComboboxControlOption;
38
38
  }) => React.ReactNode;
@@ -43,7 +43,7 @@ export declare const WithCustomRenderItem: import("storybook/internal/csf").Anno
43
43
  messages?: {
44
44
  selected: string;
45
45
  };
46
- onChange?: (value: ComboboxControlProps["value"]) => void;
46
+ onChange?: (value: ComboboxControlProps['value']) => void;
47
47
  onFilterValueChange?: (value: string) => void;
48
48
  options: import("../types").ComboboxControlOption[];
49
49
  value?: string | null;
@@ -55,7 +55,7 @@ export declare const WithCustomRenderItem: import("storybook/internal/csf").Anno
55
55
  * by setting the `disabled` property to true
56
56
  * for individual items in the option object.
57
57
  */
58
- export declare const WithDisabledOptions: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "label" | "help" | "className" | "hideLabelFromVision" | "__nextHasNoMarginBottom"> & {
58
+ export declare const WithDisabledOptions: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "className" | "help" | "hideLabelFromVision" | "label"> & {
59
59
  __experimentalRenderItem?: (args: {
60
60
  item: import("../types").ComboboxControlOption;
61
61
  }) => React.ReactNode;
@@ -66,7 +66,7 @@ export declare const WithDisabledOptions: import("storybook/internal/csf").Annot
66
66
  messages?: {
67
67
  selected: string;
68
68
  };
69
- onChange?: (value: ComboboxControlProps["value"]) => void;
69
+ onChange?: (value: ComboboxControlProps['value']) => void;
70
70
  onFilterValueChange?: (value: string) => void;
71
71
  options: import("../types").ComboboxControlOption[];
72
72
  value?: string | null;
@@ -78,7 +78,7 @@ export declare const WithDisabledOptions: import("storybook/internal/csf").Annot
78
78
  * You can disable this behavior by setting the `expandOnFocus` prop to `false`.
79
79
  * This is useful when you want to show the suggestions only when the user interacts with the input.
80
80
  */
81
- export declare const NotExpandOnFocus: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "label" | "help" | "className" | "hideLabelFromVision" | "__nextHasNoMarginBottom"> & {
81
+ export declare const NotExpandOnFocus: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "className" | "help" | "hideLabelFromVision" | "label"> & {
82
82
  __experimentalRenderItem?: (args: {
83
83
  item: import("../types").ComboboxControlOption;
84
84
  }) => React.ReactNode;
@@ -89,7 +89,7 @@ export declare const NotExpandOnFocus: import("storybook/internal/csf").Annotate
89
89
  messages?: {
90
90
  selected: string;
91
91
  };
92
- onChange?: (value: ComboboxControlProps["value"]) => void;
92
+ onChange?: (value: ComboboxControlProps['value']) => void;
93
93
  onFilterValueChange?: (value: string) => void;
94
94
  options: import("../types").ComboboxControlOption[];
95
95
  value?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/combobox-control/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,eAAe,MAAM,IAAI,CAAC;AACjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAqBrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,eAAe,CAqBvC,CAAC;AACF,eAAe,IAAI,CAAC;AA8BpB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAQ3C;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAqCxD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAWvD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;EAAsB,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/combobox-control/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,eAAe,MAAM,IAAI,CAAC;AACjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAqBrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,eAAe,CAqBvC,CAAC;eACa,IAAI;AA8BnB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAQ3C;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAqCxD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAWvD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;EAAsB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ComboboxControlProps } from './types';
2
- export declare const InputWrapperFlex: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../flex/types").FlexProps> & {
2
+ export declare const InputWrapperFlex: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../flex/types").FlexProps | keyof import("react").RefAttributes<any>> & {
3
3
  as?: keyof import("react").JSX.IntrinsicElements | undefined;
4
4
  } & {
5
5
  theme?: import("@emotion/react").Theme;
@@ -27,32 +27,32 @@ import * as Ariakit from '@ariakit/react';
27
27
  * ```
28
28
  */
29
29
  export declare const Composite: import("react").ForwardRefExoticComponent<{
30
- activeId?: Ariakit.CompositeStoreProps["activeId"];
31
- defaultActiveId?: Ariakit.CompositeStoreProps["defaultActiveId"];
32
- setActiveId?: Ariakit.CompositeStoreProps["setActiveId"];
33
- focusLoop?: Ariakit.CompositeStoreProps["focusLoop"];
34
- focusWrap?: Ariakit.CompositeStoreProps["focusWrap"];
35
- focusShift?: Ariakit.CompositeStoreProps["focusShift"];
36
- virtualFocus?: Ariakit.CompositeStoreProps["virtualFocus"];
37
- orientation?: Ariakit.CompositeStoreProps["orientation"];
38
- rtl?: Ariakit.CompositeStoreProps["rtl"];
30
+ activeId?: Ariakit.CompositeStoreProps['activeId'];
31
+ defaultActiveId?: Ariakit.CompositeStoreProps['defaultActiveId'];
32
+ setActiveId?: Ariakit.CompositeStoreProps['setActiveId'];
33
+ focusLoop?: Ariakit.CompositeStoreProps['focusLoop'];
34
+ focusWrap?: Ariakit.CompositeStoreProps['focusWrap'];
35
+ focusShift?: Ariakit.CompositeStoreProps['focusShift'];
36
+ virtualFocus?: Ariakit.CompositeStoreProps['virtualFocus'];
37
+ orientation?: Ariakit.CompositeStoreProps['orientation'];
38
+ rtl?: Ariakit.CompositeStoreProps['rtl'];
39
39
  } & {
40
- render?: Ariakit.CompositeProps["render"];
41
- focusable?: Ariakit.CompositeProps["focusable"];
42
- disabled?: Ariakit.CompositeProps["disabled"];
43
- accessibleWhenDisabled?: Ariakit.CompositeProps["accessibleWhenDisabled"];
44
- onFocusVisible?: Ariakit.CompositeProps["onFocusVisible"];
45
- children?: Ariakit.CompositeProps["children"];
46
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "disabled" | "children" | "as" | "focusable" | "accessibleWhenDisabled" | "onFocusVisible" | "render" | keyof {
47
- activeId?: Ariakit.CompositeStoreProps["activeId"];
48
- defaultActiveId?: Ariakit.CompositeStoreProps["defaultActiveId"];
49
- setActiveId?: Ariakit.CompositeStoreProps["setActiveId"];
50
- focusLoop?: Ariakit.CompositeStoreProps["focusLoop"];
51
- focusWrap?: Ariakit.CompositeStoreProps["focusWrap"];
52
- focusShift?: Ariakit.CompositeStoreProps["focusShift"];
53
- virtualFocus?: Ariakit.CompositeStoreProps["virtualFocus"];
54
- orientation?: Ariakit.CompositeStoreProps["orientation"];
55
- rtl?: Ariakit.CompositeStoreProps["rtl"];
40
+ render?: Ariakit.CompositeProps['render'];
41
+ focusable?: Ariakit.CompositeProps['focusable'];
42
+ disabled?: Ariakit.CompositeProps['disabled'];
43
+ accessibleWhenDisabled?: Ariakit.CompositeProps['accessibleWhenDisabled'];
44
+ onFocusVisible?: Ariakit.CompositeProps['onFocusVisible'];
45
+ children?: Ariakit.CompositeProps['children'];
46
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "accessibleWhenDisabled" | "as" | "children" | "disabled" | "focusable" | "onFocusVisible" | "render" | keyof {
47
+ activeId?: Ariakit.CompositeStoreProps['activeId'];
48
+ defaultActiveId?: Ariakit.CompositeStoreProps['defaultActiveId'];
49
+ setActiveId?: Ariakit.CompositeStoreProps['setActiveId'];
50
+ focusLoop?: Ariakit.CompositeStoreProps['focusLoop'];
51
+ focusWrap?: Ariakit.CompositeStoreProps['focusWrap'];
52
+ focusShift?: Ariakit.CompositeStoreProps['focusShift'];
53
+ virtualFocus?: Ariakit.CompositeStoreProps['virtualFocus'];
54
+ orientation?: Ariakit.CompositeStoreProps['orientation'];
55
+ rtl?: Ariakit.CompositeStoreProps['rtl'];
56
56
  }> & import("react").RefAttributes<HTMLDivElement>> & {
57
57
  /**
58
58
  * Renders a group element for composite items.
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/composite/legacy/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAW3D,OAAO,EAAE,4BAA4B,EAAa,MAAM,SAAS,CAAC;AAElE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,4BAA4B,CA4BpD,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,0BAA0B,EAAE,OAAO,CAC/C,OAAO,4BAA4B,CA6CnC,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,OAAO,CACjD,OAAO,4BAA4B,CA6CnC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAC9C,OAAO,4BAA4B,CA2BnC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAChD,OAAO,4BAA4B,CA2BnC,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/composite/legacy/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAW3D,OAAO,EAAE,4BAA4B,EAAa,MAAM,SAAS,CAAC;AAElE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,4BAA4B,CA4BpD,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,0BAA0B,EAAE,OAAO,CAC/C,OAAO,4BAA4B,CA6CnC,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,OAAO,CACjD,OAAO,4BAA4B,CA6CnC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAC9C,OAAO,4BAA4B,CA2BnC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAChD,OAAO,4BAA4B,CA2BnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/composite/legacy/stories/utils.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,4BAA4B,CAAE,KAAK,EAAE,kBAAkB,+BAWtE;yBAXe,4BAA4B;;;AAc5C,wBAAgB,SAAS,CAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,UA0C7D"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/composite/legacy/stories/utils.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,4BAA4B,CAAE,KAAK,EAAE,kBAAkB,+BAWtE;;;;AAGD,wBAAgB,SAAS,CAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,UA0C7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAyEjC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,SAAS,CAU/C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmB9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAE,OAAO,SAAS,CA0B5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAE,OAAO,SAAS,CAyB7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmBjD,CAAC;AAoDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAuGpD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAkBpD,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAyEjC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,SAAS,CAU/C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmB9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAE,OAAO,SAAS,CA0B5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAE,OAAO,SAAS,CAyB7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmBjD,CAAC;AAoDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAuGpD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAkBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/confirm-dialog/component.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAoB,MAAM,SAAS,CAAC;AAqHpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,eAAO,MAAM,aAAa,gHAGzB,CAAC;AACF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/confirm-dialog/component.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAoB,MAAM,SAAS,CAAC;AAqHpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,eAAO,MAAM,aAAa,gHAGzB,CAAC;eACa,aAAa"}
@@ -5,6 +5,6 @@ import type { Meta } from '@storybook/react-vite';
5
5
  import { ConfirmDialog } from '../component';
6
6
  declare const meta: Meta<typeof ConfirmDialog>;
7
7
  export default meta;
8
- export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ConfirmDialogProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../types").ConfirmDialogProps>>;
9
- export declare const WithCustomButtonLabels: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ConfirmDialogProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../types").ConfirmDialogProps>>;
8
+ export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ConfirmDialogProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").ConfirmDialogProps | keyof import("react").RefAttributes<any>>>;
9
+ export declare const WithCustomButtonLabels: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ConfirmDialogProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").ConfirmDialogProps | keyof import("react").RefAttributes<any>>>;
10
10
  //# sourceMappingURL=index.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CAwBrC,CAAC;AAEF,eAAe,IAAI,CAAC;AA0CpB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AA+C3C,eAAO,MAAM,sBAAsB,+XAAsB,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CAwBrC,CAAC;eAEa,IAAI;AA0CnB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AA+C3C,eAAO,MAAM,sBAAsB,+XAAsB,CAAC"}
@@ -1,8 +1,8 @@
1
- export const COMPONENT_NAMESPACE: "data-wp-component";
2
- export const CONNECTED_NAMESPACE: "data-wp-c16t";
1
+ export declare const COMPONENT_NAMESPACE = "data-wp-component";
2
+ export declare const CONNECTED_NAMESPACE = "data-wp-c16t";
3
3
  /**
4
4
  * Special key where the connected namespaces are stored.
5
5
  * This is attached to Context connected components as a static property.
6
6
  */
7
- export const CONNECT_STATIC_NAMESPACE: "__contextSystemKey__";
7
+ export declare const CONNECT_STATIC_NAMESPACE = "__contextSystemKey__";
8
8
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/context/constants.js"],"names":[],"mappings":"AAAA,kCAAmC,mBAAmB,CAAC;AACvD,kCAAmC,cAAc,CAAC;AAElD;;;GAGG;AACH,uCAAwC,sBAAsB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/context/constants.js"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,sBAAsB,CAAC;AACvD,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,yBAAyB,CAAC"}
@@ -1,7 +1,7 @@
1
- export const ComponentsContext: import("react").Context<Record<string, any>>;
2
- export function useComponentsContext(): Record<string, any>;
3
- export const ContextSystemProvider: import("react").MemoExoticComponent<(<T extends Record<string, any>>({ children, value }: {
1
+ export declare const ComponentsContext: import("react").Context<Record<string, any>>;
2
+ export declare const useComponentsContext: () => Record<string, any>;
3
+ export declare const ContextSystemProvider: import("react").MemoExoticComponent<<T extends Record<string, any>>({ children, value }: {
4
4
  children: React.ReactNode;
5
5
  value: T;
6
- }) => React.JSX.Element)>;
6
+ }) => React.JSX.Element>;
7
7
  //# sourceMappingURL=context-system-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-system-provider.d.ts","sourceRoot":"","sources":["../../src/context/context-system-provider.js"],"names":[],"mappings":"AAyBA,6EAEE;AAGK,4DAAkE;AA4EzE,0EAhBmC,CAAC,SAAtB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAE,uBAE/B;IAAiC,QAAQ,EAAjC,KAAK,CAAC,SAAS;IACU,KAAK,EAA9B,CAAC;CACT,KAAS,KAAK,CAAC,GAAG,CAAC,OAAO,GAY0C"}
1
+ {"version":3,"file":"context-system-provider.d.ts","sourceRoot":"","sources":["../../src/context/context-system-provider.js"],"names":[],"mappings":"AAyBA,eAAO,MAAM,iBAAiB,8CAE7B,CAAC;AAGF,eAAO,MAAM,oBAAoB,2BAAwC,CAAC;AA4E1E,eAAO,MAAM,qBAAqB,uCAhBC,CAAC,SAAtB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,uBAE9B;IAAiC,QAAQ,EAAjC,KAAK,CAAC,SAAS,CACvB;IAAiC,KAAK,EAA9B,CAAC,CACT;CAAA,KAAS,KAAK,CAAC,GAAG,CAAC,OAAO,CAYyC,CAAC"}
@@ -1,3 +1,6 @@
1
+ export type ConnectedProps<TProps> = TProps & {
2
+ className: string;
3
+ };
1
4
  /**
2
5
  * @template TProps
3
6
  * @typedef {TProps & { className: string }} ConnectedProps
@@ -11,10 +14,7 @@
11
14
  * @param {string} namespace The namespace to register and to derive context props from.
12
15
  * @return {ConnectedProps<P>} The connected props.
13
16
  */
14
- export function useContextSystem<P extends {
17
+ export declare function useContextSystem<P extends {
15
18
  className?: string;
16
19
  }>(props: P, namespace: string): ConnectedProps<P>;
17
- export type ConnectedProps<TProps> = TProps & {
18
- className: string;
19
- };
20
20
  //# sourceMappingURL=use-context-system.d.ts.map