@cruk/cruk-react-components 5.0.7 → 5.0.8

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 (351) hide show
  1. package/lib/.storybook/main.d.ts +3 -0
  2. package/lib/.storybook/preview.d.ts +3 -0
  3. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  4. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
  5. package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  6. package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -1
  7. package/lib/node_modules/@fortawesome/free-solid-svg-icons/index.js +6 -1
  8. package/lib/node_modules/@fortawesome/free-solid-svg-icons/index.js.map +1 -1
  9. package/lib/node_modules/focus-lock/dist/es2015/focusInside.js.map +1 -1
  10. package/lib/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +1 -1
  11. package/lib/node_modules/focus-lock/dist/es2015/focusSolver.js +1 -1
  12. package/lib/node_modules/focus-lock/dist/es2015/moveFocusInside.js.map +1 -1
  13. package/lib/node_modules/focus-lock/dist/es2015/return-focus.js.map +1 -1
  14. package/lib/node_modules/focus-lock/dist/es2015/sibling.js +1 -1
  15. package/lib/node_modules/focus-lock/dist/es2015/sibling.js.map +1 -1
  16. package/lib/node_modules/focus-lock/dist/es2015/solver.js +1 -1
  17. package/lib/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
  18. package/lib/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
  19. package/lib/node_modules/focus-lock/dist/es2015/utils/all-affected.js +1 -1
  20. package/lib/node_modules/focus-lock/dist/es2015/utils/auto-focus.js.map +1 -1
  21. package/lib/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +1 -1
  22. package/lib/node_modules/focus-lock/dist/es2015/utils/is.js.map +1 -1
  23. package/lib/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +1 -1
  24. package/lib/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +1 -1
  25. package/lib/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +1 -1
  26. package/lib/node_modules/react-focus-lock/dist/es2015/Combination.js +1 -1
  27. package/lib/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
  28. package/lib/node_modules/react-focus-lock/dist/es2015/FocusGuard.js.map +1 -1
  29. package/lib/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
  30. package/lib/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  31. package/lib/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
  32. package/lib/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  33. package/lib/node_modules/react-intersection-observer/dist/index.js.map +1 -1
  34. package/lib/node_modules/tslib/tslib.es6.js +1 -1
  35. package/lib/node_modules/tslib/tslib.es6.js.map +1 -1
  36. package/lib/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  37. package/lib/{components → src/components}/AddressLookup/AddressLookup.stories.d.ts +4 -4
  38. package/lib/{components → src/components}/AddressLookup/index.d.ts +1 -1
  39. package/lib/src/components/AddressLookup/index.js +1 -1
  40. package/lib/src/components/AddressLookup/index.js.map +1 -1
  41. package/lib/src/components/AddressLookup/styles.js +38 -1
  42. package/lib/src/components/AddressLookup/styles.js.map +1 -1
  43. package/lib/{components → src/components}/Avatar/Avatar.stories.d.ts +1 -1
  44. package/lib/src/components/Avatar/index.js +1 -1
  45. package/lib/src/components/Avatar/index.js.map +1 -1
  46. package/lib/src/components/Avatar/styles.js +10 -1
  47. package/lib/src/components/Avatar/styles.js.map +1 -1
  48. package/lib/{components → src/components}/Badge/Badge.stories.d.ts +1 -1
  49. package/lib/src/components/Badge/index.js +1 -1
  50. package/lib/src/components/Badge/index.js.map +1 -1
  51. package/lib/src/components/Badge/styles.js +17 -1
  52. package/lib/src/components/Badge/styles.js.map +1 -1
  53. package/lib/{components → src/components}/Box/Box.stories.d.ts +1 -1
  54. package/lib/src/components/Box/index.js +1 -1
  55. package/lib/src/components/Box/index.js.map +1 -1
  56. package/lib/src/components/Box/styles.js +13 -1
  57. package/lib/src/components/Box/styles.js.map +1 -1
  58. package/lib/{components → src/components}/Button/Button.stories.d.ts +1 -1
  59. package/lib/src/components/Button/index.js +1 -1
  60. package/lib/src/components/Button/index.js.map +1 -1
  61. package/lib/src/components/Button/styles.js +108 -1
  62. package/lib/src/components/Button/styles.js.map +1 -1
  63. package/lib/{components → src/components}/Carousel/Carousel.stories.d.ts +2 -2
  64. package/lib/src/components/Carousel/Dots.js +1 -1
  65. package/lib/src/components/Carousel/Dots.js.map +1 -1
  66. package/lib/src/components/Carousel/index.js +1 -1
  67. package/lib/src/components/Carousel/index.js.map +1 -1
  68. package/lib/src/components/Carousel/styles.js +96 -1
  69. package/lib/src/components/Carousel/styles.js.map +1 -1
  70. package/lib/{components → src/components}/Checkbox/Checkbox.stories.d.ts +2 -2
  71. package/lib/src/components/Checkbox/index.js +1 -1
  72. package/lib/src/components/Checkbox/index.js.map +1 -1
  73. package/lib/src/components/Checkbox/styles.js +105 -1
  74. package/lib/src/components/Checkbox/styles.js.map +1 -1
  75. package/lib/{components → src/components}/Collapse/Collapse.stories.d.ts +1 -1
  76. package/lib/src/components/Collapse/index.js +1 -1
  77. package/lib/src/components/Collapse/index.js.map +1 -1
  78. package/lib/src/components/Collapse/styles.js +31 -1
  79. package/lib/src/components/Collapse/styles.js.map +1 -1
  80. package/lib/{components → src/components}/DateField/DateField.stories.d.ts +1 -1
  81. package/lib/src/components/DateField/index.js +1 -1
  82. package/lib/src/components/DateField/index.js.map +1 -1
  83. package/lib/src/components/DateField/styles.js +26 -1
  84. package/lib/src/components/DateField/styles.js.map +1 -1
  85. package/lib/src/components/Divider.js +17 -1
  86. package/lib/src/components/Divider.js.map +1 -1
  87. package/lib/{components → src/components}/ErrorText/ErrorText.stories.d.ts +1 -1
  88. package/lib/src/components/ErrorText/index.js +1 -1
  89. package/lib/src/components/ErrorText/index.js.map +1 -1
  90. package/lib/src/components/ErrorText/styles.js +5 -1
  91. package/lib/src/components/ErrorText/styles.js.map +1 -1
  92. package/lib/src/components/Flex.js +7 -1
  93. package/lib/src/components/Flex.js.map +1 -1
  94. package/lib/src/components/Fontface.js +1 -1
  95. package/lib/src/components/Fontface.js.map +1 -1
  96. package/lib/{components → src/components}/Footer/Footer.stories.d.ts +2 -2
  97. package/lib/src/components/Footer/index.js +1 -1
  98. package/lib/src/components/Footer/index.js.map +1 -1
  99. package/lib/src/components/Footer/styles.js +69 -1
  100. package/lib/src/components/Footer/styles.js.map +1 -1
  101. package/lib/src/components/GlobalStyle.js +37 -1
  102. package/lib/src/components/GlobalStyle.js.map +1 -1
  103. package/lib/src/components/GlobalStyleNoFontFace.js +37 -1
  104. package/lib/src/components/GlobalStyleNoFontFace.js.map +1 -1
  105. package/lib/{components → src/components}/Header/Header.stories.d.ts +1 -1
  106. package/lib/src/components/Header/index.js +1 -1
  107. package/lib/src/components/Header/index.js.map +1 -1
  108. package/lib/src/components/Header/styles.js +109 -1
  109. package/lib/src/components/Header/styles.js.map +1 -1
  110. package/lib/{components → src/components}/Heading/Heading.stories.d.ts +1 -1
  111. package/lib/src/components/Heading/index.js +1 -1
  112. package/lib/src/components/Heading/index.js.map +1 -1
  113. package/lib/src/components/Heading/styles.js +75 -1
  114. package/lib/src/components/Heading/styles.js.map +1 -1
  115. package/lib/{components → src/components}/IconFa/IconFa.stories.d.ts +1 -1
  116. package/lib/src/components/IconFa/index.js +1 -1
  117. package/lib/src/components/IconFa/index.js.map +1 -1
  118. package/lib/src/components/IconFa/styles.js +10 -1
  119. package/lib/src/components/IconFa/styles.js.map +1 -1
  120. package/lib/{components → src/components}/InfoBox/InfoBox.stories.d.ts +1 -1
  121. package/lib/src/components/InfoBox/index.js +1 -1
  122. package/lib/src/components/InfoBox/index.js.map +1 -1
  123. package/lib/src/components/InfoBox/styles.js +12 -1
  124. package/lib/src/components/InfoBox/styles.js.map +1 -1
  125. package/lib/src/components/LabelWrapper/index.js +1 -1
  126. package/lib/src/components/LabelWrapper/index.js.map +1 -1
  127. package/lib/src/components/LabelWrapper/styles.js +15 -1
  128. package/lib/src/components/LabelWrapper/styles.js.map +1 -1
  129. package/lib/{components → src/components}/LegendWrapper/LegendWrapper.stories.d.ts +1 -1
  130. package/lib/src/components/LegendWrapper/index.js +1 -1
  131. package/lib/src/components/LegendWrapper/index.js.map +1 -1
  132. package/lib/src/components/LegendWrapper/styles.js +34 -1
  133. package/lib/src/components/LegendWrapper/styles.js.map +1 -1
  134. package/lib/{components → src/components}/Link/Link.stories.d.ts +1 -1
  135. package/lib/src/components/Link/index.js +1 -1
  136. package/lib/src/components/Link/index.js.map +1 -1
  137. package/lib/src/components/Link/styles.js +29 -1
  138. package/lib/src/components/Link/styles.js.map +1 -1
  139. package/lib/{components → src/components}/Loader/Loader.stories.d.ts +1 -1
  140. package/lib/src/components/Loader/index.js +1 -1
  141. package/lib/src/components/Loader/index.js.map +1 -1
  142. package/lib/src/components/Loader/styles.js +45 -1
  143. package/lib/src/components/Loader/styles.js.map +1 -1
  144. package/lib/{components → src/components}/Modal/Modal.stories.d.ts +1 -1
  145. package/lib/src/components/Modal/index.js +1 -1
  146. package/lib/src/components/Modal/index.js.map +1 -1
  147. package/lib/src/components/Modal/styles.js +59 -1
  148. package/lib/src/components/Modal/styles.js.map +1 -1
  149. package/lib/{components → src/components}/Pagination/Pagination.stories.d.ts +1 -1
  150. package/lib/src/components/Pagination/index.js +1 -1
  151. package/lib/src/components/Pagination/index.js.map +1 -1
  152. package/lib/src/components/Pagination/styles.js +92 -1
  153. package/lib/src/components/Pagination/styles.js.map +1 -1
  154. package/lib/{components → src/components}/PopOver/Popover.stories.d.ts +1 -1
  155. package/lib/src/components/PopOver/index.js +1 -1
  156. package/lib/src/components/PopOver/index.js.map +1 -1
  157. package/lib/src/components/PopOver/styles.js +81 -1
  158. package/lib/src/components/PopOver/styles.js.map +1 -1
  159. package/lib/{components → src/components}/ProgressBar/ProgressBar.stories.d.ts +1 -1
  160. package/lib/src/components/ProgressBar/index.js +1 -1
  161. package/lib/src/components/ProgressBar/index.js.map +1 -1
  162. package/lib/src/components/ProgressBar/styles.js +132 -1
  163. package/lib/src/components/ProgressBar/styles.js.map +1 -1
  164. package/lib/{components → src/components}/Radio/Radio.stories.d.ts +2 -2
  165. package/lib/src/components/Radio/index.js +1 -1
  166. package/lib/src/components/Radio/index.js.map +1 -1
  167. package/lib/src/components/Radio/styles.js +125 -1
  168. package/lib/src/components/Radio/styles.js.map +1 -1
  169. package/lib/{components → src/components}/RadioConsent/Radio.stories.d.ts +1 -1
  170. package/lib/src/components/RadioConsent/index.js +1 -1
  171. package/lib/src/components/RadioConsent/index.js.map +1 -1
  172. package/lib/src/components/RadioConsent/styles.js +26 -1
  173. package/lib/src/components/RadioConsent/styles.js.map +1 -1
  174. package/lib/{components → src/components}/Select/Selelct.stories.d.ts +2 -2
  175. package/lib/src/components/Select/index.js +1 -1
  176. package/lib/src/components/Select/index.js.map +1 -1
  177. package/lib/src/components/Select/styles.js +41 -1
  178. package/lib/src/components/Select/styles.js.map +1 -1
  179. package/lib/src/components/Spacing/index.js +1 -1
  180. package/lib/src/components/Spacing/index.js.map +1 -1
  181. package/lib/{components → src/components}/Step/Step.stories.d.ts +1 -1
  182. package/lib/src/components/Step/index.js +1 -1
  183. package/lib/src/components/Step/index.js.map +1 -1
  184. package/lib/src/components/Step/styles.js +79 -1
  185. package/lib/src/components/Step/styles.js.map +1 -1
  186. package/lib/{components → src/components}/Text/Text.stories.d.ts +1 -1
  187. package/lib/src/components/Text/index.js +1 -1
  188. package/lib/src/components/Text/index.js.map +1 -1
  189. package/lib/src/components/Text/styles.js +19 -1
  190. package/lib/src/components/Text/styles.js.map +1 -1
  191. package/lib/{components → src/components}/TextAreaField/TextAreaField.stories.d.ts +1 -1
  192. package/lib/src/components/TextAreaField/index.js +1 -1
  193. package/lib/src/components/TextAreaField/index.js.map +1 -1
  194. package/lib/src/components/TextAreaField/styles.js +29 -1
  195. package/lib/src/components/TextAreaField/styles.js.map +1 -1
  196. package/lib/{components → src/components}/TextField/TextField.stories.d.ts +1 -1
  197. package/lib/src/components/TextField/index.js +1 -1
  198. package/lib/src/components/TextField/index.js.map +1 -1
  199. package/lib/src/components/TextField/styles.js +110 -1
  200. package/lib/src/components/TextField/styles.js.map +1 -1
  201. package/lib/{components → src/components}/Totaliser/Totaliser.stories.d.ts +1 -1
  202. package/lib/src/components/Totaliser/index.js +1 -1
  203. package/lib/src/components/Totaliser/index.js.map +1 -1
  204. package/lib/src/components/Totaliser/styles.js +59 -1
  205. package/lib/src/components/Totaliser/styles.js.map +1 -1
  206. package/lib/{components → src/components}/UserBlock/UserBlock.stories.d.ts +1 -1
  207. package/lib/src/components/UserBlock/index.js +1 -1
  208. package/lib/src/components/UserBlock/index.js.map +1 -1
  209. package/lib/src/components/UserBlock/styles.js +21 -1
  210. package/lib/src/components/UserBlock/styles.js.map +1 -1
  211. package/lib/{hooks → src/hooks}/useEffectBrowser.d.ts +1 -1
  212. package/lib/src/hooks/useEffectBrowser.js +1 -1
  213. package/lib/src/hooks/useEffectBrowser.js.map +1 -1
  214. package/lib/src/hooks/useKey.js +1 -1
  215. package/lib/src/hooks/useKey.js.map +1 -1
  216. package/lib/{hooks → src/hooks}/useLayoutEffectBrowser.d.ts +1 -1
  217. package/lib/src/hooks/useLayoutEffectBrowser.js +1 -1
  218. package/lib/src/hooks/useLayoutEffectBrowser.js.map +1 -1
  219. package/lib/src/hooks/useScrollPosition.js +1 -1
  220. package/lib/src/hooks/useScrollPosition.js.map +1 -1
  221. package/lib/src/themes/bowelbabe.js +1 -1
  222. package/lib/src/themes/bowelbabe.js.map +1 -1
  223. package/lib/src/themes/cruk.js +1 -1
  224. package/lib/src/themes/cruk.js.map +1 -1
  225. package/lib/src/themes/rfl.js +1 -1
  226. package/lib/src/themes/rfl.js.map +1 -1
  227. package/lib/src/themes/su2c.js +1 -1
  228. package/lib/src/themes/su2c.js.map +1 -1
  229. package/lib/{types.d.ts → src/types.d.ts} +1 -3
  230. package/lib/src/utils/Helper.js +1 -1
  231. package/lib/src/utils/Helper.js.map +1 -1
  232. package/lib/src/utils/debounce.d.ts +2 -0
  233. package/lib/src/utils/debounce.js +1 -1
  234. package/lib/src/utils/debounce.js.map +1 -1
  235. package/lib/src/utils/themeUtils.js +1 -1
  236. package/lib/src/utils/themeUtils.js.map +1 -1
  237. package/package.json +23 -30
  238. package/lib/utils/debounce.d.ts +0 -2
  239. /package/lib/{components → src/components}/AddressLookup/AddressLookUp.test.cypress.d.ts +0 -0
  240. /package/lib/{components → src/components}/AddressLookup/styles.d.ts +0 -0
  241. /package/lib/{components → src/components}/AllThemesWrapper.d.ts +0 -0
  242. /package/lib/{components → src/components}/Avatar/Avatar.test.cypress.d.ts +0 -0
  243. /package/lib/{components → src/components}/Avatar/index.d.ts +0 -0
  244. /package/lib/{components → src/components}/Avatar/styles.d.ts +0 -0
  245. /package/lib/{components → src/components}/Badge/Badge.test.cypress.d.ts +0 -0
  246. /package/lib/{components → src/components}/Badge/index.d.ts +0 -0
  247. /package/lib/{components → src/components}/Badge/styles.d.ts +0 -0
  248. /package/lib/{components → src/components}/Box/Box.test.cypress.d.ts +0 -0
  249. /package/lib/{components → src/components}/Box/index.d.ts +0 -0
  250. /package/lib/{components → src/components}/Box/styles.d.ts +0 -0
  251. /package/lib/{components → src/components}/Button/Button.test.cypress.d.ts +0 -0
  252. /package/lib/{components → src/components}/Button/index.d.ts +0 -0
  253. /package/lib/{components → src/components}/Button/styles.d.ts +0 -0
  254. /package/lib/{components → src/components}/Carousel/Carousel.test.cypress.d.ts +0 -0
  255. /package/lib/{components → src/components}/Carousel/Dots.d.ts +0 -0
  256. /package/lib/{components → src/components}/Carousel/index.d.ts +0 -0
  257. /package/lib/{components → src/components}/Carousel/styles.d.ts +0 -0
  258. /package/lib/{components → src/components}/Checkbox/CheckBox.test.cypress.d.ts +0 -0
  259. /package/lib/{components → src/components}/Checkbox/index.d.ts +0 -0
  260. /package/lib/{components → src/components}/Checkbox/styles.d.ts +0 -0
  261. /package/lib/{components → src/components}/Collapse/Collapse.test.cypress.d.ts +0 -0
  262. /package/lib/{components → src/components}/Collapse/index.d.ts +0 -0
  263. /package/lib/{components → src/components}/Collapse/styles.d.ts +0 -0
  264. /package/lib/{components → src/components}/DateField/DateField.test.cypress.d.ts +0 -0
  265. /package/lib/{components → src/components}/DateField/index.d.ts +0 -0
  266. /package/lib/{components → src/components}/DateField/styles.d.ts +0 -0
  267. /package/lib/{components → src/components}/Divider.d.ts +0 -0
  268. /package/lib/{components → src/components}/ErrorText/ErrorText.test.cypress.d.ts +0 -0
  269. /package/lib/{components → src/components}/ErrorText/index.d.ts +0 -0
  270. /package/lib/{components → src/components}/ErrorText/styles.d.ts +0 -0
  271. /package/lib/{components → src/components}/Flex.d.ts +0 -0
  272. /package/lib/{components → src/components}/Fontface.d.ts +0 -0
  273. /package/lib/{components → src/components}/Footer/Footer.test.cypress.d.ts +0 -0
  274. /package/lib/{components → src/components}/Footer/index.d.ts +0 -0
  275. /package/lib/{components → src/components}/Footer/styles.d.ts +0 -0
  276. /package/lib/{components → src/components}/GlobalStyle.d.ts +0 -0
  277. /package/lib/{components → src/components}/GlobalStyleNoFontFace.d.ts +0 -0
  278. /package/lib/{components → src/components}/Header/Header.test.cypress.d.ts +0 -0
  279. /package/lib/{components → src/components}/Header/index.d.ts +0 -0
  280. /package/lib/{components → src/components}/Header/styles.d.ts +0 -0
  281. /package/lib/{components → src/components}/Heading/Heading.test.cypress.d.ts +0 -0
  282. /package/lib/{components → src/components}/Heading/index.d.ts +0 -0
  283. /package/lib/{components → src/components}/Heading/styles.d.ts +0 -0
  284. /package/lib/{components → src/components}/IconFa/IconFa.test.cypress.d.ts +0 -0
  285. /package/lib/{components → src/components}/IconFa/index.d.ts +0 -0
  286. /package/lib/{components → src/components}/IconFa/styles.d.ts +0 -0
  287. /package/lib/{components → src/components}/InfoBox/InfoBox.test.cypress.d.ts +0 -0
  288. /package/lib/{components → src/components}/InfoBox/index.d.ts +0 -0
  289. /package/lib/{components → src/components}/InfoBox/styles.d.ts +0 -0
  290. /package/lib/{components → src/components}/LabelWrapper/index.d.ts +0 -0
  291. /package/lib/{components → src/components}/LabelWrapper/styles.d.ts +0 -0
  292. /package/lib/{components → src/components}/LegendWrapper/LegendWrapper.test.cypress.d.ts +0 -0
  293. /package/lib/{components → src/components}/LegendWrapper/index.d.ts +0 -0
  294. /package/lib/{components → src/components}/LegendWrapper/styles.d.ts +0 -0
  295. /package/lib/{components → src/components}/Link/Link.test.cypress.d.ts +0 -0
  296. /package/lib/{components → src/components}/Link/index.d.ts +0 -0
  297. /package/lib/{components → src/components}/Link/styles.d.ts +0 -0
  298. /package/lib/{components → src/components}/Loader/Loader.test.cypress.d.ts +0 -0
  299. /package/lib/{components → src/components}/Loader/index.d.ts +0 -0
  300. /package/lib/{components → src/components}/Loader/styles.d.ts +0 -0
  301. /package/lib/{components → src/components}/Modal/Modal.test.cypress.d.ts +0 -0
  302. /package/lib/{components → src/components}/Modal/index.d.ts +0 -0
  303. /package/lib/{components → src/components}/Modal/styles.d.ts +0 -0
  304. /package/lib/{components → src/components}/Pagination/Pagination.test.cypress.d.ts +0 -0
  305. /package/lib/{components → src/components}/Pagination/index.d.ts +0 -0
  306. /package/lib/{components → src/components}/Pagination/styles.d.ts +0 -0
  307. /package/lib/{components → src/components}/PopOver/PopOver.test.cypress.d.ts +0 -0
  308. /package/lib/{components → src/components}/PopOver/index.d.ts +0 -0
  309. /package/lib/{components → src/components}/PopOver/styles.d.ts +0 -0
  310. /package/lib/{components → src/components}/ProgressBar/ProgressBar.test.cypress.d.ts +0 -0
  311. /package/lib/{components → src/components}/ProgressBar/index.d.ts +0 -0
  312. /package/lib/{components → src/components}/ProgressBar/styles.d.ts +0 -0
  313. /package/lib/{components → src/components}/Radio/Radio.test.cypress.d.ts +0 -0
  314. /package/lib/{components → src/components}/Radio/index.d.ts +0 -0
  315. /package/lib/{components → src/components}/Radio/styles.d.ts +0 -0
  316. /package/lib/{components → src/components}/RadioConsent/RadioConsent.test.cypress.d.ts +0 -0
  317. /package/lib/{components → src/components}/RadioConsent/index.d.ts +0 -0
  318. /package/lib/{components → src/components}/RadioConsent/styles.d.ts +0 -0
  319. /package/lib/{components → src/components}/Select/Select.test.cypress.d.ts +0 -0
  320. /package/lib/{components → src/components}/Select/index.d.ts +0 -0
  321. /package/lib/{components → src/components}/Select/styles.d.ts +0 -0
  322. /package/lib/{components → src/components}/Spacing/index.d.ts +0 -0
  323. /package/lib/{components → src/components}/Step/Step.test.cypress.d.ts +0 -0
  324. /package/lib/{components → src/components}/Step/index.d.ts +0 -0
  325. /package/lib/{components → src/components}/Step/styles.d.ts +0 -0
  326. /package/lib/{components → src/components}/Text/Text.test.cypress.d.ts +0 -0
  327. /package/lib/{components → src/components}/Text/index.d.ts +0 -0
  328. /package/lib/{components → src/components}/Text/styles.d.ts +0 -0
  329. /package/lib/{components → src/components}/TextAreaField/TextAreaField.test.cypress.d.ts +0 -0
  330. /package/lib/{components → src/components}/TextAreaField/index.d.ts +0 -0
  331. /package/lib/{components → src/components}/TextAreaField/styles.d.ts +0 -0
  332. /package/lib/{components → src/components}/TextField/TextField.test.cypress.d.ts +0 -0
  333. /package/lib/{components → src/components}/TextField/index.d.ts +0 -0
  334. /package/lib/{components → src/components}/TextField/styles.d.ts +0 -0
  335. /package/lib/{components → src/components}/ThemeCheatSheet.d.ts +0 -0
  336. /package/lib/{components → src/components}/Totaliser/Totaliser.test.cypress.d.ts +0 -0
  337. /package/lib/{components → src/components}/Totaliser/index.d.ts +0 -0
  338. /package/lib/{components → src/components}/Totaliser/styles.d.ts +0 -0
  339. /package/lib/{components → src/components}/UserBlock/UserBlock.test.cypress.d.ts +0 -0
  340. /package/lib/{components → src/components}/UserBlock/index.d.ts +0 -0
  341. /package/lib/{components → src/components}/UserBlock/styles.d.ts +0 -0
  342. /package/lib/{components → src/components}/index.d.ts +0 -0
  343. /package/lib/{hooks → src/hooks}/useKey.d.ts +0 -0
  344. /package/lib/{hooks → src/hooks}/useScrollPosition.d.ts +0 -0
  345. /package/lib/{themes → src/themes}/bowelbabe.d.ts +0 -0
  346. /package/lib/{themes → src/themes}/cruk.d.ts +0 -0
  347. /package/lib/{themes → src/themes}/rfl.d.ts +0 -0
  348. /package/lib/{themes → src/themes}/su2c.d.ts +0 -0
  349. /package/lib/{utils → src/utils}/Helper.d.ts +0 -0
  350. /package/lib/{utils → src/utils}/__tests__/testHelpers.test.d.ts +0 -0
  351. /package/lib/{utils → src/utils}/themeUtils.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"su2c.js","sources":["../../../src/themes/su2c.ts"],"sourcesContent":["import {\n type UtilitiesType,\n type SiteConfigType,\n type AvatarType,\n type ButtonType,\n type BreakPointType,\n type TokenColorsType,\n type ColorsType,\n type SpacingType,\n type FontSizesType,\n type TypographyType,\n type ThemeType,\n type ShadowsType,\n} from \"../types\";\n\nimport { crukTheme as defaultTheme } from \"./cruk\";\n\nexport const UTILITIES: UtilitiesType = {\n ...defaultTheme.utilities,\n useBackgroundStyleLinks: true,\n};\n\nexport const SITE_CONFIG: SiteConfigType = {\n ...defaultTheme.siteConfig,\n logoSrc: \"https://rcl.assets.cancerresearchuk.org/images/logos/su2c-160.png\",\n footerCopyText:\n \"Stand Up To Cancer and Stand Up To Cancer Brand Marks are registered trademarks of the Entertainment Industry Foundation. Cancer Research UK is a registered charity in England and Wales (1089464), Scotland(SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F). Registered address: 2 Redman Place, London, E20 1JQ. Donations will be made to Cancer Research UK in support of the Stand Up To Cancer campaign.\",\n};\n\nexport const AVATAR: AvatarType = {\n ...defaultTheme.avatar,\n path: `${SITE_CONFIG.assetPath}images/avatar/su2c/`,\n};\n\nexport const BUTTON: ButtonType = {\n ...defaultTheme.button,\n borderRadius: \"1.5rem\",\n borderRadiusLarge: \"2rem\",\n textTransform: \"uppercase\",\n};\n\nexport const BREAKPOINT: BreakPointType = {\n ...defaultTheme.breakpoint,\n};\n\nexport const TOKEN_COLORS: TokenColorsType = {\n ...defaultTheme.tokenColors,\n su2cOrange5: \"#FF8E00\",\n su2cOrange3: \"#FFB04D\",\n su2cOrange2: \"#FFDAAD\",\n su2cOrange1: \"#FFF6EB\",\n su2cBlack: \"#231F20\",\n su2cGrey1: \"#555759\",\n su2cGrey2: \"#A5A5A9\",\n su2cRed: \"#EF4135\",\n su2cYellow: \"#FFC325\",\n};\n\nexport const COLORS: ColorsType = {\n ...defaultTheme.colors,\n primary: TOKEN_COLORS.su2cOrange5,\n secondary: TOKEN_COLORS.su2cOrange5,\n tertiary: TOKEN_COLORS.su2cBlack,\n textHeaderDefault: TOKEN_COLORS.su2cBlack,\n\n textOnPrimary: TOKEN_COLORS.su2cBlack,\n\n avatarBorder: TOKEN_COLORS.su2cBlack,\n progressBar: TOKEN_COLORS.su2cOrange5,\n progressBarSecondary: TOKEN_COLORS.su2cRed,\n circularProgress: TOKEN_COLORS.su2cOrange3,\n circularProgressSecondary: TOKEN_COLORS.su2cRed,\n linkColor: TOKEN_COLORS.su2cOrange5,\n linkColorHover: TOKEN_COLORS.su2cRed,\n linkColorSecondary: TOKEN_COLORS.su2cOrange5,\n linkColorSecondaryHover: TOKEN_COLORS.su2cRed,\n\n backgroundLightColor: TOKEN_COLORS.su2cOrange2,\n\n loaderColor1: TOKEN_COLORS.su2cOrange5,\n loaderColor2: TOKEN_COLORS.su2cRed,\n loaderColor3: TOKEN_COLORS.su2cBlack,\n\n paginationText: TOKEN_COLORS.su2cBlack,\n paginationBackground: TOKEN_COLORS.su2cBlack,\n\n totaliserBubbleColor: TOKEN_COLORS.su2cBlack,\n totaliserBubbleTextColor: TOKEN_COLORS.white,\n totaliserBubbleTotalColor: TOKEN_COLORS.white,\n\n collapseHeaderColor: TOKEN_COLORS.su2cOrange5,\n check: TOKEN_COLORS.su2cBlack,\n\n headerTaglineText: TOKEN_COLORS.su2cOrange5,\n\n buttonPrimaryBackground: TOKEN_COLORS.su2cOrange5,\n buttonPrimaryText: TOKEN_COLORS.su2cBlack,\n buttonPrimaryBorder: TOKEN_COLORS.su2cOrange5,\n buttonPrimaryBackgroundHover: TOKEN_COLORS.su2cOrange3,\n buttonPrimaryTextHover: TOKEN_COLORS.su2cBlack,\n buttonPrimaryBorderHover: TOKEN_COLORS.su2cOrange3,\n buttonPrimaryDisabledBackground: TOKEN_COLORS.grey_200,\n buttonPrimaryDisabledText: TOKEN_COLORS.grey_600,\n buttonPrimaryDisabledBorder: TOKEN_COLORS.grey_200,\n\n buttonSecondaryBackground: TOKEN_COLORS.white,\n buttonSecondaryText: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBorder: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBackgroundHover: TOKEN_COLORS.su2cOrange1,\n buttonSecondaryTextHover: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBorderHover: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryDisabledBackground: TOKEN_COLORS.white,\n buttonSecondaryDisabledText: TOKEN_COLORS.grey_200,\n buttonSecondaryDisabledBorder: TOKEN_COLORS.grey_200,\n\n buttonTertiaryText: TOKEN_COLORS.su2cOrange5,\n buttonTertiaryTextHover: TOKEN_COLORS.su2cOrange5,\n buttonTertiaryDisabledText: TOKEN_COLORS.grey_200,\n};\n\nexport const SPACING: SpacingType = {\n ...defaultTheme.spacing,\n};\n\nexport const SHADOWS: ShadowsType = {\n ...defaultTheme.shadows,\n};\n\nexport const FONT_SIZES: FontSizesType = {\n ...defaultTheme.fontSizes,\n};\n\nexport const TYPOGRAPHY: TypographyType = {\n ...defaultTheme.typography,\n customFonts: [\n {\n family: \"itc_avant_garde_pro\",\n urlWoff: `${SITE_CONFIG.assetPath}fonts/itc_-_itcavantgardepro-bold-webfont.woff`,\n fontWeight: 700,\n },\n ],\n fontFamilyHeadings: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyLinks: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyButtons: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyBase:\n \"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif\",\n fontFamilyLabel:\n \"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif\",\n linkTextDecoration: \"none\",\n headerLineHeight: \"1.5em\",\n headerTextTransform: \"uppercase\",\n fontWeightBase: 400,\n fontWeightLinks: 700,\n fontWeightButtons: 700,\n fontWeightLabels: 600,\n LinkPrimaryTextDecoration: \"none\",\n LinkLetterSpacing: \"0px\",\n};\n\nexport const su2cTheme: ThemeType = {\n name: \"su2c\",\n avatar: AVATAR,\n breakpoint: BREAKPOINT,\n button: BUTTON,\n tokenColors: TOKEN_COLORS,\n colors: COLORS,\n spacing: SPACING,\n fontSizes: FONT_SIZES,\n siteConfig: SITE_CONFIG,\n typography: TYPOGRAPHY,\n shadows: SHADOWS,\n utilities: UTILITIES,\n};\n\nexport default su2cTheme;\n"],"names":["UTILITIES","__assign","defaultTheme","utilities","useBackgroundStyleLinks","SITE_CONFIG","siteConfig","logoSrc","footerCopyText","AVATAR","avatar","path","assetPath","BUTTON","button","borderRadius","borderRadiusLarge","textTransform","BREAKPOINT","breakpoint","TOKEN_COLORS","tokenColors","su2cOrange5","su2cOrange3","su2cOrange2","su2cOrange1","su2cBlack","su2cGrey1","su2cGrey2","su2cRed","su2cYellow","COLORS","colors","primary","secondary","tertiary","textHeaderDefault","textOnPrimary","avatarBorder","progressBar","progressBarSecondary","circularProgress","circularProgressSecondary","linkColor","linkColorHover","linkColorSecondary","linkColorSecondaryHover","backgroundLightColor","loaderColor1","loaderColor2","loaderColor3","paginationText","paginationBackground","totaliserBubbleColor","totaliserBubbleTextColor","white","totaliserBubbleTotalColor","collapseHeaderColor","check","headerTaglineText","buttonPrimaryBackground","buttonPrimaryText","buttonPrimaryBorder","buttonPrimaryBackgroundHover","buttonPrimaryTextHover","buttonPrimaryBorderHover","buttonPrimaryDisabledBackground","grey_200","buttonPrimaryDisabledText","grey_600","buttonPrimaryDisabledBorder","buttonSecondaryBackground","buttonSecondaryText","buttonSecondaryBorder","buttonSecondaryBackgroundHover","buttonSecondaryTextHover","buttonSecondaryBorderHover","buttonSecondaryDisabledBackground","buttonSecondaryDisabledText","buttonSecondaryDisabledBorder","buttonTertiaryText","buttonTertiaryTextHover","buttonTertiaryDisabledText","SPACING","spacing","SHADOWS","shadows","FONT_SIZES","fontSizes","TYPOGRAPHY","typography","customFonts","family","urlWoff","concat","fontWeight","fontFamilyHeadings","fontFamilyLinks","fontFamilyButtons","fontFamilyBase","fontFamilyLabel","linkTextDecoration","headerLineHeight","headerTextTransform","fontWeightBase","fontWeightLinks","fontWeightButtons","fontWeightLabels","LinkPrimaryTextDecoration","LinkLetterSpacing","su2cTheme","name"],"mappings":"uGAiBO,IAAMA,EAASC,EAAAA,EAAA,CAAA,EACjBC,EAAaC,WAAS,CACzBC,yBAAyB,IAGdC,EACRJ,EAAAA,EAAA,CAAA,EAAAC,EAAaI,YAAU,CAC1BC,QAAS,oEACTC,eACE,sgBAGSC,EACRR,EAAAA,EAAA,CAAA,EAAAC,EAAaQ,QAAM,CACtBC,KAAM,UAAGN,EAAYO,UAAS,yBAGnBC,EAAMZ,EAAAA,EAAA,CAAA,EACdC,EAAaY,SAChBC,aAAc,SACdC,kBAAmB,OACnBC,cAAe,cAGJC,EAAUjB,EAAA,GAClBC,EAAaiB,YAGLC,EAAYnB,EAAAA,EAAA,CAAA,EACpBC,EAAamB,cAChBC,YAAa,UACbC,YAAa,UACbC,YAAa,UACbC,YAAa,UACbC,UAAW,UACXC,UAAW,UACXC,UAAW,UACXC,QAAS,UACTC,WAAY,YAGDC,EAAM9B,EAAAA,EAAA,CAAA,EACdC,EAAa8B,QAChB,CAAAC,QAASb,EAAaE,YACtBY,UAAWd,EAAaE,YACxBa,SAAUf,EAAaM,UACvBU,kBAAmBhB,EAAaM,UAEhCW,cAAejB,EAAaM,UAE5BY,aAAclB,EAAaM,UAC3Ba,YAAanB,EAAaE,YAC1BkB,qBAAsBpB,EAAaS,QACnCY,iBAAkBrB,EAAaG,YAC/BmB,0BAA2BtB,EAAaS,QACxCc,UAAWvB,EAAaE,YACxBsB,eAAgBxB,EAAaS,QAC7BgB,mBAAoBzB,EAAaE,YACjCwB,wBAAyB1B,EAAaS,QAEtCkB,qBAAsB3B,EAAaI,YAEnCwB,aAAc5B,EAAaE,YAC3B2B,aAAc7B,EAAaS,QAC3BqB,aAAc9B,EAAaM,UAE3ByB,eAAgB/B,EAAaM,UAC7B0B,qBAAsBhC,EAAaM,UAEnC2B,qBAAsBjC,EAAaM,UACnC4B,yBAA0BlC,EAAamC,MACvCC,0BAA2BpC,EAAamC,MAExCE,oBAAqBrC,EAAaE,YAClCoC,MAAOtC,EAAaM,UAEpBiC,kBAAmBvC,EAAaE,YAEhCsC,wBAAyBxC,EAAaE,YACtCuC,kBAAmBzC,EAAaM,UAChCoC,oBAAqB1C,EAAaE,YAClCyC,6BAA8B3C,EAAaG,YAC3CyC,uBAAwB5C,EAAaM,UACrCuC,yBAA0B7C,EAAaG,YACvC2C,gCAAiC9C,EAAa+C,SAC9CC,0BAA2BhD,EAAaiD,SACxCC,4BAA6BlD,EAAa+C,SAE1CI,0BAA2BnD,EAAamC,MACxCiB,oBAAqBpD,EAAaE,YAClCmD,sBAAuBrD,EAAaE,YACpCoD,+BAAgCtD,EAAaK,YAC7CkD,yBAA0BvD,EAAaE,YACvCsD,2BAA4BxD,EAAaE,YACzCuD,kCAAmCzD,EAAamC,MAChDuB,4BAA6B1D,EAAa+C,SAC1CY,8BAA+B3D,EAAa+C,SAE5Ca,mBAAoB5D,EAAaE,YACjC2D,wBAAyB7D,EAAaE,YACtC4D,2BAA4B9D,EAAa+C,WAG9BgB,EAAOlF,EAAA,GACfC,EAAakF,SAGLC,EAAOpF,EAAA,GACfC,EAAaoF,SAGLC,EAAUtF,EAAA,GAClBC,EAAasF,WAGLC,EAAUxF,EAAAA,EAAA,CAAA,EAClBC,EAAawF,YAChB,CAAAC,YAAa,CACX,CACEC,OAAQ,sBACRC,QAAS,GAAAC,OAAGzF,EAAYO,UAAyD,kDACjFmF,WAAY,MAGhBC,mBAAoB,uCACpBC,gBAAiB,uCACjBC,kBAAmB,uCACnBC,eACE,2EACFC,gBACE,2EACFC,mBAAoB,OACpBC,iBAAkB,QAClBC,oBAAqB,YACrBC,eAAgB,IAChBC,gBAAiB,IACjBC,kBAAmB,IACnBC,iBAAkB,IAClBC,0BAA2B,OAC3BC,kBAAmB,QAGRC,EAAuB,CAClCC,KAAM,OACNrG,OAAQD,EACRU,WAAYD,EACZJ,OAAQD,EACRQ,YAAaD,EACbY,OAAQD,EACRqD,QAASD,EACTK,UAAWD,EACXjF,WAAYD,EACZqF,WAAYD,EACZH,QAASD,EACTlF,UAAWH"}
