@channel.io/bezier-react 1.6.0 → 1.6.2

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 (389) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.js +3 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -1
  3. package/dist/cjs/components/AutoFocus/AutoFocus.js +2 -2
  4. package/dist/cjs/components/AutoFocus/AutoFocus.js.map +1 -1
  5. package/dist/cjs/components/Avatars/CheckableAvatar/CheckableAvatar.js +2 -2
  6. package/dist/cjs/components/Avatars/CheckableAvatar/CheckableAvatar.js.map +1 -1
  7. package/dist/cjs/components/Avatars/CheckableAvatar/CheckableAvatar.styled.js +2 -2
  8. package/dist/cjs/components/Avatars/CheckableAvatar/CheckableAvatar.styled.js.map +1 -1
  9. package/dist/cjs/components/Divider/Divider.js +2 -2
  10. package/dist/cjs/components/Divider/Divider.js.map +1 -1
  11. package/dist/cjs/components/Forms/Checkbox/Checkbox.js +2 -2
  12. package/dist/cjs/components/Forms/Checkbox/Checkbox.js.map +1 -1
  13. package/dist/cjs/components/Forms/Checkbox/Checkbox.styled.js +2 -2
  14. package/dist/cjs/components/Forms/Checkbox/Checkbox.styled.js.map +1 -1
  15. package/dist/cjs/components/Forms/RadioGroup/RadioGroup.js +2 -2
  16. package/dist/cjs/components/Forms/RadioGroup/RadioGroup.js.map +1 -1
  17. package/dist/cjs/components/Forms/RadioGroup/RadioGroup.styled.js +2 -2
  18. package/dist/cjs/components/Forms/RadioGroup/RadioGroup.styled.js.map +1 -1
  19. package/dist/cjs/components/Forms/SegmentedControl/SegmentedControl.js +7 -7
  20. package/dist/cjs/components/Forms/SegmentedControl/SegmentedControl.js.map +1 -1
  21. package/dist/cjs/components/Forms/SegmentedControl/SegmentedControlItem.js +3 -3
  22. package/dist/cjs/components/Forms/SegmentedControl/SegmentedControlItem.js.map +1 -1
  23. package/dist/cjs/components/Forms/Slider/Slider.js +5 -5
  24. package/dist/cjs/components/Forms/Slider/Slider.js.map +1 -1
  25. package/dist/cjs/components/Forms/Switch/Switch.js +3 -3
  26. package/dist/cjs/components/Forms/Switch/Switch.js.map +1 -1
  27. package/dist/cjs/components/ListItem/ListItem.styled.js +1 -1
  28. package/dist/cjs/components/Modals/Modal/Modal.js +2 -2
  29. package/dist/cjs/components/Modals/Modal/Modal.js.map +1 -1
  30. package/dist/cjs/components/Modals/Modal/Modal.styled.js +2 -2
  31. package/dist/cjs/components/Modals/Modal/Modal.styled.js.map +1 -1
  32. package/dist/cjs/components/Modals/Modal/ModalContent.js +3 -3
  33. package/dist/cjs/components/Modals/Modal/ModalContent.js.map +1 -1
  34. package/dist/cjs/components/Modals/Modal/ModalHeader.js +3 -3
  35. package/dist/cjs/components/Modals/Modal/ModalHeader.js.map +1 -1
  36. package/dist/cjs/components/Modals/Modal/ModalHelpers.js +3 -3
  37. package/dist/cjs/components/Modals/Modal/ModalHelpers.js.map +1 -1
  38. package/dist/cjs/components/Status/Status.styled.js +1 -1
  39. package/dist/cjs/components/Tabs/TabAction.styled.js +3 -3
  40. package/dist/cjs/components/Tabs/TabAction.styled.js.map +1 -1
  41. package/dist/cjs/components/Tabs/TabActions.styled.js +2 -2
  42. package/dist/cjs/components/Tabs/TabActions.styled.js.map +1 -1
  43. package/dist/cjs/components/Tabs/TabContent.js +2 -2
  44. package/dist/cjs/components/Tabs/TabContent.js.map +1 -1
  45. package/dist/cjs/components/Tabs/TabItem.js +2 -2
  46. package/dist/cjs/components/Tabs/TabItem.js.map +1 -1
  47. package/dist/cjs/components/Tabs/TabItems.styled.js +2 -2
  48. package/dist/cjs/components/Tabs/TabItems.styled.js.map +1 -1
  49. package/dist/cjs/components/Tabs/Tabs.styled.js +2 -2
  50. package/dist/cjs/components/Tabs/Tabs.styled.js.map +1 -1
  51. package/dist/cjs/components/Tooltip/Tooltip.types.js.map +1 -1
  52. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.js +2 -2
  53. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
  54. package/dist/cjs/foundation/FoundationStyledComponent.js +16 -1
  55. package/dist/cjs/foundation/FoundationStyledComponent.js.map +1 -1
  56. package/dist/cjs/node_modules/@radix-ui/number/dist/{index.module.js → index.js} +1 -1
  57. package/dist/cjs/node_modules/@radix-ui/number/dist/index.js.map +1 -0
  58. package/dist/cjs/node_modules/@radix-ui/primitive/dist/{index.module.js → index.js} +1 -1
  59. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  60. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/{index.module.js → index.js} +19 -19
  61. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
  62. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/{index.module.js → index.js} +9 -9
  63. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  64. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/{index.module.js → index.js} +1 -1
  65. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  66. package/dist/cjs/node_modules/@radix-ui/react-context/dist/{index.module.js → index.js} +1 -1
  67. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  68. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/{index.module.js → index.js} +52 -46
  69. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/{index.module.js.map → index.js.map} +1 -1
  70. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/{index.module.js → index.js} +1 -1
  71. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  72. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/{index.module.js → index.js} +18 -18
  73. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  74. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/{index.module.js → index.js} +1 -1
  75. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  76. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/{index.module.js → index.js} +37 -9
  77. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/{index.module.js.map → index.js.map} +1 -1
  78. package/dist/cjs/node_modules/@radix-ui/react-id/dist/{index.module.js → index.js} +3 -3
  79. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  80. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/{index.module.js → index.js} +3 -3
  81. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  82. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/{index.module.js → index.js} +6 -6
  83. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  84. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/{index.module.js → index.js} +3 -3
  85. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  86. package/dist/cjs/node_modules/@radix-ui/react-radio-group/dist/{index.module.js → index.js} +26 -26
  87. package/dist/cjs/node_modules/@radix-ui/{react-roving-focus/dist/index.module.js.map → react-radio-group/dist/index.js.map} +1 -1
  88. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/{index.module.js → index.js} +25 -25
  89. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  90. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/{index.module.js → index.js} +3 -3
  91. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
  92. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/{index.module.js → index.js} +36 -35
  93. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/{index.module.js.map → index.js.map} +1 -1
  94. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/{index.module.js → index.js} +3 -3
  95. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  96. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/{index.module.js → index.js} +16 -16
  97. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
  98. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/{index.module.js → index.js} +24 -24
  99. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
  100. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/{index.module.js → index.js} +5 -5
  101. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.js.map +1 -0
  102. package/dist/cjs/node_modules/@radix-ui/react-toolbar/dist/{index.module.js → index.js} +18 -18
  103. package/dist/cjs/node_modules/@radix-ui/react-toolbar/dist/index.js.map +1 -0
  104. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/{index.module.js → index.js} +1 -1
  105. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  106. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/{index.module.js → index.js} +4 -4
  107. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  108. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/{index.module.js → index.js} +3 -3
  109. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  110. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/{index.module.js → index.js} +1 -1
  111. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  112. package/dist/cjs/node_modules/@radix-ui/react-use-previous/dist/{index.module.js → index.js} +1 -1
  113. package/dist/cjs/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
  114. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/{index.module.js → index.js} +3 -3
  115. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  116. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/{index.module.js → index.js} +3 -3
  117. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  118. package/dist/cjs/node_modules/lodash/_Symbol.js +12 -0
  119. package/dist/cjs/node_modules/lodash/_Symbol.js.map +1 -0
  120. package/dist/cjs/node_modules/lodash/_baseGetTag.js +34 -0
  121. package/dist/cjs/node_modules/lodash/_baseGetTag.js.map +1 -0
  122. package/dist/cjs/node_modules/lodash/_baseTrim.js +23 -0
  123. package/dist/cjs/node_modules/lodash/_baseTrim.js.map +1 -0
  124. package/dist/cjs/node_modules/lodash/_freeGlobal.js +10 -0
  125. package/dist/cjs/node_modules/lodash/_freeGlobal.js.map +1 -0
  126. package/dist/cjs/node_modules/lodash/_getRawTag.js +50 -0
  127. package/dist/cjs/node_modules/lodash/_getRawTag.js.map +1 -0
  128. package/dist/cjs/node_modules/lodash/_objectToString.js +26 -0
  129. package/dist/cjs/node_modules/lodash/_objectToString.js.map +1 -0
  130. package/dist/cjs/node_modules/lodash/_root.js +15 -0
  131. package/dist/cjs/node_modules/lodash/_root.js.map +1 -0
  132. package/dist/cjs/node_modules/lodash/_trimmedEndIndex.js +22 -0
  133. package/dist/cjs/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  134. package/dist/cjs/node_modules/lodash/debounce.js +187 -0
  135. package/dist/cjs/node_modules/lodash/debounce.js.map +1 -0
  136. package/dist/cjs/node_modules/lodash/isObject.js +35 -0
  137. package/dist/cjs/node_modules/lodash/isObject.js.map +1 -0
  138. package/dist/cjs/node_modules/lodash/isObjectLike.js +33 -0
  139. package/dist/cjs/node_modules/lodash/isObjectLike.js.map +1 -0
  140. package/dist/cjs/node_modules/lodash/isSymbol.js +35 -0
  141. package/dist/cjs/node_modules/lodash/isSymbol.js.map +1 -0
  142. package/dist/cjs/node_modules/lodash/now.js +29 -0
  143. package/dist/cjs/node_modules/lodash/now.js.map +1 -0
  144. package/dist/cjs/node_modules/lodash/throttle.js +79 -0
  145. package/dist/cjs/node_modules/lodash/throttle.js.map +1 -0
  146. package/dist/cjs/node_modules/lodash/toNumber.js +70 -0
  147. package/dist/cjs/node_modules/lodash/toNumber.js.map +1 -0
  148. package/dist/cjs/node_modules/react-resize-detector/build/index.esm.js +153 -668
  149. package/dist/cjs/node_modules/react-resize-detector/build/index.esm.js.map +1 -1
  150. package/dist/cjs/node_modules/ssr-window/ssr-window.esm.js +37 -43
  151. package/dist/cjs/node_modules/ssr-window/ssr-window.esm.js.map +1 -1
  152. package/dist/esm/_virtual/_commonjsHelpers.mjs +3 -1
  153. package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -1
  154. package/dist/esm/components/AutoFocus/AutoFocus.mjs +1 -1
  155. package/dist/esm/components/Avatars/CheckableAvatar/CheckableAvatar.mjs +1 -1
  156. package/dist/esm/components/Avatars/CheckableAvatar/CheckableAvatar.styled.mjs +1 -1
  157. package/dist/esm/components/Divider/Divider.mjs +1 -1
  158. package/dist/esm/components/Forms/Checkbox/Checkbox.mjs +1 -1
  159. package/dist/esm/components/Forms/Checkbox/Checkbox.styled.mjs +1 -1
  160. package/dist/esm/components/Forms/RadioGroup/RadioGroup.mjs +1 -1
  161. package/dist/esm/components/Forms/RadioGroup/RadioGroup.styled.mjs +1 -1
  162. package/dist/esm/components/Forms/SegmentedControl/SegmentedControl.mjs +2 -2
  163. package/dist/esm/components/Forms/SegmentedControl/SegmentedControlItem.mjs +2 -2
  164. package/dist/esm/components/Forms/Slider/Slider.mjs +1 -1
  165. package/dist/esm/components/Forms/Switch/Switch.mjs +1 -1
  166. package/dist/esm/components/ListItem/ListItem.styled.mjs +1 -1
  167. package/dist/esm/components/Modals/Modal/Modal.mjs +1 -1
  168. package/dist/esm/components/Modals/Modal/Modal.styled.mjs +1 -1
  169. package/dist/esm/components/Modals/Modal/ModalContent.mjs +1 -1
  170. package/dist/esm/components/Modals/Modal/ModalHeader.mjs +1 -1
  171. package/dist/esm/components/Modals/Modal/ModalHelpers.mjs +1 -1
  172. package/dist/esm/components/Status/Status.styled.mjs +1 -1
  173. package/dist/esm/components/Tabs/TabAction.styled.mjs +1 -1
  174. package/dist/esm/components/Tabs/TabActions.styled.mjs +1 -1
  175. package/dist/esm/components/Tabs/TabContent.mjs +1 -1
  176. package/dist/esm/components/Tabs/TabItem.mjs +1 -1
  177. package/dist/esm/components/Tabs/TabItems.styled.mjs +1 -1
  178. package/dist/esm/components/Tabs/Tabs.styled.mjs +1 -1
  179. package/dist/esm/components/Tooltip/Tooltip.types.mjs.map +1 -1
  180. package/dist/esm/components/VisuallyHidden/VisuallyHidden.mjs +1 -1
  181. package/dist/esm/foundation/FoundationStyledComponent.mjs +16 -1
  182. package/dist/esm/foundation/FoundationStyledComponent.mjs.map +1 -1
  183. package/dist/esm/node_modules/@radix-ui/number/dist/{index.module.mjs → index.mjs} +1 -1
  184. package/dist/esm/node_modules/@radix-ui/number/dist/index.mjs.map +1 -0
  185. package/dist/esm/node_modules/@radix-ui/primitive/dist/{index.module.mjs → index.mjs} +1 -1
  186. package/dist/esm/node_modules/@radix-ui/primitive/dist/index.mjs.map +1 -0
  187. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/{index.module.mjs → index.mjs} +9 -9
  188. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.mjs.map +1 -0
  189. package/dist/esm/node_modules/@radix-ui/react-collection/dist/{index.module.mjs → index.mjs} +4 -4
  190. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.mjs.map +1 -0
  191. package/dist/esm/node_modules/@radix-ui/react-compose-refs/dist/{index.module.mjs → index.mjs} +1 -1
  192. package/dist/esm/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +1 -0
  193. package/dist/esm/node_modules/@radix-ui/react-context/dist/{index.module.mjs → index.mjs} +1 -1
  194. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.mjs.map +1 -0
  195. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/{index.module.mjs → index.mjs} +24 -18
  196. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/{index.module.mjs.map → index.mjs.map} +1 -1
  197. package/dist/esm/node_modules/@radix-ui/react-direction/dist/{index.module.mjs → index.mjs} +1 -1
  198. package/dist/esm/node_modules/@radix-ui/react-direction/dist/index.mjs.map +1 -0
  199. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/{index.module.mjs → index.mjs} +6 -6
  200. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +1 -0
  201. package/dist/esm/node_modules/@radix-ui/react-focus-guards/dist/{index.module.mjs → index.mjs} +1 -1
  202. package/dist/esm/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +1 -0
  203. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/{index.module.mjs → index.mjs} +33 -5
  204. package/dist/{cjs/node_modules/@radix-ui/react-radio-group/dist/index.module.js.map → esm/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map} +1 -1
  205. package/dist/esm/node_modules/@radix-ui/react-id/dist/{index.module.mjs → index.mjs} +2 -2
  206. package/dist/esm/node_modules/@radix-ui/react-id/dist/index.mjs.map +1 -0
  207. package/dist/esm/node_modules/@radix-ui/react-portal/dist/{index.module.mjs → index.mjs} +2 -2
  208. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.mjs.map +1 -0
  209. package/dist/esm/node_modules/@radix-ui/react-presence/dist/{index.module.mjs → index.mjs} +3 -3
  210. package/dist/esm/node_modules/@radix-ui/react-presence/dist/index.mjs.map +1 -0
  211. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/{index.module.mjs → index.mjs} +2 -2
  212. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +1 -0
  213. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/{index.module.mjs → index.mjs} +10 -10
  214. package/dist/esm/node_modules/@radix-ui/{react-dismissable-layer/dist/index.module.mjs.map → react-radio-group/dist/index.mjs.map} +1 -1
  215. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/{index.module.mjs → index.mjs} +10 -10
  216. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +1 -0
  217. package/dist/esm/node_modules/@radix-ui/react-separator/dist/{index.module.mjs → index.mjs} +2 -2
  218. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.mjs.map +1 -0
  219. package/dist/esm/node_modules/@radix-ui/react-slider/dist/{index.module.mjs → index.mjs} +13 -12
  220. package/dist/esm/node_modules/@radix-ui/react-slider/dist/{index.module.mjs.map → index.mjs.map} +1 -1
  221. package/dist/esm/node_modules/@radix-ui/react-slot/dist/{index.module.mjs → index.mjs} +3 -3
  222. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.mjs.map +1 -0
  223. package/dist/esm/node_modules/@radix-ui/react-switch/dist/{index.module.mjs → index.mjs} +8 -8
  224. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.mjs.map +1 -0
  225. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/{index.module.mjs → index.mjs} +9 -9
  226. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +1 -0
  227. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/{index.module.mjs → index.mjs} +3 -3
  228. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.map +1 -0
  229. package/dist/esm/node_modules/@radix-ui/react-toolbar/dist/{index.module.mjs → index.mjs} +7 -7
  230. package/dist/esm/node_modules/@radix-ui/react-toolbar/dist/index.mjs.map +1 -0
  231. package/dist/esm/node_modules/@radix-ui/react-use-callback-ref/dist/{index.module.mjs → index.mjs} +1 -1
  232. package/dist/esm/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +1 -0
  233. package/dist/esm/node_modules/@radix-ui/react-use-controllable-state/dist/{index.module.mjs → index.mjs} +2 -2
  234. package/dist/esm/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +1 -0
  235. package/dist/esm/node_modules/@radix-ui/react-use-escape-keydown/dist/{index.module.mjs → index.mjs} +2 -2
  236. package/dist/esm/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +1 -0
  237. package/dist/esm/node_modules/@radix-ui/react-use-layout-effect/dist/{index.module.mjs → index.mjs} +1 -1
  238. package/dist/esm/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +1 -0
  239. package/dist/esm/node_modules/@radix-ui/react-use-previous/dist/{index.module.mjs → index.mjs} +1 -1
  240. package/dist/esm/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +1 -0
  241. package/dist/esm/node_modules/@radix-ui/react-use-size/dist/{index.module.mjs → index.mjs} +2 -2
  242. package/dist/esm/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +1 -0
  243. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/{index.module.mjs → index.mjs} +2 -2
  244. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +1 -0
  245. package/dist/esm/node_modules/lodash/_Symbol.mjs +10 -0
  246. package/dist/esm/node_modules/lodash/_Symbol.mjs.map +1 -0
  247. package/dist/esm/node_modules/lodash/_baseGetTag.mjs +32 -0
  248. package/dist/esm/node_modules/lodash/_baseGetTag.mjs.map +1 -0
  249. package/dist/esm/node_modules/lodash/_baseTrim.mjs +21 -0
  250. package/dist/esm/node_modules/lodash/_baseTrim.mjs.map +1 -0
  251. package/dist/esm/node_modules/lodash/_freeGlobal.mjs +8 -0
  252. package/dist/esm/node_modules/lodash/_freeGlobal.mjs.map +1 -0
  253. package/dist/esm/node_modules/lodash/_getRawTag.mjs +48 -0
  254. package/dist/esm/node_modules/lodash/_getRawTag.mjs.map +1 -0
  255. package/dist/esm/node_modules/lodash/_objectToString.mjs +24 -0
  256. package/dist/esm/node_modules/lodash/_objectToString.mjs.map +1 -0
  257. package/dist/esm/node_modules/lodash/_root.mjs +13 -0
  258. package/dist/esm/node_modules/lodash/_root.mjs.map +1 -0
  259. package/dist/esm/node_modules/lodash/_trimmedEndIndex.mjs +20 -0
  260. package/dist/esm/node_modules/lodash/_trimmedEndIndex.mjs.map +1 -0
  261. package/dist/esm/node_modules/lodash/debounce.mjs +182 -0
  262. package/dist/esm/node_modules/lodash/debounce.mjs.map +1 -0
  263. package/dist/esm/node_modules/lodash/isObject.mjs +33 -0
  264. package/dist/esm/node_modules/lodash/isObject.mjs.map +1 -0
  265. package/dist/esm/node_modules/lodash/isObjectLike.mjs +31 -0
  266. package/dist/esm/node_modules/lodash/isObjectLike.mjs.map +1 -0
  267. package/dist/esm/node_modules/lodash/isSymbol.mjs +33 -0
  268. package/dist/esm/node_modules/lodash/isSymbol.mjs.map +1 -0
  269. package/dist/esm/node_modules/lodash/now.mjs +27 -0
  270. package/dist/esm/node_modules/lodash/now.mjs.map +1 -0
  271. package/dist/esm/node_modules/lodash/throttle.mjs +75 -0
  272. package/dist/esm/node_modules/lodash/throttle.mjs.map +1 -0
  273. package/dist/esm/node_modules/lodash/toNumber.mjs +68 -0
  274. package/dist/esm/node_modules/lodash/toNumber.mjs.map +1 -0
  275. package/dist/esm/node_modules/react-resize-detector/build/index.esm.mjs +154 -651
  276. package/dist/esm/node_modules/react-resize-detector/build/index.esm.mjs.map +1 -1
  277. package/dist/esm/node_modules/ssr-window/ssr-window.esm.mjs +37 -43
  278. package/dist/esm/node_modules/ssr-window/ssr-window.esm.mjs.map +1 -1
  279. package/dist/types/components/Banner/Banner.styled.d.ts +1 -1
  280. package/dist/types/components/Forms/Checkbox/Checkbox.d.ts +2 -2
  281. package/dist/types/components/Forms/Checkbox/Checkbox.d.ts.map +1 -1
  282. package/dist/types/components/Forms/FormControl/__mocks__/forms.d.ts +4 -4
  283. package/dist/types/components/Forms/FormControl/__mocks__/forms.d.ts.map +1 -1
  284. package/dist/types/components/Forms/RadioGroup/Radio.d.ts +2 -2
  285. package/dist/types/components/Forms/RadioGroup/Radio.d.ts.map +1 -1
  286. package/dist/types/components/Forms/RadioGroup/RadioGroup.d.ts +2 -2
  287. package/dist/types/components/Forms/RadioGroup/RadioGroup.d.ts.map +1 -1
  288. package/dist/types/components/Forms/SegmentedControl/SegmentedControlIndicator.d.ts +2 -2
  289. package/dist/types/components/Help/Help.d.ts +2 -2
  290. package/dist/types/components/Help/Help.d.ts.map +1 -1
  291. package/dist/types/components/KeyValueListItem/common/ItemActions/ItemAction.styled.d.ts +1 -1
  292. package/dist/types/components/LegacyIcon/LegacyIcon.d.ts +1 -1
  293. package/dist/types/components/LegacyIcon/LegacyIcon.d.ts.map +1 -1
  294. package/dist/types/components/ListMenuTitle/ListMenuTitle.d.ts +2 -2
  295. package/dist/types/components/ListMenuTitle/ListMenuTitle.d.ts.map +1 -1
  296. package/dist/types/components/Modals/ConfirmModal/ConfirmModal.d.ts +2 -2
  297. package/dist/types/components/Modals/ConfirmModal/ConfirmModal.d.ts.map +1 -1
  298. package/dist/types/components/Modals/ConfirmModal/ConfirmModalHelpers.d.ts +3 -3
  299. package/dist/types/components/Modals/ConfirmModal/ConfirmModalHelpers.d.ts.map +1 -1
  300. package/dist/types/components/Modals/Modal/Modal.d.ts +2 -2
  301. package/dist/types/components/Modals/Modal/Modal.d.ts.map +1 -1
  302. package/dist/types/components/Modals/Modal/ModalHelpers.d.ts +3 -3
  303. package/dist/types/components/Modals/Modal/ModalHelpers.d.ts.map +1 -1
  304. package/dist/types/components/Navigator/NavGroup/NavGroup.d.ts +1 -1
  305. package/dist/types/components/Navigator/NavGroup/NavGroup.d.ts.map +1 -1
  306. package/dist/types/components/Navigator/NavItem/NavItem.d.ts +1 -1
  307. package/dist/types/components/Navigator/NavItem/NavItem.d.ts.map +1 -1
  308. package/dist/types/components/SectionLabel/SectionLabel.d.ts +2 -2
  309. package/dist/types/components/SectionLabel/SectionLabel.d.ts.map +1 -1
  310. package/dist/types/components/SectionLabel/SectionLabel.styled.d.ts +1 -1
  311. package/dist/types/components/SectionLabel/SectionLabel.types.d.ts +1 -1
  312. package/dist/types/components/SectionLabel/SectionLabel.types.d.ts.map +1 -1
  313. package/dist/types/components/Spinner/Spinner.d.ts +2 -2
  314. package/dist/types/components/Spinner/Spinner.d.ts.map +1 -1
  315. package/dist/types/components/TagBadge/TagBadgeCommon/TagBadgeText/TagBadgeText.d.ts +2 -2
  316. package/dist/types/components/TagBadge/TagBadgeCommon/TagBadgeText/TagBadgeText.d.ts.map +1 -1
  317. package/dist/types/components/Toast/ToastContainer.d.ts +1 -1
  318. package/dist/types/components/Toast/ToastController.d.ts +1 -1
  319. package/dist/types/components/Toast/ToastController.d.ts.map +1 -1
  320. package/dist/types/components/Toast/ToastProvider.d.ts +2 -2
  321. package/dist/types/components/Toast/ToastProvider.d.ts.map +1 -1
  322. package/dist/types/components/Tooltip/Tooltip.types.d.ts +1 -1
  323. package/dist/types/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  324. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +2 -2
  325. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  326. package/dist/types/features/FeatureProvider.d.ts +1 -1
  327. package/dist/types/features/FeatureProvider.d.ts.map +1 -1
  328. package/dist/types/foundation/FoundationStyledComponent.d.ts +1 -1
  329. package/dist/types/foundation/FoundationStyledComponent.d.ts.map +1 -1
  330. package/dist/types/providers/BezierProvider.d.ts +1 -1
  331. package/dist/types/providers/BezierProvider.d.ts.map +1 -1
  332. package/package.json +38 -37
  333. package/src/components/SectionLabel/SectionLabel.types.ts +1 -1
  334. package/src/components/Tooltip/Tooltip.types.ts +1 -1
  335. package/src/foundation/FoundationStyledComponent.tsx +17 -1
  336. package/dist/cjs/node_modules/@radix-ui/number/dist/index.module.js.map +0 -1
  337. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.module.js.map +0 -1
  338. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.module.js.map +0 -1
  339. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.module.js.map +0 -1
  340. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +0 -1
  341. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.module.js.map +0 -1
  342. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.module.js.map +0 -1
  343. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +0 -1
  344. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +0 -1
  345. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.module.js.map +0 -1
  346. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.module.js.map +0 -1
  347. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.module.js.map +0 -1
  348. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +0 -1
  349. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.module.js.map +0 -1
  350. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.module.js.map +0 -1
  351. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.module.js.map +0 -1
  352. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.module.js.map +0 -1
  353. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.module.js.map +0 -1
  354. package/dist/cjs/node_modules/@radix-ui/react-toolbar/dist/index.module.js.map +0 -1
  355. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +0 -1
  356. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +0 -1
  357. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +0 -1
  358. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +0 -1
  359. package/dist/cjs/node_modules/@radix-ui/react-use-previous/dist/index.module.js.map +0 -1
  360. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.module.js.map +0 -1
  361. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.module.js.map +0 -1
  362. package/dist/esm/node_modules/@radix-ui/number/dist/index.module.mjs.map +0 -1
  363. package/dist/esm/node_modules/@radix-ui/primitive/dist/index.module.mjs.map +0 -1
  364. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.module.mjs.map +0 -1
  365. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.module.mjs.map +0 -1
  366. package/dist/esm/node_modules/@radix-ui/react-compose-refs/dist/index.module.mjs.map +0 -1
  367. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.module.mjs.map +0 -1
  368. package/dist/esm/node_modules/@radix-ui/react-direction/dist/index.module.mjs.map +0 -1
  369. package/dist/esm/node_modules/@radix-ui/react-focus-guards/dist/index.module.mjs.map +0 -1
  370. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/index.module.mjs.map +0 -1
  371. package/dist/esm/node_modules/@radix-ui/react-id/dist/index.module.mjs.map +0 -1
  372. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.module.mjs.map +0 -1
  373. package/dist/esm/node_modules/@radix-ui/react-presence/dist/index.module.mjs.map +0 -1
  374. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.module.mjs.map +0 -1
  375. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/index.module.mjs.map +0 -1
  376. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.module.mjs.map +0 -1
  377. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.module.mjs.map +0 -1
  378. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.module.mjs.map +0 -1
  379. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.module.mjs.map +0 -1
  380. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.module.mjs.map +0 -1
  381. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.module.mjs.map +0 -1
  382. package/dist/esm/node_modules/@radix-ui/react-toolbar/dist/index.module.mjs.map +0 -1
  383. package/dist/esm/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.mjs.map +0 -1
  384. package/dist/esm/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.mjs.map +0 -1
  385. package/dist/esm/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.mjs.map +0 -1
  386. package/dist/esm/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.mjs.map +0 -1
  387. package/dist/esm/node_modules/@radix-ui/react-use-previous/dist/index.module.mjs.map +0 -1
  388. package/dist/esm/node_modules/@radix-ui/react-use-size/dist/index.module.mjs.map +0 -1
  389. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.module.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.mjs","sources":["../../../../../../../node_modules/react-resize-detector/build/index.esm.js"],"sourcesContent":["import*as React from'react';import {cloneElement,isValidElement,createRef,PureComponent,Component,forwardRef,useRef,useState,useEffect,useLayoutEffect}from'react';import {findDOMNode}from'react-dom';/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\nfunction isObject$3(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nvar isObject_1 = isObject$3;/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\n\nvar _freeGlobal = freeGlobal$1;var freeGlobal = _freeGlobal;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root$2 = freeGlobal || freeSelf || Function('return this')();\n\nvar _root = root$2;var root$1 = _root;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now$1 = function() {\n return root$1.Date.now();\n};\n\nvar now_1 = now$1;/** Used to match a single whitespace character. */\n\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex$1(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nvar _trimmedEndIndex = trimmedEndIndex$1;var trimmedEndIndex = _trimmedEndIndex;\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim$1(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nvar _baseTrim = baseTrim$1;var root = _root;\n\n/** Built-in value references. */\nvar Symbol$2 = root.Symbol;\n\nvar _Symbol = Symbol$2;var Symbol$1 = _Symbol;\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto$1.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString$1 = objectProto$1.toString;\n\n/** Built-in value references. */\nvar symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag$1(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag$1),\n tag = value[symToStringTag$1];\n\n try {\n value[symToStringTag$1] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString$1.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag$1] = tag;\n } else {\n delete value[symToStringTag$1];\n }\n }\n return result;\n}\n\nvar _getRawTag = getRawTag$1;/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString$1(value) {\n return nativeObjectToString.call(value);\n}\n\nvar _objectToString = objectToString$1;var Symbol = _Symbol,\n getRawTag = _getRawTag,\n objectToString = _objectToString;\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag$1(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nvar _baseGetTag = baseGetTag$1;/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\nfunction isObjectLike$1(value) {\n return value != null && typeof value == 'object';\n}\n\nvar isObjectLike_1 = isObjectLike$1;var baseGetTag = _baseGetTag,\n isObjectLike = isObjectLike_1;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol$1(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nvar isSymbol_1 = isSymbol$1;var baseTrim = _baseTrim,\n isObject$2 = isObject_1,\n isSymbol = isSymbol_1;\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber$1(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject$2(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject$2(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nvar toNumber_1 = toNumber$1;var isObject$1 = isObject_1,\n now = now_1,\n toNumber = toNumber_1;\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT$1 = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce$1(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT$1);\n }\n wait = toNumber(wait) || 0;\n if (isObject$1(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nvar debounce_1 = debounce$1;var debounce = debounce_1,\n isObject = isObject_1;\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nvar throttle_1 = throttle;var patchResizeHandler = function (resizeCallback, refreshMode, refreshRate, refreshOptions) {\r\n switch (refreshMode) {\r\n case 'debounce':\r\n return debounce_1(resizeCallback, refreshRate, refreshOptions);\r\n case 'throttle':\r\n return throttle_1(resizeCallback, refreshRate, refreshOptions);\r\n default:\r\n return resizeCallback;\r\n }\r\n};\r\nvar isFunction = function (fn) { return typeof fn === 'function'; };\r\nvar isSSR = function () { return typeof window === 'undefined'; };\r\nvar isDOMElement = function (element) { return element instanceof Element || element instanceof HTMLDocument; };\r\nvar createNotifier = function (onResize, setSize, handleWidth, handleHeight) {\r\n return function (_a) {\r\n var width = _a.width, height = _a.height;\r\n setSize(function (prev) {\r\n if (prev.width === width && prev.height === height) {\r\n // skip if dimensions haven't changed\r\n return prev;\r\n }\r\n if ((prev.width === width && !handleHeight) || (prev.height === height && !handleWidth)) {\r\n // process `handleHeight/handleWidth` props\r\n return prev;\r\n }\r\n if (onResize && isFunction(onResize)) {\r\n onResize(width, height);\r\n }\r\n return { width: width, height: height };\r\n });\r\n };\r\n};var ResizeDetector = /** @class */ (function (_super) {\r\n __extends(ResizeDetector, _super);\r\n function ResizeDetector(props) {\r\n var _this = _super.call(this, props) || this;\r\n _this.cancelHandler = function () {\r\n if (_this.resizeHandler && _this.resizeHandler.cancel) {\r\n // cancel debounced handler\r\n _this.resizeHandler.cancel();\r\n _this.resizeHandler = null;\r\n }\r\n };\r\n _this.attachObserver = function () {\r\n var _a = _this.props, targetRef = _a.targetRef, observerOptions = _a.observerOptions;\r\n if (isSSR()) {\r\n return;\r\n }\r\n if (targetRef && targetRef.current) {\r\n _this.targetRef.current = targetRef.current;\r\n }\r\n var element = _this.getElement();\r\n if (!element) {\r\n // can't find element to observe\r\n return;\r\n }\r\n if (_this.observableElement && _this.observableElement === element) {\r\n // element is already observed\r\n return;\r\n }\r\n _this.observableElement = element;\r\n _this.resizeObserver.observe(element, observerOptions);\r\n };\r\n _this.getElement = function () {\r\n var _a = _this.props, querySelector = _a.querySelector, targetDomEl = _a.targetDomEl;\r\n if (isSSR())\r\n return null;\r\n // in case we pass a querySelector\r\n if (querySelector)\r\n return document.querySelector(querySelector);\r\n // in case we pass a DOM element\r\n if (targetDomEl && isDOMElement(targetDomEl))\r\n return targetDomEl;\r\n // in case we pass a React ref using React.createRef()\r\n if (_this.targetRef && isDOMElement(_this.targetRef.current))\r\n return _this.targetRef.current;\r\n // the worse case when we don't receive any information from the parent and the library doesn't add any wrappers\r\n // we have to use a deprecated `findDOMNode` method in order to find a DOM element to attach to\r\n var currentElement = findDOMNode(_this);\r\n if (!currentElement)\r\n return null;\r\n var renderType = _this.getRenderType();\r\n switch (renderType) {\r\n case 'renderProp':\r\n return currentElement;\r\n case 'childFunction':\r\n return currentElement;\r\n case 'child':\r\n return currentElement;\r\n case 'childArray':\r\n return currentElement;\r\n default:\r\n return currentElement.parentElement;\r\n }\r\n };\r\n _this.createResizeHandler = function (entries) {\r\n var _a = _this.props, _b = _a.handleWidth, handleWidth = _b === void 0 ? true : _b, _c = _a.handleHeight, handleHeight = _c === void 0 ? true : _c, onResize = _a.onResize;\r\n if (!handleWidth && !handleHeight)\r\n return;\r\n var notifyResize = createNotifier(onResize, _this.setState.bind(_this), handleWidth, handleHeight);\r\n entries.forEach(function (entry) {\r\n var _a = (entry && entry.contentRect) || {}, width = _a.width, height = _a.height;\r\n var shouldSetSize = !_this.skipOnMount && !isSSR();\r\n if (shouldSetSize) {\r\n notifyResize({ width: width, height: height });\r\n }\r\n _this.skipOnMount = false;\r\n });\r\n };\r\n _this.getRenderType = function () {\r\n var _a = _this.props, render = _a.render, children = _a.children;\r\n if (isFunction(render)) {\r\n // DEPRECATED. Use `Child Function Pattern` instead\r\n return 'renderProp';\r\n }\r\n if (isFunction(children)) {\r\n return 'childFunction';\r\n }\r\n if (isValidElement(children)) {\r\n return 'child';\r\n }\r\n if (Array.isArray(children)) {\r\n // DEPRECATED. Wrap children with a single parent\r\n return 'childArray';\r\n }\r\n // DEPRECATED. Use `Child Function Pattern` instead\r\n return 'parent';\r\n };\r\n var skipOnMount = props.skipOnMount, refreshMode = props.refreshMode, _a = props.refreshRate, refreshRate = _a === void 0 ? 1000 : _a, refreshOptions = props.refreshOptions;\r\n _this.state = {\r\n width: undefined,\r\n height: undefined\r\n };\r\n _this.skipOnMount = skipOnMount;\r\n _this.targetRef = createRef();\r\n _this.observableElement = null;\r\n if (isSSR()) {\r\n return _this;\r\n }\r\n _this.resizeHandler = patchResizeHandler(_this.createResizeHandler, refreshMode, refreshRate, refreshOptions);\r\n _this.resizeObserver = new window.ResizeObserver(_this.resizeHandler);\r\n return _this;\r\n }\r\n ResizeDetector.prototype.componentDidMount = function () {\r\n this.attachObserver();\r\n };\r\n ResizeDetector.prototype.componentDidUpdate = function () {\r\n this.attachObserver();\r\n };\r\n ResizeDetector.prototype.componentWillUnmount = function () {\r\n if (isSSR()) {\r\n return;\r\n }\r\n this.observableElement = null;\r\n this.resizeObserver.disconnect();\r\n this.cancelHandler();\r\n };\r\n ResizeDetector.prototype.render = function () {\r\n var _a = this.props, render = _a.render, children = _a.children, _b = _a.nodeType, WrapperTag = _b === void 0 ? 'div' : _b;\r\n var _c = this.state, width = _c.width, height = _c.height;\r\n var childProps = { width: width, height: height, targetRef: this.targetRef };\r\n var renderType = this.getRenderType();\r\n var typedChildren;\r\n switch (renderType) {\r\n case 'renderProp':\r\n return render && render(childProps);\r\n case 'childFunction':\r\n typedChildren = children;\r\n return typedChildren(childProps);\r\n case 'child':\r\n // @TODO bug prone logic\r\n typedChildren = children;\r\n if (typedChildren.type && typeof typedChildren.type === 'string') {\r\n // child is a native DOM elements such as div, span etc\r\n childProps.targetRef; var nativeProps = __rest(childProps, [\"targetRef\"]);\r\n return cloneElement(typedChildren, nativeProps);\r\n }\r\n // class or functional component otherwise\r\n return cloneElement(typedChildren, childProps);\r\n case 'childArray':\r\n typedChildren = children;\r\n return typedChildren.map(function (el) { return !!el && cloneElement(el, childProps); });\r\n default:\r\n return React.createElement(WrapperTag, null);\r\n }\r\n };\r\n return ResizeDetector;\r\n}(PureComponent));function withResizeDetector(ComponentInner, options) {\r\n if (options === void 0) { options = {}; }\r\n var ResizeDetectorHOC = /** @class */ (function (_super) {\r\n __extends(ResizeDetectorHOC, _super);\r\n function ResizeDetectorHOC() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.ref = createRef();\r\n return _this;\r\n }\r\n ResizeDetectorHOC.prototype.render = function () {\r\n var _a = this.props, forwardedRef = _a.forwardedRef, rest = __rest(_a, [\"forwardedRef\"]);\r\n var targetRef = forwardedRef !== null && forwardedRef !== void 0 ? forwardedRef : this.ref;\r\n return (React.createElement(ResizeDetector, __assign({}, options, { targetRef: targetRef }),\r\n React.createElement(ComponentInner, __assign({ targetRef: targetRef }, rest))));\r\n };\r\n return ResizeDetectorHOC;\r\n }(Component));\r\n function forwardRefWrapper(props, ref) {\r\n return React.createElement(ResizeDetectorHOC, __assign({}, props, { forwardedRef: ref }));\r\n }\r\n var name = ComponentInner.displayName || ComponentInner.name;\r\n forwardRefWrapper.displayName = \"withResizeDetector(\".concat(name, \")\");\r\n return forwardRef(forwardRefWrapper);\r\n}var useEnhancedEffect = isSSR() ? useEffect : useLayoutEffect;\r\nfunction useResizeDetector(props) {\r\n if (props === void 0) { props = {}; }\r\n var _a = props.skipOnMount, skipOnMount = _a === void 0 ? false : _a, refreshMode = props.refreshMode, _b = props.refreshRate, refreshRate = _b === void 0 ? 1000 : _b, refreshOptions = props.refreshOptions, _c = props.handleWidth, handleWidth = _c === void 0 ? true : _c, _d = props.handleHeight, handleHeight = _d === void 0 ? true : _d, targetRef = props.targetRef, observerOptions = props.observerOptions, onResize = props.onResize;\r\n var skipResize = useRef(skipOnMount);\r\n var localRef = useRef(null);\r\n var ref = (targetRef !== null && targetRef !== void 0 ? targetRef : localRef);\r\n var resizeHandler = useRef();\r\n var _e = useState({\r\n width: undefined,\r\n height: undefined\r\n }), size = _e[0], setSize = _e[1];\r\n useEnhancedEffect(function () {\r\n if (isSSR()) {\r\n return;\r\n }\r\n var notifyResize = createNotifier(onResize, setSize, handleWidth, handleHeight);\r\n var resizeCallback = function (entries) {\r\n if (!handleWidth && !handleHeight)\r\n return;\r\n entries.forEach(function (entry) {\r\n var _a = (entry && entry.contentRect) || {}, width = _a.width, height = _a.height;\r\n var shouldSetSize = !skipResize.current && !isSSR();\r\n if (shouldSetSize) {\r\n notifyResize({ width: width, height: height });\r\n }\r\n skipResize.current = false;\r\n });\r\n };\r\n resizeHandler.current = patchResizeHandler(resizeCallback, refreshMode, refreshRate, refreshOptions);\r\n var resizeObserver = new window.ResizeObserver(resizeHandler.current);\r\n if (ref.current) {\r\n // Something wrong with typings here...\r\n resizeObserver.observe(ref.current, observerOptions);\r\n }\r\n return function () {\r\n resizeObserver.disconnect();\r\n var patchedResizeHandler = resizeHandler.current;\r\n if (patchedResizeHandler && patchedResizeHandler.cancel) {\r\n patchedResizeHandler.cancel();\r\n }\r\n };\r\n }, [refreshMode, refreshRate, refreshOptions, handleWidth, handleHeight, onResize, observerOptions, ref.current]);\r\n return __assign({ ref: ref }, size);\r\n}export{ResizeDetector as default,useResizeDetector,withResizeDetector};//# sourceMappingURL=index.esm.js.map\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","commonjsGlobal","globalThis","window","global","self"],"mappings":";;;;AAcA;;AAEA,IAAIA,aAAa,GAAG,UAASC,CAAC,EAAEC,CAAC,EAAE;AAC/BF,EAAAA,aAAa,GAAGG,MAAM,CAACC,cAAc,IAChC;AAAEC,IAAAA,SAAS,EAAE,EAAA;AAAE,GAAE,YAAYC,KAAK,IAAI,UAAUL,CAAC,EAAEC,CAAC,EAAE;IAAED,CAAC,CAACI,SAAS,GAAGH,CAAC,CAAA;AAAC,GAAG,IAC5E,UAAUD,CAAC,EAAEC,CAAC,EAAE;IAAE,KAAK,IAAIK,CAAC,IAAIL,CAAC,EAAE,IAAIC,MAAM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js"],"sourcesContent":["import React,{cloneElement,isValidElement,createRef,PureComponent,Component,forwardRef,useRef,useState,useCallback,useEffect}from'react';import {findDOMNode}from'react-dom';import debounce from'lodash/debounce';import throttle from'lodash/throttle';/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}var patchResizeCallback = function (resizeCallback, refreshMode, refreshRate, refreshOptions) {\n switch (refreshMode) {\n case 'debounce':\n return debounce(resizeCallback, refreshRate, refreshOptions);\n case 'throttle':\n return throttle(resizeCallback, refreshRate, refreshOptions);\n default:\n return resizeCallback;\n }\n};\nvar isFunction = function (fn) { return typeof fn === 'function'; };\nvar isSSR = function () { return typeof window === 'undefined'; };\nvar isDOMElement = function (element) {\n return element instanceof Element || element instanceof HTMLDocument;\n};var ResizeDetector = /** @class */ (function (_super) {\n __extends(ResizeDetector, _super);\n function ResizeDetector(props) {\n var _this = _super.call(this, props) || this;\n _this.cancelHandler = function () {\n if (_this.resizeHandler && _this.resizeHandler.cancel) {\n // cancel debounced handler\n _this.resizeHandler.cancel();\n _this.resizeHandler = null;\n }\n };\n _this.attachObserver = function () {\n var _a = _this.props, targetRef = _a.targetRef, observerOptions = _a.observerOptions;\n if (isSSR()) {\n return;\n }\n if (targetRef && targetRef.current) {\n _this.targetRef.current = targetRef.current;\n }\n var element = _this.getElement();\n if (!element) {\n // can't find element to observe\n return;\n }\n if (_this.observableElement && _this.observableElement === element) {\n // element is already observed\n return;\n }\n _this.observableElement = element;\n _this.resizeObserver.observe(element, observerOptions);\n };\n _this.getElement = function () {\n var _a = _this.props, querySelector = _a.querySelector, targetDomEl = _a.targetDomEl;\n if (isSSR())\n return null;\n // in case we pass a querySelector\n if (querySelector)\n return document.querySelector(querySelector);\n // in case we pass a DOM element\n if (targetDomEl && isDOMElement(targetDomEl))\n return targetDomEl;\n // in case we pass a React ref using React.createRef()\n if (_this.targetRef && isDOMElement(_this.targetRef.current))\n return _this.targetRef.current;\n // the worse case when we don't receive any information from the parent and the library doesn't add any wrappers\n // we have to use a deprecated `findDOMNode` method in order to find a DOM element to attach to\n var currentElement = findDOMNode(_this);\n if (!currentElement)\n return null;\n var renderType = _this.getRenderType();\n switch (renderType) {\n case 'renderProp':\n return currentElement;\n case 'childFunction':\n return currentElement;\n case 'child':\n return currentElement;\n case 'childArray':\n return currentElement;\n default:\n return currentElement.parentElement;\n }\n };\n _this.createResizeHandler = function (entries) {\n var _a = _this.props, _b = _a.handleWidth, handleWidth = _b === void 0 ? true : _b, _c = _a.handleHeight, handleHeight = _c === void 0 ? true : _c, onResize = _a.onResize;\n if (!handleWidth && !handleHeight)\n return;\n var notifyResize = function (_a) {\n var width = _a.width, height = _a.height;\n if (_this.state.width === width && _this.state.height === height) {\n // skip if dimensions haven't changed\n return;\n }\n if ((_this.state.width === width && !handleHeight) || (_this.state.height === height && !handleWidth)) {\n // process `handleHeight/handleWidth` props\n return;\n }\n onResize === null || onResize === void 0 ? void 0 : onResize(width, height);\n _this.setState({ width: width, height: height });\n };\n entries.forEach(function (entry) {\n var _a = (entry && entry.contentRect) || {}, width = _a.width, height = _a.height;\n var shouldSetSize = !_this.skipOnMount && !isSSR();\n if (shouldSetSize) {\n notifyResize({ width: width, height: height });\n }\n _this.skipOnMount = false;\n });\n };\n _this.getRenderType = function () {\n var _a = _this.props, render = _a.render, children = _a.children;\n if (isFunction(render)) {\n // DEPRECATED. Use `Child Function Pattern` instead\n return 'renderProp';\n }\n if (isFunction(children)) {\n return 'childFunction';\n }\n if (isValidElement(children)) {\n return 'child';\n }\n if (Array.isArray(children)) {\n // DEPRECATED. Wrap children with a single parent\n return 'childArray';\n }\n // DEPRECATED. Use `Child Function Pattern` instead\n return 'parent';\n };\n var skipOnMount = props.skipOnMount, refreshMode = props.refreshMode, _a = props.refreshRate, refreshRate = _a === void 0 ? 1000 : _a, refreshOptions = props.refreshOptions;\n _this.state = {\n width: undefined,\n height: undefined\n };\n _this.sizeRef = {\n current: _this.state\n };\n _this.skipOnMount = skipOnMount;\n _this.targetRef = createRef();\n _this.observableElement = null;\n if (isSSR()) {\n return _this;\n }\n _this.resizeHandler = patchResizeCallback(_this.createResizeHandler, refreshMode, refreshRate, refreshOptions);\n _this.resizeObserver = new window.ResizeObserver(_this.resizeHandler);\n return _this;\n }\n ResizeDetector.prototype.componentDidMount = function () {\n this.attachObserver();\n };\n ResizeDetector.prototype.componentDidUpdate = function () {\n this.attachObserver();\n this.sizeRef.current = this.state;\n };\n ResizeDetector.prototype.componentWillUnmount = function () {\n if (isSSR()) {\n return;\n }\n this.observableElement = null;\n this.resizeObserver.disconnect();\n this.cancelHandler();\n };\n ResizeDetector.prototype.render = function () {\n var _a = this.props, render = _a.render, children = _a.children, _b = _a.nodeType, WrapperTag = _b === void 0 ? 'div' : _b;\n var _c = this.state, width = _c.width, height = _c.height;\n var childProps = { width: width, height: height, targetRef: this.targetRef };\n var renderType = this.getRenderType();\n switch (renderType) {\n case 'renderProp':\n return render === null || render === void 0 ? void 0 : render(childProps);\n case 'childFunction': {\n var childFunction = children;\n return childFunction === null || childFunction === void 0 ? void 0 : childFunction(childProps);\n }\n case 'child': {\n // @TODO bug prone logic\n var child = children;\n if (child.type && typeof child.type === 'string') {\n // child is a native DOM elements such as div, span etc\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n childProps.targetRef; var nativeProps = __rest(childProps, [\"targetRef\"]);\n return cloneElement(child, nativeProps);\n }\n // class or functional component otherwise\n return cloneElement(child, childProps);\n }\n case 'childArray': {\n var childArray = children;\n return childArray.map(function (el) { return !!el && cloneElement(el, childProps); });\n }\n default:\n return React.createElement(WrapperTag, null);\n }\n };\n return ResizeDetector;\n}(PureComponent));function withResizeDetector(ComponentInner, options) {\n if (options === void 0) { options = {}; }\n var ResizeDetectorHOC = /** @class */ (function (_super) {\n __extends(ResizeDetectorHOC, _super);\n function ResizeDetectorHOC() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.ref = createRef();\n return _this;\n }\n ResizeDetectorHOC.prototype.render = function () {\n var _a = this.props, forwardedRef = _a.forwardedRef, rest = __rest(_a, [\"forwardedRef\"]);\n var targetRef = forwardedRef !== null && forwardedRef !== void 0 ? forwardedRef : this.ref;\n return (React.createElement(ResizeDetector, __assign({}, options, { targetRef: targetRef }),\n React.createElement(ComponentInner, __assign({ targetRef: targetRef }, rest))));\n };\n return ResizeDetectorHOC;\n }(Component));\n function forwardRefWrapper(props, ref) {\n return React.createElement(ResizeDetectorHOC, __assign({}, props, { forwardedRef: ref }));\n }\n var name = ComponentInner.displayName || ComponentInner.name;\n forwardRefWrapper.displayName = \"withResizeDetector(\".concat(name, \")\");\n return forwardRef(forwardRefWrapper);\n}function useResizeDetector(_a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.skipOnMount, skipOnMount = _c === void 0 ? false : _c, refreshMode = _b.refreshMode, _d = _b.refreshRate, refreshRate = _d === void 0 ? 1000 : _d, refreshOptions = _b.refreshOptions, _e = _b.handleWidth, handleWidth = _e === void 0 ? true : _e, _f = _b.handleHeight, handleHeight = _f === void 0 ? true : _f, targetRef = _b.targetRef, observerOptions = _b.observerOptions, onResize = _b.onResize;\n var skipResize = useRef(skipOnMount);\n var _g = useState({\n width: undefined,\n height: undefined\n }), size = _g[0], setSize = _g[1];\n // we are going to use this ref to store the last element that was passed to the hook\n var _h = useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null), refElement = _h[0], setRefElement = _h[1];\n // if targetRef is passed, we need to update the refElement\n // we have to use setTimeout because ref get assigned after the hook is called\n // in the future releases we are going to remove targetRef and force users to use ref returned by the hook\n if (targetRef) {\n setTimeout(function () {\n if (targetRef.current !== refElement) {\n setRefElement(targetRef.current);\n }\n }, 0);\n }\n // this is a callback that will be called every time the ref is changed\n // we call setState inside to trigger rerender\n var onRefChange = useCallback(function (node) {\n if (node !== refElement) {\n setRefElement(node);\n }\n }, [refElement]);\n // adding `current` to make it compatible with useRef shape\n onRefChange.current = refElement;\n useEffect(function () {\n return function () {\n // component is unmounted\n // clear ref to avoid memory leaks\n setRefElement(null);\n onRefChange.current = null;\n };\n }, []);\n var shouldSetSize = useCallback(function (prevSize, nextSize) {\n if (prevSize.width === nextSize.width && prevSize.height === nextSize.height) {\n // skip if dimensions haven't changed\n return false;\n }\n if ((prevSize.width === nextSize.width && !handleHeight) ||\n (prevSize.height === nextSize.height && !handleWidth)) {\n // process `handleHeight/handleWidth` props\n return false;\n }\n return true;\n }, [handleWidth, handleHeight]);\n var resizeCallback = useCallback(function (entries) {\n if (!handleWidth && !handleHeight)\n return;\n if (skipResize.current) {\n skipResize.current = false;\n return;\n }\n entries.forEach(function (entry) {\n var _a = (entry === null || entry === void 0 ? void 0 : entry.contentRect) || {}, width = _a.width, height = _a.height;\n setSize(function (prevSize) {\n if (!shouldSetSize(prevSize, { width: width, height: height }))\n return prevSize;\n return { width: width, height: height };\n });\n });\n }, [handleWidth, handleHeight, skipResize, shouldSetSize]);\n var resizeHandler = useCallback(patchResizeCallback(resizeCallback, refreshMode, refreshRate, refreshOptions), [\n resizeCallback,\n refreshMode,\n refreshRate,\n refreshOptions\n ]);\n // on refElement change\n useEffect(function () {\n var resizeObserver;\n if (refElement) {\n resizeObserver = new window.ResizeObserver(resizeHandler);\n resizeObserver.observe(refElement, observerOptions);\n }\n else {\n if (size.width || size.height) {\n setSize({ width: undefined, height: undefined });\n }\n }\n return function () {\n var _a, _b, _c;\n (_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.disconnect) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);\n (_c = (_b = resizeHandler).cancel) === null || _c === void 0 ? void 0 : _c.call(_b);\n };\n }, [resizeHandler, refElement]);\n useEffect(function () {\n onResize === null || onResize === void 0 ? void 0 : onResize(size.width, size.height);\n }, [size]);\n return __assign({ ref: onRefChange }, size);\n}export{ResizeDetector as default,useResizeDetector,withResizeDetector};//# sourceMappingURL=index.esm.js.map\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","constructor","prototype","create","__assign","assign","t","s","i","n","arguments","length","call","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable"],"mappings":";;;;;AAcA;;AAEA,IAAIA,aAAa,GAAG,UAASC,CAAC,EAAEC,CAAC,EAAE;AAC/BF,EAAAA,aAAa,GAAGG,MAAM,CAACC,cAAc,IAChC;AAAEC,IAAAA,SAAS,EAAE,EAAA;AAAE,GAAE,YAAYC,KAAK,IAAI,UAAUL,CAAC,EAAEC,CAAC,EAAE;IAAED,CAAC,CAACI,SAAS,GAAGH,CAAC,CAAA;AAAC,GAAG,IAC5E,UAAUD,CAAC,EAAEC,CAAC,EAAE;IAAE,KAAK,IAAIK,CAAC,IAAIL,CAAC,EAAE,IAAIA,CAAC,CAACM,cAAc,CAACD,CAAC,CAAC,EAAEN,CAAC,CAACM,CAAC,CAAC,GAAGL,CAAC,CAACK,CAAC,CAAC,CAAA;GAAG,CAAA;AAC9E,EAAA,OAAOP,aAAa,CAACC,CAAC,EAAEC,CAAC,CAAC,CAAA;AAC9B,CAAC,CAAA;AAEM,SAASO,SAASA,CAACR,CAAC,EAAEC,CAAC,EAAE;AAC5BF,EAAAA,aAAa,CAACC,CAAC,EAAEC,CAAC,CAAC,CAAA;EACnB,SAASQ,EAAEA,GAAG;IAAE,IAAI,CAACC,WAAW,GAAGV,CAAC,CAAA;AAAC,GAAA;EACrCA,CAAC,CAACW,SAAS,GAAGV,CAAC,KAAK,IAAI,GAAGC,MAAM,CAACU,MAAM,CAACX,CAAC,CAAC,IAAIQ,EAAE,CAACE,SAAS,GAAGV,CAAC,CAACU,SAAS,EAAE,IAAIF,EAAE,EAAE,CAAC,CAAA;AACxF,CAAA;AAEO,IAAII,QAAQ,GAAG,YAAW;EAC7BA,QAAQ,GAAGX,MAAM,CAACY,MAAM,IAAI,SAASD,QAAQA,CAACE,CAAC,EAAE;AAC7C,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MAAM,CAACS,SAAS,CAACgB,oBAAoB,CAACN,IAAI,CAACL,CAAC,EAAEV,CAAC,CAACW,CAAC,CAAC,CAAC,EAC1EF,CAAC,CAACT,CAAC,CAACW,CAAC,CAAC,CAAC,GAAGD,CAAC,CAACV,CAAC,CAACW,CAAC,CAAC,CAAC,CAAA;AACjC,GAAA;AACI,EAAA,OAAOF,CAAC,CAAA;AACZ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,68 +1,62 @@
1
1
  /**
2
- * SSR Window 3.0.0
2
+ * SSR Window 4.0.2
3
3
  * Better handling for window object in SSR environment
4
4
  * https://github.com/nolimits4web/ssr-window
5
5
  *
6
- * Copyright 2020, Vladimir Kharlampidi
6
+ * Copyright 2021, Vladimir Kharlampidi
7
7
  *
8
8
  * Licensed under MIT
9
9
  *
10
- * Released on: November 9, 2020
10
+ * Released on: December 13, 2021
11
11
  */
12
12
  /* eslint-disable no-param-reassign */
13
13
  function isObject(obj) {
14
14
  return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;
15
15
  }
16
- function extend(target, src) {
17
- if (target === void 0) {
18
- target = {};
19
- }
20
- if (src === void 0) {
21
- src = {};
22
- }
23
- Object.keys(src).forEach(function (key) {
16
+ function extend(target = {}, src = {}) {
17
+ Object.keys(src).forEach(key => {
24
18
  if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {
25
19
  extend(target[key], src[key]);
26
20
  }
27
21
  });
28
22
  }
29
- var ssrDocument = {
23
+ const ssrDocument = {
30
24
  body: {},
31
- addEventListener: function () {},
32
- removeEventListener: function () {},
25
+ addEventListener() {},
26
+ removeEventListener() {},
33
27
  activeElement: {
34
- blur: function () {},
28
+ blur() {},
35
29
  nodeName: ''
36
30
  },
37
- querySelector: function () {
31
+ querySelector() {
38
32
  return null;
39
33
  },
40
- querySelectorAll: function () {
34
+ querySelectorAll() {
41
35
  return [];
42
36
  },
43
- getElementById: function () {
37
+ getElementById() {
44
38
  return null;
45
39
  },
46
- createEvent: function () {
40
+ createEvent() {
47
41
  return {
48
- initEvent: function () {}
42
+ initEvent() {}
49
43
  };
50
44
  },
51
- createElement: function () {
45
+ createElement() {
52
46
  return {
53
47
  children: [],
54
48
  childNodes: [],
55
49
  style: {},
56
- setAttribute: function () {},
57
- getElementsByTagName: function () {
50
+ setAttribute() {},
51
+ getElementsByTagName() {
58
52
  return [];
59
53
  }
60
54
  };
61
55
  },
62
- createElementNS: function () {
56
+ createElementNS() {
63
57
  return {};
64
58
  },
65
- importNode: function () {
59
+ importNode() {
66
60
  return null;
67
61
  },
68
62
  location: {
@@ -77,11 +71,11 @@ var ssrDocument = {
77
71
  }
78
72
  };
79
73
  function getDocument() {
80
- var doc = typeof document !== 'undefined' ? document : {};
74
+ const doc = typeof document !== 'undefined' ? document : {};
81
75
  extend(doc, ssrDocument);
82
76
  return doc;
83
77
  }
84
- var ssrWindow = {
78
+ const ssrWindow = {
85
79
  document: ssrDocument,
86
80
  navigator: {
87
81
  userAgent: ''
@@ -97,39 +91,39 @@ var ssrWindow = {
97
91
  search: ''
98
92
  },
99
93
  history: {
100
- replaceState: function () {},
101
- pushState: function () {},
102
- go: function () {},
103
- back: function () {}
94
+ replaceState() {},
95
+ pushState() {},
96
+ go() {},
97
+ back() {}
104
98
  },
105
99
  CustomEvent: function CustomEvent() {
106
100
  return this;
107
101
  },
108
- addEventListener: function () {},
109
- removeEventListener: function () {},
110
- getComputedStyle: function () {
102
+ addEventListener() {},
103
+ removeEventListener() {},
104
+ getComputedStyle() {
111
105
  return {
112
- getPropertyValue: function () {
106
+ getPropertyValue() {
113
107
  return '';
114
108
  }
115
109
  };
116
110
  },
117
- Image: function () {},
118
- Date: function () {},
111
+ Image() {},
112
+ Date() {},
119
113
  screen: {},
120
- setTimeout: function () {},
121
- clearTimeout: function () {},
122
- matchMedia: function () {
114
+ setTimeout() {},
115
+ clearTimeout() {},
116
+ matchMedia() {
123
117
  return {};
124
118
  },
125
- requestAnimationFrame: function (callback) {
119
+ requestAnimationFrame(callback) {
126
120
  if (typeof setTimeout === 'undefined') {
127
121
  callback();
128
122
  return null;
129
123
  }
130
124
  return setTimeout(callback, 0);
131
125
  },
132
- cancelAnimationFrame: function (id) {
126
+ cancelAnimationFrame(id) {
133
127
  if (typeof setTimeout === 'undefined') {
134
128
  return;
135
129
  }
@@ -137,7 +131,7 @@ var ssrWindow = {
137
131
  }
138
132
  };
139
133
  function getWindow() {
140
- var win = typeof window !== 'undefined' ? window : {};
134
+ const win = typeof window !== 'undefined' ? window : {};
141
135
  extend(win, ssrWindow);
142
136
  return win;
143
137
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ssr-window.esm.mjs","sources":["../../../../../../node_modules/ssr-window/ssr-window.esm.js"],"sourcesContent":["/**\n * SSR Window 3.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2020, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: November 9, 2020\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return (obj !== null &&\n typeof obj === 'object' &&\n 'constructor' in obj &&\n obj.constructor === Object);\n}\nfunction extend(target, src) {\n if (target === void 0) { target = {}; }\n if (src === void 0) { src = {}; }\n Object.keys(src).forEach(function (key) {\n if (typeof target[key] === 'undefined')\n target[key] = src[key];\n else if (isObject(src[key]) &&\n isObject(target[key]) &&\n Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nvar ssrDocument = {\n body: {},\n addEventListener: function () { },\n removeEventListener: function () { },\n activeElement: {\n blur: function () { },\n nodeName: '',\n },\n querySelector: function () {\n return null;\n },\n querySelectorAll: function () {\n return [];\n },\n getElementById: function () {\n return null;\n },\n createEvent: function () {\n return {\n initEvent: function () { },\n };\n },\n createElement: function () {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute: function () { },\n getElementsByTagName: function () {\n return [];\n },\n };\n },\n createElementNS: function () {\n return {};\n },\n importNode: function () {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n};\nfunction getDocument() {\n var doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nvar ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: '',\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n history: {\n replaceState: function () { },\n pushState: function () { },\n go: function () { },\n back: function () { },\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener: function () { },\n removeEventListener: function () { },\n getComputedStyle: function () {\n return {\n getPropertyValue: function () {\n return '';\n },\n };\n },\n Image: function () { },\n Date: function () { },\n screen: {},\n setTimeout: function () { },\n clearTimeout: function () { },\n matchMedia: function () {\n return {};\n },\n requestAnimationFrame: function (callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame: function (id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n },\n};\nfunction getWindow() {\n var win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };\n"],"names":["isObject","obj","constructor","Object","extend","target","src","keys","forEach","key","length","ssrDocument","body","addEventListener","removeEventListener","activeElement","blur","nodeName","querySelector","querySelectorAll","getElementById","createEvent","initEvent","createElement","children","childNodes","style","setAttribute","getElementsByTagName","createElementNS","importNode","location","hash","host","hostname","href","origin","pathname","protocol","search","getDocument","doc","document","ssrWindow","navigator","userAgent","history","replaceState","pushState","go","back","CustomEvent","getComputedStyle","getPropertyValue","Image","Date","screen","setTimeout","clearTimeout","matchMedia","requestAnimationFrame","callback","cancelAnimationFrame","id","getWindow","win","window"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQA,CAACC,GAAG,EAAE;AACnB,EAAA,OAAQA,GAAG,KAAK,IAAI,IAChB,OAAOA,GAAG,KAAK,QAAQ,IACvB,aAAa,IAAIA,GAAG,IACpBA,GAAG,CAACC,WAAW,KAAKC,MAAM,CAAA;AAClC,CAAA;AACA,SAASC,MAAMA,CAACC,MAAM,EAAEC,GAAG,EAAE;AACzB,EAAA,IAAID,MAAM,KAAK,KAAK,CAAC,EAAE;IAAEA,MAAM,GAAG,EAAE,CAAA;AAAE,GAAA;AACtC,EAAA,IAAIC,GAAG,KAAK,KAAK,CAAC,EAAE;IAAEA,GAAG,GAAG,EAAE,CAAA;AAAE,GAAA;EAChCH,MAAM,CAACI,IAAI,CAACD,GAAG,CAAC,CAACE,OAAO,CAAC,UAAUC,GAAG,EAAE;IACpC,IAAI,OAAOJ,MAAM,CAACI,GAAG,CAAC,KAAK,WAAW,EAClCJ,MAAM,CAACI,GAAG,CAAC,GAAGH,GAAG,CAACG,GAAG,CAAC,CAAC,KACtB,IAAIT,QAAQ,CAACM,GAAG,CAACG,GAAG,CAAC,CAAC,IACvBT,QAAQ,CAACK,MAAM,CAACI,GAAG,CAAC,CAAC,IACrBN,MAAM,CAACI,IAAI,CAACD,GAAG,CAACG,GAAG,CAAC,CAAC,CAACC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Y,EAAG;AACtBC,EAAAA,IAAI,EAAE,YAAY,EAAG;EACrBC,MAAM,EAAE,EAAE;AACVC,EAAAA,UAAU,EAAE,YAAY,EAAG;AAC3BC,EAAAA,YAAY,EAAE,YAAY,EAAG;EAC7BC,UAAU,EAAE,YAAY;AACpB,IAAA,OAAO,EAAE,CAAA;GACZ;AACDC,EAAAA,qBAAqB,EAAE,UAAUC,QAAQ,EAAE;AACvC,IAAA,IAAI,OAAOJ,UAAU,KAAK,WAAW,EAAE;AACnCI,MAAAA,QAAQ,EAAE,CAAA;AACV,MAAA,OAAO,IAAI,CAAA;AACf,KAAA;AACA,IAAA,OAAOJ,UAAU,CAACI,QAAQ,EAAE,CAAC,CAAC,CAAA;GACjC;AACDC,EAAAA,oBAAoB,EAAE,UAAUC,EAAE,EAAE;AAChC,IAAA,IAAI,OAAON,UAAU,KAAK,WAAW,EAAE;AACnC,MAAA,OAAA;AACJ,KAAA;IACAC,YAAY,CAACK,EAAE,CAAC,CAAA;AACpB,GAAA;AACJ,EAAC;AACD,SAASC,SAASA,GAAG;EACjB,IAAIC,GAAG,GAAG,OAAOC,MAAM,KAAK,WAAW,GAAGA,MAAM,GAAG,EAAE,CAAA;AACrD9D,EAAAA,MAAM,CAAC6D,GAAG,EAAEtB,SAAS,CAAC,CAAA;AACtB,EAAA,OAAOsB,GAAG,CAAA;AACd;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ssr-window.esm.mjs","sources":["../../../../../../node_modules/ssr-window/ssr-window.esm.js"],"sourcesContent":["/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return (obj !== null &&\n typeof obj === 'object' &&\n 'constructor' in obj &&\n obj.constructor === Object);\n}\nfunction extend(target = {}, src = {}) {\n Object.keys(src).forEach((key) => {\n if (typeof target[key] === 'undefined')\n target[key] = src[key];\n else if (isObject(src[key]) &&\n isObject(target[key]) &&\n Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nconst ssrDocument = {\n body: {},\n addEventListener() { },\n removeEventListener() { },\n activeElement: {\n blur() { },\n nodeName: '',\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() { },\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() { },\n getElementsByTagName() {\n return [];\n },\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: '',\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n history: {\n replaceState() { },\n pushState() { },\n go() { },\n back() { },\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() { },\n removeEventListener() { },\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n },\n };\n },\n Image() { },\n Date() { },\n screen: {},\n setTimeout() { },\n clearTimeout() { },\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n },\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };\n"],"names":["isObject","obj","constructor","Object","extend","target","src","keys","forEach","key","length","ssrDocument","body","addEventListener","removeEventListener","activeElement","blur","nodeName","querySelector","querySelectorAll","getElementById","createEvent","initEvent","createElement","children","childNodes","style","setAttribute","getElementsByTagName","createElementNS","importNode","location","hash","host","hostname","href","origin","pathname","protocol","search","getDocument","doc","document","ssrWindow","navigator","userAgent","history","replaceState","pushState","go","back","CustomEvent","getComputedStyle","getPropertyValue","Image","Date","screen","setTimeout","clearTimeout","matchMedia","requestAnimationFrame","callback","cancelAnimationFrame","id","getWindow","win","window"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQA,CAACC,GAAG,EAAE;AACnB,EAAA,OAAQA,GAAG,KAAK,IAAI,IAChB,OAAOA,GAAG,KAAK,QAAQ,IACvB,aAAa,IAAIA,GAAG,IACpBA,GAAG,CAACC,WAAW,KAAKC,MAAM,CAAA;AAClC,CAAA;AACA,SAASC,MAAMA,CAACC,MAAM,GAAG,EAAE,EAAEC,GAAG,GAAG,EAAE,EAAE;EACnCH,MAAM,CAACI,IAAI,CAACD,GAAG,CAAC,CAACE,OAAO,CAAEC,GAAG,IAAK;IAC9B,IAAI,OAAOJ,MAAM,CAACI,GAAG,CAAC,KAAK,WAAW,EAClCJ,MAAM,CAACI,GAAG,CAAC,GAAGH,GAAG,CAACG,GAAG,CAAC,CAAC,KACtB,IAAIT,QAAQ,CAACM,GAAG,CAACG,GAAG,CAAC,CAAC,IACvBT,QAAQ,CAACK,MAAM,CAACI,GAAG,CAAC,CAAC,IACrBN,MAAM,CAACI,IAAI,CAACD,GAAG,CAACG,GAAG,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC,EAAE;MAClCN,MAAM,CAACC,MAAM,CAACI,GAAG,CAAC,EAAEH,GAAG,CAACG,GAAG,CAAC,CAAC,CAAA;AACjC,KAAA;AACJ,GAAC,CAAC,CAAA;AACN,CAAA;AAEA,MAAME,WAAW,GAAG;EAChBC,IAAI,EAAE,EAAE;EACRC,gBAAgBA,GAAG,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E,CAAC,CAAC,CAAA;GACjC;EACDC,oBAAoBA,CAACC,EAAE,EAAE;AACrB,IAAA,IAAI,OAAON,UAAU,KAAK,WAAW,EAAE;AACnC,MAAA,OAAA;AACJ,KAAA;IACAC,YAAY,CAACK,EAAE,CAAC,CAAA;AACpB,GAAA;AACJ,EAAC;AACD,SAASC,SAASA,GAAG;EACjB,MAAMC,GAAG,GAAG,OAAOC,MAAM,KAAK,WAAW,GAAGA,MAAM,GAAG,EAAE,CAAA;AACvD9D,EAAAA,MAAM,CAAC6D,GAAG,EAAEtB,SAAS,CAAC,CAAA;AACtB,EAAA,OAAOsB,GAAG,CAAA;AACd;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@
2
2
  import type { VariantProps } from "../../types/ComponentProps";
3
3
  import type { BannerVariant } from './Banner.types';
4
4
  declare const _default: {
5
- BannerIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ name, ...rest }: import("../LegacyIcon").LegacyIconProps) => JSX.Element | null>, import("../../foundation").Foundation, {
5
+ BannerIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ name, ...rest }: import("../LegacyIcon").LegacyIconProps) => import("react").JSX.Element | null>, import("../../foundation").Foundation, {
6
6
  foundation?: import("../../foundation").Foundation | undefined;
7
7
  }, never>;
8
8
  ContentWrapper: import("styled-components").StyledComponent<"div", import("../../foundation").Foundation, {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type CheckboxProps, type CheckedState } from './Checkbox.types';
3
- declare function CheckboxImpl<Checked extends CheckedState>({ children, checked, id: idProp, ...rest }: CheckboxProps<Checked>, forwardedRef: React.Ref<HTMLButtonElement>): JSX.Element;
3
+ declare function CheckboxImpl<Checked extends CheckedState>({ children, checked, id: idProp, ...rest }: CheckboxProps<Checked>, forwardedRef: React.Ref<HTMLButtonElement>): React.JSX.Element;
4
4
  /**
5
5
  * `Checkbox` is a control that allows the user to toggle between checked and not checked.
6
6
  * It can be used with labels or standalone.
@@ -31,6 +31,6 @@ declare function CheckboxImpl<Checked extends CheckedState>({ children, checked,
31
31
  */
32
32
  export declare const Checkbox: <Checked extends CheckedState>(props: CheckboxProps<Checked> & {
33
33
  ref?: React.ForwardedRef<HTMLButtonElement> | undefined;
34
- }) => JSX.Element;
34
+ }) => React.JSX.Element;
35
35
  export {};
36
36
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAczC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AA+BzB,iBAAS,YAAY,CAAC,OAAO,SAAS,YAAY,EAAE,EAClD,QAAQ,EACR,OAAO,EACP,EAAE,EAAE,MAAM,EACV,GAAG,IAAI,EACR,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,eAwCpE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,QAAQ;;iBAEwB,CAAA"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAczC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AA+BzB,iBAAS,YAAY,CAAC,OAAO,SAAS,YAAY,EAAE,EAClD,QAAQ,EACR,OAAO,EACP,EAAE,EAAE,MAAM,EACV,GAAG,IAAI,EACR,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,qBAwCpE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,QAAQ;;uBAEwB,CAAA"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const MOCK_CONSTS: {
3
3
  LABEL_TEXT: string;
4
4
  HELPER_TEXT_TEXT: string;
@@ -6,7 +6,7 @@ export declare const MOCK_CONSTS: {
6
6
  FIRST_FIELD_LABEL_TEXT: string;
7
7
  SECOND_FIELD_LABEL_TEXT: string;
8
8
  };
9
- export declare const SingleFieldForm: JSX.Element;
10
- export declare const SingleFieldFormWithLabelFont: JSX.Element;
11
- export declare const MultipleFieldForm: JSX.Element;
9
+ export declare const SingleFieldForm: React.JSX.Element;
10
+ export declare const SingleFieldFormWithLabelFont: React.JSX.Element;
11
+ export declare const MultipleFieldForm: React.JSX.Element;
12
12
  //# sourceMappingURL=forms.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Forms/FormControl/__mocks__/forms.tsx"],"names":[],"mappings":";AAaA,eAAO,MAAM,WAAW;;;;;;CAOvB,CAAA;AAED,eAAO,MAAM,eAAe,aAO3B,CAAA;AAED,eAAO,MAAM,4BAA4B,aAOxC,CAAA;AAED,eAAO,MAAM,iBAAiB,aAkB7B,CAAA"}
1
+ {"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Forms/FormControl/__mocks__/forms.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAazB,eAAO,MAAM,WAAW;;;;;;CAOvB,CAAA;AAED,eAAO,MAAM,eAAe,mBAO3B,CAAA;AAED,eAAO,MAAM,4BAA4B,mBAOxC,CAAA;AAED,eAAO,MAAM,iBAAiB,mBAkB7B,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { type RadioProps } from './RadioGroup.types';
3
- declare function RadioImpl<Value extends string>({ children, id: idProp, ...rest }: RadioProps<Value>, forwardedRef: React.Ref<HTMLButtonElement>): JSX.Element;
3
+ declare function RadioImpl<Value extends string>({ children, id: idProp, ...rest }: RadioProps<Value>, forwardedRef: React.Ref<HTMLButtonElement>): React.JSX.Element;
4
4
  /**
5
5
  * `Radio` is a checkable button, known as a radio button.
6
6
  * It should be a child of `RadioGroup`.
7
7
  */
8
8
  export declare const Radio: <Value extends string>(props: RadioProps<Value> & {
9
9
  ref?: React.ForwardedRef<HTMLButtonElement> | undefined;
10
- }) => JSX.Element;
10
+ }) => React.JSX.Element;
11
11
  export {};
12
12
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/RadioGroup/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAIpD,iBAAS,SAAS,CAAC,KAAK,SAAS,MAAM,EAAE,EACvC,QAAQ,EACR,EAAE,EAAE,MAAM,EACV,GAAG,IAAI,EACR,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,eAkB/D;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK;;iBAEsB,CAAA"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/RadioGroup/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAIpD,iBAAS,SAAS,CAAC,KAAK,SAAS,MAAM,EAAE,EACvC,QAAQ,EACR,EAAE,EAAE,MAAM,EACV,GAAG,IAAI,EACR,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,qBAkB/D;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK;;uBAEsB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type RadioGroupProps } from './RadioGroup.types';
3
- declare function RadioGroupImpl<Value extends string>({ children, spacing, direction, ...rest }: RadioGroupProps<Value>, forwardedRef: React.Ref<HTMLDivElement>): JSX.Element;
3
+ declare function RadioGroupImpl<Value extends string>({ children, spacing, direction, ...rest }: RadioGroupProps<Value>, forwardedRef: React.Ref<HTMLDivElement>): React.JSX.Element;
4
4
  /**
5
5
  * `RadioGroup` is a set of checkable buttons, known as radio buttons.
6
6
  *
@@ -18,6 +18,6 @@ declare function RadioGroupImpl<Value extends string>({ children, spacing, direc
18
18
  */
19
19
  export declare const RadioGroup: <Value extends string>(props: RadioGroupProps<Value> & {
20
20
  ref?: React.ForwardedRef<HTMLDivElement> | undefined;
21
- }) => JSX.Element;
21
+ }) => React.JSX.Element;
22
22
  export {};
23
23
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAOzC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEzD,iBAAS,cAAc,CAAC,KAAK,SAAS,MAAM,EAAE,EAC5C,QAAQ,EACR,OAAW,EACX,SAAsB,EACtB,GAAG,IAAI,EACR,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,eAmBjE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU;;iBAEsB,CAAA"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Forms/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAOzC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEzD,iBAAS,cAAc,CAAC,KAAK,SAAS,MAAM,EAAE,EAC5C,QAAQ,EACR,OAAW,EACX,SAAsB,EACtB,GAAG,IAAI,EACR,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,qBAmBjE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU;;uBAEsB,CAAA"}
@@ -4,7 +4,7 @@ export declare function useSegmentedControlIndicator<Element extends HTMLElement
4
4
  target: HTMLElement | null;
5
5
  refs: React.Ref<Element>[];
6
6
  }): {
7
- readonly containerRef: (node: Element | ((prevState: Element | null) => Element | null) | null) => void;
8
- readonly render: () => JSX.Element;
7
+ readonly containerRef: (node: Element | ((prevState: Element | null) => Element | null) | null | undefined) => void;
8
+ readonly render: () => React.JSX.Element;
9
9
  };
10
10
  //# sourceMappingURL=SegmentedControlIndicator.d.ts.map
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type HelpProps from './Help.types';
3
3
  export declare const HELP_TEST_ID = "bezier-react-help";
4
4
  export declare const HELP_DISPLAY_NAME = "Help";
5
- declare function Help({ children, ...rest }: HelpProps): JSX.Element | null;
5
+ declare function Help({ children, ...rest }: HelpProps): React.JSX.Element | null;
6
6
  declare namespace Help {
7
7
  var displayName: string;
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Help.d.ts","sourceRoot":"","sources":["../../../../src/components/Help/Help.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAA;AAIzC,eAAO,MAAM,YAAY,sBAAsB,CAAA;AAC/C,eAAO,MAAM,iBAAiB,SAAS,CAAA;AAEvC,iBAAS,IAAI,CAAC,EACZ,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,SAAS,sBAaX;kBAhBQ,IAAI;;;AAoBb,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"Help.d.ts","sourceRoot":"","sources":["../../../../src/components/Help/Help.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,KAAK,SAAS,MAAM,cAAc,CAAA;AAIzC,eAAO,MAAM,YAAY,sBAAsB,CAAA;AAC/C,eAAO,MAAM,iBAAiB,SAAS,CAAA;AAEvC,iBAAS,IAAI,CAAC,EACZ,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,SAAS,4BAaX;kBAhBQ,IAAI;;;AAoBb,eAAe,IAAI,CAAA"}
@@ -9,7 +9,7 @@ interface ActionWrapperProps extends AdditionalColorProps<['hoverBackground', 'h
9
9
  export declare const ActionIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../../../Icon").IconProps & import("react").RefAttributes<SVGSVGElement>>>, import("../../../../foundation").Foundation, {
10
10
  foundation?: import("../../../../foundation").Foundation | undefined;
11
11
  }, never>;
12
- export declare const ActionLegacyIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ name, ...rest }: import("../../../LegacyIcon").LegacyIconProps) => JSX.Element | null>, import("../../../../foundation").Foundation, {
12
+ export declare const ActionLegacyIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ name, ...rest }: import("../../../LegacyIcon").LegacyIconProps) => import("react").JSX.Element | null>, import("../../../../foundation").Foundation, {
13
13
  foundation?: import("../../../../foundation").Foundation | undefined;
14
14
  }, never>;
15
15
  export declare const ActionIconWrapper: import("styled-components").StyledComponent<"div", import("../../../../foundation").Foundation, {
@@ -14,6 +14,6 @@ import type LegacyIconProps from './LegacyIcon.types';
14
14
  * import { LegacyIcon, type LegacyIconProps } from '@channel.io/bezier-react'
15
15
  * <LegacyIcon name="all" color="bg-black-dark" />
16
16
  */
17
- declare const LegacyIcon: React.MemoExoticComponent<({ name, ...rest }: LegacyIconProps) => JSX.Element | null>;
17
+ declare const LegacyIcon: React.MemoExoticComponent<({ name, ...rest }: LegacyIconProps) => React.JSX.Element | null>;
18
18
  export default LegacyIcon;
19
19
  //# sourceMappingURL=LegacyIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegacyIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/LegacyIcon/LegacyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AAMnC,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAA;AAErD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,UAAU,gDAGb,eAAe,wBAMhB,CAAA;AAEF,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"LegacyIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/LegacyIcon/LegacyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AAMnC,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAA;AAErD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,UAAU,gDAGb,eAAe,8BAMhB,CAAA;AAEF,eAAe,UAAU,CAAA"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type ListMenuTitleProps from './ListMenuTitle.types';
3
3
  export declare const SIDEBAR_MENU_TITLE_TEST_ID = "bezier-react-sidebar-menu-title";
4
- declare function ListMenuTitle({ as, testId, content, hide, rightAction, onClick, onClickAction, style, className, }: ListMenuTitleProps): JSX.Element | null;
4
+ declare function ListMenuTitle({ as, testId, content, hide, rightAction, onClick, onClickAction, style, className, }: ListMenuTitleProps): React.JSX.Element | null;
5
5
  export default ListMenuTitle;
6
6
  //# sourceMappingURL=ListMenuTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListMenuTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/ListMenuTitle/ListMenuTitle.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,kBAAkB,MAAM,uBAAuB,CAAA;AAO3D,eAAO,MAAM,0BAA0B,oCAAoC,CAAA;AAE3E,iBAAS,aAAa,CAAC,EACrB,EAAE,EACF,MAAmC,EACnC,OAAO,EACP,IAAY,EACZ,WAAkB,EAClB,OAAc,EACd,aAAoB,EACpB,KAAK,EACL,SAAS,GACV,EAAE,kBAAkB,sBAgCpB;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"ListMenuTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/ListMenuTitle/ListMenuTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAK1C,OAAO,KAAK,kBAAkB,MAAM,uBAAuB,CAAA;AAO3D,eAAO,MAAM,0BAA0B,oCAAoC,CAAA;AAE3E,iBAAS,aAAa,CAAC,EACrB,EAAE,EACF,MAAmC,EACnC,OAAO,EACP,IAAY,EACZ,WAAkB,EAClB,OAAc,EACd,aAAoB,EACpB,KAAK,EACL,SAAS,GACV,EAAE,kBAAkB,4BAgCpB;AAED,eAAe,aAAa,CAAA"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ConfirmModalProps } from './ConfirmModal.types';
3
3
  /**
4
4
  * `ConfirmModal` is a modal dialog that interrupts the user with important content and expects a response.
@@ -21,5 +21,5 @@ import { type ConfirmModalProps } from './ConfirmModal.types';
21
21
  * </ConfirmModal>
22
22
  * ```
23
23
  */
24
- export declare function ConfirmModal({ children, ...rest }: ConfirmModalProps): JSX.Element;
24
+ export declare function ConfirmModal({ children, ...rest }: ConfirmModalProps): React.JSX.Element;
25
25
  //# sourceMappingURL=ConfirmModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ConfirmModal/ConfirmModal.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,iBAAiB,eAMnB"}
1
+ {"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ConfirmModal/ConfirmModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,iBAAiB,qBAMnB"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ConfirmModalCloseProps, type ConfirmModalTriggerProps } from './ConfirmModal.types';
3
3
  /**
4
4
  * `ConfirmModalTrigger` is a button that opens the modal. **It doesn't render any DOM node.**
@@ -6,10 +6,10 @@ import { type ConfirmModalCloseProps, type ConfirmModalTriggerProps } from './Co
6
6
  *
7
7
  * It **must** be placed outside of the `ConfirmModalContent`.
8
8
  */
9
- export declare function ConfirmModalTrigger({ children }: ConfirmModalTriggerProps): JSX.Element;
9
+ export declare function ConfirmModalTrigger({ children }: ConfirmModalTriggerProps): React.JSX.Element;
10
10
  /**
11
11
  * `ConfirmModalClose` is a button that closes the modal. **It doesn't render any DOM node.**
12
12
  * It passes the handler that closes the modal to the children.
13
13
  */
14
- export declare function ConfirmModalClose({ children }: ConfirmModalCloseProps): JSX.Element;
14
+ export declare function ConfirmModalClose({ children }: ConfirmModalCloseProps): React.JSX.Element;
15
15
  //# sourceMappingURL=ConfirmModalHelpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmModalHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ConfirmModal/ConfirmModalHelpers.tsx"],"names":[],"mappings":";AAQA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC9B,MAAM,sBAAsB,CAAA;AAE7B;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,eAMzE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,eAMrE"}
1
+ {"version":3,"file":"ConfirmModalHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ConfirmModal/ConfirmModalHelpers.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC9B,MAAM,sBAAsB,CAAA;AAE7B;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,qBAMzE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,qBAMrE"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ModalProps } from './Modal.types';
3
3
  /**
4
4
  * `Modal` is a dialog that appears on top of the page.
@@ -21,5 +21,5 @@ import { type ModalProps } from './Modal.types';
21
21
  * </Modal>
22
22
  * ```
23
23
  */
24
- export declare function Modal({ children, show, defaultShow, onShow, onHide, }: ModalProps): JSX.Element;
24
+ export declare function Modal({ children, show, defaultShow, onShow, onHide, }: ModalProps): React.JSX.Element;
25
25
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,MAAa,EACb,MAAa,GACd,EAAE,UAAU,eAkBZ"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAM1C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,MAAa,EACb,MAAa,GACd,EAAE,UAAU,qBAkBZ"}