1
+ {"version":3,"file":"su2c.js","sources":["../../../src/themes/su2c.ts"],"sourcesContent":["import {\n type UtilitiesType,\n type SiteConfigType,\n type AvatarType,\n type ButtonType,\n type BreakPointType,\n type TokenColorsType,\n type ColorsType,\n type SpacingType,\n type FontSizesType,\n type TypographyType,\n type ThemeType,\n type ShadowsType,\n} from \"../types\";\n\nimport { crukTheme as defaultTheme } from \"./cruk\";\n\nexport const UTILITIES: UtilitiesType = {\n ...defaultTheme.utilities,\n useBackgroundStyleLinks: true,\n};\n\nexport const SITE_CONFIG: SiteConfigType = {\n ...defaultTheme.siteConfig,\n logoSrc: \"https://rcl.assets.cancerresearchuk.org/images/logos/su2c-160.png\",\n footerCopyText:\n \"Stand Up To Cancer and Stand Up To Cancer Brand Marks are registered trademarks of the Entertainment Industry Foundation. Cancer Research UK is a registered charity in England and Wales (1089464), Scotland(SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F). Registered address: 2 Redman Place, London, E20 1JQ. Donations will be made to Cancer Research UK in support of the Stand Up To Cancer campaign.\",\n};\n\nexport const AVATAR: AvatarType = {\n ...defaultTheme.avatar,\n path: `${SITE_CONFIG.assetPath}images/avatar/su2c/`,\n};\n\nexport const BUTTON: ButtonType = {\n ...defaultTheme.button,\n borderRadius: \"1.5rem\",\n borderRadiusLarge: \"2rem\",\n textTransform: \"uppercase\",\n};\n\nexport const BREAKPOINT: BreakPointType = {\n ...defaultTheme.breakpoint,\n};\n\nexport const TOKEN_COLORS: TokenColorsType = {\n ...defaultTheme.tokenColors,\n su2cOrange5: \"#FF8E00\",\n su2cOrange3: \"#FFB04D\",\n su2cOrange2: \"#FFDAAD\",\n su2cOrange1: \"#FFF6EB\",\n su2cBlack: \"#231F20\",\n su2cGrey1: \"#555759\",\n su2cGrey2: \"#A5A5A9\",\n su2cRed: \"#EF4135\",\n su2cYellow: \"#FFC325\",\n};\n\nexport const COLORS: ColorsType = {\n ...defaultTheme.colors,\n primary: TOKEN_COLORS.su2cOrange5,\n secondary: TOKEN_COLORS.su2cOrange5,\n tertiary: TOKEN_COLORS.su2cBlack,\n textHeaderDefault: TOKEN_COLORS.su2cBlack,\n\n textOnPrimary: TOKEN_COLORS.su2cBlack,\n\n avatarBorder: TOKEN_COLORS.su2cBlack,\n progressBar: TOKEN_COLORS.su2cOrange5,\n progressBarSecondary: TOKEN_COLORS.su2cRed,\n circularProgress: TOKEN_COLORS.su2cOrange3,\n circularProgressSecondary: TOKEN_COLORS.su2cRed,\n linkColor: TOKEN_COLORS.su2cOrange5,\n linkColorHover: TOKEN_COLORS.su2cRed,\n linkColorSecondary: TOKEN_COLORS.su2cOrange5,\n linkColorSecondaryHover: TOKEN_COLORS.su2cRed,\n\n backgroundLightColor: TOKEN_COLORS.su2cOrange2,\n\n loaderColor1: TOKEN_COLORS.su2cOrange5,\n loaderColor2: TOKEN_COLORS.su2cRed,\n loaderColor3: TOKEN_COLORS.su2cBlack,\n\n paginationText: TOKEN_COLORS.su2cBlack,\n paginationBackground: TOKEN_COLORS.su2cBlack,\n\n totaliserBubbleColor: TOKEN_COLORS.su2cBlack,\n totaliserBubbleTextColor: TOKEN_COLORS.white,\n totaliserBubbleTotalColor: TOKEN_COLORS.white,\n\n collapseHeaderColor: TOKEN_COLORS.su2cOrange5,\n check: TOKEN_COLORS.su2cBlack,\n\n headerTaglineText: TOKEN_COLORS.su2cOrange5,\n\n buttonPrimaryBackground: TOKEN_COLORS.su2cOrange5,\n buttonPrimaryText: TOKEN_COLORS.su2cBlack,\n buttonPrimaryBorder: TOKEN_COLORS.su2cOrange5,\n buttonPrimaryBackgroundHover: TOKEN_COLORS.su2cOrange3,\n buttonPrimaryTextHover: TOKEN_COLORS.su2cBlack,\n buttonPrimaryBorderHover: TOKEN_COLORS.su2cOrange3,\n buttonPrimaryDisabledBackground: TOKEN_COLORS.grey_200,\n buttonPrimaryDisabledText: TOKEN_COLORS.grey_600,\n buttonPrimaryDisabledBorder: TOKEN_COLORS.grey_200,\n\n buttonSecondaryBackground: TOKEN_COLORS.white,\n buttonSecondaryText: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBorder: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBackgroundHover: TOKEN_COLORS.su2cOrange1,\n buttonSecondaryTextHover: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryBorderHover: TOKEN_COLORS.su2cOrange5,\n buttonSecondaryDisabledBackground: TOKEN_COLORS.white,\n buttonSecondaryDisabledText: TOKEN_COLORS.grey_200,\n buttonSecondaryDisabledBorder: TOKEN_COLORS.grey_200,\n\n buttonTertiaryText: TOKEN_COLORS.su2cOrange5,\n buttonTertiaryTextHover: TOKEN_COLORS.su2cOrange5,\n buttonTertiaryDisabledText: TOKEN_COLORS.grey_200,\n};\n\nexport const SPACING: SpacingType = {\n ...defaultTheme.spacing,\n};\n\nexport const SHADOWS: ShadowsType = {\n ...defaultTheme.shadows,\n};\n\nexport const FONT_SIZES: FontSizesType = {\n ...defaultTheme.fontSizes,\n};\n\nexport const TYPOGRAPHY: TypographyType = {\n ...defaultTheme.typography,\n customFonts: [\n {\n family: \"itc_avant_garde_pro\",\n urlWoff: `${SITE_CONFIG.assetPath}fonts/itc_-_itcavantgardepro-bold-webfont.woff`,\n fontWeight: 700,\n },\n ],\n fontFamilyHeadings: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyLinks: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyButtons: \"itc_avant_garde_pro,Arial,sans-serif\",\n fontFamilyBase:\n \"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif\",\n fontFamilyLabel:\n \"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif\",\n linkTextDecoration: \"none\",\n headerLineHeight: \"1.5em\",\n headerTextTransform: \"uppercase\",\n fontWeightBase: 400,\n fontWeightLinks: 700,\n fontWeightButtons: 700,\n fontWeightLabels: 600,\n LinkPrimaryTextDecoration: \"none\",\n LinkLetterSpacing: \"0px\",\n};\n\nexport const su2cTheme: ThemeType = {\n name: \"su2c\",\n avatar: AVATAR,\n breakpoint: BREAKPOINT,\n button: BUTTON,\n tokenColors: TOKEN_COLORS,\n colors: COLORS,\n spacing: SPACING,\n fontSizes: FONT_SIZES,\n siteConfig: SITE_CONFIG,\n typography: TYPOGRAPHY,\n shadows: SHADOWS,\n utilities: UTILITIES,\n};\n\nexport default su2cTheme;\n"],"names":["defaultTheme","utilities","SITE_CONFIG","siteConfig","avatar","assetPath","button","breakpoint","TOKEN_COLORS","tokenColors","su2cOrange5","su2cOrange3","su2cOrange2","su2cOrange1","su2cBlack","su2cRed","colors","white","grey_200","grey_600","spacing","shadows","fontSizes","TYPOGRAPHY","typography","customFonts","family","urlWoff","fontWeight","su2cTheme"],"mappings":"sCAkBKA,EAAaC,UAIL,MAAAC,EAA8B,IACtCF,EAAaG,YAObH,EAAaI,OACPF,EAAYG,UAIlBL,EAAaM,OAObN,EAAaO,WAGL,MAAAC,EAAgC,IACxCR,EAAaS,YAChBC,YAAa,UACbC,YAAa,UACbC,YAAa,UACbC,YAAa,UACbC,UAAW,UAGXC,QAAS,WAKNf,EAAagB,OACPR,EAAaE,YACXF,EAAaE,YACdF,EAAaM,UACJN,EAAaM,UAEjBN,EAAaM,UAEdN,EAAaM,UACdN,EAAaE,YACJF,EAAaO,QACjBP,EAAaG,YACJH,EAAaO,QAC7BP,EAAaE,YACRF,EAAaO,QACTP,EAAaE,YACRF,EAAaO,QAEhBP,EAAaI,YAErBJ,EAAaE,YACbF,EAAaO,QACbP,EAAaM,UAEXN,EAAaM,UACPN,EAAaM,UAEbN,EAAaM,UACTN,EAAaS,MACZT,EAAaS,MAEnBT,EAAaE,YAC3BF,EAAaM,UAEDN,EAAaE,YAEPF,EAAaE,YACnBF,EAAaM,UACXN,EAAaE,YACJF,EAAaG,YACnBH,EAAaM,UACXN,EAAaG,YACNH,EAAaU,SACnBV,EAAaW,SACXX,EAAaU,SAEfV,EAAaS,MACnBT,EAAaE,YACXF,EAAaE,YACJF,EAAaK,YACnBL,EAAaE,YACXF,EAAaE,YACNF,EAAaS,MACnBT,EAAaU,SACXV,EAAaU,SAExBV,EAAaE,YACRF,EAAaE,YACVF,EAAaU,SAItClB,EAAaoB,QAIbpB,EAAaqB,QAIbrB,EAAasB,UAGL,MAAAC,EAA6B,IACrCvB,EAAawB,WAChBC,YAAa,CACX,CACEC,OAAQ,sBACRC,QAAS,GAAGzB,EAAYG,0DACxBuB,WAAY,OAqBLC,EAAuB,CAUlCL,WAAYD"}
@@ -1,7 +1,5 @@
1
1
  export type FontSizeType = "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl" | "xxxxl";
2
- export type FontSizesType = {
3
- [key in FontSizeType]: string;
4
- };
2
+ export type FontSizesType = Record<FontSizeType, string>;
5
3
  export type UtilitiesType = {
6
4
  contentMaxWidth: string;
7
5
  useDefaultFocusRect: boolean;
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"../../node_modules/tslib/tslib.es6.js";var t="undefined"!=typeof window,e=function(r,t){var e=r/t*100;return e===Number.POSITIVE_INFINITY||Number.isNaN(e)?0:Math.floor(e<1?Math.ceil(e):Math.floor(e))},n=function(r){if(!r)return"";var t=r.toString().split(".");return"".concat(t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")).concat(t[1]?".".concat(t[1]):"")},o=function(r){var t=Number.parseFloat((Math.round(100*r)/100).toString()).toFixed(2);return Number.isNaN(parseFloat(t))||Number.isNaN(r)?"0":n(t)},a=function(t){return Object.entries(t).reduce((function(t,e){var n,o=e[0],a=e[1],i="string"==typeof a?a.replace(/,/g,""):a;return r(r({},t),((n={})[o]=i,n))}),{})};export{e as calculatePercentRounded,o as formatMoneyWithCommas,t as isBrowser,n as numberWithCommas,a as removeCommasFromObjectStringValues};
1
+ const e="undefined"!=typeof window,r=(e,r)=>{const t=e/r*100;return t===Number.POSITIVE_INFINITY||Number.isNaN(t)?0:Math.floor(t<1?Math.ceil(t):Math.floor(t))},t=e=>{if(!e)return"";const r=e.toString().split(".");return`${r[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")}${r[1]?`.${r[1]}`:""}`},o=e=>{const r=Number.parseFloat((Math.round(100*e)/100).toString()).toFixed(2);return Number.isNaN(parseFloat(r))||Number.isNaN(e)?"0":t(r)},n=e=>Object.entries(e).reduce(((e,[r,t])=>{const o="string"==typeof t?t.replace(/,/g,""):t;return{...e,[r]:o}}),{});export{r as calculatePercentRounded,o as formatMoneyWithCommas,e as isBrowser,t as numberWithCommas,n as removeCommasFromObjectStringValues};
2
2
  //# sourceMappingURL=Helper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Helper.js","sources":["../../../src/utils/Helper.ts"],"sourcesContent":["export const isBrowser = typeof window !== \"undefined\";\n\nexport const calculatePercentRounded = (\n value: number,\n target: number,\n): number => {\n const percent = (value / target) * 100;\n if (percent === Number.POSITIVE_INFINITY || Number.isNaN(percent)) {\n return 0;\n }\n return Math.floor(percent < 1 ? Math.ceil(percent) : Math.floor(percent));\n};\n\nexport const formatMoney = (value: number): string => {\n const parsed = Number.parseFloat(\n (Math.round(value * 100) / 100).toString(),\n ).toFixed(2);\n if (Number.isNaN(parseFloat(parsed)) || Number.isNaN(value)) {\n return \"0\";\n }\n return parsed;\n};\n\nexport const numberWithCommas = (n?: number | string): string => {\n if (!n) {\n return \"\";\n }\n const parts = n.toString().split(\".\");\n\n return `${parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}${\n parts[1] ? `.${parts[1]}` : \"\"\n }`;\n};\n\nexport const formatMoneyWithCommas = (value: number): string => {\n const parsed = Number.parseFloat(\n (Math.round(value * 100) / 100).toString(),\n ).toFixed(2);\n if (Number.isNaN(parseFloat(parsed)) || Number.isNaN(value)) {\n return \"0\";\n }\n return numberWithCommas(parsed);\n};\n\nexport const camelize = (str: string): string =>\n str\n .toString()\n .replace(/(?:^\\w|[A-Z]|\\b\\w)/g, (word: string, index: number) =>\n index === 0 ? word.toLowerCase() : word.toUpperCase(),\n )\n .replace(/\\s+/g, \"\");\n\nexport const removeCommasFromObjectStringValues = <T>(object: T) =>\n Object.entries(object as Record<string, unknown>).reduce((acc, [k, v]) => {\n const value = typeof v === \"string\" ? v.replace(/,/g, \"\") : v;\n return {\n ...acc,\n [k as keyof T]: value,\n };\n }, {} as T);\n"],"names":["isBrowser","window","calculatePercentRounded","value","target","percent","Number","POSITIVE_INFINITY","isNaN","Math","floor","ceil","numberWithCommas","n","parts","toString","split","concat","replace","formatMoneyWithCommas","parsed","parseFloat","round","toFixed","removeCommasFromObjectStringValues","object","Object","entries","reduce","acc","_a","k","v","__assign","_b"],"mappings":"qEAAaA,EAA8B,oBAAXC,OAEnBC,EAA0B,SACrCC,EACAC,GAEA,IAAMC,EAAWF,EAAQC,EAAU,IACnC,OAAIC,IAAYC,OAAOC,mBAAqBD,OAAOE,MAAMH,GAChD,EAEFI,KAAKC,MAAML,EAAU,EAAII,KAAKE,KAAKN,GAAWI,KAAKC,MAAML,GAClE,EAYaO,EAAmB,SAACC,GAC/B,IAAKA,EACH,MAAO,GAET,IAAMC,EAAQD,EAAEE,WAAWC,MAAM,KAEjC,MAAO,GAAGC,OAAAH,EAAM,GAAGI,QAAQ,wBAAyB,aAClDJ,EAAM,GAAK,IAAAG,OAAIH,EAAM,IAAO,GAEhC,EAEaK,EAAwB,SAAChB,GACpC,IAAMiB,EAASd,OAAOe,YACnBZ,KAAKa,MAAc,IAARnB,GAAe,KAAKY,YAChCQ,QAAQ,GACV,OAAIjB,OAAOE,MAAMa,WAAWD,KAAYd,OAAOE,MAAML,GAC5C,IAEFS,EAAiBQ,EAC1B,EAUaI,EAAqC,SAAIC,GACpD,OAAAC,OAAOC,QAAQF,GAAmCG,QAAO,SAACC,EAAKC,SAACC,EAACD,EAAA,GAAEE,EAACF,EAAA,GAC5D3B,EAAqB,iBAAN6B,EAAiBA,EAAEd,QAAQ,KAAM,IAAMc,EAC5D,OAAAC,EAAAA,EAAA,CAAA,EACKJ,KAAGK,EAAA,CAAA,GACLH,GAAe5B,EAChB+B,GACH,GAAE,GANH"}
1
+ {"version":3,"file":"Helper.js","sources":["../../../src/utils/Helper.ts"],"sourcesContent":["export const isBrowser = typeof window !== \"undefined\";\n\nexport const calculatePercentRounded = (\n value: number,\n target: number,\n): number => {\n const percent = (value / target) * 100;\n if (percent === Number.POSITIVE_INFINITY || Number.isNaN(percent)) {\n return 0;\n }\n return Math.floor(percent < 1 ? Math.ceil(percent) : Math.floor(percent));\n};\n\nexport const formatMoney = (value: number): string => {\n const parsed = Number.parseFloat(\n (Math.round(value * 100) / 100).toString(),\n ).toFixed(2);\n if (Number.isNaN(parseFloat(parsed)) || Number.isNaN(value)) {\n return \"0\";\n }\n return parsed;\n};\n\nexport const numberWithCommas = (n?: number | string): string => {\n if (!n) {\n return \"\";\n }\n const parts = n.toString().split(\".\");\n\n return `${parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}${\n parts[1] ? `.${parts[1]}` : \"\"\n }`;\n};\n\nexport const formatMoneyWithCommas = (value: number): string => {\n const parsed = Number.parseFloat(\n (Math.round(value * 100) / 100).toString(),\n ).toFixed(2);\n if (Number.isNaN(parseFloat(parsed)) || Number.isNaN(value)) {\n return \"0\";\n }\n return numberWithCommas(parsed);\n};\n\nexport const camelize = (str: string): string =>\n str\n .toString()\n .replace(/(?:^\\w|[A-Z]|\\b\\w)/g, (word: string, index: number) =>\n index === 0 ? word.toLowerCase() : word.toUpperCase(),\n )\n .replace(/\\s+/g, \"\");\n\nexport const removeCommasFromObjectStringValues = <T>(object: T) =>\n Object.entries(object as Record<string, unknown>).reduce((acc, [k, v]) => {\n const value = typeof v === \"string\" ? v.replace(/,/g, \"\") : v;\n return {\n ...acc,\n [k as keyof T]: value,\n };\n }, {} as T);\n"],"names":["isBrowser","window","calculatePercentRounded","value","target","percent","Number","POSITIVE_INFINITY","isNaN","Math","floor","ceil","numberWithCommas","n","parts","toString","split","replace","formatMoneyWithCommas","parsed","parseFloat","round","toFixed","removeCommasFromObjectStringValues","object","Object","entries","reduce","acc","k","v"],"mappings":"MAAaA,EAA8B,oBAAXC,OAEnBC,EAA0B,CACrCC,EACAC,KAEA,MAAMC,EAAWF,EAAQC,EAAU,IACnC,OAAIC,IAAYC,OAAOC,mBAAqBD,OAAOE,MAAMH,GAChD,EAEFI,KAAKC,MAAML,EAAU,EAAII,KAAKE,KAAKN,GAAWI,KAAKC,MAAML,GAAS,EAa9DO,EAAoBC,IAC/B,IAAKA,EACH,MAAO,GAET,MAAMC,EAAQD,EAAEE,WAAWC,MAAM,KAEjC,MAAO,GAAGF,EAAM,GAAGG,QAAQ,wBAAyB,OAClDH,EAAM,GAAK,IAAIA,EAAM,KAAO,IAC5B,EAGSI,EAAyBf,IACpC,MAAMgB,EAASb,OAAOc,YACnBX,KAAKY,MAAc,IAARlB,GAAe,KAAKY,YAChCO,QAAQ,GACV,OAAIhB,OAAOE,MAAMY,WAAWD,KAAYb,OAAOE,MAAML,GAC5C,IAEFS,EAAiBO,EAAO,EAWpBI,EAAyCC,GACpDC,OAAOC,QAAQF,GAAmCG,QAAO,CAACC,GAAMC,EAAGC,MACjE,MAAM3B,EAAqB,iBAAN2B,EAAiBA,EAAEb,QAAQ,KAAM,IAAMa,EAC5D,MAAO,IACFF,EACHC,CAACA,GAAe1B,EACjB,GACA,CAAO"}
@@ -0,0 +1,2 @@
1
+ export declare const debounce: (delay: number, callback: (...args: any) => void) => (...args: unknown[]) => void;
2
+ export default debounce;
@@ -1,2 +1,2 @@
1
- var t=function(t,n){var e;return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];e&&clearTimeout(e),e=setTimeout((function(){n.apply(void 0,o),e=null}),t)}};export{t as debounce,t as default};
1
+ const e=(e,t)=>{let l;return(...u)=>{l&&clearTimeout(l),l=setTimeout((()=>{t(...u),l=null}),e)}};export{e as debounce,e as default};
2
2
  //# sourceMappingURL=debounce.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"debounce.js","sources":["../../../src/utils/debounce.ts"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-types\nexport const debounce = (delay: number, callback: Function) => {\n let timerId: ReturnType<typeof setTimeout> | null;\n return (...args: unknown[]) => {\n if (timerId) {\n clearTimeout(timerId);\n }\n timerId = setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n callback(...args);\n timerId = null;\n }, delay);\n };\n};\n\nexport default debounce;\n"],"names":["debounce","delay","callback","timerId","args","_i","arguments","length","clearTimeout","setTimeout","apply"],"mappings":"AACa,IAAAA,EAAW,SAACC,EAAeC,GACtC,IAAIC,EACJ,OAAO,eAAC,IAAkBC,EAAA,GAAAC,EAAA,EAAlBA,EAAkBC,UAAAC,OAAlBF,IAAAD,EAAkBC,GAAAC,UAAAD,GACpBF,GACFK,aAAaL,GAEfA,EAAUM,YAAW,WAEnBP,EAAQQ,WAAA,EAAIN,GACZD,EAAU,IACX,GAAEF,EACJ,CACH"}
1
+ {"version":3,"file":"debounce.js","sources":["../../../src/utils/debounce.ts"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const debounce = (delay: number, callback: (...args: any) => void) => {\n let timerId: ReturnType<typeof setTimeout> | null;\n return (...args: unknown[]) => {\n if (timerId) {\n clearTimeout(timerId);\n }\n timerId = setTimeout(() => {\n callback(...args);\n timerId = null;\n }, delay);\n };\n};\n\nexport default debounce;\n"],"names":["debounce","delay","callback","timerId","args","clearTimeout","setTimeout"],"mappings":"MACaA,EAAW,CAACC,EAAeC,KACtC,IAAIC,EACJ,MAAO,IAAIC,KACLD,GACFE,aAAaF,GAEfA,EAAUG,YAAW,KACnBJ,KAAYE,GACZD,EAAU,IAAI,GACbF,EAAM,CACV"}
@@ -1,2 +1,2 @@
1
- var o=function(o,r){return void 0===r.spacing[o]?o:r.spacing[o]},r=function(o,r){return void 0===r.colors[o]?o||"currentColor":r.colors[o]};export{r as themeColorOrString,o as themeSizeOrString};
1
+ const o=(o,c)=>void 0===c.spacing[o]?o:c.spacing[o],c=(o,c)=>void 0===c.colors[o]?o||"currentColor":c.colors[o];export{c as themeColorOrString,o as themeSizeOrString};
2
2
  //# sourceMappingURL=themeUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"themeUtils.js","sources":["../../../src/utils/themeUtils.ts"],"sourcesContent":["import { type ThemeType, type SpacingType, type ColorsType } from \"src/types\";\n\nexport const themeSizeOrString = (\n spaceString: string,\n theme: ThemeType,\n): string =>\n typeof theme.spacing[spaceString as keyof SpacingType] === \"undefined\"\n ? spaceString\n : theme.spacing[spaceString as keyof SpacingType];\n\nexport const themeColorOrString = (\n colorString: string | undefined,\n theme: ThemeType,\n): string =>\n typeof theme.colors[colorString as keyof ColorsType] === \"undefined\"\n ? colorString || \"currentColor\"\n : theme.colors[colorString as keyof ColorsType];\n"],"names":["themeSizeOrString","spaceString","theme","spacing","themeColorOrString","colorString","colors"],"mappings":"AAEa,IAAAA,EAAoB,SAC/BC,EACAC,GAEA,YAA2D,IAApDA,EAAMC,QAAQF,GACjBA,EACAC,EAAMC,QAAQF,EAFlB,EAIWG,EAAqB,SAChCC,EACAH,GAEA,YAAyD,IAAlDA,EAAMI,OAAOD,GAChBA,GAAe,eACfH,EAAMI,OAAOD,EAFjB"}
1
+ {"version":3,"file":"themeUtils.js","sources":["../../../src/utils/themeUtils.ts"],"sourcesContent":["import { type ThemeType, type SpacingType, type ColorsType } from \"src/types\";\n\nexport const themeSizeOrString = (\n spaceString: string,\n theme: ThemeType,\n): string =>\n typeof theme.spacing[spaceString as keyof SpacingType] === \"undefined\"\n ? spaceString\n : theme.spacing[spaceString as keyof SpacingType];\n\nexport const themeColorOrString = (\n colorString: string | undefined,\n theme: ThemeType,\n): string =>\n typeof theme.colors[colorString as keyof ColorsType] === \"undefined\"\n ? colorString || \"currentColor\"\n : theme.colors[colorString as keyof ColorsType];\n"],"names":["themeSizeOrString","spaceString","theme","spacing","themeColorOrString","colorString","colors"],"mappings":"AAEa,MAAAA,EAAoB,CAC/BC,EACAC,SAE2D,IAApDA,EAAMC,QAAQF,GACjBA,EACAC,EAAMC,QAAQF,GAEPG,EAAqB,CAChCC,EACAH,SAEyD,IAAlDA,EAAMI,OAAOD,GAChBA,GAAe,eACfH,EAAMI,OAAOD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruk/cruk-react-components",
3
- "version": "5.0.7",
3
+ "version": "5.0.8",
4
4
  "description": "React components implementing CRUK, RFL, SU2C & Bowelbabe designs",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -51,8 +51,8 @@
51
51
  "@babel/preset-env": "^7.15.6",
52
52
  "@babel/preset-react": "^7.14.5",
53
53
  "@babel/preset-typescript": "^7.9.0",
54
- "@chromatic-com/storybook": "^1.6.1",
55
- "@cruk/eslint-config": "^3.0.1",
54
+ "@chromatic-com/storybook": "^3.2.4",
55
+ "@cruk/eslint-config": "^4",
56
56
  "@cypress/webpack-dev-server": "3.5.3",
57
57
  "@cypress/webpack-preprocessor": "^6.0.0",
58
58
  "@mdx-js/loader": "^2.2.1",
@@ -62,25 +62,19 @@
62
62
  "@rollup/plugin-node-resolve": "^15.2.3",
63
63
  "@rollup/plugin-terser": "^0.4.4",
64
64
  "@rollup/plugin-typescript": "^11.1.6",
65
- "@storybook/addon-a11y": "^8.3.6",
66
- "@storybook/addon-actions": "^8.3.6",
67
- "@storybook/addon-docs": "^8.3.6",
68
- "@storybook/addon-essentials": "^8.3.6",
69
- "@storybook/addon-interactions": "^8.3.6",
70
- "@storybook/addon-links": "^8.3.6",
71
- "@storybook/blocks": "^8.3.6",
72
- "@storybook/react": "^8.3.6",
73
- "@storybook/react-webpack5": "^8.3.6",
74
- "@storybook/addon-webpack5-compiler-swc": "^1.0.4",
75
- "@storybook/test": "^8.3.6",
65
+ "@storybook/addon-a11y": "^8.5.3",
66
+ "@storybook/addon-docs": "^8.5.3",
67
+ "@storybook/addon-essentials": "^8.5.3",
68
+ "@storybook/addon-interactions": "^8.5.3",
69
+ "@storybook/addon-links": "^8.5.3",
70
+ "@storybook/addon-webpack5-compiler-swc": "^2.0.0",
71
+ "@storybook/react": "^8.5.3",
72
+ "@storybook/react-webpack5": "^8.5.3",
73
+ "@storybook/test": "^8.5.3",
76
74
  "@types/assert": "^1.5.1",
77
- "@types/mdx": "^2.0.2",
78
- "@types/mdx-js__react": "^1.5.1",
79
- "@types/node": "^18.11.17",
75
+ "@types/node": "^20",
80
76
  "@types/react": "^18.0.1",
81
77
  "@types/react-dom": "^18.0.1",
82
- "@typescript-eslint/eslint-plugin": "^7.7.1",
83
- "@typescript-eslint/parser": "^7.0.0",
84
78
  "axe-core": "^4.8.2",
85
79
  "babel-loader": "8.3.0",
86
80
  "babel-plugin-styled-components": "^2.0.2",
@@ -88,14 +82,12 @@
88
82
  "cypress": "^13.3.2",
89
83
  "cypress-axe": "1.5.0",
90
84
  "cypress-plugin-tab": "^1.0.5",
91
- "eslint": "^8.56.0",
92
- "eslint-config-prettier": "^9.0.0",
93
- "eslint-plugin-import": "^2.27.5",
94
- "eslint-plugin-prettier": "^5.0.1",
95
- "eslint-plugin-promise": "^6.0.0",
96
- "eslint-plugin-react": "7.37.2",
97
- "eslint-plugin-react-hooks": "^4.6.0",
98
- "eslint-plugin-storybook": "^0.8.0",
85
+ "eslint": "^9",
86
+ "eslint-config-prettier": "^10",
87
+ "eslint-plugin-prettier": "^5",
88
+ "eslint-plugin-react": "^7.37.4",
89
+ "eslint-plugin-react-hooks": "^5.1.0",
90
+ "eslint-plugin-storybook": "^0.11.2",
99
91
  "html-loader": "^5.1.0",
100
92
  "html-webpack-plugin": "^5.3.2",
101
93
  "prettier": "^3",
@@ -105,10 +97,11 @@
105
97
  "rollup": "^4.22.4",
106
98
  "rollup-plugin-typescript2": "^0.36.0",
107
99
  "source-map-explorer": "^2.2.2",
108
- "storybook": "^8.2.2",
100
+ "storybook": "^8.5.3",
109
101
  "ts-loader": "9.5.1",
110
102
  "tsx": "^4.16.2",
111
103
  "typescript": "^5.0.2",
104
+ "typescript-eslint": "^8.20.0",
112
105
  "webpack": "^5.53.0",
113
106
  "webpack-cli": "5.1.4",
114
107
  "webpack-dev-server": "^4.7.3"
@@ -125,7 +118,7 @@
125
118
  "react-focus-lock": "^2.5.2",
126
119
  "react-intersection-observer": "^9.1.0",
127
120
  "react-is": "^18.2.0",
128
- "styled-components": "^6.1.11",
129
- "release-it": "^17.10.0"
121
+ "release-it": "^17.10.0",
122
+ "styled-components": "^6.1.11"
130
123
  }
131
124
  }
@@ -1,2 +0,0 @@
1
- export declare const debounce: (delay: number, callback: Function) => (...args: unknown[]) => void;
2
- export default debounce;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes